fix NullPointerException

exception.getMessage might be null.

Can you please explain how is it that exception.getMessage might be null? It might be null, yes, but how can it be null? Is the null message something that happens somewhere in the CAS codebase?

Can you please explain how is it that exception.getMessage might be null? It might be null, yes, but how can it be null? Is the null message something that happens somewhere in the CAS codebase?

Can you please explain how is it that exception.getMessage might be null? It might be null, yes, but how can it be null? Is the null message something that happens somewhere in the CAS codebase?

Sorry, I tried to reapprear this question, but it didn't appear.  The null message exception was catch at org.apereo.cas.web.flow.resolver.impl.DefaultCasDelegatingWebflowEventResolver#resolveInternal, I forgot what this exception is.  My CAS Version: 6.6.5

Thank you. Can you please also explain why the exception was thrown, and what was its exact type?

Thank you. Can you please also explain why the exception was thrown, and what was its exact type?

I can't reproduce the exception, so i don‘t know the exact type. Related logs have been lost.  In my experience, the exception are thrown in my codebase,  not in the CAS codebase. I will keep an eye on this exception.


Update Wagtail version 2.13 to 2.13.1

Codecov Report

Merging #2421 (8f5276e) into main (01bacda) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2421   +/-   ##
=======================================
  Coverage   81.84%   81.84%
=======================================
  Files         621      621
  Lines       22278    22278
=======================================
  Hits        18233    18233
  Misses       4045     4045

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 01bacda...8f5276e. Read the comment docs.


latest version of phpecc made the performance HORIBLE

I know it was because of a fix for a side channel attack or something like that and that that's something important but the difference is kinda big ...
below isn't a proper benchmark, but just to compare a simple test that does some signing and verifying.
is there anything we can do to optimize this?
or is the only way for that to move away from a pure PHP implementation?
1.0 branch
$ phpunit tests/SignVerifyMessageTest.php
Time: 5.76 seconds, Memory: 4.25Mb
$ hhvmunit tests/SignVerifyMessageTest.php
Time: 4.72 seconds, Memory 7.50Mb
master
$ phpunit tests/SignVerifyMessageTest.php
Time: 30.29 seconds, Memory: 4.25Mb
$ hhvmunit tests/SignVerifyMessageTest.php
Time: 15.61 seconds, Memory 7.59Mb
PS. hhvm different on 1.0 branch is relatively small because it has more bootstrap time than PHP

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Yeah totally agree.
I've been thinking about what we might be able to do there. The problem
is multiplication uses this conditional swap, but there's a bunch of
places where scalar multiplication is only done with safe values (like r
= $G->mul($randomK)->getX()).
I've been dicking around with secp256k1, I can put what I have up for
you, literally only secp256k1_start/stop works, secp256k1_ecdsa_verify
was the next most likely thing to try since it's verify-only (no writing
to references) but it borks.
It's testing my abilities of dealing with C types and their conversions
:P I might go back to SWIG since I didn't get that one compiled.
On 23/02/15 19:07, Ruben de Vries wrote:

I know it was because of the side channel attack fix and that was for
good reason, but the difference is kinda big ...
below isn't a proper benchmark, but just to compare a simple test that
does some signing and verifying.
is there anything we can do to optimize this?
or is the only way for that to move away from a pure PHP implementation?
1.0 branch
|$ phpunit tests/SignVerifyMessageTest.php|
Time: 5.76 seconds, Memory: 4.25Mb
|$ hhvmunit tests/SignVerifyMessageTest.php|
Time: 4.72 seconds, Memory 7.50Mb
master
|$ phpunit tests/SignVerifyMessageTest.php|
Time: 30.29 seconds, Memory: 4.25Mb
|$ hhvmunit tests/SignVerifyMessageTest.php|
Time: 15.61 seconds, Memory 7.59Mb
—
Reply to this email directly or view it on GitHub
https://github.com/Bit-Wasp/bitcoin-lib-php/issues/66.

Thomas Kerin

My PGP key can be found here
http://pgp.mit.edu/pks/lookup?op=get&search=0x3F0D2F83A2966155
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQJ8BAEBCgBmBQJU63xVXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2MzI1MzM4QjJGOTU5OEUzREMzQzc0MzAz
RjBEMkY4M0EyOTY2MTU1AAoJED8NL4OilmFVPUgP/j2cFux7KbjLvAGs0Q1f4K2b
txK8w0qhprhync7Z5F0gA0qZHCKRFWVVWxYzxSEM5o5skKDN3C6Yx41ZNQq3LE01
jrb04O2EQYjkmfnd3XdSqlMoQMtGGm+xixD+OUUfsilC7kWt2W25miJ7I8DRWB1i
hQI8drtrY5hb7Vmv1WawbFAupE4dv0RoI1mKiTdvM5sRrT5XNkBmW78GP/VXtFqQ
1Er/e8tgxCFT5nRO8FY2olZAdbRkz/mdN/vp+LNfsYlFI0rnRXD6EoQiV+O5Sp2k
fbjvXrENKWJQ/TQVbWDhWQhIWYt2jWgTSvb4k1ITxTRowhA3f0O2/ySIVBuI5w37
0m51tCHTMIFLWIsB6uQeKZ0NXpv2whgYGSSygYQlSfFhsbhZ/DEN5d5uakaRSIpa
7hEhU/hFqpQbNPT7+hiWH8lt8wpZk5CyaTlWOwiWLZPSdfNlOMt+blqKki80e74H
EWDXLn1735R/WNtP/r4q5JMWl8jBqN2fqpknK2mNH3y2MxjbhPDwbc6/Cd3cYkEF
mcuOMGPFeIQbrFOvpnaTSJqfhOVXqxK1BHJ5amciDjorqTyBs2BDt9SbBTpRp8h7
FoMn1dASSRBXB3NrWS3ih1YUTjCEzWwRsjdtwmjsg1lH3NsvHHxtsndhvQFvnPv/
MDFmpkK9I89WFzp+E76C
=UVKG
-----END PGP SIGNATURE-----

I guess it's worth documenting our effort :P
https://github.com/afk11/secp256k1-php

It might be worth getting this PHP extension added to the Debian/Ubuntu apt repositiories for general use.

Definitely! It's bare bones right now and not everything is implemented. Currently (on my system) it dies due do a memory corruption error. If I comment something unrelated to the secp256k1_.. function call, it works fine. (last test in test.php)
(@rubensayshi is on a long flight today, so left it that way so he could observe (and bypass)when he gets to it :P)

Also, ec_pubkey_create gives the wrong result (compared to brainwallet.org) so not sure what's up there.

haha, moving discussion here huh?
I started using phpunit, we can add more vectors later.
secp256k1_ec_pubkey_create was missing secp256k1_start(SECP256K1_START_SIGN); which instead of throwing errors it will give werid ass random return values, keep that in mind if you run into the same weird shit ;-)
also when it returns a compressed $pubKey you have to substr it with the $pubKeyLen, we should move that into C I guess, but using substr for now does the trick.
and yea I have the same seg fault still happening, just now it happens in the decompress test, but fuck that we'll get someone experienced to code review this later and he'll know :P

also @btcdrak apart from this being good for various reasons, one of them is to get our SDK faster, so I'll aim (and have company time to invest) to get it into apt or probably pear since that avoid having to deal with windows and mac, but at least I will want to make it a 1 liner to install

like I hinted in the other comment, if we're gonna push through with this then I'll try to get someone to code review it, free or paid, I'll poke around in /r/php and the php mailinglist once we have a little more.

@rubensayshi Great news. It should definitely be a compiled extension php-secp256k1 installable from the APT repo. PEAR is dead, composer is the new black.

@rubensayshi not necessarily move it altogether, just mentioning on this issue that we're trying to do something about the performance :)
Interesting, yeah a few gotchyas to work around it seems.. But getting this reviewed and onto APT would be awesome!
Also with regards the memory issue, it seemed commenting $pubkey2 'fixed' it, even though it's memory is never touched in the decompress function.. It could be building up as it gets used more..


Allow custom context support.

I commonly use nested folders that contain different Dockerfiles for various versions/purposes.  When using this structure setting the build context to the subdirectory containing the Dockerfile produces undesirable behavior.
This PR adds a 'context' property which can be used to override this behavior.  The previous default behavior is unchanged.

Thanks for the PR! I'm going to try to land #26 before this one if that's alright, then we'll work on rebasing on top of it.


Fix AwsXrayPropagator class name in CompositeTextMapPropagator

@SodaDev Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@SodaDev Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.


join.php view POST form not submitting

left comment in campaign Controller detailing issue... No $_SESSION['message']'s make it through, tested and view only loads when POST submission line is commented out.
Double checked that the  tags aren't unevenly split or interfering with table or inputs. Unsure what's causing the issue but will comment once resolved.

Fixed in joinCampaign() function in campaign model file.


fix: disable wrapping for forward refs

This is a bit tricky.
We have two options. Either we merge this and pretend we didn't support properly the forwardRef wrapping ( bug ) or we wait for a Major bump ( 2.0.0 ) where as a breaking change we remove the whole wrapping of the card completely.
IMO the auto wrapping is useless, since it also doesn't check for memo components, Contexts, etc.
It would be quite difficult to make it happen and the benefit for the user is not so great.

+1 for removing the auto wrapping. Ran into issues with that before.


Drawing of a relevant number of rags, not all of them

Dear Ben,
Using violinplot, it is possible to draw below or above the distribution curve a rug of the cases by their measurement value. This is a most useful option. However, when large data sets are used, e.g. of a survey, the number of cases can get very large and with that the number of rugs increases with it. This can lead to very large graph files. In particular SVG files quickly grow in size due the amount of objects that are included. For example, a single rug of my example produces a SVG file of 4,576KB while a file with 'flagged' rugs is 1,783KB. A 61% reduction in file size is maybe not that much but it is certainly practical when multiple violins are combined in a graph and when we are dealing with even larger data sets (which I indeed do).
So, I will try to explain my point with the following example for which I use my own data. In this case the annual salary of 30.000 working professionals in The Netherlands. That data was log transformed, centered and bounded between 0 and 1 for this example. Github will not allow me to upload a dta file, so, I will email that to you.
The code to draw the distribution using violinplot, including 30.000 rags, is:
use "NSO21_Example_Salary.dta" , clear
violinplot bd_zs_lnMsalYer21 , n(200) left rag(mc(%20) off(-.03)) nowhisk nobox nomed ///
   ysc(off) xsc(noex) xtit("") name(violin, replace)

