Error: Message: , List out of index

The botter works but i keep getting these errors.

search.txt or urls.txt is any of them empty?

I have 7 links in urls.txt and 1 keyword in search.txt
im using about 200 proxies and 100 threads

I'm not sure why this error is happening.. can you show me your search.txt?

This is my search file

I ran the files using your proxy system and i got like 90% bad proxies and a few good ones with some errors like: connection failed and list out of index but no message:

Can you try without the emoji?

I tried without the emoji and i got the same results. where can i get a good proxy list?

#26 had the same error @MShawon

I also face it regularly

@advitrocks9  I see where is the problem.. why did you use | this instead of :
Yours should look like this Rockstar : Valorant Montage #6 [1440p]
@haniyadav do you see this problem just once when the script runs? Or several times?

@MShawon I fixed the keywords. For the proxies do i add those links to the file? I also found another interesting repo that you should have a look at https://github.com/KrishnaSagar/genie-youtube-viewbot

What kind of proxy do you recommend?

@MShawon I fixed the keywords. For the proxies do i add those links to the file? I also found another interesting repo that you should have a look at https://github.com/KrishnaSagar/genie-youtube-viewbot

No You download proxy from those links..wtf man he exactly copied my project just changed my banner.. not even mentioned original repo in his readme..this isn't cool

Ok thanks for the clarification. Are you going to take action against him? I mean you should.

Do you have any idea how can I take action against him?

@MShawon You can submit a takedown request if the user violates your license. Submit one here

Okay thanks I will take a look

Hope you catch him

Let's first see what he says about this..https://github.com/KrishnaSagar/genie-youtube-viewbot/issues/2

His account isnt probably as active as yours.

His account isnt as active as yours. Half of his repos are forked

Hahaha I see

if you get lucky he might respond within a month

Okay maybe I should mail him ask him nicely.

You can file a takedown req

He just mailed me he will take down his project.

Nice 👍

@advitrocks9 thank you for letting me know about this.

@advitrocks9 thank you for letting me know about this.

Thanks . Can you make some releases for windows and linux so only the files that are needed for each os are there? It makes it a bit less cluttered.

The only difference between Linux and windows here is just the two chrome drivers..other than everything is same for two OS. Or did you mean executable?

I meant that half the files are useless.

Coming back to the issue. I still dont know what those errors mean. "List is out of index". Are http proxies better than socks4/5 and what kind of proxies does the code work best with.

No those files are part of the projects..you cannot just remove them..like readme donate png those are for github repository
And if you delete search.txt your program will throw list out of index error.. this script works with any http/https or socks4/5.

oh ok.

Currently the software is only working from direct URL, you can make that search.txt empty, something throwing it
if you see message index out of range that's mean youtube_search is not working
Also make sure your chromedriver.exe is in folder don't put in same direction as the whole project, you will have problems with google driver
OSNAME = platform.system()     if OSNAME == 'Windows':         driver_path = 'chromedriver_win32/chromedriver.exe'     elif OSNAME == 'Linux':         driver_path = 'chromedriver_linux64/chromedriver'     else:         print('{} OS is not supported.'.format(OSNAME))         sys.exit()

I edited the code so that i dont need the search feature and i also changed the dir of the chromedriver.

This is my search file

I ran the files using your proxy system and i got like 90% bad proxies and a few good ones with some errors like: connection failed and list out of index but no message:

@advitrocks9 you're totally right. I forgot to implement socks4/5 proxy supports. That's why almost 90% of the proxies are dead. I will soon add socks4/5 proxy supports.


adding new reference Majdi

Thanks for your help
However, please check if the PR fulfills these requirements

[x] Links are correct

[x] Github handle of user is specify,
if not use LinkedIn link, or Twitter

[x] Spellcheck is enabled, in case of GH Action errors
with usernames edit .wordlist.txt, however fix typos

