python310Packages.orjson: 3.7.8 -> 3.7.12

This update fixes tests that were broken with the update to version 2022b of tzdata.
https://github.com/ijl/orjson/blob/master/CHANGELOG.md#3712---2022-08-14
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

The upstream has pushed a fix, and I have updated this PR to update to the latest version.


Aligning a single line containing brackets

Atom: 1.0.0
atom-alignment: 0.12.1
Trying to align a single line containing brackets ([...] or (...)) doesn't work as expected.
Trying to align multiple lines does work as expected.
Consider the following example:
Input:
var fs       = require( 'fs' );

Expected:
var fs = require( 'fs' );

Actual:
var fs = require(
'fs' );

works fine here. Will release a new version soon, could you please try later on?

I get the above result when I try to align with the keyboard shortcut (ctrl-cmd-a), is the keyboard shortcut supported for single lines?
It always seems to run atom-alignment:alignMultiple when using the shortcut. Running atom-alignment:align from the command panel works as expected.
If running separate commands for single vs. multiple is the intended behaviour feel free to close, I was assuming it would work like the Sublime plugin which uses a single command/shortcut for single & multiple alignments.

Some more info:
For single line alignment I was still selecting the entire line as I would for a multiline alignment.
If you place the cursor anywhere on the line (except the very start, column 1) instead of selecting it and trigger an alignment it will still be handled by atom-alignment:alignMultiple but will align as expected.
Interestingly, if you place your cursor at the beginning of a line (column 1) and trigger an alignment it will output on new lines (same as above when selecting the line):
var fs = require(
'fs' );

Not sure if related but I'm getting almost similar unexpected result.
Language: PHP
Atom Version: 1.17.2
atom-alignment version: 0.13.0
Command: Ctrl + Alt + a
Sample code:
$var     = new ClassName::methodName();

Expected result:
$var = new ClassName::methodName();

Actual result:
$var = new
ClassName::methodName();


User changes

Make Models\User abstract.
Add a new configuration field to define the class to use when working with users, which will extend the abstract User class.
Update user service to provide and work with the new user class.
Remove the type field, this can be added if required.

Not included by default anymore.


SendAsync fails quietly when message length exceeds maxJsonLength 102400

The situation is that the code works well in my dev machine. But on server although I can see that server invokes SendAsync on the connection id the client is connected to (I watch the client in chrome devtools), the client does NOT receive the message. Also tried to send by UserId and doesnt work as well.
I already tried verify that user id and connection id are correct.
What can cause SendAsync to not send anything to the target?
Thanks!

Do you have a single server or multiple servers behind a load balancer? Can you provide more details on your server environment (Azure? What OS? etc.)

It seems to happen for connections where the query string is very long, does this make sense?

What transport is being used?

After further debugging.
Even calling Clients.All.SendAsync does NOT send the message to the client.
Websocket transport.
Also I tried to send message from another place at this situation and nothing worked.
Seems the connection is alive but server cant send anything to the client after this:

The long message from client to server which after it received {} message and then only keepalive is:
{"arguments":["CompetitionsUsers",{"compusersids":"111806,426318,806318,711806,575964,834075,026318,057257,664075,125964,375964,391806,234075,591806,945964,645964,457257,787257,964075,206318","caller":1}],"target":"register","type":1}
seems this message made the server not able to send any other message.
the code handling the register message on server basically just added the connection to a group.

Is there maybe something wrong with the server code which handled this request:
[HubMethodName("register")]         public async Task RegisterToHub(string hub, Dictionary<string, string> queryParams)         { await this.Groups.AddAsync(this.Context.ConnectionId, hub);         }

NOTE: If calling this with less values then it WORKS AS EXPECTED:
if change
111806,426318,806318,711806,575964,834075,026318,057257,664075,125964,375964,391806,234075,591806,945964,645964,457257,787257,964075,206318
to
111806,426318

Also another conclusion: it DOES NOT WORK on dev machine either when using the long parameter. Tried the parameter above which contains 20 numbers and it reproduced the problem on my dev machine (httpsys) too.

I am checking where the limit is.
This SOMETIMES works:
{"arguments":["CompetitionsUsers",{"compusersids":"711806,806318,426318,834075,964075,787257,575964","caller":1}],"target":"register","type":1}
This NEVER works:
{"arguments":["CompetitionsUsers",{"compusersids":"711806,806318,426318,834075,964075,787257,575964,234075","caller":1}],"target":"register","type":1}
This ALWAYS works:
{"arguments":["CompetitionsUsers",{"compusersids":"711806,806318,426318,834075,787257,964075","caller":1}],"target":"register","type":1}

ok, I found out where the problem happens: the length of the numbers sent to the server determined the size of the messages the server sent the client afterwards.
so basically the answer to the first question of when can this happen that the server SendAsync does not work is: when the server message is too long.
I am trying to find the limitation in the documentation now...

There's is no inherent limit. I'd suggest turning on more verbose logging on the server to get more details on the server side.

I had Trace level logging turned on and it quietly failed for 103000+ size messages, while having no troubles with under 102000 size messages.
At this moment I optimized the data sent to lower its size and it seems to solve the problem.

Exception thrown: 'System.ArgumentException' in mscorlib.dll
Exception thrown: 'System.ArgumentException' in Newtonsoft.Json.dll
Exception thrown: 'System.ArgumentException' in Newtonsoft.Json.dll
Exception thrown: 'System.ArgumentException' in Newtonsoft.Json.dll
Exception thrown: 'System.ArgumentException' in Newtonsoft.Json.dll
Exception thrown: 'System.ArgumentException' in Newtonsoft.Json.dll
Exception thrown: 'System.ArgumentException' in Newtonsoft.Json.dll
Exception thrown: 'System.ArgumentException' in Newtonsoft.Json.dll
Exception thrown: 'System.ArgumentException' in Newtonsoft.Json.dll
Exception thrown: 'System.ArgumentException' in Newtonsoft.Json.dll
Exception thrown: 'System.ArgumentException' in Newtonsoft.Json.dll
Exception thrown: 'System.IndexOutOfRangeException' in System.Memory.dll
Exception thrown: 'System.IndexOutOfRangeException' in Newtonsoft.Json.dll
Exception thrown: 'System.IndexOutOfRangeException' in Newtonsoft.Json.dll
Exception thrown: 'System.IndexOutOfRangeException' in Newtonsoft.Json.dll

I found the documentation for the limit: https://msdn.microsoft.com/en-us/library/system.web.configuration.scriptingjsonserializationsection.maxjsonlength.aspx
The default is 102400 characters as I saw in my tests.
Can this be configured in net core? Can exception be thrown if message exceed this limit?

Well since it happens exactly at 102400 which is the limit as specified in links, seems related.
As I already said, using Trace level logs thats all what is visible in the logs.

Since you're using VS for your logging you need to configure the debug logger via AddDebug otherwise you wont be getting logs in the output window

That’s added by default if you’re using the >== 2.0 template. We just need to see the actual error, try running without IIS express. That might make it more obvious.

I use loggerFactory.AddDebug(LogLevel.Trace) in my startup and I do see all trace logs of the mvc requests handling in my output window. What I ment is that what I written above is the only thing that comes up for this issue.

