ToSql not implemented for rusqlite::types::ValueRef

Well, the title says it.
This makes is impossible to use ValueRef as parameters for Statement::execute and related functions.

I have fixed this for myself locally, will create a pull request soon.


[WinUI3Gallery] TitleBar Conflicts with App Contents

The WinUI 3 TitleBar is conflicted with app contents and user can't click the "Top Style" Navigation.
https://user-images.githubusercontent.com/74437699/187055999-5b317cf0-556a-4136-bc02-b358cbc58ab1.mp4

The same bug is found. Maybe they forgot to add a "safe area" as WinUI 2 Gallery does.


Is there any milestone for final release ?

What problem does this feature solve?
Is there any ETA or milestone for the final release?
What does the proposed API look like?
Thank you.

Thanks for opening an issue. There are still a few things in the works, such as:

Bug fixes
A new powerful API to modify the entry file
Releasing the UI!

Thanks for the quick reply.


Virtualbox 5 Support

I install Virtualbox version 5 via Caskroom to use as my dinghy vagrant provider, but when I do dinghy up, I see the following error:
❯ dinghy up -p virtualbox
The provider 'virtualbox' that was requested to back the machine
'dinghy' is reporting that it isn't usable on this system. The
reason is shown below:

Vagrant has detected that you have a version of VirtualBox installed
that is not supported. Please install one of the supported versions
listed below to use Vagrant:

4.0, 4.1, 4.2, 4.3
/usr/local/Cellar/dinghy/3.0.3/cli/dinghy/vagrant.rb:21:in `up': There was an error bringing up the Vagrant box. Dinghy cannot continue. (RuntimeError)
	from /usr/local/Cellar/dinghy/3.0.3/cli/cli.rb:33:in `up'
	from /usr/local/Cellar/dinghy/3.0.3/cli/thor/lib/thor/command.rb:27:in `run'
	from /usr/local/Cellar/dinghy/3.0.3/cli/thor/lib/thor/invocation.rb:126:in `invoke_command'
	from /usr/local/Cellar/dinghy/3.0.3/cli/thor/lib/thor.rb:359:in `dispatch'
	from /usr/local/Cellar/dinghy/3.0.3/cli/thor/lib/thor/base.rb:440:in `start'
	from /usr/local/bin/dinghy:5:in `<main>'

I'm fairly certain this is a Vagrant error... investigating

I think this is because I have an old version of vagrant...
❯ vagrant -v
Vagrant 1.7.2

The latest one is 1.7.4 as of right now. Sorry for the trouble!


Prefer const returning false positives

Bug Report

TSLint version: 4.5.1
TypeScript version: 2.1.0
Running TSLint via: (pick one) gulp-tslint

TypeScript code being linted
const value: string = el.value;

with tslint.json configuration:
{
  "extends": "tslint:latest",
  "rules": {
    "no-namespace": [
      false
    ],
    "member-access": [
      false
    ],
    "object-literal-shorthand": false,
    "trailing-comma": [
      false
    ],
    "no-angle-bracket-type-assertion": false,
    "object-literal-sort-keys": false,
    "whitespace": [
      false
    ],
    "no-consecutive-blank-lines": [
      true
    ],
    "no-console": [
      false
    ],
    "no-string-literal": false,
    "ban-types": false,
    "only-arrow-functions": [
      false
    ]
  }
}

Actual behavior
src/main/class-code/code-entry-signup.ts[197, 11]: Identifier 'value' is never reassigned; use 'const' instead of 'let'.

Expected behavior
Code already uses const, no error should show

Can you provide more code to reproduce the bug?
Maybe the variable is shadowed or something ...
With the provided code snipped I can only guess.

👏 @xscheiner closing this issue for housekeeping purposes - if this is still causing problems on your end, please do post some source code we can take a look at!


Add tab completion for newer IPython.

Fixes #819.
Add test showing IPython.embed_kernel() because only this handles keystrokes correctly for me.

LGTM, thanks!


Crash on startup

"The game crashed whilst there was a severe problem during mod loading that has caused the game to fail
Error: net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from NetherEx (netherex)"
Crash report:
crash-2019-09-12_19.43.36-client.txt
Modlist:

This issue has already been resolved. You need to use the most recent release of NetherEx. https://github.com/LogicTechCorp/NetherEx/issues/192


Add a link to the Kinto repository

Once this is merged (if it is), we'll need @natim to deploy again.
Looks like that:

Actually changed it to be on the bottom right. See capture.

On mobile, it does not look very nice :(


conda install misses tensorflow-metadata and tensorflow-addons

When installing conda environment I got an error:
ResolvePackageNotFound:
  - tensorflow-metadata=0.15.1
  - tensorflow-addons=0.6.0

I edited environment.yml and moved these two packages under pip.
then conda env create ran without error. However pip install part uninstalled some packages and reinstalled another version of them. See log file below.
I can activate tf2 environment without error. I have not tried yet to run any notebook.
install.log

Hi @aseedb ,
Thanks for your feedback. I updated environment.yml recently, and I made a couple mistakes, sorry about that. I just fixed this, it should work now.
Hope this helps.


Python implementation is not constant time

The __ctverify does not run in constant time as Python ignores the second argument to and if the first is False.
Easily verified with
def __ctverify(a,b):
    r = True
    for i in range(len(a)):
        r = r and (a[i] == b[i])
    return r

a = [0]*1000000
b = list(a)
b[0] = 1

import time

start = time.time()
__ctverify(a,b)
print (time.time() - start)

start = time.time()
__ctverify(a,a)
print (time.time() - start)

Hi Bas, yes you're right, that should be fixed.
I think the following code using bitwise operations on integers should mostly do it, assuming that Python does not short-circuit any bitwise operations (I can't tell if that's the case from their documentation).  I'm not sure if it's necessary to do something more in the final r == 0 test to ensure constant-time.
def __ctverify2(a,b):
    r = 0
    for i in range(len(a)):
        r = r | (a[i] ^ b[i])
    return r == 0

Hmmm... the fact that 0 uses 0 limbs would mean code elsewhere in the Frodo python codebase would not be constant-time.  (Which I would say is out of scope of this Python implementation, the purpose of which is to provide an easy-to-read implementation that closely matches the FrodoKEM spec pseudocode.  Although I guess one could make everything a ctypes.c_uint16?)
If we're staying with Python int's, then one could try to convert them to bytes or strings and then iterate through the bits/characters of that string to manually do the equality test, but I'd worry that there could be some hidden problems in that conversion to bytes or strings...
I wonder whether it is possible to do a convincingly constant time implementation in Python at all...

Yeah, I think it's quite hard using pure Python.  And Python's behaviour might change as well (in Python2 there is a separate type for small integers, which didn't have this 0 case.)

Indeed, I'd say the primary goal of the Python implementation is to be readable.  Trying to make it constant-time will hinder that goal.  It would be good to add a big fat disclaimer as there are actually use cases for pure Python implementations in production (appengine, pypy.)

Okay, I've added a warning to the README as well as a warning that is printed out every time the code is run. I also did replace the ctverify with the slightly better (but still not perfect) version above.  See PR #20.

what about splitting the logical step?
like:
def __ctverify(a,b):
    r = True
    for i in range(len(a)):
        r1 = (a[i] == b[i])
        r = r and r1
    return r

Equality does not run in constant time as comparing zero against zero is faster than 1 against 1.

Just noticed that the pyca/cryptography module we're using has a constant-time equality check, but only for bytes; we're comparing arrays of int's.  We could convert the arrays of int's back to bytes (by running the FrodoKEM pack operation), but that could again be burying a timing leak.

It uses Pythons' internal hmac.compare_digest.  The big issue is that constant-time arithmetic in Python is hard.


[1.2] [Android] OnboardingPayloadParser cant parser optionalQRCodeInfo

Reproduction steps
QRCode data as below
MT:6ZWJ0E.N16OXN77XG3P04-O-1ILZJ29CZK1VNYE1NPTE1KADO1ZTZR19EUE1ZK8N1JC-L10OK523FFU1Q1HN28K4S21E7G2B1FU1O3VE10.9E32NTO3TXWE1ETE528F0T0
var payload = OnboardingPayloadParser().parseQrCode(str)
payload.optionalQRCodeInfo is empty
but if  use 1.1.x version use
SetupPayloadParser.parseQrCode() can get optionalQRCodeInfo
please help fix
Bug prevalence
every time
GitHub hash of the SDK that was being used
tag:<IP_ADDRESS>
Platform
android
Platform Version(s)
No response
Type
Platform Issue
Anything else?
No response

@freemanspace  could you try this https://github.com/project-chip/connectedhomeip/pull/31251? which add optional qr code info support


fix aria:Button had its title attribute on the span instead of button

This PR fixes an issue with the aria:Button widget with screen readers: the fact that the title attribute was not set on the button tag but on the containing span was preventing Jaws from reading the tooltip.

@fbasso Thank you for your review!


Whiteboard database structure

Whiteboard database structure
#56 might be the idea

https://jamboard.google.com/d/1HnX0PeT94_YoP5pN8wncsFHNIJ3_4kpMKyynafqZm9I/viewer?f=2


Remove packaging tools in why rudr

No need to mention packaging tools, it's the scenarios for OAM, not Rudr

lgtm


Make clear that we are using ptrdiff_t as the iterator difference type.

And ptrdiff_t is a implementation defined signed type. Comparing it
with unsigned number literal causes compiler warnings.

+2


popper ls command added

Addresses #434

Hello @UjjwalAyyangar! Thanks for submitting the PR.

In the file cli/popper/commands/cmd_ls.py, following are the PEP8 issues :

Line 8:80: E501 line too long (80 > 79 characters)
Line 25:1: W293 blank line contains whitespace


Echo engine endpoint coverage

Echo engine now properly handles pretranslations.

This change is

This requires one more small tweak Peter would like before merging.

Lets merge in the integration branch first, and then this one should be a piece of cake.

I'm nearly done here. It just took a bit of back and forth to verify what the SF team wanted.

I believe this is now functioning correctly.


Kanji is broken in the original code

e-mailed the author but it is a long shot as his latest update was 9 years ago
will have to do my own implementation

Turned out as long as you set the internal multi-byte encoding right the code works just fine
e.g. mb_internal_encoding('SJIS');


Format header image and readme.md

Small fixes

@agahkarakuzu the figure is badly squished on mobile:

Is there any ways (maybe using html tags?) that this could be fixed? I checked on the SCT page, and their large image (second image) isn't squished like ours:

Coverage remained the same at 43.668% when pulling d0daad1f93c36465e60ea289721e92b076ebae97 on hdr_rellink into d6ab394e163e7461b2bdb293202549897b858faa on master.

@mathieuboudreau I've resolved your suggestions, can you do the final check for this one?


Request: Launcher for Apple 2

Hello Christian,
Thank you so much for doing all this work, it's an amazing result!
I have a request- I've spent some time trying to get apple 2 working, but I can't seem to find a core that will launch the basic apple2p or apple2e rom. it appears the method is basically "mame apple2p -flop1 $FLOPPY_NAME.dsk". This works for me in mame, though I suspect there is something I am doing wrong when I try to create a launcher in /etc/emulationstation/es_systems.cfg.
is there a core that will currently support this, and please if so what do I need to make it work?

I've been looking for various solutions for Apple 2.  I did hear that Mame is able to do Apple 2 but not sure if it's with the standalone or libretro core.  Have you tried this with the libretro Mame core?  This is how you can run it from within a terminal session in ArkOS.
/usr/local/bin/retroarch -L /home/ark/.config/retroarch/cores/mame_libretro.so "Your rom"

OK, after experimenting more on a different ubuntu system with mame 2003
standalone binary:
*./mame apple2e -flop1 $disk_image *
apple2e.zip is BIOS / HWinfo for the system
-flop1 tells it to use the correct floppy driver size
$disk_image would be SOMENAME.dsk
The most commonly supported bios files are apple2p.zip and apple2e.zip .
Disk images seem to come in "Filename.dsk" or "Filename.DSK"
That defaults to a fullscreen apple 2 booting the disk requested. Exiting
was slightly odd, had to hit scroll lock to enable hotkeys, then esc
worked. Looks like some toggles for default full emulation (no hotkeys
work) in the config though I didn't manage to get it defaulting right.
On Mon, Oct 16, 2023 at 4:06 PM Dan Beimborn @.***> wrote:

It seems you need a bios (cg apple2p.zip or apple2e.zip). WHen I load
directly in mame I get the "APPLE ][" on top of screen and a cursor, but
not with mame_libretro.so.
Using the standalone mame 2003 binary, it looks like "mame apple2p -flop1
./PATH/TO/disk.image.dsk"
The retroarch core complains about any CLI args after the apple2p.zip rom
name.
I've tried a couple approaches (with mame_libretro.so, mame2003_plus.so,
mess.so)
    <system>
            <name>apple2</name>
            <fullname>Apple 2</fullname>
            <path>/roms2/apple2/</path>
            <extension>.zip .ZIP .dsk .DSK</extension>
            <command>sudo perfmax %EMULATOR% %CORE%;nice -n -19

/usr/local/bin/apple2.sh retroarch mame2003_plus %ROM% ; sudo
perfnorm
arcade
apple2

This was trying to pass args, though it still fails here as well as on
console..
@.***:~$ cat /usr/local/bin/apple2.sh
#!/usr/bin/bash
/usr/local/bin/"$1" -v --log-file=/tmp/output -L
/home/ark/.config/"$1"/cores/"$2"_libretro.so apple2p -flop1 "$3"
I also tried adding a hash file to the various cores
cg
/roms2/mame2003/mame2003-plus/hash/apple2.xml
Here's a head of that file (sourced from another retroarch build)

    <software name="4080trkd">
            <description>40 and 80 Track DOS</description>
            <year>1980</year>
            <publisher>Sympathetic Software</publisher>

            <part name="flop1" interface="floppy_5_25">
                    <dataarea name="flop" size="143360">
                            <rom name="40 and 80 track dos

(19xx)(sympathetic software).do" size="143360" crc="3799c15b"
sha1="d0a4c4e50abbb938e38d6f0f129f92e8057c410a" offset="0x0000" />

    <software name="a2desk10">
            <description>Apple II Desktop (v1.0)</description>
            <year>1986</year>
            <publisher>Version Soft</publisher>

            <part name="flop1" interface="floppy_5_25">
                    <dataarea name="flop" size="143360">
                            <rom name="apple ii desktop v1.0

(1986)(apple)(disk 1 of 2).po" size="143360" crc="a8f73424"
sha1="71bde1abaea5df140aeb212ef0d78aeb40af5ccb" offset="0x0000" />

On Mon, Oct 16, 2023 at 3:47 PM christianhaitian @.***>
wrote:

I've been looking for various solutions for Apple 2. I did hear that Mame
is able to do Apple 2 but not sure if it's with the standalone or libretro
core. Have you tried this with the libretro Mame core? This is how you can
run it from within a terminal session in ArkOS.
/usr/local/bin/retroarch -L
/home/ark/.config/retroarch/cores/mame_libretro.so "Your rom"
—
Reply to this email directly, view it on GitHub
https://github.com/christianhaitian/arkos/issues/815#issuecomment-1764647384,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHCUXP3644EBJHAY5X5CBMTX7VCJRAVCNFSM6AAAAAA6B6Y3P6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRUGY2DOMZYGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Interesting- I'll have a crack. It's a fairly complex config there, I might
actually try it out on windows first.
do you test on a "simpler" unix at all, oracle vbox or similar? I've an
rg353m + keyboard/hdmi out to get a larger screen etc, though it's still a
little easier from a PC with lots of ssh windows
On Tue, Oct 17, 2023 at 3:11 PM christianhaitian @.***>
wrote:

I just found a post online that seems like someone figured out how to run
apple2 via retroarch.
https://forums.launchbox-app.com/topic/70581-apple-ii-via-retroarch/
—
Reply to this email directly, view it on GitHub
https://github.com/christianhaitian/arkos/issues/815#issuecomment-1766503669,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHCUXP6Q2R6KPLUSEUE5PP3X72GZVAVCNFSM6AAAAAA6B6Y3P6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRWGUYDGNRWHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

I test directly in the OS.  Usually just within a ssh session.

Not sure what I'm doing wrong, but I can't seem to get retroarch to launch
an apple2 file. I've tried lots of approaches but no luck getting mame or
mess core to launch an apple2p or apple2e bios + disk image. standalone
mame on windows is pretty happy to take "mame apple2e -flop1
/path/disk_image.dsk" and launch!
I tried "apt install mame" to get standalone, though that launches with a
complaint:
arm_release_ver of this libmali is 'g2p0-01eac0', rk_so_ver is
'3'.Segmentation fault
I'm normally pretty low-level with unix, but even stracing the retroarch
cmds didn't show me anything obviously missing/wrong
On Wed, Oct 18, 2023 at 2:23 PM christianhaitian @.***>
wrote:

I test directly on device within the OS. Usually just within a ssh session.
—
Reply to this email directly, view it on GitHub
https://github.com/christianhaitian/arkos/issues/815#issuecomment-1768452578,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHCUXP32O5YYABSWLT4KQIDX77J3XAVCNFSM6AAAAAA6B6Y3P6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRYGQ2TENJXHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Ok, success. I'm able to get it working and make a manual collection.
Spaces in disk image names is a problem, but mess_libretro.so handles
apple2 really nicely! We should be able to get this to now run Mac..
apple3.. applegs.. and indeed any other computer style system with
secondary disk images that MESS supports.
Here's my working es_systems.cfg snippet:

apple2
Apple 2
/roms2/apple2/
.zip .ZIP
sudo perfmax %EMULATOR% %CORE%;
/roms2/apple2/rungame.cmd %ROM% ; sudo perfnorm
arcade
apple2

"apple2" already present in themes. I filled in platform "arcade", wasn't
sure what to put there!
Here is the bash script to run games that I stuck into the roms folder.. I
think it can go anywhere?
@.***:/roms2/apple2$ cat rungame.cmd
#!/usr/bin/bash
/usr/local/bin/retroarch -L
/home/ark/.config/retroarch/cores/mess_libretro.so "apple2e -rp
/roms2/bios/ -gameio joy -flop1 $1"
*NOTE It fails if there are spaces in the file names. *I found one chat
thread here:
https://www.arcadepunks.com/arcade-punks-arcade-building-modding-and-gaming-forum/myretrozz-classic-minis/for-those-about-to-retroarch-mame/
bios files go in /roms2/bios per the "-rp" flag in the command.. it needed
at least
20091 00:12:21.047934 openat(AT_FDCWD, "/roms2/bios/apple2e.zip", O_RDONLY
<unfinished ...>
20091 00:12:21.048753 openat(AT_FDCWD, "/roms2/bios/votrax/sc01a.bin",
O_RDONLY <unfinished ...>
20091 00:12:21.048930 openat(AT_FDCWD, "/roms2/bios/votrax.zip", O_RDONLY)
= 5
20091 00:12:21.050243 openat(AT_FDCWD, "/roms2/bios/a2diskiing.zip",
O_RDONLY) = 5
20091 00:12:21.051609 openat(AT_FDCWD, "/roms2/bios/d2fdc.zip", O_RDONLY) =
5
Note that a2diskii.zip was the bios I found from the conversation you'd
linked earlier in the thread..  I had to rename to a2diskiing.zip after
stracing to see where it failed..
To-do:

I haven't quite worked out controller mappings yet, that will be
interesting. A lot of these were custom keyboard keys to map, some support
joystick etc.
I think we can add state saving and config paths in the rungame.cmd cg
-statename "$1" -state_directory "/roms2/apple2/state" -cfg_directory
"/roms2/apple2/cfg" ?
Some possible hacks for romnames with spaces.. a fix script ?
Screenscraper grabs nice thumbnails and videos for various apple2
colletions I've found, but not if the spaces are taken out of the
filenames. My own hack to test was to scrape them, then run a rename " " to
"_" in both disk name/zip and video/thumbnail. Not too easy for end user..

On Fri, Oct 20, 2023 at 6:08 PM Dan Beimborn @.***> wrote:

Not sure what I'm doing wrong, but I can't seem to get retroarch to launch
an apple2 file. I've tried lots of approaches but no luck getting mame or
mess core to launch an apple2p or apple2e bios + disk image. standalone
mame on windows is pretty happy to take "mame apple2e -flop1
/path/disk_image.dsk" and launch!
I tried "apt install mame" to get standalone, though that launches with a
complaint:
arm_release_ver of this libmali is 'g2p0-01eac0', rk_so_ver is
'3'.Segmentation fault
I'm normally pretty low-level with unix, but even stracing the retroarch
cmds didn't show me anything obviously missing/wrong
On Wed, Oct 18, 2023 at 2:23 PM christianhaitian @.***>
wrote:

I test directly on device within the OS. Usually just within a ssh
session.
—
Reply to this email directly, view it on GitHub
https://github.com/christianhaitian/arkos/issues/815#issuecomment-1768452578,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHCUXP32O5YYABSWLT4KQIDX77J3XAVCNFSM6AAAAAA6B6Y3P6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRYGQ2TENJXHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Have been trying to find where custom controls config could go/ ideally I'd
save one with shoulder buttons mapped like
L1 Space
L2 1
R2 j
R1 enter
Left analog button = tab
that would cover most of the keypresses needed to start a game on an apple.
(space or return to cancel boot screen.. 1 for single player.. j to select
joystick).
An alternative is custom keymappings to dpad/joystick/buttons..
many games used a/z for up down, left-right arrows, space bar.
Some use I up j left k down l right
esc is often pause in game, though emulator hotkey prob better.
Also mess uses the mame core that wants you to press scroll lock first,
then tab to get the menu.. that's some kind of Mess convention for fully
emulating kbd or not I guess.. I suspect that can have a default off to
make the "Tab" work to set default controls.
Seems there are some needed analog deadzones on RG353M also- the apple
joysticks were similar (dual potentiometer) so probably need some kind of
dead zone.
do you know where the configs would go? It seems to have some attempts to
open them in /roms2/apple2/mame/cfg/ ?
On Sun, Oct 22, 2023 at 1:01 AM Dan Beimborn @.***> wrote:

Ok, success. I'm able to get it working and make a manual collection.
Spaces in disk image names is a problem, but mess_libretro.so handles
apple2 really nicely! We should be able to get this to now run Mac..
apple3.. applegs.. and indeed any other computer style system with
secondary disk images that MESS supports.
Here's my working es_systems.cfg snippet:

apple2
Apple 2
/roms2/apple2/
.zip .ZIP
sudo perfmax %EMULATOR% %CORE%;
/roms2/apple2/rungame.cmd %ROM% ; sudo perfnorm
arcade
apple2

"apple2" already present in themes. I filled in platform "arcade", wasn't
sure what to put there!
Here is the bash script to run games that I stuck into the roms folder.. I
think it can go anywhere?
@.***:/roms2/apple2$ cat rungame.cmd
#!/usr/bin/bash
/usr/local/bin/retroarch -L
/home/ark/.config/retroarch/cores/mess_libretro.so "apple2e -rp
/roms2/bios/ -gameio joy -flop1 $1"
*NOTE It fails if there are spaces in the file names. *I found one chat
thread here:
https://www.arcadepunks.com/arcade-punks-arcade-building-modding-and-gaming-forum/myretrozz-classic-minis/for-those-about-to-retroarch-mame/
bios files go in /roms2/bios per the "-rp" flag in the command.. it needed
at least
20091 00:12:21.047934 openat(AT_FDCWD, "/roms2/bios/apple2e.zip", O_RDONLY
<unfinished ...>
20091 00:12:21.048753 openat(AT_FDCWD, "/roms2/bios/votrax/sc01a.bin",
O_RDONLY <unfinished ...>
20091 00:12:21.048930 openat(AT_FDCWD, "/roms2/bios/votrax.zip", O_RDONLY)
= 5
20091 00:12:21.050243 openat(AT_FDCWD, "/roms2/bios/a2diskiing.zip",
O_RDONLY) = 5
20091 00:12:21.051609 openat(AT_FDCWD, "/roms2/bios/d2fdc.zip", O_RDONLY)
= 5
Note that a2diskii.zip was the bios I found from the conversation you'd
linked earlier in the thread..  I had to rename to a2diskiing.zip after
stracing to see where it failed..
To-do:

I haven't quite worked out controller mappings yet, that will be
interesting. A lot of these were custom keyboard keys to map, some support
joystick etc.
I think we can add state saving and config paths in the rungame.cmd
cg -statename "$1" -state_directory "/roms2/apple2/state" -cfg_directory
"/roms2/apple2/cfg" ?
Some possible hacks for romnames with spaces.. a fix script ?
Screenscraper grabs nice thumbnails and videos for various apple2
colletions I've found, but not if the spaces are taken out of the
filenames. My own hack to test was to scrape them, then run a rename " " to
"_" in both disk name/zip and video/thumbnail. Not too easy for end user..

On Fri, Oct 20, 2023 at 6:08 PM Dan Beimborn @.***> wrote:

Not sure what I'm doing wrong, but I can't seem to get retroarch to
launch an apple2 file. I've tried lots of approaches but no luck getting
mame or mess core to launch an apple2p or apple2e bios + disk image.
standalone mame on windows is pretty happy to take "mame apple2e -flop1
/path/disk_image.dsk" and launch!
I tried "apt install mame" to get standalone, though that launches with a
complaint:
arm_release_ver of this libmali is 'g2p0-01eac0', rk_so_ver is
'3'.Segmentation fault
I'm normally pretty low-level with unix, but even stracing the retroarch
cmds didn't show me anything obviously missing/wrong
On Wed, Oct 18, 2023 at 2:23 PM christianhaitian <
@.***> wrote:

I test directly on device within the OS. Usually just within a ssh
session.
—
Reply to this email directly, view it on GitHub
https://github.com/christianhaitian/arkos/issues/815#issuecomment-1768452578,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHCUXP32O5YYABSWLT4KQIDX77J3XAVCNFSM6AAAAAA6B6Y3P6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRYGQ2TENJXHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Check in /home/ark/.config/retroarch/config/

I generally hangout mostly at the Retrogame handheld Discord.  You can find the link at the bottom of the main wiki landing page.

The script can be skipped with this:
sudo perfmax %EMULATOR% %CORE%; rom=%ROM%; nice -n -19 /usr/local/bin/retroarch -L /home/ark/.config/retroarch/cores/mess_libretro.so "apple2e -rp /roms2/bios/ -gameio joy -flop1 "$rom""; sudo perfnorm
Also, more tested supported filetypes:
.zip .ZIP .dsk .DSK .do .DO .po .PO .nib .NIB

Platform should be changed for scraping reasons:
apple2

I'm still using the es_systems.cfg and bash script I listed above. Using it with the current MESS core. No issues.

Ok.  I'll check it out.  Thanks

Closing this since we have Apple II emulation available now.


ES6 modules don't work in DDC

There are two problems:
DDC imports with unqualified names like "foo" instead of relative paths like "./foo". While this is supported by existing JS module systems, it is not supported by built-in ES6 module loaders. We also need to remove module-root because it's not the right UX.  Instead we should allow the user to provide the JS import path along with a summary for that module, with some sort of default behavior (probably flat modules: "./module_name"). We'll also need a way to provide the SDK import path.
The other problem is with library names. They are exports of temporary identifiers, which can be renamed, breaking the module's ABI. It works in existing JS module systems, because DDC desugars ES6 export into a renamed local and a non-renamed export. We should be able to fix this by using export as. I think import already has a way to handle TemporaryId names and generate as when needed.
(Original proposal/discussion here: https://github.com/dart-lang/sdk/issues/27262)

Synthesizing/revising my proposal from the original thread:
I propose that the --summary flag be extended to allow the form --summary=path,import1 where path is the path (or ideally URL; see #27266) to the summary and import is the URL to use to import it. The import URL would default to the relative URL to the summary file from the output file, without the summary extension2 and with a ./ prefix3. So for example:

dartdevc app.dart -o app.js --summary build/lib.sum would generate:
import { /* ... */ } from 'lib';

dartdevc -o app.js -s build/lib.sum,../shared/lib app.dart would generate:
import { /* ... */ } from '../shared/lib';

dartdevc -o app.js -s build/lib.sum,http://localhost:1234/lib app.dart would generate:
import { /* ... */ } from 'http://localhost:1234/lib';

I'm using , as a separator here rather than my original proposal of :, both to match the existing --url-mapping flag and because , is much less likely to conflict with URL syntax.

My original proposal just used the basename of the file because it was derived from a proposal about the old custom module loader, but I think in an ES6-first world relative URLs make more sense.

I don't think this prefix is meaningful for browsers, but for Node.js it's used to signal a relative import (as opposed to a load-path import).

import { /* ... */ } from 'lib';

did you mean "./lib" here, because of the rule "with a ./ prefix"

I don't think this prefix is meaningful for browsers, but for Node.js it's used to signal a relative import (as opposed to a load-path import).

Yeah, I need to double check the status of this in browsers. At one point it seemed like explicit relative path syntax was required. In any case, I agree with your point in 3--since browsers only support relative paths, it's nice to use that across all of our module formats for consistency.

did you mean "./lib" here, because of the rule "with a ./ prefix"

Yep, fixed, good catch.

https://dart-review.googlesource.com/c/sdk/+/42892 addresses the library name export bug. Need another CL for the module-root issue.

the export name issue is fixed in https://github.com/dart-lang/sdk/commit/1b9b3453de011cffa730e5979b6118d1bb78102e ... library-root CL is under development, and module-root still needs to be looked at.

progress on deprecating module-root: https://dart-review.googlesource.com/c/sdk/+/64823
It appears the option of passing the import name was already implemented (though it needed some refactoring). For example -s summary_path=js_import_path. I added an option to specify the output module name from the original proposal (used by some module formats like AMD and DDC's legacy format, ES6 and CommonJS do not need it).
Next up is bringing these new options over to dartdevk (it has never supported module-root or library-root).


toml: don't clobber quoted_key elements

fixes #621

Thank you for the contribution!

thanks! i've got a follow-on grammar change while i was learning how to do tree-sitter queries to prevent some comment reordering weirdness in multiline arrays with the current rules, too, but that's maybe more subjective.

I would love to see what you have! I can't promise we will merge subjective changes, but it would be nice to see regardless.
In general, if your changes more accurately reflect the typical style used in toml files than the current queries, they will be merged.


Support building native modules i.e. C/C++

We would like to stick to a minor build for all templates, but also allow the use of gcc/make/git/musl (Glibc for Alpine), which is currently not supported.
One of the options is to duplicate the templates and have a separate dev build.
This will cost extra support efforts.
The other option is to use build-args and make the dev build optional.
This allows both having a minor build and supporting native C/C++ modules if required.
Any other suggestions are welcome.
Python and Ruby are with highest priority.
For Python, one can test with the Pillow module.
(Also can try NumPy and Pandas)

+1 for build-args.  I think this would allow us a single Dockerfile for both minimal and dev builds

@rgee0 @iyovcheva
For Ruby another solution would be

Install GCC at the start of the build
Copy the Gemfile
Run bundle install
Uninstall GCC

This would keep the same Dockerfile and not require the user to do anything special to build native extensions.

+1 for build-args, too. As @iyovcheva says, it's an extra effort to duplicate template for this officially and maintain it. Being able to dynamically add it with build-args would open more possibilities.
One thing is that, it would be better if we can declare it somewhere in the stack.yml and won't need to set the build-arg every time. Same way as docker-compose allows build-args.
functions:
  foo:
    lang:
      context: python3
      args:
        PKG: git
    handler: ./foo
    image: foo

I admit setting it in the lang is strange but I hope you get the point.

The build arg may not be exposed generically or explicitly to the user. It may more likely be a flag that corresponds to some extra metadata in template.yml.
In this way during the build some arbitrary option cloud be specified to pull in a flavour or mode.
Let's first see an example of it working without any CLI code changes and then talk about UX. --build-arg is already supported in the CLI

Here's a simple PoC using pandas. (if I understand correctly)
https://github.com/kenfdev/faas-pandas-example
Added an ARG in the apk add here

That looks very cool... does ask or apt have the ability to read from a file too? Can we quote the packages to prevent additional arbitrary commands being injected?

does ask or apt have the ability to read from a file too?

AFAIK, it doesn't look possible. I checked the options for apk but doesn't look like there's some options for that.

Can we quote the packages to prevent additional arbitrary commands being injected?

I've tried this but the command fails if I surround it with double quotes.
With double quotes:
Dockerfile:
RUN apk --no-cache add curl "${ADDITIONAL_PACKAGE}" \

Build command:
faas build --build-arg 'ADDITIONAL_PACKAGE=make automake gcc g++ subversion python3-dev'

Results:
ERROR - Could not execute command: [docker build --build-arg ADDITIONAL_PACKAGE=make automakegcc g++ subversion python3-dev -t faas-pandas .]

Without double quotes and with arbitrary command:
RUN apk --no-cache add curl ${ADDITIONAL_PACKAGE} \

Build command:
faas build --build-arg 'ADDITIONAL_PACKAGE=&& echo "This is DANGEROUS"'

Result:
2018/05/19 22:10:51 ERROR - Could not execute command: [docker build --build-arg ADDITIONAL_PACKAGE=&& echo "This is DANGEROUS" -t faas-pandas .]

Is there any other way to inject something?? Thanks :)

@kenfdev This error looks like #392
Did you try with 0.6.9? The PR fixing this is merged in the latest CLI

@iyovcheva Thank you but I am aware of that issue and have upgraded to the latest CLI (need to check my home env to see the precise version though). I'm assuming the above errors are due to invalid Dockerfile syntax. If I get rid of the double quotes, it builds as expected (which used to fail before I upgraded the CLI as you've mentioned above: FYI)

Every language has a template.yml file:
language: python3
fprocess: python3 index.py

We could extend this with build-modes or build-options:
language: python3
fprocess: python3 index.py
build_options:
    - name: dev
       packages:
         - musl-dev
         - gcc
         - make

This internally would be passed via build args to Docker using the solution proposed by Ken.
The stack.yml file would not change but the build args may look like this:
faas build -f stack.yml --build-option=dev

If the stack file had to be extended (not sure we should):
provider:
  name: faas
  gateway: http://<IP_ADDRESS>:8080

functions:
  test:
    lang: python3
    handler: ./test
    image: test
    build_option: dev            # optional

I'm using the word option(s) since mode didn't seem to be liked on the Slack thread.

@alexellis one concern for this approach - if build_option is set to dev, we may not want to build all of the listed packages.
It may also look like:
functions:
  test:
    lang: python3
    handler: ./test
    image: test
    build_options: gcc make glibc          # optional

Please can you explain what you mean? Also the build_options flag would only specify dev or nothing, it would never specify packages. The packages would be an option or flavor specified in template.yml.

As I thought more, your suggestion looks the best option.
There is no meaningful use case in which someone will need to list the modules as parameters.

There is a use-case where someone may want a native module - for instance mysql-dev for @affix in his example he shared with me. On Debian I think this is called libmysqlclient-dev.
I wanted to try to abstract away the packages into a logical grouping or option like dev or build.
Technically people can fork the templates repo, or convert to a dockerfile language type after running --shrinkwrap.
The solution proposed in this thread is certainly better off than when we started.

How would this affect Kotlin Native projects? In Kotlin Native it is very common to interop with C libs. For example if Debian is used, and SDL is a dependency (in a Kotlin Native project) then the libsdl1.2-dev package would need to be installed in a container. More recently there is an option to interop with C libs via Klib and Gradle.

I don't think there is any impact to a Kotlin template. Each template maintains its own Dockerfile with a base image (pick Debian if you like).

The primary use case here is if someone uses Python pip or Ruby gem that needs make/gcc to build itself during the installation. bcrypt is a good example of that.

This is resolved for python and ruby templates.
Node works without this feature (AFAIR from my last testing).
Needs figuring out what other templates should support this before closing (php?)


Philips Hue LCA004 No value on energy

With the new update, the Philips hue light bulb LCA004 has been added. Unfortunately, they do not show a total consumption. See screenshot.

Just wait a bit can take up to two hours to calculate

Warten Sie einfach ein wenig kann bis zu zwei Stunden dauern, um zu berechnen

That was 7 hours ago?

Still no energy values? No error in the logs?

No, not really. Still the same with no value.

Could you enable debug logging for powercalc, restart and share logs.
https://homeassistant-powercalc.readthedocs.io/en/latest/troubleshooting/debug-logging.html
Hopefully that would provide some insights.

These are not debug logs, but this indicates there is something not right with the energy sensor state.
Did you restart HA after enabling debug logging in configuration.yaml?
there should be hundreds of debug lines. You can view these in "Settings" -> "System" -> "Logs". There are buttons to download at the bottom.

I am interested in the full logs, at least the lines saying Creating power and Creating energy sensor. We can start from there.

2023-02-13 21:12:35.842 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.stehlampe_l entity_category=None, sensor_name=Stehlampe Hue power strategy=LutStrategy manufacturer=signify model=LCA004 standby_power=0.33 unique_id=pc_00:17:88:01:0b:99:a4:80-11) 2023-02-13 21:12:35.842 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Stehlampe Hue energy 2023-02-13 21:12:35.843 DEBUG (MainThread) [custom_components.powercalc.discovery] light.kuchenlicht: Auto discovered model (manufacturer=Signify Netherlands B.V., model=LCA004) 2023-02-13 21:12:35.844 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.kuchenlicht entity_category=None, sensor_name=Küchenlicht Hue power strategy=LutStrategy manufacturer=signify model=LCA004 standby_power=0.33 unique_id=pc_00:17:88:01:0b:99:a0:e9-11) 2023-02-13 21:12:35.844 DEBUG (MainThread) [custom_components.powercalc.sensors.energy] Creating energy sensor: Küchenlicht Hue energy

I just see that it works now. But why? I had to restart HA with the last update. Then I added the newly found devices. Did I have to start HA again? Although it was still the case after the first start 🤔

Strange. Seem similar behaviour to https://github.com/home-assistant/core/issues/69766. It's an issue of the integral sensor (core component) which powercalc also uses.
Not sure what causes it, but at least it's working for you now. Confident it will stay working for this energy sensor.

Thanks for the help.


Audit telemetry for ::

we did a recent look at our current telem in use for the transparency report and noticed we're seeing instances still of ::
We are assuming this is just old instances but want to be sure.

[ ] Installer
[ ] boostrapper
[ ] Main solution

All projects verified.
There were still two events from the module template, but they were unused.

This has been resolved in the 0.35 release. https://github.com/microsoft/PowerToys/releases/latest


Manually

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/3.0.0-rc6@2786348). Click here to learn what that means.
The diff coverage is n/a.

@@                 Coverage Diff                  @@
##             release/3.0.0-rc6     #995   +/-   ##
====================================================
  Coverage                     ?   92.47%
====================================================
  Files                        ?       65
  Lines                        ?     9898
  Branches                     ?        0
====================================================
  Hits                         ?     9153
  Misses                       ?      745
  Partials                     ?        0

Flag
Coverage Δ

unittests
92.47% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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 2786348...c462697. Read the comment docs.


When disabling ATProto for an account, remove its DNS record

Wouldn't save us a ton of DNS space, but maybe something!

Backfilled this for web, see https://github.com/snarfed/bridgy-fed/issues/1458#issuecomment-2504711399. Now backfilling for AP with:
ids = []
for a in ActivityPub.query(ActivityPub.copies.protocol == 'atproto'):
  if a.is_enabled(ATProto):
    continue
  ids.append(a.key.id())
  print(len(ids), a.handle)
  try:
    did = a.get_copy(ATProto)
    repo = arroba.server.storage.load_repo(did)
    arroba.server.storage.write_event(repo=repo, type='account',
                                      active=False, status='deactivated')
    ATProto.remove_dns(a.handle_as('atproto'))
  except:
    logging.exception('')


Incorporate functionality from Axios buildURL function

The Axios buildURL function has some features for encoding the URL, adding serialization params, etc. It would be good to incorporate those features so that this package is at feature parity with other adapters.

Fixed in 1d6f84dd0adf03fd6aa98a38141cd6b1dd10e1ed.


Switching notebook kernels doesn't disconnect code cells

Create a Notebook and add a code cell
Select SQL kernel
Write a T-SQL query and execute it
Switch to Kusto kernel
Run cells

The cells still run successfully. We should be disconnecting the connection and prompting the user for a new one either when we switch kernels or when they try to run the code cell again.

Tested on stable. Not a regression.


Kaoto editor losing comments in case the route was edited in canvas

Describe the Bug
The comments from routes are removed in case the route was edited in canvas. The camel-k dependencies might get lost.
e.g. use:
# camel-k: dependency=mvn:com.ibm.mq:com.ibm.mq.allclient:<IP_ADDRESS>
# camel-k: dependency=mvn:org.apache.camel.kamelets:camel-kamelets-utils:<IP_ADDRESS>

- route:
    from:
      uri: "kamelet:kafka-not-secured-source"
      parameters:
        bootstrapServers: "localhost:9092"
        topic: test-1
        deserializeHeaders: true
      steps:
      - to:
          uri: "kamelet:jms-ibm-mq-sink"
          parameters:
            channel: DEV.APP.SVRCONN
            destinationName: DEV.QUEUE.1
            password: "passw0rd"
            queueManager: QM1
            serverName: <IP_ADDRESS>
            serverPort: 1414
            username: app

Steps to Reproduce the Bug or Issue

add camel route with comments into code editor
open canvas and edit a node
open the code editor again - the comments are missing

Screenshots or Videos
https://github.com/KaotoIO/kaoto-next/assets/4180208/e6bf75a6-8171-48c8-917e-c67ba3f75a35
Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 0.30.0]

Let's focus on modelines first and then reevaluate


Add missing @Nullable annotations on API types

Some types were missing these annotations.
Waiting for 8.0 since this breaks Kotlin source compatibility.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


Parquet File not readable by Google big query (works with Spark)

Hi
I'm trying to write Avro message to parquet on GCS. These parquet should be query by big query engine who support now parquet.
To do this I'm using Secor a kafka log persister tools from pinterest.
First I didn't notice any problem using Spark the same file can be read without any problem all is working perfect.
Now using Big query bring and error like this :
Error while reading table: , error message: Read less values than expected: Actual: 29333, Expected: 33827. Row group: 0, Column: , File:
After investigation using parquet-tools I figured out that in parquet there is metadata regarding number total of unique values for each columns eg from parquet-tools
page 0: DLE:BIT_PACKED RLE:BIT_PACKED [more]... CRC:[PAGE CORRUPT] VC:547
So the VC value indicate that the total number of unique value in the file is 547.
Now when make a spark SQL like SELECT DISTINCT COUNT(column) FROM ... I get 421 mean this number in the metadata is incorrect.
So what is not a problem for Spark to read is a blocking problem for Big data because it relies on these values and found it incorrect.
Is there any configuration of the writer that can prevent these errors in the metadata ? Or is it a normal behavior that should be a problem ?
Thanks
Environment: [secor|https://github.com/pinterest/secor]
GCP
Big Query google cloud
Parquet writer 1.11

Reporter: Richard Grossman
Note: This issue was originally created as PARQUET-1946. Please see the migration documentation for further details.

Dongjoon Hyun / @dongjoon-hyun:
Hi, [~richiesgr] This is only for Parquet 1.11.0 right? Did you try to use Parquet 1.11.1?

Dongjoon Hyun / @dongjoon-hyun:
BTW, Spark 3.0/2.4 use Parquet 1.10.1.

Micah Kornfield / @emkornfield:
Are you using V2 datapages?  BQ doesn't yet support them.

Gabor Szadovszky / @gszadovszky:
There are no statistics/metadata in the parquet specification that is related to unique values. The value displayed by parquet-tools (after VC) is the value count (the number of values in the related page). So, depending on the actual data both 547 value count and 421 distinct value count can be valid in the same time.
I don't know what parquet implementation does Big Query use. If Spark can read the data from the same file properly I would suggest creating an issue for Big Query to investigate why they cannot read that parquet file.

Yuming Wang / @wangyum:
Could you try to disable parquet.filter.columnindex.enabled?

Richard Grossman:
Hi
How could I know the version of datapages that have been used I get this from parquet tools
creator: parquet-mr version 1.11.1 (build 765bd5cd7fdef2af1cecd0755000694b992bfadd)
Does it mean it's V1 or V2 datapages ?

Micah Kornfield / @emkornfield:
I'm not an expert on the tool.  Looking through the source code I don't think it says anything explicitly.  One way to get a hint is to look at column encodings.  If they include delta encodings it is likely data page v2.

Richard Grossman:
Hi
May be you can help me.
I would like to provide a file as sample to google to check why they cannot read the parquet file unfortunately the files contains PII informations and cannot be shared as is.
Is there any way to strip PII fields from parquet file to be able to share it with them ?
Thanks
Thanks


0.3.1

add capture panic

suggest writing with test cases every time you add a new feature.
https://golang.org/pkg/testing/


feat(rss): Option to show RSS in footer.

Added option to copy RSS at footer.

Sorry @AlphabetsAlphabets closing this PR. you can already configure an RSS icon pointing to a feed using the existing menu features.  Also, the PR is including icons when there is already an icon lib in the project and doesn't include documentation for the feature. Please open an issue before making changes like this.

you can already configure an RSS icon pointing to a feed using the existing menu features

I didn't know that @nunocoracao would you mind showing me how to do that or some resource showing how to do that?

Check this doc page for menu configuration
https://blowfish.page/docs/getting-started/#menus
you can find the RSS feed for your site if you point to /index.xml


D435i coordinates

Required Info

Camera Model
{ D435i

I want to know the coordinnates for D435i for the color ,the left infra ,the IMU and the right infra. As explained in

[https://github.com/IntelRealSense/librealsense/blob/master/doc/d435i.md]

the origin is depth ,and x point to right ,y points to down, z  points forward . And said :"The depth<->IMU sensor extrinsic (rigid body transformation) is precalculated based on mechanical drawings and cannot be modified.", what is this sensor extrinsic? or is there some drawing to  express the coordinate for the color ,the IMU ,the infra like the following :

Hi @jingshaojing   Reading the three links below in the order that they are listed may be helpful in answering your questions about the coordinate system.
https://github.com/IntelRealSense/realsense-ros/issues/1449#issuecomment-709889034
https://github.com/IntelRealSense/librealsense/issues/7279#issuecomment-689031488
https://github.com/IntelRealSense/librealsense/issues/7279#issuecomment-690188950
Please feel free to post further questions below after having read the above links,  Thanks!

After I have read  above link, I get something I want to know .thanks very much . @MartyG-RealSense

You are very welcome @jingshaojing    :)

Hi @jingshaojing  Do you require further assistance with this case, please?  Thanks!

I shouldn’t need it in the near future. You can close this issue.thanks!

Thanks very much @jingshaojing for the update!


Updated README for MacOS users

Updated README for macOS users with ARM architecture.

Thanks. I switched it to point to the device plugins page, which gives more context.


[test-triage] chip_sw_rv_core_ibex_lockstep_glitch

Hierarchy of regression failure
Block level
Failure Description
Offending 'pend_req[d2h.d_source].pend'
  UVM_ERROR @ 1979.151724 us: (tlul_assert.sv:256) [ASSERT FAILED] respMustHaveReq_M
  UVM_INFO @ 1979.151724 us: (uvm_report_catcher.svh:705) [UVM/REPORT/CATCHER]
  --- UVM Report catcher Summary ---

Steps to Reproduce

GitHub Revision: 24fcee5a4
dvsim invocation command to reproduce the failure, inclusive of build and run seeds:

  ./util/dvsim/dvsim.py hw/top_earlgrey/dv/chip_sim_cfg.hjson -i chip_sw_rv_core_ibex_lockstep_glitch --build-seed<PHONE_NUMBER> --fixed-seed<PHONE_NUMBER> --waves fsdb

Tests with similar or related failures

[ ] chip_sw_rv_core_ibex_lockstep_glitch

Based on yesterdays meeting I've changed assignee and lowered the priority.

Known flaky test
@moidx @msfschaffner @GregAC - suggest keeping this but marking as a V3 item

This is failing again in the latest DV run.
DV report: https://reports.opentitan.org/hw/top_earlgrey/dv/latest/report.html
0.chip_sw_rv_core_ibex_lockstep_glitch.67815085953951491321756871088796420206524631258624933942405568744189784932439
    Line 785, in log /container/opentitan-public/scratch/os_regression/chip_earlgrey_asic-sim-vcs/0.chip_sw_rv_core_ibex_lockstep_glitch/latest/run.log

          Offending '(d2h.d_opcode === ((pend_req[d2h.d_source].opcode == Get) ? AccessAckData : AccessAck))'
      UVM_ERROR @ 3053.637184 us: (tlul_assert.sv:258) [ASSERT FAILED] respOpcode_M
      UVM_INFO @ 3053.637184 us: (uvm_report_catcher.svh:705) [UVM/REPORT/CATCHER]
      --- UVM Report catcher Summary ---

GitHub Revision: 4fd94db59a
dvsim random seed: --build-seed<PHONE_NUMBER>6853274976097168471417145417282051311181377329444669936981619711436

It looks like it is worth investigating.

This test mostly passes.  We shouldn't worry about this. Modeling the behavior of the lockstep core under FI is a hard problem. Especially if the faults are introduced into the ICACHE. It may be that errors never get detected because the core just doesn't load the glitched line etc. We shouldn't invest any effort into debugging this right now.

Just discussed in triage: We agree with the assessment above and are moving this to M7

This is still failing but the check error is different:
  UVM_FATAL @ 2422.875812 us: (chip_sw_rv_core_ibex_lockstep_glitch_vseq.sv:714) [uvm_test_top.env.virtual_sequencer.chip_sw_rv_core_ibex_lockstep_glitch_vseq] Check failed alert_major_internal == exp_alert_major_internal (0 [0x0] vs 1 [0x1]) Major alert did not match expectation.
  UVM_INFO @ 2422.875812 us: (uvm_report_catcher.svh:705) [UVM/REPORT/CATCHER]
  --- UVM Report catcher Summary ---


Crpyto-Tracker-App

IN THIS REACT APP

I used coingecko.com - The Most Comprehensive Cryptocurrency API.
I used a search bar for search Cryptocurrency with a nice hover effect

.

Please mention the steps to install and run the project locally so that we can test it.

@yashrajdesai

@HarshBaldaniya the "Crpyto-Tracker-App" folder is empty. Please add the files containing the code.

Ok sir, I will push again
Thanks sir.


Encountered some problems with the data set

The paper describes that there are 3553 training environments in total, but in fact, there are 6374 training environments in total when I download them through alfworld-download. Am I wrong?
And when I use alfworld-play-tw to play some environments, some problems will be triggered and I can't play.
Like if I play
alfworld-play-tw $ALFWORLD_DATA/json_2.1.1/train/pick_two_obj_and_place-Ladle-None-Drawer-4/trial_T20190908_154812_240120/

it shows that
error: duplicate object 'loc_bar__minus_5_bar_11_bar_1_bar_30'
please check :constants and :objects definitions

If I play
alfworld-play-tw $ALFWORLD_DATA/json_2.1.1/train/look_at_obj_in_light-Box-None-FloorLamp-223/trial_T20190907_015218_815672/

it shows that
KeyError: 'val1'

How can I solve these problems and correctly find the 3553 training environments mentioned in the paper?

Hi @Anvacy, thanks for asking. You can find a mention about this error in https://github.com/alfworld/alfworld/tree/master/scripts. Quoting here for convenience:

Note: When loading a TextWorld game, if you see the following error
  File "../python3.9/site-packages/textworld/logic/pddl_logic.py", line 123, in <listcomp>
    arguments = [Variable(get_var_name(arg), name2type[arg]) for arg in args if arg]
KeyError: 'val1'

it means the game is unsolvable or the PDDL problem is ill-defined. Some tasks from ALFRED like movable receptacle tasks are not used in ALFWorld, and will fail if you try to load them with alfworld-play-tw.

That said, I agree we should make it clearer in the main Readme and even maybe change the dataset so we discard the noncompatible games.
Meanwhile, if you run one of the training scripts, e.g.
python scripts/train_dagger.py configs/base_config.yaml

you should observe it is going over all 8810 games (combining train/valid/test) and filter out the non-compatible ones, leaving with 3553 train, 140 seen eval and 134 unseen eval.

Did it answer your question @Anvacy ?


Missing changelog entry for 3.1.2

Hello,
It seems there is not entry in CHANGELOG for 3.1.2.
Furthermore, the 3.1.2 release does not exist here : https://github.com/powa-team/powa-archivist/releases
Regards,

Indeed, thanks for spotting!  fixed in https://github.com/powa-team/powa-archivist/commit/da05e31919fdaceae3b5012b0627491015df26f6


Check scope closing logic around tags with numbers

There are places where the base tag matters and places where the numbered tag matters. It looks like scope matching needs more of the numbered tag logic.

The logic around numbers has now changed to such an extent that it makes sense to close this until there's a specific problem. (The original observed behaviour for q1/q2 in PSA now looks right.)


Update dependency versions weekly via Renovate

[x] Disable dependabot.
[x] Keep Bazel modules updated. Intentionally out of date.
[x] Keep GitHub workflow deps updated.
[x] https://github.com/rendezqueue/rendezqueue/issues/6

I guess this can be closed because I know some Bazel modules can't be updated yet (due to gRPC). If/when Renovate starts trying to update them, I'll have to add an ignore rule.


Ability to read incoming packets from a remote machine

When developing a telemetry application for a remote device of mine, I find it a bit convoluted to set up a forwarding application in order to forward the telemetry packets to my second device (not running the game itself). At present, the client binds to the localhost.
Ideally, I would (personally) like the client to support reading packets from a remote sources as a potential option when constructing the client - though defaulting to only binding to localhost.
This may be a naive approach - I haven't contributed to any public repos before - but I assume this could be implemented by passing another opt to the constructor (ie, the address we want to bind to, defaulting to 'localhost'), and the using this in the bind at index.ts:196.

Merging your PR now. Thank you!


refactor: Applied cargo fmt

Given the small changes of my cargo fmt, I assume this was just forgotten. We could hook up an open-source CircleCI instance to make sure it's always applied (along with tests).

Oh, turns out there are checks but they fail! My mistake then :smiley:


Bitbucket 6 support

"This app is not compatible with your Bitbucket instance. Request an update from the vendor." displayed in Manage apps section after upgrading to Bitbucket 6.0.1

Few days ago I could enable it again and it seems to work.


🐝 argocd v2.4.12 🐝

What is this PR About?
update to argocd v2.4.12
https://github.com/argoproj/argo-cd/releases/tag/v2.4.12
How do we test this?
helm install
cc: @redhat-cop/day-in-the-life

LGTM🐝


Enabling desktop profile blocks CUE apps from working on Corsair K70

What are you experiencing an issue with?

[x ] Aurora
[ ] Aurora supported game, (Fill in the game)
[x ] Aurora Wrapper
[ ] Aurora Profile
[ x] Aurora supported device, (Fill in problematic devices)
[ ] Aurora Scripts
[ ] Aurora Updater
[ ] Aurora Lighting issue
[ ] Other, (Fill in another issue here)

What kind of an issue is it?

[ ] Crash
[ ] Performance problems
[ ] Visual bug
[ ] Localization issue
[x ] Enhancement suggestion
[x ] Device issue
[ ] Other, (Fill in another type of issue here)

Expected behavior:
Explain here what should happen.
Profiles that are set to not "Enable Aurora to provide lighting effects with this profile" do not disable the desktop profile if there is one running.  I would expect them to.
Actual behavior:
Explain here what happened instead.
This particular instance is probably specific to Corsair keyboards and games that support more than 1 API like Diablo 3.
Diablo 3 supports both Razer and Corsair control natively.  While using a Corsair keyboard, starting Diablo 3 with or without a profile for it does not work for light control.  Disabling Aurora works correctly.
I think Diablo 3 is trying to prefer the Corsair CUE api over the Razer Chroma API.  If Aurora is is running a desktop profile, I think it prevents Diablo 3 form controlling the CUE api.
If I disable the Desktop profile, Diablo 3 is able to control the keyboard as I would expect.
I think this issue would be resolved if there was an option in a profile to disabled aurora Desktop Profile and disable Aurora lighting effects.
Right now, if I disable the desktop profile manually, and have a profile for Diablo 3 that is set to NOT enable Aurora, it works correctly.
How often does this problem occur?

This problem occurs... everytime
Please describe the steps to reproduce this issue:
The issue can be reproduced by doing following steps:

enable a desktop profile
create profile for Diablo 3 that is set to Not enable Aurora
Launch Diablo 3

What is the version of Aurora you are experiencing this issue with?

My version is... (beta v0.6.0b)
Does the previous version of Aurora have this issue?
The previous version, (Fill in the version here), did/did not have this issue.
Please include any logs, screenshots, or files that are related to this issue:

For logs, you can use: http://pastebin.com/
For screenshots, you can use: http://imgur.com/
For files, you can use: http://www.tinyupload.com/ , https://www.dropbox.com/ , or attach them to the issue.

Did you patched Diablo 3 with the Aurora wrapper? Diablo 3 needs to be patched to be able to send lighting information to Aurora.
And yes, if you enable the Desktop mode, Aurora controlling the keyboard lighting. I don't know how CUE SDK handles more then one app at the same moment.

create profile for Diablo 3 that is set to Not enable Aurora

This option just disable the game mode, so Aurora will using the Desktop mode (if Desktop mode wasn't disabled).

Yes, the Aurora Wrapper dlls files are in the diablo 3 dir.  I am not 100% sure, but I think that Diablo 3 is only using the Corsair API if it detects it, even if the Razer dlls are present.  Shutting down the desktop profile while Diablo 3 is running instantly turns control of the Keyboard's light over to the game.

This option just disable the game mode, so Aurora will using the Desktop mode (if Desktop mode wasn't disabled).

Correct.  There is no way for a profile to disable the desktop profile unless there is another profile  you are enabling.  If there was, I could just let Diablo 3 take control by having a profile that disabled the desktop profile when it detected Diablo 3 was running.

I guess what I am saying is that this is a feature request to allow profiles to be able to disable the desktop profile without needing to enable another profile.

Am I special or something? This has been in for ages with the "Excluded processes" option in settings which returns the devices to default lighting the apps in the list are in the foreground


Random Compression Method Selection

Say you register 4 compression methods on both the handler and the client.
It seems like the server picks the first compression method it recognizes, unless a specific method was used when sending the request.
However, looking at the client side the order the methods are sent is random since it collects names from a map.
As far as I can tell this makes it impossible to select an order of preference from the client side. Furthermore it appears to me that gzip cannot be removed from the pool, only replaced.

FWIW, just added https://github.com/klauspost/connect-compress

We could just keep the preference order implied by option ordering, but that doesn't seem right either: gzip will usually be first, but anyone registering new compression algorithms would probably prefer something newer (maybe zstd or br).

Correct, but if you registered gzip again, I presume it would be last. You could also do it reverse, so last registered is preferred.
As an alternative a WithCompressionOrder(names ...string) Option could be added to ensure a specific order.

FWIW, just added https://github.com/klauspost/connect-compress

It's worth a lot, since writing that exact package is the next thing on my to-do list. Thank you! Also, thanks for everything you've done with compress - we talked for a bit on compress#423, and thanks to your input I ended up just adding connect.CompressMinBytes.

connect.CompressMinBytes

Yeah, that is the most important.
My implementation will not care about pre-compressed content. stdlib gzip is very bad at that. Compare 62MB/s (stdlib gzip) to 4665MB/s (alt gzip).

If you want to "adopt" the package let me know. I won't feel bad about archiving it and redirecting to yours.

If you want to "adopt" the package let me know. I won't feel bad about archiving it and redirecting to yours.

Definitely not! You're the authority, and we all very much appreciate you looking at connect-go so closely and writing an integration package. If it's okay with you, I was going to add some references to your package in the Connect documentation.

Added performance and made an 0.1.0 release.

Definitely not!

I was more thinking that it might have higher adoption, if it was a package "under your wings". I assume you don't want the dependencies in your main package.

If it's okay with you, I was going to add some references to your package in the Connect documentation.

Of course, go ahead. I only have extremely lightweight tests using your "ping" example. I don't know if you have some more complex interactions I can test.

@klauspost would you be open to PRs on connect-compress with a few suggested changes? Let me know, I can just put some up and you can accept or reject as you wish if so.

Of course. Especially tests would be awesome!

@klauspost Just landed a PR so that the last registered compressor is the most preferred. We'll also update the Connect protocol specification to match (we don't control the gRPC specification, but this seems like reasonable behavior there too.)
The fix will go out with v0.1.1, which we should tag soon.


Hyperchains: restore unit tests

What ❔

Restore tests that @benceharomi was working before.
Rename:

Base.sol to ZkSyncStateTransitionBase.sol
IBase.sol to IZkSyncStateTransitionBase.sol

Why ❔
The ultimate goal is to have 100% unit test coverage + fuzzing + invariant tests. This step unblocks further works on tests. There are commented tests as well as many are missing, but IMHO it is better to merge this PR sooner than later to test any smart contract changes with existent test suite. @benceharomi @kelemeno wdyt?
Checklist

[x] PR title corresponds to the body of PR (we generate changelog entries from PRs).
[x] Tests for the changes have been added / updated.
[x] Documentation comments have been added / updated.

Your still changing, should I merge or wait?

You can merge now


[farmhash] Add new port

Google FarmHash

Which triplets are supported/not supported?
uwp and arm on windows are not supported
Have you updated the CI baseline?
yes

Does your PR follow the maintainer guide?

Yes

Hi @kreuzerkrieg thanks for this PR.
The regressions on x86-windows, x64-windows, x64-windows triplets:
Can't load '/usr/lib/perl5/core_perl/auto/POSIX/POSIX.dll' for module POSIX: No such process at /usr/share/perl5/core_perl/XSLoader.pm line 93.
  at /usr/lib/perl5/core_perl/POSIX.pm line 24.
Compilation failed in require at /usr/share/autoconf/Autom4te/FileUtils.pm line 266.
BEGIN failed--compilation aborted at /usr/share/autoconf/Autom4te/FileUtils.pm line 266.
Compilation failed in require at /usr/bin/autoreconf line 42.
BEGIN failed--compilation aborted at /usr/bin/autoreconf line 42.

Could you please take a look and try to fix them?

Hi @kreuzerkrieg thanks for this PR.
The regressions on x86-windows, x64-windows, x64-windows triplets:
Can't load '/usr/lib/perl5/core_perl/auto/POSIX/POSIX.dll' for module POSIX: No such process at /usr/share/perl5/core_perl/XSLoader.pm line 93.
  at /usr/lib/perl5/core_perl/POSIX.pm line 24.
Compilation failed in require at /usr/share/autoconf/Autom4te/FileUtils.pm line 266.
BEGIN failed--compilation aborted at /usr/share/autoconf/Autom4te/FileUtils.pm line 266.
Compilation failed in require at /usr/bin/autoreconf line 42.
BEGIN failed--compilation aborted at /usr/bin/autoreconf line 42.

Could you please take a look and try to fix them?

Dont have a win machine at hand right now, will check it later

Hi @kreuzerkrieg thanks for this PR.
The regressions on x86-windows, x64-windows, x64-windows triplets:
Can't load '/usr/lib/perl5/core_perl/auto/POSIX/POSIX.dll' for module POSIX: No such process at /usr/share/perl5/core_perl/XSLoader.pm line 93.
at /usr/lib/perl5/core_perl/POSIX.pm line 24.
Compilation failed in require at /usr/share/autoconf/Autom4te/FileUtils.pm line 266.
BEGIN failed--compilation aborted at /usr/share/autoconf/Autom4te/FileUtils.pm line 266.
Compilation failed in require at /usr/bin/autoreconf line 42.
BEGIN failed--compilation aborted at /usr/bin/autoreconf line 42.
Could you please take a look and try to fix them?

Ok, checked it. Well, I didnt get same messages but it clearly cant be compiled on Windows, at least I dont see it happening without intervention in the original autotools script
Meanwhile I've disabled builds for win/uwp for all architectures and all builds for arm

Thanks for the PR!
This is fine for now, however looking at the upstream sources it seems that the build process is actually very simple for the library -- just src/farmhash.cc and src/farmhash.h. A very nice improvement would be to add a CMake replacement buildsystem, which would enable compiling for more targets and easier tweaking of flags for users (such as passing -march).


Add TypeGraph code

Summary
Sorry for the huge PR, I realise that this isn't really reviewable.
Give it a quick look over if you have time / feel like it, but it'll probably have to be reviewed over time as we work on it due to the size. Large amounts of this are going to change in the next few weeks too.
This code mostly works, but is obviously not complete. This commit just adds the code and tests, but does not enable it in OID or OIL.
Test plan
Integration tests pass (they still run against legacy OICodeGen).
New TypeGraph unit tests pass.

Codecov Report

Merging #150 (1520a7e) into main (6019a37) will increase coverage by 2.68%.
The diff coverage is 47.24%.

@@            Coverage Diff             @@
##             main     #150      +/-   ##
==========================================
+ Coverage   35.51%   38.19%   +2.68%
==========================================
  Files          45       74      +29
  Lines        6766     8540    +1774
  Branches     3679     4529     +850
==========================================
+ Hits         2403     3262     +859
- Misses       2235     2483     +248
- Partials     2128     2795     +667

Impacted Files
Coverage Δ

oi/type_graph/AlignmentCalc.h
0.00% <0.00%> (ø)

oi/type_graph/Flattener.h
0.00% <0.00%> (ø)

oi/type_graph/NameGen.h
0.00% <0.00%> (ø)

oi/type_graph/Printer.h
0.00% <0.00%> (ø)

test/test_type_identifier.cpp
0.00% <0.00%> (ø)

oi/ContainerInfo.cpp
17.85% <2.08%> (-10.10%)
:arrow_down:

oi/type_graph/PassManager.cpp
10.00% <10.00%> (ø)

test/test_name_gen.cpp
24.62% <24.62%> (ø)

test/test_flattener.cpp
25.60% <25.60%> (ø)

oi/type_graph/Types.cpp
29.68% <29.68%> (ø)

... and 21 more

... and 3 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


[EXPERIMENTAL Networking] Services are not cleaned up when a container is deleted

$ docker run  --publish-service=myservice.prod.bridge -tid --name container1 busybox
ef8c116c566424041a98c8cef2e93776a93e8c320915531865ca9564a5e13305
$ docker rm -f $(docker ps -qa)
ef8c116c5664
$ docker service ls
SERVICE ID          NAME                NETWORK             CONTAINER
fb80d5cb70d8        myservice           prod

Is a user expected to manage these left over services themselves?
$ docker version
Client:
 Version:      1.9.0-dev
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   0e3674d
 Built:        Tue Aug 11 22:53:37 UTC 2015
 OS/Arch:      linux/amd64
 Experimental: true

Server:
 Version:      1.9.0-dev
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   0e3674d
 Built:        Tue Aug 11 22:53:37 UTC 2015
 OS/Arch:      linux/amd64
 Experimental: true

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

@tomdee Yes. it is expected. --publish-service creates explicit service just like docker service create does. and being an explicit service, the lifetime of it will stay just like the lifetime of a service created via the docker service create. We remove any implicit endpoint created via docker run that are implicitly created without a --publish-service.

Hi @mavenugo, thanks for the reply. Can you give an example of how I can get implicit service creation?

@tomdee If you just do docker run without --publish-service, it will create an implicit endpoint. I wont call it the implicitly created services. They are just endpoints in the CNM model. They will get removed automatically when the container is removed.

OK, makes sense. Closing.


[T2A5][T17-A2]Clara Tan

ready for review - made find case insensitive

Hi Clara. May I know the modifications you did, as well as the commit for making find case insensitive? I think you may have either missed a few commits when submitting the pull request, or you may have submitted a pull request from the wrong branch.


WIP Feature/139 pipeline tests

(WIP)
Refactoring of the code going from config file to results_summary.json.
Now have a "Pipeline" per set of of coordinates and date_range, which can have more than one Sequence (e.g. one per GEE Collection - e.g. one for Sentinel2, one for ERA5), and the Sequences contain Modules that do the steps of the processing (Download, ImageProcess, NetworkCentralityCalc).
The functionality that was in process_satellite_data.py is now in the various modules classes, but the cleanup of the original, and the choices of what code goes inside the classes and what goes in functions in other python modules is not yet finalized.
To be done:

[ ] Test output json against current codebase for same coords/date range
[ ] Cleanup process_satellite_data.py
[ ] Move some functions that are currently in the Modules out into standalone functions, for greater flexibility
[ ] Write tests for processor_modules and combiner_modules.

Thanks for this @nbarlowATI. some comments/suggestions from testing this branch.

[ ] As steps in the pipeline are asynchronous, perhaps we need to rethink output. Maybe each step in the pipline can write logging information to separate files. The console output at the moment is a big mangled.
[ ] The do_network_centrality config option is not used, need to add if statement in run_pyveg_pipeline.
[ ] Save results under output dir by default (download results are automatically gitignored).
[ ] For me timestamping each output dir is a useful feature.


ENEMY: Thief Cat

Description
Enemy Visual: (Concept Art)
Enemy Behavior: Lunge at Player. Wait and walk.

Have idea to implement. See above


How to NOT run certain asp.net api middleware for proxied requests?

What should we add or change to make your life better?
TL;DR
I want to control which asp.net middleware applies to ONLY those requests directly serviced by say a Controller in an asp.net 6 api. Is there any guidance/feature for this in YARP?
Detail
I have an asp.net 6 api that is acting as a backend for frontend. This api will directly service some of the client requests itself, and some it will forward on (proxy) to other api's.
 It's highly likely that some of those middleware will need to be applied ONLY to the requests that the api will service directly ie these middleware should NOT run when the request is being proxied by YARP.
One way I can think of is with UseWhen EG:
void ConfigureMiddleware(IApplicationBuilder app, IWebHostEnvironment environment) {
    if (environment.IsDevelopment()) {
        app.UseSwagger();
        app.UseSwaggerUI();
    }

    app.UseAuthentication();
    app.UseAuthorization();

    app.UseWhen(ctx => IsProxiedRequest(ctx) == false, OwnMiddleware);
}

However, I don't want to duplicate the rules for deciding if the request is to be proxied in both IsProxiedRequest method and the YARP routing rules.
Why is this important to you?
I want to be in control of what code actually runs for each request hitting the backend api.

I imagine it's going to depend on the ordering of the middleware and where the custom steps are positioned relative to UseRouting(). @Tratcher - Is there a way to know if a request has matched a YARP route before the YARP middleware kicks in?

Try this:
        private bool IsProxiedRequest(HttpContext context)
        {
            return context.GetEndpoint()?.Metadata.GetMetadata<RouteModel>() != null;
        }

See here for an example:
https://github.com/microsoft/reverse-proxy/blob/23d235fe9fde53419e8a40c2db02c8bdae972eaf/src/ReverseProxy/Model/ProxyPipelineInitializerMiddleware.cs#L28-L34

Excellent, just what I was looking for :-)


Loops (crossed wires) place wire value selectors on top of each other

Because of the way the positions are computed, the reciprocal edges always place wire value selector on top of each other.

🤔 maybe the selector should come just after the node then? I rather like the visual balance of it being in the middle, but that then creates these kinds of conundrums!

What if it was like slightly off-center?


Updating to 0.16 not work

Describe the bug
I have followed your instruction to update to 0.16 from 0.15 but get an error
" jq: error (at :1): Cannot iterate over null (null)"
Steps to reproduce the behavior:
sudo systemctl stop Spoolman
sudo systemctl disable Spoolman
systemctl --user stop Spoolman
systemctl --user disable Spoolman
No Problems
mv Spoolman Spoolman_old &&
mkdir -p ./Spoolman &&
source_url=$(curl -s https://api.github.com/repos/Donkie/Spoolman/releases/latest | jq -r '.assets[] | select(.name == "spoolman.zip").browser_download_url') &&
curl -sSL $source_url -o temp.zip && unzip temp.zip -d ./Spoolman && rm temp.zip &&
cp Spoolman_old/.env Spoolman/.env &&
cd ./Spoolman &&
bash ./scripts/install_debian.sh &&
rm -rf ../Spoolman_old
Now i got This error "jq: error (at :1): Cannot iterate over null (null)"
Screenshots

Raspberry Pi 3B+

OS: PiOS 2023-12-05

Strange, looks like the download link didn't have any assets. Did you lose internet connection perhaps? Either way, I just pushed an update, try again please.

YES, now it's work..... THANK's


3.x - Helidon DbClient JSON support

Added support to mark database as case insensitive in config file. This is required to run tests in both MySQL and Oracle DB with some shared code, because MySQL uses lower case identifiers and Oracle DB upper case by default.
JSON support verified against 21c in OCI:
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running io.helidon.tests.integration.dbclient.jdbc.oradb.ora21c.OraDbJsonSupportIT
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.964 s - in io.helidon.tests.integration.dbclient.jdbc.oradb.ora21c.OraDbJsonSupportIT
[INFO] Running io.helidon.tests.integration.dbclient.jdbc.oradb.tests.JsonDateTimeIT
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.494 s - in io.helidon.tests.integration.dbclient.jdbc.oradb.tests.JsonDateTimeIT
[INFO] Running io.helidon.tests.integration.dbclient.jdbc.oradb.tests.JsonSupportIT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.137 s - in io.helidon.tests.integration.dbclient.jdbc.oradb.tests.JsonSupportIT
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0

And PostgreSQL/MySQL:
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running io.helidon.tests.integration.dbclient.jdbc.oradb.tests.JsonDateTimeIT
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.435 s - in io.helidon.tests.integration.dbclient.jdbc.oradb.tests.JsonDateTimeIT
[INFO] Running io.helidon.tests.integration.dbclient.jdbc.oradb.tests.JsonSupportIT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 s - in io.helidon.tests.integration.dbclient.jdbc.oradb.tests.JsonSupportIT
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0

Anyway, this PR is blocked by Oracle JDBC driver release so there is no reason to rush. I'll fix notes from Tomas L. and we can discuss whether to change artifactId now or later.

I am closing this PR, as it is not being worked on. Please @Tomas-Kraus create a new PR when you resolve the comments and rebase on latest.


Test XML replace

Proposed solution
It seems that Cypress and React Hook Forms doesn't work that well together when validating XML upload.
Find a way to test XML file replace functionality.
DoD (Definition of Done)
XML replace functionality is tested.

Following code works locally but not with GH Actions:
    cy.get("button[type=button]").contains("Replace").click()
    cy.get(".MuiCardHeader-action").contains("Replace")
    cy.fixture("study_test_modified.xml").then(fileContent => {
      cy.get('input[type="file"]').attachFile({
        fileContent: fileContent.toString(),
        fileName: "testFile_replace.xml",
        mimeType: "text/xml",
        force: true,
      })
    })
    cy.get("form").submit()
    cy.get(".MuiListItem-container", { timeout: 10000 }).should("have.length", 2)
    cy.get(".MuiAlert-message", { timeout: 30000 }).contains("Object replaced")```

