Single-instance mode is not working in some cases

Windows Terminal version (or Windows build number)
10.0.19042.1110 1.8.1521.0
Other Software
Visual Studio Code
Version: 1.58.2 (system setup)
Commit: c3f126316369cd610563c75b1b1725e0679adfb3
Date: 2021-07-14T22:10:15.214Z
Electron: 12.0.13
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19042
Steps to reproduce

Open Windows Terminal via the shortcut in Start › All apps › Windows Terminal
Set "windowingBehavior" to "useExisting" or "useAnyExisting"
Open Visual Studio Code
Change next VSC settings"terminal.explorerKind": "external",
"terminal.external.windowsExec": "wt.exe",

Open folder in VSC
Right-click on folder item in VSC Explorer
Then context menu item Open in Windows Terminal
New Windows Terminal window is opened instead of using the first one

Thanks! Let me know if you need more details.
Expected Behavior
The single-instance mode should work in all cases.
Actual Behavior
I'm getting a new window when opening the folder via the Visual Studio Code context menu.

Are either of your instances running elevated? We've seen a report of this before, but only when mixing admin and non-admin sessions.

Are either of your instances running elevated? We've seen a report of this before, but only when mixing admin and non-admin sessions.

Nope. Also noticed the same situation when trying to open folder from Sublime Text via Terminal

FWIW, I'm not seeing this anymore, and OP deleted their account. I'm closing this since we can't lock down a repro w/o more feedback here.


Forest - Brawler Hunt - does not load - error in editor coO

Brawler Hunt is having an issue loading on the campaign map as well as in the Level Editor:
Error: Reference Error: Cannot find variable co0
Check the JS console for more
https://discourse.codecombat.com/t/brawler-hunt-level-dont-download/9486

Thanks. Fixed.


Change default view to hide Occurrence and OrigQuote fields

Change tC-Create to hide Occurrence and OrigQuote fields.  The user can choose to show them as needed.

@elsylambert Verified in https://deploy-preview-224--tc-create-app.netlify.app/

@RoyalSix  Not seeing the changes in https://deploy-preview-224--tc-create-app.netlify.app/. In fact the fixes done in rc2 are gone and Russian file is overwritten by English

Verified in translationCore Create - v1.0.0-rc.3. Works fine. Occurrence and Original Quote are unchecked by default.


ScrollBox glitches elements on scroll if they are less then its height (macOS)

Expected Behavior
Elements are either scrolled down or not scrollable at all in case elements height is less the ScrollBox height.
Current Behavior

Steps to Reproduce

Create ScrollBox.
Set its height.
Add elements and set their combined height to be less then ScrollBox height.
Scroll in one direction

Here is codesandbox with reproduction:
https://codesandbox.io/s/funny-rgb-y4p46j?file=/src/index.js
Environment

version: pixijs: 7.3.1, @pixi/ui: 0.9.1
Browser & Version: Version 118.0.5993.117 (Official Build) (x86_64)
OS & Version: macOS 13.5 (22G74)
Running Example: url

Thank you, @SergeiSomin. This is related to https://github.com/pixijs/ui/blob/b3b2fa6aa8c753665515bc4d530e99b1f851bd6a/src/ScrollBox.ts#L490
I think it would be enough just to add there a check for the size of the inner view size and skip scrolling if if is less than scroll box size. Do you  want to make a PR?

Yeah, got it, thanks, I will do PR


RB Experiment is missing tests

What is the expected behavior?
The RB experiment is missing tests for its circuit generation and fitters.

In ignis the tests were split into 3 parts:

tests for the circuit generation
tests for the fitters, based on pre-generated JSON data
functions to generate the JNON files (not running automatically, but we need to run them when the code is updated to update the JSON files)

However, in qiskit.experiments we can also have end-to-end tests, as in her T1 PR #5
This approach is useful for T1 and similar experiments, but can take long time when generating circuits for the advanced methods, such as RB and all its variants (interleaved, cnot-dihedral, purity etc.), QV etc, in particular if we want to check composite experiments.
So, which approach should we take here?

At minimum we should have independent tests for circuit generation and analysis.
For RB circuit generation you can check that each circuit implements an identity by running Clifford(circuit), and check that the metadata reports the correct number of cliffords (this might be a bit trickier since might have to count barriers for this since we decompose when constructing the circuit), and that you have the right number of sequences. You could also check setting a seed produces deterministic output for repeat experiments.
For fitter we can use pre-generated or synthetic data to check fitting works.
Having an end to end test would be nice, but for RB we might have to wait until we can speed up the RB code since it will take too long.


efficient imshow (also with scaled axis)

I'd really like to see imshow -like functionality build efficiently atop MakiE.

support physical axis
support efficiently overlays of grayscale images (do not recalculate resulting image in CPU but combine them in GPU for easy scaling/moving/re-colouring)
support live change of the image data
See e.g. discussion here

Sounds like it's in the scope of Makie :) I see if I can put this use case into a demo for the upcoming release!

I think we do this already, no?


Repo DOI

https://guides.github.com/activities/citable-code/

Flipped the switch in Zenodo. Looks cool, though not sure necessary.

Nice!


To support Hugging Face model

When download the model from Meta website using email url, there are often get network problems 403 Forbidden. Is there any support for hugging face model possible ? Thanks !

Hello @hyperbolic-c,
I uploaded Llama 3 8B Q40 here: https://huggingface.co/b4rtaz/llama-3-8b-distributed-llama

Hello @hyperbolic-c,
I uploaded Llama 3 8B Q40 here: https://huggingface.co/b4rtaz/llama-3-8b-distributed-llama

Yeah ! Thanks a lot for your contribution ! !

@b4rtaz Hi, do the model files need to be reconverted with version updates? If it could also support convert from hugging face format not only .pth format ? Thanks !!

Hey, the report.pdf you mentioned at this comment was missing, could you please offer some details ? Thank you ! @b4rtaz

@hyperbolic-c please check here.

@b4rtaz Sorry, I can not open it, "Error rendering embedded code Invalid PDF". After download it also can not open.

What browser are you using? I've just checked it and it works on Firefox/Chrome/Safari.

I have checked it on edge and chrome, none of them work.

I was able to open it up just fine as well

Could you please send it to my email<EMAIL_ADDRESS>? Thanks !


Add iOS & Android raw data slices

Add iOS/Android data slice links requested in https://github.com/MobileNativeFoundation/survey-2022/issues/2

🙏🏻


Checking for connectivity / current user

How would one go about checking for connection status in this framework? In the ideal case, I would be looking for a Meteor-style reactive variable that says whether the DDP connection is currently open and working or not. I want to use it to automatically reconnect after the app is reopened the phone awakes from 'sleep mode'.
On a similar note, I would also want the same for finding out whether the user is logged in. Something like Meteor.user() ...
Would this be difficult? Tips are very welcome.

+1 This would interesting to know if you have solved the problem already. Looking to migrate a meteor app into a mobile platform and having difficultly accessing the Meteor.user() helper

I haven't solved the problem yet, unfortunately. I don't know enough about the platform to add such a feature at the current time. I'm still interested, though.

See this repo and file for help with accounts: https://github.com/spencercarli/meteor-todos-react-native/blob/master/ReactNativeTodos/app/components/accounts/signIn.js
And this article: http://blog.differential.com/meteor-react-native-learning-from-experience/


[Bug Fix] - Markdown Processing for Telephone Links

Hey All,
Telephone link URLs use the + character to specify a globally unique number. However, when Grav parses a markdown telephone link, it replaces any + characters with spaces.
For example, [Call us](tel:+15551231234) becomes <a href="tel:<PHONE_NUMBER>4">Call us
This replacement is happening because inlineLink in ParsedownGravTrait calls processLinkExcerpt, which then uses urldecode on the href attribute - urldecode replaces all + characters with spaces.
This pull request attempts to solve the issue by simply changing the call to urldecode to rawurldecode. rawurldecode works the same as urldecode, except that it does not replace + characters.

thanks


Adding Dockerfile for local development

Adding Dockerfile for local development. See README for usage.
Note: this supposes that we have default settings that don't require the presence of a .env file. docker compose breaks when the .env file contains the JSON string for CORS_ORIGINS. @F-Ruxton is addressing this by adding default settings.
Meanwhile, should you want to run locally without default settings, apply this patch to your docker-compose.yml
diff --git a/docker-compose.yml b/docker-compose.yml
index 9420df1..616c298 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -2,6 +2,14 @@ version: '3.7'
 services:
     co2-calculator-api:
       image: co2-calculator-api:latest
+      environment:
+        - PROJECT_NAME=co2-calculator-api
+        - SERVER_HOST=http://localhost:8000
+        - 'CORS_ORIGINS=["http://localhost", "https://localhost", "http://localhost:8000", "https://localhost:8000"]'
+        - POSTGRES_USER=postgres
+        - POSTGRES_PASSWORD=postgres
+        - POSTGRES_SERVER=localhost:5432
+        - POSTGRES_DB=postgres
       ports:
         - '8000:8000/tcp'
     postgres:

See #21 No need for a .env file now


format of importing

to import methods like Math.atan, what is the preferred way of importing in cs2030? i understand there are many restrictions on style in this course and couldnt find this in the coding style guide.
should we import java.lang.Math and use Math.atan,
or import static,
or import the specific method only?

import java.lang.Math and use Math.atan2

I don't think we need to write in import java.lang.* though, as the default Java library is already imported.

I guess I can state one preference for importing here which is to not do import java.lang.*. The use of wildcard * is ambiguous to readers of your code on what you actually imported and intend to use.

or import the specific method only?

I don't think you can import a method only in java, since everything is encapsulated in some class.

import static

You probably won't encounter a need for this.


Make story analytics variable names consistent

I was reviewing the story analytics spec and noticed that
${pageId} maps to STORY_PAGE_ID
${pageIndex} maps to STORY_PAGE_INDEX
We should make consistent, i.e.
${storyPageId} maps to STORY_PAGE_ID
${storyPageIndex} maps to STORY_PAGE_INDEX

Migrated to ampproject/amphtml#11648.


Add conditional equality checking

Add conditional basic equality match checking to be able compose script hooks to only run when certain environment criteria are met.
{
  "scripts": {
    "postinstall": "cross-env NODE_ENV==development && npm run build"
  }
}

==
!=

Perhaps this should be a separate module argv-get-env to match up with argv-set-env.

That's not a bash feature is it? You're just asking that we add this as a feature if cross-env?

Yeah, this isn't really a bash feature, so it's out of scope for this project.
Personally, for the postinstall, I would just have it reference a script that did the check itself. Or you could write another module that does what you're trying to do.
Good luck!