`
Exception thrown: 'System.ArgumentException' in mscorlib.dll
Exception thrown: 'System.ArgumentException' in Newtonsoft.Json.dll
Exception thrown: 'System.ArgumentException' in Newtonsoft.Json.dll
Exception thrown: 'System.ArgumentException' in Newtonsoft.Json.dll
Exception thrown: 'System.ArgumentException' in Newtonsoft.Json.dll
Exception thrown: 'System.ArgumentException' in Newtonsoft.Json.dll
Exception thrown: 'System.ArgumentException' in Newtonsoft.Json.dll
Exception thrown: 'System.ArgumentException' in Newtonsoft.Json.dll
Exception thrown: 'System.ArgumentException' in Newtonsoft.Json.dll
Exception thrown: 'System.ArgumentException' in Newtonsoft.Json.dll
Exception thrown: 'System.ArgumentException' in Newtonsoft.Json.dll
Microsoft.AspNetCore.SignalR.HubConnectionContext: Debug: Failed writing message.
System.ArgumentException: The output byte buffer is too small to contain the encoded data, encoding 'Unicode (UTF-8)' fallback 'System.Text.EncoderReplacementFallback'.
Parameter name: bytes
at System.Text.Encoding.ThrowBytesOverflow()
at System.Text.Encoding.ThrowBytesOverflow(EncoderNLS encoder, Boolean nothingEncoded)
at System.Text.UTF8Encoding.GetBytes(Char* chars, Int32 charCount, Byte* bytes, Int32 byteCount, EncoderNLS baseEncoder)
at System.Text.EncoderNLS.Convert(Char* chars, Int32 charCount, Byte* bytes, Int32 byteCount, Boolean flush, Int32& charsUsed, Int32& bytesUsed, Boolean& completed)
at Microsoft.AspNetCore.SignalR.Internal.Protocol.Utf8BufferTextWriter.WriteInternal(ReadOnlySpan1 buffer)    at Microsoft.AspNetCore.SignalR.Internal.Protocol.Utf8BufferTextWriter.Write(Char[] buffer, Int32 index, Int32 count)    at Newtonsoft.Json.JsonTextWriter.WriteValue(DateTime value)    at Newtonsoft.Json.JsonWriter.WriteValue(JsonWriter writer, PrimitiveTypeCode typeCode, Object value)    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList(JsonWriter writer, IEnumerable values, JsonArrayContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList(JsonWriter writer, IEnumerable values, JsonArrayContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList(JsonWriter writer, IEnumerable values, JsonArrayContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList(JsonWriter writer, IEnumerable values, JsonArrayContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType)    at Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType)    at Microsoft.AspNetCore.SignalR.Internal.Protocol.JsonHubProtocol.WriteArguments(Object[] arguments, JsonTextWriter writer)    at Microsoft.AspNetCore.SignalR.Internal.Protocol.JsonHubProtocol.WriteMessageCore(HubMessage message, IBufferWriter1 stream)
at Microsoft.AspNetCore.SignalR.Internal.Protocol.JsonHubProtocol.WriteMessage(HubMessage message, IBufferWriter1 output)    at Microsoft.AspNetCore.SignalR.Internal.Protocol.HubProtocolExtensions.WriteToArray(IHubProtocol hubProtocol, HubMessage message)    at Microsoft.AspNetCore.SignalR.Internal.Protocol.HubMessage.WriteMessage(IHubProtocol protocol)    at Microsoft.AspNetCore.SignalR.HubConnectionContext.WriteCore(HubMessage message)

Ah good. This issue was found and fixed 2 days ago https://github.com/aspnet/SignalR/issues/2187. Unfortunately it’s in the preview and upcoming RC, you might be able to work around it by using message pack instead of JSON for now.

@davidfowl do you know the explanation of why it happened specifically for messages over 102400 characters length? I didnt see it mentioned in that thread

also, can you please provide more info on using message pack instead of JSON?
1)how to specify it in code
2)does it have any disadvantages? or only advantages of making traffic shorter? is it best practice to always use it?

The issue is that the underlying buffer we’re using is too small to encode specific characters (likely non ascii). It has nothing to do with the specific size of the data your sending, it just so happens that the combination of the buffer size we use and the message you sent, that number of bytes observed the problem.

you need to install another library on the server and client. The APIs are different in the preview and rc1 but I believe we have a sample somewhere (I’ve also seen it in blog posts if you search).
There are some quirks with the message pack library around camel casing and other things around support for de/serializing certain types

Closing this as dupe of https://github.com/aspnet/SignalR/issues/2187


Update to Bootstrap 4

This PR updates:

Bootstrap to version 4.0
Font-Awesome to version 4.7 (version 5 is already finalized, but not included in this PR)
jQuery to version 3.3.1

The layout has been kept as much as possible!
Cheers,
LT.

Thanx @lowtower


Make Jenkins SMP builds run faster

Original issue: https://charm.cs.illinois.edu/redmine/issues/1842

We are seeing a lot of timeouts in SMP builds for Jenkins commit-triggered builds, because tests/charm++/pingpong/ takes an extremely long time to run with +p2.
I think this is due to not using +pemap or +processPer* +oneWthPer* arguments, so there is contention among threads.
Would adding +CmiSleepOnIdle to the TESTOPTS take care of the problem?
../../../bin/testrun  ./pgm +p1
Charmrun> scalable start enabled.
Charmrun> started all node programs in 1.438 seconds.
Charm++> Running in SMP mode: numNodes 1,  1 worker threads per process
Charm++> The comm. thread both sends and receives messages
Converse/Charm++ Commit ID: d56bd536
Charm++> scheduler running in netpoll mode.
CharmLB> Load balancer assumes all CPUs are same.
Charm++> Running on 1 unique compute nodes (8-way SMP).
Charm++> cpu topology info is gathered in 0.000 seconds.
Pingpong with payload: 100 iterations: 1000
Roundtrip time for 1D Arrays is 0.452995 us
Roundtrip time for 1D threaded Arrays is 1.855850 us
Roundtrip time for 1D Arrays (zero copy message send api) is 1.228094 us
Roundtrip time for 1D Arrays Marshalled is 0.860929 us
Roundtrip time for 2D Arrays is 0.474930 us
Roundtrip time for 3D Arrays is 0.482082 us
Roundtrip time for Fancy Arrays is 0.482082 us
Roundtrip time for Chares (reuse msgs) is 0.253201 us
Roundtrip time for Chares (new/del msgs) is 0.528097 us
Roundtrip time for threaded Chares (reuse) is 1.569986 us
Roundtrip time for Chares (zero copy message send api) is 1.096010 us
Roundtrip time for Groups is 0.306129 us
Roundtrip time for Groups (zero copy message send api) is 1.097679 us
Roundtrip time for Groups (1 KB pipe, no memcpy, no allocs) is 0.333786 us
Roundtrip time for Groups (1 KB pipe, no memcpy, w/ allocs) is 0.627995 us
Roundtrip time for Groups (1 KB pipe, w/ memcpy, w/ allocs) is 0.877857 us
Roundtrip time for NodeGroups is 0.458241 us
Roundtrip time for NodeGroups (zero copy message send api) is 1.268387 us
[Partition 0][Node 0] End of program

../../../bin/testrun  ./pgm +p2
Charmrun> scalable start enabled.
Charmrun> started all node programs in 1.428 seconds.
Charm++> Running in SMP mode: numNodes 2,  1 worker threads per process
Charm++> The comm. thread both sends and receives messages
Converse/Charm++ Commit ID: d56bd536
Charm++> scheduler running in netpoll mode.
CharmLB> Load balancer assumes all CPUs are same.
Charm++> Running on 1 unique compute nodes (8-way SMP).
Charm++> cpu topology info is gathered in 0.080 seconds.
Pingpong with payload: 100 iterations: 1000
Roundtrip time for 1D Arrays is 67191.994905 us
Roundtrip time for 1D threaded Arrays is 66923.834801 us
Roundtrip time for 1D Arrays (zero copy message send api) is 67187.839985 us
Roundtrip time for 1D Arrays Marshalled is 66603.994131 us
Roundtrip time for 2D Arrays is 67123.995066 us
Roundtrip time for 3D Arrays is 66975.993872 us
Roundtrip time for Fancy Arrays is 66655.992031 us
Roundtrip time for Chares (reuse msgs) is 66475.993872 us
Roundtrip time for Chares (new/del msgs) is 66047.847033 us
Roundtrip time for threaded Chares (reuse) is 66979.846001 us
Roundtrip time for Chares (zero copy message send api) is 66395.854950 us
Roundtrip time for Groups is 65707.989931 us
Roundtrip time for Groups (zero copy message send api) is 66723.841906 us
Roundtrip time for Groups (1 KB pipe, no memcpy, no allocs) is 70596.000195 us
Roundtrip time for Groups (1 KB pipe, no memcpy, w/ allocs) is 68871.999979 us
Roundtrip time for Groups (1 KB pipe, w/ memcpy, w/ allocs) is 67676.001072 us

Original date: 2018-04-04 14:36:55

The netlrts-linux-x86_64-smp autobuild target should I think have +CmiSleepOnIdle added to its TESTOPTS as well. netlrts-linux-smp already has that flag and passes tests, but the 64-bit one takes forever in pingpong with +p2.

Original date: 2018-04-04 19:27:33

On my lab machine (beauty), adding +CmiSleepOnIdle to TESTOPTS cuts down the time taken for SMP pingpong with +p2 by about 55% when threads are colocated on the same PE

Original date: 2018-04-04 19:33:43

Actually it is a much more drastic improvement in some cases: from 64511.965036 us to 36.540985 us for 1D array pingpong.

Original date: 2018-04-04 22:03:04

Adding +CmiSleepOnIdle seems to have fixed the issue in Jenkins SMP builds. I also increased the parallel builds from -j4 to -j8.


Block signatures couldn't be created 5.0.0-beta

Context
Was giving 5.0.0-beta a spin, but i keep bumping into failed block signatures when trying to submit a block. Any ideas why that would be?
Prerequisites

Latest 5.0.0-beta on github. Ubuntu 18.04, Yiimp stratum

User Story:
Bug Report, or support.
Verge daemon log;

2019-03-02T09:34:30Z Sign failed

Expected Behavior
Accepted block..
Current Behavior
While trying out the latest master of verge core, i get following error while submitting block:

09:34:30: ERROR VERGE Scrypt Block signatures couldn't be created (Error reponse from RPC cli)
09:34:30: *** REJECTED :( VERGE Scrypt block 2939061 1 txs
09:34:30: REJECTED XVG block 2939061

a Block requires at least one transaction to a public key source (outgoing).
I've updated nomp to work with our requirements.
https://github.com/marpme/node-stratum-pool
If you don't want to switch the pool software, you have to make sure that the requirement is given.
I personally solved it to statically add pool fees to a pubkey instead of an address.
We plan to fully get rid of the block signature as it is only necessary for POS systems.

ps: @cod3gen ill throw some x17 on your pool if you add verge to it. i dont own a scrypt asic =\

also @marpme alot of pool software used to have a "hybrid" option that would work by default for verge. strange they dont do that anymore, but then again, it was strange to be a hybrid, with pow only lol

@marpme Does the pubkey have to be script? Looking at your code i see;

return util.pubkeyToScript(

Are there any testnet nodes available?

@justinvforvendetta Will add X17 once the new daemon is up and stable :-)
Also, Yiimp has this "hybrid" option, setting rpc encoding to POS in yiimp coin settings, but it kinda does not work for 5.0.0 - it does work on clearnet though

@cod3gen Well have a look at this piece of code:
https://github.com/marpme/node-stratum-pool/blob/12673c137d97d949d8c9b3536a6b731d8331c0fa/lib/util.js#L240-L253
I didn't touch it, but it's basically generating an valid script based on your given 33-bytes-long pubkey
Maybe you get it working with this information.
I will try to bring up an running scrypt testnet pool based on nomp.

Did a "nasty" fix to overcome the block signature similiar to your solution 😄 ; creating a 1% charity for the pool mining address, which seems to overcome this particular issue. Next in line is 🥁🥁🥁 :

2019-03-03T13:59:48Z CreateNewBlock(): block weight: 796 txs: 0 fees: 0 sigops 400
2019-03-03T14:00:07Z BlockSign successfully done with: TX_PUBKEY
2019-03-03T14:00:07Z CBlock(hash=000000000002672e7a1f401b9b12041c3e6413e1716cd57f4c21176b4350c7aa, algo=scrypt, ver=0x00000002, hashPrevBlock=092cd511919aca03103ebf4c4cf038454b9818064256c509576c7599223730a0, hashMerkleRoot=5c0d7675527d91$
CTransaction(hash=5c0d767552, nTime=1551621587, ver=1, vin.size=1, vout.size=2, nLockTime=0)
CTxIn(COutPoint(0000000000,<PHONE_NUMBER>), coinbase 0380e42c04d4dd7b5c0881000016d30f00007969696d7000, nSequence=0)
CScriptWitness()
CTxOut(nValue=722.00700000, scriptPubKey=2103ffba84fe92f160298a5213f612)
CTxOut(nValue=7.00300000, scriptPubKey=76a914edd4b7e8dee8ccb9290eb9fa)
2019-03-03T14:00:07Z ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader:<PHONE_NUMBER>02672e7a1f401b9b12041c3e6413e1716cd57f4c21176b4350c7aa, bad-version(0x00000002), rejected nVersion=0x00000002 block (code 17)
2019-03-03T14:00:07Z ERROR: ProcessNewBlock: AcceptBlock FAILED (bad-version(0x00000002), rejected nVersion=0x00000002 block (code 17))

In your source code have you set charity_address already?
On Sun, Mar 3, 2019, 20:10 cod3gen<EMAIL_ADDRESS>wrote:

Did a "nasty" fix to overcome the block signature similiar to your
solution 😄 ; creating a 1% charity for the pool mining address, which
seems to overcome this particular issue. Next in line is 🥁🥁🥁 :
2019-03-03T13:59:48Z CreateNewBlock(): block weight: 796 txs: 0 fees: 0
sigops 400
2019-03-03T14:00:07Z BlockSign successfully done with: TX_PUBKEY
2019-03-03T14:00:07Z
CBlock(hash=000000000002672e7a1f401b9b12041c3e6413e1716cd57f4c21176b4350c7aa,
algo=scrypt, ver=0x00000002,
hashPrevBlock=092cd511919aca03103ebf4c4cf038454b9818064256c509576c7599223730a0,
hashMerkleRoot=5c0d7675527d91$
CTransaction(hash=5c0d767552, nTime=1551621587, ver=1, vin.size=1,
vout.size=2, nLockTime=0)
CTxIn(COutPoint(0000000000,<PHONE_NUMBER>), coinbase
0380e42c04d4dd7b5c0881000016d30f00007969696d7000, nSequence=0)
CScriptWitness()
CTxOut(nValue=722.00700000, scriptPubKey=2103ffba84fe92f160298a5213f612)
CTxOut(nValue=7.00300000, scriptPubKey=76a914edd4b7e8dee8ccb9290eb9fa)
2019-03-03T14:00:07Z ERROR: AcceptBlockHeader:
Consensus::ContextualCheckBlockHeader:
000000000002672e7a1f401b9b12041c3e6413e1716cd57f4c21176b4350c7aa,
bad-version(0x00000002), rejected nVersion=0x00000002 block (code 17)
2019-03-03T14:00:07Z ERROR: ProcessNewBlock: AcceptBlock FAILED
(bad-version(0x00000002), rejected nVersion=0x00000002 block (code 17))
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/vergecurrency/VERGE/issues/885#issuecomment-469029525,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AjzlvIPyFEcrmUEuaYK6TUepcYlT2q5Wks5vS97jgaJpZM4balsn
.

Maybe you are using two different versions in the code? (Ver=1 &
ver=0x00000...2 )
On Sun, Mar 3, 2019, 20:10 cod3gen<EMAIL_ADDRESS>wrote:

Did a "nasty" fix to overcome the block signature similiar to your
solution 😄 ; creating a 1% charity for the pool mining address, which
seems to overcome this particular issue. Next in line is 🥁🥁🥁 :
2019-03-03T13:59:48Z CreateNewBlock(): block weight: 796 txs: 0 fees: 0
sigops 400
2019-03-03T14:00:07Z BlockSign successfully done with: TX_PUBKEY
2019-03-03T14:00:07Z
CBlock(hash=000000000002672e7a1f401b9b12041c3e6413e1716cd57f4c21176b4350c7aa,
algo=scrypt, ver=0x00000002,
hashPrevBlock=092cd511919aca03103ebf4c4cf038454b9818064256c509576c7599223730a0,
hashMerkleRoot=5c0d7675527d91$
CTransaction(hash=5c0d767552, nTime=1551621587, ver=1, vin.size=1,
vout.size=2, nLockTime=0)
CTxIn(COutPoint(0000000000,<PHONE_NUMBER>), coinbase
0380e42c04d4dd7b5c0881000016d30f00007969696d7000, nSequence=0)
CScriptWitness()
CTxOut(nValue=722.00700000, scriptPubKey=2103ffba84fe92f160298a5213f612)
CTxOut(nValue=7.00300000, scriptPubKey=76a914edd4b7e8dee8ccb9290eb9fa)
2019-03-03T14:00:07Z ERROR: AcceptBlockHeader:
Consensus::ContextualCheckBlockHeader:
000000000002672e7a1f401b9b12041c3e6413e1716cd57f4c21176b4350c7aa,
bad-version(0x00000002), rejected nVersion=0x00000002 block (code 17)
2019-03-03T14:00:07Z ERROR: ProcessNewBlock: AcceptBlock FAILED
(bad-version(0x00000002), rejected nVersion=0x00000002 block (code 17))
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/vergecurrency/VERGE/issues/885#issuecomment-469029525,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AjzlvIPyFEcrmUEuaYK6TUepcYlT2q5Wks5vS97jgaJpZM4balsn
.

It seems that 5.0.0beta is reporting wrong version.. for scrypt atleast, it reports version "2" in blocktemplate, while 4.0.3clearnet reports "2052" which is consistent with scrypt generated blocks

Forcing version 2052 in stratum also results in a rejected block, with ver=0x00002052 daemon thinks its a blake block?

What height is your blockchain at? Cause we had version 2 until 3.4X million blocks

verge-cli getblockcount
2942260

Well, okay. I guess you should sync first and in the mean time you have to push a fix for the versioning as it only decides between version 2 and version 4. Depending on your current algorithm you also have to add the block version.
So basically:
block.version = nHeight > 3,400,000 ? 4 : 2;
block.version |= USED_BLOCK_ALGO;

See algo ids here:
https://github.com/vergecurrency/VERGE/blob/96e1b3cb5737a344c8503988761a7c8d83372865/src/primitives/block.h#L31-L45

Think i hit "jackpot" on blocks 2942265 2942267

I guess this will help you to easier integrate the multiple hashing algo's for verge

Just leave me a short feedback on this if needed @cod3gen @justinvforvendetta

Wheys;

verge-cli getbalance
1460.420850
verged --version
Verge Core Daemon version v<IP_ADDRESS>

I guess this will help you to easier integrate the multiple hashing algo's for verge

Yeah, that would be a great solution! This would actually make it possible to run only one daemon for 5 different algos... In theory?
To temporary fix this in Yiimp i just replaced
sprintf(templ->version, "%08x", (unsigned int)json_get_int(json_result, "version")); in coind_template.cpp with:
if (strcmp(coind->symbol, "XVG") == 0 || strcmp(coind->symbol2, "XVG") == 0) {
		if (!strcmp(coind->algo, "lyra2v2"))
			sprintf(templ->version, "%08x", (unsigned int)20484);
		else if (!strcmp(coind->algo, "x17"))
			sprintf(templ->version, "%08x", (unsigned int)6148);
		else if (!strcmp(coind->algo, "blake"))
			sprintf(templ->version, "%08x", (unsigned int)8196);
		else if (!strcmp(coind->algo, "myr-gr"))
			sprintf(templ->version, "%08x", (unsigned int)4100);
		else
			sprintf(templ->version, "%08x", (unsigned int)2052);
	}
	else
		sprintf(templ->version, "%08x", (unsigned int)json_get_int(json_result, "version"));

Additionally adding charity address and percentage to make sure its signed as expected by daemon.

@cod3gen see c5957d371158be0fdee6dc20e47b4464c8d4b715 on develop branch

Nice!

:~/coins/VERGE# verge-cli getblocktemplate "{"algo": "x17"}"
{
"capabilities": [
"proposal"
],
"version": 6148,

Glad to help you out

Not so nice 😁

verge-cli getblocktemplate
{
"capabilities": [
"proposal"
],
"version": 4,

Should default to whatever algo is default.. scrypt if none is defined in config? or what is defined in config.
Current develop build fails btw, "algo" is not defined, and typo; result.pushKV("version", version**)**);

Yep already fixed that, just adding the default version to scrypt and then I will push it to develop

I think we can close this issue for now. Maybe we should consider writing a short mining guide to explain certain specialties :) let me know what you think.


Support fstrings in PyPy 3.5

@skamansam commented on Thu Apr 11 2019

Environment data

VSCode Info: Version: 1.34.0-insider
Commit: 0ab39f4148f242e7b0802330385fc99b4845aa31
Date: 2019-04-08T05:13:56.940Z
Electron: 3.1.8
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Linux x64 5.0.5-200.fc29.x86_64 (Fedora 29)
VS Code version: 1.34.0-insider (commit 0ab39f414)
Extension version (available under the Extensions sidebar): 2019.3.6558 (8 April 2019)
OS and version: Linux x64 5.0.5-200.fc29.x86_64 (Fedora 29)
Python version (& distribution if applicable, e.g. Anaconda): pypy3.5-6.0.0
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): pyenv
Relevant/affected Python packages and their versions: XXX

Expected behaviour
When using the new format string specifier, the code should be valid, and not display any problem.
Actual behaviour
When using the new format string specifier, the code is not valid, and displays the problems:
invalid syntax Python(parser-16) [24, 54]
Undefined variable: 'f' Python(undefined-variable) [24, 53]

In this screenshot, you can see the issues:

Steps to reproduce:

create a new python file
paste the following into the file:

print(f"I like the number {3}.")

save and wait a few minutes (it takes a bit for the errors to be displayed.)

Logs
{
	"resource": "[...]/elastic_mixin.py",
	"owner": "_generated_diagnostic_collection_name_#1",
	"code": "parser-16",
	"severity": 8,
	"message": "invalid syntax",
	"source": "Python",
	"startLineNumber": 24,
	"startColumn": 54,
	"endLineNumber": 24,
	"endColumn": 71
}
{
	"resource": "[...]/elastic_mixin.py",
	"owner": "_generated_diagnostic_collection_name_#1",
	"code": "undefined-variable",
	"severity": 4,
	"message": "Undefined variable: 'f'",
	"source": "Python",
	"startLineNumber": 24,
	"startColumn": 53,
	"endLineNumber": 24,
	"endColumn": 54
}

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)
( no output )

This isn't a bug; their interpreter is set to Python 3.5. fstrings were introduced in 3.6, and our parser won't accept syntax not present in the specified version of Python.

It seems that PyPy backported f-strings from 3.6 to its 3.5 distribution, so the version string doesn't actually reflect the language version supported by the interpreter.

Not sure how many users specifically use 3.5 vs 3.6

The PyPy release with this 3.5 backport doesn't appear to be supported upstream. I'm going to close this; I don't think this is something we should fix at this point given everyone's moved on.

What is the fix for this? I'm running a 3.7.6 venv in vs code and f-strings throw syntax errors.

If you are running 3.7, please open separate issue. This one is about 3.5.


Poastgres add Transactions

Tested ok with GCP Pub/Sub, however, topic needs to ensure message ordering


Update the Package.json and the Readme files

Coverage remained the same at 87.438% when pulling ca4d366e2b84ce5a757047d53c68ab5c798a7086 on ch-refactor into 9b0b8a44546b333bb596e00f92ef2520aae48ee4 on develop.


”Dumitreni”, ”Filitelnic”, ”Senereuș” are listed in the drop-down menu

Description:
When user writes ”Dumitreni”, ”Filitelnic”, ”Senereuș” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Senereuș"

Expected results
The location appears in the drop-down menu as "Sat Senereuș, MUREȘ (Bălăușeri)".


rearrangement of the code; adding custom visualization and general lo…

there's a rearrangement of the code in main.js, which results in a "large diff".
Major changes:

A new tab, custom visualization has been added.
The bug when the select in sample analysis wasn't reloaded when there's a change of dataset is fixed.
A general simple loading screen has been added.
Some of the files are now hosted on distributedgenomics.ca for fast loading speed.

Codecov Report

Merging #69 into develop will increase coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop      #69      +/-   ##
===========================================
+ Coverage    80.67%   80.68%   +0.01%
===========================================
  Files           37       37
  Lines        14553    14557       +4
  Branches      1439     1443       +4
===========================================
+ Hits         11740    11746       +6
+ Misses        2336     2335       -1
+ Partials       477      476       -1

Impacted Files
Coverage Δ

ga4gh/server/backend.py
51.79% <0%> (+0.38%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ca102e6...0993cd9. Read the comment docs.


Use the actual port number on the webpage

This small change will allow the user selected non-default port to be used by the webpage.

Thanks for catching this!


Feature request: Add support for pathlib.Path

Description
pathlib.Path is widely used and preferred over os for file system operations in modern Python. It would be beneficial to support pathlib.Path
Related code
https://github.com/microsoft/markitdown/blob/ad5d4fb1394ad927c0dba86a135fdf9224383123/src/markitdown/_markitdown.py#L1044-L1065

@ameyakhot i already did it


TST: make live API tests for current API only.

Tests are broken. I'm trying to fix them.

@adborden Any idea why this is failing? Everything passes locally, but the Travis build fails on all tests.


Exposing service lab issue and fix

Exposing Service EKS lab @ https://www.eksworkshop.com/beginner/130_exposing-service/ is broken ( tested in us-west-2) and the fix for issue reported https://github.com/aws-samples/eks-workshop/issues/1163 appearntly still exists. The lab works only if I remove the flag  --set image.tag="${LBC_VERSION}" , which means I'm upgrading to a latest version of load balancer controller and not to the specific version specified in the lab.

Here's the information about the aws-load-balancer-controller chart installed by helm:
helm ls -a -A
NAME                            NAMESPACE       REVISION        UPDATED                                 STATUS          CHART                                   APP VERSION
aws-load-balancer-controller    kube-system     1               2022-03-16 11:10:25.85235245 +0000 UTC  deployed        aws-load-balancer-controller-1.4.0      v2.4.0

The error seen at https://www.eksworkshop.com/beginner/130_exposing-service/ingress_controller_alb/#deploy-sample-application is this:
curl -s https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/v2.3.1/docs/examples/2048/2048_full_latest.yaml     | sed 's=alb.ingress.kubernetes.io/target-type: ip=alb.ingress.kubernetes.io/target-type: instance=g'     | kubectl apply -f -

namespace/game-2048 created
deployment.apps/deployment-2048 created
service/service-2048 created
Error from server (InternalError): error when creating "STDIN": Internal error occurred: failed calling webhook "vingress.elbv2.k8s.aws": the server could not find the requested resource

As mentioned, removing the --set image.tag="${LBC_VERSION}" will fix this issue by installing latest, but also setting the chart version to an older v1.3.3 of the aws-load-balancer-controller will also work.
helm repo add eks https://aws.github.io/eks-charts

helm upgrade -i aws-load-balancer-controller \
    eks/aws-load-balancer-controller \
    -n kube-system \
    --set clusterName=eksworkshop-eksctl \
    --set serviceAccount.create=false \
    --set serviceAccount.name=aws-load-balancer-controller \
    --set image.tag="${LBC_VERSION}" \
    --version 1.3.3

This installs aws-load-balancer-controller v2.3.1.
helm ls -a -A
NAME                            NAMESPACE       REVISION        UPDATED                                 STATUS          CHART                                   APP VERSION
aws-load-balancer-controller    kube-system     1               2022-03-16 11:26:46.712918863 +0000 UTC deployed        aws-load-balancer-controller-1.3.3      v2.3.1

The older version of the controller allows the 2048 ingress to be created.
curl -s https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/v2.3.1/docs/examples/2048/2048_full_latest.yaml     | sed 's=alb.ingress.kubernetes.io/target-type: ip=alb.ingress.kubernetes.io/target-type: instance=g'     | kubectl apply -f -
namespace/game-2048 created
deployment.apps/deployment-2048 created
service/service-2048 created
ingress.networking.k8s.io/ingress-2048 created

for me all the ideas given here, same as the original lab command, result in:
error: deployment "aws-load-balancer-controller" exceeded its progress deadline
which makes me unable to proceed with the lab
system info from one of the nodes that might be helpful:
  Kubelet Version:            v1.19.15-eks-9c63c4
  Kube-Proxy Version:         v1.19.15-eks-9c63c4```

