networkTimeoutSeconds: Slow loading of cached page.

Library Affected:
workbox-sw
Browser & Platform:
chromium-based browser
Issue or Feature Request Description:
When the network request fails to respond within the time set in networkTimeoutSeconds and then it fallbacks to the cache, the cached file loads slower than when the app is offline and returns the same file from the cache.  I'll explain better:
This is my SW file
importScripts('https://storage.googleapis.com/workbox-cdn/releases/6.1.5/workbox-sw.js');

const SW_VERSION = '2.0.0'
const CLOCK_URI = new URL(location).searchParams.get('clock_uri')

const precacheResources = [
    { url: `/clock/index/${CLOCK_URI}`, revision: null },
    { url: `/clock/directory/${CLOCK_URI}`, revision: null },
    { url: `/clock/passcode/${CLOCK_URI}`, revision: null },
    { url: `/clock/home/${CLOCK_URI}`, revision: null },
    { url: `/clock/punch/${CLOCK_URI}`, revision: null },
    { url: `/clock/offline_punch/${CLOCK_URI}`, revision: null },
    { url: '/css/clock.css', revision: null },
    { url: '/js/js.cookie-2.2.1.min.js', revision: null },
    { url: '/js/jquery-3.2.1.min.js', revision: null },
    { url: '/js/bootstrap.min.js', revision: null },
    { url: '/js/moment/moment.js', revision: null },
    { url: '/js/moment/locale/es.js', revision: null },
    { url: '/js/webcam/webcam.min.js', revision: null },
    { url: '/js/clock/clock-scripts.js', revision: null },
    { url: '/fonts/Material_Icons/MaterialIcons-Regular.woff2', revision: null },
    { url: '/fonts/Barlow_Condensed/barlow-condensed-v4-latin-600.woff2', revision: null },
    { url: '/fonts/Titillium_Web/titillium-web-v8-latin-600.woff2', revision: null },
    { url: '/fonts/Titillium_Web/titillium-web-v8-latin-700.woff2', revision: null },
    { url: '/fonts/Titillium_Web/titillium-web-v8-latin-regular.woff2', revision: null },
    { url: '/images/employee/placeholder.png', revision: null },
    { url: '/images/clock/turtle-connection.png', revision: null },
    { url: '/audio/punch-error.mp3', revision: null },
    { url: '/audio/punch-in.mp3', revision: null },
    { url: '/audio/punch-out.mp3', revision: null }
]

workbox.setConfig({ debug: true })

workbox.core.setCacheNameDetails({
    prefix: 'clock',
    suffix: 'v2',
    precache: 'precache',
    runtime: 'runtime'
})

const ignoreQueryStringPlugin = {
    cacheKeyWillBeUsed: async ({ request, mode, params, event, state }) => {
        curl = new URL(request.url)
        return curl.pathname
    }
}

const cacheName = workbox.core.cacheNames.precache
const options = {
    networkTimeoutSeconds: 1,
    cacheName,
    plugins: [ignoreQueryStringPlugin]
}

workbox.routing.registerRoute(
    ({ request }) => request.mode === 'navigate',
    new workbox.strategies.NetworkFirst(options)
)

// main css and js files
workbox.routing.registerRoute(
    /\/css\/clock.css/,
    new workbox.strategies.NetworkFirst(options)
)
workbox.routing.registerRoute(
    /\/js\/clock\/clock-scripts.js/,
    new workbox.strategies.NetworkFirst(options)
)

// static files
workbox.routing.registerRoute(
    /\.(?:js|css)$/,
    new workbox.strategies.CacheFirst({ cacheName })
)
workbox.routing.registerRoute(
    /\.(?:woff2|png|mp3)$/,
    new workbox.strategies.CacheFirst({ cacheName })
)

workbox.precaching.precacheAndRoute(precacheResources)

addEventListener('message', (event) => {
    if (event.data.type === 'GET_VERSION') {
        event.ports[0].postMessage(SW_VERSION)
    }
})

self.skipWaiting()
workbox.core.clientsClaim()

As you can see I'm using NetworkFirst with networkTimeoutSeconds (set to 1 second) for pages and specific CSS and JS files.
and I have a PHP file with HTML and JS, something like this (I won't paste the real content since I think it is not relevant, we just have to know that there's HTML and JS):
<div>
HTML content
</div>
<script>
console.log('Hello World!')
// the rest of the script
</script>

Here's when I start describing the problem:
If I emulate a slow 3G connection with devtools, workbox says that the request timed out. So the timeout is working, it is in fact redirecting faster to the next page and returning a cached version of the page.

But the problem is that when the page is returned from the cache, the console log in the script takes three seconds to display. I can see the page properly styled immediately, but it takes like three seconds to load the

When the networkTimeoutSeconds elapses, the underlying fetch() request is not actually cancelled; it's just a signal to the service worker's code that the cached response should be passed to event.respondWith() as soon as possible, instead of waiting for the fetch() to resolve. If, during the time that the cached response is being asynchronously read the fetch() request does resolve, then there are various things that Workbox does under the hood (logging, running callbacks, updating the cache) that will start happening, and any of those might explain the slight delay in getting the cached response passed to event.respondWith().
When you're completely offline, the fetch() will fail immediately, and the code that runs when the fetch() resolves will never run.
That would be my guess as to what you're seeing.


Dynamically Change Image in Cropper Element

How I can dynamically change image in cropper element through components parameter?

You can see that functionality in demo site: https://cropperblazor.github.io/demo

Example code:

UI - https://github.com/CropperBlazor/Cropper.Blazor/blob/dev/src/Cropper.Blazor/Client/Pages/CropperDemo.razor#L130

https://github.com/CropperBlazor/Cropper.Blazor/blob/dev/src/Cropper.Blazor/Client/Pages/CropperDemo.razor.cs#L327

it's changing through Browse but i have url's of image that appears conditionally how to change image through URL not browsing

You can use replace function, for instance:
await CropperComponent?.ReplaceAsync("your url", true);

There is nothing Function like ReplaceAsync have you added it now?

It was already in the cropper service, but it was not added to the cropper component

You can use the new version of the package right now!

I'm sorry, but unfortunately, after replacing the image, the functions become dead for some reason, you need to find out what's going wrong

Hi @HasanAnsar . Now, in package version 1.2.2 it should work.
Example:

You need include "IsAvaibleInitCropper" property as true (default)

When you wanna change image in cropper dynamically, you can use that method:

IsAvaibleInitCropper = false; // ReplaceAsync call on ready event, after that we have double initialization cropper, as result we need block that. You can unblock this property when it demand on for destroy and full re-creation component.
CropperComponent?.ReplaceAsync(src);
CropperComponent?.RevokeObjectUrlAsync(oldSrc);

In addition, if you use error handing code should likewise that:
                if (IsErrorLoadImage)
                {
                    IsAvaibleInitCropper = true;
                    IsErrorLoadImage = false;
                }
                else
                {
                    IsAvaibleInitCropper = false;
                }

                CropperComponent?.ReplaceAsync(src);
                CropperComponent?.RevokeObjectUrlAsync(oldSrc);

Hi @HasanAnsar . Now, in package version 1.2.2 it should work.
Example:

You need include "IsAvaibleInitCropper" property as true (default)

When you wanna change image in cropper dynamically, you can use that method:

IsAvaibleInitCropper = false; // ReplaceAsync call on ready event, after that we have double initialization cropper, as result we need block that. You can unblock this property when it demand on for destroy and full re-creation component.
CropperComponent?.ReplaceAsync(src);
CropperComponent?.RevokeObjectUrlAsync(oldSrc);

In addition, if you use error handing code should likewise that:
                if (IsErrorLoadImage)
                {
                    IsAvaibleInitCropper = true;
                    IsErrorLoadImage = false;
                }
                else
                {
                    IsAvaibleInitCropper = false;
                }

                CropperComponent?.ReplaceAsync(src);
                CropperComponent?.RevokeObjectUrlAsync(oldSrc);

I'm currently using version 1.2.4 and I still have the same problem. unlike your example, I receive the image url via an event and I'd like to replace it in the component. I've made the adjustments described above but the image is just replaced by the cropper box size. when I relaunch the component I get the real size of the image outside the component so it's impossible to work.

Hi @Vian237. Sorry, I'm fuzzy underhand your expectations. Could you provide more details about result of work? Maybe you want to see a complete reload of the component with the image replaced and centered according to the image dimensions, right?

@Vian237 just try to use this functionality: https://github.com/CropperBlazor/Cropper.Blazor/blob/da58751ca88059c9c505bdff6b0c5a5262905f7f/src/Cropper.Blazor/Client/Pages/CropperDemo.razor.cs#L386

Code:
string oldSrc = Src;

                Src = await CropperComponent!.GetImageUsingStreamingAsync(imageFile, imageFile.Size);

                IsAvailableInitCropper = true;
                IsErrorLoadImage = false;

                CropperComponent?.Destroy();
                CropperComponent?.RevokeObjectUrlAsync(oldSrc);

@Vian237 let me know if it work properly with this case!

Hi @MaxymGorn I tried it before I came across this thread. In my context I receive the image directly as a string and so I can't use the "GetImageUsingStreamingAsync" method because I don't have an HTLM  tag.
The problem I had with this code was that when the first image is received, the component behaves well, then when the 2nd is received, it displays all the images in a row. That's why I wanted to use the "Replace" method.
I think the "Destroy()" method doesn't work because maybe the image isn't updated in the component because I'm changing the source directly to the new image.
Here's what my code looks like:

@Vian237  Sure, the original src don't updated in case when you gathering replace image

Replace method shouldn't call Destroy method Blazor component

I would investigate this point, how to center the image after replacing...

I'm currently using version 1.2.4 and I still have the same problem. unlike your example, I receive the image url via an event and I'd like to replace it in the component. I've made the adjustments described above but the image is just replaced by the cropper box size. when I relaunch the component I get the real size of the image outside the component so it's impossible to work. Could you help me?

Simple decision in your case:

Just set not required (hasSameSize) parameter to false


Add boba chain operation tools

This PR adds the code for getting addresses that have transferred ETH or received ETH for legacy blocks.
To get the address list, we decode the result of debug_traceTransaction and record any addresses that initialize the transaction or receive ETH in the tracer. Also, we need to record addresses that receive ETH minted from the cross chain message.
The unit tests are added.

Do we want to move this tool to the boba repo? Since we actually don't use this for the op-erigon.


Loading on change languages externally

This is not an issue, maybe a suggestion.
Current setup loads all languages into main.js file, its not a problem with a few languages, but by having 10+ languages main.js becomes huge.
Maybe it would be better to use external loading for specific language, on language change?

@ewief indeed, you have any suggestion about how to code it?

Closing for lack of response from OP but this is definitely a good idea. PR is still welcome if anybody wants to tackle this.

(Shouldn't be too hard using dynamic imports?)


Practice: Time Remaining text blinks and statistics increases

Bug:
After finishing a session.
Pressing any key in the input box, shows the text: Time Remaining: 0:00
for two seconds, below the input box,
then the text hides, and the top right text: All time statistics: 1 hours, 2 minutes
increases by the number of minutes of the previous session.
https://github.com/typing-tech/CharaChorder-utilities/assets/13420573/ee0abdcc-1190-4b2c-ac8f-f55ba26aada5
The video demonstrates a previous 2 minute session, but the same thing happens with a 1 minute session.
Expected:
The text: Time Remaining: 0:00
should probably only be visible while a session is in progress.
And the All time statistics should only increase after completing a real session.

The Time remaining text blinks once, if the practice minutes are set to zero,
The simplest solution might be to set the minimum allowed practice time to: 1

😄 It's the bug, I kept practicing after the session ended, and every chord increased the statistics minutes by one or two (when I started testing the bug).

Maybe one option could be to practice without a timer (infinitely) if the time is set to zero.


Subgraph deploy problem

Failed to deploy to Graph node https://api.studio.thegraph.com/deploy/: subgraph resolve error: resolve error: Serialization error: missing field name at line 93 column 3
How can I solve this issue? Help me!!!

Can you provide your manifest?

Closing for now, thanks!


add name feature

people can add their username to their comment. I also made it so that empty comments won't get published.

added these changes- didnt have time to add the error message yet


Revert ":books: Sprint 1 #2 - Layout tela inicial"

Reverts Fatec-ADS-AMS2024/SeniorStockManager-Frontend#6

Refazer o Pull requeste


Add a file types whitelist

is this still needed, even with the new(-ish) signature support?

It should be for the case where you don't use the signature option.
Even with the whitelist option, it's maybe not a good idea to deliver everything like html pages or video or whatever. It's more about reducing potentials attack and security breach vectors ... Maybe a simpler option would be to defined a cold list somewhere of every file type imageproxy should support ?

I'm still not completely sure of the best approach here, but here are some thoughts while it's on my mind:
One of the simplest fixes is to update TransformingTransport.RoundTrip to return the error it receives from Transport rather than simply logging it and returning the original response bytes.  This will eliminate any non-image responses that include any transformation options, since the image.Decode call will return an error.
The above will not work for requests that don't contain any transformation options, since the Transport method intentionally returns early in that case.  One option would be to move that return to after the image.Decode call.  That would be a complete waste of CPU cycles though in a lot of cases, so not really a great option.
A better option would be to call http.DetectContentType to sniff the content type and bail if it's not an image.
We could also just look at the declared content-type in the response headers, but if the point here is to prevent abuse, we shouldn't really trust those headers.  Content sniffing is probably the best approach.
Trying to do any kind of whitelisting based on file extension is not really going to be robust enough.

I agree than file extension check can leads to complications and can be easily bypass for security, the use of http.DetectContentType looks like the best and more robust option.
See #53 for this.


[DO NOT MERGE][Tour of Beam] Learning content for "Core-transforms" module

fixes #22500
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @olehborysevych

R: @alxp1982


Requirements and dependencies are not being installed

Hi,
I followed your example and edited mrjob to my needs, the cluster shows up as running for 30-60 seconds and than fail with the error of ccjob python module missing.
I'm running the script like that:
python GoogleAnalytics.py -r emr --conf-path="mrjob.conf" --output-dir='s3://findthatdata/out515' index.last
index.last is the latest link files for the warc files.
My mrjob.conf is like the example with the only difference of instance types and aws key and secret key are there.
I sshd to the cluster machines and saw that none of the requirements were actually installed, or ccjob being moved to site-packages or anywhere else that python can use it.
Any ideas?
`Probable cause of failure:
R/W/S=943/0/0 in:NA [rec/s] out:NA [rec/s]
minRecWrittenToEnableSkip_=9223372036854775807 HOST=null
USER=hadoop
HADOOP_USER=null
last tool output: |null|
java.io.IOException: Stream closed
at java.lang.ProcessBuilder$NullOutputStream.write(ProcessBuilder.java:434)
at java.io.OutputStream.write(OutputStream.java:116)
at java.io.BufferedOutputStream.write(BufferedOutputStream.java:122)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
at java.io.BufferedOutputStream.write(BufferedOutputStream.java:126)
at java.io.DataOutputStream.write(DataOutputStream.java:107)
at org.apache.hadoop.streaming.io.TextInputWriter.writeUTF8(TextInputWriter.java:72)
at org.apache.hadoop.streaming.io.TextInputWriter.writeValue(TextInputWriter.java:51)
at org.apache.hadoop.streaming.PipeMapper.map(PipeMapper.java:106)
at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:65)
at org.apache.hadoop.streaming.PipeMapRunner.run(PipeMapRunner.java:34)
at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:432)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:343)
at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:175)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1548)
at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:170)
(from lines 48-72 of ssh://ec2-54-164-120-22.compute-1.amazonaws.com!<IP_ADDRESS>/mnt/var/log/hadoop/userlogs/application_1472031629066_0001/container_1472031629066_0001_01_000036/syslog)
caused by:
Traceback (most recent call last):
File "GoogleAnalytics-1.py", line 4, in
from ccjob import CommonCrawl
ImportError: No module named ccjob
(from lines 1-4 of ssh://ec2-54-164-120-22.compute-1.amazonaws.com!<IP_ADDRESS>/mnt/var/log/hadoop/userlogs/application_1472031629066_0001/container_1472031629066_0001_01_000036/stderr)
while reading input from s3://mrjob-c966b2d474a7f5e1/tmp/GoogleAnalytics.root.20160824.093705.862786/files/index.last
Step 1 of 1 failed
Killing our SSH tunnel (pid 1188)
Terminating cluster: j-342PWRARWH0G3`

Looks like ccjob isn't installed.
I've updated the pypi registry so you should add CommonCrawlJob to your requirements.txt

Seems like that solved the problem. Earlier to that I added to the bootstrap actions to download and install CommonCrawlJob and that also went well.


Why Timer4 only for Arduino Mega2560?

Hi! It is clearly stated in doc that for Arduino Mega2560 we can use only pins 6,7,8 (Timer4). But what is the reason? Can it be improved? In my project I have connected lcd display on mega2560, and these pins are used for display. I want to switch to Timer5 (pins 44,45,46), but it does not work :(

The first user requesting AtMega2560 support has opted for Timer 4, so it was done. No other reason. Have you tried this from the README to change the timer ?
Similar to ATmega328, but instead of timer 1, timer 4 is used.
For users of platformio, the used timer can be changed to either 1, 3, 4 or 5. For e.g. timer module 3 add to platformio.ini under build_flags:
build_flags = -DFAS_TIMER_MODULE=3

or better:
build_flags = -Werror -Wall -DFAS_TIMER_MODULE=3

For arduino users, the same can be done by defining the flag before including the FastAccelStepperEngine.h header (as per info ixil).
e.g.
sketch.ino
----------
#include <Arduino.h>
#define FAS_TIMER_MODULE 3
#include <FastAccelStepper.h>
/* ... */

If it does not work, then you need to put the library in your project and change the define in AVRStepperPins.h line 27 to:
#define FAS_TIMER_MODULE 4
I haven’t tried it myself, because I use platformio, where it works reliably.

Yes, I've tried #define FAS_TIMER_MODULE 5 before #include <FastAccelStepper.h>, and it does not work. I'll try to change AVRStepperPins.h, but I bet result will be the same, because there is ifndef. I think that the reason might be in ISR declaration in avr.io, which goes before any custom libraries, but this is just guess.

I can't believe, but change define in AVRStepperPins.h really works. But when I add define before include lib it does not work. Why???

Good that this works. If you find a way, how to get this compiler define done via the ArduinoIDE, then I would happily use that. Cause I have no idea.
Personally I would advise to use platformio, where it can be done easily.
Pity is, that for any library update, you need to fiddle around with the code again. Sorry for that.

I can't believe, but change define in AVRStepperPins.h really works. But when I add define before include lib it does not work. Why???

Add define After include.

I can't believe, but change define in AVRStepperPins.h really works. But when I add define before include lib it does not work. Why???

Add define After include.

Kind of joke?

I can't believe, but change define in AVRStepperPins.h really works. But when I add define before include lib it does not work. Why???

Add define After include.

Kind of joke?

No joke. The last define will take effect, if you define before include, it will be redefined in the include.

Apparently there is no solution besides changing the code.
Readme has been updated.


a11y: Modal component needs aria-live for disabled buttons

Detailed description
JAWS screen reader didn't inform the user when the primary button was enabled (after user filled all required fields).

Is this issue related to a specific component?

Modal

What did you expect to happen? What happened instead? What would you like to see changed?

If the state of the primary/secondary buttons on Modal changes, screen reader should inform user about state change (if its disabled or enabled)

What browser are you working in?
Chrome

What version of the Carbon Design System are you using?
6.39.3

What offering/product do you work on? Any pressing ship or release dates we should be aware of?
Genesis UI

Hello! Sorry for letting your issue go stale. Is this still an issue and if so can you provide an example for me to test against?


When I click Create new build I get this everything is linked.

Picture below but the error is:
Looks like we hit a snag
curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set
Everything else has worked but this even adding the mods etc
http://prntscr.com/h1mxl1

Dupe #314 #522 #607
Please search for your issue on the tracker before creating a new issue.


Uploading changes to OSM is broken

Select https://www.openstreetmap.org/relation/356412
Add phone number or website
Click Save
404 error

https://github.com/user-attachments/assets/8631d379-4f16-4680-bb79-cf0559fa4899

Hi @deevroman
Could you share the healthsites link?
Because we are not saving relation type based on osm url that is provided

By the way, please note that the site offers a link in the OpenStreetMap field https://www.openstreetmap.org/way/-356412 which is not correct

Thank you @deevroman the detail is enough, i will check it

The hyphen seems to be an issue, the link does not exist. The correct link is https://www.openstreetmap.org/relation/356412

Note for me for fixing it:

imposm assign negative osm_id for relation on way database
on osm view query, we need to also create new type for relation by filtering way with id < 0 and way with id > 0
Handling it on API and script to push to osm


Load new objects into the scene

Thanks for the great work. But I'm still stuck at the last step of loading a new object into the scene. I would really appreciate it if anyone could provide more help.
I managed to use Objathor to convert .glb file into Thor format. And got the following files in the folder:

And then I put this folder into the 09_23_combine_scale folder. And following the tips from #29. I removed the redundant files, and only kept.pkl.gz, albedo, emission, normal and thor_metadata.
In order to load it into a scene, I add the following part to the "objects" list in the json file of the scene. The name of the folder generated by Objathor is 40562244_original , and I manually added an id, position, and other info for it.
        {
            "assetId": "40562244_original",
            "id": "ikeacoffeetable-0 (living room)",
            "kinematic": true,
            "position": {
                "x": 4.575476661719379,
                "y": 0.40774148810617195,
                "z": 3.2
            },
            "rotation": {
                "x": 0,
                "y": 270,
                "z": 0
            },
            "material": null,
            "roomId": "living room",
            "vertices": [
                [
<PHONE_NUMBER>438757,
<PHONE_NUMBER>3898007
                ],
                [
<PHONE_NUMBER>438757,
<PHONE_NUMBER>6102
                ],
                [
                    404.5,
<PHONE_NUMBER>6102
                ],
                [
                    404.5,
<PHONE_NUMBER>3898007
                ]
            ],
            "object_name": "ikeacoffeetable-0",
            "layer": "Procedural0"
        },

However, after I connect the JSON file to Unity, I got the following error:
(holodeck) dorwin@dorwin-HP-Z4-G5-Workstation-Desktop-PC:~/Holodeck$ python connect_to_unity.py --scene /home/dorwin/Holodeck/data/scenes/a_living_room-2024-05-28-10-58-41-940166/a_living_room.json
Traceback (most recent call last):
  File "/home/dorwin/Holodeck/connect_to_unity.py", line 32, in <module>
    controller.step(action="CreateHouse", house=scene)
  File "/home/dorwin/miniconda3/envs/holodeck/lib/python3.9/site-packages/ai2thor/controller.py", line 1063, in step
    self.run_action_hook(action)
  File "/home/dorwin/miniconda3/envs/holodeck/lib/python3.9/site-packages/ai2thor/controller.py", line 994, in run_action_hook
    event = method(action, self)
  File "/home/dorwin/miniconda3/envs/holodeck/lib/python3.9/site-packages/ai2thor/hooks/procedural_asset_hook.py", line 88, in CreateHouse
    return create_assets_if_not_exist(
  File "/home/dorwin/miniconda3/envs/holodeck/lib/python3.9/site-packages/ai2thor/hooks/procedural_asset_hook.py", line 48, in create_assets_if_not_exist
    evt = create_asset(
  File "/home/dorwin/miniconda3/envs/holodeck/lib/python3.9/site-packages/ai2thor/util/runtime_assets.py", line 160, in create_asset
    evt = controller.step(**create_prefab_action)
  File "/home/dorwin/miniconda3/envs/holodeck/lib/python3.9/site-packages/ai2thor/controller.py", line 1104, in step
    raise ValueError(self.last_event.metadata["errorMessage"])
ValueError: Invalid action:

Can anyone tell me what the problem is? Thanks for any kind of help:)

@Lucaweihs could you please help with this?
Also @DDDDorwin, could you provide this asset here for debugging?

Hi @DDDDorwin,
Echoing @YueYANG1996, can you provide the scene and object? I'll load it locally and check what's going on.

Hi @Lucaweihs ,
Thanks for the reply. Atteached are the scene and object. Really apperaciate for your help and any feedback.
40562244_original.zip
a_living_room-2024-05-28-10-58-41-940166.zip

Hi @DDDDorwin,
This problem seems to be caused by a mismatch between different versions of thor/objathor/etc.
Can you:

Download the data in our new format
Ensure you've checked out the latest AI2-THOR commit (I just updated the readme).
Ensure you're using the correct version of the ai2thor python package (see the last line of this block, note that this may be different than the version you used to generate the objathor asset, that's ok but use the correct version here).
Checkout the lastest version of holodeck from main.

After doing the above:

Place the 40562244_original asset into ~/.objathor-assets/2023_09_23/assets
Run:

 python connect_to_unity.py --scene /home/dorwin/Holodeck/data/scenes/a_living_room-2024-05-28-10-58-41-940166/a_living_room.json

I believe that should work, here's what I see in my Unity editor:

@DDDDorwin - Did this work for you?

Hi @DDDDorwin,
IDK if you solved your problem or not, but I had the same problem with internet speed on ubuntu 20.4 and this solved the problem:
sudo iwconfig INTERFACE_NAME power off .
you can get your WiFi interface name using ifconfig.

Hi @DDDDorwin, IDK if you solved your problem or not, but I had the same problem with internet speed on ubuntu 20.4 and this solved the problem: sudo iwconfig INTERFACE_NAME power off . you can get your WiFi interface name using ifconfig.

Hi @MJSahebnasi , thanks for the advice. I just fixed it.


Re-add Ractive.noConflict

As per https://github.com/ractivejs/ractive/issues/1547#issuecomment-130145501, the Ractive.noConflict function has ~mysteriously disappeared~

Is noConflict even needed? @Ghazgkull Would you mind chiming in why you need it?
Here's the current module definition in edge:
(function (global, factory) {
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
  typeof define === 'function' && define.amd ? define(factory) :
  global.Ractive = factory()
}(this, function () {

Only gets added to global if there's no detected module system at all.
Do developers that don't use a module system but care about global pollution exist?

I use a module system (Browserify), I care about global pollution, and I need Rangy.noConflict because when you load Rangy asynchronously it stomps on the window.rangy property.
In my case, I have a bit of Javascript (transpiled with Browserify) that gets loaded onto a 3rd party website. The first thing I do is turn around and load my dependencies (jQuery, Ractive, Rangy) by inserting new script tags into the DOM. And when Rangy loads, it sets the global window.rangy property. jQuery does the same thing, but using noConflict it's easy to reset the global var as soon as the script loads.
For now I'm taking a poor-man's approach where I squirrel away the value of window.rangy before I insert the script tag to load my own version and then restore it manually. But it would be nicer to just use noConflict.

That doesn't convince me of the need for noConflict.
You could easily include your dependancies into your browserify bundle instead of hackily injecting script tags and you'd have the benefit of removing additional HTTP requests which will more than likely be an improvement to cold load times anyways.

Whether to bundle required libraries into an application or to reference them externally (e.g. from a CDN) is a decision that has to be made for each application. Sometimes it makes sense to bundle things together and sometimes it absolutely doesn't.
In my case, warm load times are much more important than cold load times. And my application Javascript changes much (much!) more frequently than my required libraries. So I get much faster load times by keeping my libraries out of my app bundle and instead letting the browser hit a CDN for a 304 that returns a few bytes of data.
There's nothing hacky about injecting script tags into the DOM. It's the normal way to load additional Javascript and CSS files.

@Ghazgkull What about using browserify to create (a) separate module(s) bundle that contains your third-party modules like Ractive?

@martypdx I'm doing that for another library I require (Rangy), that's bundled as a core library plus a few optional modules. I use Browserify to bundle them into one bundle that can be pulled down in one shot. The only challenge there is how to host the resulting library. I'd much rather pull down dependent libraries from CDNs wherever possible.
I feel a little bit awkward monopolizing this conversation with the details of how my particular app is architected. I suggest that it's a good idea accommodate more people using Ractive by allowing different scripts built on different versions of Ractive to co-exist. The noConflict() solution works well for other libraries and it'd be nice to have with Ractive as well.

@Ghazgkull If server bandwidth is your limiting factor, Cloudflare is completely free, so you can keep both your initial payload and bundle under a CDN while having complete control over how they are packaged and avoiding 3 304's by bundling. I would eat my shoe if one 304 under a CDN results in slower load than three 304's under a CDN.

I feel a little bit awkward monopolizing this conversation with the details of how my particular app is architected.

I totally agree, but so far the only argument to including noConflict is that it helps your workflow even though your workflow has other solutions that would be improvements!
My other reason for rebuke was so that marty et. al wouldn't have to spend any time/thought on this so they could focus on more important stuff like 0.8 :) :) but that ship has sailed hehe.

Having found myself in all sorts of hard-to-describe hair-pulling situations involving module loaders, and injecting multiple mini-apps into pages that I don't control (which is basically my day job), I'm sympathetic to @Ghazgkull. IIRC Ractive.noConflict() previously existed because we needed there to always be a global (even if a module loader was detected, because sometimes globals really are the only way to share a library between different apps on the same page), but wanted there to be a way to clean up the mess for people concerned about such things.
I wouldn't say it's a massive priority (down to a dozen failing tests on my local 0.8 branch btw!) given that there are workarounds (however ugly), but I'm generally :+1: on reinstating this.

And when Ractive loads, it sets the global window.rangy property

wait... what? :grimacing:

... even though your workflow has other solutions that would be improvements!

@JonDum I'm always eager to make improvements to my application, but in the end none of the ideas suggested here quite work out to be improvements. I'm trying to be polite by not dumping out all the details of the application I'm implementing and why my current architecture is the best fit.

And when Ractive loads, it sets the global window.rangy property

wait... what?

Ha! Sorry, typo. I got my R-names mixed up. :)
I agree this isn't a massive priority. Anyone can implement their own solution for this (I already have my own in place), but it would be "nice to have" a built-in solution following the noConflict() pattern.

@ghazgkull we'll have to take your word for it :)

down to a dozen failing tests on my local 0.8 branch btw!
@rich-harris hell yea! Can't wait to start refamiliarizing myself with the new code so I can help out.

noConflict is back in edge.


Automatic renewal via Windows task scheduler does not work 100%, manually renewing scheduled works OK?

Win-Acme Version <IP_ADDRESS>1, running on Windows 2012 R2.
We have Wiin-Acme running on three servers, each having the same problem.
Manually renewing scheduled certificates (through the DOS box interface): no problem
Running unattended renewals through the task scheduler: always returning "renewal failed, will try on next run". Recreating the task is possible but does not solve the problem. The (still unaltered) task is running as user SYSTEM. So it is running but the renewal process never renews the certificates.
The log for one certificate says:
2020-12-28 09:01:09.414 +01:00 [INF] Renewing certificate for [IIS] webs, www.dummy.nl
2020-12-28 09:01:14.178 +01:00 [WRN] SelfHosting plugin couldn't serve file /.well-known/acme-challenge/-jOcxaqBISoswWABu_8TgaFi_tf2hpulPWsLwGM0868
2020-12-28 09:01:18.606 +01:00 [ERR] Authorization result: pending
2020-12-28 09:01:18.623 +01:00 [ERR] Renewal for [IIS] webs, www.dummy.nl failed, will retry on next run
So for now we always renew manually through the interface (that works perfectly) but unattended automatic renewal should also be possible. Any ideas?

It's definately strange but as a first step I would try to upgrade to the latest release of the software, to be sure it's not a bug that's already been solved.

Also to be clear, are these three seperate servers or some kind of cluster/load balancing setup? Because the latter might explain some stuff too.


Is matrix ?

Hey @Foxboron
want to use this on windows.  Mac and Linux.
Any ideas what OS types are supported ?  You’re using Google’s tpm package I see .
also planning to build a basic gui with basic query capabilities with gioui

Go-TPM is a Go library that communicates directly with a TPM device on Linux or Windows machines.
So I need to try on Darwin as I think the api is radically different on Darwin

OSX does not use TPMs, they use "Secure Enclave" so that needs this https://github.com/remko/age-plugin-se
I can't guarantee any functionality at this moment as the Google TPM library is getting a new API soon'ish and I'm in the progress of figuring it out.

and fwiw, I'm in the process of rewriting the identity handling so we can have TPM keys sealed outside of the TPMs to mitigate the generally small storage space the TPMs has for internal keys.

Hey
thanks for quickly responding.
right - yep apple goes their own way..
you know way more about it than me.
so when can I dog food it - I can help test and code it

You can play around with the tooling using the --swtpm flag or AGE_PLUGIN_TPM_SWTPM=1 environment variable to utilize a software TPM (depends on swtpm), which would allow you to use it outside of your actual TPM.
But keep in mind I don't make any stability guarantees until an eventual 1.0 release.

No sweat - it’s beta beta .
I will yt it out with the mocking layer you suggested.

I had a play..
https://github.com/remko/age-plugin-se
does not work on my old intel mac :)
But i noticed that this code can easily be turned into golang code so users don't need the brew aspects:
https://github.com/remko/age-plugin-se/tree/main/Sources
This shows the pattern for Mac
https://github.com/gioui/gio-x/blob/main/explorer/explorer_macos.go
Might be worth doing some time...

As explained over email, this plugin won't support Microsoft Windows and Apple.


People Identify aren't posted when calling mixpanel.identify

The following code (kotlin) never makes a post to https://api.mixpanel.com/engage
mixpanel.people.setMap(properties)
mixpanel.identify("user-${user.id}")

The following code does:
mixpanel.people.setMap(properties)
mixpanel.people.identify("user-${user.id}")

I assumed mixpanel.identify was a replacement/better alternative for mixpanel.getPeople.identify, but they seem to work differently.

It looks like that identifies a user, but doesn't link their events unless you do this:
mixpanel.people.setMap(properties)
mixpanel.identify("user-${user.id}")
mixpanel.people.identify("user-${user.id}")

The guides don't make this obvious in my opinion.

You are right, you need to identify the people profile through people.identify. Please, read the following doc for more details: https://developer.mixpanel.com/docs/android#section-managing-user-identity


Getting crashed when Cloud and rain works together

Hi,
I tried to use cloud and rain together with full limit in the sample. After some time, the app got crashed.
Memory increases from 19MB to 600+MB and CPU also increases from 10% to 100%.
I think cloud object is not destroying as shown in attached screenshot.
Please, how to handle it.
Thanks in advance.

Hi!
I think it'll be faster found the solution or bug, if you show your source codes to me.
Could you show your codes?

I doesn't change any code. I am using provided URWeatherView sample. After run, I set progress bar to max for cloud and rain. Then I got crashed.

O.K. I'll check it out.
It might be the problem of the sample app, because I didn't intend to show over two weather effects together in the sample.
Thanks


Gateway Error with TLS certificate

Describe the bug
I created both .pem and .jks certificate files and modified conf.yaml in both sslCert and sslPwd fields. I mounted .pem, .jks and .yaml files in /srv/inputs folder. When I run the gateway, I got the following error:
Failed to verify the self-signed certificate. This could mean your self-generated .jks certificate and password are not correctly provided in Inputs Directory or listed in conf.yaml.
To Reproduce
Steps to reproduce the behavior:

Build a custom Docker image
FROM voyz/ibeam:0.4.0-rc5
COPY inputs/ /srv/inputs/
VOLUME ["/srv/inputs/"]
Run container
Check logs

Expected behavior
Working connection in the same way when I do not provide certificates
Environment
IBeam version: 0.4.0-rc5
Docker image or standalone: 0.4.0-rc5
Python version (standalone users only): 3.8
OS: Debian Linux
Additional context
The connection works when I do not not modify conf.yaml fields and do not provide .pem and .jks files
Suggest a Fix
NA

Thanks for the detailed report @elaamrani 👍 Let me first ask:

You're building your own IBeam image - I wonder why? You know you can provide the certificates by mounting them during docker run instead of doing COPY inputs/ /srv/inputs/?

I created both .pem and .jks certificate files

Could you paste the commands used (cover the credentials) to generate these certificates?

Is there any errors or warnings when generating the certificates?

Hey @elaamrani I'm going to close this issue due to lack of activity. Feel free to reopen it if you'd like to continue the discussion 👍


Image is not opening

Do you wish to work on this issue ?

hii @killerraj369 @Kritika30032002
I want to work on this
please assign a hackoctober tag to it

Do you wish to work on this issue ?

yes

Issue has  been resolved


importanttttt HELPPPPPPPP

Description
What steps will reproduce the problem?

What is the expected output? What do you see instead?
Please provide any additional information below
File "C:\Users\bsr\Anaconda3\lib\site-packages\spyder\plugins\ipythonconsole.py", line 1023, in create_client_for_kernel
password)
File "C:\Users\bsr\Anaconda3\lib\site-packages\spyder\plugins\ipythonconsole.py", line 1666, in _create_client_for_kernel
kernel_client.load_connection_file()
File "C:\Users\bsr\Anaconda3\lib\site-packages\jupyter_client\connect.py", line 451, in load_connection_file
with open(connection_file) as f:
PermissionError: [Errno 13] Permission denied: 'C:\Users\bsr\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.6'
Version and main components

Spyder Version: 3.2.4
Python Version: 3.6.3
Qt Versions: 5.6.2, PyQt5 5.6 on Windows

Dependencies
pyflakes >=0.6.0 :  1.6.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pygments >=2.0   :  2.2.0 (OK)
pandas >=0.13.1  :  0.20.3 (OK)
numpy >=1.7      :  1.13.3 (OK)
sphinx >=0.6.6   :  1.6.3 (OK)
rope >=0.9.4     :  0.10.5 (OK)
jedi >=0.9.0     :  0.10.2 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
sympy >=0.7.3    :  1.1.1 (OK)
cython >=0.21    :  0.26.1 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
IPython >=4.0    :  6.1.0 (OK)
pylint >=0.25    :  1.7.4 (OK)

Thanks for reporting. As some general, person to person advice, issue titles like the one above are likely to have an inverse effect on the quality and quantity of responses, as opposed to one that is clear, to the point, and specific regarding your problem.
In any case, hopefully someone else can offer more specific advice, but it appears that for whatever reason, jupyter is trying to load a shortcut from your start menu and failing to do so. Not sure if that's the path it is supposed to try it from and something's wrong with the shortcut, or it should be trying to load the actual executable, or that's the system python, or what, but does this error occur if you launch an iPython console e.g. from a standalone qtconsole or from the Anaconda Prompt?
If so, then it wouldn't have anything to do with Spyder, and aside from doing a clean uninstall/reinstall of Anaconda (probably a good idea in any case), your best bet if it really is a bug is to report it to jupyter.

Please describe step by step how you got this error so we can reproduce it in our side. If you fail to do that, we'll close this issue in a week from now.

@ccordoba12 Loading the IDE, it would seem. Still, between the chances of it being a user-side issue (quite probable) and the fact that it occurs in the jupyter code, doesn't seem likely to be a (fixable) bug on Spyder's end, to take a naive guess.

Closed due to lack of response.


fix: upgrade to version 3.1.152

from: https://github.com/jenkins-x/jx-cli.git

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign jstrachan
You can assign the PR to them by writing /assign @jstrachan in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign jstrachan
You can assign the PR to them by writing /assign @jstrachan in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jenkins-x-bot-test: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
35726c5c9cbcf472d450224ce40b4e41300f8e40
link
/test vault

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jenkins-x-bot-test: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
35726c5c9cbcf472d450224ce40b4e41300f8e40
link
/test vault

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
35726c5c9cbcf472d450224ce40b4e41300f8e40
link
/test vault

tls
35726c5c9cbcf472d450224ce40b4e41300f8e40
link
/test tls

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
35726c5c9cbcf472d450224ce40b4e41300f8e40
link
/test vault

tls
35726c5c9cbcf472d450224ce40b4e41300f8e40
link
/test tls

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
35726c5c9cbcf472d450224ce40b4e41300f8e40
link
/test vault

tls
35726c5c9cbcf472d450224ce40b4e41300f8e40
link
/test tls

gsm
35726c5c9cbcf472d450224ce40b4e41300f8e40
link
/test gsm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
35726c5c9cbcf472d450224ce40b4e41300f8e40
link
/test vault

tls
35726c5c9cbcf472d450224ce40b4e41300f8e40
link
/test tls

gsm
35726c5c9cbcf472d450224ce40b4e41300f8e40
link
/test gsm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
35726c5c9cbcf472d450224ce40b4e41300f8e40
link
/test vault

tls
35726c5c9cbcf472d450224ce40b4e41300f8e40
link
/test tls

gsm
35726c5c9cbcf472d450224ce40b4e41300f8e40
link
/test gsm

kube
35726c5c9cbcf472d450224ce40b4e41300f8e40
link
/test kube

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
35726c5c9cbcf472d450224ce40b4e41300f8e40
link
/test vault

tls
35726c5c9cbcf472d450224ce40b4e41300f8e40
link
/test tls

gsm
35726c5c9cbcf472d450224ce40b4e41300f8e40
link
/test gsm

kube
35726c5c9cbcf472d450224ce40b4e41300f8e40
link
/test kube

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.


Bridge UIViewControllerRepresentable SwiftUI

Is there currently any documentation on how to get the wheel implementation wrapped in an UIViewControllerRepresentable such that the package can be used in SwiftUI environments? I have tried to create a bridge myself and initializing a static wheel succeeded but did not manage to bridge the controls of the wheel. Thanks in advance!

I'm working on it. I will add a new example project in the coming days.

Perfect! Looking forward to it :) Thanks!

Added. If you have questions or specific cases that I have not covered in the SwiftFortuneWheelDemo-SwiftUI project, please let me know.

Thank you so much! Just tried it out and will be playing with it in the coming days.

Hi, sorry for the delay. It is working perfectly, only I wish to implement the .variousWheelPodiumConfiguration configuration in the SwiftUI View. Which extensions are needed for that and what should I pass onto the SFWView()? Thanks in advance!

Add SFWConfiguration+VariousWheelPodium.swift file to the project. In the ViewModel class change:
@Published var wheelConfiguration: SFWConfiguration = .blackCyanColorsConfiguration

to
@Published var wheelConfiguration: SFWConfiguration = .variousWheelPodiumConfiguration

Thanks for the quick reply. I had already tried that and just did again, but it does not seem to work for me :( Maybe I am missing something? I have copied over all assets as well. Do you have a clue what is happening?

@sh-khashimov Sorry to bother, could you have a look?

@sh-khashimov Unfortunately, I have not been able to get it working with the solution you provided.


!feat(share/p2p/peers): expose peer manager params to nodebuilder

Overview
Makes peer manager configurable by node user.

Codecov Report

Merging #1925 (22ab1ba) into main (f18b1ab) will decrease coverage by 0.32%.
The diff coverage is 19.64%.

@@            Coverage Diff             @@
##             main    #1925      +/-   ##
==========================================
- Coverage   54.95%   54.64%   -0.32%
==========================================
  Files         216      216
  Lines       13925    13991      +66
==========================================
- Hits         7653     7645       -8
- Misses       5460     5524      +64
- Partials      812      822      +10

Impacted Files
Coverage Δ

cmd/celestia/main.go
47.05% <ø> (ø)

nodebuilder/node/admin.go
26.66% <0.00%> (ø)

nodebuilder/settings.go
75.00% <0.00%> (-7.36%)
:arrow_down:

cmd/celestia/rpc.go
7.03% <7.03%> (ø)

nodebuilder/p2p/metrics.go
8.82% <8.82%> (ø)

nodebuilder/share/config.go
57.14% <40.00%> (-7.57%)
:arrow_down:

share/eds/eds.go
67.19% <40.00%> (-1.87%)
:arrow_down:

cmd/flags_misc.go
48.40% <46.66%> (-0.19%)
:arrow_down:

share/p2p/peers/options.go
64.00% <66.66%> (+10.34%)
:arrow_up:

share/p2p/peers/manager.go
76.58% <83.33%> (-1.63%)
:arrow_down:

... and 6 more

... and 5 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Vulkan 1.1 getter functions don't work

The function get_physical_device_properties2 (and possibly others) don't work. To call this function, we have to initialize the return structure's s_type and p_next, leave the rest uninitialized, then call the function. Currently, the code uses mem::uninitialized() for filling the whole structure.

This brings up a new issue: how to support extensions in these getters? We have to initialize every extension's structure in the chain, then call the function. If I want to get, for example, PhysicalDeviceIDProperties, I have to initialize the first structure (VkPhysicalDeviceProperties2), then the PhysicalDeviceIDProperties structure.
It seems there is no way for us to safely wrap Vulkan getter functions. We need to allow the user to create the chain of structures themselves, and we should only take in a &mut to the first structure in the chain.

I would expect the affected functions are all which accept pointers to structs as output arguments where the structs contain pNext members. "returned" here almost certainly does not mean that pNext will never be used.

Or if it contains sType member.

Fixed by https://github.com/MaikKlein/ash/pull/133 feel free to reopen the issue if there are more special cases


sourcetype wrong. Can we manually set sourcetype?

It seems that the sourcetype is incorrectly applied when using certain URLs. For example when using images from unsplash.it, which look like this: https://unsplash.it/1200/800 it thinks it's an iframe when in fact, it's an image.
It would be great if there was a way to set the sourcetype manually, rather than have the plugin guess, as it's not fully reliable.
perhaps an option of type: 'image' | 'iframe' | 'video' | 'inline'

Published version 1.0.6, now you can specify the type of the element using data-glightbox="type: image"
Let me know if this helps :)

Just wanted to say I came here with this same problem because the CMS I use can re-crop images on the fly and the crops were showing in iframes. This solved it perfectly so thank you!!!


recover gracefully on ssl error

(blockonomics)enigma@enigma-laptop:~/btxfees$ python main.py 1LuckyG4tMMZf64j6ea7JhCz7sDpk6vdcS -a 1.5
* Trying: <Service: CoinPrism (0 in cache)> btc 1luckyg4tmmzf64j6ea7jhcz7sdpk6vdcs
Traceback (most recent call last):
  File "main.py", line 32, in <module>
    main()
  File "main.py", line 29, in main
    get_txout(args.addresses)
  File "main.py", line 14, in get_txout
    get_unspent_outputs('btc', addr, random=True, verbose=True)
  File "/home/enigma/venvs/blockonomics/local/lib/python2.7/site-packages/moneywagon/__init__.py", line 53, in get_unspent_outputs
    services, UnspentOutputs, {'crypto': crypto, 'address': address}, modes=modes
  File "/home/enigma/venvs/blockonomics/local/lib/python2.7/site-packages/moneywagon/core.py", line 310, in enforce_service_mode
    return FetcherClass(services=services, verbose=verbose).action(**kwargs)
  File "/home/enigma/venvs/blockonomics/local/lib/python2.7/site-packages/moneywagon/__init__.py", line 223, in action
    return self._try_services('get_unspent_outputs', crypto=crypto, address=address)
  File "/home/enigma/venvs/blockonomics/local/lib/python2.7/site-packages/moneywagon/core.py", line 247, in _try_services
    ret =  getattr(service, method_name)(*args, **kwargs)
  File "/home/enigma/venvs/blockonomics/local/lib/python2.7/site-packages/moneywagon/services.py", line 501, in get_unspent_outputs
    for tx in self.get_url(url).json():
  File "/home/enigma/venvs/blockonomics/local/lib/python2.7/site-packages/moneywagon/core.py", line 44, in get_url
    return self._external_request('get', url, *args, **kwargs)
  File "/home/enigma/venvs/blockonomics/local/lib/python2.7/site-packages/moneywagon/core.py", line 66, in _external_request
    response = getattr(requests, method)(url, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/requests/api.py", line 55, in get
    return request('get', url, **kwargs)
  File "/usr/lib/python2.7/dist-packages/requests/api.py", line 44, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 383, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 486, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 385, in send
    raise SSLError(e)
requests.exceptions.SSLError: hostname 'api.coinprism.com' doesn't match either of 'www.coinprism.com', 'coinprism.com'

Expected: FAIL and try next service
Also request  timeout seems too large , maybe set to 3sec or give an option to set timeout

Thank you for reporting this issue. These types of problems are hard to deal with. One moment the server is returning an SSL error, the next moment the problem goes away... BTW if you upgrade to verson 1.8.2 there is a timeout keyword argument to get_unspent_outputs you can use...


An API to open a markdown preview as a "preview editor" to the side (AKA Italic tab title)

We are trying in our extension to open a Markdown preview to the side (A second editor group), but as a "preview editor" (AKA Italic tab title) that will get replaced should a user choose to open another Markdown file/preview afterwards. Yet we couldn't figure out a way to get this to work. We have tried the following:

The markdown.showPreviewToSide command adds a new tab to the editor group each time it runs (And doesn't open it as a "preview editor", the markdown.showPreview commands open in the current editor group but does replace a previously opened Markdown file/preview, yet isn't a de-facto "preview editor" (The tab title is not in italic), so the logic for replacing it might be a custom implementation inside the built-in Markdown extension.

vscode.openWith allows to open a Markdown tab as a custom editor rather than a webview panel, yet it ignores the preview/pinned flag, always defaulting it to not open as preview.  https://github.com/microsoft/vscode/blob/d9373893583a1b78df346f4671bc24221d5e5aba/src/vs/workbench/browser/parts/editor/editorCommands.ts#L602

Trying to manually kludge such behavior using vscode.window.tabGroups, but it is async with the API to actually open an editor, and it is difficult to match the exact tab that we just opened from the information available in the callback, we can only match on the tab title which seems very very brittle.

We would love there to be an API that makes it easy to do this, so we can make our extension's sidebar open the Markdown preview in "preview" mode and behave in a similar way to clicking on files in the built-in file explorer.
P.S. The API for opening a web view panel doesn't even support a flag to open it as a preview editor, unlike the API for opening text editors.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

Even better if the new group that might be created to host the preview window does not get the focus unless explicitly given : everytime I open a preview window, the next file will be opened in the new group instead of the main one. Anything "preview" related should not get focus by default.


[Bug] Does not work with Admin Lte

Hi no mater what I try and do I cannot get your control to work with the last version of admin lte it just shows items but it doesnt allow me to drop down the control is just disabled in nature im using bootstrap select country as I need to show flags in my system.
Admin lte system
https://adminlte.io/themes/AdminLTE/index2.html
even if you can identify what might be wrong so I can use it in this admin template would be great.

    Flag
    <select class="selectpicker countrypicker" data-flag="true"></select>
    <input asp-for="Flag" class="form-control" />

Any Idea why when I do this as you say to do in the documentation it would show up as follows its very annoying as you controls are way cooler than select to which admin lte uses by default.

I tried this suggestion here
$(document).ready(function() {
   $('.selectpicker').selectpicker({
    style: 'btn-default',
    size: false
  });
});

But still did not work

Bug reports must include a live demo of the problem. Per our contributing guidelines, please create a reduced test case (you can use our preconfigured Plunker), and report back with:

your link
Bootstrap version
bootstrap-select version
specific browser and OS details.

If you're not using the latest version of bootstrap-select, please try that as well.

Closing as no answer from OP.


Initial prototype

Using this example code: https://github.com/ml-explore/mlx-examples/tree/main/llama

Needs two files from https://huggingface.co/mlx-llama/Llama-2-7b-chat-mlx/tree/main - Llama-2-7b-chat.npz and tokenizer.model.

I'll license this MIT because that's the license on the example code.


WIP: Make links more accessible.

This is a work-in-progress PR which intends to fix #1709.
This implementation includes all availble buttons, sider and pager component in tables.
Problems
I do not like the way react-router recommends testing location objects with render property (which is what this patch is based on). It feels unnecessarily verbose und complex, but I have yet to see a method that works at all and looks better. On the positive side, this kind of testing actually tests the result instead of implementation -- previously the test checked whether a function has been called, while not verifying that the end result is what is expected.

@omeraplak I'm updating the tests after recent move on master from react-router to react-router-v6. It certainly feels like the router abstraction is not working on test level, since it's basically testing integration with react-router-v6 and not with the router provider. But I suppose it's a greater problem, so I'm just adapting to the existing code for now.

@omeraplak I'm updating the tests after recent move on master from react-router to react-router-v6. It certainly feels like the router abstraction is not working on test level, since it's basically testing integration with react-router-v6 and not with the router provider. But I suppose it's a greater problem, so I'm just adapting to the existing code for now.

I'm sorry for the confusion. I also agree with you

@omeraplak I've updated the tests to work with react-router v6 and moved the TestWrapper to use BrowserRouter while we at it, since I have no other option to have location.pathname checked in tests. If all the tests complete (which I'm not quite sure of), I'd consider this to be ready to go, but I'd be happy to incorporate further feedback if you have any.

@omeraplak I've updated the tests to work with react-router v6 and moved the TestWrapper to use BrowserRouter while we at it, since I have no other option to have location.pathname checked in tests. If all the tests complete (which I'm not quite sure of), I'd consider this to be ready to go, but I'd be happy to incorporate further feedback if you have any.

Hey @rassie ,
BrowserRouter looks cool. Thank you! Finally, https://github.com/pankod/refine/pull/1710/files#r848168971 Did you have a chance to look at this comment? If you don't have time, we can handle it. Thanks!

Yes, indeed, I've looked at it. Let me push some changes :)

I will merge it soon but we need to update some documents before we release it. Thank you very much your amazing effort! @rassie 🚀


How to get contents of repo root?

when using github.repos.getContent how can I get the contents in the root of the repository, i.e. without specifying {path:foo}? I tried both ' ' and '/' as arguments but neither worked.

Empty string should work.
https://github.com/mikedeboer/node-github/blob/master/examples/getContent.js


Create a version control system

All the existing ones are unnecessarily complicated. Build a VCS that just does the basics. Commit, amend, rebase, push, pull etc. Call it mono and optimize it for monorepos.

Alternative just deal with the BS and work on something more interesting.

Just keep using git and deal with the bugs. Something better will come along eventually.


in which situation osqp will fail?(planning)

When i use apollo5.5 to tune the car. Why it always has an error about osqp method?
output following error log:
AERROR << "failed optimization status:\t" << osqp_work->info->status;
in which situation this will happen?

@ManXiaoMi what's the exact status in the log? Based on that, you can check OSQP status values: https://osqp.org/docs/interfaces/status_values.html

@ManXiaoMi what's the exact status in the log?

E0819 17:19:17.447669 16591 speed_profile_generator.cc:120] Slowing down the car within a constant deceleration with fallback stopping profile.