The check could be in a separate script in the project and would be necessary for complex criteria.
@kentcdodds  The composabiltiy works, I based it off this example for unix environements: http://stackoverflow.com/questions/23076968/npm-postinstall-only-on-development

You could compose this with something like if-env

@kentcdodds This is exactly what I was looking for, thanks for pointing it out :grinning:


Clarify the docs on our usage of Proxy ARP

I've assigned this to @lxpollitt as he was keen on something like this, but @Lukasa, could you have a look too, to make sure what I've written makes sense?

LGTM.

LGTM. \o/


demos: Enable building combinations of xcb and xlib

Allow LVL to build and demos to run with xcb, xlib, or xcb+xlib.

Cherry picked to master


Use vuex store for samplesheets Vue app state

Originally I thought this wouldn't really be needed, but there are places (e.g. PageHeader) where we need to access a lot of state variables. Would make sense to store in the central vuex store.
Not urgent, could be done when e.g. attempting to tick all the tasks in #747.

I'll look at what the current best practice is for implementing something like this when doing #994, IF this is something that is required.


Layer Control - touch clicks first layer

Using a touchscreen and tapping the layers icon opens the list of layers but clicks (or deselects) the first layer checkbox. I just want to touch (click) to expand. I was trying to see how to disable the expand on mouse hover feature but cant find anything about it. The docs say for the L.control.layers option of collapsed, its default is true and will expand on mouse hover or touch.

I've been experiencing this problem with a touch screen monitor, and I think it's related to the mouseenter and mouseleave events, not to the hover one. I'm specifically pointing towards this code in Control.Layers.js, method _initLayout, as responsible:
			if (!Browser.android) {
				DomEvent.on(container, {
					mouseenter: this.expand,
					mouseleave: this.collapse
				}, this);
			}

Obviously Browser.android only returns true for mobile browsers under normal circumstances, so the control doesn't behave as expected with other touch screen devices. I'm not sure there is even a way of detecting touch screen devices explicitly from the browser, thus I'm currently using this code as a workaround for manually disabling the mouseenter and mouseleave events, hope it works for you as well:
var control = L.control.layers(baselayers, overlays, {position: 'bottomright'});
control.addTo(map);
L.DomEvent.off(control._container, {
    mouseenter: control.expand,
    mouseleave: control.collapse
}, control);

It works fine with our touch screen after this change, though if you use a mouse you must click onto the layers icon before being able to change layers.

The issue is introduced in 8b742a024ec23c692c7d51187572b86b83de0d0c.
Definitely it should not be android specific.
Even more: it should not be touchscreen-specific, because there could be mouse attached too.

But what is interesting: for me the issue is reproducible in 1.6.0 but not in latest master.

The issue is still reproducible in latest Firefox.

Unable to reproduce anymore with recent Firefox.

The issue is still reproducible in latest Firefox.

Unable to reproduce anymore with recent Firefox.


fix: final design revision

Close #161

Summary by CodeRabbit

New Features

Introduced a new button color in the Participate component footer.

Style Updates

Updated padding and margin styles across various pages (About, Security Tips, Privacy Policy, Whitepaper) for better responsiveness.
Enhanced layout and styling in the Header, MobileNav, and multiple components within the Home and Project routes for improved visual alignment and spacing.

Bug Fixes

Adjusted incorrect margin settings in the MobileNav and ProjectCardButtons components to ensure consistent layout behavior.

 Development Support, Nathan - May 2024


Create image for InstructLab

Let's keep it simple: the image should be based on UBI 9 Python and should have instruct lab.
It should also have a top level script that can handle the various actions:

init
generate
train
save

Several assets should be mounted:

the teacher and tuned model files
the .local and .config folders
the original taxonomy git repository

Should we just use: https://github.com/rhai-code/instructlab-granite-images/blob/main/README.md?


Skrollr on non-linear path?

http://joelb.me/blog/2012/jquery-scroll-path/
http://joelb.me/scrollpath/
With Skrollr, is there a way to move along a non-linear path, like this script ScrollPath?

Heyy there..
I have used skrollr for my website. For data-attributes like data-0, data-700px, etc how to make the website responsive as per device widths? These attributes are used in line within html tags so cannot be used in css or javascript in order to make them responsive as per device widths. How is that to be achieved?

@increed
relative mode: https://github.com/Prinzhorn/skrollr#relative-mode-or-viewport-mode
percentage offsets: https://github.com/Prinzhorn/skrollr#percentage-offsets
constants: https://github.com/Prinzhorn/skrollr#dynamic-constants

Heyy Alex
I checked out the skrollr plugin for parallax wesbites. Its really awesome.
I have two doubts though:

How do you estimate the body height in parallax websites
How to make parallax site reponsive?. Since the viewport changes as per
the device widths. So if we define data attributes in pixels;that woudn't
work right?

Please guide me.
Thanks
Saroj
On Tue, Feb 10, 2015 at 12:56 PM, Alexander Prinzhorn <
<EMAIL_ADDRESS>wrote:

@increed https://github.com/increed
relative mode:
https://github.com/Prinzhorn/skrollr#relative-mode-or-viewport-mode
percentage offsets:
https://github.com/Prinzhorn/skrollr#percentage-offsets
constants: https://github.com/Prinzhorn/skrollr#dynamic-constants
—
Reply to this email directly or view it on GitHub
https://github.com/Prinzhorn/skrollr/issues/98#issuecomment-73655488.

Hi Alex,
As per your suggestion, I did try using percentage offsets and relative modes. But now the problem is skrollr does not work on mobiles in my case. Here is the link to what I have done so far:
http://divizbeta.in.s3-website-ap-southeast-1.amazonaws.com/
I used percentage offset here. And there is both horizontal and vertical scroll involved. So used css tranform property to translate the divs horizontally.
But, It is not responsive and neither does it work on mobiles. Any solutions for this?
Please help.
Thanks
Saroj


Default Language

Please add default language
I have 3 langs
en ro ru
If I add new key to lang ro he dont apear.

What exactly do you mean with a default language?
Can you describe the steps you are doing or showing some screenshots of the problem you have? Adding a key will add it to all languages you have open in the editor, afterwards it will only save the key to the language files when a value is filled in for that language and key.

if you add new key manualy on file he work!
sorry all is ok :+1:


import ssl error

When executing:
import ssl
I get:
Traceback (most recent call last):
File "/Users/james/projects/pycon_projects/hello_briefcase/hello_briefcase/macOS/hello_briefcase.app/Contents/Resources/python/lib/python3.5/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/Users/james/projects/pycon_projects/hello_briefcase/hello_briefcase/macOS/hello_briefcase.app/Contents/Resources/python/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/james/projects/pycon_projects/hello_briefcase/hello_briefcase/macOS/hello_briefcase.app/Contents/Resources/app/hello_briefcase/main.py", line 1, in
from hello_briefcase.app import main
File "/Users/james/projects/pycon_projects/hello_briefcase/hello_briefcase/macOS/hello_briefcase.app/Contents/Resources/app/hello_briefcase/app.py", line 10, in
import ssl
File "/Users/james/projects/pycon_projects/hello_briefcase/hello_briefcase/macOS/hello_briefcase.app/Contents/Resources/python/lib/python3.5/ssl.py", line 99, in
import _ssl             # if we can't import it, let the error propagate
ImportError: No module named '_ssl'

It appears that the most recent builds don't have the binary modules included; need to dig into the build process to work out why.

I believe I am having a similar problem trying to import keras in my app. I just wanted to confirm that briefcase should be packaging import modules into binaries? Or does it only include modules that come with the standard lib?

I believe this has been addressed in recent support package builds.