I have previously had a case that one part of eksworkshop got updated after I already started doing it and something got updated versions to newer K8s, so it worked for me when I checked file history and used previous versions - not a case here, but maybe it is also somehow version related

```printenv | grep LBC
LBC_CHART_VERSION=1.4.1
LBC_VERSION=v2.4.1```

and I also tried removing `image.tag` and setting the `--version 1.3.3` and it did not work.
first try was with SO recommendation to add `region` and `vpcId` to the `helm upgrade` command and it also did not work.


I try to close issue

Hello
I try to close issues today but it not work correctly!

This was due to some GitHub issues today, See status.github.com. Also this repository is of hub CLI tool and not of GitHub itself.

Thank you


Show current grid also for whoami

updated

LGTM
/cc @nevalla @miskun

Looks good!

@hans-d this needs rebase.

@jakolehm rebased


feat: deploy changes

feat: increase default inspect depth for showing changed resources
feat: error on unparsed options
feat: parse deploy options
feat: deploy changes if forced

@m-tu, didn't even complain about the lack of tests? Some things never change.


Fix tiling memory and computational issues

Use FP to be memory and compute efficient

This PR addresses performance issues but breaks time stepping and animation. Both of which will be patched in the next PR


The formatting branch has not been merged

Work on a separate branch based on formatting, to bring the features to master.

