Tang Nano Problem

FYI
On my Tang Nano, when I did all of this.
    cd examples
    yosys -p "synth_gowin -json blinky.json" blinky.v
    nextpnr-gowin --json blinky.json \
                  --write pnrblinky.json \
                  --device GW1NR-UV9QN881C6/I5 \
                  --cst tec0117.cst
    gowin_pack -d GW1N-9 -o pack.fs pnrblinky.json
    # gowin_unpack -d GW1N-9 -o unpack.v pack.fs
    # yosys -p "read_verilog -lib +/gowin/cells_sim.v; clean -purge; show" unpack.v
    openFPGALoader -b tangnano pack.fs # Tang Nano

I could not get it to finish loading.    I even replaced the firmware of the CH552 chip.
Anyway, after a lot of flailing and reading, I tried some other .fs (from https://github.com/racerxdl/tangnano-yosys-hello)
and that worked fine.
After that, in apicula/examples, I did a full make.  Then, this one worked
openFPGALoader -b tangnano blinky-tangnano.fs
So, maybe "pack.fs" isn't what should be on the main README?

You are passing the wrong device for all the commands. You're not the first, so I GREATLY welcome a PR to the readme that suggests wording that would have made this clear to you.
Or maybe people just skim the readme and we should copy-paste the commands for every supported board.
Or put placeholder commands <DEVICE> so that the user is forced to think about the parameters.
Every reference to a device family GW1N-9, a specific device GW1NR-UV9QN881C6/I5 and a specific board tec0117.cst, tangnano needs to match. Note that you can pass GW1NR-UV9QN881C6/I5 to gowin_pack as well for uniformity.

ASAP I add check to don't flash a bitstream when it's fs IDCode didn't match FPGA IDCode.

As a bit of background, I was trying to understand the toolchain.  I just received the Tang Nano, and I wanted to try to use it on my Mac without needing the official tools and Windows.
The commands I did
cd examples
yosys -p "synth_gowin -json blinky.json" blinky.v
nextpnr-gowin --json blinky.json
--write pnrblinky.json
--device GW1NR-UV9QN881C6/I5
--cst tec0117.cst
gowin_pack -d GW1N-9 -o pack.fs pnrblinky.json
openFPGALoader -b tangnano pack.fs # Tang Nano
were directly copy/paste from the readme.md.  I didn't even consider that I needed to edit the device until you just mentioned it here.  I now see that the readme mentions the supported boards and their devices, but I would not have realized that it was the problem here at all.  I think maybe the readme.md could be updated to specifically tell the reader that they need to add in the  based on their board.
As trabucayre mentioned, adding that check during the flash process would be very helpful, but that'd be in openFPGALoader, right?

I've updated openFPGALoader to check coherence. Now this type of issue will not happens anymore.

Actually #30 aims to change the readme in pretty much this way, but wasn't merged because it states in very uncertain terms things that should be unambiguous. Does that look good to you? Feel free to chime in with improvements. Maybe I should just merge it and fix it up myself.

I like this addition, "The example below is for the Trenz TEC0117. For other devices, use the device IDs listed above, and replace tec0117 with runber or tangnano accordingly."
I also see that he changed the 3 openFPGALoader commands to just one, BUT he should have added a better comment there.
One thing that tripped me up with the readme was that it says "compile a blinky" and then it shows the steps to do that.  It was obvious to me that there were 3 options for the openFPGALoader command, and that made me choose one of them (for my board).  BUT there weren't options for the previous commands.
So, I think maybe something like this is better.
The example below is for the Trenz TEC0117. For other devices, use the device IDs listed above, and replace tec0117 with runber or tangnano accordingly.
cd examples
make make blinky-tec0117-prog # or blinky-runber-prog or blinky-tangnano-prog
or
cd examples
yosys -p "synth_gowin -json blinky.json" blinky.v
nextpnr-gowin --json blinky.json
--write pnrblinky.json
--device GW1NR-UV9QN881C6/I5 \  #set this to your device like GW1NR-UV9QN881C6/I5, GW1N-LV1QN48C6/I5, GW1N-UV4LQ144C6/I5, etc
--cst tec0117.cst  #choose the cst file for your board
gowin_pack -d GW1N-9 -o pack.fs pnrblinky.json # You may need to change GW1N-9, runber uses GW1N-4 and tangnano uses GW1N-1
# gowin_unpack -d GW1N-9 -o unpack.v pack.fs
# yosys -p "read_verilog -lib +/gowin/cells_sim.v; clean -purge; show" unpack.v
openFPGALoader -b tec0117 pack.fs  #select tec0117, runber, or tangnano

Ok I updated the readme. I hope this makes it clearer.


[Feature] Google Analytics config - use access code instead of Oauth client id

Version information

Laravel: v5.8
Voyager: v1.2.3
PHP: 7.2
Database: MySQL 5.7

Description of problem

At the moment Google Analytics integration is being done using an Oauth2 client key, which has the following disadvantages:

Every user has to authorize with their google account separately. The authorization is not shared. This is difficult for normal admin users that have no idea what is a Google Analytics account. Moreover, the integration has to be configured multiple times for multiple users.
Because the authorization is not shared, different accounts can have access to different property. There's no way to stick the admin dashboard to a Google Analytics property. This can be misleading for unskilled users.
To see the data of the same site, different laravel accounts need to share the same google account to authorize, or the Google analytics property must be pre-shared between accounts.

Proposed solution
I looked at the Google Analytics wordpress plugin and what it is doing is to use an access code (see: https://exactmetrics.com/quick-start-guide/): an admin will configure the access code once, and locked to a property. Any other users log in later can see Google Analytics data without having configure Google Analytics for themselves again. The data is consistent between users.
I'm willing to create a PR for this, but please let me know if that makes sense.
Thanks.

@emptynick @fletch3555 What do you think about this?

I'm not necessarily opposed to the change, but I'm not sure I understand your reasoning for it.  Can you explain what you mean by "each user"?

Maybe you're unsure about this? Every user has to authorize with their google account separately.
By every user I mean the Voyager admin users. Each of them has to configure Google Analytics on their own to have the GA graphs show up in Voyager dashboard.
Using the proposed solution an admin only needs to configure Google Analytics integration once and then other admin can see the GA graphs.

Stuck with this issue myself. I think that should really be the main way to configure it. What's the point of adding it to the website dashboard if you still need to log in via google.


[MB-1564] MilMove can look up NumberDaysSIT

Description
This PR implements the lookup for NumberDaysSIT.
Setup
make server_test

References

Jira story for this change

Messages

:book:
:link: MB-1564

  Generated by :no_entry_sign: dangerJS against 0e9ba4637616a3c24ff2092973cec0751f9dbc6f

@jacquelineIO, ready for another review!


Problem with running FromScratch on Windows 10 x64

Hello. I have a problem with running FromScratch in Windows 10 x64. Previously it was ok, but after using CCleaner app can't start. After downloading latest version of FromScratch again and replacing all files in the folder error still exists.
It would be great to catch such errors and gently restore app to the working state if it is possible.

This doesn't seem like an error I can gently recover from. Apps like CCleaner can do a lot of damage by deleting files in this way.
 Please go to your appData folder, (http://www.pcworld.com/article/2690709/windows/whats-in-the-hidden-windows-appdata-folder-and-how-to-find-it-if-you-need-it.html ) and rename the fromscratch folder to make a backup, and try restarting the application again. This doesn't delete the content in your fromscratch, as that resides in a different folder.

Sorry, but this solution didn't work for me.
note: after launch folder FromScratch is restored, but it is empty

I can't help out any more here, I don't have enough windows knowledge.

Not sure if this is similar but I just got this error on Windows 10 64 bit after trying to move the window. First time this has happened and I use this app daily.
I restarted the app, & in my case the data was still there.
Hope this helps somehow.

Closing this ticket. If it's still an issue even with 1.4.2, please feel free to re-open!


hardware sustain pedal doesn't work

Hello, sustain pedal doesn't work in sfizz, this is on NixOS with pipewire-jack.
When changing automation sliders by hand in ardour sfizz actually gives sustain like it should, but when using pedal, no, even tho ardour actually shows that slider value jumps from 0 to 127 and back to 0.
Pedal works like it should in carlas sfz player and in other LV2 plugins.
Same problem occurs with LV2, VST3 and standalone jack client.
I have tested latest commit and 1.2.0 release, tested on nixos in ardour and in carla.
I actually hear pedal down noise effect, but no sustain.
It seems event handling is flaky.

Do you have some SFZ file for me to test?

Do you have some SFZ file for me to test?

The sustain itself doesn't work on any of the SFZ files, you can use builtin sinewave sample, you can hear pedal noise effect on https://github.com/sfzinstruments/SalamanderGrandPiano
Thanks for reminding me of this, I will try to make a container with captured midi or something if you can't reproduce it.
I've been using liquidsfz for some time, it doesn't have this bug.

OH, actually i have a clue @paulfd
It seems my keyboard produces events on 3 channels for some reason, end they look like this:
 302: b0 40 7f control change (channel  0): controller  64, value 127
 350: b1 40 7f control change (channel  1): controller  64, value 127
 350: b2 40 00 control change (channel  2): controller  64, value   0

Only first one has actual notes
Here is a sample mid file: https://redpilled.dev/dump/sustain-broken-sample.mid
Tested with
sfizz_render --midi out2.mid --wav out2.wav --sfz ~/documents/sfz-instruments/SalamanderGrandPiano-SFZ+FLAC-V3+20200602/SalamanderGrandPiano-V3+20200602.sfz

But when that 2 channels are removed then sustain works like it should.

OK I probably know what's happening. The sfizz engine doesn't consider channels at all, so they're basically ignored in midi messages. In your case, there's a 0 CC64 message in the first burst of CC that (I guess) are linked to the "pedal down" event. This would mean that for sfizz, the pedal is pressed and immediately lifted. This would explain why you hear sustain pedal noises but no actual sustain.
Which keyboard is this? I suspect this is some high-res MIDI or MPE shenanigan.

One fix would be for the plugin to filter channel 0 messages instead of ignoring it. I'll try to look around at what similar plugins are doing.

Which keyboard is this? I suspect this is some high-res MIDI or MPE shenanigan.

Yamaha PSR-E373
Found a post about this issue on some forum https://yamahamusicians.com/forum/viewtopic.php?t=17565

I'll close this issue for now, feel free to reopen if you have new info.

@paulfd but this wasn't fixed as far as I understand, right? Why close it then?

I gave a look at the post you linked and wondering if the last post solution was useful for you (other than wondering where is the answer he got from an user not listed there, if not someone changing nick meanwhile).

@kanashimia since you linked a forum post hinting at a solution I figured you used that solution.
If anything it's not a problem of the sfizz engine. It might be one of the plug-ins so we might reopen it there as an improvement rather than a bug. The question would be to ignore midi messages coming from anything but channel N. I'm sure though that someone might come up and use channel M and not N and be sad about it, so what I would really need is add some parameter to restrict midi messages to some channel.
You could solve it in the meantime your DAW by inserting some midi filtering.


Same Helm image options across all charts

We have slightly different image options across all our charts. We should standardise on a single set of options (probably the superset).
/kind feature

Implemented!


Add new algorithms and complete unfinished algorithm implementations

Add the followings:
Number Theory
This includes basic number theory problems even starting from GCD, LCM, modulo operations, Fermat’s theorem, etc.
You can also follow some number theory problems from Coding Ninjas Course for learning in-depth about these concepts.
Greedy Algorithm
Binary Search
Dynamic Programming
Divide and Conquer
Hash tables, maps
Trees, BST, BIT, Trie
Binary Indexed Tree or Fenwick tree
Segment Tree (RMQ, Range Sum and Lazy Propagation)
Bit masking algorithms
String matching algorithms like KMP, Rabin Karp, etc.
Graph algorithms like DFS, BFS, Dijkstra, Floyd War shall, MST, etc.
Topological Sort
Johnson’s algorithm
Articulation Points (or Cut Vertices) in a Graph
Bridges in a graph

In progress

Combinatorics, Algebra, Number Theory, Geometry, Calculus,

https://iq.opengenus.org/

Quantum Algorithms: https://en.wikipedia.org/wiki/Quantum_algorithm

https://www.cs.usfca.edu/~galles/visualization/Algorithms.html

https://visualgo.net/en

https://the-algorithms.com/

https://www.cs.usfca.edu/~galles/visualization/Algorithms.html


Fix probable typo in Yubikey JPA doc

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


Mismatched Types in wstp-0.2.7

Compiling the new version led to the following errors on my platform (Windows 11, Mathematica 13.2.1, Rust 1.67)
error[E0308]: mismatched types
   --> C:\ ... \wstp-0.2.7\src\lib.rs:306:15
    |
306 |         code: sys::WSTerminateMessage,
    |               ^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32`

error[E0308]: mismatched types
   --> C:\ ... \wstp-0.2.7\src\lib.rs:312:15
    |
312 |         code: sys::WSInterruptMessage,
    |               ^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32`

error[E0308]: mismatched types
   --> C:\ ... \wstp-0.2.7\src\lib.rs:318:15
    |
318 |         code: sys::WSAbortMessage,
    |               ^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32`

error[E0308]: mismatched types
   --> C:\ ... \wstp-0.2.7\src\lib.rs:344:13
    |
343 |         let kind = match code {
    |                          ---- this expression has type `u32`
344 |             sys::WSTerminateMessage => UrgentMessageKind::Terminate,
    |             ^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32`

error[E0308]: mismatched types
   --> C:\ ... \wstp-0.2.7\src\lib.rs:345:13
    |
343 |         let kind = match code {
    |                          ---- this expression has type `u32`
344 |             sys::WSTerminateMessage => UrgentMessageKind::Terminate,
345 |             sys::WSInterruptMessage => UrgentMessageKind::Interrupt,
    |             ^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32`

error[E0308]: mismatched types
   --> C:\ ... \wstp-0.2.7\src\lib.rs:346:13
    |
343 |         let kind = match code {
    |                          ---- this expression has type `u32`
...
346 |             sys::WSAbortMessage => UrgentMessageKind::Abort,
    |             ^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32`

error[E0308]: mismatched types
   --> C:\ ... \wstp-0.2.7\src\lib.rs:358:45
    |
356 |     pub fn code(&self) -> u32 {
    |                           --- expected `u32` because of return type
357 |         match self {
358 |             UrgentMessageKind::Terminate => sys::WSTerminateMessage,
    |                                             ^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32`
    |
help: you can convert an `i32` to a `u32` and panic if the converted value doesn't fit
    |
358 |             UrgentMessageKind::Terminate => sys::WSTerminateMessage.try_into().unwrap(),
    |                                                                    ++++++++++++++++++++

This can be solved by simply casting but I couldn't test the last LibraryLink example, as Mathematica would crash. Is there any incompatibility?

@ben-izd Thanks for bringing this issue to my attention.
This fix has been released as part of v0.2.8 of wstp and wstp-sys, which I've just published.


ARROW-13132: [C++] Add Scalar validation

I believe I addressed all review comments. Will merge if CI passes.


v2 bug: Default:false value for BoolFlag is true

my urfave/cli version is
v2
Checklist

[x ] Are you running the latest v2 release? The list of releases is here.
[x ] Did you check the manual for your release? The v2 manual is here
[x ] Did you perform a search about this problem? Here's the Github guide about searching.

Dependency Management

[x ] My project is using go modules.
[ ] My project is using vendoring.
[ ] My project is automatically downloading the latest version.
[x ] I am unsure of what my dependency management setup is.

Describe the bug
BoolFlag default value:false is not set to false. Calling command with BoolFlag and no value set, returns true.
To reproduce
Add BoolFlag, set Value to false.
&cli.BoolFlag{
Name:     faultyflag,
Usage:    "somehting",
Required: true,
Value:    false,
},

Call command with no value set, but flag set.
$ foo --faultyflag

Observed behavior
When flag value is read, it returns true.
Expected behavior
That it returns false.
Additional context
/
Want to fix this yourself?
We'd love to have more contributors on this project! If the fix for this bug is easily explained and very small, free free to create a pull request for it.
Run go version and paste its output here
# paste `go version` output in here

Run go env and paste its output here
# paste `go env` output in here

Thx,it's useful for me.

This is correct behavior for boolean flags. To turn on a bool flag one need to just do
'''
--my-bool-flag
'''
To turn off the syntax is
'''
--my-bool-flag=false
'''


Copy isnot available in gen2 blob containers for azure ad only scenarios

Although we've added support for copy in non-gen2 blob containers for Azure AD only scenarios, the action continues to be disabled in the gen2 case. This is because although there are APIs that make it possible, those APIs only work if the user's permissions are coming from RBAC. Since the great vast majority of users obtain Gen2 permissions via ACL, then it doesn't make sense to introduce the feature that'll fail for so many people.

This still seems to be an issue with copy and paste being greyed out.  Why is this as you can Move and Rename?  How does a user copy and paste within an ADLS Gen2 container with Azure AD permissions using DFS endpoint?

This still seems to be an issue with copy and paste being greyed out.  Why is this as you can Move and Rename?  How does a user copy and paste within an ADLS Gen2 container with Azure AD permissions using DFS endpoint?

Hi @MRayermannMSFT, any news on this issue?
Are you planning to fix this?

All of our clients and us are using RBAC for access management to the gen2 containers. Is it possible to still implement the feature and let everyone who's using RBAC to benefit from copy and paste? (and clone)

I don't get it. Normally we use ACL to add additional permission upon RBAC. So enable copy/paste button by RBAC won't fail many people. Am I right?
At least, we should add an option to let user decide...

The work has been done to support the mentioned scenarios. Please upgrade to the latest version to get it.


Added toy repository for custom calculator

This is the customized Calculator Kernel using 1st-CLaaS.

Yes, it was probably copied when you created the app as a copy of the
vector add example. Please do delete it.
Steve Hoover https://www.linkedin.com/in/steve-hoover-a44b607/
774-773-8333
http://www.redwoodeda.com/
On Mon, Nov 2, 2020 at 8:44 AM ayush-saran<EMAIL_ADDRESS>wrote:

@ayush-saran commented on this pull request.
In apps/toy/fpga/src/work_in_progress/toy_kernel.sv
https://github.com/stevehoover/1st-CLaaS/pull/45#discussion_r515979324:

@@ -0,0 +1,101 @@

This file was there when we forked it. Should we remove this too?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/stevehoover/1st-CLaaS/pull/45#discussion_r515979324,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACWHLEF7VKMQM2AER6OREBLSN2ZSJANCNFSM4TCEBVAQ
.


Which one should be faster?

Plain route list:
$collector->addGroup(Group::create('/api',[
    Route::get('/posts'),
    Route::get('/post/{id:\d+}'),
    Route::get('/users'),
    Route::get('/user/{id:\d+}'),
]));

Or grouped:
$collector->addGroup(Group::create('/api',[
    Group::create('/post', [
        Route::get('s'),
        Route::get('/{id:\d+}'),
    ]),
    Group::create('/user', [
        Route::get('s'),
        Route::get('/{id:\d+}'),
    ]),
]));

Both should give you similar results when used with router-fastroute. Do you have concerns about it?

No concerns.
There are two options. I just want to sort out for myself.
Which option should be used?
What is a reason to use Group ?

To group things i.e. prefix a group of routes with /api, add CORS middleware to this group etc.

add CORS middleware to this group

@samdark How can I add a middleware to a group?

https://github.com/yiisoft/docs/blob/master/guide/en/runtime/routing.md


Fix spelling of component in shallowMount.md

Thanks, could you also change it in https://github.com/vuejs/vue-test-utils/blob/dev/docs/zh/api/shallowMount.md and https://github.com/vuejs/vue-test-utils/blob/dev/docs/ja/api/shallowMount.md?

@eddyerburgh Done.


New version LaTeX_Entities: 1.0.0

Registering: LaTeX_Entities
Repository: https://github.com/JuliaString/LaTeX_Entities.jl
Version: v1.0.0
Commit: b34ab69f1cb08a60eadbb2c2709e763d219553c3
Proposed by: @ScottPJones
Reviewed by: @ScottPJones
Reference: https://github.com/JuliaString/LaTeX_Entities.jl/commit/b34ab69f1cb08a60eadbb2c2709e763d219553c3#commitcomment-33356067

Better not use >= constraints.


Test failure: AuthTypes_UnathorizedAuthenticatedAuthType_Unauthorized

This test fails occasionally with the following error:
System.ObjectDisposedException : Cannot access a disposed object.
Object name: 'System.Net.Http.HttpConnection+HttpConnectionResponseContent'.
   at System.Net.Http.HttpContent.CheckDisposed()
   at System.Net.Http.HttpContent.LoadIntoBufferAsync(Int64 maxBufferSize, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
   at Microsoft.AspNetCore.Server.HttpSys.AuthenticationTests.SendRequestAsync(String uri, Boolean useDefaultCredentials) in /_/test/Microsoft.AspNetCore.Server.HttpSys.FunctionalTests/AuthenticationTests.cs:line 377
   at Microsoft.AspNetCore.Server.HttpSys.AuthenticationTests.AuthTypes_UnathorizedAuthenticatedAuthType_Unauthorized(AuthenticationSchemes authType) in /_/test/Microsoft.AspNetCore.Server.HttpSys.FunctionalTests/AuthenticationTests.cs:line 364
--- End of stack trace from previous location where exception was thrown ---

Other tests within that build may have failed with a similar message, but they are not listed here. Check the link above for more info.
This test failed on 2.2.
CC @Eilon (because the bot doesn't know who else to pick)
This issue was made automatically. If there is a problem contact ryanbrandenburg.

Please use this workflow to address this flaky test issue, including checking applicable checkboxes and filling in the applicable "TODO" entries:

Is this actually a flaky test?

No, this is a regular test failure, fix the test/product (TODO: Link to commit/PR)
Yes, proceed below...

Is this test failure caused by product code flakiness? (Either this product, or another product this test depends on.)

[ ] File a bug against the product (TODO: Link to other bug)
Is it possible to change the test to avoid the flakiness?

Yes? Go to the "Change the test!" section.
No?

[ ] Disable the test (TODO: Link to PR/commit)
[ ] Wait for other bug to be resolved
[ ] Wait for us to get build that has the fix
[ ] Re-enable our test (TODO: Link to PR/commit)
[ ] Close this bug

Is it that the test itself is flaky? This includes external transient problems (e.g. remote server problems, file system race condition, etc.)

Is there is a way to change our test to avoid this flakiness?

Yes? Change the test!

[ ] Change the test to avoid the flakiness, for example by using a different test strategy, or by adding retries w/ timeouts (TODO: Link to PR/commit)
[ ] Run the test 100 times locally as a sanity check.
[ ] Close this bug

No?

Is there any logging or extra information that we could add to make this more diagnosable when it happens again?

Yes?

[ ] Add the logging (TODO: Link to PR/commit)

No?

[ ] Delete the test because flaky tests are not useful (TODO: Link to PR/commit)

This comment was made automatically. If there is a problem contact ryanbrandenburg.

AuthTypes_UnathorizedAuthenticatedAuthType_Unauthorized failed with about the same error on 2.2.
This comment was made automatically. If there is a problem contact ryanbrandenburg.

AuthTypes_UnathorizedAuthenticatedAuthType_Unauthorized failed with about the same error on 2.2.
This comment was made automatically. If there is a problem contact ryanbrandenburg.

@muratg please assign.

3 failures, all in 2.2.
It doesn't seem to be timing out, the test only runs for ~1s.
HttpClient regression? @davidsh
Object name: 'System.Net.Http.HttpConnection+HttpConnectionResponseContent'.
   at System.Net.Http.HttpContent.CheckDisposed()
   at System.Net.Http.HttpContent.LoadIntoBufferAsync(Int64 maxBufferSize, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
   at Microsoft.AspNetCore.Server.HttpSys.AuthenticationTests.SendRequestAsync(String uri, Boolean useDefaultCredentials) in /_/test/Microsoft.AspNetCore.Server.HttpSys.FunctionalTests/AuthenticationTests.cs:line 377

Related? https://github.com/dotnet/corefx/pull/31589
The calling code isn't doing anything interesting.
https://github.com/aspnet/HttpSysServer/blob/9cb675fec89702d28b5f188e0ab4f7d671d7aa11/test/Microsoft.AspNetCore.Server.HttpSys.FunctionalTests/AuthenticationTests.cs#L371-L379

@Tratcher if you suspect something in CoreFX, please also send mail so we can get it into their inboxes faster.

AuthTypes_UnathorizedAuthenticatedAuthType_Unauthorized failed with about the same error on 2.2.
This comment was made automatically. If there is a problem contact ryanbrandenburg.

Filed https://github.com/dotnet/corefx/issues/32143.
This does not repro in 2.2 when I run the test manually, but in 3.0 it does fail even for manual runs.

I was able to reproduce this in the release/2.2 branch after I did run upgrade deps.
This is now skipped in release/2.2 and master.
Corefx has found the issue and submitted a PR.

AuthTypes_UnathorizedAuthenticatedAuthType_Unauthorized failed with about the same error on master.
This comment was made automatically. If there is a problem contact ryanbrandenburg.


Problem using a custom LLM in int8 format

Hi,
I am trying to use a model from huggingface using bits and bytes and it is throwing an error saying I cannot use a 8 bit model. Is it a problem with the pipeline class of the transformers package?
here is my pipeline
transformers v.4.29

model_name = "chaoyi-wu/PMC_LLAMA_7B"

## Model
model = AutoModelForCausalLM.from_pretrained(
  model_name,
  device_map='auto',
  load_in_8bit=True,
  max_memory=max_memory)

## llm class

class CustomLLM(LLM):

    pipeline = pipeline("text-generation",tokenizer = tokenizer, model=model, device="cuda:0")

    def _call(self, prompt: str, stop: Optional[List[str]] = None) -> str:
        prompt_length = len(prompt)
        response = self.pipeline(prompt, max_new_tokens=num_output)[0]["generated_text"]

        # only return newly generated tokens
        return response[prompt_length:]

    @property
    def _identifying_params(self) -> Mapping[str, Any]:
        return {"name_of_model": self.model_name}

    @property
    def _llm_type(self) -> str:
        return "custom"

## Error

   1879         # Checks if the model has been loaded in 8-bit
   1880         if getattr(self, "is_loaded_in_8bit", False):
-> 1881             raise ValueError(
   1882                 "`.to` is not supported for `8-bit` models. Please use the model as it is, since the"
   1883                 " model has already been set to the correct devices and casted to the correct `dtype`."

Yea I think this a transformers issue. Try using the tokenizer and model itself instead of a pipeline.

also, it's best to use device_map="auto" when using 8bit or 4bit bitsandbytes


Add debounce to search in newsroom and magazine index

The same approach done for /search page should be done to the newsroom and magazine index. We should add a debounce in order to avoid making API calls to algolia on every key stroke, otherwise our bill will skyrocket. 💸💸💸

LGTM ✅


Define success criteria for github based contributions

Who is this for? For the dev team to have design constraint, for the content team to specify acceptable workflows
Why? So we can use this as a guideline before we propose a workflow that cuts out wiki.developer.mozilla.org
What? A document that outlines issues any acceptable solution would have to address.
Background: We want to remove the wiki based contribution workflow as it would remove more than 80% of the code that the dev team needs to maintain today. We'd like to accomplish that without having to convert all documentation to a structured format first, but whatever solution we come up with has to be acceptable to the editorial team.
Acceptance Criteria:

[ ] Draft document draws from and covers already existing documentation
[ ] Draft document is shared among stakeholders
[ ] Any input is incorporated and shared again

There is some info already in this document: https://github.com/mdn/stumptown-content/wiki/Stumptown-experiments


Example 85+86 Nested View with realistic example

thank you for sharing, very cool nested view 😎

fyi: made a small adjustment that the scroll position keeps stable when loading the details.
https://github.com/abap2UI5/abap2UI5-samples/blob/92af96910d8ba81f5b6d20c5078912efacd37f15/src/z2ui5_cl_app_demo_85.clas.abap#L413


Fix: CTD when non-ally actor takes damage with difficultyMultipliers patches enabled

May or may not be a compatibility issue regarding the DamageHealth function overwrite.

Regardless of whether this is a compatibility issue or not, after talking with Kernal about it I believe this can be dodged and fixed by simply not overwriting DamageHealth to begin with. According to him, the Scrambled Bugs patch implementation only does that because a call was inlined in Skyrim 1.6+, but in 1.5.97 it is not inlined but actually called normally. It looks like VR is an exact match to the 1.5.97 version of the code, and therefore there is no inlining to have to work around like this.
Will need to more completely test before calling this fixed and uploading a new release though.


Fix server copied protos

Codecov Report
Base: 0.00% // Head: 12.77% // Increases project coverage by +12.77% :tada:

Coverage data is based on head (69d4a17) compared to base (34a86a5).
Patch coverage: 6.20% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##           main    #1022       +/-   ##
=========================================
+ Coverage      0   12.77%   +12.77%
=========================================
  Files         0       28       +28
  Lines         0     5347     +5347
=========================================
+ Hits          0      683      +683
- Misses        0     4664     +4664

Impacted Files
Coverage Δ

...rc/proto/services/provider/v1/provider.pbgrpc.dart
8.53% <0.00%> (ø)

...ib/src/proto/services/provider/v1/provider.pb.dart
6.10% <1.43%> (ø)

dart/lib/src/provider_service.dart
35.13% <14.28%> (ø)

dart/lib/src/trustregistry_service.dart
21.05% <16.66%> (ø)

dart/lib/src/template_service.dart
33.33% <20.00%> (ø)

dart/lib/src/wallet_service.dart
25.00% <20.00%> (ø)

dart/lib/src/account_service.dart
58.73% <25.00%> (ø)

dart/lib/src/credential_service.dart
62.50% <57.14%> (ø)

.../services/trust-registry/v1/trust-registry.pb.dart
2.44% <0.00%> (ø)

... and 26 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

switching to dev endpoint while waiting on staging bugfix.


Can anyone help me with the following?

I'm no html expert, I just want to get a string from a site to use in a shell script. What command can I use on this page to get the string "2022-02-10 23:09:03"? Any help is appreciated. Thanks.

Looks like pup won't let you access the wire:initial-data attribute directly (which seems like a bug to me, will probably create an issue later) but you can work around that with the json{} output and jq (or other JSON processor, I guess?)
cat<PHONE_NUMBER>9.html | \
pup -p 'div[wire:initial-data] json{}' | \
jq -r '.[]|."wire:initial-data"|fromjson|.serverMemo.data.stream.stream_created_at|select(.)' | \
sort -u

Since 2022-02-10 23:09:03 is only mentioned in the wire:initial-data attribute of various divs, we match those, print them as JSON (using the -p flag to convert the entities), then use jq to do the heavy lifting of 1) getting that attribute, 2) converting it to a real object, 3) finding the stream_created_at key (which is the only one that matches the given date), 4) removing the nulls from the list, and then using sort -u to condense it to a unique list (which in this case is just the one date.)
(If you don't have sort, you can do the uniquification in jq: jq -r '[.[]|."wire:initial-data"|fromjson|.serverMemo.data.stream.stream_created_at|select(.)]|unique|.[]')

If PR https://github.com/ericchiang/pup/pull/175 gets pulled in, you can change the pup part to pup -p 'div[wire:initial-data] attr{wire:initial-data}' which will retrieve the data and simplifies the jq bit later.
cat<PHONE_NUMBER>9.html | \
pup -p 'div[wire:initial-data] attr{wire:initial-data}' | \
jq -sr '.[]|.serverMemo.data.stream.stream_created_at|select(.)' | \
sort -u


Document edge cases of the SMTLIB API

I think we should document the edge cases of the SMTLIB API somewhere.
For instance, what happens if we send an empty command to the solver ? Does it fail ? Does it just return an empty line ? Does the behavior differ depending on the backend ? (here the answer seems to be that for both backend the solver returns an empty line).
Another behavior that's non-trivial is that when sending a command that doesn't produce an output. For the Z3 backend the behavior is clear, but for the Process backend we don't get any response, not even an empty line.
These kinds of questions may come back frequently when adding new features and it'd probably be more efficient to have our own resource then having to go through the SMTLIB documentation (if it's even specified here) or just trying things out again in a REPL.
Perhaps the best place for this would be in the test-suites, since the behavior may depend on the backend, with some checks and a lot of comments.

We get the most freedom for future decisions by declaring the behavior as undefined. If no client relies on the behavior in these situations, no client will be broken when we settle for one direction or another.

I guess one of the points of the Solver datatype is to hide these possibly undefined behaviors: we ask ourselves these questions so they don't have to. For instance flushing an empty queue relies on the behavior of the backends when processing empty commands. The user will assume that nothing happens, but we have to keep in mind that there's something to think about there.

For instance flushing an empty queue relies on the behavior of the backends when processing empty commands.

In that case there was a need that drove the definition. But why would a user want to try the cases considered here?

evaluating command solver ""
evaluating command "(push)" when :print-success false is set.

For the API, I argue that we need to wait rather than trying to guess what the behavior should be.
But it would be fine to have internal comments in the implementation of the backends or the testsuites, if all we care is reminding to maintainers how the backends behave currently.

Yeah my point wasn't that we should document it for the users, only for the maintainers.


change rustup override add to rustup override set

I'm not sure if this is a change you'd like, because it's technically not broken or anything. However, if you do, there are a couple of other files to change (4).
https://github.com/rust-lang/rustup/commit/33062a1a08eff4cbfd83027c09a69e496243738f
add is an alias and the cli help command also only lists set and unset for me (no add). For that reason I think it's better to use set (less confusing, in line with cli).

Thank you! I agree that it makes sense to use the officially recommended (and documented) commands.


s390x: support CPACF sha3/shake performance improvements

On newer machines the SHA3/SHAKE performance of CPACF instructions KIMD and KLMD can be enhanced by using additional modifier bits. This allows the application to omit initializing the ICV, but also affects the internal processing of the instructions. Performance is mostly gained when processing short messages.
The new CPACF feature is backwards compatible with older machines, i.e. the new modifier bits are ignored on older machines. However, to save the ICV initialization, the application must detect the MSA level and omit the ICV initialization only if this feature is supported.

@t8m Friendly ping :-)

This pull request is ready to merge

Merged to the master branch. Thank you for your contribution.


Add sync timeline tests

^ Title
Also adds the possibility to use a custom transaction ID when sending events.

Marked as stale; this PR will be closed in 7 days if there isn't any further progress. Please re-open when you get time.


New armkit-resources package

Added packages/armkit-resources. It contains the generated resources for all services listed by the schema-generator package, excluding the following:

Schemas that exist in https://github.com/Azure/azure-resource-manager-schemas but not in https://schema.management.azure.com/schemas/
Schemas that produce .ts files that fail the build.

The PR also contains a bug fix for generated enums with numeric names and an update to the schema-generator to make the output file configurable.

Pls review or regenerate libs since
import { ArmResource } from '@armkit/core';

has changed to
import { ArmResource } from '@yetics/armkit-core';


Patch should not update record that doesn't match completely

Some of the tests under tests\Microsoft.PowerFx.Core.Tests\ExpressionTestCases\Patch.txt indicate an incorrect behavior: the table does not have a primary key, so in this case the record should only be patched if a full match is performed:
>> Patch(
     Table(
       {field1:2, field2:{field21:"earth",field22:"venus"}},
       {field1:3, field2:{field21:"moon",field22:"phobos"}}),
     {field2:{field21:"moon"}},
     {field1:7})
{field1:7,field2:{field21:"moon",field22:"phobos"}}

The record {field2:{field21:"moon"}} is not part of the table, so it should not be updated (and returned with the other fields). The proper way to update this should be something like
>> With({t:Table({field1:2, field2:{field21:"earth",field22:"venus"}}, {field1:3, field2:{field21:"moon",field22:"phobos"}})},
    Patch(t, LookUp(t, field2.field21 = "moon"), {field1:7})

This will be fixed in https://github.com/microsoft/Power-Fx/pull/1286


Upgrade xUnit to "2.3.1-rc2-build3844".

A bug (https://github.com/xunit/xunit/issues/1501) in xUnit 2.3.0 caused some of our tests to fail.
Fixes #1569

Thanks!  I'll wait for green before I merge.

LGTM


GeoPackage extension subsystem doesn't create the extension table on add

This really has to do with putting nulls in a select prepared statement

Wrote SelectBuilder to overcome the problem.  Testing fix pending the fix of the build


Allow plugins to specify which plugins can be added

Is your feature request related to a problem? Please describe.
In layout plugins that can have children you might want to only allow certain other plugins
Describe the solution you'd like
We can extend ChildConstraints on CellPlugin to take a filter function. it will get a pluginId and should return true when it accepts a plugin and false if not
If you click on (+) inside such a plugin, it should only show the allowed plugins. If you drag a cell from outside the plugin's cell into it, it should reject the drop if the plugin is not allowed and it should visually indicate that its not allowed
A bit unclear what happens if you click on (+) in the right toolbar. You will then see all plugins, but you probably cannot drop them where there are not allowed.
Describe alternatives you've considered
Additional context
There is also the case of limiting the plugins on the "root" document. Maybe you have plugins that should ONLY allowed inside certain other plugins. So we could also implement it for the root's ChildConstraint

i think this new proposal here is strictly better: https://github.com/react-page/react-page/issues/952 and solves this use case as well, but is more powerful


Unable to install zip file

Hi, I tried to download the zip file with "Download Zip" button, and when I try to install in DotNetNuke Extensions, it gives critical error.
How do I get an installable zip file from GitHub?

Download the right install pack from the releases tab.
https://github.com/DNNCommunity/DNN.Feedback/releases


Allow record to be read through cache if the cache does not respond.

So the reason for this change comes out of a situation I have been running into.
Im using elasticache Redis install on AWS. For some reason, one I haven't yet determined, I lose connection to Redis. Usually, it lasts just a few seconds, but that is long enough to cause some reads to fail.
Now in these cases, the storage layer (a mongo replica set) should be available. This change proposal allows for a read through to the storage layer should the cache layer fail.
This change may not be complete, there could be side effects I'm not aware of. I would like to get some discussion going on this issue to see if we can improve cache handling on some edge cases.

What happens with writes when your connection drops? Are they cached and flushed on reconnect?

I'm not entirely certain what happens in that case.  I'm using the redis deepstream cache layer, and that doesn't seem to anything special in terms of queue up writes in case of a connection failure. I might need to add some more logging to see what is actually happening in those cases.
I do think there is a concern that the cache data does not get invalidated if an update occurs while the cache is down. Then further reads would have stale data, with no mechanism to be eventually consistent. A possible option to set Redis to have a limited cache lifetime might reduce this,

Some more thoughts on this. When reading for a record update, we should read directly from storage and bypass cache completely.
Ideally updates should be implemented as a transaction so that we know that the version being written is newer than the version that already exists.
However, in doing so this would reduce the chance that the cache has stale data and allows a write through that overwrites an existing version.
If we do get a version_exists error in that case, then there is a probability that the cache is stale. We could also then invalidate the cache data at that point. It may result in some extra storage lookups, but it would reduce the chance that the data is stale.

When is a record considered created? It looks like this is currently based on when its written to the cache. Most cache systems generally work with weaker data guarantees when it comes to things like replication (Redis uses asynchronous replication, caches often evict items ).
I've been chasing down some odd cases where records would occasionally get updated with no data. I haven't been able to track that down yet. Logging is lacking in a few places, which i'm working on improving (mostly adding messages at a debug level).
I understand that some uses cases may be ok with a lesser guarantees, but as of right now there are no options for more stronger guarantees.
I would propose that if a storage layer is enabled, that write/change acknowledgments are based on storage layer and not the cache layer. If the cache is shared, an update would invalidate the data stored in the cache and would read through on next read. If the cache is not shared, and invalidate message would be passed through the cluster to invalidate the data for that particular record.
In addition, some sort of optimistic locking should be implemented in the storage layer. This can be done in mongo with validation rules, rdbms's will support it in transactions. This way at least the storage layer can be the source of true as far as the consistency of data.

Hey there, sorry for the long response time for this PR

When is a record considered created? It looks like this is currently based on when its written to the cache. Most cache systems generally work with weaker data guarantees when it comes to things like replication (Redis uses asynchronous replication, caches often evict items ).

You are correct, it is whenever it is in the cache. The cache eviction is something we are aware of, but users have the option of stating if they want it in the storage layer, and if they do then whenever the data is evicted from cache it will be retrieved again.

I've been chasing down some odd cases where records would occasionally get updated with no data. I haven't been able to track that down yet. Logging is lacking in a few places, which i'm working on improving (mostly adding messages at a debug level).

We have consciously not added alot of debug messages, because it takes time regardless of whether or not we log at debug ( due to string creation etc ).
What we are toying with is a debug build, which strips out all the debug log lines in production, preferably just using a production flag which the compiler will then optimize and remove as dead code. Just a small heads up incase you see some of that happening.

I understand that some uses cases may be ok with a lesser guarantees, but as of right now there are no options for more stronger guarantees.

Write acks provide a strong guarantee it has been written to storage. Creating it is another thing obviously, we can now provide guarantees it has been created if using setData instead of getRecord, but that isn't really a solid solution.

I would propose that if a storage layer is enabled, that write/change acknowledgments are based on storage layer and not the cache layer. If the cache is shared, an update would invalidate the data stored in the cache and would read through on next read. If the cache is not shared, and invalidate message would be passed through the cluster to invalidate the data for that particular record. In addition, some sort of optimistic locking should be implemented in the storage layer. This can be done in mongo with validation rules, rdbms's will support it in transactions. This way at least the storage layer can be the source of true as far as the consistency of data.

Write/change acks are supported in both cache and storage if you use a writeAck flag, the issue is just that if writing to storage fails, other users would still get the data from the cache and be none the wiser, and the client with the failed write ack would need to set the data again forcefully which is an odd action.
I don't know what a decent solution is tbh, we can retry writes to the storage layer potential. However we can't make storage our source of truth because storage is really, really slow. If you compare redis 50k writes (non cluster) to (20M accordingly to AWS) to postgres (20k tops, 100K with biggest aurora machine) you can see how scaling doesn't go hand in hand.
If your use case requires you to have super consistent data you could in theory put your storage layer directly instead of the cache, and then have a cache layer inside of the storage adaptor that allows quicker reads. That way updates will take the hit, but reads should always be super quick. Thoughts?

I never did find what was causing the empty records, but have since refactored my approach (essentially splitting the record into two separate ones, one with user writable data, the other with metadata) so it doesn't matter anymore.
On storage vs cache, this largely depends on use case and its also why there are so many different storage engines that emphasize different aspects of the CAP theorem.  When dealing with lots of small data points like stock prices and IOT sensor metrics, loosing a record or having something missed will not matter very much since that data will change within a few seconds anyway. I can see in that scenario, preferring faster writes over consistency.
In my scenario, i don't deal with a lot of data being active at any given time (1-2 MB per customer), so the speed difference between mongo and Redis is insignificant (Also in my current system configuration, Mongo is local to Deepstream while Reds is not) but accurately storing data, and returning an error properly is.
I think this PR should be closed anyway, the underlying components have changed a bit with the other PR and its not clear yet what the approach should be. I still prefer being able to configure deepstream to ignore cache on records and go directly to storage.

I completely agree. We have a storage exclusion pattern that only allows things to go into cache if its something that is generated. There was a also a proposal that all providers automatically get ignored on the storage layer.
I'm happy you have found a solution for your current scenario, and hopefully we'll find something that fits into the deepstream paradigm that also fixes it at somepoint.
Thanks for the quick feedback!


support NanoID

Would https://github.com/prisma/prisma/issues/6719 cover your use case?

Done in https://github.com/prisma/prisma-engines/pull/3556


How to make scrolling bg in main menu

Describe your problem here.
how
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
no

You need to use the flixel.addons.display.FlxBackdrop module to create a infinitely scrolling background.
To actually make it move/scroll, you gotta set its velocity which you can do so by obj.velocity.set(x, y)
https://api.haxeflixel.com/flixel/addons/display/FlxBackdrop.html

You need to use the flixel.addons.display.FlxBackdrop module to create a infinitely scrolling background. To actually make it move/scroll, you gotta set its velocity which you can do so by obj.velocity.set(x, y)
https://api.haxeflixel.com/flixel/addons/display/FlxBackdrop.html

Thank you very much

You need to use the flixel.addons.display.FlxBackdrop module to create a infinitely scrolling background. To actually make it move/scroll, you gotta set its velocity which you can do so by obj.velocity.set(x, y)
https://api.haxeflixel.com/flixel/addons/display/FlxBackdrop.html

Uhhh... i did 'import flixel.addons.display.FlxBackdrop;' and 'space.velocity.set(20, 0);' but bg doesn't infinitely, bg just scroll right and it's all

You need to use the flixel.addons.display.FlxBackdrop module to create a infinitely scrolling background. To actually make it move/scroll, you gotta set its velocity which you can do so by obj.velocity.set(x, y)
https://api.haxeflixel.com/flixel/addons/display/FlxBackdrop.html

Uhhh... i did 'import flixel.addons.display.FlxBackdrop;' and 'bg.velocity.set(20, 0);' but bg doesn't infinitely, bg just scroll right and it's all (I am on 0.7.2h)

This is bg

You need to use the flixel.addons.display.FlxBackdrop module to create a infinitely scrolling background. To actually make it move/scroll, you gotta set its velocity which you can do so by obj.velocity.set(x, y)
https://api.haxeflixel.com/flixel/addons/display/FlxBackdrop.html

Uhhh... i did 'import flixel.addons.display.FlxBackdrop;' and 'bg.velocity.set(20, 0);' but bg doesn't infinitely, bg just scroll right and it's all (I am on 0.7.2h)

 This is bg

var space:FlxBackdrop = new FlxBackdrop(Paths.image('Space_sus'), X)
replace it with this and it should work

var space:FlxBackdrop = new FlxBackdrop(Paths.image('Space_sus'), X)

Thank you very much, it worked


Please indicate that .branch("master") is necessary to avoid a build error regarding unsafe build flags for Raylib and GLFW

Hello! Thank you very much for creating this Swift package to streamline working with Raylib.
While testing out your library, I tried using from: "4.0.0" for the package and encountered this error:
error: the target '_RaylibC' in product 'Raylib' contains unsafe build flags

Then I discovered this thread regarding the use of .unsafeFlags() and .branch() / from - https://forums.swift.org/t/question-about-contains-unsafe-build-flags-in-spm/47677
I understand that since your library needs to use .unsafeFlags() to compile Raylib and GLFW together via clang -x objective-c -fno-obj-arc, could you please document that users of this library must use .branch("master")?

I've added a note to the readme regarding this issue.
https://github.com/STREGAsGate/Raylib/commit/3ef6e4451ae9d1195daed526dc41ef0907f868ab


Subsection header on first line not saved to title during txt import

Context: Import text file in Commit 02c34545f679f280766d6274be323576e7ba213e
Problem: Subsection header on first line creates new section, but header text is not saved to zettel title
Next steps: Fix section reading to capture first line

Root cause: regex pattern for section header mistakenly changed to mis-allow whitespace.
New problems found: comma and lack of new lines not recognised in pattern
Actions:

Add whitespace and comma to regex pattern.
Reduce new line requirement to 1 only in case of two section headers together.
Edit output format of index card (perhaps only 1-2 single lines) to visually distinguish in txt file.


update CHANGELOG.md

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

Comparison is base (038becd) 99.56% compared to head (650e98f) 99.56%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master      #11   +/-   ##
=======================================
  Coverage   99.56%   99.56%
=======================================
  Files           3        3
  Lines         232      232
  Branches       35       35
=======================================
  Hits          231      231
  Misses          1        1

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


ROUGE measures?

If QA was a stage of the pipeline, how could we measure some ROUGE metrics or similar at the end of a Pyterrier pipeline?

That would be a bit of an undertaking, given that the current architecture is built around the many-to-many nature of search result lists ((query_id, doc_id) -> score mappings) and qrels ((query_id, doc_id) -> relevance mappings). ROUGE and similar measures operate over query_id -> text mappings and query_id -> [possible text answers] mappings.
But I could see how it could work. The structure already allows for various input data formats, so this new type of mapping would just be another one. If you request a qrel-oriented measure but provide text mappings instead (or vise versa), it would just throw an error.
I'd need to familiarise myself with the landscape of these measures too. IIRC there's a ton of fragmentation there as well.

It's worth also considering limiting the scope of this tool to only qrel-oriented measures.

I think with longer QA pipelines involving retrieval and other NLP techniques, e.g. conversational QA, there might be something interesting in putting that as part of pt.Experiment().


ContractModel: Improve error messages and statistics reporting

The PR also:

Cleans up the symbolic tokens interface
Refactors the WaitUntil pattern to be built-in to models
Adds a standard property for nextReactiveState

Pre-submit checklist:

Branch

[x] Tests are provided (if possible)
[x] Commit sequence broadly makes sense
[x] Key commits have useful messages
[x] Relevant tickets are mentioned in commit messages
[x] Formatting, materialized Nix files, PNG optimization, etc. are updated

PR

[x] Self-reviewed the diff
[x] Useful pull request description
[x] Reviewer requested

@sjoerdvisscher can you have a look at this when you have the free time?


Option -ac overwriting other existing filters

With "-ac" option, other existing filter like -fs, and -fw get overwrittten.

Well I got that point and already discussed with @joohoi on this and he agrees that this needs to be fixed.

Yeah, I think the -ac  should be additive to the already manually defined filters.

@joohoi it used to be; I'm not sure when it happened or what commit caused it, but it stopped being additive

+1 for this!

I made a small PR for this. #312

Could be closed...


deps: Bump io_opencensus_cpp -> f68a2d0

Commit Message: Notably to pickup silencing -Wsign-compare:

https://github.com/census-instrumentation/opencensus-cpp/commit/4dfef07782e45f3b4f35096c2158177602f523d1
https://github.com/census-instrumentation/opencensus-cpp/commit/afe0460f92fb78e6d6cf8c8a30ced9bc5e2e57d3

Risk Level: Low
Testing: Existing
Docs Changes: N/A
Release Notes: N/A
Platform-Specific Features: N/A
Signed-off-by: Dhi Aurrahman<EMAIL_ADDRESS>

@moderation could you take a look when you have time? (before we actually remove opencensus or move it to contrib). Thank you! 🙇🏾

/lgtm deps
I'm in favor of removing this extension as deprecated - https://github.com/envoyproxy/envoy/issues/9958


⚠ Bofrost.at has degraded performance

In ac48576, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2873 ms

Resolved: Bofrost.at performance has improved in f80737f after 9 minutes.


catch Response in middleware

Description (required)
This PR describes a design pattern to reduce boilerplate code in pages. When some error condition in a function should always be handled by returning a specific Response, repeating this code in all the pages is cumbersome. You can  instead catch a special subclass of Error in the middleware.
Related issues & labels (optional)

Suggested label: add new content

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

en
guides/server-side-rendering.mdx
Source changed, localizations will be marked as outdated.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

The preview of the new content is here

Hi @arty-name, thanks for wanting to improve our documentation!
Unfortunately, this isn't the kind of content we typically document. As I'm sure you can understand, we have to stick with documenting how core Astro features work or else we could end up documenting every practice/example under the sun. 😅 So, showing practices for reducing duplicate or boilerplate JavaScript code aren't really the mandate of Astro docs.
Tips like this can make great blog posts for self-publishing, or we'll often suggest working with https://astro-tips.dev/ to see if your content is a fit there! Unfortunately, it's not something for our official documentation so I'm closing this PR. But, we hope you'll find a place to share it with others.

Thank you for looking into this, @sarah11918! Fair enough, the documentation cannot include everything.
Would you also object to including a single sentence in the existing section? Something along the lines "You can also throw this Response and catch it in the middleware"…

Hi, I have been discussing with the team and they feel like the middleware page itself covers this adequately. However we have been talking about what improvements on this page, maybe better linking to the middleware page we might want to make so that it's clearer what people can do with middleware and in which rendering situations (prerendering vs on demand). But, the goal of this page is simply to point out what becomes available with on demand rendering, which includes some middleware features, not to fully document using middleware itself.

Thank you for your patience, @sarah11918!
I admit I don’t have a good overview of the documentation, but what you and the team say about middleware doesn’t seem really true to me as a consumer of the docs. I’d like to highlight to you this difference in perception.
The middleware page doesn’t mention catching of exceptions at all, and the option to create a new Response is hidden in an example of transformation, easy to gloss over.
The SSR page was the only one I found which showcases the returning of manually created Responses.
I don’t push for changes anymore and accept your decision.


User/athanaseus/fill properties into tango db

Developments for LMC-360

In[1]: from PyTango import DataBase
In[2]: db_instance = DataBase()
In[3]: db_instance.get_device_property_list('test/weather/1', '*')
Out[4]: DbDatum(name = 'test/weather/1', value_string = ['simulated_values', 'sim_xmi_description_file'])
In [5]: db_instance.get_info()
Out[5]: 'TANGO Database sys/database/2\n \nRunning since 2017-07-28 09:05:36\n \nDevices defined  = 65\nDevices exported  = 14\nDevice servers defined  = 32\nDevice servers exported  = 6\n \nDevice properties defined  = 98 [History lgth = 442]\nClass properties defined  = 86 [History lgth = 165]\nDevice attribute properties defined  = 14 [History lgth = 35]\nClass attribute properties defined  = 0 [History lgth = 0]\nObject properties defined  = 0 [History lgth = 0]\n'
In[1]: from PyTango import DataBase
In[2]: db_instance = DataBase('weather_ds_tango.db')
In[3]: self.db_instance.get_device_property_list('test/nodb/tangodeviceserver#dbase=no', '*')
omniORB: ERROR -- the application attempted to invoke an operation on a nil reference.
RuntimeError                              Traceback (most recent call last)
<EMAIL_ADDRESS>in ()
----> 1 self.db_instance.get_device_property_list('test/nodb/tangodeviceserver', '*')
/usr/local/lib/python2.7/dist-packages/tango/db.pyc in __Database__get_device_property_list(self, dev_name, wildcard, array)
436             Throws     : ConnectionFailed, CommunicationFailed, DevFailed from device"""
437     if array is None:
--> 438         return self._get_device_property_list(dev_name, wildcard)
439     elif isinstance(array, StdStringVector):
440         return self._get_device_property_list(dev_name, wildcard, array)
RuntimeError: unidentifiable C++ exception
In[4]: self.db_instance.get_info()
Out[4]: 'TANGO FileDatabase  /tmp/tmpR_MXJP/weather_ds_tango.db\n\nRunning since ----\n\nDevices defined = 2\nDevices exported = 2\nDevice servers defined = 1\nDevice servers exported = 1\n\nClass properties defined = 0\nDevice properties defined = 2\nClass attribute properties defined = 0\nDevice attribute properties defined = 0\n'

Was able to obtain database info and get properties count. For some reason it fails when we query for a list. More investigation will follow with LMC-309 (https://skaafrica.atlassian.net/browse/LMC-309) considering that our testing class (https://github.com/vxgmichel/pytango-devicetest) is deprecated


Maintaining order in relationships

I need to store the order that objects appear in a hasMany. I optimistically tried to just work with the natural order but it looks like this isn't possible (I'm using localstorage and the storage format appears to use a map rather than an array). It looks like my best option is to maintain the order in a separate field (have a position field on each object is another option but seems like it would be a lot more chatty in terms of transforms). @dgeb have you given any thought to this yet?

@dgeb, been looking at how arrays are treated by json patch, and in particular json pointer. According to https://tools.ietf.org/html/rfc6902#appendix-A.7 json arrays should be referenced using an index e.g.
/task-list/92664ad9-2bdc-44a7-a747-df195a7adb45/__rel/tasks/1

but currently orbit.js uses an id instead of the index e.g.
/task-list/92664ad9-2bdc-44a7-a747-df195a7adb45/__rel/tasks/5f70d429-c198-4b22-b506-7c4e1191e3aa

Is there any particular reason (perhaps performance) that you implemented it this way or was it simply a case of being the easiest way to get the project up and running? In any case would you consider changing orbit.js to use array indexes? (I'm happy to have a look at this)

I see now that orbit.js actually does this already, https://github.com/orbitjs/orbit.js/blob/master/test/tests/orbit/unit/lib/diffs-test.js#L44. I guess the source isn't treating the relationships as arrays when it generates the ops.

Ok, so orbit.js handles updates to arrays and https://github.com/orbitjs/ember-orbit/blob/master/lib/ember-orbit/links/has-many-array.js#L23 has the necessary positional information. It looks like ember-orbit's store needs to be updated somehow to be aware of changes to array links. It's not obvious what the cleanest way to achieve this is yet though.

Orbit handles collections as unordered sets (rather than ordered arrays) by default because it is by far the more common and practical approach to managing collections in a distributed environment.
However, I agree that there is a place for tracking ordered arrays. I think it is cleanest to implement when the collection is updated as a whole, but I can also imagine valid use cases for positional updates of individual items.
As you've noted, JSON Patch supports these use cases, and so does Orbit's Document class and diffs and eq method.
This hasn't been too high on my priority list, but it's something that I'd like Orbit to handle eventually. I believe that we need a flag in the schema to indicate that a collection is ordered (e.g. ordered). This could be combined with the actsAsSet flag to cover all the possible cases. I haven't thought through all the implementation details, but it definitely seems feasible. Obviously, all the source and cache implementations would need additional logic to handle these flags.
@opsb please let me know if you decide to take this on and I can try to provide guidance if needed. If this seems daunting, you could certainly maintain a position field on ordered collections (as you mentioned) and we could work on a more elegant solution later.

@dgeb I'm having a crack at the moment. My basic approach has been to start at https://github.com/orbitjs/ember-orbit/blob/master/lib/ember-orbit/links/has-many-array.js#L34 and work my way down the call stack adding removeArrayLink alongside removeLink etc. I've done this for the add... methods as well. I've successfully got the store updating the arrays, now working on the lookup logic (it's expecting id => true insted of position => id). Once I've got a working scenario I'll put back and think about how to implement it in a way that can configured as you suggest (the ordered flag).

@opsb Sounds good. It's possible that addLink and removeLink could be modified to handle ordered links (e.g. perhaps an integer could be treated as an array index, and a string as an id). But keeping the logic separate for now probably makes it easier to reason about.

@dgeb yeah, that's certainly something I'm considering, but as you say at the moment I'm just trying to get a working scenario so I can figure out a good implementation. Having said that I did find the overloaded methods a little harder to follow (i.e. hasOne and hasMany using the same methods) so it might be clearer to separate those out.

Having thought about this some more it would seem that replacing the entire link using updateLink would be more appropriate. It means the interface to source remains unchanged and there's less risk of the schema going out of sync with the ember-orbit association. My plan is to implement the following for an ordered hasMany on Source:
updateLink: copy over the array of ids into the link
addLink: raise error
removeLink: raise error
findLink: return array of ids
findLinked: resolve records using array of ids

Does this cover all the methods that will need updating? Does this seem like the best approach to you?

@opsb I think it's fine to still support addLink and removeLink, since these are convenience methods that convert a developer's requests into transforms. The important point is that, when a transform is applied to a link marked with the actsAsSet flag, then its didTransform event should reflect that the entire set was replaced. Does that make sense?
Besides that one aspect, everything else sounds great. Thanks for checking in :+1:

@dgeb I'm treating actsAsSet and ordered as different variations on hasMany i.e. I'm leaving the actsAsSet code alone and adding new code branches at various places to handle storing the ordered hasMany in an array. Is this what you're expecting (I wasn't sure from what you mentioned about actsAsSet)?

This also means that actsAsSet and ordered are mutually exclusive flags in the schema so I'll throw an exception if they're both specified.

This also means that actsAsSet and ordered are mutually exclusive flags in the schema so I'll throw an exception if they're both specified.

I think this is fine for now, although I can imagine them being used together or independently (as I hinted above).

The rethink branch introduced one way data-flow which makes management of ordering far simpler. Now that it's been merged into master we'll revisit it in that context.


Use reverse resolution to fetch main ENS name from address

GitHub Issue
Fixes #186
Changes
Apparently, it's no that easy to identify the main ENS name from an address using the subgraph. Going through the ENS docs, I find out how it uses Reverse Resolution using a special purpose domain to set the primary ENS name a.k.a  main reverse record. The recommended approach is to use an etherjs provider and call lookupAddress, otherwise seems that we need to manually concatenate .${address}.addr.reverse, namehash it and look for the resolver in the subgraph.
I used the recommended approach to fetch the main ENS record. If not found, it fallbacks to query the subgraph for the first non-expired ens domain registered by an account address.
Packages Added
None
Checks
Before making your PR, please check the following:

[X] Critical lint errors are resolved
[X] App runs locally
[X] App builds locally (run the build command for any impacted package and check for any errors before the PR)

Tasks done: explore subgraph queries that allow us to identify the main ENS record from an address. Ended up implementing reverse resolution using etherjs
Time spent: 3 hours

I there is no way to use the subgraph, maybe this function should take a provider url as an argument. our apps can pass it from HAUS_RPC. But then others can use it and pass their own.

After digging a little bit more into how to get the same data from the subgraph, I found this in the docs:
...
Listing all primary names
...
...
TheGraph = subgraph currently does not index primary name info ([github issue](https://github.com/ensdomains/ens-subgraph/issues/25))
...
...

Going through the issues I found the following here:
The new reverse registrar, currently deployed on testnets,
will support emitting the appropriate events - so we will need to
write support for that rather than doing transaction tracing like this.

It looks like this is still WIP.
On the other hand, I also found a PR that Bryan pushed for DAOHaus V2 however it also relies on an RPC endpoint.
Until there's primary ens domain data indexed by the subgraph, I think it's better to use etherjs library instead of our own implementation so I'm going to go with the second approach to update my PR: passing the RPC to the profile function. @skuhlmann now my question is, which one is better to pass over: the RPC URI or the etherjs provider instance?

You can call the reverse resolution directly through a fetch call w/o needing ethers


Niggles

small changes to readme, primary generator and tritium materials validation, i.e. a print of number density.

several little improvements implemented and tested. Most effort was on testing energy conservation using the Boris solver. It violates energy conservation too, like other solvers. Just a little but too much for our purposes. Switching off Larmor radiation and comparing like for like with Python implementation yields equal results, i.e. loosing order meV after 10 ns which is not good enough.
Does not affect collision simulations (too little change in cross sections as energy changes a little) but trajectory simulations wouldn't be good enough.


Admin makes weird redirect during save

Q
A

Bug?
yes

New Feature?
no

Sulu Version
c38d1269677a1034911295915be67eea7f35905f

The admin panel makes weird redirext after i save content look at the picture. Please help i cant put my page on production!

Does it work on production environment on your dev machine? Do you have some output from the log?
Normally this redirects with the language are only done on the website to find a page which is requested without a locale not in the admin maybe some fail configuration of the webserver could be the problem e.g. a false mod rewrite.

its a normal 404 error. Where do I look for the cause?

Pozdrawiam, Jakub Pawlik / Best regards, James Pawlik
2016-09-08 9:02 GMT+02:00 L91<EMAIL_ADDRESS>
Does it work on production environment on your dev machine? Do you have
some output from the log?
Normally this redirects with the language are only done on the website to
find a page which is requested without a locale not in the admin maybe some
fail configuration of the webserver could be the problem e.g. a false mod
rewrite.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sulu/sulu-standard/issues/746#issuecomment-245511358,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHGHTDfvwESBXe259jkSJ_2V-ZLdwrRfks5qn7LvgaJpZM4J3R1z
.

you dont need the error or log of the 404 you need the log of the redirect which was done before. and make sure you did check disable cache on the dev toolbar.
the log are under app/logs/admin/prod/prod.log and app/logs/website/prod/prod.log.

It's crazy but after deleting logs and proceeding to save some content i have only website log. It's like my backend runs on frontend environment! Here is the app/logs/website/prod/prod.log :
[2016-09-13 15:13:10] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was not able to match, message "" [] [] [2016-09-13 15:13:10] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:10] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:10] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:10] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /pl/admin/security/profile/settings" (from "http://www.archanioł.pl/admin/")" at /home/black92/domains/test.xn--archanio-epb.pl/public_html/app/cache/website/prod/classes.php line 2605 {"exception":"[object] (Symfony\Component\HttpKernel\Exception\NotFoundHttpException(code: 0): No route found for "GET /pl/admin/security/profile/settings" (from "http://www.archanioł.pl/admin/\") at /home/black92/domains/test.xn--archanio-epb.pl/public_html/app/cache/website/prod/classes.php:2605, Symfony\Component\Routing\Exception\ResourceNotFoundException(code: 0): None of the routers in the chain matched this request\nGET /pl/admin/security/profile/settings HTTP/1.1\r\nAccept: /\r\nAccept-Encoding: gzip, deflate, sdch\r\nAccept-Language: pl,en-US;q=0.8,en;q=0.6,af;q=0.4\r\nConnection: close\r\nContent-Length: 76\r\nContent-Type: application/x-www-form-urlencoded; charset=UTF-8\r\nCookie: _ga=GA1.2.8887231.1473282331; PHPSESSID=r1e936gaj05idbvjqck8sa4tt1\r\nHost: www.archanioł.pl\r\nOrigin: http://www.archanioł.pl\r\nReferer: http://www.archanioł.pl/admin/\r\nSurrogate-Capability: symfony2="ESI/1.0"\r\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36\r\nX-Forwarded-For: <IP_ADDRESS>\r\nX-Php-Ob-Level: 1\r\nX-Requested-With: XMLHttpRequest\r\n\r\nkey=angelColumnNavigationSelected&value=de05ea93-6268-48cd-bcc9-cd65fee56eb5 at /home/black92/domains/test.xn--archanio-epb.pl/public_html/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/ChainRouter.php:201)"} [] [2016-09-13 15:13:11] app.DEBUG: [CACHE] FLUSH OK [Sulu\Component\HttpCache\Handler\UrlHandler] [] [] [2016-09-13 15:13:12] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was not able to match, message "" [] [] [2016-09-13 15:13:12] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:12] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:12] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:12] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /pl/admin/security/profile/settings" (from "http://www.archanioł.pl/admin/")" at /home/black92/domains/test.xn--archanio-epb.pl/public_html/app/cache/website/prod/classes.php line 2605 {"exception":"[object] (Symfony\Component\HttpKernel\Exception\NotFoundHttpException(code: 0): No route found for "GET /pl/admin/security/profile/settings" (from "http://www.archanioł.pl/admin/\") at /home/black92/domains/test.xn--archanio-epb.pl/public_html/app/cache/website/prod/classes.php:2605, Symfony\Component\Routing\Exception\ResourceNotFoundException(code: 0): None of the routers in the chain matched this request\nGET /pl/admin/security/profile/settings HTTP/1.1\r\nAccept: /\r\nAccept-Encoding: gzip, deflate, sdch\r\nAccept-Language: pl,en-US;q=0.8,en;q=0.6,af;q=0.4\r\nConnection: close\r\nContent-Length: 76\r\nContent-Type: application/x-www-form-urlencoded; charset=UTF-8\r\nCookie: _ga=GA1.2.8887231.1473282331; PHPSESSID=r1e936gaj05idbvjqck8sa4tt1\r\nHost: www.archanioł.pl\r\nOrigin: http://www.archanioł.pl\r\nReferer: http://www.archanioł.pl/admin/\r\nSurrogate-Capability: symfony2="ESI/1.0"\r\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36\r\nX-Forwarded-For: <IP_ADDRESS>\r\nX-Php-Ob-Level: 1\r\nX-Requested-With: XMLHttpRequest\r\n\r\nkey=angelColumnNavigationSelected&value=de05ea93-6268-48cd-bcc9-cd65fee56eb5 at /home/black92/domains/test.xn--archanio-epb.pl/public_html/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/ChainRouter.php:201)"} [] [2016-09-13 15:13:12] app.DEBUG: [CACHE] FLUSH OK [Sulu\Component\HttpCache\Handler\UrlHandler] [] [] [2016-09-13 15:13:15] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was not able to match, message "" [] [] [2016-09-13 15:13:15] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:15] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:15] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:15] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /pl/js/d41c63a.js" (from "http://www.archanioł.pl/admin/")" at /home/black92/domains/test.xn--archanio-epb.pl/public_html/app/cache/website/prod/classes.php line 2605 {"exception":"[object] (Symfony\Component\HttpKernel\Exception\NotFoundHttpException(code: 0): No route found for "GET /pl/js/d41c63a.js" (from "http://www.archanioł.pl/admin/\") at /home/black92/domains/test.xn--archanio-epb.pl/public_html/app/cache/website/prod/classes.php:2605, Symfony\Component\Routing\Exception\ResourceNotFoundException(code: 0): None of the routers in the chain matched this request\nGET /pl/js/d41c63a.js HTTP/1.1\r\nAccept: /\r\nAccept-Encoding: gzip, deflate, sdch\r\nAccept-Language: pl,en-US;q=0.8,en;q=0.6,af;q=0.4\r\nConnection: close\r\nCookie: _ga=GA1.2.8887231.1473282331; PHPSESSID=r1e936gaj05idbvjqck8sa4tt1\r\nHost: www.archanioł.pl\r\nReferer: http://www.archanioł.pl/admin/\r\nSurrogate-Capability: symfony2="ESI/1.0"\r\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36\r\nX-Forwarded-For: <IP_ADDRESS>\r\nX-Php-Ob-Level: 1\r\n\r\n at /home/black92/domains/test.xn--archanio-epb.pl/public_html/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/ChainRouter.php:201)"} [] [2016-09-13 15:13:15] app.DEBUG: [CACHE] FLUSH OK [Sulu\Component\HttpCache\Handler\UrlHandler] [] [] [2016-09-13 15:13:16] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was not able to match, message "" [] [] [2016-09-13 15:13:16] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:16] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:16] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:16] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /pl/js/d41c63a.js" (from "http://www.archanioł.pl/admin/")" at /home/black92/domains/test.xn--archanio-epb.pl/public_html/app/cache/website/prod/classes.php line 2605 {"exception":"[object] (Symfony\Component\HttpKernel\Exception\NotFoundHttpException(code: 0): No route found for "GET /pl/js/d41c63a.js" (from "http://www.archanioł.pl/admin/\") at /home/black92/domains/test.xn--archanio-epb.pl/public_html/app/cache/website/prod/classes.php:2605, Symfony\Component\Routing\Exception\ResourceNotFoundException(code: 0): None of the routers in the chain matched this request\nGET /pl/js/d41c63a.js HTTP/1.1\r\nAccept: /\r\nAccept-Encoding: gzip, deflate, sdch\r\nAccept-Language: pl,en-US;q=0.8,en;q=0.6,af;q=0.4\r\nConnection: close\r\nCookie: _ga=GA1.2.8887231.1473282331; PHPSESSID=r1e936gaj05idbvjqck8sa4tt1\r\nHost: www.archanioł.pl\r\nReferer: http://www.archanioł.pl/admin/\r\nSurrogate-Capability: symfony2="ESI/1.0"\r\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36\r\nX-Forwarded-For: <IP_ADDRESS>\r\nX-Php-Ob-Level: 1\r\n\r\n at /home/black92/domains/test.xn--archanio-epb.pl/public_html/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/ChainRouter.php:201)"} [] [2016-09-13 15:13:16] app.DEBUG: [CACHE] FLUSH OK [Sulu\Component\HttpCache\Handler\UrlHandler] [] [] [2016-09-13 15:13:30] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was not able to match, message "" [] [] [2016-09-13 15:13:30] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:30] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:30] app.DEBUG: Router Symfony\Cmf\Bundle\RoutingBundle\Routing\DynamicRouter was not able to match, message "" [] [] [2016-09-13 15:13:30] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /pl/admin/api/nodes/de05ea93-6268-48cd-bcc9-cd65fee56eb5" (from "http://www.archanioł.pl/admin/")" at /home/black92/domains/test.xn--archanio-epb.pl/public_html/app/cache/website/prod/classes.php line 2605 {"exception":"[object] (Symfony\Component\HttpKernel\Exception\NotFoundHttpException(code: 0): No route found for "GET /pl/admin/api/nodes/de05ea93-6268-48cd-bcc9-cd65fee56eb5" (from "http://www.archanioł.pl/admin/\") at /home/black92/domains/test.xn--archanio-epb.pl/public_html/app/cache/website/prod/classes.php:2605, Symfony\Component\Routing\Exception\ResourceNotFoundException(code: 0): None of the routers in the chain matched this request\nGET /pl/admin/api/nodes/de05ea93-6268-48cd-bcc9-cd65fee56eb5 HTTP/1.1\r\nAccept: application/json, text/javascript, /; q=0.01\r\nAccept-Encoding: gzip, deflate, sdch\r\nAccept-Language: pl,en-US;q=0.8,en;q=0.6,af;q=0.4\r\nConnection: close\r\nContent-Length: 1899\r\nContent-Type: application/json\r\nCookie: _ga=GA1.2.8887231.1473282331; PHPSESSID=r1e936gaj05idbvjqck8sa4tt1\r\nHost: www.archanioł.pl\r\nOrigin: http://www.archanioł.pl\r\nReferer: http://www.archanioł.pl/admin/\r\nSurrogate-Capability: symfony2="ESI/1.0"\r\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36\r\nX-Forwarded-For: <IP_ADDRESS>\r\nX-Php-Ob-Level: 1\r\nX-Requested-With: XMLHttpRequest\r\n\r\n{"id":"de05ea93-6268-48cd-bcc9-cd65fee56eb5","url":"/gwarancja","created":"2016-09-07T20:09:07+0200","changed":"2016-09-07T20:30:58+0200","creator":1,"changer":1,"title":"Gwarancjaz","navContexts":[],"nodeType":1,"nodeState":2,"published":"2016-09-07T20:09:07+0200","shadowOn":false,"shadowBaseLanguage":null,"ext":{"seo":{"title":"","description":"","keywords":"","canonicalUrl":"","noIndex":false,"noFollow":false,"hideInSitemap":false},"excerpt":{"title":"","more":"","description":"","categories":[],"tags":[],"icon":[],"images":[]}},"order":30,"_permissions":{"view":true,"add":true,"edit":true,"delete":true,"archive":true,"live":true,"security":true},"template":"warranty","originTemplate":"warranty","internal":false,"localizedTemplate":"Gwarancja","headText":"
Gwarancja jakoÅ›ci
\n","article":"
StróÅ¼ twojego samochodu chroni ciÄ™ zawsze wtedy, kiedy tego potrzebujesz. Szybka reakcja to dopiero poczÄ…tek.
\n\n
DziÄ™ki sieci wyspecjalizowanych serwisantów i najlepszych dostawców oferujemy najwyÅ¼szÄ… jakoÅ›Ä‡ usÅ‚ug.
","notice":"* w porÃ³wnaniu do ASO","children":{"dataSource":"de05ea93-6268-48cd-bcc9-cd65fee56eb5","includeSubFolders":true,"categories":[],"categoryOperator":"or","tags":[],"tagOperator":"or","sortBy":[],"sortMethod":"asc","presentAs":null},"breadcrumb":[{"uuid":"875d21e9-1f19-4a24-90d4-9ef71f546eb6","title":"ArchanioÅ‚ - StrÃ³Å¼ twojego samochodu","depth":0}],"path":"/gwarancja","parentUuid":"875d21e9-1f19-4a24-90d4-9ef71f546eb6","concreteLanguages":["pl"],"enabledShadowLanguages":[],"linked":null,"publishedState":true,"hasSub":true,"_hash":"e05ae6d083e1f8d6d374ca1710f390cb","_links":{"self":{"href":"/admin/api/nodes/de05ea93-6268-48cd-bcc9-cd65fee56eb5?language=pl"},"children":{"href":"/admin/api/nodes?parent=de05ea93-6268-48cd-bcc9-cd65fee56eb5&depth=1&webspace=angel&language=pl"}}} at /home/black92/domains/test.xn--archanio-epb.pl/public_html/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/ChainRouter.php:201)"} [] [2016-09-13 15:13:30] app.DEBUG: [CACHE] FLUSH OK [Sulu\Component\HttpCache\Handler\UrlHandler] [] []

@papablack Have you maybe edited the getCacheDir methods of the kernels? Can you try to use a debugger or die.
And is it only happening in production or does it also happen in the dev environment? I am talking about the Symfony environment here.

i didn't and its on prod but it works on other hosting

Pozdrawiam, Jakub Pawlik / Best regards, James Pawlik
2016-09-19 13:27 GMT+02:00 Daniel Rotter<EMAIL_ADDRESS>
@papablack https://github.com/papablack Have you maybe edited the
getCacheDir methods of the kernels? Can you try to use a debugger or die.
And is it only happening in production or does it also happen in the dev
environment? I am talking about the Symfony environment here.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sulu/sulu-standard/issues/746#issuecomment-247968526,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHGHTKwpL9tCB3swM58ySobJMgX2JdAlks5qrnGFgaJpZM4J3R1z
.

Did you compare the webserver configurations? Has to be something like that... Are the redirects correct? Does /admin actually go to the AdminKernel?


Dropdown component with selection removable and initial value of null still renders the close icon.

Reproduction
Reproduction link
Describe the bug
When I use the dropdown component with the following options combined with the selection-removable prop:
 :options="[
      { label: 'false value', value: false },
      { label: 'true value', value: true },
]"

Then the selection can't be removed when the option with the false value is selected as demonstrated in the playground link. When I change the type of the input to autocomplete it works like expected. Both options are removable then via the selection removal button.
Environment
• OS: MacOS
• Browser: Chrome
• Version: 1.1. and 1.2.

@KoenCa This should be fixed at 0.116.0 for @formkit/pro. Should be reflected in the playground if you give it a hard reload.

@sashamilenkovic Yes, it works in the playground now.

I noticed that when the initial value is set to null for example via the value prop then the cross icon is also shown, but of course no value is selected. Is this intended behavior? I think this is wrong, because none of my options have a value of null:
https://formkit.link/e7e8a70c353453bd507d0e6ba4ac798b

@KoenCa When a value is provided that doesn't match any of the options, it will take the value provided and render a label based off of it. For example, passing an initial value of "Hello World" will render as such: https://formkit.link/2f010d10d52d0c2dd21271756958ed9e. That is intentional. However, I think I agree that null should not be considered a valid value. I will take a look at this today.

@KoenCa A fix has been published on 0.117.3. I'll close this issue again for now, but let me know if you have any issues.


Manually entering date is hard/not possible

Bug report
Describe the bug
In a date picker, I'm trying to type in the year of the date string manually. When trying to delete the year (in order to change it to a different year) from eg. 06/03/2021 the year string fills up automatically with preceding 0s to 4 digits after a short moment:06/03/0202
I would like to enter a date from the 1950s. Using the UI instead of typing, to get back 70 years month by month would take a long time.
Steps to reproduce the behavior

Open a collection type that contains a date picker.
Click on a day to prefill the date string
Try to change the year of the date string (by deleting the year from the end of the string)

Expected behavior
The date string should be editable without being overwritten automatically. Only after clicking outside the input field or pressing enter, a correction of the string should apply.
Screenshots

System

Node.js version: v12.20.1
NPM version:
Strapi version: v3.6.3
Database: Postgres
Operating system: Docker/Ubuntu

Additional context
https://github.com/strapi/buffet/issues/68

IS there any update on this?
For the time picker it is really annoying you cant just type in the value you want. The scrollbar in the field is also almost unusable on mac so you also can't fast scroll by picking up the scrollbar.

IS there any update on this?
For the time picker it is really annoying you cant just type in the value you want. The scrollbar in the field is also almost unusable on mac so you also can't fast scroll by picking up the scrollbar.

There's an issue on Canny – https://strapi.canny.io/customization/p/fix-and-improve-date-picker
I would recommend everyone who's passionate about this issue to upvote it there to get the visibility we need internally to action it.

We're working on this now 👍🏼

Hey all, we wanted to share one of our internal product demos about this and what is coming in #985
https://youtu.be/FvCyUX0b6HM


openrazer-daemon: fix notifications

Description of changes
The lack of this library causes the daemon to not be able to create desktop notifications. (fixes hardware.openrazer.mouseBatteryNotifier)

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

11 packages built:

openrazer-daemon (python311Packages.openrazer-daemon)
openrazer-daemon.dist (python311Packages.openrazer-daemon.dist)
openrazer-daemon.man (python311Packages.openrazer-daemon.man)
polychromatic
python310Packages.openrazer
python310Packages.openrazer-daemon
python310Packages.openrazer-daemon.dist
python310Packages.openrazer-daemon.man
python310Packages.openrazer.dist
python311Packages.openrazer
python311Packages.openrazer.dist

It is indeed optionally used in misc/battery_notifier.py


Need a Way to Remove All Releases

I need to regularly compare only Chrome for consecutive releases. To do this I need to first remove nearly everything that's shown by default. If I could just "remove all" and add back the one's I need it would be much faster.
I do this because I'm primarily responsible for documenting new Chrome APIs on MDN. I run the resulting csv file through a script that pings MDN and reports which items are missing. I plan to share this script tech writer colleagues at other browser vendors.

Thanks for the feature request! This shouldn't be too hard to implement; I'll just want to double check that the table controller doesn't break when the collection of releases is empty.

Any progress on this?

Nothing yet. FWIW, the rightmost "X" control should remain in a fixed position as you remove browsers, so clicking the same point repeatedly should remove other browsers in relatively short order.


TLSv1.3: Disallow compression

Checklist

[x] tests are added or updated

Description of change

Make sure that we can never negotiate compression in TLSv1.3. As per the spec this means that even if the server only support TLSv1.2, the client will never negotiate compression if it issues a TLSv1.3 compliant ClientHello.
I added tests for this but they will only run in an "enable-zlib" build. This means they won't get run by travis, but any problems should be picked up by run-checker.

Pushed new commit to address review comments.

Pushed. Thanks.


adds multiple Router support to Phoenix plugin

Adds multiple Router support to Phoenix plugin
What problem does this solve?
Issue number: #71
Allows setting multiple Routers in the Phoenix Plugin options
Example usage
Passing just a list of Routers ([:phoenix, :endpoint] prefix is assumed for all of them)
def plugins do
  [
    ...
    {
        Plugins.Phoenix,
        routers: [
          MyApp.Public.Router,
           MyApp.Internal.Router,
           MyApp.Admin.Router,
        ]
     }
  ]
end

Passing just a list of Routers with custom event_prefix values
def plugins do
  [
    ...
    {
        Plugins.Phoenix,
        routers: [
           {MyApp.Public.Router, event_prefix: [:public, :endpoint]},
           {MyApp.Internal.Router, event_prefix: [:internal, :endpoint]},
           {MyApp.Admin.Router, event_prefix: [:admin, :endpoint]}
        ]
     }
  ]
end

The current way of registering still works:
 {
      Plugins.Phoenix,
      router: MyApp.Public.Router, event_prefix: [:public, :endpoint]
 }

Additional details and screenshots
The current setup adds a telemetry proxy (based on the one used in the Ecto plugin), so we end with just one set of metrics, event if multiple event_prefixes are defined in the router's endpoints
Checklist

[x] I have added unit tests to cover my changes.
[x] I have added documentation to cover my changes.
[x] My changes have passed unit tests and have been tested E2E in an example project.

pr created on akoutmos/prom_ex repo