Only one error is returned for address creation by user

What I'm trying to achieve
When I try to add new address during checkout only one error is returned to the user instead of all actual errors
Steps to reproduce the problem

I proceed to checkout on storefront.
I click on "Add new address"
I am filling wrong data inside phone and postalCode
After hitting "save" I see error under phone number field but postal code looks ok.
I fix phone number, hit save again and now error shows under postal code.

What I expected to happen
Both errors should be returned from backend at the same time inside one array. Now I receive array with only one item.
@maarcingebala has mentioned that this might be connected with the way how validations are fired on backend(this might be some clue why it is happening)
Screenshots
Response with phone and postal code being wrong for particular country:

Response after I fix the phone number:

GIF from storefront:

System information
Operating system: Mac OSX
Browser: Firefox

Also experiencing the issue in 3.2017


IVC: regression tests for the number of additional columns added by the reduction to degree 2

The tests pass, but it is only because the additional columns are not considered in the completeness tests for now. It will fail when we do use folding with it.

What you're testing is that quadriticization works "as expected" on a particular example (here, IVC)

No, It is a regression test to keep track of the number of columns added by quadri for the IVC circuit.


Update for the new Slack UI

Issue
The currently available codes no longer work with the Slack UI since the design change
The colour codes will need to be updated to use only four Hex Colour Codes instead of the previous ten

Unfortunately I'm terrible with colours and design and I can't seem to make this work no matter what I do ☹

