[gui error report] Error: Initializing daemon...

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

OS: darwin
IPFS Desktop Version: 0.20.5
Electron Version: 18.0.3
Chrome Version: 100.0.4896.75

Error
Error: Initializing daemon...
go-ipfs version: 0.12.2
Repo version: 12
System version: amd64/darwin
Golang version: go1.16.15
Found outdated fs-repo, migrations need to be run.
Looking for suitable migration binaries.
Need 1 migrations, downloading.
Downloading migration: fs-repo-11-to-12...
Fetching with HTTP: "https://ipfs.io/ipfs/QmdaCHYBDHEhXCMoynH5UcohEay6m1XayZCcxWZzKAHNVN/fs-repo-11-to-12/versions"
Fetching with HTTP: "https://ipfs.io/ipfs/QmdaCHYBDHEhXCMoynH5UcohEay6m1XayZCcxWZzKAHNVN/fs-repo-11-to-12/versions"
Fetching with HTTP: "https://ipfs.io/ipfs/QmdaCHYBDHEhXCMoynH5UcohEay6m1XayZCcxWZzKAHNVN/fs-repo-11-to-12/versions"
Error fetching: exceeded number of retries. last error was http.DefaultClient.Do error: Get "https://ipfs.io/ipfs/QmdaCHYBDHEhXCMoynH5UcohEay6m1XayZCcxWZzKAHNVN/fs-repo-11-to-12/versions": dial tcp <IP_ADDRESS>:443: i/o timeout
Fetching with IPFS: "fs-repo-11-to-12/versions"
Error fetching: context deadline exceeded
could not get latest version of migration fs-repo-11-to-12: 2 errors occurred:
	* exceeded number of retries. last error was http.DefaultClient.Do error: Get "https://ipfs.io/ipfs/QmdaCHYBDHEhXCMoynH5UcohEay6m1XayZCcxWZzKAHNVN/fs-repo-11-to-12/versions": dial tcp <IP_ADDRESS>:443: i/o timeout
	* cont

@ljoez was your internet  down, or were  you behind a restrictive firewall?

@ljoez this is a fairly frequent problem when users experience connectivity issues, need a VPN, or other network issues.
You can find similar issues at https://github.com/ipfs/ipfs-desktop/search?q=context+deadline+exceeded&type=issues
Also, if it helps, you can perform some diagnostics using https://ipfs-check.on.fleek.co/
https://pl-diagnose.on.fleek.co/.

Continued in https://github.com/ipfs/go-ipfs/issues/8911

Duplicate of #2023


Typescript support?

I was trying to use it in a typescript based project. Does it have typescript support? If not - any easy way to get it working with typescript?
And finally if you have plan to official support typescript?

Hi,
Sorry, I don't know how to use TypeScript, but I found this
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/js-md5/md5.d.ts
Maybe you can upgrade it.

Yes. Thats the one I was looking. Thank you very much for your help!


Support / documentation for usage of input_text flags INPUT_TEXT_CALLBACK_ALWAYS and INPUT_TEXT_CALLBACK_CHAR_FILTER

These two flags are described thus in https://pyimgui.readthedocs.io:

imgui.INPUT_TEXT_CALLBACK_ALWAYS = 256
Call user function every time. User code may query cursor position, modify text buffer.

imgui.INPUT_TEXT_CALLBACK_CHAR_FILTER = 512
Call user function to filter character. Modify data->EventChar to replace/filter input, or return 1 to discard character.

But I can't figure out how to use this functionality, or if it's even exposed in pyimgui. I'm an imgui newbie and the rest of the documentation has been very good and helpful!

Hello, as far as I know, I don't think that those flags are usable in pyimgui for now. Those would be of interest when you pass a callback function to input (e.g. InputText()). I took a quick look at the code, and the callback parameter of imgui is not used by pyimgui, NULL is always passed, and the callback function is not at all part of pyimgui input_text() prototype. I don't know if this is due to a technical complication with callback functionality or if it is just that nobody had time to do it for now.

Hello, as far as I know, I don't think that those flags are usable in pyimgui for now. Those would be of interest when you pass a callback function to input (e.g. InputText()). I took a quick look at the code, and the callback parameter of imgui is not used by pyimgui, NULL is always passed, and the callback function is not at all part of pyimgui input_text() prototype. I don't know if this is due to a technical complication with callback functionality or if it is just that nobody had time to do it for now.

In that case, rather than create a new issue I'm renaming this one to a request for add actual support for these flags as documented. I haven't used imgui natively before so I have no special insight into how pyimgui could introduce the callbacks concept in a proper Pythonic way.
On the other hand, if supporting these features is not planned, references to them should be removed from the bindings and the documentation.

In that case, rather than create a new issue I'm renaming this one to a request for add actual support for these flags as documented. I haven't used imgui natively before so I have no special insight into how pyimgui could introduce the callbacks concept in a proper Pythonic way.
On the other hand, if supporting these features is not planned, references to them should be removed from the bindings and the documentation.

This has been implemented in #192 for the next release. input_text(), input_text_multiline(), and input_text_with_hint() now takes a callable and optional user data as arguments which are called if any of the INPUT_TEXT_CALLBACK_* flags are set. callback is a pyhton callable that takes an _ImGuiInputTextCallbackData (mapping of ImGui::ImGuiInputTextCallbackData) as argument. user_data can be any value that will be accessible in the callable.
This is still experimental and may change in the future :)

This has been implemented in #192 for the next release. input_text(), input_text_multiline(), and input_text_with_hint() now takes a callable and optional user data as arguments which are called if any of the INPUT_TEXT_CALLBACK_* flags are set. callback is a pyhton callable that takes an _ImGuiInputTextCallbackData (mapping of ImGui::ImGuiInputTextCallbackData) as argument. user_data can be any value that will be accessible in the callable.
This is still experimental and may change in the future :)

Leaving here the reference to #92 where similar topic has been discussed.

Leaving here the reference to #92 where similar topic has been discussed.


Use torchrun for multinode

Sets torchrun to be the only way to run multi-node, and adds a rdvz_endpoint param during config setup.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Long running requests trigger timeouts while actively transferring data

To reproduce this issue:

Start a request that takes longer than 30 seconds.  In my case, I saw this while doing a large 60 MiB PUT request.
After 30 seconds (the default timeout), the request will return with an error that it timed out.
If the program still runs, you may notice that the server thinks that the request has completed successfully.

If you turn on RUST_LOG=trace, you'll see that the request is still transferring data when it returns that it timed out.  You'll also see that the request continues to transfer data after it returns.
I would expect that the timeout resets every time data has been transfers and only happens after 30 seconds of data not being transferred.

I believe this is a bug in hyper, with the default dispatcher that it uses. hyper has a new dispatcher in progress, that should shutdown the connection task properly, but it's not quite yet set as the default, and I haven't set it in use in reqwest in case more bugs have been found.
I believe the bugs have been cleaned up, and when it is fixed in hyper, this should be fixed too, hopefully.

The first part should be fixed with https://github.com/seanmonstar/reqwest/commit/512b80a3ada48a3c60328fc39a7b87a506a94acf.
It shouldn't be too hard to make the timeout part aware of writing a request body, but I think the semantics are a little blurry. Currently the timeout is more like a deadline. It probably would be a good idea to allow more fine-grained timeout options, like write timeout, response timeout, read timeout, and perhaps deadline?

I'm not sure.  I'm not sure many people would want a different read and write timeout, but the option might be nice.
Does a response timeout make sense with HTTP 2, when you could be waiting on multiple requests?
Another thought I had was that some of this is duplicated in TCP options, but I always found the default TCP options kind of strange.  It starts sending TCP keepalives after 2 hours of a connection being idle, every 75 seconds, after 9 tries, it gives up.  Maybe these are just checks meant for long-running idle TCP connections, which isn't something that you would expect from an HTTP connection.  But if I wanted a timeout, I could always just set these TCP options.

Any update on this issue? I think the most common use case is the connect timeout, the read/write operations are rarely needed to have a fine grained timeout control.

@dremon sorry, what do you mean? That all we need is to add a connect timeout option?

Yeah, I think the timeout property should be used only for initial connect, may be renamed to "connect_timeout". The global timeout for all operations doesn't make sense at all.

