fix(serve): also detect kubernetes containers

While working on a Vue CLI 3 server / container template for CodeSandbox and having an HMR issue (an invalid webpack socket URL), looking at how HMR is configured in serve.js, I've noticed that serve should be detecting that it's running in a container, but it's not. Looking further at the container detection code, and then at /proc/1/cgroup inside the container, it looks like
12:memory:/kubepods/burstable/pod[redacted]
11:blkio:/kubepods/burstable/pod[redacted]
[...more similar lines...]

, so I added kubepods to the detection regex.
You can see it working at https://codesandbox.io/s/qv463kv6z6 (where I manually changed serve.js inside node_modules/@vue/cli-service).

The "access the dev server via http://localhost..." message is still a bit confusing, I could add CodeSandbox container detection if desired (@Akryum: I pinged you on Vue Discord, maybe we can discuss this further there).

Hm, I see the CI failed, is it possible that AppVeyor uses kubernetes containers? 🙂


update favicon and add asset folder to cargo-leptos

Thanks very much — this was on my to-do list for this weekend, so I really appreciate the PR!


make injector module's protocol signatures consistent

Adds a layer to create stimuli in Python and combine them with + operator. It does not use NEURON and it is not dependent on the Cell module. The current trace of each generated stimuli can be retrieved consistently.
Changes

Add StimulusFactory enabling Python generated Stimulus creation
Stimulus creation through StimulusFactory is decoupled from the Cell object
Cell.add_step and Cell.add_ramp use StimulusFactory
Move stimuli module to stimulus/circuit_stimulus_definitions
[DOCS] Add list of stimuli page that describe, generate and plot the stimuli
Add jupyter notebook displaying how to inject the StimulusFactory Stimulus into Cell

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.95%. Comparing base (d7a5240) to head (487dc23).
Report is 11 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #142      +/-   ##
==========================================
+ Coverage   85.30%   88.95%   +3.64%
==========================================
  Files          80       84       +4
  Lines        5404     5177     -227
==========================================
- Hits         4610     4605       -5
+ Misses        794      572     -222

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Looks good to me!
If you can just put an example of how to reproduce at least the patterns that we see on the OpenBrainPlatform that would be helpful


The Consumer will not work when id is null in dubbo:reference

I define a consumer in xml， eg:
<dubbo:reference interface="com.tuya.seata.service.seata.StorageService"/>

Then I start the Application，debug and found that there never create a BeenDefine for dubbo:reference in DubboBeanDefinitionParser#parse， source code like that：

is this a bug？ thanks for help

@spilledyear In my opinion, this should be a bug.


Not working in Chrome for me

Chrome Version 57.0.2987.133 (64-bit)
I've activated the extension:

The plugin is not lightup in chrome bar:

Recording is on, but no tracker appears:

Any help would be great.

I am unable to recreate this issue. Are you sure the site you're visiting has GA tracking on it? Can you see tracking beacons being recorded as you browse around github?

I have been using your plug in for years and love it but I have just got a new computer and downloaded the plug in on firefox and chorm and i get the same as the above but it still works on my old computer?

I am having the same issue.
Chrome Version 58.0.3029.110 (64-bit) on OSX El Capitan 10.11.6

Same here on this page. It doesn't light up in chrome and then no tracker appear.
Maybe conflicting with other plugins?

Could you try this to see if there are any errors?:

Undock devtools from the main browser window and make sure it has focus.
From the main Chrome menu click "View" > "Developer" > "Developer Tools" - you should now have a 2nd devtools instance, which is debugging the first one.
Try to use GADebugger in the first instance of devtools.
Check the console for any errors and paste them here.

There's nothing there to suggest that GADebugger is throwing an error. However, it does look like Chrome is blocking some requests to github — do you have any plugins installed that could be preventing GA tracking beacons from reaching Google's servers?

Hello,
Im also having this problem, did you guys ever figured it out?
I tried opening the dev tools for that window but I didnt see any errors, it just doesnt show any events or any trackers.

Are you using an Ad blocker?


Bad auth error using Heroku

Hello,
I've been using hubot-hangupsjs locally and it worked ok. But I've tried to use it in Heroku, using config vars to add HUBOT_GOOGLE_AUTH_TOKEN.
The snippet of the error:
[Thu Nov 26 2015 10:58:21 GMT+0000 (UTC)] INFO Client Connecting
2015-11-26T10:58:21.097760+00:00 app[web.1]: 2015-11-26 10:58:21 ERROR getAuth failed { [Error] code: 403, message: undefined, body: 'Error=badauth\n' }
2015-11-26T10:58:21.097855+00:00 app[web.1]: [Thu Nov 26 2015 10:58:21 GMT+0000 (UTC)] INFO Client Connect Failed Error
2015-11-26T10:58:21.097998+00:00 app[web.1]: Unhandled rejection (<Error>, no stack trace)

Any idea? Thanks in advance

Hmm. I think I tested it in Heroku but it might have just been a docker container. Is that error with a brand new token? I needed one Or multiple dynos? I didn't try this but it is likely an issue since the session state is stored locally.

On Nov 26, 2015, at 5:03 AM, Nieves Abalos<EMAIL_ADDRESS>wrote:
Hello,
I've been using hubot-hangupsjs locally and it worked ok. But I've tried to use it in Heroku, using config vars to add HUBOT_GOOGLE_AUTH_TOKEN.
The snippet of the error:
[Thu Nov 26 2015 10:58:21 GMT+0000 (UTC)] INFO Client Connecting
2015-11-26T10:58:21.097760+00:00 app[web.1]: 2015-11-26 10:58:21 ERROR getAuth failed { [Error] code: 403, message: undefined, body: 'Error=badauth\n' }
2015-11-26T10:58:21.097855+00:00 app[web.1]: [Thu Nov 26 2015 10:58:21 GMT+0000 (UTC)] INFO Client Connect Failed Error
2015-11-26T10:58:21.097998+00:00 app[web.1]: Unhandled rejection (, no stack trace)
Any idea? Thanks in advance
—
Reply to this email directly or view it on GitHub.

Also please check out both the hangupsjs and hangups projects. They might have more insight.

Thanks, it seems that the token doesn't work after a few hours anymore. Do I have to reenter the token in HUBOT_GOOGLE_AUTH_TOKEN every X hours?

My understanding is that the token is valid for only a short time. When
it's used a session and long-term refresh token are saved on the local file
system. My guess is that Heroku might be moving you and deleting the local
long-term files. the hangupsjs library would need to support writing that
info into a different source such as a DB.
On Tue, Dec 1, 2015 at 6:27 AM, Nieves Abalos<EMAIL_ADDRESS>wrote:

Thanks, it seems that the token doesn't work after a few hours anymore. Do
I have to reenter the token in HUBOT_GOOGLE_AUTH_TOKEN every X hours?
—
Reply to this email directly or view it on GitHub
https://github.com/davidkassa/hubot-hangupsjs/issues/4#issuecomment-160953931
.


Cant resend email verification email once the initial one expires

There is currently a bug where the only way to resend a email verification email is by being logged in. However, you can't log in if the email isnt verified. Therefore, we must provide a way to resend the verification email without loggin into the account.

Maybe we want to delete the account if the verification link expires? This would mean that the person didnt use the account at all so we could just delete it?


Replace Bili with Rollup

Replacing Bili with a more mature build tool like rollup will allow for better control over our build process and allow for easier development.
Changing to rollup also fixes an issue in the build where core-js modules were included without an explicit dependency to core-js.
// vue-katex.es.min.js
import"core-js/modules/es6.number.constructor";
import"core-js/modules/es6.function.name";

Codecov Report

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

@@           Coverage Diff           @@
##           master      #14   +/-   ##
=======================================
  Coverage   93.75%   93.75%
=======================================
  Files           3        3
  Lines          16       16
  Branches        4        4
=======================================
  Hits           15       15
  Misses          1        1

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 77673c7...3076448. Read the comment docs.


include 3rd party library (freetype)

I'm having trouble compiling Adafruit's GFX Library through ino and ano, it can not find freetype libs on my Mac OSX system. Freetype is installed through brew.
Arduino IDE is able to compile the sketch correctly, it is able to locate/include/link the lib.
I've tried a lot of different --cflags or --cxxflags or --ldflags, but the build always fails with:
lib/Adafruit-GFX-Library/fontconvert/fontconvert.c:24:10: error: #include expects "FILENAME" or <FILENAME>
 #include FT_GLYPH_H

I can somehow get past this error by running build --cxxflags="-I/usr/local/include/freetype2 -lfreetype -MM" --cflags="-I/usr/local/include/freetype2 -lfreetype" --ldflags="-I/usr/local/include/freetype2" again, but then I end up with:
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/../lib/gcc/avr/4.8.1/../../../../avr/bin/ld:.build_ano/uno/src/sketch.ino.cpp.o: file format not recognized; treating as linker script
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/../lib/gcc/avr/4.8.1/../../../../avr/bin/ld:.build_ano/uno/src/sketch.ino.cpp.o:1: syntax error

(with Arduino IDE's avr, and with 4.9 avr tools installed through brew).
I can also get past all compiler errors by copying the freetype header files into the lib dir of the project dir, but then I end up with linker errors:
build_ano/uno/Adafruit-GFX-Library/libAdafruit-GFX-Library.a(fontconvert.c.o): In function `main':
/Applications/Arduino.app/Contents/Java/libraries/Adafruit-GFX-Library/fontconvert/fontconvert.c:115: undefined reference to `FT_Init_FreeType'
/Applications/Arduino.app/Contents/Java/libraries/Adafruit-GFX-Library/fontconvert/fontconvert.c:119: undefined reference to `FT_New_Face'
/Applications/Arduino.app/Contents/Java/libraries/Adafruit-GFX-Library/fontconvert/fontconvert.c:121: undefined reference to `FT_Done_FreeType'
/Applications/Arduino.app/Contents/Java/libraries/Adafruit-GFX-Library/fontconvert/fontconvert.c:126: undefined reference to `FT_Set_Char_Size'
/Applications/Arduino.app/Contents/Java/libraries/Adafruit-GFX-Library/fontconvert/fontconvert.c:140: undefined reference to `FT_Load_Char'
/Applications/Arduino.app/Contents/Java/libraries/Adafruit-GFX-Library/fontconvert/fontconvert.c:146: undefined reference to `FT_Render_Glyph'
/Applications/Arduino.app/Contents/Java/libraries/Adafruit-GFX-Library/fontconvert/fontconvert.c:153: undefined reference to `FT_Get_Glyph'
/Applications/Arduino.app/Contents/Java/libraries/Adafruit-GFX-Library/fontconvert/fontconvert.c:194: undefined reference to `FT_Done_Glyph'
/Applications/Arduino.app/Contents/Java/libraries/Adafruit-GFX-Library/fontconvert/fontconvert.c:232: undefined reference to `FT_Done_FreeType'
collect2: error: ld returned 1 exit status

How can I configure ino/ano/avr to include and link this (or all) 3rd party libraries from my system?
Thanks.

I think this should be correct:
pkg-config --libs freetype2 -> -L/usr/local/Cellar/freetype/2.6.3/lib -lfreetype
 pkg-config --cflags freetype2 -> -I/usr/local/Cellar/freetype/2.6.3/include/freetype2
ano clean && ano build --cflags="-I/usr/local/Cellar/freetype/2.6.3/include/freetype2" --ldflags="-L/usr/local/Cellar/freetype/2.6.3/lib -lfreetype" -v
Gives me the linker errors again:
.build_ano/uno/Adafruit-GFX-Library/libAdafruit-GFX-Library.a(fontconvert.c.o): In function `main':
/Users/aaronh/src/arduino/waterer-ano/lib/Adafruit-GFX-Library/fontconvert/fontconvert.c:115: undefined reference to `FT_Init_FreeType'
/Users/aaronh/src/arduino/waterer-ano/lib/Adafruit-GFX-Library/fontconvert/fontconvert.c:119: undefined reference to `FT_New_Face'
/Users/aaronh/src/arduino/waterer-ano/lib/Adafruit-GFX-Library/fontconvert/fontconvert.c:121: undefined reference to `FT_Done_FreeType'
/Users/aaronh/src/arduino/waterer-ano/lib/Adafruit-GFX-Library/fontconvert/fontconvert.c:126: undefined reference to `FT_Set_Char_Size'
/Users/aaronh/src/arduino/waterer-ano/lib/Adafruit-GFX-Library/fontconvert/fontconvert.c:140: undefined reference to `FT_Load_Char'
/Users/aaronh/src/arduino/waterer-ano/lib/Adafruit-GFX-Library/fontconvert/fontconvert.c:146: undefined reference to `FT_Render_Glyph'
/Users/aaronh/src/arduino/waterer-ano/lib/Adafruit-GFX-Library/fontconvert/fontconvert.c:153: undefined reference to `FT_Get_Glyph'
/Users/aaronh/src/arduino/waterer-ano/lib/Adafruit-GFX-Library/fontconvert/fontconvert.c:194: undefined reference to `FT_Done_Glyph'
/Users/aaronh/src/arduino/waterer-ano/lib/Adafruit-GFX-Library/fontconvert/fontconvert.c:232: undefined reference to `FT_Done_FreeType'

Any help would be appreciated.

Ah. I can simply remove the whole fontconvert dir and it compiles nicely. I'm not sure if the lib will need it. Should I exclude that when compiling?
Any clue as to why the Arduino IDE doesn't stumble over this?

INO unfortunately doesn't use the Arduino compiler directives so it simply didn't inherit this from the configuration as it should have.
Really INO/Arturo 1.0 should be considered EOL. I've moved on from it myself.

@scottdarch What do you use now?

I've just been writing my own makefiles. Arduino does have a commandline build now for what it's worth. There's also http://platformio.org/ but I haven't used this.


Deprecated functions, visual changes

https://facepunch.com/showthread.php?t=1345164

Thanks for the pull request! I definitely appreciate the fixes, and removing deprecated functions, but some of the style changes seem a little arbitrary. I'll probably still merge this and just update these back, but feel free to submit an updated request after you've taken a look at my comments! :)


