Doesn't seem to respect keyboard layout

I am running Dvorak layout but it appears keybinds are executed as if I am running QWERTY layout. Is there a possibility to make AeroSpace respect keyboard layout set or do I have to rebind all keys in such a way that when I press ALT+R (Dvorak) it will execute ALT+O (QWERTY) keybind?

I'm not a Dvorak user, so I can't help you with that, sorry.
The only guidance I can give is that AeroSpace uses https://github.com/soffes/HotKey dependency to manage global keys. I managed to find this issue in their repo https://github.com/soffes/HotKey/issues/2, it looks like the problem you mention
Frankly speaking, the experience with HotKey library wasn't smooth during the development, plus the HotKey library doesn't support left/right modifiers, and AeroSpace has random bugs with hotkeys handling
Maybe I'm using the library incorrectly, but whatever.
I want to try to replace this dependency with something else and see how it goes. Hopefully, it will fix the Dvorak issue

It's even worse for German keyboard layouts. When mapping keys I have to keep an image of a US keyboard open. So when I see in the config:
alt-shift-minus = 'resize smart -50'
alt-shift-equal = 'resize smart +50'

The app is actually listening on alt-shift-questionmarkand alt-shift-backtick.

I saw the work on this, but it looks like you force-pushed over it 😅
Any chance we could get a testing-release with the fix?

0.9.0 addresses the issue. See https://nikitabobko.github.io/AeroSpace/guide#key-mapping
The project now also accepts funding https://github.com/sponsors/nikitabobko

Elaboration
Apple API speaks in terms of key-codes. Key-code q is a key next to the tab key. If we wanted to automatically support layouts, then we'd need to subscribe for keyboard layouts changes (if Apple provides an API for it). When the keyboard layout changes, we'd need to translate key notations to key codes (if Apple provides an API for it), and "remap" our subscriptions for key codes
And I don't even want to think what happens with non-Latin layouts, or when users have several Latin layouts
There are so many places where anything can go wrong with an automatic approach. That's why I think, it's more reliable to give users a way to remap keys manually
Apparently, skhd resolved these issues somehow, but I'm not going through this rabbit hole

(Let me know if I should open a new issue for this)
Thanks for a great tool!
I'm trying to get alt-slash to work on a custom Dvorak layout and it just doesn't seem to trigger. Alt+/ works fine in Hammerspoon, but AeroSpace doesn't recognize it. In an editor, if I press Alt+/ a ÷ is inserted (because that is how the keyboard layout is defined) but many other programs detects it properly.
Are there plans to fix issues like these in AeroSpace or are they effectively closed as "wont fix"?
I'll try to see if I can combine it with skhd but it would be great if it worked out of the box.

I would go with skhd. Aerospace is using a high-level api and gets the keycodes it gets. Without migrating to a different hotkey library this issue is likely unsolveable. If other software is able to match the keys for you I think it's safer to use it rather than rewriting that part of aerospace.


Insert generated index's html in a file other than an index.html

The manual says:

Soupault can insert HTML rendered from site metadata into the site index pages. By default those are pages named index.*.

I want to insert this generated index HTML into a writings.html file (not named index.html), with clean_urls=true. So final location would bewritings.html -> writings/index.html in build dir.
Currently, soupault, with the following configuration, does not insert the index html into writings.html.

# index config in soupault.toml

[index.views.all-posts-list]
include_subsections = true
index_selector = "ul.all-posts"
index_item_template = """

    {{title}}

Published: <time datetime="{{timestamp}}">{{date}}</time>

  """

Is there a simple configuration I am missing? Do I need to go the lua index processor route?

I figured it out.
[index.views.all-posts-list]
include_subsections = true
index_selector = "ul.all-posts"
index_template = """
  {% for e in entries %}

    {{e.title}}

Published: <time datetime="{{e.timestamp}}">{{e.date}}</time>

  {% endfor %}
  """
lua_source = '''
    --. Delete the placeholder all-posts container from site/index.html
    --. It exists only so that soupault sees it and triggers this [index.views.all-posts-list].
    placeholder_container_on_main_index = HTML.select_one(page, config["index_selector"])
    HTML.delete(placeholder_container_on_main_index)

    --. Render the HTML representing the list of all posts
    env = {}
    env["entries"] = site_index
    rendered_entries = HTML.parse(String.render_template(config["index_template"], env))

    --. Generate the actual writings.html index file which will hold the list of all posts.
    all_posts_index_file = Sys.join_path(Sys.dirname(page_file), "writings.html")
    all_posts_index_content = HTML.pretty_print(rendered_entries)

    --. Store the writings.html index in pages env.
    -- From the manual:
    -- As you can see, generated pages are stored in the pages environment. When an index processor finishes, soupault extracts that variable from its environment and adds generated pages to the page processing queue.
    -- The pages variable must be a table, and its items must be tables with page_file and page_content fields.
    -- The page_file field is the file path where the page would have been at if it was hand-written. Most of the time you will want to generate it with Sys.join_path(Sys.dirname(page_file), "page_name.html") to make it appear in the same directory as the index page being processed, but there are no restrictions: you can use any path and place the generated page in any section.
    pages = {}
    pages[1] = {}
    pages[1]["page_file"] = all_posts_index_file
    pages[1]["page_content"] = all_posts_index_content
  '''

Pre-requisite:

site/index.html should contain a placeholder

 element even if we don't wish to put the list of all posts in our main index. Failing this, soupault will not pick up the above [index.views.all-posts-list] definition for processing at all.

How it works:

soupault sees the placeholder
 element in site/index.html and processes [index.views.all-posts-list], which asks soupault to

delete the placeholder node from site/index.html, thus tidying up the main index page.
generate the HTML for the list of all posts
generate an index page site/writings.html and put the above HTML in it
store the generated site/writings.html in pages env, from where soupault will pick the page and add it to the output.

This approach basically allows me to generate as many indices as I want, and on the same level as site/index.html, like site/tags.html, site/series.html, etc.
Also answers the issue https://github.com/PataphysicalSociety/soupault/issues/56.

Is this worth adding as a recipe "Generate a specific index" or something?


[Feature]: Eq - gain loot from fights

Feature type
New Feature
Description
After killing an enemy in fight, user should be able to gain items from enemy body. Add system, which would insert new item after killing enemy + add information about items to npc's model and interfaces. Make sure to add those interfaces to gateway and fights

Related task https://github.com/Monsters-RPG-game/Gateway/issues/267


Camel

Coverage remained the same at 100.0% when pulling 511d688949bdcb993337f1f6c8653a9bb5a32bbf on camel into dfb9a8a9ea83ae6ab292eb6c604372c65247b036 on master.

Coverage remained the same at 100.0% when pulling 511d688949bdcb993337f1f6c8653a9bb5a32bbf on camel into dfb9a8a9ea83ae6ab292eb6c604372c65247b036 on master.

Coverage remained the same at 100.0% when pulling 511d688949bdcb993337f1f6c8653a9bb5a32bbf on camel into dfb9a8a9ea83ae6ab292eb6c604372c65247b036 on master.

Coverage remained the same at 100.0% when pulling 12fd2cf23c70bef50d25e02806cd4020806bfd6a on camel into dfb9a8a9ea83ae6ab292eb6c604372c65247b036 on master.

Coverage remained the same at 100.0% when pulling 12fd2cf23c70bef50d25e02806cd4020806bfd6a on camel into dfb9a8a9ea83ae6ab292eb6c604372c65247b036 on master.

Coverage remained the same at 100.0% when pulling 12fd2cf23c70bef50d25e02806cd4020806bfd6a on camel into dfb9a8a9ea83ae6ab292eb6c604372c65247b036 on master.

Coverage remained the same at 100.0% when pulling 5d3a65584310c8d2e0e8993a8726fb0060e329e9 on camel into dfb9a8a9ea83ae6ab292eb6c604372c65247b036 on master.

Coverage remained the same at 100.0% when pulling bc1ef11d1c6354865a12a9bd7c1cadd63d8e4bde on camel into dfb9a8a9ea83ae6ab292eb6c604372c65247b036 on master.

Coverage remained the same at 100.0% when pulling bc1ef11d1c6354865a12a9bd7c1cadd63d8e4bde on camel into dfb9a8a9ea83ae6ab292eb6c604372c65247b036 on master.

Coverage remained the same at 100.0% when pulling 6dbea384190f89d25e5e28985b5b84f2e96bc898 on camel into dfb9a8a9ea83ae6ab292eb6c604372c65247b036 on master.

Coverage remained the same at 100.0% when pulling 2ceea95375444d7cbfdacc2384c1ca367ae2b43c on camel into dfb9a8a9ea83ae6ab292eb6c604372c65247b036 on master.

Coverage remained the same at 100.0% when pulling 2ceea95375444d7cbfdacc2384c1ca367ae2b43c on camel into dfb9a8a9ea83ae6ab292eb6c604372c65247b036 on master.

Coverage remained the same at 100.0% when pulling 2ceea95375444d7cbfdacc2384c1ca367ae2b43c on camel into dfb9a8a9ea83ae6ab292eb6c604372c65247b036 on master.


fix(tests): fix admin-api dbless test typo of matching timers count

@ADD-SP mentioned this test is no longer needed because of the introduction of timer-ng library, Qiqi could you add more detail here?

I think we should not put this test here as a commitly test, because if we want to detect this regression, we need to POST the YAML config many times, so it will take too much time.
So I think putting this test into the SDET's test set is better than now.
@Hayk-S What do you think? Feel free to ask for some help from me.

@ADD-SP  Where do you think this test should fit?
Currently, SDETs don't execute any tests in db-less mode.

As future task is tracked, let's move this in for now


refactor(utility): make Sequence type in "user.py" inherit _UserSequence

Pull Request Test Coverage Report for Build 942353022

12 of 14 (85.71%)  changed or added relevant lines in 3 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.0009%) to 84.996%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tensorbay/utility/user.py
9
11
81.82%

Files with Coverage Reduction
New Missed Lines
%

tensorbay/utility/user.py
2
69.77%

Totals

Change from base Build 942272902:
-0.0009%

Covered Lines:
4849

Relevant Lines:
5705

💛  - Coveralls


Fix description of CSS settings

Issue:
https://github.com/microsoft/vscode/issues/205294
Change:
This simply fixes the descriptions of the settings that have hex numbers.
Testing:
(Described in the issue)

