Requests to the stats endpoints are timing out/hanging

Requests to the stats endpoints seem to be timing out on specific servers. Tested on a Digital Ocean instance, request does resolve, but takes significantly longer (as expected, kind of at least), can see why this is a problem for slower connections.
Would love some input on how to fix this, current course of action is to investigate/research this a little bit more, got has a timeout option that might help with this.
Originally reported on Twitter by Justin Conklin.

Thanks for recording the issue, I originally discovered this last night when attempting to host an express app that uses nba.js on an ec2 instance. My application was loading all the data endpoints fine but, none of the stats endpoints resolved.   I tried heroku as well and had the same results.
The original endpoints failing for me were scoreboard and allPlayers but I soon discovered that any of them were failing. So i picked one with a very small return object to eliminate any chance of it being the size of the returns.
2017-03-18T04:17:53.225127+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/test" host=murmuring-beyond-xxxxx.herokuapp.com request_id=38a4d20d-1515-4b95-aa19-fa10efe9bf85 fwd="<IP_ADDRESS>" dyno=web.1 connect=0ms service=30001ms status=503 bytes=0 protocol=https

here is the /test endpoint
app.get('/test', (req, res) => {
    nba.stats.franchiseHistory({LeagueID: 00 })
        .then(response => res.json(response))
        .catch(err => console.log(err));
})

I believe this is with the API in general, right? Not just slow connections?
Doing the following command hangs forever:
curl -X GET -H "Referer: http://stats.nba.com/scores/" -H "User-Agent: curl/7.43.0" "http://stats.nba.com/stats/scoreboardV2?GameDate=2017-03-18&LeagueID=00&DayOffset=7"

That may not be the exact equivalent of what the JS lib is doing under the covers. But close? If so, something's going on with the NBA's servers unfortunately. From what I can tell, this has been happening with the NBA's server since Mar. 15th.

I did further testing today and I was able to get my express app working on Azure just fine.  The stats endpoints do take a bit longer than data, but I believe that is normal.  Regardless, it's still completely failing on AWS and Heroku for me.

@colbywhite Good catch! I tested your script with the user-agent used in nba.js and the request also seems to be hanging. The odd thing is, it doesn't hang when used with nba.js itself. I'm convinced that the API is looking for one of the other request headers, but will need to do a little more testing for that.
Accessing the URL directly from the browsers results in a 403 (I'm fairly sure this wasn't always the case, but I'm not certain). The page that makes the request to /scoreboardV2 is still up and running (and still retrieving data from that endpoint).
@eyev I'm glad it's working on Azure!
Do you think you could test the following on AWS/Heroku as well? I doubt Express is the problem here, but just in case --
const nba = require('nba.js').default;

nba.stats.franchiseHistory({ LeagueID: "00" })
  .then(response => console.log(response))
  .catch(err => console.log(err));

If that doesn't work, can you try editing (in the project root) node_modules/nba.js/lib/api/stats/utils/fetch.js by adding the following (I don't think you'll be able to test this on Heroku):
opts = Object.assign({
  headers: {
    host: 'stats.nba.com',
    connection: 'keep-alive',
    'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36',
    referer: 'http://stats.nba.com/'
  },
  json: false,
+ timeout: 100000,
}, opts || {});

@kshvmdn not getting a response or error on heroku.  I don't have the time right now but I will try to fork add the timeout later... (i think i can do this on heroku if i npm install a git repo rather than the npm package)

Adding this to the header in node_modules/nba.js/lib/api/stats/utils/fetch.js file worked for me:
opts = Object.assign({
headers: {
host: 'stats.nba.com',
"cache-control":"max-age=0",
connection: 'keep-alive',
"accept-encoding" : "Accepflate, sdch",
'accept-language':'he-IL,he;q=0.8,en-US;q=0.6,en;q=0.4',
'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36'
},
json: false
}, opts || {});

@Dolevco were you running this locally or on some server? If locally, was it not working before? Which endpoint(s)?

Im running this locally.
the teamLineups  at nba stats endpoint didnt repond.
It worked fine just month ago, but when I tried to run the same code last week it waited forever.
changing the header like I mentioned did the work for me.

@Dolevco just tested, looks like local requests are broken for me too!
Tried with your changes to the header fields and requests are resolving again, will push a change for this!

Published in v0.4.0!
Looks like we're still having the problem with running this on servers though. Build is failing on Travis, but running completely fine locally. Will have to look into this a bit more.
There are similar problems going on at https://github.com/bttmly/nba/issues/41.

I'm not using the library, but I found using simple curl or python requests module that my requests were being blocked locally unless I included a user-agent string.

any update on running this on a digital ocean server?
all promises are returned as {  } even when they are resolved when i run on my personal machine. can i trick the api into seeing my digital ocean server as my machine (or something? i'm pretty new to node//linux//js in general...)
i am running my app with systemd on ubuntu 16.04

@gin-hell Just got around to testing on my droplet, looks like requests are hanging on Digital Ocean now as well. ☹
I'm not entirely sure if it's possible to mask the request, but the first step would be to figure out how the API detects when a request is coming from a VPS. I think it's just through the client's IP address, but I'm not certain. I'll look into this when I get the chance, maybe somebody in this thread has a better answer.

FWIW, I'm able to get some of the stats endpoints working, like leagueLeaders returns the expected results. But other endpoints, like playerBioStats or franchiseHistory are timing out.
This is in an express app on heroku.

Just an update on my situation, the stats endpoints were originally working fine on azure... However, after routing my DNS through Cloudflare they stopped working, so I gave Azure my DNS management and they continued to fail... Prior to that I was using namecheap to manage my DNS and it was working - although very slow (to the point I was opting to not use stats endpoints in production).  This makes me feel like nba is blocking the requests or it's just so slow the cloud providers are assuming a timeout.

I am getting blocked requests on DigitalOcean as well as a DreamHost server - not even using nba.js, but simple cURL requests.  This happens for both https:// and http:// and on most stats.nba.com/stats endpoints

I can't seem to grab the data using the API. It keeps telling me this
"requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://stats.nba.com/stats/teamgamelog?TeamID=1610612737&Season=2016-2017&SeasonType=Regular+Season"
Is this normal?

@larryworm1127 the Season parameter should be of the form YYYY-YY, so 2016-17 in your case.

@eyev, @jasonroman, thanks for the updates, I really appreciate the feedback.
Unfortunately, it looks like there's not much we can do here to make this work... especially since cURL requests aren't resolving. I'll play around with this when I get the chance to see if I can find some workaround, but I'm not sure how likely that is. 😢

I just did a test on the 104 stats.nba.com/stats endpoints that I know of.  Two of them work:

stats.nba.com/stats/leagueleaders
stats.nba.com/stats/assisttracker

The other 102 do not.

Does this problem continue? Is there any alternative to use?

If you are using python nba_py package, you need to set proper headers.
I added
headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36'}
to nba_py/init.py line 40 get function, it's working now.

Has anyone found a fix to this yet? Endpoints: playercareerstats for one still doesn't request.

I found another api that can be found on here: https://data.nba.com/ that works great and doesnt block any source. But doesnt have a documentation, more info here: https://www.quora.com/Is-there-an-NBA-API-for-free-that-has-live-stats

Anyone find a solution to this? Or are there any cloud providers that do not block these requests? I'm using the nba-stats python package. Any workarounds? Spent quite a while developing a small app and would love to deploy it to the world.


Removed unnecessary code.

I noticed that bundle scanning was added in a previous pull request and removed these lines as per the comment.

Didn't realize that pull request hadn't been merged yet and these lines were removed as part of it. My bad!

Thanks for your interesting the automatic bundle scanning! Currently we're unsure of when to merge that feature into master, as it could potentially break people's existing code. Feel free to add a '+1' to that PR if you think it's a useful feature!


Deprecated items: linksCount funcs

Functions like linksCountSowableCrops and linksCountActuatorsByReservoirAndType are redundant and should be merged into scheduler. Adding them into Utils was a bit premature.

I'll move them around later.


libvirt sock not created in container in privileged mode

chandru@chandru-OptiPlex-790:/var/run/libvirt$ sudo docker run -it --privileged cucumber bash

'[' -v INTERFACES ']'
'[' -v JOB_NAME ']'
bash
root@51a8b3f9237d:/# kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used
root@51a8b3f9237d:/# sudo service libvirt-bin start

Starting libvirt management daemon libvirtd                                                                                /var/run/libvirt/libvirt-sock ready.
[ OK ]
root@51a8b3f9237d:/# cd /var/run/
root@51a8b3f9237d:/var/run# ls
dnsmasq  init.upgraded  libvirt  lock  motd.dynamic  mount  network  resolvconf  sendsigs.omit.d  shm  sshd  utmp
root@51a8b3f9237d:/var/run#
root@51a8b3f9237d:/var/run#
root@51a8b3f9237d:/var/run#
root@51a8b3f9237d:/var/run# cd libvirt/
root@51a8b3f9237d:/var/run/libvirt# ls
network  qemu  uml-guest
root@51a8b3f9237d:/var/run/libvirt#
root@51a8b3f9237d:/var/run/libvirt#
root@51a8b3f9237d:/var/run/libvirt#
root@51a8b3f9237d:/var/run/libvirt# kvm
Could not initialize SDL(No available video device) - exiting
root@51a8b3f9237d:/var/run/libvirt#
root@51a8b3f9237d:/var/run/libvirt#
root@51a8b3f9237d:/var/run/libvirt#
root@51a8b3f9237d:/var/run/libvirt# ls -l /dev/kvm
crw-rw---- 1 root 132 10, 232 Nov 21 14:29 /dev/kvm
root@51a8b3f9237d:/var/run/libvirt#

This is definitely an odd use case; can you tell me a little more about what you're trying to do?
Has this worked on previous b2d releases, or is this something new you're working on?

Thanks for prompt response . I am trying to create one virtual network naming dut using libvirt , qemu-kvm
When i run container in non-privileged mode libvirt-sock is created succesfully but KVM is not initialized .I googled and observed that to intialize kvm inside container running privileged mode is necessary
I dont know what is blocking to create libvirt-sock when i do sudo service libvirt-bin start . Can you please suggest solution to fix this
Non privileged mode :+1:
chandru@chandru-OptiPlex-790:/var/run/libvirt$ sudo docker run -it cucumber bash

'[' -v INTERFACES ']'
'[' -v JOB_NAME ']'
bash
root@6742d524b511:/# kvm
Could not access KVM kernel module: No such file or directory
failed to initialize KVM: No such file or directory
root@6742d524b511:/#
root@6742d524b511:/#
root@6742d524b511:/#
root@6742d524b511:/# sudo service libvirt-bin start

Starting libvirt management daemon libvirtd                                                                                /var/run/libvirt/libvirt-sock ready.
[ OK ]
root@6742d524b511:/# cd /var/run/libvirt
root@6742d524b511:/var/run/libvirt# ls
libvirt-sock  libvirt-sock-ro  network  qemu  uml-guest
root@6742d524b511:/var/run/libvirt#
root@6742d524b511:/var/run/libvirt#
root@6742d524b511:/var/run/libvirt#
root@6742d524b511:/var/run/libvirt# ls -lrt
total 12
drwxrwxrwx 1 root root     4096 Nov 12 18:12 uml-guest
drwxrwxrwx 1 root root     4096 Nov 12 18:12 qemu
srwxrwxrwx 1 root libvirtd    0 Nov 21 14:57 libvirt-sock-ro
srwxrwx--- 1 root libvirtd    0 Nov 21 14:57 libvirt-sock
drwxrwxrwx 1 root root     4096 Nov 21 14:57 network
root@6742d524b511:/var/run/libvirt#
root@6742d524b511:/var/run/libvirt#
root@6742d524b511:/var/run/libvirt#

root@6742d524b511:/var/run/libvirt# sudo virsh net-list --all
Name                 State      Autostart     Persistent
default              inactive   yes           yes
Privileged mode :+1:
chandru@chandru-OptiPlex-790:/var/run/libvirt$ sudo docker run --privileged -ti cucumber bash

'[' -v INTERFACES ']'
'[' -v JOB_NAME ']'
bash
root@9adcf711c019:/# kvm
Could not initialize SDL(No available video device) - exiting
root@9adcf711c019:/#
root@9adcf711c019:/#
root@9adcf711c019:/#
root@9adcf711c019:/# kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used
root@9adcf711c019:/# ls -l /dev/kvm
crw-rw---- 1 root 132 10, 232 Nov 21 15:00 /dev/kvm
root@9adcf711c019:/#
root@9adcf711c019:/#
root@9adcf711c019:/# sudo service libvirt-bin start

Starting libvirt management daemon libvirtd                                                                                /var/run/libvirt/libvirt-sock ready.
[ OK ]
root@9adcf711c019:/# cd /var/run/libvirt/
root@9adcf711c019:/var/run/libvirt# ls
network  qemu  uml-guest
root@9adcf711c019:/var/run/libvirt#
root@9adcf711c019:/var/run/libvirt#
root@9adcf711c019:/var/run/libvirt# ls -lrt
total 12
drwxrwxrwx 1 root root 4096 Nov 12 18:12 uml-guest
drwxrwxrwx 1 root root 4096 Nov 12 18:12 qemu
drwxrwxrwx 1 root root 4096 Nov 15 10:19 network
root@9adcf711c019:/var/run/libvirt#
root@9adcf711c019:/var/run/libvirt#
root@9adcf711c019:/var/run/libvirt# sudo virsh list
error: failed to connect to the hypervisor
error: no valid connection
error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory

root@9adcf711c019:/var/run/libvirt#

I'm sorry, but I'm really having a hard time seeing how this is a boot2docker issue?  I imagine you'd have similar issues with what you're trying to accomplish on any Docker host (boot2docker or otherwise).
I'd recommend trying the Docker Community Forums, the Docker Community Slack, or Stack Overflow for further help figuring out why libvirt inside your container isn't creating a socket file (my best guess would be that it's failing to start for some reason, so I'd recommend checking any available log files and/or trying to enable verbose logging in libvirt itself).


[frontend] add dark theme to whole app

user can switch theme dark or light

@RohitGupta1237 Assign me this issue please i will complete it in 1-2 days.

Hi @RohitGupta1237 , Please assign me this issue. I would like to work on this task.


Max token length for highlighters is reduced to ~1000 in 1.16

Looks like Atom 1.16 stopped highlighting long strings for JavaScript and Python (using MagicPython). Highlighter marks long tokens as invalid or simply stops highlighting, see screenshot below:
JavaScript

Python

Python Multiline

See also https://github.com/MagicStack/MagicPython/issues/79.

This is intentional for performance reasons, but with recent first-mate improvements we may be able to lift the restrictions.

Thank you for the explanation. Is there a link to a discussion/PR for this change? Any estimate when you will be able to lift the restriction?

https://github.com/atom/atom/pull/13820 and #979
No estimate - that comment was speculation and may or may not happen.


Use Err for the associated error type of FromHex

The FromHex trait parses a hex string, as such it is quite like FromStr - it makes sense for the associated error to be named the same Err instead of Error (is it is in TryFrom and other places).

I guess I will manually close this since Github can't detect the merge..


Serializing enum as their string representation

When calling the unequip method:
await client.MyCharacters.UnequipItemAsync("JayThree", new UnequipItemReguest(ItemSlot.Ring1, 1));
You currently get an error "Unprocessable Entity", because the UnequipItemReguest is serialized as { slot: 6, quantity: 1}.
With my change, the enum are now properly converted into {slot: 'ring1', quantity: 1}.
I use the same SnakeCaseLower you use.

@MaxNau I hope it's ok I made a PR for this, let me know if you see any issues


Shifted Events Section up one area. Got tired of scrolling down from …

…fold.

@LearningNerd I tend to look at the website plenty for upcoming events (rather than looking at Meetup.com first). However, it made sense to display events one area higher than where they were. It good to see dynamic information right away (above the fold). Plus, as an active user, I got tired of having to scroll down each time, haha.

Thanks @jbazalar looks much better! :) I also finally removed that outdated list of active meetups, since it's changed a lot and we've slowed down on study groups for now.


Develop

#171

Pull Request Test Coverage Report for Build 756

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.0004%) to 98.961%

