Can't run tests with OUnit2 and qcheck-0.13

OUnit2 now is repalcement for OUnit.
[builder@localhost ocaml-iter-1.2.1]$ make test
Done: 53/58 (jobs: 1)File "qtest/run_qtest.ml", line 3, characters 5-11:
3 | open OUnit2;;
^^^^^^
Error: Unbound module OUnit2
Hint: Did you mean Unit?
ocamlc qtest/.run_qtest.eobjs/byte/run_qtest.{cmi,cmo,cmt} (exit 2)
(cd _build/default && /usr/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47<EMAIL_ADDRESS>-strict-sequence -strict-formats -short-paths -keep-locs -warn-error -a+8 -safe-string -w -33 -g -bin-annot -I qtest/.run_qtest.eobjs/byte -I /usr/lib64/ocaml/bytes -I /usr/lib64/ocaml/qcheck-core -I /usr/lib64/ocaml/result -I src/.iter.objs/byte -I src/.iter.objs/native -no-alias-deps -opaque -o qtest/.run_qtest.eobjs/byte/run_qtest.cmo -c -impl qtest/run_qtest.ml)
make: *** [Makefile:8: test] Error 1
after correcting the qtest/dune, the error looks like this:
ocaml-iter-1.2.1]$ make test
Done: 53/58 (jobs: 1)File "../src/Iter.ml", line 32, characters 5-7:
Error: This pattern matches values of type unit
but a pattern was expected which matches values of type test_ctxt
ocamlc qtest/.run_qtest.eobjs/byte/run_qtest.{cmi,cmo,cmt} (exit 2)
(cd _build/default && /usr/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47<EMAIL_ADDRESS>-strict-sequence -strict-formats -short-paths -keep-locs -warn-error -a+8 -safe-string -w -33 -g -bin-annot -I qtest/.run_qtest.eobjs/byte -I /usr/lib64/ocaml/bytes -I /usr/lib64/ocaml/ounit2 -I /usr/lib64/ocaml/ounit2/advanced -I /usr/lib64/ocaml/qcheck-core -I /usr/lib64/ocaml/result -I src/.iter.objs/byte -I src/.iter.objs/native -no-alias-deps -opaque -o qtest/.run_qtest.eobjs/byte/run_qtest.cmo -c -impl qtest/run_qtest.ml)
make: *** [Makefile:8: test] Error 1

This should be opened in qtest rather than here, I think. Why is using ounit bad anyway?


Add new row button on form errors

If I try to submit the form with an error, with many rows entered, on rendering the button ends up above the first row.

I am using the latest version and the configuration is "classic":
    'add_label' => $this->translator->trans('company.form.language.addNew', [], 'forms'),
    'entry_type' => CompanyLanguageType::class,
    'allow_add' => true,
    'allow_delete' => true,
    'add_class' => 'custom-add-form',
    'allow_drag_and_drop' => true,
    'drag_and_drop_filter' => 'input',
    'by_reference' => false,
    'display_sort_buttons' => true,
    'error_bubbling' => false,
    'min' => 1,
    'max' => $maxLanguage,

        {{ form.companyLanguage.vars.label }}

{{ 'companyLanguage.form.language.help'|trans({}, 'forms') }}

        {{ form_widget(form.companyLanguage) }}

This probably comes from your form theme  but it's hard to tell, it could happen for example if a div is added outside of the children when there's an error instead of inside. If you remove your form theme does the error still happen?
I've tried your example but I couldn't reproduce on a fresh install

I have no form themes configured. I have only worked on the css side. I will try to remove everything unnecessary to see if it is something external interfering.

I cannot understand what is going on.
Something in the file ux_collection_form_theme.html.twig doesn't seem OK, apparently.
Activating the display_insert_button, and pressing save with error in the form, shows me the add button in second position, definitely out of place, since it is added to the insert button!
https://github.com/user-attachments/assets/35903b54-97e2-45fd-b45a-d621cb14e327
I attach the video.

Probably the error is caused by the forms with Turbo enabled.
We have also this problem when try to change the language in "new added row".

Are you using LiveComponent by any chance? For Turbo by itself it shouldn't create any problem as far as I know, I use it with turbo myself. But for Live Components there is an issue with the way classic collections are handled because UxCollection data are meant to be handled client side by the JS, and then sent to a form, while Live Components expects changes to be synced with ajax requests, it's better to use LiveCollectionType for now if you're using this
If you're not using Live Component, could you share your composer.lock's Turbo version please?

Yes. I'm using livecomponent 👍🏻
In fact if I remove {{ attributes }} from the div, everything works!

I think it is correct to report this incompatibility.

Thanks @bsramin :+1:
Yes you're correct, I've added this to the readme, until I find a proper way to support live components


fix Template type

I don't think we can change Store to ReX.Store. If we do so, there will be a complier error (No type named 'Store' in module 'ReX') because Store is associatedtype.

Orz I have made a mistake.


Add mitogen_host variable as optional target

The option mitogen_host has been added allowing users to define it as
a given target which is useful in inventories where the ansible_host
is already defined and may be an IP address.

This option was added to cater for the situation where containers are
in a givne ansible inventory but are also assigned an IP address. The
mitogen_host option can now be used to point mitogen at a given
container instead of assuming ansible_host is the name of the
container. This was developed with OpenStack-Ansible in mind and has
been validated using LXC and nspawn containers which have multiple
IP addresses.

Documentation has been updated to show how mitogen_host is used and
will fall back to the default: ansible_host and inventory_hostname.
osa-containers test inventory has been updated to reflect the new
option and how it is used.
Signed-off-by: Kevin Carter<EMAIL_ADDRESS>Thanks for creating a PR! Here's a quick checklist to pay attention to:

Please add an entry to docs/changelog.rst as appropriate.
done.

Has some new parameter been added or semantics modified somehow? Please
ensure relevant documentation is updated in docs/ansible.rst and
docs/api.rst.
updated docs/ansible.rst

If it's for new functionality, is there at least a basic test in either
tests/ or tests/ansible/ covering it?
Updated tests/ansible/hosts/osa-containers though no additional tests have been added

If it's for a new connection method, please try to stub out the
implementation as in tests/data/stubs/, so that construction can be tested
without having a working configuration.
n/a

abandoning in favor of - https://github.com/dw/mitogen/commit/01840fd0b0c4f152c9a9ebc72d14b7e5fd9de701


Geocoder.geocode returns empty results for any valid address

I'm submitting a ...  (check one with "x")

[ ] question
[x] any problem or bug report
[ ] feature request

If you choose 'problem or bug report', please select OS:  (check one with "x")

[x] Android
[ ] iOS

cordova information:  (run $> cordova plugin list)
com.googlemaps.ios 2.5.0 "Google Maps SDK for iOS"
cordova-plugin-console 1.1.0 "Console"
cordova-plugin-device 1.1.4 "Device"
cordova-plugin-geolocation 4.0.1 "Geolocation"
cordova-plugin-googlemaps 2.1.1 "cordova-plugin-googlemaps"

If you use @ionic-native/google-maps, please tell the package.json (only @ionic-native/core and @ionic-native/google-maps are fine mostly)
"@ionic-native/geolocation": "^4.5.2",
"@ionic-native/google-maps": "^4.5.2",
"cordova-plugin-geolocation": "^4.0.1",
"cordova-plugin-googlemaps": "^2.1.1",

Current behavior:
Geocoder.geocode always returns empty results for any valid address string.
Testing Device : Redmi 4A
android version : 6.0.1
let request : GeocoderRequest = {address : data.description}
Geocoder.geocode(request).then(results => {
  console.log("results is ** : " + JSON.stringify(results))
  var geoCodeResult = results[0] as GeocoderResult
  console.log("geoCodeResult is : " + JSON.stringify(geoCodeResult))
  if(geoCodeResult)
     this.googleMap.setCameraTarget(geoCodeResult.position)
})

Related code, data or error log (please format your code or data):

Thank you for the tip @bhavyalatha26 this 'bug' was driving me nuts any resolution yet?


Settings sync asked for login every time vscode is restarted

Issue Type: Bug
Start vscode. Login to settings sync via Microsoft account. Login successful. Close vscode. Start vscode again. See that settings sync is asking for login again (little "1" badge showing on the accounts icon).
This is what I got from the Microsoft authentication output log:
[Error  - 15:54:12.179] Error: Not enough memory resources are available to process this command.

Full Output Log

[Info  - 15:53:54.848] Reading sessions from secret storage...
[Error  - 15:53:54.913] Key was not found in SecretStorage.
[Info  - 15:53:54.916] Got 0 stored sessions
[Info  - 15:53:55.60] Getting sessions for the following scopes: email offline_access openid profile
[Trace  - 15:53:55.60] No session found with idtoken scopes... Using fallback scope list of: email offline_access openid profile
[Info  - 15:53:55.60] Got 0 sessions for scopes: email offline_access openid profile
[Info  - 15:53:58.611] Getting sessions for all scopes...
[Info  - 15:53:58.611] Got 0 sessions for all scopes...
[Info  - 15:54:03.543] Getting sessions for the following scopes: email offline_access openid profile
[Trace  - 15:54:03.543] No session found with idtoken scopes... Using fallback scope list of: email offline_access openid profile
[Info  - 15:54:03.543] Got 0 sessions for scopes: email offline_access openid profile
[Info  - 15:54:06.21] Logging in for the following scopes: email offline_access openid profile
[Info  - 15:54:11.33] Exchanging login code for token for scopes: email offline_access openid profile
[Info  - 15:54:11.466] Exchanging login code for token (for scopes: email offline_access openid profile) succeeded!
[Info  - 15:54:11.466] Setting token for scopes: email offline_access openid profile
[Info  - 15:54:11.466] Login successful for scopes: email offline_access openid profile
[Info  - 15:54:11.466] Token available from cache (for scopes email offline_access openid profile), expires in 4073000 milliseconds
[Info  - 15:54:11.499] Getting sessions for the following scopes: email offline_access openid profile
[Info  - 15:54:11.499] Got 1 sessions for scopes: email offline_access openid profile
[Info  - 15:54:11.499] Token available from cache (for scopes email offline_access openid profile), expires in 4072967 milliseconds
[Info  - 15:54:11.499] Getting sessions for the following scopes: email offline_access openid profile
[Info  - 15:54:11.499] Got 1 sessions for scopes: email offline_access openid profile
[Info  - 15:54:11.499] Token available from cache (for scopes email offline_access openid profile), expires in 4072967 milliseconds
[Error  - 15:54:12.179] Error: Not enough memory resources are available to process this command.

VS Code version: Code 1.68.1 (30d9c6cd9483b2cc586687151bcbcd635f373630, 2022-06-14T12:48:58.283Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz (16 x 3600)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.94GB (16.85GB free)

Process Argv
--folder-uri file:///d%3A/Projects/GitHub/totkeks/totkeks.xyz.old/totkeks.xyz.github --crash-reporter-id d38112bb-8b9d-4503-afe3-1bccf7c4fbe5

Screen Reader
no

VM
0%

Extensions (24)

Extension
Author (truncated)
Version

vscode-zipfs
arc
3.0.0

better-toml
bun
0.3.2

gitignore
cod
0.7.0

vscode-svgviewer
css
2.0.0

vscode-markdownlint
Dav
0.47.0

vscode-eslint
dba
2.2.6

githistory
don
0.6.19

xml
Dot
2.5.1

gitlens
eam
12.1.1

EditorConfig
Edi
0.16.4

prettier-vscode
esb
9.5.0

remotehub
Git
0.34.0

git-graph
mhu
1.30.0

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.8

remote-containers
ms-
0.238.3

remote-wsl
ms-
0.66.3

azure-account
ms-
0.10.1

hexeditor
ms-
1.9.7

remote-repositories
ms-
0.12.0

quicktype
qui
12.0.46

vscode-stylelint
sty
1.2.2

vscodeintellicode
Vis
1.2.22

vscode-icons
vsc
11.12.0

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
vscaac:30438847
pylanb8912cf:30520717
vsclangdc:30486549

I have the same issue and wanted to add a clarification that may help interpret the log.  The lines up to and including "[Info  - 15:53:58.611]" occur while VSCode is starting up and is attempting to get the key, which fails.  The lines after that come during the authentication process that is initiated by the user via the "Accounts / Sign in" menu.  The authentication does succeed, but the actual failure seems to be during the attempt to perform some operation afterward.   Presumably, it isn't writing the key properly which then leads to the problem of getting the key on the next startup.

/duplicate https://github.com/microsoft/vscode/issues/130893

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Added read replica docs.mdx

fixed typo of distributed

I have read the CLA Document and I hereby sign the CLA


Database size limit?

While experimenting with using level db 0.10 to process some large dataset, I ran across this exception:
Exception in thread "main" org.iq80.leveldb.impl.DbImpl$BackgroundProcessingException: java.lang.NullPointerException
at org.iq80.leveldb.impl.DbImpl.checkBackgroundException(DbImpl.java:421)
at org.iq80.leveldb.impl.DbImpl.writeInternal(DbImpl.java:683)
at org.iq80.leveldb.impl.DbImpl.put(DbImpl.java:649)
at org.iq80.leveldb.impl.DbImpl.put(DbImpl.java:642)
at com.locoslab.library.osm.importer.LevelSink.process(LevelSink.java:151)
at crosby.binary.osmosis.OsmosisBinaryParser.parseDense(OsmosisBinaryParser.java:138)
at org.openstreetmap.osmosis.osmbinary.BinaryParser.parse(BinaryParser.java:124)
at org.openstreetmap.osmosis.osmbinary.BinaryParser.handleBlock(BinaryParser.java:68)
at org.openstreetmap.osmosis.osmbinary.file.FileBlock.process(FileBlock.java:135)
at org.openstreetmap.osmosis.osmbinary.file.BlockInputStream.process(BlockInputStream.java:34)
at crosby.binary.osmosis.OsmosisReader.run(OsmosisReader.java:45)
at com.locoslab.library.osm.importer.App.main(App.java:27)
Caused by: java.lang.NullPointerException
at org.iq80.leveldb.impl.Compaction.totalFileSize(Compaction.java:129)
at org.iq80.leveldb.impl.Compaction.isTrivialMove(Compaction.java:122)
at org.iq80.leveldb.impl.DbImpl.backgroundCompaction(DbImpl.java:480)
at org.iq80.leveldb.impl.DbImpl.backgroundCall(DbImpl.java:436)
at org.iq80.leveldb.impl.DbImpl.access$100(DbImpl.java:85)
at org.iq80.leveldb.impl.DbImpl$2.call(DbImpl.java:404)
at org.iq80.leveldb.impl.DbImpl$2.call(DbImpl.java:398)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
It seems to be caused by some limitation that has to do with the size of the db. I am unsure whether it is the number of files or the size of the db itself. Furthermore, it seems quite possible that it is some limitation of the JVM that I am using.
Yet, I am sure that it has nothing to do with the number of entries. In my first test, I was able to store 2.8 billion entires. After using a more compact data representation, I was able to increase the number of entries to 3.8 billion. However, when the db reaches about 240GB, this exception is raised deterministically on my Windows 10 machine running OpenJDK11.
It is not a big problem for me, since I can easily partition my data to be stored in multiple level dbs.  I just wanted to bring it to your attention. Thank you for providing this great tool.

We at SenX operate DB for Warp 10 with sizes in multiple Tb with several
100s of billion entries, so I would not think it is a size limit.
On Fri, Feb 1, 2019, 18:46 Marcus Handte<EMAIL_ADDRESS>wrote:

While experimenting with using level db 0.10 to process some large
dataset, I ran across this exception:
Exception in thread "main"
org.iq80.leveldb.impl.DbImpl$BackgroundProcessingException:
java.lang.NullPointerException
at org.iq80.leveldb.impl.DbImpl.checkBackgroundException(DbImpl.java:421)
at org.iq80.leveldb.impl.DbImpl.writeInternal(DbImpl.java:683)
at org.iq80.leveldb.impl.DbImpl.put(DbImpl.java:649)
at org.iq80.leveldb.impl.DbImpl.put(DbImpl.java:642)
at com.locoslab.library.osm.importer.LevelSink.process(LevelSink.java:151)
at
crosby.binary.osmosis.OsmosisBinaryParser.parseDense(OsmosisBinaryParser.java:138)
at
org.openstreetmap.osmosis.osmbinary.BinaryParser.parse(BinaryParser.java:124)
at
org.openstreetmap.osmosis.osmbinary.BinaryParser.handleBlock(BinaryParser.java:68)
at
org.openstreetmap.osmosis.osmbinary.file.FileBlock.process(FileBlock.java:135)
at
org.openstreetmap.osmosis.osmbinary.file.BlockInputStream.process(BlockInputStream.java:34)
at crosby.binary.osmosis.OsmosisReader.run(OsmosisReader.java:45)
at com.locoslab.library.osm.importer.App.main(App.java:27)
Caused by: java.lang.NullPointerException
at org.iq80.leveldb.impl.Compaction.totalFileSize(Compaction.java:129)
at org.iq80.leveldb.impl.Compaction.isTrivialMove(Compaction.java:122)
at org.iq80.leveldb.impl.DbImpl.backgroundCompaction(DbImpl.java:480)
at org.iq80.leveldb.impl.DbImpl.backgroundCall(DbImpl.java:436)
at org.iq80.leveldb.impl.DbImpl.access$100(DbImpl.java:85)
at org.iq80.leveldb.impl.DbImpl$2.call(DbImpl.java:404)
at org.iq80.leveldb.impl.DbImpl$2.call(DbImpl.java:398)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
It seems to be caused by some limitation that has to do with the size of
the db. I am unsure whether it is the number of files or the size of the db
itself. Furthermore, it seems quite possible that it is some limitation of
the JVM that I am using.
Yet, I am sure that it has nothing to do with the number of entries. In my
first test, I was able to store 2.8 billion entires. After using a more
compact data representation, I was able to increase the number of entries
to 3.8 billion. However, when the db reaches about 240GB, this exception is
raised deterministically on my Windows 10 machine running OpenJDK11.
It is not a big problem for me, since I can easily partition my data to be
stored in multiple level dbs. I just wanted to bring it to your attention.
Thank you for providing this great tool.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dain/leveldb/issues/99, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOcMrFe_saGZxp6WPyXvZaRvhMDzbLcks5vJH2RgaJpZM4aex46
.

Thank you for the feedback. However, I just hit the issue again. This time at 100GB with 4billion entries. I'll try it on another machine.

Here is a trivial example that demonstrates the problem:
    public static void main(String[] args) throws Exception {
        Logger logger = Logger.getLogger(StressTest.class.getName());
        DB db = Iq80DBFactory.factory.open(new File("C:/leveldb/test"), new Options());
        Random random = new Random(0);
        long counter = 0;
        while (true) {
            if (counter % 10000000 == 0) logger.log(Level.INFO, "Processed " + counter);
            ByteArrayOutputStream bos = new ByteArrayOutputStream(8);
            DataOutputStream dos = new DataOutputStream(bos);
            dos.writeLong(counter);
            byte[] value = new byte[16];
            random.nextBytes(value);
            db.put(bos.toByteArray(), value);
            counter += 1;
        }
    }

When I use this together with this Maven dependency of leveldb:
		<dependency>
			<groupId>org.iq80.leveldb</groupId>
			<artifactId>leveldb</artifactId>
			<version>0.10</version>
		</dependency>

Between 4 and 4.01 billion entires, the exception is raised deterministically:
Feb. 02, 2019 11:50:05 NACHM. com.locoslab.library.osm.importer.StressTest main
INFO: Processed 0
Feb. 02, 2019 11:50:14 NACHM. com.locoslab.library.osm.importer.StressTest main
INFO: Processed 10000000
...
Feb. 03, 2019 2:45:19 VORM. com.locoslab.library.osm.importer.StressTest main
INFO: Processed<PHONE_NUMBER>
Feb. 03, 2019 2:46:11 VORM. com.locoslab.library.osm.importer.StressTest main
INFO: Processed<PHONE_NUMBER>
Exception in thread "main" org.iq80.leveldb.impl.DbImpl$BackgroundProcessingException: java.lang.NullPointerException
at org.iq80.leveldb.impl.DbImpl.checkBackgroundException(DbImpl.java:421)
at org.iq80.leveldb.impl.DbImpl.writeInternal(DbImpl.java:683)
at org.iq80.leveldb.impl.DbImpl.put(DbImpl.java:649)
at org.iq80.leveldb.impl.DbImpl.put(DbImpl.java:642)
at com.locoslab.library.osm.importer.StressTest.main(StressTest.java:29)
Caused by: java.lang.NullPointerException
at org.iq80.leveldb.impl.Compaction.totalFileSize(Compaction.java:129)
at org.iq80.leveldb.impl.Compaction.isTrivialMove(Compaction.java:122)
at org.iq80.leveldb.impl.DbImpl.backgroundCompaction(DbImpl.java:480)
at org.iq80.leveldb.impl.DbImpl.backgroundCall(DbImpl.java:436)
at org.iq80.leveldb.impl.DbImpl.access$100(DbImpl.java:85)
at org.iq80.leveldb.impl.DbImpl$2.call(DbImpl.java:404)
at org.iq80.leveldb.impl.DbImpl$2.call(DbImpl.java:398)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)

I haven't worked on this project in like 6 years, but this bug seems trivial to fix.  When compacting the root level, there are no grandparents, so the list is null (bad design to have a nullable list).  I put up a PR for this.   If it looks good, let me know, and I merge it and do a release.
I would recommend looking for a fork that is actively maintained.

was creating a fix at the sem time :). Different approche; by solving root cause. Grandparent collection should never be null. If you with I can create PR.

I only looked at the code for a couple of minute, but I saw that shouldStopBefore checks if it is null. I'm fine making a bigger change, but please be very confident :)

I am confident that It is correct and the null check is irrelevant after this fix. I'll remove it and submit a PR. Note: I am using a patched version for almost a year now without any issue.

I published a snapshot: leveldb-0.11-20190219.234422-1.jar.  Can you try it out and let me know if it works?

Sure, I will give it a try, but it will take 2 or 3 hours or so.

My artifactory does not find your snapshot, so I compiled the current master and ran my stress test. At the moment, my machine has written 6.85 billion entries (~185gb) without any issues. So it is way past the 4 billion entries that used to cause the NullPointerException. I think the problem is fixed. However, I'll keep the test running through the night and report back tomorrow moring.

As far as I can tell, it is working. I stopped the process when I ran out of disk space with more than 10 billion entries. Thank you once again for making this library freely available. It is simple to use and very fast.

@locosmac thanks for the verification.  I'll run the release now.

Excellent, thank you!


Add connectivity data to result set storage

Adds connectivity data to the ResultSet, as needed for #620
Closes #641

Could you reformat so standardize to spaces instead of tabs please?

Could you reformat so standardize to spaces instead of tabs please?

Sorry, I think it's formatted correctly now


error msg when launching decrypt.py

Hi,
I receive the following error msg when trying to decrypt:
python decrypt.py test/master.key test/hudson.util.Secret test/cred1.xml
Traceback (most recent call last):
File "decrypt.py", line 86, in
main()
File "decrypt.py", line 76, in main
p = base64.decodestring(bytes(password, 'utf-8'))
TypeError: str() takes at most 1 argument (2 given)
Any help would be very appreciated :)

The script is written in Python 3. :)  Try this:
python3 decrypt.py test/master.key test/hudson.util.Secret test/cred1.xml


az ssh vm usage is not correct

[Enter feedback here]
Command line options need to specify that --prefer-private-ip is mandatory for those VMs that do not have a public IP address associated with them.
If this is not specified, then the underlying code fails to extract a valid private IP and the az ssh command fails to connect
This is tracked in defect<PHONE_NUMBER>007532

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

ID: 29a90500-fe23-5ae5-caad-9b897ed5ac6c
Version Independent ID: 588d5bec-fcbe-75f9-5206-616746e61d5f
Content: az ssh
Content Source: latest/docs-ref-autogen/ssh.yml
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

route to service team


Update es.json

corrected misspelling
Please make sure you've read the pull request section of our code contribution guidelines.
When filling in a section please remove the help text and the above text.
Summary
[A brief description of what this pull request does.]
Ticket Link
[Please link the GitHub issue or Jira ticket this PR addresses.]
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[ ] Ran make check-style to check for style errors (required for all pull requests)
[ ] Ran make test to ensure unit and component tests passed
[ ] Added or updated unit tests (required for all new features)
[ ] Needs to be implemented in mobile (link to PR or User Story)
[ ] Has server changes (please link)
[ ] Has redux changes (please link)
[ ] Has UI changes
[x] Includes text changes and localization file (.../i18n/en.json) updates
[ ] Touches critical sections of the codebase (auth, posting, etc.)

Thanks @JohanRodas for the pull request!
Per the CONTRIBUTING.md file displayed when you created this pull request, we need to add you to the list of approved contributors for the Mattermost project.
Please help complete the Mattermost contribution license agreement?
This is a standard procedure for many open source projects. Your form should be processed within 24 hours and reviewers for your pull request will be able to proceed.
Please let us know if you have any questions.
We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.

Thank you @JohanRodas, appreciate your contribution!
Translations are actually managed in our Translation server at https://translate.mattermost.com. Would you be open to helping make the changes there?
You can search for the strings at https://translate.mattermost.com/es/mattermost/. Below is a sample screenshot of how to do so.

Hey @JohanRodas - I'll close the PR for now. If you have questions about our translations process, let us know. :)
/cc @enahum FYI on the proposed changes to Spanish translations.


Wrong capitalization on the description of the expression or

The description of or says as below.
Evaluates True if any parameter is true

Should true be True?
It is not clear whether the expressions and and or are case-sensitive or case-insensitive.
It's also not clear whether there are types such as string and boolean. If types exist, should it be boolean type?

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

ID: 77c58a78-a567-e99a-9eb7-62dddd1b90b6
Version Independent ID: 680a79bc-11de-39fc-43e3-e07dc762db18
Content: Expressions - Azure Pipelines
Content Source: docs/pipelines/process/expressions.md
Product: devops
Technology: devops-cicd-process
GitHub Login: @juliakm
Microsoft Alias: jukullam

This is the only lc "true" in the section about Functions.

I should have commented that the built-in function and says as below. Both 3rd and the last words True start from upper case T, which is not consistent with the description for the function or.
Evaluates to True if all parameters are True

@norihiro You're right and a fix is on the way. Everything is a technically a string for variables so there isn't a boolean type. If you need to have typed values, parameters have data types.


Fix "Website Response" dropdown on Popup

In the popup, there is a dropdown that says "Website response". This dropdown should say whether or not the .well-known is present but is currently blank no matter if it is present or not.
This was found in going through the checklist in #289 for Chrome.

The problem here is that our wellknown object was a global variable that can no longer function in mv3. We just need to find a way to get wellknown[tabId] to dataToPopup().

This has been resolved.


Drop python 2 support

We are already running python3 in production and python2 support is ending. We can drop the python2 compatibility layer (from isort for example), and also don't run python2 on Travis, instead start testing with python 3.7

I'm +1 on this. The corporate side is still Python 2, so that is the primary blocker currently, but I'm +1 on it after that.

Just linking to some tools that can help with the cleanup

https://github.com/asottile/pyupgrade

I'm a definite +1 on dropping support for Python2. Supporting both comes at a cost. I have a few notes:

Dropping support should involve a major rev (eg. v3.0.0).
We might want to drop dual Python support at a specific date (eg. January 1, 2019). I don't think this is super critical but for 3rd parties who take our code that might be nice.
I assume we'll discontinue use of six and future (we use both) and we'll slowly clean up code that uses them.

Agreed on lumping this into v3.0, moving discussion here to our on-going discussion on deprecation #4594

Nevermind, breaking out a discrete ticket! We'll address this at v3 at the end of the year.


defaultTimeRange doesn't work for non-predefined ranges

I am trying to set defaultTimeRange to 25 hours, but it doesn't work. It shows me 4 days instead.
24 hours works, so does 12. But 25 doesn't work, and neither do 23 or 13.
As far as I can tell it only seems to work for hours up to 12 and then for multiples of 12.
History explorer card version 1.0.50
HA Core version 2023.11.3
HA Supervisor 2023.11.3
HA OS 11.1
Frontend 20231030.2

That's by design. If a non-predefined range is requested, the card will snap to the next higher one.


[enhancement] Started item 3

I've set up the ground for the item 2 and 3.
I don't know how my start of item 2 compares to the other pull request: https://github.com/thelostt/ricing/pull/9

I think you missed item-xresources branch?


volume servers in multimaster setup

It is not possible to specify more than one master server to the volume server, so if the volume server is started with a master server that is down it will happily wait forever without trying the others, which is not really HA
it should be possible to specify multiple masters, e.g. like this
weed volume -mserver server1:port,server2: port
similar to the -peers option in weed master

The specified master server will tell the master list to the volume server.