This seems to work occasionally with GH actions. Need to find better way to check that the file is replaced.


Pagination need to add next/first numbers in meta

Right now, meta just has the limit and offset that was requested, but I think we should also add the limit and offset for next, last, etc (i.e. the numeric values for each the links).  This makes using clients a lot easier because you don't have to parse the links for the values.  I'm picturing something like the following in addition to the links.
{
  "meta": {
    "count": 1000,
    "limit": 100,
    "offset": 0,
    "first": {
      "limit": 100,
      "offset": 0
    },
    "next": {
      "limit": 100,
      "offset": 100
    },
    "last": {
      "limit": 100,
      "offset": 900
    }
}

Related to https://github.com/ManageIQ/manageiq-api-common/pull/35 cc @martinpovolny @slemrmartin

@Fryguy good to know, but you probably wanted to cc other Martin :) @Hyperkid123

So i actually wanted to create same issue when i started using the pagination in UI. But because of how the PF4 pagination works this is not really necessary and limit + offset is enough. I can definitely imagine that these might be useful but i don't have a real use case for that right now (from UI perspective).
The only scenario this can be issue right now is if the first offset is not 0. I don't expect that ever happen though.
It should be probably added down the line but it is not urgent i think.


Added resources for (Tensorflow for deep learning)

Changes proposed
1 - Added a section for Tensorflow for Deeplearning under youtube

