Redundant info in error print for duktape/C generated errors

When you throw an error in JS the resulting error printout only contains the call stack (with the top line containing the thrown error + message):
TypeError: Test
    at global (main.js:10)
    at [anon] (eval:1)

However, when you throw an error using duk_error() things look different. Now the resulting printout has 2 sections: Message and Stack where the stack repeats (part of) the message. Here's an example:
  Message:
    Error: Error while creating folder '': No such file or directory in tests/self-tests/fs-specs.js (line 16)
  Stack:
    Error: Error while creating folder '': No such file or directory
        at emptyDirSync () native
        at [anon] (tests/self-tests/fs-specs.js:16)
        at call () native
        at attemptSync (node_modules/jasmine-core/lib/jasmine-core/jasmine.js:3898)
        at [anon] (node_modules/jasmine-core/lib/jasmine-core/jasmine.js:3887)
        at [anon] (node_modules/jasmine-core/lib/jasmine-core/jasmine.js:3872)
        at [anon] (node_modules/jasmine-core/lib/jasmine-core/jasmine.js:816)
        at [anon] (node_modules/jasmine-core/lib/jasmine-core/jasmine.js:478)
        at [anon] (node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4975)
        at call () native
        [...]

(the call stack shown here is already cleaned-up, i.e. no C/C++ stuff).  I would like to get rid of the duplicate message. In such a situation I could remove the top entry of the stack, but that removes an important part for JS errors (as there is no dedicated message printout for them). What else could I do?

Jasmine is on the stack.  Are you sure it’s not catching the error and rethrowing it?  I haven’t seen an error message that looks like that before.

Seems you hit an important point. I didn't expect Jasmine to play a role here, since the difference I saw first was between a top level throw in a .js file vs duk_error(). However when I throw that error in any of the test functions from Jasmine the message shows up with the duplicate error string. So it looks as if Jasmine is doing the "wrong" thing here. Thanks for getting my head to think in the right direction.

An important thing to keep in mind is that in Duktape, like with Lua, once you call into Duktape to execute a script, your C and JS code are fully integrated - Duktape/C functions essentially act as plugins and still run in the same context as any other ecmascript function.  They can throw errors, exceptions will propagate through them while unwinding, etc.  that’s why the “safe call” (error catching) APIs exist, because otherwise you’d throw the error right out of your reach.
This is a bit hard to wrap your head around at first (at least it was for me), but once you understand the implications it becomes very powerful.

Something is catching, modifying, and rethrowing errors - that Message/Stack output definitely doesn't come from Duktape. Some frameworks do catch and rethrow, and may even augment the stack trace before rethrowing. For example, frameworks which translate code may try to modify or add original source file/line information into errors for convenience.
Unfortunately .stack is a non-standard property and as such there's no "standard behavior". Duktape's .stack is quite close (but not identical) to V8's equivalent so usually things work out fine. In particular, you can (1) assign to .stack (replacing the automatic getter-based value), and (2) Object.defineProperty() .stack. Usually this is enough for catch/rethrow framework code.


Change to the fourway component

I have tried to limit diagonal movement for the fourway component. Previously, the fourway component was a thin wrapper for multiway, which simpy adds each keypress to the vx and vy. With the changes I propose, the fourway component limits diagonal movement and does not add velocity but sets a new velocity with each key press, and checks for keys still pressed at the keyup event setting the new velocity accordingly. I am using this implementation for an isometric game. If one were to use it for an rpg it would probably have to be limited further. Perhaps an fourway rpg component should be created as well.
As a final note, I am unsure whether I handled the new binding of keydown and keyup in the simplest way. Let me know.

Is it possible, given my understanding that this acts very differently than the current fourway implementation, that this should be a separate component that could be in the community components list, instead of replacing the current fourway?

It is definitely a possibility to do that. However, the fourway component does seem to need a fix since it is actually just multiway with some keys defined. Therefore, it still provides 8-way movement which I'm thinking is not the intended functionality?

Personally, when I use fourway (pretty much exclusively for early builds or quick game jams) I expect diagonal movement.

Hopefully #1051 meets the requirements here, definitely reopen this or another PR/issue if there are additional related changes needed.


rename gstreamer1.0-plugins-good_1.18.%.bbappend for gatesgarth

layer.conf lists "gatesgarth" as a compatible branch, but that does not
actually work because gatesgarth uses gstreamer 1.16 while hardknott will
use 1.18. To at least be able to pass the recipe-parsing phase, rename
the bbappend to have a wildcard that matches both revisions.

@MikeLooijmans created https://github.com/agherzan/meta-raspberrypi/pull/829 for the backporting effort, mind having a look there as well?

I would rather have gatesgarth removed from LAYERSERIES_COMPAT for which the specific branch is to be used.

The packge config on this this bbappend only works with the master oe-core and with the PR https://github.com/agherzan/meta-raspberrypi/pull/832 gatesgarth will be removed from the  compatible branch

I guess we can close this given that LAYERSERIES_COMPAT doesn't advertise gatesgarth anymore.


Browsing benches (suggestion)

Looking at the site, I got the urge to see more benches, to browse.
I found the map, which is good if you are going to an area or you have an interest in a particular known bench.
It might be handy to be able to browse a selection of benches - maybe a page of random bench shots, and a connecting list. Maybe filtered by region.

Now being done in #40


Live mode using steps like echo, dump, write with variables that has ' - fixed

this works in normal and live mode
echo a'b
dump a'b as abc.txt

but for live mode, this fails with ERROR - expected token ')'
a = "a'b"
echo `a`
dump `a` to efg.txt

This is because a variable containing single quote, when formed into JavaScript expression as a string, will break the JS syntax. The solution is probably do some escaping of characters in the variable at the point of expanding. Found this edge case while working on #901, when OCR read characters has some weird character and trigger unexpected EOF error.

Above commit fixes the problem using of variables that contains single quote ' in live mode.
Users can download the latest copy of TagUI from here and unzip to overwrite your existing installation (please drag the folders under tagui\src to overwrite your existing installation) - https://github.com/kelaberetiv/TagUI/archive/master.zip
In the next release, this fix will become part of the packaged zip files.

Above commit fixes the problem using of variables that contains single quote ' in live mode.
Users can download the latest copy of TagUI from here and unzip to overwrite your existing installation (please drag the folders under tagui\src to overwrite your existing installation) - https://github.com/kelaberetiv/TagUI/archive/master.zip
In the next release, this fix will become part of the packaged zip files.

Closing issue, change included in latest packaged release - https://github.com/kelaberetiv/TagUI/releases/tag/v6.46.0


Host Plans follow up

Everyone is allowed to add manualPayments
Add bankTransfers and bankTransfersLimit

Implement partially https://github.com/opencollective/opencollective/issues/2912

Merging because I want that to go live. @kewitz let me know if you have feedback


add option use-git-cache which makes single git log ... call

This diff does two things:

aligns path_cache behavior in determinator.rb so that both formatted and raw
calls to last_modified_time are read from the path_cache

adds option use-git-cache which improves render performance by reading the
entire git log once (instead of 1:1 for each file)

More information available in #85
I did not test extensively but did verify that bundle exec rake spec passed. bundle exec rake rubocop reported an issue with Style/OptionalBooleanParameter which I did not think worth changing existing code to accommodate.

👋 Unfortunately, my GitHub notifications for this repository was oddly turned off. I take my responsibility to accepting patches seriously; however, I am just one person, with a very busy life off of GitHub.com! I'm going to close this PR because I like to keep my TODO list scoped and reasonable. This does not mean I will not accept this patch! Rather, it's a way of me asking you if you're still using this gem, and whether you want this PR merged. Just comment back and I'll prioritize it. I assume silence means I can keep it closed. Thanks!
this was an automated copy-paste

I'm still using this PR

Sorry, should have mentioned: I built on this PR in #91 - If you just merge 91, it should come with this functionality... up to you how to handle it 😊


修改构造方法访问级别

Describe what this PR does / why we need it

修改了构造方法的访问级别，因为该构造方法只在同包的类中被使用，使用 public 访问级别不太合理。

Describe how you did it

将 public 访问级别修改为 default 访问级别

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.wcxgit seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

I think it's no need to do this.


Spyder editor keeps crashing

Description
What steps will reproduce the problem?

Updated to spyder 3.2.4
In the editor, type in, for example, "numpy.", OR
type in "(" and autocomplete to "()"

Note: I have
parso 0.1.0
jedi 0.10.2
But the problem remains.
What is the expected output? What do you see instead?
Popup window: [Spyder has encountered a problem]
Please provide any additional information below
File "c:\python27\lib\site-packages\spyder\utils\introspection\manager.py", line 220, in get_completions
info = self._get_code_info('completions', automatic=automatic)
File "c:\python27\lib\site-packages\spyder\utils\introspection\manager.py", line 216, in _get_code_info
**kwargs)
File "c:\python27\lib\site-packages\spyder\utils\introspection\utils.py", line 75, in init
self.get_info()
File "c:\python27\lib\site-packages\spyder\utils\introspection\utils.py", line 87, in get_info
lexer = find_lexer_for_filename(self.filename)
File "c:\python27\lib\site-packages\spyder\utils\introspection\utils.py", line 180, in find_lexer_for_filename
lexer = get_lexer_for_filename(filename)
File "c:\python27\lib\site-packages\pygments\lexers_init.py", line 203, in get_lexer_for_filename
res = find_lexer_class_for_filename(fn, code)
File "c:\python27\lib\site-packages\pygments\lexers_init.py", line 168, in find_lexer_class_for_filename
for cls in find_plugin_lexers():
File "c:\python27\lib\site-packages\pygments\plugin.py", line 53, in find_plugin_lexers
yield entrypoint.load()
File "c:\python27\lib\site-packages\pkg_resources_init.py", line 2354, in load

The error is not complete. Please copy it from our error dialog and paste it in full here.

It still looks very much like the parso error; e.g. #5673 , the part of the traceback we can see fits the signature exactly. Most importantly, what does the last line of the error message say?
Also, given it looks like you are using pip, it could be some arcane issue with that. Due to the frequency of such problems, we can only recommend that you use the Anaconda distribution instead, though you're welcome to try to get it on your own. Also, you can try updating both parso and jedi to their latest versions, which should now work well together.
Finally, if we don't hear from you in one week (7 days), we'll have to close this error report. Best of luck!

I am using pythonxy 2.7.10, i.e. Python 2.7.10.
I had upgraded both parso and jedi to the latest version, then had this problem. I was digging in github and found that sometimes the latest versions of parso and jedi cause problems. That's why I downgraded both them. But the problem remains.
And, my spyder does NOT show error message in full. The pop-up window only says "Spyder has encountered a problem", then "report to GITHUB" or "OK". Where can I load/find the full error message?