Totals

Change from base Build 730:
-0.0004%

Covered Lines:
2134

Relevant Lines:
2144

💛  - Coveralls


Bootstrap error, very slow start

Hi,
I get this error when i have the integration installed completely.
Logger: homeassistant.bootstrap
Source: bootstrap.py:580
First occurred: 22:05:40 (1 occurrences)
Last logged: 22:05:40
Setup timed out for bootstrap - moving forward
I have removed it in integrations and hacs and then rebooted Home Assistant.
System then starts fast and without this error. Then i add the component in hacs and restarts. Still works.
But after that when i add the integration in Home Assistant this error shows and it takes exactly 5min for it to start and thats also when this error shows.
I'm on 1.0.0-0b901 and 2022.6.7 for Home Assistant
Anyone else having this problem or might it be some kind of interference with something else that only i have in combination with this component?
Strange though is that when i use the debug on this component, it seem to be loaded before the system sort of hangs until bootstrap message. I have an state error which is the closest to where the system does nothing for 5min, but the state error is new for today so i don't think that is the key.
Thanks in advance for any help :)
//Jimmy

Can confirm the same behavior here

Can now confirm that the slow start behaviour is still a problem with the state error resolved that i had starting this issue

Same problem here... Here is my log (I had an error too that I fixed modifying the code (see issue #119 for more details) but the bootstrp error remains after the correction... The log (debug mode):
2022-07-03 13:37:02 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-03 13:37:02 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration sonoff which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-03 13:37:02 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration gardena_smart_system which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-03 13:37:02 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration gigasetelements which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-03 13:37:02 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration average which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-03 13:37:02 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration apsystems_ecur which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-03 13:37:02 WARNING (SyncWorker_5) [homeassistant.loader] We found a custom integration remote_homeassistant which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-03 13:37:02 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration scheduler which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-03 13:37:02 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration auto_backup which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-03 13:37:02 WARNING (SyncWorker_7) [homeassistant.loader] We found a custom integration tahoma which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-03 13:37:02 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration battery_sim which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-03 13:37:02 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration watchman which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-03 13:37:02 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration browser_mod which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-03 13:37:07 DEBUG (MainThread) [custom_components.gardena_smart_system] Setting up Gardena Smart System component
2022-07-03 13:37:07 DEBUG (MainThread) [custom_components.gardena_smart_system] Starting GardenaSmartSystem
2022-07-03 13:37:08 WARNING (MainThread) [homeassistant.components.meteo_france] 1 hour rain forecast not available. Montréal - Rhône-Alpes (07) - FR is not in covered zone
2022-07-03 13:37:11 WARNING (MainThread) [homeassistant.components.onvif] The date/time on Cave Montreal (UTC) is '2022-07-03 12:07:08+00:00', which is different from the system '2022-07-03 11:37:11.097358+00:00', this could lead to authentication issues
2022-07-03 13:37:12 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that uses deprecated async_get_registry to access device registry, use async_get instead. Please report issue to the custom component author for tahoma using this method at custom_components/tahoma/init.py, line 141: device_registry = await dr.async_get_registry(hass)
2022-07-03 13:37:12 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that uses deprecated async_get_registry to access entity registry, use async_get instead. Please report issue to the custom component author for tahoma using this method at custom_components/tahoma/climate_devices/atlantic_electrical_heater_with_adjustable_temperature_setpoint.py, line 109: entity_registry = await self.hass.helpers.entity_registry.async_get_registry()
2022-07-03 13:37:12 DEBUG (MainThread) [custom_components.gardena_smart_system] Using location: My Garden (<my_location>)
2022-07-03 13:37:13 DEBUG (MainThread) [custom_components.gardena_smart_system] Starting GardenaSmartSystem websocket
2022-07-03 13:37:13 DEBUG (MainThread) [custom_components.gardena_smart_system] Websockete connected !
2022-07-03 13:37:13 DEBUG (MainThread) [custom_components.gardena_smart_system] Gardena Smart System component setup finished
2022-07-03 13:37:13 DEBUG (MainThread) [custom_components.gardena_smart_system.vacuum] Adding mower as vacuums: [<Entity Montréal: None>]
2022-07-03 13:37:13 DEBUG (MainThread) [custom_components.gardena_smart_system.sensor] Adding sensor as sensor [<Entity Sensor Pelouse soil temperature: 20>, <Entity Sensor Pelouse soil humidity: 60>, <Entity Sensor Pelouse battery level: 95>, <Entity Montréal battery level: 100>, <Entity Arrosage Pelouse battery level: 92>, <Entity Pompe Arrosage battery level: N/A>, <Entity Arrosage Mobile battery level: 88>]
2022-07-03 13:37:13 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Adding water control, power socket and smart irrigation control as switch: [, , ]
2022-07-03 13:37:13 DEBUG (MainThread) [custom_components.gardena_smart_system.vacuum] Running Gardena update
2022-07-03 13:37:13 DEBUG (MainThread) [custom_components.gardena_smart_system.vacuum] Mower has state OK
2022-07-03 13:37:13 DEBUG (MainThread) [custom_components.gardena_smart_system.vacuum] Getting mower state
2022-07-03 13:37:13 DEBUG (MainThread) [custom_components.gardena_smart_system.vacuum] Mower has activity PARKED_PARK_SELECTED
2022-07-03 13:37:13 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Running Gardena update
2022-07-03 13:37:13 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Water control has state OK
2022-07-03 13:37:13 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Getting water control state
2022-07-03 13:37:13 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Water control has activity CLOSED
2022-07-03 13:37:13 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Running Gardena update
2022-07-03 13:37:13 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Water control has state ERROR
2022-07-03 13:37:13 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Water control has an error
2022-07-03 13:37:13 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Running Gardena update
2022-07-03 13:37:13 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Water control has state OK
2022-07-03 13:37:13 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Getting water control state
2022-07-03 13:37:13 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Water control has activity CLOSED
2022-07-03 13:37:14 DEBUG (MainThread) [custom_components.gardena_smart_system.vacuum] Running Gardena update
2022-07-03 13:37:14 DEBUG (MainThread) [custom_components.gardena_smart_system.vacuum] Mower has state OK
2022-07-03 13:37:14 DEBUG (MainThread) [custom_components.gardena_smart_system.vacuum] Getting mower state
2022-07-03 13:37:14 DEBUG (MainThread) [custom_components.gardena_smart_system.vacuum] Mower has activity PARKED_PARK_SELECTED
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Running Gardena update
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Water control has state OK
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Getting water control state
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Water control has activity CLOSED
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Running Gardena update
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Water control has state ERROR
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Water control has an error
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Running Gardena update
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Water control has state OK
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Getting water control state
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Water control has activity CLOSED
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.vacuum] Running Gardena update
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.vacuum] Mower has state OK
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.vacuum] Getting mower state
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.vacuum] Mower has activity PARKED_PARK_SELECTED
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.vacuum] Running Gardena update
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.vacuum] Mower has state OK
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.vacuum] Getting mower state
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.vacuum] Mower has activity PARKED_PARK_SELECTED
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Running Gardena update
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Water control has state OK
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Getting water control state
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Water control has activity CLOSED
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Running Gardena update
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Water control has state OK
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Getting water control state
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Water control has activity CLOSED
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Running Gardena update
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Water control has state OK
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Getting water control state
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Water control has activity CLOSED
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Running Gardena update
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Water control has state ERROR
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Water control has an error
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Running Gardena update
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Water control has state ERROR
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Water control has an error
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Running Gardena update
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Water control has state OK
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Getting water control state
2022-07-03 13:37:15 DEBUG (MainThread) [custom_components.gardena_smart_system.switch] Water control has activity CLOSED
2022-07-03 13:42:22 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.rest_sensors is taking over 10 seconds
2022-07-03 13:42:22 WARNING (MainThread) [homeassistant.bootstrap] Setup timed out for bootstrap - moving forward

