ERROR: *** no cameras available ***

So i recently bought the raspberry pi 4 along with the RPI-CAM-V2. The RPI-CAM-V2 did not work and had this for the following commands:
aranis@raspberrypi:~ $ libcamera-hello
[0:03:50.556163493] [2641] INFO Camera camera_manager.cpp:284 libcamera v0.1.0+118-563cd78e
Made X/EGL preview window
ERROR: *** no cameras available ***
aranis@raspberrypi:~ $ vcgencmd get_camera
supported=0 detected=0, libcamera interfaces=0
Many people said it gets damaged quite easily, so I assumed it was and returned it. I ordered an offbrand one instead, and got the same exact issue.
Im definitely missing something here. I highly doubt my pi doesn't support cameras. It has the csi ribbon connector with "CAMERA" written on it. What can I do to get this to work? I have to rpi 4 model B and am running bookworm.
Camera is missing in interface config : https://cdn.discordapp.com/attachments/ ... e7b2d628dc&
enable legacy camera is also missing in the other config
camera i ordered instead : https://www.amazon.com/dp/B07DNSKMZ1?ps ... ct_details[/url]
libcamera-vid --list-cameras shows:
No cameras available!
connection:
https://media.discordapp.net/attachments/908239289152847873/1207450073529716736/P_20240214_113506.jpg?ex=65dfb082&is=65cd3b82&hm=7a3c9c705f78ca8e6b42b30cec5241e74e54b7ec81f181a5ab544b24323328e4&=&format=webp&width=1766&height=994
connection:
(i do not know how to paste links in text on this, so sorry for that)

Legacy camera is not available in our Raspberry Pi OS Bullseye images, and you don't need to set any config to enable cameras any more.  I would start again with a fresh OS image, apply all updates, and change no configuration items at all.  You might also find this post helpful to read.
The Amazon camera you linked to is actually a Camera v1 (ov5647).  Do you still have the v2 camera (imx219)?
If you are working with the camera v1 camera from Amazon, I would start with unplugging the IR cut filter wire and reboot the device (with a fresh OS install).  Then if you run libcamera-hello --list-cameras and get none found, can you please post the output of the camera-bug-report tool here please?

I used raspberry pi imager and reinstalled the OS. I did not format it before doing so (does this matter?). I do not have the v2 camera.
It does work now, BUT i forgot to mention that it did detect the camera before and then stopped working after aswell. I'm not going to change anything now since it works, but will let you know if it stops working again.
I had to use libcamera-hello --qt -preview since im using xrdp. It only runs for 5 seconds and then shuts off. Is this normal? How can I run it for longer?
Here's the output when i run libcamera-hello  --qt -preview:
[0:02:08.581324914] [2627]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0+118-563cd78e
[0:02:08.628972442] [2630]  WARN RPiSdn sdn.cpp:39 Using legacy SDN tuning - please consider moving SDN inside rpi.denoise
[0:02:08.631159745] [2630]  INFO RPI vc4.cpp:444 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media0 and ISP device /dev/media1
[0:02:08.631270245] [2630]  INFO RPI pipeline_base.cpp:1142 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
Made QT preview window
Mode selection for 1296:972:12:P
SGBRG10_CSI2P,640x480/0 - Score: 3296
SGBRG10_CSI2P,1296x972/0 - Score: 1000
SGBRG10_CSI2P,1920x1080/0 - Score: 1349.67
SGBRG10_CSI2P,2592x1944/0 - Score: 1567
Stream configuration adjusted
[0:02:09.025015114] [2627]  INFO Camera camera.cpp:1183 configuring streams: (0) 1296x972-YUV420 (1) 1296x972-SGBRG10_CSI2P
[0:02:09.025443893] [2630]  INFO RPI vc4.cpp:608 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1296x972-SGBRG10_1X10 - Selected unicam format: 1296x972-pGAA

Are you using the IR cut filter or the IR lights?  If so, the power draw will sometimes cause the camera to stop working.  We do not recommend you use these devices without an external power source!

I had to use libcamera-hello --qt -preview since im using xrdp. It only runs for 5 seconds and then shuts off. Is this normal? How can I run it for longer?

This is normal, it runs for 5 seconds then stops.  You can update the timeout with the --t command line argument.

Resolving now as the original problem is working.


prefix is current class

should also show errors for types/interfaces
  TYPES:
    BEGIN OF ty_git_branch,
      sha1         TYPE zif_abapgit_definitions=>ty_sha1,
      name         TYPE string,
      type         TYPE ty_git_branch_type,
      is_head      TYPE abap_bool,
      display_name TYPE string,
    END OF ty_git_branch .

INTERFACE lif_foo.
  TYPES: foo TYPE i.
  TYPES boo TYPE lif_foo=>foo.
ENDINTERFACE.

probably have this as a parameter for the check, not to break anything that is currently running this check


can not sync

the node get syncing at 3170766 and the it stopped syncing. but nothing error in logs
what can I do.fellows?

This repository is currently not maintained.
Please use the repository forked by the Symbol core team.
https://github.com/symbol/symbol-bootstrap

This is bootstrap; it's just an environment; the Symbol node itself is downloaded and run as a docker image.
The version in this repository downloads Symbol server (Catapult Client) v.<IP_ADDRESS>. This version cannot synchronize certain blocks.
So you need to use the Symbol core team bootstrap which uses v.<IP_ADDRESS>.

This is bootstrap; it's just an environment; the Symbol node itself is downloaded and run as a docker image. The version in this repository downloads Symbol server (Catapult Client) v.<IP_ADDRESS>. This version cannot synchronize certain blocks.
So you need to use the Symbol core team bootstrap which uses v.<IP_ADDRESS>.

I started the node according to the readme, and then checked the version of Node, but it will generate a directory called target, by checking the docker-compose.yml file in the target/docker/ directory, It was found that the symbolplatform/symbol-server version used was still <IP_ADDRESS>, and after manually changing it to <IP_ADDRESS>, the broker container and node container would not start. The error data is recovered.
Any suggestions for installation