Please press the button that says Show details (or something like that) and copy the text that appears below.

I had upgraded both parso and jedi to the latest version, then had this problem.

What versions, precisely?

Where can I load/find the full error message?

You can also try the Spyder internal console. View > Panes > Internal Console.
Not sure why the full error message isn't getting copied...I've seen this very frequently in people's posts, but I've never understood why since I've never been able to reproduce it on my machine.

I just uploaded a screenshot of the popup window. There is no place where I can click for "more details"...

But I found the internal console now. Here is the full error:

Traceback (most recent call last):
File "c:\python27\lib\site-packages\spyder\utils\introspection\manager.py", line 220, in get_completions
info = self.get_code_info('completions', automatic=automatic)
File "c:\python27\lib\site-packages\spyder\utils\introspection\manager.py", line 216, in get_code_info
**kwargs)
File "c:\python27\lib\site-packages\spyder\utils\introspection\utils.py", line 75, in init
self.get_info()
File "c:\python27\lib\site-packages\spyder\utils\introspection\utils.py", line 87, in get_info
lexer = find_lexer_for_filename(self.filename)
File "c:\python27\lib\site-packages\spyder\utils\introspection\utils.py", line 180, in find_lexer_for_filename
lexer = get_lexer_for_filename(filename)
File "c:\python27\lib\site-packages\pygments\lexers_init.py", line 203, in get_lexer_for_filename
res = find_lexer_class_for_filename(fn, code)
File "c:\python27\lib\site-packages\pygments\lexers_init.py", line 168, in find_lexer_class_for_filename
for cls in find_plugin_lexers():
File "c:\python27\lib\site-packages\pygments\plugin.py", line 53, in find_plugin_lexers
yield entrypoint.load()
File "c:\python27\lib\site-packages\pkg_resources_init.py", line 2354, in load
self.require(*args, **kwargs)
File "c:\python27\lib\site-packages\pkg_resources_init.py", line 2371, in require
items = working_set.resolve(reqs, env, installer)
File "c:\python27\lib\site-packages\pkg_resources_init.py", line 844, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.VersionConflict: (setuptools 18.0.1 (c:\python27\lib\site-packages), Requirement.parse('setuptools>=18.5'))

I will try to upgrade setuptools now and will report back. Thanks guys!

I just uploaded a screenshot of the popup window. There is no place where I can click for "more details"...

You can't see the full thing when you "Submit to Github"? Also, try the internal console as mentioned before.

No, I can't see the full thing when I submit to github... There is only a popup window but no text panel in it.

Please try to use a more recent version of, well, everything, Python, setuptools, PyQt. etc.
Closing because this is why we don't give support to installations other than Anaconda.

Closing because this is why we don't give support to installations other than Anaconda.

Yup...


Successful touch drag fails to update pagination

I've required the following javascript files to my module:

responsive-carousel.js
responsive-carousel.touch.js
responsive-carousel.drag.js
responsive-carousel.pagination.js
responsive-carousel.autoinit.js

On $(document).ready() I $(document).trigger("enhance"); and all my carousels are initialized.
Now, clicking the pagination numbers all works fine. It's the same for next and prev links. The touch and touch drag also work fine. No errors. Except one.
Uncaught TypeError: to.get is not a function

The error is caused by line 67 in the responsive-carousel.pagination.js file. It looks like this:
var index = to ? $( this ).find( "div.carousel-item" ).index( to.get( 0 ) ) : 0;

When the event for updating the pagination is triggered on the mentioned line it tries to access a jQuery method .get() on the to object. The problem is that in my particular case the for some reason the to is not a jQuery object so it can't access the .get() method and it fails to update the pagination.
Just by wrapping the to to $() like this $(to) the error goes away. Though I'm not sure if this is correct way to fix this.

Could you could @zachleat give your opinion on this? I can modify the pull request if needed.

This is getting a bit old so might as well close 🤷♂


sherlock: unstable-2024-05-12 -> 0-unstable-2024-05-15

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for sherlock is: Hunt down social media accounts by username across social networks
meta.homepage for sherlock is: https://sherlock-project.github.io/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0-unstable-2024-05-15 in filename of file in /nix/store/gwwbx7d6zx2rxpglmr793s4ynyvrr59n-sherlock-0-unstable-2024-05-15

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

sherlock

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/gwwbx7d6zx2rxpglmr793s4ynyvrr59n-sherlock-0-unstable-2024-05-15 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/5f8a448aa7ac38904b08acec9af9aeb1f5d61eb6#sherlock

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/gwwbx7d6zx2rxpglmr793s4ynyvrr59n-sherlock-0-unstable-2024-05-15
ls -la /nix/store/gwwbx7d6zx2rxpglmr793s4ynyvrr59n-sherlock-0-unstable-2024-05-15/bin

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

1 package built:

sherlock

Maintainer pings
cc @applePrincess for testing.

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

1 package built:

sherlock


unable to launch tensorrt-llm image

I USED THE FOLLOWING COMMAD TO BUILD THE IMAGE.
make -C release_build
Once this image is built,
I added  CMD to launch jupyter lab on top of above built image.
image build successfully on mac , even i provided the ---platform during build but when i am running it , gave below error.
exec /opt/nvidia/nvidia_entrypoint.sh: exec format error

@riyaj8888
To confirm, so you are trying to build and start the docker on a Mac machine, correct?
June

@riyaj8888 Do you still have the problem? If not, we will close it soon.


[JavaScript] Drag & drop of elements in designer is not working in Safari

Platform

JavaScript

Author or host
Host Name : Microsoft Search
Version of SDK
<EMAIL_ADDRESS>Details
In https://vnext.adaptivecards.io/designer/(only for Safari) I am not able to drag and drop any card element into designer

@dclaux could you help take a stab at this real quick? Also @atishayv is this only the vnext that you are seeing this behavior for or also adaptivecards.io/designer ?

@shalinijoshi19  This is happening for adaptivecards.io/designer also

This is due to how image fallback is handled. I can do better when the target image size is known in advance (like in this case) by showing a fixed placeholder. When "stretch" or "auto" are used the image size isn't known until the image has loaded, so I can't fully eliminate the flickering, but maybe I can reserve a minimum amount of space all the time, enough to show the fallback image.

This should be fixed in the latest builds; please re-open if this is not the case and we'll re-engage. Thanks!


test change desired_max_waiting_jobs in regression pipeline

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Added docker support for mysql

Fixes #1445

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Does that meaning "mysql support" not production ready yet?


Go datastore JSON api Indexed property always true

<EMAIL_ADDRESS>on 6 Nov 2014 at 3:41:
I was not sure where to post this question but I figured here was better than
anywhere else. I've been working on a datastore client for the Google JSON API
that wraps around the generated Go code here

https://godoc.org/code.google.com/p/google-api-go-client/datastore/v1beta2

My client eases the ability to construct compliant requests, entities, queries
as well as provides some configuration and authentication assistance (much as
the python an java libraries do). However, I ran into a wrinkle during some
testing today. The core of it is how the omitempty tag on the Property struct's
Indexed field is handled. The behavior is displayed in this play link.

What steps will reproduce the problem?

http://play.golang.org/p/4t8ZfyncgA