Also the same behavior here

Same behaviour here:
Log is full of these lines for 5 minutes when restarting HA.

2022-07-07 14:07:40 DEBUG (MainThread) [homeassistant.bootstrap] Running timeout Zones: {}
2022-07-07 14:07:40 DEBUG (MainThread) [homeassistant.bootstrap] Integration remaining: {}
2022-07-07 14:07:41 DEBUG (MainThread) [homeassistant.bootstrap] Running timeout Zones: {}
2022-07-07 14:07:41 DEBUG (MainThread) [homeassistant.bootstrap] Integration remaining: {}
2022-07-07 14:07:42 DEBUG (MainThread) [homeassistant.bootstrap] Running timeout Zones: {}
2022-07-07 14:07:42 DEBUG (MainThread) [homeassistant.bootstrap] Integration remaining: {}
2022-07-07 14:07:43 DEBUG (MainThread) [homeassistant.bootstrap] Running timeout Zones: {}
2022-07-07 14:07:43 DEBUG (MainThread) [homeassistant.bootstrap] Integration remaining: {}
2022-07-07 14:07:44 DEBUG (MainThread) [homeassistant.bootstrap] Running timeout Zones: {}

I just updated to 2022.7.1 and i have same behaviour, just for information :)

I have the same issue on 2022.6.6 / 1.0.0-0b901.

Can confirm the same behavior for me on  2022.7.4

Hello !
I pushed a correction regarding this issue in 1.0.0-0b901.
It should now works well !
PLease tell me if it is or not :)

It works. Thanks 👍

Hello !
I pushed a correction regarding this issue in 1.0.0-0b902. It should now works well !
PLease tell me if it is or not :)

Thanks @grm
Works indeed! :) Just updated to 1.0.0-0b902 and restarted Home Assistant, and fast boot with no errors in log.
Thanks again! :)


[needs love] feat(@aws-cdk/s3): add support for bucket replication.

You can now call source.enableBucketReplication(dest) to replicate
one bucket to a different one.
Note that the two buckets must live in different regions.
By submitting this pull request, I confirm that my contribution is made under
the terms of the beta license.

This PR will be a great motivating example for cross-stack references.

What's the follow up on this?

Cross stack references first, then this. Still percolating in the back of my head, will start working on it as soon as I have time.

@rix0rrr -- bucket replication is cross region, cross stack references are in region? Is there something to make all that work here?

Not yet, but there will be 😊

fdasset1532912315696.zip

@rix0rrr what should we do with this?

Opened #1680


Please provide a simple Back button in the GUI

Hello,
When you open any icon in server or site settings, there is no way to go back to the previous screen, you have to click again on the server root or website root to exit the screen. A back button like in IIS GUI would be simple but very nice addition :-)

New issues are marked as low priority by default. Becoming our commercial customers, and then your reports are handled with higher priority after triage.


Work around RSS issues: guid and date format

Fix #1323.
Also, along the way, use port 443 directly, which saves two redirections and make things slightly faster.
I suggest merging this PR without squashing - each commit handles a different issue.

@elazarg looks good!
@Mano3 @elashahar01 what do you think?

Please wait - I'm working on making it more consistent, and unifying twitter's handling too.

Ok @atalyaalon I think this is ready (conditioned on the tests). Note the incorrect time in the original tests 🤦 .

We might want to consider using pytz or dateparset.

@elazarg looks very good! Great work! And good catch on the dates.
Do you want to use pytz or dateparser in this PR?

@atalyaalon I think pytz can be deferred. It might be a better solution overall but currently we just need to fix the failing tests, and we can wait with adding yet another dependency.

@elazarg Thanks!
Once @Mano3 approves, I'll merge


react native snap carousel cannot render image from asset folder

Here is my code

and this is error

⚠ You did not follow the contributing guidelines!
As stated in these:

:warning: You need to fill out the issue template. This step is mandatory! Not doing so will result in your issue getting closed. Don't take this personally if this happens, and feel free to open a new issue once you've gathered all the information required by the template.

Moreover, this error has nothing to do with the plugin but rather with React Native. Here is a link to the dedicated issues: https://github.com/facebook/react-native/search?q=image+require&type=Issues&utf8=✓
If I recall correctly though, there is a bug when using require() with a variable. Using the following might work:
entries: [
    { img: require('../assets/images/F_01.png') },
    { img: require('../assets/images/F_01.png') }
]


function: tweak descriptions of S.lift2 and S.lift3

Closes #236
Does this change look good to you, @kedashoe?

:+1:


add minimum compatibility for 1.6.0