[x] Entry is according to standard
- [Name](URL) - Resources description [@github-username](https://github.com/github-username)

Thanks @majdi-d for your contribution!


What is the split strategy when working with S3DIS data set?

Hi.
According to paper, S3DIS data set is evaluate by 2 methods: eval on area 5 and 6-fold cross validation.
May I know how did you obtain the train/validate/test splits?
I assume test split is simply area 5 or whichever the area kept out in cross validation. But in which way did you split train/validate sets?
Thanks,
Jerry

S3DIS datasets consists of 6 Areas. eval on area 5 means training on Area 1, 2, 3, 4, 6 and eval on eval 5 (see here and here). Meanwhile, 6-fold cross validation training 6 independent model where each area is in turn being eval.

Thanks for the explanation. So I guess that there is not explicit eval/test set split?

Yes. You are right.

Last question: how exactly do you determine when to stop training? since there is not actual validation set, do you only stop when you reach the best result on test set(area5)?


Fix link

It used to link to the heroku app no matter what website you are on to download the video. Now it shouldn't

for some reason it is not working on the vercel test for you

@Rockpods  Done


multi-node/aws: increase default volume size

The current template defaults to 8 GiB root volumes with ~5 GiB of usable space with system overhead.

@silas can you make sure this is configurable via cluster.yaml, and documented in the example?

Updated

@silas only nit remaining is to call it workerRootVolumeSize everywhere, just to be more specific. LGTM otherwise


CORRELATION

i have a correlation file i build, ill give an example
Anyway i can get this optimizer to use this.
if a player has a minus correlation i don't want them in the same lineup.  Get the players you can't have in the same lineup from your correlation sheet and then it should be possible to loop through that method with your list of 2 players.

im not sure its possible cause my file is pretty big

It should be fine but the optimizer might take longer. You'll just have to iterate through that list and create player groups before the optimizer generates the lineups. Should be pretty easy to do with Pandas. Maybe try adding this code:
import pandas as pd

csv_filepath = 'your correlation csv'

cdf = pd.read_csv(csv_filepath)

#set this to whatever you want the correlation cutoff to be
correlation_threshold = -0.15

for i in range(len(cdf)):
    if cdf['corDK'].iloc[i] <= correlation_threshold:
        negative_corr_players = (cdf['Player'].iloc[i],cdf['Teammate'].iloc[i])
        group = PlayersGroup([optimizer.get_player_by_name(name) for name in (negative_corr_players)])
        optimizer.add_players_group(group)

thank you, ill try this out after work today

i did some testing and i am stuck on this right now
root@localhost:~/NBA/2Slate# python3 Fanduel2Finish.py
Traceback (most recent call last):
File "Fanduel2Finish.py", line 98, in
lineups = list(optimizer.optimize(n=1,))
File "/usr/local/lib/python3.7/dist-packages/pydfs_lineup_optimizer/lineup_optimizer.py", line 395, in optimize
constraint.apply(base_solver)
File "/usr/local/lib/python3.7/dist-packages/pydfs_lineup_optimizer/rules.py", line 302, in apply
self._create_constraints(solver)
File "/usr/local/lib/python3.7/dist-packages/pydfs_lineup_optimizer/rules.py", line 336, in _create_constraints
variables = [self.players_dict[p] for p in group_players]
File "/usr/local/lib/python3.7/dist-packages/pydfs_lineup_optimizer/rules.py", line 336, in
variables = [self.players_dict[p] for p in group_players]
KeyError: None

i did fix that by adjusting the threshold

i tryed to tell it to skip every row by using
df.iloc[::2]
but that didnt work

This has me stomped, wish i can tell to ignore lines like this and only use the first one

I been working on this and i have to set the threshold like -.800 to get it to make a lineup so seems like its not working and i also deleted the duplicate lines

How big is the slate you're trying to create lineups for? There might not be possible combinations available on smaller slates which do not have negatively correlated players.

it was todays slate with 7 games so it should be possible but its not i
gotta set -.800 to get it to work
On Thu, Dec 17, 2020, 5:07 PM cdbmgrdn<EMAIL_ADDRESS>wrote:

How big is the slate you're trying to create lineups for? There might not
be possible combinations available on smaller slates which do not have
negatively correlated players.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/DimaKudosh/pydfs-lineup-optimizer/issues/229#issuecomment-747731102,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANBWO7XMKFJBTIKABM3AGA3SVJ6KRANCNFSM4UY5MIBQ
.

Possibly it can be the names not matching
On Thu, Dec 17, 2020, 6:47 PM joseph offen<EMAIL_ADDRESS>wrote:

it was todays slate with 7 games so it should be possible but its not i
gotta set -.800 to get it to work
On Thu, Dec 17, 2020, 5:07 PM cdbmgrdn<EMAIL_ADDRESS>wrote:

How big is the slate you're trying to create lineups for? There might not
be possible combinations available on smaller slates which do not have
negatively correlated players.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/DimaKudosh/pydfs-lineup-optimizer/issues/229#issuecomment-747731102,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANBWO7XMKFJBTIKABM3AGA3SVJ6KRANCNFSM4UY5MIBQ
.

I'm working on something similar and I'm now thinking the issue could be with the types (I ran into a very similar problem).
Make sure that each list of uncorrelated players turns into a PlayersGroup. optimizer.add_players_group() needs a PlayersGroup input and not a list.
I'm thinking that setting your correlation cutoff to -.800 just shrunk your list to zero which made it work.
Try something like this if you have a list of lists fo uncorrelated players:
for i in range(len(uncorrelated_players_list)):
    uncorrelated_players_list[i] = PlayersGroup(uncorrelated_players_list[i])

i can upload my list if you want
On Fri, Dec 18, 2020, 1:56 PM cdbmgrdn<EMAIL_ADDRESS>wrote:

I'm working on something similar and I'm now thinking the issue could be
with the types (I ran into a very similar problem).
Make sure that each list of uncorrelated players turns into a
PlayersGroup. optimizer.add_players_group() needs a PlayersGroup input and
not a list.
I'm thinking that setting your correlation cutoff to -.800 just shrunk
your list to zero which made it work.
Try something like this if you have a list of lists fo uncorrelated
players:
for i in range(len(uncorrelated_players_list)):
uncorrelated_players_list[i] = PlayersGroup(uncorrelated_players_list[i])
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/DimaKudosh/pydfs-lineup-optimizer/issues/229#issuecomment-748261440,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANBWO7SYHXNR7MQCPS5QKFTSVOQWFANCNFSM4UY5MIBQ
.

whats your email address? that's much better for me to communicate
On Fri, Dec 18, 2020, 3:00 PM joseph offen<EMAIL_ADDRESS>wrote:

i can upload my list if you want
On Fri, Dec 18, 2020, 1:56 PM cdbmgrdn<EMAIL_ADDRESS>wrote:

I'm working on something similar and I'm now thinking the issue could be
with the types (I ran into a very similar problem).
Make sure that each list of uncorrelated players turns into a
PlayersGroup. optimizer.add_players_group() needs a PlayersGroup input and
not a list.
I'm thinking that setting your correlation cutoff to -.800 just shrunk
your list to zero which made it work.
Try something like this if you have a list of lists fo uncorrelated
players:
for i in range(len(uncorrelated_players_list)):
uncorrelated_players_list[i] = PlayersGroup(uncorrelated_players_list[i])
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/DimaKudosh/pydfs-lineup-optimizer/issues/229#issuecomment-748261440,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANBWO7SYHXNR7MQCPS5QKFTSVOQWFANCNFSM4UY5MIBQ
.

i could also be looking at the numbers incorrectly. Is a negative better or
the postive ?
On Fri, Dec 18, 2020, 4:56 PM joseph offen<EMAIL_ADDRESS>wrote:

whats your email address? that's much better for me to communicate
On Fri, Dec 18, 2020, 3:00 PM joseph offen<EMAIL_ADDRESS>wrote:

i can upload my list if you want
On Fri, Dec 18, 2020, 1:56 PM cdbmgrdn<EMAIL_ADDRESS>wrote:

I'm working on something similar and I'm now thinking the issue could be
with the types (I ran into a very similar problem).
Make sure that each list of uncorrelated players turns into a
PlayersGroup. optimizer.add_players_group() needs a PlayersGroup input and
not a list.
I'm thinking that setting your correlation cutoff to -.800 just shrunk
your list to zero which made it work.
Try something like this if you have a list of lists fo uncorrelated
players:
for i in range(len(uncorrelated_players_list)):
uncorrelated_players_list[i] = PlayersGroup(uncorrelated_players_list[i])
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/DimaKudosh/pydfs-lineup-optimizer/issues/229#issuecomment-748261440,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANBWO7SYHXNR7MQCPS5QKFTSVOQWFANCNFSM4UY5MIBQ
.

What is Teammate Correlation?
The Teammmate Correlation tool looks at the relationship between two
teammates’ performances (minutes per game, DraftKings points per game and
FanDuel points per game), measured by correlation.
Correlation measures how two values move relative to each other, and is
expressed as the correlation coefficient, a number on a scale from -1
(perfectly negative correlation) to 1 (perfectly positive correlation).
The closer the correlation coefficient is to 0, the weaker the
relationship, and the further it is from 0, the stronger the relationship.
For a positive correlation, the values move in the same direction. If Value
A increases, Value B increases. If Value A decreases, Value B decreases.
For a negative correlation, the values move in opposite directions. If
Value A increases, Value B decreases. If Value A decreases, Value B
increases.
Finally, there are also cases of no correlation. In these cases, a change
in Value A doesn’t impact Value B.
A final point on correlation: we are not dealing with any *perfectly
*correlated
relationships. For example, in the positive correlations we will look at
below, when Value A moves one direction, Value B will *typically *move in
the same direction, but not always.
The closer the correlation coefficient is to 1 (or -1), the more often the
relationship will be true.
The general idea is: how does a change in Player A’s performance impact
our expectation for Player B’s performance? If we expect Player A to have a
big game tonight (which we do if we’re playing them in a large field
tournament), how does that impact our prediction for Player B?
On Fri, Dec 18, 2020, 6:06 PM joseph offen<EMAIL_ADDRESS>wrote:

i could also be looking at the numbers incorrectly. Is a negative better
or the postive ?
On Fri, Dec 18, 2020, 4:56 PM joseph offen<EMAIL_ADDRESS>wrote:

whats your email address? that's much better for me to communicate
On Fri, Dec 18, 2020, 3:00 PM joseph offen<EMAIL_ADDRESS>wrote:

i can upload my list if you want
On Fri, Dec 18, 2020, 1:56 PM cdbmgrdn<EMAIL_ADDRESS>wrote:

I'm working on something similar and I'm now thinking the issue could
be with the types (I ran into a very similar problem).
Make sure that each list of uncorrelated players turns into a
PlayersGroup. optimizer.add_players_group() needs a PlayersGroup input and
not a list.
I'm thinking that setting your correlation cutoff to -.800 just shrunk
your list to zero which made it work.
Try something like this if you have a list of lists fo uncorrelated
players:
for i in range(len(uncorrelated_players_list)):
uncorrelated_players_list[i] = PlayersGroup(uncorrelated_players_list[i])
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/DimaKudosh/pydfs-lineup-optimizer/issues/229#issuecomment-748261440,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANBWO7SYHXNR7MQCPS5QKFTSVOQWFANCNFSM4UY5MIBQ
.

what us the full code i should try

A couple of comments, one theoretical and one practical.
The theoretical comment is that the "no negatively correlated players" rule is likely a bad idea, especially as the slate size goes down. Most correlation coefficients for teammates are statistically weak, they do not measure the magnitude of the relationship, and do not take into account salary or the other players on the team. You may not want to play $8,000 players together if they have negative correlation, but it may be a mistake to pass on a $3,500 player on this basis.
The practical comment is that these types of relationships are better expressed in projections rather than optimizer rules. The optimizer rule "no negative correlations" can be approximated by generating projections that downgrade player B when player A has a favorable projection, while also allowing these players to be played together when justified by salary and the adjusted projections. This approach should also be superior from a performance standpoint, as creating more and more complicate optimizer rules can slow things down substantially.


Get correct leader election holder ID in upgrade test

Proposed changes
Problem: The upgrade NFR test is not working.
Solution: The issue is around the leader election lease holder ID not being equal to one of the upgraded pod names, which is what the test expects. Instead, the holder ID is in the format <pod-name_uid>. The fix is to split the holder ID on the underscore, and then instead make sure the first part of the string matches one of the upgraded pod names.
Also added defer GinkgoRecover() so that Ginkgo handles its internal panic correctly when an assertion fails within this nested function. See https://onsi.github.io/ginkgo/#mental-model-how-ginkgo-handles-failure for more info.
Testing: Ran the test locally and confirmed it now passes successfully.
Closes #1891
Checklist
Before creating a PR, run through this checklist and mark each as complete.

[x] I have read the CONTRIBUTING doc
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have checked that all unit tests pass after adding my changes
[x] I have updated necessary documentation
[x] I have rebased my branch onto main
[x] I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

Release notes
If this PR introduces a change that affects users and needs to be mentioned in the release notes,
please add a brief note that summarizes the change.

NONE

I mentioned possibly re-running the other automated tests to see if they are still functioning correctly in the linked issue, do you think that would be unnecessary / out of scope for this issue?

I mentioned possibly re-running the other automated tests to see if they are still functioning correctly in the linked issue, do you think that would be unnecessary / out of scope for this issue?

@bjee19 I'll rerun the whole suite and open tickets if there are any other failures 👍🏼

Thanks @ciarams87! If you could list the tests you re-ran somewhere I think that'll be good to have verified at least. You're probably not going to do the extended duration tests, so knowing which ones you did I think would be good for release time.


Add current package selection syntax

resolves #6891

Problem
There are many use cases where it is useful to exclude models not in your package from your run selection.
There is no easy way to limit your selection to just models in your project without resorting to hardcoding in package names.

Solution
This change adds '.' as a valid package selector, enabling statements like dbt ls -s package:.
Running the selector above will return just the models from the current project.

Checklist

[x] I have read the contributing guide and understand what's expected of me
[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX
[x] This PR includes type annotations for new and modified functions

@dbeatty10 @graciegoheen


ignore anything that is not *.st.css

Right now the vscode plugin try to work on *.css files,  this is annoying when working in a project with no stylable, or on a none stylable file.

@tempit -#65 is related

Fixed by checking on request whether doc.uri.endsWith('.st.css'), else return []


⚠ Samsung has degraded performance

In 47d12e6, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2558 ms

Resolved: Samsung performance has improved in 35a40fe.


change component name

hi
how i can change component name ??

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

ID: be4c4d0c-149c-bde1-c7fa-f082916390ca
Version Independent ID: 9d945996-ad02-bd4b-58ea-c465cc5cc74c
Content: Create and use ASP.NET Core Razor components
Content Source: aspnetcore/blazor/components.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

Hello @behroozbc ... The name of the file is the name of the component. Change the file name. When I edit these documents within the next month or two, I'll be added more examples of this. For example, the text today might say something like ...

Use the XYZ component to do X, Y, or Z.

In the future, many of these references will be updated to say ...

Use the XYZ component (Pages/XYZ.razor) to do X, Y, or Z.

... or if in the Shared folder ...

Use the XYZ component (Shared/XYZ.razor) to do X, Y, or Z.

There isn't an issue yet for the updates because we're still working hard on basic feature coverage, but I anticipate opening such an issue after 3.2 releases in May.


Some details in MDR

Hi, I'm reading your NeurIPS 2021 paper "Voxel-based 3D Detection and Reconstruction of Multiple Objects from a Single Image". I have some doubts as following:
(1) How to output 3d heatmap and 3d regeression using 2d convs on a 4d tensor?
(2) What's the function of 3d u-net? Is there any ablation study on this?
Looking forward to your reply. Thank you.

Hi,
(1) We lift the 2D feature to 3D space ((code)[https://github.com/liuf1990/mdr/blob/972a23edfb1087ce1b0524566510142d1e8e9a65/code/model/featlift.py]). For the implementation of the 3D heatmap and 3D regression, please find here.
(2) Basically, we believe 3D U-net could integrate both local and global information, but we didn't quantitatively ablate that.


SystemUtils.java: Fix and updates related to macOS

This PR contains fixing macOS Big Sur detection, which started from version 11 and adds support for detecting macOS Monterey (12) and Ventura (13). Note that it might be beneficial to add @since x.x comment to the respective docs since I didn't know which version they're being included in.

Codecov Report

Merging #1085 (073e451) into master (fbfcda9) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##             master    #1085   +/-   ##
=========================================
  Coverage     92.12%   92.12%
  Complexity     7503     7503
=========================================
  Files           195      195
  Lines         15720    15722    +2
  Branches       2897     2897
=========================================
+ Hits          14482    14484    +2
  Misses          666      666
  Partials        572      572

Impacted Files
Coverage Δ

...ain/java/org/apache/commons/lang3/SystemUtils.java
96.02% <100.00%> (+0.05%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Upload assets - img/icons

most assets uploaded including profile pic, social icons etc.

pending project images


Access to IG artifacts should be through transaction specifications

Section Number general
Issue Context for requirements; navigation
Proposed Change The more time I spend in this IG, the more I think that the access to the artifacts like structure definitions and mappings needs to be from within a transaction and not from Vol 1.   When you are in the transaction, you have the context  for the actor (sender or receiver) and the message semantics (req/rsp), and then the links to the artifacts make sense.   Everytime I landed in a StructureDefinition from a link in Vol 1, I felt like I stepped into a black hole
Priority:

Medium: Significant issue or clarification. Requires discussion, but should not lead to long debate.

Lynn, which artifacts did you find in the Volume 1 material. The only one that I think I have there is the CapabilityStatement. The reason for this is that the CapabilityStatement is the definition of the Actor... On this topic, I would agree that it is less helpful in Volume 1 than I might have thought it was.
You should not have found any StructureDefinitions in Volume 1.

clarified the links to the capability statements are specifically capability statements.


Adding missing dependency to package.xml

Thanks for the PR, but shouldn't this be an exec_depend? Also, can you change the target branch to develop instead of kinetic-devel?

done


Fix of memory leak in DebugFormat.

Destructor was missing, that's why created _pdbFile and _dwarfFile objects were never destroyed.
As well as PR #334 this one partially related to #164, for example:

==22520== 106,028 (808 direct, 105,220 indirect) bytes in 1 blocks are definitely lost in loss record 1,240 of 1,245
==22520==    at 0x4C2D54F: operator new(unsigned long) (vg_replace_malloc.c:334)
==22520==    by 0x463F34: retdec::debugformat::DebugFormat::DebugFormat(retdec::loader::Image*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::map<retdec::utils::Address, retdec::fileformat::Symbol const*, std::lessretdec::utils::Address, std::allocator<std::pair<retdec::utils::Address const, retdec::fileformat::Symbol const*> > >, retdec::demangler::CDemangler, unsigned long long) (debugformat.cpp:43)
==22520==    by 0x3E8D09: retdec::bin2llvmir::DebugFormat::DebugFormat(retdec::loader::Image*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::map<retdec::utils::Address, retdec::fileformat::Symbol const*, std::lessretdec::utils::Address, std::allocator<std::pair<retdec::utils::Address const, retdec::fileformat::Symbol const*> > >, retdec::demangler::CDemangler, unsigned long long) (debugformat.h:20)
==22520==    by 0x3E880A: retdec::bin2llvmir::DebugFormatProvider::addDebugFormat(llvm::Module*, retdec::loader::Image*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, retdec::utils::Address const&, retdec::demangler::CDemangler*) (debugformat.cpp:49)
==22520==    by 0x37A2EB: retdec::bin2llvmir::ProviderInitialization::runOnModule(llvm::Module&) (provider_init.cpp:87)
==22520==    by 0x10BDB60: llvm::legacy::PassManagerImpl::run(llvm::Module&) (in retdec-bin2llvmir)
==22520==    by 0x201B24: _main(int, char**) (bin2llvmir.cpp:465)
==22520==    by 0x201E95: main (bin2llvmir.cpp:483)

Hi. Thank you for the PR. As you can see, the continuous integration has failed for Linux, macOS, and Windows. One of the pointers seems to be deleted more than once. On Linux, retdec-tests-bin2llvmir fails with
*** Error in `/home/travis/build/avast-tl/retdec/retdec-install/bin/retdec-tests-bin2llvmir': double free or corruption (!prev): 0x00000000023c4660 ***

On macOS, retdec-tests-bin2llvmir fails with
retdec-tests-bin2llvmir(44343,0x7fffa7c2d3c0) malloc: *** error for object 0x7fdb1ad00a00: pointer being freed was not allocated

On macOS, retdec-tests-bin2llvmir fails with
FAILED (return code 127)

Hi, yes, I see. I'll double check pointers to these references.


Dedupe dependencies.

Several of the packages on which postcss-cssnext depends share dependencies (postcss, balanced-match, et cetera).  However, since some of them are pinned to difference versions than others, multiple versions of these sub dependencies are downloaded.  For<EMAIL_ADDRESS>it looks like four versions of color, three versions of balanced-match, and two versions of each supports-color, postcss-selector-parser, color-string, color-name, and color-convert are required.  I am not sure if it is an actionable issue, but could something be done so that these can be deduped?

I guess one thing to do is to contribute to each dependencies.

I compiled a list of packages to be updated to dedupe the dependencies.

[ ] Bump color in postcss-color-rebeccapurple.
[ ] Bump color in postcss-color-gray.  This is already done, but they have yet to publish the patch to NPM.
[ ] Bump color in postcss-color-hwb.
[ ] Bump balanced-match in postcss-selector-not.
[ ] Bump balanced-match in postcss-custom-properties.
[ ] Bump supports-color in chalk.  This is already done, but they have yet to publish the patch to NPM.
[ ] Bump postcss-selector-parser in postcss-pseudo-class-any-link.

I will see if they accept PR's for these.

I am the author of most packages so there won't be any problem for most ;)

I merged the PR you made including this one https://github.com/MoOx/reduce-function-call/pull/5.
I checked some boxes in your previous comment :)
chalk updates for supports-color has landed a while ago. it seems to be in 1.1.2.

I don't know how I missed that chalk thing.
PR's filed for postcss-selector-not and postcss-custom-properties.

The latest version ofpostcss-pseudo-class-any-link uses the latest version of postcss-selector-parser, but the minimum supported node version is too high to use.
Not strictly part of this issue, but https://github.com/Nyalab/caniuse-api/pull/54 would also help reduce dependencies.

@wtgtybhertgeghgtwtg any update on the work done here?

  I will compile a list shortly.

Ouch. Anything to share on how to catch these?

There's a visualization tool: http://npm.anvaka.com/#/view/2d/postcss-cssnext
The duplicates are supports-color, balanced-match, ansi-styles, has-flag, chalk, postcss, browserslist, color, color-string, and reduce-css-calc.
I think the best way to get some of this out of the way would be to get the packages that still use postcss@5 up to postcss@6.  That would be postcss-color-rgba-fallback, postcss-pseudoelements, and pixrem.

#401 might help... My bad on this...

postcss-cssnext has been deprecated in favor or postcss-preset-env. Read more at https://moox.io/blog/deprecating-cssnext/


Check to flag preview VM versions is inaccurate

"Virtual machines should not be preview" is checking for "-preview" in a "Version" property, and doesn't check for the text in "offer" properties

@VeraBE - are you seeing cases of -preview being in offer and not version?

@bmoore-msft We received feedback from the private preview saying that. Maybe @JohnathonMohr or @yane3628 can provide more details

If you look at the template schema for VMs, I believe it's an object, so doing a string comparison doesn't really make sense.

It was brought up to us that this rule should likely check the offer field and not the version field.

It may make sense to have the customer leave the feedback here - I suspect it's "both" that need to be checked but don't know that I have a working example anymore...

@VeraBE - do you have an example template we can use to repro?

I don't :/ @JohnathonMohr or @yane3628 maybe have one?

I haven't been able to find one...

ok, I updated the test to check all properties - it's a little broader than the initial intent of the test but feels correct... we'll see.


Added X-Forwarded-Proto header in RoundTrip::set_forwarded_host()

This seems to be breaking other tests (where headers are tested):
 1) RackReverseProxy::Middleware as middleware with basic auth turned on makes request with basic auth

     Failure/Error: @response ||= session.request(@request)

     WebMock::NetConnectNotAllowedError:

       Real HTTP connections are disabled. Unregistered request: GET http://example.com/test/stuff with headers {'Authorization'=>'Basic am9lOnNobW9l', 'Content-Length'=>'0', 'Cookie'=>'', 'Host'=>'example.com', 'X-Forwarded-For'=>'<IP_ADDRESS>', 'X-Forwarded-Host'=>'example.org', 'X-Forwarded-Port'=>'80', 'X-Forwarded-Proto'=>'http'}

       You can stub this request with the following snippet:

       stub_request(:get, "http://example.com/test/stuff").

         with(:headers => {'Authorization'=>'Basic am9lOnNobW9l', 'Content-Length'=>'0', 'Cookie'=>'', 'Host'=>'example.com', 'X-Forwarded-For'=>'<IP_ADDRESS>', 'X-Forwarded-Host'=>'example.org', 'X-Forwarded-Port'=>'80', 'X-Forwarded-Proto'=>'http'}).

         to_return(:status => 200, :body => "", :headers => {})

       registered request stubs:

       stub_request(:get<EMAIL_ADDRESS>
rspec ./spec/rack/reverse_proxy_spec.rb:312 # RackReverseProxy::Middleware as middleware with basic auth turned on makes request with basic auth

And ruby 1.8.7 support can be probably dropped now.

@arc279 By the way, there is no need to open new pull request each time. You can push more commits to your branch on your fork and they will appear attached to this Pull Request.

I will drop support for ruby 1.8

Done. You will need to update your branch from upstream master. It can be done this way:
$ git remote add upstream https://github.com/waterlink/rack-reverse-proxy
$ git fetch upstream master
$ git rebase upstream/master
# ... resolve conflicts if any ...
$ git push -f origin your-branch-name

Oh, actually that failure even happens on master. It is related to the update of the webmock gem. Will take a look into it.

This is now fixed on master. You should update your branch as mentioned here: https://github.com/waterlink/rack-reverse-proxy/pull/32#issuecomment-215949114


exported ROIs from silcam data are all zeros

Describe the bug
black images in exported h5 files from silcam data. probably due to confusion on if images are decimal floats (0-1 range) or uint8 (0-255 range)
To Reproduce

process silcam data
try to plot a montage

Expected behavior
view a nice montage of images
very related to #67 ;)

is this fixed in process.py on the 'plotting' branch?


Can you add parsing function?

Um, Can you make a new function which is Parsing placeholders.
Sorry for my poor English..
Example:
parse_papi([player], %vault_eco_balance_commas%)
returns -> $100,000
Thanks!

I think you're looking for set_placeholders(player(), '%vault_eco_balance_commas%'). If not, please clarify.

Thanks it worked!  Have a nice day


Port crc to MATLAB

The port needs Sable/wu-wei-benchmarking-toolkit#12 done because the runner expects multiple arguments.

Moved to Sable/Ostrich2#16


Improves pod deletion with user defined networks

Delete path was printing removing the pod for every network controller like:
I1009 23:16:54.375327    8134 base_network_controller_secondary.go:287] [e2e-test-endpointslices-mirror-e2e-hg7st/backend-0] addLogicalPort for NAD e2e-test-endpointslices-mirror-e2e-hg7st/gryffindor took 3.202984ms, libovsdb time 2.456846ms
I1009 23:16:54.377764    8134 base_network_controller_secondary.go:416] Deleting pod: e2e-test-endpointslices-mirror-e2e-hg7st/backend-0 for network e2e-test-network-segmentation-e2e-b66l5.gryffindor
I1009 23:16:54.378006    8134 base_network_controller_secondary.go:416] Deleting pod: e2e-test-endpointslices-mirror-e2e-hg7st/backend-0 for network e2e-test-endpointslices-mirror-e2e-89gg6.gryffindor
I1009 23:16:54.378095    8134 base_network_controller_secondary.go:416] Deleting pod: e2e-test-endpointslices-mirror-e2e-hg7st/backend-0 for network cw92p_gryffindor
I1009 23:16:54.378168    8134 base_network_controller_secondary.go:416] Deleting pod: e2e-test-endpointslices-mirror-e2e-hg7st/backend-0 for network e2e-test-network-segmentation-e2e-cq4pk.test-net
I1009 23:16:54.378238    8134 base_network_controller_secondary.go:416] Deleting pod: e2e-test-endpointslices-mirror-e2e-hg7st/backend-0 for network e2e-test-endpointslices-mirror-e2e-d8xg4.gryffindor
I1009 23:16:54.378313    8134 base_network_controller_secondary.go:416] Deleting pod: e2e-test-endpointslices-mirror-e2e-hg7st/backend-0 for network 26x4f_gryffindor
I1009 23:16:54.378384    8134 base_network_controller_secondary.go:416] Deleting pod: e2e-test-endpointslices-mirror-e2e-hg7st/backend-0 for network e2e-test-endpointslices-mirror-e2e-hg7st.gryffindor
I1009 23:16:54.382338    8134 base_network_controller_secondary.go:416] Deleting pod: e2e-test-endpointslices-mirror-e2e-hg7st/backend-0 for network zw5ld_blue
I1009 23:16:54.382415    8134 base_network_controller_secondary.go:416] Deleting pod: e2e-test-endpointslices-mirror-e2e-hg7st/backend-0 for network e2e-test-network-segmentation-e2e-nkltz-red.red
I1009 23:16:54.382479    8134 base_network_controller_secondary.go:416] Deleting pod: e2e-test-endpointslices-mirror-e2e-hg7st/backend-0 for network e2e-test-network-segmentation-e2e-nkltz-blue.blue
This changes delete to return early if this pod is not configured by this network controller.
Also stops getting the network mapping multiple times in a single delete.

I have never seen tools lane fail: https://github.com/ovn-org/ovn-kubernetes/actions/runs/11298323245/job/31427992514#step:12:320 gonna re-run to see if it passes

@maiqueb PTAL

last push includes the fixes @tssurya @maiqueb . I'll now push again with just rebasing.

@maiqueb just rebased and had to resolve one conflict here:
https://github.com/ovn-kubernetes/ovn-kubernetes/compare/33ec28ddcf63cd330ef215a41cfa5fdf3c10069c..00f1533be76304dd8d6dbf51b82b8609271931ab#diff-7ade52078b2eac50eeb5f96fb67df39d804cf8b48592206691f748334f785b58R507
Spoke with @RamLavi and I think I resolved it correctly. @RamLavi if you want to double check thats cool too.

Summarizing 1 Failure:
  [FAIL] Network Segmentation: services on a user defined primary network should be reachable through their cluster IP and node port [It] L3 primary UDN, cluster-networked pods, NodePort service
  /home/runner/work/ovn-kubernetes/ovn-kubernetes/test/e2e/network_segmentation_services.go:422

is known flake: https://github.com/ovn-kubernetes/ovn-kubernetes/issues/4829


volto-block-toc 3.0.7 causes fatal javascript error on pages with column blocks containing two or more headers

As of version 3.0.7 I'm unable to view pages that includes the volto-block-toc and a @eeacms/volto-columns-block (currently 6.3.3) containing more than one text header.

The problem happens when running with a fully built Docker image or yarn start when using volto-block-toc 3.0.7.
The problem does not happen when using the same build with volto-block-toc 3.0.6 or 3.0.5.
All this is in the context of Volto 16.22.2 and Plone 6.0.6.

If a page on your site already contains a volto-block-toc and a volto-columns-block with more than one header you are unable to visit or edit it. This is a showstopper problem. You can work around it by building with volto-block-toc 3.0.6, but that is not a good long-term solution.
(Though the problem does not happen when the columns block contains only one header total, ironically that header is still not listed in the volto-block-toc per https://github.com/eea/volto-block-toc/issues/15.)
To produce the problem:

Create a new page
Include volto-block-toc
Include volto-columns-block
In a text block in the volto-columns-block create some text and select it so you can change it into a header
In another text block in the some volto-columns-block include some more text and select it so you can change it into a header.

The interface will fail with a javascript stacktrace. (My stacktrace is for minified javascript but I include a browser developer's console informative stacktrace below.)
The second text block could be in another column in the same column block, but not in a separate columns block.

Browser developer's console informative stacktrace
Here's a stacktrace from the browser developer's console that's produced when turning text in a volto-columns-block into the second header:
react-dom.production.min.js:216  TypeError: i.trim is not a function
    at TocView.jsx:59:19
    at Array.forEach (<anonymous>)
    at TocView.jsx:54:21
    at Array.forEach (<anonymous>)
    at TocView.jsx:34:23
    at TocView.jsx:95:57
    at Object.Mi [as useMemo] (react-dom.production.min.js:168:377)
    at t.useMemo (react.production.min.js:23:113)
    at TocView.jsx:91:28
    at si (react-dom.production.min.js:157:137)

TocView.jsx suggested to me that volto-toc-block is implicated in the problem, and establishing that the problem doesn't happen when using the same build except for changing volto-toc-block to 3.0.6 or 3.0.5 clinches the case.
Versions details
As I mention above, I'm running Volto 16.22.2 and Plone 6.0.6, and @eeacms/volto-columns-block 6.3.3. I can provide my full site setup versions info if you're unable to provoke the problem with just this info.

Any plans to investigate this problem? It may be crippling websites that use volto-block-toc 3.0.7.


Refering pages

Plugin
@knodes/typedoc-plugin-pages
Typedoc plugin(s) version(s)
<EMAIL_ADDRESS>Typedoc version
0.23.15
Describe the problem
I was previously using typedoc-plugin-pages and refering pages seems not working or differently.
Before:
{@page <page title>}

Now:
{@page <path-to-file>}

Question: how do we refer pages from within the source code?
I tried different solutions to refer .md files but unsuccessfully
What did you expected ?
Be able to refer pages based on pages titles, from md files and from source code

Hi,
Referencng pages is done either via relative paths (starting with ./ or ../, like {@page ../foo.md} or via their paths relative to the pages root folder, thus, you should omit it.
I can't really diagnose the issue you have because it seems that you didn't properly code-fenced the syntax you use.
I would be pleased to have some kind of repro in order to check this out for the next release.

Hi, did you make it work or still need help ?

Hi, sorry but I did change job/position and I cannot test anymore

Alright; since this is a usage question, I close the issue for housekeeping purposes


re-enable DPO for tests in modal ci

Description

Motivation and Context

How has this been tested?

Screenshots (if appropriate)
Types of changes

Social Handles (Optional)

Thanks, let me know in Slack if there's any other issues 🙏


"built-in"

https://github.com/RicterZ/genpAss/blob/master/src/rules/build_in.py

built-in
adjective
forming an integral part of a structure: a worktop with a built-in cooker.
• (of a characteristic) inherent; innate: the system has a built-in resistance to change.

thx (:з」∠)

900853e4b85ceaa46d1124b2e6fcc35e7a1944d3


Checkout just spinning again, but this time not going from Billing to Shipping Details

Checkout is just spinning, all was working good yesterday. Nothing edited or changed over night.
www.mdius.com
Just add anything to the cart and see. I tried clearing the cache a couple times.

Your site isn't coming up for me at all. Server down or overload maybe?

Try it again?

It's back up now.
Adding to the cart is working for me, it just took several seconds for it to complete.
No errors as such, just a long time for the server to respond.
I'm thinking your server is under heavy load or similar.

Ok, I am going to contact the server. Thank you

Well I think I know what my trouble with EasyPost is.
protected $pkgHandle = 'community_store_easypost'; protected $appVersionRequired = '8.0'; protected $pkgVersion = '2.1';
When I installed this I wasn't thinking that I am using the older version of Community Store.
Could this be most of my issue I've been having?

I actually don't think that would make much of a difference.
I developed that add-on during the earlier days of Community Store, and I don't recall having to change it for version 2 of Community Store.  I think you'd see quite specific errors displayed if there was some kind of conflict.
On the site now, I'm able to add items to the cart, progress through the checkout and have Easypost return some shipping prices, and proceed to the payment options. So that all looks fine to me.
The thing to keep in mind is that Easypost is quite fussy with addresses, you have to put in real ones that can be recognised, and occasionally it can refuse to recognise an address because of how it's been entered.

The earlier issues I saw all looked to be server performance related.

Awesome, if you don't think I need to worry about it, I won't. I just notice from time to time I have issues with my shipping.
But yeah I contact the server host and they definitely said there was something going on and they are looking in to it.
Thank you again for your help.


@batch slows down other non-@batched code on x86

Consider the following functions.
using Polyester

function reset_x!(x)
    x .= 0
end

function without_batch(x)
    for i in 1:100_000
        if x[i] != 0
            # This is never executed, x contains only zeros
            sin(x[i])
        end
    end
end

function with_batch(x)
    @batch for i in 1:100_000
        if x[i] != 0
            # This is never executed, x contains only zeros
            sin(x[i])
        end
    end
end

Running with_batch between reset_x! calls seems to somehow slow down reset_x! significantly:
julia> x = zeros(Int, 1_000_000);

julia> using BenchmarkTools

julia> @benchmark reset_x!($x) setup=without_batch(x)
BenchmarkTools.Trial: 10000 samples with 1 evaluation.
 Range (min … max):  92.173 μs … 426.870 μs  ┊ GC (min … max): 0.00% … 0.00%
 Time  (median):     94.362 μs               ┊ GC (median):    0.00%
 Time  (mean ± σ):   94.776 μs ±   3.789 μs  ┊ GC (mean ± σ):  0.00% ± 0.00%

       ▂▄▅▆▇██████▇▇▆▅▅▄▃▂▂▂ ▁▁▁  ▁     ▁▁▁▁▁▁▁                ▃
  ▄▄▄▆███████████████████████████▇██▇▇█▇████████████▇▆▆▇▇▆▆▆▆▆ █
  92.2 μs       Histogram: log(frequency) by time       101 μs <

 Memory estimate: 0 bytes, allocs estimate: 0.

julia> @benchmark reset_x!($x) setup=with_batch(x)
BenchmarkTools.Trial: 10000 samples with 1 evaluation.
 Range (min … max):  185.404 μs … 518.292 μs  ┊ GC (min … max): 0.00% … 0.00%
 Time  (median):     188.394 μs               ┊ GC (median):    0.00%
 Time  (mean ± σ):   189.119 μs ±   4.086 μs  ┊ GC (mean ± σ):  0.00% ± 0.00%

          ▅▇█▇▇▇▅▅▃▂
  ▁▁▁▂▃▆▇█████████████▇▆▅▅▄▄▃▃▃▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▁▁▁▁▁▁▁▁▁▁▁▁▁ ▃
  185 μs           Histogram: frequency by time          198 μs <

 Memory estimate: 0 bytes, allocs estimate: 0.

julia> versioninfo()
Julia Version 1.9.0
Commit 8e630552924 (2023-05-07 11:25 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 128 × AMD Ryzen Threadripper 3990X 64-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, znver2)
  Threads: 8 on 128 virtual cores

I also tested and reproduced this on an Intel i9-10980XE, but the difference there was only ~10% on 8 threads.
CC: @sloede @ranocha @LasNikas.

I see the same thing with Threads.@threads.
julia> using Polyester

julia> function reset_x!(x)
           x .= 0
       end
reset_x! (generic function with 1 method)

julia> function without_batch(x)
           for i in 1:100_000
               if x[i] != 0
                   # This is never executed, x contains only zeros
                   sin(x[i])
               end
           end
       end
without_batch (generic function with 1 method)

julia> function with_batch(x)
           @batch for i in 1:100_000
               if x[i] != 0
                   # This is never executed, x contains only zeros
                   sin(x[i])
               end
           end
       end
with_batch (generic function with 1 method)

julia> function with_thread(x)
           Threads.@threads for i in 1:100_000
               if x[i] != 0
                   # This is never executed, x contains only zeros
                   sin(x[i])
               end
           end
       end
with_thread (generic function with 1 method)

julia>

julia> x = zeros(Int, 1_000_000);

julia> using BenchmarkTools

julia> @benchmark reset_x!($x) setup=without_batch(x)
BenchmarkTools.Trial: 2881 samples with 1 evaluation.
 Range (min … max):  272.081 μs … 319.111 μs  ┊ GC (min … max): 0.00% … 0.00%
 Time  (median):     273.518 μs               ┊ GC (median):    0.00%
 Time  (mean ± σ):   273.863 μs ±   2.094 μs  ┊ GC (mean ± σ):  0.00% ± 0.00%

   ▅▇▂▄▄██▄▅▅▇▅▁▃▃▂
  ▆████████████████▆▆▇▆▇▇▆▅█▇▅▄▄▃▃▂▂▁▂▁▁▁▂▂▁▂▁▁▁▂▂▁▂▂▁▁▁▁▁▂▂▂▁▂ ▄
  272 μs           Histogram: frequency by time          280 μs <

 Memory estimate: 0 bytes, allocs estimate: 0.

julia> @benchmark reset_x!($x) setup=with_batch(x)
BenchmarkTools.Trial: 2809 samples with 1 evaluation.
 Range (min … max):  312.843 μs … 350.793 μs  ┊ GC (min … max): 0.00% … 0.00%
 Time  (median):     316.288 μs               ┊ GC (median):    0.00%
 Time  (mean ± σ):   316.484 μs ±   2.223 μs  ┊ GC (mean ± σ):  0.00% ± 0.00%

    ▁▂      ▂▄▄▆▅▅▄▅▅▅▅▇▇▅▇███▆█▆▄▁▁▃▁▂▂▁▂ ▂ ▁ ▁ ▁
  ▃███▆▅▆▆▄▆██████████████████████████████████████▆█▇▄▄▃▃▃▂▃▄▄▂ ▆
  313 μs           Histogram: frequency by time          321 μs <

 Memory estimate: 0 bytes, allocs estimate: 0.

julia> @benchmark reset_x!($x) setup=with_thread(x)
BenchmarkTools.Trial: 2063 samples with 1 evaluation.
 Range (min … max):  313.300 μs … 392.157 μs  ┊ GC (min … max): 0.00% … 0.00%
 Time  (median):     359.390 μs               ┊ GC (median):    0.00%
 Time  (mean ± σ):   358.813 μs ±  10.205 μs  ┊ GC (mean ± σ):  0.00% ± 0.00%

                                    ▂▄▄▄█▄▅▄▇▅▅▄▃▂▂ ▁
  ▂▃▁▁▂▂▂▂▁▃▂▁▂▂▂▂▃▂▂▃▂▃▃▃▄▃▃▄▄▅▅▇███████████████████▆▆▅▄▄▃▃▃▃▃ ▄
  313 μs           Histogram: frequency by time          381 μs <

 Memory estimate: 0 bytes, allocs estimate: 0.

You're right. It's even worse for me:
julia> @benchmark reset_x!($x) setup=without_batch(x)
BenchmarkTools.Trial: 10000 samples with 1 evaluation.
 Range (min … max):  91.472 μs … 414.889 μs  ┊ GC (min … max): 0.00% … 0.00%
 Time  (median):     92.852 μs               ┊ GC (median):    0.00%
 Time  (mean ± σ):   93.118 μs ±   3.508 μs  ┊ GC (mean ± σ):  0.00% ± 0.00%

    ▁▃▃▅▅▆▆▇▇████▇▇▆▅▅▄▃▃▂▂▁▁                            ▁     ▃
  ▆████████████████████████████▇▆▆█▇█▇█▇▇█▆▆▆▇▆▆▆▆▇▇███████▇█▇ █
  91.5 μs       Histogram: log(frequency) by time      97.7 μs <

 Memory estimate: 0 bytes, allocs estimate: 0.

julia> @benchmark reset_x!($x) setup=with_batch(x)
BenchmarkTools.Trial: 10000 samples with 1 evaluation.
 Range (min … max):  191.675 μs … 533.093 μs  ┊ GC (min … max): 0.00% … 0.00%
 Time  (median):     194.245 μs               ┊ GC (median):    0.00%
 Time  (mean ± σ):   194.754 μs ±   3.916 μs  ┊ GC (mean ± σ):  0.00% ± 0.00%

           ▃▅▇███▅▄▂
  ▁▁▁▁▂▃▄▅███████████▆▅▄▃▂▂▂▂▂▂▂▂▁▂▂▂▂▂▁▂▁▂▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ ▃
  192 μs           Histogram: frequency by time          203 μs <

 Memory estimate: 0 bytes, allocs estimate: 0.

julia> @benchmark reset_x!($x) setup=with_thread(x)
BenchmarkTools.Trial: 10000 samples with 1 evaluation.
 Range (min … max):  201.894 μs … 557.973 μs  ┊ GC (min … max): 0.00% … 0.00%
 Time  (median):     205.595 μs               ┊ GC (median):    0.00%
 Time  (mean ± σ):   206.066 μs ±   6.377 μs  ┊ GC (mean ± σ):  0.00% ± 0.00%

              ▁▃▅▆▆█▇██▅▆▄▂
  ▁▁▁▁▁▂▂▃▄▅▆███████████████▇▅▅▄▄▃▃▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▁▁▁▂▁▁▁▁▁▁▁ ▃
  202 μs           Histogram: frequency by time          213 μs <

 Memory estimate: 0 bytes, allocs estimate: 0.

Where would I report this to then? JuliaLang/julia?

It may be interesting to uncover why.
Possible ideas:

Threads take a while to go to sleep; they can hog system resources until then.
Clock speeds. Could mess with bios settings; I used to use the same speeds independent of the number of cores/disable boosting to mitigate this, but I believe I reverted to stock settings.
Even though the code is not executed, perhaps prefetchers still fetch the memory, and this causes some synchronization overhead?

You could experiment by playing with https://github.com/JuliaSIMD/ThreadingUtilities.jl/blob/e7f2f4ba725cf8862f42cb34b83916e3561c15f8/src/threadtasks.jl#L24
for Polyester, or
https://docs.julialang.org/en/v1/manual/environment-variables/#JULIA_THREAD_SLEEP_THRESHOLD
for Threads.@threads.
I tried setting it to 1 or 0, but this did not help.

I tried this as well.
julia> @benchmark reset_x!($x) setup=(with_batch(x); ThreadingUtilities.sleep_all_tasks())
BenchmarkTools.Trial: 10000 samples with 1 evaluation.
 Range (min … max):  197.295 μs … 540.873 μs  ┊ GC (min … max): 0.00% … 0.00%
 Time  (median):     200.054 μs               ┊ GC (median):    0.00%
 Time  (mean ± σ):   200.487 μs ±   3.949 μs  ┊ GC (mean ± σ):  0.00% ± 0.00%

             ▂▅▆███▅▃▁
  ▁▁▁▁▂▂▃▄▅▇███████████▅▅▄▄▃▃▂▂▂▂▂▂▂▂▂▂▂▁▂▂▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ ▃
  197 μs           Histogram: frequency by time          208 μs <

 Memory estimate: 0 bytes, allocs estimate: 0.

Wouldn't that rule out your first idea?

Wouldn't that rule out your first idea?

Yes.

You could try counting cpu cycles with cpucycle.

I'll come back to this when I have more time. For now, I opened an issue in JuliaLang/julia.

Note that by default, Polyester only uses one thread per physical core.
You can change this (@batch per=thread).
You could also get @threads to only use one per core, by starting Julia with only one per core.
Those experiments could tell you if the Polyester.@batch vs Threads.@threads difference is only a function of the number of threads they're using.


Visualizer from D3.js

Hi
The bars visualizer from the examples is not working on Chrome (Version 73.0.3683.103 (Build officiel) (64 bits) from Mac), that's why I'm trying to build mine.
I'm using D3.JS (btw it can really make fantastic things with audio API). I'm starting from the begining with a very basic bars visualizer. But Chrome says "The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page."
I know that's not really the good way to do, I should use the "visualization" option to build a custom one, but this seems so complicated...Now this is my code and Firefox like it, but not Safari and Chrome.
Do you think it's impossible to get the AudioContext from the "play" callback ? How can I repear it for Chrome ?

'play':function(){

    var file = Amplitude.getAudio().src;

    var audioCtx = new (window.AudioContext || window.webkitAudioContext)();
    var audioElement = Amplitude.getAudio();
    var audioSrc = audioCtx.createMediaElementSource(audioElement);
    var analyser = audioCtx.createAnalyser();

    // Bind our analyser to the media element source.
    audioSrc.connect(analyser);
    audioSrc.connect(audioCtx.destination);

    //var frequencyData = new Uint8Array(analyser.frequencyBinCount);
    var frequencyData = new Uint8Array(200);

    var svgHeight = $('#svg').innerHeight();
    var svgWidth = $('#svg').width();
    var barPadding = '1';

    function createSvg(parent, height, width) {
     return d3.select('.player #svg').append('svg').attr('height', height).attr('width', width);
    }

    var svg = createSvg('body', svgHeight, svgWidth);

    // Create our initial D3 chart.
    svg.selectAll('rect')
     .data(frequencyData)
     .enter()
     .append('rect')
     .attr('x', function (d, i) {
     return i * (svgWidth / frequencyData.length);
    })
     .attr('width', svgWidth / frequencyData.length - barPadding);

    function renderChart() {
     requestAnimationFrame(renderChart);
     analyser.getByteFrequencyData(frequencyData);
     svg.selectAll('rect')
      .data(frequencyData)
      .attr('y', function(d) {
      return svgHeight - d / 4;
     })
      .attr('height', function(d) {
      return d;
     })
      .attr('fill', function(d) {
      return 'black';
     });
    }

    // Run the loop
    renderChart();
     },

Xoxo

Sorry in advance for my answer.....
Why are you using D3.js????
The standard audio API calls/tools should be enough to ceate a vusualizer.
I think following will do what you are aiming for:
`
window.onload = function () {
var alzr     = Amplitude.getAnalyser();
alzr.fftSize = 256;
var bufl     = alzr.frequencyBinCount;
var darr     = new Uint8Array(bufl);
var cnvs     = document.getElementById("canvas");
var canw     = cnvs.width;
var canh     = cnvs.height;
var ctx      = cnvs.getContext("2d");
var barw     = (canw / bufl) * 2;
var barh;
var x = 0;
function renderFrame() {
requestAnimationFrame(renderFrame);
x = 0;
alzr.getByteFrequencyData(darr);
ctx.fillStyle = "black";
ctx.fillRect(0, 0, canw, canh);

var grnt = ctx.createLinearGradient(0, 0, 0, canh);
grnt.addColorStop(1, '#00ff00');
grnt.addColorStop(0.6, '#ff8000');
grnt.addColorStop(0, '#e60000');

for (var i = 0; i < bufl; i++) {
  barh  = darr[i] - 50;
  ctx.fillStyle = grnt;
  ctx.fillRect(x, canh - barh, barw, barh);
  x += barw + 1;
  }
}

renderFrame();
};`

Thanks you very much for your answer
One of the reason I have chosen D3.js was because canvas is displaying blurry lines.
Your code is really good, it's working on every browsers but I can't get straight lines without this blur effect. I have already make some research but I'm not familiar with canvas at all.
Do you know a solution for this ?

I'm sorry but I think I'm not able to help.....
I use the above code I gave, and that is working absolutely fine where ever I'm using it.
May I ask, what software (OS, browser, etc.) you are using? And are all proper drivers installed??
Couple of years ago I worked mostly on hardware solutions and solving hardware problems, and from what I know from these days is that you might have a video problem. When you havent changed anything from to above code, it should be working fine.
Just let me know.

I forgot something......
Can you add my code to your project, and show me a complete screenshot of it? If you don't want it publicly, just mail me the code.

That is how it should look.

Thanks again for your time !
I uploaded my project here : Link (I'll remove the link as soon as you'll see it)
Just click the play button to the very bottom left to the page and you'll see the blurry bars. (I've just quickly set black bars instead of your gradient)
As I can see, your bars are quite blurry too...
For my project, I could understand the problem could firstly come from the percent width of the canvas. Even after setting a pixel width, the problem seems to be relative to this article, but I'm not able to implement the solution into your code !
That's why I'm still thinking a cool SVG visualizer example, for example with D3.js could be interesting to have a more flexible way to use this option.

I come back with a solution ! The code has be be set inside the 'play' callback and also, use Amplitude.getAnalyser() directly instead of using window.AudioContext
Thanks to you, thanks a lot

'play':function(){
 var analyser = Amplitude.getAnalyser();
analyser.fftSize = 256;
var bufl = analyser.frequencyBinCount;

//var frequencyData = new Uint8Array(analyser.frequencyBinCount);
var frequencyData = new Uint8Array( analyser.frequencyBinCount);

var svgHeight = $('#svg').innerHeight();
var svgWidth = $('#svg').width();
var barPadding = '1';

function createSvg(parent, height, width) {
 return d3.select('.player #svg').append('svg').attr('height', height).attr('width', width);
}

var svg = createSvg('body', svgHeight, svgWidth);

// Create our initial D3 chart.
svg.selectAll('rect')
 .data(frequencyData)
 .enter()
 .append('rect')
 .attr('x', function (d, i) {
 return i * (svgWidth / frequencyData.length);
})
 .attr('width', svgWidth / frequencyData.length - barPadding);

function renderChart() {
 requestAnimationFrame(renderChart);
 analyser.getByteFrequencyData(frequencyData);
 svg.selectAll('rect')
  .data(frequencyData)
  .attr('y', function(d) {
  return svgHeight - d / 4;
 })
  .attr('height', function(d) {
  return d;
 })
  .attr('fill', function(d) {
  return 'black';
 });
}

// Run the loop
renderChart();
 }

I've looked, but no visualizer....???
Look at my screenshot.
On Sun, 12 May 2019 at 15:20, culbrique<EMAIL_ADDRESS>wrote:

Thanks again for your time !
I uploaded my project here : Link https://olivierjonvaux.com/Webradio2/
(I'll remove the link as soon as you'll see it)
Just click the play button to the very bottom left to the page and you'll
see the blurry bars. (I've just quickly set black bars instead of your
gradient)
As I can see, your bars are quite blurry too...
For my project, I could understand the problem could firstly come from the
percent width of the canvas. Even after setting a pixel width, the problem
seems to be relative to this article
https://stackoverflow.com/a/28061572, but I'm not able to implement the
solution into your code !
That's why I'm still thinking a cool SVG visualizer example, for example
with D3.js could be interesting to have a more flexible way to use this
option.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/521dimensions/amplitudejs/issues/343#issuecomment-491595447,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGHOY3TKA6JBOZLQ2VSVZL3PVAKQ3ANCNFSM4HI7KX4Q
.

@StuffyNL & @culbrique it's awesome you are building a visualizer! Is the code above in: https://github.com/521dimensions/amplitudejs/issues/343#issuecomment-491598942 the working copy? I do have a visualization template that can be used to create a Visualizer object. I'd love to throw it in the repo for others to use. I can convert it to be the visualizer object and you can re-use it in all players using AmplitudeJS 4.0+. Let me know your thoughts!

It would be lovely ! It could make people want to use an SVG library to build a cool visualizer.
The working code is the one you mentionned. Just place it with d3.js and a #svg div to see it working.
From my point of view, SVG is easier to use than canvas, and many examples can be found :

example with dots.
example with bars
example with waves.
example with multiple examples.

Can't wait to see your template !

Hi there!
I've managed to create the Freq. analyser from one of the examples.
d3-freq_analiser.txt
Please try it out and check of this is working for you.

And here's number 2...
d3-freq_analiser2.txt
I have 1 question...
How can I put the graph output into a div for example??


Upgrade CosmWasm to wasmd 0.18

Closes #829

[x] Upgrade generated proto types
[x] Use v1 proto types
[x] Update backend
[x] Make everything pass
[x] Adapt version compatibility table
[x] Add CHANGELOG entries

Looks good to me. Do you need anything else from the wasmd side?


Add Game Progress

Pull Request Test Coverage Report for Build 311146763

7 of 7 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 76.196%

Totals

Change from base Build 290123728:
0.1%

Covered Lines:
717

Relevant Lines:
941

💛  - Coveralls


Add training data

The model is very good and has a very broad concept
But there is a slight problem in the anatomy of the body and this is due to the lack of sufficient training data especially in complex poses and sports such as gymnastics
So I provide a huge set of free training data and I think it is open source
A wide range of sports such as gymnastics, diving, skiing and others are available with very high quality
And according to my experience in training some models, it has improved the anatomy of the body and difficult poses significantly
https://commons.wikimedia.org/wiki/User:DerHexer/Sports#Gymnastics
Thank you

Thanks a lot for your sharing. We will look into it and figure out if we can try it out.


Do not stop pipeline in record test command

Alternative solution for https://github.com/launchableinc/cli/pull/761.

@kohsuke
In the previous meeting you suggest that moving https://github.com/launchableinc/cli/blob/main/launchable/commands/record/tests.py#L202-L244 into https://github.com/launchableinc/cli/blob/main/launchable/commands/record/tests.py#L406. However, it does not work because https://github.com/launchableinc/cli/blob/main/launchable/test_runners/launchable.py#L117 is called before calling run() method.
Thus, I came up with other solution to solve the problem.

Thanks! I suggest leaving some comments abouot what that check represents.


Identify Outstanding Animation Updates

Task Description
There's some known discrepancies surrounding animations used by templates vs what users have available when they animate their own elements. Ideally, there's no animations that the users cannot replicate which means some updates need to happen to the existing templates. There's some missing points about what all is needed to make this happen. This ticket is to identify the gaps so we can update the animations epic and have a concrete list of what all needs to happen and the desired effects.
Per slack conversation Jan 28, 2021 and Omar's input:

we should definitely do the audit that @littlemilkstudio  suggests around reviewing the existing template animations (plus any new ones introduced in the new set of templates)  and identify which of these we'd want to:

support in the editor for users to select and edit
simplify to make it just match one of the supported animations
eliminate altogether

Audit results should be attached to this ticket as a google doc and sent to review by Omar and Sam. When consensus is reached @BrittanyIRL  will add desired updates to animation epic and we can proceed from there!
Slack thread for reference: https://xwp.slack.com/archives/C0144TS0EFJ/p1611617759002000

After getting @littlemilkstudio 's input, who is far more knowledgable about what is involved with this effort, I am repointing.
This is significantly more of a time commitment - and essentially will involve going through all templates and pinpointing the discrepancies so that design can decide what they want to replace them with, if we should simplify existing animations on templates or create new effects based on what they do and make those accessible to users.
It's a bit of a moving target really. I'm curious if these early 8 templates should just be replaced when the new batch of 50 templates is added so that this discrepancy is no longer an issue moving forward since it'll be a good bit of time (this ticket teeters on an 8) for eng to handle documenting all of these differences and the back and forth on design.

@BrittanyIRL I think we surmised this is more of a product task. Would you like me to mark it as done on our end? or use this ticket to track product's progress on it?

@littlemilkstudio thanks for bringing this up!
I'm gonna send it over to @o-fernandez and @samitron7


CIF-1055 - Regenerate Magento GraphQL library for 2.3.3

regenerated the library based on the Magento 2.3.3 GraphQL schema
minor fix for javadocs

Tested that the connector and the components build with this new version.


Nothing displayed in Listen to Events

Nothing is ever displayed when I listen to reolink_discovery however it did allow my Reolink RLC-822a camera to be setup

I had removed the event code because I found an alternate method that both avoids the serialization/de-serialization of events and would ensure an integration was loaded even if not configured. By default integrations are only loaded if they have a configuration.yaml entry or a config entry, or are loaded by the discovery system.
I could add an option to enable the firing of an event in addition, just hadn't thought of that at the time.

Thanks - I was just reading the readme as it mentions  listening to Reolink_discovery


Access to CERN EOS files is not working from coffea.casa xcache

Basic reproducer to run on coffea.casa (through UNL xcache):
xrdcp -f root://xcache//store/group/phys_exotica/axol1tl/MC_ScoutingNano_withAXOscore/DYto2L_M-50_TuneCP5_13p6TeV_pythia8/DYto2L_M-50_TuneCP5_13p6TeV_pythia8/ScoutingNano_DYto2L_withAXOscore_20241107/241107_192432/0000/L1Nano_wScores_100.root /dev/null

File is stored at CMS EOS @ CERN eoscms.cern.ch:  /eos/cms/store/group/phys_exotica/axol1tl/MC_ScoutingNano_withAXOscore/DYto2L_M-50_TuneCP5_13p6TeV_pythia8/DYto2L_M-50_TuneCP5_13p6TeV_pythia8/ScoutingNano_DYto2L_withAXOscore_20241107/241107_192432/0000/L1Nano_wScores_100.root

cc: @jthiltges

It's indeed looking like your theory was correct, and the xcache DN is not trusted by CERN CMS EOS:
[root@red-xcache1 run]# xrdcp -f root://eoscms.cern.ch//store/group/phys_exotica/axol1tl/MC_ScoutingNano_withAXOscore/DYto2L_M-50_TuneCP5_13p6TeV_pythia8/DYto2L_M-50_TuneCP5_13p6TeV_pythia8/ScoutingNano_DYto2L_withAXOscore_20241107/241107_192432/0000/L1Nano_wScores_100.root /dev/null
[0B/0B][100%][==================================================][0B/s]
Run: [ERROR] Server responded with an error: [3010] Unable to give access - user access restricted - unauthorized identity used ; Permission denied (source)

[root@red-xcache1 run]# voms-proxy-info -all
subject   : /DC=org/DC=incommon/C=US/ST=Nebraska/O=University of Nebraska-Lincoln/CN=red-xcache1.unl.edu/CN=1309999570
issuer    : /DC=org/DC=incommon/C=US/ST=Nebraska/O=University of Nebraska-Lincoln/CN=red-xcache1.unl.edu
identity  : /DC=org/DC=incommon/C=US/ST=Nebraska/O=University of Nebraska-Lincoln/CN=red-xcache1.unl.edu
type      : RFC compliant proxy
strength  : 2048 bits
path      : /var/run/xcache-auth/x509_proxy
timeleft  : 44:28:34
key usage : Digital Signature, Key Encipherment
=== VO cms extension information ===
VO        : cms
subject   : /DC=org/DC=incommon/C=US/ST=Nebraska/O=University of Nebraska-Lincoln/CN=red-xcache1.unl.edu
issuer    : /DC=ch/DC=cern/OU=computers/CN=cms-auth.web.cern.ch
attribute : /cms/Role=NULL/Capability=NULL
attribute : /cms/compute/Role=NULL/Capability=NULL
attribute : /cms/compute/scope/Role=NULL/Capability=NULL
attribute : /cms/country/Role=NULL/Capability=NULL
attribute : /cms/uscms/Role=NULL/Capability=NULL
timeleft  : 44:28:34
uri       : voms-cms-auth.app.cern.ch:15000


Compressor raises a warning if it tries to change to a directory it is already in

I have a backup running as root from cron. Every time it runs, I get an email with the following warning:
[2015/09/08 12:18:20][warn]   Pipeline STDERR Messages:
[2015/09/08 12:18:20][warn]   (Note: may be interleaved if multiple commands returned error messages)
[2015/09/08 12:18:20][warn]
[2015/09/08 12:18:20][warn]   could not change directory to "/root"

As far as I can tell, this is happening because the backup is run in /root (root's home directory) and the compressor tries to change to /root as part of its operation. The change fails because it's already there and a warning gets raised.

Hi @FreakyDug, thanks for the report. Can you provide me with some more information about your config? Now I don't know exactly where to look for this. What's the command you run backup with? Any configuration flags given?
The backup itself is still completed successfully?

Hi @tombruijn, thanks for responding. My config is:
    archive 'chef_backup' do |archive|
      archive.use_sudo
      archive.add '/etc/opscode'
      archive.add '/var/opt/opscode'
    end

    database PostgreSQL do |db|
      db.name = :all
      db.sudo_user = 'opscode-pgsql'
    end

    compress_with Bzip2

    store_with Local do |local|
      local.path = '/mnt/data/'
      local.keep = 5
    end

and my cron file contains:
PATH=/opt/chef/embedded/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0 0 * * * root  backup perform --trigger chef_backup --config-file /etc/backup/config.rb --log-path=/var/log > /dev/null

The backup is successful, it just produces that unnecessary warning which cron then helpfully emails to me.

Alright, then it looks like it's not your config.
I'll have a look what exactly is trying to change the directory in backup and get back to you.

Actually I see that this error most likely comes from postgresql. Since you're using the sudo_user option I imagine the user opscode-pgsql doesn't have read write access to the /root directory? It does have access to the ~/backup dir?
Tip to get this to stop annoying you now: Ignore the warning message as described in the logging documentation (very bottom of the page)

Ah, I didn't think of that. Seems obvious now.
Ignoring the warning solves the problem for me. Thanks.


Remove SyntaxASTMap

As far as I can tell, this hasn't ever been really used, it's certainly not used anymore.

@swift-ci Please test

@swift-ci Please test