Hello @CBID2 , I have made your suggested changes and commited them please review them and let me know if it need some other changes as well. Thanks.


docs: create CLI update procedure

update-cli.md
What/Why/How?
Create a new procedure explaining to OpenAPI CLI users how to upgrade to the latest version.
Reference
Testing
Done. I used these steps and successfully upgraded my CLI version.
Screenshots (optional)
Check yourself

[ ] Code is linted
[ ] Tested with redoc/reference-docs/workflows
[ ] All new/updated code is covered with tests

Security

[ ] Security impact of change has been considered
[ ] Code follows company security practices and guidelines

Change ref 1c9e727 should be ignored. This was me committing changes to package files to Git when I was trying (and failing) to upgrade my Redocly CLI last week. Nothing to do with this PR.

We should not change package.json or package-lock.json files in this repository.

Note: This needs to be added to the sidebar after merging.


dynatrace_json_dashboard issue with null values

I'm trying to create dashboards by editing them in the UI, exporting the JSON and using that to inform the dynatrace_json_dashboard resource.  The dashboards build and deploy as expected, but terraform plan is littered with all values in the JSON that are currently set to null
To Reproduce
Steps to reproduce the behavior:

Export the JSON of the Kubernetes Cluster Health dashboard that is available out of the box with Dynatrace SaaS.
Observe the block for heatmapSettings under any panel. It will only be populated with:

"heatmapSettings": {
          "yAxis": "VALUE"
        }

Use this as the json for a dynatrace_json_dashboard (omitting the id field as this is populated for you).
Run terraform apply
Now run terraform apply again.  There are a tonne of fields that aren't present in the original JSON export that show up in the plan.

~ heatmapSettings     = {
      - showLabels   = null -> null
      - xAxisBuckets = null -> null
      - yAxisBuckets = null -> null
      # (1 unchanged element hidden)
    }

If I then go back into the JSON, and explicitly add these in with null values, they disappear from the plan.  It seems like, for whatever reason, when fields are excluded from a JSON file, they are populated in the underlying state with null so if these fields are missing from your JSON template, you'll always be "removing" them each time you terraform apply.

Expected behavior
When provisioning a dashboard with JSON, only the fields that are included in the JSON should be maintained in the state.  So when applying again, there should be no changes.
Desktop (please complete the following information):

OS: Mac OS ventura 13.2
Browser Chrome Version 112.0.5615.137 (Official Build) (arm64)

Hello @wanieldilson, you're right, the version of the JSON exported via WebUI and the JSON the REST API are currently everything but identical - which essentially defies the purpose of the resource dynatrace_json_dashboard. We've noticed slight differences right after we've introduced that resource and they were handled one by one with custom code. But apparently recently a lot of more differences (all related to properties that are allowed to get omitted) have popped up.
I cannot promise a solution right away for the next release, but we will revisit that resource as soon as possible. Goal is to again have a resource that produces an empty plan no matter whether optional attributes are set or not, an no matter whether the export came from the WebUI or from the REST  API.


