move to gcc7

Checklist

[x] Used a fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-webservice.
I tried to re-render for you, but it looks like there was nothing to do.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge/python-app @minrk I'm not sure if this PR does the job properly, but the goal was to add python.app to the gcc7 channel so that gcc7 recipes can pick it up properly from conda-forge (and not from defaults).

Thanks! This disables the main channel builds, which I think might not be desirable, though a new non-gcc7 build is perhaps unlikely before finishing the migration.

Maybe it would be better for python.app to be an extra output of the python feedstock itself with an exact dependency on the python it's built with?

ok, I see the point! I can add
channel_targets:
- conda-forge gcc7 main

is this what you meant?

Maybe it would be better for python.app to be an extra output of the python feedstock itself with an exact dependency on the python it's built with?

AFAIU I think this would be optimal, although I have never dealt with multiple package outputs up to now so I'm not sure where to start from (probably I would need a good example recipe)

@minrk shall we add the main channel or are we good with this?

I think there still should be two builds per python, one for the main channel and another for gcc7

@minrk ok, but I'm not sure how to add the main channel to the build matrix. Can you help me? It seems like this:
channel_targets:
  - conda-forge gcc7
  - conda-forge main

does not have the intended effect.

The two builds are tied to the compilers. It might be simplest to add a C compiler as a build dependency even though it's unused, instead of using conda_build_config.yaml:
requirements:
  build:
    - {{ compiler('c') }}
  host:
  ...

@conda-forge/python-app should be good to go!

@cpbotha @ChrisBarker-NOAA can you please merge if you agree with these changes?

Thanks

Happy to help!


Nothing happens when I select Account Preferences on Remote - Tunnels

Testing #229420
Version: 1.95.0-insider (user setup)
Commit: 804f450ca900d24db25e7174e8b6dfb3fb2a318c
Date: 2024-10-22T13:30:10.100Z
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.26120

GH Copilot: v1.241.1169 (pre-release)
GH Copilot Chat: v0.22.2024102202 (pre-release)
OS: Windows 11 Insiders

I experience the same issue with GitHub Repositories.

I can get into the account preference menu if I go via: Account Menu -> An Account -> Manage Trusted Extensions -> Gear icon on one of the Extensions.
Example for Live Share through this path:

But if I go through this path, nothing happens when I click Account Preferences:

The root cause is that Remote Tunnels is "trusted for BOTH GitHub & Microsoft" (for reasons) this means that:

It's an extension that we know can have Account Preferences so we show the item in the Context Menu
We don't know which provider to update the preference for because it has access to both GitHub & Microsoft

We could show a quick pick to ask the user which provider (GH/MS) to configure... but at this point in time, it hasn't used any account. And for the Remote Tunnels case, it can ask for both of those types of auth but it really only uses one.
Because this is a bit of a corner case, I will make a more pragmatic change here.
Basically showing a dialog that says "This extension has not used any accounts yet." when you pick the Context Menu Item.
I won't change the experience in the Account Menu... because there we know which auth provider we are changing.
This is all very niche so I think this difference isn't so bad... and once the extension actually uses auth this alllll doesn't matter anymore.


Rust FlatGeobuf reading via HTTP

This PR adds an async HTTP FlatGeobuf reader and an SVG writer. The client is compatible with WASM, see https://github.com/pka/flatgeobuf-wasm for a basic test.

Looks nice and finished @pka, ready for merge?

It's ready for merge. Based on this version, I'm currently working on extracting the non-FGB parts (GeoJON/SVG) into a separate crate.


Avoiding unnecessary buffer copies

I submitted #104 to avoid copying the buffer every time I submit a texture to the gpu, but it turns out that each gpu backend receives a &image::DynamicImage and performs another copy anyway. (well one copy is better than two, but still)
on the gfx backend it always performs a copy (even if the image already is rgba)
on the wpu backend it always performs a copy too, even if it's already gbra (also: why do the two backends use a different color order for textures?)
For the opengl backend: I can't find it.
Well it's unavoidable to perform copies if the image isn't the right format, but it can be avoided if it is. But copying on some backends and not on others doesn't sound good, so I'm not sure if there's something that can be done.
(Anyway, my point of view is: the more optimized coffee is, the more people can get away with poorly optimized game code.)

How often are you submitting a new texture to the GPU? You should try to reduce this as much as possible. Image::from_image is meant to be used for resource loading.
If you are producing individual pixels in your update logic, Coffee is probably not a good fit for your use case. Coffee allows you to load and draw sprites, quads, meshes, and UI widgets easily by leveraging the GPU. It is not optimized for drawing individual pixels. For something like that, you will probably have a better time with something like minifb.
If you are only loading resources every once in a while, I do not think an additional copy will matter unless you are dealing with a lot of images. We should probably perform some benchmarks and profile it before optimizing anything, specially when there is not a clear way to go about it.

How often are you submitting a new texture to the GPU?

I don't know yet!

We should probably perform some benchmarks and profile it before optimizing anything, specially when there is not a clear way to go about it.

Fair enough.

The wgpu backend has this line since the first release, which is quite ugly: https://github.com/hecrj/coffee/blob/e1bb429959472a786fe294916afc9e349181ad4b/src/graphics/backend_wgpu/texture.rs#L259
When I wrote this I didn't focus much on performance, given that it's a method that should be used rarely, so there is definitely room for improvement/micro-optimization.

The last cloned is definitively unneeded, because collect already allocates a new memory buffer (so .cloned().collect() copies the stuff, then copies again to the collected container - in this case, Vec).
IIRC the first one (.iter().cloned()) is sometimes needed to workaround the borrow checker, but not this time, since you are collecting (thus you own the result)

About graphics::Image::from_image: if we could ensure tha all backends always receive rgba buffers when uploading textures, then receiving
pub fn from_image(gpu: &mut Gpu, image: &image::RgbaImage) -> Result<Image>

Is probably a cleaner API: anyone that already have an RgbaImage can just pass it &image, and people that have some other kind of image shouldn't be too worried to call  &image.convert() (which allocates an rgba buffer). It feels rusty, in the same way that having to call .clone() and .cloned() when needed is.


title and body not show in notification

hai im sule
i tested in ruby 2.5.3  and rails 5.2 .3
notification title and body no show
here example code
fcm = FCM.new("keyfcm")
options = {
"notification": {
"body": "book aproving",
"title": "your booking for serive has been approve",
"click_action": "MainActivity"
}
}
response =fcm.send_to_topic_condition(
"'USER_ID_23' in topics && 'testing' in topics",
data: {
"body": "This is a FCM Topic Message!",
"title": "Teknopolitan bsd",
})

Can you please try with the latest release?
https://rubygems.org/gems/fcm/versions/1.0.1


Bring back good 'ol python 3.6

Centos7 still uses Python 3.6, this is more relevant than 3.6 being considered EOL by upstream python.
Lets try to get better support.

As I understand it, Python 3.8 can be installed on RHEL/CentOS 7 using rh-python38 from Red Hat Software Collections 3.8.

Trying to verify this, "Red Hat Software Collections 3.8" doesn't appear to be something accessible for Centos 7, for centos there appears to be "The Software Collections  ( SCL ) Repository" installable with yum, but despite rumors on the internets indicating that this would contain rh-python38, it does not appear to be the case as far as I can see.
I'll keep spelunking for a bit, and will likely just resort to using a BuildStream 2.x which supports python 3.6 since this appears to be the path of least resistance, in this case I'll try to make sure the magic wheel also gets built, use that directly, and we can discuss separately whether or not to merge this.

Also, I expect that Python 3.6 support would cause issues over time, if not already. Python libraries tend to drop support for obsolete Python versions, which make the latest versions uninstallable. I.e., I'd prefer not merging this, if we can avoid it.

I think you're talking specifically about the frozen set of dependencies we use for testing.
It's happened a couple of times that I've come right up to the edge of giving up on that and accepting that we need separate frozen requirements.txt for each supported python version rather than expecting that we can force all python versions to support a fixed set of dependencies, this approach does not seem to be viable (especially with frequently breaking grpc versions and the constraints we need to place there).

As I understand it, Python 3.8 can be installed on RHEL/CentOS 7 using rh-python38 from Red Hat Software Collections 3.8.

Trying to verify this, "Red Hat Software Collections 3.8" doesn't appear to be something accessible for Centos 7, for centos there appears to be "The Software Collections ( SCL ) Repository" installable with yum, but despite rumors on the internets indicating that this would contain rh-python38, it does not appear to be the case as far as I can see.
I'll keep spelunking for a bit, and will likely just resort to using a BuildStream 2.x which supports python 3.6 since this appears to be the path of least resistance, in this case I'll try to make sure the magic wheel also gets built, use that directly, and we can discuss separately whether or not to merge this.

Conclusion here is that it is not installable from centos-sclo-rh, even if all evidence to the contrary exists on the internets.
The issue here probably is that it would require a yum update to refresh everything and get access to new packages which include the rh-python38-python package, which I'm not yet certain would be acceptable to do in this specific centos7 based build container image.
I may resort to building/installing python 3.8 from source here as a less disruptive option.

Also, I expect that Python 3.6 support would cause issues over time, if not already. Python libraries tend to drop support for obsolete Python versions, which make the latest versions uninstallable. I.e., I'd prefer not merging this, if we can avoid it.

I think you're talking specifically about the frozen set of dependencies we use for testing.

It looks like it's even worse than I expected... attempting to get buildstream to build/install on python 3.6 requires additional reverts in buildstream, and I've encountered some errors (indirect dependency of ujson -> setuptools_scm) which don't seem feasible to work around, at least not with an automated pip install.
Likelyhood of dropping this PR altogether is raised exponentially ;-)

