Implement improved height-independent subsurface scattering

This is a variation of the sea of thieves light scattering heuristic.
It also takes the logic that ensures large wavelengths are smoothly blended across lods and pushes it into the lod data anim waves, so that other large wavelength shape inputs can benefit from teh same logic, and it removes this complexity from the gerstner script, which now uses this common api to submit gerstner batches.

thanks, it doesnt seem to be related to this change, it seems that reading shadows in the underwater stuff makes it flicker like crazy. for now i've knocked out the shadowing term when underwater.


feature-request: possibility to change the size of description popup

Hello, I am creating a snippet for VS Code with long descriptions. I have noticed that the description popup window in VS Code has a scrollbar, but it would be greater if I can enlarge the window. This seems not to be possible in the current version (1.13.1). It would be better if one can either set the height and width in the preferences or change the size of the popup with mouse dynamically.
Regards steff

I'd like to add that wrapping in the popup is also a problem and should be avoided (overflow should be horizontally scrollable).

cc @Microsoft/vscode for thoughts

It seems like the problem is that to read long descriptions, you need to scroll. One way to solve that problem without requiring intervention from the user would be to resize the popup dynamically based on the content it needs to display. If we were able to do this, we could make long descriptions more readable without requiring the user to either scroll through the description or to drag out the size of the window to make the content more readable. We currently set the height dynamically, perhaps we could also look at dynamically altering the width to accommodate larger content?
While there would probably still be cases where there simply isn't enough room to show all of the content this would be the preferable solution for me since it allows most users to keep their hand on the keyboard and means that we don't need to worry about what to do with the popup after the user has resized it, then dismissed it (do we keep it at that size, even if it is way too big for the next piece of content, what happens then when the user returns to the same content that caused them to resize etc etc).
I also agree that wrapping inside the popup doesn't seem like the right thing to do since it alters the readability of the content. So if resizing the width of the popup still means content is outside of the viewport, we should add a scroll bar as @mike-lischke suggests.

The scrollbar solution is worth pursuing

Large descriptions that usually come as part of a well documented sample code will be easy to read if we put a button to open the entire description in new tab.

I'd love to get a possibility to "resize" this window. Prefered solution would be a setting like "editor.SuggetionsHeigth" and "editor.SuggetionsWidth" which could be set in pixels.

Like I said in my other issue:
Please add one or more of the following:

Add a setting for "wider IntelliSense popups"
Don't wrap
Or the best option: allow me to resize the popup horizontally, and automatically remember the width

This should be for autocompletion, intellisense and debugging popups (I'm unsure if those are the correct names for vscode). They are all too narrow, and they all wrap. It should be like in regular Visual Studio - we shouldn't have to debate it, just copy what already works.

This is really important, otherwise I always want to "leave" vscode

when the import package path is very long , the suggestion window width not fit the long length, characters are truncated!!!

I'd like this feature too - I have to use large font size in my editor, but it makes the popup window dramatically too small in relation to the text size, rendering it ugly/useless.

Interesting point: one of the most compelling reasons IDEs became popular was that they are aware of what you're doing - i.e. intellisense. And vscode ALREADY HAS this available (and it's very good!), it's just unusable.
So right now, it's hard to say that using vscode is better than using notepad.
Since intellisense is already implemented and working, I don't understand why it isn't made pretty so it becomes usable. This is a very old issue, and affects everyone.

After using VSCode for Java for a few months, one of the things I find missing is a better parameter info. When there is a rather large function (long function name or parameters), it gets hard to navigate through the window because they ending part get cut, as seen on the attached picture:

Having an adjustable window, or even a configured fixed size width, would improve code navigation alot.

This would definitely be nice to have!

I am using vs code for my elm projects and the small suggestion popup makes the language support practically useless. And that is sad, because the elm compiler is so polite and really wants to help me, but it needs more words then vs code allows.
This is what I can see from the editor:

And this is the full message:

So please, let us modify the suggestion modal size. :pray:

https://github.com/bmewburn/vscode-intelephense/issues/291

@MrMovl, in 69388, hovers for problem become to have larger width. You can check that in VSCode Insiders now.

Auto resize or the ability to configure the popup would be great. I'm trying to read the intellisense of vscode keybindings.json but all the options are cut off.
Upon hovering over the name, I also don't see the full property name, nor a description. The hovering is probably another issue altogether but it does make it harder to deal with this one.

I just got referred here from the vscode-python repo:
https://github.com/microsoft/vscode-python/issues/8036
This discussion about making windows resizable seems to be already going on for... 2 and a half years? A quick fix letting users manually resize these windows would be completely fine for now.

From @DanTup in https://github.com/microsoft/vscode/issues/76855

Raised at https://github.com/Dart-Code/Dart-Code/issues/1837, if the completion items are really long, VS Code truncates them at the end:

I'll see if we can change this completion so it doesn't include the full path, but it seems like VS Code could maybe be smart here - the visible characters of all the completions here are the same thing as is visible in the document (which is being used to filter) so it would be much better to truncate from the start than the end (for ex., if the label starts with the text being used to filter, then truncate from the start).

Want to pile in on this -- my apollo auto-generated typescript types are useless because can't disambiguate the suggestions.

What's the status on this. The popup window is useless right now. Everything gets split into multiple lines randomly, even in the middle of words! It's very hard to read anything inside of the popup.

I'm also wondering about this - it's a pain writing in C because the function names don't fit. Can we please get setting for making it wider? Or just increasing the default width? What's the point of it not being wide enough to show what's needed?

My PR #69363 is closed by @jrieken. I am not sure what the exact reason is. Someone who wants to fix this issue can make a new PR based on my PR, communicating with him.

My best guess on how vscode should handle this is just do it like other widely known IDEs do it: make the pop-up resize-able from the lower-right corner and remember the size as an editor preference.

Lol, let's wait another 2 years.

anyidea to resolve this issue?

I've concluded at this point that this is impossible. :(

It's definitely possible, it's just that the maintainers of this repository apparently don't care.

Why not impossible? any idea about implement this?

@lygstate Well there was this PR: https://github.com/microsoft/vscode/pull/69363
But it got closed and then they removed the ability to discuss it.

I detect a conspiracy. This is an un-feature.

So, MSft dit that intensionly?

This is not a proper solution, but a hack that might break after any program update!
As VsCode is styled mainly using CSS to change the size you have to simply override default values.
This can be accomplished by using "Custom CSS and JS loader" extension and injecting your own CSS.
Width value is static 430px:
.monaco-editor .suggest-widget {   width: 430px;  }
Height value is set inline on element by editor depending on how many suggestions there are so !important is necessary to owerride it:
.monaco-editor .suggest-widget>.tree {   height: 300px !important; }

Any update here? This is a big pain, especially with Swift/SourceKit-LSP.

What's even going on here? Seems like a clear problem was identified and a lot of solutions were proposed.
I seriously have trouble imagining why anyone would prefer the current behavior. If someone actually uses this box, they probably want it to be bigger and to have control over the size of text.
I didn't read every single comment, so I'll just add this: The "terminal.integrated.fontSize" setting allows us to control the size of text in the left-part of the suggestion box, so why not have one for the right-part?
Please VS Code, fix this! I'm new here and this issue is bordering on dealbreaker, it makes me want to go back to Netbeans Shudder

Alright everyone, I got really excited about @povilasbaranovas proposed solution using the Custom CSS and JS Loader extension, but when I tried the code, it didn't do what I was hoping.
I spent a few hours on it and figured out a set of CSS that works pretty well! Things are still a bit jumpy sometimes, but I have my editor showing my full PHPDoc for functions now which is what I wanted.
Get the configuratble CSS and other details on this StackOverflow thread I created about this subject
The Details box expands to fit as much as it can, both horizontally and vertically, and the CSS uses variables so you can easily configure the widths and heights to your taste (or depending on your code).
Here's a demo of how my custom CSS looks out of the box:

And here's how that same code looks by default:

If you want to use it or improve it please do. If this bug ever gets fixed then someone please update my SO post too ;)
VS CODE TEAM: Please make this obsolete!!!

Just to pile on here. Was thinking of switching my whole team to VS code due to many of the awesome abilities. Will be a no-go until this is sorted. Our code uses long, descriptive names in C which are just cut off by the pop-up, making it effectively useless. Kinda crazy that something so simple has been open for so long; there could be a lot of converts waiting on this.
Related: If you want to keep the box small, something more clever would be to display what makes the options different. I.E. today, an enum list (C) like
APP_HELLOWORLD_TYPE_A
APP_HELLOWORLD_TYPE_B
Will show
APP_HELLOWORLD_TYPE....
APP_HELLOWORLD_TYPE....
With a little magic you could have it show
A
B
Ideally with them being under a dropdown of sorts labelled APP_HELLOWORLD_TYPE

I really don't get how this is still an open issue from 2017. This is such a pain in the ***, and affects my daily workflow.
Specially with an editor build around css this should not be an issue that takes more then 3 years to fix.

OMG it looks like this is getting some attention.

Ok, so this is the plan

make the completions-list resizable
make the details-pane resizable
don't shrink completions-list when details-pane shows

What happens if it's too big for the window? Details fall down below completions?

FYI - I have merged the first cut into master (https://github.com/microsoft/vscode/pull/109094). This means next insiders (tomorrow) will have this. There might still be rough edges and bugs but I want to get feedback rather sooner than later.
👉  try this in https://code.visualstudio.com/insiders/ 👈

@jrieken these updates are 🔥 . Should there be a min-height on the description that caps where the text ends? This feels a bit odd:

Also, it appears that the description height doesn't persist even though all others do?

It's possible for the text to be extremely tall, so a min-height couldn't be based on that.
Any chance this update could also give us an option to control the size of the text in these boxes separate from everything else?

Maybe it's an extension issue, but I don't see linebreaks for the different method overloads in Powershell. Here's how it looks in stable VS code:

And here's how it looks in the latest insider version:

Any chance this update could also give us an option to control the size of the text in these boxes separate from everything else?

There are these settings: editor.suggestFontSize and editor.suggestLineHeight

@MartinGC94 re https://github.com/microsoft/vscode/issues/29126#issuecomment-714782628 👉 https://github.com/microsoft/vscode/issues/99370

re: @MartinGC94 's comment

Maybe it's an extension issue, but I don't see linebreaks for the different method overloads in Powershell. Here's how it looks in stable VS code:

Can we it set to break on word instead? This should respect the white-spaces better - something like word-wrap: break-word; or overflow-wrap: break-word; probably (I have not inspected with dev tools yet)

This is done. Will ship with next stable and is already available in insiders. Please file bugs for further work and polish

wooo! been following this for 3 years, excellent news ;)

Will the ability to resize the window also apply to the tooltip/hover window that is used by Hover providers?

This feature is incredible and works perfectly. Thank you very much @jrieken for developing this :heart_eyes:


Start autocomplete on <

The HTML package uses python to explicitly trigger autocompletion when < is typed. This package could benefit from the same.

Alternatively, wait until resolution of https://github.com/SublimeTextIssues/Core/issues/819

Moved completions to snippet files.


Is the Avalonia preview version unusable?

error：Could not load type 'Avalonia.Controls.IControl' from assembly 'Avalonia.Controls, Version=11.0.999.0, Culture=neutral, PublicKeyToken=c8d484a7012f9a8b'.
Hello，can Avalonia11 be used?

Fixed, please update your NuGet package :)

I will give it a try, thank you :)


move Webeditor to a separate github package

Ideally, all projects should import the Webeditor package, so they get access to #package_version. For this, it needs to be a separate repo.

I know our infrastructure does not support this well yet but especially for # commands that are not supposed to "functionally" be part of a package, it would make more sense to inject them dynamically via --plugin instead of making all packages import them statically.

I have to read up on --plugin, that's the first time I hear of it, but it sounds like the right thing!
Infrastructure might support it now after this weekend's changes

https://github.com/hhu-adam/lean4web-tools

To my knowledge the current state is that, using --plugin isn't as easy as anticipated and I'm not aware of any demo or doc that would explain how to do this.
If anybody knows how to dynamically load a command #my_command dynamically via --plugin, I'd be happy to see a short demo!

Implemented properly and different now.


New Version

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/116334
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.8 -m "<description of version>" 521bbccf67db0ad2c6f012c1914c8feb4e742ebd
git push origin v0.2.8


Error when tapping on stop that contains a forward slash "/" in stopId

Summary:
If you tap on a stop that has a / in the stopId, the app shows a dialog "Error - The data couldn't be read because it isn't in the correct format".
Opened similar issue on OBA Android:
https://github.com/OneBusAway/onebusaway-android/issues/704
Seems like client-side we should probably escape / as %2F - see http://stackoverflow.com/questions/2992231/slashes-in-url-variables.
Just opened server issue here as well - it's not clear that even if we escape the / client-side that servers can accept this in a REST API paramater :
https://github.com/OneBusAway/onebusaway-application-modules/issues/182
Steps to reproduce:

Using Boston region, search for stop Forge Park
Show stop on map and tap to see arrivals

It has the following stopId:
1_Forge Park / 495
...and it can be seen in the list of stops returned in this stops-for-location query:
http://developer.onebusaway.org/mbta-api/api/where/stops-for-location.json?lat=42.078482127189595&lon=-71.43382396548986&latSpan=0.08702002322407765&lonSpan=0.07993753999471664&version=2&key=TEST
Expected behavior:
Show arrival times for that stop
Observed behavior:
App shows dialog "Error - The data couldn't be read because it isn't in the correct format".
Screenshots:

Thanks Sean. I'll take a peek at this in the current bug fixing release and at least ensure that slashes are properly escaped.

Thanks!
On Oct 7, 2016 2:52 PM, "Aaron Brethorst"<EMAIL_ADDRESS>wrote:

Closed #787 https://github.com/OneBusAway/onebusaway-iphone/issues/787
via #793 https://github.com/OneBusAway/onebusaway-iphone/pull/793.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OneBusAway/onebusaway-iphone/issues/787#event-816647488,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA4pLcfRqu6mQB0y1KiUkb764MUE2ykzks5qxpT5gaJpZM4KQdXN
.


Is this plugin still available?

Is this plugin still available? I can't find it.

Hi, I was not able to publish it and gave up with the process.
Also, it was probably not the right way to use backlinks and I stopped using it.
You might have luck using it with a local copy (look here for information on where to put it).
That said it may be out of date with the current version of Obsidian.

Damn, all I wanted is a simple breadcrumbs addon.. The available plugin named "breadcrumbs" is to overcomicated.
Yours would have been perfect. I would even say this should be a built-in plugin (instead, or next to backlinks). Thanks anyway.

Sorry !
I had the same needs back then and tried to develop my own plugin. It worked well for a while but I my use of Obsidian grew out of it.
No promises, but if I revisit it in the future I'll ping you here.


ui: Fix Account List spacing on Android

This fixes the 'no spacing between account list items' issue. #2982
No visual changes to the iOS version, but Android now also matches it.
Also, more importantly, it makes the styling more clean and logical.
Now:

the AccountItem does not have a 'margin' by default, that didn't
make sense as it is not its job to provide that styling
the spacing is logically implemented via ItemSeparatorComponent

After #3013 , is this still needed or is it now redundant? Want to rebase it on that? It's possible the commit message is the only thing that changes.
(This issue isn't a priority compared to some others, I think.)

It is not redundant, but also not critical. Rebased.

Hmm, I'm puzzled:
    ui: Fix Account List spacing on Android

    This fixes the 'no spacing between account list items' issue.
    No visual changes to the iOS version, but Android now also matches it.

Didn't #3013 make the spacing on Android match that on iOS?
That is what I meant when I suggested the commit message might change even if nothing else does. :slightly_smiling_face:

I am picking this commit in the 'Deuglify UI' PR and closing this.


Change tittle from 'Step Details' to actual component name

Move Delete button from tabs to details panel

@kahboom yeah I didn't .. going to do that, thanks

@kahboom done, you can check from my branch if the layout works for you.

@mmelko did you push those changes? I still don't see them

ooopps .. look again please it should be there now


Is there a way to make queryVariables be available on reducer option?

Currently it seems that unlike updateQueries, the reducer option can't get the query variables on the update.
Was this by design? Is there a way to achieve it or it is a constraint of some sort?
One example of why this may be needed is this:

Suppose a query has a sort param that can have a field and a direction.
Suppose that a mutation added a new item to that query and this query wants to be updated.
With updateQueries there is a parameter queryVariables That allow it.
With reducer this parameter does not seem to be reachable making it impossible to add the newly added item on the right place.

Thanks in advance

@drFabio this issue belongs on Apollo Client, react-apollo just passes it through.

Ok will close and reopen it then.
Thanks


Update docs + restructure files

Update docs + restructure files
In this first PR, a main README is added and updated, metadata for the first plate is added and a platemap figure is generate, and a notebook is added to restructure the files into one folder.

@MattsonCam Thank you for the review! I am merging now!


Windows update packages might clash

Scoping by commit is not enough, we need to mix in the quality in there.

cc @egamma

To verify:

Use Code in Windows. Wait for an update, click Later
Open %TEMP%\vscode-update

The setup package in there should have -${ quality } in the name.


All subnets not showing when filtering subnets by vnet

Describe the bug
On the subnets discover page when you filter by vnet it will not show all of the subnets inside that vnet past like 128 subnets. I know this isnt working because i have a vnet with over 200 subnets and it doesnt show all of them.  speaking with microsoft they mentioned when i was running a query in the resource graph that i had to use
resources
| where type =~ "[microsoft.network/virtualnetworks"]
| extend subnet = properties.subnets
| mv-expand subnet limit 200 | project VnetName=name
To Reproduce
Steps to reproduce the behavior:

Go to Discover
Click on Subnets
Filter Parent vNet
See only limited number of subnets if over 128 in a vnet

Hey @letmetechyou, I'll look into this right away. Thanks for sharing all of the details as to what you did on your end to get the subnets showing up with the ARG query!

Hi @letmetechyou, v3.4.0 has been released and should contain the fix to address your issue above.
If you're using the standard deployment, simply restart your App Service to pull down the latest containers and let me know if you can see all of the Subnets now.
If for any reason you're still not seeing the expected number of Subnets, please let me know and I'll look into it right away. Thanks much!


feat: add apiVersion

What does this PR do?
add api version to the org display output
caveat: this value is cached and this reads the cache, not the original.
What issues does this PR fix or reference?
@W-12538222@
https://github.com/forcedotcom/cli/issues/314

QA Notes

✅ : Api Version     56.0  in table
✅ :     "apiVersion": "56.0", in --json


mkdir parent when create new file

add mkdir parent when create new file
add unit test in daos-java-api and modify unit test in hadoop daos

@minmingzhu as discussed, let me close this PR. feature is in pull request https://github.com/zjf2012/daos/pull/17.


headless build issue ubuntu 16.04 LTS

Trying to build from source with this command as documented
make -f makefile.unix
which giving me this error

