Can't open vscode and it will flashback without anything

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.79.2
OS Version: Windows 10 Enterprise 22H2

Steps to Reproduce:

In CMD I use the instruct:
cd C:\Program Files\Microsoft VS Code (the road vscode install)
C:\Program Files\Microsoft VS Code>code
It will open and flashback with the error report:
[main 2023-06-16T05:15:52.896Z] update#setState idle
[3204:0616/131553.294:ERROR:electron_api_utility_process.cc(123)] Failed to create null handle: System cannot find the specified file. (
0x2)
3.except this, system work right, such chrome and visual studio.And the GPU drive is latest.
4.I have tried --no-sandbox,it no use.
And I also uninstall vscode many times, delete that two directories to deeply clear.

I install the 1.16.1 version and it can work...

Does the issue repro with insiders https://code.visualstudio.com/insiders when you launch with --no-sandbox --disable-gpu-sandbox ?

C:\Program Files\Microsoft VS Code>code --no-sandbox --disable-gpu-sandbox
yes in 1.79.2, with the same error.
[main 2023-06-16T08:43:29.008Z] update#setState idle
[11688:0616/164329.403:ERROR:electron_api_utility_process.cc(123)] Failed to create null handle: System cannot find the specified file. (0x2)

The above output is from the stable version, please download the insiders version https://code.visualstudio.com/insiders and try the steps again.

ok
C:\Program Files\Microsoft VS Code Insiders>code --no-sandbox --disable-gpu-sandbox
it still can't open and return this:
1: 00007FF75B1816D6 node::Buffer::New+47862
2: 00007FF75B171F63 node::InitializeNodeWithArgs+2451
3: 00007FF7596FD977 cppgc::internal::SameThreadEnabledCheckingPolicyBase::SameThreadEnabledCheckingPolicyBase+68775
4: 00007FF75952CF19 std::Cr::vector<v8::CpuProfileDeoptFrame,std::Cr::allocatorv8::CpuProfileDeoptFrame >::vector<v8:
CpuProfileDeoptFrame,std::Cr::allocatorv8::CpuProfileDeoptFrame >+63385
5: 00007FF75D28F4B2 cppgc::internal::WriteBarrier::DijkstraMarkingBarrierRangeSlow+6887906
6: 00007FFD84F27614 BaseThreadInitThunk+20
7: 00007FFD859A26F1 RtlUserThreadStart+33

and without --no-sandbox --disable-gpu-sandbox return the same info

C:\Program Files\Microsoft VS Code Insiders>code --no-sandbox --disable-gpu-sandbox

There should not be a code executable but rather code-insiders --no-sandbox --disable-gpu-sandbox. Is that typo on your end ? Please attach the crash dump for insiders following the steps at https://github.com/microsoft/vscode/wiki/Native-Crash-Issues#creating-a-crash-report

thx,
1.I have tried code-insiders --no-sandbox --disable-gpu-sandbox ,and it return is same with code
2.now give you 1.72.2 report.
3.I will try insiders version in minutes

C:\Program Files\Microsoft VS Code>code --crash-reporter-directory C:\Program Files\Microsoft VS Code
report1.79.2.zip

C:\Program Files\Microsoft VS Code Insiders>code-insiders --crash-reporter-directory C:\Program Files\Microsoft VS Code Insiders

C:\Program Files\Microsoft VS Code Insiders>code-insiders --no-sandbox --disable-gpu-sandbox

It can't work?
return this same with i want to open it:
1: 00007FF6490116D6 node::Buffer::New+47862
2: 00007FF649001F63 node::InitializeNodeWithArgs+2451
3: 00007FF64758D977 cppgc::internal::SameThreadEnabledCheckingPolicyBase::SameThreadEnabledCheckingPolicyBase+68775
4: 00007FF6473BCF19 std::Cr::vector<v8::CpuProfileDeoptFrame,std::Cr::allocatorv8::CpuProfileDeoptFrame >::vector<v8:
CpuProfileDeoptFrame,std::Cr::allocatorv8::CpuProfileDeoptFrame >+63385
5: 00007FF64B11F4B2 cppgc::internal::WriteBarrier::DijkstraMarkingBarrierRangeSlow+6887906
6: 00007FFD84F27614 BaseThreadInitThunk+20
7: 00007FFD859A26F1 RtlUserThreadStart+33

Related on Stack Overflow: VS Code opening the window to the app, but doesn't show anything and immediately closes. How to fix?

Can you check if the issue persists with latest insiders v1.83 which comes with an updated version of the runtime. Thanks!

C:\Program Files\Microsoft VS Code Insiders>code-insiders --no-sandbox --disable-gpu-sandbox
C:\Program Files\Microsoft VS Code Insiders>code-insiders
both return this:
1: 00007FF79EF45C46 node::SetTracingController+80086
2: 00007FF79EF659C5 node::InitializeOncePerProcess+1141
3: 00007FF79D52F6DF cppgc::internal::SameThreadEnabledCheckingPolicyBase::SameThreadEnabledCheckingPolicyBase+66383
4: 00007FF79D35546E std::Cr::vector<v8::CpuProfileDeoptFrame,std::Cr::allocatorv8::CpuProfileDeoptFrame >::vector<v8:
:CpuProfileDeoptFrame,std::Cr::allocatorv8::CpuProfileDeoptFrame >+59806
5: 00007FF7A12A5402 v8_inspector::String16::String16+8108978
6: 00007FFA5D407614 BaseThreadInitThunk+20
7: 00007FFA5EA826B1 RtlUserThreadStart+33
and it still flash back using version 1.83...

Please attach the crash report using the following command, replace <username> with actual value according to your system

C:\Program Files\Microsoft VS Code Insiders\bin\code-insiders.cmd --crash-reporter-directory C:\Users\<username>\AppData\Local\Temp\vscode-crash

Also attach the output of C:\Program Files\Microsoft VS Code Insiders\bin\code-insiders.cmd --verbose

Do you have any environment variables beginning with ELECTRON_ set on the user or the system environment ?

I cheak all user and system variables and it's all right without name ELECTRON_,in addition I reinstall c++ running environment ,it doesn;t work.;
I can't see any '.dmp',because system without the folder C:\Users\Administrator\AppData\Local\Temp\vscode-crash .
Another applications base on Electron like Obsidian, it can work using new versions, seems only vscode new varsion has problem....,still I use the v1.61 to work.

Can you run the following instead and attach the output,
C:\Program Files\Microsoft VS Code Insiders>$env:ELECTRON_RUN_AS_NODE=1
C:\Program Files\Microsoft VS Code Insiders>.\code-insiders.exe --ms-enable-electron-run-as-node

C:\Program Files\Microsoft VS Code Insiders>$env:ELECTRON_RUN_AS_NODE=1
this commend return
The file name, directory name, or volume label syntax is incorrect.
C:\Program Files\Microsoft VS Code Insiders>Code - Insiders.exe --ms-enable-electron-run-as-node
and this commend return:
Warning: 'ms-enable-electron-run-as-node' is not in the list of known options, but still passed to Electron/Chromium.
Reading from stdin via: C:\Users\Administrator\AppData\Local\Temp\code-stdin-omm

I try to open the folder  C:\Users\Administrator\AppData\Local\Temp\code-stdin-omm
System alert me that this folder doesn't exist.

Sorry I missed to mention, those commands should be run from powershell and not cmd prompt.

with same wrong..no clue

Thanks, this isolates the issue to the Node.js runtime. We will need crash dump to analyze the issue further since the above stack might not be correct. Can you try the steps below,

Follow https://learn.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps to enable collecting user mode crash dumps

You only need to set DumpType key with value 2, the other keys can have their default values

Restart your device
Perform the steps in https://github.com/microsoft/vscode/issues/185298#issuecomment-1710950800 again, once it crashes you should have dumps in %LOCALAPPDATA%/CrashDumps folder.
Send them to<EMAIL_ADDRESS>do not attach the crash dump file in this issue since they contain PII data.

On another note, are you able to install and run Node.js v18.17.1 from https://nodejs.org/en/download on your device without any issues ?

C:\Users\Administrator\AppData\Roaming\Code - Insiders\Crashpad\reports
in this folder finds many .dmp files. I attach it here.
reports.zip

On another note, are you able to install and run Node.js v18.17.1 from https://nodejs.org/en/download on your device without any issues ?

I check node.js,it's ok,like command node --version.

Thanks, this isolates the issue to the Node.js runtime. We will need crash dump to analyze the issue further since the above stack might not be correct. Can you try the steps below,

Follow https://learn.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps to enable collecting user mode crash dumps

You only need to set DumpType key with value 2, the other keys can have their default values

Restart your device

Perform the steps in Can't open vscode and it will flashback without anything #185298 (comment) again, once it crashes you should have dumps in %LOCALAPPDATA%/CrashDumps folder.

Send them to<EMAIL_ADDRESS>do not attach the crash dump file in this issue since they contain PII data.

I have changed the regedit and set it to the link's ask,but %LOCALAPPDATA%/CrashDumps folder is't exist.

OK,thanks,there is another issue about browser edge.It can't update with the wrong "Error while checking for updates: Unable to create the component (error code 3: 0x80040154 -- system level)".I don't know is this issue link with this problem?Though the Edge still work.
STEPS.pdf