I'm strongly against merging this. It's not really supportable to maintain support for Python 3.6 anymore. Instead, you should probably recommend running Docker container for obtaining BuildStream 2 for CentOS 7.

@tristanvb you can't have the cake and eat it too. EOL Python version means BuildStream dependencies and build dependencies have dropped support for it. If you want to support CentOS 7, make RPM's and backport fixes.

One possible way is branching BuildStream such that 2.0.2 is not allowed to drop support for Python versions but 2.1.0 can.

To make it more obvious, Python 3.7 EOL happens next Summer and it is very probable this project's deps will stop testing and caring about it towards next Winter.

Indeed the situation is even more dire than I suspected, it seems to be extremely difficult to get these dependencies to cooperate once python 3.6 has been EOL for a very short number of years :-/
Closing this.

At least we're not using Rust or the problem would be much much worse.


Bug with other dimensions mods

I'm using the 1.16.5 version with the minning dimension mod.
The problem is that if i enter a dimension other than the nether (i tried only with the cobblestone one yet), when i go back i can't get into the nether portal (nor do i see what happen inside) unless i break the portal (mirror not bloc) and light it again. and i need to do that for all the portals in the overworld. All the portals within the nether are ok wich make still possible to redo the first portal, walk in, go through the 2nd, and then need to redo the 2nd.
Which brings me to make me do the suggestion : why not make it compatible with every dimension portals ? This way the bug disapear and we could have a great experience with multiple dimensions mods.

How did you "enter a dimension other than the nether"? With or without loading screen?
What do you mean by "i can't get into the nether portal (nor do i see what happen inside)"? You walk through portal but does not teleport? Does the portal show black or fog color?

Close due to not having complete information to diagnose the issue.


textInputOptions.menuOpen=false does nothing unless combined with openMenuOnFocus=false

To Reproduce
Click on the input field, comparing:
<Datepicker       v-model="date"       textInput       :textInputOptions="{ openMenu: false }" />
With:
<Datepicker       v-model="date"       textInput       :textInputOptions="{ openMenu: false }"       :openMenuOnFocus="false" />
Expected Behavior
As per the textInputOptions documentation, I thought it should be enough to set textInputOptions.openMenu=false to prevent the menu from opening when the input field is clicked.

The issue is fixed, please switch to the new package https://github.com/Vuepic/vue-datepicker


Slight modification to printing the after contest rankings

I believe we should modify the after contest such that if there were no unofficial participants in the contest, we just print one rank list and embed object, instead of the current way of creating a block that says the official rankings are the same as the all rankings.
Maybe we could modify the embed object such that when there are no unofficial participants, we print only one embed object with the title "Top five ranks (Official & All)".


How to add google site tag/Google Adwords?

Hi there
I need to add Google Adword Tracking stuff to a site.
So far I have a Google Tag Manager implemented. (ID: GTM...)
I now should add another code (the AW-CONVERSION_ID)
which is described here:
https://support.google.com/google-ads/answer/7548399?hl=en
I would need to add the conversion ID to the global site tag,
Is there a way to do this with this gtm-module?
== EDIT: ====
Is this line:
https://github.com/nuxt-community/gtm-module/blob/559814cd24d424320164e90ca08d0b3a9e7b6b44/lib/module.js#L84
responsible for doing this:
function gtag(){dataLayer.push(arguments);} in the standard way of integration the google scripts?
And if so where is this part
    gtag('js', new Date());

    gtag('config', 'GA_TRACKING_ID');
    gtag('config', 'AW-CONVERSION_ID');

hidden?
So where is the gtm-module actually configuring the GA_TRACKING_ID?
I would assume that there I should be able to set another google tag (AW-CONVERSION_ID)
...
Help is much appreciated

Hi, did you resolve this?

I could not. But in my case in the end it was enough to add the GTM code. There was no need for a global site tag, but if you find out how this can be solved, I would still be interested to know...

Do you have to have a GTM ID to use this library? I only have a Google Analytics and Adwords ID.


doc: update snap-clone with rbd snapshot

RBD Snapshot doc was the part of the README.md file. Hence,
renamed the cephfs-snap-clone.md file to snap-clone.md file
and moved the rbd snapshot document there.
Signed-off-by: yati padia<EMAIL_ADDRESS>Fixes: #1533

You can run make static-check locally to resolve errors and make travis-ci happy :)

You can run make static-check or  make containerized-test locally to resolve errors and make travis-ci happy :)

yes I have done that. checking for some error again.

The CI job fails with the following error:
mdl --style scripts/mdl-style.rb ./docs/snap-clone.md
./docs/snap-clone.md:17: MD012 Multiple consecutive blank lines
./docs/snap-clone.md:206: MD013 Line length
./docs/snap-clone.md:208: MD013 Line length
./docs/snap-clone.md:209: MD013 Line length
./docs/snap-clone.md:18: MD025 Multiple top level headers in the same document
./docs/snap-clone.md:105: MD025 Multiple top level headers in the same document
./docs/snap-clone.md:127: MD026 Trailing punctuation in header
./docs/snap-clone.md:135: MD026 Trailing punctuation in header
./docs/snap-clone.md:141: MD026 Trailing punctuation in header
./docs/snap-clone.md:149: MD026 Trailing punctuation in header
A detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md
mdl --style scripts/mdl-style.rb ./docs/deploy-rbd.md
Makefile:96: recipe for target 'lint-extras' failed
make: *** [lint-extras] Error 123
The command "make lint-extras" exited with 2.

You can run make containerized-test TARGET=lint-extras locally to see if changes to your branch fix these.

The CI job fails with the following error:
mdl --style scripts/mdl-style.rb ./docs/snap-clone.md
./docs/snap-clone.md:17: MD012 Multiple consecutive blank lines
./docs/snap-clone.md:206: MD013 Line length
./docs/snap-clone.md:208: MD013 Line length
./docs/snap-clone.md:209: MD013 Line length
./docs/snap-clone.md:18: MD025 Multiple top level headers in the same document
./docs/snap-clone.md:105: MD025 Multiple top level headers in the same document
./docs/snap-clone.md:127: MD026 Trailing punctuation in header
./docs/snap-clone.md:135: MD026 Trailing punctuation in header
./docs/snap-clone.md:141: MD026 Trailing punctuation in header
./docs/snap-clone.md:149: MD026 Trailing punctuation in header
A detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md
mdl --style scripts/mdl-style.rb ./docs/deploy-rbd.md
Makefile:96: recipe for target 'lint-extras' failed
make: *** [lint-extras] Error 123
The command "make lint-extras" exited with 2.

You can run make containerized-test TARGET=lint-extras locally to see if changes to your branch fix these.

Thanks @nixpanic will check and update it.

/test ci/centos/containerized-tests

@mergifyio rebase

As mentioned on an other PR, I would really like to see your full name in the Signed-off-by instead of your GitHub username.

yes, I have done that already, in the commit message.

As mentioned on an other PR, I would really like to see your full name in the Signed-off-by instead of your GitHub username.

yes, I have done that already, in the commit message.

Hmm, I do not think so. Commit 295e9178d3d74f151d87d56bed245f3931bdec2a does not have it, only the description of this PR (where a signed-off-by is not needed).

As mentioned on an other PR, I would really like to see your full name in the Signed-off-by instead of your GitHub username.

yes, I have done that already, in the commit message.

Hmm, I do not think so. Commit 295e917 does not have it, only the description of this PR (where a signed-off-by is not needed).

probably my bad.. I will change it.

@yati1998 can you please rebase this PR?

@Madhu-1  and @nixpanic sure will make the requested changes and resolve the conflict too soon. Didn't resolve the conflict as I was waiting for the final review.


There is an error in the plot_fui.py in calculating the confidence intervals

Visual inspection of the plots and comparisons of the plot_fui outputs from R and plot_fui.py show differences. Need to check what var is returning in R vs Python...

There were some import differences between the default method pandas read_csv uses for float and some type conversions that needed to be made. See fast_flmm_rpy2.ingest read_csv_in_pandas_pass_to_r for all requirements to get csv parsing to match between R and Pandas


pull request for e2e test at 11/11/2016 05:45:09

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

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.


Update users.profile.server.controller.js

null isn't a valid json

@roieki "fail" usually doesn't mean "beaks everythin", errors and exceptions are manageable (think about the whole set of error code 4xx and 5xx) ...
@ilanbiala I'm sorry but I don't understand what you mean ... where do you want to put the check ?

@roieki "fail" usually doesn't mean "beaks everythin", errors and exceptions are manageable (think about the whole set of error code 4xx and 5xx) ...
@ilanbiala I'm sorry but I don't understand what you mean ... where do you want to put the check ?

@Edo78 - I actually think it should break everything if a user isn't loaded... Either way, it makes little difference - you have to check whether or not you have a user loaded or not.

@roieki every API should return something valid even if it's called with parameters full of garbage.
The more I think about this PR the more I'm willing to change adding even an error code like 404
Returnig something invalid let the client wonder if the fault it's on itself or on the server side ...

@Edo78 on the client side (Angular) you have to check against {} (truthy) instead of null (falsy), which changes lots of things.

@Edo78 you'll also have to fix the commit message if we get everything changed accordingly and everyone thinks this is a good idea to merge.

@NeverOddOrEven do you mean req.user = user;? The other big comparison issue is in all the Angular code @Edo78 which like I said before:

you have to check against {} (truthy) instead of null (falsy), which changes lots of things.

I'm sorry, this is my first PR on github and I'm not a mean.js expert so maybe I'm screwing something but I can't event find where in the frontend is called this code ...

