Pass original event id to :on-success and :on-failure

For logging and other events, its good to track the to original caller of the http request.  Since internally, on-* is re-dispacted the event name in the fx [{:keys [db]} [event-name response]] is that of the event specified in on-*.  For specific events and success handlers, I can obviously pass in the event name of the caller. However this breaks down for generic handlers, and the default fallback events.
Passing works if possible
(rf/reg-event-fx
  :on-failure
  (fn [{:keys [db]} [event-name calling-event response]]
    ...))

For example, our default on-failure warns that the error should be handled.  It's hard to track down where the warning is thrown from because I can't pull the original calling event name.
(rf/reg-event-db
  :http-no-on-failure
  (fn [db]
    (js/console.warn "Uncaught xhrio failure.  Consider catching and setting loading state with :basic-xhrio-failure")))

Hey, I've thought about it for a bit, but I don't see a way to do this without breakage. Feel free to submit a PR, though. There might be a nice solution to be found.


I do not really understand this sentence

May be somebody can help me understanding this sentence better:
https://github.com/Relm4/book/blob/9a9dced99f8ff7ce9251b4ecb55aa1ebfbe24171/src/basic_concepts/basics/components.md?plain=1#L11
If there is already an implementation for every type, why do I need to implement one?

The sentence is basically a summary of blanket implementations. If your type implements SimpleComponent, a generic Component implementation will also implement Component for this type. Internationally, only Component is used, which works for both trait thanks to the blanket implementation. This is similar to From which has a blanket implementation for Into.
Also, implementing both manually will throw an error.
Maybe you have an idea to make this easier to understand?

Thanks for sharing. Again something new learned.
My try:

As SimpleCompoment is automatically converted into a Component you can decide which one you want to implement.

It's not actually converted though. It's more like inheritance in other languages: SimpleComponent would be a sub-class of Component in C++ for example. SimpleComponent is still its own trait, but it automatically implements Component for you, so you can treat it as if your type was a regular Component.

take two:
When using SimpleComponent a default implementations for the missing functions are automatically created, so you can pick either one of the two.

Also not 100% correct. SimpleComponent not just implements the missing methods, it is it's own standalone trait.
Also, default implementations are actually used in another context so this will only lead to more confusion, I assume.
Maybe we can put it like this: For every implementation of SimpleComponent Relm4 will also implement Component automatically. You just need to implement one of them and your type will implement Component either way. This is called blanket implementation and is used for traits like From in the standard library too [insert useful link here].

For me that would be a big improvement.

Awesome, it's always good to address some unclear sentences in the book. Do you want to send a PR?

Sure I'll do. Thanks.

Would this be a useful link? https://doc.rust-lang.org/book/ch10-02-traits.html

I think this would be more precise: https://doc.rust-lang.org/book/ch10-02-traits.html#using-trait-bounds-to-conditionally-implement-methods

https://github.com/Relm4/book/pull/31


Add CSRF protection to API token auth

The API token auth is currently vulnerable to CSRF attacks. I attempted to implement this with Flask-JWT-Extended but have not been able to get it working. See more details in:

https://flask-jwt-extended.readthedocs.io/en/latest/tokens_in_cookies.html
http://www.redotheweb.com/2015/11/09/api-security.html

We could close this one out as CSRF was relevant when I was trying to store the token in a cookie. With it stored in the sessionstorage we are good for CSRF. However, we have traded off with possible XSS vulnerabilities as noted in the redotheweb link above.

@stevenabadie Yea, XSS is annoying. Another option is to use cookies and make them expire after a few hours. That way JS can't access user credentials. For our MVP, I don't think this'll be a big issue. VOA doesn't have much sensitive data. The most they could do is cause some mayhem (I think?).

Closing this as duplicate topic of the newly created ticket #138


Suggestion: Include example config json

In the documentation there is mention of an example config.json file but I don't see it in the project. It is referenced here:
https://github.com/AdobeDocs/cis-photoshop-api-docs/blob/3d2c1259875149aa807f1dfbc44a0794259264a0/sample-code/service-principal-sample-app/index.js#L15C25-L15C39
The example code references a psdService URL and that seems to be defined in the config.json.

It looks like there is a new way to call the API as described here:
https://github.com/adobe/aio-lib-photoshop-api?tab=readme-ov-file#usage
If that's the case, the sdk has the urls already. If that's the case some of the examples may be out dated?


Not showing all honza/vim-snippets (but it still exists somehow)

Hi, I've checked a lot of issues before creating this one, although it is related to some.
I'm using honza/vim-snippets with UltiSnips

this is what I'm sourcing in cmp.setup

Some snippets do not show in the cmp list, I don't know why, but I still can expand them somehow, for example:
if I type "fore", press escape then press "a" (to the end of the word) and press "tab", it expands to a foreach loop. This is valid for any other snippet that does not appear in the list but exists in honza/vim-snippets (If it is not clear, I can post a clip showing this behavior)
The image bellow is showing neovim (top) and vim (bottom), both using the same snippets

I don't mind showing different things between neovim and vim, as long the snippets shown are the same

The source name in your first screenshot is ultisnisp, is that typo only in that screenshot or also in your configuration? :smile:

The source name in your second screenshot is ultisnisp, is that typo only in that screenshot or also in your configuration? smile

Yes it is 😆, but it dit not resolve the issue 🥲

do I need to require/import honza/vim-snippets somewhere in my cmp configuration other than the plugins file?

do I need to require/import honza/vim-snippets somewhere in my cmp configuration other than the plugins file?

No, you only need to add it to your list of plugins.

  (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/UltiSnips/c.snippets:104)
78: (fr) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/cpp.snippets:84)
79: (fre) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:361)
80: (fun) "function" (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/UltiSnips/c.snippets:125)
81: (fun0) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:145)
82: (fun1) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:163)
83: (fun2) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:182)
84: (fun3) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:202)
85: (func) "Function Header" (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/UltiSnips/c.snippets:165)
86: (fund) "function declaration" (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/UltiSnips/c.snippets:132)
87: (getopt) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:281)
88: (head) "File Header" (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/UltiSnips/c.snippets:153)
89: (if) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:65)
90: (ifdef) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:33)
91: (ife) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:69)
92: (ifi) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:86)
93: (inc) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:19)
94: (incc) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/cpp.snippets:6)
95: (iter) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/cpp.snippets:192)
96: (itera) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/cpp.snippets:198)
97: (ld) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/cpp.snippets:205)
98: (list) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/cpp.snippets:25)
99: (lld) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/cpp.snippets:208)
100: (lorem) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/.snippets:16)
101: (main) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/UltiSnips/cpp.snippets:33)
102: (mainn) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:10)
103: (map) "std::map (map)" (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/UltiSnips/cpp.snippets:81)
104: (mark) "#pragma mark (mark)" (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/UltiSnips/c.snippets:49)
105: (mfun) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/cpp.snippets:108)
106: (mlc) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:346)
107: (mlcd) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:355)
108: (mmap) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/cpp.snippets:37)
109: (modeline) "Vim modeline" (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/UltiSnips/all.snippets:75)
110: (mset) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/cpp.snippets:34)
111: (msp) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/cpp.snippets:63)
112: (mu) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/cpp.snippets:87)
113: (mup) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/cpp.snippets:68)
114: (ndef) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:25)
115: (nocxx) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:52)
116: (ns) "namespace .. (namespace)" (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/UltiSnips/cpp.snippets:63)
117: (once) "Include header once only guard" (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/UltiSnips/c.snippets:88)
118: (pqueue) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/cpp.snippets:58)
119: (pr) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:269)
120: (prd) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:274)
121: (prf) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:276)
122: (pri) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/cpp.snippets:75)
123: (pro) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/cpp.snippets:78)
124: (prx) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:278)
125: (pub) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/cpp.snippets:81)
126: (queue) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/cpp.snippets:55)
127: (rca) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/cpp.snippets:174)
128: (readfile) "read file (readF)" (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/UltiSnips/cpp.snippets:70)
129: (ret) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:112)
130: (rlc) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:352)
131: (sca) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/cpp.snippets:168)
132: (set) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/cpp.snippets:28)
133: (st) "struct" (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/UltiSnips/c.snippets:119)
134: (stack) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/cpp.snippets:52)
135: (switch) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:92)
136: (switchndef) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:101)
137: (t) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:89)
138: (td) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:228)
139: (tde) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:258)
140: (tds) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:241)
141: (time) "hh:mm" (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/UltiSnips/all.snippets:94)
142: (todo) "TODO comment" (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/UltiSnips/all.snippets:102)
143: (tp) "template <typename ..> (template)" (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/UltiSnips/cpp.snippets:89)
144: (try) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/cpp.snippets:213)
145: (umap) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/cpp.snippets:43)
146: (ummap) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/cpp.snippets:49)
147: (umset) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/cpp.snippets:46)
148: (uset) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/cpp.snippets:40)
149: (uuid) "Random UUID" (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/UltiSnips/all.snippets:109)
150: (vector) "std::vector (v)" (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/UltiSnips/cpp.snippets:85)
151: (wh) (/home/erlonbie/.local/share/nvim/site/pack/packer/start/vim-snippets/snippets/c.snippets:127)

It was a typo at all... 🫠
ultisnisp to ultisnip (but I forgot the s at the end), so the final one is ultisnips

My new issue is that I can't get the preview of the snippet, i can only see it's discription. I saw some PRs from the end of last year providing this functionality, but I don't know if that should be the default behavior.
If this change of subject is not aproprieated, I can create a new issue asking for this
thanks in advance!

Sorry for taking your time

No worries, I'm happy to help :) Glad that it's working now for you!

My new issue is that I can't get the preview of the snippet, i can only see it's discription.

That sounds like the ghost_text feature in nvim-cmp. You can enable it like this:
require("cmp").setup {
  sources = {
     -- ...
  },
  -- Add the next three lines to your nvim-cmp setup code
  experimental = {
    ghost_text = true,
  },
}

That sounds like the ghost_text feature in nvim-cmp. You can enable it like this:
It's not exactly ghost text, it's the snippet preview, the part that I can see something like this: for $1; $1 < $2 and so on

Oh, nvm I should have looked at your screenshot... You can do this by customizing the documentation key in the setup (see readme for details). Can you add the following to your config?
require("cmp_nvim_ultisnips").setup {
  documentation = function(snippet)
    return snippet.body
  end
}