What is the expected output? What do you see instead?
Here is the output of the play
2009/11/10 23:00:00 A:{BlobValue:Not Omitted Indexed:false}
2009/11/10 23:00:00 Buff {"blobValue":"Not Omitted","indexed":false}
2009/11/10 23:00:00 See how the above has the Indexed property exported?
2009/11/10 23:00:00 Marshal exports it too {"blobValue":"Not
Omitted","indexed":false}
2009/11/10 23:00:00 What happens if we add omitempty to the Indexed property?
2009/11/10 23:00:00 B:{BlobValue:Omitted Indexed:false}
2009/11/10 23:00:00 Buff {"blobValue":"Omitted"}
2009/11/10 23:00:00 See how the above does not have the Indexed property
exported?
2009/11/10 23:00:00 Marshal does not export it either: {"blobValue":"Omitted"}

The issue is that the JSON api itself assumes that indexed = true if you do not
explicitly set it to false in the JSON of your request. This is a problem
because Marshaling the structs in the JSON API library will never give you an
explicit indexed = false even if you have that set to false on the struct
because the Indexed field is tagged 'omitempty'. I was trying to use the
structs from the generated go but I don't see a way to work around this without
just writing/copying my own verbatim copies of those structs so I can change
that single tag. If the indexed field is not in the JSON of the request,
specifically for a BlobValue, and the length of the BlobValue is > 500 bytes
then you will get a 400 error response telling you that it can't save an
indexed blob greater than 500 bytes (which is correct and in the docs). Is
there anything I might be missing?

Here is a cleaned dump of the requests and response
http://pastebin.com/2t2Twy2Q

We have previously been constructing our own JSON for our entities and naively
had the omitempty tag not on our Indexed property. Now that we're trying to
make something that is more flexible we've run into this problem. I'm open to
suggestions. Thank you for your time.

Ross

What version of the product are you using? Google Datastore JSON API v1betav2,
Go 1.3.1
On what operating system? Linux & OSX

Successfully auto-migrated from code.google.com:
https://code.google.com/p/google-api-go-client/issues/detail?id=70

Unfortunately, the omitempty issue is a difficult problem to solve.
You might be interested in the Google Cloud veneer client library which is a hand-written idiomatic Go library to access some Google APIs like Datastore: https://github.com/GoogleCloudPlatform/gcloud-golang
Otherwise, we don't yet have a good solution to this problem.
Marking this as a duplicate of #54 and closing.


[CodeCompletion] Dedupe completion results if multiple lookups were made

Solver-based member completion performs a lookup per solution, but if the base types in each solution are variations of the same generic (e.g. Array, Array), we can end up with the same result appearing twice (e.g. count)

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 18697348d42741ba7f49e6da0f97be07836f0616

@swift-ci please test


dedicated bootstrap nodes

Currently the bootstrap nodes are also bacalhau nodes running compute and ipfs daemon. The problem is issues with these nodes, such as running out of disk space, will have a network wide impact as no node can bootstrap and join the network.
The recommendation is to have lightweight bootstrap nodes with no responsibility except bootstrapping and connecting new nodes to the network.

I don't think this is a problem worth solving at the moment, specially that it is related to how we are setting up our demo network and not a restriction by bacalhau's design


Implement extensions rule

This fixes #209 and fixes #204.

I think you can also add an entry to the changelog (and thank yourself).
Also, do you mind adding support for require? We had a discussion about a similar case here https://github.com/benmosher/eslint-plugin-import/pull/245#issuecomment-211433228.
LGTM up till now otherwise, Nice job @lo1tuma!

@jfmengels is there a utility function in what you've added to filter CallExpression to just CommonJS require calls? I've got something off in my utils branch, but I thought you had something similar.
I'm imagining something so CommonJS support is as easy as:
return {
  ImportDeclaration: checkFileExtension,
  CallExpression: filterRequire(checkFileExtension),
}

Anyway @lo1tuma if you don't want to worry about CommonJS, I'm cool with that, we can do it post-merge.

Yeah, I have a function for that, with a use of it here. You can't do something as simple as @benmosher proposed, as the same data (the source for instance here) as not at the same property path. It's more test code than code.

we can do it post-merge

:+1:, I can probably take a look at it if you wish.

Ah, right. I made a moduleVisitor to which you pass a function of the Literal node, here it is in use for no-unresolved: https://github.com/benmosher/eslint-plugin-import/blob/core-package/src/rules/no-unresolved.js
I really need to get that stuff merged back in. CJS vs. ES6 is cross-cutting and common enough that ideally, rules wouldn't need to worry about it explicitly.

I’m not very familiar with AMD so I could only provide an implementation for commonjs.
Apart from that, I think it would be better to wait for the moduleVisitor and not implementing the same logic in every rule.

Sounds good to me!

I totally forgot about the CHANGELOG. Should be all good now.

Just merged, thanks!


Protect a few additional DOM element accesses in the viewer (PR 15831 follow-up)

A couple of cases that I missed during review, for code-paths that don't run by default in the viewer.

/botio integrationtest


Update README.md

Updating k8s link from now non-existent branch to master

Codecov Report

Merging #248 into master will increase coverage by 0.16%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #248      +/-   ##
==========================================
+ Coverage   54.96%   55.13%   +0.16%
==========================================
  Files          38       38
  Lines        4152     4152
==========================================
+ Hits         2282     2289       +7
+ Misses       1676     1666      -10
- Partials      194      197       +3

Impacted Files
Coverage Δ

monitor/linuxmonitor/linuxMonitor.go
68.62% <0%> (+6.86%)
:arrow_up:

Continue to review full report at Codecov.

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


Replace enums with interfaces for more customization

This PR replaces several user-exposed instances of the enums with interfaces. Enums are (by definition) not extendible. This makes it hard (impossible?) for users of the package to "bring their own content".
For example: I want to set a different background than one of the ones defined in the Background enum. I can't use my own because the ->background() method on the Theme interface expects an instance of SimonHamp\TheOg\Background.
Instead of using enums, we'll use an interface that people can now implement to provide their own instances.

[x] Replace background enum with interface.
[x] Replace font enum with interface.
[x] Update README.

Alternatively we could create a class per family (in this case Inter) and then use it like so:
class Inter implements Font
{
    public function __construct(private string $variant = 'Regular') {}

    public function path(): string
    {
        return __DIR__ . '/../../resources/fonts/Inter/static/Inter-' . $this->variant . '.ttf';
    }
}

$font = new Inter('Bold');

But I'll leave that up to you. I personally quite like the customizability that having a class per font affords, but it's an option! 😄

I implemented it this way originally and then decided against it because it introduced too many possibilities for folks to create images that didn't really work or look right.
For backgrounds, it's now possibly to pass a backgroundUrl to the image and set it on the them, but I think exposing more than that (for fonts too) opens up too much optionality
The purpose of the package is to be 'opinionated' and provide a limited set of options. So I'm not going to merge this right now
Happy to keep this around to gauge interest, though

because it introduced too many possibilities for folks to create images that didn't really work or look right.

I disagree, but in the end it's up to you! I don't believe it's the repository's (or your) fault if the user misuses/abuses the options the code provides. As the code is in this PR it still defaults to the previous 3 backgrounds and 1 font family, it just opens it up for other people who know what they are doing to add their own in their own codebase.
Having an opinionated package is fine though, and I completely understand the reasoning behind it.

Yeh I understand. Let's see what the people want

That's interesting! I wasn't even aware that enums could implement interfaces!
That said, I'm not sure if they should in this case because then the underlying behaviour is tied to two different data structures: on the one hand it could be an enum, on the other it could be a class.
That might not cause us any real problems, but it means in places where we simply set a property to the instance being passed in, it could lead to confusion about what kind of object we're dealing - I think it ends up obscuring that.
After more thought, I really liked the approach of having class-based elements because it feels like classes really do give the developer a lot of flexibility, if that's what they want.
I am about to pop another PR on here for you to have a look at, which takes your earlier version of this and adapts it further, to maintain the flexibility whilst retaining some of the apparent simplicity of using enums and without risking making the enum the object that gets passed around internally

Whether that's an enum or a class would be up to the user. As long as it implements the interface it's workable 😜

I agree that as long as it implements the interface it's workable, but I'm not sure I'm completely comfortable with the idea that in some cases it can be an enum instance and in other cases it represents a class instance.
I just feel like there might be some dragons down that road.
Happy to be completely wrong, of course! But I'd rather avoid it for now.

Sounds good! Shall we close this one then and continue the discussion in your PR? 😄

Well, have a look and let me know what you think: #13

Closing in favour of #13


typescript typings are wrong

Typescript, unlike babel, differentiates between default and "whole" exports, this is.
import * as X from 'X'; = require('X')
import X from 'X'; = require('X').default;
whereas in babel
import X from 'X'; = require('X').default || require('X');
the thing is that the TS typings say that the function is actually on require('X').default, but it is actually in require('X') due to this last line in the generated index.js:
module.exports = exports['default'];
something to do most probably with how rollup does it.
could the typings be fixed? or if not at least then make it actually export the function on default :)

Hey thanks for reporting!
This behavior changed in #121 but the TS typings didn't get updated.
I will update the typings right away to reflect what is actually being exported by the generated build.
I've become quite a fan of TS (and have started using it on all my new projects) so later when I have a little more time on my hands I plan on refactoring the codebase here to TS.
No more outdated typings 😄

:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update tests to react to provide-api-key toggle

Allows tests to adapt to provide-api-key toggle being disabled or enabled. The updated tests here were missed in this commit: https://github.com/apache/incubator-openwhisk-cli/commit/8861d4bcebdc5a36e9d773223a90a3f6511fa6f6.

@matthiaskubik, wanna have a look at this one?


can not run UIEXPLORER demo on android simulator

hi , react-native version is 13.0-rc,gradle is 2.3, when installd eiexploere ,, it can not work, the error  as below ,

@facebook-github-bot close


Constraint weirdness

47t isu 152 duped nosorter.txt
47t ISU 152.txt

From what you told me over chat, even without the sorter, constraint systems get screwed up, so I'm thinking it's something else. I'll try them after I get back and see if it's reproducable.

To get it to fail, all I did is spawn the working one, duped it and spawned it. Sometimes the main gun gets loose like in the failed version I added here, or the mg gets loose. They both use ballsocket centre.

Both files create 1 constraint system and don't show any weirdness.

I did see 'Advanced Duplicator 2: Invalid Class: gmod_ent_ttc' while pasting so maybe try uninstalling that and see if it works better.
If you want to see each time a constraint system is created, go to lua/includes/constraint.lua and in this function, add debug.Trace()
local function CreateConstraintSystem()
debug.Trace()

I see the wobbly gun issue, but it doesn't seem to be a phys_constraintsystem issue. I'll compare the constraint ordering and such between the two files and see if there's an explaination.

I think this turned out to be a wire latch issue


Possible changes when Cities: Skylines - Snowfall comes out.