Per the adapter maintainer upgrade guide for v1.6.0, this PR includes the following:
Bugs fixed:

Fixed a bug causing the dateadd macro to fail its tests when handling DATETIME type fields. The updated sqlite__dateadd.sql macro now adequately handles both DATE and DATETIME types per ISO-8601 and passes its tests now.

Changes made:
[BtS] Adapter zone tests

Added four new tests in test_utils.py and all tests passed without overrides.

No changes required:
[BtS] Drop support for Py 3.7

Support for Py 3.7 was already removed in dbt-sqlite 1.2.0rc1.

[BtS] new arg for adapter.execute()

We use SQLConnectionManager.execute() directly. No changes required.

No changes made:
[FEATURE] Materialized Views:

Materialized views are not supported in sqlite3. No changes made.

[FEATURE] dbt clone

Clone objects are not supported in sqlite3 because it is a simple in-process database.

[BtS] revamp of dbt debug

No new warnings or errors in tests. No changes made.

Possible remaining todo:

Left out tests related to Contracts as they aren't being implemented as a feature. I had created a test and ran it only to see the test failed, which was expected, so the unit test needs to be overridden in order to make that passing criteria instead of failing.

This is fantastic! Everything looks really good here and ready to merge.

@codeforkjeff do you think we can expect this PR merged and new version released to PyPI?


Ability to force float64 instead of float32 issue #2304

Ability to promote to float64 instead of float32 when dealing with int variables with scale_factor.
added parameter force_promote_float64 (False by default) to open_dataset and open_dataarray that enables this behaviour when True.

[x] Closes #2304
[x] Tests added
[x] Fully documented, including whats-new.rst for all changes and api.rst for new API

@shoyer did you have a look at this ?

@daoudjahdou sorry I missed your comment over in #2304. Threading the new parameter down though other functions is definitely the preferred approach here -- mutating global variables makes it much harder to follow control flow. Though I would probably stop short of modifying maybe_promote and would put this logic inside CFMaskCoder and/or CFScaleOffsetCoder in xarray.coding.variables.

@shoyer now the logic is now propagated down to _choose_float_dtype inside CFScaleOffsetCoder, please let me know what you think.

@daoudjahdou what do you think of @magau's proposed solution over in https://github.com/pydata/xarray/issues/2304#issuecomment-462592638? Checking the dtypes of of add_offset and scale_factor might be a better alternative than requiring setting a custom option.

@shoyer yes sure i'll update the pull request with the mentioned modifications.

@shoyer now scale_factor and add_offset are taken into account when encoding and decoding data.
if none of them is present or if the they're not a subtype of np.generic the old behaviour takes place.

@shoyer i changed the implementation, and took into consideration your comments.
now using largest type takes place only when decoding.
i added a test with all types of scale factor, add_offset and variable.

@shoyer did you have a look at this ?

@shoyer tests are failing but it does'nt seem to be coming from this PR, i saw the same error on other PRs as well, my tests were working fine until i made a git pull.

@daoudjahdou thanks for sticking with this.
I'm concerned about how lose the "roundtrip" invariant in some edge cases, where the user did not specifically indicate the desired dtype but rather used a Python type. Right now xarray seems to use inconsistent rules for casting attribute types, based on the netCDF backend:
In [8]: for engine in ['scipy', 'netcdf4', 'h5netcdf']:
   ...:     ds = xarray.Dataset({'x': np.float32(0)})
   ...:     encoding = {'x': {'scale_factor': 1, 'add_offset': 1}}
   ...:     ds.to_netcdf(f'test-{engine}.nc', engine=engine, encoding=encoding)
   ...:

In [9]: ! ncdump -h test-scipy.nc
netcdf test-scipy {
variables:
	float x ;
		x:add_offset = 1 ;
		x:scale_factor = 1 ;
		x:_FillValue = NaNf ;
}

In [10]: ! ncdump -h test-netcdf4.nc
netcdf test-netcdf4 {
variables:
	float x ;
		x:_FillValue = NaNf ;
		x:add_offset = 1LL ;
		x:scale_factor = 1LL ;
}

In [11]: ! ncdump -h test-h5netcdf.nc
netcdf test-h5netcdf {
variables:
	float x ;
		x:_FillValue = NaNf ;
		x:add_offset = 1LL ;
		x:scale_factor = 1LL ;
}

At least for add_offset and scale_factor, I think we should be more careful when determining the attribute dtype. Python's int and float don't have any intrinsic dtype. If the attributes are specified as native Python types (not NumPy types) and can be safely cast into the dtype of the data, we should probably use that instead.

@shoyer do you mean that we consider that by default when we deal with Python's int and float we cast them to np.int64 and np.float64 ?

@shoyer do you mean that we consider that by default when we deal with Python's int and float we cast them to np.int64 and np.float64 ?

Currently we cast to int32/float64 for netCDF3 files (which don't support int64) and int64/float64 for netCDF4 files.
That default behavior doesn't really make sense if the user provided builtin Python numbers for these attributes.
For example, if I write something like the following, the data for x should probably decode to float32:
ds = xarray.Dataset({'x': np.float32(0)})
encoding = {'x': {'scale_factor': 1, 'add_offset': 1, 'dtype': 'int8'}}
ds.to_netcdf('test.nc', encoding=encoding)

With the current implementation in this PR, I think the data will come back as float64.
To get something that will decode as float64 without the original data being float64, the user should need to intentionally choose dtypes for scale_factor and add_offsert, e.g.,
ds = xarray.Dataset({'x': np.float32(0)})
encoding = {'x': {'scale_factor': np.float64(1), 'add_offset': np.float64(1), 'dtype': 'int8'}}
ds.to_netcdf('test.nc', encoding=encoding)

Does this make sense to you?  From my perspective, two goals for this change should be:

Adhere to CF conventions for deciding how to decode data from disk.
Provide a consistent interface for xarray users, so that by default data is restored in the same form that it was written.

@shoyer sorry for the delayed response.
dtypes.result_type(1, np.float32(1)) returns dtype('float64')
That's what makes this behaviour for Python's int and float
Keeping the consistency would then require testing if scale_factor*var_dtype + add_offset fit in var_dtype in case of Python's int and float.
Correct me if i'm wrong but this is a bit hard to do without knowing max,min values to avoid overlapping
Evaluating those could break performance if only used for encoding and decoding.
Do have any idea how this could be acheived ? or is it simpler to keep it as it is ?

Correct me if i'm wrong but this is a bit hard to do without knowing max,min values to avoid overlapping
Evaluating those could break performance if only used for encoding and decoding.

Right, we definitely don't want to inspect the data to verify if it fits.
I think we will will need explicitly checks for isinstance(x, (int, float)) (for scale_factor and add_offset) to identify these cases in the encode() method. Let me try to come up with a concrete suggestion...

@shoyer i've tested the solution provided, it works like a charm with my tests however many tests are broken on test_backends.py with cases where we lose precision i'll give you more detail.

I've noted that the very recent ERA5 data is also cast to float32 at decoding, although the scale and offset params are float64. I think it would be a very valuable addition to xarray to do this properly: @daoudjahdou are you still willing to work on this PR? Otherwise I'll try to pick this up when time permits.


chore(main): release 0.2.2

:robot: I have created a release beep boop
0.2.2 (2024-06-07)
Bug Fixes

downgraded mod go version (401e40e)
refactored enums (ce1d2c7)
refactored enums (19b073c)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wakflo/go-sdk/releases/tag/v0.2.2 :sunflower:


[executor] Move config-builder to dev dependencies

This removes 8 first party crates from the TCB, as they are no longer used in
the release code.

@bors-libra r+

:pushpin: Commit 8b2bb7e has been approved by wqfish

:hourglass: Testing commit 8b2bb7e3f7aa6a6c4916fbd9ec77dff693c8b56e with merge ee0ed0e69c53647819001ce2bb42b2b41fce7585...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: wqfish
Pushing ee0ed0e69c53647819001ce2bb42b2b41fce7585 to master...


GitHub Integration

eGit Github

One of the possible options to use in the project

GitHub-API

Another possible repo to use

Using GitHub-API
Starting to login, need to login with user and password to then grant access to the app. Then generate an OAuth key and save that to a file for future login

I need to create the GitHubController Class in the MenuScreen and pass that to each activity as that is the main class containing the connection to GitHub and the API

Need to add AsyncTasks each time I connect to GitHub. Android has an issue with the UI thread and making HTTP Requests

Still working on it. See issue #14 as it is the one currently halting the work on integration


some questions about the environment

Excuse me, I have some questions about the environment.
Trying to restore your experiment results now.
But I have some problems.
I would like to ask about the setting of the original environment.
python version
cupy, chainer, librosa, numpy, skvideo version
Thank you very much.

Hi, I am trying to evaluate your results but not getting the same accuracy as mentioned in the paper. Do you have any repository of training code?

Hi, same problem there. have you guys solved it?


Add capability to get pod labels

Fixes: https://github.com/pixie-io/pixie/issues/449
Example script:
import px
df = px.DataFrame(table='http_events', start_time='-10s')
df.labels = px.pod_id_to_pod_labels(df.ctx['pod_id'])
px.display(df)

Output:

ok to test

Thanks a lot for the contribution. This looks great. There is a just a small bug with one of the tests and then it should be good to go.

Ok to test


feat: port Data.MvPolynomial.Rename

[x] depends on: #2861

This PR/issue depends on:

leanprover-community/mathlib4#2861
By Dependent Issues (🤖). Happy coding!

This PR/issue depends on:

leanprover-community/mathlib4#2861
By Dependent Issues (🤖). Happy coding!

bors r+


Importing multiple APIs

What are you trying to achieve?
Will we be able to import more than one API at a time?
Proposed solution
A clear and concise description of what you want to happen.
Alternative solutions
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@TIGHEDEV:
Thanks for your feedback.
Have you seen our latest CLI release where you can use CLI to import APIs: https://learn.microsoft.com/en-us/azure/api-center/manage-apis-azure-cli
Or you can use our newest APIM import functionality: https://learn.microsoft.com/en-us/azure/api-center/import-api-management-apis?tabs=portal
Please let me know if this helps and works for you!
Also any new feedback is highly welcome!


Math : Given an integer x, return true if x is a  palindrome , and false otherwise in C++

https://leetcode.com/problems/palindrome-number/

May I take this up?

May I take this up?

Sure

Sorry about the other PR, I just reinstalled VSCode and forgot that the autosave option was turned off by default haha.

Sorry about the other PR, I just reinstalled VSCode and forgot that the autosave option was turned off by default haha.

Not a problem :) Thanks for your contribution, you can help with other issues as well or you can add other useful programs on your own too