Now it all makes sense, thank you so much @smjonas !


Is this library no longer maintained

IGListKit is still very much under active development! But in recent times, the folks in charge of pushing the public releases has rotated. I'm making sure a new public release goes out soon. :)


Fix: [DS-371] button gaps no longer show when not wanted

Just as a general comment, for these types of changes, what would help me and perhaps others would be a before/after pic in the description. Not mandatory this time!


cherry-pick impl translate and url encode

Proposed changes
pick from master:
https://github.com/apache/doris/pull/40567

run buildall

run buildall

run buildall


RailgunsRetargetMini: Disable EM Railguns when the sphere is complete

It'd be cool to have an option on RailgunsRetargetMini that disables the rail gun if the Dyson Sphere is complete and the new solar sail would go in the Dyson Swarm.
I'm playing to complete my spheres, and have to keep watching that none of my starts are receiving swarms.
Bonus: Limit the railguns if they are sending out more solar sails than the sphere can currently absorb. :)

They are featured in another mod SmartEjectors.

Tried it out - and while it seems to work, it's quite slow. Will report it to them.


[LIVY-586] Fix batch state from starting to dead when startup fail

What changes were proposed in this pull request?
Fix batch state from starting to dead when startup fail
How was this patch tested?
Create batch session with error parameter, the batch state will turn from starting to dead.

+1


docs: update screenshots in the UG, add manual testing information for clear and reset commands, add MSS for reset command

docs: update screenshots in the UG, add manual testing information for clear and reset commands, add MSS for reset command

LGTM, just gotta add a new line at the end of our DG to pass the CI 🌮

Thanks bruh 🌮

Codecov Report

Merging #262 (9f11d09) into master (5e58339) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #262   +/-   ##
=========================================
  Coverage     74.79%   74.79%
  Complexity      573      573
=========================================
  Files            83       83
  Lines          1956     1956
  Branches        183      183
=========================================
  Hits           1463     1463
  Misses          435      435
  Partials         58       58

Continue to review full report at Codecov.

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


Feature/form-hook

Description
Reusable useForms hook for all components using Forms.
Hook returns 3 items: formValues, handleChange, clearForm
Video Recording
Trello Card
Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have removed unnecessary comments/console logs from my code
[x] I have made corresponding changes to the documentation if necessary (optional)
[x] My changes generate no new warnings
[x] I have checked my code and corrected any misspellings
[x] No duplicate code left within changed files
[x] Size of pull request kept to a minimum
[x] Pull request description clearly describes changes made & motivations for said changes

Great idea.  Well done and efficient.


website: move to App Engine flexible

Most of the time, the latest version of Go isn't available on GAE. That causes problems, like with #21601.
We should move it to GAE flexible and/or GKE, where we can just run a container and therefore have godoc built by the same version of Go as it is serving docs for.
/cc @bradfitz

ping @dmitshur. AFAIU, the latest website runs on GAE flex. https://go.googlesource.com/website/+/refs/heads/master/cmd/golangorg/app.prod.yaml

This issue looks like a forgotten duplicate of #27205. Yes, the website runs on App Engine Flexible Environment as of https://github.com/golang/go/issues/27205#issuecomment-435172401, so this is done.


Specify protocols in ctr encrypt recipients

Second part to address https://github.com/containerd/containerd/issues/3443. Modified ctr images encrypt command --recipient option to add a protocol prefix. i.e<EMAIL_ADDRESS>jwe:/path/to/pubkey, pkcs7:/path/to/x509
Signed-off-by: Brandon Lum<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master    #3460   +/-   ##
=======================================
  Coverage   44.22%   44.22%
=======================================
  Files         124      124
  Lines       13724    13724
=======================================
  Hits         6070     6070
  Misses       6723     6723
  Partials      931      931

Flag
Coverage Δ

#linux
48.01% <ø> (ø)
:arrow_up:

#windows
39.88% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

LGTM


Add auto-generate sample for WorkloadMonitor

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
API changes are not detected in this pull request.


Suggestion: Replace MToon with a vendor agnostic toon shader

Description
While VRM itself is designed to be platform independent, the standard MToon shader relies heavily on Unity which make it hard to use it on any other platform.
Proposed solution
Replace MToon with a platform independent toon shader, or rewrite MToon in GLSL.
Other solutions considered
I considered making a custom implementation of MToon, but due to lack of documentation and specifications, this does not seem a viable solution.

We definitely want abstract MToon description at first,
rather than actual implementation in GLSL or other language
since it relies on platform specific environment e.g. light definition.
Abandon current MToon is not an option in my opinion,
we already are using MToon-specific feature in many good ways
and these are not too impossible to implement to its aesthetic importance.
Agree that we might should have something compatible with MToon though.


WIP Refactoring to make things simpler

work in progress

package-lock.json should be excluded.

Looking quite good so far.
In the getTiles Method of SmallBoard.tsx:
isClickable={isActive && tile.value !== TileValue.Empty}

shouldn't this be the following?
isClickable={isActive && tile.value === TileValue.Empty}

No, TileValue.Empty can't be the winner

If a tile is already used by a Player it shouldn't be clickable. What does this have to do with the winner? (only a small board can be won not a tile.)

Otherwise it looks good. In the render method of SmallBoard there are 1-2 opportunities to make the code clearer.


chore: update rockspec

[x] Have you read CONTRIBUTING.md?

rockspecs automatically take into account the "lua" folder so it's actually better to remove the whole "modules" attribute


Update configuration.rst, again

Improved documentation on e-mail check interval, added documentation on locale.

Codecov Report

Merging #880 into 0.2.x will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##            0.2.x     #880   +/-   ##
=======================================
  Coverage   63.63%   63.63%
=======================================
  Files          40       40
  Lines        3729     3729
  Branches      576      576
=======================================
  Hits         2373     2373
  Misses       1201     1201
  Partials      155      155

Continue to review full report at Codecov.

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


Silence with unused label matching All Alerts

What did you do?
Created a silence with a unused label and used regex matcher. The silence matcher used,
example!~"silence1.+"
What did you expect to see?
Expected the silence not matching any alerts, since the label is not there in any alerts.
What did you see instead? Under which circumstances?
The silence matched all alerts.
I can understand since all the alerts satisfy the condition ( example label not matching the regex silence1.+) all the alerts were returned. But why the existence of label example not checked ? is this expected behavior ?

I see how it can be somehow not intuitive but semantically it is correct: when the alert doesn't have the example label, the matcher considers the label value to be the empty string.
In your case, the silence matchers should be  example!~"silence1.+",example!="" or example!~"silence1.+|".

got it, thanks


Transitions extension

Added / modified default transitions.
Mentioned in #1621
Appearance

up down left right with entrance and exit variations for all

Fade:

Has no direction by default, simply fades opacity

Bounce:

Defaults to bouncing along Z-axis
Modifed version from: https://github.com/daneden/animate.css/tree/master/source/bouncing_entrances

Slide:

Defaults to sliding from the top

Emphasis
Rubberband:

Copied directly from: https://github.com/daneden/animate.css/blob/master/source/attention_seekers/rubberBand.css

Demo of additions: http://patcave.info/semanticui-transitions/

You better check the console log after clicking some "In" and "Out" buttons in your demo.

@Lisa-Williams It just looks like this happens when no animation is selected, doesn't appear to be an issue with contributions just sanity-checking user input.

These are great. Thanks for the hard work and terrific demo.
Bounce
We have some naming issues since bounce is already a static animation in existing versions
http://semantic-ui.com/modules/transition.html#bounce
Since direction is determined by current visibility state, there cannot exist both a static animation and transition with the same name. Renaming bounce would create breaking changes which should, with SemVer, be only introduced in major releases, i.e. 2.x
Bounce is probably the most appropriate name, but we will have to find another. Perhaps "swing" "oscillate", "rebound", "jump", or do you have any suggestions?
Rubberband
All other transitions use verbs. Are you fine with changing this to something like "stretch", or "bend"?

I'll have to fit this into 1.8.0

For Rubberband, we could just call it Jiggle perhaps?
As far as Bounce is concerned, I really have no idea what would be appropriate since this animation seems to combine a few actions.
We should also be careful since like you said, renaming animations will be very difficult. If in the future someone introduces an animation that is much better suited for the name we have for another, what then? There's seems to be a limited number of words to describe animations.

Also, the in/out direction is something that tripped me up. If we have an animation like "fade right", does it fade in from the right, then fade out to the right? Or should it return to the direction it came from?

@jlukic You are right. I just checked again. The dimmer did it's job almost too good.
These are indeed a great addition. Thanks @ph7vc .

Forgot.
"Bounce Up" then "In" flashes a vertical scrollbar.
So does "Bounce Down" then "Out".
Will this be just in the demo?

@Lisa-Williams I didn't even notice that. It looks like it happens because of where the animation starts. It does it on http://daneden.github.io/animate.css/ as well, which is where I got the animation from. I'll see if I cant fix it

Well if you could. Because I would love to use these.

@ph7vc I found a workaround.
Vertical scrollbar means: page gets taller.
Specify overflow-y: hidden on the html element and it hides the vertical scrollbar.
But this should only happen for the duration of the animation. 0% and 100% in the keyframe animation.
Possibly not the best resolution though.

@Lisa-Williams the problem is that this also seems to happen vertically as well. Hiding overflow can cause problems for people who have websites that scroll horizontally or vertically. I don't think that would be a viable solution. The only think I can think of is to reduce the distance it comes in from, 3000px to something smaller

This is one of the limitations with global animations, scale in suffers the same fate with modal, 10% is pretty subtle on small elements, but on massive modals it can be a huge jump.

@ph7vc If the overflow-y: hidden is set at 0% and removed (overflow-y: visible or initial) at 100% it is almost unnoticeable. Unless the animation would take multiple seconds. But yes, it is far from ideal.
@jlukic What about Boink, Boing, Bam Bam to replace Bounce?

I added another transition called "Swing".
For some reason, on the demo it doesn't seem to pick up the in and out when the select box is changed.
Demo: http://patcave.info/semanticui-transitions/

Thanks again. Will make all this into next week's release. 1.8.0

With regards to transitioning out, they should return to the same point which the animation began. This seems to be what you have already.

This is all merged in.
I've changed transition module to not set animation-duration by default. You can still set transition duration in javascript, but it will obey css defaults if no duration is specified. This should make it easier for people who want to just add animation-duration in their custom css.
In addition I've modified transition.overrides to give some animations additional time. For example, fly, drop, and swing, all need extra animation duration to account for their telegraphed easing.


