perlPackages.MLDBM: init at 2.05

Motivation for this change
Added perlPackages.MLDBM.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build perlPackages.MLDBM

Success on x86_64-linux (full log)
Attempted: perlPackages.MLDBM
Partial log (click to expand)
strip is /nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/dhkwibw8lnwmisq0hsqc8a6pfb5v6fvr-perl-MLDBM-2.05/lib
patching script interpreter paths in /nix/store/dhkwibw8lnwmisq0hsqc8a6pfb5v6fvr-perl-MLDBM-2.05
checking for references to /build in /nix/store/dhkwibw8lnwmisq0hsqc8a6pfb5v6fvr-perl-MLDBM-2.05...
shrinking RPATHs of ELF executables and libraries in /nix/store/azbs142asjs35m4hb2mjbsqhjn3ljcfv-perl-MLDBM-2.05-devdoc
gzipping man pages under /nix/store/azbs142asjs35m4hb2mjbsqhjn3ljcfv-perl-MLDBM-2.05-devdoc/share/man/
strip is /nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/azbs142asjs35m4hb2mjbsqhjn3ljcfv-perl-MLDBM-2.05-devdoc
checking for references to /build in /nix/store/azbs142asjs35m4hb2mjbsqhjn3ljcfv-perl-MLDBM-2.05-devdoc...
/nix/store/dhkwibw8lnwmisq0hsqc8a6pfb5v6fvr-perl-MLDBM-2.05

Success on aarch64-linux (full log)
Attempted: perlPackages.MLDBM
Partial log (click to expand)
strip is /nix/store/ah0va6j4cnwj9nx4j6rwcfc8nh785jwm-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/n92r2l9rzjzzsm4b4xs4mr69q41k65kf-perl-MLDBM-2.05/lib
patching script interpreter paths in /nix/store/n92r2l9rzjzzsm4b4xs4mr69q41k65kf-perl-MLDBM-2.05
checking for references to /build in /nix/store/n92r2l9rzjzzsm4b4xs4mr69q41k65kf-perl-MLDBM-2.05...
shrinking RPATHs of ELF executables and libraries in /nix/store/hm6w6i1hp4djrv0pwqq8vsv3i8g79665-perl-MLDBM-2.05-devdoc
gzipping man pages under /nix/store/hm6w6i1hp4djrv0pwqq8vsv3i8g79665-perl-MLDBM-2.05-devdoc/share/man/
strip is /nix/store/ah0va6j4cnwj9nx4j6rwcfc8nh785jwm-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/hm6w6i1hp4djrv0pwqq8vsv3i8g79665-perl-MLDBM-2.05-devdoc
checking for references to /build in /nix/store/hm6w6i1hp4djrv0pwqq8vsv3i8g79665-perl-MLDBM-2.05-devdoc...
/nix/store/n92r2l9rzjzzsm4b4xs4mr69q41k65kf-perl-MLDBM-2.05

Success on x86_64-darwin (full log)
Attempted: perlPackages.MLDBM
Partial log (click to expand)
post-installation fixup
Moving /nix/store/pxz20j4hganbwpvfvs5zsbi69gyfy1jr-perl-MLDBM-2.05/share/man/man3 to /nix/store/fr2xp46cikikpfbvvh3d1m436h1gr32m-perl-MLDBM-2.05-devdoc/share/man/man3
Removing empty /nix/store/pxz20j4hganbwpvfvs5zsbi69gyfy1jr-perl-MLDBM-2.05/share/man/ and (possibly) its parents
strip is /nix/store/251fvx4mx9q4zarbca5cciasmn66p668-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/pxz20j4hganbwpvfvs5zsbi69gyfy1jr-perl-MLDBM-2.05/lib
patching script interpreter paths in /nix/store/pxz20j4hganbwpvfvs5zsbi69gyfy1jr-perl-MLDBM-2.05
gzipping man pages under /nix/store/fr2xp46cikikpfbvvh3d1m436h1gr32m-perl-MLDBM-2.05-devdoc/share/man/
strip is /nix/store/251fvx4mx9q4zarbca5cciasmn66p668-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/fr2xp46cikikpfbvvh3d1m436h1gr32m-perl-MLDBM-2.05-devdoc
/nix/store/pxz20j4hganbwpvfvs5zsbi69gyfy1jr-perl-MLDBM-2.05


[Request] Clickable text inside book

Would it be possible to have clickable text inside a book (like a line is clickable or a word) & then it could open a new book or run a command?

You can create books with clickable text, and setting them to NPCs. You have to find an book editor online tho.


ADD PATIENT: Unit testing of patients controller

Tests for patients controller create and new routes.

Grabbing this.


Pixel4 ghost touch again - Google Assistant triggered too frequently

After replacing the panel https://github.com/130s/30y-130s_life/issues/1410, I almost immediately started experiencing that G-Assistant gets triggered very frequently, say every few second at worst. While GA has rarely done something undesired to my operation so far, real inconvenience is that it prevents me from touching icons underneath it e.g. tabs in camera mode, which I use frequently so it's bad when this issue occurs.
High priority item.

Disabling Google Assistant seems to stop this issue. Obviously that's not ideal as I often use GA, not regularly though.

Hope Owl can fix under warranty again same as  https://github.com/130s/hut_10sqft/issues/601#issuecomment-1000957510


git-credential-winstore not installed. An error occurred during installation:  The operation has timed out.

hello
@mwrock
thanks for your sharing
Follow your tutorial http://boxstarter.org/WebLauncher
runing     start ......(My Script)......gistfile1.txt
prompt：
Progress: Downloading git.install <IP_ADDRESS>70927... 99%
git-credential-winstore not installed. An error occurred during installation:
The operation has timed out.
git-credential-winstore package files install completed. Performing other instal
lation steps.
The install of git-credential-winstore was NOT successful.
git-credential-winstore not installed. An error occurred during installation:
The operation has timed out.
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures

git-credential-winstore (exited 1) - git-credential-winstore not installed. A
n error occurred during installation:
The operation has timed out.
Chocolatey reported an unsuccessful exit code of 1. See C:\Users\Anonymous\AppDa
ta\Local\Boxstarter\boxstarter.log for details.

。。。
dotpeek not installed. An error occurred during installation:
Unable to resolve dependency 'resharper-platform (= 109.0.20170921.82506)'.
dotpeek package files install completed. Performing other installation steps.
The install of dotpeek was NOT successful.
dotpeek not installed. An error occurred during installation:
Unable to resolve dependency 'resharper-platform (= 109.0.20170921.82506)'.
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures

dotpeek (exited 1) - dotpeek not installed. An error occurred during installa
tion:
Unable to resolve dependency 'resharper-platform (= 109.0.20170921.82506)'.
Chocolatey reported an unsuccessful exit code of 1. See C:\Users\Anonymous\AppDa
ta\Local\Boxstarter\boxstarter.log for details.

What do i need to do?  ：D
Thanks

Weblauncher installation method is unfortunately deprecated. Please try the new installation method in the updated README and reopen if you still have any issues.

@iphelix
I have got it
Try to see some related commands about chocolate
So that more convenient for my work
Thanks


mashREPL : Support for a scripting language

Describe the feature
Such as :

lua
javascript
...

Which is the best scripting language?

I'm closing this one yet as no need


Navbar added in Take a Test section

Task is done...
@tarunsinghofficial can you please label the enhancement issues as level2 because I I don't think they will actually fall under level1
Rest is your call

@tarunsinghofficial  changes are done
Please look into the levels


Add release blog post for 0.13.1

This adds a release blog post for 0.13.1.
TODO

[ ] This assumes the release date is Monday 31 Oct 2016.  If it as any other date, the file needs to be moved and the YAML header needs to edited.
[ ] At the very top of the document, a link needs to be added to @laanwj's PGP-signed release announcement (as we did with the previous release).  The tests should fail until this is added, but I see they succeeded, which I guess means I'll have to fix that...
[ ] The SHA256 hashes of the release files should be added to the bottom of this document (the "Hashes for verification" section) as was done for the previous release.
[x] https://github.com/bitcoin-core/bitcoincore.org/pull/240 needs to be merged before this, or this document needs to be edited to stop linking to it.  (The tests should also be failing because that's missing in this branch...)

A preview for the blog post as of fd373869eab2e473c7953efe3098d2d604a2f9c3 may be found at: http://imgur.com/a/gKi9W
The post entry on the main page looks like this:

Please note that if you attempt to generate a preview of this document, you will need to add --future to Jekyll's parameters because the post is dated for 2016-10-31.
Several people provided suggestions on this in draft form, for which I am very grateful. Any errors that appear in this version are entirely my fault.  For anyone who read the final draft version, I've made a few small changes:

I further shortened some of the descriptions in the new features summary section at the top.  The only significant phrasing change is in point 7 (More efficient almost-full-node security).  I added a few paragraph breaks in the corresponding detail subsections but no words were changed there.

To the end of the document, I added a new Conclusion section (and also the template Hashes For Verification section) to match the format of the 0.13.0 release blog.

I changed the opening to the null dummy section to make it flow a little better.

As requested in some of the draft feedback, I added the ability to link directly to each of the items on the timeline.  This is a little bit ugly, so I'm open to suggestions for making it look nicer.  Screenshot below (the # are both the link and the anchor):

Can you also add a copy of the release notes?

@btcdrak AIUI there's supposed to be a link to them at the top, once @laanwj pgp-signs and posts them.

Unless the release announcement is something else?

No, looks like it is indeed the ML post with the release notes.

@Michagogo No, the release notes are not signed, you're thinking of the release announcement which has the signed hashes. The release notes are separate, check "releases" on the website.

Ah, I see.

Fixed feedback from @btcdrak and @kanzure (thanks!) and rebased on top of merge that includes the segwit upgrade guide (and checked the preview and cross-link to ensure they worked).

Also just added release notes.  This is a copy of https://raw.githubusercontent.com/bitcoin/bitcoin/2e2388a5cbb9a6e101b36e4501698fec538a5738/doc/release-notes/release-notes-0.13.1.md with the following global substitution to fix a formatting difference between GitHub-flavor Markdown and the Markdown used on this site: s/^- #/- \\#/  (e.g. the list items that start with a # are rendered as subheadings on BitcoinCore.org; this prefaces them with a backslash to have them render normally as #)

OK released, pulling the trigger now.


:cherries: Spike experimental reliability enhancements 81 bug fix

Cherrypicks 8.1 bug fix into draft reliability improvements

Closed - the changes from <IP_ADDRESS> have been merged into #10


[Layout] Support Material-UI V5

Material-UI v5 is at the finishing line. Once the migration is done, should fix

#971
#1047
#926