failed optimization status: primal infeasible. what's the meaning of this status?
Now my car meet the problem is the speed of the vehicle is unstable. the actual speed always go up and down.
Then i check planning output, and find the problem like osqp problem shown above. each time when occur this problem, the car will go down,and then go up.
I don't know how to solve this problem. Thank you very much for your help.

failed optimization status: primal infeasible. what's the meaning of this status?
Now my car meet the problem is the speed of the vehicle is unstable. the actual speed always go up and down.
Then i check planning output, and find the problem like osqp problem shown above. each time when occur this problem, the car will go down,and then go up.
I don't know how to solve this problem. Thank you very much for your help.

failed optimization status: primal infeasible. what's the meaning of this status?
Now my car meet the problem is the speed of the vehicle is unstable. the actual speed always go up and down.
Then i check planning output, and find the problem like osqp problem shown above. each time when occur this problem, the car will go down,and then go up.
I don't know how to solve this problem. Thank you very much for your help.

@ManXiaoMi what's the exact status in the log? Based on that, you can check OSQP status values: https://osqp.org/docs/interfaces/status_values.html

Still include some other failure, show below:
E0821 17:42:18.898844 17621 piecewise_jerk_speed_nonlinear_optimizer.cc:579] Solver failure case is : INFEASIBLE_PROBLEM_DETECTED
E0821 17:42:18.898869 17621 piecewise_jerk_speed_nonlinear_optimizer.cc:582] Piecewise jerk speed nonlinear optimizer failed!