how to autorun iso/hdd ?

hello
i know you can create a Startup Script on the hdd and then save hdd.img
once i upload hdd.img to my website and edit settings.js i still need to hit start computer.
is there a way to autorun a hdd.img if someone opens the link or index.html file ?
thank you

Yes in the finishInitialization() function of script.js you can add a call to myApp.loadRom(true) under the line this.loading = false;
the only issue is that on some devices you won't have any audio. That is because most browsers require you to interact with the page before allowing audio to play, that is the main reason for the Start Computer button.

thank you.
how can i have smaller hdd images or is there any other formats that i can use ?
the minimum is 256 mb but some dos games have like 200 kb.

If you click on settings at the start page you can set the initial hard drive size to as low as 25mb. However you need press the clear button that will delete your current hard drive first. Make sure you take a backup before clearing if you want to save that old drive.

thank you so much
is it possible istead of a hdd.img to use something else ? and not worry about ocupying to much ! 25 mb for a 200 kb game is a little to much. i love this project and i want to use it on my website. for now id like to start with 4 games unde 1 mb.
i just want the user to just press "start computer"(rest of options like drag and drop removed) and the game sould start like "dave 2 haunted mansion"

If you edit index.html you can add your own hard drive sizes like this:
<select class="form-control" rv-value="data.initialHardDriveTemp" id="ddlInitialHD">
   <option value="hd -size 1">1 MB</option>
   <option value="hd -size 25">25 MB</option>
   <option value="hd -size 50">50 MB</option>

i added the values but the minimum hdd size is 5mb. if i go lower then it shows an error.
so far so good.
thank you for your reply
is there other way of "preloading" zip/iso so that "Start computer" works without hdd.img ?
thank you again <3

I haven't added the ability to have a game list yet out of the box but you can do it with a little customization. Go to romlist.js and your list of games there which are on your server:
var ROMLIST = [
    {url:"game1.zip",title:"Game1",skipiso:"true",ram:"128"},
    {url:"game2.zip",title:"Game2",skipiso:"true",ram:"128"},
    {url:"game3.zip",title:"Game3",skipiso:"true",ram:"128"},
];

then in Index.html delete the rv-if statement from ROM LIST

                    <select class="form-control" id="romselect">
                        <option rv-each-rom="data.romList" rv-skipiso="rom.skipiso"
                            rv-ram="rom.ram" rv-value="rom.url">{rom.title}</option>
                    </select>

that will get the dropdown to show up. finally look for any calls to "myApp.loadRom(true)" in index.html and change them to "myApp.loadRom()". if you follow through the code you can see what this is doing, basically you're telling it to always load with a file. then based on which game they select it will download that zip and load it in before starting.

i edited the files exactly and .. it doesnt work or maybe i did something wrong
here is a link for a test  with the files i edited https://retrotech.ro/toons/
inside the folder there is a game DAVE2.zip
romlist has this
var ROMLIST = [     /*     {url:"DAVE2.zip",title:"Dave2",skipiso:"true",ram:"128"},     {url:"game2.iso",title:"Game2",skipiso:"true",ram:"128"},     {url:"game3.iso",title:"Game3",skipiso:"true",ram:"128"},     */ ];

you need to remove the /* and */ in romlist.js - that comments out everything inside

did that just now but nothing happens
`var ROMLIST = [
{url:"DAVE2.zip",title:"Dave2",skipiso:"true",ram:"128"},
{url:"game2.iso",title:"Game2",skipiso:"true",ram:"128"},
{url:"game3.iso",title:"Game3",skipiso:"true",ram:"128"},

];`

on the website you linked I still see comments around romlist

thats impossible !!!
here is a screenshot of the file

You removed the entire div -

 rv-if="data.loggedIn | ev '==true'"
                style="width: 300px;margin-left: auto; margin-right:auto;">
                <select class="form-control" id="romselect">
                    <option rv-each-rom="data.romList" rv-skipiso="rom.skipiso"
                        rv-ram="rom.ram" rv-value="rom.url">{rom.title}</option>
                </select>

You need to put the div back and only remove the rv-if statement

damn :D my bad...
i got it here

but thats it

sir can you please tell me what to do next or why does it not go anywere from this ?

take a look at this commit - I did a proof of concept with all the modifications you need to make. in romlist.js add a property called "autostart" with the commands you want it to run after unzipping the game. you would use this instead of the startup script.

great !!! it works great !
inside your code is there an easy way to disable drag and drop/browse/settings without removing code from index.html ?
thank you for your work <3

no - you would need to just remove it from the index.html

all good and working great!
after saving a hdd and then launching it again, when it extracts from the zip it asks to overwrite files but does nothing without confirmation.
what file to edit and where so it overwrites without confirmation.
thank you

one last question and i hope you can help me.
is there a setting for autofit game screen inside index.html

take a look at this commit:
https://github.com/nbarkhina/DosWasmX/commit/5aace0ce22518c6e2d87f00404b01db3c218feb4
this should fix the issue where it keeps extracting the files for Overwrite after you saved the drive. now it will save each hard drive separately in the browser. for autofit you would need to play around with the width of the canvas, or set it to full screen.

thank you sir <3


outdated steam_api.dll in gmod, breaking callbacks.

Just a hunch, but the dll provided by Garry's Mod dates back to May 2013, possibly before everything in the Steam API used the asynchronous callbacks. This could explain why the call result for CLobbyCreated isn't working.

Try and replace the steam_api.dll or force GMod to load a newer one.

Steam_RegisterInterfaceFuncs


Connect-AzureAD from within VS Code terminal doesn't display login dialog

Issue Type: Bug
From within VS Code powershell terminal (integrated or standard)

Install-Module AzureAD
Enter 'Connect-AzureAD'
Appears to hang the terminal

If you alt-tab or win-tab you will see a login dialog which doesn't appear on the taskbar and doesn't have focus - you can then give it focus and login successfully, but default behaviour should have the dialog appear on top, with focus, and be visible on the taskbar, as happens from a powershell.exe shell.
From Powershell.exe:

But if I launch from VS Code Terminal:

VS Code version: Code 1.57.1 (507ce72a4466fbb27b715c3722558bb15afa9f48, 2021-06-17T13:28:07.755Z)
OS version: Windows_NT x64 10.0.18362
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz (2 x 2397)

GPU Status
2d_canvas: unavailable_softwaregpu_compositing: disabled_softwaremultiple_raster_threads: disabled_offoop_rasterization: disabled_offopengl: disabled_offrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_software

Load (avg)
undefined

Memory (System)
8.00GB (4.63GB free)

Process Argv
--crash-reporter-id 37120e03-a025-4b4a-921a-5a92e0f0f05f

Screen Reader
no

VM
0%

Extensions (17)

Extension
Author (truncated)
Version

armview
ben
0.4.5

azure-pipelines
ms-
1.188.1

vscode-azureappservice
ms-
0.22.0

vscode-azurefunctions
ms-
1.4.0

vscode-azureresourcegroups
ms-
0.4.0

vscode-azurestorage
ms-
0.12.1

vscode-azurevirtualmachines
ms-
0.4.0

vscode-bicep
ms-
0.4.63

vscode-cosmosdb
ms-
0.17.0

vscode-docker
ms-
1.14.0

vscode-dotnet-runtime
ms-
1.1.0

remote-wsl
ms-
0.56.5

azure-account
ms-
0.9.8

azurecli
ms-
0.5.0

powershell
ms-
2021.6.2

vscode-node-azure-pack
ms-
0.2.1

azurerm-vscode-tools
msa
0.15.1

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
pythonvspyt700cf:30270857
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vstes627:30244334
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551cf:30311713
vspre833:30321513
pythonptprofiler:30281270
vshan820:30294714
pythondataviewer:30285071
vscus158:30321503
pythonvsuse255cf:30323309
vscorehov:30309549
vscod805:30301674
pythonvspyt200:30329803
binariesv615:30325510
vsccppwt:30329788

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


Renamed $extras to $extra

The $extras field property doesn't work, but $extra does. Seems like typo.

Hey @romanslonov , Thanks!
my mistake.


Update to mft.py - ObjectID

Changed objectID parsing so that it translates the first 8 bytes to little endian

Thank you very much for catching, and fixing, this!


java.lang.NoClassDefFoundError: com.vanniktech.emoji.one.EmojiOneProvider Against Android API 19 (4.4.2)

I encountered the following error as I tested version 2.8.0 against Android API 19 - 4.4.2. (com.qiscus.sdk:chat:2.8.0)
This error occurs at line:
Qiscus.init(this, "MY_APP_ID");
Error Log:
FATAL EXCEPTION: main                                                                                Process: com.smartapplications.smartapp, PID: 27042                                                                                java.lang.NoClassDefFoundError: com.vanniktech.emoji.one.EmojiOneProvider                                                                                at com.qiscus.sdk.Qiscus.initWithCustomServer(Qiscus.java:138)                                                                                at com.qiscus.sdk.Qiscus.init(Qiscus.java:98)                                                                                at com.smartapplications.smartapp.SmartApp.onCreate(SmartApp.java:37)                                                                                at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1007)                                                                                at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4582)                                                                                at android.app.ActivityThread.access$1500(ActivityThread.java:151)                                                                                at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1402)                                                                                at android.os.Handler.dispatchMessage(Handler.java:110)                                                                                at android.os.Looper.loop(Looper.java:193)                                                                                at android.app.ActivityThread.main(ActivityThread.java:5333)                                                                                at java.lang.reflect.Method.invokeNative(Native Method)                                                                                at java.lang.reflect.Method.invoke(Method.java:515)                                                                                at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829)                                                                                at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645)                                                                                at dalvik.system.NativeStart.main(Native Method)

Can you elaborate how you got that error? why before it you didn't get that error?
or try to put emoji provider dependencies to your gradle file:
compile 'com.vanniktech:emoji-one:0.5.0'

*sorry for my bad english

@zetbaitsu I hadn't tested my App in any Android API 19 device before. This was the first time.
I have Qiscus.init(this, "MY_APP_ID"); in my Application class.
The logs are above. I literally can't explain why I got this error. Please take note the Device I'm using is:
HTC 820 G+ Dual-sim running stock (unmodified) Android OS API 19 (4.4.2)