Hi there,
After migrating Material UI from V4 to V5, I am getting the following error on Mui Treasury
Module not found: Can't resolve '@material-ui/core/styles/makeStyles' in '.....\node_modules@mui-treasury\styles\info\apex'
Could you advise a solution?
thanks

For layout v5, the work in progress is here.
https://siriwatknp.github.io/mui-treasury/?path=/story/layout-introduction--page

Thanks for your response. However, I have a slightly different issue.
I was using your Social (Who to follow) thing. But After migrating to V5 it stopped working. It gives me the following error:
Module not found: Can't resolve '@material-ui/core/styles/makeStyles' in '.....\node_modules@mui-treasury\styles\info\apex'
Do you have any solution for me pls? Is there a work-around I can use to fix this?

@mirshahnewaz I will try to make it works this weekend.

Wow, that would be perfect 👍 .
Look forward to it @siriwatknp

@mirshahnewaz Please try the steps in README

@siriwatknp very much appreciated - great work 👍 .
one last question - any idea when this package will improved so that we won't have to sets of style engines to keep the bundle size to a minimum? any rough date? Is it weeks, months?
Thanks again!

@aress31 Is this example suffice?

Note: You made a typo for Subheader, you forgot to capitalise it properly SubHeader.

I am not sure about this but I found Subheader in google and material-ui also has ListSubheader component.

@siriwatknp this example is fine, thanks!

What is the status of the upgrade to V5? So far, using the following dependencies:
"dependencies": {
    "@emotion/react": "^11.4.1",
    "@emotion/styled": "^11.3.0",
    "@hookform/resolvers": "^2.8.0",
    "@mui-treasury/layout": "^5.0.0-alpha.20",
    "@mui/icons-material": "^5.0.0-rc.1",
    "@mui/material": "^5.0.0-rc.1",
    --- REDACTED ---
}

I am getting this error:
Failed to compile.

<EMAIL_ADDRESS>Module not found: Can't resolve '@material-ui/core/AppBar' in 'C:\Users\ateyar\GitHub\aegiscyber\aegiscyber-ng\node_modules\@mui-treasury\layout\esm\Header'

Could you please advise on the above? 🙏

@aress31 will fix it today.

@aress31 fixed in<EMAIL_ADDRESS>

@siriwatknp thanks for being so reactive, however, after upgrading to latest version I now get:
Failed to compile.

./src/App.js
Attempted import error: 'Content' is not exported from '@mui-treasury/layout'.

This is my import in App.js:
import {
  Content,
  EdgeSidebar,
  Footer,
  Header,
  Root,
  SidebarContent,
} from '@mui-treasury/layout';

Thanks for being so reactive @siriwatknp !

@siriwatknp many thanks for this great library.

I'm using v5 (alpha 21) and I have a couple of questions.

In dark mode there isn't any difference between header and content (no divider), is it intentional (or a bug)?

Color of selected / disabled menu entries in sidebar depends on primary color (in V4 was grayscale based), is it intentional (or a bug)?

Switch from CollapsedBtn to EdgeTrigger in a List based menu is not straightforward, this is the code I used in order to force it to looks like a ListItem. The problem is that it is transparent.
 <AppSidebar collapsed={leftEdgeSidebar?.collapsed} />
 <Divider />
 <EdgeTrigger
   component={List}
   target={{ anchor: "left", field: "collapsed" }}
 >
   {(collapsed, setCollapsed) => (
     <>
       <ListItem
         button
         onClick={() => setCollapsed(!collapsed)}
         sx={{ justifyContent: "center" }}
       >
         {collapsed ? <ArrowForwardIcon /> : <ArrowBackIcon />}
       </ListItem>
     </>
   )}
 </EdgeTrigger>

Many thanks for your help.
Mauro

Hi, how are the progresses on this support?

@jordiyapz It is done<EMAIL_ADDRESS>


Add Open Service Broker as an example

looks good,just need a CLA

@duglin Swisscom signed the CLA, please verify over my Github organizations.

ah, I just had to kick it - thanks!

LGTM

LGTM

LGTM

lgtm

I do think it would be nice to disambiguate whether the linked project is an SDK, generic broker, or something else.


Large files upload

We are going to use s3-sftp-proxy on our production environment and we realised that large files are stored on memory, so we needed a powerful instance.
This PR aims to allow large file uploads without having to store them on memory. Insted, it uses S3 multipart upload feature (included more information on Details section in readme). In order to improve its performance, also parallel uploads (in both sides, server and S3) are included.
Now we're going to work on parallel downloads using multipart downloads (if it is feasible).
It also includes: #13, #17, #18, #19, #20.
Fixes #21

This is some really impressive work! I was also looking at potentially using s3-sftp-proxy and had similar concerns. Thank you so much for this work as it solved all of my problems. I hope it gets merged soon!


update quick start guide

support N3000 for hello_fpga
add a new argument to support N3000 for hello_fpga.

update quick start guide.

@tswhison i have update v2, pls help to review again.

Coverage decreased (-0.2%) to 79.714% when pulling 8c5609401238fe76420096d2aae87bf9d5248ae3 on figozhang:hello_fpga_n3000_1 into 52acf0573dead7af607328742504ad69049ce50d on OPAE:master.


DisablePerWorld

Hello, I have a feature request...
I made an event, in an event world. Players in the event world are in creative. I disabled every command to Transfer items between worlds like /gift, /ec, /backpack, /shop, /ah etc..... using Worldguard. I also disabled the whole team commands for that world. However players were able to use /team echest and took items over the event to the Survivalworld. I had to completely remove the team echest permission until the event ends, wich is not an optimal solution.
I'd suggest a DisabledInWorlds setting for all team commands in the config.yml.
Thank you! :)

This issue is being closed for inactivity. If you are still having problems feel free to open a new issue linking this one, make sure you answer any questions asked in the new issue.


Google Cloud image breaks sudo on upgrade to 19.03

Issue description
I booted the latest 18.09 image for Google, switched to my branch of nixpkgs (riding on top of nixos-unstable). Upon a switch, I became unable to elevate to root and was locked out of my instance.
Upon rebuilding, I paid closer attention, the Google Accounts service is not dropping the sudoers configuration bits into the right /run/ directory, and so my user being in the google-sudoers group is appearing to have no effect.
$ sudo ls /run/google-sudoers.d

cc: @adisbladis
ref: https://github.com/NixOS/nixpkgs/pull/51566

Could you also post what your config looked like before the nixos-rebuild switch? It may have been missing the security.googleOsLogin.enable option.

