Support for Telegram Bot API 4.4

Supporting the 4.4 version of the Telegram Bot API involves the next:

[x] Added support for animated stickers. New field is_animated in Sticker and StickerSet objects, animated stickers can now be used in sendSticker and InlineQueryResultCachedSticker.
[x] Added support for default permissions in groups. New object ChatPermissions, containing actions which a member can take in a chat. New field permissions in the Chat object; new method setChatPermissions.
[x] The field all_members_are_administrators has been removed from the documentation for the Chat object. The field is still returned in the object for backward compatibility, but new bots should use the permissions field instead.
[x] Added support for more permissions for group and supergroup members: added the new field can_send_polls to ChatMember object, added can_change_info, can_invite_users, can_pin_messages in ChatMember object for restricted users (previously available only for administrators).
[x] The method restrictChatMember now takes the new user permissions in a single argument of the type ChatPermissions. The old way of passing parameters will keep working for a while for backward compatibility.
[x] Added description support for basic groups (previously available in supergroups and channel chats). You can pass a group's chat_id to setChatDescription and receive the group's description in the Chat object in the response to getChat method.
[x] Added invite_link support for basic groups (previously available in supergroups and channel chats). You can pass a group's chat_id to exportChatInviteLink and receive the group's invite link in the Chat object in the response to getChat method.
[x] As of the next Bot API update (version 4.5), nested MessageEntity objects will be allowed in message texts and captions. Please make sure that your code can correctly handle such entities.

More info at https://core.telegram.org/bots/api-changelog

Fully supported!


Infinite depth in DTO but not in suscriptions

Hello, i'm reading your documentation.
I read that I can add the next to modify the filterInput in the DTO, it works!

And in the suscriptions I can filter but is setup like filterDepth: 0 'cause I can't access to the direct relations

Have you thought about to add the same logic to the filter of suscriptions? I have to do some weird things to filter created/updated things in front end, for example validate that the createdElement has the same company with a useEffect instead just get the createdElement that is mine

That's a good question, I'm not sure we can support inifity depth as those filters (If I remember correctly) are stringified and stored in a map, so that could potentially bring some issues.
What would the needed depth be for your use case?

The filtering on subscriptions also wrok different as in they are not filtered on the database currently but on the plain object itself, so that would maybe explain why you can't filter on relations.
PS: I'm on my phone so can't check how to implementation currently is.

That's a good question, I'm not sure we can support inifity depth as those filters (If I remember correctly) are stringified and stored in a map, so that could potentially bring some issues.
What would the needed depth be for your use case?

I have the next entity:
Log:

id
companyId
others fields like deletedAt, concepto, etc as you can see in the last screenshot

I just can access to the strings, numbers but not to the directs relations like company->id, it seems like depthFilter is 0 :s


ZEPPELIN-2685. Improvement on Interpreter class

What is this PR for?
Follow up of #2577. Main changes on Interpreter

Add throw InterpreterException which is checked exception for the abstract methods of Interpreter, this would enforce the interpreter implementation to throw InterpreterException.

field name refactoring.

property -> properties
getProperty() --> getProperties()

Introduce launcher layer for interpreter launching. Currently we only use shell script to launch interpreter, but it could be any other service or component to launch interpreter, such as livy server , other 3rd party tools or even we may create a separate module for interpreter launcher

abstract cass InterpreterLauncher
For now, only 2 implementation: ShellScriptLauncher & SparkInterpreterLauncher. We could add method in class Interpreter to allow interpreter to specify its own launcher class, but it could be future work.

What type of PR is it?
[Improvement | Refactoring]
Todos

[ ] - Task

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-2685

How should this be tested?
Unit test is covered. ShellScriptLauncherTest & SparkInterpreterLauncherTest
Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

@Leemoonsoo @jongyoul @felixcheung Could you help review it ? Thanks. It is followup of #2577

Launcher concept looks good to me.

It would not break the existing interpreter. I introduce Launcher concept to allow customize interpreter to launch. But for now all the interpreter still use interpreter.sh to launch it even for spark.  But I have a plan to create a specific script to launch spark, because there's lots of specific logic for spark interpreter.

@Leemoonsoo Do you have any concern about the compatibility break in this PR ?

Add throw InterpreterException which is checked exception for the abstract methods of Interpreter, this would enforce the interpreter implementation to throw InterpreterException.

field name refactoring.
** property -> properties
** getProperty() --> getProperties()

@zjffdu I don't have much concern about compatibility break you have mentioned. Left few comments, please check.

Will merge it if no more discussion.


Widget not displayed in Jupyter Lab

I am trying clustergrammer2 using Jupyter Lab 2.2.8. I can install the package, load my DataFrame, but when running net.widget(), there was no error message and nothing was displayed. I am using the Chrome browser.
Below is the output of jupyter labextension list:
JupyterLab v2.2.8
Known labextensions:
   app dir: ___________________________
        @jupyter-widgets/jupyterlab-manager v2.0.0  enabled  OK
        clustergrammer2 v0.17.0  enabled  OK

Thanks in advance for your help.
Best regards,

After enabling the extension manager, the widget works perfectly.
Reference: https://jupyterlab.readthedocs.io/en/stable/user/extensions.html#using-the-extension-manager


Localsend: Update to version 1.9.0

Closes #XXXX

Relates to #XXXX

[x] I have read the Contributing Guide.

The bot already did this: https://github.com/ScoopInstaller/Extras/commit/ada798232605efbb9f703018188b53bb8662a385


GC causes crashing in iOS15

Describe the bug
Random crashes on iOS15. Research suggests it's GC-related, as described in this hxcpp issue: https://gitmemory.cn/repo/HaxeFoundation/hxcpp/issues/969?page=3
To Reproduce

Build for iOS15
Deploy to a release build to a physical device
Wait for random crashes

Expected behavior
No crashing
OpenFL Targets
iOS 15
Additional context
Investigation seems to have already been completed over at hxcpp (https://gitmemory.cn/repo/HaxeFoundation/hxcpp/issues/969?page=3). Should be an easy fix?

The fix for that specific issue was already merged into Lime. https://github.com/haxelime/lime/pull/1485
If the version of Lime you're using doesn't include that fix, please update. If it does, you're facing a different issue.

Ah, sorry! I see that the fix just hasn't made it into a Lime release yet. Guess I'll build it myself in the meantime.
Thanks!


Echo bot example doesn't work

Example code: https://github.com/watzon/tourmaline/blob/master/examples/echo_bot.cr
Error output:
5 | class EchoBot < Tourmaline::Client
                     ^-----------------
Error: undefined constant Tourmaline::Client

dependencies:
  tourmaline:
    github: watzon/tourmaline
    version: ~> 0.13.0

Crystal 0.33.0 [612825a53] (2020-02-14)

LLVM: 8.0.0
Default target: x86_64-unknown-linux-gnu

I need to make a new release, thanks for bringing this to my attention. If you use branch: master instead of the version it should work. I'll make a new release now though.

New release out https://github.com/watzon/tourmaline/releases/tag/v0.14.0


New version: dotPDNLLC.paintdotnet version 5.0.9

Pull request has been created with Komac v1.9.1 :rocket:
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/116078&drop=dogfoodAlpha

@PckgrBot please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree company="Pckgr"


Add [addictinggames.com]

Backstory

Data

name:  addictinggames.com
url:  https://www.addictinggames.com
url_CODE:
difficulty:  Hard
notes:  Fill their form for account deletion https://addictinggameshelp.zendesk.com/hc/en-us/requests/new and they'll contact you again through mail for confirmation before deleting it.
email:
email_subject:
email_body:
domains:

Thanks for your contribution!


Add Twirp/twitchtv logo to Docusaurus

Hey,
So at Docusaurus, there is work going on to list and display users/projects that have used Docusaurus to create the documentation for the said project.
Twirp being such a project, I would love to add it to the user's page.
Hopefully you guys will be interested for the same. I have includes some links for the same.
Hope to get a positive go ahead.
Docusaurus Website
User's Page
For reference: facebook/Docusaurus#1080

Hi! I'm good with this personally, but it's not really my call to make, since Twitch's name is attached to Twirp. Let me see if I can find an answer for you from the right Twitch people, and I'll get back to you - no promises on how fast that will be though, you know how bureaucracy can be :)

@spenczar It's alright, time is not an issue but please do keep me informed.

