Mean departures (OMG & OMA) per station or satellite

Hi,
It'd be good to have the possibility to plot an averaged values / profiles of OMG (fg_depart) and OMA (an_depart) over a certain period. See for example the file from the link below, which shows the plot for the case AMSUA radiance.
https://www.dropbox.com/s/5j6ndki3qt1ymgh/amsua_NOAA-18_stat.eps?dl=0

Please let me know if you have more questions before making the changes.
Thanks in advance,
Roger

I edited the comment above just to include the figure here directly

Very good. Thanks Paulo. BTW, both scores can be included in one plot, like the ones already existing in Obsmon.

Hi @roger-randria ,
Could you try the code in the new/plot/avg-fg-dep branch and let me know if the plots correspond to what you expected?
To switch branches and update the code, you can do (in the obsmon directory):
git fetch
git checkout new/plot/avg-fg-dep
./install

Let me know how it goes. Thanks :)

Thanks. I think it doesn't work.

lol
That's not the plot I implemented (btw, this one looks like that because there are too many levels selected).
The new plots are at the top of the plot list. They are called "Average First Guess and Analysis Bias/RMS" and "Average First Guess and Analysis Departure".

I'm trying other variables. Just in case it works for some of them...

No, but I mean test the new plots, not this one you tested right now. This timeseries plot you tested is something else, doesn't apply here.

Can we have short chat on Gmeet?

This works well :)

NO, one thing is missing. The selection of station. Here we have all stations involved. We would like also to monitor different stations/satellites instruments.

Ok, then it's another (extra) type of plot. I'll implement this as well and let you know once I'm finished.
Thanks for the feedback!

Sounds good. Thanks in advance.

Can you go to your obsmon directory, run
git pull origin base --rebase
and then test the new "Station Average First Guess and Analysis Departure" plot?
Let me know how it goes.

git pull origin master --rebase
From https://github.com/Hirlam/obsmon

branch            master     -> FETCH_HEAD
Current branch new/plot/avg-fg-dep is up to date.

But, I don't see this "Station Average First Guess and Analysis Departure"

You need to be in the new/plot/avg-fg-dep branch. Run
git checkout new/plot/avg-fg-dep'
and then the other commands and this should make the new plot available to you.

Very strange thing is happening ...

I think I know what may be happening. Could you send me some sample input databases? If possible, these that you used to produce this plot. Just so i can reproduce the issue and fix it quicker.

Get it from here: https://www.dropbox.com/s/xq6yegiqtb48tec/FroPaulo.tgz?dl=0

Hi @roger-randria ,
After inspecting your data, I see that the the code actually behaves the way it is expected to. What you see in your figure is a consequence of the existence of many levels located close together for the observation type you selected. If you zoom in, or if you inspect the data used for the plot, you'll see that the levels are not the same.
The large number of levels is due to the fact that the query is performed from the "usage" table in the data files. Only the "usage" table has information about specific stations, and whenever one needs to select individual stations, this table needs to be used. The data in that table, on the other hand, is less processed than the one in the "obsmon" table, and a marked difference is that the reported levels are not standardised as they are in the "obsmon" table.
I would suggest you select some specific, representative levels from the dropdown menu in this case.

I think it's problematic. It doesn't produce bias/RMS and only fg_depar or an_depar. I think "Average Total First-guess and Analysis Bias/RMS should be used as example because this works fine.
I can get only only lowest level when asking for "standard level only". This should make it as you suggested.

I'm not sure it is problematic. I would perhaps say it is not what you hoped, but the plot really shows what is available in the usage table in the data files.
There is, for instance, no RMS data in the usage tables. I can of course calculate RMS for the averages that the plot produces, but the averages are performed over DTGs & levels, and I'm not sure if this is what you are looking for.
I could also group levels in windows, to emulate what is in the obsmon data tables, but this would perhaps be a bit deceptive as the plot then would no longer show what appears in the data.
I'm somewhat reluctant to do a lot of processing in the data in Obsmon, as, so far, most processing has been performed in PrepObsmon, and most people expect the plots make in Obsmon to reflect the data produced by PrepObsmon. It's really just a concern about what each code is supposed to do, in order to avoid confusion in the interpretation of the data.

I've added a new "Standardise Levels in the Final Plot" switch to obsmon's UI now, so that users can optionally request that the non-standard levels be standardised (i.e., cast into the nearest reference levels) in cases such as the one we're dealing with here.
@roger-randria Could you test it? Same thing as before:
git checkout new/plot/avg-fg-dep
git pull origin new/plot/avg-fg-dep --rebase
./install

Hi @roger-randria ,
I've added some error bars in these plots as well (when applicable). Along with the other stuff I discussed above, I think this should accomplish what you wish to see.
I have now merged these changes into devel and deleted the new/plot/avg-fg-dep branch.
I'm also closing this issue since I think this is now done. Please feel free to reopen it should you see any problem I'm missing.

Hi Paulo,
First of all, thanks a lot for the update. I see you closed already this task, but I think it'd be good to have bias and standard deviation instead. Is that doable?
Roger

Sorry. I didn't pay attention to your last comment. I need to check it, but repeating the line above, I get the comment below:
git pull origin new/plot/avg-fg-dep --rebase
fatal: Couldn't find remote ref new/plot/avg-fg-dep

Hi @roger-randria ,
The error bars already indicate the range "average +/- stdDev" whenever it is applicable. There is also already a new plot called "Average First Guess and Analysis Bias/RMS".
I could reopen this ticket if you could give me a more precise description of what you really wish to see, based on the columns you have on the sqlite data files. Mind that, if you want to be able to filter data by station, you need to use the usage table from the databases. If you don't need to filter by station, then you may use the obsmon table.
It'd be nice if you could elaborate this more precisely in this way, to remove any ambiguity regarding the type of data you'd like to see plotted and the data that is available in the databases. Just let me know.
Cheers,
Paulo.

I understand and the error bars are indeed very informative. But, I found the attached issue, although most of the tested plots were OK like the other one. The fact that I have just few dataset made the plots a bit messy. So, Let's think about it. Maybe, an option with adding or not the error bars could make the system "more acceptable". The reason why I think can help is that error bars are meaningful with large enough dataset. What do you think?

There is actually an option to omit the error bars. You can click at the let-hand side of the labels ending with _sd and this will make the error bars disappear. If you want them back again, then you just need to click in the same place. That should do it.

As for the second plot: I don't really understand why the width of the error bar endings became so large in that case, but I can indeed reproduce the issue here. I'll look into this. Perhaps I'll open another ticket for this particular problem separately, as this is not really the main point of discussion in the preset ticket.

Wow, this is amazing. Thanks a lot.


Update README.md (enclose pubsub with services {})

enclose pubsub: gossibsub(... with services: {}

Thanks for spotting fixing this!


Error message is incorrect when the version of local azure function core tools  is too old

Plugin name and version
Archetypes: 1.17-SNAPSHOT
Maven Plugin for Azure Functions:  1.0.0-beta-8-SNAPSHOT

Expected behavior
[WARNING] Local Azure Functions Core Tools does not support extension auto-install, skip it in the package phase.
[WARNING] Local version of Azure Functions Core Tools (null) does not match the latest (2.0.3). Please update it for the best experience. See: https://aka.ms/azfunc-install

Actual behavior

Solved in #474


Add NetBox

Automated Network Analysis Identifies Core Pathways in Glioblastoma
https://doi.org/10.1371/journal.pone.0008918
The original implementation from http://sanderlab.org/tools/netbox.html is no longer available. In our pathway parameter advising repository we link to http://cbio.mskcc.org/wp-content/uploads/2012/10/netbox.tar.gz and note it has been replaced by the NetBoxR R package at https://www.bioconductor.org/packages/release/bioc/html/netboxr.html.

Notes about NetBoxR
https://github.com/mil2041/netboxr/tree/master

Require R 4.0, Bioconductor 3.12, created an environment for that
Required a lot of modifications on my environment and local machine to make it run
Long package downloading time = 1hr
Long running time > 30 min

What does it do?

network-based approach that combines prior knowledge with a network clustering algorithm
allows for the identification of functional modules
combining multiple data types, such as mutations and copy number alterations

Package and libraries needed for the method

R
Igraph
parallel

Input for the method

Sif file of network

Output of the method

still trying to get it run

We started digging through why netboxr isn't on Bioconductor 3.17. The Bioconductor error logs show the suggested cgdsr isn't available. That is a CRAN package that has been removed.
Bioconductor reports there is a ggtree release for 3.14, but Lisa had problems installing it.
Bioconductor has Docker images we could use as a possible base. They have a RELEASE_3_14. This is Debian Linux-based. If we need to install Java, we can try the apt-get example in the Cytoscape Dockerfile.

We were unable to install directly from Bioconductor so we tried installing from GitHub as per the readme. If we do continue down that path, we should use<EMAIL_ADDRESS>syntax to pin the installation to a specific comment, as described in the docs.
If that fails, then we do not have a way to install NetBoxR reliably and will need to post a GitHub issue asking for advice.


is NormalTangentMirrorTest rendered incorrect?

rendered by vk_gltf_renderer

model is taken from glTF-Sample-Assets
and reference render

same problem with NormalTangentTest

reference

Strong normal maps in ray tracing can produce visible artifacts, especially on flat surfaces, due to the fundamental differences between ray tracing and rasterization approaches.
When light hits a real curved surface (as shown in the top diagram), the rays bounce off naturally, following the physical shape. The challenge with normal maps on flat surfaces (bottom diagram) is that they tell the light to bounce as if it were hitting a curve. In ray tracing, this can cause reflected rays to intersect back into the surface itself - something that wouldn't happen in reality. These invalid self-intersections show up as black spots in the final render.
This issue is specific to ray tracing because it accurately simulates light paths and geometry intersections. Rasterization with cube maps handles things differently - instead of calculating actual ray bounces, it simply looks up colors from the environment map based on the normal direction. That's why normal-mapped reflections can look convincing in rasterized renders, even though they're physically inaccurate.
While rasterizing with strong normal maps produces nice visual results, creating the same look with raytracing remains a challenge due to its physical base. This illustrates the common trade-off between physical accuracy and artistic control in different rendering approaches.


Byron: test voting by rogue node

The current tests for the voting procedure are "ideal case" (#1514). We should ideally test what happens if one of the core nodes gets compromised and tries to thwart voting attempts.
Marking this as low priority however since this has a very low probability (rogue nodes will become more important when we start lowering the decentralization parameter in Shelley).

Could this be an issue when a node syncs from scratch and receives blocks from such a rouge node? If not, we might be able to close this one.


Add -y option to the update command

Fixes https://github.com/wildfly-extras/prospero/issues/28.

This breaks UpdateCommandTest - I think just mock expectations need to be changed

Should be fixed now.


Question: how to use the android-native-Implementation instead of the "android"-Implementation?

As described in the README, one can use react-native-sqlite-storage as follows:
MainApplication.java:
import org.pgsqlite.SQLitePluginPackage;

public class MainApplication extends Application implements ReactApplication {
  ......

  /**
   * A list of packages used by the app. If the app uses additional views
   * or modules besides the default ones, add more packages here.
   */
    @Override
    protected List<ReactPackage> getPackages() {
      return Arrays.<ReactPackage>asList(
        new SQLitePluginPackage(),   // register SQLite Plugin here
        new MainReactPackage());
    }
}

But when i try to switch to the android-native-Implementation with "io.liteglue.SQLitePluginPackage", it won't compile because of a error: package io.liteglue does not exist

.../MainApplication.java:15: error: package io.liteglue does not exist
import io.liteglue.SQLitePluginPackage;
^
.../MainApplication.java:65: error: cannot find symbol
new SQLitePluginPackage(),
^
symbol: class SQLitePluginPackage
2 errors

What I did was simply to change the import line to the liteglue-implementation:
import io.liteglue.SQLitePluginPackage;;

public class MainApplication extends Application implements ReactApplication {
    @Override
    protected List<ReactPackage> getPackages() {
      return Arrays.<ReactPackage>asList(
        new SQLitePluginPackage(),   // register SQLite Plugin here
        new MainReactPackage());
    }
}

It seems that more things are necessary ...
How to do that correctly?

you need to open android-native project instead of android.

in android/settings.gradle
include ':react-native-sqlite-storage'
project(':react-native-sqlite-storage').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-sqlite-storage/src/android-native')

is this before or after ?

You replace the sqlite-storage lines with this, instead of android you just have android-native, the rest is the same. In settings.gradle there should only be these two lines of sqlite-storage.

yes, as in README. You replace android with android-native - that is what you are supposed to do to make it work.

Apologies for resurrecting such an old thread, but as these steps have been completely removed from the README, can we assume that the android-native implementation is deprecated?

   import org.pgsqlite.SQLitePluginPackage;
    @Override
    protected List<ReactPackage> getPackages() {
      return Arrays.<ReactPackage>asList(
        new SQLitePluginPackage(),   // register SQLite Plugin here
        new MainReactPackage());
    }


[DOC] RAPIDS 22.04 Release Blog Outline

Provide bullet point list of major user facing changes to Sophie Watson by the end of **burn down**

blog updates added, closing issue


force h264 codec on ffmpeg

There was a recent video that was AV1 codec. Need to make sure we are forcing h264

Also force stereo audio - 5.1 is not supported

@tzarebczan will attach a few examples

Here's a more recent example. These will not play video on FF. https://odysee.com/@CrackerMilk:6/movember:2

Both these failure cases should be fixed for future syncs


Feature Request - munki task duration stats

Maybe it's there already but I couldn't find it. A display of how long the last munki task took.

Found it

Actually - it would be useful to see it in the listing to public/show/listing/munkireport/munki


Remove "edit question" from pipe bend config menu

If user right clicks on a selected pipe bend, the configuration menu pops up and includes an "Edit Question" option.  This makes no sense since a pipe bend does not have a question.
This seems to have confused you ( see weird postings to closed issue #7 )  I will therefore remove the option .


Guards not Attacking

Guards will not attack any mob that isn't a zombie. I checked the config and the attackallmobs is set to true. I even deleted and retyped it to be sure. I don't know what to do.

Guards will not attack any mob that isn't a zombie. I checked the config and the attackallmobs is set to true. I even deleted and retyped it to be sure. I don't know what to do.

Try doing a search of maybe another mod causing this issue?

Guards will not attack any mob that isn't a zombie. I checked the config and the attackallmobs is set to true. I even deleted and retyped it to be sure. I don't know what to do.

Try doing a search of maybe another mod causing this issue?

What would I be searching for?
The only other

mods I run are these. Mostly just structure generation replacements, maps, libraries, and sodium.

Does no one have an answer for this?

Still nothing? Wow.

Maybe instead of commenting on here repeatedly, go to their discord and ask directly

They have a server for their mods

Having the same issue, I do not have any mods that could conflict with this one to cause such behavior, It appears to be an issue with the mod, I would recommend somebody tests this


⚠ Jenkins Plugins Artifactory has degraded performance

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

HTTP code: 200
Response time: 1196 ms

Resolved: Jenkins Plugins Artifactory performance has improved in a833a18 after 12 minutes.


Externalize configuration for Home Assistant

Congrats for this great solution! It works very good with my setup!
I'm running it now as a Home Assistant ( https://www.home-assistant.io/ ) addon. If you have that, you could check that out from here:
https://github.com/scaiandre/hassio-artnet-addon-repository
But to make this work, I need all the configuration, especially the entertainmentRoom and the lights setup, to reside in the configuration file.
Also, since it is running in its own Docker container, the solution needs to determine its own ip address to listen on.
Furthermore, since it is running in a static Docker container, there is no command line to run the solution from, I allowed the actual command to run ("run", "pair", etc.) to also be placed into the configuration file and added a command line option "from-config".
I made these changes in the attached pull request. I hope you find the changes meaningful enough to integrate.
In my Home Assistant solution I have switch on the wall, which now either starts the Add On running this solution and all DMX stuff (LightRider, Showtec NET-2 Artnet bridge). After that, all my various Hue lights attached to the configured Entertainment Room go into DMX mode. When I flick back the switch, everything is stopped again.
Works super nice! Thank you for your work!

Thanks for your effort! I will have a look at this over the weekend. Configuration was still one of the things which i didn't finish as i was not fully happy with the initial implementation of that part. This looks promising.
Nice that you mention running it as a Homeassistant add-on. I still plan on adding a feature that makes some kind of switch available in Homeassistant where you can enable/disable the Hue entertainment mode. So if you don't want to use artnet you can simply switch it off and revert to the normal lighting behavior. But when you run this application as a Homeassistant addon you can already automate this by stopping/starting the add-on.


How to include images?

How to include images/graphics ?

in the readme.md of the project ?
in the WIKI documents ?
in an arbitrary *.md" file of a project. E.g. /docs/install.md ?

It would be preferable if these images would be "local" to the repo and machine, since "private" repos should work on "intranet only" envs too.
I'm not that much interested in including *.jpeg files (or creating "websites" like github allows), but more augmenting the docs with SVG diagrams.

You can embed the image in the same place as the markdown file in the repository as below:
![New GitBucket logo](logo.png)

It's also possible in Wiki.

you can embed the image in the same place as the markdown file

Thank you :).
Is it possible to have them under a sub-directory (to keep some order) ? e.g. (images/logo.png) ?

It's also possible in Wiki.

but there's no way to upload images in the wiki area using the web UI right now, right? (unlike for issues)

Is it possible to have them under a sub-directory (to keep some order) ? e.g. (images/logo.png) ?

Yes.

but there's no way to upload images in the wiki area using the web UI right now, right? (unlike for issues)

Yes. GitHub does not have it. Clone Wiki repository and push images to embed them into Wiki pages.

Clone Wiki repository and push images to embed them to Wiki pages.

This might be worth mentioning in the WIKI.
Thank you.


check daily if hiscores "API" structure is correct, using a known-f2p player

Create a new rake task and schedule it to run once every weekday whether the API structure matches up with a player's known XP, levels, boss kill count, minigame score, etc.
 This account should ideally never gain xp/kill count so that we don't have to update the task with new values, and the account should be under our control. I believe I will commission "Agent Zhao" for this mission.

lul, I logged into Agent Zhao intending to go get obor/bryo/clue/lms and immediately felt burnt and logged out in less than 3 minutes

lul, I logged into Agent Zhao intending to go get obor/bryo/clue/lms and immediately felt burnt and logged out in less than 3 minutes


Migrate L1 composition to ASP service collection

We replace the global Castle Container with the service collection and improve MORYX integration in ASP
/cc @dbeuchler Thought this would interest you

Sounds good - thanks for info - if you want to have comments, feel free to let me know 👍

I might, when it comes to migrating/removing the logger management. You have more experience with that.


How to draw somthing in dreamview?

Hi,
I want to visualize some information when running Dreamview (like draw an arrow in front of the car).
Can you guys show me how to do that.
Thank you all.

Dreamview uses https://github.com/mrdoob/three.js as graphics library. You can modify the frontend code to draw an arrow using the corresponding API of the library. After that you need to run a ./apollo.sh build_fe to compile.

Closing this issue currently as it appears to be resolved.


fmridenoise.interfaces.bids.MissingFile: Key 'PipelineDescription.Name' is required in {dataset_desc_path} file

When I try to run fmridenoise I get the error below. I tried both using WSL and by building a docker image on windows with the dev code. The images have been preprocessed with fMRIprep, and the dataset_description.json in the fMRIprep folder has a non-empty field called 'Name'.

PS C:\Users\45027900\Downloads\fmridenoise-dev\fmridenoise-dev> docker run --rm -it -v D:\Andrea\fov\BIDS:/data fmridenoise compare /data --MultiProc
201218-13:39:09,989 nipype.workflow INFO:
[Node] Setting-up "BidsValidate" in "/tmp/tmpdqtll7w9/BidsValidate".
201218-13:39:09,993 nipype.workflow INFO:
[Node] Running "BidsValidate" ("fmridenoise.interfaces.bids.BIDSValidate")
201218-13:39:10,19 nipype.workflow WARNING:
Storing result file without outputs
201218-13:39:10,19 nipype.workflow WARNING:
[Node] Error on "BidsValidate" (/tmp/tmpdqtll7w9/BidsValidate)
Traceback (most recent call last):
File "/fmridenoise-src/fmridenoise/interfaces/bids.py", line 234, in validate_derivatives
scope.append(dataset_desc['PipelineDescription']['Name'])
KeyError: 'PipelineDescription'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/fmridenoise-src/fmridenoise/main.py", line 236, in
main()
File "/fmridenoise-src/fmridenoise/main.py", line 228, in main
compare(args)
File "/fmridenoise-src/fmridenoise/main.py", line 177, in compare
workflow = init_fmridenoise_wf(input_dir,
File "/fmridenoise-src/fmridenoise/workflows/base.py", line 455, in init_fmridenoise_wf
result = bids_validate.run()
File "/usr/local/lib/python3.8/dist-packages/nipype-1.6.0-py3.8.egg/nipype/pipeline/engine/nodes.py", line 516, in run
result = self._run_interface(execute=True)
File "/usr/local/lib/python3.8/dist-packages/nipype-1.6.0-py3.8.egg/nipype/pipeline/engine/nodes.py", line 635, in _run_interface
return self._run_command(execute)
File "/usr/local/lib/python3.8/dist-packages/nipype-1.6.0-py3.8.egg/nipype/pipeline/engine/nodes.py", line 741, in _run_command
result = self._interface.run(cwd=outdir)
File "/usr/local/lib/python3.8/dist-packages/nipype-1.6.0-py3.8.egg/nipype/interfaces/base/core.py", line 434, in run
runtime = self._run_interface(runtime)
File "/fmridenoise-src/fmridenoise/interfaces/bids.py", line 365, in _run_interface
derivatives, scope = BIDSValidate.validate_derivatives(
File "/fmridenoise-src/fmridenoise/interfaces/bids.py", line 239, in validate_derivatives
raise MissingFile(f"Key 'PipelineDescription.Name' is " +
fmridenoise.interfaces.bids.MissingFile: Key 'PipelineDescription.Name' is required in {dataset_desc_path} file

any advice on this?

For future reference: I solved the problem by formatting the fmriprep dataset_description.json to conform to earlier BIDS versions.
As suggested here for a similar issue, I changed

"GeneratedBy": [
{
"Name": "fMRIPrep",
"Version": "20.2.0rc0",
"CodeURL": "https://github.com/poldracklab/fmriprep/archive/20.2.0r
c0.tar.gz"
}
],

with

"PipelineDescription":      {
"Name": "fMRIPrep"
},

and this solved the issue.

Made changes that should assure compatibility with BIDSVersion > 1.3 and with older versions.

This is still not working properly:

File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/fmridenoise-src/fmridenoise/main.py", line 236, in
main()
File "/fmridenoise-src/fmridenoise/main.py", line 228, in main
compare(args)
File "/fmridenoise-src/fmridenoise/main.py", line 177, in compare
workflow = init_fmridenoise_wf(input_dir,
File "/fmridenoise-src/fmridenoise/workflows/base.py", line 455, in init_fmridenoise_wf
result = bids_validate.run()
File "/usr/local/lib/python3.8/dist-packages/nipype-1.6.0-py3.8.egg/nipype/pipeline/engine/nodes.py", line 516, in run
result = self._run_interface(execute=True)
File "/usr/local/lib/python3.8/dist-packages/nipype-1.6.0-py3.8.egg/nipype/pipeline/engine/nodes.py", line 635, in _run_interface
return self._run_command(execute)
File "/usr/local/lib/python3.8/dist-packages/nipype-1.6.0-py3.8.egg/nipype/pipeline/engine/nodes.py", line 741, in _run_command
result = self._interface.run(cwd=outdir)
File "/usr/local/lib/python3.8/dist-packages/nipype-1.6.0-py3.8.egg/nipype/interfaces/base/core.py", line 434, in run
runtime = self._run_interface(runtime)
File "/fmridenoise-src/fmridenoise/interfaces/bids.py", line 380, in _run_interface
derivatives, _ = BIDSValidate.validate_derivatives(
File "/fmridenoise-src/fmridenoise/interfaces/bids.py", line 255, in validate_derivatives
raise KeyError(f"Unable to extract Name from GeneratedBy: {pipeline} in file {dataset_desc_path}")
KeyError: 'Unable to extract Name from GeneratedBy: None in file /BIDS/derivatives/fmriprep/dataset_description.json'

/home/siegfriedwagner/virtual_enviroments/fmridenoise/bin/python -m fmridenoise compare /home/siegfriedwagner/Downloads/fmriprep_dummy/dummy -d fmriprep
201219-16:29:17,747 nipype.workflow INFO:
	 [Node] Setting-up "BidsValidate" in "/tmp/tmprm8sxop8/BidsValidate".
201219-16:29:17,749 nipype.workflow INFO:
	 [Node] Running "BidsValidate" ("fmridenoise.interfaces.bids.BIDSValidate")
201219-16:29:19,805 nipype.workflow WARNING:
	 Storing result file without outputs
201219-16:29:19,805 nipype.workflow WARNING:
	 [Node] Error on "BidsValidate" (/tmp/tmprm8sxop8/BidsValidate)
Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/siegfriedwagner/git/fmridenoise/fmridenoise/__main__.py", line 236, in <module>
    main()
  File "/home/siegfriedwagner/git/fmridenoise/fmridenoise/__main__.py", line 228, in main
    compare(args)
  File "/home/siegfriedwagner/git/fmridenoise/fmridenoise/__main__.py", line 177, in compare
    workflow = init_fmridenoise_wf(input_dir,
  File "/home/siegfriedwagner/git/fmridenoise/fmridenoise/workflows/base.py", line 455, in init_fmridenoise_wf
    result = bids_validate.run()
  File "/home/siegfriedwagner/virtual_enviroments/fmridenoise/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 516, in run
    result = self._run_interface(execute=True)
  File "/home/siegfriedwagner/virtual_enviroments/fmridenoise/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 635, in _run_interface
    return self._run_command(execute)
  File "/home/siegfriedwagner/virtual_enviroments/fmridenoise/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 741, in _run_command
    result = self._interface.run(cwd=outdir)
  File "/home/siegfriedwagner/virtual_enviroments/fmridenoise/lib/python3.8/site-packages/nipype/interfaces/base/core.py", line 434, in run
    runtime = self._run_interface(runtime)
  File "/home/siegfriedwagner/git/fmridenoise/fmridenoise/interfaces/bids.py", line 387, in _run_interface
    layout = BIDSLayout(
  File "/home/siegfriedwagner/virtual_enviroments/fmridenoise/lib/python3.8/site-packages/bids/layout/layout.py", line 161, in __init__
    self.add_derivatives(
  File "/home/siegfriedwagner/virtual_enviroments/fmridenoise/lib/python3.8/site-packages/bids/layout/layout.py", line 469, in add_derivatives
    deriv_paths = validate_derivative_paths(paths, self, **kwargs)
  File "/home/siegfriedwagner/virtual_enviroments/fmridenoise/lib/python3.8/site-packages/bids/layout/validation.py", line 138, in validate_derivative_paths
    raise BIDSDerivativesValidationError(
bids.exceptions.BIDSDerivativesValidationError: Every valid BIDS-derivatives dataset must have a PipelineDescription.Name field set inside 'dataset_description.json'.
Example: {'PipelineDescription': {'Name': 'Example pipeline'}}

Process finished with exit code 1

This problem is still present, but now not in our project but in a roots of pybids.
https://github.com/bids-standard/pybids/issues/640
For now I will recommend not using datasets in BIDS 1.4 standard because there are no tools to interact with it
Until this problem is resolved in pybids it will be hard to support latest BIDS standard


Logical operator ! is not supported

The README says that the logical operator '!' is supported. However, I always get an exception. Only the logical operator '!=' works.

Try pairing ! with (). !($var) and see if that works. I don't see ! as being tested correctly. Looks like an oversight.
I will see what is involved in a fix.

I tested ! with numbers and variables, and it works fine. Can you provide an expression that fails for you?

Sorry, my mistake. In my project I still use PHP 7.3 and that's why V2.1.11 was installed. I didn't realize that the logical operator ! was added with v2.3.2.

Not a problem. I added some tests since they were missing.


Obsolete 'RNA polymerase II transcription coactivator activity involved in preinitiation complex assembly'

Hello,
The term 'GO:0001128 RNA polymerase II transcription coactivator activity involved in preinitiation complex assembly' represents a mix of function and process. There are 9 annotations, some to general transcription factors, some to specific transcription factors, some to co-factors. Because of the inconsistencies in annotations, I propose to obsolete the term.
Impacted groups:
SGD (6 EXP) @srengel
AspGD (2 EXP) @marekskrzypek
FlyBase (2 EXP) @hattrill
Let me know if you have comments/suggestions.
Thanks, Pascale

Dear all,
The proposal has been made to obsolete GO:0001128 RNA polymerase II transcription coactivator activity involved in preinitiation complex assembly' The reason for obsoletion is that the term represents a mix of function and process and is not annotated consistently.
There are 10 EXP annotations by SGD (6EXP), AspGD (2 EXP) and FlyBase (2 EXP).
There are no mappings; these terms are not present in any slims.
Any comments can be  added to the issue: https://github.com/geneontology/go-ontology/issues/16733
We are opening a comment period for this proposed obsoletion. We’d like to proceed and obsolete this term on December 10th, 2018. Unless objections are received by December 10th, 2018.  we will assume that you agree to this change.
Thanks, Pascale

Changed ours to GTF activity.

late, but i have addressed the 6 SGD annotations.  we now have no more annotations to this term.

Thanks @srengel


Ordinal classification [wish list]

Ability to do ordinal classification would be great as no good implementation exists in Python (AFAIK). Training a regression model is a bit slippery on ordinal data (e.g. Amazon product reviews). Might be good for ranking tasks as well.

What is the difference between ordinal classification and ranking? I guess this could be readily implemented as a customized loss function, using some thing like pairwise logistic loss

Thanks. Also is the objective='rank:pairwise' implemented in the Python wrapper?

Actually, never mind, I think have to use XGBRegressor(objective="rank:pairwise") instead of classifier.
gbm = XGBRegressor(objective="rank:pairwise")

X =  np.random.normal(0, 1, 100).reshape(10, 10)
y = np.random.randint(0, 5, 10)
gbm.fit(X, y)

x = np.random.normal(0, 1, 100).reshape(10, 10)
gbm.predict(X)

# should be in order
print y[gbm.predict_proba(X)[:, 1].argsort()][::-1]


Importing CSV files in Simplified Chinese

Hi,
Am eager to use OpenRefine to clean text in Simplified Chinese but none of the common encodings listed seem to work on my CSV file as the characters still look garbled.
Can someone help? Thank you.

@Sterne5a can you share your CSV, or an excerpt of it?

test_CN_data.xlsx
Here's a sample of what I did the test with.

Thanks @Sterne5a can you confirm that you are starting with this XLSX file, rather than a CSV file?

Importing that XLSX file into OpenRefine 3.1 seems to work without any problems

Hi,
I'm using OpenRefine 3.2-beta. Unfortunately neither the CSV file nor the XLSX file were readable.

@Sterne5a for XLSX, it is a known bug that will be fixed in the final 3.2 version. Can you share the CSV that you are trying to import?

Hi,
@wetneb : I could not attach the CSV file to this message as the file format isn't supported by this forum. But here's the xlsx file. Any idea when the final 3.2 version will be fixed? Thanks.
test_CN_data.xlsx

Closing as non reproducible per the above.


Include host matching if possible when building URLs from mapped routes.

Resolves #488

Before I merge this, I want to make sure this doesn't cause all rules to be checked when host matching isn't enabled.


:callbacks → :callback for newer DiffEqBase versions

DiffEq complains about the way callbacks are passed to the solvers:
┌ Warning: Unrecognized keyword arguments found. Future versions will error.
│ The only allowed keyword arguments to `solve` are:
│ (:dense, :saveat, :save_idxs, :tstops, :tspan, :d_discontinuities, :save_everystep, :save_on, :save_start, :save_end, :initialize_save, :adaptive, :abstol, :reltol, :dt, :dtmax, :dtmin, :force_dtmin, :internalnorm, :controller, :gamma, :beta1, :beta2, :qmax, :qmin, :qsteady_min, :qsteady_max, :qoldinit, :failfactor, :calck, :alias_u0, :maxiters, :callback, :isoutofdomain, :unstable_check, :verbose, :merge_callbacks, :progress, :progress_steps, :progress_name, :progress_message, :timeseries_errors, :dense_errors, :weak_timeseries_errors, :weak_dense_errors, :wrap, :calculate_error, :initializealg, :alg, :save_noise, :delta, :seed, :alg_hints, :kwargshandle, :trajectories, :batch_size, :sensealg, :advance_to_tstop, :stop_at_next_tstop, :default_set, :second_time, :prob_choice, :alias_jump, :alias_noise, :batch, :nlsolve_kwargs, :odesolve_kwargs, :linsolve_kwargs)
│
│ See https://diffeq.sciml.ai/stable/basics/common_solver_opts/ for more details.
│
│ Set kwargshandle=KeywordArgError for an error message.
│ Set kwargshandle=KeywordArgSilent to ignore this message.
└ @ DiffEqBase ~/.julia/packages/DiffEqBase/s433k/src/solve.jl:1063

We might want to update this + change dependencies to avoid unforeseen behaviour in the future.

Let's have a look at this on Wednesday.


Do no re-raise the exception when it is an HTTP exception.

When there was a bad request or other http exceptions it wasn't returning the correct error message as you would have to read the response in the except block, which isn't very intuitive.

:+1:


Update the migration docs to remove instructions for versionless package references

Follow up to https://github.com/aspnet/Docs/pull/7540
I found one more reference to versionless packages. I've updated the migration guide to remove this recommendation, and also briefly mentioned the most common issues users have encountered so far.

Still not 100% on "It's difficult to use" ... feels like it needs a little something more concrete there.

Thanks for the language updates @guardrex. Changes LGTM.

Updated

I update the DotNetCliToolReference section

@natemcmaster Thank you for your help!

I'll get the samples done by EOD.

Question tho: With roll-forward behavior, you still want 2.1.1, or just 2.1.0 and let roll-forward bits do the rest?

If the 2.1.0 package didn't suffer from this issue, I would recommend that instead. I still recommend 2.1.1 as the baseline for the best user experience.

Ok, sounds good.


Feature request: Sweep funds from an OpenDime

https://opendime.com/
I would like the ability to use Sparrow Wallet to sweep funds from an OpenDime. According to the website FAQ, in order to sweep funds, the wallet used to sweep must support WIF-format private key import

Sparrow curretly has no private key sweep functionality. In sparrow wallet configurations are specified in the output descriptor. A single priv key has no output descriptor. I don't know whether sparrow could cleanly import a priv key.
I imagine a compromise could be a sweep feature accessible from the tools menu where a user can enter a privkey (WIF) and specify the address to be sent to (with an option to select an open wallet) similar to how the mix-to wallet feature works with whirlpool
Thoughts @craigraw ?

I imagine a compromise could be a sweep feature accessible from the tools menu where a user can enter a privkey (WIF) and specify the address to be sent to (with an option to select an open wallet) similar to how the mix-to wallet feature works with whirlpool

Yes, this is a good description of how it could be reasonably achieved. On the roadmap, seems like a useful feature.

Implemented in 9c3b647.


__api_endpoint can't handle params arity

method_call{method="/module/2/peg_out_fees"}: jsonrpsee_core::tracing: recv="{\"jsonrpc\":\"2.0\",\"id\":3,\"method\":\"/module/2/peg_out_fe
es\",\"params\":[[\"bcrt1qkhkzjqmh93y0hd98k3t0hwuvuswsshmltcud6d\",1200]]}"

As you can see, we always send exactly one argument, even though params is already an array.
We should clean it up - at least to make writing other clients and tooling later easier.

parms arity

typo? "params array"?

Arity is the number of arguments or operands taken by a function,

Not sure if I used it correctly though, but I thought I did. :)

ahh yea i forgot about the word "arity". that math degree really paying off 🤣

This got even trickier now that inside params we also include an auth token. So today we have something like:
{
    "jsonrpc": "2.0",
    "method": "somemethod",
    "params": [
        {
            "params": some_param_as_object_string_number_etc
            "auth": "somepassword"
        }
    ],
    "id": 1
}

A more sane approach perhaps would be:
{
    "jsonrpc": "2.0",
    "method": "somemethod",
    "params": {
        "api_params": [param1_as_object_string_number_etc, param2_as_object_string_number_etc, ...],
        "api_auth": "somepassword"
    },
    "id": 1
}

Would it be possible to pass auth as http headers? Then the whole connection would be authenticated, we wouldn't have to repeat them in every call.

Yeah... I think when doing jsonrpc to bitcoincore the auth is actually basic http auth passed in http headers. Putting auth into jsonrpc body is very weird to begin with.

@maan2003 Isn't this fixed already? Please re-open if not.


Results Stage1 KIT Dataset

Hi,
thank you for your work, I find it brilliant and really useful for future developments in this field!
Regarding the HumanML3D dataset, the results are easily replicable.
However when trying to train the model on the KIT dataset I am having trouble getting your results, similar to issue #44.

I changed as you rightly said in a previous issue (#13) some lines in the config ('humanml' -> 'kit'), leaving the field JOINT_TYPE: 'humanml3d' unchanged.
I have repeatedly checked that I have downloaded the correct dataset and dependencies.

In stage1, what happens is that the model seems not to learn to reconstruct joints and features.
Is it possible to have your checkpoint so I can check that indeed the dataset is not corrupted? Or if you have any other advice (hyperparameters, ...)
After 20k epochs I have:
FID: 26.7
R_precision_top_1: 0.199
AVE_mean_pose: 2145
AVE_mean_joints: 79551
In contrast, the metrics for GT are correct.
Looking forward to your reply!
Thanks,
Alessio
<EMAIL_ADDRESS>

@AlessioSam I have the same problem, have you solved it?

@weleen @AlessioSam Hi Weleen and AlessioSam, could you provide more details about this implementation?
The FID metric shows that this training is broken.
Is there anything about loss?

@ChenFengYe

This is my test results.


Clarify Instructions

Couldnt find install guides
Added:

How to view $profile
Header for the install guides, so users quickly scanning will see it

Thank you! @tadghh


Add mappings from imports, methods and annotations to support JUnit test conversions

This PR Closes #118 to enable the conversion of JUnit tests. This is done by converting the test annotations, imports and assert methods using a collection of mappings that are read from an optional external file.
The submitted PR includes two commits (please, tell me if you prefer to submit it as two separate sequential PRs):

Read mappings file (463d247cf5aa3d522297f76bcaee47451158ec23):
A new optional CLI option --mappings-file specifies the mappings file for imports, annotations and methods (either void or non void). Example:

ImportMappings:
  org.junit.Test : Xunit
  org.junit.Assert.assertEquals : ""
  org.junit.Assert.assertTrue : ""
VoidMethodMappings:
  assertEquals : Assert.Equal
  assertTrue : Assert.True
AnnotationMappings:
  Test : Fact

Apply mappings during the conversion (5c94f00fe888734c54b27b25c8d6ecf84903e4c1)

For example, this junit4 test:
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
public class MappingsTest {
  @Test
  public void testAsserts() {
    assertEquals("a", "a");
    assertTrue(true);
    va.assertTrue(true); // non void is not mapped
  }
}

is converted using the above mappings to:
using Xunit;

public class MappingsTest
{
  [Fact]
  public virtual void TestAsserts()
  {
    Assert.Equal("a", "a");
    Assert.True(true);
    va.AssertTrue(true); // non void is not mapped
  }
}

This looks great, thank you! Can you please include in your PR an update to the README with a new section on how to use this, as well as a possible example file like you started on to convert junit tests to Xunit? Thanks!

That is awesome, thanks! I love the idea of a custom mapping file, this will be great for projects with a lot of custom code that needs to be mapped. Glad the project helps!


[22.05] element-{web,desktop}: 1.11.5 -> 1.11.7

(cherry picked from commit 11ec6f92e77cfcd86981affe371255c8d2bb6a67)
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Can you please bump this to 1.11.8 instead? Element just released this since apparently 1.11.7 is insecure.

Waiting for #193362

Picked the 1.11.8 update.

lgtm, womm


Create "Language" rule

This rule must work as the same of Country rule, but using ISO 639 instead.

Created already on the Validation repository.


Count tables which do not have id column

counting all records rather then one would be slower, perhaps a better approach would be to have an optional second param of $column = 'id' have it default to id then if you want to use a different column you can pass that as a second param.
public function count($table, $column= 'id') {
        $stmt = $this->prepare("SELECT $column FROM $table");
        $stmt->execute();
        return $stmt->rowCount();
}


[cdk8s-cli] Error when importing enum values that start with a numeric character

Description of the bug:

For example, this is from postgressqlinstance.database.crossplane.io:
/**
 * EngineVersion specifies the desired PostgreSQL engine version. Allowed Versions: 9.6 and 11.
 *
 * @schema PostgreSqlInstanceSpecEngineVersion
 */
export enum PostgreSqlInstanceSpecEngineVersion {
  /** 9.6 */
  9_6 = "9.6",
  /** 11 */
  11 = "11",
}

Oouch....

This is :bug: Bug Report

As far as Typescript is concerned, isn't it better to just generate a type union?

engine: "9.5" | "11";

Another deficiency of enums (at least in Typescript) is the super long names that are auto-geneareted. For example
import {
  VerticalPodAutoscaler,
  VerticalPodAutoscalerSpecResourcePolicyContainerPoliciesControlledResources as res,
} from '../imports/autoscaling.k8s.io';

I have to rename the long type name to res so I can use res.CPU or res.MEMORY.
What do you think about changing the emitted code to use string litterals?

Now that I think of it, we can have it both. For the example of autoscaling:

/**
 * @schema VerticalPodAutoscalerSpecResourcePolicyContainerPoliciesControlledResources
 */
export enum VerticalPodAutoscalerSpecResourcePolicyContainerPoliciesControlledResources {
  /** cpu */
  CPU = "cpu",
  /** memory */
  MEMORY = "memory",
}

export interface VerticalPodAutoscalerSpecResourcePolicyContainerPolicies {

  /**
   * @schema VerticalPodAutoscalerSpecResourcePolicyContainerPolicies#controlledResources
   */
  readonly controlledResources?: (VerticalPodAutoscalerSpecResourcePolicyContainerPoliciesControlledResources | "cpu" | "memory")[];

}

@jvassev We try and avoid using type unions because they don't translate well to other languages. Since the type script generation is the base for other languages bindings, it would be tricky to special case it.
See https://aws.github.io/jsii/specification/2-type-system/#type-unions
Perhaps this can shift to a jsii feature request. But I can see this getting rather complex.


Nice messages for https errors

This is an initial proposal for the strategy on how to display nice error messages for HTTPS related errors
This is related to #5487

This PR brings the following messages:
Note: all files are identified as UNKNOWN.roc, I believe this is still a work in progress.
Note: the demo URL is hard-coded as https://hard-coded-url-for-demo but the errors below are independent from this URL

Problem::UnsupportedEncoding("application/json")
── UNSUPPORTED ENCODING ────────────────────────────────────────── UNKNOWN.roc ─

I was trying to download this URL:

    https://hard-coded-url-for-demo

But the server replied with a content encoding that I do not
understand (application/json).

The supported content encodings are br, gzip and deflate

Tip: Perhaps you can check if the URL is correctly formed, or if the
server is correctly configured.

Problem::MultipleEncodings("application/json, application/xml")
── MULTIPLE ENCODINGS ──────────────────────────────────────────── UNKNOWN.roc ─

I was trying to download this URL:

    https://hard-coded-url-for-demo

But the server replied with multiple content encodings:
application/json, application/xml.

The supported content encodings are br, gzip and deflate. However, the
server reply can only contain one.

Tip: Perhaps you can check if the URL is correctly formed, or if the
server is correctly configured.

Problem::InvalidContentHash { expected: "tExpectedmxmHwHih9kHWQ7fsXtJr7W7h3425-eZFk", actual: "tE4actualmxmHwHih9kHWQ7fsXtJr7W7h3425-eZFk" }
── INVALID CONTENT HASH ────────────────────────────────────────── UNKNOWN.roc ─

I was able to download this URL:

    https://hard-coded-url-for-demo

I use a mechanism to detect if the file might have been tampered with.
This could happen if the server or domain have been compromised.

This is the content signature I was expecting:

    tExpectedmxmHwHih9kHWQ7fsXtJr7W7h3425-eZFk

However, this is the content signature I obtained:

    tE4actualmxmHwHih9kHWQ7fsXtJr7W7h3425-eZFk

To keep you secure, I will not execute this untrusted code.

Tip: Check if the URL is correctly formed and if this is the server
you are expecting to connect to.

Problem::IoErr(io::Error::new(io::ErrorKind::Other, "oh no, an error!"))
── IO ERROR ────────────────────────────────────────────────────── UNKNOWN.roc ─

I was trying to download this URL:

    https://hard-coded-url-for-demo

But I encountered an IO (input/output) error:

    oh no, an error!

Problem::FsExtraErr(...)
I couldn't easily instantiate an fs_extra Error. The report output is the same as Problem::IoErr
Problem::HttpErr(...)
⚠ It seems like the reqwest errors are Opaque and cannot be instantiated by the user.

Problem::InvalidUrl(UrlProblem::InvalidExtensionSuffix(".zip"))
── INVALID EXTENSION SUFFIX ────────────────────────────────────── UNKNOWN.roc ─

I was trying to download this URL:

    https://hard-coded-url-for-demo.com

However, this file's extension (.zip) is not a supported extension.

The supported extensions are .tar, .tar.gz and .tar.br

Tip: Check that you have the correct URL for this package/platform.

Problem::InvalidUrl(UrlProblem::MissingTarExt)
── INVALID EXTENSION ───────────────────────────────────────────── UNKNOWN.roc ─

I was trying to download this URL:

    https://hard-coded-url-for-demo.com

However, this file's extension is not .tar.

The supported extensions are .tar, .tar.gz and .tar.br

Tip: Check that you have the correct URL for this package/platform.

Problem::InvalidUrl(UrlProblem::InvalidFragment("filename.exe")),
── INVALID FRAGMENT ────────────────────────────────────────────── UNKNOWN.roc ─

I was trying to download this URL:

    https://hard-coded-url-for-demo.com

However, this URL's fragment (the part after #) is not valid. When
present, the fragment must point to an existing .roc file inside the
package. Also, the filename can't be empty so a fragment of #.roc
would also not be valid. This is the problematic fragment I
encountered:

    filename.exe

Tip: Check that the fragment points to an existing .roc file inside
the package. You can download this package and inspect it locally.

Problem::InvalidUrl(UrlProblem::MissingHash)
── MISSING PACKAGE HASH ────────────────────────────────────────── UNKNOWN.roc ─

I was trying to download this URL:

    https://hard-coded-url-for-demo.com

I use a mechanism to detect if the file might have been tampered with.
This could happen if the server or domain have been compromised.

The way this works is that the name of the file is the cryptographic
hash of the contents of the file itself. If someone would tamper with
the file, I could notify and protect you. However, I could not find
the expected hash on the URL above, so I cannot apply this
tamper-check.

Tip: Check that you have the correct URL for this package/platform.
Here is an example of how such a hash looks like:
tE4xS_zLdmmxmHwHih9kHWQ7fsXtJr7W7h3425-eZFk

Problem::InvalidUrl(UrlProblem::MissingHttps)
── HTTPS MANDATORY ─────────────────────────────────────────────── UNKNOWN.roc ─

I was trying to download this URL:

    https://hard-coded-url-for-demo.com

For your security, I will only attempt to download files from servers
which use the https protocol.

Tip: Check that you have the correct URL for this package/platform.

Problem::InvalidUrl(UrlProblem::MisleadingCharacter)
── MISLEADING CHARACTERS DETECTED ──────────────────────────────── UNKNOWN.roc ─

I was trying to download this URL:

    https://hard-coded-url-for-demo.com

I have found one or more potentially misleading characters in this
URL. Misleading characters are characters that look like others but
aren't the same. The following characters are classified as
misleading: @, ⁄ (unicode 2044), ∕ (unicode 2215), ／ (unicode
FF0F) and ⧸ (unicode 29F8).

If you have a use-case for any of these characters we would like to
hear about it. Reach out on
https://github.com/roc-lang/roc/issues/5487

Tip: Check that you have the correct URL for this package/platform.

Problem::DownloadTooBig(123_456_789)
── FILE TOO LARGE ──────────────────────────────────────────────── UNKNOWN.roc ─

I was trying to download this URL:

    https://hard-coded-url-for-demo.com

But the server stated this file is 123456789 bytes in size. This is
larger that the maximum size I can handle (around 32 GB).

Tip: Check that you have the correct URL for this package/platform. If
you do, you should contact the package/platform's author and notify
them about this issue.

While doing some final tests for this PR I notice what when I run my cargo run dev ../hacking/5487/main.roc the code seems to have a slightly different execution path from what I was expecting, so I'll investigate that further to plug these nicer error messages also there. 😅

Managed to get the error messages also when downloading the packages, but the reflow logic doesn't seem to be collaborating. I'm struggling a bit with reflowing strings, due to my unfamiliarity with String versus &str in rust 😰

This is looking good @fdbeirao, feel free to ask for help on zulip for specific issues with reflowing or String vs &str.

I couldn't get long error messages to reflow. I think that this PR brings value on its own and that we can tackle proper reflowing of longer messages separately. So, if approved, let's merge this one 👍


My Anime List Connection Failed

I followed the steps on the wiki to connect to MAL. The authorization sub-attributes are filled in the config.yml file. But every time, it says connection failed in the log. Is there something that is wrong?
Also, for the wiki, there are references to trakt in the MAL page. Is that needed to use MAL?

if the attributes are filled in it should have worked are you running this inside of docker or a local installation
Also you dont need trakt at all for MAL. I've updated the wiki accordingly

I am using a local installation. I think it works at least somewhat, as I can match some series when building a collection.

can you post your log?

[2021-02-11 09:11:24,612] [util.py:618]               [INFO]     |====================================================================================================|
[2021-02-11 09:11:24,663] [config.py:122]             [INFO]     | Connecting to My Anime List...                                                                     |
[2021-02-11 09:11:25,630] [config.py:132]             [INFO]     | My Anime List Connection Failed                                                                    |
[2021-02-11 09:11:25,884] [util.py:575]               [DEBUG]    | Config Error: neither config/assets or the default path None could be found using None as default  |
[2021-02-11 09:11:25,886] [util.py:618]               [INFO]     |====================================================================================================|
[2021-02-11 09:11:29,224] [util.py:618]               [INFO]     |====================================================================================================|
[2021-02-11 09:11:29,224] [util.py:620]               [INFO]     |                                  Current Anime Season Collection                                   |
[2021-02-11 09:11:29,224] [util.py:621]               [INFO]     |====================================================================================================|
[2021-02-11 09:11:29,224] [config.py:421]             [INFO]     |                                                                                |
[2021-02-11 09:11:29,232] [config.py:503]             [INFO]     | Sync Mode: sync                                                                                |
[2021-02-11 09:11:29,233] [config.py:547]             [DEBUG]    | Method: mal_season                                                                                |
[2021-02-11 09:11:29,233] [config.py:548]             [DEBUG]    | Value: ordereddict([('sort_by', 'members'), ('limit', 50)])                                        |
[2021-02-11 09:11:29,233] [config.py:627]             [WARNING]  | Collection Warning: mal_season year attribute not found using 2021 as default                      |
[2021-02-11 09:11:29,233] [config.py:789]             [WARNING]  | Collection Error: mal_season season attribute not found using the current season: winter as default |
[2021-02-11 09:11:29,234] [config.py:547]             [DEBUG]    | Method: sync_mode                                                                                |
[2021-02-11 09:11:29,234] [config.py:548]             [DEBUG]    | Value: sync                                                                                |
[2021-02-11 09:11:29,235] [config.py:859]             [DEBUG]    | Method: mal_season                                                                                |
[2021-02-11 09:11:29,236] [config.py:860]             [DEBUG]    | Values: [{'sort_by': 'anime_num_list_users', 'season': 'winter', 'year': 2021, 'limit': 50}]       |
[2021-02-11 09:11:29,236] [config.py:863]             [DEBUG]    | Value: {'sort_by': 'anime_num_list_users', 'season': 'winter', 'year': 2021, 'limit': 50}          |
[2021-02-11 09:11:29,236] [config.py:881]             [INFO]     |                                                                                |
[2021-02-11 09:11:29,236] [mal.py:154]                [DEBUG]    | Data: {'sort_by': 'anime_num_list_users', 'season': 'winter', 'year': 2021, 'limit': 50}           |
[2021-02-11 09:11:30,047] [mal.py:167]                [INFO]     | Processing MyAnimeList Season: 50 Anime from Winter 2021 sorted by Members                         |
[2021-02-11 09:11:30,062] [mal.py:188]                [ERROR]    | MyAnimeList Error: MyAnimeList ID: 40028 has no other IDs associated with it                       |
[2021-02-11 09:11:30,077] [mal.py:188]                [ERROR]    | MyAnimeList Error: MyAnimeList ID: 39617 has no other IDs associated with it                       |
[2021-02-11 09:11:30,083] [mal.py:188]                [ERROR]    | MyAnimeList Error: MyAnimeList ID: 40852 has no other IDs associated with it                       |
[2021-02-11 09:11:30,111] [mal.py:188]                [ERROR]    | MyAnimeList Error: MyAnimeList ID: 39783 has no other IDs associated with it                       |
[2021-02-11 09:11:30,127] [mal.py:188]                [ERROR]    | MyAnimeList Error: MyAnimeList ID: 40935 has no other IDs associated with it                       |
[2021-02-11 09:11:30,137] [mal.py:188]                [ERROR]    | MyAnimeList Error: MyAnimeList ID: 41491 has no other IDs associated with it                       |
[2021-02-11 09:11:30,146] [mal.py:188]                [ERROR]    | MyAnimeList Error: MyAnimeList ID: 41109 has no other IDs associated with it                       |
[2021-02-11 09:11:30,156] [mal.py:188]                [ERROR]    | MyAnimeList Error: MyAnimeList ID: 40908 has no other IDs associated with it                       |
[2021-02-11 09:11:30,176] [mal.py:188]                [ERROR]    | MyAnimeList Error: MyAnimeList ID: 40530 has no other IDs associated with it                       |
[2021-02-11 09:11:30,196] [mal.py:188]                [ERROR]    | MyAnimeList Error: MyAnimeList ID: 40679 has no other IDs associated with it                       |
[2021-02-11 09:11:30,207] [mal.py:188]                [ERROR]    | MyAnimeList Error: MyAnimeList ID: 40907 has no other IDs associated with it                       |
[2021-02-11 09:11:30,211] [mal.py:188]                [ERROR]    | MyAnimeList Error: MyAnimeList ID: 39808 has no other IDs associated with it                       |
[2021-02-11 09:11:30,236] [mal.py:188]                [ERROR]    | MyAnimeList Error: MyAnimeList ID: 40682 has no other IDs associated with it                       |
[2021-02-11 09:11:30,247] [mal.py:188]                [ERROR]    | MyAnimeList Error: MyAnimeList ID: 41762 has no other IDs associated with it                       |
[2021-02-11 09:11:30,252] [mal.py:188]                [ERROR]    | MyAnimeList Error: MyAnimeList ID: 39486 has no other IDs associated with it                       |
[2021-02-11 09:11:30,277] [mal.py:188]                [ERROR]    | MyAnimeList Error: MyAnimeList ID: 39990 has no other IDs associated with it                       |
[2021-02-11 09:11:30,287] [mal.py:188]                [ERROR]    | MyAnimeList Error: MyAnimeList ID: 44087 not found                                                 |
[2021-02-11 09:11:30,293] [mal.py:190]                [DEBUG]    | MyAnimeList IDs Found: [21, 34572, 40028, 40748, 34566, 39617, 40852, 39551, 42897, 42203, 39535, 235, 39783, 40750, 43299, 40935, 41006, 41491, 39586, 41109, 42923, 40908, 37984, 41899, 41694, 40530, 40594, 38474, 41911, 40679, 966, 41392, 40907, 39808, 41074, 40351, 41834, 40906, 40682, 42250, 41762, 39486, 40961, 37807, 42822, 40964, 39990, 40786, 44087, 45753] |
[2021-02-11 09:11:30,293] [mal.py:191]                [DEBUG]    | Shows Found: [81797, 331753, 377543, 321285, 352408, 388593, 305089, 371310, 72454, 388575, 390028, 79682, 346931, 388858, 377902, 388006, 380402, 386933, 330692, 384485, 79654, 388381, 376003, 76703, 387510, 157001, 392195, 390384, 134165, 391365, 391465, 373131, 352408] |
[2021-02-11 09:11:30,293] [mal.py:192]                [DEBUG]    | Movies Found: []                                                                                |
[2021-02-11 09:11:30,457] [util.py:630]               [INFO]     | Current Anime Season Collection | + | That Time I Got Reincarnated as a Slime                      |
[2021-02-11 09:11:31,241] [util.py:630]               [INFO]     | Current Anime Season Collection | + | Re:ZERO -Starting Life in Another World-                     |
[2021-02-11 09:11:32,697] [util.py:630]               [INFO]     | Current Anime Season Collection | + | Mushoku Tensei: Jobless Reincarnation                        |
[2021-02-11 09:11:33,525] [util.py:630]               [INFO]     | Current Anime Season Collection | + | Wonder Egg Priority                                          |
[2021-02-11 09:11:35,033] [util.py:630]               [INFO]     | Current Anime Season Collection | + | Cells at Work!                                               |
[2021-02-11 09:11:36,155] [util.py:630]               [INFO]     | Current Anime Season Collection | + | So I'm a Spider, So What?                                    |
[2021-02-11 09:11:37,976] [util.py:630]               [INFO]     | Current Anime Season Collection | + | Cells at Work! Code Black                                    |
[2021-02-11 09:11:40,083] [util.py:630]               [INFO]     | Current Anime Season Collection | + | Suppose a Kid From the Last Dungeon Boonies Moved to a Starter Town? |
[2021-02-11 09:11:41,847] [util.py:630]               [INFO]     | Current Anime Season Collection | + | Laid-Back Camp                                               |
[2021-02-11 09:11:43,341] [util.py:630]               [INFO]     | Current Anime Season Collection | + | Otherside Picnic                                             |
[2021-02-11 09:11:44,403] [util.py:630]               [INFO]     | Current Anime Season Collection | + | Dr. Ramune: Mysterious Disease Specialist                    |
[2021-02-11 09:11:45,569] [util.py:630]               [INFO]     | Current Anime Season Collection | + | That Time I Got Reincarnated as a Slime                      |
[2021-02-11 09:11:46,563] [util.py:630]               [INFO]     | 12 Shows Processed                                                                                |
[2021-02-11 09:11:46,563] [config.py:947]             [INFO]     |                                                                                |
[2021-02-11 09:11:46,648] [config.py:967]             [INFO]     | Current Anime Season Collection | ? | One Piece (TVDB: 81797)                                      |
[2021-02-11 09:11:48,379] [config.py:967]             [INFO]     | Current Anime Season Collection | ? | Black Clover (TVDB: 331753)                                  |
[2021-02-11 09:11:49,984] [config.py:967]             [INFO]     | Current Anime Season Collection | ? | Jujutsu Kaisen (TVDB: 377543)                                |
[2021-02-11 09:11:52,330] [config.py:967]             [INFO]     | Current Anime Season Collection | ? | Boruto: Naruto Next Generations (TVDB: 321285)               |
[2021-02-11 09:11:53,147] [config.py:967]             [INFO]     | Current Anime Season Collection | ? | Horimiya (TVDB: 388593)                                      |
[2021-02-11 09:11:55,574] [config.py:967]             [INFO]     | Current Anime Season Collection | ? | Detective Conan (TVDB: 72454)                                |
[2021-02-11 09:11:57,109] [config.py:967]             [INFO]     | Current Anime Season Collection | ? | Redo of Healer (TVDB: 388575)                                |
[2021-02-11 09:11:57,765] [config.py:967]             [INFO]     | Current Anime Season Collection | ? | When They Cry - Higurashi (TVDB: 79682)                      |
[2021-02-11 09:11:59,392] [config.py:967]             [INFO]     | Current Anime Season Collection | ? | SK8 the Infinity (TVDB: 388858)                              |
[2021-02-11 09:12:01,250] [config.py:967]             [INFO]     | Current Anime Season Collection | ? | The Hidden Dungeon Only I Can Enter (TVDB: 388006)           |
[2021-02-11 09:12:02,953] [config.py:967]             [INFO]     | Current Anime Season Collection | ? | Yashahime: Princess Half-Demon (TVDB: 384485)                |
[2021-02-11 09:12:05,393] [config.py:967]             [INFO]     | Current Anime Season Collection | ? | Shin Chan (TVDB: 79654)                                      |
[2021-02-11 09:12:06,961] [config.py:967]             [INFO]     | Current Anime Season Collection | ? | Digimon Adventure: (TVDB: 376003)                            |
[2021-02-11 09:12:09,619] [config.py:967]             [INFO]     | Current Anime Season Collection | ? | Pok?mon (TVDB: 76703)                                        |
[2021-02-11 09:12:11,032] [config.py:967]             [INFO]     | Current Anime Season Collection | ? | KING's RAID: Successors of the Will (TVDB: 387510)           |
[2021-02-11 09:12:12,766] [config.py:967]             [INFO]     | Current Anime Season Collection | ? | Dragon Quest: Dai's Great Adventure (TVDB: 157001)           |
[2021-02-11 09:12:14,436] [config.py:967]             [INFO]     | Current Anime Season Collection | ? | Bungo Stray Dogs Wan! (TVDB: 392195)                         |
[2021-02-11 09:12:16,244] [config.py:967]             [INFO]     | Current Anime Season Collection | ? | Hortensia Saga (TVDB: 390384)                                |
[2021-02-11 09:12:16,469] [config.py:969]             [ERROR]    | TVDb Error: Could not find a TVDb Series ID at the URL https://www.thetvdb.com/dereferrer/series/134165 |
[2021-02-11 09:12:18,260] [config.py:967]             [INFO]     | Current Anime Season Collection | ? | Back Arrow (TVDB: 391465)                                    |
[2021-02-11 09:12:19,921] [config.py:967]             [INFO]     | Current Anime Season Collection | ? | Skate-Leading?Stars (TVDB: 373131)                           |
[2021-02-11 09:12:19,921] [config.py:970]             [INFO]     | 21 Shows Missing                                                                                |
[2021-02-11 09:12:20,162] [config.py:978]             [INFO]     |                                                                                |
[2021-02-11 09:12:20,163] [config.py:985]             [INFO]     | 0 Show Removed                                                                                |
[2021-02-11 09:12:20,163] [config.py:986]             [INFO]     |                                                                                |
[2021-02-11 09:12:20,194] [config.py:1047]            [INFO]     |                                                                                |


default.nix: convenience improvements

Exposes the nixos config attribute, and gets device from an
environment variable if not provided as a function argument.

Thanks!


Site down

Unable to reach website for over 24 hours

thanks

FYI, site is down again with the same symptoms (timeout during TLS handshake)


Paper

Codecov Report

Merging #36 (8a885ca) into master (42d277e) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #36      +/-   ##
==========================================
- Coverage   90.21%   90.20%   -0.02%
==========================================
  Files           4        4
  Lines         797      796       -1
==========================================
- Hits          719      718       -1
  Misses         78       78

Impacted Files
Coverage Δ

test_sorn.py
100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 42d277e...8a885ca. Read the comment docs.


Enable pprof in all conponents of Chaos Mesh

Feature Request
Is your feature request related to a problem? Please describe:

Sometimes we need to locate some Chaos Mesh issue, such as performance, memory leaks, etc. I think pprof can help us. So I recommend enabling pprof in all components of chaos-mesh

I think I can take this one. But may I ask what do you mean by all components? What does it include? Does it include chaos-dashboard and chaos-fs?

@yeya24 I think manager and daemon is enough

In controller-manager, do we want to use the metrics port for pprof as well?

In controller-manager, do we need to use the metrics port for pprof as well?

I think we can


Fix linting errors

Ran bundle exec govuk-lint-ruby -a app lib spec helpers to autofix a bunch of stuff
Manually fixed "memoized variable names must match surrounding method names"
Manually uppercased heredoc delimiters
Allowed us to use YAML.load rather than safe_load because it was breaking tests.  The Yaml sources are trusted, so this should still be OK.


Syntax error in the Launchpad handler class - Z2UI5_CL_LAUNCHPAD_HANDLER~IF_HTTP_EXTENSION~HANDLE_REQUEST

Method z2ui5_cl_http_handler=>main does not exist and results in syntax errors.

which version do you have? on the newest ones it does exist:
https://github.com/abap2UI5/abap2UI5/blob/c47f9ee7c1759421afb4616f56970b6c87f3b8f0/src/02/z2ui5_cl_http_handler.clas.abap#L19

i clode this one, i guess you just pulled an outdated version. but reopen if you have further questions.


Fixing LineTokenizer.nextTokenBytes to move the index to the end

Fixing LineTokenizer.nextTokenBytes to move the index to the end once we have reached the end of the string. Updated unit tests.

These changes impact unit tests in the other repo.


Remove unused patterns and fix some links

This PR is made to address #4299

Nice. But didn't close #4299 ? Thanks @rogermparent

Yeah, this was just a partial fix that handled some of the low-hanging fruit. I went after linters first before I went after fixing the link backlog, but I hope to get that done- at least the low-hanging fruit across all sites.


[WIP] rework github strategy to use a more direct method in the common case…

… of just getting the latest version

TODO:  pagination on the prerelease-case

I think there should be no pagination on the prerelease case. If there is no prerelease on the first page then there is no active prerelease.

ah, and the prerelease logic is really 'latest including prerelease', so we're really just grabbing the first of the 'all releases' page then?  that makes that logic simpler as well.

Yes we only want the super latest and greatest (and broken) version.
On Aug 28, 2015 20:11, "Chester Husk III"<EMAIL_ADDRESS>wrote:

ah, and the prerelease logic is really 'latest including prerelease', so
we're really just grabbing the first of the 'all releases' page then? that
makes that logic simpler as well.
—
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/pull/1022#issuecomment-135850761.

Alright, all better.

thanks!

sorry. I messed up.
The new bootstrapper doesn't work on prerelease case. It should always get the latest version, but github shows the last released version on top (even if that's older than the latest)

sounds like we should always get the latest version via the new mechanism, then, and then use that version to compare against if the user requests a prerelease?
so /releases/latest => 1.99.0
then use 1.99.0 to compare against
/releases =>
1.99.0
2.0.0--alpha1million
?


Bug: marker dissapears on block when link dropdown is open? WTF

Problem

Steps to Reproduce

create bullet item
paste any link
see the marker dissapear

Expected Behavior
the marker should not dissapear
Debug Info

Fixed in commit #841c25c


pip installation failed

Hey guys,
I was very happy to found this project. Unfortunately there is an issue on my OS X with Python 3.8.10
pip install qvd
ERROR: Could not find a version that satisfies the requirement qvd (from versions: none)
ERROR: No matching distribution found for qvd
Any ideas?
Best regards,
Axel

Hi, I have the same problem, are you using a Mac with Apple Silicon processor?
Seems that there is a compatibilty problem with this.

I have published the macOS wheels for the latest version (0.0.14) . Pip installing should now work for apple silicon.

Hi, sorry to bother with this again, but the error remains.
I have Python 3.9, looking at the wheels files I only find macos X86, none ARM.
Thanks a lot


Parallel loop prange gives wrong outcomes

Hi, I've encountered wrong outcomes when prange is used. The issue can be reproduced with the code below.
import numba
import numpy as np

def foo(a, b):
    n_rows = b.shape[0]
    for x in numba.prange(1):
        i_row = 0
        for _ in range(n_rows):
            bi = b[i_row]
            print(i_row, a[i_row, :bi])
            i_row += 1
            if i_row >= n_rows:
                i_row -= n_rows

a = np.arange(10).reshape((10, 1))
b = np.ones(10, np.int64)

# This prints the expected result, i.e. prints 0,[0] \n 1,[1] \n 2,[2], etc
numba.njit(foo, parallel=False)(a,b)

# This produces a wrong result, i.e. prints 0,[0] \n 0,[0] \n 0,[0], etc
numba.njit(foo, parallel=True)(a,b)

This started to happen with numba 0.47, until 0.46 was running as expected (though with numba 0.46 and 0.47 I had to use llvmlite 0.32 since more recent versions give an error at compile time).

Thanks for the report. This looks like a bug, not sure of the cause yet. CC @DrTodd13.

I played a little with this out of curiosity and noticed a small indexing problem (see mention above).
b in the example is of dtype float and should probably not be usable as an index.
However, this does not seem to be the cause of the problem described here, as explicitly casting bi to int does not seem to change the output for me.
Casting to int and then replacing :bi by bi-1 (which has the same effect in this very case) does seem to do the trick, but I think it is beyond my skills to figure out why :grin:

True, I updated the example and the array b is now of integer type. Didn't change the behavior though.

Couple more observations:

The limit check for i_row is only hit on the last iteration of the loop, which then exits. So as far as I can tell it serves no purpose here. (Your example is probably taken from more complex code where this check is actually needed, but I don't think we need it here, so let's drop it for simplicity)

def foo(a, b):
    n_rows = b.shape[0]
    for x in numba.prange(1):
        i_row = 0
        for _ in range(n_rows):
            bi = b[i_row]
            print(i_row, a[i_row, :bi])
            i_row += 1

This seems to produce the same output as before

Intriguingly, the same error occurs when removing the explicit prange. Numba actually complains that there are no parallel optimisations possible when doing so, but produces the wrong output regardless!

def foo(a, b):
    n_rows = b.shape[0]
    for x in range(1):
        i_row = 0
        for _ in range(n_rows):
            bi = b[i_row]
            print(i_row, a[i_row, :bi])
            i_row += 1

Output:
The keyword argument 'parallel=True' was specified but no transformation for parallel execution was possible.

To find out why, try turning on parallel diagnostics, see https://numba.pydata.org/numba-doc/latest/user/parallel.html#diagnostics for help.

File "<ipython-input-47-21ee4defc061>", line 1:
def foo(a, b):
^

  state.func_ir.loc))
0 [0]
1 [0]
2 [0]
3 [0]
4 [0]
5 [0]
6 [0]
7 [0]
8 [0]
9 [0]

Having removed the i_row check one can see that i_row could actually be directly taken from the loop index

def foo(a, b):
    n_rows = b.shape[0]
    for x in numba.prange(1):
        for i_row in range(n_rows):
            bi = b[i_row]
            print(i_row, a[i_row, :bi])

This actually produces the CORRECT output for both parallel and serial execution.
I hope this helps someone with more insight to pin down the bug :)

Thanks for looking at this @HPLegion.
Narrowing it down a bit more:
from numba import njit
import numpy as np

def foo(a):
    z = np.zeros_like(a)
    i_row = 0
    for _ in range(len(a)):
        z[i_row] = a[i_row, :1] # a[i_row, 0] works ok
        i_row += 1
    return z

a = np.arange(10).reshape((10, 1))

print("python".center(80, '-'))
print(foo(a))
print("njit".center(80, '-'))
print(njit(foo, parallel=False)(a))
print("njit(parallel=True)".center(80, '-'))
print(njit(foo, parallel=True)(a))

I think I see what's happening, a replacement slice is created as the LHS of :1 is None and in doing so the replacement tuple looks for the definition of i_row and grabs the constant.
Original:
label 0:
    a = arg(0, name=a)                       ['a']
    $2load_global.0 = global(np: <module 'numpy' from '<path>/site-packages/numpy/__init__.py'>) ['$2load_global.0']
    $4load_method.1 = getattr(value=$2load_global.0, attr=zeros_like) ['$2load_global.0', '$4load_method.1']
    $8call_method.3 = call $4load_method.1(a, func=$4load_method.1, args=[Var(a, issue6597_2.py:5)], kws=(), vararg=None) ['$4load_method.1', '$8call_method.3', 'a']
    z = $8call_method.3                      ['$8call_method.3', 'z']
    $const12.4 = const(int, 0)               ['$const12.4']
    i_row = $const12.4                       ['$const12.4', 'i_row']
    i_row.2 = i_row                          ['i_row', 'i_row.2']
    $18load_global.0 = global(range: <class 'range'>) ['$18load_global.0']
    $const20.1 = const(int, 2)               ['$const20.1']
    $22call_function.2 = call $18load_global.0($const20.1, func=$18load_global.0, args=[Var($const20.1, issue6597_2.py:7)], kws=(), vararg=None) ['$18load_global.0', '$22call_function.2', '$const20.1']
    $24get_iter.3 = getiter(value=$22call_function.2) ['$22call_function.2', '$24get_iter.3']
    $phi26.0 = $24get_iter.3                 ['$24get_iter.3', '$phi26.0']
    jump 26                                  []
label 26:
    $26for_iter.1 = iternext(value=$phi26.0) ['$26for_iter.1', '$phi26.0']
    $26for_iter.2 = pair_first(value=$26for_iter.1) ['$26for_iter.1', '$26for_iter.2']
    $26for_iter.3 = pair_second(value=$26for_iter.1) ['$26for_iter.1', '$26for_iter.3']
    $phi28.1 = $26for_iter.2                 ['$26for_iter.2', '$phi28.1']
    branch $26for_iter.3, 28, 60             ['$26for_iter.3']
label 28:
    _ = $phi28.1                             ['$phi28.1', '_']
    $const34.4 = const(NoneType, None)       ['$const34.4']
    $const36.5 = const(int, 1)               ['$const36.5']
    $38build_slice.6 = global(slice: <class 'slice'>) ['$38build_slice.6']
    $38build_slice.7 = call $38build_slice.6($const34.4, $const36.5, func=$38build_slice.6, args=(Var($const34.4, issue6597_2.py:8), Var($const36.5, issue6597_2.py:8)), kws=(), vararg=None) ['$38build_slice.6', '$38build_slice.7', '$const34.4', '$const36.5']
    $40build_tuple.8 = build_tuple(items=[Var(i_row.2, issue6597_2.py:7), Var($38build_slice.7, issue6597_2.py:8)]) ['$38build_slice.7', '$40build_tuple.8', 'i_row.2']
    $42binary_subscr.9 = getitem(value=a, index=$40build_tuple.8, fn=<built-in function getitem>) ['$40build_tuple.8', '$42binary_subscr.9', 'a']
    z[i_row.2] = $42binary_subscr.9          ['$42binary_subscr.9', 'i_row.2', 'z']
    $const52.13 = const(int, 1)              ['$const52.13']
    $54inplace_add.14 = inplace_binop(fn=<built-in function iadd>, immutable_fn=<built-in function add>, lhs=i_row.2, rhs=$const52.13, static_lhs=Undefined, static_rhs=Undefined) ['$54inplace_add.14', '$const52.13', 'i_row.2']
    i_row.1 = $54inplace_add.14              ['$54inplace_add.14', 'i_row.1']
    i_row.2 = i_row.1                        ['i_row.1', 'i_row.2']
    jump 26                                  []
label 60:
    $64return_value.1 = cast(value=z)        ['$64return_value.1', 'z']
    return $64return_value.1                 ['$64return_value.1']

after replacement:
label 0:
    a = arg(0, name=a)                       ['a']
    a_shape.0 = getattr(value=a, attr=shape) ['a', 'a_shape.0']
    a_size0.1 = static_getitem(value=a_shape.0, index=0, index_var=None, fn=<built-in function getitem>) ['a_shape.0', 'a_size0.1']
    a_size1.2 = static_getitem(value=a_shape.0, index=1, index_var=None, fn=<built-in function getitem>) ['a_shape.0', 'a_size1.2']
    $2load_global.0 = global(np: <module 'numpy' from '<path>/site-packages/numpy/__init__.py'>) ['$2load_global.0']
    $4load_method.1 = getattr(value=$2load_global.0, attr=zeros_like) ['$2load_global.0', '$4load_method.1']
    $8call_method.3 = call $4load_method.1(a, func=$4load_method.1, args=[Var(a, issue6597_2.py:5)], kws=(), vararg=None) ['$4load_method.1', '$8call_method.3', 'a']
    z = $8call_method.3                      ['$8call_method.3', 'z']
    $const12.4 = const(int, 0)               ['$const12.4']
    i_row = $const12.4                       ['$const12.4', 'i_row']
    i_row.2 = i_row                          ['i_row', 'i_row.2']
    $18load_global.0 = global(range: <class 'range'>) ['$18load_global.0']
    $const20.1 = const(int, 2)               ['$const20.1']
    $22call_function.2 = call $18load_global.0($const20.1, func=$18load_global.0, args=[Var($const20.1, issue6597_2.py:7)], kws=(), vararg=None) ['$18load_global.0', '$22call_function.2', '$const20.1']
    $24get_iter.3 = getiter(value=$22call_function.2) ['$22call_function.2', '$24get_iter.3']
    $phi26.0 = $24get_iter.3                 ['$24get_iter.3', '$phi26.0']
    jump 26                                  []
label 26:
    $26for_iter.1 = iternext(value=$phi26.0) ['$26for_iter.1', '$phi26.0']
    $26for_iter.2 = pair_first(value=$26for_iter.1) ['$26for_iter.1', '$26for_iter.2']
    $26for_iter.3 = pair_second(value=$26for_iter.1) ['$26for_iter.1', '$26for_iter.3']
    $phi28.1 = $26for_iter.2                 ['$26for_iter.2', '$phi28.1']
    branch $26for_iter.3, 28, 60             ['$26for_iter.3']
label 28:
    _ = $phi28.1                             ['$phi28.1', '_']
    $const34.4 = const(NoneType, None)       ['$const34.4']
    $const36.5 = const(int, 1)               ['$const36.5']
    $38build_slice.6 = global(slice: <class 'slice'>) ['$38build_slice.6']
    $38build_slice.7 = call $38build_slice.6($const34.4, $const36.5, func=$38build_slice.6, args=(Var($const34.4, issue6597_2.py:8), Var($const36.5, issue6597_2.py:8)), kws=(), vararg=None) ['$38build_slice.6', '$38build_slice.7', '$const34.4', '$const36.5']
    $40build_tuple.8 = build_tuple(items=[Var(i_row.2, issue6597_2.py:7), Var($38build_slice.7, issue6597_2.py:8)]) ['$38build_slice.7', '$40build_tuple.8', 'i_row.2']
    zero.3 = const(int, 0)                   ['zero.3']
    replacement_slice.4 = call $38build_slice.6(zero.3, $const36.5, func=$38build_slice.6, args=(Var(zero.3, issue6597_2.py:8), Var($const36.5, issue6597_2.py:8)), kws=(), vararg=None) ['$38build_slice.6', '$const36.5', 'replacement_slice.4', 'zero.3']
    slice_size.5 = $const36.5 - zero.3       ['$const36.5', 'slice_size.5', 'zero.3']
    wrap.6 = global(wrap_index: <intrinsic wrap_index>) ['wrap.6']
    var.7 = call wrap.6($const36.5, a_size1.2, func=wrap.6, args=[Var($const36.5, issue6597_2.py:8), Var(a_size1.2, issue6597_2.py:5)], kws={}, vararg=None) ['$const36.5', 'a_size1.2', 'var.7', 'wrap.6']
    post_wrap_slice_size.8 = var.7 - zero.3  ['post_wrap_slice_size.8', 'var.7', 'zero.3']
    replacement_build_tuple.9 = build_tuple(items=[Var($const12.4, issue6597_2.py:6), Var(replacement_slice.4, issue6597_2.py:8)]) ['$const12.4', 'replacement_build_tuple.9', 'replacement_slice.4']
#
# PROBLEM IS HERE IN $const12.4 -----------------------^
#
    $42binary_subscr.9 = getitem(value=a, index=replacement_build_tuple.9, fn=<built-in function getitem>) ['$42binary_subscr.9', 'a', 'replacement_build_tuple.9']
    z[i_row.2] = $42binary_subscr.9          ['$42binary_subscr.9', 'i_row.2', 'z']
    $const52.13 = const(int, 1)              ['$const52.13']
    $54inplace_add.14 = inplace_binop(fn=<built-in function iadd>, immutable_fn=<built-in function add>, lhs=i_row.2, rhs=$const52.13, static_lhs=Undefined, static_rhs=Undefined) ['$54inplace_add.14', '$const52.13', 'i_row.2']
    i_row.1 = $54inplace_add.14              ['$54inplace_add.14', 'i_row.1']
    i_row.2 = i_row.1                        ['i_row.1', 'i_row.2']
    jump 26                                  []
label 60:
    $64return_value.1 = cast(value=z)        ['$64return_value.1', 'z']
    return $64return_value.1                 ['$64return_value.1']

and I think this possibly stems from array analysis determining equivalence incorrectly:
SymbolicEquivSet(..., 8: ['$const12.4', 0, 'i_row', 'i_row.2', '$40build_tuple.8#0'],...)

After taking another look at the initial example I am starting to wonder: In general, can this actually ever work?
Maybe you can address my confusion, since I am not very familiar with numba's prange: Can we expect that i_row will be "local" to each iteration of the outer loop? Or can the parallel execution of the loop body mess with the value of i_row across threads?

They'll be "local" to each iteration, the body of a prange is essentially translated into a gufunc.
Example:
from numba import njit, prange
import numpy as np

@njit(parallel=True)
def foo():
    for i in prange(4):
        local_index = 0
        for x in range(i):
            local_index += i
        print(i, local_index)

foo()

Alright, nevermind then :) Thanks for the explanation!

I already have a possible fix for this error but my fix seems to be causing other problems in the test suite.  I'm working my way through those now.  As Stuart says, we create a replacement tuple at some point and the value of the variable at that point is being hard-coded because we hadn't yet got to the rest of the loop to see that i_row is multiply defined and therefore we shouldn't store this variable in our array shape analysis data structures.  We need to know upfront what is multiply-defined so that those don't create entries in those data structures that can then be used incorrectly as the rest of the function is being processed from top to bottom.


Remove unknown contributors

Nevermind. While they don't have commits, they helped before we moved the project to this repo.


pandoc-csv2table: Error in $: expected product (:*:), encountered Object

I'm getting the above error from a previously working set up---probably caused by upgrading to High Sierra on the Mac, I guess. Any idea what might be causing this? I'm using version 1.0.5 installed via Cabal.

Can you establish a minimal setup that causes the error?


If a canister errors out, we should avoid trying to build other canisters depending on it

Because they will likely error as well (with missing input files).
As a step_prebuild(), the build system should look that dependencies built successfully.

any build error stops the build process by now


Exclude remove_neg_test from Dualstack test suite

@aranjans can you mention the previous PR in description and reason for doing this change?


Write new guide on creating middleware for use with Express

Per discussion and #454.

@crandmck added - http://expressjs.com/guide/writing-middleware.html

@ritch Is this sufficient for the time being?  Do you think we should expand on the above article or can we close this issue?

I think we can go a bit deeper. This looks like an introduction to writing middleware. Thinking from the perspective of a new middleware author I want to know the common patterns, things to avoid, etc. This is a good start but I think we are missing quite a bit.

@ritch what I can think of adding further is explaining "requireable" middleware, common module patterns, module.exports,  and exports.  Should that suffice? Anything else you have on mind?
Do you think we should cover publishing to npm as well?

@hacksparrow let's chat in realtime about this.
I think what you're suggesting is still a little too light.  Maybe we need to split this into several guides this being the first.

@ritch I send you a mail.

@ritch If you still think we need more here, please advise.

@ritch @hacksparrow @crandmck what's the status of this story? It has been sitting in #review column for 20 days by now. Can we close it as done?

@bajtos, @ritch and I had a discussion last time. What he wanted was a pretty detailed (multi-part) write up on Express middleware. Haven't had a chance yet, due to other priorities.

@hacksparrow thank you for the update, makes sense. I'll move this story back to #tob column on our sprint board then.

@hacksparrow I reassigned back to you based on above comments.  If you have anything (even a draft) written up, please share it, either in a branch or in the wiki.  Then I can take it, if you have other priorities.

@bajtos, @ritch and I had a discussion last time. What he wanted was a pretty detailed (multi-part) write up on Express middleware. Haven't had a chance yet, due to other priorities.

I'm going to go ahead and close this issue. If someone wants to add specifics as to what more we want to add to the site, please open a new issue.


Fix TypeScript definition errors

Current TypeScript definitions do not compile:

../../node_modules/koa-easy-ws/index.d.ts(5,66): error TS2706: Required type parameters may not follow optional type parameters.
../../node_modules/koa-easy-ws/index.d.ts(6,3): error TS1170: A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type.
../../node_modules/koa-easy-ws/index.d.ts(6,4): error TS2693: 'PropertyName' only refers to a type, but is being used as a value here.
../../node_modules/koa-easy-ws/index.d.ts(7,3): error TS1170: A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type.
../../node_modules/koa-easy-ws/index.d.ts(7,4): error TS2693: 'ServerPropertyName' only refers to a type, but is being used as a value here.
../../node_modules/koa-easy-ws/index.d.ts(14,64): error TS2706: Required type parameters may not follow optional type parameters.

This change fixes all of these errors.

Heya, it seems that this library isn't actively maintained anymore. I decided to fork it and am planning to maintain it. I applied your fixes to the fork


Add possibility to open karaoke apps for the current song.

Unsolved issue:

pressing Cancel on the FileDialog to select the executable closes the entire settings screen and it does not clear the lineEdit for the executable path.

pressing Cancel on the FileDialog to select the executable closes the entire settings screen and it does not clear the lineEdit for the executable path.

Works for me. Maybe it's another Qt bug? Can you try with a different PySide version?

Works for me. Maybe it's another Qt bug? Can you try with a different PySide version?
Doesn't work for me, tried now with 6.7.3, <IP_ADDRESS>, 6.7.0. and 6.6.0. So when you press Cancel, the line edit is emptied (if it was set before)?

So when you press Cancel, the line edit is emptied (if it was set before)?

Yes. Seems to be a bug on macOS.

Seems like it. But I guess we can live with that.