/javacoin/src/leveldb/util/options.cc:17: undefined reference to `leveldb::Env::Default()'
collect2: error: ld returned 1 exit status
makefile.unix:180: recipe for target 'javacoind' failed
make: *** [javacoind] Error 1

Please make sure that required libraries are installed.
try installing Berkeley DB 4.8:
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8+±dev
In src folder
cd leveldb
chmod +x build_detect_platform
cd ..
make clean -f makefile.unix


TMS not rendering on map

This may be already on a todo but flagging that TMSs are not being rendered. Currently on browser, when selecting the Display as TMS button, the TMS for the image does not render on the map.
This is separate from the OIN_BUCKET_PREFIX issue on staging where we have it set as 558 and this breaks the dynamic tiler rendering
No console errors and it seems that the tilesjson endpoint is called and returns successfully.

See http://map-staging.openaerialmap.org/#/178.44406127929688,-18.132801356084773,11/latest/59cffa3291e41700d96b2a3c?_k=lr1ofj for example

This is fixed on staging, but only for new uploads.


Cannot change ownership of files under /etc/letsencrypt/live/npm-1 after restarting OR tearing down and recreating container

Checklist

Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?

Yes

Are you sure you're not using someone else's docker image?

Yes

Have you searched for similar issues (both open and closed)?

Yes

Describe the bug

I am setting up Nginx Proxy Manager for the very first time. I create my own SSL cert using LetsEncrypt.
The very first time I started the container, everything worked; I was able to login, register proxy hosts, etc.
However, whenever if I tear down and recreate the container, the process inside the container seems to be unable to access the cert files in /etc/letsencrypt/live/npm-1.
I am using docker compose on Debian 12, and here's what I see in the logs whenever I restart or recreate the container.
2024-12-16 18:48:51 ❯ Configuring npm user ...
2024-12-16 18:48:51 ❯ Configuring npm group ...
2024-12-16 18:48:51 ❯ Checking paths ...
2024-12-16 18:48:51 ❯ Setting ownership ...
2024-12-16 18:48:51 useradd warning: npm's uid 0 outside of the UID_MIN 1000 and UID_MAX 60000 range.
2024-12-16 18:48:51 chown: changing ownership of '/etc/letsencrypt/live/npm-1/chain.pem': Operation not permitted
2024-12-16 18:48:51 chown: changing ownership of '/etc/letsencrypt/live/npm-1/cert.pem': Operation not permitted
2024-12-16 18:48:51 chown: changing ownership of '/etc/letsencrypt/live/npm-1/fullchain.pem': Operation not permitted
2024-12-16 18:48:51 chown: changing ownership of '/etc/letsencrypt/live/npm-1/privkey.pem': Operation not permitted
2024-12-16 18:48:51 s6-rc: warning: unable to start service prepare: command exited 1
2024-12-16 18:48:51 /run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.

This makes it so that I can't login to the admin page.
Here's my docker-compose config for the service:
networks:
  proxy-net:
    name: proxy-net
    external: true

services:
  nginx-manager:
    image: 'jc21/nginx-proxy-manager:latest'
    container_name: nginx-manager
    restart: unless-stopped
    ports:
      - '80:80'
      - '81:81'
      - '443:443'
    volumes:
      - ${HOME}/docker-data/nginx/data:/data:rw
      - ${HOME}/docker-data/nginx/letsencrypt:/etc/letsencrypt:rw
    networks:
      - proxy-net

If I tear down EVERYTHING and start fresh, meaning... recreating an admin user, recreating an SSL cert, re-adding my proxy hosts, etc, then it works. But, of course, I'd like to avoid having to do this every time!
Is it something around the mounted volume's permissions? I've been scratching my head at this for a few hours, if anyone has any insight into what the problem might be, or how to fix it, I'd greatly appreciate it!
Nginx Proxy Manager Version

2.12.1
Expected behavior

Since I am using a mounted volume to store the nginx manager data and my SSL cert on my host machine, I would expected to be able to tear down the container and spin up a new one as many times, and still be able to login and re-use the cert I created.
Operating System

Debian 12

Can confirm than I don't even have to tear down the container for this to happen... simply stopping it and restarting causes the issue to start happening!

having the same issue...
there's already an open issue
https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4205


1.19.3

yeah it's coming

lesgo

unfortunately like most people, I'm stuck in real life where I can't just code 24/7, so everything takes soooo much longer to complete

@MrMelon54 It's okay, it's okay to have a start

wait, but the 1.19.2 version just works fine without any updates

oh does it? I guess this is resolved then?

oh does it? I guess this is resolved then?

Well, at least it doesn't crash for me and all its functions work fine. I guess people are just confused that the mod wasn't marked as compatible with 1.19.3 on Modrinth

I have now marked it as compatible with 1.19.3

Lesgo


Alternative source for data

Seems like https://www.berlin.de/corona/lagebericht/desktop/corona.html has a faster update rate!
The divs are correctly id'ed, so it should be easy to parse too:

Thanks! Yeah, I noticed, the dashboard you have linked to has actually replaced the daily press releases. In fact, I have stopped using the Python/Scrapy-parser (since there is nothing to parse anymore) and written a new parser for the dashboard. I you look at the JSON-files in data/target, you'll notice that the source-attribute now points to the dashboard. E.g.:
https://github.com/knudmoeller/berlin_corona_cases/blob/7b54e045fb6b8dc379cd2fca6da3355ad517558b/data/target/berlin_corona_traffic_light.latest.json#L2
I'm using a completely new parser for this based on Ruby/nokogiri (no particular reason, it was just easiest for me to do it that way). I just haven't pushed the code for that yet, because I didn't get around to documenting the changes in the readme.
I might just drop the code in its current state to a different branch, if you want to have a look at it!

And here it is!
https://github.com/knudmoeller/berlin_corona_cases/tree/feature/scrape_dashboard
Sorry for the slightly messed up commit history...
The parser itself is here: https://github.com/knudmoeller/berlin_corona_cases/blob/feature/scrape_dashboard/bin/scrape_dashboard.rb

Oh, I see! I hadn't realized source was already pointing to the new URL.  Then, no issue! 👍
I did realize that the data updates are pushed manually, tho. Have you considered automating it with GitHub Actions or similar? I could help there if you were interested!

Github actions sound cool! I had a look at them for automating something like sending a tweet every time I push updates, but I decided against using them (too complicated for what I want to do). Also, I guess that's not what you mean. Could you explain what you have in mind?

It would run as a cron job to check if new numbers are available, then it would render the new JSON and then commit the changes.

That's awesome! I have to admit I didn't even know stuff like that was possible with gh-actions. I'll try to dig into this a little over the weekend to see how far I get. Since I don't want to use JS (I don't want to write any new code), I'm assuming I'd have to start with a docker container action and run the Ruby scraper within that?

I don't think you need a container. You'd need 4 steps:

Checkout repo
Install dependencies
Build JSON
Push to target location

I do something similar for some documentation (e.g. here). That last step pushes to gh-pages by default. I don't know how it'd react to pushing to master as well (could trigger an infinite loop of push->CI->push->CI, etc), but maybe there's a way to filter the events based on the location of changed files (you could ignore pushes that only add changes in the directory that contains the released JSONs).

Finally, after two weeks, I got around to writing that GitHub Actions workflow. It seems to work fine, but I'll let it run in a separate branch for a few days before moving it to master. Thanks for the inspiration!

It's in master (looks like that is the only branch where schedule-triggers work) now and seems to work well. I have written a few words about it in the README as well.

Awesome! Seems to be working perfectly! Thanks for the mention ;)


How can i add remove button for li element as open/close button?

I want to use add and remove li list. I can add easily with jquery but i don't know how to add delete button as open/close like button. How can i do it ?

item xy

$('.fa-trash').on('click', function()
{
    $(this).closest('li').remove();
});

I did not test it. Of course you have to check if the ul warapper of removed li remains empty.

I think in my implementation, it is also ignoring the ignore-class .... I cannot click on it

By the way, here is how I remove a node, and move the content upwards. So you only delete that one item and not the children.
function ontology_remove(item_id){ 	var parent = $('#'+item_id).parent(); 	var children = $('#'+item_id).find('ul').html(); 	parent.prepend(children); 	$('#'+item_id).fadeOut().remove(); }

What it means "also ignoring the ignore-class". Where is somebody else who has this problem? I dont know the structure of your list. Can you create an example and be little clear in explanation?

What I mean is this ... here is my options
					var options = {
						ignoreClass: 'clickable',
						hintClass: 'hintClass',
						placeholderClass: 'placeholderClass',
					}

And here is my HTML

One

See, I have the 'clickable' class. But I cannot click on the button. When clicking on it, it behave like I want to drag the whole item.

The reason is, the the  element has to have clickable class too. Every element in "clickable" tree has to have clickable class.

All good. Thanks!


Issue with installing mod

Hi, i've got a weird issue while installing mods  :
steam@arkfrancepve:/root$ arkmanager installmods
No instances supplied for command installmods
Do you wish to run this command for all instances?y
Running command 'installmods' for instance 'shigo'
Downloading mod 566885854 ... Mod 566885854 was not successfully downloaded
Downloading mod 566887000 ... Mod 566887000 was not successfully downloaded
Downloading mod 630601751 ... Mod 630601751 was not successfully downloaded
Downloading mod 716327557 ... Mod 716327557 was not successfully downloaded
Downloading mod 758608778 ... Mod 758608778 was not successfully downloaded
Downloading mod 793605978 ... Mod 793605978 was not successfully downloaded
Downloading mod 849022785 ... Mod 849022785 was not successfully downloaded
Downloading mod 902616446 ... Mod 902616446 was not successfully downloaded
Running command 'installmods' for instance 'island'
Downloading mod 566885854 ... Mod 566885854 was not successfully downloaded
Downloading mod 566887000 ... Mod 566887000 was not successfully downloaded
Downloading mod 630601751 ... Mod 630601751 was not successfully downloaded
Downloading mod 716327557 ... Mod 716327557 was not successfully downloaded
Downloading mod 758608778 ... Mod 758608778 was not successfully downloaded
Downloading mod 793605978 ... Mod 793605978 was not successfully downloaded
Downloading mod 849022785 ... Mod 849022785 was not successfully downloaded
Downloading mod 902616446 ... Mod 902616446 was not successfully downloaded
Running command 'installmods' for instance 'ski'
Downloading mod 566885854 ... Mod 566885854 was not successfully downloaded
Downloading mod 566887000 ... Mod 566887000 was not successfully downloaded
Downloading mod 630601751 ... Mod 630601751 was not successfully downloaded
Downloading mod 716327557 ... Mod 716327557 was not successfully downloaded
Downloading mod 758608778 ... Mod 758608778 was not successfully downloaded
Downloading mod 793605978 ... Mod 793605978 was not successfully downloaded
Downloading mod 849022785 ... Mod 849022785 was not successfully downloaded
Downloading mod 902616446 ... Mod 902616446 was not successfully downloaded
[2017-05-04 00:17:03] [AppID 346110] Loaded workshop items in "/home/steam/steamcmd/steamapps/workshop" (18 installed, 18 needed)
[2017-05-04 00:17:03] [AppID 346110] Starting Workshop download job
[2017-05-04 00:17:04] [AppID 346110] Download item 716327557 result : OK
[2017-05-04 00:17:04] [AppID 346110] Finished Workshop download job : No Error
[2017-05-04 00:17:07] [AppID 346110] Loaded workshop items in "/home/steam/steamcmd/steamapps/workshop" (18 installed, 18 needed)
[2017-05-04 00:17:07] [AppID 346110] Starting Workshop download job
[2017-05-04 00:17:08] [AppID 346110] Download item 758608778 result : OK
[2017-05-04 00:17:08] [AppID 346110] Finished Workshop download job : No Error
[2017-05-04 00:17:11] [AppID 346110] Loaded workshop items in "/home/steam/steamcmd/steamapps/workshop" (18 installed, 18 needed)
[2017-05-04 00:17:11] [AppID 346110] Starting Workshop download job
[2017-05-04 00:17:12] [AppID 346110] Download item 793605978 result : OK
[2017-05-04 00:17:12] [AppID 346110] Finished Workshop download job : No Error
[2017-05-04 00:17:15] [AppID 346110] Loaded workshop items in "/home/steam/steamcmd/steamapps/workshop" (18 installed, 18 needed)
[2017-05-04 00:17:16] [AppID 346110] Starting Workshop download job
[2017-05-04 00:17:16] [AppID 346110] Download item 849022785 result : OK
[2017-05-04 00:17:16] [AppID 346110] Finished Workshop download job : No Error
[2017-05-04 00:17:19] [AppID 346110] Loaded workshop items in "/home/steam/steamcmd/steamapps/workshop" (18 installed, 18 needed)
[2017-05-04 00:17:19] [AppID 346110] Starting Workshop download job
[2017-05-04 00:17:20] [AppID 346110] Download item 902616446 result : OK
[2017-05-04 00:17:20] [AppID 346110] Finished Workshop download job : No Error
[2017-05-04 00:17:24] [AppID 346110] Loaded workshop items in "/home/steam/steamcmd/steamapps/workshop" (18 installed, 18 needed)
[2017-05-04 00:17:24] [AppID 346110] Starting Workshop download job
[2017-05-04 00:17:24] [AppID 346110] Download item 566885854 result : OK
[2017-05-04 00:17:24] [AppID 346110] Finished Workshop download job : No Error
[2017-05-04 00:17:27] [AppID 346110] Loaded workshop items in "/home/steam/steamcmd/steamapps/workshop" (18 installed, 18 needed)
[2017-05-04 00:17:28] [AppID 346110] Starting Workshop download job
[2017-05-04 00:17:28] [AppID 346110] Download item 566887000 result : OK
[2017-05-04 00:17:28] [AppID 346110] Finished Workshop download job : No Error
[2017-05-04 00:17:31] [AppID 346110] Loaded workshop items in "/home/steam/steamcmd/steamapps/workshop" (18 installed, 18 needed)
[2017-05-04 00:17:32] [AppID 346110] Starting Workshop download job
[2017-05-04 00:17:32] [AppID 346110] Download item 630601751 result : OK
[2017-05-04 00:17:32] [AppID 346110] Finished Workshop download job : No Error
[2017-05-04 00:17:35] [AppID 346110] Loaded workshop items in "/home/steam/steamcmd/steamapps/workshop" (18 installed, 18 needed)
[2017-05-04 00:17:36] [AppID 346110] Starting Workshop download job
[2017-05-04 00:17:36] [AppID 346110] Download item 716327557 result : OK
[2017-05-04 00:17:36] [AppID 346110] Finished Workshop download job : No Error
[2017-05-04 00:17:39] [AppID 346110] Loaded workshop items in "/home/steam/steamcmd/steamapps/workshop" (18 installed, 18 needed)
[2017-05-04 00:17:39] [AppID 346110] Starting Workshop download job
[2017-05-04 00:17:40] [AppID 346110] Download item 758608778 result : OK
[2017-05-04 00:17:40] [AppID 346110] Finished Workshop download job : No Error
[2017-05-04 00:17:44] [AppID 346110] Loaded workshop items in "/home/steam/steamcmd/steamapps/workshop" (18 installed, 18 needed)
[2017-05-04 00:17:44] [AppID 346110] Starting Workshop download job
[2017-05-04 00:17:44] [AppID 346110] Download item 793605978 result : OK
[2017-05-04 00:17:44] [AppID 346110] Finished Workshop download job : No Error
[2017-05-04 00:17:47] [AppID 346110] Loaded workshop items in "/home/steam/steamcmd/steamapps/workshop" (18 installed, 18 needed)
[2017-05-04 00:17:48] [AppID 346110] Starting Workshop download job
[2017-05-04 00:17:48] [AppID 346110] Download item 849022785 result : OK
[2017-05-04 00:17:48] [AppID 346110] Finished Workshop download job : No Error
[2017-05-04 00:17:52] [AppID 346110] Loaded workshop items in "/home/steam/steamcmd/steamapps/workshop" (18 installed, 18 needed)
[2017-05-04 00:17:52] [AppID 346110] Starting Workshop download job
[2017-05-04 00:17:52] [AppID 346110] Download item 902616446 result : OK
[2017-05-04 00:17:52] [AppID 346110] Finished Workshop download job : No Error
any clues ? Thanks

Does e.g. /home/steam/steamcmd/steamapps/workshop/content/346110/902616446/mod.info and/or /home/steam/steamcmd/steamapps/workshop/content/346110/902616446/WindowsNoEditor/mod.info exist?


Run October 2020 ConMon scans on 10/23

In order for us to update the JAB on our compliance in a consistent way, we need to run Continuous Monitoring scans on approximately the 23rd of the month. (If this date falls on a weekend or federal holiday, adjust to the last business day before the date.)
NEW - The week before the scan, coordinate with GSA IT to run NetSparker scans on the same date -- see Peter.
For context, see our Continuous Monitoring Strategy, including the monthly reporting summary explanation.
Running ZAP Scans
ZAP scans take hours. We recommend you start in the morning. There are two separate scans to run and the second one takes considerably longer than the first.

Check that you have the latest stable version of ZAP or install via Homebrew with brew cask install (or brew upgrade --cask) owasp-zap (recommended). Upgrade if necessary.

Be sure you have Firefox installed (with Homebrew brew cask install firefox or any way you chose). Chrome does not support proxy settings while Firefox does.

Configure ZAP as a proxy for Firefox: https://www.zaproxy.org/docs/desktop/start/proxies/

Download the cloud.gov conmon cloud.gov context from this repository and update it if necessary

Load the cloud.gov context into ZAP (File > Import Context)

You have to log in to each site in the context list so that ZAP can scan inside the authenticated websites. You have to be on the VPN. In Firefox, log in to each site in the context list. You can see the list by clicking the cloud.gov common context > Include in Context.

To prevent getting noise in the scan results (since that causes major confusion when the FedRAMP team processes the ConMon report), review the Sites list to ensure only the cloud.gov sites have a small red circle/sight on them (denoting the site will be included). Remove any sites not needed by CTRL-clicking on them and selecting Delete.

CTRL-click on the cloud.gov common context and run the Spider scan.  This takes a little less than an hour.

After the Spider scan is complete, again CTRL-click on the cloud.gov common context and this time run the Active Scan. This takes at least 4-5 hours, minimum.

After both scans are complete, export the results as both XML and HTML from the Reports menu. Name the files according to YYYYMMDD-ZAP.xml/html.

[ ] Upload both reports to Google Drive: https://drive.google.com/drive/u/0/folders/0B5fn0WMJaYDnaFdCak5WNWRGb1U in a folder named YYYYMMDD ZAP & Nessus.

You can shut down ZAP and Firefox. If you use Firefox in your day to day, you likely want to remove the proxy.
Export Nessus Scans

Log in to Nessus: https://nessus.fr.cloud.gov/

Select All Scans

Click on each scan except for staging, and export the .nessus file (Export > Nessus) and the Executive Summary report (Report > HTML).

[ ] Upload all exports (both Executive Summary and .nessus files) to the same Google Drive folder you put the ZAP scans in.

Update the POAM Inventory sheet
A python script is used to generate the inventory list.

Open the POAM Inventory sheet

Delete the data rows (starting at row 3)

For the tooling and production jumpboxes, login to each of them and from the initial home directory you start in, run python3 cg-scripts/generate-POAM-inventory.py. This will output data to your terminal window in CSV format. Copy the entire CSV output.

Paste the contents in the spreadsheet by selecting the first cell in row 3 then pasting with CTRL-Shift-V to paste without formatting. Then select the paste icon that appears and click Split text to columns

[ ] Verify you have pasted the inventory for both production and tooling.

Duplicate of #1463


cherry pick api level 21

Add missing cherry pick

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 35.76%. Comparing base (603cf09) to head (019b7cf).
Report is 87 commits behind head on API_LEVEL_21.

Additional details and impacted files
@@                Coverage Diff                @@
##           API_LEVEL_21     #807       +/-   ##
=================================================
- Coverage         60.19%   35.76%   -24.44%
=================================================
  Files                12       13        +1
  Lines              1726     1591      -135
=================================================
- Hits               1039      569      -470
- Misses              687     1022      +335

Flag
Coverage Δ

unittests
35.76% <ø> (-24.44%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


word behaving like WORD for .fs files

Not too sure under what conditions this happens, but it only seems to happen for .fs files.
Turning off ionide (the F# language server) doesn't seem to make a difference, but renaming from .fs to anything else fixes it.
My appdata/local/nvim and nvim-data folders are empty.

Does it happen in nvim (i.e. outside of vscode)? If you remove your init.vim?
What steps exactly did you perform? ciw ?

I've deleted my nvim and nvim-data user folders, so no init.vim
Seems to happen with any command, whether it's dw, ciw, cw, vw or just navigating with w, as long as it's an .fs file.
I tried holding down shift to see if it would invert with W, but no effect.

Again, does it happen with nvim (outside of vscode)?
Compare :set iskeyword?

Ah, just discovered :verbose set iskeyword and found that it was coming from Forth. I moved that out, and now it's fine.
Sorry for the false alarm.


use large android runner for ci.yml

Task/Issue URL: https://app.asana.com/0/488551667048375/1206419665418067/f
Description
Uses large runner to run ci jobs
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

develop

#4107   👈

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @cmonfortep and the rest of your teammates on  Graphite


Enable CA1062 rule

Change the action for CA1062 on the ruleset file to Error, and make the solution build

@kblok this rule is already set to Error and I suppose all the errors are fixed as the master branch is building without any issues


Sorting on added attributes of models

Summary of problem or feature request
I have a model and I want to add some columns. The calculations I need to do are complicated and it is impossible to add these columns by using database queries to add them. I can add the columns by calculating them using another php class and adding the columns as attributes. I know that the calculations can take some time, but that is not a problem here. When I do this, the new columns appear in my datatable (I'm using datatables as a service), but sorting does not work... Is there a way to make the sorting work?
Code snippet of problem

System details

Operating System
Homestead (Ubuntu 18.04.3)
PHP Version
7.3.9
Laravel Version
6.5.0
Laravel-Datatables Version
1.5.0 (latest version)

Unfortunately, it's not possible unless you convert the computations to query level.
On the other hand, you may try using collection but do note that it has performance issue when used in large datasets.

I will investigate the use of collections.


JAX does not load bundled CUDNN

Description
Somehow JAX does not use the bundled cudnn. How to reproduce:
conda create -n debug_jax_cudnn python=3.10
conda activate debug_jax_cudnn
pip install --upgrade "jax[cuda11_pip]==0.4.13" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
export LD_LIBRARY_PATH=""
python -c "import jax; A = jax.numpy.zeros((10, 10));"

Error:
2023-09-11 18:02:05.062414: E external/xla/xla/stream_executor/cuda/cuda_dnn.cc:439] Could not create cudnn handle: CUDNN_STATUS_NOT_INITIALIZED
  2023-09-11 18:02:05.062576: E external/xla/xla/stream_executor/cuda/cuda_dnn.cc:443] Memory usage: 7995392 bytes free,<PHONE_NUMBER>2 bytes total.
  2023-09-11 18:02:05.062650: E external/xla/xla/stream_executor/cuda/cuda_dnn.cc:453] Possibly insufficient driver version: 510.47.3
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/nfs/kun2/users/oier/miniconda3/envs/debug_jax_cudnn/lib/python3.10/site-packages/jax/_src/numpy/lax_numpy.py", line 2153, in zeros
      return lax.full(shape, 0, _jnp_dtype(dtype))
...
  jaxlib.xla_extension.XlaRuntimeError: FAILED_PRECONDITION: DNN library initialization failed. Look at the errors above for more details.

The nvidia driver is  510.47.3, which should support cuda 11.
What jax/jaxlib version are you using?
0.4.13
Which accelerator(s) are you using?
GPU
Additional system info
Ubuntu 20.04
NVIDIA GPU info
NVIDIA GeForce GTX 1080 Ti

I'm not 100% I interpret it correctly, but isn't 'Memory usage: 7995392 bytes free' implying that you only have ~8 MB of free memory on your GPU?

I'm not 100% sure I interpret it correctly, but isn't 'Memory usage: 7995392 bytes free' implying that you only have ~8 MB of free memory on your GPU?

When I try another GPU I get:
2023-09-11 22:50:18.801369: E external/xla/xla/service/gpu/gpu_compiler.cc:1423] The CUDA linking API did not work. Please use XLA_FLAGS=--xla_gpu_force_compilation_parallelism=1 to bypass it, but expect to get longer compilation time due to the lack of multi-threading. Original error: INTERNAL: nvlink exited with non-zero error code 256, output: nvlink fatal   : Input file '/tmp/tempfile-grace-e8fbd375-3485130-60523048fe531.cubin' newer than toolkit (118 vs 116)

This should be fixed with jax 0.4.20. JAX will prefer the pip-packaged CUDA libraries if they are present.

I just tried to reinstall 0.4.20 and I still have to set LD_LIBRARY_PATH to "" for it to work. Could there be a conflict with the changes in 0.4.17?

CUDA: JAX now verifies that the CUDA libraries it finds are at least as new as the CUDA libraries that JAX was built against. If older libraries are found, JAX raises an exception since that is preferable to mysterious failures and crashes.
as without setting LD_LIBRARY_PATH I get
CUDA backend failed to initialize: Found cuDNN version 8600, but JAX was built against version 8904, which is newer. The copy of cuDNN that is installed must be at least as new as the version against which JAX was built. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)

EDIT: apparently I also have to modify PATH to include the directory containing the 'ptxas" executable installed by Jax as it's not picked up automatically

This should actually be resolved by https://github.com/openxla/xla/pull/7884 for future releases!

We think this is fixed! Please comment if you're still having a problem.


No styles applied to Channel Search

When using the new channel search feature, the dark mode styles are not applied, see:

This issue should be fixed with the latest styles in master. Could you please confirm using the latest darkreader.css?

Confirmed fixed.


New Control: [fieldPicker]

Category
[x] Enhancement
[ ] Bug
[ ] Question
Version
Please specify what version of the library you are using: [  latest  ]
Enhancement
tl;dr: very similar in concept to sitePicker, listPicker, folderPicker, etc. but for Site/List Columns.
Occasionally we need users to select a 1. Column from a specific scope - Site, by Group, by Type, from List, etc.
Having a configurable control that will populate itself accordingly would be very helpful.

Hi @sparkitect
Nice suggestion! If I find the time I'm definitely willing to make the controls above.
Can I ask you to create 1 issue for each control? This way we can link each new control to the corresponding issue. So rename this issue to the FieldPicker control and create another similar issue for the ContentTypePicker control.
Thanks!

Nice suggestion! Can I ask you to create 1 issue for each control? This way we can link each new control to the corresponding issue. So rename this issue to the FieldPicker control and create another similar issue for the ContentTypePicker control.
Thanks!

✔ done: Updated this one and added #1220

Thanks to @milanholemans this has been implemented and will be included in the next release.


Transparent image used as material exported incorrectly.

In this model the mesh of the soccer golie net uses a transparent material, the back part (the grey one) becomes incorrectly transparent only from the point of view of the camera (the background of the skybox is displayed) while the grey part, which uses an image as background is rendered correctly.
Blender file:
stadium.blend.zip
Exported files with html viewer:
stadium.zip
Export parameters:

Blender render ( correct ):

glTF ( wrong transparency )
using @donmccurdy glTF Viewer https://github.com/donmccurdy/three-gltf-viewer

I don’t have access to Blender to check the files but this looks like a transparency sorting issue, and that often requires changes to the model to solve for realtime rendering.
If you’re able to, using a transparent texture with holes for the net, in mask/cutout mode, will probably give better results here.

Hi @donmccurdy, thanks for your reply, I had the same problem with the three.js blender export JSON plugin ( now deprecated ) and it was resolved this way. Unfortunately I can not import in the editor the file GLTF (I opened a report on the forum) to check whether the solution is the same. The solution using a transparent image as material would be the optimal solution, even to retain the reduced file size. Currently I am unable to change the net using the mask/cutout mode ( i need to learn how to do it ). :(

I'm not a Blender expert by any stretch (there is a Blender Stack Exchange that would be better) but this seems to work:

material
texture

It looks funny in Blender (I don't know why) but correct once exported to three.js.

result in Blender
result in three.js

You'll also want to mark the model as double-sided in three.js to get the inside of the net appearing correctly. It's currently not possible to do that part in Blender.
object.traverse((node) => {
  if (node.isMesh) node.material.side = THREE.DoubleSide;
});

@donmccurdy, can you post the Blender file and the js so I can do some tests with a working example? Thanks!


Add support for Lexus NX 300h 2018

The previous PR contains multiple unrelated commits. This should work.

Please add it to README as well. And looks like the car models test is passing!

@geohot added. thanks!


[DDW-1108] Fix middle ellipsis for addresses -  Character width calculation version

This PR fixes the middle ellipsis for different addresses lengths.
(this is the correct version of the original pr).

Screenshots

Testing Checklist

Slack QA thread
[ ] The beginning and end of the addresses should always be visible. In case there's no space enough, there should be a … character in the middle, cutting part of the address, but keeping the beginning and end still visible.

Review Checklist
Basics

[ ] PR has been assigned and has appropriate labels (feature/bug/chore, release-x.x.x)
[ ] PR is updated to the most recent version of the target branch (and there are no conflicts)
[ ] PR has a good description that summarizes all changes and shows some screenshots or animated GIFs of important UI changes
[ ] CHANGELOG entry has been added to the top of the appropriate section (Features, Fixes, Chores) and is linked to the correct PR on GitHub
[ ] Automated tests: All acceptance and unit tests are passing (yarn test)
[ ] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in development build (yarn dev)
[ ] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in production build (yarn package / CI builds)
[ ] There are no flow errors or warnings (yarn flow:test)
[ ] There are no lint errors or warnings (yarn lint)
[ ] There are no prettier errors or warnings (yarn prettier:check)
[ ] There are no missing translations (running yarn manage:translations produces no changes)
[ ] Text changes are proofread and approved (Jane Wild / Amy Reeve)
[ ] Japanese text changes are proofread and approved (Junko Oda)
[ ] UI changes look good in all themes (Alexander Rukin)
[ ] Storybook works and no stories are broken (yarn storybook)
[ ] In case of dependency changes yarn.lock file is updated

Code Quality

[ ] Important parts of the code are properly commented and documented
[ ] Code is properly typed with flow
[ ] React components are split-up enough to avoid unnecessary re-renderings
[ ] Any code that only works in main process is neatly separated from components

Testing

[ ] New feature/change is covered by acceptance tests
[ ] New feature/change is manually tested and approved by QA team
[ ] All existing acceptance tests are still up-to-date
[ ] New feature/change is covered by Daedalus Testing scenario
[ ] All existing Daedalus Testing scenarios are still up-to-date

After Review

[ ] Merge the PR
[ ] Delete the source branch
[ ] Move the ticket to done column on the YouTrack board
[ ] Update Slack QA thread by marking it with a green checkmark

@daniloprates Plase, check these steps:
1 - Shrink the window until the ellipsis appears
2 - Maximize it and check the ellipsis
A blank space is visible where the ellipsis was.

@daniloprates Ignore my previous comment, as I was on an old branch.
However, I found somethins that reproduces with similar steps on the new branch:
1 - Shrink the window until the ellipsis appears
2 - Maximize it and check the ellipsis
3 - Restore it and check the ellipsis
On step 2, the ellipsis is still visible. Not a big deal, but there is space now to show the full address.
On step 3, the ellipsis is not displayed.


Add options to c++ plugin to generate dllexport macros

Similar to original protoc it would be very useful to specify export macro.
$ protoc --cpp_out=dllexport_decl=MY_EXPORT_MACRO:output/direcotry
Command below generates MYEXPORT for protobuf code, not for gRPC code.
$ /usr/bin/protoc --cpp_out=dllexport_decl=MYEXPORT:output --plugin=protoc-gen-grpc_cpp=/usr/bin/grpc_cpp_plugin --grpc_cpp_out=dllexport_decl=MYEXPORT:output -- *.proto

+1

Hello
Is this feature scheduled to be released ?  Are there workarounds available meanwhile ?

Hello, any progress on this?

Hello, any progress on this?

Maybe this issue can be linked to this https://github.com/grpc/grpc/issues/15653
and to its PR https://github.com/grpc/grpc/pull/16848

Any progress on this?
It is a huge blocker for windows dll development

It seems that the grpc developers do not wish to support building grpc or plugins as DLLs on windows at all. See https://github.com/grpc/grpc/issues/15333 for details. If you really want your customers to be able to create pluggable user-defined components as shared libraries, either everyone to use non-windows platforms or switch to another RPC framework. We have the same requirement and we haven't been able to figure out a good solution even after banging our heads on it for days.


pull request for e2e test at 11/24/2016 03:26:03

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Certificate management

Please note that this has been developed on the still unmerged PR: https://github.com/aquarist-labs/s3gw-charts/pull/56
This is just a draft, to concept/prototype certificate management.
To try this you need cert-manager
If cert-manager is not already installed on the cluster, it can be installed like this:
$ kubectl create namespace cert-manager
$ helm repo add jetstack https://charts.jetstack.io
$ helm repo update
$ helm install cert-manager --namespace cert-manager jetstack/cert-manager \
        --set installCRDs=true \
        --set extraArgs[0]=--enable-certificate-owner-ref=true

Issue ticket number and link
https://github.com/aquarist-labs/s3gw/issues/193
Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.
[ ] CHANGELOG.md has been updated should there be relevant changes in this PR.

@votdev please note this is just a draft meant to prototype and demo a possible solution.
All the certificate specs at this point are incorrect and we will probably get rid of them entirely.


Exclude time range from monitoring

📑 I have found these related issues/pull requests
None
🏷 Feature Request Type
Change to existing notification-provider, Change to existing monitor
🔖 Feature description
I have configured several monitors. Some of them target services that are hosted on a dynamic hostname. Every night when my internet connection gets reset, it takes sometime for the services to be available again. This is expected and predictable. I'd like to be able to configure time ranges that would be excluded from monitoring (or maybe just from sending notifications). I can't find an option, neither on monitor- nor on notification configuration that would allow me to do so.
✔ Solution
Either monitor or notification configuration should provide an option to exclude one or more time ranges.
❓ Alternatives
None
📝 Additional Context
No response

be able to configure time ranges that would be excluded from monitoring (or maybe just from sending notifications). I can't find an option, neither on monitor- nor on notification configuration that would allow me to do so.

The feature you are looking for is a scheduled maintanance period.

See our docs: https://github.com/louislam/uptime-kuma/wiki/Maintenance
If you have concrete proposals which documentation would have helped you finding this better, we would be very open to feedback. The docs are work in progress, as in most open source software.

That's exactly what I need. I was just looking at a different place, should have read the documentation more carefully. Thanks for the pointer and all your work!


Consider previous matches algorithm (from peyansh98) applied to Icebreaker v2 codebase

https://github.com/OfficeDev/microsoft-teams-apps-icebreaker/pull/75

Cross referencing here the original PR: #75


fix: bump edge-runtime to 1.41.5

What kind of change does this PR introduce?
Updates to edge-runtime 1.41.5, which fixes an oddity when
What is the current behavior?
Previously if a relative path import like ../shared/index.ts was included in the function bundle, it would get unbundled in to something like ./home/deno/functions/shared/index.ts
What is the new behavior?
Now unbundle command would create a function-name/src directory for the source. Any relative imports will be placed in top-level function-name/ directory.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 57.785%

Files with Coverage Reduction
New Missed Lines
%

internal/gen/keys/keys.go
5
11.76%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
6376

Relevant Lines:
11034

💛  - Coveralls

Now unbundle command would create a function-name/src directory for the source. Any relative imports will be placed in top-level function-name/ directory.

I don't think adding src is the right approach. It would be saner to unbundle the closest ancestor to the output directory. For example,
If we have these 2 files in eszip
file:///home/deno/functions/slug/index.ts
file:///home/deno/shared/index.ts

And I specify output directory as /tmp, the following files should be extracted
/tmp/functions/slug/index.ts
/tmp/shared/index.ts

Because their common ancestor begins at /home/deno and can be removed.
As another example, if I have these 2 files
file:///home/functions/hello/index.ts
file:///home/functions/shared/index.ts

With the same output directory /tmp, I would expect the extracted paths to be
/tmp/slug/index.ts
/tmp/shared/index.ts

Closing this - This change was reverted in edge-runtime https://github.com/supabase/edge-runtime/releases/tag/v1.43.1


Docker cli command  does not works after vm reboot if vm had crashed while the container was still running with volumes attached.

Docker cli commands (docker volume create/ls)  does not works after vm reboot if the vm had crashed while the container was still running.

Steps:

Created a volume

root@photon-xVmYMbyTn [ ~ ]# docker volume ls
DRIVER              VOLUME NAME
root@photon-xVmYMbyTn [ ~ ]# docker volume create --driver=vmdk --name=testVol -o size=200mb
testVol
root@photon-xVmYMbyTn [ ~ ]# docker volume ls
DRIVER              VOLUME NAME
vmdk                testVol@sharedVmfs-0
root@photon-xVmYMbyTn [ ~ ]# docker volume inspect testVol@sharedVmfs-0
[
    {
        "Name": "testVol@sharedVmfs-0",
        "Driver": "vmdk",
        "Mountpoint": "/mnt/vmdk/testVol@sharedVmfs-0",
        "Status": {
            "access": "read-write",
            "attach-as": "independent_persistent",
            "capacity": {
                "allocated": "14MB",
                "size": "200MB"
            },
            "clone-from": "None",
            "created": "Tue Feb 28 08:30:56 2017",
            "created by VM": "photon-VM1.3",
            "datastore": "sharedVmfs-0",
            "diskformat": "thin",
            "fstype": "ext4",
            "status": "detached"
        },
        "Labels": {},
        "Scope": "global"
    }
]
root@photon-xVmYMbyTn [ ~ ]#

Ran the container with the volume mounted:

root@photon-xVmYMbyTn [ ~ ]# docker volume ls
DRIVER              VOLUME NAME
vmdk                testVol@sharedVmfs-0
root@photon-xVmYMbyTn [ ~ ]# docker run -it --volume-driver=vmdk -v testVol@sharedVmfs-0:/vol1 --name ub ubuntu
Unable to find image 'ubuntu:latest' locally
latest: Pulling from library/ubuntu

d54efb8db41d: Pull complete
f8b845f45a87: Pull complete
e8db7bf7c39f: Pull complete
9654c40e9079: Pull complete
6d9ef359eaaa: Pull complete
Digest: sha256:dd7808d8792c9841d0b460122f1acf0a2dd1f56404f8d1e56298048885e45535
Status: Downloaded newer image for ubuntu:latest
root@e676ea9c8e99:/# ls
bin  boot  dev  etc  home  lib  lib64  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var  vol1
root@e676ea9c8e99:/# echo " Hello World" > vol1/hellos
root@e676ea9c8e99:/# cat vol1/hellos
 Hello World

From ESX:
[root@sc-rdops-vm08-dhcp-226-41:~] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py ls
Volume   Datastore     Created By VM  Created                   Attached To VM (name/uuid)  Policy  Capacity  Used  Disk Format  Filesystem Type  Access      Attach As
-------  ------------  -------------  ------------------------  --------------------------  ------  --------  ----  -----------  ---------------  ----------  ----------------------
testVol  sharedVmfs-0  photon-VM1.3   Tue Feb 28 08:30:56 2017  photon-VM1.3                N/A     200MB     19MB  thin         ext4             read-write  independent_persistent

[root@sc-rdops-vm08-dhcp-226-41:~]

While the container is still running, rebooted the esx. Once the esx came back up, powered on the vm.
Then ran admin cli command to list volumes:

[root@sc-rdops-vm08-dhcp-226-41:~] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py ls
Volume   Datastore     Created By VM  Created                   Attached To VM (name/uuid)  Policy  Capacity  Used  Disk Format  Filesystem Type  Access      Attach As
-------  ------------  -------------  ------------------------  --------------------------  ------  --------  ----  -----------  ---------------  ----------  ----------------------
testVol  sharedVmfs-0  photon-VM1.3   Tue Feb 28 08:30:56 2017  photon-VM1.3                N/A     200MB     19MB  thin         ext4             read-write  independent_persistent

[root@sc-rdops-vm08-dhcp-226-41:~]

After that I tried to run 'docker volume ls' command on the vm - error "Cannot communicate with ESX"

root@photon-xVmYMbyTn [ ~ ]# docker volume ls
list vmdk: VolumeDriver.List: 'list' failed: connection reset by peer (errno=104). Cannot communicate with ESX, please refer to the FAQ https://github.com/vmware/docker-volume-vsphere/wiki#faq
DRIVER              VOLUME NAME
root@photon-xVmYMbyTn [ ~ ]#

Attached logs:
vmdk_ops.txt
docker-volume-vsphere.txt

@ashahi1

After that I tried to run 'docker volume ls' command on the vm - error "Cannot communicate with ESX"

can you walk through steps mentioned at FAQ? It is better to make sure that all services are up and running fine.
FAQ: https://vmware.github.io/docker-volume-vsphere/documentation/user-guide/faq/#i-see-connection-reset-by-peer-errno104-in-the-services-logs-what-is-the-cause

vSphere Host Agent (Hostd) took 13 seconds to start;
2017-02-28T08:42:26Z jumpstart[66472]: executing start plugin: hostd
...
2017-02-28T08:42:39.176Z info hostd[A05A9D0] [Originator@6876 sub=Vimsvc.ha-eventmgr] Event 1 : VMware Host Agent started on host sc-rdops-vm08-dhcp-226-41.en

In the meantime, vmdkops tried to start, failed and gave up
2017-02-28T08:42:33Z jumpstart[66472]: executing start plugin: vmdk-opsd
2017-02-28T08:42:34Z watchdog-vmdkops-opsd: [68429] Begin '/usr/lib/vmware/vmdkops/bin/vmdk_ops.py -p 1019', min-uptime = 60, max-quick-failures = 5, max-total-failures = 10, bg_pid_file = '', reboot-flag = '0'
2017-02-28T08:42:34Z watchdog-vmdkops-opsd: Executing '/usr/lib/vmware/vmdkops/bin/vmdk_ops.py -p 1019'
2017-02-28T08:42:34Z watchdog-vmdkops-opsd: '/usr/lib/vmware/vmdkops/bin/vmdk_ops.py -p 1019' exited after 0 seconds (quick failure 1) 1
2017-02-28T08:42:34Z watchdog-vmdkops-opsd: Executing '/usr/lib/vmware/vmdkops/bin/vmdk_ops.py -p 1019'
2017-02-28T08:42:35Z watchdog-vmdkops-opsd: '/usr/lib/vmware/vmdkops/bin/vmdk_ops.py -p 1019' exited after 1 seconds (quick failure 2) 1
2017-02-28T08:42:35Z watchdog-vmdkops-opsd: Executing '/usr/lib/vmware/vmdkops/bin/vmdk_ops.py -p 1019'
2017-02-28T08:42:35Z watchdog-vmdkops-opsd: '/usr/lib/vmware/vmdkops/bin/vmdk_ops.py -p 1019' exited after 0 seconds (quick failure 3) 1
2017-02-28T08:42:35Z watchdog-vmdkops-opsd: Executing '/usr/lib/vmware/vmdkops/bin/vmdk_ops.py -p 1019'
2017-02-28T08:42:36Z watchdog-vmdkops-opsd: '/usr/lib/vmware/vmdkops/bin/vmdk_ops.py -p 1019' exited after 1 seconds (quick failure 4) 1
2017-02-28T08:42:36Z watchdog-vmdkops-opsd: Executing '/usr/lib/vmware/vmdkops/bin/vmdk_ops.py -p 1019'
2017-02-28T08:42:36Z watchdog-vmdkops-opsd: '/usr/lib/vmware/vmdkops/bin/vmdk_ops.py -p 1019' exited after 0 seconds (quick failure 5) 1
2017-02-28T08:42:36Z watchdog-vmdkops-opsd: Executing '/usr/lib/vmware/vmdkops/bin/vmdk_ops.py -p 1019'
2017-02-28T08:42:37Z watchdog-vmdkops-opsd: '/usr/lib/vmware/vmdkops/bin/vmdk_ops.py -p 1019' exited after 1 seconds (quick failure 6) 1
2017-02-28T08:42:37Z watchdog-vmdkops-opsd: End '/usr/lib/vmware/vmdkops/bin/vmdk_ops.py -p 1019', failure limit reached

Now that Hostd is up & running, manually started service /etc/init.d/vmdk-opsd start and works fine.
Need to figure out how to add watchdog dependency so that vmdkops is not started until Hostd is up and running.

vmdkops does start after Hostd. However Hostd may not be fully up.
        load_vmci()

        kv.init()
        connectLocalSi() <<<<<<<<
        handleVmciRequests(port)

Can we defer "connectLocalSi" to later on first request? CC/ @msterin @govint

Rather than give up after a few retries the esx service could finish the retries and then continue. Getting the service interface is done on each call now so thats not an issue.

@govint main->connectLocalSi() exits if connection can not be established during startup. Are you also suggesting to remove connectLocalSi() from main?

No, try to connect but don't exit because connection wasn't established with the hostd.

Tried out a change to not exit the service on start up and instead try to connect to hostd on the next command. WHats happening is the pyVim pkg is remembering some status and even if hostd is started keeps thowing host connect fault over and over. Unless the service is restarted this continues for ever.


Refactor flattenStringMap approach

Should just count number of nested elements instead of creating a flattened structure and just using its length. Also, splicing should be replaced with an index-tracking approach to have linear instead of quadratic time complexity.

Resolved with https://github.com/Shard-Labs/starknet-hardhat-plugin/pull/256


Fix error handling for already created functions that could give syntax error in newer releases

Description
Our code assumes that function once created will never give syntax error. But certain fixes like 5251e4ab81c2b71b17b1e90a79847cec252b8e25 where we disallow declaring reserved @@var, functions could have been created in earlier releases which will give syntax error while executing on a version with this commit. While throwing this syntax error at time of execution of function we have not cleaned up the contexts and aborted well which leads to a crash while executing a subsequent query.
To fix this we call terminate_batch for compile errors when we get parser syntax error.
In this PR We were crashing due to this in this action and by adding this commit we are not crashing anymore.
Issues Resolved
BABEL-5455
Test Scenarios Covered
In this PR We were crashing due to this in this action and by adding this commit we are not crashing anymore.
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

2 of 3 (66.67%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 74.832%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

contrib/babelfishpg_tsql/src/pl_handler.c
2
3
66.67%

Totals

Change from base Build<PHONE_NUMBER>2:
0.0%

Covered Lines:
46511

Relevant Lines:
62154

💛  - Coveralls


[BUG] The config will keep changing,  so the frontend will keep refreshing the list

Describe the bug

The config will keep changing

To Reproduce
Steps to reproduce the behavior:

Listening to config resources

Expected behavior

Support bundle

Environment:

Harvester ISO version:
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630):

Additional context
Add any other context about the problem here.

The changes of these configmaps are expected. They are updated by controllers for leader selection. Given that they are not items on the list, we need to avoid refreshing the list on the UI side.

test step:

go to the vm creation page
click advanced options tab
Select the userData or networkData template and observe if the mouse moves abnormally in the drop-down list

verified drop-down list work normally in VM's advanced options.
Test Information

Environment: qemu/KVM 2 nodes
Harvester Version: master-04c5f438-head
ui-source Option: External

Verify Steps:

follow the comment above


Replace SirenClient with Top-Level Functions

Rather than having to instantiate a SirenClient, users should be able to use top-level follow and submit actions. This better satisfies the Interface Segregation Principle and aligns better with the style of the Fetch API.

@dillonredding do you have ideas for how to handle HTTP headers with top-level functions? Pass them to each follow/submit call?


ShowOptionsButton functionality

Describe the solution you'd like
ShowOptionsButton = false will hide the three dots icon but in its place shows the Select all icon
I would like to hide both these icons, is this possible?
Additional context
Thankyou for your time and effort creating this control, it is much appreciated

@tinmac Thank you for your interest in WinUI.TableView. Unfortunately, there is currently no feature to hide the Select All icon or button from the control. However, I plan to introduce a property to hide this button in a future release.


Missing Keys when loading checkpoints using deepspeed and HuggingFace Trainer

System Info
From transformers-cli env
- `transformers` version: 4.37.0
- Platform: Linux-6.2.0-1017-aws-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.20.3
- Safetensors version: 0.4.2
- Accelerate version: 0.23.0
- Accelerate config:    not found
- PyTorch version (GPU?): 2.1.2+cu121 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not installed
- Using GPU in script?: yes
- Using distributed or parallel set-up in script?: yes

Deepspeed version: 0.13.1
Peft version: 0.7.1
Who can help?
@pacman100 @younesbelkada @sayakpaul
Information

[ ] The official example scripts
[X] My own modified scripts

Tasks

[ ] An officially supported task in the examples folder
[X] My own task or dataset (give details below)

Reproduction
Apologies if this belongs in the transformers or deepspeed repo, but this issue appears to be contained to Peft models (I have no issues with full parameter tuning).
I am using a modified version of the SFT script from the alignment handbook. Training is taking place in a multi-GPU, multi-node setup using deepspeed via accelerate using pdsh.
In short, this appears to occur when using load_best_model_at_end with a PEFT model during training.
Cleaned stdout:
Traceback (most recent call last):
  File "/local_disk0/.ephemeral_nfs/training/alignment-handbook/scripts/run_sft.py", line 209, in <module>
    main()
  File "/local_disk0/.ephemeral_nfs/training/alignment-handbook/scripts/run_sft.py", line 164, in main
    train_result = trainer.train(resume_from_checkpoint=checkpoint)
  File "/databricks/python3/lib/python3.10/site-packages/trl/trainer/sft_trainer.py", line 315, in train
    output = super().train(*args, **kwargs)
  File "/databricks/python3/lib/python3.10/site-packages/transformers/trainer.py", line 1539, in train
    return inner_training_loop(
  File "/databricks/python3/lib/python3.10/site-packages/transformers/trainer.py", line 1972, in _inner_training_loop
    self._load_best_model()
  File "/databricks/python3/lib/python3.10/site-packages/transformers/trainer.py", line 2167, in _load_best_model
    deepspeed_load_checkpoint(self.model_wrapped, self.state.best_model_checkpoint)
  File "/databricks/python3/lib/python3.10/site-packages/transformers/integrations/deepspeed.py", line 402, in deepspeed_load_checkpoint
    load_path, _ = deepspeed_engine.load_checkpoint(
  File "/databricks/python3/lib/python3.10/site-packages/deepspeed/runtime/engine.py", line 2740, in load_checkpoint
    load_path, client_states = self._load_checkpoint(load_dir,
  File "/databricks/python3/lib/python3.10/site-packages/deepspeed/runtime/engine.py", line 2825, in _load_checkpoint
    self.load_module_state_dict(checkpoint=checkpoint,
  File "/databricks/python3/lib/python3.10/site-packages/deepspeed/runtime/engine.py", line 2603, in load_module_state_dict
    self.module.load_state_dict(
  File "/databricks/python3/lib/python3.10/site-packages/torch/nn/modules/module.py", line 2152, in load_state_dict
    raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for PeftModelForCausalLM:
	Missing key(s) in state_dict: "base_model.model.model.embed_tokens.weight", "base_model.model.model.layers.0.self_attn.q_proj.base_layer.weight",

For brevity I have not included all the missing keys, but the error lists every key in the model, except the PEFT ones (i.e. none of the lora keys). My guess is that when saving the checkpoints, the optimiser states and parameters are only saved for the LoRA layers, but the trainer is looking for all parameters when loading the checkpoint.
My question is mostly around whether this is intended behaviour/unsupported at this point, or whether I have done something wrong.
The model is loaded without a device_map passed since I believe deepspeed handles that. Other than that, here are (I think) the relevant config details:
use_peft: true
lora_r: 16
lora_alpha: 16
lora_dropout: 0.05
lora_target_modules:
- q_proj
- k_proj
- v_proj
- o_proj
- up_proj
- down_proj
- gate_proj

load_in_4bit: true
bnb_4bit_quant_type: nf4
use_bnb_nested_quant: true

gradient_accumulation_steps: 8
gradient_checkpointing: true
gradient_checkpointing_kwargs:
  use_reentrant: false

load_best_model_at_end: true
optim: paged_adamw_8bit
output_dir: /local_disk0/hf/outputs
overwrite_output_dir: true
resume_from_checkpoint: false
save_on_each_node: true
save_only_model: false
save_steps: 1
save_strategy: "epoch"
save_total_limit: 3

Please note that the output_dir is a common path used by each node, but does NOT refer to a shared filesystem/NFS (i.e. files are saved to the same path on each node, on different filesystems).
Accelerate:
deepspeed_config:
  deepspeed_multinode_launcher: pdsh
  deepspeed_hostfile: {TRAIN_DIR}/hostfile
  deepspeed_config_file: {DS_CONFIG}
  zero3_init_flag: true
distributed_type: DEEPSPEED

Deepspeed: I am using zero3 for model without any offloading (parameter or optimiser), with "stage3_gather_16bit_weights_on_model_save": True.
I can provide more details on any of the config items or code if needed. Note that all training is handled by the SFTTrainer, passing in model kwargs, a peft config, and trainer args.
Expected behavior
I expect the checkpoints to be able to be loaded and attached to the base model so training can continue.

Closing, looks like this is resolved by https://github.com/huggingface/transformers/pull/28746/files!


Expo support

I am attempting to use this library on an Expo project (running on IOS), but I am running into the following error:
TypeError: null is not an object (evaluating 'RNCColorPicker.showColorPicker')
I have recreated the problem on an Expo snack. Is there any way this library could work on Expo? It looks really good so far.

@unxpctederr
Thanks for raising the issue.
Unfortunately, there isn't a way to make this library work for managed workflow of expo.
In order to use this library in expo, you would have to run expo eject in your project to switch to bare workflow.

I am attempting to use this library on an Expo project (running on IOS), but I am running into the following error: TypeError: null is not an object (evaluating 'RNCColorPicker.showColorPicker')
I have recreated the problem on an Expo snack. Is there any way this library could work on Expo? It looks really good so far.

Solution available in #56


[feature] Version commit & tag support

If any of the version commands are run in a git repo, they would also create a version commit and tag.  For inspiration, look at how npm version works.
I could see this either being enabled by default or enabled using a flag.

That would create tight coupling to git. I would prefer to avoid it. To make a tag, one can do git tag $(cider version)


Search in folder when Cmd/Ctrl+Shift+F is invoked on a folder in sidebar

When I press Cmd/Ctrl+Shift+F and a focus is currently on some folder in the Explorer sidebar, it would be nice to automatically scope the search to that folder. It's currently achievable by putting this to keybindings.json:
    {
        "key": "cmd+shift+f",
        "command": "filesExplorer.findInFolder",
        "when": "explorerViewletVisible && filesExplorerFocus"
    },

but I think it would be a nice little improvement to do that automatically.

I think cmd+shift+f should just focus the viewlet in that case. Imagine if you press cmd+shift+e, then cmd+shift+f - you would be stuck searching in a folder, unless you grab the mouse to move the focus off a folder.
But, I would take a PR that adds this keybinding for cmd+alt+f (or something else reasonable) and something reasonable for windows.

@roblourens , can i work on this ?
If yes then some starter points would be helpful :)

There is already a PR in progress, see just above your comment.


[fix-#11825]fix problem about transaction (method of batchDeleteProcessDefinitionByCodes and batchDeleteProcessInstanceByIds)

Purpose of the pull request
fix problem about transaction (method of batchDeleteProcessDefinitionByCodes and batchDeleteProcessInstanceByIds)
Brief change log
ATT
Verify this pull request
This pull request is code cleanup without any test coverage.
this close #11825

Codecov Report

Merging #11889 (e0b8445) into dev (3664d85) will decrease coverage by 0.05%.
The diff coverage is 50.00%.

@@             Coverage Diff              @@
##                dev   #11889      +/-   ##
============================================
- Coverage     38.55%   38.50%   -0.06%
+ Complexity     4037     4029       -8
============================================
  Files           993      993
  Lines         36698    36668      -30
  Branches       4273     4266       -7
============================================
- Hits          14149    14119      -30
  Misses        20922    20922
  Partials       1627     1627

Impacted Files
Coverage Δ

...er/api/controller/ProcessDefinitionController.java
49.00% <0.00%> (ø)

...r/api/service/impl/ProcessInstanceServiceImpl.java
61.01% <ø> (+0.15%)
:arrow_up:

...uler/api/controller/ProcessInstanceController.java
68.08% <100.00%> (-2.13%)
:arrow_down:

...eduler/server/worker/task/WorkerHeartBeatTask.java
68.08% <0.00%> (-8.52%)
:arrow_down:

...er/master/dispatch/host/assign/RandomSelector.java
77.77% <0.00%> (-5.56%)
:arrow_down:

...erver/master/processor/queue/TaskEventService.java
75.00% <0.00%> (-5.36%)
:arrow_down:

...olphinscheduler/api/controller/BaseController.java
49.29% <0.00%> (-4.23%)
:arrow_down:

...e/dolphinscheduler/remote/NettyRemotingClient.java
50.00% <0.00%> (-2.78%)
:arrow_down:

...r/plugin/task/sqoop/parameter/SqoopParameters.java
55.12% <0.00%> (-1.29%)
:arrow_down:

... and 14 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

This PR doesn't seem to be related to Transaction

This PR doesn't seem to be related to Transaction

According to the previous code logic, it will cause partial success and partial failure


Port MongoDB as s-c-s source

As a developer, I'd like to move mongo module from XD to s-c-s-m repo, so I can use it as source to build streaming pipeline.
Acceptance:

mongo as source module is available in spring-cloud-stream-modules repo
maven repo includes mongo module with respective group/artifact/version detail

This issue was moved to spring-cloud/spring-cloud-stream-app-starters#44


Fix unit test stability

Make sure set the target branch to develop
What is the purpose of the change
Improve unit test stability. mvn clean package sometimes will fail with strange issues, and retry will solve it. So i try to fix and stabilize these issues.
Brief changelog
I found the main issue is caused by powermock & mockito compatibility which results strange mock problems, so i remove powermock dependency.
Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage increased (+1.7%) to 54.079% when pulling 1350c3f37248ba0631a4d55c40de4ac3e433add0 on ayanamist:fix-test into be6eaf858cf5e98bee072353f6580572d652951d on apache:develop.


Contact Journal - Fast double click leads to double entry in contact journal (EXPOSUREAPP-4561)

This PR fixes an issue where a person/location was displayed duplicated in the contact journal overview screen when quickly pressing on the respective item in the day screen.

Bug is no longer reproducible. Samsung S8 Android 9. Please, address code comments.

Bug is no longer reproducible. Samsung S8 Android 9. Please, address code comments.


Regarding urgent debugging problem of data format debugging

Hello I have a inquiry regarding urgent debugging problem of data format debugging.

Hello, I'm getting trouble regarding data format...
# Instantiate the extractor
params = os.path.join(os.getcwd(), '..', 'examples', 'exampleSettings', 'Params.yaml')

print(DC_img_1.GetSize())
print(DC_roi_1.GetSize())

# result = extractor.execute(imagePath, maskPath)
extractor = featureextractor.RadiomicsFeaturesExtractor(params)
DC_result_1 = extractor.execute(DC_img_1, DC_roi_1[2,:,:])
# PC_result_1 = extractor.execute(PC_img_1, PC_roi_1[2,:,:])`