@Edo78 would you like to re-consider this PR for 0.4.0?
@ilanbiala I think Edo has a good point in APIs returning an empty object (or error object) rather than null.

@lirantal I agreed before, but it has to be fixed on the frontend as well.

@ilanbiala actually, taking another look here this whole discussion is futile because I couldn't find any use in the route /api/users/me so maybe we just need to remove it as it's obsolete.
Can you confirm?

Yeah I'm not finding a use. Do you remember us using this at any point?

Yes, it's used in master AFAIR.
Ok well, I'll go ahead and remove it.

@lirantal we can close this then, right?

yeah, closing, thanks.


⚠ Samsung has degraded performance

In ed79af3, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2323 ms

Resolved: Samsung performance has improved in 92bfd9f.


[BUG] System.ComponentModel.Win32Exception: An error occurred trying to start process 'D:\Bloxstrap\Roblox\Player\RobloxPlayerBeta.exe' with working directory 'D:\Bloxstrap\Roblox\Player'. The requested operation requires elevation.

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[ ] I did not answer truthfully to all the above checkboxes.

What problem did you encounter?
idk this problem appeared out of nowhere

Bloxstrap Log
2024-10-17T13:13:02Z [App::OnStartup] Starting Bloxstrap v2.8.0
2024-10-17T13:13:02Z [App::OnStartup] Compiled Wednesday, 16 October 2024 at 3:44:37 PM from commit 42ffec26cf2e080fe22210305a08fcb286aeb577 (tag/v2.8.0)
2024-10-17T13:13:02Z [App::OnStartup] Loaded from D:\Bloxstrap\Bloxstrap.exe
2024-10-17T13:13:02Z [App::OnStartup] Temp path is %UserProfile%\AppData\Local\Temp\Bloxstrap
2024-10-17T13:13:02Z [App::OnStartup] WindowsStartMenu path is %UserProfile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
2024-10-17T13:13:02Z [Logger::Initialize] Initializing at D:\Bloxstrap\Logs\Bloxstrap_20241017T131302Z.log
2024-10-17T13:13:02Z [Logger::Initialize] Finished initializing!
2024-10-17T13:13:02Z [JsonManager::Load] Loading from D:\Bloxstrap\Settings.json...
2024-10-17T13:13:02Z [JsonManager::Load] Loaded successfully!
2024-10-17T13:13:02Z [JsonManager::Load] Loading from D:\Bloxstrap\State.json...
2024-10-17T13:13:02Z [JsonManager::Load] Loaded successfully!
2024-10-17T13:13:02Z [FastFlagManager::Load] Loading from D:\Bloxstrap\Modifications\ClientSettings\ClientAppSettings.json...
2024-10-17T13:13:02Z [FastFlagManager::Load] Loaded successfully!
2024-10-17T13:13:03Z [LaunchHandler::LaunchRoblox] Initializing bootstrapper
2024-10-17T13:13:03Z [LaunchHandler::LaunchRoblox] Initializing bootstrapper dialog
2024-10-17T13:13:03Z [Bootstrapper::Run] Running bootstrapper
2024-10-17T13:13:03Z [Bootstrapper::SetStatus] Connecting to Roblox...
2024-10-17T13:13:03Z [Deployment::TestConnectionhttps://setup.rbxcdn.com] Connecting...
2024-10-17T13:13:03Z [HttpClientLoggingHandler::ProcessRequest] GET https://setup.rbxcdn.com/versionStudio
2024-10-17T13:13:03Z [Deployment::InitializeConnectivity] Testing connectivity...
2024-10-17T13:13:05Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://setup.rbxcdn.com/versionStudio
2024-10-17T13:13:05Z [Deployment::InitializeConnectivity] Got https://setup.rbxcdn.com as the optimal base URL
2024-10-17T13:13:05Z [Bootstrapper::Run] Connectivity check finished
2024-10-17T13:13:05Z [Bootstrapper::CheckForUpdates] Checking for updates...
2024-10-17T13:13:05Z [HttpClientLoggingHandler::ProcessRequest] GET https://api.github.com/repos/bloxstraplabs/bloxstrap/releases/latest
2024-10-17T13:13:05Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://api.github.com/repos/bloxstraplabs/bloxstrap/releases/latest
2024-10-17T13:13:05Z [Bootstrapper::CheckForUpdates] No updates found
2024-10-17T13:13:05Z [Bootstrapper::GetLatestVersionInfo] Got channel as zassetcacheinit4
2024-10-17T13:13:05Z [HttpClientLoggingHandler::ProcessRequest] GET https://bloxstraplabs.com/metrics/post?key=robloxChannel&value=zassetcacheinit4
2024-10-17T13:13:05Z [Deployment::GetInfo] Getting deploy info for channel zassetcacheinit4
2024-10-17T13:13:05Z [HttpClientLoggingHandler::ProcessRequest] GET https://clientsettingscdn.roblox.com/v2/client-version/WindowsPlayer/channel/zassetcacheinit4
2024-10-17T13:13:06Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://clientsettingscdn.roblox.com/v2/client-version/WindowsPlayer/channel/zassetcacheinit4
2024-10-17T13:13:06Z [Deployment::GetInfo] Getting deploy info for channel production
2024-10-17T13:13:06Z [HttpClientLoggingHandler::ProcessRequest] GET https://clientsettingscdn.roblox.com/v2/client-version/WindowsPlayer
2024-10-17T13:13:06Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://clientsettingscdn.roblox.com/v2/client-version/WindowsPlayer
2024-10-17T13:13:06Z [RegistryKeyEx::SetValueSafe] Writing 'zassetcacheinit4' to HKEY_CURRENT_USER\SOFTWARE\ROBLOX Corporation\Environments\RobloxPlayer\Channel\www.roblox.com
2024-10-17T13:13:06Z [ApplicationSettings::Fetch.PCClientBootstrapper.zassetcacheinit4] Fetching fast flags
2024-10-17T13:13:06Z [HttpClientLoggingHandler::ProcessRequest] GET https://clientsettingscdn.roblox.com/v2/settings/application/PCClientBootstrapper/bucket/zassetcacheinit4
2024-10-17T13:13:06Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://clientsettingscdn.roblox.com/v2/settings/application/PCClientBootstrapper/bucket/zassetcacheinit4
2024-10-17T13:13:06Z [HttpClientLoggingHandler::ProcessRequest] GET https://setup.rbxcdn.com/channel/common/version-9dbf9780562444e1-rbxPkgManifest.txt
2024-10-17T13:13:06Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://setup.rbxcdn.com/channel/common/version-9dbf9780562444e1-rbxPkgManifest.txt
2024-10-17T13:13:06Z [Bootstrapper::SetStatus] Applying Roblox modifications...
2024-10-17T13:13:06Z [Bootstrapper::ApplyModifications] Checking file mods...
2024-10-17T13:13:06Z [Bootstrapper::ApplyModifications] ClientSettings\ClientAppSettings.json has been copied to the version folder
2024-10-17T13:13:06Z [JsonManager::Save] Saving to D:\Bloxstrap\State.json...
2024-10-17T13:13:06Z [JsonManager::Save] Save complete!
2024-10-17T13:13:06Z [Bootstrapper::ApplyModifications] Finished checking file mods
2024-10-17T13:13:06Z [Bootstrapper::SetStatus] Starting {product}...
2024-10-17T13:13:06Z [HttpClientLoggingHandler::ProcessResponse] 429 Too Many Requests https://bloxstraplabs.com/metrics/post?key=robloxChannel&value=zassetcacheinit4
2024-10-17T13:13:09Z [LaunchHandler::LaunchRoblox] Bootstrapper task has finished
2024-10-17T13:13:09Z [LaunchHandler::LaunchRoblox] An exception occurred when running the bootstrapper
2024-10-17T13:13:09Z [App::FinalizeExceptionHandling] System.ComponentModel.Win32Exception (740): An error occurred trying to start process 'D:\Bloxstrap\Roblox\Player\RobloxPlayerBeta.exe' with working directory 'D:\Bloxstrap\Roblox\Player'. The requested operation requires elevation.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at Bloxstrap.Bootstrapper.StartRoblox()
at Bloxstrap.Bootstrapper.Run()
at Bloxstrap.Bootstrapper.Run()

idk it just shows this when i open bloxstrap

also before this happened i could not use true full screen and please fix this problem

Antivirus issue. Try configuring your antivirus to add Bloxstrap's installation folder as an exception, or try reinstalling Bloxstrap.


tasks.link pointing to wrong subheader if presence of multiple subheaders with same name

What happened?
Let's say I have a following (simplified) structure inside a weekly note:
# 16-10-2023
## tasks
- [ ] abc [type:: ]  [projet:: ] [priority:: 9]
# 17-10-2023
## tasks
- [ ] xyz [type:: ]  [projet:: ] [priority:: 5]
...

Then I have the query below to gather those tasks. In particular, I use 'Tasks.link AS "Lien" ' to get the link to the corresponding header.
However, when I click the link in the generated table, I end up in the first "task" subsection, regardless of the actual position of the task in the weekday. The problem would disappear if, under each day, I would rename the subheader as "Tasks day 1",  "Tasks day 2",  and so on, but it's a bit repetitive and ugly.
The documentation does stipulate that task.link is the "link to the closest linkable block near this task; useful for making links which go to the task." But unless I missed something, it doesn't seems to link to the full link tree, hence returning the first match, in my case, the first day.
Thank you !
DQL
TABLE WITHOUT ID
	Tasks.projet as "Projet",
	regexreplace(Tasks.text, "\[.*$", "") AS Tache,
	Tasks.type AS "Type",
	Tasks.link AS "Lien",
	Tasks.progress AS "Progres",
	Tasks.priority AS "Priorité",
	Tasks.due AS "Echéance"
FROM -"Tools/Templates"
FLATTEN file.tasks AS Tasks
WHERE !Tasks.completed AND Tasks.status != "Z"
SORT Tasks.due DESC, Tasks.priority DESC, Tasks.projet ASC

JS
No response
Dataview Version
0.5.61
Obsidian Version
1.4.16
OS
Windows

Hmm I think I know what the issue is but I don't think anyone can fix this right away. Would you like to attempt this?

Hmm I think I know what the issue is but I don't think anyone can fix this right away. Would you like to attempt this?

I'm sorry, I'm not sure I understood, who would like to attempt what ?

Do you want to try fixing this?

what can I do ?

There's a few prerequisites. You need to be comfortable with programming and also understand the basics of GitHub. The rest, I should be able to help with, like where the issue is and how to fix.

yes, why not


Can this be used with an atlas?

Hi, great crate!
I'm making a top-down dungeon, where the levels are made up of tiles, and my tiles are all in a single spritesheet.
I've created a separate spritesheet with textures only representing collisions in order to be able to define which parts of each tile are wall/floor.
Is it possible to load this spritesheet into bevy_collider_gen with an index of a tile, and have it generate a polyline for that specific tile? Or will I have to split my spritesheet up into separate image files?

Hello! Thank you!
If I'm understanding correctly, you can use multi_polyline_collider_translated to generate colliders for all the sprites in your image/spritesheet at once, it returns a Vec<Collider>
If I'm not understanding correctly I could use some more details and maybe a sample image 😄

This is one of the collision tiles. By placing this in a spritesheet and processing it at once, won't I get a Vec containing 3 separate colliders?
How can I then distinguish between which ones pertain to each tile?

🤔 yeah you would in that case. Is the issue then not wanting 3 separate colliders for that tile? Or is distinguishing the colliders the root of it?

3 colliders for that tile makes sense. The issue is distinguishing that those 3 colliders are related to this specific tile, as they'll be in the vector alongside all the other colliders from the spritesheet.

ahh okay yeah I'm understanding now, yeah that's a challenge to do with this crate as it is today.
I think there are folks achieving something similar using the crate this one depends on edges, where you can pass bytes directly to the Edges::march_edges function. You'd need to read your image then do a bit of bytes and offsets juggling to pass each tile's bytes in at a time. The physics engines this crate support just want points in drawing order and march_edges will return that for you to pass to them directly.
I do like the idea of being able to specify things specifically in a spritesheet though and not generating colliders for entire images. I'll start thinking about how to support it without needing too much extra work from the user. If this crate did what you were hoping already, how are you imagining you'd be able to specify an individual sprite in a sprite sheet, something like specifying size, width, and offset?

Something like that, yes. Ideally an index only, the same way a SpritesheetBundle's texture is specified.
Feel free to reach out if you'd like some assistance in implementing this. I'm not currently blocked by this so there's no pressure

Ah okay, that's a great pointer. I'll see if I can use the SpritesheetBundle as a reference. I'll take a pass at it and tag you in a comment and maybe you can let me know if I'm on the right track for what you're imagining.

Hi, how about adding a function to get edges from bevy_math::rect::URect or adding an area argument to edges::Edges::image_edges, then adding DynamicColliderPlugin and DynamicCollider component to bevy_collider_gen.

@salam99823 I think I like the idea of adding something to edges like Edges::from_grid with the same signature Bevy uses here to generate a texture atlas
Then it does get sort of tricky because the caller might want more than one collider for the sprites in the atlas so we'd need to make a clean way for this crate to make it easier than just using the edges crate themselves 🤔

I think you're right about something like DynamicCollider, maybe it's an object that once instantiated with an atlas, you need to specify the collider type in order to get the value at index i


fog-digitalocean conflicts with installed executable from fog

On Chef 12.3.0, when install chef-provisioning-fog (chef_gem[chef-provisioning-fog]), I'm getting this error.
[2016-10-28T14:45:25+00:00] ERROR: chef_gem[chef-provisioning-fog] (machines::default line 23) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of /usr/bin/gem install chef-provisioning-fog -q --no-rdoc --no-ri -v "0.20.0" ----
STDOUT: Building native extensions.  This could take a while...
Successfully installed nokogiri-<IP_ADDRESS>
Successfully installed fog-xml-0.1.2
Successfully installed xml-simple-1.1.5
Successfully installed fog-aliyun-0.1.0
Successfully installed fog-atmos-0.1.0
Successfully installed fog-aws-0.12.0
Successfully installed inflecto-0.0.2
Successfully installed fog-brightbox-0.11.0
Successfully installed fog-cloudatcost-0.1.2
Successfully installed fog-dynect-0.0.3
Successfully installed fog-ecloud-0.3.0
Successfully installed fog-google-0.1.0
Successfully installed fog-local-0.3.1
Successfully installed fog-openstack-0.1.15
Successfully installed fog-powerdns-0.1.1
Successfully installed fog-profitbricks-2.0.1
Successfully installed fog-rackspace-0.1.1
Successfully installed fog-radosgw-0.0.5
Successfully installed fog-riakcs-0.1.0
Successfully installed fog-sakuracloud-1.7.5
Successfully installed fog-serverlove-0.1.2
Successfully installed fog-softlayer-1.1.4
Successfully installed fog-storm_on_demand-0.1.1
Successfully installed fog-terremark-0.1.0
Successfully installed CFPropertyList-2.3.3
Successfully installed fission-0.5.0
Successfully installed fog-vmfusion-0.1.0
Successfully installed fog-voxel-0.1.0
Successfully installed trollop-2.1.2
Successfully installed rbvmomi-1.9.4
Successfully installed fog-vsphere-1.5.0
Successfully installed fog-xenserver-0.2.3
Successfully installed fog-1.38.0
Successfully installed addressable-2.4.0
Successfully installed multipart-post-2.0.0
Successfully installed faraday-0.9.2
Successfully installed jwt-1.5.6
Successfully installed signet-0.7.3
Successfully installed memoist-0.15.0
Successfully installed os-0.9.6
Successfully installed googleauth-0.5.1
Successfully installed extlib-0.9.16
Successfully installed autoparse-0.3.3
Successfully installed launchy-2.4.3
Successfully installed retriable-1.4.1
Successfully installed i18n-0.7.0
Successfully installed thread_safe-0.3.5
Successfully installed tzinfo-1.2.2
Successfully installed activesupport-<IP_ADDRESS>
Successfully installed google-api-client-0.8.7
STDERR: ERROR:  Error installing chef-provisioning-fog:
    "fog" from fog-digitalocean conflicts with installed executable from fog
---- End output of /usr/bin/gem install chef-provisioning-fog -q --no-rdoc --no-ri -v "0.20.0" ----
Ran /usr/bin/gem install chef-provisioning-fog -q --no-rdoc --no-ri -v "0.20.0" returned 1
[2016-10-28T14:45:25+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

Maybe I should report the error to 'fog-digitalocean' gem ?

yeah that isn't directly a bug in this repo


Fix: Update Casper UI Kit & Re-add PageWrapper/Navbar Test

🔥 Summary
We recently removed the PageWrapper test due to a bug within the Casper UI Kit.  A fix has been released so now we can add that test back.
😤 Problem / Goals

PageWrapper test was failing due to a Casper UI Kit bug

🤓 Solution

Bump version of the Casper UI Kit to 0.5.2
Re add in PageWrapper test

🗒 Additional Notes

Also noticed we weren't git or eslint ignoring the build folder correctly

Found another test that was removed due to this bug:
https://github.com/casper-network/casper-blockexplorer-frontend/pull/269/files#diff-e84ef6a92c8450813d74090df1d7fa5102d5fce332ae9418b04d9eb9c4a675ba


[BUG] Trailing white space in the notification body

Version: 0.10.2 - wired-git from aur
OS: Arch Linux + dwm

[x] I am running the latest version
[x] I checked the documentation and found no answer
[x] I checked to make sure that this issue has not already been filed

Expected Behavior
I think the trailing spaces should be removed before sending the notification.
Current Behavior

This is a Brave browser advertising with just an empty space in the body.
Steps to Reproduce

notify-send "test" "   "
notify-send "test" " "

I think I considered this at some point and decided it's a bug with the notification sender, but I'm happy to change my mind.
An alternative is changing the Body RenderCriteria to ignore whitespace in the criteria, but I don't see this being particularly useful.
I think just trimming notifications is the right idea.

Fixed in 0.10.3.


Can't create template with Esxi free license

I'm unable to create a template on the free license Esxi because it does not allow it.
Is there a better way to create a template? I'm trying to create a Windows 7 template from a VM I already have on the server
If so, can I just upload that template to the template directory on the server and then run the knife esx command to create a vm? Will that work even with the free version of the license and as long as I use the --free-version option?

There's a suite of tools that may help.  Google for 'ghetto clone' and see if you can integrate it into your workflow.


Refactor toggling script list

Closes https://github.com/godotengine/godot-proposals/issues/5017
The button for toggling script list was hard-coded to use ScriptEditor singleton. I changed it and now the control it toggles has to be assigned first. This allows to implement it in shader editor (which also uses CodeTextEditor).
I actually added the necessary code to do it in shader editor, but it doesn't work with the current structure:

It needs further work, so I commented-out the line that shows the toggle button.
Another thing required for https://github.com/godotengine/godot-proposals/issues/5017 is a status bar in VisualShader editor, similar to VisualScript:

CC @Chaosus, I guess.

Shouldn't the toggle also expand the script text box when the list is hidden?

It should, but it doesn't right now, so I've hidden the button (see the TODO comment). I added the GIF just to show what happens when you hide the list with the current editor structure.
I left fixing it for another PR, because it requires lots of changes. This PR just makes implementing the feature easier.

Is this one a draft?

No, it's complete.

I looked at the editor's structure again and realized there is no reason why the whole left panel can't be hidden.
https://github.com/godotengine/godot/assets/2223172/60a6d8f7-621c-4137-ac0e-0010d580af5e

Is there any chance of getting a Fullscreen shader editor like the gdscript editor

That's a separate question, and out of scope for this PR, please open a proposal for this if none is already open

Needs rebase.

Rebased.

Is there any chance of getting a Fullscreen shader editor like the gdscript editor as well 🥺

You can have fullscreen shader editor if you enable distraction-free mode and expand bottom panel:
https://github.com/user-attachments/assets/1064e466-8e8b-4b32-a35e-56ba06a23101

Thanks!

Its not a huge deal but on the Android editor,if toggle script but don't expand bottom.
The shader editor only shows one line
https://github.com/user-attachments/assets/8c3964d9-f6eb-490b-82f7-66e461e8948b

The shader list is responsible for shader editor's minimum size. Once it's hidden, the size is determined only by the text part, which has no assigned height. The panel will resize to the size you set manually.
Maybe we could assign minimum size to the overall shader editor. You can open an issue, so it's tracked.


Incorrect formatting: Various scripts, for trailing parenthesis, delimiters, etc.

Blueprint make report script, lines 55 & 57, is formatted as Body text, supposed to be Delimiter and Keyword.

There also exists a very similar looking formatting issue with the Blueprint material report, lines 50 and 52.

Also Bodies to map script, lines 83, 86, and 92.

Also Body atmosphere report script, lines 53, 59, 61, 67, 69, 75, 77, 79, 86, 128-130.

Also Body mapped script line 38.

etc.

Finding: This appears to be triggered as soon as | (from ||) is placed prior to :.
This is ok.
    {if recommendOtherMapping:
        {Pause(1500)}
        {F("Bodies to map")}
    }

This is formats incorrectly.
    {if recommendOtherMapping || false:
        {Pause(1500)}
        {F("Bodies to map")}
    }

Good spot: thanks.


ImportError with SegAutoMaskGenerator from metaseg package

Description:
I'm getting an ImportError when trying to import SegAutoMaskGenerator from the metaseg package. Here's the error message:
ImportError: cannot import name 'SamAutomaticMaskGenerator' from partially initialized module 'metaseg' (most likely due to a circular import) (/usr/local/lib/python3.9/dist-packages/metaseg/__init__.py)
Screenshot:

Steps to reproduce:

Install the metaseg package (pip install metaseg) on Google Colab.
Run the following code:
from metaseg import SegAutoMaskGenerator

Expected behavior:
The SegAutoMaskGenerator class should be successfully imported without any errors.
Actual behavior:
The ImportError is raised when trying to import SegAutoMaskGenerator.
Environment:
Python version: 3.9.16
Runtime: Google colab (with standard gpu)

Did you look at the readme file?
from metaseg import SegAutoMaskPredictor, SegManualMaskPredictor

# If gpu memory is not enough, reduce the points_per_side and points_per_batch.

# For image

autoseg_image = SegAutoMaskPredictor().save_image(
    source="image.jpg",
    model_type="vit_l", # vit_l, vit_h, vit_b
    points_per_side=16,
    points_per_batch=64,
    min_area=0,
)

# For video

autoseg_video = SegAutoMaskPredictor().save_video(
    source="video.mp4",
    model_type="vit_l", # vit_l, vit_h, vit_b
    points_per_side=16,
    points_per_batch=64,
    min_area=1000,
)

# For manuel box selection

seg_manual_mask_generator = SegManualMaskPredictor().save_image(
    source="image.jpg",
    model_type="vit_l", # vit_l, vit_h, vit_b
    x0=100,
    y0=100,
    x1=200,
    y1=200,
)

This seems to solve the issue!
from metaseg import SegAutoMaskPredictor, SegManualMaskPredictor
Thank you!


Unifying integral kernel NO architectures

Unifying integral kernel NO architectures with BaseNO (maybe rename better)
Implement FNO based on BaseNO

Everything fine to me, please just fix the Codacy issues (https://app.codacy.com/gh/mathLab/PINA/pullRequest?prid=13602959)

Everything fine to me, please just fix the Codacy issues (https://app.codacy.com/gh/mathLab/PINA/pullRequest?prid=13602959)

I tried to address as many as I could. The ones remaining are either not solvable (too many arguments in the input) or I do not know how to avoid triggering the codacy error (for example the forward pass one...). Also, I think the test failing on windows is due to the fact that some packages are not correctly installed when using windows...

Yes, just rebase conflicts after #243 and we're done!

Yes, just rebase conflicts after #243 and we're done!

Should be done!


Add yarn-berry3 and yarn-berry4 to fetch and use version 2 yarn.lock files

Problem
Currently there is no good way to use newer yarn.lock files because they rely on yarn-berry and cannot be used together with pre-existing tooling like fetch-yarn-deps.
There is an (abandoned? ) project which converts v1 files to v2 files with some caveats. This does require an internet connection and cannot be used in an isolated builder.
So one needs to convert the yarn.lock file and commit it to nixpkgs to be used for an offline cache.
There is an issue open (https://github.com/NixOS/nixpkgs/issues/254369)  which discusses some ways around it. The most sophisticated way was by @szlend and this PR builds on top of it to extend to be included in our new yarnConfigHook from #318015
Implementation of a solution
A new argument has been added to fetch-yarn-deps: yarnVersion which will default to 1 which uses the original yarn.
For newer yarn.lock files, one can set the yarnVersion to either 3 or 4 which will use yarn-berry3 or yarn-berry4 respectively. We need to separate both versions, because they have some small changes in the way the lock file is created.
This also adds the corresponding tests.
How to use it
For an implementation see the included pgadmin4 derivation, which was also my main motivation for this. I had to build a rather ugly and complicated update script before and do a lot of custom work to build the frontend. This is now simplified.
In short, add yarnBerry3ConfigHook to nativeBuildInputs and
yarnOfflineCache = fetchYarnDeps {
    src = "...";
    yarnVersion = 3;
    hash = "..."
  };

to your derivation.
fixes https://github.com/NixOS/nixpkgs/issues/254369
Once we agree on the implantation, I'll add the documentation.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.
[ ] Add documentation

Add a :+1: reaction to pull requests you find important.

Note also the CI failure.

Note also the CI failure.

This is caused by not adding the yarn-berry3 and yarn-berry4 to pkgs/by-name which doesn't make sense here

Note also the CI failure.

This is caused by not adding the yarn-berry3 and yarn-berry4 to pkgs/by-name which doesn't make sense here

Hmm seems like a false negative to me. Let's ask the advice of @NixOS/nixpkgs-vet .

Think this recommendation applies here: https://github.com/NixOS/nixpkgs/tree/master/pkgs/by-name#recommendation-for-new-packages-with-multiple-versions

Think this recommendation applies here: https://github.com/NixOS/nixpkgs/tree/master/pkgs/by-name#recommendation-for-new-packages-with-multiple-versions

Awesome, thanks for the pointer!

OK most issues are addressed. Let's give @winterqt and @szlend a day or 2 to reply (@winterqt  to this thread).

@emilazy I know this is a controversial PR, but I'd love to here your thoughts on https://github.com/NixOS/nixpkgs/pull/355053#discussion_r1855133116
thanks :-)

@emilazy I see that there is no activity from you since end of November. I'd still love to get your feedback to my reply above. In the meantime: @SuperSandro2000 could you also have a look at this? I'd like to get this merged and I believe I addressed most of the issues concerning stability and reliability in my comment above


Django 1.9 on Python 2.7

I am constrained by one of my dependencies to using Python 2.7. I am using Django 1.9.  I see that you only go up to Django 1.8 on Python 2.7. Is this because of known incompatibilities or did you just not test 1.8 on 2.7? I'm hoping I can use your code without having to change anything else. Thanks for letting me know.

Hi MalikRumi,
1.9 is supported (see build testing of release 2.5.2), though from the README I can see how you might mis-parse the text.
2.7, 3.3 (through Django 1.8 only), 3.4 and 3.5 is saying:

2.7 is supported.
3.3 is only supported up to Django 1.8.
3.4 and 3.5 are also both supported.

Any problems you encounter in 1.9 on py2.7 would be considered a bug, for which issues and pull requests are welcome.

Thanks for clearing that up. I nominate you to write all documentation
going forward.
On Tue, Aug 16, 2016 at 12:18 AM, Keryn Knight<EMAIL_ADDRESS>wrote:

Hi MalikRumi,
1.9 is supported (see build testing of release 2.5.2
https://travis-ci.org/carljm/django-model-utils/builds/151049023),
though from the README I can see how you might mis-parse the text.
2.7, 3.3 (through Django 1.8 only), 3.4 and 3.5 is saying:

2.7 is supported.
3.3 is only supported up to Django 1.8.
3.4 and 3.5 are also both supported.

Any problems you encounter in 1.9 on py2.7 would be considered a bug, for
which issues and pull requests are welcome.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/carljm/django-model-utils/issues/234#issuecomment-240022609,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFOIepCnSBCWlSV_4X3DGB9jpPYTkkahks5qgWRNgaJpZM4Jkm7S
.

"I said, 'That's because of racism. And Prince said, 'Maybe so, or maybe
you civil rights guys haven't created enough Mark Zuckerbergs.' "

Thanks :)
Closing as resolved. Please open a new ticket if you should happen upon a problem with the latest release.


SSH-able Docker Containers

You can now configure the jumpbox job on an instance_group with a
docker job on it to colocate users with SSH keys.  When those users
SSH into the VM, they will be dumped into a docker container built
specifically for them, per their requirements (of tooling, OS, env,
etc.).
This should allow us to move past the need for something like
jumpbox-boshrelease, while providing more flexibility to jumpbox
users.

Took this for a spin and everything worked great 👍


No iframes with Quickstep 1.0.9

Hi shudnal!  I just realized Quickstep 1.0.9 seems to no longer give any invincibility frames when dodging.  I tested with only this mod loaded.
Also, I can't seem to find you on Azumatt's Discord anymore.  Did you move to a new Discord home?  I hope all's well with you!
Thanks!
-Sav

Azumatt banned me for making ExtraSlots mod.
There was subtle change to dodge invincibility calculation in vanilla game in recent patch.
It will be fixed in 1.0.10 coming pretty soon.

That's really lame of Azumatt.  I'm sorry.
You fixed it.  Thank you!

Ah that's fine. He had his point and I've fixed what he was asking for and what I understood from his claims. I hope he will make AzuEPI better.


Add numpy-style docstrings to utility files

This message was generated by git-bob 0.1.0, an AI-based assistant.
This pull request adds numpy-style docstrings to all functions in the files _ai_github_utilities.py and _github_utilities.py. No other changes were made to the code.
closes #47

Awesome, thanks Bob!


Feature: Support authenticating as a GitHub App with user access/refresh tokens

I'm writing an application that uses an expiring user access token to authenticate a GitHub App on behalf of a user. This process uses the OAuth web flow to generate an access token and refresh token; these are valid for 8 hours and 6 months, respectively. I want to store the access and refresh tokens so that users don't have to log in each time they use the app.
I see that githubkit has OAuthWebAuthStrategy, which is useful for the initial login; however, it seems like the access and refresh tokens are stored in private variables in OAuthWebAuth, and I don't see an obvious public way to access them or to force it to fetch them. I also couldn't find an AuthStrategy that takes an access or refresh token as the input.
Ideally, this is the sort of code I would like to be able to write:
# initial login
github = GitHub(OAuthWebAuthStrategy(client_id, client_secret, code))
access_token, refresh_token = github.get_app_user_access_token()

# subsequent usages
github = GitHub(AppUserAuthStrategy(client_id, client_secret, access_token, refresh_token))

GitHub app user auth flow docs:
https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-user-access-token-for-a-github-app#using-the-web-application-flow-to-generate-a-user-access-token
For comparison, here's how PyGithub's app user authentication works:
https://pygithub.readthedocs.io/en/stable/examples/Authentication.html#app-user-authentication

Actually, the github app user access auth flow is a oauth workflow. Currently, you can do this as examples here:
from githubkit import GitHub

# auth as github app itself
g = GitHub(AppAuthStrategy(app_id, private_key, client_id, client_secret))

# switch to app user auth
user_github = g.with_auth(g.as_oauth_app().as_web_user(code))

Right, but I don't have code anymore after the first login. Sorry, I think the example I gave maybe wasn't very good.
User logs into the app:
# initial login
github = GitHub(OAuthWebAuthStrategy(client_id, client_secret, code))
access_token, refresh_token = github.get_app_user_access_token()

write_tokens_to_database(user_id, access_token, refresh_token)

Later, user uses the app without having to log in again:
# subsequent usages
access_token, refresh_token = read_tokens_from_database(user_id)

github = GitHub(AppUserAuthStrategy(client_id, client_secret, access_token, refresh_token))

So I think I wouldn't be able to use .as_web_user(code) for the second one, because I don't have code at that point, only the tokens I exchanged it for.

I see... It seems i need to add a simple (token, expire token) auth strategy for oauth app. I'm also developping a github app and i disable the token expire for the user token :joy:. I can use the simple token auth strategy for stored user token.

This feature is related to #44

In pr #115, i introduced a new oauth web/device flow. Now you can use the oauth auth strategy as follows:
from githubkit import GitHub, OAuthAppAuthStrategy, OAuthTokenAuthStrategy

github = GitHub(OAuthAppAuthStrategy("client_id", "client_secret")

user_auth = await github.auth.as_web_user("code").async_exchange_token(github)
access_token = user_auth.token
refresh_token = user_auth.refresh_token

# store the refresh token in database

# when use, use refresh token to auth (access_token, expire_time is optional)
user_github = GitHub(OAuthTokenAuthStrategy("client_id", "client_secret", refresh_token="refresh_token"))


flutter_gallery has outdated Shrine demo

The Shrine inside examples/flutter_gallery is outdated, and behind https://github.com/flutter/samples/tree/master/shrine. It should either be removed (preferred), or brought up-to-date

@RedBrogdon , do you want me to submit a PR or have you do it?

New version ready to be moved: https://github.com/material-components/material-components-flutter-experimental/tree/master/shrine_with_cart

Did we confirm that we can/should not just remove it from Gallery?

We should not remove it. It should be updated with the new version.

I've begun working on this change.

Currently being addressed in https://github.com/flutter/flutter/pull/23300

Now being addressed in #23878

Hi @willlarche any news on this one?

@mit-mit it’s blocked on one failed performance test on one device. Hans can comment more.

cc @HansMuller can you comment? We'd very much like to get the Gallery into a great shape for Flutter Live.


Edits copy for clarity

Adding a few words for clarity.

Great work! To be honest, my English is poor, so there may be some problems with the English docs, thank you every much for help me improve it :)


PR: Fix close window handling for non-modals

Description

Fixes #2527
Type of change

[x] Bug-fix (non-breaking change which fixes an issue)

References

How has this been tested?

[x] example: all tests pass with my change

Final checklist:

[x] My PR is the minimum possible work for the desired functionality
[x] I have commented my code, particularly in hard-to-understand areas

I'm curious though could we also get cmd-w to work for our modal dialogs, like the napari-info screen (accessible with cmd-/). That still doesn't close with cmd-w, but it might be nice

@sofroniewn that is part of the larger discussion on fowrarding actions to all modals, either on the base dialog class, but I suggest we wait for the actions manager work to be merged so that we can use it to get the global actions and then forward them to all dialogs.

@sofroniewn that is part of the larger discussion on fowrarding actions to all modals, either on the base dialog class, but I suggest we wait for the actions manager work to be merged so that we can use it to get the global actions and then forward them to all dialogs.

Sounds good, I'm fine merging this PR as is and we can then continue this work after the actions manager etc. Thanks for the explanation!!


Add a banner for recommending Modus Web Components over Modus React Bootstrap

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I have read the contributing guidelines

Proposal
Linked to https://github.com/trimble-oss/website-modus.trimble.com/issues/611
Motivation and context
https://github.com/trimble-oss/website-modus.trimble.com/issues/611

use primary for light and secondary for dark


Display URL link of the deployed image

As a user, once I have deployed my application, I'd like the URL to the application to be displayed in the window.
Right now it automatically opens a new tab in the browser, but I might need to get that URL as a clickable link, as I might close the browser tab or need to copy/paste the URL in another tool.

You can already copy the route URL from the last output line (Application is exposed as: ' + route).
But I think we need to use a regular div instead of a textarea to show the output, so we can display richer content, like hyperlinks.

We can use https://www.npmjs.com/package/react-lazylog.

@dgolovin react-lazylog doesn't have clickable links, although there's a 7 month old PR for that.
Regardless, when I tried to use it, I managed to see something the 1st time, then the page rendering was gone when I reloaded.
export function DeploymentOutput(props: DeploymentOutputProps) {

  let output = props?.deployResponse;

  return (
    <Box
      display="flex"
      flexDirection="column"
      flexGrow={1}
      width="100%"
    >
      <LazyLog extraLines={1} follow enableSearch text={output} caseInsensitive />
    </Box>
  );
}

Restarting the dashboard didn't help. Something makes it crash but no idea what/why.
Uncaught Error: Invalid offset NaN specified
    at CellSizeAndPositionManager._findNearestCell (CellSizeAndPositionManager.js:277:1)
    at CellSizeAndPositionManager.getVisibleCellRange (CellSizeAndPositionManager.js:205:1)
    at ScalingCellSizeAndPositionManager.getVisibleCellRange (ScalingCellSizeAndPositionManager.js:133:1)
    at Grid._calculateChildrenToRender (Grid.js:752:1)
    at Grid.render (Grid.js:669:1)
    at finishClassComponent (react-dom.development.js:17485:1)
    at updateClassComponent (react-dom.development.js:17435:1)
    at beginWork (react-dom.development.js:19073:1)
    at HTMLUnknownElement.callCallback (react-dom.development.js:3945:1)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:3994:1)
_findNearestCell @ CellSizeAndPositionManager.js:277
getVisibleCellRange @ CellSizeAndPositionManager.js:205
getVisibleCellRange @ ScalingCellSizeAndPositionManager.js:133
_calculateChildrenToRender @ Grid.js:752
render @ Grid.js:669
finishClassComponent @ react-dom.development.js:17485
updateClassComponent @ react-dom.development.js:17435
beginWork @ react-dom.development.js:19073
callCallback @ react-dom.development.js:3945
invokeGuardedCallbackDev @ react-dom.development.js:3994
invokeGuardedCallback @ react-dom.development.js:4056
beginWork$1 @ react-dom.development.js:23964
performUnitOfWork @ react-dom.development.js:22776
workLoopSync @ react-dom.development.js:22707
renderRootSync @ react-dom.development.js:22670
performSyncWorkOnRoot @ react-dom.development.js:22293
(anonymous) @ react-dom.development.js:11327
unstable_runWithPriority @ scheduler.development.js:468
runWithPriority$1 @ react-dom.development.js:11276
flushSyncCallbackQueueImpl @ react-dom.development.js:11322
flushSyncCallbackQueue @ react-dom.development.js:11309
discreteUpdates$1 @ react-dom.development.js:22420
discreteUpdates @ react-dom.development.js:3756
dispatchDiscreteEvent @ react-dom.development.js:5889
react-dom.development.js:20085 The above error occurred in the <Grid> component:

    at Grid (http://localhost:3000/static/js/bundle.js:89761:86)
    at List (http://localhost:3000/static/js/bundle.js:92708:86)
    at div
    at AutoSizer (http://localhost:3000/static/js/bundle.js:87460:86)
    at t (http://localhost:3000/static/js/bundle.js:74527:9)
    at div
    at http://localhost:3000/static/js/bundle.js:4325:66
    at Box (http://localhost:3000/static/js/bundle.js:30235:72)
    at DeploymentOutput
    at div
    at http://localhost:3000/static/js/bundle.js:4325:66
    at Box (http://localhost:3000/static/js/bundle.js:30235:72)
    at App (http://localhost:3000/static/js/bundle.js:67:94)
    at InnerThemeProvider (http://localhost:3000/static/js/bundle.js:29473:70)
    at ThemeProvider (http://localhost:3000/static/js/bundle.js:29166:5)
    at ThemeProvider (http://localhost:3000/static/js/bundle.js:29493:5)
    at DockerMuiThemeProvider (http://localhost:3000/static/js/bundle.js:3246:3)

Consider adding an error boundary to your tree to customize error handling behavior.
 This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
    at ImageSelector (http://localhost:3000/static/js/bundle.js:2152:94)
    at div
    at http://localhost:3000/static/js/bundle.js:4325:66
    at Box (http://localhost:3000/static/js/bundle.js:30235:72)
    at App (http://localhost:3000/static/js/bundle.js:67:94)
    at InnerThemeProvider (http://localhost:3000/static/js/bundle.js:29473:70)
    at ThemeProvider (http://localhost:3000/static/js/bundle.js:29166:5)
    at ThemeProvider (http://localhost:3000/static/js/bundle.js:29493:5)
    at DockerMuiThemeProvider (http://localhost:3000/static/js/bundle.js:3246:3)

@fbricon It was is old and abandoned, but it is working fine in VSCode OpenShift. Another option to use PatternFly reat-log-viewer but I have no idea how to control styles there and if it support links.


Fix Search only accepting the last term

db Search was broken and would act like only the last target exists.
Instead of fixing the bad logic just rely on the already proven logic of
alpm_list.

Seems our travis is broken, another thing to check

I always forget that's a thing. Probably due to 5bf3d7a07e94d3e69a88a001bf53fa2d8d378235


Issue with Ie11

I get the following error on IE 11.
Unable to get property '__reactInternalInstance$yzdkl2pqwp9r' of undefined or null reference.
File: bundle.js, Line: 15685, Column: 4

Hmm, that's not really enough information to help. Can you find out which line (from the non-minified code) is throwing? It also seems like this could have to do with your implementation?


Traits and Specifications for Entity Version queries

What
Add Traits and Specifications to MC to replicate the removed entity versions API surface area, as per the mapping in DR017.
Why
DR017 decided that version queries will move to MediaCreation, so we need some standardized traits/specifications to replace them, and documentation to help people understand how to use them.
ACs

The following versioning related Traits added to the package under the lifecycle namespace:

Version: tag [str] (entity, relationship, managementPolicy) Used to resolve versioning tags, indicate that an entity trait set is version managed in managementPolicy and define that a relationship should return references to entities that are other versions of the input reference`.
Stable: (relationship) Used to define that a relationship should return entity references that are stable and have no dynamic behaviour based on the locale, or other runtime variability (vlatest, department, user, etc).

The following base Traits are added to the package under the usage namespace:

Entity: (entity) Indicates that a trait set defines an entity type
Relationship: (relationship) Indicates that a trait set defines a relationship

The following result Traits are added to the package under the relationship namespace:

Singular (relationship) Indicates that the relationship will only ever provide a single entity reference.
Paged (relationship) Indicates that the relationship will provide significant results and so should be used with the paged API .

The following Specifications are added to the packaged under the lifecycle namespace:

EntityVersionsRelationship: { Relationship, Version, Paged } Used to replace entityVersions
StableEntityVersionsRelationship: { Relationship, Version, Stable, Paged } Used to replace entityVersions(includeMetaVersions=False)
BookmarkableReferenceRelationship: { Relationship, Stable, Singular } Used to replace finalizeEntityVersions.

All new traits/specifications have detailed documentation as to their usage and properties (if any)
Documentation with examples of how to (as a host):

How to check if a given type of entity is versioned
How to check if a manager supports querying entity versions.
Retrieve information about an entity's version.
Retrieve the references for other versions of an entity.
Retrieve the reference for specific version tag for an entity.
Retrieve a persistable reference that is guaranteed not to change which entity if points to over time/scenarios.

David and I spoke this over ... a fair bit.
Long conversation short, we'd like to make 2 changes.
Paged (relationship) -> Unbounded (relationship) and BookmarkableReferenceRelationship->StableReferenceRelationship`
We spoke a fair bit about finalizeEntityVersions, and the difference between including/stripping the metaversions and whether that is conceptually stability or not, and ended up going around in circles. An alternative was the word Reified, ie,
ReifiedReferenceRelationship: { Relationship, Reified, Singular }, which is technically correct ... but also not helpful to anyone.
We should just discuss this tommorow, we've going round in circles.


OCR Support

Add a OCR Support to process all images (png, jpg, jpeg, etc) in order to extract all texts. Also, allow the Finder engines to process the OCR result.


[WIP] Replace TabStrips with TabControl

Test PR for the concept... sorry for the mess, im still trying my way around the codebase haha
cc @wieslawsoltes @danwalmsley

This is looking good.. there is some style making the selected tab have an opacity < 1.
This reveals the border underneath.
Also the DocumentTab might need some padding...?
@wieslawsoltes Which is the DockControl, I understand where the Document and Tool ones come in... but not sure about the DockControl part... so iv not been able to check that still works.

There are lot of subtle changes and missing styling from TabStrip version

@wieslawsoltes btw it may not be obvious the reason for this PR.
When I originally did the templates for the tabcontrols, Avalonia did not have a functional / working TabControl... and at the time I used TabStrip + Carousel bound together...
However in the latest Avalonia the new SelectionModel does not currently work in this fashion. @grokys is working to re-write selection model so that it will work... however its probably better for us to use TabControl in this case, as it should hopefully avoid a lot of the edge case bugs we get caused by binding the selection of Carousel and TabStrip.

For some reason DockTarget is displayed for tabitem itself, not only for content.

For some reason DockTarget is displayed for tabitem itself, not only for content.

Added attached property to detect valid DockTarget's.

Seems like there is some issue with https://github.com/AvaloniaUI/Avalonia/blob/bafa4711052370976911f9e3638f5bbd399d1d82/src/Avalonia.Controls/ItemsControl.cs#L361

Seems like there is some issue with https://github.com/AvaloniaUI/Avalonia/blob/bafa4711052370976911f9e3638f5bbd399d1d82/src/Avalonia.Controls/ItemsControl.cs#L361

                        <Style Selector="TabControl:singleitem /template/ ItemsPresenter#PART_ItemsPresenter">
                            <Setter Property="IsVisible" Value="False" />
                        </Style>

This is repro of signleitem TabControl issue when splitting docks:

The ContentPresenter Content is not set after initial dock split, only when I set manually IsVisible property the content is set properly,

I have checked with updated selection model and TabControl still has issue, the Content of the ContentPresenter in TabControl template is not set property (or DataContext) whe you split into separate dock with one item inside.
https://github.com/AvaloniaUI/Avalonia/blob/2a89ba9b24732a17dc0418e09842fa377580ffa8/src/Avalonia.Themes.Default/TabControl.xaml#L24

Test with fluent theme, still TabControl issue is present.

@jmacato @danwalmsley So for now this PR is blocked by TabControl issue/bug.

@jmacato @danwalmsley Any plans on working on this or can we close the PR?

@wieslawsoltes lets keep it open for now but i think there's no need for this unless @danwalmsley wants it open still as a backup

Closing this as master branch has diverged after adding fluent theme support and more refactoring will break themes even more. The stuff is working with fluent theme and 0.10.0 release.

Closing this as master branch has diverged after adding fluent theme support and more refactoring will break themes even more. The stuff is working with fluent theme and 0.10.0 release.


Consider converting WinRT Interface constructors to named ones

I'm about to modify the generator to support projecting IVector<T extends IInspectable> (and IVectorView) types (we only project String ones at the moment) and also project async APIs as Future.
Now, in order to do that, I need to use the creator parameter from the IVector, IVectorView (and IAsyncOperation). This parameter takes a constructor and allows us to create constructors from generic types.
The problem is that since WinRT classes and WinRT interfaces don't have matching named constructors (WinRT classes have .fromPointer while WinRT interfaces only have a default constructor) at the moment, I have to find the correct constructor to use, perhaps by checking if the type is Class or Interface but it might reduce the readability of the code as some of the APIs returns nested types. For example, pickMultipleFilesAsync() returns IAsyncOperation<IVectorView<StorageFile>> which I need to use two creator parameters (for IVectorView and StorageFile) inside the projection. so I'd rather not do that.
We have a couple of options:

Convert default constructors of WinRT Interfaces to named ones (.fromPointer) to match with WinRT Classes (we could also rename both of them to .from to make it shorter)
Don't remove the default constructors of WinRT Interfaces, instead, add a named one (.fromPointer)

Personally, I'm leaning towards the first option. What do you think?

AWESOME! Can't wait for async APIs.
Yeah, I think I agree. Interfaces shouldn't be constructable objects; classes can be created and cast to interfaces. It's beneficial to keep close to other WinRT / COM mappings.
Where I struggle is how this maps to COM. Should COM interfaces also use .from, rather than having a default constructor? It would be useful to try this out and see how it plays out for something like https://github.com/timsneath/win32/blob/c516101d8e98fd6cc7c2bac62560e09cc1628ccf/example/com_demo.dart#L1

Where I struggle is how this maps to COM. Should COM interfaces also use .from, rather than having a default constructor? It would be useful to try this out and see how it plays out for something like https://github.com/timsneath/win32/blob/c516101d8e98fd6cc7c2bac62560e09cc1628ccf/example/com_demo.dart

I looked into this a while ago but couldn't figure it out (COM is so confusing). I might take a look at it again sometime.


$queryRaw and $executeRaw seem to always return null

Both $queryRaw and $executeRaw seem to always return null. For $executeRaw, that leads to a fatal exception, as null is not a subtype of FutureOr<int>.
$queryRaw example:
final result = await db.$queryRaw('SELECT NOW()');
print(result); // null

$executeRaw example:
final result = await db.$queryRaw(r'UPDATE table WHERE id=1 SET column=$1', parameters: ['value']);
// exception: type 'Null' is not a subtype of type 'FutureOr<int>'

Perhaps I'm holding it wrong?
Thanks for working on this library, by the way! 💙

I'm investigating related issues~Thank you for your attention.


[ART-5142]  Use patch_version defined or implied in assembly definition

Use patch_version defined or implied in assembly definition
This will also allow to build microshift for a custom release.
Requires https://github.com/openshift/doozer/pull/683
Also fix unit tests.

/hold cancel
Doozer PR merged


Bosh could be smarter about persistent disk resizing

Currently bosh, when asked to resize a persistent disk, does something like the following (at least with the vsphere CPI):

stop all jobs on the vm
creates a new empty volume with the desired final capacity
attaches the new volume to the vm
copies all data from old volume to new volume
detaches the old volume from the vm
deletes the old volume
start all jobs on the vm

While this has the neat property that it works both for expanding and shrinking the disk, it has a few downsides:

step 4 can be very slow (hours) if the amount of data to be copied is big
it temporarily requires additional storage (for both old volume and new volume) while resizing: this can be problematic if the volume is big

On platforms that support it, it could be ideal to instead do the following (for extending):

(optional) stop all jobs on the VM
ask the CPI to extend the volume (vsphere supports online extend)
ask the OS to rescan the block devices (or restart the VM if online rescan is not possible)
ask the FS to extend itself to fill the volume (ext4 supports online extend)
start all jobs on the VM

(for shrinking):

stop all jobs on the VM
unmount the FS (ext4 can't be shrunk online)
shrink the FS
ask the CPI to shrink the volume
ask the OS to rescan the block devices (or restart the VM)
mount the FS
start all jobs on the VM

+1, also thought about doing this on OpenStack before

Interesting data point: vsphere does not allow >2TB extension from the iaas pespective.

so maybe something like this?

stop all jobs on the VM
(if shrinking) unmount and shrink the FS
shutdown VM
ask the CPI to resize volume
start VM
(if extending) extend the FS
start all jobs on the VM

it may be less than ideal (requires a VM restart in all cases), but it should still solve the major pain points listed in my first message

AWS EBS now supports online resizing.  it would be great if bosh made use of this:  http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html

I'm here with another suggestion. How about the following approach?

Create a new disk and attach to a VM.
rsync (with --bwlimit set to something reasonable) all files from the current disk to a new one
Stop all jobs
rsync once again with --delete option
Unmount both disks -> mount the new one to the right place -> delete the old one
Start all  jobs

current state:

OpenStack CPI supports this with https://github.com/cloudfoundry/bosh-deployment/blob/master/misc/cpi-resize-disk.yml
we deliberately didn't do this for AWS, as there's a ridiculous rate limit of once every 6 hours
not sure about other IaaS layers and their options/rate limits on native disk resizing

Related current state... we recently heard that, when opting in to both enable_cpi_resize_disk and xfs persistent disks, filesystems are not being resized from the OS perspective and requires a manual xfs-growfs after. Tracked in #159212614.

Btw, related to @cppforlife comment about vSphere (https://github.com/cloudfoundry/bosh/issues/1569#issuecomment-277114859) it seems that the 2TB limitation is gone starting from ESXi 6.5

@voelzmo about the 6 hours rate limit on EBS, my understanding is that it is per-volume. Coupled with the fact you are still going to support a fallback for things like shrinking, or for the IaaSes that don't support volume extension, it seems to me it would be still valuable to have (unless you want to resize the same disks multiple times per day - in which case #2021 may come in handy anyway).


chore: Remove unneeded unwrap() calls

Ran into panic ealier today and was able to fix issue only after this change.
It's easier to debug code if it returns a result than panics.
I left out the ones inside async tasks, as they're not as trivial to remove.

bors r+


In frontend, move call to supertokens.init in index.tsx

We want to make sure that supertokens.init is the first thing we do in the app.

Moved to index.tsx

It's still in here: https://github.com/tyaga001/SuperTokens-Hasura-Demo/blob/main/src/app-login/Login.tsx

I see it in index.tsx now. I think you didn't remove the old login.tsx file.


Add Solaris support

Hi, please consider this PR for Solaris support.
Thanks!

Looks reasonable - thanks!
Note that we won't be able to build binaries for these in our CI as we don't have access to a Solaris worker. But this should be easy enough to build by hand in the meantime, as it just uses Houdini and the naive Baggagclaim backend.


Release Stargate v2.0.7

Time for v2.0.7 of Stargate, mostly to get Optimistic Query support for REST API.

Released:

2.0.7 Maven components (shared service jar)
2.0.7 Github Release
2.0.7 Docker Images

To be released:

C2 v2.0.7

Release complete!
Released:
Stargate 2.0.7

Maven components (shared service jar)
2.0.7 Github Release
2.0.7 Docker Images

C2 v2.0.7:

2.0.7 Github Release
2.0.7 Docker Images


oabc convert not working

convert <my.abc>...
unknown file suffix , name <my.abc>
Cannot read file my.abc:
unknown type

the command omid2score works but not when starting from an abc using oabc


Idea about using value classes

First, cheers for porting this to JS!
This ticket is an idea on how you could make the library more performant using value classes and a single value for absent. If you don't like this idea (because in javascript everything is mutable and users could mutate the absent whenever they want) I completely understand, just wanted to bring it to your attention. If you are interested, guava and scala optionals are implemented this way as well.
For the sake of simplicity I'm using ES6 classes, but these could easily transformed to ES5 like the current codebase.
First we have an abstract Optional class, the methods don't do anything, just throw if directly instantiated (or methods could be omitted completely):
export class Optional {
  get() {
    throw new Error('not implemented')
  }

  filter() {
    throw new Error('not implemented')
  }

  map() {
    throw new Error('not implemented')
  }
}

Now we can have an empty or absent (or whatever) optional, which NEVER checks with any branches if there is a value, since we created this class for the purpose of NOT holding a value.
class _Absent extends Optional {
  get() {
    throw new Error('get() called on Absent')
  }

  filter() {
    return this
  }

  map() {
    return this
  }
}

Notice that I didn't export the class, since we don't want anyone to instantiate this. We only need a single instance, which we can export:
export const Absent = new _Absent()

Now we can do the same for a subclass which ALWAYS holds a value:
export class Present extends Optional {
  constructor(value) {
    super()
    this.value = value
  }

  get() {
    return this.value
  }

  filter(fn) {
    return fn(this.value) ? this : Absent
  }

  map(fn) {
    return new Present(fn(this.value))
  }
}

Now we can add a static factory method to optional, which does the logic, so the classes themselves don't have to:
export class Optional {
  // ... rest of the methods
  static ofNullable(value) {
    return isNull(value) ? Absent : new Optional(value)
  }
}

You could basically keep the API the same, except under the hood there is no null checking EVER except when calling Optional.ofNullable. Let me know what you think!

Nice idea. I'm still thinking it through.
What about the 'map' and 'flatMap' instance methods? They'd still have to do the null check, right?

I think flatMap should have the null check, but why map?
Optional.ofNullable('hello')
    .map(value => null)
    .get(); // Should in fact be *null* in my opinion

Yes, I wouldn't check in map, if it's null or not, thats the users responsibility. In flatMap I woud do a check, but throw if the returned value is null

@whirlwin get should throw an error if he sees null.
@bali182 map must throw an error in case of a null because this library is used to remove all undefined and nulls from your project. there is no reason to use Optional.js and still use nulls. Even worse, represent null in Optional type. What does it even mean? Any usecase?
In any way, I think the overall idea is nice and embrases moands (functional programming).
Maybe.js is implemented that way. The only difference between maybe.js and optional.js is that maybe.js can't represent functions because it invokes them (which is the reason I moved from maybe.js to optional.js).


Add translation for the Basic Cheatsheet

Hi, here is the translation for the Basic Cheatsheet. Cheers!

Monster effort! super nicely done!

@carburo increíble! 😄

@all-contributors please add @carburo for translation, code and doc