which results in:

Next, I proceeded with coding to get a so-called 'flag' variable to control the drawing of only those cases that have a unique value for which a rag symbol has to be drawn. The logic of this is that drawing more than one symbol on a particular measurement scale makes not much sense. The distribution curve itself makes the occurence of cases per measurement value clear. The rags should visualize the density of measurements along the scale, which we expect to gradually thin out at the extreme ends. Using a color with reduced opacity supports the presentation of this density when a lot of unique cases are in the data (like with my example data set).
Just to be complete, here is my code to determine the flag variable and the offset yaxis position to imitate the violinplot result:
local var zs_lnMsalYer21
gsort `var' // this MUST be done
egen flag = tag(`var')
gen offset = -.18 if flag==1 // adjusting yaxis flag position

The code to draw the distribution using tw kdensity, including 11.652 rags, is:
use "NSO21_Example_Salary.dta" , clear
ren yva0 offset
tw (kdensity bd_zs_lnMsalYer21, n(200))(scatter yva0 bd_zs_lnMsalYer21 ///
   if flag==1, m("|") mc(navy%20) msize(*1)) ,  ///
   ysc(off) xsc(noex) ylab(none) ytit("") legend(off) name(tw, replace)

which results in:

I hope that you can agree with my view that drawing 'flagged' rags, when large data sets are used, is a sufficient proposition to present the cases with a unique value on the measurement scale.
Maybe you could introduce a new option for rag that applies the flagging of the cases with a unique value instead of using all of them. Possibly you might call this option flag.

Hi Eric, I agree, a unique supoption to rag() would be useful (or even set this as default?). ben

The latest update now features  rag(unique). This will only print one marker per unique value.

Dear Ben, many thanks for this update. It works very well indeed:

Like with my own tw kdensity example, above, when I export the graph in SVG format, the file size is now 1,781KB, instead of 4,576KB, so we achieve the same reduction. That should also speed up drawing in Stata's graph window.


Howto : launch single instant of apps

Hello
I've been trying for hours to launch a single instance of iTerm2 and qutebrowser, and ranger
the task seems impossible
currently I manged to luanch iTerm app with :
alt - return : open -na /Applications/iTerm.app
However, it launch new app and also bother me with choose profile window.
I tried the following and also it didn't fix it :
alt - return : open -na /Applications/iTerm.app/MacOs/iTerm2
and for qutebrowser, and ranger mpv-youtube
I have no idea how to open them with shortcuts .
thanks

The -n part of the argument given to open says that it should poen a brand new instance.
Change it to alt - return : open -a /Applications/iTerm.app to launch a single instance.

For qutebrowser, I use the following script: https://github.com/koekeishiya/dotfiles/blob/master/scripts/qtb.sh
and in skhd: cmd + shift - return : ~/Scripts/qtb.sh

when I put just -a, & tried adding with /MacOS/iTerm . it doesn't work at all
for qutebrowser, cloned qtb.sh, after creating directory ~/scripts
the cmd + shift - return : ~/scripts/qtb.sh <<< does it work with .app or installed with pip3
thanks

-a matter of fact retook me to the last active iTerm

I use the following script to launch iterm with skhd:
https://github.com/Julian-Heng/chunkwm-config/blob/master/chunkwm/scripts/misc/open_iTerm2.sh

OMG, it actually worked @dr1s , thanks a lot , I’ve tried tweeting the code to make it work with my default browser “qutebrowser” and still no luck , it gives me an error and well as kill my other qutebrowser window.

