Undo/redo does not respect multi-selection

Steps to reproduce
Open arm26.osim and select Forces -> Display -> Hide. Modify a property to enable the undo button (see #512). Click undo button repeatedly. Muscles appear one at a time rather than all at once. The user performed one operation to hide all the muscles, so the undo button should show all the muscles with one click.
Environment
Windows, using OpenSim-078b8daf-2018-01-26.zip artifact from AppVeyor.

I wouldn't consider this a bug, that's how we implemented multiedit since day 1 as a convenience to do single edits sin succession and the undo(s) are done per individual change rather than in group.  It would be an enhancement to do treat the group edit as one but requires significant development effort since the underlying "PropertyEditor" doesn't support it out of the box.

I wouldn't consider this a bug

I've changed the label from bug to enhancement. Undoing a multi-edit one object at a time deviates from most software I've used.

While doing/undoing commands from navigator is under our own control, it's harder to handle the multiedit if done by multiselect and then changing values in property editor. Primarily this is because these low level property editors have no access to context/selection to look at.

Isn't at least a part of the issue that the multi-edit isn't grouped as a single edit? I assume the Undo mechanism is a stack of edit events or commands (command objects) and that we are perhaps incorrectly doing a multiedit event as multiple independent commands. If we had a single multiedit command then it would be treated as single undo. The multi-selection shouldn't be seen as a series of commands but as one command with the list (from selection) internal to it.


Unbricking JMS567

Hi,
I have a Orico DS500U3 device using a JMS567.
It reported itself as:
Bus 003 Device 003: ID 152d:0567 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge

It should support UAS but was not according to lsusb -v.
Now I just tried flashing a firmware from
https://www.station-drivers.com/index.php/en/component/remository/Drivers/Jmicron/JMS567-Sata-USB-3.0-Controller/Jmicron-JMS-567-Firmware-Version-<IP_ADDRESS>/lang,en-gb/
After a device restart, no entry in the syslogs and nothing in lsusb, just dead.
Too bad, I found your project just after that. How can I unbrick it? You describe I need to short the flash chip CS pin to ground, where do I find this?

I found 2 flash chips "fm25f01". Pin 1 (marked) is CS, Pin 4 is VSS (Ground). So I tried a shortcut from 1 to 4 and started the device. Some seconds after starting I remove the shortcut.
Because I don't know which of the 2 flash chips is the custom firmware, I tried that shortcut on both chips.
But the device does not show up via USB, nothing in lsusb or kernel log.

Hi @Massimo-B,
What you've done is what other people reported working (assuming that "started the device" means "powered on"). If there's two flash chips then there must be some additional logic in this product, though, so maybe that is the extra difference/complexity.
If you have a detailed photo of the board then I'd be happy to see if I can suggest anything else, but it sounds like it might be properly dead from the first update. :grimacing:

With started I mean, I tried pressing the power button and also plugging power. Both seem to be the same as Pin 1 to Pin 4 are getting about 3 Volt when pressing the power button and are without voltage when pressing again.
I felt a bit uncertain to short that voltage, but there was only little mA going.
Specs of that flash memory:
https://www.fmsh.com/nvm/FM25F01_ds_eng.pdf
So short Pin 1 and 4 should make it failing to read, falling back to the rom basic firmware, and any of these 2 chips should be the right one?

I need to correct... Pin 1 to 4 gets -3V.

Just for understanding, in order to be able to flash via USB, there must appear any new device in the kernel log or in lsusb? I'm just watching the syslog when doing these restarts.
When the rom firmware gets started, then it should report itself as some device via USB?

Interesting! U14 is the JMS567 USB/SATA adapter, so its flash chip is going to be the nearby U2. The other chip U10 is a JMB575 SATA port multiplier chip, and it looks like it has its own associated flash as well.
Just to check, pin 1 is the bottom right in these photos so you shorted across like this, yes?

So short Pin 1 and 4 should make it failing to read, falling back to the rom basic firmware, and any of these 2 chips should be the right one?

That's right. Pin 1 should be at 3.3V normally, relative to pin 4 (ground). The JMS567 chip will toggle pin 1 (CS) down to 0V each time it talks to the flash to read (or write, etc). If you short them together then the commands will not be parsed correctly and the data likely gets corrupted to the JMS567, causing it to fall back. At least this is the theory. Best to use a piece of wire or something with very low resistance to do this.

When the rom firmware gets started, then it should report itself as some device via USB?

Yes, that's right. It seems like it fails to boot from the flash then it falls back to an image in ROM. Maybe that's not true for every revision of JMS567, though...

Also, just to check, in the photos there's something that looks kind of like solder paste on U2's pins including maybe between pins 4 and 3?

I've seen that solder, but it was working before I flashed that broken firmware. But I can check if that's an issue...
Yes, I did the shortening like you showed in the picture. But that Pin 1 here has a negative -3V to Pin 4, is that correct?

If I would go for another device of that type, it's still unclear to me, if there is a working firmware that support UAS. On the (chinese) packaging there is written "UASP". But according to lsusb -vv and also on Windows, no UAS was offered by that firmware and I appearently bricked if by just flashing some untrusted firmware..

I got support from https://www.mikrocontroller.net . The device is back to live.
It was wrong to short the CS to GND (VSS), it must be connected to Power (VCC), so Pin 1 to Pin 8. Then it was wrong that I've taken the color-marked Pin as 1. This was Pin 4 as there is a notch for the real Pin 1.
Now the device is back on USB. Please adapt that in your main wiki.
Now I'm back to the origin question: Which firmware should I take for UAS?
The good is I can just try around some untrusted firmwares and always fall back to the rom firmware if failing.
Instead of using all the unknown flashing software from a Windows VM, I would prefer your flash software here. Is there a trustful place to get firmwares from?

I got support from https://www.mikrocontroller.net . The device is back to live.

Very glad to hear that.

It was wrong to short the CS to GND (VSS), it must be connected to Power (VCC), so Pin 1 to Pin 8. Then it was wrong that > I've taken the color-marked Pin as 1. This was Pin 4 as there is a notch for the real Pin 1.
Now the device is back on USB. Please adapt that in your main wiki.

That's interesting. I would have expected shorting CS to either VCC or GND would work much the same (in the first case no SPI flash command can be sent at all, in the second case the first SPI flash command never completes and everything after it should read junk data). Previously I've had one report of CS to GND working, I never actually tried it myself.
To make very sure: can you please confirm that you did try shorting pins 1 and 4 as marked in the photo above, using a short piece of wire (not a multimeter or some other device), and that didn't work?

Now I'm back to the origin question: Which firmware should I take for UAS? The good is I can just try around some untrusted firmwares and always fall back to the rom firmware if failing.

Mate, I don't know. I don't work for Orico or JMicron, I'm just a person who posted an experimental tool on the internet.
The firmwares are technically copyrighted by one of those companies, which is why I don't post them here (although probably no one would care). I think if you search online you will find some discussion about which firmware(s) work best on some devices, I'm not sure about your particular device though.

The firmwares are technically copyrighted by one of those companies, which is why I don't post them here (although probably no one would care).

I've added a table with some known "unofficial" firmware combos that work:
https://github.com/projectgus/jms567ctl#firmware
Unfortunately it looks like the one that worked for mine is the one that bricked yours. :shrug:

I have the same chip, in an icy box ib-rd3621u3. Device boots up, but not visible via usb. Im currently running windows, but it this is linux-only, i can boot a linux too.
So if i understand this correctly:

device off
short pin 1 (with the notch) with 8 (the one furthest away from the notch)
device on and wait for it to show up as usb device
remove the short when it fully booted
flash firmware with this tool
done?

@IceReaper You've got it. I actually just went through this process with a JMS577 two days ago!
I've personally had more success shorting CS to GND as shown here:

However @Massimo-B found they needed to short CS to VCC. Either way the goal is to disrupt the SPI flash commands enough that the chip can't boot its normal firmware and fails back to the internal Mask ROM firmware.
However, I also recently discovered a tool called jms578flash: https://github.com/BertoldVdb/jms578flash
I missed this when I was making jms567ctl. It seems like jms578flash works with all of this JMicron series (might need to pass -device 0xVID:0xPID command line argument). It's also more advanced - can write the flash in situations where it didn't always work for me, and can even reset the chip without needing any of these shorting tricks. I'm probably going to mark this repo as Archived soon and link to jms578flash as a better alternative - so you might want to look into it instead.

Hi, you guys just saved my 7 years old Orico enclosure! Thank you so much!!
I had bricked it by trying to flash some (random?) firmware. I got an "SCSI error" during the write. Then it couldn't start properly anymore (was doing one bip when booting, but wasn't showing up in lsblk nor in lsusb and only the first bay was lit).
I managed to make it show up by shorting the pins 1-4 and re-flash the original firmware. Now everything works fine.
During the process I did try https://github.com/BertoldVdb/jms578flash but it didn't want to flash any JMS567 firmwares, saying that the bin files were the wrong size, or too short. So please do not archive your tool yet, it's still helpful! :)

Very interesting. As I wrote I managed to get the JMS567 into flashing mode, but I didn't make progress yet as I don't have the right firmware. My Orico enclosure is a 5-bay enclosure for 5 SATA drives. Maybe the firmware is just identical to any other of the Orico enclosures. Where did you get your firmware from? You like to share?
Originally I started flashing around, as the original firmware did not support UAS eventhough the hardware was advertised to support that. Without UAS the performance was poor, especially when running all 5 discs as a software raid with mdadm.
Now that we get the device forced into flashing mode by shorting the pins, is it safe to try arbitrary firmwares? If a firmware doesn't match I can always re-flash or could the internal mask firmware be damaged by that?

During the process I did try https://github.com/BertoldVdb/jms578flash but it didn't want to flash any JMS567 firmwares, saying that the bin files were the wrong size, or too short. So please do not archive your tool yet, it's still helpful! :)

That utility could be similar to flashrom, where it expects the bin to be the same size as the chip.  I've been playing around with my Orico 9558U3 with the rom chip in a ZIF socket.  Flashrom was telling me the flash was the wrong size until I padded the bin out to the size of the rom chip.  For the FM25Q04 I was working with this was 512K, which I accomplished with the command truncate -s 512K romfile.bin.  The truncate command actually works both directions it seems.  I guess maybe a program with more basic flash instruction will just check "does bin = rom size?" and if the answer is no then it will refuse to flash.  For as much as flashrom does I'm surprised I couldn't find an override switch to just ignore if the new bin was smaller than the chip size.
Side note, I've found a handful of firmware images that will "work" on the 9558U3, but only show one drive.  I guess they're for solo disk devices and don't need/have the multiplexer code.

I would like to get all these firmwares you tried, to find the best firmware supporting by Orico 5-bay AND supporting UAS.
Is there any licensing issue to have a folder on this project collecting some of these firmwares? Could we just try? Alternatively we could start a collection of URLs to known firmwares in the Wiki?

