OverflowError: can't convert negative value to size_t

Thank you for providing dysgu such a good tool~~~
I have 8 samples with a sequencing depth of 45X,  the first 7 samples ran successfully, but the last one encountered an issue. I attempted to re-run BWA mem, but the problem persisted. This sample is from human HET293T cell line's WGS sequencing with a sequencing depth of 45X. The data is sourced from PRJNA565658, with the SRA accession number SRR10129631. I initially used the sratoolkit tool 'prefetch' to download the raw data and then converted it to fastq format using 'fastq-dump'. Finally, I ran BWA mem with the following code.
$ dysgu --version
dysgu, version 1.5.0

sample=SRR10129631
bwa mem -t 30 -R "@RG\tID:"$sample"\tSM:"$sample"\tPL:ILLUMINA" /data/wenyuhao/55/CCLE/raw/resources/genome.fasta $sample"_1.fastq" $sample"_2.fastq" | samtools sort -T ./TMP/ -o $sample"_sorted1.bam" -
dysgu run -x -p4 /data/wenyuhao/55/CCLE/raw/resources/genome.fasta TMP $sample"_sorted1.bam" > $sample"_dysgu.vcf"

then it raise Exception, that why?
$ dysgu run -x -p4 /data/wenyuhao/55/CCLE/raw/resources/genome.fasta TMP $sample"_sorted1.bam" > $sample"_dysgu.vcf"
2023-08-25 10:03:03,242 [INFO   ]  [dysgu-run] Version: 1.5.0
2023-08-25 10:03:03,242 [INFO   ]  run -x -p4 --contigs False /data/wenyuhao/55/CCLE/raw/resources/genome.fasta TMP SRR10129631_sorted1.bam
2023-08-25 10:03:03,242 [INFO   ]  Destination: TMP
2023-08-25 10:22:26,198 [INFO   ]  dysgu fetch SRR10129631_sorted1.bam written to TMP/SRR10129631_sorted1.dysgu_reads.bam, n=16505931, time=0:19:22 h:m:s
2023-08-25 10:22:26,198 [INFO   ]  Input file is: TMP/SRR10129631_sorted1.dysgu_reads.bam
2023-08-25 10:22:26,438 [INFO   ]  Sample name: SRR10129631
2023-08-25 10:22:26,438 [INFO   ]  Writing vcf to stdout
2023-08-25 10:22:26,438 [INFO   ]  Running pipeline
2023-08-25 10:22:26,898 [INFO   ]  Calculating insert size. Removed 47 outliers with insert size >= 835.0
2023-08-25 10:22:26,913 [INFO   ]  Inferred read length 151.0, insert median 387, insert stdev 87
2023-08-25 10:22:26,914 [INFO   ]  Max clustering dist 822
2023-08-25 10:22:26,915 [INFO   ]  Minimum support 3
2023-08-25 10:22:26,915 [INFO   ]  Building graph with clustering 822 bp
2023-08-25 10:27:51,487 [INFO   ]  Total input reads 16505931
2023-08-25 10:27:57,417 [INFO   ]  Graph constructed
Traceback (most recent call last):
  File "/home/wenyuhao/anaconda3/envs/dysgu/bin/dysgu", line 11, in <module>
    sys.exit(cli())
  File "/home/wenyuhao/anaconda3/envs/dysgu/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/home/wenyuhao/anaconda3/envs/dysgu/lib/python3.10/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/home/wenyuhao/anaconda3/envs/dysgu/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/wenyuhao/anaconda3/envs/dysgu/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/wenyuhao/anaconda3/envs/dysgu/lib/python3.10/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/home/wenyuhao/anaconda3/envs/dysgu/lib/python3.10/site-packages/click/decorators.py", line 33, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/wenyuhao/anaconda3/envs/dysgu/lib/python3.10/site-packages/dysgu/main.py", line 256, in run_pipeline
    cluster.cluster_reads(ctx.obj)
  File "dysgu/cluster.pyx", line 1079, in dysgu.cluster.cluster_reads
  File "dysgu/cluster.pyx", line 883, in dysgu.cluster.pipe1
  File "dysgu/graph.pyx", line 1424, in dysgu.graph.proc_component
  File "dysgu/graph.pyx", line 1444, in dysgu.graph.proc_component
  File "dysgu/graph.pyx", line 574, in dysgu.graph.NodeToName.__getitem__
OverflowError: can't convert negative value to size_t

Hi @wenyuhaokikika,
Could you upgrade dysgu to v1.6.0? It's possible this error has been fixed in the latest release.

Problem solved, thank you very much and Dysgu~~~


🔷 [Epic] [P2] Setting up moderation Automation

Description
General information: https://docs.google.com/document/d/1T1l4LZhO10mMlhVDj-Mg8K8943mLpPgaZtFJBiT0IUg/edit
Resources
(Relevant documentation, Figma links, and other reference material)

### Q4 Tasks
- [ ] https://github.com/near/near-discovery/issues/434
- [ ] https://github.com/near/near-discovery/issues/436
- [ ] https://github.com/near/near-discovery/issues/437
- [ ] https://github.com/near/near-discovery/issues/438
- [ ] https://github.com/near/near-discovery/issues/440
- [ ] https://github.com/near/near-discovery/issues/443
- [ ] https://github.com/near/near-discovery/issues/444
- [ ] https://github.com/near/near-discovery/issues/445
- [ ] https://github.com/near/near-discovery/issues/447
- [ ] https://github.com/near/near-discovery/issues/448

### Q1-24" Tasks
- [ ] https://github.com/near/near-discovery/issues/439
- [ ] https://github.com/near/near-discovery/issues/441
- [ ] https://github.com/near/near-discovery/issues/442
- [ ] https://github.com/near/near-discovery/issues/446
- [ ] https://github.com/near/near-discovery/issues/449
- [ ] https://github.com/near/near-discovery/issues/450
- [ ] https://github.com/near/near-discovery/issues/451
- [ ] https://github.com/near/near-discovery/issues/452

Backlogged as discussed here https://docs.google.com/document/d/1jNw0qFMLzi_3xKLmKZDEINxY8omzXF5VedcXCeHh7aQ/edit


WIP: Stop using loader functions for IBC out; add selector capabilities to ZQuery

This PR gets rid of our final loader: the IBC Out loader.
The IBC Out loader was responsible for loading and returning balances, asset metadatas, and the staking token metadata. It also was responsible for setting the initial balance selection and chain selection in the IBC Out form's Zustand state.
This PR moves things around a bit so that the IBC Out form can use Zustand entirely:

Add selector functionality to ZQuery's use[Name]() hooks.

This mimics React Query's select property that can be passed to useQuery. Now, multiple parts of the app can access the same data in state, but reformat it into whatever shape is useful for them using a selector. Of course, whenever the data is updated in any part of the app, the update gets propagated to every part of the app.

Add assets and balancesResponses to the shared Zustand slice.

Previously, the swap slice had swappableAssets and balancesResponses. Similarly, the send slice had transferableBalancesResponses. Now that the ibcOut slice also needs to load and use balance responses, all three features (swap, send, and IBC) all use the shared slice's instance of that data, and use selectors to filter/map/reduce/etc. as needed.
Furthermore, the staking slice had a stakingTokensAndFilter ZQuery object. But the data for that object can now be calculated using the balancesResponses and stakingTokenMetadata ZQuery objects in the shared slice. So I removed the stakingTokensAndFilter ZQuery object from the staking slice, and instead created a useStakingTokensAndFilter() hook that uses both shared.balancesResponses and shared.stakingTokenMetadata to create the necessary data.

Introduce Zustand middlewares.

There are a number of places where we want to mutate the state once e.g., an API call has returned. Previously, we were doing that in the fetcher. For example, in the send slice, we'd fetch the balances responses, then set state.send.selection to the first balances response before returning the balances responses. Now that multiple minifront features are using data from a single shared slice (e.g., the send/swap/ibcOut slices all use shared.balancesResponses), we needed a way to set certain state values in those other slices in response to the shared slice updating.
In Redux, this would be trivial — we'd just have a reducer that responds to the SET_BALANCES_RESPONSE action and updates the state accordingly. But Zustand doesn't have a notion of unique action names, so instead, we have to use middlewares that check the before/after states and determine whether a particular mutation that we care about has taken place.
Per Zustand's author, there is no "official" way to create middleware in Zustand. Instead you just literally replace the function passed to create() with one that mutates get/set/store. So that's the approach I took here. I created several middlewares that update other pieces of state once a given piece of state updates. (For example, the sendSelectionMiddleware updates state.send.selection to the first balances response when it detects that state.shared.balancesResponses has been updated.)

For future PRs, perhaps

Right now, a component that uses a use[Name]() hook from ZQuery triggers a re-fetch, even if the data has already previously been fetched. It'd be great to have a smarter caching/revalidation strategy in the future (probably taking cues from TanStack Query), but that's out of scope for this PR.

Closes #1243

Moving back to draft because of merge conflicts that will require a bit of manual resolution

OK @penumbra-zone/web-reviewers — could you please review this now? It got hung up on a rebase that was pretty hefty, and since this has gotten pretty big, it'd be super helpful to get a review soon so I can merge it ASAP. Thanks!


fix: relative path in context dir now point to root source dir

Changes relative path root to root source dir instead of source dir based on https://discord.com/channels/707636530424053791/1280818249633890365/1282809411353575424
Adapt tests based on that.

There's more usages of defaultPath now, in elixir and python runtimes. Not covered by tests.


Installation documentation

[ ] cid=0
[ ] lr.aai.url - why, what and how to change it

