Mock grandpa and beefy rpc to allow P<>K bridge-init calls using chopsticks

Context: https://github.com/paritytech/polkadot-sdk/issues/3522

@serban300 can you give this a look and give it a try? https://github.com/AcalaNetwork/chopsticks/pull/695
it is currently just return mock data (0x7777...). Let us know if that works or if anything adjustments are needed

@xlc Thank you ! Will give it a try next week.


Handle LZMA and LZMA2 format .lzma files

Summary
File of type .lzma are not processed.
An .lzma file is:

A file with .lzma extension is a compressed archive file created using the LZMA (Lempel-Ziv-Markov chain Algorithm) compression method.

Current behavior
A file log.lzma would attempt to be parsed as a syslog file. Seeing no text, processing would stop (except in case of errant parsing, Issue #122).
Suggested behavior
Process .lzma files as compressed files. The crate lzma-rs is already used to process .xz files.
Ideally, this would be a fair amount of work but should be straight-forward.
Other considerations
LZMA is considered a legacy format so this is low priority.  However, there is also LZMA2 format. I have never encountered either, so I suspect they are very rare, if not totally deprecated in favor of XZ format,

Relates to #12

Note that .lz named files may be many varying types of formats.
This makes for some difficulties.

Make sure to use lzma program, part of XZ Utils.  There are many lz* programs that will compress files. And there are also many many LZMA standardized formats.
Only program lzma appears to write LZMA format 1, the oldest format.
$ lzma -z9kv -c file > file.lz


Implement value retrieval by matcher

Q
A

Is bugfix?
✔

New feature?
✔

Breaks BC?
✔

Fixes #135

@vjik, @samdark  its now now only one is reds. i don't know why it still fails

@vjik, @samdark its now now only one is reds. i don't know why it still fails

It's OK. We have a problem with GitHub action "rector" in forks. It don't work in forks.

There is a PHP RFC: array_find and its PR that is what actually I need to be implemented.
It seems has been discussed  about a month ago and I found exactly it  just now.
Now Its OK if this PR would be rejected, or if not, I can continue to push some changes and because this changes has BC and so on. so what if  introduce new method instead, maybe find()
Thank you in advance for taking your time.

Yes makes sense.

I'll continue with it

done


 CL2_ALLOWED_SLOW_API_CALLS env var would be fetched from a preset (it already lives there).
/sig scalability
/cc mm4tt

/lgtm
/approve


Feature Request: Annotate via attributes api

Add option for annotation via attributes api for rails >=5
class Movie < ActiveRecord::Base
  #added by the_schemas_is
  attribute :id, :integer
  attribute :name, :string
  attribute :created_at, :datetime
  attribute :updated_at, :datetime
end

This is an interesting idea, haven't thought about it.
What bothers me, though, is as attribute a generic tool, so our cop can't guess: if some attribute doesn't have a correspondence in the schema.rb, is it discrepancy and should be removed, or it is just unrelated usage of attribute API?
That is a downside I can think of. And another one is: somebody unfamiliar with the_schema_is concept when seeing the_schema_is block will guess where to look to understand it; when seeing the attribute :id (which nobody typically does just to "copy" a column definition to a class), they wouldn't know what to think.
What are the upsides of this idea?


fix: handle escape character correctly

zipson currently has an issue when there is an escape character (backslash) at the end of a string which will be compressed, for example within an array. The array can be stringified but not parsed again.
I fixed the behavior by:

compression: handle escape character correctly by escaping them with two escape characters (one backslash will be converted to two backslash within the stringified zipson output
decompression: when determining the end of a string, check how many escape characters the token has. only treat it as escaped, if it has an odd number of escape characters. later, also replace double escapes with single escape character again

I also added some tests for this. The test stringEscapeCharacterEnd will fail without my changes!
The constants sections looks a bit strange, but the problem is you cannot create a regex from a string containing a single backslash. I had the option of defining the regex completely independent from ESCAPE_CHARACTER, but i decided to use it and replace single backslash with double. This behavior should also work if ESCAPE_CHARACTER would be something different than backslash.

Thank you!


push: view update don't work in asia-northeast1

When to push command where dataset located in asia-northeast1 and metadata.json don't exists, it don't work.
bigquery-porter may not use location option of the dataset

No reproduction


Fix cask: rawtherapee (returns 404)

brew cask install rawtherapee
==> Satisfying dependencies
complete
==> Downloading http://rawtherapee.com/releases_head/mac/RawTherapee_OSX_10.6_64_4.2.21.zip
######################################################################## 100.0%
curl: (22) The requested URL returned error: 404 Not Found
Error: Download failed on Cask 'rawtherapee' with message: Download failed: http://rawtherapee.com/releases_head/mac/RawTherapee_OSX_10.6_64_4.2.21.zip

This should now be fixed.

Confirmed to be working! Thank you.


Profile switching and dev containers don't seem to play nice

Does this issue occur when all extensions are disabled?: N/A

VS Code Version:
Version: 1.77.3 (user setup)
Commit: 704ed70d4fd1c6bd6342c436f1ede30d1cff4710
Date: 2023-04-12T09:16:02.548Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22621
Sandboxed: No

OS Version: Windows 11 Pro, build 22621.1555
Steps to Reproduce:

Run code . to open a new project folder in WSL.
Create a devcontainer from the community Clojure template and reopen in the container. Note that Calva, clj-kondo and the Java extension pack is installed in the container, as specified in the container template.
Select Profile -> Create Profile... to get a profile suitable for remote clojure development. I named mine "CljRemote"...
Close the remote connection.
POSSIBLY IRRELEVANT - Add some extensions to the default profile.
Through the Remote Explorer, open the workspace in the container. Note that CljRemote isn't activated, when it should have been automatically set due to workspace association.
Switch to the CljRemote profile, and observe how all extensions are uninstalled from the remote. VSCode forces a reload due to the profile switch. After reloading the profile indicator in the bottom left shows that CljRemote is active, but the list of extensions in the container is empty and the list of locally installed extensions shows that Calva, clj-kondo and the Java pack have been installed locally, when they should only be installed in the container. Every extension that can run in the local exthost has been enabled.
Export the current profile to a .code-profile file, to see that the extensions list contains a lot of duplicate entries. I expect that it is the result of taking the original list from the container and adding them to the default profile during the "Create Profile" step, and then adding them again when activating the CljRemote profile...

I have some ideas about what's going on, but I'll hold off on them until I know if this issue gets closed or not :P

Can you please try this with a folder on Windows and reproduce the same behaviour?

Do you mean entirely under windows, with an NTFS folder? Or with a folder on the extfs but without launching through wsl?

Do you mean entirely under windows, with an NTFS folder?

Yeah opening the folder that is in windows filesystem and reopening the same using dev container.

I haven't had the time to reproduce the specific sequence, but I did open a dev container that hadn't been used since profiles were introduced. All extensions were wiped from the container and had to be manually reinstalled.

I haven't had the time to reproduce the specific sequence

It would be great if you can repro so that we can get more feedback on this

I did open a dev container that hadn't been used since profiles were introduced. All extensions were wiped from the container and had to be manually reinstalled.

Thats weird. Can you please share the remote log (F1 > Open View > Remote) when it happened? Can you repro this again?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Submit OSS site to Gastby Showcase

we want to add our cool gatsby sites to the Gastby Showcase
After we successfully get the Dev Site listed, we can do the OSS site.
AC
Add sites.yml file to both OSS and Dev sites
submit our sites.
Ping the Head of Product at Gatsby - Dustin Schau. Maybe they'll want to talk to us.
Maybe Gatsby would be interesting in blogging about our use case at New Relic about how we are using Gatsby.

I was informed Gatsby has paused their showcase submissions and is reworking the process.
https://github.com/gatsbyjs/gatsby/pull/26442
So we can wait to do this once they define the new process.

Gatsby still hasn't opened their showcase for new submissions as of yet...

The gatsby showcase seems to be deprecated at the moment, so we'll close for now.

The gatsby showcase seems to be deprecated at the moment, so we'll close for now.


Initial preparation commit for Vulkan/SDL

The goals of this PR are to:

Refactor the rendering code
Replace the Win32 windowing implementation with SDL2
Add Vulkan support
Build and test compatibility on Linux

I should note that because I don't have a way of running D3D on Linux, this branch's D3D implementation will need to be regularly tested on Windows.
The initial commit to this branch is not meant to do anything major, or to even work, it's just to set up the infrastructure for constructing the refurbished rendering code around.

Fantastic shiz, I'll test the D3D implementation when it's ready

Fantastic shiz, I'll test the D3D implementation when it's ready


[WIP] Update to Contour 1.7

Quick and dirty hack to see if anything is broken 🤞

Oh joy, it looks like Contour is on 1.18 libs which starts the great context breakage. 😬   This is going to be fun...

I guess for this hack, I can avoid rebuilding contour 🤔

Sorry, that last comment was subtle.  I think the conflict arises from the fact that we rebuild contour ourselves instead of using the release binary.  We don't actually have this conflict in our consumption of the contour API since we generate our own clients.

/test pull-knative-sandbox-net-contour-integration-tests

Passed again
/test pull-knative-sandbox-net-contour-integration-tests

Passed again
/test pull-knative-sandbox-net-contour-integration-tests

Passed again
/test pull-knative-sandbox-net-contour-integration-tests

Passed again
/test pull-knative-sandbox-net-contour-integration-tests

Passed again
/test pull-knative-sandbox-net-contour-integration-tests

Passed again
/test pull-knative-sandbox-net-contour-integration-tests

Discussed in slack, we won't move to 1.7 until next cycle, but we should do so early in order to maximize bake time.

/retest

/test pull-knative-sandbox-net-contour-integration-tests

Passes, trying again.
/test pull-knative-sandbox-net-contour-integration-tests

Passes, trying again.
/test pull-knative-sandbox-net-contour-integration-tests

Passes, trying again.
/test pull-knative-sandbox-net-contour-integration-tests

/lgtm
/approve


check for function before binding

Needs testse

Any update on this? If it is merged, can we close this?

Review status: 0 of 1 files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from the review on Reviewable.io


Middleware for fallback handlers

Currently Tide won't run any middleware if the routing fails. We might want to change this, as some middleware should run regardless of the routing result, such as logging or compression.
The easiest way I can think of is:

Only apply middleware of the top-level router.
Run a chain of middleware with empty RouteMatch. Alternatively, we can make RouteMatch optional to indicate the routing has failed.

One step further: we might be able to turn routing logic into middleware, and let the middleware chain do the work. The problem is that the routing will generally be the last step of top-level middleware application. That means, the other top-level middleware won't have access to RouteMatch.

Personally, I'm a bit wary of trying to move routing fully into middleware -- it's a very clever idea, but in my experience these kinds of extreme unifications often end up hurting more than they help.
I think the proposal in the original post sounds good, and I like the idea of having RouteMatch clearly signal that no match occurred by using Option.


datasets

Hi , how do you splits Cornell dataset on image-wise and object-wise? Thanks!

Hi , how do you splits Cornell dataset on image-wise and object-wise? Thanks!

have you solved this problem ? I meet the same problem

Hi , how do you splits Cornell dataset on image-wise and object-wise? Thanks!

have you solved this problem ? I meet the same problem

Hi，where do you find the Cornell dataset? The link of it in the Github is expired.

Hi , how do you splits Cornell dataset on image-wise and object-wise? Thanks!

have you solved this problem ? I meet the same problem

Hi，where do you find the Cornell dataset? The link of it in the Github is expired.

Hi，Could you please send me one copy of the dataset? This website is not accessible.My email is<EMAIL_ADDRESS>Thanks!


Add landmark navigation

The focus cycle is currently:

Space Panel: active space
Room Search
Room List: active room
Message Composer

This PR currently has none of the required changelog labels.
Add one of: T-Deprecation, T-Enhancement, T-Defect, T-Task to indicate what type of change this is plus X-Breaking-Change if it's a breaking change.

I left a few comments, but overall this is working well.
⌘F6 is a bit of a fun one on MacBooks when you also have hit Fn to activate the function keys, but that's not a problem specific to this PR!


Test for resolving references when there're other properties on schema

I'm missing a test here: https://github.com/json-schema/JSON-Schema-Test-Suite/blob/develop/tests/draft4/ref.json
var schemaA = {
    "id": "long-string",
    "type": "string",
    "maxLength": 4096
}
var schemaB = {
    "id": "person-object",
    "type": "object",
    "properties": {
        "name": {
            "$ref": "long-string",
            "maxLength": 10
        }
    }
}

does the result need to respect "maxLength": 10 or not?
does the result need to respect both maxLength's? (lets say if it was not maxLength but format which would make more sense) - should the validator copy but not override properties where $ref is, or should it be match all of properties and also all properties on reference

"$ref" says "I am this thing" so your "maxLength": 10 should be ignored

but there's not test for this, current state is do whatever you want :)

If there isn't sounds like a reasonable one to add. My vague recollection says I added one but I'll believe you if it's not there.

resolved by #142


Fix text boxes for faded parsons problem inputs

Assuming an onchange handler needs to be added and possible a useState for keeping the input data

fixed in latest #80


[Feature Request] FrameSkipTransform - output every intermediate step?

Motivation
A feature request regarding the FrameSkipTransform (documentation here). When the frame_skip parameter is set to an integer greater than 1, i.e. frame_skip = 2, and I do a rollout in the resulting environment with num_steps steps, I receive num_steps observations. The underlying untransformed environment actually takes frame_skip * num_steps steps (with each action being repeated frame_skip times), but the transformed environment only outputs every frame_skip observation.
I find this be a bit counterintuitive. Personally, I would find it more natural if the transformed env would output the full frame_skip * num_steps steps. If say, num_steps =2, then the "action" entry in the TensorDict would then look something like [-0.1, -0.1, -0.15, -0.15, -0.2, -0.2, ...], i.e. it would show the repeated actions.
Solution
Is this doable with the current way Transforms work? If so, happy to contribute this. This could be an option in the FrameSkipTransform, allowing the user to choose between either outputting every step the env actually takes, or only every frame_skip step like it currently does.
Checklist

[x] I have checked that there is no similar issue in the repo (required)

What do you think should happen with batched environments?
I don't think we want to keep applying the same action after reset (considering reset happens automatically).
If we just return the last observation and the sum of rewards, we can simply not do anything with sub-envs that have reached a done, but it's harder to figure out what should happen if we need to return all the data.
Maybe padded values?
If massively parallel settings, partial rests will happen all the time so it's important that we provide a scalable solution to this.

I've thinking a bit about this transform and I think we should consider carefully what we want from it.

returning intermediate step makes total sense. What would it look like though? Currently, we stack the outputs that we get at every step along a new time dimension. Here, should we have a resulting time dimension that is T*S (where T is the time and S the frame skip)? That would be a nightmare to code but maybe more sensible from a UX perspective. The cheap option (my fav) would be to stack along a new frame_skip dim. This will give you actions of shape [B, T, A] (B=batch and A=feature dim of action), and obs/reward/done of shape [B, T, S, O] (where O is the obs dim).
what to do with resets puzzles me a bit. Currently we don't have the option of not calling step on sub envs like we have with reset (using the "_reset" keys). That would make sense eventually but it'll be a massive thing to code and could potentially impact the lib runtime on multiple levels. I wonder what other use cases we could find for it, maybe @matteobettini has ideas? The easiest thing ATM is to restrict this transform to simple envs and publicise the huge caveat that it is not supposed to work around batched envs but within them (ie, one copy of the transform per sub-env).

Once we clarify these points I'll be happy to get started refactoring the class!

I have not seen partial steps yet. I do not really have any usecases in mind apart for the possibility of asyncronously step and reset parts of a batched environemnt (although at that point it is also possible to just instantiate separate environemnts).
Regarding the suggestion of the disclaimer to apply this transform to the sub-envs, I just wanted to say that this is only possible for non-vecotrized envs, as for vecotrized envs there is not really the concept of an independent sub env that could have an individual transform.
I am a but skeptical of coding something with the disclaimer it is not made for batched envs, as TorchRL's claim is that environments are batched by default (all envs have a batch_size) and this is the usecase that is currently envisioned for the future of RL. I would rather have somethng that works for all envs with documented behavior. E.g. for vecotrized envs if a reset happens within the skipping we could keep applying the action (or pad or whatever other strategy).
I am also curious on how the frameskip currently works for batched envs (given the absence of the partial step)

That is exactly the problem, currently (and given what you're saying) this transform cannot work for batched envs unless they reset at the same time.

for vecotrized envs there is not really the concept of an independent sub env that could have an individual transform

Maybe not but we could envision indexing batched envs and only apply steps / resets to a subindex of them. Whether it's done in parallel or vectorized, if the envs are independent it should be possible to work only on a subset. We could even implement a __getitem__ in EnvBase. I'm not saying that it'll be easy but it would be possible.

I am a but skeptical of coding something with the disclaimer it is not made for batched envs

Currently the only alternative is to have nothing at all :)


New head of security weapon:Energy Shotgun

About the PR

I added an experimental energy shotgun with three fire modes:
Wide fire(lethal)
Narrow fire(lethal)
Disabler(non lethal)
Original PR is:
https://github.com/space-wizards/space-station-14/pull/24491
I closed that one because the branch was fucked up, had too many issues with it, commit history is there
Why / Balance

Was speaking with flare about this, the HoS really needed a unique weapon instead of a bland SMG that can be obtained in other ways. This will hopefully cause more playstyle variety for HoS. The weapon is also high risk, and a steal objective for syndies. My original idea was to add the X-01 from SS13, but flare showed me this shotgun and I instantly loved it.
The energy shotgun has just five shots, otherwise it would be too overpowered. I ran some tests with the energy shotgun in comparison to the WT550. The energy shotgun does not fire that fast, and while the most damaging mode does 50 heat damage, that is from close range. Alternatively, the WT550, from close range, firing a burst of five, does a similar amount of damage, while being able to do that attack six times, and being easily reloaded. Still, this does not make the energy shotgun weak, as it does well in two categories:
-Armor
-Moths and Dionae
Starting with Armor. The standard armor vest, as well as the web vest, are great against the three brute damage types, with a webvest being especially good against bullets. This weapon, however, does heat damage. This makes it stronger in those scenarios. Naturally, there are also moments where it's weaker. For example, when fighting an elite suit, or against someone with a heat shield.
The energy shotgun also excels against moths and dionae, due to their heat weaknesses.
Also, the main weakness of the energy shotgun will most likely be reflects. It's an energy based weapon, meaning it gets deflected by things such as eswords and eshields. I will also be balancing the weapon after it releases based on feedback.
Technical details

Media

https://github.com/user-attachments/assets/6b513979-be16-4a79-a25d-111223132978

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

:cl:

add: The HoS has been given a new experimental weapon:An energy shotgun with multiple fire modes. This experimental tech is highly wanted by the syndicate, and agents will try to steal it.
remove: Removed the Head of Security's Emergency Orders

Put the emergency code change into a separate PR.

Love the idea and versatility aspect but I am unsure if it will be very useful against nukies vs just grabbin like a rifle or shotgun due to the lack of reloading capabilities for prolonged encounters. Against traitors and general HoS duties seems fine and fit though. Hell zombies better watch out.

Put the emergency code change into a separate PR.

Emo explicitly told me to put it in the same PR.

Love the idea and versatility aspect but I am unsure if it will be very useful against nukies vs just grabbin like a rifle or shotgun due to the lack of reloading capabilities for prolonged encounters. Against traitors and general HoS duties seems fine and fit though. Hell zombies better watch out.

We'll see as time goes on I suppose.

Put the emergency code change into a separate PR.

Emo explicitly told me to put it in the same PR.

Emo hasn't read the pull request guidelines? 🤨

Well for Traitors, the shotgun and majority of HoS's weapons will get disabled with one EMP use.... that leaves him with his knife and mk, which in most cases will not be enough to kill someone.

Adding that if it has to be wielded means no riot shields, which is a significant drawback. One of the strengths of the WT is its reliability, unlike an EMPable shotgun. I would really like to keep the WT; otherwise, it’s hard to see this as a security buff. It's similar to how the HoS from TG has both the X-01 and the Compact Shotgun.

Well for Traitors, the shotgun and majority of HoS's weapons will get disabled with one EMP use.... that leaves him with his knife and mk, which in most cases will not be enough to kill someone.

Adding that if it has to be wielded means no riot shields, which is a significant drawback. One of the strengths of the WT is its reliability, unlike an EMPable shotgun. I would really like to keep the WT; otherwise, it’s hard to see this as a security buff. It's similar to how the HoS from TG has both the X-01 and the Compact Shotgun.

Where in the PR does it say the WT was removed?

Well for Traitors, the shotgun and majority of HoS's weapons will get disabled with one EMP use.... that leaves him with his knife and mk, which in most cases will not be enough to kill someone.

Adding that if it has to be wielded means no riot shields, which is a significant drawback. One of the strengths of the WT is its reliability, unlike an EMPable shotgun. I would really like to keep the WT; otherwise, it’s hard to see this as a security buff. It's similar to how the HoS from TG has both the X-01 and the Compact Shotgun.

Where in the PR does it say the WT was removed?

it will be from his office

appreciated.

Well for Traitors, the shotgun and majority of HoS's weapons will get disabled with one EMP use.... that leaves him with his knife and mk, which in most cases will not be enough to kill someone.

I mean... that's what happens with every other secoff right? All you gotta do is dodge the emp, ez

Well for Traitors, the shotgun and majority of HoS's weapons will get disabled with one EMP use.... that leaves him with his knife and mk, which in most cases will not be enough to kill someone.

I mean... that's what happens with every other secoff right? All you gotta do is dodge the emp, ez

I was gonna mention this. it is the same situation if either a secoff or HoS gets EMP'd. both lose their stuns and both would have to rely on the pistol, knife, or seclite (depending on the situation of course but this is assuming they didnt get stuff from the armory)

Uh... It's 5 shots in the shotgun till you need to reload right? It takes 7 shots consecutively of the disabler smg bolts to take someone out, so uh... 3 hits with with 2-3 pellets on each shot. I don't see much reason to use this over a normal disabler or a stun baton.

baton, 20 charged, 3 to stun (~ 6.66 stuns), melee range
disabler, 10 charges, 4 to stun (~ 2.5 stuns)
disabler smg, 25 charges, 7 to stun (~3.5 stuns)
shotgun, 5 charges (shared with your lethal mode), 3 to stun ( 1.9 stuns with all triple hits)

Maybe 20 stam per non-lethals shot? Instead of a 2-2-3, you can hit a 2-3 or a 2-2-1? It should be better than other sec gear options correct? It knocks the shotgun up to a 2.6 stun possible and gives it much more flexibility. It gives it some kind of advantage over the other options HoS has for disabling people.
Uh... for the lethal maybe put one more bullet in the wide shot? Hitting all your shots from a regular lethal round deal 60 🤷♂
Finally... GUAH!!! YOU CAN'T PUT IT IN YOUR BACK SLOT!!! 😞

Finally... GUAH!!! YOU CAN'T PUT IT IN YOUR BACK SLOT!!! 😞

You literally can though? Have you tested it?

Finally... GUAH!!! YOU CAN'T PUT IT IN YOUR BACK SLOT!!! 😞

You literally can though? Have you tested it?

oh... lol, I had the disabler yml pulled up on my screen when I was writing that, got a little mixed up

Is it just me or do the five shots seem very low, especially for a Special head item, Krammer has 4, Enforcer has 7 and they are easily reloadable, wouldn't 8 or 10 that it originally had be better? missing your shots will be heavly punishing due to the low capacity, where fighting two people requires you to hit all your shots with majority if not all the bolts. In nukies like a previous comment stated its not a practical gun,  and even in traitors im starting to question its practical use being underepowered where a krammer can output more damage than the Energy Shotgun, and if its not practical to use, what stops a HoS from leaving it in armoury in favour of other weapons in the safes?

Is it just me or do the five shots seem very low, especially for a Special head item, Krammer has 4, Enforcer has 7 and they are easily reloadable, wouldn't 8 or 10 that it originally had be better? missing your shots will be heavly punishing due to the low capacity, where fighting two people requires you to hit all your shots with majority if not all the bolts. In nukies like a previous comment stated its not a practical gun, and even in traitors im starting to question its practical use being underepowered where a krammer can output more damage than the Energy Shotgun, and if its not practical to use, what stops a HoS from leaving it in armoury in favour of other weapons in the safes?

or just make it reload itself

Is it just me or do the five shots seem very low, especially for a Special head item, Krammer has 4, Enforcer has 7 and they are easily reloadable, wouldn't 8 or 10 that it originally had be better? missing your shots will be heavly punishing due to the low capacity, where fighting two people requires you to hit all your shots with majority if not all the bolts. In nukies like a previous comment stated its not a practical gun,  and even in traitors im starting to question its practical use being underepowered where a krammer can output more damage than the Energy Shotgun, and if its not practical to use, what stops a HoS from leaving it in armoury in favour of other weapons in the safes?

In traitors it's certainly not underpowered due to the prevalence of webvests

Yeah I'll fix that

I still feel like this should go to the Warden and then either the Multiphase or the Big Iron should go to the HoS.

i think it should auto recharge like caps laser pistol but be 2x5 so you have to have a duffel or backpack or carry it on your back. The current implementation is a hard nerf to HoS if you remove the wt550. However making it recharge would be good.

i think it should auto recharge like caps laser pistol but be 2x5 so you have to have a duffel or backpack or carry it on your back. The current implementation is a hard nerf to HoS if you remove the wt550. However making it recharge would be good.

I'm not exactly comfortable with making satchels users suffer for using the cooler bag, Just make it take up an entire side of the satchel.

Many players who play as Security and a handful of HoS mains (rare find) believe that if the shotgun were to replace the WT, it would be a significant downgrade. I strongly oppose this change. The shotgun might be a "cool" weapon, but it's not better than a mere Kammer. At most, it can deal 50 heat damage from close range, totaling a disappointing 250 damage with a full magazine. Plus, you need to return to sec to recharge it, which is a hassle.
For comparison, the "bland SMG" can deal up to 480 piercing damage per magazine. You get three magazines, and it takes around 1.2 seconds to crit an unarmored human with only seven shots, leaving them bleeding as well.
Heat damage is also a joke. Incendiary bullets for the WT deals 14 heat and 2 blunt damage. Claiming the shotgun is good because it can deal with webvests limits its usefulness to "it can kill webvests, so it's good enough." However, it can't even crit an elite hardsuit, even with perfect hits from all five shots in a full magazine. You'll likely get EMPed before you can do that, making it situational. The WT can still crit a webvest with 21 shots, even if the web is their counter.
The only advantage the shotgun has over the WT is that it's a simple disabler. However, the disabler SMG already fulfills this role for traitors rounds. Additionally, no sane tot player would choose getting a webvest if they were tasked with obtaining the shotgun. Antagonists already have superior close-range weapons, like the hypopen, which can instantly send you to sleep, or the esword, which you are not winning against with a shotgun.
To sum it all up, I don't think this weapon is anywhere near capable of replacing the WT or being useful for a competent HoS player, even as a stun gun. Who would choose using a shot from a 5-ammo shotgun over a disabler? It’s outmatched by most guns in the armory. Either make it stronger or beg the mappers to keep the WT.

made it a 2x4, gave it 7 shots, gave it a recharge

made it a 2x4, gave it 7 shots, gave it a recharge

this is much better, thanks.

Why's that?

Why's that?

The Warden gets easier home defense with an Energy Shotgun or for riot control. Especially if they also get a ballistic shotgun.
MWS-01 is a better version of the Multiphase. Higher skill ceiling and more rewarding. Also easier transport due to item size.

Why's that?

The Warden gets easier home defense with an Energy Shotgun or for riot control. Especially if they also get a ballistic shotgun.
MWS-01 is a better version of the Multiphase. Higher skill ceiling and more rewarding. Also easier transport due to item size.

I'd say that the Energy Shotgun is a much better option of us at its current standing, having original content is much better than copying over what other people already have, its a nice new concept which has potential, and its being balanced well enough where its not going to be over/underpowered, its larger size blocks it from being stored in a storage implanter thus providing a bigger challenge for any Syndicate agent trying to steal it.
Warden having a special items is probably outside of this PR's talking point and shouldn't be mentioned, there was a discussion on the Official Discord about which special HoS gun people preferred, and not once anyone mentioned the MWS-01, and don't get me wrong but the Big Iron seems like a balancing nightmare, as well as a coding one.

I'd say that the Energy Shotgun is a much better option of us at its current standing, having original content is much better than copying over what other people already have,

This is irrelevant and it's nothing new. It exists in SS13 as either technology shells to put into regular shotguns or the Warden exclusive energy shotgun.

Right, Keron, one more question, as far as like... balancing and stuff is concerned, what is the issue with giving this to the HoS? Leaving the Warden out of the scenario for now. Like, anything I could change?

Right, Keron, one more question, as far as like... balancing and stuff is concerned, what is the issue with giving this to the HoS? Leaving the Warden out of the scenario for now. Like, anything I could change?

It's multiphase but shotgun. Having a regular shotgun that can swap between some lasers and disablers is extremely good to have in one package. These are better off to be delegated to technology shells, which it would require a different ammo type to fire these kind of projectiles.
In contrast, the Particle Defender (laser and disabler energy shotgun) was a "pump and use" weapon with a recharge rate.

well, but like, what makes it:
Good for ward to have
Bad for HoS to have

is it too good for the HoS?

I'd rather the hos have the energy shotgun. Also this replaces the emergency orders which do literally nothing and give the HoS and actually interesting head item. I highly disagree with the sentiment of warden getting this instead.

ALT DESIGN:
Cell Driven Energy Shotgun
Instead of an internal battery, this design proposes special power cells for the energy shotgun.
These power cells would hold 3-5 shots
Pros:
-More playstyle variance.
If the Head of Security wanted to focus on disabling hostiles instead of killing them, they could take more disabler cells.
-Certain about what mode is selected.
You know what cell you put in. Could also be adressed with visualisers.
-Higher skill ceiling.
This change would allow for more tactical play. See point 1.
-New unlocks for research.
In order to make the shotgun as customisable as a normal shotgun, it could be able to unlock more modes as sci researches things. Think a radiation mode, an incendiary mode, etc.
Cons:
-Difficult to balance.
The cells are proposed to be 2x2, idea might change. If a head of security can carry many cells, they can be extremely versatile. Needs to be looked at if we go with this idea
-Harder to use.
While higher skill ceiling might be an upside, this weapon could also be frustrating for newish heads of security.
Overall I think it's a good idea, but needs maintainer discussion.

To add on, the normal types would be converted into cells, the head of security would spawn with 2-3 of each, and they will be available to be made at the secfab.

seems fine to me fix goncflicts

got it

need to unscrungle this shit


introduce Phabricator support

Summary
Introduce Phabricator support.
Ticket Link
https://github.com/mattermost/mattermost-mobile/issues/6597
Checklist

[ ] Added or updated unit tests (required for all new features)
[x] Has UI changes
[x] Includes text changes and localization file updates
[ ] Have tested against the 5 core themes to ensure consistency between them.

Device Information
This PR was tested on:
Screenshots

Release Note

Hello @okias,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

@okias Feel free to ping me when the PR is out of the draft stage and ready to review :smile:

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

Building app in separate branch.

Successfully building:
https://circleci.com/gh/mattermost/mattermost-mobile/27861
https://circleci.com/gh/mattermost/mattermost-mobile/27860

Building app in separate branch.

Successfully building:
https://circleci.com/gh/mattermost/mattermost-mobile/27866
https://circleci.com/gh/mattermost/mattermost-mobile/27865

Artifact links:
https://output.circle-artifacts.com/output/job/c41ab4a8-9969-44f4-946f-4c86b1aed1cf/artifacts/0/tmp/artifacts/Mattermost_Beta.ipa
https://output.circle-artifacts.com/output/job/380beda6-6563-4fcb-99c5-d4603f6f890a/artifacts/0/tmp/artifacts/Mattermost_Beta.apk


ConnectionPool::PoolShuttingDownError

If there is a network error or connection error, and if there is a change replication set primary, we started to have this error. It happens like every 10-12 hours and create thousands of errors. We have to app restart to fix it.
I am using latest moped 2.0.5.

They are all related, this one, #346, #348 ...
Default pool size (5) start the failures in a few minutes, experimenting with 70 gives some days.

@sahin do you have many #find_and_update on your code? It's the only change, you might try mongoid 5, and get rid of moped.
Thinking about doing it now, we're in a fork in mongoid's life, suffering in the transition heh.
Also, which mongodb version?

@nofxx , we are in mongo 4.0.2
our pool is 500. We have instant 100 connections from web, api, player. and workers.
We never user find and update. We have lots of find, user related data writes , and many writes in workers, there are find, update or create.
I would loce to get rid of moped. Is mongoid 5 ready to use in production?
I would Is mongoid 5

We use mongo 2.6.10 . We will move to 3.0.3 soon.
I would love to use mongoid 5

Hello sahin. It's not production ready, check the repo, but can't be worst than this pool nightmare.
Or it can. If you code doens't have any find_and_update, just change mongoid on Gemfile to use the git master.
Here we are with mongo 3.0.3, moped 2.0.5 patched with pool_size increase.
But I still got some pool issues some hours ago, hoping for a day w/o errors...

"hoping for a day w/o errors..." this connection pool error makes we wake up 2-3 times at night....
@arthurnn @durran do u guys suggest to move mongoid 5 master

Without any rep machine failing it's more than a day w/o errors now. Not sure if one goes down, will try sometime in the early morning today.
Only issue now is a sidekiq worker that won't stop eating RAM. Not sure it's related to the moped pool, experimenting now.

Anyone here who already tried mongoid5? @sahin?  We are with mongoid 4.0.2 and moped 2.0.6 and still failing

+1 same here

mongoid (4.0.2)
moped (2.0.6)

We just migrated to rails 4.1.12 and the issue seems to be gone (+2 weeks, never saw the bug since). No idea how it could be related.

Now that you mentioned rails @jlhonora , might be what fixed here too, but we're in 4.2.3.
What we still get is sidekiq not releasing RAM, it happened together with the pool bug, but now the pool bug is gonne and the ram eating persists.

I am going to try going from 4.1.10 to 4.1.12 and see if that changes anything. I will post if I see the same results as @jlhonora.

same here, no fix?!?

I have not seen the bug after going to gem 'mongoid', '5.1.1'


Training Loss for Achieving Results Similar to the Paper

When you were training, to what loss value did it decrease to produce the results you reported in your paper? When I trained on a small dataset of 2 hours of Vietnamese audio for up to 1000 epochs, my loss/g/mel fluctuated around 20 and wouldn’t go down further. The loss/g/kl showed the same pattern. My training results were quite poor, and many times, it only produced 1-second audio with nothing but noise. Could you please give me some advice? Thank you

Thanks for your consideration of my work. These are some parameters that I used in my paper.
'train': {'log_interval': 100, 'eval_interval': 400, 'seed': 1234, 'epochs': 1600, 'learning_rate': 0.0002, 'betas': [0.8, 0.99], 'eps': 1e-09, 'batch_size': 32, 'fp16_run': False, 'lr_decay': 0.999875, 'segment_size': 8192, 'init_lr_ratio': 1, 'warmup_epochs': 0, 'c_mel': 45, 'c_kl': 1.0}.
When I trained the model, the loss reduced from about 35.xx --> 14 and converged about epoch 1500s. You can try with the above params. Good luck!

@thelinhbkhn2014  Hello, I've trained the XphoneBert model on the infore1 dataset and my own data. However, I'm facing a problem where the results are very poor for inputs longer than 2 sentences. As the generated speech progresses, it increasingly mispronounces words from the previous sentences. Have you encountered this situation before? And could you please explain why I'm facing this issue? I tried the original VITS model on an English dataset with the author's pretrained checkpoints and didn't encounter this issue. Thank you


Chore/update deps 2021 03 25

Webpack still ran locally, taking an executive decision to merge as it is js only


Issues with running/installing

Hi, I was able to run this a few months ago when I built a small app to run stats on movies my friends and I saw together, but when testing it again recently it broke, I think it's due to me updating python a few months back. I tried re-cloning, removing all my python installs and reinstalling the latest python 3.13 , creating a venv and installing requirements in there, nothing works. When I try doing pip install -r requirements.txt  it breaks when installing numpy, and after I tried bypassing it, it breaks on Building wheel for lxml. Am I doing something wrong? Should I be using a specific version of python? I can copy the full console output if needed. Thanks in advance.

Okay, after more testing, the issue was coming from python 3.13, after creating a venv with python 3.12, installing requirements worked fine! I think python 3.12 should be specified in the readme (right now it says "Requires Python 3.x").


Incomplete example with no namespaces needed

This is not followable due to confusion in namespaces

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

ID: 9a5cfa38-0e6c-4346-dafc-84ea5c513fcf
Version Independent ID: c6787f0f-3e9a-6efb-0e6e-5ccb957d3f4a
Content: File uploads in ASP.NET Core
Content Source: aspnetcore/mvc/models/file-uploads.md
Product: aspnet-core
Technology: aspnetcore-mvc
GitHub Login: @ardalis
Microsoft Alias: riande

21.5K PV, 16 ratings, 50% CSAT
What namespace confusion?

@davidekarasek  have you looked at the download file?

This has been addressed on the topic+sample overhaul. I've marked this issue on the tracking issue: https://github.com/aspnet/AspNetCore.Docs/issues/10214 ... closing it here.


it is succeed to execute dotnet .dll command,but put they on iis or jexus,get Exception:Views/XXX/xxx.cshtml" was not found

I execute the dotnet .dll command in the publish file, everything works, but put the publish file on iis or linux jexus, the site is up and running, but some pages get an exception: "Views/XXX/xxx.cshtml" was not found
i'm sure the program is not path

Hey thanks fir the note what do you normally with this site or code what str you expecting?  Thanks sounds interesting.
By the site what do you mean pornhub or something?
Sent from my Samsung Galaxy , an AT&T LTE smartphone
-------- Original message --------From: Chaunce<EMAIL_ADDRESS>Date: 11/29/17  11:34 PM  (GMT-08:00) To: aspnet/Home<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [aspnet/Home] it is succeed to execute dotnet .dll command,but put
  they on iis or jexus,get Exception:Views/XXX/xxx.cshtml" was not found (#2294)
I execute the dotnet .dll command in the publish file, everything works, but put the publish file on iis or linux jexus, the site is up and running, but some pages get an exception: "Views/XXX/xxx.cshtml" was not found
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/aspnet/Home","title":"aspnet/Home","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/aspnet/Home"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"it is succeed to execute dotnet .dll command,but put they on iis or jexus,get Exception:Views/XXX/xxx.cshtml" was not found (#2294)"}],"action":{"name":"View Issue","url":"https://github.com/aspnet/Home/issues/2294"}}}

@liuyl1992 could you share more details? What version of Asp.Net Core \ Mvc and .NET SDK are you targeting? Do you see only see this errors with a published application and not when you do dotnet run?

.NET SDK:2.0.1
ASP.NET Core :2.0.0
detail:https://github.com/blogifierdotnet/Blogifier/issues/67


Feature Request: Helm/node-selection

What kind of request is this (question/bug/enhancement/feature request):
Feature Request: Helm/node-selection:

To support appropriate node selection based on the specified requirement, we should have node affinity, node selector, tolerations field on the helm chart

It would be great to have it.

It would be great to have it.

Have you ever used "mustMerge" function? Could you help me to take a look on this?
https://github.com/rancher/rancher/pull/32013


bounding box is wrong for \cancel groups

I added
\usepackage{cancel}
\usepackage{ulem}

to test.tex in order to generate the image above.  The spacing around binary operators is better than it used to be.  It seems like the addition of the \cancel bar doesn't affect the bounding box of \cancel in the LaTeX rendering (green).  The bounding box of \cancel groups is essentially the same as the bounding box of the contents.  This is probably most noticeably in {\cancel B}_1^2.

For reference, here's a texdiff on the #1295 branch.  I'm not convinced it's much better... but hopefully easier to fix?

It's looks like there are two things going on:

LaTeX's \cancels are generally steeper, especially for single lowercase letters
LaTeX has less spacing around the \cancelled element.


Add unoptimized configuration option

Is your feature request related to a problem? Please describe.
The configuration options in the documentation do not list an option to not optimize an image (leave it untouched after it is downloaded).
Describe the solution you'd like
Add a new configuration option (e.g. titled unoptimized) with a boolean value, with a default of false. If set to true, the specified remote image(s) would be downloaded and stored as local static images, but no optimizations would be applied in the process.
Describe alternatives you've considered
I have considered using the quality value of 100, but it's unclear to me if this still results in changes to the file after it's downloaded.
Additional context
My use case is as follows. I am looking to only download remote images from an AWS S3 bucket into static assets for a static site at build time. However, the images on the remote server are already optimized, and I would like an option to not perform any additional optimizations / transformations on the images when they are downloaded.
The similar library next-image-export-optimizer allows for the prop unoptimized={true}:
https://github.com/Niels-IO/next-image-export-optimizer/blob/master/README.md?plain=1#L185

Can't you do this?
<Image unoptimized>


Mask with placeholder

Using a mask with a placeholder doesn't seem to work properly. For example if I have a phone number mask<PHONE_NUMBER> and a placeholder Phone Number I get the following result when trying to enter phone number<PHONE_NUMBER>:
P123e 456b78.