The results of errors are like this:
(976, 1976)
(288, 432, 3)

---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-57-2572afd595f0> in <module>
      7 # result = extractor.execute(imagePath, maskPath)
      8 extractor = featureextractor.RadiomicsFeaturesExtractor(params)
----> 9 DC_result_1 = extractor.execute(DC_img_1, DC_roi_1[2,:,:])
     10 # PC_result_1 = extractor.execute(PC_img_1, PC_roi_1[2,:,:])

~/anaconda3/envs/venv_py3/lib/python3.6/site-packages/radiomics/featureextractor.py in execute(self, imageFilepath, maskFilepath, label, voxelBased)
    391     # 1. Load the image and mask
    392     featureVector = collections.OrderedDict()
--> 393     image, mask = self.loadImage(imageFilepath, maskFilepath)
    394
    395     # 2. Check whether loaded mask contains a valid ROI for feature extraction and get bounding box

~/anaconda3/envs/venv_py3/lib/python3.6/site-packages/radiomics/featureextractor.py in loadImage(self, ImageFilePath, MaskFilePath)
    507       # Do not include the image here, as the overlap between image and mask have not been checked
    508       # It is therefore possible that image and mask do not align, or even have different sizes.
--> 509       self.generalInfo.addMaskElements(None, mask, label)
    510
    511     # This point is only reached if image and mask loaded correctly

