Can’t eval editor.cljs in LT UI

To reproduce

Have LT source in your workspace
open src/lt/objs/editor.cljs
Eval whole file (for me it’s pmeta-shift-enter)
Get error #< Error: This document is already in use >
Now when trying to use LT, nothing really works. For example try using find in the editor and you’ll get errors in the console.

Environment:

LT 0.8.1, built from master (a8a4f2e)
OSX 10.11.1
user.behaviors and user.keymap

In trying to track it down..
(In the process went down the rabbit-hole trying to figure out how the whole BOT thing works with a bunch of print statements, which I’ve been wanting to do for a while so it was a bit of fun :smile:)

The error is thrown inside of CodeMirror in function attachDoc, which we call through swapDoc in editor.cljs (source)
For those not particularly familiar with LT code base, like I was, the call is being made upon creating the editor object in the :init function, which calls (make) and there you have the the swapDoc call.
The editor object is created by editor/pool.cljs here  and opener.cljs here (i think?), so perhaps this is where we have to do some kind of check to see if the editor we’re trying to create already exists?
Not quite sure what what CodeMirror is checking for in performing the test, but it doesn’t seem to like that the editor object we’re trying to create in LT when evaluating editor.cljs
If i try to eval some other file, such as pool.cljs, the eval is fine with no problem.
If i have pool.cljs open in current tab and editor.cljs open in another tab, but evaluate pool.cljs, then all is fine. But then go to eval editor.cljs and you’re back in trouble.
One sample solution I tried was to add a check if the current editor is editor.cljs, then don’t call .swapDoc.

(when (and (:doc context) (not= (:name context) "editor.cljs"))
      (.swapDoc e (-> (:doc context) deref :doc)))

but that doesn’t even open up the editor for editor.cljs in the first place, as i think this is the same code that is called when opening a tab AND when the file is eval’ed?
With all this info, does someone know what the proper cause is for this? I’m trying to track it down though I haven’t completely grok’d LT to understand what’s going on.
Maybe someone with some more CodeMirror experience maybe knows if there’s a better method than .swapDoc() that we could use or maybe is more applicable to these situations?
Thanks!

Hi @martinchooooooo. Depending on the file you're re-evaling, a whole file re-eval often redefines core LT object types and recreates LT objects. This can have dire consequences in some files e.g. re-evaling object.cljs will freeze LT as LT no longer has any objects defined. In the case of editor.cljs, if you comment the editor object type and do a file re-eval, you don't see errors. My suggestion is to stick to evaling forms when exploring LT and only do a file eval as you learn more of the codebase and understand the implications of a given file eval. I can add a brief description about this in the wiki or doc/for-committers.md if you think that'd be helpful to others. Cheers

Thanks for that info @cldwalker, that makes a lot more sense.
Funny you mention doc/for-committers.md, because it was one of the first places I looked for information on my problem. So perhaps that might be a great place to stick some info.

@martinchooooooo if that solved the problem would you consider closing this issue please :) ?

@carocad It's okay to keep this open; no one has added info about 'whole file evals' to the docs yet.

@cldwalker Would it make sense to provide a sprinkle of defonce in the LT codebase or would that have unfortunate side-effects ?

@rundis It's unlikely but possible if applied to the wrong var e.g. one that relies on set!. If we were to introduce a convention of any file being reloadable, we should be consistent about it everywhere. Given how large our code base is and how this adds to more things we need to QA, I don't think it's worth the effort. defonce also doesn't handle docstrings so we'd have to add docstrings by mutating the var's meta which isn't pretty

mkay got it.

#2254 covers the only work that remained to be done for this.


New Elixir companies website

Hey guys!
I really liked the old elixir-companies site, and I think it's what the community needs to popularize this language. CTOs and lead devs often make the tech decision based on its adoption in big brands, and this type of listing helps them (and us too) orientate what's the current state of adoption.
Long story short, I decided to create a new website, as I think, after reading this thread: https://github.com/beam-community/elixir-companies/issues/649, the old site may not come back at all.
Check it out here: https://elixir-hub.com. While creating an MVP, I realized there is much more we can do here than just list companies. Elixir lacks a hub, where devs could easily filter through various parameters, and various resources, such as:

jobs,
books,
podcasts,
blogs
many more

I encourage you to help me build this listing by adding new resources, and for now - companies :)

Howdy @szsoppa! I've been out of pocket due some deaths in the family, but we're actively working on bringing the site back online with some changes to make managing it easier: https://github.com/beam-community/elixir-companies/pull/660

Hey, @doomspork, it seems like I should have dug a bit more into open branches. Clearly, I made some wrong conclusions (sorry for that), but... I still think a hub can be an interesting space. Different resources are spread across different places, so I think it's worth exploring how it would work to have it all on one site.
All in all, great to hear that the site is up and running :)

https://elixir-companies.com/en We're live 🎉 I'm working through adding companies as I review each on the previous site (There's more than a few on there I know have moved away from Elixir).
Feel free to add more yourself 🎉 https://github.com/beam-community/elixir-companies/tree/main/priv/companies


STATUS won't breathe

# python run_analysis.py
Traceback (most recent call last):
  File "run_analysis.py", line 1, in <module>
    from bitcoin_tools.analysis.status.data_dump import transaction_dump, utxo_dump
  File "/usr/lib64/python2.7/bitcoin_tools/analysis/status/data_dump.py", line 3, in <module>
    from bitcoin_tools.analysis.status.utils import check_multisig, get_min_input_size, roundup_rate, check_multisig_type, \
  File "/usr/lib64/python2.7/bitcoin_tools/analysis/status/utils.py", line 3, in <module>
    import ujson
ImportError: /root/.local/lib64/python2.7/site-packages/ujson.so: undefined symbol: Buffer_AppendShortHexUnchecked

What am I doing wrong?

Looks like there a problem with the ujson library. It may be related to https://github.com/esnme/ultrajson/issues/237

May be also related to https://github.com/esnme/ultrajson/issues/277. Are you compiling it with gcc5+? Try to compile ujson with gcc4 as suggested by @yurijmikhalevich in the last comment.

Indeed. Using gcc 7.2.0 here. Thanks for the pointer - I'll investigate this weekend and report.

Did you managed to work it around?

Unfortunately not yet. Using Arch Linux and Gentoo here, Everything below GCC-6 is hard masked in the latter.  I also had some trouble with the python part, given the fact that 3.6 is default on the servers I am testing.
Will play around a little but in general it would be nice if a more modern/recent infrastructure would be supported by this project. (as it does support the most recent chainstate format).
Feel free to close - or ping me if you need testing on new compiler/python versions.

We are not planning on adding Python 3 support (not in the near future at least), PRs are more than welcome though.
Regarding ujson, I'll open an issue and look for workarounds, it is used basically to speed up all the utxo ser parsing process, so ultimately it can be replaced by any other fast json library than behaves in a similar way. I'll ping you if I find a solution.

@rico666 Can you tell me the versions of gcc, python and ujson you are using in your Arch?
I just tested it in mine under GCC 6.4.1, Python 2.7.14 and ujson 1.35 and it's working fine.
[sdelgado@sdelgado status]$ python --version
Python 2.7.14

[sdelgado@sdelgado status]$ gcc --version
gcc (GCC) 6.4.1 20171003
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[sdelgado@sdelgado status]$ pip2.7 show ujson
Name: ujson
Version: 1.35
Summary: Ultra fast JSON encoder and decoder for Python
Home-page: http://www.esn.me
Author: Jonas Tarnstrom
Author-email<EMAIL_ADDRESS>License: BSD License
Location: /usr/lib/python2.7/site-packages
Requires:

[sdelgado@sdelgado status]$ python run_analysis.py
Parsing the chainstate.

Same with Debian, gcc 6.3.0, python 2.7.13, ujson 1.35
sdelgado@deic-satoshi:~$ gcc --version
gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

sdelgado@deic-satoshi:~$ pip show ujson
Name: ujson
Version: 1.35
Summary: Ultra fast JSON encoder and decoder for Python
Home-page: http://www.esn.me
Author: Jonas Tarnstrom
Author-email<EMAIL_ADDRESS>License: BSD License
Location: /home/sdelgado/.local/lib/python2.7/site-packages
Requires:

sdelgado@deic-satoshi:~$ python --version
Python 2.7.13