is the error happened to debug version too? or only when you activated proguard or signed APKs?

I also has the same issue .. I don't know when that errors occur... or I don't know if I erase something. but as I remember, I don't change anything about the emoticon. How to fix it?

hi @andhicapratama
which version you use our sdk ? we recommend you use our qiscus chat sdk core https://github.com/qiscus/qiscus-chat-sdk-android-sample
Documentation:
https://docs.qiscus.com/android/latest/introduction#getting-started
you can freely to implement your own emoji

i use
implementation('com.qiscus.sdk:chat:2.28.1') {
exclude group: 'com.google.android.gms'
}

but when I run with another laptop, it runs without any error.. what its like that?


A nice UX pattern is to have the download_dbs.py to be part of the pipeline itself. It's possible to have a module to download the dbs, if they are missing. This lowers the entry barrier in my experience.

Because all the processes are parallelized on the number of samples, we prefer not to include the download of the DBs in the workflow.
Also, we would like to avoid updating the code every-time a DB is updated, and want to give more flexibility to the users for selecting the databases they want to use.


Renamed navigation item to docs and samples

Summary
I searched for the docs and found this great documentation under Sample Collection. It was not intuitive. So I suggest renaming it to Docs & Samples.  I did not change the url to avoid broken links.

Pretty much every link on the front page links to a documentation page, from where you can navigate through all docs pages from the left sidebar.

That documentations appear in the collections archive is simply because they belong to a collection named docs, and I'd rather consider this a coincidence than an intention.


License and attribution missing

I came across this library looking for a non-GPL3 CRSF library, but while this copy lists the  CC0-1.0 license, it looks like it's a copy of the GPL3 library https://github.com/ZZ-Cat/CRSFforArduino . Forking it to just the Arduino library is fine under its original license, but the license and copyright should be corrected.

@josephduchesne Please specify the specific file or location in the file that is a copy of the repository you mentioned.

close


ValueError: not enough values to unpack (expected 2, got 1)

What works
test:
  - a: 3
  - b: 6

What doesn't work
port:
  - 1094
  - 2832

Got the following error msg:
Traceback (most recent call last):
  File "/home/codespace/.local/bin/yamldoc", line 33, in <module>
    sys.exit(load_entry_point('yamldoc==0.1.6', 'console_scripts', 'yamldoc')())
  File "/home/codespace/.local/lib/python3.10/site-packages/yamldoc-0.1.6-py3.10.egg/yamldoc/cli.py", line 14, in cli
  File "/home/codespace/.local/lib/python3.10/site-packages/yamldoc-0.1.6-py3.10.egg/yamldoc/parser.py", line 405, in main
  File "/home/codespace/.local/lib/python3.10/site-packages/yamldoc-0.1.6-py3.10.egg/yamldoc/parser.py", line 72, in parse_yaml
ValueError: not enough values to unpack (expected 2, got 1)

However this is also a valid yaml config that should be supported.

Thank you for the report, I believe this may be related to another issue that I found. I will look into this and get back to you.

Hey @kayx23, thanks again for the report. Would you mind checking if the solution proposed in #11 works for your use-case? I've allowed for array-valued entries.
As a side note, when looking into this I realised that there are a few bits of YAML syntax that I'm not really supporting here, I'll be adding a page that describes the currently unsupported (but of course possible, please continue to request things that are important) pieces of syntax to make things more clear.

As a test case I've added test/yaml/lists.yaml and test/schema/lists.schema.
The example above now renders as the following:
port.yaml:
#' test metadata
port:
  #' this will not be included
  - 1094
  - 2832

yamldoc port.yaml

Key
Value
Information

port
['1094', '2832']
test metadata

If you add in a schema file with an array type, this is also now recognized:
port.schema:
$schema: "http://json-schema.org/draft-04/schema#"

type: object

properties:
    port:
        type: array

yamldoc port.yaml -s port.schema

Key
Value
Type
Information

port
['1094', '2832']
array
test metadata

Btw I coopted that PR to improve testing and fix another issue that I found while investigating this one.


Calling Julia code from MATLAB

Issue transferred here from email

thanks for your jajub package!
It could be very interesting for Matlab too, because Java is Matlab's second internal language.
The usual Mex C-interface is broken since 3 years.
I compiled the java files and put them in a jar.
In Matlab:
>> javaaddpath('jajub.jar');
>> import org.arl.jajub.*
>> methods JuliaBridge
Methods for class JuliaBridge:
JuliaBridge      eval             getClass         notifyAll
...

The environment variable is set
>> ls([getenv('JULIA_HOME'), '/bin/julia.exe'])
julia.exe

Then I tried your example:
>> julia = JuliaBridge
julia = org.arl.jajub.JuliaBridge@6d303498

>> julia.open
Java exception occurred:
java.io.IOException: Bad Julia process
	at org.arl.jajub.JuliaBridge.open(JuliaBridge.java:106)
	at org.arl.jajub.JuliaBridge.open(JuliaBridge.java:118)

What could have gone wrong?

Calling Julia from MATLAB using JaJuB should be possible, although I have not tried it personally.
The exception suggests a timeout in starting the Julia process. Have you tried running julia manually from command line to make sure Julia runs fine on your machine? If, for some reason, startup is slow (the default timeout is 10 seconds), you can call open() with a timeout argument (in ms) to try if a longer timeout helps.

Manual calling seems possible:
>> system('julia -E "2+2"');
4

Try:
import org.arl.jajub.*
j = new JuliaBridge()
j.open(30000)   // longer timeout (30 s)
j.exec("println(2+2)", 10000)
j.close()

Then throwing the same error after 30s.

What OS are you running on?

Win10

Can you try this Groovy code on a groovysh on the same machine?
import org.arl.jajub.*
j = new JuliaBridge()
j.open(30000)   // longer timeout (30 s)
j.getJuliaVersion()
j.close()

(or if you prefer, put it in a Java class and run it)
Trying to figure out if this is some permission problem from the MATLAB JVM or something more general. I don't have access to MATLAB to test for the next few weeks, but might be able to test myself later in August.

@bardo84 Any update?

Closing for lack of activity.


FreeRTOS+TCP /multi /IPv6 : FreeRTOS_TCP_IP.c(v2)

The purpose of this PR is to get the sources reviewed. Please do not used them for any project.
FreeRTOS_TCP_IP.c is now compatible with multiple interfaces and IPv6.
This PR replaces the earlier #188
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Since FreeRTOS-Plus-TCP has become a separate module, the development of FreeRTOS+TCP with multiple interfaces and IPv6, will be moved to that repo.
Closing this PR now.


Return deployed version at root path

Return the current deployed version on the “Is Healthy?” root path (“/”) - today we just say – “Healthy”.

branch: dev/sean/1971_version_health_endpt


Resolves #6751 - added kafka consumer assign method interception to p…

…roperly trace requests going through 'assigned' topics

[X ] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #6751.
[ ] Update the CHANGES log.

I think you should learn about plugin test

https://github.com/apache/skywalking/tree/master/test/plugin/scenarios/kafka-scenario should be updated, including test demo codes and expected data file.
Changes.md should be updated.

@Yebemeto Hi, cloud you like to collect partition numbers when you collect the topics?

@Yebemeto Any update?

@wu-sheng  Hey, I ll take a look very soon, perhaps today.

@dmsolr In use case i need this for it is not beneficial. You think it should be recorded as part of trace?
This would kind of change how both subscribe and assign traces look in kafka.

@dmsolr In use case i need this for it is not beneficial. You think it should be recorded as part of trace?
This would kind of change how both subscribe and assign traces look in kafka.

I got it. Thanks for your explanation.

Please check CI status, some checkStyle was failed.

Ok, thanks for your input everybody. I think i have now done everything.
@wu-sheng I made plugin test cases for this and also updated CHANGES.md
@zifeihan i fixed code style

@darcydai @dmsolr @zifeihan Please review.


Minecraft - Clear Player List

Feature Request
When Java Minecraft crashes, the Active User list dose not clear or refresh without backing out to the main instances screen. When a player joins, Amp automatically shows the new user while viewing the console, but dose not automatically clear itself or a joined player if it does not see the console output given of that player leaving.
Amp already detects when the server is in a starting state so request that the console screen and active user list automatically clear itself of active users IF the server is in a stopped or starting state.
I confirm:

[ X ] that I have searched for an existing feature request matching the description.

If you refresh the browser, does the user list clear itself up?


Adding VeraCrypt

Adding a new cask

[x] Checked there aren’t open pull requests for the same cask.
[x] Checked there aren’t closed issues where that cask was already refused.
[x] When naming the cask, followed the token reference.
[x] Commit message includes cask’s name.
[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] brew cask install {{cask_file}} worked successfully.
[x] brew cask uninstall {{cask_file}} worked successfully.

@vitorgalvao Done

Thank you for the contribution. It needed some fixes, so they were made in 38841c30824853ccf23d471158d5b0eac433fe86. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.


Recipe for the GigaSpeech corpus

Hey guys, I just got some time to create a k2 recipe for the GigaSpeech corpus. @chenguoguo
Once the recipe ready, I'll make PRs to both GigaSpeech's repo and here.

I would be interested to know if you find some bottleneck in Lhotse - either speed or memory usage. I have a feeling we’ll need to optimize it a bit to make it convenient to use for such large corpora.

I would be interested to know if you find some bottleneck in Lhotse - either speed or memory usage. I have a feeling we’ll need to optimize it a bit to make it convenient to use for such large corpora.

OK, I'll pay attention on it. If there's such bottleneck, I'll try to fix it and make a PR to Lhotse.

Great! I planned to work on this but it's great that you have some time for this, one less task for me :-)  I'll start playing with it once we have a basic recipe.

@jimbozhang  default GigaSpeech dev/test sets are huge(50+ hours combined).  Dev/Test sets of this large are not necessary for academic-scale research, and it slows down research experiments.  During the development of K2 recipe, if you can draw random subsets(e.g. 2500 utts for dev, and 5000 utts for test) from standard dev/test, we can stabilize your subsets and tag them as something like "GigaSpeech DevSlim/TestSlim", and incorporate these tags into raw GigaSpeech dataset.

Good idea to have a subset.
In k2/snowfall we decode on the GPU and decoding currently takes a couple
minutes on a single GPU (vs. 12 hours for training 10 epochs on 100 hours,
for example),
think a 10 or 20 hour subset might be reasonable, depending on the WER.
On Fri, Apr 9, 2021 at 11:22 PM Jiayu DU @.***> wrote:

@jimbozhang https://github.com/jimbozhang default GigaSpeech dev/test
sets are huge(50+ hours combined). Dev/Test sets of this large are not
necessary for academic-scale research, and it slows down research
experiments. During the development of K2 recipe, if you can draw random
subsets(e.g. 2500 utts for dev, and 5000 utts for test) from standard
dev/test, we can stabilize your subsets and tag them as something like
"GigaSpeech DevSlim/TestSlim", and incorporate these tags into raw
GigaSpeech dataset.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/k2-fsa/snowfall/issues/148#issuecomment-816760101,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZFLOZNV4K3R2B6XNGZTHDTH4LUJANCNFSM42OKRFRQ
.


⚠ Turnos 24x7 has degraded performance

In b2c00c1, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 2003 ms

Resolved: Turnos 24x7 performance has improved in 6996ae2.


linphone: 4.3.2 -> 4.4.1

Description of changes
https://linphone.org/news/new-releases-linphone-apps-and-linphone-sdk
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

I left some comments on some specific things. Overall this looks fine. Do you know what changes are in the Belledonne fork of soci making it necessary to use that one over upstream?

Oops, that rebase pulled in a lot of commits...

Do you know what changes are in the Belledonne fork of soci making it necessary to use that one over upstream?

I can't tell you much more than what a git diff would. I know we are one major version behind, with some cherry-picked commits. We have ongoing efforts to rebase on top of 4.0, but no plans to submit our changes upstream (to my knowledge).
As to why it's necessary: The linphone desktop I compiled was unable to display any chat history or contact list, and segfaulted approximately one second after receiving any chat message (I didn't time it, but it was reproducible).

@ThibaultLemaire I'm closing this as the primary part of it has been merged upstream. Your dependency cleanup was not included yet because it got merged before I had time to add it. I'd recommend you submit a separate PR to the main nixpkgs repo with it.

@lorenz https://github.com/NixOS/nixpkgs/pull/171368


:react-native-image-picker:processReleaseResources FAILED

:react-native-image-picker:processReleaseResources FAILED
FAILURE: Build failed with an exception.
\node_modules\react-native-image-picker\android\build\intermediates\bundles\release\assets' specified for property 'assetsDir' does not exist.

It's ok when I created a folder named assest


refactor(core): merge TypedEventTarget and EventTarget classes

Closes #4710

Attempted a couple of different approaches here, couldn't find a way to support both default unmapped and mapped events in one class. Will come back to this later but going to close this for now since it's kind of just noise.


Allow non-determinism in menhir interpretation loop

This should fix https://github.com/facebook/reason/issues/1402 and also enables the (args) : result_type => result syntax.
Why
expr ::=
| (expr, ...) // tuple former
| (pattern, ...) => expr // lambda function

Lambda function syntax is inherently ambiguous: the parser needs to look after the closing parenthesis to know whether an expression or a pattern should be parsed after the opening parenthesis.
This is beyond what LR parsers can handle, it is in the realm of GLR parsers.
That's not a good thing, but it is in a scope that is limited enough that it should be possible to handle it correctly. Furthermore, either we accept this GLR subset or we give up on ES6-like function syntax.
The current implementation solves the problem at lexing level: it looks for the token after the closing parenthesis, if it is a => then it injects a special token (ES6_FUN) before the opening parenthesis.
This way the grammar is LR and Menhir is happy.
However, as discovered by @IwanKaramazow, finding a => is not enough to decide between expressions and patterns. In when clauses, we have an expression preceding a =>: when bla => bli is parsed as when (fun  bla => bli).
Worse, if we add (args): type => expr syntax then looking immediately after the closing parenthesis is not enough for deciding: we now have to parse arbitrarily many tokens of a type to look for the =>.
How
The proposed interpreter loop forks the parser. If the lexer determined that an ES6_FUN should be injected, the parser will try both cases: with and without the ES6_FUN token.
That is it will try to parse the following tokens simultaneously as an expression and as a pattern.
Performance concerns
This patch can have an impact on performance, although it should be limited: since we are naively forking, an exponential worst case is possible. However the grammar doesn't make it easy to nest forking points, so the actual amount of parallelism is expected to be small (but maybe not bounded).
This is something to keep in mind in future extensions of the grammar!

Merged! =D Thanks


bouncer execute twice

<script setup lang="ts">
import {defineAbility} from "nuxt-authorization/utils";

const testAbility = defineAbility((user) => {
  console.log(user)
  return true
})
</script>

<template>
  <Bouncer :ability="testAbility">
    <template #can>1</template>
    <template #cannot>2</template>
  </Bouncer>
</template>

<style scoped>

</style>

when I refresh page:

export default defineNuxtConfig({
  compatibilityDate: '2024-04-03',
  devtools: { enabled: true },
  modules: ['nuxtjs-naive-ui', '@nuxt/icon', '@prisma/nuxt', 'nuxt-authorization'],
  ssr: false
})

Nop, this is because of the watchEffect that runs on the server and on the client. This could be solved with a useState to avoid to rerun the ability.


Standardize the Integration Installation Steps

Description (required)
I have updated every integration guide with a standardized version of the installation steps outlined below.
I also updated the formatting to be consistent with the rest of the docs (at least in the installation sections, I did not go past that)
This is meant for #5978

Installation
Quick Install
For UI Integrations:

Astro includes a CLI tool for adding first-party integrations: astro add. This command will:

(Optionally) Install all necessary dependencies and peer dependencies
(Also optionally) Update your astro.config.* file to apply this integration

To install @astrojs/_, run the following from your project directory and follow the prompts:

For Adapter Integrations:

Add the _ adapter to enable SSR in your Astro project with the astro add command.
This will install @astrojs/_ and make the appropriate changes to your astro.config.* file in one step.

For Other Integrations:

The astro add command-line tool automates the installation for you. Run one of the following commands in a new terminal window.

Manual Install
Instead of lists:
For UI and Other Integrations:

First, install the @astrojs/_ package:
Then, apply the integration to your astro.config.* file using the integrations property:

For Adapter Integrations:

First, add the _ adapter to your projects’s dependencies using your preferred package manager.
Then, add _ new lines to your astro.config.* project configuration file.

Please let me know if I should add or remove anything to this!  I figured that if I am going to do this, I should do it right the first time!!!

Thank you so much for this! This was incredibly helpful and thorough. Even though I edited some of the text, all I had to do was find and replace and update tons at once. Really appreciate this one! 💜

I am glad to have been helpful! I think the next skill for me and these sorts of things is to think a little more outside the box and rewrite what has already been written a bit more :)


No link to see the map

I expected to see the map from the screenshot
But there is no URL or similar.

I just realized that csp directory is missing from module.xml and NOT installed

I found id from setup reverse , but it is missing in README,md
###### show the maps by this link
http://localhost:52773/csp/irisgeomap/index.csp

Online demo and link is added


[promises] Promise based grpc_call

Provide a flag protected implementation of a call using only promises (no emulation layer per filter)

@markdroth

Looks like this broke ObjC cronet tests: https://github.com/grpc/grpc-ios/issues/138.
Auto revert doesn't work, so we might need to revert manually.
@dennycd @ctiller


Transaction after payment - return to the payments tab

Transaction after payment - return to the payments tab:
https://user-images.githubusercontent.com/69896204/118485558-45560080-b721-11eb-9ced-7e4bfba21d4f.mov
commit 3291a87 / v.0.6.1

fixed in #1066


Cannot login with apiToken

Hey,
I have managed to get the app hosted locally on a Raspberry Pi by setting up the NEXT_PUBLIC_HASURA_DOMAIN and the domain in the caddy file to my reserved RPI IP e.g. https://<IP_ADDRESS>:4000.
I managed to login to the Hasura Console and made a new user in profiles. When I try to use apiToken at <IP_ADDRESS>:4000,  I get the error
"No matching profile found! Make sure to login with apiToken, not authId."
I checked the docker postgres container running on the PI and the user I created is indeed in the profiles table.
I am out of ideas as I have now followed steps 5 and 6 from the hosting instructions a few times with no success.
Here are the docker containers running on my RPI.
cleanslate-authentication-server                 "docker-entrypoint.s…"   20 minutes ago   Up 20 minutes             <IP_ADDRESS>:3001->3001/tcp, :::3001->3001/tcp   authentication-server
cleanslate-client                                "busybox httpd -f -v…"   20 minutes ago   Up 20 minutes             <IP_ADDRESS>:3000->3000/tcp, :::3000->3000/tcp   client
hasura/graphql-engine:latest.cli-migrations-v3   "docker-entrypoint.s…"   20 minutes ago   Up 20 minutes (healthy)   <IP_ADDRESS>:8080->8080/tcp, :::8080->8080/tcp   graphql-server
postgres:15                                      "docker-entrypoint.s…"   20 minutes ago   Up 20 minutes (healthy)   5432/tcp                                    database

Unfortunately, that error is not really an error. It is just saying that the apiToken for the profile does not match the one you passed in on the login screen. Are you sure you are using apiToken, not authId? And you are sure you are passing the value shown in the console?
Basically that check is just returning nothing for this GraphQL request. So if this query works in the Hasura Console ($token is a variable) it might a problem with some other part of your setup.
query GET_PROFILES($token: uuid!) {
profiles(
where: {
_or: [{ apiToken: { _eq: $token } }]
}
) {
authId
id
}
}
Beyond that, my ability to debug here is pretty limited :(
Every self hosting set up is quite different, no one else has reported this error,  and I cannot replicate this locally. I am sorry I cannot be of more help. If you cannot get it to work, you can of course always use the instance we host (app.cleanslate.sh), but totally understand if that is not an option

Hey,
Thanks for the fast response. I am a bit of a noob when it comes to Fullstack stuff (Mechatronics Eng by degree so the code I write is in C++ and C lol) learning networking as I go as I think a home lab is a perfect place to do it.
100% I am using apiToken see attached image to check that it is in the right spot. I also confirmed that the PostGres DB on the Pi has the profile that I created on my PC. So at least I was able to access the console and it made the changes on the PI from my PC.

I chose the 4000 arbitrarily as a starting point. I tried LocalHost, and whilst I can curl https://localhost locally on the PI, and get what seems to be the homepage, I am running the PI headless so need to try access the app on another PC connected to my network.  When I try https://<IP_ADDRESS>/ all I get is SSL_ERROR_INTERNAL_ERROR_ALERT.
 Tried to replicate what Apps running on my TrueNas Scale server were doing. It seemed to work till I hit this last wall.
I saw that the example mentioned https://example.com/ but for that I assume I need to purchase/acquire a domain, something which I am a whole lot of knowledge away from doing I feel haha.
Seems I probably need to go and learn a lot more about what is actually going on with proxies and related things. Last night I was googling what Hasura even is and so on haha. I am confused for example how it can run on a server and compete with other apps without using a unique port, I guess it has to do with SubDomains?
Finally, I tried the query you sent on the Hasura Console and it seems to work, see  below
In the mean time I should probably try out the app you hosted and see how it is :) Then perhaps I can come back to the self-hosting experiment when I have more knowledge...
By the way, really liked your ethos on "We felt other apps were too complicated and promoted perfectionism. We just wanted one that promoted self-compassion and education. That would not make you feel terrible for messing up!"

Yup, the best part about self-hosting is you can do it on your own time and learn a lot :)
I will close this issue, and yup, please do use the main website and give it a shot!

Hi @paulzakin
I'm actually having the same issue.
I can check the profile from the request in hasura, with the same query as @defyingphysics, but I also can't login.
I'm using nginx, and for the rest I've set up the environment exactly like stated in the README.
Except I changed all the ports to custom ports, that was more convenient for me, cause they were in use already.
I do have my own domain, so I use something like https://cleanslate.example.com.
In the NGINX logs I see the POST of the login, but I don't see any log activity in the containers.
I'm no beginner, so I tried all troubleshooting that I know of, but I can't get to login.

Can you try it with not custom ports? It may be required to use those exact ports?

Ok, so in order.

I think you need the http://. However, we should see if we can get your original nginx configuration to work. If not, yup - you should try to get our "official" configuration to work.

I updated the documentation with a note about custom ports and how to handle it. You basically did not specify HASURA_PORT, but that is not your fault, it was a bit of a hidden feature. So re-read #2 and #3 of the How to Deploy documentation and try again.

Clear your cache, cookies, and localStorage in the brower. That should resolve the logged in page but empty error.

Oh, I should have mentioned it before, but I had added the following to my .env file to change the ports.
CLIENT_PORT=8792
HASURA_PORT=8793
AUTHENTICATION_SERVER_PORT=8794
So I already had those changed, matching with the docker-compose file and the nginx conf. So this won't work unfortunately.

Ok, @jonneolie I replicated and patched in #185 - give it a shot!

@paulzakin It didn't work for me, but I do get an error in the graph container now when I login with the token!
{"detail":{"http_info":{"content_encoding":null,"http_version":"HTTP/1.1","ip":"<IP_ADDRESS>","method":"GET","status":200,"url":"/healthz"},"operation":{"request_id":"f287cb85-b175-4311-ba98-ad47a44adca6","request_mode":"non-graphql","response_size":2,"uncompressed_response_size":2},"request_id":"f287cb85-b175-4311-ba98-ad47a44adca6"},"level":"info","timestamp":"2024-10-01T08:10:44.910+0000","type":"http-log"} {"detail":{"generated_sql":{"profiles":{"prepared_arguments":[[2,"ae99ab9a-f5fa-4136-83ab-cf2332af75c1"]],"query":"SELECT  coalesce(json_agg(\"root\" ), '[]' ) AS \"root\" FROM  (SELECT  row_to_json((SELECT  \"_e\"  FROM  (SELECT  \"_root.base\".\"authId\" AS \"authId\", \"_root.base\".\"id\" AS \"id\"       ) AS \"_e\"      ) ) AS \"root\" FROM  (SELECT  *  FROM \"public\".\"profiles\"  WHERE ((\"public\".\"profiles\".\"apiToken\") = (($2)::uuid))     ) AS \"_root.base\"      ) AS \"_root\"      "}},"kind":"database","query":{"operationName":"GET_PROFILES","query":"\n    query GET_PROFILES($token: uuid!) {\n      profiles(\n        where: {\n          _or: [{ apiToken: { _eq: $token } }]\n        }\n      ) {\n        authId\n        id\n      }\n    }\n  ","variables":{"token":"ae99ab9a-f5fa-4136-83ab-cf2332af75c1"}},"request_id":"7aead6f2-b21b-4d4f-b7dd-e7597fd13427"},"level":"info","span_id":"8a4b1daa3853bbcf","timestamp":"2024-10-01T08:11:07.935+0000","trace_id":"2086afe3f633af4ab0a271cfde9c5b64","type":"query-log"} {"detail":{"http_info":{"content_encoding":null,"http_version":"HTTP/1.1","ip":"<IP_ADDRESS>","method":"POST","status":200,"url":"/v1/graphql"},"operation":{"query":{"operationName":"GET_PROFILES","query":"\n    query GET_PROFILES($token: uuid!) {\n      profiles(\n        where: {\n          _or: [{ apiToken: { _eq: $token } }]\n        }\n      ) {\n        authId\n        id\n      }\n    }\n  ","variables":{"token":"ae99ab9a-f5fa-4136-83ab-cf2332af75c1"}},"query_execution_time":1.541995e-3,"request_id":"7aead6f2-b21b-4d4f-b7dd-e7597fd13427","request_mode":"single","request_read_time":1.944e-6,"response_size":117,"uncompressed_response_size":117,"user_vars":{"x-hasura-role":"admin"}},"request_id":"7aead6f2-b21b-4d4f-b7dd-e7597fd13427"},"level":"info","span_id":"8a4b1daa3853bbcf","timestamp":"2024-10-01T08:11:07.935+0000","trace_id":"2086afe3f633af4ab0a271cfde9c5b64","type":"http-log"} {"detail":{"connection_info":{"msg":null,"token_expiry":null,"websocket_id":"2d5ad745-4911-4dbf-a683-b5cf8eba0645"},"event":{"type":"accepted"},"user_vars":null},"level":"info","timestamp":"2024-10-01T08:11:07.935+0000","type":"websocket-log"} {"detail":{"connection_info":{"msg":null,"token_expiry":null,"websocket_id":"2d5ad745-4911-4dbf-a683-b5cf8eba0645"},"event":{"type":"closed"},"user_vars":null},"level":"info","timestamp":"2024-10-01T08:11:07.935+0000","type":"websocket-log"} {"detail":{"connection_info":{"msg":null,"token_expiry":null,"websocket_id":"2d5ad745-4911-4dbf-a683-b5cf8eba0645"},"event":{"detail":"Could not verify JWT: JWSError JWSInvalidSignature","type":"conn_err"},"user_vars":null},"level":"error","timestamp":"2024-10-01T08:11:07.935+0000","type":"websocket-log"} {"detail":{"connection_info":{"msg":null,"token_expiry":null,"websocket_id":"2d5ad745-4911-4dbf-a683-b5cf8eba0645"},"event":{"type":"closed"},"user_vars":null},"level":"info","timestamp":"2024-10-01T08:11:07.935+0000","type":"websocket-log"} {"detail":{"connection_info":{"msg":null,"token_expiry":null,"websocket_id":"2e2b8ee8-6bb0-4a18-b1e4-e8173945c7b9"},"event":{"type":"accepted"},"user_vars":null},"level":"info","timestamp":"2024-10-01T08:11:10.939+0000","type":"websocket-log"} {"detail":{"connection_info":{"msg":null,"token_expiry":null,"websocket_id":"2e2b8ee8-6bb0-4a18-b1e4-e8173945c7b9"},"event":{"type":"closed"},"user_vars":null},"level":"info","timestamp":"2024-10-01T08:11:10.939+0000","type":"websocket-log"} {"detail":{"connection_info":{"msg":null,"token_expiry":null,"websocket_id":"2e2b8ee8-6bb0-4a18-b1e4-e8173945c7b9"},"event":{"detail":"Could not verify JWT: JWSError JWSInvalidSignature","type":"conn_err"},"user_vars":null},"level":"error","timestamp":"2024-10-01T08:11:10.939+0000","type":"websocket-log"} {"detail":{"connection_info":{"msg":null,"token_expiry":null,"websocket_id":"2e2b8ee8-6bb0-4a18-b1e4-e8173945c7b9"},"event":{"type":"closed"},"user_vars":null},"level":"info","timestamp":"2024-10-01T08:11:10.939+0000","type":"websocket-log"} {"detail":{"http_info":{"content_encoding":null,"http_version":"HTTP/1.1","ip":"<IP_ADDRESS>","method":"GET","status":200,"url":"/healthz"},"operation":{"request_id":"d400e6b0-ef0e-42ca-a804-aed34c013e2e","request_mode":"non-graphql","response_size":2,"uncompressed_response_size":2},"request_id":"d400e6b0-ef0e-42ca-a804-aed34c013e2e"},"level":"info","timestamp":"2024-10-01T08:11:14.943+0000","type":"http-log"} {"detail":{"connection_info":{"msg":null,"token_expiry":null,"websocket_id":"ce692e40-6eb9-4b5a-80ad-7193b07373e5"},"event":{"type":"accepted"},"user_vars":null},"level":"info","timestamp":"2024-10-01T08:11:16.946+0000","type":"websocket-log"} {"detail":{"connection_info":{"msg":null,"token_expiry":null,"websocket_id":"ce692e40-6eb9-4b5a-80ad-7193b07373e5"},"event":{"detail":"Could not verify JWT: JWSError JWSInvalidSignature","type":"conn_err"},"user_vars":null},"level":"error","timestamp":"2024-10-01T08:11:16.946+0000","type":"websocket-log"} {"detail":{"connection_info":{"msg":null,"token_expiry":null,"websocket_id":"ce692e40-6eb9-4b5a-80ad-7193b07373e5"},"event":{"type":"closed"},"user_vars":null},"level":"info","timestamp":"2024-10-01T08:11:16.946+0000","type":"websocket-log"} {"detail":{"connection_info":{"msg":null,"token_expiry":null,"websocket_id":"ce692e40-6eb9-4b5a-80ad-7193b07373e5"},"event":{"type":"closed"},"user_vars":null},"level":"info","timestamp":"2024-10-01T08:11:16.946+0000","type":"websocket-log"} {"detail":{"connection_info":{"msg":null,"token_expiry":null,"websocket_id":"5498c6ce-aa9c-4f97-a6ba-26bce6a5e1d9"},"event":{"type":"accepted"},"user_vars":null},"level":"info","timestamp":"2024-10-01T08:11:23.953+0000","type":"websocket-log"} {"detail":{"connection_info":{"msg":null,"token_expiry":null,"websocket_id":"5498c6ce-aa9c-4f97-a6ba-26bce6a5e1d9"},"event":{"detail":"Could not verify JWT: JWSError JWSInvalidSignature","type":"conn_err"},"user_vars":null},"level":"error","timestamp":"2024-10-01T08:11:23.953+0000","type":"websocket-log"} {"detail":{"connection_info":{"msg":null,"token_expiry":null,"websocket_id":"5498c6ce-aa9c-4f97-a6ba-26bce6a5e1d9"},"event":{"type":"closed"},"user_vars":null},"level":"info","timestamp":"2024-10-01T08:11:23.953+0000","type":"websocket-log"} {"detail":{"connection_info":{"msg":null,"token_expiry":null,"websocket_id":"5498c6ce-aa9c-4f97-a6ba-26bce6a5e1d9"},"event":{"type":"closed"},"user_vars":null},"level":"info","timestamp":"2024-10-01T08:11:23.953+0000","type":"websocket-log"}
Hope this helps!