Hdf warning

In accordance with #12268 this is now a separate PR.
I think that this warning could be useful either way for no non-daily hdf user:

Telling that string method is preferred
Adding a warning

@dacoex idea being that you separate the changes into 2 PRs, one containing the pd. changes, the other the doc-changes w.r.t. hierarchical keys. (there are 2 PR's now, but they both contain all the changes)

Sorry, my git skills do not make it.
I will update them during the next days.

hahha, no prob. you will want to rebase on master, then delete that commit.
e.g.
git rebase -i master
then force push

pls rebase on master

I hope I got it right now ;-)

anything holding this one back?

thanks!


Can't have kill and ** completion working

Category

[ ] fzf binary
[ ] fzf-tmux script
[ ] Key bindings
[x] Completion
[ ] Vim
[ ] Neovim
[ ] Etc.

OS

[x] Linux
[ ] Mac OS X
[ ] Windows
[ ] Windows Subsystem for Linux
[ ] Etc.

Shell

[ ] bash
[x] zsh
[ ] fish

Hi, I've just installed fzf on Fedora 30 with oh-my-zsh (updated to last version). After installing fzf it was not working, so I've find out that I had to add the plugin fzf to the list of active plugins in my .zshrc. After doing this I ended up with key-bindings working, but I am not able to use kill autocompletion, nor ** expansion, because when I use that I have ah expansion from (I presume) zsh.
I tried to use the export FZF_COMPLETION_TRIGGER='~~' in my .zshrc, but even after a restart of the shell I didn't manage to have it working.
I've also seen that on arch wiki there is the suggestion to source the file /usr/share/fzf/completion.zsh, but (maybe because I have fedora and not arch) I don't have that file. Moreover, i have a key-binding.zsh file but in /usr/share/fzf/shell/ path.
Any idea? Am I doing something wrong? Or have I missed some step maybe?
Thanks.

I've just installed fzf on Fedora 30

How did you install fzf? By cloning it or using DNF?
If it's latter, Have you tried reading the package documentation as suggested in https://github.com/junegunn/fzf#fedora?

Yeah sorry, I forgot to specify that: I've used DNF.

If it's latter, Have you tried reading the package documentation as suggested in https://github.com/junegunn/fzf#fedora?

Of course, but this is the content I have on that documentation file:
fzf provides several niceties, such as shell completion, shell key bindings,
and a vim plugin. In Fedora, we only enable the shell completion and install
the plugin for vim and neovim by default as they are generally non-intrusive.
The key bindings are installed but not enabled.

To enable shell key bindings, source the applicable script from
/usr/share/fzf/shell from your shell initialization. For example, use
/usr/share/fzf/shell/key-bindings.bash in ~/.bashrc for user-wide bash.

and the point is that my key bindings is working well, the problem is on shell completion. So I hadn't sourced any script in .zshrc, because the only script I have at /usr/share/fzf/shell is the one for key-bindings. And seeing what is written in the doc file, the completion should work.. am I wrong?

Maybe completion.bash is not included in the package? You might want to contact the package maintainer. Meanwhile, everything should work fine if you install fzf using git.

Hi, thank you for support. I've just tested your suggestion: I've copied the completion script file (downloaded from github repository), inside the directory in which there already is the key-binding scripts. After only copying everything start working properly. So, it seems you're right! The problem is due to Fedora package maintainer.
Moreover, I've find out an already opened bug for this package in bugzilla, I've added some information, but if anyone have the same issue could add more information or simply telling it in order to give it more resonance.
Thank you again.

Similar issue on fedora30 with bash. Installing it using git fixed it.


SKOS Mappings

Some PROV terms have no mappings to BFO or CCO or RO terms, and some mappings almost work except for some edge cases. It would be nice to include our explanations of the close-but-not-quite mappings in the ontology.
In the context of mapping large ontologies, often semi-automatically with statistical matching, SSSOM recommends uses SKOS predicates like broadMatch, narrowMatch, relatedMatch, closeMatch, & exactMatch. Exact matches are transitive. Exact, close, and related matches are symmetric. Broad and narrow matches can be made transitive with broaderTransitive and narrowerTransitive.
I think we can often use skos:broadMatch in place of rdfs:subPropertyOf or rdfs:subClassOf.
Examples:
[]  rdf:type owl:Axiom ;
     owl:annotatedSource   prov:hadRole ;
     owl:annotatedProperty skos:broadMatch ;
     owl:annotatedTarget   obo:BFO_0000057 ;
     sssom:object_label    "has participant (at some time)" ;
     sssom:mapping_justification "If a prov:Influence had role some prov:Role, then this is similar to that prov:Influence having that prov:Role as a participant as a kind of broader relation. However, only processes can have participants, but some prov:Influences are process boundaries, such as prov:Generation, which is a prov:InstantaneousEvent."@en .

[]  rdf:type owl:Axiom ;
     owl:annotatedSource   prov:atLocation ;
     owl:annotatedProperty skos:broadMatch ;
     owl:annotatedTarget   obo:BFO_0000171 ;
     sssom:object_label    "located in at some time" ;
     sssom:mapping_justification "If a prov Activity or Agent or Entity or InstantaneousEvent is at some prov:Location then this is similar to the broader relation of BFO 'located in at some time'. However, only continuants can be located in something, while prov:Activities are occurents. "@en .

[]  rdf:type owl:Axiom ;
     owl:annotatedSource   prov:atLocation ;
     owl:annotatedProperty skos:broadMatch ;
     owl:annotatedTarget   obo:BFO_0000066 ;
     sssom:object_label    "occurs in" ;
     sssom:mapping_justification "If a prov Activity or Agent or Entity or InstantaneousEvent is at some prov:Location then this is similar to the broader relation of BFO 'occurs in'. However, only occurents can occur in something, while prov:Agents and prov:Entities are continuants. "@en .

With the last two I'm not sure if either is broader than the other, so skos:relatedMatch may be more appropriate...
Links:

Some unmapped terms (others are temporarily commented out here)
https://www.w3.org/TR/skos-primer/#secmapping
https://www.w3.org/TR/skos-reference/#mapping
http://www.w3.org/TR/skos-reference/skos.rdf

We're going to try a SWRL rule for ("occurs in" OR "located in") => prov:atLocation

We're going to try a SWRL rule for ("occurs in" OR "located in") => prov:atLocation

This doesn't work as a rule or even just subproperty axioms.

atLocation domain is Activity or Agent or Entity or InstantaneousEvent

where Activity is equivalent to process and InstantaneousEvent is equivalent to process boundary
and Entity is a subclass of non-spatial region continuant

atLocation range is Location

where Location is equivalent to site

Adding these axioms means:

If A "occurs in" B, then A must be a prov:Activity or prov:InstantaneousEvent and B must be a "site".
If C "is located in" D, then C must be an prov:Agent or prov:Entity and D must be a "site".

But something could occur or be located in something that isn't a site, because the range of "occurs in" and "is located in" includes material entities.

prov:describesService (from PROV-AQ) has no domain or range, but is commented:

relates a generic provenance query service resource (type prov:ServiceDescription) to a specific query service description (e.g. a prov:DirectQueryService or a sd:Service).

A prov:ServiceDescription is a prov:SoftwareAgent, and it's defined:

Type for a generic provenance query service. Mainly for use in RDF provenance query service descriptions, to facilitate discovery in linked data environments.

This suggest that prov:ServiceDescription is ambiguous and can either be interpreted as an agent or information. We can say it has a skos:relatedMatch to cco:is_about or cco:describes.
The way to represent this in CCO is something like this invalid SWRL rule:
# A ServiceDescription is a carrier of some Information Content Entity which is about some (BFO) Entity
prov:describesService(?a, ?c) -> obo:BFO_0000101(?a, ?b) ^ cco:InformationContentEntity(?b) ^ cco:is_about(?b, ?c) ^ obo:BFO_0000001(?c)

prov:Person and cc:Person could be relatedMatch or closeMatch because prov:Person is a subclass of prov:Agent, while  cco:Person is not a subclass of cco:Agent.

Good point. I'll add some:
cco:Person will be a cco:Agent whenever that cco:Person is agent_in some
process, I believe.
But also many prov:Person will never be cco:Agent, because the prov:Person
in question is fictional. So, 'Harry Potter' will never be agent_in some
'Act of Communication' that occurs_at some theater facility; he will only
be represented as doing activities (all fictional events are relegated to
"information land").
All the best,
Jonathan Vajda
/dʒɒnɑθɑn vaɪdɑ/
On Fri, Nov 24, 2023 at 11:54 AM Tim Prudhomme @.***>
wrote:

prov:Person and cco:Person could be relatedMatch or closeMatch because
prov:Person is a subclass of prov:Agent, while cco:Person is not a subclass
of cco:Agent.
—
Reply to this email directly, view it on GitHub
https://github.com/BFO-Mappings/BFO-Mappings/issues/22#issuecomment-1825917507,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIW242CRFZPCDB4EBQV5NILYGDGOBAVCNFSM6AAAAAA5XE3DNKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRVHEYTONJQG4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Emojis Controller

Is there a reason why you used a json string and then json_decode it to an array and then return the array as json response?
We could easily create the array and return directly. Laravel would create a Json response automatically.
We can create a migration and seeder to store the emojis in database and cache it in Redis. Thoughts?

That EmojisController.php file is probably the "dirtiest" file written by me! And I haven't touched it ever since I wrote it. We could do some cleaning it.
As for the migration and seeder, that sounds more professional and also more work while I don't see any benefits in it.