Edge issue is unrelated, can you share a screen recording of the steps you have tried for https://github.com/microsoft/vscode/issues/185298#issuecomment-1710972153.

https://github.com/microsoft/vscode/assets/136782690/60e32213-6632-465e-93b7-802e9a0b5b29
https://github.com/microsoft/vscode/assets/136782690/85a92793-9a86-46e2-9af0-a0069242fde2
folder CrashDumps has another application's .dmp

Thanks for the screen share, the crash settings look good. To clarify, you don't see any dmp files generated for VS Code in %LOCALAPPDATA%/CrashDumps after attempting the steps in second video ?
C:\Program Files\Microsoft VS Code Insiders>$env:ELECTRON_RUN_AS_NODE=1
C:\Program Files\Microsoft VS Code Insiders>.\code-insiders.exe --ms-enable-electron-run-as-node

Thanks for the screen share, the crash settings look good. To clarify, you don't see any dmp files generated for VS Code in after attempting the steps in second video ?%LOCALAPPDATA%/CrashDumps
C:\Program Files\Microsoft VS Code Insiders>$env:ELECTRON_RUN_AS_NODE=1
C:\Program Files\Microsoft VS Code Insiders>.\code-insiders.exe --ms-enable-electron-run-as-node

yes,only has another one instead of vscode (same as first video).

@Ambit15 Accodring your error logs:

[3204:0616/131553.294:ERROR:electron_api_utility_process.cc(123)] Failed to create null handle: System cannot find the specified file.

It's reported from electron source code here:
https://github.com/electron/electron/blob/e61359598214399cab97ca6a8ad541983059c331/shell/browser/api/electron_api_utility_process.cc#L123C25-L123C55
And you see, If electron run on windows and need utilityProcess, it's need the NULL kernel service to  run correctly。 but it seems that your windows system was missing it.
You can check it by run sc command by using cmd.exe:
sc query null

it produce the output like this:
SERVICE_NAME: null
        TYPE               : 1  KERNEL_DRIVER
        STATE              : 4  RUNNING
                                (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0

if you don't have this service, you can create it by following command:
sc create null binPath= C:\Windows\System32\drivers\null.sys type= kernel start= auto error= normal

But you need make sure the file C:\Windows\System32\drivers\null.sys exists。 you can download it by using google search or from another windows machine with same version.

@shellvon
That's Great! I restart this service and vscode finally can be used.
It seems that the service has shot down by a error.
Thank you for your answer.
sc query null
sc create null binPath= C:\Windows\System32\drivers\null.sys type= kernel start= auto error= normal


Server not working, auth fails and nothing appears on screen after starting the project.

I believe this is down to an API change. I'd say you will have to get the attention of @callum-oakley, @minaorangina or @mdpye. I have updated my personal projects but haven't got permission to update this one.


Get FilePath in a new rule.

Hi,
I wont to get current file path to determine if this file is a job. ( is placed in a schedule folder )
Where is stored that info? in context.getFileName()?

Yes that should get you there
On Thu, Nov 22, 2018 at 3:00 AM Vintic<EMAIL_ADDRESS>wrote:

Hi,
I wont to get current file path to determine if this file is a job. ( is
placed in a schedule folder )
Where is stored that info? in context.getFileName()?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cflint/CFLint/issues/604, or mute the thread
https://github.com/notifications/unsubscribe-auth/AFtZu0WZbBQ5UBIjohQtXNvTQbdTtv83ks5uxlmwgaJpZM4Yu1O7
.


jofrance-addADElimitationSSECMK

added a limitation of combining ADE + SSE CMK

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

@jofrance Thanks for incorporating the changes! It looks good to me now so:
#sign-off


⚠ Bofrost.at has degraded performance

In 26c9f6c, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2163 ms

Resolved: Bofrost.at performance has improved in 9ccc1fb.


fix(ui): delete avatar

Description
When removing an avatar from an assistant, the sveltekit backend was not actually deleting the avatar image from Supabase storage.
BREAKING CHANGES
CHANGES
Corrects the file path and adds a Row Level Security policy that allows users to delete their own avatars.
The 0.7.2 migration that was modified was edited because there was a duplicate policy.
Checklist before merging

[X] Tests, documentation, ADR added or updated as needed
[X] Followed the Contributor Guide Steps

@YrrepNoj , Gato has the migration in this PR: https://github.com/defenseunicorns/leapfrogai/pull/985
tagged as v0.11.1, should I update this PR to match?


auto-migration tool for Pydantic V2

@dmontagu and I were just talking about making migration to V2 as easy as possible.
Some things will be complicated, but others should be mechanical, e.g. renaming methods dict() to model_dict() etc.
When I spoke to the team from sourcegraph last week, @jdorfman mentioned that they had a tool for fixing entire codebases. Would it be possible to collaborate with sourcegraph to make this available for anyone upgrading pydantic?
Alternatively, I think someone was talking on twitter about a tool to apply transforms to code, @adriangb do you remember who it was? Could it have been @Kludex?

@samuelcolvin we (@beyang and I) will work on getting you a cloud account. That way you can run batch changes and save time.

Maybe because of https://github.com/Kludex/bump-testclient.
I'm always looking for excuses to build codemods. :sweat_smile:
Do you have the transformations that need to happen already? I can create a repo, you create an issue with the cases needed, and I can build it.

Yes, that was it!
Let us do some digging and come up with a list of transforms. I'll reply here when things have settled a little and we have a list.

Absolutely, we'll definitely have a thorough migration guide.

Perhaps the work going on in #5016 could inform this. There are a lot of scenarios we need to pick out with someone with the SME knowledge of where these objects will now reside or what the alternative is

Is there any way others could upgrade their code using your tool, or does that require a sourcegraph cloud account?

Yes, I can invite anyone you need to your org. Hopefully it isn't too late.

Will it be publicly available for any pydantic user to leverage?

@ghandic Batch Changes will be only available for project maintainers i.e. anyone who has write access to the repo.

I think the requirement for this is for users in general, similar to the work @Kludex did for starlette to allow users to migrate with a simple command.
Give the widespread usage of pydantic there will be many users who could take advantage of the auto migration

@ghandic oh, I see.

similar to the work @Kludex did for starlette to allow users to migrate with a simple command.

Can you please give me some more context?

The migration from v1 to v2 has many breaking changes
Some of which can be handled automatically, such as moving files/function names.
@Kludex shared the link above https://github.com/Kludex/bump-testclient for how he made an automigration tool for Starlette
I'd imagine it could get to quite a sizable migration tool for this v1->v2 change so if source graph had some open tooling or free tiers that could achieve this then it could benefit a large community of Python developers

@jdorfman maybe we can offer a sign-up mechanism that makes this easy for users to run this across open source?

@brendanator and I were chatting a bit about this during PyCon and I think we (@sourcery-ai) should be able to help provide automated fixes for most of these breaking changes in V1 -> V2.
We can make a series of rules/automated transformations for each of these breaking changes and make them available to anyone through our CLI and set it up so you don't need an account/login to apply these changes.
But, also don't want to step on any toes if @Kludex already has this covered! Let me know if this would be helpful

https://github.com/pydantic/bump-pydantic is available to help on the migration process. :)


Added "Resolution" section

Added "Resolution" section with the first analysis action.

@tedhudek - This PR is ready to head up to Master/Live when you have a minute.


VSCode hangs when doing a callback of a base64 image

VSCode Version: 1.18.1
OS Version: W10
Node version 4.5.0

Steps to Reproduce:

Using VSCode to debug a Node Express.js app
I have an image of 84kb, 1600x900px
Using node extension "base64-img"
Convert a locally stored image to base64 like: base64Img.base64Sync(imagePath);
Push the base64 value into an array
Callback it to parent function and VS Code hangs

Reproduces without extensions: Yes

What version of node are you using?

v4.5.0

node v4.5 only supports the "legacy" debugging protocol which results in severe performance problems when debugging large arrays. So the problem you are seeing is probably not really a "hang" but just node.js being busy shuffling the array data around.
I suggest to use a more recent version of node.js, e.g. node versions >= 8.0.
These versions support the "inspector" protocol which should no longer have this problem.
If you cannot upgrade to node v8.x, you can try node versions >= 6.3 and < 8.0.
These versions support both the "legacy" and the "inspector" protocol.
Since "legacy" is the default, please add a "protocol": "inspector" to your launch config to force use of the "inspector" protocol.

If I use the inspector in my launch options, it tells me node: bad option: --inspect=29767 when doing node --inspect=29767 --debug-brk app.js

Yes, as I explained above support for the "inspector" protocol starts with node 6.3.
So, the v4.5.0 version you are using does not support it.
Since you are running node on Windows, I even suggest to upgrade to node.js v6.9 since earlier versions of node are unstable on Windows.
Please read our doc about this: https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_supported-nodelike-runtimes
And please note: node versions < 8.0 are not receiving any security updates.


Default values are saved into instances

Godot version:
3.1 a16dc807e535969f041667442b328232bba0cf3e
OS/device including version:
macOS 10.12.1
Issue description:
Default value of a script property is saved into the node that has the script attached. This leads to the problem that if you change the default value in the script, it is left as is in the existing nodes, even if you did not modify the value for the instance.
The behaviour was different in 3.0 - default values were not saved in the .tscn file, so if you changed them in the script, they got updated where needed.
Steps to reproduce:

Create a script that exports a property, for example

extends Control
export(int) var some_property = 0

Create a node and attach the script to it, save scene with the node.
Close the scene.
Modify value in the script from 0 to 42.
See that the value in the node was not updated.

Reminds me of something in #18660, where resaving the scene would undefine the default properties in the child instances (see last 2 repro steps)

This sounds like a bug to me, can anyone create a simple to use testcase and do bisecting?

What's most annoying is that due to this issue null values are also saved into scene, so if you have code in _init that sets the values, they will turn into null afterwards.

I tried a commit from Aug 27 2017 (27c142a57b01b7bf8b097b89fc71b2462fa3c903) and some other commits in between, but the issue is still there. So either there was a brief period where it worked as expected (and I think there was...) or it actually never worked properly.

closed via 6e5872b70

I just realized something, to raise awareness:
While I indeed like this change, it means changing default values will break compatibility.

Didn't it already break compatibility before? Your script could expect that calling new on some class sets certain defaults, so if they change, the expectation is broken.

When you create objects dynamically yes, changing default value breaks that anyways. But since this issue is about scenes, I was mentionning that it breaks it here too now, where code is not always involved :p

True, but it was always a breaking change, so I don't think much has changed with regards to how default value changes should be approached. But yes, now they will break even more things.


Don't show Test Pane on tests run

Clear and concise description of the problem
As a developer using Vitest, I don’t want the test pane to open when I run tests (by clicking the run button in a test file or a sidebar), so that the editor window stays less cluttered.
Examining test failures can be done without the test pane opening by clicking on the failed test.
Suggested solution
Add an option to the extension settings to allow the test pane to be hidden during test runs.
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

You can disable it in the config: https://github.com/vitest-dev/vscode/discussions/365

You can also enable "continues run" by clicking on the eye in the tree - this will rerun tests automatically and won't open a Test Pane when it reruns them.


add more unit tests

there are some unit tests now, but it would be good to add more, and improve the code coverage.

At 95%


Favicon

@vanishasamriddhi I'm closing this PR, if there are new changes make them in the existing PR I have commented on!


Check failed: error == cudaSuccess (30 vs. 0)  unknown error

I'm not sure what is causing this error:
I am using your AMI, and I ran git pull in the style_transfer directory.
Loading VGG16_SOD_finetune.caffemodel.
WARNING: Logging before InitGoogleLogging() is written to STDERR
E1026 21:52:14.375412  1926 common.cpp:113] Cannot create Cublas handle. Cublas won't be available.
E1026 21:52:14.379542  1926 common.cpp:120] Cannot create Curand generator. Curand won't be available.
F1026 21:52:14.386206  1926 cudnn_conv_layer.cpp:52] Check failed: error == cudaSuccess (30 vs. 0)  unknown error
*** Check failure stack trace: ***