Hello Tobias! Will you be able to accept a pull request and publish an update (if it's needed) when Snowfall comes out? See trailer here

Hopefully so (I don't know if I would be able to address issues in a timely manner) - but I'd also be interested in handing over the project if somebody willing to maintain EPTUI could be found

I want to maintain the mod, but it won't be possible to hand the mod over to me without duplicating it in workshop. The best thing I can do is to send my updated dlls for you to upload.

It's possible to add contributors in the steam workshop, does that not allow one to update dlls?

Looks like it doesn't.

Hmm that's unfortunate... well we could still try, worst case I'd just give you access to everything and update the dll myself

Well, I guess with the newest update and the mod functionality making it in the base game, the issue is resolved. :)


Update stable version in repo from 2.9.6 to 2.10.3

Think about update stable version to 2.10.3
Version: stable=2.9.6 (91 days old) => latest=2.10.3 (15 days old)
Installs: stable=1245 (67.41%), latest=263 (14.24%), total=1847
Click to use developer portal
Click to edit
Note: This is an automatically generated message and not personally authored by bluefox!
Do not close this issue manually as a new issue will be created if condition for update still exists
@mcm1957 for evidence

I'm sorry, but I don't think that's your business. If I decide to wait because I need to change some things for the stable version, then it will have to wait as long as it needs to. So don't ask every time!


HomeController filename should be AccountController

Fixed in https://github.com/dotnet-presentations/aspnetcore-app-workshop/


string constructor

from genutil import StringConstructor is replaced by from pcmdi_metrics.utils import StringConstructor

Demo4 and Demo5 (MJO) were checked and they remain identical.

No noticeable error found from all Demo notebooks.

@acordonez Could you please review when you get a chance? I don't think this PR would need line by line review as the change is scattered across many file, but in general, change is for replacing from genutil import StringConstructor by from pcmdi_metrics.utils import StringConstructor. Please briefly check if this makes sense to you and/or if it is applicable to your extreme branch.
Most of changes in the PR is resulted by hosting the StringConstructor capability in the PMP, which was originated from genutil code.

@lee1043 Yes I'll give it a run on my end!

@lee1043  I ran mean climate and mjo demos and they both finished successfully.

@acordonez thank you, I am merging this PR.


[Discussion] Provide ls/rm command aliases

This is highly subjective, but I feel like it would be a little more "ergonomic", and potentially more idiomatic for some users, to be able to use ls and rm commands--within the applicable command groups--as opposed to list and delete. I find myself naturally attempting to type either ls or rm many times (e.g. az resource group ls), due to the muscle memory I've built-up from other CLIs, so I can imagine that providing this kind of "interopable" interface could help some users more easily integrate AZ into their regular workflow. I wouldn't recommend changing what's already there, but I'm curious whether it wouldn't be valuable to provide aliases for some of the core commands, that have pseudo-established naming conventions for some users.
Apologies if this discussion has already been had. I couldn't find an issue when I did a search, so I figured I would just file a quick issue while I was thinking about it.

This is very much a relevant discussion to have with our users.
The team has gone back and forth on this subject. At one point, we had a prototype that used exactly rm and ls as the names for the delete and list commands respectively. We got mixed feedback from internal use. But that was from a very limited set of users.
One alternative discussed has also been to selectively adopting the rm/ls command names only for the storage command and make them look & feel more like "vanilla" local file operations.
Any additional feedback/suggestions are more than welcome!

I can definitely appreciate the mixed feedback. I wonder whether simply aliasing the existing commands wouldn't work well for everyone, and could piggy-back off a fairly established naming convention. For example, both the NPM and Docker CLI provide this functionality for listing commands (e.g. npm ls or npm list, docker network ls or docker network list). rm is a little different, since I feel like the "long name" that CLIs tend to support is "remove" instead of "delete" (e.g. docker network rm or docker network remove), but at least there is precedent for supporting shorthand command names, and ls/list and rm are pretty ubiquitous.

Cleaning u old issues, reopen if this is still active.


ASTMangler: Fix mangling of SILFunctionType with @pack conventions [5.9]

Description: We incorrectly mangled SILFunctionTypes, which only appear in debug info. The symptom was an assertion failure in demangling.
Risk: Low, changes the mangling for variadic generics only
Reviewed by: @hborla
Radar: rdar://problem/107151125.
Tested: Added a test case.

@swift-ci Please test

@swift-ci Please test


Selections and Producers

For this PR I am planning to

[x] Add new selection interface
[ ] Add InvariantMass producer

The current implementation is not yet fully working, even if I use an empty selection:
selection = Selection(
        dict(
            All=()
        )
    )

selection.set_monitoring_file('test.txt')

The code:
dataframes = tree.scan(tblcfg=tables, max_events=50, selection=selection)

    for df in dataframes:
        print df
        print df.to_string(index=False)

Produces the error
[('component', 'depth', 'class', 'name', 'pass', 'total')]
Traceback (most recent call last):
  File "run.py", line 57, in <module>
    print df.to_string(index=False)
AttributeError: 'list' object has no attribute 'to_string'

If somebody can think of an easy unit test for this problem that does not use data, please let me know.

This PR is now ready for review.
Invariant mass producer example output for Z candidates:

It is good have test.
But I am not sure if nose is a good choice at the moment.
I thought about using nose for other projects. But then I didn't use it because its website says that "Nose has been in maintenance mode for the past several years and will likely cease without a new person/team to take over maintainership. New projects should consider using Nose2, py.test, or just plain unittest/unittest2."
Shouldn't we consider using other test packages as the nose website suggests?

Ah, yes. It has been on my list for a while, but I am slipping back into old habits.
The nose2 syntax is close to Ruby and seems to be very easy to construct story-like tests:
http://nose2.readthedocs.io/en/latest/such_dsl.html

ok. maybe we should switch to nose2 or pytest at some point.


errors while compiling PyTroch

Hello I tried to compile ROCm/PyTorch for my RX580 but I get everytime this error and I dont know hat I have to do.
I use this Doc  to compile it.

I hope someone can help me. Or is there a precompiled image for my RX580?

Perhaps you have to apply this patch (not sure if it is already fixed in current version, but the last time I built PyTorch I had to apply it): https://github.com/pytorch/pytorch/commit/3a7ecd32eb7418e18146fe09dc9301076b5f0f17
If that's not the issues, maybe this guide can help: https://github.com/ROCmSoftwarePlatform/pytorch/issues/581

pytorch/pytorch@3a7ecd3 worked for me but now I tried to check if everything is working with PYTORCH_TEST_WITH_ROCM=1 python test/run_test.py --verbose but I get this.
After the the compile process the script also copied a lot of files.
I also replaced python with python3

Try using python3.6 instead of python3


[bug]: forced named parameter not found

Describe the bug
I installed the latest version of stacked_services (1.1.0) , when I tried to run my application, I got a gradle error message:
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/stacked-3.4.0/lib/src/view_models/view_model_widget.dart:31:13: Error: No named parameter with the name 'force'.
rebuild(force: true);
If I manually amend the offending rebuild method, to remove the named paramter, the issue goes away.
flutter doctor:
[√] Flutter (Channel stable, 3.3.7, on Microsoft Windows [Version 10.0.19045.2965], locale en-ZA)
[!] Android toolchain - develop for Android devices (Android SDK version 32.0.0-rc1)
X Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[√] Visual Studio - develop for Windows (Visual Studio Professional 2022 17.6.0 Preview 6.0)
[!] Android Studio (version 3.6)
X Unable to determine bundled Java version.
[√] Android Studio (version 2021.2)
[√] VS Code (version 1.78.2)
[√] Connected device (2 available)
[√] HTTP Host Availability
! Doctor found issues in 2 categories.
To reproduce
flutter create test_app
pubspec ->
dependencies:
stacked_services: ^1.1.0
run application
Expected behavior
application runs
Screenshots
No response
Additional Context
No response

@designstyles I just tested and I didn't find any issue. Try to update Flutter to latest stable version.
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.2, on macOS 13.3.1 22E772610a darwin-x64, locale es-419)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.78.2)
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!

Steps (Stacked CLI 1.9.0)
1. stacked create app my_app
2. update stacked_services from 1.0.0 to 1.1.0
3. flutter pub get
4. stacked generate
5. flutter run

If the issue continues, you can upload the project to a public repository and share it here.


Fix issues with telomeric regions

chromosome, subtelomeric region
-> remove parent 'heterochromatin

Add missing term,
subtelomeric heterochromatin
is_a heterochromatin
this will be parallel to pericentromeric heterochromatin, and to the corresponding BP terms
reported by @colinlog

Subtelomeric Chromatin in the Fission Yeast S. pombe
Rajesh K Yadav 1, Atsushi Matsuda 2, Brandon R Lowe 3, Yasushi Hiraoka 4, Janet F Partridge 3
PMID: 34576871

+[Term]
+id: GO:0140720
+name: subtelomeric heterochromatin
+namespace: cellular_component
+namespace: Heterochromatin that is located adjacent to the telomere, and characterized by methylated H3 histone at lysine 9 (H3K9me2/H3K9me3). {xref="PMID:34576871"}
+is_a: GO:0000792 ! heterochromatin
+intersection_of: GO:0000792 ! heterochromatin
+intersection_of: part_of GO:0099115 ! chromosome, subtelomeric region
+property_value: term_tracker_item https://github.com/geneontology/go-ontology/issues/22353 xsd:anyURI
+created_by: pg
+creation_date: 2021-11-05T13:19:40Z


Make ExchangeWithConnContext public

If we want to use a custom mechanism of obtaining a Conn that doesn't match the net.Dialer type, but retain the timeout behaviour from ExchangeContext, there was previously no way to accomplish this.
This PR makes the underlying ExchangeWithConnContext function public, which allows this behaviour.
Now that #1454 is merged, there is no longer any interaction between the context provided and the singleflight behaviour, so I removed the comment from ExchangeWithConn.

@miekg @tmthrgd gentle ping on this; anything I can do to help move this forward? Happy to e.g. write additional tests.

If we want to use a custom mechanism of obtaining a Conn that doesn't match the net.Dialer type, but retain the timeout behaviour from ExchangeContext, there was previously no way to accomplish this.

I don't understand... you mean doesn't match the net.Conn interface or some such? As exchangeWithConnContext has the identical paramaters (apart from the context) I don't see how this would help

If we want to use a custom mechanism of obtaining a Conn that doesn't match the net.Dialer type, but retain the timeout behaviour from ExchangeContext, there was previously no way to accomplish this.

I don't understand... you mean doesn't match the net.Conn interface or some such? As exchangeWithConnContext has the identical paramaters (apart from the context) I don't see how this would help

Concretely: if I need to do something to obtain a *dns.Conn other than using a *net.Dialer (through Client.Dialer), there's no way to both do that and add a timeout to the request. I can do something like:
netConn, err := myDialFunc(/* args */)
// check err
conn := &dns.Conn{
	Conn: netConn,
}

var c dns.Client
resp, _, err := c.ExchangeWithConn(msg, conn)

However, there's no way to add a timeout to the ExchangeWithConn function. ExchangeContext doesn't let me provide a *dns.Conn, and the Dialer field of Client is of concrete type *net.Dialer so I can't override it with my custom dial logic.
Exposing ExchangeWithConnContext would allow me to pass a context.Context with an appropriate deadline and thus add a timeout to the query.

Ah I see.
Also for symmetry it would be nice to have both those *Context function to
be public.
Cheers
On Sun, 18 Jun 2023, 01:51 Andrew Dunham, @.***> wrote:

If we want to use a custom mechanism of obtaining a Conn that doesn't
match the net.Dialer type, but retain the timeout behaviour from
ExchangeContext, there was previously no way to accomplish this.
I don't understand... you mean doesn't match the net.Conn interface or
some such? As exchangeWithConnContext has the identical paramaters (apart
from the context) I don't see how this would help
Concretely: if I need to do something to obtain a *dns.Conn other than
using a *net.Dialer (through Client.Dialer), there's no way to both do
that and add a timeout to the request. I can do something like:
netConn, err := myDialFunc(/* args */)// check errconn := &dns.Conn{
Conn: netConn,
}
var c dns.Clientresp, _, err := c.ExchangeWithConn(msg, conn)
However, there's no way to add a timeout to the ExchangeWithConn
function. ExchangeContext doesn't let me provide a *dns.Conn, and the
Dialer field of Client is of concrete type *net.Dialer so I can't
override it with my custom dial logic.
Exposing ExchangeWithConnContext would allow me to pass a context.Context
with an appropriate deadline and thus add a timeout to the query.
—
Reply to this email directly, view it on GitHub
https://github.com/miekg/dns/pull/1459#issuecomment-1595893596, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACWIW4MJEL2A5CYUSJAOB3XLY7JVANCNFSM6AAAAAAX5HF54U
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thank you!


Allow browscap-js-cache backend to return a Promise

Title says it all: This patch transparently allows the cache backend to return a promise instead of a JSON result if it doesn't yet have any result available. This important in Web contexts (such as web-pages, or, in my case, browser extensions) that don't have the ability to do synchronous I/O when reading files. And probably could also be useful in Node.JS (asynchronous I/O is the prefered way there too!).
As documented in the respective comments, the code replaces the Node.JS default Promise implementation with SynchronousPromise to allow for results to be propagated synchronously to the caller if no actual asynchronous operations where involved. Without this it would not be possible to unpack the final value synchonously when using the default browscap-js-cache backend and this would break backward compatibility with existing dependants as well as the current unit tests.

The build is failing on node.js below version 6. Does synchronous-promise require node 6?

I tested this on an Ubuntu 16.04LTS VM with NodeJS v4.2.6: It turns out the Array-unpack syntax is not supported on this version.
Since the Travis build output is pretty unhelpful I don't think I can test with versions below this however.

The current build error is with NodeJS 0.* and looks like an incompatibility in the mocha test runner itself:
/home/travis/build/mimmi20/browscap-js/node_modules/mocha/node_modules/supports-color/index.js:2
const os = require('os');
^^^^^
SyntaxError: Use of const in strict mode.
    at exports.runInThisContext (vm.js:73:16)
    at Module._compile (module.js:443:25)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/home/travis/build/mimmi20/browscap-js/node_modules/mocha/lib/reporters/base.js:11:46)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)

Please add the following changes to your PR:

remove all versions of node.js below 4 in .travis.yml
set the required node.js version to 4 in package.json

mocha has dropped the support for node.js versions below 4

mocha has dropped the support for node.js versions below 4

Thank goodness 😉

Please add the following changes to your PR:

Done

… and the build passed!


Upgrade template

What was wrong?
Merge template updates, notably adding python 3.12 support
Closes #276
Todo:

[x] Clean up commit history
[x] Add or update documentation related to these changes
[x] Add entry to the release notes

Cute Animal Picture

can we get a version bump? this is the only dependency of apeworx that still uses setuptools. pinning to a new version would allow us to remove our own setuptools dependency :)
being tracked here https://github.com/ApeWorX/ape/pull/2003

can we get a version bump?

Has been released as v0.11.0-beta.2


cannot hide information inside some tags

with tags like <div>, <body> etc there is a small arrow in the right, so you can hide the information inside of it. but it doesnt work with tags like <script> or <style>. is it a problem or it should work in a such way?

Which arrow and where? Code editor, live preview, something else?
Could you add a small screenshot showing the issue?

sorry, my bad english.
i was talking about this triangle near tags, which help you with hiding information inside of tags. you can see one near "", but not near "

Ah, that arrow! Yeah, I can reproduce in Brackets but not in the codemirror code folding demo at http://codemirror.net/demo/folding.html
/cc @thehogfather

did a quick check and the reason for this appears to be that the handlebars fold (which is now registered for the htmlmixed mode) does not correctly parse xml tags. I will look into addressing this.

After a bit more investigation, it turns out the htmlmixed mode in code mirror returns the inner mode starting from the opening html tag. This means when you query the mode at the line that says <style> or <script> you get css or javascript instead of xml.
As a result, the correct fold range finder is not loaded for the line. An issue/question has been raised on CodeMirror to track this.

The issue turned out to be a missing parameter to the CodeMirror.Pos constructor in a number of places. PR #13198 should address this.

Closed by #13198


Global Scroll-to-Top Button, External Links Open New Tab, and Misc Changes

Description of changes
Nearly all of this work was from @sethbergman - thanks go to him. I just did some rebasing/reverting on a few items.
The main aspect of this PR is the introduction of a global scroll-to-top button and making sure that all external links open new tabs.
Additionally, merging this PR will ensure that:

History will be properly implemented,
/squads table will populate data properly in regards to React Life Cycle
Typos in alt tags on Service Badges are fixed
LinkButton components have "link-like" stylings

Issue Resolved
Fixes #426
Fixes #395

Closed to make way for #438

There was one small difference between the branches and I finally found it. Closing this one again.


in rl_algos/collector.py