Fixed in #52


Simple Remapper button press not working

Hi, I'm having difficulty with the Remapper.
Just as a simple test case, I was trying to hit the Triangle button:

Launch PS4 Remote Play
Launch PS4 Macro
Open Tools > Remapper (notice that Triangle is mapped to V)
Focus PS4 Remote Play
Press V
(Nothing happens)

I attempted to troubleshoot this with a settings.xml which included <ShowConsole>true</ShowConsole>. After restarting everything, the debugging console is launched but nothing is printed therein.
Any ideas? Am I missing something?
Important notes:

At this time, I am not using a controller
This is on Windows 10 Pro running on VirtualBox on Windows 7 (PS4 Remote Play does not work on Windows 7 directly)
The macro functionality also seems to not work
Screen resize does work

I thought more about it, and realized it might be unrealistic to expect functionality within a virtual machine. Both this project and VirtualBox seem to use some kind of "low-level keyboard hooks" so there might be a conflict.
I'm going to try on bare metal.

Did you try this build with Status Checker ?https://github.com/komefai/PS4Macro/files/1734519/PS4Macro_c43db4.zip
Post a screenshot of the Status Checker (Help>Status Checker) window after starting up PS4Macro.

Previously I was using the latest release (PS4Macro_0_5_2)
Using the linked file ...b4.zip I get this message:

@e-volusian Do you get a 'Working' status for Interceptor if you connect a DS4 to your PC?