For example Jetty HTTP client has 3 options: connect timeout, idle timeout (e.g. no traffic), dns resolution timeout.
In addition each Request instance can have a total request/response timeout (that's similar to current reqwest implementation) but that's rarely needed.
I am wondering would it be a huge effort to implement something similar in reqwest.

I believe (I can be convinced I'm wrong) that having a default complete timeout is a Good Idea. For instance, this post resonates with my experience: https://medium.com/@nate510/don-t-use-go-s-default-http-client-4804cb19f779
Still, I believe adding a connect timeout should be pretty straightforward.

I think the described issue (in the linked article) is more about idle timeout rather than global one for request/response cycle, if there is no data traffic it makes sense to cancel it indeed, otherwise terminating a slow but active transfer after some time is rather a corner case.
What if I want to transfer a data of various sizes including very big ones over a (potentially) slow line, it's hard to recommend any particular timeout for that.

I agree that timing out by default is good, but it should be configurable.
When you watch resources in the Kubernetes API it's possible to have very long periods of time without any data being sent. I don't want the request to time out at all in that situation.

Just to add my 10¢, an overall timeout can be very useful when the request characteristics are well known and/or consistent but a lot less so when they vary significantly (ex. downloading files of wildly different sizes from clients on cellular networks vs. fibre connections). In that situation, we want to be sure requests are still making progress but can't estimate ahead of time how long they should take overall.


Shared Memory & Semaphores?

Please provide more information as to why you need these concepts if the game is intended to be networked based.

I'll also be allocating memory in order to better pass data around. If I do that I won't need to use shared memory or semaphores.

approved
make it so


Modify period-finding approach to obtain more reliable periods

From features generated for a single DR15 field/ccd/quad combination, the median periods for the EAOV, ECE and ELS algorithms are as follows: 0.0040, 0.0055, 359.9738. A large fraction of sources have periods close to these medians, e.g. the 90th percentile of EAOV periods is 0.02 d (~30 min, near the minimum cadence we enforce). This pattern repeats for other quadrants as well.
One immediate solution is to set the --doLongPeriod flag for all quadrants. This would set the minimum period to 30 min:
if doLongPeriod:
            fmin, fmax = 2 / baseline, 48
        else:
            fmin, fmax = 2 / baseline, 480

Additionally, within generate_features.py, we are already setting the --doRemoveTerrestrial flag, and it includes some frequency ranges to remove from consideration:
freqs_to_remove = [
                [3e-2, 4e-2],
                [3.95, 4.05],
                [2.95, 3.05],
                [1.95, 2.05],
                [0.95, 1.05],
                [0.48, 0.52],
                [0.32, 0.34],
            ]

These frequency ranges correspond to periods of ~ 30, 0.25, 0.33, 0.5, 1, 2, and 3 d. We might need to expand this list to include other ranges, especially a ~365 d range.

Update: setting --doLongPeriod reduces the number of frequency bins by ~10x, significantly increasing the speed of GPU-accelerated period finding.


Check for State Modification from Extrinsic Errors on Syncing Nodes

A rule of all extrinsics should be that if it results in an error, it does not modify state. This is the "Check First, Write Last" rule.
We try out best to do this in all the various runtime unit tests, but it is very likely the we or other Substrate builders have missed some.
I suggest we add a feature flag that any syncing node can add to their chain which will process the blocks per extrinsic, check the state root before, run the extrinsic, see if it returns error, and then check the state root after.
If this occurs, then we may have a problem in the runtime code, and it should emit a WARNING or ERROR log which we can monitor.

Should this be implemented in the executive pallet or in client?

_with_context is just some postfix. Essentially this is the execute_block function.
But this would need to be done in "deep" in the runtime. This means we would require some special wasm that is used by the syncing nodes.

"deep in the runtime" sounds as if you want give me hint that this may be beyond my substrate knowledge yet? 😁

https://github.com/paritytech/substrate/blob/master/primitives/runtime/src/generic/checked_extrinsic.rs#L80

Thanks for the entrypoint. So it seems that when an extrinsic fails in executive, it simply panics. Is it correct, that this will be propagated to the dispatch call you marked?
So would it be enough to check sp_io::storage::root(); before and after the dispatch and in check if they are equal in the error case?

It only panics on import.
And the code I linked is called by the executive.


Remove dead code

Dead code was flagged by unreachable_from_main lint, which is still experimental and not ready to be enabled yet.

@srawlins unreachable_from_main flags some nice stuff (see this PR), is it still so experimental that we shouldn't turn it on?

I know I love it 😁  I think it needs one more check before I call it stable.


Add "NOT" clause

Hello!
I am trying to write a query of the following form (with some extra conditions):
MATCH (n)<-(m) WHERE NOT EXISTS { MATCH (m)<-() } DELETE m;

How do I do this nicely using this package?
Using the raw clause, I have done it like so:
$innerQuery = Query::new()->match(Query::node()->named($m)->relationshipFrom(Query::node()));
$query = Query::new()->match(
    Query::node()->named($n)->relationshipFrom(Query::node()->named($m))
)->raw(
    'NOT EXISTS {',
    $innerQuery->build() . '}'
)->delete(
    $m
)->build();

But the . '}' at the end of the raw clause seems a bit awkward to me. Would it be possible to either:

Implement a BooleanType clause notClause that accepts any BooleanType.
Implement a method Query::notExists with the same input & output as Query::exists (possibly just a wrapper of Query::exists in a notClause)

Cheers!
wgevaert

hmmm, maybe rawExpression instead of raw would've been more appropriate.

NOT is not actually a clause, but an operator in Cypher. I will implement it as so.


create site models

@smn review please
This is my first attempt of the structure of the site. Next PR will be basic templates

:+1: but I'm still wrapping my head around how Wagtail works.
Slightly scared of ending up in a fairly complex db schema.


Align English blog description to German

This PR aligns the English text to the German one on the blog main page.

@Ein-Tim Alrighty, thanks.


weird error

when i type "cork player" to launch it in the terminal, it does this:
(python3:3242): Gtk-WARNING **: 08:28:47.266: Theme parsing error: gtk.css:7661:22: 'shadow_4' is not a valid color name
Traceback (most recent call last):
File "/usr/local/bin/cork", line 33, in
sys.exit(load_entry_point('cork-launcher==1.0.0', 'console_scripts', 'cork')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/cork/main.py", line 209, in main
process = session.execute_player(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/cork/bootstrapper/session.py", line 96, in execute_player
player_exe, player_directory = self.get_player(
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/cork/bootstrapper/session.py", line 29, in get_player
version = version_override if version_override != "" else client_version.get(
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/cork/roblox/version.py", line 10, in get
version_response = request.urlopen(request.Request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/urllib/request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/urllib/request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/urllib/request.py", line 563, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/usr/lib64/python3.11/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found

and it also gets stuck on "getting version"

That sounds like a connection error to the clientsettings url, perhaps try updating to the latest version which had a change surrounding that.


fix: seeking past the EOF

Description:
Fixes a panic when attempting to seek past the last chunk of the file. The reader now returns io.EOF.
Related Issues:
Fixes #32
Checklist:

[x] Review the CONTRIBUTING.md documentation.
[x] Add a reference to a related issue in the repository.
[x] Add a description of the changes proposed in the pull request.
[x] Add unit tests if applicable.
[x] Update documentation if applicable.
[x] Add a note in the CHANGELOG.md if applicable.
[x] Sign the Google CLA.

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

Project coverage is 38.57%. Comparing base (4acab95) to head (84766bc).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #34      +/-   ##
==========================================
+ Coverage   38.31%   38.57%   +0.26%
==========================================
  Files           8        8
  Lines         924      928       +4
==========================================
+ Hits          354      358       +4
  Misses        514      514
  Partials       56       56

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


How to use sdk in my project?

Describe the bug
dependencies {
implementation 'com.google.android.fhir:data-capture:0.1.0-alpha01'
}
I added the following to the build.gradle . script.
But there are no instructions for connecting to sdk?
Component
Core library, SDC library, reference app, or SDC gallery app

Hi @tunm1228. Did you tried the Documentation

@tunm1228 Are you trying to use just the SDC Library or the FHIREngine as well?
Please review the documentation here
Let us know if you have specific questions


Stop doing clones in IndexIterator.

Currently the only way to do this is to clone things -- because the index could be updated before the reference stops being used.
However it should be possible to make a non-cloning iterator where the returned value is self and one uses the index by reading self.index.

Probably not possible, however I made an independent increment_index function which solves most internal use cases.


question about pre-trained data

Could you tell me about the trained data?
How much time and what data set was used?
and I want to know what options used for trained data.
thank you.

My dataset includes 140 anime songs imported from my own CDs and 20 songs from DSD100.
The parameters for training is described in Train your own model section of the README.
The training took about 24 hours using 2080Ti GPU with the above settings.

@tsurumeso could you clarify the following:

What is the maximum/minimum song length for training? Is 16 bit audio enough or 32 bit better?
Should I leave long intros/interludes/outros without vocals in the mix or should I cut them out?
Should I leave long fragments in the mix where there is no music, but only vocals? For example: https://www.youtube.com/watch?v=g19w58ot5l8


documentation.info.enable broken

Describe the bug
If I would try to use nixos-rebuild switch
I would get the following error
builder for '/nix/store/ajr7idasrl5k33y8ydscb930bmsylfm6-system-path.drv' failed with exit code 1; last 2 log lines:
created 32855 symlinks in user environment
install-info: Cannot allocate memory for gzip -d

that guides me to this command after trying to inspect that derivation for install-info
https://github.com/NixOS/nixpkgs/blob/cb312f3d03dbaf2d60e2fd3917ba2e5d41ffe631/nixos/modules/misc/documentation.nix#L245
To Reproduce
Steps to reproduce the behavior:

Rebuild switch and somehow have a setup like mine maybe?

Expected behavior
install-info would succeed.
Additional context
I'm using Flakes and nixUnstable and my own patches on top of nixpkgs
https://github.com/worldofpeace/nixpkgs/commits/deploy. I kinda doubt it would have anything to do with this, though.
Notify maintainers

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

system: "x86_64-linux"
host os: Linux 5.4.81, NixOS, 21.03.20201219.68915ca (Okapi)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.4pre20201201_5a6ddb3
nixpkgs: *useless nix store path based on e9158eca70ae59e73fae23be5d13d3fa0cfc78b4

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

:exclamation: :exclamation: :exclamation: Disclaimer. I'm still on vacation but as I'd like to use one of my machines using NixOS I thought I would open this report. At most I am willing to relay information for reproduction of the issue.

@veprbl Do you mind elaborating why this is related to Haskell? I don‘t see it.

I tried and failed to reproduce this on https://github.com/worldofpeace/nixpkgs/commit/d449e65b3178dce35df73ce785832d8f7833bc0a, even with relatively low available memory and every package I could find (>350) that had info pages in environment.systemPackages. @worldofpeace guessing your configuration isn’t public?

I tried and failed to reproduce this on worldofpeace@d449e65, even with relatively low available memory and every package I could find (>350) that had info pages in environment.systemPackages. @worldofpeace guessing your configuration isn’t public?

Yeah, my configuration isn't public atm. The only other input in my configuration would be home-manager... but I don't think it would cause an issue in nixos?
I'm wondering if I have a package in an overlay with an info page that causes an issue, but even then that's really weird and shouldn't happen. Btw, u did reproduce with nix unstable and a flake.nix?

I will note, I even thought I somehow killed my machine because this error was soo confusing that maybe my nix store was just done. (a good chance to repartition with a better filesystem anyways). That made no change and then I realized "wtf" and tracked it back to this. What lead me to think it was just my machine blowing up was, it seemed to happen suddenly. I'm now wondering if I can bisect my configuration to see if a change in one of the flakes caused it. (that being nixpkgs).

Ahh, as expected bisecting my configuration is a bust for various reasons (mostly me being lazy with git since I couldn't be bothered). Perhaps I should try to build a vm configuration and see if it still happens.

I found a lead!!!
This is the code I used
{ pkgs ? import ./. { } }:

with pkgs;
let
  myProfile = writeText "my-profile" ''
    export PATH=$HOME/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/sbin:/bin:/usr/sbin:/usr/bin
    export MANPATH=$HOME/.nix-profile/share/man:/nix/var/nix/profiles/default/share/man:/usr/share/man
    export INFOPATH=$HOME/.nix-profile/share/info:/nix/var/nix/profiles/default/share/info:/usr/share/info
  '';
in buildEnv {
  name = "my-packages";
  paths = [
    (runCommand "profile" {} ''
      mkdir -p $out/etc/profile.d
      cp ${myProfile} $out/etc/profile.d/my-profile.sh
    '')
  gnupg
  nixUnstable
  e2fsprogs # has a .info.gz which makes it break
  ];
  pathsToLink = [ "/share/man" "/share/doc" "/share/info" "/bin" "/etc" ];
  extraOutputsToInstall = [ "man" "doc" "info" ];
  postBuild = ''
        if [ -w $out/share/info ]; then
          shopt -s nullglob
          for i in $out/share/info/*.info $out/share/info/*.info.gz; do
              ${texinfo}/bin/install-info --debug $i $out/share/info/dir
          done
        fi
  '';
}

gnupg has an .info without a gzip archive, and e2fsprogs does. I noticed after adding --debug to install-info execution stopped after touching e2fsprogs. Here's the example output from the test:
debug: reading input file /nix/store/1nv0wl98cdd8z48sy11mjy1z9ccnlvsm-my-packages/share/info/libext2fs.info.gz
install-info: Cannot allocate memory for gzip -d

I don't understand what it means, but it appears that on my machine installi-info cannot install any *.info.gz.
And actually, using nix-locate info.gz shows me that it's lesser used if that means anything.
But I still don't understand what Cannot allocate memory for gzip -d means, and where that error comes from?
I read the source code a little bit to see what open_possibly_compressed_file does.

I found a lead!!!
This is the code I used
{ pkgs ? import ./. { } }:

with pkgs;
let
  myProfile = writeText "my-profile" ''
    export PATH=$HOME/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/sbin:/bin:/usr/sbin:/usr/bin
    export MANPATH=$HOME/.nix-profile/share/man:/nix/var/nix/profiles/default/share/man:/usr/share/man
    export INFOPATH=$HOME/.nix-profile/share/info:/nix/var/nix/profiles/default/share/info:/usr/share/info
  '';
in buildEnv {
  name = "my-packages";
  paths = [
    (runCommand "profile" {} ''
      mkdir -p $out/etc/profile.d
      cp ${myProfile} $out/etc/profile.d/my-profile.sh
    '')
  gnupg
  nixUnstable
  e2fsprogs # has a .info.gz which makes it break
  ];
  pathsToLink = [ "/share/man" "/share/doc" "/share/info" "/bin" "/etc" ];
  extraOutputsToInstall = [ "man" "doc" "info" ];
  postBuild = ''
        if [ -w $out/share/info ]; then
          shopt -s nullglob
          for i in $out/share/info/*.info $out/share/info/*.info.gz; do
              ${texinfo}/bin/install-info --debug $i $out/share/info/dir
          done
        fi
  '';
}

gnupg has an .info without a gzip archive, and e2fsprogs does. I noticed after adding --debug to install-info execution stopped after touching e2fsprogs. Here's the example output from the test:
debug: reading input file /nix/store/1nv0wl98cdd8z48sy11mjy1z9ccnlvsm-my-packages/share/info/libext2fs.info.gz
install-info: Cannot allocate memory for gzip -d

I don't understand what it means, but it appears that on my machine installi-info cannot install any *.info.gz.
And actually, using nix-locate info.gz shows me that it's lesser used if that means anything.
But I still don't understand what Cannot allocate memory for gzip -d means, and where that error comes from?
I read the source code a little bit to see what open_possibly_compressed_file does.

So after using breakpointHook and cntr on texinfo, because I wanted to run the test suite as it has a test case for what happens with the *.info.gz, I noticed that my sandbox didn't have /bin/sh.  Dropping https://github.com/worldofpeace/nixpkgs/commit/d449e65b3178dce35df73ce785832d8f7833bc0a made /bin/sh return.
 nix show-config | grep sandbox-paths                                        ~
sandbox-paths = /bin/sh=/nix/store/bx800wdaqjf5k5346xkvcbc8ss9bmqnp-busybox-1.31.1-x86_64-unknown-linux-musl/bin/busybox

So if anyone ever gets highly confusing errors it seemed that inspecting that my build sandbox was okay was necessary.

So after using breakpointHook and cntr on texinfo, because I wanted to run the test suite as it has a test case for what happens with the *.info.gz, I noticed that my sandbox didn't have /bin/sh.  Dropping https://github.com/worldofpeace/nixpkgs/commit/d449e65b3178dce35df73ce785832d8f7833bc0a made /bin/sh return.
 nix show-config | grep sandbox-paths                                        ~
sandbox-paths = /bin/sh=/nix/store/bx800wdaqjf5k5346xkvcbc8ss9bmqnp-busybox-1.31.1-x86_64-unknown-linux-musl/bin/busybox

So if anyone ever gets highly confusing errors it seemed that inspecting that my build sandbox was okay was necessary.


Shrink README.md logo

This got really big all of a sudden.

@drpngx Unless I'm making a big mistake, this change shrinks the enormous logo (which is live at https://github.com/tensorflow/tensorflow) to a more manageable small-ish logo with text underneath.

OK, let's try it out

Much better, thanks!


OS_readdir cannot be called with a closed handle

ut_osfile_dirio_test.c closes a directory handle with OS_closedir but then uses it again with OS_readdir to perform a test. This causes a memory issue on vxWorks. (Either the osal should return some id from a table that guards against this, and that id should never be used again to prevent double-free, or the test is invalid.)

Trac comment by sseeger on 2016-01-11 14:06:09:
This is fixed in NG. Duplicate of bug 12.

Imported from trac issue 154.  Created by sseeger on 2016-01-11T13:45:12, last modified: 2016-01-11T14:46:28

Trac comment by sduran on 2016-01-11 14:46:28:
The unit test is correct.  It is testing OS_closedir().  After calling OS_closedir(), a call to OS_readdir() should fail.  If this is causing a memory issue, the unit test has revealed an issue in the VxWorks OSAL and the OSAL should be fixed.


Fix vimhelplint violations

Fixes https://github.com/neomake/neomake/issues/600.
Rebased https://github.com/neomake/neomake/pull/685.

blocked by #690

Well, the one from this PR is the one with the most votes currently.

Looks like I messed up the debase though: https://github.com/neomake/neomake/pull/692/files#diff-0209e2cd5670892a1f78ee3c87ffcf37R25

GH has a Squash and Merge option when merging now, do you even need to do that

@davidosomething

GH has a Squash and Merge option when merging now, do you even need to do that

That does not work with conflicts.. :)
(the conflicts came from the vim-async merge)


sign-root-targets for bobcallaway

Summary

Release Note

Documentation

STAGED METADATA

Outputting metadata verification at /Users/kommendorkapten/git/root-signing/repository...

Verifying registry.npmjs.org.json...
	Success! Signatures valid and threshold achieved
	registry.npmjs.org version 3, expires 2024/09/06

Verifying targets.json...
	Contains 2/3 valid signatures from the current staged metadata
	targets version 9, expires 2024/09/06

Verifying root.json...
	Contains 2/3 valid signatures from the current staged metadata
	Contains 2/3 valid signatures from the previous root
	root version 9, expires 2024/09/06


Migration documentation

Documentation Scope
The DB migration scripts, in this package,each contain a snapshot of the datamodel they're transforming. These snapshotted structs are not used anywhere, and this makes it confusing to the reader/user as far as the purpose they serve.
Describe the Change
Document in code or in a Readme the purpose or usage of these structs to clarify their need.
Screenshots
n/a
Additional context
https://github.com/apache/incubator-devlake/issues/1711 is where I encountered this ambiguity.

Yeah, It's necessary and should be closed


Add more sample applications

Write some useful applications and add to the repositories.  It would be good to have samples using other libraries available like dronekit and mavros.

I've been writing up some example scripts for testing a working man link router network. I'll try making a pull request later this week.


NavCoin to accept minAmount smaller than 1NAV

Currently the NavTech scripts in the core wallet require minAmount to be an int. So trying to reduce it below 1 to 0.1 for example breaks. For now simply re-cast the value to a float or other decimal which doesn't break the current implementation but allows for a number between 0 and 1.

➤ Matt commented:
sendcoinsdialog.cpp, line 272, CAmount nMinAmount = find_value(navtechData, "min_amount").get_int() * COIN;


improve memory handling

changes
Improved the way memory info is stored to make it more inline with other info

Codecov Report

Merging #7 (15176a7) into main (11bf550) will decrease coverage by 0.58%.
The diff coverage is 0.00%.

@@           Coverage Diff            @@
##            main      #7      +/-   ##
========================================
- Coverage   0.57%   0.00%   -0.58%
========================================
  Files          1       1
  Lines        175     193      +18
========================================
- Hits           1       0       -1
- Misses       174     193      +19

Impacted Files
Coverage Δ

src/main.rs
0.00% <0.00%> (-0.58%)
:arrow_down:


Update "Coming Soon" Language to "Under Construction", add side banner

User Story:
As an applicant looking at a listing,
I want the listings that are under construction to be labeled as "under construction",
So that I am not confused about what "coming soon" means.
Additional Detail /Description:
Detroit would like the Coming Soon [Season] [Year] pill on the listing page to be updated to  read "Under Construction". In order to make sure the applicant still has access to the season and year the listing would open, they would also like to have information about when they begin leasing on the page somewhere.  On the what to expect banner, we should use the language "Residents should apply in [Season] [Year]".
Detroit provided us with the following updates:

In Public Portal: Change “This property is still under development” to “This property is under construction.”
In Public Portal:  The filter and listing finder should also change from "coming soon" to "under construction"
In Public Portal: Change "Coming Soon to Under Construction" and “See all coming soon” button to “See all under construction”
In Partners Portal: Change "Coming Soon" to "Under Construction"

Translations:
Spanish:

This property is under construction: Esta propiedad está en construcción.
See all under construction: Ver todo en construcción
Under Construction: Bajo construcción
Residents should apply in: Los residentes deben aplicar en

Arabic:

This property is under construction: هذا العقار قيد الإنشاء.
See all under construction: رؤية كل ما تحت الإنشاء
Under Construction: تحت التشيد
Residents should apply in: يجب على السكان التقديم في

Bengali:

This property is under construction: এই সম্পত্তি নির্মাণাধীন আছে.
See all under construction: নির্মাণাধীন সব দেখুন
Under Construction: নির্মানাধীন
Residents should apply in: বাসিন্দাদের আবেদন করতে হবে

Design Asset required? Yes
https://www.figma.com/file/NOm8rRr97oFBnv1d2i3xy4/detroit-general?node-id=602%3A1572
Acceptance Criteria:

The coming soon language is updated to read "under construction" in the places described above
Note: On the banner above the what to expect box, the text should read "Residents should apply  in [Season] [Year]"
Note: The public site's filter and listing finder should also change from "coming soon" to "under construction"

QA Notes:
Create a new listing here: https://detroit-partners-dev.netlify.app/sign-in

Set it as Under Construction (ensure text update there)
Save
Go here: https://detroit-public-dev.netlify.app/
Verify the updates are reflected on the homepage (under construction section, see all under construction, image tag)
Check translations
Go back to partners and add marketing season and date to same listing.
Save
View listing on detail view
Verify new "Residents should apply in..." messaging matches Figma
Check translations
Change window sizing to ensure mobile view matches Figma

I think this looks good!


replace CallSet id and name with label

This replaces the id (server-owned) and name (user-owned) for a CallSet by a label (user-defined, subject to uniqueness and syntax constraints).  This allows user-meaningful labels for the equivalent of VCF columns, without semantic problems of clashes.
Also it moves the info map for a call set to a new CallMethod object, with a methodId in the call set, and a default one in the variant set.
This allows sharing of meta-information about the calling process and other aspects of call sets.
Other changes are that I made call-sets only belong to one variant set (why could they belong to many?) and removed the updated timestamp because currently we have no way to update.
The new concept is Label, which is a string of printable characters, unique within the scope of the variant set, possibly with restricted syntax e.g. [a-zA-Z][a-zA-Z0-9_]* like programming language identifiers.  The aim is that this should be a reasonable thing for users to look at and use, e.g. to display as column headings, or use in queries.
This replaces both columnId, which is server-unique and not under user control, and name, which is user-defined and can’t be relied on to be unique.
We are OK to require the labels to be unique, because the scope is limited to the VariantSet, so long range clashes are not a problem.  The semantics of merging VariantSets can be specified as part of the merge operation - both options of maintaining uniqueness by adding suffixes if necessary or forcing merge when the labels coincide have merit in different circumstances.
Because the labels must be unique, they can be used as a key for retrieval of CallSet columns in the VariantSet.
Having them separate from the sampleId means that you can have two CallSet columns for the same sample in one VariantSet, which is nice to be able to compare call sets made in different ways from the same sample (e.g. Illumina versus CG, or different callers).
Having a methodId that references an external Method object, which contains an info map for metadata, allows columns to share the same information about how they were called.  We also add an optional methodId to the VariantSet itself, which would then act as a default for all its callsets, covering the standard case where all callsets are made the same way.
It is good for both sampleId and methodId to be optional, so that lightweight VariantSets can be made by importing VCF files or the equivalent, without having to create lots of other empty objects first.  We should not underestimate the importance of lightweight use of the object representation and API - a large amount of sequence data handling is done in small labs with LIMS that will autopopulate Sample objects, or in exploratory analysis, and we would like users not to have to manage unnecessary appendages.
I need to add changes to variantMethods to this pull request, but don't know how to just now in this web interface.

At present, Both CallSet and ReadGroup have a sampleId field. Some say this is the user submitted name at @RG-SM in SAM and at the sample line in VCF; others say this is an ID. I don't know what sampleId is. It is not well defined either way. My suggestion is to get rid of of this sampleId completely before we have proper BioSample.

Sample label is not a VCF-level concept. It is a project-level concept. It glues BAM and VCF in practice. In addition, we also need a place to hold sample information (e.g. population and gender in 1000g) independent of VCF. Such information is also applied to the whole project, not only to VCF. We need a project-level sample object. That is AnalysisSample in #412 and #402. AnalysisSample is not biological sample. It is your sample label moved above both VariantSet and ReadGroupSet.

You seem to suggest calling query-able name as label. Another option, as @jjfarrell suggested, is to call such a name as a tag.

@mbaudis has a basic BioSample ready to go.  We can incorporate this
into any pull request.
Heng Li<EMAIL_ADDRESS>writes:

At present, Both CallSet and ReadGroup have a sampleId field. Some say this
is the user submitted name at @RG-SM in SAM and at the sample line in VCF;
others say this is an ID. I don't know what sampleId is. It is not well
defined either way. My suggestion is to get rid of of this sampleId
completely before we have proper BioSample.

Sample label is not a VCF-level concept. It is a project-level concept. It
glues BAM and VCF in practice. In addition, we also need a place to hold
sample information (e.g. population and gender in 1000g) independent of
VCF. Such information is also applied to the whole project, not only to
VCF. We need a project-level sample object. That is AnalysisSample in #412
and #402. AnalysisSample is not biological sample. It is your sample label
moved above both VariantSet and ReadGroupSet.

You seem to suggest calling query-able name as label. Another option, as
@jjfarrell suggested, is to call such a name as a tag.

—
Reply to this email directly or view it on GitHub.*

Thanks @richarddurbin @dglazer et al.! Adding to "label" and "tag", I'd tried "handle"- I'm indifferent to these terms. A couple simplifications I'd like to suggest based on the prior discussions:

Adding array<string> VariantSet::columnLabels (tentative field name). This gets the metadata objects out of the way when just fetching calls, unless the application specifically needs them. In light of this simplification I find it reasonable to assume that the array will not become problematically large in the service lifetime of our VCF-based data model.
In light of the availability of VariantSet::method, the remaining case served by sharing CallMethod between columns by ID seems really obscure to me. I would put union { null, CallMethod } VariantSet::method and similarly on CallSet.
Delete CallSet and VariantSet::updated. Just kidding!

@lh3 re your point 2 - I don't think this proposal intends for "label" to reference an analysis sample or other object, for example when Richard discusses possibly adding suffixes to the label during a merge operation, and "you can have two CallSet columns for the same sample in one VariantSet" while the label is locally unique. Those suggest label is just some arbitrary string the user gets to control, but technically the application still has to dig into the metadata to cross-reference the analysis sample. (My columnHandle also avoided claiming to designate a sample although I'd assumed it would become that.)

sampleId is clearly not the name in the SAM file or VCF file.  As an id it has to be able to be server generated and not under used control.
In my view we should adopt the BioSample object Mark Diekhans and Michael Baudis refer to, and link to it with sampleId, both from ReadGroup and CallSet.  I recognise that there can be different ReadGroup libraries from the same individual person and different callsets on them, but there can also be different callsets from the same readgroup.  BioSample allows (I presume) definition of distinct DNA preps from the same individual as different samples - that is certainly in the EBI/NCBI BioSample which has proven utility (it does really work) and was I think the basis for the GA4GH object design.  Certainly all the gender and population information we had in AnalysisSample as a holding object should be in BioSample.
Whether the "name" in ReadGroup should be the same as the label in CallSet is up for discussion.  I guess it often will be, but probably we should not force this because you can have two call sets derived from the same ReadGroup.  You might ask whether "name" in ReadGroup should be a "label".  The problem with that from my point of view is whether the scope can be adequately defined to ensure that the user can reasonably guarantee uniqueness within scope.
That said, in most cases of course the CallSet label will be the BioSample.name, as we typically use in VCF objects.  This is all fine, but there are certainly good variantsets where one does not want that, and also naive "bare" variantsets coming from other sources without associated reads etc.
I am happy in principle to use some other word than "label" for the concept - I just wanted to get away from the tug of war about "id" (which I think should not be a string but an opaque type ID) and "name".  For me "tag" is slightly less good because I use that word to denote the key for a key:value pair in a map, but maybe I am idiosyncratic about that.

@richarddurbin The PR for a skeleton BioSample object is in https://github.com/ga4gh/schemas/pull/397. However, this does not yet include e.g. sex, as this is one of the attributes defined through an OntologyTerm object, which so far is only defined in the metadata branch. No problem to extend the BioSample PR with it, though.
See  https://github.com/ga4gh/schemas/blob/metadata/src/main/resources/avro/metadata.avdl

Another merge situation that probably should be addressed is when
concatenating SNVs/small Indels from one Caller and structural variants
from another Caller. Each variant row has been joint genotyped but by
different programs optimized for a particular type or size of the variant.
In this situation, each joint genotyped row would need to reference one
MethodId (eg. HaplotypeCaller, GenomeSTRiP, Lumpy, Pindel, etc).
On Thu, Sep 24, 2015 at 8:05 PM, Richard Durbin<EMAIL_ADDRESS>wrote:

This replaces the id (server-owned) and name (user-owned) for a CallSet by
a label (user-defined, subject to uniqueness and syntax constraints). This
allows user-meaningful labels for the equivalent of VCF columns, without
semantic problems of clashes.
Also it moves the info map for a call set to a new CallMethod object, with
a methodId in the call set, and a default one in the variant set.
This allows sharing of meta-information about the calling process and
other aspects of call sets.
Other changes are that I made call-sets only belong to one variant set
(why could they belong to many?) and removed the updated timestamp because
currently we have no way to update.
The new concept is Label, which is a string of printable characters,
unique within the scope of the variant set, possibly with restricted syntax
e.g. [a-zA-Z][a-zA-Z0-9_]* like programming language identifiers. The aim
is that this should be a reasonable thing for users to look at and use,
e.g. to display as column headings, or use in queries.
This replaces both columnId, which is server-unique and not under user
control, and name, which is user-defined and can’t be relied on to be
unique.
We are OK to require the labels to be unique, because the scope is limited
to the VariantSet, so long range clashes are not a problem. The semantics
of merging VariantSets can be specified as part of the merge operation -
both options of maintaining uniqueness by adding suffixes if necessary or
forcing merge when the labels coincide have merit in different
circumstances.
Because the labels must be unique, they can be used as a key for retrieval
of CallSet columns in the VariantSet.
Having them separate from the sampleId means that you can have two CallSet
columns for the same sample in one VariantSet, which is nice to be able to
compare call sets made in different ways from the same sample (e.g.
Illumina versus CG, or different callers).
Having a methodId that references an external Method object, which
contains an info map for metadata, allows columns to share the same
information about how they were called. We also add an optional methodId to
the VariantSet itself, which would then act as a default for all its
callsets, covering the standard case where all callsets are made the same
way.
It is good for both sampleId and methodId to be optional, so that
lightweight VariantSets can be made by importing VCF files or the
equivalent, without having to create lots of other empty objects first. We
should not underestimate the importance of lightweight use of the object
representation and API - a large amount of sequence data handling is done
in small labs with LIMS that will autopopulate Sample objects, or in
exploratory analysis, and we would like users not to have to manage
unnecessary appendages.
I need to add changes to variantMethods to this pull request, but don't
know how to just now in this web interface.
You can view, comment on, or merge this pull request online at:
https://github.com/ga4gh/schemas/pull/427
Commit Summary

replace CallSet id and name with label

File Changes

M src/main/resources/avro/variants.avdl
https://github.com/ga4gh/schemas/pull/427/files#diff-0 (59)

Patch Links:

https://github.com/ga4gh/schemas/pull/427.patch
https://github.com/ga4gh/schemas/pull/427.diff

—
Reply to this email directly or view it on GitHub
https://github.com/ga4gh/schemas/pull/427.

--
John Farrell, Ph.D.
IT Manager
Biomedical Genetics-Evans 218
Boston University Medical School
72 East Concord Street
Boston, MA
ph:<PHONE_NUMBER>

Another terminology for "label" is "symbol". In the compiler theory, a symbol usually refers to the name of a variable or a function. Within a certain scope (e.g. between a closed curly brackets in C), the same symbol identifies the same variable. LISP/Schema has a concept of symbol, too, which plays the same role.
In the context of GA4GH, we may have both "name" and "symbol". We put no restrictions on naming clash, but require symbols to be query-able and unique within a certain scope, such that objects can be identified by their symbols. Currently we have two types of symbols: sample symbols and reference sequence symbols.

I agree that using "symbol/label" (unique within the scope) and
"name" (no restriction) could solve some of the confusion.
Saying "chromosomeSymbol / chromosomeLabel" instead
of "chromosomeName" could be puzzling at first glance, but I'm
willing to live with that ("geneSymbol" instead of "geneName" is
probably OK for most people).

@pcingola thanks for mentioning gene name/symbol. HGNC (the official gene naming committee) also uses "symbol" explicitly. For the TP53 gene, its official symbol is "TP53" while its name is "tumor protein p53".

Thanks John.  Yes, this clearly also happens that we may want to attach a MethodId to a Variant.
I am now not sure whether this creates combinatorial effects at the single call level that we should worry about.  I would rather not.
Richard

On 25 Sep 2015, at 20:22, jjfarrell<EMAIL_ADDRESS>wrote:
Another merge situation that probably should be addressed is when
concatenating SNVs/small Indels from one Caller and structural variants
from another Caller. Each variant row has been joint genotyped but by
different programs optimized for a particular type or size of the variant.
In this situation, each joint genotyped row would need to reference one
MethodId (eg. HaplotypeCaller, GenomeSTRiP, Lumpy, Pindel, etc).

--
The Wellcome Trust Sanger Institute is operated by Genome Research
Limited, a charity registered in England with number 1021457 and a
company registered in England with number 2742969, whose registered
office is 215 Euston Road, London, NW1 2BE.


Convert to 3MF process hung up

Steps to replicate :

Start the convertion to 3MF
Wait...
It's generating a new file, but it's basically empty and doesn't work. Also the process doesn't stop (rotating circle keeps going on the button).

Expected behavior :
File should be generated as 3MF
Queue

Failed queue :

Including the problematic file (and the generated output)
Anduins Sword.zip

I have encountered this same issue. I looked through and found what I believe to be the issue. When converting to 3mf, if the file is not manifold then the conversion will continuously fail. There is an error message in the logs that helped track this down. I confirmed this by downloading the stl, importing and fixing the nonmanifold edges using 3d software and reuploading. After this I am able to convert to 3mf.

I have encountered this same issue. I looked through and found what I believe to be the issue. When converting to 3mf, if the file is not manifold then the conversion will continuously fail. There is an error message in the logs that helped track this down. I confirmed this by downloading the stl, importing and fixing the nonmanifold edges using 3d software and reuploading. After this I am able to convert to 3mf.

Can you test out the file I included ? Doesn't respond as wrong in bambu slicer, nor in meshmixer

Ah, that's interesting, there's a lot in the "performance" queue, which is what will be doing the conversion. So it could be queued up in there. On the main sidekiq page, can you see if the performance worker is running? It could just have a lot to work through...

Ah, that's interesting, there's a lot in the "performance" queue, which is what will be doing the conversion. So it could be queued up in there. On the main sidekiq page, can you see if the performance worker is running? It could just have a lot to work through...

is this what you need ?

I have restarted the whole server / container this morning, but it still showing with the circle "in progress" thing. Which makes me think the status of the task is stored in the database or something ?

Yes, it is. As I just commented in the other ticket, it's a bit of a hack. I'll revisit it.

I have encountered this same issue. I looked through and found what I believe to be the issue. When converting to 3mf, if the file is not manifold then the conversion will continuously fail. There is an error message in the logs that helped track this down. I confirmed this by downloading the stl, importing and fixing the nonmanifold edges using 3d software and reuploading. After this I am able to convert to 3mf.

Ah, interesting, it shouldn't retry if it's non-manifold. I can fix that.


Enabling modulePreload results in incorrect sourcemaps after the preload code

Describe the bug
When build.modulePreload is enabled in the vite config, the sourcemaps for the generated bundle are incorrect after the location of the inserted preload code (source is here, I believe). The sourcemaps for any code before the preload script in the generated bundle are correct.
When disabling modulePreload by setting the config to false, the sourcemaps are correct. Enabling the modulePreloading, but disabling the polyfill results in the incorrect sourcemaps.
It seems that there needs to be multiple chunks for the issue to happen. In the reproduction repo, utils.ts file was added to create another chunk, though using the splitVendorChunkPlugin will also cause the issue.
Reproduction
https://github.com/JosNun/vite-modulepreload-sourcemap-issue
Steps to reproduce

Clone the reproduction repo
npm install
vite build --mode=production
vite preview

Clicking the "throw an error" button will cause an exception. The sourcemapped line in devtools points to the wrong line (and in this case, file) in the code when module preloading is enabled.
System Info
System:
    OS: macOS 13.1
    CPU: (8) arm64 Apple M1 Pro
    Memory: 99.94 MB / 32.00 GB
    Shell: 3.5.1 - /opt/homebrew/bin/fish
  Binaries:
    Node: 16.17.1 - ~/.volta/tools/image/node/16.17.1/bin/node
    Yarn: 1.22.19 - ~/.volta/tools/image/yarn/1.22.19/bin/yarn
    npm: 8.15.0 - ~/.volta/tools/image/node/16.17.1/bin/npm
  Browsers:
    Chrome: 109.0.5414.119
    Firefox: 109.0.1
    Safari: 16.2
  npmPackages:
    @vitejs/plugin-react: ^3.1.0 => 3.1.0
    vite: ^4.1.1 => 4.1.1

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

A more trimmed repro: https://stackblitz.com/edit/vitejs-vite-jrprvt?file=src%2FApp.ts&terminal=dev
It seems changing this line like this works.
const content = `[${renderedDeps.join(',')}]`
s.update(
  markerStartPos,
  markerStartPos + preloadMarkerWithQuote.length,
  content + ' '.repeat(Math.max(preloadMarkerWithQuote.length - content.length, 0))
);

https://github.com/vitejs/vite/blob/e033e492d491d25790baf475023a828eda6d4d9a/packages/vite/src/node/plugins/importAnalysisBuild.ts#L568-L572
Maybe when replacing a text with a shorter text breaks the sourcemap?

Looks like a reasonable fix. Perhaps when the replacement is shorter, the sourcemap evaluator goes out-of-bounds when indexing a column, but that's just a guess.


Quality of life macro for generic functions

Hello there!
im currently using something like this in my project (please ignore the specifics, i want to share the general idea without ripping it out of the context that sparked the idea):
macro_rules! concrete_ordinal_encoding {
    ($typename: ident, $pymodule: ident) => {
        paste::item! {
            #[pyfunction]
            fn [< ordinal_encoding_$typename >]<'py>(py: Python<'py>, labels: Vec<$typename>) -> &'py PyArray1<usize> {
                ordinal_encoding(labels).into_pyarray(py)
            }
            $pymodule.add_function(wrap_pyfunction!([< ordinal_encoding_$typename >], $pymodule)?)?;
        }
    };
}

So, naturally, i wondered: is it a good idea to turn it into some sort of concrete_function!() macro to specialize generic functions to interface with python? on the python side, it could be implemented with an object with __getitem__ or __getattr__ to resolve what specific function to call.
Do you think it is worth a dependency? Do you think this approach smells nice enough to be included in pyo3?

Hello! Sorry to have been slow to reply.
This is an interesting idea, here's a few of my initial reactions:

I am open to people exploring this design space. I don't yet have a good intuition for what feels nice so it might take some time before anything is merged in PyO3. While this is experimental it might be best to be a separate crate because it'll be easier to iterate.
Choosing the set of types to instantiate the generic code with will be the hardest part of this design. I'm not sure if there's a way for users to do any better than just hard code a list of types for every function
I think it'll be easier to agree on what we want the resulting Python API to look like, so might as well start there.
if possible, I think it'd be nicer if this was a part of #[pyfunction] rather than a separate macro, but that'll very much depend on the design which emerges.

I think we probably want the python side to have a 'generic' function which dispatches to Rust binding function. This naturally means we want to monophize for every type parameter.


Change the default branch to main

I think this is something you have to do as the owner of the repo

https://www.hanselman.com/blog/EasilyRenameYourGitDefaultBranchFromMasterToMain.aspx

@thompa2 you have ownership of the repo, so only you can update the default repo

Recommended that we change default branch to dev actually, preventing accidental changes to main.

Default Branch Changed to main. Closing issue.


Arena Lighting Effects

Adds beginning and ending lighting. The lighting effects are configured using a cue stack that can support fading other light sources. Doesn't support running lighting effects before the start of the match although it has been noted that these could be recorded as a separate match with a custom cuestack and then stitched together afterwards.
https://user-images.githubusercontent.com/10937272/115083438-423bda80-9eff-11eb-952e-f4f3ff29404c.mp4
Fixes srobo/competition-simulator#17

With the colour updates
https://user-images.githubusercontent.com/10937272/115108038-2ddef880-9f66-11eb-8aa0-6639aa009d5a.mp4


Request to use skywalking-eyes to check LICENSE header

I have noticed https://github.com/apache/skywalking-eyes recently which Skywalking is using for checking LICENSE header. I'm wondering if we can use it to reduce uncertainty.
Originally posted by @JohnNiang in https://github.com/kubesphere/ks-devops/pull/453#discussion_r792345790

/help

I'm glad to work on this.
/assign

Thanks for being interested in this area.


Better solution for env problem

Fixes #7.
This reverts a56ebbc, b0db48f and feab0a6.
Can somebody test if this works on mac and linux too? (I'm on Windows)

Thanks @jscissr , this also works on OSX and Linux.


This thermostat no longer compiles on latest HA

This project no longer compiles within ESPHome on the latest versions of HomeAssistant.
It would be good if a note was added to the project to highlight this - or even better the project was updated or taken down.
Thanks

Thanks for letting me know it was not compiling, it is updated and will work with the last version.
Anyway, it's not a very nice thing to suggest to delete a project just because it is not helpful to you. I'm sure other people stumbled upon this before you and fixed the code themselves, saving a lot of time not having to write it from scratch

Sorry for the tone. It has been a long day trying to get this working as a simple thermostat (not just this bit). I appreciate the prompt effort - but its still not completing as it wont upload the tft file.
Having set a static IP in this projects yaml file I can not flash it back to the alternative Yaml blueprint I had on it before as it wont resolve the static IP.


Flowgraph Generation

This pull request adds an extension class which generates an AnimatorController graph from a given StateMachine.
For example, it converts code like this:

Into this:

The ChasingMacro StateMachine expands into this when double-clicked:

Usage:
fsm.Init();
#if UNITY_EDITOR
fsm.PrintToAnimator(animatorName: "EnemyHFSM");
#endif

Details:
The animator is placed in the Assets/DebugAnimators/ folder by default. This can be changed through an optional argument to PrintToAnimator().
The first time an AnimatorController graph is generated, the states will be in auto-generated positions. You will need to organize them manually. On subsequent calls to PrintToAnimator(), existing state positions will be respected and unchanged.
In order to access some important fields of StateMachine, I needed to change a few fields from private to internal. The alternative would be embedding the PrintToAnimator code directly inside StateMachine in a giant #if UNITY_EDITOR block.

Addresses #52

You can also get some runtime debugging by assigning the auto-generated AnimatorController to an Animator component in your scene, and then calling this code after you call fsm.OnLogic()
string stateName = fsm.GetActiveNestedStateName();
int id = Animator.StringToHash(stateName);
if (stateMachineDebugAnimator.HasState(0, id))
	stateMachineDebugAnimator.Play(stateName);

/// <summary>
/// Gets the active state name, even if it's a nested state of the supplied root state machine
/// </summary>
public static string GetActiveNestedStateName<TOwnId, TStateId, TEvent>(this StateMachine<TOwnId, TStateId, TEvent> rootStateMachine)
{
	var nestedStateMachine = rootStateMachine.ActiveState as StateMachine<TOwnId, TStateId, TEvent>;
	int emergencyEscape = 100;
	while (nestedStateMachine is not null && emergencyEscape > 0)
	{
		var possibleNestedStateMachine = nestedStateMachine.ActiveState as StateMachine<TOwnId, TStateId, TEvent>;
		if (possibleNestedStateMachine is not null)
			nestedStateMachine = possibleNestedStateMachine;
		else
			return nestedStateMachine.ActiveStateName.ToString();

		emergencyEscape--;
	}

	return rootStateMachine.ActiveStateName.ToString();
}

Pretty useful feature! I hope author merge this pull request in the future.


Enhance debug functionality

Add ability to see curl format of every request sent as a list item in a debug attribute, whether or not there is an error.
Requires no change to the debug='file' submission, but will take that and:

Set debug attribute to True
Set debug_file attribute to the filename
Append all requests as curl formatted commands to debug_output list attribute
Still allow for debug file to be created on errors

I looked at your implementaiton but there are 2 problems with this approach.
If we save every HTTP request in a curl format, we will use a lot of memory if the script is changing many objects or sending large files.
I tried to implement an option that would allow the user to get the curl command for the last HTTP request, but the problem is that the SDK does a lot of requests in the same method, so users would only see the last request for that method.
I end up adding the curl command to the output of the debug option, together with the information that already existed, and moved the debug functions to a separated file.


Crash on tagesschau.de

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2021.12.17
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.tagesschau.de/inland/ukraine-baerbock-tagesthemen-101.html']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Git HEAD: 3e257890d
[debug] Python version 3.11.1 (CPython) - macOS-13.1-arm64-arm-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[Tagesschau] ukraine-baerbock-tagesthemen-101: Downloading webpage
Traceback (most recent call last):
  File "/opt/homebrew/bin/youtube-dl", line 33, in <module>
    sys.exit(load_entry_point('youtube-dl==2021.12.17', 'console_scripts', 'youtube-dl')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/__init__.py", line 475, in main
    _real_main(argv)
  File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/__init__.py", line 465, in _real_main
    retcode = ydl.download(all_urls)
              ^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 2068, in download
    res = self.extract_info(
          ^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 808, in extract_info
    return self.__extract_info(url, ie, download, extra_info, process)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
                ^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/extractor/tagesschau.py", line 281, in _real_extract
    for num, (entry_title, media_kind, download_text) in enumerate(re.findall(
                                                                   ^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 216, in findall
    return _compile(pattern, flags).findall(string)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 294, in _compile
    p = _compiler.compile(pattern, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 743, in compile
    p = _parser.parse(p, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 980, in parse
    p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 455, in _parse_sub
    itemsappend(_parse(source, state, verbose, nested + 1,
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 841, in _parse
    raise source.error('global flags not at the start '
re.error: global flags not at the start of the expression at position 84

Description

Fresh install via homebrew.
youTube-dl crashes with this URL.
Other URLs work fine.

Python 3.11 is complaining about a not entirely correct regular expression in the Tagesschau extractor that was accepted by earlier versions, such as 2.7 and 3.9. However with earlier Python versions, or after fixing the regular expression, the extractor still fails on this URL:
$ python -m youtube_dl -v -F 'https://www.tagesschau.de/inland/ukraine-baerbock-tagesthemen-101.html'
[debug] System config: [u'--prefer-ffmpeg']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-F', u'https://www.tagesschau.de/inland/ukraine-baerbock-tagesthemen-101.html']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Git HEAD: 774b346f9
[debug] Python version 2.7.18 (CPython) - Linux-4.4.0-210-generic-i686-with-Ubuntu-16.04-xenial
[debug] exe versions: avconv 4.3, avprobe 4.3, ffmpeg 4.3, ffprobe 4.3
[debug] Proxy map: {}
[Tagesschau] ukraine-baerbock-tagesthemen-101: Downloading webpage
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/df/Documents/src/youtube-dl/youtube_dl/__main__.py", line 19, in <module>
    youtube_dl.main()
  File "youtube_dl/__init__.py", line 475, in main
    _real_main(argv)
  File "youtube_dl/__init__.py", line 465, in _real_main
    retcode = ydl.download(all_urls)
  File "youtube_dl/YoutubeDL.py", line 2077, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "youtube_dl/YoutubeDL.py", line 810, in extract_info
    return self.__extract_info(url, ie, download, extra_info, process)
  File "youtube_dl/YoutubeDL.py", line 817, in wrapper
    return func(self, *args, **kwargs)
  File "youtube_dl/YoutubeDL.py", line 838, in __extract_info
    ie_result = ie.extract(url)
  File "youtube_dl/extractor/common.py", line 539, in extract
    ie_result = self._real_extract(url)
  File "youtube_dl/extractor/tagesschau.py", line 291, in _real_extract
    formats = entries[0]['formats']
IndexError: list index out of range
$

The extractor from yt-dlp works and needs to be back-ported. Then:
$ python -m youtube_dl -v -F 'https://www.tagesschau.de/inland/ukraine-baerbock-tagesthemen-101.html'
[debug] System config: [u'--prefer-ffmpeg']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-F', u'https://www.tagesschau.de/inland/ukraine-baerbock-tagesthemen-101.html']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Git HEAD: 774b346f9
[debug] Python version 2.7.18 (CPython) - Linux-4.4.0-210-generic-i686-with-Ubuntu-16.04-xenial
[debug] exe versions: avconv 4.3, avprobe 4.3, ffmpeg 4.3, ffprobe 4.3
[debug] Proxy map: {}
[Tagesschau] ukraine-baerbock-tagesthemen-101: Downloading webpage
[Tagesschau] ukraine-baerbock-tagesthemen-101: Downloading m3u8 information
[download] Downloading playlist: Baerbock nach Ukraine-Besuch: Verständnis für "Leopard"-Forderungen
[Tagesschau] playlist Baerbock nach Ukraine-Besuch: Verständnis für "Leopard"-Forderungen: Collected 2 video ids (downloading 2 of them)
[download] Downloading video 1 of 2
[info] Available formats for ukraine-baerbock-tagesthemen-101-1:
format code  extension  resolution note
hls-968      mp4        960x540     968k , avc1.4d401f, 25.0fps, mp4a.40.2
hls-432      mp4        480x270     432k , avc1.42c015, 25.0fps, mp4a.40.2
hls-699      mp4        640x360     699k , avc1.42c01e, 25.0fps, mp4a.40.2
hls-1614     mp4        1280x720   1614k , avc1.64001f, 25.0fps, mp4a.40.2
hls-2928     mp4        1920x1080  2928k , avc1.640028, 25.0fps, mp4a.40.2
hls-128      mp4        audio only  128k , mp4a.40.2 (best)
[download] Downloading video 2 of 2
[info] Available formats for ukraine-baerbock-tagesthemen-101-2:
format code  extension  resolution note
0            mp3        audio only
[download] Finished downloading playlist: Baerbock nach Ukraine-Besuch: Verständnis für "Leopard"-Forderungen
$

Other URLs work fine.

From tagesschau.de, or elsewhere?

I tried YouTube and Twitter - both worked fine.
Tagesschau.de failed.
Thx for spotting the issue with 3.11

OK, what I expected. For the moment please use yt-dlp for Tagesshchau. Unfortunately the back-port is a bit too complicated to post as a patch.
The yt-dlp extractor and my back-port find two separate videos (one actually just mp3) on the problem page. Is that correct? It seems to me that the MP3 item is a playlist item ("Auch wenn das Herz brennt - Baerbock verspricht keine Kampfpanzer") that should not be returned if --no-playlist is specified.

If you visit the page at https://www.tagesschau.de/inland/ukraine-baerbock-tagesthemen-101.html you will find that they have the video in the upper part of the page and an mp3 with additional commentary close to the bottom.
Personally (without further investigating default behaviours of yotube-dl) I would have expected to have the "correct" video file returned by default - although guessing user intent is usually a bit hard. But a --no-playlist behaviour as outlined above would probably be ok for most users.
Fortunately my immediate need was solved as I missed the download link that was already offered on the page. ;-)
In the meantime I will have a look at yt-dlp.

This page is typical of many sites where a featured video is accompanied by other media. yt-dl should extract the featured media by default, but the --yes-playlist option can't be used to select extracting all the media on the page instead because it actually only means--no-no-playlist: presumably this was useful for YouTube. So we have to do it backwards.


BUG: Google Complains that Palomaswap mobile is wider than screen

What is happening?

Section description
Provide as much context as you can. Give as much context as you can to make it easier for the developers to figure what is happening.

Mobile Usability issues detected in palomaswap.com
To the owner of palomaswap.com:
Search Console has identified that your site is affected by 1 Mobile Usability issue(s). The following issues were found on your site.
Top Issues
Content wider than screen

We recommend that you fix these issues when possible to enable the best experience and coverage in Google Search.
How to reproduce?

Section description
Please write detailed steps of what you were doing for this bug to appear.

mobile palomaswap.com
What is the expected behaviour?

Section description
If you know, please write down what is the expected behaviour. If you don't know, that's ok. We can have a discussion in comments.

Palomaswap is usuable on mobile

Closing


Add support for endTime

This PR fixes #179, and makes end time functional.
The only thing I am not sure about is handling the seek portion. Right now it will end the track if the seek position is greater than the endtime position, but perhaps it should just cancel the future and keep the track playing.

You can utilize Lavaplayer's TrackMarkers for this.

You can utilize Lavaplayer's TrackMarkers for this.
Edit: Example usage

Thank you for the suggestion! This looks a lot cleaner and I will convert what I have to use that instead.


'No Session ID Found' when use another browser or after the session expired

I'm using the latest ShinyProxy 1.0.2 and is experiencing an issue where after opening an app in one browser and then try using another browser to access the same app, the page only shows 'No session ID found'.
After a while, I guess when the session does expire, even using the original browser will have the same issue.

If both browsers are signed into the same user, this would definitely happen. I'll work on a solution.

#36

If the session expires though, that's intended behaviour. That means you have no authentication, so it makes since that you can't access your app instance. However, I am working on another method of authentication that wouldn't expire.

If the session expires though, that's intended behaviour. That means you have no authentication, so it makes since that you can't access your app instance. However, I am working on another method of authentication that wouldn't expire.

Hi @PlasmaPower ,
Thanks for the fast response and fix.  I understand when the session expires, user should have no access unless they are logged in. But in this case, I'm logged back in, but still see the 'session id not found' error. I guess this is the same for using another browser because the session ID changed? But this will still be an issue because user then lose access to that app until the container heartbeat time out is reached, which in my case has been set to a very long time.

If you have another valid session token, then yes, you should get access (and the pull request fixes that).

I saw the changes you made and looking forward to it being merged.

Another question is when I logged out my account, I noticed the containers were killed. Is this the desired behavior?

Looking at the code, it's intentional, but it may simply be that the author(s) didn't consider multiple sessions per user.

Hi @keqiang , @PlasmaPower ,
The original design was indeed to limit each user to one session per app.
The fact that a user could access the same proxy from multiple browsers, was unintentional.
Looking at the PR, it makes sense to me to remove this limitation.
However, some more changes would be needed, e.g. to the logout and heartbeat code, so that the proxy is released only when no active sessions remain.

@fmichielssen
Yea, I think it would make more sense that heartbeat setting is honored no matter if the user is logged in or logged out. I feel killing all the containers once the user logged out might not be intuitive.

My pull request has been updated to change the logout and heartbeat code. I've added a configuration option to change the logout behavior, shiny.proxy.stop-on-logout. Should it default to true or false?

This issue (or at least part of it) just appeared in our environment. I believe it was caused by a session token expiring, then getting renewed to a new value. However, I'm not sure.


Failed to find pattern

https://imgur.com/a/arTd9Il

try googling the issue or recompiling the source

Verify that your GameOverlayRender.dll file in Steam directory isn't corrupted.

i have same problem

crash after fiew seconds of playing


Add non-deterministic warning

To address issue #4134.
Created @non_deterministic decorator.
Added decorator to functions that use atomicAdd

Discussed:
We may raise warning for features that use random numbers by the following additions.

Introduce an interface to set random seeds

Make it possible to enumerate backends (numpy, cupy, chainerx) and set random seeds in a unified API.

Raise warning in features that use random numbers only if the seed is not set via the above interface.

However we don't do that for now, and make it users' responsibility to set seeds.
@Crissman Let's document that it won't raise warning for such features.

Documentation added that setting seed is responsibility of user.

Jenkins, test this please

Jenkins CI test (for commit 6020e19c65a110ebe203b115f445db66cfc67fb6, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

Jenkins issue looks unrelated. Please merge.

@Crissman
It seems you did the merge wrong. Please fix it.

Ok. I think it's clean now. Please take a look.

Jenkins, test this please

Jenkins CI test (for commit 8e064a1719f840d8b19a6a329bcc52391ee9a740, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

LGTM


=> ERROR [fake_api 1/1] FROM docker.io/jaxgeller/lwan@sha256:f7e799638df21fa6e0bc7b6e1b4937b1fbefdf0cad772ef318d5477c446feb63

I facing error with cache key and there is nothing like "http://fake_api:8080" as stated in krakend.json

[fake_api 1/1] FROM docker.io/jaxgeller/lwan@sha256:f7e799638df21fa6e0bc7b6e1b4937b1fbefdf0cad772ef318d5477c446feb63:

failed to solve: rpc error: code = Unknown desc = failed to load cache key: invalid empty config file resolved for docker.io/jaxgeller/lwan@sha256:f7e799638df21fa6e0bc7b6e1b4937b1fbefdf0cad772ef318d5477c446feb63

You have probably modified the docker-compose file, a clean clone should work just fine.
The service http://fake_api:8080 is declared exactly here:
https://github.com/devopsfaith/krakend-playground/blob/master/docker-compose.yml#L24


Wiring to a Clock produces invalid firrtl

val my_clock = Clock()
my_clock := some_other_clock

This results in a node being referenced before it's defined in the generated firrtl.  It seems like the only valid way to use the Clock type right now is to hook it up at instantiation time.

I've never tried this before, but don't you need to write Wire(Clock())?

I believe Andrew is right and this would also be caught by @sdtwigg's binding.
See #230

Yup, the proposed fix works like a charm, thanks...


+= is not efficient by a factor of ~3x

This can be seen in a Play application, where 10s of these mergings can result in a significant loading time.

I'd guess it's this issue: https://github.com/typesafehub/config/issues/330 but without a profile I can't prove it. What does "3x" mean, what is 3x of what?

We've noticed this running a Play app with lots of reference.conf files pulled from libraries on the classpath. I'll try and come up with a simple test case.


Created registration page

Set up a separate screen where the user can enter there information.
Created buttons using Touchable Opacity rather than Button
Created buttons to toggle between the Login Page and Registration Form

duplicated


[DRAFT][TEST]Revert "Fixing helm configuration issue"

Reverts wso2/apk#2097

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

Project coverage is 26.03%. Comparing base (a5da5bf) to head (f16b164).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2100      +/-   ##
==========================================
- Coverage   31.68%   26.03%   -5.66%
==========================================
  Files          77       68       -9
  Lines        5283     4732     -551
  Branches     2672     2426     -246
==========================================
- Hits         1674     1232     -442
+ Misses       3609     3500     -109

Flag
Coverage Δ

config-deployer-service
26.03% <ø> (ø)

idp-domain-service
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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


get_vim_item concatenating nil value

FAQ

[X] I have checked the FAQ and it didn't resolve my problem.

Announcement

[X] I have checked Breaking change announcement.

Minimal reproducible full config
only changed cssls to omnisharp
if has('vim_starting')
  set encoding=utf-8
endif
scriptencoding utf-8

if &compatible
  set nocompatible
endif

let s:plug_dir = expand('/tmp/plugged/vim-plug')
if !filereadable(s:plug_dir .. '/plug.vim')
  execute printf('!curl -fLo %s/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim', s:plug_dir)
end

execute 'set runtimepath+=' . s:plug_dir
call plug#begin(s:plug_dir)
Plug 'hrsh7th/nvim-cmp'
Plug 'hrsh7th/cmp-buffer'
Plug 'hrsh7th/cmp-nvim-lsp'
Plug 'hrsh7th/vim-vsnip'
Plug 'neovim/nvim-lspconfig'
call plug#end()
PlugInstall | quit

" Setup global configuration. More on configuration below.
lua << EOF
local cmp = require "cmp"
cmp.setup {
  snippet = {
    expand = function(args)
      vim.fn["vsnip#anonymous"](args.body)
    end,
  },

  mapping = {
    ['<CR>'] = cmp.mapping.confirm({ select = true })
  },

  sources = cmp.config.sources({
    { name = "nvim_lsp" },
    { name = "buffer" },
  }),
}
EOF

lua << EOF
local capabilities = require('cmp_nvim_lsp').default_capabilities()

require'lspconfig'.omnisharp.setup {
  capabilities = capabilities,
}
EOF

Description
After the lsp gets enabled this error pops at every keystroke, See actual behaviour.
i tested recent commits and it doesn't happen before commit 31a145c, i tested commits in this range
Steps to reproduce
this may be difficult to reproduce cause you need omnisharp and dotnet sdk, it doesn't happen with any of the lsps i tried
Expected behavior
no error
Actual behavior
Error executing vim.schedule lua callback: [string "..."]:0: attempt to concatenate a nil value
stack traceback:
        [string "..."]: in function 'format'
        /tmp/plugged/vim-plug/nvim-cmp/lua/cmp/entry.lua:290: in function 'callback'
        /tmp/plugged/vim-plug/nvim-cmp/lua/cmp/utils/cache.lua:38: in function 'get_vim_item'
        /tmp/plugged/vim-plug/nvim-cmp/lua/cmp/entry.lua:408: in function 'callback'
        /tmp/plugged/vim-plug/nvim-cmp/lua/cmp/utils/cache.lua:38: in function 'match'
        /tmp/plugged/vim-plug/nvim-cmp/lua/cmp/source.lua:114: in function 'get_entries'
        /tmp/plugged/vim-plug/nvim-cmp/lua/cmp/source.lua:352: in function 'cb'
        vim/_editor.lua:248: in function <vim/_editor.lua:247>
Error executing vim.schedule lua callback: [string "..."]:0: attempt to concatenate a nil value
stack traceback:
        [string "..."]: in function 'format'
        /tmp/plugged/vim-plug/nvim-cmp/lua/cmp/entry.lua:290: in function 'callback'
        /tmp/plugged/vim-plug/nvim-cmp/lua/cmp/utils/cache.lua:38: in function 'get_vim_item'
        /tmp/plugged/vim-plug/nvim-cmp/lua/cmp/entry.lua:408: in function 'callback'
        /tmp/plugged/vim-plug/nvim-cmp/lua/cmp/utils/cache.lua:38: in function 'match'
        /tmp/plugged/vim-plug/nvim-cmp/lua/cmp/source.lua:114: in function 'get_entries'
        /tmp/plugged/vim-plug/nvim-cmp/lua/cmp/view.lua:72: in function 'open'
        /tmp/plugged/vim-plug/nvim-cmp/lua/cmp/core.lua:326: in function 'fn'
        /tmp/plugged/vim-plug/nvim-cmp/lua/cmp/utils/async.lua:55: in function </tmp/plugged/vim-plug/nvim-cmp/lua/cmp/utils/as
ync.lua:53>

Additional context
No response

packer apparently loads stuff even with the minimal config
the problem is my config

in case anyone is having this problem check the documentation on getting types on the left, if you are using it, i updated it with the fix.
idk why this is caused by a especific commit tho


Improve code style

Add EditorConfig.
Add RuboCop config.
Fix RuboCop warnings.

Hello! :sweat_smile:
That's my first PR. What do you think?
I want to make many changes for your gem (add some tasks with internal classes, and tests).
I hope you'll like it.

I'm ok with most of the stuff here but the first thing I add to my rubocop file is http://anti-pattern.com/always-use-double-quoted-strings-in-ruby ^^

I'm ok with most of the stuff here but the first thing I add to my rubocop file is http://anti-pattern.com/always-use-double-quoted-strings-in-ruby ^^

Okay, no problem, your choice.
Done.


Allow router to route to other ports than 80 and 443

Hi Guys,
It would be awesome if we could change give routes explicit incoming ports. So, for instance, we have the Flynn dashboard. Which is awesome, but also really freaky dangerous.
The same goes for a rails app that I've made to automatically add SSL certs to Flynn routes, and periodically backups resources (Postgres / mongo etc), also something that should not be on the big bad WWW. (when its done ill publish the app so that more peeps can share the love)
Id likes to add the dashboard to a weird port, block it on my firewall and when I want to access it, just create an ssh tunnel and view the dashboard over my ssh tunnel. ( like Rancher does )
Thanks guys!

This was implemented in #4000.

Hi @titanous thaks so much for this great product. Only im a bit stuck
➜  flynn-backup git:(master) flynn -a dashboard route add http -p 3010 dashboard.weteling.com
validation_error: Port not reserved for HTTP traffic

i do get this working when i choose TCP, only i need HTTP. Do you have a clueue what can be wrong here?
Thanks so much!
p.s. Sorry about posting in a closed issue


Loading Parquet Data into StarRocks from Local Disk

We could use HTTP Load.

related. https://github.com/StarRocks/starrocks/issues/24180

https://github.com/StarRocks/starrocks/issues/23903

load label abc(data infile("file:///home/disk1/sr/*") into table t1 format as "csv") with broker local_load properties("timeout"="3600");


Rename error messages not to mention Registries when a Factory is not found

Registries are not always required anymore:
Caused by: toothpick.registries.NoFactoryFoundException: No factory could be found for class com.groupon.merchant.auth.cloud.CloudAccount. Check that registries are properly setup with annotation processor arguments, or use annotations correctly in this class.

https://github.com/stephanenicolas/toothpick/pull/100

Merged


download support chineses

Does the downloaded link support Chinese strings?

Does the downloaded link support Chinese strings?

框架不会转义url，做下urlEncode再发请求


Add ROSIN acknowledgements

As this project was partly funded by ROSIN, add ROSIN acknowledgements to the repository according to the press kit information.

Thanks! Let's wait until CI runs to accept it.

Thanks for the quick reaction :+1:


[FileSystem Dock] Add option to show some unsupported files in the dock.

Adds editor setting to specify unsupported file extensions to show in the docs, files are opened using OS::shell_open.
Implements https://github.com/godotengine/godot-proposals/issues/10662

As far as I understand, absolutely any files will be shown?

Any file with an extension specified in the setting

Works

Note that Godot is unable to rename symbolic link folders themselves from the FileSystem dock (here, res://symlink_target/ points to /tmp/symlink_target/ which I have write access to):

I'll take a look tomorrow, probably it's just have hard-coded file handle type check somewhere.

In a future PR, we should see if symlinks can have their text be displayed in italic to mimic how KDE's Dolphin displays them.

We have DirAccess::is_link(path), so should be easy to detect.
For the reference, macOS Finder mark symlinks with the arrow in the corner, and I think Windows do the same, so it's might be better option that italic:

There's still the question of whether we should have a temporary toggle to display all files in the project folder, regardless of the editor setting that determines which file extensions are shown.

There's "Show in file manager" option which should be sufficient for the quick access to all files, and permanently showing all files is unlikely useful.

Thanks!


[Safari]"Block this site" button in google search list display issue

This seems to be a problem that only exists in Safari.

I found it can be fixed by adding a z-index: 1 on the "Block this site" button's parent element

@HoneyLuka Sorry for my late response.
I think this is a bug in Safari or Google, since the "translate this page" links do not appear even with this extension turned off.
I wonder if this extension is responsible for fixing this problem.
Anyway, could you please try #507?


Portable version of UVAtlas ?

UVAtlas lib currently relies on Windows.h and DirectXMaths.h which are not available on non Windows platform.
Would a Pull Request replacing all call to Windows specific headers with Platform agnostic lib (glm, Eigen) and a cmake build system be accepted in this repo ?

Actually, the latest version of DirectXMath is available under an open-source license on GitHub. It's use of windows.h is entirely optional. If you have problems getting the intriniscs code to compile for your platform, you can use #define _XM_NO_INTRINSICS_ before it to force the C codepaths.

thanks, I didn't know DirectXMath was available on Github.


Add testLocationInResults option

Summary
Fixes #4775. See that for explanation.
I'm not really a fan of how many places a new option has to be specified for it to actually come through.

Test plan
Added integrationtest

A complete test run of jest's own tests, with no cache and without parallelization completes in 260s with this enabled, and 245s without it on my machine.
Not a huge difference. Maybe even the relatively expensive call to get a stacktrace is offset by the overhead inherent to any spec creation call.
I put it behind an option as we looked into adding the same sort of information to a logger at work, and it became 5x slower. Of course that logger does way less than scheduling a spec, so not too relevant, just explaining why I went with the option.
@cpojer is the overhead negligible enough to drop the option?

(That’s unfortunate; every time you drop a platform you make jest a more unacceptable option for non-apps/published projects)

Maybe we motivate the node/v8 teams to speed up actualizing a stack frame or finding the location? This feature would be awesome to have.

cc @hashseed @schuay

Do I understand correctly that the issue is that formatting a stack trace is expensive? I wonder whether something like caching (code object, code offset) => source position already helps.

Not formatting a stack, but getting a stacktrace to begin with, so that I can give a nice message about who called me (in general).
Use case can be seen in this issue (we want to point to the place in user code that defined a spec, so other tooling can find it without searching for strings).
The use case I had at work which I alluded to above is that we append a field called LocationInfo to every log statement so it's easy to find in code where the log message came from. Right now it's only added if there's an error being logged, as it has a stacktrace we can look at. Adding a stack on every log message (using callsites) added way too much overhead.

Are all collected stack traces used, or only a subset? If the latter, you should be able to improve performance by only accessing the stack property once it is needed to enable lazy formatting.
But if I'm reading your previous replies correctly, all traces are used :/ I'm not surprised that this is slow, this path is very much not optimized for performance. I'm sure it could be improved with a bit of work. See https://cs.chromium.org/chromium/src/v8/src/messages.cc?l=956&rcl=82d03a6ec9fe603f2fba2e103f4e31d3db588c8d.

Well, I only need 1 of the frames. But which one I need varies, so I have to traverse the stack until I find it.
In my logging case I need the topmost frame. In Jest I'd want the first one not in node_modules. This should always be the second frame (which I've hard coded it to be in this PR), but it's technically possible to wrap more so that'd I'd need to search to find the one I want.
Would it be possible with an api where I provided a predicate function for a stackframe I want so that a full stack trace is not needed at all times?

This is super useful ( we have code in jest-editor-support that does this also ) so it's nice to have it centralized correctly 👍

Added TODO mentioned by @thymikee.
@cpojer This is ready for merge 🙂

Codecov Report

Merging #4782 into master will decrease coverage by 0.05%.
The diff coverage is 12.5%.

@@            Coverage Diff             @@
##           master    #4782      +/-   ##
==========================================
- Coverage   58.94%   58.88%   -0.06%
==========================================
  Files         199      199
  Lines        6630     6638       +8
  Branches        3        4       +1
==========================================
+ Hits         3908     3909       +1
- Misses       2722     2729       +7

Impacted Files
Coverage Δ

packages/jest-config/src/index.js
23.8% <ø> (ø)
:arrow_up:

packages/jest-util/src/format_test_results.js
60% <ø> (ø)
:arrow_up:

packages/jest-config/src/valid_config.js
100% <ø> (ø)
:arrow_up:

packages/jest-config/src/defaults.js
100% <ø> (ø)
:arrow_up:

packages/jest-config/src/normalize.js
92.68% <ø> (ø)
:arrow_up:

packages/jest-jasmine2/src/index.js
6.15% <0%> (-0.75%)
:arrow_down:

packages/jest-jasmine2/src/reporter.js
75.6% <100%> (+0.6%)
:arrow_up:

Continue to review full report at Codecov.

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

Let's do it.


Fix hardcoding of alpha variable in mix_up function in mixup.md and mixup.ipynb

Followup PR of #438

@fchollet
Kindly review this :)

@fchollet
Looks good now ??