code in collector.py (line 58、59、68），should not "obs = obs_new"(line 59) be placed after "self.buffer.add"(line 68)?  Thanks for pointing this out. This local collector probably has not been tested, because it is very slow to run with only one ROS process locally. I usually just parallelize it using containers. I will update it now.

If you want to try container. In the fourth step of the installation instruction, the anonymized singularity cloud account [XXX] is [zifanxu], you can try to pull a Singularity image following that instruction.

thank u.


working-with-a-github-packages-registry

https://daringfireball.net/projects/markdown/syntax#backslash

Why:
Closes [issue link]

What's being changed:

Check off the following:

[### 5THforLIFE ] I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[x] This pull request impacts the contribution experience

[x] I have added the 'writer impact' label
[x] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

5THforLIFE### **

[content/get-started/writing-on-github/working-with-a-github-packages-registry](https://daringfireball.net/projects/markdown/syntax#backslash) **

https://daringfireball.net/projects/markdown/syntax#backslash

https://github.com/github/docs/pull/16445#issue-1176160225

https://github.com/github/docs/pull/16445#issuecomment-1074609530


CSS changes for low resolution devices

Fixed CSS for low resolution devices.

Reduced font-size in side-nav and hover-menu.
Calculated position of hover-menu on the basis of its width(if we are able to fit it in the page or else shift it left)

Stale PR


chore: update lightingcss to lightingcss_rs

Summary

Lightincss have a bug about minimizing CSS may shuffle the CSS property order.
The css code:
.foo {
   height: auto;
   height: calc(100vh - var(--header-height, 0rem));
}

After lightningcss minify, css code would like this
.foo {
   height: calc(100vh - var(--header-height, 0rem));
   height: auto;
}

care the lightingcss publish cycle. we publish a new crate named lightingcss_rs;
So we update lightingcss to lightingcss_rs for fix this issues https://github.com/web-infra-dev/rspack/issues/7921
Checklist

[ ] Tests updated (or not required).
[ ] Documentation updated (or not required).

Where is the source code of lightingcss_rs?

Where is the source code of lightingcss_rs? Is there a branch or fork of lightningcss?

From this branch https://github.com/GiveMe-A-Name/lightningcss/tree/fix/size-prop-order.
This is diff from lightningcss main branch between and this branch https://github.com/parcel-bundler/lightningcss/pull/838

I see, we should explain that this is a temporary workaround and we will switch back to the official version when lightningcss fixes the issue and releases it.


Make all dependencies be compatible with RxSwift 4.0

Support for iOS 8.0 and higher

@RafaelPlantard I really like your courage 😂  but my question is why on earth do we want to support iOS 8.0 ? take a look at this data here and let me know what you think market share

I just used the "same" OS requirements found at RxSwift and RxCocoa, what do you think?
Actually I just need support for iOS 9.0
But RxSwift and RxCocoa support also iOS 8.0

@RafaelPlantard let's do support from iOS 9.0. can please go through the @available(iOS 9.3, macOS 10.11, *) and make sure it's not causing breaking changes?

Ok!

@bobgodwinx I closed this PR to open other directly to ios-9.0 branch.


Add exchange rates api

add exchange rates api + a-z sort order

Awesome, I was going to clean this up once the PRs slowed down a little, thanks for diving in! :)


This is fake!

Describe the feature
This clearly uses davinci model in src/chatgpt-api.ts , as you can see on line 11 and 12,
// Official model (costs money and is not fine-tuned for chat) const CHATGPT_MODEL = 'text-davinci-003'.
Why?
(davinci model aint chatgpt)

It is not fake; the current version does use text-davinci-003, but there are other options available.
This package has gone through many iterations, and you can still use v3 which is a browser wrapper around accessing the ChatGPT web UI directly.
We moved to using the OpenAI completions API for three main reasons:

We've been able to use stealth, fine-tuned chat models for most of the time since the switch (though OpenAI keeps disabling them)
For most people, the difference was negligible
The browser-based solution was difficult to use consistently and painful to maintain

The goal, of course, is to have 1:1 parity with ChatGPT, and for that we're still waiting for the official API to be released. Hopefully soon. Until then, we'll be doing the best we can to provide a ChatGPT wrapper ideally using a fine-tuned chat model, but OpenAI disabled it earlier today and we're still looking for a workaround.

Ohh...

@Xanderplayz16 also check out the latest release; ChatGPTUnofficialProxyAPI is probably what you're looking for.


Benerate Extern for Rust

Took this out of the milestone because we've already had to deal with externs like crazy to support wrapped clients and SDK wrappers, so it's low value to benerate at this point.


Telink b91 tlsr9518adk serial gpio

Basic support for Telink B91 SoC and TLSR9518ADK board:

PinMux Driver
Serial Driver
GPIO Driver

Hi all,
Next week I will not have access to the internet and I will not be able to response messages.
Will come back on May, 31.

I have no objections to merging this (and creating the hal_telink repo), but the toolchain issue needs to be resolved with @galak and @nashif first.

@carlescufi,
The toolchain issue is resolved, the zephyr toolchain is supported.
Could you please continue with the PR?

I have no objections to merging this (and creating the hal_telink repo), but the toolchain issue needs to be resolved with @galak and @nashif first.

@carlescufi,
The toolchain issue is resolved, the zephyr toolchain is supported.
Could you please continue with the PR?

Hi @yurvyn yes, let us create the actual HAL repo first and the continue.

The next projects fail to build since NDS32 FPU is not supported by the RISC-V toolchain located in zephyr-sdk:

tests/kernel/fpu_sharing/float_disable
tests/kernel/fpu_sharing/generic
tests/lib/sprintf

Is it possible to disable these projects in buildkite/zephyr check for tlsr9518adk80d board?

So it's only the FPU that is not currently supported from what I understand.
@galak any input here?

@carlescufi,

Why not just remove the select FPU from the SOC_RISCV_TELINK_B91 Kconfig option?

It is already removed (soc: riscv: telink_b91: support of zephyr toolchain).
The issue is reproducible only with the fpu_sharing and sprintf tests project which enable FPU. These projects are pass if use NDS32 toolchain.
The board documentation contains this info: To use Floating Point Unit (CONFIG_FPU=y) a Telink specific RISC-V Toolchain is required...

@galak, @carlescufi
The hal_telink module is created and I have just updated the revision in west.yml.
If you are done/ok with the review, please merge it.

The issue is reproducible only with the fpu_sharing and sprintf test projects which enable FPU. These projects are pass if use NDS32 toolchain.

In that case you will need to exclude the Telink board from those tests.
For the best way to do that I will delegate to @galak, @nashif and @PerMac

@carlescufi,

maybe you need to disable CPU_HAS_FPU in this case?

I don't think that it is good solution from the interface point of view. With the current solution, to use FPU users just need to enable it via CONFIG_FPU=y and use Telink/NDS32 specific toolchain. In case if CPU_HAS_FPU is removed, users need to set the both configs, and this is not really good because CPU_HAS_FPU is not designed to be set by end users.

@carlescufi,
I have just checked the solution from qemu_riscv32 (the only one RISC-V board with CPU_HAS_FPU enabled) and looks like now I can use FPU with the zephyr-sdk toolchain, just need to set COMPRESSED_ISA in board's Kconfig.defconfig file.
I need some time to finish the testing and tomorrow I will provide a final commit which should pass all the checks.

@carlescufi, @galak,
All CI checks pass.
If you are ok/done with the review, please approve the PR.

I am not sure that it is good solution from the interface point of view. With the current solution, to use FPU users just need to enable it via CONFIG_FPU=y and use Telink/NDS32 specific toolchain. In case if CPU_HAS_FPU is removed, users need to set the both configs, and this is not really good because CPU_HAS_FPU is not designed to be set by end users.

I agree that CPU_HAS_FPU should signify the HW (SoC) capabilities. So, if the SoC supports it, the option should stay in the SoC definition. If the Zephyr SDK does not support FPU for this particular ARCH/Board,  guess the best option should be to disallow enabling FPU/FPU_SHARING for this case.

@galak,
Cold you please approve the PR?

@stephanosio,

IIUC, B91 is the name of the development board (EVK), and the actual SoC family is called TLSR9.
If that is the case, the B91 nomenclature should only be used by the board portion. The rest (SoC and drivers) should use the TLSR9 nomenclature.

B91 definitely is related to SoC name, it is like alias for TLSR9.
Below you can see that all the rest SDKs related to this family also start with "B91":
http://wiki.telink-semi.cn/tools_and_sdk/BLE/B91_BLE_SDK.zip
http://wiki.telink-semi.cn/tools_and_sdk/BLE_Mesh/SIG_Mesh/B91_SIG_Mesh_SDK.zip
http://wiki.telink-semi.cn/tools_and_sdk/Driver/B91_Driver_SDK.zip
However, I have to discuss the renaming of "B91" to "TLSR9" in Zephyr with my colleges.
I will come back once I have updates.
Thanks, good point.

IIUC, B91 is the name of the development board (EVK), and the actual SoC family is called TLSR9.
If that is the case, the B91 nomenclature should only be used by the board portion. The rest (SoC and drivers) should use the TLSR9 nomenclature.

B91 definitely is related to SoC name, it is like alias for TLSR9.
Below you can see that all the rest SDKs related to this family also start with "B91":
http://wiki.telink-semi.cn/tools_and_sdk/BLE/B91_BLE_SDK.zip
http://wiki.telink-semi.cn/tools_and_sdk/BLE_Mesh/SIG_Mesh/B91_SIG_Mesh_SDK.zip
http://wiki.telink-semi.cn/tools_and_sdk/Driver/B91_Driver_SDK.zip
However, I have to discuss the renaming of "B91" to "TLSR9" in Zephyr with my colleagues.
I will come back once I have updates.
Thanks, good point.

@stephanosio,
I have just discussed the SoC name with the colleagues once more (the first time I discussed it during the development) and the decision is to go with B91.
B91 is an alias for TLSR9 and means:
B - BT/BLE/Zigbee/2.4G
9 - RISC-V
1 -  product generation
On the Telink website both family names are used TLSR9 and B91.
But, the reason why we should go with B91 is that we want to be consistent with all the rest SDKs which are using B91 only.

@mbolivar-nordic, @galak, @stephanosio, @ioannisg
If you are done/ok with the review, could you please approve it.

@mbolivar-nordic, @galak, @stephanosio, @ioannisg
Are you OK with the PR? please approve it.

If you are done/ok with the review, could you please approve it

Not sure about the GPIO interrupt handling here.

@galak, @stephanosio, @mbolivar-nordic
All your comments are fixed.
Please review.

@galak, @stephanosio, @mbolivar-nordic
West setup check fails with ERROR: update failed for project tinycrypt.
Looks like it is not related to my changes.
Should I do something with it?

@galak, @stephanosio, @mbolivar-nordic
All your comments are fixed.
Please review.

@galak, @stephanosio, @mbolivar-nordic
West setup check fails with ERROR: update failed for project tinycrypt.
Looks like it is not related to my changes.
Should I do something with it?

@galak, @stephanosio, @mbolivar-nordic
In case if you are OK with my fixes and if you do not have new comments, please approve the review.

@galak, @stephanosio, @mbolivar-nordic
I already have a list of other drivers/subsystems which are waiting for PR, such as: IEEF802154/OpenThread, PWM, Flash, Entropy, SPI, I2C etc. Pull requests for such divers can be created in parallel, but they all are blocked by this basic PR.
Could you please speed up the review?

Hello @galak, @stephanosio, @mbolivar-nordic
Looks like you have reviewed all files.
From my side all comments are fixed, CI checks are passed.
Could you please approve the PR?

@galak, @stephanosio, @mbolivar-nordic
All comments are fixed, CI checks are passed.
Please approve the PR.

All comments are fixed, CI checks are passed.

One of my comments was marked resolved but I'm not sure of the response, so I unresolved it.

One of my comments was marked resolved but I'm not sure of the response, so I unresolved it.

@mbolivar-nordic,
Please check the fix.
If everything is OK and and if you are done with the review, cloud you please approve the PR?

Hello @stephanosio,
The last one change request is left which is blocking merging.
Could you please check my fixes and mark them as resolved?

@carlescufi, @stephanosio, @galak, @ioannisg, @mbolivar-nordic
Could anyone please merge the PR?


Add icons

I was just wondering if you plan on supporting icons for the tree items? Something like this:

I am investigating the possibility use your library instead of our own settings dialog with tabs, and being able to use the same icons would ease the transition for the users.

On a side note (you can make this a separate issue if you would consider this a feature suggestion), I'm also wondering if you plan on allowing users to add custom nodes (mainly images) to a category? As you can see in the example above, we use images to help users know what they are changing.

Implemented in #52


Exe file run on mac

Hi,
I have some questions about the mac platform.
As you know, the IL Assembler generates a portable executable (PE) file from intermediate language (IL). I wonder the executable file can run on mac? Or is there some way to run that file?

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

ID: 64ba952e-6354-ec6b-c890-d7e22d75abd8
Version Independent ID: ac591d0f-d67f-25a5-b100-aa48ec2d5d04
Content: Ilasm.exe (IL Assembler)
Content Source: docs/framework/tools/ilasm-exe-il-assembler.md
Product: dotnet-framework
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

I got that. It can be run by mono.


Spike: Explore Options for FAM Data Model Management

Explore options for Data model change management for FAM. Currently the team is maintaining FAM's data model manually in ER Studio and overwriting the database with a new model when a change is required.
This ticket is to explore managing FAM data model from the database.
Finding  from using ER Studio shows the following:

Using ER studio for deployment of the FAM's db physical model for creation of a new database worked well with the help of the data architect.
Some tables such as grant, database user could not be created easily using a model, but was scripted into the model with code on ER studio. These tables do not display on the Data Model diagram, but could be deployed from ER studio.
Changes to the DB have not been done through incremental changes to the FAM DB but through re creation of the entire database, this cannot be managed this way in Production.
Hence, this spike is to explore the automation of the exporting the data model and other required information into ER studio from the database when a change is made.

Task

When a change to the data model, table or field is done on the database from the development environment, include an automated step to export an updated version of the physical model of the database into an ER studio consumable file and store file in a github issue for a manual upload to ER Studio.

More information will be required on the following in future iterations:

Data architect's requirement for information required in the ER Studio file (Field name, description, db metadata e.t.c.)
Procedures for managing changes to the data model going forward.
Determine if ER Studio needs to be used for Data Model management or if other options such as Github actions can be used to extract FAM's data model and shared with data architect.

Explore options for Data model change management for FAM. Currently the team is maintaining FAM's data model manually in ER Studio.
This ticket is to understand the following:

Data architect's requirement for data model management.
Procedures for managing changes to the data model going forward.
What resources are required to manage FAM's data model
Determine if ER Studio needs to be used for Data Model management or if other options such as Github actions can be used to extract FAM's data model and shared with data architect.

@ConradBoydElliottGustafson please see if more information is required on this ticket.

Task is being worked on in #128 . Documentation ticket to be created.


Getting a 404 error

I followed your instructions. When I try to install the app from the Partners dashboard it redirects me to a 404 page.

I wanted to give a quick update, when I try to install the app it attempts to take me through the installation process. It then times out after 3mins. It returning a 504 error now.

Can I have more info into what's your setup like? Like Localtunnel, Mongo and other configuration? Because I've been working on this template as a starter for 2 production grade apps and the boilerplate works out of the box, so I'm pretty sure it's just a configuration issue and the documentation needs to be clearer on setting up the repo

I figure it out my configuration was off earlier.

Glad you figured it out! Please feel free to open any issues if they pop up!

@waleakande What was off in your config? I keep getting the same 502.
@kinngh Why are you exporting createServer? I suggest using named exports tho.

@kinngh Why are you exporting createServer? I suggest using named exports.
When running npm run dev the server is not starting (createServer never gets called)

@ivorpad The implementation is half done. Currently it runs in production mode only, I had some issues with dev mode so that's still pending. The issue is on my end because I should have made it clear that dev mode with HMR is currently under testing.

Ref comments on commit 71dcc47


Created an instance.js file (issue #16)

For the sake of guaranteed backwards compatibility, I'm creating a new instance.js file that can be imported by doing this:
import emitter from 'tiny-emitter/instance';

This makes it easier for browserify users to use as it allows them to avoid having to create their own extra tiny file in their local file system just for initializing the emitter.
This solves issue #16

"Should probably add a test to ensure that the instance exists and is an instance of E."
Why? Both of those things are guaranteed because index.js is always going to exist and E is always going to be an instance of E. That's just how npm works.
The only way to stop either of those things from happening is for the user to edit the files directly. Or maybe they edit E.prototype. Either way, if they do that then it's being done on purpose.
All your asking for is unnecessary extra file bloat.

I want to ensure that requiring that file returns an instance. This is to avoid regressions in the future.

I want to ensure that requiring that file returns an instance. This is to avoid regressions in the future.

I still don't see how adding those checks would improve anything. :/
The only time that E won't be an instance of E in a future update is if you make a majorly breaking change that will will break everyone's implementation of this plugin. Or maybe you just change the name of index.js to something else and forget to update the instance.js file to reference the new name. If that happens it would be breaking a lot of peoples installations if they use this new method.
If the checks fail, does it just make everyone's system throw an error?
I just really don't see what benefit you are trying to achieve from adding extra checks for things that are guaranteed to be what they are supposed to be.

Thanks for the PR. I'll merge. I'm going to add the tests. I'm probably using the wrong words to communicate what I meant.
Thanks!

Published as 1.2.0

Cool :)
Oh ok I get it now. You just meant updating the file in the "test" folder.


Fix volumes created through machines api

I took @DAlperin's fork, and just didn't use the flyctl/api part that he is hoping to add. I just wanted to get volumes working again. No idea just what state that means this code is in, but it unblocked me, so I figured I'd offer it in case anyone can use it.

Apologies @jeffdeville: it's not obvious whether anyone here will have a chance to go through this PR in the immediate future. I'm going to adjust the README to reflect that, for the moment, this provider is not maintained.


Validation error message unclear when requiring array length

I use a schema with a required min length for an input schema:
t.Array( ..., { minItems: 1 },)

But when I provide an empty array I get an error like this:
Error in POST /my/path: VALIDATION {"type":"validation","on":"body","found":{"user":{"authProviderId":"dfaeabff"},"resources":[]}}. Thrown at Error: {"type":"validation","on":"body","found":{"user":{"authProviderId":"dfaeabff"},"resources":[]}}
    at new _ValidationError (/app/prod/node_modules/elysia/dist/index.mjs:2379:9)
    at <anonymous> (:110:49)
    at processTicksAndRejections (:12:39)

There is no hint on why the request failed/why the validation failed. Something like: "The array does not match the required length" would be nice. Is this an elysia thing or should I ask @sinclairzx81 over at the typebox repo?

Can you expand on your specific use? I was returned useful errors when the body was an object with an array in it or just an array itself.


Update spam_attendee_list_solicitation.yml

Description
Negating Zendesk support tickets
Associated samples

https://platform.sublime.security/messages/93e45c62aadca5c4c9b6092131f9f44849b58cfd5eae67d251c8b0c621c5a038
https://platform.sublime.security/messages/7e1bbb03f5568f56c93ee390d0be6e7aae99729e707a76da7a4ad757313feff4

I wonder if it's be more accurate to use the mailer or msgid which also include zendesk references vs any a to zendesk?
Just a thought.


Replace redux-promise-middleware with own super simple implementation

Another release, another breaking change. And the code is just a mess. I believe it can be replaced with just several lines of code.

Options we have

simplify redux-promise-middleware, remove confusing action reason wrapper, pass action as payload to start, and result in error or success.
stuck with redux-promise-middleware
switch to redux-saga

I am quite the fan of #3.  Although it was a tad daunting at the start, Redux-saga seemed the most intuitive after a touch of learning :)

redux-sage is the way to go, definitely. But I have to provide working escape hatch for legacy projects. I think this is what redux-promise-middleware was supposed to be.
const promiseMiddleware = ({ dispatch }) => next => action => {
  const { type, payload: promise } = action;
  const isPromise = promise && typeof promise.then === 'function';
  if (!isPromise) return next(action);
  const createAction = (suffix, payload) => ({
    type: `${type}_${suffix}`, meta: { action }, payload
  });
  next(createAction('START'));
  const onFulfilled = value => {
    dispatch(createAction('SUCCESS', value));
    return value;
  };
  const onRejected = error => {
    dispatch(createAction('ERROR', error));
    throw error;
  };
  return promise.then(onFulfilled, onRejected);
};

Been there, done that. Again.

What is going on? Not that you need to, since it is your repo, but you have not provided a clear explanation. Perhaps this is a language issue, or perhaps this is a style issue, but wtf?
"saga" - worst name ever for a web request

What are you asking about? redux-promise-middleware broke Este several times. It's code is unreadable doing too much stuff. I decided to rewrite it from the scratch. It took me two hours. Just dealing with redux-promise-middleware took me several days.

So @steida shouldn't we begin to work on redux-saga integration?

I don't think we need it. I am trying to limit cognitive overhead as much as possible with Este. My own implementation works well and the code is minimal.

okidoki

+1 for Saga, it's really awesome. Very readable, super testable (w/o mocking) and you can easily implement things like debounce in your actions.
For smaller projects, promise middleware is ok. Once you hit some more complex async work flow, it becomes cumbersome. Redux-saga keeps stuff simple. Also, it has great docs.


version 4.0.0 The application size is very large

version 4.0.0 The application size is very large

Was it smaller in 3*?
I only added opencv which is 15 mb on Android and don't know the size on iOS.
Where do you say it's too large? iOS or android

in android
in version 2.0.5 size app 100 MB
in 4.0.0 size app 400 MB

release

setting min sdk to 24 is the main problem
but setting         android:extractNativeLibs="true"
in android manifest reduced it to 181 mb

upon further checking, the problem is related to torch version, since https://github.com/zezo357/pytorch_lite/pull/42 uses same logic as version 2 but the torch version is the latest
and the apk size is 168mb

most probably fixed in 4.2.0 , check and let me know


Improve ergonomics

Improve ergonomics of working with phenopacket data.

Was there a reason to not leverage phenopackets python library? It has serialize deserialize using protobuf

@pnrobinson the PR is ready to review.
These are the main highlights:

pytest fixtures show how to create a phenopacket programatically
Phenopacket & friends can be read from and written to JSON or protobuf. The loading will raise a ValueError if a required field is missing, per Phenopacket Schema. Sadly, only the first failure is reported at the moment (we can improve later)
we have type hints for the phenopacket components

We can import all classes as:
from pyphetools.pp.v202 import *

Please give me a :+1: if looks good and let me know if you find anything odd.
Thanks!


Ogc conformance testing

This PR adds a quick tutorial how to setup the OGC confomance tests for WMS 1.3.0 and WMS 1.1.1

thanks @mhugent!

@mhugent cool to see this. Do you have the QGIS project ? To run test ?

@rldhont: the project does not involve styling at all. Just download the zip file with the data and load all the shapefiles and geotiffs into a project (the layer names should already be okay). Then you can run the tests against that project.

@mhugent ok thanks!


Table.findOne(...).getRows is not a function

I'm trying to write an action to delete/filters rows with past dates:
await Table.findOne({name: 'dons'})
           .deleteRows({id: (
             await Table.findOne({name: 'dons'}).getRows())});

I'm getting Table.findOne(...).getRows is not a function:

TypeError: Table.findOne(...).getRows is not a function
    at evalmachine.<anonymous>:3:50
    at Object.run (/usr/local/lib/node_modules/@saltcorn/cli/node_modules/@saltcorn/data/base-plugin/actions.js:266:20)
    at Trigger.runWithoutRow (/usr/local/lib/node_modules/@saltcorn/cli/node_modules/@saltcorn/data/models/trigger.js:153:14)
    at /usr/local/lib/node_modules/@saltcorn/cli/node_modules/@saltcorn/data/models/scheduler.js:60:25
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async eachTenant (/usr/local/lib/node_modules/@saltcorn/cli/node_modules/@saltcorn/data/models/tenant.js:94:3)
    at async run (/usr/local/lib/node_modules/@saltcorn/cli/node_modules/@saltcorn/data/models/scheduler.js:45:5)
    at async runScheduler (/usr/local/lib/node_modules/@saltcorn/cli/node_modules/@saltcorn/data/models/scheduler.js:79:5)

on latest docker image:
Saltcorn version | 0.5.1
Node.js v14.17.3
PostgreSQL 13.4
Additionally, I don't get how to say getRows(row.date > Date.now())
Any idea?
Thanks

While trying to fix it, I'm also getting errors about common JavaScript functions like split
How would you check if date is past or future without splitting date format like "2021-09-01T16:00:00.000Z"?

Hi, a couple of problem:
await (await Table.findOne({name: 'dons'}))
           .deleteRows({id: (
             await (await Table.findOne({name: 'dons'})).getRows())});

You need to wrap the findOne in its own await. This is no longer true in a more recent version of Saltcorn, unfortunately the darker images are behind since docker hub stopped doing automated builds. I will try to do a manual push
also, id: (await (await Table.findOne({name: 'dons'})).getRows())}) isn't going to work, you need to map to the ids.... I would wait until I updated documents and then try this using the new Blockly actions, you should be able to do everything or at least a skeleton which can be translated to JavaScript
To translate "2021-09-01T16:00:00.000Z" to a date, do new Date("2021-09-01T16:00:00.000Z")

Thank you very much @glutamate
You're fixing things blazing fast!
Too bad docker hub stopped doing automated builds, it is essential for the moment.
I can't wait to see blockly in the docker version
new Date(), I feel ashamed I didn't think of it :smile_cat:

Where can I see all this documentation? I'm really very lost with this and I'm guessing things through JS blocks

Same for me @gianlucafiore . A lot of hit and miss for now.
Writing documentation takes a long time though.

Great, thank you @glutamate


Anki unresponsive after running plugin.

Macbook Air M1 (2020)
Big Sur 11.6.5
Pull from Duolingo not working for me.
Using Pull from Duolingo under tools, the sign in to duolingo is successful and it proceeds to “Add 3116 notes from German language?” When I click OK, Anki becomes unresponsive and I must eventually Force Quit (tried waiting for a loooong time ). No cards have been transferred. I have tried to restart Anki and restart computer to the same effect.
Would LOVE to be able to use this add on ...

Hi Andrew! Let me take a look and get back to you within the next week.
I did recently update to the latest version of Anki and try running this
plugin. And although it did work for me, I did notice that it was fairly
slow and also that with the latest version of Anki the progress bar I
programmed in was broken. I'll try out a couple different things, like
using text updates instead of a progress bar, and I'll try downloading from
a language where I've got a ton of words like you do.
On Tue, Jul 26, 2022 at 5:13 PM AndrewRRM @.***> wrote:

Macbook Air M1 (2020)
Big Sur 11.6.5
Pull from Duolingo not working for me.
Using Pull from Duolingo under tools, the sign in to duolingo is
successful and it proceeds to “Add 3116 notes from German language?” When I
click OK, Anki becomes unresponsive and I must eventually Force Quit (tried
waiting for a loooong time ). No cards have been transferred. I have tried
to restart Anki and restart computer to the same effect.
Would LOVE to be able to use this add on ...
—
Reply to this email directly, view it on GitHub
https://github.com/JASchilz/AnkiSyncDuolingo/issues/53, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABO2Q4DNDH3W2G3SOTQ53STVWB5KVANCNFSM54XXISWQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Great! Thanks for the response/update.

Hi Andrew! I found that:

Apparently the way that I was updating things like the progress bar during my pulls from Duolingo were kind of hacky.
Some recent changes to Anki caused my hacky code to fail.
Although I wasn't able to reproduce your issue specifically, I imagine that the kinds of problems my code was creating could result in different problems on different systems.
I rewrote this code.

This new code seems to be working well for me in the latest version of Anki. I'm going to clean it up over the next week or so before I officially publish it, but I did make a "release candidate" that you can install manually if you have an opportunity:

Visit https://github.com/JASchilz/AnkiSyncDuolingo/releases/tag/1.2.1rc1
Download the duolingo_sync.ankiaddon file.
In Anki, use "Tools" -> "Add-ons" to:

delete your existing installation of this addon
"Install from file" the add-on file that you just downloaded

You'll then have to restart Anki before the change will take hold (the "Pull from Duoling" option will remain in the menu even before you restart, but it won't point to the new code till you restart).

If you do have an opportunity to use it, I'll of course be curious to know whether:

It works totally
Or if it doesn't work totally, you should hopefully now see a progress indicator that should advance 50 words at a time as it's pulling translations from Duolingo. If it always stops at around the same place or if it always stops at exactly the same place, then that would be an interesting clue.

Here's what that progress bar looks like for me, by the way:

Great work, thanks. Yep, imported more than 3000 words!

Alright, glad to hear it! I'll close this issue after I clean up the code
and publish it for real.
On Sun, Aug 7, 2022 at 6:49 PM AndrewRRM @.***> wrote:

Great work, thanks. Yep, imported more than 3000 words!
—
Reply to this email directly, view it on GitHub
https://github.com/JASchilz/AnkiSyncDuolingo/issues/53#issuecomment-1207561612,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABO2Q4E427AKU3II3NR737LVYBRT7ANCNFSM54XXISWQ
.
You are receiving this because you commented.Message ID:
@.***>

Hi Andrew!
I have cleaned up the code and uploaded my latest build to Ankiweb. I'd be curious to hear if that version also works for you (you'd have to uninstall the current version of the plugin that you have installed, install the Ankiweb version, and restart Anki), but no need to try that out if you don't have a good opportunity.
Thanks again for raising this issue.

OK, will do!


Rephrase Appeal Reward Information

It's not clear enough and people think they should receive reward even if no appeal took place.
https://gov.proofofhumanity.id/t/fund-appeal-reward-not-received-yet/215

In addition to what @ferittuncer has reported. I have to explain that the 50% and 200% is just considering the bounty amount, not the total amount deposited for the dispute. This is tricky for some users. They think that will receive the 200% of the total eth deposited for the appeal

Fixed by #521, can be closed


Implement named subnets feature

What

Implement named subnets feature
Use various amount of private and public subnets

Why

We need option to use various amount of subnets in a single availability zone

Closed in favor of https://github.com/cloudposse/terraform-aws-named-subnets/pull/3


Workflow is empty / failing to find entries

Bug Description
When I invoke the workflow, it no longer pulls up any entries from my .bib file. It was working perfectly until yesterday, and to the best of my knowledge I haven't changed any settings in Alfred, Zotero, or Better Bibtex.
Trying Force Buffer Reload also fails (as seen in log below).
Relevant Screenshot
No response
To Reproduce
No response
Debugging Log
[12:02:16.373] Logging Started...
[12:02:17.789] Supercharged Citation Picker[Hotkey] Processing complete
[12:02:17.795] Supercharged Citation Picker[Hotkey] Passing output '' to Script Filter
[12:02:17.804] Supercharged Citation Picker[Script Filter] Queuing argument '(null)'
[12:02:17.818] Supercharged Citation Picker[Script Filter] Script with argv '(null)' finished

Additional log when I try to Force Buffer Reload:

[12:03:20.445] Supercharged Citation Picker[List Filter] Processing complete
[12:03:20.447] Supercharged Citation Picker[List Filter] Passing output 'buffer_reload' to Conditional
[12:03:20.449] Supercharged Citation Picker[Conditional] Processing complete
[12:03:20.450] Supercharged Citation Picker[Conditional] Passing output 'buffer_reload' to Arg and Vars
[12:03:20.450] Supercharged Citation Picker[Arg and Vars] Processing complete
[12:03:20.451] Supercharged Citation Picker[Arg and Vars] Passing output '' to Call External Trigger
[12:03:20.451] Supercharged Citation Picker[External] Processing complete
[12:03:20.452] Supercharged Citation Picker[External] Passing output '' to Script Filter
[12:03:20.459] Supercharged Citation Picker[Script Filter] Queuing argument '(null)'
[12:03:20.636] Supercharged Citation Picker[Script Filter] Script with argv '(null)' finished
[12:03:20.639] STDERR: Supercharged Citation Picker[Script Filter] 2022-06-03 12:03:20.631 osascript[4243:101082] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSFileManager fileSystemRepresentationWithPath:]: nil or empty path argument'
*** First throw call stack:
(
	0   CoreFoundation                      0x0000000193cdd198 __exceptionPreprocess + 240
	1   libobjc.A.dylib                     0x0000000193a27e04 objc_exception_throw + 60
	2   Foundation                          0x0000000194ae8544 -[NSFileManager fileSystemRepresentationWithPath:] + 620
	3   JavaScriptAppleEvents               0x0000000202169924 __JSAEPathConstructor_block_invoke + 240
	4   CoreFoundation                      0x0000000193c3ddb4 __invoking___ + 148
	5   CoreFoundation                      0x0000000193c3dc2c -[NSInvocation invoke] + 468
	6   JavaScriptCore                      0x00000001ac5f3938 _ZN3JSC24ObjCCallbackFunctionImpl4callEP9JSContextP13OpaqueJSValuemPKPKS3_PS6_ + 464
	7   JavaScriptCore                      0x00000001ac5f3334 _ZN3JSCL34objCCallbackFunctionCallAsFunctionEPK15OpaqueJSContextP13OpaqueJSValueS4_mPKPKS3_PS6_ + 256
	8   JavaScriptCore                      0x00000001ac5f14bc _ZN3JSCL24callObjCCallbackFunctionEPNS_14JSGlobalObjectEPNS_9CallFrameE + 384
	9   JavaScriptCore                      0x00000001ac5869f8 llint_function_for_construct_arity_checkTagGateAfter + 160500
	10  JavaScriptCore                      0x00000001ac583298 llint_function_for_construct_arity_checkTagGateAfter + 146324
	11  JavaScriptCore                      0x00000001ac5591d0 vmEntryToJavaScriptGateAfter + 0
	12  JavaScriptCore                      0x00000001accc0008 _ZN3JSC11Interpreter14executeProgramERKNS_10SourceCodeEPNS_14JSGlobalObjectEPNS_8JSObjectE + 1188
	13  JavaScriptCore                      0x00000001acf36814 _ZN3JSC8evaluateEPNS_14JSGlobalObjectERKNS_10SourceCodeENS_7JSValueERN3WTF8NakedPtrINS_9ExceptionEEE + 236
	14  JavaScriptCore                      0x00000001ac0a26e4 JSEvaluateScript + 584
	15  JavaScriptCore                      0x00000001ac5b2704 -[JSContext evaluateScript:withSourceURL:] + 248
	16  JavaScriptOSA                       0x00000002021c3fd8 -[JSStorage(JSProcedures) evaluateScript:inContextID:] + 548
	17  JavaScriptOSA                       0x00000002021c798c -[JSStorage(JSProcedures) handleEvent:inContext:modeFlags:resultingResultID:] + 572
	18  CoreFoundation                      0x0000000193c3ddb4 __invoking___ + 148
	19  CoreFoundation                      0x0000000193c3dc2c -[NSInvocation invoke] + 468
	20  JavaScript                          0x000000010432b78c JavaScriptComponent + 1208
	21  OpenScripting                       0x00000001ac067a84 OSAExecuteEvent + 76
	22  osascript                           0x0000000102255618 osascript + 22040
	23  dyld                                0x00000001022b108c start + 520
)
libc++abi: terminating with uncaught exception of type NSException

Sample BibTeX Entries
@book{AhmedQueerPhenomenology2006,
  title = {Queer {{Phenomenology}}: {{Orientations}}, {{Objects}}, {{Others}}},
  shorttitle = {Queer {{Phenomenology}}},
  author = {Ahmed, Sara},
  year = {2006},
  publisher = {{Duke University Press}},
  address = {{Durham, NC}},
  file = {/Users/jonathanmitchell/Library/CloudStorage/Dropbox/Academia/PDFs/AhmedQueerPhenomenology2006.pdf}
}

@article{Al-SajiMemoryAnother2004,
  title = {The Memory of Another Past: {{Bergson}}, {{Deleuze}} and a New Theory of Time},
  shorttitle = {The Memory of Another Past},
  author = {{Al-Saji}, Alia},
  year = {2004},
  journal = {Continental Philosophy Review},
  volume = {37},
  number = {2},
  pages = {203--239},
  file = {/Users/jonathanmitchell/Library/CloudStorage/Dropbox/Academia/PDFs/Al-SajiMemoryAnother2004.pdf}
}

@article{Al-SajiMerleauPontyBergson2001,
  title = {Merleau-{{Ponty}} and {{Bergson}}: {{Bodies}} of {{Expression}} and {{Temporalities}} in the {{Flesh}}},
  shorttitle = {Merleau-{{Ponty}} and {{Bergson}}},
  author = {{Al-Saji}, Alia},
  year = {2001},
  journal = {Philosophy Today},
  volume = {45},
  pages = {110--123},
  file = {/Users/jonathanmitchell/Library/CloudStorage/Dropbox/Academia/PDFs/Al-SajiMerleauPontyBergson2001.pdf}
}

Buffer Files
I get a 'We don't support that file type' message when I try to upload these.
When I open them in a text editor, buffer.json is empty, and last_version contains the text '9.5.3'.
Workflow Configuration

Checklist

[X] I have updated to the latest version of this workflow.
[X] I have tried manually reloading the buffer (Alfred keyword scp, select Force Buffer Reload).

okay thanks! I have most likely found the cause and fixed it in the latest update

Fantastic, thanks. It's back to working perfectly!


Anonymous publish

Is there any way to allow anonymous/unauthenticated publishing of packages?
I've tried the following settings in the general packages ('*') section of the yaml file:
publish: $anonymous

and
publish: $all

However I always get the same authorization error:

need auth auth required for publishing

I have no issues with adding a user and subsequently publishing packages, but I seem to be unable to publish as an anonymous user. Given that this instance is in a locked down network (no internet access), there is a requirement to investigate allowing any user to publish a package. Any ideas welcome.

It's a limit of npm, impossible to publish as anonymous, but you can open register then everyone have permission to npm adduser

Yeah, you have to fake a token in the .npmrc. Look at the closed issues there is an example over there.

Ahh... thank you very much for that.

yw, thanks for asking :)

FYI: yarn allow anonymous publish.


getSchemaByName is not defined

It seems like when trying to call registry.encodeMessageByTopicName(), it tries calling getSchemaByName which is not defined.

Fixed in #27 , thanks for the issue & the pr