Since symbol-bootstrap is a tool to generate a group of execution servers for Symbol nodes, it will not work just by changing the version of Symbol Server. It is also necessary to change the configuration file. (You will get a better idea of this by doing a manual installation... it is very tedious)
I think you should install symbol-bootstrap v1.1.11.
Another option is shoestring, but it still lacks some features.
symbol-bootstrap v1.1.11 installation
(vague recollection...)
git clone https://github.com/symbol/symbol-bootstrap.git
cd symbol-bootstrap
npm i
npm run build
sudo npm install -g .
symbol-bootstrap -v
```


Properly escape all control chars when formatting

Fixes #45. /cc Thanks to @vdka for pointing out it was missing! 🎉

Forgot to merge this before handing over. This should ensure proper escaping even for very infrequent chars, @DanToml

👍


This article has not been updated with the new naming scheme for Microsoft Business Basic/Standard/Premium

This article has not been updated with the new naming scheme for Microsoft Business Basic/Standard/Premium. Bookings should be shown as available for Business Standard and Business Premium.

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

ID: f7484dd4-5d94-dd6c-0dbe-551c852677c1
Version Independent ID: 257d60e2-9313-e08b-dccf-120cb4b30f5b
Content: Microsoft Bookings Frequently Asked Questions
Content Source: microsoft-365/bookings/bookings-faq.md
Service: bookings
GitHub Login: @kwekuako
Microsoft Alias: kwekua

@AustinBoak Thank you for your feedback. We have made changes to the document via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/3579
Thanks
Sri

@msbemba Thank you very much for the contribution and updating the documentation with PR. @AustinBoak Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Faster Float to String

I've made printing floats a lot faster, 1.2-6.37x faster depending on the platform and the float. https://github.com/will/fp
Before showing up with a large patch out of the blue, I wanted to check in and see if that's something the project would want.

You ported the Grisu3 algorithm? Well done! I mentioned it in #2220 and would love to see this in Crystal :)

I think it would be a great addition. 👍

Just as an aside, you shouldn't do multiple iterations inside a Benchmark.ips report. IPS already optimizes the number of iterations based on warm up runs, and comparing values for single operations is much more intuitive than multiple operations.

@will That's awesome!!
Two additional benefits is that this method won't depend on libc's snprintf anymore (though for Float32 it still does) and an improved accuracy or "correctness", as shown by bench 5e-324. So 👍🎉  for this :-)

Why is Float32 different?

@RX14 I added the #ips method ;) . I was doing this when I had 3 things I was benchmarking: (stdlib, new with making a new buffer each time, and new with reusing the buffer) and I wanted to see how much faster things were instead of slower. I didn't want to do math, so I made it so the first one took about a second. That maybe should be an option to ips.
@asterite grisu3 fails on about 0.5% of floats, and you need to fall back to some other method. So unfortunately the sprintf is still there. In the v8 double-conversion library, they fall back to this other method called dragon4 which uses arbitrary precision, but I think that can be left for future improvement.
Float32 support could be added I think. There is some code for that but I haven't looked at it yet. I was also thinking that maybe it wouldn't be so bad to cast up to a float64 first?

I tried to cast to Float64 in the current algorithm but the float changes its value and the end result is different than the original. I don't understand why, but that's what happened. You could probably try it with grisu3 and see what happens. If it works, we should do it :-)

I'm having trouble with one spec
  1) IO encoding encode prints numbers
     Failure/Error: slice.should eq("0123456789.110.11".encode("UCS-2LE"))

       Expected: Bytes[48, 0, 49, 0, 50, 0, 51, 0, 52, 0, 53, 0, 54, 0, 55, 0, 56, 0, 57, 0, 46, 0, 49, 0, 49, 0, 48, 0, 46, 0, 49, 0, 49, 0]
            got: Bytes[48, 0, 49, 0, 50, 0, 51, 0, 52, 0, 53, 0, 54, 0, 55, 0, 56, 0, 57, 0, 46, 0, 49, 0, 49, 48, 46, 49, 49]

     # spec/std/io/io_spec.cr:778

Where are those 0 bytes coming from?

They come from the UCS-2LE encoding. I think that encoding adds a zero byte after each byte.
It's strange that that spec fails, it doesn't seem to have anything to do with float formatting.

LLVM 3.5 again?

@Sija good idea to check, I was on llvm 3.6.2, but using 4.0.0 didn't change anything.
@asterite my branch is at https://github.com/will/crystal/tree/grisu3 if you want to check. After this encoding thing is figured out, there's some cleanup left, and then I'll send a PR.

Figured out the issue was I was using IO#write_byte which ignores the encoding.

Closing to open pr #4333


status updation while watching pods

kubectl get pods -w
NAME                   READY   STATUS              RESTARTS   AGE
foo-69d6cc756f-l5xzg   1/1     Running             0          32m
foo-69d6cc756f-mbxkm   1/1     Running             0          32m
foo-69d6cc756f-w6p7g   1/1     Running             0          32m
hitter                 0/1     ContainerCreating   0          4s
NAME                   AGE
hitter                 6s
hitter                 2m10s
hitter                 2m10s
hitter                 2m10s

hitter is a temp pod created with  kubectl run hitter --image=busybox --restart=Never --rm -it -- /bin/sh

Really feel that status should be visible inspite of just Name and Age something like:
NAME        STATUS              AGE
hitter     RUNNING            6s
hitter     TERMINATING     2m10s
hitter     TERMINATED     2m10s

kubectl version for reference :  kubectl version
Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.1", GitCommit:"d647ddbd755faf07169599a625faf302ffc34458", GitTreeState:"clean", BuildDate:"2019-10-07T14:30:40Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.2", GitCommit:"66049e3b21efe110454d67df4fa62b08ea79a19b", GitTreeState:"clean", BuildDate:"2019-05-16T16:14:56Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}

discussion on this would be really appreciated  :+1:

/sig cli
/area kubectl
/kind bug

I think this affect UX badly.
Now I have to use watch kubectl ... to get what I want to see.

Came here to raise this issue.
I frequently used alias kgpwnt="kubectl get pods -w | grep -v Terminating" to blacklist the status "Terminating", and it made it easier for me to see when my deploy was fully ready.

Also want to raise the issue. I am seeing this in all v1.16.x versions of kubectl. The hit to UX of not being able to use the --watch flag has kept me from upgrading from v1.15.3

+1
Any thoughts from the maintainers?

1 to this issue.

The same situation from myself.
Kubectl Version:
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.0", GitCommit:"70132b0f130acc0bed193d9ba59dd186f0e634cf", GitTreeState:"clean", BuildDate:"2019-12-13T11:52:32Z", GoVersion:"go1.13.4", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"14+", GitVersion:"v1.14.9-eks-c0eccc", GitCommit:"c0eccca51d7500bb03b2f163dd8d534ffeb2f7a2", GitTreeState:"clean", BuildDate:"2019-12-22T23:14:11Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}

I used kubectl a 6-7 month ago (version  1.13) and it worked fine for me, as expected:

when run kubectl get pod --watch :
get updates in default format
when run kubectl get pod -o wide --watch :
get updates in wide format

I don't remember exact kubectl version for that binary file.


ADD: Tdarr (v1) - Audio/Video library transcoding automation

What this PR does / why we need it:
Which issue (if any) this PR fixes:
Fixes #
Any other useful info:

This is the greatest thing for your NAS since sliced white bread (I type as I eat roast beef on rye.) if you want to convert all your various encoded video files to H.265/HEVC to save diskspace.
Unfortunately I just found out this is outdated. It's version 1 and now there's a version 2 out.
@davestephens - subjective if you want to pull it in now, or wait 'till I upgrade it to version 2. I haven't looked at v2 yet and don't know if it's a minor or major change to the PR. Honestly, this is such a hot feature that you might want to pull it in now.


added mappings fix

Ctrl-f doesn't move to the next snippet placeholder. Ctrl-d doesn't scroll the documentation window.


Switch doesn't react after async location change in react-native

Version
react-router 4.1.1
react-router-native 4.1.1
react-router-redux 5.0.0-alpha.6
history 4.6.1
Example repo
https://github.com/dig3/react-router-native-bug
Sorry for not adding styles ;)
Steps to reproduce

$ yarn
$ react-native run-ios
Open Test-Native app in the simulator
Click the Link Page1
Click Async Page2 or Async Page2 Thunk
Wait 5 seconds

Expected Behavior
After clicking one of the buttons in step 4 and waiting for 5 seconds, the location changes from /page1 to /page2 (the location change is showed in text below the Welcome to React), and the component associated with /page2 is showed.
Actual Behavior
The component associated with /page2 never appears, nothing changes (I keep seeing the component associated with the last route /page1).
I tested the same behavior in a web app, and everything works! If it helps I can create a repo with that code.

See this guide: https://github.com/ReactTraining/react-router/blob/master/packages/react-router/docs/guides/blocked-updates.md

Thank you @timdorr !!!

@dig3 - were you able to solve this? What was your workaround?

yep! :) I used the second approch that it's mentioned in the docs.
Something like:
const Main = () => (
  <div>
    <Switch>
      <Route exact path="/" component={Index} />
      <Route exact path="/getting-started" component={GettingStarted} />
      <Route exact path="/signin" component={SignIn} />
      <Route component={NotFound} />
    </Switch>
  </div>
)
export default withRouter(connect(mapStateToProps)(Main))


Odd spacing with SCM action button

See attached screen capture. The action button seems to be intended by some margin and that look odd

@jrieken do you still have a repro of this one? I cannot seem to be able to reproduce it.

Yeah, I still see this... Maybe because I only have single view in the viewlet? Or because some SCM settings? I have these
"scm.defaultViewMode": "list",
"scm.alwaysShowRepositories": false,
"scm.showActionButton": true,

This is the full picture


Smart contracts for OpenBazaar and the forthcoming token

This is a tracking issue to compile a list of smart contract ideas to:

Integrate into OpenBazaar to extend the marketplace (i.e. the types of things you can buy and sell)
Extend the utility of the OpenBazaar token
Novel ways of distributing tokens based on marketplace activity
Enhance the reputation and safety of users
Interacting with smart contracts from other projects

If anyone has suggestions and posts them in the comments, I'll add them to the list below.

OpenBazaar protocol

[ ] 1. Futures contract. A smart contract for users to easily speculate on the price or outcome of a future event in a fully collateralised manner, taking advantage of OpenBazaar's network of moderators.
[ ] 2. Auction contract. Purchase items using an auction (various types).

Token

[ ] 1. DAO for distributing token rewards. Token rewards could be awarded to DAOs to manage distributions; the DAO may be comprised of moderators who use their knowledge/experience with dealing with vendors and buyers to fairly reward marketplace activity.
[ ] 2. Channel advertising contract. Users purchase content spaces with Ethereum or whatever, which are held in a pool and allocated on a pro-rata basis based on individuals that have staked OBT in that channel contract.
[ ] 3. Reputation staking contract. Stake tokens for your peerID (as a general user or store) to signal capital investment in your reputation.

I like the auction idea. That would be really cool. Though auctions are notoriously difficult in the on-chain blockchain setting (there are a lot of subtle gotchas), so proceed with caution there.
We could also do a crowdfund contract -- kickstarter style, but no fees. IRL reputation is important for this use case though, so keep that in mind.
We could create an affiliate contract that could be used by sellers. It would provide a certain % of the sales revenue to the affiliate that provided the link that brought the buyer to the seller.

@drwasho @Austin-Williams  I have few ideas in mind, stemmed out from previous discussion with Dr. Washinton months back. Though we need to discuss them in details, I am writing their summary here-:

Ad-Spaces- There can a specialized area in the OB Client for showcasing ads. The sellers can purchase spaces in those areas and showcase their ads as per their needs. These ads needs to be finalzed. In nutshell we are selling ad-spaces and seller can use as per his/her needs. The process for selling ad-spaces can be one or mix of 1 of the following- Fixed price, Vickrey Auction
Store affiliation program- This has a very broad scope. In nutshell a store can launch its own tokens which can be used to purchases goods from the store and get good discounts. New stores can use this mechanism to get fund for their stores initially by selling tokens cheaply and later on those tokens can be used to purchased products on the store.
DAO based stores- It can be an extension to the previous one. Where new stores can get funding by launching and selling their tokens. Later on when store starts selling things the funds will be distributed as per the token holding of each token holder.
Channel ad-spaces- This can be an extension to the 1 point. In this each store can provide its space to other stores/listing to showcase their ads.

I will create a separate issue for each one of them, once accepted, and will write their details

This sounds great. When is the token released?

No token
获取 Outlook for iOShttps://aka.ms/o0ukef

发件人: fcl1892<EMAIL_ADDRESS>发送时间: Sunday, May 19, 2019 7:42:52 PM
收件人: OpenBazaar/smart-contracts
抄送: 董焘; Manual
主题: Re: [OpenBazaar/smart-contracts] Smart contracts for OpenBazaar and the forthcoming token (#3)
This sounds great. When is the token released?
―
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/OpenBazaar/smart-contracts/issues/3?email_source=notifications&email_token=AJC5FJH4SHKRVN72EIKPBSTPWE4LZA5CNFSM4F2SJVZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVXAL6A#issuecomment-493749752, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJC5FJHGAHJYLG7QCPPFG23PWE4LZANCNFSM4F2SJVZQ.

至少现在没有这个计划
获取 Outlook for iOShttps://aka.ms/o0ukef

发件人: 董 焘
发送时间: Monday, May 20, 2019 11:58:39 AM
收件人: OpenBazaar/smart-contracts; OpenBazaar/smart-contracts
抄送: Manual
主题: Re: [OpenBazaar/smart-contracts] Smart contracts for OpenBazaar and the forthcoming token (#3)
No token
获取 Outlook for iOShttps://aka.ms/o0ukef

发件人: fcl1892<EMAIL_ADDRESS>发送时间: Sunday, May 19, 2019 7:42:52 PM
收件人: OpenBazaar/smart-contracts
抄送: 董焘; Manual
主题: Re: [OpenBazaar/smart-contracts] Smart contracts for OpenBazaar and the forthcoming token (#3)
This sounds great. When is the token released?
―
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/OpenBazaar/smart-contracts/issues/3?email_source=notifications&email_token=AJC5FJH4SHKRVN72EIKPBSTPWE4LZA5CNFSM4F2SJVZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVXAL6A#issuecomment-493749752, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJC5FJHGAHJYLG7QCPPFG23PWE4LZANCNFSM4F2SJVZQ.


support(ledgerjs-cal): CAL update

📝 Description
CAL update
❓ Context

Impacted projects: `` lld and llm
Linked resource(s): `` crypto-assets repo

✅ Checklist

[x] Test coverage
[x] Atomic delivery
[x] No breaking changes

📸 Demo
n/a
🚀 Expectations to reach
n/a

On hold because current release branch contains unmerged CAL updates, when it's merged this branch will need to be rebased and snapshots re-generated...

@adrienlacombe-ledger Conflict on libs/ledgerjs/packages/cryptoassets/data/erc20-signatures.js after merge of previous CAL update from branch release :disappointed:
I think this PR should be created again starting from develop, or at least the file should be generated again.

@adrienlacombe-ledger Conflict on libs/ledgerjs/packages/cryptoassets/data/erc20-signatures.js after merge of previous CAL update from branch release disappointed I think this PR should be created again starting from develop, or at least the file should be generated again.

https://github.com/LedgerHQ/ledger-live/pull/479


first crack at fixing intermittent docker vm startup (issue-187)

Not fixed locally.
I stopped containers and rdo.
Quit iTerm.
Re-opened iTerm.
cd ~/devel/goldstone-server
eval $(docker-machine env default) (just to test that "default" was not running). error thrown, confirming it was not yet running.
bin/start_dev_env.sh
exited with failure message:
ERROR: Couldn't connect to Docker daemon - you might need to run docker-machine start default
Full output attached:
issue-187.txt
Uploaded using ZenHub.io

with set -x
with_set_-x.txt
Uploaded using ZenHub.io

ran docker-machine upgrade default and tried again from a state where containers and vm were stopped.
Same error resulted.
afterUpgrade.txt
Uploaded using ZenHub.io

after re-creating default docker vm.
sat in limbo for 4 minutes before erroring.

Performed a fresh install of the operating system this weekend (not a backup from time machine, but starting from scratch).
error message remains:
ERROR: Couldn't connect to Docker daemon - you might need to run `docker-machine start default`.

prompted by this message, I regenerated certs with 'docker-machine regenerate-certs default' ...
Waiting for VM "RDO-kilo" to power on...
VM "RDO-kilo" has been successfully started.
(default) Starting VM...
Started machines may have new IP addresses. You may need to re-run the `docker-machine env` command.
Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host "<IP_ADDRESS>:2376": dial tcp <IP_ADDRESS>:2376: getsockopt: connection refused
You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'.
Be advised that this will trigger a Docker daemon restart which will stop running containers.

...followed by a shutdown of containers and vms, closed iTerm, reopened and tried bin/start_dev_env.sh again. Same error.
Full terminal output attached.
post-reinstall.txt
currently trying to remedy pycadf import error. rebuilding containers. pending...

the issue seems to be upstream interaction between docker and virtualbox.  abandoning this work since it is not a fix.


Add support for Rspec (Ruby)

Added support for the Rspec test suite (Ruby).
The result JSON is very similar to the one generated by the mocha Test framework, so the new parser has almost the same behavior.

Hi @oscarmampel, thanks for this contribution.


DS-491 Portal contact cards

Jira
https://pegadigitalit.atlassian.net/browse/DS-491
Summary
Adds custom_menu and subheadline props for the Listing Teaser.
Details

Doc page added to demo how contact list can be created using Listing Teasers.
custom_menu prop added to handle additional use cases other than share menu and action menu.
subheadline prop added to create a slot for secondary headlines.

How to test
Run the branch locally and check the contact list doc under Listing Teaser.

looks good


[SPARK-46266][PS][CONNECT][TESTS] Re-organize NumOpsTests

What changes were proposed in this pull request?
Re-organize NumOpsTests, factor out the astype tests
Why are the changes needed?
group the tests by topics
Does this PR introduce any user-facing change?
no, test-only
How was this patch tested?
ci
Was this patch authored or co-authored using generative AI tooling?
no

ci link: https://github.com/zhengruifeng/spark/actions/runs/7099554193

cc @HyukjinKwon @itholic

thank you @dongjoon-hyun @itholic


Clear storage - displaying only incoming tx

Description:
Clearing the storage (or loading the URL in a browser that never loaded it before) causes to show only incoming tx in the safe. This issue is solved if we refresh the page

URL: https://pr680--safereact.review.gnosisdev.com/app/#/safes/0x9913B9180C20C6b0F21B6480c84422F6ebc4B808/transactions
Steps:

Enter the URL
Open the browser console > applications > clear site date. Don't click it yet
Do a hard cache reset and reload by right clicking on the "reload arrow" next to the URL bar. While is reloading clear the storage
After it finish reloading the safe will display only incoming tx's

Closing as this seems to be a duplicate to #700


Update Stackdriver Logging details

Updated the Stackdriver Logging section to include the Cloud Ops for GKE resource model and guidance on how to use.
Updated the options for exports.

/check-cla

The CLA request has been completed

Preview link: https://deploy-preview-26925--kubernetes-io-master-staging.netlify.app/docs/tasks/debug-application-cluster/logging-stackdriver/#verifying-your-logging-agent-deployment

I'd love if someone from @kubernetes/sig-instrumentation-approvers could take a look at this and give a technical LGTM.
/sig instrumentation

@celestehorgan we removed support of stackdriver in our e2e tests, so we may want to remove this page entirely. I'll add to SIG Instrumentation agenda this week to either find a reviewer or make a decision.

Thanks @ehashman! Loop back round here or in slack and let me know how this goes.

/sig cloud-provider
/cc @cheftako

I believe we are trying to exclude vendor-specific or dual-hosted contents in the website.

SIG Instrumentation is fine with this (and removing this vendor-specific doc), but we think these docs don't belong to us. Pinging SIG Cloud Provider.

/hold
So the current consensus is that this page should be removed rather than fixed.

Related to PR https://github.com/kubernetes/website/pull/28166.

👋 @charlesbaer .
Since there has been no recent activity on this PR, I plan to close it.
Feel free to reopen this pull request.
/close


bad allocation

When opening a large file in Notepad++ (64bit 7.8.5) while NppBplistPlugin is installed multiple error dialogs pup-up when the file is loaded and if
Steps to reproduce:

Unzip the attached file zero.bin
Make sure Notepad++ is not running
Select "Edit with Notepad++" in the file's context menu
The error popups are shown:

Title: Notepad++ bplist bad allocation
Text: bad allocation
So there are two questions:

Why is the plugin active on non-plist file?
What memory does it try to allocate?

The following file triggers this bug (unzip and open with Notepad++ with NppBplistPlugin installed). It is a 360MB file with only zero data.
zero.zip
I know this file does not make much sense however however a user may open such a file accidentally. In any way a plugin should not affect Notepad++ in a negative way independent what file the user loads.

oh. Thanks for the sample file!

Validation is pretty simple
  template <typename T>   bool IsValidBplist( T pFileBuff )   {     return ( pFileBuff.size() > sizeof( defs::g_szHeader ) ) &&       std::equal( std::begin( defs::g_szHeader ), std::end( defs::g_szHeader ), pFileBuff.begin() );   }
and goes before almost all stuff.
Reproduced the bug - saw the same bad_alloc from entire notepad++, before the same one from Bplist plugin. Will  fix it today, also it takes some time to validate plugin update by owner.

@jpstotz , fixed and published release with binaries. Pushing update to notepad++ will take a bit, but you could download and replace manually, or wait for integration with npp and their plugin manager.

@azerg Thanks for fixing this issue. We will see when the fixed version v<IP_ADDRESS> will be available via Notepad++ PluginManager.


Instagram Points - UI View

Overview
In the event log, show individual instgram points
Tasks

[x] Update the event log to display Instagram Points dates for WearItWednesadays when applicable.

User Stories

As a user, I want to be able to see my instagram points in my event log so that I can confirm that I earned my points.

decided to make instagram points a special case, where it will display on the top of the event log


[Update Snap] Nocturne

Checklist
All items in the list below needs to be satisfied.

[ ] Is the summary of the change documented in this ticket?
[ ] Has a MetaMask Snaps team member reviewed whether the changes need to be vetted?
[ ] If there are changes that need to be vetted, attach a description and the relevant fixes/remediations to this issue.
[ ] The corresponding pull request in this repo has been merged.

This update changes return types to ensure that undefined is never used in JSON
https://github.com/nocturne-xyz/snap/pull/35/files
The new version is 0.11.0


JavaScript

#JavaScript
##User Story
As a bootcamp student
I want the prework notes to be structured on a webpage
So that I can easily find and read the information
##acceptance criteria
GIVEN a Prework Study Guide Website
WHEN I view the study guide
THEN i can see the four topics I learned listed along with a suggestion on what I should study 1st

fixed it!


Added 7 new pages to switch between them

#61 Various Page Options like lined blank etc.
Add 7 new pages and switch button to change page styles.
@smaranjitghose

The new pages are cool @EkjotKaur !

Further suggested changes:

In the script, we need to decide the boundaries and appropriate line spacing (by default)so that every time we get to a new line we don't need to adjust it if a page input is changed.
Add an option that if the input text overflows from the given space(as per page settings), it's automatically continued in a new page (Similar to what we have for our modern word processors like MSWord or Google Docs)
Replace the button for switch page with a drop-down
Please comment each section of the code (the scripts as well the sections of the HTML files you are dealing with) more elaborately and put proper indentation.(If required use prettier extension in VS Code) 🙏


Node version?

I'm trying to contribute a PR but i'm wondering what node version to use? If you let me know I'll add .nvmrc in a separate PR

For example: running npm run lint on master branch with Node v5.10.1 gives the following error, might be because i'm using the wring Node version?
`Ø ~/sites/forks/react-vimeo (master) $ npm run lint