Fix cmake issues

I have found, that RightEngine2D/Game/CMakeLists.txt contains a huge pack of files to compile in monoline. Also, what is the purpose of including headers into the build target, if they are all included and compiled with the cpp files?

Also it worth to check other cmake's for this style problem

I guess it's fixed now

The headers are still in targets. That leads to double compilation of the same files


Change Type To Spline

How would I do that? I tried using this code:
<RTChart
	chart={{
		interaction: {
			enabled: false
		},
		point: {
			show: false
		},
		data: {
			type: 'spline'
		}
	}}
	maxValues={60}
	data={Object.assign({
		temperature: temperature,
		humidity: humidity,
		brightness: brightness,
		date: new Date()
	})}
	fields={fields}
/>

However, this doesn't work.

Hi!

Does it work without type: 'spline' ?
What exactly is not working ?

It doesn't change the data type, charts works the same as before inserting the data argument.

Okey. And type: 'spline' is set initially, and not dynamic after first render ?
Have you tried some other chart types ? If its only spline thats not working there might be the c3 version, if not i guess there is a issue with the config merge.
I will take a look :)

No, it should be set initially.

I looked at the sourcecode and I can see why its not working.
I will publish a new patch during the next days.

Thanks!

Chart types is now working in the latest patch. https://github.com/emilmork/react-rt-chart/commit/86c26588958874bc704a32d0b4af655629ac7f03

Can confirm, works now, thanks.


Return meta & link tags as React components on the server

This PR makes Helmet return meta / link tags as React components for server use.
Usage:
React.renderToString(<Handler />);
let head = Helmet.rewind();

head.title // string
head.meta // react component
head.link // react component

And on the server:
render() {
  return (
    <html>
      <head>
        <title>{head.title}</title>
        {head.meta}
        {head.link}
      </head>
      ...
    </html>
  )
}

The old behavior (return as stringified content) is available for legacy use:
const stringifiedMeta = head.meta.toString(); // <meta charset="utf-8">

See #25

Whenever you have the time, could you please push the 2.0.0 version to the registry? Latest available is 1.1.5

Yes, we will be releasing soon.  Thanks.

@cwelch5 Sorry to bug you, any news in regards to pushing 2.0.0? Thank you!

@dmitrif you can install a preview with npm install react-helmet@next. Note the API may change between now and release.

This is super inconvenient for anyone not able to render their server side version fully in React. I understand the reasoning but I had to fork to get away from this and as it looks will be adding features to my fork without sending things upstream.

@doctyper Problem is I am trying to update an open-source project to use React-Helmet instead of Document Meta, but can't do so with a preview release. Thanks!


docs(error/numfmt): describe your change...

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

docs update

What is the current behavior? (You can also link to an open issue here)

Now the formatter function is used in place of with parser function and vice versa

What is the new behavior (if this is a feature change)?

Functions have been swapped

Does this PR introduce a breaking change?

No

Please check if the PR fulfills these requirements

[ ] The commit message follows our guidelines: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit-message-format
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Other information:

Formatter function seems to be be swapped with parser function

I signed it!
pt., 11.03.2016 o 10:43 użytkownik googlebot<EMAIL_ADDRESS>napisał:

Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project. Before we can look at your
pull request, you'll need to sign a Contributor License Agreement (CLA).
[image: :memo:] Please visit https://cla.developers.google.com/
https://cla.developers.google.com/ to sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll
verify. Thanks.

If you've already signed a CLA, it's possible we don't have your
GitHub username or you're using a different email address. Check your
existing CLA data https://cla.developers.google.com/clas and verify
that your email is set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.
If you signed the CLA as a corporation, please let us know the
company's name.

—
Reply to this email directly or view it on GitHub
https://github.com/angular/angular.js/pull/14218#issuecomment-195291445.

That change is not right.The directive adds an additional parser / formatter that converts the input into a value that the original number type parsers / formatters expect. If you open the example in a plnkr, and make your changes, you will get the numfmt error again,

Still I find it a little odd and counter-intuitive that the formatter function returns numeric value and parser function returns string in terms of <input type="number">

I think this is explained in the error message. This example directive is only needed if you want your models for input[number] to be strings. Maybe we describe better what actually happens? How would you change the description?

Well after giving it a second though I think it is OK. Sorry for the confusion.


Only supports OSX

/t/stacks-cli   master  npm install
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

 /t/stacks-cli   master *  uname -a; node --version
Linux xxxxx.e3.drk.sc 4.13.12-1-ARCH #1 SMP PREEMPT Wed Nov 8 11:54:06 CET 2017 x86_64 GNU/Linux
v9.2.0

fsevents is an optional package use in mac os only, it mean that you dont need them on archlinux!
Using stacks-cli should be find without fsevents!

Nope, stack-cli works without fault on Ubuntu Desktop 17.10. Notice the WARN rather than FATAL, @dijit.


Drill Down in Superset

Evaluating superset for our BI/analytical dashboards. Could not find drill down option. My use case would be I want to show Geo wise Sales in a Pie Chart and on click of that User should redirected to another page with Country wise Sales Chart.
Do let me know if you have anything similar to that or any workaround.
Thanks
Sougata

Drill down assumes the framework is aware of hierarchies which Superset isn't at the moment. We encourage our users to slice and dice by entering the explore mode, applying filters and altering the "Group By" field which is pretty easy and very flexible. It's an open field instead of a guided flow.
From a dashboard, it might be unclear what the user expects when say clicking on a country. Should it filter on that country and refresh other charts in the dashboard to reflect that? Should it drill down on that one chart into one of the specified hierarchies? Should it drill down in the whole dashboard? Should it take the user to a report defined by the dashboard creator specific to that country, perhaps a "country scorecard"? Should there be a contextual menu offering these all/some of these options?

We've also had customers request "drill down" functionality, but inevitably, they have different (and often incompatible) expectations on what should happen when they click on a graph. I thus agree with @mistercrunch that an "open field instead of guided flow" is more appropriate for "analytics at the speed of thought". But I've also been thinking of how to narrow the gap and allow for slightly more "guided flows" without compromising on flexibility. These are my current thoughts:

Extend the "table as filter" option to bar charts and pie charts for dashboards. This will cover the case where customers just want to click a slice on the piechart to filter the rest of the dashboard.

When clicking on "Explore this graph" in a dashboard that has filters applied, open the explore view with the same filters applied to the slice. This is perhaps the biggest point of confusion for our users at the moment: having to reapply the filters in the Explore view, especially since the filter there does not auto-complete like in the dashboard.

Allow slices (in one dashboard) to act as a portal to another dashboard. Currently we just add a link in the slice description to related dashboards, but it would be really cool if you could select a "related dashboard" from a dropdown in the "edit slice" view from the dashboard, and then (for example) when clicking on a a country in the World map slice the "Sales" dashboard open up with the country applied as filter.

I've not looked into the technical feasibility of these yet (or even if it's already addressed in versions since Superset v0.17.0!), but do you think it's worth exploring these ideas?

Thanks @mistercrunch @jr-minnaar  for your answer.
My use case : Assume I have a page showing multiple KPI chart geo wise, assume page has 5 charts a pie, a Bar a table blah, blah, blah.. Now on click of any bar I want to redirect to another page, where I am showing same KPI by country, Page 2 I designed separately as it require different sort of chart. Is this doable? To be precise I want to know can I make chart/tables clickable and forward to another page?
Thanks Again
Sougata

@jr-minnaar I agree with your 3 points. #2 could be considered a bug. About #3 it's possible [but tricky] to do this today by creating a  tag as a calculated column.

can we go to another slice if we click on a bar from the bar chart ?

@spira24 not currently possible. The question is how we would let the user (or dashboard creator) define what that action should do.

I confirm @jr-minnaar second point is the biggest point of confusion for our users. Should be open a specific github issue to follow this idea ?

@pajachiet better open a PR that fixes it than duplicate an issue i think :)