Oh, sorry, I saw this PR too late. Fixed by https://github.com/microsoft/vscode/pull/205542


Think about video annotation

Actually looks like it might be possible.
http://inconduit.com/smpte/
https://stemkoski.github.io/Three.js/Video.html

Here is what I had in mind for the video bounding-box annotations.
It should accept video input and be able to play it (like a player, non just frame by frame).
Also, it should be able to handle bounding box annotation, which should be hand-annotated on some frames and then interpolated for the rest of the frames.
Something like this:
https://www.youtube.com/watch?v=ljI5pAowACc
I think we should use a square bounding box, which should be annotated by marking two points or even better, by marking the nose-tip and the changing the scale.
Last but not least, it would be awesome if it could use already annotated videos (with bounding boxes from a tracker), so that the annotator can change the dimension and position of the bounding box and correct the errors of the face-tracker. These corrections should be interpolated to the other frames as well
What do you think?


Option to disable BRAT notifications

On a mobile device, my BRAT update notifications can frequently fill up the entire screen.
Would love an option to disable BRAT notifications for successful plugin updates

This is addressed with 0.6.2 release (now in beta testing with BRAT :-)


V5.0.0 Bug in the example code for hooks in keyv/packages/keyv /README.md

In the readme for keyv (keyv/packages/keyv /README.md) three examples are given for using hooks, e.g.:
keyv.hooks.addListener(KeyvHooks.PRE_SET, (key, value) => console.log(Setting key ${key} to ${value}));
This hook is never executed. "addHandler" should be used instead:
keyv.hooks.addHandler(KeyvHooks.PRE_SET, (key, value) => console.log(Setting key ${key} to ${value}));

@MarvinBo - thanks for finding this 🎉
we will get it updated today!


topicmeta/navtitle is overridden by topic/title even if @locktitle="yes"

Expected Behavior
If topicref/topicmeta/navtitle is authored and topicref/@locktitle="yes", this navtitle should be honored as navigation title.
Actual Behavior
topicref/topicmeta/navtitle is overridden by topic/title in HTML5 output.
Possible Solution
Unknown.
Steps to Reproduce
Unzip attached 20210225-navtitle.zip and run dita command referencing command.txt. This phenomenon occurs when you choose navtitleTestWithBookmetaAndKeydef.ditamap as input ditamap.
20210225-navtitle.zip
The ditamap condition to reproduce this result:

Topic is defined by keydef and referenced via @keyref.
bookmeta is present.

Copy of the error message, log file or stack trace
There are no error messages.
The log file exists in attached zip as log-3.6.txt.
Environment

DITA-OT version: 3.6
Operating system and version: Windows 10
How did you run DITA-OT?
dita command
Transformation type:
HTML5

Currently at least two users are waiting this fixed. DITA-OT team, please take your attention to this issue!

Hi Toshihiko, have you been able to workaround this issue? Any help is appreciated.

@mumashankar
I almost give up to solve this problem. Also, the users understand the situation. Probably, the user adopts the content reuse in topic body level.


Fix design of daoURI registration & management flow

Right now, we can't even access the management flow for daoURI.
Before connecting wallet, I want to be able to:

Deploy a registration with a daoURI, with or without a manager address
See and explore existing registrations and daoURIs, EVEN IF THEY HAVE NOT BEEN "CLAIMED" BY A DAO
(maybe, needs further design thinking) manage orphaned registrations that neither have a manager address NOR have been claimed by a DAO

After connecting my wallet, I want to be able to:

See all the DAOs for which I am a manager
Edit the daoURI for those DAOs by connecting and interacting with the DAO's registration contract
Query the existing URIs published in daoURI
(eventually) modify the URIs published in daoURI, especially if they are hosted by DAOstar itself

Next step here is to evaluate current codebase with Tucker @TuckerMcLachlan  (and maybe Isaac @ipatka ) next Friday.

Note specific issue with managers: https://github.com/metagov/daostar/issues/126
Deploy a registration with a daoURI, with or without a manager address
DONE
See and explore existing registrations and daoURIs, EVEN IF THEY HAVE NOT BEEN "CLAIMED" BY A DAO
NOT done
None of the other things are done.
This issue we may address in a daostar.org design + technical workshop to address together all these issues.

Rashmi will set up + schedule a 2-hour workshop call in early September to go over and consolidate outstanding design issues. Before doing so she will finish consolidating all the design issues into a second document.

All the listed issues in this have been moved DAOstar improvements spec


Task concurrency management in K8s Task Scheduling extension

Description
This PR introduces a mechanism for managing diverse task types utilizing the task slots available in the Kubernetes Task Runner.
Given that MSQ tasks perform varied functions that are indistinguishable based solely on task types, we are integrating a task label concept to clarify each task's purpose.
The example configuration below illustrates several functionalities:

limit the admin tasks (kill,compact) to use max 10% of the cluster capacity.
limit querying from deep storage task (msq_export_durable_storage) to use max 20% of the cluster capacity.
Reserve 60% of cluster capacity for (critical) ingestion tasks (index_parallel,msq_index_batch)

druid.indexer.runner.taskLanes=[
  {"labels":"kill,compact","capacityRatio":"0.1","policy":"MAX"},
  {"labels":"msq_export_durable_storage","capacityRatio":"0.2","policy":"MAX"},
  {"labels":"index_parallel,msq_index_batch","capacityRatio":"0.6","policy":"RESERVE"}
]

Release note

Key changed/added classes in this PR

This PR has:

[ ] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[ ] added documentation for new or modified features or behaviors.
[ ] a release note entry in the PR description.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[ ] been tested in a test Druid cluster.

Summary
IIUC, this PR seems to be implementing a task laning mechanism to better utilize available task slots. The lane that a particular task may be assigned to is determined by the new label field. Through configs, we may control the width and priority of each lane.
My current thoughts on the design

Since task laning may have applications outside of the contrib K8s extension too, the code changes should live in core Druid as suggested by @cryptoe . Another (less important) reason for this to be in core is the fact that we are adding a method to the Task API which currently has its only use in a contrib extension.

Instead of the new getLabel method in Task, we should have something more like getTaskLaneInfo that returns a TaskLaneInfo object which may be augmented later if needed. It should also be possible to manipulate the details of the lane info (i.e. the label in this case) using the task context. I guess the current problem in scheduling arises from the fact that we are limited to using immutable fields such as type and datasource to determine how a task should be scheduled. Powering this through the task context will allow users much more flexibility.

@YongGang , I suppose it would have been nice to put up a proposal for this design first before starting with the implementation. But since we already have the PR, please include details of the current design and any alternatives in the PR description.

Marked this as a Design Review to get some more eyes on this.

@kfaraz thanks for your comment, it makes sense to me.
I can move the task lane info/config to core Druid but the task laning mechanism will only be implemented in contrib K8s extension in this PR, does it sound good to you?

Instead of the new getLabel method in Task, we should have something more like getTaskLaneInfo that returns a TaskLaneInfo object which may be augmented later if needed. It should also be possible to manipulate the details of the lane info (i.e. the label in this case) using the task context. I guess the current problem in scheduling arises from the fact that we are limited to using immutable fields such as type and datasource (and maybe context parameter taskPriority) to determine how a task should be scheduled. Powering this through the task context will allow users much more flexibility.

It's a good idea. However, I'd like to emphasize that task labeling serves multiple purposes beyond scheduling. For instance, identifying the costs associated with querying from deep storage tasks can be hard now, as they fall under the same MSQ task type as others. With task labeling, we can include this information in task reports, facilitating detailed cost analysis. Therefore, I propose keeping the getLabel method separate, enabling its use in various contexts beyond scheduling alone.

Updated the PR in response to feedback:

Move task lane config classes to core Druid. TaskLaneRegistry remains in the extension code due to its ties with task runner capacity config, which vary across different task runners, making it unsuitable for universal use.
The MSQ task label now derives from MSQDestination's label, enhancing its adaptability to changes.
Modified CliPeon to demonstrate how task label is utilized in Peon monitoring and reporting.

@kfaraz @cryptoe

I have isolated the changes related to task labeling into a new PR https://github.com/apache/druid/pull/16041 to simplify the review process. I'm now converting this PR back to draft status to facilitate further Design Review discussions.


Stop dropping columns in to_tf_dataset() before we load batches

to_tf_dataset() dropped unnecessary columns before loading batches from the dataset, but this is causing problems when using a transform, because the dropped columns might be needed to compute the transform. Since there's no real way to check which columns the transform might need, we skip dropping columns and instead drop keys from the batch after we load it.
cc @amyeroberts and https://github.com/huggingface/notebooks/pull/202

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@lhoestq Rebasing fixed the test failures, so this should be ready to review now! There's still a failure on Win but it seems unrelated.

Gentle ping @lhoestq ! This is a simple fix (dropping columns after loading a batch from the dataset rather than with .remove_columns() to make sure we don't break transforms), and tests are green so we're ready for review!

@lhoestq Test is in!


problems with --mini

I just have problems with mini. My older copy of speedtest-cli works fine with it.
I try
./speedtest-cli --mini http://exampleserver.com/mini/index-php.html Retrieving speedtest.net configuration... Testing from linuxservers (<IP_ADDRESS>)... ERROR: Failed to connect to http://exampleserver.com/mini/index-php.html
Just giving me an error.
The older copy:
./p.py --mini http://exampleserver.com/mini/index-php.html Retrieving speedtest.net configuration... Retrieving speedtest.net server list... Testing from linuxservers (<IP_ADDRESS>)... Hosted by Speedtest Mini (exampleserver.com) [0.00 km]: 12.801 ms Testing download speed........................................ Download: 892.63 Mbit/s Testing upload speed.................................................. Upload: 33.03 Mbit/s

You need to make sure that your webserver configuration specifies index-php.html as the default document.  Or copy the correct file to the default document. This may be as easy as:
ln -s index-php.html index.html

The install instructions for speedtest mini indicate that this is a step:
Setup Instructions
1. Read the Terms and Conditions
2. Download mini.zip
3. Unzip it onto your server
4. Decide on PHP, ASP.NET, ASP or JSP
5. Select which index file to use
6. Rename the file to index.html
7. Load index.html in your browser

Thank you,
i just noticed that this wasn't necessary in the old script.
Thank you! :+1:


API Changes (rapid OpenPose development)

PyOpenPose works with d28a85b80edb5080d85427896aa77e8c78767fb7 but the two most recent commits break the build.
I don't need any features that were introduced in the latest two commits but figured I would save people some time if they run into build issues.
Error (openpose/bc55f86cb82b309471cc64ae67d92cd95c0768bf):
Scanning dependencies of target PyOpenPose
[ 25%] Building CXX object PyOpenPoseLib/CMakeFiles/PyOpenPose.dir/PyOpenPose.cpp.o
[ 50%] Building CXX object PyOpenPoseLib/CMakeFiles/PyOpenPose.dir/OpenPoseWrapper.cpp.o
[ 75%] Building CXX object PyOpenPoseLib/CMakeFiles/PyOpenPose.dir/opencv_expose.cpp.o
/opt/PyOpenPose-master/PyOpenPoseLib/OpenPoseWrapper.cpp: In constructor 'OpenPoseWrapper::PrivateData::PrivateData(const op::Point<int>&, const op::Point<int>&, const op::Point<int>&, const op::PoseModel&, const string&, int, float, float, const std::vector<op::HeatMapType>&, const op::ScaleMode&)':
/opt/PyOpenPose-master/PyOpenPoseLib/OpenPoseWrapper.cpp:42:129: error: no matching function for call to 'op::PoseExtractorCaffe::PoseExtractorCaffe(<brace-enclosed initializer list>)'
             handExtractor{netInputSizeFaceAndHands, netInputSizeFaceAndHands, modelFolder, 0, 1, 0.4, heatMapTypes, heatMapScale}
                                                                                ^
In file included from /opt/openpose-master/include/openpose/pose/headers.hpp:10:0,
                 from /opt/PyOpenPose-master/PyOpenPoseLib/OpenPoseWrapper.cpp:13:
/opt/openpose-master/include/openpose/pose/poseExtractorCaffe.hpp:13:9: note: candidate: op::PoseExtractorCaffe::PoseExtractorCaffe(op::PoseModel, const string&, int, const std::vector<op::HeatMapType>&, op::ScaleMode, bool)
         PoseExtractorCaffe(const PoseModel poseModel, const std::string& modelFolder, const int gpuId,
         ^
/opt/openpose-master/include/openpose/pose/poseExtractorCaffe.hpp:13:9: note:   candidate expects 6 arguments, 9 provided
/opt/PyOpenPose-master/PyOpenPoseLib/OpenPoseWrapper.cpp: In member function 'cv::Mat OpenPoseWrapper::render(const cv::Mat&)':
/opt/PyOpenPose-master/PyOpenPoseLib/OpenPoseWrapper.cpp:231:67: error: no matching function for call to 'op::PoseGpuRenderer::renderPose(op::Array<float>&, const op::Array<float>&)'
     membersPtr->poseRenderer.renderPose(outputArray, poseKeypoints);
                                                                   ^
In file included from /opt/openpose-master/include/openpose/pose/headers.hpp:11:0,
                 from /opt/PyOpenPose-master/PyOpenPoseLib/OpenPoseWrapper.cpp:13:
/opt/openpose-master/include/openpose/pose/poseGpuRenderer.hpp:26:37: note: candidate: virtual std::pair<int, std::__cxx11::basic_string<char> > op::PoseGpuRenderer::renderPose(op::Array<float>&, const op::Array<float>&, float, float)
         std::pair<int, std::string> renderPose(Array<float>& outputData, const Array<float>& poseKeypoints,
                                     ^
/opt/openpose-master/include/openpose/pose/poseGpuRenderer.hpp:26:37: note:   candidate expects 4 arguments, 2 provided
PyOpenPoseLib/CMakeFiles/PyOpenPose.dir/build.make:62: recipe for target 'PyOpenPoseLib/CMakeFiles/PyOpenPose.dir/OpenPoseWrapper.cpp.o' failed
make[2]: *** [PyOpenPoseLib/CMakeFiles/PyOpenPose.dir/OpenPoseWrapper.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:117: recipe for target 'PyOpenPoseLib/CMakeFiles/PyOpenPose.dir/all' failed
Makefile:127: recipe for target 'all' failed
make[1]: *** [PyOpenPoseLib/CMakeFiles/PyOpenPose.dir/all] Error 2
make: *** [all] Error 2

Thanks @sberryman, I try to keep it up-to-date with openpose and I will push updates soon (possibly tomorrow).

Updated to conform with the new API. It looks like the guys @ openpose are in the middle of changing the API for face and hand detection (the latest changes were only for pose). Probably they will push new commits that will break PyOpenPose for hand and face in the coming weeks. I will update the code when they do. Closing this issue for now.

Wow that was quick! thanks @padeler


Gulp build fail

I get this error when i use gulp build
[09:45:49] Starting 'package compressed js'...
[09:45:49] 'package compressed js' errored after 11 ms
[09:45:49] TypeError: through.obj is not a function
    at module.exports (/Volumes/DATA/Temp/demo/node_modules/gulp-header/index.js:68:18)
    at Gulp.<anonymous> (/Volumes/DATA/Temp/demo/semantic/tasks/collections/internal.js:100:15)
    at module.exports (/Volumes/DATA/Temp/demo/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/Volumes/DATA/Temp/demo/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/Volumes/DATA/Temp/demo/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/Volumes/DATA/Temp/demo/node_modules/orchestrator/index.js:134:8)
    at Stream.<anonymous> (/Volumes/DATA/Temp/demo/semantic/tasks/build/javascript.js:71:12)
    at emitNone (events.js:67:13)
    at Stream.emit (events.js:166:7)
    at end (/Volumes/DATA/Temp/demo/node_modules/gulp-print/node_modules/map-stream/index.js:116:39)
[09:45:49] 'build' errored after 4.48 s
[09:45:49] Error in plugin 'run-sequence'
Message:
    An error occured in task 'package compressed js'.
[09:45:49] Starting 'package uncompressed js'...
[09:45:49] 'package uncompressed js' errored after 4.93 ms
[09:45:49] TypeError: through.obj is not a function
    at module.exports (/Volumes/DATA/Temp/demo/node_modules/gulp-header/index.js:68:18)
    at Gulp.<anonymous> (/Volumes/DATA/Temp/demo/semantic/tasks/collections/internal.js:86:15)
    at module.exports (/Volumes/DATA/Temp/demo/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/Volumes/DATA/Temp/demo/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/Volumes/DATA/Temp/demo/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/Volumes/DATA/Temp/demo/node_modules/orchestrator/index.js:134:8)
    at Stream.<anonymous> (/Volumes/DATA/Temp/demo/semantic/tasks/build/javascript.js:72:12)
    at emitNone (events.js:67:13)
    at Stream.emit (events.js:166:7)
    at end (/Volumes/DATA/Temp/demo/node_modules/gulp-print/node_modules/map-stream/index.js:116:39)
[09:45:49] Finished 'build-javascript' after 4.48 s

Can anyone help me?

Looks like its erroring at Line 100 of internal.js which is gulp-header (adds the comment headers).
Check you have all the dependencies, by running npm update again in project directory home. You can also verify manually that gulp-header is in node_modules

Thanks for your response!
I used bower to install, no error.

I had the same issue. I resolved it by navigating to folder node_modules\gulp-header\ and running the command run npm install


Cgn bug

I describe my problem here. Doesn't cgn repeat control keys like arrows, switching modes, etc..?

sorry, did not follow. Please describe the problem clearly and reproducible.

First of all you need to install YouCompleteMe plugin that allows vim to have autocomplete like in IDEs. Then declare a variable and repeat it some times. YCM must be right configured to be able to autocomplete this variable. Then try to refactor variable (For example try to change second letter or first, nevermind), press cgn and use autocompletion of this variable, after ycm insert that variable name (That should be changed) switch to normal mode and move cursor with left arrow or h and change needed letter. After that press . and you will see that cgn working not well. Later i'll capture a gif and upload it here to show what i mean

Sorry, please provide a minimal working example without installing such a heavy plugin like YouCompleteMe

Ah, I think I understand the problem. Take this text:
lastTimeht
lastTimeht
lastTimeht

search for h, then press cgn move the cursor to the left with the cursor key enter a new character and press esc. Then you cannot redo the command using . (including the movement of the cursor keys).
This is no bug of cgn and that is not how . is supposed to work. Pressing cursor keys in insert mode breaks the redo sequence. You might be able to use <C-G>U<Left> instead, but I am not sure, this is correct.
Anyway I am closing this as no issue.


Can't yield an error type

Repro is with Zed commit a51671a.
This section of Zed docs shows the following:
$ zq -version
Version: v1.8.1-5-ga51671ae

$ echo 0 | zq -z 'typeof(1/this)' -
<error(string)>

However, that same output value is not recognized when provided as input.
$ echo 0 | zq -z 'yield <error(string)>' -
zq: error parsing Zed at column 21:
yield <error(string)>
                === ^ ===

@mccanne spotted this recently and remarked:

Looks like the PEG grammar is just missing error types.  Should be an easy fix.

Verified in Zed commit fe1fc95.
Now the error value can be yielded without error.
$ zq -version
Version: v1.12.0-38-gfe1fc95b

$ echo 0 | zq -z 'yield <error(string)>' -
<error(string)>

Thanks @mattnibs!


cigien: Watch thekeyup.com

cigien requests the watch of the watch_keyword thekeyup\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

thekeyup\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

thekeyup\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.


Kia : Exceeds number of requests

Please check Services, Known Bug / Issues and Troubleshooting over here first: https://github.com/fuatakgun/kia_uvo/blob/master/README.md
Region and Brand of car
EU Kia Sportage
Version of the integration
Last
Describe the bug
Having the: Exceeds number of requests
It started today with this issue, how many requests can we do within 24h?
Could this be a bug because of to many requests made by the integration?
Should I reduce the requests in the integration?
For now I had it, all the 15 min and it worked for months like that.

What are you configured for? This shows estimated limits: https://github.com/Hacksore/bluelinky/wiki/API-Rate-Limits
Assuming unchanged.

Too frequent calls might also harm car battery

I also experience this with the default settings:

Too frequent calls might also harm car battery
Frequent force refresh calls or all calls?

Only force calls - as they wake up the car.
Let me give an example what "frequent" means:
My electric Kona is two months old.
After a long drive the 12V-battery was completely filled.
I didn't use the car for 1.5 days, but I made between 150 and 200 force calls to it.
After that, the car couldn't start anymore and it even wasn't possible to open the trunk.
I needed external electric help to the 12V-battery to start the car.
(The big 64 kWh-battery was still nearly filled).
And by the way - with regards to the daily request limit: Here in Europe, the limit is around 200 calls per day - but also cache calls count, not only force calls.

I did also notice this on my phone (Samsung S21):

It complains about Bluelink frequently waking up. Might be related.
@a-schiffer But still, the default settings shouldn't exceed the 200 call limit. If I math correct it should be 48 cache calls + 6 force refreshes (not taking the quite hours into account).
Sure, that's only calls from the integration, I haven't checked how often the Bluelink app is requesting data.

It is for the user so if your native app is acting up it could do this.

I have same issue do you have fix?

Do you have the native app also consuming battery? This may be unrelated to the integration.

I get the same error when trying to login to the UVO / Kia Connect

When Will cached value change ?
Lets say soc is 80% then it charge to 82% will next scan cache the 80 or 82?

I have the same, 200 is the max for now


TypeError: register_cmap()

I'm trying to get the ProXAS_v2.43 running. I installed the necessary packages the manual provided, but when I try to start the program I get the following error:  TypeError: register_cmap() got an unexpected keyword argument 'lut'
Hopefully someone has an idea how to fix this.
Packages necessary according to the manual:
conda install –c GSECARS xraylarch
conda install –c conda-forge numpy-indexed
Full error:
Traceback (most recent call last):   File "ProXAS_v2.43.py", line 9, in <module>     import tkinter, time, os, psutil, subprocess, sys, shutil, ast, codecs, re, larch, gc, peakutils.peak, itertools   File "C:\Users\sq0346\Anaconda3\envs\py38\lib\site-packages\larch\__init__.py", line 47, in <module>     from . import builtins   File "C:\Users\sq0346\Anaconda3\envs\py38\lib\site-packages\larch\builtins.py", line 45, in <module>     from . import wxlib   File "C:\Users\sq0346\Anaconda3\envs\py38\lib\site-packages\larch\wxlib\__init__.py", line 36, in <module>     from . import larchframe   File "C:\Users\sq0346\Anaconda3\envs\py38\lib\site-packages\larch\wxlib\larchframe.py", line 17, in <module>     from .columnframe import ColumnDataFileFrame   File "C:\Users\sq0346\Anaconda3\envs\py38\lib\site-packages\larch\wxlib\columnframe.py", line 15, in <module>     from wxmplot import PlotPanel   File "<frozen importlib._bootstrap>", line 991, in _find_and_load   File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked   File "<frozen importlib._bootstrap>", line 655, in _load_unlocked   File "<frozen importlib._bootstrap>", line 618, in _load_backward_compatible   File "<frozen zipimport>", line 259, in load_module   File "C:\Users\sq0346\Anaconda3\envs\py38\lib\site-packages\wxmplot-0.9.43-py3.8.egg\wxmplot\__init__.py", line 41, in <module>   File "<frozen importlib._bootstrap>", line 991, in _find_and_load   File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked   File "<frozen importlib._bootstrap>", line 655, in _load_unlocked   File "<frozen importlib._bootstrap>", line 618, in _load_backward_compatible   File "<frozen zipimport>", line 259, in load_module   File "C:\Users\sq0346\Anaconda3\envs\py38\lib\site-packages\wxmplot-0.9.43-py3.8.egg\wxmplot\imagepanel.py", line 20, in <module>   File "<frozen importlib._bootstrap>", line 991, in _find_and_load   File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked   File "<frozen importlib._bootstrap>", line 655, in _load_unlocked   File "<frozen importlib._bootstrap>", line 618, in _load_backward_compatible   File "<frozen zipimport>", line 259, in load_module   File "C:\Users\sq0346\Anaconda3\envs\py38\lib\site-packages\wxmplot-0.9.43-py3.8.egg\wxmplot\imageconf.py", line 24, in <module>   File "C:\Users\sq0346\Anaconda3\envs\py38\lib\site-packages\wxmplot-0.9.43-py3.8.egg\wxmplot\colors.py", line 432, in register_custom_colormaps TypeError: register_cmap() got an unexpected keyword argument 'lut'

Hey @sq0346, thanks for reporting. Unfortunately we can't help you with this problem because it's about packages we haven't used before.
I think you can have better luck by asking on StackOverflow:
https://stackoverflow.com


Add ECCN info

Not really needed and we're an international project (albeit under an US umbrella), but does not hurt in case someone needs it, either.

@RichiH Do you want to move it or shall we close this PR?

I haven't forgotten and want to finalize it. THanks for the triage!


Make coop ghosts somewhat work, exporting player trace and small fix

Included:

Make ghosts usable for coop
add sar_trace_export to export the data to a csv file
fix sar_cam_path_remkf completion

I'm slightly reconsidering the coop ghosts fix; I don't want to give the impression that they're officially supported, because there are still lots of ways in which they don't work and people nag me about it enough as it is

That's your call, if you're feeling bad about yeeting my work, don't. I don't care either way

yeah i'm gonna drop that commit for now. will keep the other stuff obvs


Add Famous Laws Of Software Development

Think of put software development laws into this list

Murphy's Law
Brook's Law
Hofstadter's Law
Conway's Law
Postel's Law
Pareto Principle
The Peter Principle
Kerchkhoff's Principle
Linus's Law
Moore's Law
Wirth's law
Ninety-ninety rule
Knuth's optimization principle
Norvig's Law

https://www.timsommer.be/famous-laws-of-software-development/

Added it https://github.com/thangchung/clean-code-dotnet/blob/master/README.md#other-clean-code-lists

Added it https://github.com/thangchung/clean-code-dotnet/blob/master/README.md#other-clean-code-lists


marked-plaintify port to Marked v13

Hello! 👋
I'm using your library in a personal project,and I noticed it was crashing on Marked latest v13 version. So I decided to update it so it works well. It's helping me parse Markdown into plain text so I can embed it into a vector database for LLMs to retrieve it, so thank you for your work!
Seems Marked pushed breaking changes with the v13 release and I tried to adapt it. Tests pass, for all packages (the only one failing was plaintify) so it seems good.
I had to introduce a breaking change, which is passing the Marked instance to the function. This seems necessary because the new way they're doing it calls the Parser instance (old way) vs (new way). However, if you know any way this breaking change could be avoided let me know!
There's also one Typescript error in some lines but we can know by the code that it's not an issue. Let me know if you want to just ignore it with @ts-ignore or find a better way so TS is happy.
This is my first open source contribution so sorry if I made anything wrong 🙏
Have a great day!

Thank you for your words!
I'm glad my solution seems solid to you. I've made a new commit adding the error comments so you can read and review them whenever you can. It’s been great contributing to this project, and I’m excited to see it integrated.
Thanks for the library, it's very useful 😊

Of course! Using the function syntax uses the this value from the caller, great approach! I've run the tests too and it works.
Furthermore, since we're already setting this correctly now, I think we can revert all the plainTextRenderer.[function]?.call(this, args) to the previous ones so plainTextRenderer.tablecell?.call(this, token.header[j]) becomes this.tablecell(token.header[j]), right?
Check out this code. It passes all tests and has zero Typescript errors 😁

That’s fantastic! You can push your code for merging.
However, if you don’t mind, I recommend creating a new pull request to avoid the BREAKING CHANGE: token on commit b3f11f9. Otherwise, it will trigger semantic-release to create a major version release when CI runs.

BTW sorry for the delay, I had to attend family these days and I wasn't available.

No worries, this is an open source project 😃

Closing in favour of PR 104 which doesn't include breaking changes so CI doesn't get triggered.


Build target for 1 distribution

And reduce the number of distributions we build for to only those we actually use.

Closing this, this feature was completed ... it's doable by running the packager with dist=


Add to the API the ability to search for an allocation based on the a…

…ssigned server id.

Let me know if theres anything else that requires changes with it.

Im not sure that code actually works, have you tested it locally?

Yeah i have tested it locally. Using it for my whmcs module

Ahhh yeah that's a much better way to handle it then I was handling it, i still have much to learn.
Pushed the changes


For other Exchange

Hi,
Please add for binance.
Thanks

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
danBamikiya, @ahbanavi, @pasevin, @buidlcat, @validydy, @dariotarantini, @chpiatt, @dglowinski, @djcasper905, @Sotatek-DucPham, @dezcalimese, @zerjioang, @michwqy, @ewerx, @0xWarren, @feelsong, @taryune, @arden, @0A7V9A, @cucrisis

Celestia Airdrop - Claim Your Free TIA Tokens Now!

Don't Miss Out on Your Share of 60 Million $TIA Tokens!
Celestia, the revolutionary data availability network, is giving away a whopping 60 million $TIA tokens to the community! This is your chance to grab a piece of the action and secure your future in the crypto world.
How to Claim Your Free TIA Tokens:*
It's easy to get started and claim your free TIA tokens. Follow these simple steps:

Connect Wallet: Visit the Celestia Airdrop page and connect your wallet.
Claim: Click the Claim button to receive your tokens.
Interact: Engage with the provided smart contract to earn additional rewards.

Why Wait? Start Earning Today!
With Celestia, the sky's the limit. Don't let this opportunity slip through your fingers. Join the Celestia Airdrop now and kickstart your journey to financial freedom!tomatobobot, @Jorge-Maza, @smantic, @Lukas1Komarek, @jokvedaras, @sunyata2022, @0xBC84, @riversyang, @yoshihitoh, @mischev, @murka, @chengpeiquan, @stanislaw-glogowski, @cleot, @amirgamil, @viarnes, @andreihrs, @wcc19840827, @JohnIdyu, @eklm


Refactoring: move prefer_alias_to_column_name logic out of parser

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
Category (leave one):

Improvement

Short description (up to few sentences):
Move AST alias interpreting logic out of parser that doesn't have to know anything about query semantics.

00626_replace_partition_from_table_zookeeper - flappy test.

TSan report: fixed in master.


jsdom update 5 days ago breaks back compatability

🐛 Bug Report
jest.spyOn(localStorage, "setItem"); doesn't work;
jest-environment-jsdom has caret dependency on jsdom -> 11.5.1, jsdom latest version is 11.12.0 and it includes localStorage and sessionStorage. Previously we could mock localStorage easily but now we don't have that option and we need to use the default localStorage implementation. So our option is to spy on it which doesn't work because it throws TypeError: object[methodName].mockImplementation is not a function
What I have discovered is that in ./node_modules/jsdom/lib/jsdom/living/generated/Storage.js the issue is with the set method of the Proxy
Currently the code below is on line 278.
if (ownDesc === undefined) {
          const parent = Reflect.getPrototypeOf(target);
          if (parent !== null) {
            return Reflect.set(parent, P, V, receiver);
          }
          ownDesc = { writable: true, enumerable: true, configurable: true, value: undefined };
        }

if we remove receiver from return Reflect.set(parent, P, V, receiver); we will be able to spy on it. But I guess that's coming from webidl converter
To Reproduce
Steps to reproduce the behavior:

Install jest.
Write a simple class that leverage localStorage.setItem() or localStorage.getItem()
Try to spy on it -> jest.spyOn(localStorage, "setItem"); and it will throw an error

Expected behavior
The method should be available for spying.
Link to repl or repo (highly encouraged)
https://github.com/vlad0/jest-localstorage-issue
Run npx envinfo --preset jest

npm install
npm test
Paste the results here:

> jest

 FAIL  ./service.spec.js
  Service
    ✕ Service set value (7ms)

  ● Service › Service set value

    TypeError: object[methodName].mockImplementation is not a function

       8 |
       9 |     it('Service set value', () => {
    > 10 |         jest.spyOn(localStorage, "setItem");
      11 |         service.setValue("hello", "world")
      12 |
      13 |         expect(localStorage.setItem).toHaveBeenCalled();

      at ModuleMockerClass.spyOn (node_modules/jest-mock/build/index.js:597:26)
      at Object.it (service.spec.js:10:14)

Test Suites: 1 failed, 1 total
Tests:       1 failed, 1 total
Snapshots:   0 total
Time:        0.785s, estimated 1s
Ran all test suites.
npm ERR! Test failed.  See above for more details.

Not much for jest to do here, I'm afraid... You can always rollback jsdom and use a lockfile

@SimenB , to be honest I was really confused where to raise this issue but since  jest-environment-jsdom is part of this repo and it has caret dependency to jsdom which causes the issue I decided to give it a try here.
Let me give another perspective:
What are our options do spy on localStorage with the latest version of Jest? - after all it downloads the latest version of jsdom which can't be spied on or mocked.

Like they said in the jsdom issue, how would this be mocked in the browser?

I understand the pov of @domenic on the jsdom side, and I agree this should not be fixed by them.
Maybe I'm missing something, but how comes that I can jest.spyOn on JSON.parse for example, and not on localStorage's methods ?
I'm getting the same error than @vlad0 :
TypeError: object[methodName].mockImplementation is not a function

Spying on the prototype is an interesting solution.
@thymikee @rickhanlonii thoughts on falling back to trying to spy on the prototype? My local diff is this:
diff --git i/packages/jest-mock/src/index.js w/packages/jest-mock/src/index.js
index 9b679c73e..cedbe376a 100644
--- i/packages/jest-mock/src/index.js
+++ w/packages/jest-mock/src/index.js
@@ -763,6 +763,10 @@ class ModuleMockerClass {
         object[methodName] = original;
       });

+      if (object[methodName] === original) {
+        throw new Error(`Unable to mock method \`${methodName}\``);
+      }
+
       object[methodName].mockImplementation(function() {
         return original.apply(this, arguments);
       });

and a test, but in theory we could try some more fancy stuff by lokking up constructors etc

What if your obj/fn overrides the prototype? You'll end up mocking different functions, no?

@mr-wildcard  Thanks a lot for the workaround ! How would you distinguish between local and sessionStorage though ? I'd like to check that my data is saved in the right storage area in my tests.

Something to bear in mind is now that jsdom provides a working localStorage implementation, you may no longer need to mock it. I just update my tests to assert on the value retrieved via getItem instead.

@moimael good question, I didn't think about sessionStorage. I can't give it a try right now but if both sessionStorage and localStorage are instantiated from a generic Storage class, then it could be problematic to distinguish them... 🤔
@tamlyn yes, but in this case you're not unit testing your code anymore because localStorage is not mocked and by doing that way you now need to take care of clearing mutated state with afterEach beforeEach & co. Which is not really the kind of isolation in which I want to test some of my business code.

Here's a solution I adapted from a similar problem mocking window.location https://github.com/facebook/jest/issues/5124
describe("sessionStorage", ()=>{
  let originalSessionStorage;

  beforeAll(()=>{
    originalSessionStorage = window.sessionStorage;
    delete window.sessionStorage;
    Object.defineProperty(window, "sessionStorage", {
      writable: true,
      value: {
        getItem: jest.fn().mockName("getItem"),
        setItem: jest.fn().mockName("setItem")
      }
    });
  });

  beforeEach(()=>{
    sessionStorage.getItem.mockClear();
    sessionStorage.setItem.mockClear();
  });

  afterAll(()=>{
    Object.defineProperty(window, "sessionStorage", {writable: true, value: originalSessionStorage});
  });

  it("calls getItem", ()=>{
    sessionStorage.getItem("abc");

    expect(sessionStorage.getItem).toHaveBeenCalledWith("abc");
  });
});

jest.spyOn(window.localStorage.__proto__, 'setItem'); should work without any additional imports.

technically, Storage.prototype.setItem is exactly the same as localStorage.__proto__.setItem.
So, mocking localStorage.__prop__.setItem doesn't mean you are targeting localStorage.
This mock will also apply for any sessionStorage.setItem calls within your unit of test.

Here's a utility function for mocking any window property with automatic cleanup:
utility:
const mockWindowProperty = (property, value) => {
  const { [property]: originalProperty } = window;
  delete window[property];
  beforeAll(() => {
    Object.defineProperty(window, property, {
      configurable: true,
      writable: true,
      value,
    });
    afterAll(() => {
      window[property] = originalProperty;
    });
  });
};

usage in a test file:
describe('search-form actions', () => {
  mockWindowProperty('localStorage', {
    setItem: jest.fn(),
    getItem: jest.fn(),
    removeItem: jest.fn(),
  });
  it('works as expected', () => {
   window.localStorage.setItem('abc');
   expect(window.localStorage.setItem).toHaveBeenCalledWith('abc');
  });

Thanks @mayank23, you made my day!
An example for those who would like to return a value on the fly:
// file.js
const funcToTest = () => {
  const { localStorage } = global.window;
  return JSON.parse(localStorage.getItem('toto'));
};

export { funcToTest };

// file.test.js
import mockWindowProperty from './mock-window-property';
import { funcToTest } from './file';

describe('funcToTest', () => {
  let mockGetItem;

  mockWindowProperty('localStorage', {
    getItem: params => mockGetItem(params),
  });

  beforeEach(() => {
    mockGetItem = jest.fn().mockReturnValue(null);
  });

  it('Should do something with id', (done) => {
    mockGetItem = jest.fn().mockReturnValue('{"id": "1"}');
    const res = funcToTest();
    expect(mockGetItem.mock.calls.length).toBe(1);
    // ...
  });
});


test(cli): add test for input-validation extentions

Description of changes

Increase test coverage of amplify-cli/extensions.
Description of how you validated changes
lerna --scope @aws-amplify/cli run test
Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added
[x] Relevant documentation is changed or added (and PR referenced)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #7450 (6235102) into master (cdcb626) will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #7450      +/-   ##
==========================================
+ Coverage   52.75%   52.78%   +0.03%
==========================================
  Files         514      515       +1
  Lines       25921    25938      +17
  Branches     5058     5070      +12
==========================================
+ Hits        13675    13692      +17
  Misses      11278    11278
  Partials      968      968

Impacted Files
Coverage Δ

...src/extensions/amplify-helpers/input-validation.ts
100.00% <0.00%> (ø)

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 2423e2e...6235102. Read the comment docs.


Nice project that save me hours of development

All in the title: I think it feels good to have some positive feedback sometimes for the moral.
At least as I maintainer too, I appreciate that, so enjoy it ❤
Have a nice day,
Georges

Thanks for the kind thoughts, @Geolim4! Would love your help in keeping it moving forwards :+1:


Support new note files on Supernote A5X (and A6X?) Firmware (C.237)

Although the tool worked on firmware C.203, after the new update today for my A5X (C.237) I receive a UnsupportedFileFormat exception when trying to convert notes that have been modified since the update.
Attached are an "-old" working .note file from firmware C.203 and a "-new" non-working .note file from after the upgrade. (.zip because github doesn't support .note)
supernote notes A5X C.203 and C.237.zip

Thank you for providing A5X note file.
I found same issue on A6X (C.237) note file.
I'll analyze and try to fix it this weekend. Thanks.


Macro: When expanding structures, added to the canvas via Clipboard, an error appears in the Console

Steps to Reproduce

Switch to the Macro mode
Open this file (first unzip) Peptides1.zip
Copy this structure and paste it via the “Paste from Clipboard” button
Separate the two structures by moving the peptides

Actual behavior
The error appears in the Console DevTool (Uncaught TypeError: Cannot read properties of undefined (reading 'drawingEntity'))

rc.test.lifescience.opensource.epam.com-1713774832305.log
Expected behavior
There is no error in the Console DevTool
Screenshots
https://github.com/epam/ketcher/assets/139227567/3a10fc1a-51aa-4e2c-8b5f-5a10bff70b43
Desktop (please complete the following information):

OS: Windows 10 Pro (version 22H2) x64
Browser: Сhrome
Version: (124.0.6367.60) x64

Ketcher version 2.21.0-rc.1, Build at 2024-04-15; 20:06:01
Issue found while testing https://github.com/epam/ketcher/issues/3916

Verified.
Windows 10
Chrome Version Version 124.0.6367.119 (Official Build) (64-bit)
Ketcher Version 2.21.0-rc.2 Build at 2024-05-07; 12:32:44
Indigo Toolkit Version 1.20.0-rc.2.0-g111a89f35-wasm32-wasm-clang-12.0.0

Tested on release 2.21.0-rc.2
Fixed.


Added changelog for partner SDK

Links https://fivetran.height.app/T-708746
Add changelog file and June release

Incorporated all the comments

@ediril, As per @5tran-alexil  suggestions I am changes from We have introduced to Introduced and from We have added to Added. Please check this comment: https://github.com/fivetran/fivetran_sdk/pull/44#discussion_r1644454002

@ediril Could you please re-review this PR

@fivetran-abdulsalam Is there something that blocks from merging this changelog?

Team has decided not to go with the changes and may go few changes in iteration. This PR is not needed now, so closing it


std: use HOMEBREW_ARCH env var on Linux

[ ] Have you followed the guidelines in our Contributing document?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same change?
[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

Unlike macOS, Linux distributions can be installed/deployed on a variety of hardware. The HOMEBREW_ARCH environment variable allows the end user to set a custom -march=... option for the compiler. If the variable is not set, it defaults to native.
This only applies on Linux; on macOS, behavior remains unchanged.

This PR is part of the process of bringing official Linux support into Homebrew/brew, and is a tracked action item at https://github.com/Linuxbrew/brew/issues/612. The corresponding commit on the Linuxbrew side is https://github.com/Linuxbrew/brew/commit/68c0ef3f6d37233ad497fce0afedfb7a03b58f71.

The coding style in Homebrew/brew is that OS.mac? and OS.linux? cannot generally be used in files outside of extend/…. The Linux-specific code could be moved to extend/os/linux/extend/ENV/std.rb.
This feature is only implemented in Stdenv, and Linuxbrew switched the default to Superenv a year and a half ago. So, I suspect this feature HOMEBREW_ARCH has not seen much recent use by users, as no issue has been opened asking why it no longer works.
Though this feature does have its use case (in particular, compiling on a newer cluster head node, and then running on older hardware on the cluster compute nodes), unless there's a particular interest in this feature in Homebrew/brew, I suggest we instead revert this feature from Linuxbrew/brew.

Doesn't brew install --build-bottle default to march=core2 instead of march=native? In the cluster scenario it would probably be better to do that instead.

@alebcay Though I suspect this PR likely won't be merged, I appreciate your help merging Linuxbrew/brew into Homebrew/brew! You could open a PR to revert this change in Linuxbrew/brew. The changes to extend/ENV/std.rb are some of the earliest patches to Linuxbrew, and I suspect many of them are not needed now, especially since Superenv is the default on Linux. I'd suggest avoiding this particular file when looking for chunks to merge into Homebrew/brew.

It's no problem, I was working off of the items here, and this was hardly a difficult change to write..

I've edited that post to strike out that item. The other items all look good.

Though this feature does have its use case (in particular, compiling on a newer cluster head node, and then running on older hardware on the cluster compute nodes), unless there's a particular interest in this feature in Homebrew/brew, I suggest we instead revert this feature from Linuxbrew/brew.

Agreed. Let's pass on this for now and can discuss further when the merge is complete. Sorry but thanks anyway @alebcay!

MikeMcQuaid merged commit eaa1eb4

Er, I meant to close not merge, sorry!

@ablyler Would you be interested in opening a PR to revert this HOMEBREW_ARCH feature in Linuxbrew/brew?


Benchmark Registry microservice

https://github.com/airavata-courses/CloudElves/wiki/Homework-2:-Scalability#benchmarking-results-of-registry-microservice


minecraft:is_tamed claims "sets that this entity is currently tamed.", but this is false.

minecraft:is_tamed is a dummy component, which means it has no behavior. It is ONLY used as a true/false data value that can be filtered/queried.
Now it is true that the vanilla entities tend to use this component as a signifier for tamed status, but this is completely optional. The current page has members of my community thinking they can us this component to tame the entity, which is just false.
This component is functionally indistinguishable from minecraft:is_sheared for example.
Here is our community source on dummy components: https://wiki.bedrock.dev/entities/dummy-components.html
I don't know how you want to structure this, but I think its important for all true dummies (i.e., things on my page that have no attached note) say clearly they are a dummy, and maybe link to a page explaining the concept?

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

ID: 666d6873-c5be-4cf3-51e3-963ade7a69ee
Version Independent ID: 5eebd173-9a48-9972-4e3c-b2d75da594d8
Content: minecraft:is_tamed
Content Source: creator/Reference/Content/EntityReference/Examples/EntityProperties/minecraftProperty_is_tamed.md
Product: gaming
GitHub Login: @v-josjones
Microsoft Alias: v-josjones

In the latest hotfix released this week, we added more detailed examples and explanations for these types of properties.  In cases like minecraft:is_tamed, there is now a note right after the definition explaining that this properly only changes the value for data purposes and that it will require further functionality to achieve what the effect is.
Then there is still the "plain" example that just shows the boolean being set, but there is an example after that shows how to get that  desired affect. minecraft:is_tamed shows how the minecraft:tameable component is set up, then fires a custom event with the minecraft:is_tamed property set.
Lastly in cases like minecraft:is_tamed, there is a note after the examples talking about component groups. This way, if the the entity can toggle between different states such as being tamed and no longer being tamed, you can up component groups to contain the property and just use the add: or remove: functionality on the component groups.
Files that have this include:

is_tamed
is_stunned
is_baby
is_charged
is_chested
is_ignited
is_illager_captain
is_sheared

While there are others, we are looking at ways after we get all reference docs up on MSDocs to go through and work on examples to showcase the functionality in a friendlier way, such as can_fly and can_climb.


HTML rendering in tab contents

hi guys,
I am trying to render html inside the tab contents. Can you please help?
Regards,
Owais

@btechgroup would you happen to have an example of the code which is not working?

@btechgroup would you happen to have an example of the code which is not working?

thanks @tlehtimaki , I got it working, was using a function to return html contents for tabs and there was error in that function.


fix: 🐛 Handle queryMulti params correctly

Description
Following error was currently thrown
2022-11-29 16:38:36             VEC: Unable to decode on index 1 Expected an array of 2 values as params to a Map query
2022-11-29 16:38:36        RPC-CORE: subscribeStorage(keys?: Vec<StorageKey>): StorageChangeSet:: createType(Vec<StorageKey>):: Expected an array of 2 values as params to a Map query
2022-11-29 16:38:36             DRR: createType(Vec<StorageKey>):: Expected an array of 2 values as params to a Map query

~/polymesh-rest-api-cloned/node_modules/@polkadot/types-create/cjs/create/type.js:73
    firstError = new Error(`createType(${type}):: ${error.message}`);
                 ^
Error: createType(Vec<StorageKey>):: Expected an array of 2 values as params to a Map query

queryMulti expects an array of arguments with query storage allows more than one arguments. This change fixes the generic type for requestMulti internal function to infer the same.
Breaking Changes
NA
JIRA Link
DA-452
Checklist

[ ] Updated the Readme.md (if required) ?

LGTM.
Ideally we'd be able to use queryMulti instead. Do you know what the problem is? I feel like its going to cause issues in the future.

I interpreted the error incorrectly. Actually the queryMulti expects us to pass the arguments of query storage as an arrary if number of arguments is greater than 1 (Updated the error in the PR description).
Right now, the arguments were flattened in all cases. I have updated the type to handle the same

:tada: This PR is included in version 19.0.0-beta.2 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 19.0.0-alpha.4 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Timeline statistics

Display how the number of prs changed over time.
Maybe display also how many reviewers worked this time and how complex these prs were.
F. ex. in form like:

Liczba pull requestów i średni czas czekania

I started working on the backend part of it.

I ve started backend


feat: Add support for Sepolia and Holesky Ethereum testnets

Add new entries for TESTNET_HOLESKY and TESTNET_SEPOLIA.

These are the contemporary public Ethereum testnets.
https://sepolia.dev
https://github.com/eth-clients/holesky

 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.

@legobeat I see it's market as a Draft. Does it mean you're going to add additional commits?

Thank you @legobeat


Link for Windows 10 November 2019 AADMX needs to updated

Link for Administrative Templates (.admx) for Windows 10 November 2019 Update (1909) needs to be https://www.microsoft.com/download/confirmation.aspx?id=100591 not https://www.microsoft.com/download/confirmation.aspx?id=1005915
Thanks!

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

ID: ad012591-5c74-f1cd-d3a2-443768e8ceee
Version Independent ID: 918ea4bc-0849-3745-5d9d-a21a973bcd3b
Content: Enroll a Windows 10 device automatically using Group Policy - Windows Client Management
Content Source: windows/client-management/mdm/enroll-a-windows-10-device-automatically-using-group-policy.md
Product: w10
Technology: windows
GitHub Login: @ManikaDhiman
Microsoft Alias: dansimp

@bupton-advicent . thanks for pointing out. I am updating the link.

Thanks!

Brent Upton
Systems Engineer
Precision planning software
for every planning strategy
Follow us:Twitter |LinkedIn
CONFIDENTIALITY NOTICE: This e-mail, including attachments, is intended solely for the person or entity to which it is addressed and may contain confidential, privileged and/or proprietary information. Any review, dissemination, distribution, copying, printing, or other use of this e-mail by persons or entities other than the addressee or his/her authorized agent is prohibited. If you have received this e-mail in error, please contact the sender immediately and delete the material from your computer. You may notify this individual that you no longer wish to receive any commercial e-mails from this sender by replying to this e-mail or by sending a written request to 10700 W. Research Drive, Suite One, Attn: Marketing, Milwaukee, WI  53226.
From: VARADHARAJAN K<EMAIL_ADDRESS>Sent: Tuesday, November 17, 2020 10:43 AM
To: MicrosoftDocs/windows-itpro-docs<EMAIL_ADDRESS>Cc: Upton, Brent<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/windows-itpro-docs] Link for Windows 10 November 2019 AADMX needs to updated (#8655)
EXTERNAL EMAIL: Be cautious of links and attachments.
@bupton-advicenthttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_bupton-2Dadvicent&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=r2ZzFyf_-Ai-DiwUdQaT0e6k1aj_RrPKODYIQ6iOGis&m=jUXJnswrNttDbDVTQLKD7BBuV4CwjqY-HUdabUI4ptw&s=NRqwpLgdjzfymMN9xka9rOLDqAQatt9zCYdA4twFLZc&e= . thanks for pointing out. I am updating the link.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_MicrosoftDocs_windows-2Ditpro-2Ddocs_issues_8655-23issuecomment-2D729052736&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=r2ZzFyf_-Ai-DiwUdQaT0e6k1aj_RrPKODYIQ6iOGis&m=jUXJnswrNttDbDVTQLKD7BBuV4CwjqY-HUdabUI4ptw&s=Vt3ziv_rGC1H9bH2TbPYeFXch0mppnp-oboWvgJMHQg&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AMIZGGYDGYQNO2E7SRGTBM3SQKRZNANCNFSM4TYWSVHA&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=r2ZzFyf_-Ai-DiwUdQaT0e6k1aj_RrPKODYIQ6iOGis&m=jUXJnswrNttDbDVTQLKD7BBuV4CwjqY-HUdabUI4ptw&s=v35PE9uCenD-rrHNDGhgHzAB5ESGReQ057DTrz-pghE&e=.

The PR looks good to me, the link works fine as long as you want to start the download directly.
(Hmm, I forgot to check whether anyone knows if the link should lead to the download page without starting the download.)


Error executing execSync "EPERM: operation not permitted, write"

Hi guys,
I'm making a electron app and had this problem :disappointed:. The error is throwed after execute a call for child_process.execSync. When I run electron from the command line, this code works without  problem.
I've tested it on others platform and on linux and mac works nicely.
I already saw the #2033 and #3266 but nothing resolutive for there.
I'm on Windows 10 x64 and using the Electron version 0.36.4.
That's the command I try to execute.

That's the response

Any ideas what it can be? Any workarounds or solutions?
Thanks
Matheus

@mapaiva are you able to provide a reduced test application that demonstrates this behavior?

@kevinsawicki Of course.

Closing until more information is provided.

I am hit by a very similar problem on Windows 10 + electron 1.0.1 and 1.0.2 (I haven't tried 1.1.0 because it currently does not work with Windows 10).
As part of my electron app, I am using electron-sudo.exec which eventually calls child_process.execSync().


Supress poisonPills from reaching the actor

Fixes #103

I think that it would be better if poison pill message did not receive inbox at first place. So there is no need to handle it on invoke. I need to dive into this one to check if that's an option

@tprifti Look at who calls invokeMsg(). Its process.Invoke, where the poisonPill is actually handled. So it must be supressed in either in invokeMsg or the caller. And imo it's a lot more readable as it is.


Degraded Machine-Config

Description:
machine-config becomes degraded 15mins after cluster start. Didn't notice an issue until I updated the default ingress cert (5 days later) and lost the ability to login to the web console.
Cluster Version:
OKD 4.4.0-0.okd-2020-01-28-022517 on AWS
must-gather:  https://drive.google.com/open?id=1Ex9fyflP7FVC049X5JvISCudwxN2QQIr
cc: @vrutkovs

'Node ip-10-0-135-100.us-east-2.compute.internal is reporting: "unexpected
on-disk state validating against rendered-master-573b7311eb1884238b3971e8453058c2"'

2020-01-30T01:34:00.15541173Z I0130 01:34:00.155323  129603 daemon.go:959] Validating against current config rendered-master-573b7311eb1884238b3971e8453058c2
2020-01-30T01:34:00.163999315Z E0130 01:34:00.163951  129603 daemon.go:1351] content mismatch for file /var/lib/kubelet/config.json: {"auths":{"
2020-01-30T01:34:00.163999315Z
2020-01-30T01:34:00.163999315Z A: registry.redhat.io":{"auth":"","email":""}}}
2020-01-30T01:34:00.163999315Z
2020-01-30T01:34:00.163999315Z
2020-01-30T01:34:00.163999315Z B: fake":{"auth":"bar"}}}
2020-01-30T01:34:00.163999315Z
2020-01-30T01:34:00.163999315Z

Did you switch the pull secret in flight?

Switched pull secret after the install. The image streams weren't being pulled from registry.redhat.io

Hmm, I don't think that is supported. I assume you replaced the pull secret in MC, right?
/cc @LorbusChris

I only updated the pull-secret in the openshift-config namespace.

That seems to be an MCO bug then (replacing the config map is a correct way, its documented so it should work)

I can confirm the issue occurs with any change to the pull secret including removing the secret for insights/support.
Followed this guide: https://docs.openshift.com/container-platform/4.3/support/remote_health_monitoring/opting-out-of-remote-health-reporting.html
Result:
Node master-0.okd.hirstgroup.net is reporting: "unexpected on-disk state validating against rendered-master-117eb4416146e766dfa49fba73e06f4f"

Should changing my secret back to {"auths":{"fake":{"auth": "bar"}}} fix this?

It doesn't work to revert it from my experience. I had to rebuild the whole cluster

Should changing my secret back to {"auths":{"fake":{"auth": "bar"}}} fix this?

I'm confused, was your original pull secret this pull secret or an actual pull secret?

@sgreene570 the pull secret I had was an actual pull secret. Everything worked fine with it. I then changed it by removing the cloud.redhat.com credentials from the pull secret. This is when it broke MCO and rendered it degraded.
It seems any change to the pull secret at all causes this conflict.

This is an OKD cluster, so my original pull secret was {"auths":{"fake":{"auth": "bar"}}}
OKD currently tries to use OCP imagestreams by default. (this being addressed: https://github.com/openshift/okd/issues/34 ).
Not knowing the ramifications... I changed the cluster pull secret to my registry.redhat.io secret so image streams could be downloaded by the samples operator (which worked).
I'll probably rebuild once the community samples are working.

@vrutkovs Do you need more information from this cluster? I'd like to delete and rebuild and have a working cluster again.

It seems to be easy to reproduce (changing the pull secret triggers it).
Could you check if https://github.com/openshift/installer/pull/3020 improves the situation?

Looked into this today:

changing secret immediately(?) writes down the file on the first master
machine-config-daemon tries to validate /var/lib/kubelet/config.json against existing configuration
that causes ```
content mismatch for file /var/lib/kubelet/config.json: {"auths":{"

A: fake":{"auth":"bar"}}}
B: cloud.openshift.com":{"auth":

Generated `rendered-` configs looks sane, not sure why would the file be written before MCD validates the existing configuration.

@LorbusChris @sgreene570 any ideas?

Looked into this today:

changing secret immediately(?) writes down the file on the first master
machine-config-daemon tries to validate /var/lib/kubelet/config.json against existing configuration
that causes

content mismatch for file /var/lib/kubelet/config.json: {"auths":{"

A: fake":{"auth":"bar"}}}

B: cloud.openshift.com":{"auth":

Generated rendered- configs looks sane, not sure why would the file be written before MCD validates the existing configuration.
@LorbusChris @sgreene570 any ideas?

This error is from when the MCD goes to validate the files on disk (including /var/lib/kubelet/config.json) after a node reboots after the change is applied, right?
Are the nodes somehow comparing the wrong configs to the current state?

iirc this happens before the node is rebooted, so MCD is comparing it to a wrong commit (I'll confirm that).
I'll check if rebased MCD fixes this

Possible Workaround, need verification.
I installed using {"auths":{"fake":{"auth": "bar"}}} as the pull-secret in my install-config.yaml.  After the cluster was up I realized I should have used my real pull-secret.  So I created another install-config.yaml with the correct pull secret in a temp directory and created a manifest using  "openshift-install create manifests --dir=install_temp".  This generated a openshift-config-secret-pull-secret.yaml under the install_temp/manifests directory.  I changed to the openshift-config project and deleted the pull secret and recreated using the newly generated openshift-config-secret-pull-secret.yaml.  Then I updated the /var/lib/kubelet/config.json on each node.  Next, I cordon'd, drained, rebooted, and uncordon'd each node (with only one node being down at any given time).  After this the images began downloading and the list of failed images in the openshift-sample operator dwindled as the imagestreams in the openshift project populated.
There are about 5 more to go for me and then the openshift-samples operator should no longer be degraded.  I'm unsure if all my steps were necessary, specifically rebooting the nodes, but it worked for me.

There are about 5 more to go for me and then the openshift-samples operator should no longer be degraded. It has been a slow process, over an hour and still going. I'm unsure if all my steps were necessary, specifically rebooting the nodes, but it worked for me.

Whew that sounds like a lot of effort! Hopefully rebased MCD solves this problem. Rebooting the nodes might not be necessary in this case, but it is a good way to verify that the pull secret won't be reverted on the next node reboot.

MCO rebase in https://origin-release.svc.ci.openshift.org/releasestream/4.4.0-0.okd/release/4.4.0-0.okd-2020-03-25-115303 seems to fix that - it takes a while for cluster to update (about 10 mins here), but it doesn't degrade and I can no longer pull images from registry.redhat.io.
Please file a new bug if this occurs again and link to this one


Add configuration for MQ 7.5

Copy of the working MQv8 Dockerimage files using Version MQ Version 7.5
from IBM Dev files.

Sorry for the delay in responding to this pull request.  Sadly, only IBM MQ V8.0 and onwards are supported in Docker, so I don't think this request should be merged.


H3 deps build script update.

Update some curl dependencies. nghttp3, ngtcp2, nghttp2.
Latest curl made some changes in repect to QUIC which needs some libs update:
https://github.com/curl/curl/issues/11827
https://github.com/nghttp2/nghttp2/pull/2076/

No quiche update on this PR?
Although the latest release does not have quictls support yet, there were security fixes.
https://github.com/cloudflare/quiche/releases/tag/0.20.1

Thanks for your work on this.
Do we have other updates we need now that your quictls change has landed in quiche?

We do not have an offical release just yet, but as Masakazu said, we should update to 0.20.1.

No quiche update on this PR? Although the latest release does not have quictls support yet, there were security fixes. https://github.com/cloudflare/quiche/releases/tag/0.20.1

Updated, we weren't even using latest.

Cherry-picked to v10.0.x


[WIP] use modify to change objective

use MOI.modify() to change objective instead of MOI.set()
-> to reuse model instead of rebuilding it

Codecov Report

Merging #291 (496e994) into master (a006fc5) will decrease coverage by 0.59%.
The diff coverage is 73.07%.

:exclamation: Current head 496e994 differs from pull request most recent head ac21e70. Consider uploading reports for the commit ac21e70 to get more accurate results

@@            Coverage Diff             @@
##           master     #291      +/-   ##
==========================================
- Coverage   73.01%   72.42%   -0.60%
==========================================
  Files          14       14
  Lines        1968     1958      -10
==========================================
- Hits         1437     1418      -19
- Misses        531      540       +9

Impacted Files
Coverage Δ

src/moi_oracle.jl
86.53% <65.00%> (-13.47%)
:arrow_down:

src/norm_oracles.jl
95.93% <100.00%> (-0.07%)
:arrow_down:

src/polytope_oracles.jl
98.85% <100.00%> (-0.02%)
:arrow_down:

src/simplex_oracles.jl
92.30% <100.00%> (ø)

src/blended_cg.jl
50.13% <0.00%> (-0.80%)
:arrow_down:

src/oracles.jl
86.45% <0.00%> (-0.80%)
:arrow_down:

src/types.jl
81.81% <0.00%> (-0.43%)
:arrow_down:

src/active_set.jl
84.21% <0.00%> (-0.24%)
:arrow_down:

src/utils.jl
59.77% <0.00%> (-0.23%)
:arrow_down:

... and 2 more

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 a006fc5...ac21e70. Read the comment docs.


about edns-client-subnet

Can dnscrypt-proxy2 support edns-client-subnet?

Hi!
Yes, it does. If the client sends a ECS option, dnscrypt-proxy will send it to the server. If the server sends it to authoritative servers, it will keep doing so, with or without dnscrypt.

Hello, how to let the client send edns request by default @jedisct1

The client doesn't do that, as edns-clientsubnet is very bad for privacy.
Is it for use with Google?

@jedisct1 Does dnscrypt-proxy2 support ECS by default, or does it need to be modified to take effect?

It supports ECS by default, but it doesn't add this information, the client has to add it.
This will only work if you are using Google DNS.

Even with Google, it doesn't seem to work (any more? It seemed to me that it used to work at some point). What Google transmits is the real network address, not what the client sends.

我尝试向Google发送edns选项，结果与不发送edns的选项相同@jedisct1

Yes, so like Cisco, Google doesn't ignores the ECS data from the client and sends the real network IP to companies and organizations that asked for it.
If dnscrypt-proxy adds ECS information, it wouldn't change anything.

Ok, I hope dnscrypt can really support edns in the future. @jedisct1

It does, it always did. But resolvers don't forward this information, with or without DNSCrypt.


Network errors by the truckloads

Describe the bug
As I make changes to the project, Bolt continuously had network errors and I keep getting charged tokens each time it does.  Eventually as i made more changes the page began erring and not even letting me make updates to it anymore.  I currently have an open ssh pipeline which has not lost connection once this entire time so it's not an issue with my network.
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-buhro5
Steps to reproduce
Use the tool for multiple steps beyond the first
Expected behavior
I expected the tool to be able to fix issues with the project and to not charge me when it has network issues.
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 129
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 88182258,
  "usedJSHeapSize": 66313866,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = NoHitCrit
Chat ID = d4d04fca0324

Additional context
Error:
network error

Apologies for the frustration! Are you able to share a screenshot of any of the specific error messages you are receiving?

This is one of the errors that cropped up that was not an network
connection error:
[image: image.png]
The ai was unable to resolve the issue and I ended up creating a new
project to resolve it as I didn't know what the issue was.
Is the user expected to change the code manually to fix issues like this?
Just want to know what the expectation is.
Also, if I do change it manually to fix the issue, will it crop up again or
will the ai respect the manual change?
On Fri, Nov 22, 2024 at 2:16 PM Brian @.***> wrote:

Apologies for the frustration! Are you able to share a screenshot of any
of the specific error messages you are receiving?
—
Reply to this email directly, view it on GitHub
https://github.com/stackblitz/bolt.new/issues/2987#issuecomment-2494826139,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKRCDZLW4LYC3W2ERSJO57T2B6NMTAVCNFSM6AAAAABSKD6OUOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJUHAZDMMJTHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

An example of the network errors:
[image: image.png]
Is there any way to have it recover what it was doing without having to use
up loads of tokens?
I don't really feel like this tool is feasible to use if I'm constantly
needing to click retry until all my tokens are used without getting results.
On Mon, Nov 25, 2024 at 10:01 AM Benjamin Adler @.***> wrote:

This is one of the errors that cropped up that was not an network
connection error:
[image: image.png]
The ai was unable to resolve the issue and I ended up creating a new
project to resolve it as I didn't know what the issue was.
Is the user expected to change the code manually to fix issues like this?
Just want to know what the expectation is.
Also, if I do change it manually to fix the issue, will it crop up again
or will the ai respect the manual change?
On Fri, Nov 22, 2024 at 2:16 PM Brian @.***> wrote:

Apologies for the frustration! Are you able to share a screenshot of any
of the specific error messages you are receiving?
—
Reply to this email directly, view it on GitHub
https://github.com/stackblitz/bolt.new/issues/2987#issuecomment-2494826139,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKRCDZLW4LYC3W2ERSJO57T2B6NMTAVCNFSM6AAAAABSKD6OUOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJUHAZDMMJTHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Today, I have been completely unable to even get the project to load.
[image: image.png]
It's seeming like I'm going to have to add a new project again and start
from scratch like I have done the past few times this happens.
On Mon, Dec 9, 2024 at 9:02 AM Benjamin Adler @.***> wrote:

An example of the network errors:
[image: image.png]
Is there any way to have it recover what it was doing without having to
use up loads of tokens?
I don't really feel like this tool is feasible to use if I'm constantly
needing to click retry until all my tokens are used without getting results.
On Mon, Nov 25, 2024 at 10:01 AM Benjamin Adler @.***>
wrote:

This is one of the errors that cropped up that was not an network
connection error:
[image: image.png]
The ai was unable to resolve the issue and I ended up creating a new
project to resolve it as I didn't know what the issue was.
Is the user expected to change the code manually to fix issues like
this?  Just want to know what the expectation is.
Also, if I do change it manually to fix the issue, will it crop up again
or will the ai respect the manual change?
On Fri, Nov 22, 2024 at 2:16 PM Brian @.***> wrote:

Apologies for the frustration! Are you able to share a screenshot of any
of the specific error messages you are receiving?
—
Reply to this email directly, view it on GitHub
https://github.com/stackblitz/bolt.new/issues/2987#issuecomment-2494826139,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKRCDZLW4LYC3W2ERSJO57T2B6NMTAVCNFSM6AAAAABSKD6OUOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJUHAZDMMJTHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

After getting the project to load, my first request resulted in what
appears to be a 500 error while stating that the site is fully functional.
[image: image.png]
On Mon, Dec 9, 2024 at 9:22 AM Benjamin Adler @.***> wrote:

Today, I have been completely unable to even get the project to load.
[image: image.png]
It's seeming like I'm going to have to add a new project again and start
from scratch like I have done the past few times this happens.
On Mon, Dec 9, 2024 at 9:02 AM Benjamin Adler @.***> wrote:

An example of the network errors:
[image: image.png]
Is there any way to have it recover what it was doing without having to
use up loads of tokens?
I don't really feel like this tool is feasible to use if I'm constantly
needing to click retry until all my tokens are used without getting results.
On Mon, Nov 25, 2024 at 10:01 AM Benjamin Adler @.***>
wrote:

This is one of the errors that cropped up that was not an network
connection error:
[image: image.png]
The ai was unable to resolve the issue and I ended up creating a new
project to resolve it as I didn't know what the issue was.
Is the user expected to change the code manually to fix issues like
this?  Just want to know what the expectation is.
Also, if I do change it manually to fix the issue, will it crop up again
or will the ai respect the manual change?
On Fri, Nov 22, 2024 at 2:16 PM Brian @.***> wrote:

Apologies for the frustration! Are you able to share a screenshot of
any of the specific error messages you are receiving?
—
Reply to this email directly, view it on GitHub
https://github.com/stackblitz/bolt.new/issues/2987#issuecomment-2494826139,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKRCDZLW4LYC3W2ERSJO57T2B6NMTAVCNFSM6AAAAABSKD6OUOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJUHAZDMMJTHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Turns out the network errors were being caused by a docker instance that
kept restarting periodically.
I ran docker-compose down to close the instance and the majority of errors
have stopped.
Figured it out thanks to this guy:
https://askubuntu.com/questions/958902/err-network-changed-on-chrome-with-ubuntu-17-04
On Mon, Dec 9, 2024 at 9:48 AM Benjamin Adler @.***> wrote:

After getting the project to load, my first request resulted in what
appears to be a 500 error while stating that the site is fully functional.
[image: image.png]
On Mon, Dec 9, 2024 at 9:22 AM Benjamin Adler @.***> wrote:

Today, I have been completely unable to even get the project to load.
[image: image.png]
It's seeming like I'm going to have to add a new project again and start
from scratch like I have done the past few times this happens.
On Mon, Dec 9, 2024 at 9:02 AM Benjamin Adler @.***>
wrote:

An example of the network errors:
[image: image.png]
Is there any way to have it recover what it was doing without having to
use up loads of tokens?
I don't really feel like this tool is feasible to use if I'm constantly
needing to click retry until all my tokens are used without getting results.
On Mon, Nov 25, 2024 at 10:01 AM Benjamin Adler @.***>
wrote:

This is one of the errors that cropped up that was not an network
connection error:
[image: image.png]
The ai was unable to resolve the issue and I ended up creating a new
project to resolve it as I didn't know what the issue was.
Is the user expected to change the code manually to fix issues like
this?  Just want to know what the expectation is.
Also, if I do change it manually to fix the issue, will it crop up
again or will the ai respect the manual change?
On Fri, Nov 22, 2024 at 2:16 PM Brian @.***> wrote:

Apologies for the frustration! Are you able to share a screenshot of
any of the specific error messages you are receiving?
—
Reply to this email directly, view it on GitHub
https://github.com/stackblitz/bolt.new/issues/2987#issuecomment-2494826139,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKRCDZLW4LYC3W2ERSJO57T2B6NMTAVCNFSM6AAAAABSKD6OUOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJUHAZDMMJTHE
.
You are receiving this because you authored the thread.Message ID:
@.***>


Compatibility with Symfony 6

Hello,
Could it be possible to update the library to make it compatible with Symfony/cache V6.0 and higher?
Best regards!

It should be fixed now. Please udate this package to the latest version (3.3).


Watermark on Screensaver

Is there a way to disable the watermark on the screensaver to keep it from burning into the screen?

The watermark rotates every 20 minutes so no burn-in occurs. There are no plans to remove this or disable on the screensaver.