Hi,
latest briecase.
just add `import ssl" to the default app
Following error :
[mycartable] Built linux/MyCartable-0.0.1-x86_64.AppImage

[mycartable] Starting app...

Traceback (most recent call last):
  File "/tmp/.mount_MyCarthLt0Ty/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/tmp/.mount_MyCarthLt0Ty/usr/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmp/.mount_MyCarthLt0Ty/usr/app/mycartable/__main__.py", line 2, in <module>
    import ssl
  File "/tmp/.mount_MyCarthLt0Ty/usr/lib/python3.7/ssl.py", line 98, in <module>
    import _ssl             # if we can't import it, let the error propagate
ImportError: libssl.so.1.0.0: cannot open shared object file: No such file or directory

Jimmy


Support for micro as a server

https://github.com/zeit/micro
GraphQL is just a single endpoint, which makes it super nice to just support micro as server option.

@tonyxiao @helfer I plan to have a PR for this shortly.  I have this already built just need to merge it some recent changes to master

Awesome!

Woot!  I am happy about this.  Can we get this merged ASAP?  I am writing a piece of content RIGHT NOW and would like to use Micro for it


opae-v: fix issue found by static analysis

Signed-off-by: Tim Whisonant<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 2 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.007%) to 65.992%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

libraries/plugins/vfio/opae_vfio.c
0
2
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.007%

Covered Lines:
13137

Relevant Lines:
19907

💛  - Coveralls


How to see only important Problems?

Hi,
by default a lot of Problems are reported, many of them are not very important (e.g. line too long, semicolons at end of line not needed, code can be rewritten etc), while others are much more interesting (e.g. variable not used).
Is there a way simply enable only "important" issues? I don't want to go over each reported problem and disable it, would be nice if I could set 1 setting or something...

Format your file (right click -> format), you'll see lots of errors
disappear

For the remaining ones:
With QuickAction you can "ignore for all project" the errors you don't want
to see (2 clicks ^^)

You see only "more important errors" :)

Le jeu. 2 juil. 2020 à 12:20, pkruk2<EMAIL_ADDRESS>a écrit :

Hi,
by default a lot of Problems are reported, many of them are not very
important (e.g. line too long, semicolons at end of line not needed, code
can be rewritten etc), while others are much more interesting (e.g.
variable not used).
Is there a way simply enable only "important" issues? I don't want to go
over each reported problem and disable it, would be nice if I could set 1
setting or something...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nvuillam/vscode-groovy-lint/issues/60, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEFQSDTFATUED6K5W22YFXLRZRNOXANCNFSM4OOXXNEA
.

You have option groovyLint.basic.loglevel that you can use :)


html failed to save

Issue Type: Bug
Issue Type: Bug
step 1 : modifying and save '.html' files ,
step 2 , 3, or 4 :  only to save, file content is missing;
Notice:
Failed to save "example.html": Unable to write to file (Unknown (FileSystemError): Error: EBUSY: resource busy or locked, open 'e:\example.html')
VS Code version: Code 1.34.0 (a622c65b2c713c890fcf4fbf07cf34049d5fe758, 2019-05-15T21:59:37.030Z)
OS version: Windows_NT x64 10.0.17763

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz (6 x 3000)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.92GB (5.85GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (33)

Extension
Author (truncated)
Version

lua-debug
act
1.3.6

css-compressor
bes
0.0.2

gltf-vscode
ces
2.2.5

npm-intellisense
chr
1.3.0

jsrefactor
cms
2.18.2

vscode-devtools-for-chrome
cod
0.0.5

vscode-svgviewer
css
2.0.0

vscode-eslint
dba
1.9.0

es7-react-js-snippets
dsz
2.3.0

tslint
eg2
1.0.43

vscode-npm-script
eg2
0.3.7

code-runner
for
0.9.10

beautify
Hoo
1.5.0

emoji-code
idl
0.7.5

compareit
in4
0.0.2

docthis
joe
0.7.1

vscode-language-pack-zh-hans
MS-
1.34.2

python
ms-
2019.5.17517

cpptools
ms-
0.23.1

csharp
ms-
1.19.1

vscode-typescript-tslint-plugin
ms-
1.1.0

debugger-for-chrome
msj
4.11.3

color-highlight
nau
2.3.0

vetur
oct
0.21.0

open-html-in-browser
pea
1.2.0

LiveServer
rit
5.6.1

indenticator
Sir
0.6.0

code-spell-checker
str
1.7.12

vscodeintellicode
Vis
1.1.6

vscode-icons
vsc
8.7.0

quokka-vscode
Wal
1.0.222

wallaby-vscode
Wal
1.0.128

JavaScriptSnippets
xab
1.7.2

(2 theme extensions excluded)

@threethreenine are you possibly having the integrated terminal open with powershell? Does it reproduce if you just start (with no panel visible) and save?

@bpasero
Is the log information?
I saw that the log recorded a variable undefined, and I failed to save the HTML file.
The following is the log I copied.
[2019-06-06 14:13:41.039] [renderer6] [error] Unable to write to file (Unknown (FileSystemError): Error: EBUSY: resource busy or locked, open 'e:\ThreeJSProjects\three.js\examples\webgl_lines_colors.html'): Error: Unable to write to file (Unknown (FileSystemError): Error: EBUSY: resource busy or locked, open 'e:\ThreeJSProjects\three.js\examples\webgl_lines_colors.html')
at b. (file:///D:/ProgramFiles/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:3339:893)
at Generator.throw ()
at a (file:///D:/ProgramFiles/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:34:505)
[2019-06-06 14:18:03.570] [renderer6] [error] Cannot read property 'peekBack' of undefined: TypeError: Cannot read property 'peekBack' of undefined
at IndentSpy._peekBack (C:\Users\SDF.vscode\extensions\sirtori.indenticator-0.6.0\out\src\extension.js:250:28)
at IndentSpy._buildHoverString (C:\Users\SDF.vscode\extensions\sirtori.indenticator-0.6.0\out\src\extension.js:234:35)
at IndentSpy._buildHoverprovider (C:\Users\SDF.vscode\extensions\sirtori.indenticator-0.6.0\out\src\extension.js:215:28)
at Object.provideHover (C:\Users\SDF.vscode\extensions\sirtori.indenticator-0.6.0\out\src\extension.js:205:29)
at define.provideHover.a.asPromise (d:\ProgramFiles\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:575:479)
at t.asPromise.Promise (d:\ProgramFiles\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:53:320)
at new Promise ()
at Object.t.asPromise (d:\ProgramFiles\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:53:292)
at S.provideHover (d:\ProgramFiles\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:575:450)
at define.$provideHover._withAdapter.e (d:\ProgramFiles\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:592:165)
at j._withAdapter (d:\ProgramFiles\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:588:126)
at j.$provideHover (d:\ProgramFiles\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:592:143)
at d._doInvokeHandler (d:\ProgramFiles\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:644:1006)
at d._invokeHandler (d:\ProgramFiles\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:644:698)
at d._receiveRequest (d:\ProgramFiles\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:643:293)
at d._receiveOneMessage (d:\ProgramFiles\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:642:141)
at define.constructor._protocol.onMessage.e (d:\ProgramFiles\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:640:400)
at u.fire (d:\ProgramFiles\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:47:720)
at a (d:\ProgramFiles\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:176:766)
at e (d:\ProgramFiles\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:176:812)
at u.fire (d:\ProgramFiles\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:47:720)
at n.constructor.e.onMessage.e (d:\ProgramFiles\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:748:721)
at u.fire (d:\ProgramFiles\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:47:720)
at a (d:\ProgramFiles\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:176:766)
at e (d:\ProgramFiles\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:176:812)
at u.fire (d:\ProgramFiles\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:47:720)
at y._receiveMessage (d:\ProgramFiles\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:185:670)
at define.constructor._socketDisposables.push._socketReader.onMessage.e (d:\ProgramFiles\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:182:981)
at u.fire (d:\ProgramFiles\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:47:720)
at f.acceptChunk (d:\ProgramFiles\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:179:532)
at define.constructor._register._socket.onData.e (d:\ProgramFiles\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:178:869)
at Socket.t (d:\ProgramFiles\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:187:141)
at Socket.emit (events.js:182:13)
at addChunk (_stream_readable.js:279:12)
at readableAddChunk (_stream_readable.js:264:11)
at Socket.Readable.push (_stream_readable.js:219:10)
at Pipe.onread (net.js:636:20)

@threethreenine are you possibly having the integrated terminal open with powershell?

@bpasero i have the integrated terminal open with powershell.
However, when I press ‘ctrl + s’ to save the HTML file, there is no situation in powershell.

@threethreenine does it reproduce if you close the terminal in VSCode, restart VSCode and then save?

@bpasero
After closing the terminal panel, I press 'ctrl+s' consecutively, the html file will suddenly become blank.  Just don't report the wrong error in file saving.
When I restart VSCode, it will still reappear.

We are building exploration builds that use a much newer version of our UI framework (Electron version 4.0.x). I wonder if this issue reproduces with one of these builds, could you try? Download:

macOS: Download
Linux: Download
Windows: Download

When I used the  newer version of our UI framework ( Electron version 4.0.x) in Windows 10 system,It did not produces  again.

@bpasero

We will ship with Electron 4 with our upcoming release 1.36 this week. As such I am closing this issue. To benefit from the update already today, consider to use our insiders version: https://code.visualstudio.com/insiders/

Thank you very much, this is great.


Image and icons improvments

Also fix : https://github.com/lcallarec/gnome-docker-manager/issues/22


There is no pdb file in the package file generated by my flutter build --release. How can I make the package published online have a pdb file so that we can solve the crash easily

There is no pdb file in the package file generated by my flutter build --release. How can I make the package published online have a pdb file so that we can solve the crash easily

Hi @wc2411888, Thanks for filing the issue. Could you please explain what target platform are you building the app for? Also could you please share a resource about what PDB file you are referring to?

Thanks for the update @wc2411888, This doesn't seem possible as of today and I couldn't find any resources for it too with regards to flutter.  I am labeling this issue as a proposal, for further insights from the team.

In windows\runner\CMakeLists.txt add the line target_link_options(${BINARY_NAME} PUBLIC /DEBUG:FULL) and you should see a .pdb file next to your .exe file after build. There should also be a .pdb file for the engine, flutter_windows.dll.pdb file in flutter/bin/cache/artifacts/engine/windows-x64-release

Thanks for the solution @muhleder,  @wc2411888  could you please confirm if the above helps generate the PDB file?

it works well，thanks！

Provided your last response I feel it's safe to close the issue.
Closing as solved.


Using Modal gives error with react v16.8.0

Modal component gives an error about not being able to have a focus-trap
Detailed description

Describe in detail the issue you're having.

We are including the Modal component in our page and get the following error:

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?

We expect the Modal component to render

What browser are you working in?

Chrome

What version of the Carbon Design System are you using?

6.85.0 version of carbon react
9.69.1 version of carbon components

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

ICP UI
Steps to reproduce the issue

Step one
Step two
Step three
etc.

Please create a reduced test case in CodeSandbox
https://codesandbox.io/s/github/IBM/carbon-components-react/tree/master/examples/codesandbox

Additional information

Screenshots or code
Notes

Hi 👋 thank you for reporting - I believe it's a duplicate of #2131, but don't hesitate to let us know if anybody thinks otherwise.


PHP Post Server?

should we define the PHP file to process the POST or something?

You don;t need any php. You only need a server which accepts POST requests


npm install sqlite3 is slow

https://stackoverflow.com/questions/31230606/npm-install-sqlite3-takes-forever
Possible solution: https://github.com/WebReflection/dblite

db lite seems to work.

db lite seems to work.


Problem: manager not reconnecting to asterisk

please help

Closed as not an issue. Advise submitter to post questions on the user list.

Your not going to get any help with that level of information.
Think a little more deeply about the problem and then post your question
along with some useful information to the user list.
I will close this issue as its not a bug report.
On 06/04/16 17:54, kostyanx wrote:

please help
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/asterisk-java/asterisk-java/issues/121


Close tags

Hello everyone!
I'm using this library in a project to read and parse .ofx files.
But the software that will import the .ofx after being write needs every tag to be closed, is there a way to do this?
Everything is working well, just need a way to close all the tags after use this function OfxPrinter(ofx, file).write()

I just saw this comment, hope this belated reply will be helpful.
OfxPrinter.py is basically a pretty printer for ofx files.
The ofxparse.py file in this project does include a preprocessor that inserts the missing close tags when importing ofx files.  See the master file at line 153:
class OfxPreprocessedFile(OfxFile):
In your code, your could use this preprocessed file rather than the original file as the input input to OfxPrint()

Thanks for your reply,
the way that I found to solve this was to use the ofxtools library that uses ElementTree, so I have a better control over each element.


Add missing project fields

Signed-off-by: Roy Golan<EMAIL_ADDRESS>

To make the tests pass, you need to change lines 50-51 in plugins/parodos/src/components/TestApp.tsx to
new Response(
  JSON.stringify([
    {
      id: '511da8ce-4df7-438b-a9ec-0130f14884bd',
      name: 'myProject',
      description: 'My description',
      createdDate: '2023-04-14T07:55:38.144+00:00',
      modifiedDate: '2023-04-14T07:55:38.144+00:00',
      createdBy: 'test',
      accessRole: 'Owner'
    },
  ]),


Schemas with incomplete @relation annotations should be rejected during Client generation

Bug description
The following schema is considered valid, when in fact it isn't.
How to reproduce
Try this schema:
model User {
  id    Int    @id
  posts Post[]
}

model Post {
  id     Int  @id
  author User @relation(references: [id])
}

Running prisma2 generate works without errors.
This leads to issues when you run a query against this schema. This is invalid, since the @relation annotation does not have a field attribute, and there is no scalar field in Post to define the author relation on.
Expected behavior
prisma generate (& the VSCode plugin) should reject this schema, saying that the @relation annotation is incorrectly defined: it needs a field attribute.
Environment & setup

OS: macOS
Database: PostgreSQL
Prisma version:

@prisma/cli          : 2.0.0-alpha.1024
Current platform     : darwin
Query Engine         : prisma 15b42f2c499c65576f47fa77108e39d86645242b
Migration Engine     : migration-engine-cli 15b42f2c499c65576f47fa77108e39d86645242b
Introspection Engine : introspection-core 15b42f2c499c65576f47fa77108e39d86645242b

Node.js version: 13.10.1

This is fixed in: https://github.com/prisma/prisma-engines/pull/624


[Dropdown] Apply box-shadow changes

What and Why

Updates our clickable and clickableHover styles to match what design has in Figma.
Updates our border-radius styling for the Dropdown component, which previously had no border-radius.

Our Mobile dropdown will always have border-radius: 4px since we rely on native select dropdown for functionality.
Our Desktop dropdown will have border-radius: 4px unless it is open, at which point the following occurs:

The Dropdown select will have border-radius: 4px 4px 0 0, shorthand for setting the top-left and top-right border radius.
The last child of the Dropdown options will have border-radius: 0 0 4px 4px, shorthand for setting the bottom-left and bottom-right border radius.

Updates our Dropdown component to accept an optional borderRadius prop, so that the above border-radius values are programmable, with 4px as the default.

Clickable changes
Before:

After:

**Action button changes (as a result of clickable changes)``
Before:

After:

Dropdown changes
Before:

After:

Next Steps

These clickable and clickableHover style changes will also be used in future PRs updating our Accordion and OptionButton component.

I plan on releasing all these changes together.

**Action button changes (as a result of clickable changes)``
Before:

After:

@benkolde Tagging you for a design review before an engineer for a code review because this behavior in particular seems suboptimal. Since our focus outline is smaller than the new box-shadow size the keyboard effect is somewhat jarring.


When to release other model weights rather than base model?

Thanks for your interest. We are working on a new version of ConvMAE with faster pretraining and improved representation ability. Pretrained models ranging from small to huge shall be released.
Stay tuned.

Thanks!

We update the pretrained weights of ConvMAE V2 small, base, large and huge in the README.

Thanks

What are updated for V2 models?

We will update the details of ConvMAE V2 later.


SVG not working

Hi all!
I love this package, but i have a big problem. When I want to inject some SVG just like in your example, the docx file (as a zip) has the svg image (it's in the media), but it's not displayed in the word document. I tried the example you provided, still no success. Maybe wrong link from the document to the media?
What can be the problem?
Thanks,
Andor

Can you provide a minimal example for reproduction?

My js file:
 return await docxTemplates.createReport({
      template,
      data: {
        svg1: req.body.svg1,
        date: "2020.10.31.",
        clinic: "clinic",
        doctor: "Dr. XY",
        patient: {
          name: "avasjif",
          birthday: "aslfjjagsé",
          address: "ldkjglaédjglidajslgkasljf",
        },
        lines: [
          { label: "vadjfojsansa", price: 5000, type: "plan" },
          { label: "vadjfojsansa", price: 5000, type: "plan" },
          { label: "vadjfojsansa", price: 5000, type: "plan" },
          {
            name: "Szöveg, melyet rákattintással lehet módosítani",
            type: "note",
          },
          { label: "vadjfojsansa", price: 5000, type: "plan" },
          { label: "vadjfojsansa", price: 5000, type: "plan" },
          { label: "vadjfojsansa", price: 5000, type: "plan" },
          { type: "sum", price: 24000 },
          { type: "allSum", price: "250 000" },
        ],
      },
      cmdDelimiter: ["[[", "]]"],
      additionalJsContext: {
        injectSvg: () => {
          const svg_data = Buffer.from(
            `<svg  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
                                            <rect x="10" y="10" height="100" width="100" style="stroke:#ff0000; fill: #0000ff"/>
                                          </svg>`,
            "utf-8"
          );

          // Providing a thumbnail is technically optional, as newer versions of Word will just ignore it.
          return {
            width: 6,
            height: 6,
            data: svg_data,
            extension: ".svg"
          };
        },
      },
    });

And my word document:
![image](https://user-images.githubusercontent.com/39135389/97802613-f04f1300-1c44-11eb-8089-62cc16f011b1.png)

The generated report:
![image](https://user-images.githubusercontent.com/39135389/97802640-170d4980-1c45-11eb-8347-a06a83568956.png)

Hmmm I can't reproduce this. The below unit test is very similar to your use case, which works fine. https://github.com/guigrpa/docx-templates/blob/d0d21eea7a7c8720c2778c9e4e5f2180fec8e1a3/src/tests/images.test.ts#L110-L148
Have you tried injecting the SVG into a fresh, empty template, as a test? Word documents can contain quite a lot of complexity under the hood, and the context of where the IMAGE commands are placed may impact how they are rendered.

I tried with fresh docx and tried with the sample code with no additional data. No success.
const docxTemplates = require("docx-templates");
const fs = require("fs");
var docxConverter = require("docx-pdf");

const template = fs.readFileSync("./assets/mesterdent/offer2.docx");

async function report() {
  return await docxTemplates.createReport({
    template,
    data: {},
    additionalJsContext: {
      injectSvg: () => {
        const svg_data = Buffer.from(
          `<svg  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
                                        <rect x="10" y="10" height="100" width="100" style="stroke:#ff0000; fill: #0000ff"/>
                                      </svg>`,
          "utf-8"
        );

        return {
          width: 6,
          height: 6,
          data: svg_data,
          extension: ".svg",
        };
      },
    },
  });
}
report().then(async (result) => {
  await fs.writeFileSync("./assets/mesterdent/report25.docx", result);
});

Hmmm weird, the code looks fine. Which Word version are you using? Can you post the resulting report docx file here so I can check it?

Now I checked that I cannot event paste svg to microsoft word. So the problem probably is with my office. Sorry to bother you. I love this package :)


docs: Fix README typo about directives.

I think, if I've understood correctly, that you got these two things the wrong way round in the docs :)

Was about to submit an issue about this. Had the same impression.

😅 I was up late :) Thanks!


CPU memory leak when using dynamo

System Info
accelerate v0.22
torch v2.0

Information

[ ] The official example scripts
[X] My own modified scripts

Tasks

[ ] One of the scripts in the examples/ folder of Accelerate or an officially supported no_trainer script in the examples folder of the transformers repo (such as run_no_trainer_glue.py)
[X] My own task or dataset (give details below)

Reproduction
Running my code with the following accelerate config:
compute_environment: LOCAL_MACHINE
debug: false
distributed_type: 'NO'
downcast_bf16: 'no'
gpu_ids: '0'
machine_rank: 0
main_training_function: main
mixed_precision: bf16
num_machines: 1
num_processes: 1
rdzv_backend: static
same_network: true
tpu_env: []
tpu_use_cluster: false
tpu_use_sudo: false
use_cpu: false

no issues, but then if I use torch dynamo:
compute_environment: LOCAL_MACHINE
debug: false
distributed_type: 'NO'
downcast_bf16: 'no'
dynamo_config:
  dynamo_backend: INDUCTOR
gpu_ids: '0'
machine_rank: 0
main_training_function: main
mixed_precision: bf16
num_machines: 1
num_processes: 1
rdzv_backend: static
same_network: true
tpu_env: []
tpu_use_cluster: false
tpu_use_sudo: false
use_cpu: false

I get a CPU RAM memory leak. This might be reproducible via the accelerate examples such as nlp_example.py
Expected behavior
There shouldn't be any memory leaks.

Thanks for reporting. I tried your two configs on my local machine and with the nlp_example.py and could not observe any memory leak. Both with and without dynamo backend, the memory usage was constant during training, so there was no leakage. On top of that, the total memory usage was also very similar between the two settings.
Could you please provide more details, e.g. total memory usage and how it increases over time (e.g. at the end of each batch? each epoch?) and by how much?

Minimal reproducer:
compute_environment: LOCAL_MACHINE
debug: false
distributed_type: 'NO'
downcast_bf16: 'no'
dynamo_config:
  dynamo_backend: INDUCTOR
gpu_ids: '0'
machine_rank: 0
main_training_function: main
mixed_precision: fp16
num_machines: 1
num_processes: 1
rdzv_backend: static
same_network: true
tpu_env: []
tpu_use_cluster: false
tpu_use_sudo: false
use_cpu: false

from accelerate import Accelerator
from transformers import AutoTokenizer, AutoModelForCausalLM

def main():
    accelerator = Accelerator()

    device = accelerator.device

    model = AutoModelForCausalLM.from_pretrained('facebook/opt-125m').to(device)
    tokenizer = AutoTokenizer.from_pretrained('facebook/opt-125m')

    model = accelerator.prepare(model)

    while True:
        x = tokenizer(['I like turtles.'], return_tensors='pt')
        x = x.to(device)
        output = model(**x)

if __name__ == '__main__':
    main()

env OMP_NUM_THREADS=4 TOKENIZERS_PARALLELISM=false accelerate launch --config_file=<accelerate_config_path> ./example_script.py

Thanks for providing the script and config, I ran this locally and could not reproduce any memory leak. Here is a screenshot from my nvtop:

(note that the blip comes from another process)
I also tried on a T4, with the same result. In both cases, I this ran for several minutes without any increase in memory usage. I also checked main RAM and it was constant. So it is probably something that happens only in very specific circumstances. If you could try to reproduce the behavior on a different machine, it would be helpful.

The memory leak is for CPU memory, not GPU memory.
Here's the node info:

Distributor ID: Ubuntu
Description:    Ubuntu 18.04.6 LTS
Release:        18.04
Codename:       bionic

Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              40
On-line CPU(s) list: 0-39
Thread(s) per core:  1
Core(s) per socket:  20
Socket(s):           2
NUMA node(s):        2
Vendor ID:           GenuineIntel
CPU family:          6
Model:               85
Model name:          Intel(R) Xeon(R) Gold 6230 CPU @ 2.10GHz
Stepping:            7
CPU MHz:             803.126
CPU max MHz:         3900.0000
CPU min MHz:         800.0000
BogoMIPS:            4200.00
Virtualization:      VT-x
L1d cache:           32K
L1i cache:           32K
L2 cache:            1024K
L3 cache:            28160K
NUMA node0 CPU(s):   0-19
NUMA node1 CPU(s):   20-39
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts hwp hwp_act_window hwp_pkg_req pku ospke avx512_vnni md_clear flush_l1d arch_capabilities

+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.86.10              Driver Version: 535.86.10    CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  Tesla V100-SXM2-32GB           On  | 00000000:15:00.0 Off |                    0 |
| N/A   28C    P0              40W / 300W |      3MiB / 32768MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

package versions:

accelerate 0.22.0
cuda-runtime              11.8.0                   0         nvidia
cuda-version              11.8                 h70ddcb2_2    conda-forge
cudatoolkit               11.8.0              h4ba93d1_12    conda-forge
cudnn                     <IP_ADDRESS>            h838ba91_3    conda-forge
python                    3.10.12         hd12c33a_0_cpython    conda-forge
pytorch                   2.0.1           py3.10_cuda11.8_cudnn8.7.0_0    pytorch
pytorch-cuda              11.8                 h7e8668a_5    pytorch
transformers              4.33.1                   pypi_0    pypi

Here's the CPU memory every 60 seconds with torch dynamo:
while true; do ps -u pratogab --no-headers -o rss | awk '{sum+=$1} END {print sum/1024 " MB"}'; sleep 60; done
14194.2 MB
14337.6 MB
14480 MB
14623 MB
14764.6 MB
14906.5 MB
15045.9 MB
15188.6 MB
15330.1 MB

And without torch dynamo:
while true; do ps -u pratogab --no-headers -o rss | awk '{sum+=$1} END {print sum/1024 " MB"}'; sleep 60; done
1019.81 MB
1020.14 MB
1020.21 MB
1020.13 MB
1020.04 MB
1020.23 MB
1019.98 MB
1020.05 MB
1020.02 MB
1020.03 MB
1020.18 MB

If you want me to reproduce this on other machines, I can, happened on A100 nodes as well.

Thanks for providing more info, I somehow assumed that you were talking about GPU memory.
I re-ran the script and monitored main memory, comparing accelerate with dynamo, without dynamo, and pure PyTorch with dynamo. Here are the results (measured at 10 sec interval):

So without dynamo, memory usage is pretty much constant but with dynamo, it slowly increases over time, indicating a memory leak. Interestingly, the increase seems to be pretty similar between accelerate vs pure PyTorch. This makes me think that accelerate is not at fault here.
@pratogab Are you able to replicate the leak using pure PyTorch? For reference, this is the script that I used:
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
def main():
    model = AutoModelForCausalLM.from_pretrained('facebook/opt-125m').to("cuda")
    tokenizer = AutoTokenizer.from_pretrained('facebook/opt-125m')

    model = torch.compile(model, backend="inductor")

    while True:
        x = tokenizer(['I like turtles.'], return_tensors='pt')
        x = x.to("cuda")
        output = model(**x)

if __name__ == '__main__':
    main()

Happens as well without accelerate, just pytorch. I'll open an issue on their github. Sorry for that and thanks.

Issue has been fixed in torch v2.1


BUG: Problems occurs when performing a reset with a slower JTAG clock

The fix to the problem was to keep the module busy while performing a reset.

You need to rebase. Or make a new fork from development and apply the patch on top ;-)


Sorting machines can't be placed vertically

All the 3 sorting machines ( alternator, splitter and inserter ) can't be placed facing up or down, making a few things impossible, such as extracting from a furnace ( furnace output can only be extracted from  the bottom )

I'll be adding the ability to place them vertically in the next update, I was discussing this with some other people as well recently.

Did not mean to close this issue, I'll close it once this is added.

Would it be possible to add wrench functionality to these machines and the conveyors as well?  Being able to rotate these blocks in-place would be a big QoL feature.


nvim-tree sometimes closes the newly opened tab

Steps to reproduce

Open a new tab with nvim-tree initialized in a directory. For example: tabe ~/.
Edit a file in this directory. E.g: e ~/compile_flags.txt

The new tab is closed and the nvim-tree opens the file in the old tab.

I've provided a fix in nvim-tree https://github.com/nvim-tree/nvim-tree.lua/pull/2341


Agents aren't talking

Installed and got everything running just fine but my agents don't seem to be talking or doing anything. Most are just standing with a chat bubble and Bob is the only one that has any log of doing something (he started a conversation). Been running for about 10 minutes now. Am I missing something?

I lie, they started chatting... sorry. Sick project though! Excited to play around with it


Allow nested backstack to be retained

Hi 👋 Thanks for the awesome library
I have a use case where I have two screens: A and B.
A has a nested Navigator that navigates between screens AA, AB and AC. Users can navigate from any of the A's nested screens and get to B.
However, upon returning from B → A,  it looks like A screen loses its backstack. Is this intended behavior?
Expected
https://github.com/slackhq/circuit/assets/13775137/a91836f4-45ca-4731-b21b-660a0935c33c
Actual
https://github.com/slackhq/circuit/assets/13775137/88f6c0f0-590f-45be-883d-4c27b1a09a0a
Reproducer here

Can you specify where to look in the reproducer project? It's not super minimal heh

Hi @ZacSweers Sorry, it is in the circuit module here.
This is how I set up the main navigator A,
@Composable
fun MainScreen(
  onBack: () -> Unit,
) {
  val backstack: SaveableBackStack = rememberSaveableBackStack { push(IslandScreens) }
  val navigator: Navigator = rememberCircuitNavigator(backstack, onBack)
  NavigableCircuitContent(
    navigator = navigator,
    backstack = backstack,
    ..
  )
}

and this is the nested navigator B
@Composable
fun ShipUi(state: State) {
  Slide(
    onNext = { state.eventSink(GotoDock) },
    onPrevious = { state.eventSink(GotoIsland) }
  ) {
    val backstack: SaveableBackStack = rememberSaveableBackStack { push(GangwayScreen) }
    val navigator: Navigator = rememberCircuitNavigator(
      backstack = backstack,
      onRootPop = { state.eventSink(GotoIsland) }
    )

    NavigableCircuitContent(
      navigator = navigator,
      backstack = backstack,
      ..
    )
  }
}

It looks like you're not installing LocalRetainedStateRegistry here: https://github.com/xxfast/PirateAdventures/blob/main/circuit/src/androidMain/kotlin/io/github/xxfast/pirate/adventures/MainActivity.kt#L18
Circuit-retained is still currently opt-in, but we're considering enabling it by default in #891

Ah, i see. I must; 've missed this on the docs. Thanks @ZacSweers 👍

Looks like this isn't really documented. Feel free to use this ticket to add this missing documentation, or you may close it and open another :)

It is documented: https://github.com/slackhq/circuit/blob/main/circuit-retained/README.md#installation

I believe it would be beneficial to mention the LocalRetainedStateRegistry setup on the website because I missed this one as well.
In this section maybe?

We have it on the site too: https://slackhq.github.io/circuit/api/0.x/circuit-retained/index.html
We should do an update with the next release now that this will be default behavior though

Roger, thanks


Support  in mat-nav-list

<mat-nav-list> only supports <a> tags. Sometimes, a <button> would be more semantically appropriate; for example, the common "send feedback" menu item.

Do you actually want the new <mat-action-list>?
The idea behind the different list variants is that they each provide a shortcut a specific a11y interaction pattern, with the long-form <mat-list> being dissociated with any specific interaction pattern so people can do something custom.

<mat-selection-list> is a role="listbox"
<mat-nav-list> is for role="navigation" plus anchors
<mat-action-list> doesn't have a direct analog, but it's roughly role="group" around a bunch of buttons

Recently on my radar is the idea of a <mat-menu-list>, which has the same visuals backed by role="menu" and role="menuitem"
In AngularJS Material, the <md-list> tried to be all of those things at once and the accessibility suffered for it, so the approach in this iteration is to provide specific, well-supported interaction patterns and a path where you define your own interaction pattern.

I think I do want a nav list. For my use case, it's in a <mat-sidenav>, and the other items are navigational <a> tags, so not appropriate for action list.
TBH, I don't really like the pattern of feedback being in the sidenav, but it's standard: https://material.io/design/communication/help-feedback.html

The selector for mat-list-item does allow you to use a button, but we weren't doing the proper resets to get the buttons to look correctly. It'll be fixed in https://github.com/angular/material2/pull/13617.


[BUG] Recreated pod pends in ContainerCreating after node deletion

Describe the bug
After deleting a node, the pod running on it gets recreated but is stuck in ContainerCreating status.
To Reproduce
Steps to reproduce the behavior:

Use Rancher v2.6.1 to provision an AWS rke2 cluster with 1 etcd/control and 4 worker nodes.
Install Longhorn 100.1.0+up1.2.2 app.
Create the following storageclass

allowVolumeExpansion: true
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: longhorn2
parameters:
  migratable: "true"
  fromBackup: ""
  fsType: ext4
  numberOfReplicas: "3"
  staleReplicaTimeout: "30"
provisioner: driver.longhorn.io
reclaimPolicy: Delete
volumeBindingMode: Immediate

Create the following PVC/Deployment

apiVersion: apps/v1
kind: Deployment
metadata:
  name: n2
spec:
  selector:
    matchLabels:
      workload.user.cattle.io/workloadselector: apps.deployment-default-n2
  template:
    metadata:
      labels:
        workload.user.cattle.io/workloadselector: apps.deployment-default-n2
    spec:
      containers:
      - image: nginx
        name: container-0
        volumeMounts:
        - mountPath: /mnt/test
          name: vol0
      volumes:
      - name: vol0
        persistentVolumeClaim:
          claimName: p2
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: p2
spec:
  accessModes:
  - ReadWriteMany
  resources:
    requests:
      storage: 1Gi
  storageClassName: longhorn2
  volumeMode: Filesystem

Check which node the pod is running. Delete the node from the cluster.

Result
The pod is recreated and scheduled to a new node. But it is always in ContainerCreating status.
Logs from longhorn-manager(ip-172-31-21-141 is the deleted node):

time="2021-10-14T08:46:03Z" level=warning msg="HTTP handling error unable to detach volume pvc-4e735445-bcf1-4a70-a4b9-6a4ee1b923e5: migration is not ready yet"
time="2021-10-14T08:46:03Z" level=error msg="Error in request: unable to detach volume pvc-4e735445-bcf1-4a70-a4b9-6a4ee1b923e5: migration is not ready yet"
<IP_ADDRESS> - - [14/Oct/2021:08:46:03 +0000] "POST /v1/volumes/pvc-4e735445-bcf1-4a70-a4b9-6a4ee1b923e5?action=detach HTTP/1.1" 500 282 "" "Go-http-client/1.1"
# and a lot of the following
time="2021-10-14T08:50:38Z" level=debug msg="CheckEngineImageReadiness: nodes [ip-172-31-21-141] don't have the engine image rancher/mirrored-longhornio-longhorn-engine:v1.2.2"

Expected behavior
The pod gets running on a healthy node.
Environment:

Longhorn version: v1.2.2

Additional context
The pod will be running using RWO PVC, but it takes ~6 minutes after the pod is recreated.
longhorn-support-bundle_15432e00-ef27-4a1c-92fc-04667fa663ba_2021-10-14T08-38-20Z.zip

@kaxing could you please help reproduce it, thx.


No such file or directory: '/home/notebook/code/personal/S9052995/syn_pro/OpenOOD/data/txtfiles'

Hi, I'm impressed by your wonderful work!
However, I met following bugs which stopped me from reproducing your results.
Traceback (most recent call last):
File "main.py", line 35, in
launch(
File "./OpenOOD-VLM/openood/utils/launch.py", line 84, in launch
main_func(*args)
File "main.py", line 24, in main
pipeline.run()
File "./OpenOOD-VLM/openood/pipelines/test_ood_pipeline.py", line 23, in run
net = get_network(self.config.network)
File "./OpenOOD-VLM/openood/networks/utils.py", line 108, in get_network
net = CoOp_NegOODPrompt(network_config)
File "./OpenOOD-VLM/openood/networks/clip_coop_negprompt.py", line 892, in init
self.model = CustomCLIP(cfg, classnames, clip_model)
File "./OpenOOD-VLM/openood/networks/clip_coop_negprompt.py", line 719, in init
self.prompt_learner = PromptLearner(cfg.backbone, classnames, clip_model)
File "./OpenOOD-VLM/openood/networks/clip_coop_negprompt.py", line 599, in init
selected_adj_text, selected_noun_text, unselected_adj_text, unselected_noun_text = get_selected_ood_text_list(self.OOD_NUM)
File "./OpenOOD-VLM/openood/networks/clip_coop_negprompt.py", line 410, in get_selected_ood_text_list
generate_cossim_idname_wordnet_dedup(classnames, wordnet_processed_path)
File "./OpenOOD-VLM/openood/networks/clip_for_wordnet_prepare.py", line 93, in generate_cossim_idname_wordnet_dedup
text_files = os.listdir(path)
FileNotFoundError: [Errno 2] No such file or directory: '/home/notebook/code/personal/S9052995/syn_pro/OpenOOD/data/txtfiles'
It seems that there is a missing file named "txtfiles", I wonder if you can provide the file, thanks!

Thanks for your attention. You can download txtfiles from: txtfiles


button styling breaks on narrow window

Why cant this just be styled as a simple text link?

Hi @macolo
This is part of django-hijack-admin, the admin related app.
You could define your custom template using HIJACK_BUTTON_TEMPLATE in your settings.py.
See https://github.com/arteria/django-hijack-admin#hijack_button_template for more info.


Redirect if not authenticated?

Hello there!
I am trying to implement this into a new project. Is it possible to redirect the user in case he is not authenticated?
This is what I tried so far but obviously, React is not waiting for react-sanctum to call the API and set the state of the user object.
Is there any way I can redirect the user after the authenticated prop is set as it should be?
class App extends Component {
  render() {
    if (this.props.authenticated) {
      return <MyComponent />;
    } else {
      window.location.href = 'http://localhost:8000/login'
    }
  }
}

Hi! Authenticated is null by default, and after calling the API it will be either true or false. So instead of just having an else statement, you could have:
if (this.props.authenticated === true) {
  // Signed in
  return <MyComponent />;
} else if (this.props.authenticated === false) {
  // Signed out
  window.location.href = "http://localhost:8000/login";
} else {
  // API call hasn't finished
  return <LoadingComponent />;
}

Hi! Authenticated is null by default, and after calling the API it will be either true or false. So instead of just having an else statement, you could have:
if (this.props.authenticated === true) {
  // Signed in
  return <MyComponent />;
} else if (this.props.authenticated === false) {
  // Signed out
  window.location.href = "http://localhost:8000/login";
} else {
  // API call hasn't finished
  return <LoadingComponent />;
}


Azure KeyVault client should support SecureStrings

Although it is unlikely an app inside of Azure would be compromised at the process memory level, it still would be nice if the Key Vault client supported returning a SecureString for the value of the secret.
var secret = await _keyVaultClient.GetSecretSecureAsync(secretId);

var value = secret.SecureValue;

@kamranayub We have certainly considered this, however it might simply be theatre; the AKV SDK is built on a number of layers, including .NET HttpClient, the Hyak layer, JSON.NET and each of these "touch" requests and responses in one or more ways, as either byte[] or string, in the process' memory. As you note, today, you should consider the process to be the security boundary and secure it appropriately.

I don't mean to revive this thread from the grave, but I'm just wondering about the provided answer.
I'm no security expert, which is why I'm asking, but shouldn't security be built in layers, in depth? Meaning you need measures in place if the security boundary of the process is breached.
In the scenario where the client that calls into AKV is hosted on a server, I guess those risks are better managed, but what about a scenario where the client is hosted on a regular desktop machine? I think that scenario would benefit from not having the key-vault values in the clear, in memory.
And of course, you could make the argument that in that case the developers could just as easily mismanage the SecureString and expose them as regular strings. But I'd imagine having more safeguards is better. Having the AKV API return a SecureString and not a string would definitely be an alarm bell for me, in that I have to be careful how I manage that.

Also, would you see any strong reason not to wrap the in-the-clear string in a SecureString on the abstraction that I'm writing over the AKV API?

Also, what's even more interesting is that the DocumentClient constructor accepts the masterKey as a SecureString. Is there a different way of getting the masterKey as a SecureString that I'm missing?

@kamranayub We have certainly considered this, however it might simply be theatre; the AKV SDK is built on a number of layers, including .NET HttpClient, the Hyak layer, JSON.NET and each of these "touch" requests and responses in one or more ways, as either byte[] or string, in the process' memory. As you note, today, you should consider the process to be the security boundary and secure it appropriately.

Dear colleague, layered security principle is that security risk mitigations complement each other, rather than the argument that o-well-other-layers-didn't-plug-the-hole-so-why-would-we? If the assemblies you are using don't have native support for SecureString serialization, that's exactly where you Key Vault as a service for secrets need to pass them only an encrypted payload which when you do decrypt is kept immediately in a SecureString (CryptoStream byte by byte to SecureString followed by dispose to purge the buffers from memory).


0.9.10: Not possible to catch browser.asControl() exception

Hi,
as it is not possible with WDI5's browser.asControl() to check if a element does not exist on the screen, we up to now catched the thrown exception (see issue https://github.com/ui5-community/wdi5/issues/139).
Since version 0.9.10 this does not work anymore, as the catch block is not reached anymore:
    async expectNotToExist(oControlSelector) {
        try {
            var oControl = await browser.asControl(oControlSelector);
        } catch (e) {
            await expect(e.message).toEqual(expect.stringContaining("[wdi5]call of _getControl() failed because of: Error: No DOM element found using the control selector"));
            return;
        }
        //This expect needs to be outside of try-catch, to avoid that a exception of this .not.toExist() call is feteched as well.
        await expect(await oControl.getWebElement()).not.toExist();
    }

The yellow part in the attached screenshot was not print out in earlier WDI5 versions (with log level error):

wdi5/wdio-ui5-service-version: 0.9.10
UI5 version: 1.104.2
wdio-version (output of wdio --version): 7.19.7
node-version (output of node --version): v16.16.0
OS: Windows 10
Browser + Version: Chrome 103.0.5060.134 (Official Build) (64-bit)

thanks for providing the code that we can use as a minimal reproducible example 👍
we‘ll look into this and report back

Hi @sebage,
bug confirmed! Thanks for reporting that issue.
The error with the message control could not be found shouldn't be thrown like that. There should be an additional entry in the log like Can not call "getWebElement()", because control could not be found.
btw: to check that an element is not visible on the screen/does not exist you could als try to use a native wdi5 function called isInitialized(). This will be false when no DOM element was found. Your check could look something like that:
const oControl = await browser.asControl(controlSelector)
expect(await oControl.isInitialized()).toBeFalsy()


RT-2.12: Remove deviation and remove tag-set naming restriction

Remove match_tag_set_condition_unsupported deviation and remove tag-set naming restriction which requires the name to be 'routing-policy-name statement-name'

Pull Request Functional Test Report for #3378 / 08d9830962baafe748986a0beca37c6476042782
Virtual Devices

Device
Test
Test Documentation
Job
Raw Log

Arista cEOS

RT-2.12: Static route to IS-IS redistribution

Cisco 8000E

RT-2.12: Static route to IS-IS redistribution

Cisco XRd

RT-2.12: Static route to IS-IS redistribution

Juniper ncPTX

RT-2.12: Static route to IS-IS redistribution

Nokia SR Linux

RT-2.12: Static route to IS-IS redistribution

Openconfig Lemming

RT-2.12: Static route to IS-IS redistribution

Hardware Devices

Device
Test
Test Documentation
Raw Log

Arista 7808

RT-2.12: Static route to IS-IS redistribution

Cisco 8808

RT-2.12: Static route to IS-IS redistribution

Juniper PTX10008

RT-2.12: Static route to IS-IS redistribution

Nokia 7250 IXR-10e

RT-2.12: Static route to IS-IS redistribution

Help

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

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 55.252%

Totals

Change from base Build<PHONE_NUMBER>7:
0.0%

Covered Lines:
1983

Relevant Lines:
3589

💛  - Coveralls


How to parametrize?

I want to write a load tester that will test very synthetic loads, and I need it to happen in different configurations. Eg. request A + request B, then request B + request C, then A, B, C combined. Stuff like that. Different combinations, different weights.
I might have missed something but it looks like by default goose will run all the defined scenarios mixed together (possibly by weight, etc.) executed by N users. So I don't really see a way to run workload X first, then workload Y, then Z.
I would be OK with running my binary multiple times, each time with some different arguments. However I'm not sure how to best glue it with command line argument parsing already handled by goose. Ideally I'd like to add --workload X command line argument or something like that.
I guess I could use environment variable, and goose will just ignore it, but it's not a best UX: discoverability will be rather poor.

Would the request in https://github.com/tag1consulting/goose/issues/472 solve what you're asking for? I believe it solves the same ask. (It's not yet implemented, but coming soon.)

fn get_opts(args: &[String]) -> color_eyre::Result<(Opts, GooseConfiguration)> {
    let opts = opts::Opts::parse_args_default(&args[1..])?;
    let goose_opts = GooseConfiguration::parse_args(&opts.free, ParsingStyle::default())?;

    if !opts.help_requested() && !opts.help_goose && !(opts.mainnet ^ opts.testnet) {
        bail!("{}: Must set one of: `--mainnet` or `--testnet`", args[0]);
    }

    Ok((opts, goose_opts))
}

#[tokio::main]
async fn main() -> color_eyre::Result<()> {
    let args = std::env::args().collect::<Vec<_>>();
    let (opts, goose_opts) = match get_opts(&args) {
        Err(e) => {
            eprintln!("{}: {}", args[0], e);
            std::process::exit(2);
        }
        Ok(opts) => opts,
    };

    if opts.help_requested() {
        eprintln!("Usage: {} [OPTIONS]", args[0]);
        eprintln!();
        eprintln!("{}", opts.self_usage());
        return Ok(());
    }

    if opts.help_goose {
        eprintln!("Usage: {} [OPTIONS]", args[0]);
        eprintln!();
        eprintln!("{}", goose_opts.self_usage());
        return Ok(());
    }
...

That's the pattern I used so far. Let me check the #472

I actually already added options to turn off and on certain scenarios, so having it somehow built in (e.g. via regex etc.) would help me, but I also have bunch of very weird custom options, so I will still need the extra stuff.
Hover I'm quite satisfied with my workaround.

This is a first time I'm using gumdrop and is irritating me with certain shortcomings (like that it doesn't handle --some-flag=false on bool arguments. I miss clap. :)

We used clap early on, but it had some issues that caused me to remove it (alphabetized help screen that weren't logically grouped, large dependency list, and slow compilation times) -- I believe all of these issues have since been resolved, I'd definitely consider a PR that replaces gumpdrop with Clap again. (I mostly miss the "did you mean" type features)


Xrootd exits with an error when manually exit Pelican

When I ctrl+c at a running pelican cache, xrootd reported an error where it treats SIGINT as a failure but it's not:
^CWARNING[2024-01-17T22:17:57Z] Forwarding signal interrupt to daemons
INFO[2024-01-17T22:17:57Z] Daemon "xrootd" with pid 72957 was killed
ERROR[2024-01-17T22:17:57Z] xrootd process failed unexpectedly: signal: interrupt
INFO[2024-01-17T22:17:57Z] xrootd maintenance routine has been cancelled. Shutting down
INFO[2024-01-17T22:17:57Z] Periodic advertisement loop has been terminated
INFO[2024-01-17T22:17:57Z] server TLS maintenance routine has been cancelled. Shutting down
INFO[2024-01-17T22:17:57Z] Xrootd metrics cache eviction has been stopped
ERROR[2024-01-17T22:17:57Z] Fatal error occured that leads to shutdown of the process: xrootd process failed unexpectedly: signal: interrupt

This issue is void as it's a wrong implementation in #671


⚠ Spryr has degraded performance

In 8208764, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 503
Response time: 3398 ms

Resolved: Spryr performance has improved in b45e4ad after 12 minutes.


Geotagging Implementation

As a user, I would like to have the ability to geotag pictures.
[Story points: 10]
[Risk: Medium]
[Priority: High]

Implementation completed, closing issue as it is merged into develop.


Kentico.Xperience.Libraries dependency in the admin app

Installing the Nuget package will also install the Kentico.Xperience.Libraries package to the admin app which can cause various issues. Moreover, the CMSApp is set to use DLLs from the LIB folder, so whatever is brought to the app by the package, can be overridden after building the project. Also, users must be really careful on the hotfix versions applied, package versions installed, etc. It does not sound like a good practice.

One of the main issues this NuGet package is in use is that teams/partners/customers have made reusable NuGet packages and Kentico did not create an "Admin" or shareable NuGet package for KX13 like we did for K12 or previous versions and there wasn't any guidance on how to make these kinds of packages.

Thanks Sean for your explanation!


TotalSegmentator fails to download model on macOS with Python <3.10

Hi @wasserth
I am Ashis, from the MITK development team (along with @kislinsk, @rfloca) working to integrate TotalSegmentator for our upcoming release. I want to report an issue we are facing very recently on macOS (Monterey, Ventura Intel/M1).
It seems urllib3, the HTTP library used by TotalSegmentator is crashing with the following error:
Traceback (most recent call last):
  File "/Users/ashis/environments/totalseg3.9/bin/TotalSegmentator", line 8, in <module>
    from totalsegmentator.python_api import totalsegmentator
  File "/Users/ashis/environments/totalseg3.9/lib/python3.9/site-packages/totalsegmentator/python_api.py", line 11, in <module>
    from totalsegmentator. libs import download_pretrained_weights
  File "/Users/ashis/environments/totalseg3.9/lib/python3.9/site-packages/totalsegmentator/libs.py", line 13, in <module>
    import requests
  File "/Users/ashis/environments/totalseg3.9/lib/python3.9/site-packages/requests/__init__.py", line 43, in <module>
    import urllib3
  File "/Users/ashis/environments/totalseg3.9/lib/python3.9/site-packages/urllib3/__init__.py", line 38, in <module>
    raise ImportError(
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with LibreSSL 2.8.3. See: https://github.com/urllib3/urllib3/issues/2168

As you can see, the Python version is 3.9 on my Intel MacBook with Monterey OS.
Upon some investigation, I have found this issue to be linked to the latest urllib3 release being unforgiving with Python < 3.10. Ref: Here, the link in the error message.
Rightfully so, the  TotalSegmentator(urllib3) works all right if installed in a Python 3.10 virtual env on my MacBook.
It would be great if you can fix the version of the urllib3 package e.g., to 1.26.15 explicitly and, other critical dependencies so that installations wouldn't break sooner or later due to such version conflicts & deprecations.

Thanks for pointing this out. I will try to fix it.

I pushed a fix to the master branch. Can you check if it works for you know?


Support aws_eks_cluster

cf https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eks_cluster
User @BROMANDO COMMANDO upvoted this one on discord 2021/3/9

Waiting for #898


⚠ Bofrost.lu has degraded performance

In ebb45f0, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1414 ms

Resolved: Bofrost.lu performance has improved in 53951f0 after 6 minutes.


Fixed #16

This pull request introduces a new sidebar component to the website. The sidebar provides a navigation menu with the following features:

Navigation functionality
Search functionality
User profile

Give me a picture of what you did. According to your description it saying you have done the navBar.

Image 1: Collapsed Sidebar

Description: "Sidebar in expanded state, showing all navigation options and content."
Image 2: Expanded Sidebar

Description: "Sidebar in collapsed state, showing only the hamburger menu button."


Unable to assign vector if they are calling operator

Hi I have a script like that
SekaiEngine::Math::Vector2D mouseOffset = m_circle.Center - m_offset;

And when I built with MSVC the error show like that
error C2440: 'initializing': cannot convert from 'const SekaiEngine::Math::CommonVector<2>' to 'SekaiEngine::Math::Vector2D

Is there anyway I can fix that

Hi, We already saw your problem.
There are 2 way to fix it

First:
SekaiEngine::Math::CommonVector<2> mouseOffset = m_circle.Center - m_offset;
. This the the base of Vector2D but in that case, you can't access to the dimesion value of vector
Second:
SekaiEngine::Math::Vector2D mouseOffset(m_circle.Center.X() - m_offset.X(), m_circle.Center.Y() - m_offset.Y());. This is not really the convenient way but you can take advantages of Vector2D.

Thanks for reporting us. We're gonna fix it on next update.

Hello, this bug has been fixed in v0.1.0


fix: check for --run-dev and --run-prod before other flags

This PR contains a:

[x] bugfix
[ ] new feature
[ ] code refactor
[ ] test update
[ ] typo fix
[ ] metadata update

Motivation / Use-Case
Like the code comment explains, these shortcut flags should be checked before others, so that they can set other flags. These checks were ordered alphabetically in previous refactoring, causing --run-dev to not set --debug and --devtool=cheap-module-eval-source-map like it should. This PR fixes the issue by moving the checks for these flags first again.
Breaking Changes
None
Additional Info

I'm not familiar with the testing setup here. Can I just edit the snapshot to match, or should I fix the tests in some other way?

@amakinen thanks for the PR :beer:
You'll need to run npm run test -- --update to update the snapshots


Update mapping.ts

Integration of the staking of the NFT Collection AZL NUTZZ

hey could you rebase off main and will merge?

closing due to inactivity


Update MODID to match what is generated for mcmod.info

If the modid in mcmod.info doesn't match the modid attribute in the Java class, there is an error in the logs about being unable to find mcmod.info and the mod information is not displayed in the in-game mod list:

I made it so the generated Java class uses the same template variable as mcmod.info.

Awesome @droidix Thank you for submitting the first pull request.
Can you also add to your pull request the corresponding changes to the mcmod.info file? (i.e. the "modid" needs to match the name in the .java file)

Yes @mluparu, this should now be updated.  I overlooked the 1.8 example mod's mcmod.info file since the 1.7.10 already conained $projectname$.

merged! Thank you


Add simple query string query

Adds support for the simple query string query

Coverage increased (+0.04%) to 99.61% when pulling 26b173f31fa9278021795f9ff53ea1ba407814c6 on HeroicEric:add-simple-query-string-query into 1ba6f2b6485feb8e050b4289cd0acfaff4b8ac98 on cschuch:master.

I'm not sure if there's a simpler/more direct way of testing a Virtus attribute

Coverage increased (+0.04%) to 99.61% when pulling 26b173f31fa9278021795f9ff53ea1ba407814c6 on HeroicEric:add-simple-query-string-query into 1ba6f2b6485feb8e050b4289cd0acfaff4b8ac98 on cschuch:master.

Would you mind also releasing a new version?

@HeroicEric - thanks! Sorry it took me a while, I was on vacation this week and forgot to release a new version with your last PR. I just pushed 0.0.17 as a release on github and on rubygems.

@cschuch thanks!


Installation guide points users to inaccessible PulseUI repo

Hi,
The installation guide located here asks users to add a package dependency with a URL of https://github.com/kean/PulseUI which requires access, now that the framework is available for free, should the documentation be updated to point to https://github.com/kean/Pulse?
PS. Thank you for your work on this project, and for providing it for free - I was looking to get all of my dependencies through SPM and this filled the last gap - network debugging, while providing the added benefit of supporting more general logging. The integration proved to be quite easy (even before URLSessionProxyDelegate.enableAutomaticRegistration(), it wasn't too difficult to get the proxy injected into AWS's Amplify framework, though it's even nicer with automatic registration).

Thanks for reporting, @nmccann. I updated the guide.
https://github.com/kean/PulseUI was only needed when Pulse was only available for GitHub Sponsors.


Shims: strongly link swift_isStackAllocationSafe on !Darwin

Windows objects to the multiple different aliases for
swift_isStackAllocationSafe.  Use strong linkage on all non-ABI stable
targets.  This should repair the Windows build and matches the
conditional emission in the stdlib.
Thanks to @lorentey for the discussion around how to handle this and the
pointer to where this was getting introduced!

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci please test

CC: @lorentey

Going to merge this for now to restore the Foundation build on Windows.


export object page: add setting for only main language

added possibility to set the flag for serializing only main language, default checked,

merging


[$500] Category - Long category name pinned to the left margin and not has indented

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: 1.4.44-11
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Issue found when executing PR https://github.com/Expensify/App/pull/37389
Action Performed:
Precondition:
The user is an employee of Collect workspace
The Collect workspace has a long category name

Launch App
navigate to Workspace chat
Open the request money page
Tap on "Show more" > Category and scroll to Long Category to check it
Create a manual request and proceed to the confirmation page

Expected Result:
Long category names should be shown for the entire line.
The long one should be indented too after "levels" (in this case)
Actual Result:
Long category names are pinned to the left margin.
The long one doesn't have indented too after "levels" (in this case)
Workaround:
Unknown
Platforms:

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

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

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/bd46efc3-f178-419c-9c59-df62881f8658

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01467b731ab89b66e3
Upwork Job ID:<PHONE_NUMBER>871376896
Last Price Increase: 2024-03-20

We think that this bug might be related to #wave6
CC @greg-schroeder

@neonbhai this is probably also a regression from your PR. I'm going to mark not a blocker, but let's definitely fix.

Can't reproduce.

@lanitochka17 - Can you please re-test and see if you can reproduce?

Issue is not reproducible
https://github.com/Expensify/App/assets/78819774/b5131cef-778f-4cd6-bf13-793c177d18e4

Issue not reproducible during KI retests. (First week)

Can reproduce so closing


Additional Metadata Fields for Compatibility with FDC and PTFI

There are some fields that MIFC would need to store metadata used by Food Data Central and Periodic Table of Foods Initiative. These would fall under the food slots category.
Fields we need that are represented in Food Data Central sample data:
food_acquisition_store_name
food_brand_name
food_sell_by_date
food_sample_lot_number
food_acquisition_label_weight
food_acquisition_label_weight_unit
Fields we need that are in Periodic Table of Foods Initiative metadata:
food_breed_or_cultivar (e.g. "sockeye")
food_organism_name (e.g. "Oncorhynchus nerka")

Per our discussion this morning, we should also add:
food_country_of_origin
This corresponds to the PTFI field "Food Origin Location" which contains a two-letter country code.

Thanks again @GregLyonJIFSAN for submitting this issue! I'll tackle these one at a time.

food_country_of_origin

Yes agreed we need a field like this, while parsing SR I also found this but just didn't get around to adding it to the schema yet. I was thinking food_origin_country to have less characters in the labels, perhaps we need to write a style guide for attribute names.
The more important issues is whether to go with ISO 2 or 3 letter country codes. I am pretty convinced by the arguments in https://andrewwhitby.com/2021/01/08/the-right-country-codes/ for 3 letter being better (basically it's less ambiguous than the 2 letter code). If anyone thinks the 2 letter code is better though please speak up. I'll make a new issue for this. My thinking was to have this be a an ENUM in MIFC with all the iso 3 letter codes and their names, perhaps we can also map that to their iso 2 letter codes so that all the info they need is in MIFC to map if they are using the 2 letter code (such as the PTFI data).

food_acquisition_store_name

I think we should follow the pattern we have with food_acquisition_location_type where the FoodAcquisitionLocationTypes (enum from PTFI's metadata sheet) which includes places other than just grocery stores e.g. a farm field biobank etc. So for this I propose we go with food_acquisition_location_name which could be the name of a store (e.g. Safeway).

food_brand_name

I think this makes sense as is, perhaps one could argue for company name instead but I think brand is understandable to many people around the world.

food_sell_by_date

MIFC currently has food_expiration_date but at least in the USA there are several dates associated with foods see this post from USDA Food Safety Inspection Service where they describe "Best if Used By/Before", "Sell-By", “Use-By", “Freeze-By” dates. This publication from UConn describes more. I think this could be it's own issue too to get all of these in. For now I can add food_sell_by_date.

food_sample_lot_number

Lets go with the label food_lot_number
Description: A string denoting the identifying lot number number assigned by a manufacturer to a particular quantity or lot of the sampled primary food material.
Comment: Can also be referred to as lot code.

food_acquisition_label_weight

Lets go with food_label_weight as were using acquisition for when the a primary food material is sampled from a point of collection (aka bought by researchers at a store).
Description: A float denoting the weight, (or mass on earth) as specified on the product label of a sampled primary food material.
Comment: This field should be used in along with food_acquisition_label_weight_unit to express the units the food_label_weight was measured in.

food_acquisition_label_weight_unit

Lets go with food_label_weight_unit
Description: A unit code representing the unit of measurement in which a food_label_weight is measured.

Looking into the last two requests:

food_breed_or_cultivar (e.g. "sockeye")

food_organism_name (e.g. "Oncorhynchus nerka")`