Indeed :) We should fix the csv export  ((issue)[https://github.com/apache/incubator-superset/issues/1304]) and (PR)[https://github.com/apache/incubator-superset/pull/3280]) at the same time, has it does not apply filters.
csv export on dashboard page with filters applied would be a great feature to export the result of interactive analyses

CSV and Explore link on dashboards does carry filters through now (on the master branch)

Notice: this issue has been closed because it has been inactive for 220 days. Feel free to comment and request for this issue to be reopened.

Hi , We would love this to be follow through, and more we are willing to put some resources to help out and get it done.
The things have currently been working with different levels of success  :
1- CrossFilter,js (D3 cross filter) defining the different charts form same data source ingested to Druid after pre-transformation using sparks, POC but not ready to produce
2- We've added new Charts from D3 and currently on MVP, once proven successful we will share with the community
3- Drill Down, we have a suite of an interactive report in another platform which gives us a clear roadmap of hierarchies, groups and Drills down , but it's safe to say that they are mostly time series related, where we receive data in a range of resolutions but the smallest one is every 5 sec, then the user can drill down from year to qtr, month, day, to sec, this, however, we've just started exploring and it really is dependent on cross drilling and rules around it .
Our staging setup is Kubernetes, Dockers, Superset image, Druid, Helm. On AWS currently on Batch Ingesting as our first report are received daily batches with 5min resolution, I'll be super happy to share as our data and report are for a completely different industry

Which another project are you referring to for drill down?

Hi! I created a new issue but was unaware of this thread.
I have attempted a prototype for multi chart and single chart drilldowns using HighCharts (for now).
I agree drilldown is a needed feature as it is more intuitive for the end user to filter charts and if anyone is willing to follow up on this idea please do reply to this post :)

I'm in how far did you got, wanna do some collaboration?

Is drill down possible in superset today? If yes, can anyone please provide the steps to create the same as I am not seeing any option to create a drill down graph.

Hi! I created a new issue but was unaware of this thread.
I have attempted a prototype for multi chart and single chart drilldowns using HighCharts (for now).
I agree drilldown is a needed feature as it is more intuitive for the end user to filter charts and if anyone is willing to follow up on this idea please do reply to this post :)

I'm in how far did you got, wanna do some collaboration?

Sure! I have created a guided flow drilldown thus far.
However, as of right now, it only supports normal groupby filtering (does not support time-based filtering). So would you like to help me on that?

Yeah sure.. I can help you... let me know what needs to be done and I will work through it.

I think metabase "drill-through" function may give you some ideas, see https://www.metabase.com/docs/latest/enterprise-guide/customizing-drill-through.html

Hi! I created a new issue but was unaware of this thread.
I have attempted a prototype for multi chart and single chart drilldowns using HighCharts (for now).
I agree drilldown is a needed feature as it is more intuitive for the end user to filter charts and if anyone is willing to follow up on this idea please do reply to this post :)

I'm in how far did you got, wanna do some collaboration?

Sure! I have created a guided flow drilldown thus far.
However, as of right now, it only supports normal groupby filtering (does not support time-based filtering). So would you like to help me on that?

Hi @pavitranrambo, I would like to help as well if this still relevant, please share a PR or some GitHub code and let us know what is needed.

Hi! I created a new issue but was unaware of this thread.
I have attempted a prototype for multi chart and single chart drilldowns using HighCharts (for now).
I agree drilldown is a needed feature as it is more intuitive for the end user to filter charts and if anyone is willing to follow up on this idea please do reply to this post :)

I'm in how far did you got, wanna do some collaboration?

Sure! I have created a guided flow drilldown thus far.
However, as of right now, it only supports normal groupby filtering (does not support time-based filtering). So would you like to help me on that?

Hi @pavitranrambo, I would like to help as well if this still relevant, please share a PR or some GitHub code and let us know what is needed.

We would like to contribute as well if you already started working on it!

Hi @mistercrunch Im unable to create line chart in superset even I imported date correctly it is not showing it would be helpful if u give some info about this.

Hello Superset developers,
I am currently evaluating several bi solutions, and even though superset is best of them in the technical aspect, missing features like this (and conditional table formatting, which is being solved, though: https://github.com/apache/superset/issues/15559) are dealbreaker for our company.
I would like to kindly ask you whether there is any update on this feature.

Hi @johnnyheineken.
Is this PR solve your problem https://github.com/apache/superset/pull/14688


While loading children is in progress, canceling out by selecting the header panel jumps up 2 levels instead of 1.

Expected behavior and actual behavior:
When navigating to the child level, while the "in progress bar" is active, selecting the panel header would cause the child loading to cancel out as expected, but it jumps back 2 levels up(back to grandparent) instead of 1 level(parent).
Environment:
CB: Redesign Branch/today's pull
app-helpers: Master/today's pull
Browsers: All
Screenshots:

/cc @davidrleonard

Fixed as of 63d123746b924559b9c54703fdf06c4b5dc61cb5, no longer an issue at the tip of master.


add  MY social account to Link tree

Please revert the changes in the package-lock.json and package.json files. Let us know if you need any help with that! 😄

I didn't even touch that file thought. well if needed I am gonna revert it  (:

Please revert the changes in the package-lock.json and package.json files. Let us know if you need any help with that! 😄
okay. I didn't change anything in these two files. so how should I revert it?
should I go to specific files and revert them or should I revert all? and commit again.

I always use git add.  I didn't realize it can cause a problem like that. thank you for the solution

LGTM, Only thing I would suggest is make the I caps in LinkedIn, but as I said, there's no harm with that being as it is too :)

yap tomorrow this problem happened because I change the cap hahaha, I am gonna change it again :)

LGTM, Only thing I would suggest is make the I caps in LinkedIn, but as I said, there's no harm with that being as it is too :)

yap tomorrow this problem happened because I change the cap hahaha, I am gonna change it again :)

Ok thanks.
Also, it's not "tommrow" it's "yesterday" :)

LGTM, Only thing I would suggest is make the I caps in LinkedIn, but as I said, there's no harm with that being as it is too :)

yap tomorrow this problem happened because I change the cap hahaha, I am gonna change it again :)

Ok thanks.
Also, it's not "tommrow" it's "yesterday" :)

LGTM, Only thing I would suggest is make the I caps in LinkedIn, but as I said, there's no harm with that being as it is too :)

yap tomorrow this problem happened because I change the cap hahaha, I am gonna change it again :)

Ok thanks.
Also, it's not "tommrow" it's "yesterday" :)

Also, it's not "tomorrow" it's "yesterday" :)

I can't believe I wrote tomorrow. (:

Also, it's not "tomorrow" it's "yesterday" :)

I can't believe I wrote tomorrow. (:

no problem, was just letting you know, i understood what you meant to say : D

Any update on this PR?


Add mockFn.mock.lastCall to easily retrieve the last call arguments

Summary

When switching from using sinon mocks to jest, one of the nice things that sinon provided was the ability to retrieve the last call arguments easily. I know that you can use mockFn.mock.calls[mockFn.mock.calls.length - 1] to retrieve it, but mock.lastCall seems a lot easier when you're doing it in a bunch of places. I wanted to at least try adding it and see what the response was. I understand if this is not needed, but it seems like a nice little improvement.
Test plan
I've updated types, added tests for the feature and updated documentation. I ran yarn test for the entire test suite to verify that it was working. (Please let me know if there is additional testing that is necessary for this change.)

So sorry, this landed in #12285... Didn't know we already had a PR for it 😬


Adding boilerplate config for Percy

Checklist

[x] Include a description of your pull request and instructions for the reviewer to verify your work.
[ ] Link to the issue if this PR is issue-specific.
[ ] Create/update the corresponding story if this includes a UI component.
[ ] Create/update documentation. If not included, tell us why.
[ ] List the environments / browsers in which you tested your changes.
[x] Tests, linting, or other required checks are passing.
[x] PR has an informative and human-readable title

PR titles are used to generate the change log in releases; good ones make that easier to scan.
PRs will be broadly categorized in the change log, but for even easier scanning, consider prefixing with a component name or other useful categorization, e.g., "BaseButton: fix layout bug", or "Storybook: Update dependencies".

[x] PR has been tagged with a SemVer label and a general category label, or skip-changelog.

These tags are used to do the aforementioned broad categorization in the change log and determine what the next release's version number should be.
Release Drafter will attempt to do the category labeling for you! Please double-check its work.

Description
I'd like to use Percy to for visual comparisons between different versions of Tailwind, as I'm preparing to update TailwindCSS and TailwindCSS forms to their latest non-v3 versions. This will also come in handy when we update to TailwindCSS 3.

Adds percy config
Adds devDependencies for percy/storybook testing
Adds docs on how to use percy for testing locally with Storybook

Instructions to test

npm i
Make a temporary change to .percy.yml to we don't use up our quota to test this PR. Change:  include:
    [
      'Colors',
      'Typography',
      'Grid and Layout: BaseGrid',
      'Grid and Layout: MixedBleedGridLines',
      'Grid and Layout: Full Page Example',
      'Components',
    ]

to  include:
    [
      'BaseButton: Primary Button',
    ]

Retrieve the PERCY_TOKEN from our explorer-1 Percy project
Follow the instructions in the newly added docs:

Thanks for the review @Scotchester ! Hopefully we'll work out the Percy nuances over time.


[Package Issue]: ZhornSoftware.Stickies - update completed successfully however winget claims there is still a unknown versionupdate

Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Other
Brief description of your issue
while the update will complete successfully, winget still claims there is a update available. in addition, winget cannot deduct the version.
Steps to reproduce

install stickies. i originally used chocolatey, however, the package hadn't been updated since <IP_ADDRESS> (in 2020)
attempt to update to 10.1c
after update completes, run winget upgrade --include-unknown again.

Actual behavior
the update completes successfully, however winget doesn't detect the update.
Expected behavior
winget should recognise that stickies has been updated.
Environment
Windows Package Manager v1.3.2691
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19045.2364
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.2691.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

affected program is stickies (ZhornSoftware.Stickies)

Screenshots and Logs
WinGet-2022-12-24-08-08-37.429.log

This is because the publisher does not write a version to the DisplayVersion registry key, and only puts the verstion in the name instead. I've reached out to the publisher about this in the past, a d they said they will fix it sometime in the future.
@msftbot installer issue