sdelgado@deic-satoshi:~$ cat /etc/*-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"

Closing due to inactivity.


[spec] tsc accepts a TypeAliasDeclaration inside a AmbientExternalModuleDeclaration, the spec doesn't

According to the grammar in the spec a TypeAliasDeclaration not permitted to appear inside a AmbientExternalModuleDeclaration.
For example, on DefinitelyTyped acl.d.ts contains:
declare module "acl" {
  type strings = string|string[];
}

This doesn't conform to the grammar, but tsc 1.5.0-beta is happy to accept it though.
TypeAliasDeclaration just needs to be added to the production of AmbientModuleElement in the spec as far as I can tell.

Fixed in #4033.


missing resource roles

api string
web ui string
terraform string

leaf_l3_peer_link_link_ips
Leaf L3 Peer Links
leaf_l3_peer_links

closed by #193


fix: incorrect operator for dropChance

Math.random() returns 0.0 to 1.0, checking if random is less than the drop chance results in near to no positive failures on collecting. Should be if random is greater than drop chance, to skip.
0: Normal Cancelled? -> false
0: Normal Cancelled? -> true
0: Normal Cancelled? -> false
0: Normal Cancelled? -> false
0: Normal Cancelled? -> false
0: Normal Cancelled? -> false
0: Normal Cancelled? -> false
0: Normal Cancelled? -> false
0: Normal Cancelled? -> false
0: Normal Cancelled? -> false
1: Reverse Cancelled? -> true
1: Reverse Cancelled? -> true
1: Reverse Cancelled? -> true
1: Reverse Cancelled? -> true
1: Reverse Cancelled? -> true
1: Reverse Cancelled? -> true
1: Reverse Cancelled? -> false
1: Reverse Cancelled? -> true
1: Reverse Cancelled? -> true
1: Reverse Cancelled? -> true

function run_math (id, chances) {
  for (let i = 0; i < 10; i++) {
    console.log(id + ": Normal Cancelled? -> " + (Math.random() <= chances))
  }
}

function run_math_patch (id, chances) {
  for (let i = 0; i < 10; i++) {
    console.log(id + ": Reverse Cancelled? -> " + (Math.random() >= chances))
  }
}

run_math(0, 0.1)
run_math_patch(1, 0.1)

Hey there! Noticed a bug that is a result from the rogue operator in chances at 0.1 and etc, if almost never fails. I know you can set the value higher currently as a workaround but I do not believe that is intended behavior.

you are right, thanks for pointing it out


sambamba 2

The problem with the following code is that if I put a string "25 100"
then the code works, but I know that it's supposed to accept an array.
I think the issue might be in the code of Sambamba.pm itself:
as i is now in develop:
push @commands, "--cov-threshold ".join(" --cov-threshold ", @{
$depth_cutoffs_ref }));
if you give it an array it produces:  "--cov-threshold 25 --cov-threshold
100"
I think the code should be modified into:
push @commands, q{--cov-threshold} . $SPACE . join  $SPACE, @{
$depth_cutoffs_ref };
If you give it an array this time it produces "--cov-threshold 25 100",
which I think is what you want, right?
I'll go for this and then you can check if it's correct!
Chiara
On Mon, Aug 28, 2017 at 1:46 PM, Henrik Stranneheim <
<EMAIL_ADDRESS>wrote:

@henrikstranneheim commented on this pull request.
In t/sambamba_depth.t
https://github.com/henrikstranneheim/MIP/pull/171#discussion_r135503006:

},

infile_path => {

   input           => q{infile.test},

   expected_output => q{infile.test},

},
+);

+## Specific arguments
+my %specific_argument = (
+

stderrfile_path => {

   input           => q{stderrfile.test},

   expected_output => q{2> stderrfile.test},

},
depth_cutoffs_ref => {

   inputs_ref      => [q{25 100}],

Should this not be qw{25 100}?
In t/sambamba_depth.t
https://github.com/henrikstranneheim/MIP/pull/171#discussion_r135503086:

},

infile_path => {

   input           => q{infile.test},

   expected_output => q{infile.test},

},
+);

+## Specific arguments
+my %specific_argument = (
+

stderrfile_path => {

   input           => q{stderrfile.test},

   expected_output => q{2> stderrfile.test},

},
depth_cutoffs_ref => {

   inputs_ref      => [q{25 100}],

or is it just a single element?

In lib/MIP/Program/Alignment/Sambamba.pm
https://github.com/henrikstranneheim/MIP/pull/171#discussion_r135504045:

@@ -0,0 +1,697 @@
+package MIP::Program::Alignment::Sambamba;

Excellent! Just some small changes. Could you also add the tests to
t/config/run_tests.t (in alphabetical order)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/henrikstranneheim/MIP/pull/171#pullrequestreview-58918285,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aayssvl7iIWg4LmlBvPj4JvPU788JaIxks5scqiSgaJpZM4PCo-I
.

Great work! :1st_place_medal:

Thanks! :)
I'll do another!
Chiara
On Mon, Aug 28, 2017 at 9:29 PM, Henrik Stranneheim <
<EMAIL_ADDRESS>wrote:

Great work! 🥇
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/henrikstranneheim/MIP/pull/171#issuecomment-325454549,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aaysshf5AnldHaITziGM7hRq_NQb8Xnbks5scxUdgaJpZM4PCo-I
.


Update Optix API

Thanks, @mtthss ! Since you're the owner of this code you don't need any real approval, but in any case the code looks great :)


Better error message when exceeding maxBuffer size

See #64 and #67

Is there any workaround for this problem in 0.4.7?

Hi @kaynz , you probably don't want Infinity since this is a memory limit value for stderr/stdout coming from the child process and you probably don't want to soak up all the memory on your system if something goes awry.  The default (front NodeJS) is a respectable 200KB - if this is not enough, you may be better off piping it elsewhere (a file).  I'm going to be looking at these options in more detail soon -- do you have a specific use case I can verify against while testing?

Hi,
thanks for your quick response. I'm using grunt-exec for cordova build process automation. Especially the ios build process (cordova build ios --device) runs into the maxBuffer of 200kb.

You could try adding -ll error (log level) to the end of your cordova build command.  If that doesn't do it, try increasing the maxBuffer of grunt exec to something like 500*1024.  Are you using bash?  If so you might be able to append this to the end:  >| tee build.log which should overwrite build.log each time with the stdout from cordova as well as suppressing it from the child process stdout stream (untested).

Large maxBuffer sizes have been tested, better error handling added.


Fix/coverity issue 210504

Commit 1: Handle Uninitialized pointer field issue
Initialize pointer
resolve: 1227126
Signed-off-by: hyeonseok lee<EMAIL_ADDRESS>Commit 2: Handle Uncaught exception issue
Added try catch statement
resolves: 1143556, 1144840
Signed-off-by: hyeonseok lee<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #1164. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnstreamer.mooo.com/.


Add database option support for CRUD functions

distinct/find/insert_one/insert_many/delete_one/delete_many/replace_one/update_one/update_many/save_one/save_many including MongoCursors should support :database option to specify a database to talk with.

I'm going to be adding this as part of #69

See #79

This is still part of #93 btw.


Cannot add library to gradle

hi,
is it possible to add this to mavenCentral? i'm getting this error:
Failed to resolve: me.gujun.android:span:1.7
Affected Modules: app

Hello @AiraAng how did you fix it?


chore: bump eslint

Coverage remained the same at 100.0% when pulling a63749c4a8935453c38669b5f9cfba956c401ad7 on bump-eslint into 939206ce0cf43ec0411c4fcd3935822c84fccfae on main.

:tada: This PR is included in version 1.4.3 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Raster.ReadBlock returns a raster with erroneous bounds

This issue was imported from CodePlex
drmbongo wrote 2011-12-10 at 01:14
Raster.ReadBlock returns a raster in which the bounds width and height are reversed. The following code demonstrates this:
        //Load some global GeoTIFF
        DotSpatial.Data.IRaster rs = (IRaster)defaultManager.OpenFile(fileName);
        Console.WriteLine("Raster: {0} = {1}x{2}, {3}x{4} at {5},{6}", fileName, rs.Extent.MinX, rs.Extent.MaxY, rs.Extent.MaxX, rs.Extent.MinY, rs.CellWidth, rs.CellHeight);
    // Extract a chunk of the mediterranean
    Extent ext = new Extent(-1, 29, 17, 49);
    RcIndex posTL = rs.ProjToCell(ext.MinX, ext.MaxY);
    RcIndex posBR = rs.ProjToCell(ext.MaxX, ext.MinY);
    DotSpatial.Data.IRaster rsPart = rs.ReadBlock(posTL.Column, posTL.Row, posBR.Column - posTL.Column, posBR.Row - posTL.Row);
    // Save block to file
    rsPart.SaveAs(@"extracted block.tif");

    // Dump extracted block bounds - note that bounds width and height are reversed
    Console.WriteLine("Block {0}x{1}, {2}x{3}", rsPart.Bounds.Left(), rsPart.Bounds.Top(), rsPart.Bounds.Right(), rsPart.Bounds.Right());
    // Perform bounds-specific analysis to show that invalid bounds propagate
    DotSpatial.Analysis.ResampleCells.Resample(rsPart, 0.2, 0.2, @"resampled error.tif");

    // Reload the block from file
    rsPart = Raster.Open(@"extracted block.tif");
    // See? the bouds are now correct
    Console.WriteLine("Block {0}x{1}, {2}x{3}", rsPart.Bounds.Left(), rsPart.Bounds.Top(), rsPart.Bounds.Right(), rsPart.Bounds.Right());
    // Perform bounds-specific analysis to show that bounds are now correct
    DotSpatial.Analysis.ResampleCells.Resample(rsPart, 0.2, 0.2, @"resampled ok.tif");

drmbongo wrote 2011-12-10 at 01:18
Ok, saw the issue: in RasterT.cs, ReadRaster(xOff, yOff, sizeX, sizeY), change the line
        result.Bounds = new RasterBounds(sizeX, sizeY, aff);
into
        result.Bounds = new RasterBounds(sizeY, sizeX, aff);

That should do the trick.
Best,
Jeroen

No more actual, already fixed.


Maneuver data

Add support for maneuver data as requested in #5
For now, the time needed for the next maneuver burn is only computed based on the current stage (so if the maneuver needs to deplete the current stage, the computation will be off since it will not take into account the different burn time of the next stages).

Looks great!


Add external worker base manifest

This adds a base manifest to deploy external workers that are managed by a different BOSH than the concourse master. It was cumbersome to derive this from https://github.com/concourse/concourse-deployment/blob/master/cluster/concourse.yml removing a lot of things, so instead this is a new base manifest.
This is basically a new minimal incarnation of https://github.com/concourse/concourse-deployment/pull/16.

thanks!


[fix] the test suite.

Fixes #7

Thanks but there's not testing set up yet. Not sure this fix is helpful since it's not testing anything yet. I'd accept a testing script though, that can test all commands and make sure they are working fine.
Appreciate the effort.


Daily user activation

Users who signed up without OAuth2 should be prompted to activate before being able to login. This should involve an async (see @Async or another asynchronous Spring Boot system) communication to their email and an expiration for the activation link that will be sent. Add as well a procedure to silently delete all user data if its account does not get activated within a certain limit of time

Many things have been implemented to close this feature. The only missing part is the "Add as well a procedure to silently delete all user data if its account does not get activated within a certain limit of time" that will be subject for a new issue


feat(Logic/Small/Set): Small (Iic a) → Small (Ixx a), etc.

This allows showing that all intervals of e.g. ordinals or cardinals bounded above are small by only proving it for one of them.

I could also add the dual instances Small (Ici a) → Small (Ixx a), but this is probably not worth it if we don't have good concrete examples where it'd be useful.

I'm just trying to avoid code duplication. By the way, these lemmas can also be proved for the new type Nimber.

eh, fair enough.


fix #1641 swapped Guides and References

Summary
Swapped Guides and References on the Side Navigation.  Will comment if to see if Guides should be renamed to something else per issue #1641

Test plan
STR:

From local forked repo yarn start
Navigate to Top Nav > Docs
Inspect Side Navigation

ER:
Reference is the second menu item
Guides is below Reference
All items expand where relative
All links reference correct documentation
AR:
Expected results confirmed - Passed

A picture of a cute animal (not mandatory but encouraged)

Deploy preview for netlify-cms-www ready!
Built with commit 14f00a049ef4d016b583b88adad4432a51ccc8c5
https://deploy-preview-1797--netlify-cms-www.netlify.com

Deploy preview for cms-demo ready!
Built with commit 14f00a049ef4d016b583b88adad4432a51ccc8c5
https://deploy-preview-1797--cms-demo.netlify.com

Makes sense 👍


Investigate potential alternatives to NodeJS modules

Some of the libraries in this repository use NodeJS modules in their code.
These libraries are meant to be used either in a NodeJS app or in the browser.
When in browser the NodeJS modules used in the code must be replaced by polyfills. This used to be done automatically by bundlers such as webpack.
But since version 5, webpack doesn't replace by the polyfills anymore (intentionally). This must be done by the developer building its app.
Popular tools such as create-react-app embed webpack and hide its configuration, making dealing with the polyfills more difficult, having to use another tool like react-app-rewired to override the configuration.
To avoid such DX, it would be worth investigating where, in this repository, NodeJS modules are used, either directly or via the dependencies, and find potential alternative not relying on NodeJS module.

As a reference https://github.com/facebook/create-react-app/issues/11756#issuecomment-996464456


⚠ TiendaEnLinea has degraded performance

In a02ebc4, TiendaEnLinea (https://www.fahorro.com/) experienced degraded performance:

HTTP code: 200
Response time: 6510 ms

Resolved: TiendaEnLinea performance has improved in 25a5bd1.


Emoji's are not loading seems network issue.

Describe the bug
Emojis which was loading perfectly have stopped loading in our product, after debugging into this, found that svg request is pending from the server. Additionally when we ping the server that too failed.
ping twemoji.maxcdn.com
PING emoji.twemoji.netdna-cdn.com (<IP_ADDRESS>): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
To Reproduce
Steps to reproduce the behavior:
Just check if these links are resolved with emojis
https://twemoji.maxcdn.com/svg/1f604.svg
https://twemoji.maxcdn.com/svg/1f44d.svg
Expected behavior
Emoji's needs to be shown
Screenshots

Environment
Everywhere
Additional context
NA

Hi @sajus
I guess that your problem can be resolve with:
https://github.com/twitter/twemoji/issues/580#issue-1525852899

@rlocatelli9 , you are correct this seems issue with maxcdn.


Fix search suggestions

Fixes: #4133

Automated message from Dropbox CLA bot
@misteraverin, it looks like you've already signed the Dropbox CLA. Thanks!


fix(ui): unhid settings button

This change is

This will be resolved by #260. (Sorry!)

Actually just realized this is on calendar, and #260 doesn't uncomment out the settings buttons (although it should)


Some suggested enhancement requests for Katalon Recorder

Some UI suggestions for Katalon Recorder

Allow Test Suites to expand/contract in Katalon Recorder. This would make navigating through many open test suites and test cases much easier
Add a search option above the Test Suite navigation pane, to allow users to search for test suites and test cases they currently have open
For test suites either add a Save option (as opposed to SaveAs) and/or remember where the test suite file resides so the user does not have to navigate to their preferred storage location every time
When saving test suites save them as the Katalon Studio format by default. Obviously this comes with the overhead of having to make Katalon Recorder open those files without changing the nice and simple test case UI pane that users are presented with currently

In addition to Dave's excellent suggestions, I see that there are currently two/2 buttons to the right of the "Target" input field:

Select a target element for the current command
Find and highlight the curent target element of the current command

<Just realized that "curent" in the tooltip for the 2nd button above needs to be replaced with "current:>
In addition to those two/2 buttons, it would be great to have the ability launch (go to) that website; this could be done either by (a) hyperlinking the URL within the Target input box and/or (b) implementing a 3rd button for launching the website.

Allow Test Suites to expand/contract in Katalon Recorder. This would make navigating through many open test suites and test cases much easier.
Add a search option above the Test Suite navigation pane, to allow users to search for test suites and test cases they currently have open.

If i have time i like to make an attemt to implement above ⏫
⏬ Currently working on the following:

Fixing/improving some alignment/layout issues.
Adding a dark mode based on prefers-color-scheme.


v0.10.1: Consider removing transform-react-remove-prop-types mode of 'wrap'

Reproduction demo

Firstly I'd like to thank you for this library and Popper.js.
I'm currently trying to get this working in a ClojureScript app and I'm having some real difficulties getting Closure Compiler not to strip the process.env variable in it's advanced optimization mode. It's a bit of a pain but I've managed to isolate the need for the process var down to this dependency. As far as I can tell the wrap mode is not the default configuration for this reason:

The wrap modes are targeting React libraries like material-ui or react-native-web. They are not intended to be used by application authors.

plugin docs

Steps to reproduce the problem

Install this library and import/require it into a React project
Build the project in production mode and access it in a browser
See that the browser throws an unhandled exception of process not defined unless process is explicitly provided (as is done in the v0.x CodePen template)

What is the expected behavior?
Ideally not to have a dependency on window.process.env in either development or production builds
What went wrong?
I think this could easily be solved by removing , { mode: 'wrap' } from rollup.config.js.
Any other comments?
I'm happy to raise a PR for this if you would be happy to consider it.
Packages versions

Popper.js: any
react-popper: v.0.10.1

0.10.1 is mostly maintenance only at this point. Most of the consumers prefer to have a good DX rather than the ability to run the unminified package in the browser.
I'd rather keep the things as they are, feel free to switch to the 1.x branch, it's stable at this point.

Only problem, is that the process does exist within the minified version, e.g.
grep process dist/react-popper.umd.min.js => k.propTypes='production'===process.env.NODE_ENV?{}: ...

Thanks for pointing it out, please feel free to send a PR to strip it out from the minified build if you have some time to allocate to it. Thanks! 🤩

Will do, thanks 👍

Ok, there's a bit of Yak shaving going on now. I've made the change but the babel plugin is not removing propTypes from the stateless functional components - I've raised this issue with babel-plugin-transform-react-remove-prop-types

@nijk The process.env part should get removed completely. That's definitely a bug. Webpack has the DefinePlugin which handles that. Not sure how it's being built here but those comparisons should be removed from all production builds 100%.
The original intent for getting babel prop-types in the build was just to reduce any hard dependency on prop-types in the production distribution builds, which contrary to the statement above, is being used by a lot of our Reactstrap users (As we've specifically pointed to this in our Readme to use a light version of Reactstrap with optional dependencies).
Keep us posted what you find and thanks for helping get the builds sorted out.

Thanks @virgofx, it's a pleasure :)
This library uses rollup rather than webpack. My understanding is that the DefinePlugin allows to to inclusion of global vars at compile time as opposed to the removal or references in the code, as such process.env would exist in the code and the JS interpreter would not throw a undefined var error.
The issue at play here should be solved if the maintainers at babel-plugin-transform-react-remove-prop-types can provide a fix to the propTypes default behaviour of { mode: 'remove' } for the functional components. I've not heard anything from them yet, but once I do I'll either raise a PR that fixes the issue or post back here with reasons as to why it can't be fixed.

Server side rendering is broken actually with the new UMD build
 Manager.propTypes = process.env.NODE_ENV !== "production" ? {
Need to fix this.


Memory Stream - File Stream (win/lin) - HTTP Request / Response - Updates

Adding:

File Stream for Linux and Windows.  Customer is responsible for opening the file to get a handle. Then we use that handle to construct the BodyStream for the File.  See the basic example on how to use it on sdk/Samples/azure_core_with_curl_bodyBuffer.cpp  (it is currently only running a File Stream test)

Memory Stream

Removing the memory stream that holds a vector within. We don't need to have such a stream.

Keeping only Memory stream that works with a ptr and size

The programming model needs to be adapted to avoid using "constructRequest / CreateRequest" methods where the body content is created and expected to be moved to the memory stream. Instead, create the body content in the same method where the request will be sent to keep the body content in stack. (See the change - examples I made to blob_rest_client.hpp)

Adding static methods for reading memory stream.

// Will loop reading from body until buffer is filled up to count bytes OR until the end of body content
static int64_t ReadToCount(Context& context, BodyStream& body, uint8_t* buffer, int64_t count);

// Will loop reading and inserting bytes into an std::vector<> until the end of body content
static std::unique_ptr<std::vector<uint8_t>> ReadToEnd(Context& context, BodyStream& body);

HTTP Request is updated in this PR to avoid owning the body stream. This is a proposal to make Request have a ref BodyStream& so the customer/convenience layer can keep the body stream ownership instead of moving it to the request. Allowing a customer to reuse a unique_ptr.

Note: Storage cmake project is currently disabled because it need to be updated on top of Core Changes.  Please have it enabled by updating CMakeLists.txt upon fixing breaking changes.

Note2: I am still working on adjusting the internal implementation of the libcurl transport to be fully function with this latest changes.  However, the signatures won't change, so please start fixing breaking changes to Storage client

Fixes: https://github.com/Azure/azure-sdk-for-cpp/issues/198
Fixes: https://github.com/Azure/azure-sdk-for-cpp/issues/195
Fixes: https://github.com/Azure/azure-sdk-for-cpp/issues/194
Fixes: https://github.com/Azure/azure-sdk-for-cpp/issues/96

@vhvb1989 BTW, are the remaining two bugs in #198 also fixed in this PR? Because they are still blockers for storage team.

are they the 9 and 10?   Added info about them.
Let me know if there is something else?
I am seeing a seg fault right now, I will fix it here

if there is something

9 and 11, I struckthrough the ones that have been fixed.

I am seeing a seg fault right now, I will fix it here

You don't need to fix crashes in storage code, we can take care of that. You only need to ensure there's no crash in core code.

@JinmingHu-MSFT , yes, 9 and 10 are fixed.
And the seg fault was an error in the sample test cases. I have fixed.
I was getting the hang while reading and found the root cause. I have tested Core transport implementation with the samples I have and it is working fine with the changes on this PR.
Please fix Storage Code whenever possible
About the BodyStream Reference.  Core team will come to a final decision about this tomorrow.  (I will update PR after that)

@vhvb1989 I've fixed everything in Storage Blobs Service, @katmsft will fix DataLake service. However storage unittests still cannot pass. Some of the bugs in core code haven't been fixed yet, and some new ones are introduced in this PR.
@katmsft I disabled datalake build. https://github.com/Azure/azure-sdk-for-cpp/blob/74c84147c5b8d673ecddb58926704ae92ed49ea5/sdk/storage/CMakeLists.txt#L78 https://github.com/Azure/azure-sdk-for-cpp/blob/74c84147c5b8d673ecddb58926704ae92ed49ea5/sdk/storage/CMakeLists.txt#L83 https://github.com/Azure/azure-sdk-for-cpp/blob/74c84147c5b8d673ecddb58926704ae92ed49ea5/sdk/storage/sample/CMakeLists.txt#L11

@vhvb1989 There's only 1 bug left unfixed in https://github.com/Azure/azure-sdk-for-cpp/issues/198. After fixing that one, blob unit tests can pass.
Although I did see some flaky crash, but i'm not going to make big deal out of it. We can fix that later.

storage unit tests passing:

@JinmingHu-MSFT , please approve changes to merge this PR.


Revert pr 1274

New Pull Request Checklist

[x] I have read and understood the CONTRIBUTING guide

[x] I have read the Documentation

[x] I have searched for a similar pull request in the project and found none

[x] I have updated this branch with the latest master to avoid conflicts (via merge from master or rebase)

[x] I have added the required tests to prove the fix/feature I am adding

[x] I have updated the documentation (if necessary)

[x] I have run the tests and they pass

[x] I have run the lint and it passes (pod lib lint)

Pull Request Description
Please revert PR #1274 because it was not very well discussed. Can we reproduce that "DDFileLogger: Failed to synchronize file: nil" log? Is it occurring in the "@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)" branch of the code?
I prefer to have a log with nil error showing that something went wrong rather than silently ignoring the failed status returned by -synchronizeAndReturnError: method.
Moreover the PR broke -lt_maybeRollLogFileDueToSize: method if the returned status of -getOffset:error: method is false but error is nil: fileSize will be undefined in that case.
Lastly, I have fixed -createNewLogFileWithError: method since error parameter is nullable.
Regards

@jcbertin To answer one of your question: We've seen these logs as well. I'm assuming that these methods might sometimes return false even though nothing went wrong. However, I didn't check how they're annotated for Swift throws conversion. It might be, that Swift simply checks the error pointer for failure and ignores the return value. Didn't have the time so far.
Another case for some of these logs happening was, when the file no longer existed for some reason. Those logs weren't a big deal for us, but did indeed also raise questions in the team whether something was wrong.

I can assure you that returned boolean is more significant than the error i.e. if a method returns false, it means a real failure even if error is nil. So removing logs if return value is false and error is nil will mask real failures to the user which I want to avoid.

Yea, seems to be the case in the two methods I checked now. Both have no swift_error annotation - thus get the default behavior where the result is checked and the error force-unwrapped.


Fix crash with empty style attr

fixes #158

I will be renaming after releasing this patch.

Thank you for checking this PR! I added a test for attributes without equal and modified the source code.


Restrict search to specific languages?

https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/multilingual-search/#option-2-each-record-contains-all-languages

Already the case.

Already the case.


Remove compat namespace and its contents

Use standard library functionality where applicable (thread, mutex, condition_variable), and move the rest to the util namespace (barrier).
Trying my luck with this one. The only reason I can see for not removing this is that we didn't officially deprecate it. There are still some places that use functionality from Boost.Threads explicitly. One of them is https://github.com/STEllAR-GROUP/hpx/blob/bc423e98065c34db0d5ae5455f79f6b15c0ab0e1/plugins/parcelport/unordered_map.hpp#L43-L44 which we could get rid of if we drop C++11. Another is the fallback implementation for thread_specific_ptr which is off by default. The rest seem to be in tests using either thread_specific_ptr or again boost::shared_lock which could be removed if we drop C++11.
Note: I'm not suggesting we drop C++11 right now, just sometime pretty soon.

Only  the verbs parcelport uses the map and we might want to just dump the verbs PP. Unfortunately, we might not be able to run the libfabric PP on top of verbs because the verbs provider for libfabric doesn't support FI_SOURCE which we use (see https://github.com/ofiwg/libfabric/wiki/Provider-Feature-Matrix-master for info).
It should be possible to run one of the libfabric RXD utility providers on top of the verbs provider to get FI_SOURCE but I have not tried o tested this. If it works, then we do not need the verbs PP any more and we can do a big cleanup/purge. I will investigate this further.

Note: I'm not suggesting we drop C++11 right now, just sometime pretty soon.

I hope we will never 'drop' C++11 as such (would I be allowed to use a for loop in that case?)
We should be more careful in formulating this as 'Unconditionally assuming for all of C++14 to be available', instead.

Note: I'm not suggesting we drop C++11 right now, just sometime pretty soon.

I hope we will never 'drop' C++11 as such (would I be allowed to use a for loop in that case?)
We should be more careful in formulating this as 'Unconditionally assuming for all of C++14 to be available', instead.

You're right. "Require C++14 support" is exactly what I mean by this.

What's the opinion on this now?
Note that the comment about requiring C++14 was just a possible next step. This PR does not make C++14 a requirement. It just replaces the compat features with equivalent std features which are in C++11. What's not clear to me if something somewhere still requires the compatibility layer.

I'm going to interpret silence on this one as acceptance. Will merge in the next few days if no-one objects.

@khuck IIRC, APEX needed Boost.Thread on some platforms at some point. Is that still true?

@hkaiser We only use boost/assign.hpp with HPX, and boost/regex.hpp on Intel MIC (i.e. Cori), because the intel compiler was missing std::regex support.  No use of boost threads


helm: PodSecurityPolicy management regression

I was looking to upgrade to a more recent version of the helm chart but it looks like there is a regression which occured with the v1.9.0-rc1. (Related to the refactoring of the chart implementation I assume https://github.com/cilium/cilium/pull/13259).
From this version, we cannot dynamically create the pod security policies as part of the chart. This feature was originally introduced by https://github.com/cilium/cilium/pull/10330 and received several contribution afterwards.
I could not find any deprecation notice for it, I assume this is a mistake? 🤔

@mvisonneau see https://github.com/cilium/cilium/pull/12469

ah great thank you @aanm! 🙇 my bad, will close this then 👍


feat/semantic_release: update changelog programmatically

This PR implements the library semantic-release solely to update the changelog, in the hopes of eliminating branch conflicts in pull-requests related to the changelog.  We could also update the release process to use semantic release, but I think that currently out-of-scope.

I've multiple projects also handling the release with semantic-release and it works great. But handling the Changelog is awesome anyway. Just make sure to properly name the commits when merging! Maybe squashing is also necessary?

@KiwiKilian, can you take a look at this?  I'd love to get automatic releases.

Will do!

Closing in favor of #526


typo in installation docs

brew install brew install i386-elf-binutils i386-elf-gcc i386-elf-gdb
should be
brew install i386-elf-binutils i386-elf-gcc i386-elf-gdb

Thanks, fixed


Domains import mapper

In addition to the domains import mapreduce job, I have made changes to the hosts and contacts import. This was necessary due to the fact that the domains import mapper has introduced some breaking changes to these jobs.

Any other feedback on this PR? I have another one ready to go that depends on it :)

@goldfeder I believe all of the last round of comments have been addressed

LGTM

Don't close it quite yet; we haven't imported it.

@CydeWeys let me know if anything else needs updated.

This has been merged.


Livestreamer dont open vlc

I'M now trying to save some streams from ustream in my 2009 hp probook laptop with xp, and when i set all and hit Start only this is showing:
LOG: Microsoft Windows XP [Wersja 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Program Files\VideoLAN\VLC>http://www.ustream.tv/channel/novorossiatv
[cli][info] Found matching plugin ustreamtv for URL http://www.ustream.tv/channel/novorossiatv
[cli][info] Available streams: 720p+ (worst, best)
[cli][info] Opening stream: 720p+ (uhs)
and nothing/anything more

@xpatryk89 Livestreamer is deprecated use https://github.com/streamlink/streamlink instead


Documentation improvements to Batch Swagger spec

Generated from RestAPI PR: https://github.com/Azure/azure-rest-api-specs/pull/692

@annatisch Same question here:

Autorest 1.0 ok?
When to release?

Thanks!

@matthchr, can you confirm that this spec is stable to publish from?
It looks to be 90% documentation changes.
Was there a specific need to add default values to maxresults and returnClientRequestId? It means these now get set for every request... but I guess it's not a breaking change, I'll just have to re-record the tests.
The only other change that seemed strange is this:
https://github.com/Azure/azure-sdk-for-python/pull/877/files#diff-8e3830e968cf0a5fa1f24171f3fea1d0
Where two additional parameters have been added to jobSpecification for auto-complete. Was this an omission in the spec? Or was it a fault in the earlier Python generator?
The rest of the updates look good to me. :)

@annatisch This is definitely 90+% documentation changes.
For the addition of default - there was no explicit need, but it was requested by Amar... maybe we should discuss it.
The other change is something Ivan noticed we omitted earlier, so he added it.

@lmazuel - We've just had a chat about this and we're going to hold off merging while we discuss I wider Autorest convention for handling server defaults in the client.

Current coverage is 56.62% (diff: 90.47%)

No coverage report found for dev at c935132.

Powered by Codecov. Last update c935132...1ec363e


FI-1542: Format JSON requests as pretty printed documents

inferno-program did this formatting to make it readable rather than a single line of JSON
JSON parsing and pretty printing based on the response headers
leaving HTML alone, HTML likely has whitespaces already
added tests
some good manual tests are in the demo suite:  3.1.18 is HTML, 3.1.16 is JSON

Related onc-healthit/onc-certification-g10-test-kit#106
Formatted HTML
(this is unchanged, just showing no regression)

JSON
Versus the single line in the linked issue.

Codecov Report

Merging #177 (b4702b9) into main (065cdab) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #177   +/-   ##
=======================================
  Coverage   93.88%   93.88%
=======================================
  Files         110      110
  Lines        2796     2796
=======================================
  Hits         2625     2625
  Misses        171      171

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 065cdab...b4702b9. Read the comment docs.

I don't know why github closed this on push.


Usage question: where should the plugin be put in the configuration?

In my forgetti-loader's README, I mention that forgetti-loader should be put in a way that forgetti is executed before JSX transformation. But I am wondering if it is correct or not.

It honestly can be put in either way, but I would recommend it putting before the JSX transform happens.

It honestly can be put in either way, but I would recommend it putting before the JSX transform happens.

There is a babel plugin @babel/plugin-transform-react-constant-elements that does this:
// In
const Hr = () => {
  return
;
};

const WithChildren = (props) => {
  return

;
}

// out
var _hr, _hr2;

const Hr = () => {
  return _hr || (_hr =
);
};

const WithChildren = (props) => {
  return

    {_hr2 || (_hr2 =
)}

;
}

I am wondering if I put it after the JSX transform could achieve the same result (caching _jsx calls).

It can cache either JSX itself or the transforms, which is why it doesn't matter.

It can cache either JSX itself or the transforms, which is why it doesn't matter.

Thanks!

... but I would recommend it putting before the JSX transform happens.

So is there any reason for that?

So is there any reason for that?
because some frameworks handles the JSX transform itself that it isn't really the same as the normal JSX. Million is a good example.


xxx: :memo: Update README

Codecov Report

Merging #878 (d22e1c0) into main (396efe3) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main      #878   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           11        11
  Lines           55        55
  Branches         9         9
=========================================
  Hits            55        55

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


Make RazorProjectService async

This change refactors the RazorProjectService to be async, removing its dependency on ProjectSnapshotManagerDispatcher.

I woke up this morning, saw you'd closed the other misc project PR, and thought "no way!". Checked this PR, and yep, there is a commit for making the document context factory async. You really went and did it. Awesome work!


Update youtrack extension: add 'Create Issue' command

Description
Add a new 'Create Issue' command which allows one to create a new issue with minimal number of fields. Once created user can open new issue or copy its URL.
Command settings:

Project selector: favorites or browse all
List of favorites
Copy url: as plain text or markdown
Number of maximum projects returned

Changes

Moved 'Browse Issues' preferences from global to per-command scope

FIxes https://github.com/raycast/extensions/issues/10220
Checklist

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

Thank you @pernielsentikaer!
I think I found the last missing piece: the command does not fire showHUD on the copy to clipboard action. I will add it right away.

Is this ready now @skoch13 🙂


⚠ ClamAV has degraded performance

In 19f24c4, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 137 ms

Resolved: ClamAV performance has improved in 5448d43.


Switch controller bug

Coverage increased (+0.001%) to 92.83% when pulling 04f179c12a50b0bc6f5419caef400f471e4a1a57 on switch_controller_bug into a27934af22bc9e09e21258d4a8d0e574ceddea5f on dev.


FTL schema area needs to have a max width

The large "calls" list expands the surrounding element and squashes the UI.

Worked around it by wrapping server side, but we should still fix this on the client.


Infinitely long loading in dev mode with hot-reload rc2

When i use the dev command, nuxt builds complete, but then the server seems to not start. evrything just freezes. I have fixed the alias problem and the new constructor stuf.
Does anyone have the same problem? If i use build command and then use start, all is ok. But dev is broken?
Thanks! :)

my server looks like this,
const app = require('express')()
const { Nuxt, Builder } = require('nuxt')
const host = process.env.HOST || '<IP_ADDRESS>'
const port = process.env.PORT || 3000
// Import and Set Nuxt.js options
let config = require('./nuxt.config.js')
config.dev = !(process.env.NODE_ENV === 'production')
const nuxt = new Nuxt(config)
// Start build process if
if (config.dev) {
const builder = new Builder(nuxt)
builder.build()
}
// Give nuxt middleware to express
app.use(nuxt.render)
// Start express server
app.listen(port, host)
console.log('Server listening on ' + host + ':' + port)
https://github.com/nuxt/nuxt.js/blob/dev/examples/custom-server/server.js

try this https://github.com/nuxt-community/express-template/pull/61/files

i still have to use the Builder(nuxt).build right? if i try nuxt.build() i get an error. // : nuxt.build is not a function

im totally confused now :(

Example has been updated, it works perfectly with rc3:
cd examples/custom-server/
npm install
npm run dev

Go to http://localhost:3000

Since it's not official yet, prefer to use alpha5 or 0.10

ok, thanks. But the problem is still there in my project after rc3 and with youre example server :(
i think i will just wait

I'm not sure to understand, the project works perfectly on my end.
Do you have a reproduction repo?


ja: Make docs/tutorials/kubernetes-basics/scale/scale-intro.html follow v1.18 of the original text

This is a Feature Request

What would you like to be added
Update docs/tutorials/kubernetes-basics/scale/scale-intro.html to follow v1.18 of the original (English) text.
Why is this needed
content/ja/docs/tutorials/kubernetes-basics/scale/scale-intro.html is outdated.
Comments
/language ja
/good-first-issue
File to update
https://github.com/kubernetes/website/blob/dev-1.18-ja.1/content/ja/docs/tutorials/kubernetes-basics/scale/scale-intro.html
Original
https://github.com/kubernetes/website/blob/fb6364d/content/en/docs/tutorials/kubernetes-basics/scale/scale-intro.html
diff between translated and v1.18
https://gist.github.com/4623575cb26747dec98dfab060a50661
Note
Currently, we use dev-1.18-ja.1 branch. Please open a PR targeting the branch.
ref
https://kubernetes.io/ja/docs/contribute/localization/
If you have a question, feel free to ask us at slack.k8s.io #kubernetes-docs-ja channel.

/assign

/close


Implement common and absolute symbols for ELF and Mach-O

Also hopefully fixes address calculations for BSS sections in Mach-O.
write::Object will probably also need an add_common_symbol method so code generators can handle the differences between ELF and Mach-O (and COFF, which I have no idea about yet), but that's not needed for objcopy, so leaving that until someone needs/tests it.
Closes #149, closes #158
cc @jayvdb

Sorry - just saw this now.  I'll test it now.

It worked very well for my black box tests (before f6b0e96 was added) on both Linux and macOS.

Ok great, thanks for testing, f6b0e96 won't affect objcopy. I'll add COFF common symbol support to this PR too, but that's not going to fix the COFF COMDAT errors.

No worries about the COFF COMDAT error; I have a workaround for that.

Not sure if this is related, but now I am seeing the following on Windows

2019-11-30T05:58:34.6265950Z           libpyembed-ef04ba7afc246c33.rlib(simplejson._speedups.0.o) : fatal error LNK1220: 'resolving static reference symbol' requires '/WOWA64' specification

I will investigate more.

Yeah I don't have much confidence in COFF objcopy yet, but I'll work on improving it.

127a2f5 fixed the problem I was encountering with Windows.
I'll do some more deeper tests.

Rewriting for simplejson._speedups works again.
I still have a problem when renaming gevent._queue's PyInit_.. on Windows, but that has never worked. My workaround of renaming stdlib _queue's PyInit_.. still works if I use /FORCE:MULTIPLE.  So I am not seeing any regression on Windows now, and now Linux and Mac work for gevent without any hacks. :+1: all good

Ok I'll merge this tomorrow and do the COFF COMDAT in another PR.


Extended block collection

Summary
This PR extends the functionality of the BlockCollector class, replacing the previous PR #11614. The key new feature is that the check whether a node should be added to the current block may now depend both on the filter_fn (which specifies which nodes should be collected) and the block collected so far. The logic of the StarPreRouting pass has been simplified to use the
BlockCollector functionality instead of essentially implementing this in-place. In addition to avoiding code duplication, this also allows to extend the StarPreRouting pass with additional options such as using DAGDependency dag representation or collecting star-shaped blocks nodes from the back of the circuit (this is not done in this PR since it requires #12418). Note that for StarPreRouting the logic of whether a node can be added to the block collected so far depends on the block, i.e. whether it remains star-shaped.
The new class Block defines the abstract API that a block class should satisfy in order to use it for block collection. The main method is append_node which specifies whether a node can be added to the current block. The method size returns the size of the block which is useful when filtering blocks based on the min_block_size argument. The method get_nodes is primarily needed for backwards compatibility and should return the list of nodes in the block (however it would not be called when using block collection with a specified block class). The method reverse needs to be implemented to support collecting nodes from the back of the circuit. The method split needs to be implemented to support splitting collected blocks into smaller sub-blocks.
The new class DefaultBlock implements the simple functionality that can be used when the decision of whether to add a node in the current block only depends on filter_fn and not on the block collected so far.
The block collection class and functionality are backward compatible, any code that worked before should remain working. (This is why collect_all_matching_blocks returns a list of blocks where each block is either a subclass of Block or a list of nodes). However, the previously public methods collect_matching_block and collect_all_matching_blocks in StarPreRouting were completely removed (making this specific change not backward-compatible). It was an oversight to make this methods public in the first place, and unfortunately these methods don't make much sense outside of BlockCollector.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

79 of 86 (91.86%)  changed or added relevant lines in 2 files are covered.
15 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.007%) to 89.576%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit/transpiler/passes/routing/star_prerouting.py
14
15
93.33%

qiskit/dagcircuit/collect_blocks.py
65
71
91.55%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/lex.rs
1
92.88%

qiskit/transpiler/passes/synthesis/unitary_synthesis.py
2
88.2%

crates/qasm2/src/parse.rs
12
97.15%

Totals

Change from base Build<PHONE_NUMBER>:
-0.007%

Covered Lines:
62354

Relevant Lines:
69610

💛  - Coveralls

Sorry for the late reply. I think at this point it is better to merge #12761 first, and then to think how to best make use of the extended block collection class within StarPreroute. So for now I have reverted the changes to the StarPreroute pass (and updated the release notes accordingly), see 1a5ef91.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

55 of 56 (98.21%)  changed or added relevant lines in 1 file are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.03%) to 89.951%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit/dagcircuit/collect_blocks.py
55
56
98.21%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/lex.rs
4
92.37%

Totals

Change from base Build<PHONE_NUMBER>1:
0.03%

Covered Lines:
66014

Relevant Lines:
73389

💛  - Coveralls

Hi @henryzou50, can you please take another look at this PR and see what's missing? Thanks!


[Question] Load image batch sorting dont work

How can I load a folder of images, and that it keep the order?

I have this config

but the problems is that the image generator dont have sense, it looks like Random generator, i have it in incremental
how can i do send me the imagenes by name order?
Please help! Thank u very much

Not sure. I didn't have issues with incremented file, and that's exactly what the code does in general with the list:
            self.load_images(directory_path, pattern)
            self.image_paths.sort()

Which sorts the list lexicographic, regardless of the mode it's on.

Same problem, it doesnt seem to sorts.
In my folder it is :

But when i use Load Image Batch with the follwoing workflow:

I could see from the  Show Text node that it wasnt in the order. It is strange.
BTW, what does "label" mean and how does it influence the output? I did modify it but nothing happened.

I can't reproduce the issue. The class sorts the list explicitly, and that sorting is lexicographic, the same as say Windows File Explorer you take pictures of.
Here's an example of incrementing, and single index:
https://github.com/WASasquatch/was-node-suite-comfyui/assets/160535949/f626c3d8-45dc-45e0-b33e-3aaee5cbccac


GDExtension: Prevent crash during shutdown as singletons are deleted

This issue was reported by @mihe on this comment
Marking as draft, because I haven't yet managed to reproduce the issue personally, so I don't know if this fixes it.

@mihe says this fixed it for him above, so I'm taking it out of draft.

Thanks!


How to build data?

The paper provides datasets to readers,while it doesn't tell us how to build data.For example,I want to imitate the format of MSVD to build my own data. I have raw videos and annotations of MSVD,but I don't know the methods to process the data.Colud you tell us how to process  data?Thanks a lot!

I have the same problem. I have checked the most of the extracted data, but still don't know what's the actual meaning or how it was extracted.

Any solutions?
---Original---
From: @.>
Date: Fri, May 5, 2023 09:30 AM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [MarcusNerva/HMN] How to build data? (Issue #25)
I have the same problem. I have checked the most of the extracted data, but still don't know what's the actual meaning or how it was extracted.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Added CachyKit- Cache Library with expiry date

Able to cache AnyObject after fetching from server or internally with expiry date for individual objects
Project URL

https://github.com/Sadmansamee/CachyKit
Category

Cache
Description

A Caching Library is written in Swift that can cache JSON, Image, Zip or AnyObject with expiry date and force refresh.
Why it should be included to awesome-ios (mandatory)
It's nicely written library and being maintained regularly, and library with these aren't available in Awesome-ios yet
Checklist

[ ] Has 50 GitHub stargazers or more
[ x] Only one project/change is in this pull request
[ x] Isn't an archived project
[ ] Has more than one contributor
[ ] Has unit tests, integration tests or UI tests
[ x] Addition in chronological order (bottom of category)
[x ] Supports iOS 9 / tvOS 10 or later
[ x] Supports Swift 4 or later
[x ] Has a commit from less than 2 years ago
[x ] Has a clear README in English

          1 Warning

:warning:
Found 21 link issues, a project collaborator will take care of these, thanks :)

Link issues by awesome_bot

Line
Status
Link

264
301
https://github.com/saksdirect/route-composer redirects tohttps://github.com/ekazaev/route-composer

412
301
https://github.com/CoreCharts/CoreCharts redirects tohttps://github.com/cagricolak/CoreCharts

502
301
https://github.com/arikis/Overdrive redirects tohttps://github.com/saidsikira/Overdrive

613
301
https://github.com/alexdrone/Dispatch redirects tohttps://github.com/alexdrone/Store

947
301
https://github.com/kean/Yalta redirects tohttps://github.com/kean/Align

1293
301
https://github.com/JustHTTP/Just redirects tohttps://github.com/dduan/Just

1623
404
https://www.adobe.io/apis/creativecloud/creativesdk.html

1627
404
https://www.goprimer.com

1954
301
https://github.com/yahoo/YangMingShan redirects tohttps://github.com/YahooArchive/YangMingShan

2018
301
https://github.com/applidium/ADOverlayContainer redirects tohttps://github.com/applidium/OverlayContainer

2061
301
https://github.com/alaphao/LLSpinner redirects tohttps://github.com/alephao/LLSpinner

2410
301
https://github.com/initFabian/Cely redirects tohttps://github.com/cely-tools/Cely

2453
301
https://github.com/Sufi-Al-Hussaini/Swift-CircleMenu redirects tohttps://github.com/hu55a1n1/Swift-CircleMenu

2988
301
https://github.com/blender/Rome redirects tohttps://github.com/tmspzz/Rome

3023
301
https://github.com/tumblr/SwiftCompilationPerformanceReporter redirects tohttps://github.com/TumblrArchive/SwiftCompilationPerformanceReporter

3111
301
https://try.crashlytics.com/ redirects tohttps://firebase.google.com/products/crashlytics?utm_source=crashlytics_marketing&utm_medium=redirect&utm_campaign=crashlytics_redirect

3219
301
https://code.fb.com/category/ios/ redirects tohttps://engineering.fb.com/category/ios/

3222
Error
https://www.shinobicontrols.com/blog/ios-10-day-by-day-index/  Failed to open TCP connection to www.shinobicontrols.com:443 (Connection refused - connect(2) for "www.shinobicontrols.com" port 443)

3240
301
https://www.bignerdranch.com/blog/categories/ios/ redirects tohttps://www.bignerdranch.com/wp-content/uploads/2019/05/ios.jpg

3257
301
https://www.daddycoding.com redirects tohttps://daddycoding.com/

3324
301
https://www.bignerdranch.com/books/ios-programming/ redirects tohttps://www.bignerdranch.com/books/ios-programming-the-big-nerd-ranch-guide-sixth-edition/

  Generated by :no_entry_sign: Danger

@Sadmansamee We cannot merge your PR yet until you fill all of the contribution guideline requirements. Feel free to open PR once it is ready.
Please check our CONTRIBUTION GUIDELINES


feat: only show one of two tooltips for unknown gas

Description
Ensures "This is the estimated gas fee to complete this trade." does not get overlayed by "Continue swapping for final details"

Issue (if applicable)

closes https://github.com/shapeshift/web/issues/8250

Risk

High Risk PRs Require 2 approvals

What protocols, transaction types, wallets or contract interactions might be affected by this PR?

Testing

Preview a Portals rate
Ensure that when hovering over the gas icon / "(unknown)", the "This is the estimated gas fee to complete this trade." tooltip doesn't appear, only the former.

Engineering

^

Operations

[ ] :checkered_flag: My feature is behind a flag and doesn't require operations testing (yet)

^

Screenshots (if applicable)

develop

this diff

@0xApotheosis he klaim, he win https://github.com/shapeshift/web/pull/8290

Hahaha, nice diff - great minds ser


Fix undefined custom properties in reboot

Custom properties like
https://github.com/twbs/bootstrap/blob/master/dist/css/bootstrap-reboot.css#L16
are not available in reboot.

Nice catch!


Fix broken link to PanResponderExample.js

In recent change in 2f73ca8f7675977f839ad5bfcb5045ff33621803 all javascript files under UIExplorer were moved to js subfolders but PanResponderExample link wasn't updated accordingly.

By analyzing the blame information on this pull request, we identified @sebmarkbage and @sahrens to be potential reviewers.

Will close and re-open since this is accidently basing to facebook:0.29-stable and not master.


[Feature] Hotkey for "Show Info Pane"

Just as with:

Backlinks: Show backlinks pane
Tag pane: Show tag pane

can we have a "Show file info pane" hotkey?
The problem with the "Show/Hide File Info Panel" shortcut is that it hides first before it shows.  So sometimes I have to hit that shortcut once, sometimes I have to hit that shortcut twice, which isn't very consistent.  I just need a "Show" so I can be sure that the info shows up after one keystroke.

Fix coming in the next release (1.3). - you'll be able to assign your own hotkey to the new commands.


mavros can't communicate to jmavsim(DrTon version) on ubuntu 14.04 LTS

Hello developers of pixhawk:
Now, I try to use hil mode to test px4 hign level logic, so I want to use mavros and jmavsim together with pixhawk hardware to implement the test process, and monitor with QGC2.8.0
(1)  Firstly,  I use jmavsim and pixhawk without mavros, this process work successfully, I can use RC control pixhawk and fly in the jmavsim.
 (2)Secondly, I test connect pixhawk to mavros without jmavsim(I modify px4.launch as below two line shown
<arg name="fcu_url" default="/dev/ttyACM0:57600" />
<arg name="gcs_url" default="udp://:14556@<IP_ADDRESS>:14550" />)
   And this process work successfully too, because of no jmavsim paticipate in, so I can't watch how px4 fly ,Only could watch some message using QGC
    When i listen to the process usding"rostopic echo /mavros/imu/data" , I can see the data fresh on the screen.

 (3)Next, I want implent this structure
                              setpoint_demo.py(optional)
          QGC < - > ROS/Mavros < - > JMAVSim < - > Pixhawk(hardware)
  But , I meet a key problem, that is mavros can't communicate to jmavsim(DrTon version)
  when I input :

ubuntu@ubuntu-Aspire-VN7-592G:~/catkin_ws$  roslaunch mavros px4.launch
I use rostopic echo -n1 /diagnostics  on anthor console, MAVROS tell me no connection  * ~ *
MAVROS tell me below , can't  get heartbeat message, and wait forever
ubuntu@ubuntu-Aspire-VN7-592G:~/catkin_ws$  roslaunch mavros px4.launch
... logging to /home/peng/.ros/log/15efc30a-b1d0-11e5-9ba4-3065ec8cddd0/roslaunch-peng-Aspire-VN7-592G-12581.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://peng-Aspire-VN7-592G:53732/
SUMMARY
CLEAR PARAMETERS

/mavros/

PARAMETERS

/mavros/cmd/use_comp_id_system_control: False
/mavros/conn/heartbeat_rate: 1.0
/mavros/conn/system_time_rate: 1.0
/mavros/conn/timeout: 10.0
/mavros/conn/timesync_rate: 10.0

...
[ INFO] [1451794401.292824391]: Plugin vision_speed_estimate loaded and initialized
[ INFO] [1451794401.305226938]: Plugin waypoint loaded and initialized
[ INFO] [1451794401.305368425]: Autostarting mavlink via USB on PX4
[ INFO] [1451794401.305445442]: Built-in SIMD instructions: SSE, SSE2
[ INFO] [1451794401.305479635]: Built-in MAVLink dialect: ardupilotmega
[ INFO] [1451794401.305518167]: MAVROS started. MY ID [1, 240], TARGET ID [1, 1]
Can anyone help me!!! Thank you very much

I can make sure the target ID of mavlink on the pixhawk is the same with px4.launch of mavros

Please follow these instructions:
http://dev.px4.io/simulation-ros-interface.html
And make sure to use latest PX4 master.


Support for the Number type

Jackson allows you to marshal and unmarshal the Number type, while Spray JSON doesn't.

I recently came across the same stuff using Spray. Got a PR that works at least for my cases: https://github.com/spray/spray-json/pull/242


Memory leak on import (no GC even when out-of-scope)

Prerequisites
The issue tracker is used to report bugs and request new features, NOT to ask questions.
Questions should be posted in Discussions or to the users mailing list which can be accessed at
https://ironpython.groups.io/g/users.

[Yes; latest release 3.4.0] Are you running the latest version?
[I think so] Are you reporting to the correct repository?
[Yes] Did you perform a cursory search?

Description
Using IronPython 3.4.0 in a .NET Framework 4.6.2 project (x86 32-bit), a ScriptEngine, ScriptScope, and ScriptSource created in a new thread and are used to execute a CompiledCode object (also created in that thread).  When libraries or modules are imported via import, the memory used is not released when the thread terminates and garbage collection (GC) is run.  Starting a new thread with the same or different Python source that also imports will eventually lead to a System.OutOfMemoryException being thrown due to GC apparently not freeing the loaded modules or libraries.
Note: variables assigned during a script in this same situation will be GC'd; e.g.,
a = []
for n in range(0,52428800):
 a.append(n)

In this case, the memory used will be freed at some point after the thread terminates when GC runs, and no OutOfMemoryException is thrown.
Steps to Reproduce

Create a Python script that imports (best if large) libraries or modules.
Create a thread via System.Threading that creates a ScriptEngine, ScriptScope (using the script made in 1. as statements), and ScriptSource that are executed via CompiledCode when the thread is run.
Start the thread and wait for it to finish and terminate.
Start the thread again (and optionally, observe memory usage and note GC events).
Repeat 4. until the System.OutOfMemoryException is thrown.

Expected behavior: [What you expected to happen]
When the ScriptEngine, ScriptScope, and ScriptSource that are executed via CompiledCode in the thread go out-of-scope when the thread terminates, any memory allocated by those for imported libraries or modules should be eligible for GC.
Actual behavior: [What actually happened]
Memory allocated as a result of importing libraries appears to not be eligible for GC even though it goes out-of-scope when the thread terminates.
Versions
You can get this information from executing ipy -VV.
IronPython 3.4.0 (<IP_ADDRESS>0)
[.NETFramework,Version=v4.6.2 on .NET Framework 4.8.4515.0 (32-bit)]

It looks like it might be related to the importlib bootstrapping mechanism. For example, the following seems to leak memory quite quickly:
for (var i = 0; i < 10000; i++) {
    var engine = Python.CreateEngine();
    engine.Execute("class Test(object):\r\n    x = [0]*50000000\r\n    def __init__(self):\r\n        pass\r\n\r\nTest()");
    Console.WriteLine(GC.GetTotalMemory(true));
}

whereas the same without the importlib does not appear to leak:
for (var i = 0; i < 10000; i++) {
    var engine = Python.CreateEngine(new Dictionary<string, object> { { "NoImportLib", true } });
    engine.Execute("class Test(object):\r\n    x = [0]*50000000\r\n    def __init__(self):\r\n        pass\r\n\r\nTest()");
    Console.WriteLine(GC.GetTotalMemory(true));
}

Maybe related to https://github.com/IronLanguages/ironpython2/issues/83.


Drawn Borders

I added the drawn borders. I went ahead and added an example of using them since I thought people might not necessarily connect getting a hand-drawn effect with applying a border radius. For the tests, I just changed the numbers until they worked 😅

available in v1.7.4 🎉


Docker container crashes immediately after run was called

I tried to run the docker container as described in the docs and it crashes immediately after the run command was executed (see full error log below).
My system is using old-fashioned docker-machine running on Mac OS 10.10.5 instead of the newer docker versions. docker version tells the following:

Client:
Version:      1.12.2
API version:  1.24
Go version:   go1.6.3
Git commit:   bb80604
Built:        Tue Oct 11 17:00:50 2016
OS/Arch:      darwin/amd64
Server:
Version:      1.12.2
API version:  1.24
Go version:   go1.6.3
Git commit:   bb80604
Built:        Tue Oct 11 17:00:50 2016
OS/Arch:      linux/amd64

The full error log as output by docker logs <container_name> shows an PermissionError as given per:
Traceback (most recent call last):
  File "/opt/conda/lib/python3.5/site-packages/traitlets/traitlets.py", line 526, in get
    value = obj._trait_values[self.name]
KeyError: 'runtime_dir'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/conda/bin/jupyter-notebook", line 6, in <module>
    sys.exit(notebook.notebookapp.main())
  File "/opt/conda/lib/python3.5/site-packages/jupyter_core/application.py", line 267, in launch_instance
    return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
  File "/opt/conda/lib/python3.5/site-packages/traitlets/config/application.py", line 652, in launch_instance
    app.initialize(argv)
  File "<decorator-gen-7>", line 2, in initialize
  File "/opt/conda/lib/python3.5/site-packages/traitlets/config/application.py", line 87, in catch_config_error
    return method(app, *args, **kwargs)
  File "/opt/conda/lib/python3.5/site-packages/notebook/notebookapp.py", line 1140, in initialize
    self.init_configurables()
  File "/opt/conda/lib/python3.5/site-packages/notebook/notebookapp.py", line 901, in init_configurables
    connection_dir=self.runtime_dir,
  File "/opt/conda/lib/python3.5/site-packages/traitlets/traitlets.py", line 554, in __get__
    return self.get(obj, cls)
  File "/opt/conda/lib/python3.5/site-packages/traitlets/traitlets.py", line 533, in get
    value = self._validate(obj, dynamic_default())
  File "/opt/conda/lib/python3.5/site-packages/jupyter_core/application.py", line 99, in _runtime_dir_default
    ensure_dir_exists(rd, mode=0o700)
  File "/opt/conda/lib/python3.5/site-packages/ipython_genutils/path.py", line 167, in ensure_dir_exists
    os.makedirs(path, mode=mode)
  File "/opt/conda/lib/python3.5/os.py", line 231, in makedirs
    makedirs(head, mode, exist_ok)
  File "/opt/conda/lib/python3.5/os.py", line 231, in makedirs
    makedirs(head, mode, exist_ok)
  File "/opt/conda/lib/python3.5/os.py", line 241, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/home/jovyan/.local/share'
Traceback (most recent call last):
  File "/opt/conda/lib/python3.5/site-packages/traitlets/traitlets.py", line 526, in get
    value = obj._trait_values[self.name]
KeyError: 'runtime_dir'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/conda/bin/jupyter-notebook", line 6, in <module>
    sys.exit(notebook.notebookapp.main())
  File "/opt/conda/lib/python3.5/site-packages/jupyter_core/application.py", line 267, in launch_instance
    return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
  File "/opt/conda/lib/python3.5/site-packages/traitlets/config/application.py", line 652, in launch_instance
    app.initialize(argv)
  File "<decorator-gen-7>", line 2, in initialize
  File "/opt/conda/lib/python3.5/site-packages/traitlets/config/application.py", line 87, in catch_config_error
    return method(app, *args, **kwargs)
  File "/opt/conda/lib/python3.5/site-packages/notebook/notebookapp.py", line 1140, in initialize
    self.init_configurables()
  File "/opt/conda/lib/python3.5/site-packages/notebook/notebookapp.py", line 901, in init_configurables
    connection_dir=self.runtime_dir,
  File "/opt/conda/lib/python3.5/site-packages/traitlets/traitlets.py", line 554, in __get__
    return self.get(obj, cls)
  File "/opt/conda/lib/python3.5/site-packages/traitlets/traitlets.py", line 533, in get
    value = self._validate(obj, dynamic_default())
  File "/opt/conda/lib/python3.5/site-packages/jupyter_core/application.py", line 99, in _runtime_dir_default
    ensure_dir_exists(rd, mode=0o700)
  File "/opt/conda/lib/python3.5/site-packages/ipython_genutils/path.py", line 167, in ensure_dir_exists
    os.makedirs(path, mode=mode)
  File "/opt/conda/lib/python3.5/os.py", line 231, in makedirs
    makedirs(head, mode, exist_ok)
  File "/opt/conda/lib/python3.5/os.py", line 231, in makedirs
    makedirs(head, mode, exist_ok)
  File "/opt/conda/lib/python3.5/os.py", line 241, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/home/jovyan/.local/share'
Traceback (most recent call last):
  File "/opt/conda/lib/python3.5/site-packages/traitlets/traitlets.py", line 526, in get
    value = obj._trait_values[self.name]
KeyError: 'runtime_dir'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/conda/bin/jupyter-notebook", line 6, in <module>
    sys.exit(notebook.notebookapp.main())
  File "/opt/conda/lib/python3.5/site-packages/jupyter_core/application.py", line 267, in launch_instance
    return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
  File "/opt/conda/lib/python3.5/site-packages/traitlets/config/application.py", line 652, in launch_instance
    app.initialize(argv)
  File "<decorator-gen-7>", line 2, in initialize
  File "/opt/conda/lib/python3.5/site-packages/traitlets/config/application.py", line 87, in catch_config_error
    return method(app, *args, **kwargs)
  File "/opt/conda/lib/python3.5/site-packages/notebook/notebookapp.py", line 1140, in initialize
    self.init_configurables()
  File "/opt/conda/lib/python3.5/site-packages/notebook/notebookapp.py", line 901, in init_configurables
    connection_dir=self.runtime_dir,
  File "/opt/conda/lib/python3.5/site-packages/traitlets/traitlets.py", line 554, in __get__
    return self.get(obj, cls)
  File "/opt/conda/lib/python3.5/site-packages/traitlets/traitlets.py", line 533, in get
    value = self._validate(obj, dynamic_default())
  File "/opt/conda/lib/python3.5/site-packages/jupyter_core/application.py", line 99, in _runtime_dir_default
    ensure_dir_exists(rd, mode=0o700)
  File "/opt/conda/lib/python3.5/site-packages/ipython_genutils/path.py", line 167, in ensure_dir_exists
    os.makedirs(path, mode=mode)
  File "/opt/conda/lib/python3.5/os.py", line 231, in makedirs
    makedirs(head, mode, exist_ok)
  File "/opt/conda/lib/python3.5/os.py", line 231, in makedirs
    makedirs(head, mode, exist_ok)
  File "/opt/conda/lib/python3.5/os.py", line 241, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/home/jovyan/.local/share'

I think this is because the commands in the docker file were run as root... I believe I have a fix for this, testing it now... I'll submit a PR if it works.

Fixed in the new version (1.2.0)
Please refer to the README on how to install :)


AWS Provider Docs - Lambda Function - Typescript - Missing Runtime enum section

What happened?
Selected Typescript and
went here: https://www.pulumi.com/registry/packages/aws/api-docs/lambda/function/#runtime
Expected to the enums list but see nothing.
For comparison select Python and go the Runtime section and you'll see enums.
Steps to reproduce

Go to https://www.pulumi.com/registry/packages/aws/api-docs/lambda/function
Select typescript
navigate to the runtime property and select the Runtime link which will take you to:  https://www.pulumi.com/registry/packages/aws/api-docs/lambda/function/#runtime
See that there is no enums listed

Expected Behavior
There should be some information in the section.
Actual Behavior
The section is empty.
Output of pulumi about
N/A
Additional context
If, say, Python is selected, there is a docs section for Runtime.
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

There's something more generally screwy about that page -- there's a set of examples in different languages that appear one after another at the top. I think there's a docs generation problem underlying both things. It might be related to #2259.

resolved by: https://github.com/pulumi/registry/issues/3724


Auth based on tags

currently all auth is based on directory structure, which makes it very awkward to share a sub-set of images like a set from a specific event.
it would be nice to grant users access to items based on a tag they have.
parts:

update DB to store tag access so searches work as expected
UI for assigning users to tags

questions:

who has access to assign auth to a tag?
does that then restrict who can add/remove that tag from an item?
how do users know which tags they have access to?
what happens when automation (tag determiners, bulk import) assign an auth tag?

is there a new permission +manageauthtags?
or a more complex way would be for each auth tag to have read/write and read-only users, where write refers to adding or removing the auth tag from an item.

design idea so far:

new --userfiile and AUTH file permission +manageauth (like +edittags)
users with it in the userfile can add/remove users from an access tag using a UI page for such (maybe /access-tags ?)
auth tags are stored in a dedicated auth DB with columns [tag, user]
the cli flag for specifying its path functions as a opt-in feature flag
users who also have it in an AUTH file can add/remove access tags from items in that directory tree.
access-tags have some kinda easily recognisable format, maybe starting with a specific sequence, that automation is not allowed to add.
access-tags a user has permission to view show on the home page (like favs do)
the resultant ACL for an item is sorted in a second auth column (tagauth?) that is checked during queries and when serving items

possible issues:

can a user set an existing tag as an auth tag?  cos that could be privilege escalation
what format should auth tags have that is different from regular tags?  something in the tag?  special reserved cls value?

alternatives considered:

can only specify tag auth via cli, must be able to edit config file to make an access tag, does not address who can add/remove an access tag


Code refactoring

These slight code adjustments aim to enhance Pythonic quality by incorporating python dictionary update

Thank u so much!


FETCH_features_from_release1_5_to_release_2_x

Fetch features from release-1.5 branch into release-2.x

Closing as duplicate

Closing as duplicate


Actually deprecate use_proxy_proto

https://github.com/envoyproxy/envoy/blob/0ab463fe054de02786b2de24a17206b14b12c01d/api/envoy/config/listener/v3/listener_components.proto#L242-L243
Has been deprecated for quite some time, but no warning or deprecation stat is emitted.
After the removal of tls inspector auto injection in https://github.com/envoyproxy/envoy/pull/17373 this becomes particularly bad, because proxy proto now gets auto injected after manual listener filters which is almost definitely wrong.
We need to complete this deprecation first by warning on this field's use and emitting a deprecated stat, and then actually removing support for it entirely.
cc @ggreenway @tbarrella @lambdai

Why isn't a stat or warning emitted? I thought that was handled by the config loading infrastructure.

Why isn't a stat or warning emitted? I thought that was handled by the config loading infrastructure.

Oh hmm, yeah, I think you are right, it should be. Let me check on this.

There is no warning printed when used as part of a static listener in bootstrap, though I think there should be. I'm trying to figure out what is going on.


Add predicate phony rule

Something like:
phonys :: (String -> Maybe (Action ())) -> Rules ()

I think this will be easier after #192.

I have to add that this is something of a usability stumbling block for Ruin, even if it's nothing fatal.

I had hoped to do that after #192, but various release plans and other dependencies mean I'll probably release 0.15 in the next day or so with that done. Therefore, I've added your function quickly, and will aim to revamp it later on.

I'm actually happy enough with phonys as it is, so I'll close this ticket. Expect a release in the next few hours.

I just released it as 0.15 - more last minute things cropped up, but now the release is done!

Congratulations on the new release!
Updating my local nixpkgs to the new extras & shake.. if everything goes well, I'll submit it to nixpkgs central..


[Bug]: M5StickC doesn't appear under Connected Listeners

What happened?
I have 3 M5StickC, connected to the AP but I cannot see them in Tally Arbiter. The Log says "Connected to Tally arbiter Server" and DeviceId: unassigned.
Tally Arbiter Works on a MacMini M1
Version
2.0.16
Distribution
Desktop
OS
MacOS
What browsers are you seeing the problem on?
Chrome
If applicable, What Listener Clients are You Using?
No response
TallyArbiter configuration
No response
Relevant log output
No response
Error stacktrace (if applicable)
No response

Did you update to the latest version of TA? The current clients are only compatible with > 3.x.x

We seem to be having a similar issue on TA 3.0.1 and the M5Atom. We see a "Listener Client Connected. Type: m5Atom" in the log but nothing ever pops up under listener clients. On top of that, it doesn't seem like any tally information goes through to the M5Atoms. We have a green check mark and can select the #/ID, but tally never works.
Interestingly, we tried our other solution (using a m5atom as a vmix via https://github.com/MarkGaretz/ATOM-Matrix-Tally-Light) and TA recognizes a Vmix connection but no tally feedback either. Maybe we're missing something here?
We also tried TA 2 with both solutions with no luck...

We seem to have the same issue with TA 2.0.16 but also checked 3.0.1  with no difference.
The m5 atom matrix listeners runs together with another TA installation, but did not figure out whats the clue.

On what kind of system are you running the TA server? And what does the logger in the Arduino IDE spill out?

Hi,
I am having the same issue...
M5 Atom and TA 2.0.16 on Windows 10.
I can access TA via webbrowser from android or ipad,
Serial log of the M5
Connected to Tally Arbiter host: <IP_ADDRESS>
deviceObj = {"deviceId": "unassigned", "listenerType": "m5Atom-615033257234764", "canBeReassigned": true, "canBeFlashed": true, "supportsChat": false }
DeviceId = unassigned
["listenerclient_connect",{"deviceId": "unassigned", "listenerType": "m5Atom-615033257234764", "canBeReassigned": true, "canBeFlashed": true, "supportsChat": false }]
charDeviceObj = {"deviceId": "unassigned", "listenerType": "m5Atom-615033257234764", "canBeReassigned": true, "canBeFlashed": true, "supportsChat": false }
The m5 never turns up in the Tally Arbiter setup..
Any hints?

I have the same Problem: The Serial monitor says the following
`rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5828
entry 0x400806ac
M5Atom initializing...OK
Device code: 962c8c
Initializing...
Reading preferences
[  1452][E][Preferences.cpp:483] getString(): nvs_get_str len fail: ta_deviceId NOT_FOUND
*wm:[2] Added Parameter: host
*wm:[2] Added Parameter: port
*wm:[1] AutoConnect
*wm:[2] ESP32 event handler enabled
*wm:[2] Connecting as wifi client...
*wm:[2] setSTAConfig static ip not set, skipping
*wm:[1] Connecting to SAVED AP: ccc222_24
*wm:[1] connectTimeout not set, ESP waitForConnectResult...
*wm:[2] Connection result: WL_CONNECTED
*wm:[1] AutoConnect: SUCCESS
*wm:[2] Connected in 2938 ms
*wm:[1] STA IP Address: <IP_ADDRESS>
Connected to the WiFi... yeey :)
Connecting to <IP_ADDRESS>:4455
[IOc] Connected to url: /socket.io/?EIO=3
["listenerclient_connect",{"deviceId":"","listenerType":"m5atom-962c8c","canBeReassigned":true,"canBeFlashed":true,"supportsChat":true}]
[IOc] Disconnected!
`

I have the same error, Atom and Stick-CPlus are connected in the logging but dont appear under listeners tab... Maybe I should enter some stuff in the ino to this:
String DeviceId = "00000001";
String DeviceName = "TallyStick-01";
String LastMessage = "";
?
Did someone find a sollution for this problem?


Fixed Annotations HitTesting & Added annotation anchor v2

UPD: I reopen #35. I removed directions implementation and returned WatchOS 6.0 support.
This pull request implements several fixes and enchantments:

Clickable SwiftUI Annotations! #4

Added anchor parameter to the ViewMapAnnotation similar to the default SwiftUI Map approach.

Fixed annotations centering problem #14. Thanks to @rderimay (I took solution from #25

I have some findings I'd like to share on the front of keeping the frames the way they're supposed to be that might provide some insights for your ongoing investigation here @iakov-kaiumov . With my solution, anchorPoint works as expected. I'm going to try to create a branch to show what I'd propose.

@iakov-kaiumov Here's what I had come up with on this front: https://github.com/pauljohanneskraft/Map/pull/40/files


How do I access the metrics from a logger/trainer?

Hello,
I wanted to ask, after training a model with a trainer object (and using a logger, such as a wandblogger), I want to access the validation loss of the last epoch. It seems simple but I wan't able to find how to do this in any documentation.
I tried searching the inner parameters of the Logger with python's dir function but got lost there.
Any help would be appreciated. Thank you very much!
I am on a windows+conda environment if it matters.

I am using trainer.callback_metrics to access latest metrics.

Thanks! I see this only gives metrics for the last epoch. Do you know how to access metrics for all epochs?

I asked this on slack forums yesterday, got the response that with Wandb you can use trainer.logger.experiment.summary. I haven't checked it, can you try??


Fix the rendering of line numbers

As pointed out in https://github.com/SymbiFlow/sphinxcontrib-verilog-diagrams/issues/22 when line numbers are rendered for a result it doesn't look very nice;

FYI - @daniellimws

Fixed in #10


Catch the unhandled Exception Network is unreachable

This exception occurs when during an open connection the adapter is turned off. Not really annoying on Desktops but on mobiles where we often turn WIFI on and off a must. I realized that this exception cannot be catch for what ever isolates reasons but a check of number of returned written bytes from _socket.send can help.

Unhandled exception:
SocketException: Send failed (OS Error: Network is unreachable, errno = 101), address = ::, port = 8888
#0      _NativeSocket.send (dart:io-patch/socket_patch.dart:1224:34)
#1      _RawDatagramSocket.send (dart:io-patch/socket_patch.dart:2491:15)
#2      _DtlsServerConnection._maintainOutgoing (package:dtls2/src/dtls_server.dart:315:27)
#3      _DtlsServerConnection._maintainState (package:dtls2/src/dtls_server.dart:282:9)
#4      _DtlsServerConnection.close (package:dtls2/src/dtls_server.dart:350:7)
#5      Server.connect.. (package:ptt_server/server_socket.dart:333:24)
#6      ConnectionTimer.start. (package:ptt_server/server_socket.dart:268:16)
#7      Timer._createTimer. (dart:async-patch/timer_patch.dart:18:15)
#8      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:398:19)
#9      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:429:5)
#10     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:192:26)

Thank you for pointing this out, @Ifilehk! Do you already have a potential patch ready that could be applied to address this issue?

Can you have a look at #55? After merging I will release a new patch version.


Question about contrastive loss input

   `for findex, key in enumerate(dictkeys):
        data    = self.data_dict[key]
        numSeg  = round_down(min(len(data),self.max_seg_per_spk),self.gSize)

        rp      = lol(numpy.random.permutation(len(data))[:numSeg],self.gSize)

        flattened_label.extend([findex] * (len(rp)))
        for indices in rp:
            flattened_list.append([data[i] for i in indices])`

It seems that all of input pairs are from the same person e.g (p1,p1),(p2,p2),(p3,p3). Is there an input pair containing utterances from different person such as (p1,p2)? Thanks!

Negative pairs are generated here during the forward pass.
https://github.com/clovaai/voxceleb_trainer/blob/c43bceddd6982d3c4d6bad472932627502d619b3/loss/pairwise.py#L31-L33

Negative pairs are generated here during the forward pass.
https://github.com/clovaai/voxceleb_trainer/blob/c43bceddd6982d3c4d6bad472932627502d619b3/loss/pairwise.py#L31-L33
Thanks!


Upgrade celery to version 3.1.20

I don't have much to review here. Code looks good r+wc. If you feel confident about this, merge merge merge


Add  HTML to let users know they need to enable Javascript

If a user visits the site with Javascript disabled in their browser (or a browser that doesn't support Javascript), the page comes up blank. This can look like the site is down.
Please add a noscript tag line to let the user know the site is available and they need to enable Javascript for the site/game to work.
Example:
...</script>
   <noscript>Please enable Javascript to play Sour</noscript>
  </body>

This is a good idea. I'm also led to believe that Sour does not work well or at all in Firefox; that's worth exploring.


[cxx-interop] Test symbolic interface generation for new features

This adds a test that ensures that a symbolic interface for a C++ module will include these features:

move-only types
virtual methods

Default arguments are already tested.
rdar://125816549

@swift-ci please test

@swift-ci please test


iOS still using Mapbox Navigation v2?

Just wanted to confirm: the readme says this package is using Mapbox Navigation v3, but I'm seeing 2.18.1 in the iOS podspec?
It looks like version 3 isn't available via CocoaPods yet though, any plans to implement through Swift Package Manager?

Mapbox navigation v3 sdk not suported cocoapods and react native not provided spm yet. I am planing for future major release 1.x.x that have fully functional with more features.