TypeError: Failed to construct 'URL': Invalid URL

When I run gatsby develop, I get the error TypeError: Failed to construct 'URL': Invalid URL.
My guess is that the URL eduardogomez.io is hard coded somewhere but I don't understand Gatsby enough to debug this.

Thanks!

eduardogomez.io is only hardcoded in siteConfig.js and you should change it as I mentioned it in the Readme: https://github.com/eddiesigner/eduardogomez.io#running
Although that is not related to this issue. This Gatsby theme pulls all the navigation links from the Ghost Admin automatically, if you get this error is because one or more of your links there are invalid URLs, you have to make sure of adding valid URLs in your Ghost Admin.
Btw, I modified that block of code so probably is better if you pull those changes first.

eduardogomez.io is only hardcoded in siteConfig.js and you should change it as I mentioned it in the Readme: https://github.com/eddiesigner/eduardogomez.io#running
Although that is not related to this issue. This Gatsby theme pulls all the navigation links from the Ghost Admin automatically, if you get this error is because one or more of your links there are invalid URLs, you have to make sure of adding valid URLs in your Ghost Admin.
Btw, I modified that block of code so probably is better if you pull those changes first.

thanks!

thanks!

OK the issue is probably here

Finally, configure your desired URL in siteConfig.js, so links (e. g. canonical links) are generated correctly. You can also update other default values, such as postsPerPage in this file.

I can't find siteConfig.js. Do I have to create it? Any template we can copy-paste?

Thanks!

OK the issue is probably here

Finally, configure your desired URL in siteConfig.js, so links (e. g. canonical links) are generated correctly. You can also update other default values, such as postsPerPage in this file.

I can't find siteConfig.js. Do I have to create it? Any template we can copy-paste?

Thanks!

I removed and git cloned again the whole project
config

same errors
➜  eduardogomez.io git:(master) ✗ gatsby develop --verbose
verbose set gatsby_log_level: "verbose"
verbose set gatsby_executing_command: "develop"
verbose loading local command from: /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuf
f/eddiesigner/eduardogomez.io/node_modules/gatsby/dist/commands/develop.js
verbose running command: develop

verbose Transition to "initializing"
success open and validate gatsby-configs - 0.073s
warn Plugin gatsby-rehype-prismjs is not compatible with your gatsby version 2.25.3 - It
warn Plugin gatsby-transformer-rehype is not compatible with your gatsby version 2.25.3 - It
success load plugins - 0.876s
success onPreInit - 0.029s
success initialize cache - 0.004s
success copy gatsby files - 0.043s
success onPreBootstrap - 0.014s
verbose Transition to "initializingData"
success createSchemaCustomization - 0.021s
verbose Transition to "initializingData" > "sourcingNodes"
verbose Checking for deleted pages
verbose Deleted 0 pages
verbose Found 0 changed pages
success Checking for changed pages - 0.007s
success source and transform nodes - 3.698s
verbose Transition to "initializingData" > "buildingSchema"
success building schema - 0.458s
verbose Transition to "initializingData" > "creatingPages"
info Total nodes: 771, SitePage nodes: 261 (use --verbose for breakdown)
verbose Number of node types: 13. Nodes per type: SitePage: 261, SitePlugin: 45, Site: 1,
success createPages - 0.406s
verbose Checking for deleted pages
verbose Deleted 0 pages
verbose Found 260 changed pages
success Checking for changed pages - 0.003s
verbose Transition to "initializingData" > "creatingPagesStatefully"
success createPagesStatefully - 0.054s
verbose Transition to "initializingData" > "rebuildingSchemaWithSitePage"
success update schema - 0.028s
verbose Transition to "initializingData" > "writingOutRedirects"
success write out redirect data - 0.002s
verbose Transition to "initializingData" > "done"
verbose Transition to "runningPostBootstrap"
success onPostBootstrap - 0.004s
info bootstrap finished - 8.982s
verbose Transition to "runningQueries"
success onPreExtractQueries - 0.002s
success extract queries from components - 0.389s
verbose Transition to "runningQueries" > "waitingPendingQueries"
verbose Transition to "runningQueries" > "writingRequires"
success write out requires - 0.008s
verbose Transition to "runningQueries" > "calculatingDirtyQueries"
verbose Transition to "runningQueries" > "runningStaticQueries"
success run static queries - 0.016s - 1/1 63.15/s
verbose Transition to "runningQueries" > "runningPageQueries"
success run page queries - 0.641s - 152/152 237.02/s
verbose Transition to "runningQueries" > "waitingForJobs"
verbose Transition to "runningQueries" > "done"
verbose Transition to "startingDevServers"
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
warn develop process needs to be restarted to apply the changes to gatsby-config.js
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
warn develop process needs to be restarted to apply the changes to gatsby-config.js

You can now view eduardogomez.io in the browser.

  http://localhost:8000/

View GraphiQL, an in-browser IDE, to explore your site's data and schema

  http://localhost:8000/___graphql

Note that the development build is not optimized.
To create a production build, use gatsby build

success Building development bundle - 2.108s
verbose Transition to "waiting"
verbose Transition to "waiting" > "committingBatch"
verbose Transition to "waiting" > "rebuild"
verbose Transition to "recreatingPages"
success building schema - 0.357s
verbose Transition to "recreatingPages" > "creatingPages"
warn Non-deterministic routing danger: Attempting to create page: "/writings", but page
"/writings/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/2", but
page "/writings/page/2/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/3", but
page "/writings/page/3/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/4", but
page "/writings/page/4/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/5", but
page "/writings/page/5/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/6", but
page "/writings/page/6/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/7", but
page "/writings/page/7/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/8", but
page "/writings/page/8/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/9", but
page "/writings/page/9/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/10", but
page "/writings/page/10/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/11", but
page "/writings/page/11/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/12", but
page "/writings/page/12/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/13", but
page "/writings/page/13/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/14", but
page "/writings/page/14/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/15", but
page "/writings/page/15/" already exists
info Total nodes: 773, SitePage nodes: 263 (use --verbose for breakdown)
verbose Number of node types: 13. Nodes per type: SitePage: 263, SitePlugin: 45, Site: 1,
success createPages - 0.288s
verbose Checking for deleted pages
verbose Deleted 0 pages
verbose Found 0 changed pages
success Checking for changed pages - 0.006s
verbose Transition to "recreatingPages" > "rebuildingSchemaWithSitePage"
success update schema - 0.023s
verbose Transition to "recreatingPages" > "done"
verbose Transition to "runningQueries"
success onPreExtractQueries - 0.004s
success extract queries from components - 0.073s
verbose Transition to "runningQueries" > "waitingPendingQueries"
verbose Transition to "runningQueries" > "writingRequires"
success write out requires - 0.003s
verbose Transition to "runningQueries" > "calculatingDirtyQueries"
verbose Transition to "runningQueries" > "runningStaticQueries"
success run static queries - 0.011s - 1/1 88.39/s
verbose Transition to "runningQueries" > "runningPageQueries"
success run page queries - 0.643s - 150/150 233.16/s
verbose Transition to "runningQueries" > "waitingForJobs"
verbose Transition to "runningQueries" > "done"
verbose Transition to "waiting"

I removed and git cloned again the whole project
config

same errors
➜  eduardogomez.io git:(master) ✗ gatsby develop --verbose
verbose set gatsby_log_level: "verbose"
verbose set gatsby_executing_command: "develop"
verbose loading local command from: /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuf
f/eddiesigner/eduardogomez.io/node_modules/gatsby/dist/commands/develop.js
verbose running command: develop

verbose Transition to "initializing"
success open and validate gatsby-configs - 0.073s
warn Plugin gatsby-rehype-prismjs is not compatible with your gatsby version 2.25.3 - It
warn Plugin gatsby-transformer-rehype is not compatible with your gatsby version 2.25.3 - It
success load plugins - 0.876s
success onPreInit - 0.029s
success initialize cache - 0.004s
success copy gatsby files - 0.043s
success onPreBootstrap - 0.014s
verbose Transition to "initializingData"
success createSchemaCustomization - 0.021s
verbose Transition to "initializingData" > "sourcingNodes"
verbose Checking for deleted pages
verbose Deleted 0 pages
verbose Found 0 changed pages
success Checking for changed pages - 0.007s
success source and transform nodes - 3.698s
verbose Transition to "initializingData" > "buildingSchema"
success building schema - 0.458s
verbose Transition to "initializingData" > "creatingPages"
info Total nodes: 771, SitePage nodes: 261 (use --verbose for breakdown)
verbose Number of node types: 13. Nodes per type: SitePage: 261, SitePlugin: 45, Site: 1,
success createPages - 0.406s
verbose Checking for deleted pages
verbose Deleted 0 pages
verbose Found 260 changed pages
success Checking for changed pages - 0.003s
verbose Transition to "initializingData" > "creatingPagesStatefully"
success createPagesStatefully - 0.054s
verbose Transition to "initializingData" > "rebuildingSchemaWithSitePage"
success update schema - 0.028s
verbose Transition to "initializingData" > "writingOutRedirects"
success write out redirect data - 0.002s
verbose Transition to "initializingData" > "done"
verbose Transition to "runningPostBootstrap"
success onPostBootstrap - 0.004s
info bootstrap finished - 8.982s
verbose Transition to "runningQueries"
success onPreExtractQueries - 0.002s
success extract queries from components - 0.389s
verbose Transition to "runningQueries" > "waitingPendingQueries"
verbose Transition to "runningQueries" > "writingRequires"
success write out requires - 0.008s
verbose Transition to "runningQueries" > "calculatingDirtyQueries"
verbose Transition to "runningQueries" > "runningStaticQueries"
success run static queries - 0.016s - 1/1 63.15/s
verbose Transition to "runningQueries" > "runningPageQueries"
success run page queries - 0.641s - 152/152 237.02/s
verbose Transition to "runningQueries" > "waitingForJobs"
verbose Transition to "runningQueries" > "done"
verbose Transition to "startingDevServers"
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
warn develop process needs to be restarted to apply the changes to gatsby-config.js
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info formatted file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesigner
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
info eslint fixed file at /Volumes/960G/_pascalandy/11_FirePress/Github/random-stuff/eddiesig
warn develop process needs to be restarted to apply the changes to gatsby-config.js