@Y-T-G  -- I moved off the VirtualBox virtual machine and installed everything on a fresh copy of Windows 10 Home. That did not change the behavior (the Status Checker still shows Interceptor: Not Working
Plugging in a DualShock controller into the laptop's USB port also has no effect. Nothing changes in PS4Macro.
Is the expectation that I should be able to plug the DS4 into my laptop and then control the PS4 Remote Play window? Because that doesn't work either.

p.s. The only thing that changed is that the debugging Window does output something now. It was totally blank before.

Update: I was able to get the DS4 working over USB after installing DS4Windows and also changing the USB cable. I did these both at the same time so I don't know which one solved the problem.
No change to Interceptor: Not Working though.

@e-volusian Does your PS4 Remote Play screen look like this when you connect DS4 with USB to your PC:

If not, there is some problem with drivers.

@Y-T-G Yes my screen looks like that. The controller works now but still no interceptor. Thanks for your help
If settings.xml has AutoInject=false, is there some manual step that I need to perform?

This is how mine looks like:

Did you try running it as administrator?

No change with Run as Administrator

My driver info is below. The only way I could get the controller working was by using DS4Windows which emulates an Xbox 360 controller. However, my driver version number is almost exactly the same as yours (10.0.16299.251 vs 10.0.16299.250) which makes me think it's actually the same driver.

Ok, it seems to be working now, using the latest release and with no settings.xml.
I'm not sure what happened, but thanks again for helping me get it working @Y-T-G

@e-volusian Nice. Post a screenshot though of Status Checker now that you have it working.

Here it is. I'm having some problems with recorded macros being played back reliably, but I'll deal with that separately.

@e-volusian Are you able to use Remapper with EmulateController false?

Are you able to use Remapper with EmulateController false?

Yes

Hmmm, @komefai is this supposed to happen?

I can also confirm that using a VM does work but cannot process the macro data fast enough for ~30fps. If possible, you can try Scripting instead of using macros in a VM because it does perform quite well in most cases. If you got EmulatedController to work then it might improve the performance a little bit. I'm running 64-bit Windows 10 VirtualBox (2 CPU cores and 8GB of RAM) on a Windows 10 host by the way.
Normally when you get OnInjectionSuccess message and have the Press the OPTIONS button on the controller to start. screen, the interceptor status should work. The only reason I can think of is that PS4 Remote Play detected a hardware controller making it ignore the emulated controller from PS4 Macro. This happened to me quite a few times while developing a feature when I forgot to unplug a DS4 controller while setting EmulateController to true.
@Y-T-G Thanks again for helping out!

settings.xml

false
false
true
false
MyMacro.xml

I may have found a solution that works for me after many tries - from switching wifi to ethernet / updating windows, drivers / switching usb ports / the list goes on.. and the solid solution is to put PS4 Macro, the whole folder into a different drive.
My 1st PC works flawlessly (both PS4 Remote Play and PS4 Macro in drive C). It's when I duplicated the setup to my 2nd PC that was when problem occurs - the macro either play very slowly , not playing at all, and the Interceptor status check not working (out of many tries, it work once..) or sometimes the Interceptor status works but as soon as I move the mouse, it shows Not Working.
But as soon as I move the PS4 Macro into drive D:  it works flawlessly like my 1st PC. (My 2nd PC is running 4 SSDs - Drive C,D,E and F). Perhaps bandwidth issue  ?


Update CustomHttpStatusCodeResult.cs

Give response a header: Response.ContentType = "text/plain"  even if the request  is not set header("Accept":"xxxxxxx")
When I get http://httpstat.us/500 using OkHttpClient
I excepted to get the body "500 Internal Server Error" , but I didn't
After analysis, it was found that the header was not set in the okhttpclient request like: header("Accept":"xxxxxxx")
OkHttpClient relies on the "content-type" of the response when getting the body
https://github.com/square/okhttp/blob/master/okhttp/src/main/java/okhttp3/internal/connection/Exchange.kt#L123
debug 1day in OkHttpClient ,Finally found this
merge it please,to help others

Hi,
This is intended behaviour added in #49. The doco could certainly use an update to be more explicit in this behaviour.

Thanks for your reply,
It is recommended to add a FAQ


initial commit for jacoco reporter

 Modified Files Coverage Summary

            :white_check_mark: Instructions Coverage (100%)

            :white_check_mark: Instructions Coverage (100%)

File
Instructions Coverage (100%)
:white_check_mark:
Branch Coverage (100%)
:white_check_mark:

 Overall Coverage Summary

            :white_check_mark: Instructions Coverage (74.08%)

            :x: Branch Coverage (47.85%)

 Modified Files Coverage Summary

            :yellow_circle: Instructions Coverage (NA)

            :yellow_circle: Branch Coverage (NA)

File
Instructions Coverage (NA)
:yellow_circle:
Branch Coverage (NA)
:yellow_circle:

-
-
-
-
-

 Overall Coverage Summary

            :white_check_mark: Instructions Coverage (74.08%)

            :x: Branch Coverage (47.85%)

 Modified Files Coverage Summary

            :yellow_circle: Instructions Coverage (NA)

            :yellow_circle: Branch Coverage (NA)

File
Instructions Coverage (NA)
:yellow_circle:
Branch Coverage (NA)
:yellow_circle:

-
-
-
-
-

 Overall Coverage Summary

            :white_check_mark: Instructions Coverage (74.08%)

            :x: Branch Coverage (47.85%)

comment

JaCoCo Report

 Modified Files Coverage Summary

            :yellow_circle: Instructions Coverage (NA)

            :yellow_circle: Branch Coverage (NA)

File
Instructions Coverage (NA)
:yellow_circle:
Branch Coverage (NA)
:yellow_circle:

-
-
-
-
-

 Overall Coverage Summary

            :white_check_mark: Instructions Coverage (74.08%)

            :x: Branch Coverage (47.85%)

JaCoCo Report

 Modified Files Coverage Summary

            :yellow_circle: Instructions Coverage (NA)

            :yellow_circle: Branch Coverage (NA)

File
Instructions Coverage (NA)
:yellow_circle:
Branch Coverage (NA)
:yellow_circle:

-
-
-
-
-

 Overall Coverage Summary

            :white_check_mark: Instructions Coverage (74.08%)

            :x: Branch Coverage (47.85%)

JaCoCo Report

 Modified Files Coverage Summary

            :yellow_circle: Instructions Coverage (NA)

            :yellow_circle: Branch Coverage (NA)

File
Instructions Coverage (NA)
:yellow_circle:
Branch Coverage (NA)
:yellow_circle:

-
-
-
-
-

 Overall Coverage Summary

            :white_check_mark: Instructions Coverage (74.08%)

            :x: Branch Coverage (47.85%)


Using Azure managed identity for authenticating to Azure Storage and Azure Tables

Is your feature request related to a problem? Please describe.
I'm running BaGetter on an Azure VM with a managed identity. I'd like to use the VM's managed identity to authenticate to Azure Blob Storage and Azure Table Storage, instead of a connection string with a hardcoded key or SAS token.
Describe the solution you'd like
I'd like BaGetter to automatically try to use DefaultAzureCredential if a ConnectionString isn't set. (I'd also need to be able to set the storage account name and table/container names separately from the connection string.)
Describe alternatives you've considered
ConnectionString works, I just need to handle securing and rotating the SAS token, which is work I wouldn't have to do if I could use the VM's managed identity.

This seems easily implemented.
In AzureApplicationExtensions, instead of new StorageSharedKeyCredential(options.AccountName, options.AccessKey) we pass new ManagedIdentityCredential() and that's it.
Need a fitting API to do it though. Maybe set the ConnectionString to "ManagedIdentity" and check for that? Seems hacky.
ConnectionString empty and set AccessKey to "ManagedIdentity"?  Still hacky.
Leave both ConnectionString and AccessKey empty? This might be the most intuitive.
I'm open to ideas, preferably ones that don't change current behaviour.


How do I install the binaries?

Expected behavior
Using lsd file as binary via ./lsd
Actual behavior
I can't run LSD via ./lsd
Or install it? I don't know.
Would love to use it but the description of the installation is pretty much useless, at least for newbies. I thought lsd was a binary file, which can be just executed, but it is not recognized as file even. I get the error -bash: ./lsd: No such file or directory.

Hi @timothy3001,
Sorry for the delay. If you have installed lsd with you package manager the lsd (without ./) command should work.


[Task] Tern server optimization

Look into tern server architecture for possible optimisations

Move the tern server to a webworker.
Have a single instance of it and pass additional current active editor specific hints to it.

Related issue https://github.com/appsmithorg/appsmith/issues/6202


🚀 Feature Request: Expand validateAdditionalProperties to more configuration types

Describe the solution
The current usage of validateAdditionalProperties is only used for a subset of configuration fields, such as build or the top-level entries.
This means that you can use the following TOML and whilst it will publish with no warnings, route won't work and nor will you get warnings about that or the unknown i_dont_exist field.
name = "test-worker"
main = "src/index.ts"
compatibility_date = "2023-01-11"

[[kv_namespaces]]
binding = "KV"
id = ""
preview_id = ""

route = { pattern = "example.com/*", zone_name = "example.com" }

[[r2_buckets]]
binding = "R2"
bucket_name = ""
preview_bucket_name = ""

i_dont_exist = "foo"

Relevant file: https://github.com/cloudflare/wrangler2/blob/main/packages/wrangler/src/config/validation.ts
In my opinion, I don't see the downside to running it on everything other than unsafe bindings?

I ran into this today - turns out wrangler environments don't show the specific key that's invalid, making it harder to spot/figure out what was wrong:
▲ [WARNING] Processing wrangler.toml configuration:
- "env.staging" environment configuration

as part of this fix we should also ensure that additional invalid fields defined at environment level will result in a warning as well. For example, top level additional fields
invalid_field_name = "some name"

currently do result in a warning, whereas environment-level ones don't:

We should ensure that warning behaviour is on par across top-level/env config


[Subnet Mgr] Subnet deletion needs to check if there is any port exists in the subnet

Description:
When a subnet is deleted, we need to check if there exist any gateway port or non-gateway port in the subnet. All ports need to be deleted before deleting the subnet. If there exists any non-gateway port, SM needs to raise a warning message and deny the deletion event.
Issue:
In the current implementation, Subnet only has gateway port id, SM is able to ask PM to delete gateway port by port-id. However, subnet doesn't have normal port (port attached to VM) information. SM cannot query PM about related ports just by subnet-id.
Propose Solution:
Create an API in PM for SM to query its related non-gateway ports by subnet-id.
Input: subnet_id
Response: # of non-gateway ports (non-negative integer number)

We need to fix this issue when we get a chance.

We will need to change PM @chenpiaoping and SM @kevin-zhonghao  at the same time.

Does the deletion of vpc also need to query whether subnet exists?

@xieus  @cj-chung  Since PM does not know which is gateway port and which is non-gateway port, and therefore does not know the number of non-gateway port, how about returning all the port id in subnet?

@chenpiaoping @kevin-zhonghao @xieus PM is able to know a port is either a normal port or a gw port. Subnet Manager will ask PM the number of normal ports under a subnet, if it returns zero, the deletion can go forward, otherwise a warning message will be displayed. So, just return the number of normal ports for the question subnet.


[SPARK-11293] Fix shuffle memory leaks in Spillable collections and UnsafeShuffleWriter (branch-1.5)

This patch fixes multiple memory leaks in Spillable collections, as well as a leak in UnsafeShuffleWriter. There were a small handful of places where tasks would acquire memory from the ShuffleMemoryManager but would not release it by the time the task had ended. The UnsafeShuffleWriter case was harmless, since the leak could only occur at the very end of a task, but the other two cases are somewhat serious:

ExternalSorter.stop() did not release the sorter's memory. In addition, BlockStoreShuffleReader never called stop() once the sorter's iterator was fully-consumed. Put together, these bugs meant that a shuffle which performed a reduce-side could starve downstream piplelined transformations of shuffle memory.
ExternalAppendOnlyMap exposes no equivalent of stop() and its iterators do not automatically free its in-memory data upon completion. This could cause aggregation operations to starve other operations of shuffle memory.

This patch adds a regression test and fixes all three leaks.
This patch was originally opened as #9260; this version is the 1.5.x backport.

Merged build triggered.

Merged build started.

Test build #44858 has started for   PR 9427 at commit 46ef394.

Merged build triggered.

Merged build started.

Test build #44859 has started for   PR 9427 at commit c897b75.

Test build #44858 timed out     for PR 9427 at commit 46ef394     after a configured wait of 175m.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44858/
Test FAILed.

Merged build finished. Test FAILed.

Test build #44859 timed out     for PR 9427 at commit c897b75     after a configured wait of 175m.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44859/
Test FAILed.

Hmm, looks like legitimate test failures. I'll investigate tomorrow.

LGTM, except one minor comment.

@davies, I've updated this to address your comment; PTAL.

Test build #46559 has started for   PR 9427 at commit 1d35e6f.

Test build #46559 timed out     for PR 9427 at commit 1d35e6f     after a configured wait of 175m.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/46559/
Test FAILed.

Jenkins, retest this please.

Test build #46648 has started for   PR 9427 at commit 1d35e6f.

Test build #46648 timed out     for PR 9427 at commit 1d35e6f     after a configured wait of 175m.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/46648/
Test FAILed.

Test build #2115 has started for   PR 9427 at commit 1d35e6f.

Test build #2115 timed out     for PR 9427 at commit 1d35e6f     after a configured wait of 175m.

Test build #2150 has started for   PR 9427 at commit 1d35e6f.

Test build #2150 timed out     for PR 9427 at commit 1d35e6f     after a configured wait of 175m.

@JoshRosen  Is there something wrong with this PR?

Looks like it timed out while compiling? Let me try again.
Jenkins, retest this please.

tes this please

test this please

Test build #47344 has started for   PR 9427 at commit 1d35e6f.

Test build #47344 timed out     for PR 9427 at commit 1d35e6f     after a configured wait of 175m.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/47344/
Test FAILed.

Merged build finished. Test FAILed.

retest this please

Test build #47686 has started for   PR 9427 at commit 1d35e6f.

Test build #47686 timed out     for PR 9427 at commit 1d35e6f     after a configured wait of 175m.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/47686/
Test FAILed.

Merged build finished. Test FAILed.

@JoshRosen It should be something wrong in this PR, if we can't fix it easily, would you mind close this one?

Yeah, I'm going to close this for now; I don't think that this is a high-priority issue to fix for 1.5.x since it's been around forever and nobody reported problems due to it.


Overhaul CI

Model CI after rapids-build-backend, which publishes packages rather than just being a repository for pre-commit to clone.

Add DFG to pre-commit
Build Conda packages
Publish Conda packages and wheels
Enable copy-pr-bot

Since this PR enables copy-pr-bot, CI won't actually run until it's merged. I'll merge now and then open a follow-up PR if any issues arise.


Update

While updating through the app it appears to just crash the application.

The application closing before the userspace reboot is done is entirely normal.


fix(vue): skip transforming for <script setup>

close #14

Codecov Report

Merging #15 (8babd52) into main (01bd971) will increase coverage by 0.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
+ Coverage   96.69%   96.74%   +0.05%
==========================================
  Files           6        6
  Lines         121      123       +2
  Branches       33       28       -5
==========================================
+ Hits          117      119       +2
  Misses          4        4

Impacted Files
Coverage Δ

src/loaders/vue.ts
95.00% <100.00%> (+0.55%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 01bd971...8babd52. Read the comment docs.


Coverage

Changes Unknown when pulling 68c51deda2885801d77b0337c4a8fef49fecc0e0 on coverage into ** on master**.

Changes Unknown when pulling 6e5e2af9c7e2ec2ab4f5ddb79b552ad991f99681 on coverage into ** on master**.

Changes Unknown when pulling 6e5e2af9c7e2ec2ab4f5ddb79b552ad991f99681 on coverage into ** on master**.

Changes Unknown when pulling 6e5e2af9c7e2ec2ab4f5ddb79b552ad991f99681 on coverage into ** on master**.


Vector is broken on JS, it makes unnecessary copy for some reason

When you pass some Vector variable to some function, new Vector is always constructed from existing Vector for some reason.
Matrix3D.copyRawDataTo() is broken on JS because of this issue.
This function ends up wroking on copied Vector and doesn't change original array.

This should be fixed


Please, update to newer cargo, dependencies no longer build

The cargo version used depends on libgit2-sys v0.4.6, which no longer builds on Debian Testing. Since newer versions build just fine, the easiest fix would be to update to newer cargo.
The errors are:
libgit2-sys-0.4.6/libgit2/src/openssl_stream.c:146:3: error: dereferencing pointer to incomplete type ‘BIO {aka struct bio_st}’
libgit2-sys-0.4.6/libgit2/src/openssl_stream.c:204:1: error: variable ‘git_stream_bio_method’ has initializer but incomplete type

Thanks for reporting. I am using Debian Sid and it is building fine.
But I'll definitely update this crate.

Works ok.


Couple of Issues I have right now

T-posing zombie: https://steamcommunity.com/id/Punkinator7/screenshot/800988890991227289
Legacy only ports over special spawns, even with other things selected in the menu
Holding melee out when buying a weapon deletes it from existence
Grenades don't replenish during a round transistion
These bugs exist in the latest commit ( ebe6702 )

T-posing zombie:

I think I saw it myself too at some point, but not sure what caused it. Did you notice a trigger?

Legacy only ports over special spawns, even with other things selected in the menu

You shouldn't be able to choose which parts to port, it's just a list showing what features aren't implemented yet and won't be ported. You saying it only spawns Special Spawnpoints? When I tried it, I had props, doors, normal spawns, and everything too.

Holding melee out when buying a weapon deletes it from existence

Good catch. I think I know how to fix that.

Grenades don't replenish during a round transistion

I actually thought of that just recently, probably forgot to make it when it was first made the grenade system.
I'm adding these to the to-do list. Will close when all are done (if you haven't added more by then).

I tried only config that had a bunch of stuff (props wall buys switch, etc)
but only the special spawns spawned in
On Sun, May 5, 2019, 9:25 AM Zet0r<EMAIL_ADDRESS>wrote:

T-posing zombie:

I think I saw it myself too at some point, but not sure what caused it.
Did you notice a trigger?

Legacy only ports over special spawns, even with other things
selected in the menu

You shouldn't be able to choose which parts to port, it's just a list
showing what features aren't implemented yet and won't be ported. You
saying it only spawns Special Spawnpoints? When I tried it, I had
props, doors, normal spawns, and everything too.

Holding melee out when buying a weapon deletes it from existence

Good catch. I think I know how to fix that.

Grenades don't replenish during a round transistion

I actually thought of that just recently, probably forgot to make it when
it was first made the grenade system.
I'm adding these to the to-do list. Will close when all are done (if you
haven't added more by then).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Zet0rz/nZombies-Unlimited/issues/50#issuecomment-489426269,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG7KOQ7W5CMCYGTDXZ3J4HLPT3N3TANCNFSM4HK2BKUQ
.

It could be because of the props were clipping
On Sun, May 5, 2019, 3:56 PM Adam Clendenen<EMAIL_ADDRESS>wrote:

I tried only config that had a bunch of stuff (props wall buys switch,
etc) but only the special spawns spawned in
On Sun, May 5, 2019, 9:25 AM Zet0r<EMAIL_ADDRESS>wrote:

T-posing zombie:

I think I saw it myself too at some point, but not sure what caused it.
Did you notice a trigger?

Legacy only ports over special spawns, even with other things
selected in the menu

You shouldn't be able to choose which parts to port, it's just a list
showing what features aren't implemented yet and won't be ported. You
saying it only spawns Special Spawnpoints? When I tried it, I had
props, doors, normal spawns, and everything too.

Holding melee out when buying a weapon deletes it from existence

Good catch. I think I know how to fix that.

Grenades don't replenish during a round transistion

I actually thought of that just recently, probably forgot to make it when
it was first made the grenade system.
I'm adding these to the to-do list. Will close when all are done (if you
haven't added more by then).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Zet0rz/nZombies-Unlimited/issues/50#issuecomment-489426269,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG7KOQ7W5CMCYGTDXZ3J4HLPT3N3TANCNFSM4HK2BKUQ
.

nz_gm_flatgrass;Configuration of the flatass.txt
This is the config I am having this issue with, sure some of the things won't spawn because of them not being implemented yet but there should be whats implemented right now

Power switch doesn't reset if the game ends

This is the config I am having this issue with,

Tested it, it turned out to be an error (which halts the loading process). It was because the config states to navlock a specific navmesh area which doesn't exist in the current navmesh. This has been fixed, but it might mean you have to verify Navlocks afterwards as you might have incorrect locks due to different Navmesh (console will report this).
The bug itself is fixed in b4f7497


avoid TS error from '1' as a string

when used as is, the usage example throws:
Type 'string' is not assignable to type 'number | undefined'.  TS2322

Good catch! Thanks for the fix :)


Technical terms not useful to end users

Article URL
https://review.docs.microsoft.com/en-us/javascript/api/office-scripts/excel-scripts?branch=master
Issue
The header 'excel-scripts package' doesn't seem like a useful thing for Office script user. Could we not have this heading?
I also see some text like this in the individual pages:
Package: System.Object[]
Even that I feel is not useful.

This part of OPS's reference documentation system. We should do a comprehensive audit of the changes and present them as a singular effort to our partner teams.
Closing this issue, but created an internal issue to track this effort.


[Feature]: Disable conventional commit prefix

Description
I would be happy if there is a flag with which you could make the conventional commit prefixes off. Since we don't use it in our company and don't want to stick out there.
Suggested Solution
Add a flag to disable it
Alternatives
No response
Additional Context
No response

hey hey, do you want to make a PR? ;)

