getting 403 code in .v1.filterStream

Discussed in https://github.com/PLhery/node-twitter-api-v2/discussions/396

Originally posted by MehdiMamas November  3, 2022
Hey, I would like to know if it is possible to make a rule and use it in only one get stream, much like it was in v1
In my attempt to use v1 filtered streaming, I am receiving only a 403 response. Could you please advise me?
here is the error:
Uncaught ApiResponseError Error: Request failed with code 403
    at ApiResponseError (c:\Upwork\pengu-react\server\node_modules\twitter-api-v2\dist\types\errors.types.js:71:15)
    at createResponseError (c:\Upwork\pengu-react\server\node_modules\twitter-api-v2\dist\client-mixins\request-handler.helper.js:103:16)
    at onResponseEndHandler (c:\Upwork\pengu-react\server\node_modules\twitter-api-v2\dist\client-mixins\request-handler.helper.js:252:25)
    at emit (events:513:28)
    at endReadableNT (internal/streams/readable:1358:12)
    at processTicksAndRejections (internal/process/task_queues:83:21)

here is my code:
            var streamFilter = await userClient.v1.filterStream({
                // See FilterStreamParams interface.
                track: `from:${handle}`,
            });
            streamFilter.on(ETwitterStreamEvent.Data, function (tweet) {
                console.log(tweet);
                io.to(`twitter_${handle}`).emit("data-monitored", { type: "twitter", handle, reason: "TweetCreate" })
            })
            streamFilter.on(
                // Emitted when Node.js {response} emits a 'error' event (contains its payload).
                ETwitterStreamEvent.ConnectionError,
                err => console.log('Connection error!', err),
            );

            streamFilter.on(
                // Emitted when Node.js {response} is closed by remote or using .close().
                ETwitterStreamEvent.ConnectionClosed,
                () => console.log('Connection has been closed.'),
            );

            streamFilter.on(
                // Emitted when a Twitter sent a signal to maintain connection active
                ETwitterStreamEvent.DataKeepAlive,
                () => console.log('Twitter has a keep-alive packet.'),
            );

            // Enable reconnect feature
            streamFilter.autoReconnect = true;

Hi,
Please check the response content by reading err.toJSON() (and by catching error properly when using await)!


Problem at starting waypoint mission (related to location)

