[Search v2.5] Update grammar filters

Coming from this comment, we want to update the filter grammar to use kebab case instead of camel case so it's a bit more friendly to users. Here are the filters that need to be updated:

cardID to card
taxRate to tax-rate
expenseType to expense-type
sortBy to sort-by
sortOrder to sort-order
reportID to reportid
policyID to workspace

Issue OwnerCurrent Issue Owner: @luacmartins

Hi! While working on the search parser, I noticed a feature in Peggy that could be beneficial. What's your opinion on making grammar keys case-insensitive, allowing from and From to function identically? It should be easy to implement by adding letter i at the end of a literal in the grammar e.g. "from" will become "from"i. I think this feature would be useful and make the Search Router easier to use.

Sounds like a nice improvement, let's do it.!

Not a priority

Working on it this week

Sure, I'd like to work on that

Nice! All yours

Hi,
I have now been working on this task a bit, and I want to share some thoughts.
There are four sources of queries that need to be parsed in Search:

User input
Query from URL
Query from saved search
Query created by the app via advanced filters

The biggest problem with renaming in the UI layer only is that we have one parser to parse all types of queries. It is impossible to allow users only to use new filter keys without doing very big changes to whole Search codebase. We cannot rename filter keys all over the app as there are old URLs and old saved searches that would be incompatible with new names, not to mention changing hashes and payload sent to the backend.
However, I believe I've found a solution that should work:
I changed the parser to allow for both old and new keys, e.g., taxRate and tax-rate, but we will always show the new, more approachable names to the user. This approach also gives us flexibility and allows for simpler changes in the future. The only downside of this approach is that technically users will still be able to type in old names into input, but these names will be swapped for new ones after the search. However if users won't know old keys, then they should not type them in.
cc @luacmartins for thoughts

That's exactly what I was thinking. Changing the keys in a deep level would break a lot of functionality, so we need to do it as you mentioned.

$250 approved for @hoangzinh

Payment summary above is correct.

@luacmartins btw, I assume that we're handling the regression tests centrally? Or should we update/create them with this issue?

Hmm I think in this case we can do it as part of this issue since the grammar was introduced in v2.2 and we should already have tests for those


Variables for improved resource tagging

Two new optional variables for improving tagging of AWS resources:

instance_name_prefix: string to append to the front of the name of each new instance created. This will help keep instances distinct if more than one DetectionLab environment is created within a single AWS account.
custom-tags: map of names & values for tags to apply to all resources created in AWS

very useful feature @deathbywedgie, I wish it gets merged the soonest.

Thanks @deathbywedgie !


Performance issue when hosts are more than 100

When I have scope agent running in 100 hosts, there is continuous fluctuation in UI in number of hosts/containers. Some hosts suddenly goes missing, and then reappears. Same with containers.
Any help would be appreciated.

@ashwani95 100 seems like a high number for scope. It would help to get a CPU/memory profile of Scope (as described at https://www.weave.works/docs/scope/latest/building/ ) and a deeper description of your environment (where you are running Scope, whether you are using Weave Cloud, how big are the machines etc ...)


DMX not communicating from lighting desk

Is anyone having issues with some lighting desks not being able to send values?

Do you have any more details on the problem?

It works when I use a dmx converter with lighting software on my laptop, but when I plugged it into the end of a dmx chain to use on a production controlled from a lighting desk it didn’t work.
Sent from my iPhone
On 24 Sep 2022, at 13:08, Matthias Hertel @.***> wrote:

Do you have any more details on the problem?
—
Reply to this email directly, view it on GitHubhttps://github.com/mathertel/DMXSerial/issues/67#issuecomment-1256954256, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALVI2UUT5CBT5E7J2AOZBV3V73VKLANCNFSM6AAAAAAQUEPZMU.
You are receiving this because you authored the thread.Message ID: @.***>


Merge I128/Ixx and U128/Uxx variants

Closes #314
Also lift 32 bit range for bitfields introduced in #13
Could be split into another PR, if concerns are raised.

Looks reasonable, thanks!
I think we should add a QEMU test for the larger bitfield range.

I've added a qemu test and as it shows, some more places has to be changed to support 128 bitfields.
I've also added support for ascii hints for bitfields :)

bors r+

bors r+

CI should be fixed now
bors retry

CI should be fixed now
bors retry


Feature/beancount supported

seems like nothing leave, zhang can parse and serve beancount's example data without any error.

based on @Harry-Chen 's suggestions, we will seperate some tickets to enhance the exprience of usage of pushtag and poptag directives.

https://github.com/zhang-accounting/zhang/issues/143
https://github.com/zhang-accounting/zhang/issues/144


Please consider to upgrade FlashStore from v0.7 to v0.14

The FlashStore v0.7 is using nosql-leveldb which can fix the segfault from leveldown.
However, the v0.7 has a dependencies from my test environment zixia/levelup. See:
https://github.com/huan/flash-store/blob/7c776572ba4ce55840012bb292ce2c520fadf519/package.json#L41
Recently, FlashStore upgrade to using the RocksDB from facebook (See https://github.com/huan/flash-store/issues/34), which I hope could solve the segfault problem too.
So I'd like to suggest that we merge #121 to start using the latest version of FlashStore, and then we can monitor if it will be good for us.

Sounds great, however, the backend server is unstable recently, let's postpone this change util it get fully fixed.

Will upgrade this in v0.3.x

Merged, please check.

Great. Let's monitor is there's any segmentation fault with v0.3

I can not start wechaty-puppet-padpro after upgrade to v0.14, so rollback the upgrade for now.
Here is the issue that I created related to this issue:
https://github.com/huan/flash-store/issues/41
Will upgrade to v0.14 after we get the issue is resolved.

I'd like to suggest you delete all the old db files before you use the new code.
Because I believe the RocksDB and LevelDB might not compatible between binary files.

Okay, delete the old db files works for me.
Is there a way to auto detect the file existence and incompatible then auto delete these files? So the upgrade will be much more smoother. Is this technically possible?
Since this is upgrading from old version to new, if this requires manually delete the db files, it requires too much work from the users.

I believe it will have some way to detect, however, I have no idea right now.
Or you should consider keeping using the LevelDB version instead to upgrade to the RocksDB version. If you want to do so, I'll publish a new version of FlashStore with the official LevelDB version for you, for replacing the developing version v0.7.

Will you considering adding a parameter or some environment variable for the constructor or something that will control the underlying data store for flash-store? Thus if I want to use the new one, I can pass in a parameter, and without any parameters, the flash-store will keep using the levelDB. And we can tell developers to upgrade to the new version during a period of time, and deprecate the old one some day in the future.
What do you think about this?


.7 RC: for ruby app, output steams logs so much you can't use the console

On ubuntu 17.10/oh-my-zsh, for all the example apps the draft connect experience is great. But for the ruby app, the logs stream out onto the console in a way such that you can't use the console to grab the info you want.
Might want to implement either the --spew true|false switch, or else understand why the ruby app streams 200 responses, but the others don't. Dunno.

This is also true for the python example, FWIW. Both apps have a liveness/readiness probe pointed at / and get probed every 10 seconds if I recall.
@michelleN perhaps we should revisit this design at some point? I could see this being an issue eventually where the user needs to keep scrolling up in order to find the listen address.

Yeah, the immediate issue here is the liveness/readiness probes. Let's fix that problem using this issue to track it. I've added an issue to address your concern about getting url info in #338. I had thought about this but didn't want to address it in the MVP. It's a great thought though and I made a suggestion in that issue. Let me know what you think @bacongobbler


Assetic:Dump --watch creates broken assetic_watch file on Windows

Running "assetic:dump" works, but when i try to use "assetic:dump --watch" after some time it will generate the following error:

[ErrorException]
Notice: unserialize(): Error at offset 0 of 25019 bytes in D:\vendor\symfony
assetic-bundle\Symfony\Bundle\AsseticBundle\Command\DumpCommand.php line 96

Clearing cache or running assetic:dump does not fix this problem.
I found out that deleting a file called "assetic_watch_876b12e" in C:\Users%NameOfWindowsUserHere%\AppData\Local\Temp does fix the problem.
The contents of the file when the file is broken is a whole lot of spaces, most likely the size of the serialized array would be.
After i deleted the file in the local temp directory and ran "assetic:dump --watch" again it refreshes the file it contains a serialized array of assets.
I don't know when it exactly happends, but it has happened multiple times over the past months on different windows machines. I think it is best to add a Try and catch on the unserializing part, and consider the file as non existing if it cannot be unserialized.

Just for all the people that copy your path into Windows+R, this on will work: %LOCALAPPDATA%\Temp. Or the whole command:
del "%LOCALAPPDATA%\Temp\assetic_watch_*"

@blaues0cke thanks for the solution


fix: run compile protos script for new changes in proto file

Please make it feat: with the proper description though :)


Build from source

Checklist

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

This an attempt to close #54 using stack as I joined the Mac M1 club and was looking for binaries of Pandoc for my new laptop. My local tests had some success, so let's see how far I can bring this PR.

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

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@conda-forge/pandoc this is ready for review.

@conda-forge/pandoc this is ready for review.

@m-rossi impressive! I'm definitely not the right person to review this b/c I'm not familiar with haskell. @msarahan do you have some spare cycles to look into this?

@conda-forge/pandoc Any update?

Seems fine to me. I apologize for the delay. I missed this. The hardest part for me was always getting the precursors built (stack or ghcup), but I was stuck on aarch64 especially. This PR doesn't address that, but the repackage approach there is fine. It's better to have this building from source where we can, rather than not at all.
Nice work @m-rossi


Bump mc-sgx crates to version to 0.7.0

Motivation

Current dependencies on/for this PR:

main

PR #108   👈

This comment was auto-generated by Graphite.

@nick-mobilecoin started a stack merge that includes this pull request via Graphite.

@nick-mobilecoin merged this pull request with Graphite.


Unable to navigate directly to the circuit maintenance from the Circuit page

Environment

Python version: 3.6
Nautobot version: 1.1.0
nautobot-circuit-maintenance version: latest

Expected Behavior
From the detail view of a circuit i should be able to visualize the upcoming maintenances and directly navigate to them by following a link.
Observed Behavior
The list of upcoming maintenances is represented in the detail view of a circuit on the left but there is no link to the corresponding object so it's not possible to navigate to it

Fixed in #62


Implement donate for puppy

Description

Add the Puppy Detail page
Refactor main contract & re-deployment

For the table overflow issue on small-width window, how about add the code below into our css, and let the table could be scrolled horizontally on small-width window.
@media (max-width: 720px) {
  table {
    width: 100%;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

It should look like this picture.

How about this for the table overflow issue:

Looks great! And I'm thinking about that maybe we don't need the RECEIVER column?

Oh oh, I don't think it's necessary to hear you say that, it seems that it can be removed.

It will finally looks like this:

It seems that it only works in dark mode...

It looks like the following in the  light mode.

Sorry to find that after merge....


Help wanted: create tests for internal plugins

Original Discussion: https://github.com/pikapkg/snowpack/discussions/958#discussioncomment-72307
/cc @FredKSchott @drwpow @ralphtheninja
Snowpack's internal plugins do not currently have good test coverage. We would like to change that 😄
If anyone would like to contribute to Snowpack, comment which one of the plugins below you would like to claim, and create tests similar to what @Akimyou did in https://github.com/pikapkg/snowpack/pull/984. The tests do not need to be complete, we can iterate. Few tests are better than none :)

[x] babel-plugin-package-import
[ ] plugin-babel
[ ] plugin-build-script
[ ] plugin-dotenv (claimed by @MoonBall https://github.com/pikapkg/snowpack/issues/1019#issuecomment-689265256)
[ ] plugin-optimize
[ ] plugin-parcel
[ ] plugin-postcss
[ ] plugin-react-refresh
[ ] plugin-run-script
[ ] plugin-svelte
[x] plugin-vue (#984)
[ ] plugin-webpack (@ralphtheninja?)

I would like to add test for plugin-webpack.

@ralphtheninja just to confirm, are you working on test for plugin-webpack?

@gr2m Nope, I never got started on it.

no worries, @MoonBall would you like to work on it? If not I'd do it myself, I think it's the most important one to have tests right now

@gr2m I started plugin-dotenv. So you do it.

Hi @gr2m I would like to try plugin-babel

Hi @JennieJi, I've signed you up. Thanks for looking into it 👍🏼

@gr2m I would like to work on plugin-react-refresh.

You got it, thank you!

Woo! This is exciting to see! @gr2m got one that I can take a look at? Maybe plugin-run-script & plugin-build-script?

Sure, just update the issue description for the one you are working on

I feel pretty comfortable working on tests for plugin-postcss

Great, all yours @thescripted!

Just added a test for plugin-svelte in #1241!

@MoonBall just checking in, no rush: are you still working on / planning to work on plugin-react-refresh?

I'll work on the last unclaimed one: plugin-optimize.
Wonderful to see this all come together, thanks a bunch everyone 💐

actually plugin-build-script is up for grabs again ☝🏼

Yup, anyone feel free to grab it! It should be pretty similar to the run-script tests

I'll close the issue it's no longer actionable for people looking to contribut.
@thescripted @MoonBall let us know in case you won't be able to submit pull requests for the respective tests

woo! awesome job driving this @gr2m!


Rule violations messages

Describe the bug
There are some messages that have the wrong text, this is very confusing for new pilots and, on the other hand, makes it necessary to check if it is a fault of the aircraft or if the pilot did not do the lights correctly.
Version
7.0.0-dev+221103.00918f
vmsacars <IP_ADDRESS>6
To Reproduce
Steps to reproduce the behavior:

Move aircraft (pushback or taxi) with beacons lights off and landing lights on
See the messages:

Rule Violation: Landing lights off during pushback or taxi

Rule Violation: Beacon lights on while engine is running

Expected behavior

Rule Violation: Landing lights must be off during pushback or taxi
Rule Violation: Beacon lights must be on while engine is running

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
02.Jan.2023 10:27 | Started boarding at 2023-01-02T10:27:07Z, aircraft: C172 G1000 Asobo Argavirtual
-- | --
02.Jan.2023 10:32 | Engine started; 36.677453,-4.486219; h=207°, a=-279ft, s=0 kts
02.Jan.2023 10:32 | Engine stopped; 36.677443,-4.486228; h=216°, a=-279ft, s=1 kts
02.Jan.2023 10:32 | Engine stopped; 36.677423,-4.486272; h=259°, a=-279ft, s=2 kts
02.Jan.2023 10:32 | Engine started; 36.677424,-4.486266; h=253°, a=-279ft, s=2 kts
02.Jan.2023 10:32 | Engine started; 36.677487,-4.486352; h=3°, a=-279ft, s=0 kts
02.Jan.2023 10:32 | Rule Violation: Beacon lights on while engine is running (1x); 36.677487,-4.486352, -279.39', 0.01kt, 4°
02.Jan.2023 10:33 | Rule Violation: Beacon lights on while engine is running (2x); 36.678969,-4.487322, -281.18', 11.66kt, 296°
02.Jan.2023 10:34 | Rule Violation: Beacon lights on while engine is running (3x); 36.680381,-4.490692, -280.29', 12.18kt, 298°
02.Jan.2023 10:42 | Taxi lights turned on; 36.670263,-4.489666; h=136°, a=-278ft, s=17 kts
02.Jan.2023 10:44 | Engine stopped; 36.665731,-4.486231; h=306°, a=-283ft, s=3 kts
02.Jan.2023 10:44 | Engine stopped; 36.665777,-4.486305; h=309°, a=-283ft, s=4 kts
02.Jan.2023 10:44 | Engine started; 36.66577,-4.486295; h=309°, a=-283ft, s=4 kts
02.Jan.2023 10:45 | Strobe lights turned on; 36.665851,-4.486422; h=308°, a=-283ft, s=0 kts
02.Jan.2023 10:45 | Beacons turned on; 36.665851,-4.486422; h=308°, a=-283ft, s=0 kts
02.Jan.2023 10:45 | Landing lights turned on; 36.665851,-4.486422; h=308°, a=-283ft, s=0 kts
02.Jan.2023 10:46 | Engine started; 36.665851,-4.486422; h=308°, a=-283ft, s=0 kts
02.Jan.2023 10:46 | Flaps set to FULL; 36.666222,-4.486996; h=311°, a=-283ft, s=27 kts
02.Jan.2023 10:46 | Flaps set to 20; 36.666177,-4.486931; h=310°, a=-283ft, s=27 kts
02.Jan.2023 10:46 | Takeoff Time: 2023-01-02T10:46:18Z; 36.666637,-4.487555; h=311°, a=-282ft, s=41 kts
02.Jan.2023 10:46 | Flaps set to 20; 36.668952,-4.490841; h=308°, a=-267ft, s=70 kts
02.Jan.2023 10:46 | Flaps set to 10; 36.66905,-4.490998; h=308°, a=-264ft, s=70 kts
02.Jan.2023 10:46 | Flaps set to FULL; 36.671204,-4.494602; h=313°, a=-241ft, s=90 kts
02.Jan.2023 10:46 | Flaps set to 20; 36.671044,-4.494378; h=311°, a=-239ft, s=89 kts
02.Jan.2023 10:46 | Flaps set to 20; 36.672897,-4.49667; h=315°, a=-210ft, s=88 kts
02.Jan.2023 10:46 | Flaps set to 10; 36.673688,-4.497714; h=312°, a=-132ft, s=81 kts
02.Jan.2023 10:46 | Flaps set to UP; 36.676218,-4.501349; h=311°, a=-145ft, s=101 kts
02.Jan.2023 10:48 | Enroute; 36.669624,-4.540541; h=262°, a=280ft, s=115 kts
02.Jan.2023 10:50 | Flaps set to 10; 36.669647,-4.629345; h=289°, a=1104ft, s=85 kts
02.Jan.2023 10:50 | Flaps set to 20; 36.669773,-4.629824; h=288°, a=1119ft, s=84 kts
02.Jan.2023 10:50 | Flaps set to UP; 36.669895,-4.630307; h=288°, a=1136ft, s=82 kts
02.Jan.2023 10:50 | Flaps set to 10; 36.669835,-4.630067; h=288°, a=1127ft, s=83 kts
02.Jan.2023 10:56 | Taxi lights turned off; 36.680285,-4.842033; h=261°, a=1947ft, s=112 kts
02.Jan.2023 10:59 | Rule Violation: Excesss Bank (1x); 36.678693,-4.955363, 3278.62', 53.83kt, 282°
02.Jan.2023 10:59 | Pilot diverted to LERN
02.Jan.2023 10:59 | Landing rate: -998
02.Jan.2023 11:00 | Rule Violation: Hard Landing (1x); 36.677453,-4.486219, 40.36', 0kt, 207°
02.Jan.2023 11:00 | Engine stopped; 36.677453,-4.486219; h=207°, a=40ft, s=0 kts
02.Jan.2023 11:00 | Nav lights turned off; 36.677453,-4.486219; h=207°, a=40ft, s=0 kts
02.Jan.2023 11:00 | Beacons turned off; 36.677453,-4.486219; h=207°, a=40ft, s=0 kts
02.Jan.2023 11:00 | Landing lights turned off; 36.677453,-4.486219; h=207°, a=40ft, s=0 kts
02.Jan.2023 11:00 | Strobe lights turned off; 36.677453,-4.486219; h=207°, a=40ft, s=0 kts
02.Jan.2023 11:00 | Flaps set to FULL; 36.677453,-4.486219; h=207°, a=-279ft, s=0 kts
02.Jan.2023 11:00 | Flaps set to UP; 36.677453,-4.486219; h=207°, a=-279ft, s=0 kts
02.Jan.2023 11:00 | Flaps set to 10; 36.677453,-4.486219; h=207°, a=-279ft, s=0 kts
02.Jan.2023 11:01 | Engine started; 36.677453,-4.486219; h=207°, a=-279ft, s=0 kts
02.Jan.2023 11:01 | Engine stopped; 36.677453,-4.486219; h=207°, a=-279ft, s=0 kts
02.Jan.2023 11:01 | Strobe lights turned on; 36.677453,-4.486219; h=207°, a=-279ft, s=0 kts
02.Jan.2023 11:01 | Taxi lights turned on; 36.677453,-4.486219; h=207°, a=-279ft, s=0 kts
02.Jan.2023 11:01 | Beacons turned on; 36.677453,-4.486219; h=207°, a=-279ft, s=0 kts
02.Jan.2023 11:02 | Rule Violation: Strobes on during pushback or taxi (1x); 36.677453,-4.486219, -279.15', 0kt, 207°
02.Jan.2023 11:02 | Engine started; 36.677453,-4.486219; h=207°, a=-279ft, s=0 kts
02.Jan.2023 11:02 | Engine stopped; 36.677426,-4.486318; h=291°, a=-279ft, s=5 kts
02.Jan.2023 11:02 | Engine started; 36.677497,-4.486367; h=358°, a=-279ft, s=6 kts
02.Jan.2023 11:02 | Engine stopped; 36.67751,-4.486368; h=359°, a=-279ft, s=6 kts
02.Jan.2023 11:03 | Beacons turned off; 36.678312,-4.485807; h=338°, a=-281ft, s=4 kts
02.Jan.2023 11:04 | Engine stopped; 36.67854,-4.486299; h=299°, a=-281ft, s=2 kts
02.Jan.2023 11:04 | Rule Violation: Strobes on during pushback or taxi (2x); 36.678537,-4.486293, -281.59', 2.63kt, 299°
02.Jan.2023 11:04 | Engine started; 36.678537,-4.486293; h=299°, a=-281ft, s=2 kts
02.Jan.2023 11:04 | Engine started; 36.678557,-4.486339; h=295°, a=-281ft, s=2 kts
02.Jan.2023 11:05 | Rule Violation: Strobes on during pushback or taxi (3x); 36.68068,-4.49141, -279.46', 13.83kt, 298°
02.Jan.2023 11:06 | Strobe lights turned off; 36.681096,-4.492224; h=296°, a=-279ft, s=8 kts
02.Jan.2023 11:11 | Engine stopped; 36.666096,-4.485238; h=218°, a=-284ft, s=0 kts
02.Jan.2023 11:11 | Engine started; 36.666096,-4.485238; h=218°, a=-284ft, s=0 kts
02.Jan.2023 11:11 | Engine stopped; 36.666096,-4.485238; h=218°, a=-284ft, s=0 kts
02.Jan.2023 11:11 | Strobe lights turned on; 36.666096,-4.485238; h=218°, a=-284ft, s=0 kts
02.Jan.2023 11:11 | Beacons turned on; 36.666096,-4.485238; h=218°, a=-284ft, s=0 kts
02.Jan.2023 11:11 | Nav lights turned on; 36.666096,-4.485238; h=218°, a=-284ft, s=0 kts
02.Jan.2023 11:12 | Engine started; 36.666096,-4.485238; h=218°, a=-284ft, s=0 kts
02.Jan.2023 11:12 | Flaps set to 20; 36.66608,-4.485253; h=218°, a=-284ft, s=3 kts
02.Jan.2023 11:12 | Flaps set to FULL; 36.666071,-4.485263; h=219°, a=-284ft, s=3 kts
02.Jan.2023 11:12 | Engine stopped; 36.66559,-4.485878; h=233°, a=-282ft, s=13 kts
02.Jan.2023 11:12 | Engine started; 36.665565,-4.486003; h=292°, a=-282ft, s=7 kts
02.Jan.2023 11:12 | Engine stopped; 36.665572,-4.48602; h=301°, a=-282ft, s=7 kts
02.Jan.2023 11:13 | Engine started; 36.665667,-4.486172; h=308°, a=-283ft, s=0 kts
02.Jan.2023 11:13 | Rule Violation: Excess Taxi Speed (1x); 36.666793,-4.487773, -282.36', 46.69kt, 312°
02.Jan.2023 11:13 | Flaps set to 20; 36.672205,-4.495884; h=306°, a=-161ft, s=75 kts
02.Jan.2023 11:13 | Flaps set to 10; 36.673638,-4.499657; h=286°, a=-113ft, s=83 kts
02.Jan.2023 11:15 | Flaps set to UP; 36.668958,-4.540813; h=266°, a=666ft, s=90 kts
02.Jan.2023 11:16 | Taxi lights turned off; 36.666902,-4.582649; h=266°, a=1687ft, s=106 kts
02.Jan.2023 11:56 | Engine stopped; 36.707993,-6.068611; h=288°, a=1348ft, s=120 kts
02.Jan.2023 11:56 | Flaps set to FULL; 36.707993,-6.068611; h=288°, a=1348ft, s=120 kts
02.Jan.2023 11:56 | Flaps set to 20; 36.707896,-6.068286; h=286°, a=1352ft, s=120 kts
02.Jan.2023 11:58 | Rule Violation: Excess Taxi Speed (2x); 36.740275,-6.062118, 75.85', 44.92kt, 24°
02.Jan.2023 11:58 | Flaps set to 20; 36.741048,-6.061757; h=19°, a=76ft, s=29 kts
02.Jan.2023 11:58 | Flaps set to UP; 36.741115,-6.061728; h=21°, a=76ft, s=29 kts
02.Jan.2023 11:59 | Engine started; 36.743927,-6.062217; h=296°, a=80ft, s=3 kts
02.Jan.2023 12:00 | Engine stopped; 36.744143,-6.062961; h=285°, a=78ft, s=12 kts
02.Jan.2023 12:00 | Engine stopped; 36.744193,-6.063174; h=283°, a=80ft, s=11 kts
02.Jan.2023 12:00 | Engine started; 36.744186,-6.063139; h=285°, a=79ft, s=12 kts
02.Jan.2023 12:00 | Engine started; 36.744217,-6.063791; h=272°, a=77ft, s=5 kts
02.Jan.2023 12:00 | Engine stopped; 36.744287,-6.064902; h=270°, a=77ft, s=9 kts
02.Jan.2023 12:00 | Engine stopped; 36.744289,-6.065035; h=273°, a=77ft, s=9 kts
02.Jan.2023 12:00 | Engine started; 36.744288,-6.065009; h=272°, a=77ft, s=9 kts
02.Jan.2023 12:01 | Engine started; 36.743682,-6.06568; h=94°, a=78ft, s=3 kts
02.Jan.2023 12:01 | Engine stopped; 36.743681,-6.06567; h=93°, a=78ft, s=3 kts
02.Jan.2023 12:01 | Engine started; 36.74368,-6.065606; h=90°, a=77ft, s=3 kts
02.Jan.2023 12:02 | Engine stopped; 36.743489,-6.064809; h=187°, a=78ft, s=0 kts
02.Jan.2023 12:02 | Engine started; 36.743489,-6.064809; h=187°, a=78ft, s=0 kts
02.Jan.2023 12:02 | Engine stopped; 36.743489,-6.064809; h=187°, a=78ft, s=0 kts
02.Jan.2023 12:02 | Strobe lights turned off; 36.743489,-6.064809; h=187°, a=78ft, s=0 kts
02.Jan.2023 12:02 | Nav lights turned off; 36.743489,-6.064809; h=187°, a=78ft, s=0 kts
02.Jan.2023 12:03 | Beacons turned off; 36.743489,-6.064809; h=187°, a=78ft, s=0 kts
02.Jan.2023 12:03 | Blocks on time: 2023-01-02T12:03:26Z

I think this is more like a vmsAcars bug report, phpvms has nothing to do about this (it only displays what vmsAcars sends back)

But I think Vmsacars doesn't have Github, so I didn't know where to put the issue.

In fact there is a special repository for vmsAcars
https://github.com/nabeelio/acars
https://github.com/nabeelio/acars/issues
On Mon, Jan 16, 2023 at 10:38 PM Toni Vicente @.***>
wrote:

But I think Vmsacars doesn't have Github, so I didn't know where to put
the issue.
—
Reply to this email directly, view it on GitHub
https://github.com/nabeelio/phpvms/issues/1512#issuecomment-1384476900,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARXKVMLDG2UAUQINM6W4FELWSWPUTANCNFSM6AAAAAAT4RCA4U
.
You are receiving this because you commented.Message ID:
@.***>

In fact there is a special repository for vmsAcars https://github.com/nabeelio/acars https://github.com/nabeelio/acars/issues

Oh, I'm sorry, thank you for pointing me to the right github!


[TextField] Overlapsing texts on autofill inputs

Order ID 💳
55430
Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

The problem in depth 🔍
Hi there!
We are experiencing a autocomplete form issue in Chrome with the log in inputs, where the input label doesn't move and the autocomplete steps on it.

I know there is others issues posted about something like this (#24756 & #22488) but we still can't fix it.
Currently we are resolving it using shrink property, but this disables label’s animation.
Do not allow autocomplete feature is not the solution we are looking for.
Any suggestions?

  Output from `npx @mui/envinfo` goes here.

The issues you mentioned sum up the problem pretty well (#22488 in particular). It has also been discussed in https://github.com/facebook/react/issues/1159 and https://bugs.chromium.org/p/chromium/issues/detail?id=1166619. There's a workaround shown in https://github.com/facebook/react/issues/1159#issuecomment-1025423604 you could try. I don't think there's much more we can do here.

The issues you mentioned sum up the problem pretty well (#22488 in particular). It has also been discussed in https://github.com/facebook/react/issues/1159 and https://bugs.chromium.org/p/chromium/issues/detail?id=1166619. There's a workaround shown in https://github.com/facebook/react/issues/1159#issuecomment-1025423604 you could try. I don't think there's much more we can do here.

You can target it with CSS, use the Chromoim internal selector -internal-autofill-previewed

It works in @mui/material 5.10.11 and broke in 5.10.12. Why? #37449

It works in @mui/material 5.10.11 and broke in 5.10.12. Why? #37449

Can approve, have the same issue after migrating from "^5.8.7" to "^5.14.16". Everuthing worked fine before migration. Its nice that you found the problem between exact lib patches 5.10.11 - 5.10.12, so its should be easier to find out what caused the problem. Could this issue be reopened??

@michaldudak, can you see the last two comments?

I can't reproduce it with the latest version (5.14.17) of Material UI on Chrome or Firefox:

The sandbox I used: https://codesandbox.io/s/muddy-cdn-k54f8h

I still can't reproduce it using this sandbox. @DiegoAndai, could you take a look? Perhaps you'll have more luck.

Me neither 😓:
https://github.com/mui/material-ui/assets/16889233/29d4c9f0-a54e-4132-b359-9d544d1d2cce
I tried Safari as well, but I couldn't reproduce it either.
@ithrforu are you still getting this bug?


Add IPv6 support

I have made an effort to add IPv6 support. This might not be perfect, but it is a working (and mostly tested) implementation with examples. I'm still new to C++, so if you find any mistakes etc. feel free to point them out :) Also, I can squash the commits if you want.
The things that still need to be done are:

[ ] Update README
[ ] Add changelog

There shouldn't be any breaking changes.
Currently, this supports IPv4-mapped IPv6 addresses, BUT it sees them as IPv4 addresses internally for some reason that I don't understand yet:

resolves #39
PS. https://github.com/fhessel/esp32_https_server/issues/39#issuecomment-492796259 helped me out quite a bit :)

I just recently started to work on IPv6 support as well, I just pushed my current progress, should have updated the issue before. The main point where I'm stuck at the moment is that I get only link-local addresses working. I still needed to find out how to use DHCPv6 or SLAAC with the underlying IDF. Maybe it makes sense to join forces on this.
I'll need to check out your branch and see how you addressed this / how the mapped addresses work in the IDF.

Actually, I haven't tested with other addresses than link-local yet either, and I have a hunch that global addresses might not work yet in my implementation either.
I'd be happy to work on this together. I'll check out your work soon.

Here's a useful note about IPv6 and sockets https://tools.ietf.org/html/rfc3493

Here's a useful note about IPv6 and sockets https://tools.ietf.org/html/rfc3493

My main problem is with the implementation in the esp-idf and the Arduino Core (which is still built on top of the older 3.x IDF). I'm currently looking for the highest-possible abstraction to register a global or unique local address to on of the interfaces of the ESP32. I didn't find any support for more than Link-Local addresses in the Arduino Framework (I had wished for WiFi::addIPv6Address(...) or something similar).
I think a major difference between our approaches is that you stick to keeping a single bind address for the server, where my implementation uses a vector for IPv4 and v6 addresses and (not yet implemented) opens a socket for each registered interface. I assume with that approach, most "if v6 do this, else to that" vanish from the code, instead its just "for all ipv4 addresses do this, for all v6 do that", and it also allows a dual stack server with different addresses by creating it and calling something like server->addAddress(...) before starting it.

As far as I can tell, arduino-esp32 is based on esp-idf 3.2.x (https://github.com/espressif/arduino-esp32/releases). It seems that esp-idf 3.3.x is the earliest version that supports IPv6 global addresses, and getting them through SLAAC: https://docs.espressif.com/projects/esp-idf/en/v3.3.2/api-reference/network/tcpip_adapter.html No support for DHCPv6 though.
There's also this: https://github.com/espressif/arduino-esp32/issues/1261, but I think there is some misinformation in there.
So, it seems like arduino-esp should be updated to use esp-idf 3.3.x, which hopefully shouldn't be too hard?

It seems as though esp-idf v4 support is being worked on currently

That's why I stopped working on my branch, because I wanted to wait for that.

EDIT: updated links, and added these:
https://docs.espressif.com/projects/esp-idf/en/v3.3.2/api-reference/kconfig.html#config-lwip-ipv6-autoconfig

You cannot change compiler settings for the precompiled modules but need to live with what is preconfigured with the Arduino Core. From the Arduino perspective, the lwip stack is just an immutable blob that's linked to your application.

https://docs.espressif.com/projects/esp-idf/en/v3.3.2/api-reference/network/tcpip_adapter.html#_CPPv431tcpip_adapter_get_ip6_linklocal18tcpip_adapter_if_tP10ip6_addr_t

I found that too, that's what I meant with looking for the highest-possible abstraction, because retrieving the interface and creating/adding a ip6_addr_t is not what you want to do in an Arduino example sketch.

I found that too, that's what I meant with looking for the highest-possible abstraction, because retrieving the interface and creating/adding a ip6_addr_t is not what you want to do in an Arduino example sketch.

I'm guessing they will just wrap the tcpip_adapter_get_ip6_globallike like here, which should be fine for most use cases like wifi client, wifi AP, or even ethernet. Then getting an IPv6 address by SLAAC automatically should be fine in most cases, right?
And yes, I guess we will just have to wait to get support for SLAAC.
For now though something similar to my implementation is probably ok? Although you did outdo me with the ifdefs and the use of IPAddress in constructor.
The only thing I don't quite understand from your code is what exactly the vectors for addresses would be used for? Would the server create a new socket for every call to server->addAddress(x) , adding x to the vector, and binding said socket to x?
Also, how about IPv4-mapped addresses? Should the default IPv6 server also accept IPv4 connections by use of this, or should there be two separate sockets (ipv4 +ipv6)?

The only thing I don't quite understand from your code is what exactly the vectors for addresses would be used for? Would the server create a new socket for every call to server->addAddress(x) , adding x to the vector, and binding said socket to x?

As I said, it's not fully implemented. The final goal would be to create a socket for each of the addresses in the vectors instead of setting up the the single socket here. Then, in the loop() function of the server, one could select on all of these sockets and process those with data on them like before. From there it should be transparent.
You wouldn't use that feature very much, I think, but it has been an issue when running the server in AP and STA mode simultaneously (now you can only bind to all addresses or setup two server instances). And having dual stack support in a single server could be another benefit, that's why I started to implement that together with the IPv6 support. Note that after the socket is created and bind is called, there's no need to differentiate between v4 and v6 any longer, so it would really be only the connection setup which gets more complex.

Also, how about IPv4-mapped addresses? Should the default IPv6 server also accept IPv4 connections by use of this, or should there be two separate sockets (ipv4 +ipv6)?

The behavior that I would expect is that if I use a bind-all IPv6 address, I get only IPv6 traffic. Also, excluding the mapped addresses reduces conflicts with double bindings if multiple sockets are created. So if you want IPv4 and v6, you should use a bind-all address for each protocol (so IPV6_V6ONLY by default).
So how to proceed... I could create a PR on top of yours that merges both approaches. Then you could have a look at it and tell me your opinion about that. And for actual IPv6 operation, we'll wait for the Arduino Core to be updated to the latest IDF and see how it turns out?

As I said, it's not fully implemented. The final goal would be to create a socket for each of the addresses in the vectors instead of setting up the the single socket here. Then, in the loop() function of the server, one could select on all of these sockets and process those with data on them like before. From there it should be transparent.

Ok, I understand now.

You wouldn't use that feature very much, I think, but it has been an issue when running the server in AP and STA mode simultaneously (now you can only bind to all addresses or setup two server instances). And having dual stack support in a single server could be another benefit, that's why I started to implement that together with the IPv6 support. Note that after the socket is created and bind is called, there's no need to differentiate between v4 and v6 any longer, so it would really be only the connection setup which gets more complex.

Seems like a good idea. It should be useful in some cases.

The behavior that I would expect is that if I use a bind-all IPv6 address, I get only IPv6 traffic. Also, excluding the mapped addresses reduces conflicts with double bindings if multiple sockets are created. So if you want IPv4 and v6, you should use a bind-all address for each protocol (so IPV6_V6ONLY by default).

That definitely makes sense. But how would the user specify that they want to use both ipv6 and v4? I still think it it should be done in the constructor, but would it be a bool flag or would they need to pass two bind addresses? The point I'm trying to make here is that it should be easy to support both protocols, without any extra setup.
Then we should also allow them to disable the IPV6_V6ONLY flag, but that could be a call to server.enableMappedAddress or similar.

So how to proceed... I could create a PR on top of yours that merges both approaches. Then you could have a look at it and tell me your opinion about that. And for actual IPv6 operation, we'll wait for the Arduino Core to be updated to the latest IDF and see how it turns out?

Fantastic! I'd like that.

Is there any update or progress on this?

Sorry, I've been quite busy the last weeks, I'll try to get to this soon.

Yeah. No worries. It might be possible to test against this branch, though I'm not sure.


Add a way to operate on all outputs from training_step

I realized the ddp2 implementation i put together doesn't allow the user to operate on the ouputs of all DP processes.
For instance, you calculate some logits on each process and current ddp2 forces the loss to be calculated in each process individually. However, if you wanted to say normalize across all examples in the batch you'd need to somehow share the output of each process.
Currently:
total_loss = []
for process:
     # training step
     out = model(x)
     loss = loss(out)
     total_loss.append(loss)

loss = total_loss.mean()

Proposed:
outs = []
for process:
     # training step
     out = model(x)
     outs.append(out)

# allow training_end to (softmax for instance) using ALL outputs
loss = model.training_end(outs)
loss.backward()

The implication is adding an optional:
def training_end(...):

To model which when defines gives you all  the outputs of training_step.
If you don't need anything advanced like this, you return a loss from training_step and don't implement training_end. If you need more advanced control, you implement training_end.
@tullie @neggert Any thoughts on this?

I think it's a little confusing for the user. If I'm understanding correctly, this would only work for dp and ddp2, but not for ddp. Would this break the idea that the same code should work across different backends?

well, for ddp you don’t need to do this because you’re not sharing across processes.
the PR i submitted does this:

everything stays the same.
if you want to aggregate across all split items then you can implement the training_end. however only used right now in dp or ddp2.

Okay, I think that makes sense. So if you implement training_end, everything still works in single-gpu and ddp modes, it's just that you'll only get one item in outs?

in the other modes you just wouldn’t implement training_end (sllingle gpu, etc). if you did though, you would only have 1 out.

Right, I'm just thinking about cases where we want the same code to be able to run with different backends.

yeah, that’s fair. then you’d implement it regardless i guess.
maybe i have to think about that more. it is annoying to have to do both, but don’t know of another way to keep the abstraction.
maybe somehow do it in training_step where everything in forward goes to dp and training_step aggregates but that doesn’t seem straightforward right now

@neggert can you take a look at #448?


Get a parse error when  I write a Note in Sequence diagram. (mermaid)

Hi!
Thanks for Livebook:rocket::rocket::rocket:
I like it!
I can't help exciting about Livebook.
I get a parse error when I write a Note in Sequence diagram. (mermaid)
Environment

Elixir & Erlang/OTP versions (elixir --version): Erlang/OTP 24 [erts-12.1.5] [source] [64-bit] [smp:1:1] [ds:1:1:10] [async-threads:1] [jit] [x86_64-pc-linux-gnu]
Operating system: Ubuntu 20.04
How have you started Livebook (mix phx.server, livebook CLI, Docker, etc): Docker
Livebook version (use git rev-parse HEAD if running with mix): 0.5.1
Browsers that reproduce this bug (the more the merrier): Chrome
Include what is logged in the browser console:
Include what is logged to the server console:

Current behavior

use https://hub.docker.com/layers/livebook/livebook/0.5.1/images/sha256-fd38a295385d66cc66cab01acc38db34d6bfe6380c71f72627828e64c6797d11?context=explore
write below code in markdown cell

sequenceDiagram
    participant Alice
    participant Bob
    Alice->>John: Hello John, how are you?
    loop Healthcheck
        John->>John: Fight against hypochondria
    end
    Note right of John: Rational thoughts
prevail!
    John-->>Alice: Great!
    John->>Bob: How about you?
    Bob-->>John: Jolly good!

This code is written in https://mermaid-js.github.io/mermaid/#/README .

Expected behavior
show sequenceDiagram
Actual result:
Parse error on line 9:
...l thoughts prevail!    John-->>Alice:
----------------------^
Expecting 'SOLID_OPEN_ARROW', 'DOTTED_OPEN_ARROW', 'SOLID_ARROW', 'DOTTED_ARROW', 'SOLID_CROSS', 'DOTTED_CROSS', 'SOLID_POINT', 'DOTTED_POINT', got 'NEWLINE'

Note

If I delete line 9, Livebook shows sequenceDiagram!
mermaid.live shows sequenceDiagram with above code.
I host https://livebook.autoracex.dev/sessions/64uc5s3m65gkpppiapsfeore36iwztbrsqlkv346; password is enjoyelixirwearethealchemists
I try codes in https://mermaid-js.github.io/mermaid/#/README on Livebook v0.5.1(livebook.autoracex.dev).
There is an error at only sequenceDiagram section.

Hope this helps.

Thank you for the report! I suspect that maybe
 is being escaped by Markdown and sent escaped to the Mermaid engine, which doesn't know how to handle it. Removing only the
 also fixes the problem. I think we need to do two things here:

Solve the escaping issue
Use better styles for the error reporting shown by Mermaid.js

@josevalim -san
Thank you for your time.
Yes! Yes! Yes! Removing only the
 also fixes the problem.


Because of the file, the script of the hook asi crashes the game, what is the reason?

Because of the file, the script of the hook asi crashes the game, what is the reason?

Version
3.1.0
Description
plz help

Please describe what you did before the game crashes. Also, your grammar isn't good - are you using a translator?

This is not a support forum, see readme for links to better places for that purpose.


Support for Java 11 in gradle builds.

Now that the default build agents have Java 11 installed on then, jdk version 11 should be available to Gradle builds with the jdkVersionOption property.

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

ID: 00499395-fdc3-b150-3469-aee2f9fb7cbc
Version Independent ID: 44e630e1-1689-2d2e-212b-3ce2baf8771f
Content: Gradle build and release task
Content Source: docs/pipelines/tasks/build/gradle.md
Product: devops
GitHub Login: @andyjlewis
Microsoft Alias: alewis

@ThadHouse, thanks a lot for creating this issue.  It has been fixed through this PR.


Fix TO query for crconfig column rename

Fixes #3136
What does this PR do?
Fixes #3136
This endpoint uses Riak, the API Tests don't support Riak yet.
Which TC components are affected by this PR?

[ ] Documentation
[ ] Grove
[ ] Traffic Analytics
[ ] Traffic Monitor
[x] Traffic Ops
[ ] Traffic Ops ORT
[ ] Traffic Portal
[ ] Traffic Router
[ ] Traffic Stats
[ ] Traffic Vault
[ ] Other _________

What is the best way to verify this PR?
Verify https://github.com/apache/trafficcontrol/issues/3136
Check all that apply

[ ] This PR includes tests
[ ] This PR includes documentation updates
[ ] This PR includes an update to CHANGELOG.md
[ ] This PR includes all required license headers
[ ] This PR includes a database migration (ensure that migration sequence is correct)
[ ] This PR fixes a serious security flaw. Read more: www.apache.org/security

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2964/
Test FAILed.


[bug] tauri-driver and edgedriver 117 lead to Selenium error "only ASCIIZ protocol mode is supported"

Describe the bug
Hi All,
I am getting an error with the Tauri Selenium test example and also with another Selenium + Tauri project.
I have run the Tauri Selenium example project successfully with edgedriver version 112, 114, 115. with the corresponding edge version installed.
Now with edgedriver 117 (current stable version) the setup throws this error "WebDriverError: unknown error: only ASCIIZ protocol mode is supported".
I have already checked this edgedriver version with Selenium and the usual edge browser instead of a Tauri application as application - no issue.
So I believe there might be something wrong with the tauri-driver in combination with the edgedriver version.
Can someone check and take a look whether the Tauri Selenium example still works with the latest stable edgedriver version (117) or if there is indeed a bug in tauri-driver?
And please let me know if I should provide further information.
Best regards
Nick
Reproduction

Fetch Selenium Tauri sample project from the tauri page or from here (https://github.com/chippers/hello_tauri)
Build application to be tested, e.g. cargo build --release
In .\webdriver\selenium\test\test.js I replaced the 'localhost' in the usingServer() call with '<IP_ADDRESS>'
For the tauri-driver spawn call I also added the parameter ['--native-driver', 'msedgedriver.exe'] (edgedriver 117 version)
Run test (yarn test)

Expected behavior
Application is started successfully and the tests are executed
Platform and versions
tauri-driver version 0.1.2

Stack trace
WebDriverError: unknown error: only ASCIIZ protocol mode is supported
    at Object.throwDecodedError (C:\Users\10052173\Desktop\hello_tauri-main\webdriver\node_modules\selenium-webdriver\lib\error.js:517:15)
    at parseHttpResponse (C:\Users\10052173\Desktop\hello_tauri-main\webdriver\node_modules\selenium-webdriver\lib\http.js:642:13)
    at Executor.execute (C:\Users\10052173\Desktop\hello_tauri-main\webdriver\node_modules\selenium-webdriver\lib\http.js:568:28)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Additional context
No response

encountered same error with edge browser & driver version 117

Issue is fixed with EdgeDriver version >120. There was an issue in edgedriver
https://github.com/MicrosoftEdge/EdgeWebDriver/issues/116


Steps to reproduce
Just see the link
Version
v36.20.0
Browser
Chrome, Safari, Firefox, Edge

Hey 👋
We have the npm setup script on our package.json and I just tried running it and works fine!  After you clone the repo, make sure you are on the root folder react/ and the setup should work.
I am going to go ahead and close this issue but please feel free to re-open if there is anything I misunderstand or raise another issue if you come across any issues!


Make site accessible (deque-axe compatible)

Is your feature request related to a problem? Please describe.
Make site accessible (deque-axe compatible).
Use the chrome extension and plug any a11y issues within site

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Yoga studio preset

We were just doing a mapathon in DC this weekend and found a bunch of them It's kind of unclear what to tag a yoga studio as -- is it a gym? Sports center? Might be cool to have it as an iD preset.

Huh, I haven't looked at gym tagging in a while, and I guess this changed last year.
Fun reading:
http://wiki.openstreetmap.org/wiki/Gym_/_Fitness_centre
https://help.openstreetmap.org/questions/48862/how-to-tag-a-yoga-studio
I guess leisure=fitness_centre is the new tag for a Gym / Fitness Studio / etc
And leisure=sports_centre is still a tag for a Sports Center / Athletics Complex.
So a yoga studio would be  leisure=fitness_centre + sport=yoga.
And we should add the preset for Fitness Center and update the descriptions.

Recently had to manually add a gym as leisure=fitness_centre (one with weights and treadmills), so I agree gym tagging needs to be fixed.
A look at overpass turbo in a city near me shows a number of leisure=sports_centre are actually gym/fitness centres in reality, so making this distinction in iD will surely help people use the correct tag in OSM.
Propose renaming them:
leisure=fitness_centre - Gym / Fitness Center (or Studio?)
leisure=sports_centre - Sports Center / Complex
Should the sport field be included for fitness_centre?

leisure=fitness_centre - Gym / Fitness Center (or Studio?)
leisure=sports_centre - Sports Center / Complex

Sounds good..

Should the sport field be included for fitness_centre?

Yes, for things like yoga.

Ok. There's also leisure=fitness_station, which I will add it as "Outdoor Gym".

Ok. There's also leisure=fitness_station, which I will add it as "Outdoor Gym".

I'd leave it called "Fitness Station"
"Gym" implies that there is more stuff (memberships, coaches, locker rooms etc).

Sorry didn't notice your last comment before I submitted the PR.
I'd like to keep Outdoor in the name to make it clear it's outside and so it doesn't get confused with Fitness Centre. Is "Outdoor Gym / Fitness Station" too long? Or remove the gym?

"Outdoor Fitness Station" is ok, not too long.  Yes remove "gym".
The bigger problem for usability is that the osm wiki page for this feature has a picture of a kids playground, but there is not much we can do about that.  This means that anybody using the help button in iD will see misleading information.
The fitness trail page has a better picture.

Wikipedia's Outdoor Gym page has an even better picture: https://commons.wikimedia.org/wiki/File:Outdoor_gym_in_Parque_de_Bateria,_Torremolinos.JPG - how do we get that into the OSM wiki?

how do we get that into the OSM wiki?

Not sure.. I think you just put it there and hope nobody reverts it.

Seems like you just copy the filename over from wikimedia commons!

Just log in and click "edit source" then change the file name in this part:
|image=File:Outdoor_gym_in_Parque_de_Bateria,_Torremolinos.JPG
On Thu, Sep 1, 2016 at 6:04 PM, boothym<EMAIL_ADDRESS>wrote:

Wikipedia's Outdoor Gym page has an even better picture:
https://commons.wikimedia.org/wiki/File:Outdoor_gym_in_Parque_de_Bateria,_
Torremolinos.JPG - how do we get that into the OSM wiki?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/openstreetmap/iD/issues/3352#issuecomment-244226880,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEytRPsWG4ilU_iGjCaYy8k3A2MZ9s3mks5ql0vcgaJpZM4JksnO
.

--
600,000 DC residents don't have a vote in Congress -- http://www.dcvote.org/
http://www.dcvote.org/about/index.cfm


Uber mock, update golangci-lint

Description

Replace github.com/golang/mock with go.uber.org/mock (it was deprecated)
Add depguard rule to prevent further use of github.com/golang/mock
Update golangci-lint to 1.53.3

@maha-hajja good point, I added the CI action and some other things I noticed:

dependabot config
updated dependencies to latest versions
added buf as a dependency in tools.go
added a makefile

This should clean up most things in this repo.


homeassistant.loader: Unable to find component customize

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.32.4
Python release (python3 --version):
Python 3.4.2
Component/platform:
Try to customize friendly names
Description of problem:
Try to customize Entity
Expected:
work without problems. It just rises the issue in the log but does not change the name
Problem-relevant configuration.yaml entries and steps to reproduce:

Traceback (if applicable):

Additional info:

This is a configuration error on your side.
Customize is not a component, but an addition to the homeassistant: "component" in your configuration.yaml.
Try it like this:
homeassistant:
  name: 'Home'
  [...]
  customize: !include customized.yaml

Note the two spaces before customize:.
The include allows you to put your customizations into a file called customized.yaml, located in your hass config directory.


Feat/input

I couldn´t see the new branch on upstream

Hi
All in all, looking good and definitely something to allow us some integration tests using stdio from shell scripts or even Robot Framework.
I have found a few very minor snags. After you fix these in your branch, just push the branch to your origin and this pull request gets the updates. I'll merge when these are fixed :)
Coap.js

on line 28, please remove extra spaces at end of line
on line 51, please remove the comma at end of line
on lines 53 and 57, please change caopVal to coapVal
on line 72, please remove extra spaces at end of line

CoapClient.js

on line 1, please remove extra space at end of line
on line 13, please remove the comma at end of line
on line 32, please add a newline at end of line

Hi!
Sorry, I could not come today.
Thanks for the merge. I did the fixes/improvements needed on the code earlier but It took me a while to do the push because I was having problem on my computer. Now I am behind/ahead with the commits but I will try to update my branch.
Have a good week!
-Alain
El Nov 16, 2015, a las 7:29 PM, Teemu Hakala escribió:

Merged #5.
—
Reply to this email directly or view it on GitHub.


Ability to route multiple trigger points to the same action handler

I'm submitting a ...  (check one with "x")
[] bug report => search github for a similar issue or PR before submitting
[X] enhancement request
[] feature request
[] support request
[] general question

Current behavior (how does the issue manifest):
Expected behavior:
Ability to specify in the flogo.json file, multiple triggers pointing to the same action. This is required where you want to correlate event streams
Minimal steps to reproduce the problem (not required if feature enhancement):
What is the motivation / use case for changing the behavior?
For use in a new action for correlation purposes
Please tell us about your environment (Operating system, docker version, browser & verison if webui, etc):
Flogo version (CLI & contrib/lib. If unknown, leave empty or state unknown): 0.X.X
Additional information you deem important (e.g. issue happens only occasionally):

Created a pull request for this issue:
https://github.com/TIBCOSoftware/flogo-lib/pull/208

This issue has been fixed, please refer to the updated app model
https://github.com/TIBCOSoftware/flogo/wiki/App-Model


Reduce indy-catalyst build time

Docker is not caching builds in tob-web. Even a cached build takes several minutes.

@nrempel - status?  Can we close this?  Can close as it as "not going to do" if appropriate.


NimBLE host: Avoid calling stop before initializing ble_hs_flow_timer in ble_hs_flow_startup

In ble_hs_flow_startup, stop ble_hs_flow_timer is called before creating it.
This results in accessing invalid/null TimerHandle. IMHO ideal solution could have been checking for invalid co->handle in ble_npl_callout_stop (NPL nimble_npl_os.h). But as discussed in PR!279, I have followed similar solution here as well.

CC: @dhrishi


[test] Modernize test/stdlib/OptionSetTest.swift

While we're tweaking the OptionSet tests (https://github.com/apple/swift/pull/28715), modernize things a bit by upgrading from Swift 2-era naming conventions.

@swift-ci test and merge


puppet-dnsquery: Add option to specify target DNS server

Been using this to talk to Consul for a while now, works like a champ. :)

Hi, thanks for the contribution.
I wonder if it isn't better to accept an options hash though and send that to Resolv::DNS.new (after converting the keys to symbols as they will be strings in puppet).
It seems like there will be a bit of an explosion of positional arguments otherwise, and sometimes you might want to for example supply search but not nameserver.
Also, the :arity on the functions need to be updated (to -2), otherwise this should at least fail the arity check in Puppet 3.1.0+.

What is the state of this pull request?

closing this, i think it is useful however the api has changed significantly since the original patch and would require a re-write

FYI i have added a new PR with similar functionality in #129 feedback most welcom


The model name should appear in the window title

Once you load your model, the title of the window should change and display the name of the loaded model.

implemented in https://github.com/ReMobidyc/ReMobidyc/pull/45


Project Name vs. Short Name vs. Display Name vs. Package Name

Hi,
I deployed two different apps (the content, Project Name, and Display Names are different) I have noticed that the 2nd one replaces the 1st one i.e., after deployment (VS2019) the 2nd one overwrites the 1st deployment. I think this issue is related to using the same package name in two different projects as explained here.
A manual update of the AppxManifest resolves the problem but having 3 different names for a single App is a bit confusing.
Perhaps you can clarify this issue?
Kind regards
Kenan
[Enter feedback here]

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

ID: 37e0e5f1-b23b-4909-c1ba-6dba39174d30
Version Independent ID: b0a8777f-e04e-b645-d983-0acb94268f4c
Content: Using the Windows Device Portal - Mixed Reality
Content Source: mixed-reality-docs/mr-dev-docs/develop/platform-capabilities-and-apis/using-the-windows-device-portal.md
Product: mixed-reality
Technology: mr-dev
GitHub Login: @hamalawi
Microsoft Alias: moelhama

This is a standard part of the Windows UWP application model, not HoloLens-specific.  For more information about the various elements in the manifest, please refer to https://docs.microsoft.com/en-us/uwp/schemas/appxpackage/appx-package-manifest.


unable to download file leading to crush

Good day, when i click the download button inside the webview nothing happens and this will eventually lead to the app crushing when i click multiple times repeatedly, the download button works fine in the all browsers by the way. I have followed all the necessary procedures from the read me  on the implementation of the webview. I have tested it on a real device android 8.0 (API 26) as well as android 7.0 (API 24). Please help

Did you get any exceptions? Can you share a stack trace?
Does this have the same reason as https://github.com/delight-im/Android-AdvancedWebView/issues/235?

There are no exception or errors displayed at all it just does nothing, when the download button is clicked nothing happens, If i click multiple times repeatedly it crushes the site  a "Resource limit is reached" error is displayed on the site as result. I thought i should mention that the site has back-end development with PHP for authentication (user log in/ registration) and file upload management as well, i don't know if that makes a difference on to handle download requests but if so can you please help.
here is the code handling the download as explained in the read.me
 @Override     public void onDownloadRequested(String url, String suggestedFilename, String mimeType, long contentLength, String contentDisposition, String userAgent) {         if (AdvancedWebView.handleDownload(this, url, suggestedFilename)) {             // The download is successful              Toast.makeText(MainActivity.this, "Download Successful!", Toast.LENGTH_LONG).show();         } else {         // Could not download file             Toast.makeText(MainActivity.this, "Download Failed!", Toast.LENGTH_LONG).show();         }     }

Well, the core issue here is certainly something different than that in the other thread.
You should first add logging to check whether onDownloadRequested is called at all.
Please also check if you implemented all callbacks as described in the README, especially onActivityResult.

well the onActivityyResult is implemented as follows, i dont know if i should add anything else:
@Override     public void onActivityResult(int requestCode, int resultCode, Intent intent) {         super.onActivityResult(requestCode, resultCode, intent);         mWebView.onActivityResult(requestCode, resultCode, intent);         // ...     }
I implemented a log message on the OnDwonloadRequested and turns out its not called at all. Any suggestion or solution to this?
By the way thank you for your time and effort

The implementation of that callback looks good. Are you sure you have that in every Activity and Fragment that contains an AdvancedWebView instance?
The log message not appearing indicates that this might not be the case.

The attached is the full code of the project, i only have one Activity (mainActivity) on the project
fullcode.txt

The code looks good. Can you try with another website, i.e. any popular website that has a download link somewhere? It might be your HTML or HTTP headers.

Ok i have tried it with other site and it works, so its the problem with the website, i will get it fixed

No problem!


Saved pdf's are generated with error

Hi,
This is the current error received of the pdf's that are been saved.

Code used, first generating the pdf, with a content variable, below an excerpt of the file

$pdf = new Pdf($content);

Then just saving the file, to the desired path;
../storage/app/tmp/1/282795/example-282795.pdf
if (!$pdf->saveAs($fullpath)) {
            $error = $pdf->getError();
        }

Any suggestions? Thanks

The error sounds not related to our library at all. I think $pdf->getError() is never called. Make sure there's no syntax error somewhere in your code.

Hi,
As some of the html were created with comments, removing those made appear correctly the pdf.
// Remove unwanted HTML comments
function remove_html_comments($content = '') {
      return preg_replace('/<!--(.|\s)*?-->/', '', $content);
}

Thanks


Windows 10 Start menu should be floating/ignored by default.

Current behavior: when the Windows key is pressed, the start menu pops up.  This start menu (more specifically, the "type here to search" searchbox) is treated as a new window managed by workspacer--i.e. it cause other existing windows to shrink.  However, workspacer does not seem to be able to manage (resize or reposition) the Windows start menu window anyway.
Expected behavior: workspacer should ignore the start menu.
After reading the docs, I believe it can be achieved by something similar to
context.WindowRouter.AddFilter((window) => !window.Title.Contains("foobar"));

However, filing a request here because:

I couldn't figure out the title of the Windows start menu.
I believe that this behavior should be default to benefit everyone.

Thank you!

Looking at a window dump of the start menu in the debug console shows these properties:
window.Handle                    = 65966
window.Title                     = "Start"
window.Class                     = "Windows.UI.Core.CoreWindow"
window.ProcessId                 = 11232
window.ProcessName               = "StartMenuExperienceHost"
window.ProcessFileName           = "--NA--"

So this commit should already filter it from window routing https://github.com/rickbutton/workspacer/commit/7cc16f334ce9263a9147600b583d63c89797c4c8. However, that just prevents it from being routed to a different workspace, so it will always appear on the focused workspace, which is different than what you want.
I think you are asking for workspacer to ignore laying out the window entirely like the alt-tab window.

It looks like the actual ProcessName of the window where you type is "SearchApp". Does this work for you?
context.WindowRouter.AddFilter((window) => window.ProcessName != "SearchApp");

You can also write it with the helper method
context.WindowRouter.IgnoreProcessName("SearchApp");

This was fixed on master, but I hadn't gotten around to releasing a new version since this repo was fairly dormant. This will be fixed in 0.9.8! Thanks for opening the issue!

0.9.8 is released! workspacer should automatically prompt for the update.


Fix files field

Current
  "files": [
            "bin/",
            "lib/",
            "module/",
            "src/"
   ],

it should be
  "files": [
            "bin/",
            "lib/",
            "module/",
            "src/",
+           "!*.tsbuildinfo"
   ],

Currently, tsbuildinfo file is included in dist file.
We not want to includes it.
Check
You can check the included files via npm pack command.
npm pack

.npmignore may be simple for this case.

I would like to take this one.


Added a pair of snippets for creating and referencing anchors (block IDs)

No idea why I can't get this to rebase. I'm closing the PR and will start over.


New version: Discord.Discord version 1.0.9149

Checklist for Pull Requests

[Y] Have you signed the Contributor License Agreement?
[N] Is there a linked Issue?

Manifests

[Y] Have you checked that there aren't other open pull requests for the same manifest update/change?
[Y] This PR only modifies one (1) manifest
[Y] Have you validated your manifest locally with winget validate --manifest <path>?
[Y] Have you tested your manifest locally with winget install --manifest <path>?
[Y] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

I didn't catch my other automation in time, but this might need to be reverted:

I didn't catch my other automation in time, but this might need to be reverted:

Potential fixes for this could come in the form of additions to %appdata%\discord\settings.json:
  "OPEN_ON_STARTUP": false, disables the autorun on Windows startup
  "SKIP_HOST_UPDATE": true should disable self-update for those wanting to manage updates via winget
I'm unsure of how best to implement these changes via scripting (if that's even an option for winget installs), but will do research into it to potentially implement for any further version updates/pull-requests.


[PE-D][Tester D] Limited character count for addresses

Character count for addresses is too low. There are local examples that the app cannot accomodate. With foreign addresses, you might have to consider character count of state names as well. 60 characters is definitely not sufficient.
Example: Block 268B, Chua Chu Kang Avenue 3, #05-492, Singapore 642268

Labels: severity.Medium type.FeatureFlaw
original: delishad21/ped#6

Won't Fix. Constraint was put in place to prevent misuse of inputting extreme numbers of characters.
Example given could be shortened to Blk 268B Choa Chu Kang Ave 3 #05-492 S(642268) without losing any information.
Nevertheless, this was added into plans for future enhancements by @ThatGirlJam to support more characters.


Update to clang 11

Checklist

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

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

Depends on https://github.com/conda-forge/clang-win-activation-feedstock/pull/11

@conda-forge-admin please rerender


Avoid jump to top of page

Not setting the -is-locked class to body will avoid the scroll to the top of the page when a remodal is opened.
The workaround html, body { overflow: auto !important; margin: 0; } has side effects causing lazy loading on some jQuery plugin not to work.

Thanks, i'll look. Seems like jscs was updated and it crashed the tests.

@VodkaBears
In my case page also jumps to top of the page, but I found workaround. Just set style to the body:
<body style="padding-right: 0px;">

And it solved my problem. What was that?


Add default values to hidden custom fields

I need 2 hidden custom fields to be added to profile field on sign up by adding this:
AccountsTemplates.addFields([
    {
        _id: 'ratedItems',
        type: 'hidden'
    },
    {
        _id: 'starredItems',
        type: 'hidden'
    }
]);

They both should be empty arrays [].
How can I indicate default values? Can I add smth like default: '[]' ?

why do you want to include them inside your accountstemplate if they are
hidden?
you could just extend the user object on signup with the desired values.
see http://docs.meteor.com/#/full/accounts_oncreateuser
On 17 January 2015 at 18:02, Alex Alexeev<EMAIL_ADDRESS>wrote:

I need 2 hidden custom fields to be added to profile field on sign up by
adding this:
AccountsTemplates.addFields([
{
_id: 'ratedItems',
type: 'hidden'
},
{
_id: 'starredItems',
type: 'hidden'
}
]);```They both should be empty arrays []. How can I indicate default values? Can I add smth like default:"[]" ?
—
Reply to this email directly or view it on GitHub
https://github.com/meteor-useraccounts/core/issues/235.

--
Kevin O'Hagan
@kevohagan
+0034685245319
Palma de Mallorca,
Spain

You are right, thanks.
I just had an issue with OrionJs https://github.com/orionjs/core/issues/13 (error: Can only call onCreateUser once) and from its dependencies I discovered useraccounts, so I thought It would be better Idea to add fields by its means. But if it is not possible, I need to remove OrionJs then and find another admin package. Furthermore, OrionJs depends on useraccounts:bootstrap but I use Semantic-UI so I would need to fork it and rewrite html.
PS obviously deleted OrionJS and now onCreateUser can be used.

Cool!! great to hear!
yeah i agree , those admin packages are interesting (orionjs, meteor-admin,
etc) but still very immature and all depend solely on bs3 which is a shame
but understandable at the beginning i guess.
On 17 January 2015 at 19:48, Alex Alexeev<EMAIL_ADDRESS>wrote:

You are right, thanks.
I just had an issue with OrionJs orionjs/core#13
https://github.com/orionjs/core/issues/13 (error: Can only call
onCreateUser once) and from its dependencies I discovered useraccounts,
so I thought It would be better Idea to add fields by its means. But if it
is not possible, I need to remove OrionJs then and find another admin
package. Furthermore, OrionJs depends on useraccounts:bootstrap but I use
Semantic-UI so I would need to fork it and rewrite html.
PS obviously deleted OrionJS and now onCreateUser can be used.
—
Reply to this email directly or view it on GitHub
https://github.com/meteor-useraccounts/core/issues/235#issuecomment-70379002
.

--
Kevin O'Hagan
@kevohagan
+0034685245319
Palma de Mallorca,
Spain

Yes.... I will also try https://github.com/gterrono/houston/ though it depends on bs3 too :)

what are you're trying to do?
because generally with autoform and its plugins you can build an admin
interface quite suited for your needs
On 17 January 2015 at 19:58, Alex Alexeev<EMAIL_ADDRESS>wrote:

Yes.... I will also try https://github.com/gterrono/houston/ though it
depends on bs3 too :)
—
Reply to this email directly or view it on GitHub
https://github.com/meteor-useraccounts/core/issues/235#issuecomment-70379380
.

--
Kevin O'Hagan
@kevohagan
+0034685245319
Palma de Mallorca,
Spain

I will have very much content so I need some panel to be able making changes fast. I'm quite new to meteor, so I did not try autoform yet, will check it out, thanks.

@buduguru, if you're using Semantic-UI checkout useraccounts:semantic-ui ;-)
and yes, at the moment hidden fields does not support default values.
They where introduced mainly to pick up query parameters on the url (i.e. if you're coming from a link you got by email which proposes some kind of offers, discounts, etc..)
Accounts.onCreateUser is supposed to be the right place where to do this kind of default settings.
Unfortunately some packages burns out this possibility, as you already discovered...

@splendido yes, I installed 'useraccounts:semantic-ui' and it works like a charm except this https://github.com/meteor-useraccounts/semantic-ui/issues/10

@kevohagan the reason you'd not want to use onCreateUser is that it can only be implemented once, so packages can't make use of it in case the regular app also uses it.

I'd love a default field on hidden, because having query parameters as the only way to add values to that field is very limited.
In the case that one parttakes in a survey as the first thing you do before you sign up and there are multiple pages in between, then the query would need to be passed down to every page. I'd rather have the contextual parameter be added by a method in a default value or method.

Good to know you can't use a default value - should this be in the docs?


Fix Vector2 and Vector2i coord access via operator[]

Just like in Vector3 and Vector3i operator[] should return coord through index. Ternary operator is simply slower (won't be optimized by the compiler).

That makes sense. There's an issue with the existing Vector3 operators which is being added here too, which is that it doesn't do bound checks and can crash. It would likely be good to add ERR_FAIL_INDEX(p_idx, 2); and ERR_FAIL_INDEX(p_idx, 3); respectively.

This PR makes it consistent with Vector3 so we can merge as is. If there's a need for error checking it could be added in a follow-up PR.

I'd  avoid checking if index is valid for each usage of operator[] in this case. The structure is so simple, that it should be checked beforehand in a loop where we are working on Vector2/Vector3 data batches. Just my two cents. It's nice this is already checked on GDScript side.

Thanks!


Discussion using datasets in offline mode

datasets.load_dataset("csv", ...) breaks if you have no connection (There is already this issue https://github.com/huggingface/datasets/issues/761 about it). It seems to be the same for metrics too.
I create this ticket to discuss a bit and gather what you have in mind or other propositions.
Here are some points to open discussion:

if you want to prepare your code/datasets on your machine (having internet connexion) but run it on another offline machine (not having internet connexion), it won't work as is, even if you have all files locally on this machine.
AFAIK, you can make it work if you manually put the python files (csv.py for example) on this offline machine and change your code to datasets.load_dataset("MY_PATH/csv.py", ...). But it would be much better if you could run ths same code without modification if files are available locally.
I've also been considering the requirement of downloading Python code and execute on your machine to use datasets. This can be an issue in a professional context. Downloading a CSV/H5 file is acceptable, downloading an executable script can open many security issues. We certainly need a mechanism to at least "freeze" the dataset code you retrieved once so that you can review it if you want and then be sure you use this one everywhere and not a version dowloaded from internet.

WDYT? (thks)

No comments ?

I think it would be very cool. I'm currently working on a cluster from Compute Canada, and I have internet access only when I'm not in the nodes where I run the scripts. So I was expecting to be able to use the wmt14 dataset until I realized I needed internet connection even if I downloaded the data already. I'm going to try option 2 you mention for now though! Thanks ;)

Requiring online connection is a deal breaker in some cases unfortunately so it'd be great if offline mode is added similar to how transformers loads models offline fine.
@mandubian's second bullet point suggests that there's a workaround allowing you to use your offline (custom?) dataset with datasets. Could you please elaborate on how that should look like?

here is my way to load a dataset offline, but it requires an online machine

(online machine)

import datasets
data = datasets.load_dataset(...)
data.save_to_disk(/YOUR/DATASET/DIR)

copy the dir from online to the offline machine
(offline machine)

import datasets
data = datasets.load_from_disk(/SAVED/DATA/DIR)

HTH.

here is my way to load a dataset offline, but it requires an online machine

(online machine)

import datasets
data = datasets.load_dataset(...)
data.save_to_disk(/YOUR/DATASET/DIR)

copy the dir from online to the offline machine
(offline machine)

import datasets
data = datasets.load_from_disk(/SAVED/DATA/DIR)

HTH.

here is my way to load a dataset offline, but it requires an online machine

(online machine)

import datasets

data = datasets.load_dataset(...)

data.save_to_disk(/YOUR/DATASET/DIR)

copy the dir from online to the offline machine

(offline machine)

import datasets

data = datasets.load_from_disk(/SAVED/DATA/DIR)

HTH.

here is my way to load a dataset offline, but it requires an online machine

(online machine)

import datasets

data = datasets.load_dataset(...)

data.save_to_disk(/YOUR/DATASET/DIR)

copy the dir from online to the offline machine

(offline machine)

import datasets

data = datasets.load_from_disk(/SAVED/DATA/DIR)

HTH.

I opened a PR that allows to reload modules that have already been loaded once even if there's no internet.
Let me know if you know other ways that can make the offline mode experience better. I'd be happy to add them :)
I already note the "freeze" modules option, to prevent local modules updates. It would be a cool feature.

@mandubian's second bullet point suggests that there's a workaround allowing you to use your offline (custom?) dataset with datasets. Could you please elaborate on how that should look like?

Indeed load_dataset allows to load remote dataset script (squad, glue, etc.) but also you own local ones.
For example if you have a dataset script at ./my_dataset/my_dataset.py then you can do
load_dataset("./my_dataset")

and the dataset script will generate your dataset once and for all.

Also what about having csv, json, text, pandas dataset builders already included in the datasets package, so that they are available offline by default, as opposed to the other datasets that require the script to be downloaded ?

I opened a PR that allows to reload modules that have already been loaded once even if there's no internet.
Let me know if you know other ways that can make the offline mode experience better. I'd be happy to add them :)
I already note the "freeze" modules option, to prevent local modules updates. It would be a cool feature.

@mandubian's second bullet point suggests that there's a workaround allowing you to use your offline (custom?) dataset with datasets. Could you please elaborate on how that should look like?

Indeed load_dataset allows to load remote dataset script (squad, glue, etc.) but also you own local ones.
For example if you have a dataset script at ./my_dataset/my_dataset.py then you can do
load_dataset("./my_dataset")

and the dataset script will generate your dataset once and for all.

Also what about having csv, json, text, pandas dataset builders already included in the datasets package, so that they are available offline by default, as opposed to the other datasets that require the script to be downloaded ?

Already fixed by:

#1726

really helps

@albertvillanova
datasets version： 2.10.1
I load_dataset and save_to_disk sucessfully on windows10, and I copy the dataset dir
into a ubuntu system, and when I load_from_disk(dir),  something weird happens:
load_from_disk('/LLM/data/wiki')
  File "/usr/local/miniconda3/lib/python3.8/site-packages/datasets/load.py", line 1874, in load_from_disk
    return DatasetDict.load_from_disk(dataset_path, keep_in_memory=keep_in_memory, storage_options=storage_options)
  File "/usr/local/miniconda3/lib/python3.8/site-packages/datasets/dataset_dict.py", line 1309, in load_from_disk
    dataset_dict[k] = Dataset.load_from_disk(
  File "/usr/local/miniconda3/lib/python3.8/site-packages/datasets/arrow_dataset.py", line 1543, in load_from_disk
    fs_token_paths = fsspec.get_fs_token_paths(dataset_path, storage_options=storage_options)
  File "/usr/local/miniconda3/lib/python3.8/site-packages/fsspec/core.py", line 610, in get_fs_token_paths
    chain = _un_chain(urlpath0, storage_options or {})
  File "/usr/local/miniconda3/lib/python3.8/site-packages/fsspec/core.py", line 325, in _un_chain
    cls = get_filesystem_class(protocol)
  File "/usr/local/miniconda3/lib/python3.8/site-packages/fsspec/registry.py", line 232, in get_filesystem_class
    raise ValueError(f"Protocol not known: {protocol}")
ValueError: Protocol not known: /LLM/data/wiki

It seems that something went wrong on the arrow file?
How can I solve this , since currently I can not save_to_disk on ubuntu system

It looks like a bug in fsspec, can you try updating fsspec (and maybe datasets as well) ?


Results of umap-learn and UMAP by cuML are different

Hello,
I was comparing the results produced by your version of umap (umap-learn) with the results by cuML version of UMAP. I used the same (major) parameters for instantiating UMAP models with two different packages (except some parameters such as dens_lambda, dens_frac, dens_var_shift etc. that are not used in the cuML implementation). When I feed them with the same 100 embeddings, the reduced embeddings have quite different values (see screenshot below). May I ask if you have compared your implementation with cuML implementation? It might be hard say, but I hope to know which one is the better implementation (without considering the speed, as cuML leverages GPU), and what could be the major reason that causes this difference (the parameters not used in cuML?).

And It would be really great if you could provide GPU support. May I ask if you have any specific schedule for this? (It's quite difficult to setup cuML-UMAP outside of Google Colab) Thanks a lot!
Best regards,
Jingying

UMAP as an algorithm is stochastic. As an optimization process it also does not differentiate between rotations or reflections of the same result. Running on many threads changes the stochasticity -- which results get updated in the optimization when, which has flow on effects throughout the optimization. Since cuML UMAP is coded for GPUs and makes use of thousands of threads the final result will not be (and really, cannot be) identical. The results should, however, be qualitiatively very similar.

Hi, im having a similar issue and its kind of driving me crazy. I have two notebooks, one of them with scikit-learn api and the other with cuML, both on kaggle. The results of both of them are extremely different.
scikit-learn:  https://www.kaggle.com/code/hectorpatio/umap-parameters/notebook
cuml: https://www.kaggle.com/code/hectorpatio/umap-cuml/notebook
perhaps the most important plot are these ones:

scikit-learn

cuML.
As you can see they are very different. This is the first time I work with cuML and UMAP, so I don´t really know if its something I did wrong. Any insight about this will be very helpful.

@hectorpatino have you confirmed that the data going into the UMAP calls is the same? The notebooks are slightly different.
I recommend filing a [cuML issue]9https://github.com/rapidsai/cuml/issues/) that includes a minimal, reproducible example separate from Kaggle (if possible)

Yeah you are right I updated the notebook last night because I was in a hurry, the version I was talking about was version 2, sorry about that. I will try to use Google to create de reproducible example then. Thank you

It's not a data mistake but some issues around scaling and treating outliers.
Under the recent (May'23) Kaggle Image, which provides us with
from sklearn.datasets import fetch_openml
import matplotlib.pyplot as plt
%matplotlib inline
import umap
import cuml

X,y = fetch_openml('mnist_784', version=1, return_X_y=True, as_frame=False)
y = y.astype(int)

umap_model_1 = umap.UMAP(random_state=42).fit(X)
umap_model_2 = cuml.UMAP(random_state=42).fit(X)

embeds_1 = umap_model_1.transform(X)
embeds_2 = umap_model_2.transform(X)

fig,axs = plt.subplots(1,2)
axs[0].scatter(embeds_1[:,0], embeds_1[:,1], c=y, s=0.1, cmap='Spectral')
axs[1].scatter(embeds_2[:,0], embeds_2[:,1], c=y, s=0.1, cmap='Spectral')
plt.show()

I am getting this:

Clustering after cuml perform worse (statistically) on this example, I have also seen a dataset when this costs as much as ~ 8% in terms of the coherence score. I wonder if this gap can be bridged by controlling more custom options in cuml.

@hectorpatino have you confirmed that the data going into the UMAP calls is the same? The notebooks are slightly different.
I recommend filing a cuML issue that includes a minimal, reproducible example separate from Kaggle (if possible)

I have provided a good example in my comment (June 9)

FYI, I improved the MnWE (minimal not-working example) and shared with the cuML team under this issue


a bug due to null value

i use it success but when i reopen "LeagueClientUx.exe", active_status display off(but it work).
when i change the active_status , it report a bug like follow

i find the reason:
in \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\LeagueClientUx.exe
if  can create  "LeagueClientUx.exe" but not "Debugger" because of UnauthorizedAccessException
it will be use SymlinkMode success
but if i reopen Pengu Loader.exe, active_status will show off,
if i want not use Pengu Loader, i can't change it to off

so I added a non-empty critique
if dont add old != null, code will run here:

            catch
            {
                // if dont add `old != null`, code will run here and  caused a bug
                // TODO: handle some other errors
            }

Thank you, but you have forked the stable branch.
I just changed to a separate fix branch and will merge it into dev later.


We broke 'unfold' again lol

In many cases, 'unfold' seems to not do anything anymore.

Resolved by #163


Sample app-checking-location for Nodejs using deprecated location module

Last update was 2 years ago and is not working when using new MS Teams version.
Code here:
https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/d954bffb7a2d425bb2fbcfc0ab1da41a5b111e3b/samples/app-checkin-location/nodejs/views/CheckIn.ejs#L20C3-L20C3

@Nerconer - Thanks for raising your issue. We will check this at our end and will update you accordingly.

The PR is merged. We are closing this issue for now. Please feel free to reopen if required.
Thanks!


Implement Product reference resolution

Implement Product reference resolution by the masterVariant.sku
Product data has reference to a Product which needs to be resolved
reference: {
    id: masterVariant.sku
}

reference: {
        typeId: product
        id: internal productId
    }

@panshul007 no customer information here, please!

Also I don't think this belongs here...

@emmenko  Please suggest the correct place for this resolution.

Well, it should be in your own implementation

Ok, let's do this here for now

Update:
product:
  attributes: [
      {
         name: 'product reference' # can be any string
         value: {
                      value: ' foo-bar' # can be any string which represents the mapping id.
                      resolvePredicate: 'masterVariant(sku="value")
                      endpoint: 'productProjections'
                    }
      }
  ]

would generate:
product:
      attributes: [
          {
             name: 'product reference' # can be any string
             value: 'id' # id of the reference document.
          }
      ]

product:
  attributes: [
      {
         name: 'product reference' # can be any string
         value: [
                     {
                      value: ' foo-bar' # can be any string which represents the mapping id.
                      resolvePredicate: 'masterVariant(sku="value")
                      endpoint: 'productProjections'
                    },
                    {
                      value: ' xyz' # can be any string which represents the mapping id.
                      resolvePredicate: 'masterVariant(sku="value")
                      endpoint: 'productProjections'
                    }
                   ]
      }
  ]

would generate:
product:
      attributes: [
          {
             name: 'product reference' # can be any string
             value: ['id of foo-bar', 'id of xyz' # id of the reference document.
          }
      ]


Flexible uploads

This allows uploading and download arbitrary file types. Note this PR is based on the changes in #242.
Uploading:

Downloading:
arbitrary_uploads.webm

@andrewgodwin the one thing we need to do if possible is populate the original_filename on PostAttachment with INBOUND filenames, if they're available somehow .

Due to the size of this I'm going to delay review/merging of it until after 0.6 is cut!

Converted this into a draft, will clean up the tree and splice in two.

Given I've ripped out  a lot of the compose upload code now, closing this out, as we'd have to focus on the API uploads only instead.