@TimAufdemKampe is there any progress?


fix: upgrade catalog

/approve

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jstrachan
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jstrachan]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jstrachan: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gsm
7ef3897773095f03ecc59eed87d1808a8d02b15e
link
/test gsm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jstrachan: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gsm
7ef3897773095f03ecc59eed87d1808a8d02b15e
link
/test gsm

vault
7ef3897773095f03ecc59eed87d1808a8d02b15e
link
/test vault

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jstrachan: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gsm
7ef3897773095f03ecc59eed87d1808a8d02b15e
link
/test gsm

vault
7ef3897773095f03ecc59eed87d1808a8d02b15e
link
/test vault

gsm-kapp
7ef3897773095f03ecc59eed87d1808a8d02b15e
link
/test gsm-kapp

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jstrachan: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gsm
7ef3897773095f03ecc59eed87d1808a8d02b15e
link
/test gsm

vault
7ef3897773095f03ecc59eed87d1808a8d02b15e
link
/test vault

gsm-kapp
7ef3897773095f03ecc59eed87d1808a8d02b15e
link
/test gsm-kapp

kube
7ef3897773095f03ecc59eed87d1808a8d02b15e
link
/test kube

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

/retest

@jstrachan: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
7ef3897773095f03ecc59eed87d1808a8d02b15e
link
/test vault

gsm-kapp
7ef3897773095f03ecc59eed87d1808a8d02b15e
link
/test gsm-kapp

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jstrachan: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gsm-kapp
7ef3897773095f03ecc59eed87d1808a8d02b15e
link
/test gsm-kapp

vault
7ef3897773095f03ecc59eed87d1808a8d02b15e
link
/test vault

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

/retest

@jstrachan: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gsm-kapp
7ef3897773095f03ecc59eed87d1808a8d02b15e
link
/test gsm-kapp

vault
7ef3897773095f03ecc59eed87d1808a8d02b15e
link
/test vault

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

/retest

@jstrachan: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
7ef3897773095f03ecc59eed87d1808a8d02b15e
link
/test vault

gsm-kapp
7ef3897773095f03ecc59eed87d1808a8d02b15e
link
/test gsm-kapp

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

/retest


style(navbar): add aesthetic blur

I have finished the feature 🔥

Summary by CodeRabbit

New Features

Enhanced styling for the top navigation bar, including a blur effect on scroll.
Improved dropdown menu functionality to appear fixed below the header.

Bug Fixes

Adjusted hover state for dropdown links for better user interaction.

Style

Updated dimensions, border radius, and transition effects for improved aesthetics.

duckmath header moves kinda wierd when switching from normal to overthe apps, also more does not work when apps are hovered over, for ex if i scroll down a ton more does not fully show.

Thanks for correction, I have updated my pr as the suggestion


Upgrade to svelte 4

When installing, npm will complain with:
npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/svelte
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/svelte-legos
npm ERR!   dev svelte-legos@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!

@ankurrsinghal Hey I came back, was looking trough the docs and seen this guide:
https://svelte.dev/docs/v4-migration-guide
I would make a try to migrate the library, and if I success, I'll open the MR.

I checked, it is already updated.

Looks like its been addressed by https://github.com/ankurrsinghal/svelte-legos/pull/91/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R74


About pool_center_lower in CPM

Hi, I am referring your implementation of Convolutional Pose Machines to reproduce original paper (https://arxiv.org/abs/1602.00134) using PyTorch.
I have a question about pool_center_lower layer. In original implementation, an output of pool_center_layer is concatenated with other layers (example). However, in your code, pool_center_layer is defined but does not seem to be used. Is there a good reason for that?
Thank you

Thanks!  I will check it!


Docs seem out of date with new release

Hey, if I install an older pre-release version (e.g. 0.9.538-prerelease), I can find the webview2 control at the location/assembly specified in the article. However, if I use the newer "stable" version (0.9.538), I get build failures saying that the
The name "WebView2" does not exist in the namespace "clr-namespace:Microsoft.Web.WebView2.Wpf;assembly=Microsoft.Web.WebView2.Wpf".

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ba9dc9d2-795c-9612-3585-408b4621c080
Version Independent ID: f73fc16d-d842-4507-9fdb-b42856720355
Content: Microsoft Edge WebView 2 for WPF apps - Microsoft Edge Development
Content Source: microsoft-edge/webview2/gettingstarted/wpf.md
Product: microsoft-edge
Technology: webview
GitHub Login: @MSEdgeTeam
Microsoft Alias: msedgedevrel

I can confirm this as well.

@stratospheres and @LanceMcCarthy
Are you using the pre-release package?

No, the prerelease one actually works per the instructions. It is the latest release that doesn't (the prereleases's updated rollout).
The official demo project is also using the older prerelease version as well, so I couldn't find any  further resources on how to instantiate WebView2 (after prerelease)