For the organism name I believe it's usually referred to as binomial nomenclature or a scientific name (of an organism),  e.g., Brassica oleraceae. We also might want to be able to annotate the scientific name of food which is primarily that organism but with some additives or minimal processing, e,g., dried, salted Nori seaweed, or filleted anchovies canned in oil. Hence I think we should start the attribute name with "food_primary_type". Perhaps we can go with something like food_primary_type_scientific_name
For cultivar we might want to separate this out more. For example the The International Code of Nomenclature for Cultivated Plants (ICNCP) governs rules for naming cultivated versions plants (including algae and fungi). From my understanding of the ICNCP system they have three possible designations Cultivar, Group, and Grex (horticulture).
From this https://biologydictionary.net/cultivar/ post, in the literature could express a plant cultivar name with: Scientific name (Group name) ‘Cultivar name’ and example of which is: Brassica oleraceae (Capitata) ‘King Cole’. Note that's a wild cabbage cultivar that I couldn't find elsewhere online.
For MIFC to incorporate the ICNCP system using a more common cultivar as example the Savoy King cultivar of "Savoy Cabbage" we could do the following:
food_primary_type_scientific_name -> "Brassica oleraceae"
food_primary_type_icncp_group_name -> "Capitata"
food_primary_type_icncp_cultivar_name -> "Savoy King"
Although it should be noted that sometimes "variety" and "form" are used in scientific names which I'm understanding the ICNCP system doesn't use? E.g. Savoy cabbage can have "Brassica oleracea var. sabauda L." as species name also "Brassica oleracea var. capitata f. sabauda". In which case one of those scientific names could go in food_primary_type_scientific_name. It could also make sense to have a link to an NCBITaxon identifier. In this case "Brassica oleracea var. sabauda" has Taxonomy ID: 1216010 which could be found from the taxon browser https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?id=1216010 as well as in an ontology format from http://purl.obolibrary.org/obo/NCBITaxon_1216010. Foodon is adding these linkages within their terms but for MIFC if not using foodon perhaps having a slot for the NCBITaxon ID could be useful as well. e.g., food_primary_type_scientific_name_taxon_id.
The example of sockeye Salmon actually points to a different issue. Oncorhynchus nerka is a unique species, and sockeye is one of several synonyms/common names for that species. At the moment this could be handled in MIFC by annotating the food_primary_type with a vocabulary/ontology system like the Foodon Ontology (FOODON) such as "FOODON:02021848" which has a corresponding food_primary_type_label as "sockeye salmon". Generic food composition tables might not always make use of a controlled vocabulary (but that's a separate conversation if we force this to be required in MIFC).
For animals there exists the International Code of Zoological Nomenclature (ICZN) code which in addition to the bionimal species name can also include a subspecific name or subspecies name e.g., Giraffa camelopardalis rothschildi. In zoology the subspecies is the only rank below species and can be added to the scientific name like in the example above. So for MIFC the food_primary_type_scientific_name should be sufficient to capture the trinomial name if know.
However this still doesn't address the issue of breeds. From what I'm gathering in my research, unlike with plants that have a system for cultivar names, it seems for animals like dogs or cattle there are just names of breeds, e.g., Wagyu Cattle from resources like  https://breeds.okstate.edu/cattle/wagyu-cattle.html that are managed by national Registries and Breed Associations. So perhaps we just need to add a MIFC attribute like food_primary_type_breed_name

I'm not sure however, to what extent the ICNCP system is used in food science or botany generally. Would need input from someone with more expertise in the field. Although there is probably more discussion needed with the content of the previous post, for now we could add the following slots:
food_primary_type_scientific_name
food_primary_type_icncp_group_name
food_primary_type_icncp_cultivar_name
food_primary_type_animal_breed_name
I'd be open to arguments to remove the ICNCP reference if it's not useful but will wait to get more feedback before doing so.
Although more discussion maybe helpful we could also add a slot for the NCBITaxon identifier or ontology CURIE. Which could be something like food_primary_type_ncbi_taxon_id.

Thanks @kaiiam, the nomenclature choices sound good.
The distinction between breed and cultivar will require the Foundation Foods QC application to determine whether the food species in question is an animal or a plant/fungus. This should be possible by querying NCBI's taxonomy API and parsing the relevant data to obtain the species' kingdom. The NCBI's API should also allow us to fill in the food_primary_type_ncbi_taxon_id for most cases.
I will go ahead and mark this issue as closed.

The distinction between breed and cultivar will require the Foundation Foods QC application to determine whether the food species in question is an animal or a plant/fungus

I understand there could be some other modeling choices made it'd would be good to get more community feedback to help sort issues like this for now it's my best scientific judgment and we can use it for the beta-versions of MIFC. Thanks again @GregLyonJIFSAN for all you requests.


Possible To Add Support For Tasks on Lines Starting With "*"?

The majority of my notes have unordered lists denoted by asterisks instead of dashes. Would it be possible to support tasks on lines denoted as such?
Thanks for such a great plugin!

Yeah I can do that. I wasn't aware that was a format that was used for checklists. Should be an easy add

fixed in 1.2.0