Update to Scala 2.12.1

As of now, plugins are currently written in a Scala 2.11.8 DSL. Scala 2.12 brought Java 8 compatibility which aside from performance enhancements, allows for Java functional interfaces to be expressed as lambdas within Scala.
This nullifies the need for 'hacky' implicit conversions, which should be removed as this update is applied.

This still applies, just to 2.12.2

I think this might be related to the update. I get an error on start complaining about the cast that is performed to get the Scala engine from the ScriptEngine object.
java.lang.ClassCastException: scala.tools.nsc.interpreter.Scripted cannot be cast to scala.tools.nsc.interpreter.Scripted
	at io.luna.game.plugin.PluginBootstrap.initClasspath(PluginBootstrap.java:182) ~[classes/:?]
	at io.luna.game.plugin.PluginBootstrap.init(PluginBootstrap.java:169) ~[classes/:?]
	at io.luna.game.plugin.PluginBootstrap.call(PluginBootstrap.java:137) ~[classes/:?]
	at io.luna.game.plugin.PluginBootstrap.call(PluginBootstrap.java:45) ~[classes/:?]
	at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:111) ~[guava-22.0.jar:?]
	at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:58) ~[guava-22.0.jar:?]
	at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:75) ~[guava-22.0.jar:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_31]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_31]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_31]

I have done multiple clean and builds and have reloaded deps. Still same error. I do not have any experience with Scala, but the only time I have seen a cast error between the same object type like this is with serialized objects having different versionIDs.

This will hopefully be fixed today, if not then sometime this weekend. I'll keep you posted

OK, thanks

I found the problem, but not the fix.
The Scripted object that is being casted to is being loaded by: sun.misc.Launcher$AppClassLoader@73d16e93
The ScriptEngine instance of Scripted was loaded in by: scala.reflect.internal.util.ScalaClassLoader$URLClassLoader@6397248c

I found the fix!
In PluginBootstrap, change engine = new ScriptEngineManager().getEngineByName("scala");
to engine = new ScriptEngineManager(ClassLoader.getSystemClassLoader()).getEngineByName("scala");