@LanceMcCarthy
Are you getting this error with package 0.9.579-prerelease?

I'll go ahead and close this issue because an answer was provided in the linked issue. Thank you.


GUI interaction modifies metadata to remove schemaKey

i am convinced that some interaction between the meditor and the API server that is removing schemaKey. newest example (just created): https://gui.dandiarchive.org/#/dandiset/000165 (see the validation errors). refers to fields populated later, so not on POST, but on PUT. (the change made to the API server focused on POST, and seemed reasonable under the assumption that the meditor was not making any changes. this could be a VJSF thing, but it would be worthwhile checking.
new dandiset
{
    "id": "DANDI:100796/draft",
    "url": "https://dandiarchive.org/dandiset/100796/draft",
    "name": "TestSchemaKey",
    "access": [
        {
            "status": "dandi:OpenAccess",
            "schemaKey": "AccessRequirements"
        }
    ],
    "version": "draft",
    "@context": "https://raw.githubusercontent.com/dandi/schema/master/releases/0.6.0/context.json",
    "citation": "Ghosh, Satrajit (2021) TestSchemaKey (Version draft) [Data set]. DANDI archive. https://dandiarchive.org/dandiset/100796/draft",
    "schemaKey": "Dandiset",
    "identifier": "DANDI:100796",
    "repository": "https://dandiarchive.org/",
    "contributor": [
        {
            "name": "Ghosh, Satrajit",
            "email"<EMAIL_ADDRESS>            "roleName": [
                "dcite:ContactPerson"
            ],
            "schemaKey": "Person",
            "affiliation": [],
            "includeInCitation": true
        }
    ],
    "dateCreated": "2021-11-03T20:31:26.316491+00:00",
    "description": "testing schemakey removal",
    "assetsSummary": {
        "schemaKey": "AssetsSummary",
        "numberOfBytes": 0,
        "numberOfFiles": 0
    },
    "schemaVersion": "0.6.0",
    "manifestLocation": [
        "https://api.dandiarchive.org/api/dandisets/100796/versions/draft/assets/"
    ]
}

add license
{
    "id": "DANDI:100796/draft",
    "url": "https://dandiarchive.org/dandiset/100796/draft",
    "name": "TestSchemaKey",
    "about": [],
    "access": [
        {
            "status": "dandi:OpenAccess",
            "schemaKey": "AccessRequirements"
        }
    ],
    "license": [
        "spdx:CC-BY-4.0"
    ],
    "version": "draft",
    "@context": "https://raw.githubusercontent.com/dandi/schema/master/releases/0.6.0/context.json",
    "citation": "Ghosh, Satrajit (2021) TestSchemaKey (Version draft) [Data set]. DANDI archive. https://dandiarchive.org/dandiset/100796/draft",
    "keywords": [],
    "protocol": [],
    "schemaKey": "Dandiset",
    "identifier": "DANDI:100796",
    "repository": "https://dandiarchive.org/",
    "contributor": [
        {
            "name": "Ghosh, Satrajit",
            "email"<EMAIL_ADDRESS>            "roleName": [
                "dcite:ContactPerson"
            ],
            "schemaKey": "Person",
            "affiliation": [],
            "includeInCitation": true
        }
    ],
    "dateCreated": "2021-11-03T20:31:26.316491+00:00",
    "description": "testing schemakey removal",
    "studyTarget": [],
    "assetsSummary": {
        "schemaKey": "AssetsSummary",
        "numberOfBytes": 0,
        "numberOfFiles": 0
    },
    "schemaVersion": "0.6.0",
    "ethicsApproval": [],
    "wasGeneratedBy": [],
    "relatedResource": [],
    "manifestLocation": [
        "https://api.dandiarchive.org/api/dandisets/100796/versions/draft/assets/"
    ]
}

here is a culprit. edit metadata and simply hit save. the access schemaKey is gone.

schemaKey removed from access after load and save
{
    "id": "DANDI:100796/draft",
    "url": "https://dandiarchive.org/dandiset/100796/draft",
    "name": "TestSchemaKey",
    "about": [],
    "access": [
        {
            "status": "dandi:OpenAccess"
        }
    ],
    "license": [
        "spdx:CC-BY-4.0"
    ],
    "version": "draft",
    "@context": "https://raw.githubusercontent.com/dandi/schema/master/releases/0.6.0/context.json",
    "citation": "Ghosh, Satrajit (2021) TestSchemaKey (Version draft) [Data set]. DANDI archive. https://dandiarchive.org/dandiset/100796/draft",
    "keywords": [],
    "protocol": [],
    "schemaKey": "Dandiset",
    "identifier": "DANDI:100796",
    "repository": "https://dandiarchive.org/",
    "contributor": [
        {
            "name": "Ghosh, Satrajit",
            "email"<EMAIL_ADDRESS>            "roleName": [
                "dcite:ContactPerson"
            ],
            "schemaKey": "Person",
            "affiliation": [],
            "includeInCitation": true
        }
    ],
    "dateCreated": "2021-11-03T20:31:26.316491+00:00",
    "description": "testing schemakey removal",
    "studyTarget": [],
    "assetsSummary": {
        "schemaKey": "AssetsSummary",
        "numberOfBytes": 0,
        "numberOfFiles": 0
    },
    "schemaVersion": "0.6.0",
    "ethicsApproval": [],
    "wasGeneratedBy": [],
    "relatedResource": [],
    "manifestLocation": [
        "https://api.dandiarchive.org/api/dandisets/100796/versions/draft/assets/"
    ]
}

now adding a resource:
  added resource has schemaKey
{
    "id": "DANDI:100796/draft",
    "url": "https://dandiarchive.org/dandiset/100796/draft",
    "name": "TestSchemaKey",
    "about": [],
    "access": [
        {
            "status": "dandi:OpenAccess"
        }
    ],
    "license": [
        "spdx:CC-BY-4.0"
    ],
    "version": "draft",
    "@context": "https://raw.githubusercontent.com/dandi/schema/master/releases/0.6.0/context.json",
    "citation": "Ghosh, Satrajit (2021) TestSchemaKey (Version draft) [Data set]. DANDI archive. https://dandiarchive.org/dandiset/100796/draft",
    "keywords": [],
    "protocol": [],
    "schemaKey": "Dandiset",
    "identifier": "DANDI:100796",
    "repository": "https://dandiarchive.org/",
    "contributor": [
        {
            "name": "Ghosh, Satrajit",
            "email"<EMAIL_ADDRESS>            "roleName": [
                "dcite:ContactPerson"
            ],
            "schemaKey": "Person",
            "affiliation": [],
            "includeInCitation": true
        }
    ],
    "dateCreated": "2021-11-03T20:31:26.316491+00:00",
    "description": "testing schemakey removal",
    "studyTarget": [],
    "assetsSummary": {
        "schemaKey": "AssetsSummary",
        "numberOfBytes": 0,
        "numberOfFiles": 0
    },
    "schemaVersion": "0.6.0",
    "ethicsApproval": [],
    "wasGeneratedBy": [],
    "relatedResource": [
        {
            "name": "some resource",
            "relation": "dcite:Cites",
            "schemaKey": "Resource"
        }
    ],
    "manifestLocation": [
        "https://api.dandiarchive.org/api/dandisets/100796/versions/draft/assets/"
    ]
}

following the same edit + save action removes schemakey
  schemaKey removed from resource on save
{
    "id": "DANDI:100796/draft",
    "url": "https://dandiarchive.org/dandiset/100796/draft",
    "name": "TestSchemaKey",
    "about": [],
    "access": [
        {
            "status": "dandi:OpenAccess"
        }
    ],
    "license": [
        "spdx:CC-BY-4.0"
    ],
    "version": "draft",
    "@context": "https://raw.githubusercontent.com/dandi/schema/master/releases/0.6.0/context.json",
    "citation": "Ghosh, Satrajit (2021) TestSchemaKey (Version draft) [Data set]. DANDI archive. https://dandiarchive.org/dandiset/100796/draft",
    "keywords": [],
    "protocol": [],
    "schemaKey": "Dandiset",
    "identifier": "DANDI:100796",
    "repository": "https://dandiarchive.org/",
    "contributor": [
        {
            "name": "Ghosh, Satrajit",
            "email"<EMAIL_ADDRESS>            "roleName": [
                "dcite:ContactPerson"
            ],
            "schemaKey": "Person",
            "affiliation": [],
            "includeInCitation": true
        }
    ],
    "dateCreated": "2021-11-03T20:31:26.316491+00:00",
    "description": "testing schemakey removal",
    "studyTarget": [],
    "assetsSummary": {
        "schemaKey": "AssetsSummary",
        "numberOfBytes": 0,
        "numberOfFiles": 0
    },
    "schemaVersion": "0.6.0",
    "ethicsApproval": [],
    "wasGeneratedBy": [],
    "relatedResource": [
        {
            "name": "some resource",
            "relation": "dcite:Cites"
        }
    ],
    "manifestLocation": [
        "https://api.dandiarchive.org/api/dandisets/100796/versions/draft/assets/"
    ]
}

This does indeed seem to be an upstream bug in VJSF. The issue seems to only occur when you reload VJSF without refreshing the page (i.e., without completely rerendering the component). So something like this is happening:

User creates a dandiset. This populates the vuex store with the dandiset JSON object, including its metadata
User goes to meditor. The meditor gets the dandiset from the store and puts it into a computed property.
The user clicks save and returns to the DLP.
The user goes back to the meditor. VJSF loads the dandiset but mangles it somehow and properties like schemaKey get dropped.
The user clicks save, and this corrupted metadata is sent to the server to be saved.

Setting the autoFixArrayItems prop in VJSF fixes this problem, but recall that was the prop I introduced to VJSF to fix the performance problems we were having before, so that's not really an option. This seems like a serious bug for VJSF, so I can file an issue in that repo about this.
But as I said, this issue only occurs when you reload the VJSF component without rerendering it. So if the Meditor was it's own "page" in the Vue-Router, this wouldn't be a concern. Luckily this is a feature that we've wanted for a while for other reasons, so I've implemented it here #956. That PR will fix this problem for DANDI, while hopefully a fix can happen upstream in VJSF in the longer term.

something to consider is whether the API-server also puts the same check in for PUT as for POST. this would mean that the DLP metadata would always be upgraded to the latest version, and the PUT could potentially error. but i think that's a safer choice. if migration is possible, migrate when the user chooses to hit save.

@mvandenburgh - does this mean that we need to manually address any dandiset metadata schema's that broke because of this? or will it auto adjust whenever someone opens the schema? if the former, i would suggest we do that asap.

@mvandenburgh - does this mean that we need to manually address any dandiset metadata schema's that broke because of this? or will it auto adjust whenever someone opens the schema? if the former, i would suggest we do that asap.

Yes, we will need to manually addresses any broken metadata. I'll put together a script that restores any missing schemaKey fields.