Per Angus @projectgus  (I assume, I didn't look back through the commits to readme.md)...

Because the firmware binaries themselves are intellectual property of JMicron and/or the product vendor, they're not distributed here.

And I would respect that.  But, I believe I recorded all the links of where I downloaded the fimreware files.  Give me some time to get organized and I can share the links.  I would think that should be acceptable.

Yes, I wrote that. I think having a resource somewhere with all known firmware binaries would be very valuable (especially if it wasn't on some shady Russian website like a lot of the current options). However I don't want to host any binaries or even a list of firmware binary links here (even though I suspect the vendors don't really care.).
If you set up a web site or page somewhere else with a list of firmware then I don't mind linking to it as a possible resource, though.


Sum of mentions = 0

The sum of mentions is erroneously listed as 0 on the homepage and timeline of my profile.

Fixed!  Sorry about that Peter... one of our data producers changed and it caused a bug.  Thanks for your patience.


Fix @njit description in 5 min guide

Thanks for the patch. That's an unfortunate typo/oversight, well spotted!


Merge resources

Also, we'll need to figure out how to fix/update all of those broken tests. For now it's OK though, since we're in the fragile early stages of our development.


Fix UB warning on OSX

Related: https://github.com/microsoft/vcpkg/issues/28582 I suspect this is because we have to use mutexes on OSX because their version of popen isn't threat safe.
Fixes /Users/runner/work/1/s/src/vcpkg/dependencies.cpp:715:47: runtime error: load of value <unknown>, which is not a valid value for type 'vcpkg::UnsupportedPortAction'
Enums are treated as their underlying type (bool in this case) which is not default initialized. Warning is the default value of the enum (supposing the compiler is kind enough to zero initialize it), i.e. false.

Confirmed my initial guess: cmd_execute_and_capture_output_parallel takes on OSX 2x longer than on Linux (86 ms on Linux vs. 159 ms on OSX). Unfortunately, we have to keep the mutex (see #695) until OSX fixes their implementation of popen. I didn't report the issue to Apple because I don't know how.

Thanks!


Is it possible to define testString for a google font?

I'm loading one character from one Google Font (character is "&" and the font is "Butterfly Kids"), and it's doing it successfully.
I'm guessing because I'm not loading any of the characters from the default test string, the script is showing the "wf-inactive" class, thinking it failed to load the font.
I've tried forcing the testString to be just "&". I've tried "&", "&", "%26" and "\u0026" and none of them seem to have any effect - but that makes sense as the documentation suggests this testString var is meant to work on custom font faces only. Would it be possible to make it work for other font sources (specially Google, as they're the only ones with a "text" parameter to only download a subset of the font?

Issue #224 looks like the same issue - apologies


Remove usage of functions that compute number of workgroups.

The current codegen path generated a function that would return the
number of workgroups to use given its shape. This was done because of
phase ordering issue where the number of workgroups was computed based
on shape of operation that is tiled and distributed later in the
pipeline. Instead use the region in the hal.executable.entry_point
that is the prefered way of the backends to specify number of
workgroups.
Since the phsae ordering issue still exists, the region in
hal.executable.entry_point can only be generated for static shapes
along the current codegen path. The linalg on tensors path will
address the phase ordering issue, removing this restriction.

Fantastic cleanup! Only nit is that there's a few GH-####'s that could get issue numbers.

Yup, going to file that issue, and fix the issue number. Also I think I have one failing test locally.


Tabbed navigation interface doesn’t convey role/state [iOS]

The tabbed navigation items are announced without any role information and the selected tab does not convey its selected state to VoiceOver users. For example, the “My Health Log” tab control is simply announced as “My Health Log” by VoiceOver.

Use the accessibilityRole property to give the tabbed navigation container a role of tablist and each control a role of tab. The accessibilityState property can be used to convey the selected state of the currently selected tab to VoiceOver users. To emulate the way iOS tab controls are announced with position information (e.g., “2 of 4”), I suggest including that information in the accessibilityLabel of each control.
<View accessibilityRole='tablist'>
  <TouchableOpacity
    onPress={…}
    accessibilityLabel='NY COVID Data, 1 of 4'
    accessibilityRole='tab'
    accessibilityState={{selected: false}}
  >
    <Image source={…} />
    <Text>NY COVID DATA</Text>
  </TouchableOpacity>
  <TouchableOpacity
    onPress={…}
    accessibilityLabel='My Health Log, 2 of 4'
    accessibilityRole='tab'
    accessibilityState={{selected: true}}
  >
    <Image source={…} />
    <Text>My Health Log</Text>
  </TouchableOpacity>
  <TouchableOpacity
    onPress={…}
    accessibilityLabel='My COVID Alerts, 3 of 4'
    accessibilityRole='tab'
    accessibilityState={{selected: false}}
  >
    <Image source={…} />
    <Text>My Health Log</Text>
  </TouchableOpacity>
  <TouchableOpacity
    onPress={…}
    accessibilityLabel='App Settings!, 4 of 4'
    accessibilityRole='tab'
    accessibilityState={{selected: false}}
  >
    <Image source={…} />
    <Text>My Health Log</Text>
  </TouchableOpacity>
</View>

Retested and the issue has been resolved with the exception of the last “App” tab.

@willslone I've tested again on my device and it works. The tabbed navigation is part of a loop so if the first three works should happen to the last tab. Can you check this one again please? Thanks

I just tested the App tab again and the selected state is announced, but not role and position information.

@willslone Is this android as it works on my iPhone XS. It might be due to the fact that the label is "App\nSettings", which is the text displayed. Should we create a label for a11y without the \n? We do have it in quite a few places I'll have to check the others as well.

@floridemai I’m testing on iOS (iPhone SE). I’m not sure if including “\n” is causing the issue, but I would leave it out of the a11y label and then test with VoiceOver to see if it makes a difference.

The VoiceOver does say all the text it's only the caption that is not shown due to the new line. iPhone XS 13.6.1

@floridemai I see. My bad for relying on the caption. Sorry about that.


Sharing options?

I know we didn't include options to share for paella-ethz, but I'm surprised https://paellaplayer.upv.es/#/ doesn't have any sharing either - did you remove them completely? Or is this configurable?

We have sharing in Tobira, so that's not an issue anymore.


Get receiver info based on UUID given in url

Description
A2 now adds UUID to url when sending user to SingleRights in A3. This can be used to get party information of the person/org to delegate to, using the new endpoint (partylistbyuuid) in the Registry.
Url will contain either partyUUID or both partyUUID and userUUID.
Frontend needs to read the id(s) from url and perform a lookup to get party information to be stored in the redux state.
Cases:

url has userUUID and partyUUID: Delegating to a person -> use userUUID for lookup and store as person
url has only partyUUID: Delegating to an org -> use partyUUID for lookup and store as org
url has neither and nothing is stored in state: Something is wrong -> display error

To Do:

[x] BFF:

[x] Add new endpoint  GetPartyByUUID to LookupController that passes on result from Register lookup

[x] Endpoint calls Register in RegisterClient
[x] Mock endpoint in RegisterClientMock
[x] Add integration tests to new endpoint

[x] Add new endpoint  GetUserByUUID to LookupController that passes on result from Profile lookup

[x] Endpoint calls UserProfile in ProfileClient
[x] Mock endpoint in ProfileClientMock
[x] Add integration tests to new endpoint

[x] Frontend:

[x] Get rceiver's uuid from url
[x] Get party-info from new Lookup endpoint in BFF. Use rtk Slice or Query? -> Query
[x] Store the uuid to the url on all pages for more reliable storage
[x] Replace all texts saying ANNEMA FIGMA with actual receiver name.

[x] Case 1: UserType = 1 Means recipient is a person -> Use users full name
[x] Case 2: UserType = 2 Means it's a self-registered user, which cannot be delegated to ->  display Alert with error message
[x] Case 3: UserType = 3 Means it's an organization-user -> Use a combination of user name and connected party name (name of connected organization)
[x] Case 4: Party is an Org -> Use org name and number
[x] -> make a reusable function for getting recipients name and type that can be used on all pages

[x] Delegate to recipient's uuid

Additional Information
Name of reciptient is to be used in the solution

Merging of this task is BLOCKED by #596

Testet ok. Hvis man derimot avbryter med krysset kommer man til profilsiden


Remove deprecated config options

Use Case
The following configuration options should be removed:

apply_settings
inventoryfile
plugin_hooks
puppetfile

Closed by #2570

Closed by #2570


Tried to parse my 13,000 line private.xml config and got an error

I installed karaconv and tried to run it on my private.xml config file.
I got this error:
❯ karaconv -i private.xml -o private.json
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: missing field `appendix`', libcore/result.rs:945:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.

Would really love to use this tool to translate my config to Elements. Thank you for any help.

Hi @durka, would it be possible to take a look at this?
Would really appreciate it if this parser worked on that file. Thank you.

Oh, I missed this. Will try to take a look.

Hi @durka, did you get any time to look at yet? I would really appreciate it.

Wow, you've got a lot of stuff in there! I don't even know if the new Karabiner-Elements supports all of these features. First step is to parse the file, I guess. Some of this isn't even in the documentation of the private.xml schema. Is this an error? If not, what does it mean to nest like that?
https://github.com/nikitavoloboev/dotfiles/blob/1c3acfbe2c30d52bf19cf548d0eb77f2bf91ffaf/karabiner/private.xml#L7506-L7509

If not, what does it mean to nest like that?

That was actually an error and I just fixed it. However Karabiner parsed that XML with no errors for me and worked.
The most important part for me to translate and I am not sure if it is even possible in Karabiner is this  block.
I was shown how to define this by @tekezo in old Karabiner issue and what it essentially does is make a key a modifier key and the nested  there represent what happens when I press those keys when I hold the Launcher key.
It would be incredibly nice if @tekezo himself proposed a solution to how one could translate that XML block to JSON in Elements as I am not sure myself.
Also this is very important to as that defines variables. It creates a variable that contains calling of some AppleScript and then I call these variables inside most definitions in the launcher modes.


Planned Maintenance for Waypath Insight

Please be advised that there will be scheduled downtime for Waypath Insight on Tuesday,21st December from 4 P.M - 6 P.M.
This is because we are performing upgrade on our Waypath Insight platform. We apologize for any inconvenience.

Please be advised that there will be scheduled downtime for Waypath Insight on Tuesday,21st December from 4 P.M - 6 P.M.
This is because we are performing upgrade on our Waypath Insight platform. We apologize for any inconvenience.

Waypath Insight platform upgraded to latest version. Platform is up and running.


When to enable OverrideAutoExposure?

As the title said. I'm not sure what this setting does. The note is: "May help with issues where DLSS2 games would fail to activate auto-exposure with DLSS3.1". How to know if the DLSS2 games in question fail to activate auto-exposure?

That was a request from a user, afaik certain DLSS2 games had an option to enable auto-exposure, but when using 3.1.1+ nvngx_dlss.dll the option would have no effect, guess they changed the flag value to enable it or something.

How to know if the DLSS2 games in question fail to activate auto-exposure?

Easiest way is probably to use DLSS2 DLL, enable OverrideDlssHud setting, and see what it says in bottom left corner, if that says "Auto-exposure: ON" then the game is activating DLSS2's AutoExposure, and it's probably worth setting OverrideAutoExposure to true to make sure DLSS3.1.1 also uses it.
Even if game doesn't use AutoExposure itself it could be worth trying with it enabled though, game might have been released before AE was added, seems it can help with ghosting in some games at least: https://www.youtube.com/watch?v=bY3DUJ-NYJ4

That was a request from a user, afaik certain DLSS2 games had an option to enable auto-exposure, but when using 3.1.1+ nvngx_dlss.dll the option would have no effect, guess they changed the flag value to enable it or something, that setting just forces the DLSS3.1.1 flag for it which apparently helped.

How to know if the DLSS2 games in question fail to activate auto-exposure?

Easiest way is probably to use DLSS2 DLL, enable OverrideDlssHud setting, and see what it says in bottom left corner, if that says "Auto-exposure: ON" then the game is activating DLSS2's AutoExposure, and it's probably worth setting OverrideAutoExposure to true to make sure DLSS3.1.1 also uses it.
Even if game doesn't use AutoExposure itself it could be worth trying with it enabled though, game might have been released before AE was added, seems it can help with ghosting in some games at least: https://www.youtube.com/watch?v=bY3DUJ-NYJ4

I tried this with Shadow of tomb raider's dlss2 dll and OverrideDlssHud enabled but I saw nothing at the bottom left corner. Only when I replaced the dlss2 dll file with dlss 3.1.1 dev dll file or dlss 3.1.1 latest released dll file then I saw it said AUTOEXPOSURE: OFF

I replaced the dlss2 dll file with dlss 3.1.1 dev dll file or dlss 3.1.1 latest released dll file then I saw it said AUTOEXPOSURE: OFF

It could be saying that because game is still using the DLSS2 auto-exposure flag with the DLSS3.1 dll you swapped to, so DLSS3.1 wouldn't realize game is trying to set AE.
OverrideDlssHud should work on most DLSS2 non-dev DLLs too, but maybe the one included in SOTTR is too old for the method it uses to work... will try looking into that soon.
For now you could try seeing if the reg file method lets it show up: https://github.com/NVIDIA/DLSS/blob/main/utils/ngx_driver_onscreenindicator.reg
(click the download icon next to "Raw" text, then double-click file it downloads and press Yes to merge it)
Might need to edit that file to use "ShowDlssIndicator"=dword:00000400 though, dword:00000400 is the value that the recent non-dev DLLS are checking for at least.
You can remove that reg edit afterwards with this reg file: https://github.com/NVIDIA/DLSS/blob/main/utils/ngx_driver_onscreenindicator_off.reg

I replaced the dlss2 dll file with dlss 3.1.1 dev dll file or dlss 3.1.1 latest released dll file then I saw it said AUTOEXPOSURE: OFF

It could be saying that because game is still using the DLSS2 auto-exposure flag with the DLSS3.1 dll you swapped to, so DLSS3.1 wouldn't realize game is trying to set AE.
OverrideDlssHud should work on most DLSS2 non-dev DLLs too, but maybe the one included in SOTTR is too old for the method it uses to work... will try looking into that soon.
For now you could try seeing if the reg file method lets it show up with the original DLSS DLL it came with: https://github.com/emoose/DLSSTweaks/blob/master/external/ngx_driver_onscreenindicator_all.reg (click the download icon next to "Raw" text, then double-click file it downloads and press Yes to merge it)
You can remove that reg edit afterwards with this reg file: https://github.com/emoose/DLSSTweaks/blob/master/external/ngx_driver_onscreenindicator_off.reg

With autoexposure not enabled the game suffers from severe ghosting. I guess autoexposure should be on.
Is there a downsides of always setting autoexposure to on in the ini file for the sake of convenience?


Some UTXO payload's fail to deserialise

Hi, In both 0.2.0 & 0.3.0-beta2, for certain utxo payloads seeing this:
java.lang.ClassCastException: class co.nstant.in.cbor.model.Array cannot be cast to class co.nstant.in.cbor.model.ByteString (co.nstant.in.cbor.model.Array and co.nstant.in.cbor.model.ByteString are in unnamed module of loader 'app')
  	at com.bloxbean.cardano.client.transaction.spec.TransactionOutput.deserializeAlonzo(TransactionOutput.java:272)
  	at com.bloxbean.cardano.client.transaction.spec.TransactionOutput.deserialize(TransactionOutput.java:196)

Details:

Error occurs when doing this: TransactionOutput txOutput = TransactionOutput.deserialize(CborSerializationUtil.deserialize( <hex encoded bytes[] payload> ));
encoded payloads in examples attached were retrieved using Carp
FYI, utxos in the examples were all inputs of the linked tx (shouldn't make a difference I don't think)

Example failing utxo's in the attached file
java-client-lib-example-tx-2.txt

Thanks. I will check.
jfyi, if you just want to deserialize already executed txn, you may also want to check serializers in yaci-core project. But it doesn't support serialization.
https://github.com/bloxbean/yaci-core/blob/1d588014d78e1a809a821e71a0ece6cd50ce8797/src/main/java/com/bloxbean/cardano/yaci/core/model/serializers/TransactionOutputSerializer.java#L26

@stake1edge
It seems the utxos for all three transactions are from Byron era. But  in case of tx-2 & tx-3,  those utxos are used in Shelley era transaction.
Cardano Client doesn't support Byron era transaction format. Only Shelley and post shelley eras are supported.
I tried the same with cardano-serialization-lib rust impl, same error.
For your reference,  format of shelley era txouput
[h'016A55A69E79495C10485A18D3E163BA3D914960E1F5A9B53A481CAFC36CAB9059A9BC1D93645F50D0B8D6DD8464171B68FF5E70C6044D7872',<PHONE_NUMBER>8]

Byron Era txoutput
[[24(h'83581CC21DB1F9531843CB7B88D28FA957AE8F6FF0F077E10AC751B99E2B30A101581E581C26152059D617412C1097B53F65B751CEF33B2D9BBA289807ABAFE64100'),<PHONE_NUMBER>],<PHONE_NUMBER>3]

You may need to manually parse the Byron era utxo in your app.
Fyi, yaci-core library will support Byron era parsing in future release. (Currently it only supports Shelley and later).

ah ok I see. Good to know, tks for the info

@stake1edge, closing this issue as the lib only supports Shelley and post shelley era  transactions.


UI adjustments

Hi there,
THANKS for this great plugin. I used SimpeleTimeTracker for a long time but find this much better.
I wonder whether itts possible to implement two changes:

Make it possible to adjust Timekeep UI size. By this, I mean: font size, corresponding line height and - most importantly - button size. Ideally, Font and button size could be adjusted and line height would follow.
Make it possible to auto-hide details in case the line maximum is not there to guarantee a decent display of data. By this, I mean:

Either hide parts of the data inside the startTime and endTime fields in this order: 1 date 2 seconds 3 hours (would be best to display recalculated minutes in this minimal display)
Alternatively, hide the entire rows for StartTime and endTime and only keep duration. This could also be the last setting for the first bullet point.

I tried adjusting via CSS but could not find any way to achieve the hiding of data progressively. I am, however, a noob in CSS and fiddled mostly with AI prompts.
Again: THANKS for this really cool plugin!!!!

For 1. Shouldn't be anything stopping you from changing the front size and line height using CSS
For 2. The formatting for start and end date is customizable so you can change that to anything you'd like (Its the "Timestamp display format" in settings). If you'd prefer to hide these you can do so with css by targetting the specific column with something like ':nth-child()' then display: none for both the specific .timekeep-table-head > tr > th and .timekeep-row > td (Using :nth-child to target the column you want to hide)


deps: google-cloud-shared-dependencies 3.21.0

Updating the shared config and shared dependencies BOM version to the latest.

The unit test for Java 8 didn't finish. Closing in favor of https://github.com/googleapis/java-spanner/pull/2772


ClientOrderId can be a string too

Hi)
ClientOrderId is not necessary to be integer.
It can be something like this: TB1232, MS3241, 424-324-531 etc.

@rorc , thanks 👍

Btw, can you push this commit please? =)

@rorc it's already included into version 0.6

@gietos Strange, but with "gietos/dostavista": "^0.5.0" and run composer update package are not updating.
Ok, i rewrite to "gietos/dostavista": "^0.6.0" and works, thx )


Consistently seeing [READ-FAILED] for a proportion of READs in workload D for PostgreSQL via Jdbc

Hi, I am using PG 13 (seen on older PGs also) and cloned YCSB last week and using jdbc binding 0.16. Irrespective of what number I set operationcount and recordcount to, I observe the same failure always.
The command I use: (I have run load A by now)
./bin/ycsb run jdbc -P workloads/workloadd -P jdbc/src/main/conf/db.properties -p recordcount=100 -p operationcount=100 -cp jdbc/target/postgresql-9.0-802.jdbc4.jar

Result:
# ./bin/ycsb run jdbc -P workloads/workloadd -P jdbc/src/main/conf/db.properties -p recordcount=100 -p operationcount=100 -cp jdbc/target/postgresql-9.0-802.jdbc4.jar
[WARN]  Running against a source checkout. In order to get our runtime dependencies we'll have to invoke Maven. Depending on the state of your system, this may take ~30-45 seconds
[DEBUG]  Running 'mvn -pl com.yahoo.ycsb:jdbc-binding -am package -DskipTests dependency:build-classpath -DincludeScope=compile -Dmdep.outputFilterFile=true'
java -cp jdbc/target/postgresql-9.0-802.jdbc4.jar:/home/cc/YCSB/jdbc/conf:/home/cc/YCSB/jdbc/target/jdbc-binding-0.16.0-SNAPSHOT.jar:/home/cc/YCSB/jdbc/target/jdbc-binding-0.17.0-SNAPSHOT.jar:/root/.m2/repository/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1.1/geronimo-jta_1.1_spec-1.1.1.jar:/root/.m2/repository/org/apache/htrace/htrace-core4/4.1.0-incubating/htrace-core4-4.1.0-incubating.jar:/root/.m2/repository/net/sourceforge/serp/serp/1.13.1/serp-1.13.1.jar:/root/.m2/repository/org/hdrhistogram/HdrHistogram/2.1.4/HdrHistogram-2.1.4.jar:/root/.m2/repository/org/apache/openjpa/openjpa-jdbc/2.1.1/openjpa-jdbc-2.1.1.jar:/root/.m2/repository/org/apache/geronimo/specs/geronimo-jms_1.1_spec/1.1.1/geronimo-jms_1.1_spec-1.1.1.jar:/home/cc/YCSB/core/target/core-0.17.0-SNAPSHOT.jar:/root/.m2/repository/org/apache/openjpa/openjpa-kernel/2.1.1/openjpa-kernel-2.1.1.jar:/root/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.4/jackson-core-asl-1.9.4.jar:/root/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/root/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar:/root/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.4/jackson-mapper-asl-1.9.4.jar:/root/.m2/repository/org/apache/openjpa/openjpa-lib/2.1.1/openjpa-lib-2.1.1.jar:/root/.m2/repository/commons-pool/commons-pool/1.5.4/commons-pool-1.5.4.jar com.yahoo.ycsb.Client -db com.yahoo.ycsb.db.JdbcDBClient -P workloads/workloadd -P jdbc/src/main/conf/db.properties -p recordcount=100 -p operationcount=100 -t
Command line: -db com.yahoo.ycsb.db.JdbcDBClient -P workloads/workloadd -P jdbc/src/main/conf/db.properties -p recordcount=100 -p operationcount=100 -t
YCSB Client 0.17.0-SNAPSHOT

Loading workload...
Starting test.
Adding shard node URL: jdbc:postgresql://localhost:5432/abc?reWriteBatchedInserts=true
Using shards: 1, batchSize:1000, fetchSize: 1000
DBWrapper: report latency for each error is false and specific error codes to track for latency are: []
[OVERALL], RunTime(ms), 203
[OVERALL], Throughput(ops/sec),<PHONE_NUMBER>3842363
[TOTAL_GCS_PS_Scavenge], Count, 0
[TOTAL_GC_TIME_PS_Scavenge], Time(ms), 0
[TOTAL_GC_TIME_%_PS_Scavenge], Time(%), 0.0
[TOTAL_GCS_PS_MarkSweep], Count, 0
[TOTAL_GC_TIME_PS_MarkSweep], Time(ms), 0
[TOTAL_GC_TIME_%_PS_MarkSweep], Time(%), 0.0
[TOTAL_GCs], Count, 0
[TOTAL_GC_TIME], Time(ms), 0
[TOTAL_GC_TIME_%], Time(%), 0.0
[READ], Operations, 71
[READ], AverageLatency(us),<PHONE_NUMBER>042254
[READ], MinLatency(us), 301
[READ], MaxLatency(us), 27935
[READ], 95thPercentileLatency(us), 922
[READ], 99thPercentileLatency(us), 1168
[READ], Return=OK, 71
[READ], Return=NOT_FOUND, 21
[CLEANUP], Operations, 1
[CLEANUP], AverageLatency(us), 7366.0
[CLEANUP], MinLatency(us), 7364
[CLEANUP], MaxLatency(us), 7367
[CLEANUP], 95thPercentileLatency(us), 7367
[CLEANUP], 99thPercentileLatency(us), 7367
[INSERT], Operations, 8
[INSERT], AverageLatency(us), 573.0
[INSERT], MinLatency(us), 311
[INSERT], MaxLatency(us), 1881
[INSERT], 95thPercentileLatency(us), 1881
[INSERT], 99thPercentileLatency(us), 1881
[INSERT], Return=BATCHED_OK, 8
[READ-FAILED], Operations, 21
[READ-FAILED], AverageLatency(us),<PHONE_NUMBER>7142856
[READ-FAILED], MinLatency(us), 210
[READ-FAILED], MaxLatency(us), 409
[READ-FAILED], 95thPercentileLatency(us), 388
[READ-FAILED], 99thPercentileLatency(us), 409

This is my db.properties file:
db.driver=org.postgresql.Driver
jdbc.fetchsize=1000
#db.url=jdbc:postgresql://localhost:5432/abc?reWriteBatchedInserts=true&sslmode='verify-ca'&ssl='true'&sslcert='/home/cc/postFix/pg13Data/data/client/postgresql.crt'&sslkey='/home/cc/postFix/pg13Data/data/client/postgresql.key'&sslrootcert='/home/cc/postFix/pg13Data/data/server.crt'
db.url=jdbc:postgresql://localhost:5432/abc?reWriteBatchedInserts=true
db.user=abc
db.passwd=PASSWORD
db.batchsize=1000
jdbc.batchupdateapi=true

I don't particularly see failures in any other workloads. Let me know if you need any further information. I could verify the same failure on different machines also.
And I have made no changes to the workload D file:
recordcount=1000
operationcount=1000
workload=com.yahoo.ycsb.workloads.CoreWorkload
readallfields=true
readproportion=0.95
updateproportion=0
scanproportion=0
insertproportion=0.05
requestdistribution=latest

what commands did you run prior to the run command listed?

Hi, I started with before running RUN D.
./bin/ycsb load jdbc -P workloads/workloada -P jdbc/src/main/conf/db.properties -p recordcount=100 -p operationcount=100 -cp jdbc/target/postgresql-9.0-802.jdbc4.jar

So to narrow down what's going on I enabled pg logging (and have a function policy on usertable that logs every read also).
./bin/ycsb run jdbc -P workloads/workloadd -P jdbc/src/main/conf/db.properties -p recordcount=100 -p operationcount=20 -cp jdbc/target/postgresql-9.0-802.jdbc4.jar

[OVERALL], RunTime(ms), 175
[OVERALL], Throughput(ops/sec),<PHONE_NUMBER>8571429
[TOTAL_GCS_PS_Scavenge], Count, 0
[TOTAL_GC_TIME_PS_Scavenge], Time(ms), 0
[TOTAL_GC_TIME_%_PS_Scavenge], Time(%), 0.0
[TOTAL_GCS_PS_MarkSweep], Count, 0
[TOTAL_GC_TIME_PS_MarkSweep], Time(ms), 0
[TOTAL_GC_TIME_%_PS_MarkSweep], Time(%), 0.0
[TOTAL_GCs], Count, 0
[TOTAL_GC_TIME], Time(ms), 0
[TOTAL_GC_TIME_%], Time(%), 0.0
[READ], Operations, 16
[READ], AverageLatency(us), 2444.25
[READ], MinLatency(us), 434
[READ], MaxLatency(us), 29519
[READ], 95thPercentileLatency(us), 1165
[READ], 99thPercentileLatency(us), 29519
[READ], Return=OK, 16
[READ], Return=NOT_FOUND, 1
[CLEANUP], Operations, 1
[CLEANUP], AverageLatency(us), 5774.0
[CLEANUP], MinLatency(us), 5772
[CLEANUP], MaxLatency(us), 5775
[CLEANUP], 95thPercentileLatency(us), 5775
[CLEANUP], 99thPercentileLatency(us), 5775
[INSERT], Operations, 3
[INSERT], AverageLatency(us), 1051.3333333333333
[INSERT], MinLatency(us), 460
[INSERT], MaxLatency(us), 1771
[INSERT], 95thPercentileLatency(us), 1771
[INSERT], 99thPercentileLatency(us), 1771
[INSERT], Return=BATCHED_OK, 3
[READ-FAILED], Operations, 1
[READ-FAILED], AverageLatency(us), 389.0
[READ-FAILED], MinLatency(us), 389
[READ-FAILED], MaxLatency(us), 389
[READ-FAILED], 95thPercentileLatency(us), 389
[READ-FAILED], 99thPercentileLatency(us), 389

I have the xlsx attached (github does not support csv), you can see the one Read failure for user879817313296471393, but I can also see there are inserts for same ycsb_key. So I am wondering if this READ was supposed to be post the user INSERT.
1ReadFailed.xlsx

I say this because,
SELECT * FROM usertable WHERE YCSB_KEY ='user879817313296471393';
INFO:  log: (user879817313296471393,"*'*)#6.E%,=b=5x2Wm*?|/R9,(*=F92N'!H#$]o""@s''~+B)*^#(Uq*Jm37d*6*8G!(Y7,Ua*(*!1<?Uy*4j#N-1Mo&Jk.Pi6.d>",".W' ""j*Aq.Hy:P?1?:>4`'5l(]s;Y1?B{&?b<S5-3r/%`:Z;&7  ,>)R;)Dk)4l+R5'^'54`<:,!0$,<<-Q17=p/)l""I5=^a=Z75","0O'53(5&n;'~ 7l:8z /x6&h=]%1N!=T5= ` Wm':"",6f&K7;T90O98Ry6Iy4_u>-((12$Rc4[w:-v>0 !(b3(v&)0-%(!/"";>v;","9Q/,74<R152r,#0,Do*0`:Jc4Vc2D{!"">=!d:=p'Gm=B9 )8:4h:]{&Q5('d))2 ..5=:1+6-@i/26$7`+^5$O-)^o!""0!T9*L!%","5O%=)p!+h;$j<A/8D-7:t#3t/@s''<,Ck/\\5&400T)(""$9=$0- $Q%#^c>.8<!h'Nc Kg6Z-4""z;%`""-~*3$1?~'D;<E50-,$+","$0l:3~2V?(Gi446=J?,N}:.d#W+1)(#+h;$(/&>!M? - 18.>*z2Sc1&*1Ys ]k#[?*E7<Xw'W+-,4)U7<7U50Q;>G1(Yy&=l+","""_#(Y=!#z*Tw66v?Oi*4z:0$- b69b6Fg#3b/V=,Uo(J51=#h>=v6Jo& l5'& T!=+h.[w,Cc&_#4Ti*D+ Nu3+6'Js>,j=Qo6","+5p>C{;Ww:0<8_/5^k7&9v$'x""I!%!b?T= 50$A;'Hy;-<<&,$H?.?:)2>4;f::0&..5.n,S% !z>74<&&#]k""^a, r""Li>S!(","=P#0M/1Ra>Jo2Mg/(p7Sq:Jg'Di/Yk,P}#Ay8)v>_1""7""![-60""%M5/@y&Ji6Nu&Kw8M'$Jc0K%5Ng+Vy2Lc4C}:@==?x6 z>.>=",")S+,M5<648T52 l>3$7E9!Dq(8.1^e+:f#Ak)S}&;v""669A'1-f6;$  $!-*4, ,4*9Pc6U-(O'83""=G}>6~!Ei:0b7(4 406O/8","2019-09-24 03:44:20.579415")
CONTEXT:  PL/pgSQL function log_record(usertable) line 1 at RAISE

Which means user user879817313296471393 exists when I try from psql, but not at the time of READ from YCSB.

Okay, so removing reWriteBatchedInserts from db.url seems to fix the issue. So likely there is a problem with batched inserts but haven't been able to debug more.

Oh! It's probably because the batched insert hasn't actually finished inserting when the shared state in workload D has updated the key range to include the new records.
I'll add this to the known issues on the next release.


Add GetFileHash and VerifyFileHash tasks to XSD (for IntelliSense)

Reported by @japj in https://github.com/Microsoft/msbuild/pull/3999#issuecomment-458141311.
#3398 exposed two new tasks, but they're not exposed to Visual Studio's autocompletion because they're not mentioned in the XSD used for that.
They need an entry like
https://github.com/Microsoft/msbuild/blob/966cdf2ac602e359530ad63f608e6cbba9c9fd0f/src/MSBuild/Microsoft.Build.CommonTypes.xsd#L2198-L2211
but with the right inputs/outputs.

Hi @rainersigwald ,
Will work on it, first time contributor here so may need some help.

Sounds good! Removing up-for-grabs; this is @santoshyadav198613's.
Let us know if you run into trouble!

HI @rainersigwald ,
Just one help, should i add the schema at the end in the file, or should i add in it TASKS section like others.
Is there any pattern we follow here.

I'd say in that TASKS section, sorted alphabetically by task name.

Cool sounds good will make the changes accordingly.


Searching new maintainer

This project and (and those related towards it) searches for a new maintainer. Please volunteer.

@malkusch I can help if you don't have any other candidates

Thank you very much. You're in now.

@malkusch I'd be interested, too! 🛠

@webimpress is the new maintainer he can add you too to organization if he's interested.

That's good to hear! I'll focus on PHPUnit then :)

@epdenouden, thanks!


Invalid rasa/examples/rules/data/nlu.yml file

Rasa Open Source version
3.1
Rasa SDK version
No response
Rasa X version
No response
Python version
3.6
What operating system are you using?
Linux
What happened?
Hi,
I am exploring examples provided with rasa, and I recognized that file
rasa/examples/rules/data/nlu.yml is identical with rasa/examples/formbod/data/nlu.yml.
Moreover file rasa/examples/rules/data/nlu.yml is incompatible with the rest of rules domain.
Command / Request
I think that content of rasa/examples/formbod/data/nlu.yml file should be replaced with intents adequate to rules domain.

Relevant log output
No response

Thanks for raising this issue, @camattin will get back to you about it soon✨
Please also check out the docs and the forum in case your issue was raised there too 🤗

@w-jaworski The file is not invalid (format wise); as you say, not all of the contents of that NLU file are used by the rules in the same directory, nor are all included in the domain file, but this will not cause a run time error.
Re. the duplication: The examples are intended to each stand by themselves, so there is a lot of data that is similar across different examples. This is also not a problem and won't cause errors.
I am changing the type of this issue since it is not a bug, but it is a legitimate observation.
If you would like to update the contents of the file in question to be a more sensible example, please go for it.

I disagree with @melindaloubser1. The following intents listed in rasa/examples/rules/domain.yml are not present in rasa/examples/rules/data/nlu.yml:

activate_q_form
explain
stopp
ask_possibilities
faq
switch_faq
nlu_fallback

As a consequence it is impossible to activate rules that use these intents. Therefore I claim that this issue is a bug.

Although it is not a normal use case, it is in fact possible to include intents in NLU that are not in the domain, and vice versa. It will not break anything. I'm not too hung up on how it gets labeled, but it is helpful to keep the bug label for issues in source code that cause behaviour that is not by design. Since this is an example, and there's nothing that declares it should behave differently than it does, it doesn't fall in that category.
You are welcome to submit a PR change the example to something you find more intuitive.


Is it possible to change an output dictionary?

Thanks for the software! My team is planning to cite PanDepth in a long-read sequencing pipeline for human. We really appreciate your work!
It would be better if we could change an output directionary rather than prefix only. This is meaningful especially when analysing many samples.

Thank you very much for your positive feedback on Pandepth. It is possible to specify a folder before the output file prefix. For example: pandepth -i test.bam -o testDir/test The folder named 'testDir' must be pre-created


Apple icon based on font-awesome

Font awesome bundled with keycloak provides an icon for Apple products https://fontawesome.com/icons/apple?s=solid&f=brands. Can it be incorporated into the plugin?

Workaround:

Can be fixed with custom theme
add kcLogoIdP-apple=fa fa-apple to theme.properties

Thank you for this great improvement, @EvgeniGordeev 😀
I'll what I can do here. kcLogoIdP-apple=fa fa-apple is already a good hint 👍

@stianst: Do you have an idea how we can achieve this directly in this extension?

@klausbetz Not right now, but is something we should support.
Thinking perhaps to extend https://github.com/keycloak/keycloak/blob/main/server-spi/src/main/java/org/keycloak/models/IdentityProviderModel.java to have a "displayIconClasses", with a default implementation (so it doesn't break backwards compatiblity) that just returns null. Then a custom provider can implement this method to set the default classes.
Next step would be to update https://github.com/keycloak/keycloak/blob/main/services/src/main/java/org/keycloak/forms/login/freemarker/model/IdentityProviderBean.java#L76 to use IdentityProviderModel#getDisplayIconClasses() if one isn't set by a theme.

Thank you, @stianst!
I'll check it out 👍

@stianst I created a PR for the changes you proposed. It was way easier to implement than I thought it would be. 😁
Feel free to add your 2 cents to the PR.
https://github.com/keycloak/keycloak/pull/14826

As soon as there's a new version of the keycloak dependencies, I'll release a new version of this package including the icon.

Keycloak 20.0.0 is out! 😄
However, it seems like this feature is not as easy to implement as we thought it is. 🤔
I implemented a work-around (some would call this a fckn dirty hack and I'm not proud of it 😁) in this PR https://github.com/klausbetz/apple-identity-provider-keycloak/pull/14, which messes around with the "social"-data of the login form.
⚠ This work-around with the custom LoginFormsProvider only works on v19.0.2 and above (cause the constructor of FreeMarkerLoginFormsProvider was changed in v19.0.2). Compatibility-wise not ideal.
The main issue is that the new method IdentityProviderModel.getDisplayIconClasses() is ignored, cause AppleIdentityProviderConfig.java (which contains the override for getDisplayIconClasses()) is not instantiated for the login form. See RealmAdapter.java line 1200.
@stianst I'm afraid this PR https://github.com/keycloak/keycloak/pull/14826 for keycloak did not improve the situation. Do you have any idea how the icon can be displayed on the standard login page? If there's no easy way, I'd rather skip this issue and revert the changes from https://github.com/keycloak/keycloak/pull/14826.
To be honest, from a functional point of view this feature has no priority. It's way easier to address this UI feature in a custom theme which the respective keycloak administrator implements.
Moreover, there are visual guidelines from apple which are not covered in this extension as well (which may lead to rejected App reviews from Apple in the worst case).

Works, using Keycloak 21. Tested using v1.4.1.

Closing this ticket is cheap since no one can use this extension with Keycloak 21 effectively, but the icon is still shown on the standard theme.


Issue when importing the main less file

When doing:
@import '../vendors/bower_components/bootstrap/less/bootstrap.less';
@import '../vendors/bower_components/material-design-typography/less/material-design-typography.less';

is triggering:
>> SyntaxError: variable @mdc-#9e9e9e-500 is undefined in src/vendors/bower_components/bootstrap/less/type.less on line 128, column 3:
>> 127   color: #fff;
>> 128   .bg-variant(@brand-primary);
>> 129 }

I dug a little more and found out that this library is overwriting the .bg-variant() mixin, so they conflict each other.

Fixed since 1.1.0


Flow Support for generator-omaha Project

Add flow annotations
Add build step to workflow
ESLint parser --> babel-eslint
Remove dev task

Coverage remained the same at 100.0% when pulling 577cbc3e4e4f650ed6706a7e7382e4ccda2f79bd on feature/flow-support into 37a35f0684e09bc7d78117d17d280847aac069ef on master.

Coverage remained the same at 100.0% when pulling b281b04f4dd328d4bcfd50d98a8c86ec065c28bc on feature/flow-support into 37a35f0684e09bc7d78117d17d280847aac069ef on master.

Coverage remained the same at 100.0% when pulling f83bcffbf580c94c1e0104162d91cb068b8c32fb on feature/flow-support into 37a35f0684e09bc7d78117d17d280847aac069ef on master.


in landscape mode pub-types break too early

open record detail
see how pub-type breaks into the next row, although there is sufficient space

similar effects appear with the keywords


Add packer template for Fedora 22

Because of the deprecation of yum in Fedora 22 it is necessary to
provide duplicated scripts for yum and dnf.
Closes-Bug: #2

Testing x86_64 architecture with Packer 0.7.5 and Vagrant 1.7.2 using VirtualBox at the moment. Cannot test other architectures/providers.

Thanks - this is a good start - however, there is far too much code duplication to approve a merge.  It looks like you could make a variable called say "PKG_MGR" check if it's Fedora 22 and use dnf, otherwise use yum.
I might have some time tomorrow to refactor the code.

This PR is not well tested at the moment. Avoiding the code duplication would be nice and introducing some kind of variable makes sense to me.  I will also have a look tomorrow.

First cut committed here: https://github.com/boxcutter/fedora/commit/bfa632126ad3f82d392e50bcec6a295ee4c18fd9
Did some test builds on VirtualBox and they seem to work - VMware and Parallels do not, so I'm filtering them out in the Makefile.
I just put the package manager in a packer variable.
The only extra thing I discovered is that you can't seem to specify packages out of the new "C Development Tools and Libraries" group with GCC 5.1 in it in a kickstart.  I'd prefer to pre-load all the packages in the kickstart, but I don't know how to do this for Fedora 22.  So I load the gcc stuff dynamically on Fedora 22.

Thanks for reworking and merging this.


"Error: no bounce root found"

when I try to use bounce as follows I get the error "Error: No bounce root found". I even get this if I have just <BounceRoot></BounceRoot> :/
use bounce::helmet::{Helmet, HelmetBridge};
use bounce::*;
use yew::prelude::*;

#[function_component(App)]
fn app() -> Html {
    html! {
        <BounceRoot>
            <HelmetBridge default_title="default title" />
            <Helmet>
                <title>{"app title"}</title>
            </Helmet>
        </BounceRoot>
    }
}

fn main() {
    yew::Renderer::<App>::new().render();
}

Never mind, I had a bad atom that was causing this

It seems to happen if there are any usages of use_atom

BounceRoot is a context provider, which means normal rules of context provider apply.
Hooks that rely on bounce root must have a bounce root present in its ancestors (not the current one).
#[function_component(App)]
fn app() -> Html {
    // Looking for bounce root in ancestors of App, which cannot be found.
    let simple = use_atom::<SimpleAtom>();
    html! {
        <BounceRoot>

{"hello"}

            if simple.something {

{"more stuff"}

            }
        </BounceRoot>
    }
}

#[function_component]
fn Content() -> Html {
    // Looking for bounce root in ancestors of Content, which can be found in App.
    let simple = use_atom::<SimpleAtom>();

    return html! {

{"hello"}

        if simple.something {

{"more stuff"}

        }
    }
}

#[function_component(App)]
fn app() -> Html {
    // Looking for bounce root in parents of app, which cannot be found.
    let simple = use_atom::<SimpleAtom>();
    html! {
        <BounceRoot>
            <Content />
        </BounceRoot>
    }
}

so I'm not allowed to do anything dynamic in the main App one basically, it has to be in child components?

Also in your example there are multiple BounceRoot tags.. does this mean I need one for every component?

No, you can only have 1 bounce root per application.
You cannot use bounce hooks in the component it presents, only its children.
This means that you will not be able to use it in an existing top most component.
There is nothing special with the top most component.
You can simply add a parent that does nothing but registers a bounce root.
You may find this example helpful.


tour: default selection behavior different from local environment

Context: https://go.dev/tour/concurrency/6
Hi, when I was going through the default selection tutorial, the output behavior seems strange. The output by the example code is always the same (I tried ~20 times but I did not conduct any rigorous experiments).
    .
    .
tick.
    .
    .
tick.
    .
    .
tick.
    .
    .
tick.
    .
    .
tick.
BOOM!

However, as far as I understands, at 500ms both tick and boom will be ready so the select statements will randomly pick one  of the branch to execute. So 50% percent of the time there will be 4 ticks in the output and 50% percent 5 ticks.
I ran the example code locally and observed the randomness. So I guess this may relate to the online go environment. Not sure if this is something that can be changed but I think it may be helpful to indicate this behavior in the tutorial description in case of any confusion.

With go 1.20 "math/rand package now automatically seeds the global random number generator" (https://go.dev/doc/go1.20#math/rand).  With 1.20 in the online Go Playground in 2023 February you should see the randomness in both online and offline tour versions now.


document that borderRadius is responsive

Document that borderRadius is responsive.
https://github.com/jxnblk/styled-system/issues/58#issuecomment-362851423.
This will likely cause a merge conflict with #115.
I think that #58 should be reopened until either #115 is merged with this change or this PR is merged.  I spent a while trying to get borderRadius to work and was only successful when I found the above comment.

Codecov Report

Merging #156 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #156   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           5      5
  Lines         203    203
=====================================
  Hits          203    203

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 fbce039...47fa4a9. Read the comment docs.

Sorry for the delay, but I don’t think borderRadius is Responsive at the moment...


Enable the new model serialization for mysql

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.MySql


Support for HTTP methods DELETE,PATCH,OPTIONS and PUT

currently, the only supported HTTP methods are GET and POST.

Pull request #6 include support for the major HTTP methods


ARTEMIS-1009 Fixing compatibility

there was an issue with running older clients
Found by this testsuite:
https://github.com/clebertsuconic/messaging-versioning
this will fix further compatibility issues

there's a real failure here.. wait me fix it before merging it.


Added ssh_private_ip config to enable use of VM private IP addresses

When using an Azure VNet, public endpoints cannot be used to reach virtual machines.
This commit adds an ssh_private_ip config option which accepts a boolean value.  When true, the private IP address of Azure VMs will be used when executing remote provisioning commands, instead of the public endpoint IP.

Hi @Ancillas, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

@Ancillas, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, MSBOT;

The above comment should fix the build. Also please run go fmt to get rid of the spaces/tabs mix.
Thanks for contributing!

Thanks for the feedback.  I'll get the files formatted correctly as soon as I can.


xdebug 3.0.0 upgrade

xdebug v3.0.0 was released a few days ago - https://xdebug.org/announcements/2020-11-25

Configuration changes, massive performance improvements, and PHP 8 support are the primary features in Xdebug 3

xdebug version in the latest docksal/cli v2.12.0 images is v2.9.8.
Upgrade guide from v2 to v3 - https://xdebug.org/docs/upgrade_guide.
Manual upgrade inside a docksal/cli container:
sudo pecl update-channels
sudo pecl upgrade xdebug
sudo supervisorctl restart php-fpm

$ php -i | grep "with Xdebug"
    with Xdebug v3.0.0, Copyright (c) 2002-2020, by Derick Rethans

Documentation:

A list of all settings:  https://xdebug.org/docs-settings.php
A list of all functions: https://xdebug.org/docs-functions.php
Profiling instructions:  https://xdebug.org/docs-profiling2.php
Remote debugging: https://xdebug.org/docs-debugger.php

TODOs:

[ ] Revise and update xdebug settings in Docksal and docksal/cli
[ ] Test and compare performance between v2 and v3

@sean-e-dietrich @lmakarov i've been playing with this a bit and i've got the settings working locally.  I think for the time being, decent fixes would be to either a) update the Dockerfiles to expose port 9003 and alter the xdebug.ini file to use the new settings, or b) only update the xdebug.ini file to use port 9000.
Locally this is working with cli:2.13-php7.3 and cli:2.13-php7.4 with these settings added in .docksal/etc/php/php.ini
[xdebug]
xdebug.mode=debug
xdebug.discover_client_host=1
xdebug.client_host=<IP_ADDRESS>

What's the best way to downgrade docksal or otherwise install xdebug 2? I'm the only one on my team on xdebug 3 and so don't want to add an xdebug 3 specific workarounds into our branch.

What's the best way to downgrade docksal or otherwise install xdebug 2? I'm the only one on my team on xdebug 3 and so don't want to add an xdebug 3 specific workarounds into our branch.

@cnizzardini If it's just you that needs to downgrade, you can do it a couple of ways by adding a different CLI image to your local app.  You can do that by either adding CLI_IMAGE=docksal/cli[version]-php[version] to your docksal.env or docksal-local.env or by adding image: docksal/cli[version]-php[version] to your cli service in docksal.yml or docksal-local.yml
An example of how that might look is:
version: "2.1"
services:
  cli:
    image: docksal/cli:2.10-php7.3

I have an example of this in one of the Docksal training videos I made: https://www.youtube.com/watch?v=Z-71qNytH4I&list=PLIUxoDz1eCE7UGrpuB3GD876RyDED00B5&index=9

@cnizzardini If it's just you that needs to downgrade, you can do it a couple of ways by adding a different CLI image to your local app.  You can do that by either adding CLI_IMAGE=docksal/cli[version]-php[version] to your docksal.env or docksal-local.env or by adding image: docksal/cli[version]-php[version] to your cli service in docksal.yml or docksal-local.yml
An example of how that might look is:
version: "2.1"
services:
  cli:
    image: docksal/cli:2.10-php7.3

I have an example of this in one of the Docksal training videos I made: https://www.youtube.com/watch?v=Z-71qNytH4I&list=PLIUxoDz1eCE7UGrpuB3GD876RyDED00B5&index=9

@JDDoesDev I don't think 7.3 is an option for me, our codebase uses typed properties which is a 7.4. Mainly, I am trying to from xdebug 3 to 2.

@JDDoesDev I don't think 7.3 is an option for me, our codebase uses typed properties which is a 7.4. Mainly, I am trying to from xdebug 3 to 2.

Understood.  Thank you for clarifying, although that does bring up other questions.  I suppose what you could do is create a custom Dockerfile that extends the 7.4 image you're using and within that file remove the existing xdebug through pecl and then install the tagged version that you're wanting to use.  With that, you'll also have to open port 9000 since xdebug 3 uses 9003.  I can only assume that's so they can say "XDEBUG 3 IS OVER 9000!!!!"
Based on this S/O question, you may not even need to uninstall: https://serverfault.com/questions/631479/how-to-install-an-older-version-of-a-pecl-package

Understood.  Thank you for clarifying, although that does bring up other questions.  I suppose what you could do is create a custom Dockerfile that extends the 7.4 image you're using and within that file remove the existing xdebug through pecl and then install the tagged version that you're wanting to use.  With that, you'll also have to open port 9000 since xdebug 3 uses 9003.  I can only assume that's so they can say "XDEBUG 3 IS OVER 9000!!!!"
Based on this S/O question, you may not even need to uninstall: https://serverfault.com/questions/631479/how-to-install-an-older-version-of-a-pecl-package

In the interim I tried this below and was surprised it didn't resolve my issue.
FROM docksal/cli:2-php7.4

# ...other dockerfile commands

RUN pecl uninstall xdebug && \
    mkdir /tmp/xdebug && \
    cd /tmp && \
    pecl download xdebug-2.9.8 && \
    tar xf xdebug-*.tgz -C xdebug --strip-components 1 && \
    mv ./xdebug /usr/src/php/ext/ && \
    rm /tmp/xdebug-*.tgz
RUN docker-php-ext-install xdebug

In the interim I tried this below and was surprised it didn't resolve my issue.
FROM docksal/cli:2-php7.4

# ...other dockerfile commands

RUN pecl uninstall xdebug && \
    mkdir /tmp/xdebug && \
    cd /tmp && \
    pecl download xdebug-2.9.8 && \
    tar xf xdebug-*.tgz -C xdebug --strip-components 1 && \
    mv ./xdebug /usr/src/php/ext/ && \
    rm /tmp/xdebug-*.tgz
RUN docker-php-ext-install xdebug


[Boss Encounter] Ranged Assassins - Bosses Can Hit Each Other

Mechanic/Concept:

This is a ranged boss which does NOT auto-attack, instead uses Mirana's Arrow as its basic attack. (like Dark Souls ranged enemies)
In addition, it has a combination of abilities which use the basic attack as its core function. (Listed in Abilities)
Your team will fight against a 5 unit squad of Ranged Assassins. (You can have Nyx, Phantom, and Templar Assasins as members requiring two more character models, or make one model for all 5 members)
The arrows and abilities from other bosses hurt each other. Bosses take extra damage from other Boss arrows and abilities.

At the end, you can choose to become the Ranged Assassin!https://github.com/AngelArenaAllstars/suggestions/issues/155

Abilities:

Basic Attacks: Mirana Arrows with quick arrow velocity (mini-stun or slow + damage that increases the farther it travels) on a short cooldown. (Telegraphed by having a longer cast animation or holding a pose before shooting the arrow.)
Crippling Volley: Fires a volley of arrows into the air that lands in target area after a duration. On impact, deals damage and immobilizes targets in radius for a duration. (Telegraph my showing the area where stun will land)
Machine Gun Arrows:  Boss picks a target and after a duration, fires a barrage of Basic Attack arrows for a duration hitting the first enemy they touch. Deals damage and mini-stuns or slows. Boss adjusts its aim as the target moves like phoenix laser. (Telegraph by having the boss flickering yellow and turns into a solid yellow when about to shoot.)
Scatter Shot Arrows: Does a quick 360 spins and shoots Basic Attacks in all directions or shoots in a cone in front. Deals damage and mini-stun/slows. (Telegraph using alchemist stun mechanic. The boss will flicker red and as he gets closer to 0, it will flicker faster until the boss becomes a solid red and shoots out ability. I want the boss to have a mobile ability that can be channeled as their moving.)
Triangle of Death: Telegraphed when 3 Bosses teleport/blink to a location in a triangle formation (like Phantom Lancers Doppelganger). After a short duration, the area inside of the triangle formation does high burst damage or high tick damage and slows anyone caught inside. All bosses place ability on cooldown when it's used.

Flash Step - Teleportation (Blink)

Encounter 1 Phases:

5 Bosses appear. They constantly move and shoot. Abilities they use are Crippling Volley and Basic Attacks. (Combo: Crippling Volley into Basic Attacks)
After 1 member dies, they unlock the ability to use Machine Gun Arrows and Scatter Shot Arrows. (Combo: Crippling Volley into Machine Gun Arrow.)
After the 2nd members dies, they begin to use Flash Step and Triangle of Death. (Combo = Crippling Volley into Flash Step and Triangle of Death.)
After the 3rd members dies, disable the ability to use the Triangle of Death. They can still use all other abilities.
After the 4th member dies, you can go one of two ways:

You can kill the final boss and grab his loot
the last member opens a portal and escapes. You can step into this portal and become the Ranged Assassin. [look at my Ranged Assassin hero post for more detail] https://github.com/AngelArenaAllstars/suggestions/issues/155

Encounter 2 Phases:

5 Bosses appear. They constantly move and shoot. Abilities they use are Crippling Volley,  Machine Gun Arrow, and Basic Attacks. (Combo: Crippling Volley into Machine Gun Arrows/Basic Attacks)
After 1 member dies, they unlock the ability to use Flash Step and Triangle of Death. (Combo: Crippling Volley into Flash Step and Triangle of Death.)
After the 2nd members dies, they unlock the ability to use Scatter Shot Arrows. (Combo = Flash Step into Scatter Shot Arrows.)
After the 3rd members dies, disable the ability to use the Triangle of Death. They can still use all other abilities.
After the 4th member dies, you can go one of two ways:

You can kill the final boss and grab his loot
the last member opens a portal and escapes. You can step into this portal and become the Ranged Assassin. [look at my Ranged Assassin hero post for more detail] https://github.com/AngelArenaAllstars/suggestions/issues/155

Thoughts:

The 1st encounter scenario gives the boss fight gradual power spikes so that they get harder as more members die, peaking after two bosses have died (they are able to use the Triangle of Death). The 2nd encounter gives the boss fight a power spike earlier in the phases, making the battle more challenging. You can always give the bosses access to more of their abilities sooner to make the fight more challenging. There will always be a power drop after killing the 3rd boss because they lose the ability to use the Triangle of Death.
The boss will be as powerful as you make the Basic Attacks. If they stun like Mirana's Normal Arrow then it'll be a bit OP. If they only do damage, then they might be underwhelming. That's something you'll have to test and see.

Thank you for your post, and sorry about the delay.
This looks overlong. Simplifying the encounter would help. Additionally, it would be appreciated if you could format this according to #37, to improve clarity and reduce clutter.


explore how relation between feature and service can be expressed

We'd like to make it more obvious which services get registered as part of an extension / a feature.
So far we have the rough idea that an annotation at services can help to express the related feature name.
Feature names can then be used to express "provides" and "requires" sets.
 Moritz Keppler<EMAIL_ADDRESS>Daimler TSS GmbH, legal info/Impressum

I think this has been completed as part of the refactoring work. I'll close out. If there are remaining items, we can open specific issues for them.


Enable namespaced brokers by default

This is ready to be turned on per #2244.

/lgtm
/approve

Looks like we need to update this as well so it's on by default when installing with Helm:
https://github.com/kubernetes-incubator/service-catalog/blob/f6f0e41fae6c4f1bdc5c507942ee7f1719555a19/charts/catalog/values.yaml#L155-L156

@jberkhahn the chart needs to change too. Give it another scrub.
/hold

conditionals in templates need to be cleaned up or removed.
charts/catalog/templates/controller-manager-deployment.yaml
83-        {{- end }}
84:        {{- if .Values.namespacedServiceBrokerEnabled }}
85-        - --feature-gates
86:        - NamespacedServiceBroker=true
87-        {{- end }}

charts/catalog/templates/rbac.yaml
108-    verbs:     ["update"]
109:  {{- if .Values.namespacedServiceBrokerEnabled }}
110-  - apiGroups: ["servicecatalog.k8s.io"]

charts/catalog/templates/apiserver-deployment.yaml
62-        {{- end }}
63:        {{- if .Values.namespacedServiceBrokerEnabled }}
64-        - --feature-gates
65:        - NamespacedServiceBroker=true
66-        {{- end }}

docs too
docs/namespaced-broker-resources.md
78-to pass an argument to the API Server when you install Service Catalog:
79: `--feature-gates NamespacedServiceBroker=true`.
80-
81:If you are using Helm, you can use the `namespacedServiceBrokerEnabled` setting
82- to control that flag:
--
87-   --namespace catalog \
88:   --set namespacedServiceBrokerEnabled=true
89-```

/lgtm cancel
/approve cancel
/woof

Why did that stuff not get done for originating identity?

Also, I don't think those templates need to change, as it's still possible to turn the flag off.

I am not sure what you are looking at specifically. Feel free to file an issue if you see a problem.

@jberkhahn It probably should be done for Originating Identity.  I created a new issue for it:  https://github.com/kubernetes-incubator/service-catalog/issues/2252

@jberkhahn  I looked at this too quickly - - that is the Originating Identity Locking locking that is defaulted to on.   So I'm wrong, OI was never enabled by default.  I think it should be, but I'm wrong in here where I said it was done already.    I believe all the comments above are correct though in terms of what needs to be cleaned up for the NamespaceScoped broker feature gate.

Ok, fixed the charts and added a bit to the docs about it.

Hmm, it seems Jay was right. If you don't pass in an option to Helm, it interprets it as being false. So if you don't pass in EnableNamespaced brokers, it would evaluate to false and set the option to false. So I had to change it to an affirmative DisableNamespacedBrokers flag.
also, cleaned up the typo.
Thoughts?

/LGTM
Thanks for hashing through this @jberkhahn!

/approve

/hold cancel


fix: Check for Integer instead of Fixnum to avoid deprecation warning in ruby 2.4+

I'm using Rack::Robustness in a Sinatra application that I recently upgraded to rails 2.4, i'm seeing the following deprecation notice:
/Users/me/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rack-robustness-1.1.0/lib/rack/robustness.rb:167: warning: constant ::Fixnum is deprecated

Integer is the superclass of Fixnum, so the case statement (which boils down to Integer === rescue_clause) is true for both Fixnum and Integer in ruby 2.4.0 and earlier ruby versions.
I also went ahead and added an explicit call out for 2.4.0 in travis.yml but I can easily remove that if you'd prefer it.

Bump 😄


Logistic/Management Issues

[ ] Fix up the Makefile
[ ] Create a README
[ ] Decided on semicolons or not

No semicolons!

Closing for now, no need for MVP.


executor: require privileged with podman

When podman isolation type is used, our executor would run child
runner containers inside the executor container(parent) using
'podman'.
This requires the executor container to be executed with privileged.

I do believe that it's possible to use podman isolation type with a more restrictive securityContext.
Specifically, Redhat folks have 2 note worth blog posts about this topic:

https://www.redhat.com/sysadmin/podman-inside-kubernetes
https://www.redhat.com/sysadmin/podman-inside-container

However, after taking a crack at this, I could not make it work and ran into various cryptic errors from podman.
I believe privileged: true is the sweet spot for now and customers who require stricter securityContext should consider using a dedicated k8s cluster for this or simply use a different isolation type (firecracker).

A consideration here would be only set "privileged" when .Values.containerSecurityContext is empty 🤔
It would allow user to override privileged with their own security context.


lib.dom.d.ts - DisplayMediaStreamConstraints is missing cursor property

The Type definition for DisplayMediaStreamConstraints is wrong.
It is missing "cursor" on the video property.
see:
https://udn.realityripple.com/docs/Web/API/MediaTrackConstraints/cursor
When I look at the type:
    interface DisplayMediaStreamConstraints {
        audio?: boolean | MediaTrackConstraints;
        video?: boolean | MediaTrackConstraints;
    }

I think the constraints for audio & video should be different.

Oh, I think I've now found this api is not yet final.

See: https://github.com/microsoft/TypeScript-DOM-lib-generator/#when-the-type-is-missing

To expedite the triage process, we need everyone to follow the issue template and instructions.
When you clicked "Create New Issue", the issue form was pre-populated with a template and some instructions. We need you to read those instructions completely, follow them, and then fill in all the fields in that template.
We are not able to assist with issues that don't follow the template instructions as they represent a significantly larger amount of work compared to issues which are correctly specified. Thank you for understanding.


Model dropdown should update when updating database

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/179
Originally created by @bencodezen on 2018-11-27 19:49:02

Currently the page has to be refreshed in order for the runners to appear in the Model dropdown after clicking Update Database and the update is successful.

View 3 previous comments from the original issue on GitLab


Biowaste code refactor

Suggestions from #753

So aside from the formatting thing I noted to fix, this looks pretty good.
Good example of how I can over complicate code by being too tired :D


Use the v2 of the iNat API

Using version 2 of the iNat API allows for the response to be customized via the "fields" parameter. This param is JSON encoded as RISON and indicates the only fields, including nested objects, that should be included in the response. This will reduce the memory footprint of large iNat imports. Hopefully it's enough.
edit: Here's the iNat API v2 docs for reference: https://api.inaturalist.org/v2/docs/
Review checklist

[ ] First, the most important one: is this PR small enough that you can actually review it? Feel free to just reject a branch if the changes are hard to review due to the length of the diff.
[ ] If there are any migrations, will they the previous version of the app work correctly after they've been run (e.g. the don't remove columns still known about by ActiveRecord).
[ ] If anything changed with regards to the public API, are those changes also documented in the apiary.apib file?
[ ] Are all the changes covered by tests? Think about any possible edge cases that might be left untested.

The sidekiq worker is set to not retry at all (retry: 0). If the iNat API throws, say, a 500, Faraday itself will retry the request twice, then a Faraday::ServerError gets raised and the job will straight up die. Failed imports just get logged, but if the whole API is complaining the job should probably just quit. It should be the same for other types of errors that Faraday raises, too. I did have a look at that code and realized that it didn't make sense to catch an error just to immediately re-raise it, though.


Graph test command fails with 'No such file or directory'

Which packages are impacted by your issue?
@graphprotocol/graph-cli
Describe the issue
Even on the demo-subgraph repository, I am unable to run the tests.
Matchstick is failing with a "No such file or directory" error, but there is no detail of what it cannot find.
I am running WSL 2, <IP_ADDRESS>-microsoft-standard-WSL2.
pnpm run test

><EMAIL_ADDRESS>test /home/baracoso/projects/LimeChain/demo-subgraph
> graph test

Skipping download/install step because binary already exists at /home/baracoso/projects/LimeChain/demo-subgraph/node_modules/.pnpm/binary-install-raw<EMAIL_ADDRESS>
___  ___      _       _         _   _      _
|  \/  |     | |     | |       | | (_)    | |
| .  . | __ _| |_ ___| |__  ___| |_ _  ___| | __
| |\/| |/ _` | __/ __| '_ \/ __| __| |/ __| |/ /
| |  | | (_| | || (__| | | \__ \ |_| | (__|   <
\_|  |_/\__,_|\__\___|_| |_|___/\__|_|\___|_|\_\

Compiling...

💬 Compiling token-lock-wallet/token-lock-wallet...
thread 'main' panicked at '🆘 Internal error during compilation: No such file or directory (os error 2).
Command path: "/home/baracoso/projects/LimeChain/demo-subgraph/node_modules/assemblyscript/bin/asc"
Globals path<EMAIL_ADDRESS>Libs folder: "/home/baracoso/projects/LimeChain/demo-subgraph/node_modules"', src/compiler/mod.rs:131:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ELIFECYCLE  Test failed. See above for more details.

Reproduction
github.com/LimeChain/demo-subgraph
Steps to Reproduce the Bug or Issue
pnpm install
pnpm run build
pnpm run test
```

Note: I get the same results with `yarn`

### Expected behavior

tests passing

### Screenshots or Videos

_No response_

### Platform

- OS: WSL
- NodeJS: 18.9.0
- `@graphprotocol/*` version(s):
  - "@graphprotocol/graph-cli": "^0.47.0"
  - "@graphprotocol/graph-ts": "^0.29.1"

### Subgraph Manifest

_No response_

### Subgraph GraphQL Schema

_No response_

### Additional context

_No response_

ideas @dimitrovmaksim?

It doesn't work well with pnpm, because it depends on the assemblyscript package to be installed in node_nodules
This Issue may be helpful https://github.com/LimeChain/matchstick/issues/324#issuecomment-1545873270. Also when installing the assemblyscript package keep in mind to use version 0.19.x,

Thank you @dimitrovmaksim, changing the assemblyscript package version to ^0.19.0, and using yarn instead (the recommended package manager here I believe) fixed it


one case wrong info about terminal/shell

may be can fix one case wrong info about terminal/shell ?
General description of bug:
I make some test flashfetch.exe <IP_ADDRESS> under win 10:
far under cmd
Terminal: Console Window Host 10.0.19041.3031
Shell: Far
Terminal: WezTerm 20230622-212134-f21dcb96
Shell: Command Prompt 10.0.19041.746
Terminal: Windows Terminal 1.18.2305.26002
Shell: Far
under conemu
Terminal: ConEmu 221218
Shell: PowerShell 7.3.5
Terminal: ConEmu 221218
Shell: Windows PowerShell 5.1.19041.3031
Terminal: ConEmu 221218
Shell: Command Prompt 10.0.19041.746

but last test is WRONG? (under ConEmu I run FAR):
Terminal: Far 3.0.6171.0
Shell: ConEmuC64
need show like:
Terminal: ConEmu 221218
Shell: Far 3.0.6171.0
reproduced 100%

For some reason, Far calls ConEmuC64 to run fastfetch. Will fix it.

Please test it with the newest CI build

now, good!
thnx! :)


Remove the moved json_constructor and update README.

Moved in https://github.com/transparency-dev/armored-witness/pull/15

Build should be fixed after https://github.com/transparency-dev/armored-witness-applet/pull/125.


Added braces check for initDefaultButton

Prevents init default button when the template contains similar names

Q
A

Is bugfix?
yes

New feature?
no

Breaks BC?
no

Tests pass?
yes

Fixed issues
#12859, #9796

Fixed

Thanks!

Good addition :+1:


The value of a field is either too short or too long.

I have a this error when pay in prestashop with paypal: The value of a field is either too short or too long.
Prestashop version: <IP_ADDRESS>
PayPal Module Version: 5.4.4

Hello,
Thank you for creating this issue.
Could you please give us more details :

Is this error is shown for any payments paid via PayPal?
Could you please send us an example of customer's details (address, name..)?
Did you have this issue before updating the module to the v5.4.4 (if it is not the first installation).

Thank you !
Have a nice day !
Regards,
Tetiana

Hello,
I hope the issue that you met has been fixed.
Please, if it was not fixed, please check the following issue : https://github.com/202-ecommerce/paypal/issues/109
Does this solution work for you?
Have a nice day !
Best regards,


feat: Support array_sort(list_sort)

Which issue does this PR close?

Closes #109 .
Rationale for this change

Support append_sort（list_sort） function
What changes are included in this PR?

Four array functions now start to support column data:
array_sort
list_sort
Are these changes tested?

Yes
test_array_sort
Are there any user-facing changes?

Yes

Since DuckDB has array_sort already, and I think there is no good reason that we should not follow theirs. Can you have the similar style like theirs?
https://duckdb.org/docs/sql/functions/nested#sorting-lists
Especially, I think array_sort(list, 'asc') or array_sort(list, 'desc') is more much straightforward then true, false. We need to check one of the result to know whether true is asc or desc. So as null_first

I'll try

Thanks again 🚀


Armor sounds missing/removed?

I ve noticed when going from 1.19.2 to 1.20.1 that those cool armor noise is gone? I checked the jar mod itself and many sounds are gone. Btw I m using forge so i m using connector mod idk maybe thats the reason

The armor sound feature of 1.19.2 was tied to footsteps. For 1.20.x+ I removed the footstep feature. I did carry some of those features forward:

Walk through brush
There are armor sounds but not as pronounced as 1.19.2
No step sounds for mobs

Depending on your platform you can use Presence Footsteps to get a lot of those effects.


Merge design

This is to merge in Dan's front end design. Split up the one page accordingly and exported the JS into a module style.

Looks good!


Typo in proxy doc

https://docs.resin.io/reference/resinOS/network/2.x/#connecting-behind-a-proxy
contains the wording:

We use redsocks to connect your to device to resin.io

Fixed in #762


Receiving feedback on the QR Code Component

Hello! I have developed a QR Code Component for Spotify Playlist using HTML, CSS, and JavaScript. The component allows users to scan a QR code and be taken to my Top Music playlist on Spotify. I would be grateful for any advice and suggestions to improve the project!

Hello everyone,
As it has been 7 days without any activity or feedback, I am closing this issue for now. Although no contributions or feedback were provided, I appreciate your consideration. Please note that the project remains open for any suggestions or improvements. If you have any ideas or changes you would like to propose in the future, feel free to open a new issue or submit a pull request.
Thank you!
Best regards,
Der12kl


fix non-prem using wrong docker image

this pr fixes non-prem servers using wrong docker image and thus they dont have nodejs16

@freddierick hi sir can you merge this too please?


Assist Microphone Fails to start if Homeassistant SSL activated

Hi,
I installed and configured the "Assist Microphone" AddOn. But if I try to start it, it fails and I get the following log:
    File "/usr/local/lib/python3.11/dist-packages/aiohttp/connector.py", line 980, in _wrap_create_connection
      return await self._loop.create_connection(*args, **kwargs)  # type: ignore[return-value]  # noqa
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3.11/asyncio/base_events.py", line 1085, in create_connection
      raise exceptions[0]
    File "/usr/lib/python3.11/asyncio/base_events.py", line 1069, in create_connection
      sock = await self._connect_sock(
             ^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3.11/asyncio/base_events.py", line 973, in _connect_sock
      await self.sock_connect(sock, address)
    File "/usr/lib/python3.11/asyncio/selector_events.py", line 634, in sock_connect
      return await fut
             ^^^^^^^^^
    File "/usr/lib/python3.11/asyncio/selector_events.py", line 674, in _sock_connect_cb
      raise OSError(err, f'Connect call failed {address}')
    ConnectionRefusedError: [Errno 111] Connect call failed ('<IP_ADDRESS>', 8123)
    The above exception was the direct cause of the following exception:
    Traceback (most recent call last):
    File "/usr/local/lib/python3.11/dist-packages/homeassistant_satellite/__main__.py", line 193, in main
      async for _timestamp, event_type, event_data in stream(
    File "/usr/local/lib/python3.11/dist-packages/homeassistant_satellite/remote.py", line 26, in stream
      async with session.ws_connect(url) as websocket:
    File "/usr/local/lib/python3.11/dist-packages/aiohttp/client.py", line 1141, in __aenter__
      self._resp = await self._coro
                   ^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.11/dist-packages/aiohttp/client.py", line 779, in _ws_connect
      resp = await self.request(
             ^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.11/dist-packages/aiohttp/client.py", line 536, in _request
      conn = await self._connector.connect(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.11/dist-packages/aiohttp/connector.py", line 540, in connect
      proto = await self._create_connection(req, traces, timeout)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.11/dist-packages/aiohttp/connector.py", line 901, in _create_connection
      _, proto = await self._create_direct_connection(req, traces, timeout)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.11/dist-packages/aiohttp/connector.py", line 1206, in _create_direct_connection
      raise last_exc
    File "/usr/local/lib/python3.11/dist-packages/aiohttp/connector.py", line 1175, in _create_direct_connection
      transp, proto = await self._wrap_create_connection(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.11/dist-packages/aiohttp/connector.py", line 988, in _wrap_create_connection
      raise client_error(req.connection_key, exc) from exc
    aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host homeassistant:8123 ssl:default [Connect call failed ('<IP_ADDRESS>', 8123)]
    ERROR:__main__:Unexpected error
    Traceback (most recent call last):
    File "/usr/local/lib/python3.11/dist-packages/aiohttp/connector.py", line 980, in _wrap_create_connection
      return await self._loop.create_connection(*args, **kwargs)  # type: ignore[return-value]  # noqa
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3.11/asyncio/base_events.py", line 1085, in create_connection
      raise exceptions[0]
    File "/usr/lib/python3.11/asyncio/base_events.py", line 1069, in create_connection
      sock = await self._connect_sock(
             ^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3.11/asyncio/base_events.py", line 973, in _connect_sock
      await self.sock_connect(sock, address)
    File "/usr/lib/python3.11/asyncio/selector_events.py", line 634, in sock_connect
      return await fut
             ^^^^^^^^^
    File "/usr/lib/python3.11/asyncio/selector_events.py", line 674, in _sock_connect_cb
      raise OSError(err, f'Connect call failed {address}')
    ConnectionRefusedError: [Errno 111] Connect call failed ('<IP_ADDRESS>', 8123)
    The above exception was the direct cause of the following exception:
    Traceback (most recent call last):
    File "/usr/local/lib/python3.11/dist-packages/homeassistant_satellite/__main__.py", line 193, in main
      async for _timestamp, event_type, event_data in stream(
    File "/usr/local/lib/python3.11/dist-packages/homeassistant_satellite/remote.py", line 26, in stream
      async with session.ws_connect(url) as websocket:
    File "/usr/local/lib/python3.11/dist-packages/aiohttp/client.py", line 1141, in __aenter__
      self._resp = await self._coro
                   ^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.11/dist-packages/aiohttp/client.py", line 779, in _ws_connect
      resp = await self.request(
             ^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.11/dist-packages/aiohttp/client.py", line 536, in _request
      conn = await self._connector.connect(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.11/dist-packages/aiohttp/connector.py", line 540, in connect
      proto = await self._create_connection(req, traces, timeout)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.11/dist-packages/aiohttp/connector.py", line 901, in _create_connection
      _, proto = await self._create_direct_connection(req, traces, timeout)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.11/dist-packages/aiohttp/connector.py", line 1206, in _create_direct_connection
      raise last_exc
    File "/usr/local/lib/python3.11/dist-packages/aiohttp/connector.py", line 1175, in _create_direct_connection
      transp, proto = await self._wrap_create_connection(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.11/dist-packages/aiohttp/connector.py", line 988, in _wrap_create_connection
      raise client_error(req.connection_key, exc) from exc
    aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host homeassistant:8123 ssl:default [Connect call failed ('<IP_ADDRESS>', 8123)]
    ERROR:__main__:Unexpected error
    Traceback (most recent call last):
    File "/usr/local/lib/python3.11/dist-packages/aiohttp/connector.py", line 980, in _wrap_create_connection
      return await self._loop.create_connection(*args, **kwargs)  # type: ignore[return-value]  # noqa

Because of voice assistant in the browser I was forced to enable SSL for homeassistant. Therefore my homeassistant does not listen on port 8123. Instead it listens on port 443.
    http:
      server_port: 443
      ssl_certificate: /ssl/fullchain.pem
      ssl_key: /ssl/privkey.pem

It would be nice if this would be detected or if I could at least configure that in the settings of the addon. It is reachable under home.my-domain.tld .
many thanks in advance

Same here.
I've found this in the repo : https://github.com/rhasspy/hassio-addons/blob/b00bdda10868369434329090b47cedcd21796b41/assist_microphone/rootfs/etc/s6-overlay/s6-rc.d/assist_microphone/run#L17C17-L17C17
Maybe we can add a port argument here, same as the host argument. I am unsure but it looks like homeassistant_sattelite could accept port argument

I checked, the args port is not yet mapped.
I've added it as issue on https://github.com/synesthesiam/homeassistant-satellite/issues/8

Should be fixed in https://github.com/synesthesiam/homeassistant-satellite/pull/10

For me it seems as if this issue is fixed, at least now I get a different error.