Loading vgg19.caffemodel.
WARNING: Logging before InitGoogleLogging() is written to STDERR
E1026 21:53:59.387698  1934 common.cpp:113] Cannot create Cublas handle. Cublas won't be available.
E1026 21:53:59.392220  1934 common.cpp:120] Cannot create Curand generator. Curand won't be available.
F1026 21:53:59.400104  1934 cudnn_conv_layer.cpp:52] Check failed: error == cudaSuccess (30 vs. 0)  unknown error
*** Check failure stack trace: ***

Is it the new one? The most recent one has a bug I couldn't figure out. Things like nvidia-smi won't even work unless root runs it first. Then it'll work for ordinary users. What happens if you run nvidia-smi?

ubuntu@ip-Address:~/style_transfer$ nvidia-smi 2>&1 | tee ~/mylog.log

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

ubuntu@ip-Address:~/style_transfer$

Then with sudo:
ubuntu@ip-Address:~/style_transfer$ sudo nvidia-smi 2>&1 | tee ~/mylog.log

Fri Oct 28 20:54:14 2016
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 370.28                 Driver Version: 370.28                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GRID K520           On   | 0000:00:03.0     Off |                  N/A |
| N/A   27C    P0    43W / 125W |      0MiB /  4036MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

ubuntu@ip-Address:~/style_transfer$

Trying: ubuntu@ip-Address:~/style_transfer$ sudo python3  style_transfer.py  results in:
Traceback (most recent call last):
  File "style_transfer.py", line 25, in <module>
    import numpy as np
ImportError: No module named 'numpy'

I tried to get it working by installing the missing modules via Pip3:
sudo apt-get install python3-pip

sudo pip3 install numpy

sudo pip3 install image

 sudo pip3 install posix-ipc

sudo pip3 install scipy

I stopped when I saw it was missing the 'Caffe' module:
Process ForkProcess-1:
Traceback (most recent call last):
  File "/usr/lib/python3.4/multiprocessing/process.py", line 254, in _bootstrap
    self.run()
  File "/usr/lib/python3.4/multiprocessing/process.py", line 93, in run
    self._target(*self._args, **self._kwargs)
  File "style_transfer.py", line 1371, in init_model
    import caffe
ImportError: No module named 'caffe'

That's really weird... You can fix the 'caffe' error by setting the PYTHONPATH environment variable to pycaffe's build directory. It's like /home/ubuntu/caffe/python or such. I really should have a configuration file or something that sets the PYTHONPATH that users can just edit if needed...

I made a new AMI with a fixed nVidia driver: https://us-west-2.console.aws.amazon.com/ec2/v2/home?region=us-west-2#LaunchInstanceWizard:ami=ami-ad8b2dcd

The newly fixed AMI seems to work properly now.


hosted macos doesn't fire

Hi,
I have been waiting for 4 days to run my build in hosted macos mojave. i have only this one pipeline in my devops, Is it unavalibity in west europe or is it a bug?

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

ID: 99af681d-41ad-da15-0b72-08b5cd5a11ac
Version Independent ID: 2fa0df36-a437-8cbb-b019-b49b31b1e116
Content: Microsoft-hosted agents for Azure Pipelines - Azure Pipelines
Content Source: docs/pipelines/agents/hosted.md
Product: devops
Technology: devops-cicd
GitHub Login: @joebourneMS
Microsoft Alias: jobourne

@PawelHaracz Thank you for the feedback.
Unfortunately West Europe has known issues (see note under Agent IP ranges).
Have you adjusted these settings for your solution?

Please comment below if there are any further issues.


mj-button is missing title

There is no title attribute for mj-button. This would be helpful to have in order to show a long tooltip for users as well as for accessibility.
Is there a technical reason why this was not implemented?

image & social already have it so feel free to open a PR to add it on button too 👍

From which version is this functionality available? We are on 4.9.3 and I am facing an issue with adding the title attribute to the button. It doesn't show up. All other attributes are fine.


Avoid O(N^2) scan through globals during name resolution

Problem
the following code
in the resolver scans through all previous global's whenever a global is added, resulting in O(num_globals^2):
        // This check is necessary to maintain the same definition ids in the interner. Currently, each function uses a new resolver that has its own ScopeForest and thus global scope.
        // We must first check whether an existing definition ID has been inserted as otherwise there will be multiple definitions for the same global statement.
        // This leads to an error in evaluation where the wrong definition ID is selected when evaluating a statement using the global. The check below prevents this error.
        let mut global_id = None;
        let global = self.interner.get_all_globals();
        for global_info in global {
            if global_info.ident == name
                && global_info.local_id == self.path_resolver.local_module_id()
            {
                global_id = Some(global_info.id);
            }
        }

Happy Case
Store global variables in a set or (hash)map to allow looking them up quickly
Project Impact
Nice-to-have
Impact Context
No response
Workaround
None
Workaround Description
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
None
Support Needs
No response

This code still exists in the elaborator here

@TomAFrench we should be able to remove that check I believe. As long as globals are present in the def_maps.


Additional parsing for normal blocks

Do not merge!
This is just an in-progress review to make sure I'm on the right path for deserializing SscPayload

Ugh. rustfmt made this code a bit unreadable. Sorry.

Progress on vss-certificates.
So far I can't reconstruct the map because we decided to leave vss-key (that 35 byte public-key) raw. It's supposed to corresponds to the 28 byte stakeholder-id though.