[ci skip] [cf admin skip] NO_CI adding bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I've added bot automerge as instructed in #1.
Merge this PR to enable bot automerging.

@conda-forge-admin, please restart ci

@conda-forge-admin, please restart ci

@conda-forge/help-python
The CI is failing to find the following:
The reported errors are:
- Encountered problems while solving:
-   - nothing provides requested trame-vuetify
-   - nothing provides requested trame-vega
-   - nothing provides requested trame-matplotlib
-   - nothing provides requested trame-simput
-   - nothing provides requested trame-rca
-   - nothing provides requested trame-markdown
-

Yet each of these recipes have been live for several days now:

trame-vuetify: https://github.com/conda-forge/trame-vuetify-feedstock
trame-vega: https://github.com/conda-forge/trame-vega-feedstock
trame-matplotlib: https://github.com/conda-forge/trame-matplotlib-feedstock
trame-simput: https://github.com/conda-forge/trame-simput-feedstock
trame-rca: https://github.com/conda-forge/trame-rca-feedstock
trame-markdown: https://github.com/conda-forge/trame-markdown-feedstock

Any tips?

At least this one failed: https://github.com/conda-forge/trame-vuetify-feedstock You might have to double-check each feedstock individually.

Oo whoops, okay thank you!

@conda-forge-admin, please restart ci


Color distribution according to percentage?

I'm trying to achieve a 3-colored gradient view where color distribution can be configured. I understand that your view & CGGradientLayer both have locations property but I'm still not able to achieve the results needed.
I'm trying to achieve this: http://i.stack.imgur.com/HN73s.png
For further details http://stackoverflow.com/questions/33788533/swift-2-1-cagradientlayer-color-location-distribution
Can you help me achieve this?

Hello Abid,
Please see my SO answer: http://stackoverflow.com/a/33800041/3160561
Hope it helps you to achieve what you need. For simple linear gradients I'd recommend to use CAGradientLayer, as it allows to animate its values.


Improved font-locking for print macros

Improved the font-locking for print macros so that they still apply in cases where the body is empty,
such as println!(), and when the content is on a new line.
Before:
https://i.imgur.com/b6HGC3d.png
After:
https://i.imgur.com/TGNXlMN.png

seems good =)


fix(storage-scrubber): handle race of index part download

Problem
If the branch gets deleted after we list the objects, we will get
2024-09-19T18:15:00.831578Z ERROR Failed to download object for key tenants/??/timelines/??/index_part.json-00000158: No file found for the remote object id given

and scrubber will exit immediately. We should make scrubber continue running.
Summary of changes
If we cannot download index_part, return a timeline check error instead of failing with anyhow error.
Checklist before requesting a review

[x] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.
[ ] Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
[ ] If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

[ ] Do not forget to reformat commit message to not include the above checklist

will be part of https://github.com/neondatabase/neon/pull/8873


Better Examples and changes for testing: 0.6.0

Testing:

Better examples and API changes / cleanups.

Support for MultiStepFailure mode.
API-Change:testing:chg: gfDirSuite => runMultiTestDirSuite
API-Change:testing:new: ignoreMultiTestDirSuite
API-Change:testing:chg: registerDirSuiteTest
API-Change:testing:new: getTestCases
API-Change:testing:new: gfDirSuite
API-Change:testing:chg: testExecutor
API-Change:testing:chg: exec file format
API-Change:testing:new: tokenizer, new function
API-Change:testing:chg: execParser => parseExec
API-Change:testing:chg: argsMapping => mapArgs
API-Change:testing:chg: getOutput => mapOutput

Coverage decreased (-0.6%) to 95.706% when pulling 590cca0287c56597a8d1bea197e53748f50e4305 on jaa127:master into 411bc98369f5f77a54bb26b54bc117809cb1fe90 on sn127:master.

Coverage decreased (-0.6%) to 95.706% when pulling 485e31531c2e9e8e4abc04a9ab4421704881149c on jaa127:master into 411bc98369f5f77a54bb26b54bc117809cb1fe90 on sn127:master.


EtherCAT shared memory issue when controlling multiple arms

Hi Yihuai, ran into this while testing the new Ecat connection.
When attempting to control multiple arms in one Python process, the started connections interfere with each other in unpredictable ways. Sometimes this is with the second connection overriding the first one, sometimes the second connection fails to start up. I believe this can be dangerous to the robots if it leads to invalid commands sent to the motors (my arms are ok though so no harm caused).
I noticed this problem does not occur when controlling the arms separately from separate processes. I managed to replicate the issue by the following code - start the arm connections either in separate threads or in separate processes:
separate threads - issue occurs
def run_1():
    arx5_0 = arx5.Arx5JointController("L5", "enx____1")
    arx5_0.enable_background_send_recv()
    arx5_0.reset_to_home()
    arx5_0.enable_gravity_compensation("../models/arx5.urdf")
    time.sleep(5)

def run_2():
    arx5_1 = arx5.Arx5JointController("L5", "enx____2")
    arx5_1.enable_background_send_recv()
    arx5_1.reset_to_home()
    arx5_1.enable_gravity_compensation("../models/arx5.urdf")
    time.sleep(5)

def main():
    np.set_printoptions(precision=3, suppress=True)

    # robot_config = arx5_0.get_robot_config()
    # controller_config = arx5_0.get_controller_config()
    import threading
    t1 = threading.Thread(target=run_1)
    t2 = threading.Thread(target=run_2)

    t1.start()
    time.sleep(2)
    t2.start()

    time.sleep(5)
    t1.join()
    t2.join()
    exit()

separate processes - ok, no issues
def run_1():
    arx5_0 = arx5.Arx5JointController("L5", "enx____1")
    arx5_0.enable_background_send_recv()
    arx5_0.reset_to_home()
    arx5_0.enable_gravity_compensation("../models/arx5.urdf")
    time.sleep(5)

def run_2():
    arx5_1 = arx5.Arx5JointController("L5", "enx____2")
    arx5_1.enable_background_send_recv()
    arx5_1.reset_to_home()
    arx5_1.enable_gravity_compensation("../models/arx5.urdf")
    time.sleep(5)

def main():
    np.set_printoptions(precision=3, suppress=True)

    # robot_config = arx5_0.get_robot_config()
    # controller_config = arx5_0.get_controller_config()
    import multiprocessing
    t1 = multiprocessing.Process(target=run_1)
    t2 = multiprocessing.Process(target=run_2)

    t1.start()
    time.sleep(2)
    t2.start()

    time.sleep(5)
    t1.join()
    t2.join()
    exit()

Because separate processes fixes the issue (and is a workaround) I suspect there is an issue with shared memory somewhere in the c++ code or in the CAN / ECAT libraries. The issue might also occur with CAN connections, I just haven't been able to test it.
Again, thanks for the good work with this library!

Hi Ville, thanks for pointing out this issue!
Previouly I've been using USB-CAN adapters for multiple arms and the code works well. For the EtherCAT interface, I've been using the global variables provided by the SOEM library. I just modified the code and now it's using local variables. Hopefully this will address the issue.
However, I have only one arm right now so I'm unable to test it. Could you checkout the yihuai branch and test the code on multiple arms? Since each controller for an arm has a thread running in the background, you don't need to use python (fake) multithreading in your python code. You can refer to python/examples/test_bimanual.py (remember to modify the robot model and interface names).
I also noticed another problem for EtherCAT-CAN interface: the arm sometimes disconnects without any error messages and stuck at a random pose (USB-CAN doesn't have this problem). Have you ever seen the same behavior? I'll merge the code into the main branch after this problem is solved.

Merged


Update azure-storage-blob-batch to 12.21.2

About this PR
📦 Updates com.azure:azure-storage-blob-batch from 12.21.1 to 12.21.2
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.azure", artifactId = "azure-storage-blob-batch" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.azure", artifactId = "azure-storage-blob-batch" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #1061.


libmemenv should be available as a shared library

Original issue 230 created by<EMAIL_ADDRESS>on 2014-03-22T20:12:34.000Z:
nt

Hi @cmumford @pwnall is there any chance to see this implemented upstream?

Hi @sbraz. I'm not sure I understand why this would be needed. Can you explain your interest in it being in its own shared library?

@cmumford It's used by the bitcoin code. That's why Gentoo reported this bug, here is ours:
https://bugs.gentoo.org/show_bug.cgi?id=505320
On my system, all the bitcoin binaries are linked with libmemenv.so.
scanelf -n /usr/bin/bitcoind |grep libmem
ET_DYN libunivalue.so.0,libleveldb.so.1,libmemenv.so.1,libsecp256k1.so.0,libboost_system.so.1.65.0,libboost_filesystem.so.1.65.0,libboost_program_options.so.1.65.0,libboost_thread.so.1.65.0,libboost_chrono.so.1.65.0,libdb_cxx-4.8.so,libpthread.so.0,libcrypto.so.1.0.0,libevent_pthreads-2.1.so.6,libevent-2.1.so.6,libstdc++.so.6,libm.so.6,libgcc_s.so.1,libc.so.6 /usr/bin/bitcoind

It's already available as a static library, it seems to make sense to include it as a dynamic one too.

Thanks @sbraz. We created a shared library for leveldb a while ago and NewMemEnv is one of the exported functions. See https://github.com/google/leveldb/blob/master/helpers/memenv/memenv.h. I believe that you are probably using an old fork of leveldb that just needs to be brought up to date.
If you can confirm I will probably mark this bug as closed. Thx.

@luke-jr can you confirm that we no longer need the separate libmemenv.so?

dev-libs/leveldb-1.18-r2 installs a libleveldb.so.1 that doesn't seem to export any symbols matching /memenv/i. Furthermore, the configure script for obvious reasons actually checks that it can link to -lmemenv, and fails if it isn't available (when/if -lleveldb actually exports NewMemEnv, perhaps this can be changed, but it won't work as-is today).

@luke-jr that's either a fork of this repo, or a configuration that comes from a distribution as the history in this project doesn't contain lmemenv. I built the shared library and it does contain this symbol:
0000000000058700 T _ZN7leveldb9NewMemEnvEPNS_3EnvE

I think you'll just need to update that reference to 1.20 (but possibly origin/master/HEAD) to get this symbol.

@cmumford I was referring to Bitcoin Knots, which bundles LevelDB, but can also be told to link to the system library if configured --with-system-leveldb

Looks like Bitcoin Knots is using a forked/old version of leveldb. Closing this issue as this project currently exports NewMemEnv.

Building master, NewMemEnv still does not exist in any of the installed include files.


CFF glyphs horizontal metrics

Hi all,
This is more of a question than a issue. Given that horizontal metrics are stored in 'hmtx' table in a TTF font, when a font contains postscript outlines and a 'CFF' table, modifying the 'hmtx' table does not change the width of the CFF glyphs and saving the font back using the fonttools does not change the postscript glyphs width and still some engines like CoreText read the width from 'CFF' apparently and skip the width from 'hmtx' table. I also inspected the TTX file and couldn't find any information about glyphs widths other than the 'hmtx' table. Is there something I'm missing or fonttools is not suppose to deal with this data?
Thank you

The advance width of CFF glyphs is stored in the CFF table. To get the glyph's advance width you need to look at its charstring and also factor in the defaultWidthX and nominalWidthX values.
Here's the relevant snippet from the Adobe Tech Note #5177:

Width: If the charstring has a width other than that of defaultWidthX (see Technical Note #5176, “The Compact Font Format Specification”), it must be specified as the first number in the charstring, and encoded as the difference from nominalWidthX.

FontTools takes care of all of this logic (as well as the handling of subroutines) for you. Look at these lines to get an idea of how to fetch a CFF's glyph width.

The code you pointed was extracting the width but the Adobe Note helped me to understand the how the width is calculated in CFF. I was able to change the width by setting the value of the first item in the CharStrings program to the intended value minus the nominalWidthX.
Thank you Miguel

Note that as of OpenType 1.7, the hmtx has priority over CFF table advance widths.


HBASE-27602 Remove the impact of operating env on testHFileCleaning

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  9s
Docker mode activated.

Could you please explain how this patch could fix the problem described in the jira issue?

Sure. You can see the error on my laptop before:2023-01-31T19:05:14,453 ERROR [hfile_cleaner-dir-scan-pool-0] mob.ManualMobMaintHFileCleaner(87): Failed to determine mob status of 'hdfs://localhost:59285/user/tianhang.tang/test-data/01a0d8a0-6306-7725-b63a-5debcab8cf57/archive/someHFileThatWouldBeAUUID.1675163114186', keeping it just in case. java.lang.IllegalArgumentException: Illegal character <.> at 8. Namespaces may only contain 'alphanumeric characters' from any language and digits: tianhang.tang
That's because the test path is: /user/tianhang.tang/test-data/01a0d8a0-6306-7725-b63a-5debcab8cf57
And the MOCKED path before is just: archive
The logic in ManualMobMaintHFileCleaner get table/region from the path, so got this error with my root path "user/tianhang.tang".


update maven dependency tree

@michael-o

I'm working on it, I'll open new PR with all needed changes

I'm working on it, I'll open new PR with all needed changes


Update/align with paper

Major refactor, revises workflow
Old workflow:

Upload resource to s3, packaging in metadata to use when creating RDF
Read resource from s3, parse metadata and put TTL file somewhere to register it as a dataset

New workflow:

Utilize custom extension for CKAN to handle AORC datasets
Collect metadata during the data processing phase, package this into a JSON object
Send POST request to CKAN instance with extensions enabled
Allow CKAN to handle the dataset URI creation and cataloguing

For now, the CKAN extensions utilized live here. Plan to move them and test integration with existing Dewberry CKAN instance


Update package.json

Is this necessary? My understanding of npm and semver is that this change would not affect anything because of the ^ prefix that is already in place. Please correct me if I'm wrong though.

My mistake, you're right, I'll close this.


Allow testrun/charmrun to accept two ++ppn values and use the first value and ignore the second

This support is required for testing autobuild tests with generic ++ppn values passed in TESTOPTS.

#2570


DynamoDB connector

This feature requests serves as a central place to discuss development and progress for the DynamoDB connector.

great initiative, I'll be more than excited to help

quarter 4! i'm excited to see progression on this. hoping to see ways to help later.

We have not yet started work on the DynamoDB connector, and we will not be able to start this year. I will update this thread when we have a clear roadmap.
If you are interested in the general concept on non-sql database connectors you can already check out the Mongo Preview

AWS just released support for transactions in DynamoDB (see announcement post). This is a very exciting addition and should be considered in our spec. 👌

I've noticed DynamoDB is listed as supported DB on the web. Is it coming soon?

Is this something that would be released with/after prisma 2? I imagine it would be a nice step up from the DocumentClient sdk

DynamoDB would be amazing, it get my vote

Pretty please??


container-definitions Breaking change needs to be accounted for in 0.53 release

See this build failure  we're encountering as part of the current release (this PR).

this is what's causing the problem. between prelease 0.43.0-45414 and release 0.43.0 some change came in that is just now being consumed.

Originally posted by @anthony-murphy in https://github.com/microsoft/FluidFramework/pull/8531/files#r766162346

@scottn12 - Can you please help here to unblock the release?  From looking at the build error (linked above), I believe this breaking change of yours was never pulled in by the rest of the repo.  But since @sumedhb1995 did do the prerelease bump to tell the repo to depend on container-definitions 0.43.0-0, now as part of the release we've published all changes to container-definitions to 0.43.0, and are trying to consume them, and this breaking change needs to be dealt with.
I think it will just be a matter of appeasing the type validator tests to clarify that this breaks some back/forward compatibility.

Next time, you can catch this earlier by following these instructions for testing changes that impact across boundaries using the symlink:full script.
Bonus is to publish a prerelease version with your changes and update the lockfile to make the dependent layers proactively pull in your changes rather than waiting for the release (like you see in Sumedh's PR that bumped client to the prerelease dependency)

@markfields , I think you accidentally linked the instructions twice instead of Sumedh's PR

Btw, there may be other build breaks from the other changes between Sumedh's and Tim's commits here.  https://github.com/microsoft/FluidFramework/commits/main/common/lib/container-definitions.  We'll see what surfaces once we resolve the runtime-definitions one.


Push failing: Use of closed network connection

"DeliveryPoint=Unknown Failed:  error on connection with <IP_ADDRESS>:2195: Use of closed network connection. Will retry in 20s"
Is this a problem with the pem/p12 files or the server not being able to reach the apple gateway?

Closing this old issue, it seems resolved.


Infinite loading when logging in

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Log in to staging.new.expensify.com

Expected Result:
User should be able to log in.
Actual Result:
Infinite loading and a JS error is displayed.
Workaround:
Refreshing the page solves the issue.
Platform:
Where is this issue occurring?

[x] Web
[x] iOS
[x] Android
[x] Desktop App
[x] Mobile Web

Version Number: 1.0.81-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:

Expensify/Expensify Issue URL:
View all open jobs on Upwork

From @marcaaron https://expensify.slack.com/archives/C01GTK53T8Q/p1627508142417800

Is it known that logging in is borked on staging or is this just for me?
It’s throwing on this line ->

Triggered auto assignment to @joelbettner (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

Chatting with @luacmartins we think it was caused by this PR https://github.com/Expensify/App/pull/4134 cc @iwiznia @madmax330
Sending the fix now.

The fix has been CP'd to staging and this is no longer a deploy blocker, closing


Adds 3 lists of malicious domains

Hey there,
thanks again for your submission. I personally don't think it's a great idea to fill up the default with too many lists, to make it highly restrictive, since the defaults can always be extended using the Corefile by the administrator.
However i am open for discussion to add these lists into the strict default setup.
It would also be nice if you could add the lists to the docs/lists.md document.

Oopsie from me here. I have overseen the fact that you have already added these lists to the strict setting in the first place. Sorry for that.
However could you please add the lists to the docs/lists.md document? Then i will approve this PR.

Looks good now. Thank you!
Sorry for the delay. Have been busy over the last few days.


How to not allow player joining in a claim in 1.7.10 Version ??

How to not allow player joining in a claim in 1.7.10 Version ??

??

This is not the repository for the bukkit version of GP


By mistake, I created a repository inside the repository, how am I supposed to delete that? All I want to do is to delete the respository inside the repository with the code

Can you delete that for me?

OK

I have made a pull request and I also have a collaborator access to your repo, so I can merge it.

I have made a pull request, please merge it and yeah before merging it, please check that did i deleted it correctly

Actually I don't have write access to your repo, that's why I need to fork your repo and pull request

I'm still making those pull request

Done, all you need to do is that you need to preview the changes and push the request to your repo

Ved, there is a pull request named 'Deleted Repo.repo' only accept that

Wait ! don't merge any thing!

ok

I am waiting

I can't see any pull request of Deleted Repo.repo

I'm still creating it, hold on please

fine

Check now

ya, it worked

Is everything ok now

Happy to hear it : )

Please close this issue