The "Paste your legacy theme colours" option is not appearing for me :(

You can paste it to a chat, send it to yourself on slack, it will appear an Apply Slack Theme button.

Hey 👋,
You should be able to click on the "Paste your legacy theme colours" link and paste the 10 theme codes which should automatically map to the 4 colours. However, if that option has also been removed then I suppose we just need to give 4 colours directly
I have a feeling Slack is going to stop custom colours all together... at some point.


please make library available for xcode version 13.2.1

Hi,
My Macbook Pro from 2014 cannot be upgraded to OSX 12.. which leaves me stuck at XCode 13.2.1 and unable to install this package with the following error:
package at 'https://github.com/liveviewnative/liveview-client-swiftui' @ 3a67fcd5bd488aefa9e01eeb65aea8684360c6c6 is using Swift tools version 5.6.0 but the installed version is 5.5.0 in https://github.com/liveviewnative/liveview-client-swiftui

Sorry, we're moving to targeting iOS 16/Xcode 14 only soon, and earlier versions of Xcode/Swift won't be supported.

Ah.. I see.. so, your are relying on specific 5.6.0 release features of Swift tools.. and there is no setting to make your build of this library, that you'd like other people to use, backwards compatible to make it say, work with 5.x?

We’re not relying on new tooling features specifically, but we are using new SDK and language features.

@aikomastboom it was a design choice early on to lean towards the future. The nature of the the ios space appears to be pretty high for newer versions we we felt comfortable getting the benefit of new language and framework features rather than working around them in older versions. Apologies it means you're out of the loop on it but we've got to make a cut somewhere

thank you for taking the time to reply.
I rest my case, in pursuit of a new laptop.
FYI:
meanwhile I have attempted to install swift 5.6.3 as a toolchain in XCode 13.2.1.
In spite of telling XCode to use the 5.6.3 version of swift, it seems to keep thinking swift 5.5 is installed when it comes to resolving / building the App dependencies. (when I remove the liveview-client-swiftui dependency and revert ContentView.swift to its vanilla state the project builds fine utilizing the latest swift from https://www.swift.org/download/

Please keep up the good work.. this is a very interesting alley to approach for liveview development and adoption into more main stream projects :)


Updated License.

2015!

And it's completely useless legally.

And it's completely useless legally.

@vendethiel Could you please elaborate?

@vendethiel Could you please elaborate?

http://stackoverflow.com/questions/2390230/do-copyright-dates-need-to-be-updated
It's annoying to have all the projects notifications after the near year.

http://stackoverflow.com/questions/2390230/do-copyright-dates-need-to-be-updated
It's annoying to have all the projects notifications after the near year.


nearnames login flow leaves a few full access keys on the accoun

Problem
After using nearnames.com to claim the account and move it to a wallet, the wallet doesn't secure the account by removing the previous access key. If you look at the account social.near you can see there is 3 full-access keys right now, but I would prefer there were only one. There is no way to remove unnecessary access keys from the wallet UI.
A user doesn't know there are more access keys on their account.
Expected Behavior
Either be able to remove all other access keys and replace it with a new one. Or remove the old access keys when moving the account to a NEAR wallet using recovery.
Steps to reproduce

Get a claim link from nearnames.com
Claim the account
Recover this account in the wallet using the seed phrase from the nearnames.com
Secure the account in the wallet, by using Enable seed phrase option.
You now have 3 full access keys on the account. You can't see them in the UI.

Keys
near keys social.near
Keys for account social.near
[
  {
    public_key: 'ed25519:6bdxaKXCKpAvVWK1L4HeDLg4z4YXdANoZc6f8ERzHCXx',
    access_key: { nonce: 1, permission: 'FullAccess' }
  },
  {
    public_key: 'ed25519:Chq1MnjG3XTKYxcfekev8DE45YfW2f6gQtxBXcvyaWg5',
    access_key: { nonce: 0, permission: 'FullAccess' }
  },
  {
    public_key: 'ed25519:E9vncsJMBs9GjQ7Bm1KBKQ2wVNvHoRhiGGDenvXJ7Auy',
    access_key: { nonce: 1, permission: 'FullAccess' }
  },
  [length]: 3
]

Can it be done from nearnames application, using something like a batch transaction?

It's more general problem. The wallet UI doesn't display all full-access keys. It would be nice to identify the main key that the wallet uses and other keys, that the wallet UI doesn't know about.

We hide the Full Access Keys page from Wallet UI, there is no link to it. The best way to solve it would be to remove unused access keys while moving to Wallet, like proposed.

Also part of the #1584 effort to improve wallet keys management

@mattlockyer do you know if this one is still valid?

@jimmy3dita when you come from nearnames you have seed phrase, you can log into wallet but you see no recovery options. Typically user adds another recovery option at this point.
Not the end of the world if user has 1 more full access key and thus 1 more backup option beyond the wallet.
Not sure how wallet team wants to handle this.
It should look at recovery options, see that user has this full access key that is NOT a recovery option and communicate accordingly like in the ledger situation.
"It appears you have full access keys that are not official NEAR Wallet recovery methods. Did you use another method to create your wallet such as "nearnames.com"? Click here to remove these keys -> BUTTON."

If I understand it right, the private key generated by nearnames is shared in plain text, and the receiver has no control over its secure transmission (e.g. via Whatsapp, SMS or email - via copy/paste). I was able to clean-up by using Ledger, as it deleted the seed and all previous keys.
Ideally, the user should go through a similar "cleanup" process that removes this potentially compromised key, introducing a new one they generated on a trusted system.
This may benefit from a "key rotation feature" for the wallet, which might do as you propose: check if there are full-access keys that are not recognized as recovery keys, and suggest the user replace some keys and secure the funds again.
@vgrichina @Patrick1904 how you guys feel about this solution?


Fix Kafka dependency for development docke-compose

What changed?
Fix Kafka dependency for development docke-compose

Why?
For https://github.com/uber/cadence/issues/4409

How did you test it?
Local test
qlong@~/cadence:
(master) $cadence --do samples-doain wf start --tl test --wt a --et 100
Started Workflow Id: d2ce2211-9806-4f3c-8e47-fdf81b5039f0, run Id: 113c6391-3fa8-4375-b6a2-619d3e9562dc
qlong@~/cadence:
(master) $cadence --do samples-doain wf list
  WORKFLOW TYPE | WORKFLOW ID | RUN ID | TASK LIST | START TIME | EXECUTION TIME | END TIME
qlong@~/cadence:
(master) $cadence --do samples-doain wf list --op
  WORKFLOW TYPE |             WORKFLOW ID              |                RUN ID                | TASK LIST | START TIME | EXECUTION TIME
  a             | d2ce2211-9806-4f3c-8e47-fdf81b5039f0 | 113c6391-3fa8-4375-b6a2-619d3e9562dc | test      | 17:05:27   | 17:05:27

Potential risks

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build e9ebd858-3be4-4dce-97d3-b7ed1e8dd0b9

0 of 0   changed or added relevant lines in 0 files are covered.
73 unchanged lines in 11 files lost coverage.
Overall coverage decreased (-0.04%) to 56.483%

Files with Coverage Reduction
New Missed Lines
%

common/membership/rpServiceResolver.go
2
73.58%

common/persistence/executionManager.go
2
75.75%

common/persistence/statsComputer.go
2
96.43%

common/task/weightedRoundRobinTaskScheduler.go
2
88.6%

common/types/mapper/thrift/shared.go
2
64.98%

service/history/execution/mutable_state_builder.go
2
69.86%

service/history/task/transfer_standby_task_executor.go
4
90.4%

service/history/queue/timer_queue_processor_base.go
5
78.56%

service/history/shard/context.go
9
66.02%

common/persistence/nosql/nosqlExecutionStore.go
20
57.52%

Totals

Change from base Build be38e17d-3652-4adf-8e0a-64e1b7038a2f:
-0.04%

Covered Lines:
78947

Relevant Lines:
139771

💛  - Coveralls


Meta data off-by-one for version in Setting History

Place marker to track down this bug.

@brick-green

@jimduff-usds


use our own copy of typeface lib that went down

I was going about my semi-annual ritual of pridefully spinning a coin on mobile and noticed things were broken.
This seems to fix it.

p.s. I went ahead and deployed this branch to Heroku

Awesome! I hope you r doing well in Chicago!
On Sun, Oct 2, 2016, 10:40 PM Parker Lawrence<EMAIL_ADDRESS>wrote:

p.s. I went ahead and deployed this branch to Heroku
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cruble/karmency/pull/13#issuecomment-251015815, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA36SKww8Eb333odi9apBm8Ja8a5UlVkks5qwGsNgaJpZM4KMMj7
.


Update package.json

fixed npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.  display

Thanks!


ARROW-7927: [C++] Fix 'cpu_info.cc' compilation warning.

On some aarch64 platform, '_SC_LEVEL1_DCACHE_SIZE' would be defined
but sysconf(_SC_LEVEL1_DCACHE_SIZE) doesn't work, always return 0;

@guyuqi I'm rebasing this PR to pick up the fix for https://issues.apache.org/jira/browse/ARROW-8106

@bkietz @guyuqi Is there anything left to do here?


Logitech Wrapper patch depends on LGS to be installed

I spent hours trying to get Aurora 0.7.9/0.8.1 to run correctly, to get the Logitech Device Manager to connect and installing the Aurora Wrapper Patch. Of course, without LGS installed, the patch fails because the path and .dll do not exist. As well, the integration of Aurora with GHUB also fails to add Aurora to the integration list of apps.
Now, I installed LGS, and magically, all this stuff started working again. The Logitech Device Manager connects, the Aurora Wrapper Patch works and the integration of Aurora with GHUB works.
So, it appears that the author has adapted Aurora to run with GHUB, but because GHUB is missing it's own SDK, it does not work that well. I suggest rewriting the code for updating the LGS SDK LED Patch (Aurora Wrapper Patch) to do it's magic on the GHUB "sdk_legacy_sdk_led_x64.dll" and it's x86 version instead of trying to patch a non-existent .dll which does not exist unless you have LGS installed. Why the Logitech Device Manager connects with LGS installed, I have no clue. Why it is intermittent at best with GHUB is unknown.
I think the Aurora application needs some serious code updating to work with GHUB and leave it's dependence on LGS behind. I thank the author for providing this excellent software for LGS when this was the only thing available from Logitech, but now that GHUB supersedes it, it's time to update Aurora to work well with GHUB.
I think most of the existing bugs are due to Aurora's continued dependence on LGS.
Thanks

I would even prefer if aurora would have its own driver for logitech hardware so we can completely ignore that GHIB bs alltogether. It just adds unnessecary overhead

This is incorrect. The wrapper patch is not needed at all for Aurora to communicate with logitech devices. All the patch does is redirect lighting from games that target Logitech's LIGHTSYNC SDK to aurora so that it can be used with other devices. For example, you can get Battlefield 1's lighting on razer and corsair devices.
When it comes to devices, Aurora can't use the traditional, Logitech-suggested method of using their LogitechLedEnginesWrapper.dll (which, as far as I can tell, only redirects the calls made to it to either the GHUB dll or the LGS one). This is because Aurora 'exploits' this dependency, bypassing the need to call this dll, opting instead to call the GHUB / LGS dll's directly.
This has the advantage of being able to redirect calls to LogitechLedEnginesWrapper.dll to Aurora's custom wrapper dll instead.
I do think the current approach of this wrapper is not ideal for two reasons:

It's not obvious to the end user what the wrapper is and what it does. This should be clarified in the UI. Should also maybe be hidden behind an 'Advanced' menu because of point #2.
This patch makes all apps that interact with Logitech's SDK stop working if aurora isn't running / installed. This happens because the dll aurora uses does not handle sending the lighting to LGS / GHUB if it doesn;t detect aurora.

I see two main  ways of solving this:
Aurora can keep its own dll, with a more descriptive name such as AuroraLogitechWrapper.dll or something similar, in its own folder.
Then:

Aurora can either have buttons to patch / unpatch the registry path that tells LogitechLedEnginesWrapper.dll  what dll to use (could have 3 buttons: 'Restore GHUB', 'Restore LGS', 'Apply Patch')
Or Aurora can patch its own directory when it opens, restoring it to what it was when it closes. This has the advantage of keeping both the wrapper behaviour and restoring the original functionality when aurora closes. It also has the disadvantage of leaving loose ends if aurora closes unexpectedly and is prone to more error.

I would like feedback on this.

I'm very confused by your statements here, but I will defer to your estimation as you are the developer.
You state in the first sentence, that "The wrapper patch is not needed at all for Aurora to communicate with logitech devices. All the patch does is redirect lighting from games that target Logitech's LIGHTSYNC SDK to aurora so that it can be used with other devices."
Then you go on to state "the wrapper this, and the wrapper that". So either your speaking about two different versions of this "wrapper" or the one used by LGS IS NEEDED.
As I stated, it appears Aurora was written specifically for LGS because it contained an SDK for which Logitech encouraged developers like yourself to build applications, which you did. (Thank You, it is an excellent piece of software).
Then Logitech changed to GHUB, which did not contain an SDK, and converted the .dlls used by LGS to "legacy SDK .dlls" and the GHUB directory contains these legacy .dlls for ARX, Steeringwheel, LED, ect., for which Aurora does not seem to use or depend on.
All I can say is that I installed Aurora without LGS,, and it's device manager does not connect for me. Nor does the wrapper patch work (needed or not, obsolete) which confuses folks.
In conclusion, I have Aurora working now with LGS installed, even though I don't use it or allow it to run at startup.
All I am saying is that Aurora was originally built for LGS and worked great. Then Logitech changed to GHUB, and Aurora was (for the lack of a better term) hacked to work with GHUB, but without it's own SDK, there are limitations to what you can do with GHUB, given Logitech's reluctance to give developers access to the low level drivers and how to interface with them now.
So, Aurora is a nice piece of software and I enjoy it, but due to it's shortcomings with GHUB, it's hard to get it to work without LGS and some dependency.
Not the feedback you wanted, but as a developer myself, having worked at M$ for ten years, I often had to make third party software purchased by M$ and not built to use current drivers and software, work for the masses. It was often a hack. Until M$ allowed the rebuilding of the software from the ground up, users often were left with constantly patched software with workarounds.

I'll try and clarify what Aurora does to support both LGS and GHUB.
As i said above, Aurora ships with 2 different dll's, one for each program:
https://github.com/antonpup/Aurora/tree/master/Project-Aurora/Project-Aurora/Logi
The Dll contained within the GHUB folder in the above directory is simply the sdk_legacy_sdk_led_x64.dll you mentioned above, but renamed.
Aurora tries to 'guess' which of the two programs you're using by scanning for the existance of the GHUB install folder.
If it finds, it, it will use the GHUB dll. If it doesn't, it uses the LGS one. After this check, everything should work correctly. I've used Aurora exclusively with G HUB installed without any issues (i did install LGS again because it tends to be more stable in my setup, but that's beside the point).
You can also override this behaviour in Aurora's Device Manager (click the 'View Options' button in the Logitch row).
The most common issue users usually have with GHUB support is GHUB's slow startup time. By default, on my system and various others, if both Aurora and GHUB are set to open on startup, Aurora opens before GHUB has a chance to completely initialize. This can be 'fixed' (read: worked around...) by adding a delay to Aurora's startup, so that it only tries to initialize once GHUB is ready for it. This can be done manually in the Windows Task Scheduler or through the General Settings in Aurora.
I decided to expand on the 'wrapper' portion of the issue more than i did on the Logitech device connection one above because it seemed relevant, sorry about that. I hope my answer clarifies things.

Three notes.

I uninstall LGS and the Aurora Device Manager Logitech Driver will not stay connected no matter what I do. Without LGS, the Logitech Driver starts briefly then stops, but will not stay connected. With LGS installed, The Logitech Driver stays connected without fail.

Every time GHUB updates, I loose the integration with Aurora.exe with no way to get it back or install it again. I don't know how Aurora.exe gets installed into GHUB's integration menu, but once it's gone, the only way to get it back is to install LGS and Aurora from scratch. Once Aurora. exe is integrated into GHUB, things work.

I uninstalled GHUB and used Aurora with LGS only as a test. Things worked great. I think this proves a dependency on LGS and that it was written for LGS. I would say that Aurora is not compatable with GHUB, and trying to make it work with GHUB is more hassle than it's worth.

GHUB seems to cause problems for Aurora. Aurora was written for LGS and uses it's SDK driver.
What is needed is a suitable driver written specifically for GHUB, but without an SDK for GHUB and Logitech opting not to provide developers with any interface to GHUB's drivers, your left with trying to come up with a work-around.

That clarifies things abit. Thanks. There must be a way to move the LGS DLL to GHUB and use it exclusively?
Yes, I have run into the conflict between Aurora and GHUB startup and have added a delay in Aurora to prevent that.
I fail to see why one would want to override the DLL when both are there, you can either override the LGS DLL or the GHUB DLL, but why?
I downloaded the source code for the project and was looking at the code. In my case, for whatever reason, Aurora finds the LGS.DLL before it finds the GHUB.DLL and with LGS uninstalled, it seems not to use the GHUB.DLL and this causes it not to connect. I was going to rename and move some DLL's around, but decided to look at the GHUB Logitech SDK instead.
It looks like Logitech offered an SDK for LGS and had everything in one SDK package. But for GHUB,, they have broken everything into five SDK packages. The one that interest me was the LED Illumination SDK which includes some new DLL's.
I have not looked at them yet, as my machine does not have a build environment or IDE on it and I have to download and configure my machine to build in Windows. Right now I have a build environment on Linux and Python for anther project, but as soon as I get some time, I will examine the GHUB SDK's DLL package and see what I can do to make Aurora more compatible and friendly with GHUB.
Again, you seem to contradict yourself when you say: "I've used Aurora exclusively with G HUB installed without any issues (i did install LGS again because it tends to be more stable in my setup, but that's beside the point.
You state Aurora will run with no problems with GHUB, yet you have LGS installed because it's more stable. I think that is exactly my point. LGS is more stable than using GHUB alone, and therefore, in lies Aurora's dependence for stability.


[tira-application] error while calling create discourse group endpoint

Current behavior
ERROR 2022-05-03 19:41:42,844 log: Internal Server Error: /tira-admin/create-group/ortega22
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "/usr/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/tira/application/src/./tira/checks.py", line 85, in func_wrapper
return func(request, *args, **kwargs)
File "/tira/application/src/./tira/checks.py", line 180, in func_wrapper
return func(request, *args, **kwargs)
File "/tira/application/src/./tira/endpoints/admin_api.py", line 286, in admin_create_group
message = auth.create_group(vm)
File "/tira/application/src/./tira/authentication.py", line 304, in create_group
vm_group = self._create_discourse_group(vm)
File "/tira/application/src/./tira/authentication.py", line 286, in _create_discourse_group
return json.loads(ret.text)['basic_group']['id']
KeyError: 'basic_group'
ERROR 2022-05-03 19:41:42,889 data: Could not find VM file for vm_id vesely15
Traceback (most recent call last):
File "/tira/application/src/./tira/data/data.py", line 73, in _parse_vm_list
vm = Parse(open(vm_dir_path / f"{user.userName}.prototext").read(), modelpb.VirtualMachine())
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/ceph/tira/model/virtual-machines/vesely15.prototext'
[pid: 106|app: 0|req: 2881/25431] <IP_ADDRESS> () {46 vars in 1955 bytes} [Tue May  3 19:41:42 2022] GET /tira-admin/create-group/ortega22 => generated 85550 bytes in 208 msecs (HTTP/1.1 500) 7 headers in 227 bytes (2 switches on core 0)
Expected behavior

You sure the lower part belogs to that issue?
ERROR 2022-05-03 19:41:42,889 data: Could not find VM file for vm_id vesely15
Traceback (most recent call last):
File "/tira/application/src/./tira/data/data.py", line 73, in _parse_vm_list
vm = Parse(open(vm_dir_path / f"{user.userName}.prototext").read(), modelpb.VirtualMachine())
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/ceph/tira/model/virtual-machines/vesely15.prototext'
[pid: 106|app: 0|req: 2881/25431] <IP_ADDRESS> () {46 vars in 1955 bytes} [Tue May 3 19:41:42 2022] GET /tira-admin/create-group/ortega22 => generated 85550 bytes in 208 msecs (HTTP/1.1 500) 7 headers in 227 bytes (2 switches on core 0)

@BastianGrahm this is the call made to discourse. Can you check that out?
ret = requests.post("https://www.tira.io/admin/groups",
                            headers={"Api-Key": self._discourse_api_key(), "Accept": "application/json",
                                     "Content-Type": "multipart/form-data"},
                            data={"group[name]": f"tira_vm_{vm['vm_id']}", "group[visibility_level]": 2,
                                  "group[members_visibility_level]": 2, "group[bio_raw]": group_bio}
                            )

        return json.loads(ret.text)['basic_group']['id']```

I tested this. This code works and does what it intents but if the group is already existent we get a different answer back
{"errors":["Name has already been taken"]}

and then the error is thrown obviously.

I think it would be the best when it just works when the account is already created?
So it continues to create the invite link and the rest of the massage that is shown in the client when the response is {"errors":["Name has already been taken"]}.
(Because otherwise it gets sometimes complicated to create a new invite)

You sure the lower part belogs to that issue?
ERROR 2022-05-03 19:41:42,889 data: Could not find VM file for vm_id vesely15
Traceback (most recent call last):
File "/tira/application/src/./tira/data/data.py", line 73, in _parse_vm_list
vm = Parse(open(vm_dir_path / f"{user.userName}.prototext").read(), modelpb.VirtualMachine())
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/ceph/tira/model/virtual-machines/vesely15.prototext'
[pid: 106|app: 0|req: 2881/25431] <IP_ADDRESS> () {46 vars in 1955 bytes} [Tue May 3 19:41:42 2022] GET /tira-admin/create-group/ortega22 => generated 85550 bytes in 208 msecs (HTTP/1.1 500) 7 headers in 227 bytes (2 switches on core 0)

No, not actually.

We'll do Maik's way, this should fix it:
https://github.com/tira-io/tira/commit/a7b161078642059ee1bdfc7afd61e50664eb15ef

Has someone tested if this is fixed in live? @kaaage perhaps?

But this is not a problem with the endpoint I think.
The last time I tested it, the response was a 200 and I could extract the invite link etc. from the network tab of the developer tools.


readme: fix tilde character display

Harmonizes references to the project version (3.9.1)
Fixes display of ~ character in GitHub in compiler table (it used to look like this: ...1~exp~1... instead of ...1~exp~1...)

Coverage remained the same at 100.0% when pulling 7dda51b6c5e7f7c3fee4ce3051f1230bd8603567 on bl-ue:patch-1 into 14be8c69fea01db6d225ebefdffc14b184cac297 on nlohmann:develop.

Coverage remained the same at 100.0% when pulling 7dda51b6c5e7f7c3fee4ce3051f1230bd8603567 on bl-ue:patch-1 into 14be8c69fea01db6d225ebefdffc14b184cac297 on nlohmann:develop.

I'm not a maintainer, but here is my IMO. This PR should be divided into "readme: harmonize versions" and "readme: fix ~ char display".
While ~ display fix is a really useful fix, version harmonization is discussible.
Nobody wants to maintain this manual version harmonization, so version numbers in readme will be outdated immediately after another release. I think, that all such mentions should be universal one like merely add `nlohmann_json/x.y.z` to your `conanfile`'s requires, where `x.y.z` is the release version you want to use. or makefile should contain some new step for updating version in the readme.md (using md commentary as a mark?). Otherwise, I fear it's useless work.

I'm not a maintainer, but here is my IMO. This PR should be divided into "readme: harmonize versions" and "readme: fix ~ char display".
While ~ display fix is a really useful fix, version harmonization is discussible.
Nobody wants to maintain this manual version harmonization, so version numbers in readme will be outdated immediately after another release. I think, that all such mentions should be universal one like merely add `nlohmann_json/x.y.z` to your `conanfile`'s requires, where `x.y.z` is the release version you want to use. or makefile should contain some new step for updating version in the readme.md (using md commentary as a mark?). Otherwise, I fear it's useless work.

Okay @YarikTH.  I though that @nlohmann could update versions in the README just the same way he does in the rest of the project although I haven't actually checked to if it's automated or not (just a global find/replace?)

Okay @YarikTH.  I though that @nlohmann could update versions in the README just the same way he does in the rest of the project although I haven't actually checked to if it's automated or not (just a global find/replace?)

I thought that @nlohmann could update versions in the README just the same way he does in the rest of the project although I haven't actually checked to if it's automated or not (just a global find/replace?)

I have no idea, but the fact, that version numbers in readme are outdated, means that there is either no such automatization step, or it is not executed for a very long time. So maybe it's time to invent one and integrate into the release process.

I thought that @nlohmann could update versions in the README just the same way he does in the rest of the project although I haven't actually checked to if it's automated or not (just a global find/replace?)

I have no idea, but the fact, that version numbers in readme are outdated, means that there is either no such automatization step, or it is not executed for a very long time. So maybe it's time to invent one and integrate into the release process.

Good idea.  I'll do some research and report back.

Good idea.  I'll do some research and report back.

@nlohmann is the version updated as in commit https://github.com/nlohmann/json/commit/b3e5cb7f20dcc5c806e418df34324eca60d17d4e through automation of any sort?

@nlohmann is the version updated as in commit https://github.com/nlohmann/json/commit/b3e5cb7f20dcc5c806e418df34324eca60d17d4e through automation of any sort?

just a global find/replace?

It's a terrible idea.
Because at least readme contains a lot of version numbers of another software. For e.g. clang
Clang 3.5.0 (3.5.0-4ubuntu2~trusty2) | Ubuntu 14.04.5 LTS | Travis
Clang 3.6.2 (3.6.2-svn240577-1~exp1) | Ubuntu 14.04.5 LTS | Travis
Clang 3.7.1 (3.7.1-svn253571-1~exp1) | Ubuntu 14.04.5 LTS | Travis
Clang 3.8.0 (3.8.0-2ubuntu3~trusty5) | Ubuntu 14.04.5 LTS | Travis
Clang 3.9.1 (3.9.1-4ubuntu3~14.04.3) | Ubuntu 14.04.5 LTS | Travis
Clang 4.0.1 (4.0.1-svn305264-1~exp1) | Ubuntu 14.04.5 LTS | Travis

There is even a full match with the current release version. So all the versions of all the mentioned software would become "the same release as nlohmann/json. Like a rolling snowball.

just a global find/replace?

It's a terrible idea.
Because at least readme contains a lot of version numbers of another software. For e.g. clang
Clang 3.5.0 (3.5.0-4ubuntu2~trusty2) | Ubuntu 14.04.5 LTS | Travis
Clang 3.6.2 (3.6.2-svn240577-1~exp1) | Ubuntu 14.04.5 LTS | Travis
Clang 3.7.1 (3.7.1-svn253571-1~exp1) | Ubuntu 14.04.5 LTS | Travis
Clang 3.8.0 (3.8.0-2ubuntu3~trusty5) | Ubuntu 14.04.5 LTS | Travis
Clang 3.9.1 (3.9.1-4ubuntu3~14.04.3) | Ubuntu 14.04.5 LTS | Travis
Clang 4.0.1 (4.0.1-svn305264-1~exp1) | Ubuntu 14.04.5 LTS | Travis

There is even a full match with the current release version. So all the versions of all the mentioned software would become "the same release as nlohmann/json. Like a rolling snowball.

That wouldn't be good, but then, how does he do it currently? 🤔

That wouldn't be good, but then, how does he do it currently? 🤔

Version numbers are updated in a script I run when I prepare a release. The version numbers of the README file are usually not part of it. The versions for the package managers are just examples - I am not a maintainer for those and I'm not willing to check regularly which version is available where.
So I concur with https://github.com/nlohmann/json/pull/2582#issuecomment-758860381 and would like to see a PR handling the tildes, but rather not touch the version numbers in the README file.

Version numbers are updated in a script I run when I prepare a release. The version numbers of the README file are usually not part of it. The versions for the package managers are just examples - I am not a maintainer for those and I'm not willing to check regularly which version is available where.
So I concur with https://github.com/nlohmann/json/pull/2582#issuecomment-758860381 and would like to see a PR handling the tildes, but rather not touch the version numbers in the README file.

Thanks!

Thanks!


Flag terminator

Changes made:

Added Type() to the tests.
removed parseLongArgs and parseShortArgs functions and replaced them with the parseArgs function from  ogier/pflag
Changed test case to make it pass with the new function that was added above.

This is in response to the issue : https://github.com/spf13/cobra/issues/17.
Thanks!

We ended up going with #5 which fixes the issue of --. If you still want some of the other changes of this commit, please rebase it to head, update it here and ask me to take a look, I'll be happy to.

Thanks for keeping my informed.


Tabs supported ?

Is the Tabs component fully supported ( out of the box - pure css )?
In fact , it does not even appear on the sidebar menu in the docs website , and even in the repo readme it is not mentioned .
The reason that I ask, is that , in face , it is not working for me ( Tested Chrome ,Firefox , Vivaldi ).
At any case, if it is fully supported , need to update the docs ?

@x9t9 It is not pure CSS Tabs component, only the style code right now. Tabs, Breadcrumbs, Pagination are all included in Navigation.

@picturepan2 - thanks . So One should handle the tabs ( css , JS ) by oneself , right ?
Great job BTW on spectre ..

@x9t9 Yes. Or you can use input radio pure CSS trick. Demo here: https://plnkr.co/edit/z45r86J0VfpWMhII5CKu?p=preview .

I think it would be good idea to have in built-in.

Is there any progress on this in new releases ?

Pure CSS tabs are implemented in my fork: https://niutech.github.io/spectre/components/tabs.html


Extract external code with more informations

Extract math.sqrt(16) as math.sqrt and not sqrt, to get more readable diagrams.

Built in functions like print are now not part of the model anymore.
When the fully name is called, sometimes the name contains the variable like self, .. This may be improved later.


Can't dump Final Fantasy IX

Version
20230606
Describe the bug
I'm following this guide
http://wiki.redump.org/index.php?title=CD_Dumping_Guide_(DIC_CLI)
to dump Final Fantasy IX discs. After typing the command the program stops and no dump is created.
Screenshots
DiscImageCreator.exe cd e MyGameTitle.bin 8 /c2 /nl

What drive you use?

SDRW-08D2S-U
I dumped the disc with RetroArch and it works fine so there's nothing wrong with it (it's also in good condition).

Unfortunately, your drive can't support when CD is dumped. (See README.md)

Kind of weird to make your tool work only with hard to get drives made two decades ago...

Because all CD/DVD ripping programs use BE opcode for ripping which often fails (if a disc has mastering errors, the drive reading the disc in BE will fix these errors and align the data sectors, which makes it difficult to detect the correct write shift) , and adding to this the fact that when reading a disc in BE, it is impossible to read sectors on the border of the data/audio track, then it is even harder to detect the correct write offset, and it is important to determine the correct write offset for discs with data and audio tracks because it serves It is used to properly shift the audio tracks so that you can perfectly dump the disc so that all tracks are properly aligned
So this program is not written strictly for specific drive models, it just requires a drive that can read CDs in such a way that data sectors are seen as audio sectors (this is enabled by D8 and BE_CDDA opcodes). There is also a way to cheat the drive and replace it with an Audio CD with a data CD in such a way that the drive does not realize that there has been a substitution and then it sees the data CD as an Audio CD, thanks to which it is able to dump it in scrambled mode (the DIC wiki mentions this method as well as the redump wiki https://github.com/saramibreak/DiscImageCreator/wiki http://wiki.redump.org/index.php?title=DiscImageCreator_Swap_Disc_Dumping_Guide)

Yeah, but the problem is the drives listed in the readme are ancient and impossible to get (at least in my country) without resorting to Ebay which more or less doubles their cost. What will happen in a decade or two when all of those drives will no longer work? Are there really no modern alternatives?

They don't have to be strictly Plextors, they can be Asus BW-16D1HT drives or selected LG drives that I suspect are still available on ebay (maybe even still produced?), CRX880A used to work for me (and in general some NEC drives supposedly work in DIC), they are probably still available on ebay. As for other alternatives, as I mentioned, you can use the disc swap technique I mentioned above
There are no easier ways because we do not have access to the firmware of the drives, so we are not able to change them to be compatible with DIC

There are no easier ways because we do not have access to the firmware of the drives, so we are not able to change them to be compatible with DIC

Yes, but what I'm asking is -  are there no modern easily available drives compatible with DIC?

BW-16D1HT from Asus is this modern drive. In addition, the LG drives listed in the list of compatible drives are also modern
http://wiki.redump.org/index.php?title=Optical_Disc_Drive_Compatibility

Thanks!
I also want to say that I dumped FFIX with IsoBuster and the resulting images have the same checksums as the Redump database so clearly DiscImageCreator could have dumped it too...

IsoBuster also uses the BE opcode for CD/DVD ripping. In general, if you really want to rip it to DIC then you can use the data command instead of cd, then you will also rip the disc in DIC, but if you want to rip the disc and add it to redump.org (or add its verification) then you must either have a compatible drive from the DIC (in this case, one that rips the disc in scrambled mode) or use the disc swap technique so that the drive can rip it in scrambled mode

Is BH16NS55 a decent choice to get a proper dump?

Probably yes, but if you could test it and see how it dumps CDs in DIC that would be great

SCM is needed to verify the descrambled image by re-scrambling it. The SCM file is also proof of the authenticity of the data on the disc. As for IMG, the IMG checksum is needed to compare it with the hashes calculated by the website + needed for quick db-vs-log verification
Well, we need all the logs to check it. L-EC uncorrectable error indicates problems with reading one of the sectors, although the drive could read it without problems, and LOGICAL BLOCK ADDRESS OUT OF RANGE often appears on LG/ASUS drives because they do not read the lead-out. There is firmware for drives based on MT1959 that allows you to read the lead-out, although if you obtained identical shortcuts as those available on redump.org, there is probably no reason to worry

Thanks for your time!
I dumped all 4 CDs, they all match Redump hashes. I'm attaching all logs in case you find them useful.
FFIX - Disc 1 [SLUS 01295GH] [Arth]_logs.zip
FFIX - Disc 2 [SLUS 01295GH] [Arth]_logs.zip
FFIX - Disc 3 [SLUS 01295GH] [Arth]_logs.zip
FFIX - Disc 4 [SLUS 01295GH] [Arth]_logs.zip

@Arthandas

I dumped all 4 CDs, they all match Redump hashes.

Thanks logs. They are no problem.
@MrPepka
Thank you for your explanation. ;)

I've been dumping other games and everything was going smoothly until I tried to dump Discworld II. DIC just stops right after starting. I don't want to create another topic (should I?), so I'll post the logs here:
Discworld II logs.zip

Checking reading lead-out -> This drive can't read the lead-out

Unfortunately, your firmware of the drive (BD-RE  BH16NS55  1.05) can't read the lead-out.
According to the wiki, 1.00 or 1.01 or 1.02 is needed.
http://wiki.redump.org/index.php?title=DiscImageCreator:_Optical_Disc_Drive_Compatibility#Non-Plextor_ODDs_.28Plextors_are_preferable.2C_as_more_testing_is_needed_for_these.29
Please try to downgrade. http://wiki.redump.org/index.php?title=Flashing_with_Asus_BW-16D1HT_3.02_firmware

Downgrade to 1.02 or flash with Asus BW-16D1HT 3.02?
The guide says:
"LG (HL-DT-ST) BH16NS55 (SVC CODE: NS55) with firmware 1.00(?) --> 1.04:"
I have 1.05 so is even flashing with BW-16D1HT 3.02 possible?

I'm not sure because I don't have BH16NS55 1.05. Anyway, downgrades must be done at your own risk.

Great, I got this drive exactly to avoid problems like that....

It seems BH16NS55_1.02 can read the lead-out. (#227)

For drives 0xF1 you need to use the /mr command

I flashed to BW-16D1HT_3.10_MK - doesn't work
I downgraded to 1.02 - works only after adding /mr
Should I use /mr for all dumps? I'm using MPF, I don't understand why it's not setting this flag by default but I now enabled it in the options.

I don't understand why it's not setting this flag by default but I now enabled it in the options.

If write offset is minus like Final Fantasy IX, /mr doesn't need.

I don't understand why it's not setting this flag by default but I now enabled it in the options.

If write offset is minus like Final Fantasy IX, /mr doesn't need.

But it wont hurt if I enable it globally?


Add named parameters support and initial context support

@cznic all done, have a look when you have a chance

done


Write a guide for running Istio Pilot/Ingress only using helm

Write a guide for the case where user want to adopt Istio for pilot only via helm.
How to set it up and what features users can use with it
As discussed in this thread.

/assign

Detected Issues
Citadel Always Included
When disabling all components but ingress, ingressgateway and pilot the following 4 pods are being installed:
NAME                                    READY     STATUS    RESTARTS   AGE
istio-citadel-64c9df88bc-wm5sw          1/1       Running   0          3m
istio-ingress-5d6896cdb5-l4nwf          1/1       Running   0          3m
istio-ingressgateway-7595bdb4bf-t8g55   1/1       Running   0          3m
istio-pilot-7ff65fbb95-d2wfg            2/2       Running   0          3m

istio-citadel is being installed because there is no toggle flag to disable its creation by helm.
PR #5675 is intended to allow this toggling.
Proxy Crash
Both ingress and ingressgateway fail to start with an error:
[2018-05-21 07:32:02.226][47][critical][main] external/envoy/source/server/server.cc:75] error initializing configuration '/etc/istio/proxy/envoy-rev0.json': malformed IP address: istio-statsd-prom-bridge

The reason is that the proxy is being provided with an arg --statsdUdpAddress=istio-statsd-prom-bridge:9125.
Removing this argument will keep proxy running.
Possible solutions:

Modify proxy to avoid crash
Update helm template to add the argument only if mixer is enabled. This is a little tricky because ingress chart can't access enabled flag of the mixer chart
Ask the users to remove those args in the generated YAML

/cc @linsun @mandarjog @rshriram

Section added


How to get scopes defined for a user after the user is logged in?

I've been trying to get the answer myself looking at the source but failed.
Basically, the question is here - https://stackoverflow.com/q/59651353/2896495.
Sorry for posting it here but I'm stuck with all this Azure AD B2C authentication.

@alvipeo Can you clarify the problem you are trying to solve with this mapping? Scopes are linked to specific resources (e.g. reading information about the user from Microsoft Graph requires the user.read scope), so when your application makes a request to a resource, you should request a token with the scopes needed for that resource, regardless of the user.
If the question you want to answer is "has this user consented to this scope?", you can find out by requesting a token with that scope, and if the user has not consent, the library will return an interaction_required error, at which point you can invoke one of the interactive methods to prompt the user to provide that consent.

My understanding is if I have extensive API and I need to "slice" permissions for parts of that API, I use scopes. So if Part1 of my api expects "Part1.scope" permissions from a user then the user must have this "Part1.scope" assigned (in Azure AD). Just like with Graph API. Is this correct?
If it is, then when a user is authenticated and the web app gets AuthResponse, the response does have the scopes for that user. So I can use those scopes as defined permissions (and change UI accordingly). Now, when web app user needs to issue a request to the backend (web API) that expects to have "Part1.scope" assigned to this user, web app should request the token with the required scope "Part1.scope". Then the backend should validate this token, correct?
Keeping the list of scopes in a web app is just a way of evaluating his role (by looking at the set of scopes returned with AuthResponse).

@alvipeo It sounds like you should be using roles (which are per-user), instead of scopes (which are per-resource). You can find out which roles are assigned to a user with the checkMemberObjects API in Microsoft Graph.
More info about roles can be found here: https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/directory-assign-admin-roles

Oh, I got it. So when I define scope for my web API app, and this scope is defined for the client web app this means that the client app has permission to the web API app according to defined scope. Is that right?

Actually, I'm confused again - https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-access-tokens#scopes.

Scopes are used by the web API to implement scope-based access control. For example, users of the web API could have both read and write access, or users of the web API might have only read access. To acquire multiple permissions in the same request, you can add multiple entries in the single scope parameter of the request, separated by spaces.

This is about USERS - users have or have not access. Damn, this is nuts.

FFS, I found the answer here - https://stackoverflow.com/a/49848259/2896495!
Jesus, why then not call them Application Scopes?? Not just scopes.


1.7.10 forge

I read that MCEdit works with 1.7.10 forge, but whenever I try to open a new version of minecraft, the forge version doesn't show up. I have tried getting a different version of forge 1.7.10, but the same thing happens. I want to know if this application can actually work with 1.7.10 forge or not.

Currently, MCEdit-Unified does not support modded worlds.
It may open them, but no guaranty about what happens...

Okay, thanks for the quick answer.


Add cloudfront AKS configuration

Trello card URL
https://trello.com/c/QvrkR3vd/606-create-dns-zone-in-azure-dns-via-terraform-and-migrate
Changes in this PR:
Create a new Cloudfront pointing at AKS. Duplicate the domains eg "staging becomes staging2"
How to review
Already deployed: https://www2.teaching-vacancies.service.gov.uk/

 Create custom domains for AKS environments


[SimplePagination] Convert styled-components to scss (in story)

We need to remove styles that are done using styled components and remove the package as a dependency. It may make sense to do a local visual snapshot with Cypress before removal to tell if we are introducing any regressions. Concentrate on deprecated components and stories last.

@kevinsperrine - Looks like there is no style component being used in SimplePagination. Can you please confirm?

@Ritu-Thakur It's used in the story. SimplePagination.story.jsx


Latest version of phantomjs not available for OS...

CentOS release 6.7 (Final) x64
Logic does a good job of detecting the OS and the most recent stable release of phantomjs. However, there is no stable release at the current version for the OS detected.
 [Composer\Downloader\TransportException]
  The "https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.0.0-linux-x86_64.tar.bz2" file could not be downloaded (HTTP/1.1 404 NOT FOUND)

...per https://bitbucket.org/ariya/phantomjs/downloads/
Solution: if the request returns anything other than status 200, tick down one version and try again but no go below the lowest supported version.

Hey David,
yes, its a know issue, see #12.
Your solution of automatically re-trying the download while lowering the version number
is a great idea. I wonder why nobody came up with that, yet.
Ok, lets see how we could implement that:

we need an array for versions, ordering high to low
the retry is based on the return value of the Composer Downloader
foreach versions as version - download()

if download failed, message (download not found) and continue
else return

Did i mess up? Suggestions welcome..

Follow up:
if i extend that idea a bit, we could re-try the same version, but use a fallback URL, right?
That would address https://github.com/jakoch/phantomjs-installer/pull/24

2.0.0 - original download source
2.0.0 - eugene or vitalliums source
then go lower 1.9.8

Ok, i checked the Composer Downloader API.
It doesn't return a value we could work with.
https://github.com/composer/composer/tree/master/src/Composer/Downloader

Personally, I would not depend on the custom releases for a production system. IE if your goal for phantom is to be at the level of, for example, Selenium go with the source teams releases.
Try for current version, if failed step back 0.1.0 and try for the next oldest version.
This is my personal opinion of course.

Any movement on this?

Ok, i've implemented download retrying with lowering the version numbers.
The call to Composer\DownloadManager->download() is now wrapped in a while loop.
The inital while expression is the number of phantomjs versions,
which is basically the maximum number of download retries.
The phantomjs versions are hardcoded in static function getPhantomJsVersions().
If the download succeeds, we  simply break out of the try/catch.
But, if a Composer\Downloader\TransportException with HttpStatusCode 404 happens,
we get the next lower version from the versions array from getLowerVersion(),
init a new in memory package with that version and url ... and try again.
Not sure, if that will work out :) But its alive on dev-master and needs testing and feedback.
All bugfixes welcome.
Best, Jens

Almost...
[163.0MB/87.10s]     Downloading: Connecting...[163.1MB/87.41s] Script PhantomInstaller\Installer::installPhantomJS handling the post-update-cmd event terminated with an exception

  [Composer\Downloader\TransportException]
  The "https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.0.0-linux-x86_64.tar.bz2" file could not be downloaded (HTTP/1.1 404 NOT FOUND)

You may find an example composer.json for triggering a "2.0.0" to "1.9.8" tickdown here:
https://github.com/jakoch/phantomjs-installer/blob/master/tests/example-v2.0.0-v1.9.8/composer.json
Referencing the version lowering on the PHP7 branch from this build matrix.
Please give me a little feedback, if its also working on your side.
Thanks, Jens


merge html > head

Hi,
it is possible to change html head tags? Lib change only title? What if I need to load another script or style on view change? Or need to change some meta description, og (opengraph) tags etc..

Hello there,
Meta descriptions as well as og tags are read directly form the server. For example, if you share link on facebook, facebook will download the page and check the og tags right from the server, so the content of your head tag in your browser is irelevant here.
For loading scripts or tags... That depends on your solution. If you're using some bundler to separate your code, you can set it up to load parts of your code/styles when it's needed.
If it's simply a code that you wrote for each page, I would suggest to load it all and then enable correct parts based on your DOM. For example, you could have a function run on swup:pageView event which would check a class of page (in case the code is based on page), or presence of some elements that are needed for code to run, and based on that run parts of the code. For styles - limit the style based on some page class and load it all together as well.
If you would really like to replace the content of the head tag, you could do so on swup:contentReplaced event, where the whole content of loaded pages can be accessed in swups cache (including the head tag) and manually replaced by you.

@gmrchk I think you should reconsider replacing the <head> tag. Pages can have different stylesheets in <head> tags on different subpages.
I've actually implemented my own version of a "page transitioner" where I use the following method to replace the <head> tag. It's checks if tags from the next page already exist on the current page and doesn't replace them if they do. This is done to prevent CSS re-evaluation that happens when the style tag is replaced.
replaceHeadWithoutReplacingExistingTags = function(
    oldHead,
    newHead
  ) {
    var oldTags = oldHead.children;
    var newTags = newHead.children;
    var oldTagsToRemove = [];
    var newTagsToRemove = [];

    for (var i = 0; i < oldTags.length; i++) {
      var oldTag = oldTags[i];

      var oldTagIdentifier = oldTag.outerHTML;
      var foundInNewHead = false;
      for (var j = 0; j < newTags.length; j++) {
        var newTag = newTags[j];
        var newTagIdentifier = newTag.outerHTML;

        if (newTagIdentifier === oldTagIdentifier) {
          foundInNewHead = true;
          break;
        }
      }

      if (foundInNewHead) newTagsToRemove.push(newTag);
      else oldTagsToRemove.push(oldTag);
    }

    for (var i = 0; i < newTagsToRemove.length; i++) {
      newHead.removeChild(newTagsToRemove[i]);
    }

    for (var i = 0; i < oldTagsToRemove.length; i++) {
      oldHead.removeChild(oldTagsToRemove[i]);
    }

    var fragment = document.createDocumentFragment();
    for (var i = 0; i < newHead.children.length; i++) {
      fragment.appendChild(newHead.children[i]);
    }
    oldHead.appendChild(fragment);
  };

I've never used such approach, but I see why someone would. I will create a plugin-like solution for this that you could use some time during this week.

Here is a plugin that should solve this issues swupmergeheadplugin.
I'm not really using this approach in my projects so... let me know if there is some trouble.


Fixed documentation example for put_aws_sigv4

Found a minor mistake in the put_aws_sigv4 documentation example. Thanks for the great project!

Thank you!


Ensure that we have a valid witness to IteratorProtocol.next()

Resolves rdar://57003406

@swift-ci please smoke test and merge

Hm, seems like an infrastructure problem
@swift-ci please smoke test

Reducing Alex's test is proving difficult.  I'll get it in a follow-on.
@swift-ci please smoke test

⛵


Boundary Conditions

Hi,
I tried to define some boundary conditions. Until recently, everything went perfectly fine with
import jax_cfd.base.grids as grids
bc = grids.BoundaryConditions((grids.PERIODIC, grids.PERIODIC))

Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: module 'jax_cfd.base.grids' has no attribute 'BoundaryConditions'

I saw that you moved the boundary conditions to a new module called boundaries.py. I tried then to access them accordingly from the new module via:
import jax_cfd.base as cfd
bc = cfd.boundaries.periodic_boundary_conditions(ndim=2)

Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: module 'jax_cfd.base' has no attribute 'boundaries'

But now, neither of these work anymore (see the appended error messages) and I wonder how I can define boundary conditions.
I tried installing JAX-CFD according to the documentation and according to #90, but neither of them gave me a solution to my problem.
My python version is 3.8.
Python 3.8.12 (default, Oct 12 2021, 13:49:34)
[GCC 7.5.0] :: Anaconda, Inc. on linux

Hi @juliandwain
Thanks for flagging - I think we are missing boundaries.py in the jax_cfd/base/__init__.py; I'll send out a fix.

@kochkov92 I saw your commit https://github.com/google/jax-cfd/commit/57d8bb008fed6321e32e5fda231b75fb380e15fe, but how can I make use of this on my system? Will you release a new version?

Am experiencing the same error when using jax-cfd==0.1.0:
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
[<ipython-input-7-e55227ace682>](https://localhost:8080/#) in <module>()
      9
     10 # Specify periodic BC on x-boundaries, and no-slip walls on the y-boundaries.
---> 11 velocity_bc = (cfd.boundaries.channel_flow_boundary_conditions(ndim=2),
     12                cfd.boundaries.channel_flow_boundary_conditions(ndim=2))
     13

AttributeError: module 'jax_cfd.base' has no attribute 'boundaries'

Has this fix been pushed to the jax_cfd package on PyPI?


Outwork, possibly error page? - missing images and content, alignment issue

- I'm getting this for the outwork page. is this the error page?
- image and text content are missing
- note that the content occupies 8 columns

@xinyil It looks like there aren't any outwork pages? It does bring up a question though - what should the outwork page look like if we don't have any pages? Or is that not a scenario we expect to see in production?

I didn't get the styled 404, unless there is a different URL to test 404 page?

@xinyil This is the error page you get when in debug mode. You should be able to go to /404 to see the styled error page.

@xinyil I've added a test outwork page, please take another look at this.

strangely I get different sized text for the year in Safari and Chrome.

@xinyil I'm not sure why it's not rending as Sabon for you in Safari.
Where you able to test the error page?

404 page looks good. This one is for outwork page. Just noticed that the test and divider lines don't align.

this is rending correctly for me in safari and firefox. @xinyil can you revisit it?

@thatbudakguy typeface looks right! maybe is was caused by adding extra slanting by browser.
the title of outowork entry is in a different style though. and no need for underlining.

This is still a problem - second outwork stacks to the side instead of below.

Second outwork now displays correctly under the first instead of stacking to the side.


->exists() function which returns boolean if element exists

I implemented one:
func PagserExists(node *goquery.Selection, args ...string) (out interface{}, err error) {
	return node.Length() > 0, nil
}

p.RegisterFunc("exists", PagserExists)

I think it could be added to core functions.

Which usages need to use this method?

I use it like this:
type data struct {
	DialogExists bool `pagser:"#dialog->exists()"`
}

Ideally it would not be needed and the following would just work:
type data struct {
	DialogExists bool `pagser:"#dialog"`
}

But it fails.


Can not creat RGB camera if want to use state observation

Setting:

still want to use state observation
but want to generate the RGB images at the same time
do not use 3D render

The following lines will block this:

Do we have to add these lines here? In what circumstance this code can help reduce the overhead?

file is base_env.py

@WeizhenWang-1210 have you tried this on headless server? Everything good?


swa autocheckin feedback

Please provide your feedback for this project. Thanks ;)

@aquanymous
our auto check in springyleap worked great for us 3 days ago. One was five better than the other for the first flight, and two better on the second. Does it submit all check in requests simultaneously for a given flight, or based on the time they were registered through springyleap? Just curious. Both boarding positions were fine and it's great to have an automatic check in option. Thanks so much!
The system buckets tickets by email, regardless of fullname, so when it is time to checkin the tickets get submitted sequentially within the same badge. Depending on how busy is the flight, the volume of checkin requests (human and automatic) from other parties will affect how close together are the boarding psitions among the tickets registered in the system. I will eventually enable a parallel processor to send multiple requests concurrently and minimize the chances for other parties to checkin between requests. I hope this answers your questions and please keep the feedback coming.

Ok,  thanks.   So,  for now,  would it maximize the chance of sequential boarding positions to have each passenger's ticket coming from its own bucket (ie. unique email)?  If so, I could reregister our upcoming flights with my daughter's own email rather than doing them all under mine.  But I did use my email on the southwest site for all of them when purchasing.  Does the email used to register the ticket on your site need to match the one associated with the ticket on southwest?

@josecomboni Does this service currently work?  On http://springyleap.com/Reservations/Register I get stuck on the modal that says "We're scheduling your reservation for automatic checkin.
This may take a few moments." and it just stays like that even after several minutes.

@joechristopher, the system does work, unfortunately you were hitting a bug in the UI (it happens in certain browsers) were the dialog doesn't update itself. Once you get to that dialog though, your flight should be registered. You can confirm by going to  http://springyleap.com/Reservations/?email={youremail}&lastname={yourreservation's lastname} or refreshing the page and clicking the link at the bottom (Go to My Flight Reminders)
The systems uses Southwest's emailing system, hence once your flight has been checked in, you will receive the standard email from Southwest with your ticket number.

@josecomboni Thank you for the response.  Confirmed that I see the reservation despite the UI bug.

It's awesome.  May you fly under the radar forever.

Can anyone comment with anecdotes on how well this works for them... like what boarding #'s did you get, especially if there are multiple people in your party?
Really appreciate the effort put into this by all devs. If there's a tip jar somewhere let me know.

I am getting this error
{'returnOperator': [], 'hazViewMore': "  ", 'flightcheckin_url': 'https://www.southwest.com/flight/retrieveCheckinDoc.html?int=', 'returnItinerary': [], 'continueText': 'Check In', 'hazmatnoteTitle': '', 'hazmatnoteLinkText': '', 'operator': 'WN', 'CODA_FLOW': 'false', 'departOperator': [], 'hazViewMoreLinkHeading': '', 'hazViewMoreLinkContent4LinkText': '', 'opstatus': 0, 'title': 'Southwest Airlines - Checkin Online and Print Boarding Passes', 'CODA_PNR': 'false', 'errmsg': '', 'hazViewMoreLinkContent1': '', 'hazmatnoteContentBold': '', 'hazViewMoreLinkContentBold': '', 'interMsg': '', 'returnUrl': '/flight/retrieveCheckinDoc.html?int=', 'hazViewMoreLinkContent3a': '', 'interimTitle': 'Important Reminder for International Travelers', 'httpStatusCode': 200, 'hazmatnoteLinkValue': '', 'hazViewMoreLinkContent3b': '', 'form_input': [], 'hazViewMoreLinkContent2': '', 'departItinerary': [], 'hazardNoteTitle': '', 'passenger_names': [], 'hazmatnote': "

  ", 'hazViewMoreLinkContent4LinkValue': 'http://www.southwest.com', 'hazViewMoreLinkContent5': '', 'hazViewMoreLinkContent4': '', 'hazmatnoteContent': '', 'requirementName': 'Continue'}
Anyone else getting this when running the python script?

Is springyleap/autocheckin still being maintained?  It was awesome to have,
but it has failed the last two flights we tried to use it for.  It does
still take our confirmation numbers and shows the appropriate check in
time, but never sent us a boarding position or even an error message.
Thanks so much for any info!
On Tue, Jul 26, 2016 at 8:42 AM, defconparties<EMAIL_ADDRESS>wrote:

I am getting this error
{'returnOperator': [], 'hazViewMore': "  ", 'flightcheckin_url': '
https://www.southwest.com/flight/retrieveCheckinDoc.html?int=',
'returnItinerary': [], 'continueText': 'Check In', 'hazmatnoteTitle': '',
'hazmatnoteLinkText': '', 'operator': 'WN', 'CODA_FLOW': 'false',
'departOperator': [], 'hazViewMoreLinkHeading': '', '
hazViewMoreLinkContent4LinkText': '', 'opstatus': 0, 'title': 'Southwest
Airlines - Checkin Online and Print Boarding Passes', 'CODA_PNR': 'false',
'errmsg': '', 'hazViewMoreLinkContent1': '', 'hazmatnoteContentBold': '',
'hazViewMoreLinkContentBold': '', 'interMsg': '', 'returnUrl':
'/flight/retrieveCheckinDoc.html?int=', 'hazViewMoreLinkContent3a': '',
'interimTitle': 'Important Reminder for International Travelers',
'httpStatusCode': 200, 'hazmatnoteLinkValue': '',
'hazViewMoreLinkContent3b': '', 'form_input': [],
'hazViewMoreLinkContent2': '', 'departItinerary': [], 'hazardNoteTitle':
'', 'passenger_names': [], 'hazmatnote': "
", 'hazViewMoreLinkContent4LinkValue': 'http://www.southwest.com',
'hazViewMoreLinkContent5': '', 'hazViewMoreLinkContent4': '',
'hazmatnoteContent': '', 'requirementName': 'Continue'}
Anyone else getting this when running the python script?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/springyleap/southwest-autocheckin/issues/1#issuecomment-235255390,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEy41kpMBLpVQgzZXlRx4Dld6lCu5p6Nks5qZgCcgaJpZM4DVoTW
.


Add Connection Info for Sender Channel in the Side Panel

Sender channels have a non-empty property called conname:
"conname": "qm2-3628.qm.eu-gb.mq.appdomain.cloud(31918)"
In our MQ library, it is stored in this way:
((SenderChannel)channel).connectionName
It would be nice to display this piece of information in the side panel when the user clicks on sender channels.

Added


'Create or Alter' Syntax not recognized by intellisense

Issue Type: Bug
The 'Create or Alter' syntax isn't recognized by intellisense while window is set to the MSSQL flavor of SQL
Azure Data Studio version: azuredatastudio 1.12.2 (c9bef82ace6c67190d0e83820011a2bbd1f793c1, 2019-10-11T04:56:40.634Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (8 x 1992)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.81GB (1.95GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (11)

Extension
Author (truncated)
Version

mssql-db-insights
mat
0.2.2

admin-pack
Mic
0.0.2

agent
Mic
0.43.0

import
Mic
0.11.0

query-history
Mic
0.1.0

schema-compare
Mic
0.6.0

server-report
Mic
0.2.0

sql-vnext
Mic
0.16.0

azdata-sanddance
msr
1.3.9

sql-search
Red
0.3.4

simple-data-scripter
sea
0.1.0

Hm, this doesn't seem to repro for me. Can you try typing in this simpler script to see if you still see the red squigglies? If you mouse over them what do they say?
create or alter procedure procTest
as
begin
 print (1)
end
go

Thanks for looking into this!

Ah, yup that was the key. Let me dig into it and see why - that definitely shouldn't be behaving like that on Azure. Thanks for the follow-up!


Adjust preferredContentSize using customView in HUDProgressViewController

Hi
When use customView in HUDProgressViewController, preferredContentSize is fixed now.
I implemented to adjust preferredContentSize by  customView.bounds + UIEdgeInsets.

This change should be good at this time. Thank you :+1:

thx!


Running list of non-added chains

A list of chains who need more metadata added because they are missing or are only stubs right now.

[x] Sommelier
[x] Injective
[x] IrisNet (is Stub)
[x] Band Chain
[x] Switcheo
[x] Fetch.ai
[x] Omniflix
[x] Ryzon
[x] Odin Network
[x] Vidulum
[x] Chihuahua
[x] Dig Chain
[x] Konstellation Network

Generally, all these once-stubs have been completed. With improved schema validation on python checks, stubs should be much less likely to appear going forward.


[stable/home-assistant] Small fix and enhancements

What this PR does / why we need it:
This PR fixes / enhances a few aspects of the stable/home-assistant chart:

It is now possible to define the externalTrafficPolicy field for services with type LoadBalancer. This is required to let Home Assistant know the "real" IP address when using something like MetalLB.
The git-secret Secret was only mounted for the configurator and appdaemon containers, but not for vscode. This has been added to allow git commits from that container as well.
It is now possible to set the author and email used for Git commits through the git.user variables.
In the previous version it was only possible to specify a list of single secret keys to be used as environment variables. It is now possible to specify an entire secret through the extraSecretForEnvFrom variable.

Special notes for your reviewer:
@billimek @runningman84
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

Signed-off-by: Bernd Schorgers<EMAIL_ADDRESS>

/assign @billimek

/ok-to-test

/lgtm
Thanks for these chart improvements!

FYI, I believe that this change introduced a problem.  I just tried upgrading and helm threw the following error,
upgrade failed: template: home-assistant/templates/deployment.yaml:270:53: executing \"home-assistant/templates/deployment.yaml\" at <.Values.git.user.name>: nil pointer evaluating interface {}.name.
Digging into this now and will try to submit a patch if necessary.

That's odd, I thought that would be covered by the {{- if and (.Values.git.enabled) (.Values.git.user.name) }}. Or could it be because the user: section is commented by default, and therefore Helm cannot resolve the check on the subfield?


Log to find error with deserializing partition information.

Codecov Report

Merging #1858 (41cb596) into master (078cd8b) will decrease coverage by 58.56%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master    #1858       +/-   ##
=============================================
- Coverage     74.03%   15.46%   -58.57%
+ Complexity     9622     2261     -7361
=============================================
  Files           688      688
  Lines         52713    52716        +3
  Branches       6555     6556        +1
=============================================
- Hits          39025     8152    -30873
- Misses        11649    44093    +32444
+ Partials       2039      471     -1568

Impacted Files
Coverage Δ

...hub/ambry/cloud/azure/AzureContainerCompactor.java
0.00% <0.00%> (-15.56%)
:arrow_down:

...m/github/ambry/cloud/azure/CosmosDataAccessor.java
0.00% <0.00%> (-47.36%)
:arrow_down:

...a/com/github/ambry/clustermap/PartitionLayout.java
0.00% <0.00%> (-69.79%)
:arrow_down:

.../src/main/java/com/github/ambry/router/Router.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../src/main/java/com/github/ambry/store/Message.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rc/main/java/com/github/ambry/named/PutResult.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rc/main/java/com/github/ambry/quota/QuotaMode.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rc/main/java/com/github/ambry/quota/QuotaName.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rc/main/java/com/github/ambry/rest/RestMethod.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...c/main/java/com/github/ambry/config/KMSConfig.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 542 more

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 078cd8b...41cb596. Read the comment docs.


Log.txt

Description of the problem or steps to reproduce
Is there a way to disable the log.txt from being created?
Commit hash:
OS: Ubuntu (WSL)
Terminal: Windows Terminal

It shouldn't be created if you use an officially package release (not apt). Use the .deb file on the releases page, or install with curl https://getmic.ro | bash, or download a binary from the releases page and put it on your path.

Is the apt package not an official release?

It is unfortunately not -- see the readme for details about package managers. Since I am not a debian maintainer I cannot personally manage the apt package and therefore cannot guarantee its correctness (and as it happens, the version packaged for Ubuntu 20.04 had an issue that enabled debug mode since they used a custom build script rather than the makefile in this repo).


chore(main): release 0.15.0

:robot: I have created a release beep boop
0.15.0 (2023-03-04)
Features

edit file (c9386b7)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/samuele-cozzi/obsidian-marp-slides/releases/tag/v0.15.0 :sunflower:


CMAA2 Optimization

Hi, it's me again.
I made these modifications to optimize the PixelShader version of CMAA2, I'd like to have your opinion on the idea and also know if it works/or if it an good idea for the Compute version, because I don't have a game to test this. Thanks in advance for your feedback.
PS: I still don't understand why you don't multiply 2.25 at the end of the LongEdgePS function, if you can explain :).
PS2: In my tests, the gain ranged from 10 to 30% depending on the scene.

Also something I feel important to mention is I do want to  for better or for worse make sure that the output of the algorithm remain the same as what you would get from Intel's implementation

I understand how you feel and I hope the code I use to generate these textures will reassure you.
texture2D ZShapeScores <pooled = true;>{Width = 256; Height = 256; Format = RGBA8;};
sampler2D sZShapeScores {Texture = ZShapeScores;};
texture2D SimpleShapeBlandVal <pooled = true;>{Width = 4096; Height = 256; Format = RGBA8;};
sampler2D sSimpleShapeBlandVal {Texture = SimpleShapeBlandVal;};

void SimpleShapeBlandValPS(float4 position : SV_Position, float2 texcoord : TEXCOORD, out float4 output : SV_TARGET0)
{
	uint2 coord = position.xy;

	float4 edges       = UnpackEdgesFlt(coord.x / 256);
	float4 edgesLeft   = UnpackEdgesFlt((coord.x / 16) % 16);
	float4 edgesRight  = UnpackEdgesFlt(coord.x / 16);
	float4 edgesTop    = UnpackEdgesFlt(coord.y / 16);
	float4 edgesBottom = UnpackEdgesFlt(coord.y % 16);

	output = ComputeSimpleShapeBlendValues(edges, edgesLeft, edgesRight, edgesTop, edgesBottom, true);
}

void ZShapeScoresPS(float4 position : SV_Position, float2 texcoord : TEXCOORD, out float4 output : SV_TARGET0)
{
	uint2 coord = position.xy;

	float4 edges     = UnpackEdgesFlt(coord.x / 16);
	float4 edgesM1P0 = UnpackEdgesFlt(coord.x % 16);
	float4 edgesP1P0 = UnpackEdgesFlt(coord.y / 16);
	float4 edgesP2P0 = UnpackEdgesFlt(coord.y % 16);

	float invertedZScore, normalZScore;

//	uint2 horzPos = uint2(
//		16 * center + left,
//		16 * right + rightTwice);
	DetectZsHorizontal( edges, edgesM1P0, edgesP1P0, edgesP2P0, invertedZScore, normalZScore );
	if( invertedZScore > normalZScore )
	{
		output.x = invertedZScore / 4.0;
		output.y = 1.0;
	}
	else
	{
		output.x = normalZScore / 4.0;
		output.y = 0.0;
	}

//	uint2 vertPos = uint2(
//		16 * center + bottom,
//		16 * top + topTwice);
	DetectZsHorizontal( edges.argb, edgesM1P0.argb, edgesP1P0.argb, edgesP2P0.argb, invertedZScore, normalZScore );
	if( invertedZScore > normalZScore )
	{
		output.z = invertedZScore / 4.0;
		output.w = 1.0;
	}
	else
	{
		output.z = normalZScore / 4.0;
		output.w = 0.0;
	}
}

technique
{
	pass
	{
		VertexShader = PostProcessVS;
		PixelShader = SimpleShapeBlandValPS;
		RenderTarget0 = SimpleShapeBlandVal;
	}
	pass
	{
		VertexShader = PostProcessVS;
		PixelShader = ZShapeScoresPS;
		RenderTarget0 = ZShapeScores;
	}
}
#endif

I simply called the original code in a loop and wrote the result to the texture, then saved the texture in a file.

I've integrated this code directly into the CMAA_2.fx shader  ;)

I can embed this code as a comment so that anyone can reuse it as needed, if you like.

In fact, that's what I have on the version on my workstation. ;)

Doesn't the coord.x /16 in edges right need a %256?

Otherwise though I'd say that's a good idea, I would say don't touch the compute shader if you aren't able to test it (if I get the motivation to return to doing this seriously ever I might add it there) and yes, the corrected code for how the LUTs get generated should be a comment. (Also blandvalues.png instead of blendvalues.png, minor thing but would be nice to not have the typo in the texture name

Oupsi you're right, I modified the algorithm to make it more readable but I didn't regenerate the texture with it. I'll try with the correction to see if there's a change in the regenerated texture.

Thank you so much for your contributions, they're very well done. I did have one more idea however, the LUT for the simple blend values is quite large, would there be any way to leverage symmetry to make the LUT smaller which would help further increase performance? If not I'm happy to merge these changes now though

Thanks to you, I spent a long time looking for an anti-aliasing shader that didn't blur fonts. I had read the doc and the CMAA2 shader, I had started to implement it for DX9 but I never managed to get anything satisfactory. Then I came across your truly impressive implementation and thought, rather than do something on my own, I might as well take part in it. Congratulations again.
As for the symmetry, I'm going to have a look, 4MB of LUT, I think that's pretty big too, for the moment I don't have any ideas, but we'll see.
I've also got another question: does the ApplyPS pixelshader really need blend operations?

The ApplyPS doesn't need blend operations, they are just faster than writing to every pixel

No, those require compute shaders in ReShade to my knowledge, and their usefulness is limited in pixel shaders anyways

that's what I was afraid of :(


Improvement: Post user-testing fixes

Improvement Overview

These are post user-testing and app development (now all pages are in the tool) fixes and improvements.
Current Issue

No issues in particular, but improvements that have been highlighted from user testing, both externally and internally.
Proposed Enhancement

List of improvements to be made (there could be additional items added as development progresses):

[x] Fix issue where Region and England are getting mixed up in the Regional View other geographies table
[x] Finish download options for all charts and tables (also standardise)
[x] Add bar chart to Regional Page
[x] Highlight England with consistent colour in the tables
[x] Sort out af_colours() so they are consistent across plots, tables and changing numbers of groups in a plot (also should solve the warning Warning: list of colours returned may be different than the colours requested...
[x] Highlight area of interest in the tooltip
[ ] Add COVID data flag
[ ] Add state-funded school flag
[x] Remove markers from line plots
[x] Thicken lines in line plots
[x] Change indicators with no polarity and so no rank show "-" instead of "NA"
[x] Make all LA page download contain all data (or option to)
[x] Long y-axis title go onto 2 lines
[x] Sort out copy-to-clipboard pop-up
[ ] Maybe look at modularising copy-to-clipboard
[x] Filter out "NA" years in global.R
[x] Add years description to plots
[x] Add green and red colour to arrows for trends where there is a polarity

Impact

Improves the functionality and usability of the app, also standardising across pages.
Additional Information

Colouring is up and running well, needs some thinking about order and what colours the LA focus and England should be

Reopened to check non completed checkboxes

All amendments made.


'yarn setup-dev' upload always fails.

When running yarn setup-dev after generating my sources, I get a loop of the same error. I have let this sit for several minutes and it always fails. I've ran it multiple times with the same process and I have never gotten it to work.
It seems like a Cloud Function is throwing an exception. Can we run this function locally instead, and is it open source?
upload was not successful, rerunning
Error uploading file 3 FetchError: invalid json response body at https://us-central1-principal-lane-200702.cloudfunctions.net/uploadFile4 reason: Unexpected token E in JSON at position 0
    at /snapshot/js/node_modules/node-fetch/lib/index.js:272:32
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5) {
  type: 'invalid-json'
}
Transaction simulation failed: Error processing Instruction 0: Program failed to complete
    Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ invoke [1]
    Program log: libstd rust_begin_panic
    Program log: panicked at 'range end index 971 out of range for slice of length 255', nft-candy-machine/src/lib.rs:318:18
    Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ consumed 200000 of 200000 compute units
    Program failed to complete: BPF program panicked
    Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ failed: Program failed to complete
saving config line 0-2 failed SendTransactionError: failed to send transaction: Transaction simulation failed: Error processing Instruction 0: Program failed to complete
    at Connection.sendEncodedTransaction (/snapshot/js/node_modules/@solana/web3.js/lib/index.cjs.js:4863:13)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async Connection.sendRawTransaction (/snapshot/js/node_modules/@solana/web3.js/lib/index.cjs.js:4822:20)
    at async Object.sendAndConfirmRawTransaction (/snapshot/js/node_modules/@solana/web3.js/lib/index.cjs.js:6649:21)
    at async Provider.send (/snapshot/js/node_modules/@project-serum/anchor/dist/cjs/provider.js:84:22)
    at async Object.rpc [as addConfigLines] (/snapshot/js/node_modules/@project-serum/anchor/dist/cjs/program/namespace/rpc.js:11:31) {
  logs: [
    'Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ invoke [1]',
    'Program log: libstd rust_begin_panic',
    "Program log: panicked at 'range end index 971 out of range for slice of length 255', nft-candy-machine/src/lib.rs:318:18",
    'Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ consumed 200000 of 200000 compute units',
    'Program failed to complete: BPF program panicked',
    'Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ failed: Program failed to complete'
  ]
}

Hmm. This is the program business. It is not hardcoded in this repo (using cloud functions) so I assume it is something to ask Metaplex about it: https://github.com/metaplex-foundation/metaplex
But about the problem exactly, it seems like the JSON it is uploading to the candy machine is invalid... Can you share you code (as a fork or as a codesandbox) so I can, maybe, debug it?

It does appear to be coming from the metaplex cloud function. I requested for this to be open sourced a while ago, but not sure if it ever was. I'll report back on this.
Meanwhile, here is a sample JSON file generated using the generate-nft-sources command:
  "name": "Moss Monster #1",
  "symbol": "COMPANY_NAME",
  "description": "COMPANY_NAME Season 1: Moss Monster #1",
  "seller_fee_basis_points": 500,
  "image": "moss-monster.png",
  "external_url": "https://COMPANY_NAME.com/",
  "attributes": [
    { "value": "1", "trait_type": "SEASON" },
    { "value": "MOSS MONSTER", "trait_type": "TYPE" }
  ],
  "collection": { "name": "COMPANY_NAME: Season 1", "family": "COMPANY_NAME" },
  "properties": {
    "files": [{ "uri": "moss-monster.png", "type": "image/png" }],
    "category": "image",
    "creators": [
      {
        "share": 100,
        "address": "ADDRESS_HERE"
      }
    ]
  }
}

The caps are redacted names, but everything else stays the same.

I'm increasingly feeling it is a bad decision from Metaplex to not open source their core programs. Not sure what is happening to you tho @fletchertyler914... But please share in this issue when you find a solution

Did you solve it ? @fletchertyler914

I am having a similar problem, it seems that the cloud function times out the second time I call it. This issue keeps happening. I can not upload more then one at a time.

Hey @BabyDoodles99  Check this out https://github.com/metaplex-foundation/metaplex/issues/494#issuecomment-927235861
for anyone else wondering, BE SURE you're starting with a 0.png and 0.json file, that completely fixed it for me


UI not providing proper error message while moving name space from one project to another project

Setup

Rancher version: v2.7.3
Browser type & version: Chrome

Describe the bug
UI not providing proper error message while moving name space from one project to another project.
While moving a name space from proj1 to proj2, the webhook validation is happening and throwing a n/w error if there is a authorization issue. In this case UI is on same move screen and not providing proper error message to the user. Just the button is change from Move to Error and after 2 seconds it went back to Move. Also, the screen shows the name space moved to a different project and it not came back till user refresh the screen.
To Reproduce

Provision rancher
Create a Downstream cluster
Create a Standard User (user1)
Create a project : "proj-read" (Add user1 as readonly)
Create a Name Space (testns1)
Create a project : "proj-write" (Add user1 as Owner)
Create a Name Space (testns2)
Login with user1
From UI Try to move testns2 to the project "proj-read" OR
From UI Try to move testns1 to the project "proj-write"
Check for the behavior

Result

User is on the same move popup screen and the button(Move)change to Error and there is NO error message on the screen
In next 2 seconds the Error buttom changed to Move
On the UI the name space got moved to the other project but after a screen refresh the name space did not moved
Network call failed with 403 error
{"type":"error","links":{},"code":"Unauthorized","message":"admission webhook "rancher.cattle.io.namespaces" denied the request: Unauthorized","status":403,"type":"error"}

Expected Result

User should get appropriate error message on the screen
The Name Space should not move to the other project (User no need to refresh)

Additional context
Before this change there is no errors while moving the name spaces and UI may not handle the error cases.
Screenshots

Hi, I will glad to take this issue

I tried to investigate this issue, as I see it I have the Namespace object that gets updated with label and annotation and then saves the Namespace object (which makes a call to the API)
But because the same object is presented on the table using the same annotation that gets updated it changes in render before the save call is made and fails...
https://github.com/rancher/dashboard/blob/master/shell/components/MoveModal.vue#L63


⚠ Bofrost.de has degraded performance

In 9a76369, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1633 ms

Resolved: Bofrost.de performance has improved in ce16956 after 8 minutes.


Backport "Improve, document and group versioning code in Build.scala " to 3.6.2

Backports #21837 to the 3.6.2 branch.
PR submitted by the release tooling.
[skip ci]

No regressions detected in the community build up to release-3.6.2-backport-21891.
Reference


install requirements for llama.cpp before make

conditionally build depending on nvcc availabilityUpdate autogguf.sh.
This fixes the missing components required by llama.cpp, and allows to build on machines without nvcc (like mine). GGUF proceeded normally after this change.

Thank you!

Oh, crud... I goofed up:
make clean && LLAMA_CUBLAD=1 make
Should be:
make clean && LLAMA_CUBLAS=1 make


how do you use LEDs?

I'm gonna ask a dumb question because I'm new to all of this. But I've got a very simple controller setup and I can't find anywhere that tells you how to set up LEDs. If anyone could help that would be great. Like I said I'm new to this stuff so sorry if that's a dumb question. thanks!

If you want to hop on our Discord we can walk you though setting up LEDs.

Hey do you mind if I start a discussion on GitHub instead? I don't really use discord

Hey @jojo22904 ,
No problem, might just take a bit longer to get back to replies.
Which LEDs are you trying to use with the setup?  If you have an image of what you are working with please attach it.

@TheTrainGoes
I started a discussion and answered your questions there thank you so much for your help

Answered in the discussions section


Activating Open Collective

Hi, I'm making updates for Open Collective. Either you or another core contributor signed this repository up for Open Collective. This pull request adds financial contributors from your Open Collective https://opencollective.com/vue-ls ❤
What it does:

adds a badge to show the latest number of financial contributors
adds a banner displaying contributors to the project on GitHub
adds a banner displaying all individuals contributing financially on Open Collective
adds a section displaying all organizations contributing financially on Open Collective, with their logo and a link to their website

We have also added a postinstall script to let people know after npm|yarn install that you are welcoming donations. Feel free to remove it if you don't want it. [More info]
P.S: As with any pull request, feel free to comment or suggest changes.
Thank you for your great contribution to the Open Source community. You are awesome! 🙌
And welcome to the Open Collective community! 😊
Come chat with us in the #opensource channel on https://slack.opencollective.com - great place to ask questions and share best practices with other Open Source sustainers!

Coverage remained the same at 100.0% when pulling 7c8f9584951e5fe942a6da8b99b824a0e2c85731 on opencollective:opencollective into ec2d5bd4aa3c537655d927c4cfd918f18f821ebc on RobinCK:master.

Coverage remained the same at 100.0% when pulling 7c8f9584951e5fe942a6da8b99b824a0e2c85731 on opencollective:opencollective into ec2d5bd4aa3c537655d927c4cfd918f18f821ebc on RobinCK:master.


Fix toolchain environment variable check

The bug was introduced in commit 15b6068c.
Fixes #1089.

This fixes the issue in #1089 for me.
William@DESKTOP-3H1DSBV MINGW64 ~/Projects/FPGA/amaranth/sentinel
$ pdm demo
name              start         end    width
-----------  ----------  ----------  -------
ram          0x00000000  0x00001000        8
leds/leds    0x02000000  0x02000001        8
leds/inout   0x02000001  0x02000002        8
leds/oe      0x02000002  0x02000003        8
timer/irq    0x40000000  0x40000001        8
serial/rxtx  0x80000000  0x80000001        8
serial/irq   0x80000001  0x80000002        8
C:/msys64/home/William/Projects/FPGA/amaranth/sentinel/examples/attosoc.py:762: DeprecationWarning: The `run_script` argument is deprec

ated. If you only want to extract the files from the BuildPlan, use the .extract() method
  plan.execute_local(Path(args.b), run_script=not args.n)

William@DESKTOP-3H1DSBV MINGW64 ~/Projects/FPGA/amaranth/sentinel
$ git diff -u
diff --git a/pdm.lock b/pdm.lock
index e053c03..b6adc18 100644
--- a/pdm.lock
+++ b/pdm.lock
@@ -5,14 +5,15 @@
 groups = ["default", "examples", "riscof", "dev", "remote"]
 strategy = ["cross_platform"]
 lock_version = "4.4"
-content_hash = "sha256:4cf4f2ebb094e42d7d4b74afaae7f8816b964d4d15732123dddce4c1ebfbe5dc"
+content_hash = "sha256:2af29b82d8a7a23349965f1d7c335575fe71229dfc65688fecdc48dbc16102a9"

 [[package]]
 name = "amaranth"
-version = "0.4.1.dev6+g8cd8cdd"
+version = "0.4.dev337+gffae03d"
 requires_python = "~=3.8"
-git = "https://github.com/amaranth-lang/amaranth"
-revision = "8cd8cdde2b62527a655cc4e374ab28ac6b3f4822"
+git = "https://github.com/whitequark/amaranth"
+ref = "toolchain-env-var"
+revision = "ffae03d573bc6404d813c0448e9c4b31b4901b11"
 summary = "Amaranth hardware definition language"
 dependencies = [
     "Jinja2~=3.0",
@@ -32,10 +33,10 @@ dependencies = [
...

(Remainder of git diff irrelevant)


Math: Implement pow(x, n), which calculates x raised to the power n (i.e., xn). in Python

Please assign this to me.

Please assign this to me.

Sure

I have raised a PR for this issue - #465. Please review it.

Hi @akgmage, I think this issue can be closed now!

Hi @akgmage, I think this issue can be closed now!

Thanks for updating


Report merged cells from XLSX

Report if an XLSX contains merged cells.
Requested by USAID, via Dan.

Here is the call to xlrd3 that returns the info: https://pythonhosted.org/xlrd3/sheet.html#Sheet.merged_cells

The strategy will be to create a class hxl.input.MergedCell where str returns the empty string, then constants hxl.input.MERGED_CELL_LEFT, hxl.input.MERGED_CELL_UP, and hxl.input.MERGED_CELL_BOTH (also available in hxl.*), which will be the value of any empty cell that's merged from above, from the left, or both.

At first, we'll support only in Excel, but later we can add Google Sheets.

Will need to add more magic methods to the MergedCell class to support comparisons.

Reopening. It turns out that the MergedCell object will break JSON serialisation, so going to take a different approach, building it in as an option for raw input rather than downstream.


crash sdrpp

Hello,
First of all, thank you for your excellent job on this modded DLL(s)
Just downloaded the new(er) version and tried to add the new source in the latest SDRpp nightly build (april 23th)
Unfortunately, when adding through the module manager, SDR++ crashes and closes.
the same goes for your "older"  version, I am on Windows 11 Pro 23H2 (x64)
Both versions work fine in the nightly build from april 4-th (that is the oldest nightly build I've got)
Can you reproduce the problem from your side and hopely solve it........?
Thank you for your trouble
73's
PE1DDA
Cees

Greetings,
I noticed the same behavior with the two most recent updates to SDR++, and both the old and new versions of the modified dlls.  Both cause SDR++ to crash when trying ot install the new module.
One other thing I noticed is that the Zip-file for the new version does not contain the rtlsdr.dll file that the old Zip-file did.  Per the instructions, one is supposed to copy that file into the root folder for SDR++.  I'm using the older rtlsdr.dll file from the older Zip-file.
Thank you and 73
Ken -- WBØOCV


feat(Topology.Algebra.InfiniteSum): make sure that tsum and sum coincide on fintypes

Currently, when s is a fintype, it is possible that ∑' x, f x ≠ ∑ x, f x (if the topology of the target space is not separated), as the infinite sum ∑' picks some limit if it exists, but not necessarily the one we prefer.
This PR tweaks the definition of infinite sums to make sure that, when a function is finitely supported, the chosen limit for its infinite sum is the (finite) sum of its values. This makes it possible to remove a few separation assumption here and there.

Thanks!
maintainer merge

bors merge


Add motion to EventMouse

This pull request changes EventMouse to also store whether or not the event was sent as a motion event. In the current version of tcell, the motion bit is just thrown away, but this can be useful information on systems which are more limited in mouse reporting and don't always report correctly.
For example, on Elementary OS, the mouse button is always sent as 32 when there is motion, even when mouse button 1 is not pressed. With this PR I can tell whether the key was actually pushed down or not by storing when the key was first pressed without motion and then registering the motion events.

I made this PR from my master branch, which was a bad idea, so I'm going to close this and re-open a new one.


Add ShortenMyURL by @ritwiktakkar

[x] Project URL: https://github.com/ritwiktakkar/shorten_my_URL
[x] Update contents.json instead of README
[x] One project per pull request
[x] Screenshot included
[x] Avoid iOS or open-source in description as it is assumed
[x] Use this commit title format if applicable: Add app-name by @github-username
[x] Use approved format for your entry

Thx


How to use?

Nothing is being added to my clipboard, is there a key I need to hold down or interface to be open?

Nothing is being added to my clipboard, is there a key I need to hold down or interface to be open?

There's an icon added to the sidebar on Runelite, click the selected option and it copies it to your clipboard. Just worked for me (with clan member list open)


Double org in list?

On my dashboard:

Not 100% sure what's going on here. Both romp orgs appear to go to the same place. Maybe we need a call to .distinct() somewhere?

Offhand, I would say that a distinct() in Person.get_organizations() should solve it, but I can't seem to reproduce the behavior so I can't confirm 100%. (It looks like it could come up if someone were both an editor and an owner, but that doesn't result in a double entry for me.)

Oh, weird, adding other editors fucks it up.

On my dev machine it's even more severe.

I could give it a poke, unless you're already on it.

haha, ok

It looks like each additional editor added another version of the event - I'm guessing because one of the OR conditions (being the owner) was always True.


Zettelkasten: Smart Notes

Experience
Zettelkasten.Usecase.zip
Title
Zettelkasten: Smart Notes
Screenshots

Description
The Zettelkasten method is about optimising your workflow of writing and producing knowledge.
Smart notes system is like a second brain, helping you to explore new ideas and views in a way that they can be easily discovered and reused.
Categories
Work, Personal Growth
Language
en-US
Terms

[X] I agree that this Experience is licensed under the MIT License.
[X] I have intellectual property rights and/or permission to contribute the Experience and its content.
[X] I confirm that the Experience does not contain any harmful or malicious content.

/gallery approve