vss-signing-key [64 bytes] is supposed to correspond to the stakeholder-id [28 bytes]
(see documentation)[https://github.com/input-output-hk/cardano-sl/blob/005076eb3434444a505c0fb150ea98e56e8bb3d9/core/src/Pos/Core/Ssc/VssCertificatesMap.hs#L36-L44]

these are the blocks I'm testing the decoding & pretty-printing against
echo === four constructors of SccPayload
cargo run -- blockchain cat mainnet 35481e8ed589f800ebcbc596aaf06d0e5c55b8f6af9d8b134eef03bfdc198199
cargo run -- blockchain cat mainnet 65ce050df93f883f521ec91756393286d509886177d187c8f099e4fc3f0fb7cc
cargo run -- blockchain cat mainnet b05742df56b52c2fbdb9daba0a8d93bd9d1a8f8ff0185922f544b7234460bba6
cargo run -- blockchain cat mainnet 3d1f0f015452cb0266fdbbcc8f09a5dd144fd188f02049977314bc205ab5166f
echo == non empty vss in SccPayload
cargo run -- blockchain cat testnet f134770887ff970642f215bee0d5465e1fa8fa1f8c052c38709c42c69e1dcad5
cargo run -- blockchain cat testnet 629f3fc87e48af8739c94333eba2bbc8832e7f2ffb2688cd58cbfefade467b64
cargo run -- blockchain cat testnet 3e726761ee51a9cc0fafbe8108c9e460afb40f0ba9fd69005f8da5ea511ed073


install project dependencies

Required check list:

[x] I didn't find in the repository's issues section a similar bug.
[x] I understand, this is an Open Source and not-for-profit product.
[x] This is not about a third-party project, framework, or technology.

My environment:

Benefits of the go run command
With go run, you can use all features of the Gowebly CLI without installation to your system.
...
Describe the bug:

action:
go run github.com/gowebly/gowebly/v2@latest create
...
result:
failed to run action 'install project dependencies' in goroutine: can't execute command 'templ' with option '[generate]': exec: "templ": executable file not found in $PATH
Steps to reproduce the behavior:

...action above (go run github.com/gowebly/gowebly/v2@latest create)
...
...

Expected behavior:

definition of executable file not found
.gowebly executable?
..
?With go run, you can use all features of the Gowebly CLI without installation to your system.
Screenshots:

...
Additional context:

...

Hi, @ricklyman
Please send me the output of the gowebly doctor command.

$ gowebly doctor
✓ Your system information has been collected successfully!
│
│ Copy this information to paste into an issue ↘
│
│ Gowebly CLI: v2.3.0 (build with go1.22.0 on linux/amd64)
│
│ Go: 1.22.0 linux/amd64
│ Node.js version: not installed (npm not installed)
│ Bun version: not installed
│
│ Is Air tool installed? false
│ Is Templ package installed? false
hmmm...
https://gowebly.org/getting-started/quick-start-guide
First, download and install Go. Version 1.21 (or higher) is required.
Second, install Bun or Node.js ?

Yeah, I see what you're talking about.
Logically, the Gowebly CLI creates a full-cycle starter web application. That is, you have to have Node.js (or Bun) installed on your PC by default, otherwise how would you develop the frontend part? 🤔
So to be honest, I couldn't think that someone might not have this installed.
OK, I'll add a note about this to the documentation in upcoming versions, so there's no ambiguity in reading the recommendations.

@ricklyman updated section "Quick start guide" in docs with:

[...] You can check which of the recommended tools are already installed on your system by using the doctor utility built into the Gowebly CLI:
go run github.com/gowebly/gowebly/v2@latest doctor
If some tools are not installed, it is recommended that you install them yourself. Especially Node.js (or Bun) for building frontend parts of your application. [...]


Can't open .url files

Description
Opening a .url file (internet shortcut) does nothing
Steps To Reproduce

Create a url file
Try to open it

Expected behavior
Opens the browser with the URL in the shortcut
Files Version
2.0.38
Windows Version
Windows 11 Pro 22504.1010
Relevant Assets
debug.log
debug_fulltrust.log

Is this still an issue in the preview version? https://files.community/download/preview


Feat/air resistance

Add a working example with air resistance. Similar air resistance model to KiteModels.jl.

Can you update the comments at the top of the examples where required? Like ... with calculation of the aerodynamic drag


Move friendsofphp/php-cs-fixer to dev requirement

I guess the friendsofphp/php-cs-fixer dependency is only used for local development. Consider moving the dependency to 'require-dev'.
The packages has quite a few dependencies that pulled in. See https://packagist.org/packages/friendsofphp/php-cs-fixer

Thanks for flagging this. Fixing in https://github.com/cloudflare/cloudflare-php/pull/17


Support a docker volume update command, needed for persistent volumes

Output of docker version:
Client:
 Version:      1.12.0-dev
 API version:  1.24
 Go version:   go1.6.2
 Git commit:   ae816ba
 Built:        Wed Jun 15 07:20:09 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.0-dev
 API version:  1.24
 Go version:   go1.6.2
 Git commit:   ae816ba
 Built:        Wed Jun 15 07:20:09 2016
 OS/Arch:      linux/amd64

Output of docker info:
Containers: 1
 Running: 0
 Paused: 0
 Stopped: 1
Images: 135
Server Version: 1.12.0-dev
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 291
 Dirperm1 Supported: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local vmdk
 Network: bridge null host overlay
Swarm: inactive
Kernel Version: 3.13.0-85-generic
Operating System: Ubuntu 14.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 1.955 GiB
Name: hte-1s-eng-dhcp98
ID: H3SC:SAIV:HFHW:WYI5:WC4O:GEVQ:S6AJ:VIJ2:4CVT:UXDQ:T4GW:7MCA
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 19
 Goroutines: 26
 System Time: 2016-08-29T23:18:40.582832575-07:00
 EventsListeners: 0
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
 <IP_ADDRESS>/8

Additional environment details (AWS, VirtualBox, physical, etc.):
Steps to reproduce the issue:

Create a persistent volume specifying the volume name and driver name and with the "-o" option to specify driver specific properties of the volume
Volume is created and can be used, but there is no way to modify the attributes of the volume once its created. As a user I'm forced to delete the volume and re-create it.
Volume drivers can support features like making the volume read-only, expand the volume size (for example). None of which can be applied once the volume is created.

Describe the results you received:
Describe the results you expected:
Propose a new command "volume update" be added so container user can update volume attributes after volume creation. Its assumed the app can detect and handle the change to the volume attributes. Especially very useful for volume plugin providers to surface capabilities that are currently not feasible via docker commands.
Additional information you deem important (e.g. issue happens only occasionally):

I'm very interested in this feature. With this, volume drivers could implement features such as resizing (e.g: docker volume update -o size=30G), renaming, etc.

I think this issue is somewhat related to https://github.com/docker/docker/issues/25291

#dibs

Closing for now, per the discussion on https://github.com/docker/docker/pull/30109. https://github.com/docker/docker/issues/31923 may be relevant as well

@cpuguy83, @thaJeztah can this issue be considered again, looks like CSI doesn't support updating a docker volume for now and its going to be some time before it does and some time more before Docker gets CSI enabled plugins enabled (yess??) We have customers wanting to be able to modify existing docker volume properties and resizing is a repeated ask.
Can this issue be worked on to support a docker volume update command?


cannot import name 'open' from 'smart_open'

Gensim not working properly after updating to the latest version. Getting following error
ImportError: cannot import name 'open' from 'smart_open' (/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/smart_open/__init__.py)

I'm using Python 3.7 and Gensim 3.8.0

What's your version of smart_open?

my bad, after updating the smart_open issue is gone. But I think when someone updates the gensim, it's dependencies should be updated.

Yeah, it should. @mpenkov if we require a specific version of smart_open for Gensim to work, can we pin that in setup.py?

@piskvorky I will update the pin. It's currently >= 1.7.0, should be >= 1.8.1.

Done here: https://github.com/RaRe-Technologies/gensim/commit/f2ad5c2d7465e3ee1ee803c8f45faa81ac3f4472#diff-2eeaed663bd0d25b7e608891384b7298

can anyone know how to solve this issue？
D:\python\python.exe E:/python_app/sim_db.py
unable to import 'smart_open.gcs', disabling that module
Building prefix dict from the default dictionary ...
Loading model from cache C:\Users\815km\AppData\Local\Temp\jieba.cache
Loading model cost 0.681 seconds.
Prefix dict has been built successfully.


Automatically import and wrap all torch.optim modules

Here is a sketch of an auto-importer that could live in pyro/optim/__init__.py:
def def_wrapper(name):
    torch_optim = getattr(torch.optim, name)
    @functools.wraps(torch_optim)
    def optimizer(optim_args):
        return PyroOptim(torch_optim, optim_args)
    setattr(sys.modules[__name__], name, optimizer)

for name in dir(torch.optim):
    if issubclass(getattr(torch.optim, name), torch.optim.optimizer.Optimizer):
        def_wrapper(name)

assert 'Adam' in dir()

closing this because we just ended up doing it by hand for the time being. we can revisit this when, e.g., we consider how to accommodate optimizers with closures


Fix circular dependencies and unresolved dependency

[x] EntityUtils -> Entity -> EntityUtils
[x] Date -> IsoDateString -> Date
[ ] pg -> pg-pool -> pg
[x] PgQueryUtils -> pg-queries.ts -> PgQueryUtils
[ ] The plugin node-resolve warns about prefering built in option for string_decoder. This warning can be disabled using preferBuiltins: true option, which sounds good option. We want to prefer built-ins as much as possible.

Fixed IsoDateString problem by moving everything from there to Date.ts. This is a breaking change, unfortunately. However, it is easy to fix: Just rename import from IsoDateString to Date.

Fixed by removing pg-queries.ts, will be exportable from PgQueryUtils.ts, although this is not intended to be used outside of the code anyway.

The node-resolve issue is not related to our code, but the build environment.  I created a task to enable it by default in our project builders: https://github.com/heusalagroup/fi.hg.core/issues/68

This pg -> pg-pool -> pg issue is something that is also not related to our code. However, it probably could be fixed in Rollup since these both modules should be marked there as external and required to exist on runtime. Not sure if it works these days without marking it so (there was a bug that revented that use case).
I created another issue in the fi.hg.pg submodule for this issue: https://github.com/heusalagroup/fi.hg.pg/issues/3


refactor(execution): avoid using try from reference in declare transaction

This change is

crates/blockifier/src/transaction/account_transaction.rs line 102 at r2 (raw file):

/// This implementation of try_from clones the base transaction struct. This method's advantage is
/// that it does not clone the Casm contract class code.

No longer true.
Code quote:
/// This implementation of try_from clones the base transaction struct. This method's advantage is
/// that it does not clone the Casm contract class code.


Page build warning mail

everytime github pages republish the blog, i just keep receiving the warning mail.
just like below:
"The page build completed successfully, but returned the following warning for the master branch:
You are attempting to use a Jekyll theme, "minimal-mistakes-jekyll", which is not supported by GitHub Pages"
is that a normal case? or i have made some config mistakes somewhere?
i'm confused,please help me .

See Quick-Start Guide, the first paragraph (emphasis mine):

Minimal Mistakes has been developed as a Gem-based theme for easier use, and 100% compatible with GitHub Pages when used as a remote theme.

If you want to use this on GH Pages, you should drop the theme key from your _config.yml and use remote_theme<EMAIL_ADDRESS>

problem solved,thanks a lot!
兄弟谢了谢了


Strawberry Shake TaskCanceledException when upload multiple files

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
When trying to upload multiple files, the request is never sent to the server throw a TaskCanceledException and a timeout error appears immediately (even if the message indicates that the timeout is 100 seconds)
Method to upload files:
    private async Task UploadMultipleImagesAsync(InputFileChangeEventArgs args)
    {
        List<Upload> files = new();
        foreach (var file in args.GetMultipleFiles())
        {
            using var stream = file.OpenReadStream();
            files.Add(new Upload(stream, file.Name));
        }

        var input = new UploadMultipleImagesInput
        {
            Files = files,
        };

        var result = await GraphQLClient.UploadMultipleImages.ExecuteAsync(input);
        if (result.IsSuccessResult())
        {
            ResponseMultiple = result.Data?.UploadMultipleImages.String;
        }
    }

mutation:
mutation UploadMultipleImages($input : UploadMultipleImagesInput!) { 	uploadMultipleImages(input: $input) { 		string 	} }
Steps to reproduce

I have created a small repo to reproduce the error: https://github.com/spin973/StrawberryShake_FilesUpload

Relevant log output
Uncaught (in promise) Error: System.Exception
 ---> System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
 ---> System.TimeoutException: A task was canceled.
 ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at Microsoft.AspNetCore.Components.Forms.BrowserFileStream.OpenReadStreamAsync(CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Components.Forms.BrowserFileStream.CopyFileDataIntoBuffer(Int64 sourceOffset, Memory`1 destination, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Components.Forms.BrowserFileStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken)
   at System.IO.Stream.<CopyToAsync>g__Core|29_0(Stream source, Stream destination, Int32 bufferSize, CancellationToken cancellationToken)
   at System.Net.Http.HttpContent.<CopyToAsync>g__WaitAsync|56_0(ValueTask copyTask)
   at System.Net.Http.MultipartContent.SerializeToStreamAsyncCore(Stream stream, TransportContext context, CancellationToken cancellationToken)
   at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer)
   at System.Net.Http.HttpContent.<WaitAndReturnAsync>d__82`2[[System.Net.Http.HttpContent, System.Net.Http, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a],[System.Byte[], System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
   at System.Net.Http.BrowserHttpHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at StrawberryShake.Transport.Http.ResponseEnumerator.MoveNextAsync()
   at StrawberryShake.OperationExecutor`2.<ExecuteAsync>d__6[[System.Text.Json.JsonDocument, System.Text.Json, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51],[GraphQL.Client.IUploadMultipleImagesResult, GraphQL.Client, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null]].MoveNext()
   at StrawberryShake.OperationExecutor`2.<ExecuteAsync>d__6[[System.Text.Json.JsonDocument, System.Text.Json, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51],[GraphQL.Client.IUploadMultipleImagesResult, GraphQL.Client, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null]].MoveNext()
   at GraphQL.Client.UploadMultipleImagesMutation.ExecuteAsync(UploadMultipleImagesInput input, CancellationToken cancellationToken) in C:\VS2019\source\repos\_Temp\GraphQL.Test\GraphQL.Client\obj\Debug\net6.0\berry\GraphQLClient.Client.cs:line 704
   at GraphQL.Client.Pages.Index.UploadMultipleImagesAsync(InputFileChangeEventArgs args) in C:\VS2019\source\repos\_Temp\GraphQL.Test\GraphQL.Client\Pages\Index.razor.cs:line 53
   --- End of inner exception stack trace ---
   at GraphQL.Client.Pages.Index.UploadMultipleImagesAsync(InputFileChangeEventArgs args) in C:\VS2019\source\repos\_Temp\GraphQL.Test\GraphQL.Client\Pages\Index.razor.cs:line 63
   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
    at Object.endInvokeDotNetFromJS (https://localhost:7060/_framework/blazor.webassembly.js:1:3531)
    at Object.Rt [as endInvokeDotNetFromJS] (https://localhost:7060/_framework/blazor.webassembly.js:1:60651)
    at Object.St [as invokeJSFromDotNet] (https://localhost:7060/_framework/blazor.webassembly.js:1:60134)
    at _mono_wasm_invoke_js_blazor (https://localhost:7060/_framework/dotnet.6.0.9.rnz6vdon31.js:1:195300)
    at wasm://wasm/00971d1a:wasm-function[219]:0x1a492
    at wasm://wasm/00971d1a:wasm-function[167]:0xce60
    at wasm://wasm/00971d1a:wasm-function[166]:0xbd73
    at wasm://wasm/00971d1a:wasm-function[2815]:0xabebf
    at wasm://wasm/00971d1a:wasm-function[1619]:0x6fc80
    at wasm://wasm/00971d1a:wasm-function[1623]:0x702ed

Additional Context?
No response
Product
Strawberry Shake
Version
13.0.0-preview.63

@tobias-tengler You're right, without using it works, I have move the dispose of stream in the finally clause. Thanks.


Search for Tag doesn't work when there is a space in the Tag name

Hey Guys,
the search for tags doesn't work when there is a space in tag name.
I saw  that this issue has come up already, but haven't found a solution in the other issues.

Would be able implement the same trick that bear uses in their multitag search?
In bear I need to have the pound sign # at the beginning and the end of the search term to show that it is a multiword tag.
I guess you are using regex to parse the text. I have no idea how you set it up, but the following regex selects everything between the first and the second pound sign (including the pound signs).
/(#.*?\b#)/g
Maybe this will help.

Sure thing. I can't guarantee when I would be able to work on this but that is a reasonable solution for eliminating ambiguity.

All cool!
I had a look into the core file and it seems more complicated than changing a regex.
I'd be happy if you would have a chance to work on it.

It would be great if we could get this to work. I just installed this workflow on Bear 2 and since all of my hierarchy tags have a space in them, I can't search for any tag. Thanks for taking a look!

Implemented in #60

Thank you!!!

It is working as advertised. I know my setup may be a little different. One of my tags inlcudes a last name and first name separate by a comma ,. For example #tag/multi word/lastname, firstname#. In this case, I noticed that the debugging in Alfred showed me that it stopped at lastname. In other words, it seems the comma is being interpreted as a break EVEN THOUGH in my list of hits inside Alfred, it is showing the tag correctly. When I hit enter, it loads the tag correctly but when I perform the search in Bear with that tag, it doesn't work in THIS scenario. Other scenarios it is working just fine. Any ideas? Thanks.

I'm having trouble following what you are saying isn't working about it. When I try in a test it parses fine:
		{
			name: "multiword tag with comma",
			arg:  "#tag/multi word/lastname, firstname#",
			expected: core.Query{
				Tokens:     []string{"#tag/multi", "word/lastname,", "firstname#"},
				Tags:       []string{"#tag/multi word/lastname, firstname#"},
				LastToken:  "firstname#",
				WordString: "",
			},
		},

So what doesn't work?

Let me see if I can provide more details...
When I enter this text... bs #multi/word search... I can see the multi word tag in the list (i.e.) "#multi/word search#. If I click on "enter/return" it places that full text into the search window. I see a list of all search results that use that tag. So, this is working. Is it possible to go to that tag in Bear? When I hold down the option key, it does say "Search query in Bear" but nothing happens. If I do the same with the search results list, it DOES take me to the select note just fine. So, that too is working. I guess my question is... is it possible to do a search on the tag or go to the related tag in Bear? That way it would bring that tag into focus and I could continue in Bear at that moment. Hopefully, this helps to understand the scenario. I do appreciate your work!

Please post a screen recording of your issue (you can use QuickTime Player with File->New Screen Recording). Everything I test, including "Search query in Bear" works for multiword tags on my end.

Implemented in #60

Thank you very much! It is working on my end!

I could make a video but I think I have found that when there is an & (ampersand) in the tag name, it fails. I have searched for other tags and they all work just fine. But a multi-word tag that happens to have & seems to fail. Can you confirm? Thanks.

I can confirm that using & title names causes some strange behavior, likely because it is difficult to translate into the command URLs. I'm unlikely to go through the hassle of adding support for unusual character uses in tags as it seems like a lot of effort for a very unusual use case.

I understand. I'll review my naming convention. Thanks for your time!


I cannot change the RowsPerPage in the MudTable

Bug type
Component
Component name
MudTable
What happened?
The RowsPerPage would like to change in the MadTable.
Unfortunately it doesn't work, am I doing something wrong?
`private int start = 25;
public int RowCount
{
get { return start;}
set { start = value; }
}
protected override void OnAfterRender(bool firstRender)
{
if (firstRender)
{
RowCount = 10;
StateHasChanged();
}
}
The value remains at 25. The change is ignored`
Expected behavior
I expected the change to 10 to be applied.
Reproduction link
https://try.mudblazor.com/snippet/wuQvbubnSObUqhFd
Reproduction steps

...
Just start the example
Relevant log output
No response
Version (bug)
5.1.5
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@Tea-crtl
If you change "private int start = 25;" to 50 then 50 rows will also be displayed. So the variable sets the number of rows to be loaded in the pager.

@gismofx could you look at this example?

The RowsPerPage have two way binding. Isn't it the point if the customer wants e.g. 50 rows to be displayed in the table. If he opens the page again that this setting is set again?

@gismofx Do you remeber this problem?

@IngoManthey
Pull request and test added
#3210
https://github.com/MudBlazor/MudBlazor/pull/3210
It's in draft. I can't figure out how to get rid of the old change history.

For making it dynamic or initializing it with some initial Value, you can do something like this in the code.
Let's assume I have tableState. Now,
table.SetRowsPerPage(Math.Max(tableState.PageSize, 100));
Here 100 is the number of rows you want to initialize your table from.
Remember to remove RowsPerPage parameter from MudTable

This is what works for me


Set custom domain name for website

test-centric.org and test-centric.com should both point to the GitHub site

Now being served at test-centric.org


How to specify pom output file name?

I'm working on gradle plugin. Following is my project structure:

While I execute command gradlew -p buildSrc bintrayUpload, it raise an error:

Unable to upload files: Maven group, artifact or version defined in the pom file do not match the file path 'net/wequick/tools/build/buildSrc/0.1.1/buildSrc-0.1.1.pom'

Where the buildSrc should be gradle-small. How to fix that?
I also set rootProject.name = 'gradle-small' in the settings.gradle

Hi @galenlin,
I think that the error message you're getting is related to the issue discussed here.

Thank you for response and sorry for the typing error in title. (Hot should always be How)

@galenlin, please let us know if the fix released as part of version 1.6 and described in https://github.com/bintray/gradle-bintray-plugin/galenlinissues/81 resolves this issue as well.

@eyalbe4 Thank you sir, it works! The only problem is while I upgrade from 1.4 to 1.6, it seems to download a mess of dependencies.

@eyalbe4 Thank you sir, it works! The only problem is while I upgrade from 1.4 to 1.6, it seems to download a mess of dependencies.

Thanks for the feedback @galenlin. I'm glad it resolved the issue. What do you mean by "download a mess of dependencies"? There are a few new dependencies required by the plugin.


Added version <IP_ADDRESS> of 3DDashOnScreen

Added new version of 3DDashOnScreen and its associated SHA256 checksum.

I tested out AvaloniaSpy since dnSpy decided to die on me, and looked good with that at least.

the latest betas of ilspy do a great job


when trying to create a folder gracefully fall back when it already exists

When installing multiple packages into the same location in parallel each packages installation step tries to create the same directories (e.g. the bin folder). Currently the isdir and makedirs call are performed sequentially which makes this logic vulnerable to a race condition. The isdir call will return False but the following makedirs call will fail since the directory has been created in the meantime by another package being installed in parallel.
This patch changes the logic to use the Pythonic approach to try to create the directory and in case it already exists ignore the exception.

See #1063 for the CI failures.

@benoit-pierre Thank you for the quick pointer. With that change CI passes.

Ugh. I now I note that since this is in pkg_resources, and pkg_resources can't import setuptools, we need a new py31compat module in pkg_resources. I'll just make the changes.

I'll just make the changes.

Great, thank you for getting this fixed.
Can you please comment here with a reference to the applied change once that is done. That will allow future users to trace as of which version the fix from this PR will be available.

Should  be fixed in v36.1.0, going out now (assuming tests pass).

I took a look at the patch you committed but it seems to be incorrect: see https://github.com/pypa/setuptools/commit/925dd35ec77d4cfd79c899f34255e3a753f33ca5#commitcomment-23081646

Should be fixed in 2cd7f22eb62b413d65fe4208d66f7e2738f71a56. Release imminent.

I'm trying to figure out now what's going on with https://travis-ci.org/pypa/setuptools/jobs/253323051.

Ugh. So exists_ok had some extra complication with it before Python 3.3.6. From the docs:

Changed in version 3.3.6: Before Python 3.3.6, if exist_ok was True and the directory existed, makedirs() would still raise an error if mode did not match the mode of the existing directory. Since this behavior was impossible to implement safely, it was removed in Python 3.3.6. See issue 21082.

Seems it also affects Python 3.2 prior to 3.2.5 and Python 3.4 prior to 3.4.1.

v36.1.1 going out now.

Great, thank you.


Duplicate Access-Control-Allow-Origin

Hey, in doc_methods.rb you're defining some response headers. Is it possible to remove them, because normally i want to setup all required headers in my app or proxy server. Nginx will add a duplicate in this case, which will break all the stuff.
Please checkout these sections.
Code part 1
Code part 2

Stumbled upon this as well :)
Is there any way to remove those without monkeypatching?


Pass ANDROID_HOME to bazel command

It is a common practice to omit path in android_sdk_repository in WORKSPACE file because typically when a repository is shared between multiple persons, and they have different install location of Android SDK, it is better to rely on ANDROID_HOME environment variable to indicate the path of the sdk.
On MacOSX, when Android Studio app is started via clicking the icon in Applications folder or launchpad, the environment doesn't respect .bash_profile or .bashrc, therefore the environment variable is not set.
There are a couple of work arounds: 1) always start the app from terminal; 2) manually modify Info.plist file of "Android Studio.app": https://superuser.com/a/541068
It is nice if the plugin can do something smarter. If there is no ANDROID_HOME environment variable, when invoking the underlying bazel command, the plugin should pass it with ANDROID_HOME set to 1) sdk location in Android Studio settings; 2) "Path variables" in the Android Studio preferences.

Hello @likan999 and @omo do you still see this issue with newer versions of the plugin and the IDE?

Hi there! Thank you for raising this issue. We're doing a clean up of old issues and will be closing this one since it seems to have stalled. Please reopen if you’d like to discuss anything further. We’ll respond as soon as we have the bandwidth/resources to do so.


facial landmark detection on multiple cores

Hello,
I'm dealing with an facial landmark detection application using dlib. The application runs on an embedded board with a quad core AMRv8 CPU and also it's GPU supports OpenCL.
My problem is that the application still has a little delay in image processing, and I want to make it real-time.
The application currently runs on a single CPU core (at 100%).  Is there an option in dlib library so it could run on multiple cores, in parallel? Or did anyone edit the library to run on multiple cores?
The images from camera are 200x200 and the application still does not run in real-time.
I use the latest version of the dlib library, and I have OpenBLAS installed. The Dlib is compiled with the following cmake command:
cmake .. -DCMAKE_C_FLAGS="-O3 -fprofile-use -DENABLE_NEON" -DNEON=ON
cmake  --build . --config Release

Thanks!

There isn't any multi-core stuff. However, dlib has NEON specific execution
paths so if you enable NEON instructions it will run faster.  Also, using
profile guided optimization is a big help.  It's not clear to me from what
you posted that you have really even enabled NEON.  You should look at the
specific build commands cmake is executing and make sure it's doing what
you want.


Update CONTRIBUTING.rst with correct information

[x] Testing python versions are incorrect
[x] Add that it needs to go through Black before flake8
[ ] Probably something else

I couldn't find a "something else" at the moment.


[HOLD for payment 2024-08-02] [$125] Dupe detect - Receipt field is not disabled and green thumbnail is shown after adding receipt

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.10-2
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Break down in numbered steps
Expected Result:
Describe what you think should've happened
Actual Result:
Describe what actually happened
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/user-attachments/assets/6f56aee5-eb33-4e25-9304-67fcf677f658
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~019db4c5df08390374
Upwork Job ID:<PHONE_NUMBER>754172578
Last Price Increase: 2024-07-22
Automatic offers:

Krishna2323 | Contributor | 103212255

Issue OwnerCurrent Issue Owner: @jayeshmangwani

We think that this bug might be related to #wave-collect - Release 2

Dupe detection is behind beta so we can remove the blocker
cc @kubabutkiewicz @pecanoro @parasharrajat

@Krishna2323 Your solution does not work for me. Can you please test it and check if it works for you?
I think adding disabled={!canEditReceipt || readonly} will not work here. It will disable the navigation, and then we cannot select the receipt.

user should be not allowed to add receipt on dupe review confirmation page just like any other field.

I missed that the other fields are also disabled. I was only thinking about the empty state of the receipt.

@Krishna2323 's Proposal to disable the ReceiptEmptyState when readonly is true looks good to me
🎀 👀 🎀 C+ reviewed

ok- let's move forward with @Krishna2323  proposal, thanks!

[x] [@jayeshmangwani] The PR that introduced the bug has been identified. Link to the PR: https://github.com/Expensify/App/pull/42571
[x]  [@jayeshmangwani] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: https://github.com/Expensify/App/pull/42571#issuecomment-2262871973
[x]  [@jayeshmangwani] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N/A
[x]  [@jayeshmangwani] Determine if we should create a regression test for this bug. This feature is behind the beta. I don't think it needs regression testing at the moment.
[ ]  [@jayeshmangwani] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.

@jayeshmangwani is owed 125 USD for their work on this issue
@Krishna2323 was paid in Upwork

Requested as per https://github.com/Expensify/App/issues/45814#issuecomment-2268829839

$125 approved for @tienifr


Can this crate work with gtk ?

Changing the lv_drv_cmore lv_cronf.h to work with GTK makes that it doesn't compile anymore.
Is this intentional ?
I have libgtk-3.0 dev installed.
My intention is to write and test a GUI dashboard under Ubuntu and then run it on raspberry pi using the framebuffer.
  running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "/home/lieven/.cargo/registry/src/github.com-1ecc6299db9ec823/lvgl-sys-0.6.2/vendor/lvgl/src" "-I" "/home/lieven/.cargo/registry/src/github.com-1ecc6299db9ec823/lvgl-sys-0.6.2/vendor" "-I" "/home/lieven/workspace/lv_1" "-I" "/home/lieven/.cargo/registry/src/github.com-1ecc6299db9ec823/lvgl-sys-0.6.2/vendor/lv_drivers" "-I" "/usr/include" "-I" "/usr/local/include" "-DLV_CONF_INCLUDE_SIMPLE=1" "-o" "/home/lieven/workspace/lv_1/target/debug/build/lvgl-sys-5f991eed6eeaed4e/out/20eb48ef7c011711-gtkdrv.o" "-c" "/home/lieven/.cargo/registry/src/github.com-1ecc6299db9ec823/lvgl-sys-0.6.2/vendor/lv_drivers/gtkdrv/gtkdrv.c"
  cargo:warning=/home/lieven/.cargo/registry/src/github.com-1ecc6299db9ec823/lvgl-sys-0.6.2/vendor/lv_drivers/gtkdrv/gtkdrv.c:12: warning: "_DEFAULT_SOURCE" redefined
  cargo:warning=   12 | #define _DEFAULT_SOURCE /* needed for usleep() */
  cargo:warning=      |
  cargo:warning=In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
  cargo:warning=                 from /usr/include/stdint.h:26,
  cargo:warning=                 from /usr/lib/gcc/x86_64-linux-gnu/11/include/stdint.h:9,
  cargo:warning=                 from /home/lieven/workspace/lv_1/lv_conf.h:20,
  cargo:warning=                 from /home/lieven/workspace/lv_1/lv_drv_conf.h:16,
  cargo:warning=                 from /home/lieven/.cargo/registry/src/github.com-1ecc6299db9ec823/lvgl-sys-0.6.2/vendor/lv_drivers/gtkdrv/gtkdrv.h:18,
  cargo:warning=                 from /home/lieven/.cargo/registry/src/github.com-1ecc6299db9ec823/lvgl-sys-0.6.2/vendor/lv_drivers/gtkdrv/gtkdrv.c:9:
  cargo:warning=/usr/include/features.h:236: note: this is the location of the previous definition
  cargo:warning=  236 | # define _DEFAULT_SOURCE        1
  cargo:warning=      |
  cargo:warning=/home/lieven/.cargo/registry/src/github.com-1ecc6299db9ec823/lvgl-sys-0.6.2/vendor/lv_drivers/gtkdrv/gtkdrv.c:15:10: fatal error: gtk/gtk.h: No such file or directory
  cargo:warning=   15 | #include <gtk/gtk.h>
  cargo:warning=      |          ^~~~~~~~~~~
  cargo:warning=compilation terminated.
  exit status: 1

Hi!
GTK support is currently untested; only SDL2 is fully confirmed to be working for the drivers and should be considered "ready". However, I'm unsure why this specific issue is occuring; setting the LVGL_INCLUDE environment variable manually may remedy this issue though (by default, it will be set to /usr/include,/usr/local/include). See the docs for details. Also, I had experienced some issues with building the GTK bindings in the past and I suspect there may be issues upstream. Getting this fixed will be added to the roadmap for 0.7 though so thank you for the logs!

Yeah, it looks I am one of the first to try.
Compiling succeeds with
'''
export DEP_LV_CONFIG_PATH=pwd
export LVGL_INCLUDE=/usr/include/gtk-3.0,/usr/include,/usr/local/include,/usr/include/glib-2.0
export LVGL_INCLUDE=$LVGL_INCLUDE,/usr/lib/x86_64-linux-gnu/glib-2.0/include,/usr/include/pango-1.0
export LVGL_INCLUDE=$LVGL_INCLUDE,/usr/include/harfbuzz,/usr/include/cairo,/usr/include/gdk-pixbuf-2.0,/usr/include/atk-1.0,/usr/include/freetype2
export LVGL_LINK=gtk-3,gdk-3,pangocairo-1.0,pango-1.0,harfbuzz,atk-1.0,cairo-gobject,cairo,gdk_pixbuf-2.0,gio-2.0,gobject-2.0,glib-2.0
export LIBCLANG_PATH=$(llvm-config --libdir)
cargo run
'''

Thanks for working together on this as it is one of the scenarios I am also
interested in, especially under OpenWRT (x86)
On Sun, Apr 30, 2023, 2:16 PM Lieven @.***> wrote:

Yeah, it looks I am one of the first to try.
Compiling succeeds with
'''
export DEP_LV_CONFIG_PATH=pwd
export
LVGL_INCLUDE=/usr/include/gtk-3.0,/usr/include,/usr/local/include,/usr/include/glib-2.0
export
LVGL_INCLUDE=$LVGL_INCLUDE,/usr/lib/x86_64-linux-gnu/glib-2.0/include,/usr/include/pango-1.0
export
LVGL_INCLUDE=$LVGL_INCLUDE,/usr/include/harfbuzz,/usr/include/cairo,/usr/include/gdk-pixbuf-2.0,/usr/include/atk-1.0,/usr/include/freetype2
export
LVGL_LINK=gtk-3,gdk-3,pangocairo-1.0,pango-1.0,harfbuzz,atk-1.0,cairo-gobject,cairo,gdk_pixbuf-2.0,gio-2.0,gobject-2.0,glib-2.0
export LIBCLANG_PATH=$(llvm-config --libdir)
cargo run
'''
—
Reply to this email directly, view it on GitHub
https://github.com/lvgl/lv_binding_rust/issues/103#issuecomment-1529119304,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPWAWWMD66G6FQWOSFJMH3XD23BJANCNFSM6AAAAAAXRAZHL4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Now stuck at setting the color_depth correct . In GTK linux this is 32 bit, bu the crate doesnùt adapt when chaning this in lv_conf.h
/*Color depth: 1 (1 byte per pixel), 8 (RGB332), 16 (RGB565), 32 (ARGB8888)*/
#define LV_COLOR_DEPTH 32

Compiler error
   Compiling lvgl-sys v0.6.2
   Compiling lvgl v0.6.2
error[E0308]: mismatched types
   --> /home/lieven/.cargo/registry/src/github.com-1ecc6299db9ec823/lvgl-0.6.2/src/display.rs:262:29
    |
262 |         disp_drv.flush_cb = flush_cb;
    |                             ^^^^^^^^ expected `lv_color32_t`, found `lv_color16_t`
    |
    = note: expected enum `Option<unsafe extern "C" fn(_, _, *mut lv_color32_t)>`
               found enum `Option<unsafe extern "C" fn(_, _, *mut lv_color16_t)>`

For more information about this error, try `rustc --explain E0308`.
error: could not compile `lvgl` due to previous error

Yeah, it looks I am one of the first to try. Compiling succeeds with
export DEP_LV_CONFIG_PATH=`pwd`
export LVGL_INCLUDE=/usr/include/gtk-3.0,/usr/include,/usr/local/include,/usr/include/glib-2.0
export LVGL_INCLUDE=$LVGL_INCLUDE,/usr/lib/x86_64-linux-gnu/glib-2.0/include,/usr/include/pango-1.0
export LVGL_INCLUDE=$LVGL_INCLUDE,/usr/include/harfbuzz,/usr/include/cairo,/usr/include/gdk-pixbuf-2.0,/usr/include/atk-1.0,/usr/include/freetype2
export LVGL_LINK=gtk-3,gdk-3,pangocairo-1.0,pango-1.0,harfbuzz,atk-1.0,cairo-gobject,cairo,gdk_pixbuf-2.0,gio-2.0,gobject-2.0,glib-2.0
export LIBCLANG_PATH=$(llvm-config --libdir)
cargo run

Thanks! This should be configured automatically once #82 is merged.

Now stuck at setting the color_depth correct . In GTK linux this is 32 bit, bu the crate doesnùt adapt when chaning this in lv_conf.h
/*Color depth: 1 (1 byte per pixel), 8 (RGB332), 16 (RGB565), 32 (ARGB8888)*/
#define LV_COLOR_DEPTH 32

Compiler error
   Compiling lvgl-sys v0.6.2
   Compiling lvgl v0.6.2
error[E0308]: mismatched types
   --> /home/lieven/.cargo/registry/src/github.com-1ecc6299db9ec823/lvgl-0.6.2/src/display.rs:262:29
    |
262 |         disp_drv.flush_cb = flush_cb;
    |                             ^^^^^^^^ expected `lv_color32_t`, found `lv_color16_t`
    |
    = note: expected enum `Option<unsafe extern "C" fn(_, _, *mut lv_color32_t)>`
               found enum `Option<unsafe extern "C" fn(_, _, *mut lv_color16_t)>`

For more information about this error, try `rustc --explain E0308`.
error: could not compile `lvgl` due to previous error

I think I know the issue here. I'll merge a fix tomorrow and give you a ping.

Additionl challenge, my sample creates the buffer on stack, so I got a LInux stack overflow with this code
    const HOR_RES: u32 = 1024;
    const VER_RES: u32 = 768;

    let buffer = DrawBuffer::<{ (HOR_RES * VER_RES) as usize }>::default();

This is a known issue with creating large DrawBuffers, I'm unsure how to approach fixing this. However, you can make the buffer smaller; the LVGL docs claim that it should be identical performance-wise down to the buffer being 1/10th the size of the display.

@nia-e  great ! Thanks for the swift feedback. Looking forward to the evolution.

For what it's worth , got so far

Guessing that's the result of the horribly broken color depth? Still, glad to see GTK (almost) working :D

Ah, forgot to add - the bottom text is configurable inlv_conf.h. It's on by default in the example file for debugging purposes.

Concerning the stack overflow, this can be patched  by the command under linux :
ulimit -s 30000

This increase the stack from 8 MB to 30 MB . And permitted to have a resolution of 1024x768.
A better solution would be to create this buffer on the heap.

The buffer does live on the heap; the issue is just that on creation, it is (briefly) allocated on the stack. The relevant code is here. Feel free to suggest fixes, but the buffer-related code is probably the most radioactive code in this entire project so be warned

Hi @vortex314,
A possible fix for the colourspace issue should be on the branch in #104. Can you give this a test and let me know if it runs successfully?

Thanks for the fast update. Just for future reference I simplified build by using .cargo/config.toml
[env]
DEP_LV_CONFIG_PATH={ value=".",relative=true}
LVGL_INCLUDE = """
/usr/include/gtk-3.0,\
/usr/include,\
/usr/local/include,\
/usr/include/glib-2.0,\
/usr/lib/x86_64-linux-gnu/glib-2.0/include,\
/usr/include/pango-1.0,\
/usr/include/harfbuzz,\
/usr/include/cairo,\
/usr/include/gdk-pixbuf-2.0,\
/usr/include/atk-1.0,\
/usr/include/freetype2"""
LVGL_LINK="gtk-3,gdk-3,pangocairo-1.0,pango-1.0,harfbuzz,atk-1.0,cairo-gobject,cairo,gdk_pixbuf-2.0,gio-2.0,gobject-2.0,glib-2.0"
LIBCLANG_PATH={ value = "/usr/lib/llvm-14/lib" ,force=true}
# the above path can be obtained with >llvm-config --libdir<  , don't know how to do get the ouput of a command in env var

Looks fine now, Thanks for the help.

Re: the stack overflow mentioned in this issue; it should be fixed as soon as #117 is merged. I think it's ready but I'll wait for tomorrow to merge it just in case anyone spots an issue with it (there have been many)


getVariantTracks returns less tracks than it should from 3.0.3 version

What version of Shaka Player are you using?
Shaka version 3.0.3+
Can you reproduce the issue with our latest release version?
Yes
Can you reproduce the issue with the latest code from master?
Not tested
Are you using the demo app or your own custom app?
My own custom app and the demo app too
What browser and OS are you using?
Tested on Mac/Win Chrome/Firefox
What are the manifest and license server URIs?
I send it on your email address
What did you do?
Call the getVariantsTrack function and check the array length
What did you expect to happen?
50 tracks intead of 20
What actually happened?
Only 20 tracks in the array (probably something related to audio language / audio label)

@sbrez, is this still the case in our latest release v3.0.6?

@sbrez, is this still the case in our latest release v3.0.6?

@joeyparrish, yes is still there. Tracks are probably grouped by language instead of by label.
Just to be clear, I forgot to specify that we are talking about Dash streams.
In attach you can find the zip with 2 json get with getVariantTracks that may help you: one on 3.0.2 and one on 3.0.6.
getVariantTracks.zip

@joeyparrish you can also use the stream you find here https://github.com/google/shaka-player/issues/2178#issuecomment-540225574

Introduced by this commit.


Papers over time script

The script plots 1) all papers from the dataset over time, by year submitted and 2) papers over time, between 2021 - 2023 (the majority of papers from our dataset)

Please blacken code


UserAgent

How i may set "useragent" in php-phantomjs?

You can add it by setting the userAgent in your PhantomJS script:
page.settings.userAgent = 'YourUserAgent';
This is not currently supported in this library but will add it to the list for V4.

will add if you library simulate a click on a page element and receiving the resulting page?

If you want DOM navigation you're probably better to look into the Symfony DOM crawler library - http://symfony.com/doc/current/components/dom_crawler.html

It is supported in V4?

Also interested.

you havent added it to the docs. Now I cannot spoof it into thinking im running on chrome so that youtube videos load


chore(deps): upgrade jenkins-x/jx3-pipeline-catalog to version 3.2.314

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

/close


Openocd: libusb_open() failed with LIBUSB_ERROR_ACCESS

Hi all,
Apologies if this is the wrong place to ask, but I'm having issues getting my bit file into the ARTY 100 board loaded. Here's what I did so far:

Installed Symbiflow and all its dependencies as described here: OK
Ran the script(s) to generate the bit-stream: OK
Attempted to load the bitstream... fail!

Some additional information.

I was able, once, to use Vivado to see the hardware. I don't know if that is causing issues, as Vivado is still installed, but it also can't see the hardware now.
I have a Digilent Analog Discovery 2 board which works with the installed Digilent drivers. That works OK.
lsusb output:

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 046d:c52e Logitech, Inc. MK260 Wireless Combo Receiver
Bus 001 Device 005: ID 0403:6010 Future Technology Devices International, Ltd FT2232C Dual USB-UART/FIFO IC
Bus 001 Device 002: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Error message:

(xc7) user@userpc:openocd -f $LONG_PATH/openocd/scripts/board/digilent_arty.cfg -c "init; pld load 0 top.bit; exit"
Open On-Chip Debugger 0.10.0+dev-01514-ga8edbd020-dirty (2020-11-19-16:20)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
DEPRECATED! use 'adapter driver' not 'interface'
DEPRECATED! use 'adapter speed' not 'adapter_khz'
Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.
jtagspi_program
Error: libusb_open() failed with LIBUSB_ERROR_ACCESS
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6010, description 'Digilent USB Device', serial '*' at bus location '*'

Xilinx cable drivers and udev rules are installed, but I might have overlooked something there. Should I add my user to the "plugdev" group? But the Analog Discovery works out of the box
Dmesg output when I plug in the unit:

[  +6.619364] usb 1-4: new high-speed USB device number 7 using xhci_hcd
[  +0.153820] usb 1-4: New USB device found, idVendor=0403, idProduct=6010, bcdDevice= 7.00
[  +0.000005] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  +0.000003] usb 1-4: Product: Digilent USB Device
[  +0.000003] usb 1-4: Manufacturer: Digilent
[  +0.000002] usb 1-4: SerialNumber: 210319B26BB4
[  +0.006904] ftdi_sio 1-4:1.0: FTDI USB Serial Device converter detected
[  +0.000063] usb 1-4: Detected FT2232H
[  +0.000335] usb 1-4: FTDI USB Serial Device converter now attached to ttyUSB1
[  +0.002207] ftdi_sio 1-4:1.1: FTDI USB Serial Device converter detected
[  +0.000077] usb 1-4: Detected FT2232H
[  +0.000235] usb 1-4: FTDI USB Serial Device converter now attached to ttyUSB2
[  +0.023815] ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1
[  +0.000060] ftdi_sio 1-4:1.0: device disconnected

It strikes me as odd that is says "Device disconnected" at the end while it's still connected?
This happens when I actually disconnect it:
[Oct19 20:44] usb 1-4: USB disconnect, device number 7
[  +0.000281] ftdi_sio ttyUSB2: FTDI USB Serial Device converter now disconnected from ttyUSB2
[  +0.000010] ftdi_sio 1-4:1.1: device disconnected

Any help is greatly appreciated! I might be overlooking something very basic...
Cheers,
Alberto

You can test this theory by putting sudo in front of the openocd command (which will make it run as root). That is not a long term solution, but should confirm if it is a typical permission problem or if there is something like SELinux or AppArmor also involved.