You can now view eduardogomez.io in the browser.

  http://localhost:8000/

View GraphiQL, an in-browser IDE, to explore your site's data and schema

  http://localhost:8000/___graphql

Note that the development build is not optimized.
To create a production build, use gatsby build

success Building development bundle - 2.108s
verbose Transition to "waiting"
verbose Transition to "waiting" > "committingBatch"
verbose Transition to "waiting" > "rebuild"
verbose Transition to "recreatingPages"
success building schema - 0.357s
verbose Transition to "recreatingPages" > "creatingPages"
warn Non-deterministic routing danger: Attempting to create page: "/writings", but page
"/writings/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/2", but
page "/writings/page/2/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/3", but
page "/writings/page/3/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/4", but
page "/writings/page/4/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/5", but
page "/writings/page/5/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/6", but
page "/writings/page/6/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/7", but
page "/writings/page/7/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/8", but
page "/writings/page/8/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/9", but
page "/writings/page/9/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/10", but
page "/writings/page/10/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/11", but
page "/writings/page/11/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/12", but
page "/writings/page/12/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/13", but
page "/writings/page/13/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/14", but
page "/writings/page/14/" already exists
warn Non-deterministic routing danger: Attempting to create page: "/writings/page/15", but
page "/writings/page/15/" already exists
info Total nodes: 773, SitePage nodes: 263 (use --verbose for breakdown)
verbose Number of node types: 13. Nodes per type: SitePage: 263, SitePlugin: 45, Site: 1,
success createPages - 0.288s
verbose Checking for deleted pages
verbose Deleted 0 pages
verbose Found 0 changed pages
success Checking for changed pages - 0.006s
verbose Transition to "recreatingPages" > "rebuildingSchemaWithSitePage"
success update schema - 0.023s
verbose Transition to "recreatingPages" > "done"
verbose Transition to "runningQueries"
success onPreExtractQueries - 0.004s
success extract queries from components - 0.073s
verbose Transition to "runningQueries" > "waitingPendingQueries"
verbose Transition to "runningQueries" > "writingRequires"
success write out requires - 0.003s
verbose Transition to "runningQueries" > "calculatingDirtyQueries"
verbose Transition to "runningQueries" > "runningStaticQueries"
success run static queries - 0.011s - 1/1 88.39/s
verbose Transition to "runningQueries" > "runningPageQueries"
success run page queries - 0.643s - 150/150 233.16/s
verbose Transition to "runningQueries" > "waitingForJobs"
verbose Transition to "runningQueries" > "done"
verbose Transition to "waiting"

I see, that's just the name of the project, you can change it in the package.json file.

I see, that's just the name of the project, you can change it in the package.json file.

I will close this issue now, please feel free to reopen it if needed.

I give up at this point. Stil can't compile the project :-/


Installations file

Is your feature request related to a problem? Please describe.

This file will contain all the installation guidelines, written in readme file.
This issue will enhance Readme and make it look simpler and cleaner.

Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi @Suryansh1720001 , i think @utkarsh006  referencing about creating an installation.md file. As New features keep on adding. complexity of the project may increase to avoid the installation issues in different local system. I would like to add this file to the repo. So, it would help future Contributors to set up project easily in their local system. can you please assign me this issue.

Hello @utkarsh006,
I wanted to inform you that it is not necessary to add another file for installation. We already have a contribution.md file.
Thank you for your understanding.


Shorten the longest path

adress #1756
Shorten the longest path  by reducing the sdm folder name and the __ro…ot_folder name

LGTM. What about "data_node_management.py" > "data_node_page.py"?

Since it is not a page, I believe it is confusing. No?
what about data_node_mgt.py

Yes, why not. Maybe, in the future, we will be able to delete this script, as you will be able to upload data with the data node viewer

Oh, you are right. And we can already do it in development, right? Did you test it?
If it works, let's create an issue to remove this partial file.

I did not test it; on my way!


Antergos arch based system

I have tried your script today, installed from AUR. I'm running airvpn on the command line. When  I connect to the server it seems nothing is happening. I mean nothing saved in /etc/hosts, /etc/resolv.conf  is not updated, neither my iptables rules. But no errors in the console when I 'm connecting to my VPN, and no sign of vpnfailsafe on stdout. When I run the script alone it reports an error : ./vpnfailsafe.sh: ligne 26: untrusted_ip : variable sans liaison (variable without link), but maybe it's normal. T
Wed Nov 30 20:59:00 2016 OpenVPN 2.3.13 x86_64.txt
My interface is dev tun.
I have modified my connection scripts to include vpnfaisafe, so can you tell me what I did wrong ?

Hi Gus. It seems from the log you attached, that vpnfailsafe.sh is not being executed at all. Are you sure your config file contains the necessary entries for vpnfailsafe ? Please paste/attach your config and the command line you're using to start OpenVPN. You can of course ommit any keys, or information you'd rather not share publicly from the config.

Here is my command line :
sudo openvpn --config .ovpnAirVPN_United-Kingdom_UDP-443
Here is my connection config file :
AirVPN_Switzerland_UDP-443.txt

I'm sorry, I closed and reopen the issue

The file looks fine, but I noticed you're using the config for the UK in your OpenVPN invocation and the config file you attached is for Switzerland. That would explain why vpnfailsafe is not being executed - the config for the UK probably doesn't refer to vpnfailsafe. Is that the issue here ?

No, no it's OK . I'm running different servers but all have these lines 👍
script-security 2
up /etc/openvpn/vpnfailsafe.sh
down /etc/openvpn/vpnfailsafe.sh
And the vpnfailsafe script is present in the right place.
I don'nt understand why the script is not executed.
Anyway thank you so much for your help !

Well, let's not give up right away. There's probably a simple explanation. Let me try a few things, maybe I'll come up with something...

I was used to Sysv init scripts (ifup, ifdown) and systemd is a bit new for me. I even do not know how to manage this in Archlinux (or Antergos).

The config and the log don't point to any obvious problems (other than the bizarre config filename with the extension at the beginning). I thought I could get a trial account at AirVPN to test this myself, but those are not available automatically (you have to send an email requesting one).
I assume OpenVPN would complain if it couldn't execute the script for whatever reason, so that's probably not it.
Have you tried using a test script, that just prints some text to stdout, in place of vpnfailsafe ? If that works, you could rename it to /etc/openvpn/vpnfailsafe.sh and see what happens. Work it out from there...
As for systemd - yeah, it's a shame all distros followed red hat and jumped off that cliff, but we have to live with it now. You can start your VPN tunnel by placing a modified version of<EMAIL_ADDRESS>in /etc/systemd/system/multi-user.target.wants/ under an appropriate name. The details are easily googlable.
Let's keep this issue open. I'll try to get that trial.

I have tried your trick replacing vpnfailsafe.sh with a script printing Hello! on stdout but nothing new is echoed, so I deleted the script file, keeping the line that invoke it and openvpn is not complaining.
So ?

I just find a simple solution in adding --script-security 2 --up /etc/openvpn/vpnfailsafe.sh at the end of my command line (sudo openvpn --config .....). Apparently the script when invoked in the config file do not run.
I'll have to create an alias  if I do not want to fall asleep during typing the connection line. Thank you for all

Another issue happened 👍
RTNETLINK answers: File exists
Thu Dec  1 00:04:55 2016 ERROR: Linux route add command failed: external program exited with error status: 2
when run the connection command.

The second thing is not a problem, as explained here.
But the behavior of OpenVPN on your box is weird. I'm running what seems to be the exact same package and when I configure a non-existent up/down script, or one that's not executable, OpenVPN exits immediately after starting, with an accurate error message. That doesn't happen on your machine... Have you tried different locations for those files ? Maybe on another filesystem ?
And properly configured scripts are not executed at all ? This is really strange.
You could strace OpenVPN and see what it's actually doing when an up/down script is supposed to be executed, or just report a bug against OpenVPN, including the "hello world" testcase (the site seems to be down at the moment ;/).

What does which openvpn say ?

which openvpn
/usr/bin/openvpn
I don't know if you really understood what I explained in my previous comments (maybe my explanations are not so clear!). The script is run only if I add --script-security 2 --up /etc/openvpn/vpnfailsafe.sh at the end of the command line for connecting to vpn server. None of the scripts called in server.ovpn are run with no complaint from openvpn when they are not present. Logically it's normal for up script because the tun0 connection must be established before the script is run. But for the down script I did not find  a way to call it yet. More surprising if I stop the vpn connection when I connect with --script-security 2 --up /etc/openvpn/vpnfailsafe.sh option Internet is no more accessible.

By the way my box is a new one with a fresh install of Antergos and openvpn 2.3.13-1. No mess. Thank you again for your help.

No problem GusRath.
What I meant was, that it should work with up/down scripts configured in the config file. There should be no need to pass that on the command line. It seems like an OpenVPN bug, or an issue with the OpenVPN build in your distro, or (most likely) the environment. But since you're using those command line options anyway - you can (and should) pass both the --up and --down options at the same time:
openvpn --script-security 2 --up /etc/openvpn/vpnfailsafe.sh --down /etc/openvpn/vpnfailsafe.sh --config your_config_file