Something is wrong with your JWT. See the error: "Could not verify JWT: JWSError JWSInvalidSignature"
Make sure that the  set in the .env has been replaced with a very long, random string. And make sure to try from a Incognito window.
HASURA_GRAPHQL_JWT_SECRET='{"type":"HS256","key":""}'
JWT_SIGNING_SECRET=

Going to close this pending further input. Feel free to reopen!


Allowing dashboard admins to see cron view

When a dashboard admin clicks on an installed extension it show them the cron view instead of a login flow that ends in an error.

MD5: c4103f122d27677c9db144cae1394a66
NSP - Security Report
This is an automated security audit of this project. Please do not modify its contents
Vulnerabilities found: 2
Affected Modules: uglify-js, uglify-js
Summary:

Regular Expression Denial of Service
Incorrect Handling of Non-Boolean Comparisons During Minification

Detailed report
Regular Expression Denial of Service
Affected Module: uglify-js
Installed version: 2.2.5
Patched versions: >=2.6.0
Advisory: https://nodesecurity.io/advisories/48
Path<EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>
Incorrect Handling of Non-Boolean Comparisons During Minification
Affected Module: uglify-js
Installed version: 2.2.5
Patched versions: >= 2.4.24
Advisory: https://nodesecurity.io/advisories/39
Path<EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>


isNumber is not defined

In isNaN, you use !this.isNumber(), though isNumber is not defined anywhere. Also isNaN ideally should be defined as ...
function isNaN(value) {
    return this.isNumber(value) && value !== value;
}

isNumber is defined in the each function https://github.com/Cedriking/is.js/blob/master/is.js#L69

Ah, my bad. A simple oversight on my part. Sorry


Scroll Locked But...

Slidebars options works right but some thing wroung with scroll lock
here the photo

a little space apear after i add scrollLock:true in slidbars options
help pls

I think it's just CSS issue, you could create an overwrite for it?

I believe scroll lock was an 0.x feature that doesn't exists in 2.x anymore. What code are you using to lock the scroll bar?


merge package from arlac77/npm-package-template

package.json