<EMAIL_ADDRESS>lint /Users/lukewilliams/sites/forks/react-vimeo
eslint .

TypeError: Cannot read property 'visitClass' of undefined
at monkeypatch (/Users/lukewilliams/sites/forks/react-vimeo/node_modules/babel-eslint/index.js:199:40)
at Object.exports.parse (/Users/lukewilliams/sites/forks/react-vimeo/node_modules/babel-eslint/index.js:410:5)
at parse (/Users/lukewilliams/sites/forks/react-vimeo/node_modules/eslint/lib/eslint.js:449:27)
at EventEmitter.module.exports.api.verify (/Users/lukewilliams/sites/forks/react-vimeo/node_modules/eslint/lib/eslint.js:603:15)
at processText (/Users/lukewilliams/sites/forks/react-vimeo/node_modules/eslint/lib/cli-engine.js:201:27)
at processFile (/Users/lukewilliams/sites/forks/react-vimeo/node_modules/eslint/lib/cli-engine.js:226:12)
at /Users/lukewilliams/sites/forks/react-vimeo/node_modules/eslint/lib/cli-engine.js:322:26
at /Users/lukewilliams/sites/forks/react-vimeo/node_modules/eslint/lib/util/traverse.js:61:17
at Array.forEach (native)
at traverse (/Users/lukewilliams/sites/forks/react-vimeo/node_modules/eslint/lib/util/traverse.js:41:54)
`

@redroot Thanks, glad to have the support.
That actually might be due to an outdated eslint setup.
I'll activate greenkeeper on this project to keep the deps up to date.

@BerkeleyTrue any thoughts on the node version?

Definitely what ever is currently LTS, so Node 4. But I don't think 4/5/6 will make much of a difference.

@BerkeleyTrue Im going to close this as the .nvmrc file handles this now, .node-version is also an option we can add at a later date. Any issues let me know.


Question about sorting the images

Is there a way to do a reverse sort of the images? I would like the latest images to appear at the top.
Also, is it possible to just check for new images in the "Auto" (don't download them automatically)?
P.S. Thanks for the great software

Hi, siburary,

Is there a way to do a reverse sort of the images?
Currently no. But it sounds nice in some scenarios. I am working on it.
Also, is it possible to just check for new images in the "Auto" (don't download them automatically)?
No. And I cannot imagine that auto without downloading images would be useful for most people. Usually, only checking images will not take a long time and there would be no substantial time saving by auto without downloading.

Currently no. But it sounds nice in some scenarios. I am working on it.
Thanks!

Release Ver 1.4.0.
You can reverse the order of images by setting "Order from newer images" in "File".


When does one need to install @img/sharp-libvips-dev?

I am using Meteor and its bundler keeps bogging me with the following missing module warning:
Unable to resolve some modules:

  "@img/sharp-libvips-dev/include" in ./node_modules/sharp/lib/libvips.js (web.browser)
  "@img/sharp-libvips-dev/cplusplus" in ./node_modules/sharp/lib/libvips.js (web.browser)

If you notice problems related to these missing modules, consider running:

  meteor npm install --save @img/sharp-libvips-dev

Should I install this missing dependency? As a dev dependency?

No, this is one of sharp's own devDependencies and you do not require it to use sharp. It looks like a bug/feature of Meteor - see https://github.com/meteor/meteor/issues/9285


New homepage

Redesigned the homepage to look better and more clearly communicate what iNat is about.

@siebrand would it be possible to do a pull from inaturalist to translatewiki? We added a new homepage and have gotten some requests from folks who want to get to work translating it. Thanks!


arrow not used！！！

download this video，arrow not work。
https://user-images.githubusercontent.com/32098764/219602972-a07f1d78-1f21-46c5-981a-90776062bc1a.mp4

Hello! @sqhl
Thanks for your feedback! We are very glad that you use Ketcher and leave comments. But unfortunately, we did not see the video on your link. If the problem still persists for you, record a new video and describe the steps to reproduce.

Thanks for your reply! @Zhirnoff
It looks like a bad video↑，but I still have some trouble using it：
1.One arrow exist，unable to export。
2.Different arrows cause export exceptions。

Related Indigo issue: https://github.com/epam/Indigo/issues/1044

Bug fixed by https://github.com/epam/Indigo/issues/1044


hotkeys: Fix "n" key behavior in some narrows.

If you were in the "Starred messages" narrow and
your pointer was on a message with the stream/topic
of "social/lunch", we wouldn't move you to the unread
messages for that topic.
I fixed this by removing the code that looked at
the current message's topic.  Instead, we only look
at the active narrow to figure out the "next" topic
to go to.
Fixes #14120.

Testing Plan:
GIFs or Screenshots:

Looks great, merged, thanks @showell!


Keeps on redirecting to login

I setup CORS in my API.
config.middleware.use Rack::Cors do       allow do         origins '*'         resource '*',                  :headers => :any,                  :expose  => ['access-token', 'expiry', 'token-type', 'uid', 'client'],                  :methods => [:get, :post, :options, :delete, :put]       end
I also setup
signInRedirect:             '/login',
I can receive the response headers
access-token, client and so on.
However when i add canActivate: [Angular2TokenService] on my router and try to signin, it keeps on going back to login instead of redirecting to a page this.router.navigateByUrl('/profile')
Is there any im missing here?
This is a very excellent project, I would like to get it work in my app. Thanks in advance;

my fault my CORS is not configured correctly; headers is not exposed


add calculator logic

In this feature:

I added calculate.js and operate.js modules.
I added event listeners to each button for calculating operation.

Thanks for the correction @Bondok6


Add cassandra extension

Hello.
We at our company use your images for CI processes and we lack this extension to run functional tests with the Cassandra database.
I suspect that the docker-php-ext-install command for some reason doesn't activate the extension (as if it doesn't see the PHP_INI_DIR env variable), so it may need to be replaced with the manual make and make install.
IDK about multiarch-support. Without it, I cannot install the deb package cassandra-cpp-driver. I tried to compile the extension locally, but there were also errors, so I preferred this option. Tell me if this lib is not acceptable, I will look for a way to compile the extension.
Tell me if I need to modify the implementation somewhere.

In the last commit, I managed to fix the extension building. Now docker-php-ext-install successfully builds and activates the extension.

Hi @erickskrauch
Thanks for your contribution!
If you look at the Debian build you'll see that the Cassandra extension faills to pass the goss test.

Will investigate and submit PR with fix.


Sprint15 staging

There is unapproved work in this PR. This staging branch needs to be recreated with only the approved code.


Fix date header in bosh-monitor email plugin to conform with rfc5322

The date header in the email plugin of bosh-monitor did not conform to rfc5322, causing problems in some mail clients.

Thanks for the PR! I know it's a small change, but if you wouldn't mind signing the CLA we can merge this change in more easily.

Thanks for the reply. Actually I did sign the CLA, it seems @cfdreddbot didn't notice?


Update VERSION variable in Makefile to v0.2.3

Description of changes:

Update ack-generate version in Makefile

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/lgtm


RDK-35648: Override HDMI Color Depth

Reason for change:
Override HDMI Color Depth
Test Procedure: None
Risks: Low
Change-Id: I31cedb96ed00345ac0e8916c2c05e65790b42c2a
Signed-off-by:Anooj Cheriyan<EMAIL_ADDRESS>

Can one of the admins verify this patch?

New PR created: 2519


GSoC 2020: Webassembly backend

I worked on translating Ergo smart contracts to Webassembly (Wasm) as part of Google Summer of Code (GSoC) 2020. You can find an overview of my project in PR #777 on the Ergo repo. TL;DR: Ergo adds a smart contract language frontend to the Q*cert compiler. I extend Q*cert with a proof-of-concept Webassembly backend.
This PR constitutes my GSoC project submission. It's meant to be frozen on the GSoC deadline on 8/31/2020. Future edits should go to Jerome's working PR #142.
In the following, I will try to wrap up some technical aspects of my implementation.
Overview
The Wasm specification contains a reference implementation in OCaml. I implement a translation from Imp(Ejson) to the Wasm reference Ast. We also hook up the reference interpreter as Q*Cert evaluation function for testing. All my code is OCaml and not verified. Jerome did some plumbing on the Coq side.
Preliminaries

We add the opam dependency wasm.1.0.1.
We switch to separate extraction to circumvent cyclic dependencies between Coq and OCaml.

Code generation and evaluation
Code generation and evaluation is implemented in /compiler/wasm/. The main component is the functor in wasm_backend.ml which is instantiated in wasm_ast.ml. The latter provides all functions necessary to extend Q*cert with a new Wasm_ast language target. The functorization is needed since Ergo's extracts its own Imp and OCaml cannot infer their equality.
The translation functions in wasm_backend.ml rely on an incomplete intermediate representation for Wasm (wasm_ir.mli). In Wasm, functions, types, and variables are addressed by their integer index within the module. The IR replaces these integers with OCaml variables for more convenient addressing. It also provides concise constructors for Wasm AST elements.
Another convenience module is wasm_util.ml. It contains a small lookup table implementation based on Hashtable which is used all over the place to get from OCaml values to integer indexes.
In contrast to Imp's block-scoped variables, Wasm has only function-scoped variables. The translation in wasm_backend.ml does not take this into account and relies on unique variable names. We pre-process the Imp using the translation in wasm_imp_scoping.ml in order to resolve this conflict (see #145).
I implement a binary encoding for EJson values in wasm_binary_ejson.ml. This encoding is used for storing constants in the linear memory of the generated Wasm module. It's also used at runtime for communication between the interpreter and the runtime module (see Ergo PR #777). I briefly describe the encoding in the header of source file.
Runtime
The generated wasm module relies on a Wasm runtime for execution (see Ergo PR #777). This runtime is implemented in Assemblyscript (NPM ecosystem) and lives in /runtimes/assemblyscript/. We build the runtime with npm run asbuild:untouched and run some tests with npm test. The Assemblyscript source resides in assembly/index.ts, the compiled Wasm in build/untouched.wasm.
We add a dune rule that encodes the binary runtime build/untouched.wasm into an wasm_runtime.ml file and bundles it into wasm_backend.ml.
Tests
We provide some rudimentary tests under /tests/imp_ejson/ which can be run all at once using the command make -C tests wasm-imp-spec. The tests evaluate pieces of Imp(Ejson) on a given input in order to produce the expected output. Then the Imp code gets translated to Wasm and executed with the same input on the Wasm reference interpreter. The resulting output is compared with the expected output (should be equal).
Issues

We do not support all Imp operators (#133).
It might be useful to verify some aspects of the new backend (#146).
We should better integrate the new tests with the existing tests.
After supporting all operators, we should run all existing tests on the Wasm backend.
We have to double check that the operators are implemented in a functional way (no mutation) (#148).

Some other pages link to this PR as my GSoC project report. Let's keep it as is. We can track progress in #153.


Update VLI firmware on host OS update

The rpi foundation released a VLI firmware update in order to mitigate several issues, one of them being overheating: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=250990
We need to decide if we include this early testing version

[robertgzr] This issue has attached support thread https://jel.ly.fish/#/support-thread~5a8ce9f0-4710-4f07-9a96-005d3dad862b

@floion Currently waiting for a few more days to get an answer from rpi engineers on when and if this early testing version will become a beta or stable release. The PR to add support for this is ready, just needs the final firmware binary source to be specified.

Sounds good, thank you

Answer from maintainers:
"Any supported updates to the VLI will be via the rpi-eeprom package we haven't decided on the update mechanism yet which won't necessarily be the vl805 tool.
Sorry no timescales yet, maybe a beta in the next few weeks"
Discussed in upstream issue: https://github.com/raspberrypi/firmware/issues/1270
Will also update PR to re-use rpi-eeprom package I added for bootloader code update, which is merged. Will do so as soon as the upstream rpi-eeprom repository gets the beta firmware.


[RFC] Add a territory selector widget

Target Use Case
Many projects from PS need the functionality of filtering some layers (and widgets) based on territory (state, city, county, DMA, FSA, ...). Some examples of projects that use this feature would be Telus Insight or Radarview, where a user wants to focus the data exploration on a specific geometry that comes from a well-known territory.
Implementation Proposal
To cover this functionality, the framework C4R could provide a widget composed of a UI component to select a territory (single dropdown select or autocomplete) that uses a source to show the geometry in the map by using the Spatial Filter to filter some layers. An extra ball for business strategy could be to support directly territory geometries from the DO, like https://carto.com/spatial-data-catalog/browser/geography/cdb_block_96b823a2/ or https://carto.com/spatial-data-catalog/browser/geography/mbi_counties_46ea8aaa
Some options for this widget can be:

Filtered sources: list of sources to be filtered when a territory is selected
Show the contour: boolean to indicate if the contour of the geometry should be shown or not

You can load a GeoJson layer that represents the territory selected and add a spatial filter using the  addSpatialFilter action

+1 to this feature. Can you go further and define how the API will look like for this widget?
I will keep this very simple right now. Something link


Repo list

Approved, looks good and able to automatically merge with existing branch.

Declined due to being direct to master, will merge with other development branch first.


ci: consolidate examples tests

Taking a look at the CI, it was only checking some of the examples tests, and holding them under two separate workflows despite them having the same call conditions.
I found that the callback-results test has been broken for a while, because it was excluded from CI. I updated the workflows to cover all tests, but there is also a test_all.sh script that can be used for the same purpose instead of this matric approach.
Awaiting comment on which is preferred, as well as what to do with the failing test - should it be fixed or removed?

Matrix is beneficial to test things in parallel, so CI does not take ages to complete. See how long it took to pass CI before this change:

https://github.com/near/near-sdk-rs/pull/1144
Now it takes 18+ minutes:

There is no improvement here IMO.

Closing as it got stale and it seems that we did not see the improvement with this PR


Blur is not calculated/cleared before screen focus?

The pink from the home screen is visible on the search page for a split second.
https://github.com/user-attachments/assets/22171c59-2dc9-4eda-85b4-98d962636ded

Hey, can you check if this occurs when you turn off lazy loading?
I wonder if this appears in native apps

Doesn't seem to matter if i use lazy or not. @okwasniewski

Thank you for all work that has been done on this library. Any updates on this issue?
https://github.com/user-attachments/assets/a19fc1aa-6ad9-436a-9fd3-e4f5b5f2b6cc

Thank you for all work that has been done on this library. Any updates on this issue?
https://github.com/user-attachments/assets/a19fc1aa-6ad9-436a-9fd3-e4f5b5f2b6cc

I'll look into it this week, can you check if this blur calculation issue is also appearing when you disable animations? disablePageAnimations prop
Also does it appear on the tab bar blur or only header?
I've tested it on SwiftUI app and it didn't happen so it must be something with the integration

It's working fine in the tab bar.
https://github.com/user-attachments/assets/dc77673f-4887-486f-bda1-2c367295db4e

Hey @fredrikburmester,
I've recreated the same scenario in the native SwiftUI App, and the behavior looks the same.
https://github.com/user-attachments/assets/9ab10088-8965-4da5-ac19-2381bb68f791
Unfortunately, in this case, there is not much we can do about it, I would suggest using disablePageAnimations={true}.

In the video where i show the tab bar blur, it seems to work (for the tab bar), but in your latest video it doesn't. Why could that be?

Maybe because you are switching between tabs with blur and without blur, in my native app demo I'm switching between both tabs that need to blur(?), it looks like this animation messes up blur calculations but there is nothing we can do about it.. This can be reported as a bug in SwiftUI to Apple

@fredrikburmester You can even see this bug appearing in Apple Podcasts app 😅
https://github.com/user-attachments/assets/dd9130f4-5b85-4d9d-9a1f-32424cf37602

Oh wow that's crazy... 😆


fix: primary NuGet package cache path for Windows

Summary
This PR fixes the documentation of the primary NuGet package cache path for Windows in docs/core/tools/dotnet.md.
Fixes #9979

@david1995 Did you test this on each .net core version listed in that article? I was building up some docker images to test each version yesterday but I'm going to finish that today.

@Thraka sorry for the late answer, I tested it on my machines using .NET Core versions 2.0, 2.1 and 2.2. I did not test it using .NET Core 1.x.

I wouldn't worry about 1.x it's going out of support real soon. I'll do some testing on 3.0 next week when I'm back from vacation and then we'll get this merged in. Thanks!

@Thraka sorry for the delay, the suggestion is now applied

Thanks for this contribution!


scroll container if expanded element is not visible

fix #27
Please review @eScienceCenter/spacialists

Seems to work for some terms, but when I search for "Kaserne" for example, a subtree is expanded that does not contain Kaserne. The subtree where Kaserne is (under top level concept "Befestigung" ), is not expanded

I think there is a bug in the recursive query which fetches the expanded element's parents. I'd merge this PR since it fixes the problem of #27 an open a new issue to fix the expansion bug.


Photo low quality after editing

You turn view into bitmap after adding sticker to save image as bitmap. so the oupt quite low resolution?

Please check #10


Remove the "Required" field on a Playlist cover art

Describe the bug
Playlist expects a cover art image to be received when creating a playlist, but has one generated at time of creation.
To Reproduce
Steps to reproduce the behavior:

Log in
Create a playlist
Error should be shown

Screenshots

Additional context

the fix is just to make the "CoverArt" attribute optional


Nextcloud 12's new editable public links should open docs with OnlyOffice

Nextcloud 12 now allows public link shares to be writable, so that a user can share a document with a non-Nextcloud user and have them jump into the editor. This functionality is advertised for use with Collabora/CODE, but I imagine OnlyOffice could use it as well.

Hello @steampoweredlawngnome
The issue has already been discussed earlier https://github.com/ONLYOFFICE/onlyoffice-owncloud/issues/20


Unify execution parameters customization points

This unifies the processing of all execution parameters customization
points such that all invocations are dispatched through the executor
first before handled by the parameters object (if the executor does not
implement the functionality)
This also consolidates the customization points count_processing_units
and processing_units_count by removing the former as it was never used
anywhere. This is a slightly breaking change, which shouldn't have any
impact on existing code.

Is this ready to go?

Is this ready to go?

Yes, I think this is ready to go. The CI error is unrelated.


Rename all the search things

In preparation for making them a bit less coupled.

Rename SearchBuilder and AlertBuilder to VacancySearch and
AlertVacancySearch as these don't really just build a search, they
actually perform a search
Rename Search::AlgoliaSearchRequest to Search::Strategies::Algolia
and Search::VacancyPaginator to Search::Strategies::Database to
clarify that they serve the same purpose (but do it differently)

Review app deployed to https://teaching-vacancies-review-pr-2836.london.cloudapps.digital

i like this way of thinking for the naming. i dont know if this is pedantic or what the thought behind it is but Search::Strategies::Algolia i would think should be Search::Strategy::Algolia

@alexbowen Ruby needs the folder names to be identical to the "namespace", otherwise it doesn't know how to autoload the class/module constants when they are referenced.
Having slept on it, I feel like there might still be a better name for these classes. Perhaps they'd be better off having "strategy" in the name, i.e. AlgoliaStrategy 😕

Will have a think today and update them in a later PR maybe, so I can get this in.

@alexbowen Ruby needs the folder names to be identical to the "namespace", otherwise it doesn't know how to autoload the class/module constants when they are referenced.
Having slept on it, I feel like there might still be a better name for these classes. Perhaps they'd be better off having "strategy" in the name, i.e. AlgoliaStrategy 😕

ah yeah sure, the components example is a bad one as i guess the components example (which should be components/shared/thing.rb) - the components folder is resolved by the framework


Project Structure + Entity Setup

Changes:

CI/CD pipeline to restrict merging into master from any branch other than develop
Setup of Users entity
Initialisation of DB in bootstrap

Reminder to revert DB configs hardcoded in the src/config/ormconfig.ts file before merge.


net:rpl: Null pointer dereferences

Check for NULL IPv6 addr values from net_if_ipv6_get_ll() in rpl.c
If NULL, print a debug statement
Coverity-CID: 188169
Fixes #10094.
Signed-off-by: Satya Bhattacharya<EMAIL_ADDRESS>

Codecov Report

Merging #10514 into master will increase coverage by 0.15%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master   #10514      +/-   ##
==========================================
+ Coverage   53.18%   53.34%   +0.15%
==========================================
  Files         210      210
  Lines       25816    25819       +3
  Branches     5682     5683       +1
==========================================
+ Hits        13731    13772      +41
+ Misses       9780     9736      -44
- Partials     2305     2311       +6

Impacted Files
Coverage Δ

subsys/net/ip/rpl.c
13.97% <0%> (-0.03%)
:arrow_down:

lib/posix/pthread_sched.c
41.66% <0%> (-20.84%)
:arrow_down:

lib/posix/pthread_mutex.c
77.77% <0%> (+1.38%)
:arrow_up:

lib/posix/pthread.c
80.36% <0%> (+12.32%)
:arrow_up:

lib/posix/pthread_cond.c
83.33% <0%> (+20.83%)
:arrow_up:

include/posix/posix_sched.h
100% <0%> (+100%)
:arrow_up:

lib/posix/pthread_barrier.c
100% <0%> (+100%)
:arrow_up:

Continue to review full report at Codecov.

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

recheck

@satyacube:
Thanks for the updates!

Do you guys know how to trigger the Shippable sanity runs?

On each new push it should trigger itself, and if something goes wrong, you can manually trigger it by posting comment of just "recheck" (like I did above).

BTW, there is no need to constantly close/re-open this PR. If you have a new version, just force push it over the old thread. The PR will be closed automatically when it is merged to upstream.


Combined source_id pull requests

This should be a merge of all the pull requests.   Merge not to squash the commits - I will tidy the chain up later.

@mauzey1 is there a way to check that CMOR is happy with these tweaks? I note you're getting very close to having most of the 3.8.0 issues solved

@durack1
I'm currently in the process of trying to remove product from global attributes in CMOR.
I'm going to update https://github.com/PCMDI/cmor/issues/723 discussing how we could remove the product attribute.

@mauzey1 great - there is work happening across repos in parallel, so just wanted to make sure we're as synced as can make sense


docs: add changelog for 1.0.1

Description

Tests performed

Not applicable.
Effects on system behavior

Not applicable.
Interface changes

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Now rolling, main, 1.0.1 tag are all at the same place. @esteve @youtalk

This PR was reverted.


WeatherInterpolationQuery initial files

These are example files with some Lorum Ipsum so we can do some prototyping for this query, especially since the app is complaining a lot about it not being able to find display_names for the query.
Quickly scanning https://github.com/energietransitie/needforheat-manual-server, I believe this should work OOB.

I changed the WeatherInterpolationLocation EnergyQuery display name to something that might make more sense to the end user. I thinkg EnergyQuery display names should always end with a question mark, by default.
For this EnergyQuery, I stressed the location. (This, in anticipation of the BuildingProfile EnergyQuery, where we should stress the address)
I moved enelogic info to new dir cloud_feeds and reinstated campaign info for campaign test2324s2 (the campaign youre test accounts are in).
I expect that the code of the manual server needs to be adapted to process the new directories as well. Moreover, I expect that the API needs an update as well.
I still wonder whether an installation manual for an energyquery is needed, by the way (another option is to embed the info in the code in the repository for each energy query. Let's assume for now, that installation manuals might also be handy for some energyqueries.


[input_as_map] Can't send null for slice inputs

Schema:
input FooInput {
   ids: [String!]
}

Generates:
func WithIDs(v []string) { ... }

I think that instead this should be generated so a list is also nullable:
func WithIDs(v *[]string) { ... }

I added a test for that, you can pass nil for []string
https://github.com/infiotinc/gqlgenc/compare/issue-14
This seem to exhibit the correct behavior, can you confirm ?

Indeed, it works. Sorry for the fuss!


ci: added sign jobs for windows and macos

Adds native windows build and code signing for windows and macos to ci.

CI is failing because we don't have signature secrets working on the main repo yet and this was tested on ed's fork. It passed when the secrets and env vars were properly propagated.


control spam console.log

if(Game.spawns.Spawn1.energy >= 300){
//Game.spawns.Spawn1.createCreep's
if (!(name < 0)) {
console.log("Spawned new creep: " + name);
console.log("Spawned new builder: " + numberOfBuilders);
console.log("Spawned new upgrader: " + numberOfUpgraders);
console.log("Spawned new harvester: " + numberOfHarvesters);
}
}

If this is a proposed change I would recommend to post it as a pull request.


Implementation of the IMU inside the StreamRecorder App

Hello everybody!
i am aware that the StreamRecorder app must be modified to ask consent for the IMU both in app manifest and also by editing for asking consent, however i still have some questions regarding this matter. Since update loops are only for the cameras, i was wondering if we have to individually implement some update and write threads (for example, similar to RMCameraReader.cpp) so that we can save the data obtained from the IMU. If that is the case, i would appreciate some tips and hints !
thanks in advance!

Hey @ozgunkaratas,
Sadly I can't help you, since I am working on the same problem. Would you be so kind and share your code with us? So we can maybe help each other.
Kind regards

Hey @ozgunkaratas,
Sadly I can't help you, since I am working on the same problem. Would you be so kind and share your code with us? So we can maybe help each other.
Kind regards

hello Sayoj,
i am trying to imitate the same code from the camera streams but so far without success. i am attaching the accelerometer code that i changed (which is essentially the same for gyro and mag) maybe this will spark up some ideas for us all :)
// Loads vertex and pixel shaders from files and instantiates the cube geometry.
void AccelRenderer::AccelUpdateLoop()
{
uint64_t lastSocTick = 0;
uint64_t lastHupTick = 0;
LARGE_INTEGER qpf;
uint64_t lastQpcNow = 0;
// Cache the QueryPerformanceFrequency
QueryPerformanceFrequency(&qpf);

winrt::check_hresult(m_pAccelSensor->OpenStream());

//create storage related vars
//start recording

std::lock_guard<std::mutex> storage_guard(m_storageMutex);

//set storage folder
m_storageFoldera = storageFolder;
wchar_t fileName[MAX_PATH] = {};
swprintf_s(fileName, L"folder", m_storageFoldera.Path().data(), m_pAccelSensor->GetFriendlyName());
m_storageCondVar.notify_all();

//comes from appmain.cpp on stream rec
StorageFolder localFolder = ApplicationData::Current().LocalFolder();
auto archiveSourceFolder = co_await localFolder.CreateFolderAsync(L"accelfolder", CreationCollisionOption::ReplaceExisting);

while (!m_fExit)
{
    char printString[1000];

    IResearchModeSensorFrame* pSensorFrame = nullptr;
    IResearchModeAccelFrame *pSensorAccelFrame = nullptr;
    ResearchModeSensorTimestamp timeStamp;
    const AccelDataStruct *pAccelBuffer = nullptr;
    size_t BufferOutLength;

    winrt::check_hresult(m_pAccelSensor->GetNextBuffer(&pSensorFrame));

    winrt::check_hresult(pSensorFrame->QueryInterface(IID_PPV_ARGS(&pSensorAccelFrame)));

    {
        std::lock_guard<std::mutex> guard(m_sampleMutex);

        winrt::check_hresult(pSensorAccelFrame->GetCalibratedAccelaration(&m_accelSample));
    }

    winrt::check_hresult(pSensorAccelFrame->GetCalibratedAccelarationSamples(
        &pAccelBuffer,
        &BufferOutLength));

    lastHupTick = 0;
    std::string hupTimeDeltas = "";

    for (UINT i = 0; i < BufferOutLength; i++)
    {
        pSensorFrame->GetTimeStamp(&timeStamp);
        if (lastHupTick != 0)
        {
            if (pAccelBuffer[i].VinylHupTicks < lastHupTick)
            {
                sprintf(printString, "####ACCEL BAD HUP ORDERING\n");
                OutputDebugStringA(printString);
                DebugBreak();
            }
            sprintf(printString, " %I64d", (pAccelBuffer[i].VinylHupTicks - lastHupTick) / 1000); // Microseconds

            hupTimeDeltas = hupTimeDeltas + printString;

        }
        lastHupTick = pAccelBuffer[i].VinylHupTicks;
    }

    hupTimeDeltas = hupTimeDeltas + "\n";
    //OutputDebugStringA(hupTimeDeltas.c_str());

    pSensorFrame->GetTimeStamp(&timeStamp);
    LARGE_INTEGER qpcNow;
    uint64_t uqpcNow;
    QueryPerformanceCounter(&qpcNow);
    uqpcNow = qpcNow.QuadPart;

    if (lastSocTick != 0)
    {
        uint64_t timeInMilliseconds =
            (1000 *
                (uqpcNow - lastQpcNow)) /
            qpf.QuadPart;

        if (timeStamp.HostTicks < lastSocTick)
        {
            DebugBreak();
        }

        char currentDate[30];

        time_t t = time(NULL);

        struct tm tm = *localtime(&t);

        sprintf(printString, "####Accel: %d-%d-%d %d:%d:%d  % 3.4f % 3.4f % 3.4f %f %I64d %I64d\n",
            tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, tm.tm_hour, tm.tm_min, tm.tm_sec,
            m_accelSample.x,
            m_accelSample.y,
            m_accelSample.z,
            sqrt(m_accelSample.x * m_accelSample.x + m_accelSample.y * m_accelSample.y + m_accelSample.z * m_accelSample.z),
                (((timeStamp.HostTicks - lastSocTick) * 1000) / timeStamp.HostTicksPerSecond), // Milliseconds
            timeInMilliseconds);

        //OutputDebugStringA(printString);

        // the storage functions should come over here
        auto path = m_storageFoldera.Path().data();
        std::wstring fullName(path);
        fullName = L"accel.txt";

        std::ofstream accel_data(fullName);
        accel_data << m_accelSample.x << " ," << m_accelSample.y << " ," << m_accelSample.y << " ,"
            << tm.tm_year + 1900 << " ," << tm.tm_mon + 1 << " ," << tm.tm_mday << " ," << tm.tm_hour << " ,"
            << tm.tm_min << " ," << tm.tm_sec << " ," << sqrt(m_accelSample.x * m_accelSample.x + m_accelSample.y * m_accelSample.y + m_accelSample.z * m_accelSample.z) << " ,"
            << (((timeStamp.HostTicks - lastSocTick) * 1000) / timeStamp.HostTicksPerSecond) << " ,"
            << timeInMilliseconds << " END OF LINE \n";

        accel_data.close();

    }
    lastSocTick = timeStamp.HostTicks;
    lastQpcNow = uqpcNow;

    if (pSensorFrame)
    {
        pSensorFrame->Release();
    }

    if (pSensorAccelFrame)
    {
        pSensorAccelFrame->Release();
    }
}

winrt::check_hresult(m_pAccelSensor->CloseStream());

}

hello Sayoj,
i am trying to imitate the same code from the camera streams but so far without success. i am attaching the accelerometer code that i changed (which is essentially the same for gyro and mag) maybe this will spark up some ideas for us all :)
// Loads vertex and pixel shaders from files and instantiates the cube geometry.
void AccelRenderer::AccelUpdateLoop()
{
uint64_t lastSocTick = 0;
uint64_t lastHupTick = 0;
LARGE_INTEGER qpf;
uint64_t lastQpcNow = 0;
// Cache the QueryPerformanceFrequency
QueryPerformanceFrequency(&qpf);

winrt::check_hresult(m_pAccelSensor->OpenStream());

//create storage related vars
//start recording

std::lock_guard<std::mutex> storage_guard(m_storageMutex);

//set storage folder
m_storageFoldera = storageFolder;
wchar_t fileName[MAX_PATH] = {};
swprintf_s(fileName, L"folder", m_storageFoldera.Path().data(), m_pAccelSensor->GetFriendlyName());
m_storageCondVar.notify_all();

//comes from appmain.cpp on stream rec
StorageFolder localFolder = ApplicationData::Current().LocalFolder();
auto archiveSourceFolder = co_await localFolder.CreateFolderAsync(L"accelfolder", CreationCollisionOption::ReplaceExisting);

while (!m_fExit)
{
    char printString[1000];

    IResearchModeSensorFrame* pSensorFrame = nullptr;
    IResearchModeAccelFrame *pSensorAccelFrame = nullptr;
    ResearchModeSensorTimestamp timeStamp;
    const AccelDataStruct *pAccelBuffer = nullptr;
    size_t BufferOutLength;

    winrt::check_hresult(m_pAccelSensor->GetNextBuffer(&pSensorFrame));

    winrt::check_hresult(pSensorFrame->QueryInterface(IID_PPV_ARGS(&pSensorAccelFrame)));

    {
        std::lock_guard<std::mutex> guard(m_sampleMutex);

        winrt::check_hresult(pSensorAccelFrame->GetCalibratedAccelaration(&m_accelSample));
    }

    winrt::check_hresult(pSensorAccelFrame->GetCalibratedAccelarationSamples(
        &pAccelBuffer,
        &BufferOutLength));

    lastHupTick = 0;
    std::string hupTimeDeltas = "";

    for (UINT i = 0; i < BufferOutLength; i++)
    {
        pSensorFrame->GetTimeStamp(&timeStamp);
        if (lastHupTick != 0)
        {
            if (pAccelBuffer[i].VinylHupTicks < lastHupTick)
            {
                sprintf(printString, "####ACCEL BAD HUP ORDERING\n");
                OutputDebugStringA(printString);
                DebugBreak();
            }
            sprintf(printString, " %I64d", (pAccelBuffer[i].VinylHupTicks - lastHupTick) / 1000); // Microseconds

            hupTimeDeltas = hupTimeDeltas + printString;

        }
        lastHupTick = pAccelBuffer[i].VinylHupTicks;
    }

    hupTimeDeltas = hupTimeDeltas + "\n";
    //OutputDebugStringA(hupTimeDeltas.c_str());

    pSensorFrame->GetTimeStamp(&timeStamp);
    LARGE_INTEGER qpcNow;
    uint64_t uqpcNow;
    QueryPerformanceCounter(&qpcNow);
    uqpcNow = qpcNow.QuadPart;

    if (lastSocTick != 0)
    {
        uint64_t timeInMilliseconds =
            (1000 *
                (uqpcNow - lastQpcNow)) /
            qpf.QuadPart;

        if (timeStamp.HostTicks < lastSocTick)
        {
            DebugBreak();
        }

        char currentDate[30];

        time_t t = time(NULL);

        struct tm tm = *localtime(&t);

        sprintf(printString, "####Accel: %d-%d-%d %d:%d:%d  % 3.4f % 3.4f % 3.4f %f %I64d %I64d\n",
            tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, tm.tm_hour, tm.tm_min, tm.tm_sec,
            m_accelSample.x,
            m_accelSample.y,
            m_accelSample.z,
            sqrt(m_accelSample.x * m_accelSample.x + m_accelSample.y * m_accelSample.y + m_accelSample.z * m_accelSample.z),
                (((timeStamp.HostTicks - lastSocTick) * 1000) / timeStamp.HostTicksPerSecond), // Milliseconds
            timeInMilliseconds);

        //OutputDebugStringA(printString);

        // the storage functions should come over here
        auto path = m_storageFoldera.Path().data();
        std::wstring fullName(path);
        fullName = L"accel.txt";

        std::ofstream accel_data(fullName);
        accel_data << m_accelSample.x << " ," << m_accelSample.y << " ," << m_accelSample.y << " ,"
            << tm.tm_year + 1900 << " ," << tm.tm_mon + 1 << " ," << tm.tm_mday << " ," << tm.tm_hour << " ,"
            << tm.tm_min << " ," << tm.tm_sec << " ," << sqrt(m_accelSample.x * m_accelSample.x + m_accelSample.y * m_accelSample.y + m_accelSample.z * m_accelSample.z) << " ,"
            << (((timeStamp.HostTicks - lastSocTick) * 1000) / timeStamp.HostTicksPerSecond) << " ,"
            << timeInMilliseconds << " END OF LINE \n";

        accel_data.close();

    }
    lastSocTick = timeStamp.HostTicks;
    lastQpcNow = uqpcNow;

    if (pSensorFrame)
    {
        pSensorFrame->Release();
    }

    if (pSensorAccelFrame)
    {
        pSensorAccelFrame->Release();
    }
}

winrt::check_hresult(m_pAccelSensor->CloseStream());

}

Hey @ozgunkaratas
with a lot of help of a good friend of mine, we managed to make it work.
You can finde the code here.
I hope this may help you! :)
Best Regards

Hello @Sayoj
thank you for your response, i will have some time with the Hololens tomorrow and i will try your app on it. I was working on some extensions myself to include accel,gyro and mag on separate files and i will try to upload this code as well!
if i get it working i will close the issue and open up a new one with gyro and mag extensions so that everyone can benefit!
best regards

Hello @Sayoj,
i extended the code into three different threads and the sample can be found here https://github.com/ozgunkaratas/HoloLens2ForCV/tree/main/Samples.
i hope this helps other people as well.
additionally, have you tried to write the files into a single txt file instead of creating a .txt file for every timestamp? The tarball produces multiple .txt files for each timestamp. i tried using std::ofstream but the txt file is never created to begin with. i will focus on this and update the fork accordingly,
best regards

Hey @ozgunkaratas
Having it in three different threads makes the code definitely much more clearly and easier to read! :D
Yeah, I am working on the same problem. Can't figure out how to just write the IMU data in one text file. If you happens to solve this, please let me know.
Best regards

Hey @ozgunkaratas
Anything new on your front? Did you managed to integrate it into one file with timestamp?
Meanwhile I tried to translate the code into HoloLens2-Unity-ResearchModeStreamer, but still to no avail yet.
Kind Regards

Hello, @Sayoj
i used a linux terminal command to merge all of the txt files together in a folder according to their creation date and at the end this produces a big txt file with all of the IMU data from the beginning to the end. This work-around is efficient so far, find it below here:
cat $(find .  -maxdepth 1 ! -name "." -type f -printf "%T+ %p\n" | sort | sed 's/^. //') >> BIGFILE
additionally, there is another timing problem that i came across.
since the timestamping is directly related with the relative ticks, it becomes inconsistent as the IMUs cannot maintain their refresh rates of 12Hz for the accelerometer and 20Hz for the gyroscope. I have run experiments where the IMU and the PV camera were simultaenously capturing data and IMU sensor rate dropped to as low as 5 Hz. So far this is random and dependent on device temperature and other factors. There have been experiments where the PV timestamps were showing correct values whereas the last IMU timestamp was off by a few minutes.
Inside TimerConverter.cpp there is a UniversalToUnixTime function that i wanted to use, but i currently do not have access to the HL. I presume that this function will not use the relative ticks happening in the sensor to stamp the data but rather directly use FILETIME. Maybe you can also try this out and update the repo on your findings,
kind regards
Özgün

Hey @ozgunkaratas
with a lot of help of a good friend of mine, we managed to make it work.
You can finde the code here.
I hope this may help you! :)
Best Regards

Hi @Sayoj ! I'm interested in the device temperature data and have been trying to use your modifications to save the IMU frames, but am running into issues accessing the IMU data (have tried ACCEL and GYRO). I'm able to work with the DEPTH_AHAT data, so I think device side everything should be alright. While debugging, this is where the exception arises (in RMCameraReader.cpp):

Would you have any idea or hints on where to look? Thanks in advance!


My windows app conflict with Nvidia in-game overlay feature.

Steps to reproduce
When I ran my Flutter Windows app,
the first time, the cursor waits for user input until showing Nvidia In-Game overlay feature.

When Nvidia In-Game overlay feature showed on up-right side on my screen,

That time, My TextFormField lost focus and the input cursor automatically.

and I can't put any value into the TextFormField.

After showing the Nvidia popup as an "in-game overlay"
https://github.com/user-attachments/assets/b9f775e3-4364-4379-b662-ee2e3b824c1d

Before showing the Nvidia popup, I can put any characters.
https://github.com/user-attachments/assets/bf2da7d9-d923-40be-b382-6064da4d62ed

Additional: I selected other applications, and selected my flutter windows app, It recovered.

Expected results
No affect by the nvidia in-Game overlay feature.
Actual results
Lost the input focus and Can't use the text input field.
Code sample
Code sample
Alert(
      context: context,
      title: ConstantStr.DIALOG_LOGIN,
      style: ConstantStyle.GetAlertStyle(context, false),
      content: SizedBox(
          width: ConstantVal.FORMAL_POP_WIDTH,
          child: Column(
            children: <Widget>[
              TextFormField(
                autofocus: true,
                controller: idController,
                maxLength: ConstantVal.MAX_LENGTH_50,
                decoration: InputDecoration(
                    icon: const Icon(Icons.account_circle),
                    labelText: ConstantStr.LABEL_USERNAMEOREMAIL),
              ),
              TextFormField(
                controller: pwController,
                focusNode: pwFocusNode,
                maxLength: ConstantVal.MAX_LENGTH_24,
                obscureText: true,
                decoration: InputDecoration(
                    icon: const Icon(Icons.lock),
                    labelText: ConstantStr.LABEL_PASSWORD),
              ),
              Row(
                mainAxisAlignment: MainAxisAlignment.spaceBetween,
                children: [
                  Row(children: [
                    Text(
                      ConstantStr.LABEL_REMEMBERME,
                      style: Theme.of(context).primaryTextTheme.labelSmall!,
                    ),
                    Transform.scale(
                      scale: 0.8,
                      child: Obx(() => CupertinoSwitch(
                            applyTheme: true,
                            activeColor: Colors.green[300],
                            value: mainController.rememberSwitchVal
                                .value, // Current state of the CupertinoSwitch
                            onChanged: (value) {
                              mainController.rememberSwitchVal.value = value;
                            },
                          )),
                    ),
                  ]),
                  TextButton(
                    child: Text(
                      ConstantStr.BUTTON_FORGET_PASS,
                      style: Theme.of(context)
                          .primaryTextTheme
                          .labelSmall!
                          .apply(
                              decoration: TextDecoration.underline,
                              decorationStyle: TextDecorationStyle.double),
                    ),
                    onPressed: () {
                      Navigator.pop(context);
                      ShowForgotPasswordPopup(context, mainController,
                          idController, pwController, emailController);
                    },
                  ),
                ],
              ),
              Row(
                mainAxisAlignment: MainAxisAlignment.center,
                children: [
                  Text(
                    ConstantStr.LABEL_DONT_ACCOUNT,
                    style: Theme.of(context).primaryTextTheme.labelSmall!,
                  ),
                  TextButton(
                    child: Text(
                      ConstantStr.BUTTON_SIGNUP,
                      style: Theme.of(context)
                          .primaryTextTheme
                          .labelMedium!
                          .apply(color: Colors.amber[600]),
                    ),
                    onPressed: () {
                      Navigator.pop(context);
                      ShowSignupPopup(context, mainController, idController,
                          pwController, emailController);
                    },
                  ),
                ],
              ),
            ],
          )),
      buttons: [
        DialogButton(
          color: Theme.of(context).buttonTheme.colorScheme!.surface,
          onPressed: () {
            if (mainController.rememberSwitchVal.value) {
              RememberUserId(idController.text.trim());
            } else {
              ForgotUserId();
            }
            Navigator.pop(context);
            CheckHelloScreenSeen().then((val) {
              if (val) {
                Get.toNamed(ConstNav.ROOT_SCREEN);
              } else {
                Get.toNamed(ConstNav.HELLO_SCREEN);
              }
            });
          },
          child: Text(
            ConstantStr.BUTTON_LOGIN,
            style: Theme.of(context).primaryTextTheme.titleMedium,
          ),
        )
      ]).show();
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
Launching lib\main.dart on Windows in debug mode...
√ Built build\windows\x64\runner\Debug\frontend.exe
Connecting to VM Service at ws://<IP_ADDRESS>:10838/5l2Vne1n2e8=/ws
[GETX] Instance "MainController" has been created
[GETX] Instance "MainController" has been initialized
[GETX] Instance "GetMaterialController" has been created
[GETX] Instance "GetMaterialController" has been initialized
[GETX] GOING TO ROUTE /
Application finished.

Exited (-1).

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.22.0, on Microsoft Windows [Version 10.0.22631.3880], locale ko-KR)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[X] Android toolchain - develop for Android devices
    X Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.10.6)
[√] Android Studio (version 2021.1)
[√] Connected device (3 available)
[√] Network resources

This bug should be filled against the Nvidia in-game overlay, and not against the Flutter SDK

This bug should be filled against the Nvidia in-game overlay, and not against the Flutter SDK

@jonahwilliams
Thanks for your comment.

We know that Nvidia in-game overlay popup makes a problem.

If we make it on the C# Win App, We can't meet this problem.
however, and unfortunately, the flutter win app build uses DirectX or triggers"GFE first"

https://forums.developer.nvidia.com/t/how-to-prevent-in-game-overlay-from-triggering/256026

Another one is the other game engines provide the option like it.

https://badlandsrp.com/topic/17959-fix-for-nvidia-overlayreplay-disabling/

Actually, Nvidia experience is the environment.

Most engines and SDKs find a solution to avoid conflict with the environment.
You mentioned, "The environment makes a problem".
In my understanding, "The winter freeze all".
We should find a solution and survive in the terrible environment.

Hi @vicviper93, your demo and sample code seem to come from your project which could be complex. Can you retry on a simple project with a single TextField only? Thanks!


Add configuration option to disable 'Execution Error' popup

Is your feature request related to a problem? Please describe.
When running a script, what often frustrates me is the 'Execution Error' popup, which has to be closed with ESC or Stop/Retry buttons.
Describe the solution you'd like
I can't find a configuration option or any who've discussed this anywhere and would like if there was one to disable the popup entirely and automatically stop a script execution on any SQL errors.
Additional context
Below screenshot is the 'Execution Error' dialog I am referring to:

It displays when a script is run and fails with ALT+X but not when selecting an entire script and using CTRL+Enter. While that is a solution the irritating popup, it would be convenient if I could just use ALT+X

There could be an option to display the error in the results pane instead, and it shouldn't change the focus from the SQL pane.
This is a HUGE frustration for me, as I use the keyboard shortcuts a lot. There is nothing more disrupting that getting a popup you have to dismiss while you're developing a query.

There could be an option to display the error in the results pane instead, and it shouldn't change the focus from the SQL pane.
This is a HUGE frustration for me, as I use the keyboard shortcuts a lot. There is nothing more disrupting that getting a popup you have to dismiss while you're developing a query.

Fully agree, this would be great

Hello. Probably disable this setting may help.

@LonwoLonwo
this option does not affect ALT+X (the Execute Script button)
screenshot of attempt below with option disabled

Ok, thanks for the answer.


💵 Add ko-fi funding

Codecov Report

Merging #7 (a9638d2) into master (90b829d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #7   +/-   ##
=======================================
  Coverage   93.93%   93.93%
=======================================
  Files           1        1
  Lines          33       33
=======================================
  Hits           31       31
  Misses          1        1
  Partials        1        1

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 90b829d...a9638d2. Read the comment docs.


[BUG] setuptools version 73.0.0 breaks Pythran

setuptools version
setuptools==73.0.0 (latest released version available on PyPI)
Python version
All supported ones
OS
any
Additional environment information
This currently occurs with the latest release of Pythran (version 0.16.1 as released on PyPI on 28/05/2024), and older versions have not been checked against.
Description
Hi there! The latest release of setuptools currently breaks SciPy' builds (https://github.com/scipy/scipy/issues/21416) and, in turn, SciPy's recipe in Pyodide (https://github.com/pyodide/pyodide/issues/5018) because SciPy now uses Pythran as a required dependency for transpiling Python to C++ (as reported in https://github.com/serge-sans-paille/pythran/issues/2228).
The truncated output from Pythran is as follows – detailed output(s) below:
TypeError: metaclass conflict: the metaclass of a derived class must be a
(non-strict) subclass of the metaclasses of all its bases

I have bisected the problem between the v72.2.0 and v73.3.0 tags as reported in https://github.com/scipy/scipy/issues/21416#issuecomment-2299197862, and the breakage seems to be coming from https://github.com/pypa/setuptools/pull/4503 (i.e., https://github.com/pypa/setuptools/commit/f9398b1f2bd6cce0aa4efa01d8b69da021205151). I have opened this issue for visibility while I continue to investigate the problem at the time of writing.
Also, please refer to @rgommers's comments in https://github.com/serge-sans-paille/pythran/issues/2228#issuecomment-2299000192 that describe the situation in context to SciPy.
Expected behavior
The expected behaviour is that Pythran works and can be used to compile extension modules, whether for SciPy or elsewhere for all recent-enough versions of setuptools, since setuptools is a dependency of Pythran.
A workaround for this is available via https://github.com/serge-sans-paille/pythran/pull/2229 which pins setuptools to <73, and I have another hotfix ready at https://github.com/serge-sans-paille/pythran/pull/2230 which passes the tests.
How to Reproduce
Here is a minimal reproduction script:
# Set up the Pythran repository
git clone https://github.com/serge-sans-paille/pythran.git pythran/
cd pythran/
# Activate a virtual environment, install the project, etc.
python3.X -m virtualenv venv
source venv/bin/activate
pip install -e ."[doc,test]"
# Run the test suite (can take long, running just one file works as well)
python -m pytest pythran/tests/test_list.py

Output
❯ python -m pytest pythran/tests/test_list.py
============================================================================ test session starts ============================================================================
platform darwin -- Python 3.12.4, pytest-8.3.2, pluggy-1.5.0
rootdir: /Users/agriyakhetarpal/Desktop/pythran
configfile: pyproject.toml
plugins: nbval-0.11.0, xdist-3.6.1
collected 0 items / 1 error

================================================================================== ERRORS ===================================================================================
________________________________________________________________ ERROR collecting pythran/tests/test_list.py ________________________________________________________________
/opt/homebrew/Cellar/python@3.12/3.12.4/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1310: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
pythran/tests/__init__.py:27: in <module>
    from pythran import compile_pythrancode, spec_parser, load_specfile, frontend
<frozen importlib._bootstrap>:1412: in _handle_fromlist
    ???
pythran/__init__.py:127: in __getattr__
    import pythran.toolchain
pythran/toolchain.py:11: in <module>
    from pythran.dist import PythranExtension, PythranBuildExt
pythran/dist.py:142: in <module>
    class PythranBuildExt(PythranBuildExtMixIn, LegacyBuildExt, metaclass=PythranBuildExtMeta):
E   TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
========================================================================== short test summary info ==========================================================================
ERROR pythran/tests/test_list.py - TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
============================================================================= 1 error in 0.40s ==============================================================================
venv(base)
pythran on  master [$] via 🐍 v3.12.4 (venv)
❯ uv pip install "setuptools>=73"
Resolved 1 package in 16ms
Uninstalled 1 package in 0.80ms
Installed 1 package in 13ms
 - setuptools==72.2.0.post20240820 (from file:///Users/agriyakhetarpal/Desktop/setuptools)
 + setuptools==73.0.0
venv(base)
pythran on  master [$] via 🐍 v3.12.4 (venv)
❯ python -m pytest pythran/tests/test_list.py
============================================================================ test session starts ============================================================================
platform darwin -- Python 3.12.4, pytest-8.3.2, pluggy-1.5.0
rootdir: /Users/agriyakhetarpal/Desktop/pythran
configfile: pyproject.toml
plugins: nbval-0.11.0, xdist-3.6.1
collected 0 items / 1 error

================================================================================== ERRORS ===================================================================================
________________________________________________________________ ERROR collecting pythran/tests/test_list.py ________________________________________________________________
/opt/homebrew/Cellar/python@3.12/3.12.4/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1310: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
pythran/tests/__init__.py:27: in <module>
    from pythran import compile_pythrancode, spec_parser, load_specfile, frontend
<frozen importlib._bootstrap>:1412: in _handle_fromlist
    ???
pythran/__init__.py:127: in __getattr__
    import pythran.toolchain
pythran/toolchain.py:11: in <module>
    from pythran.dist import PythranExtension, PythranBuildExt
pythran/dist.py:142: in <module>
    class PythranBuildExt(PythranBuildExtMixIn, LegacyBuildExt, metaclass=PythranBuildExtMeta):
E   TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

Thanks for linking the fix, @Avasam. Having taken a look, the conflict arose because PythranBuildExt is trying to use two different metaclasses:

PythranBuildExtMeta (explicitly specified), and
ABCMeta (inherited from Command via LegacyBuildExt)

IIUC, a class can only have one metaclass, and when inheriting from multiple classes with different metaclasses, those metaclasses must be compatible (i.e., one must derive from the other).

@jaraco If you feel like reverting my change for a quick fix, go ahead. It didn't intend to cause metaclass issues. Otherwise a PR should already be ready: https://github.com/pypa/setuptools/pull/4580
@agriyakhetarpal Yep, that's what I found as well through my investigation. Thanks for the easy reproducer.
I think class PythranBuildExtMeta(ABCMeta, type) would work, but it was definitely not the intention to force downstream users to update their metaclasses and that was an oversight. The intention was to prevent instantiating w/o subclassing from a type-checker's pov only.

Thank you for the speedy fix! I don't know if you can keep something like class Command(_Command, metaclass=ABCMeta) and make it use the metaclass directly instead of making Command inherit from ABC, so that your original changes are retained?

I don't know if you can keep something like class Command(_Command, metaclass=ABCMeta) and make it use the metaclass directly instead of making Command inherit from ABC,

Unfortunately not (and I just tested all 3 locally just to validate what I'm saying is true). ABC is a shorthand for metaclass=ABCMeta because it's just: class ABC(metaclass=ABCMeta). In the end you end up with the same problem.
@abstractmethod should be usable independently. It's just that type-checkers won't know that a class is meant to be abstract if it has no @abstractmethod. It's just a shortcoming of python's type system often relying on decorators, which are not applicable to non-function attributes.

Thanks for the explanation, @Avasam!

@agriyakhetarpal ,  adding a metaclass and trying to combine it with an already existing class hierarchy that is part of a 3rd party package sounds like a very fragile approach and prone to errors.
I don't know if that could work, but something a bit more flexible would be:
class PythranBuildExtMeta(type(Command)):
  ...

But I haven't tested, and I don't know if that would work.

Yes, @abravalheri, that makes sense. I was trying to do something similar to yours in https://github.com/serge-sans-paille/pythran/pull/2230, copying over the diff from there:
class PythranBuildExtMeta(type(LegacyBuildExt)):
    def __getitem__(self, base):
        return type(
            'PythranBuildExt', (PythranBuildExtMixIn, base), {})

to work around the conflict, where LegacyBuildExt is just setuptools.command.build_ext (if available, or the distutils equivalent).

@agriyakhetarpal , adding a metaclass and trying to combine it with an already existing class hierarchy that is part of a 3rd party package sounds like a very fragile approach and prone to errors.

Seems like, as with most scenarios where people tried to do anything complex with setuptools, it originated back when the class hierarchy was "distutils from the stdlib", so that may be a bit more forgivable... :)

Hi there, SetupTools v73.0.1 breaking the library "textract", when trying to install textract ,on the building dependencies stage it breaks for setuptools to use the latest hash value and instead it is picking up the old hash value. Tried installing SetupTools using wheel file the latest version is breaking, although 71.1.0 is installing perfectly fine.