@matthewbauer I'm not sure I understand. I'm just using a pre-built image, where the configuration.nix is just including the google-image-config.nix file (which does specify that option in the nixos-unstable branch, it's part of the commit that removes the Google Accounts service).

@colemickens Have you enabled Google OS Login on your instance?

@dingxiangfei2009 you have correctly diagnosed and provided a workaround that seems to work (though I didn't see your edit til now, I never clicked through the mail!). Thank you.


zipMaterials(MaterialList left, MateriaList right, ...) method should have its own containing class

The zipMaterials() method is the most magical & significant method in the materialstore library.
At v0.8.0, the zipMaterials method is contained in MProductGroup class, as
https://github.com/kazurayam/materialstore/blob/main/src/main/java/com/kazurayam/materialstore/reduce/MProductGroup.java
Sometimes I mess where "zipMaterial()" is.
The "zipMaterial()" should have its own containing class named Zipper, so that I wouldn't miss the method any longer

v0.8.3-SNAPSHOT


Error

In the step 17, the description doesn't even match the screenshot!

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

ID: 553c01c6-2e91-cf8e-d658-9669f4c91fd4
Version Independent ID: 05e7540a-969b-1f45-2193-4a2d721a32b6
Content: Partitioning Service Fabric services - Azure Service Fabric
Content Source: articles/service-fabric/service-fabric-concepts-partitioning.md
Service: service-fabric
GitHub Login: @erikadoyle
Microsoft Alias: edoyle

@mcurko
Thanks for providing Feedback and helping improve the Microsoft Documentation.
I see below Feedbacks provided by you for the same document, I am linking them and assigned all of them to content author to check and update the document as appropriate.
#65367
#65369

@erikadoyle
Can you please check and add your comments on this doc update request as applicable.

Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. Though the scope of our feedback channel here on GitHub covers specific documentation fixes, we can help redirect you to the right support channel to get an answer to your question: [reference to alternative product/service or community endpoint]. Because this issue does not relate to documentation, we are closing this issue. #please-close


Adding const

This PR changes the variable definition to be const, if they are not changed. This reduces the possible errors by preventing unintended changes .

Hi, I personally prefer const since it reduces possible errors by preventing unintended changes. But if let is preferred, I can understand.


setValue() doesn't clear input field if fastSetValue=false, in some ajax-heavy cases

We have .append() to add something to the field, so setValue() should probably call clear() before setValue();

It is indeed called (SetValue.java:41), but probably not always correctly processed in case of ajax-heavy applications.
It's probably because you don't really have "clear" as a User in JS-App which reacts for each keystroke typed. You either "Backspacing" you field, or select all with double click and then type.
Should we implement this "magic" ?

Hi @vinogradoff , can you provide the AUT example where setValue doesn't work for you and where the "magic" you want can be tested.
As I see Selenide uses selenium clear() method that executes [atom action] (https://github.com/SeleniumHQ/selenium/blob/master/javascript/atoms/action.js#L75) and I'm sure it works pefrect in the vast majority of cases.
If it doesn't work for a specific AUT, then you can implement your own clear methods (via Ctrl+a KEYS or maybe other tricky solution - the one that will work for your case), but not modify current implementation just for a rare case.
Regards, Dmitry

There is a bug in Selenium .clear() and in some cases getValue() doesn't work "correctly" for input type=number because of (wrong?) browser implementation of html5.
See the new InputFieldTest :)

Fixed for firefox in selenium 2.49.0, should be fixed for chrome with (next) 1.21 ChromeDriver


show CloudError code and body fix #137

Error message does not show the exception message completely.

Codecov Report

Merging #140 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #140   +/-   ##
=========================================
  Coverage     41.76%   41.76%
  Complexity      146      146
=========================================
  Files            59       59
  Lines           771      771
  Branches         45       45
=========================================
  Hits            322      322
  Misses          419      419
  Partials         30       30

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 013cdac...68d74b6. Read the comment docs.


draft: Improve tile layout

Tiles resize more nicely, except on older browsers like Safari <= 14. Please try it out.
I'd still like to tweak some font sizes etc before merging.

It's still not quite expanding enough.

I get nice behaviour with these 2 change:

remove the aspect-ratio on guesses-row
add flex-grow: 2 to guesses-grid - so that it takes up more space

I get nice behaviour with these 2 change:

remove the aspect-ratio on guesses-row
add flex-grow: 2 to guesses-grid - so that it takes up more space

If you allow it to grow, the horizontal scaling doesn't work well. Sometimes the emojis are cut-off on some widths.
@canadianveggie pull and try again. It grows better now, I think.

(that phone also has weird resolution - there isn't enough width for it to grow more and keep the circles correct)

I think we might be able to go even bigger on desktop, but this is perfect for now (to help teacher's casting to a projector)


docs: update README with new logo banner

title: "✏ Logo update"

Related issue(s):
fixes #729

Changes made:

[x] Make sure you are using Markdown syntax only
[x] Be sure to remove the old logo as well as the old title of the repo as this image will replace both elements

Deleted old logo and added new logo banner in ./assets/logo.png

[x] Make sure you link this image to the website: https://www.asyncapi.com

Updated README [![AsyncAPI Logo](./assets/logo.png)](https://www.asyncapi.com)

[ ] If there is any description text below the repo title, let's make it left-aligned if it isn't already, so as to match the left-alignment of the content in the new banner image

Sponsor logos were present instead of any description text, hence did not change the alignment

/rtm


Shortcut icon (favicon) does not display on RC sites

The UBC shortcut icon favicon.ico appears on the GitHub pages site for rc-workshop-template, but not on any of the other sites that use the template as a remote theme.

Resolved with 9669e26.
The "absolute_url" reference in _includes/head.html would require a copy of the favicon in each repository in order to work. Replacing it with a fixed link allows all sites to use the same copy in the rc-workshop-template repo.


Easing was renamed to EasingNode in Reanimated 2. Please use EasingNode instead

Easing was renamed to EasingNode in Reanimated 2. Please use EasingNode instead .

I am really short on time nowadays and I won't be able to add reanimated 2 support. Feel free to submit a PR and I will be more than happy to merge and release new version.

Same issue

I fix this issue just by changing the Easing to EasingNode.
This is the code after i changed it
import Animated, { EasingNode } from 'react-native-reanimated';

const {
  Value,
  set,
  cond,
  startClock,
  clockRunning,
  timing,
  stopClock,
  block,
} = Animated;

export function runTiming(
  clock: Animated.Clock,
  value: Animated.Value<number>,
  dest: Animated.Value<number>,
  duration: number = 250,
  easing: Animated.EasingNodeFunction = EasingNode.out(EasingNode.ease)
) {
  const state = {
    finished: new Value(0),
    position: value,
    time: new Value(0),
    frameTime: new Value(0),
  };

  const config = {
    duration,
    toValue: dest,
    easing,
  };

  return block([
    cond(clockRunning(clock), 0, [
      // If the clock isn't running we reset all the animation params and start the clock
      set(state.finished, 0),
      set(state.time, 0),
      set(state.position, value),
      set(state.frameTime, 0),
      set(config.toValue, dest),
      startClock(clock),
    ]),
    // we run the step here that is going to update position
    timing(clock, state, config),
    // if the animation is over we stop the clock
    cond(state.finished, stopClock(clock)),
    // return the updated position
    state.position,
  ]);
}

I have never contributed to any open source project before. I just changed the file inside the node_modules folder. I'm sure that's not safe. Perhaps someone can guide me to contribute to this project. Also, I don't know if the code above is the right answer or not.


refresh not working

hello,
hope u can help me. I have this setup:
`
$('#publication_tree').jstree({
'core' : {
'data': {
'url': function (node) {
return "{{ route('cms.publications.tree', ['rootId' => 1, 'lang'=>'it-IT']) }}";
},
'data': function (node) {
return {'id': node.id};
}
},
'check_callback' : true,
},
                'plugins' : [
                    "dnd", "search",
                    //"state", "types", "wholerow"
                ],

                'search': {
                    'case_insensitive': true,
                    'show_only_matches': true
                },

})
`
after successufully adding some data via ajax I try to refresh:
let tree = $('#publication_tree'); tree.jstree(true).refresh(true);
but I get this error: Uncaught TypeError: can't access property "parents", b is undefined
any suggestion?
Thanks a lot

The structure you have is probably broken - duplicate IDs, or disconnected nodes. It depends on what you return as a response to the AJAX calls. Please provide a demo including the data - the problem is most certainly with the data, not jstree itself.

The structure you have is probably broken - duplicate IDs, or disconnected nodes. It depends on what you return as a response to the AJAX calls. Please provide a demo including the data - the problem is most certainly with the data, not jstree itself.


ci(pr): add basic firmware and USB device identification

fetch USB device firmware version
fetch USB device serial number

related to: #1

Codecov Report

Merging #21 (9087e64) into main (8687125) will decrease coverage by 10.00%.
The diff coverage is 90.00%.

@@             Coverage Diff              @@
##              main      #21       +/-   ##
============================================
- Coverage   100.00%   90.00%   -10.00%
============================================
  Files            2        2
  Lines            3       20       +17
  Branches         0        1        +1
============================================
+ Hits             3       18       +15
- Misses           0        1        +1
- Partials         0        1        +1

Impacted Files
Coverage Δ

src/verylittlewire/device.py
89.47% <89.47%> (ø)

src/verylittlewire/__init__.py
100.00% <100.00%> (ø)

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

has been successfully reviewed by PR #11


bug/partition_html fails parsing simple html

Describe the bug
partition_html does not parse properly a valid HTML document.
To Reproduce
The following html document has been fed to partition_html
<!DOCTYPE html>

 <title>A page</title>

Header 1

Text

Header 2

Param1 = Y
Param2 = 1
Param3 = 2
Param4 = A
Param5 = A,B,C,D,E
Param6 = 7
Param7 = Five

Expected behavior
I expected partition_html to output the following result:
Header 1
Text
Header 2
Param1 = Y
Param2 = 1
Param3 = 2
Param4 = A
Param5 = A,B,C,D,E
Param6 = 7
Param7= Five

but instead it outputs only:
Header 1
Text
Header 2

Environment Info
Tested on both 0.12.3 and 0.12.2

can you please elaborate issue in details  ? and also tell me which OS you can use

Related to bug/partition_html only partially extracts text of element with nested inline tag #2362
There is a bug inside HTMLDocument._parse_pages_from_element_tree() that stops parsing of an element if it encounters a section tag (div, pre) that contains a nested inline tag.
Here is test code
def test_nested_divs_containing_nested_spans():
    html_str = """

        Head

Nested

        Tail

    """
    html_document = HTMLDocument.from_string(html_str)
    html_content = '|'.join([str(e).strip() for e in html_document.elements])
    assert html_content == "Head|Nested|Tail"

    Expected :'Head|Nested|Tail'
    Actual   :'Head|Nested'

In this case the code is encountering the nested div

Param1

The issue is in how the tail() of an element is processed and the behaviour comes from the underlying lxml etree parser
There is a partially successful PR 2483 that addresses this
This is a severe bug as it can cause large sections of an HTML document to fail to be read.

Addressed this issue in PR #2849. This issue was not related to tail text parsing failure, it was due to failure in parsing  tags inside container tags (like
,
).


Typescript errors in build using Yarn PnP

Describe the bug
When using the plugin with typescript and Yarn PnP tsc can't resolve node modules. It can resolve the modules in development mode.
Reproduction
Use Yarn@canary with PnP mode.
.yarnrc.yml
cacheFolder: ./.yarn/cache

enableGlobalCache: false

nodeLinker: pnp

Expected behavior
Build process should complete without TS errors.
System Info
System:
    OS: macOS 12.4
    CPU: (8) arm64 Apple M1
    Memory: 100.42 MB / 8.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 16.15.0 - /usr/local/bin/node
    Yarn: 4.0.0-rc.5 - ~/.yarn/bin/yarn
    npm: 8.5.5 - /usr/local/bin/npm
  Browsers:
    Chrome: 106.0.5249.103
    Safari: 15.5

Additional context
No response
Validations

[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

I haven't used Yarn for a long time and am not familiar with PnP, either. Could you provide the error message?

error TS2307: Cannot find module 'react' or its corresponding type declarations
would be one example.
Pnp uses a loader file that has to be included by node to enable the correct module resolutions.
require('./.pnp.cjs').setup();
is the example from the docs.
In dev mode Vite resolves the modules but not in build.
It would be nice to have the build  typechecked.

Run yarn tsc --noEmit directly in your project, does tsc complains?


-Z is included in every case

No need to have that in the example, it's already included: https://github.com/bitrise-io/steps-codecov/blob/master/step.sh#L5

Sorry, I'm confused at what this pull request if for?

Ahh, sorry @stevepeak I forgot to describe it here - I did describe it a bit more in our internal tracker.
It's a really simple change, does not affect the code at all, it's just that the Additional options for Codecov call input's example in the description includes the -Z flag, which is no longer required as it's already included by default in step.sh (https://github.com/bitrise-io/steps-codecov/blob/master/step.sh#L5)
That said I also remove the unittests keyword there - should we keep that?

The -F unittests is an example of http://docs.codecov.io/docs/flags
Optional and up to developers to use this feature. There are many use cases, as you could imagine.

Ahh, ok, you're definitely right and thank you for commenting! I must have been really tired (I jump between projects & teams pretty frequently these days..), for some reason I read the example:
Example: `-F unittests -J '^Project'`

as
Example: `-Z unittests -J '^Project'`

and thought I'd be clever and remove the -Z flag as we already have that in step.sh. But actually it's not -Z but -F...
I'm not sure how I could misread this, sorry @stevepeak and thanks again for the warning/comment!
Closing this PR without any change.

Example: -Z unittests -J '^Project'`` not this :)
-Z had no value to set. ... -Z -F unittest -J '^Project'

Exactly, I was a bit confused too about why -Z would have any value, but not confused enough to read it again properly..


second node in a cluster does not get started

As mentioned in #5338, I'm dealing with moving an existing cluster from v2.0.15 to v2.1.5.
After I setup the first node of v2.1.5, I'm trying to run the second node but with no success. The problem is that I get following errors (sslc is the name of database and sslc-db-backup-1 is the name of first node whereas sslc-db-1 is name of new node):
2015-11-17 16:24:29:781 WARNI [sslc-db-1]->[[sslc-db-backup-1]] requesting deploy of database 'sslc' on local server... [OHazelcastPlugin]
2015-11-17 16:24:29:835 WARNI [sslc-db-1] moving existent database 'sslc' located in '/opt/orientdb/databases/sslc' to '/opt/orientdb/databases/../backup/databases/sslc' and get a fresh copy from a remote node... [OHazelcastPlugin]
2015-11-17 16:24:29:835 SEVER [sslc-db-1] error on moving existent database 'sslc' located in '/opt/orientdb/databases/sslc' to '/opt/orientdb/databases/../backup/databases/sslc'. Try to move the database directory manually and retry [OHazelcastPlugin][sslc-db-1] Error on starting distributed plugin
com.orientechnologies.orient.server.distributed.ODistributedException: Error on moving existent database 'sslc' located in '/opt/orientdb/databases/sslc' to '/opt/orientdb/databases/../backup/databases/sslc'. Try to move the database directory manually and retry
	at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.backupCurrentDatabase(OHazelcastPlugin.java:1007)
	at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.requestDatabase(OHazelcastPlugin.java:954)
	at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.installDatabase(OHazelcastPlugin.java:893)
	at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.installNewDatabases(OHazelcastPlugin.java:1448)
	at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.startup(OHazelcastPlugin.java:185)
	at com.orientechnologies.orient.server.OServer.registerPlugins(OServer.java:979)
	at com.orientechnologies.orient.server.OServer.activate(OServer.java:346)
	at com.orientechnologies.orient.server.OServerMain.main(OServerMain.java:41)

first of all, I have no idea why moving database to backup dir fails!! directory exists and is writable for the whole world.
second I double check the "existing" directory before starting the server and it is totally empty. but just after starting the server, the directory contains a file named distributed-config.json it seems to me that the start script creates this file itself and then it can not accept it.

Seems a problem has been encountered when the node was trying to download a fresh database from another node. Please check the user that runs OrientDB server is able to do that. However, if you delete the database directory with just one file is fine, then restart the server.
You can also use another directory by setting this config at startup in bin/server.sh script. Example: -Ddistributed.backupDirectory=/tmp (default is "../backup/databases").
Please let me know if this is solved so you can close it.

before starting the server I made sure that /opt/orientdb/databases/ is completely empty (so there is no database). But it seems that server creates that database and put one config file inside it. Afterwards it tries to move that file which has been created by himself.
OrientDB is running with root permissions so there should be no reason why it shall not be able to move files or create new directories.
 [OServerConfigurationLoaderXml]
2015-11-18 08:11:19:460 WARNI [sslc-db-backup-1] updated distributed configuration for database: sslc:
----------
{
  "version": 5,
  "autoDeploy": true,
  "hotAlignment": false,
  "executionMode": "undefined",
  "readQuorum": 1,
  "writeQuorum": 1,
  "failureAvailableNodesLessQuorum": false,
  "readYourWrites": true,"clusters":{
    "internal": {
},
    "index": {
},
    "*": {
  "servers": ["sslc-db-1","<NEW_NODE>"]
}
    }
}
---------- [OHazelcastPlugin]
2015-11-18 08:11:19:470 WARNI [sslc-db-backup-1] updated distributed configuration for database: sslc:
----------
{
  "version": 6,
  "autoDeploy": true,
  "hotAlignment": false,
  "executionMode": "undefined",
  "readQuorum": 1,
  "writeQuorum": 1,
  "failureAvailableNodesLessQuorum": false,
  "readYourWrites": true,"clusters":{
    "internal": {
},
    "index": {
},
    "*": {
  "servers": ["sslc-db-1","sslc-db-backup-1","<NEW_NODE>"]
}
    }
}
---------- [OHazelcastPlugin]
2015-11-18 08:11:19:489 WARNI [sslc-db-backup-1]->[[sslc-db-1]] requesting deploy of database 'sslc' on local server... [OHazelcastPlugin]
2015-11-18 08:11:19:589 WARNI [sslc-db-backup-1] moving existent database 'sslc' located in '/opt/orientdb/databases/sslc' to '/opt/orientdb/databases/../backup/databases/sslc' and get a fresh copy from a remote node... [OHazelcastPlugin]
2015-11-18 08:11:19:589 SEVER [sslc-db-backup-1] error on moving existent database 'sslc' located in '/opt/orientdb/databases/sslc' to '/opt/orientdb/databases/../backup/databases/sslc'. Try to move the database directory manually and retry [OHazelcastPlugin][sslc-db-backup-1] Error on starting distributed plugin
com.orientechnologies.orient.server.distributed.ODistributedException: Error on moving existent database 'sslc' located in '/opt/orientdb/databases/sslc' to '/opt/orientdb/databases/../backup/databases/sslc'. Try to move the database directory manually and retry
	at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.backupCurrentDatabase(OHazelcastPlugin.java:1007)
	at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.requestDatabase(OHazelcastPlugin.java:954)
	at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.installDatabase(OHazelcastPlugin.java:893)
	at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.installNewDatabases(OHazelcastPlugin.java:1448)
	at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.startup(OHazelcastPlugin.java:185)
	at com.orientechnologies.orient.server.OServer.registerPlugins(OServer.java:979)
	at com.orientechnologies.orient.server.OServer.activate(OServer.java:346)
	at com.orientechnologies.orient.server.OServerMain.main(OServerMain.java:41)

Could you try creating directory /opt/orientdb/backup/databases/before starting?

yes the directory also exists and writable for anybody

Are you using docker?
However, you can also use another directory by setting this config at startup in bin/server.sh script. Example: -Ddistributed.backupDirectory=/tmp (default is "../backup/databases").

yes as also mentioned on #5338, this is the image I'm using:  github.com/mohamnag/ecs-orientdb
I tried to also change the backup dir but no success.

this image can only be used on an EC2 instance due to the auto-discovery functionality.

This has been fixed in 2.1.6 by setting -Ddistributed.backupDirectory="" that means no backup.

I can confirm that it is not stuck in that step, however it does not seem that the second node ever comes online. The last lines of logs after updating DB config are:
---------- [OHazelcastPlugin]
2015-11-27 08:32:38:199 WARNI [sslc-db-backup-1]->[[sslc-db-1]] requesting deploy of database 'sslc' on local server... [OHazelcastPlugin]
2015-11-27 08:32:38:991 WARNI [sslc-db-backup-1] moving existent database 'sslc' located in '/opt/orientdb/databases/sslc' to '/opt/orientdb/databases/""/sslc' and get a fresh copy from a remote node... [OHazelcastPlugin]
2015-11-27 08:32:38:994 WARNI [sslc-db-backup-1]<-[sslc-db-1] installing database 'sslc' to: /opt/orientdb/databases/sslc... [OHazelcastPlugin]
2015-11-27 08:32:39:006 WARNI [sslc-db-backup-1] - writing chunk #1 offset=0 size=315.99KB [OHazelcastPlugin]

and it is stuck there like since 3 hours. Do you use any additional ports for this task? I have ports 2424, 2480 and 5701 open on both machines on which first and second node are running.

Hi, seems it can't write the first chunk on disk. This should take few milliseconds. Again it seems a configuration problem. I think you should double check the permissions of that folder in relation with OrientDB user.

Ok it seems that the write is successful and the node does come online, however it is not visible in logs just afterwards. I think this ticket can be closed.

Cool, thanks.


PrivateObject and PrivateType are not available for a project targeting netcorapp2.0

Description
Currently the classes located at Microsoft.VisualStudio.QualityTools.UnitTestFramework.PrivateObject and Microsoft.VisualStudio.QualityTools.UnitTestFramework.PrivateType are only available in the /src/TestFramework/Extension.Desktop/ project, this made sense in the past because the other project types did not support the System.Reflection classes necessary to implement those two classes.
However, as of netcoreapp2.0 those projects projects have access to all the needed classes in System.Reflection. A new Extension.CoreApp project should be built, or the existing Extension.Desktop project should be moved to the new VS15 style of projects so that <targetframeworks>netcoreapp2.0;net45</targetframeworks> could be set.
Steps to reproduce

Create a new test project targeting netcoreapp2.0
Try to use the class PrivateObject

Expected behavior
PrivateObject is found and is useable
Actual behavior
PrivateObject is not available for projects referencing the assembly that was generated from Extensions.Core

Just wanted to chime in that this would be a great addition to the testing framework.

@shiitake Irony, I just came back to this question today to see if there had been any updates on it because I needed to use it again. I had not even checked my email yet to see the notification of a new comment

Yes. Please.

This is very useful and should be accessible in netcore.

Oh, my god. Today I googling a lot, before I found this issue, that it is a known bug. But known bug for more than 8 months? Please add this functionality to .Net core tests also!

any idea if this is ever going to happen?

Any update on this?

bump 👍

Agreed.  This would be handy.  I've been beating my head against a wall trying to figure out why I couldn't use this.

It would be great to see some love for this.

I'm unable to finish upgrading several existing .NET Framework projects to .NET Core 2.2 because their unit tests rely on PrivateObject and PrivateType, which are conspicuously absent from MSTest.TestFramework 1.4.0.

DO IT PLEASE

It is little things like this that make it hard for me to recommend moving some of our other .NET framework apps over to .net core...

Please do this...

It took a lot of time to get here. Please... 🙏

Any estimates on this?

Personally I am glad that this hasn't been added to .NET Core / Standard. Testing of private stuff is an anti-pattern and should be avoided. However, if you absolutely cannot live without it (are doing migration of legacy stuff into .NET Core / Standard etc.), you could implement is yourself:
https://gist.github.com/skalinets/1c4e5dbb4e86bd72bf491675901de5ad

You guys can copy the codes into your project at the moment. I'm personally using my own wrapper extension methods for PrivateObject and PrivateType, which depends on copied codes so that my NuGet package can be used on any environment (for MSTest V1/2 on .NET Framework and for MSTest/NUnit/xUnit on .NET Core).
https://github.com/cactuaroid/PrivateObjectExtensions/tree/master/PrivateObjectExtensions/testfx
@skalinets IMO, these types are not mainly used for private invoke but for mocking.

The following documentation has not been updated to state that PrivateObject and PrivateType is not available on .Net/Net Core projects:

https://docs.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.testtools.unittesting.privateobject?view=mstest-net-1.3.2
https://docs.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.testtools.unittesting.privatetype?view=mstest-net-1.3.2

Can this be updated to avoid future confusion for other devs reading Microsoft documentation?

If this is not going to be available for the netcore, please update the documentation accordingly.

I wrote a small extension method which enables you to call private methods 🎉 Have a look at the sample code:
class Test
{
  private string GetStr(string x, int y) => $"Success! {x} {y}";
}

var test = new Test();
var res = test.Invoke<string>("GetStr", "testparam", 123);
Console.WriteLine(res); // "Success! testparam 123"

You can find the code here: https://gist.github.com/xpl0t/0d223222696a1c92d7d23cf8368800bf


Need for resizing before evaluating

Hello,
Is the model performing some resizing in the tensorflow back-end ?
I get significantly better result when i crop the outside of an image to make it square. So could it be that the model is resizing images to make them square and by doing so squishing faces ?
Thanks

Keep the feature of a face will help to get a better detection result.

What does that mean sorry ?

You can try by yourself but results are way better on square images than in original aspect ratio.


Quarterend

Wes,
Thanks for taking the QuarterEnd class as-is.  Here are the accompanying unit tests you wanted, along with the original commit.


Compiling with openssl

Hello @tfmoraes, thank you for this improvement in python-gdcm !
How can I help you testing/merging this modification ?
Should I run pip install python-gdcm and test the crypto part ?
I am on macOS Monterey

I have tried it on my Mac with x86_64 and now I can de-identify and re-identify but I often have segmentation faults appearing randomly when de-identifying.
I have tried with Python 3.6 and 3.8 and I have the same results, it works perfectly to re-identify but the de-identify part often crashes at the line ano.BasicApplicationLevelConfidentialityProfile()
I use the same code as in /GDCM/Examples/Csharp/BasicAnonymiser.cs
Do you have an idea where it could come from ?
Thank you

This is also happening if you use GDCM from Homebrew?

No I could install gdcm with HomeBrew I can use gdcmanon without any problem. I guess it uses the same functions.
With python I use an environnement created with conda and then I install the wheel. I’ll try without conda environnement to see if it can come from there but I don’t see why.

@fo42740 python-gdcm also install gdcmanon and other GDCM applications.

@tfmoraes Indeed I can also use gdcmanon after installing python-gdcm. gdcmanon works well with the installation of python-gdcm but unless I am missing something, I can't use gdcmanon inside a python script (I could use "subprocess" but I'd rather not). That's why I tried to use gdcm.Anonymizer but got problem with the crypto part

@tfmoraes Actually I have troubles using gdcmanon after installing python-gdcm with your wheels.
I have the following error "Could not load XML file from specified path". And I don't have it if I use GDCM from HomeBrew (I didn't see it at first because GDCM was installed with Homebrew in another environnement).
If I don't use your new wheels and make only pip install python-gdcm I get the error "Requested cryptographic library not configured" so crypto seems ok with me on this version.

@tfmoraes, I found a similar topic here : https://sourceforge.net/p/gdcm/mailman/message/32356380/
I am not very familiar with Xcode building so I don't know if something is missing on my Mac.
This subject doesn't seem to the same as openssl but I can't check the crypto part then.

I think it's needed to add some missing XML files in the wheel.

@fo42740 now I'm including the needed XML files and it's also compiling with OpenSSL support on Mac (M1) and Windows. Please, could you test if it working?

@tfmoraes , I have tested it on Mac and gdcmanon is working perfectly !
I still have my problem of segmentation fault while using Anonymizer function in Python.
Maybe it comes from what I do but the function BasicApplicationLevelConfidentialityProfile() crashes randomly (file attached).
I tried your wheels in conda environnement with macOS Monterey, macOS Catalina and Windows 7 and I got the same segmentation faults. I'll try next week on CentOs to see if I have the same result.
ano_GDCM.py.zip

I tried on the Ubuntu and it worked without a segfault. I'll try with a Mac M1

I tried on macOS 12.2 (M1) and the segfault it's happening using the wheels generated here and the GDCM installed by Brew. I'll merge this and submit the generated wheels to Pypi.

That’s perfect, thank you !


Several craft version functions are now deprecated

From here:
https://craftcms.com/changelog#2-6-2952
In particular, I'm seeing these deprecation warnings with v2.0.0 beta 1, but I suspect it would also appear with the v1 branch, too.

Fixed in the latest 2.0 master


Using push --strategy rolling option, once crash after didn't push again.

Issue

Hi, We have problem for push option --strategy rolling by using cf7 cli. Speaking of the phenomenon, First push app is start and using well. Second same app "cf7 push [APP] -f manifest.yml --strategy rolling" but that app has a problem so, the application didn't make it.
Third we solve that problem and again "cf7 push [APP] -f manifest.yml --strategy rolling" but it doesn't work.
We doesn't want it delete the app. Because product never stop for processing to using users. But In case using same app, crashed apps must be delete and again push. How to work don't stop app push using --strategy rolling option even if the app has a problem?
Thanks you.

 Instead of hard coding the port, use the $PORT environment variable.
18:24:26
18:24:26
Use 'cf7 logs [APP] --recent' for more information
18:24:26
FAILED
The logs is third time push failed log
Targeted space [APP]
18:32:09
18:32:09
18:32:09
18:32:09
API endpoint: https://api.system.pas-dev.cni.local (API version: 3.74.0)
18:32:09
User: admin
18:32:09
Org: mrh
18:32:09
Space: [APP]
18:32:09
18:32:09
Running command: cf7 push [APP] -f manifest.yml --strategy rolling
18:32:09
Pushing app [APP] to org mrh / space [APP] as admin...
18:32:12
Applying manifest file manifest.yml...
18:32:12
For application '[APP]': Cannot update this process while a deployment is in flight.
18:32:12
FAILED

Hey @koosomang
Please use the included template when you create a new issue next time, it helps us better assist you :)!
Like the other issue we need to know your cf7 version, API version, OS, and terminal, I think this is just a way that the cf7 CLI would fail to push when using an unsupported API version (have you seen this before @Gerg @reid47)
It might also be helpful to run these commands in verbose mode cf push app --strategy rolling -v and give us the output
Thanks!
Jenna and @a-b

From your other issue and seeing your API version I am thinking this is the same issue with an incompatible cf-deployment version.
Closing this for the same reason as the other issue
"This is not surprising when running the v7 beta CLI against an unsupported API version, I would encourage you if able to use a newer cf-deployment or to stick to the v6 CLI for now :)
Closing this issue, feel free to re-open if you think I closed it in error
Thanks!
Jenna"


Finish up ReactiveUI.Fody

This is an attempt to finish up the ReactiveUI.Fody integration in #1503.
This PR includes the following changes:

Fix package versioning
Fix ReactiveUI.Fody NuGet packaging
Include ReactiveUI.Fody tests in the build
Add ReactiveUI.Fody projects to ReactiveUI.sln

I have tested the NuGet package output in a project at my company and it's working great.
I don't think there is anything else remaining. The code ported over from the original project could use some cleanup, but I'd say that shouldn't hold up getting this out to the masses.

I'm not entirely sure why the ReactiveUI tests failed when I didn't make any changes relating to them.

Let's inline this to the fody branch. Ta.


wasi build takes unexpectedly huge memory

Summary
Copied from Discord.
Very simple program requires 100MB+ memory
use rustpython_vm as vm;

fn main() -> vm::PyResult<()> {
    vm::Interpreter::without_stdlib(Default::default()).enter(|vm| {
        let scope = vm.new_scope_with_builtins();
        let source = r#"a = 1"#;
        let code_obj = vm
            .compile(source, vm::compiler::Mode::Exec, "<embedded>".to_owned())
            .map_err(|err| vm.new_syntax_error(&err, Some(source)))?;

        vm.run_code_obj(code_obj, scope)?;

        Ok(())
    })
}

Expected

Actual
./wasmi_cli /tmp/embedded-rust-python.wasm
memory allocation of 79167488 bytes failed
Aborted

Python Documentation

I'm running into similar issues, did you compile with --release ?


Support monorepo structures

Why this feature is required (specific use-cases will be appreciated)?
It would be nice to be able to use the extension with a monorepo structure where the AdonisJS files are in a subdirectory.
For example, I have an app where there is an AdonisJS API in ./api and a React frontend in ./front.
I get this kind of error:
Error: Command failed: cd /d "d:/Git/project" && node ace generate:manifest
node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module 'd:\Git\project\ace'
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Have you tried any other work arounds?
Couldn't think of one.
Are you willing to work on it with little guidance?
Maybe, but I'm short on time at the moment.

Hey Michaël !
Thanks for the report. I'll fix it within the week

Hi @Julien-R44
Thanks for the hardwork on this very useful extension!
Would be delighted to see a support for monorepos (as stated by @targos)
Happy to help if needed!

@targos Are you looking for true monorepos like the one created by npm workspaces, yarn workspaces or lerna. Or mainly for apps where you have the AdonisJS code inside a sub-directory?
Plus are there any pointers on how this can be solved? Maybe you saw other tools taking some approach for custom setups

I started an implementation, and basically I followed this approach:

I scan the entire workspace and subfolders looking for .adonisrc.json files
And when launching an adonis/assembler command via the VSCode Palette, if there are several adonis projects in the workspace(s), then you have to select the one you want to run the command on.

With this, monorepos, Adonis projects in subfolders, and multi-workspaces will be supported

I have a monorepo with npm workspaces.
I think scanning the workspace for special files is a common strategy. That's what the TailwindCSS extension does AFAIK

We now support Adonis projects distributed in several workspaces and also in the same workspace but in subfolders (as it can be the case with a mono repo).
I will make a release at the end of the day 👍

Released as 0.1.0 on the marketplace 🎉
Feel free to reopen the issue if there is still a problem

I'm going to open separate issues with further feedback


Python 2.7 support

I have the same things to say as in https://github.com/mosdef-hub/mbuild/issues/479 but am putting this here in case something is different with foyer.

Dropped 2.7 in PR #257


Need HELP!!!

I just got my Cactus WHID, and I didnt know what i was doing..
So I choosed the option "Join existing network".
Now I cant find the network anymore???

Just gotta grind em til ya find em man...but check out WHID-injector page and READ EVERYTHING!

Just gotta grind em til ya find em man...but check out WHID-injector page and READ EVERYTHING!


Advanced options:UI issues.

Long OTP and email id going to the second line. It should be in a line.

Arrow is coming up on the card outline.It is happening only in case of christmas theme.

Still the Long OTP and email id is going on second line on Gift datils screen.

Still the Arrow is coming up on the card outline.Now It is happening for all the themes.
Tested on dev app v2.0.68(410)

Still the Arrow is coming up on the card outline.It is happening for all the themes.
Tested on dev app v2.0.68(415)

Verified this issue on dev app v2.0.68(417)


docs(README): bump example version: 0.1 → 0.3

Thanks @PiDelport, better late than never (to merge this PR).


Make isometric plugin global

Right now scene-specific, making it hard to use in extended classes etc.

removed it


Make it easy to plot point clusters on RateMaps/Images

I want to be able to easily look at the 'point clusters' produced by my hierarchical clustering peak finding method, both to produce figures for papers and for diagnosis purposes. This ties in with issue #86, and will help to do that review.

Added some new parameters to the view method, one for a chosen point cluster, one for a list of point clusters that weren't chosen.


Prettify Issue Template

Prettify The template for Issues

Hi, can I take this one to do?

@dsalahutdinov yes

Do you have some suggestions about it or things you want to see there?

https://github.com/stevemao/github-issue-templates/blob/master/simple/ISSUE_TEMPLATE.md
Also make a pull request template
https://github.com/stevemao/github-issue-templates/blob/master/simple/PULL_REQUEST_TEMPLATE.md
Thanks


Pigmen with armor generating unusually high MS

As the title suggests, I've been noticing spiking MS in the Nether after placing an enderthermic pump.
Some profiling with Opis revealed that individual pigmen were generating between 2000us and 4000us. I've resorted to placing Magnum Torches around any Nether chunk loaders in an attempt to curb the issue.
Every time I teleported to one of these pigmen they were wearing either glowstone or osmium armor.
As a temporary fix, will setting the mob armor spawnrate to 0.00 prevent any mobs from spawning with mek armor?
Edit: I'm using a standard forge server running version <IP_ADDRESS>6 of forge and <IP_ADDRESS> of Mekanism.

Most likely this would occur with any armor on mobs - Mekanism just increases the amount.


Make Docker useable for end users

This PR makes good of my promise: https://github.com/newsboat/newsboat/issues/1064#issuecomment-653219567 Please read the commit messages for details.
Reviews are welcome as always. I'll merge this in three days if no issues are raised.

Coverage remained the same at 57.215% when pulling ccfa691c1421a0bbe2a459fe3f757d9541b2677a on bugfix/make-docker-useable-for-users into 5fee21677dc2c3fc3634fa10775d12eed88f8697 on master.

Awesome! Thanks for the review, @der-lyse!


add more built-in traits to dox.rs

Add/fix bitwise operation traits in dox.rs

r? @alexcrichton
(rust_highfive has picked a reviewer for you, use r? to override)

@bors: r+

:hourglass: Testing commit 0eaa305c718a92297e9bf0436232af002a14d7db with merge 1fc4c57828b9deb5f45961e94da757caa7c139d7...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 1fc4c57828b9deb5f45961e94da757caa7c139d7 to master...


Change PackageDescriptor.dependencies to DependencyDescriptors

This is for #106.
I left some TODO in the code with questions. I think I caught all the usages in colcon_core. Anything using TaskContext.dependencies should be correct because that object is created in build.py/test.py where I have updated the usage of PackageDescriptor.dependencies.
I tested this with my updated colcon-ros in a simple ROS workspace. Do you have some test workspaces I can run this on to verify correctness? I don't have a python workspace to test against.

Codecov Report

Merging #107 into master will decrease coverage by 0.04%.
The diff coverage is 75.67%.

@@            Coverage Diff             @@
##           master     #107      +/-   ##
==========================================
- Coverage   78.31%   78.27%   -0.05%
==========================================
  Files          50       51       +1
  Lines        2813     2840      +27
  Branches      472      479       +7
==========================================
+ Hits         2203     2223      +20
- Misses        588      594       +6
- Partials       22       23       +1

Impacted Files
Coverage Δ

colcon_core/verb/test.py
27.18% <0%> (-0.27%)
:arrow_down:

colcon_core/verb/build.py
0% <0%> (ø)
:arrow_up:

colcon_core/command.py
100% <100%> (ø)
:arrow_up:

colcon_core/package_identification/python.py
85.71% <100%> (+0.25%)
:arrow_up:

colcon_core/topological_order.py
100% <100%> (ø)
:arrow_up:

colcon_core/package_descriptor.py
100% <100%> (ø)
:arrow_up:

colcon_core/environment/__init__.py
100% <100%> (ø)
:arrow_up:

colcon_core/dependency_descriptor.py
68.75% <68.75%> (ø)

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 bdba482...671c88c. Read the comment docs.

Hey, I'm going to be on vacation the rest of the week but will pick this up on Monday. Thanks for all your feedback!

To roll this out do we need to make a pre-change to all the packages that would break? Something like lock their colcon-core dependency to <= 0.3.9. Then make the change and update them all to depend on >= 0.3.10?

Something like lock their colcon-core dependency

That wouldn't help since we can't guarantee that user will actually get that interim version. They might just stick with the version the already have.

How have you handled breaking changes like this in the past? Is there anything I can do?

How have you handled breaking changes like this in the past?

Since the versions are still 0.x it is technically fine to break anything in a minor release. That being said it is obviously not desired when it can be avoided. Also looking into the future it would be good to figure out the right approach how to handle this (if we would be post 1.0 and don't want to level the major version).

Is there anything I can do?

I have to think about it (when I find a bit more time) if there is a way to do it without breakage (e.g. subclassing from str) or what should be changed so that this is catchable gracefully in the future.

I pushed a new commit that adds backwards compatibility with existing extensions that treat PackageDescriptor.dependencies as a list of strings. I've  updated the tests to include both DependencyDescriptor and str dependencies in the dependencies list.

I don't see how the updated patch achieves backward compatibility. Existing code is expecting a str and doesn't know about / use the new function dependency_name. I haven't tried the patch but don't see how that would work in a backward compatible fashion. Can you please elaborate how you tested backward compatibility (e.g. using this branch of colcon-core in combination with existing released extensions).

You're correct. This will break existing consumers that depend on PackageDescriptor.dependencies being a list of strings.
The only way I can think to support both would be to create a new attribute on PackageDescriptor for DependencyDescriptors. Then a setter and getter for PackageDescriptor.dependencies.
The setter would take a list of strings and create the PackageDescriptor.dependeny_descriptors list.
The getter would return [d.name for d in descriptor.dependency_descriptors]
What do you think of that approach? Would you be okay with a new attribute on PackageDescriptor?

I'm looking into subclassing str. The one issue I'd have with that is then anywhere that wants to access metadata on a DependencyDescriptor needs to first verify isInstance(d, DependencyDescriptor). Do you think that's okay?

With this change I've verified that the colcon-package-information (colcon info) in PyPI works with the latest colcon-core and colcon-ros.

I reviewed the current state of the patch and a few things looked "weird" to me - or at least they were unclear why they are necessary:

inheriting from str but still having a _name slot
inheriting from str but still having __slots__
(the need to) override the __eq__ / __hash__ methods
the need for dependency_name - the goal is that existing code not using that function are still compatible
the "logic" changes in get_dependencies / get_recursive_dependencies to use the name rather then the descriptor

Instead of iterating on this patch I tried locally if we can't get away with a much smaller patch. I prototyped #116 and it seems to work for me. Can you please give that patch a try and comment if it works for you too.

I agree your change is much cleaner and more concise. I found I needed to override eq and hash to get DependencyDescriptor to work correctly as a str subclass.
The dependency_name function could go away. The changes in get_dependencies and get_recursive_dependencies would also not be necessary if DependencyDescriptor can be treated as a string.

The changes in get_dependencies and get_recursive_dependencies would also not be necessary if DependencyDescriptor can be treated as a string.

I included these changes so that "consumers" of the functions get a consistent return value and don't have to deal with two potential types.

I found I needed to override eq and hash to get DependencyDescriptor to work correctly as a str subclass.

I didn't see a need for it. Can you double check if the current state works for you (without these methods overridden)?

I didn't see a need for it. Can you double check if the current state works for you (without these methods overridden)?

Posted on #116. Your change works for me.

I included these changes so that "consumers" of the functions get a consistent return value and don't have to deal with two potential types.

I agree doing this will make it easier for consumers of those apis.

Closing in favor of #116.


Fix typo and update doc on Canary App metrics

Signed-off-by: Glenn Oppegard<EMAIL_ADDRESS>

Thanks!


RefreshAutoConfiguration make JndiTemplate intialize failed.

Please as description, along with versions used and how to recreate the problem.

Spring boot: 2.0.8.Release.
we have an applicationContext.xml to define the beans.

${xxx.host.provider.url}

If we only use the spring boot, it would be fine.  the spring boot can be started up correctly.
Since I want to introduce the feign. so I introduce the
compile("org.springframework.cloud:spring-cloud-starter-openfeign")
Then when I start it up:
the application will say: the JndiTemplate create InitialContext is failed.  because the property passing into it is still ${xxxxx.xxx}
protected Context createInitialContext() throws NamingException {
Hashtable icEnv = null;
Properties env = getEnvironment();
if (env != null) {
icEnv = new Hashtable<>(env.size());
CollectionUtils.mergePropertiesIntoMap(env, icEnv);
}
return new InitialContext(icEnv);
}
I checked that when the application started, the application context will invokeBeanDefinitionRegistryPostProcessors which will trigger the RefreshAutoConfiguration-> postProcessBeanDefinitionRegistry.  it will loop all the beans & create the bean   jnditemplate. but when it createInitialContext(), the enviroment passing into it contains the {xxx}.
If I disable it. it will work
//@SpringBootApplication(exclude = { RefreshAutoConfiguration.class })

I need the version of spring cloud as well

I have updated it.

Do you only add the feign dependency or do you create a client?

I only add the feign dependency , I have not create any client.

Can you provide a complete, minimal, verifiable sample that reproduces the problem? It should be available as a GitHub (or similar) project or attached to this issue as a zip file.

This issue can be easily reproduce by the following step:
1: maven dependency

org.springframework.cloud
spring-cloud-dependencies
${spring-cloud.version}
pom
import

org.springframework.cloud
spring-cloud-starter-openfeign

org.springframework.boot
spring-boot-starter-web

org.springframework.boot
spring-boot-starter-test
test

2: application.xml
`

<context:property-placeholder order="1" location="classpath:database.properties"/>

${factory.initial}

`
3: properties:
factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory123
connection.factory=123test
if you look at the createInitialContext Method in the JNDITemplate, you can see the properties is not been parsed into the value in the properties.

If you'd like us to investigate please

Can you provide a complete, minimal, verifiable sample that reproduces the problem? It should be available as a GitHub (or similar) project or attached to this issue as a zip file.

please see my code here: https://github.com/chp008/issues/tree/issue_01
this issue is only happing in Finchley.RELEASE. it will not be an issue in Greenwich.RELEASE.
Reproduce:
set a debug here in JNDITemplate. to see the property value
public void setEnvironment(@Nullable Properties environment) {
this.environment = environment;
}

Finchley is no longer supported. please upgrade


dask.array.jit or dask.array.vectorize

When working with dask-glm I find myself interacting with functions like the following (where x is a dask.array):
def l2(x, t):
    return 1 / (1 + lamda * t) * x

def l1(x, t):
    return (absolute(x) > lamda * t) * (x - sign(x) * lamda * t)

These are costly in a few ways:

They have decent overhead, because they repeatedly regenerate relatively large graphs
On computation, even if we fuse, we create many intermediate copies of numpy arrays

So there are two part solutions that we could combine here:

For any given dtype/shape/chunks signature, we could precompute a dask graph.  When the same dtype/shape/chunks signature comes in we would stitch the new keys in at the right place, change around some tokenized values, and ship the result out without calling all of the dask.array code.
We could numba.jit fused tasks

Using numba would actually be pretty valuable in some cases in dask-glm.  This could be an optimization at the task graph level.  I suspect that if we get good at recognizing recurring patterns and cache well that we could make this fast-ish.  (add, _, (mul, _, _)) -> numba.jit(lambda x, y, z: x + y * z).  We might also be able to back out patterns based on keys (not sure if this is safe)
cc @jcrist @eriknw @sklam @seibert @shoyer

+@crusaderky
I feel your pain. I'm not entirely sure what you're actually proposing, though.
Would it not suffice to simply insert numba.jit to decorate these functions? Doing this explicitly seems a lot easier than optimizing after the fact. If introducing dependencies is a concern (and it probably should be), you could pretty easily make a variation of numba.jit that is a no-op if numba is not installed.

For what it's worth, I would expect dask.array.vectorize to be a dask friendly version of numpy.vectorize that doesn't require numba. Numba support would also be handy but I would save that variant for another function name (e.g., numba_vectorize) or a keyword argument (numba=True).

These functions are fed dask.arrays, so numba.jit on its own won't suffice.  In the simple case we could easily do something like the following:
def linear_jit(func):
    jit_func = jit(func)
    def _(*args, **kwargs):
        return map_blocks(jit_func, *args, **kwargs)
    return _

I think that concretely I'm proposing two things:

An optional optimization that calls numba.jit on fused tasks that we run on all tasks in the graph after calling fuse
A function decorator that watches for incoming input signatures, records the output graph, and when new inputs arrive with the same signature it short-cuts to use the precomputed graph (with some straightforward modifications) instead of rerunning all of the dask.array algorithms.  In this case signature is (dtype, shape, chunks) for all dask.arrays and identity for all other inputs.

An optional optimization that calls numba.jit on fused tasks that we run on all tasks in the graph after calling fuse

Seems totally reasonable to me. Numba should remain an optional dependency, of course.

A function decorator that watches for incoming input signatures, records the output graph, and when new inputs arrive with the same signature it short-cuts to use the precomputed graph (with some straightforward modifications) instead of rerunning all of the dask.array algorithms. In this case signature is (dtype, shape, chunks) for all dask.arrays and identity for all other inputs.

No real objection here, either, though I would consider skipping straight to a programmatic dict for top (#1763).

First, a word of warning.
I initially coded all the critical tasks of my xarray+dask project in numba. After several weeks chasing random interpreter segfaults, which only appeared when I reached production scale, I rewrote every last numba function in Cython. The result was uglier looking, and I got locked into a static dtype signature (not a problem for my specific case, as I do everything in float64 anyway), but the whole experience was A LOT smoother - predictable behaviour, easy to debug performance, and overall robustness.
I still think that numba has great potential, but overall my opinion for now is that it's still too green for production use - no offense if any of the developers are reading.
Second: in the functions mentioned in the original post, numba/cython optimization may produce some improvement - but in my experience from very similarly-looking functions, not enough to bother as long as your chunk size is large enough to prevent the GIL from kicking in. YMMV.
The big improvement comes when you simply wrap those expressions in a single pure numpy function (lamdba or not),which is then called atomically by dask. Hence the biggest problem as of today - IMHO, dask.array.map_blocks could really use some love as it's unusable e.g. whenever the inputs have mismatched dimensions.
In my (xarray+dask) project I personally have an additional problem, which is that in all of my functions I have some guaranteed dimensions, plus arbitrary other dimensions, and in arbitrary order. So I have to go through a great deal of transpose and reshape before I can actually apply my kernels. I'm currently juggling between writing dsk dicts by hand and a in-house variant of xarray.apply (not using xarray.apply as AFAIK today it doesn't have dask support - but looking forward to it).

Thanks for the experience report @crusaderky .  Some questions:

Are you using numba.jit(nogil=True)
Regarding your second point, how large were your chunks and how long were your computations?

The big improvement comes when you simply wrap those expressions in a single pure numpy function (lamdba or not),which is then called atomically by dask

Can you expand on this?

Hence the biggest problem as of today - IMHO, dask.array.map_blocks could really use some love as it's unusable e.g. whenever the inputs have mismatched dimensions.

Yeah, I actually have the reverse perspective, that map_blocks shouldn't attempt to be any more complex than it currently is.  It has been accumulating features and corner cases for a while now.  Would love for a different operation though if people have recommendations and time to build something.  I tend to recommend atop or just dask.delayed to people in these cases.

numba.jit(nogil=True, nopython=True, cache=True)
An example of a formula I experimented with that won't get any benefit from cythonizing, the value of a floating rate bond under a monte carlo stress:

discounted_cashflow = cashflow * xarray.ufuncs.exp(-t * (credit_rate + interest_rate + spread)
value = discounted_cashflow.sum('time')

where all inputs are xarray variables

cashflow, credit_rate, interest_rate: dims=(time, scenario), shape=(50, 500k), chunks=(25, 100k)
t, spread: dims=(time, ), shape=(50, ), chunks=None (numpy-backed)

It's worth noting that in this formula I don't have any diamond dependencies; all dask-backed variables are the result of semi-independent branches of computation. This is unlike in your l1() function, where x appears 3 times.
The improvement you achieve by wrapping the whole thing in numpy is that you're reducing by a large factor the number of keys in your final dask dict - hence, all the non-parallelisable work needed to resolve the problem.

Instead of Numba we could also generate more complex functions that use out parameters in numpy functions.  This is probably more work to generate but would be lower-tech (good).
I'm still somewhat in favor of numba though.  It seems easier to try out at least.  This may be because I haven't been bitten by it in the same way that @crusaderky has.  On the plus side, I suspect that numba devs would respond quickly to any issues we push upstream.

Regardless of the numpy/numba choice, another benefit to rewriting fused tasks is serialization time.  As we contract the number of tasks with optimizations like #1979 we reduce per-task overhead in all ways except serialization.  The large compound tasks that we generate like (add, (sub, (exp, 'x-123'), 'y-123'), 1) are not significantly less expensive to serialize than they were before as several small tasks.  If we can reduce these to a simple form of (f, 'x-123', 'y-123', 1) for complex f then it becomes much easier to cache the serialization of f and remove most of this cost.
@jcrist, this is starting to look like

Generation of some Python code
Application with Numba
Passing over the graph with a small set of rewrite rules

Do you have any interest?  This would align nicely with @eriknw 's current work on fusion.

Hrm, I wonder if we can short-circuit some of the rewrite rule cost by using the fact that the key prefixes are likely to be the same.

I'm skeptical of generating python code (and using numba) here, and would rather create an object to "interpret" these tasks, using the out keywords for functions as available. A few reasons for this:

Numba compilation isn't threadsafe. This is what @crusaderky ran into, and it's an issue I ran into when working on datashader. We could hack around this though by forcing compilation, but it's something to watch out for.

Generated code doesn't serialize cheaply. Cloudpickle is required. In comparison, pickling several built-in functions wrapped in python objects is relatively cheap:

In [1]: from operator import add, mul

In [2]: task = (add, (mul, 'x', (add, 1, 'y')), 2)

In [3]: import cloudpickle

In [4]: len(cloudpickle.dumps(task))
Out[4]: 68

In [5]: s = """
   ...: def func(x, y):
   ...:     return ((1 + y) * x) + 2
   ...: """

In [6]: namespace = {'add': add, 'mul': mul}

In [7]: exec(s, namespace)

In [8]: func = namespace['func']

In [9]: len(cloudpickle.dumps(func))
Out[9]: 326

Distributed does cache "callables" inside dumps_task, but it doesn't care about if they're actually instances of FunctionType. This means that a callable object would work just as well. Since distributed always sends the bytes (and just caches the serialization cost), having a smaller serialized form is still important (IMO). Numba functions are even more expensive to serialize.

I'm not 100% against generating code here, but I'd prefer to try a simpler implementation first. Either way, this is something I'd be interested in working on, I just need to find the time :).

Yeah, as long as things are of the form (expensive-function-thing, key, key, value) I'm happy.  We would probably also need to do more benchmarking to verify that this was worthwhile (I'm happy to chat about benchmarks if you get into this.)
We also compress data between client and scheduler if it becomes large.  I haven't seen moving large repetitive bytestrings become a bottleneck yet.

For the issue of serialization cost, you could serialize the function in its string form and then numba-compile it on the worker.

@pitrou if you have any interest, the application I'm trying to improve is here: https://github.com/dask/dask-glm/issues/26 .  The first comment points to this single-threaded benchmark that is, I think, representative of the performance issue.

@jcrist I don't think my problem was compilation. I had cache=True and my
signature never changes...
On 14 Feb 2017 17:42, "Matthew Rocklin"<EMAIL_ADDRESS>wrote:

@pitrou https://github.com/pitrou if you have any interest, the
application I'm trying to improve is here: dask/dask-glm#26
https://github.com/dask/dask-glm/issues/26 . The first comment points
to this single-threaded benchmark
https://gist.github.com/mrocklin/48b7c4b610db63b2ee816bd387b5a328 that
is, I think, representative of the performance issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/1946#issuecomment-279779851, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AF7OMOm_-_VXt2ZPjr1aB_L4VtwTx0Gjks5rceeDgaJpZM4Lx-VH
.

A function decorator that watches for incoming input signatures, records the output graph, and when new inputs arrive with the same signature it short-cuts to use the precomputed graph (with some straightforward modifications) instead of rerunning all of the dask.array algorithms. In this case signature is (dtype, shape, chunks) for all dask.arrays and identity for all other inputs.

FWIU I really like this idea. Could you elaborate on it a bit more @mrocklin?

Are you proposing caching graphs based on having the same inputs? Or are you proposing caching that is somehow able to stub in different inputs into the same graph structure? The former seems straightforward and potentially a nice add for a few cases using some preferred caching decorator. With the latter, I'm a little unclear on how this might work.

Or are you proposing caching that is somehow able to stub in different inputs into the same graph structure?

I am curious about this case.

With the latter, I'm a little unclear on how this might work.

Yes.  Me too.

What are your thoughts on this topic @jakirkham ?

Not sure. Haven't thought about it long enough to have any ideas.
That said, this does sound kind of like a LISP style problem. It might be worth taking a look at Hy and seeing if they are any libraries or tools that could be used or extended for this case.

I don't think that solving this problem will require that level of technology.

OK, so I think it would be useful to replace many of the keys in a graph with a new set of keys.
>>> dsk = {'x': 1, 'y': (inc, 'x'), 'z': (add, 'x', 'y')}
>>> swap = {'x': 'a', 'y': 'b', 'z': 'c'}
>>> replace(dsk, swap)
{'a': 1, 'b': (inc, 'a'), 'z': (add, 'a', 'b')}

I'm curious if/how we can do this quickly cc @eriknw @jcrist .  A simple example motivating this operation follows:
Example
Lets say that I have dask object with the following graph and keys:
>>> original.dask
{'orig-1': 1,
 'orig-2': (inc, 'orig-1')}

>>> orig._keys()
['orig-2']

I want to run a function f on this dask object that produces a new dask object with a larger graph.
>>> out = f(orig)
>>> out.dask
{'orig-1': 1,
 'orig-2': (inc, 'orig-1'),
 'out-1', (inc, 2),
 'out-2', (add, 'out-1', 'orig-1')}

I also want to apply this same function onto a new object new with the following graph:
>>> new.dask
{'new-1': (g,)}

>>> new._keys()
['new-1']

However my function f takes a long time to run.  I know separately that this new object and the original object are sufficiently similar so that calling f is unnecsssary, the new bit of the output graph will have identical structure.
So I want to do three things:

Strip out the graph of orig.  This is easy to do.
Replace all instances of orig keys with new keys within the part of the graph that was added by f.  I want to pass over all tasks with the following replacement mapping {'orig-2': 'new-1'}.  In practice this mapping will have many thousands of elements.
Slightly modify all keys in the graph to show that these are new tasks that will have distinct results.  For example we might pass through with the following mapping {'out-1': 'out-1-1', 'out-2': 'out-2-2'}

Both parts two and three ask for a function that efficiently swaps out key names.  I'm curious how fast this can be.  The whole purpose of this exercise is to avoid graph construction and optimization costs.

It would be great to hear your thoughts on this, @mcg1969. :)

This will likely be handled by the current effort on high level expression graphs.  Closing.


Docs: ufoLib and misc updates

This reconfigures ufoLib docs somewhat; I think noncontroversially. I then also added some similar minor changes to cffLib, for the purpose of testing the Sphinx / autodoc structures on a different module to see if it's a repeatable plan.
I don't think there's a lot to get excited about there, but I also couldn't resist pushing out my first attempt to add an overview explainer to the pens module.

Feel free to merge. I don't think anyone is going to review this.

Yeah, I meant to last week; got swamped by travel.... Thanks for the reminder.


exoplayer branch

When i switch on the exo player branch stuff gets broken.
node_modules\react-native-audio-streaming\android\src\audioStreaming\Signal.java:211: error: cannot find symbol
DataSource.Factory dataSourceFactory = new AudioStreamingD
(this.getApplication(), getDefaultUserAgent(), bandwidthMeter);
^
symbol:   class AudioStreamingDataSourceFactory
location: class Signal
error
react-native-audio-streaming:compileReleaseJavaWithJavac FAILED
I need to stream m4a so i need to make this branch working.
Any ideas?

you can change AudioStreamingDataSourceFactory  to DefaultDataSourceFactory, see if it works.

@lgan1989 i already gave up react native because it's super buggy.
I started learning native development via java, it's pretty easy.

Hei @lgan1989, I've try to follow your instruction, and when build I get this error:
Execution failed for task ':app:transformClassesWithDexForDebug'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexIndexOverflowException: Cannot merge new index66830 into a non-jumbo instruction!


Sandpack Provider without using a template

Discussed in https://github.com/codesandbox/sandpack/discussions/970

Originally posted by jamesmurdza July 15, 2023
If I remove, template="static" from the below code, the template is still applied. I want to provide my own directory structure with a completely different list of files. How can I do this?
import './App.css'
import { SandpackProvider, SandpackLayout, SandpackPreview, SandpackConsole } from "@codesandbox/sandpack-react";

export default function App() {
  const files = {}

  return (
    <SandpackProvider
      files={files}
      theme="light"
      template="static"
    >
      <SandpackLayout>
        <SandpackPreview />
        <SandpackConsole />
      </SandpackLayout>
    </SandpackProvider>
  )
}
```</div>

Try this
      <SandpackProvider
        theme="auto"
        files={{
          '/user.sql': `CREATE TABLE users (
  id INTEGER PRIMARY KEY AUTOINCREMENT,
  name TEXT NOT NULL,
  age INTEGER NOT NULL
);
`,
        }}
        customSetup={{
          entry: '/user.sql',
        }}
      >
      <SandpackLayout>
        <SandpackPreview />
        <SandpackConsole />
      </SandpackLayout>
    </SandpackProvider>


Welcome landing page

A landing page for new visitors to the oakestra docs

Rebased onto main brach so that page links are (somewhat) accurate

Were any changes made to the landing page? The git history is a little confusing

Yes. Please take latest commit

@Mjaethers can you please take a look at the page. There is a broken link to publications which I have commented

I am confused and concerned - why is this PR so large and includes unrelated changes/files from PRs that have been merged a long time ago (e.g. the CLI manuals automation components)
(I currently lack time to dive into this myself)

@Mjaethers can you please take a look at the page. There is a broken link to publications which I have commented

If you refer to the /publications link inside callout i fixed that

I am confused and concerned - why is this PR so large and includes unrelated changes/files from PRs that have been merged a long time ago (e.g. the CLI manuals automation components) (I currently lack time to dive into this myself)

Good point... there might be some rebase issues here. I hope this does not overwrite content.

Can we link to get started high level arch for the next reading?

I added an issue regarding this, are there any more documents in the pipeline?

I am confused and concerned - why is this PR so large and includes unrelated changes/files from PRs that have been merged a long time ago (e.g. the CLI manuals automation components) (I currently lack time to dive into this myself)

Good point... there might be some rebase issues here. I hope this does not overwrite content.

I think this is due to using git pull instead of git pull --rebase when the remote and local branch diverged

@Malyuk-A I had to do a rebase with main to make the links available for the landing page. On top of that, there are UI updates in all PRs that were already merged (fixed UI styles, grammar issues, interconnections etc). I do not think there are overwriting artifacts but we can do a side-by-side visual check to make sure

@Mjaethers regarding https://github.com/nitindermohan/oak-new-docs/pull/31#issuecomment-2551429345, lets wait for all PRs to be merged as we will keep having these artifacts

Just to keep this in a close loop:
Here is the squashed/rebased version of this PR
https://github.com/nitindermohan/oak-new-docs/pull/48

Overridden by https://github.com/nitindermohan/oak-new-docs/pull/48


Change tests random number generator to /dev/urandom

This fixes a big performance issue with random number generation with more recent kernels and java versions in linux, the impact is specially higher on VMs
Some tests (that use random number generation) in some environments take randomly 1 - 20 mins to perform tests that should take only seconds to run.
This PR is just intended for fixing it on the tests.

there's a builtin symlink that redirects /dev/urandom to /dev/random. this is the only way to make it work :)
This is a known issue with a lot of java apps running in linux

It was on my todo list for a long long time to check the random times of tests.
Thanks for fixing this @rsafonseca .Will merge this on master after some tests.


Stop on Radio Streaming with HTML5

If the audio being played is streaming and stop is clicked with HTML5 the audio being played is paused but the stream continues to download in the background. For streaming of live audio it would be better if the audio was fully stopped which is what happens with the Flash plugin.
I understand that natively with HTML5 the audio cannot be stopped as such and all browsers do this, but it should be possible to force the streaming of the audio to stop by removing the  tag from the DOM all together, or changing the 'src' attribute to point to an empty string.
Would this be feasible to include into mediaelement? It would make mediaelement easily the best choice for live audio on HTML5 as no one really does this as far as I can find.

@leighmcculloch Is this still an issue?

I believe so, I never found a way to solve the problem and I think I worked around it by removing the DOM element from the page to completely stop it from streaming. @anthonyeden inherited the (ugle) code I'd written. @anthonyeden are you still using mediaelement.js in http://hope1032.com.au/player/?

@leighmcculloch
We re-implemented the player last year using the Wordpress-supplied MediaElement.js. It has a similar problem of stopping a live stream, so we did the same thing and just removed it from the DOM.
The trouble is starting the stream again. Some mobile browsers won't let you auto-play, so we have some device targeting to fix that again. Far from ideal. Needs a bit of a re-write.

Thanks @leighmcculloch and @anthonyeden for your comments. We'll take a look at this to revisit this issue, and keep you posted about any progress on that

@leighmcculloch and @anthonyeden Please test 3.x-dev branch and try to set setSrc(''); that way it will remove the src attribute and prevent the downloading. See #1914 for more references

I solved this issue long time ago over here: https://github.com/johndyer/mediaelement/issues/1321#issuecomment-133440115 but atm it's not working like this anymore. Like ron said we are solving this atm in 1914

Closing this issue since the fix is now in place. Refer to #1914 for the solution


Torchmetrics error: AttributeError: 'Tensor' object has no attribute 'clear'

Error Description
Branch: Torchmetrics
While training LargeMix, run fails early on (during sanity) in metrics.py when it calls the reset function (line 407) with the error AttributeError: 'Tensor' object has no attribute 'clear'. Did you mean: 'char'?
Commenting # strategy: ddp_find_unused_parameters_true in the configuration yaml file overcomes this error.
In the metrics configuration, it specifically fails for task PCBA's AVPR metrics. It also fails for PCBA's AUROC metric when its multitask-handling is set to mean-per-label.

Branch torchmetrics was fixed and merged in PR #511


403 (Forbidden)

Hi guys! Thank you for the great job to create and maintain this awesome project.
Up to now, everything has worked properly with downoading youtube vids...
BUT!
Since February 01. 2018 downloading is not possibe. VideoLibrary.YouTibeVideo.GetBytes() function throws a 403 (Forbidden) exception.
Maybe Youtube made some changes on their site.
Could you please fix this error?
Thank you!

++

It's fixed in my fork: https://github.com/hig-dev/libvideo

@hig-dev  Thx :)

Hey @szblajos, @omansak
I think I fixed your issues in the latest beta version (https://www.nuget.org/packages/VideoLibrary/1.3.6-beta).
I'm closing this issue but please tell me if you have any issues with any videos.


Bug at start

Select your issue type: (check at least one)

[1 ] Bug
[ ] Question
[ ] Suggestion
[ ] Other (please describe):

Describe your issue:
instagram-py
Traceback (most recent call last):
File "/usr/local/bin/instagram-py", line 6, in
from InstagramPy import ExecuteInstagramPy
File "/usr/local/lib/python2.7/dist-packages/InstagramPy/init.py", line 10, in
from .InstagramPyCLI import InstagramPyCLI
File "/usr/local/lib/python2.7/dist-packages/InstagramPy/InstagramPyCLI.py", line 138
end='')
^
Ways to Reproduce the issue (optional):

From the readme: Depends on: python3 and you're using python2.7