@chrislusf if the specified master server is down (let's say failed to start), who is telling volume server about other masters?

exactly, please reopen, this is a real issue

@aivanise for now, you can use haproxy to load balance/failover masters and set volume servers to connect to it.

yeah, but then I need another HAProxy HA cluster as otherwise HAProxy becomes SPOF. Not exactly ideal having to support one cluster with another.

yeah, not ideal. It works for me as I need a HA haproxy for other services.

added in https://github.com/chrislusf/seaweedfs/commit/c546c309f10154688431433c031d62dc20edfc85


pytest: implement pytest_runtest_makereport to decouple exception handling from --tb argument value

And a minor improvement to error output.

Thanks for the PR! Do you have an example that can cause a different type of exception, just so I can verify?

It looks like it's to do with the traceback format configured, let me see if I can make a minimal reproducer.

Yep, that's it, adding a pytest.ini which changes the traceback output should reproduce the error I was seeing:
[pytest]
addopts=--tb=native

I've tested with all the --tb options: long and short work with current trunk, this PR adds support for native: native shows the error against the test def line, not the line of the assertion failure. Both line and no cause tracebacks either way.
Perhaps neotest-python should specify --tb long when it invokes pytest? (I think this PR is still worth landing: if people are reconfiguring --tb via a plugin or something, then the CLI specified setting might be ignored, resulting in the other data structures being returned.)

And I just pushed up a commit which fixes the line and no exceptions.

I spent a bit longer looking at this, and found a better solution which sidesteps the value of --tb entirely: I've just pushed that up.

(We could actually take this further and move the entire implementation into pytest_runtest_makereport: I'll let you review this code before proposing yet more changes!)

Very cool, thanks for all of this work!

(We could actually take this further and move the entire implementation into pytest_runtest_makereport: I'll let you review this code before proposing yet more changes!)

I'm curious to hear more, is the advantage of this just to remove the need for storing state between makereport and logreport or is there something else to it? I'd probably be interested in making the change (depending on complexity) for just that but want to make sure I understand as well

I've opened #29 with the switch of hook: I htink it's simpler than what I've done here, so I'm gonna close this out in favour of that. (We can always reopen!)


printf snippet is strange

Sorry I'm not sure if it's a coc-clangd issue yet
here is how it looks like while typing printf:

and hit enter:

is it a coc-snippet issue?

The snippet you selected is not from clangd.


Application Pool (Create or Update) with "No Managed Code" results in AppCmd 80070057

Setting .NET Version to the item "No Managed Code" produces appcmd error 80070057.  Viewing the actual command that gets run, you can see that the selection actually gets passed as /[name='"MyAppPoolName"'].managedRuntimeVersion:No Managed Code
instead of just a blank.
The work-around is to choose one of the other options (e.g. v4.0) and pass in an Additional AppCmd.exe Commands without any value, for example
set config /section:applicationPools /[name='MyAppPoolName'].managedRuntimeVersion:
Sorry, no time to fix and submit a pull request.  Hope this helps, though.

Reconfirming suspiscion, running the deploy with system.debu shows the following command is run (abbreviated) and the parameter for  : "C:\Windows\system32\inetsrv\appcmd.exe"  section:system.applicationHost/applicationPools /[name='"CrmWebApiTest"'].managedRuntimeVersion:No Managed Code .... etc
Sorry, no time to fix and submit pull request.

Issue is addressed it will be available in next release

Thanks, I tried the latest and it now works as expected.


Pinging with isReachable does not work on older APIs

This app currently uses inetAddress.isReachable to ping hosts, but this method behaves weirdly on older API levels, tested it on <=16. Another way of pinging should probably be implemented at least as a fallback.

Fixed by using /system/bin/ping.


Use update instead of update_all in the reserve_with_scope_using_optimized_mysql method.

Hello, I read the code in the reserve_with_scope_using_optimized_mysql method and found the following code.
https://github.com/collectiveidea/delayed_job_active_record/blob/d65b0f9900f5b0c78c341c7c0209c2d138d64ec5/lib/delayed/backend/active_record.rb#L148
We think that the return value of ready_scope.limit(1) is ActiveRecord::Relation and ActiveRecord::Relation has update method in addition to update_all method in Rails 3 and later.
In addition, the target record of ready_scope.limit(1) to be updated is only one record.
Therefore, we think you can use update instead of update_all.
Could you please tell me why you are using the update_all method?
Thank you.

update_all is a direct query method and intentional. update is an ActiveRecord compound operation with a lot of overhead we do not want.


Documenting a function which takes an Uri.Type

I'm trying to document a function which takes an Uri.
Normally, you'd use something like
shared MyConnector.Contents = Value.ReplaceType(MyConnector.Contents, type function (url as Uri.Type) as any);

to ascribe the type and get special handling of functions taking URIs from PowerBI.
But when I try to do
shared MyConnector.Contents = Value.ReplaceType(MyConnector.Contents, MyConnector.DocumentedFunction);
MyConnector.DocumentedFunction = type function (
    url as (type Uri.Type meta [
        Documentation.FieldCaption = "API endpoint",
        Documentation.FieldDescription = "The location of the API used to retrieve data")",
        Documentation.SampleValues = { "https://example.com/api/measures.json" }
    ]))
    as table;

I get syntax errors. If I try to use url as (Uri.Type meta [ (without the type) it works, but I lose PowerBI's special handling of functions taking URIs.
What should I do to keep the special handling of functions taking URIs and document my connector?

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

ID: 8a834875-02f7-683d-5845-618a5d02d888
Version Independent ID: 36b3e58d-e580-a9fd-4239-7d51b24fdeb6
Content: Adding function documentation
Content Source: powerquery-docs/HandlingDocumentation.md
Service: powerquery
GitHub Login: @cpopell
Microsoft Alias: gepopell

You need to replace type Uri.Type meta [...] to Uri.Type meta [...]
fnType = Type.ForFunction([
    Parameters = [
        server = Uri.Type meta [
            Documentation.FieldCaption = Extension.LoadString("ConnectionFormServerParameterCaption"),
            Documentation.SampleValues = {Extension.LoadString("ConnectionFormServerSampleValues")}
        ]
    ],
    ReturnType = type table
], 1),

Thats's something I've tried, as I wrote here:

If I try to use url as (Uri.Type meta [ (without the type) it works, but I lose PowerBI's special handling of functions taking URIs.

Or does Type.ForFunction not have this issue?

I tried it similar to your upper example and this one is working for me:
shared MyConnector.Contents = Value.ReplaceType(MyConnector.Connect, MyConnector.DocumentedFunction);
MyConnector.DocumentedFunction = type function (
    url as (Uri.Type meta [
        Documentation.FieldCaption = "API endpoint",
        Documentation.FieldDescription = "The location of the API used to retrieve data",
        Documentation.SampleValues = { "https://example.com/api/measures.json" }
    ]))
    as table;

shared MyConnector.Connect = (server) as table => ...

Note that in this line
shared MyConnector.Contents = Value.ReplaceType(MyConnector.Connect,

The first argument is not referencing itself anymore (MyConnector.Connect instead of MyConnector.Contents).

It works but we lose the special handling for credential storage as described here.

Bump

Please note in the sample you linked the function is GithubSample.Contents and then the first argument is Github.Contents.

Yes, that was just a mistake when I sent a minimum repro here... The original issue applies to my code, which doesn't have that mistake

Looks like I was mislead here. I forgot PowerBI saved my credentials so was thinking it called the API credential-less (which is possible with the API I'm interacting with). Wiping the saved credentials makes it behave as expected (ask the credentials when adding the connection)


Self signed certificate

This is a continuation of Issue #7 .
The problem seems to persist also in the latest master. Error prints are exactly the same as in #7 .
The gst-meet version is the same as in #7:  $gst-meet --version
gst-meet 0.2.2
Perhaps there is some new option that should be invoked in run-time or during build process for using self-signed certificates?
Which logging option should be enabled to further debug this issue ?
(E.g. wscat has "--no-check" runtime option and browsers optionally require adding an exception.)

Are you sure the error message is exactly the same? (invalid certificate: BadDER)
That would suggest rustls is still being used

Yes, I'm sure that the error message is the same.

Can you please confirm:

Which version of gst-meet you are using (if you checked it out from git, the exact git commit hash obtained by git rev-parse HEAD)
How you are building gst-meet (the exact command you are using)
The exact error message (please copy-paste it, don't paraphrase it)

Version:
$git rev-parse HEAD
6b33952074ce32250c7cea094637faf10758722a
Command:
$ cargo install --force gst-meet
Error message:
$ gst-meet -v --web-socket-url=wss://meet.iskratel.build/xmpp-websocket          --xmpp-domain=meet.iskratel.build          --room-name=qay1          --send-pipeline="autovideosrc ! queue ! videoconvert ! vp8enc buffer-size=1000 deadline=1 name=video
autoaudiosrc ! queue ! audioconvert ! audioresample ! opusenc name=audio"          --recv-pipeline-participant-template="opusdec name=audio ! autoaudiosink
vp8dec name=video ! videoconvert ! autovideosink"
Nov 22 15:58:40.721  INFO Connecting XMPP WebSocket to wss://meet.iskratel.build/xmpp-websocket
Nov 22 15:58:40.722 DEBUG No cached session for DNSNameRef("meet.iskratel.build")
Nov 22 15:58:40.722 DEBUG Not resuming any session
Nov 22 15:58:40.724 DEBUG Using ciphersuite TLS13_CHACHA20_POLY1305_SHA256
Nov 22 15:58:40.724 DEBUG Not resuming
Nov 22 15:58:40.724 DEBUG TLS1.3 encrypted extensions: [ServerNameAck]
Nov 22 15:58:40.724 DEBUG ALPN protocol is None
Nov 22 15:58:40.724  WARN Sending fatal alert DecodeError
Error: IO error: invalid certificate: BadDER
Caused by:
invalid certificate: BadDER
$

Thanks so much for the info.
There hasn't been a new release since I made the changes mentioned in the previous ticket, so rather than using cargo install, you'll have to run it like this:
git clone https://github.com/avstack/gst-meet.git
cd gst-meet
cargo run --release -- # add your gst-meet options here

I'll leave this ticket open for now as a reminder that I need to make a new release, just waiting for a couple more changes to land first.

Thank you for the hint. Now the error looks like that could be overridden, perhaps with some run-time option ?
(e.g. wscat has "--no-check" runtime option and browsers optionally require adding an exception.)
$ target/release/gst-meet -v --web-socket-url=wss://meet.iskratel.build/xmpp-websocket          --xmpp-domain=meet.iskratel.build          --room-name=qay1          --send-pipeline="autovideosrc ! queue ! videoconvert ! vp8enc buffer-size=1000 deadline=1 name=video
autoaudiosrc ! queue ! audioconvert ! audioresample ! opusenc name=audio"          --recv-pipeline-participant-template="opusdec name=audio ! autoaudiosink
vp8dec name=video ! videoconvert ! autovideosink"
Nov 24 13:00:05.280  INFO Connecting XMPP WebSocket to wss://meet.iskratel.build/xmpp-websocket
Error: failed to connect
Caused by:
0: failed to connect XMPP WebSocket
1: TLS error: native-tls error: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:../ssl/statem/statem_clnt.c:1913: (self signed certificate)
2: native-tls error: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:../ssl/statem/statem_clnt.c:1913: (self signed certificate)
3: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:../ssl/statem/statem_clnt.c:1913: (self signed certificate)
4: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:../ssl/statem/statem_clnt.c:1913:
$

You should be able to use a self-signed certificate now by both:

building with the tls-insecure feature (e.g. cargo build --features tls-insecure), and
passing --tls-insecure to gst-meet.


Anonymous consent breaking changes

Anonymous consents ticket: https://github.com/SAP/cloud-commerce-spartacus-storefront/issues/3800
Search the code base for the following comment: TODO(issue:4989) Anonymous consents

Breaking changes removed from RegisterComponent with #4237

Remove deprecated constructors in:

consent-management.component.ts
footer-navigation.component.ts

PR: https://github.com/SAP/spartacus/pull/7062


It completely breaks App in IE11 (using Light)

It'll throw a "SCRIPT1004: Expected ';' ". Very likely to be because of a FOR...IN loop https://stackoverflow.com/questions/55025430/script1004-expected-occuring-in-for-loop-ie-browser
Also, the Light package includes React 16... Why is that?
Thanks!

Im not sure where in the code there is a for-in. Can you please elaborate?
Also where do you see that react 16 is included? If you see package.json  react16||17 is a peer dependency so it is not included.
IE11 is not really high priority to support but if it’s an simple fix im open for a PR.

Are you using create-react-app? If so, see here for how to add support for ie11: https://stackoverflow.com/questions/55967048/how-do-i-support-ie-11-with-create-react-app-3-0
As for why react is included in the dist, I'm looking into that.

Unfortunately not, we have an "old" app from 2 years ago, built the regular way. Lottie unfortunately is the only breaking our solution on IE11. Not even the latest react 17.0.7 does :/

Oh I see. But does normal lottie-web without react-lottie-player work in IE11?

Good question. I saw that they are supposedly supporting it, but opening lottiefiles.com on IE11 shows no animations and some errors.

If you can make lottie-web work on IE11, but  reqct-lottie-player fails, then we can look into what’s causing it.


Missing output with clear then scroll

VSCode Version: 1.3.1
OS Version: OSX Yosemite 10.10.5

This could be a mismatch in opinion for the behavior of clear or Ctrl-L and scrolling (as I believe I've seen this behavior on a Linux Mint machine), but here's my problem:
Let's say I have a lot of output from a certain command in the integrated terminal (mine uses bash). If I enter clear or Ctrl-L, the terminal gets cleared, which is good! However, if I scroll up, a chunk of output from the verbose command is missing (seems directly related to the height of the terminal window).
What I expected: Using my default bash terminal on my Mac, the screen gets cleared, but if I scroll up, all the output is still there.
Steps to Reproduce:

Open the integrated terminal (I supply the -l option in settings.json in order to use my ~/.bash_profile)
Run a command with lengthy ouput (e.g. ruby -e 'puts "START";100.times { |n| puts "Line #{ n + 1 }" };puts "END"')
Enter clear
Scroll up

With the terminal occupying around 80% of my screen height, I only got output of that Ruby command to around line 50 (i.e. I never see "END" after clearing).
If this is just a matter of terminal opinion, it might be nice to have an option in settings.json to define the clear/scroll behavior.

Closing in favor of https://github.com/sourcelair/xterm.js/issues/106


⚠ Jenkins Plugins Artifactory has degraded performance

In 3ee427c, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1523 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 6629990 after 25 minutes.


Can't run basic-setup example

I am...
| -------------------------------------------------------------------------------------------------

Reporting a bug or issue

Expected behavior:
Run basic-setup example successfully.
Observed behavior:
I get this error:
TypeError: MSAttributedString.alloc().initWithAttributedString is not a function. (In 'MSAttributedString.alloc().initWithAttributedString(attribStr)', 'MSAttributedString.alloc().initWithAttributedString' is undefined)
line: 2813
sourceURL: /Users/lincolnmitchel/Documents/react-sketchapp-1.0.0-beta.5/examples/basic-setup/basic-setup.sketchplugin/Contents/Sketch/my-command.js
column: 72
stack: makeAttributedString@/Users/lincolnmitchel/Documents/react-sketchapp-1.0.0-beta.5/examples/basic-setup/basic-setup.sketchplugin/Contents/Sketch/my-command.js:2813:72
makeTextLayer@/Users/lincolnmitchel/Documents/react-sketchapp-1.0.0-beta.5/examples/basic-setup/basic-setup.sketchplugin/Contents/Sketch/my-command.js:15026:66
renderBackingLayers@/Users/lincolnmitchel/Documents/react-sketchapp-1.0.0-beta.5/examples/basic-setup/basic-setup.sketchplugin/Contents/Sketch/my-command.js:14977:44
flexToSketchJSON@/Users/lincolnmitchel/Documents/react-sketchapp-1.0.0-beta.5/examples/basic-setup/basic-setup.sketchplugin/Contents/Sketch/my-command.js:6061:51
map@[native code]
flexToSketchJSON@/Users/lincolnmitchel/Documents/react-sketchapp-1.0.0-beta.5/examples/basic-setup/basic-setup.sketchplugin/Contents/Sketch/my-command.js:6063:31
map@[native code]
flexToSketchJSON@/Users/lincolnmitchel/Documents/react-sketchapp-1.0.0-beta.5/examples/basic-setup/basic-setup.sketchplugin/Contents/Sketch/my-command.js:6063:31
renderToSketch@/Users/lincolnmitchel/Documents/react-sketchapp-1.0.0-beta.5/examples/basic-setup/basic-setup.sketchplugin/Contents/Sketch/my-command.js:4967:45
/Users/lincolnmitchel/Documents/react-sketchapp-1.0.0-beta.5/examples/basic-setup/basic-setup.sketchplugin/Contents/Sketch/my-command.js:7165:30
run@/Users/lincolnmitchel/Documents/react-sketchapp-1.0.0-beta.5/examples/basic-setup/basic-setup.sketchplugin/Contents/Sketch/my-command.js:18795:17
run@[native code]
How to reproduce:
Installed a clean version of react-sketch app and run Basic-Setup.
Versions:
SketchApp 48
skpm 1.0.10
npm 5.5.1
OS 10.12.6

@LincMitch It looks like there is an issue with this working with Skecth 48. You can download Sketch 47 here if you want to get up and going with it until a fix is applied.

Thx @dericgw. With Sketch 47 it works fine.

I'm using sketch 47.1. When I run npm run render, I got:
🖨  Copied src/manifest.json in 12ms
TypeError: null is not an object (evaluating 'context.document.currentPage')
line: 14644
column: 114
🔩  Built ./my-command.js in 2224ms

Please help.


f-string highlight

The f-string is showed as a normal string. It's not easy to read.

highlight the variable and format in the f-string
Version: 1.53.2
Commit: 622cb03f7e070a9670c94bae1a45d78d7181fbd4
Date: 2021-02-11T11:48:44.518Z
Electron: 11.2.1
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.4.0-65-generic

We don't control syntax highlighting for Python files. That comes from either VS Code which gets it from MagicPython or semantic colouring from Pylance. It's best to open an issue on one of those two repositories.


[BSP] buildTarget/javacOptions not found

Hello, my issue is similar to #1024. It should be fixed in #1025 but the problem sill occurs in 0.9.4 on Windows 10.

Can you explain, how to reproduce this? Which BSP client? What steps?

Can you explain, how to reproduce this? Which BSP client? What steps?

I just run mill mill.bsp.BSP/Install, and created in my buildscript an empty main module in 2.13.4. When I import the project in idea using BSP, it hangs on javacOptions, so I tried using the Bloop contrib module and I got the same issue as mentionned in #1024

I just run mill mill.bsp.BSP/Install, and created in my buildscript an empty main module in 2.13.4. When I import the project in idea using BSP, it hangs on javacOptions, so I tried using the Bloop contrib module and I got the same issue as mentionned in #1024

Should be fixed in main as part of my refactoring #1536.
@Iltotore Can you verify it is fixed in main?

@lefou I checked it using the last main commit (e972e1). Your refactoring works fine using my old BSP mill.json configuration:
{
  "name": "mill-bsp",
  "argv": [
    "C:\\Users\\rapha\\scoop\\apps\\mill\\current\\mill.bat",
    "-i",
    "--disable-ticker",
    "--color",
    "false",
    "mill.bsp.BSP/start"
  ],
  "millVersion": "0.9.9",
  "bspVersion": "2.0.0",
  "languages": [
    "scala",
    "java"
  ]
}

But it doesn't using the new mill-bsp.json configuration generated using mill.bsp.BSP/install:
{
  "name": "mill-bsp",
  "argv": [
    "C:\\Users\\rapha\\scoop\\apps\\mill\\current\\mill.bat",
    "--bsp",
    "--disable-ticker",
    "--color",
    "false",
    "--jobs",
    "1"
  ],
  "millVersion": "0.10.0-M3-114-e972e1",
  "bspVersion": "2.0.0",
  "languages": [
    "scala",
    "java"
  ]
}

giving this error:
Exception in thread "Thread-2" java.lang.RuntimeException: java.io.IOException: WriteFile() failed: 233

	at mill.main.client.InputPumper.run(InputPumper.java:34)

	at java.lang.Thread.run(Thread.java:748)

Caused by: java.io.IOException: WriteFile() failed: 233

	at org.scalasbt.ipcsocket.Win32NamedPipeSocket$Win32NamedPipeSocketOutputStream.write(Win32NamedPipeSocket.java:198)

	at mill.main.client.InputPumper.run(InputPumper.java:28)

	... 1 more

Integesting. Thanks for checking!
This could be related to your "C:\\Users\\rapha\\scoop\\apps\\mill\\current\\mill.bat". Is this the mill-assembly but named as mill.bat or some other wrapper script? I probably forgot to adapt adapt the Windows-batch-script-part of our assembly to recognize the --bsp switch.

Yes, it's a Windows-bug in mill. I opened a PR: https://github.com/com-lihaoyi/mill/pull/1557

It now works like a charm.

Is this the mill-assembly but named as mill.bat or some other wrapper script?

You probably know the answer now but yes, it was the mill assembly generated by the ci/publish-local.sh script


In a Blazor Server app Provide user feedback when an unhandled exception happens on the server

In a Blazor Server app if an unhandled exception happens on the server there is no user feedback other than a generic error message in the browser console:
Error: There was an unhandled exception on the current circuit, so this circuit will be terminated. For more details turn on detailed exceptions in 'CircuitOptions.DetailedErrors'.

Typically if the app loses its connection with the server we display a default UI that lets the user know the connection was lost. If the server state is no longer available we tell the user to refresh the browser. Can we do something similar when an unhandled exception brings down the circuit? Can we provide a way to customize the UI when an unhandled exception happens?
When running in Development, the developer console should also provide the details about the exception instead of giving a generic error message.

@danroth27 Isn't this fixed? @ryanbrandenburg did a thing for this and detailed errors are turned on by default. Is there anything else here? if not please close :)

Actually, closing :)


nuget

can you make the nuget version include Pullrequest #11
such an awesome feature :)

fyi - i have myget generating builds off my develop branch which you can grab here in the interim
https://www.myget.org/F/neo4jclient-extension-tx/api/v2

perfect.  thank you.

Hey guys,
Latest build is up and pushed to nugget, sorry for taking a bit of time getting it up.
cheers

awesome - thanks

voting to close


ConnectionError for check_point.mgmt.cp_mgmt_access_layer_facts with RearOnly user rights

Hello,
we are getting error when collecting access_layer_facts (the same issue is for other *_facts modules):
TASK [Gather total number of access-layers objects] *************************************************************************************************************************************************************
task path: /home/vacmille/ansible/checkpoint-rights.yml:37
<inventory_hostname> attempting to start connection
<inventory_hostname> using connection plugin httpapi
<inventory_hostname> found existing local domain socket, using it!
<inventory_hostname> updating play_context for connection
<inventory_hostname>
<inventory_hostname> local domain socket path is /home/vacmille/.ansible/pc/5aec7a4b38
<inventory_hostname> ESTABLISH LOCAL CONNECTION FOR USER: vacmille
<inventory_hostname> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/vacmille/.ansible/tmp/ansible-local-24075FEWsGv `"&& mkdir "` echo /home/vacmille/.ansible/tmp/ansible-local-24075FEWsGv/ansible-tmp-1639991818.3-24130-44292744810870 `" && echo ansible-tmp-1639991818.3-24130-44292744810870="` echo /home/vacmille/.ansible/tmp/ansible-local-24075FEWsGv/ansible-tmp-1639991818.3-24130-44292744810870 `" ) && sleep 0'
Using module file /home/vacmille/ansible/collections/ansible_collections/check_point/mgmt/plugins/modules/cp_mgmt_access_layer_facts.py
<inventory_hostname> PUT /home/vacmille/.ansible/tmp/ansible-local-24075FEWsGv/tmpcsM640 TO /home/vacmille/.ansible/tmp/ansible-local-24075FEWsGv/ansible-tmp-1639991818.3-24130-44292744810870/AnsiballZ_cp_mgmt_access_layer_facts.py
<inventory_hostname> EXEC /bin/sh -c 'chmod u+x /home/vacmille/.ansible/tmp/ansible-local-24075FEWsGv/ansible-tmp-1639991818.3-24130-44292744810870/ /home/vacmille/.ansible/tmp/ansible-local-24075FEWsGv/ansible-tmp-1639991818.3-24130-44292744810870/AnsiballZ_cp_mgmt_access_layer_facts.py && sleep 0'
<inventory_hostname> EXEC /bin/sh -c '/usr/bin/python /home/vacmille/.ansible/tmp/ansible-local-24075FEWsGv/ansible-tmp-1639991818.3-24130-44292744810870/AnsiballZ_cp_mgmt_access_layer_facts.py && sleep 0'
<inventory_hostname> EXEC /bin/sh -c 'rm -f -r /home/vacmille/.ansible/tmp/ansible-local-24075FEWsGv/ansible-tmp-1639991818.3-24130-44292744810870/ > /dev/null 2>&1 && sleep 0'
The full traceback is:
Traceback (most recent call last):
  File "/home/vacmille/.ansible/tmp/ansible-local-24075FEWsGv/ansible-tmp-1639991818.3-24130-44292744810870/AnsiballZ_cp_mgmt_access_layer_facts.py", line 102, in <module>
    _ansiballz_main()
  File "/home/vacmille/.ansible/tmp/ansible-local-24075FEWsGv/ansible-tmp-1639991818.3-24130-44292744810870/AnsiballZ_cp_mgmt_access_layer_facts.py", line 94, in _ansiballz_main
    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
  File "/home/vacmille/.ansible/tmp/ansible-local-24075FEWsGv/ansible-tmp-1639991818.3-24130-44292744810870/AnsiballZ_cp_mgmt_access_layer_facts.py", line 40, in invoke_module
    runpy.run_module(mod_name='ansible_collections.check_point.mgmt.plugins.modules.cp_mgmt_access_layer_facts', init_globals=None, run_name='__main__', alter_sys=True)
  File "/usr/lib64/python2.7/runpy.py", line 176, in run_module
    fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 82, in _run_module_code
    mod_name, mod_fname, mod_loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/tmp/ansible_check_point.mgmt.cp_mgmt_access_layer_facts_payload_da1nrW/ansible_check_point.mgmt.cp_mgmt_access_layer_facts_payload.zip/ansible_collections/check_point/mgmt/plugins/modules/cp_mgmt_access_layer_facts.py", line 126, in <module>
  File "/tmp/ansible_check_point.mgmt.cp_mgmt_access_layer_facts_payload_da1nrW/ansible_check_point.mgmt.cp_mgmt_access_layer_facts_payload.zip/ansible_collections/check_point/mgmt/plugins/modules/cp_mgmt_access_layer_facts.py", line 121, in main
  File "/tmp/ansible_check_point.mgmt.cp_mgmt_access_layer_facts_payload_da1nrW/ansible_check_point.mgmt.cp_mgmt_access_layer_facts_payload.zip/ansible_collections/check_point/mgmt/plugins/module_utils/checkpoint.py", line 240, in api_call_facts
  File "/tmp/ansible_check_point.mgmt.cp_mgmt_access_layer_facts_payload_da1nrW/ansible_check_point.mgmt.cp_mgmt_access_layer_facts_payload.zip/ansible_collections/check_point/mgmt/plugins/module_utils/checkpoint.py", line 191, in handle_call
  File "/tmp/ansible_check_point.mgmt.cp_mgmt_access_layer_facts_payload_da1nrW/ansible_check_point.mgmt.cp_mgmt_access_layer_facts_payload.zip/ansible_collections/check_point/mgmt/plugins/module_utils/checkpoint.py", line 65, in send_request
  File "/tmp/ansible_check_point.mgmt.cp_mgmt_access_layer_facts_payload_da1nrW/ansible_check_point.mgmt.cp_mgmt_access_layer_facts_payload.zip/ansible/module_utils/connection.py", line 185, in __rpc__
ansible.module_utils.connection.ConnectionError: Server returned response without token info during connection authentication: 400
fatal: [prgdca-sd-mds]: FAILED! => {
    "changed": false,
    "module_stderr": "Traceback (most recent call last):\n  File \"/home/vacmille/.ansible/tmp/ansible-local-24075FEWsGv/ansible-tmp-1639991818.3-24130-44292744810870/AnsiballZ_cp_mgmt_access_layer_facts.py\", line 102, in <module>\n    _ansiballz_main()\n  File \"/home/vacmille/.ansible/tmp/ansible-local-24075FEWsGv/ansible-tmp-1639991818.3-24130-44292744810870/AnsiballZ_cp_mgmt_access_layer_facts.py\", line 94, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n  File \"/home/vacmille/.ansible/tmp/ansible-local-24075FEWsGv/ansible-tmp-1639991818.3-24130-44292744810870/AnsiballZ_cp_mgmt_access_layer_facts.py\", line 40, in invoke_module\n    runpy.run_module(mod_name='ansible_collections.check_point.mgmt.plugins.modules.cp_mgmt_access_layer_facts', init_globals=None, run_name='__main__', alter_sys=True)\n  File \"/usr/lib64/python2.7/runpy.py\", line 176, in run_module\n    fname, loader, pkg_name)\n  File \"/usr/lib64/python2.7/runpy.py\", line 82, in _run_module_code\n    mod_name, mod_fname, mod_loader, pkg_name)\n  File \"/usr/lib64/python2.7/runpy.py\", line 72, in _run_code\n    exec code in run_globals\n  File \"/tmp/ansible_check_point.mgmt.cp_mgmt_access_layer_facts_payload_da1nrW/ansible_check_point.mgmt.cp_mgmt_access_layer_facts_payload.zip/ansible_collections/check_point/mgmt/plugins/modules/cp_mgmt_access_layer_facts.py\", line 126, in <module>\n  File \"/tmp/ansible_check_point.mgmt.cp_mgmt_access_layer_facts_payload_da1nrW/ansible_check_point.mgmt.cp_mgmt_access_layer_facts_payload.zip/ansible_collections/check_point/mgmt/plugins/modules/cp_mgmt_access_layer_facts.py\", line 121, in main\n  File \"/tmp/ansible_check_point.mgmt.cp_mgmt_access_layer_facts_payload_da1nrW/ansible_check_point.mgmt.cp_mgmt_access_layer_facts_payload.zip/ansible_collections/check_point/mgmt/plugins/module_utils/checkpoint.py\", line 240, in api_call_facts\n  File \"/tmp/ansible_check_point.mgmt.cp_mgmt_access_layer_facts_payload_da1nrW/ansible_check_point.mgmt.cp_mgmt_access_layer_facts_payload.zip/ansible_collections/check_point/mgmt/plugins/module_utils/checkpoint.py\", line 191, in handle_call\n  File \"/tmp/ansible_check_point.mgmt.cp_mgmt_access_layer_facts_payload_da1nrW/ansible_check_point.mgmt.cp_mgmt_access_layer_facts_payload.zip/ansible_collections/check_point/mgmt/plugins/module_utils/checkpoint.py\", line 65, in send_request\n  File \"/tmp/ansible_check_point.mgmt.cp_mgmt_access_layer_facts_payload_da1nrW/ansible_check_point.mgmt.cp_mgmt_access_layer_facts_payload.zip/ansible/module_utils/connection.py\", line 185, in __rpc__\nansible.module_utils.connection.ConnectionError: Server returned response without token info during connection authentication: 400\n",
    "module_stdout": "",
    "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
    "rc": 1
}

while running playbook with user that has Read-Only rights:
---
- name: Colect data from Checkpoint management
  hosts: check_point
  connection: httpapi
  gather_facts: no

  collections:
  - check_point.mgmt

  vars:
    ansible_checkpoint_domain: EMEA-DC

  tasks:
  - name: Print domain working on
    ansible.builtin.debug:
      msg: "{{ ansible_checkpoint_domain }}"
    when:
      - ansible_checkpoint_domain is defined

  - name: Gather total number of access-layers objects
    check_point.mgmt.cp_mgmt_access_layer_facts:
      details_level: uid
    register: access_layers_temp

The playbook is running when we add wright rights to user.
Read only rights has to be sufficient for fact gathering modules.
We verified the same functionality collecting data over API as documented at https://sc1.checkpoint.com/documents/latest/APIs/#web/show-access-layer~v1.8
and the API request using Read-Only user was processed correctly.
Thank you in advance for correcting this user authentication issue.
Kind regards,
Vaclav

Hi @vmi-cloud,
Thanks for reaching us.
We will fix this in the next version.
Thanks,
Shiran

Hi @chkp-shirango ,
Thank you for information. Looking forward for next version.
Kind regards,
Vaclav

hello @chkp-shirango
I would like to ask you, what is the resolution status? I do not see any link to code change that is resolving the issue with rights requirement.
Kind regards,
Vaclav


Create Jupyter Spring/Summer 2019 blog post without images

Removed images from https://github.com/mechmotum/mechmotum.github.io/pull/35.
After taking some time of learning git rebase (which is quite something), here's a new PR without the images. I emailed the images to you @moorepants.

This is in!


not accessing the same data for each admin

Hello there,
I am trying to have restricted admins that can have access to their own resources. I mean Teacher A can not see Teacher's B online course or vice versa meanwhile full admin can see both teachers resources to manage them. Is that possible to handle through adminBro (Role-Based Access Control) ?
I went through adminBro docs and found something like isAccessible. is that the one that I am looking for ?
Lastly, the admin panel is going to have too many teachers that can only access to their own resources and can not see others resources is it possible to automate that or I should set it up for each teacher separately?
thanks for any suggestions,

If you have any questions, the best place to ask for them is on slack
Issues should be kept for bugs
isAccessible can handle role based access control.
As for multi-tenancy, up to you to decide. Read about the pros and cons.

thanks a lot


Species to be visualized and could be selected for early warning system

As with @timadriaens ever discussed, we should not only visualize the key species for RIPARIAS, but also the species of EU concern. You can find the list here: https://github.com/trias-project/indicators/blob/master/data/input/eu_concern_species.tsv
It seems this list could be updated soon (~December) with 33 new species. We are going to update the file above as soon as this happens.

@niconoe: one species which should be added to the list and it is not present among RIPARIAS and EU concern lists is Reynoutria japonica (Japanese knotweed).

@damianooldoni @niconoe I think we should certainly also add the alert list species identified through action A1 as early warning of first records for those is important, I list them here

Plants
Crayfish

Crassula helmsii
Procambarus acutus

Petasites japonicus
Faxonius virilis

Zizania latifolia
Faxonius rusticus

Egeria densa
Faxonius immunis

Aponogeton distachyos
Cherax destructor

Cotula coronopifolia
Procambarus virginalis

Houttuynia cordata
Creaserinus fodiens

Saururus cernuus
Faxonius juvenilis

Pontederia cordata
Faxonius neglectus

Gunnera tinctoria
Cherax quadricarinatus

btw, Gunnera tinctoria and Procambarus virginalis are also on the Union List.

@timadriaens: right, I forgot indeed the list of species your team is preparing for action A.1.4! Thanks for reminding us.
So, the RIPARIAS key species and the alert list species should be for sure included. @timadriaens: would you include the speies of the Union lists and Reynoutria japonica as well? I would say yes, but I would like to hear your opinion about this.

Yes, why not, although the management of Reynoutria is currently mostly zero-management. However, if we include Reynoutria, we have to include all 3 species: japonica (2889173), x bohemica (4038485) and sachalinensis (2889088).

@damianooldoni: I'm revisiting this, I think many different things were said by different people at a different times on this topic :-)
I was therefore wondering if you could make a quick tour of the stakeholders again (if you think it's needed), and provide me a table / CSV file with all the species that should be included in the first version of the Early Alert system ? This table should have:

1 column with the species name to be shown
1 column with the the GBIF taxon ID
possibly: additional columns we should use to group species (see comment below)

the current system classify species on two axis:

taxonomic group: plant / crayfish
spread: Widespread and abundant species in the pilot river basins / Emerging species with a very restricted range in the pilot river basins / Species still absent from the pilot river basins

Could you also see if we should keep this classification (in that case, I'd need two more columns in the table) or if it should be adjusted. This is not visible in the user interface yet, but classifying them is useful to allow grouped selection in the interface (for example: "show me occurrences of all emergent crayfish species in Senne river basin" rather than manually selecting the species). What I'd like to know:

should we classify species (or just keep a flat list)
if so, are taxonomic group and spread the right categories or not

I think we that info, we could load more relevant species in the dev website and therefore make it more realistic before the end of the year.
Thanks a lot!

Here is the current state of the table, so you can start from that and edit as needed:

id
name
gbif_taxon_key
group
category

1
Elodea nuttallii
5329212
PL
W

2
Heracleum mantegazzianum
3034825
PL
W

3
Hydrocotyle ranunculoides
7978544
PL
W

4
Ludwigia grandiflora
5421039
PL
W

5
Impatiens glandulifera
2891770
PL
W

6
Myriophyllum aquaticum
5361785
PL
W

7
Orconectes limosus
2227000
CR
w

8
Pacifastacus leniusculus
2226990
CR
W

9
Lagarosiphon major
2865565
PL
E

10
Lysichiton americanus
2869311
PL
E

11
Myriophyllum heterophyllum
5361762
PL
E

12
Procambarus clarkii
2227300
CR
E

13
Cabomba caroliniana
2882443
PL
SA

14
Heracleum persicum
8000520
PL
SA

15
Heracleum sosnowskyi
3642949
PL
SA

16
Ludwigia peploides
5420991
PL
SA

17
Orconectes virilis
2227064
CR
SA

18
Procambarus fallax
8879526
CR
SA

Based on what has been discussed earlier in this issue, I propose the following.
Species
All species from:

LIFE RIPARIAS key species
RIPARIAS alert list species
List of Invasive Alien Species of Union concern

Grouping
Grouping/categories:

LIFE RIPARIAS key species
LIFE RIPARIAS alert list species
List of Invasive Alien Species of Union concern
Plants
Animals
Crayfishes
Vertebrates (chordata)

First three are project based. The last four are taxonomic based.
By adding crayfishes and vertebrates as two different grouping variables, we allow people to select all animals which are not crayfishes and viceversa.
@niconoe: where did you find info about the spread category? IMHO, the spread category can be not very clear for users within and outside the project.
Data structure
A flat table to make things easy! Each group/category is a variable.  Notice that there are some logical constraints you could add while reading this table: in this way, if there are errrors, the previous version of the table is used or, easier, no download is triggered for that night.
Another possible change, @niconoe is to merge the columns is_plant and is_animal to a character column called kingdom. But it would mix up the type of the grouping variables: in my example they are all booleans.
Constraints:

no empty values allowed in any column
all grouping variables (is_ prefix) are booleans
is_plant and is_animal are mutually exclusive ( is_plant != is_animal)
is_crayfish  and is_vertebrate are mutually exclusive (is_crayfish != is_vertebrate)

Notice these are all basic taxonomic constraints. Some project related constraints could be added too, but I think they could be changed during the project, so I would not add them. Example: is_key_species and is_alert_species are mutually exclusive: but maybe an alert list becomes important and is added as key species? Also, key species are all within the union list I think, but this could change even if it is unlikely, so I would avoid to add constraints on this as well.
@timadriaens, as invasive species expert and RIPARIAS member: do you give us the final GO on the species list and grouping?
@niconoe, as software development of this alert system: do you give us the final GO on the table structure and grouping?

after discussion with @damianooldoni and @bramdhondt we feel it is better for a first go to limit the scope to:

riparias target species
riparias alert list species

Thanks a lot @damianooldoni. It's good that we have a species list already, waiting for its confirmation by @timadriaens. A few questions about it:

is it only 12 species, or should the table be completed?
there are missing IDS for the last three rows

I'll try here to already answer your inline questions:

@niconoe: where did you find info about the spread category? IMHO, the spread category can be not very clear for users within and outside the project.

I think @SoVDH give that data to me at the time. Anyway, we can remove this classification if it's more confusing than helpful to users.

@niconoe: I suppose you will put such a table in the repo somewhere and you will read it at every night before triggering a download? Notice that there are some logical constraints you could add while reading this table: in this way, if there are errors, the previous version of the table is used or, easier, no download is triggered for that night.

No, the web app has a database table for species that acts like the single source of truth for that. This table can be very easily edited by any Admin user (I can give you access so you have a look), constraints are enforced immediately, ... So unless there's some requirements I didn't get yet, I don't see what would be the benefit to make the app dependent of some tabular data in a GitHub repo. (I can elaborate on the why if you want, just tell me!)

Another possible change, @niconoe is to merge the columns is_plant and is_animal to a character column called kingdom. But it would mix up the type of the grouping variables: in my example they are all booleans.

Thanks, that's indeed the possibility. Don't worry too much about the details of the table structure (type of columns, ...). If I have the full species list (with GBIF taxon key) and some explanations in plain English about what should be possible in terms of categories/grouping, that's already great and I'll figure out a table structure that deals with all the constrains we have (we want the code to stay simple and flexible, there are Django conventions, performance considerations, ...).
Have a great weekend!

Thanks @niconoe for your comment.

is it only 12 species, or should the table be completed?

Yes, that's just an example of the table format. I have just edited the table by adding dots as last row

there are missing IDS for the last three rows

No, just an error: I have just corrected it.
I will provide you the final table in the format above asap. I think on Monday.
Have a nice weekend you too.

Adding on https://github.com/riparias/early-warning-webapp/issues/6#issuecomment-991023005, during short meeting,@timadriaens, @bramdhondt and I decided to not add any category regarding emerging status at the moment to avoid any issue with organisations running their own established alert systems with such categories.

a quick check of that table for the crayfish because the taxonomy changed:
Orconectes limosus should be Faxonius limosus, so https://www.gbif.org/species/8909595
O. virilis should be Faxonius virilis, so https://www.gbif.org/species/8971201

From mail of @bramdhondt:
the alert list species in https://github.com/riparias/early-warning-webapp/issues/6#issuecomment-916741723 are quite outdated. The reference document for alert list is still in development. However, we can take these alert list species for early alert system version 1:

I worked on the existing species list gsheet (https://docs.google.com/spreadsheets/d/15f17hXE9ZyUxEe2xA0seKs0CSibgYJdkaWcnmVoI1yY/edit#gid=921617273) and I made three sheets:

the existing one has been renamed to key_species where I applied the taxonomic changes mentioned by @timadriaens in https://github.com/riparias/early-warning-webapp/issues/6#issuecomment-991105131.
a new sheet called alert list species containing the list of species as mentioned by @bramdhondt in https://github.com/riparias/early-warning-webapp/issues/6#issuecomment-992456532
an early alert species sheet containing the list of species to be used in the early alert system. @niconoe: this sheet is actually your reference sheet which should solve this issue.

Some notes:

@timadriaens, @bramdhondt: the crayfish Faxonius virilis is present in both lists (project key species, alert list species). I wonder if this is a mistake or not.
@timadriaens, @bramdhondt: could you please check that everything is right?
at the moment the cols  is_animal and is_crayfish are identical as we opted to look at the RIPARIAS species only. This could change in 2022 of course, so I left both columns.

Looking good, made a few tweeks:

typo Egeria densa
Creaserinus fodiens was removed from the alert list after updated risk assessment and replaced by Faxonius juvenilis, I updated that

ah, yes, F. virilis is not a target species but an alert list species, adjusted in sheet 1 and 3

Thanks @timadriaens. I opened the proposal to check the target species myself:

As you see @timadriaens: there are 6 species which are absent in pilot river basins: one of them is F. virilis (or Orconectes viriilis, synonym of the Faxonium one). So, it's possible to have target species in the alert list species, unless the target species list has been changed meanwhile?

if they are absent, they are alert list species, right, even if they are mentioned in the original project proposal. The reason they are there (and not considered anymore for the alert list exercise) is simply because they are Union List species. It's a bit of semantics. Does it really matter how they are coded for the system implementation?

The importance for the early alert system is about the groups in the taxonomic selection dropdown menu: @niconoe will creates "groups" i nthe data filtering (and in the alert making page) so that users can easily select such groups if they are interested in them (selecting species by species is of course still possible).
The groups are:

all plants
all animals/crayfishses
all LIFE RIPARIAS target species
all LIFE RIPARIAS alert species

OK, I'd say they are alert list species as they do not occur in the riparias project area but when detected will be rapid responsed

Thanks @timadriaens. So, we have 19 instead of 20 target species and we state that a species may not be present in both lists (target species and alert species lists). For me it's totally fine. Do you think should I contact Etienne about this as well to be sure nobody complaints about this in the early alert system version 1? Or if you want to contact him, you are welcome.

let's just move forward, this is a small detail. If the code needs to be adjusted later we can easily do it.

Happy to hear this! 🥳
@niconoe: I think we have done! You can find the information you need in the tab "species for early alert" of this gsheet: https://docs.google.com/spreadsheets/d/15f17hXE9ZyUxEe2xA0seKs0CSibgYJdkaWcnmVoI1yY/edit#gid=921617273
I propose, @niconoe the following:

close this issue once you have imported the list in the db
every further development around the list of species for early warning system will be discussed in a new issue and will ALWAYS refer to changes in the gsheet above

It seems that we were not the only ones struggling with the question of having a well defined list of species 😄 Xavier Vermeersch from BE had the same problem and this is a nice clear answer of Etienne:

agree with you we should stick as much as possible to what is described in the projet proposal and the grant agreement, which is a selection of EU-listed species and additional species from the alert list.
Amongst EU-listed species, it is indeed: (13 plants + 5 crayfish species) – (Faxonius limosus, Pacifastacus leniusculus and Elodea nuttalii) = 12 plants + 3 crayfish species
For alert-list species, it is: 10 additional plant species + 5 additional crayfish species (as described in the report that has just been finalised).
I hope  this could be agreed by everybody and provide more clarity. If we work like this, this is perfectly in line with what was proposed (no modification needed to NEEMO).

My proposal is therefore to refer to such list. I will update our internal gsheet.

I updated the species list in the spreadsheet based on the official list I got by RIPARIAS coordination (BE).

@damianooldoni: do we agree the current list of species on the development website is good enough for the first release? In that case, I suggest closing this issue.


aya: Fix is_perf_link_supported

This was mistakenly comparing the exit code of the syscall, which is always -1 and not the corresponding error-code. Added unit tests to ensure we don't regress.


Avatar must have object-cover by default

Summary
Avatar component is used for profile picture, which mostly have 1:1 aspect ratio. In case of user uploaded a picture with different aspect ratio, the component should handle it nicely. Instead of making the picture stretched/pressed, it should crop it. Luckily Tailwind has object-cover class for this.
reference
Basic example
Inside Avatar.svelte, add object-cover at the end of avatarClass

Can you add class="object-cover" to your Avatar component?

@shinokada yes

Thank you for reporting this issue. However, we haven't received any activity or updates on this matter for a significant period of time. Therefore, we are closing this issue due to inactivity.

This should absolutely be object-cover by default.


IsarError: MdbxError (80): Cannot decode error message

Steps to Reproduce
This is the only thing I have. The error message. I log the errors in the application and it showed:
IsarError: MdbxError (80): Cannot decode error message
Is there a place where I can lookup the errors based on code (80)?
I have no clue whats causing this since the app works fine on my machine. But not the clients machine.
Google searches returned no result for this exact message.
How I open my connection
import 'package:flutter/foundation.dart';
import 'package:isar/isar.dart';
import 'package:mala_front/models/address.dart';
import 'package:mala_front/models/patient.dart';
import 'package:mala_front/usecase/file/get_database_directory.dart';
import 'package:vit/vit.dart';

Isar? _isar;

Future<Isar> createDatabaseClient() async {
  if (_isar == null) {
    final dir = await getDatabaseDirectory();
    logInfo('Database directory: ${dir.path}');
    _isar = await Isar.open(
      [PatientSchema, AddressSchema],
      directory: dir.path,
      maxSizeMiB: 5,
      inspector: kDebugMode,
      compactOnLaunch: const CompactCondition(
        minRatio: 1.5,
      ),
    );
  }
  return _isar!;
}

Details

Platform: Windows 11.
Flutter version: 3.13.6
Isar version: 3.1.0

I removed "maxSizeMiB" value of 5 because the default value is away bigger (1024). It didn't make sense for me to leave it at just 5 MiB.
But that was NOT the cause of the issue. The issue persisted even after I made the changes above.
I then tried delete the old isar file, suspecting that the problem could be caused by some incompatibility across schema versions. I used:
await isar.close(
    deleteFromDisk: true,
  );

But this did not solve the either.
What DID solve was to connect remotely to the client machine and manually delete all the contents of the directory generated by getDatabaseDirectory.
Here is the implementation of said method:
import 'dart:io';

import 'package:path_provider/path_provider.dart';
import 'package:vit/vit.dart';

Future<Directory> getDatabaseDirectory() async {
  Future<Directory> getDir() async {
    if (Platform.isIOS || Platform.isMacOS) {
      var dir = await getLibraryDirectory();
      return dir;
    }
    if (Platform.isWindows) {
      var dir = await getApplicationSupportDirectory();
      return dir;
    }
    var dir = await getApplicationDocumentsDirectory();
    return dir;
  }

  var dir = await getDir();
  logInfo('Database directory: ${dir.path}');
  return dir;
}

So in the end, I ended up solving the issue, but I still don't know what exactly caused this.


Chore/JobStreet logo country

Add country options to JobStreet logo in order to see different tag line under logo for each countries

hmm why Indonesia logo dont have Indonesia word?

It's the same as what we have in https://www.jobstreet.co.id/


downscale

Is downsampling used here to increase the receptive field?

i do believe that is for the pure efficiency


"Merge Weights To: Parents/To Active" Is broken in all bones

When I press "parents or to active" my model keeps breaking all the bones and meshes of my avatar because probably there's something wrong with your script. Please fix the problem

This was a visual bug in Blender 2.80 and I added a workaround in cats 0.15.0


Millstone not collecting unused reads for contig assembly use

Can you describe how you figured this out?

The error in the celery logs indicated that it was trying to assemble 0 reads :(

Cool, wouldn't hurt if you could paste that error and anything relevant
looking above or below.
On Thu, May 26, 2016 at 4:28 PM mnapolitano89<EMAIL_ADDRESS>wrote:

The error in the celery logs indicated that it was trying to assemble 0
reads :(
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/churchlab/millstone/issues/668#issuecomment-221985076

my inability to know how to use vim makes me do this:
[0.000042] Reading read set file /home/ubuntu/millstone/genome_designer/conf/../temp_data/projects/6690444a/alignment_groups/1f263265/sample_alignments/212c2eef/assembly/1/Sequences;
[0.000049] 0 sequences found
[0.000050] 0 sequences in total.
[0.000061] Writing into roadmap file /home/ubuntu/millstone/genome_designer/conf/../temp_data/projects/6690444a/alignment_groups/1f263265/sample_alignments/212c2eef/assembly/1/Roadmaps...
[2016-05-26 16:32:50,647: WARNING/Worker-4] velvetg cmd:
[2016-05-26 16:32:50,647: WARNING/Worker-4] /home/ubuntu/millstone/genome_designer/conf/../tools/velvet/velvetg /home/ubuntu/millstone/genome_designer/conf/../temp_data/projects/6690444a/alignment_groups/1f263265/sample_alignments/212c2eef/assembly/1 -ins_length 284 -exp_cov 22.7934022229 -ins_length_sd 233 -cov_cutoff 5.69835055573 -min_contig_lgth 200 -read_trkg yes
[0.000000] Reading roadmap file /home/ubuntu/millstone/genome_designer/conf/../temp_data/projects/6690444a/alignment_groups/1f263265/sample_alignments/212c2eef/assembly/1/Roadmaps
[0.000171] Initial node count 0
[0.000171] Removed 0 null nodes
[0.000171] Concatenation over!
[0.000172] Removing reference contigs with coverage < 5.698351...
[0.000172] Concatenation...
[0.000173] Renumbering nodes
[0.000173] Initial node count 0
[0.000173] Removed 0 null nodes
[0.000174] Concatenation over!
[0.000184] Writing contigs into /home/ubuntu/millstone/genome_designer/conf/../temp_data/projects/6690444a/alignment_groups/1f263265/sample_alignments/212c2eef/assembly/1/contigs.fa...
[0.000194] Writing into stats file /home/ubuntu/millstone/genome_designer/conf/../temp_data/projects/6690444a/alignment_groups/1f263265/sample_alignments/212c2eef/assembly/1/stats.txt...
[0.000212] Writing into graph file /home/ubuntu/millstone/genome_designer/conf/../temp_data/projects/6690444a/alignment_groups/1f263265/sample_alignments/212c2eef/assembly/1/LastGraph...
[0.000237] EMPTY GRAPH
Final graph has 0 nodes and n50 of 0, max 0, total 0, using 0/0 reads
[2016-05-26 16:32:50,668: ERROR/MainProcess] Task genome_finish.assembly.generate_contigs[dc5d7eb8-d7e4-431b-b817-f75c6029548b] raised unexpected: IndexError('list index out of range',)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/celery/app/trace.py", line 240, in trace_task
R = retval = fun(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/celery/app/trace.py", line 438, in protected_call
return self.run(*args, **kwargs)
File "/home/ubuntu/millstone/genome_designer/genome_finish/celery_task_decorator.py", line 57, in wrapper
raise exc
IndexError: list index out of range
[2016-05-26 16:32:52,890: INFO/MainProc


New filter-creation table-driven code needs to handle Skiing/Snowboarding case

These have identical sub-activities, and we should be able to search on a sub-activity on either one.

Actually, it is the Snowboarding, Sliding, and Skiing case -- all three share the same sub-activity scheme.

I believe this now works, new unit tests added, tested to work on planetskier.net


Since the X is replaced with a real context value later.

Looks good, I will test once and merge. Thanks!

Tested, LGTM

@minsunny going to leave it to you resolve mike's issues in another PR.
Thanks.


Get Polymer to work with Phonegap

Made it work inside an iframe. This is currently in branch initial-draft.


Make it possible to distribute

Currently the distros, don't work, find a way to fix this

Works rn after I deleted numpy and made my own functions for it


OpenAPI SecuritySchemes

What's the correct way to have the securityscheme included in the generated swagger?

Currently, the security scheme section can be configured via OpenApiPluginConfiguration, take a look at the example module:
https://github.com/javalin/javalin-openapi/blob/4b8188a74650d62a8438edf3e9d3b7af0a2592cc/examples/javalin-gradle-kotlin/src/main/java/io/javalin/openapi/plugin/test/JavalinTest.java#L108-L125

Yes, this I understand.
But I think it should be reflected on the swagger JSON file and I believe
it's not.
Franck.
On Mon, 4 Sept 2023, 18:36 dzikoysk, @.***> wrote:

Currently, the security scheme section can be configured via
OpenApiPluginConfiguration, take a look at the example module:
https://github.com/javalin/javalin-openapi/blob/4b8188a74650d62a8438edf3e9d3b7af0a2592cc/examples/javalin-gradle-kotlin/src/main/java/io/javalin/openapi/plugin/test/JavalinTest.java#L108-L125
—
Reply to this email directly, view it on GitHub
https://github.com/javalin/javalin-openapi/issues/201#issuecomment-1705458540,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMPYYPV3EU6O6L2D7GEKRWDXYXYRDANCNFSM6AAAAAA4KMG5GY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Let's say for example,i use this code
.withSecurity(new SecurityComponentConfiguration()
.withSecurityScheme("OAuth2", new OAuth2
("This API uses OAuth 2 with the implicit grant flow.")
.withFlow(new ImplicitFlow("
https://api.example.com/oauth2/authorize")
.withScope("read_pets", "read your
pets")
.withScope("write_pets", "modify
pets in your account")
)
.withFlow(new ClientCredentials("
https://api.example.com/credentials/authorize"))
)
.withGlobalSecurity(new Security("OAuth2")
.withScope("write_pets")
.withScope("read_pets"))
));
then the swagger UI looks fine
[image: image.png]
but the swagger.json looks like this:
===================
{
"openapi" : "3.0.3",
"info" : {
"title" : "CAPIF Core Function",
"description" : "3GPP TS 29.222 V18.0.0 Common API Framework for
3GPP Northbound APIs",
"contact" : {
"name" : "Slicce",
"url" : "https://www.slicce.co/api-terms-of-service",
"email" : @.***"
},
"version" : "1.1.5"
},
"paths" : {
"/api-invovation-logs/v1/{aefId}/logs" : {
....
"security" : [ ]
}
}
=========================
and I was expecting something like this:
=========================
{
"openapi" : "3.0.3",
"info" : {
"title" : "CAPIF Core Function",
"description" : "3GPP TS 29.222 V18.0.0 Common API Framework for
3GPP Northbound APIs",
"contact" : {
"name" : "Slicce",
"url" : "https://www.slicce.co/api-terms-of-service",
"email" : @.***"
},
"version" : "1.1.5"
},
"security" [
{},

  {
    "oAuth2ClientCredentials": [
      "client_id"
    ]
  }

],
"paths" : {
"/api-invovation-logs/v1/{aefId}/logs" : {
....
I think some clients don't like the fact that the security section is
missing.
-Franck.
On Mon, Sep 4, 2023 at 6:45 PM dzikoysk @.***> wrote:

I think I need more information, because the example works properly. When
you'll visit the OpenApi scheme, the following properties are added to the
scheme & Swagger UI picks them up.
Could you provide an example with highlighted difference between generated
scheme and expected result?
—
Reply to this email directly, view it on GitHub
https://github.com/javalin/javalin-openapi/issues/201#issuecomment-1705468176,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMPYYPRWBQ2QZTVMCTCWMDDXYXZQVANCNFSM6AAAAAA4KMG5GY
.
You are receiving this because you authored the thread.Message ID:
@.***>

The code you gave:
.withSecurity(new SecurityComponentConfiguration()
  .withSecurityScheme("OAuth2", new OAuth2("This API uses OAuth 2 with the implicit grant flow.")
      .withFlow(new ImplicitFlow("https://api.example.com/oauth2/authorize")
      .withScope("read_pets", "read your pets")
      .withScope("write_pets", "modify pets in your account")
  )
  .withFlow(new ClientCredentials("https://api.example.com/credentials/authorize"))
)
.withGlobalSecurity(new Security("OAuth2")
  .withScope("write_pets")
  .withScope("read_pets"))
)

Produces valid scheme:

Make sure that you use the latest version of OpenAPI plugin & annotation processor runs on updated sources (clean package / clean build)

I use version 5.6.2-2
and I get an empty security object after clean + package
On Tue, Sep 5, 2023 at 12:17 AM dzikoysk @.***> wrote:

The code you gave:
.withSecurity(new SecurityComponentConfiguration()
.withSecurityScheme("OAuth2", new OAuth2("This API uses OAuth 2 with the implicit grant flow.")
.withFlow(new ImplicitFlow("https://api.example.com/oauth2/authorize")
.withScope("read_pets", "read your pets")
.withScope("write_pets", "modify pets in your account")
)
.withFlow(new ClientCredentials("https://api.example.com/credentials/authorize"))
)
.withGlobalSecurity(new Security("OAuth2")
.withScope("write_pets")
.withScope("read_pets"))
)
Produces valid scheme:
[image: obraz]
https://user-images.githubusercontent.com/4235722/265541578-52f4c5d7-2806-4c86-a01a-aabdcec3587d.png
Make sure that you use the latest version of OpenAPI plugin & annotation
processor runs on updated sources (clean package / clean build)
—
Reply to this email directly, view it on GitHub
https://github.com/javalin/javalin-openapi/issues/201#issuecomment-1705705562,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMPYYPX5MMDQWKYDQ43GQ43XYZAOVANCNFSM6AAAAAA4KMG5GY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Could you prepare a small example repository that I can clone & run to reproduce your issue?

I understand, i am just missing the security fields in the controller class
annotations
I found this example
security = {
@OpenApiSecurity(name = "BasicAuth")
}
is there a doc for oAuth2.0 specific annotations?
-Franck.
On Tue, Sep 5, 2023 at 2:36 PM dzikoysk @.***> wrote:

Could you prepare a small example repository that I can clone & run to
reproduce your issue?
—
Reply to this email directly, view it on GitHub
https://github.com/javalin/javalin-openapi/issues/201#issuecomment-1706450996,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMPYYPSXA4ZZ637LFCKFKTDXY4FCRANCNFSM6AAAAAA4KMG5GY
.
You are receiving this because you authored the thread.Message ID:
@.***>

For configuration:

https://github.com/javalin/javalin-openapi/blob/main/openapi-specification/src/main/kotlin/io/javalin/openapi/Security.kt

For annotations:

https://github.com/javalin/javalin-openapi/blob/main/openapi-specification/src/main/kotlin/io/javalin/openapi/OpenApiAnnotations.kt#L154-L159

That's basically all we have, and it reflects 1:1 the OpenAPI specification, so that's the best source of truth there.


[Suggestion] Consider using lerna

Lerna is meant to make easy the maintenance and publishing of monorepo multipackage projects (like this one).
Not sure how you @kamilmysliwiec currently do releases, but probably this can help a lot.
It could go even smoother using Lerna Semantic Release. I haven't use this Lerna fork, but I do use Semantic release alone on TypeScript library starter and ShortcutJS and releases are fully automated.

Hi @alexjoverm,
Yes, there is a big confusion with packages publishing :smiley: I have to consider it

There is really no need for a framework to manage the publishing of your framework. Lerna is a sledge hammer & far more cumbersome than anyone needs.
It takes 15 l.o.c to publish Angular, why would you need the extra complexity here?

Well the idea is to automate the releases as much as possible. In my libraries I'm happily using semantic release. Since this is a multipackage library, I know Lerna is meant to be used for that.
@d3viantOne can you point us to those 15LOC? Have any other suggestions?

Semantic release != Lerna
Angular executes a simple bash script which in turn iterates over all of it's child packages & publishes them.
Point being, there is no need for an abstraction layer when a simple script can accomplish the same thing without being dependent on yet another library.

Fair enough. Anyway, do you know where that angular script lives?

I made a PR to add lerna. @d3viant0ne the reason to have a lerna as a package is so we don’t need to write scripts. It makes the repo smaller as a whole and reduces conflicts. That is, why write and maintain scripts when Lerna Core team is already doing it?

I agree with @d3viant0ne here, can't find any reason why we need another tool.