Future: NeoGeo Classic Collection

Aside from the SNK 40th Anniversary Collection, SNK has also released about 23 or so games for the Humble Bundle and GOG in DRM-Free form.
A few are also available on Steam.
https://www.humblebundle.com/store/neogeo-classic-complete-collection
https://www.gog.com/en/games?developers=snk-corporation
https://store.steampowered.com/bundle/375/neogeo_bundle/
These games are based on emulation with the original game ROM files sitting inside an ordinary zip.
Should be a pretty easy and straightforward palette cleanser...
EDIT: I just now noticed that two of the games "Art of Fighting 2" and "Baseball Stars 2" have been modified by SNK.
The AOF2 zip will still function just fine under current Mame, however the BBS2's file structure seems to be completely different. Not sure if this one is possible to be made even semi-functional.

So, this one presents some logistical problems:

Some of these are also released on Amazon Games (they were free at one point), though I'm not sure if all are.
This 'collection' is not a collection, but a series of releases. Namco Arcade Game Series has a similar problem. Originally, I had AGS as a single task but I decided to split them recently since they are separate titles.
It doesn't have a single installer and isn't installed by a store app from Humble, but would be from GOG, Amazon, and Steam.
They are purchased as a bundle, but some bundles are different. In terms of distinct versions, I know of:

Amazon Games / Twitch / Curse: No longer available for sale?
Humble: NeoGeo Classic Collection Complete: https://www.humblebundle.com/store/neogeo-classic-complete-collection
Humble: NeoGeo Classics Pack 1: https://www.humblebundle.com/store/neogeo-classics-pack-1
Humble: NeoGeo Classics Pack 2: https://www.humblebundle.com/store/neogeo-classics-pack-2
Humble: NeoGeo Classics Pack 3: https://www.humblebundle.com/store/neogeo-classics-pack-3
Humble: NeoGeo Classics Pack 4: https://www.humblebundle.com/store/neogeo-classics-pack-4
Humble: Individual Titles - Ex. Pulstar: https://www.humblebundle.com/store/pulstar-neo-geo
Steam: NeoGeo Bundle (6 games): https://store.steampowered.com/bundle/375/neogeo_bundle/
Steam: Individual Titles - Ex. The Last Blade 2: https://store.steampowered.com/app/702110/THE_LAST_BLADE_2/
GoG: Individual Titles - https://www.gog.com/en/games?developers=snk-corporation

Some titles are store specific, for example:

Steam has The Last Blade 2 but not Pulstar,
Humble has Pulstar but not The Last Blade 2.
GOG has both.
Amazon Games has both.

I think I just set a default folder for GOG Galaxy library root, and then note that you can use the Amazon Games, Humble or Steam root folders as well, similar to how I used to do AGS?
Note: This would not include the Hamster releases which are on Microsoft Store and a completely different format, and has a completely different set of games.

Sorry, I genuinely expected this to be a "softball".
Maybe just do a search for the names of the zip files in the root folder and all subfolders?
As for the ROMs themselves, the Humble's "neogeo classic complete collection" includes complete copies of the following 37 active roms:
aof2*
blazstar
fatfursp / fatfurspa
garou / garouh
ironclad / ironclado
kof2000 / kof2000n
kof2002
kotm / kotmh
lastblad / lastbladh / lastsold
mslug
mslug2
mslug3
mslugx
pulstar
rbff2 / rbff2h / rbff2k
samsh5sp / samsh5sph / samsh5spho
samsho2 / samsho2k / samsho2ka
sengoku3
shocktr2
shocktro / shocktroa
turfmast
twinspri
Plus the necessary "neogeo" System BIOS

*Art of Fighting 2" IS functional but has been modified due to censorship and thus fails the CRC check.
** "Baseball Stars 2" is similarly modified and the game files have a different structure.
That one might be more trouble than it's worth.

I haven't tried Last Blade 2 but it seems to have been ported by a completely different developer so I wouldn't be surprised if it were substantially different as well.

Decided to get The Last Blade 2 and, as expected, it is built in a completely different way.
It has a "Data" folder with a "rom" subfolder and inside there are 7 bin files, three of which CRC match with known files, specifically the "japan-j3.bin" file from the neogeo BIOS zip plus two files from the lastbld2 ROM zip, the "243-m1.m1" and "243-s1.s1".
I am guessing that a split operation will need to be used to extract the rest of the files.

On Humble Bundle you can extract the proper versions of Art of Fighting 2 and Baseball Stars 2 by extracting the the MacOS dmg with 7zip. Might also work with the Linux version too but when I tried to download that it just spit me on to a webpage with a shell script and some garbled up text (that I'm assuming is binary data). I'm thinking they only updated the Windows versions and forgot about the other platforms.

The Steam versions for all the SNK games do differ quite a bit from the GOG/Humble Bundle releases. Last Blade 2, Garou, and King of Fighters 2002UM have that data folder. The Metal Slug games all use a seemingly similar, but also different format.

The dotemu2mame.js script works with Metal Slug and also a bunch of other games stated in the header.

These are a mess... Shock Troopers, for example:

On Amazon Games, the base folder is 'Shock Troopers', and the files are in 'resources\game'
On Humble, the base folder is 'ShockTroopers', and there is a zip.
On GOG, the base folder is 'Shock Troopers', and the files are in 'resources\game'
On Steam, the base folder is 'SHOCK TROOPERS', and the files are in 'resources\game'.

I have 3 unique folder names and 2 extractions methods for the same title... ugh. And, of course, I can't find these out and test them unless I buy the games.
I'm considering 2 approaches:

Have a 'neogeo_classics_STORE' for each store. There will be a lot of overlap, but the metadata will be pretty clean, and the extraction will be pretty reliable, since each store only has one 'version' of the games.
Have a single 'neogeo_classics' and implement some sort of heuristics. For each Neo Geo title, have a list of potential folder names. Find all folders that match, then look for a ZIP, then look for the individual files. This would be easier to use, but would be a mess to debug and have more complex metadata.

I was originally hoping to do option 2, but the sheer number of options and the complexity is starting to concern me.
I might just try option 2 for one title and see how it goes.

Concerning the "Art of Fighting 2" and "Baseball Stars 2" games, I confirm that the Humble dmg packages contain the original unaltered game roms in zip form.
Would be great if someone tested the GOG ones as well (right now both games are on sale, AOF2 for a ridiculous price).
This also presents the interesting alternative of using the Mac packages rather than the windows installers for extracting the other of the games as well.
Humble and GOG both have Mac packages for many of the games and I have a feeling that the ones that do not, like the KOF '98 UM or 2002 UM, are recreations rather than emulations of the original games anyway.

I'm 99% sure the 'Ultimate Match' versions are remakes: https://snk.fandom.com/wiki/The_King_of_Fighters_2002_Unlimited_Match
I'm willing to consider the installers, but... that's another variant to cover. Also, I'm not sure there's a python-native way to read the DMG files. I'm trying to not make 7zip a direct requirement, and a cursory search only shows dmglib, which is Mac only.

You could have the user extract all the DMG files manually if you really wanted to. All the games extract to a "NeoGeo 25th Anniversery Installer" folder with the game files located at "[gameName].app/Contents/Resources/".  You could read which games are in the base installer folder and then pick the proper zip files.
I'm sure this is the same for Humble Bundle and GOG. This would just leave Steam as the outlier.

To summarize right now there are 3 variations of these games.
There are the new remakes done in order to give the games rollback netcode done by CodeMasters (this is Last Blade 2, Steam version of Garou, the KOF UM versions, etc). These appear to be incomplete ROMs from what I can tell.
Then there are the original ports done by DotEmu. These have 2 variations.
The first is the ones kept as plain zip files (majority of the Windows installs on Humble Bundle/GOG, all of the MacOS and Linux installs on those platforms).
The next is the variation with the resource folders (Steam, apparently Amazon and some of the Windows GOG/Humble versions?). These can be extracted with cxx's dotemu2mame.js script.

Easiest way to consolidate this in my mind is to ignore all the CodeMystics games, standardize on extracting either the Mac or Linux installers from Humble/GOG, then use the dotemu2mame for Steam/Amazon (or perhaps even just ignore Amazon completely cause realistically who's using that?).

Easiest way to consolidate this in my mind is to ignore all the CodeMystics games, standardize on extracting either the Mac or Linux installers from Humble/GOG, then use the dotemu2mame for Steam/Amazon (or perhaps even just ignore Amazon completely cause realistically who's using that?).

CodeMystics: If you mean the Ultimate Match versions, I completely agree - they just aren't ROM-based. If you mean one of the ones with files to rebuild, that's a bit more bitter for me to swallow.
Installers: Ooof. So then we have (using Shock Troopers as an example):

Mac on GOG: It's a ZIP file.
Mac on Humble: It's a Mac Disk Image (.DMG)
Linux on GOG/Humble: It's a data-embedded bash script, UGH. (I can't even get Humble to download, but the URL implies it's the same .sh file.) This would flat out hurt to parse.
Android on Humble: APKs are ZIPs, but the internal format might be ugly and only about 8 games are covered by these (Shock Troopers not included).

Dotemu2Mame: I'm not against adapting what dotemu2mame.js has done - I already adapted the tile ROM rebuilding from it for Double Dragon Trilogy, etc.
Amazon: I somewhat agree, except... they were free for a month back when Amazon owned Twitch. As a result, a lot of people have access to them and wouldn't need to re-buy.

I didn't realize the Mac versions on GOG were different than the Humble ones.
As an example, for Metal Slug it was:
MetalSlug.zip\MetalSlug.app\Contents\Resources\mslug.zip
MetalSlug.zip\MetalSlug.app\Contents\Resources\neogeo.zip
For Humble, the same game has a dmg with the following path:
MetalSlug_jan2016.dmg*NeoGeo 25th Anniversery Installer*\MetalSlug.app\Contents\Resources\mslug.zip
MetalSlug_jan2016.dmg\NeoGeo 25th Anniversery Installer\MetalSlug.app\Contents\Resources\neogeo.zip

So, looking at it, I think the only sane path forward is:

Make one task for each store - neogeo_classics_humble, etc.
Write as much of the code into common libraries as possible
Order:

Start with Humble, as I own it and it's the most accessible
Do Amazon, as it should be largely similar and I already own it
Start piecing in GoG and Steam, which are a bit more complex as I don't own all of these.

Focus on titles that are unique to the non-Humble stores, which is only The Last Blade 2

GoG has 21 titles I don't own on there, totaling ~$73. Of these, 7 are only $1.79, and 8 are only $2.99, so I might be able to pick a few up - but these are all dupes for me.
Steam has 5 titles I don't own on there, totaling ~$50. Even with IsThereAnyDeal, the lowest price for these is $5 each, so it's not practical to buy these dupes.
As such, anyone who owns these and would be able to test at some point would be helpful.
The good news is that I at least have a few games representing all of the extraction types:

ZIP files right in the folder
Subfolder resources/game
Subfolder data/roms

Please check your messages, let's see if I can be of some help

So, I've added this wiki page as a first effort to start recording information about the SNK soft releases.
@Feilakas, @tydog98: If either of you own the GOG or Steam titles and can help fill the gaps, that would be great. Don't go out of your way to buying anything you don't want!
For an easier view of what games have been re-released and how, I've also made this page.
One more thing...
One thing that's interesting is that across all ZIP-based versions I've seen, there are TWO versions of the neogeo.zip.
Most of the Humble Bundle games (except Twinkle Star Sprites) have a smaller neogeo.zip:
Archive:  ShockTroopers/neogeo.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
   131072  12-24-1996 23:32   sm1.sm1
   131072  12-24-1996 23:32   sp-e.sp1
   131072  12-24-1996 23:32   sp-s2.sp1
   131072  12-24-1996 23:32   usa_2slt.bin
   131072  12-24-1996 23:32   000-lo.lo
   131072  12-24-1996 23:32   sfix.sfix
---------                     -------
   786432                     6 files

Humble: Twinkle Star Sprites and all of the Amazon releases have a bigger neogeo.zip with a lot more coverage:
Archive:  TwinkleStarSprites/neogeo.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
   131072  12-24-1996 23:32   000-lo.lo
   131072  12-24-1996 23:32   asia-s3.rom
   131072  12-24-1996 23:32   japan-j3.bin
   131072  12-24-1996 23:32   sfix.sfix
   131072  12-24-1996 23:32   sm1.sm1
   131072  12-24-1996 23:32   sp-1v1_3db8c.bin
   524288  12-24-1996 23:32   sp-45.sp1
   131072  12-24-1996 23:32   sp-e.sp1
   131072  12-24-1996 23:32   sp-j2.sp1
   131072  12-24-1996 23:32   sp-s.sp1
   131072  12-24-1996 23:32   sp-s2.sp1
   131072  12-24-1996 23:32   sp1.jipan.1024
   131072  12-24-1996 23:32   uni-bios_1_0.rom
   131072  12-24-1996 23:32   uni-bios_1_1.rom
   131072  12-24-1996 23:32   uni-bios_1_2.rom
   131072  12-24-1996 23:32   uni-bios_1_2o.rom
   131072  12-24-1996 23:32   uni-bios_1_3.rom
   131072  12-24-1996 23:32   uni-bios_2_0.rom
   131072  12-24-1996 23:32   uni-bios_2_1.rom
   131072  12-24-1996 23:32   uni-bios_2_2.rom
   131072  12-24-1996 23:32   uni-bios_2_3.rom
   131072  12-24-1996 23:32   uni-bios_2_3o.rom
   131072  12-24-1996 23:32   usa_2slt.bin
   131072  12-24-1996 23:32   vs-bios.rom
---------                     -------
  3538944                     24 files

Of these, 10 appear to be versions of Uni-Bios, which is a modded Neo Geo Bios to add certain convenience tools?
The other 8 files, however, appear to be more region variants. Having a 'licensed' source is useful.
As the Amazon releases can't be purchased, if you don't own any of them already, Humble's version of Twinkle Star Sprites is an excellent strategic purchase.

Checked my GOG games.
Right now I own the four Metal Slug titles (1,2,3, X) and all KOF titles, only two of which are ROM-based, namely 2000 and 2002.
All 6 games have the larger neogeo.zip file you describe above with the same 24 files inside.

All four Metal Slug titles are as you described. The rom files are inside the folder Metal Slug ?\resources\game
Inside said folder there are non-standard files. Taking Metal Slug 1 as an example we have:
mslug_zoom_table	> 000-lo.lo
mslug_bios_m68k	> sp-u2.sp1
mslug_game_z80	> 201-m1.m1
mslug_tiles
mslug_adpcm
mslug_game_m68k
mslug_intro1
mslug_intro2
mslug_bios_sfix
mslug_game_sfix
mslug_spr_usage
mslug_howtoplay
mslug_gfix_usage
scale2x.fsh
scale2x.vsh
scanline.fsh
scanline.vsh
default.vsh
hud.vsh
hud.fsh
default.fsh

The Mac installer is a zip file with the rom and neogeo zips sitting inside:
MetalSlug.zip\MetalSlug.app\Contents\Resources\mslug.zip
MetalSlug.zip\MetalSlug.app\Contents\Resources\neogeo.zip
ON THE OTHER HAND, the KOF games are completely different!
The ROMs are, in fact sitting in the game's main folder in zip form!

For "The King of Fighters 2000" there are:
kof2000.zip
kof2000n.zip
neogeo.zip

For "The King of Fighters 2002" there are:
kof2k2nd.zip (apparently the game in decrypted form)
kof2002.zip
neogeo.zip

If either of you own the GOG or Steam titles and can help fill the gaps, that would be great. Don't go out of your way to buying anything you don't want!

On GOG I own KOF2002 and on Steam I own the Metal Slugs, Garou, Last Blade 2, and KOF2002UM.

Convert Lastblade2 (AmazonPrime)
V needs to be split, C needs to be ODD/EVEN and tile conversion
More details are in the following blog
BLOG
Download the Android version ROM conversion tool "convpack.zip" and extract it to a folder
Copy the Lastblade2 ROM file to the folder where you extracted "convpack.zip".
Comment
Here is how to convert Lastblade2 from the comments section

romcutter.exe v1.bin 243-v1.v1 0 400000
romcutter.exe v1.bin 243-v2.v2<PHONE_NUMBER>00
romcutter.exe v1.bin 243-v3.v3<PHONE_NUMBER>00
romcutter.exe v1.bin 243-v4.v4 C00000 400000
copy m1.bin 243-m1.m1
copy s1.bin 243-s1.s1
romcutter.exe p1.bin 243-pg1.p1 0 100000
romcutter.exe p1.bin 243-pg2.sp2<PHONE_NUMBER>00
echo 243-c1.bin StartAddr:0 Odd_or_Even:0 SplitSize:800000
echo 243-c2.bin StartAddr:0 Odd_or_Even:1 SplitSize:800000
echo 243-c3.bin StartAddr:800000 Odd_or_Even:0 SplitSize:800000
echo 243-c4.bin StartAddr:800000 Odd_or_Even:1 SplitSize:800000
echo 243-c5.bin StartAddr:1000000 Odd_or_Even:0 SplitSize:800000
echo 243-c6.bin StartAddr:1000000 Odd_or_Even:1 SplitSize:800000
tiles2crom.exe c1.bin

Save the above code as a bat file and run it.
In the 2nd stage, enter the echo value.
Once completed, compress the file as Lastblade2.zip and you are done!

Can confirm that the above batch file does works with the Steam version of the game as well, although copy/pasting the echo values for the tiles2crom split is a bit tedious, hope that this could be automated a bit more.
One correction however, after running ClrMamePro with the 0249 mame dat file, the above batch produces the "lastbld2.zip" not, Lastblade2.zip which doesn't appear to be recognized.

I found Python script
https://www.gog.com/forum/general/rom_based_gog_games_compatible_with_third_party_emulators_thread/post46
Download the_last_blade_2.zip
https://www.gog.com/forum/general/rom_based_gog_games_compatible_with_third_party_emulators_thread/post49

The King of Fighters 2003 was added to Amazon Prime Gaming. Its ROMs are stored in a Data/rom folder like The Last Blade 2.

What is the version of MAME?
The "neogeo.zip" included in AmazonPrime is up to MAME 0.139.
MAME is strictly in the NEOGEO BIOS.
ROMs may not be displayed.
NEOGEO BIOS with 0.251 of Arcade64.
With a dummy file with some CRC rewritten.
It was possible to make it recognised.
Screen shot
I think FinalBurnNEO is easier to play.

Sorry, I'm a noob when it comes to arcade emulation.
I tried running it on my Raspberry Pi 3 running an older version of Batocera, I'll follow your advice and try again later.

Batocera contains several emulators.
RetroArch/libRetro's MAME, FBNEO and standalone MAME.
If you can play it, there is no problem.
The NEOGEO BIOS is required for a number of country and model variants
But one BIOS file works when you are actually playing.
FYI.
Arcade documentation for Batocera

Tested the new 1.16 build with the neogeo_classics_humble task.
Everything works correctly.
Only weird thing I found is that the script gives the following warning, however everything works correctly:
"WARNING:root:Could not identify version of Z:\test\neogeo_classics_humble\SNKTwitchArtOfFighting2_2020Jun18__1\aof2.zip!_"
As a test, I took the original/unaltered aof2.zip from the mac dmg package and re-ran the script, which completely broke apart, returning several likes of error messages:
  File "%USERFOLDER%\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main     return _run_code(code, main_globals, None,   File "%USERFOLDER%\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code     exec(code, run_globals)   File "%USERFOLDER%\AppData\Local\Programs\Python\Python310\Scripts\gextoolbox.exe\__main__.py", line 7, in <module>   File "%USERFOLDER%\AppData\Roaming\Python\Python310\site-packages\click\core.py", line 1130, in __call__     return self.main(*args, **kwargs)   File "%USERFOLDER%\AppData\Roaming\Python\Python310\site-packages\click\core.py", line 1055, in main     rv = self.invoke(ctx)   File "%USERFOLDER%\AppData\Roaming\Python\Python310\site-packages\click\core.py", line 1657, in invoke     return _process_result(sub_ctx.command.invoke(sub_ctx))   File "%USERFOLDER%\AppData\Roaming\Python\Python310\site-packages\click\core.py", line 1657, in invoke     return _process_result(sub_ctx.command.invoke(sub_ctx))   File "%USERFOLDER%\AppData\Roaming\Python\Python310\site-packages\click\core.py", line 1404, in invoke     return ctx.invoke(self.callback, **ctx.params)   File "%USERFOLDER%\AppData\Roaming\Python\Python310\site-packages\click\core.py", line 760, in invoke     return __callback(*args, **kwargs)   File "%USERFOLDER%\AppData\Local\Programs\Python\Python310\lib\site-packages\gex\commands\tasks\extract.py", line 43, in extract     task_class.execute(src_dir, dest_dir)   File "%USERFOLDER%\AppData\Local\Programs\Python\Python310\lib\site-packages\gex\lib\tasks\impl\neogeo_classics_humble\__init__.py", line 107, in execute     _ = self.verify_out_file(filename, contents)   File "%USERFOLDER%\AppData\Local\Programs\Python\Python310\lib\site-packages\gex\lib\tasks\basetask.py", line 130, in verify_out_file     errors, version = verify_via_metadata(contents, verify_obj)   File "%USERFOLDER%\AppData\Local\Programs\Python\Python310\lib\site-packages\gex\lib\utils\verify.py", line 20, in verify_via_metadata     return verify_zip(contents, verify_metadata['entries']), None   File "%USERFOLDER%\AppData\Local\Programs\Python\Python310\lib\site-packages\gex\lib\utils\verify.py", line 61, in verify_zip     errors.append({VerifyErrors.CHECKSUM_MISMATCH, {zip_meta['crc'], verify_entry['crc'], "CRC", inner_filename}}) TypeError: unhashable type: 'set'

Looks like there's some more SNK Neo Geo games added to Amazon Prime Gaming.
Art of Fighting 3 - data/rom
Crossed Swords - data/rom
Ghost Pilots - data/rom
Metal Slug 4 - data/rom
Ninja Commando - data/rom
Ninja Masters - data/rom
Looks to be the same format as The Last Blade 2 mentioned earlier.

Only weird thing I found is that the script gives the following warning, however everything works correctly:
WARNING:root:Could not identify version of %SourcePath%\neogeo_classics_humble\SNKTwitchArtOfFighting2_2020Jun18__1_\aof2.zip!

Yup, I had the wrong file size in the metadata for that one, it will be fixed in 0.1.8.
The other error should be fixed in 0.1.7 - there was a bug on CRC mismatches.


How to open the web

How to open the web.
80 port  403 Forbidden

Could you Show the error information？

Wait for 1 min. It is initializing when it sets up first time.


Grammar sends Earley implementation to an infinite loop

Earley implementation never terminates when running with the input "a", and the following grammar:

start: a
a:  a | "a"

Of course the grammar is badly formed, but since we aspire to parse "any grammar", an error is a more appropriate behavior.

@erezsh If I understand correctly, this grammar is not malformed, but also enters into an infinite loop:
from lark import Lark

l = Lark('''
  start: bar+
  bar: /a|b|c*/ "foo"
''')

l.parse('afoobfooccfoo')

It seems the issue is that the regex can match zero characters. This one works fine:
Lark('''
  start: bar+
  bar: /a|b|c+/ "foo"
''')

and this one fails in the same way as the example above:
Lark('''
  start: bar+
  bar: /a|b|/ "foo"
''')

Thanks, good catch!
I think the correct response is to forbid empty regexps.

Both issues resolved.

Fixed!


Removed format type "date-time" until transformation complete

This would be a temporary fix to the error occurring with the date-time format. For the time being until there is an implementation for epoch->rfc3339 datetime transformation.

resolves #54, resolves #50

This fails because of #14  it doesn't have access to the env variables. Linting passes, looks good enough to me! Merging


Twice similar jobs with eck operator

Hi everyone,
i recently installed a ES Cluster using the eck operator and then install the prometheus exporter to get metrics. Everything works without problems, only I get the same result twice:
For example, if I query prometheus with: es_os_mem_used_bytes
I get :
es_os_mem_used_bytes{cluster="elastic-jaeger", container="elasticsearch", endpoint="https", instance="<IP_ADDRESS>:9200", job="elastic-jaeger-es-http", namespace="eck-cluster", node="elastic-jaeger-es-masters-0", nodeid="RCaOVA6vRCOrAwWN7wJaBg", pod="elastic-jaeger-es-masters-0", service="elastic-jaeger-es-http"}

es_os_mem_used_bytes{cluster="elastic-jaeger", container="elasticsearch", endpoint="https", instance="<IP_ADDRESS>:9200", job="elastic-jaeger-es-masters", namespace="eck-cluster", node="elastic-jaeger-es-masters-0", nodeid="RCaOVA6vRCOrAwWN7wJaBg", pod="elastic-jaeger-es-masters-0", service="elastic-jaeger-es-masters"

where the only difference is the job name, this makes Grafana a bit messy.
The names seems to be the same as the services exposed by the cluster.
Anyone know what I did wrong or point me to the right direction?

@domcar The above suggests you have two services for the pod and both are scraped for metrics.

Yes, I have two services, but they were deployed automatically with the elastic search operator, not sure if I can simply remove one

just one of the scraping configs needs to be removed. How does the prometheus scraping of the service configured?

I have a serviceMonitor with a labelsSelector, but unfortunately the two services coming from the eck-operator have the same labels :( So I can change them manually and it's fine, but I can't find how I can modify them using the operator

Maybe this is more an issue on the operator side and not here, unless you used it too and know how to handle this


Update the migration order spec for the new euwe branch

This spec will now check for migrations which are dated earlier than the last one in the euwe branch to prevent us from running them out of order.
This includes adding the euwe_migrations file to the .gitignore because I forgot that we still print the file when I opened #10776
@Fryguy please review

👍 I'll add this to my "cutting a new branch checklist"

@Fryguy should I close/reopen to kick codeclimate or can this go in? We're looking at backporting https://github.com/ManageIQ/manageiq/pull/11526 and want to have this in before we do much with migrations in the euwe branch.


clean: post cleanup after Basilisk

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Refactoring

Context

[x] Closes #8881

Did your issue had any of the "$" label on it?

[x] My DOT address: Payout

Copilot Summary
copilot:summary
copilot:poem

pay 30 usd
Delicious snake

😍 Perfect, I’ve sent the payout
💵 $30 @ 7.2 USD/DOT ~ 4.167 $DOT
🧗 16SjUbGKSdjCdWTy3NNT3JxbRVGGqD4mwkHpc6BD9U2Rp29Z
🔗 0xffabbdda3e6452d2d4ebb85e646410470dbb42a6f74dafd2b3706ec3aaca27d2
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Remove secrets bucket for now

Adding cla: yes label, as the PR author is a googler at the time of this PR was created.


Numpy array as output format

Maybe I'm missing something, but when I updated the package to the newest version, the output format changed to a generator object such that gradio no longer is able to process the output from client.generate() anymore. The examples don't help either as I don't want to save each output to a file and read it again and streaming option also doesn't work with gradio. I don't want to/cant use the play and stream functions.

Yes, I am having the same issue. client.generate() does not work. A possible fix would be to use text_to_speech but the code will need to be modified.

@jayjcoding For reference, this is what I had to do to get it to work, but it's absurd and unnecessary that it had to go through all those steps:
from scipy.io import wavfile
from pydub import AudioSegment
from io import BytesIO
def tts_out(text: str):
response = elevenlabs_client.text_to_speech.convert(
text=text,
voice_id="xxxxxxxxxxxxxxx",
optimize_streaming_latency="0",
output_format="mp3_22050_32",
)
audio_stream = BytesIO()

for chunk in response:
    if chunk:
        audio_stream.write(chunk)

audio_stream.seek(0)

audio = AudioSegment.from_mp3(audio_stream)

wav_io = BytesIO()
wav_file = audio.export(wav_io, format="wav")
wav_io.seek(0)

sample_rate, audio_data = wavfile.read(wav_io)

return (sample_rate, audio_data)

@j-dominguez9 @jayjcoding thanks for the feedback. Would you be interested in making a contribution?

Sure. I'd love to but I don't know a lot about this. If I can, then I would gladly do.

@dsinghvi Thanks for the opportunity. If you point me in the right direction to save time, like what files would be relevant to look at, and what you had in mind for changes, I'd be happy to help.

@j-dominguez9 I could see you adding a new for_gradio helper function and adding the file in this directory. Then users can import the function if they want to use gradio directly.
You should be able to clone the repo like any Python SDK repository, run poetry install and ship up a PR!


Support enabling logging in the same way as polymer js

 Issue by jakemac53
Originally opened as dart-lang/sdk#20408

http://www.polymer-project.org/docs/polymer/runtime-config.html

 Comment by jakemac53

submitted in dart-lang/sdk@27e094845df1e0281bcd93162e81dfdb448773ab

Added Fixed label.


Fixed a typo in FixedSizeQueue

Old name was FixedSizeQuene. Renamed it, and changed references to FixedSizeQueue

Thank you very much for you contribution!


element: Bin and shortcuts fix

https://github.com/vector-im/riot-desktop/commit/94086f247a8c89630ddf3c134e4af50c18d1af3b

Next time you will not apply changes using Github suggestions PR will be immediately closed

Next time you will not apply changes using Github suggestions, PR will be immediately closed

May I ask you why? Sure, it's not hard and I'll do it from now on, but what's wrong with the approach I use? Just curious.

Automatic conversation resolve
Avoid stupid mistakes by manual changes of PR author
Co-author
Exact purpose of suggestions


fix block-size description

Per vllm official doc in https://docs.vllm.ai/en/stable/models/engine_args.html, the parameter of --block-size can take the value of {8,16,32,64,128}. However, I hit error "RuntimeError: Unsupported block size: 128" when I tried out "--block-size 128"
I hunted the code and saw the following logic in csrc/attention/paged_attention_v2.cu:
#define CALL_V2_LAUNCHER_BLOCK_SIZE(T, CACHE_T, KV_DTYPE)         \
  switch (block_size) {                                           \
    case 8:                                                       \
      CALL_V2_LAUNCHER_SPARSITY(T, CACHE_T, 8, KV_DTYPE);         \
      break;                                                      \
    case 16:                                                      \
      CALL_V2_LAUNCHER_SPARSITY(T, CACHE_T, 16, KV_DTYPE);        \
      break;                                                      \
    case 32:                                                      \
      CALL_V2_LAUNCHER_SPARSITY(T, CACHE_T, 32, KV_DTYPE);        \
      break;                                                      \
    default:                                                      \
      TORCH_CHECK(false, "Unsupported block size: ", block_size); \
      break;                                                      \
  }

Similar logic is also seen in csrc/attention/paged_attention_v1.cu.
Updated the parameter allowed value per the real logic.

64 and 128 (256 by extension) is supported in FlashAttention backend I believe.

Hey, while GPU kernels might not support block sizes greater than 32, other accelerators do. On HPU, going below block size 128 is very detrimental to performance. I don't think the option to use greater block sizes should be removed, rather a proper assertion and log should be added to verify_args

Hey, while GPU kernels might not support block sizes greater than 32, other accelerators do. On HPU, going below block size 128 is very detrimental to performance. I don't think the option to use greater block sizes should be removed, rather a proper assertion and log should be added to verify_args. I've created PR #11259 reverting this one.

Thanks!


[Error] When inferring llama with multiple GPU (GPU>1)

Thanks for your great work in improving the performance of the transformer-based model.
I have tried to infer the llama model with the code with 4 GPUs (A100).
However, I meet an error. It's very grateful if you can offer some advice.

No, multi-GPU inference for LLaMa is not implemented right now. The inference stuff is just for my own experimentation.

Thank. I will try to fix this.


chrome for testing beta version 127.0.6533.43

When I use chrome for testing beta version, it is not able to locate elements some times(whereas sometimes it is able to locate elements). It is not stable. Due to this reason our automation scripts are failing in the nightly build.

Chrome browser is not initiating when I use beta version 127.0.6533.57


How do I modify the drawbar function that will apply the statuspadding patch?

This is the mentioned patch: statuspadding
So far I only have the dwm-systray-dwmblocks-6.3 applied.
I would appreciate any type of help...
Thank you!

What happens when you don't touch the drawbar function, just apply the changes to the setup function from the patch?


Ch 4: batch gradient descent demonstration with various learning rates

Hi Aurelien.
May I modestly suggest the attached implementation of the plot_gradient_descent() function?
I think it drives home your point:

A simple solution is to set a very large number of iterations but to interrupt the algorithm when the gradient vector becomes tiny...

It also demonstrates how to actually calculate the magnitude of a vector.
Lastly, I also took the liberty of plotting the final predictions  - may be good for the illustrative purposes, since it won't show up on the third plot, which corresponds to the LR that is too high.
Cheers!
Gene.
plot_gd.txt

Wow thanks Gene, that's very kind of you! I'll check it out asap. 👍

Hi, Since this issue is for Chapter 4, I am writing my query here. while using the normal equation, why do we need to convert the "X" to "X_b" using np.c? I mean what is the logic behind it?

@yashGuleria,
In X_b there's 1 added at the beggining of each instance's vector to get the bias/intercept term in the result, otherwise it will not appear in the result of the closed form solution (i.e. the Normal Equation).
Thanks.
Gene.

@genemishchenko,
Thank you for helping out.
regards
yash


Types for plugins

Migrating from https://github.com/saiichihashimoto/sanity-typed-schema-builder/issues/187 (@karlomedallo).
There's been no work in this repo for typing plugins. I haven't thought at all about all the implications, so there's probably a lot of work here. Now that sanity v3 is "just javascript", maybe this is more doable!

Now that @sanity-typed/types is mostly ready-to-go, schema-builder is on its way towards deprecation. It's available for @sanity-typed/types as much as it can be, so I'm closing this.


Can't send record through SendPort

Currently, according to SendPort.send docs, and in practice, a Record can't be passed toSendPort.send. It would be convenient to be able to do so.
dart --version: Dart SDK version: 3.1.0-129.0.dev (dev) (Fri May 19 12:10:06 2023 -0700) on "macos_arm64"

Closing this as a duplicate of https://github.com/dart-lang/sdk/issues/49993


Hyper Froze on Emacs after C-k

OS version and name: macOS High Sierra

Hyper.app version: 1.4.8

Link of .hyper.js: https://gist.github.com/dsantosp12/3d0447cea03c67699b869ac5eb1a793d

Relevant information from devtools: Uncaught TypeError: Failed to execute 'extend' on 'Selection': parameter 1 is not of type 'Node'.
at r.Terminal.copyStringToClipboard (file:///Applications/Hyper.app/Contents/Resources/app.asar/renderer/bundle.js:47:181036)
at r.VT.OSC.(anonymous function) (file:///Applications/Hyper.app/Contents/Resources/app.asar/renderer/bundle.js:47:205660)
at r.VT.dispatch (file:///Applications/Hyper.app/Contents/Resources/app.asar/renderer/bundle.js:47:198634)
at r.VT.parseOSC (file:///Applications/Hyper.app/Contents/Resources/app.asar/renderer/bundle.js:47:202781)
at r.VT.interpret (file:///Applications/Hyper.app/Contents/Resources/app.asar/renderer/bundle.js:47:196391)
at r.Terminal.interpret (file:///Applications/Hyper.app/Contents/Resources/app.asar/renderer/bundle.js:47:160992)
at r.Terminal.IO.i.hterm.Terminal.IO.writeUTF8 (file:///Applications/Hyper.app/Contents/Resources/app.asar/renderer/bundle.js:41:17420)
at Term.write (file:///Applications/Hyper.app/Contents/Resources/app.asar/renderer/bundle.js:5:10530)
at file:///Applications/Hyper.app/Contents/Resources/app.asar/renderer/bundle.js:4:18922
at file:///Applications/Hyper.app/Contents/Resources/app.asar/renderer/bundle.js:4:18750

The issue is reproducible in vanilla Hyper.app:

Issue
When using emacs, I try C-k and Hyper froze. This is reproducible 100% of the time in my environment.
The console logs that there is a uncaught TypeError:

This should be fixed now, could you try and reproduce? 🙏

Yep. I will try it in a bit.

@timothyis sorry the "bit" took 29 days. I totally forgot about it. It works! Tested on my mac using Hyper 2.0.0 (stable)


gordioidea, exits

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.4
logical conflict every: 5
sleep for: 300s
[pullrequest]
requests per hour: 30
deps=[e,g]

/trunk merge


Scale the HUD button

Dont think this is worth mentioning in the changelog, but can if anyone disagrees :)
To test just change the display font size to something significantly different and restart ZAP.
Without this fix the HUD button is not correctly resized.
Signed-off-by: Simon Bennetts<EMAIL_ADDRESS>

Travis seems to be failing due to broken dependencies?

Yes, NPM is having problems (being fixed).


tests: Print test-case name in all test failures in fixtures.

Previously, we only printed the test-case when we had an assertion error.
With this change, we also include timeout errors as well as any other
causes for failure.

Here is the final output containing test-case name:
======================================================================
ERROR: test_bugdown_fixtures (zerver.tests.test_bugdown.BugdownTest) (markdown_test_case='codeblock_hilite')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zulip/zerver/lib/bugdown/__init__.py", line 2347, in do_convert
    raise TimeoutExpired()
zerver.lib.timeout.TimeoutExpired: Function call timed out.

Testing Plan:
Running automated tests.

Nice, merged, thanks @aero31aero!


Query tests fail with SQLCE provider

The test String_EndsWith_MethodCall() fails with
  System.FormatException : @__LocalMethod2_0 : m - Input string was not in a correct format.
at System.Data.SqlServerCe.SqlCeCommand.FillParameterDataBindings(Boolean verifyValue)

The 2 other tests with the LIKE statements similar to this also fail.
LIKE '%' + @__LocalMethod2_0

I think this is due to a limitation in the SQLCE engine, as I have alluded to previously http://erikej.blogspot.dk/2013/06/sql-server-compact-code-snippet-of-week_23.html
(A fix would be that the @__LocalMethod2_0 parameter value was "%M" )
Is this something I need to fix in the SQLCE EF provider? And in that case any pointers to how?

Interesting. Are you sure it isn't another type inference limitation in SQL CE? Just asking given our long history with those :smile: (e.g. CodePlex #287 and its fix and the more recent #2317).
It may very well be another kind of limitation but just thinking that the type, size and nullability of the parameter could have an incidence. Does concatenation between a string constant and a string parameter work outside of LIKE?

@divega thanks for great input, I will do some testing!

@divega Spot on! Still an issue that the CommandBuilder does not set the DbType.
Adding this line in my test makes the query pass:
parameter.DbType = System.Data.DbType.String;

Looks like in the MethodCall instance, the StoreType is not set, so no DbType is configured in the RelationalTypeMapping class
        if (StoreType.HasValue)
        {
            parameter.DbType = StoreType.Value;
        }

Is this something I need to improve in the SQLCE provider, and in that case, how?

Awesome! I suspect we can change things in Core and Relational so that DbType is set in this case and in general in more cases. @ajcvickers would know for sure  if that makes sense.

BTW, you might want to provide a new answer to this question in StackOverflow:http://stackoverflow.com/questions/1916248/how-to-use-parameter-with-like-in-sql-server-compact-edition
Let me know and I will upvote it :smile:

@divega This is now fixed in the SQLCE provider, I had a bug (not being explict enough in my TypeMapper) - thanks for the help!

Glad it worked, and thank you Erik!

@divega Just to clarify, setting the DbType is something that is entirely up to a provider. This is because always setting the DbType doesn't always work, never setting doesn't always work, and the types that need it set vary per provider. So a provider must create a type mapping either with a DbType or without a DbType. I assume @ErikEJ is now creating a type mapping in the CE provider with the DbType set and hence it is now working.

Yes, I am massaging the Parameters quite a lot, to Work around a number of SQLCE quirks:
https://github.com/ErikEJ/EntityFramework.SqlServerCompact/commit/3a713ebf3bdcd2a4571124509785295d28587c38#diff-f84e58fb27753166b396cf85478f7101
https://github.com/ErikEJ/EntityFramework.SqlServerCompact/commit/3a713ebf3bdcd2a4571124509785295d28587c38#diff-f88fa5efbceb344ee1dd9d3ae293034d

@ajcvickers Thanks for the explanation.


FindFirstDescendent fails to find the correct TreeItem

Describe the bug
I'm using UIA2 package for testing my product and trying to retrieve a TreeItem from a TreeView control. The FindFirstDescendent functions does seems to return the correct TreeItem but when i called the AsTreeItem.Click, the click  went to another TreeItem instead.
The problem can be reproduced with a Windows Form and in it contains only a TreeView and a TextBox control (See code snippets below). If i try to locate IIIIIIII using FindFirstDescendent, it will return IIIIIIII but when i called the AsTreeItem.Click, GGGGGGGG was clicked instead.
Screenshot sc1: This is the test result of the above mentioned problem.
sc2: Shows that FindAllDescendent is also having this problem
The program with the TreeView was built using Visual Studio 2008 (.net 2.0) on a Win 10 Pro PC running 21H1.
Code snippets
`Public Class Form1
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    Dim a As TreeNode

    a = New TreeNode("Common")
    a.Nodes.Add("A", "AAAAAAAA")
    a.Nodes.Add("B", "BBBBBBBB")
    a.Nodes.Add("C", "CCCCCCCC")
    a.Nodes.Add("D", "DDDDDDDD")
    a.Nodes.Add("E", "EEEEEEEE")
    TreeView1.Nodes.Add(a)

    a = New TreeNode("PROCESSING")
    a.Nodes.Add("F", "FFFFFFFF")
    a.Nodes.Add("G", "GGGGGGGG")
    a.Nodes.Add("H", "HHHHHHHH")
    a.Nodes.Add("I", "IIIIIIII")
    a.Nodes.Add("J", "JJJJJJJJ")
    a.Nodes.Add("K", "KKKKKKKK")
    TreeView1.Nodes.Add(a)

    TreeView1.ExpandAll()
End Sub

Private Sub TreeView1_NodeMouseClick(ByVal sender As Object, ByVal e As System.Windows.Forms.TreeNodeMouseClickEventArgs) Handles TreeView1.NodeMouseClick
    If Not e.Node.Name = "" And Not e.Node.Name Is Nothing Then
        TextBox1.Text = e.Node.Text
    End If
End Sub

End Class`
Screenshots
sc1:

sc2:

I can't reproduce it. I tried to recreate it but it works without issues. When you use Click, it moves the mouse cursor. Is the cursor on the right element when the test runs or also on the wrong element?


Adding marvin

Adds the https://hackage.haskell.org/package/marvin and https://hackage.haskell.org/package/marvin-interpolate package

aeson-<IP_ADDRESS> (Adam Bergmark<EMAIL_ADDRESS>@bergmark) is out of bounds for:

[ ] marvin-0.1.0 (>=<IP_ADDRESS> && < 0.12). Justus Adam<EMAIL_ADDRESS>@JustusAdam. @JustusAdam. Used by: library, executable

directory-<IP_ADDRESS> is out of bounds for:

[ ] marvin-0.1.0 (>=<IP_ADDRESS> && < 1.3). Justus Adam<EMAIL_ADDRESS>@JustusAdam. @JustusAdam. Used by: executable

haskell-src-meta-<IP_ADDRESS> is out of bounds for:

[ ] marvin-interpolate-1.0 (>=<IP_ADDRESS> && < 0.7). Justus Adam<EMAIL_ADDRESS>@JustusAdam. @JustusAdam. Used by: library

hspec-2.4.1 (Simon Hengel<EMAIL_ADDRESS>@sol) is out of bounds for:

[ ] marvin-interpolate-1.0 (>=2.2.4 && < 2.3). Justus Adam<EMAIL_ADDRESS>@JustusAdam. @JustusAdam. Used by: test-suite

http-client-0.5.5 is out of bounds for:

[ ] marvin-0.1.0 (>=<IP_ADDRESS> && < 0.5). Justus Adam<EMAIL_ADDRESS>@JustusAdam. @JustusAdam. Used by: library

http-client-tls-<IP_ADDRESS> is out of bounds for:

[ ] marvin-0.1.0 (>=<IP_ADDRESS> && < 0.3). Justus Adam<EMAIL_ADDRESS>@JustusAdam. @JustusAdam. Used by: library

lens-4.15.1 (Edward Kmett<EMAIL_ADDRESS>@ekmett) is out of bounds for:

[ ] marvin-0.1.0 (==4.14.*). Justus Adam<EMAIL_ADDRESS>@JustusAdam. @JustusAdam. Used by: library

optparse-applicative-<IP_ADDRESS> is out of bounds for:

[ ] marvin-0.1.0 (>=<IP_ADDRESS> && < 0.13). Justus Adam<EMAIL_ADDRESS>@JustusAdam. @JustusAdam. Used by: library, executable

vector-<IP_ADDRESS> is out of bounds for:

[ ] marvin-0.1.0 (>=<IP_ADDRESS> && < 0.12). Justus Adam<EMAIL_ADDRESS>@JustusAdam. @JustusAdam. Used by: library

websockets-<IP_ADDRESS> (Jasper Van der Jeugt @jaspervdj) is out of bounds for:

[ ] marvin-0.1.0 (>=<IP_ADDRESS> && < 0.10). Justus Adam<EMAIL_ADDRESS>@JustusAdam. @JustusAdam. Used by: library

wreq-<IP_ADDRESS> (Alois Cochard<EMAIL_ADDRESS>@aloiscochard) is out of bounds for:

[ ] marvin-0.1.0 (>=<IP_ADDRESS> && < 0.5). Justus Adam<EMAIL_ADDRESS>@JustusAdam. @JustusAdam. Used by: library

I know. I'm working on fixing it. I had pvp-bounds enabled which resulted in very tight bounds.
I've since added manual bounds, once I'm confident they're decent I'll push an update commit to trigger the Travis build again.

I know. I'm working on fixing it.

I didn't post the bounds to rush you. It's helpful for curators when reviewing the tickets.

I don't mind personally but this is a stronger case for not mentioning all maintainers #2294

There, fixed it 🙂

Thank you

Sorry I don't why but seems still some problems when trying to build for Stackage Nightly:
stackage-curator:
directory-<IP_ADDRESS> is out of bounds for:

[ ] marvin-0.1.4 (==1.2.*). Justus Adam<EMAIL_ADDRESS>@JustusAdam. @JustusAdam. Used by: executable

websockets-<IP_ADDRESS> (Jasper Van der Jeugt @jaspervdj) is out of bounds for:

[ ] marvin-0.1.4 (==0.9.*). Justus Adam<EMAIL_ADDRESS>@JustusAdam. @JustusAdam. Used by: library

Discussion moved to JustusAdam/marvin#6

Bounds should be in order again as of version 0.1.5. Perhaps constrain the package to be >= 0.1.5 so we don't get the same errors again.

Thanks!


fix(infra): Deploy to GCP without timeout. workaround.

Sorry. My mistake to PR to origin. I close this.


Error trying to updateOne in mongo - $set syntax

Repro steps:
I have data that looks like this
{
  "_id": "5a987da06c23a84554ae0519",
  "name": "Esteban Lothbrok",
  "id": 1,
  "__v": 0,
  "description": "aka Ragnar Sigurdsson"
}

and I try to run this command:
   db.heroes.updateOne(
      { "name" : "Esteban Lothbrok" },
      { $set: { "description" : "aka Ragnar Sigurdsson 2" } }
   );

Action: cosmosDB.executeMongoCommand
Error type: Error
Error Message: Error near line 5, column 5, text '$set'. Please check syntax.
Version: 0.6.0
OS: darwin

cc @fiveisprime

See #466 .

Im not following what the answer is.

For now double quotes are required like in JSON, although we would like to improve that:
db.heroes.updateOne(
{ "name" : "Esteban Lothbrok" },
{ "$set**"**: { "description" : "aka Ragnar Sigurdsson 2" } }
);

ah. quotes around $set. thanks
feel free to close

Will close for now, thanks.  Still looking at removing this restriction in #466

How can I enclose array values in double quotes.
@StephenWeatherford

@LordDraagonLive Thanks for raising this issue.  This appears to be the same problem addressed in https://github.com/Microsoft/vscode-cosmosdb/issues/489.  Until that's fixed, you can work around it by putting the squiggly brace on the same line as the ending square bracket:
db.createUser({
"user": "buddhi",
"pwd": "123",
"roles": ["readWrite", "dbAdmin"]}
)
Happy coding!


Can't close popup programmatically

Describe the bug
User can't close popup programmatically
To Reproduce

Click on any picker (a popup will show)
Assuming there is a cancel button, what code should that button run?

onBlur is called when the user clicks outside, but my goal is to close it programmatically. Thanks in advance!

onBlur is called when the user clicks outside, but my goal is to close it programmatically. Thanks in advance!

First way: use refs (remember that refs are not available before picker is rendered first!)
datepickerRef = React.createRef();

onCloseButton = () => {
  this.datepickerRef.current.setOpen(false);
}

render() {
    return <DatePicker ref={this.datepickerRef} />;
}

Second way: use open prop (this fails sometime in true state):
render() {
    return <DatePicker open={this.state.shouldShowDatepicker} />;
}

Thanks @kzotoff it is working as expected! I used the ref way since IMO it's a better approach to my problem.

@kzotoff:
Hi,
The open/close programmatically worked for me. But after closing by setOpen, the selected value was reset too.
How to prevent this unexpected reset action?

@ningo-agilityio:
Have no idea ) If you need to remember that value I think that's a good idea to store it by yourself and restore when opening datepicker, and don't rely on component which is technically a blackbox.

@kzotoff: Ok, let me check around. Thanks for your answer ^^


chatty: use makeShellWrapper

Description of changes
fallout of https://github.com/NixOS/nixpkgs/pull/172320

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

ZHF: #172160
:warning: This conflicts with https://github.com/NixOS/nixpkgs/pull/172366.

Is this necessary? chatty is already fixed by https://github.com/NixOS/nixpkgs/pull/171836

Is this necessary? chatty is already fixed by #171836

It's not. I didn;t know about that PR yet and the maintainers weren't pinged.


add missing required module in setup.py

requirements.txt contains the requests module as a dependency.  but it is missing in the setup.py.
If you run octodns for NS1 provider without requests it fails when it needs to create a new zone in NS1.

Hi @ross.
The hard requirement is not really on requests. The issue is that ns1-python can work with both requests and basic transport. But the error response is different for each. octodns-ns1 has as string comparison in one of these responses. If we do not use requests the check fails.
https://github.com/octodns/octodns-ns1/blob/main/octodns_ns1/__init__.py#:~:text=ResourceException as e%3A-,if e.message !%3D self.ZONE_NOT_FOUND_MESSAGE%3A,raise,-records %3D []


Test suite for the admin API

The admin API, specced here and implemented on https://github.com/liquidinvestigations/liquidinvestigations/issues/114, needs good test coverage. The first step is to set up a testing harness and run it on Jenkins.

So here's a minimal testing harness: https://github.com/liquidinvestigations/core/commit/ce8db2f81f9707a42aaed42a222095e1674e6860. @gabriel-v I pushed it straight to your branch.


How to make server-side and client side rendering work together seamlessly?

I know this isn't the best place for Q & A and I have my question on StackOverflow: http://stackoverflow.com/questions/36855744/react-server-side-and-client-side-rendering-not-seamless
I don't think the question has received enough attention so far so I've added 50 reputation bounty.
I'm sure I'm not the only person trying to achieve this.
Please point me to the correct direction.
Thanks,

You need to provide more context on the question. If you have a publicly-accessible repo that someone can see what you're building, that might help. But there isn't enough code to look at there to see what's going on.


No exceptions during metric creation

Our metrics collection use case involves creating metrics dynamically
and in different scopes. We noticed that one of the prime contributors
to thrown exceptions was the HdrMetricBuilder. By trying to register
the metric again the error case is only catched with an exception which
does hit our performance to some degree.
In order to remove this exception based error handling this change first
checks whether the metric registry already contains the metric
explicitly. If it does, the metric is only returned at this point. If
not, it is being safely created.
/cc @otrosien, who identified this actually

Metrics-scala 3.5.7 has your fix and is on its way to Maven central.

Thanks a lot and glad you liked it!

👍

We overlooked a race condition in this change. The bug has been fixed in the 3.5.8 release which is currently under way to Maven central.

Oha! Sorry about that :)

FYI: 3.5.9 was just released after another contribution to make creating Hdr metrics even faster.


fastlane spaceauth

I am trying to update FASTLANE_SESSION, I set up my username/password in bash_profile
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export FASTLANE_ITC_TEAM_ID=********
export FASTLANE_PASSWORD=myappleid
export FASTLANE_SESSION=myapplepassword
export FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD=*************

Then I ran
fastlane spaceauth -u<EMAIL_ADDRESS>
and got the following error,
[11:20:50]: fastlane detected a Gemfile in the current directory
[11:20:50]: However, it seems like you didn't use `bundle exec`
[11:20:50]: To launch fastlane faster, please use
[11:20:50]:
[11:20:50]: $ bundle exec fastlane spaceauth -u<EMAIL_ADDRESS>[11:20:50]:
[11:20:50]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
Logging into to App Store Connect (****************@icloud.com)...
No such file or directory @ rb_sysopen - /tmp/spaceship1576776051_24148_20448440.log
Could not login to App Store Connect
Please check your credentials and try again.
This could be an issue with App Store Connect,
Please try unsetting the FASTLANE_SESSION environment variable
(if it is set) and re-run `fastlane spaceauth`

Exception type: Spaceship::AppleTimeoutError

[!] The request could not be completed because:
        Could not receive latest API key from App Store Connect, this might be a server issue.

any idea how can this be fixed? should I put DELIVER_USERNAME/ASSWORD inside quotes?
when I try ```fastlane init`` I get the below error
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.138.0/fastlane/lib/fastlane/setup/setup.rb:56:in `[]': [!] Invalid argument -<EMAIL_ADDRESS>(Errno::EINVAL)

and my fastlane env are:
| Key                         | Value                        |
| --------------------------- | ---------------------------- |
| OS                          | UNKNOWN                      |
| Ruby                        | 2.6.5                        |
| Bundler?                    | false                        |
| Git                         | git version 2.23.0.windows.1 |
| Installation Source         | C:/Ruby26-x64/bin/fastlane   |
| Host                        | Unknown  ()                  |
| Ruby Lib Dir                | C:/Ruby26-x64/lib            |
| OpenSSL Version             | OpenSSL 1.1.1d  10 Sep 2019  |
| Is contained                | false                        |
| Is homebrew                 | false                        |
| Is installed via Fabric.app | false                        |

### System Locale

| Variable | Value       |   |
| -------- | ----------- | - |
| LANG     | en_US.UTF-8 | ✅ |
| LC_ALL   | en_US.UTF-8 | ✅ |
| LANGUAGE |             |   |

### fastlane files:

**No Fastfile found**

**No Appfile found**

### fastlane gems

| Gem      | Version | Update-Status |
| -------- | ------- | ------------- |
| fastlane | 2.138.0 | ✅ Up-To-Date  |

### Loaded fastlane plugins:

**No plugins Loaded**

Loaded gems

| Gem                       | Version      |
| ------------------------- | ------------ |
| did_you_mean              | 1.3.0        |
| slack-notifier            | 2.3.2        |
| atomos                    | 0.1.3        |
| CFPropertyList            | 3.0.2        |
| claide                    | 1.0.3        |
| colored2                  | 3.1.2        |
| nanaimo                   | 0.2.6        |
| xcodeproj                 | 1.14.0       |
| rouge                     | 2.0.7        |
| xcpretty                  | 0.3.0        |
| terminal-notifier         | 2.0.0        |
| unicode-display_width     | 1.6.0        |
| terminal-table            | 1.8.0        |
| plist                     | 3.5.0        |
| public_suffix             | 2.0.5        |
| addressable               | 2.7.0        |
| multipart-post            | 2.0.0        |
| word_wrap                 | 1.0.0        |
| tty-screen                | 0.7.0        |
| tty-cursor                | 0.7.0        |
| tty-spinner               | 0.9.2        |
| babosa                    | 1.0.3        |
| colored                   | 1.2          |
| highline                  | 1.7.10       |
| commander-fastlane        | 4.4.6        |
| excon                     | 0.71.1       |
| faraday                   | 0.17.1       |
| unf_ext                   | <IP_ADDRESS>      |
| unf                       | 0.1.4        |
| domain_name               | 0.5.20190701 |
| http-cookie               | 1.0.3        |
| faraday-cookie_jar        | 0.0.6        |
| faraday_middleware        | 0.13.1       |
| fastimage                 | 2.1.7        |
| gh_inspector              | 1.1.3        |
| json                      | 2.1.0        |
| mini_magick               | 4.9.5        |
| multi_xml                 | 0.6.0        |
| rubyzip                   | 1.3.0        |
| security                  | 0.1.3        |
| xcpretty-travis-formatter | 1.0.0        |
| dotenv                    | 2.7.5        |
| bundler                   | 1.17.2       |
| naturally                 | 2.2.0        |
| simctl                    | 1.6.7        |
| jwt                       | 2.1.0        |
| uber                      | 0.1.0        |
| declarative               | 0.0.10       |
| declarative-option        | 0.1.0        |
| representable             | 3.0.4        |
| retriable                 | 3.1.2        |
| mime-types-data           | 3.2019.1009  |
| mime-types                | 3.3          |
| multi_json                | 1.14.1       |
| signet                    | 0.12.0       |
| memoist                   | 0.16.2       |
| os                        | 1.0.1        |
| googleauth                | 0.6.7        |
| httpclient                | 2.8.3        |
| google-api-client         | 0.23.9       |
| google-cloud-env          | 1.3.0        |
| google-cloud-core         | 1.4.1        |
| digest-crc                | 0.4.1        |
| google-cloud-storage      | 1.16.0       |
| emoji_regex               | 1.0.1        |
| forwardable               | 1.2.0        |
| logger                    | 1.3.0        |
| stringio                  | 0.0.2        |
| ipaddr                    | 1.2.2        |
| openssl                   | 2.1.2        |
| ostruct                   | 0.1.0        |
| strscan                   | 1.0.0        |
| fiddle                    | 1.0.0        |
| date                      | 2.0.0        |
| fileutils                 | 1.1.0        |
| etc                       | 1.0.1        |
| zlib                      | 1.0.0        |
| rexml                     | 3.1.9        |
| psych                     | 3.1.0        |
| mutex_m                   | 0.1.0        |

If you are running on Windows, create a folder C:\tmp so the log files can be written.
post the output again afer you did this please.


Pinned chromium weird behaviour

OS/Platform
Debian, Ubuntu, and derivatives
Installed
Other (please use 'Additional context' field below to mention how exactly)
Version
101.0.4951.64
Tested upstream?

[X] I have tried reproducing this issue in Chrome and it could not be reproduced there
[X] I have tried reproducing this issue in vanilla Chromium and it could not be reproduced there

Description
Something's wrong when pinning ungoogled-chromium to pannel/taskbar (debian/cinnamon)
How to Reproduce?

Launch ungoogled-chromium
Pin it to your pannel/taskbar
Clic on that new icon

Actual behaviour
When pinned, it duplicates the icon instead of "using" the opened one.
And when this new icon is clicked it always opens a new window

Expected behaviour
Pinning it should only use the already visible icon, not create a new one.
Relevant log output
No response
Additional context

Using build from https://github.com/berkley4/ungoogled-chromium-debian
Debian Bullseye
Cinnamon as a desktop/window manager

I checked the command options but didn't find anything related (--new-window isn't used, and needs an URL anyway).
I don't really know how this debian (cinnamon ? not sure how specific this functionality is) works, but maybe there's something about the process not being recognized as "part of the link", ie  /usr/lib/chromium/chrome vs /usr/bin/chromium?

@berkley4 Have you had similar issues?

I would imagine this is a system-specific bug, perhaps in cinnamon. Try launching from the command line with /usr/bin/chromium and see if anything interesting shows in the log messages.
It might also be worth looking in /etc/chromium.d to see if anything in there in causing an extra window to be opened; I'm thinking a previous chromium package might have left an old entry behind.
I've just uploaded 102.0.5005.61, so maybe see if that helps.

@berkley4 I've just tried your latest build, but same behavior.
And unfortunately I don't see any relevant output log, I only have:
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed

ohhh this issue has been there for quite a while, you need to add/edit StartupWMClass=chromium-browser to the chromium .desktop file

@jstkdng it worked, thanks!!
I wonder why I didn't have the issue with apt package


Remove (or buy license) sublime merge

Will likely just donate to lazygit instead, since it seems to be more what I want.  Still thinking on it.

Bought the license. Annoying it doesn't support git-crypt fully, but it's pretty nice otherwise. I find myself using lazygit and this depending on what I want to do.


Update to 1.7.0.

sha256 from: curl https://pypi.org/pypi/dbt-snowflake/1.7.0/json

Oh, what a tool. I didn't check if there was already a PR.


Multiple improvements to PPO

Improvements:

Breaking down rollout / forward / backward into separate JIT functions, which saves TPU memory.
Fixed the logging of time so that it is now accurate, and log the time spent on each part (rollout, forward, backward, total).
Support using bigger batch_size than forward/backward_mini_batch_size. (Fixed some sharding issue)
Gradient accumulation now works properly.
Support multi-rollout by specifying rollouts_per_prompt.
Support freezing policy at beginning of training by specifying policy_freeze_epochs. (For some reason, converging the value loss is needed when using bigger batch_size, otherwise the policy will degenerate)
Removed the trainstate wrapper for ref_policy and RM, which presumably removes the optimizer states allocated for them. This saved ~33% TPU memory.

I renamed some older TPU kickoff scripts with prefix old_*.sh. These are not updated with the latest hparams so don't use them unless you update them.
Example run: https://wandb.ai/liujch1998/n-Tulu-PPO-Jax/runs/train_v3_v2.5.1_ppo3_cleaned-uf-data--ead95f8f135b4f00886582003ae552db
Time logging:

Verified that this yields roughly the same outcome with our previous setup (batch_size=64): https://wandb.ai/liujch1998/n-Tulu-PPO-Jax/runs/train_v3.0.4_v3_replicating-v2_b64--c34b91ba4da44b97b7957054e17255b2
Baseline for comparison: https://wandb.ai/rlhf-llm-dev/easylm_ppo/runs/tulu_2_base_rm_ultrafeedback_60k--43857cd946dc4d4fadd17d17b7a49d60

Thanks so much!


[FR-154] Optimistic messages

Just add optimistic: true to the message data to make it optimistic.

Closed #28


RT-1.5: Updating neighbor configuration for missing routing-policy and specific afi-safi config

This PR introduces 2 changes:

route policy is always added and configured on a per-neighbor basis if RoutePolicyUnderNeighborAfiSafi deviation is not enabled,

explicitly enables/disables both address families for each BGP neighbor (ipv4 en. / ipv6 dis. for v4 peers, v4 dis., v6 en. for v6 peers). This change is needed to align with the inheritance model discussed in Remove the default of "enabled" of BGP AFI-SAFI to support BGP inheritance model public#774 -> in the current code both IPv4 and IPv6 are enabled on a protocol level, so in a per-neighbor config we want to disable inheritance of the other protocol family.

Reference- https://github.com/openconfig/featureprofiles/pull/1059
"This code is a Contribution to the OpenConfig Feature Profiles project ("Work") made under the Google Software Grant and Corporate Contributor License Agreement ("CLA") and governed by the Apache License 2.0. No other rights or licenses in or to any of Nokia's intellectual property are granted for any other purpose. This code is provided on an "as is" basis without any warranties of any kind."

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 57.219%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1181

Relevant Lines:
2064

💛  - Coveralls

@xw-g any progress on the pre-submit tests?

b/272085856 is the internal presubmit effort.

/gcbrun

/gcbrun


frontend: Allow mocking ComputeClient to test failure handling.

Please describe the steps for solving this issue in detail before marking it as "good first issue".


Password placeholder is hidden by stars when the editor is unfocusedon Android

See https://www.fusetools.com/community/forums/bug_reports/inverted_placeholder_in_textinput_android
Expected behavior: placeholder is visible even though the actual text is hidden due to it being a password input
What is happening: The placeholder text is hidden
This only seems to be an issue on Android. Tested on Android 8

The forum thread Inverted Placeholder in TextInput (Android) posted by Cristian Karmy was linked to this issue.

This was already fixed in #628


Update Bungee Exchange Chain Support

Noticed since our last submission that we did not update the latest supported networks yet. Thanks
Entry type

Update

App info
URL: https://bungee.exchange/
Supported networks
New additions:
- Base
- Blast
- Linea
- Mantle
- Scroll

Hello,
The app has been successfully added to the requested networks.
Best,

can confirm! Thanks


Bug: candidate can change their course to one already on their application

Context
If a candidate adds two courses from the same provider and clicks the link of the review page to update their course, then currently, they are able to update the course to one that is already on another application choice.
Changes proposed in this pull request

Remove logic that  stops the check that a course is not on another application when editing from the review page

Guidance to review
Does anyone know why this logic was there? I can't see an obvious reason. Have i missed something?
Things to check

[x] This code does not rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] API release notes have been updated if necessary
[x] This code does not rely on the addition/removal of Azure config environment variables in the same Pull Request
[x] New environment variables have been added to the Azure config

Does anyone know why this logic was there?

As part of https://github.com/DFE-Digital/apply-for-teacher-training/pull/4354, I think the idea was that if you edit the course on one of your choices:

You don't see the info message if you select the same course
Instead you continue through the flow to select site/study mode

One way to preserve that behaviour and fix the bug is to write a more detailed check in the controller, something like:
        if params[:course_choice_id].present?
          redirect_to_review_page_if_course_present_in_another_choice(params[:course_choice_id], course_id)
        else
          redirect_to_review_page_if_course_already_added(current_application, course_id)
        end
        return if performed?

I like the simpler implementation in this PR, however, and think the UX is acceptable. Approving, but happy to review again if you decide the above is worthwhile.

 Thanks for the review and info!


Door lock WrongCodeEntryLimit should have the counter reset on correct PIN entry

See https://github.com/CHIP-Specifications/connectedhomeip-spec/pull/5735

@mykrupp

@jrhees-cae


when I execute command "pip install -e ."  have a error as below(I don't have Internet access)

Obtaining file:///home/sujf/Documents/digital/mflowgen-master
Complete output from command python setup.py egg_info:
/usr/local/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
WARNING: '.' not a valid package name; please use only .-separated package names in setup.py
running egg_info
writing mflowgen.egg-info/PKG-INFO
writing dependency_links to mflowgen.egg-info/dependency_links.txt
writing entry points to mflowgen.egg-info/entry_points.txt
writing requirements to mflowgen.egg-info/requires.txt
writing top-level names to mflowgen.egg-info/top_level.txt
package init file 'init.py' not found (or not a regular file)
Traceback (most recent call last):
File "", line 1, in
File "/home/sujf/Documents/digital/mflowgen-master/setup.py", line 114, in
'mflowgen-python = mflowgen.mflowgen_python:_mflowgen_python_main',
File "/home/sujf/Documents/digital/mflowgen-master/venv/lib/python3.6/site-packages/setuptools/init.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/local/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/local/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/local/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/sujf/Documents/digital/mflowgen-master/venv/lib/python3.6/site-packages/setuptools/command/egg_info.py", line 278, in run
self.find_sources()
File "/home/sujf/Documents/digital/mflowgen-master/venv/lib/python3.6/site-packages/setuptools/command/egg_info.py", line 293, in find_sources
mm.run()
File "/home/sujf/Documents/digital/mflowgen-master/venv/lib/python3.6/site-packages/setuptools/command/egg_info.py", line 524, in run
self.add_defaults()
File "/home/sujf/Documents/digital/mflowgen-master/venv/lib/python3.6/site-packages/setuptools/command/egg_info.py", line 563, in add_defaults
rcfiles = list(walk_revctrl())
File "/home/sujf/Documents/digital/mflowgen-master/venv/lib/python3.6/site-packages/setuptools/command/sdist.py", line 20, in walk_revctrl
for item in ep.load()(dirname):
File "/home/sujf/Documents/digital/mflowgen-master/venv/lib/python3.6/site-packages/pkg_resources/init.py", line 2324, in load
return self.resolve()
File "/home/sujf/Documents/digital/mflowgen-master/venv/lib/python3.6/site-packages/pkg_resources/init.py", line 2330, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/home/sujf/Documents/digital/mflowgen-master/.eggs/setuptools_scm-7.1.0-py3.6.egg/setuptools_scm/init.py", line 5
from future import annotations
^
SyntaxError: future feature annotations is not defined
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /home/sujf/Documents/digital/mflowgen-master/

Please use Python 3.7 or above to fix this issue.

Hopefully this has resolved your errors.. Closing this issue.


Run ble2mqtt executable rootless inside the container

Added rootless user in order to make zigbee2mqtt container compatible with podman setups.
This makes it possible to pass dbus UID authentication by using the podman user uid/gid.
For now, the rootless user id / group id are hardcoded in the Dockerfile. A future improvement should be done here: dynamically adjusting the permissions using an env variable.
Also, running ble2mqtt as rootless user, improves security for docker users.
Please read this discussion about using bluetooth via dbus in a rootless container: 16772

Also, I have tested this on

rootful docker setup using docker compose
rootless setup using podman

Thanks!


Global admin rights

Is there anyway to do this without needing Global Admin rights? I would like to delegate to collection owners.

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

ID: 369ac4a3-96b9-7d17-eaf1-5b7bb2f12928
Version Independent ID: cd322085-07d6-64f4-4aaa-d9200e3191aa
Content: Add-SPOUser (sharepoint-online)
Content Source: sharepoint/sharepoint-ps/sharepoint-online/Add-SPOUser.md
Service: sharepoint-powershell
GitHub Login: @techwriter40
Microsoft Alias: kirks

@ItsBradMorgan thank you for your feedback.  To my knowledge, there is no way to run a SPO cmdlet unless you have global admin rights. no way around this unfortunately.


Precision based on number of digits

Hello, currently the precision parameter means the number of digitis after the decimal point but sometimes one want the number of digits to be the precision.
For example, the number 12.345 (1.2345e1) with three digits precision means 12.3 (1.23e1) but the number 1.2345 with three digits precision means 1.23 (1.23e0), one could call it a relative precision. It simple terms, one turns the number in scientific notation then take n digits.
In order to not break with older versions, I suggest to accept a new parameter like digits=3 (mutally exclusive with precision, ie. raises an error if both parameters are given) or def a new function where precision has a diferent meaning.

You may want to consider specifying the number format through the Python format string rather than through a separate precision parameter. That would provide more flexibility and may address this issue. For example see:
https://github.com/hnei/si-prefix/commit/881b84bcd9ac8d240c9405746a2dba3fe182dfba


Fix failed clone for pre-commit in Travis

Pre-commit is failing in Travis because we put git:// in the config instead of https://. This should fix the builds.

Build failing, but the fix is in #5. This PR just fixes CI so we actually see the proper failure now 😅


Gears\String class not found.

The master branch of phpgearbox/string is being refactored (as I'm sure you know) and Gears\String has moved to Gears\String\Str. Can you either be more specific in this library's composer.json or change any instances of use Gears\String as Str; to use Gears\String\Str.
Thanks!

I have not yet tagged a new release of Gears\String yet so in theory composer should be downloading the last tagged release which should work fine. Unless of course your minimum-stability setting is set to dev i guess.

The composer requirements have been updated in the master branch: f3b8b7c179ba09d9c6171673ac2d10f006a64fa8

Ah, that would be it.
And thanks for the quick answer and resolution!

I had to add
"gears/string": "0.6.0",
to composer.json to get gears/pdf to work again after hitting this issue.

I am still having this issue, I don't know how to fix it. I am using "gears/pdf": "*" in my composer but I always get the Not Found error, what can I do?
thank you

Ledzgio, adding in the
 "gears/string": "^0.6.0", gears/pdf": "*"
resolved the issue on my end.


Update tutorial-bikeshare-dataprep.md

@yuharucan : Thanks for your contribution to the Azure documentation! The author, @ranvijaykumar, has been notified to review your proposed change.

@yuharucan Did this syntax change in a recent update to ML Studio? 'az ml computetarget attach' help in my older version showed it was still correct. Updating to the latest version to check as well.

This is a new syntax in the version starting in the January 2018 Update 3 I think. It looks correct.

#sign-off

@JasonWHowell: I'm sorry - only the author of this article, @ranvijaykumar, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


feat(tagname): add new functions for handling custom named components

Alaska Airlines Pull Request
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes: #51
Summary:
Adds to new function calls for handling custom named form elements.
Type of change:
Please delete options that are not relevant.

[x] New capability
[ ] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

:tada: This PR is included in version 2.6.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


feat: make page_cache_size a nomt option

closes THR-57

#645  👈 (View in Graphite)
master

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

Merge activity

Dec 20, 12:12 PM EST: A user started a stack merge that includes this pull request via Graphite.


Documentation for operator = and LIKE precedence is incorrect?

https://dev.mysql.com/doc/refman/5.7/en/operator-precedence.html
SELECT
	'a' = 'a' LIKE '0',
    'a' LIKE '0',
    'a' = 0,
    'a' = ('a' LIKE '0'),
    ('a' = 'a') LIKE '0';

'a' = 'a' LIKE '0'
'a' LIKE '0'
'a' = 0
'a' = ('a' LIKE '0')
('a' = 'a') LIKE '0'

1
0
1
1
0

View on DB Fiddle

According to the documentation, we should see 'a' = 'a' LIKE '0' be evaluated as,
('a' = 'a') LIKE '0'
But it is evaluated,
'a' = ('a' LIKE '0')

https://github.com/mysql/mysql-server/blob/5c8c085ba96d30d697d0baa54d67b102c232116b/sql/sql_yacc.yy#L9376
predicate:
    ...
    | bit_expr LIKE simple_expr opt_escape

https://github.com/mysql/mysql-server/blob/5c8c085ba96d30d697d0baa54d67b102c232116b/sql/sql_yacc.yy#L9308
bool_pri:
    ...
    | bool_pri comp_op predicate %prec EQ

The problem is that when we have 'a' = 'a' LIKE '0', for it to parse as ('a' = 'a') LIKE '0',
there needs to be a rule (directly or indirectly),
predicate:
    ...
    | bool_pri LIKE simple_expr opt_escape

because 'a' = 'a' is a bool_pri.
There is no such rule.

https://forums.mysql.com/read.php?115,697095


Convert Between JSON and YAML action

A new action "Convert Between JSON and YAML".
I put it under the "Filter/Remove/Trim/Minify" group and added "Convert" to it.
I've used org.json for reading the JSON (simplest) and Gson for writing it (better formatting). Gson and SnakeYAML (used for YAML read/write) are bundled with IntelliJ.
This was my first work with IntelliJ plugin so let me know if there is anything that should be done differently.
Closes #123

Looks good.
Only it does not work in this case:
# Employee records
- martin:
    name: Martin D'vloper
    job: Developer
    skills:
      - python
      - perl
      - pascal
- tabitha:
    name: Tabitha Bitumen
    job: Developer
    skills:
      - lisp
      - fortran
      - erlang

java.lang.ClassCastException: class java.util.ArrayList cannot be cast to class java.util.Map (java.util.ArrayList and java.util.Map are in module java.base of loader 'bootstrap')
	at osmedile.intellij.stringmanip.transform.ConvertJsonYamlAction.yamlToJson(ConvertJsonYamlAction.java:61)
	at osmedile.intellij.stringmanip.transform.ConvertJsonYamlAction.transformSelection(ConvertJsonYamlAction.java:44)
	at osmedile.intellij.stringmanip.AbstractStringManipAction.executeMyWriteActionPerCaret(AbstractStringManipAction.java:91)
	at osmedile.intellij.stringmanip.AbstractStringManipAction$2.perform(AbstractStringManipAction.java:72)
``

I forgot about arrays 😞
Good you caught it! Should work now.

Nice. Thanks!


add X-Assets in headers and fix breaking changes

closes #51

Codecov Report

Merging #67 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #67   +/-   ##
=======================================
  Coverage   95.60%   95.61%
=======================================
  Files          21       21
  Lines         888      890    +2
=======================================
+ Hits          849      851    +2
  Misses         39       39

Impacted Files
Coverage Δ

titiler/endpoints/cog.py
94.88% <100.00%> (ø)

titiler/endpoints/mosaic.py
95.55% <100.00%> (+0.06%)
:arrow_up:

Continue to review full report at Codecov.

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


Edit Example Library DatabaseLibrary

update content Example Library DatabaseLibrary (MySQL) before not show after show

I don't think the README of this project needs more examples than the one that already exists there. More examples could possibly added to robotframework.org or perhaps a separate project with various examples could be created. DatabaseLibrary related examples could perhaps also be added to that project itself.


allowedRoutes not working with a tag

My customStaticWebAppConfig is as follos
customStaticWebAppConfig: { 				"routes": [ 					{ 						"route": "/app*", 						"allowedRoles": ["authenticated"] 					} 				], 				"responseOverrides": { 					"401": { 						"statusCode": 302, 						"redirect": "/.auth/login/aad" 					} 				} 			}
In development, this works fine. Having deployed to Azure, directly visiting /app will cause the redirect to login. But when clicking a link to /app inside an a tag within the site, it will ignore the allowedRoles.

Apologies. It appears that SvelteKit was preloading the contents of the a tag. By disabling preloading for that tag, it appears that things work much better.


Log a Warning When Detecting Cyclig RequiredComponent Dependencies

Summary
User-defined RequiredComponent dependencies can be cyclic. While currently detected and sorted out, this happens silently. Instead, there should be a warning in the log, as cyclic dependencies should be avoided and thus shouldn't go unnoticed.
Analysis

Probably can be done with some additional flags in ComponentRequirementMap.TypeData. Investigate.
Back this up with unit tests.

Done


Feature/hasura allow list global fragments

This is a replacement PR for #7701 where I messed up the git history
Description
Added support for globally defined fragments for the hasura-allow-list plugin.
Previously it was required that fragments be defined in the same document as the operations that use them.
Now, with the global_fragments config set, fragments will be pulled from all documents in the project.
Because this configuration is off by default, this feature does not break previous behavior and is thus not a breaking change.
Related #7700
Type of change

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

How Has This Been Tested?
Added tests to test suite for the plugin, testing success case and two error cases.
Also built the plugin and tested on a local project to see the desired output.
Test Environment:

OS: Windows
@graphql-codegen/cli: 2.6.0
NodeJS: 14.17.6

Checklist:

[x] I have followed the CONTRIBUTING doc and the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Accepted the config change, then realized I'd also need to update the rest of the code to reflect that change. Will commit that in a moment

Will go ahead and change all config properties to camel case. This is a breaking change.
Will add error handling code to detect older config versions and throw a descriptive error to help users make the change.

Checked the website documentation and I don't believe changes are required there, assuming the config reference is pulled from the type definitions which seems to be the case :)

Unsure where to add a changeset. Changeset text:
added support for global fragments
changed config options to camelCase for consistency


Wrong background url path

update css-loader to v6 and use asset modules, see this

https://webpack.js.org/guides/asset-modules/


Question:
Create a synthetic dataset of measurements of cells from microscopy images (intensity, aspect ratio, perimeter, elongation) as pandas dataframe. Then, determine a UMAP from these parameters, write the UMAP parameters back to the dataframe and visualize the UMAP using seaborn. Save the plot as png before showing it.
Python Tools

List of Python libraries we should use for answering this:

numpy
scipy
pandas
seaborn
umap-learn
scikit-learn

Note: Your images and the text you enter here may be sent to OpenAI's online service where we use a large language model to answer your request.
Do not upload any data you cannot share openly. Also do not enter any private or secret information. By submitting this Github issue, you confirm that you understand these conditions.
git-bob try to do this

git-bob try again. This time, write a jupyter notebook

Also plot aspect_ratio against elongation please (-:
git-bob try to do this

Which color do the dots in the plot above have? git-bob comment


Incorrect cost in energy dashboard when using energy import current cost and consumption

Describe the bug
I've added the new sensors for current consumption and cost in version 8.0.0 to the energy dashboard so that I can track the standing charge in the cost of energy import. Unfortunately it seems like the cost value seems very wrong.

This is the config:

And the current values:

Reproduction steps
See above screenshots
Expected behaviour
The cost should match the one from the entity. Am i doing something wrong?
Tariff Code
No response
Integration Version
8.0.0
Home Assistant Version
Home Assistant 2023.8.1
Fresh Install?
Not specified
Home Assistant Logs
N/A

Hi there. I've noticed this too today and trying to track down the issue. My energy dashboard history suggests it might be a HA issue (it started for me when I updated HA to 2023.08, but this might be a coincidence). Did you have the integration installed on previous versions of the dashboard?

I've had the integration for a while yes. But I wasn't using the currect accumulative cost and consumption on the dashboard as that's a new feature.

I was also getting crazy totals for current accumulative consumption + current accumulative cost so I tried switching to current price. The totals are still not correct, but maybe these sensors shouldn't be used together and that's intended behaviour?
screnshots

This should be resolved in the latest release (https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy/releases/tag/v8.1.0). You might not see the fix for up to 24 hours.


llama3.2-vision:90b segfaults on images

What is the issue?
Running on 3.2-vision:11b works with text and images
Running on 3.2-vision:90b works with text, segfault on images
Running llava: works with text and images
Debug log from segfault with text and image:
mllama_model_load: description:  vision encoder for Mllama
mllama_model_load: GGUF version: 3
mllama_model_load: alignment:    32
mllama_model_load: n_tensors:    512
mllama_model_load: n_kv:         17
mllama_model_load: ftype:        f16
mllama_model_load:
mllama_model_load: vision using CUDA backend
time=2024-11-07T04:46:42.696Z level=DEBUG source=server.go:615 msg="model load completed, waiting for server to become available" status="llm server loading model"
mllama_model_load: compute allocated memory: 2853.34 MB
time=2024-11-07T04:46:43.199Z level=INFO source=server.go:606 msg="llama runner started in 23.62 seconds"
time=2024-11-07T04:46:43.199Z level=DEBUG source=sched.go:462 msg="finished setting up runner" model=/home/user/.ollama/models/blobs/sha256-da63a910e34997d50c9f21cc7f16996d1e76e1c128b13319edd68348f760ecc7
time=2024-11-07T04:46:43.452Z level=DEBUG source=routes.go:1457 msg="chat request" images=1 prompt="<|start_header_id|>user<|end_header_id|>\n\n[img-0]<|image|>this is a random frame. describe in detail everything you can interpret. Ideally keep your response concise and information dense since this will be read in a chat room. ANYTHING OVER 200 CHARACTERS WILL BE CUT OFF.<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n"
time=2024-11-07T04:46:46.139Z level=DEBUG source=image.go:175 msg="storing image embeddings in cache" entry=0 used=0001-01-01T00:00:00.000Z
time=2024-11-07T04:46:46.139Z level=DEBUG source=cache.go:99 msg="loading cache slot" id=0 cache=0 prompt=61 used=0 remaining=61
CUDA error: unspecified launch failure
current device: 3, in function ggml_backend_cuda_synchronize at ggml-cuda.cu:2508
cudaStreamSynchronize(cuda_ctx->stream())
ggml-cuda.cu:132: CUDA error
SIGSEGV: segmentation violation
PC=0x72e7ad3ecc57 m=7 sigcode=1 addr=0x213203fcc
signal arrived during cgo execution
goroutine 7 gp=0xc00029c000 m=7 mp=0xc000302008 [syscall]:
runtime.cgocall(0x60e54306eeb0, 0xc000185b60)
runtime/cgocall.go:157 +0x4b fp=0xc000185b38 sp=0xc000185b00 pc=0x60e542df13cb
github.com/ollama/ollama/llama._Cfunc_llama_decode(0x72e7180064a0, {0x37, 0x72e7183ae990, 0x0, 0x0, 0x72e7183af1a0, 0x72e7183af9b0, 0x72e7183b01c0, 0x72d1281ef3e0, 0x0, ...})
_cgo_gotypes.go:543 +0x52 fp=0xc000185b60 sp=0xc000185b38 pc=0x60e542eee952
github.com/ollama/ollama/llama.(*Context).Decode.func1(0x60e54306aceb?, 0x72e7180064a0?)
github.com/ollama/ollama/llama/llama.go:167 +0xd8 fp=0xc000185c80 sp=0xc000185b60 pc=0x60e542ef0e78
github.com/ollama/ollama/llama.(*Context).Decode(0xc0001ec140?, 0x1?)
github.com/ollama/ollama/llama/llama.go:167 +0x17 fp=0xc000185cc8 sp=0xc000185c80 pc=0x60e542ef0cd7
main.(*Server).processBatch(0xc0001d0120, 0xc000234000, 0xc000234070)
github.com/ollama/ollama/llama/runner/runner.go:424 +0x29e fp=0xc000185ed0 sp=0xc000185cc8 pc=0x60e543069d1e
main.(*Server).run(0xc0001d0120, {0x60e5433a8a40, 0xc0001a60a0})
github.com/ollama/ollama/llama/runner/runner.go:338 +0x1a5 fp=0xc000185fb8 sp=0xc000185ed0 pc=0x60e543069705
main.main.gowrap2()
github.com/ollama/ollama/llama/runner/runner.go:907 +0x28 fp=0xc000185fe0 sp=0xc000185fb8 pc=0x60e54306dee8
runtime.goexit({})
runtime/asm_amd64.s:1695 +0x1 fp=0xc000185fe8 sp=0xc000185fe0 pc=0x60e542e59de1
created by main.main in goroutine 1
github.com/ollama/ollama/llama/runner/runner.go:907 +0xcab
goroutine 1 gp=0xc0000061c0 m=nil [IO wait]:
runtime.gopark(0xc000034008?, 0x0?, 0xc0?, 0x61?, 0xc00002d8c0?)
runtime/proc.go:402 +0xce fp=0xc0001f5888 sp=0xc0001f5868 pc=0x60e542e2800e
runtime.netpollblock(0xc00002d920?, 0x42df0b26?, 0xe5?)
OS
No response
GPU
Nvidia
CPU
No response
Ollama version
0.4

Can you please post the full log?

Interesting, seemingly the same thing now happens with mistral-large with 32k context on text only. (since 0.4)

Thanks for the logs. If possible, can you try building main from source? This might be the same as #7546 which was recently fixed.

Should be fixed by #7560

Thanks @dhiltgen !  on current main It looks like mistral-large is ok now but I still get the sigsegv on 90b-vision with the image.

log2.txt

Not sure if I should re-open this or start a new one (?) @dhiltgen

@HuronExplodium it looks like you built from source.  Can you run ldd on the various binaries to confirm it was correctly linked?  If you picked up the link fix and things are correct there but you're still seeing the failure, we should continue investigating.

libggml_cuda_v12.so => not found

Or maybe it's this guy on ollama_llama_server

BTW this was from 3d25e7bf8c32391a719336e5d990be9dee263f02

It looks like the links are correct.  The defect was libggml_cuda_v12.so incorrectly linked to v11 if it was present on the system.
We've repro'd the failure - there's a bug relating to the cross-attention implementation on cuda with multiple GPUs.


Search is only working in Italian

If I search for orange it results "Item not Found". But if I search Arance, it works just fine.

I couldn't reproduce the problem.


skip is not skipping core-js modules

Describe the bug
want to exclude a few polyfills to reduce the bundlesize,  but seems skip is not working as expected
Input code
const params = new URLSearchParams()

Config
{
  "jsc": {
    "externalHelpers": true,
    "parser": {
      "syntax": "typescript",
      "tsx": true
    },
    "transform": {
      "legacyDecorator": true,
      "decoratorMetadata": true
    },
    "loose": false,
    "minify": {
      "mangle": false,
      "compress": false
    }
  },
  "env": {
    "mode": "usage",
    "coreJs": "3.33.3",
    "skip": [
      "core-js/modules/web.url-search-params.delete.js",
      "core-js/modules/web.url-search-params.delete",
    ],
    "exclude": [
      "core-js/modules/web.url-search-params.delete.js",
    ],
    "shippedProposals": true,
    "targets": "last 2 version, >2%, not dead, not ie 11, not ie_mob 11",
  },
  "module": {
    "type": "es6"
  },
  "isModule": true,
  "minify": false,
}

Playground link (or link to the minimal reproduction)
https://play.swc.rs/?version=1.3.80&code=H4sIAAAAAAAAA0vOzysuUShILErMLVawVchLLVcIDfIJTk0sSs4IAItqaAIA6%2F61bSQAAAA%3D&config=H4sIAAAAAAAAA62SPWvDMBCG9%2F4KIejmOCSBDh06dSiFQPdSysW%2BOEplSdzJaUzIf%2B%2F5Q3FSOhY8SO97fu5Lpzul9J4L%2FahOcpQLHiOSA%2FuCNiCxGJEazAYzADHSJVgUbl2Eoyg6tgG5IBOizpIb%2BTgCeuU8YiKB462n%2BppksYKifcbCE0RPN4nFLpOxxgglRPgLbL1nFGMLllPNtXFm215nqsFV9leYyIWvAyFzMgby3UjX6A7TlGpfdgDdMFQ49isAwtfud73KV%2FIlnb9MEPV9SkQ42%2FNcII1Fnn%2FjJm%2FIzhiBit1Mhgw15yVajJjvecR8ZGlBhW367P8E5J0JAcs38sGzNH678ghUYey7ssBRLdVBnoXxLlNPy%2FtMOR9ViVAOJ4NqsUjHz9pv5NqnG2Y4FDiNsXszHRn5QV%2BCDK9TWKpjWuK4svMP5qBWDbkCAAA%3D
SWC Info output
No response
Expected behavior
the listed modules are skipped
Actual behavior
listed modules are still there
Version
1.3.80 - 1.3.99
Additional context
No response

looks like exclude with just the module name works, wondering what are the difference between the skip and exclude ?