PKA Modkits + Rebalance

About the PR

Adds several modkits that can be used to buff the PKA. 2 out of the 3 can be installed at once but there can't be duplicates. They are researchable via the "Kinetic Modifications" tech and can also be rarely found in salvage.
The 3 modkits are:

Damage: Raises damage to 25 blunt and 30 structural
Range: Raises range from 4 tiles to about 6.5
Fire Rate: Raises fire rate from 0.5 to 0.8

To compensate, rebalances the Proto-kinetic Accelertor:

The range has been decreased to roughly 4 tiles
The damage has been decreased to 15 blunt and 15 structural.
Raises the size class to large and increases the inventory size to 2x3

Why / Balance

The baseline PKA has really powerful stats that outclass most of its contemporaries. Decent damage, infinite ammo, and high range make it a forgiving and easy choice for salvagers but also make it better than actual guns and higher-level melee weapons in a lot of scenarios. Bringing the stats down a little bit carves out a bit of a niche for the PKA where it's less of an outright gun and more of a mid-range kiting option, which is a lot more interesting of an archetype.
Of course, dangerous monsters make strong ranged options necessary to an extent, so to facilitate this and to encourage collaboration with science, the modkits can serve as ways to make the PKA more viable. This gives the weapon a bit of a progression which makes it a more unique item for salvage while also giving them more of a reason to work with science in order to unlock the tech.
Media

Requirements