Hello wknapik.
This morning I tried to run vpnfailsafe script from within the config file and it works! Didn't change anything since last night. Just rebooting my PC. I am keeping some errors when vpnfailsafe is running /usr/bin/ip route add but your program is working fine : no more internet when vpn is down. I attach the console messages of openvpn. Can you tell me if these errors are significant, (I guess so) ?

openvpnStdout.txt

Hi Gus. I'm glad things are working for you. As mentioned in the README, the RTNETLINK errors are nothing to worry about:

"RTNETLINK answers: File exists" errors can be ignored safely. They appear when OpenVPN tries to set up a route, that's already been created by vpnfailsafe. Adding the "route-noexec" option will tell OpenVPN to leave routing to vpnfailsafe and prevent those errors from appearing.

You can suppress them, or just leave your config as-is - either way vpnfailsafe is working correctly :)

I'd like to tell you how your help was great for me. Have a nice day.

Thanks GusRath :) Glad I could help :)


java release notes and missing versions added

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the CODEOWNERS.
What Type of PR is This?

[ ] Issue
[ ] Feature
[X] Maintenance/Chore

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65e8984487767017e42336b0--harness-developer.netlify.app


Tracing-related issue on multi-node GPU run

I am encountering an issue related to tracing.  I am running the HTR code, and the failure occurs only on GPUs (Lassen@LLNL) when running across multiple nodes.  It does not occur running on multiple GPUs on the same node.  When I compile Legion with DEBUG=1 and re-run HTR, I get the following error message:
prometeo_CH41StMix_lassen.exec: /usr/WS1/wang83/build/legion-gpu-2021-08-10-debug/runtime/legion/legion_replication.cc:954: virtual void Legion::Internal::ReplIndexTask::finish_index_task_reduction(): Assertion `!reduction_instances.empty()' failed.

The gdb backtrace gives the following:
#0  0x00007ffff2f9eb88 in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffff2f9e8bc in __sleep (seconds=0) at ../sysdeps/unix/sysv/linux/sleep.c:137
#2  0x00007ffff61c2f18 in Realm::realm_freeze (signal=6) at /usr/WS1/wang83/build/legion-gpu-2021-08-10-debug/runtime/realm/runtime_impl.cc:177
#3  <signal handler called>
#4  0x00007ffff2effcb0 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:55
#5  0x00007ffff2f0200c in __GI_abort () at abort.c:90
#6  0x00007ffff2ef57d4 in __assert_fail_base (fmt=0x7ffff305b6d0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x7ffff7158850 "!reduction_instances.empty()",
    file=0x7ffff7158550 "/usr/WS1/wang83/build/legion-gpu-2021-08-10-debug/runtime/legion/legion_replication.cc", line=<optimized out>, function=<optimized out>) at assert.c:92
#7  0x00007ffff2ef58c4 in __GI___assert_fail (assertion=0x7ffff7158850 "!reduction_instances.empty()", file=0x7ffff7158550 "/usr/WS1/wang83/build/legion-gpu-2021-08-10-debug/runtime/legion/legion_replication.cc", line=<optimized out>,
    function=0x7ffff715c840 <Legion::Internal::ReplIndexTask::finish_index_task_reduction()::__PRETTY_FUNCTION__> "virtual void Legion::Internal::ReplIndexTask::finish_index_task_reduction()") at assert.c:101
#8  0x00007ffff578b078 in Legion::Internal::ReplIndexTask::finish_index_task_reduction (this=0x7fff702a9e20) at /usr/WS1/wang83/build/legion-gpu-2021-08-10-debug/runtime/legion/legion_replication.cc:954
#9  0x00007ffff578a800 in Legion::Internal::ReplIndexTask::trigger_replay (this=0x7fff702a9e20) at /usr/WS1/wang83/build/legion-gpu-2021-08-10-debug/runtime/legion/legion_replication.cc:838
#10 0x00007ffff4fa4838 in Legion::Internal::MemoizableOp<Legion::Internal::SpeculativeOp>::execute_dependence_analysis (this=0x7fff702a9fd0) at /usr/WS1/wang83/build/legion-gpu-2021-08-10-debug/runtime/legion/legion_ops.inl:355
#11 0x00007ffff5145600 in Legion::Internal::InnerContext::process_dependence_stage (this=0x7fff60072200) at /usr/WS1/wang83/build/legion-gpu-2021-08-10-debug/runtime/legion/legion_context.cc:7743
#12 0x00007ffff5154be0 in Legion::Internal::InnerContext::handle_dependence_stage (args=0x7fff702da800) at /usr/WS1/wang83/build/legion-gpu-2021-08-10-debug/runtime/legion/legion_context.cc:10722
#13 0x00007ffff59f1ae8 in Legion::Internal::Runtime::legion_runtime_task (args=0x7fff702da800, arglen=12, userdata=0x1919fb70, userlen=8, p=...) at /usr/WS1/wang83/build/legion-gpu-2021-08-10-debug/runtime/legion/runtime.cc:31127
#14 0x00007ffff6668fe8 in Realm::LocalTaskProcessor::execute_task (this=0x19758f40, func_id=4, task_args=...) at /usr/WS1/wang83/build/legion-gpu-2021-08-10-debug/runtime/realm/proc_impl.cc:1131
#15 0x00007ffff63a4584 in Realm::Task::execute_on_processor (this=0x7fff702da680, p=...) at /usr/WS1/wang83/build/legion-gpu-2021-08-10-debug/runtime/realm/tasks.cc:306
#16 0x00007ffff63a9644 in Realm::KernelThreadTaskScheduler::execute_task (this=0x197592b0, task=0x7fff702da680) at /usr/WS1/wang83/build/legion-gpu-2021-08-10-debug/runtime/realm/tasks.cc:1380
#17 0x00007ffff63a81d4 in Realm::ThreadedTaskScheduler::scheduler_loop (this=0x197592b0) at /usr/WS1/wang83/build/legion-gpu-2021-08-10-debug/runtime/realm/tasks.cc:1127
#18 0x00007ffff63a8750 in Realm::ThreadedTaskScheduler::scheduler_loop_wlock (this=0x197592b0) at /usr/WS1/wang83/build/legion-gpu-2021-08-10-debug/runtime/realm/tasks.cc:1231
#19 0x00007ffff63b48f4 in Realm::Thread::thread_entry_wrapper<Realm::ThreadedTaskScheduler, &Realm::ThreadedTaskScheduler::scheduler_loop_wlock> (obj=0x197592b0)
    at /usr/WS1/wang83/build/legion-gpu-2021-08-10-debug/runtime/realm/threads.inl:97
#20 0x00007ffff6365e28 in Realm::KernelThread::pthread_entry (data=0x7fff740a8450) at /usr/WS1/wang83/build/legion-gpu-2021-08-10-debug/runtime/realm/threads.cc:774
#21 0x00007ffff2e58cd4 in start_thread (arg=0x7ffecffef8b0) at pthread_create.c:309
#22 0x00007ffff2fe7e14 in clone () at ../sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S:104`

Pull and try again.

Thank you Mike.  We longer see the error reported previously, but we still observe non-deterministic hangs when running on multiple nodes.  The error is not caught when using Legion in debug mode.  Mario Di Renzo would be able to reproduce this issue on Sapling if necessary.

Try running with -ll:defalloc 0 and see if the hang goes away. If not then have @mariodirenzo make a reproducer on sapling.


[10.x] Add updateMany method to Builder

Suppose you want to update some records, most of the time you act like this:
$user1 = User::query()->findOrFail(1);
$user2 = User::query()->findOrFail(2);
$user3 = User::query()->findOrFail(3);

$user1->update(['name' => 'milwad']);
$user2->update(['name' => 'milwad']);
$user3->update(['name' => 'milwad']);

OR maybe do a little better:
User::query()->whereIn('id', [1, 2, 3])->update(['name' => 'milwad']);

But it is a bit boring compared to methods like insert.
With updateMany method can update multi records in one line:
User::query()->updateMany([1, 2, 3], ['name' => 'milwad']);

** Note ** The default column of updateMany is id, you can change it if you want!
User::query()->updateMany(['milwad', 'taylor'], ['name' => 'laravel'], 'name');

I don't see any issues using this code
User::query()->whereIn('id', [1, 2, 3])->update(['name' => 'milwad']);

This is more readable to me.
More alias methods means more learning curve, increase audits, increase framework maintenance.

@ankurk91
This is just shorter than:
User::query()->updateMany([1, 2, 3], ['name' => 'milwad']);
User::query()->whereIn('id', [1, 2, 3])->update(['name' => 'milwad']);

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


Improve dashboard displaying telemetry from old projects

The dropdown on the Semantic Logs page is driven by services reported in OTLP. Each .NET project maps to a service with a configured service name and service instance id.
That's done here:
https://github.com/dotnet/astra/blob/835e1634a8d36bee67755c611b149711b6d37482/samples/Conventions/Extensions.cs#L43-L50
It's possible to create duplicate resources by running the aspire project multiple times with Ctrl+F5:

The service for the project has a different instance id so shows up as a different item in the dropdown.
For example, Ctrl+F5 launches the dashboard with its set of apps and they report telemetry to the dashboard which it saves. Then Ctrl+F5 is used again to launch apps again. They have new instance ids and data shows up with a duplicate name in the dropdown.
Possible fixes:

The instance id is generated in the hosting model and passed to the projects using an env var. Then only known projects are shown in the dropdown. Telemetry from other apps (perhaps they're out of date and running in the background) can't be viewed.

Pros: Pretty simple and foolproof. Only telemetry from projects the dashboard knows about is visible. Data from old projects isn't displayed.
Cons: Can't display telemetry from other sources, e.g. containers. Is that desirable? Might be able to use the same pattern to support containers/executables.

Another option is to merge telemetry from application instances together. That doesn't seem desirable to me, especially if they end up running side-by-side.
Some kind of hybrid model where known projects are displayed at the top of the dropdown with an icon and other unknown services are displayed below.

Unfortunately, fluent blazor doesn't support optgroups 😢
Maybe display older telemetry as MyFrontend (old dotnet/aspire-private-planning#1), MyFrontend (old dotnet/aspire-private-planning#2)
Need to consider memory usage. If old telemetry sticks around then it could use up a lot of memory over time.

What do you think we should do here @JamesNK ?

I think the original PR - https://github.com/dotnet/aspire/pull/402 - has merit:

If the solution has resources, then only display telemetry for resources (the difference is resources are coming from service instead of DCP)
If the solution doesn't have resources, then there is no filtering of telemetry.

I think we have a reasonable solution now then, now that it is possible to use the dashboard with and without a resource server. As long as the OTLP server accounts for that then yeah.

I'm confused. The problem used to be that multiple items showed up in telemetry if the dashboard hung around. See original screenshot.
Is that no longer a problem? If it isn't then there isn't a need to do anything.

I don't know if it is still a problem. I haven't seen it recently.

Ok! If everything is working, then I'll close. If it becomes a problem then we can revisit.

It might be a problem when the dashboard is hosted externally. It will be persistent in those cases


missing locale support for option texts and mess up in rtl languages

Hi, I use bot composer 2.1 with several languages.
In some of the languages, the yes/no options generated from bot are in the selected language. In others languages, they always are in English.
For example Spanish, German, French is fine but in Italian, Russian, Hebrew, Arabic, always "(1) Yes / (2) No" is generated.
Would be nice if we at least would get an option to store those options in target languages somewhere in common.lg or somewhere else.
And in rtl languages like Arabic or Hebrew, the output looks messed up like "Yes / (2) No (1)" while 1 is yes and 2 is no - but if I copy that in an translater it is translated correctly. I'm not sure about as I'm not an rtl-expert, but can't imagine how this can be correct. (yellow marks in screenshot)

Version:  2.1.0
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0

Hi, I use bot composer 2.1 with several languages.
In some of the languages, the yes/no options generated from bot are in the selected language. In others languages, they always are in English.
For example Spanish, German, French is fine but in Italian, Russian, Hebrew, Arabic, always "(1) Yes / (2) No" is generated.

Correct. You can see that in the ConfirmInput, that we only have a set amount of languages preconfigured.
You could add those languages to your own build of that class/library, then use that in your bot. Additionally; you could add the changes and submit a PR for that. I don't know if just adding additional lines/languages would be enough. i.e. If there are other aspects that need to be in place regarding other languages, but it might be worth a try.

Would be nice if we at least would get an option to store those options in target languages somewhere in common.lg or somewhere else.

I do agree that would be nice. Please open a feature request with this suggestion to see if it would be considered.

And in rtl languages like Arabic or Hebrew, the output looks messed up like "Yes / (2) No (1)" while 1 is yes and 2 is no - but if I copy that in an translater it is translated correctly. I'm not sure about as I'm not an rtl-expert, but can't imagine how this can be correct. (yellow marks in screenshot)

I think this would be easy enough if configuring those additional languages; you would just flip the order. (maybe not the best design, but would work in a pinch).

Closing as answered. Feel free to open a feature request as needed.


Allowing frog to move with arrow keys in FoodChain activity

I did the necessary changes @llaske requested to be made

Also, I have tested new changes at my end, it doesn't seem to work. I couldn't able to move frog by arrows keys.

Actually i am new to the codebase, can u help me in here? Where did I make a mistake?

Your fix works. Thanks.
BTW you should not send PR on the master branch. See https://github.com/llaske/sugarizer/blob/dev/CONTRIBUTING.md
I've merged it manually in dev branch here https://github.com/llaske/sugarizer/commit/9630d2973641b13e86db7992c97fe3b794f08257

point noted @llaske , won't do the same mistake again :)


Document the support of mixed protocol values in the LoadBalancer type of Services

This PR is to document the support of mixed protocol values in the LoadBalancer type of Services
This is for the kubernetes/enhancement: https://github.com/kubernetes/enhancements/issues/1435
kubernetes/kubernetes PR: https://github.com/kubernetes/kubernetes/pull/94028

/milestone 1.20
/sig network
/cc @kcmartin
/hold pending merge kubernetes/kubernetes#94028

@janosi --  would you please add your feature to the Feature Gates list, here:
https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/#feature-gates-for-alpha-or-beta-features

/assign @kcmartin

Hi @janosi :
Friendly reminder that you'll need to add your feature to the Feature gates list:
https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/#feature-gates-for-alpha-or-beta-features

Hello @annajung  @kcmartin The k/k PR has been merged. I updated this PR with the requested change on the feature gate list.

/hold cancel
k/k pr merged

Page preview https://5fb4295599c0e600085b179b--kubernetes-io-vnext-staging.netlify.app/docs/concepts/services-networking/service/#load-balancers-with-mixed-protocol-types
/lgtm

/approve


Two issues with Socket.wait()

Hi there,
I've been doing some work on the Kitura project and in sketching out some ideas for performance optimizations I've found what I think are a couple of issues / improvements to be made to  Socket.wait():
First:
In the wait() function a time is initialized:
var timer = timeval()

Some code following this computes a time based on the timeout UInt that gets passed to wait() in the event that timeout is greater than 0.
If, however, you pass 0 as a timeout (to NOT use a timeout at all and just select() forever), the result is that select() instantly returns as the timer fires immediately.
So I would suggest modifying this line:
let count = select(highSocketfd + 1, &readfds, nil, nil, &timer)

With some code that passes nil in place of &timer in the event that a 0 timeout is passed to the wait() function.
Secondly:
At the start of wait() the sockets in the socket group are looped and any socket with an invalid descriptor causes an exception to throw. All good.
The problem is that each socket is also checked for "isConnected" and any sockets where isConnected = false also throw an exception.
This basically means you can't use wait() to monitor sockets that are both signalling that data is ready to be read AS WELL as listen() sockets waiting for connections (which are technically not connected).
So, I'd suggest changing this one piece of code:
if !socket.isConnected {
   throw Error(code: Socket.SOCKET_ERR_NOT_CONNECTED, reason: nil)
}

To:
if !socket.isConnected && !socket.isListening {
   throw Error(code: Socket.SOCKET_ERR_NOT_CONNECTED, reason: nil)
}

This would allow listen() sockets to be bundled in to the select(). Most helpful!
I'd open a PR but I'm knee deep in toolchain 2016-06-05 right now and I see BlueSocket is already tagged ahead to a 2016-06-20 dependency.

No problem. I'm on vacation this week but will try to find some time to take a look. Thanks.

In order to not lose existing functionality to allow a quick check (i.e. check and return immediately), I've modified the API so that we can do both, the quick check plus the indefinite wait.
	///
	/// Monitor an array of sockets, returning when data is available or timeout occurs.
	///
	/// - Parameters:
	///		- sockets:		An array of sockets to be monitored.
	///		- timeout:		Timeout (in msec) before returning.  A timeout value of 0 will return immediately.
	///		- waitForever:	If true, this function will wait indefinitely regardless of timeout value. Defaults to false.
	///
	/// - Returns: An optional array of sockets which have data available or nil if a timeout expires.
	///
	public class func wait(for sockets: [Socket], timeout: UInt, waitForever: Bool = false) throws -> [Socket]?

Looks great, thanks! -d


should we use an ORM for express

Context
As a developer,
I want to stop to write sql request manually,
In order to be more productive.
Expected Behavior
Migrate the backend typeORM.
Acceptance Criteria
No more sql request and only use typeORM.

ticket not relevant for today, will come back later if really necessary


Add a patch to run gnarl on boards without OLED module

In particular this module
Otherwise it will hang randomly.

I have updated this to the latest master. Seems to work even better now with Loop & Medtronic pump.

I would prefer an approach that uses OLED_ENABLE in the lib/oled library code, rather than in the gnarl "application code" -- that way the other applications would also work without a display. Basically an #ifdef around all of oled.c, with dummy definitions of all the functions in the #else branch.

Like this?

Applied to dev branch, thanks.


zipfile.BadZipFile: File is not a zip file

Hello Martin, hope you are doing great!
I am running your script in python3.9 to pass amplitude events and properties into bigquery but I get this error "zipfile.BadZipFile: File is not a zip file", on Windows,
could you please support how to fix this?,

Have you installed the right libraries before running the script?


View songs/albums artwork

As a user I want to be able to view the original artwork of songs and albums

Not the standard user story format


tcmalloc can have pretty large memory fragmentation (was: TCMalloc could hold most of the memory useless.)

I'm working on an application which memory limits about 500MB(FLAGS_tcmalloc_heap_limit_mb). It just malloc in two size, and free randomly.
Consider the following scenario:

#define TCMALLOC_LARGE_PAGES64K, and run in multi-thread environment.(for example 10 threads).

Always malloc 128 bytes(class 9) every thread until it can't allocate(malloc returns NULL). It means central_cache()[9] will New lots of Spans with 1 page size(64KB) --> fetched by ThreadCache --> application.

Now, ThreadCache is empty, and Spans above is empty too.

Free these memory randomly. It means application --> ThreadCache->list_[9] --> release to central_cache()[9].

Finally, ThreadCache->list_[9] hold some memory which belong Span for cache. It causes the Span->refcount != 0, so many Spans can't be Delete in ReleaseToSpans().

Each Span hold 1 Page(64KB) at least, so, such as, if one ThreadCache->list_[9] hold 500 blocks --> It could hold 400 Spans --> hold 400 pages --> 400*64KB = 25MB. And we have 10 threads. 25MB *10 = 250MB memory that can't be use in other class.

But we limits 500MB for TCMalloc, If then I don't need to malloc 128 bytes, but malloc 65536 bytes (class 72) for other purposes. I can't use entire 500MB memory, but 250MB only.
That would be a big waste?

This is more obvious in the multi thread environment, any idea for it? Thanks.

You're right. In worth case and even in some real-world cases tcmalloc can fragment memory a lot. This is also true (sometimes to lesser extend) about any malloc implementation. jemalloc could be even worse in some cases and better in some other cases.
glibc malloc which is still somewhat based on Doug Lea's malloc is actually decent w.r.t. dealing with corner cases, but it may still fragment memory a lot sometimes.
If your app triggers some hard corner cases for malloc implementations, then only advice I can give you is to adapt your app somehow.

Thanks for your reply.
It's a bad news.I have to do something to kick ThreadCache and TCEntry in some case.
Another way, I have read the source code of TCMalloc entirely.
And I'm thinking about is there any chance to disable/reduce the TCEntry to decrease span holding but not slow so much?
I noticed that the Span>objects is a simple freelist in single linked list, fetched by a range/release one by one.
It could be contained more data structure when the object size > 8 bytes.
According to the idea of skip list, I have tried to organize it into a skip list node for range fetching.
Unfortunately, you know, the skiplist has an excellent lookup performance,
but prepend is slow relatively because it has to maintain several levels.
And the level is limitted by objects size: a smaller objects has longer freelist, but has lower levels.
on average, skiplist has a better performance when the span->objects is long enough(in my test, pagesize == 64kb and the size of object < 256).
so, I have to try to organize it into a tiny, alterative skip list which level is just 2, with a tail pointer and a "objects length" field.
like this:

It balanced the lookup and prepend operation, and when the number of fetching objects >= list length, It can be removed directly.
In my random "fetch from" and "release to" span testing, It can speed up about 20 ~ 30%.
Maybe, it's a good idea.
It needs more about 10-12 bytes in 64bit system for tail pointer and length field each Span.
(May be we can compact Span->length from uintptr_t to uint32_t or uint16_t to save some memory?)

You can disable thread cache if that's a problem for you. Just build with -DTCMALLOC_SMALL_BUT_SLOW. But it will not in general affect worst cases of fragmentation as far as I understand. That worst case fragmentation occurs from spans that have most but not all objects free and we need objects of other size class. And that doesn't look like something that can be fixed with improved freelists representation.
Regarding this idea, I was thinking about something along this lines but very different. But didn't have time in last months to actually implement this stuff. All I have is some prototyping code that I used to see how quick and compact the code could be. And so far it looks promising. It can be seen here: https://gist.github.com/alk/09a387957fc78aa25b29
The idea is inspired by "binary representations" chapter from Okasaki's "Purely Functional Data Structures" book.
My thinking so far is that this representation has chance to be fast for "push/pop one object" case and for "get N objects" and for "add N objects". With all cases doing just few memory accesses. Only needing two words per object and some manageable overhead for per-thread freelists, transfer caches (which in this case could be just single free-list per size class and per-cpu I think) and free lists in spans.
But all that needs more work and I could be wrong. In new few months I'm unlikely to have time to work on this idea.
In any case, feel free to pursue idea of skip lists if you think it'll work fine.


ASO-3287: update email-service documentation

Updated console section in header 5.
Added sub-sections for verification process.
Updated existing documentation to reflect new changes.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@CS-Ashwin-Joshi Could you please follow the comment above and sign the CLA? Thank you in advance.

@CS-Ashwin-Joshi Our doc stack is upgraded and all files have been restructured. To avoid all the administration in this existing PR, I brought the changes to PR4300. From now on, let's collaborate using this new PR.


Adding empty template to loco-cli

Today we have the following templates:

saas
stateless

We can add an empty template that generates a clean website started (without controllers, task, mailers etc...)

The concept behind an empty template revolves around empty controllers, tasks, and other components. The sole entry points provided by the starter are the default local routes, namely, 'ping' and 'healthy'.
How does this sound?


Add repositories for each helmfile as needed so it passes lint in a clean environment

Signed-off-by: Gavin Mogan<EMAIL_ADDRESS>

Normally with helm v2 we used this configuration file helmfile.d/00-repositories.yaml to define helm repositories but I don't see a good way to do it without duplicating repository configuration in every helmfile at

@olblak the advantage of doing it per helmfile.d, is no longer worry about collisions, and when you delete a helm file, that repo won't be re-added.
helm3 just no longer includes stable by default
I'm not sure why linting worked in the past for things like loki cause the repositories don't seem to be loaded early enough. I wonder if lint or helmfile changed.


🎉 5.0.1

ℹ About this release

Version: 5.0.1
Type: patch
Last Release: 5.0.0 (8/26/2024, 6:46:29 PM) [?]
Commits to merge: 6 [?]

🐛 Bug Fixes

Fix tsup config / bundled modules (92bfa4c)
Try to fix Dynamic require of "child_process" is not supported (94ceb4c)
Try to fix Dynamic require of "child_process" is not supported II (96c4a29)

📦 Development Dependencies

Update @eslint/js from ^9.9.0 to ^9.9.1
Update eslint from ^9.9.0 to ^9.9.1
Update tsx from ^4.16.2 to ^4.19.0

:tada: This issue has been resolved in version 5.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release
v5.0.1

Your semantic-release bot :package::rocket:


All station DAO tests have passed

I had to change the mappings in the Business and Station beans.
Additional changes will have to be made to other beans in order for the
database to operate properly.

Could you take care of the TODOs I added in OrderItem.java and Rating.java before I merge this?


My first git pull request

adding Hello World for this first time.

[ ] review change
[ ] get signoff

@eddie9956 Nice caption. How about adding a comment to the pic?


warnUndeclaredOptions warns about packageOverrides

Describe the bug
A clear and concise description of what the bug is.
Steps To Reproduce

Add nixpkgs.config.warnUndeclaredOptions = true; to nixos config;
Add nixpkgs.config.packageOverrides = pkgs: {}; to nixos config;
nixos-rebuild build

Output: trace: warning: undeclared Nixpkgs option set: config.packageOverrides
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
❯ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.32-hardened1, NixOS, 24.05 (Uakari), 24.05.3164.63d37ccd2d17`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.5`
 - channels(nix): `""`
 - channels(root): `"home-manager-24.05.tar.gz, nixos-24.05, nixos-hardware, nixos-unstable, nur"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a :+1: reaction to issues you find important.

packageOverrides should be deprecated anyway 😅

It's superseded by overlays?
I just copy-pasted it from NUR installation instruction.

yes, overlays actually compose properly.

I guess something like this should fix the issue?
diff --git a/pkgs/top-level/config.nix b/pkgs/top-level/config.nix
index 67a9a60dbaea..372b0e5244df 100644
--- a/pkgs/top-level/config.nix
+++ b/pkgs/top-level/config.nix
@@ -162,6 +162,15 @@ let
         Whether to check that the `meta` attribute of derivations are correct during evaluation time.
       '';
     };
+
+    packageOverrides = mkOption {
+      type = types.functionTo (types.anything);
+      description = ''
+        Function taking set of packages and returning transformed set of packages.
+
+        See [Modify packages via packageOverrides](https://nixos.org/manual/nixpkgs/unstable/#sec-modify-via-packageOverrides).
+      '';
+    };
   };

 in {


NARS lab's nar package should be refactored into the nars package

There is currently a nar and nars root package, separate but should have been one package. We should refactor and fix this.

moved here: https://github.com/opennars/opennars-lab/issues/6


Input Component Step Feature

Is your feature request related to a problem? Please describe.
For input components that has type='number' attribute; Increase and decrease feature runs one by one with keyboard and input arrow keys. I want to Increase and decrease by specific step number instead of one by one.
At the below gifs keyboard arrow keys used to increase and decrease.

Describe the solution you'd like
May be set additional step prop to input component and provide native step experience.

Describe alternatives you've considered
My best advice; use native step feature.
Additional context
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step

#371


Support installing specific versions of Miniconda

Closes #157.
Replaces #156.
Fixes #155.

Codecov Report
Patch coverage: 66.66% and project coverage change: +61.56 :tada:

Comparison is base (c98f646) 0.00% compared to head (2f90ad7) 61.56%.

Additional details and impacted files
@@             Coverage Diff             @@
##           master     #158       +/-   ##
===========================================
+ Coverage        0   61.56%   +61.56%
===========================================
  Files           0        1        +1
  Lines           0     1470     +1470
  Branches        0      290      +290
===========================================
+ Hits            0      905      +905
- Misses          0      471      +471
- Partials        0       94       +94

Impacted Files
Coverage Δ

src/datalad_installer.py
61.56% <66.66%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Looks great to me and as it is needed to be adopted by datalad -- I am marking it for the release. Thank you @jwodder !


Scroll reveal animation is firing only once

I am trying to use this library on scroll revealing animations, and animate my components on every viewport Enter and on every viewport Exit both. But I couldn't find a way to trigger the animation when rereturn to the element's scroll position after scrolling away from the element to animate. I mean while scrolling, the element animates once and never again. In your documentation I couldn't find a way to achieve this. Can you help? Is there any props to achieve this? And how is the implementation if yes?

Hi @burakkbilginn,
I'd like to work on this issue. Could you please assign it to me?
For a short approach, I plan to:

Investigate the current implementation of the scroll reveal animation to understand why it only triggers once.
Modify the logic to ensure the animation can trigger on both viewport enter and exit events.
Add or update any necessary props to allow for this behavior.
Update the documentation to reflect these changes.

Thanks,


Search-highlight block showed at the bottom of the window

When searching something inside the file - search-highlight block showed at the bottom of the window, not on the actual searched and highlighted items.
On other themes search works well, but I love this one)
Obsidian Version 1.3.4 (Installer 1.3.3), macOs 13.3.1

This is strange. The search-highlight block shows fine in my environment:
I don't know why for now, could you please try it again in a sandbox environment?

Same in the sandbox.
Only installed plugin in sandbox is Style Settings.
But it doesn't work properly even before plugin installed.
Also no errors in devTools console.

Thanks for the test, the bug should have been fixed in the new version.


ANSITerm makes the compiler crash

I'm trying to implement a twitter client with Pony, and I want to take in user inputs to tweet it.
So I was trying ANSITerm to read a line from the keyboard, but the compiler crashed during code generation when I introduced it.
Here is the minimal code of the crash:
https://github.com/pandaman64/pony-twitter/blob/c0076ef0e507c895b6abf87a60d3425dbf3758c5/src.pony
Expected result: it compiles
Actual result: the compiler crashes during code generation
If you comment out the last line, the compiler will not crash.
Note that try..end before Readline is necessary to reproduce the bug. If you remove them, the program successfully compiles.
ponyc -v shows
0.15.0-6b066b0 [debug]
compiled with: llvm 3.9.1 -- cc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609

and my ponyc runs on Ubuntu 16.04.2 LTS on Windows (I'm using Bash on Ubuntu on Windows).
The crash also happens when I ran ponyc of this version:
0.15.0-321b7c6 [debug]
compiled with: llvm 3.8.0 -- cc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609

on Ubuntu 16.04.1 LTS on VMWare.
Thanks,

Here is the compiler log:
https://pastebin.com/ksNwyfQA

@pandaman64 I can't reproduce the crash with your minimal example. You appear to have provided the version I gave to you that fixes the problem. Can you verify that is the case?

Ok, this crashes for me locally on OSX. @pandaman64 what platform are you using? What LLVM?

This is odd...
use "net/http"
use "term"
use "promises"

class Notify
    fun ref apply(line: String, prompt: Promise[String]) =>
        prompt(line)
    fun ref tab(line: String): Seq[String] box => Array[String]

class SessionHandler
                fun tag apply(session: HTTPSession tag): HTTPHandler =>
                    object ref is HTTPHandler end
actor Main
    new create(env: Env) =>
        try
            let client = HTTPClient(env.root as AmbientAuth, None)
            let url = URL.build("")?
            let handler = SessionHandler
            let request = Payload.request("", url)
            client(consume request, consume handler)?
        end

        let readline = Readline(Notify, env.out)
        let terminal = ANSITerm(consume readline, env.input)

commenting out either
        let terminal = ANSITerm(consume readline, env.input)
or
            client(consume request, consume handler)?
makes it compile for me

backtrace:
* thread #1: tid = 0x71b66, 0x00007fff99300f06 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x00007fff99300f06 libsystem_kernel.dylib`__pthread_kill + 10
libsystem_kernel.dylib`__pthread_kill:
->  0x7fff99300f06 <+10>: jae    0x7fff99300f10            ; <+20>
    0x7fff99300f08 <+12>: movq   %rax, %rdi
    0x7fff99300f0b <+15>: jmp    0x7fff992fb7cd            ; cerror_nocancel
    0x7fff99300f10 <+20>: retq
(lldb) bt
* thread #1: tid = 0x71b66, 0x00007fff99300f06 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
  * frame #0: 0x00007fff99300f06 libsystem_kernel.dylib`__pthread_kill + 10
    frame #1: 0x00007fff93c4a4ec libsystem_pthread.dylib`pthread_kill + 90
    frame #2: 0x00007fff98c166df libsystem_c.dylib`abort + 129
    frame #3: 0x00000001000fb2a3 ponyc`ponyint_assert_fail(expr="t != NULL", file="src/libponyc/codegen/genbox.c", line=16, func="gen_box") + 403 at ponyassert.c:60
    frame #4: 0x000000010003cfa6 ponyc`gen_box(c=0x00007fff5fbff250, type=0x000000011c27e7c0, value=0x000000011e11c950) + 134 at genbox.c:16
    frame #5: 0x000000010004af5d ponyc`gen_assign_cast(c=0x00007fff5fbff250, l_type=0x000000010c009840, r_value=0x000000011e11c950, type=0x000000011c27e7c0) + 381 at genexpr.c:285
    frame #6: 0x000000010004c38e ponyc`genfun_forward(c=0x00007fff5fbff250, t=0x000000011c274800, n=0x000000011bcab280, m=0x0000000117e50080) + 622 at genfun.c:684
    frame #7: 0x000000010004bfbf ponyc`genfun_method_bodies(c=0x00007fff5fbff250, t=0x000000011c274800) + 191 at genfun.c:844
    frame #8: 0x000000010007a573 ponyc`gentypes(c=0x00007fff5fbff250) + 979 at gentype.c:862
    frame #9: 0x0000000100049fe8 ponyc`genexe(c=0x00007fff5fbff250, program=0x000000010b7bfd40) + 504 at genexe.c:408
    frame #10: 0x0000000100039a32 ponyc`codegen(program=0x000000010b7bfd40, opt=0x00007fff5fbff758) + 274 at codegen.c:1028
    frame #11: 0x00000001000a8773 ponyc`generate_passes(program=0x000000010b7bfd40, options=0x00007fff5fbff758) + 51 at pass.c:301
    frame #12: 0x0000000100002701 ponyc`compile_package(path=".", opt=0x00007fff5fbff758, print_program_ast=false, print_package_ast=false) + 161 at main.c:249
    frame #13: 0x00000001000024c0 ponyc`main(argc=1, argv=0x00007fff5fbff808) + 1120 at main.c:374
    frame #14: 0x00007fff93ae45ad libdyld.dylib`start + 1
    frame #15: 0x00007fff93ae45ad libdyld.dylib`start + 1

I'm using llvm 3.9 provided by apt.
Yeah, that's weird that we need lines before readline, and even replacing client(consume request, consume handler)? with env.out.print("") makes it compile!

Pinging @Praetonus, as this involves gen_box, and he has spent a lot of time there recently.
@SeanTAllen the odd behaviour you're noting is likely because the crash happens after the reach pass, so it has some dependence on which types or methods are reachable - commenting out one or the other line is making some relevant types become unreachable by the program.

I've found the problem. It's trivial, I'll make a PR ASAP.

@pandaman64 this should be fixed on master.

It compiles! Thanks!


How can you get the meta files: .tex > Thanks for your feedback. You can set trainer.no_partial_bn = True if batch size >= 6 in each gpu and retry it, this will not affect the accuracy. That module exists some bug with distributed training, we will fix it quickly.

Thanks for your feedback. You can set trainer.no_partial_bn = True if batch size >= 6 in each gpu and retry it, this will not affect the accuracy. That module exists some bug with distributed training, we will fix it quickly.

Thanks for the reply, but it doesn't work for my problem.
When I set no_partial_bn = True, the log file stop at 'save_dir: checkpoint/' and with no update again. and the usage is still about 800~900M.
The changed settings in my YAML file are only dataset related:
root_dir:  train:    meta_file: /home/renb/project/action_recognition/X-Temporal/data_labels/sthv1/train_videofolder.txt  val:    meta_file: /home/renb/project/action_recognition/X-Temporal/data_labels/sthv1/val_videofolder.txt  test:   meta_file: /home/renb/project/action_recognition/X-Temporal/data_labels/sthv1/test_videofolder.txt
Very confused about this.
Thanks again and waiting for you suggestion.
Originally posted by @Amazingren in https://github.com/Sense-X/X-Temporal/issues/1#issuecomment-612012673

Maybe need to check the img_prefix in your config yaml, and make sure img_prefix % num_id can get the correct file name. The default setting is image_{:05d}.jpg .
The next thing is the video_source in the yaml: if your training data's type is video, you may need to set it as True.


usePreventScroll + overlay + sticky navbar causes flicker on iOS

🐛 Bug Report
(I solved this by replacing the sticky navbar with a fixed one but maybe this is interesting for someone)
I use a sidebar transition on my page. Since I don't want to scroll the body when the sidebar is open is use usePreventScroll  to fix this.
I also have a sticky navbar and the combination of the overlay, the navbar and the prevent scroll causes a weird flicker on Safari (iOS). I attached a video and a codesandbox demo.
🤔 Expected Behavior
The overlay should fade in and out without flicker.
😯 Current Behavior
There is a little but noticable flicker on the top of the page.

In the middle image you can see the content popping over the sticky navigation.
I tested several z-index things but none of them seems to work.
💁 Possible Solution
The problem has to do with the sticky navbar. If it is not there it works.
🔦 Context
I am trying to make a simple layout with a navbar, content and a slideover (overlay).
💻 Code Sample
https://codesandbox.io/s/musing-khayyam-x0l42?file=/src/App.js#
🌍 Your Environment

Software
Version(s)

react-aria
3.1.1

Browser
latest Safari

Operating System
iOS

🧢 Your Company/Team
Freelance project for an analytical software

I'm unable to reproduce this on Safari iOS 14.2.1
I think this is what you were doing to see the issue? https://codesandbox.io/s/magical-napier-nujlt

@snowystinger Hmm weird, it is visible for me on your example on iOS 14.2 with iPhone Xs.
I will check it on another device.

I don't see it happen on a family member's iPhone XS running iOS 14.1
Let me know what you find on another device, I'll pass it around my team as well

@snowystinger Also occurs on my IPad. I can attach a video tomorrow.
Just to be sure how I reproduce this:

I scroll down a little bit to see the „open“ button.
I click the button, I see the flicker and the sidebar opens
I close the sidebar, scroll a little bit and repeat the steps > I see the flicker again.

Thank you very much for your help! :)

https://vimeo.com/483452163

Hey, sorry for the delay, no one on the team has been able to reproduce this issue. Could you potentially do some profiling to narrow down what's going on?

Hey, sorry for the delay, no one on the team has been able to reproduce this issue. Could you potentially do some profiling to narrow down what's going on?

Unable to reproduce. Please reopen with more information.


feat: control distribution logic (cu 8689x4hd2)

Pull Request

Description

Add logic to manage the distribution logic.
Add logic to save data managed by distribution algorithm, to update all needs data.
Type of Change

[x] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality
to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🗑 Chore

Task linked: CU-8689x4hd2 Control distribution logic


LOJ 1001 - Opposite Task

LOJ 1001 - Opposite Task
You have given a number n. If n can be written as addition of two positive integers such as, n = a+b  then print the value of a and b. Any value of a and b that follow the equation is accepted.
C

#include <stdio.h>
int main()
{
    int test, num;
    scanf("%d", &test);
    while(test--){
        scanf("%d", &num);
        if(num > 10){
            printf("%d ", 10);
            num = num - 10;
        }
        else printf("0 ");
        printf("%d\n", num);
    }
    return 0;
}

Read the readme very carefully: https://github.com/lightoj-dev/problem-tutorials/blob/main/README.md
Add the tutorial on the issue will not work, you need to create Pull request, follow the proper structure

Hello, are you working on it? Could you raise the pull request ?

Closing this issue since the relevant pr has already been merged.


rename job to event in remote_control.py

If we want to allow cancel or interrupt, event better describes the action than a job
WIP

or maybe I should work on the rewrite branch?

The rewrite branch is probably a better base to start from, it's substantially less jank. As promised, I'll work on it today, so I'd wait a bit before sending PRs.
The reason I used "job" is because that's what the backend uses internally - specifically job_id in the /history and /prompt endpoints.
My current best idea for getting cancel to work is to simply have a node that clears all IDs that start with netdist-, unless there's a way to notify all (already executed/pending/etc) custom nodes about when a workflow is interrupted (I don't think there is?.
The queue on remote node could run this clear remote operation automatically as well, though maybe the job_id would need a short UUID part for that so as to still work with multiple people using the same remote backend.


Positive Feedback

Great description, thank you!
[Enter feedback here]

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

ID: e30dbb35-6ca1-a629-939b-2a1d296cdc1c
Version Independent ID: e84a0863-dd1f-1ea5-6b8d-6b6fd4a96e40
Content: Designing Azure Functions for identical input
Content Source: articles/azure-functions/functions-idempotent.md
Service: azure-functions
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

Thanks for the positive feedback @jgrams. Glad you found the doc helpful.


[Q]missed function in grafana GUI.

Hi,
I'm running grafana server, with go-carbon and graphite-web (last version for all)
From the graphite documentation 1.18, i can see that the function "aggregateWithWildcards" exists, but from my grafana GUI, in function list, i can choose only "AggregateLine"
I don't understand what happen.
Many thanks for help,

Graphite has functions API to list supported functions with parameters - https://graphite.readthedocs.io/en/latest/functions.html#function-api
Please check if your installation list "aggregateWithWildcards" in "/functions?pretty=1"
If yes - then Grafana not using this info for some reason, but it's better to open issue with Grafana then.
Also, Grafana function list is only for editor purposes, and if it's really supported by your graphite installation you can use it.

the command: curl -s "http://graphite/functions?pretty=1" return nothing.
the webpage http://graphite/functions is not available.

Instead of http://graphite you should put your graphite URL. You can get it from Grafana datasource parameters

Oh, sorry...

Graphite Browser

<frame src="/composer/?pretty=1" name="content" id="composerFrame"/>

That's not right url either. Could you please post full url here?
You don't need to install anything, functions will just work if you enter them manually instead of using auto suggestions

You should add /functions?pretty=1 to your graphite URL. But again, it's only cosmetics, if you enter aggregateWithWildcards( with proper parameters in query field it should work.

no more datas:

[root@vm-grafana ~]# curl -s "http://192.168.x.xx/functions/aggregateWithWildcards"
<!-- Copyright 2008 Orbitz WorldWide

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. -->

<html>
  <head>
    <title>Graphite Browser</title>
  </head>

<frameset rows="60,*" frameborder="1" border="1">
  <frame src="/browser/header/" name="Header" id='header' scrolling="no" noresize="true" />

    <frame src="/composer/?" name="content" id="composerFrame"/>

  </frameset>
</html>


A11y_SQLAzureDataStudio_ExportBacpac_ExportBacpacSettings_ScreenReader: The required combo-box is not announced as required.

“Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”
GitHubTags:#A11y_SQLAzureDataStudioBenchmark;#A11yMAS;#A11ySev2;#A11yTCS;#SQL Azure Data Studio;#Benchmark;#DesktopApp;#Win32;#MAS1.3.1;#JAWS;#NVDA;#MAS3.3.2;
Environment Details:
Application Name: Azure Data Studio
Version: 1.16.0-insider
OS: Windows_NT x64 10.0.18363
Additional Details:
Screen reader: JAWS,NVDA
MAS References:MAS1.3.1, MAS3.3.2
Repro Steps:

Launch Azure Data Studio application.
Connect to server with windows credentials.
Navigate to Extensions from left menu.
Search & install Dacpac extension.
Navigate to Connections from left menu.
Expand the server connected in step 2.
Right click an on prem database and select Data-tier application wizard from Context menu.
Select forth radio button.
Navigate till next button & hit enter.
Launch NVDA and tab tot he first combo-box.

Actual:
On navigating to the first combo-box "source server" the screen reader does not announce it as required which is visually seen on screen. Similarly for "source database"
Same issue with JAWS
Expected:
When navigated to the combo-box with tab key the name of the combo-box the item name, as well as the instruction as required, must be announced.
User Impact:
Screen readers users will not know that field is required.
Attachment link for Reference :
A11y_SQLAzureDataStudio_ExportBacpac_ExportBacpacSettings_ScreenReader9183.zip

The titles of the combo boxes are announced when navigating using the tab key

GitHubTags:#SQLADS-Win32-Feb2020;


07/11/2018 00:31 : Create Pull Request for branch prTesting_2018071100 -> master

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon.md
:white_check_mark:Succeeded

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


n.spacing is not a function

Hey Alex,
Getting this error when trying to add the component to my site.
Warning: Material-UI: the `styles` argument provided is invalid.
You are providing a function without a theme in the context.
One of the parent elements needs to use a ThemeProvider.

I'm just importing it: import MuiPhoneNumber from 'material-ui-phone-number';
And then using it: <MuiPhoneNumber defaultCountry="us" onChange={this.handleChange} />
Seems like an issue with the Theme and it can't find the spacing? You have any ideas about how to fix this?

same issue, + 1

This got fixed by updating to the new version of material-UI v4. The spacing has changed in that version which was the reason it broke.
When clicking the flag tho, it's really slow to open up the list of countries. What could that be?

Thanks for the update, @Falkovic1993. Yes, @material-ui/core@4 is required for version 2 of this package - if you are currently on @material-ui/core@3, please downgrade to version 1.
If you're concerned about performance, please either include the specific countries you want in the onlyCountries parameter, or use a native select by using the native flag. I plan on adding react-window support soon in order to resolve the performance issues that some people have.

Still having the issue.
"@material-ui/core": "^4.1.3",
"material-ui-phone-number": "^2.0.0",

@vinaydate Can you confirm that you're using the ThemeProvider component in your code? This library does make use of the spacing method of the theme provider, specifically the @material-ui/styles/ThemeProvider component.

Actually, you know what, I just released an update (2.0.1) that removes the reliance on the theme provider. Please upgrade and let me know if that fixes it for you.

Hello
I decided and went ahead with plain TextField instead of your component and
validate it for phone number.
And I am fine with this. So don't know if your upgrade has fixed that.
Thank you very much for quick response.
Regards
On Thu, Jul 18, 2019 at 12:28 AM Alex Plumb<EMAIL_ADDRESS>wrote:

Actually, you know what, I just released an update (2.0.1) that removes
the reliance on the theme provider. Please upgrade and let me know if that
fixes it for you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/alexplumb/material-ui-phone-number/issues/18?email_source=notifications&email_token=ABQSVRGMZOM6WNJWHUDQWJLP75TVHA5CNFSM4H5W3D62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2GIEWI#issuecomment-512524889,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABQSVRDXO4TYLLW2OSS5TU3P75TVHANCNFSM4H5W3D6Q
.


Adding needed imports to make literallycanvas work as imported depencecy

We had some issues upgrading our project to React 16 and using literallycanvas. Added some imports and requires in the files that referred directly to React

Found another place React import was needed. The eyedropper button didn't work as React was not included in the commonjs output in lib/js/optionsStyles/stroke-or-fill.js

Thanks! Sorry for not getting to this sooner.

BTW, if any of you wants commit access, just drop me an email. I'm happy to let this project be carried forward by people who are using it.

Any chance this could be released to NPM?

When I Get Around To It: The Literally Canvas Story

Guys, I'm having some troubles importing the module. I'm using Create React App, and here's what I've done:

cloned this repo (master branch)
ran gulp
copied the resulting lib folder to my project under the name literallycanvas
imported the index.js file from that folder

And I get the following error:
./src/services/literallycanvas/js/core/shapes.js
  Line 677:  'LC' is not defined  no-undef

If I import LiterallyCanvas from core, I get this error:
./src/services/literallycanvas/js/core/actions.js
  Line 96:  'lc' is not defined  no-undef

Here's my simple Component. What am I doing wrong?
import React, { Component } from "react";
import LC from "services/literallycanvas/js/index";

class Canvas extends Component {
  constructor(props) {
    super(props);
  }
  render() {
    console.log(LC);
    return <div/>;
  }
}

export default Canvas;

We too verified that these recent patches for React 16 revolve those issues and are looking forward for a new NPM version to be released.

Hi Guys,
Having the same issue with module import in create react app under React 16. Unfortunately this PR #487 does not solve the problem.
I'll try to fork it and get back to you if I find a sustainable solution.

I've cloned the repository and this (incomplete code fragment) works for me with React 16.1.1:
import {LiterallyCanvasReactComponent as LC} from 'literallycanvas';
import LiterallyCanvas from 'literallycanvas/lib/js/core/LiterallyCanvas';
import defaultOptions from 'literallycanvas/lib/js/core/defaultOptions';

class MyCanvas extends React.Component {
    constructor(props) {
        super(props);
        defaultOptions.imageSize.width = 600;
        defaultOptions.imageSize.height = 400;
        this.lc = new LiterallyCanvas(defaultOptions);
    }
    render() {
        return (
            <LC lc={this.lc}/>
        );
    }
}

Does one of you just want to take over the npm permissions for this library? I'm willing to transfer to someone with more of an investment.
Also, why fork the repo if you won't submit a PR?

I can take over if you want. Let's handle the details via e-mail though.

@irskep
When can we expect a new NPM version published? The current code in master fixes issues with React 16 as I've mentioned earlier.

Released. As I've said before, if anyone contacts me about taking over release responsibility, I'll definitely consider passing the torch.


railway run python manage.py createsuperuser doesn't work for Django

I installed Railway CLI, logged in and linked my project.
I want to create my admin user for my Django app on Railway, but it looks like it's trying to open it locally instead of in the environment :
railway run python manage.py createsuperuser

python: can't open file '/home/guillaume/diese/CryptOrganiz/manage.py': [Errno 2] No such file or directory
exit status 2

I'm running on Manjaro Linux.

Thats intended. railway run just adds all environment variables and runs locally. Allowing SSH access is still under review. You can follow that here

Ok thank you.


add chaining filters example to README.md

Add example of chaining words and characters filters. Useful scenario when the maximum amount of words is too long and you want to provide a maximum character fallback.

Thank you for contributing @pbojinov :+1:


feat: relationship between Mellin transform/inverse and Fourier transform/inverse

[x] depends on: #10810

bors r+


Compose using already running nginx-proxy container

Hi,
I have a running nginx-proxy container and a ghost container using the proxy. I have started these with the docker run -d etc command.
I am planning to build a wordpress container, and I wish to use my running image, and I am building this with docker-compose.
Can I somehow add my env to the compose file, so my localhost site would be proxied to my other domain?

Not sure i follow what you want to do. To use compose together with nginx-proxy is most just to have:
version: "2"
services:
    ... cut ...
    environment:
      - VIRTUAL_HOST=example.com

Any maybe make sure the containers are sharing common network etc

So I have the below compose file, and now I assume I am having the connection problem due to the containers not sharing the same network. Essentially, I'd like to have the mysql server to have a port on the localhost and so I could use it with other containers? Does it make sense?
I am really new to docker.. and compose as well.
version: '2'
services:
  db:
    image: mysql:5.7
    volumes:
      - "./.data/db:/var/lib/mysql"
    restart: always
    environment:
      - MYSQL_ROOT_PASSWORD=wordpress
      - MYSQL_DATABASE=wordpress
      - MYSQL_USER=wordpress
      - MYSQL_PASSWORD=wordpress

  wordpress:
    depends_on:
      - db
    image: wordpress:latest
    links:
      - db
    ports:
      - "<IP_ADDRESS>:8000:80"
    restart: always
    environment:
      - VIRTUAL_HOST=mydomain.co.uk
      - WORDPRESS_DB_HOST=db:3306
      - WORDPRESS_DB_PASSWORD=wordpress

Hi again, yes i think so too. Take a look at this comment https://github.com/jwilder/nginx-proxy/issues/478#issuecomment-230502324
You want to also access the db container from the host or from other containers?

So I have 2 containers running as below
CONTAINER ID        IMAGE                 COMMAND                  CREATED             STATUS              PORTS                         NAMES
de53e38974fe        ghost                 "/entrypoint.sh npm s"   5 days ago          Up 4 hours          <IP_ADDRESS>:2368->2368/tcp      blog
0fde6e87dfb4        jwilder/nginx-proxy   "/app/docker-entrypoi"   6 days ago          Up 4 hours          <IP_ADDRESS>:80->80/tcp, 443/tcp   proxy

With a yaml file I am creating a wordpress-mysql-phpmyadmin triumph. As per the yaml below:
version: '2'
services:
  mysql:
      image: mysql:5.7
      environment:
        - MYSQL_ROOT_PASSWORD=password
        - MYSQL_DATABASE=wordpress
  web:
      image: wordpress
      links:
        - mysql
        - proxy
      ports:
        - "<IP_ADDRESS>:8080:80"
      environment:
        - WORDPRESS_DB_PASSWORD=password
        - VIRTUAL_HOST=mydomain.co.uk

  phpmyadmin:
    image: corbinu/docker-phpmyadmin
    links:
      - mysql
    ports:
      - "<IP_ADDRESS>:8181:80"
    environment:
      - MYSQL_USERNAME=wordpress
      - MYSQL_ROOT_PASSWORD=wordpress

It starts on the localhost and works perfectly both on my mac and on my DO server. However I cannot map it to a domain via nginx-proxy. Not on my mac (something.local) nor the server, which has ubuntu 16.04.
Any Idea?

Okay, I was really daft did not read the readme properly... all I needed to do is to connect the network to the existing container. now it works smoothly!


Rearrange files a bit

This will make integration with the REPL process a bit easier.

@julia-vscode/core Bump, can someone please approve?


Instructions incomplete

az network private-endpoint create \
...
--connection-name myConnection
myConnection is not defined.  If you look at the help it says "Name of the private link service connection.".  It is a string name for the private link service connection, that you can only delete or update per other help pages. So there does not appear to be a way to create it.  Please fix this so this example works.

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

ID: ba229540-9878-d93e-7004-9a1c48200928
Version Independent ID: 4a5ec508-7e42-6483-a488-6fdcc14c3944
Content: Private Link - Azure CLI - Azure Database for PostgreSQL - Single server
Content Source: articles/postgresql/howto-configure-privatelink-cli.md
Service: postgresql
GitHub Login: @kummanish
Microsoft Alias: manishku

@rtaylor72 Thank you for the feedback.
This is being assigned to the content author to evaluate and update the documentation as appropriate.

private endpoint has a name, private endpoint connection has a name
when creating through portal - both are same
With CLI you have an option to provide different name and that is what the parameter exists.

@KalyanChanumolu-MSFT if this seems ok can you please close the issue ?

Thank you @kummanish
@rtaylor72 We will proceed to close this issue now.
If there are further questions regarding this matter, please comment and we will gladly continue the discussion.

Instructions are still incomplete. Please show how it is created so it can be used.
Robert
Robert Taylor

From: Kalyan Chanumolu<EMAIL_ADDRESS>Sent: Monday, March 30, 2020 11:45:16 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Robert Taylor<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Instructions incomplete (#50679)
Thank you @kummanishhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkummanish&data=02|01||6c3300e583084de5e09b08d7d4c9bace|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637211835194644386&sdata=knw4zD0JHynk3vS1g%2FzbOwHI2LAyZN500FpPC0vzDm0%3D&reserved=0
@rtaylor72https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Frtaylor72&data=02|01||6c3300e583084de5e09b08d7d4c9bace|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637211835194654421&sdata=IcHoJ21zDqZcXEHy8O03phbIcfaTSykT19Pv1qE4abg%3D&reserved=0 We will proceed to close this issue now.
If there are further questions regarding this matter, please comment and we will gladly continue the discussion.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F50679%23issuecomment-606112354&data=02|01||6c3300e583084de5e09b08d7d4c9bace|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637211835194664402&sdata=mh9I0iRPxKB2yjVqDaMSjiFiRdbJPCFCzTIlL7nLnvQ%3D&reserved=0, or unsubscribehttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGTKQWULC2EJLYLQ2JTDQO3RKDEBZANCNFSM4LRS4EPA&data=02|01||6c3300e583084de5e09b08d7d4c9bace|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637211835194674419&sdata=NkouUY%2FFn4ST9%2BqkKW7DJ8Akah5gJ02R15%2FkJCRDQDE%3D&reserved=0.


New Display Column for GradebookNG running Course Grade

Add to options for display of running course grade:
Display the grade point value assigned to the letter grade along with the letter grade. Displays to students and to instructors.
(Does not involve calculating the GPA, only displaying the grade point value).
https://docs.google.com/document/d/1KuGqA8KIs0H1ZZZGbgaMfVfcqATjBCyHse2rYiAvorw/edit?usp=sharing

#1367 will provide course grade points as well as a toggle to hide and show so this might be resolved with that. It should be in very soon.

This is being resolved as a separate piece of work with ND. Closing this ticket.


CDN availability

This is awesome, is it on any CDNs?

CDN Availability ok
https://github.com/cdnjs/cdnjs/commit/3d6d83180a5878c29c679960ab625af56d4b69e1

Cool!

:facepunch: