Problem Abou Publish to a Linux Production Environment

this is article‘s linkhttps://docs.asp.net/en/latest/publishing/linuxproduction.html
Hello, i have some question about this article. After I configured supervisor, it doesn't work. And the log file print /var/www/output/approot/kestrel: line 11: exec: dnx: not found
this is  my config file info
[program:test1]
command=bash /var/www/output/approot/kestrel
director=/var/www/output/approot
autostart=true
autorestart=true
stderr_logfile=/var/log/test1.err.log
stdout_logfile=/var/log/test1.out.log
environment=Hosting__Environment=Production
user=root
stopsignal=INT

What should i do about this problem？

Did you follow the setup steps to install DNX in your linux environment?: https://docs.asp.net/en/latest/getting-started/installing-on-linux.html

Yes,I was already Install DNX and the commad of the config file is worked in Terminal.But it doesn't worked use supervisor.

@shirhatti Thoughts on what might be going on here?

this is my Kestrel file Info:
#!/usr/bin/env bash

SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
  DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
  SOURCE="$(readlink "$SOURCE")"
  [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located
done
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"

exec "dnx" --project "$DIR/src/test1" --configuration Debug kestrel "$@"

when command run exec "bash dnx" --project "$DIR/src/test1" --configuration Debug kestrel "$@"
it write a log/var/www/output/approot/kestrel: line 11: exec: dnx: not found
so what should i do??

@danroth27  thanks for you help！I have solution this question.
just like the log file sya dnx: not found
so, I add the path of dnx in the Kestrel file :
exec "/usr/local/bin/dnx" --project "$DIR/src/test1" --configuration Debug kestrel "$@"
and then restart supervisor.
ok, my application is working.


请帮忙解答full-parameter finetune的一些问题

在第二阶段使用phi-2和siglip进行全参数微调得到的checkpoint文件与Readme中给出的[Bunny-v1.0-3B/bunny-phi-2-siglip]相比较config.json中缺少“auto_map”这一项，在补全这一项以及两个关联的py文件之后可以正常运行。
这是什么原因造成的？为什么全参数微调得到的checkpoint文件会缺少？

Bunny-v1.0-3B is trained by LoRA and we merge the weights.
The snippet in Quickstart is used for Bunny-v1.0-3B (SigLIP + Phi-2) and so on. We manually combine some configuration code into a single file for users' convenience. Also, you can check modeling_bunny_phi.py and configuration_bunny_phi.py and their related parts in the source code of Bunny to see the difference.
For other models including models trained by yourself, we currently only support loading them with installing source code of Bunny. Or you can copy modeling_bunny_phi.py and configuration_bunny_phi.py into your model and edit config.json.

Close the issue for now if there's no further discussions. Feel free to reopen it if there's any other questions.


Migrate from legacy to new Hermes CDP handler (#39268)

Summary:
Updates React Native to use the new CDP handler provided by the Hermes engine instead of the legacy one (Connection.cpp) built into React Native. The new Hermes CDP handler has a simpler & safer design, new features (e.g. console.log buffering) and is under active development by the Hermes team.
NOTE: Both the legacy and modern handlers are Hermes-specific. In future work, React Native will wrap the modern Hermes handler in an engine-agnostic CDP layer implementing additional functionality and managing the lifecycle of debugging sessions more correctly. This diff is the first step of this larger migration.
Changelog: [General][Changed] Use new Hermes CDP handler implementation for debugging
Differential Revision: D48783980

Merged by 3e7a873f2d1


.NET Framework Support

Any chance you could add a build configuration for .NET Framework (preferably 4.5)?

Do you specifically need Framework 4.5? Would some netstandard target work? It might require a little effort since most of the internals use Span but probably not impossible.

Do you specifically need Framework 4.5? Would some netstandard target work? It might require a little effort since most of the internals use Span but probably not impossible.

I believe that NET Standard 1.1 or 1.2 would work (as those reflect 4.5 and 4.5.1).
I ended up implementing my own Span in my project.

I believe that NET Standard 1.1 or 1.2 would work (as those reflect 4.5 and 4.5.1).
I ended up implementing my own Span in my project.

I'll see what I can do.

I'll see what I can do.

Seems like ImageSharp (my dependency) only supports down to netstandard1.3. Would  your project be able to upgrade to Framework 4.6 or 4.7?

Seems like ImageSharp (my dependency) only supports down to netstandard1.3. Would  your project be able to upgrade to Framework 4.6 or 4.7?

Unfortunately, no. It's a mod for a game that relies on XNA, so the framework is pretty locked.
What is needed in ImageSharp?
(He isn't in the room right now, but if he were he would respond probably by purring)

Unfortunately, no. It's a mod for a game that relies on XNA, so the framework is pretty locked.
What is needed in ImageSharp?
(He isn't in the room right now, but if he were he would respond probably by purring)

ImageSharp is used for saving and loading standard image formats (jpg, png, tga..) and resizing the texture for mipmap creation. I am planning on replacing it with my own implementation eventually, but that's probably going to take a while.
If you have another way of feeding RGBA-data to the library and don't need mipmaps, then creating a dependency-free fork for net45 might be possible.

ImageSharp is used for saving and loading standard image formats (jpg, png, tga..) and resizing the texture for mipmap creation. I am planning on replacing it with my own implementation eventually, but that's probably going to take a while.
If you have another way of feeding RGBA-data to the library and don't need mipmaps, then creating a dependency-free fork for net45 might be possible.

I don't need mipmaps, and I have zero use for standard formats. The input data is raw data (BGRA, RGBA, BGR, RGB), and I expect raw BCn results (I only need BC1/2/3).

I don't need mipmaps, and I have zero use for standard formats. The input data is raw data (BGRA, RGBA, BGR, RGB), and I expect raw BCn results (I only need BC1/2/3).

I'll whip up a stripped-down version for net45 tonight then. Might be up on nuget by tomorrow. I probably won't be maintaining that one as actively but it's there until I can get rid of ImageSharp.

I'll whip up a stripped-down version for net45 tonight then. Might be up on nuget by tomorrow. I probably won't be maintaining that one as actively but it's there until I can get rid of ImageSharp.

Hey, the net45 version is up on nuget now: https://www.nuget.org/packages/BCnEncoder.Net45
Input data needs to be as a byte array in rgba format and there is no mipmap generation. For getting raw compressed bytes you can use the BcEncoder.EncodeToRawBytes API.
If you use it and find anything lacking or something not working correctly, hit me up with another issue.

Hey, the net45 version is up on nuget now: https://www.nuget.org/packages/BCnEncoder.Net45
Input data needs to be as a byte array in rgba format and there is no mipmap generation. For getting raw compressed bytes you can use the BcEncoder.EncodeToRawBytes API.
If you use it and find anything lacking or something not working correctly, hit me up with another issue.

I haven't had a chance to use it yet, I've been very busy at work and haven't had an opportunity to work on this project.

I haven't had a chance to use it yet, I've been very busy at work and haven't had an opportunity to work on this project.

Alright. Let me know if you do and need anything changed. For now I think this issue can be marked as closed.

Alright. Let me know if you do and need anything changed. For now I think this issue can be marked as closed.

hey @Nominom  ,
any chance you plan on an update of the .NET Framework version to latest?
your library is very good, and i m trying to use it for my projects of reading game texture files
but there are some problems with the .NET framework version wich got fixed at the (newer) .net standard version:
i think issues in the alpha , and no BC6 support
i tried myself to convert the latest 2.1.0 version to .NET framework 4.7.2 (wich has support for .NET Standard 2.0) :
but i didnt succeed and had empty textures
if you would find time (and energy),
because i think you know your code better for this
i would appreciate very much
but anyway: still a great library ! :)

Hi!
I'm currently in the process of making version 3.0, which includes many major refactors and improvements. I could look into adding support for older .NET Standard versions in the same update. It would be quite a pain to manually import the new changes to the net45 branch since they are so different.
I can't promise anything concrete for now, but I'll reopen this issue and keep you posted!

yes,
i know what you mean, i noticed myself the changes between the two versions
thanks, i ll keep an eye on the project for sure !

I just made a .NET standard 2.0 port (with minimal changes), in order to use it in .NET Framework 4.8 projects.
https://github.com/MonarchSolutions/BCnEncoder.NET
And here is the myget package so you can use it now:
https://www.myget.org/feed/monarchsolutions/package/nuget/BCnEncoder.NetStd
Unit tests shows 185/200 cases passed, so I guess maybe there are still something wrong?
But at least the BC7 decode/encode is working for me.

I should warn that I didn't measure the performance, and it should be very bad comparing to the original .NET standard 2.1 version, because I have to replace Nominom's carefully constructed high-performace span/memory codes to some very bad performance codes like Span<T>.ToArray(). My project don't care much about this performance at the moment.

Is it possible to support netstandard2.0? I'm trying to write an shell extension using shellsharp which only support net framework. I can't consume netstandard2.1 from net framework.


Sometimes deploy fails because suddenly it... can't connect to the internet?

I keep seeing this roughly every fifth deploy (this is the part where yarn package manager installs dependencies):
       yarn install v1.3.2

       [1/4] Resolving packages...

       [2/4] Fetching packages...

       warning Pattern<EMAIL_ADDRESS>is trying to unpack in the same destination "/tmp/app/.cache/yarn/v1/npm-esprima-fb-3001.1.0-dev-harmony-fb-b77d
37abcd38ea0b77426bb8bc2922ce6b426411" as pattern ["esprima-fb<EMAIL_ADDRESS>This could result in a non deterministic behavior, ski
pping.

       info There appears to be trouble with your network connection. Retrying...

       info There appears to be trouble with your network connection. Retrying...

       info There appears to be trouble with your network connection. Retrying...

       info There appears to be trouble with your network connection. Retrying...

       info There appears to be trouble with your network connection. Retrying...

       info There appears to be trouble with your network connection. Retrying...

       info There appears to be trouble with your network connection. Retrying...

       info There appears to be trouble with your network connection. Retrying...

       error An unexpected error occurred: "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000746.tgz: ESOCKETTIMEDOUT".

Could that be anything to do with flynn?
Thanks!
download flynn-host collect-debug-info here
EDIT: this is hosted on aws so I assume the internet connection is not an issue

Didn't see this ever since I gave flynn more disk space.


Leaflet 1.0 breaks webpack

ERROR in ./~/leaflet/dist/leaflet.css
Module not found: Error: Can't resolve './images/' in 'C:\projects\dayapp\node_modules\leaflet\dist'
@ ./~/leaflet/dist/leaflet.css 6:5987-6007
Caused by:
/* Default icon URLs */
.leaflet-default-icon-path {
	background-image: url(images/);
	}

It's trying to load a directory as a background image?

Duplicate of #4849. See #4605 for background info.


Additional Unit Tests

Additional Unit Tests

Work on this issue being performed under USACE W912HQ23F0243 Task 5 has been completed. This issue will be kept open to track parallel development efforts.


[TASK] Remove outdated IE6 condition in base tag

Related #10502

There are some failing tests in the CI - please resolve those.

From my point of view, the first two assertions (line 958 - 978) can be removed completely. However, as I am new here, I did not want to simply decide this and therefore adapted the tests simply for the time being.

One of the tests is still failing.
I agree that it makes sense to remove the tests that were previously testing the functionality which you are removing.

On the last run-through, I am puzzled as to why no slash is added there. Does anyone have any ideas about this? Apparently a placeholder %base_tag% in the test is replaced, but looking around the project, I don't have a clever idea where this happens.

Not sure why the slash wasn't being added - but it's actually better that it isn't added since this tag doesn't need to be self-closing.


Convert to use rosbags

Update script to use rosbags and rosbags-image to run anywhere, even without a working ROS installation.
Also be open-minded to code cleanup or refactoring to make it more maintainable.

Also, feel free to ignore or discard the code I've already checked into the branch.  This was a rushed initial cut which I never got working.

Update setup.py and remove package.xml and manifest.xml

Ping @anand2718 ;  can you look at the issues above and we'll get this MR merged.

Works with pip install now - I haven't converted bag2images.py yet, should I get that working with rosbags before merging?

Would be nice.  How much effort will it be?

I think we're almost good to merge - could you take a look and test it a bit before?

I'll have a look when I have a chance ... thanks

I've started testing this on the remus laptop (auv3), with an eye towards using it to give Craig a video extracted from the camera data:
git clone https://github.com/apl-ocean-engineering/bag2video
pip install -e .
pip install --upgrade pillow
bag2video mission271_cam_[...].bag /ngr/phoenix.image_raw

It seems to be doing the right thing, BUT it's taking forever. It only processes frames at ~5Hz, and the resulting video is going to be huge (~30G for < 2 hours of camera data)

can you improve the documentation of the --scale parameter? I think that it might be an option to downsample images and wind up with a smaller mp4. If this is the case, would I use 0.5 or 2 to scale width/height to half of the pixels in the raw data?
could there be an option to only use every N-th frame?

This doesn't address Laura's bag2video speed concern, but I think a major bottleneck for bag2image is encoding the output files.  PNG compression is fairly slow.
One way to accelerate this would be to parallelize the image writing (write N images at once)


[common] API improvements

raised deps versions & fixed Deep types

coverage: 61.931% (+6.2%) from 55.777%
when pulling 7dfb479ed08747aaaf9f2892d5182b839ee56150 on api-fixes
into da1063fc7c15dca239d9c97463d1c29d060b85a0 on main.


Create an Animated User Onboarding Flow

Description:
We want to create a captivating user onboarding experience for our app. Your task is to design and implement an animated onboarding flow using HTML, CSS, and JavaScript. The flow should guide users through the app's features.

Difficulty: intermediate
Estimated Time: 6-7 hours

Contribution to Issue:
I'm interested in working on this issue and creating an engaging user onboarding experience for your app.
Approach:
I plan to design and implement the animated onboarding flow using HTML, CSS, and JavaScript. I will create a simple yet captivating onboarding flow that guides users through the app's features. I'll also ensure it complies with Hacktoberfest rules.
Questions:
I have a couple of questions regarding the project's design guidelines and preferred animation style. Are there specific color schemes or animations you'd like me to consider?
Hacktoberfest Commitment:
I'm committed to following Hacktoberfest rules and delivering a high-quality contribution to your project.
Looking forward to your guidance and feedback on this task!

Hey Jayesh,
Thank you for showing interest in working on this issue and contributing to our project! We're thrilled to have you on board.
Your Approach:
Your approach to designing and implementing the animated onboarding flow sounds great. We appreciate your commitment to following Hacktoberfest rules. In terms of design guidelines, we encourage creativity. While we don't have strict color schemes or animation requirements, we suggest that you align the design with the overall look and feel of our app.
Additional Details:
Feel free to start working on the task. If you have any further questions or need clarification on any aspect of the project, please don't hesitate to ask. We're here to support you throughout the process.
Feedback and Collaboration:
Once you've made progress or have questions during the implementation, feel free to share your work or ask for feedback in the comments or through pull requests. Collaboration is key, and we look forward to working together to create an exceptional user onboarding experience.
We appreciate your enthusiasm and look forward to your contributions to our project. Happy coding!


Indicate orientation of RHS2116 PCB in the channel selection window of the RHS2116 GUI

This issue stems from message in the onix-docs channel Dec 12/13th.

From tech talk discussion:

If possible, add a secondary label to the probes that indicate the same absolute label that is shown in the picture that was shared in the onix-docs channel  (i.e., A0/A1/etc.)
Add some text that denotes the orientation (e.g., "Tether Side" above the contacts)


v1.4.1 docker image

Thanks for getting v1.4.1 released! What needs to happen to get a new docker image generated? I looked into https://github.com/BioContainers/containers to see if I could generate a PR to make it happen, but I couldn't seem to find a Dockerfile for this project within the biocontainers git repo.....

Hi @wholtz,
AFAIK, new releases should in principle be picked and built. There is a bioconda-reciept https://github.com/bioconda/bioconda-recipes/tree/master/recipes/thermorawfileparser that might also be of some help.
Maybe @ypriverol or @bgruening can answer this better.

PR submitted for review: https://github.com/bioconda/bioconda-recipes/pull/37652

Updating the bioconda recipe did result in a new docker image on https://quay.io/repository/biocontainers/thermorawfileparser?tab=tags


Preliminary Relation extraction POC

Proof of concept and experimentation to see what sentence structures will extract good relations for this project domain

Pull keywords into JSON


Turbolinks.replace is great but how can I append new content instead of replacing ?

I'm implementing activity feeds functionality in one of my application,  and listing page has infinite page scrolling.
For now whenever users scroll down I'm loading new feed items and appending them to list. It would be really great if turdbolinks also supports append, and  prepend methods alongwith replace
So
render "partial", append: "feed_items" will append new items to dom with "feed_item" id
render "partial", prepend: "feed_items" will prepend new items to dom with "feed_item" id
Hopes that make sense.

+1

That would be fantastic!

:+1:

https://github.com/rails/turbolinks/pull/621


Условный доступ

[Enter feedback here]

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

ID: 3d525ecd-381b-162f-84b7-2912b83462f6
Version Independent ID: db11cbb8-d83a-2a03-0160-beed5afb42c9
Content: What is Conditional Access in Azure Active Directory?
Content Source: articles/active-directory/conditional-access/overview.md
Service: active-directory
Sub-service: conditional-access
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@matuhinal
Thanks for your feedback! We will investigate and update as appropriate.

I see you commented with "Conditional access." If you have any specific feedback about this article, please create a new issue detailing the feedback you would like to leave.


More control over plot settings

Describe the new feature or enhancement
Would it be possible to give users more control over (some of the) plotting parameters?
in my case, I wanted to plot multiple ERPs in a single figure. WIth plot_evoked, I could extract all the axes and gather all the plots in a single figure, however, the layout was not really nice (a lot of whitespace). I wished to constrain the layout, but couldn't do so because in plot_evoked set_tight_layout is hardcoded to True, which is incompatible with a constrained layout.
Describe your proposed implementation
If I understand the structure correctly, there are front-end auxiliary plotting functions that users interact with and the actual plotting functions that are called in the background and do the plotting. As it seems, only a subset of the arguments that the plotting functions have are being used by those auxiliary functions. Would it be possible to pass those "hidden" arguments as kwargs? Like that the API would not be cluttered with secondary plotting parameters, but still allow for more flexibility?
Additional comments
As mentioned before, I only had a look at the plot_evoked function. I don't know in how far something similar is also relevant for other plotting functions.

you tried to do the right thing
set_tight_layout
should probably not be used systematically.
regarding kwargs I prefer to avoid them as much as possible as
they are almost impossible to document and can lead to silent bugs
can you open a PR with the changes that are necessary to address your
needs and looking at the diff we see how to move forward?

@eort I'm in the process of refactoring a lot of the 2D plotting functions (see #7751). One of the things I am doing is eliminating hard-coded calls to tight_layout whenever possible. Please @-mention me when you open a PR, I'd be happy to chime in or help out...  plot_evoked was actually next on my TODO list since it shares a lot of code with the plot_psd functions (which I just finished last week).

Sounds very nice, thanks!

since it shares a lot of code with the plot_psd functions (which I just finished last week).

cool, I was having similar issues with plot_psds (it doesn't have a title keyword).

Please @-mention me  when you open a PR
will do

I was having similar issues with plot_psds (it doesn't have a title keyword).

We definitely want to support that use case one way or another, but I agree with @agramfort about allowing users to pass matplotlib kwargs through the MNE-Python plotting functions --- handling them correctly can dramatically complicate our code and makes it easier for silent bugs to accumulate.  What I have been trying to do is make all the 2D plots amenable to the standard matplotlib adjustments after figure creation, so that things like fig.subplots_adjust(top=0.8) or fig.suptitle('my custom title\nwith a newline in it') will work as expected and not require extra steps or workarounds.
I am keen to hear your "laundry list" --- are there things other than adding titles that you are finding difficult to accomplish?

I am keen to hear your "laundry list" --- are there things other than adding titles that you are finding difficult to accomplish?

So far, I haven't encountered much that I had trouble with, as I just started optimizing the visualization of my data. What might be relevant to you is:

inconsistent parameter naming for passing axes (sometimes ax as in plot_raw_psd, sometimes axes as in plot_evoked)
the interactions with the plot were confusing whenever more than one axis is returned (encountered in plot_evoked). For example, even though I passed only two axes each on two separate calls to the function into the function, four axes got returned for each call. Other things were that adding titles/subtitles as well as x/y labels confused me e.g. labels disappeared). Eventually it looked like what I would have expected, but I don't know what caused the issue in first place and how it was resolved (probably mistakes on my end)

Here are also a  few other plot-related things that came to my mind, in a wider sense of your question:

when plotting raw data (in plot_raw). I would like to group the channels by more than one variable (i.e. location and type). I haven't tried whether this could be done by combining the group_by and the picks arguments, though.
when plotting epochs, I would like to be able to merely mark epochs without instantly dropping them. So, storing indices of to-be-dropped epochs in the epoch instance and drop them later with an explicit dropping call.
it would be cool to have a waterfall plot added to mne's plotting functions. That is basically a 3d version of plot_image. I have seen power spectra plotted in that way (over frequencies and trials) and was impressed how nicely noisy trials can be identified. But yeah, given that this would be a 3d-plot it probably doesn't fit your agenda.

As I said, I haven't spend a lot of time exploring all the ways to amend mne plots. It is quite likely that I have just missed obvious solutions. I will be spending quite a bit of time in the next weeks with plotting. I will report here (or in #7751) whenever I encounter something.


groupBy ERROR: illegal character '+'

Something doesn't appear quite right with groupBy (bedtools v2.26.0) or perhaps my command (or file input) is wrong.  The same commands work fine with v2.23.0.
With a tab-delimited input file (Problem.txt) like
AAAACAATTGGTATTCTTGGAGG	Foo	3009041	3009064	+	NM:i:0	0
AAAACAATTGGTATTCTTGGAGG	Foo	3009041	3009064	+	NM:i:1	1
and the command
groupBy -i Problem.txt -g 1 -c 3,4 -o distinct,min
I get
***** ERROR: illegal character '+' found in integer conversion of string "+". Exiting...
whereas this file (Fixed.txt) works fine:
AAAACAATTGGTATTCTTGGAGG	Foo	3009041	3009064	+	NM:i:0
AAAACAATTGGTATTCTTGGAGG	Foo	3009041	3009064	+	NM:i:1
groupBy -i Fixed.txt -g 1 -c 3,4 -o distinct,min
AAAACAATTGGTATTCTTGGAGG 3009041 3009064
Any help would be appreciated!

Corrections made in pull request #575 . There were errors in src/utils/general/ParseTools for handling a '+' sign. Also pre-empted fileType format checking for groupby.

Pull request #575 merged and this is now fixed in master. Thanks @nkindlon !


Partial Wakelock on Android

In our project we are seeing a wake lock acquired for AudioMix, which is not necessary for our game. The reason why I believe ebiten is the culprit is because this wake lock goes away when I do not call Mobile.Update().
Wake Locks: size=1
  PARTIAL_WAKE_LOCK
  'AudioMix' ACQ=-15s316ms (uid=1041 ws=WorkSource{10227})

Repro step:

Run the game
type adb shell dumpsys power
Observe wake lock is acquired after launching the game with ebiten audio.

There were 4 wake locks on go-inovation
Wake Locks: size=4
  PARTIAL_WAKE_LOCK              'AudioIn' ACQ=-7m12s324ms LONG (uid=1041 ws=WorkSource{10035})
  PARTIAL_WAKE_LOCK              '*gms_scheduler*/com.google.android.gms/.instantapps.routing.DomainFilterUpdateService' ACQ=-1m30s320ms LONG (uid=10014 pid=3343 ws=WorkSource{10014 com.google.android.gms})
  SCREEN_BRIGHT_WAKE_LOCK        'WindowManager' ON_AFTER_RELEASE ACQ=-30s33ms (uid=1000 pid=2526 ws=WorkSource{10218})
  PARTIAL_WAKE_LOCK              '*gms_scheduler*/com.google.android.gms/.instantapps.routing.DomainFilterUpdateService' ACQ=-27s649ms (uid=10014 pid=3343 ws=WorkSource{10014 com.google.android.gms})

Confirmed this with "Bear's Restaurant"
Wake Locks: size=1
  PARTIAL_WAKE_LOCK              'AudioMix' ACQ=-19s31ms (uid=1041 ws=WorkSource{10189})

I think this was fixed.
You need to check this by switching the app. Before the fix, PARTIAL_WAKE_LOCK by AudioMix remained even when you tried to switch the applications. After the fix, this is disappeared.
Note that PARTIAL_WAKE_LOCK by AudioMix remains when the app is active (not being switched).


v0.12.1.x More block validation for governance

commit b6b6d6c4c5ac25fe5309a3c67aa204f97fb395af
Added nSuperblockStartBlock, adjusted testnet/regtest params
commit 15a3c642702bb7f57be9993c484e7d3870d13cb4
More for governance block checks, p1 (non-compilable):

add GetPaymentsLimit() and GetPaymentsTotalAmount()
IsValidBlockHeight() should check nSuperblockStartBlock
CSuperblock::IsValid should check payment limit and miner payout
no cs_main
slightly refactored related things

commit e64117f84bd136180576f50f63ca170d7a1a5f4d
More for governance checks, p2 (compilable):

IsBlockValueValid(), IsBlockPayeeValid() and FillBlockPayee() rewritten, no cs_main for them
CreateNewBlock adjusted, need more work on CBlockTemplate (see TODO)
moved (and simplified) IsBlockPayeeValid() call from CheckBlock() to ConnectBlock()

Fixed a bug in GetPaymentsLimit(), some other comments addressed, added IsValidBlockHeight() checks in few more places.

utACK ade8f64


Bug: certificate-authority for external-admin-kubeconfig should match the certificateIssuer configured in values.yaml

The values.yaml of the KCP Helm chart allow configuring a custom (server) certificate issuer for the front-proxy: https://github.com/kcp-dev/helm-charts/blob/main/charts/kcp/values.yaml#L117-L121
However, the certificate-authority field of the external-admin-kubeconfig is hardcoded, instead of pointing to the CA cert of the configured certificate issuer: https://github.com/kcp-dev/helm-charts/blob/main/charts/kcp/templates/server-kubeconfigs.yaml#L50
I am not exactly sure how to fix this. I guess we need to both:

mount the custom CA cert in server-deployment.yaml
parameterize server-kubeconfigs.yaml so that certificate-authority points to this mounted CA cert

This would require some additions to values.yaml if I'm not mistaken. Does this sound reasonable?

Assuming the fix is backwards-compatible (which I don't see why it wouldn't) we can absolutely push it as 0.8.1.


[Feature request]: Make currentTimeInBreaks more obvious

Version

[X] I'm using version 1.15.1

Existing requests

[X] I've checked Existing requests

Advanced Preferences

[X] I've checked Advanced Preferences

What operating system are you using?
Windows
Operating System Version
Windows 11 version 22H2
Problem description
I have enable the currentTimeInBreaks feature in the json setting file. But the time shows in break window is too small that I can hardly notice and read it.

Possible solution
Make the time shows in break windows much larger and center aligned.
Alternative solutions
Or add an option to replace the words "Strech your legs" with current time.
Additional information
No response
Code of Conduct

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

Hi and thanks for the feedback. This could be done in a way that when break text is turned of and show time turned on, we show time instead of text.

Hi and thanks for the feedback. This could be done in a way that when break text is turned of and show time turned on, we show time instead of text.

I am not understand of what you are meaning. Are you mean there currently is a approach I can do it or not?

Sorry for not being clear: what I mean is that this could be added to Stretchly.

Sorry for not being clear: what I mean is that this could be added to Stretchly.

Thanks for you kind reply, I will wait the program's update.


clean up admin dashboard first page

Description

clean up the AdminDashboardSelector files .
Admin user should be able to select the state and report they would like to view. This shouldn't change the State User's experience.

Related ticket(s)

MDCT-2991

How to test

log in as an admin, you should be redirected to this selection page
upon selecting a report, the button becomes enabled (following the pattern of MCR)
if button is clicked before selecting a state, the validation msg is show asking the admin to select a state
once a state and a report is selected, you should be brought to that specific dashboard

Important updates

Author checklist

[ ] I have performed a self-review of my code
[ ] I have added thorough tests, if necessary
[ ] I have updated relevant documentation, if necessary

convert to a different template: test → val | val → prod

code looks good to me and the admin dashboard look good on my machine! I noticed on the mocks, it shows the Select state or territory and Select a report text as bold?

code looks good to me and the admin dashboard look good on my machine! I noticed on the mocks, it shows the Select state or territory and Select a report text as bold?

I saw that too! But I think that would require me updating a global style, and this is how it appears in MCR, so I figured I'd keep it like this for now and address during our design updates after co:assemble


[BUG - Release] UE 4.14 Game crashes on startup with UE4SS

Branch or Release
v3.0.1
Game and Engine Version
Space Hulk: Deathwing Enhanced Edition (Steam Version) Unreal Engine 4.14.3
Describe the bug
Game crashes at startup. Only the splash screen runs for 2 seconds and then crashes and the UE Crash Reporter opens.
Mods directory
No mods.
To Reproduce
Steps to reproduce the behavior:

Launch game
Splash Screen runs for 2 seconds. Game crashes.
UE4 Crash Reporter opens

Screenshots, UE4SS Log, and .dmp file
Screenshots, logs and .dmp files are attached as zip files.
Desktop (please complete the following information):

OS: Windows 11 Pro

Space Hulk Deathwing UE 4.14.3.zip

@Marold57  Would it be possible to get a Space Hulk game log without UE4SS installed? I'm curious to see what the log file looks like on a clean launch of the game.

SpaceHulkGame.log
@bitonality
Clean log from the Support Branch without UE4SS and without mods.
Started a mission and played until the first objective and then closed the game.

Do you have the ability to build UE4SS from source?
I have a hunch that this is due to the #414 FUrl struct member layout changes in internal UE code.
If you can re-arrange the FUrl struct in UE4SS to match UE 4.14.3 and compile UE4SS you could see if that unblocks you.
UE4.14.3 FUrl def
//URL structure.
USTRUCT()
struct ENGINE_API FURL
{
	GENERATED_USTRUCT_BODY()

	// Protocol, i.e. "unreal" or "http".
	UPROPERTY()
	FString Protocol;

	// Optional hostname, i.e. "<IP_ADDRESS>" or "unreal.epicgames.com", blank if local.
	UPROPERTY()
	FString Host;

	// Optional host port.
	UPROPERTY()
	int32 Port;

	// Map name, i.e. "SkyCity", default is "Entry".
	UPROPERTY()
	FString Map;

	// Optional place to download Map if client does not possess it
	UPROPERTY()
	FString RedirectURL;

	// Options.
	UPROPERTY()
	TArray<FString> Op;

	// Portal to enter through, default is "".
	UPROPERTY()
	FString Portal;

	UPROPERTY()
	int32 Valid;

I'm not familiar with it myself, but I'll can ask on my discord server if someone can take care of it.

Here's a build of 3.0.1 with the described FURL changes: UE4SS_FURL_for_UE4.14.zip

Logs and dmp and Screenshot.zip
Unfortunately it still crashes on startup with the FURL changes.

Is there no .dmp file in the Win64 directory, where UE4SS.dll is located ?
These UE4Minidump files don't work and I think they are generated by the game itself, not from UE4SS.
In all cases so far (including yours), the call stack is unavailable due to various missing binaries.
The .dmp file in the same directory as UE4SS.dll is generated by UE4SS and don't generally require any extra binaries to be useful.
If no .dmp file is available, that doesn't leave us with many ways to determine what the problem is beyond guessing unless we just happen to actually have the game and unfortunately I don't.

UE4SS does not create a .dmp file.
I have set in UE4SS-settings.ini:
[CrashDump]
EnableDumping = 1
FullMemoryDump = 0
and tried:
[CrashDump]
EnableDumping = 1
FullMemoryDump = 1
but still no .dmp file is created where UE4SS.dll is located.

If needed I could give a Steam EU key for the game.

It's possible this is the same problem as #410.
Try this solution: https://github.com/UE4SS-RE/RE-UE4SS/issues/410#issuecomment-1971861346
Even if you want BP mods to load, this will tell us if it's the same problem.
If it is the same problem, that means you (or someone else) needs to reverse engineer the vtable for the UEngine class and follow these instructions to update the representation of the vtable that UE4SS uses.

That worked. No crash and I can also open the UE4SS console ingame. But that means for blueprint modding someone has to reverse engineer the vatble for UEngine?

You can solve this with trial & error by doing the same thing they did in #410 and just download VTableLayout.ini for your engine version and add a new line at the beginning of the UEngine section.
If it doesn't work, add another line, and keep going until it works.
After that, you'll need re-enable LoadMap in UE4SS-settings.ini.

Closing because this problem is caused by custom engine changes, not by a bug in UE4SS, and a solution has been found and provided.
If someone does the reverse engineering work at some point, we can include the required VTableLayout.ini file in CustomGamesConfigs.zip.


react-native-navigation navBarHideOnScroll

Dears
I'm using wix navigation library and using navBarHideOnScroll , its works fine on android and the navbar is hidden on scroll down but its not working on IOS
Reagards

@skv-headless @brentvatne please help


Must be run multiple times when there are many nodes.

I have to run this twice to pay out all of our validators.  Is there a way to make it loop through all the required payouts ?

It should be looping through all the required payouts, and creating multiple batch transactions. (Code is here: https://github.com/canontech/staking-payouts/blob/77d823faa1b447a87236788f164fce1ad30c3632/src/services.ts#L215-L237). tl;dr the program takes all the pending payouts and greedily makes the biggest batch txs possible until all the pending payouts have been included in blocks (or exits early if there is any error sending any of the txs).
If you have a reproducible example of addresses with pending payouts I can take a look. You can dm me at @zeke:matrix.parity.io an example if you don't want to share here

Closing due to inactivity


Use cgo.Handle for state

Instead of keeping interpreter state in a homemade global map, use a library that is specifically designed for passing Go pointers back and forth to C.

Neat. Does this afford any performance benefit? Or is it one of those things that's just less stuff for this code to handle once delegated to cgo?

I'm not sure if it would have any performance benefit, but after finding that library I realized I had essentially recreated it by hand because I didn't know about it. It feels a lot cleaner to use it to me, because there are no longer any global variables in on the Go side; at least, there aren't any more in this code that you can see :)


Not handling -5.59E-05 (How handle 1+E to number field)

Hi,
I have an csv file it had some numeric field data,
sample data
Rowno       Name       USD
1                Ranjith      -5.59E-05
2                Kani          -0.00011316
3                vinu          0.0042846
copy functionality here row number  2 and 3 are inserted, but row number 1  is skipped but csv had -5.59E-05 (-0.00005592) exact value.
My concern is data factory not properly handling scientific to numeric conversion. Let me suggest right solution and your content also not covered how to handle different type of data fields.

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

ID: 5f8f06db-58d4-75b9-f150-9a1b4767cf75
Version Independent ID: 54c26e53-460a-2f6e-b4f2-86f1e8581435
Content: Copy Activity in Azure Data Factory
Content Source: articles/data-factory/copy-activity-overview.md
Service: data-factory
GitHub Login: @linda33wj
Microsoft Alias: jingwang

@RanjithPC Thank you for your post. Please let us know in case you have any specific request as the issue details do not clarify much. If you have a specific request about some documentation, please provide the link for the document so that we can help you better.

@RanjithPC Thank you for your post. Please let us know in case you have any specific request as the issue details do not clarify much. If you have a specific request about some documentation, please provide the link for the document so that we can help you better.

https://docs.microsoft.com/en-us/azure/data-factory/copy-activity-overview

Customer provided a specific document link, metadata updated and assigned to appropriate service area.

@callranjithkani As of today, ADF cannot parse scientific notation of decimals implicitly. I would recommend you to use an Azure function activity or a custom activity to first convert scientific to decimal data and then ingest it.
I would recommend you to provide feedback at the feedback forum. All the feedback you share, is closely monitored by the Data Factory Product team and implemented in future releases.
Also, Regarding service general availability, I would suggest to keep an eye on Azure updates.
Azure updates provide information about important Azure product updates, roadmap, and announcements.
Hope this helps.
I will now proceed to close this issue. Feel free to still comment and tag me if you have any queries.

I had the same issue. In ADF v2, I used the DerivedColumn task and wrote an expression to convert it to decimal, then to a long and then to a string. I used the largest decimal data type (DECIMAL(38,19)) to ensure I wouldn't have an overflow.
toString(toLong(toDecimal(ColumnName, 38, 19))) -- If you want the final value to be a string
toLong(toDecimal(ColumnName, 38, 19)) -- If you want the final value to be an integer
toDecimal(ColumnName, 38, 19) -- If you want the final value to be a decimal


DRILL-7723 - Add Excel Metadata as Implicit Fields

DRILL-7723: Add Excel Metadata as Implicit Fields
Description
Excel files contain a significant number of metadata fields in them. This PR adds the ability to access these fields via implicit columns. The columns are:
_category
_content_status
_content_type;
_creator
_description
_identifier
_keywords
_last_modified_by_user
_revision
_subject
_title
_created
_last_printed
_modified

These fields are not projected in star queries so there is no effect on existing queries.
Documentation
Updated the README.md file with the implicit field information.
Testing
Added a unit test for the metadata fields.

@cgivre, will these "implicit" columns values be populated (but not returned) every time the file is read even they aren't specified in the query?

@vvysotskyi
That is correct.  This follows the model for EVF readers where data is written to the writers and the EVF framework determines which columns to actually project.

@vvysotskyi
Any comments on this or is it good to go?

@cgivre, I'll take a look this weekend.


[Bug]: Create a table creation ticket, click New, and after the new creation is successful, there is no pop-up window on the interface

ODC version
4.3.2
OB version
no related
What happened?
Create a table creation ticket, click New, and after the new creation is successful, there is no pop-up window on the interface

What did you expect to happen?
After a table creation ticket is created, a message is displayed on the page
How can we reproduce it (as minimally and precisely as possible)?
Create a table creation ticket, click New, and after the new creation is successful, there is no pop-up window on the interface
Anything else we need to know?
No response

Fixed In Commit 6c75e27e69a337e5e73d82fc447bffc111348e89
------
畅晚
Fri Sep 13 09:57:13 2024 +0800

pass


Support configuring TLS min/max version and ECDH curves

Please provide a description of this PR:
This change adds the ability to configure TLS min/max version and ECDH curves in SDS and webhook servers by passing the following arguments to istiod: --tlsMinVersion=TLSv1_2 --tlsMaxVersion=TLSv1_3 --tlsEcdhCurves=P-256,P-384.
Issue: #41772
I verified that these options work and are respected in TLS handshakes. For example when I added --tlsEcdhCurves=P-256 to istiod arguments, the TLS handshake was as follows:

istio-ingressgateway -> istiod: Client Hello (Key Share: Group: x25519)
istiod -> istio-ingressgateway: Hello Retry Request (Key Share: Selected Group: secp256r1)
istio-ingressgateway -> istiod: Client Hello (Key Share: Group: secp256r1)
istiod -> istio-ingressgateway: Server Hello (Key Share: Group: secp256r1)

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@jewertow: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
e76c413fa486fcfab597eec9948725c12bccb57e
link
true
/test release-notes

lint_istio
e76c413fa486fcfab597eec9948725c12bccb57e
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test all

@jewertow: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio
50b5b8ee2c0560ec0f72ea7d2343ba82ad94b3c3
link
true
/test unit-tests-arm64

unit-tests_istio
50b5b8ee2c0560ec0f72ea7d2343ba82ad94b3c3
link
true
/test unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

I'm closing as we decided on the community call today.


Sort things

Things (i.e. Bookmarks and Tags should be sorteable), by name or add date.

Sorting by amount of tags/bookmarks (Respectively) would also be very useful, and is what I originally requested. :p


Pr polkadot v0.9.32

As title:

update to polkadot-v0.9.32
mainly change name "Event" -> "RuntimeEvent", etc.
add pallet_preimage
update list_benchmark! and add_benchmark! to define_benchmarks!

TODO: please update benchmark file accordingly.

The CI seems to want the protobuf compiler now. According to the substrate docs, it can be installed with:
sudo apt install --assume-yes protobuf-compiler

It would be super cool, if you can add this to the CI.

Hmm, this error is weird, do we need to update srtool maybe?

The srtool, from log, is already the latest version. Also not the --root flag problem. Still investigating...


Uncaught TypeError: Cannot read property 'stdout' of null

[Enter steps to reproduce:]

...
...

Atom: 1.15.0 x64
Electron: 1.3.13
OS: elementary OS
Thrown From: Atom Core
Stack Trace
Uncaught TypeError: Cannot read property 'stdout' of null
At events.js:160

TypeError: Cannot read property 'stdout' of null
  at Object.user.git.name (/usr/local/lib/node_modules/generator-angular2-webpack-class/node_modules/yeoman-generator/lib/actions/user.js:30:70)
  at constructor.prompting (/usr/local/lib/node_modules/generator-angular2-webpack-class/app/index.js:94:32)
  at Object.<anonymous> (/usr/local/lib/node_modules/generator-angular2-webpack-class/node_modules/yeoman-generator/lib/base.js:439:23)
  at /usr/local/lib/node_modules/generator-angular2-webpack-class/node_modules/run-async/index.js:25:25
  at /usr/local/lib/node_modules/generator-angular2-webpack-class/node_modules/run-async/index.js:24:19
  at /usr/local/lib/node_modules/generator-angular2-webpack-class/node_modules/yeoman-generator/lib/base.js:440:9
  at runCallback (timers.js:574:20)
  at tryOnImmediate (timers.js:554:5)
  at processImmediate [as _immediateCallback] (timers.js:533:5)

Commands
     -3:11.7.0 intentions:highlight (input.hidden-input)
     -3:09.8.0 yo:yeoman (input.hidden-input)
     -3:07.7.0 core:confirm (input.hidden-input)
     -1:02.2.0 vim-mode-plus:activate-normal-mode (input.hidden-input)
  3x -1:01.7.0 vim-mode-plus:reset-normal-mode (input.hidden-input)
     -0:28.5.0 yo:yeoman (div.nuclide-file-tree.focusable-panel.tree-view)

Non-Core Packages
activate-power-mode 1.4.0
advanced-open-file 0.16.6
angular-2-typeScript-snippets 0.6.3
angular2-webpack-class-meanstack 0.0.0
angularjs 0.4.0
atom-beautify 0.29.17
atom-html-preview 0.1.22
atom-material-syntax 1.0.2
atom-material-ui 1.3.9
atom-terminal 0.8.0
atom-ternjs 0.18.2
atom-typescript 11.0.1
atom-yeoman 0.3.15
autoclose-html 0.23.0
autocomplete-paths 1.0.5
bottom-dock 0.4.4
busy-signal 1.3.0
color-picker 2.2.5
dalek 0.2.1
docblockr 0.9.4
eclipse-keybindings 0.9.0
editorconfig 2.2.2
emmet 2.4.3
file-icons 2.1.2
fonts 2.0.0
git-clone 0.2.0
git-control 0.9.0
git-diff-details 1.4.0
git-log 0.4.1
git-plus 7.3.3
git-projects 1.17.0
git-status 0.3.4
git-time-machine 1.5.9
gitignore-snippets 0.2.5
gulp-manager 0.2.19
highlight-selected 0.13.1
indent-guide-improved 1.4.12
intentions 1.1.2
javascript-snippets 1.2.1
language-apache 1.7.0
language-babel 2.57.2
language-docker 1.1.7
language-log 1.8.0
linter 2.1.2
linter-csslint 1.3.4
linter-htmlhint 1.3.3
linter-jsonlint 1.3.0
linter-sass-lint 1.7.4
linter-scss-lint 3.1.0
linter-tslint 0.15.0
linter-ui-default 1.2.2
linter-write-good 0.9.0
markdown-pdf 1.5.0
markdown-preview-plus 2.4.9
markdown-writer 2.6.4
minimap 4.27.1
minimap-find-and-replace 4.5.2
minimap-highlight-selected 4.6.1
node-debugger 1.10.1
nord-atom-syntax 0.7.0
nord-atom-ui 0.11.0
nuclide 0.216.0
open-in-browser 0.5.0
pdf-view 0.57.0
php-twig 4.0.0
pigments 0.39.1
platformio-ide-terminal 2.5.0
pretty-json 1.6.3
project-manager 3.3.4
remote-edit 1.9.0
Remote-FTP 0.10.7
sass-autocompile 0.13.3
script 3.14.1
split-diff 1.3.0
Sublime-Style-Column-Selection 1.7.4
sync-settings 0.8.1
todo-show 1.11.0
tomorrow-night-eighties-syntax 1.0.2
tree-view-git-branch 0.1.2
tree-view-git-status 1.3.1
vim-mode-plus 0.87.0
zentabs 0.8.8

Thanks for contributing!
It appears that this is being caused by the yeoman package, not Atom itself. It may be that there is still a bug in Atom. If so, we'll need the maintainer of the package that is causing the problem to help track that down. You should file this issue on their repository so they can either fix the problem or tell us where the problem is coming from. The Atom FAQ has information on how to contact the maintainers of any Atom community package or theme.


"expiresIn" option not working with sequelize object

The token is created but never expires. I am getting the object from a query to a relational db with the sequelize package. Code example:
models.User.findOne({ where: {username: req.body.name} }) //Returns an object user or null
.then(function(user) {
    if (user) {
        console.log(typeof user); //Logs "object"
        // Check if password matches
        if (user.password != req.body.pass) {
            res.json({ message: 'Authentication failed. Wrong password.' });
        } else {
            // If user is found and password is right create a token
            var token = jwt.sign(
                user,
                'shhhhh',
                {
                    expiresIn: 60 // expires in 1 minute
                }
            );

            // Shows the token
            console.log(token);
        }
    } else {
        console.log("User not found");
    }

}).catch(function(error){
    whatever...
});

I am using a similar method, except that I only use only the username as token:
    User.findOne({username: username}, (err, user) => {
      if (err) {
        return done(err, false);
      }
      if (!user) {
        return done(null, false, {message: 'Invalid credentials'});
      }
      bcrypt.compare(password, user.password, (err, isMatching) => {
        if (err) {
          return done(err, false);
        }
        if (!isMatching) {
          return done(null, false, {message: 'Invalid credentials'});
        }

        var token = jwt.sign({user: user.username}, config.secrets.jwt, {
          expiresIn: '10m',
          algorithm: 'HS256'
        });
        user.token = token;
        User.update({_id: user._id}, {token: user.token, reauth: false}, () => {
          user = _.pick(user, ['username', 'token']);
          return done(null, user);
        });
      });
    });

What infos does decoding your token give on http://jwt.io/ ?

I'm using a similar way to sign the token and am occurring the same problem at the moment. Everything works fine, however the token doesn't seem to expire. I'm storing the token in the localstorage of the browser, but if I'm correct the token needs to expire server side right?

Didn't update for some time, will try it in the next weeks again

@MariusRumpf I got "Invalid signature" although I am using HS256.
In the details I get "Decoded edit the payload and secret (only HS256 supported)"
I must be doing something wrong because even with dummy data it does not pass the validation of jwt.io:
models.User.findOne({ where: {username: req.body.name} }) //Returns an object user or null
	.then(function(user) {
		if (user) {
        console.log(typeof user); //Logs "object"
        // Check if password matches
        if (user.password != req.body.pass) {
        	res.json({ message: 'Authentication failed. Wrong password.' });
        } else {
            // If user is found and password is right create a token
            var profile = {
            	first_name: 'John',
            	last_name: 'Doe',
            	email<EMAIL_ADDRESS>            	id: 123
            };
			//I make sure it is a json object
			var token = jwt.sign(
				profile,
				'shhhhh',
				{
                    expiresIn: 60 // expires in 1 minute
                }
                );

            // Shows the token
            console.log(token);
        }
    } else {
    	console.log("User not found");
    }

	}).catch(function(error){
		whatever...
	});

I think, i have the same problem.
But i have a workaround:
jwt.sign({user: user}, app.get('superSecret')...

@gugol2 I think, i have the same problem.
But i have a workaround:
jwt.sign({user: user}, app.get('superSecret')...

@pjanfred that did not solve anything in my case.
Here is the result I get from (jwt.io)[https://drive.google.com/file/d/0B0H0yoU_S0tvb0dLSjRmaHplcGs/view?usp=sharing]

@gugol2 Can you tell me what debugger you use? I will test it with my secrect key.

@pjanfred thats https://jwt.io
@gugol2 In your screenshot I can see that the token doesn't have expiration. what version of jsonwebtoken are you using? You might be using an older version that doesn't support the expiresIn parameter, it used to be called expiresInSecond

@jfromaniello Thank you :)
@gugol2 At the moment i don´t have further ideas. Can you show us the part of your sourcecode?

@gugol2 Tested my posted example again, it works correct for me. The tokens decode as expected on https://jwt.io

I, too, ran into this issue upon getting back an object from MongoDB's model I created. I passed the object itself directly on to jwt.sign() as a payload.
Debugging within the jwt.sign() function pointed out that it did call payload.exp = ... setting. However, this did not affect the object.
The solution for me was to create  a new object and pass it on as payload. This might be due to ES2015's const?
In either case, I'd propose that the payload could be a new object with parameters and the original payload that's passed on to the function is encapsulated in this new object, like so:
var payload = {
     exp: expirationTimestamp,
     data: originalPayload
};

This would prevent any properties from the original payload from being overwritten.

I had this problem as well, it is because Mongoose and other libraries extend the stringify/toJSON methods of those model objects. (I dont remember how)
In case of mongoose, its enough for you to call modelObject.toJSON() and it solves the issue. Just tested here.

@jfromaniello from my packaje.json: "jsonwebtoken": "~5.4.1"

Using version "jsonwebtoken": "^5.5.0" and getting error:
Unhandled rejection Error: "expiresIn" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60
regardless of option use.
var token = jwt.sign(user.email, 'superSecret', { expiresIn: '1d' }); // Expire in 24 nours

I think I found the cause of the problems reported here. This library was trying to modify the input payload directly which was a bad design, this might broke when the payload has been sealed with Object.seal or Object.freeze.
Please try with version: 5.5.2 and let me know.

I had this problem too. Switching back to 5.4.1 corrected it.

After all the help provided here I kind of found the issue. I apologize for my delayed answers and my lack of thoroughness along the procedure.

@MariusRumpf first example worked ok but I didn't know why nor how to use http://jwt.io properly at that moment.

The workaround  of @pjanfred was also correct, just like @MariusRumpf passing an object straight away to jwt.

@lucastschmidt hit the nail though, "Mongoose and other libraries extend the stringify/toJSON methods of those model objects".

So my conclusions are (using version: "jsonwebtoken": "~5.4.1") to get your token to expire you can do any of these two things:

Create and fill the object yourself and pass it to jwt (Sequelize or Mongoose objects may not be in JSON notation).

Call modelObject.toJSON() on your object before passing it to jwt.

IMHO probably the first option is better because you can pass just the minimum info in your token.
Thanks to everybody.
Cheers!

@gugol2 for mongoose objects you should use jwt.sign(doc.toObject(), {..});
notice the toObject() call.

Correct @gugol2 , you shouldnt pass the plain mongoose object, since that object may contain properties like hashed password or some other private stuff that shouldnt be available on a token (that can be freely read by anyone).

so solve this myself, I just did the following when your data is a string such as encrypting your payload before jwt tokenizing.
var options = {
'expiresIn': '1h'
};
var payload = { encTokenData: encStringTokenData };
var token = jwt.sign(payload, 'yoursecret', options);

use dataValues, not just Obj.
ex:
const token = jwt.sign(user.dataValues, env.SECRET, {
expiresIn: 604800 // 1 week
});

`const express = require("express")
const users = express.Router()
const cors = require('cors')
const jwt = require("jsonwebtoken")
const bcrypt =require('bcryptjs')
const User = require("../models/User")
users.use(cors())
process.env.SECRET_KEY ='secret'
users.post('/register',(req, res)=>{
const today  = new Date()
const userData={
first_name: req.body.first_name,
last_name: req.body.last_name,
email: req.body.email,
mobile_no: req.body.mobile_no,
created: today,
active: req.body.active,
password: req.body.password
}
User.findOne({
where:{
email: req.body.email
}
})
.then(user =>{
if(!user){
bcrypt.hash(req.body.password,10,(err, hash) =>{
userData.password =hash
User.create(userData)
.then(user =>{
res.json({status: user.email + ' registered'})
})
.catch(err =>{
res.send('error:' + err)
})
})
}else {
res.json({error: " User already exists"})
}
})
.catch(err => {
res.send('error:'+ err)
})
})
users.post('/login',(req, res)=>{
User.findOne({
where:{
email:req.body.email
}
})
.then(user =>{
if(user){
if(bcrypt.compareSync(req.body.password, user.password)){
let token = jwt.sign(user.dataValues, process.env.SECRET_KEY,{
expiresIn: 10000
})
res.send(token)
}
}else{
res.status(400).json({error: ' User does not Exist'})
    }
})
.catch(err =>{
    res.status(400).json({error: err})
})

})
module.exports = users;
`
I am able to Register users, i get a response when i login with a wrong password, but the correct password does not send any response when i test it on postman [am a newbie]


Theme: Page jumps to top when server-page refreshes (on Safari)

When on a page which updates itself during the process such as software update or a verbose cron job the page keeps jumping very quickly back to the top and only stops when the process has finished.
I'm not sure which version this started with as it has been going on for I would say at least a couple of months. I have only tested this in Safari so next time I will try Chrome and the server has been re-booted since it first began.
Authentic 18.10, Virtualmin 5.04.gpl, Webmin 1.810, CSF 9.22, CentOS 6, Safari 9, Mac

Alright, I will try to reproduce it in Safari on MacBook.

Confirmed and will be fixed in 18.20

Version 18.20 is out, please upgrade.

Version 18.20 is out, please upgrade.

Good job thanks for sorting and also the CSF issue. One point though I see you have added arrows in the drop down menu of the virtual servers under Virtualmin and which arrow depends on whether it is an alias or sub server. Frankly this is somewhat annoying as it now looks too cluttered and is unnecessary as these have different levels of indent anyhow.

It was done in response to:
https://github.com/qooob/authentic-theme/issues/466

I have always been able to view the different padding. There is no mention in that thread about which browser they are using in not being able to see this. Rather than adding the arrows as content surely it would have been better to use the pseudo class before on the li tag then at least one could edit it in the css.

I'll try making it optional in 18.30

@applejack1923 https://github.com/qooob/authentic-theme/issues/569


white screen after adding asset files to app

Hello,
The App worked fine until i add i the code for loading strings from an asset file,
The problem is, the app shows ONLY a white screen on launch, and black screen, if dark mode is enabled,
I even kept it as it is for a few minutes, but no change...
Original and Working code:
(Uses a List to display a ListView)
import 'package:flutter/material.dart';

List<String> sot = <String>[
"1st line",
"2nd line",
"3rd tine",
];

void main() {
  runApp(
    const MyApp(),
  );
}

Intended but NOT Working code:
import 'dart:core';
import 'dart:async' show Future;

import 'package:flutter/material.dart';
import 'package:flutter/services.dart' show rootBundle;

List<String> sot = <String>[
"", "", "",
]

void main() async {
  String str = await rootBundle.loadString('assets/sot.txt');
  sot = str.split('\n');
  runApp(
    const MyApp(),
  );
}

Thanking you...
flutter doctor -v:
[✓] Flutter (Channel stable, 2.8.1, on Arch Linux 5.15.14-1-lts, locale en_US.UTF-8)
    • Flutter version 2.8.1 at /home/u1/bin/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (5 weeks ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /home/u1/bin/AndroidSDK/
    • Platform android-32, build-tools 32.0.0
    • Java binary at: /home/u1/bin/idea-IC-213.6461.79/jbr/bin/java
    • Java version OpenJDK Runtime Environment JBR-<IP_ADDRESS>-1751.21-jcef (build 11.0.13+7-b1751.21)
    • All Android licenses accepted.

[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[☠] IntelliJ IDEA Community Edition (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    ✗ FormatException: Unexpected extension byte (at offset 5)
    • #0      _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1789:7)
      #1      Utf8Decoder.convert (dart:convert/utf.dart:318:42)
      #2      InputStream.readString (package:archive/src/util/input_stream.dart:207:30)
      #3      new ZipDirectory.read (package:archive/src/zip/zip_directory.dart:40:30)
      #4      ZipDecoder.decodeBuffer (package:archive/src/zip_decoder.dart:19:30)
      #5      ZipDecoder.decodeBytes (package:archive/src/zip_decoder.dart:14:12)
      #6      IntelliJPlugins._findPluginXml (package:flutter_tools/src/intellij/intellij.dart:130:44)
      #7      IntelliJPlugins._readPackageVersion (package:flutter_tools/src/intellij/intellij.dart:141:40)
      #8      IntelliJPlugins.validatePackage (package:flutter_tools/src/intellij/intellij.dart:63:35)
      #9      IntelliJValidator.validate (package:flutter_tools/src/intellij/intellij_validator.dart:103:15)
      #10     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
      #11     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:109:18)
      #12     _rootRun (dart:async/zone.dart:1428:13)
      #13     _CustomZone.run (dart:async/zone.dart:1328:19)
      #14     _runZoned (dart:async/zone.dart:1863:10)
      #15     runZonedGuarded (dart:async/zone.dart:1851:12)
      #16     runZoned (dart:async/zone.dart:1782:12)
      #17     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #18     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:197:9)
      #19     Doctor.diagnose (package:flutter_tools/src/doctor.dart:301:47)
      #20     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:53:47)
      #21     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1290:12)
      <asynchronous suspension>
      #22     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1140:27)
      <asynchronous suspension>
      #23     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #24     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
      <asynchronous suspension>
      #25     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
      <asynchronous suspension>
      #26     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
      <asynchronous suspension>
      #28     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
      <asynchronous suspension>
      #29     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #30     main (package:flutter_tools/executable.dart:94:3)
      <asynchronous suspension>

[!] Connected device
    ! No devices available

! Doctor found issues in 4 categories.

flutter run -v is as follows:
[ +121 ms] executing: uname -m
[  +47 ms] Exit code 0 from: uname -m
[        ] x86_64
[  +12 ms] executing: [/home/u1/bin/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +6 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 77d935af4db863f6abd0b9c31c7e6df2a13de57b
[        ] executing: [/home/u1/bin/flutter/] git tag --points-at 77d935af4db863f6abd0b9c31c7e6df2a13de57b
[  +18 ms] Exit code 0 from: git tag --points-at 77d935af4db863f6abd0b9c31c7e6df2a13de57b
[        ] 2.8.1
[  +11 ms] executing: [/home/u1/bin/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +6 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/home/u1/bin/flutter/] git ls-remote --get-url origin
[   +5 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +140 ms] executing: [/home/u1/bin/flutter/] git rev-parse --abbrev-ref HEAD
[   +9 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[ +152 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +135 ms] executing: /home/u1/bin/AndroidSDK/platform-tools/adb devices -l
[  +56 ms] List of devices attached
           emulator-5554          device product:sdk_phone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:7
[   +9 ms] /home/u1/bin/AndroidSDK/platform-tools/adb -s emulator-5554 shell getprop
[ +283 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +154 ms] Skipping pub get: version match.
[ +193 ms] Generating /home/u1/IdeaProjects/apnosis/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +58 ms] ro.hardware = ranchu
[  +28 ms] Using hardware rendering with device Android SDK built for x86. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
[  +50 ms] Initializing file store
[  +14 ms] Skipping target: gen_localizations
[   +8 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /home/u1/IdeaProjects/apnosis/.dart_tool/package_config_subset}
[  +31 ms] gen_dart_plugin_registrant: Complete
[   +3 ms] Skipping target: _composite
[   +2 ms] complete
[   +9 ms] Launching lib/main.dart on Android SDK built for x86 in debug mode...
[   +6 ms] /home/u1/bin/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/u1/bin/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/u1/bin/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill /tmp/flutter_tools.MVRUGB/flutter_tool.FZSWRU/app.dill --packages /home/u1/IdeaProjects/apnosis/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build/c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --enable-experiment=alternative-invalidation-strategy
[  +14 ms] executing: /home/u1/bin/AndroidSDK/build-tools/32.0.0/aapt dump xmltree /home/u1/IdeaProjects/apnosis/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[   +5 ms] Exit code 0 from: /home/u1/bin/AndroidSDK/build-tools/32.0.0/aapt dump xmltree /home/u1/IdeaProjects/apnosis/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1f
               A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12")
               A: package="ind.chd.platform.apnosis.apnosis" (Raw: "ind.chd.platform.apnosis.apnosis")
               A: platformBuildVersionCode=(type 0x10)0x1f
               A: platformBuildVersionName=(type 0x10)0xc
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="apnosis" (Raw: "apnosis")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="android.app.Application" (Raw: "android.app.Application")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=22)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="ind.chd.platform.apnosis.apnosis.MainActivity" (Raw: "ind.chd.platform.apnosis.apnosis.MainActivity")
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=37)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=41)
                     E: action (line=42)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=44)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=51)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +8 ms] executing: /home/u1/bin/AndroidSDK/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[   +8 ms] <- compile package:apnosis/main.dart
[+1556 ms] --------- beginning of kernel
           01-22 15:13:58.972 D/logd    (    0): logdr: UID=2000 GID=2000 PID=3193 n tail=1 logMask=99 pid=0 start=0ns timeout=0ns
[  +13 ms] executing: /home/u1/bin/AndroidSDK/platform-tools/adb version
[  +28 ms] Android Debug Bridge version 1.0.41
           Version 31.0.3-7562133
           Installed as /home/u1/bin/AndroidSDK/platform-tools/adb
[   +2 ms] executing: /home/u1/bin/AndroidSDK/platform-tools/adb start-server
[  +16 ms] Building APK
[  +53 ms] Running Gradle task 'assembleDebug'...
[   +5 ms] Using gradle from /home/u1/IdeaProjects/apnosis/android/gradlew.
[  +52 ms] executing: [/home/u1/IdeaProjects/apnosis/android/] /home/u1/IdeaProjects/apnosis/android/gradlew -Pverbose=true -Ptarget-platform=android-x86 -Ptarget=/home/u1/IdeaProjects/apnosis/lib/main.dart -Pbase-application-name=android.app.Application -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+6310 ms] > Task :app:compileFlutterBuildDebug
[        ] [ +190 ms] executing: uname -m
[        ] [  +93 ms] Exit code 0 from: uname -m
[        ] [        ] x86_64
[        ] [  +12 ms] executing: [/home/u1/bin/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +15 ms] [  +19 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] 77d935af4db863f6abd0b9c31c7e6df2a13de57b
[        ] [        ] executing: [/home/u1/bin/flutter/] git tag --points-at 77d935af4db863f6abd0b9c31c7e6df2a13de57b
[        ] [  +33 ms] Exit code 0 from: git tag --points-at 77d935af4db863f6abd0b9c31c7e6df2a13de57b
[        ] [        ] 2.8.1
[        ] [  +22 ms] executing: [/home/u1/bin/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/stable
[        ] [        ] executing: [/home/u1/bin/flutter/] git ls-remote --get-url origin
[        ] [   +8 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [ +133 ms] executing: [/home/u1/bin/flutter/] git rev-parse --abbrev-ref HEAD
[        ] [  +10 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[        ] [ +116 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +8 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +6 ms] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [ +228 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [   +6 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +62 ms] Initializing file store
[        ] [  +41 ms] Skipping target: gen_localizations
[        ] [  +36 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /home/u1/IdeaProjects/apnosis/.dart_tool/package_config_subset}
[        ] [ +102 ms] gen_dart_plugin_registrant: Complete
[        ] [   +5 ms] kernel_snapshot: Starting due to {}
[        ] [  +35 ms] /home/u1/bin/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/u1/bin/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/u1/bin/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --no-link-platform --packages /home/u1/IdeaProjects/apnosis/.dart_tool/package_config.json --output-dill /home/u1/IdeaProjects/apnosis/.dart_tool/flutter_build/af397a5cdcb992be5665d74a284a2558/app.dill --depfile /home/u1/IdeaProjects/apnosis/.dart_tool/flutter_build/af397a5cdcb992be5665d74a284a2558/kernel_snapshot.d package:apnosis/main.dart
[+24128 ms] [+24135 ms] kernel_snapshot: Complete
[ +799 ms] [ +839 ms] debug_android_application: Starting due to {}
[ +199 ms] [ +226 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun. for more information see #56466.
[ +100 ms] [  +55 ms] debug_android_application: Complete
[+1007 ms] [ +981 ms] Persisting file store
[        ] [  +11 ms] Done persisting file store
[   +2 ms] [   +7 ms] build succeeded.
[        ] [  +11 ms] "flutter assemble" took 26,843ms.
[        ] [   +5 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[ +288 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[ +100 ms] > Task :app:checkDebugAarMetadata UP-TO-DATE
[        ] > Task :app:cleanMergeDebugAssets
[        ] > Task :app:mergeDebugShaders UP-TO-DATE
[        ] > Task :app:compileDebugShaders NO-SOURCE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[  +98 ms] > Task :app:mergeDebugAssets
[ +600 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] > Task :app:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :app:processDebugMainManifest UP-TO-DATE
[        ] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugManifestForPackage UP-TO-DATE
[  +98 ms] > Task :app:processDebugResources UP-TO-DATE
[ +100 ms] > Task :app:compileDebugKotlin UP-TO-DATE
[        ] > Task :app:javaPreCompileDebug UP-TO-DATE
[        ] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :app:compileDebugSources UP-TO-DATE
[        ] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[        ] > Task :app:compressDebugAssets UP-TO-DATE
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :app:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[        ] > Task :app:dexBuilderDebug UP-TO-DATE
[        ] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[  +99 ms] > Task :app:mergeExtDexDebug UP-TO-DATE
[        ] > Task :app:mergeDexDebug UP-TO-DATE
[        ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[        ] > Task :app:packageDebug UP-TO-DATE
[ +183 ms] > Task :app:assembleDebug
[        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[        ] BUILD SUCCESSFUL in 33s
[        ] 32 actionable tasks: 5 executed, 27 up-to-date
[ +347 ms] Running Gradle task 'assembleDebug'... (completed in 34.5s)
[  +88 ms] calculateSha: LocalDirectory: '/home/u1/IdeaProjects/apnosis/build/app/outputs/flutter-apk'/app.apk
[+1077 ms] ✓  Built build/app/outputs/flutter-apk/app-debug.apk.
[   +2 ms] executing: /home/u1/bin/AndroidSDK/build-tools/32.0.0/aapt dump xmltree /home/u1/IdeaProjects/apnosis/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[  +11 ms] Exit code 0 from: /home/u1/bin/AndroidSDK/build-tools/32.0.0/aapt dump xmltree /home/u1/IdeaProjects/apnosis/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1f
               A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12")
               A: package="ind.chd.platform.apnosis.apnosis" (Raw: "ind.chd.platform.apnosis.apnosis")
               A: platformBuildVersionCode=(type 0x10)0x1f
               A: platformBuildVersionName=(type 0x10)0xc
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="apnosis" (Raw: "apnosis")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="android.app.Application" (Raw: "android.app.Application")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=22)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="ind.chd.platform.apnosis.apnosis.MainActivity" (Raw: "ind.chd.platform.apnosis.apnosis.MainActivity")
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=37)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=41)
                     E: action (line=42)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=44)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=51)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +4 ms] Stopping app 'app.apk' on Android SDK built for x86.
[        ] executing: /home/u1/bin/AndroidSDK/platform-tools/adb -s emulator-5554 shell am force-stop ind.chd.platform.apnosis.apnosis
[ +108 ms] executing: /home/u1/bin/AndroidSDK/platform-tools/adb -s emulator-5554 shell pm list packages ind.chd.platform.apnosis.apnosis
[  +77 ms] Installing APK.
[   +1 ms] Installing build/app/outputs/flutter-apk/app.apk...
[        ] executing: /home/u1/bin/AndroidSDK/platform-tools/adb -s emulator-5554 install -t -r /home/u1/IdeaProjects/apnosis/build/app/outputs/flutter-apk/app.apk
[+5318 ms] Performing Streamed Install
           Success
[        ] Installing build/app/outputs/flutter-apk/app.apk... (completed in 5.3s)
[   +1 ms] executing: /home/u1/bin/AndroidSDK/platform-tools/adb -s emulator-5554 shell echo -n 9d1f05cb716b091b5696f22bd485f2f6a791e6a3 > /data/local/tmp/sky.ind.chd.platform.apnosis.apnosis.sha1
[ +182 ms] executing: /home/u1/bin/AndroidSDK/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[ +403 ms] --------- beginning of system
           01-22 15:14:42.037 W/VoiceInteractionManager(  505): no available voice interaction services found for user 0
[   +9 ms] executing: /home/u1/bin/AndroidSDK/platform-tools/adb -s emulator-5554 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true ind.chd.platform.apnosis.apnosis/ind.chd.platform.apnosis.apnosis.MainActivity
[ +238 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=ind.chd.platform.apnosis.apnosis/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[+2792 ms] Observatory URL on device: http://<IP_ADDRESS>:41239/mqt-FavnhMg=/
[   +1 ms] executing: /home/u1/bin/AndroidSDK/platform-tools/adb -s emulator-5554 forward tcp:0 tcp:41239
[   +9 ms] 34231
[        ] Forwarded host port 34231 to device port 41239 for Observatory
[   +8 ms] Caching compiled dill
[  +64 ms] Connecting to service protocol: http://<IP_ADDRESS>:34231/mqt-FavnhMg=/
[ +367 ms] Launching a Dart Developer Service (DDS) instance at http://<IP_ADDRESS>:0, connecting to VM service at http://<IP_ADDRESS>:34231/mqt-FavnhMg=/.
[ +607 ms] DDS is listening at http://<IP_ADDRESS>:46635/aHLuKSZ3tPk=/.
[  +57 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:34231/mqt-FavnhMg=/
[ +117 ms] DevFS: Creating new filesystem on the device (null)
[  +45 ms] DevFS: Created new filesystem on the device (file:///data/user/0/ind.chd.platform.apnosis.apnosis/code_cache/apnosisKZLWUJ/apnosis/)
[   +2 ms] Updating assets
[ +205 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun. for more information see #56466.
[   +5 ms] Syncing files to device Android SDK built for x86...
[  +13 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +2 ms] <- recompile package:apnosis/main.dart cba8f383-9d27-4f61-a58e-310a7dfd407d
[   +4 ms] <- cba8f383-9d27-4f61-a58e-310a7dfd407d
[  +17 ms] E/flutter ( 3383): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: Null check operator used on a null value
[        ] E/flutter ( 3383): #0      PlatformAssetBundle.load (package:flutter/src/services/asset_bundle.dart:235:39)
[        ] E/flutter ( 3383): #1      AssetBundle.loadString (package:flutter/src/services/asset_bundle.dart:72:33)
[        ] E/flutter ( 3383): #2      CachingAssetBundle.loadString.<anonymous closure> (package:flutter/src/services/asset_bundle.dart:172:56)
[        ] E/flutter ( 3383): #3      _LinkedHashMapMixin.putIfAbsent (dart:collection-patch/compact_hash.dart:453:23)
[        ] E/flutter ( 3383): #4      CachingAssetBundle.loadString (package:flutter/src/services/asset_bundle.dart:172:27)
[        ] E/flutter ( 3383): #5      main (package:apnosis/main.dart:227:34)
[        ] E/flutter ( 3383): #6      _runMainZoned.<anonymous closure>.<anonymous closure> (dart:ui/hooks.dart:129:25)
[        ] E/flutter ( 3383): #7      _rootRun (dart:async/zone.dart:1428:13)
[        ] E/flutter ( 3383): #8      _CustomZone.run (dart:async/zone.dart:1328:19)
[        ] E/flutter ( 3383): #9      _runZoned (dart:async/zone.dart:1863:10)
[        ] E/flutter ( 3383): #10     runZonedGuarded (dart:async/zone.dart:1851:12)
[        ] E/flutter ( 3383): #11     _runMainZoned.<anonymous closure> (dart:ui/hooks.dart:125:5)
[        ] E/flutter ( 3383): #12     _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:297:19)
[        ] E/flutter ( 3383): #13     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:192:12)
[        ] E/flutter ( 3383):
[ +132 ms] Updating files.
[        ] DevFS: Sync finished
[   +1 ms] Syncing files to device Android SDK built for x86... (completed in 161ms)
[        ] Synced 0.0MB.
[  +13 ms] <- accept
[   +5 ms] Connected to _flutterView/0xee54cd50.
[   +2 ms] Flutter run key commands.
[   +1 ms] r Hot reload. 🔥🔥🔥
[        ] R Hot restart.
[        ] h List all available interactive commands.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] 💪 Running with sound null safety 💪
[        ] An Observatory debugger and profiler on Android SDK built for x86 is available at: http://<IP_ADDRESS>:46635/aHLuKSZ3tPk=/
[+41679 ms] Service protocol connection closed.
[        ] Lost connection to device.
[   +2 ms] DevFS: Deleting filesystem on the device (file:///data/user/0/ind.chd.platform.apnosis.apnosis/code_cache/apnosisKZLWUJ/apnosis/)
[ +253 ms] Ignored error while cleaning up DevFS: TimeoutException after 0:00:00.250000: Future not completed
[   +9 ms] "flutter run" took 91,350ms.
[   +3 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 0

Try doing these

change void to Future
add WidgetsFlutterBinding.ensureInitialized(); at very start of void main

import 'dart:core';
import 'dart:async' show Future;

import 'package:flutter/material.dart';
import 'package:flutter/services.dart' show rootBundle;

List<String> sot = <String>[
"", "", "",
]

Future main() async {
  WidgetsFlutterBinding.ensureInitialized();
  String str = await rootBundle.loadString('assets/sot.txt');
  sot = str.split('\n');
  runApp(
    const MyApp(),
  );
}

OR
Try checking if your /sot.txt is added in pubsec.yaml and is actually present in assets folder

Try doing these
1. change `void` to `Future`

2. add `WidgetsFlutterBinding.ensureInitialized();` at very start of void main

import 'dart:core';
import 'dart:async' show Future;

import 'package:flutter/material.dart';
import 'package:flutter/services.dart' show rootBundle;

List<String> sot = <String>[
"", "", "",
]

Future main() async {
  WidgetsFlutterBinding.ensureInitialized();
  String str = await rootBundle.loadString('assets/sot.txt');
  sot = str.split('\n');
  runApp(
    const MyApp(),
  );
}

OR
Try checking if your /sot.txt is added in pubsec.yaml and is actually present in assets folder

Hello,
Thank you for the help,
The app is now starting at least, but with an initial delay of ~5 seconds,
What i think solved the launching problem is
  WidgetsFlutterBinding.ensureInitialized();


 One remaining functionality that I use it for is list spot prices for machines. It just dumps it as JSON, but it might be nice to have CLI support:
packet spot prices --loc "ams1" # filters by location
packet spot prices --sku "baremetal_1e" # filters to single sku
packet spot prices --sku "baremetal_1e" --loc "ams1" # both

(Maybe spot_prices? Not sure if there's other "spot" commands, maybe for spot reservations?)

Hey @colemickens you can also use https://github.com/t0mk/packetjq for this if you want. I illustrated the queries that you need in the readme. Check it out:
https://github.com/t0mk/packetjq#show-spot-price-of-a-plan-across-facilities