[x] I have read and I am following the Pull Request Guidelines. I understand that not doing so may get my pr closed at maintainer’s discretion
[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

add: Added 3 modkits for the proto-kinetic accelerator, granting increased damage, range, and fire rate. They can be researched via the new "Kinetic Modifications" arsenal tech.
tweak: Reduced damage and range on the proto-kinetic accelerator.

By the time the RND studies this, the shift will have time to end

By the time the RND studies this, the shift will have time to end. As for me, it is better to move it by 1

Not really, no. This can be researched very fast, most arsenal techs aren’t that expensive, and you’d just need to take enough to unlock arsenal t2, and click it when it comes up

nobody gets arsenal techs outside of warops so it would still be one of the last techs unlocked in a round, salv can buy real guns instead of begging sci to get t2 of an entire discipline they didnt touch

nobody gets arsenal techs outside of warops so it would still be one of the last techs unlocked in a round, salv can buy real guns instead of begging sci to get t2 of an entire discipline they didnt touch

To unlock a new tier you need 75% of the previous tier researched. Science currently has 8 arsenal T1 techs, so you’d need 6. The cheapest way to do that only costs 38000 points, which is nothing. If it helps salvage get more ores for science, I know for a fact this will be researched at the request of salvage.

This is a ok nerf with solid changes, i personally dont know how i feel about the range nerf but its aleays something that can be adjusted and this solves every complaint i had about the PKA nerf. Plus this adds the ground floor to start doing some more interesting things with the PKA later.

I guess there's a bit of "see how it goes" and "skill issue", but I'm worried that the accompanying nerf may make it so there are no ores for anyone.
Can we get something to help less experienced salvs survive on asteroids closer to round start?

yes nobody gets arsenal tech, sci will never actually make the modkits unless they're easy to research (t1)
salv will just end up buying guns and never caring about PKAs, and i think both the baseline and rangekit ranges on the PKA are bad, reminder that ping is a thing and might cause enemies to be able to melee you while you see them as 4 tiles away

К тому времени, когда RND изучит это, сдвиг успеет закончиться. Как по мне, лучше сдвинуть его на 1

Не совсем, нет. Это можно исследовать очень быстро, большинство технологий арсенала не так уж и дороги, и вам просто нужно взять достаточно, чтобы разблокировать арсенал t2, и нажать на него, когда он появится

Even if the RND is speedrun, it will be studied in about 40-60 minutes. By that time, the scraps will have time to get hold of larger guns and they will simply not ask the RND for improvements. But knowing the players on the RND, there is a high risk that they will not learn a even in 2 hours of shifting

This needs to either be a t1 tech or be in the industrial tree along with the other salvage technology. I just don't see it bring researched frequently enough if its a t2 sec tech.

the range is likely still too small even with the range modkit, salv will just buy lasers, steal a recharger, and blast fish from a distance with them

thats fine

thats fine

then we're effectively removing the PKA from the game as it'd be not a viable option outside of very specific circumstances anymore, and even with the modkits it seems only barely viable
additionally, the modkits cost gold and silver and they're something you will want many of, so that would add quite a bit more to how rarely they are made

After playing some salvage myself yesterday, I am inclined towards saying the range nerf is a step too far at all. I believe the damage fine and the rate of fire upgrade will be really fun. But as it stands with no good way to actually get a better hardsuit now because wrecks were anonymized, and that means theres also no reliable way anymore to get a better weapon THAN the PKA anymore, because from a mechanical standpoint yes they can just get lasers and be fine, but from an RP level it will never be allowed unless theres more chamges made to space law to accomadate for this. The cost of the upgrades is also i believe a reasonable concern, because now its 1:1 on ore mining is now even more time consuming and less enjoyable, the cost increase on materials aswell means that ive seen material shortages on stations where all a salvage team is doing is mining, i dont think that needs to be reverted but oulling it back would probably be a decent idea. And i agree that while it isnt that hard to get tier 2 arsenal research, it feels a little strange to me it isnt being bundled with the rest of the cargo stuff in industrial. I think this is a positive step in the right direction over all but given the recent additions of new salvage enemies i think we need tonreadjust scope.


Cleanups, fixes and some new integrators

New Integrators

Runge-Kutta integrators for implicit ODEs (FIRKimplicit and SRKimplicit)
Variational Partitioned Runge-Kutta integrator with projection based on internal stages

Fixes

Computation of initial guess in all implicit integrators

Coverage decreased (-3.4%) to 86.76% when pulling 8bae0e111dc85a2a1e50ff8120cc99efcf21ace3 on michakraus:master into 5a47e3091a14a91c7a557f7062e75611372e7a74 on DDMGNI:master.


Log level too low for invalid ACL during user command

https://github.com/mage/mage/blob/5afedb65424441cb2aff74322dcface1050cc185/lib/commandCenter/commandCenter.js#L474
That's too hard to find while debugging your game. It needs to stick out as an error.

Error or warning?

A warning may be enough.


[Off Topic - Need Advice] Reset Firmware: Unable to Pair G2H to Homekit

Hello - I understand this is Off Topic but would really appreciate some help. Newbie Alert.
I got this camera about a month back. About 2 weeks back, this camera dropped off the network. I could not bring it back online so I removed it from homekit hoping I could pair it again.
But, try as I might with multiple resets, it just looping through "ready to connect. please open the aqara home app" and does not get paired on Homekit. Same goes with the Aqara app - it just wont add the camera (QR scan fails).
My presumption is that the firmware is corrupt. Is there a way to reset the firmware in some way or load the default firmware from SD Card? Totally out of ideas and open to any suggestion! Thanks.
PS: Wifi is 2Ghz only and has no underscores.

If you have used this mod the Aqara app wont work unless you reverse all the changes the script does. Make sure you're not using a hidden SSID, I hear switching to CN version in the app can help too.
I had issues with mine around the same time with Homekit, I'd get 'Not Responding' in homekit or after a reboot the camera would respond but only briefly. I could see in the logs there was an error relating to communication with the Apple MFI chip. I was able to resolve this issue by updating to the latest version, by replacing the /local/app.tar.xz (more specifically just the camera binary within this tar) with that from the v2.2.3 firmware.

Thank you for the suggestions. At this point, I am not sure if the script was executed on the camera.

by updating to the latest version, by replacing the /local/app.tar.xz (more specifically just the camera binary within this tar) with that from the v2.2.3 firmware.

How do I go about this? Via Telnet ?

by updating to the latest version, by replacing the /local/app.tar.xz (more specifically just the camera binary within this tar) with that from the v2.2.3 firmware

Also, where can I find this @mcchas ?

A sure-fire way in would be to use a serial cable, especially if it won't connect to wifi and the firmware has been patched to prevent it calling home. It just takes a 3.3v serial adapter like an FTDI and an old usb cable to butcher. The firmware can be taken from Aqara but I think someone has also published them on GitHub.

@mcchas thank you. I will definitely try to rig up the cable. I think the wiring is somewhere on this repo.
I will get the firmware from Aqara. What should I do once I have these? telnet and replace a file within /local/app.tar.xz ?
PS: is there a non-sure-fire easier way I can try before this?

The serial console method is going to give you immediate feedback.
Another way might be to modify the hostname script to correct the wifi config files (with trial and error).. or modify it to create a new wpasupplicant.conf and start an access point or attempt to directly connect to your wifi.
You could try inject other commands to copy /var/log/* to your SD card to try see what's going on.
These are your only ways in (sd card and serial) if wifi is broken.

To copy the files over once you have networking, you can use nc (netcat). Plenty of examples online for that, wget might be available but it's usually a version that won't support HTTPS

Lastly you don't have to update the firmware this way, you could restore the original config files the Aqara app should work again.

Lastly you don't have to update the firmware this way, you could restore the original config files the Aqara app should work again.

thank you so much for all the advice. This is exactly what I wanted to see if is possible - use hostname to push in the original config files or set the wifi information!
How can I modify the hostname script to push config files - and WHERE can I find these config files ?
I really appreciate these suggestions - thank you!

@mcchas I just tried hostname with
cp -f /var/log/* /mnt/sdcard/
Nothing came up after boot. I guess whatever loads hostname is broken :(

@ashwindz may be time to try the serial console. You can substitute an FTDI adapter with an raspberry pi or similar if you have that handy..

I agree - tried to dodge it unnecessarily  :)
I do have an FTDI adapter @mcchas - will try it hopefully this weekend.
Thank you very much for all the advice. Will connect again when I have it all hooked up!

@mcchas how do I wire up the FTDI to the USB wires ? I was not able to understand from the Readme and the wiring diagram I see on https://github.com/mcchas/g2h-camera-mods/issues/2 seems to be for USB2UART ?

Or instructions around using an rpi is also fine - I do have one somewhere

@ashwindz there is an example in this issue: https://github.com/mcchas/g2h-camera-mods/issues/2#issuecomment-811557644

@mcchas - I thought a UART connection was different from FTDI. Thanks - will try this!
On the FTDI I see connections to 3.3V, GND and TX / Rx - I need BOTH Tx and Rx to be connected to Green on the USB?

@ashwindz FTDI is a device used to talk UART over USB. Connect the wires as in the diagram - USB data wires (green and white??) are used for UART tx/rx and power wires (red and ...?) are used to power the camera. Best to confirm which colours are what with a google search before applying power!

@mcchas I am trying to connect as below:
USB Green from Camera - RX FTDI
USB White from Camera - TX FTDI
USB Black (GND) from Power - To Camera and GND of FTDI
USB Red from Power - To Camera
With this, I see some characters printing on screen when the camera powers up using
screen /dev/tty.usbserial-00000000 9600
but not getting a prompt of any sort. Am I doing this right? (Obviously not!)

@ashwindz that's a good sign that you see some characters on boot. Try changing the baud rate to 115200

Great! Now its in English :)
Gets stuck on this line here:
ERROR: in ms_i2c_xfer_write: Send Start error
Log is attached - pl let me know if you have any suggestions @mcchas
error.txt

A fuller log is here - right from the start - pl ignore previous @mcchas
2022-01-23 16-51-16 FT232R USB UART.txt

If you hit the enter key do you get a login prompt? You might be able to log in with root/password

If not, you can see its starting the camera program which means it will execute a hostname file from the sdcard. Make sure your sdcard is formatted as FAT32.

No - when I hit enter, it keeps spewing the ERROR: in ms_i2c_xfer_write: Send Start error line repeatedly. I can see a newline but no prompt or change happens.
I cant see it starting the camera program - but the logs do show a line below - not sure what this means
Camera-Hub-G2H login: 19700101 05:00:12.896 NOTICE   monitor 322: stop process /tmp/out/mosquitto...

It might just be spamming you with kernel logs. Try blindly enter 'root' then enter followed by 'password' and enter. Then you could run 'killall -9' with the name of the process that is printing those logs, however the watchdog may reboot the device or restart that service.

I tried entering root. I see "Password" but nothing happens when I enter 'password' - I just see the same stuff scrolling past
[   24.400394] ERROR: in ms_i2c_xfer_write: Send Start error
[   24.443029] ERROR: in ms_i2c_xfer_write: Send Start error

Password: [   24.486847] ERROR: in ms_i2c_xfer_write: Send Start error
[   24.551407] ERROR: in ms_i2c_xfer_write: Send Start error
[   24.594520] ERROR: in ms_i2c_xfer_write: Send Start error
[   24.636073] ERROR: in ms_i2c_xfer_write: Send Start error
[   24.683889] ERROR: in ms_i2c_xfer_write: Send Start error
[   24.723433] ERROR: in ms_i2c_xfer_write: Send Start error

If that worked, the text won't stop scrolling, but you should get a command prompt (#). From there you can try kill whatever is printing all those logs.

Thank you so much @mcchas - was able to login with the password root and 09qjuS@3 (which was on another issue)
I see the logs below - but I could not find what is spewing those logs
PID USER       VSZ STAT COMMAND
1 root      1684 S    {linuxrc} init
2 root         0 SW   [kthreadd]
3 root         0 SW   [ksoftirqd/0]
4 root         0 SW   [kworker/0:0]
5 root         0 SW<  [kworker/0:0H]
6 root         0 SW   [kworker/u2:0]
7 root         0 SW   [rcu_preempt]
8 root         0 SW   [rcu_sched]
9 root         0 SW   [rcu_bh]
10 root         0 SW   [watchdog/0]
11 root         0 SW<  [khelper]
12 root         0 SW<  [netns]
13 root         0 SW<  [writeback]
14 root         0 SW<  [crypto]
15 root         0 SW<  [bioset]
16 root         0 SW<  [kblockd]
17 root         0 SW   [kworker/0:1]
18 root         0 SW<  [cfg80211]
19 root         0 SW<  [rpciod]
20 root         0 SW   [kswapd0]
21 root         0 SW   [fsnotify_mark]
22 root         0 SW<  [nfsiod]
36 root         0 SW   [kworker/u2:1]
37 root         0 SW<  [SCLDAZA_THREAD]
38 root         0 SW   [VIPDazaTask]
41 root         0 SW<  [ipv6_addrconf]
42 root         0 SW<  [deferwq]
43 root         0 SW   [kworker/u2:2]
47 root       460 S    /minit
48 root       476 S    /sbin/ueventd
49 root      1684 S    /bin/sh /etc/init.d/rcS
55 root         0 SWN  [jffs2_gcd_mtd3]
57 root         0 SWN  [jffs2_gcd_mtd4]
79 root      2912 S    hotplug
82 root         0 SWN  [jffs2_gcd_mtd6]
90 nobody    1976 S    mdnsd
96 root      4224 S    monitor -C /etc/normal.xml
101 root      1688 S    -sh
117 root      2912 S    /local/bin/property_service -i /etc/build.prop -p /mnt/config/prop.dat
118 root      2048 S    /tmp/out/mosquitto
119 root      2988 S    /tmp/out/ha_agent
120 root      7936 S    /tmp/out/proxy_server -D
137 root     11304 S    /tmp/out/ha_master -a /lib/libha_auto.so -g /lib/libha_energy.so -G /mnt/config
145 root      3544 S    /tmp/out/zigbee_agent -f /etc/zigbeeAgent.conf
149 root      4244 S    /tmp/out/ha_driven -d /mnt/config/ha_driven
177 root         0 SW   [kworker/u2:3]
276 root         0 SW   [kworker/u2:4]
382 root         0 SW   [kworker/0:2]
531 root     82428 S    /tmp/out/camera -M
620 root      1688 R    ps w
I tried to kill  /tmp/out/camera -M but that just restarted the camera as you said.
PS: I am really glad to get this far! Thank you so much!

Nice! If the password was never updated then I'd say this hack may have failed on your camera - as it should have changed it to 'password'.
You can update /etc/normal.xml (?) and stop all these spamming services from starting or rebooting if they are stopped. Then your console should be usable.. There is reference to this file in the hostname script. You could use an SD card and copy the modified file to make your life easier.

@mcchas - some good progress now - thanks to you!
I have a flickering blue light and clean login :)
I added a factory.ini to the scared with the correct wifi settings. Now there is a flickering blue light and no errors on the serial console. Able to login with no issues.
How do I proceed with resetting it now?

Unfortunately got a bit too experimental and lost the prompt completely.
Flashed this mod and now unable to see the login prompt. trying to recover it again - tried resetting but it does not restore the earlier state. Tried booting with factory.ini on SDCARD - that too does not show the login prompt.

If not, you can see its starting the camera program which means it will execute a hostname file from the sdcard. Make sure your sdcard is formatted as FAT32.

I think it is stuck here for some reason. I dont see a login prompt. Is there anything else I can try @mcchas

That's no good. What output do you get on the console now? Can you use some test commands in a hostname file?

@mcchas I do think hostname is getting executed. I tried with this:
#!/bin/sh
passwd -d root
echo WITH_TELNET=y >> /etc/.config
cp -f /etc/factory.xml /etc/normal.xml
cp -f /var/log/* /mnt/sdcard/
echo "hostname fix"

While I see that the log directory is created, the log files themselves are empty and I dont see a telnet prompt

I wouldn't rely on that file starting telnetd. Can you start telnetd directly from the hostname file?

I tried this:
#!/bin/sh
test -f /etc/init.d/S91telnetd || cat << EOF > /etc/init.d/S91telnetd
#!/bin/sh
telnetd
# uncomment for no password
# telnetd -l /bin/sh
homekit_ntp au.pool.ntp.org
EOF
chmod 755 /etc/init.d/S91telnetd

I did see a line in the logs after this which said:
'/dev/stdin' -> '/proc/self/fd/0'
[RCS]: /etc/init.d/S90app
Can't find upgrade file
mDNSResponder: mDNSResponder (Engineering Build) (May 27 2019 12:17:34) starting
mDNSResponder: mDNS_AddDNSServer: Lock not held! mDNS_busy (0) mDNS_reentrancy (0)
mDNSResponder: mDNSPlatformSourceAddrForDest: connect <IP_ADDRESS> failed errno 101 (Network is unreachable)
**[RCS]: /etc/init.d/S91telnetd**

But I am still not able to see a login prompt.

Apologies, without a network telnet is not very useful. If you are not getting a login prompt you could try run getty (with the same arguments as in /etc/inittab) from the hostname file which could start this.

@mcchas is there anywhere I can find the default files? I tried to copy over the inittab via hostname. It copied the file but like log files it was 0 bytes.

what could be happening is the rcS script is blocked and never starts getty, perhaps have a hostname script just start this using this command /sbin/getty -L ttyS0 115200 vt100.
Its possible the filesystem is not syncing which is why your files are empty, you can run sync to overcome that

@mcchas - cant say how thankful I am but /sbin/getty -L ttyS0 115200 vt100 fixed it. I am able to now login!
how can I make this persist? and how do I proceed now?

PS: password was "password" so the hostname script got executed for the mod from my experiment here

I had issues with mine around the same time with Homekit, I'd get 'Not Responding' in homekit or after a reboot the camera would respond but only briefly. I could see in the logs there was an error relating to communication with the Apple MFI chip. I was able to resolve this issue by updating to the latest version, by replacing the /local/app.tar.xz (more specifically just the camera binary within this tar) with that from the v2.2.3 firmware.

I tried to do this but unfortunately looks like I picked the wrong camera file from v2.2.1!  - now the boot is stuck in the part:
19700101 05:00:14.423 NOTICE   monitor 348: ========== start all process ==========
19700101 05:00:14.423 NOTICE   monitor 351: start process /local/bin/property_service...
19700101 05:00:14.931 NOTICE   monitor 351: start process /tmp/out/mosquitto...
19700101 05:00:14.931 WARN     monitor 355: process[/tmp/out/mosquitto] not exist
19700101 05:00:15.431 NOTICE   monitor 351: start process /tmp/out/ha_agent...
19700101 05:00:15.431 WARN     monitor 355: process[/tmp/out/ha_agent] not exist
19700101 05:00:15.931 NOTICE   monitor 351: start process /tmp/out/proxy_server...
19700101 05:00:15.931 WARN     monitor 355: process[/tmp/out/proxy_server] not exist
19700101 05:00:16.432 NOTICE   monitor 351: start process /tmp/out/camera...
19700101 05:00:16.432 WARN     monitor 355: process[/tmp/out/camera] not exist
19700101 05:00:16.932 NOTICE   monitor 351: start process /tmp/out/ha_master...
19700101 05:00:16.932 WARN     monitor 355: process[/tmp/out/ha_master] not exist
19700101 05:00:17.432 NOTICE   monitor 351: start process /tmp/out/zigbee_agent...
19700101 05:00:17.432 WARN     monitor 355: process[/tmp/out/zigbee_agent] not exist
19700101 05:00:17.932 NOTICE   monitor 351: start process /tmp/out/ha_driven...
19700101 05:00:17.932 WARN     monitor 355: process[/tmp/out/ha_driven] not exist

I do have a backup of the old app.tar.xz - how can I update it or a clean version of 2.2.3 ?
PS: sorry about being such a bother @mcchas - I really am thankful for your patience!

It does look like hostname is getting executed though. Command to copy over log files creates the directory, but with no files.

What did you want to do with the camera? If you want to add it to HomeKit then you shouldn't have to make any changes. There is some commented script in the hostname file that helped me join wifi networks that failed to join automatically.

You can also manually join wifi networks the same way you would with any other Linux machine.

Once this is resolved, I will try to use the commented section in the hostname script to connect it to wifi

It does look like hostname is getting executed though. Command to copy over log files creates the directory, but with no files.

I need to correct this. I dont think hostname is getting executed any longer :(
I tried a couple of copies:
#!/bin/sh
cp -f /var/log/* /mnt/sdcard/
cp -f /etc/inittab /mnt/sdcard/
sync

Nothing shows up on /mnt/sdcard
The full log of a session is also attached. Have I irretrievably broken the camera ? :(
FullLogFailedBoot.txt

Realised what got messed up. I guess app.tar.xz loads camera which in turn loads the hostname script and when I messed up the app.tar.xz this stopped loading. I guess its broke for good without getting into the SPI flash ROM - which is probably beyond my skills and I sure dont want to trouble @mcchas any more!
thank you @mcchas for all the help - sorry I messed up bad. Felt really close to reviving it at times but it was not to be.

@ashwindz thats a shame, its inspired me to put a larger disclaimer in the readme!
Don't give up - there will be other ways in. I see a script that tries to update the app.tar.gz but this may not work. You can try copy https://github.com/niceboygithub/AqaraCameraHubfw/raw/main/G2H/2.1.1_0002.0515_ota/ota.bin to your sdcard as it tries to copy this from /mnt/sdcard/ota.bin. There is also mention of updating via tftp using a USB ethernet adapter, one would have to find the real USB pins on the inside of the device to get that working..

Thank you for not giving up on me @mcchas
I tried to boot with the ota.bin you specified on /mnt/sdcard but that did not change things. It was stuck at the same spot as earlier.

as it tries to copy this from /mnt/sdcard/ota.bin._

Is there a specific time at which I need to do something? I just booted with the file ..

Also, should I consider the SPI flash route? What would the process be if I were to go this route?
Would I need SOIC 8 / SOP8 Clip, an rpi  and a breadboard?

@ashwindz that is an easier route and should work no matter what you do to the file system. If you already have a raspberry pi (or programable MCU with SPI) you just need a SOIC clip, they are available on eBay for a few dollars. I didn't have much success programming while the chip is still on the PCB but you might have more luck, otherwise you will need a soldering to remove it...

Thanks @mcchas

you just need a SOIC clip, they are available on eBay for a few dollars.

I presume this is SOIC 8? I found one site which sells this but it may take 2-3 days to get to me. Will order it.

(or programable MCU with SPI)

Would the CH341A 24 25 Series EEPROM Flash BIOS USB Programmer work? Again this is available locally and I should get it in 2-3 days

The other way is to go through the firmware

While I wait for the SOIC clip and programmer - is there anything else you can suggest I try?

Looks like it should work - https://www.win-raid.com/t4287f16-GUIDE-The-Beginners-Guide-to-Using-a-CH-A-SPI-Programmer-Flasher-With-Pictures.html

OK - ordered an EZP2019 instead @mcchas - should be with me next week!
I guess I need to use a raspberry pi anyway to flash it. I use OSX and I presume these devices wont be supported. Would it work with a VM?

Great! I see flashrom is available from brew on OSX and that's all I used.

@mcchas - once I get the programmer, what should I do? I understand that as a first step, I can extract the bin and keep it as a backup. But what after that?

@mcchas - once I get the programmer, what should I do? I understand that as a first step, I can extract the bin and keep it as a backup. But what after that?

@mcchas could you pl. advice ? Thanks!

@mcchas could you pl. advice ? Thanks!

I imagine you're going to need to extract a full image from the flash, validate the data integrity (i.e doubly ensure it's a verbatim copy). From there you can use tools to extract the root file system (like binwalk), change whatever you like (the file that was destroyed earlier) and repack the filesystem (squashfs?) and back to an image to write back to the flash device. A good step may be to update Uboot to enable interactive mode so a hardware programmer is not needed if the OS has issues again.

Ok! That sounds like quite an interesting ride! Will muster some courage and get to it next couple of days

From there you can use tools to extract the root file system (like binwalk), change whatever you like (the file that was destroyed earlier)

I do have the old file, but rebuilding to the previous version would just land me where I started. How can I resolve / reset fully?

update Uboot to enable interactive mode

is this a config parameter or do I need to find/ build a UBoot binary which supports this?
Thanks again @mcchas

Hello @mcchas - need some guidance again!
I finally got everything rigged and managed to dump the firmware from the camera. I did 2 copies to check the diff to make sure I got it all. I then tried
binwalk -e read01.bin
It took a while but I ended with a HUGE bunch of files which were like
1017FA8.xz     4F8730        50BF34        522AA4        538C70        58E62C.zlib   5A5114.zlib   5BED54        5D6138        5E896C.zlib
I tried with
binwalk -e -y jffs2 read01.bin
But this yielded just one file 4F04F8.jffs2
Can you help? I am not sure what I am doing wrong.

hey @ashwindz
Were you able to read the flash without removing the chip?
Repacking the firmware might be tricky. It might be easiest to just write the original vulnerable firmware image back on this flash device and start again.
The image would have to come from a known good flash. Do you have another working camera to take this from?

Were you able to read the flash without removing the chip?

Yes @mcchas - I think I was. I did it twice and did a diff between the 2 to check.

The image would have to come from a known good flash. Do you have another working camera to take this from?

Unfortunately - no :( Can you pl help? Is this usable?

Thats good, it didnt work for me... but my wiring was a bit shakey.
Those files are not a complete image... send some handle and i might be able to help with a file via DM

@mcchas does this work ? Thank you!

I sent it about 12 hours ago - check your spam? you can edit those comments to remove your email now.

@mcchas ah ok - can you use this?

I have not tested but imagine it is a full image of the camera including the bootloader. I would try write the entire 32mb image to the SPI flash - keep in mind it must be ungzipped first.

Thank you very much @mcchas - will try to push this in. Much appreciate all your help!

it is a full image of the camera including the bootloader.
I meant to ask if uboot is set to be interactive as you asked me to do here

Hello @mcchas - I tried to write the image after gunzipping. I ran into the error below
Image size (33554433 B) doesn't match the flash chip's size (33554432 B)!
Can you pl advice ?

Hello @mcchas - I tried to write the image after gunzipping. I ran into the error below
Image size (33554433 B) doesn't match the flash chip's size (33554432 B)!
Can you pl advice ?

Looks like it's 1 byte too long. Use something like dd to strip that unexpected byte from the end of the file.

@ashwindz I used VIM to remove my ssid from the image and it added an OEL character to the file, if stripping off the last byte does not work send me the dropbox invite again and i'll upload a new file.

I did strip it with dd but had trouble flashing it because of the contact with the clip
I would of course trust what you did better than what I did - so if you can re-upload it will be very helpful! The dropbox link is open again

@mcchas I think the stripped firmware flashed successfully (I hear prompts in Chinese - my original firmware used to be English). Thank you!
I am back now at square 1. Unable to pair it to homekit :)
Haven't yet checked the logs - need to fish out my cable again :)

That's great! You can use the cable and configure wifi or whatever else you need with as you have the root password. With this Chinese firmware you can switch it to English fairly easily - one of the other issues covers that and the readme has a workaround there also.

The cameras was on a secure IOT wlan SSID that blocks ICMP.  Found this error in /tmp/log/camera.0
19700101 20:51:15.865 ERROR    camera_tmp 837: !!! ping gateway[<IP_ADDRESS>] timeout, need restart wlan0 !!!
After enabling inbound icmp(ping) to the interface of the router, the error stopped and the default route no was being deleted from the routing table.  Hope this helps.


Moves all assertions tests to the assertions module

As part of https://github.com/kotlintest/kotlintest/issues/498, all tests that test the kotlintest-assertions module were moved to it, bringing the tests closer to their targets, and decreasing confusion to future contributors.
An important point to be noted: the root package chosen is assertions.io.kotlintest. This was done because putting files in io.kotlintest package make them subject to stacktrace cleaning, by the Failures class. The Failures class removes all Kotlintest stacktraces from throwables, so that the user only sees the real problem, and nothing internal. However. as we're using io.kotlintest for all the tests, the user stacktraces would be removed (we are the users), and that's not good when a test fails, as no reason would be given.
Fixes a part of #498 - Moves tests closer to their targets

@sksamuel
Could you tell appveyor to rerun tests, please?

@sksamuel
Could you tell appveyor to rerun tests, please?

Yep

An important point to be noted: the root package chosen is assertions.io.kotlintest. This was done because putting files in io.kotlintest package make them subject to stacktrace cleaning, by the Failures class. The Failures class removes all Kotlintest stacktraces from throwables, so that the user only sees the real problem, and nothing internal. However. as we're using io.kotlintest for all the tests, the user stacktraces would be removed (we are the users), and that's not good when a test fails, as no reason would be given.

That's why I use com.sksamuel for tests in kotlintest core :)
I don't want to use 'kotlintest' anywhere in the package name to totally remove anything like this.

Should e use com.sksamuel? Maybe io.kt?
On Thu, Dec 6, 2018, 20:14 Stephen Samuel<EMAIL_ADDRESS>wrote:

An important point to be noted: the root package chosen is
assertions.io.kotlintest. This was done because putting files in
io.kotlintest package make them subject to stacktrace cleaning, by the
Failures class. The Failures class removes all Kotlintest stacktraces from
throwables, so that the user only sees the real problem, and nothing
internal. However. as we're using io.kotlintest for all the tests, the
user stacktraces would be removed (we are the users), and that's not good
when a test fails, as no reason would be given.
That's why I use com.sksamuel for tests in kotlintest core :)
I don't want to use 'kotlintest' anywhere in the package name to totally
remove anything like this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kotlintest/kotlintest/pull/500#issuecomment-445049218,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABgRIwtTqm680rR0dgT9ae_v6rhL3ecwks5u2ZawgaJpZM4ZHYX2
.

I own com.sksamuel io.kotlintest, anything else is fake.
But up to you.

com.sksamuel it is then

Looks good when green.


add keybinding to maximize/restore active pane

Description of the new feature/enhancement

I would like to have a keybinding to maximize/restore the active pane. Currently, on can only maximize/restore the whole windows terminal window.
Proposed technical implementation details (optional)
alt+shift+enter
or
alt+shift+f11
or
ctrl+f11
Which keybinding is not important as I can change it later, I would just like to make the action available.

When I press the first time the keybinding, it maximizes the active pane, that I can only see the active pane.
When I press twice, it restores the active pane to its original size, and original position with other panes.

Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #996 for more discussion.
/dup #996


Rewrite DS9 region file I/O tools

I've been working on this very large PR on and off since August last year.  I started out trying to fix the known issues parsing and serializing DS9 regions and quickly discovered many, many new bugs in the process.  What started out as a refactor turned more into a rewrite.  This was needed to address all of the bugs and to streamline and simplify the code, which is more maintainable now.
This PR also adds several new features for DS9 regions, making it as complete as possible with the current Region classes, including:

Added the ability to handle DS9 elliptical and rectangular annuli and multi-annuli regions.
Added the ability to handle DS9 composite regions.
Added the ability to serialize sky regions in the DS9 file format using the coordinate frame of the SkyCoord object.
Added the ability to serialize multiple regions in the DS9 file format that have different coordinate frames.

Many of the bugs fixes involve issues with the DS9 parser and serializer not consistently handling or preserving the region coordinate frame or region parameter units.
This PR does make some breaking API changes -- all for the greater good:

The errors keyword was removed from the DS9 parser and reader.  Warnings are now always issued for various reasons, which can be filtered if necessary.  Errors are issued in cases where the read/write completely fails and cannot continue (as expected).
The coordsys, radunit, and fmt keywords were removed from the DS9 serializer and writer.  As several reported issues demonstrate, the coordsys and radunit keywords were broken and understandable lead to a lot of confusion.  The fmt keyword was replaced by a new precision keyword to specify the number of decimal places in output numbers.  The precision keyword is consistent with what astropy core uses for serialization (e.g., SkyCoord, Angle).

This PR does not touch any of the CRTF or FITS I/O tools.  A followup PR will be needed to remove the above keywords from the CRTF and FITS serialization/write methods for consistency.  I may work on a similar refactor for FITS region files in the near term.
This PR also adds many unit tests, including an important read/write/read roundtrip test to ensure identical Region objects.  It also adds a new documentation page that details the known limitations when dealing with DS9 region files (e.g., unsupported region types, coordinate frames, plotting differences, etc.).
Closes #428
Closes #403
Closes #301
Closes #300
Closes #299
Closes #11

I don't expect anyone to review a +1,833 −3,339 PR (as an aside - 1500 lines of code were removed!).  This is a big improvement.


breeze.optimize.FirstOrderMinimizer convergence conditions

Hi,
I had some problems with converging of the optimizer, so I looked at the FirstOrderMinimizer and I found some differences compared to other frameworks' implementations. Specifically:
For the gradient there is the condition:
else if (norm(adjustedGradient) <= math.max(tolerance * adjustedValue.abs, 1E-8))
        Some(FirstOrderMinimizer.GradientConverged)

I was wondering if instead of math.max one should take math.min?
Also i was wondering why the adjustedValue.abs is used with respect to the norm of the gradient? Would it be better to take the initial value of the gradient or better the maximum projection of the gradient (e.g. the biggest component of the gradient) and it should be smaller than a tolerance value (without using any initial value)?
In the same vein, one could use solely a convergence tolerance value for the value condition as well (instead of multiplying it with the initialValue), couldn't one? (as if the function takes big values, then one should choose smaller convergence tolerance, if one wants to avoid fast "convergence" due to improvementFailureError, but then the gradient condition will be never satisfied because of the math.max part.)
Any explanation on the convergence conditions are much appreciated...

I just chose things that seemed reasonable to me. I've never been all that happy with the convergence criteria. Happy to take suggestions/PRs.
But... I don't understand why it should be min? You want something that is (mostly) scale invariant, so you want to use a tolerance relative to something, and the obj value seemed like a good choice of scale? The floor of 1E-8 is just for dealing with objective values that are near zero. Why is the max norm better than the 2 norm?

I just chose things that seemed reasonable to me. I've never been all that happy with the convergence criteria. Happy to take suggestions/PRs.
But... I don't understand why it should be min? You want something that is (mostly) scale invariant, so you want to use a tolerance relative to something, and the obj value seemed like a good choice of scale? The floor of 1E-8 is just for dealing with objective values that are near zero. Why is the max norm better than the 2 norm?

Thank you for the reply and the clarification of the rationale behind the conditions. My problem is, that I have a function from the exponential family and I want to optimize a log likelihood function with 100k variables. So little changes in the loss function can mean a lot of improvements in the prediction. Thus I do not want to depend on the objective value, I want to have a convergence w.r.t an absolute small tolerance value. So If I want to use the current implementation, I have to choose a very small tolerance (my function takes big values) but then the same tolerance is used in the gradient condition, where because of the max I will finish the convergence way before it actually converges. As a matter of fact, I will stop the optimization because of the improvementFailure parameter set to 0.001. Maybe the tolerance should be used there as well (like in the SciPy implementation of the LBFGS)?. Also SciPy uses the max norm for the gradient, which is maybe much more robust and independent of the number of features etc. (anyway the Lp norms converge to the max norm...)
Also the line search algorithm uses 0.001 and 0.9 as the two parameters for the Wolfe conditions. Besides that the Springer book Numerical Optimization suggests these exact values for c_1 and c_2, is there a better way to choose them? Sometimes I got line search failed errors, that I cannot fully explain, so I appreciate any comments on the line search algorithm as well.

@eidonfiloi could you please join our discussion on https://github.com/scalanlp/breeze/pull/364 SPG and PQN needs a different GradientConvergence than what is implemented in FirstOrderMinimizer right now...

i think this is probably solved now that we can specify convergence criterion and can pick relative vs. absolute tolerances.


How to train with my own images?

thanks for the code！that‘s really a nice work！
But there seems to be a little description of how to use my own images for training, could you tell me more about it?

Hi @WJiangNpu, please check out the Test your own sequence section in the README for instructions. I'm happy to help clarify if you have specific questions in mind.

Closing due to inactivity, please feel free to reopen if necessary.


Jest does not support TS specs

nx g nx-vue3-vite:app xxx generates a new app. First thing I notice is that there is a jest.config.ts and a jest.config.js with different config.
It looks like only the JS file is used.
In the ts file there is '^.+\\.vue$': './deps/vue3-jest', and this seems invalid; there is no './deps' dir. (Addressed in #34)
If I add an empty test that uses an import, I get the error:

Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.

This removes the error:

Remove the jest.config.js
Change the extension of jest.config.ts to js
npm i @vue/vue3-jest
Replace the vue transform with '^.+\\.vue$': '@vue/vue3-jest',

For generated apps, but not for libs (??), then this error appears:

Property 'toEqual' does not exist on type 'Assertion'.

I'd like some improvements on the generated apps and libs that Jest is setup properly with TS support.

The generator should work with TS specs now, I added an example to the app generator. Ideally there would be a flag to select the test method (vue3-jest/vitest/cypress component).


Pointers and One dimensional Arrays

Description 📜

This issue is related to the description of relationship between Pointers and One dimensional array. This concept is helpful while working with functions that takes one dimensional array as an argument.

Domain of Contribution 📊

[x] C/CPP

/assign

/assign

/assign

/assign


Convert Sonarr v3 quality definitions to MD table

Eventually the screenshot should probably go away, but I've kept it in
for now to get a feel for the table. The table is important to allow for
the quality definition data to the parsed by a script.

Please look very carefully at the min/max numbers in the table and verify I have accurately entered them according to the screenshot. Thank you.

other than the typo the numbers look good; I'll defer to @TRaSH-  on adding the table.  Seems like a good idea to me.

Merged with #139 being i couldn't merge my changes with yours.

For future reference, I highly recommend merging PRs as-is or requesting more changes if you'd like. Commit metadata like commit author isn't lost in that case, and things come in more incrementally. For example, in your case I would have done this instead:

Left feedback on this PR requesting the screenshot removed, which I would have gladly done
Merge my PR as-is
You make a follow up PR with the anime quality settings


[macOS] Dynamically attach and detach transient windows to allow them to stay on top of parent and be moved to another screen.

By default, child windows macOS (which stay on top of parent and moved when parent is moved) can't be moved to another screen (will end up off-screen and unusable).
This PR dynamically attach and detach the transient window to ensure it is a child window only when it is on the same screen as its transient parent. This will make floating editor windows stay on top of the main window, like it does on the other platforms.

Thanks!


Flutter pauses for minor GC every 90s

@abarth says we could do a lot better here by providing the VM some hints as to when to GC (i.e. not when you're scrolling).
This is theoretically an easy fix we should consider trying in May?

Is the mechanism to provide these hints already in place? I could not find anything in dart_api.h or dart_tools_api.h.

Is the mechanism to provide these hints already in place?

Nope.

I was imagining two signals we could give the VM:

"This thread is probably going to be idle for X microseconds."  We'd be able to call this after an animation frame with the number of microseconds delay we predict for the next animation frame.  The VM could use this information to decide whether it makes sense to trigger a GC or other deferred work in these gaps between frames.

"This thread is going to be idle for a long period of time."  We'd be able to call this function when there are no animation callbacks scheduled and when there are no pointers that are currently down.  The VM could do work on the order of ~100ms at these times without too much impact to the user experience.

/cc @rmacnak-google @a-siva

See also https://blog.chromium.org/2015/12/smarter-garbage-collection-for-smoother.html

Just want to say that this sounds very cool, and the kind of thing we can do because we work closely with each other. Love it!

fyi @rmacnak-google @chinmaygarde
I have spent some time reading through V8 source and the paper they published and found that they have moved away from using IdleNotificationDeadline style API.
According to Chromium CodeSearch the only remaining use of that in Blink is in src/third_party/WebKit/Source/bindings/core/v8/V8GCForContextDispose.cpp:
void V8GCForContextDispose::PseudoIdleTimerFired(TimerBase*) {
  V8PerIsolateData::MainThreadIsolate()->IdleNotificationDeadline(
      MonotonicallyIncreasingTime());
  Reset();
}

Instead of using this API from the embedder side, they inverted the relationship between embedder and VM - instead of pushing signal from the embedder down to the VM they push idle tasks up to the embedder. Embedder's scheduler (having the whole overview of the system) then decides when it is the best time to execute the idle task. See heap/scavenge-job.h in V8 sources.

Interesting.  We could use that approach too.

Thanks for the comments, @mraleph !

Looking through unassigned bugs. :) I believe @rmacnak-google is still working on this.

https://github.com/dart-lang/sdk/commit/86f602d0201afbfddd545d003edea0634c371352
https://github.com/dart-lang/sdk/commit/637a9f873bcaece96e35b94b89ede31470b617b1
https://github.com/dart-lang/sdk/issues/31094


Issues running SigProfilerExtractor on HCP

Hi
I have installed SigProfilerExtractor (following the instructions from https://osf.io/t6j7u/wiki/1. Installation/).
pip install SigProfilerExtractor
I try to test the toolwith the 21BRCA sample data.
When I run the SigProfilerExtractor on the command line it works ok.
The example code is
python
from SigProfilerExtractor import sigpro as sig
sig.sigProfilerExtractor("vcf", "vcfExtractTest1", "/mnt/bmh01-rds/UoOxford_David_W/mqbssatj/Scripts/SigProfiler/SampleData/21BRCA/21BRCA_vcf/", reference_genome="GRCh37", minimum_signatures=1, maximum_signatures=4);
However, When I try to run the tool in HPC then I ghet the following error
Traceback (most recent call last):
File "", line 1, in
File "/opt/apps/apps/binapps/anaconda3/2020.07/lib/python3.8/multiprocessing/spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "/opt/apps/apps/binapps/anaconda3/2020.07/lib/python3.8/multiprocessing/spawn.py", line 125, in _main
prepare(preparation_data)
File "/opt/apps/apps/binapps/anaconda3/2020.07/lib/python3.8/multiprocessing/spawn.py", line 236, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "/opt/apps/apps/binapps/anaconda3/2020.07/lib/python3.8/multiprocessing/spawn.py", line 287, in _fixup_main_from_path
main_content = runpy.run_path(main_path,
File "/opt/apps/apps/binapps/anaconda3/2020.07/lib/python3.8/runpy.py", line 265, in run_path
return _run_module_code(code, init_globals, run_name,
File "/opt/apps/apps/binapps/anaconda3/2020.07/lib/python3.8/runpy.py", line 97, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "/opt/apps/apps/binapps/anaconda3/2020.07/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/mnt/bmh01-rds/UoOxford_David_W/mqbssatj/Scripts/SigProfiler/Code/pythonScripts/SigProfilerExtcrTest1.py", line 5, in
sig.sigProfilerExtractor(sys.argv[1], sys.argv[2], sys.argv[3], reference_genome=sys.argv[4], minimum_signatures=int(sys.argv[5]), maximum_signatures=int(sys.argv[6]), cpu=int(sys.argv[7]));
File "/mnt/fls01-home01/mqbssatj/.local/lib/python3.8/site-packages/SigProfilerExtractor/sigpro.py", line 714, in sigProfilerExtractor
processes = sub.decipher_signatures(execution_parameters,
File "/mnt/fls01-home01/mqbssatj/.local/lib/python3.8/site-packages/SigProfilerExtractor/subroutines.py", line 540, in decipher_signatures
results = parallel_runs(execution_parameters, genomes=genomes, totalProcesses=totalProcesses,
File "/mnt/fls01-home01/mqbssatj/.local/lib/python3.8/site-packages/SigProfilerExtractor/subroutines.py", line 446, in parallel_runs
pool = multiprocessing.Pool(processes=n_cpu)
File "/opt/apps/apps/binapps/anaconda3/2020.07/lib/python3.8/multiprocessing/context.py", line 119, in Pool
return Pool(processes, initializer, initargs, maxtasksperchild,
File "/opt/apps/apps/binapps/anaconda3/2020.07/lib/python3.8/multiprocessing/pool.py", line 212, in init
self._repopulate_pool()
File "/opt/apps/apps/binapps/anaconda3/2020.07/lib/python3.8/multiprocessing/pool.py", line 303, in _repopulate_pool
return self._repopulate_pool_static(self._ctx, self.Process,
File "/opt/apps/apps/binapps/anaconda3/2020.07/lib/python3.8/multiprocessing/pool.py", line 326, in _repopulate_pool_static
w.start()
File "/opt/apps/apps/binapps/anaconda3/2020.07/lib/python3.8/multiprocessing/process.py", line 121, in start
self._popen = self._Popen(self)
File "/opt/apps/apps/binapps/anaconda3/2020.07/lib/python3.8/multiprocessing/context.py", line 283, in _Popen
return Popen(process_obj)
File "/opt/apps/apps/binapps/anaconda3/2020.07/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 32, in init
super().init(process_obj)
File "/opt/apps/apps/binapps/anaconda3/2020.07/lib/python3.8/multiprocessing/popen_fork.py", line 19, in init
self._launch(process_obj)
File "/opt/apps/apps/binapps/anaconda3/2020.07/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 42, in _launch
prep_data = spawn.get_preparation_data(process_obj._name)
File "/opt/apps/apps/binapps/anaconda3/2020.07/lib/python3.8/multiprocessing/spawn.py", line 154, in get_preparation_data
_check_not_importing_main()
File "/opt/apps/apps/binapps/anaconda3/2020.07/lib/python3.8/multiprocessing/spawn.py", line 134, in _check_not_importing_main
raise RuntimeError('''
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
    This probably means that you are not using fork to start your
    child processes and you have forgotten to use the proper idiom
    in the main module:

        if __name__ == '__main__':
            freeze_support()
            ...

    The "freeze_support()" line can be omitted if the program
    is not going to be frozen to produce an executable.

Do you know how to overcome this issue?
Thanks!

Hi @Avramis,
Could you please provide the JOB_METADATA.txt. You can provide the files here or to me via e-mail.
Best,
Mark

HI Mark
Thanks for your response.
The JOB_METADATA.txt file of that particular job was empty. I assume the empty  JOB_METADATA.txt file was a result  of multiprocessing issues, the same job restarting multiple times, and when I stoped the job the file was recreated but wasn’t not populated correctly.
I managed to solve the problem by placing my code within a
if name == "main"
Statement
You can consider the issue solved and I did close issue.
Best
Avraam

On 22 Dec 2021, at 18:22, mdbarnesUCSD @.***> wrote:
Hi @Avramis https://github.com/Avramis,
Could you please provide the JOB_METADATA.txt. You can provide the files here or to me via e-mail.
Best,
Mark
—
Reply to this email directly, view it on GitHub https://github.com/AlexandrovLab/SigProfilerExtractor/issues/112#issuecomment-999777228, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACH6JMKIODO2S6G3ZWARAATUSIJNFANCNFSM5KSYYHWQ.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.


doesnt work

i download exe and i put list proxy when click button start bot doesnt happen

Yes, the difference between the Twitch Viewer bot and the Kick Viewer bot is significant. I need to perform reverse engineering to understand how the human verification works on Kick. You can try running the code now; it's not very difficult. I can update the .bat files.


Asist function to release single quotation when column auto-complete

SELECT M.TEST FROM TABLE M
How do I release Single Quotation when column auto-complete with asist function?

Please clarify. Do you want to disable identifiers quotation?

there is no update on ticket more than a month.
Ticket is closed.
If issue still actual for you feel free to create a new one with additional details.


Intermediate component for bundling archiver data into a Run

Prompted by NSLS-II Users' Meeting discussion

It would probably be nice to have the archiver data bundled into the exported runs with https://github.com/bluesky/databroker-pack, so that a separate, external data source.
Discussed in a call with @ambarb, @tankonst, and @lwiegart.

If we can get Archiver properly re-integrated with databroker v1/v2, databroker-pack will "just work" and treat the Archiver time series as just another data stream. Let's discuss how to implement that.

But in that case, you would have to pre-declare which PVs you wanted packed, right?  Not a show stopper, just clarifying question

@ambarb, with the current implementation of the archiver appliance event source in databroker, one has do declare the PVs via a configuration, or dynamically: https://blueskyproject.io/databroker/v1/archiver.html#configuration. Right now the question is about how to properly insert the data from the archiver into databroker during the collection time (or somehow else).

Right, but you don't want to insert all of them at the time of package?  this is probably overkill and too resource heavy?
Either way, I vote for a separate stream.  Archiver timing has a +/- factor for muxing with data.

The archiver feature not been heavily tested in production yet, so we need to learn about specific use cases. I know CHX and ISS were looking at it, and @elistavitski even has a GUI to visualize the archiver data via the databroker API, but we haven't explored behind this. Let's have a discussion early next week between @danielballan, @ambarb and me to see what the requirements are and how to implement it.

In our offline discussion, we reviewed some existing options.  With some further investigation, what is returned to by databroker as a pandas data type and units are like that of each point collected by Bluesky when returned by databroekr (header.table()['time']).  Currently, this is a human readable time in EST, not in seconds.  For some applications, only the relative seconds matter.  If time-sensitive applications, there is either a timestamp, or the data is collected in "1 point".  We should have an option on the format we want returned is all that I am saying.


Update monaco-editor peerDependencies version

Updates the monaco-editor peerDependencies version to the 0.14.0 (latest minor version)

Thank you Phil!

@NeekSandhu Would it be possible to get a new release on npm? 😃
Currently integrating this into the GitLab Web IDE & we have a check in our CI for peerDependencies versions.

😳 How did I miss that!!!
Please update to 2.0.1 to get the patch!
PS: I might be brewing up a change to this package's backend/internals (public API very unlikely to change). Not sure on the ETA but less than 2 weeks for sure. So please check back then to see if that matters :) The change will have nothing to do with performance or bugs, it'll just be "clean up"

@NeekSandhu Nice! Thanks! 😄
Thanks, i'll keep an eye on this package! 👍


Visitcounter

Fixes #64
Proposed Changes
Add "number of hits" counter in the footer
Screenshots for the change:

Requirements

[x] The code that is not relevant to the feature/fix is not modified.
[x] My branch is up-to-date with the Upstream staging branch with no conflicts.
[x] I have run prettier on the new code added.

@anshulagx  not sure if you're aware of this PR!

Yes, sorry I missed this.
lgtm!
@kush-mish have a look once


[SPARK-11734][SQL] Rename TungstenProject -> Project, TungstenSort -> Sort

I didn't remove the old Sort operator, since we still use it in randomized tests. I moved it into test module and renamed it ReferenceSort.

Test build #45883 has started for PR 9700 at commit 6a68454.

Test build #45883 has finished for PR 9700 at commit 6a68454.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/45883/
Test FAILed.

Test build #45890 has started for PR 9700 at commit 6cc887d.

Test build #45890 has finished for PR 9700 at commit 6cc887d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/45890/
Test FAILed.

Test build #2057 has started for PR 9700 at commit 6cc887d.

Test build #2057 has finished for PR 9700 at commit 6cc887d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #45942 has started for PR 9700 at commit d2079b1.

Test build #45942 has finished for PR 9700 at commit d2079b1.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/45942/
Test FAILed.

Test build #45943 has started for PR 9700 at commit 852845e.

Test build #45943 has finished for PR 9700 at commit 852845e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/45943/
Test PASSed.

Merged build finished. Test PASSed.

Going to merge this first. I will submit followup prs if there are any posthoc feedback.


Lisp Flavored Erlang highlighting error

Looks like binaries aren't highlighted properly:

Linguist only selects the grammar to use for highlighting. For LFE, GitHub uses textmate/lisp.tmbundle. You should open an issue there if there isn't already one.


Update update-docs to require Probot v7.2.0

Update behaviorbot/update-docs to use Probot v7.2.0 as per issue Updating Probot #15
I removed this line from the test file as I don't think it should belong in that assert.
expect(github.repos.getContent).toNotHaveBeenCalled()
The test below it seems to be testing for a similar case and doesn't expect github.repos.getContent not to be called. Additionally, after removing that expect, the tests passed! 😄 Please let me know if that's wrong and I can dig deeper into the issue!

Thanks @shui91!


SDG agnetic pipeline documentation

We have been receiving questions on the core SDG algorithm for the agnetic pipeline and curious if there would be interest in us producing further documentation on high level charateristics of the algorithm in either a FAQ or "deep dive" page?
Some of the questions we have gotten are below (along with responses)
Assumption:
So, suppose my knowledge taxonomy nodes has a yaml file with:
5 contexts
3 q/a pairs for each context, for a total of 15 q/a pairs
A number of .md files. Say the total size of .md files is 1MB.
Questions:
How many chunks are generated from 1MB of data? Approximate number
Are q/a pairs generated from every chunk, or only a subset of chunks ?
For a chunk, how many questions are generated? 30 questions (given the scale factor of 30) ?
I understand these would be estimates due to the intricacies of the scoring and filtering algorithms but I think it could be useful to have a documentation page that talks about the algorithm at a high level. Thoughts?

We could help drive this the general questions would be:
Where would we want this document to live?
What would we want the structure to be? FAQ? High level algorithmic walkthrough? We could take a pass at it and then iterate on the proper format we would want.

Also my responses in case someone wants to correct them:
For the MD file case: the estimation on the number of chunks is 1MB * 1048576 bytes / 4 bytes per token / 1.3 tokens per word / 1000 word chunks ~= 202 chunks
SDG is generated per chunk/qa pair. So in this case that's: 15 * 202 chunks * 30 samples per generation = 90900 samples
Note: actual value will be lower when scoring on quality of output is performed/duplicates removed

Thanks for bringing this to our attention @relyt0925 ! You're correct in pointing out that making precise predictions about the output size is tricky due to the non-deterministic nature of LLMs. While the estimates provided (such as 202 chunks and 90,900 samples) offer a useful ballpark, the final output size will ultimately depend on various factors, including the document size, scoring, filtering, and quality checks we apply during the process.

The document can live here in the SDG repository. It would be useful to provide documentation that explains the high-level characteristics of the SDG algorithm. However, I’m not entirely sure how best to explain the factors contributing to the variability in the output.

@aakankshaduggal we can help take a stab at this and we will tag you for the review and you can critique ask for whatever you like out of it!

After further review: I believe the research paper does a good job of covering this and we should not attempt to duplicate it
What we can do is provide general FAQs that point to the research paper and can talk about estimates to the overall dataset you will get based on a given taxonomy.
(Attaching research paper here):
2403.01081v3 (2).pdf

The only thing I'd say is we should document what we do in this project, and for example not document things that downstream things do here in the upstream.


[Feature Request] Idle Notifications for Boosted Stats Threshold

Is your feature request related to a problem? Please describe.
I would like to receive a notification when a boosted stat has dropped to/below a designated threshold. Identical to the Hispoints Notification & Prayer Notification settings.

Describe the solution you'd like
NOTE: I get that adding a threshold to every single stat would be overkill - that's not what I'm proposing...
My idea is provide the user with the ability to select a desired stat(s), (and/or possible combinations - i.e. 'Melee' would represent Atk/Str/Def/HP, etc.), and assign a threshold to send a notification at.
  Threshold Types

Number (static)
Percentage (dynamic)

· A solid number used as a threshold.· Mimics current Hitpoints and Prayer   thresholds notifications.
· Specified % of total lvl boost used as a threshold.   · % of level (ex: 60/50 = 20%)          - OR -· Specified % of boosted amount used as a threshold.   · % of the max boost amount     (ex: 60/50 = +10 boost, so 20% would invoke at 52/50)

Describe alternatives you've considered
From what I have found, I have not seen anything other than the Hitpoints & Prayer notification settings. But it would basically be a mimic of that where the user can select a desired stat/stats.

Additional context
Nothing much to add that isn't explained in the details...

try reading the options in the boosts information plugin, its likely got what you want

Yeah this is already a feature with the Boosts Information Threshold. You'll probably need to enabled Send notifications when focused under RuneLite

Yeah this is already a feature with the Boosts Information Threshold. You'll probably need to enabled Send notifications when focused under RuneLite

Ok but what about, for instance, training combat with 2 drastically different level'ed skills? Like 60 attack, but 90 str. Naturally, the str will have a higher boost which will last longer - and the atk will have a lower boost that runs out faster. Now what if you don't care about the atk boost, just want to re-pot at a designated str boost?

The "Number" threshold type you described in your issue already exists. The percentage threshold does not.

The "Number" threshold type you described in your issue already exists. The percentage threshold does not.

Up until this thread, I had not realized that you could set a global threshold number for boosts; however I believe that the percentage threshold as well as selecting custom/specific skills (as mentioned in my previous comment) have good merit.


fix: Fix notifier bug that crept in #5297

Fix a bug that crept in

https://github.com/ChainSafe/lodestar/pull/5297

while displaying how much head differs from slot

:tada: This PR is included in v1.8.0 :tada:


Update to ARCore 1.2?

I know Google is working on bringing AR functionality to regular Chrome browser. But this seems to be still far away. Any chance to get WebARonARCore updated so ARCore 1.2 features can be used?

They're working on bringing it to a newer version of Chromium and a newer version of ARCore (1.1 or 1.2) but they can't give a time estimation yet

Fair enough. Knowing that there is work done in this direction is good to know.
Thanks for the answer.


Implement post /api/new-conversation

Description: Implement server.post('/api/new-conversation', (req, res) => {})

Should call botbuilder directline and start new conversation

Feature: #74

Decided that Slot Data API support for non-directline is too costly. SlotData API will only support direct line bots. This API endpoint is not needed.


Needs more info

Can this please have the equivalent's solution?

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

ID: 98513c27-0ac2-43f9-00ac-72a2989876e7
Version Independent ID: 50dd4d83-9de1-2901-4704-a45836309010
Content: Compiler Error CS0116
Content Source: docs/csharp/language-reference/compiler-messages/cs0116.md
Product: dotnet-csharp
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

I think I'll take a stab at this.

Thanks @jmarkman
Tag me if you have any questions.


hack/deploy.sh: Fix jq cannot iterate over null errors

Fix the  Cannot iterate over null (null) that occur in the deploy script.

/lgtm


POWERSWITCH_REMOTEPI_2015 needs shutdown flags to work correctly

Hi,
/tmp/reboot.please and /tmp/shutdown.please have been removed in the following PR :
https://github.com/recalbox/recalbox-emulationstation/pull/131/files
However, the powerswitch.sh script uses these flags to reset REMOTEPIBOARD_2005 hardware state when the shutdown is requested by ES.
Check https://github.com/recalbox/recalbox-emulationstation/pull/131/files Line 125.
/tmp/poweroff.please is the flag set by powerswitch.sh when the shutdown is requested by the hardware.
In a second hand, having an external flag to know which sort of shutdown is requested, can be useful for others scripts during shutdown.
Compilation in progress, tests will follow.
Note :
I made a typo in powerswitch.sh script as in the recalbox.conf, it is not REMOTEPIBOARD_2005, but REMOTEPIBOARD_2015.
In 2005 raspberry didn't exists and so the RemotePi Board.
Correction will follow, sorry for the inconvenience.
Regards,

Thanks


[Doc Improvement][Note for meeting app extensibility][2894691]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/design/map-use-cases.md
98
1
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/design/map-use-cases.md
98
1
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.


Hunt down OAI-PMH links for Pre-print repositories

If we find OAI-PMH links for any pre-print repositories CORE will add them, and we'll be able to serve them to users. Not many groups appear to have thought about pre-print aggregation, so investing a bit of time here would make sense.
The Process:

Go here: https://docs.google.com/spreadsheets/d/1zYOy6bcydDZ9G56FKmDzg_pexTarVsJR5hH0KiQGt_I/edit#gid=1494155948
Email groups without any OAI-PMH info asking them if they have one. CC both me and<EMAIL_ADDRESS>
Tips from Nancy:

Ask: we are wondering whether your repository supports the OAI PMH protocol and if you could share your OAI base URL with us. Include:  examples, like "your repository's OAI base URL may look something like http://example.com/cgi/oai2" or http://example.com/oai/request

When you hear back, fill in details and notify core if you get a link

Bonus:

Fill in any other details in the sheet where you stumble upon them

Going through OAI compliant register to find and check base URLs. Could use info to improve Wikipedia Preprint page.

I think that would be a great idea, hoping we don't count as having a conflict of interest?

This is slightly out of scope for this issue. But, to track progress somewhere. Today I:

Cross-referenced this list in Base and OpenAire (added SHARE earlier)
Removed some bogus entries
Added a OpenDOAR column and searched some
Computed aggregation coverage.
Spoke to some COS people about this

In terms of getting these aggregated, we should:

[ ] Suggest them to base: https://www.base-search.net/about/en/suggest.php
[ ] Suggest them to OpenAire
[x] Suggest them to COS

@JosephMcArthur can we speak further about this and the above checklist?

What do you need to know?


Tres inspect vite plugin PoC

Description
As a developer using TresJS, I want to be able to visually debug the different instances composing the ThreeJS scene, capture events, etc
Since vue dev tools is broken with the custom renderer (See #317) and other Dx-oriented tools are being born, such as https://github.com/webfansplz/vite-plugin-vue-devtools makes sense to experiment on an 'Inspect' plugin similar to https://github.com/antfu/vite-plugin-inspect/tree/main/src/client
Suggested solution
A vite plugin to enable a "debug" inspect route similar to https://github.com/antfu/vite-plugin-inspect/tree/main/src/client
Considering using useStorage or indexedDB https://vueuse.org/integrations/useIDBKeyval/#useidbkeyval
to share the state between the Tres App and the inspection route
Alternative
No response
Additional context
No response
Validations

[X] I agree to follow this project's Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

For inspiration
https://github.com/vitest-dev/vitest/pull/3584/files#diff-65653b9727a397833353a0f88b05b90954aa84ad4623c9ea19b57799da8aa56e

Closing this in favor of vue and nuxt devtools https://github.com/Tresjs/nuxt


Q: How to convert an input (h265 RTSP) and make available as h264 RTSP and Homekit

Help needed !
Running on a linux VM as go2rtc_linux_amd64 version 1.8.1
Q: How to convert an input (h265 RTSP in 4K resolution) and make available as h264 RTSP and Homekit compatible video
I have been trying all sorts of combinations.. but cannot get something basic to work.
YAMl file looks like this..
streams:
  CAM01:
    -<EMAIL_ADDRESS>    #-<EMAIL_ADDRESS>    #-<EMAIL_ADDRESS>    #-<EMAIL_ADDRESS>    - ffmpeg:CAM01#video=h264#audio=opus#hardware

homekit:
    CAM01:                    # same stream ID from streams list
    pin: 12345678           # custom PIN, default: 19550224
    name: CAM01             # custom camera name, default: generated from stream ID
    device_id: CAM01        # custom ID, default: generated from stream ID
    device_private: CAM01   # custom key, default: generated from stream ID

rtsp:
  listen: ":8554"
  username: "admin"
  password: "password"
  default_query: "video=h264&audio=opus"

Essentially, what I have is 4K resolution h265 RTSP stream coming from a camera... and I wish to convert it to
a) HomeKit compatible stream
b) RTSP stream (that is H264)
Also, how do I ensure that the output is only 1920x1080
My camera does not support H264 option; hence using go2rtc to try and convert it to a H264 compatible stream.

Thanks

Your config wrong. Wrong indents.

Your config wrong. Wrong indents.

Other than the indentation, are the parameters correct?
ffmpeg:CAM01#video=h264#audio=opus#hardware
Do I need to add anything else to add to the rtsp section?
The indents may have incorrectly pasted (in this ticket)… but the YAML loads fine.
I think the problem lies elsewhere…. Would much appreciate some more feeback…

First, you need to check if stream works in the WebUI


Dotnet-Monitor not exporting metrics with recommended config

Based on the latest update to my kubernetes yaml files (using a config file mount to pick up configurations), I was expecting it to emit metrics on port 52325. Instead, the http response comes back empty. It looks as the the configuration is not being respecting what is being fed to the command line of the pod on startup or it is overwritten by the config map?
deployment.yaml
...
        volumeMounts:
        - mountPath: /diag
          name: diagnostics
      - name: dotnetmonitor
        args:
        - collect
        - --diagnostic-port
        - /diag/port
        command:
        - dotnet-monitor
        image: mcr.microsoft.com/dotnet/nightly/monitor:5.0.0-preview.6
        imagePullPolicy: Always
        ports:
        - containerPort: 52325
          protocol: TCP
        resources:
          limits:
            cpu: "1"
            memory: 4Gi
          requests:
            cpu: "0.25"
            memory: 1Gi
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /diag
          name: diagnostics
        - mountPath: /etc/dotnet-monitor
          name: dotnetconfig-volume
      volumes:
      - name: bigcat-kv-csi-vol
        projected:
          sources:
          - secret:
              name: bigcat-fd-secrets
      - emptyDir: {}
        name: diagnostics
      - name: dotnetconfig-volume
        configMap:
          name: dotnetmonitor-configmap

dotnetmonitor-configmap.yaml
apiVersion: v1
kind: ConfigMap
metadata:
  name: dotnetmonitor-configmap
  namespace: {{ .Values.namespace }}
data:
    Metrics__Enabled: "true"
    Metrics__IncludeDefaultProviders: "true"
    Metrics__Providers__0__ProviderName: Microsoft-AspNetCore-Server-Kestrel
    Metrics__Providers__1__ProviderName: Microsoft-AspNetCore-Http-Connections
    Metrics__Providers__2__ProviderName: System-Net-Security
    Metrics__Providers__3__ProviderName: System-Net-Http
    Metrics__UpdateIntervalSeconds: "30"
    Metrics__AllowInsecureChannelForCustomMetrics: "true"
    DotnetMonitor_DefaultProcess__Filters__0__Key: "ProcessName"
    DotnetMonitor_DefaultProcess__Filters__0__Value: "dotnet"

When I run a dotnet-monitor show on the pod, I see the following:
/app # dotnet-monitor config show
{
  "urls": "https://localhost:52323",
  "Kestrel": ":NOT PRESENT:",
  "CorsConfiguration": ":NOT PRESENT:",
  "DiagnosticPort": {
    "ConnectionMode": "Connect",
    "EndpointName": null
  },
  "Metrics": {
    "AllowInsecureChannelForCustomMetrics": "true",
    "Enabled": "true",
    "Endpoints": "http://*:52325",
    "IncludeDefaultProviders": "true",
    "MetricCount": "3",
    "Providers": {
      "0": {
        "ProviderName": "Microsoft-AspNetCore-Server-Kestrel"
      },
      "1": {
        "ProviderName": "Microsoft-AspNetCore-Http-Connections"
      },
      "2": {
        "ProviderName": "System-Net-Security"
      },
      "3": {
        "ProviderName": "System-Net-Http"
      }
    },
    "UpdateIntervalSeconds": "30"
  },
  "Storage": {
    "DumpTempFolder": "/tmp/"
  },
  "DefaultProcess": {
    "Filters": {
      "0": {
        "Key": "ProcessId",
        "Value": "1"
      }
    }
  },
  "ApiAuthentication": ":NOT PRESENT:",
  "Egress": ":NOT PRESENT:"

dotnetmonitor-configmap.yaml
apiVersion: v1
kind: ConfigMap
metadata:
  name: dotnetmonitor-configmap
  namespace: {{ .Values.namespace }}
data:
    Metrics__Enabled: "true"
    Metrics__IncludeDefaultProviders: "true"
    Metrics__Providers__0__ProviderName: Microsoft-AspNetCore-Server-Kestrel
    Metrics__Providers__1__ProviderName: Microsoft-AspNetCore-Http-Connections
    Metrics__Providers__2__ProviderName: System-Net-Security
    Metrics__Providers__3__ProviderName: System-Net-Http
    Metrics__UpdateIntervalSeconds: "30"
    Metrics__AllowInsecureChannelForCustomMetrics: "true"
    DotnetMonitor_DefaultProcess__Filters__0__Key: "ProcessName"
    DotnetMonitor_DefaultProcess__Filters__0__Value: "dotnet"

The DotnetMonitor_ prefix is only usable for environment variables to give precedence over the non-DotnetMonitor_ environment variables and all other sources of configuration. If used in a configmap, it means you are trying to literally add "DotnetMonitor_DefaultProcess:Filters:0:Key" to the configuration; dotnet-monitor is not looking for that.
Change
DotnetMonitor_DefaultProcess__Filters__0__Key: "ProcessName"
DotnetMonitor_DefaultProcess__Filters__0__Value: "dotnet"

to
DefaultProcess__Filters__0__Key: "ProcessName"
DefaultProcess__Filters__0__Value: "dotnet"

and that should be resolved correctly in configuration.

Also, as an FYI, Preview 6 was released on July 22 and is available at mcr.microsoft.com/dotnet/monitor:5.0.0-preview.6

Great! Thanks, Justin! Also, that was the cause, all working great now! I think we can close this bug now. :)

Glad to hear it's working.


Add Antora Lunr Extension

This PR adds lunr-extension to libs.playbook.yml and site.playbook.yml.
Minor changes have been applied to antora-ui to add a checkbox for limiting search scopes.
The size of generated search-index.js for site.playbook.yml is 871KB.
The size of generated search-index.js for libs.playbook.yml (which currently includes mp11, predef, qvm, and unordered) is 2.1MB.
It seems impractical to use in-browser search for searching all libraries in the Boost (we should expect a search-index close to 100MB).

It should be squashed though. It doesn't look like the first commit justifies itself.


Server crash with painted glowstone and carpenters

http://pastebin.com/Z4LbSyEQ

are you using version 2.2.8 349 ??
so what did you do exactly that caused the crash ? did you use painted glowstone on a carpenter block or ??

nope i don't, it happens on server stat when i update all the cofh mods to latests versions
i use EnderIO-1.7.10-<IP_ADDRESS>.a5ff6dd an equivalent of the 350/351 build i guess

I don't see how this is caused by EnderIO - maybe your world got corrupted?

works fine with the actual version of the cofh mods it happen only when i upload them

Try downgrading cofh again and see if it stops crashing.
In any case EnderIO does not depend on cofh - and I don't think carpenters does either. So I don't see why this should have any effect.

apperently it's fixed... with the new "stable" versions of all cofh mods it start fine :) weird issue

Fixed this need to backdate all cofh mods to december versions and update again with stable ones

Fixed this need to backdate all cofh mods to december versions and update again with stable ones


Stewardship of this repository

It has been discussed for a while now how this repository is being maintained, as exemplified by @goofballLogic in https://github.com/NuGet/json-ld.net/pull/24#issuecomment-377193661. The NuGet team seems to have run out of active maintainers and pull requests remain open for months and issues open for years without any attention.
A discussion on the public-linked-json mailing list brings forth different options for how the community can contribute to bring the stewardship of this repository back on track so the .NET community can have a well maintained and up to date JSON-LD implementation.
Here are some suggestions for how to move forward:

Set up a semi-automatic Sharpen-conversion from jsonld-java that will be repeated every now and then.
Add more maintainers to this repository.
Move the repository to a different organization.

We would love to get some input from @emgarten, @sblom or anyone else that have ownership status of this repository at the moment, because the current state of affairs is unfortunate.

@skofman1 @rrelyea  would you help make a decision on this?
I would really like to see this project move forward, and these look like great suggestions for allowing that to happen.
NuGet gallery still uses this library as far as I know, but the current implementation works fine for them and there has not been any work done by the NuGet team in quite some time. My guess is that consumers of nuget.org aren't reading it as json-ld, so even if things are incorrect, no one is reporting it. Which is why this isn't being updated.
The issues and PRs coming in for this repository require a lot of technical expertise on RDF and json-ld. It takes a effort to determine if a PR is actually the correct fix for an issue just based on the json-ld output. @sblom, @johnataylor, and myself who previously worked on this library are no longer on the NuGet team which has made this more difficult.

@asbjornu , @goofballLogic thanks for bringing this to our attention. I will work with the team to determine the best course of action.

Note that jsonld-java is, itself, only lightly maintained. Other implementations are updating with features from the JSON-LD 1.1 CG Spec, and a new JSON-LD Working Group is being chartered, so if developers are interested in moving this version forward, it would be shame if they are handicapped by less progress on the jsonld-java side.
There is no substitute for active and interested maintainers.

Tom Marsh (@tmarshbing) who coordinates Microsoft (incl. Bing's) participation in Schema.org

Thanks everyone, for you enthusiasm in making contributions or taking this repository forward.
After a conversation internal to the NuGet team, we realized that we did not have any expertise left on the team who can successfully maintain this repository and either contribute directly to it or manage our community contributions. While NuGet.org has a dependency on this package, we have not really required any code changes for many years now, and we don’t see this changing.
In order to take this repository forward as expressed by the community, we are proposing the following:
•	We will work with anyone in the community who has a strong interest in this code-base to transfer ownership of the repository to you (or a set of you).
•	We will transfer the repository from being under the NuGet organization to another organization that the owners decide.
•	We will also transfer ownership of the packages on NuGet.org to another account that the owners decide.
There will be no changes that the NuGet team will propose the licensing terms, code of conduct, and such and we will defer all future decisions regarding the code in this repository to its new owners. The transfer of ownership will be as-is.
Please let us know your thoughts about this plan. If there is general consensus, we will work on the next steps to identify a set of future owners for this repository.

I have a strong interest in this code base.
I'll mention this on the public-linked-json W3 mailing list to see if others are interested, and to encourage brainstorming ideas about where best to host the repository moving forward.
Note that I personally would have no objections to maintaining the repository within the Nuget organisation as the Nuget name lends some authority to the package. However, I can understand you may not wish to have outsiders maintaining a package in your name.

have outsiders maintaining a package in your name

Isn't that the essence of open source collaboration? 🙃
As long as there is an active maintainer who would take care of code quality and coverage I think it's a good choice to stay under the NuGet organisation.

Those who responded on the public-linked-json W3 mailing list agree that it would be good for the repo to remain part of the Nuget organisation. This would mean:

Creating a repo-specific group for maintainers with administrative privileges over this repository
Specifying the members of this group as "Package Owners" for purposes of publishing to Nuget

Is this something that you are open to @skofman1 ?

@tmarshbing - as mentioned above to @skofman1 we think it would be good for this library's profile to remain within the NuGet organisation. Is it possible to set up a group of maintainers (I am volunteering) with administrative rights over just this repo, and the ability to publish to NuGet ?

@goofballLogic , @tpluscode ,

As long as there is an active maintainer who would take care of code quality and coverage I think it's a good choice to stay under the NuGet organisation.

There's no one in the NuGet team that can maintain the repository, since, as was mentioned before, we have no knowledge left on the team on this code base. We can't lend our name to a code base we can't guarantee the quality off, hence, to allow open source collaboration, the repository must move out of NuGet's GitHub organization.

I suggest that the repo is moved to the https://github.com/linked-data-dotnet organisation which I have set up as a (temporary?) location so we can start fixing things. @tpluscode @asbjornu @gkellogg @tmarshbing - anyone wish to propose otherwise?

@goofballLogic: As the repository can be moved from @linked-data-dotnet whenever we find a better home for it, I give it my two thumbs up. 👍

I was going to propose https://github.com/json-ld but I see that it doesn't really host any implementations. I guess I too agree with @goofballLogic. The only other org I found is https://github.com/RDF-Utilities-dotnet which doesn't offer much more visibility either.

HA! It did cross my mind but I don't know what @kal would say given recent effort for dotNetRDF's own JSON-LD support 🙃

Thanks @tpluscode! As much as I would like to support this code base too I think I have my hands full with dotNetRDF :-)

@goofballLogic: Sure. We can always rejuggle ownership and administration after the transfer is complete.

Sounds good @goofballLogic !
Will handle the transfers next week.

This sounds sensible. We could also point to the project from Schema.org
somewhere if that helps. Better JSON-LD support in every language is
certainly something in line with our efforts...
On Fri, 27 Apr 2018, 16:54 Svetlana Kofman<EMAIL_ADDRESS>wrote:

Sounds good @goofballLogic https://github.com/goofballLogic !
Will handle the transfers next week.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NuGet/json-ld.net/issues/26#issuecomment-385121300,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKZGUrzm2109DCWppr3Jei-X0IA9ATxks5ts6-dgaJpZM4TNzI3
.

@goofballLogic , I need permissions to create repositories in  https://github.com/linked-data-dotnet in order to perform the transfer.

Just invited you
Sent from TypeApp
On 1 May 2018, 17:44, at 17:44, Svetlana Kofman<EMAIL_ADDRESS>wrote:

@goofballLogic , I need permissions to create repositories in
https://github.com/linked-data-dotnet in order to perform the transfer.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/NuGet/json-ld.net/issues/26#issuecomment-385719820

Repo transfer completed 😄
Regarding the package on nuget.org, I recommend that you create an organization to own the package, and add all other contributors to this org. Documentation here: https://docs.microsoft.com/en-us/nuget/reference/organizations-on-nuget-org

Thanks @skofman1 I have set up https://www.nuget.org/profiles/linked-data-dotnet for this purpose

@goofballLogic , ownership request sent. After you accept I will remove 'nuget' as an owner.

In my humble opinion, a general purpose .NET Standard 2.0 compatible, easy to digest JSON-LD 1.1 library is difficult to find and considering the importance, I find it a bit odd there isn't one baked into the official framework. Just in case, I'd like to page @RehanSaeed of https://github.com/RehanSaeed/Schema.NET. It'd would be great to see efforts pooled, unfortunately for the time being I lack the expertice to contribute much anything. It's the knowledge-available time gap.

Plans exist to try and update the library by the end of next month. However, this will likely be just getting the 1.0 version up to date.
Once updated, the upgrade path to 1.1 should be much simpler and PRs will be welcome.


Prepare a friendly PR and issue template

Mentioning tests, change log, good practices regarding description (version, impact, steps to reproduce).

Hey! Thanks a lot. I'm very glad you found it useful and I really like your example. Please see the review in #11

Hey! Thanks a lot. I'm very glad you found it useful and I really like your example. Please see the review in #11


Feature Request: Send text instead of files

In addition to sending binaries, it would be great if you could send arbitrary text to another device, such as simple text box to type or paste into.
Who will use the feature?
Anyone wishing to send text from their browser to their device (or vice versa)
When will they use the feature?

Sending a long URL between an iPad and a Windows desktop (no iCloud tab sharing)
Pasting large amounts of text (notes) between devices

What is the user’s goal?
There is a great app on iOS called "Clips" which uses iCloud to sync text snippets between your iDevices.  Snapdrop could fill the hole here by providing said functionality.

What do you think about this implementation?

This is a fantastic start, however there are a few further ways the implementation could be improved:
General Problems

Modal window says "Send Text" for a window title AND "Enter text" for a prompt, which is redundant; Additionally, the phrase "enter text" doesn't appear until one has already entered text, making it completely unneeded.
When receiving long text (see below), the window does not scroll, making it impossible to view the entire contents.
The phrase "tap" doesn't apply to non-touchscreen desktops; "click" would be more appropriate
When sending a second Text message, the first text is still in the Edit window; you need to manually clear it out
You can send a blank message, which still makes the other device play the "pop" sound when empty string is received, though it does not display the received window

On Desktop

"Send Text" window is very small; wastes screen space
"Copy" button in Received Text window doesn't work on Firefox; didn't test other browsers. May be a security thing?

On Mobile

Text entry dialog jumps around the screen when editing long text
Its hard to scroll the text entry dialog on iOS

Sample Text Used
Bacon ipsum dolor amet turkey rump swine, strip steak chuck tenderloin cupim shank pork loin pastrami pig meatloaf tail. Ribeye chicken meatball swine boudin. Jowl turducken hamburger andouille. Tri-tip frankfurter pork belly sirloin turkey kielbasa corned beef shank bacon chuck andouille. Corned beef kielbasa t-bone, beef boudin porchetta short loin kevin pork belly fatback chicken prosciutto strip steak flank cupim. Cow pancetta shoulder, venison doner kevin bacon hamburger jowl turkey chuck ham hock picanha ground round short loin.
Ham sausage filet mignon hamburger shoulder, cow meatball t-bone fatback. Prosciutto corned beef jowl hamburger, meatball frankfurter fatback ham hock pancetta tenderloin turducken ribeye doner venison swine. Bresaola landjaeger turkey prosciutto frankfurter chuck filet mignon short ribs corned beef leberkas. Hamburger ball tip pork loin flank strip steak rump. Capicola kielbasa strip steak ground round turducken flank tongue. Pancetta jowl capicola shankle tenderloin leberkas sirloin pork ham hock ham landjaeger. Tenderloin capicola flank, t-bone frankfurter pork chop prosciutto ham shoulder kevin.
(http://baconipsum.com/)

This feature is a life saver. I do agree that the text box needs to be larger.


Returning the Hessian of the empirical risk

Hi,
I came across your implementation of the Influence Function and am interested in separately grabbing the Hessian that is needed for the calculations. Is there a way for me to grab it without having to break apart the code?
thank you very much.

Hi tranlm,
Did you mean Hessian vector product like here? If you are using python tensorflow, you have to import python module and just call as below.
from tensorflow.python.ops.gradients_impl import _hessian_vector_product

_hessian_vector_product(ys, xs, v)

In our code in here for Hessian vector product.
Thank you.

Thanks!
I noticed while looking into this that the original authors have also released their code implementation of the paper. Have you noticed any implementation differences?

Our implementation is basically not much different. The original one only considered output layer as trainable parameters to calculate influence and it only applied to their experimental networks, but ours use all layers and is more general applicable to any networks, and more optimized and easy to use.


[FIX] More fixes for atlas numbering

Codecov Report

Merging #30 into master will increase coverage by 0.16%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #30      +/-   ##
==========================================
+ Coverage   98.25%   98.42%   +0.16%
==========================================
  Files          14       14
  Lines         631      634       +3
==========================================
+ Hits          620      624       +4
+ Misses         11       10       -1

Impacted Files
Coverage Δ

abagen/tests/test_allen.py
100% <100%> (ø)
:arrow_up:

abagen/allen.py
100% <100%> (+0.92%)
: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 ab2c232...552b24d. Read the comment docs.

Pull Request Test Coverage Report for Build 161

5 of 5 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 98.423%

Totals

Change from base Build 157:
0.2%

Covered Lines:
624

Relevant Lines:
634

💛  - Coveralls


Extra Credit: Graphic/Color Display

Add title screen and/or add numbers of cards to window screen

Won't be done :(


Fixed those pesky rapper names.

I think I've done this properly now.

Nope, i went and messed it up again.

Pull Request Test Coverage Report for Build 689

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

Totals

Change from base Build 687:
0.0%

Covered Lines:
746

Relevant Lines:
1201

💛  - Coveralls


f20v2 fpga failsafe failure

something odd going on with the failsafe failure backup mode.
seems the fbupdate 1.0.x.x.x.x on the newer boards does not actually write the failsafe image anymore. fbupdate 2.x does tho
need to work out whats going on there

new boards dont work with the previous fbupdate utility..
just need to update failsafe image --failover with fnic_flash utility. so far only 1 catastrophic failure... i mean it takes real work to remove the power cable physically from the machine when doing a FW update. closing