@co16353sidak Alright, got the greenlight for you to use the Twirp logo (https://github.com/twitchtv/twirp/blob/master/logo.png). Please don't use the Twitch logo, though, I haven't gotten that cleared and I think the bar would be a lot higher.

Awesome, @spenczar,
Please don't close this issue until the logo is clear and visible on the page as I will be using this thread for communicating with you as to how the logo will display and everything.

Hey, @spenczar Is it possible to have a svg format for the logo? This is done because so as to make the logo to be scalable on the website.
if not then png will do.

I'm afraid all I've got is PNGs, but here's the original in full size, in case that helps:

Everything is set up @spenczar, the logo has been added although it will take some time to reflect the changes on the main website, I have linked a preview build for you to view the logo.
https://deploy-preview-1275--docusaurus-preview.netlify.com/en/users
hopefully everything is fine, thank you for your assistance in the manner. 🎉

Closing this for now. Thanks @co16353sidak


Async import of a wasm module throws an exception synchronously, instead of rejecting the returned promise, in browsers without WebAssembly

Bug report

What is the current behavior?
In browsers that don't expose a WebAssembly object, import('some-wasm-module') will throw a synchronous exception.
If the current behavior is a bug, please provide the steps to reproduce.
Create a project that contains a WebAssembly module and use it via the async import syntax. Then run the project in an older browser that does not support WebAssembly, or in Firefox safe mode.

What is the expected behavior?
The case of the WebAssembly object not being defined should be handled intentionally. I think the best way to surface it would be by rejecting the promise that the async import function returns.
import can also fail asynchronously, so users should be handling promise rejections already.
At the moment, I have to wrap the import() invocation into an async function so that I can use the same error handling code for both failure cases.

Other relevant information:
webpack version:  4.26.1
Node.js version: 10.11.0
Operating System: macOS
Additional tools:

Yeah this is a bug and should be fixed.


remove search auto strategy, estimateSelectivity of BitmapColumnIndex

Description
Removes the 'auto' strategy from the native search query to simplify BitmapColumnIndex to remove the estimateSelectivity method. The 'auto' strategy is not on by default, and in some cases can be rather expensive since for logical filters like AND/OR we fetch all of the indexes, compute the cardinality of each of them, and then throw them away, sometimes to turn around and do the same thing again to actually use the indexes.
The replacement for this will be smarter usage of indexes for all query types, as a follow-up I plan to bring the enhancements of #13977 to classic string typed columns, and I've got some additional improvements coming in the future.
Related dev mailing list thread
(This release note is currently a lie, but a follow-up PR will make it more true.)
Release note
The 'auto' strategy has been removed from the search query. Specifying 'auto' will now be equivalent to specifying 'useIndexes'. Improvements to how and when indexes are computed in general have allowed 'useIndexes' to benefit and be more adaptive when it uses indexes for filter processing, skipping computing expensive indexes when possible.

This PR has:

[x] been self-reviewed.
[x] added documentation for new or modified features or behaviors.
[x] a release note entry in the PR description.
[x] been tested in a test Druid cluster.

Merging, given there was already a dev list thread about this.

@clintropolis Can you please update this change in the https://github.com/apache/druid/blob/master/docs/release-info/release-notes.md, in a follow-up PR as well?

@clintropolis Can you please update this change in the https://github.com/apache/druid/blob/master/docs/release-info/release-notes.md, in a follow-up PR as well?

Why would I do that? I haven't seen any discussion that is part of the process unless I missed something...


feat(gui-client/linux): network roaming

Closes #5846
Will be moved down to the IPC service eventually
- [x] Plan for DNS change listening
- [x] ~~Consolidate all listeners on both platforms into one~~
- [x] Plan for Wi-Fi / Ethernet switching
- [x] Do `dbus-monitor --system "type='signal',interface='org.freedesktop.NetworkManager.Device'"` equiv to catch both Wi-Fi changes and Wi-Fi / Ethernet changes
- [x] Update changelog
- [x] Set `zbus` to use `tokio` internally if we can
- [x] Fallback for systems without DBus
- [x] Fix GUI Client accidentally falling back on polling all the time
- [ ] Write test plan
- [ ] Execute test plan

Test plan

For Linux and Windows,
For the version under test, for the baseline (tip of main) version, and for clearnet (no Firezone)

We want to test:

Ethernet to Wi-Fi
Wi-Fi to Ethernet
Wi-Fi to Wi-Fi
Wi-Fi disconnect
Wi-Fi connect
Manual DNS change

Record:

[ ] Any time when curl times out or is Ctrl+C'ed, but then the next curl run immediately succeeds
[ ] date --rfc-3339=seconds -u; time curl to record the time when a physical change was performed and duration needed for curl to complete

Network change test cycle: (x5)

[ ] Home Wi-Fi to Ethernet
[ ] Ethernet to home Wi-Fi
[ ] Home Wi-Fi to hotspot
[ ] Hotspot to home Wi-Fi
[ ] Disconnect home Wi-Fi
[ ] Connect home Wi-Fi

I gave 95ed7d0 a once-over on Linux and Windows and it's not perfect but it's okay.
I hit these caveats:

I increased --max-time from 15 to 30 seconds in curl
Some roams take between 15 and 30 seconds before curl comes back with success, even though I waited for the OS to settle the connection / disconnection before starting curl
When there's no connection, curl just times out instead of failing (I could probably pass a hint to connlib saying "We don't have any Internet at all" if we wanted to handle this in the future)
I couldn't test roaming between Wi-Fi networks, neither laptop wanted to get on the iPhone's hotspot
Toggling Wi-Fi while Ethernet is connected on Linux once caused a 30-second timeout, but I was not able to replicate it. It also worked right after that 30 second timeout.

I'm okay with merging because:

The code for D-Bus is pretty simple and we can fix it later if we need
There are no obvious regressions on either platform
This is nicer than polling for DNS changes every 5 seconds on Linux

Yeah we might send the reset early. I think both platforms signal multiple times as well. If I send connlib multiple resets, is it possible some later ones are ignored while it's working on the first one?

Yeah we might send the reset early. I think both platforms signal multiple times as well. If I send connlib multiple resets, is it possible some later ones are ignored while it's working on the first one?

No. The last reset always wins.


Implement dynamic alias sampler

[x] Implement the first draft of the dynamic alias sampler
[x] Add simple unit tests
[ ] Test against event queue performance
[ ] Perform optimisations
[ ] Refactor Gillespie algorithms to switch to dynamic alias sampler

Codecov Report

Merging #47 (72dd15a) into main (2e15a08) will increase coverage by 13.20%.
The diff coverage is 96.55%.

@@             Coverage Diff             @@
##             main      #47       +/-   ##
===========================================
+ Coverage   22.97%   36.18%   +13.20%
===========================================
  Files          97      101        +4
  Lines        4417     5369      +952
===========================================
+ Hits         1015     1943      +928
- Misses       3402     3426       +24

Impacted Files
Coverage Δ

...c/cogs/active_lineage_sampler/alias/dynamic/mod.rs
86.51% <86.51%> (ø)

necsim/core/src/cogs/rng.rs
100.00% <100.00%> (ø)

...cogs/active_lineage_sampler/alias/dynamic/tests.rs
100.00% <100.00%> (ø)

necsim/core/src/intrinsics.rs
100.00% <0.00%> (ø)

necsim/impls/no-std/src/cogs/rng/wyhash.rs
74.24% <0.00%> (ø)

necsim/core/bond/src/positive_f64.rs
8.64% <0.00%> (+8.64%)
:arrow_up:

necsim/core/bond/src/non_negative_f64.rs
8.73% <0.00%> (+8.73%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

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


The Digipins provided do not seem to be correct

The app is giving me a digipin starting with 4 for a location in South India, and starting with M in the North East

This does not seem to match what is provided in the Technical report:

Fixed in https://github.com/kutazama/digipin-app/pull/3


Support volume API

Engine 1.9 will have a new volumes API, which Swarm should probably support in some way. It is perhaps not practical to support local volumes, but it could be pretty interesting to support network storage with volume drivers.
https://github.com/docker/docker/pull/14242
/cc @cpuguy83 @lukemarsden

Hey @bfirsh - thanks for the ping! @vieux could we do a hangout to discuss what you have in mind for this, and how it can fit into the volume plugins model?

@lukemarsden let's keep the discussion here, so it's open to everyone who wants to participate.

What do you think of this naive approche to start with, we do the same thing as we do with images.
GET /volumes: we do kind of like images, we display volumes for all the machines, without duplication (like https://github.com/docker/swarm/pull/1166)
GET /volumes/{name:.*}: we forward to a node that has the volume and return the volume (like inspect for images)
POST /volumes: we do it on every node, like for pull
DELETE /volumes/{name:.*}: we do it on every node, like rmi

POST /volumes: we do it on every node, like for pull
DELETE /volumes/{name:.*}: we do it on every node, like rmi

One thing to take into account here is that reference counting is performed per daemon; What if a plugin offers centralized storage (I.e,, "volume A" on each node actually points to the same volume), and that volume is no longer referenced on a node? In that case, the daemon on that node will proceed, and remove/delete the volume, whereas it can still be referenced on another node.
I also raised this issue that may need some attention in this respect; https://github.com/docker/docker/issues/15997

 GET /volumes: we do kind of like images, we display volumes for all the machines, without duplication (like #1166)
GET /volumes/{name:.*}: we forward to a node that has the volume and return the volume (like inspect for images)
POST /volumes: we do it on every node, like for pull
DELETE /volumes/{name:.*}: we do it on every node, like rmi

This sounds like duplication of a lot of work done in Flocker. Instead of Swarm reimplementing volume driver's control service functionality, would it be more efficient to make these Swarm calls passthrough to volume driver's control service (like Flocker control service), since the volume driver has greater visibility into backend types (shared/DAS/etc)), therefore dealing with scenarios like @thaJeztah outlined correctly?
Thanks!

I would like to be able to use https://github.com/vieux/docker-volume-sshfs with swarm or any other simple volume plugin. That's why I think the work should be done in swarm, not always delegated to the plugin.

POST /volumes: we do it on every node, like for pull

I think do volume create on every node is not proper. This case:
Swarm cluster have four nodes. Two nodes have A volume plugin driver, another two have B volume plugin driver. I want use A drvier to craete volumes, just like this:
docker -H <swarm> volume create --driver A

In swarm, I think we should just do create on the nodes that have A volume driver.
But it seems that can not get volume driver list from a docker engine. If we can get volume driver list from a docker engine. In swarm, we can easy find the nodes for volume create.

@jimmyxian good point; I think you should open an issue for that. As a workaround, daemon labels could be (mis)used to indicate which drivers are supported on a node

@jimmyxian maybe volume create --filter driver=A?
If we can support filtering like this, --filter could be also applied for volume ls too?

I think the driver should only be of concern when creating a volume (with a specific driver); after the volume is created, the volume can be referenced by its name, and Swarm should only be interested if a volume with that name is present or not. Querying if a volume with a specific name and driver exists would take away the abstraction that "named volumes" provide.
It would become "interesting" though, if (for example) "volumeA" exists on two nodes, but created with different drivers.

@thaJeztah Thanks. I will create a issue in docker.
@chanwit I agree with @thaJeztah :)

I think the driver should only be of concern when creating a volume (with a specific driver); after the volume is created, the volume can be referenced by its name

Hey @vieux, (@cpuguy83 FYI),
We've done some analysis on your proposed behavior against Flocker plugin's behavior, and it should all work as you propose. Detailed analysis below.
It's important to note that with Flocker and the Flocker Docker plugin, Docker volumes are more like references to Flocker volumes. Flocker volumes have a lifetime which can survive beyond that of individual containers and container hosts. With that in mind:

GET /volumes: we do kind of like images, we display volumes for all the machines, without duplication (like #1166)

This will list all references to Flocker volumes that have been created using the Flocker Docker plugin on hosts that are still reachable. It won't list all Flocker volumes (there could be Flocker volumes created out-of-band, for example, or on a node which failed and is no longer in the swarm). As long as we're OK with that, this will work. If you do want to be able to see Flocker volumes which never had a Docker volume reference set up to point at it, we'd need to talk about adding a plugin mechanism to Swarm so that it can talk directly to the Flocker Control Service's Datasets API, which we could do, but it sounds like you want to stick to just aggregating information from the Docker hosts at the moment. Also, the Docker hosts don't ask the backend for a list of volumes either. So they (and therefore Swarm) can only know about volumes that were created through Docker. This is fine for us -- it will work well enough that people can use Flocker and Swarm together, that's the important thing.

GET /volumes/{name:.*}: we forward to a node that has the volume and return the volume (like inspect for images)

That's fine, except an optimization might be to forward to a node which has the volume and currently has a container which is using it. Otherwise the Mountpoint response might be null (because there's no guarantee that a Flocker volume is actually mounted on a host just because there's a Docker volume created on it). But maybe consumers of the Swarm API don't care about the Mountpoint value anyway, because it's specific to a host.

POST /volumes: we do it on every node, like for pull

Given that Flocker volumes only manifest on one host at a time, initially this seemed like surprising behavior, but after some consideration we realised this should be fine. The Flocker Docker plugin will ensure that names given are unique across datasets across hosts, meaning that if one swarm master tells 10 docker hosts to create 10 docker volumes with the name foo, the first one to reach the flocker control service will create the flocker volume and mount it on that host, and (because we are careful to avoid race conditions) the 9 other requests will observe that the volume already exists in the configuration but that's OK - the Docker volumes will still get set up to refer to that dataset from all hosts.
An alternative implementation might be to pick a node at random and create the volume there. That should work just as well for us, but there may be other use cases you have in mind which make the former preferable.

DELETE /volumes/{name:.*}: we do it on every node, like rmi

Delete is a no-op for us at the moment, so that's fine too.
Let us know as soon as you have a prototype of this and we can test it. Eventually we'll aim to set up some integration tests on our CI system to ensure that the analysis above holds up in practice and continues to hold up as Flocker and Swarm both continue to evolve.
Thanks!

@vieux @cpuguy83
You'll be pleased to know that @stephenitis and I tested this and it appears to work as predicted by the analysis above.
Sorry for the long lead time on getting this feedback to you!

so, the teardown of docker volume run should tear down the volume as well; it currently does not. is there a reason for this? I'm testing with github.com/contiv/volplugin and seeing htis behavior when tearing down containers using ceph volumes; if the signal is not received to remove the mount, the ceph volume lingers there and is unable to be mounted elsewhere safely. I don't know how to resolve this with the current swarm. Please let me know if there's some more information I can provide.

@vieux You ok with adding area/docs too as this has considerable documentation impact

basic volume API was added in swarm, see tests in https://github.com/docker/swarm/blob/master/test/integration/api/volume.bats


i18next doesn't work after pug-plugin update to 5.0.0

I used your example from examples/multi-language-i18next in my project before update to 5.0.0 and it worked great.
After update, when i start dev-server, i recieve an error for each language

Then i downloaded example from github, didn’t change anything and ran project as is, and error is still the same

Hello @legeidaa,
thank you for issue report.
I will fix it!
I have tested on macOS, it works fine.
What is your OS? Windows 10, 11?
What is Node.js version? 16, 18, 20?
Thanks!

System is Windows 10 Corporate 21H2, build 19044.1526
Node version - 18.16.1

hallo @legeidaa
the issue is fixed in the version 5.0.2.
Thanks!

i18n works now and i don't see any problems, thank you!


Document switching now loads document in background - annoying

VSCode Version: Code - Insiders 1.20.0-insider (08ec16001adaab8a86183431f6aec09209caa4ab, 2017-12-15T06:08:07.643Z)
OS Version: Darwin x64 16.7.0
Extensions:

Extension
Author (truncated)
Version

MochaSnippets
Ala
0.0.1

markdown-toc
Ala
1.5.6

xml
Dot
1.9.2

EditorConfig
Edi
0.11.1

JSDocTagComplete
Hoo
0.0.2

output-colorizer
IBM
0.1.2

vscode-mocha-two
Mys
1.2.1

vscode-docker
Pet
0.0.22

lorem-ipsum
Tyr
1.1.0

Bookmarks
ale
0.18.0

project-manager
ale
0.23.1

path-intellisense
chr
1.4.2

gitignore
cod
0.5.0

vscode-eslint
dba
1.4.3

githistory
don
0.2.3

eslint-disable-snippets
drK
1.1.4

gitlens
eam
7.0.0

restore-editors
eam
0.2.1

tslint
eg2
1.0.24

vscode-npm-script
eg2
0.3.3

vscode-npm
fkn
3.3.0

auto-close-tag
for
0.5.5

docker-linter
hen
0.5.0

rest-client
hum
0.16.1

search-node-modules
jas
1.2.0

docthis
joe
0.6.0

restructuredtext
lex
45.0.0

vs-rest-api
mkl
2.0.0

lit-it
moh
1.2.12

python
ms-
0.9.1

azure-account
ms-
0.2.2

createGUID
nwa
0.0.2

proto
pet
0.0.2

vscode-icons
rob
7.19.0

code-spell-checker
str
1.6.2

vscode-open-in-github
sys
1.6.0

vscode-js-console-utils
wht
0.7.0

Steps to Reproduce:

Use Ctrl + Tab to switch documents
Document loads while Ctrl + Tabbing between them

This is pretty annoying and unnecessary. The document list still covers most of the document so it's still hard to see the contents + the title should be enough to know what's in it. Please at least let me turn this "feature" off.

Reproduces without extensions: Yes/No

Yeah I took it out again, make sure you update to latest.


fix: Add support for generating desc

I'm not sold on the inputs yet... should we pass in the config value and app item? Or do you think its fine to pull from base?
I think it should be ok getting the values from base but wanted to see what others thought in case I'm missing anything.

I'm not sold on the inputs yet... should we pass in the config value and app item? Or do you think its fine to pull from base?
I think it should be ok getting the values from base but wanted to see what others thought in case I'm missing anything.

I think I'd rather the inputs be base and the portalItem since only the portalItem is being used. In my apps the base is available only in the index.ts file and so is the portalItem.

Just an idea, but what if we just passed in the config, map, and appItem? The entire base and map/scene view has a bunch of extra stuff that this function doesn't need


adding two (ArcGISRest) layers results in warning

http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer

no happens even with 1 layer

also pagination is messed up:

it seems to happen when the count query is slow

so the count query mechanism that we use is actually very slow for sized datasets
http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/1/query?where=1%3D1&f=json&pretty=false&returnCountOnly=true


added tag funcionality to frontend

Signed-off-by: Tobias Wittig<EMAIL_ADDRESS>

@twittig don't forget to update the corresponding wiki pages!


Error: Only the invariant culture is supported in globalization-invariant mode.

Azure Data Studio Version: 1.43.0
OS Version: Ubuntu 22.10

Steps to Reproduce:
1.Open Azure Data Studio
2.Connect to an on-primeses SQL Server
3. When try to connect, the error was showed
4. I also tried to set the following environment variable "export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true"

Does this issue occur when all extensions are disabled?: Yes

Copied Details:
System.Globalization.CultureNotFoundException: Only the invariant culture is supported in globalization-invariant mode. See https://aka.ms/GlobalizationInvariantMode for more information. (Parameter 'name')
en-us is an invalid culture identifier.
   at System.Globalization.CultureInfo.GetCultureInfo(String name)
   at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
   at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(CancellationToken cancellationToken)
--- End of stack trace from previous location ---
   at Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection.ReliableSqlConnection.<>c__DisplayClass30_0.<<OpenAsync>b__0>d.MoveNext() in /_/src/Microsoft.SqlTools.ManagedBatchParser/ReliableConnection/ReliableSqlConnection.cs:line 313
--- End of stack trace from previous location ---
   at Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.TryOpenConnection(ConnectionInfo connectionInfo, ConnectParams connectionParams) in D:\a\_work\1\s\src\Microsoft.SqlTools.ServiceLayer\Connection\ConnectionService.cs:line 698

Image of error

Invariant culture and Globalization Invariant mode are not supported by the underlying SqlClient driver.
Please try setting the env variable DOTNET_SYSTEM_GLOBALIZATION_INVARIANT to 0 or false.

Same result using this config.
I tried to run with the follow command:
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0 && azuredatastudio
Can I get details of what value of this parameter the Azure Data Studio was using on load?
Image when try to connect:

Azure Data Studio does not set this property and relies on system settings.
The backend service SqlToolsServiceLayer runs on your environment that establishes the connection using SqlClient driver. It's a .NET process and is potentially fetching globalization invariant mode configured on your environment. Can you check if globalization invariant mode is enabled globally on your system by any chance?

The variable was Disabled:

Can the problem occurs because the Case Sensitive? I using on Linux, and the message alert to "en-us" all in lower case?

I'm not understand what is going on, others dotnet programs (I program  with C#) was working fine.

Solved the problem when setting the env on file ~/.bashrc:
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0

Before I'm setting this on ~/.profile but not working.
Thanks a lot for helping.
I hope this can help someone too.

I have a web api in .net 8.0. It contains EF Core. When I perform the migrations I see the same bug.
First I ran PM> dotnet ef migrations add Migration1 . Migration folder is created. Now I ran PM> dotnet ef database update I get the error.
PM> dotnet ef migrations add Migration1 Build started... Build succeeded. Done. To undo this action, use 'ef migrations remove' PM> dotnet ef database update Build started... Build succeeded. System.Globalization.CultureNotFoundException: Only the invariant culture is supported in globalization-invariant mode. See https://aka.ms/GlobalizationInvariantMode for more information. (Parameter 'name') en-us is an invalid culture identifier.    at System.Globalization.CultureInfo.GetCultureInfo(String name)    at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerDatabaseCreator.<>c__DisplayClass18_0.b__0(DateTime giveUp)
at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.<>c__DisplayClass12_02.<Execute>b__0(DbContext _, TState s)    at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func3 operation, Func3 verifySucceeded)    at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.Execute[TState,TResult](IExecutionStrategy strategy, TState state, Func2 operation, Func2 verifySucceeded)    at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerDatabaseCreator.Exists(Boolean retryOnNotExists)    at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerDatabaseCreator.Exists()    at Microsoft.EntityFrameworkCore.Migrations.HistoryRepository.Exists()    at Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.Migrate(String targetMigration)    at Microsoft.EntityFrameworkCore.Design.Internal.MigrationsOperations.UpdateDatabase(String targetMigration, String connectionString, String contextType)    at Microsoft.EntityFrameworkCore.Design.OperationExecutor.UpdateDatabaseImpl(String targetMigration, String connectionString, String contextType)    at Microsoft.EntityFrameworkCore.Design.OperationExecutor.UpdateDatabase.<>c__DisplayClass0_0.<.ctor>b__0()    at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action) Only the invariant culture is supported in globalization-invariant mode. See https://aka.ms/GlobalizationInvariantMode for more information. (Parameter 'name') en-us is an invalid culture identifier.
I opened the project file, found out that <InvariantGlobalization>true</InvariantGlobalization> so turned it false <InvariantGlobalization>false</InvariantGlobalization>. Now ran the migrations command PM> dotnet ef database update everything went good.
So .NET 8.0 still has this problem. Kindly investigate.

yes me too getting the same error

I'm getting this error from VS 2022 whenever I try to make any change to a form in the application. It doesn't matter what the build settings are. The editor gives me that error even if I try to do something as simple as changing the Text property of a form or add a button. The form editor is completely worthless in the state this is in. I've tried changing the value in the csproj file from true to false and even deleting it. I cannot find a way to fix this. I don't get it. I can create a new project with the form template and everything is fine, Granted it is an unconventional project. I needed both webapi and windows forms in the same application. It was working fine at first. At some point (I'm guessing a VS update?) I lost the ability to use the form designer to make changes because of this error.


Lightkey OSC with feedback

[x] I have researched the list of existing Companion modules and requests and have determined this has not yet been requested

The name of the device, hardware, or software you would like to control:
Lightkey
What you would like to be able to make it do from Companion:
Control the lightkey sw through OSC or MIDI, and provide feedback.
I'm using companion with lightkey today using OSC, but I'm missing feedback options
Direct links or attachments to the ethernet control protocol or API:
https://lightkeyapp.com

Closing this since Lightkey doesn't currently support feedback.


Minor change

Comment to the export
Made a change to the export

What kind of change does this PR introduce?

Does this PR introduce a breaking change?

What needs to be documented once your changes are merged?

👷 Deploy Preview for blissful-snyder-42ca48 processing.
🔨 Explore the source changes: f984593a2efe46af3ccab8cafb57ffc3500e556e
🔍 Inspect the deploy log: https://app.netlify.com/sites/blissful-snyder-42ca48/deploys/6132b6e0b07abc0007957dcb

test review comment


Request to import OGMS 'clinical laboratory test'

VEuPath imports clinical laboratory test as a parent to blood test and similar terms we are submitting to OBI in #1322. This allows terms like 'blood test' to include not only analyte assays but also the counting of cells in a specimen.

@johnwjudkins Can we close it?

Closing. 'blood assay' and similar terms are children of 'assay'. The proposed change is not necessary.


fix(unit): Remove leftover println causing excessive log in unit test

Leftover debugging printlf statement in util_test causes excessive
logging in many unit tests.
Signed-off-by: Vu Dinh<EMAIL_ADDRESS>

/lgtm

/refresh

/retest

/test e2e-aws-olm


Support CouchDb v.3+

Depends on issue #935

Tasks:

[ ] Review release notes for couchdb 3.x, create issues for investigation and testing, add below:

[ ] Address issue #935


Prefix import with VRF information is not possible when RD is not configured

Environment

Python version:  3.5.3
NetBox version:  2.5.7

Steps to Reproduce

Go to prefix import
vrf field requires VRF RD, the VRF name is not usable
Import to the correct VRF is not possible if VRF does not have RD configured

Expected Behavior
It should be possible to use either the internal ID of the VRF (shown in the URL as in /ipam/vrfs/4/) or the VRF name in the vrf field.
Observed Behavior
If trying to use VRF name or ID in the vrf field: "Row 1 vrf: VRF not found."

Can't use VRF name as it's not guaranteed to be unique. Will have to enable using the primary key as we do for unnamed devices.


Better handling of -rpath,-Wl,$ORIGIN on ROCm path

This PR aims to fix the weird missing libtensorflow_framework.so issue in certain build targets under certain build configs.
It also fixes incorrect whl package name in build_rocm_python3 script.

@sunway513 please hold on review the PR. I'll rebase. This PR is crucial to fix upstreaming PR #20277

Yes, please rebase, I’ve also fixed the build script in the upstream merge PR


Add state handler

Add BotUserData model that stores data specific to a user and a bot. This would help in storing data for a state-full bot. Also added function to return total data stored for a user.

This is being worked on further via @derAnfaenger's PR #7043.


TypeError: enable_device() missing 2 required positional arguments: 'device_serial' and 'enable_ir_emitter'

Required Info

Camera Model
L515

Firmware Version
<IP_ADDRESS>

Operating System & Version
Win10

Platform
PC

SDK Version
2.0

Language
python

Segment
Robot

I am having some issues using my intel realsense L515. I am trying to set it up to take a depth image and I receive error:
TypeError: enable_device() missing 2 required positional arguments: 'device_serial' and 'enable_ir_emitter'
Here is my code:
c = rs.config()
c.enable_stream(rs.stream.depth, 1024, 768, rs.format.z16, 30)
c.enable_stream(rs.stream.color, 1280, 720, rs.format.bgr8, 30)
device_manager = rsdm.DeviceManager(rs.context(), c)
#device_manager.enable_emitter(True)
device_manager.enable_device()
(serial, device) = device_manager._enabled_devices.items()[0]
[depthStream, videoStream] = device.pipeline_profile.get_streams()
camera = {'serial': serial, 'device': device, 'manager': device_manager,
           'video': videoStream, 'depth': depthStream}

refImage = getFrame(camera, 'video')

Hi @sw14928
What is rsdm?

Hi @dorodnic rsdm is real sense device manager. I import this at the top of the code:
import realsense_device_manager as rsdm
many thanks!

You mean from the box_dimensioner_multicam example?
I don't think this sample would work out-of-the-box with L515. Before the implementation specifics, the sample relies on multicamera calibration, which cannot be done without hardware synchronisation with the L515.
If you do want to use rsdm with L515, some code changes are required. L515 doesn't have emitter_enabled option (you cannot operate Lidar camera in passive mode, unlike stereo). Commenting out the two lines using emitter_enabled should help.

Ok this makes sense, thanks for the help! I tried to alter my code I had for a realsense stereo camera, but I will probably need to instead rebuild the code.
Commenting the emitter enabled line did not work unfortunately. I will try a different method entirely, many thanks!

@sw14928
Is there anything else needed on this one?
*If we don’t hear from you in 7 days, this issue will be closed.

@dorodnic could you confirm both?   any? neither of the two  to work with l515, please? (https://github.com/IntelRealSense/librealsense/blob/master/wrappers/python/examples/box_dimensioner_multicam/box_dimensioner_multicam_demo.py)
(https://github.com/IntelRealSense/librealsense/tree/master/examples/measure)


Obscure build error with 0.12.3

Describe the bug
We use myst-nb in the gcm-filters sphinx documentation. Our RTD build environment did not include a pinned version of myst-nb. Once myst-nb 0.12.3 was release, our build broke with an obscure error message.

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/gcm-filters/conda/34/lib/python3.8/site-packages/sphinx/cmd/build.py", line 276, in build_main
    app.build(args.force_all, filenames)
  File "/home/docs/checkouts/readthedocs.org/user_builds/gcm-filters/conda/34/lib/python3.8/site-packages/sphinx/application.py", line 349, in build
    self.builder.build_update()
  File "/home/docs/checkouts/readthedocs.org/user_builds/gcm-filters/conda/34/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 297, in build_update
    self.build(to_build,
  File "/home/docs/checkouts/readthedocs.org/user_builds/gcm-filters/conda/34/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 311, in build
    updated_docnames = set(self.read())
  File "/home/docs/checkouts/readthedocs.org/user_builds/gcm-filters/conda/34/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 418, in read
    self._read_serial(docnames)
  File "/home/docs/checkouts/readthedocs.org/user_builds/gcm-filters/conda/34/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 439, in _read_serial
    self.read_doc(docname)
  File "/home/docs/checkouts/readthedocs.org/user_builds/gcm-filters/conda/34/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 479, in read_doc
    doctree = read_doc(self.app, self.env, self.env.doc2path(docname))
  File "/home/docs/checkouts/readthedocs.org/user_builds/gcm-filters/conda/34/lib/python3.8/site-packages/sphinx/io.py", line 316, in read_doc
    pub.publish()
  File "/home/docs/checkouts/readthedocs.org/user_builds/gcm-filters/conda/34/lib/python3.8/site-packages/docutils/core.py", line 217, in publish
    self.document = self.reader.read(self.source, self.parser,
  File "/home/docs/checkouts/readthedocs.org/user_builds/gcm-filters/conda/34/lib/python3.8/site-packages/sphinx/io.py", line 130, in read
    self.parse()
  File "/home/docs/checkouts/readthedocs.org/user_builds/gcm-filters/conda/34/lib/python3.8/site-packages/docutils/readers/__init__.py", line 77, in parse
    self.parser.parse(self.input, document)
  File "/home/docs/checkouts/readthedocs.org/user_builds/gcm-filters/conda/34/lib/python3.8/site-packages/myst_nb/parser.py", line 69, in parse
    md_parser, env, tokens = nb_to_tokens(ntbk)
  File "/home/docs/checkouts/readthedocs.org/user_builds/gcm-filters/conda/34/lib/python3.8/site-packages/myst_nb/parser.py", line 89, in nb_to_tokens
    md = default_parser().disable("front_matter", ignoreInvalid=True)
TypeError: default_parser() missing 1 required positional argument: 'config'

Exception occurred:
  File "/home/docs/checkouts/readthedocs.org/user_builds/gcm-filters/conda/34/lib/python3.8/site-packages/myst_nb/parser.py", line 89, in nb_to_tokens
    md = default_parser().disable("front_matter", ignoreInvalid=True)
TypeError: default_parser() missing 1 required positional argument: 'config'
The full traceback has been saved in /tmp/sphinx-err-ucrd36ep.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!

Pinning to 0.12.2 resolved the problem.
To Reproduce
Steps to reproduce the behavior:

Create the conda environment for our doc build: environment.yml
Clone our repo: https://github.com/ocean-eddy-cpt/gcm-filters
cd docs; make html

Expected behavior
We expected that a bugfix version release (0.12.2 -> 0.12.3) would not contain a breaking change.
cc @NoraLoose, https://github.com/ocean-eddy-cpt/gcm-filters/pull/34#issuecomment-848055766

Heya, in your build it shows that myst-parser 0.14.0 is installed, this is despite both the setup.cfg (https://github.com/executablebooks/MyST-NB/blob/v0.12.3/setup.cfg) and conda recipe (https://github.com/conda-forge/myst-nb-feedstock/blob/master/recipe/meta.yaml) specifically pinning myst-parser to 0.13. So I would suggest this is an issue with your Conda build.
I'm not clear why you are putting myst-nb, myst-parser, sphinx-book-theme, sphinx-copybutton and jupyter_client in the pip section, since they are all available on Conda?

Thanks for the tip Chris. TBH I don't know the answer to how the environment got configured that way. All I know is that pinning myst_nb to 0.12.2  fixed it.
Based on your analysis (which is much more insightful than mine), it seems likely that that this funky environment and dependency weirdness are the cause of the problems, not anything about myst-nb. So feel free to close this.
I will work on updating / simplifying our environment to see if the issues go away.

Thanks


Drag and drop file (Feature Request)

I think I will be very useful if you will add drag and drop to drop zone
for example in selenium
// locate the drop area
WebElement droparea = driver.findElement(By.cssSelector("#holder"));
// drop the file
DropFile(new File("C:\Downloads\image.png"), droparea, 0, 0);

Similar to my request in Issue 279

This should work with the attach API to a specific element text https://docs.taiko.dev/api/attach
It can use selectors
attach("C:\Downloads\image.png", to(fileField(near('some text inside #holder'))))


Embedded Twitter Feed Disappears on resize

It appears that embedding a twitter feed inside the tab content area breaks on resize. Any ideas on a resolution?
Here is a jsfiddle:
http://jsfiddle.net/1c367qth/1/
In this fiddle, the twitter feed doesn't show up at all within the accordion. In my local testing it appears only on page load. Resizing breaks it.

Should have been fixed in #30.


#243: Convert sharding (non-kafka) to pekko

incubator-pekko issue : https://github.com/apache/incubator-pekko/issues/243
Method: See migration guide MR https://github.com/apache/incubator-pekko/pull/249

Few minor changes but otherwise looking good. Also note that the code is not formatted, see
https://github.com/apache/incubator-pekko-samples/actions/runs/4533098550/jobs/8118457834?pr=25 specifically
pekko-sample-sharding-java/build.sbt
pekko-sample-sharding-scala/build.sbt

have re-formatted now

Thanks - note I can't merge as I don't have write access.


[nixpkgs] Can't build with alternate compilers (Clang) on Ubuntu 18.04

Describe the bug
I'm trying to build some code that compiles with GCC 7.5 with clang. I followed the guide here without luck.
It does create an environment with clang as the standard c++ compiler.
$ nix-shell -E "with import <nixpkgs> {}; pkgs.hello.override{ stdenv = pkgs.clangStdenv; }"
$ c++ --version
clang version 7.1.0 (tags/RELEASE_710/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /nix/store/11xa9dpnm2dxi77hdg4mwrpgcwpbjp8b-clang-7.1.0/bin

However compiling some code that uses glibc fails with:
In file included from /opt/ros/melodic/include/rviz/selection/selection_manager.h:33:
In file included from /nix/store/vb1fh8zqdcs7n3hvn8awlrpdfnic6zjg-gcc-9.3.0/include/c++/9.3.0/map:61:
In file included from /nix/store/vb1fh8zqdcs7n3hvn8awlrpdfnic6zjg-gcc-9.3.0/include/c++/9.3.0/bits/stl_map.h:63:
In file included from /nix/store/vb1fh8zqdcs7n3hvn8awlrpdfnic6zjg-gcc-9.3.0/include/c++/9.3.0/tuple:39:
In file included from /nix/store/vb1fh8zqdcs7n3hvn8awlrpdfnic6zjg-gcc-9.3.0/include/c++/9.3.0/array:39:
In file included from /nix/store/vb1fh8zqdcs7n3hvn8awlrpdfnic6zjg-gcc-9.3.0/include/c++/9.3.0/stdexcept:39:
In file included from /nix/store/vb1fh8zqdcs7n3hvn8awlrpdfnic6zjg-gcc-9.3.0/include/c++/9.3.0/string:55:
In file included from /nix/store/vb1fh8zqdcs7n3hvn8awlrpdfnic6zjg-gcc-9.3.0/include/c++/9.3.0/bits/basic_string.h:6493:
In file included from /nix/store/vb1fh8zqdcs7n3hvn8awlrpdfnic6zjg-gcc-9.3.0/include/c++/9.3.0/ext/string_conversions.h:43:
In file included from /nix/store/vb1fh8zqdcs7n3hvn8awlrpdfnic6zjg-gcc-9.3.0/include/c++/9.3.0/cstdio:42:
In file included from /nix/store/vbs3xx1b5i5bzf1sjkz2lkmz7b8cy92y-glibc-2.30-dev/include/stdio.h:864:
/usr/include/x86_64-linux-gnu/bits/stdio.h:127:10: error: use of undeclared identifier '_IO_feof_unlocked'; did you mean 'feof_unlocked'?
  return _IO_feof_unlocked (__stream);

To Reproduce
I'm not sure how to reproduce this with a minimal example. It fails on some ROS packages. Maybe CMake and nix don't work together very well?
Expected behavior
Don't use stdio.h from outside the nix environment. (Not sure if this is possible or if this is a limitation in the nix concept itself, since the glibc stored here doesn't behave in the pure functional manner that one would need for nix as far as I understand).
The issue to me seems to come from the fact that glibc uses normal system libraries, that are incompatible with this version of glibc. Maybe nix needs to have a patching mechanism so that no absolute paths are used.
Additional context
System GCC is 7.5.0
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

system: "x86_64-linux"
host os: Linux 4.15.0-88-generic, Ubuntu, 18.04.4 LTS (Bionic Beaver)
multi-user?: no
sandbox: yes
version: nix-env (Nix) 2.3.3
channels(user): "nixos-17.03-17.03.1949.78e9665b48f, nixos-18.03-18.03.133402.cb0e20d6db9, nixpkgs-20.09pre228139.b6f084797a4"
nixpkgs: /nix/var/nix/profiles/per-user/user/channels/nixpkgs

Maintainer information:
# a list of nixpkgs attributes affected by the problem
# a list of nixos modules affected by the problem
pkgs.clangStdenv

It looks like /usr/include/x86_64-linux-gnu/ ended up in your include paths. Can you pass the -v option to your compile command to inspect what the final environment is made up of?

@tobim You're probably right. However I'm not sure how to avoid that. Most of these are added by ROS.
Installing a compiler like clang with apt works out of the box. I thought however that using nix might be great so we can load the environment more easily, but it seems like it's harder.
/usr/include/vtk-6.3
/usr/include/freetype2
/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi
/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent
/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent/include
/usr/lib/x86_64-linux-gnu/openmpi/include
/usr/include/python2.7
/usr/include/x86_64-linux-gnu
/usr/include/hdf5/openmpi
/usr/include/libxml2
/usr/include/jsoncpp
/usr/include/tcl
/opt/ros/melodic/include
/opt/ros/melodic/share/xmlrpcpp/cmake/../../../include/xmlrpcpp
/usr/include/eigen3
/usr/include/OGRE/Overlay
/usr/include/OGRE
/usr/include/pcl-1.8
/usr/include/ni
/usr/include/openni2
system /usr/include/x86_64-linux-gnu/qt5
system /usr/include/x86_64-linux-gnu/qt5/QtWidgets
system /usr/include/x86_64-linux-gnu/qt5/QtGui
system /usr/include/x86_64-linux-gnu/qt5/QtCore
system /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++

Now I can reproduce the issue with
#include <cstdio>

int main(void) {
    printf("Hello Nix!");
    return 0;
}

and c++ -I/usr/include/x86_64-linux-gnu test.cpp
However this doesn't help me. Since I don't know how to get these from the path.

perhaps https://github.com/NixOS/nixpkgs/pull/53668 fixes this?


added even array prob of codeforces Issue738

Description
added even array prob of codeforces Issue738 in Java language
please review my pr @Amit-45 @Ayush7614
Fixes #738

@Ayan-thecodeking remove the other file

Since there is no update so closing it


chore(app): remove some code smells

:tada: This PR is included in version 2.41.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Feat: increment each

Basically, if we have impressions, clicks, and hover events for the same element. It will use incrementEach instead of increment to increment the count.
As a result, the thing that happened with 6 queries will happen in 2 queries.

@nunomaduro, I rebased and made it compatible with new features.


[WFLY-19973] @PersistenceContext properties attribute should be processed

https://issues.redhat.com/browse/WFLY-19973
https://wildfly.zulipchat.com/#narrow/channel/196266-wildfly-user/topic/.40PersistenceContext.20properties.20attribute.20problem

Hmm, I smell more changes coming...

Hmm, I smell more changes coming...

I reviewed related/other property handling which looks correctly handled.
We define most properties at the Persistence Unit definition level.  We allow additional container/persistence provider properties to be specified at the Persistence Context level which are described the JavaDoc here:
"
PersistenceProperty[] properties
(Optional) Properties for the container or persistence provider. Vendor specific properties may be included in this set of properties. Properties that are not recognized by a vendor are ignored.
Default:
{}
"

@scottmarlow The change looks good but I think this should have a regression test.

@bstansberry I updated the test to cover PersistenceContext properties

Thanks @scottmarlow


Move Segoe UI above helvetica in sans-serif stack

Move Segoe UI above Helvetica as Windows aliases Helvetica to Arial. Presumably would prefer Segoe UI over Arial.

See ticket #340
Windows substitutes Arial for Helvetica in its registry. I am assuming we'd rather see Segoe UI as it is the sans-serif default on Windows (and it looks better than Arial).

I'd move it even lower, as proposed in #461 -- on Ubuntu 16.04 and on @straurob's Linux Mint, Helvetica is also aliased to a substitute font.

Closing in favor of #465 for the reasons mentioned above


Fix header background styles

I missed a review comment by @a-rukin when merging #179:
cogs red bg lacks transparency
testnet purple bg seems to be too scaled and positioned strangely

Fixed all the issues


Improving Contact page UI for SSOC Contribution

Improving the user interface of contact page

Elaborate the issue

Providing margin and padding, adding image, improving button style(matching with other buttons), adding message placeholder, and changing font size.

Providing margin and padding, adding image, improving button style(matching with other buttons), adding message placeholder, and changing font size.

Hey I would like to work on this

@Akayush-17 issue is already solved

@siddhi-244 @SachinMittal1766 Why is this still open?
This issue is already merged in the website
https://github.com/Susmita-Dey/Sukoon/pull/82


implement greasing of the QUIC bit (RFC 9287)

Fixes #3133.
We don't (yet) save the value of this transport parameter. This means that we'll never grease the QUIC bit on the first Initial packet and on 0-RTT packets. Implementing this is left as an exercise for a later PR.

This PR is on hold until we've merged all the header changes planned for #3526.

Closing this PR, since we won't implement RFC 9287 in quic-go. See https://github.com/quic-go/quic-go/issues/3133#issuecomment-1862118677 for reasoning.


Update weights and re-evaluate models

When channel_order is not used correctly, BasicVSR and IconVSR output BGR image hence the evaluation result is not correct (since the function bgr2gray is used when evaluating in Y-channel). This PR re-computes the results in the datasets and updates the links for the pre-trained weights.

Invalid link, will update


StatefulArray is broken with Ember 2.8.

See my comment here: https://github.com/emberjs/ember.js/pull/13534#issuecomment-241293324
Not sure yet what the best course of action is there. Hopefully we can get a response there and can figure out where to go from there.
Edit: Now an issue open in Ember: https://github.com/emberjs/ember.js/issues/14114.

Just an update, Martin was kind enough to open a PR to help resolve this issue for Ember 2.8: https://github.com/emberjs/ember.js/pull/14117

@workmanw glad to hear it! Should we close this issue or will there be some changes we will need to make later?

@jakesjews I'd prefer to leave this issue open until this that PR is merged and ember cuts a new beta ... just incase someone actually tries the ember-beta and runs into this issue.
In terms of making changes, I do think we'll have to make some changes in the near future (post ember 2.8 LTS). But I'll keep a watchful eye on it!

@workmanw sounds good. Thanks for looking into the issue.

A new beta version was just released yesterday. Tested with ember try:each and can confirm all tests pass on all supported versions of ember.


use yummy-yam theme

Use yummy-yam hugo theme

CLose with tag v2.1 https://github.com/pierrick-marie/pierrick-marie.github.io/commit/247f19dca566d4a378f3bb49e69a709aed508820


How to Log into PostgreSQL?

Description
How to Log into PostgreSQL?
OS
My OS is:

[x] MacOS [Choose one: Yosemite, El Capitan, Sierra, High Sierra, Mojave]
[ ] Linux
[ ] Windows

Docker
The output of docker version:
Client: Docker Engine - Community
 Version:           18.09.2
 API version:       1.39
 Go version:        go1.10.8
 Git commit:        6247962
 Built:             Sun Feb 10 04:12:39 2019
 OS/Arch:           darwin/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.2
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.6
  Git commit:       6247962
  Built:            Sun Feb 10 04:13:06 2019
  OS/Arch:          linux/amd64
  Experimental:     true

The output of docker-compose version:
docker-compose version 1.23.2, build 1110ad01
docker-py version: 3.6.0
CPython version: 3.6.6
OpenSSL version: OpenSSL 1.1.0h  27 Mar 2018

Hi!
Vessel doesn't come with postgresql, just MySQL.
However, if you customized it to use pgsql, then you should do a quick review of official pgsql image page: https://hub.docker.com/_/postgres
It'll be something like ./vessel exec pgsql pgsql (altho you might need to specify the username like./vessel exec pgsql pgsql -U postgres

Hi @fideloper 😃
Thanks for the reply!
When I run:
./vessel exec pgsql pgsql -U postgres

I have this error:
OCI runtime exec failed: exec failed: container_linux.go:344: starting container process caused "exec: \"pgsql\": executable file not found in $PATH": unknown

So, to log into PostgreSQL:
docker exec -it postgres_container_name bash
root@xxxx:/# psql -U postgres
psql (10.0)
Type "help" for help.

postgres=#

I'm still looking to find a way to log in from vessel and activate PostgreSQL Extensions 🙌

Oh I gave you the command pgsql but the command is psql:
./vessel exec pgsql psql -U postgres

That's the same/equivalent as your docker exec command. You can use bash instead of psql of course.
Note: Enabling extensions may not work like you think. Any changes you make while docker is running likely won't be saved after you turn the containers off and back on.
Their docs mention extensions and suggest that you'll need to extend/create a Dockerfile to do so. Here's an example they link to that enables postgis: https://github.com/appropriate/docker-postgis/blob/f6d28e4a1871b1f72e1c893ff103f10b6d7cb6e1/10-2.4/Dockerfile
If you're not familiar with that, then I suggest learning a bit more about how Docker works. (check out https://serversforhackers.com/s/docker-in-dev-v2-i and https://serversforhackers.com/s/docker-in-dev-v2-ii)

I'll take that courses 🙇


Update README.md

Fixed the link for "Weaponizing data science for social engineering" in initial access section.

thanks


Cannot load recorded file

Hi,
This is superb library thank you very much. How can I get it to load a file that I recorded instead of a file stored in the NS Main Bundle? I have tried the following but they don't work:

// "myURL" being a string like so:
// file:///var/mobile/Containers/Data/Application/35B72EE7-7320-4185-9B2E-55C540F738FD/Documents/23Feb2015_065229am.aif

NSURL *assetURL = [NSURL URLWithString:myURL];
AVURLAsset *asset  = [AVURLAsset URLAssetWithURL:assetURL options:nil];

I have tried so many different things and they dont work :(

I don't know if this is what you're looking for, but this is how I do it. I'm recording files into the Documents directory and retrieving them from there. Sometimes I record to the Caches directory and retrieve them from there:

AVURLAsset *asset = [[AVURLAsset alloc] initWithURL:[self originalFilePathURL] options:nil];

-(NSURL*)originalFilePathURL {

    NSURL* url = [NSURL fileURLWithPath:[NSString stringWithFormat:@"%@/%@",
                                          [self applicationDocumentsDirectory],
                                          @"record.m4a"]];
    return url;
}

-(NSString*)applicationDocumentsDirectory
{
    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
    NSString *basePath = ([paths count] > 0) ? [paths objectAtIndex:0] : nil;
    return basePath;
}

This is how you do it assuming you're selecting a music file from your library:
-(void) mediaPicker:(MPMediaPickerController *) mediaPicker2 didPickMediaItems:(MPMediaItemCollection *) mediaItemCollection {
self.waveformView = [SCWaveformView new];
// Setting the asset
AVAsset *asset = [AVURLAsset URLAssetWithURL:[mediaItem valueForProperty:MPMediaItemPropertyAssetURL] options:nil];
self.waveformView.asset = asset;
}


Cannot connect to production environment

I have modified the Swift sample code to work with .tokenize request with our test environment.
        payment.amount = AMOUNT
        payment.currency = "USD"
        payment.transactionType = .tokenize
        let WD_MERCHANT_ACCOUNT_ID = "XXXXXXXXXXX"
        let WD_MERCHANT_SECRET_KEY = "YYYYYYYYYYY"

The code runs successfully and returns tokenised card response just fine.
However, after I change the WD_MERCHANT_ACCOUNT_ID and WD_MERCHANT_SECRET_KEY to production ones we received, I get unauthorised error.
Error Domain=com.wirecard.error Code=-3 "Transaction has failed" UserInfo={NSLocalizedDescription=Transaction has failed, NSUnderlyingError=0x6000022820d0 {Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: unauthorized (401)" UserInfo={NSLocalizedDescription=Request failed: unauthorized (401), NSUnderlyingError=0x600002282970 {Error Domain=com.alamofire.error.serialization.response Code=-1016 "Request failed: unacceptable content-type: text/plain" UserInfo={NSLocalizedDescription=Request failed: unacceptable content-type: text/plain, NSErrorFailingURLKey=https://api.wirecard.com/engine/mobile/v2/payments, com.alamofire.serialization.response.error.data={length = 39, bytes = 0x436f756c 64206e6f 74207265 74726965 ... 72657420 6b65792e }, com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x600002c40340> { URL: https://api.wirecard.com/engine/mobile/v2/payments } { Status Code: 401, Headers {
    "Content-Length" =     (
        39
    );
    Date =     (
        "Wed, 11 Dec 2019 03:44:23 GMT"
    );
    Server =     (
        ""
    );
    "Strict-Transport-Security" =     (
        "max-age=16070400; includeSubDomains"
    );
}

If you wonder, I have changed the environment of the WDECClient to PROD as well, and I can see that the request is going to api.wirecard.com instead of api-test.wirecard.com.
self.client = WDECClient.init(environment: WDECEnvironment.PROD)!

Our Android counter part succeeded to connect to production environment with the same MERCHANT_ACCOUNT_ID and MERCHANT_SECRET_KEY, so the issue is not about the wrong keys etc.
One notable thing is that our Android counter part using Android SDK is connecting to api1.wirecard.com instead of api.wirecard.com.
Can you guys help me out on this? I totally expected that switching from TEST to PROD is just switching the account id and secret. (which worked on Android end...)
Thank you

Hi @yfujiki ,
Your expectation is correct just WDECEnvironment.PROD uses api.wirecard.com hostname.
As you need to connect to api1.wirecard.com gateway you can use WDECClient initializer with hostname.
WDECEnvironment will be deprecated because hostnames provide flexibility.
Best,
Stefan

Thank you @stefan-sedlak It worked like a charm!


In the application.yml file the 'info app' settings are not loaded correctly.

Description
In the application.yml file the 'info app' settings are not loaded correctly.
Steps to Reproduce

Create an application

Expected Behaviour
In the application.yml file the information below is not being loaded
info:
  app:
    name: grails6_1_0
    version: '0.1'
    grailsVersion: 6.1.0

Actual Behaviour
In the application.yml file the information below should be loaded.
info:
  app:
    name: '@info.app.name@'
    version: '@info.app.version@'
    grailsVersion: '@info.app.grailsVersion@'

Environment Information

Operating System: Manjaro
Grails Version: 6.1.0
JDK Version: Temurin-11.0.21+9

This was resolved by #232 and applied in 6.1.1


Support statement should be added to readme(s)

Support statement from technet on DSC Resource Kit (All Modules), in second paragraph on introduction was not ported to github.

From what I know that was made on purpose, similarly there's no "support statement" on any module's repository readme.
Also, there are still plans to get rid of "x" convention: https://github.com/PowerShell/DscResources/issues/27
@nanalakshmanan , @HemantMahawar Should we be still adding:
All of the resources and examples in the DSC Resource Kit are provided AS IS, and are not supported through any Microsoft standard support program or service. The "x" prefix on each module and resource stands for experimental , which means that these resources may be maintained and monitored by the module owner(s) moving forward.

to DscResources/specific resources repo readme?

I suggest we close this issue since there is a new and updated support statement in the Supportability.md.

Closing this as solved as per previous comment. Please reopen or comment if this was closed in error.


Permission request methods

Added 3 methods to ask for the camera permissions in Android and iOS
Future<PermissionStatus> requestCameraPermission() requests the camera permissions
Future<PermissionStatus> checkCameraPermission() checks the status of the current camera permissions
Future<void> openSettings() opens the native setting screens

Thanks for the contribution! I just finished the first step to a big refactor, take a look!


Renaming a project doesn't save

Renaming the project after creating it works, but afterwards the renaming is only visual and is not saved to file.

Closed by #56

Testing project kanban board automation

Testing project kanban board automation


Blank Cell in Documentaion

In reviewing docs for 0.41.0 release, found a blank cell that can be removed : https://evalml.alteryx.com/en/v0.41.0/demos/text_input.html.

Hey, I would like to work on this.


Remove async eventemitter

This module was casuing bugs that prevented my MetaMask from working.
It kept throwing the error documented here:
https://github.com/MetaMask/metamask-extension/issues/3262
Tracking down the nature of the problem was difficult, but it seemed that async-eventemitter was over-iterating its listener array.
Trying to even find that repo was difficult, no repo link on npm, hadn't been updated in 5 months, I'm not sure why we chose to rely on this module, but it smells bad to me.
On removing it, my MetaMask build works fine again. Please don't merge without answering this question:
Why did we want an async event emitter? What response needed to be executed in series?

thanks for the PR
this is a breaking change
also need to make sure we're not using the callback anywhere here (prolly some pattern like await pify emit)


Improve cache performance by removing cacache dependency

In the CPython benchmark (with --no-cache), this brings performance down to ~70-72ms, from ~92ms -- so something like a 20% speedup.
Resolves #230.

I also looked at swapping bincode out for a faster serialization library, but it turns out that serialization is an extremely small part of the execution time here. (On main, locating all the files to lint on-disk is about ~18ms, reading from the cache is about ~58ms...)

We're not using the content-addressable nature of cacache, so it's kind of wasteful. It also makes Wasm builds more complex right now.


Error 502 (Server Error)!!1

Hi everyone,
I'm getting intermittent 502 errors when I try to upload large files using stream (larger than 10Gb).
Environment details
OS: Ubuntu 16.04
Node.js version: 14.17.5
@google-cloud/storage version: 5.15.0
Steps to reproduce
    const {stderr, stdout} = spawn(
      "tar",
      ["-c", "--use-compress-program=pigz", "."],
      {
        cwd: "/tmp/test"
      }
    );

    const googleAuth = new GoogleAuth({
      credentials: $MY_GCP_KEY || {},
      scopes: [
        "https://www.thiss.com/auth/cloud-platform",
        "https://www.thiss.com/auth/sqlservice.admin"
      ]
    });

    const auth = await googleAuth.getClient();

    const storage = new Storage({
      credentials: {
        client_email: auth.email,
        private_key: auth.key
      },
      projectId: $MY_CLOUD_PROJECT,
      retryOptions: {
        autoRetry: true,
        maxRetries: 3,
        totalTimeout: 3600000
      }
    });

    let bytesWritten = 0;

    const passThroughStream = new PassThrough();

    passThroughStream.on("data", chunk => {
      bytesWritten += Buffer.byteLength(chunk);
    });

    let streams = [stdout.pipe(new PassThrough()), passThroughStream];

    //Client side encryption
    streams.push(crypto.createCipheriv("aes-256-cbc", Buffer.alloc(32, "test123"), Buffer.alloc(16, "test")));

    const bucket = storage.bucket($MY_BUCKET);

    const gcpFile = bucket.file("folder/my_file.tgz", {});

    const metadata = {
      "client-side-encryption": true
    };

    const gcpWriteStream = gcpFile.createWriteStream({
      metadata: {
        metadata
      }
    });

    streams.push(gcpWriteStream);

    const pipeline = util.promisify(stream.pipeline);

    await pipeline(streams);

    await gcpFile.setMetadata({
      metadata: {
        "file-size": bytesWritten
      }
    });

First error (this can happen anytime, after 30 minutes or after 90 minutes)
502. That’s an error.

The server encountered a temporary error and could not complete your request.

Please try again in 30 seconds. That’s all we know.

So after 6 minutes
408. That’s an error.

Your client has taken too long to issue its request. That’s all we know.

Hey @rodrigoguedes, thanks for your inquiry. Looking at your snippet, I have a few suggestions:

To better cover for 5xx status codes (server error), it would be better to increase maxRetries
We've resolved several bugs since v5.15.0 (released Oct '21); it may be beneficial to update @google-cloud/storage (see: https://github.com/googleapis/nodejs-storage/compare/v5.15.0...v5.18.1)

Closing for now due to inactivity. We can reopen for future debugging if necessary.

after changing parameters and updating to the last version, I'm getting this error:
Caused by:  RangeError: The offset is lower than the number of bytes written
    at Upload.startUploading (/myapp/node_modules/@google-cloud/storage/build/src/gcs-resumable-upload/index.js:392:32)
    at Upload.continueUploading (/myapp/node_modules/@google-cloud/storage/build/src/gcs-resumable-upload/index.js:373:14)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)

Which parameters were changed?
That particular RangeError occurs when there’s both an interrupted connection and the server is behind the number of bytes written. To confirm, this module is being used to upload to GCS and not a custom endpoint?
If this particular error occurs often for you, assuming large (multi-GB+) uploads to GCS, it can be remedied by using chunkSize as it would prepare and cache a buffer from a provided for uploading, re-uploading the cached chunk on retries and connection errors. See:

https://github.com/googleapis/nodejs-storage/blob/4e95330d3dc36d2bd0489e6b5d790573064a52cd/src/file.ts#L198
https://github.com/googleapis/nodejs-storage/blob/4e95330d3dc36d2bd0489e6b5d790573064a52cd/src/file.ts#L1577-L1579

Hi @danielbankhead thanks for answering,
so then changes in Storage Object were:
retryOptions.maxRetries was increased to 10
retryOptions.totalTimeout kept in 3600000 "I know it's a big value, we only use it to test :) "

To confirm, this module is being used to upload to GCS and not a custom endpoint?

yes, I am sending direct to GCS, but I'm using stream.pipeline to sequence my streams (generate tar and after encrypt), maybe one of the streams might be taking too long and passing the maxRetryDelay limit, or maybe my stream const {stderr, stdout} = spawn("tar"... is not able to support resumable-uploads, does it make sense?

If this particular error occurs often for you, assuming large (multi-GB+) uploads to GCS, it can be remedied by using chunkSize as it would prepare and cache a buffer from a provided for uploading, re-uploading the cached chunk on retries and connection errors. See:

I'll take a look at it, Thanks

@danielbankhead is there some default value for chunkSize? or normally have the same size of the file?

We recommend using at least 8 MiB for the chunk size.
Additional details: https://cloud.google.com/storage/docs/performing-resumable-uploads#chunked-upload

Unfortunately using chunkSize I had other problems
FetchError: request to https://storage.googleapis.com/upload/storage/v1/b/my_project/o?name=folder%2Fmy_file.tgz&uploadType=resumable&upload_id=aaaaaaaaaaaaaaaa failed, reason: socket hang up
    at ClientRequest.<anonymous> (/lcp/app/backup/node_modules/node-fetch/lib/index.js:1491:11)
    at ClientRequest.emit (events.js:412:35)
    at TLSSocket.socketOnEnd (_http_client.js:499:9)
    at TLSSocket.emit (events.js:412:35)
    at endReadableNT (internal/streams/readable.js:1317:12)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)

Scenario:
Parallel send two files A and B to the same bucket.
Files Size:
file A - 541 MB
file B - 10.3 GB
    const gcpFile = bucket.file("folder/my_file.tgz", {});

    const gcpWriteStream = gcpFile.createWriteStream({
      chunkSize: 500 * 256 * 1024
    });

Thanks for the additional data - are you experiencing any other networking issues from your application outside of file uploads to GCS? The particular FetchError reason socket hang up occurs when the client's connection to the server has severed.
Given the retry configuration, the connection attempts likely surpassed the retry configuration's threshold - this is evident as chunkSize would attempt to query the server to what bytes are missing, then upload a guaranteed available Buffer.

Additionally, the original connection issue (408) is aligned with connection issues: https://cloud.google.com/storage/docs/json_api/v1/status-codes#408_Request_Timeout

Closing for now due to inactivity.


bdc-data-pool node label ?

I'm presuming that this node label is permissible, can you please confirm this on this page.

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

ID: d6f46cd1-caaa-99ac-1098-f15552369f22
Version Independent ID: 34ec4839-afba-f57e-1a6d-bc453e70b9ce
Content: Configure deployments - SQL Server big data clusters
Content Source: docs/big-data-cluster/deployment-custom-configuration.md
Product: sql
Technology: big-data-cluster
GitHub Login: @MikeRayMSFT
Microsoft Alias: mikeray

@chrisadkin -- Chris, thank you for your request.  Please try the following links:

DBA Stack Exchange
Stack Overflow

Also, you are welcome to leave feedback here:

SQL Server Feedback

cc @MikeRayMSFT for awareness


[themes] TypeScript (this: Type) parameter color

Would be great if it would be possible to change the color of this parameter (or make it equal to usual this color) when declaring a type of a function scope, so that it doesn't mess with other parameters.

This issue was moved to Microsoft/TypeScript-TmLanguage#466


UX suggestion for create a study

When adding the PI and Lab Person, there should be a link to add a person in the dropdown itself, then when the person is created it is automatically filled in to the selected input field.
It would also be a good idea to cache the person's list when the service is live.

This was solved some time ago: we have a list and you can add a new person in the same page.


HideStrings does not work in .Net core 2.1 App but in assembly

Hi
I have a siple solutio with two projects:

One project is type netcoreapp2.1 (The App)
The othe one is type netstandard2.0 (The Assembly)

both project have exactly the same class tht should be obfuscated.
    [System.Reflection.ObfuscationAttribute()]
    internal class ClassToObfuscareInDLL
    {
        public string GetStrProp => "Hello World";

        [System.Reflection.ObfuscationAttribute(Exclude = false)]
        public string GetStr()
        {
            return "Hallo Function";
        }
        [System.Reflection.ObfuscationAttribute(Exclude = false)]
        public string GetStr2()
        {
            return "Das Haus vom Nokolaus";
        }
    }

obfuscate.xamle looks
<?xml version='1.0'?>

<Obfuscator>
  <Var name="InPath" value=".\bin\Debug\netcoreapp2.1" />
  <Var name="OutPath" value=".\bin\Debug\netcoreapp2.1\Obfuscator_Output" />
  <Var name="HidePrivateApi" value="true" />
  <Var name="MarkedOnly" value="true" />

  <!-- <Var name="KeyFile" value=".\test.snk" /> -->
<!--  <Module file="$(InPath)\BasicExampleExe.exe" />-->
  <Module file="$(InPath)\TestObfuscare.dll" />
  <Module file="$(InPath)\TestObfuscareDll.dll" />

</Obfuscator>

All function names are obfuscated in Assembly and in App but not the strings

I found the same problem. Checked the source codes,
var encoding = new TypeReference("System.Text", "Encoding", library.MainModule,
library.MainModule.TypeSystem.CoreLibrary).Resolve();
if (encoding == null)
{
_disabled = true;
return;
}
It always return null. I followed mono codes and found it is a bug of Mono. On my machine, mono can not resolve the correct assembly, but ILSpy can. (in BaseAssemblyResolver.Resolve will get System.Runtime for dotnet 4.0 but not for dotnet core, which will find no System.Text in it)

in vs2017 ,open the property of the project,and use
obfuscar.console obfuscar.xml replace ${Obfuscar}  obfuscar.xml

Hi
I try out obfuscar.console obfuscar.xml but same result. (menwhely i use .net core 3.1 and obfuscar 2.2.26)

assembly wors like a sharm

But main application  not

Please help


feat: specialized IntoCanonical for DictArray utf8/binary

Fixes #1041
Change the IntoCanonical implementation for DictArray to do canonicalize-then-take for stringy things, take-then-canonicalize for everything else.
It is always the case for strings that canonicalize-then-take will be faster, regardless of the compression of the values array.
Overrides #1136

benchmarks are mostly within tolerances, but CMS provider decompression got 11% slower

All of the TPCH queries seem unaffected so think this is good to go

Missed your comment @lwwmanning , the slowdown for CMSprovider is a bit surprising. It has a few integer columns that maybe dict encode but is mostly strings, which should be unaffected by this change

Missed your comment @lwwmanning , the slowdown for CMSprovider is a bit surprising. It has a few integer columns that maybe dict encode but is mostly strings, which should be unaffected by this change

@a10y yeah, there's maybe something there, but I tend to agree with Nick's assessment that we should dig into it / fix that lower down


[BUG] Utility AppendLines is missing some lines

Hello,
I guess that Utility AppendLines is missing some lines !
i was running a userChecker config, i ended up having 1000 hits
the DB was showing 1000, so until here all is good
but when i checked the saved file.txt, i did not find find the same number as hits
this made me re-run the test again and again, and every time i was having a different  number of lines in the saved file.txt.
Version

Version 1.2.0

It's probably because of https://github.com/openbullet/openbullet/issues/409 so please try version 1.2.1 that's going to release in a few minutes and if it doesn't work open the issue again.


[openssl] Build error

Host Environment

OS: Mac OS
Compiler: Xcode 13.1

To Reproduce
Steps to reproduce the behavior:
./vcpkg install openssl
Failure logs
Looking in /vcpkg/buildtrees/openssl/install-x64-osx-release-mixed-rel-out.log it builds ok but at the end I see:
FAILED: CMakeFiles/build_libs.util
cd /Users/build/vcpkg/buildtrees/openssl/x64-osx-release-mixed-rel && /usr/bin/install_name_tool -id @rpath/libssl.3.dylib /Users/build/vcpkg/buildtrees/openssl/x64-osx-release-mixed-rel/3.0.2-67d457a95e.clean/libssl.3.dylib && /usr/bin/install_name_tool -id @rpath/libcrypto.3.dylib /Users/build/vcpkg/buildtrees/openssl/x64-osx-release-mixed-rel/3.0.2-67d457a95e.clean/libcrypto.1.1.dylib && /usr/bin/install_name_tool -change /Users/build/vcpkg/packages/openssl_x64-osx-release-mixed/lib/libcrypto.3.dylib @rpath/libcrypto.3.dylib /Users/build/vcpkg/buildtrees/openssl/x64-osx-release-mixed-rel/3.0.2-67d457a95e.clean/libssl.3.dylib
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: can't open file: /Users/build/vcpkg/buildtrees/openssl/x64-osx-release-mixed-rel/3.0.2-67d457a95e.clean/libcrypto.1.1.dylib (No such file or directory)

There is a libcrypto.3.dylib at that location, but not a libcrypto.1.1.dylib
My triplet file is:
set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_OSX_ARCHITECTURES x86_64)
set(VCPKG_CMAKE_SYSTEM_NAME Darwin)
set(VCPKG_BUILD_TYPE release)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE dynamic)

Confirmed. Will fix it shortly.


parallel simulations for supercomputer

be able to run 1 simulation on 1 core
but run 100k simulations on 100k cores

this has been addressed in the mdme repo: https://github.com/chendaniely/multidisciplinary-diffusion-model-experiments


Generated types.d.ts contains compile errors

Using Pocketbase v0.23.0-rc9,  I tried to use the generated pb_data/types.d.ts file in a typescript project but It is giving me several compile errors like
91 declare function routerUse(...middlewares: Array<string|((e: core.RequestEvent) => void)|Middleware): void;
                                                                                ~~~

is missing > before ):void
also:
  ../../../pb/pb_data/types.d.ts:522:11
    522 interface RequestInfo extends core.RequestInfo {} // merge
                  ~~~~~~~~~~~
    'RequestInfo' was also declared here.
  ../../../pb/pb_data/types.d.ts:545:15
    545 declare class RequestInfo implements core.RequestInfo {
                      ~~~~~~~~~~~
    and here.

also:
Namespace 'os' has no exported member 'args'.
847   export let args: os.args;

and several other error

I've pushed a small updated in the develop branch that should resolve the mentioned errors.
Note that even with those fixes the types are intended to be used only as ambient TS declarations to assist your editor LSP and by being autogenerated from the Go source code there situation where errors/warnings are still possible and not easy fixable.


TypeScript: added duration.isValid()

Coverage increased (+0.1%) to 94.778% when pulling cfbc281a159b84bcbf94d611f00a360dcc68d4c2 on mjomble:patch-1 into 2e2a5b35439665d4b0200143d808a7c26d6cd30f on moment:develop.


chinese subtitles crash it

Trying to use Voracious for mandarin and it freaks out ;(. Am I doing something wrong here?

Tried two different subtitle rips from viki, both got it upset

I am also experiencing this issue.

This is the same issue as #27. So it was actually fixed, but the fix never made it into the release.
If you compile the current version of the code yourself, the issue should be solved. It worked for me :-)


Do not export the Tracer type

Tracer is a wrapper for System which does not add any extra methods to the interface. However, we export the type so it is taking a lot of space on the documentation page:

I would like to recommend that we change the approach to unexport the Tracer type and instead use a function to construct the System decorator:
func Trace(w io.Writer, s System) System {
    return &tracer{w, s}
}

One of the advantage of this approach is the Go documentation would show the Trace function as a subsection of System, which makes discovery a lot simpler. I believe it would also make it more explicit to the readers what the intent of this feature is, and remove a lot of distractions from the documentation space.
Let me know what you think!

Agreed!


Rust Translation for Dice

@coding-horror  Rust Translation for Dice

@coding-horror @AnthonyMichaelTDM please review my code and see if there is any problems.


How much  episodes should we do ?

Hi!
Thanks for sharing the code！
I trian the Humanoid .
I have a question ,how much episodes should I do? When the episodes is much than 20000 , the human can not walk better.

The performance starts to get reasonable at 40k episodes, here is the training curve:
https://gist.github.com/pat-coady/e313cae7e8bcb6c2679917d09338fba1
Aside from being a complex task, I think the humanoid environment is a little flawed. It has 377 observation dimensions, but many of them contain no information. But my implementation just scales the first layer of the neural net to by 10x the observation dimension. This gives a overly large NN. So, another option is to hand edit hid1_size to be something like 450 in the policy.py file.
Hope this helps.


Ipc groundwork

This pr lays the groundwork for a streaming rpc protocol.
It includes implementations of a database and cli client, and a database "provider" that responds to rpc requests.
Use cargo run --bin iroh-rpc -- --file FILE_PATH --transport [mem|tcp] to test streaming a file from one processes (the database process) to another (the cli process).
The "streaming" protocol built on top of the libp2p request_response protocol, using a DataRequest and a Header response to coordinate a streaming id. The database provider then sends Packets notated with the proper id using the "streaming" protocol.
All of the streaming coordination happens via the InStream and OutStream structs.
InStream::new takes a header & a receiver of a buffered channel, and returns an InStream. Calling stream.next().await gives you the next chunk of bytes for the expected file, in the correct order.
OutStream::new take a header, a reader, and a sender, and returns an OutStream. Calling stream.send_packets().await  sends the packets over rpc.
Future refactors should:

allow for early cancel on both sides of the connection
handle Ack and Error responses from the sink to the source. Potentially re-sending packets if an Error has occurred
handle "channel full" errors on the sink side, sending an error back to the source. The source should back off for a few moments before attempting to send again.
handle reading errors on the source side, informing the sink

This PR is no longer relevant, closing


Add zhnumber package

Change the chapter number from arabic to Chinese numeric to keep consistent with TOC.

Thank you for your contribution!


support a setup mode where wifi is configured

if we ever want to let other people use this thing, we'll need some kind of wifi setup. this would probably best be done by:

assigning each device a serial number (ideally random)
print the serial number on the device
spin up an AP using the serial number in the ESSID
run a webserver that presents scanned networks
allow a network to be selected, and a password specified
iff we connect (and get an IP?) switch to running mode (STA only) and write config to pstore
support reconfiguration via MQTT
factory reset puts us back in AP mode

this is all post-MVP. i have no plan to sell these currently, and this would be at least a day's work.

perhaps bluetooth-LE would be a better way to do this? i.e. if not configured, start up the bluetooth controller and response to BLE commands. do so on a factory reset, also.
but that requires something which can talk BLE, whereas during the normal mode we serve on WiFi...
perhaps both the AP mode and BLE?

i don't think BLE + AP is possible, given that they both use the 2.4MHz radio.

we can run bluetooth and wifi at the same time, it appears. this might have some bad effects, though (does it lock bluetooth channel for instance?). let's try it. always run bluetooth.
so when we do not have an essid/psk configured, we put up bluetooth le gatt, with three characteristics: one for essid, one for psk, one for setup status. essid is read/write. psk is write-only. setup status is read only, with update notification.
setup statuses:

0: waiting for essid/psk
1: setting up wifi
2: wifi configured

in setup state 0, you can write to both essid and psk. in states 1 and 2 writes will be rejected. factory reset (see #24) takes us to state 0, and resets essid/psk in NVS. writing to both essid+psk takes us to state 1, and initiates wifi association + dhcp request. acquisition of dhcp lease takes us to state 2 and writes the values to NVS. timeout takes us to state 0 and cancels the wifi stack.
intermittent wifi failures once in state 2 do not change our state; only a factory reset does.
on boot, try to read the values from NVS. if they're present, we start in state 2 with wifi running. if not, we start in state 0 with wifi not running.

i'm assuming for now that there is no app, just bluetoothctl and GATTs. either way, if we returned some secret upon successful setup, they could use that secret to factory reset via bluetooth. we can't provcide factory reset via bluetooth currently because there's no authentication.


can it used on web？

can it used on web？

No, this is a package for react native and won't work on web.

Would this work with react-native-web?

If you add a check for Platform.OS === 'web' here then it will render on web (using react-native-web). However it doesn't work very well, since rn-web doesn't seem to support many of the iOS-only ScrollView properties.


Feature request: force/torque limits for joint motors

Hello. I was exploring this better and more complete physics engine for Godot, and I found out that there is no way to set the force limit for a positional motor on the JoltGeneric6DOFJoint3D. It seems like it was intentionally not implemented, as seen here:
https://github.com/godot-jolt/godot-jolt/blob/8569326393f87521f52e1482c62ad3351a9ab97f/src/joints/jolt_generic_6dof_joint_impl_3d.cpp#L583-L585
Feature request: it would be really great, if it would be possible to set the force and torque limits for the positional motors.
I hope I'm just wrong and don't know how to use the joint properly.
Rant (feel free to ignore this): it's kind weird to me that the Jolt-specific JoltGeneric6DOFJoint3D joint doesn't really follow the Jolt API directly, exposing every feature as-is, it just seems like more work to abstract it away than just expose the controls (and their caveats) directly. I've ran into the issue of the game engine abstracting away features of the physics engine in Unity and Unreal Engine, and in Godot 4, the built-in physics engine isn't even complete. I just want access to the physics engine so I wouldn't have to implement sub-optimal (and because of my bad math, wrong) integration myself.
Thanks for working on these bindings!

I found out that there is no way to set the force limit for a positional motor on the JoltGeneric6DOFJoint3D

Just to be clear, by positional motors you are referring to springs in this case, right? I haven't exposed positional motors in any other form. Normally Jolt would allow you to make a non-sprung positional motor, but that's not possible with this extension.
I'd be fine with adding a max_force/max_torque to the spring properties. That seems like a fairly innocent addition.

it's kind weird to me that the Jolt-specific JoltGeneric6DOFJoint3D joint doesn't really follow the Jolt API directly

Sure, I get that. The direction of this extension for a good long while now has been to just serve as a drop-in replacement for Godot Physics, no more, no less. In fact, we spent quite some time trying to avoid introducing the Jolt* substitute joints in the first place, so they are mostly there as a compromise, and (largely) tries to stick to the same feature set as the default joints.
In the beginning this was mostly a general direction on my part, and I had planned to fill in some minor gaps in the interface, like the lack of a distance constraint and a fixed constraint, but for the past year or so I've been much more aggressive about this. The reason for this being that this extension has been slated to replace Godot Physics 3D (see this proposal by the Godot production team) as the default physics engine in Godot, and I wanted to avoid (as much as possible) bringing along a bunch of Jolt-specific features in the migration to an engine module, since Jolt will likely end up living side-by-side with Godot Physics as an opt-in experimental option for the foreseeable future, sharing the same physics server interface.
If/when Jolt is eventually made the default physics engine in Godot then there will inevitably be discussions about adding Jolt-specific features, and perhaps even changing/breaking the interface to better adhere to Jolt in general, but it's not clear to me right now how (or to what extent) that will happen exactly.

Hmm, I only see the position motor being described as a spring in Jolt docs:

I think that's just meant to describe the general targeting behavior of the motor. As far as I'm aware you can still give Jolt a spring frequency of zero for a position motor, which will make the constraint as hard as the solver will allow for given the time step and number of solver iterations. I guess it just boils down to semantics though, since that effectively means that no constraint is ever truly not sprung.
I am realizing now though that I actually allowed for (and even defaulted to) a spring frequency of zero, which again will effectively give you a "non-sprung" position motor, so it seems I was mistaken either way.

The max_force and max_torque properties can now be found in the newly released 0.14.0-stable release.
Note that the release on Godot Asset Library is still pending approval, so you might need to download it from GitHub for the time being.