Add support for string type site IDs

There is a plugin on the Piwik marketplace that allows using site URLs as site IDs in addition to numbers:
https://plugins.piwik.org/SiteUrlTrackingID
I'm using this in a project where PIwik is being used for various white-labeled instances of a common site for centralized analytics. Unfortunately, the current version of piwik-tracker requires numerical site IDs only, and so is incompatible with this plugin.
This pull request changes the strict numerical type checking on site ID during initialization to still be strict but allow numbers or strings. I expanded the test suite to make sure truthy values of other types (boolean, object, function, etc.) continue to throw the exception as expected.

Great, thank you!

Feature added in v1.1.0


Improve the design of profile page

I would like to work on this. It would be great if you could assign this

I'd love to work on this issue. You can assign this issue to me.

@ramyak-mehra can I work on this?

@Cybertron-Avneesh I'll be assigning the role to @desaihetav but u can also contribute in some form or other or check out other issues
Meanwhile if you guys haven't registered for hacktoberfest you can go here http://dsctiet.xyz/hacktoberfest
And register

Hi, I'm getting error due to missing google-services.json file. Can you help me with that? @ramyak-mehra

Hi, I'm getting error due to missing google-services.json file. Can you help me with that? @ramyak-mehra

you gotta add that file in the app folder.
make firebase project with com.dsctiet.mobileapp
You will find google-services.json file there

Okay I'll do it, and will I need to create a dummy database for the app to work properly?
And also in case you're concerned about revealing the private information of your app by uploading google-services.json, have a look at this article: https://medium.com/@cyb3rko/publish-the-google-services-json-file-of-an-android-app-project-or-not-1951fb555b26

Hi, I'm getting error due to missing google-services.json file. Can you help me with that? @ramyak-mehra

you gotta add that file in the app folder.
make firebase project with com.dsctiet.mobileapp
You will find google-services.json file there

Okay, I'll do that. And will I need to recreate a dummy database for the app to work properly?
Also, if you are concerned about revealing the private info of your app by uploading google-services.json, have a look at this article: https://medium.com/@cyb3rko/publish-the-google-services-json-file-of-an-android-app-project-or-not-1951fb555b26

Hi, I'm getting error due to missing google-services.json file. Can you help me with that? @ramyak-mehra

you gotta add that file in the app folder.
make firebase project with com.dsctiet.mobileapp
You will find google-services.json file there

Okay, I'll do that. And will I need to recreate a dummy database for the app to work properly?
Also, if you are concerned about revealing the private info of your app by uploading google-services.json, have a look at this article: https://medium.com/@cyb3rko/publish-the-google-services-json-file-of-an-android-app-project-or-not-1951fb555b26

I have seen both sides of the story ill contact lead and if possible will push the file to the repo so that everyone can use

Hi, I'm getting error due to missing google-services.json file. Can you help me with that? @ramyak-mehra

you gotta add that file in the app folder.
make firebase project with com.dsctiet.mobileapp
You will find google-services.json file there

Okay, I'll do that. And will I need to recreate a dummy database for the app to work properly?
Also, if you are concerned about revealing the private info of your app by uploading google-services.json, have a look at this article: https://medium.com/@cyb3rko/publish-the-google-services-json-file-of-an-android-app-project-or-not-1951fb555b26

I have seen both sides of the story ill contact lead and if possible will push the file to the repo so that everyone can use

Sure, that'd help everyone. For now I've started by creating a new project in firebase.

@desaihetav what's the status on profile page ?
I might have to complete it myself as we have a deadline ahead of us


[Build Transaction] Set Options operation

Set Options operation fully functional.

Preview is available here:http://laboratory-pr851.previews.kube001.services.stellar-ops.com/

Preview is available here:http://laboratory-pr851.previews.kube001.services.stellar-ops.com/


Hotfix Admin Server

path of index.html is invalid (path is relative to admin/server/server.js)
res.send signature is invalid (it tries to send the content as HTTP status code)

introduced by #367

@Vierlip it is your responsibility to apply (and test) suggestions


Fluent UI

Apply Windows Fluent design to the UI.
I've tried using https://wpfui.lepo.co/ which looked very promising but has issues in ListView with DataGrid not showing columns or column headers.
Here's how far I got before unable to workaround the issue with ListView headers.

This PR has been merged https://github.com/lepoco/wpfui/pull/979. Once there's a release with it we can look back into converting the UI over to this

The work needed to switch to WPFUI maybe better to switch to WinUI3 / WinAppSDK. It will be easier to get the thing msix packaged at the same time (#94). We no longer need to stay on WPF like previously to support Win7+ where WebView2 could run since WebView2 (and all of chromium) dropped support for Win7/8


Submit plan programmatically

Is it possible to submit a plan programmatically? We have a tool which can now generate the analyze output which we then copy/paste, but it would be nicer to have it send it to pev immediately.

As a workaround, what you can do is:

programmatically save your plan and query locally (say in /tmp/query.sql and /tmp/plan.json),
programmatically load pev in a browser
let your browser populate pev textareas with the local files and submit the plan (via a custom greasemonkey/tampermonkey userscript).

@AlexTatiyants I agree it would be awesome to submit the plans with a single command. Would be agreeable to provide an API endpoint to submit the plans to (in json format) on the hosted version?
I'd be happy to submit a PR to support this.

I'm not opposed to the idea. However, I need to clarify something. Pev is a web app. It has no backend and therefore cannot be POSTed to. To give it the plan, you would need to supply a query string parameter on a GET. And, I think there are limitations on how big the parameter can be.

Hi Alex, OK I didn't understand then whole thing is running in a browser without a backend. That's pretty awesome. Yes I think we would have problems with complex plans and GETs.
A simple Express backend would do it, but then it becomes a web app with requirements for hosting etc.


FileNotFoundError: [Errno 2] No such file or directory: ".../plugins/draw/drawings"

Installing from PyPi, using pip, results in the error above on first start.
In more detail:
❯ python -m wikmd.wiki
DrawIO integration
Alerts system
Mermaid integration
embed-pages
[2024-08-01 16:04:14,540] INFO in image_manager: Checking if webp is available for image optimization ...
1.4.0
libsharpyuv: 0.4.0
WebP Encoder version: 1.4.0
WebP Mux version: 1.4.0
[2024-08-01 16:04:14,555] INFO in wiki: Starting Wikmd with wiki directory /Users/brian/wikmd/wiki
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/Users/brian/.local/share/virtualenvs/wikmd-Uukyb1hV/lib/python3.12/site-packages/wikmd/wiki.py", line 578, in <module>
    run_wiki()
  File "/Users/brian/.local/share/virtualenvs/wikmd-Uukyb1hV/lib/python3.12/site-packages/wikmd/wiki.py", line 558, in run_wiki
    setup_wiki_template()
  File "/Users/brian/.local/share/virtualenvs/wikmd-Uukyb1hV/lib/python3.12/site-packages/wikmd/wiki.py", line 547, in setup_wiki_template
    plugin.post_setup()
  File "/Users/brian/.local/share/virtualenvs/wikmd-Uukyb1hV/lib/python3.12/site-packages/wikmd/plugins/draw/draw.py", line 34, in post_setup
    for item in os.listdir(os.path.join(self.this_location, "drawings")):
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/Users/brian/.local/share/virtualenvs/wikmd-Uukyb1hV/lib/python3.12/site-packages/wikmd/plugins/draw/drawings'
>

I'm running in a pipenv-created venv rather than using virtualenv, but I don't think that's the issue.
Adding an empty directory drawings to the .../plugins/draw/ directory solves the issue.
MacOS 14.5, Python 3.12.4

@marriotb I think this is bug thats fixed in 5b9f410. I'll create a new release for it! Thanks for the heads up

nvm, it's another issue...


Multiple select autocomplete

Currently, MaterializeCSS has text input autocomplete.
This issue requests a multiple select autocomplete widget. It should maintain a hidden multiple select field with options when new options are selected / removed.
Example, click "Autocomplete" on the left of: https://sharlaan.github.io/material-ui-superselectfield/
In addition to our regular donation, @YourLabs is willing to make a one-time donation of 1000$ for this component, plus another 1000$ for ajax support to fetch options from an API.

Hey @jpic,
Thanks for the continued sponsorship. This does seem like it would be helpful to have. We'll have to do some work to rework autocomplete so that it can handle both Dropdowns as well as multi selects.
What are you imagining for the Ajax support? Let me know what you think of the below:
A url option that takes either a url string or a function.
URL string  (One time ajax call to populate autocomplete data):
url: 'api/countries.json'

Function (A different response is received depending on the search phrase):
url: function(phrase) {
  return "api/countries?phrase=" + phrase;
},

This possibility works, but i think is just an implementation detail. Also, we can leverage OOP and consider that users could extend the autocomplete class if they want to change the default url generation method ? Honnestly I don't mind, let your creativity guide you :)
Anything will work for me really as long as it maintains a hidden select and looks material. Here's what my own past work looks like:

to make a text input autocomplete : https://github.com/yourlabs/jquery-autocomplete-light/blob/master/src/autocomplete.js
to maintain a hidden multiple select : https://github.com/yourlabs/jquery-autocomplete-light/blob/master/src/widget.js

It doesn't seem like Autocomplete should be concerned with data retrieval. It should provide useful hooks so that the developer can debounce or fetch data when needed.

Ok, we can do with a custom script on chips.
Thanks, keep up the great work !

Ok, we can do with a custom script on chips.
Thanks, keep up the great work !

Hi,
Do you mind to share the script (or the tips) to adapt the chips system with a multiple select ?
Thanks in advance !


adapt olm-registry-deploy.sh to new generate-operator-bundle-operatorhub script

adapt olm-registry-deploy.sh to new generate-operator-bundle-operatorhub script and clean it up a bit.
the first commit is #972
/cc @dgoodwin

/lgtm


Error: MongoError: "Connection failed: failed to lookup address information: No address associated with hostname"

I tried connecting to Mongo Atlas and I only get this error.
Error: MongoError: "Connection failed: failed to lookup address information: No address associated with hostname"
I tried to connect to Mongo on node and works flawlessly.

I give up trying to connect to Mongo Atlas, create a VM and NOW THIS ERROR
Uncaught (in promise) AssertionError
    throw new AssertionError(msg);
          ^
    at assert (https://deno.land/std@0.83.0/testing/asserts.ts:170:11)
    at WireProtocol.receive (https://deno.land/x/mongo@v0.23.1/src/protocol/protocol.ts:104:7)

### W H Y

Hello 🙂
I agree with you, I spent many times to trying to connect Mongo Atlas to my Deno project.
Check if your public IP address is available at Mongo Atlas.
The format string to connecting Mongo Atlas is :
connect("mongodb+srv://<USER>:<PASSWORD>@<ATLAS_CLUSTER>.mongodb.net/<DB_NAME>?authMechanism=SCRAM-SHA-1")

You can find address in your dashboard  on Mongo Atlas