Trying to vendor fork

I'm trying to vendor a fork:
govendor fetch gopkg.in/gorp.v1::github.com/sourcegraph/gorp@v1

I don't get the expected result of branch v1 of github.com/sourcegraph/gorp being vendored into vendor/gopkg.in/gorp.v1.

It's a regression. :/
Right now I don't have tests for sync and fetch. I'm working on adding them now and the framework needed for them. I'll have this fixed before v1 is released.

There is definitely a bug in that it isn't putting it in the correct folder. That's the regression.
There might also be a limitation of design.
Right now govendor is choosing tag v1.7.1 over branch v1. Right now govendor will only choose the branch over the tag if they are exactly the same. And because "v1.7.1" is assumed to be higher than "v1" (branch), then it chooses "v1.7.1".
Go (lang) source chooses to prefix branches differently then tags, which would make this a non-issue. I'm not sure how to resolve this ambiguity. Ideas?

And there was a flaw in my existing test that would have warned me of this.
Fixing now.

GitHub - hashicorp/go-version: A Go (golang) library for parsing and verifying versions and version constraints.
https://github.com/hashicorp/go-version
If it's helpful to you. -sc
--
Sean Chittenden

On Mar 25, 2016, at 21:33, Daniel Theophanes<EMAIL_ADDRESS>wrote:
There is definitely a bug in that it isn't putting it in the correct folder. That's the regression.
There might also be a limitation of design.
Right now govendor is choosing tag v1.7.1 over branch v1. Right now govendor will only choose the branch over the tag if they are exactly the same. And because "v1.7.1" is assumed to be higher than "v1" (branch), then it chooses "v1.7.1".
Go (lang) source chooses to prefix branches differently then tags, which would make this a non-issue. I'm not sure how to resolve this ambiguity. Ideas?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