With that fix, now this error pops out of the code
SEVERE: RuntimeException while executing runnable CallbackListener{io.luna.game.plugin.PluginBootstrap$PluginBootstrapCallback@36a416eb} with executor com.google.common.util.concurrent.MoreExecutors$ListeningDecorator@1b202969
java.util.concurrent.RejectedExecutionException: Task CallbackListener{io.luna.game.plugin.PluginBootstrap$PluginBootstrapCallback@36a416eb} rejected from java.util.concurrent.ThreadPoolExecutor@4ce810c[Shutting down, pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 5]
	at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2047)
	at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:823)
	at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1369)
	at com.google.common.util.concurrent.MoreExecutors$ListeningDecorator.execute(MoreExecutors.java:494)
	at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:911)
	at com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:822)
	at com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:686)
	at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:113)
	at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:58)
	at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:75)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)```

OK, in Server init() the launchPool gets shutdown. Commenting out that line fixes the above issue, but then there is a Scala error in bootstrap.scala javax.script.ScriptException: not found: value $ctx$.
I'm not sure if it is all related. I will wait for you to take a look at it.

So to fix the value not found I changed engine.put("$ctx$: io.luna.LunaContext", context); to engine.put("$ctx$", context); and then did that for the logger and pipelines. That then makes everything work up to the stack overflow error which you have an issue open for.

Perfect!!! I was stumped on why the values weren't being found by the ScriptEngine, thanks a lot for all your work

Leaving this open until all the bloat from 2.11 is gone from the bootstrap


Code: 404, Message: Resource not found activityId:

Hi team,
I moved this from here: https://github.com/MicrosoftDocs/azure-docs.nl-nl/issues/550
@wilcoblom commented 3 hours ago — with docs.microsoft.com
We have a durable Azure Function, which sends back http 202 accepted, location and retry-after headers, which works correctly when we execute this using an Azure Function Logic App Action. When we try to create a new custom Logic App action for this Durable Azure Function (using the polling pattern: https://docs.microsoft.com/nl-nl/azure/logic-apps/logic-apps-create-api-app#perform-long-running-tasks-with-the-polling-action-pattern), we get the following error whatever we do: Code: 404, Message: Resource not found activityId: "". Can you help us with this?
Oh ja, btw... the email address on this page<EMAIL_ADDRESS>does not work...

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

ID: aed00dab-131e-ecde-1416-66b3590a9e65
Version Independent ID: c6071445-f111-370a-d266-68972b105427
Content: Create web APIs & REST APIs for Azure Logic Apps
Content Source: articles/logic-apps/logic-apps-create-api-app.md
Service: logic-apps
GitHub Login: @ecfan
Microsoft Alias: estfan

@wilcoblom Thank you for your feedback! We will review and update as appropriate.
cc: @CeciAc

@wilcoblom, can you please clarify what you meant that the help email address doesn't work? Did you get an error message? Thanks!

This is my issue:
We have a durable Azure Function, which sends back http 202 accepted, location and retry-after headers, which works correctly when we execute this using an Azure Function Logic App Action. When we try to create a new custom Logic App action for this Durable Azure Function (using the polling pattern: https://docs.microsoft.com/nl-nl/azure/logic-apps/logic-apps-create-api-app#perform-long-running-tasks-with-the-polling-action-pattern), we get the following error whatever we do: Code: 404, Message: Resource not found activityId: "". Can you help us with this?
On the bottom of the page I refer to, there is an email address, you can refer to for questions, but that does not work...
Wilco

From: Esther Fan<EMAIL_ADDRESS>Sent: Tuesday, November 26, 2019 10:10:08 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: wilcoblom<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Code: 404, Message: Resource not found activityId: (#43599)
@wilcoblomhttps://github.com/wilcoblom, can you please clarify what you meant that the help email address doesn't work? Did you get an error message? Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/43599?email_source=notifications&email_token=AGQEFNDLVL6ZS63IUVQMOYDQVWGDBA5CNFSM4JR4DZAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFHOH5Y#issuecomment-558818295, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGQEFNDJ6G76J5XSH7E4N2LQVWGDBANCNFSM4JR4DZAA.

@mike-urnun-msft: I suggest asking the engineering team about the 404.
@wilcoblom, thank you, but I'd like to know what happened when you tried contacting the email address that's at the bottom of the page. You said the email address doesn't work. Did you get an error, and if so, can you please provide a copy of that error? I'm trying to investigate with the team that owns the email address, which seems to still be valid. Thanks!

Yes, the highest priority is the 404 the we get when we try to use a Durable Azure Function as a custom connector, we always get the following error (see message below).

Regarding the not working email address... Apparently, the email address is forwarded to<EMAIL_ADDRESS>which does not work and we receive an error message that "keithkdr" only accepts mails / messages from people in his own organisation.

@wilcoblom This repository is primarily for addressing doc issues. Please feel free to open a thread on MSDN or StackOverflow.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

@wilcoblom, I'm checking with the engineering team that owns the<EMAIL_ADDRESS>address. The address still looks valid and is a group email address, which happens to include the "keithkdr" sub-group. The other group members should have received your email though.


Type 'AsyncLocalStorageContextManager' is not assignable to type 'ContextManager'.

Hello, i have the following issue occured.

@yusef-ho make sure you are using correct versions of all the otel dependencies. https://github.com/open-telemetry/opentelemetry-js#compatibility-matrix

Closing this one. Please comment if you are still getting this error.
Working example: https://github.com/pragmaticivan/nestjs-otel-prom-grafana-tempo


Allow AuthConfig to take hashing password callback

Is your feature request related to a problem? Please describe.
In case of a migration of a database to serverpod, my users in the old database use  bcrypt to hash the password and validate it.
Describe the solution you'd like
I propose to add 2 new arguments to AuthConfig:
GeneratePasswordHashCallback and ValidatePasswordHashCallback

I can understand the need for this. Placed a review on the PR now.


[Feature request] Add support for llama models

Name of the feature
In general, the feature you want added should be supported by HuggingFace's transformers library:

If requesting a model, it must be listed here.
If requesting a pipeline, it must be listed here.
If requesting a task, it must be listed here.

Adding support for the llama models: https://huggingface.co/docs/transformers/model_doc/llama2
Reason for request
Why is it important that we add this feature? What is your intended use case? Remember, we are more likely to add support for models/pipelines/tasks that are popular (e.g., many downloads), or contain functionality that does not exist (e.g., new input type).

The llama models, particularly llama2, are pretty popular foundation models for many modern transformers use cases. Being able to run them on node servers or even in the browser would be great! I don't think this model strays too far from the traditional text-generation pipeline (already used by gpt2, gpt-neo, and a few others) so hopefully this is a easy change to make.
Additional context
Add any other context or screenshots about the feature request here.
I can provide an onnx-converted model if needed!

Thanks for the quick model support addition!
I'll test the converted models on onnxruntime-node shortly and post my results here
A sidenote but the 7b models require ~96gb of system ram to convert and quantize

I'll test the converted models on onnxruntime-node shortly and post my results here

Sounds good! 🔥 I've actually never tested a model > 2GB with onnxruntime-node, so, it will be good to know if it works! 😅

A sidenote but the 7b models require ~96gb of system ram to convert and quantize

Woah 🤯 If you're using our conversion script, you can disable the validation with --skip_validation. From my experience, that's where most RAM is consumed.

I've merged my PR to add llama/llama2 support, and I will make a release shortly. Just note that you will need to do the >=7B model conversions yourself.


Closes #44 adding enterprise parsing flags

Signed-off-by: Hurrycaine<EMAIL_ADDRESS>

There are no changes to functionality if the -e or --enterprise flags are not provided.  I did break out some of the logic in the for loop in func sendMetrics.
The more conditionals we added the more that loop was getting harder to follow. I broke out each value into it's own function; setName, setTime, setFields and setTags.
This will also allow fore easier testing. I did add some tests to ensure nothing broke and to test the functionality but did not touch any existing tests.
I avoided having a function do two things; the setName and setFields would be a good one to merge and return two values.  They both require a split of the measurement name and if it was combined the --host stripping could be put in there and would greatly simplify it's tests.
I also avoided changing the error handling but question on erroring immediately out on a bad timestamp. See func setTime. I think continuing the loop on an error would allowing indexing of all good measuments in a batch and then a total error could error out at the end of sendMetrics.

For the option, how about -l and --legacy-format?  Otherwise @jspaleta and I think it looks okay.

I like legacy-format as well.  I updated the PR and because legacy-format (or enterprise) were as self explanatory as --strip-host. I added more info to the readme.

hey!  thanks for the update on the PR.
I'm going to test these changes locally in my dev environment and look to get this merged next week.
I'm still looking to build up a github action env with running services to be able to add tests for changes like this as part of normal CI/CD. Just hitting a couple of snags with with github actions.


node/6.9.3-1/sshd_config RhostsAuthentication

Hi,
node/6.9.3-1/sshd_config RhostsAuthentication looks like not a must.
when I comments it, docker image run successfully without warning '/etc/ssh/sshd_config line 15: Deprecated option RhostsAuthentication'.
I wonder to know if it led to a potential hazard with comment.
Thanks

I have fixed this in the develop branch and on next integrate unnecessary options should be gone. Thanks for pointing this out!


noWrap is broken on certain mapbox styles

Leaflet version I'm using: 1.2

What behaviour I'm expecting and which behaviour I'm seeing
noWrap  should not display extra tiles, but it does on right side only.
So for basic way of loading Mapbox tiles it works , while with styles it doesn't ?
Is it because there is no png in the end of api call so it's a different format ?
Broken url way:
https://api.mapbox.com/styles/v1/mapbox/streets-v10/tiles/256/{z}/{x}/{y}?access_token=
Working url way:
https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=
Minimal example reproducing the issue
Broken - http://jsbin.com/bizecogumi/1/edit?html,js,console,output
Good - http://jsbin.com/pebogay/1/edit?html,js,console,output

Duplicate of https://github.com/Leaflet/Leaflet/issues/5154.
In short:

noWrap tells Leaflet not to use the CRS wrapping feature. If coordinates (here longitude) no longer wrap, they extend infinitely, therefore the Tile Layer tries to access new tiles: 0/1/0, 0/-1/0, etc.
In a normal tiles scheme, only tile 0/0/0 is available, so those extra requests should result in 404 errors. In that case, these extra requests may remain unnoticed.
For some reason, some Tile Servers (like Mapbox for certain styles in this case) still return an image for those extra coordinates. At that point, the issue becomes visible, as "imaginary" tiles are displayed.

Solution: use noWrap with bounds option on your Tile Layer.


perf(sourcemap): shorten main loop encoding VLQ

Reduce number of operations in main loop in source map VLQ encoding.
#4583 made pushing a byte to output only 2 instructions, so that makes it workable to repeat push_byte_unchecked inside and outside the loop.
On a local benchmark of just VLQ encoding shows this increases performance by 16% (on top of the 11% from #4583).
Probably main gain is it makes a fast path for encoding 0, which is common.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#4586  👈
#4583
main

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

Join @overlookmotel and the rest of your teammates on  Graphite

One thing I'm confused by.
This PR shows a 16% speed-up.

But #4583 barely registers on our CodSpeed benchmark, whereas this PR gets +3%.
Maybe:

#4583 only has an effect on aarch64 processors (I benchmarked locally on a Macbook Pro M1) or
The gain of #4583 is in all in something that CodSpeed doesn't measure e.g. better branch prediction.

Concerning previous comment about CodSpeed benchmarks, I replicated the results on sourcemap benchmark locally on MacBook Pro M1.
#4583 hardly made any change to benchmark (+0.16%), but this PR gave an approx +2% speed-up. So broadly in line with CodSpeed.
I can't explain that, as changes each give roughly same speed-up on a benchmark which purely measures VLQ encoding. But, whatever, the reason, it doesn't seem to be particularly related to running benchmark on CodSpeed vs locally.


EOS-15799 Management: display cluster configuration

Modified code to get list of devices and status.
Code will read entries from KV present in the below format "m0conf/nodes/<node_id>/processes/<process_fidk>/services/<svc_fid>/sdevs/<sdev_fid>"

@knekrasov @mssawant @chumakd @s-arya Please have a look

@knekrasov @mssawant @chumakd @s-arya Please have a look

@SwapnilGaonkar7 please squash your commits and use the proper github account please. The commits don't look very good:

@SwapnilGaonkar7 please squash your commits and use the proper github account please. The commits don't look very good:

@knekrasov Please have a look.

@knekrasov Please have a look.


Missing Dependency either in package.json or documentation

When following the steps to install/use this plugin, it is stated that i have to use
npm install @microsoft/applicationinsights-angularplugin-js
and later in the 'entry component ' i should add:
import { ApplicationInsights } from '@microsoft/applicationinsights-web';
import { AngularPlugin } from '@microsoft/applicationinsights-angularplugin-js';

But because @microsoft/applicationinsights-angularplugin-js does not have the dependency to @microsoft/applicationinsights-web and it is nowhere noted that you should install @microsoft/applicationinsights-web additionally the rest of the 'Basic Usage' block is not working due to the missing dependency.
So please either add @microsoft/applicationinsights-web as a dependency to @microsoft/applicationinsights-angularplugin-js OR add the additional line npm install @microsoft/applicationinsights-web

Year this is a documentation Gap, as the plugin is designed to work with or without the Analytics Plugin (provided as part of the applicationinsights-web module).
And when it's not present the exception handling "silently" doesn't do anything (because there is no-where/way to send the exception)


Add Support for Parameter Defaults

This is probably a non-trivial issue, but it would be great if parameters could be initialized with default values based on the Default Value setting in the UserData Editor.

This should already work -- at least for LONG, REAL, VECTOR and COLOR parameters.

Afaik, you can not set the default value for eg. for String or Gradient parameters in the description resource. That would need to be added to the generated Python plugin file.

This is the .res file that's generated:
CONTAINER Ocvcube {
	INCLUDE Obase;
	NAME Ocvcube;
	GROUP ID_OBJECTPROPERTIES {
		VECTOR CV_CUBE_SIZE { DEFAULT 100.0 100.0 100.0; MIN 0.0 0.0 0.0; MAX 1.79769313486e+308 1.79769313486e+308 1.79769313486e+308; }
		VECTOR CV_CUBE_SEGMENTS { DEFAULT 2.0 2.0 2.0; MIN 1.0 1.0 1.0; MAX 1000.0 1000.0 1000.0; }
	}
}

But this is what I see in C4D:

Expected based on the UserData:

C4D doesn't seem to be using the defaults - perhaps it's something that has to be done in Python code?
Also, Limit Max isn't active, yet a value is being added to the Resource file:

VECTOR CV_CUBE_SIZE { DEFAULT 100.0 100.0 100.0; MIN 0.0 0.0 0.0; MAX 1.79769313486e+308 1.79769313486e+308 1.79769313486e+308; }

Oh right, I forgot. The default you set in the description is what you get when you do Right Click > Reset to Default on the parameter. The actual value still needs to be set in Init().

Also, Limit Max isn't active, yet a value is being added to the Resource file:

Hm, there seems to be no (documented) symbols that describe the "Limit Min" or "Limit Max" checkboxes in the UserData. I'll have to find out how to read that checkbox value first.

I've moved the issue of the Limit Min/Limit Max settings to a different issue.

Fixed in https://github.com/NiklasRosenstein/c4d-prototype-converter/commit/9eb96d8ce66b9128fca2ede1a242851f4e786280


Split train- and val progress into separate bars

What does this PR do?
Fixes #12623
A long pending request from the community is an improved progress bar. So far, the training and validation counts were always added together in one progress bar. This has the drawback that more often than not, the time estimate for completion is wrong, because the validation loop typically runs much faster than the regular training loop. Furthermore, users were often confused about the total iteration count, because they didn't realize that the total number was train + val batches. See #6735, #1121, #6406
This PR splits the bars into two separate ones. The validation bar appears and disappears as needed as before. The PR introduces the change for both TQDM and Rich.
Video recording with 10 train batches 5 val batches, validation every 2 train batches:
TQDM:
https://user-images.githubusercontent.com/5495193/217672742-0d188992-6a72-45c1-b05f-0c3bf32924d6.mov
Rich:
https://user-images.githubusercontent.com/5495193/217672887-7780de99-83c4-4e21-8bc1-804e35998a18.mov
Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[x] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
I made sure I had fun coding 🙃
cc @borda @justusschock @awaelchli

@Borda These are already there and remain unchanged. They were never coupled to the "main" bar, so no changes there.


Allow users to pass in their own compression-stream function

It looks like FF now accepts brotli compression.  I was going to take a stab at implementing a native addon that links libbrotli.  Does that seem worthwhile?
We could use this: https://www.npmjs.com/package/brotli, which uses an emscriptenized version of brotli.
Does anyone know of any others brotli modules that could be used? Otherwise, I don't mind starting the C++ add on.
I've been taking a look at how the gzip stream is used here, so I think I can make a nice library that implements the same interface.

Cool. This library cannot take a dependency on a native addon, due to the situation of native addons and WIndows, making it really hard for people to use.
But, I do want to increase the flexibility of this module such that users can define their own encodings, like brotli.

Huh, it looks like that module you referenced, brotli, is actually a pure-JS module :)

due to the situation of native addons and Windows

can you elaborate on this?

When you install Node.js, running npm install native_module will fail because there is no tool chains to compile anything on Windows. As I exclusively develop on Windows for these modules, if I'm not even able to install a module out-of-the-box, then I can't even develop against it, let alone all the other users.
This has been a major issue for years & years and no real progress towards addressing. For example, a standard Node.js install on my machine, when I try to install your nanomsg module, here is the error:
$ npm install nanomsg
|
><EMAIL_ADDRESS>install c:\Users\doug.wilson\test2\node_modules\nanomsg
> node-gyp rebuild

c:\Users\doug.wilson\test2\node_modules\nanomsg>node "c:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack     at failNoPython (c:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:103:14)
gyp ERR! stack     at c:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:64:11
gyp ERR! stack     at Object.oncomplete (evalmachine.<anonymous>:107:15)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "c:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd c:\Users\doug.wilson\test2\node_modules\nanomsg
gyp ERR! node -v v0.10.33
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok

npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is most likely a problem with the nanomsg package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls nanomsg
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "c:\\Program Files\\nodejs\\node.exe" "c:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "nanomsg"
npm ERR! cwd c:\Users\doug.wilson\test2
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0

Just installing Python onto Windows (not a simple task) is only the start. Users then have to figure out how to get the correct version of Visual Studio installed, get the proper environment variables setup so gyp works, etc. It's pretty much an impossible task for all people starting on Node.js on Windows.

Isn't this also the case with OSX as command line tools aren't installed by default?

I'm not familiar with Mac OS X, but I can say that when I had a module that has a native dependency, I only got endless Windows users making issue reports, but no Mac OS X or Linux users, so there is some large disconnect between those two populations of developers.
You can even find dozens of issues in the Node.js repository (like https://github.com/nodejs/node-v0.x-archive/issues/8005) expressing the issue of how hard it is for typical Windows developers to use native modules. I don't see any of that in the Node.js repo from Mac OS X users.

P.S. as far as I can tell, that brotli module doesn't implement a streaming interface, which is kinda a downer :(

Unfortunately Windows isn't the best OS for doing any development

I'm glad the peanut gallery has arrived.

It looks like there is a native addon https://www.npmjs.com/package/iltorb that provides brotli and even does so as a stream. This means we have here the following wants:

Implement a way for users to define their own encodings in the module, which would let a user use a module like https://www.npmjs.com/package/iltorb
If someone is willing to either get brotli into Node.js core itself or make a pure-JS brotli implementation that provides a stream interface, we can add it as a dependency for brotli out-of-the-box.

Nice!

yep! This code currently has a conditional that checks if gzip else use deflate.  We should make it check first to see if it was passed a custom compression function that implements streams and use that.
I don't think we need to wait for brotli to land in Node core.  I don't think it will, unless brotli was added to zlib, which it may never.  With number 1 from above implemented, I don't think 2 will be an issue at all.

I'll work on this today, so far I have the tests:
diff --git a/test/compression.js b/test/compression.js
index 26e0ca2..87abbd2 100644
--- a/test/compression.js
+++ b/test/compression.js
@@ -3,6 +3,7 @@ var bytes = require('bytes');
 var crypto = require('crypto');
 var http = require('http');
 var request = require('supertest');
+var stream = require('stream');

 var compression = require('..');

@@ -492,6 +493,40 @@ describe('compression()', function(){
     })
   })

+  describe('when "Accept-Encoding: custom"', function () {
+    it('should not use content encoding without a custom compressor function', function (done) {
+      var server = createServer({ threshold: 0 }, function (req, res) {
+        res.setHeader('Content-Type', 'text/plain')
+        res.end('hello, world')
+      })
+
+      request(server)
+      .get('/')
+      .set('Accept-Encoding', 'custom')
+      .expect(shouldNotHaveHeader('Content-Encoding'))
+      .expect(200, 'hello, world', done)
+    })
+
+    it('should use content encoding with a custom compressor function', function (done) {
+      var compressor = new stream.Transform
+      var opts = {
+        threshold: 0,
+        compressor: {
+          'bingo': compressor
+        }
+      }
+      var server = createServer(opts, function (req, res) {
+        res.setHeader('Content-Type', 'text/plain')
+        res.end('hello, world')
+      })
+
+      request(server)
+      .get('/')
+      .set('Accept-Encoding', 'bingo, gzip')
+      .expect('Content-Encoding', 'bingo', done)
+    })
+  })
+
   describe('when "Cache-Control: no-transform" response header', function () {
     it('should not compress response', function (done) {
       var server = createServer({ threshold: 0 }, function (req, res) {

So here's an issue I'm running into. Firefox 44 (currently Firefox Nightly) sends the header: Accept-Encoding: gzip, deflate, br. The use of the accept.encoding function in this library will always return the first match, based on the order specified by the client.  Since we can't manually disable gzip or deflate, gzip will be matched first, and custom encodings will never be used.
I propose that if the consumer of this lib specifies a custom encoding, we choose that, otherwise defer to accept.encoding.  Thoughts?

I added this to my PR

Maybe this can help:
A JavaScript port of the Brotli compression algorithm
https://github.com/devongovett/brotli.js

Howdy!
I'm Kenji Baheux, product manager on the web platform team @ Chrome and helping the Brotli team.
I would like to understand how we can help you get Brotli support in expressjs.
We discussed about trying to get Brotli in Node core but felt that it would be hard given the sense that core is too big. However, it doesn't seem to be a blocker based on this comment.
The iltorb module seems to be the best route.
Are you blocked?
Anything that the Brotli team could help you with?
Best,
Note: Brotli is enabled by default in Chrome 51 (current stable).

Hi @KenjiBaheux, the only blocker here is that from Express.js rules for the widest support, we need one of the following to be implemented:

Complete pluggability in this module for people to integration their own custom streams. This would let people add Brotli support, but may not meet your goals, since this would still not get it to be an out-of-the-box option.
Get Brotli in the Node.js code so we can use it. You seem to indicate this is off the table for now.
Provide a pure-JS implemention of the algorithm with full streaming & flushing support so we can add it as a dependency of this module. It cannot require any native code or a compiler to use the dependency.

I hope this helps!

Regarding route #3, iltorb just had some major refactorings that I think allow for this.  I'm not pursing this anymore, but maybe @mayhemYDG or @addaleax could help.

oh, missed the note about pure JS.  good luck with that!

Doug, thanks for the quick reply.
It's a tough one :)

Option 1 is not great
Option 2 is hard now. We think that with the right timing we have a chance, we'll wait after more demand.
Option 3 is hard now and then.

We were wondering if the following option would be more practical:

Initially focus on the static cases where maximal compression can be achieved* by: 1. having a tool that would crawl a static asset graph to produce compressed .brotli files, 2. and then building express middleware that does the much simpler job of just stat()ing for the .brotli file and sending it down to the user instead of the original .js or .css file.

Thoughts?
*: for dynamic assets, lower Brotli levels are recommended for speed reasons but it would still outperform gzip compression.

Would it help if iltorb offered pre-built binary fallbacks? I don't know how to go about that however.

Oh, hi everyone! I think for iltorb to be used here requires adding a .flush() method like zlib streams have it (MayhemYDG/iltorb#8), although that should have become implementable; in fact, the “official” C API from google/brotli has moved a lot closer to what other compression libraries provide.
I wouldn’t discard option 2 completely, either, but for now that’s probably off limits just because the brotli C API isn’t nearly as stable as the one of other Node core dependencies right now. Also, other core collaborators tend to be more concerned about feature bloat than I am.
@MayhemYDG I do that for my lzma-native, so I have some experience with it.

https://twitter.com/rvagg/status/748114279685988352
This could help in the future.

iltorb now offers pre-built binaries, and features a .flush() method for compression streams.


Set up a new module for smoke tests and add basic tests

Task Description
We need a new test to be added to the strongbox-web-integration-tests project that creates a raw proxy repository and resolves an artifact through it.
Tasks
The following tasks will need to be carried out:

[ ] Create a new module called smoke-tests under the strongbox-web-integration-tests project.
[ ] Add smoke tests:

[ ] Login
[ ] Logout
[ ] Search for a Maven artifact
[ ] OrientDB Studio is working (#1251). For this, the OrientDB Studio will have to be enabled

References

Our REST API.
org.carlspring.strongbox.client.RestClient : This class might need to be improved, but should provide most of the required methods.
Have a look at the other modules in the strongbox-web-integration-tests project and try to follow the same approach of doing things.

Task Relationships
This task:

Relates to: #1087, #1251.

Is similar to: #1252.

Our chat

Points of contact:

@carlspring
@sbespalov
@fuss86

@steve-todorov: Could you please provide a list of things you'd like for us to be testing? Thanks! :)

@carlspring Claiming.


Use efficient string concatenation

std::string::operator+ is very inefficient

Thanks for cleaning this up!

Build depends on a fix in https://github.com/googlecartographer/cartographer/pull/1489

@wally-the-cartographer merge

Merge requested by authorized user gaschler. Merge queue now has a length of 1.


Update Insane_Korean.rb

한국 정발 용어로 수정
Modified to Korean official release terms

This pull request is merged with #647.


Scene description

Is it possible to add scene descriptions (text paragraph) to data.js and then make them appear during the visit by clicking on an interface button (not a hotspot) ?

Anything is possible by editing the HTML and JavaScript code generated by the tool, but the tool itself doesn't provide this feature - sorry.


added user tag helper

Added user tag helper to work like the member one but for umbraco backoffice users. We did this on the UmbraCollab Thursday call.

Looks good to me 😄


[BUG] - License file link is invalid

The link in the license file(http://go.microsoft.com/fwlink/?LinkID=510709) is invalid. Where ever that link use to lead no longer exists.
Happened sometime between March and now. Suggest just putting the standard MIT license text in there

Thank you for reporting, the owners of this link appear to be no longer valid, we have started the process of claiming ownership so that we can fix this issue.

This has been fixed now.


Add more error types

Right now we've got custom support for parsing_exception and index_not_found.  There doesn't seem to be a definitive list, but there are a few other common ones to implement.
It would also be good to test these on an actual index in integration tests.

I'm happy to close this in favour of adding error types as they appear for various endpoints.


Possibility to jail on a few packages

I need to resolve a few specific node modules packages.
resolve({
    jail: ['path', 'path']
})

Hey folks (this is a canned reply, but we mean it!). Thanks to everyone who participated in this issue. We're getting ready to move this plugin to a new home at https://github.com/rollup/plugins, and we have to do some spring cleaning of the issues to make that happen. We're going to close this one, but it doesn't mean that it's not still valid. We've got some time yet before the move while we resolve pending Pull Requests, so if this issue is still relevant, please @ me and I'll make sure it gets transferred to the new repo. :beer:


Fix hyperv DriverName problem.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "patch-1" git@github.com:Red54/machine.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

#2003 is duplicate, but adds consistency of internal hyperv naming. either this or the other, but hopefully fast :smile:

I'd rather merge #2003. As @blaggacao said, it add some consistency

Closed by the referenced PRs


Update and improve APISnoop graphical data display

Update graphical presentation of API Conformance data
Apisnoop.cncf.io
Break APISnoop into 3 pages:

[X]  1. Page 1 Sunbust top of the page + Explanation + Link to Page 2: Progress over time

[X]  2. Page 2: Progress over time move to page 2

[x]  3. ii History page, not part of  APISnoop (As a static infographic)

[X] @hh: Ping @Liggitt & community on Slack on their thoughts and what they would gain out of the improvements.

APISnoop Progress reports
Page 2:

[X] 1. Stable Endpoint Coverage Over Time - In real numbers
[ ] 2. Stable Endpoint Coverage Over Time - In % (Scale =100%)
[X] 3. New endpoints per release and their current coverage graph
[x] Make "Still untested" a negative graph, below the X-Axis if possible. (Technical Debt below the x Axis)

/assign @zachmandeville

I've made a progress percentage chart and aded it to the conformance-progress page, with a preview available here:
https://snoop-app-git-performance-progress.iinz.vercel.app/conformance-progress#conformance-progress-percentage
I have not merged it yet, as there's a discrepancy in coverage for 1.18 that I want to look into.  When that is discrepancy is removed, I'll feel good to merge it in.

Can we update "From this release" to "From each release":

APISnoop Updated with all changes proposed in the issue.
/close


add blank templates and help ones and I need help

Feature Description
I'm trying to make blogo custom but it's not working
Use Case
It's the default one, and when I go to json it said something else

Code of Conduct

[X] I have searched for similar feature requests
[X] I have provided a clear and detailed explanation

Have you restarted the containers after changing the values of the variables?...

Uhhhh I think not shiz

Last login: Mon May  6 03:00:36 2024
alfonsop123@raspberrypi:~ $ docker restart blogo
blogo
alfonsop123@raspberrypi:~ $ cd blogo
alfonsop123@raspberrypi:~/blogo $ docker restart
"docker restart" requires at least 1 argument.
See 'docker restart --help'.
Usage:  docker restart [OPTIONS] CONTAINER [CONTAINER...]
Restart one or more containers
alfonsop123@raspberrypi:~/blogo $ docker restart blogo
blogo
alfonsop123@raspberrypi:~/blogo $ docker compose restart blogo
[+] Restarting 1/1
✔ Container blogo  Started                            0.9s alfonsop123@raspberrypi:~/blogo $
And still

Do a down and then an up -d again

Erm
Last login: Tue May  7 03:00:34 2024
alfonsop123@raspberrypi:~ $ cd blogo
alfonsop123@raspberrypi:~/blogo $ docker restart blogo
blogo
alfonsop123@raspberrypi:~/blogo $ docker compose restart blogo
[+] Restarting 1/1
✔ Container blogo  Started                            1.0s alfonsop123@raspberrypi:~/blogo $ docker compose up -d
[+] Running 1/1
✔ Container blogo  Started                            1.6s alfonsop123@raspberrypi:~/blogo $ docker compose restart blogo
[+] Restarting 1/1
✔ Container blogo  Started                            0.6s alfonsop123@raspberrypi:~/blogo $ docker compose up
Attaching to blogo
blogo  | 12:36AM INF Using path: /app
blogo  | 12:36AM WRN No .env file found, using default settings or environment variables.
blogo  | 12:36AM FTL Failed to load timezone location 'CDT' error="unknown time zone CDT"
blogo  | 12:36AM INF Using path: /app
blogo  | 12:36AM WRN No .env file found, using default settings or environment variables.
blogo  | 12:36AM FTL Failed to load timezone location 'CDT' error="unknown time zone CDT"
blogo  | 12:36AM INF Using path: /app
blogo  | 12:36AM WRN No .env file found, using default settings or environment variables.
blogo  | 12:36AM FTL Failed to load timezone location 'CDT' error="unknown time zone CDT"
blogo  | 12:36AM INF Using path: /app
blogo  | 12:36AM WRN No .env file found, using default settings or environment variables.
blogo  | 12:36AM FTL Failed to load timezone location 'CDT' error="unknown time zone CDT"
blogo  | 12:36AM INF Using path: /app
blogo  | 12:36AM WRN No .env file found, using default settings or environment variables.
blogo  | 12:36AM FTL Failed to load timezone location 'CDT' error="unknown time zone CDT"
blogo  | 12:36AM INF Using path: /app
blogo  | 12:36AM WRN No .env file found, using default settings or environment variables.
blogo  | 12:36AM FTL Failed to load timezone location 'CDT' error="unknown time zone CDT"
blogo  | 12:36AM INF Using path: /app
blogo  | 12:36AM WRN No .env file found, using default settings or environment variables.
blogo  | 12:36AM FTL Failed to load timezone location 'CDT' error="unknown time zone CDT"
blogo  | 12:36AM INF Using path: /app
blogo  | 12:36AM WRN No .env file found, using default settings or environment variables.
blogo  | 12:36AM FTL Failed to load timezone location 'CDT' error="unknown time zone CDT"
blogo  | 12:37AM INF Using path: /app
blogo  | 12:37AM WRN No .env file found, using default settings or environment variables.
blogo  | 12:37AM FTL Failed to load timezone location 'CDT' error="unknown time zone CDT"
blogo  | 12:37AM INF Using path: /app
blogo  | 12:37AM WRN No .env file found, using default settings or environment variables.
blogo  | 12:37AM FTL Failed to load timezone location 'CDT' error="unknown time zone CDT"
blogo  | 12:37AM INF Using path: /app
blogo  | 12:37AM WRN No .env file found, using default settings or environment variables.
blogo  | 12:37AM FTL Failed to load timezone location 'CDT' error="unknown time zone CDT"
blogo  | 12:37AM INF Using path: /app
blogo  | 12:37AM WRN No .env file found, using default settings or environment variables.
blogo  | 12:37AM FTL Failed to load timezone location 'CDT' error="unknown time zone CDT"
blogo  | 12:37AM INF Using path: /app
blogo  | 12:37AM WRN No .env file found, using default settings or environment variables.
blogo  | 12:37AM FTL Failed to load timezone location 'CDT' error="unknown time zone CDT"
blogo  | 12:37AM INF Using path: /app
blogo  | 12:37AM WRN No .env file found, using default settings or environment variables.
blogo  | 12:37AM FTL Failed to load timezone location 'CDT' error="unknown time zone CDT"
blogo  | 12:37AM INF Using path: /app
blogo  | 12:37AM WRN No .env file found, using default settings or environment variables.
blogo  | 12:37AM FTL Failed to load timezone location 'CDT' error="unknown time zone CDT"
blogo  | 12:37AM INF Using path: /app
blogo  | 12:37AM WRN No .env file found, using default settings or environment variables.
blogo  | 12:37AM FTL Failed to load timezone location 'CDT' error="unknown time zone CDT"
blogo exited with code 1
blogo  | 12:38AM INF Using path: /app
blogo  | 12:38AM WRN No .env file found, using default settings or environment variables.
blogo  | 12:38AM FTL Failed to load timezone location 'CDT' error="unknown time zone CDT"


V4.0.16: verifyInstallation() displays error: jsxImportSource was not set to 'nativewind'

Describe the bug
verifyInstallation() displays an error:
ERROR  Error: jsxImportSource was not set to 'nativewind'. Please refer to http://nativewind.dev/troubleshooting#jsxImportSource

This error is located at:
    in RootLayout
    in Try
    in Unknown
    in Unknown (created by Route())
    in Route (created by Route())
    in Route() (created by ContextNavigator)
    in RNCSafeAreaProvider (created by SafeAreaProvider)
    in SafeAreaProvider (created by wrapper)
    in RNGestureHandlerRootView (created by GestureHandlerRootView)
    in GestureHandlerRootView (created by GestureHandlerRootView)
    in GestureHandlerRootView (created by wrapper)
    in wrapper (created by ContextNavigator)
    in EnsureSingleNavigator
    in BaseNavigationContainer
    in ThemeProvider
    in NavigationContainerInner (created by ContextNavigator)
    in ContextNavigator (created by ExpoRoot)
    in ExpoRoot (created by App)
    in App (created by withDevTools(App))
    in withDevTools(App) (created by ErrorOverlay)
    in ErrorToastContainer (created by ErrorOverlay)
    in ErrorOverlay
    in RCTView (created by View)
    in View (created by AppContainer)
    in RCTView (created by View)
    in View (created by AppContainer)
    in AppContainer
    in main(RootComponent), js engine: hermes

To Reproduce
Steps to reproduce the behavior:

Clone https://github.com/fendyk/expo-router-typescript-nativewind-example
Use branch bug-verifyinstall
Run with npm run start
Wait for it to compile
See error

Expected behavior
It should run nativewind as intended
Additional context
I think @marklawlor you've already described that this was an issue you already knew, but I thought it was nice to have a reminder here in case anyone has the same problem

Same issue here :/

Running into the same issue

I don't crash without that function, but it also doesn't work, none of the styles get applied anywhere

+1 same issue

I don't crash without that function, but it also doesn't work, none of the styles get applied anywhere

I am noticing that a lot of styles are not working as well. Is my setup just wrong?

Same issue, anyone find a workaround yet? I'm trying to figure out why CSS variables aren't working for me currently.

We have the same issue

We have the same issue. Note that the url is wrong, it should be https://www.nativewind.dev/v4/troubleshooting#jsxImportSource. Note the v4
We have done everything listed there, but we still have problems

I also followed these steps and still have the same issues as well.

same.. lol so the function to verify the installation is even broken.. time to start looking at alternatives!

@z1haze https://github.com/vadimdemedes/tailwind-rn is pretty stable, however doesn't seem like it's being maintained anymore. Nativewind v4 has way more features that look exciting & this repo is well maintained, but it's probably not worth spending the time on until it moves into stable. I just periodically try to see if I can switch over to it when I start a new project 😅

@z1haze https://github.com/vadimdemedes/tailwind-rn is pretty stable, however doesn't seem like it's being maintained anymore. I've been using it for all of my projects without issue.
Nativewind v4 has way more features that look exciting & this repo is well maintained, but it's probably not worth spending the time on until it moves into stable. I just periodically try to see if I can switch over to it when I start a new project 😅

Are you aware if that lib has support for native gap? I know nativewind v2 does not, it does some hackery with margins for gap and causes us issues.

To be fair, Nativewind 4 is still in beta so it's not going to be perfect yet.
I had issues installing this with the Expo 50 SDK beta/Router 3 beta template, but it worked when I installed into a fresh Expo app and then updated the SDK and router myself. Wasn't able to narrow specifically what was different and causing it to break.

I'm having the same issue on Nativewind 4.0.23 with Expo 50 and Expo Router 3. Some styles aren't working correctly.

For those experiencing trouble with some styles not working (or styles not updating/hot reloading), check out #737 & #648. verifyInstallation() fails for me atm, but turns out --tunnel was the root cause of my style issues.
Basically, style bundle updates happen on a different port & don't work with --tunnel.
Hope this helps, I spent all day trying to figure this out.

Also having this issue from 4.0.24 and after. Styles are not applied after upgrading. Not using --tunnel. Reverting back to 4.0.23 works.

Fixed in 4.0.35

I was facing same issue, and I solved by updating my _layout to what the documentation suggest:
import {Slot} from "expo-router"
import "../global.css";

export default Slot;


ro.coffee translation complete

I translated all the lines from ro.coffee with very few exceptions. I made also a synchronization between en.coffee and ro.coffeee, and I added to my language file the missing lines in order to have the same number of lines in both files.
I also made changes on previous translated lines because there were some misspellings and grammatical errors.
For any objections you can contact me.

I just saw that en.locale was las modified on November 11, yesterday. For my translation I used as a general template, in regards of line numbers, the file en.locale dated October 27.

Seems like a lot of your changes have been merged. I'm guessing a different PR of yours got merged which created all the conflicts. Let me know if there are any other changes this PR has which you want to merge. I'm closing it for now.

It seems that my work was in vain. I translated almost 95% of the file but was merged under 50%.
I don't know why the conflicts were present, because I translated all en.coffee available at that moment and I kept the formatting.


This sample application is broken with certain inputs (e.g., blog feed as of 2-13-2023)

The sample app on this page loops through the syndication feed at [https://blogs.windows.com/feed] - which, when it happens to include the trademark character '™' (U+2122), breaks the console output (because, I speculate but have not investigated in depth, the ostream and the character encoding disagree in some fundamental manner).
(The character in question is part of the title for the blog post [https://blogs.windows.com/windows-insider/2023/02/09/update-to-windows-subsystem-for-android-on-windows-11-february-2023/].)
This is annoying and could cause problems to developers trying to figure out why WinRT seems broken (when, really, it has nothing to do with WinRT). Worse yet, at least as far as QA is concerned, this problem is only occasionally replicable, because the contents of the feed will change over time.
Hope this helps.
--
Davi Gray

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

ID: 7ae018a1-a3ab-037a-2df7-354677971ff9
Version Independent ID: 95ff0a4f-48c7-4962-93b3-538ab5ec458f
Content: Get started with C++/WinRT - UWP applications
Content Source: uwp/cpp-and-winrt-apis/get-started.md
Product: uwp
Technology: platform
GitHub Login: @stevewhims
Microsoft Alias: stwhi

Thanks, @Davi-Gray! I've published a fix to the code. If other similar inputs cause failures, then we can work around them as they arise.
Thanks!
-Steve


Add licensing / license file

I suggest Apache Public License 2.0, same as the other repos in ros-safety.

@robbel, @gbiggs  Does APL sound reasonable to you (since you are the only contributors, yet)?

The package is already licensed under Apache 2.0, so that would be the appropriate license file to add.

APL sounds good, I'll add the license to the repository.


ARROW-9251: [C++] Relocate integration testing JSON code implementation to src/arrow/testing

While this code is not being shipped in any packages, I think it would be better for it to live in the testing directory so that its purpose is clear
I think there may be potentially some value in exposing ArrayFromJSON (in ipc/json_simple.h) in bindings at some point so I have left this code where it is, though it might be better to move it to arrow/json

+1. The ASAN/UBSAN failure is fixed by https://github.com/apache/arrow/pull/7575


chore(master): release 1.1.227

:robot: I have created a release beep boop
1.1.227 (2023-10-25)
Miscellaneous

deps: update dependency @types/node to v20.8.9 (3f6feca)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wayofdev/keywind/releases/tag/v1.1.227 :sunflower:


Caption is read out as first field in grid

Description of the bug
It seems like our caption is trying to take over the first fields place in the grid.

When using screen reader the caption will be read instead of the table header(s).
On small screens the caption will be visible as the fields label

Screen reader example

Small screens

Steps To Reproduce
Test this using a table with a caption connected to it.
Additional Information
No response

Seems like this was an error with wrong label set on the first input-field. Nothing to fix for Studio.


Fixing a bug in HeapSizeManager.flush().

flush() is supposed to wait until all requests are done.  There was a wait method being called from flush() in the wrong place, so flush() didn't actually wait.  Fixing that issue.

lgtm


PCIe drivers fail to compile on Ubuntu 16.04

When trying to compile pcieportal, I get the following error:
/home/ubuntu/src/connectal/drivers/pcieportal/portal.c: In function ‘pcieportal_ioctl’:
/home/ubuntu/src/connectal/drivers/pcieportal/portal.c:204:119: error: missing binary operator before token "("
 #if (LINUX_VERSION_CODE < KERNEL_VERSION(5,0,0)) && !(defined(RHEL_MAJOR) && RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(8,0))
                                                                                ^
/home/ubuntu/src/connectal/drivers/pcieportal/portal.c:207:69: error: macro "access_ok" requires 3 arguments, but only 2 given
                 err = !access_ok((void __user *) arg, _IOC_SIZE(cmd));
                                                                     ^
/home/ubuntu/src/connectal/drivers/pcieportal/portal.c:207:24: error: ‘access_ok’ undeclared (first use in this function)
                 err = !access_ok((void __user *) arg, _IOC_SIZE(cmd));
                        ^
/home/ubuntu/src/connectal/drivers/pcieportal/portal.c:207:24: note: each undeclared identifier is reported only once for each function it appears in
/home/ubuntu/src/connectal/drivers/pcieportal/portal.c:210:119: error: missing binary operator before token "("
 #if (LINUX_VERSION_CODE < KERNEL_VERSION(5,0,0)) && !(defined(RHEL_MAJOR) && RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(8,0))
                                                                                ^
/home/ubuntu/src/connectal/drivers/pcieportal/portal.c:213:69: error: macro "access_ok" requires 3 arguments, but only 2 given
                 err = !access_ok((void __user *) arg, _IOC_SIZE(cmd));
                                                                     ^
/home/ubuntu/src/connectal/drivers/pcieportal/portal.c: In function ‘pcieportal_board_activate’:
/home/ubuntu/src/connectal/drivers/pcieportal/portal.c:548:39: error: implicit declaration of function ‘pci_irq_vector’ [-Werror=implicit-function-declaration]
                 this_board->irq_num = pci_irq_vector(this_board->pci_dev, 8);
                                       ^

Kernel version is the default 4.4.0. I also tried on 18.04, with a newer kernel (the default, I think 4.15), and that gave me the same error.

The version from the repo seems to work on 18.04, but on 16.04 that also fails to install, although with a different error:
/var/lib/dkms/connectal/20.06.4/build/portal.c: In function ‘pcieportal_board_activate’:
/var/lib/dkms/connectal/20.06.4/build/portal.c:548:39: error: implicit declaration of function ‘pci_irq_vector’ [-Werror=implicit-function-declaration]
                 this_board->irq_num = pci_irq_vector(this_board->pci_dev, 8);
                                       ^

Do you have any idea how to resolve this error in ubuntu 16.04?

The version from the repo seems to work on 18.04, but on 16.04 that also fails to install, although with a different error:
/var/lib/dkms/connectal/20.06.4/build/portal.c: In function ‘pcieportal_board_activate’:
/var/lib/dkms/connectal/20.06.4/build/portal.c:548:39: error: implicit declaration of function ‘pci_irq_vector’ [-Werror=implicit-function-declaration]
                 this_board->irq_num = pci_irq_vector(this_board->pci_dev, 8);
                                       ^

Hi Manish,
Ubuntu 16.04 is no longer getting security updates, so I recommend upgrading to the newest LTS that you can use.
Otherwise, the thing to do is look up pci_irq_vector in Linux cross reference and look at its history between 16.04 and 18.04.
Jamey


Investigate why authorization logic requires a specific nightly build of rust.

Specifically, we import rust_repositories(version = "nightly", iso_date = "2021-07-01", edition="2018").

You were right, @bgogul , it wasn't just the try_blocks feature. It is also antlr4rust, see https://github.com/google-research/raksha/pull/144#discussion_r716921015 . I'm not sure that there's anything to do other than:

pick another Rust parser generator (there appear to be several): https://lib.rs/parsing
get rid of the Rust parser entirely and rewrite in C++ (this looks to be our current strategy for compatibility with other Google stuff).

Marking this as obsolete as we will be removing rust implementation soon.


Remove dropdown component until it's usable 🙈

Our current dropdown component is super buggy and the code is a hot mess 😬 I'm going to remove it from the docs for now so that people don't start using it - then I'll rethink a better way to build this component / whether or not we want a dropdown in our component library vs a simple Details element.
cc @broccolini @jonrohan on thoughts around design patterns for dropdowns vs detail elements in Primer

It might be worth looking into @ryanflorence's MenuButton implementation for inspiration.
Also, I implemented a Dropdown component a few months ago for a side-project. There's definitely room for improvement but maybe it'll give you some ideas 🤷♂ : https://github.com/dasherapp/dasher/blob/master/src/components/Dropdown.js

Here's my thoughts...
Prioritize adding a dropdown component:

Create a version that works with details element only for now (is there any problem with that
Visually follow the styles used in the current Primer CSS dropdown component with props for direction etc. (except see if we actually ever use dropdown-header)
Since the dropdown styling is pretty simple make it a styled-component rather than using current CSS
Make sure it's accessible (referring to the Reach UI example Cole linked to if that's helpful)

Follow up with Details component:

Make a details component (we might call this a container component since it won't style anything)
Make a overlay variations as it's own component that extends or uses the details component
Spend several ours deciding on what to name these components

👋Hi! Glad to see an issue for this. I tried to use Primer's dropdown component in https://github.com/github/help-docs/issues/8520 and got pretty confused.
We have a followup issue on help-docs to improve the discoverability of our (currently homemade) dropdowns: https://github.com/github/help-docs/issues/8520


rFOX tx history of position related transactions in the rFOX page

Overview
Currently there is no log/tx history of all rFOX related transactions to users that have made multiple deposits.
This feels like a feature request, but with the dashboard still being built out a github ticket felt appropriate.
References and additional details
Please add a tx history for the rFOX page that tracks all related transactions :pray
Acceptance Criteria
a functional TX history log in the rFOX page
Need By Date
No response
Screenshots/Mockups
No response
Estimated effort
No response

Do we really want to display every TXs related with rFOX? I think we initially wanted to display rune rewards TXs
If you are right, we might want to update https://github.com/shapeshift/web/issues/7281 and close this one as a duplicate, or mark this one as a follow up

https://www.figma.com/design/REOouo0sAuOhoD597yZEGE/rFOX?node-id=635-4708&t=B4RRhz15w0iwambE-0
Add a new tab to the rFOX dashboard called "Actiivity" that shows tx history (on arb only) including:

stake
unstake
change address
NOT claim ( as this is shown already)
NOT bridge
NOT rewards


can not set up cog and pfam database right

Hi
When I setup zdb database, kegg, vfdb and swissprot can set up successfully, but can not set up cog and pfam database right. here is the  log file nextflow.log
I know it is not zdb issue, maybe you can upload the database somewhere and let us download it and put it in the corresponding folder?
Thanks
Wanjin Hu

I'll close this issue for inactivity.


Allow definitions to be read only

Need the ability to make a model read only. Swagger does not allow object properties that are objects to be read only. In swagger.io editor, attempting make an object property that is a reference read only will give warning "Values alongside a $ref will be ignored" and expected functionality will not work. To get around this, Swagger allows a model to be readonly. Now objects properties that reference the read only object will only be available in read responses and unavailable in write requests.

Thanks for the fix. Added testcases and bumped version so it shows up in Composer.

Since #21 this might not be relevant anymore. Besides, swagger spec only allows readOnly attribute to be used on a property.


How to pass parameters to the URL

I was not able to understand where should we put the URL and I want to pass parameters in that URL so how should I pass that You did not explain properly for a beginner
Let suppose my URL is https://abc.com/apis/get.php

<input id="street"
         type="text"
         autocomplete="off"
         name="street"
         data-url="/ajax/url-get-data"
         placeholder="Phone Number"
         class="js-street-select">
  <input type="hidden" class="autocomplete-id" name="autocomplete-id" value="">

var $street_select = $('.js-street-select');
    var $street_preloader = $('.js-street-preloader');
    var initial_address;
function getStreetAutocompleteObject(phoneNumber) {
    return {
        ajax: {
            url: $street_select.attr('data-url'),
            method: 'post',
            dataType: 'json',
            beforeSend: function () {
                if (!$street_preloader.hasClass('active')) {
                    $street_preloader.addClass('active');
                }
            },
            error: null
        },
        callback: function (res) {
            if ($street_preloader.hasClass('active')) {
                $street_preloader.removeClass('active');
            }
        },
        minLength: 5,
        delay: 200
    };
}
var value = document.getElementById('street').value;
$street_select.autocompleteajax(getStreetAutocompleteObject(value));

Hey, @younas-bangash!
If you are using a custom autocomplete from the example, I recommend adding to the ajax settings the 'data' option.
ajax: {
            url: $street_select.attr('data-url'),
            method: 'post',
            data: {
                 phone: phone_number
            },
            dataType: 'json',
            beforeSend: function () {
                if (!$street_preloader.hasClass('active')) {
                    $street_preloader.addClass('active');
                }
            },
            error: null
}

Did I understand your question correctly?
Usually it grabs the data from the form, so you should be passing it, if you are making your autocomplete custom.
Hope it helps!

what parameters you wanna pass to url? POST or GET? Get params sets to your data-url input attribute, POST sets in jquery ajax method with data attribute. Like post below by @fsher

autocomplete takes options
 var defaults = {         data: {},         ajax: {},         callback: null,         delay: null,         minLength: 2,         autocomplete_id: null,         input_name: null     };
you can set ajax data in ajax option

Where i should set the URL https://abc.com/apis/get.php ?

Here
http://joxi.ru/l2ZVGRgSwYvpY2

No it's not working

Is ajax request firing?

Yes it is not sending the parameters

Can you show your code? How you set params?

<input id="street"
       type="text"
       autocomplete="off"
       name="street"
       data-url="apis/search_customer.php"
       placeholder="Phone Number"
       class="js-street-select">
<input type="hidden" class="autocomplete-id" name="autocomplete-id" value="">

var $street_select = $('.js-street-select');
var $street_preloader = $('.js-street-preloader');
var initial_address;
var value = document.getElementById('street').value;
$street_select.autocompleteajax(getStreetAutocompleteObject(value));

function getStreetAutocompleteObject(phone_number){
  return {
        ajax: {
            url: $street_select.attr('data-url'),
            method: 'post',
            data: {
                 phone_number: phone_number
            },
            dataType: 'json',
            beforeSend: function () {
                if (!$street_preloader.hasClass('active')) {
                    $street_preloader.addClass('active');
                }
            },
            error: null
        },
        callback: function (res) {
            if ($street_preloader.hasClass('active')) {
                $street_preloader.removeClass('active');
            }
        },
        minLength: 2,
        delay: 200
    };
}

https://abc.com/apis/get.php
Is this the URL you are trying to send the request to? Or is it the one in the data-url attribute?

No need set param to getStreetAutocompleteObject() function

I can not post the original URL due to security reason but the file is returning the JSON data my file is on server in apis folderand its name is search_customer.php

I successfully add the parameters in the autocompleteajax.js file but I am receiving the following error now and the result is not displaying in the dopdown
autocompleteajax.js:110 Uncaught TypeError: Cannot read property 'toLowerCase' of undefined
    at String.<anonymous> (autocompleteajax.js:110)
    at Function.each (jquery-2.1.1.min.js:2)
    at HTMLInputElement.<anonymous> (autocompleteajax.js:109)
    at HTMLInputElement.dispatch (jquery-2.1.1.min.js:3)
    at HTMLInputElement.r.handle (jquery-2.1.1.min.js:3)

There is no toLowerCase method on 110 line
https://github.com/dellert/autocompleteajax/blob/master/autocompleteajax.js#L110
:)
Are you shure, that you have using last verion?:)

I do not know what is happining but I paste the error which I am facing and I am using the latest version I think I should use another library but I do not know how to solve that issue

I think, you make smth wrong. I cannot reproduce same error

But why it show error in the autocompleteajax.js file ?

https://jsfiddle.net/gayvryLq/

Yes doing the like that but still facing the issue

So, is your response from server an array of objects?

Updated readme

It can be multipes items
[
{
customer_id: "5",
customer_name: "Customer2",
customer_email<EMAIL_ADDRESS>customer_phone: "971"
}
]

if you look in source by materialize (and this extension too), you'll see, that response must include just id and value params and may include image param

I update my json output as below but still I am receiving the issue  Uncaught TypeError: Cannot read property 'toLowerCase' of undefined
{ data: [{
     id: "5",
    value: "971"
}],
status: "200"
}

@dellert  if you see the below image I am receiving the array but when I get specific value than it is undefined due to which I am facing that issue

I did not know what are you trying to see but I will search for other tools thanks for your help

@dellert  thanks for closing the issue without solving it

@fsher  @free6k  @m4k5imG I will be very thankful if you can figure it out the issue because there is nothing in my page just input box which i am typing

Thanks you guys I do not know issue but I solve the issue by removing the below lines from autocompleteajax.js and placed inside the success: function of ajax
if (val !== '') {
                (data) && $.each(data, function(i, value) {
                    console.log(data);
                    console.log("Value : "+ value.value);
                    if (value.value.toLowerCase().indexOf(val) !== -1 &&
                        value.value.toLowerCase() !== val) {
                        var autocompleteOption = $('

');

                        if(!!value.image) {
                            autocompleteOption.append(''+ value.value +'');
                        } else {
                            autocompleteOption.append(''+ value.value +'');
                        }

                        $autocomplete.append(autocompleteOption);
                        highlight(val, autocompleteOption);
                    }
                });

I had the same issue. I think I was following the data structure correctly by providing one success object and the results in a list of dictionaries. However, the code was not reaching my results. I solved it by changing the code:
if (val !== '') {
    var results = data.data;
    (results) && $.each(results, function(i, value) {
        ...
    }

Also, I had to cut a piece out to get my input working as well. I put both changes in my fork, for anyone else's reference.

I put both changes in my fork

@astarrh your pull request has just edited reame file

Sorry, I had not made a pull request... simply a fork. I just submitted a pull request.

@astarrh good!

hola a todos, normalmente no se comentar, pero esta vez si debido a que yo también tuve el mismo problema,
yo estaba trabajando con una plantilla que tenia agregado la librería de jquery.autocomplete.init.js
lo que ise fue quitarla, no encontré una solución a ello , pero el problema que encontré se encuentra en esta librería, si alguien pudiera resolverlo seria de gran ayuda del por que dicha librería trae ese problema .. gracias ..!

White on english please


CoffeeScript -> ES6

I'm planning an internal migration from CoffeeScript to ES6 with modules. In a nutshell, this means basically

[x] *.coffee sources will be transformed/rewritten into *.es6
[x] switching from "transpile CoffeeScript to ES3/5" to "transpile ES6 to ES3/5 using BabelJS"
[x] replacing bad self-made UMD with more elegant wrapper by umd / grunt-umd
[ ] splitting the sources into dedicated modules (as far as possible)
[x] split large components into separate ones
[ ] use native ES6 modules import/export
[ ] ensure module loading in dev/test environment (Karma Runner in headless clients like Firefox (Travis) and PhantomJS as well as regular ones like Chrome, Firefox, ...)
[ ] ensure modules are injected in the final artifact

The work is done in feature/es6.
Meanwhile, the following changes must be applied into the working branch

[ ] reconnect(true) bd0cc4a
[ ] send(expectReply) 849eb3a

Side notes:

Because of limitations of old engines (i.e. current stable PhantomJS or Travis Firefox Stable), for of is not possible (no usage Symbol)

Currently both exports and imports are disabled (simply commented), because neither the files for the Karma tests nor the resulting artifact file (non ES6) are valid ones.

All done using browerify + on demand babelify for karma.

Documentation available: http://knalli.github.io/angular-vertxbus.docs/docs/#/api/knalli.angular-vertxbus

Released


texlive: 2020.20210408 -> 2020.20210324 (tlnet-final)

Motivation for this change
Provide tlnet-final snapshot for use in 21.05
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

As this is a downgrade, wouldn't it make sense to wait until 21.05 is branched off?

I am supposing that snapshot before the 2021 DVD release rush would be more "stable" for the time being.

@GrahamcOfBorg builx tests.texlive

@GrahamcOfBorg build tests.texlive

I guess, we are shipping 2021


Strong names for dlls

It's so that if main application is using strong names - it requires from all packages to have strong names as well.
This will manifest as run-time error, when you try to launch the application:
Could not load file or assembly 'Splat.Drawing, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)

Would it be possible to add assembly signing - at least for Splat.Drawing, if not any other packages ?

Using strongnamer also results in failure, created separate ticket on this issue:
https://github.com/dsplaisted/strongnamer/issues/59

This discussion has come up a few times. Too many disadvantages to signing. Mainly it forces binding redirects where it doesn't exist before. Also in net core and above it has becoming increasingly unnecessary


https://github.com/rancher/k3s/releases/download/v1.19.2-rc1+k3s1/sha256sum-arm64.txt not found

For the latest 1.19.2-rc1 the sha256sum for arm64 is not on Github
In that way curl -sfL https://get.k3s.io | INSTALL_K3S_CHANNEL=testing sh - does nothing --> No error message

We have been having CI issues with build artifacts, and will be tagging a new RC to fix.
https://drone-publish.rancher.io/rancher/k3s/911/2/3

This should be fixed now with the release of v1.19.2-rc2+k3s1

Much better. It's fine for me
Thanks

Thank you! I'm going to close this then.


Does not compile with rustc beta

Today Rust 1.0.0 beta has been released and it turns out this crate does not compile with it:
C:\Users\kot\.cargo\registry\src\github.com-1ecc6299db9ec823\sha1-0.0.8\src\lib.rs:16:1: 16:25 error: unstable feature
C:\Users\kot\.cargo\registry\src\github.com-1ecc6299db9ec823\sha1-0.0.8\src\lib.rs:16 #![feature(collections)]
                                                                                ^~~~~~~~~~~~~~
~~~~~~~~~~
note: this feature may not be used in the beta release channel
error: aborting due to previous error
Build failed, waiting for other jobs to finish...
Could not compile `sha1`.

Caused by:
  Process didn't exit successfully: `rustc C:\Users\kot\.cargo\registry\src\github.com-1ecc6299db9ec823\sha1-0.0.8\src\lib.rs --crate-name sha1 --crate-type lib -g -C metadata=2e80406a5f497696 -C extra-filename=-2e80406a5f497696 --out-dir D:\git\rust\rust_test1\target\debug\deps --emit=dep-info,link -L dependency=D:\git\rust\rust_test1\target\debug\deps -L dependency=D:\git\rust\rust_test1\target\debug\deps --extern byteorder=D:\git\rust\rust_test1\target\debug\deps\libbyteorder-919e9a7c69df6496.rlib -Awarnings` (exit code: 101)
d:\git\rust\rust_test1>cargo build --verbose > l.log
C:\Users\kot\.cargo\registry\src\github.com-1ecc6299db9ec823\sha1-0.0.8\src\lib.rs:16:1: 16:25 error: unstable feature
C:\Users\kot\.cargo\registry\src\github.com-1ecc6299db9ec823\sha1-0.0.8\src\lib.rs:16 #![feature(collections)]
                                                                                ^~~~~~~~~~~~~~
~~~~~~~~~~
note: this feature may not be used in the beta release channel
error: aborting due to previous error
Could not compile `sha1`.

Caused by:
  Process didn't exit successfully: `rustc C:\Users\kot\.cargo\registry\src\github.com-1ecc6299db9ec823\sha1-0.0.8\src\lib.rs --crate-name sha1 --crate-type lib -g -C metadata=2e80406a5f497696 -C extra-filename=-2e80406a5f497696 --out-dir D:\git\rust\rust_test1\target\debug\deps --emit=dep-info,link -L dependency=D:\git\rust\rust_test1\target\debug\deps -L dependency=D:\git\rust\rust_test1\target\debug\deps --extern byteorder=D:\git\rust\rust_test1\target\debug\deps\libbyteorder-919e9a7c69df6496.rlib -Awarnings` (exit code: 101)

I have no plans on supporting the beta channel.  I depend on unstable functionality.

I actually managed to make that crate work with beta now.  So that should be fine now.

Great, it actually compiles now. Thanks.


Is it possible that no Options > Export options button is not working?

I am expecting that the Export button would give some kind of popup with a JSON, and the Import would have some text input button to paste a previously Exported JSON.
But both of them appear decorative, and not functional
Version
24.2.2

Browser?

Chrome. I have it set to "Ask each time", and nothing was asked. Also, ~/Downloads has nothing 😕

Any errors in the console?

Checked it too - empty

Disable all other extensions, see if the issue continues.
Does the issue occur in another browser (preferably non-Chromium-based, e.g. Firefox)?

The most I can say is: Works For Me ™ 🥹

Open chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/options.html
Click "Export"
Check the console now

Disable all other extensions, see if the issue continues.

Nothing changes by disabling every other extension :confused:

Does the issue occur in another browser (preferably non-Chromium-based, e.g. Firefox)?

I don't use the extension in another browser, sadly

Open chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/options.html

Following chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/options.html, I get:
options.js:3279 Uncaught (in promise) DOMException: The user aborted a request.

in
      exportToFile=async () => {
        const extension = chrome.runtime.getManifest(), text = JSON.stringify({
          [this._jsonIdentityHelper]: extension.name,
          ...await this.getAll()
        }, null, "\t");
        await saveFile(text, extension.name + " options.json");
*     };

line.
I was able to extract the text to clipboard, and then manually to a text file from this page

It seems that showSaveFilePicker exists but is being auto-closed by the browser.
My guess is that you're running Chrome in some alternative way (e.g. via command line), there's some configuration breaking it (e.g. in chrome://flags) or your OS is broken.
Are you on Linux?

your OS is broken

Related?

https://github.com/telegramdesktop/tdesktop/issues/27440

My guess is that you're running Chrome in some alternative way (e.g. via command line), ...

No

there's some configuration breaking it (e.g. in chrome://flags) ...

I can try that later, but I don't think so

or your OS is broken.

"Not as far as I know"

Are you on Linux?

Yes

your OS is broken

Related?

Copying text from Telegram Desktop doesn't work telegramdesktop/tdesktop#27440

Thank you for digging my recent issues 😅
But no. Different system.

Do you have an antivirus? Is your computer locked down in other ways? Is it a company computer with enterprise provisioning?

Are you on Linux?

Yes

ur on ur own 🥹 ✌

Does the issue occur in another browser (preferably non-Chromium-based, e.g. Firefox)?

I don't use the extension in another browser, sadly

Can you not do so for the sake of troubleshooting the issue?
Any policies set which might cause an issue? - chrome://policy

Just to give some context, showSaveFilePicker() asks the OS to show a "file save" dialog, giving complete control to the OS. The error suggests that the dialog was "cancelled" by the user, but since you didn't, then the OS is taking that action for you.
If you'd like to further debug this issue, you can try running the API directly, for example in this demo:

https://googlechromelabs.github.io/text-editor/

Then you can probably report the issue to the Chrome bug tracker. At the moment only Chromium browsers support this API:

https://developer.mozilla.org/en-US/docs/Web/API/Window/showSaveFilePicker#browser_compatibility

Does the issue occur in another browser (preferably non-Chromium-based, e.g. Firefox)?

I don't use the extension in another browser, sadly

Can you not do so for the sake of troubleshooting the issue?
Any policies set which might cause an issue? - chrome://policy

{
   "chromeMetadata": {
      "OS": "Linux",
      "application": "Google Chrome",
      "revision": "5148e93c94b4990618801dd6918f26936be770f9-refs/branch-heads/5735_90@{#9}",
      "version": "114.0.5735.106 (Official Build) (64-bit)"
   },
   "policyValues": {
      "chrome": {
         "name": "Chrome Policies",
         "policies": {
         }
      },
      "extensions": {
         "cjpalhdlnbpafiamejdnhcphjbkeiagm": {
            "forSigninScreen": false,
            "id": "cjpalhdlnbpafiamejdnhcphjbkeiagm",
            "name": "uBlock Origin",
            "policies": {
            }
         },
         "djflhoibgkdhkhhcedjiklpkjnoahfmg": {
            "forSigninScreen": false,
            "id": "djflhoibgkdhkhhcedjiklpkjnoahfmg",
            "name": "User-Agent Switcher for Chrome",
            "policies": {
            }
         },
         "ghbmnnjooekpmoecnnnilnnbdlolhkhi": {
            "forSigninScreen": false,
            "id": "ghbmnnjooekpmoecnnnilnnbdlolhkhi",
            "name": "Google Docs Offline",
            "policies": {
            }
         },
      },
      "precedence": {
         "name": "Policy Precedence",
         "policies": {
         },
         "precedenceOrder": [ "Platform machine", "Cloud machine", "Platform user", "Cloud user" ]
      }
   },
   "status": {
      "user": {
      }
   }
}

Just to give some context, showSaveFilePicker() asks the OS to show a "file save" dialog, giving complete control to the OS. The error suggests that the dialog was "cancelled" by the user, but since you didn't, then the OS is taking that action for you.
If you'd like to further debug this issue, you can try running the API directly, for example in this demo:

googlechromelabs.github.io/text-editor

It works 😅

But anyhow - I understand your "Linux 🤷" attitude. The chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/options.html workaround was okay now for my purposes.
... Let's hope I don't need to Import something (which would definitely not be that easily hack-able)


[bug]: Automated installer doesn't work for installing outside of C: directory?

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Windows
GPU
cuda
VRAM
10GB
What version did you experience this issue on?
3.2.0
What happened?
It appears that drive letter is changed to C at some point. I am not sure where this is from though
Please make your selection: 1
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── Installing PyTorch 🔥 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Fatal error in launcher: Unable to create process using '"C:\invokeai\.venv\Scripts\python.exe"  "N:\invokeai\.venv\Scripts\pip.exe" install --require-virtualenv numpy~=1.24.0 urllib3~=1.26.0 requests~=2.28.0 torch~=2.0.0 torchmetrics==0.11.4 torchvision>=0.14.1 --force-reinstall --extra-index-url https://download.pytorch.org/whl/cu118': The system cannot find the file specified.

Screenshots

Additional context
No response
Contact Details
No response

What was your targeted installation location?

I might have found the issue. Let me verify it when I go back. I'll mention you when I get more clues

Closing this issue because of two issues

I was unable to replicate this behavior with version 3
The old version installed on my computer was version 2

I believe this is some kind of compatibility issue that isn't worth looking into. Thanks for the interest though @Millu


some cleanup

This is perfect! I'll clean up and ping you when it's ready. Thanks for the suggestions.


Can support set subscriptionData with ASSIGN SubscriptionType in DefaultLitePullConsumer

Current SusscriptionType will be auto set when user call DefaultLitePullConsumer.assign()
does this solve your problem？

Current SusscriptionType will be auto set when user call DefaultLitePullConsumer.assign()
does this solve your problem？

Our business scenario requires a preview of the five most recent or earliest messages for a certain tag under a certain topic. So I try to use org.apache.rocketmq.client.consumer.DefaultLitePullConsumer#seekToBegin and org.apache.rocketmq.client.consumer. DefaultLitePullConsumer#seek api , but seek doesn't seem to work with org.apache.rocketmq.client.consumer.LitePullConsumer#subscribe, resulting in the inability to customize subExpression. I tried to rewrite org.apache.rocketmq.client.impl.consumer.DefaultLitePullConsumerImpl#assign to support custom subExpressions under ASSIGN SubscriptionType：

This seems to work.But I'm not sure if this causes other problems and why it's not natively supported.


Adjust PEP 8 + minor improvement

As per discussion in #1624.

Adjusted prices.py according to PEP 8 coding style suggestions, except:

E501 line too long
E701 multiple statements in one line

Changed tkr_div_dates declaration/assignment style within TestPriceHistory::test_dailyWithEvents (this is the only thing non-PEP8 here)

The bare except changes merit another future discussion about how exceptions are being handled in the tests; I believe that with some tweaks to the code, exceptions can be handled more gracefully (this is something I also noted in other files such as base.py)
Alternatively, test_intraDayWithEvents and test_intraDayWithEvents_tase are being defined twice...is this on purpose?  (perhaps this should be another issue?)

Closing; will submit to dev


Fix google logo in security page

Fix google logo in user security page: #28701
Before

after

SVG file needs to be formatted

SVG file needs to be formatted

You mean pretty-printed? I'd classify that as optional for  the file in web_src.

SVG file needs to be formatted

I've never used SVG, I wanted to understand a little, I got the base from Google fonts file and added class to file, and after changing SVG to this pull, google logo fixed in settings page

SVG file needs to be formatted

You mean pretty-printed? I'd classify that as optional for the file in web_src.

no it was before force push

Oh, ok, thanks to merge


Is it possible to write to Amazon Elasticsearch Service using elasticsearch-hadoop?

I have been trying to write to AWS's new Amazon Elasticsearch Service from a Scalding job using elasticsearch-hadoop (via scalding-taps).
This job has previously worked using Elasticsearch manually installed on an EC2 instance, implying that the problem is specific to Amazon Elasticsearch Service.
The first time I tried I got this error:
Caused by: org.elasticsearch.hadoop.EsHadoopIllegalStateException: Cluster state volatile; cannot find node backing shards - please check whether your cluster is stable
        at org.elasticsearch.hadoop.rest.RestRepository.getWriteTargetPrimaryShards(RestRepository.java:370)
        at org.elasticsearch.hadoop.rest.RestService.initSingleIndex(RestService.java:425)
        at org.elasticsearch.hadoop.rest.RestService.createWriter(RestService.java:393)
        at org.elasticsearch.hadoop.mr.EsOutputFormat$EsRecordWriter.init(EsOutputFormat.java:173)
        at org.elasticsearch.hadoop.mr.EsOutputFormat$EsRecordWriter.write(EsOutputFormat.java:149)
        at org.apache.hadoop.mapred.MapTask$DirectMapOutputCollector.collect(MapTask.java:844)
        at org.apache.hadoop.mapred.MapTask$OldOutputCollector.collect(MapTask.java:596)
        at cascading.tap.hadoop.util.MeasuredOutputCollector.collect(MeasuredOutputCollector.java:69)
        at org.elasticsearch.hadoop.cascading.EsHadoopScheme.sink(EsHadoopScheme.java:212)
        at cascading.tuple.TupleEntrySchemeCollector.collect(TupleEntrySchemeCollector.java:153)
        ... 21 more

I then tried setting es.nodes.client.only to true and instead got this error:
Caused by: org.elasticsearch.hadoop.EsHadoopIllegalArgumentException: Client-only routing specified but no client nodes with HTTP-enabled were found in the cluster...
        at org.elasticsearch.hadoop.rest.InitializationUtils.filterNonClientNodesIfNeeded(InitializationUtils.java:82)
        at org.elasticsearch.hadoop.rest.RestService.createWriter(RestService.java:373)
        at org.elasticsearch.hadoop.mr.EsOutputFormat$EsRecordWriter.init(EsOutputFormat.java:173)
        at org.elasticsearch.hadoop.mr.EsOutputFormat$EsRecordWriter.write(EsOutputFormat.java:149)
        at org.apache.hadoop.mapred.MapTask$DirectMapOutputCollector.collect(MapTask.java:844)
        at org.apache.hadoop.mapred.MapTask$OldOutputCollector.collect(MapTask.java:596)
        at cascading.tap.hadoop.util.MeasuredOutputCollector.collect(MeasuredOutputCollector.java:69)
        at org.elasticsearch.hadoop.cascading.EsHadoopScheme.sink(EsHadoopScheme.java:212)
        at cascading.tuple.TupleEntrySchemeCollector.collect(TupleEntrySchemeCollector.java:153)
        ... 21 more

I haven't made any changes to Amazon's default Elasticsearch configuration. Does anybody have any idea how to make this work?

Yes you just need to properly configure Elasticsearch (I need to add a section about this in the docs).
The issue lies with how Amazon configures its network namely Elasticsearch is running on private IPs but its reacheable through public ones.
When connector reaches ES, it only knows about the private IPs by default and since it cannot reach them, throws the exception above.
The solution is simple - use the AWS plugin which enables proper discovery in EC2/Amazon and also allows Elasticsearch to use the Amazon public IP for broadcast namely EC2 as explained here.
Hope this helps,

Thanks very much @costin ! I will try using the plugin.

The Amazon Elasticsearch Service Limits page says that only a few specific plugins are supported. Further investigation is needed but I'm not sure it's actually possible to enable the AWS Cloud Plugin...

Now I see that you are referring to the Amazon Elasticsearch service. I'm not familiar with that but I expect this to be issue (private vs public). Is there anyway to configure the published/advertised IP?
If not that's quite an oversight since it means the nodes in Amazon cannot be accessed directly.
A workaround to this would be to install a proxy that is accessible form outside and has visibility into the private IPs.
The connector can use it thus to route its calls - it kills parallelism (all connections go through only one node) but it's should work.
Have you tried raising this with Amazon?
Cheers,

@costin Is discovery via cloud-aws mandatory for the connection to work?
Amazon Elasticsearch service currently does not expose private IPs or allow other nodes to join the cluster for security purposes. There is an ELB fronting the cluster nodes whose endpoint (listening on port 80 and not 9200) is exposed for access via REST APIs. TCP is not supported currently.
Having taken these into consideration, would users of elastic-hadoop be able to talk to the service using something like below or do you foresee problems with this approach?
 es.nodes = foo.us-east-1.es.amazonaws.com
 es.port = 80
 es.nodes.discovery = false

SigV4 for signing request will probably not work and users can restrict access to theor Amazon ES cluster via IP based access control?

Update: I tried this using port 80 with "es.nodes.discovery" set to "false" but got the same error from my first attempt:
Caused by: org.elasticsearch.hadoop.EsHadoopIllegalStateException: Cluster state volatile; cannot find node backing shards - please check whether your cluster is stable
        at org.elasticsearch.hadoop.rest.RestRepository.getWriteTargetPrimaryShards(RestRepository.java:370)
        at org.elasticsearch.hadoop.rest.RestService.initSingleIndex(RestService.java:425)
        at org.elasticsearch.hadoop.rest.RestService.createWriter(RestService.java:393)
        at org.elasticsearch.hadoop.mr.EsOutputFormat$EsRecordWriter.init(EsOutputFormat.java:173)
        at org.elasticsearch.hadoop.mr.EsOutputFormat$EsRecordWriter.write(EsOutputFormat.java:149)
        at org.apache.hadoop.mapred.MapTask$DirectMapOutputCollector.collect(MapTask.java:844)
        at org.apache.hadoop.mapred.MapTask$OldOutputCollector.collect(MapTask.java:596)
        at cascading.tap.hadoop.util.MeasuredOutputCollector.collect(MeasuredOutputCollector.java:69)
        at org.elasticsearch.hadoop.cascading.EsHadoopScheme.sink(EsHadoopScheme.java:212)
        at cascading.tuple.TupleEntrySchemeCollector.collect(TupleEntrySchemeCollector.java:153)
        ... 21 more

Access to some of the internal cluster management APIs ( like _cluster/state) are also currently restricted, is the connector trying to sniff shard placements for optimization? Is that causing this.
Current list of supported operations - http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-gsg-supported-operations.html

@malpani the connector doesn't rely on _cluster/state but it does use search_shard API which is not exposed by Amazon. This alone eliminates the whole premise behind the connector which is to use parallelism to connect Hadoop/Spark to ES efficiently.
Sorry...

@fblundun  @malpani  I've added a new feature in master (and published the new builds - namely 2.2.0.BUILD-SNAPSHOT) which allows the connector to work with restricted cloud-like ES environments.
By setting es.nodes.wan.only to true, the connector will disable discovery and its typical peer-to-peer connections and use only the nodes indicates in es.nodes. For Amazon or Found for example this would be the publicly accessible gateway.
All connections to and from ES will be made through this node - clearly it won't be as efficient as connecting to each shard/node directly but it's also the only possible way.
Can you please try it out and report back how it works for you?
Cheers,

Thanks very much @costin! I will try it out tomorrow and report the results.

Great news! The test run with the latest build succeeded. Thanks @malpani and @costin for all your help!

Thanks so much everybody!

Thats great to hear! Thank you @costin , @fblundun  and @alexanderdean

Thanks for the feedback. This feature remains 2.2 only - please use the dev build until M2 is released (in short order).

Thanks for this fix, it was essential for my current project as well. Hoping it gets into a full release soon!

Thank you for this fix; just got a first spark job running with es.nodes.wan.only set to true.
Just to help others out; we are using the following dependencies in the pom:
       <dependency>             <groupId>org.apache.spark</groupId>             <artifactId>spark-core_2.10</artifactId>             <version>1.6.1</version>             <scope>provided</scope>         </dependency>         <dependency>             <groupId>org.scala-lang</groupId>             <artifactId>scala-library</artifactId>             <version>2.10.6</version>         </dependency>         <dependency>             <groupId>org.elasticsearch</groupId>             <artifactId>elasticsearch-spark_2.10</artifactId>             <version>2.3.1</version>         </dependency>

As of 2020, it's not possible to write to AWS managed ElasticSearch due to #1140

Another option that may come about (hopefully soon) for AWS Elasticsearch deployments is to use the OpenDistro SQL JDBC drivers.
From my early investigation there are some blockers on this, particularly around the SQL dialect that is supported, but at the very least today you can use the OpenDistro SQL JDBC driver with request signing and print schema of an index using Spark (this example is using AWS Glue, but Spark under the hood):
>>> import sys
>>> from awsglue.transforms import *
>>> from awsglue.utils import getResolvedOptions
>>> from pyspark.context import SparkContext
>>> from awsglue.context import GlueContext
>>> from awsglue.dynamicframe import DynamicFrame
>>>
>>> glueContext = GlueContext(SparkContext.getOrCreate())
>>> jdbc_driver_name = "com.amazon.opendistroforelasticsearch.jdbc.Driver"
>>> db_url = "jdbc:elasticsearch://https://xxxxxx.ap-southeast-2.es.amazonaws.com?auth=aws_sigv4"
>>> table_name = "location"
>>> df = glueContext.read.format("jdbc").option("driver", jdbc_driver_name).option("url", db_url).option("dbtable", table_name).load()
>>> df.printSchema()
root
 |-- parent: integer (nullable = true)
 |-- aliases: string (nullable = true)
 |-- suggest_text: string (nullable = true)
 |-- tie_breaker: string (nullable = true)
 |-- type: integer (nullable = true)
 |-- modified: timestamp (nullable = true)
 |-- id: integer (nullable = true)
 |-- text: string (nullable = true)
 |-- ontology_autocomplete: string (nullable = true)
 |-- lat: double (nullable = true)
 |-- slug: string (nullable = true)
 |-- lng: double (nullable = true)
 |-- created: timestamp (nullable = true)
 |-- neighboring_locations: integer (nullable = true)
 |-- location_type: integer (nullable = true)
 |-- location_autocomplete: string (nullable = true)
 |-- name: string (nullable = true)
 |-- suggestions: string (nullable = true)

At the moment you would need to create a custom dialect for anything useful to work.