W0821 17:42:18.899757 17621 speed_profile_generator.cc:41] init_v = 2.98199, init_a = -3.46136

This is the case where vehicle is out of its dynamics limits, you could share us with more detail on your testing setup


Storage: Make HTTP-Method in signed url in upper case (and validate)

Specify the API at the beginning of the title (for example, "BigQuery: ...")
General, Core, and Other are also allowed as types
✅
OS type and version
I use the Storage lib inside a Cloud Function (Python Beta runntime)
Python version and virtual environment information python --version
3.7
google-cloud-python version pip show google-cloud, pip show google-<service> or pip freeze
1.12.0
Stacktrace if available
❌
Steps to reproduce
❌
Code example
👇

Hey guys 👋
currently I experiment a little bit with the Cloud Storage library inside a Cloud Function.
For testing I want to make an already uploaded file available via Blob#generate_signed_url.
The thing is - it works. I have no issues.
But Yesterday I spend at least 6 hours for testing it because the method in the generated_signed_url needs to be in uppercase.
Meaning the following does not work:
blob.generate_signed_url(timedelta(minutes=5), "get")

but this works:
blob.generate_signed_url(timedelta(minutes=5), "GET")

After a quick look into your code I found out that you "just put" the string into the generated URL. Without validating if that is a valid HTTP-Method!
https://github.com/GoogleCloudPlatform/google-cloud-python/blob/81bc5ef11d1918580f41e9f8ee2c9be2529b1169/storage/google/cloud/storage/_signing.py#L189
I would recommend (or request with this issue 🙃 ) to either:

Check if the given string is a valid HTTP-Method (POST, GET, PUT etc.) and make the string to uppercase!
Or better (but leads to breaking changes (maybe 😃)) make an ENUM of it and only allow to put an enum-value into the method.

I can see making the method uppercase (because the backend requires it), but enforcing a valid verb is not reasonable:  we would have to track the set of verbs allowed over time by the back end.

What will possibility change on the http method in the backend over time? 🤔
I mean, we have currently a hand full PC http methods. I think it is a big
announcement in the community when a new http method get introduced. And
then we have to track the backend when it will implement it.
But I think this will not change that often that it is not worth to check
in this library.
On Wed, Sep 26, 2018, 4:51 PM Tres Seaver<EMAIL_ADDRESS>wrote:

I can see making the method uppercase (because the backend requires it),
but enforcing a valid verb is not reasonable: we would have to track the
set of verbs allowed over time by the back end.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/google-cloud-python/issues/6107#issuecomment-424744500,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJwYe_hlmVaVIMpe-ZIXVtMoYUdFvUpyks5ue5R_gaJpZM4W5_OC
.


I run the example workflow1006.json,but there is a error on sampler node

I run the example workflow1006.json,but there is a error on sampler node, what's wrong with it :
[2024-12-16 08:34] !!! Exception during processing!!! exceptions must derive from BaseException
[2024-12-16 08:34] Traceback (most recent call last):
File "/comfyui/execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/comfyui/execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "/comfyui/execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/comfyui/custom_nodes/ComfyUI_StoryDiffusion/Storydiffusion_node.py", line 1819, in story_sampler
raise "if using story-maker controlnet,The number of input control-images and scene prompts should be consistent!! "
TypeError: exceptions must derive from BaseException