I have the same issue

+1
This issue was present in the old angular-ui/ui-utils mask module. This is a fairly big bug that has slipped through the net IMHO.
Which is more likely: a fix by an admin or a concerned citizen? If it's the latter, it's something I might be able to look at over the weekend.

Indeed, it should have been solved for a long time now. However I am not familiar enough with the codebase to do it myself. So it will most likely require a PR from someone else.
We used to have a PR that seemed to be working, according to user reports, but lack tests and demo: https://github.com/angular-ui/ui-utils/pull/353
I didn't try it out myself, but this might be an interesting starting point if you are willing to work on that...

I actually pulled this down locally but it didn't seem to work for me. However as you said it lacked tests/demo so I could have assumed some details and got mixed up. It seemed to work for other people based on the comments at least so yeah could be a good place to start.
Will check back in if I get anywhere

If necessary, a complete rewrite of ui-mask would be acceptable IMHO, especially if it also tackles what seems to be severe compatibility issues (see #5). It seems the codebase is quite brittle unfortunately.
Also, just to clarify, I am not the author, nor the maintainer, not even a user, of this lib. I merely triage bug and merge well-written/tested PR.

Quick update.
One of the big things that doesn't work me and my usage of ui-mask is the fact that there is a default placeholder applied when you define a mask. So for example, if you have the following mask:
ui-mask="999-999"

you will automagically get this placeholder on your input:
<input ng-model="x" ui-mask="999-999" placeholder="___-___"/>

This is NOT how I would expect this to work. Why would it assume you want a default placeholder? Also, when you actually provide an actual placeholder it makes a bastardized amalgamation of the two, which corresponds to the OP bug above. I'm not sure who made this decision or how these decisions come about on a community project.... Does someone come up with an initial spec or does functionality just organically happen over time?
This is my first time attempting to contribute to a project like this, making wholesale changes would not be my preferred modus operandi. However I looked at trying to step away from the default placeholder. What I came away with was that masking and the placeholder were tightly coupled and removing it required much more time and effort than the quick(ish) fix that I invisioned it would take.
Maybe I am off thinking that this is the way it should work or maybe there is a legitamate reason for all this. Maybe someone with more hands on experience with the code base could talk to this? @PowerKiKi Maybe a rewrite with a clear spec could be a viable option, but it's not something I can commit to myself at the moment though.

I assumed it would not be that simple, and that this project grew organically.
My idea (without looking at the code), was that we could save the original value of placeholder (if any), and reassign that original value, if/when the user did not input anything (or deleted it). That would mostly keep the same behavior as now, but still allowing to specify a placeholder.
However after a very quick glance at the code I came up with the same conclusion as you: placeholder is somewhat heavily used for masking and maybe not in the cleanest way it could have been.
Like I said I won't have time, nor interest to be honest, in solving that. So if you don't either, we'll just wait for someone else to care enough about it ;-)

+1

:+1:

+1

I think we can close this one.

Solved via #24

@dimrsilva @PowerKiKi It appears there is still an issue with ui-placeholder-mask.
I created this demo here: http://plnkr.co/edit/TpN0hdkHZlXR9wSr71Lu?p=preview
You can see that the top version works without a placeholder. But, the second version with the placeholder and ui-mask-placeholder doesn't work when the ui-mask is set directly.
If you pass the ui-mask via a scope it works fine. This holds true on the github demo since the ui-mask is being passed via the buttons below.

It's related with #25. Thanks for your plunk. It'll help.

Hey everyone, I was able to solve this by having the ui-mask set as :
ui-mask="(999) 999-9999"
and the placeholder set:
placeholder="(___) ___-____"
then on load with jQuery I did this:
$(yourMaskedElement).attr('placeholder', 'ENTER MOBILE NUMBER');

Following msorce tip about jquery, I created a small directive to replace ui-mask-placeholder.
Just adding
ubt-mask-placeholder="{{"somestring"}}
OR  when using angular-translate :
ubt-mask-placeholder="{{"somestring" | translate}}
(function () {
'use strict';
angular
.module('app')
.directive("ubtMaskPlaceholder", ubtMaskPlaceholder);
function ubtMaskPlaceholder() {
return {
restrict: 'A',
scope: {
placeholder: '@ubtMaskPlaceholder'
},
link: function (scope, elem, attrs, uiMask) {
$(function(){
$(elem).attr('placeholder',scope.placeholder);
})
scope.$on('$translateChangeSuccess', function () {
$(elem).attr('placeholder',scope.placeholder);
});
}
};
}
})();
`


Detect test file names and overwrite test/sandbox files

We should look for:

PNG Test.png
JPG Test.jpg
Test.svg

If the filename matches, we could display an alert and upload overwriting these - would make testing uploads not require a load of deletion requests afterwards! At the moment it will increment the number at the end, i.e. JPG Test 2.jpg

Uhhh... not sure. If we did do this, we would have to be very careful that the overwrites ONLY happen for these, otherwise it would cause huge issues as lots of people upload files with similar names.
Also, I'm not sure if this would mess up http://tools.wmflabs.org/commons-app-stats/ ? As we are currently actually tracking overwrites (due to an unsolved overwrite bug), this might cause quite a bit of false alarm. @whym do you think it would be possible to have your script ignore certain files if we decided to do this?

Oh, I forgot to mention that there is a little trick for testing the app without uploading. This works all the way up to the categories screen (just don't select save, otherwise it will crash).
Comment out this line in UploadController.java:
//uploadService.queue(UploadService.ACTION_UPLOAD_FILE, contribution);
If you choose to do this, PLEASE remember to revert it before submitting your PR. :)

Ah nice that'll be useful

No worries about the stats. It's not difficult to post process to exclude test uploads using file name patterns, if needed.

I think we can close this, with beta product flavours having been implemented?

I agree @misaochan


Update to Solr 5.x

I've been working on this, but have a couple loose ends to tie up still.

Hi Mark,
I am trying to run your solr-map-reduce-example on mac and having some problems/questions on the run-example.sh script.  Couldn't fully understand from run-example.sh script how exactly you are trying to launch solr.  In the curl/collection api command while creating collection you have mentioned numshards=1 but I see you are starting solr on two ports with numshards=2.  Would appreciate if you can provide some more details on setup that I can try to run thru this solr-map-reduce-example.


aks/eks core: fix network policy bug

For cluster using var.kubernetes_network_policy_default_deny = false,
these new network policies are causing issues (all traffic is blocked).
Fixes #569

@NissesSenap something for another issue and/or PR. :^) Thanks!


Added GitHub action, Test and Publish to NPM

Hi @jwillinghalpern
Like before, I made it. It looks like everything was the same. Tell me if you want me to add something new to it.

Hey Daniel, thank you for circling back and doing this. I think this looks good!
I confirmed vitest runs non-interactively when initiated via github actions, so I think it should work well as-is, without any changes.
Thanks for your contribution!


Annoying to use with ES6 imports and Browserify

The expected way to import modules with ES6 and browserify is this:
import emitter from 'tiny-emitter';

emitter.on('event', ()=>{ /* functionality */ });

However there is an extra step involved in order to import tiny emitter into a project in a way that lets modules talk to one another across different files due to tiny-emitter exporting an uncalled javascript class.
//local emitter.js file

import Emitter from 'tiny-emitter';

export default new Emitter();

// module js file

import emiter from './path/to/emitter.js';

emitter.on('event', ()=>{ /* functionality*/ });

As you can see it feels like an unnecessary extra step and a tiny extra file in the file system.
What I would propose is having tiny emitter export an already called emitter rather than an uncalled class.
So instead of this as the export command (which is what you pretty much have at the moment):
export default Emitter;

You would have this:
const emitter = new Emitter();
export default emitter;
export { emitter, Emitter };

This would be a breaking change but I think it would be worth it for the ease of use it brings to your users.
The second export allows people to still alter/extend the class itself if they wish. The vast majority of the time, you only want to import the already called emitter though and this set up allows for that more easily.
I would have done the change myself in a pull request but I don't know typscript well enough to make the necessary edits.

Actually I just realised that the second export I suggested is completely pointless since you can still use emitter.prototype to make alterations to the emitter itself.
In that case all you need to export is this:
export default new Emitter():

I'd like to keep a class as the default import, but I'm open to exporting a singleton as well.
import emitter from 'tiny-emitter/instance'

Or something similar.
How does that sound?

I'd prefer the instance to be the default but considering how popular this package is and that changing the default to an already called instance would be a breaking change I think that's a good compromise. That method would still achieve the desired result of a 1 line import without needing to introduce a breaking change.
So yeah, I'd be happy with that as the solution :)

An alternative solution would be this:
import { emitter } from 'tiny-emitter';

People can customise the variable by doing this:
import { emitter as customEmitterName } from 'tiny-emitter';

That is probably the more correct solution but I don't mind which ever one you go with.

I did want to avoid instantiating an used object. That was why I suggested another file to import.
I'll think about it a bit more. Thanks for the idea!.

Closed with https://github.com/scottcorgan/tiny-emitter/pull/18


Rollback system-docker to 1.10.3

For RancherOS 1.0 we should drop the custom system-docker we have now and rollback to Docker 1.10.3 as we develop a new replacement for system-docker that can be lighter weight.

Excellent.  My hope for the lighter-weight thing is that it updates itself and the containers it runs by default without the user taking  any action.  Action should be required only to DISABLE the update feature.

The new thing we allow updates without impacting containers or a reboot.  Look forward to "new thing" :)


Access command exit-code in a plugin's post-command step

Inject an env var with the previous step exit code, or a env var with the exit code for each step (e.g. PRE_COMMAND_EXIT_CODE, COMMAND_EXIT_CODE, POST_COMMAND_EXIT_CODE)

We set BUILDKITE_COMMAND_EXIT_STATUS  currently:
https://github.com/buildkite/agent/blob/a9645cdfe3698270cd3b69afca6ae054c53b8dfc/bootstrap/bootstrap.go#L908
Does that solve your problem?

Perfect 👍
Sorry I opened the issue but I searched the docs and couldn't find anything.

No problems!


Support Rust beta and Windows MSYS compiles

Main changes:
Support Rust beta instead of just nightly build.  Avoid unstable features (e.g., use libc from crates.io)
Slight tweaks to handle Windows/MSYS

Also - thanks for developing this great project!

Thanks!


Build errors due to Abseil LOG macro leaking from grpcpp headers

What version of gRPC and what language are you using?
Commit https://github.com/grpc/grpc/commit/3eb1b1cf69411054d228b75b867886f239f8d4d8, not yet in any gRPC release.
Commit authored by @tanvi-jagtap
C++
What operating system (Linux, Windows,...) and version?
Ubuntu 22.04
What runtime / compiler are you using (e.g. python version or version of gcc)
clang-16
What did you do?
We've defined our own LOG macro in userver and want it to be used in all projects based on it.
This has worked until v1.64.1, which is the latest gRPC release at the time of writing.
What did you expect to see?
We are able to use grpc++ and use our own LOG macro.
What did you see instead?
grpcpp/impl/call_op_set.h and grpcpp/impl/rpc_service_method.h transitively break our code by redefining LOG macro.
See the original issue: https://github.com/userver-framework/userver/issues/619
Anything else we should know about your project / environment?
We've been historically ignorant of Abseil. gRPC has never required (and AFAIK still does not require) using Abseil for any of its features. And now all of a sudden we have to drop our LOG macro to use gRPC?

сс @sastryvp

@tanvi-jagtap @jagtaptanvi (not sure which is the correct handle)

We should definitely be using the ABSL_LOG variants for anything in the include/ tree

Sounds like a repeat of https://github.com/grpc/grpc/issues/36867


Logging

Re-implements ConsoleLogger using the SSWG Logging API.

@tanner0101 Ready for another review 👍

Looks like logging levels have changed slightly.

@tanner0101 Updated!

Hey @calebkleveter, you just merged a pull request, have a coin!
You now have 472 coins.


autoprefixer warning messages

Getting this from my specs output:
autoprefixer: /Users/derpherp/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/comfortable_mexican_sofa-1.12.8/app/assets/stylesheets/comfy/admin/cms/application.sass:8930:3: Gradient has outdated direction syntax. New syntax is like "to left" instead of "right".
autoprefixer: /Users/derpherp/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/comfortable_mexican_sofa-1.12.8/app/assets/stylesheets/comfy/admin/cms/application.sass:8953:3: Gradient has outdated direction syntax. New syntax is like "to left" instead of "right".
autoprefixer: /Users/derpherp/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/comfortable_mexican_sofa-1.12.8/app/assets/stylesheets/comfy/admin/cms/application.sass:9011:3: Gradient has outdated direction syntax. New syntax is like "to left" instead of "right".

Gemfile:
..
gem 'rails', '~> 4.2.3'
gem 'autoprefixer-rails', '~> 5.2.1'
gem 'comfortable_mexican_sofa', '~> 1.12.8'
..

How can I get rid of these messages?

Yep, getting this too. Interested to hear how best to fix this :+1:

Did this ever get fixed/updated?? I just got the same warning with comfy cms.

Still the same output here..

It was Timepicker with its crappy css. It's replaced with Flatpickr and there are no warnings with autoprefixer anymore.

@GBH great stuff! Is that fixed in v2 beta only?

Yep, on master branch. No point of releasing gem just to squelch css warning.


input-model dosent work with $rootScope

Can i have input-model in $rootScope, becouse i whont to iterate from different controller?

Hi @mladenko ,
It should work with $rootScope. Can you try to replicate this in Plunker or JsFiddler?


Small typo on the readme, the actual file is requirement.txt, not requirements

Can you specify where?

Iam sorry I didn't see that. I'll be sure to fix it!

The typo is fixed. Thank you @KenWuqianghao


Error when running test on demo video with kinetic models

I was trying to run model "kinetics400_tpn_r101f16s4.pth" on demo video by running the "test_video.py" scripts and I met following error, could you please help me? Is that because demo/category.txt is categories of dataset "something something"?
python test_video.py config_files/kinetics400/tpn/r101f16s4.py ckpt/ft_local/kinetics400_tpn_r101f16s4.pth

@SUYEgit  Yes, currently, our 'test_video.py' only supports the categories on Something-Something dataset.

Thanks for you reply. Then how do I test your models trained on Kinetics?


Azure AD token Lifetime for sessions token

Hi Team,
We have an app that uses the OAuth auth Code grant type. We are trying to restrict session tokens and limiting to 10 minutes however after applying the policy it is not working and users stayed logged in on browsers.
Can you please suggest If we missing something, we are using the below policy :
$policy = New-AzureADPolicy -Definition @('{"TokenLifetimePolicy":{"Version":1,"MaxAgeSessionSingleFactor":"00:10:00","MaxAgeSessionMultiFactor":"00:10:00"}}') -DisplayName $policyName -IsOrganizationDefault $false -Type "TokenLifetimePolicy"

@RoyRK07 Thank you for your feedback! Since this channel is for driving improvements towards MS Docs, could you provide the URL of the specific documentation that your feedback is applicable to? That way, we are able to make sure your feedback is addressed by the right team.

@RoyRK07 Thank you for your feedback! Since this channel is for driving improvements towards MS Docs, could you provide the URL of the specific documentation that your feedback is applicable to? That way, we are able to make sure your feedback is addressed by the right team.

https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-configurable-token-lifetimes

Is there a way to control Azure AD session tokens automatically which ask the user to authentication again ??????

It is best to avoid using token lifetime policies as these will be deprecated later this month. You should use conditional access policies instead.
Make sure that the policy is applied to the resource itself if you are still using that. The way to apply the policy to the app is to request a token with permissions to the AAD app registration.
https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/howto-conditional-access-session-lifetime
I would highly recommend using conditional access but if you have further implementation questions feel free to message me (email in my profile) and I'll gladly continue the discussion.


update npm packages

Can we merge this PR? This should fix the dependabot issues, shouldn't it?

Can we merge this PR? This should fix the dependabot issues, shouldn't it?

yes 👍


Thumbnail previews of media files available on Wikimedia Commons

Scenario: user wants to use OpenRefine to add structured data to existing files from Wikimedia Commons. They load a series of file paths from Wikimedia Commons and reconcile them with Wikimedia Commons.
We want to give users the option to toggle previews (thumbnails) of the media files, and the option to click the thumbnails to enlarge them. Such preview thumbnails are helpful during editing (e.g. to check if a certain thing is indeed depicted in a file, without having to click on to the file page on Commons).
Wireframes for this feature have been drawn by @lozanaross and OpenRefine/OpenRefine#5154 provides the technical basis for making this feature possible.
Most recent wireframes I found (v4, development version):

The small thumbnails: https://xd.adobe.com/view/df767737-c4ca-4d25-977e-7ad8ca3a6840-8a25/screen/8c10c8d4-9ab6-4da2-adb6-9552f789593f/
Hover effect: https://xd.adobe.com/view/df767737-c4ca-4d25-977e-7ad8ca3a6840-8a25/screen/e8aadeae-d6e6-414f-9852-26e85ce6964d/
Enlarged thumbnail: https://xd.adobe.com/view/df767737-c4ca-4d25-977e-7ad8ca3a6840-8a25/screen/698c6f1c-d747-4adc-895b-142e21c2830c/

The above PR (#88) is getting there, but it misses support for thumbnails of files with some form of capitalization in the file extension.
All supported file extensions for Wikimedia Commons are listed at https://commons.wikimedia.org/wiki/Special:MediaStatistics - it's important to take into account that variations in upper/lower case can happen in these file extensions. We have many thousands of .JPG files, quite a few .TIF, also a few .Jpg and many other variants.
Other resources to check:

https://commons.wikimedia.org/w/api.php?action=query&meta=siteinfo&siprop=fileextensions is a list of allowed extensions, but doesn't include the group or mime type.
https://gerrit.wikimedia.org/g/mediawiki/core/+/master/includes/libs/mime/MimeMap.php is the file where all MIME types and file extensions are defined (but this is the list of all the ones supported by MediaWiki, not specifically those allowed on Wikimedia Commons, so a combination of the above lists is needed)

To test an update to the PR, here's an OpenRefine project with a mix of file extensions:
Wikimedia-Commons-files-for-various-tests.openrefine.tar.gz
For now, in this project, I'd expect thumbnails to show up for files that are pretty straightforward 'image based' formats, including tiff files, pdfs, and also videos. Audio files and 3D files (e.g. .stl extension) probably less so.
And here's the source for that project; a list of all the varied wonky sorts of file extensions that are around on Wikimedia Commons: https://etherpad.wikimedia.org/p/Various_Commons_files_for_testing
A last piece of feedback from User:Nikki via the OpenRefine-Wikimedia Telegram channel:

It seems thumb.php needs extra parameters for tiffs, https://commons.wikimedia.org/w/thumb.php?f=Ebola_Virus_-Electron_Micrograph.tiff&w=320&h=320 doesn't work but https://commons.wikimedia.org/w/thumb.php?f=Ebola_Virus-Electron_Micrograph.tiff&w=320&h=320&lossy=lossy&page=1
does. it might make more sense to use Special:Filepath which redirects to the right url for the image/thumbnail, e.g. https://commons.wikimedia.org/wiki/Special:Filepath/Ebola_Virus-_Electron_Micrograph.tiff?width=320&height=320


Changes to get Android OpenXR capture working

CI gfxreconstruct build queued with queue ID 199988.

CI gfxreconstruct build # 4273 running.

CI gfxreconstruct build # 4273 passed.

CI gfxreconstruct build queued with queue ID 200694.

CI gfxreconstruct build # 4276 running.

CI gfxreconstruct build # 4276 passed.

CI gfxreconstruct build queued with queue ID 202434.

CI gfxreconstruct build # 4289 running.

CI gfxreconstruct build # 4289 passed.

CI gfxreconstruct build queued with queue ID 202582.

CI gfxreconstruct build queued with queue ID 202588.


When outputting HTML report with Scenario Template, Scenario::attach only works for the first scenario.

Describe the bug
When outputting HTML report with Scenario Template, Scenario::attach only works for the first scenario in a Scenario Outline.
To Reproduce

Create a test case as follows:

Feature: attach data to HTML report
  Scenario Template: test
    Then store '<val>'
  Examples:
    | val |
    | foo |
    | bar |

package org.example;

import io.cucumber.java.After;
import io.cucumber.java.Scenario;
import io.cucumber.java.en.Then;

public class StepDefinitions {
  private String text;

  @Then("store {string}")
  public void store(String t) {
    this.text = t;
  }

  @After
  public void attach(Scenario s) {
    String line = s.getLine().toString();
    s.attach("val: " + this.text, "text/plain", line);
    System.out.println(this.text + " attached");
    this.text = "";
  }
}

package org.example;

import io.cucumber.junit.Cucumber;
import io.cucumber.junit.CucumberOptions;
import org.junit.runner.RunWith;

@RunWith(Cucumber.class)
@CucumberOptions(plugin = {"html:target/report.html"})
public class RunCucumberTest {
}

Run mvn test
Both foo attached and bar attached are displayed on my console, but target/report.html only shows val: foo.

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
Running org.example.RunCucumberTest
foo attached
bar attached

Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.642 sec
...

Expected behavior
target/report.html shows both val: foo and val: bar.
Context & Motivation
For example, When some tests fails, we can get addtional information for each test that has parameters from HTML report. These are helpful for debugging.
Screenshots

Environment

Cucumber Version: 6.7.0
OS: Windows 10 1909
Runtime: OpenJDK 14.0.2
Build tool: Apache Maven 3.6.3
Browser: Google Chrome 85.0.4183.121

Additional context
It seems that val: bar is found in window.CUCUMBER_MESSAGES but not renderd.
$ grep -o -E "val:\s(foo|bar)" target/report.html
val: foo
val: bar

@aslakhellesoy @vincent-psarga  note that using a scenario outline is important reproducing this. Looks like react/javascript is only looking up the attachments for the first example.

Yes, this is related to #1173

Bump

Bump

Wasn't aware this existed here, closed my dupe from a bit ago. Think this is a better cover case (Affects all attach things, such as screenshots).


dxTagBox not works when content is same

Bug Report

Package versions:
devexteme version: 22.2.3
devextreme-vue version: 22.2.3

Steps to reproduce:

my test codeSandBox
Current behavior:

i think dxtagbox not work when content is same

click "setArray" button. variable setArray is setted.
click "spliceArray" button. variable setArray is cut.

in this example, span tag's text changes to "hello".
but dxtagbox not change

click "repaint" button. dxtagbox is changed.

Expected behavior:

when i clicked "spliceArray" button, i expect dxtagbox would changed.
additionally, if content is different, checkbox is changed.
ex) 'hello', 'hi'..
so, i think tagbox is not work when content is same.
Screenshots:

shoud i use repaint every time?

sorry. i'm wrong. if you search this case like me, you can do it.


[gui error report] SyntaxError: Unexpected end of JSON input: Error: open C:\Project\DEX\AR

👉 Please describe what you were doing when this error happened.
Specifications

OS: win32 10.0.19044
IPFS Desktop Version: 0.24.0
Electron Version: 19.0.9
Chrome Version: 102.0.5005.167

Error
SyntaxError: Unexpected end of JSON input: Error: open C:\Project\DEX\ARBITRUM\swapr-dapp\.ipfs\config: The system cannot find the path specified.
    at JSON.parse (<anonymous>)
    at Daemon._getConfig (C:\Users\elcha\AppData\Local\Programs\IPFS Desktop\resources\app.asar\node_modules\ipfsd-ctl\src\ipfsd-daemon.js:368:21)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Daemon.init (C:\Users\elcha\AppData\Local\Programs\IPFS Desktop\resources\app.asar\node_modules\ipfsd-ctl\src\ipfsd-daemon.js:158:9)
    at async getIpfsd (C:\Users\elcha\AppData\Local\Programs\IPFS Desktop\resources\app.asar\src\daemon\daemon.js:63:7)
    at async startDaemon (C:\Users\elcha\AppData\Local\Programs\IPFS Desktop\resources\app.asar\src\daemon\daemon.js:210:17)
    at async startIpfs (C:\Users\elcha\AppData\Local\Programs\IPFS Desktop\resources\app.asar\src\daemon\index.js:48:17)
    at async setupDaemon (C:\Users\elcha\AppData\Local\Programs\IPFS Desktop\resources\app.asar\src\daemon\index.js:116:3)
    at async run (C:\Users\elcha\AppData%

@goblintrum This error indicates that you don't have an ipfs config file at C:\Project\DEX\ARBITRUM\swapr-dapp\.ipfs\config. Can you please respond with the following information so we can investigate further?

Have you successfully used IPFS desktop previously? (i.e. is this an issue with ipfs config not being created correctly? see https://github.com/ipfs/ipfs-desktop#how-does-ipfs-desktop-select-the-ipfs-repo-location)
Can you attach your error.log, combined.log, and ipfs config files? https://github.com/ipfs/ipfs-desktop#where-are-my-ipfs-configuration-and-log-files
Can you share more details about what you were doing when this error happened?


Implement an io_uring context

Hey, this PR just tracks the development of the io context. If the timeout operation is finished I will request a review.
Edit:
The present PR has the goal to implement an io_uring based execution context with the following properties:

its scheduler satisfies a yet-to-be-defined timed_scheduler concept, which subsumes the scheduler concept. This is done by additionally providing schedule_after(sched, duration) and scheduler_at(sched, time_point)
the design is open to extensions for file and network I/O. The base class  __io_uring::__io_task_base<_Derived>  requires the following three functions to be defined:

bool ready() const noexcept: Returns true for eager tasks and false for those who need to be submitted to the io uring submission queue.
void submit(io_uring_sqe& sqe) noexcept: Fills the submission queue entry, which describes the I/O operation. Will be skipped for tasks that returned true for ready().
void complete(const io_uring_cqe& cqe) noexcept This will be called after an I/O operation completed. For stopped operations cqe.res will contain the value cqe.res = -ECANCLED. Its implementation usually notifies a Receiver

This PR contains a __stoppable_task_base<_Derived, _Receiver>  base class which uses the opcode IORING_OP_ASYNC_CANCEL to automatically implement the stopping of an I/O task which was previously submitted to the io_uring submission queue. If IORING_OP_ASYNC_CANCEL is not available, then each class that derives from __stoppable_task_base is required to provide a void submit_stop(io_uring_sqe& sqe) member function, which defines operation-specific steps to stop an already started task. This base class contains a member object of type __stop_operation which is a nested async operation. It is started when the parent task needs to be stopped.
Stopping the whole context is possible by calling io_uring_context::request_stop(). The following behaviour will happen:

Each new submissions through io_uring_context::submit(__task*) will be stopped before reaching the submission queue unless it sets the opcode IORING_OP_ASYNC_CANCEL, i.e. unless the task is a cancelation op.
When the io uring submission and completion queues are empty and all in-flight operations have been completed, new submissions will complete inline with set_stopped. Note: an initially constructed io_uring_context behaves differently.

Hey, I think the PR is quite big already. The branch is ready to be played with. If anyone wants to review, feel free. Currently supported are the normal schedule() and a schedule_after(scheduler, duration). Both operations are stoppable.

Anything else you'd like to do to this PR?

Indeed. I would like to add a unit test file that conditionally runs if the Linux headers are found. I would like to add a github action based on container with newer Linux header files.
Also, the scheduler misses an equality comparison.
Is that okay?

Anything else you'd like to do to this PR?

Indeed. I would like to add a unit test file that conditionally runs if the Linux headers are found. I would like to add a github action based on a container image with newer Linux header files.
Also, the scheduler misses an equality comparison.
Is that okay?

I'm also not sure how the timerfd implementation behaves for zero or negative duration values. So I simply need to add some useful tests

OK, I have added a GCC-11 action on Ubuntu-22.04 which supports more io_uring opcodes, yay! I've also enabled thread santizier and disabled TBB to not trigger false positives (it is not compiled with TSAN enabled).
If we want a similar test for Clang-12, I couldnt find a Ubuntu-22.04 image. Maybe @trxcllnt could help

This is an exciting piece of work. Any reason why I shouldn't merge it?

This is an exciting piece of work. Any reason why I shouldn't merge it?

I am aware of at least one more deficit: AFAIK, the completion queue can "overflow" becaues I am not limiting the total number of submissions. The kernel consumes submission entries faster than it completes them by taking an internal copy of them. The completion queue is by default twice as big as the submission queue but it in extreme siutations its still the userlands responsibilty to prevent such an "overflow". Its simple to implement something. I wanted to check whats done in practise. I haven't done so, yet.

I also think the context is clumsy to use, if not wrongly named. Maybe we call it io_uring_run_loop and make an RAII wrapper for it io_uring_context which owns a thread and requests a stop in its destructor.

We can merge this if you want to. But we should keep the interface in flow with better alternatives. I got mulltiple suggestions from @lewissbaker and @kirkshoop .

I got mulltiple suggestions from @lewissbaker and @kirkshoop .

Oh, where has that discussion been happening?


Testing, please ignore. (xclsfm)

This is a bug bounty test.. Please DO NOT APPROVE THIS! (xclsfm)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.xclsfm otjkn seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


[BUG, MRG] Fix biosemi example coordinate frames

Fixes #9641.

I just cleaned it up a bit

Great! I'll go ahead and merge.


Gparted 0.28.1 (default for nixos 17.03) is reporting incorrect partition schemes when zfs is present

Issue description
Gparted is reporting some zfs partitions, on gpt, as occupying the entire device, when they are not.
Steps to reproduce
Create a gpt device on disk
put some partitions (on my case, swap, one ntfs and two zfs, and a grub boot volume)
open gparted, it shows the entire disk with one of the zfs volumes.
Technical details

System: NixOS 17.03
Nix version: nix-env (Nix) 1.11.8
Nixpkgs version: "17.03.914.a00c4aea5f"

Obs: probably is something related to libparted, but this is the default version of gparted for 17.03, so I'm reporting here to give an opportunity of some downgrade

The last parted release (3.2) is relatively old (almost 3 years), so I suppose we would better apply some patches, e.g. https://anonscm.debian.org/cgit/parted/debian/parted.git/tree/debian/patches/zfs.patch

I think some kind of upgrade occurred from 16.04 to 17.03, cause gparted reported correctly the same partitions. Actually, I noticed just before upgrading, that the version on unstable reported incorrectly, and the version on 16.04 stable reported the partitions correctly.

@praduca: by 16.04 you mean 16.03 or 16.09?

16.09, sorry :p

Parted wasn't (directly) changed in any way between 16.09 and 17.03, only gparted was simply updated.

hm, ok, it's really more probably that it's just gparted.

We have 0.30 now – do you/someone (still) use such a setup?

Ticket on gparted says this is an issue with blkid.
I confirm that on my computer, blkid reports correct labels & types for /dev/sda1 .. /dev/sda3, but for /dev/sda (whole disk) it has a surprising mix of GPT & zpool.  Probably /dev/sda & /dev/sda3 shouldn't have the same UUID.
I haven't found a fix or workaround yet; will post if I learn more.
15:14:52 21 prandtl 0 $ blkid /dev/sda
/dev/sda: LABEL="zpool" UUID="7391117795939420635" UUID_SUB="17114677486215839739" TYPE="zfs_member" PTUUID="242cda8d-e2db-11e7-8765-507b9d44a347" PTTYPE="gpt"
15:15:36 22 prandtl 0 $ blkid /dev/sda1
/dev/sda1: UUID="7A1C-4850" TYPE="vfat" PARTLABEL="efi" PARTUUID="3110f1b1-67cc-482f-9d73-963e6ba54f71"
15:15:38 23 prandtl 0 $ blkid /dev/sda2
/dev/sda2: UUID="adAxDg-80yI-8yYi-ls3P-f4CX-prc6-jWKSc0" TYPE="LVM2_member" PARTLABEL="lvm" PARTUUID="8703bdfd-ed54-4712-859a-a620aba4ffd9"
15:15:39 24 prandtl 0 $ blkid /dev/sda3
/dev/sda3: LABEL="zpool" UUID="7391117795939420635" UUID_SUB="17114677486215839739" TYPE="zfs_member" PARTLABEL="zpool" PARTUUID="c3f64887-a7fe-43b3-bb7f-3a5ea2637fde"

Man...
The ticket on gparted (mentioned by @bergey ) was closed with label "not gnome"...
I wil try to reproduce (i dont have the pool anymore, and upgraded nixos)
if incapable of reproducing, i will close this.

gparted-1.1.0 now shows all 4 partitions on my disk, with correct sizes.  Output today from blkid is also much more reasonable:
02:45:50 164 prandtl 0 $ sudo blkid /dev/sda
/dev/sda: PTUUID="242cda8d-e2db-11e7-8765-507b9d44a347" PTTYPE="gpt"
02:45:59 165 prandtl 0 $ blkid /dev/sda1
/dev/sda1: UUID="7A1C-4850" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="efi" PARTUUID="3110f1b1-67cc-482f-9d73-963e6ba54f71"
02:46:13 166 prandtl 0 $ blkid /dev/sda2
/dev/sda2: UUID="8006dab3-3e3c-4ceb-b325-b8ed98d72f66" TYPE="swap" PARTUUID="dbe588cd-afe6-3242-b899-f3e2e1998de4"
02:46:15 167 prandtl 0 $ blkid /dev/sda3
/dev/sda3: LABEL="zpool" UUID="7391117795939420635" UUID_SUB="17114677486215839739" BLOCK_SIZE="4096" TYPE="zfs_member" PARTLABEL="zpool" PARTUUID="c3f64887-a7fe-43b3-bb7f-3a5ea2637fde"
02:46:16 168 prandtl 0 $ blkid --version
blkid from util-linux 2.35.1  (libblkid 2.35.1, 31-Jan-2020)```

Ah that's great. The version of util-linux is far greater than the one that showed this problem, so i will close this. Thanks to all!


Case Lookup behavior?

Not sure if this is a bug, but when using "Case Search" > "Find a case" and attempting to find a case by party, I get stuck on a prompt asking me for a "case tracking ID." Actually, if I enter "123" for that prompt and hit "next" I'm directed back to the admin page. The tracking ID question follows a request for a court ID, which followed a prompt for a party name. FWIW, I looked for "john doe." I don't know if the questions following the name request were only showing up because the name didn't return a result or if they are required. If the latter, it seemed odd that a case tracking ID would be needed to find a case by party name.
When attempting to find a case by docket number and entering "00001" I was able to choose a court by ID (boone) and end with the following result (with no Next button):
Results

{"cause1": "org.apache.cxf.binding.soap.SoapFault: Unknown exception occurred.", "cause0": "javax.xml.ws.soap.SOAPFaultException: Unknown exception occurred.", "message": "javax.xml.ws.soap.SOAPFaultException: Unknown exception occurred.", "url": "/cases/courts/boone/cases/00001", "status": "500"}

When attempting to find a case by tracking ID and entering "123" I was presented with a question, "Is this the case you were trying to find?" with no cases listed.

Not a great UX but not sure how to triage this yet. Directly entering the case tracking ID feels like a reasonable placeholder, but we should keep this open to continue to improve it.
I'll add to MVP for now but we might deprioritize

I added a screen that tells someone there are no results in #94


[stable/prestashop] Update dependencies for prestashop

Signed-off-by: tompizmor<EMAIL_ADDRESS>
What this PR does / why we need it:
Update dependencies for the chart.
Which issue this PR fixes

fixes #

Special notes for your reviewer:
Checklist

[X] DCO signed
[X] Chart Version bumped
[X] Title of the PR starts with chart name (e.g. [stable/chart])

/retest


Add Helm Chart

We need to check if we can store the helm chart in the github package repository, otherwise there are official github actions to store it this repo.
We did it in https://github.com/maruina/go-infrabin/pull/58 and https://github.com/maruina/go-infrabin/pull/60


[Feature] Add Ambystoma mexicanum (axolotl) atlas

Paper: https://doi.org/10.1038/s41598-021-89357-3
Data: https://zenodo.org/records/4595016
Looks very well organised, so shouldn't be too tricky to package up.

Atlas now available and blog about to be published. Kudos to @saimaabdus19 and @dpshelio :clap: :tada:


Add init methods for Storyboard

Hi,
I want to embed Player in ContainerView of Storyboard!

Thanks! :rocket:


add support for date_spine

In this dbt slack thread, someone shared a dbt-utils-esque version of the date_spine macro.
We should bring this into this package. It might even also work for Synapse, I don't see any recursive  CTEs...
steps to implement macro

create a datetime folder inside of tsql-utils/macros/dbt_utils/
put the macro in a file called date_spine.sql to the newly created datetime folder
add a macro to the end of the file to make it also work for synapse{% macro synapse__date_spine(datepart, start_date, end_date) -%}
    {% do return( tsql_utils.sqlserver__date_spine(datepart, start_date, end_date)) %}
{%- endmacro %}

delete these lines
https://github.com/dbt-msft/tsql-utils/blob/c47616b07656085b6e92711182ac3a37f13e24f6/integration_tests/dbt_utils/dbt_project.yml#L34-L36

example macro
{% macro sqlserver__date_spine_sql(start_date, end_date, datepart) %}
with
l0 as (
    select c
    from (select 1 union all select 1) as d(c)
),
l1 as (
    select
        1 as c
    from l0 as a
    cross join l0 as b
),
l2 as (
    select 1 as c
    from l1 as a
    cross join l1 as b
),
l3 as (
    select 1 as c
    from l2 as a
    cross join l2 as b
),
l4 as (
    select 1 as c
    from l3 as a
    cross join l3 as b
),
l5 as (
    select 1 as c
    from l4 as a
    cross join l4 as b
),
nums as (
    select row_number() over (order by (select null)) as rownum
      from l5
),
rawdata as (
    select top ({{dbt_utils.datediff(start_date, end_date, datepart)}})  + rownum -1 as n
    from nums
    order by rownum
),
all_periods as (
    select (
        {{
            dbt_utils.dateadd(
                datepart,
                'n',
                start_date
            )
        }}
    ) as date_{{datepart}}
    from rawdata
),
filtered as (
    select *
    from all_periods
    where date_{{datepart}} <= {{ end_date }}
)
select * from filtered
{% endmacro %}
{% macro sqlserver__date_spine(start_date, end_date, datepart) -%}
    {% set date_spine_query %}
        {{sqlserver__date_spine_sql(start_date, end_date, datepart)}} order by 1
    {% endset %}
    {% set results = run_query(date_spine_query) %}
    {% if execute %}
    {% set results_list = results.columns[0].values() %}
    {% else %}
    {% set results_list = [] %}
    {% endif %}
    {%- for date_field in results_list %}
        select '{{ date_field }}' as date_{{datepart}} {{ 'union all ' if not loop.last else '' }}
    {% endfor -%}
{% endmacro %}

Yes please!
On Thu, 11 Feb 2021, 16:59 Anders<EMAIL_ADDRESS>wrote:

In this dbt slack thread
https://getdbt.slack.com/archives/CMRMDDQ9W/p1612885997028500, someone
shared a dbt-utils-esque version of the date_spine macro.
We should bring this into this package. It might even also work for
Synapse, I don't see any recursive CTEs...
{% macro sqlserver__date_spine_sql(start_date, end_date, datepart) %}
with
l0 as (
select c
from (select 1 union all select 1) as d(c)
),
l1 as (
select
1 as c
from l0 as a
cross join l0 as b
),
l2 as (
select 1 as c
from l1 as a
cross join l1 as b
),
l3 as (
select 1 as c
from l2 as a
cross join l2 as b
),
l4 as (
select 1 as c
from l3 as a
cross join l3 as b
),
l5 as (
select 1 as c
from l4 as a
cross join l4 as b
),
nums as (
select row_number() over (order by (select null)) as rownum
from l5
),
rawdata as (
select top ({{dbt_utils.datediff(start_date, end_date, datepart)}})  + rownum -1 as n
from nums
order by rownum
),
all_periods as (
select (
{{
dbt_utils.dateadd(
datepart,
'n',
start_date
)
}}
) as date_{{datepart}}
from rawdata
),
filtered as (
select *
from all_periods
where date_{{datepart}} <= {{ end_date }}
)select * from filtered
{% endmacro %}
{% macro sqlserver__date_spine(start_date, end_date, datepart) -%}
{% set date_spine_query %}
{{sqlserver__date_spine_sql(start_date, end_date, datepart)}} order by 1
{% endset %}
{% set results = run_query(date_spine_query) %}
{% if execute %}
{% set results_list = results.columns[0].values() %}
{% else %}
{% set results_list = [] %}
{% endif %}
{%- for date_field in results_list %}
select '{{ date_field }}' as date_{{datepart}} {{ 'union all ' if not loop.last else '' }}
{% endfor -%}
{% endmacro %}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dbt-msft/tsql-utils/issues/27, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACVRBJI2IEYQ5V5E56YNCZ3S6QEF5ANCNFSM4XPF2G6Q
.

closed by #28


Permission denied when using GPU in a container

Dear all develops,
I try to use Northstar on Jetson Nano with GPU, but it doesn't work.
I run strace in a container, and find the process can't get the permission to access device file in /dev.

I have built a kernel which can pass the test in check_conf.sh, and I can run the demo containers.
In the manifest.yml, I add "/dev: full" in the mounts section.
And I can see /dev in container with "ls -al /dev".

Can you help me think about the possible reasons?
Thanks.

Hello @yrjyrj123
Can you please post the manifest? Did you ensure that the uid/gid you configured has permission to access /dev/nvhost-ctrl-gpu?

I think I find the problem, it works now.
Thanks a lot.


Fix object_store lint

https://github.com/apache/arrow-rs/pull/2336 contained failing lints, but CI didn't pick them up because -- -D warnings wasn't passed to clippy.

Thank you


Webrender Blank Page

Hi, on windows 10 when i try to authorize a client i get a webrenderer blank window
and in che console i get
"[pywebview] MSHTML is deprecated. See https://pywebview.flowrl.com/guide/renderer.html#web-engine on details how to use Edge Chromium"
in the code i have tried (in function authorise_account ) to change the rendererer from mshtml to edgehtml or edgechromium
but i still get a blank page.
and if i try to use the external auth, i cannot paste the result url in the box....
can you help me?

This is a known issue in some Python configurations, and the proxy can't do much about it. Have you tried the suggestions listed in that section of the readme?

Sorry i missed that, now it works!!
Some additional information:
The os is Windows Server, and by default the browser (internet explorer) is in "Enhanced Security mode"
After starting the proxy with the debug mode option, on the webrenderer  window suddently i notices some javascript errors.
So i disabled the "Enhanced Security mode" and now i can see the content of the windows and successfully complete the browser authentication phase.
Thank you


changed contents->workspaceDirectoryContents and return type to Path

@ittaiz  https://github.com/bazelbuild/bazel-integration-testing/issues/52


Fixed Inability to uninstall ZZZ + Update to README.md for ZZZ

Main Goal

Fixes Collapse's inability to uninstall Zenless Zone Zero
Yeah, it is literally 1 line lmao but I'm bored so ¯\_(ツ)_/¯
Updates README.md for Zenless Zone Zero's features

Issue screenshot:

PR Status :

Overall Status: Done
Commits: Done
Synced to base (Collapse: main): Yes
Build status: OK
Crashing: Yes
Bug found caused by PR: #511

Templates

Changelog Prefixes
  mb what are these for?
  ```
    **[New]**
    **[Imp]**
    **[Fix]**
    **[Loc]**
    **[Doc]**
  ```

I could also update the README.md for ZZZ's capabilities in Collapse

I could also update the README.md for ZZZ's capabilities in Collapse

If you want to, go ahead!

@Cryotechnic done

Approved and merged! Thanks for the contribution~


Audit the hamburger menu and mobile nav

We've received a few pieces of feedback that the hamburger menu should be a button, in place of a div, in favour of better accessibility.
Steps:

Update the hamburger menu
Update the tutorial to match the new code

From our Feedback Fish triage, here are some things to check re: the Hamburger menu and mobile nav:

styling choices (use a <style> tag instead of global styles to show scoped styling for the component?
CSS display and expanded class
should this be a button?
verify all screen sizes for display:none
are we generally using best styling/responsive practices for the Hamburger component and mobile nav?

We did this!


Proof of concept support for slack incoming webhook

This is an attempt to address #278. My expectation is that this will be move to a plugin and enabled via settings.
Key points:

Only supports text and channel
Room ID is the channel, room slug is not supported
Does not support default channel, i.e. channel must be supplied
Does not support impersonation using username
Does not support attachments, message formatting, icon

Example:
POST http://localhost:5000/services/hooks/incoming-webhook
payload={"text":"Some text", "channel": "54e7ff8689fdc6d20c8b2d1b"}

Response:
{
ok: true
channel: "54e7ff8689fdc6d20c8b2d1b"
}

It appears I am wrong: the token is no longer a thing and the webhook url is dynamic:
https://hooks.slack.com/services/T03PFdfg40/B0dfgfdDE3J3/ERu6fw2dfgfdgthmKdybAvi7x2
Best I can think we do is put our API token into the URL, as well:
https://localhost:5000/services/hooks/incoming-webhook/{APITOKEN}
Of course this will not work with integrations that validate the URL against some expected format.

https://api.slack.com/methods/chat.postMessage would be a more straight-forward thing to do since the token is explicit and in the POST

I'm closing this PR. The integrations out there for slack incoming webhooks seem to hard code the server name, etc. If I were to write this again I would do it as a plugin and simply honour the slack message format - not try to respect the URL format.