thanks a lot @dr1s this ive tried and it didnt work :(

Works fine for me. You may have to change it to use the full path to your qutebrowser.app

I use the following script to launch iterm with skhd:
https://github.com/Julian-Heng/chunkwm-config/blob/master/chunkwm/scripts/misc/open_iTerm2.sh

This link is changed to https://github.com/Julian-Heng/chunkwm-yabai-config/blob/master/scripts/open_iterm2.sh. I put it here in case anybody needs it.

MacOS 12.6, seems like -a is used to call a app without given its path, -n create a new distance
more:
In the command open -n iTerm.app, the -n flag tells the open command to open a new instance of the specified app, even if an instance of the app is already running.
The open command is a built-in command on macOS that is used to open files, URLs, and applications. When you use the open command to open an application, it will open the app if it is not already running, or it will bring the app to the front if it is already running.
However, if you include the -n flag in the open command, it will open a new instance of the app even if an instance is already running. This allows you to have multiple instances of the same app open at the same time.
In the example you provided, the command open -n iTerm.app will open a new instance of iTerm even if an instance is already running. This can be useful if you want to have multiple iTerm windows open at the same time.
In the open command, the -a flag is used to specify the name of the application that you want to open. For example, if you want to open the app "TextEdit", you could use the following open command:
open -a TextEdit
This command will open the TextEdit app if it is not already running, or it will bring the TextEdit app to the front if it is already running.
The -na flag is a combination of the -n and -a flags, and it tells the open command to open a new instance of the specified app even if an instance of the app is already running.
For example, if you want to open a new instance of the TextEdit app even if an instance is already running, you could use the following open command:
open -na TextEdit
This command will open a new instance of the TextEdit app, allowing you to have multiple instances of the app open at the same time.


Added "-listen" flag to AIR build params

Build AIR app with -listen flag instead of -connect to debug AIR app on device over the usb (default port 7936)

The first and third commits look fine at a glance, but 9f4f124 isn't a great way to do this.

All projects have to keep track of assetsFolders, even though only AIR projects need it.
Since you're passing a whole directory, AIR will ignore any asset filters (include/exclude) from project.xml.
AIR doesn't know how to process Haxe templates, so any of those are present it may break the build.

I do see the reasoning here. Windows has a hard limit on command line length, and their suggestions to work around it amount to "pass less data" and "store your data in a file for the program to read." Passing less data isn't a great option (as described above), so it would be nice to use the second option. But of course AIR doesn't support it.
How about this for a solution?

Collect the assets individually (instead of using assetsFolders).
Create a temporary folder. Call it targetDirectory + "/assets" or something.
Copy all non-embedded assets to this folder, one by one. So instead of files.push(asset.targetPath), you run AssetHelper.copyAsset(asset, targetDirectory + "/assets").
Now that the temporary folder has the correct assets, pass it to AIR: files.push(targetDirectory + "/assets").

Closing, since I added support for -listen in commit f8ec10b969d82946664a8fe6b719a8b776b574a7


Merge Config deployer service 1.x

Purpose
Merge Config deployer service 1.x

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Error when not provifing full branch name

Hello, I am currently testing uproot4 functions with the Histoprint command line tool. In uproot3, one could load branches without specifying the full path. In uproot4 that does not seem to be possible.
>>> import uproot
>>> uproot.__version__
4.0.4

$ wget --quiet http://scikit-hep.org/uproot3/examples/Event.root
$ python -c "import uproot as up; up.open('Event.root')['T'].arrays(['event/fTracks.fYfirst'])"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/koch/Projekte/histoprint/env/lib/python3.7/site-packages/uproot/behaviors/TBranch.py", line 1133, in arrays
    arrays,
  File "/home/koch/Projekte/histoprint/env/lib/python3.7/site-packages/uproot/behaviors/TBranch.py", line 3460, in _ranges_or_baskets_to_arrays
    uproot.source.futures.delayed_raise(*obj)
  File "/home/koch/Projekte/histoprint/env/lib/python3.7/site-packages/uproot/source/futures.py", line 46, in delayed_raise
    raise exception_value.with_traceback(traceback)
  File "/home/koch/Projekte/histoprint/env/lib/python3.7/site-packages/uproot/behaviors/TBranch.py", line 3414, in basket_to_array
    library,
  File "/home/koch/Projekte/histoprint/env/lib/python3.7/site-packages/uproot/interpretation/objects.py", line 141, in basket_array
    form = self.awkward_form(branch.file, index_format="i64")
  File "/home/koch/Projekte/histoprint/env/lib/python3.7/site-packages/uproot/interpretation/objects.py", line 122, in awkward_form
    self._branch.file, index_format, header, tobject_header, breadcrumbs
  File "/home/koch/Projekte/histoprint/env/lib/python3.7/site-packages/uproot/containers.py", line 645, in awkward_form
    self._values, file, index_format, header, tobject_header, breadcrumbs
  File "/home/koch/Projekte/histoprint/env/lib/python3.7/site-packages/uproot/_util.py", line 426, in awkward_form
    file, index_format, header, tobject_header, breadcrumbs
  File "/home/koch/Projekte/histoprint/env/lib/python3.7/site-packages/uproot/containers.py", line 369, in awkward_form
    raise uproot.interpretation.objects.CannotBeAwkward(self.message)
uproot.interpretation.objects.CannotBeAwkward: Double32_t in array (note: Event.root fClosestDistance has an example)

This used to work with uproot3. It also does work with uproot4 when explicitly providing the full path to the variable:
$ python -c "import uproot as up; up.open('Event.root')['T'].arrays(['event/fTracks/fTracks.fYfirst'])"

Not the additional /fTracks.
Easy to fix by providing the full paths, but I am not sure whether this is expected behaviour.

I spoke too soon. When trying to address specific indices, it fails again:
$ python -c "import uproot as up; up.open('Event.root')['T'].arrays(['event/fTracks/fTracks.fYfirst[...:0]'])"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/koch/Projekte/histoprint/env/lib/python3.7/site-packages/uproot/behaviors/TBranch.py", line 1133, in arrays
    arrays,
  File "/home/koch/Projekte/histoprint/env/lib/python3.7/site-packages/uproot/behaviors/TBranch.py", line 3460, in _ranges_or_baskets_to_arrays
    uproot.source.futures.delayed_raise(*obj)
  File "/home/koch/Projekte/histoprint/env/lib/python3.7/site-packages/uproot/source/futures.py", line 46, in delayed_raise
    raise exception_value.with_traceback(traceback)
  File "/home/koch/Projekte/histoprint/env/lib/python3.7/site-packages/uproot/behaviors/TBranch.py", line 3414, in basket_to_array
    library,
  File "/home/koch/Projekte/histoprint/env/lib/python3.7/site-packages/uproot/interpretation/objects.py", line 141, in basket_array
    form = self.awkward_form(branch.file, index_format="i64")
  File "/home/koch/Projekte/histoprint/env/lib/python3.7/site-packages/uproot/interpretation/objects.py", line 122, in awkward_form
    self._branch.file, index_format, header, tobject_header, breadcrumbs
  File "/home/koch/Projekte/histoprint/env/lib/python3.7/site-packages/uproot/containers.py", line 645, in awkward_form
    self._values, file, index_format, header, tobject_header, breadcrumbs
  File "/home/koch/Projekte/histoprint/env/lib/python3.7/site-packages/uproot/_util.py", line 426, in awkward_form
    file, index_format, header, tobject_header, breadcrumbs
  File "/home/koch/Projekte/histoprint/env/lib/python3.7/site-packages/uproot/containers.py", line 369, in awkward_form
    raise uproot.interpretation.objects.CannotBeAwkward(self.message)
uproot.interpretation.objects.CannotBeAwkward: Double32_t in array (note: Event.root fClosestDistance has an example)

Slicing does work for another file I have though: test.root.zip
$ python -c "import uproot as up; up.open('test.root')['truth'].arrays(['truelepton_dir[...,0]'])"

Full paths or relative paths are not the issue: what it's trying to do here is load the whole event array as a single object to divide it by fTracks, and divide that by fTracks.fYfirst[...:0]. The first argument of uproot.TTree.arrays is "expressions", quantities that are computed by Python. (You are using the fact that this is a computed expression by slicing fTracks.fYfirst with ..., :0, which couldn't be done in Uproot 3.)
The nested path names (with / not meaning "divide") and pattern matching (with * not meaning "multiply") are in the filter_name parameter. What you meant to say in your first example is:
>>> uproot.open("/mnt/storage/data/misc/Event.root")["T"].arrays(
...     ["fTracks.fYfirst[..., :0]"],
...     filter_name="event/fTracks/fTracks.fYfirst")
<Array [{'fTracks.fYfirst[..., :0]': [, ... ] type='1000 * {"fTracks.fYfirst[......'>

or you could hide that unwieldy field name as an alias (which work just like ROOT's built-in fAliases):
>>> uproot.open("/mnt/storage/data/misc/Event.root")["T"].arrays(
...     ["first"],
...     filter_name="event/fTracks/fTracks.fYfirst",
...     aliases={"first": "fTracks.fYfirst[..., :0]"})
<Array [{first: []}, ... {first: []}] type='1000 * {"first": var * float32}'>

Also, if you're after just one branch, you can navigate to that branch explicitly and avoid all this searching and renaming.
>>> uproot.open("/mnt/storage/data/misc/Event.root")["T/event/fTracks/fTracks.fYfirst"].array()[..., :0]
<Array [[], [], [], [], ... [], [], [], []] type='1000 * var * float32'>

Now I'm wondering if you really meant to slice it with "..., :0", since this would give you all empty lists, but the slicing is independent of the distinction between expressions (computable expressions, possibly aliased), filter_name (picking out the branches you want), and paths (navigating through TDirectories and TBranches).
I don't see a bug here, and the above would be good for everybody to know, so I'm going to make this a Discussion. If I'm wrong and there's still a bug, open a new Issue. (Unfortunately, we can't turn Discussions back into Issues, but a second iteration on your problem would likely be more specific, anyway, justifying a new Issue.)


Cannot draw a Vertical line

Chartist line chart
If we use two points like
[{x:15,y:2},{x:15,y:2.5}]
which should generate a vertical line fails to generate one.
but when I use [{x:15,y:2},{x:15.000001,y:2.5}] it is working but for data which are having sensible decimal values this hack won't work.
I think that this occurs because chartist line chart accepts the data values in an exponential order(second x is always larger than first x)

Same issue

I had this same issue and just had to turn off lineSmooth for the series.  Default is on.


MBT Support SBom Generation

Description
MBT Support SBom Generation
(1) MBT Build command support SBom Generation
(2) Add new MBT command: MBT sbom-gen
Checklist

[x] Code compiles correctly
[x] Relevant tests were added (unit / contract / integration)
[x] Relevant logs were added
[x] Formatting and linting run locally successfully
[x] All tests pass
[x] UA review
[x] Design is documented
[x] Extended the README / documentation, if necessary
[x] Open source is approved

@ShiraManas I update the PR and thanks for review it


Global: Text across game needs to update from zepplin comments

Waiting on finished suggestions/comments from zepplin, then when ready, will assign to @esalling23 to update text

[ ] Tutorial Screen_6

[ ] Tutorial Screen 7

[ ] Tutorial Screen 8

[ ] Meet Screen 1 (player)

[ ] Meet Screen 4 (player) instructions

[ ] Meet Screen 5 (player and decider) rolecard should be two words, comma after remember

[ ] Think Screen 5 (decider) instructions. reworded and added apostrophe to times up

[ ] Pitch Screen 1 dialog (player+ decider). changed dialog text

[ ] Pitch Screen 4+5 (timer screens). multiple edits to instructions on all these screens. make sure to remember to change inactive players instructions screen.

[ ] Pitch player choice modal. Receive was spelled wrong. need to update.

[ ] Deliberate Screen 1 Dialog (decider + player). updated dialog text to change from counter arguments

[ ] Deliberate Screen 4 Player instructions subtitle changed.

[ ] Deliberate screen 5 player and decider dialog changed to address grammar typos.

[ ] Double down screen 1 player and decider dialog. Grammar edits commas before and after uninterrupted

[ ] Double down screen 2 player and decider dialog. grammar edit comma after over.

[ ] Double down screen 3 player and decider dialog last sentence change.

[ ] Double down modal choice box. added grammar comma elements after speak + uninterupted.

[ ] Double down timer screen decider. the Instructions had a typo (interrupt) and changed out of line to out of turn.

[ ] Double down timer screen on active player. Typo grammar, changed to players' in instructions.

[ ] Double down inactive timer screen instructions. Changed requested to invited.

[ ] Decide Screen 1 Dialog player and decider. typo changed from its to it is

[ ] Decide Agenda item congrats modal text ( might be accurate, just double check !)

[ ] Decide proposal choice (player screen) typo, should be "will receive"

[ ] Decide proposal selected modal. changed receive to get, fixes typo.

[ ] Decide screen 3 player and decider dialog box.  typo,  lets to let's

[ ] Decide last screen. Player + decider. comma after congratulations.

[ ] Debrief screen 1 dialog: multiple edits, see zep.

[ ] Most modals had Decider in lowercase. Double check these to make sure Instances of Decider is capitalized always.

decide phase player screen 1


Clean up value_added in zwave light.

Description:
Clean up value_added in zwave light.
If the code does not interact with devices:

[X] Local tests with tox run successfully. Your PR cannot be merged unless tests pass

What is about #5961 ?

@armills
Now schedule_update_ha_state is called if we came after a refresh.
If we are starting a refresh it is not called (was called before).
I think the previous behavior doesn't make sense: we want to update state when think we have good data - i.e. after refresh.
@pvizeli unrelated to #5961

I agree 100%. Just wanted to note the behavior change so everyone else doesn't need to figure it out.


Correct append to prepend

This is based off of the description in the documentation. Since this correction isnt based off of the source code (sorry, trying this PR out on gitpod.io since I'm away from my computer), it is possible that this correction should be reversed.
This is also a very small PR, I am happy if it goes in with another, more meaningful contribution.

Looks like my commits weren’t signed either. Welp, this was not the most successful experiment 🙅♂

@prestontw if you want to sign your commit and force-push, I'd be happy to merge this. Thanks for the contribution.


Twitter feed on the footer is overflowing

Description

https://user-images.githubusercontent.com/51183483/186899420-79336125-e29d-4cb4-ab62-f60765988a12.mov
Expected Behavior

Fix the height of the twitter feed. Reference: https://smp-spec.io
Screenshots

Enviroment:

OS: Mac
Browser: Safari
Version:
Device: Desktop

Contributor Guides and Handbook
The meshery.io website uses Jekyll and GitHub Pages. Site content is found under the master branch.

📚 See the Contributing to Meshery.io Website section of the readme.md and other contributing instructions, too.
🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

Jekyll 😃 Pls assign me to fix this 🔧

Sure, here you go 🚀

@asubedy @legendarykamal I'm not able to reproduce this issue in Safari. Is this a Chrome-specific issue?

I guess we can close this 😅 , the issue has been miraculously solved

It’s a miracle!


add property for skipping update

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Bug fix: failure to clean-up during CS Machine provisioning if VM provisioned to error state.

Issue #, if available:
Description of changes:
Deleting capiMachine, instead of cloudstackMachine upon detection of VM error state after provisioning.  cloudStackMachine will ultimately be deleted due to its dependency on the capiMachine.
Addressed machine deletion race-condition that occurs when VM is created into error state.
Testing performed:
Provision single control plane node cluster specifying a machine offering that the ACS cannot fulfill.  (72 CPUs, 1TB of memory).  This formerly would result in the deletion of the cloudStack machine in question, but not its VM (reconciliation for the cs Machine delete does not get queued), nor its CAPI machine.
Tested the same scenario after fix: capi machine, cs machine and VM all get deleted.  CAPC retries provisioning after the expected delay, and the cycle repeats itself, as reasonable and expected.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@rejoshed, I discovered a gotcha wrt running controller in a debugger (which is how I was diagnosing this).  When you do so, controller connects to the K8S cluster using your workstation's kubeconfig, and consequently your admin identity.  So the fix I applied worked find when I re-ran in the debugger.  When I subsequently gave it a run in-cluster I discovered the permissions problem.

Narrowed the search for faulty VMs after provisioning failure to include zone, network, domain and account.

/lgtm

/lgtm


feat: add shield:publish CLI Command

Hello friends,
This PR helps to create custom views and adjust it. (related to: #480 )
It also helps to create custom UserModel. (related to: #476)

php spark shield:publish view
php spark shield:publish model

I'm not sure if merging this command is really necessary, however if you think it might be useful please give it a first look.

Generator? not publisher. If so, shield:make is better?
https://codeigniter4.github.io/CodeIgniter4/cli/cli_generators.html
https://codeigniter4.github.io/CodeIgniter4/libraries/publisher.html

Kenjis, you are right. I don't agree with the name shield:publish either, to be honest, I already chose shield:custom.
However, shield:make is good, but you have to be careful, in make:... , the adjustment work is never done, here after the copy views, the adjustment of the views is done.
I was going to use GeneratorTrait to write command shield:publish model, but GeneratorTrait didn't have the necessary flexibility, it seems that some changes must be made in GeneratorTrait, which I don't intend to go into.

Ah, the view command is a bit different from make command.
make generates files from templates.
But the view command copies view files and fixes the Config file.

This is the output of Myth Auth auth:publish command.
It seems the view command is the same as the part of Publish Views?.
$ php spark auth:publish

CodeIgniter v4.1.5 Command Line Tool - Server Time: 2021-12-09 16:36:40 UTC+09:00

Publish Migration? [y, n]: y
  Created: Database/Migrations/2017-11-20-223112_create_auth_tables.php
  Remember to run `spark migrate -all` to migrate the database.
Publish Models? [y, n]: y
  Created: Models/LoginModel.php
  Created: Models/UserModel.php
Publish Entities? [y, n]: y
  Created: Entities/User.php
Publish Controller? [y, n]: y
  Created: Controllers/AuthController.php
Publish Views? [y, n]: y
  Created: Views/Auth/_footer.php
  Created: Views/Auth/_header.php
  Created: Views/Auth/_message_block.php
  Created: Views/Auth/_navbar.php
  Created: Views/Auth/emails/activation.php
  Created: Views/Auth/emails/forgot.php
  Created: Views/Auth/forgot.php
  Created: Views/Auth/layout.php
  Created: Views/Auth/login.php
  Created: Views/Auth/register.php
  Created: Views/Auth/reset.php
Publish Filters? [y, n]: y
  Created: Filters/LoginFilter.php
  Created: Filters/PermissionFilter.php
  Created: Filters/RoleFilter.php
Publish Config file? [y, n]: y
  Created: Config/Auth.php
Publish Language file? [y, n]: y
  Created: Language/en/Auth.php

But the view command copies view files and fixes the Config file.

Exactly.

make generates files from templates.

Yes, if you want I can write it with GeneratorTrait.

It seems the view command is the same as the part of Publish Views?.

I haven't used auth:publish before, but that's what I see.
I don't think we need to cover all of this, some of it is in shield:setup. However, I want to see what you mean?
If you think there is a need for changes or something should be added, I will wait for you.

I think the following commands are better:

php spark shield:publish view
php spark shield:make model

shield:model was implemented in #558

@kenjis We have now documented the customization details for views.
I want to know if we need php spark shield:publish view now?

It is assumed that all view files will be customized by developers.
Because of the large number of files, it would be convenient if they can be prepared by one command.
So I would be happy to have it.
However, I don't mind if it is not in v1.0.0.


SAK-29013 enable the great new opaque url subscription functionality for...

... calendars by default.
This should be our recommended path forward instead of the older ical.experimental, instructor-named feeds.

Looks good to me.


Fix: Pixel is turning off briefly after giving it a color

intermediate fix to flickering pixel. real fix should be updating dojo.js


add moist hs to long run

add moist hs to long run

central differential set up; dt = 200

bors r+


setup GUI

Create a web GUI for initial setup. Things to do:
Required (for the CMS to function properly)

create an authors.Organization object to be this_organization (the primary organization which is using the CMS)
create story statuses (maybe start with a suggested default)
create categories for stories
some static files storage config probably needs to happen here

Optional

create your first author
create your first story

This is unneeded until we start advertising it for general distribution news orgs.


Fix: remove example for tooltip and add it correctly

What does this PR do?
This PR fixes a small issue on the documentation site
Where should the reviewer start?
Line 47 in src/docs/components/TipDoc
What testing has been done on this PR?
Manual, by verifying that the code block appears correctly when running the site on localhost.
How should this be manually tested?
By running the dev server to verify that the code block for ToolTips is not being cutoff (see screenshots)
Any background context you want to provide?
N/A
What are the relevant issues?
N/A
Screenshots (if appropriate)
Before:

After:

Original commit message:
Note: the example was cutting off part of the code

Following the lead of the rest of the components, this adds the tooltip as a code block using the
example component

Thanks for your contribution, welcome to the team!

Thanks!  Starting small, but I'll be back for more especially with the Grommet tests!

Glad to have you onboard 👍


monero: <IP_ADDRESS> -> <IP_ADDRESS>

Motivation for this change
version bump
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Note: monero-gui that depends on this package isn't updated, there's some runtime error at start up with a naive updating of it. But since a hard fork of the network is incoming, it might be worthwhile to get the cli updated.

The network already hard forked, so there's no point to only update the CLI.
Dropped in favor of #57247


In Readme

function is written as .word2phrases() but it is .word2phrase()

Thanks for bringing this to my attention! Fixed the function name in the README.md file.


Solution to issue closes #52

Two interfaces where created,
An interface called NavigationDispatch contains the most 2 common dispatchs for most of the modified components and a parent interface called NavigationStates was created,
The NavigationStates extends as optional the NavigationDispatchs props,
The affected components were modified to apply these 2 new interfaces

This closes #52


[Watson][b2810ee5-a47f-0657-364c-391dc548a391] APPLICATION_HANG_BusyHang_cfffffff_PresentationFramework.dll! System.Windows.Window.WindowFilterMessage

Generated issue from Watson
Watson Link:  https://watsonportal.microsoft.com/Failure?FailureSearchText=b2810ee5-a47f-0657-364c-391dc548a391
ADO Link: https://microsoft.visualstudio.com/DefaultCollection/OS/_workitems#id=26730770&triage=true&fullScreen=true&_a=edit

@ryanbodrug-microsoft this doesn't seem to have enough actionable information. The call stack in the cab from Settings https://watsonportal.microsoft.com/CabAnalysis?CabIdentifier=https://eaus2watcab01.blob.core.windows.net/global-202009/3619017d-8254-4063-9285-e94217a546b0.zip shows the xamlhost library in the call stack, so this could be a Xaml Island related bug.

Running !analyze points to line 4158 in this file in the WPF source code https://github.com/dotnet/wpf/blob/master/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Window.cs. (Might be on an older commit of this file depending on the .NET Core version)

as Arjun mentioned, it looks like Xaml Islands intenral bug

This crash is not caused by PowerToys.


add route to convert petrinet/regnet/stocknflow odes to latex

To convert models into equations in Terarium, we have been more or less doing the same thing done in sciml-service: parse AMR structure, create an ODESystem, then passing it to latexify. Albeit we only have the toolings for Petrinet.
Since the framework parsers are readily setup here I am thinking we can move shop here, remove duplicated logic, and decommission what we are using currently.
Reference: https://github.com/DARPA-ASKEM/model-service/blob/main/src/ModelService.jl#L88-L99

No reason for you to turn AMR in to ODESystem when we already do it, so makes sense to me!


[WIP] Copy short link button

Closes #1788
Features
Adds button at the end of post titles. This only shows when on the post's page and not on the main feed.

When clicked this copies the correct short link to clipboard. If successful the icon is replaced with a  :heavy_check_mark: for two seconds. If it fails the icon changes to :negative_squared_cross_mark: .

Copy to clipboard functionality from https://gist.github.com/lgarron/d1dee380f4ed9d825ca7 we might want to use https://github.com/lgarron/clipboard-polyfill if this simple solution is too buggy but so far it works well.
Issues

[ ] Not sure how to get the correct shortener link form js, it only appears to be defined in PHP, but not in the section where PHP constants are copied to js. See the below links for those files.

https://github.com/ludumdare/ludumdare/blob/e7c1dc6b8d155e774d454374898bfb8a7574203c/src/public-url.redirect/main-redirect.php#L15
https://github.com/ludumdare/ludumdare/blob/e7c1dc6b8d155e774d454374898bfb8a7574203c/src/main/main.php#L64
I'm not sure how to add a constant for the correct link shortener (ldj.am vs url.ludumdare.org). this section of js needs updating with the correct shortener URL.

[ ] Not tested on ie (see #1821) or mobile browsers (works on chrome, firefox, edge41 and opera)

Does the first state with the chain image say copy to clipboard on hover? Otherwise it might be a bit magical and vague what is happening. In general I think it would be best with a temporary tooltip that says "Short link copied to clipboard" and a negative message for failing.

Whoops, I totally forgot about messages because I was messing with having a card slide into the bottom. Before I decided that should be its own thing.

I'll get on adding them.

I've added tooltips with different messages depending on the state and a way to override the "IDEL" tooltip.

Not sure how to get the correct shortener link form js, it only appears to be defined in PHP, but not in the section where PHP constants are copied to js. See the below links for those files.

I would do basically the same thing seen in ludumdare/src/main/main.php for the static domains. It has a little lookup table of domains with matching URL shorteners, then a couple lines later does a lookup.

I've done what you suggested and it seems to work.


No instance for ‘PlutusTx.Eq.Eq ScriptPurpose’  arising from a use of ‘lookup’

Summary
Сan you tell me where I'm wrong in my wishes?
I want to do lookup (Rewarding sc) (txInfoRedeemers $ scriptContextTxInfo ctx), but in pr 6173 delete instance for PlutusTx.Eq.Eq ScriptPurpose
Steps to reproduce the behavior
add line to plutuscript lookup (Rewarding $ ScriptCredential $ ScriptHash hash) (txInfoRedeemers $ scriptContextTxInfo ctx)
Actual Result
error
Expected Result
no errors
Describe the approach you would take to fix this
Bring back the behavior that was there before?
System info
os: Ubuntu 22.04.3
plutus-core: 1.30

@ana-pantilie you're probably equipped best to answer this one.

Do I understand correctly that you are suggesting something like that? @ana-pantilie
{-# INLINABLE eqCredential #-}
eqCredential :: Credential -> ScriptPurpose -> Bool
eqCredential a (Rewarding b) = a PlutusTx.== b
eqCredential _ _ = Haskell.False

find (eqCredential sc) (keys $ txInfoRedeemers $ scriptContextTxInfo ctx)

@zlonast yes that's what I was thinking of.


Make sure that PX API Datasource works with TLS 1.2

When using TLS 1.2 on a site for the API the PX API Datasource do not work since it appears only to be able to handle TLS 1.1.

Works after upgrade to .Net fx 4.8


Use resolution level dimensions provided in the info.json "sizes" field

Use provided dimensions to determine tile sizes as well as the number of tiles that exist at a particular resolution. Fall back to calculation using ceil() if no resolution sizes provided. Avoids rounding errors for edge tiles and fixes https://github.com/openseadragon/openseadragon/issues/2321

This last commit (https://github.com/openseadragon/openseadragon/pull/2337/commits/c5404006b26119b17bd6408a89b7534c4bbbcfb5) simplifies and optimizes things even further, moving things into the constructor and eliminating need for getLevelSize() function.
I've tested and this works correctly with both static tiles from iiif-tiler as well as with servers such as Canteloupe and IIPImage.

I've tried various ways to break this change but haven't managed to:
https://glenrobson.github.io/iiif_stuff/rounding_issue/
It looks good to merge to me.

Awesome. @glenrobson @ahankinson Thank you for reviewing! @ruven Thank you for doing this!


[Jira] My filter command is stopped working

Extension
https://www.raycast.com/raycast/jira
Description
Error: Rendering failed:
Missing required component property "title"
It was working fine till yesterday, today morning onwards started failing.
Steps To Reproduce

Run command MyFilter

Current Behaviour
It's shows something went wrong
Expected Behaviour
List out the default selected filter stories, defects, epics.

Can you uninstall and install back the extension and let me know if you still run into the issue?

Thanks, it's working.
Thanks & Regards,
Jijo Alexander
On Thu, May 18, 2023 at 12:19:48, Thomas Lombart<EMAIL_ADDRESS>wrote:
Can you uninstall and install back the extension and let me know if you still run into the issue?
—
Reply to this email directly, view it on GitHubhttps://github.com/raycast/extensions/issues/6634#issuecomment-1552710274, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7BQSDS6BL44DNTAGWWDQNLXGXLSBANCNFSM6AAAAAAYGC3HB4.
You are receiving this because you authored the thread.Message ID: @.***>

Hi,
I uninstalled and reinstalled and still getting this same error when accessing "My Filters". It's worth noting that other commands seem to be functioning, but my workflow is completely based around filters 😞

I am facing the same issue.
I have attempted to uninstall and reinstall the extension, but now I am unable to log in to Jira through the extension.
The website "https://jira.oauth-proxy.raycast.com" keeps loading indefinitely.
After several attempts, I managed to log in, but I instantly receive a forbidden error whenever I try to execute any Jira command.

@Dirdmaster Does Open Issues also fail for you?

Maybe there are network restrictions for you? The extension has to go through the jira.oauth-proxy.raycast.com website to authenticate the user.

I don't think it's related to my network. It actually works from time to time. Most of the time, jira.oauth-proxy.raycast.com is unaccessible for me
I have tried to use the extension with a couple internet connections and different devices, but the instability persists. Is it possible that jira.oauth-proxy.raycast.com itself is unstable?

It doesn't seem unstable, I've tried logging in and logging from the extension out several times and it works fine 🤔

For now I've decided to roll back to the legacy jira extension which works perfectly fine for me
Could my issue be linked to the new authorization flow? How do the two how do they differ from each other?

Probably. The legacy Jira extension is native (so using Swift) and doesn't have to make use of a proxy like the new one. I'll try to investigate that, but I'm not sure I can find something since the authorization flow doesn't differ much from all of the other flows in our extensions (GitHub, Linear, Zoom, etc.) that don't fail...

@thomaslombart Is there some kind of more verbose logging that I can enable to help debug this? It's very repeatable and super strange. All other things work, just My Filters does not.

Interesting, I did some testing and I'm facing the same issue with linear

What would be the required steps to further debug this issue?

@boaz-wiesner There's no option to enable more verbose logging. It's probably a matter of Jira returning corrupted date or empty titles for some reasons. I'll try to take a stab at it this week but not sure I'll have enough bandwidth for that. If you want, you can fork the extension and try to fix it locally, it might just be a matter of providing a default title to the dropdown's filter if it's empty.

@Dirdmaster Strange indeed... Are you also having the issue with other other proxies such as on our other extensions: Asana, GitHub, Google Workspace, Zoom, etc.?

I had a go at forking the extension and running locally. Works perfectly locally (good work around in the meantime I guess), but the issue is still there with the production version.

@Dirdmaster Are you in the Slack community? It'd be better to debug things out there to keep the issue relatively clean.

@mjvdw Is the local version still working out for you? It seems the error occurs after some uses, so maybe installing the local version worked initially but not anymore.

FYI, I've shipped a fix that may solve this issue but not sure since I'm basically debugging it blindly 😅
Could one of you test it out and let me know if you still have the issue (cc @boaz-wiesner @jijo-nl) @mjvdw)?

@thomaslombart Works! Got the update automatically, didn't need to install/uninstall.
Thanks so much!


Refactor 1 of 2: Feature parity

This contains some boilerplate-sync, some optimizations, lots of cleanup, lint fixes (based on latest lint rules), and uses VictoryLabel instead of text. The main purpose is to separate all this cleanup from the actual major feature change, which is using Tick, GridLine, etc. child components, and checking role for whether or not to render the default ones. That PR will be coming shortly.
/cc @boygirl @kenwheeler

cc/ @exogen I tried this out on it's own, and linked it and tried from chart, and it works well (some expected style differences). I'm not crazy about the changes to the style namespaces, but I'll reserve judgment until I can see how it all goes together in your next pr. Approved

@boygirl We could almost surely keep the style namespace the same as it was – but there's reasoning behind it. If Tick is its own subcomponent, then VictoryAxis can pass style.tick along to that wholesale, and Tick then applies the line and label objects to the components it renders. It keeps the meaning of style consistent: every key in style is applied to an element in your shallow render. If one of those elements is a component with multiple elements itself, then its style object follows the exact same rule.

The reasoning behind it makes sense, I'm just thinking about how it will feel to use api-wise. I think the shallower styles with unique namespaces are easier to read at a glance

@exogen this looks ready to merge to me


allow filtering by has_special_needs in programs tab and access index tab

allow filtering by has_special_needs in programs tab and access index tab

i'm handling the programs tab, andrew is working on the acces index tab

programs tab is done!


Update amis to run from prod jenkins accounts

Signed-off-by: Peter Zhu<EMAIL_ADDRESS>Description
Update amis to run from prod jenkins accounts
Issues Resolved
https://github.com/opensearch-project/opensearch-ci/issues/204
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

We will merge this after the PR https://github.com/opensearch-project/opensearch-ci/pull/186 is merged.
@rishabh6788 @gaiksaya @peterzhuamazon

We will merge this after the PR #186 is merged. @rishabh6788 @gaiksaya @peterzhuamazon

Hi @prudhvigodithi feel free to block this PR just in case.


Instead of removing company messages from stack removing valid numbers messages.

Module is removing valid number message from stack.


"Mark all as read" button for PMs

Tim has reported a few times (here and here) a bug where there's no "mark all as read" button for a PM conversation. We should add one.
There isn't an API endpoint for marking a whole PM conversation as read (see chat). But Wesley points out that a workaround is to send a list of message IDs. I think that's likely to work in almost all cases, so let's try it.
The most complete list of message IDs we have in the app is found in the unread-messages data, right? A small caveat is that the window included in the initial unreads data is long but not infinite. There could be some missed unreads from before that window that we don't include, so they don't get marked as read.
The following comment from 89cff7c24 suggests that the window really is pretty long:
      // TODO handle MESSAGE_FETCH_COMPLETE here.  This rarely matters, but
      //   could in principle: we could be fetching some messages from
      //   before the (long) window included in the initial unreads data.
      //   For comparison, the webapp does handle this case; see the call to
      //   message_util.do_unread_count_updates in message_fetch.js.

I think for all practical purposes, the unread_msgs data set should have the complete set of unread message IDs; it'll be the most recent 50K message IDs that are unread; the chances that a user is looking at a PM thread that contains unreads that are older than 50K other unreads are very low (and in that situation, the solution is probably a top-level notice to the user in the UI, not a change to this feature).  So worth a comment that this is theoretically not perfect, but certainly not worth spending more time on than that.
The key thing is to grab the set of IDs to send to the server from the unread messages data set, rather than just what messages are displayed locally.

That strategy sounds good to me.
Once we implement the TODO in that comment quoted above, then the unreads data (what we initialize from unread_msgs) will also contain any messages you're looking at now that are unread.
I think the most realistic case where you could have an unread PM that's out of the 50k window is something like: you join some very busy org; you stop being active; you get some PMs, perhaps from people you know who are active there and aren't sure if you're still active there; you keep accumulating tons of unreads in busy streams; then you log in again after a year or two. That's totally a thing that happens, though it isn't a real common case.

Yeah, it's not super common, and also I would expect that having loaded the given narrow would insert into your local unread_msgs data structure any unreads in the PM thread, so it'd also have to be the case that you had more unread PMs than fit into the fetch buffer for the view.
(Actually, I have no idea whether the GET /messages code for the mobile app does that sort of unread message logic; the webapp does for legacy reasons but I guess this is a reason to not delete it).

also I would expect that having loaded the given narrow would insert into your local unread_msgs data structure any unreads in the PM thread, so it'd also have to be the case that you had more unread PMs than fit into the fetch buffer for the view.
(Actually, I have no idea whether the GET /messages code for the mobile app does that sort of unread message logic; the webapp does for legacy reasons but I guess this is a reason to not delete it).

Yeah, we ideally should but currently don't; that's exactly what the TODO comment quoted above is about. (The context of where it appears is that it's exactly the spot where we're maintaining the unreads data structure and are presented with the data from having loaded the messages for some narrow.)


fix(AP-2793): add coexistence mode with asset-manager

Adds ability for a server-side rendered page, such as one using the NextJS SDK, to indicate that it will be responsible for instantiating the Evolv client
In particular this prevents the occurrence of the following error:
TypeError: Cannot set property client of #<Object> which has only a getter

I still need to update the documentation and include some dev rigging.


trained weights

Hello,
may share weight of  PSPNET model in the keras.
Thanks.

@jeansely we have shared the weights converted from original PSPNET caffe model in README: https://www.dropbox.com/s/2ksp9hvokzk6qc8/pspnet50_ade20k.npy?dl=0


Allow directives to respect significant whitespace

Subject of the feature
Generic directives, particularly container directives, currently assume that leading whitespace should be removed. This is a sensible assumption in many cases, but for generic directives, it would be valuable to keep significant whitespace. I'd like to propose that an option be added to this plugin that allows directives to respect (or not) significant whitespace.
Problem
This problem manifests when using generic directives for content that requires the use of significant whitespace. For example, I have a directive that renders DITAA (DIagrams Through ASCII Art to an image. The content of the directive is ASCII art, which itself requires significant whitespace to be rendered correctly. For example, consider this usage of directives for a DITAA diagram:
:::ditaa
+---+
| A |
+-+-+
  |  +---+
  +->+ B +
     +---+
:::

When significant whitespace is respected, it produces this diagram:

However, this is the result when significant whitespace is not respected:

Alternatives
Currently, remark-directive allows whitespace to be maintained by wrapping the contents of a directive in code fences, e.g.
:::ditaa
```
+---+
| A |
+-+-+
  |  +---+
  +->+ B +
     +---+
```
:::

This seems like more of a bug than a feature, but I honestly haven't dug into the code of the plugin yet.
Reference
I've also brought this up in the Generic Directive discussion for Commonmark.

Hey hey!
I kinda do like the alternative: that’s what I’d suggest; it makes the most sense to me.
Markdown is a whitespace sensitive language: a lot of its constructs care about whether you indented something or not, and how much, and I think generic directives should not change that.
I don’t think I’d be interested in changing this semi-standard directives proposal unless other implementations also change 🤔

Hey hey!
I kinda do like the alternative: that’s what I’d suggest; it makes the most sense to me.
Markdown is a whitespace sensitive language: a lot of its constructs care about whether you indented something or not, and how much, and I think generic directives should not change that.
I don’t think I’d be interested in changing this semi-standard directives proposal unless other implementations also change 🤔

Going to close this because it seems the linked thread is not going in the direction of this proposal, similar to my own aforementioned views.


fix: debug navigation issue

This PR resolves []
Description
tBD testing

PR Checklist

[ ] I have tested my changes on iOS and Android.
[ ] I hid my changes behind a feature flag, or they don't need one.
[ ] I have included screenshots or videos, or I have not changed the UI.
[ ] I have added tests, or my changes don't require any.
[ ] I added an app state migration, or my changes do not require one.
[ ] I have documented any follow-up work that this PR will require, or it does not require any.
[ ] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

tbd testing

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Dev changes (tbd testing - gkartalis)

  Generated by :no_entry_sign: dangerJS against e69e681e58fd0526fd7809efd9a04bf6d52ce8be


Fix proposal detail page various bugs

remaining voting days should be difference in calendar days (if <24hrs remaining, count as one day)
deposit total needs to be converted from minimal token to token
don't show zero when value of remaining voting days is zero
link proposer, voter and depositor to their respective portfolio page

@hochiw will fix the proposal list change tab wrong page number issue in this PR too.

@hochiw updated


feat(gcp): add iops & extend google_compute_disk to include pd-extreme and hyperdisk-extreme

Objective:
Add support for google_compute_disk - IOPS and pd-extreme and hyperdisk-extreme. Fixes #2403 .
Pricing details:
Pricing Reference
Status:

[ ] Generated the resource files - N/A
[X] Updated the internal/resources file
[X] Updated the internal/provider/terraform/.../resources file
[ ] Added usage parameters to infracost-usage-example.yml - N/A
[X] Added test cases without usage-file
[ ] Added test cases with usage-file - N/A
[X] Compared test case output to cloud cost calculator
[ ] Created a PR to update "Supported Resources" in the docs - N/A

Issues:
None

The commit a6aeeb8  has updated 3 golden test files
i have manually verified with cost calculator for compute_disk.
But, make test_update_google has also updated container_registry and storage_bucket. I am not sure of these two.

@aliscott Tests are currently failing for Nvidia T80 (preemptible) and Network egress. The PR doesn't directly influence this. How do I proceed?

@aliscott Tests are currently failing for Nvidia T80 (preemptible) and Network egress. The PR doesn't directly influence this. How do I proceed?

It looks like that's failing just now on master as well, so it shouldn't affect this.

Thanks @hash-sha512, this looks great 🙏


Support deep links

The issue of deep links has been brought up but not discussed yet in combination with multilinks. In short a deep link consists of

a reference to a document (could be given as relative path or URI)
a content locator to link into the document

The content locator could best be specified separated by # as URI Fragment. Note that at least   (space), |, and % in URI Fragments must be escaped to allow splitting label and multiple links.
An example:
# Deep links in subtext
Links can contain content locators, given as URI Fragment. The syntax and semantic depends on document type.
For text such as subtext there is a specification:
& https://datatracker.ietf.org/doc/html/rfc5147|https://www.rfc-editor.org/rfc/rfc5147.txt RFC 5147
This link references the second and third line of a text document:
& ./document.st#line=2,3 Deep Link

If we do bring in something like this, my sense is that it should follow the scroll-to-text approach https://wicg.github.io/scroll-to-text-fragment/

Yeah scroll-to-text is good -

To add a fragment directive to a URL like https://example.com, a fragment must first be appended to the URL: https://example.com#:~:text=foo.
e.g. https://example.org/#test:~:text=foo will be parsed such that the fragment is the string "test" and the fragment directive is the string "text=foo".

Could specify a search? eg #search="foo bar"

GitHub lets you reference lines and line ranges -
https://github.com/subconsciousnetwork/subtext/blob/dbbf178fe9f3480c052b461fcb1752829c9b7df9/parsers/subtext.py#L8
https://github.com/subconsciousnetwork/subtext/blob/dbbf178fe9f3480c052b461fcb1752829c9b7df9/parsers/subtext.py#L12-L16
and github renders those as transclusions.
I kind of like "line" instead of "L", but referencing lines isn't as useful as text or search anyway, e.g. if you're using a "live" link instead of a "static" one.


Fix Mac Fullscreen

Looking at the electron docs, {fullscreenable: true} (which should be true by default) should work in the place of this in the index.js. I attempted to modify the baseConfig with this and it didn't seem to work. I haven't looked into electron itself, but using mainWindow.setFullScreenable(true);  as a workaround after init seems to work for me on OS X 10.11.3.
Adds a separate maximize toggle path for darwin.
WindowManager.getByInternalID(windowID) calls removed since the window/windowID doesn't change. Not super related to the feature pull.
Addresses part of #212.

I like this, let me just see what happened on travis and I'll probably merge

Workaround removed & rebased.

Closing this in favour of #386 (completely native windows borders instead of replicating behaviour)


Seemingly uninitialized value

Hi,
The BitArray to store the result in reluValToMmap is constructed with BitArray(undef, ...), but the values seem not to be initialized. Only certain items are assigned to true in the loop. Is this a bug or a deliberate design?
https://github.com/sisl/HorizontalCAS/blob/cd72ffc073240bcd4f0eb9164f441d3ad3fdc074/Reachability/HCAS_Reachability.jl#L578

I should have explicitly set all values to false immediately after line 578, as was done with the other times BitArray() is used. Thanks for this catch.

Fixed with bc56a28cfe70b0486b6875deacfda947500bddcb.


Need to represent multipart geometries for OGR IO

Can continue to just use Python lists of geometries, but this needs to happen in shp.py (line 127).

Fixed by 6a7005678e2cf7e5eaa40a8f5cbba0e768d14301


Record current milliseconds in default file name.

This changes the default file name to also include milliseconds, which has a small cost and is useful in some cases.
It also removes a duplicate getTimeStamp() definition.

LGTM, +1.
Thanks again for your contribution


3.0.0 and above break code that works with 2.13 to 2.19 versions.

Expected Behavior
Upgrading from 2.x to 3.x should "just work" after updating the relevant option names
Current Behavior
3.0.0 and all builds I've tried above that result in: Error: Cannot find module 'yargs-parser'
Steps to Reproduce

Unknown

Your Environment

Obfuscator version used: 3.0.0
Node version used: 16.18.0

Stack trace
    at t (/tmp/.mount_AppDsOGW4/resources/app.asar/app/dist/preload.build.js:2:1047713)
    at 83356 (/tmp/.mount_AppDsOGW4/resources/app.asar/app/dist/preload.build.js:2:895678)
    at u (/tmp/.mount_AppDsOGW4/resources/app.asar/app/dist/preload.build.js:2:1142257)
    at 390 (/tmp/.mount_AppDsOGW4/resources/app.asar/app/dist/preload.build.js:2:900842)
    at u (/tmp/.mount_AppDsOGW4/resources/app.asar/app/dist/preload.build.js:2:1142257)
    at /tmp/.mount_AppDsOGW4/resources/app.asar/app/dist/preload.build.js:2:874357
    at u.a (/tmp/.mount_AppDsOGW4/resources/app.asar/app/dist/preload.build.js:2:1142784)
    at 93607 (/tmp/.mount_AppDsOGW4/resources/app.asar/app/dist/preload.build.js:2:874207)
    at u (/tmp/.mount_AppDsOGW4/resources/app.asar/app/dist/preload.build.js:2:1142257)
    at /tmp/.mount_AppDsOGW4/resources/app.asar/app/dist/preload.build.js:2:1144138

Minimal working example that will help to reproduce issue
Apparently merely importing yargs-parser, though I am not yet certain.
Additional notes
We're applying the obfuscation using webpack-obfuscator rather than calling javascript-obfuscator directly. I tested versions 4, 3, and 2.13 to 2.19. The 2.x versions work, but nothing above.

Is the yargs-parser module being bundled into your preload.build.js?

Yes it is (and previously worked fine with the same yargs-parser version.)

Are you sure?

Possibly a duplicate of (https://github.com/javascript-obfuscator/javascript-obfuscator/issues/1093). See this comment: https://github.com/javascript-obfuscator/javascript-obfuscator/issues/1093#issuecomment-1613908105


WFLY-14767 Upgrade to Hibernate Search 5.10.11.Final

https://issues.redhat.com/browse/WFLY-14767
cc @scottmarlow , @gbadner , @wolfc
This pull request is based on #14177: we need the upgrade to Avro 1.10 in order for Hibernate Search 5.10.11 to work correctly. (and vice-versa: we need the upgrade to Hibernate Search 5.10.11 in order to upgrade to Avro 1.10, because Hibernate Search 5.10.10 and below will not work with Avro 1.10).
See the relevant conversation here: https://github.com/wildfly/wildfly/pull/14177#pullrequestreview-626604791
The full changelog since Hibernate Search 5.10.7.Final is available here. To sum up:

Upgrade to Avro 1.10 / Jackson 2
Various upgrades to a higher version of ORM 5.3 => no consequences on WildFly
Various upgrades to tests dependencies and the build => no consequences on WildFly
HSEARCH-3767: Elasticsearch date/time bridges throw NPE on projections => not relevant to WildFly, as we don't package the Elasticsearch integration as a module
HSEARCH-3801: Hibernate Search blocks loading  => not relevant to WildFly, as we don't package this artifact as a module

@ronsigal Any concerns?  See #14177 for the main discussion; this PR just adds a necessary 4th commit but one that is unrelated to JAXRS.

@jamezp I filed https://issues.redhat.com/browse/WFLY-14786 to capture suggestions like your previous comment. Thanks!

/retest

Thanks @yrodiere @wolfc !


🐛 行头横向滚动条样式问题

🏷 Version

Package
Version

@antv/s2
1.25.0

@antv/s2-react
1.23.0

@antv/s2-vue

Sheet Type

[x] PivotSheet
[ ] TableSheet
[ ] GridAnalysisSheet
[ ] StrategySheet

🖋 Description

行头横向滚动条滚到底和数据单元格区域滚动条有部分重合

⌨ Code Snapshots

🔗 Reproduce Link

🤔 Steps to Reproduce

😊 Expected Behavior
😅 Current Behavior
💻 System information
macOS

:tada: This issue has been resolved in version @antv/s2-v1.26.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version @antv/s2-react-v1.24.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version @antv/s2-v1.26.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version @antv/s2-react-v1.24.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Crash in production is not reported to Sentry

Platform
Android
Obfuscation
Enabled
Debug Info
Enabled
Doctor
latest
Version
latest
Steps to Reproduce
When using my app in production environment, it becomes janky and then crashes (I suspect it is some memory issues, but there is no report sent to Sentry so I cannot guarantee). The problem is that, the crash is never sent to Sentry.
I can understand that, if the code or Dart VM or whatever crashes so quickly that Sentry code does not have a chance to execute, it will not report anything. However, can we somehow report a bit of thing using the Android Sentry? Or, using even more low-level mechanism?
More formally,

Is it possible to report crashes of Android app to Sentry, when Dart VM is unhappy and will not execute (Sentry) Dart code
Is it possible to report crashes to Sentry, when the app is killed by Android system without warnings

(These proposals may or may not directly solve my problem in production environment above, but instead is more general to make Sentry better)
Expected Result

Actual Result

Are you willing to submit a PR?
Yes!

@fzyzcjy thank you for the feedback.

The problem is that, the crash is never sent to Sentry.

Did the app actually crash or at least trigger an unhandled error? Sentry is only able to capture errors that are triggered by the platform or if you manually call Sentry.capture...).

I can understand that, if the code or Dart VM or whatever crashes so quickly that Sentry code does not have a chance to execute, it will not report anything. However, can we somehow report a bit of thing using the Android Sentry? Or, using even more low-level mechanism?

Sentry already listens to errors in every layer of the app for Android, the Dart VM, Flutter, the Android uncaught exception handler (Java/Kotlin), and also in the Native layer (C signal handlers), so if none of them are triggered, the exception won't be captured.
If you are having memory leaks in general, you need something similar to https://square.github.io/leakcanary/
In this case, the app becomes janky but doesn't actually crash, so Sentry cannot do anything about it.
There's a tool for leak detectors in Flutter, but it only works in debug mode, unfortunately.
I'd love more context on this issue or even a reproducible example.

Did the app actually crash or at least trigger an unhandled error? Sentry is only able to capture errors that are triggered by the platform or if you manually call Sentry.capture...).

The app crashes actually - i.e. I was playing with it and suddenly it exits.

If you are having memory leaks in general, you need something similar to square.github.io/leakcanary
In this case, the app becomes janky but doesn't actually crash, so Sentry cannot do anything about it.
There's a tool for leak detectors in Flutter, but it only works in debug mode, unfortunately.

I think so - if it is really a leak I need to use specialized tools to solve it. But as I mentioned above, it appeared as a crash.
At minimum, what I hope is that, I can know there exists a crash, s.t. I can know how frequently my app is crashing.

I'd love more context on this issue or even a reproducible example.

Feel free to ask anything! As for reproduction, I even cannot reproduce it on my app, so maybe not any currently...

Another (maybe not reasonable) thought: Is it possible we utilize Android system level crash report? e.g. sth like Android vitals (I cannot use Google Play so cannot have that console...)

@fzyzcjy on iOS, we have this: https://docs.sentry.io/platforms/apple/guides/ios/configuration/watchdog-terminations/ which pretty much describes something similar to what you want, if we cannot detect something before it crashes, it detects on restart based on heuristics.
The problem is that we've never seen that on Android, its crash handlers always are able to detect and report crashes before the process dies totally, the reason is that the Dalvik/Art always throws an eg OutOfMemoryError when something heavy is allocated, so you can recover (deallocate stuff, call GC...) and the SDK can detect the issue.
What you can do to investigate your issue is looking at events and see if you find occurrences of breadcrumbs of low memory, the Android SDK adds crumbs for that, See https://github.com/getsentry/sentry-java/blob/baa4b26a8940ca5785af4ee5cf8fa18b8aedeadd/sentry-android-core/src/main/java/io/sentry/android/core/AppComponentsBreadcrumbsIntegration.java#L140-L145
If you find some of those, maybe the reason is indeed a memory leak.
Hopefully, https://github.com/dart-lang/leak_tracker/issues/25 is released for production so we can report memory leaks as well.

Thank you for the information!

The problem is that we've never seen that on Android, its crash handlers always are able to detect and report crashes before the process dies totally, the reason is that the Dalvik/Art always throws an eg OutOfMemoryError when something heavy is allocated, so you can recover (deallocate stuff, call GC...) and the SDK can detect the issue.

That's interesting! Then maybe my crash is due to something else that I have not guessed before. Anyway all I can confirm is that, it is a crash without reporting so Sentry, and anything else is guesses since I have no clue.

What you can do to investigate your issue is looking at events and see if you find occurrences of breadcrumbs of low memory, the Android SDK adds crumbs for that

Well, no issues are reported at all, thus I cannot see any breadcrumbs...

@fzyzcjy you can look at random error events and check if they have the low memory crumbs, even though they are not related to this issue at all, it might be an indicator that you are indeed having memory leak issues.
I guess I can't do much here without a repro, unfortunately, but let us know if you manage to repro this or find a pattern.

Good idea! I will add "low memory events" tracking in my own infra and see how frequently it is happening.

I guess I can't do much here without a repro, unfortunately, but let us know if you manage to repro this or find a pattern.

I know, it is really hard to debug without repro or any clues. I will update when finding anything more!

Closing the issue as a part of large repository cleanup, due to it being inactive and/or outdated.
Please do not hesitate to ping me if it is still relevant, and I will happily reopen and work on it.
Cheers!


Rhode Island House District 68

OUT: Laufton Ascencao resigned
IN: June Speakman
This happened on March 13
https://www.rwu.edu/news/news-archive/rwu-professor-june-speakman-sworn-rhode-island-house-representatives

I noticed that the contact information for Ascencao includes the photo and the url for Kenneth Marshall. This is reasonable considering that Ascencao never took office, and the retired Marshall took his place: https://www.providencejournal.com/news/20181213/incumbent-who-did-not-seek-reelection-will-remain-in-east-bay-house-seat-until-special-election.  I was about to make these corrections in a PR for the yaml, but ... should we consider him retired, since he never took office?

Ah that's a tricky one, but I think we'll consider them retired for this
purpose, since full removal would potentially cause issues if people had
the id in their system.
Thanks!
On Fri, Aug 23, 2019, 11:27 AM Amy Drummond<EMAIL_ADDRESS>wrote:

I noticed that the contact information for Ascencao includes the photo and
the url for Kenneth Marshall. This is reasonable considering that Ascencao
never took office, and the retired Marshall took his place:
https://www.providencejournal.com/news/20181213/incumbent-who-did-not-seek-reelection-will-remain-in-east-bay-house-seat-until-special-election.
I was about to make these corrections in a PR for the yaml, but ... should
we consider him retired, since he never took office?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/openstates/people/issues/152?email_source=notifications&email_token=AAAB6YWT2TBHZC2W6OLOBOLQF76W5A5CNFSM4HKZU322YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5ARH6Q#issuecomment-524358650,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAB6YUDFU5VQKDGZHFKXH3QF76W5ANCNFSM4HKZU32Q
.


new Marketo form

Locally broken, let's test it on staging!

@LukasReschke we should test on live :speak_no_evil:


Add message after failed subscribe

Summary
If a user fails to subscribe a phone number - the phone number could have already been subscribed in the first place or there could be an internal server error - display a message explaining that it failed.

[ ] Display message that phone number was already subscribed if service returns a 409 status code
[ ] Display generic error message for any other failing status code

Motivation
User should know when their subscribe request failed.

I don't want you to work more than you thought the issue is @luky1300
But if you could take a look at this and maybe try to use it.
you can use something like  a const response = [] and use response.push('Subscribed successfully! .....') function to push the message in place of alert
then map through response to make the Snackbar
or any way you see it fit
just an idea I was thinking about it.

@AdhamAH, thank you for your comment and for bringing this up! I totaly agree that the Snackbar looks more appealing. I will try to implement that.

Great! Try it but don't feel obligated to do it, it is just a suggestion.
But I assure you will feel pretty good when you see it working. I know from experience😁


python3Packages.georss-ign-sismologia-client: 0.2 -> 0.3

Motivation for this change
Update to latest upstream release 0.3
Change log: https://github.com/exxamalte/python-georss-ign-sismologia-client/releases/tag/v0.3

Related Home Assistant change: https://github.com/home-assistant/core/pull/51838
Target Home Assistant release: current (only dependency update, no code changes)

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 126963 run on x86_64-linux 1

2 packages built:

python38Packages.georss-ign-sismologia-client
python39Packages.georss-ign-sismologia-client

Result of nixpkgs-review pr 126963 at 55113259 run on aarch64-linux 1

2 packages built successfully:

python38Packages.georss-ign-sismologia-client
python39Packages.georss-ign-sismologia-client


DynamoDB cache store issues on numeric values

Laravel Version: 9.18.0
PHP Version: 8.0.17
Database Driver & Version: DynamoDB

Description:
A similar bug that was occurring in #31345 is also occurring in the dynamodb driver.
Steps To Reproduce:
Set cache driver to dynamodb and try the followings:
Cache::put('test', '1');
Cache::get('test'); // expected: '1', actual: 1
Cache::put('test', 1);
Cache::get('test'); // expected = actual = 1
Cache::put('test', 1.0);
Cache::get('test'); // expected: 1.0, actual 1
Cache::put('test', INF)
Cache::get('test'); // expected INF, actual: DynamoDbException
Cache::put('test', -INF)
Cache::get('test'); // expected -INF, actual: DynamoDbException
Cache::put('test', NAN);
Cache::get('test');// expected: NAN, actual: DynamoDbException

It looks like Taylor doesn't wants to accept a PR to change this at the time. You're always free to attempt a new one 👍


Clarify send-message doc on "to" contents

At
https://zulip.com/api/send-message#parameter-to
we say:

For private messages, either a list containing integer user IDs or a list containing string email addresses.

We should make clear which users those user IDs or email addresses are expected to represent. Specifically, we should say that including the client's own user in this list is allowed and ignored.
(That's the server's actual behavior, which we chose because it helps keep things simple for very simple bots, which are very likely to use this endpoint. Clarifying it helps keep things actually simple for people writing those bots, as well as saving debugging effort when any client is having trouble related to sending.)

@zulipbot claim

@zulipbot claim

Hey I have created a pull request for this issue. Can someone verify that it is done correctly?


Substitute KONTENA_* environment variables in kontena.yml

It's nice that KONTENA_SERVICE_INSTANCE and other KONTENA_* vars are available to the container, but obviously typical images out there (e.g. for Zookeeper, Kafka, ...) don't know anything about Kontena to use them.  Such services do have env variables like KAFKA_ID.  Unfortunately, it appears these env variables aren't getting resolved within the docker-compose/konenta YML file so that I can do this:
environment:
  KAFKA_ID: ${KONTENA_SERVICE_INSTANCE}

Currently this is not possible because many of those env variables are resolved after scheduling happens in the Kontena Master. You can re-map these env variables if you create a custom entrypoint/script for your image.


Visualization

Hi Authors,
Thank you so much for releasing the code. Much appreciated.
Can you please post scripts/code used to visualize the examples (Fig. 1,2,3)?
Thanks in advance.

Hello @sheshap, sorry for the late reply.
Unfortunately, all visualization codes are gone.
We used PyVista (https://docs.pyvista.org/) for all visualizations.
Hope this helps at least a bit.
Best, Sihyeon.


If there some problem ingenerating pdf, these pdf in this commit canot be open!

I Can open every PDF in this repository. So does everyone else I've asked. Please come back with more info if this persists.


Proposal: NFT-Based Virtual Pets

Description

This project is a gamified NFT platform where users can own, take care of pets in a decentralized ecosystem
Each NFT pet is unique, with dynamic stats that evolve through regular care, feeding and training
Beyond gameplay, this project will also offer an educational layer where users can learn about real-world pet care and responsible ownership through fun, interactive experiences

Bounty track

NFT, Other

Sounds interesting. Apaproved. Don't forget Kaia has Opensea.io, so leverage the platform to help make your game more interesting (like incorporating some pet trading mechanism).

Petiverse: NFT Pet Game:
https://petiverse-three.vercel.app/
Frontend repo: https://github.com/ExtraCaterpiller/Petiverse-frontend
Backend repo: https://github.com/ExtraCaterpiller/Petiverse-backend
Smart contract: https://github.com/ExtraCaterpiller/Petiverse-foundry
Deployed contract address
Kairos: 0xCafEA8FD4D039F5061DCEDCE0D8c4145c1123253

hey hey will get back to you soon

hello, @zxstim, did you review the project?

A decent start. I think you can improve a lot more with random stats for battle. But just a suggestion. Feel free to make decision on how you can build up the gameplay.
2000 KLAY payout approved

Another thing, you need to switch your Foundry command from using --private-key flag to --account for security. No payout until you change this.

If you submit again, feel free to ping me every 2 days or so. I got a bunch of new submissions so I often forget and github is still bad on filtering. Prob need a new submitted tag

Thanks for the feedback. I updated the foundry command. You can check now.
Regarding the battle, I am still thinking about it. Including randomness in some of the stat, I think will improve the engagement and experience of players because it will not feel repetitive.

@ExtraCaterpiller payout request already submitted. i think monday will be disbursed.
meanwhile, can you open a PR and add yourself into the hall of fame here.
https://github.com/kaiachain/kaia-dapp-mono/blob/main/builder-program/hall-of-fame.md


[Feature Request] Allow local encryption of passwords/user selected data

Insomnia Version: 6.3.2
Operating System: Linux Mint (installed by snap)

Details
When using a client certificate in a pfx/p12 file, the path and password for this key are stored unencrypted in a globally readable JSON file. This is potentially highly sensitive information and should probably be encrypted and certainly restricted to access by the owner.
When installed by snap install insomnia the file is located at ~/snap/insomnia/current/.config/Insomnia/insomnia.ClientCertificate.db. To make matters worse, attempts to restrict permissions on this file are futile as the file is reset to globally readable when the insomnia is restarted.
➜  Insomnia pwd
/home/wesley/snap/insomnia/24/.config/Insomnia
➜  Insomnia ls -l insomnia.ClientCertificate.db
-rw-r--r-- 1 wesley wesley 401 Feb 25 16:03 insomnia.ClientCertificate.db
➜  Insomnia chmod 600 insomnia.ClientCertificate.db
➜  Insomnia ls -l insomnia.ClientCertificate.db
-rw------- 1 wesley wesley 401 Feb 25 16:03 insomnia.ClientCertificate.db
➜  Insomnia insomnia&
[1] 7871
➜  Insomnia Error org.freedesktop.DBus.Error.Failed: cannot use setting "default-url-scheme-handler": not allowed
[fix] Running database repairs
[db] Initialized DB at /home/wesley/snap/insomnia/24/.config/Insomnia/insomnia.$TYPE.db
Init responses DB
[localstorage] Initialized at /home/wesley/snap/insomnia/24/.config/Insomnia/localStorage
[main] Loading file:///snap/insomnia/24/resources/app.asar/renderer.html
(electron) 'app.makeSingleInstance(cb)' is deprecated. Use 'app.requestSingleInstanceLock() and app.on('second-instance', cb)' instead.
[updater] Updater not running platform=linux dev=false

➜  Insomnia ls -l insomnia.ClientCertificate.db
-rw-r--r-- 1 wesley wesley 401 Feb 25 16:09 insomnia.ClientCertificate.db

This could potentially be part of a larger discussion on security. Currently the app store everything unencrypted on the filesystem.
The simplest solution would probably be to create an Encrypted Value template tag that can be used to encrypt specific values (similar to the already-existing Prompt tag).
I'm definitely open to having a conversation about this. Any ideas or example of how other apps handle this are welcome.

I would be interested in being included in the discussion regarding this.

Is the ask here to allow users to select which data-fields to encrypt locally on their machines?  In the time since this issue was posted, we have released Insomnia Sync which provides end to end encryption in the case of data being shared between Insomnia Users.  I'm trying to understand whether or not the Insomnia Sync feature covers this issue.

I'm also interested in this. I've also reached out to insomnia support so if I get a reply I'll post it here.

FYI This is how RapidAPI (formerly PAW) secures sensitive info in the environment variables feature:

https://paw.cloud
I keep revisiting this since Insomnia is by far my favourite API client but I can't make much use of it without the ability to protect secrets on local storage. The 'end-to-end encryption' doesn't even cover this as all settings are decrypted when stored locally.