Offline support for caniuse.com

I work offline a lot (traveling etc) and it would be really great to have caniuse.com work offline.
I presume this would be useful for many other people too.
I imagine this would not be too difficult to implement since the site is already effectively a single-page application. That said, I have not looked at how data is loaded on the page so perhaps it could be harder than I am assuming...

What do you picture @CaesarSchinas?  "Application Cache" so the browser keeps the app in memory (hopefully; remember that mobile devices & even desktop browsers have limits.).  A Chrome Store / Firefox Marketplace app?  Downloadable caniuse.tar.gz file?

@tomByrer, yes, I had been thinking of AppCache for the site and perhaps IndexedDB for the data.
Do you think there would be a problem with reaching browser storage limits? The dataset isn't that big is it?
An alternative which would also be nice would be a Dash docset.

Incidentally devdocs.io seems to manage to store quite a lot of data locally, we could look at that for inspiration.

Or (sorry for string of comments in quick succession) maybe collaborate with devdocs.io to get a caniuse docset on there?

devdocs.io seems like a good idea.  Seems like you have to configure their scrapper, but I wonder if submitting the .json files directly with a template would be better?
(BTW, you can edit old posts; I often do.)

I've posted a suggestion in devdocs's trello board with link to this issue. Despite the fact that they require >3k stars for project to be included, I hope it will be implemented anyway.

It was implemented (thanks to @Thibaut) and support tables is now available in devdocs.io (can also be accessed offline).

Could caniuse maybe download the data like devdocs for offline? I saw the data is available as a "data.json" in this repo, maybe it could be used as offline data?


Fix initialization values effecting constant clearing

You should achieve better results by setting this init to 1.

[ ] FF/Latch ps_FSM_FFd1_LD hinder the constant cleaning in the block jpg_uvc_comp.
[ ] FF/Latch ps_FSM_FFd1_LD hinder the constant cleaning in the block raw_uvc_comp.
[ ] FF/Latch ps_FSM_FFd3_LD hinder the constant cleaning in the block cdc_out_comp.
[ ] FF/Latch rd_state_FSM_FFd3_LD hinder the constant cleaning in the block ddr2_comp.
[ ] FF/Latch stage2_cnt_reg_0_LD hinder the constant cleaning in the block U_DCT1D.
[ ] FF/Latch stage2_cnt_reg_0_LD hinder the constant cleaning in the block U_DCT2D.

You should achieve better results by setting this init to 0.

[ ] FF/Latch wr_state_FSM_FFd3_LD hinder the constant cleaning in the block ddr2_comp.

WARNING:Xst:1426 - The value init of the FF/Latch ps_FSM_FFd1_LD hinder the constant cleaning in the block jpg_uvc_comp.
   You should achieve better results by setting this init to 1.
WARNING:Xst:1426 - The value init of the FF/Latch ps_FSM_FFd1_LD hinder the constant cleaning in the block raw_uvc_comp.
   You should achieve better results by setting this init to 1.
WARNING:Xst:1426 - The value init of the FF/Latch ps_FSM_FFd3_LD hinder the constant cleaning in the block cdc_out_comp.
   You should achieve better results by setting this init to 1.
WARNING:Xst:1426 - The value init of the FF/Latch rd_state_FSM_FFd3_LD hinder the constant cleaning in the block ddr2_comp.
   You should achieve better results by setting this init to 1.
WARNING:Xst:1426 - The value init of the FF/Latch wr_state_FSM_FFd3_LD hinder the constant cleaning in the block ddr2_comp.
   You should achieve better results by setting this init to 0.
WARNING:Xst:1426 - The value init of the FF/Latch stage2_cnt_reg_0_LD hinder the constant cleaning in the block U_DCT1D.
   You should achieve better results by setting this init to 1.
WARNING:Xst:1426 - The value init of the FF/Latch stage2_cnt_reg_0_LD hinder the constant cleaning in the block U_DCT2D.
   You should achieve better results by setting this init to 1.

Closing this as the HDMI2USB-jahanzeb-firmware is no longer under development.
All active development is now on the HDMI2USB-misoc-firmware which supports both the Atlys and Opsis boards and has loads of other new features!


At any rate, this is definitely a bug and should just be prevented. Thanks for finding it!

I don't know how to reproduce this. If it can be reproduced, re-open the issue and describe in detail what steps are needed to create the design shown in the first comment above.

I'm able to reproduce this bug in the current dev branch by drawing a domain, and then drawing another domain starting on one side of the first domain and ending on the other side to overlap the first domain. This was fixed in the original pull request (#860) but reintroduced in #883.

I'm able to reproduce this bug in the current dev branch by drawing a domain, and then drawing another domain starting on one side of the first domain and ending on the other side to overlap the first domain. This was fixed in the original pull request (#860) but reintroduced in #883.

Ah, I see it now! scadnano prevents dragging the cursor into the middle of the domain, but if you reach to the other side of it, it allows you to draw it.
Hmm, right now I'm not seeing how to fix the logic in a way that won't re-introduce the bug in #883, but maybe we can discuss in our next meeting

I removed the "closed in dev" because this behavior still appears on the dev server (https://scadnano.org/dev/) and when I run locally from the dev branch.
I'm a bit confused about the history here, I see some of the comments here were made after PR #860, but for some reason I thought we had fixed this issue again after that.


Registry: provide addWorkflows API to add multiple workflows in a call

https://github.com/indeedeng/iwf-java-sdk/pull/107


No module named vigra

I cannot proceed beyond the 3rd line (from quanfima import morphology as mrph) as it keeps giving me: Import Error: No module named vigra

Hi, you can install Vigra (https://ukoethe.github.io/vigra/) using Anaconda package manager as:
conda install -c ukoethe vigra

If you use buit-in Python, you can try to install it from sources https://github.com/ukoethe/vigra, but I recommend install this package from Anaconda distribution (https://www.anaconda.com/distribution), in this case all packages could be installed from the same place. Please note, that quanfima was tested only for Python 2.7.

Hi,
Thank you for your prompt reply. I have been trying to install vigra all
this time. But, it keeps causing me runtime error R6034. I have tried every
re-installing C++ distributions, but it does not help. I would like to try
quanfima, but so far it seems impossible to use for me.
Also, I noticed that python 2.7 will cease to exist next year. Will you be
updating quanfima to python 3?
Best regards,
Alma
On Thu, Apr 25, 2019 at 10:39 PM Roman Shkarin<EMAIL_ADDRESS>wrote:

Hi, you can install Vigra (https://ukoethe.github.io/vigra/) using
Anaconda package manager as:
conda install -c ukoethe vigra
If you use buit-in Python, you can try to install it from sources
https://github.com/ukoethe/vigra, but I recommend install this package
from Anaconda distribution (https://www.anaconda.com/distribution), in
this case all packages could be installed from the same place. Please note,
that quanfima was tested only for Python 2.7.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rshkarin/quanfima/issues/1#issuecomment-486829496,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL5NJVOXSSA265P6GJVDQO3PSIJHXANCNFSM4HIO5GNQ
.

Hi! I tried this package, and since I was getting a lot of errors(using Anaconda) due to incompatible dependencies, I converted the code to python 3 with changes in the version of some of the dependencies. @rshkarin, would you mind if I share the code? I would like to know how you would prefer this?

Hi! @vansjyo if you could create PR for compatibility with python 3 it would be perfect!

Ok!  I will get back in a few days.

Hi @vansjyo would really appreciate if you can share the compatible code, thanks!

@rshkarin I had only changed the code of the files in this url(https://github.com/rshkarin/quanfima/tree/master/quanfima), i.e. the four .py files, which makes the code compatible. The requirements also change accordingly. Therefore I would not recommend merging it to the original repo. Perhaps, we could work on a new repository and add the necessary documentation. Please let me know your suggestions on this.

@vansjyo it would be great if you could share changes via PR, so I could try to integrate it into the main repo and make it compatible for different python versions, so other people could use it.

@rshkarin please refer https://github.com/rshkarin/quanfima/pull/2

I have installed vigra by using conda create -c conda-forge --prefix=/usr,but when I use python test.py,the error still comes out.
And besides I found there is one function vigra.impex.readImage('testimg.jpg').view(np.ndarray).squeeze(), however I did not find function under installed vigra. In which file  is there readImage?


added openshift specific install steps

Added openshift specific install steps. A sample screenshot is added here for your reference so you can see how it looks like after adding these steps.

I signed it!


IndexError: list index out of range

Traceback (most recent call last):
File "github-draw.py", line 19, in
im = Image.open(str(sys.argv[1])) #convert monochrome bpm to bool array
IndexError: list index out of range

Hello, did you run it with a command line arguement supplying a monochrome bitmap? If not, you need to pass it an arguement and i havent caught any of the possible errors properly yet.
If you did pass an arguement, can you share which image it was?

Im assuming you didn't pass a console arguement, and closing this issue.


Support Redis persistence with docker volumes and Kubernetes integration

Currently, redis only persists to a local file system path, which is not a very robust deployment strategy. Instead, we should use docker volumes and ensure that redis can be restarted within a kubernetes cluster. We're currently investigating the best way to achieve this.

Fixed by #251


Unfortunately  has stopped in android 5.0

Ionic version: (check one with "x")
[x ] 1.x
[] 2.x
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
I am using the phonegap-plugIn-barcodescanner for my Cordova project. I created a very simple app which is working perfectly on Win X86, Android 4.3, Android 4.4 and Android 6.0. I have also tried to upload the Project to a Android Android 5.0. but there it is not working.
Everytime I try to scan a barcode by calling the plugIn my application throws an error which says "Unfortunately app has stopped".

Hello, thanks for opening an issue with us! Unfortunately i am going to have to close this issue as this is not something in the framework causing the issue but something in that plugin. I would recommend opening an issue on the github repo for the plugin you are using.


TensorFlow Speech Recognition for Android

Hello,
I am new to this exicted feature TensorFlow. I could import the Sample project and able to run it successfully. Now i just need help to how to build the Speech Recognition from TensorFlow what are the files required to add. Can someone give the steps, which would help me in my sample application
Thanks
Sravan Kumar Shetty

Thanks for your quick response.
OS Platform and Distribution : Android
TensorFlow installed from : N/A
TensorFlow version : N/A
Bazel version: N/A
CUDA/cuDNN version: N/A
GPU model and memory: N/A
Exact command to reproduce: N/A
Mobile device : Android Lollipop version
Here actually i am beginner to this. So i just wanted to know what are the installation, libraries required for Speech Recognition in order to integrate to Android Mobile application. using Desktop : Window-10
Thanks

This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there.
If you think we've misinterpreted a bug, please comment again with a clear explanation, as well as all of the information requested in the issue template. Thanks!


Can students with guest UTORIDs access the JupyterHub?

Hi folks! For a small outreach program to high school student next year, we were hoping to use JupyterHub for a one-day event. The students will be set up with guest UTORIDs that will give them access to Quercus. Will this be sufficient for access to JupyterHub also?

Hello @elb0! I think they should be, since we don't differentiate on type of utorid. However, if you can get access to one and test it out, that would be most helpful!

Thanks, I'll see if I can!

Hi Liza! Another possibility is to use the Jupyter resource offered by Callysto. That service is aimed at allowing universities like the University of Toronto to carry out data/computing outreach leveraging Jupyter. Here are two related links:

https://www.callysto.ca/
https://hub.callysto.ca/
Callysto sometimes has calls for proposals with funding to support outreach activities in Canada.


Add info on README about how to run from source, how to upgrade

How to run from source and how to upgrade are 2 extremely common things asked on the IRC channel. Hopefully this is going to make things a bit more clear.
This closes #298.
Also, this aims to replace #614 and and #616, so I'd be happy to have feedback from @metsjeesus!

also the npm install needs to account for installing dev dependencies (If your npm env is prod, it won't install them, and the build will fail).

also the npm install needs to account for installing dev dependencies (If your npm env is prod, it won't install them, and the build will fail).

@xPaw, as in, export NODE_ENV=production being set system-wide? Just trying to understand, when can this be an issue? As in, when is such env being set? (I know it's the case for our current Dockerfile, but it's not following these instructions anyway)

That would be one of the cases, yes. I remember someone having this issue on irc.

To be honest, I don't expect someone running installs from source to have their Node environment manually set up to production and being stuck because they don't have the development dependencies...
That seems like a specific scenario that I wouldn't want to worry about. Plus, running this on a prod machine, they need to realize that it should be done cautiously.
Also, "To run from source, run npm install && npm start" is kind of the de facto standard when it comes to Node packages. I expect they would have the same issue whatever they install from source.
@xPaw, mind leaving this as is and see if that issue arises again on the channel and/or GitHub issues? I am tempted to say it could be misconfiguration or miscomprehension in most cases.

This can be an issue on certain services: https://devcenter.heroku.com/changelog-items/688

Then I still think people should be aware that running from source is not a good idea for production, and Heroku redirects them to https://devcenter.heroku.com/articles/nodejs-support#runtime-behavior.
Still believe we should do NODE_ENV=development npm install instead?
I don't have a strong opinion, I'm just puzzled (also, our Heroku doc does do simply npm install so we might not even have a choice, sigh...).


VM stuck in deadlock with background finalization and background compiler thread

Repro:
out/DebugX64/dart --old-gen-heap-size=8 --optimization-counter-threshold=51 --ignore-unrecognized-flags /usr/local/google/home/fschneider/dartgit2/sdk/runtime/observatory/tests/service/implicit_getter_setter_test.dart

(gdb) thread apply all bt

Thread 7 (Thread 0x7f090f107700 (LWP 21182)):
#0  0x00007f090ddfda13 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
#1  0x00000000005d2581 in dart::bin::EventHandlerImplementation::Poll (args=args@entry=60784704) at runtime/bin/eventhandler_linux.cc:399
#2  0x00000000005cdd99 in dart::bin::ThreadStart (data_ptr=<optimized out>) at runtime/bin/thread_linux.cc:91
#3  0x00007f090ecfc184 in start_thread (arg=0x7f090f107700) at pthread_create.c:312
#4  0x00007f090ddfd37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f090dd02700 (LWP 21183)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x000000000087de4c in dart::Monitor::WaitMicros (this=this@entry=0x39da180, micros=<optimized out>) at runtime/vm/os_thread_linux.cc:423
#2  0x0000000000992c5c in WaitMicros (this=<synthetic pointer>, micros=<optimized out>) at runtime/vm/lockers.h:176
#3  dart::ThreadInterrupter::ThreadMain (parameters=<optimized out>) at runtime/vm/thread_interrupter.cc:169
#4  0x000000000087c803 in dart::ThreadStart (data_ptr=<optimized out>) at runtime/vm/os_thread_linux.cc:123
#5  0x00007f090ecfc184 in start_thread (arg=0x7f090dd02700) at pthread_create.c:312
#6  0x00007f090ddfd37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f090db01700 (LWP 21184)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x000000000087dd28 in dart::Monitor::WaitMicros (this=0x39da7e0, micros=micros@entry=0) at runtime/vm/os_thread_linux.cc:418
#2  0x000000000087dfb1 in dart::Monitor::Wait (this=<optimized out>, millis=millis@entry=0) at runtime/vm/os_thread_linux.cc:402
#3  0x0000000000792f11 in Wait (this=0x7f090db00c10, millis=0) at runtime/vm/lockers.h:169
#4  dart::Isolate::ScheduleThread (this=this@entry=0x4d23200, is_mutator=is_mutator@entry=true, bypass_safepoint=bypass_safepoint@entry=false) at runtime/vm/isolate.cc:2595
#5  0x000000000098c965 in dart::Thread::EnterIsolate (isolate=isolate@entry=0x4d23200) at runtime/vm/thread.cc:245
#6  0x00000000007ccadd in StartIsolateScope (new_isolate=0x4d23200, this=<synthetic pointer>) at runtime/vm/isolate.h:885
#7  dart::MessageHandler::HandleMessages (this=this@entry=0x4d4c270, ml=ml@entry=0x7f090db00d40, allow_normal_messages=true, allow_multiple_normal_messages=allow_multiple_normal_messages@entry=true) at runtime/vm/message_handler.cc:191
#8  0x00000000007cf4b9 in dart::MessageHandler::TaskCallback (this=0x4d4c270) at runtime/vm/message_handler.cc:368
#9  0x00000000007cfefa in dart::MessageHandlerTask::Run (this=0x39e0c20) at runtime/vm/message_handler.cc:29
#10 0x0000000000995ae1 in dart::ThreadPool::Worker::Loop (this=this@entry=0x39d4000) at runtime/vm/thread_pool.cc:407
#11 0x0000000000996094 in dart::ThreadPool::Worker::Main (args=60637184) at runtime/vm/thread_pool.cc:464
#12 0x000000000087c803 in dart::ThreadStart (data_ptr=<optimized out>) at runtime/vm/os_thread_linux.cc:123
#13 0x00007f090ecfc184 in start_thread (arg=0x7f090db01700) at pthread_create.c:312
#14 0x00007f090ddfd37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f090d20a700 (LWP 21185)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x000000000087dd28 in dart::Monitor::WaitMicros (this=0x39dab40, micros=micros@entry=0) at runtime/vm/os_thread_linux.cc:418
#2  0x000000000087dfb1 in dart::Monitor::Wait (this=<optimized out>, millis=millis@entry=0) at runtime/vm/os_thread_linux.cc:402
#3  0x00000000006641ad in Wait (this=0x7f090d209500, millis=0) at runtime/vm/lockers.h:169
#4  dart::BackgroundCompiler::Run (this=0x39f80c0) at runtime/vm/compiler.cc:1905
#5  0x0000000000995ae1 in dart::ThreadPool::Worker::Loop (this=this@entry=0x39d40a0) at runtime/vm/thread_pool.cc:407
#6  0x0000000000996094 in dart::ThreadPool::Worker::Main (args=60637344) at runtime/vm/thread_pool.cc:464
#7  0x000000000087c803 in dart::ThreadStart (data_ptr=<optimized out>) at runtime/vm/os_thread_linux.cc:123
#8  0x00007f090ecfc184 in start_thread (arg=0x7f090d20a700) at pthread_create.c:312
#9  0x00007f090ddfd37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f090d0c9700 (LWP 21186)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x000000000087dd28 in dart::Monitor::WaitMicros (this=0x39da900, micros=micros@entry=0) at runtime/vm/os_thread_linux.cc:418
#2  0x000000000087dfb1 in dart::Monitor::Wait (this=<optimized out>, millis=millis@entry=0) at runtime/vm/os_thread_linux.cc:402
#3  0x00000000007c32d5 in dart::MonitorLocker::WaitWithSafepointCheck (this=this@entry=0x7f090d0c6a20, thread=thread@entry=0x39f6400, millis=millis@entry=0) at runtime/vm/lockers.cc:34
#4  0x000000000088577d in dart::PageSpace::MarkSweep (this=this@entry=0x4d37718, invoke_api_callbacks=<optimized out>) at runtime/vm/pages.cc:810
#5  0x000000000072fe41 in dart::Heap::CollectOldSpaceGarbage (this=0x4d37600, thread=0x39f6400, api_callbacks=dart::Heap::kInvokeApiCallbacks, reason=dart::Heap::kFull) at runtime/vm/heap.cc:396
#6  0x00000000007302d8 in dart::Heap::CollectAllGarbage (this=this@entry=0x4d37600) at runtime/vm/heap.cc:439
#7  0x0000000000730518 in dart::Heap::AllocateOld (this=this@entry=0x4d37600, size=size@entry=96, type=type@entry=dart::HeapPage::kData) at runtime/vm/heap.cc:105
#8  0x0000000000846616 in dart::Heap::Allocate (this=0x4d37600, size=96, space=dart::Heap::kOld) at runtime/vm/heap.h:79
#9  0x0000000000802d86 in dart::Object::Allocate (cls_id=cls_id@entry=75, size=96, space=space@entry=dart::Heap::kOld) at runtime/vm/object.cc:1843
#10 0x00000000008211c5 in dart::TypedData::New (class_id=class_id@entry=75, len=65, space=space@entry=dart::Heap::kOld) at runtime/vm/object.cc:22196
#11 0x000000000069921a in dart::DeoptInfoBuilder::CreateDeoptInfo (this=this@entry=0x7f090d0c6f20, deopt_table=...) at runtime/vm/deopt_instructions.cc:1310
#12 0x00000000006f7077 in dart::CompilerDeoptInfo::CreateDeoptInfo (this=<optimized out>, compiler=compiler@entry=0x7f090d0c7510, builder=builder@entry=0x7f090d0c6f20, deopt_table=...) at runtime/vm/flow_graph_compiler_x64.cc:185
#13 0x00000000006ef666 in dart::FlowGraphCompiler::CreateDeoptInfo (this=this@entry=0x7f090d0c7510, assembler=assembler@entry=0x7f090d0c7350) at runtime/vm/flow_graph_compiler.cc:1058
#14 0x000000000065cd28 in dart::CompileParsedFunctionHelper::FinalizeCompilation (this=this@entry=0x7f090d0c7a10, assembler=assembler@entry=0x7f090d0c7350, graph_compiler=graph_compiler@entry=0x7f090d0c7510, flow_graph=flow_graph@entry=0x5d12c00) at runtime/vm/compiler.cc:497
#15 0x000000000065f83c in dart::CompileParsedFunctionHelper::Compile (this=this@entry=0x7f090d0c7a10, pipeline=pipeline@entry=0x57082d8) at runtime/vm/compiler.cc:1136
#16 0x0000000000662256 in dart::CompileFunctionHelper (pipeline=0x57082d8, function=..., optimized=optimized@entry=true, osr_id=osr_id@entry=-1) at runtime/vm/compiler.cc:1271
#17 0x0000000000663f30 in dart::Compiler::CompileOptimizedFunction (thread=thread@entry=0x39f6400, function=..., osr_id=osr_id@entry=-1) at runtime/vm/compiler.cc:1467
#18 0x0000000000664300 in dart::BackgroundCompiler::Run (this=0x39f8100) at runtime/vm/compiler.cc:1869
#19 0x0000000000995ae1 in dart::ThreadPool::Worker::Loop (this=this@entry=0x39d4140) at runtime/vm/thread_pool.cc:407
#20 0x0000000000996094 in dart::ThreadPool::Worker::Main (args=60637504) at runtime/vm/thread_pool.cc:464
#21 0x000000000087c803 in dart::ThreadStart (data_ptr=<optimized out>) at runtime/vm/os_thread_linux.cc:123
#22 0x00007f090ecfc184 in start_thread (arg=0x7f090d0c9700) at pthread_create.c:312
#23 0x00007f090ddfd37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f090cb36700 (LWP 21188)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x000000000087dd28 in dart::Monitor::WaitMicros (this=0x39da7e0, micros=micros@entry=0) at runtime/vm/os_thread_linux.cc:418
#2  0x000000000087dfb1 in dart::Monitor::Wait (this=<optimized out>, millis=millis@entry=0) at runtime/vm/os_thread_linux.cc:402
#3  0x0000000000792f11 in Wait (this=0x7f090cb35ca0, millis=0) at runtime/vm/lockers.h:169
#4  dart::Isolate::ScheduleThread (this=this@entry=0x4d23200, is_mutator=is_mutator@entry=false, bypass_safepoint=bypass_safepoint@entry=false) at runtime/vm/isolate.cc:2595
#5  0x000000000098ca0d in dart::Thread::EnterIsolateAsHelper (isolate=0x4d23200, kind=kind@entry=dart::Thread::kFinalizerTask, bypass_safepoint=bypass_safepoint@entry=false) at runtime/vm/thread.cc:283
#6  0x00000000009ed0e2 in dart::BackgroundFinalizer::Run (this=0x4dcf5e0) at runtime/vm/dart_api_state.cc:30
#7  0x0000000000995ae1 in dart::ThreadPool::Worker::Loop (this=this@entry=0x39d4280) at runtime/vm/thread_pool.cc:407
#8  0x0000000000996094 in dart::ThreadPool::Worker::Main (args=60637824) at runtime/vm/thread_pool.cc:464
#9  0x000000000087c803 in dart::ThreadStart (data_ptr=<optimized out>) at runtime/vm/os_thread_linux.cc:123
#10 0x00007f090ecfc184 in start_thread (arg=0x7f090cb36700) at pthread_create.c:312
#11 0x00007f090ddfd37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f090f109780 (LWP 21180)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x000000000087dd28 in dart::Monitor::WaitMicros (this=this@entry=0x7ffdaa765c20, micros=micros@entry=0) at runtime/vm/os_thread_linux.cc:418
#2  0x000000000087dfb1 in dart::Monitor::Wait (this=this@entry=0x7ffdaa765c20, millis=millis@entry=0) at runtime/vm/os_thread_linux.cc:402
#3  0x00000000005b7f3a in Wait (this=<synthetic pointer>, millis=0) at runtime/vm/lockers.h:169
#4  dart::Dart_RunLoop () at runtime/vm/dart_api_impl.cc:1693
#5  0x0000000000588e19 in dart::bin::RunMainIsolate (script_name=script_name@entry=0x7ffdaa76710a "/usr/local/google/home/fschneider/dartgit2/sdk/runtime/observatory/tests/service/implicit_getter_setter_test.dart", dart_options=dart_options@entry=0x7ffdaa766060) at runtime/bin/main.cc:1586
#6  0x0000000000581c76 in dart::bin::main (argc=6, argv=0x7ffdaa766218) at runtime/bin/main.cc:1835
#7  0x0000000000581e69 in main (argc=<optimized out>, argv=<optimized out>) at runtime/bin/main.cc:1874

Landed https://github.com/dart-lang/sdk/commit/da487a567c2a08646e8061c4239d3d0c754d2a91


empty selection in list selection: can't reveal answer

Summary
If a question part has a "choose one from a list" gap, and the answer is submitted without this gap being answered (no choice is made), this causes a bug when revealing answers. In particular, this makes exams containing the question crash.
To reproduce
To reproduce:

Create a question with a single part, and a single gap ("choose one from a list")
Include the question in an exam
Run the exam, submit the question and end exam
The error message "TypeError: ticks[i] is undefined" is displayed.

The problem seems to be on line 29597 of scripts.js (as of writing this report). Changing the line from:
 if(ticks[i][0])
to
 if(ticks[i] && ticks[i][0])
appears to fix the issue.
Link
Here's an exam reproducing the problem:
https://numbas.mathcentre.ac.uk/exam/13442/choose-one-from-a-list-and-ticks-i/
Real use issue:
I have a question with multiple choice gaps, which should be left blank depending on answers to other gaps. This causes those questions to crash.

Thanks for reporting this. It's a recently-introduced bug: I didn't test a multiple choice part inside a gap-fill when I made a change recently. It should be fixed now; please let me know if you have any more problems.


[NNVM][TOPI] Add mean and product operators

Add mean and product operators
@kevinthesun @srkreddy1238 could you please review, thank you!

@yuruofeifei
There is a question to you before you address the above comments. If already I am sorry if you were working on it. mean looks simpler combination of other topi operators. Do you have any reason to implement topi operator for it? Is not it enough just is nnvm operator?

@nishi-t
Mean operator will require shape information which can be only inferred during runtime.
In tensor level, I actually leverage sum to construct.

@srkreddy1238 Can you review again, thank you !!

@yuruofeifei Yes, but I think that we can implement Mean in here in the same way without adding topi operator. How about it?

@yuruofeifei Yes, but I think that we can implement Mean in here in the same way without adding topi operator. I believe that we should not increase topi operator unless there is some particular reason (needs especially scheduling for performance or must be required to implement it) for maintainability. Could we get your opinion about it? @tqchen

yes, it is better not to introduce mean for now and reuse other operators to compose it up

Updated PR, @nishi-t @yzhliu
Thanks

@tqchen Sorry for my late reply, but I have been on leave and just come back. Thank you for your comment.
@yuruofeifei Thank you for your update.  Maybe, you need to implement scheduling here for fixing the current ci error.

Good to me. @nishi-t @PariksheetPinjari909 @srkreddy1238 could you do another review and approve explicitly if it is good?

@nishi-t Thanks for review
@yzhliu I removed cuda schedule, I will send another PR for it. Thanks

@yzhliu @tqchen @srkreddy1238 @siju-samuel This PR is ready for review Thanks!


[documentation] How to use GridHelper、Gizmohelper and TransformControls?

How to use GridHelper、Gizmohelper and TransformControls?

GridHelper should be supported out of the box with extend({ GridHelper }) or extend(THREE)
TransformControls can be supported with importing TransformControls from three/examples or three-stdlib; then extend({ TransformControls }). I'd recommend importing it from three-stdlib

This might come from angular-three-soba in the near future.

For GizmoHelper, you could technically use extend() for a 3rd-party GizmoHelper class that is compatible with THREE.js


[React] FlowRouter.go causes subscriptions to stop

Example: my application has a layout containing a sidebar and a main content region. I use react-mounter to mount the page in the main content region according to the FlowRouter route. Inside my sidebar I have some information about the user which is managed by a normal Meteor subscription.
Inside my React page components I have some hrefs which handle navigation between pages - all normal stuff.
Here's where it gets weird. If I have a React onClick handler and a function which calls FlowRouter.go - instead of a HTML href - the routing will occur however my subscriptions in the sidebar component will momentarily stop and then re-subscribe. This causes content flashing in the sidebar - not good.
And here's where it get's even weirder - if I call the exact same FlowRouter.go command from the console this behavior does not occur.
I've simplified my app - when routing to an empty component with a single action - react-mount this behavior still occurs, I'm fairly sure it is FlowRouter - or it's Pages.js dependency - which is causing this. But I have no idea why.

After scratching my head about this for 2 days, 10 minutes after opening an issue I found a solution.
Wrapping the FlowRouter.go call in a zero millisecond setTimeout seemed to fix it - and after reading a lot of the issues on here it seems to "solve" a lot of things. Maybe FlowRouter isn't the well architected, solid piece of software it claims to be?


Fix :end to :endif in _import/vim9000.vim

Hi. I fixed :end to :endif because :end is not allowed and causes an error in recent Vim9 script.
cf. https://github.com/vim/vim/commit/204852ae2adfdde10c656ca7f14e5b4207a69172

Thank you!


Qiskit Transpiler Documentation Missing Coupling Map Images

Environment

Qiskit Terra version:
Python version:
Operating system:

What is happening?
The Qiskit Transpiler Documentation is missing some images. Specifically, in the section Representing Quantum Computers¶ the following method is called as an example for the reader: target.build_coupling_map().draw() to show the coupling maps of Target class. However, none of the coupling maps are actually drawn out to the screen. To improve the documentation, the coupling maps should be there.
How can we reproduce the issue?
Open this link: https://qiskit.org/documentation/apidoc/transpiler.html
Scroll down to "Representing Quantum Computer." This section should have coupling maps as example images but they don't exist.
What should happen?
This section should have coupling maps as example images.
Any suggestions?
No response
### Tasks

@Eric-Arellano any ideas on this, I'm wondering if it's related to: https://github.com/Qiskit/qiskit-metapackage/issues/1710

Oh, actually I realized what is the issue. The code block ends with .draw() but that needs to be .draw('mpl'). If you update all the draw calls that should fix the image rendering.


chore: export utils function

Export truthy, isString utils functions

:tada: This PR is included in version 1.15.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Code of Conduct initial commit and review

We could start using this code of conduct, how's that sound? If this one is good I'll just add it to all the repos without extra reviews required, if not then we can review and adapt until it works.

What is the rationale behind including this document in the project? I have spent a while lookng at it, but I'd like to know what the purported benefit is before continuing.
Maybe return to this when we/if we have some actual code, or so many people become involved that informal conflict resolution is not sufficient?

What is the rationale behind including this document in the project? I have spent a while lookng at it, but I'd like to know what the purported benefit is before continuing.
Maybe return to this when we/if we have some actual code, or so many people become involved that informal conflict resolution is not sufficient?

In my experience, more people react positively to a code of conduct than the opposite. For some potential contributors, some kind of token showing that the community is committed to providing a safe space is prerequisite to joining.
That being said, adapting a comprehensive code of conduct without a plan on how to follow up and – if necessary – enforce it, can backfire, since then it can be seen as paying lip-service to the ideals it sets.
In essence, I am all for having a code of conduct and having it early – better to have it, than finding out you need it later. In practice, however, I wonder if the community is yet to have members who would be interested enough in community management for it to be anything but words.

I agree with Skymandr.
Also, I have been in the RISC OS world for a very very long time and we did have some issues in the past that went really too far. So I'd like to make sure the community here is shielded by any form of miss behaviour.
However everything is open for discussion and if we think it's not necessary (and we also accept the potential consequences of such a decision), we can leave it off. It is however recommended to make it clear from day one so on this Skymandr is absolutely right.
On the point of  "Maybe return to this when we/if we have some actual code" I am planning to start pushing some code this weekend actually. I'll set both of you guys for review.
Also we should start to look into defining the configuration protocol for all of this. Andrew Rawnsley made a good suggestion to have a look at ConfiX, I asked for some opinion on the ROOL Forum today to the community let's see how that goes, but we  may want start looking at ConfiX protocol and see if it's suitable to configure the entire DME (including Global Controls and maybe Gadgets as well)

Damn the US spelling!!! We are doomed 🤣
We need super Steve P. to re-British it!

Also, I have been in the RISC OS world for a very very long time and we did have some issues in the past that went really too far. So I'd like to make sure the community here is shielded by any form of miss behaviour.

Good point.

Damn the US spelling!!! We are doomed rofl
We need super Steve P. to re-British it!

I think it's just 'behaviour'.

Ok given that we seems to be good at this point I am going to merge all the changes, thanks everyone!


Restic doesn't use S3 Dual-Stack endpoints, breaking IPv6 support

Output of restic version
$ /opt/restic/0.9.3/restic version
restic 0.9.3 compiled with go1.11.1 on linux/amd64
$

How did you run restic exactly?
This being on an host with only IPv6 connectivity.
The S3 bucket arrakis-v6lab-restic have been pre-created within the eu-central-1 region.
The following environment variables have been defined for AWS access.
$ export | grep AWS
declare -x AWS_ACCESS_KEY_ID="REDACTED"
declare -x AWS_DEFAULT_REGION="eu-central-1"
declare -x AWS_SECRET_ACCESS_KEY="REDACTED"
$

Doing the initial init attempt, based on example in documentation.
$ /opt/restic/0.9.3/restic --password-file ~/.secret/restic_password --repo s3:s3.amazonaws.com/arrakis-v6lab-restic init
Fatal: create repository at s3:s3.amazonaws.com/arrakis-v6lab-restic failed: client.BucketExists: Get https://s3.amazonaws.com/arrakis-v6lab-restic/?location=: dial tcp <IP_ADDRESS>:443: connect: network is unreachable

$

Followed up by explicitly providing a dual-stack endpoint.
$ /opt/restic/0.9.3/restic --password-file ~/.secret/restic_password --repo s3:s3.dualstack.eu-central-1.amazonaws.com/arrakis-v6lab-restic init
Fatal: create repository at s3:s3.dualstack.eu-central-1.amazonaws.com/arrakis-v6lab-restic failed: client.BucketExists: Head https://arrakis-v6lab-restic.s3-eu-central-1.amazonaws.com/: dial tcp <IP_ADDRESS>:443: connect: network is unreachable

$

Manually providing an IPv6 address for arrakis-v6lab-restic.s3-eu-central-1.amazonaws.com did the trick.
$ host s3.dualstack.eu-central-1.amazonaws.com
s3.dualstack.eu-central-1.amazonaws.com has address <IP_ADDRESS>
s3.dualstack.eu-central-1.amazonaws.com has IPv6 address 2a05:d050:4080:80:34db:4a31::
$

$ grep arrakis-v6lab-restic /etc/hosts
2a05:d050:4080:80:34db:4a31::    arrakis-v6lab-restic.s3-eu-central-1.amazonaws.com
$

$ /opt/restic/0.9.3/restic --password-file ~/.secret/restic_password --repo s3:s3.dualstack.eu-central-1.amazonaws.com/arrakis-v6lab-restic init
created restic repository 7601f5be4a at s3:s3.dualstack.eu-central-1.amazonaws.com/arrakis-v6lab-restic

Please note that knowledge of your password is required to access
the repository. Losing your password means that your data is
irrecoverably lost.
$

What backend/server/service did you use to store the repository?
AWS S3
Expected behavior
That restic would either use the S3 dual-stack endpoints by default, or that there would be a way to tell restic to do so.
Actual behavior
Restic uses IPv4-only S3 endpoints, unless "lied" to it.
Steps to reproduce the behavior

Ensure an IPv6-only environment
Follow the steps above.

Do you have any idea what may have caused this?
After having used the initially provided S3 endpoint to lookup the bucket location restic/minio-go appear to construct a new IPv4-only S3 endpoint based on github.com/minio/minio-go/s3-endpoints.go.
Confirmed by the fact that the following monkey patching solved my immediate problem.
$ git diff
diff --git a/vendor/github.com/minio/minio-go/s3-endpoints.go b/vendor/github.com/minio/minio-go/s3-endpoints.go
index 05892950..adc400e8 100644
--- a/vendor/github.com/minio/minio-go/s3-endpoints.go
+++ b/vendor/github.com/minio/minio-go/s3-endpoints.go
@@ -27,7 +27,7 @@ var awsS3EndpointMap = map[string]string{
        "eu-west-1":      "s3-eu-west-1.amazonaws.com",
        "eu-west-2":      "s3-eu-west-2.amazonaws.com",
        "eu-west-3":      "s3-eu-west-3.amazonaws.com",
-       "eu-central-1":   "s3-eu-central-1.amazonaws.com",
+       "eu-central-1":   "s3.dualstack.eu-central-1.amazonaws.com",
        "ap-south-1":     "s3-ap-south-1.amazonaws.com",
        "ap-southeast-1": "s3-ap-southeast-1.amazonaws.com",
        "ap-southeast-2": "s3-ap-southeast-2.amazonaws.com",
$

Do you have an idea how to solve the issue?

Work with the minio-go library so that it either provides dual-stack endpoints by default, or provides an option to do so.

and/or.

When the user provides a sufficient specific endpoint, continue using it.

Did restic help you or made you happy in any way?

I'm kind of happy that this bug gives me one more nudge to start learning Go.

Thanks for reporting this issue. It's indeed rooted in the minio-go library we're using for accessing s3. As far as I know it's necessary to contact s3 and then use the endpoint provided by s3 afterwards (for region configuration maybe?).
Ping @harshavardhana, is it a good idea to always use the dualstack endpoints for s3 by default in minio-go? Here's the relevant documentation that I found: https://docs.aws.amazon.com/AmazonS3/latest/dev/dual-stack-endpoints.html

Yes we can do that is dualstack endpoints always available ?

Based on https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region S3 dualstack endpoints appear to be available in all non-China regions.
@harshavardhana: Or did you mean/wonder something else?

Okay then we can simply default to those endpoints instead and never have to change it.

Cool! :+1:

Anything I can/should help out with?

Anything I can/should help out with?

Feel free to send a PR @andreaso to github.com/minio/minio-go

@harshavardhana I'm getting errors in our CI tests with AWS:
    suite.go:167: client.BucketExists: Head https://[secure].s3.dualstack.us-east-1.amazonaws.com/: 301 response missing Location header

Is this a known issue?

In this situation you haven't provided the right region

either GetBucketLocation API is disabled perhaps in your IAM policies for us to get the region directly.
region should be statically provided for the concerned bucket

Can you check, will validate on our end as well .

Hm, I'll have a look. It only fails occasionally, and only for Go 1.11. Our CI tests run with Go 1.9, 1.10 and 1.11, the former two pass the test...

RESTIC_TEST_CLOUD_BACKENDS=0

Oh I think the problem is perhaps in Redirect code which we have, perhaps S3 sends 301 without Location header and Go http is returning an error..
Can you provide a http trace of this situation ? using TraceOn etc?

Oh wow, I forgot, thanks for the reminder @andreaso!
I'll try to reproduce it locally, with a trace.

Indeed, the credentials used for testing are not allowed to query the location, hm:
$ go test -v ./internal/backend/s3 -run S3
---------START-HTTP---------
GET /restic-test-travis/?location= HTTP/1.1
Host: s3.amazonaws.com
User-Agent: Minio (linux; amd64) minio-go/v6.0.14
Authorization: AWS4-HMAC-SHA256 Credential=**REDACTED**/20190211/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=**REDACTED**
X-Amz-Content-Sha256: UNSIGNED-PAYLOAD
X-Amz-Date: 20190211T184959Z
Accept-Encoding: gzip

HTTP/1.1 403 Forbidden
Transfer-Encoding: chunked
Content-Type: application/xml
Date: Mon, 11 Feb 2019 18:49:59 GMT
Server: AmazonS3
X-Amz-Id-2: N9SoMrEpq6ru+xZUI3Z4dxlRiihdeZsZZSZm1BDFiKZOOMPM5ho+AWKqzsgRsLORq8oITaNMYBA=
X-Amz-Request-Id: 8CBA22298F5B3C59

f3
<?xml version="1.0" encoding="UTF-8"?>
<Error>AccessDenied<Message>Access Denied</Message><RequestId>8CBA22298F5B3C59</RequestId><HostId>N9SoMrEpq6ru+xZUI3Z4dxlRiihdeZsZZSZm1BDFiKZOOMPM5ho+AWKqzsgRsLORq8oITaNMYBA=</HostId></Error>
0
---------END-HTTP---------
--- FAIL: TestBackendS3 (2.61s)
    s3_test.go:308: run tests
    suite.go:167: client.BucketExists: Head https://restic-test-travis.s3.dualstack.us-east-1.amazonaws.com/: 301 response missing Location header
FAIL
FAIL	github.com/restic/restic/internal/backend/s3	2.618s

This worked before though, this was the IAM policy:
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "Stmt1494536175000",
            "Effect": "Allow",
            "Action": [
                "s3:DeleteObject",
                "s3:GetObject",
                "s3:PutObject"
            ],
            "Resource": [
                "arn:aws:s3:::restic-test-travis/*"
            ]
        },
        {
            "Sid": "Stmt1494536236000",
            "Effect": "Allow",
            "Action": [
                "s3:ListBucket"
            ],
            "Resource": [
                "arn:aws:s3:::restic-test-travis"
            ]
        }
    ]
}

I've now added s3:GetBucketLocation to the second list and now it works:
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "Stmt1494536175000",
            "Effect": "Allow",
            "Action": [
                "s3:DeleteObject",
                "s3:GetObject",
                "s3:PutObject"
            ],
            "Resource": [
                "arn:aws:s3:::restic-test-travis/*"
            ]
        },
        {
            "Sid": "Stmt1494536236000",
            "Effect": "Allow",
            "Action": [
                "s3:ListBucket",
                "s3:GetBucketLocation"
            ],
            "Resource": [
                "arn:aws:s3:::restic-test-travis"
            ]
        }
    ]
}

Is this something that minio-go just requires? I noticed that we also have it in the list of permissions in the tutorial here: https://restic.readthedocs.io/en/latest/080_examples.html

I just noticed: the error message is not helpful at all, and the last response also is not a 301, but a 403. Hm. At least the error message could be better :)

I just noticed: the error message is not helpful at all, and the last response also is not a 301, but a 403. Hm. At least the error message could be better :)

Well at that situation minio-go automatically falls back to us-east-1 and then allows S3 to send a redirect, if we see a location header we redirect there too @fd0 - so in a way lot of things failed :-)
Looks like for HEAD bucket S3 doesn't set a Location header but sets 301 nonetheless. Sort of incorrect HTTP standard implementation. HEAD doesn't have a body so Location header is the only way to redirect.

Is this something that minio-go just requires? I noticed that we also have it in the list of permissions in the tutorial here: https://restic.readthedocs.io/en/latest/080_examples.html

S3 has many regions and people have buckets in many different regions - it is cumbersome for users to keep typing this or statically configure it which allows them to not use other buckets in different regions. This is what AWS CLI or AWS SDKs lack.  So minio-go uses GetBucketLocation() to fetch the region and construct the right URL based on the bucket.
So yes you need those permissions.

Using the HTTP request debugging built into restic we can get a bit more information:
First, it tries to find out the location, response is 403:
$ DEBUG_FILES=debug/*.go go test -tags debug -v ./internal/backend/s3 -run S3

debug enabled
=== RUN   TestBackendS3
debug/round_tripper_debug.go:77	debug.loggingRoundTripper.RoundTrip	20	------------  HTTP REQUEST -----------
GET /restic-test-travis/?location= HTTP/1.1
Host: s3.amazonaws.com
User-Agent: Minio (linux; amd64) minio-go/v6.0.14
Authorization: AWS4-HMAC-SHA256 Credential=AKIAJSQEUXZSP56YBL6Q/20190211/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=9f1b2e0a258b9c0eaa4ed24a58eb2dcd40931f2d65a206c7c6c4202312578b5b
X-Amz-Content-Sha256: UNSIGNED-PAYLOAD
X-Amz-Date: 20190211T190842Z
Accept-Encoding: gzip

debug/round_tripper_debug.go:90	debug.loggingRoundTripper.RoundTrip	20	------------  HTTP RESPONSE ----------
HTTP/1.1 403 Forbidden
Transfer-Encoding: chunked
Content-Type: application/xml
Date: Mon, 11 Feb 2019 19:08:42 GMT
Server: AmazonS3
X-Amz-Id-2: Z/m5sFAHivYY5w8vc/icZAc0XoN7/DScaXdc+7aac29+2eSl5M3VzYDXoq217MitKba19US9+vU=
X-Amz-Request-Id: A3398AF745BCC5F3

f3
<?xml version="1.0" encoding="UTF-8"?>
<Error>AccessDenied<Message>Access Denied</Message><RequestId>A3398AF745BCC5F3</RequestId><HostId>Z/m5sFAHivYY5w8vc/icZAc0XoN7/DScaXdc+7aac29+2eSl5M3VzYDXoq217MitKba19US9+vU=</HostId></Error>
0

Next, it tries listing the files, and gets a 301 response without a Location header, but the endpoint restic-test-travis.s3.dualstack.eu-central-1.amazonaws.com is in the response XML:
debug/round_tripper_debug.go:77	debug.loggingRoundTripper.RoundTrip	20	------------  HTTP REQUEST -----------
GET /?delimiter=%2F&max-keys=1000&prefix=test-1549912122128613913%2Fkeys%2F HTTP/1.1
Host: restic-test-travis.s3.dualstack.us-east-1.amazonaws.com
User-Agent: Minio (linux; amd64) minio-go/v6.0.14
Authorization: AWS4-HMAC-SHA256 Credential=AKIAJSQEUXZSP56YBL6Q/20190211/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=025a102a07876af7e544b716988db57592c0e562365a6ca64b2ff01bcb0ea15a
X-Amz-Content-Sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
X-Amz-Date: 20190211T190842Z
Accept-Encoding: gzip

debug/round_tripper_debug.go:90	debug.loggingRoundTripper.RoundTrip	20	------------  HTTP RESPONSE ----------
HTTP/1.1 301 Moved Permanently
Transfer-Encoding: chunked
Content-Type: application/xml
Date: Mon, 11 Feb 2019 19:08:43 GMT
Server: AmazonS3
X-Amz-Bucket-Region: eu-central-1
X-Amz-Id-2: 9jEi8t+H3Tdm5u3q9hMUVbul/5kiv/6Ndt3uueeQbO9gp/12ZHd2iu/TSK6LMi//D25w9K4qfC8=
X-Amz-Request-Id: A06FCBD6F31830EF

1e6
<?xml version="1.0" encoding="UTF-8"?>
<Error>PermanentRedirect<Message>The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.</Message><Endpoint>restic-test-travis.s3.dualstack.eu-central-1.amazonaws.com</Endpoint><Bucket>restic-test-travis</Bucket><RequestId>A06FCBD6F31830EF</RequestId><HostId>9jEi8t+H3Tdm5u3q9hMUVbul/5kiv/6Ndt3uueeQbO9gp/12ZHd2iu/TSK6LMi//D25w9K4qfC8=</HostId></Error>
0

Very odd that the service returns 301 without Location, hm.

When minio-go version could upgraded to 6.0.14, NetApp S3 Object Storage is giving problems.
See: https://github.com/restic/restic/issues/2273


Splunk w/ SSL enabled for HEC - there is no warning for incorrect SSL configuration

rancher/rancher:master 9/10
When the SSL configuration is incorrect on Rancher (invalid key or any of the certs), there is no warning and logs do not appear in Splunk.
Saving the configuration appears successful, but looking in fluentd logs, you can see there is an error connecting:
2018-09-10 20:39:40 +0000 [warn]: #0 failed to flush the buffer. retry_time=5 next_retry_seconds=2018-09-10 20:39:40 +0000 chunk="5758a58f346673cb1a16d32955e93ef9" error_class=OpenSSL::SSL::SSLError error="SSL_connect returned=1 errno=0 state=error: certificate verify failed"
  2018-09-10 20:39:40 +0000 [warn]: #0 suppressed same stacktrace

To reproduce:

Enable SSL on Splunk HTTP Event Collector
Enable Splunk logging in Rancher, SSL enabled, with an invalid certificate or key

Expect:

A warning about being unable to connect due to SSL error

Actual:

No displayed warning / message

Moving out because logging the error in the logs is sufficent for now


[CO] More flexibilty for Machine / Lamination combinaison

Hello all,
We would like to simulate a MachineIPMSM with a LamSlotMulti (+ winding) on the stator. The issue is that for now the Machine class definition is strict: MachineIPMSM needs a LamSlotWind as a stator. So the question would be how should we add more flexibility to this ? For now I see two options:

Change the stator type to Lamination, add "has_slot", "has_winding" as Lamination daughters methods, and check that the lamination fits the machine needs in MachineIPMSM.check. Anyway the GUI will always provide the correct lamination types.
Update the class generator to allow several kind of object as type for instance (LamSlotWind, LamSlotMultiWind) after all the type check is a class generator constraint not a python one.

On a side note, we should maybe take the opportunity to consider that we may want to alter the "normal" behaviour of the machine to check some effect on simpler structure. Yes I'm thinking about Slotless_CEFC.json (used in Tests/Validation/Magnetics/test_FEMM_slotless.py) which should have a Lamination object as a stator but we use a stator with Zs=0 and a winding without conductor to "convert LamSlotWind to Lamination" which is not really clean. Then solution one would be better in this case.
We can also consider that LamSlotMag was reorganized in #283 from list of magnet to a single magnet and that the list version will be added back one day (I realize that we could have LamSlotMagMulti and LamSlotMultiMag as two different kind of Lamination).
I'm sure that we already talk about this topic but I can't find the corresponding issue / discussion :/
Any feedback or insight on which solution to choose (or maybe a third solution) would be welcomed :)
Best regards,
Pierre

mostly solved in #399
I close the issue for now but some aspect of this issue may need further investigation later on.


engine: enlarge buckets

add le 4.096 and 8.192 so we can know the long command time better.
@ngaut @BusyJay @hhkbp2

LGTM

LGTM


Deprecate cpu and memory exceeds alerts

Deprecate the KubeVirtComponentExceedsRequestedCPU and KubeVirtComponentExceedsRequestedMemory alerts, which the user can't fix.
jira-ticket: https://issues.redhat.com/browse/CNV-37900
Special notes for your reviewer:

CNV-38320 will handle adding a metric to be able to track this issue without creating noise to the user.

KubeVirtComponentExceedsRequestedCPU and KubeVirtComponentExceedsRequestedMemory alerts are deprecated

/lgtm

@ctomasko please let me know who should review and update the run books at this point. Thanks.

/ hold until doc team will approve this.

/hold until doc team will approve this.

@ctomasko please let me know who should review and update the run books at this point. Thanks.

@sradco @avlitman  I have 2 writers who are updating the runbooks for v4.16. Is this alert being deprecated for v4.16 only, or does this apply to previous versions? If it's 4.16, we have not sync'd the upstream/dowstream yet, see epic https://issues.redhat.com/browse/CNV-36859.
If this pertains to previous or the current 4.15 version, I'll need to know that I can open a Jira for the writing team.

/unhold since doc is handling @sradco

/unhold

/hold
@ctomasko Should we merge updated to this repo or only create PRs and ask for your review?

Hi @ousleyp will appreciate if you can review again. also should we merge updates to this repo or only create PRs and ask for your review?

/unhold

/lgtm


After realignment of submodels

#Hi,
I have performed a realignment of my 112 submodels and would like see at the final product in the viewer. How can I do so? Or is it only possible to have a look at one submodel at a time?

Hi @fabianschenk,
thanks for your reply. But with your suggestion I would still be able to open only one of the reconstruction files at the time right?
My question however, is since all the single reconstruction files of my submodels are part of a big one, splitted in these very submodels, if it wouldn't be possible to visualise the whole reconstruction in one step or one finale file (at least I thought, that this is the purpose of the alignment command which I executed at the end)
Cheers

Hi @Aladgit ,
I haven't used the viewer in a very long time but from what I remember, you can select multiple reconstruction files from the list and visualize them jointly.
Can you post of screenshot of how you visualize a reconstruction?
Best,
Fabian


Fix a few typos. Make it more copy-pastable

I started pulling this into a livebook and hit a few errors from the example. This should help.

Thanks a bunch!  Feel free to tag any bugs in the repo and I'll try to fix them for you, or you can submit PR yourself.


Should install rimraf as its primary dependency

This package use rimraf as a module in this file.
But rimraf is not installed via dependencies in own package.json
Now, rimraf is installed from other dependency's dependency like below.
~/d/generator (main)> git log --oneline -n 1
4e9dbcf (HEAD -> main, origin/main, origin/HEAD) fix: bug when tracing/uninstalling the base package. (#206)
~/d/generator (main)> npm i --omit=dev
~/d/generator (main)> npm ls rimraf
<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>  └─┬<EMAIL_ADDRESS>    ├─┬<EMAIL_ADDRESS>    │ └──<EMAIL_ADDRESS>deduped
    └──<EMAIL_ADDRESS>~/d/generator (main)>

In some cases, failing to run fetch-node.js missing rimraf.
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'rimraf' imported from<EMAIL_ADDRESS>    at new NodeError (node:internal/errors:372:5)
    at packageResolve (node:internal/modules/esm/resolve:954:9)
    at moduleResolve (node:internal/modules/esm/resolve:1003:20)
    at defaultResolve (node:internal/modules/esm/resolve:1218:11)
    at ESMLoader.resolve (node:internal/modules/esm/loader:580:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:294:18)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:80:40)
    at link (node:internal/modules/esm/module_job:78:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}

Yep, looks like depcheck shows a bunch of depenency issues:
0 bubblyworld @ ~/Workspace/javascript/guy-bedford/generator - [guy-housekeeping] $ depcheck
Unused dependencies
* @jspm/core
Unused devDependencies
* @swc/cli
* @swc/core
* chalk
* cross-env
* kleur
* lit-element
* mocha
* open
* rollup
* typedoc
Missing dependencies
* @jspm/generator: ./test/runMochaTests.js
* #test: ./test/deno/babel.test.js
* #fetch: ./src/generator.ts
* rimraf: ./src/common/fetch-node.ts
* vscode: ./src/common/fetch-vscode.ts

I think some of the devdependencies are needed for the chomp build, but I'll fix up the rest 🙏


Backend: https://nrog-93-backend.apps.silver.devops.gov.bc.ca/

Your Pull Request code is being promoted!  Please follow the link below.
Main Merge Workflow


How to use it for specific routes like for PUT and POST only and not for GET.

I have a route for 'api/cities'. I have created 2 roles, 'admin' and 'user'. Now I want that 'user' can access get route and admin can access all routes including POST, PUT etc.
Now when I use
Entrust::routeNeedsPermission( 'api/cities*', array('manage_cities',), null, false );
My POST and GET both get manage_cities auth filter. I want it separately how to do it?

+1

What is the best way to check the user permission? in relation to the get and post..
For example, I have a role 'admin' with a permission 'view_posts'.
I inside in controllers? in routes.php?
function show($id){
  if(! $user->can(['manager-posts', 'view-posts'])) Redirect::route('admin.dashboard')
}

In all methods of controller?

I did something like this:-
Route::group(array('prefix' => 'api'), function()
{
	Route::resource('cities', 'CitiesAPIController');
});

Route::filter('manage-city', function(){

	if (! Entrust::can('edit-city') && $_SERVER['REQUEST_METHOD']!='GET') // Checks the current user
	{
		$API= new Twiddle\Http\Controllers\ApiController();
		return $API->noPermissions('User Unauthorized','You are not allowed to view cities');
	}
});

Route::when('api/cities*', 'manage-city');


OSQLNonBlockingQuery misbehaves on bad SQL input

When using OSQLNonBlockingQuery with bad (malformed, having bad syntax) query, the OSQLNonBlockingQuery will misbehave by not reporting it back to caller in any way. Even worse, the caller remains unaware what actually happened.
On execute OSQLNonBlockingQuery will start another thread:
https://github.com/sonatype/orientdb/blob/aecb7a891e945575c3ceb6ff29341ca68551df98/core/src/main/java/com/orientechnologies/orient/core/sql/query/OSQLNonBlockingQuery.java#L246
But the execution will fail (on newly started thread) but nothing will notify the listener about it, nor end method will be invoked of listener.
Example stack trace (SQL broken intentionally for example sake):
Exception in thread "Thread-121" com.orientechnologies.orient.core.command.OCommandExecutorNotFoundException: Cannot find a command executor for the command request: sql.SELECTbrokenForExample
at com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.parse(OCommandExecutorSQLDelegate.java:72)
at com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.parse(OCommandExecutorSQLDelegate.java:42)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.command(OAbstractPaginatedStorage.java:1431)
at com.orientechnologies.orient.core.sql.query.OSQLQuery.run(OSQLQuery.java:72)
at com.orientechnologies.orient.core.query.OQueryAbstract.execute(OQueryAbstract.java:33)
at com.orientechnologies.orient.core.sql.query.OSQLNonBlockingQuery.access$001(OSQLNonBlockingQuery.java:48)
at com.orientechnologies.orient.core.sql.query.OSQLNonBlockingQuery$1.run(OSQLNonBlockingQuery.java:251)
at java.lang.Thread.run(Thread.java:745)
Also, note the use of printStackTrace

Hi @cstamas
Thanks for reporting, I'm working on a fix right now
Thanks
Luigi

Hi @cstamas
invoking the end() method should be an easy fix, the real problem is that OCommandResultListener does not have an onError() method, so the thread cannot communicate when an error occurs.
I'm thinking about defining a new interface (something like OCommandErrorListener) for this  purpose, but we have to evaluate if it can be done in a hotfix release.
I'll let you know soon
Thanks
Luigi

Another area of improvement might be to use some thread pool maybe, instead by creating a thread "manually", as that could offer better control and resource use over spawned threads too. Just throwing out ideas :smile:
Thanks!

You are absolutely right, it's in the roadmap
Thanks
Luigi

Similar stack trace (but other reason, basically a bug, out of bound attempt to use DB):
Exception in thread "Thread-171" com.orientechnologies.orient.core.exception.ODatabaseException: Cannot copy a closed db
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.copy(ODatabaseDocumentTx.java:497)
at com.orientechnologies.orient.core.sql.query.OSQLNonBlockingQuery$1.run(OSQLNonBlockingQuery.java:249)
at java.lang.Thread.run(Thread.java:745)

Hi @cstamas
I just fixed this problem. The fix will be released in 2.1.9 and 2.2.
I'm closing this issue and I created this
https://github.com/orientechnologies/orientdb/issues/5484
to track the enhancement of the OCommandResultListener interface
Thanks
Luigi


📓 connecting from a Windows-domain account [skip_ci]

The New Solution/Problem/Issue/Bug:
Recently came across an issue when attempting to connect to DDEV via SSH from a domain-authenticated account on Window 10.
This a typical setup for Windows PCs in a work enviroment (Windows server).
How this PR Solves The Problem:
This PR outlines

how to check if you are on a domain-authenticated account
correct ssh command required if true

Related Issue Link(s):
#198

I apologize for being so backlogged. My wife and I are still on a road trip in the western US. Hi From a trailer in the campground at McDowell Regional Park north of Phoenix, AZ.


NPE in ClaimContextCalculator

As of griefprevention-1.12.2-<IP_ADDRESS>8 with LuckPerms-Sponge-4.3.109 & spongeforge-1.12.2-2768-7.1.6-RC3616, an NPE is reported in console when no permissions are set yet.
This was found in Single player while trying to reproduce another issue.
Steps to reproduce:

delete sponge & luckperms configuration
start single player with just griefprevention, luckperms and spongeforge
type '/lp' command

Full logs
https://gist.github.com/LemADEC/f0958886d5e722c45667af55c9408448
Also, it appears GP doesn't detect a permission plugin, not sure why, this might be the rootcause here:
[23:03:17] [Server thread/TRACE] [FML]: Sending event FMLServerAboutToStartEvent to mod spongeforge [23:03:17] [Server thread/ERROR] [griefprevention]: Unable to initialize plugin. GriefPrevention requires a permissions plugin such as LuckPerms. [23:03:17] [Server thread/TRACE] [FML]: Sent event FMLServerAboutToStartEvent to mod spongeforge [23:03:17] [Server thread/DEBUG] [FML]: Bar Step: ServerAboutToStart - SpongeForge took 0.024s [23:03:17] [Server thread/TRACE] [FML]: Sending event FMLServerAboutToStartEvent to mod griefprevention [23:03:17] [Server thread/TRACE] [FML]: Sent event FMLServerAboutToStartEvent to mod griefprevention

I do not support GP running in SP.


file vs inline config

The docs mention a [docker] config section in the traefik.yoml configuration file, but the example for running traefik via docker mention similar options on the command line:
--web --docker --docker.domain=...
Are these 2 ways to set the configuration equivalent?

Yes.

I've tried launching a traefik container via docker-compose without including the command --web --docker ... argument, having these same arguments setup in the traefik.toml config file (which was mounted as a volume). Traefik fails to launch.
To be precise: The container is running, but the logs are empty, and the web ui page loads intermittently.

@opichon
Please make and effort when you report an issue on an open source software.

Traefik fails to launch.

Is really not sufficient for us to investigate on this.
We need you config file, your version, your DEBUG logs, etc...

logs are empty

Have you at least tried to launch Traefik in DEBUG?

logs are empty: that's because the log is empty (after launch). Nothing. Nada. And traefik is running in DEBUG mode.
As I explained: the container is running, but the web ui page loads intermittently.

Apologies: trawfik was indeed not running in DEBUG mode. However, having set logLevel = "DEBUG" in traefik.toml, the log is definitely not empty.
Treafik is working, in the sense that trying to open one of the urls being proxied does open that url.
However, the web ui is not working: every other time I refresh the page, I get an error message "server unreachable". When the web ui page does display, the providers section is empty.


multiple "Mime-Version:" headers

Emails generated by gitgitgadget may contain multiple Mime-Version: headers. For example:
Message-Id<EMAIL_ADDRESS>Date:   Wed, 03 Oct 2018 10:12:17 -0700 (PDT)
In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS><EMAIL_ADDRESS>From:   "=?UTF-8?q?Martin=20=C3=85gren?= via GitGitGadget"
<EMAIL_ADDRESS>Subject: [PATCH v2 2/3] builtin/commit-graph.c: UNLEAK variables
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
To<EMAIL_ADDRESS>Cc:     Junio C Hamano<EMAIL_ADDRESS>        =?UTF-8?q?Martin=20=C3=85gren?=<EMAIL_ADDRESS>Sender<EMAIL_ADDRESS>List-ID: <git.vger.kernel.org>
X-Mailing-List<EMAIL_ADDRESS>
(Note that the Content-Type: and Content-Transfer-Encoding: headers are also unnecessarily duplicated.)
According to the BNF grammar of RFC 2045 § 3, it appears that only a single top-level Mime-Version: header is allowed.
Moreover, multiple Mime-Version: headers may cause delivery problems. For instance, anti-spam software may reject such email:
X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "MIME-Version"
X-Quarantine-ID: <...>

I had a look at the latest mail sent by GitGitGadget and it appears not to have that problem<EMAIL_ADDRESS>However<EMAIL_ADDRESS>does have the reported problem. The most noticeable difference I can see is that the latter has non-ASCII characters in its Cc: header.

I could imagine that the culprit is https://github.com/gitgitgadget/gitgitgadget/blob/33a21e5625d408e1deab5d42bc9ff7eb2bc1d28f/lib/patch-series.ts#L659: is format-patch smart enough to override the MIME-Version header that was specifically added when the Cc: header requires one?

It looks like git-format-patch adds those headers unconditionally if it detects non-ASCII in any header or the body (without consulting whatever extra headers were added by --add-header=).
Unfortunately, 43bdf5b (cli: force 8-bit/MIME headers, 2018-04-29), which made gitgitgadget emit Mime-Version: (and Content-Type: and Content-Transfer-Encoding:), doesn't explain the reason for doing so. One might wonder, therefore, if an easy "fix" is to update gitgitgadget to stop emitting those headers and instead let git-format-patch do so when needed.

an easy "fix" is to update gitgitgadget to stop emitting those headers and instead let git-format-patch do so when needed.

Sadly, no. GitGitGadget also may add headers that necessitate those MIME/Content-* headers. So we definitely need to force them.
What we can do, grudgingly, is to post-process the generated mbox.


Great Stuff. However, cannot comprehend what column "Proportion_DE_2020" in Data/age_data.csv

Thanks for the comment.
Proportion_DE_2020 is the proportion of population within the age cohort in Germany in year 2019.
I used the pyramid age to get the age distribution and then group them into buckets, for example: proportion of population from age 0-9 in Germany is ~ 17% of the total population / for age 10-19 is ~ 16% of the total population and so on...

Total Population = 83M
Proportion for Age bucket 0-9 years: 9.2% (approx 8M)
Moreover, Age Bucket 50-59 should represent the largest value for this?
tl;dr -->> Doesn't the column "Proportion" rather than "Proportion_DE_2020" represent this more?

Thanks a lot for pointing out!
Seems like I assigned the wrong column names and used it for my projections.
I have changed the codes in my github as well as on medium article to match the correct rate. Turns out the social distance 90% looks even better now with the correct rate (only 4k deaths after 6 months)
Again thanks :) and stay safe!


(vim) Fix vimtutor

Stop manually generating vimtutor.bat and let install.exe generate it.
Add Write-Debug. Fix style.

Description
vimtutor.bat is a batch file which is generated in windir by install.exe.
Batch files like this provide vim related command on cmd.exe/Powershell: vim, gvim, vimtutor commands etc.
install.exe is a program which are to be invoked after unzipping Vim install archive.
We were copying vimtutor.bat from unzipped folder, but it's wrong.
vimtutor.bat should be generated by install.exe.
This PR includes fix for vimtutor.bat and coding style for blank lines.
Motivation and Context

vimtutor.bat from unzipped folder differs from what install.exe generates. We were using the wrong one and it keeps vimtutor command on cmd.exe/Powershell from launching with GVim, the GUI version of Vim.
The help description of install.exe doesn't include vimtutor.bat (vim/dosinst.c#L2377) and this led to this mistake.
I found this bug while inspecting the NSIS installer which utilizes install.exe to generate the correct vimtutor.bat.

I found this bug while inspecting #1943, but it's not related to it.
How Has this Been Tested?

With majkinetor/chocolatey-test-environment,
I installed the package, ran vimtutor in Powershell and uninstalled it.
When installing, I checked batch files generated in windir are the correct ones.
And I executed vimtutor on Powershell and it launched on GVim without any warnings/bugs.
When uninstalling, I saw batch files were removed as expected when I uninstalled the package.
Screenshot (if appropriate, usually isn't needed):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Migrated package (a package has been migrated from another repository)

Checklist:

[x] My code follows the code style of this repository.
[ ] My change requires a change to documentation (this usually means the notes in the description of a package).
[ ] I have updated the documentation accordingly (this usually means the notes in the description of a package).
[x] I have updated the package description and it is less than 4000 characters.
[x] All files are up to date with the latest Contributing Guidelines
[x] The added/modified package passed install/uninstall in the chocolatey test environment.
[x] The changes only affect a single package (not including meta package).

:white_check_mark: Package verification completed without issues. PR is now pending human review

@matsuhav are you in a position to respond to the comments from @AdmiringWorm?

Sorry for the late response about CODEOWNERS file. I was busy and overlooked your comment @AdmiringWorm .
Thanks @gep13 .
I think it is more suitable for core vim contributors to be one of the maintainers because I'm not tracking the changes of the vim installation process any more. And the ps1 scripts of vim is simple enough to be maintained by anyone.

Sorry for the late response about CODEOWNERS file. I was busy and overlooked your comment @AdmiringWorm . Thanks @gep13 .
I think it is more suitable for core vim contributors to be one of the maintainers because I'm not tracking the changes of the vim installation process any more. And the ps1 scripts of vim is simple enough to be maintained by anyone.

While I agree, having one of the core vim contributers would be appropriate to have as one of the maintainers, we still base the decisions on who contributes to the package and not who contributes to the application itself.
Anywas, as I mentioned this isn't required yet, but will be in the future and once that is in place any pull requests to a package without a code owner may be denied until there is a code owner for the package (the code owner will mainly be responsible for looking over the pull requests made by other users).

@matsuhav your changes have been merged, thanks for your contribution 👍
These changes will be made available for any new package that gets submitted to CCR after this date.

Thank you for reviewing and merging my changes!

we still base the decisions on who contributes to the package and not who contributes to the application itself.

I couldn't agree more. Thank you for explaining it clearly. When it becomes required and still my codes are there, I'm willing to be the one :)