Settings manager

Countries and layers are controlled by a JSON settings file which is stored in the application. It would be nice to have a view which allows super user to change this settings file and thus update content for a hosted application without the need to change the settings on the server itself.

This has now been implemented.
/settings allows admins to view and edit settings.
Still to do is a code view for copy and pasting json.

Admin Views to edit the workspace are now enabled.


Option to give same scale to graphs

From twitter:

Would it be possible to set a scale of each chart the same by default ?

What I think this would/could entail is to set the scale of all raw tun time charts to be the same, probably also the same for the box plots. To do this effectively, it'd be convenient if benchee provided some meta statistics aka what are the minimum/maximum over the whole sample set (or well minimum of minimums/maximum of maximums).
Probably best implemented as an option, setting it as the default might also cause problems if the different jobs are wildly differing in how fast/slow they are.
Also, maybe @fazibear has some input as to what exactly he wishes for.

I think I should be the default. Why ? Because, when we read graphs, we want to compare them. When the scales will be the same you can see exact differences. I've made a mistake because of scales. Though that graphs are different, but with the same scale are almost the same (peaks changed the scale). It would be nice to have a button that will trim scale to the data of specific graph. But overall scales should be the same.

Thanks for the input!
You use case and mine vary a bit (which is fine) - i mostly use the raw run time charts and the histograms just to get a feel for the individual benchmarking job and its characteristics aka is anything getting slower, are there obvious spikes that might have ruined the results, is it getting faster at some point (do I need more warmup?) etc. are questions I most commonly ask myself when I look at them.
Still true, in a presentation I compared two and it would have been way better if they used the same scale.


Add struct to configure Builder commit

I don't remember why ContainerCommitConfig was defined in daemon and used in builder
Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

LGTM

LGTM
I think @calavera was the one who created that so he should be able to let us know if there was a reason it might need to be in daemon and not builder.

I don't remember either. I'm okay with this change, but we should remove the struct from daemon.

@calavera you mean removing type ContainerCommitConfig struct entirely?

Oh, I see, I thought they were the same exact struct. Carry on, LGTM.


No #nullable annotation generated when using nullable references

This code
[OnInstantiate("private")]
private void Init(CardStateNode? initialState)
{
    StartingState = initialState;
}

Produces this error
Error CS8669 : The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable' directive in source.
As far as I know, all that is required is #nullable restore annotation at the start of the file, I can probably experiment with that later myself

Thanks xill.  I think you're right.  I'll do a fix and confirm :)

Ok.  [OnInstantiate] can now support nullability using the attached nuget (zipped).  Feel free to review/test for your use case.
The only other attribute that could have an outwardly facing annotated type is [Notify].  Haven't done that yet, but will do so soon.
GodotSharp.SourceGenerators.2.4.0-240624-1825.Release.nupkg.zip

Done for [Notify].  Added an Init method to assign a default value.  If all good, we can merge.
GodotSharp.SourceGenerators.2.4.0-240625-1312.Release.nupkg.zip

Thanks for such quick fix! I'll try to check it out todays evening

This version fixed everything for me, thanks


Questions of Circle-Map Repeats and Realignment

I am new to eccDNA identification .After reading the two articles of Circle-Map and tutorials, I have some questions of using Repeats subcommand : Why Repeats need not to extract discordant paired reads and split reads before calling circle DNA ? and how should I combine Repeats and Realign these two commands to eccDNA calling?
And finally,I find a words that circular DNA interval overlapping more than 50% will be merged iterablely in the article on Nucleic acid Research,how this process is implimented? Is there a software to do this? Sorry for so much questions,Looking forward for your replay!
Best wishes

Dear @Bio-MingChen,
Thanks a lot for your interest in our work. And do not be sorry for asking the questions. I am glad to help, If I am able to.
Regarding the Circle-Map Repeats algorithm:
Many circular DNA are formed by the homologous recombination machinery from direct repeats of the genome. This circles are very hard to detect as the reads from the breakpoint align to too many genomic regions. Hence, split reads and discordant reads are not a good signal to detect them, as they fail to align well. Instead, we can take advantage of the fact that reads formed from repetitive circular DNA will align to too many places. Reads with multiple alignments will allow us to approximate the boundaries of the breakpoints. Then, we can use read coverage within the circle coordinates as  a hard filter to get a robust set of repetitive DNA calls.
Regarding:

how should I combine Repeats and Realign these two commands to eccDNA calling?

You can just concatenate the files. They might be a bit redundant, but based on my experience they are not.
Regarding:

I find a words that circular DNA interval overlapping more than 50% will be merged iterablely in the article on Nucleic acid Research,how this process is implimented?

I do not think that you need to worry about this. The data on our NAR paper was analyzed with an old version of Circle-Map that tend to overcall circles on high coverage regions, that would more likely be explained by a single circular DNA. On the paper, we handled this issue by merging the intervals. However, in our BMC Bioinformatics paper (https://bmcbioinformatics.biomedcentral.com/articles/10.1186/s12859-019-3160-3), Circle-Map implements allele frequency filters to handle this issue. In any case, If you think that this is a problem in your data, and that you will benefit from applying this merging filter, drop me a mail. I will be happy to share a piece of code that will merge circles.
Best wishes and happy circle hunting,
Iñigo


Fix the constructor so that it can accept an array of strings

This is needed to align with the spec/WebIDL.
See
https://www.w3.org/TR/websockets/#handler-websocket-onmessage

Created internal issue http://b/128033107

Running internal tests now.

Thanks


New sample using Graph database

I presented an OPEA workshop at a private event this morning. There was a request to use a Graph database backend for business context information. This issue is capturing the request to create a new sample using a Graph database.

I am contemplating replacing the backend of graphrag, I did submit a ticket to get the Gaudi text embedding interface working, but I have yet to get feedback from TSC about the design patterns.

will implemente GraphRAG in v1.0

@kevinintel do you have any updates on this?

We have an initial version: https://github.com/opea-project/GenAIComps/pull/682

https://github.com/opea-project/GenAIExamples/pull/1007
https://github.com/opea-project/GenAIComps/pull/793
these two PR will enable this feature

@XuhuiRen where can I find the docs to try this functionality?


Mention

How bot can mention command sender? Example: !ping Bot: @(username) pong!

Using message.reply('pong!'); or simply concatenating the user object to the string, like message.channel.sendMessage(`${message.author} pong!`);

In the future, please use the official Discord server for questions like these.


Fixed Starting and Stopping Records/Streams by checking for explict update-type.

PR for #12
Also removed unneeded lines from _on_record_pressed()
Previously, the if condition wasn't being met and an inexplicit else was resetting is_recording back to false.
I decided to use match to read obs_data and only change states when needed.
I also removed some lines in _on_record_pressed as they won't be needed since _on_obs_updated updates the state and text anyway.
It would probably be best to change the SceneItemVisibilityChanged and TransitionEnd to a match as well, but I am not currently switching scenes in my project so I haven't tested those yet.

Thanks for the PR!


ssl: moving openssl context manager to contrib

Risk Level: low
Testing: updated tests
Docs Changes: n/a
Release Notes: n/a
https://github.com/envoyproxy/envoy-mobile/issues/176

/retest

/retest

force pushing reverting the main merge as the PR was rolled back


Replace the reconciliation service with MEHDIE-ER service for some options

Using this service: https://gitlab.com/m8417/mehdie-er-service and Google Tasks, replace the current reconciliation service for options 3 and 4 (those that match with other datasets) in #6.
When the user chooses option three or four in the reconciliation screen and presses "Add task":

[x] Open an asynchronous task on cloud tasks:  https://cloud.google.com/run/docs/triggering/using-tasks for the mehdie-er service: https://mehdi-er-snlwejaxvq-ez.a.run.app
[x] The service expects these fields in both datasets: id, title, description, variants, hierarchy. The last three are optional.  Present a pop-up notifying the user if some of the fields are missing. Specify which fields are missing from which dataset. Use this text: "The dataset matching service expects the dataset to contain several fields. { dataset name } is missing the fields { field1, field2 ...}. If possible, we will proceed with the given fields."
[x] The service returns these fields: id_1, id_1, title_1, title_2, relation, confidence, explanation as a CSV file. Load them and present them to the user on a new screen (TBD)

Something broken. After this is pressed:

This happens:

New error type:

Strange behavior here:

These should be mutually exclusive. You can't select both. Selecting one should blank the other.

Only this problem with the fact you can match three datasets remaining


Add/enable basic auth security provider

libs are in place.  Just decide where user/pass will be stored and connect it up

initial code was added, but needs to be expanded for proper provider typing


Added OSDC conference

Details of the conference:

Website:
Date:
Venue:
Description:

Closing because the conference doesn't have a CoC.


Add search by genre - MovieGenreViewModel does not exist

When I Update Index.cshtml in Views/Movies/ in order to add search by genre to the index view, i get an error on the first line, @model MvcMovie.Models.MovieGenreViewModel:
CS0234: The type or namespace name 'MovieGenreViewModel' does not exist in the namespace 'MvcMovie.Models'.
I'm pretty sure I have not skip steps.
Vs 2022, .NET 6.0

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

ID: f9b9859c-b83c-5fc3-41d5-15531232185f
Version Independent ID: 5438de31-8562-3747-d1a5-2a4622252fc1
Content: Part 7, add search to an ASP.NET Core MVC app
Content Source: aspnetcore/tutorials/first-mvc-app/search.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Hi @BOBOfra. You create the MovieGenreViewModel as the first step in the Add Search by genre section. Did you complete that step? If you did, check for typos in the namespace or class declarations.

Thank you, i've skipped that step...


Delegate-Methods are not called after taking new photo

It seems the photo picker looses connection to its delegates when a new photo is taken.
The new picture is highlighted in the camera roll but the selectedCameraCell(picker: TLPhotosPickerViewController) nor the deselectedPhoto(picker: TLPhotosPickerViewController, at: Int) method never fire, not even when selecting additional images.
When confirming the image-selection now none of the expected methods dismissPhotoPicker(withPHAssets: [PHAsset]) or dismissPhotoPicker(withTLPHAssets: [TLPHAsset]) fire and the picker dismisses too far.
(dismissing  the presented view presenting the picker, throwing the user out of a menu)
Reproduction-Steps:

present a TLPhotosPickerViewController
Tap Camera-Icon
Take a picture and use it

This issue was seen on a physical iPhone 6 with iOS 11.3 and TLPhotoPicker 1.6.8 through CocoaPods.

@AWeleczka
I think it should work now. I've pushed a fix for this.
1.6.9 Release
Bug Fix : selectedCameraCell when use custom camera cell.
And the 'TLPhotopicker' call log delegate method selectedPhoto when photo use it.

@tilltue I just upgraded to 1.6.9 and don't see any change.
I checked to make sure the changes are in the pods in the project after updating, cleaned, build and reinstalled the app on the device with the same outcome as before.
After the camera has been used the delegate-methods selectedPhoto(picker: TLPhotosPickerViewController, at: Int) deselectedPhoto(picker: TLPhotosPickerViewController, at: Int) and dismissPhotoPicker(withPHAssets: [PHAsset]) (these are the ones I use) don't fire. selectedCameraCell(picker: TLPhotosPickerViewController) does fire when tapping the camera-cell (as it did previously already).
I looked a bit deeper into the issue on my end and found out that tlpicker.modalPresentationStyle = .overCurrentContext is the reason for the delegate-methods not firing - yet without the presentation style the picker always shows the unwanted navigation-behavior of dismissing the entire view below it.
Navigation-structure is
Base --PushToNavigationStack--> CreateView --Present--> TLPhotoPicker

@AWeleczka
It's working.
Testing Example
https://github.com/tilltue/TLPhotoPicker/tree/master/Example
line30 :  viewController.modalPresentationStyle = .overCurrentContext
viewController.logDelegate = self
TLPhotosPickerLogDelegate
--- Log
selectedCameraCell
selectedPhoto
selectedCameraCell
deselectedPhoto
selectedCameraCell


Could you add an example covering a more complex setup? (webpack template)

The documentation explains how to setup a "one file" app, but what happens when we're using for example the webpack-template? (I know that there's a decision to keep the template simple)
Could we have a more detailed example, especially using .Vue templates and 1-2 components/pages?

Could you explain a bit what you are missing?
To me (and I may be blind to this as I'm too close), the only thing different when using this in e.g. the webpack template, is that you can put the components in their own modules and import them (as well as the routes object, if you want to). The rest can just stay the same as in the examples in main.js.
But I don't think it i is (nor should be) the router doc's job to teach people about import & export.
Or am I missing something? What would help you to fell more secure in what you are trying to achieve?

You're of course partly right. In the end I did manage to integrate vue-router to my setup, and yes it's a matter of "imports/exports" as you said. But I feel there could be, alongside with the simple example, one a bit more advanced showing what the proper architecture could be for app with a couple more available components.
Just feel there's a gap in the documentation there, it could even just be a link towards /examples/ of the repo, and not a full inline code block.

Vue doesn't (and will probably never) force you to use a specific architecture. You should use what you and your team are more comfortable with.
I think this is what you're looking for: https://github.com/vuejs/vue-hackernews-2.0
In that example, components are in a component folder. You can then create subfolders relating to the business logic.
For instance, you could do it differently:
Posts /
  > views/
    > MyPosts.vue
  > components/
    > Post.vue
    > Comment.vue
Profile/
  > views/
    MyProfile.vue
    PublicProfile.vue
  > components/
    Profile.vue

Thanks.


split docs into separate md files

we'll eventually need to build a full blown docs site. until then, split the sections into separate md files that all link from README.md so that we can add more detail and pictures.
i recently posted a thread on twitter asking for honest feedback on tokenami and it became obvious there are gaping holes in the information the docs currently provide.

i have someone working on a docs site design atm so this isn't needed anymore


Enhance class loading performance for GenerateApplicationProperties task

The task GenerateApplicationProperties depends on Gradle's default jar task. (see: io/github/propactive/plugin/Propactive.kt:51). However this has the potential to trigger lots of other tasks jar is dependant on. Therefore, we should introduce the option for the user to input their own task that will be responsible for generating the complied class output. This can be useful for large projects for when the build task can take a long time complete.
Requirements:

Extend the Configuration extension to allow the user to input their own complieDependency task.

Keep the jar task as the default task to depend on when compiling relevant Propactive classes. (i.e. complieDependency default value to be jar)

Considerations should be given within the GenerateApplicationProperties task to how it will collect the required class output form the user defined class. (i.e. io/github/propactive/task/GenerateApplicationProperties.kt:49 will need to be changed)

Do note that #45 has created the configuration key needed to deliver this, and will be named 'implementationClassCompileDependency', see:
/**
 * Propactive configurations.
 *
 * @param environments Comma separated list of environments to generate the properties (i.e. test,stage,prod)
 * @param implementationClass Sets the location of your properties object (i.e. com.package.path.to.your.ApplicationProperties)
 * @param destination Sets the location of your generated properties file within the build directory.
 * @param filenameOverride Allows overriding given filename for an environment. (This should only be used when generating application properties for a singular environment)
 * @param implementationClassCompileDependency The task Propactive will depend on to load/compile your implementation class.
 */
open class Configuration(
    @get:Input var environments: String = DEFAULT_ENVIRONMENTS,
    @get:Input var implementationClass: String = DEFAULT_IMPLEMENTATION_CLASS,
    @get:Input var destination: String = DEFAULT_BUILD_DESTINATION,
    @get:Input var filenameOverride: String = DEFAULT_FILENAME_OVERRIDE,
    @get:Input var implementationClassCompileDependency: String = DEFAULT_IMPLEMENTATION_CLASS_COMPILE_DEPENDENCY,
) {
    companion object {
        internal const val DEFAULT_ENVIRONMENTS = "*"
        internal const val DEFAULT_IMPLEMENTATION_CLASS = "ApplicationProperties"
        internal const val DEFAULT_BUILD_DESTINATION = "properties"
        // NOTE: Gradle plugin extension values cannot be null if you want to register them as property values
        internal const val DEFAULT_FILENAME_OVERRIDE = ""
        internal const val DEFAULT_IMPLEMENTATION_CLASS_COMPILE_DEPENDENCY = "jar"
    }
}


Proposal for Chaincode Analyzer

Short Description
A static tool to check and detect potentially risky codes in smart contracts (a.k.a, chaincodes).
Signed-off-by: kzhry<EMAIL_ADDRESS>

Looks like the commit did not have DCO. Can you fix that?

Hi Tracy,
Thank you for your suggestion.
I fixed the commit and the PR comment for consistency.

LGTM with the one change noted above.
@hartm can you confirm sponsorship?

Confirmed.  Thanks Tracy!

Hi @tkuhrt, @trbs, @vipinsun and @lehors,
I'm just wondering that the reason of the pending status.
If there is any problem that I should work on (solving the DCO problem above?), could you please let me know?
Thanks,
kzhry

@tkuhrt could it be the DCO bot is stuck ?


Output label by tostring for texture & pass

I think it might be better to use the initial label when LovrPassCreate, which is simpler.

Thanks!


Check Access handler

Hi @mikeowens,
This PR adds a new config directive, RubyAccessHandler.  This is a handler that is completely independent (and optional) of the RubyHandler.  It implements the ap_hook_check_access_ex which for the most part, doesn't interfere with normal operation.  Whatever authentication/authorization method is used in the RubyAccessHandler can interrupt the request before the RubyHandler (or other handlers!) run.  The error or access denied response can be an HTTP 401, 302 redirection, or a plain error message.
For a quick drive-by usage, here's how to see it in action:
$ ./script/docker_build && ./script/docker_run

$ curl -i http://localhost:8080
HTTP/1.1 200 OK
Date: Fri, 01 Mar 2019 20:23:28 GMT
Server: Apache/2.4.6 (CentOS)
Content-Length: 39
Content-Type: text/html; charset=UTF-8

Ruby check_access()
Hi there from ruby

$ curl -i http://localhost:8080/cgi-bin/test.cgi
HTTP/1.1 200 OK
Date: Fri, 01 Mar 2019 20:10:44 GMT
Server: Apache/2.4.6 (CentOS)
Transfer-Encoding: chunked
Content-Type: text/plain; charset=UTF-8

--- test.cgi ---
REMOTE_USER: my_username

If you merge this PR, I'll also be willing to write up the documentation in your other repo too!

All of this looks fine with me except for the return values for the Ruby handlers, which need to stay as OK.
If you want to send your documentation for this addition as text or markdown, I will merge it into the DocBook source and update the online docs. I haven't bothered to put the DocBook XML on github yet as I didn't see anybody really wanting to bother with it.

FYI I just added the DocBook XML sources to the project. If you are comfortable with editing DocBook XML you can add your new features directly.

  I'm going to start a fresh PR.


Switching most of() methods back to create()

Codecov Report

Merging #400 into gax-httpjson2 will increase coverage by 0.28%.
The diff coverage is 65.38%.

@@                 Coverage Diff                 @@
##             gax-httpjson2     #400      +/-   ##
===================================================
+ Coverage            70.59%   70.87%   +0.28%
- Complexity             622      623       +1
===================================================
  Files                  134      134
  Lines                 2870     2860      -10
  Branches               215      215
===================================================
+ Hits                  2026     2027       +1
+ Misses                 767      756      -11
  Partials                77       77

Impacted Files
Coverage Δ
Complexity Δ

...com/google/api/gax/core/FixedExecutorProvider.java
66.66% <ø> (+9.52%)
2 <0> (ø)
:arrow_down:

...m/google/api/gax/rpc/TranslatingUnaryCallable.java
100% <ø> (ø)
3 <0> (ø)
:arrow_down:

...java/com/google/api/gax/grpc/GrpcCallSettings.java
70% <ø> (ø)
5 <0> (ø)
:arrow_down:

...gle/api/gax/rpc/FixedTransportChannelProvider.java
100% <ø> (ø)
9 <0> (ø)
:arrow_down:

...m/google/api/gax/httpjson/HttpJsonCallContext.java
31.48% <ø> (ø)
8 <0> (ø)
:arrow_down:

.../google/api/gax/httpjson/HttpJsonCallSettings.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

.../java/com/google/longrunning/OperationsClient.java
65.11% <ø> (+2.89%)
16 <0> (ø)
:arrow_down:

...oogle/api/gax/grpc/ProtoOperationTransformers.java
90.9% <ø> (ø)
0 <0> (ø)
:arrow_down:

...om/google/api/gax/batching/BatchingThresholds.java
80% <ø> (ø)
1 <0> (ø)
:arrow_down:

.../google/api/gax/core/FixedCredentialsProvider.java
100% <ø> (+33.33%)
2 <0> (ø)
:arrow_down:

... and 24 more

Continue to review full report at Codecov.

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


rest.Get Undefined?

I'm sure this is a rookie Go user error, but whenever I try the examples I get:
/main.go:24: undefined: rest.Get
Or some other error with 'rest. ' undefined.  I can't see where 'rest' is initialised or imported. I'm sure I'm just missing something basic.
Thanks in advance,
J

Just call go get -u github.com/ant0ine/go-json-rest/... and try again


User created account with the same email and the old edx account got re-activated?

While investigating Sentry errors, I ran into this user who was retired in Oct.2022, but the created a new account with the same email in Sept 2023.
Now it looks like the new account they created on MITxOnline is now associated with the old edx account. I guess it got reactevated.
There is one active enrollment:
https://courses.mitxonline.mit.edu/admin/student/courseenrollment/?q=mdelrioar

Oops. Back in October 2022 we didn't have the protections in place to prevent people from registering again. Reading the ZenDesk ticket, it was a mixed request. Delete my account, but I might come back. I guess they did come back.
I don't really see any harm in them associating with the old account at this time. Call it a mistake with a happy outcome?


feat: adding ability to change map in runtime

This PR is a proposal to allow a LeapGame to change its map in runtime.
It is a non breaking change and it not only allow the map to be changed, but that is has a transition between the maps.
I am opening this as a draft for now because I would love some feedback on the API and on the name of the methods, etc. Once we agree on a solution, I can write docs, test and even an example.
One thing to consider. We could choose to not go with this approach and push users to do map transition via flutter navigation it self.
But I see a few benefits on Leap providing an out of the box, internal solution:

Relying on flutter to do the transitions is a very powerful tool, but at the same time, not a very straighforward one, having an API in Leap for that will better allow users to realize how to do map transitions.
It can make it easier to do assets caching and control since the map will be loaded in the same game instance, the developer can manage the loaded assets in a single place.
Allows us to take advantage of Flame's effects API to make cool transitions.

Nice, at some point we should make it more obvious in the example game how to get to the second level for people testing it out (maybe a coin countdown?), but this looks great for now

Indeed! That would be pretty cool!


IS there any chance you can provide some Chinese sources？

sorry for disturbing you

sorry for disturbing you

You can suggest some chinese sources and i will consider them

Great！here it is
normal manga：
https://www.acgqd.com/
https://www.baozimh.com/
http://www.vomicmh.com/
hentai：
https://www.wnacg.com/
https://18comic.vip/
https://toptoonfree.com/
All accessible under vietnam Internet environment（tested in vpn）


adapt some packages

Some updates, so transformato and the CI workflow works again with the latest packages:

update simulation.minimize to work with openmm=8.1 in the CI workflow
use the new syntax of pymbar=4.0 (i.e. m.compute_free_energy_differences)
remove the dependency in the CI github file

Codecov Report

Merging #117 (5182e93) into master (77d5f0f) will increase coverage by 0.04%.
The diff coverage is 0.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files


JSON error

I have this error, my website it's behind cloudflare
https://i.ibb.co/rtZdsfK/image.png

Having the same issue

j'ai la même
may smbdy help us?

I think the error must be from the same source as #2

I think the error must be from the same source as #2


ocamlPackages.pprint: 20171003 -> 20200410

ocamlPackages.pprint: 20171003 -> 20200410

@GrahamcOfBorg build ocamlPackages.crowbar

The fix looks worse than the problem, IMO.

What’s the purpose of this PR in the first place?

What’s the purpose of this PR in the first place?

When I first started upgrading libraries. I didn't have the goal of updating Esy only. I was expecting to use Nix only (no Esy, no opam, no npm). As I understood the limitations of this approach I have pivot to using Esy.
So if Esy doesn't have it as a dependency, other project had this as a dependency or a dependency of dependency. As of late I have prioritized Esy dependencies only. And refrained from new unnecessary package upgrades.
Esy is still failing to build. And syncing dependencies is a way of making it's porting easier. At least I will know it is not a version problem.
My decision on upstreaming each dependency in isolation was to gather feedback early and provide some value back to the community. But I could only realize the drawbacks of it as of late. Like I could not properly test things for lack of integration. propagatedBuildInputs being one. (I know you said to use ocamlfind but I'm missing something.)
Regarding this package, pprint, I understand the check is failing and should be fixed upstream. I could do it. Or we could ignore this for now. Either way, you can ignore it for now.


experimental: Fix detection logic

The information from the deploy info only has to be taken into consideration when running in kubectl-gadget. When running ig, only the env variable is relevant.
This was causing an issue of enabling experimental features in ig when running on the same host where kubectl gadget deploy --experimental was used before.
$ ./kubectl-gadget deploy --experimental

$ cat $HOME/.ig/info.json  | jq '.Experimental'
true

 # IG_EXPERIMENTAL is not defined
$ sudo -E echo $IG_EXPERIMENTAL

Before this commit:
 # experimental features are wrongly enabled
$ sudo -E ./ig trace exec
INFO[0000] Experimental features enabled
...

After this commit:
 # not experimental features enabled by ig
$ sudo -E ./ig trace exec
RUNTIME.CONTAINERNAME                    RUNTIME.CONTAINERIMA… PID
PPID       COMM             RET ARGS

 # but can be enabled with IG_EXPERIMENTAL=true
$ sudo -E IG_EXPERIMENTAL=true ./ig trace exec
INFO[0000] Experimental features enabled
...

@flyth the description of the env package says "Package environment is a temporary workaround", I know I'm somehow abusing it for this purpose, but I didn't find other solutions. What do you think about it?

@eiffel-fl please let me know if you're able to test it, otherwise I'll merge it.

# With this contribution
$ rm ~/.ig/info.json
$ ./kubectl-gadget deploy --experimental --image-pull-policy=Never
...
Inspektor Gadget successfully deployed
$ cat $HOME/.ig/info.json  | jq '.Experimental'
cat: /home/francis/.ig/info.json: Aucun fichier ou dossier de ce type

This is weird, the info.json file should be created by the deploy command. I tried here and it works as expected. Could you check this up?

$ rm $HOME/.ig/info.json
$ ./kubectl-gadget trace exec

We don't expect the user to remove the info file after deploying Inspektor Gadget. Then, I think it's fine not to print that message.


feat: Adding eks:DescribeCluster permission required by Karpenter v0.25.0

Karpenter v0.25.0 is capable of detecting the EKS endpoint automatically but it requires the eks:DescribeCluster IAM permission.
https://karpenter.sh/v0.25.0/upgrade-guide/#upgrading-to-v0250
Plan output with an existing Karpenter IAM role:
Terraform will perform the following actions:

  # aws_iam_policy.karpenter_controller[0] will be updated in-place
  ~ resource "aws_iam_policy" "karpenter_controller" {
        id          = "arn:aws:iam::XXXXXXXXXXX:policy/AmazonEKS_Karpenter_Controller_Policy-XXXXXXXXXXX"
        name        = "AmazonEKS_Karpenter_Controller_Policy-XXXXXXXXXXX"
      ~ policy      = jsonencode(
          ~ {
              ~ Statement = [
                  + {
                      + Action   = "eks:DescribeCluster"
                      + Effect   = "Allow"
                      + Resource = "arn:aws:eks:eu-central-1:XXXXXXXXXXX:cluster/my-cluster"
                      + Sid      = ""
                    },
                    {
                        Action   = [
                            "pricing:GetProducts",
                            "ec2:DescribeSubnets",
                            "ec2:DescribeSpotPriceHistory",
                            "ec2:DescribeSecurityGroups",
                            "ec2:DescribeLaunchTemplates",
                            "ec2:DescribeInstances",
                            "ec2:DescribeInstanceTypes",
                            "ec2:DescribeInstanceTypeOfferings",
                            "ec2:DescribeImages",
                            "ec2:DescribeAvailabilityZones",
                            "ec2:CreateTags",
                            "ec2:CreateLaunchTemplate",
                            "ec2:CreateFleet",
                        ]
                        Effect   = "Allow"
                        Resource = "*"
                        Sid      = ""
                    },
                    # (6 unchanged elements hidden)
                ]
                # (1 unchanged element hidden)
            }
        )
        tags        = {}
        # (6 unchanged attributes hidden)
    }

This issue has been resolved in version 5.12.0 :tada:


Header is shifting to right on clicking About page

https://user-images.githubusercontent.com/106697681/182906871-4c66a149-cfa2-40bb-91af-01f4b0bb28ec.mp4
Any help will be appreciated🙏

It may be related to ProjectCard and PostCard.

Automatically fixed 🤷♂


Update primary color and styles

Fixes #1549.
Changes:

[x] Change primary color to: #2088ff

[x] Create secondary color : #79b8ff

[x] Use secondary color on buttons follow instead of the primary color

[x] Change topic style to: color: #777676; background-color: #e9e7e7; and remove borders

Also remove all unused colors and update colors throughout site to use secondary variable

@pareshUD we need a new image without the purple for the Hero can you work this out?

Can you use the secondary color for the hero background @jm90m ?

@bonustrack On it I will update that in a while

Illustration is going on left when the page is loading and then get in place.

Can we make the illustration bit bigger if possible?

We need to change the color of last illustration (Steem coin should have same color for all lines)

Remove circles from all illustrations.

@pareshUD We have some issue making the slider working well when loading. Can we have a proposal with the 3 illustrations at once? (without the slides)

@bonustrack  Check this out

Check this @f

Can you make a proposal for mobile view @pareshUD ?

The integration is not exactly like what @pareshUD did

[ ] The bullet number text should be bold
[ ] Bullet circle should be smaller
[ ] Space between bullet and title should be bigger
[ ] Illustration should be smaller and centered
[ ] Background should be same before (without cover and resizing)

Don't work on the slider yet, we are waiting for @pareshUD proposal for mobile

Can you move illustrations and title to 2 lines. First line (1 in image) with the number of the step and the title, same style than on desktop.
2: Illustration centered on new line
3: Slider buttons

Make sure the spacing in top and bottom are same size and at least 20px

Can you resolve conflicts @jm90m ?

@Sekhmet can you review this PR?

I think I fixed the issue with centering slider on mobile, so you might want to take a second look at it to make sure it works properly.

There is an issue with scrollbar, the space with green line is hidden under scrollbar. Right part of the image not appear because of this and there is not space between reward and right side.

@bonustrack can you show me this? I can't reproduce


Change the evaluation metrics to miou

Currently there are very few occupancy networks based on sparse frameworks, thank you for your work, which has inspired me to be able to build on it to be able to continue with new ideas in my research.
I tried to change the evaluation metrics to miou to be able to easily compare the performance with other models, but I noticed that running 'python old_metrics.py' needs to save the predictions in npz format. What needs to be changed in the code to be able to use miou when executing val.py?
Can you help me in this matter?

You can rewrite the  evaluate method of nuscenes_occ_dataset.py to use Metric_mIoU instead of main_rayiou; Or you can simply add the following code after getting the sem_pred with shape [200x200x16] in the evaluate method, saving predictions when executing val.py.

I will try it. Thanks for your quick reply!

This is very excellent work, proposing a method with high real-time performance and innovative evaluation metrics! Regarding this issue, I tried to add the code you mentioned, but it seems that in the nuscenes_occ_dataset.py file, within the evaluate method, the shape of sem_pred is (B,N),which prints out as (1,32000). Do I need to perform any additional operations to get the shape [200x200x16]?


[Core] Improve aiohttp ImportError catching

Currently in Core we catch an ImportError if aiohttp is not installed and suppress it.
This led to one situation where a more complicated error was hidden - so we should probably be a bit more clever about checking the error that we're suppressing to make sure it is what we think it is.
https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/core/azure-core/azure/core/pipeline/transport/__init__.py#L66
This could be simply doing a string comparison on the error message.

Checked with Anna offline. Close it as by design.


Clarify on usage of pdf version

This adds little description for usage of provided pdf version. #14

Looks fine. :+1:


Need an absolute path for sw.js

Can I get the plugin to always look for sw.js at the root path localhost/sw.js?
Using the default webpack dev server setup and frontend routing, if I navigate to localhost/imaroute in my browser, then this plugin will look for sw.js at localhost/imaroute/sw.js.  However, it needs to always be looking at localhost/sw.js in this case.  How can I achieve that?
Messing with the ServiceWorker publicPath and output options seems to not be able to do this.

Yeah, you cannot do this right now in v3. I added it into v4 and it's called ServiceWorker.publicLocation and AppCache.publicLocation, but probably will be renamed to ServiceWorker.publicPath/AppCache.publicPath.
Here are instructions on how to get started with v4: https://github.com/NekR/offline-plugin/pull/109

Even this issue closed, any feedback is welcome. It's closed because problem with changing path is already solved.

Thanks for the help!  Installing v4 and using publicLocation: '/' solved it for me.

@justinmc great! You probably may need to duplicated it with publicPath so it won't break your app when I update the names (since it's still in beta I won't bump major version for that change).
Also, did you really set it to publicLocation: '/'? I mean, it supposed to be publicLocation: '/sw.js' for Service Worker. Weird what that works for you..

You're right, not sure why I was seeing it working...  Restarting the server and trying again it worked using:
    publicLocation: '/sw.js',
    publicPath: '/',

I mean that it should be this for now:
    publicLocation: '/sw.js',
    publicPath: '/sw.js',

Since it's the same prop and I'm just going to rename it.

Hello,
I was having the same issue, different routes if loaded are not able to find sw.js.
Do I still need to add publicLocation?

@harshmaur I think adding publicPath either to webpack's configuration or to offline-plugin's configuration should be enough.

@NekR My webpack config already had publicPath set to '/' however offline-plugin was always taking incorrect path based on the route.
So I added publicPath to offline-plugin as well and it seems to work fine now!
Thanks!

@harshmaur hmm.. weird, offline-plugin had to take publicPath from your webpack's config. What are you using v4 of offline-plugin? Also maybe you had relativePaths option set to true?

Yes I am using v4 and I dont have relativePaths set to true.

@harshmaur okay, that's just weird then. It would be good if you could share your webpack configuration so I could debug it and check what went wrong (you can send it to my email if you don't want to share it here).


Problem with Codelab 111

Currently when you run the starter project which you download at the beginning of the codelab you get a result with broken layout.
Assume that it's a download that is out of sync. It would be good to have the downloads for the code lab in one location which can be kept up to date
https://codelabs.developers.google.com/codelabs/mdc-111-web/#3
Error Message

Uncaught Error: MDCSelect: Missing required element: The following selector must be present: '.mdc-select__selected-text'

I run into the same issue.
The problem is : <select class="mdc-select__native-control" id="crane-state-input" required>
That class is not found.
I changed it to <select class="mdc-select__selected-text" id="crane-state-input" required>
I turned out to be better - but I'm not really sure if this is correct to do it.


we can return value from void function

We do not have to return a value from void typed function but we can.
//Example 1----------------------
type func = ()=>void;
let f1: func;
f1=function(){
  return 'TypeScript';
}

//Example 2---------------------
abstract class Base{
    abstract sayHello(): void;
}

class Child extends Base{
    sayHello() {
        return 123;
    }
}

Fixes #

We're not updating the spec anymore. And void is for functions whose callers will do nothing with the value, even if one is returned.


[SPARK-37920][BUILD] Remove tab character and trailing space in pom.xml

Why are the changes needed?
There are some tabs in pom.xml, which don't seem to be standardized. This pr tries to modify this problem.
Does this PR introduce any user-facing change?
No
How was this patch tested?
origin tests

Hi, @stczwd . Could you be more specific in the PR title? You can say Remove tab character and trailing space in pom.xml.
Change ... problem doesn't sound like fixing a problem.

Thanks for your reply @dongjoon-hyun , I have changed the title.


Videos Keep Playing In Background

Seen in user SincerePuffins' video at roughly 4:30 (and a few other places that I did not note) - users sometimes watch a video and navigate away from the video, only to have the audio continue to play.

@robvsmith - haven't watched all the videos - but did they navigate to another page in the app, or to another app? If background media playback is enabled, the video will keep playing if minimized.

Just watched it - that one happened when the video seemed to time out after the user went into the search. So it said it failed but actually downloaded? Not sure. He did have other downloads going in the background....

Probably the same as https://github.com/lbryio/lbry-android/issues/352

closing for #352


watch '$route.query' is triggering when click in some link fragment/anchor like test

Version
3.0.1
Reproduction link
https://jsfiddle.net/willjosefi/4shd27gm/9/
Steps to reproduce
Just click in the links and check console or the "logs"
What is expected?
Not trigger
What is actually happening?
Triggering when click in some link anchor/fragment that links to the current page

We create copies of the query object, that's why it triggers again. Reusing the same query object may be a problem. I will need to check further. A more complete repro for myself: https://jsfiddle.net/posva/4shd27gm/17/

Ideally, one would watch the actual query key they need directly or watch muliple ones by passing a function as the first argument to $watch

This is inherent to how watchers work and is a won't fix.
We can prevent multiple watchers by watching the properties we require like $route.query.q


Update jtcop-maven-plugin up to 0.1.11 version

Update jtcop-maven-plugin up to 0.1.11 version

@rultor merge

@rultor merge

@volodya-lombrozo OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@volodya-lombrozo Done! FYI, the full log is here (took me 3min)


Dotty #4013

This version of Dotty fixes several unsoundness issues and remove the unsound protected[this] escape hatch for variance checking. See lampepfl/dotty#4013
@julienrf You might want to play with this branch and make it compile with Dotty

Superseded by #519.


POC: A dynamic memory allocator for BTreeMap

This PR introduces a dynamic memory allocator implementation, which will be used in the BTreeMap to allow for unbounded types. The allocator uses a two-level segregated free list to manage allocations, which is described in this paper by Masmano et al.
The implementation is functionally complete, but there are a few missing pieces:

Logic for upgrading from the BTreeMap's current constant-size allocator.
More testing, better documentation, and some minor cleanups.

tlsf.rs
tlsf/blocks.rs
tlfs/free_lists.rs

This PR will be broken down into smaller bite-sized PRs.
While this allocator will initially only be used by BTreeMap, it is designed to be general-purpose and can be used by other structures in the future.

Closing this PR as it's already being broken up into smaller PRs (see #94, #114, and more on the way).

Closing this PR as we ended up using a different approach for BTreeMap that relies on fixed-size pages. The reason we opted for the latter solution rather than a dynamic memory allocator is that it's safer. A dynamic memory allocator may be more efficient, but depending on the usage pattern the amount of external fragmentation is unbounded.
We many potentially revisit this idea in the future though.


feat(unistd): Add getpeereid(3)

getpeereid(3) is not POSIX, but it's present on many BSD-derived Unices. It's also the standard mechanism on those OSes for retrieving socket peer credentials (compare getsockopt + SO_PEERCRED on Linux, which nix already supports).
Closes #1339.

N.B. I added this to nix::unistd since it's exposed via unistd.h in libbsd, FreeBSD, and on macOS.
OpenBSD exposes it in socket.h, but it seems to be the only one to do so.

I noticed that my editor cleaned up some trailing whitespace in the files that I modified. Let me know if you want me to prune those changes from this PR.

You should also add target_os = "dragonfly"

Whoops, will add it.
Sent from mobile. Please excuse my brevity.

On Nov 28, 2020, at 4:36 PM, Alan Somers<EMAIL_ADDRESS>wrote:

@asomers requested changes on this pull request.
Could you please squash your commits before we merge this PR?
In test/test_unistd.rs:

@@ -1044,3 +1044,41 @@ fn test_ttyname_invalid_fd() {
fn test_ttyname_invalid_fd() {
assert_eq!(ttyname(-1), Err(Error::Sys(Errno::ENOTTY)));
}

+#[test]
+#[cfg(any(

target_os = "macos",
Why no dragonfly for this test?

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

This looks good now.  The only thing it needs is to squash the commits and remove unrelated formatting changes.

Okay, rebased. Let me know if there's anything else I can do.

Rebased again, and killed the whitespace changes.

bors r+

bors retry

This is Travis's fault.  The current build has been waiting for more than 6 hours to start.  I'll again late at night.

This is Travis's fault. The current build has been waiting for more than 6 hours to start. I'll again late at night.

Got it, thanks. It sounds like they cut back quotas for OSS projects recently 😞

Try rebasing now.

Okay, rebased. Let me know if there's anything else I can do.

Try rebasing again.

Rebased!

Hmm, bors has been stuck for a few days now. Might need manual intervention?

It was a bug in our bors configuration, since fixed.  You'll have to rebase again.

Okay, rebased again. Also killed off some whitespace that I added to the CHANGELOG by mistake.

Thanks!


Script to evaluate MobileUNet

Hi, could you provide a script to evaluate MobileUNet? I have trained the model and wanted to evaluate the same. Thanks

I have rewrite code using PyTorch. Please refer the notebook below about evaluation.
https://github.com/akirasosa/mobile-semantic-segmentation/blob/master/eval_unet.ipynb


Databricks Diagnostic Log tables does not appear in Log Analytics workspace

Hi,
After enabling the Diagnostic settings to a Log analytic workspace, the Databricks tables like DatabricksAccounts, DatabricksJobs, DatabricksCluster, Databricks does not appear even if we wait for 24 to 72 hours as per the documentation. We came to know that the workspace needs some activity by creating clusters, or creating jobs in it which then makes the Databricks tables to appear in the Log Analytic workspace. It would be great if this key point is updated in the below documentation.
https://docs.microsoft.com/en-us/azure/databricks/administration-guide/account-settings/azure-diagnostic-logs
Regards,
Gowri Shankar

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

ID: aa60fa41-f753-9c55-c799-a870bdb219a4
Version Independent ID: 786b27ec-7f4d-ad35-e26d-5832c072536e
Content: Diagnostic logging in Azure Databricks - Azure Databricks
Content Source: databricks/administration-guide/account-settings/azure-diagnostic-logs.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

Thanks for the feedback and bringing this to our notice . At this time we are reviewing the feedback and will update the document as appropriate .

Hello @gopasupa  ,
Can you please confirm if your Adb is on premium tier ?

Hi Himanshu,
Yes it is on Premium Tier.
Regards,
Gowri Shankar Pasupathy
Support Engineer
Big Data Support
Ph:<PHONE_NUMBER>
Manager: Todd.DeDecker<EMAIL_ADDRESS>Working Hours: 9:00 AM EST – 6:00 PM EST
<EMAIL_ADDRESS>From: himanshusinha-msft<EMAIL_ADDRESS>Sent: Wednesday, October 7, 2020 6:32 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Gowri Shankar Pasupathy<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Databricks Diagnostic Log tables does not appear in Log Analytics workspace (#63883)
Hello @gopasupahttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgopasupa&data=02|01|Gowri.Pasupathy%40microsoft.com|ce29a0ff91d54dcea5a208d86b10c34e|72f988bf86f141af91ab2d7cd011db47|1|0|637377067049316110&sdata=fxCHs81kBWdgPKxWkmMxgURPukHvOb7m2U6dnQCHsAQ%3D&reserved=0 ,
Can you please confirm if your Adb is on premium tier ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F63883%23issuecomment-705227628&data=02|01|Gowri.Pasupathy%40microsoft.com|ce29a0ff91d54dcea5a208d86b10c34e|72f988bf86f141af91ab2d7cd011db47|1|0|637377067049316110&sdata=hVhCa7fHHqpvHgf2xcjHO2zDqEd%2BpG%2FaVIGNf8AFmB8%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARHBJNI4RQMLYFDAGBSRRIDSJTT43ANCNFSM4SGG6JQA&data=02|01|Gowri.Pasupathy%40microsoft.com|ce29a0ff91d54dcea5a208d86b10c34e|72f988bf86f141af91ab2d7cd011db47|1|0|637377067049326103&sdata=HBB%2FGytgzy5ypjnDDtLrvhJ08fFWoXKmRV9KHrh%2F6Gs%3D&reserved=0.

Hello @gopasupa , I did run a very basic test and i can see that the logs are flowing throwing to the log analytics . I was able to see the logs within 15 mins .
On the ADB side this is what my setting is .

I did a very simple query on log analytics side .
AzureActivity
| where TimeGenerated > ago(24h)
| limit 10

It does not look to be a product issue so I am going ahead and closing the issue here . You can always reopen the issue if you think thats appropiate .
Thanks
Himanshu


Fix KafkaSource and KafkaSink example configurations in the user guide

I haven't created a jira for this. Please let me know if it is needed then I would be more than happy to create one.

I'm about to commit this

@satiatcloudera : thank you for the patch!

@jholoman , @adenes : thank you for the reviews!


Automated cherry pick of #2555: Update latest version to v0.7.1

Cherry pick of #2555 on website.
#2555: Update latest version to v0.7.1
For details on the cherry pick process, see the cherry pick requests page.

/release-note-none

Part of #2542


Ability to track the sequence of conversions when using transducers

Hi. First off all thanks for the amazing utility.
I'm not sure that the improvement I would like to see can be made, but I still want to ask a question. Suppose we have the following example.
((fn testy1 []
   (->> [-1 0 1 2 3 4 5]
        (into [] (comp (map dec)
                       (filter odd?)
                       (filter pos?))))))

I don't get any useful information for debugging when inspecting this example. All I see is a series of higher order functions being declared, but I don't see any interaction with the vector. Is there any way to modify this example to provide more useful information for debugging?

Hi! Glad to hear FlowStorm it's being useful to you.
Yeah, that is an interesting example. The thing is there aren't any functions bodies. If you change it like this :
(defn testy1 []
  (->> [-1 0 1 2 3 4 5]
       (into [] (comp (map    #(dec %))
                      (filter #(odd? %))
                      (filter #(pos? %))))))

you can then step over all elements for each function.

Yes, it really works and can be added for debugging time. It's funny that in The Clojure Style Guide we have recommendations not to do this. It seems that's why we can't leave such code in the real codebase and you need to switch back and forth between options. In any case, thank you that we have such a way. I hope someday a good idea will come up on how to track such situations. In fact, the function call is carried out.

Yeah, I would have to think if it is possible to do any of this automatically. But I also think most of the time this isn't needed, because if the transducer functions are your project functions (in an instrumented namespace) then you will get tracing.
Your particular example uses transducers with clojure.core functions (which aren't instrumented) by name, which I think for real projects are more the exception than the rule, and for those special cases changing them to #( ... %) notation is pretty quick.

Simplifying work with converters is definitely not a task of primary importance, but I will still write some details.

which I think for real projects are more the exception than the rule

Next, I’m just giving thoughts on why I would use this option instead of the common one thread-macro+map+filter approach, but since it turned out that this is more difficult to inspect via flowstorm, I’ll just stay with thread-macro+mapv+filterv option.
It might be interesting to mention that it was the flowstorm that got me thinking that writing this way might be a good idea. If you rewrite the example above into a more familiar version and start inspecting using flowstorm.
(defn my-fn [x]
  (* x x))
(defn testy3 []
  (->> [-1 0 1 2 3 4 5]
       (map my-fn)
       (filter odd?)
       (filter pos?)
       (vec)))

We'll see that we don't get into the my-fn until the vec forces the lazy sequence to be evaluated. But thanks to flowstorm, it provides sugar and we can select any section in the thread and flowstorm will calculate it for us and show the intermediate result. And for small functions this is more than enough for us.
It was always interesting why the lazy implementation of maps, filters and other functions was chosen by default.
In 90% of cases in my programs I would like to immediately calculate the result of the lazy sequence. I also found confirmation in articles like Clojure's deadly sin that it is also faster. Therefore, functions such as mapv, filterv seem more convenient than their more common counterparts. And inspecting them using flowstorms is also more consistent and logical. And the option with info is an even more generalized approach, because not all functions have analogues out of the box, like keepv and removev.

Yeah, in my case I use the threading+mapv+filterv etc option unless I need to optimize, in which case I will try transducers after measuring.
But again, even in the case of transducers they are ok with FlowStorm if the involved functions are instrumented ones.


Archive workspace chats optimistically

Details
Missed to optimistically archive the workspace chats and rooms when refactored the Workspace Delete.
Without archiving optimistically, if the user is slow or with a slow connection, they can delete the workspace and then keep queueing messages on the workspace's rooms and chats until we receive the pusher event archiving them. Now, the chats and rooms get optimistically archived and, on failure, we restore their original state/status.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/215184#issuecomment-1258452400
Tests

Create expensifail account and validate it
Create workspace
Send a message in every chat and room of the workspace: #announce, #admins and the policy expense chat
Open the workspace settings
In Chrome dev tools, network tab, disable the internet connection
Delete the workspace:

You should see the workspace strikethrough as deletion is pending and the chat and rooms archived:

Enable the internet connection
Check that the chats remain archived and the workspace gets deleted
Only if you have access to the Web-API code:

Add a throw line like this throw new ExpError('1F036B68-0C7E-4AC2-9E5A-A0A0E835C447', 'An unexpected error occured while trying to delete the workspace.'); here (inside the try block and right before the call to self::delete)
Create a workspace and try to delete it
Check that on failure, the chats and the rooms status is restored

[x] Verify that no errors appear in the JS console

PR Review Checklist

Contributor (PR Author) Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] iOS / native
[x] Android / native
[x] iOS / Safari
[x] Android / Chrome
[x] MacOS / Chrome
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product was added in all src/languages/* files
[x] I verified any copy / text that was added to the app is correct English and approved by marketing by tagging the marketing team on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] Any functional components have the displayName property
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

PR Reviewer Checklist
The Contributor+ will copy/paste it into a new comment and complete it after the author checklist is completed

[ ] I have verified the author checklist is complete (all boxes are checked off).
[ ] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[ ] I verified the steps for local testing are in the Tests section
[ ] I verified the steps for Staging and/or Production testing are in the QA steps section
[ ] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[ ] I checked that screenshots or videos are included for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

[ ] iOS / native
[ ] Android / native
[ ] iOS / Safari
[ ] Android / Chrome
[ ] MacOS / Chrome
[ ] MacOS / Desktop

[ ] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product was added in all src/languages/* files
[ ] I verified any copy / text that was added to the app is correct English and approved by marketing by tagging the marketing team on the original GH to get the correct copy.
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines
[ ] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] Any functional components have the displayName property
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

QA Steps

Create expensifail account and validate it
Create workspace
Send a message in every chat and room of the workspace: #announce, #admins and the policy expense chat
Open the workspace settings
In Chrome dev tools, network tab, disable the internet connection
Delete the workspace:

You should see the workspace strikethrough as deletion is pending and the chat and rooms archived:

Enable the internet connection
Check that the chats remain archived and the workspace gets deleted

[x] Verify that no errors appear in the JS console

Screenshots

Web
Try to delete workspace offline, see optimistic archiving of the chats. Get back online, API throws a hardcoded error. See un-archiving of chats by failureData
https://user-images.githubusercontent.com/87341702/193925641-bd77ea1c-8383-4dfb-8f1d-f30048ac757a.mov
Mobile Web - Chrome

Mobile Web - Safari
https://user-images.githubusercontent.com/87341702/193928964-028ac331-f84a-4141-9e6d-156b8d22f2b1.mp4
https://user-images.githubusercontent.com/87341702/193929509-db244a08-160f-498f-abb4-b44880dbdd43.mp4
Desktop
Try to delete workspace offline, see optimistic archiving of the chats. Get back online, API throws a hardcoded error. See un-archiving of chats by failureData

iOS

https://user-images.githubusercontent.com/87341702/193945186-ecbc28f6-2644-42ac-9505-07bda6b63a63.mp4
This is an workspace's employee getting the push notification to archive the policy expense chat and remove the #announce room after the owner (from another device) deletes the workspace
https://user-images.githubusercontent.com/87341702/193946728-1b6548b5-8260-4f19-9116-567e75c5997d.mp4
Android
Try to delete workspace, the request is delayed in the API so we can see the optimistic changes. The API throws an error and the optimistic changes are reverted (chats get unarchived and the workspace is there again)
https://user-images.githubusercontent.com/87341702/194617337-acd4c3f8-c81c-44ff-b1ae-28e408bc9756.mp4
This is an workspace's employee getting the push notification to archive the policy expense chat and remove the #announce room after the owner (from another device) deletes the workspace
https://user-images.githubusercontent.com/87341702/193952388-e70c8d2c-0051-400f-a8dc-ecc4787a3443.mp4

cc @roryabraham since you brought up the incomplete optimistic behaviour. I have some doubt if the optimistically archived chats are ok like that or if we should do something with "pending actions" where they are strikethrough and not archived while the request has not resolved yet.

@roryabraham I had not really thought about the case you described, and what you said makes sense to me on that case. Sorry for the confusion, but I was really talking about a strikethrough of the room itself (not pending chats inside it) because it is "in the process of being archived but it haven't resolved yet".

Oh, no I think changing it to the archived state like you do here is fine. After the reports switch to being archived though, we should make sure that we can't send messages in them (the compose bar should be replaced with a message that says the room is archived)

Update: added check to make sure the code doesn't crash if there is a [reportID-onyx-key] => undefined in the Onyx reports collection... which I think can happen when reports are removed (Onyx.set(reportID-onyx-key, null)).

After the reports switch to being archived though, we should make sure that we can't send messages in them (the compose bar should be replaced with a message that says the room is archived)

Yep, I checked that, if you open the optimistically archived report it looks like any archived report and you cannot send new messages

Found a bit of an edge case:

Created a separate issue: https://github.com/Expensify/Expensify/issues/231206

Found a bit of an edge case:

Commented in that issue, but I think this PR is introducing that regression as this is all working as intended on staging. Check the comment for the screenies and run down.

Found a bit of an edge case:

I think this is expected if the employee somehow missed the pusher event archiving the chats.

Dang, what's our plan for getting to the bottom of this Pusher notification missses?

Yeah, if someone else can't reproduce that issue on staging, we should close it. It was working fine for me!

@JmillsExpensify In my opinion, that doesn't affect this pull request review, because we should only be looking at the optimistic onyx update behaviour and what happens on failure (revert the optimistic changes). This is not affecting the pusher events sent to other employees or the owner of the workspace, it only affects what the owner sees on delete when it has a slow/non-existent connection.

Nice, that makes sense. Thanks for the breakdown.

If the pusher events in dev are buggy and the code is fine, we should close this other GH issue: https://github.com/Expensify/Expensify/issues/231206

Do ya'll want me to test on staging? I can, though I think it's probably more productive to ensure this isn't a dev issue first.

Merging since it was approved by @roryabraham, and @stitesExpensify is OOO. I don't know why the PR Author Checklist / checklist check is failing, I'm pretty sure I checked everything.
As a reminder, the comments left on the PR and this other GH issue: https://github.com/Expensify/Expensify/issues/231206 shouldn't be related to the changes here.

Removed emergency, the Author and reviewer checklist checks were failing. I tried checking all Author related checks, but still was failing.. maybe there is a change in the template?

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by @aldo-expensify in version: 1.2.13-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

QA: ✅
https://user-images.githubusercontent.com/87341702/195464458-7a080215-29cd-48eb-9385-2d7546b1927b.mov

🚀 Deployed to production by @yuwenmemon in version: 1.2.13-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Source code of libDFUZZPASS.so

Do you have a plan to open source the code of libDFUZZPASS.so?

Thanks for your interests. The source code of libDFUZZPASS.so is not on github, but you can check it under directory /Adfuzz in Docker. The docker is released now.
I would also suggest you run SelectFuzz in Docker. In some cases, the tool will not promt an error even if your environment are missing some dependencies.

Thanks for your response. Sorry I didn't notice this folder. I can find the source code under /Adfuzz folder now.


raw_message object parsing

Actual behaviour:
Using the raw_message event, the RAW IRC message:
'@badge-info=;badges=broadcaster/1,premium/1;color=#EC5D0F;display-name=DBKynd;emotes=;flags=;id=91544fb6-4e0a-411f-a379-771aad329f35;mod=0;room-id=59351240;subscriber=0;tmi-sent-ts=1587431682109;turbo=0;user-id=59351240;user-type=<EMAIL_ADDRESS>PRIVMSG #dbkynd :dirk is great'
gets parsed as
{
  raw: '@badge-info=;badges=broadcaster/1,premium/1;color=#EC5D0F;display-name=DBKynd;emotes=;flags=;id=91544fb6-4e0a-411f-a379-771aad329f35;mod=0;room-id=59351240;subscriber=0;tmi-sent-ts=1587431682109;turbo=0;user-id=59351240;user-type=<EMAIL_ADDRESS>PRIVMSG #dbkynd :dirk is great',
  tags: {
    'badge-info': true,
    badges: 'broadcaster/1,premium/1',
    color: '#EC5D0F',
    'display-name': 'DBKynd',
    emotes: true,
    flags: true,
    id: '91544fb6-4e0a-411f-a379-771aad329f35',
    mod: '0',
    'room-id': '59351240',
    subscriber: '0',
    'tmi-sent-ts': '1587431682109',
    turbo: '0',
    'user-id': '59351240',
    'user-type': true
  },
  prefix<EMAIL_ADDRESS>  command: 'PRIVMSG',
  params: [ '#dbkynd', 'dirk is great' ]
}

where emotes=;flags=; turns in to emotes: true, flags: true,
This is both on the message and messageCloned objects (for obvious reasons but thought I'd check both just in case)
This same message captured using the message event parses those fields to null
Expected behaviour:
These fields should be parsed as null similarly to how it is done in the message event
Server configuration

Operating system: alpine
Node version (if applicable): v12.15.0
NPM version (if applicable):
tmi.js version: "tmi.js": "^1.5.0",

The IRC parser that tmi.js uses (irc-message by Fionn Kelleher (sigkell)) and many other parsers will parse an empty tag as true.
https://github.com/tmijs/tmi.js/blob/92d7ccff8cecf33bc28c1f40612228e01943a4ff/lib/parser.js#L153
I personally wouldn't choose it to be true but at this point I don't want any backwards incompatible changes. Perhaps an option could be added to change an empty tag to something else like null or an empty string (my preference) with true as the default.
RFC.

Oh hmm... interesting.
Thanks for the prompt response!
Options are always nice, but if that's a standard I can just deal with it.


redshift: build user service file

Is it okay to leave out display-manager.service for the user service? Maybe I misread the problem.

cc @oxij

+1

@Profpatsch this looks as if it would enable redshift even when enable = false

@oxij Not that I’m aware of:
{ systemd.user.services.redshift = redshift; }

Only provides a user service file, which has to be enabled manually, and the system service file is still inside a mkIf.
Are you on NixCon?

I don't use systemd user services yet, I start redshift from .xsession,
so I don't understand what is going on here.
Nope, I'm not on NixCon.

It works on my system, if you want you can test it as well. Who could we ping to take a look at this?

This is now fixed in master/16.03 using https://github.com/NixOS/nixpkgs/commit/82ca7f75d6f239502fad7df553aea36339bae8da


Are there any changes to the code and configuration for indoor scene reconstruction?

hello! you address single-view reconstruction of complex (and possibly large) scenes, in a fully selfsupervised manner.
Does large mean the maximum distance of 3D reconstruction? Are there any changes to the code and configuration for indoor scene reconstruction?

By large scene, we mean real-world scene with lots of complex objects and occlusion like in outdoor driving.
We will release the code for indoor scene before the end of next week (after the ICCV cam-ready deadline).

Very great work! Looking forward to your work on indoor scenes.

In Fig. 6, you show that when training on SemanticKITTI, SceneRF exhibits some generalization capability to the unseen nuScenes images.
Do you convert nuscene to kitti for prediction? nuscene img size 1600x900 -> 1220x370?

I got it.  Thank you very much!


TestEvaluate test must be run from python/lib/evaluations

python/lib/evaluations/dmod/test/test_evaluate.py::TestEvaluate tests must be run from python/lib/evaluations or the tests fail.
Simple fix is changing to:
    def setUp(self) -> None:
        self.oldwd = os.getcwd()
        # from root, this would be: `python/lib/evaluations`
        evaluations = Path(__file__).parent.parent.parent
        os.chdir(evaluations)
        self.__cfs_to_cms_specification = self.get_cfs_to_cms_specification()
        self.__cfs_to_cfs_specification = self.get_cfs_to_cfs_specification()

    def tearDown(self) -> None:
        os.chdir(self.oldwd)

Not sure if this is exactly what we want or if this is more systemic. @christophertubbs, can you weigh in on this?

You can reproduce this issue by running the test from the root of the repo with python -m unittest python/lib/evaluations/dmod/test/test_evaluate.py.


Add FastJsonProvider charset config (Default UTF-8)

Add FastJsonProvider charset config (Default UTF-8), fix the Chinese garbled.

Current coverage is 86.34%

Merging #556 into master will decrease coverage by -0.12% as of 65e676c

@@            master    #556   diff @@
======================================
  Files          108     108
  Stmts        14951   14971    +20
  Branches      3529    3530     +1
  Methods          0       0
======================================
  Hit          12927   12927
  Partial        746     746
- Missed        1278    1298    +20

Review entire Coverage Diff as of 65e676c

Powered by Codecov. Updated on successful CI builds.


[API] Change all values to be [0, 1]

part way through this:
YPR output now in [0, 1]
Next, inputs will be made to [0, 1]

Pitch and Roll still need to be made [0,1]


[Hacktoberfest]: Update Content for JS Conf

🆕🐥☝ Beginners Only:
This issue is reserved for people who are new to Open Source. We know that the process of creating a pull request is the biggest barrier for new contributors. This issue is for you 💝
To do:
The README for this project has some repeat/placeholder comments. If you look at the look at the Readme you will see resources, articles, webpages, videos etc that have the same generic comment to describe them. We'd like the specific information to replace those placeholder texts
📋 Step by Step
Step by Step

🙋 Claim this issue by commenting on it.
Create a New Branch How to branch, Commit, Pull, Merge - start at step2
Make your change - I use Github Desktop and Visual Studio Code so I don't have to do anything via the command-line, but if you like the command-line git on with it ;-)

The change I suggest is go to the Conferences Table, starts around line 164. Edit the JS Conf line so that it reads:
| [JSConf](https://jsconf.com/) | JSConf | 10 |Locally run events driven by passionate individuals dedicated to the community |

Commit it Make it a good one
Make a Pull Request Tell us what you did
We'll review it and merge it in
Add yourself as a Contributor to the bottom of the Readme.md using the same formatting as the others in the list

Remember to observe the Code of Conduct - by which we mean, in short - Be Kind, Be Positive, Be Helpful

Hey @msandfor I want to contribute.

Completed in PR #108


Regular expression not highlighted correctly unless with rf prefix

Type: Bug

Behaviour
write the following in a python file, I expect all strings with r as prefix to be rendered as regular expressions (red with blue highlight), and all with R as raw strings (orange with no highlight). the actual behavior is that only rf is rendered as regular expression
"D:\nexus"
Rf"D:\nexus"
rf"D:\nexus"
R"D:\nexus"
r"D:\nexus"

Diagnostic data

Python version (& distribution if applicable, e.g. Anaconda): 3.10.4
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Conda
Value of the python.languageServer setting: Default

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

User Settings

Multiroot scenario, following user settings may not apply:

languageServer: "Pylance"

formatting
• provider: "black"

Extension version: 2023.18.0
VS Code version: Code 1.82.2 (abd2f3db4bdb28f9e95536dfa84d8479f1eb312d, 2023-09-14T05:55:25.390Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 4.15.0-208-generic
Remote OS version: Linux x64 4.15.0-208-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-9600KF CPU @ 3.70GHz (6 x 3696)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
31.93GB (13.14GB free)

Process Argv
--crash-reporter-id 5256b527-2907-4999-af58-0cda0ec119d8

Screen Reader
no

VM
0%

Item
Value

Remote
SSH: <IP_ADDRESS>

OS
Linux x64 4.15.0-208-generic

CPUs
Intel(R) Xeon(R) Gold 6240 CPU @ 2.60GHz (72 x 1045)

Memory (System)
251.42GB (205.17GB free)

VM
0%

Item
Value

Remote
SSH: <IP_ADDRESS>

OS
Linux x64 4.15.0-208-generic

CPUs
Intel(R) Xeon(R) Gold 6240 CPU @ 2.60GHz (72 x 1045)

Memory (System)
251.42GB (205.29GB free)

VM
0%

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
py29gd2263:30856252
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
3biah626:30602489
f6dab269:30613381
a9j8j154:30646983
showlangstatbar:30737416
962ge761:30841074
03d35959:30757346
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
gsofa:30866041
pythonnosmt12:30797651
pythonidxpt:30866567
pythonnoceb:30805159
copilotsettingt:30859503
dsvsc013:30795093
dsvsc014:30804076
diffeditorv2:30821572
dsvsc015:30845448
pythontestfixtcf:30866406
pyreplss1:30865275
h48ei257:30866288
pythontbext0:30864172

The coloring is handled by the tmlanguage file that VS code ships for Python so could be a bug in textmate. https://github.com/microsoft/vscode/blob/main/extensions/python/syntaxes/MagicPython.tmLanguage.json

This is fixed in MagicPython but hasn't made it into the VSCode Python extension yet.
https://github.com/MagicStack/MagicPython/commit/5b5f388fc46e45dff7e48edc90242c7f578d8705

Hi there, thanks for the issue. I am going to close this specific issue but categorizing it as a sub-item of a larger effort - (shipping textmate grammar ourselves - https://github.com/microsoft/pyrx/issues/4026)
Please note that we are currently resolving TextMate issues as external bugs. However, we're also considering maintaining and shipping our own grammar and fix any issues ourselves. The work has not started yet and it's probably better owned by vscode-python rather than Pylance. Once the work is assigned to a team, we will create an issue either in vscode-python or pylance-release for public tracking. Thank you for your understanding!


Pygmy restart does not always inject the key

pygmy restart does not always inject the ssh key, but pygmy stop && pygmy start works correctly.
Running pygmy status shows that the key is injected.

Having a quick look at this, they are using the same API.
Would you have a working way to reproduce this?


use --xunit-prefix-with-testsuite-name option of upcoming nosetests version

https://github.com/nose-devs/nose/pull/968

+1


How to setup retry?

hi when encounter 429 how do I setup retry pollic?
I am using CosmosAsyncClient but looks like when 429 encounter, the client just stop.

The default ClientRetryPolicy flow is illustrated here . Error code and associated retry behaviour is documented here.
As you can see, the client does not just stop when encountering 429. If it appears to stop, it is likely you have reached the default limit of 9 retries (or 30 seconds, whichever comes sooner). You can override these limits in CosmosAsyncClient in the below manner:
        ThrottlingRetryOptions retryOptions = new ThrottlingRetryOptions();
        Duration duration = Duration.ofSeconds(60);
        retryOptions.setMaxRetryAttemptsOnThrottledRequests(20);
        retryOptions.setMaxRetryWaitTime(duration);

        //  Create async client
        client = new CosmosClientBuilder()
                .endpoint(AccountSettings.HOST)
                .key(AccountSettings.MASTER_KEY)
                .consistencyLevel(ConsistencyLevel.EVENTUAL)
                .contentResponseOnWriteEnabled(true)
                .throttlingRetryOptions(retryOptions)
                .buildAsyncClient();

@TheovanKraay  thx, it helps a lot. after i updated the max retry attempts on throttled request to bigger number and all works fine now.


DS4 WINDOWS COULD NOT OPEN DS4 AC:FD:93 2C:80

WHEN I CLICK "HIDE DS4 CONTROLLER" SHOW THIS MESSAGE, "DS4 WINDOWS COULD NOT OPEN DS4 AC:FD:93 2C:80"

I get the same message, but it tells me I need to close Uplay/Steam before checking the hide controller option, even though I already have steam and uplay closed.

If you have a NV videocard try the following:
Open Task Manager, go to Services tab and Rightclick/Stop the one named NvContainerLocalSystem (Description says: NVIDIA LocalSystem Container). Now start DS4W and enable the Hide DS4 feature, it should work now.
If it works go back to Task Manager and start the just stopped NvContainerLocalSystem.
It should keep working until you restart your PC no matter you restart DS4W.

"Open Task Manager, go to Services tab and Rightclick/Stop the one named NvContainerLocalSystem "
Amazing! That fixed it for me!

close in-game overlay on geforce experience
practically what @Mboxer511 said does the same thing

Having the same problem, tried everything I could find in some others Issues here and nothing seems to work.

This just worked for me stopped the service then started after i was done.

Just so you all know DS4Windows has been forked to new git hub. The files on the DS4 website haven't been updated in years. The new one is now updated on a weekly basis. You can get it here: https://github.com/Ryochan7/DS4Windows

I am having the same issue even when steam is closed, I do not have uplay and I have disabled Nvidia Overlay (I even went as far as to disable every Nv service running). Does anyone else have any ideas? I thought if anyone knows of a way to make DS4Windows load first on boot and take control that would be awesome.

Having the same problem, tried everything I could find in some others Issues here and nothing seems to work.

This just worked for me stopped the service then started after i was done.

Update the to the newer version here: https://github.com/Ryochan7/DS4Windows

I didn't realize that this post was on the old version's forum.  I stumbled onto the new version about 6 months ago and am currently running 1.6.11.  While it does work a lot better in many other aspects I still have the exclusive issue no matter what I do.  Thanks for your replies though!

Any solutions for this problem so that after restart i dont have to always stop the service and start again?

Change the "C:\YOUR_CURRENT_DS4FOLDER" launch location for your DS4 current path and save this as a .bat file, then use this to launch DS4. (Run as Admin if needed)
@title DS4 Exclusive Script
@echo off
echo ---------------------
echo - Stopping NV Share -
echo ---------------------
net stop NvContainerLocalSystem
Timeout 1
echo ----------------
echo - Starting DS4 -
echo ----------------
C:\Windows\System32\cmd.exe /C start C:\YOUR_CURRENT_DS4FOLDER\DS4Windows.exe
Timeout 2
echo ---------------------
echo - Starting NV Share -
echo ---------------------
net start NvContainerLocalSystem

Need some help, I'm playing Fifa and it requires DS4 to be in exclusive mode. Before I start the game the controller is in exclusive mode and works fine but sometimes it gets disconnected and needs to reconnect. Which kicks me out of the game and ill have to close it completely to get it working again.
I have added my log file below:
log.txt

@taariqterror  You are posting in wrong github site. This site is for Jay2Kings/DS4Windows version (V1.4.x) and it hasn't been supported for years. The original developer went on to do some other projects. This version has been since forked and the latest actively developed version is "Ryochan7/DS4Windows" branch. Based on the logfile you are using Ryochan7 V2.x forked version, but old one. The latest is V2.1.0.
See this post: https://github.com/Jays2Kings/DS4Windows/issues/587
And here is a link to Ryochan7/DS4Windows tips-and-tricks about the exclusive mode. And if you really cannot get it to work then alternative solution is to use HidGuardian driver solution (explaiend in the Wiki page). It works in scenarios where exclusive mode fails.
https://github.com/Ryochan7/DS4Windows/wiki/Exclusive-Mode-(Hide-DS4-Controller-config-option)-tips-and-issues
Anyway. If you need further help then head to the Ryochan7/DS4Windows and search similar cases there or post a new message there.

Change the "C:\YOUR_CURRENT_DS4FOLDER" launch location for your DS4 current path and save this as a .bat file, then use this to launch DS4. (Run as Admin if needed)
@title DS4 Exclusive Script
@echo off
echo ---------------------
echo - Stopping NV Share -
echo ---------------------
net stop NvContainerLocalSystem
Timeout 1
echo ----------------
echo - Starting DS4 -
echo ----------------
C:\Windows\System32\cmd.exe /C start C:\YOUR_CURRENT_DS4FOLDER\DS4Windows.exe
Timeout 2
echo ---------------------
echo - Starting NV Share -
echo ---------------------
net start NvContainerLocalSystem

I've just made an account only to thank you, been 2 hours trying to fix the problem and found your comment! Legend!!


Update start-k3s.sh: use $K3S_API_PORT if exists instead of hard-code…

…d 8443
Fixes #8

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

@davidpelfree Thanks for the improvement! The change itself looks great. Would you mind also adding a small section to the README on how to use the new var? Even just a sentence that says what it does and a docker run command line that uses it should be sufficient.

Updated README.

Looks great. Thanks for the contribution!


Add Plant Image

How do we extract the image?
 "default_image": {         "image_id": 9,         "license": 5,         "license_name": "Attribution-ShareAlike License",         "license_url": "https://creativecommons.org/licenses/by-sa/2.0/",         "original_url": "https://perenual.com/storage/species_image/2_abies_alba_pyramidalis/og/49255769768_df55596553_b.jpg",         "regular_url": "https://perenual.com/storage/species_image/2_abies_alba_pyramidalis/regular/49255769768_df55596553_b.jpg",         "medium_url": "https://perenual.com/storage/species_image/2_abies_alba_pyramidalis/medium/49255769768_df55596553_b.jpg",         "small_url": "https://perenual.com/storage/species_image/2_abies_alba_pyramidalis/small/49255769768_df55596553_b.jpg",         "thumbnail": "https://perenual.com/storage/species_image/2_abies_alba_pyramidalis/thumbnail/49255769768_df55596553_b.jpg"       }

It is an object so you would access it by doing default_image.original_url right?


Continued Development - 1.20+

Hello! It seems like development of this mod has stopped, but just wanted to request an update to 1.20+ if that's not the case. If there's no plan to continue working on this mod, feel free to close my issue. Thanks!

I have this question too.  I guess the good news is that they just recently updated the library this mod depends on, so maybe this is next?

I plan on continuing development of this mod. I just haven't had access to a computer capable of programming until recently.


?_nocol= removes that column from the filter interface

e.g. on https://latest.datasette.io/fixtures/sortable?_nocol=sortable

This causes weird behaviour when you e.g. facet by a hidden column, since selecting facets and then re-submitting the form will clear the selected filter.

Error:
    def test_table_html_filter_form_column_options(
        path, expected_column_options, app_client
    ):
        response = app_client.get(path)
        assert response.status == 200
        form = Soup(response.body, "html.parser").find("form")
        column_options = [
            o.attrs.get("value") or o.string
            for o in form.select("select[name=_filter_column] option")
        ]
>       assert expected_column_options == column_options
E       AssertionError: assert ['- column -'...wid', 'value'] == ['- column -', 'value']
E         At index 1 diff: 'rowid' != 'value'
E         Left contains one more item: 'value'
E         Use -v to get the full diff

This is because rowid isn't a table column but IS returned by the query used on that page.
My solution: start with the query columns, but then add any table columns that were not already returned by the query to the end of the filter_columns list.


Tasks listed in Timeline view do not change when changing selected date

Describe the bug
Hi, I'm just starting to use this plugin and think I'm running into unexpected behavior.
To Reproduce
Steps to reproduce the behavior:

Open Day Planner Timeline
Can see the selected day's planner, great
Click left or right arrow to go to previous or next day's plan
It's still showing the originally selected day's events

Expected behavior
I expect the calendar to exclusively display events/tasks for the chosen day.
Screenshots

Additional context
The rest of the UI seems to change fine. The newly chosen date displays at top in the Day Planner Timeline, and the new date's Daily Note is opened (or created). And the Weekly Planner view displays the expected things.

I have flagged this bug yesterday. It's reassuring that it's happening to other users as it'll probably be solved quickly!

Yes, I've encountered it too. Does this issue exist in the latest version?

I too have this issue and am on 0.15.2

Same.  Just started happening recently.  I'm on 0.15.2

Fixed in 0.15.3

confirmed fix. thank you @ivan-lednev!!