~/anaconda3/envs/venv_py3/lib/python3.6/site-packages/radiomics/generalinfo.py in addMaskElements(self, image, mask, label, prefix)
    112     lssif.Execute(mask)
    113
--> 114     self.generalInfo[self.generalInfo_prefix + 'Mask-' + prefix + '_BoundingBox'] = lssif.GetBoundingBox(label)
    115     self.generalInfo[self.generalInfo_prefix + 'Mask-' + prefix + '_VoxelNum'] = lssif.GetNumberOfPixels(label)
    116

~/anaconda3/envs/venv_py3/lib/python3.6/site-packages/SimpleITK/SimpleITK.py in GetBoundingBox(self, label)
  42674
  42675         """
> 42676         return _SimpleITK.LabelShapeStatisticsImageFilter_GetBoundingBox(self, label)
  42677
  42678

RuntimeError: Exception thrown in SimpleITK LabelShapeStatisticsImageFilter_GetBoundingBox: /opt/miniconda2/conda-bld/simpleitk_1520542297279/work/build/ITK-prefix/include/ITK-4.13/itkLabelMap.hxx:164:
itk::ERROR: LabelMap(0x3c367d0): No label object with label 1.`

I hope your kind advice really...

@shong95, as you can read from the error message No label object with label 1, your mask does not contain a segmented region with label (=value of the pixels) 1. Using the following code, you can detect the labels present in your ROI:
lssif = sitk.LabelShapeStatisticsImageFilter()
lssif.Execute(DC_roi_1)

print(lssif.GetLabels())

On a side note. Be careful with slicing on a SimpleITK image. Slicing the occurs in [x, y, z] order.
Finally, even after fixing this error, your extraction will not work, as your input image is 2D. We are currently in the process of making PyRadiomics support N-Dimensional extraction, but this is not yet done.
Checkout the google groups and the other issues on pointer how to deal with 2D input for now.


Permission notice error after upgrading to 5.5.0

Hi,
The following message popped up after upgrading to 5.5.0
Notice: register_rest_route was called incorrectly. The REST API route definition for wp-stateless/v1/status is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in /srv/maxroll/site/wp-includes/functions.php on line 5225

Hello @thecodeassassin
The fix will be included in the next release.


APPS-381 Add ECR support

Adds a new option, awsRegion, to extras, and makes username optional and mutually exclusive. If awsRegion is specified, then the registry is assumed to be ECR and a different docker script is used when compiling applications that handles installing the aws cli and logging in to docker using the AWS-specific method.
Also refactors Extras to use Spray JSON protocols for cleaner parsing code.

@commandlinegirl  Made suggested changes please review


Hellogo is written according to the document. It can't run after publishing. What's the reason? What's the place that didn't do well?

E：Unpack the uploaded package to see if hellogo is right or Linux program.
C：将上传的压缩包解开看看HelloGo是否是对的, 是否是linux的程序。

I forget that I use MacOS, and go is easy to make this kind of error. In windows, I build in go and then manually package and publish. This kind of error is also common. This kind of error is easy to occur when the production package is not released in a period of time. It is easy to ignore the Linux problem when debugging locally.


CAN - Bus Driver Sample

https://github.com/zephyrproject-rtos/zephyr/blob/4e6cb116f87bb2ff0ece7d8f968adac4dd2c9b3d/samples/drivers/can/src/main.c#L161
Shouldn't it be: if (can_recover(can_dev, K_MSEC(100)) != 0)

Good catch! Thanks for reporting.


Deploy the system to the test environment

With the test environment infrastructure deployed, we need to deploy the test environment to that database and virtual machine. This may require changes to the deployment as the database is currently included in the docker compose configuration.
This only needs to be a manual deployment for now but we should write down all the steps in the deployment section of the SMG. We will automate this in another story.
Acceptance criteria:

[x] The test system can be reached on a public IP version of the url (no domain name needed yet)
[x] The test system behaves the same as the current local version (i.e. all pages can be reached and the same information is shown).
[x] The steps of the deployment are documented in the SMG.

The domain name registration has already been hooked up so the system is already accessible from http://vectoratlas.icipe.org/

@andykitch the callback url for the deployed system doesn't work, presumably because it's still set to localhost. Any idea what the Auth0 callback url needs to be updated to?

All AC met:

Test system URL is: https://vectoratlas.icipe.org/map.
The test system behaves the same as the current local version - home, about, map pages can be reached and have the same information as development environment. I have alse been able to log in and out.
The steps of the deployment are documented in the SMG (\docs\SMG\08-deployment).


Update URL for Exercism Code of Conduct link.

See https://github.com/exercism/exercism/issues/4441.

Thanks @houhoulis!


print the schema graphql

hi,
there is a mode for printing or have the graphql schema generated from graphqlphp

You mean in GraphQL schema language, such as this?
schema {
  query: Base
  mutation: BaseMutation
}

type Base {
  """Returns random"""
  random(n: Int = 10): [Float!]
}

type BaseMutation {
  mutate: Boolean!
}

There is now, it does still require the underlying webonyx/graphql-php library, since that is what everything is built around. Does that help?

yes really thanks


Free and Instant Crafting of Any Item Bug

It appears the craft button sends info to the server in the following format.
[{id},[[{craftable},{"needs":[[{amount},{item}]],"makes":{item},"time\":{time}}]]]
This is changeable, allowing you to send something like
"[\"e51cbf95-ba55-4fa1-a149-92b798f10b9a\",[[true,{\"needs\":[[0,22]],\"makes\":6,\"time\":0.0}],[false,{\"needs\":[[4,18],[4,17]],\"makes\":16,\"time\":720.0}]]]"
This allows you to craft anything for free instantly

fixed


Refactored merge rule using the script directive.

As title.
Is there a more idiomatic way to redirect the output of a script called using the script directive in snakemake than the hack I used?

I think this is pretty much what people always do. I think it is also the most human readable way to define the redirection.


Update sprite for hero

Current sprite for hero is ugly.  I wanted it to be a robot first, but now I believe it should have a nature/tree beast aesthetic.

Decided on a light green holy robed green hero instead and added sprite.


Fixes retrieving process name on Azure Functions. Closes #4229

Fixes retrieving process name on Azure Functions. Closes #4229

Wow, that was fast @waldekmastykarz! Great work!! 👏🤙

Merged manually

Fantastic work @waldekmastykarz!