chore(package<EMAIL_ADDRESS>chore(scripts): cover@#overwrite c8 --temp-directory build/coverage ava && c8 report -r lcov --temp-directory build/coverage
chore(package): add xo from template
chore(package): add nyc from template
chore(package): set $.ava.require='esm' as in template
chore(package): set $.ava.files='tests/-test.js,tests/-test.mjs' as in template
chore(package): set $.ava.extensions='js,mjs' as in template

Coverage remained the same at 100.0% when pulling 0f3a934b96d15ead2465ae269b8ed3c03d5b094d on template-sync-1 into 09441a40f639464169f8a936ae989f03f5e0feb2 on master.

:tada: This PR is included in version 2.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Introduce inline SVGs

I think we need to revisit the way we use icons. We should be introduce inline SVGs.
We are using the pseudo after attribute with a background SVG. Zoom is fine. However for something like focus, we are unable to change the colour attribute and have limitations. An inline SVG would provide greater flexibility. Colour could be inherited, we could also change the icon colour without changing the image.
Resting state

Focus state

The icon should be black on focus.

 Issue #835: Introduce inline SVGs for external links


Get teams that are not the currentTeam

Is there a built-in way to get teams that are not the currentTeam? I've looked through the code and the issues but couldn't find anything. Right now I have my own solution:
# User.php

public function otherTeams()
{
    if (is_null($this->currentTeam)) return $this->teams;

    $otherTeams = $this->teams->reject(function ($team) {
        return $team->getKey() == $this->currentTeam->getKey();
    });

    return $otherTeams;
}

This seems to work, but if there's already a way to do this I obviously would use that 😄
Best regards,
Robert

Unfortunately not. Maybe you'd like to create a PR?

I don't even know which project I was working on at that time 🤔 But you’re right, it would’ve been a good idea to create a PR for that.


Issue with data-selected-text-format

Hi ,
Am using data-selected-text-format to display the selected items in the select dropdown.
I added a reset option and divider and then the list of product items .
I want to count the product items only and not the reset option. But bootstrap select taking reset also and counting that . Basically i wanted to have an option to not to count an item in the list .
So i added a new data attribute
data-donotcount
and changed the bootstrap select framework code to filter this out .
UI code :
option class="reset" data-do-not-count="true" value="reset">Reset</option
Framework code
version : 1.5.4
line no :253
this.$element.find('option:not([data-divider="true"]):not([data- do-not-count="true"]):not([data-hidden="true"])'  and it is working fine .
Please review this and let me know your thoughts on this .

I think a separate button would maybe make more sense (something like #2287 or #1996). If there's enough support for this, we could implement it, but it seems like it would be more of a fringe case.


Fix documentation link issue

Motivation
There was two times the same link, none of which was pointing to the correct npm package.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Click on the link and see that the correct npm package is shown

Many thanks! 🎉


--help output is poor for flag "--ignore-version-check"

files-cli --help output for the ignore-version-check flag is the exact same as "api-key", "API Key".
I think the ignore-version-check "API Key" replacement text would be something along the lines of "Do not check for newer version"
current output:
Flags:
      --api-key string         API Key
      --debug string           verbose logging
      --feature-flag strings   Enable feature flags
  -h, --help                   help for files-cli
      --ignore-version-check   API Key
  -o, --output string          file path to save output
      --profile string         setup a connection profile
      --reauthentication       If authenticating to the API via a session ID (as opposed to an API key), we require that you provide the session user’s password again in a X-Files-Reauthentication header for certain types of requests where we want to add an additional level of security. We call this process Reauthentication.
  -v, --version                version for files-cli

Hello ryantig,
Thank you for taking the time to file this issue.
For the quickest investigation into this issue, please send an authenticated support ticket through the Files.com web interface. You can submit a support request using the Contact Support option in the top-right menu of the web interface. You access the menu by clicking on your user name.

Fixed in 2.6.7 via commit 25a245c. Thanks!


Model load test TFX component

A TFX component performs a load test of the exported TensorFlow model because the prediction time may vary on the model type and structure.
This component could extend a TFX InfraValidator to validate the TensorFlow model serving performance using the load test. The load test results will tell us:

if the model will meet the prediction time requirements (essential in large scale implementations),
if the changes in the new model will make it faster/slower comparing to the baseline model.

See project proposal


Badge for certain timespans

Hi,
I would like to request a feature. It would be nice to generate badges also for certain timespans. It would be nice to publicly display for example for how long you have worked on a project in general.
P.S.: Is there a way donate money to the author? I want to support this project as I like it really much.

Hi @Butzlabben,
Thanks a lot for using hakatime. Currently there is a query param called days that you can change on your generated badge. This will you give the total time spent on the project in the last N days.
https://hakatime-demo.mtx-dev.xyz/badge/svg/f8c0f834-3747-4d3f-965b-6fa08c6dea94?days=90

Would you like to have something like a from & to parameters to control the timespan?
I will try to setup something for donations.

The amount of days will be enough for me. Thanks for helping.


Bad Request - SessionError: No sessions

Sometimes some instances start to return this error:
{
"status": 400,
"error": "Bad Request",
"message": [
"SessionError: No sessions"
]
}
And I am forced to restart the api. Is there any way to definitively resolve this?
Version: 1.2.8
env.yml:
# Choose the server type for the application
SERVER:
  TYPE: http # https
  PORT: 443 # 443

CORS:
  ORIGIN:
    - '*'
    # - yourdomain.com
  METHODS:
    - POST
    - GET
    - PUT
    - DELETE
  CREDENTIALS: true

# Install ssl certificate and replace string <domain> with domain name
# Access: https://certbot.eff.org/instructions?ws=other&os=ubuntufocal
SSL_CONF:
  PRIVKEY: /etc/letsencrypt/live/<domain>/privkey.pem
  FULLCHAIN: /etc/letsencrypt/live/<domain>/fullchain.pem

# Determine the logs to be displayed
LOG:
  LEVEL:
    - ERROR
    - WARN
    - DEBUG
    - INFO
    - LOG
    - VERBOSE
    - DARK
  COLOR: true

# Determine how long the instance should be deleted from memory in case of no connection.
# Default time: 5 minutes
# If you don't even want an expiration, enter the value false
DEL_INSTANCE: 5 # or false

# Temporary data storage
STORE:
  CLEANING_INTERVAL: 7200 # seconds === 2h
  MESSAGE: true
  CONTACTS: false
  CHATS: false

# Permanent data storage
DATABASE:
  ENABLED: false
  CONNECTION:
    URI: 'mongodb://<USER>:<PASSWORD>@<HOST>/?authSource=admin&readPreference=primary&ssl=false&directConnection=true'
    DB_PREFIX_NAME: codechat
  # Choose the data you want to save in the application's database or store
  SAVE_DATA:
    INSTANCE: false
    OLD_MESSAGE: false
    NEW_MESSAGE: true
    MESSAGE_UPDATE: true
    CONTACTS: true
    CHATS: true

REDIS:
  ENABLED: false
  URI: 'redis://<HOST>'
  PREFIX_KEY: 'codechat'

# Webhook Settings
WEBHOOK:
  # Define a global webhook that will listen for enabled events from all instances
  GLOBAL:
    URL: <url>
    ENABLED: false
  # Automatically maps webhook paths
  # Set the events you want to hear
  EVENTS:
    QRCODE_UPDATED: true
    MESSAGES_SET: true
    MESSAGES_UPSERT: true
    MESSAGES_UPDATE: true
    SEND_MESSAGE: true
    CONTACTS_SET: true
    CONTACTS_UPSERT: true
    CONTACTS_UPDATE: true
    PRESENCE_UPDATE: true
    CHATS_SET: true
    CHATS_UPSERT: true
    CHATS_UPDATE: true
    CHATS_DELETE: true
    GROUPS_UPSERT: true
    GROUP_UPDATE: true
    GROUP_PARTICIPANTS_UPDATE: true
    CONNECTION_UPDATE: true
    # This event fires every time a new token is requested via the refresh route
    NEW_JWT_TOKEN: true

CONFIG_SESSION_PHONE:
  # Name that will be displayed on smartphone connection
  CLIENT: GPrado
  NAME: Chrome # firefox | edge | opera | safari

# Set qrcode display limit
QRCODE:
  LIMIT: 6

# Defines an authentication type for the api
AUTHENTICATION:
  TYPE: apikey # or apikey->(deprecated)
  # Define a global apikey to access all instances
  # OBS: This key must be inserted in the request header to create an instance.
  API_KEY: ******
  # Set the secret key to encrypt and decrypt your token and its expiration time.
  JWT:
    EXPIRIN_IN: 0 # seconds - 3600s === 1h | zero (0) - never expires
    SECRET: ******

SESSION_SECRET: ******`

i can't send message :(

I started to recieve Bad Request.
400 - "{\"status\":400,\"error\":\"Bad Request\",\"message\":[\"The \\\"f6a22162-263b-45d1-99e3-84876afc6103\\\" instance does not exist or is not connected\"]}"
in production, but locally works

Hey guys, the only solution I found was to start the API with a cron that restarts it every 6 hours, if it gives this error, it will "correct itself" when restarted. Unfortunately it's not the best way, but it's a solution.
pm2 start 'yarn start' --name WhatsAppAPI --cron-restart"0 */6 * * *"

Hey guys, the only solution I found was to start the API with a cron that restarts it every 6 hours, if it gives this error, it will "correct itself" when restarted. Unfortunately it's not the best way, but it's a solution.
pm2 start 'yarn start' --name WhatsAppAPI --cron-restart"0 */6 * * *"

Hey guys, the only solution I found was to start the API with a cron that restarts it every 6 hours, if it gives this error, it will "correct itself" when restarted. Unfortunately it's not the best way, but it's a solution.
pm2 start 'yarn start' --name WhatsAppAPI --cron-restart="0 */6 * * *"


Support for conversation mode?

Description of the bug:
I created a new function to make an API call to my server
const getUsersDeclarations: FunctionDeclaration = {
  name: "get_users",
  description: "Display users data"
};

It works fine and able to make an API call..
I get some response of 5 users ..
But, i am unable to ask further questions on that .. It doesn't remember... like user-assistant, user-assistant like thing not sure if i am missing anything?? @logankilpatrick @rakyll @markmcd  @dmotz
useEffect(() => {
   const onToolCall = async (toolCall: ToolCall) => {
     console.log("got toolcall", toolCall);

     for (const fc of toolCall.functionCalls) {
       switch (fc.name) {
         case getUsersDeclarations.name:
           {
             try {
               const response = await fetch(
                 "https://rajivraghu-fabulousivorydragon.web.val.run"
               );
               const data = await response.json();
               setUsersData(data);
             } catch (error) {
               console.error("Error fetching user data:", error);
               // Handle the error, e.g., show an error message to the user
             }
           }
           break;
       }
     }

     // Send successful tool response
     if (toolCall.functionCalls.length) {
       setTimeout(
         () =>
           client.sendToolResponse({
             functionResponses: toolCall.functionCalls.map((fc) => ({
               response: { output: { success: true } },
               id: fc.id,
             })),
           }),
         200,
       );
     }
   };

   client.on("toolcall", onToolCall);
   return () => {
     client.off("toolcall", onToolCall);
   };
 }, [client]);

Actual vs expected behavior:
No response
Any other information you'd like to share?
No response

you have fetched your user data but you have never sent it back to the model. You use client.sendToolResponse to do that as you can see a few lines down.
After you call setUsersData, call client.sendToolResponse({ functionResponses: [{ id: fc.id, response: data }] }) to provide the model with result of its request

Thanks @hapticdata  .. it worked.
I had to pass it wrap it in JS object..
const obj = { data };
client.sendToolResponse({ functionResponses: [{ id: fc.id, response: obj }] })


May I know this project only for main-net of ETH ,how about testnet & rinkeby?

May I know this project only for main-net of ETH ,how about testnet & rinkeby?

@nearlai, this project is not only for main-net of ETH, Project was tested with all ethereum testnet network.
You can run this project with any testnet network only change geth rpc


[Style] Align the contributors section

The contributor's profile image in not correctly aligned.

Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[x] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

I can fix this under GSSoC'24. please assign it to me . @Rakesh9100 .

This issue is because the image link at the empty location is redirecting to a blank site with no avatar. I can fix this issue under GSSoC'24. Please assign it to me. @Rakesh9100.

I would like to solve this issue please assign me this issue. @Rakesh9100 .

Go ahead @root-0101

Provide your PR @root-0101

I will do it by today


Error while trying to enter break state.

I ran into an issue while trying to setup debug on a remote machine MIEngine Exception . The gdb seems to start:
GNU gdb Fedora (6.8-27.el5)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu".
No shared libraries loaded at this time.
Stopped due to shared library event
Stopped due to shared library event
The program '' has exited with code 42 (0x2a).

But there are "Stopped due to shared library event" messages from gdb. Is this an issue with MIEngine or an issue with gdb/ system configuration that I'm running? In any case, any ideas on what I can do to resolve it? Thanks!

@DarioGi What version of the MIEngine do you have?
How are you consuming it (ex: are you using the VS Tools for Linux, C++ Android/iOS tooling, some project system that you created, etc)?

I have installed extension on Visual Studio 2015 with a Makefile GDB project which I've configured appropriately, basically followed this: link
Seems like version 14.0.30524.2

@DarioGi I am not sure if the Stopped due to shared library event is related to the problem or not.
@itodirel is there a way that @DarioGi can set the launch option XML attribute WaitDynamicLibLoad to 'false' while using the C++ IoT tools?
@DarioGi if WaitDynamicLibLoad doesn't help (or if it turns out to be really tricky to set that to false), MIEngine logging might reveal a bit more: https://github.com/Microsoft/MIEngine/wiki/Logging

I have enabled debugging but I do not see any additional messages:
SetMiDebugLogging.cmd on
I have attempted to debug by launching the experimental version of Visual Studio, the GDB Makefile project won't launch due to the issue with debugger configuration, therefore I've created an XML:
<PipeLaunchOptions xmlns="http://schemas.microsoft.com/vstudio/MDDDebuggerOptions/2014"
  PipePath="C:\Program Files (x86)\PuTTY\plink.exe"
  PipeArguments="-i C:\Users\IEUser\Desktop\sicom_dev_putty.ppk<EMAIL_ADDRESS>-batch -t gdb --interpreter=mi"
  ExePath="/home/sicom/codedrop/GDBRemote/test_app"
  ExeArguments=""
  TargetArchitecture="X86"
  WorkingDirectory="/home/sicom/codedrop/GDBRemote"
  AdditionalSOLibSearchPath="/opt/mono/lib">
</PipeLaunchOptions>

and ran this via the experimental Visual Studio's command line:
Debug.MIDebugLaunch /OptionsFile:"C:\Users\IEUser\Desktop\Repos\GDBRemote\DebugConfig.xml" /Executable:test_app
I did not see any additional information, although now MIEngine crashed with the following error:
"Failed to get thread info"

I made sure to enable MIDebugLogging on experimental version by using:
SetMiDebugLogging.cmd /exp on

@DarioGi I am assuming you also tried SetMiDebugLogging.cmd on without the experimental version, and then F5'ing your original project?
If you run reg query HKCU\Software\Microsoft\VisualStudio | findstr 14.0_Config what do you get?

Yes,
C:\Windows\system32>reg query HKCU\Software\Microsoft\VisualStudio | findstr 14.0_Config
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0_Config
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0_Config_5160
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0_Config_8000
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0_Config_9056

I made some fixes to the script which I think will make it work better for you. Can you give this script a try: https://raw.githubusercontent.com/gregg-miskelly/MIEngine/ImproveSetMiDebugLogging/src/MICore/SetMIDebugLogging.cmd

Thanks, I got a log out: http://pastebin.com/HAWrgG53
I was able to get remote gdb debugging working using this extension: https://visualstudiogallery.msdn.microsoft.com/725025cf-7067-45c2-8d01-1e0fd359ae6e


Ability to customize logging

Description:
User should be able to configure the logging behaviour.
I would like to suggest the following:

Logfile rolling (e.g. based on size, time)
customize the template of logline ( e.g. print function name, right now its only module name)

Steps to reproduce:
N/A
Affected Versions:
1.0.1
OS, DB, other environment details and versions:
MacOS, JDK 1.8
Related Issues (optional):
https://github.com/ballerina-platform/ballerina-lang/issues/3843
Suggested Labels (optional):
Suggested Assignees (optional):
@wggihan

+1 for this. Rolling appenders is a common feature when logging into files. Otherwise, the file will become too large to handle.


Bugfix/52 react render bugs

Issue: https://github.com/pdfslick/pdfslick/issues/52

Please see my comments at the #52

Added these in #58


Add a button to edit the current character selected from character events.

When you are on a timeline and you want to quickly jump to edit a character you have selected in a Character event, there is no easy way to go there, you have to search for the file in the filesystem tab and open. There should be an easier way to start editing it from the timeline editor.

I'll get this along with my changes to implement #1058, since I gotta make changes to the picker for that anyway


Add ignoredLabels feature

We're planning to use Stale PR Finder to help manage the backlogs for the open source project https://github.com/prebid, but we needed to ability to flag certain PRs as excluded from being considered stale. Added the ignoredLabels feature for your consideration.
Thank you.

going to make a branch in the fork and re-open a PR from there