control img number = scene prompt lines number

I made control img number = scene prompt lines number, but it generate two empty image

your canny img is invalid, don't have such a big avatar

which kind imag I shoud use,can you give me a example?


CIPD checksum error results in multiple unzips of all packages, no re-download

See this task: https://chromium-swarm.appspot.com/task?id=350ea8dd07d23c10&refresh=10&show_raw=1
There was a zip checksum error for one of the three packages.  It looks like there were three attempts in which all three packages were unzipped, but the broken package was never re-downloaded.

+Vadim in case he can investigate.

There are no 3 attempts, it's the same log repeated 3 times :(
What bothers me, is that some other tasks on this bot that use exact same package file succeed: https://chromium-swarm.appspot.com/task?id=350c1a3ae1e90710&refresh=10&request_detail=true
Not sure how to explain it. I'll need to login to the bot to check what's wrong with it.

That's strange.  FWIW I deleted the CIPD cache this morning to get the issue resolved.

Can you please login to skia-e-win-025 and check SHA1 hash of c:\b\s\cipd_cache\cache\instances\6720f19ba2c618f8541da7f4eacbc32a6ed42b91 (it should be 6720f19ba2c618f8541da7f4eacbc32a6ed42b91).
Alternatively, point me to instructions how do it myself...

I'm not sure whether these machines are accessible outside of the local network.  @dogben can verify.  I don't know how to get the SHA1 sum on Windows, since I can't just do sha1sum.

You have python there. It should be easy to write a small script using hashlib module.

Okay, using hashlib.sha1 I got: e63e58397ea6f01ccad8c81a6840a722f3750673.  FTR none of the three files had hashes matching the file names.

Did you use open(..., 'rb') mode in Python? :) By default it opens files in text mode, and on Windows its important.

(If the hash really doesn't match, would it be possible to copy this file somewhere?)

Sigh. I've forgotten or repressed all of my Python and Windows experience.  Yes, with 'rb' the hashes match.

Then I'm puzzled :(
The locally cached file is not corrupt (it matches whatever was uploaded to the CIPD backend). And the file in the cipd storage is correct (I can install it locally on my machine, and other bots have no problem with it).
Most likely it's something related to this particular bot. Maybe the disk is faulty and sometimes file reads return wrong result?..


CACHE env var is ignored

Describe the bug
The line here will always produce checkCache: true ignoring whether the CACHE env var was set or not
https://github.com/divy-work/autopilot-deno/blob/a091c759a0a1857664727a79ba1e27fcfcc3b42f/plugin/index.ts#L27
To Reproduce
Use the plugin out of dev mode
Expected behavior
Take the CACHE env variable into account
Screenshots
N/A
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
Not sure if that was intentional, but I thought I'd point it out.

Thanks for pointing it out  @b-fuze
Will fix it today. You can open a PR too if you want.

@b-fuze  Fixed.


[Bitstamp] Invalid nonce errors

Keeping up with the nanotimes

this will exceed the maximum nonce value in the year 2262...
... ok, approved ;)


ExoPlayer is throwing 416 error

Question Description:
hi team, currently we are seeing users are getting download errors on our app and it is due to exoPlayer throwing 416.
So far, we cannot reproduce this issue in house. But we noticed that in cloudFront, when the 416 issue happens, we are seeing
Request/Headers/Range=bytes=108421975-
which doesn't contain length, and the position here 108421975 is one byte extra than it's actual total length. We had multiple records with 416 and they all have this same pattern.
We checked exoPlayer source code SegmentDownloader.download(...) and suspect the additional segment is being added during List<SegmentDownloader.Segment> segments = getSegments(dataSource, manifest, /* removing= */ false);, but that is just our guess. We also checked the manifest file, it also looks fine (otherwise more users would be impacted) (plz let us know if you need one of them, we can send you privately).
Could you guys take a look and let us know in what kind of circumstances that one byte extra segment would be added?
Also, another question, so our current temp fix is that right after exoPlayer merge the segments, we check the last segment to see if that is out of the bound, if it does, then we will dump that one to avoid 416. Do you guys see any potential issues for doing so?
Thanks in advance!

additional info, we are downloading mp4 Widevine content

we are downloading mp4 Widevine content

I assume this means that the main class involved is ProgressiveDownloader and not SegmentDownloader (which is used for DASH/HLS). But you also mentioned "We also checked the manifest file", so I'm not sure if it's not about DASH after all?
Internally these classes redirect to CacheWriter which only downloads the blocks of memory that are not already in  the cache. The open-ended request indicates it tries to download the 'remaining' bytes from the last cached position. I wonder if there is some problem when trying to cache media that was already fully cached (but not marked as completed with its full content length) and then the CacheWriter attempts to load the bytes starting one after the content length.
Could you try caching/downloading data that was already downloaded and/or share a typical stream involved in these errors with us? You can send it to<EMAIL_ADDRESS>and report back here once you've done that.

thanks for replying, I mean DASH file and can confirm it is using SegmentDownloader.
Unfortunately, none of us can reproduce this 416 error in house. We were only seeing some users having this issue from CloudFront requests.
We were trying to read through getSegments(dataSource, manifest, /* removing= */ false) to see any potential issue, but it is difficult for us as we also can't reproduce issue. By knowing we can't reproduce, hence no log, do you have any other suggestions?

When you provide a sample file that talks to the same CloudFront backend, we could try to reproduce that as well to test the hypothesis that something tries to download the same file again without knowing that it already has all bytes. Otherwise there is not much we can do without reproduction steps or further hints on the problem.

I had a similar problem. In my case, the root cause was a corrupted react-native-video-cache cache file. Cloudfront does not strictly follow the spec :( HttpDataSource expects the 416 response to have Content-Range: bytes */<total length> header. Cloudfront doesn't do that, unfortunately.
I've fixed it by clearing the cache.

When you provide a sample file that talks to the same CloudFront backend, we could try to reproduce that as well to test the hypothesis that something tries to download the same file again without knowing that it already has all bytes. Otherwise there is not much we can do without reproduction steps or further hints on the problem.

hi tonihei, so to clarify, what sample file would you need so I can try to send to you?  would that gonna be the manifest file that passed in here? getSegments(dataSource, manifest, /* removing= */ false)

Yes, the manifest file would be ideal if you can share it because it contains all the necessary information.

Yes, the manifest file would be ideal if you can share it because it contains all the necessary information.

hi tonihei, just attached the manifest file and sent to<EMAIL_ADDRESS>

I had a similar problem. In my case, the root cause was a corrupted react-native-video-cache cache file. Cloudfront does not strictly follow the spec :( HttpDataSource expects the 416 response to have Content-Range: bytes */<total length> header. Cloudfront doesn't do that, unfortunately.
I've "fixed" it by clearing the cache.

@ddiachkov I was taking a look at your comment and have few questions:

What is the react-native-video-cache file and where is this stored?
What do you mean when you say this cache file was corrupted?
Can you please explain your root cause and fix in more detail? It would really help us debug on our side and any help on this would be greatly appreciated, thank you!

@shanujshekhar

react-native-video-cache  is a library that we've been using to cache video files (I've switched to custom CacheDataSource caching since then).
One of the files in the cache was corrupted. It made ExoPlayer fetch extra bytes and hit Cloudfront.
ExoPlayer has a special hack for 416 response; however, it doesn't work with Cloudfront specifically because it doesn't return a header.

TLDR; with Cloudfront you're not allowed to overfetch data — the player will always throw.
As @tonihei suggested, the issue is probably somewhere in the manifest file (ie., invalid file size).

In fact, I think @ddiachkov pointed to the exact issue already that Request/Headers/Range=bytes=108421975- where the position 108421975 is one byte extra than it's actual total length is exactly the case that should have been caught by the 416 response with the Content-Range header.
When you see a caching failure (like this one), then the right course of action is probably to retry the caching from scratch. I'll close this issue under the assumption that this is a misbehaving server and that the problem can be resolved by retrying the download if needed.


Add an Iterate method to walk a tree

This is useful to dump the tree to disk and restore it for example. A
second commit would contain the generated code for the specialized
versions.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 81.215%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
147

Relevant Lines:
181

💛  - Coveralls


Map the frontend data types to the components directly where applicable.

I have began to do this in some places for bucket questions.
It is a good pattern, and I will continue to use it.


Set triage robot to dry-run

What this PR does / why we need it:
Set triage robot to dry-run mode until we have understood the github query API and how to limit it to this repository.
Which issue(s) this PR fixes:
Triage robot currently considers all repositories in the gardener org, e.g.:
https://prow.gardener.cloud/view/gs/gardener-prow/logs/ci-gardener-triage-robot-close/1491326365922758656
Special notes for your reviewer:

/kind bug

/lgtm
/approve


Code-Folding in LUA

found little bug in lua highlighting:

can be easily fixed by adding
 { 				  "OpenToken": "[[", 				  "CloseToken": "]]", 				  "RegionType": "MultiLine" 			   }
to lua highlighter json

Hmm, seems theres something more wrong...
the fix mentioned above works but adding this
{                   "OpenToken": "--[[",                   "CloseToken": "]]",                   "RegionType": "MultiLine"                }
to "SkipRegion" will be ignored.
Also the following added to FoldRegion doesn't work
               {                   "OpenToken": "--[[",                   "CloseToken": "]]"                },                {                   "OpenToken": "[[",                   "CloseToken": "]]"                }
Would love to get the same behaviour as in notepad++ :-)))

Fixed.


Fix spelling of US/AK Seward's Day

https://doa.alaska.gov/dof/payroll/resource/calendar2022-holiday.pdf
https://en.wikipedia.org/wiki/Seward's_Day

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.0001%) to 98.91%

Totals

Change from base Build<PHONE_NUMBER>:
-0.0001%

Covered Lines:
6174

Relevant Lines:
6191

💛  - Coveralls

Released on beta.. Thank you very much! 👍


Media Library upload fails when iconv does not support transliteration

Hi, im trying to upload images im facing this problem:
{ "type": "ErrorException", "message": "iconv(): Wrong charset, conversion from `UTF-8' to `ASCII//TRANSLIT' is not allowed", "file": "/home/vendor/area17/twill/src/Helpers/media_library_helpers.php", "line": 28 }

it certainly has something to do with my environment.. as im running php inside an alpine linux docker container, i do have all necessary "laravel" dependencies installed. including the iconv extension, but yet it doesnt seem to work on an alpine linux, the hacks i have seem online seens very insecure to have set in a production server later.. this issue is all caused due to this function:
function replaceAccents($str){
  return iconv('UTF-8', 'ASCII//TRANSLIT', $str);
}

my quickly workaround is to redefine this function, perhaps consider using http://php.net/manual/en/class.transliterator.php with intl extension to do these accent replacement?

More on this- I get a similar error on the same line. While on OSX, if i input a filename with accents or the "ñ" character, i get this exception. "type": "ErrorException", "message": "iconv(): Detected an illegal character in input string", "file"... etc
I tested the iconv() function on itself, hardcoding strings with those same characters (on a visual aspect) seem to generate no exceptions. Then I analyzed the strings giving me issues against those without issues and found that THESE are the guity characters:
́ | U+0301 | COMBINING ACUTE ACCENT
̃ | U+0303 | COMBINING TILDE
I'm guessing there's an issue in general with combining characters and the vicon() function. Since characters like "U+00F3 | LATIN SMALL LETTER O WITH ACUTE" are replaced without any issue.

Closing this as there hasn't been any activity in a long time. If you are still looking for a fix for this, feel free to let us know.

Updating this for future reference. A possible fix was found by @FourStacks on Discord :
if (!function_exists('replaceAccents')) {
    /**
     * @param string $str
     * @return bool|string
     */
    function replaceAccents($str)
    {
        return mb_convert_encoding($str, 'ASCII', 'UTF-8');
    }
}

https://discord.com/channels/811936425858695198/811986149064441927/918893543999807590

@pboivin , you saved my life. Mega-Thanks!

It would be rally nice if the maintainers would replace iconv with mb_convert_encoding. It's been 4 years and mbstring is a required extension for Laravel anyway.


Fix error printing in no-args case.

Should not be stripping error messages for mandatory arguments
when running without help.

It is a pretty common CLI idiom to just show usage texts when there's no input. cut, awk, and git all behave like this for example.
But if it's causing you an issue somewhere then sure.