@sean-
Oh, I see what you mean. Because no inequality was specified, you would expect goversion to find the exact match, that is the branch named "v1". Whereas govendor currently is designed to have an implicit ">=" to each tag, avoiding version ranges altogether.
@neelance If you had specified "...@>=v1" then you would have expected it to find a larger version. Otherwise you expect it to match the tag or branch exactly, correct?
I'm open to supporting inequalities in version specifiers. I would strongly like to support prefixes, such as "ssh-v1" (esp for tags) or "release-branch-v2" (or similar).
In rust's cargo, they imply the "^" operator if nothing else is specified: http://doc.crates.io/crates-io.html#using-cratesio-based-crates . If using the parlance of "go-version", I (think) I would want version constraints specified as "=" or "~>" (or something similar). It makes no sense to me to use an operator that allows changing a major version. And allowing upper constraints such as "<" mean the package author has broken semver, which I'm strongly against allowing for; it is a bug and must not be worked around; it must be fixed.
I would appreciate thoughts on this subject. Thanks.

I've added an exact version operator "=" prefix.
I'm hesitant to add plain inequalities such as ">" or "<" as I don't want to allow bumping major versions in any way. I also don't like the idea of the less-than operator.
I'm very much open to thoughts on this subject. Thanks.

Agreed, only equality matters. As a developer, I want the stability of a version, but if something drifts, I also want to know that I have to chase the new version at some point.  Without an eye on possible security updates, keeping track of versions of vendored code is a PITA.  When tracking a branch, I would want to stay on v1 master.  But, when v2 shows up, I'd want to be notified that v2 exists so I could switch branches on my schedule.  Operators wouldn't help in these situations.  If v2 came out and I didn't want v2, an ignore: ["v2","=v1.7.1"] attribute would be ideal.  Staying aware of what is current is part of the responsibility of maintaining vendored packages.

I like the idea of searching for newer versions like "v2" when you are on "v1" greatly. I've filed #122 to track.
@neelance
I think the command govendor fetch gopkg.in/gorp.v1::github.com/sourcegraph/gorp@=v1 should do what you are seeking.


Get make bootstrap working again

make bootstrap has not worked in a while.  Please figure out how to fix it.
Currently, the development environment can only build on existing snapshots.  For jhu-idc/idc-general#295, we will need to create a clean "initial snapshot".  The current snapshot for idc-isle-dc is "dirty", as it contains some "convenience" data in it, and past mistakes.  In order to create a clean snapshot, we need to start from a clean islandora install.  make bootstrap was the easiest and most straightforward way to do that

@birkland who should this be assigned to?


Automatic error report

not able to check the check box

This doesn't contain any information for us to be able to understand what's happening to you. So I'm closing it.


[10.x] Add support to ask and validate input in console commands

When running commands that require a lot of input from the user, if you get partway through and the input is incorrect in some way, you may have to run the command again (depending on how the command is written to handle bad input).
It would be nice to ask for input and validate in a loop until the value is correct. The resulting code makes commands easy to read by combining the input and checking logic.
Example code below:
public function handle()
{
    $name = $this->askAndValidate(question: 'Name ?', rules: ['required', 'string', 'max:25']);

    $this->info('Hello ' . $name);

    return 0;
}

You can even override messages too:
$name = $this->askAndValidate(question: 'Name ?', rules: ['required', 'string', 'max:25'], messages: ['input.required' => 'input is required']);

In the askAndValidate method the user will be prompted in a loop until the validation passes. The Validator facade is used to make and validate the input from the user.
Caveats
There is 1 caveat with the validation part, as thats when adding custom error messages, the field name can only be input. Not sure of an alternative to tackle this.

The 1 failure doesn't relate to this PR
1) Illuminate\Tests\Support\SleepTest::testItSleepsForSecondsWithMilliseconds
Failed asserting that 1.5306618213653564 matches expected 1.5.

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


Added exists method on state.

Looks good but can you please add the method to the parent class as well?

@CiottiGiorgio can you run the black formatter please? call make lint from the root to see any other issues

Oh my bad! Sure I'll do that


Ubuntu20.04 安装包报错

sudo dpkg -i dingtalk-2.1.12-latest-amd64.deb
Selecting previously unselected package dingtalk.
(Reading database ... 377466 files and directories currently installed.)
Preparing to unpack dingtalk-2.1.12-latest-amd64.deb ...
Unpacking dingtalk (2.1.12) ...
Setting up dingtalk (2.1.12) ...
chmod: cannot access '/opt/dingtalk/chrome-sandbox': No such file or directory
Processing triggers for mailcap (3.68) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
错误提示
chmod: cannot access '/opt/dingtalk/chrome-sandbox': No such file or directory
实际生成的目录是/opt/钉钉

安装这个 dingtalk-2.1.12-latest-i386.deb

发了最新版https://github.com/nashaofu/dingtalk/releases/tag/v2.1.13，我在虚拟机中没问题


Support mypv wifi meter

Is your feature request related to a problem? Please describe.
I want to use "mypv wifi smart Meter" for evcc.
Describe the solution you'd like
Please add mypv wifi smart Meter to supported meters by evcc.
https://www.my-pv.com/de/my-pv-wifi-meter#

https://www.my-pv.com/de/manuals/my-pv-wifi-meter


Warning: Calling bottle :unneeded is deprecated! There is no replacement.

Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the hmarr/tap tap (not Homebrew/brew or Homebrew/core):
  /opt/homebrew/Library/Taps/hmarr/homebrew-tap/Formula/codeowners.rb:9

Thanks, should be fixed by https://github.com/hmarr/homebrew-tap/commit/df9f6e35ad7d0a56a648884fd8477e622917526d


Requesting category or tag without any post

If a category or tag doesn't have any post, it fetches it again and again:

To reproduce it go to https://blog.frontity.com/category/worona-news/ and swipe right to "releases"

:tada: This issue has been resolved in version 0.7.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.6.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


51 announcement fe

Implement a page that show existing announcements, sorted by date.
If user is an admin, there will be buttons for adding and editing announcements.
In sidebar mode, there will be DELETE and EDIT button. Edit button will open editing mode in the Announcement page.
See video.
Don't be serious  about the design. Its bad, but that is the story for another day.
https://user-images.githubusercontent.com/47163309/144331091-c9643e1b-ac6f-433f-a81c-40cf1338c070.mp4

On another note, the database init script creates all the example documents without any read permissions and we should probably change that soon. We only would need to add read: ["*"] to the create_document arguments in the init script

One first thing, you should really improve your commit messages.

Why did you add an empty JS file? Can we delete  it?

Just update the PR. It can now be reviewed again. Add sidebar that shows announcements on homepage, finish up some implementation according to issue description.

Nice! If you resolve it and merge it into the master, than I will it deploy right now onto the server :+1:

@steinkohl can you approve it?


Upgrade Komodo IDE 9.app to v9.1.0 (Build: 87337)

Thank you for the contribution. It was merged directly as ade317be3cea714e3fa12e6c8a18e21c453f9ac4 to keep commit history cleaner. Your contribution is still credited to you.


Neural Networks with Symbolic Reasoning

https://arxiv.org/pdf/1907.05878.pdf

mention surfaces and essences