[ ] update lindat-common docu (point to github, explain more what it is)
[ ] clean up prerequisites (connecting apache + tomcat is messy, mention firewall might be an issue while connecting the two), might mention few tips for apache + ssl setting. Init script for shibboleth and systemd might need changing the type from notify to simple on some systems (the idea that it might not work as distributed comes from this thread). If on system with SELinux allow apache (httpd) to access socket created by shibd daemon (document the commands on bottom of this wiki. Postgres after creating users let them connect to the created databases (in ?hba? config file).
[ ] more details for the configuration/properties file, eg. all the places where PID should be set (per community setting + ?)
[ ] I'd factor the backups and ?selenium tests? out of the main makefile, to make it cleaner
[ ] should sudo be a prerequisite? if not document how to install without it
[ ] document aai.js (and shibboleth discovery) - should you download it from ufal, deploy your own (where do you get it from)?
[ ] few notes about overlays?

@kosarko, I will cross check my notes with your updated list. There might be some details that can be added at least.

[ ] clean up the $DSPACE_SOURCE_DIRECTORY and $DSPACE_WORKSPACE confusion (there is, in few places, the former, but the latter is the correct one...as an example see #420

[ ] check prerequisites...should be java8 + tomcat version with support for java8 (>7.0.50?)

@kosarko Yes, 7.0.50 is at least verified. 7.0.12 does not support fully.


Minor changes in format.h

In this PR I made these small changes:

simplified a bit the code merging the ascii_only functionality in the unit_specs one
made some names more explanatory regarding their use
added a small guide that could help if some new functionality needs to be added in the future. It may contains language errors (English is not my native language)

This is a minor PR, but I hope it can make the code more accessible for further extensions.
What do you think about it?

Thank you! When you are ready please submit it for merge.

It's ready :+1:


attempting to get jread data frame work back

See #322
I am trying to bring back work from https://github.com/USGS-R/gsplot/pull/411 . It is working locally on this branch, but the fact that those changes are back is not reflected here. How do I do that? Maybe I need to manually recreate the changes?
@jiwalker-usgs @ldecicco-USGS any guidance?

Coverage remained the same at 80.0% when pulling fe8bf7ca8a989a33eab711e35ddd7816151f9ae2 on lindsaycarr:data_frame_from_jread into 28f9ffbde5eb266d674321692973b3fbc69ee5d9 on USGS-R:master.

That's beyond my git-foo.

Close this one?

Oh yeah, meant to do that last night.


[Security] Peer bans - high level

from slack conversation, @dangershony: we need to start looking at is banning bad nodes
currently we dont do any of that
there is some logic in x stratisx to also ban based on stake reuse
regarding banning that means we will need to pass the node in to consensus from the puller
or at least the node identifier
@aprogiena
i think in general you are trying to ban anyone who gives you something that is not aligned with consensus
so all kinds of invalid blocks
also invalid network messages
also possibly too many network messages in time period
etc.

So I've created #658 to describe how to divide this (quite a big) task into two separated smaller tasks. As described there, this issue should be for high level part of it.

 [Security] Peer bans - high level


[ERROR] File not found at path: 0.12.19-4345593/gcc-version

when i run zephir build, i got this error:
[ERROR] File not found at path: 0.12.19-4345593/gcc-version
i installed  zephir the latest version on centos 8.

[root@localhost utils]# lsb_release -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description:    CentOS Linux release 8.2.2004 (Core)
Release:        8.2.2004
Codename:       Core

[root@localhost utils]# gcc --version
gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root@localhost utils]# make --version
GNU Make 4.2.1
Built for x86_64-redhat-linux-gnu
Copyright (C) 1988-2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

和你一样的错误,你用centos7就可以了.8会报这个错误,我也没找到解决办法
The same mistake as you, you can use CentOS 7

yum install php-devel gcc make re2c autoconf automake

yum install php-devel gcc make re2c autoconf automake


[HUDI-4675] add unittest for RebalancedSparkHoodieHBaseIndex

Change Logs
Describe context and summary for this change. Highlight if any code was copied.
Impact
Describe any public API or user-facing feature change or any performance impact.
Risk level: none | low | medium | high
Choose one. If medium or high, explain what verification was done to mitigate the risks.
Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

@hudi-bot run azure

Hi @fengjian428 This PR causes Azure CI to fail.  I'm reverting the merged commit on master (#8197).  Could you put up a PR again and fix the CI failure before merging?


JBPM-4862 TaskService.getTasksAssignedAsBusinessAdministrator() doesn't respect Groups of a User

depends on https://github.com/droolsjbpm/droolsjbpm-knowledge/pull/111

jenkins retest this

jenkins retest this

any comments or questions or is it good to be merged?


Multiple user keys per slice.

A current limitation is that only one user key is injected into the slice. That user can login and manually add the keys of other users, but an OpenCloud admin also needs to add the keys to the account used to support proxy login to the slice.

It looks like the Nova compute API exposes a key_data field, the contents of which are written to authorized_keys inside the VM.   AFAIK that field could contain multiple SSH keys. However the Nova client doesn't allow setting this field, only key_name.  When key_data is not present, it is generated by looking up key_name.
I think the cleanest option is to extend the Nova client and Ansible nova_compute module to allow key_data to be set directly.  Another advantage is that it will "just work" with the libvirt hook that sets up the proxy forwarding account on the node.

Tony suggested that we use the "--file" argument to the "nova boot" command for this, if that is working in our current infrastructure.  It worked with Essex but gave us problems on Folsom.

We could break this into two problems:
(1) Getting multiple SSH keys into the VM
(2) Copying the SSH keys from inside the VM to set up the proxy login account
For (1) there are a number of ways we could proceed, but probably the cleanest is to use cloud-init.  To add multiple keys we would supply a user-data script:
#cloud-config
ssh_authorized_keys:
  - ssh-rsa AAAAB3NzaC1...
  - ssh-rsa AAAAB3NzaC1...

... etc.
For (2) we could use guestfish.  Here is a command that copies out all of the SSH authorized keys in all of the user accounts in the VM 'instance-00000034':
$ guestfish --ro -d instance-00000034 -i glob cat /home/*/.ssh/authorized_keys
Since we don't know when keys inside the VM have been added or changed, we'd probably want to run this command in a cron job every few minutes for every VM.  It appears to take about 5 seconds per VM to complete.
Some advantages to doing it this way:

Requires very little code/setup - just a cron job on the nodes, and a script to generate the user-data
Lets us get rid of a hack to nova-compute where we intercept the key so that we can set up the proxy login account

The user-data you're creating for cloud-init is in YAML format? If so, then
it should be straightforward to add this to sync_slivers.py:get_userdata().
My only concern is copying out all of the keys in all of the user accounts
inside the VM. I would be worried about VMs creating account names that
conflict, either unintentionally or intentionally (as some sort of spoofing
or DOS attempt).
I would also anticipate some leakage of nuisance accounts that weren't
intended to be reachable via the NAT interface. For example, the log
aggregation server had an account that was used by HPC nodes to deposit
their logs via rsync over SSH. In an XOS world, that could have been
implemented via a private network between HPC and the log server. (we're
not setting up the log server on XOS, so it's a moot point, just an example
of potential configuration)
Scott
On Thu, Mar 12, 2015 at 8:24 AM, Andy Bavier<EMAIL_ADDRESS>wrote:

We could break this into two problems:
(1) Getting multiple SSH keys into the VM
(2) Copying the SSH keys from inside the VM to set up the proxy login
account
For (1) there are a number of ways we could proceed, but probably the
cleanest is to use cloud-init. To add multiple keys we would supply a
user-data script:
#cloud-config
ssh_authorized_keys:

ssh-rsa AAAAB3NzaC1...
ssh-rsa AAAAB3NzaC1...

... etc.
For (2) we could use guestfish. Here is a command that copies out all of
the SSH authorized keys in all of the user accounts in the VM
'instance-00000034':
$ guestfish --ro -d instance-00000034 -i glob cat
/home/*/.ssh/authorized_keys
Since we don't know when keys inside the VM have been added or changed,
we'd probably want to run this command in a cron job every few minutes for
every VM. It appears to take about 5 seconds per VM to complete.
Some advantages to doing it this way:

Requires very little code/setup - just a cron job on the nodes, and
a script to generate the user-data
Lets us get rid of a hack to nova-compute where we intercept the key
so that we can set up the proxy login account

—
Reply to this email directly or view it on GitHub
https://github.com/open-cloud/xos/issues/3#issuecomment-78502040.

We could stick with copying out keys in the default user accounts (e.g., ubuntu).  This is easy right now since the only images we support are Ubuntu images.

That sounds like a plan. Even in the Centos-5.5 image, I named the default
user 'ubuntu'.
Scott
On Thu, Mar 12, 2015 at 12:27 PM, Andy Bavier<EMAIL_ADDRESS>wrote:

We could stick with copying out keys in the default user accounts (e.g.,
ubuntu). This is easy right now since the only images we support are Ubuntu
images.
—
Reply to this email directly or view it on GitHub
https://github.com/open-cloud/xos/issues/3#issuecomment-78581908.


Clean ups

replaces https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1511
(fixes possible on master only)

Thank you @SpacePossum.


Yarn add react-native-maps still does a manual linking and produces error for IOS 14.2

Bug report

Environment info

react-native info output:
      react-native: 0.61.4
      react: 16.9.0
      react-native-maps: 0.27.1
# paste your react, react-native, react-native-maps versions here

Steps to reproduce

Yarn add react-native-maps -E
cd ios/
pod install
4 cd..
react-native run-ios

After the error was produced I ran 'react-native unlink react-native-maps' and repeated steps 1 - 5 (removing react-native-maps from package.json).... same result.
Describe what you expected to happen:

Describe what actually happens:
The terminal shows a response that 'react-native-maps was installed using manual linking' however, this is not true.
Below is an attachment of this error.
FYI this happened after IOS and Xcode made a recent update (IOS 14.2) as this has never happened prior to this.
Reproducible sample code

is anyone find solution for this.. still getting this issue in my Mac M1 for iOS in my "react-native": "0.62.2" project

see: https://github.com/react-native-maps/react-native-maps/pull/4417


byte arrays are not supported

byte arrays ([B) are not supported and lead to "[" in type definition.
It should be type=string,format=binary in swagger

would work for me as well


Ripple is affecting errorText and helperText, looks horrible with BorderRadius

Describe the bug
Ripple is affecting errorText and helperText, looks horrible with BorderRadius
To Reproduce
Steps to reproduce the behavior:

Embed DropdownSearch with Material
Add borderRadius to clickProps
Add text to labelText or errorText

return Material(
      child: DropdownSearch<String>(
        items: (filter, infiniteScrollProps) => ['hello', 'world'],
        clickProps: ClickProps(
          borderRadius: BorderRadius.circular(20.00),
        ),
        decoratorProps: DropDownDecoratorProps(
          decoration: InputDecoration(
            labelText: "Sucursal",
            helperText: 'Busque y seleccione la sucursal',
            // errorText: 'Error',
            border: OutlineInputBorder(
              borderRadius: BorderRadius.circular(20.00),
            ),
          ),
        ),
      ),
    );

Expected behavior
Add an option to disable ripple effect to labelText and errorText.
Screenshots

I dont know if this issue is related with: https://github.com/salim-lachdhaf/dropdown_search/pull/660
dropdown_search: ^6.0.1

Sadly it's a known issue https://github.com/flutter/flutter/issues/106659

The only solution to the issue is to rewrite the inputDecorator and make it clickable from inside , not as child of inkWell.

i will close this issue because it's related to Flutter framework and not to package directly.
if you do not intersted to the splash, use as @vasilich6107 mentioned


Remove iOS Workaround

Due to iOS (for several versions now) actually supporting scroll events as expected, the workaround seems to be, ironically, causing other issues when it isn't necessary.
I've personally been able to get things working 100% when I go in and disable the hack myself, but is this something that can be turned off by default in a future release?

Would the following work for you?
<script>
  var s = skrollr.init({
    mobileCheck: function() {
      return false;
    }
  });
</script>

Definitely works, I'm just hoping newcomers aren't turned off by comparatively wonky iOS support—the default legacy workaround included by mobileCheck -> true is unnecessary and makes things worse. And yes, I realize this is just an opinion!


updated reward

Logic:
1 Tracking and calculation done at CreditManager.sol 2 Verification done at Reward.sol

Updated CreditManager.sol (SupplyChain): For tracking carbon usage
Updated Reward.sol: To verify usage


fix(blockifier): remove unnecessary clone od 'class_hash' in test

This change is

#2135  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


OpenSearch remove_keys parameter support

Adds support for remove_keys to the opensearch plugin.

@pepov would be great if we could get this for https://github.com/kube-logging/logging-operator/milestone/31

@kampka nothing to be done, thanks for the contribution!

Thank you @pepov 🚀


[ECS] Cancel with rollback does not remove canary created tasks

What happened:
While deploying ECS applications with canary-related stages, cancel with rollback command does revert the application version to the previous one but doesn't remove canary stage created tasks. The reason due to canary stage created and connected canary tasks to the LB target group, and that keeps those tasks available to handle requests to that target group
What you expected to happen:
Remove canary stages created task on deployment cancel
How to reproduce it:
Environment:

piped version: v0.43.0
control-plane version: v0.43.0
Others:

Has anyone done it yet?
@khanhtc1202 can you assign this issue to me? :D

For sure, thank you 😄


Drop mariadb support

Rebased Dropped support for mariasql #2480

Yes

@priyanka-c There is no official support for maria db anymore as separate dialect that previously existed was removed. You should use mysql driver instead, and it is supposed more or less work (to the extent that mysql driver supports mariadb).


cURL fails in CMake projects when using its own version of libcurl

I needed to do:
cmake ../ -DCMAKE_USE_SYSTEM_CURL=YES

Otherwise, the project I was trying to build would fail to download dependencies with the error: "Protocol https unsupported or disabled in libcurl".

Thanks for the feedback @Petezah. Since Visual Studio doesn't really get involved in the CMake build pipeline, I'm not sure there's anything we can do here. Perhaps you could give feedback on the CURL site: https://curl.haxx.se/docs/help-us.html.


Install URL is now a 404

The referenced URL https://raw.githubusercontent.com/flofreud/poshgvm/master/GetPoshGvm.ps1 now results in a 404?

It seems that the repository has been renamed or the way github maps names to urls has changed.
This seems to be the working url:
https://raw.githubusercontent.com/flofreud/posh-gvm/master/GetPoshGvm.ps1


Improve error management of Rethnet

Depends on

[ ] https://github.com/bluealloy/revm/issues/309

Blocked by https://github.com/bluealloy/revm/pull/318


Archive conversations

Pull request checklist
This PR resolve issue:

[x] Add an Archive button to every conversation
[x]  When clicked, remove the conversation from /conversations
[x]  If any conversations are archived, add a link to the bottom labeled "Archived conversations"
[x]  When clicking this link, visit /conversations/archived and show the archived ones
[x]  Each conversation on this screen should have an Unarchive button that moves it back to /conversations

An additional task was resolved:

[x] After the sender sends a message & the receiver has the conversation in archive then it should be added to his conversation path.

I'm seeing some weird issues where if I navigate back after archiving a conversation then the UI doesn't reflect the real state

Ohh! I am not able to understand that, navigate back to which path does the view don't update?
But nevertheless, if you want me to remove turbo_stream I will remove it and I believe instead of that you want me to implement redirect to each time a conversation is archived or unarchived, right?

I'm not sure if I like that everything got tacked on to ConversationsController.
I knew you would say something like this because I have noticed that in other controllers too as most of the logic is in the models. I tried my best to keep the controller as skinny as possible. And I think the idea of shifting the logic of archiving to its own controller is a refactoring on the next level!

If you are fluent in each of those languages please leave them
Naah! I ain't! I will remove it! The reason I gave it because if user changes the language mode of the archive page to other than English then it would raise an error, so to avoid that I gave Google Translation of it wherever it was necessary. Will remove them!

I love this - good idea!
Thank You! ❤

Thanks for all feedbacks! 😄

Hey @joemasilotti, I have just pushed the changes you requested!
I am awaiting your feedback!

Closed until #843 is released. There are too many complex queries and edge cases if we don't know if the current user is acting as a business or developer.


Can't update predictions in question

The question in question: https://www.metaculus.com/questions/11419/sota-on-imagenet-top-1-accuracy/

When reloading the page some time after making my changes and clicking "save change", it seems that my update has not gone through, and the probability distribution is the same as before.

I’ve had the same problem on the 2024 subquestion. I think this is a problem for all predictors, because that question consistently ranks first when I sort by stale.

Looking at the error message when submitting a forecast on 2024:
{"error":"Question 5946 is already closed to forecasting !","message":"$undefined"}

it seems the defect is that the UI presents already-closed sub-questions as still open, if there are at least some other sub-questions still open.

@draaglom is totally right. This was a frontend bug - https://github.com/Metaculus/metaculus/pull/1014

@draaglom is absolutely correct — you shouldn't be able to forecast on this subquestion since it was closed on Oct 14th. This was a frontend bug fixed here - https://github.com/Metaculus/metaculus/pull/1014


Add get_user_info helper function to encapsulate underlying technology

Fix Issue #8864

Thanks Valentin for the patch, there are ~10 places in WMCore which need to replaced by the new function.  I will create a new patch for that.


[Easydict v2.9.3] 🐞 fix: bing host is incorrect if check ip failed

Description

[v2.9.3] - 2024-09-13
🐞 Fixed

Fixed Bing language detection API failed, which caused the query process to hang. https://github.com/raycast/extensions/issues/14357

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

@pernielsentikaer Please check this.

@pernielsentikaer hi ?


Xbox One Wireless Dongle Support

It should be possible to also support the Xbox One's USB adapter for Windows within the X-input driver.
Example implementation for Linux Driver:
https://github.com/medusalix/xone

Is this for both the 1713 and 1790 models?

Supporting either would be nice.


Possible memory leak

After working in juci for about an hour it uses about 5GB ram with one file open.

What approximately did you do in that hour? Opening/closing several files, or working on one file mostly?

I guess the terminal buffer can get quite big, other than that normal coding. I only had one file open. dialog_win.cc on my github.

Indeed, do you think that was the problem? I know I had trouble with too large terminal buffer when printing out in infinite loops for instance. Going to clean up terminal at some point, and can add max lines in terminal-buffer then.


fix gop #757 struct/interface method call bug

Codecov Report

Merging #2 (2bded77) into main (4451834) will decrease coverage by 0.01%.
The diff coverage is 88.23%.

@@            Coverage Diff             @@
##             main       #2      +/-   ##
==========================================
- Coverage   90.39%   90.38%   -0.02%
==========================================
  Files          11       11
  Lines        4124     4139      +15
==========================================
+ Hits         3728     3741      +13
- Misses        297      298       +1
- Partials       99      100       +1

Flag
Coverage Δ

unittests
90.38% <88.23%> (-0.02%)
:arrow_down:

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

Impacted Files
Coverage Δ

codebuild.go
93.86% <88.23%> (-0.08%)
:arrow_down:

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 4451834...2bded77. Read the comment docs.

New issue is found: https://github.com/goplus/gop/issues/767


Quickly find an option within a list

Hey, really love Musikcube.
I think we could really improve navigation of lists by having some kind of global "jump to list item" feature.
For example:

Press ? to load hotkeys
Desire to access the navigate_library_filter option
Press DOWN key 17 times

Instead what if I could...

Press / then f

Where pressing forwardslash would open a small "jump to" context menu that used fuzzy search to jump my cursor to the first matching item in the list.
In the example above, navigate_library_filter matches f because it's the first item in the list containing an f. If I wanted to reach playback_seek_forward I could have typed /fo to further qualify my fuzzy search string and skip farther down the list.
I dream of this feature working on virtually all lists in MusikCube.

Agreed, this would be awesome, but non-trivial to implement. I'm going to keep this ticket open and continue to think about a way to get it implemented, but it probably won't happen right away.

A version of this was implemented recently, and activated using ^F in browse view.


Complete support for text serde

Allow all data types (consignment, index-related and stash-related) to be exported as text-based serde formats (YAML, TOML, JSON)
Make these representations efficient (display large strict types libraries as bindle-encoded data, display AluVM code as disassembly, display all 32-hashes or blinding factors as Baid58 or hex strings

@dr-orlovsky is support for JSON and TOML still planned? From what I've seen to support those we should do big changes to the consignment structure (i.e. remove maps with non-string keys), therefore I propose to drop that idea and close this issue since support for YAML has been completed

I agree. We can live just with YAML, at least for now


Split block processing from confirmation reporting

I probably need to fix the tests, particularly after https://github.com/p2pderivatives/rust-dlc/pull/122/commits/46195d1b0c033ed5569f5a2e953bc7f28f4e211d.

Let me know what you think about https://github.com/p2pderivatives/rust-dlc/pull/122/commits/cabf2feba5282d815f4abc8103f78dc6f79f4570, @Tibo-lg. I've tried to address your comments.
I made it so that we model watching the buffer transaction output a bit more explicitly. I think it makes the code easier to follow. Since I did that it had the effect of being able to use the TxType::Cet to also untangle the code which handles a confirmed CET too.

I'm gonna wait for #128 before merging this because there will be conflicts and the other PR is way more important.

Git really didn't do a good job, the diff is really hard to review. But I think apart from the small comments that I left it looks good!

I think when it comes to rebases it can be a bit of a disaster. Sorry about that!


Exclude third_party folders from style checks

Some repositories have third_party folders (e.g. eventing-istio), which code styles are kind out of our control. Therefor we should exclude these subfolders form the style checks.

/cc @pierDipi


Updates for Patch2Self

Better edge case handling for ex-vivo data. Handles negative values in the distribution of the data with shifting per-volume (added as an option) rather than clipping always. Preserves the variance of the intensity distribution.
New option for skipping b0 denoising in totality. For some data, b0 denoising could get very messy. User may want to switch it off and denoise only DWI volumes.

p.s. These changes are in the merged in the master of DIPY 👍🏽

Hi @mattcieslak No sure why the build is failing... Can you point me to what I should fix?

I think the CI just had a bad day. I restarted it and that part has passed now. Thanks for the PR!

I think the CI just had a bad day. I restarted it and that part has passed now. Thanks for the PR!

Gotcha! I just by mistake changed the citation style while copying over from DIPY. Will add a commit for it soon!

Looks like we got a new error

Looks like we got a new error

Hi @mattcieslak -- does this need a restart or am I missing something? I see that TOPUP is failing. Not sure why!


Update README.md

changed or removed 404's and added cool service IMHO

Thank you. Please keep the existing libraries and just update the links:

https://hachoir.readthedocs.io/en/latest/
https://github.com/dirtbags/py-pcap

Thank you. Please keep the existing libraries and just update the links:

https://hachoir.readthedocs.io/en/latest/
https://github.com/dirtbags/py-pcap

Got it

Thank you. Please keep the existing libraries and just update the links:

https://hachoir.readthedocs.io/en/latest/
https://github.com/dirtbags/py-pcap

Done

Thank you for following up on this


bug:Uh oh. Nothing with this path exists or you do not have access to it!

Says "Uh oh. Nothing with this path exists or you do not have access to it!" when i try to ask on my account or view my own profile.
To Reproduce
Steps to reproduce the behavior:

Click on view profile or try to ask from the neospring profile link
"Uh oh. Nothing with this path exists or you do not have access to it!" appears when attempting to view own profile or access the ask box through the link

Expected behavior
just wanted to see my account or have anyone ask questions lol
Screenshots
Specifications
ive tried on the latest ipad ios (safari) and chrome on mobile android
If you also run the server this is occurring on, please include the server OS and the Sparkler commit hash you are running.
Additional context
Add any other context about the problem here.

Oh weird, what's the Neospring profile username?


Spatial image processing software tools and methods investigation

@solmazhajmohammadi, @czender  , Yan, and Xingchen are investigating the spatial image processing capabilities needed in this project and software and methods available to provide the capabilities.
We set up a wiki page to document the findings.
This ticket is created to coordinate the investigation.

We will ask Liujun Li, postdoc at cybergis center, to do a presentation and demo of the current UAV data pipeline prototype in another project during Purdue group's visit on March 31. @rachelshekar will put the presentation on the agenda.

What are the action items here? Is it to set up a separate call for @yanliu-chn, @caicai89-, @pless and @solmazhajmohammadi to coordinate?


Medium verification

SLD_PARAMETER_XOR48_DISKID 3
the long part of the key stored as the disk serial number, verified with the disk label provided within the script
serial number saved in an additional file when there's no direct access to the boot sector
CHECK BEHAVIOR ON WINDOWS

disk sector read - INT25
full path to self - get from the environment, DOS3+


edgePaddin and lazylaod breaks the carousel.

Hi,
https://codesandbox.io/s/mqr949kvyx in this demo when we reach the last slide throw the error.
Uncaught TypeError: Cannot read property 'querySelectorAll' of undefined.

[].forEach.call(slideItems[i].querySelectorAll('.tns-lazy-img'), function (img) {

Thanks @jechav ,
Add a fix in this commit.

Fixed in v2.3.4


In high QPS scenarios, kindling agent uses too much CPU to transfer event between probe and collector

Is your feature request related to a problem? Please describe.
When the single node QPS is greater than 1W, kindling uses more than 1.5 core CPUs, and it is found through the flame diagram that probe and collector use more CPUs for event transmission and serialization
Describe the solution you'd like
After my test, I found that if we use CGO, we can avoid the consumption of serialization and deserialization。And the transmission consumption is also slightly reduced
I will add my test cases right away

Closed by #264


Snapshot data persist and restore: auto-join nodes

This PR introduces snapshot data. This was intentionally excluded from the orchestrator/raft implementation and now is the time to pay the debt.
Previously, it was assumed the snapshot is the relational data. Which is true: it is the de-facto data.
However this prevents an important operation: the joining of a newly provisioned node that has no data. The hashicorp/raft library fully supports provisioning of new nodes via snapshot+delta ; however it is on the app to implement snapshot data dump+restore. Well, here it is.

There are various aspect to the original hashicorp/raft design conflicting with the notion of durable DB - backed app. I'll write a blog post on this.

Whoa after many ups and downs I think I'm happy with this change.

Note: this will be cross compatible between MySQL and SQLite


Fixed some grammar issues

Type

[ ] Bug Fix
[ ] New Feature
[ ] Sample

Related Issues?
No issue.
What is in this Pull Request ?
This PR fixes some grammar issues I encountered.

Thanks @ChVeen , merged it !!
Much appreciated :)


Bug in ad-hoc branch coverage for _merge_bounds_and_excludes

Description: There exists a bug in the branch coverage for _merge_bounds_and_excludes which causes the tests in test_specifiers.py to fail. The bug has to do with how I rewrote the list comprehensions to work with the ad-hoc branch coverage tool.
Description of done: Either rewrite the list comprehensions so that the tests pass or go back to the old way and accept that the branch coverage tool won't cover the list comprehensions branches.
Tests: Make sure that the tests in test_specifiers.py all pass

Closed with PR


Cannot install stable baselines 3

Describe the bug
So, I was watching a course on reinforcement learning, and in the first part where the tutor installs the stable-baselines3 package, I get this error when doing the same:
The full error message is:
ERROR: Command errored out with exit status 1: 'd:\python\python38\python.exe' 'd:\python\python38\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\Administrator\AppData\Local\Temp\pip-build-env-s7uz5mve\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel requests tqdm click 'importlib-resources; python_version < '"'"'3.9'"'"'' Check the logs for full command output.

This is the command I used:
pip install stable_baselines3[extra]

System Info
Describe the characteristic of your environment:

Installing library: pip
GPU: Nvidia GTX 1060
Python version: 3.8
Tensorflow version: 2.8.0
Pip version: 20.2.3

Hey. This is stable-baselines repository, not stable-baselines3 :). Anywho, the command should be pip install stable-baselines3[extra] (- instead of _). If this works, please close the issue. Note that we do not offer extensive tech support in issues.

@Miffyli thank you but that is giving me the same error.

Ah, can you share the full log of errors? I imagine it is related to this: https://github.com/DLR-RM/rl-baselines3-zoo/issues/232
Try just installing pip install stable-baselines3. You will still get the main stable-baselines3 code and you can train agents.

@Miffyli

Ah, can you share the full log of errors? I imagine it is related to this: https://github.com/DLR-RM/rl-baselines3-zoo/issues/232
I can't really find the logs but..

Try just installing pip install stable-baselines3. You will still get the main stable-baselines3 code and you can train agents.
Thank you, this worked :)


not possible to enable notifcation for multiple projects

Expected behaviour
when I select more than one project in my personal profile settings, kanboard should save my choice of (2, 3. ...) projects and send me notifications for these projects
Actual behaviour
regardless of how many checkboxes / projects I select, only one checkbox / project remains selected after I hit "Save"
Steps to reproduce

Create 3 Projects
Enable the Personal Notfications
Try to active the notfications for ALL three projects

Configuration
Copy and paste the configuration section from the Kanboard settings page or fill these fields:

Kanboard version: 1.0.26
Database type and version: MySQL 5.6 (mysql community edition)
PHP version: 5.5
OS: openSUSE
Browser: Firefox 43 + Chrome 49

It's now fixed in the master branch. The SQL constraint was not correct.
Thanks!


Update Generated.java

Description

Motivation and Context

Testing

Screenshots (if appropriate)
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

Checklist

[ ] I have read the CONTRIBUTING document
[ ] Local run of mvn install succeeds
[ ] My code follows the code style of this project
[ ] My change requires a change to the Javadoc documentation
[ ] I have updated the Javadoc documentation accordingly
[ ] I have read the README document
[ ] I have added tests to cover my changes
[ ] All new and existing tests passed
[ ] A short description of the change has been added to the CHANGELOG
[ ] My change is to implement 1.11 parity feature and I have updated LaunchChangelog

License

[ ] I confirm that this pull request can be released under the Apache 2 license

/tests-integration

/tests-stability

/tests-integration

/tests-stability

/tests-stability

/tests-integration

/tests-integration

/tests-integration

Integration tests triggered


Add support for building libponyc-standalone.a on FreeBSD

vanilla FreeBSD does not provide a libstdc++, but a libc++. This is the only real difference to the fallback solution in the else branch. Those should be consolidated at one point.
${CMAKE_AR} resolves to llvm-ar which supports mri scripts
This has been additionally tested by testing and compiling https://github.com/mfelsche/pony-ast

@mfelsche  is this good for review? I see you haven't requested reviewers yet.

@SeanTAllen Yes, this is ready for review. I picked the committers group. As I didn't want to pinpoint anyone directly, so I pinpointed them all. ;)

@jemc also pointed out that using not will catch new platforms not supporting standalone unintentionally.


Unneccessary SMTP_ADDR lookup when using "PROTOCOL = sendmail"

Description
I've just upgraded to 1.18.0 and had to fix my [mailer] config to avoid #22274 (and also update my [log] config just to see the problem in the first place!).  Now that I can see warnings in the console I noticed this:
2022/12/30 21:49:49 ...es/setting/mailer.go:263:tryResolveAddr() [W] could not look up mailer.SMTP_ADDR: lookup : no such host

However it makes no sense for gitea to be attempting to resolve SMTP_ADDR as I'm using the "sendmail" PROTOCOL for my mailer:
[mailer]
ENABLED       = true
FROM          = Gitea<EMAIL_ADDRESS>PROTOCOL      = sendmail
SENDMAIL_PATH = /usr/sbin/sendmail
SENDMAIL_ARGS = --

Gitea Version
1.18.0
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Debian 11.6 (amd64)
How are you running Gitea?
Downloaded from your GitHub release page.
Database
None

22295 is a wrong ref.


Analyze registry.k8s.io logs

Continuing from https://github.com/kubernetes/k8s.io/issues/1343#issuecomment-1165393785
Cloud Run logs requests btw. It looks like this:
{
  "insertId": "62c2d53e0003371fdc7d0e63",
  "httpRequest": {
    "requestMethod": "GET",
    "requestUrl": "https://oci-proxy-4txm7cz3ca-ew.a.run.app/v2/pause/manifests/latest",
    "requestSize": "359",
    "status": 308,
    "responseSize": "823",
    "userAgent": "curl/7.79.1",
    "remoteIp": "62.3.X.X",
    "serverIp": "<IP_ADDRESS>",
    "latency": "0.002888185s",
    "protocol": "HTTP/1.1"
  },
  "resource": {
    "type": "cloud_run_revision",
    "labels": {
      "revision_name": "oci-proxy-00007-rus",
      "service_name": "oci-proxy",
      "location": "europe-west1",
      "configuration_name": "oci-proxy",
      "project_id": "coen-mahamed-ali"
    }
  },
  "timestamp": "2022-07-04T11:55:42.210719Z",
  "severity": "INFO",
  "labels": {
    "instanceId": "00c527f6d4c262c0c5e52e02b9e0598455af84a75be4db07302d51c05ad943142fb40a1eedd66cc7d8fb9fed14ac8349f4a06236b5f8235e83c02c64ac3b494fa3"
  },
  "logName": "projects/coen-mahamed-ali/logs/run.googleapis.com%2Frequests",
  "trace": "projects/coen-mahamed-ali/traces/3c44b9996e13e00f68afa0b8dad552aa",
  "receiveTimestamp": "2022-07-04T11:55:42.217327936Z",
  "spanId": "6672162191736732715",
  "traceSampled": true
}

We can sink these logs to bigquery and start crunching data.
@BobyMCbobs @hh

/sig k8s-infra
/priority important-soon

/retitle Access Logging registery.k8s.io

@upodroid @Riaankl, how should we coordinate the log processing with BQ?
Currently in ii's sandbox project, we have a dataset that we use for providing data to the community via a DataStudio report. It's generated through
https://github.com/kubernetes/k8s.io/tree/main/images/public-log-asn-matcher.
Perhaps the data could be combined in there? @Riaankl
I think we'd need some kinda link to be set up for allowing cross-account datasets, if it is possible.

/remove-lifecycle stale

FWIW: I've been getting by OK so far with the cloud log querying.
If we want to produce some reports we can sink to BQ, but that itself costs money and it's unclear how useful those reports will be for driving future changes. We're primarily constrained by who actually provides us resources.

For visibility: This is the dashboard I'm using to track QPS:
https://console.cloud.google.com/monitoring/dashboards/builder/07365a2f-9d9b-41af-860e-a3fa5e4164ad;tzId=America%2FLos_Angeles;startTime=2022-12-01T20:06:27.146Z;endTime=2023-02-09T20:06:27.147Z?mods=logs_tg_staging&project=k8s-infra-oci-proxy-prod&dashboardBuilderState=%257B%2522editModeEnabled%2522:false%257D
Which is the main metric I'm personally interested in seeing uptick in, especially after #143 (other than ... the billing report)

At the moment I don't think top images are a concern, they were useful for the k8s.gcr.io data for approaching the redirect but mostly a curiosity otherwise.
Now that it's relatively simple to add / remove regions and we know bandwidth costs far exceed storage costs in AWS at least, we'll likely be expanding regions and just watching the bills for the moment.
We do however have a bigquery sink in place for the production registry which we're not using yet, we need to be careful how we use this as there's lots of PII.
https://github.com/kubernetes/registry.k8s.io#privacy

We can close this out. Logs are being sinked to bq for future analysis.


Test flake: Unexpected connectivity between host and server after policy

==> cilium-master-build-3: cilium policy delete id=server
==> cilium-master-build-3: + cilium policy delete id=server
==> cilium-master-build-3: wait_for_endpoints 2
==> cilium-master-build-3: + wait_for_endpoints 2
==> cilium-master-build-3: + set +x
==> cilium-master-build-3: Waiting for 2 cilium endpoints to become ready
==> cilium-master-build-3: cilium endpoint list | grep ready -c
==> cilium-master-build-3:
==> cilium-master-build-3: ping6 -c 2 "$SERVER_IP" && {
==> cilium-master-build-3: 	abort "Error: Unexpected connectivity between host and server after policy removed"
==> cilium-master-build-3: }
==> cilium-master-build-3: + ping6 -c 2 fd02::c0a8:210b:0:c164
==> cilium-master-build-3: PING fd02::c0a8:210b:0:c164(fd02::c0a8:210b:0:c164) 56 data bytes
==> cilium-master-build-3: 64 bytes from fd02::c0a8:210b:0:c164: icmp_seq=1 ttl=63 time=0.048 ms
==> cilium-master-build-3:
==> cilium-master-build-3: --- fd02::c0a8:210b:0:c164 ping statistics ---
==> cilium-master-build-3: 2 packets transmitted, 1 received, 50% packet loss, time 1026ms
==> cilium-master-build-3: rtt min/avg/max/mdev = 0.048/0.048/0.048/0.000 ms
==> cilium-master-build-3: ------------------------------------------------------------------------
==> cilium-master-build-3:                             Test Failed
==> cilium-master-build-3: Error: Unexpected connectivity between host and server after policy removed
==> cilium-master-build-3:
==> cilium-master-build-3: ------------------------------------------------------------------------

Do you think it's related with the two previous errors: panic: runtime error: cgo argument has Go pointer to Go pointer?

Do you think it's related with the two previous errors: panic: runtime error: cgo argument has Go pointer to Go pointer?

No, that's harmless. That is go monitor crashing.

We have not seen this anymore so I'm closing this for now.


[FIX] The mwb22.07 could not be imported

The meeting workbook mwb22.07 could not be imported. The apps stuck on importing.

This should be released in version v1.0.0-alpha.52


Funding fee calculation panic

I am getting this when creating a new CFD after taking the maker's offer:
2022-01-27 05:35:22 DEBUG daemon::model::cfd: Calculating funding fee using: margin 0.00136166 BTC, funding_rate -0.000339 and interval 24 order_id=1ea23cab-04fd-4cdb-a119-53e98ddd167b
thread 'rocket-worker-thread' panicked at 'values stored in db to be sane: Failed to represent as u64', daemon/src/model/cfd.rs:475:10

First line was added by me for debugging.
Importantly, this panic kills the taker_cfd::Actor, which is never restarted unless we restart the whole daemon.
This was tested on b79b52d0a08fb33fc97deb38d93e591373ce69b1, which does not include #1217. This problem may disappear with that PR.

Not sure it will disappear. Could you write a test against fund-fund-fund's
https://github.com/itchysats/itchysats/blob/c6ae9dd69f824a4b1beb82b264a308df2567f330/daemon/src/model/cfd.rs#L1344-L1357
with the values of your CFD (hopefully known...) to ensure it does not panic?

You can also just write a test again calculate_funding_fee with these values to see if you can reproduce the panic in a test please!

I think this should be close with #1233


TC-141 rename tornado dot cash to tornado cash

Explanation
Update name of product from "Tornado.cash" to "Tornado Cash" in https://tornadocash.eth.limo/ to match product naming on https://tornado.cash/ website.
Screenshot of https://tornado.cash/ website

Screenshots/Screencaps
Before

View

After

View

Manual testing steps

Search for "Tornado.cash" on all pages of https://tornadocash.eth.limo/.
Visit compliance tool website and open print view of this page (use Ctrl+P to open print mode)
Make sure "tornado.cash" word is used in above steps only as part of link to https://tornado.cash/ website.

Also need change tornado_mark.png

@tyllo, fixed


Boilerplate: Update to 20381dfb761ff26b6e4a906f55d9725d78c1c6f0

Conventions:

openshift/golang-osd-operator: Update
openshift/golang-osd-operator-osde2e: Update ---
https://github.com/openshift/boilerplate/compare/a90d9fba2e004e551dc5a9b86f8baf1c6eb91f98...20381dfb761ff26b6e4a906f55d9725d78c1c6f0

commit: 03dc7a163c4c5f68f3ec4e06f6cef118d0a9a8eb
author: Brady Pratt
golang-osd-operator: resolve BRANCH and fix REPOSITORY
REPOSITORY should be https, not ssh
The branch that is cloned of openshift/managed-release-bundle-osd should be the branch that the current branch of the operator executing the make target. Get the branch and pass it into the bundle script.
Signed-off-by: Brady Pratt<EMAIL_ADDRESS>commit: 310e8ab7f2ecf185e2e3841dd7601a77953904ce
author: Ritu Mundhe
add GCP params to harness osde2e job template

/lgtm


Added sieve of Eratosthenes algorithm to English C guides

Signed-off-by: Kelly Ledford<EMAIL_ADDRESS>

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

As there has been no response from your end for a while, we are closing this PR.
Feel free to request this PR to be reopened or create a new PR, if you still wish to make the changes you originally added plus any additional change requests asked of you.  Also, remember to update your fork, so you have the latest version of master in case it has changed significantly.
Happy Coding!


Corrections to existing answers

[Minor] Correct the quote character mismatch
[Minor] Add --peering argument to the existing answer
Correct the answer on max occupancy warning printed when a transaction processor is started.

I was on vacation, otherwise I would have integrated earlier.  Thanks for the corrections.


Fixed link for lerna

lernajs.io is not a working domain. Updated the README to show https://lerna.js.org/ instead
See: https://github.com/lerna/lerna#readme-badge

Thanks a lot!


[ENHANCEMENT] Better timing logging

Suggestions:

client processing
sending request (client <-> Marqo)
processing
inference
sending request (Marqo <-> Marqo-os)
search
sending request (Marqo <-> Marqo-os)
processing (including sorting)
sending request (Marqo -> image hosting location)

Start tracking these to see how we can improve them

We would also need to see what the endpoint is (like search/add_documents)

I did a trial on the timing logging at the server side for inference.

Timing logging for vectorise()

    from timeit import default_timer as timer
		#######
		logger.info(f"====>>The client gives {len(content)} facets to vectorise")
    start = timer()
		#######
    model_cache_key = _create_model_cache_key(model_name, device)

    if model_cache_key not in available_models:
        available_models[model_cache_key] = _load_model(model_name, device=device)
        logger.info(f'loaded {model_name} on device {device} with normalization={normalize_embeddings}')
    try:
        vectorised = available_models[model_cache_key].encode(content, normalize=normalize_embeddings, **kwargs)

    except UnidentifiedImageError as e:
        raise VectoriseError from e
		#######
    end = timer()
    logger.info(f"<<====Total vectorise time: {(end - start):.3f}s. Average vectorise time: {((end - start) / len(content)):.3f}s/facet")
		#######

For the clip_model side:

				# starting the image loading
        time_stamp1 = timer()

        if isinstance(images, list):
            image_input = format_and_load_CLIP_images(images)
        else:
            image_input = [format_and_load_CLIP_image(images)]

        # end image loading, start image preprocessing
        time_stamp2 = timer()
        self.image_input_processed = torch.stack([self.preprocess(_img).to(self.device) for _img in image_input])

        # end image preprocessing, start image encoding
        time_stamp3 = timer()

        if self.device.startswith("cuda"):
            torch.cuda.synchronize()

        with torch.no_grad():
            outputs = self.model.encode_image(self.image_input_processed)

        if normalize:
            _shape_before = outputs.shape
            outputs /= self.normalize(outputs)
            assert outputs.shape == _shape_before

        if self.device.startswith("cuda"):
            torch.cuda.synchronize()

        # end image encoding, end all
        time_stamp4 = timer()

        logger.info(f"Time per facet for <Image>: Loading = {(time_stamp2 - time_stamp1)/self.num_of_inputs:.3f}s, "
                    f"Preprocess = {(time_stamp3 - time_stamp2)/self.num_of_inputs:.3f}s, "
                    f"Encoding = {(time_stamp4 - time_stamp3)/self.num_of_inputs:.3f}s.")

This will generate two log.info() for every vectorise() call. I think this is too cumbersome.
I think a good idea is to generate a log every, let’s say 1000, call of vectorise() .
However, it is still necessary to monitor every call of vectorise() and generate a log.warning if we find any peak values.

Solved by (https://github.com/marqo-ai/marqo/pull/242)


Microsoft.Extensions.Configuration: Cannot get strongly-typed object from JSON file

Describe the bug
I am unable to use any strongly-typed methods to convert a JSON file to a configuration object. I don't know if I'm doing something wrong, but it seems pretty straightforward and I'm not sure how I could be messing it up.
To Reproduce
Run this attached code.
Expected behavior
The variable val should not be null near the end of the program, and the last line should return false instead of true. Instead, the last line is true and the config object is not instantiated.
Screenshots
N/A
Additional context
Tested on Windows 10:
.NET Core SDK (reflecting any global.json):
 Version:   2.2.100-preview2-009404
 Commit:    f4707d384d

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.17763
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\2.2.100-preview2-009404\

Host (useful for support):
  Version: 2.2.0-preview2-26905-02
  Commit:  ad4d306fe0

.NET Core SDKs installed:
  2.1.202 [C:\Program Files\dotnet\sdk]
  2.1.403 [C:\Program Files\dotnet\sdk]
  2.1.500-preview-009297 [C:\Program Files\dotnet\sdk]
  2.1.500-preview-009335 [C:\Program Files\dotnet\sdk]
  2.1.500-preview-009404 [C:\Program Files\dotnet\sdk]
  2.1.500 [C:\Program Files\dotnet\sdk]
  2.2.100-preview2-009404 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.0-preview2-35157 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.0-preview2-35157 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.0-preview2-26905-02 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

Tested on Bash on Windows 10:
.NET Core SDK (reflecting any global.json):
 Version:   2.1.500
 Commit:    b68b931422

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  18.04
 OS Platform: Linux
 RID:         ubuntu.18.04-x64
 Base Path:   /usr/share/dotnet/sdk/2.1.500/

Host (useful for support):
  Version: 2.1.6
  Commit:  3f4f8eebd8

.NET Core SDKs installed:
  2.1.500 [/usr/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.6 [/usr/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.6 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.6 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

In case it's helpful, here's the contents of the attached code:
Program.cs
using Microsoft.Extensions.Configuration;
using System;
using System.IO;
using System.Linq;

namespace EmptyCSharp
{
    public static class Program
    {
        public static void Main()
        {
            var configFilePath = $".{Path.DirectorySeparatorChar}config.json";

            var config = new ConfigurationBuilder()
                .AddJsonFile(configFilePath, false)
                .Build();

            Console.Write("Count of children: ");
            Console.WriteLine(config.GetChildren().Count());

            var section = config.GetSection("Export");
            Console.Write("Section is null?: ");
            Console.WriteLine(section == null);

            Console.Write("Value of Export:ServerAddress: ");
            try
            {
                Console.WriteLine(config["Export:ServerAddress"]);
            }
            catch
            {
                Console.WriteLine("Error accessing (value is null)");
            }

            Console.Write("Value of Export:Database: ");
            try
            {
                Console.WriteLine(config["Export:Database"]);
            }
            catch
            {
                Console.WriteLine("Error accessing (value is null)");
            }

            var val = config.GetValue<ExportConfig>("Export");

            Console.Write("Section value is null?: ");
            Console.WriteLine(val == null);

            Console.ReadKey();
        }
    }

    public class ExportConfig
    {
        public string ServerAddress { get; set; }

        public string Database { get; set; }
    }
}

config.json
{
  "Export": {
    "ServerAddress": "<IP_ADDRESS>",
    "Database": "asdff"
  }
}

You want to do this instead:
var val = config.GetSection("Export").Get<ExportConfig>();

GetValue<T> binds a single configuration value at a specified path. But Export is not a path for a value; it is the path to a section that contains multiple values. But a section itself has no value (the value is null).
In order to (recursively) bind a section, you need to use Get<T> on the section. So that’s why the above code will work.


Fetch default branch when grabbing repo info

When a repo doesn't use master as it's default branch, we're having to manually specify the branch. However, we should instead fetch this info from the API. For example, https://api.github.com/repos/scality/metalk8s shows:
"default_branch": "development/1.1",

Please automatically fetch the branch specified there. Also, please remove the branch info from all entries where it then wouldn't change the result.

The main reason for a branch was to handle those repos where master is not a default branch.
Now, with a github api, we can properly fetch a default branch, also this branch is used to count amount of contributors and first and last commits. I can guess that a repo may choose a default branch 'v1.0', then make main development in a master branch, without making any merges back into v1.0 or whatever, and this way we will accidentally think that there is no development at all

It will be a shame to remove your clever binary search for first commit logic.
--
Dan Kohn<EMAIL_ADDRESS>Executive Director, Cloud Native Computing Foundation  https://www.cncf.io
+1-415-233-1000  https://www.dankohn.com

On Sep 19, 2018, at 18:52, Andrey Kozlov<EMAIL_ADDRESS>wrote:
The main reason for a branch was to handle those repos where master is not a default branch.
Now, with a github api, we can properly fetch a default branch, also this branch is used to count amount of contributors and first and last commits. I can guess that a repo may choose a default branch 'v1.0', then make main development in a master branch, without making any merges back into v1.0 or whatever, and this way we will accidentally think that there is no development at all
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

First commit is not a problem, whatever branch you choose, it will be based on the original master in almost all the cases. Last commit may had a problem all that time: we look for the latest commit in a given branch, should not we look for the latest commit of a whole repo ?

Some repos have hundreds of branches. But feel free to implement if you want.
--
Dan Kohn<EMAIL_ADDRESS>Executive Director, Cloud Native Computing Foundation  https://www.cncf.io
+1-415-233-1000  https://www.dankohn.com

On Sep 19, 2018, at 19:01, Andrey Kozlov<EMAIL_ADDRESS>wrote:
First commit is not a problem, whatever branch you choose, it will be based on the original master in almost all the cases. Last commit may had a problem all that time: we look for the latest commit in a given branch, should not we look for the latest commit of a whole repo ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Add the README to the crates.io

Coverage remained the same at 75.619% when pulling bfb6dac4e28c80affcd30093915e3f97a5528418 on rust-av:docs into 97538d104f3548fc55ec594579eed24ab7bb6abd on xiph:master.

Landed as part of the unbreak-ci patchset.


Unexpected token in JSON at position 262140 when activating extension

Environment data

VS Code version: 1.59.1
Extension version (available under the Extensions sidebar): v2021.8.1159798656
OS and version: Linux x64 5.13.11-1-MANJARO
Python version (& distribution if applicable, e.g. Anaconda): 3.9
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): virtualenvwrapper
Relevant/affected Python-related VS Code extensions and their versions: pylance v2021.8.3, jupyter v2021.8.1236758218, Visual Studio IntelliCode v1.2.14
Value of the python.languageServer setting: Pylance

[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]
Expected behaviour
Extension loads successfuly
Actual behaviour
Extension does not load, console reports "Unexpected token ' in JSON at position 262140"
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

Load the extension by clicking a .py file

Logs

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

[2021-08-30 17:03:56.733] [exthost] [info] extension host started
[2021-08-30 17:03:56.733] [exthost] [info] Skipping acquiring lock for /home/almohress/.config/Code/User/workspaceStorage/6db1ff554e3658be722c7f27b6e6654e.
[2021-08-30 17:03:57.009] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication {"startup":false,"extensionId":{"value":"vscode.microsoft-authentication","_lower":"vscode.microsoft-authentication"},"activationEvent":"onAuthenticationRequest:microsoft"}
[2021-08-30 17:03:57.009] [exthost] [info] ExtensionService#loadCommonJSModule file:///opt/visual-studio-code/resources/app/extensions/microsoft-authentication/dist/extension.js
[2021-08-30 17:03:57.030] [exthost] [info] ExtensionService#_doActivateExtension ms-python.python {"startup":false,"extensionId":{"value":"ms-python.vscode-pylance","_lower":"ms-python.vscode-pylance"},"activationEvent":"onLanguage:python"}
[2021-08-30 17:03:57.030] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/almohress/.vscode/extensions/ms-python.python-2021.8.1159798656/out/client/extension
[2021-08-30 17:03:57.194] [exthost] [info] ExtensionService#_doActivateExtension ms-toolsai.jupyter {"startup":false,"extensionId":{"value":"ms-toolsai.jupyter","_lower":"ms-toolsai.jupyter"},"activationEvent":"onLanguage:python"}
[2021-08-30 17:03:57.194] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/almohress/.vscode/extensions/ms-toolsai.jupyter-2021.8.1236758218/out/client/extension
[2021-08-30 17:03:57.465] [exthost] [info] ExtensionService#_doActivateExtension VisualStudioExptTeam.vscodeintellicode {"startup":false,"extensionId":{"value":"VisualStudioExptTeam.vscodeintellicode","_lower":"visualstudioexptteam.vscodeintellicode"},"activationEvent":"onLanguage:python"}
[2021-08-30 17:03:57.465] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/almohress/.vscode/extensions/visualstudioexptteam.vscodeintellicode-1.2.14/dist/intellicode
[2021-08-30 17:03:57.503] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch {"startup":true,"extensionId":{"value":"vscode.debug-auto-launch","_lower":"vscode.debug-auto-launch"},"activationEvent":"*"}
[2021-08-30 17:03:57.503] [exthost] [info] ExtensionService#loadCommonJSModule file:///opt/visual-studio-code/resources/app/extensions/debug-auto-launch/dist/extension
[2021-08-30 17:03:57.506] [exthost] [info] ExtensionService#_doActivateExtension vscode.git {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":"*"}
[2021-08-30 17:03:57.506] [exthost] [info] ExtensionService#loadCommonJSModule file:///opt/visual-studio-code/resources/app/extensions/git/dist/main
[2021-08-30 17:03:57.682] [exthost] [error] Activating extension ms-python.python failed due to an error:
[2021-08-30 17:03:57.682] [exthost] [error] SyntaxError: Unexpected token 	 in JSON at position 262140
    at JSON.parse (<anonymous>)
    at D._getValue (vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js:1542:42922)
    at D.$getValue (vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js:1542:42795)
    at r._doInvokeHandler (vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js:1549:11989)
    at r._invokeHandler (vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js:1549:11673)
    at r._receiveRequest (vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js:1549:10335)
    at r._receiveOneMessage (vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js:1549:9122)
    at vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js:1549:7218
    at l.fire (vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js:60:1712)
    at n.fire (vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js:76:16477)
    at u._receiveMessage (vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js:76:21743)
    at vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js:76:18621
    at l.fire (vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js:60:1712)
    at b.acceptChunk (vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js:76:13838)
    at vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js:76:13186
    at Socket.T (vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js:2897:159022)
    at Socket.emit (events.js:315:20)
    at addChunk (internal/streams/readable.js:309:12)
    at readableAddChunk (internal/streams/readable.js:284:9)
    at Socket.Readable.push (internal/streams/readable.js:223:10)
    at Pipe.onStreamRead (internal/stream_base_commons.js:188:23)

@bpasero FYI - This looks like some JSON stored via the IStorageService became corrupt. The JSON is written a few lines lower, so it is unexpected that the value is corrupted. This might indicate some kind of bug in the storage layer.
@jrieken I don't remember writing that code, did you perhaps write that? Do you think it is so important such to fail extension activation when the JSON is corrupt, or should we catch that exception maybe here and return undefined?

I would suggest to be more resilient in extension activation as you suggest and fallback to an empty object here if any error rises from $getValue but log it as error:
https://github.com/microsoft/vscode/blob/3cca8288130cb5e0df113571b51c5b62142bb5b0/src/vs/workbench/api/common/extHostMemento.ts#L30-L33
This is the first time I hear about a problem with persisting data into SQLite. However, seeing OS and version: Linux x64 5.13.11-1-MANJARO makes me think that this is not an officially supported Linux distribution.

@almohress curious if you could share the following 2 files with me (via e-mail is fine: find it on https://github.com/bpasero).
Steps:

open the VSCode window where this issue happens
View > Command Palette => Log Storage Database Contents
Help > Toggle Dev Tools
Find the 2 paths for the DBs

Storage: Workspace (path: /Users/bpasero/Library/Application Support/code-oss-dev/User/workspaceStorage/a97bd3f7ce96ec26be36e076b940ef3e/state.vscdb)
Storage: Global (path: /Users/bpasero/Library/Application Support/code-oss-dev/User/globalStorage)

send both files to me

I can still see the original issue in vscode-insiders v1.61.0-insider

@andrea8moro whats the exact version you are on? And is it the issue that the extension fails to activate?

Version: 1.61.0-insider (user setup)
Commit: da10782b86bd9d895ccb20be4514b19728036951
Date: 2021-09-16T08:31:28.161Z
Electron: 13.4.0
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.22454
python extension: v2021.9.1230869389
Error 2021-09-16 17:51:12: Error discovering pytest tests:
[SyntaxError: Unexpected token S in JSON at position 53776
at JSON.parse ()
at a.runTestDiscovery (PATH.vscode-insiders\extensions\ms-python.python-2021.9.1230869389\out\client\extension.js:59:841449)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Promise.all (index 0)
at async _.refreshTestData (PATH.vscode-insiders\extensions\ms-python.python-2021.9.1230869389\out\client\extension.js:59:852780)
at async v.refreshTestDataInternal (PATH.vscode-insiders\extensions\ms-python.python-2021.9.1230869389\out\client\extension.js:59:844322)] {
stdout: '[{"rootid": ".", "root": "...

I fixed the issue as reported in https://github.com/microsoft/vscode/issues/132777#issuecomment-912408628 that extensions fail to activate when the contents in storage fail to get parsed. What you report here seems different to me. Looks like the python extension is calling JSON.parse on something that is not valid JSON? Have you asked the Python extension what this could be?

I see, I'll create a new issue. thanks


Changed username text margin to something more visually appealing

For reference:

I messed up these two pull requests again. Maybe 3rd time will be the charm!


chore: bump rust to 1.79.0 in Dockerfile.ci

The publish-ci-docker-image job is failing due to the old rust version;
https://github.com/postgresml/pgcat/actions/runs/9648527594/job/26609941534#step:4:2310
Caused by:
172.3   package `cargo-platform v0.1.8` cannot be built because it requires rustc 1.73 or newer, while the currently active rustc version is 1.67.1

I missed your patch sorry. This is now fixed under #780


7zip 21.06 causes<EMAIL_ADDRESS>decompress error

Steps to reproduce
I think this is related to https://github.com/ScoopInstaller/Extras/issues/7310
If you install/update 7zip to 21.06 then gcloud doesn't install properly (365.0.1 or 365.0.0). It fails to unzip the file properly.
PS C:\Users\MyUserName> scoop install 7zip
WARN  Scoop uses 'aria2c' for multi-connection downloads.
WARN  Should it cause issues, run 'scoop config aria2-enabled false' to disable it.
WARN  To disable this warning, run 'scoop config aria2-warning-enabled false'.
Installing '7zip' (21.06) [64bit]
Starting download with aria2 ...
Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: e9fcf2|OK  |    32KiB/s|C:/Users/MyUserName/scoop/cache/7zip#21.06#https_raw.githubusercontent.com_ScoopInstaller_Main_master_scripts_7-zip_uninstall-context.reg
Download: 89d45b|OK  |        n/a|C:/Users/MyUserName/scoop/cache/7zip#21.06#https_raw.githubusercontent.com_ScoopInstaller_Main_master_scripts_7-zip_install-context.reg
Download: 4f1361|OK  |   5.0MiB/s|C:/Users/MyUserName/scoop/cache/7zip#21.06#https_7-zip.org_a_7z2106-x64.msi
Download: Status Legend:
Download: (OK):download completed.
Checking hash of 7z2106-x64.msi ... ok.
Checking hash of install-context.reg ... ok.
Checking hash of uninstall-context.reg ... ok.
Extracting 7z2106-x64.msi ... done.
Running pre-install script...
Linking ~\scoop\apps\7zip\current => ~\scoop\apps\7zip\21.06
Creating shim for '7z'.
Creating shortcut for 7-Zip (7zFM.exe)
Persisting Codecs
Persisting Formats
'7zip' (21.06) was installed successfully!
Notes
-----
Add 7-Zip as a context menu option by running: "C:\Users\MyUserName\scoop\apps\7zip\current\install-context.reg"
PS C:\Users\MyUserName> scoop install gcloud
WARN  Scoop uses 'aria2c' for multi-connection downloads.
WARN  Should it cause issues, run 'scoop config aria2-enabled false' to disable it.
WARN  To disable this warning, run 'scoop config aria2-warning-enabled false'.
Installing 'gcloud' (365.0.1) [64bit]
Starting download with aria2 ...
Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: 820255|OK  |   7.9MiB/s|C:/Users/MyUserName/scoop/cache/gcloud#365.0.1#https_dl.google.com_dl_cloudsdk_channels_rapid_downloads_google-cloud-sdk-365.0.1-windows-x86_64-bundled-python.zip
Download: Status Legend:
Download: (OK):download completed.
Checking hash of google-cloud-sdk-365.0.1-windows-x86_64-bundled-python.zip ... ok.
Extracting google-cloud-sdk-365.0.1-windows-x86_64-bundled-python.zip ... ERROR Exit code was 2!
Failed to extract files from C:\Users\MyUserName\scoop\apps\gcloud\365.0.1\google-cloud-sdk-365.0.1-windows-x86_64-bundled-python.zip.
Log file:
  ~\scoop\apps\gcloud\365.0.1\7zip.log

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/lukesampson/scoop-extras/issues/new?title=gcloud%40365.0.1%3a+decompress+error

The 7zip.log file contains
PS C:\Users\MyUserName> type  ~\scoop\apps\gcloud\365.0.1\7zip.log

7-Zip 21.06 (x64) : Copyright (c) 1999-2021 Igor Pavlov : 2021-11-24

Scanning the drive for archives:
1 file, 146151332 bytes (140 MiB)

Extracting archive: C:\Users\MyUserName\scoop\apps\gcloud\365.0.1\google-cloud-sdk-365.0.1-windows-x86_64-bundled-python.zip
--
Path = C:\Users\MyUserName\scoop\apps\gcloud\365.0.1\google-cloud-sdk-365.0.1-windows-x86_64-bundled-python.zip
Type = zip
Physical Size = 146151332

Sub items Errors: 4

Archives with Errors: 1

Sub items Errors: 4

Workaround
Downgrading to 7zip 19.00 appears to work with gcloud 365.0.1 and 365.0.0; so I'm not sure which of the packages is actually showing up the exception.
I chose 7zip 19.00 as this was the last version I had installed (not for any other reason) before updating to 21.06
This sequence of steps works :
scoop uninstall gcloud 7zip
scoop install<EMAIL_ADDRESS>scoop install gcloud

I just upgraded 7zip to 21.06, but gcloud installs fine for me.
Installing 'gcloud' (365.0.1) [64bit]
Loading google-cloud-sdk-365.0.1-windows-x86_64-bundled-python.zip from cache
Checking hash of google-cloud-sdk-365.0.1-windows-x86_64-bundled-python.zip ... ok.
Extracting google-cloud-sdk-365.0.1-windows-x86_64-bundled-python.zip ... done.
Linking ~\scoop\apps\gcloud\current => ~\scoop\apps\gcloud\365.0.1
Creating shim for 'gcloud'.
Creating shim for 'gsutil'.
Creating shim for 'bq'.
Creating shim for 'docker-credential-gcloud'.
Creating shim for 'git-credential-gcloud'.
'gcloud' (365.0.1) was installed successfully!
Notes
-----
To initialize Cloud SDK, you will need to run: 'gcloud init'

reproduced with<EMAIL_ADDRESS>and<EMAIL_ADDRESS>> scoop list 7zip
Installed apps matching '7zip':

  7zip 21.06 [main]
  7zip-zstd v21.03-v1.5.0-R2 [versions]

> scoop reset 7zip
Resetting 7zip (21.06).
Linking ~\scoop\apps\7zip\current => ~\scoop\apps\7zip\21.06
Creating shim for '7z'.
Creating shortcut for 7-Zip (7zFM.exe)
Persisting Codecs
Persisting Formats
> scoop install gcloud
WARN  Purging previous failed installation of gcloud.
Uninstalling 'gcloud' ().
'gcloud' was uninstalled.
Installing 'gcloud' (365.0.1) [64bit]
Loading google-cloud-sdk-365.0.1-windows-x86_64-bundled-python.zip from cache
Checking hash of google-cloud-sdk-365.0.1-windows-x86_64-bundled-python.zip ... ok.
Extracting google-cloud-sdk-365.0.1-windows-x86_64-bundled-python.zip ... ERROR Exit code was 2!
Failed to extract files from C:\Users\HUMOR\scoop\apps\gcloud\365.0.1\google-cloud-sdk-365.0.1-windows-x86_64-bundled-python.zip.
Log file:
  ~\scoop\apps\gcloud\365.0.1\7zip.log

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/ScoopInstaller/Extras/issues/new?title=gcloud%40365.0.1%3a+decompress+error
> scoop reset 7zip-zstd
Resetting 7zip-zstd (v21.03-v1.5.0-R2).
Linking ~\scoop\apps\7zip-zstd\current => ~\scoop\apps\7zip-zstd\v21.03-v1.5.0-R2
Creating shim for '7z'.
WARN  Overwriting shim to 7z.exe installed from 7zip
Creating shim for '7zG'.
Creating shortcut for 7-Zip (7zFM.exe)
> scoop install gcloud
WARN  Purging previous failed installation of gcloud.
Uninstalling 'gcloud' ().
'gcloud' was uninstalled.
Installing 'gcloud' (365.0.1) [64bit]
Loading google-cloud-sdk-365.0.1-windows-x86_64-bundled-python.zip from cache
Checking hash of google-cloud-sdk-365.0.1-windows-x86_64-bundled-python.zip ... ok.
Extracting google-cloud-sdk-365.0.1-windows-x86_64-bundled-python.zip ... ERROR Exit code was 2!
Failed to extract files from C:\Users\HUMOR\scoop\apps\gcloud\365.0.1\google-cloud-sdk-365.0.1-windows-x86_64-bundled-python.zip.
Log file:
  ~\scoop\apps\gcloud\365.0.1\7zip.log

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/ScoopInstaller/Extras/issues/new?title=gcloud%40365.0.1%3a+decompress+error

### SCOOP'S BUG, TEMPORARY UNINSTALL `main/7zip`
> scoop uninstall 7zip
Uninstalling '7zip' (21.06).
Removing shim for '7z'.
Removing shortcut ~\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Scoop Apps\7-Zip.lnk
Unlinking ~\scoop\apps\7zip\current
'7zip' was uninstalled.
> scoop reset 7zip-zstd
Resetting 7zip-zstd (v21.03-v1.5.0-R2).
Linking ~\scoop\apps\7zip-zstd\current => ~\scoop\apps\7zip-zstd\v21.03-v1.5.0-R2
Creating shim for '7z'.
Creating shim for '7zG'.
Creating shortcut for 7-Zip (7zFM.exe)
> scoop install gcloud
WARN  Purging previous failed installation of gcloud.
Uninstalling 'gcloud' ().
'gcloud' was uninstalled.
Installing 'gcloud' (365.0.1) [64bit]
Loading google-cloud-sdk-365.0.1-windows-x86_64-bundled-python.zip from cache
Checking hash of google-cloud-sdk-365.0.1-windows-x86_64-bundled-python.zip ... ok.
Extracting google-cloud-sdk-365.0.1-windows-x86_64-bundled-python.zip ...
### STUCK HERE MORE THAN 10 MINS (FOREVERY?)

with 7zip:

with 7zip-zstd:

Also seeing this bug using the latest versions of 7zip and gcloud available through scoop.

Had the same issue for gcloud-366.
Used minor altered version of  @quotidian-ennui 's fix :
scoop uninstall 7zip
scoop install<EMAIL_ADDRESS>scoop update gcloud

Thanks!

I'm having the same problem with gcloud version 366.
7-Zip 21.06 (x64) : Copyright (c) 1999-2021 Igor Pavlov : 2021-11-24

Scanning the drive for archives:
1 file, 146611955 bytes (140 MiB)

Extracting archive: C:\Users\TrevorSullivan\scoop\apps\gcloud\366.0.0\google-cloud-sdk-366.0.0-windows-x86_64-bundled-python.zip
--
Path = C:\Users\TrevorSullivan\scoop\apps\gcloud\366.0.0\google-cloud-sdk-366.0.0-windows-x86_64-bundled-python.zip
Type = zip
Physical Size = 146611955

Sub items Errors: 4

Archives with Errors: 1

Sub items Errors: 4

@pcgeek86
Maybe it'll help you
ScoopInstaller/Scoop#4569


fixing namespacing in k8s

This PR fixes the k8s feature, which really only worked in the default namespace. This allows the user to specify the namespace to install into. Editing the configmap in the namespace scope is installed in will be automatically copied to any namespace that's instrumented with the label scope=enabled.

since this is targeted for 0.7.4 the PR should go against releases/0.7 - can you please retarget it?


http_tunnel port

I wonder difference bewteen RtspOverHttpDataPort and RtspPort . In http_tunnl_simple.cpp，I use SetHttpTunnelPort(8000) and  SetPort(554)，and then I find that client can't get option response.

There two sockets used for http tunnelling.
One is for sending(SetHttpTunnelPort) and the other if for receiving(SetPort).
These ports should be set the same port for http tunneling.


Qs in node Create

Dear Sir
I wanna create a node with multiple labels.
Could you give me a hand in this space with an example?
Thanks

Hi @s506795003,
Unfortunately currently a node can be associated with just single label.


End retro does not cascade across websocket.

User ends a retro in one browser, the other browsers don't get theirs visually cleared.

Is this a bug? Idk! Let's ask some users!

Upon asking users this can been indeed viewed as a bug!


werf: 1.2.163 -> 1.2.164

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/werf/werf/releases.
meta.description for werf is: "GitOps delivery tool"
meta.homepage for werf is: "https://werf.io"
meta.changelog for werf is: "https://github.com/werf/werf/releases/tag/v1.2.164"
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.2.164 with grep in /nix/store/8baxqavf9diybd3lxf7fqzss531lqqyg-werf-1.2.164
found 1.2.164 in filename of file in /nix/store/8baxqavf9diybd3lxf7fqzss531lqqyg-werf-1.2.164

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
werf

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/8baxqavf9diybd3lxf7fqzss531lqqyg-werf-1.2.164 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A werf https://github.com/r-ryantm/nixpkgs/archive/fb77ffef67e9035273461f29a29b4e7f2849bdfa.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/8baxqavf9diybd3lxf7fqzss531lqqyg-werf-1.2.164
ls -la /nix/store/8baxqavf9diybd3lxf7fqzss531lqqyg-werf-1.2.164/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

werf

Maintainer pings
cc @azahi for testing.

@ofborg eval

Result of nixpkgs-review pr 188113 run on x86_64-linux 1

1 package built:

werf


How do you know when a client closes the connection ?

Is there a way from server side to know when a user closes the connection ?

When the client side closes the connection, websocketd will kill the process that's handling that process. If you need to do additional cleanup you can listen for this signal.

Ok thanks, but for example in my server.php do i receive such signal that the process was killed ?

To process signals in PHP see:
http://php.net/manual/en/function.pcntl-signal.php

Great! thanks for pointing in the right direction ;)


display: block; and vertical-align: middle; somewhere in the Tailwind are useless together

Note that vertical-align only applies to inline, inline-block and table-cell elements: you can't use it to vertically align block-level elements.
Source: https://developer.mozilla.org/en-US/docs/Web/CSS/vertical-align

I don't know where it's happening, but it's compiled to:
audio,canvas,embed,iframe,img,object,svg,video {     display: block;     vertical-align: middle }
While I think it is a breaking change, since someone can make  tag inline-block and then assume that it has vertical-align: middle; I feel this blunder should be fixed in the next major version.

This is by design, see: https://github.com/jensimmons/cssremedy/issues/14
That lint error is dumb.


bugfix: switch order of screenshot and tag removal

I'm working with this tool and utilizing the screenshot functionality and realized that the tag removal happens in the "wrong" order. Not sure if there is a broader reasoning behind this, or maybe just a mistake but this PR produces the results I actually need/want when using page_to_image with tagless passed in

ah yeah, we don't use this internally so I suppose it was just broken.
Curious, whats the usecase for just page text @nik?

@asim-shrestha -- ah i just want to grab some screenshots of a clean page when i get to a page I am looking for without the tags!

thanks so much!!

No worries @nik. Would love to hear what you're using tarsier for exactly :)


Include a Rosemary compiler

Why not revive two of your dead projects by putting them together like some kind of weird transformers thing

Compilers are a big project, but I'll think about it. If you are interested, you could create a prototype using -ffreestanding C and PR it.


Resolve #168 Add README file to .installation directory warning the files should not be edited

Resolve #168 Add README file to .installation directory warning the files should not be edited

Thanks @soul2zimate


fix check condition of alias

this fixes the simple bug on the if condition in the alias_update_urltables function.

@ndejong please review this

Be great to get this reviewed - as the current version alias_update_urltables is completely broken.
Oddly, the package as is available to download currently actually as singular "alias" in the line below (like a fix was attempted but the wrong line updated)
I applied this fix directly and it works a treat. Guess it's a pfsense 2.5 change?


Fix clinicaltrials error by adding missing kwargs

I'm not sure when this bug was introduced, but ClinicalTrials.call() raises an error due an unexpected keyword argument, 'session'. Resolved by adding **kwargs to the call method. This PR also converts the method to async for consistency with the other community tools.
AI Description

The call method in the clinicaltrials.py file has been modified to include the async keyword, indicating that it is now an asynchronous function. This change allows the function to execute other code while waiting for external resources, improving the overall efficiency of the program.
Code Changes:

The call method has been modified to include the async keyword.
The **kwargs parameter has been added to the call method to allow for flexible argument passing.

Hey @BeatrixCohere, I think this should be good to merge? Let me know if there's anything else you need from me

Hey! You'll need to run make lint so the CI checks pass and we can merge this!


AJ-1681 Undo wiring of create/delete collection to look up workspaceId

This is probably what caused new workspace creation to stop working in dev, undoing these changes.

Issue is resolved: https://broadinstitute.slack.com/archives/C02SJQ0FKHQ/p1709845705336869?thread_ts=1709822869.919919&cid=C02SJQ0FKHQ


Add Interface to Security Component

While Security Class is one of core system classes and it might be replaced by user Security class, it should have it's own interface for more flexibility.

[x] Securely signed commits
[x] Component(s) with PHPdocs

please rebase instead of merge

I wrote a blog post how to rebase against feature branch https://samsonasik.wordpress.com/2015/09/16/practical-git-4-rebasing-conflicted-task-branch-against-primary-branch/


Documentation --> Display Strings

Under "A couple of things to note about display strings" on the third bullet point you say, "the square brackets do not need to be touching the squiggles" I think you should change the word "squiggles" to squiggly brackets. It seems more professional and less juvenile.
Under "What can you do with display strings?" you write, "It will make all of our lives life easier!" You should delete the word "life."

Fixed.


Remove redundant security tests

These are testing SDS, and just do a simple call from client to server.
This is now the default config, so its covered by every other tests
already. Because of this, these are pretty much entirely redundant.

I think we still want to keep the "control plane auth disabled" one?

We could, its still not actually testing anything though. This only controls communication to galley and mixer which are disabled in the test

TBD if we will remove this in master as well, I have it on the agenda for P&T + security meetings

No, I think "control plane auth disabled" impacts how every sidecar talks to istiod, right? :)

$ diff <(go run ./istioctl/cmd/istioctl manifest generate) <(go run ./istioctl/cmd/istioctl manifest generate --set values.global.controlPlaneSecurityEnabled=false)
0a1
> 2020-03-03T01:18:47.926148Z   warn    feature validation: security: auto mtls is enabled, but control plane security is not enabled
7471c7472
<         - --secureGrpcAddr=:15011
---
>         - --secureGrpcAddr=
7608c7609
<         "controlPlaneSecurityEnabled": true,
---
>         "controlPlaneSecurityEnabled": false,

It only opens up a new port that 1.4 pods will use to connect to Istiod. it is NOT used by new proxies. We can remove it in master as well

OK I see. So the workloads will always talk to istiod via mTLS. That's good.