Seems aggressive on resources - no docs on priority or acceptable delays?

After running this module, with great satisfaction functionality-wise, I am seeing some aggressive logs, showing me that the module is requesting stuff on the network quite often.
These are some random lines of the log:
[2019-09-08 18:45:37.638] [info    ] [tid 11950] [BlobInterface.cc:1285] [ListBlobsInOrder] ListBlobsInOrder completed. Container:photostorage BlobEntryCount:0 NextBlobName:null
[2019-09-08 18:45:38.640] [info    ] [tid 11948] [BlobInterface.cc:1253] [ListBlobsInOrder] ListBlobsInOrder received. Container:photostorage BlobNameStart:null MaxBlobNames:1 OrderType:0 Flags:1
[2019-09-08 18:45:38.643] [info    ] [tid 11948] [BlobInterface.cc:1285] [ListBlobsInOrder] ListBlobsInOrder completed. Container:photostorage BlobEntryCount:0 NextBlobName:null
[2019-09-08 18:45:39.646] [info    ] [tid 11948] [BlobInterface.cc:1253] [ListBlobsInOrder] ListBlobsInOrder received. Container:photostorage BlobNameStart:null MaxBlobNames:1 OrderType:0 Flags:1
[2019-09-08 18:45:39.647] [info    ] [tid 11948] [BlobInterface.cc:1285] [ListBlobsInOrder] ListBlobsInOrder completed. Container:photostorage BlobEntryCount:0 NextBlobName:null

In my case, a poll every 5 seconds would be enough. Is there any way to ease this up?

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

ID: 07a44a28-a19c-f68e-167c-5e8ad91605e0
Version Independent ID: 33eacdff-4f0a-c543-d8f9-e7b208bab015
Content: Store block blobs on devices - Azure IoT Edge
Content Source: articles/iot-edge/how-to-store-data-blob.md
Service: iot-edge
GitHub Login: @arduppal
Microsoft Alias: arduppal

@njbuch Thank you for the detailed feedback. We are actively investigating and will get back to you soon.

@njbuch The module is polling on local database to get a list of modified blobs for upload. You can adjust the interval through "normalWorkIntervalSeconds" property under "deviceToCloudUploadProperties". We haven't documented the settings for fine-tuning yet.

Thanks for clarification. Will see of things eases up a little on this.


ion-infinite-scroll doesn't work inside ion-scroll (ion-scroll doesn't fire scrolling events)

Ionic version:  (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[x] 3.x
[ ] 4.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
Current behavior:
ion-scroll component doesn't fire scroll events, this affects functionality which is dependent on them (e.g. ion-infinite-scroll inside ion-scroll doesn't work).
Expected behavior:
ion-infinite-scroll works inside ion-scroll
Steps to reproduce:
Please check code below:
Related code:
<ion-content>
  ... // some dynamic non-scrollable content

  <ion-scroll scrollY="true">
    <ion-infinite-scroll (ionInfinite)="loadMore($event)" position="top">
      <ion-infinite-scroll-content></ion-infinite-scroll-content>
    </ion-infinite-scroll>

    <div>
      <custom-component *ngFor="let message of messages" [message]="message"></custom-component>
    </div>
  </ion-scroll>
</ion-content>

Other information:
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.9.2
    ionic (Ionic CLI) : 3.9.2

global packages:

    Cordova CLI : 7.1.0

local packages:

    @ionic/app-scripts : 3.1.5
    Cordova Platforms  : none
    Ionic Framework    : ionic-angular 3.9.2

System:

    ios-deploy : 1.9.2
    Node       : v6.11.5
    npm        : 3.10.10
    OS         : macOS Sierra
    Xcode      : Xcode 9.2 Build version 9C40b

https://stackoverflow.com/questions/48019693/ion-infinite-scroll-not-working-inside-ion-scroll?rq=1


Added initialized prop

Fixes #2901.
Although this does add an additional form rerender. It will only ever happen once during the form's lifecycle.

Codecov Report

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

@@          Coverage Diff           @@
##           master   #2904   +/-   ##
======================================
  Coverage     100%    100%
======================================
  Files          67      67
  Lines        1410    1410
======================================
  Hits         1410    1410

Impacted Files
Coverage Δ

src/createReduxForm.js
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Published as v6.7.0.


muzika: init at unstable-2023-06-07

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Just build this locally and music playback is not working. Clicking on any song on the startpage produces
Gjs-Console-Message: 15:49:40.576: Error:  {} ../gst/playback/gsturidecodebin.c(1487): gen_source_element (): /GstPlayBin:player/GstURIDecodeBin:uridecodebin1
Gjs-Console-Message: 15:49:40.596: Error:  {} ../gst/playback/gsturidecodebin.c(1487): gen_source_element (): /GstPlayBin:player/GstURIDecodeBin:uridecodebin2

and then clicking the play button again results in
(com.vixalien.muzika:466746): Gjs-CRITICAL **: 15:49:48.575: JS ERROR: Error: Failed to play
play@resource:///com/vixalien/muzika/js/main.js:18828:13
play_pause@resource:///com/vixalien/muzika/js/main.js:18853:12
activate@resource:///com/vixalien/muzika/js/main.js:18775:16
main@resource:///com/vixalien/muzika/js/main.js:19264:14
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
@file:///nix/store/qrmvzpaklrnilnx1x6mc4cjyy6h6mc3j-muzika-unstable-2023-06-07/bin/.com.vixalien.muzika-wrapped:23:40
@file:///nix/store/qrmvzpaklrnilnx1x6mc4cjyy6h6mc3j-muzika-unstable-2023-06-07/bin/.com.vixalien.muzika-wrapped:29:6

Also Preferences in the burger menu is grayed out for me.

Just build this locally and music playback is not working. Clicking on any song on the startpage produces
Gjs-Console-Message: 15:49:40.576: Error:  {} ../gst/playback/gsturidecodebin.c(1487): gen_source_element (): /GstPlayBin:player/GstURIDecodeBin:uridecodebin1
Gjs-Console-Message: 15:49:40.596: Error:  {} ../gst/playback/gsturidecodebin.c(1487): gen_source_element (): /GstPlayBin:player/GstURIDecodeBin:uridecodebin2

and then clicking the play button again results in
(com.vixalien.muzika:466746): Gjs-CRITICAL **: 15:49:48.575: JS ERROR: Error: Failed to play
play@resource:///com/vixalien/muzika/js/main.js:18828:13
play_pause@resource:///com/vixalien/muzika/js/main.js:18853:12
activate@resource:///com/vixalien/muzika/js/main.js:18775:16
main@resource:///com/vixalien/muzika/js/main.js:19264:14
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
@file:///nix/store/qrmvzpaklrnilnx1x6mc4cjyy6h6mc3j-muzika-unstable-2023-06-07/bin/.com.vixalien.muzika-wrapped:23:40
@file:///nix/store/qrmvzpaklrnilnx1x6mc4cjyy6h6mc3j-muzika-unstable-2023-06-07/bin/.com.vixalien.muzika-wrapped:29:6

Also Preferences in the burger menu is grayed out for me.

also had issues with playback and changed buildInputs to
  buildInputs = [
    gjs
    glib-networking
    gst_all_1.gst-plugins-base
    gst_all_1.gstreamer
    gst_all_1.gst-plugins-base
    gst_all_1.gst-plugins-good
    gst_all_1.gst-plugins-bad
    gtk4
    libadwaita
    libsoup_3
  ];

Not sure which codecs are required but with this it is working for me. This app is in early development so I guess it is fine that some things are not implemented yet.

Confirmed, basic playback is working now :)

Thank you for testing :)


feat: add widget schema

This allow to handle widget in apps.

fix https://github.com/lenra-io/server/issues/72

:tada: This PR is included in version 1.0.0-beta.45 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-fix-doc-release.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-test-ci.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-alpha.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


How to download on iOS

Is there a way to download on iOS by sideloading the IPA?

currently, there is no build for iOS.
you need a special Apple tool, Xcode, to build the app for iOS and Xcode can only be installed on Mac platforms. – it cannot be installed on Windows or Linux.

Hey there. There’s a website that automatically builds the IPA for you without needing XCode. It’s called https://codemagic.io/
Check it out.

It's a CI/CD pipeline that can build app but every time I get some error I will need push code to remote then wait for the build and repeat.
I don't think it can help in local development.

Hello friend please ipa vega.app ios
It gives an error when installing the project in Xcode the app Vega.app and I have an iPad Pro iOS version

try deleting the ios folder and regenerate with npx expo prebuild --clean

I get this in xcode the vega movies app ios version ipad pro has many problems the ios version to install vega-app opens a solution to be able to install vega-app  the ios version

have you tried regenerating ios files using command npx expo prebuild --platform ios

have you tried regenerating ios files using command npx expo prebuild --platform ios

have you tried regenerating ios files using command npx expo prebuild --platform ios

If you are using expo you can use their cloud build for free

If you are using expo you can use their cloud build for free

that cant build but still I have to test locally on the dev server to fix all errors that are going to occur because in many places I have used Android specific libraries and code


Feat: Create Components Page

Hey,
I hope I did everything correctly :) If not please let me know :)

Hey @cstrnt
Thank you for wanting to contribute.
Changes should however be made to the staging branch instead :)

I'll create a new PR then :)


EOF detected; Failed to receive packet of size 4

Microsoft Windows [Version 10.0.22621.2134]
d:\cdc>cdc_rsync.exe -vn c:\temp\* c:\tmp\
Port 6468: Server is listening
3 file(s) and 0 folder(s) found
EOF detected; Failed to receive packet of size 4; Failed to receive packet; Message pump thread is down; Failed to dequeue packet; Failed to receive SetOptionsRequest; Failed to receive options

Help!!!


Provide environment information to Jedi

Fixes #1445
Fixes #1469
Fixes #1460
This pull request:

[x] Has a title summarizes what is changing
[n/a] Includes a news entry file (remember to thank yourself!)
[n/a] Has unit tests & code coverage is not adversely affected (within reason)
[n/a] Works on all actively maintained versions of Python (e.g. Python 2.7 & the latest Python 3 release)
[n/a] Works on Windows 10, macOS, and Linux (e.g. considered file system case-sensitivity)

Vry clever. Write a NOT fixed issue #1462 as fixed and link to something different. FYI "python.autoComplete.extraPaths" DOESN'T WORK.