Hi I'm new and i don't know how works this tool, sorry if i do some mistake.
I am using the macro of waypoints provided by DJI based on google maps and is supposed that when your mission is ready and uploaded successfully (i reached that point) , as soon as you press start the dron should start flying toward the waypoints with any problem.
But i tried today to do this and i got a problem like "my location was not correct, or what the dron was not able to set its home location".
I am sorry but i can't give you the specific message of the error because the dron is not mine and i can't reproduce again the error maybe until some days later (Moreover i tried to find out the error on the toast messages on the source code but i couldn't).
Is this problem due to some poor receival of GPS signal or it deppends on other issues?
I'm using a DJI  phantom 4, android studio 2.2,  DJI SDK 4.0.2.  ,android version 5.1.1, and device Energy pro 4G.
Thank you beforehand!

Hi @AeroOmar, thanks for the feedbacks. Please check the followings:

We have launched the Android SDK 4.1.1 recently, and the GSDemo has been updated to this latest version too. Could you download and try it again?
Do you use the DJI Assistant 2 Simulator to test the GSDemo or go outside to test it?  You can follow the tutorial: Creating a MapView and Waypoint Application to learn how to use the Simulator to test it.
If you test the GSDemo outside, please make sure the GPS signal is strong, you can connect to DJI Go app first and make sure the aircraft has no issues (Check the checklist items). Then use the GSDemo to test again.

Hope these help!

I tested it outside because I just have this dron few hours a week and was the faster method but i'll try the simulator. Firstly I'm  going to check the signal in the official app (I didn't think about that) and if all goes wrong I'll update the app yo the latest version, thank you so much  i close the thread :D


Update olap-engines.md

Missing Pinot in available OLAP engines, as well as testing git pull requests :)

FYI once you merge, it should trigger an automation that will redeploy the docs (you will see the redeployment on #announce-marketing)


NIFI-4379: Event-Driven threads are constantly active, polling a queu…

…e to see if there is any work to do. Instead of getting number of active threads from the ScheduledExecutor for these threads, updated code to use an AtomicInteger that is incremented when there's work to do and decremented once complete
Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

[ ] Is your initial contribution a single, squashed commit?

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

reviewing

+1, full build with contrib check, code LGTM, confirmed the threads count in the UI.


KAFKA-9679: Make MockConsumer.poll() consistent with KafkaConsumer

MockConsumer should filter records from unassigned partitions instead of throwing.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@abbccdda please review


Recommendations for mockups

recommendations for making mockups

Are you asking about tools for building mockups? Or resources on how to build good mockups?

@luqmaan Both. I know mockups is a very rich topic but our brigade members have little, if any experience with making them; so both tools to make them and some introductory resources would be helpful.

@skorasaurus I added some recommendations in #11.


Support HOOK_CHAIN=yes mode

We'll set all TXT records in one pass, and do the checks in
another. It'll save us a lot of precious time when issuing
certificates with large number of SANs.

HOOK_CHAIN should be supported for sure. I'll take a look and merge shortly.

Merged, thanks for your contribution.


fix the headings and blank row in table, more goats in a volcano

Overview of changes
More goats into a volcano to make the TOC work on the Open Data Standards page
Why are these changes being made?
Want to fix a thing and throwing things at it
Detailed description of changes
Won't know if it's fixed until merged
Issue ticket number/s and link
None
Checklist before requesting a review

[x] I have checked the contributing guidelines
[x] I have checked for and linked any relevant issues that this may resolve
[x] I have checked that these changes build locally
[x] I understand that if merged into main, these changes will be publicly available

Needs some more changes first - will sort those later this morning


OpenCL JNI compilation is failing on WSL2 on v.10.4

Hello guys.
I have tried to install TornadoVM on Ubuntu 22.04 WSL 2
uname -r
<IP_ADDRESS>-microsoft-standard-WSL2+

That is what I have got. I have provided the info and built a log.
https://gist.github.com/laa/ccf0ee18ef4aa903899727849486af8c
Any suggestions?

The problem seems to be in the compilation of the OpenCL native library for TornadoVM.
In Ubuntu, I remember we need this to link with OpenCL "-lOpenCL" :
sudo ln -s /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 /usr/lib/x86_64-linux-gnu/libOpenCL.so

Let me know if that works.
Otherwise, try to compile the OpenCL JNI library, and report the error you get:
cd $TORNDO_ROOT
cd opencl-jni/src/main/cpp/
mkdir build
cd build
cmake ..
make

I updated the code snippet with the right paths

Hi @jjfumero thank you.
It was build fin, but right now I have got new problem:
andrii@DESKTOP-MKC3EK4:~/TornadoVM/dist/tornado-sdk/tornado-sdk-1.0.4-585574e/bin$ ./tornado --devices
WARNING: Using incubator modules: jdk.incubator.vector
Exception in thread "main" java.lang.ExceptionInInitializerError
        at tornado.drivers.spirv@1.0.4/uk.ac.manchester.tornado.drivers.spirv.SPIRVBackendImpl.<init>(SPIRVBackendImpl.java:67)
        at tornado.drivers.spirv@1.0.4/uk.ac.manchester.tornado.drivers.spirv.SPIRVTornadoDriverProvider.createBackend(SPIRVTornadoDriverProvider.java:47)
        at tornado.runtime@1.0.4/uk.ac.manchester.tornado.runtime.TornadoCoreRuntime.loadBackends(TornadoCoreRuntime.java:167)
        at tornado.runtime@1.0.4/uk.ac.manchester.tornado.runtime.TornadoCoreRuntime.<init>(TornadoCoreRuntime.java:105)
        at tornado.runtime@1.0.4/uk.ac.manchester.tornado.runtime.TornadoCoreRuntime.<clinit>(TornadoCoreRuntime.java:79)
        at tornado.drivers.common@1.0.4/uk.ac.manchester.tornado.drivers.TornadoDeviceQuery.main(TornadoDeviceQuery.java:74)
Caused by: uk.ac.manchester.tornado.api.exceptions.TornadoRuntimeException: [ERROR] Level Zero Driver Not Found
        at tornado.drivers.spirv@1.0.4/uk.ac.manchester.tornado.drivers.spirv.SPIRVLevelZeroDriver.<init>(SPIRVLevelZeroDriver.java:45)
        at tornado.drivers.spirv@1.0.4/uk.ac.manchester.tornado.drivers.spirv.SPIRVProxy.<clinit>(SPIRVProxy.java:50)
        ... 6 more
        ``

For the SPIR-V you need the Intel compute runtime and the level zero implementation.
You can get the binaries for Ubuntu here: https://github.com/intel/compute-runtime/releases/tag/24.13.29138.7
TornadoVM will install and configure the Level Zero Loader.

Does not work, unfortunately. Do you have any other suggestions? I will be glad to provide you with any additional information you need.

  Execution capabilities
    Run OpenCL kernels                            Yes
    Run native kernels                            No
    Non-uniform work-groups                       Yes
    Work-group collective functions               Yes
    Sub-group independent forward progress        No
    IL version                                    SPIR-V_1.3 SPIR-V_1.2 SPIR-V_1.1 SPIR-V_1.0
    ILs with version                              SPIR-V                                                           0x403000 (1.3.0)
                                                  SPIR-V                                                           0x402000 (1.2.0)
                                                  SPIR-V                                                           0x401000 (1.1.0)
                                                  SPIR-V                                                           0x400000 (1.0.0)

This error in TornadoVM is due to the missing runtime/driver to run with Level Zero.
Did you also installed oneAPI on the host (Windows)?
Alternatively, can you check only with the OpenCL backend?
source setvars.sh
make BACKEND=opencl

OpenCL backend works for me. Though I now have problems with PTX :-) I have RTX 4090, which I want to use as the main workhorse, though I want to test it on different devices. I will create a different issue for that, though.

I never manage to run the PTX within the WSL to be honest. I run the PTX using the native Windows installation.

Got it. I hope the situation will improve in the future. Unfortunately, I do not have any choice but to move to pure Windows installation. I appreciate your help. The installation process is really cumbersome right now. Imagine a developer (like me) who wants to test if it is possible to develop an efficient ML library based on TornadoVM.  He will start to think : "how many users will want to agree to undergo this installation routine ?" Hopefully, installation will be improved.

Thank you for your feedback.


Menu bar is not visible in darkmode in mobile view.

Is this a unique feature?

[X] I have checked "open" AND "closed" issues and this is not a duplicate

Is your feature request related to a problem/unavailable functionality? Please describe.

in mobile view, the menubar is not visible and the menu is not perfectly arranged

it is still in light mode
Proposed Solution
I want to fix this issue
Screenshots
No response
Do you want to work on this issue?
Yes
If "yes" to above, please explain how you would technically implement this (issue will not be assigned if this is skipped)
No response

I have assigned it to you


Remap Neighborhood to Region

List of Neighborhoods
Airport Sub area
Barton McFarland area
Boston-Edison / North End area
Boynton
Campau / Banglatown
Dexter Linwood
Farwell area
Gratiot Town / Kettering area
Gratiot / 7 Mile area
Greater Corktown area
Greater Downtown area
Islandview / Greater Villages area
Jefferson Chalmers area
Livernois / McNichols area
Morningside area
North Campau area
Northwest / Grand River area
Northwest University District area
Palmer Park area
Russell Woods / Nardin Park area
Southwest / Vernor area
Warrendale / Cody Rouge area
West End area
List of Regions
East Side
Greater Downtown
Southwest
West Side
Neighborhood to Region Area Mapping
https://docs.google.com/spreadsheets/d/15KIX_wSuKmrtjYYrgRgb-LN1cdxIIJ9RSffPJ7SQ7j4/edit#gid=1612299484

@pbn4 this is ready

Okay I think this is looking good for the most part

@pbn4 can you take another look at this? I see the region values in the db in prod, but don't see any of them represented in partners

This is on dev now.

I think this is good, but will do another check on prod


Update Recept “Chokladquinolamedhasselntterochgrekiskyoghurt”

Automatically generated by Netlify CMS

👷 Deploy Preview for eager-perlman-de5c57 processing.
🔨 Explore the source changes: c70a8e3c898b437d8844a4c74f4e041c8f580875
🔍 Inspect the deploy log: https://app.netlify.com/sites/eager-perlman-de5c57/deploys/619abc9e7332230007f7219d


NPC Indicator improvements: Ability to toggle 'Draw ALL NPC names above heads, excluding[...]'; and more...

Is your feature request related to a problem? Please describe.
No particular problem. I would just love to be able to have all NPC names displayed above heads. This would be fantastic for questing (as opposed to tagging and adding each NPC one at a time).
Describe the solution you'd like
A i/o toggle feature to display ALL npc names above heads (also logically for hull/tile options. These would ideally be totally independent of each other, meaning you would have a i/o toggle for each "draw NPC names above heads"; "highlight hull"; and "highlight tile". The latter two I feel aren't necessary in my case, but they are logical, if such a feature is to be added for names above heads.
In the case of this feature being added, I think it is very important to add a text box allowing for exclusions, similar to the "Ground items" exclusion text box", maybe certain players don't want every single goblin, banker, and rat to be drawn above their heads!
Describe alternatives you've considered
n/a
Additional context
A similar feature may be worth considering for drawing ALL other player names above heads, rather than only friends/clan mates/team mates... It might be quite cluttered in busy areas, but I'm certain many players would find this option very useful, and would likely be actively toggling the option on and off in circumstances in which such a feature could be useful. I won't list all context in which this could be used, I'm sure you can work your imaginations and realise how popular this toggle would become.
Thanks in advance to anyone who takes notice of this, and a very deep thank you from the bottom of my heart if someone with the right skill set programs such a feature into the already existing NPC indicator plugin.
Sincerest appreciation for all members on this GitHub.
A new member on the Runelite GitHub,
Korasi

This is already a feature, just put * to highlighted list in NPC indicators.

Hi,
Thanks for replying! I’m very glad this feature exists, however there doesn’t appear to be a way to exclude certain NPCs. Before making another post I figured I would run this by you as I may be missing how to do this. If effectively this feature doesn’t exist, I’ll submit another feature request.
Thanks again! :)
Korasi

Hi again,
To follow up my last email, there appears to be a bug (not so much a bug, but an unwanted side-effect of putting an asterisk in the NPCs to highlight text box). In motherlode mine, once pay-dirt has been added to the hoppe, and goes into the water, (what I think is) a string of code is drawn above the pay-dirt while it goes through the water, and vanishes upon arriving in the sack at the end. I’m guessing this happens for various things across the game, if I encounter any other I’ll take note of them and post them to the github.
Thanks.
Korasi


[arcus/any-lite/aixlog] Update to the latest version

Fix #19924  #19921 #19920
Update  port arcus、any-lite、aixlog to the latest version
Note: no feature need to test

Thanks for the version updates!


Deploy to Azure results in error (Requested Tier for resource currently not available"

When I try to deploy to Azure, the deployment starts. After a few minutes it fails with the following error
The requested tier for resource '/subscriptions/94f7474b-d024-43d0-ac57-d95b243b9d8a/resourceGroups/BC060RG/providers/Microsoft.Compute/virtualMachineScaleSets/b060-central-n-tx' is currently not available in location 'canadacentral' for subscription '94f7474b-d024-43d0-ac57-d95b243b9d8a'. Please try another tier or deploy to a different location.
Could you please let me know how to fix this? Thanks

This is most likely a quota issue. Can you check the deployment details and drill into the specific error message reported by ARM? Go to the resource group and click in deployments at the top of the blade. Look through the granular log messages.
Also check the quota levels for your subscription in the portal by looking at the subscription blade. Quotas are mostly be region but some are also capped across region.

The specific deployment error is "SKU not found".  I checked the subscription quotas - in Canada Central. There seems to be room in all quota categories. For Virtual Machine Scale Sets in Canada Central it shows " of 2000". I assume it means I can use up to 2000 Scale Sets in Canada Central and have not used any?
Thanks

I solved it by changing the EAST and CENTRAL miner nodes to West US2 (for some reason the SKU's in the deployment don't seem to exist in CanadaWest, CanadaCentral, EastUS, CentralUS...).
Thanks


Add larger set of filters with varying widths for experimentation

Please add the following filters (clarifying request)

add a horizontal line filter (white lines)
add a horizontal line filter (black lines)
for the vertical line filter 1: (lines are narrower than camera area) invert the widths used for the opaque area vs the camera area so the opaque area is wider than than the camera area spacing.  This should simply be swapping the values used
for the vertical line filter 2: : (camera area is narrower than lines) invert the widths used for the opaque area vs the camera area so the opaque area is wider than than the camera area spacing.  This should simply be swapping the values used
-"rising sun" filter 1: sun pattern is white
"rising sun" filter 2, add a new filter that inverts the viewable camera area with the opaque area

Related to #6


[patreon] fix not being able to download embedded videos

IMPORTANT: PRs without the template will be CLOSED
Description of your pull request and other information
It seems the post_file['name'] attribute no longer exists in the Patreon video attributes (at least in the posts I tested, but unsure if it may exist in some cases), so the check for the case of m3u8 downloads was being skipped, so I changed it to also check for post_file['duration'] and assume it is a video in this case. Is this a good enough check for this case?

Fixes #8973
Template

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8 and ran relevant tests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check all of the following options that apply:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Fix or improvement to an extractor (Make sure to add/update tests)
[ ] New extractor (Piracy websites will not be accepted)
[ ] Core bug fix/improvement
[ ] New feature (It is strongly recommended to open an issue first)

What about the other code path in L272?

What about the other code path in L272?

I haven't actually found any cases where post_file['name'] is returned, so I'm not sure if that path would ever be executed. I initially didn't want to remove it, as Patreon accepts various methods for uploading videos, and I wasn't sure if there was a case where it would return a name.

Sorry if this is dumb question but how do you use this 'fix". I am already on latest version of nightly

@kevo885 yt-dlp --update-to master


[BUG] Table sorting for col id is inconsistent.

Description
Table sorting for integer col. id is inconsistent. The sorted value is calculated keeping the id col. as string.
Sample JSON.
[{"id": 1, "name": "vijay"}, {"id": 2,"name": "ajay"}, {"id": 11, "name": "Rocky"}, {"id": 12, "name": "raman"}, {"id": 3, "name": "ranvijay"}]
Steps to reproduce the behaviour:

Add Table Widget with Sample Json data.
Sort id column by clicking over it.
See inconsistency.

Ascending Sorting

Descending Sorting

Important Details

Version: Cloud
OS: MacOS 10.14.6
Browser: Firefox 80.0.1 (64-bit).

That's probably because Attributes are taken as 'text'.

@Saket2 Updating data type for id col. to number removed the sorting issue. Thank You for the clarification!.


⚠ Bofrost.de has degraded performance

In c8ba098, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1018 ms

Resolved: Bofrost.de performance has improved in 85bc056 after 29 minutes.


Script setting up douma-app and douma-api

This is to test out which technology is the best for our use case.
Might be a good idea to first write a bash script and then try to containerise it.

In order for this script to work we need to do #5

Managed to follow the guide and get douma-app and douma-api setup on the same server with a custom domain and two subdomains.
I used caddy as it was straight forward. Next step would be to do it with nginx instead.


Share timber logs fails on Android 24+

Starting from Android 24, you cannot use file:// schemas to share content to other apps.
https://commonsware.com/blog/2016/03/14/psa-file-scheme-ban-n-developer-preview.html
The library should use a FileProvider to share the logs with other apps. Keep in mind that an app can have one single FileProvider so the TimberModule needs to get the app's file provider authority and use that to create the URI.
Let me know if you're interested in a PR.

I'm also very interested in this feature. Is this lib is no longer being maintained, we can create our custom modules as a workaround.

It seems this library is no longer being maintained. So I fixed this issue in my forked repository herer: https://github.com/lenguyenthanh/DebugDrawer
I also published it to https://jitpack.io/#lenguyenthanh/debugdrawer/7953d36659 so anyone can use that. Here is example of setup:
    debugImplementation "com.github.lenguyenthanh.debugdrawer:debugdrawer-base:7953d36659"
    debugImplementation "com.github.lenguyenthanh.debugdrawer:debugdrawer:7953d36659"
    debugImplementation "com.github.lenguyenthanh.debugdrawer:debugdrawer-view:7953d36659"
    debugImplementation "com.github.lenguyenthanh.debugdrawer:debugdrawer-okhttp3:7953d36659"
    debugImplementation "com.github.lenguyenthanh.debugdrawer:debugdrawer-scalpel:7953d36659"
    debugImplementation "com.github.lenguyenthanh.debugdrawer:debugdrawer-picasso:7953d36659"
    debugImplementation "com.github.lenguyenthanh.debugdrawer:debugdrawer-timber:7953d36659"
    debugImplementation "com.github.lenguyenthanh.debugdrawer:debugdrawer-fps:7953d36659"
    debugImplementation "com.github.lenguyenthanh.debugdrawer:debugdrawer-actions:7953d36659"
    debugImplementation "com.github.lenguyenthanh.debugdrawer:debugdrawer-commons:7953d36659"


Win10 client (2.17.7) Delay in sending messages, stuck, consume memory

My Setup

Operating System: Windows 10 v1903
App Version: v2.17.7
Installation type: .exe

[x] I have tested with the latest version
[x] I can simulate the issue easily

Description

We use the stress test tool jmeter to simulate 100 virtual users to send information through the rocket api interface. During the test, the user terminal was stuck, the information transmission was severely delayed, and the computer memory will continue to increase. After the stress test, the computer memory will not be automatically released. Only by forcibly closing the rocket process from the task management can the memory be released.
Current Behavior

We upgraded the client from 2.17.7 to 2.17.9, the problem remains the same
Expected Behavior

We hope to solve this problem or provide a better stress test solution

the user terminal was stuck
Not sure if I got what "user terminal" means. Do you mind explaining?

Seen this type of behavior as well (especially using insane amounts of memory), however, I've also seen the high memory usage just running the browser client (also in Chrome) so this may be partially a Chromium issue.

Please test if the problem persists with our latest release. I will be closing the issue but if there is any problem yet, we will open it again.


Sidebar symbol is misleading and potentially unnecessary

The dashed symbol in the sidebar, located in the main header of the website, visually suggests that it will display different pages. However, clicking on it opens the settings for the current page, even when no settings exist for that page. See below the Structure page with the sidebar on and off.
It might be more intuitive to remove this version of the sidebar entirely and make the settings static on pages that have them.
The sidebar dashed symbol could be better used to group website sections (e.g., "Analysis", "About Us", "Contact") instead of toggling settings. Or at the very least it should be moved to be part of the contents of that page.

this was very difficult to do. if the application is rewritten with HTML, design issues like this could be easily fixed


[Composer] redirect stderr to /dev/null for completion commands

Composer might display warning messages to stderr (xdebug enabled, version older than 30 day, etc). In those cases it can become user-unfriendly :)

:+1:


Change keys in DB to not use postcard, instead use u8_4_from_word

This will help to enable queries with partial keys.

I think this is done now so will close but reopen if not


Unhandled exception in script

Describe the bug
A clear and concise description of what the bug is.
Traceback (most recent call last):
File "source_prepared.py", line 124, in
File "shutil.py", line 460, in copy2
FileNotFoundError: [WinError 3] The system cannot find the path specified
error when i open the exe: failed to execute script 'source_prepared' due to unhandle exception [winerror3] The system cannot find the path specified
To Reproduce
Steps to reproduce the behavior:

Go to 'where the exe'
Click on 'exe'
See error

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: [Windows 10]
Python Version: [3.12.4]

how did u fix it?


docs: Patching services not supported

Description
As discussed here https://github.com/spulec/moto/issues/5572 right now how to patch an AWS service not covered by moto is not present in the documentation.
I've included a single page with a code snippet and the guidance of @bblommers to show an example of the Access Analyzer service.
Thanks!

Thanks for the hacktoberfest-accepted 🚀


What does one timestep correspond to?

Hello,
I wanted some clarity on the concept of a timestep. As the simulator is physics enabled, I can understand that the motion will be continuous. In that respect, I found a value of timestep in /home-robot/data/default.physics_config.json which is 0.008. But when I ran the baseline for habitat-ovmm callenge evaluation, I saw consecutive frames with huge displacement between them. Does that mean the robot moves that much (20-30 degrees) in that time? Or is it an aggregation of multiple steps.
Also I assume the robot physics will not allow sharp turns such as left followed by a sharp right, as the robot inertia will play a part. Is the inertia less or disabled in the baseline? Or possibly I made a mistake in building it? Attaching two consecutive frames from the baseline evaluation.

Timesteps are arbitrary amounts of time, since we send a command to the low-level controller at each point. On the real robot they can be relatively large. There won't be any problems executing such a command on the real robot.

Thank you, this clarifies the query.


make style.sh error checking more tolerable

@paulb777 The fix i did yesterday was a bit too strict.


testing - a new issue found in file1.txt

testing - a new issue found in file1.txt

fixed/ resolved


pin sphinx to a sane (aka non 1.3) version

No idea how to test that though.

Under python 2.7 (e.g. in a venv) you should be able to do:
pip install -r requirements.txt
python docbuilder.py

and then launch the salt-ssh command included in the output.

I would like to switch to docker to make it easier to onboard maintainer on this but I could not find the time to do the migration.

You need to put the private key docbuilder_rsa file I had send you by email in the past (I think) next to the public key file in the sklearn-docbuilder repo folder.

I applied the change successfully and merged this PR. You can always re-run the script on your side, it should be idempotent.
The next cron scheduled doc build should happen in less than 10 min.

awesome, looks like it worked.


Err: no passcode found

i'm on linux
i tried to connect on a account with 2fa with a https://receivesms.cc/sms/
but i dont receive the passcode
and the terminal say :
Err: no passcode found
how can i fix that?

Recently, some authentication tools like Duo (at least for UCLA login) have stopped sending passcodes to receivesms. You can check the actual receivesms url to see if its truly being sent or not.
If you are able to find a different free online number service that Duo still sends codes to, please let me know! I would love to add support for a different service that works with Duo.

hi, I think my problem is not that it's that I can't connect to bypass 2fa
and it marks me number of error no passcode found
and i don't know how i can fix that


Typo "Azure function app"→"Azure Function App"

https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-serverless-get-started-vs
#PingMSFTDocs

@hyoshioka0128 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi @hyoshioka0128,
Thank you very much for reaching out and creating this PR suggestion. I checked the Azure Functions documentation, which uses the casing, "function app", for example, in these articles:

Create your first function in the Azure portal
Quickstart: Create your first function in Azure using Visual Studio

Based on this usage, I'll leave the capitalization as-is. Please close this PR for now, but if you find that later updates change this usage, feel free to reopen another PR. Thank you!
Yours respectfully,
Esther Fan
Azure Logic Apps, Senior Content Developer

@ecfan - Thank you for your comment.
Closed #74810 .


Future Sentinel unit?

https://www.hiveworkshop.com/threads/hero-sentinel.293938/

Elfarran maybe , battlemaster of the warsong vs the horde


docs: Automated Changelog Update for v5.0.0-beta5.43

copilot:all
Automated changes by create-pull-request GitHub action

🤖 Generated by lychee action
Summary

Status
Count

🔍 Total
1277

✅ Successful
371

⏳ Timeouts
0

🔀 Redirected
0

👻 Excluded
905

❓ Unknown
0

🚫 Errors
0

Full action output
Full Github Actions output


Building GHC 8.8.4 on AArch64 fails with a segfault

Describe the bug
GHC 8.8.4 is the default Haskell compiler at the moment. When building it, apparently for bootstrapping, it first builds /nix/store/wm7l4xaq4jk8w5r9kscb4h6cibjqccjz-ghc-8.6.5-binary.drv, which fails with the following message:
running install tests
/nix/store/khaz6yssv0bf5xidnp64dd5gra88ldba-stdenv-linux/setup: line 1310:  3361 Segmentation fault      (core dumped) $out/bin/ghc --make main.hs
builder for '/nix/store/wm7l4xaq4jk8w5r9kscb4h6cibjqccjz-ghc-8.6.5-binary.drv' failed with exit code 1
cannot build derivation '/nix/store/gjvc4nqn2846sfh43apvw9j77ljkk5bc-ghc-8.8.4.drv': 1 dependencies couldn't be built
error: build of '/nix/store/gjvc4nqn2846sfh43apvw9j77ljkk5bc-ghc-8.8.4.drv' failed

To Reproduce
Steps to reproduce the behavior:

Be on AArch64 machine.
Type

# nix-env -iA nixos.ghc

It starts building and eventually fails:

installing 'ghc-8.8.4'
these derivations will be built:
  /nix/store/wm7l4xaq4jk8w5r9kscb4h6cibjqccjz-ghc-8.6.5-binary.drv
  /nix/store/isi8yakzzzxgw3zdz7vz4c505l8dblhk-happy-1.19.12.drv
  /nix/store/77h3d2j7hhhipdh5nn3prwlxdpfsbxas-alex-3.2.5.drv
  /nix/store/w4cs5p873i01aw54vxf6bdmbijzz3y8a-hscolour-1.24.4.drv
  /nix/store/zmjw3s0qdizjxs6kkgmwxz9yd0yg9vb5-hscolour-1.24.4.drv
  /nix/store/gjvc4nqn2846sfh43apvw9j77ljkk5bc-ghc-8.8.4.drv
building '/nix/store/wm7l4xaq4jk8w5r9kscb4h6cibjqccjz-ghc-8.6.5-binary.drv'...

Expected behavior
I expect the build to succeed.
Additional context
Reproduced both on Raspberrpy Pi 4 and AWS Graviton 2.
Notify maintainers
@MarcWeber
@peti
Metadata
# nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-linux"`
 - host os: `Linux 5.4.48, NixOS, 20.03.2351.f8248ab6d9e (Markhor)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.6`
 - channels(root): `"nixos-20.09pre242714.a31736120c5, nixos-unstable"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

Looks like this is a duplicate of #97407?


fix server side rendering of meta-data in live blog

The live blog sample is rendering some metadata as a string which makes it invalid clientside. This renders the metadata correctly so that it is valid JSON-LD.

LGTM, can you post before&after screenshots of the JSON+LD section?


How I can apply this to any View from storyboard?

I added one UIView in UIViewController (Please check the screenshot below)
Once a user tries to take a screenshot, that View should not appear in the screenshot. How I can do it? How I can apply your library/code to any specific view (UIView) ?
I tried the following code, from that code my View itself not showing in iPhone, once I run the code.
import UIKit

class ViewController: UIViewController {

    @IBOutlet weak var safeView1: UIView!

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view.

        var hiddenFromScreenshotButtonController2 = ScreenshotProtectController(content: safeView1)
        hiddenFromScreenshotButtonController2.setupContentAsHiddenInScreenshotMode()
    }
}

Hi, @MallikarjunH, you should apply all layout to container. https://github.com/Stampoo/SnapshotSafeView#uikit
       var hiddenFromScreenshotButtonController2 = ScreenshotProtectController(content: safeView1)
       hiddenFromScreenshotButtonController2.setupContentAsHiddenInScreenshotMode()
           [
            hiddenFromScreenshotButtonController2.container.topAnchor.constraint(equalTo: view.topAnchor, constant: 65),
            hiddenFromScreenshotButtonController2.container.leftAnchor.constraint(equalTo: view.leftAnchor, constant: 65),
            hiddenFromScreenshotButtonController2.container.rightAnchor.constraint(equalTo: view.rightAnchor, constant: -65),
            hiddenFromScreenshotButtonController2.container.bottomAnchor.constraint(equalTo: view.bottomAnchor, constant: -65)
        ].forEach { $0.isActive = true } // Layout control apply to container

       hiddenFromScreenshotButtonController2.setupContentAsHiddenInScreenshotMode()


Add rig auto-upgrader script from old Leap rigs to new rigs.

Since we simplified the hierarchy of a Leap rig to essentially just be a normal VR rig, we don't want developers to have to deal with the old, more complicated rig setup.

[ ] Detect old Leap rigs, file an alert with the LM settings window, and include a button to auto-upgrade the rig.
[ ] This detection should at a minimum automatically run when a scene is loaded in the editor. (It may be impractical to try to run the detection for all serialized scenes.)
[ ] Test the auto-upgrader on older projects e.g. deprecated DetectionExamples module and Blocks
[ ] Extraneous scripts that may have been attached to the rigs should be preserved wherever possible.
[ ] We must double-verify that rig upgrading is an Undo-able operation.
[ ] We should duplicate and disable a backup rig first in case the user wants to modify the result and have the old rig as a reference.

We also need to scan the scene for references to scripts/transforms/game objects that get moved or deleted during the process, and do something intelligent with them

Need is a strong word :P it's a good idea and we can probably include that in the tool. References to a HandModelManager will likely be preserved just fine, LeapServiceProvider references that were made null after the operation can most likely be safety transferred to the XR service provider.
Thinking about a thorough list in this style:

References to Main Camera in the old rig -> Main Camera in the new rig
References to LeapController (LeapServiceProvider or LeapXRServiceProvider) in the old rig -> Main Camera (Leap XR Service Provider in the new rig)
References to HandPool or HandModelManager (the same) in the old rig -> should require no action

Internal to the new rig, we would just make sure the HandModelManager gets the new XR service provider hook-up.

Doesn't matter if a component doesn't change, if it gets moved from one gameobject to another, all of the references pointing to it will be broken.  So in this case, we would also need rules for user scripts that exist on a game object that is being removed, and where to move that script (and update the references)

We would move objects, not components, wherever possible. The HandPool/HandModelManager only moves location during the upgrade, the component itself doesn't get moved :D so we should just win on that one

Shoot, you're right. Editing

Address by #1011 once merged.


ar

Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ ] feature request

Versions.

Repro steps.

The log given by the failure.

Desired functionality.

Mention any other details that might be useful.

Umm weird, I never opened this issue. I don't even use angular, very strange.


Adding Definitions for Ladda jQuery Plugin 0.9.4

These are the definitions for the Ladda button when wrapped in a jQuery object.

@leemicw thank you for your contributions!
ladda.d.ts is already exists. https://github.com/borisyankov/DefinitelyTyped/blob/master/ladda/ladda.d.ts
please merge your modify to that definition file.

@vvakame no problem, i saw the ladda file but thought since it was a the jQuery plugin definition it would go with the other jQuery files.  I should be able to update it later tonight.

@vvakame I have update the pull request.  please let me know if you need anything else.

@leemicw thanks mate!


Gem::Ext::BuildError: ERROR: Failed to build gem native extension

New M2 Macbook
New Rails 7 project
Ruby 3.1.0
Developer tools intstalled
bundle add rails-graphql doesnt install
Installing rails-graphql 0.2.1 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    current directory: /Users/adam/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/rails-graphql-0.2.1/ext
/Users/adam/.rbenv/versions/3.1.0/bin/ruby -I /Users/adam/.rbenv/versions/3.1.0/lib/ruby/3.1.0 -r ./siteconf20230823-64410-wwp3yr.rb extconf.rb
creating extconf.h
creating Makefile

current directory: /Users/adam/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/rails-graphql-0.2.1/ext
make DESTDIR\= clean

current directory: /Users/adam/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/rails-graphql-0.2.1/ext
make DESTDIR\=
compiling ./graphqlparser/Ast.cpp
In file included from ./graphqlparser/Ast.cpp:8:
In file included from ./graphqlparser/Ast.h:9:
In file included from ./graphqlparser/AstNode.h:10:
In file included from ./graphqlparser/parsergen/location.hh:41:
In file included from ./graphqlparser/parsergen/position.hh:41:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1709:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__debug:15:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstddef:42:
./graphqlparser/version:1:1: error: expected unqualified-id
0.7.0
^
In file included from ./graphqlparser/Ast.cpp:8:
In file included from ./graphqlparser/Ast.h:9:
In file included from ./graphqlparser/AstNode.h:10:
In file included from ./graphqlparser/parsergen/location.hh:41:
In file included from ./graphqlparser/parsergen/position.hh:41:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1709:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__debug:16:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:528:
./graphqlparser/version:1:1: error: expected unqualified-id
0.7.0
^
In file included from ./graphqlparser/Ast.cpp:8:
In file included from ./graphqlparser/Ast.h:9:
In file included from ./graphqlparser/AstNode.h:10:
In file included from ./graphqlparser/parsergen/location.hh:41:
In file included from ./graphqlparser/parsergen/position.hh:41:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1712:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:841:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/copy.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/unwrap_iter.h:13:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__iterator/iterator_traits.h:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__iterator/incrementable_traits.h:15:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/concepts:156:
./graphqlparser/version:1:1: error: expected unqualified-id
0.7.0
^
In file included from ./graphqlparser/Ast.cpp:8:
In file included from ./graphqlparser/Ast.h:9:
In file included from ./graphqlparser/AstNode.h:10:
In file included from ./graphqlparser/parsergen/location.hh:41:
In file included from ./graphqlparser/parsergen/position.hh:41:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1712:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:841:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/copy.h:13:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/unwrap_range.h:16:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__iterator/next.h:15:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__iterator/advance.h:22:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/limits:119:
./graphqlparser/version:1:1: error: expected unqualified-id
0.7.0
^
In file included from ./graphqlparser/Ast.cpp:8:
In file included from ./graphqlparser/Ast.h:9:
In file included from ./graphqlparser/AstNode.h:10:
In file included from ./graphqlparser/parsergen/location.hh:41:
In file included from ./graphqlparser/parsergen/position.hh:41:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1712:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:848:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/allocator.h:18:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/new:94:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/exception:86:
./graphqlparser/version:1:1: error: expected unqualified-id
0.7.0
^
In file included from ./graphqlparser/Ast.cpp:8:
In file included from ./graphqlparser/Ast.h:9:
In file included from ./graphqlparser/AstNode.h:10:
In file included from ./graphqlparser/parsergen/location.hh:41:
In file included from ./graphqlparser/parsergen/position.hh:41:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1712:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:848:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/allocator.h:18:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/new:96:
./graphqlparser/version:1:1: error: expected unqualified-id
0.7.0
^
In file included from ./graphqlparser/Ast.cpp:8:
In file included from ./graphqlparser/Ast.h:9:
In file included from ./graphqlparser/AstNode.h:10:
In file included from ./graphqlparser/parsergen/location.hh:41:
In file included from ./graphqlparser/parsergen/position.hh:41:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1712:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:848:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/allocator.h:19:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/stdexcept:48:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:100:
./graphqlparser/version:1:1: error: expected unqualified-id
0.7.0
^
In file included from ./graphqlparser/Ast.cpp:8:
In file included from ./graphqlparser/Ast.h:9:
In file included from ./graphqlparser/AstNode.h:10:
In file included from ./graphqlparser/parsergen/location.hh:41:
In file included from ./graphqlparser/parsergen/position.hh:41:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1712:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:853:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/compressed_pair.h:16:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/tuple:220:
./graphqlparser/version:1:1: error: expected unqualified-id
0.7.0
^
In file included from ./graphqlparser/Ast.cpp:8:
In file included from ./graphqlparser/Ast.h:9:
In file included from ./graphqlparser/AstNode.h:10:
In file included from ./graphqlparser/parsergen/location.hh:41:
In file included from ./graphqlparser/parsergen/position.hh:41:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1712:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:853:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/compressed_pair.h:16:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/tuple:227:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:244:
./graphqlparser/version:1:1: error: expected unqualified-id
0.7.0
^
In file included from ./graphqlparser/Ast.cpp:8:
In file included from ./graphqlparser/Ast.h:9:
In file included from ./graphqlparser/AstNode.h:10:
In file included from ./graphqlparser/parsergen/location.hh:41:
In file included from ./graphqlparser/parsergen/position.hh:41:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1712:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:853:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/compressed_pair.h:16:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/tuple:227:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:251:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare:145:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__compare/compare_partial_order_fallback.h:13:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__compare/partial_order.h:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__compare/weak_order.h:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__compare/strong_order.h:18:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:311:
./graphqlparser/version:1:1: error: expected unqualified-id
0.7.0
^
In file included from ./graphqlparser/Ast.cpp:8:
In file included from ./graphqlparser/Ast.h:9:
In file included from ./graphqlparser/AstNode.h:10:
In file included from ./graphqlparser/parsergen/location.hh:41:
In file included from ./graphqlparser/parsergen/position.hh:41:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1712:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:853:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/compressed_pair.h:16:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/tuple:227:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:251:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/compare:157:
./graphqlparser/version:1:1: error: expected unqualified-id
0.7.0
^
In file included from ./graphqlparser/Ast.cpp:8:
In file included from ./graphqlparser/Ast.h:9:
In file included from ./graphqlparser/AstNode.h:10:
In file included from ./graphqlparser/parsergen/location.hh:41:
In file included from ./graphqlparser/parsergen/position.hh:41:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1712:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:860:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/shared_ptr.h:39:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/atomic:523:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__chrono/duration.h:15:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/ratio:85:
./graphqlparser/version:1:1: error: expected unqualified-id
0.7.0
^
In file included from ./graphqlparser/Ast.cpp:8:
In file included from ./graphqlparser/Ast.h:9:
In file included from ./graphqlparser/AstNode.h:10:
In file included from ./graphqlparser/parsergen/location.hh:41:
In file included from ./graphqlparser/parsergen/position.hh:41:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1712:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:860:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/shared_ptr.h:39:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/atomic:531:
./graphqlparser/version:1:1: error: expected unqualified-id
0.7.0
^
In file included from ./graphqlparser/Ast.cpp:8:
In file included from ./graphqlparser/Ast.h:9:
In file included from ./graphqlparser/AstNode.h:10:
In file included from ./graphqlparser/parsergen/location.hh:41:
In file included from ./graphqlparser/parsergen/position.hh:41:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1712:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:874:
./graphqlparser/version:1:1: error: expected unqualified-id
0.7.0
^
In file included from ./graphqlparser/Ast.cpp:8:
In file included from ./graphqlparser/Ast.h:9:
In file included from ./graphqlparser/AstNode.h:10:
In file included from ./graphqlparser/parsergen/location.hh:41:
In file included from ./graphqlparser/parsergen/position.hh:41:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1712:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:877:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iterator:684:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__iterator/common_iterator.h:22:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/variant:220:
./graphqlparser/version:1:1: error: expected unqualified-id
0.7.0
^
In file included from ./graphqlparser/Ast.cpp:8:
In file included from ./graphqlparser/Ast.h:9:
In file included from ./graphqlparser/AstNode.h:10:
In file included from ./graphqlparser/parsergen/location.hh:41:
In file included from ./graphqlparser/parsergen/position.hh:41:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1712:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:877:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iterator:725:
./graphqlparser/version:1:1: error: expected unqualified-id
0.7.0
^
In file included from ./graphqlparser/Ast.cpp:8:
In file included from ./graphqlparser/Ast.h:9:
In file included from ./graphqlparser/AstNode.h:10:
In file included from ./graphqlparser/parsergen/location.hh:41:
In file included from ./graphqlparser/parsergen/position.hh:41:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1714:
./graphqlparser/version:1:1: error: expected unqualified-id
0.7.0
^
In file included from ./graphqlparser/Ast.cpp:8:
In file included from ./graphqlparser/Ast.h:9:
In file included from ./graphqlparser/AstNode.h:10:
In file included from ./graphqlparser/parsergen/location.hh:41:
In file included from ./graphqlparser/parsergen/position.hh:41:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:1851:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/ranges_sample.h:13:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/sample.h:18:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:16:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/bit:72:
./graphqlparser/version:1:1: error: expected unqualified-id
0.7.0
^
In file included from ./graphqlparser/Ast.cpp:8:
In file included from ./graphqlparser/Ast.h:9:
In file included from ./graphqlparser/AstNode.h:10:
In file included from ./graphqlparser/parsergen/location.hh:41:
In file included from ./graphqlparser/parsergen/position.hh:42:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iostream:38:
./graphqlparser/version:1:1: error: expected unqualified-id
0.7.0
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Ast.o] Error 1

make failed, exit code 2

Gem files will remain installed in /Users/adam/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/rails-graphql-0.2.1 for inspection.
Results logged to /Users/adam/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/extensions/arm64-darwin-22/3.1.0/rails-graphql-0.2.1/gem_make.out

  /Users/adam/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/ext/builder.rb:95:in `run'
  /Users/adam/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/ext/builder.rb:44:in `block in make'
  /Users/adam/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/ext/builder.rb:36:in `each'
  /Users/adam/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/ext/builder.rb:36:in `make'
  /Users/adam/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:63:in `block in build'
  /Users/adam/.rbenv/versions/3.1.0/lib/ruby/3.1.0/tempfile.rb:317:in `open'
  /Users/adam/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:26:in `build'
  /Users/adam/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/ext/builder.rb:161:in `build_extension'
  /Users/adam/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/ext/builder.rb:195:in `block in build_extensions'
  /Users/adam/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/ext/builder.rb:192:in `each'
  /Users/adam/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/ext/builder.rb:192:in `build_extensions'
  /Users/adam/.rbenv/versions/3.1.0/lib/ruby/3.1.0/rubygems/installer.rb:847:in `build_extensions'
  /Users/adam/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/bundler-2.4.14/lib/bundler/rubygems_gem_installer.rb:72:in `build_extensions'
  /Users/adam/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/bundler-2.4.14/lib/bundler/rubygems_gem_installer.rb:28:in `install'
  /Users/adam/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/bundler-2.4.14/lib/bundler/source/rubygems.rb:201:in `install'
  /Users/adam/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/bundler-2.4.14/lib/bundler/installer/gem_installer.rb:54:in `install'
  /Users/adam/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/bundler-2.4.14/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec'
  /Users/adam/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/bundler-2.4.14/lib/bundler/installer/parallel_installer.rb:156:in `do_install'
  /Users/adam/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/bundler-2.4.14/lib/bundler/installer/parallel_installer.rb:147:in `block in worker_pool'
  /Users/adam/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/bundler-2.4.14/lib/bundler/worker.rb:62:in `apply_func'
  /Users/adam/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/bundler-2.4.14/lib/bundler/worker.rb:57:in `block in process_queue'
  /Users/adam/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/bundler-2.4.14/lib/bundler/worker.rb:54:in `loop'
  /Users/adam/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/bundler-2.4.14/lib/bundler/worker.rb:54:in `process_queue'
  /Users/adam/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/bundler-2.4.14/lib/bundler/worker.rb:90:in `block (2 levels) in create_threads'

An error occurred while installing rails-graphql (0.2.1), and Bundler cannot continue.

In Gemfile:
  rails-graphql```

I saw that you tried to install the old version 0.2.1. Can you try with 1.0.0.rc2

Thanks @crashtech That worked! Closing off this issue


Highlight not activated on init

Hello,
I wasn't sure how to search for this properly but essentially the highlight was not activated on startup.
I'm running neovim v0.7.2
Below is my config layout
user/indentblankline.lua:
-- two highlight commands below don't work?
vim.cmd [[highlight IndentBlanklineIndent1 guibg=#1f1f1f gui=nocombine]]
vim.cmd [[highlight IndentBlanklineIndent2 guibg=#1a1a1a gui=nocombine]]

require("indent_blankline").setup {
    char = "",
    char_highlight_list = {
        "IndentBlanklineIndent1",
        "IndentBlanklineIndent2",
    },
    space_char_highlight_list = {
        "IndentBlanklineIndent1",
        "IndentBlanklineIndent2",
    },
    show_trailing_blankline_indent = false,
}

init.lua:
-- ... require a few files (one of which enables termguicolors)...
require "user.indentblankline"

-- had to move the below commands to this file for them to work
vim.cmd [[highlight IndentBlanklineIndent1 guibg=#1f1f1f gui=nocombine]]
vim.cmd [[highlight IndentBlanklineIndent2 guibg=#1a1a1a gui=nocombine]]

Your color scheme probably clears them, you can check that with :highlight IndentBlanklineIndent1.
You have to set custom highlight groups after your color scheme is loaded.


Add path_planning_config.yaml for dynamic reconfigure

Summary

We also want to add dynamic reconfigure to path planning.
Proposed changes

Implement https://github.com/PickNikRobotics/generate_parameter_library.
Related issues

Close #478
Checklist

[x] Run colcon build
[ ] Write documentation
[x] Test on your machine
[ ] Test on the robot
[ ] Create issues for future work
[x] Triage this PR and label it

TODO integrate the comment change from #482


boardswarm-cli ui mode could be more obvious after changing device mode / status bar?

When scrolling in UI mode (with ^a k, ^a j), a small green area is shown with the line number.
I wonder if it'd be good to show a general status bar, with some user feedback. An immediate one I can think of is showing state e.g. Changed device mode to X when changing device state.

An option could be to rework the tui using something like https://github.com/ratatui-org/ratatui

An option could be to rework the tui using something like https://github.com/ratatui-org/ratatui

Fwiw the UI already uses tui from which ratatui was forked ;) we for sure should move to ratatui indeed but that doesn't impact your other requests

Yeah it wasn't clear to me that ratatui was a continuation project rather than a full rewrite until you mentioned it :-).
I moved that forward in #16 anyway, but for sure adding a status bar and other UI bits isn't blocked on that.


Add the option to collect commit messages

Currently, Launchable CLI does not collect commit messages because of security concern, but we'll add the option to collect them since we plan to display commit information in the test session detail page.

@Konboi
I'd like you to review the following Java parts since it's my first time to write Java in CLI.

https://github.com/launchableinc/cli/pull/889/files#diff-2dff6ba117c78022a5556422e0e1943929637b67b9ea65a4b1b232c6646ae449
https://github.com/launchableinc/cli/pull/889/files#diff-217df1a570eb90c72b1189825a59a9f724f3140b3bcc84a98cc76dedebf051b8
https://github.com/launchableinc/cli/pull/889/files#diff-b4627b715f46d2fb5d0bebdd74fac96f629eae59e3688c38448720d726666e44

@Konboi
Can you review this PR again? Thanks!


Windows Server 2022 with Visual Studio 2022 ARM64 missing atls.lib

Description
When I built my project based on Windows Server 2022 (Visual Studio 2022), the ARM64 platform failed to build and reported missing atls.lib. I suspect that this problem is caused by not installing Microsoft.VisualStudio.Component.VC.ATL.ARM64.
https://github.com/baulk/baulk/runs/3844027152?check_suite_focus=true
Virtual environments affected

[ ] Ubuntu 16.04
[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] macOS 10.15
[ ] macOS 11
[ ] Windows Server 2016
[ ] Windows Server 2019
[X] Windows Server 2022

Image version and build link
20211003.1
Is it regression?
No response
Expected behavior
No response
Actual behavior
No response
Repro steps
Enter the image and run the following command(powershell):
ls "C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.30.30528\ATLMFC\lib\ARM64"

Hello @fcharlie. We have added Microsoft.VisualStudio.Component.VC.ATL.ARM64 component to WIndows-2022 and it should be available later next week. I'll post an update message.

@dibir-magomedsaygitov Thanks

Hello @fcharlie. Microsoft.VisualStudio.Component.VC.ATL.ARM64 should available across all the WIndows images. I'm going to close this issue. Feel free to contact us in case of any questions.

@dibir-magomedsaygitov Great


nicer action exercise

This adds a more engaging and understandable exercise for actions.
Unfortunately it reveals a bug — it's currently impossible to complete the exercise, because the iframe keeps snatching the focus. I'm not sure if that's something that broke recently or if this was always broken, but it would be good to fix it if possible.
If not, the workaround would be to not show the menu initially, but that would be sad.

Okay I think I figured it out — the iframe_took_focus event is now fired for all focusin events inside the iframe unless they're the result of user action, using the following heuristic:

if the focusin event happened while a pointer or key was down, it was user initiated
if the target is <body> and there's a relatedTarget, it was user initiated (on hydration, <body> will be focused, but there'll be no relatedTarget)

In all other cases, the editor should regain focus if the iframe steals it.


Fix COPY command for MATLAB dockerfile.

Description
Fix the source path in the COPY command.

MATLAB tutorial

I will also need to apply this fix to v2 branch.

Also fixed on v2 branch.


Extend data module on client

Waiting on https://github.com/replit/repl-it-web/pull/30724/files to be merged

@lunaroyster merged the other part on replit-web.  Could use a bump on this.


Day 8: HashMap.copy is expensive

Hi @BurntSushi 👋
I think I struggle with borrow checker and copying my collections.
Right know, everytime I had a "borrow check" hit, I just cloned my collection (eg: my_map.clone()).
But with day8 this is so expensive!
My programs runs in more than 1sec, where yours runs in < 0.01s! 😨
For me, the big problem is with this code:
// ...
    let mut nodes = HashMap::<i32, Node>::new();

// ... loop {
                let ref_nodes = nodes.clone();
                nodes.entry(current_id)
                    .and_modify(|node| node.add_metadata(value, ref_nodes));
// ... }

That reference this:
#[derive(Debug, Clone)]
struct Node {
    id: i32,
    parent: Option<i32>,
    value: i32,
    childs_count: i32,
    childs: Vec<i32>,
    metadatas_count: i32,
    metadatas: Vec<i32>,
}

impl Node {
    fn has_metadatas (&self) -> bool {
        self.metadatas_count == self.metadatas.len() as i32
    }

    fn add_metadata (&mut self, metadata: i32, nodes: HashMap<i32, Node>) {
        self.metadatas.push(metadata);

        if self.has_metadatas() {
            self.value = self.metadatas.iter().fold(
                0,
                |acc, curr| {
                    if self.childs_count == 0 {
                        return acc + curr;
                    }
                    return acc + match self.childs.get(*curr as usize - 1) {
                        None => 0,
                        Some(child_id) => nodes.get(&child_id).unwrap().clone().value,
                    }
                }
            );
        }
    }
}

As you can see:

I copy the HashMap
I add a new metadata to the node vector (mutating)
If all metadatas are present for this node, I process the value
I then need the global HashMap to retrieve children node values (reading)

More over I do this a lot of time (but, there this is my algorithm that is ... shitty, so don't worry about this :) )
Here is my question (finally!): How do you handle that!
I thank I understood what you said here: https://github.com/BurntSushi/advent-of-code/issues/6 but I still struggle :(
Tank you!
PR containing my code is here: https://github.com/fabienjuif/advent-of-code-2018/pull/2/files
Source code is here: https://github.com/fabienjuif/advent-of-code-2018/tree/day7/day8

Ok:
➜  day8 git:(day7) ✗ time ./target/release/day8
part1: 44893
part2: 27433
./target/release/day8  0.01s user 0.00s system 82% cpu 0.013 total
➜  day8 git:(day7) ✗

Update to Rust 2018 edition
Cut the previous code like this:

                nodes.entry(current_id)
                    .and_modify(|node| node.add_metadata(value));

                let current_node = nodes.get(&current_id).unwrap();
                if current_node.has_metadatas() {
                    let value = current_node.get_value(&nodes);
                    nodes.entry(current_id)
                        .and_modify(|node| node.value = value);
                }

With:
impl Node {
    fn has_metadatas (&self) -> bool {
        self.metadatas_count == self.metadatas.len() as i32
    }

    fn add_metadata (&mut self, metadata: i32) {
        self.metadatas.push(metadata);
    }

    fn get_value (&self, nodes: &HashMap<i32, Node>) -> i32 {
        self.metadatas.iter().fold(
            0,
            |acc, curr| {
                if self.childs_count == 0 {
                    return acc + curr;
                }
                return acc + match self.childs.get(*curr as usize - 1) {
                    None => 0,
                    Some(child_id) => nodes.get(&child_id).unwrap().clone().value,
                }
            }
        )
    }
}

But it still doesn't seem quite right

I don't think I quite have the time to fix that code. The problem is that you've specifically organized your code such that an element inside your hash map can be mutated, but the mutation you've defined also requires access to the original hashmap. The only way you can achieve something like that is with interior mutability, which I don't think would be wise here. Instead, you should reorganize your code such that you don't simultaneously require immutable and mutable access to the same hashmap.
One other thing you could do is remove the node from the hashmap, do your mutation, and then re-add it:
                    let mut node = nodes.remove(&current_id).unwrap();
                    node.add_metadata(value, &nodes);
                    nodes.insert(current_id, node);

@fabienjuif I’m also fairly new to Rust, so my code may not be idiomatic, but if you want some more perspectives on ways to solve this problem you can check out my solutions: https://github.com/kcaffrey/aoc-rs/blob/master/src/day8.rs
I coded two variations. One builds the tree explicitly (like BurntSushi) while the other computes everything in-place. Note that my explicit tree solution attempted to avoid copies and allocations, so I stored a reference to the original input slice (that’s why my Node has a lifetime).


1.2.5

Add testing for django 5.0
Various package updates

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.29%. Comparing base (77d7fe2) to head (f8727f0).

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #49   +/-   ##
=======================================
  Coverage   97.29%   97.29%
=======================================
  Files          11       11
  Lines         443      443
=======================================
  Hits          431      431
  Misses         12       12

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Upgrade audio engine

The audio engine we're currently using has several major limitations, so it may be worth migrating to a beefier library such as Beads or JSyn.

I suggest we try FMOD

I created a more specific issue for this with the new feature issue layout (#65).


Problem when loading ipynb file from Binder (No module named 'util')

I loaded the jupyter notebook from binder (follow this link: https://mybinder.org/v2/gh/econ-ark/DemARK/master?filepath=notebooks/Micro-and-Macro-Implications-of-Very-Impatient-HHs-Problems.ipynb).
But when i try to run the notebook in my laptop i got the error:  "ModuleNotFoundError: No module named 'util' "

@cohenimhuji you need to download the full repository not just the notebook as util in present in https://github.com/econ-ark/DemARK/tree/master/lib, so the notebook can't find util.
if you are familiar with git. You can do git clone https://github.com/econ-ark/DemARK or download the full repository using https://github.com/econ-ark/DemARK/archive/master.zip

Dear Meridul,
Thank you very much.
Regards,
Nimrod
On Thu, Oct 31, 2019 at 2:07 PM Mridul Seth<EMAIL_ADDRESS>wrote:

@cohenimhuji https://github.com/cohenimhuji you need to download the
full repository not just the notebook as util in present in
https://github.com/econ-ark/DemARK/tree/master/lib, so the notebook can't
find util.
if you are familiar with git. You can do git clone
https://github.com/econ-ark/DemARK or download the full repository using
https://github.com/econ-ark/DemARK/archive/master.zip
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/econ-ark/DemARK/issues/52?email_source=notifications&email_token=AMTOZREMKU54PQVNLZPM46TQRLDB7A5CNFSM4IGUMJS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECXQKKI#issuecomment-548341033,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMTOZRFJRUX5MSTNNMFRRRLQRLDB7ANCNFSM4IGUMJSQ
.

@MridulS,
This is something that I've thought we need to fix for a long time: We should strenuously try to avoid setting things up so that notebooks (ESPECIALLY DemARK notebooks) rely unnecessarily on special things tucked away in a directory structure somewhere.  (This is essentially the same issue as with the Roszypal notebook).
In this particular case, there is only one tiny tool that is being used -- a progress bar that Matt found somewhere and wanted to use to provide a visual signal that the code was actually doing something.  Maybe by now there is some pip-installable tool that could accomplish the same goal, in which case we could add that to the postBuild or requirements or whatever.  But if there's still no "progress bar" tool, we should just drop it.  (This exact problem, with this exact tool, has generated   confusion maybe 10 times that I know of which is probably the tip of an iceberg of cases I don't know of).
Once you have a proposed solution that works for this particular notebook (either eliminating the progress bar thing, or pip-installing something, or whatever you think is the best approach), please make a PR for me to review.

solved in https://github.com/econ-ark/DemARK/pull/74


Update reset_username_password.md

Added reset password video

Hello @iritch42,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


Loses focus on close.

Prerequisites

[x] I have searched for similar issues in both open and closed tickets and cannot find a duplicate
[x] The issue still exists against the latest master branch of Select2
[x] This is not a usage question (Those should be directed to the community)
[x] I have attempted to find the simplest possible steps to reproduce the issue
[ ] I have included a failing test as a pull request (Optional)

Steps to reproduce the issue

Go https://select2.github.io/examples.html.
Try to navigate a select2 element by using tab.
Then select an option. After closed, the focus is gone.

Expected behavior and actual behavior
When I follow those steps, I see... that the focus is not on the current select2 element.
I was expecting... the focus should still be on the select2 element, and then when I press tab, it should go to the next select2 element. The latest version is not keyboard friendly. I would love the keyboard behaviour in v3.5.3.
Environment
Browsers

[x] Google Chrome
[ ] Mozilla Firefox
[ ] Internet Explorer

Operating System

[ ] Windows
[ ] Mac OS X
[x] Linux
[ ] Mobile

Libraries

jQuery version:
Select2 version:

Isolating the problem

[x] This bug happens on the examples page
[ ] The bug happens consistently across all tested browsers
[ ] This bug happens when using Select2 without other plugins
[ ] I can reproduce this bug in a jsbin

Same issue. Using tab, arriving on select2 elem. Hit enter, it opens, I select the entry - focus is lost. Results, next tab go top of page according to tab-indexes

Same issue. This seems to work as a workaround edit to select2.js
this.on('close', function () {
    self.$container.removeClass('select2-container--open');

    //FIX for focus on close
    self.$selection.focus();
});

Workaround in userland (not thoroughly tested):
$('select').select2().on('select2:close', function(e) {
    let $select2 = $(this).data('select2');
    $select2.$selection.focus();
});

Is this related to the problem addressed in #4860?

It seems so. I'm only just looking into Select2, so not really familiar with the code base.
I added the base.js timeout hack to the dist file, seems to fix this focus issue in FF56. Not sure what the effect is of the change in search.js

Hmm.  Seems like creating a Github Project might be a good way to aggregate these related issues for now.

Ok, created this project: https://github.com/select2/select2/projects/2

There's also the issue reported in #4419, fixed by #4427.  Is this the same issue?

@alexweissman this seems like a different issue: after selecting an issue with the keyboard -> the focus is lost -> pressing tab again starts over from the beginning of the page -> you have to go over the sidebar links to get back at the autocomplete.

No, @jpic I am fairly sure that this is the same issue.  After merging in @nino-s 's fix (#4427) and releasing 4.0.4, you can see that this problem no longer occurs on the demo page: https://select2.org/getting-started/basic-usage

This issue is still present in latest 4.0.6 and 4.0.7 rc.0
For me when I click one select and then click another select, the focus stays with the previous select.


Improve setup.py

What do you think?

Any thoughts?

Thanks for fixing the missing components, Good work @hartwork


Service map is in Canada Central region

Please review the supported regions because I can see Service Map now in Canada Central. It seems it depends on on Log Analytics and as long as there's Log Analytics in a region, then it works

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

ID: b462a919-2014-9aa3-5fba-6568cb2c6cfe
Version Independent ID: 3417842d-423f-7d97-b25f-877e42234dca
Content: Configure Service Map in Azure
Content Source: articles/monitoring/monitoring-service-map-configure.md
Service: monitoring
GitHub Login: @MGoedtel
Microsoft Alias: daseidma;bwren

@mosharafMS Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

@mosharafMS @femsulu - I'm checking with the PM to confirm and will get back to you shortly.  Thanks!

@mosharafMS - While you see Service Map available in that region, it's dependencies have not been deployed to support its functionality.  This will prevent you from being able to see data and use it as intended.  When we release to that region you will see the list updated accordingly, and at this time I don't have an ETA to share.  Thanks for your inquiry.  @femsulu  #please-close

@mosharafMS We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.


Update Board.java

Originally uploaded old version that didn't check for draws, just noticed .. my bad

👍 thank you!!


React Text Field mobile agent problem

i have implement this component in my website. However, when i switch the user agent to mobile, and try to touch it. the whole website hangs and shows: "Uncaught Error: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops" please help!

#275 fixed


how can i merge any report in one?

hi,
my project use webpack as build tools,so some mobules was import by any pages.
but the coverage report is worng , and overwrite by the last test file.
gulp
    .src('./build/**/*.test.html', {read: false})
    .pipe(mochaPhantomJS({
      reporter: 'list',
      phantomjs: {
        settings : {
          localToRemoteUrlAccessEnabled : true,
          webSecurityEnabled : false,
        },
        useColors: true,
        viewportSize : {
          width: 800,
          height: 600
        },
        hooks: 'mocha-phantomjs-istanbul',
        coverageFile: './coverage/coverage.json'
      }
    }))
    .on('finish', function() {
      gulp.src('./coverage/coverage.json')
        .pipe(istanbulReport({
          reporterOpts: {
            dir: './coverage'
          },
          reporters: ['html']
        }))
    });

I have made few tweaks in my fork to handle this use-case. Now the coverage report from each test gets appended in the coverageFile. You can check the changes here:
https://github.com/smurfpandey/mocha-phantomjs-istanbul


Google Maps android unusable

As mentioned in https://github.com/flutter/flutter/issues/105965 google maps in android crashes with said exception.
There is this fix described here https://github.com/flutter/flutter/issues/105965#issuecomment-1224473127 which indeed fixes the crashes but introduces a behaviour similar to this bug here https://github.com/flutter/flutter/issues/103686 (which seemed like it was fixed on beta).
This happens when using the fix and setting the latest rendered.
https://user-images.githubusercontent.com/100851392/187184031-8c6f86bb-83ef-4ffd-95a2-cd63ab90ae2e.mp4
Also there is also a bug with the padding https://github.com/flutter/flutter/issues/43721 that makes it impossible to upgrade the google_maps_flutter plugin above version 2.1.7 which means that if these are fixed on the plugin we will be unable to actually update to latest version.
We have been working on this app for a year and it was supposed to go live 2 months ago.
Biggest problem is that it doesn't seem like these bugs are even a priority and they don't seem to be fixed any time soon.
What don't know what to do. Can these somehow get priority so we can upload?
[✓] Flutter (Channel beta, 3.3.0-0.5.pre, on macOS 12.3.1 21E258 darwin-arm, locale en-GR)
• Flutter version 3.3.0-0.5.pre on channel beta at /Users/nikostsesmelis/Tools/flutter/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 096162697a (6 days ago), 2022-08-22 15:34:14 -0700
• Engine revision ad3d868e0d
• Dart version 2.18.0 (build 2.18.0-271.7.beta)
• DevTools version 2.15.0

Please see https://github.com/flutter/flutter/wiki/Issue-hygiene#escalating-an-issue-that-has-the-wrong-priority for information about escalating issues.
Closing as we don't use new issues for escalations, and the bugs discussed here are all already tracked.


nodeGles.createWebGLRenderingContext is not a function

Example from docs is not working:
const nodeGles = require('node-gles');
const gl = nodeGles.createWebGLRenderingContext();

Same problem for me.

This does work:
const nodeGles = require('node-gles'); const gl = nodeGles.binding.createWebGLRenderingContext();

@Somebi you're missing an item (.binding.):
const gles = require('node-gles');
const gl = gles.binding.createWebGLRenderingContext();

@kbruneel can you check your npm install logs? What platform are you running?

node v8.9.1
npm 5.5.1
OS X 10.14.3

@nkreeger .binding. is also missing in readme.md

OK I'll need more info. Can you add some more logs or console output? Also try cloning this repo
git clone https://github.com/google/node-gles.git
cd node-gles
npm install

Paste output there - is node-gyp failing? You can also run one of the TypeScript examples:
 yarn ts-node src/tests/float_texture_upload_test.ts

><EMAIL_ADDRESS>install /Users/karel/git/node-gles
> node scripts/install.js

* Downloading ANGLE
[==============================] 6786860/bps 100% 0.0s
* Building ANGLE bindings
npm notice created a lockfile as package-lock.json. You should commit this file.
added 112 packages in 29.61s

yarn run v1.16.0
$ /Users/karel/git/node-gles/node_modules/.bin/ts-node src/tests/float_texture_upload_test.ts
VERSION: OpenGL ES 3.0 (ANGLE <IP_ADDRESS>12a0ef062a)
RENDERER: ANGLE (ATI Technologies Inc., AMD Radeon Pro 560 OpenGL Engine, OpenGL 4.1 core)
buffer:  Float32Array [ 0.5, 1.5, 2.5, 3.5 ]
✨  Done in 2.39s.

I had to switch to: node v8.16.0 (npm v6.4.1) for this to work


chore(main): release pixels 0.16.4

:robot: I have created a release beep boop
0.16.4 (2024-07-10)
Bug Fixes

pixels: fixed wrong tooltip positioning (3e37611)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

pixels-v0.16.4
:sunflower:


Does aws-sdk-xamarin have dynamodb mapper

Hey @tawalke, does this library (aws-sdk-xamarin) have the concept of a dynamodb mapper or an alternative?
http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/dynamodbv2/datamodeling/DynamoDBMapper.html?
Cheers,
Jason

@jasonmc86 Not quite but you should be able to use the Document API: http://blogs.aws.amazon.com/net/post/Tx2R0WG46GQI1JI/-span-class-matches-DynamoDB-span-Series-Document-Model

Let me know if this provides what you want with JSON.NET serializing to an object and back out.

Yep document api and newtonsoft worked together perfectly to give me what i needed thanks :+1:

Excellent, glad to hear it!


Personal Portfolio

Project title
Personal Portfolio Website
Project Description
It is a personal Portfolio   website of the showcasing the projects , technologies   in which the candidate is good at and the achivements done,   services offered contact details
Doc Domain

[] Solidity , Html, Css , JavaScript , Web3.js / Ether.js
[] Solidity , ReactJs /NextJs , Web3.js /Ether.js
[] Solidity , Python3 , Web3.py
[] Other , feel free to mention below

Are you contributing under any open-source program ?
I'm a SSOC contributor please assign me this issue @Vikash-8090-Yadav  sir :)

Great, start working on this

Hey please assign this issue to me

Are u still working on this, if not please close this issue.


test: Add tests for shallowMount issue with dynamic components

This PR adds a minimal set of tests to describe issue #1277, which regards how dynamic components, when shallow mounted, are stubbed with the name of a computed property that returns a component's name instead of the component itself.
The test component outlines the most extreme error case: a computed property does not need to be referenced in order to trigger the issue, it merely needs to both exist and return the component that is directly referenced.
This PR now also implements a possible simple fix for the issue.
cc: @cexbrayat

Hmm strange indeed, thanks for the repo 👍
If you feel adventurous, you can try to inspect what's going on when the tests run, and you may be able to fix the issue: we would be very happy to accept the PR!

@cexbrayat The issue was exactly where @freakzlike had suggested. My fix is to ensure getComponentNameInSetup doesn't get tripped up by any getter functions that may return a component object. All the tests now pass. Please let me know what you think.

@phobetron can you fix the linting errors?

@lmiller1990 Sorry about that! I think my local has a different default line length. Should be fixed now.

@cexbrayat That makes sense. I've reduced the test code to the minimum necessary to cover the error case. Should pass everything now 😅

@cexbrayat Sorry, decided to make another minor style adjustment.

Looks great, thank you for taking the time to investigate and fix this, we really appreciate it!


TASK: Remove return type casting in RepositoryInterface::findByIdentifier

This method should return an aggregate or null if the aggregate is not found

And the sister PR for the EventStore
https://github.com/neos/Neos.EventStore/pull/14

We need to wait PHP 7.1 ... and adoption ...


barracuda not success to convert the pb file

I am downing the ml-agents file from the github link you provide,and use anaconda prompt to cd to the destination of converter.py,and type the code ,python tensorflow_to_barracuda.py my.pb destination the output destination,And it cames out that there is no mlagents module.
I donot know why

@HolyShitKillingMachine,
You need to download the whole repo to use this script. Alternatively, you can try to install mlagents from pip like pip install mlagents.

@HolyShitKillingMachine Easier way to transform tensorflow to barracuda is by just downloading the whole repo in this link.
Then move your tensorflow model 'my.pb' to barracuda-release/Tools folder.
cd barracuda-release/Tools to get to the Tools folder
and then just run python tensorflow_to_barracuda.py my.pb output.*


Unable to establish connection between micro structure and macro ones

Steps to Reproduce

Go to Molecules mode
Put Benzene ring on the canvas
Switch to Macro mode - Flex
Put peptide on the canvas
Try establish connection between peptide and any atom of ring

Actual behavior
It doesn't work
https://github.com/user-attachments/assets/1e7e53e9-374f-460f-96c1-cb66ce4dcc24
Expected behavior
It works
Versions

Ketcher Version 2.26.0-rc.1 Build at 2024-10-04; 18:45:04
Indigo Toolkit Version 1.25.0-rc.1.0-g704673fcb-wasm32-wasm-clang-19.0.0
Chrome Version 129.0.6668.90 (Official Build) (64-bit)
Win10

Issue found while testing: https://github.com/epam/ketcher/issues/5359

Verified.

Versions

Ketcher Version 2.26.0-rc.3 Build at 2024-10-16; 14:35:25
Indigo Toolkit Version 1.25.0-rc.2.0-g867ae250b-wasm32-wasm-clang-19.0.0
Chrome Version 129.0.6668.101 (Official Build) (64-bit)
Win10


Migrate tests to jest runner

remove tape by jest
migrate all tests to use jest API thanks to jest-codemods and some manual modifications
remove nfc since jest can generate a coverage report without it

The downside compared to the previous setup is that with jest it's not as easy to add custom message on assertions liek this one
If we want to keep the messages, I think we can try jest-expect-message but I didn't want to add a new dependency before discussing it

We should probably add the eslint-plugin-jest plugin as well


frame-processor/unavailable: Frame Processors are not enabled

i got an error like this "frame-processor/unavailable: Frame Processors are not enabled. See https://mrousavy.github.io/react-native-vision-camera/docs/guides/troubleshooting"
i tried buch of way like decreasing react-native-reanimated and react-native-vision-camera still didn't work

No , remote debugger is not open,
is it because of im using react-native v 0.72.3 ?
this is detail dependencies
"react": "18.2.0",
"react-native": "0.72.3",
"react-native-reanimated": "^3.3.0",
"react-native-vision-camera": "^2.15.4",
"vision-camera-mrz-scanner": "^0.3.1"


Please remove unused dependency react-dom-factories

Summary:
react-dom-factories was used in lib/components/Modal.js but removed in conversion to ES2015 src/components/Modal.js.
Steps to reproduce:

Search repo for react-dom-factories
See it is not used by any source files.

Expected behavior:
Should not be installed.
Additional notes:
I realise this dependency is not imported and so is not in dist build or my app's bundle. I wondered why it was in my apps node_modules and saw the repos readme says it should not be used and wondered why react-modal was depending on it to find out it no longer uses it.

Hi @bjbrewster, just give a thumbs up and I'll merge (I couldn't assign you on the PR).

Thanks!

Thanks for fixing this @diasbruno ! Any plans when the next npm release for react-modal is planned?

Released v2.3.3. Sorry for taking so long.


[BrokenLinks] removed breadcrumb link to nonexistent file

Global effort to fix broken links
@MandiOhlinger
The C+E Skilling team is fixing broken links on docs.microsoft.com. This effort will eliminate potential accessibility, security, and usability issues. This PR removes a bad link in the breadcrumb TOC; there doesn't seem to be a top-level Feature Pack node to use as a replacement. Thanks for reviewing this fix!

Docs Build status updates of commit 17b8f2b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

biztalk/breadcrumb/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel