Issues with Links

Hi,
I have an issue with Links. Whenever I have the app selected as my current app and I click on a link it opens the long form version. That is what I would expect.
However, when I do then same thing while holding the “CMD” button I would expect the link would open. But it does not. It does the same thing as not holding the button.
To make this more confusing, when I click on a link, while holding the “CMD” button while having another app selected as my active one, the link opens without a problem.
Has anyone else had this issue? If yes, how can you fix it?
I would be grateful for any advice, as I use tons of links and it's a shame they are not working right.
Informatoin about the system:

MacOS 13.0
Apple Silicon M1Max
Joplin 2.9.17
Plugin – Latest Version

Hi @moritz453
I don't understand the issue that you're having. It sounds like you're saying that you're able to follow links when CMD is not pressed, but not when it is pressed? Is it possible that you have set that behavior in the settings?

I have attached a little GIF (I hope that works on here) where I think you will be able to see the issue.
It seems that holding the CMD key sometimes works and sometimes not. In the GIF I never let go of the button. (The screens turns white as I was only recording part of the screen.) As you can see one time it works and one time it does not. I have found that being in the same row before clicking also increased my chances of it working. (Mind you I am always in markdown mode.)
Opening a link ALWAYS works when hold CMD and having another window active before clicking.

One more thing I just realized. I think the issue may also be because by the following Plugin: https://github.com/SeptemberHX/joplin-plugin-enhancement
If that is the case, please accept my apologies for opening the issue in the wrong repo. I will move it immediately of course.

Thanks for the gif, that really helps demonstrate the issue. Based on the gif I would guess that the issue that you're seeing does come from the enhancement plugin, because the hiding feature comes from there and not rich-markdown.
Do you have both plugins installed (enhancement and rich-markdown)? If so these plugins can actually conflict with each other causing issues like this. You should be able to uninstall this plugin without losing any behavior because the enhancement plugin actual includes the source code for this plugin, no need for both.


Release 6.5.3 missing normalize

What should happen?
The normalize dependency should be part of the vendor dependencies.
Is it supposed to?
What happens instead?
It's no longer part of the foundation npm package
Test Case and/or Steps to Reproduce (for bugs)
How to reproduce:
1 - Install the foundation-sites package: npm install foundation-sites
2 - Run the app and the normalize import fails: @import "../node_modules/foundation-sites/_vendor/normalize-scss/sass/normalize";
Your Environment

Foundation version(s) used: 6.5.3
Browser(s) name and version(s): Chrome Version 75.0.3770.142 (Official Build) (64-bit)
Device, Operating System and version: Windows 10
Tech Stack: Angular 8.1.2

Hi @jgomesmv,
The vendor dir is not part of the distribution package.

Hi @jgomesmv,
Thanks for reporting this. We will check this.

Hi @jgomesmv,
Thanks for reporting this. We will check it.

Addendum:
http://necolas.github.io/normalize.css/
Version 8.0.1 is the current version
Foundation 6.5.3 is using
/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
html {
@charset "UTF-8";
/**

Foundation for Sites by ZURB
Version 6.5.3 (It is so nice to have the version number here!)
foundation.zurb.com
Licensed under MIT Open Source
*/
@media print, screen and (min-width: 40em) {
.reveal, .reveal.tiny, .reveal.small, .reveal.large {
right: auto;
left: auto;
margin: 0 auto; } }

/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
html {

We include normalize as node_module. See https://github.com/zurb/foundation-sites/blob/develop/scss/vendor/normalize.scss
You should be able to find it in the local directory, see<EMAIL_ADDRESS>

https://github.com/zurb/foundation-sites/blob/develop/scss/vendor/normalize.scss
You should be able to find it in the local directory, see<EMAIL_ADDRESS>

This was changed about 1 year ago and there should be no reference to the old normalize file in the root _vendor folder.
See https://github.com/zurb/foundation-sites/commit/6e72435b29d7b75be91e7ea5c256efc126392b7f

Yes you are correct I just checked the file path scss/vendor/normaliza.scss and the file it's there, but for some reason some foundation styles are not being loaded on my angular solution.
Like this on an anchor tag:

I'm loading the foundation.scss and my settings file after:

Am I doing something wrong?

Like this on an anchor tag:

Did you add these? It looks like they are applied.

No. This is an example in another solution were we are also using foundation-sites :)

So far it is still there in scss/vendor, see<EMAIL_ADDRESS>and it's still part of the released files.
<EMAIL_ADDRESS>

Can you try the following?
https://foundation.zurb.com/sites/docs/sass.html#adjusting-css-output
https://github.com/zurb/foundation-zurb-template/blob/master/src/assets/scss/app.scss

Also can you share the full error regarding

Run the app and the normalize import fails: @import "../node_modules/foundation-sites/_vendor/normalize-scss/sass/normalize";

Because this should not be referenced anywhere.

Also can you share the full error regarding

Run the app and the normalize import fails: @import "../node_modules/foundation-sites/_vendor/normalize-scss/sass/normalize";

Because this should not be referenced anywhere.

Closing as inactive. If the issue still exists, please let us know and we'll reopen it.


[Parse] Create SwitchStmt nodes for switch statements with errors

At the moment, if there is an error in the switch statement expression or if the { is missing, we return nullptr from parseStmtSwitch, but we consume tokens while trying to parse the switch statement. This causes the AST to not contain any nodes for the tokens that were consumed while trying to parse the switch statement.
While this doesn’t cause any issues during compilation (compiling fails anyway so not having the switch statement in the AST is not a problem) this causes issues when trying to complete inside an expression that was consumed while trying to parse the switch statement but doesn’t have a representation in the AST. The solver-based completion approach can’t find the expression that contains the completion token (because it’s not part of the AST) and thus return empty results.
To fix this, make sure we are always creating a SwitchStmt when consuming tokens for it.
Previously, one could always assume that a SwitchStmt had a valid LBraceLoc and RBraceLoc. This is no longer the case because of the recovery. In order to form the SwitchStmt’s SourceRange, I needed to add a EndLoc property to SwitchStmt that keeps track of the last token in the SwitchStmt. Theoretically we should be able to compute this location by traversing the right brace, case stmts, subject expression, … in reverse order until we find something that’s not missing. But if the SubjectExpr is an ErrorExpr, representing a missing expression, it might have a source range that points to one after the last token in the statement (this is due to the way the ErrorExpr is being constructed), therefore returning an invalid range. So overall I thought it was easier and safer to add another property.
Fixes rdar://76688441 [SR-14490]

@swift-ci Please test


ALIAS - error in ABL Langage server log and sonarlint

Here is my case :

I have a standard database with a logical name "Bob". It's always the same logical name.
The physical name may change, so the *.df and *.db have a different name (for exemple : "Bob3" for the 3rd version of Bob)

It's defined like that :
    {
        "name": "Bob",
        "connect": "-db Resources/Undeployed/Databases/db/Bob3 -RO -ld Bob",
        "dumpFile": "Resources/Undeployed/Databases/df/Bob3.df",
        "aliases": ["BobFriend"]
      },

Here is the output of the langage server
[2023-07-24T18:02:46.058+0200] [ERROR] Creating alias BobFriend for unknown database Bob

If I use the alias, my program compile.
DEFINE BUFFER toto FOR BobFriend.customer.

But there is a proparse error :
[2023-07-24T18:12:08.206+0200] [ERROR] Proparse error in 'demo.p' at position d:\Openedge\workspace-oe11\demo\Src\demo.p:1:24
[2023-07-24T18:12:08.206+0200] [INFO] Compilation successful: demo.p

There's an internal ticket about this problem. That will be fixed in the next release (in August).

Thanks 👍
Other question : would it be possible to automatically add the -ld depending with the name ?

Done

Note: the -ld is not added, you have to include it in the connection string. Adding -ld would break dataserver connection strings for example.


Add ShapeType to ShapeExpr.checked_type during construction

This PR adds ShapeExpr.checked_type during construction.
Since ShapeExpr is a leaf node, it's best to add shape_ and checked_type_ as early as possible.
cc @YuchenJin @tqchen

Thanks @Hzfengsy!


Big Pipe pockets are bigger than they should be

Big Pipe has 5 double slot pockets, Birdeye and Knight pockets were fine.

Attachments

Captura de pantalla 2024-09-03 142545.png (95 KiB)

Originally written by Pepitonax

With the new update, they added the M60 as part of his loadout, so bigger pockets are needed to put ammo boxes.

Originally written by Pepitonax


Poor tooltip name and description for Visibility addin (ArcGIS Pro)

When I hover over the Visibility addin the following tooltip is displayed:

"Show Visibility" - there is no reason to use the verb "Show". Users know that the tool will open or do something.
"Show Visibility Dockpane" - This doesn't help the user at all. We should be describing what the user can do with the addin. Look at other tools and see how they describe the tool.

Tooltip name and description should be:
Visibility
Perform Linear (LLOS) and Radial (RLOS) line of sight analysis. LLOS determines if a target(s) is observable from an observer(s) location. RLOS determines what is visible from observer(s) location based on a given distance and a field of view.

@elinz Ready for testing

I have verified that this has been fixed in the single visibility add-in in ArcGIS Pro 1.4. It is not fixed in Military Tools add-in. @kgonzago FYI.

@kgonzago @dhagens I am going to close this issue as well based on the fact @kgonzago  is going to do the updates in Military Tools


fix memorypressue and diskpressure descriptions

Clarified descriptions for node conditions.
Fixes issue #4357
Additional Q: would it be useful to link from this location in the doc to this? https://kubernetes.io/docs/tasks/administer-cluster/out-of-resource/#kubelet-may-not-observe-memory-pressure-right-away

This change is

/assign @yujuhong
/unassign @caesarxuchao


Issue with IF in query to expose graph vocabulary

Given the following SPARQL query to expose the graph vocabulary
SELECT DISTINCT ?t ?p ?pType
WHERE {
    ?s ?p ?o ;
        a ?t .
    BIND (
    COALESCE(
        IF(isIRI(?o), "Resource Predicate", 1/0), "Literal Predicate") AS ?pType)
}
GROUP BY ?t ?p ?pType
ORDER BY ASC(?t) ASC(?p)

The ?pType values should vary between string values "Resource Predicate" and "Literal Predicate". Instead the response returns  the Typed Literal "inf"^^xsd:decimal
See also: https://qlever.cs.uni-freiburg.de/olympics/omGmkL
Is there something wrong with the formulated Query? I get correct results with Jena Fuseki...

Hi,
For performance reasons QLever doesn't distinguish between xsd:decimal and xsd:double.  All decimal and floating point values are treated as (finite precision) floating point numbers. This currently also extends to the corner cases of numerical computations:
1/0 is infinity, 0/0 is not-a-number.
According to the SPARQL standard,  this behavior is correct if both the arguments are xsd:double, but for xsd:decimal the result should be Expression Error which should trigger the second case of your COALESCE.
Just for interest: Is this a real-world query, because then the COALESCE is redundant and you can use a single IF,
or are you trying out all the corner cases of the SPARQL standard to test the compliance of engines (in which case I have given you the explanation for QLever's current behavior, and am open for discussions on how important this behavior is practice.

@joka921 thanks for your input and you're right; the COALESCE is redundant in this specific query. I picked it up during a course on rdf and sparql, but I find it a useful query to familiarize with a new graph


public void com.onarandombox.MultiverseCore.listeners.MVPortalListener.entityPortalCreate

Server version:
Paper version git-Paper-60 (MC: 1.17) (Implementing API version 1.17-R0.1-SNAPSHOT) (Git: 4713937)

Full output of /mv version -p:
https://pastebin.com/LziRLzAT

Server log:

[19:25:02] [Server thread/WARN]: [Multiverse-Core] "Multiverse-Core v4.3.1-SNAPSHOT-b847" has registered a listener for org.bukkit.event.entity.EntityCreatePortalEvent on method "public void com.onarandombox.MultiverseCore.listeners.MVPortalListener.entityPortalCreate(org.bukkit.event.entity.EntityCreatePortalEvent)", but the event is Deprecated.
"Server performance will be affected"; please notify the authors [dumptruckman, Rigby, fernferret, lithium3141, main--].
Details
it be warned log .

#2000


Add a dummy file so we can import configs

This is same with caching's https://github.com/knative/caching/commit/64d6830ca6ddf965bf2ac7354526f502451bf138 but for networking.
/cc @mattmoor @tcnghia @ZhiminXiang

/lgtm


Dependencies and Wayland

Hi,

When installing ipygany with conda, dependencies were not installed automatically. For me, at least VTK was not installed. I had to install VTK manually later. I checked the dependencies with conda search -c conda-forge ipygany=0.3.3 --info, it only showed: ipywidgets >=7.5.0, numpy, python >=3.5, and traittypes.

In Linux, browsers using Wayland backend did not properly show figures. (But when using X11 backend, both Chrome and FireFox worked fine.) Here are snapshots of what were shown in FireFox when using Wayland (from the notebook in the example folder):

And the last two just showed nothing.

Thanks for reporting.
Concerning your first point, vtk is not a hard dependency. You don't have to use vtk for ipygany to work. It's only if you use Mesh.from_vtk functions that it will be needed.
The second issue is very odd. I'll try and find time to give it a shot. Do you see basic ThreeJS examples working on Wayland? https://threejs.org/examples/?q=node#webgl_loader_nodes

Again, concerning the first, we should maybe explain this in the README. ipygany is lacking documentation anyway.

Most examples from threejs.org worked. But two of them behaved differently from X11 backend. The trefoil knot did not have colors:

And also the last example, the content on each square plate disappeared:

Other examples worked fine.
So I guess it's the browser's problem? (I only tested Firefox in Wayland because I don't know what other browsers have native Wayland support.)

Can you paste here the errors you see in the JavaScript console?
The ThreeJS example that is the closest to what ipygany does is this one I guess: https://threejs.org/examples/?q=node#webgl_materials_nodes

Sorry I'm not familiar with JavaScript and web stuff. I guess this is what you wanted (the web console output of the example Jupyter notebook)?

The browser later crashed. Firefox just said Exiting due to channel error. when it crashed.
The specific example you suggested from ThreeJS worked fine.
I think I can just leave and close the issue? I feel like this has nothing to do with ipygany. It looks like more about the browser and Wayland.

I feel like this has nothing to do with ipygany. It looks like more about the browser and Wayland.

I agree. Maybe a webgl extension does not work with Wayland. I am not really sure.


React Context API: Cannot access value from render props in styles

Do we need a plugin or is there something else I'm missing?
Working (not working) example:
https://codesandbox.io/s/y36q6lvzx1

@kof I'm not too familiar with codesandbox but I'v tried to create one here https://codesandbox.io/s/y36q6lvzx1

tried to reload? I don't see a code that is broken

Apologies @kof, you should be able to see it working now

Ok you are not passing props to that component where you try to render styles.

@kof My question is, is it possible to do, or can I request a feature?  So could you please re-open the issue?

No, you are using context inside of the app, but you render styles as a HOC of the APP, so nothing is passing your context as props to the HOC that renders styles

Pass the props to the component that renders the styles, you need to refactor your code, thats it.

Ok so I guess we wont ever be able to use values from render props

No, thats not what I said.


KeyError: 'LlavaConfig'

When I run the CLI Inference for a sample image, there is a issue named "KeyError: 'LlavaConfig' ".
Does anyone help me to slove this issue? Thank you guys!

When I run the CLI Inference for a sample image, there is a issue named "KeyError: 'LlavaConfig' ".
Does anyone help me to slove this issue? Thank you guys!

Hello, have you managed to solve this issue?


dnsmasq no obtain ip redmi android

dnsmasq could not dock dhcp socket error -

hi did you find a solution for this?


Labview exe Automation

Describe the bug
I was given an application written in Labview. I tried running the UIA2 and UIA3 and the only things that can be found are the title bar. all the buttons and objects actually in the application can't be found. I tried FLAUI Inspect and the same thing, it found the title bar but nothing else in UIA3 interop and UIA2 managed.
what can i do to automate this application
Code snippets
Show code snippets of the part that did not work.
Screenshots
Add screenshots of FlaUInspect/Inspect to show your controls with issues.
Additional context

Add any other context about the problem here.

If the application does not provide any accessibility information, there's not much you can do. The only thing you could do is using the mouse or keyboard to automate it as good as possible.


I click on a note to show more but the note doesn't appear in the thread

Hi,
I click on a note to show more but the note doesn't appear in the thread.
To reproduce: Click on the note from Rabble user, the note that start with: Why are there 5.5....
Link here: https://primal.net/e/note17cqrqrlg2scjtvncej6ggusvhlud3zqc69e5n98qgu04nt86fhmqqljuuk
Video:
https://github.com/PrimalHQ/primal-android-app/assets/1178856/ef6708df-e236-46fb-84a4-a24fcff9b745

Can you post the note id of the note which has a reference to "Why are there 5.5...." note?
The link you provided opens some other note.

The link you provided opens some other note.

For me opens the note that I described.

Can you post the note id of the note which has a reference to "Why are there 5.5...." note?

Maybe this one? note16n25qrghfc30kt76vaw7q7ljn6f8kyp0v4hxhqjndnmntxps4qssx7tfns


[ARM] managedapp definition update: Add new command for updating managedapp definition

Feature request: #16740
Description
In the past, managedapp definition create could support both adding and updating, it is not a good design to update with the command named create.
So in order to make the naming of the command consistent with the actual function, a new command with the same function as managedapp definition create is added.
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

ARM


Update BUILDING.md

Hello snmalloc developers. I was going through the build in my project and saw a couple of things that might need updating.
First, it looks like Visual Studio 15 aligns with 2017, not 2019.
It appears this style of generator name "Visual Studio 15 2019 Win64" are for compatibility with CMake versions before 3.1 which was around 2014. In modern CMake, the Visual Studio generator is specified like so:
cmake -G "Visual Studio 15 2017" -A Win32
cmake -G "Visual Studio 15 2017" -A x64
cmake -G "Visual Studio 15 2017" -A ARM
cmake -G "Visual Studio 15 2017" -A ARM64
Since you mention VS 2022 being used in CI regularly, it seems like that should be the generator used in the doc.
The path to malloc.cc and new.cc seem incorrect. Maybe it changed overtime and wasn't updated in the doc.

Closed by #705


how to see the blazor version in the project ??? !!!

@yoosYyd commented 9 hours ago

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

ID: c07e57dc-526f-9479-4695-de7d8f06eb9a
Version Independent ID: 8226ed72-69b2-3c93-a931-218bd11cf9c8
Content: Get started with ASP.NET Core Blazor
Content Source: aspnetcore/blazor/get-started.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

We won't be covering it, but something like ...
System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription

... will get it ... depending on what you mean by "blazor version."
This ...
<p>
    Version: @System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription;
</p>

... yields ...


Requests

Using *r or "pleas" in NLP. Simple commands made into more complicated ones.

Done for simple ones.


[BUG] Multithreaded rapids shuffle metrics incorrect

Describe the bug
I'm seeing some the metrics for the multithreaded rapids shuffle manager be larger then the total task time.  Not sure if these are actually the total times for multiple threads or if we have a bug.
For instance:
rs. shuffle read time total (min, med, max) | 3.17 h (174 ms, 1.8 s, 6.1 m)
But going to the stages page that read that data the max task time was only 34 seconds.
Another example, different run of the application:
rs. deserialization time total (min, med, max) | 55.0 m (74 ms, 1.1 s, 1.5 m)
max task time was 35 seconds.


My wallet often show me the message

"Your system does not support new SSL ciphering.Error:Fatal alert received handshake_failure",but this does not  interfere with my using

Andoird 5.0 (Lollipop) or higher is recommended, even though the wallet still loads on some Android 4.x phones. Android 5 or higher is the best version to use for Secure WebSockets (WSS).


why VideoChat2 video encoder use UMT_L instead of ViClip?

hi, according to your paper, Viclip has higher accuracy and large-scale pretrained. Why did not use ViClip as VideoChat2's video encoder? thank you.

We had developed a ViCLIP-based VideoChat and plan to release it soon.
UMT outperformed ViCLIP in terms of video-text performance, thanks to the inclusion of video-text matching loss and other advanced techniques. In contrast, ViCLIP is solely trained using video-text contrastive loss, without additional enhancements. However, ViCLIP still achieved remarkable zero-shot action recognition and satisfactory video retrieval results.


Pasting in Emacs causes wlroots to run out of pipes

Step to reproduce

Open emacs
Paste some text from the primary clipboard
Emacs and any other GUI application crash
After that I can't open any applications but sway still works.

When I use my usual config the first thing to crash is redshift and after a few seconds every window crash.

Sway Version:
sway version 1.4-a8a6ed66 (May 11 2020, branch 'master')

Debug Log:
https://gist.github.com/mssdvd/d00ef14c7df092dfed9c582abd8aedc0

Configuration File:

bindsym Mod4+c exec clipman pick -t rofi
exec wl-paste -t text --watch clipman store
include /etc/sway/config
include /etc/sway/config.d/*

Stack Trace:
None because Sway didn't crash

Can you try wlroots master and see if this is fixed by https://github.com/swaywm/wlroots/pull/2428?

I tried it and the system freezed (reboot required). I'll make a more detailed
report later.

I'm having difficulty producing a decent size log. The only time that the system has behaved badly the log was about 140MB. That time the system behaved like I described before. All other times the system did not respond to inputs.

Consider using SSH to investigate the frozen machine.

Could you try wlroots master again? A lot of Xwayland clipboard fixes went in a few days ago, and I think this may have been fixed.

Unfortunately it keeps crashing.
Log: https://gist.github.com/mssdvd/7ebf06bb55885d61f45fc13c5b5f6faf

Thanks for testing. It's now failing in a different way than before. In your first log, the requestor window was the same in each attempt; here, Emacs is creating a new window for each attempt. This sounds like an Emacs bug... https://github.com/swaywm/wlroots/issues/2326 would prevent the fd exhaustion, but not fix Emac's behavior here.
Some questions to try to get to the bottom of this:

What version of Emacs are you running?
Is running wl-paste still a requirement in reproducing?
Does the issue reproduce with wl-paste/clipman master?
Does the issue reproduce if the primary selection owner is another X11 window?
Does the issue reproduce if the primary selection owner is a Wayland window?
In the last two cases, what is the output of xclip -selection primary -o -t TARGETS? xclip -selection clipboard -o -t TARGETS?

27.1
I never experienced it without wl-paste running
I have not tried them but the unreleased commits do not seem to change anything
I haven't tried it (I'll update soon)
Yes, Firefox in this case

xclip -selection primary -o -t TARGETS
TIMESTAMP
MULTIPLE
TEXT
COMPOUND_TEXT
STRING
UTF8_STRING
TARGETS
LENGTH
DELETE
FILE_NAME
CHARACTER_POSITION
LINE_NUMBER
COLUMN_NUMBER
OWNER_OS
HOST_NAME
USER
CLASS
NAME
ATOM
INTEGER
SAVE_TARGETS

xclip -selection clipboard -o -t TARGETS
TIMESTAMP
MULTIPLE
TEXT
COMPOUND_TEXT
STRING
UTF8_STRING
TARGETS
LENGTH
DELETE
FILE_NAME
CHARACTER_POSITION
LINE_NUMBER
COLUMN_NUMBER
OWNER_OS
HOST_NAME
USER
CLASS
NAME
ATOM
INTEGER
SAVE_TARGETS

Hmm, I really can't reproduce this... How do the below versions compare to yours?

emacs-gtk

GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.23, cairo version 1.16.0)
 of 2020-11-07, modified by Debian

Firefox 86.0b8
wl-clipboard 2.0.0
clipman 1.5.2

emacs

GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.22, cairo version 1.17.3) of 2020-08-28

Firefox 85.01
wl-clipboard 2.0.0
clipman 1.5.2

I tried again to reproduce it:  https://gist.github.com/mssdvd/ba6a56e0b3520fb5bfc0db8ba75561ca
This time gammastep and emacs crashed and the system didn't freeze.

Dumb question: does the issue reproduce if you start emacs via emacs rather than emacsclient? My emacsclient is hanging during startup, and right now that's all I can think of that's different (I just tried Firefox 85.01, and I hope GTK 3.24.22 isn't hugely different from 3.24.23).

Yes, the issue is still there.
I'm testing it with this config:
# the standard config
include /etc/sway/config

exec {
    wl-paste -t text --watch clipman store
    echo "blaksdlsdkasdfdkjfhkajdfhjakdhfjkasdhfjasdbhjbrhasgfhdghfhjfhsdaj"|wl-copy
    emacs -Q
}

Step to reproduce

Yank the string many times with C-y
Click on any point of the buffer with the mouse
Kill (cut) the line  with C-w
Repeat 2 and 3 until a crash

These are pretty vague steps but they often lead to the crash of Emacs and XWayland however I'haven't been able to find a precise sequence yet.
Now I'm working on an elisp script that hopefully will automates the process and I will try some other XWayland editor.

OK, I understand now, and have been able to reproduce based on your last message.

Paste some text from the primary clipboard

This was misleading :)
I assumed you were talking about https://www.gnu.org/software/emacs/manual/html_node/emacs/Primary-Selection.html
However, C-y etc. paste from the clipboard: https://www.gnu.org/software/emacs/manual/html_node/emacs/Clipboard.html#Clipboard
These are different selections, and the issue doesn't repro with the primary selection, only with the clipboard.

Oh, sorry to have confused you!
However the initial report is correct, the problem occurred when using the primary selection because it is probably the one I use most often between emacs and other applications.
Does the work done on XWayland in the last days only concern the primary selection or also the clipboard selection?

No problem, happy we got to the bottom of things. I imagine things would have reproduced with the primary selection if wl-paste was running on the primary selection rather than the clipboard.
The work was for both primary and clipboard selections, but X11 is hard and it's easy to muck up.
Anyway, the badness are these lines:
00:00:17.110 [DEBUG] [wlr] [xwayland/selection/incoming.c:486] XCB_XFIXES_SELECTION_NOTIFY (selection=275, owner=4194627)
00:00:17.111 [DEBUG] [wlr] [xwayland/selection/incoming.c:486] XCB_XFIXES_SELECTION_NOTIFY (selection=275, owner=2097153)
00:00:17.111 [DEBUG] [wlr] [xwayland/selection/outgoing.c:375] XCB_SELECTION_REQUEST (time=471206 owner=2097153, requestor=2097153 selection=275, target=277, property=276)

Window 2097153 is wlroots' X11 proxy window, requesting from itself, and gets put into a transfer loop because those proxy windows aren't meant to never actually transfer anything.
I was pretty sure we reject self-transfers, so I'll have to go through that code more carefully tonight. The time difference between the two XCB_XFIXES_SELECTION_NOTIFY events is suspiciously small; this sounds like a race.

No problem, happy we got to the bottom of things. I imagine things would have reproduced with the primary selection if wl-paste was running on the primary selection rather than the clipboard.

Here is the script updated for testing the primary clipboard
include /etc/sway/config

exec {
    wl-paste -p -t text --watch clipman store
    echo "blaksdlsdkasdfdkjfhkajdfhjakdhfjkasdhfjasdbhjbrhasgfhdghfhjfhsdaj"|wl-copy -p
    # C-y prints the primary selection
    emacs -Q --eval="(global-set-key (kbd \"C-y\") #'(lambda () (interactive)(insert-for-yank (gui-get-primary-selection))))"
}

I don't think I ever used wl-paste with the primary selection flag so it probably doesn't matter much which clipboard wl-paste is watching , right?

Thanks that helped. Could you give https://github.com/swaywm/wlroots/pull/2739 a try?

I've been using it for several hours and so far no problems at all.

Thanks for testing! I believe I've found the root cause and fixed it now. There were a stack of issues obscuring it, but they should be resolved now -- I wasn't comfortable on relying solely on the timestamps to determine if this race was happening, since they have very limited precision (and I'm pretty sure this was causing the contents being put into clipman to occasionally be wrong).

Thanks for the hard work! Even to the untrained eye the solution seems much more robust.


Inconsistent results from tf.raw_ops.LRNGrad between CPU and GPU

Click to expand!
Issue Type
Bug
Source
source
Tensorflow Version
2.10.0
Custom Code
Yes
OS Platform and Distribution
Ubuntu 20.04.4 LTS
Mobile device
No response
Python version
3.8.10
Bazel version
5.1.1
GCC/Compiler version
9.4.0
CUDA/cuDNN version
11.2
GPU model and memory
RTX 3090 2*24G
Current Behaviour?
The results of `LRNGrad` operators are inconsistent between CPU and GPU.

I've used two calls `tf.raw_ops.LRNGrad` and `nn.lrn_grad`,
and also changed the order of calls for different devices,
still inconsistent results.

Standalone code to reproduce the issue
import tensorflow as tf
from tensorflow.python.ops import nn
from tensorflow.python.ops import random_ops

# https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/lrn_op.cc

input_grads = random_ops.random_uniform(
        shape=[1, 1, 1, 3],
        minval=-10000,
        maxval=10000,
        dtype=tf.float32,
        seed=2022)
input_img   = random_ops.random_uniform(
        shape=[1, 1, 1, 3],
        minval=-10000,
        maxval=10000,
        dtype=tf.float32,
        seed=2022)
output_img  = random_ops.random_uniform(
        shape=[1, 1, 1, 3],
        minval=-10000,
        maxval=10000,
        dtype=tf.float32,
        seed=2022)

with tf.device('/GPU:0'):
    out = tf.raw_ops.LRNGrad(input_grads=input_grads, input_image=input_img, output_image=output_img)
    #out = nn.lrn_grad(input_grads=input_grads, input_image=input_img, output_image=output_img)
    print(out)

with tf.device('/CPU:0'):
    out = tf.raw_ops.LRNGrad(input_grads=input_grads, input_image=input_img, output_image=output_img)
    #out = nn.lrn_grad(input_grads=input_grads, input_image=input_img, output_image=output_img)
    print(out)

Relevant log output
# python LRNgrad-test.py
2022-07-21 12:54:57.023583: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  SSE3 SSE4.1 SSE4.2 AVX AVX2 AVX512F AVX512_VNNI FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2022-07-21 12:54:57.132843: I tensorflow/core/util/util.cc:169] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2022-07-21 12:54:57.161994: E tensorflow/stream_executor/cuda/cuda_blas.cc:2981] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2022-07-21 12:55:00.101305: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  SSE3 SSE4.1 SSE4.2 AVX AVX2 AVX512F AVX512_VNNI FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2022-07-21 12:55:01.526010: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 22298 MB memory:  -> device: 0, name: NVIDIA GeForce RTX 3090, pci bus id: 0000:9b:00.0, compute capability: 8.6
2022-07-21 12:55:01.527383: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Created device /job:localhost/replica:0/task:0/device:GPU:1 with 22298 MB memory:  -> device: 1, name: NVIDIA GeForce RTX 3090, pci bus id: 0000:c8:00.0, compute capability: 8.6
2022-07-21 12:55:02.763201: I tensorflow/stream_executor/cuda/cuda_dnn.cc:384] Loaded cuDNN version 8100

tf.Tensor([[[[-0.29212222  0.97755533 -0.28474247]]]], shape=(1, 1, 1, 3), dtype=float32)

tf.Tensor([[[[2362.0498 1360.1172 2242.2402]]]], shape=(1, 1, 1, 3), dtype=float32)

@gadagashwini,
I was able reproduce the issue on tensorflow v2.8, v2.9 and nightly. Kindly find the gist of it here.

@enderdzz , I tried to reproduce your issue in Tensorflow 2.9.1 version, I'm getting different error, could you please take a look into the gist here and make necessary changes. Thanks!

Hi, thank you for your reply : )
I installed version 2.9.1 locally (cuda 11.2) and ran the same code without any problems, still got inconsistent results. I suspect that the GPU environment of the remote colab is AMD ROCm, so the problem you encountered will occur, refer to: https://github.com/RadeonOpenCompute/ROCm/issues/684
So it is better to change to cuda environment to test this code.

Colab Gpu uses Nvidia and Cuda.
Below is the result you will get when you do !nvidia-smi
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.32.03    Driver Version: 460.32.03    CUDA Version: 11.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 T4            Off  | 00000000:00:04.0 Off |                    0 |
| N/A   55C    P0    29W /  70W |    464MiB / 15109MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
+-----------------------------------------------------------------------------+

Ok. I have no idea about this problem now.
Hope to get help from related TF developers.

The CPU and GPU gradients are the same if I change output_img to be
output_img = tf.nn.local_response_normalization(input_img)

I think it's reasonable for the CPU and GPU gradients to return different results if you pass invalid values to the output_image value. output_image must be the correct forward-pass output given the input_image, and if you pass an invalid value for output_image, the op has no well-defined semantics.
@rohan100jain, do you agree that it's OK for the gradient op to return different results on the CPU and GPU if given an invalid output from the forward pass?

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.


Validation page does not accept .sarif.json files

The spec says .sarif.json is a valid filename extension for SARIF files.

This is labeled m156 because it was broken out from microsoft/sarif-sdk#1485, which is m156.


hello world gives error with Lean 3.4.2

$ lean --version
Lean (version 3.4.2, commit ceacfa744595, Release)

$ lean 01-hello-world.lean
/home/joe/lean-ex/01-hello-world.lean:2:10: error: unknown identifier 'io.interface'
/home/joe/lean-ex/01-hello-world.lean:8:0: warning: declaration 'hello_world' uses sorry
[sorry]
io_core
monad_io_terminal_impl

Having the same issue, 2 years later. Exact same output, in VS Code in Windows.


DS-2915 oai database fixes

https://jira.duraspace.org/browse/DS-2915
Hi, I've just fixed the SQL query and slightly modified the order of OAI sets so that it is the same as when storage=solr.
Could you double check there is no mistake in the query and pull this change please?

As of DSpace 6, the OAI-PMH database backend has been retired.  OAI-PMH now only supports the Solr backend. This was a result of https://jira.duraspace.org/browse/DS-2701
Therefore, I'm closing this ticket as "won't fix".  The code is still available for anyone using 5.x, if they want it. But, at this point there are no additional 5.x releases planned.

Hi Tim. May I argue that there have been new releases of 5.x since and that merging to the 5.x branch would allow existing 5.x users to benefit from the fix above? I just rebased the idmgroup/Dspace/DS-2915-oai-database-fixes branch in case you change your mind.


Keyboard unresponsive after quitting KE

reboot fixed the problem. This has now happend a few times to me.
macos Mojave 10.14.4 on machbook pro 2018 (touchbar)

I believe this issue is fixed at the latest beta.
How to upgrade to the latest beta version:
https://pqrs.org/osx/karabiner/document.html#check-for-updates

I have the whole macbook pro keyboard and touchpad not working sometimes. Sometimes a reboot doe fix it, sometimes not. Is this a known issue as well @tekezo ?
I had to uninstall the app :(

Not fixed. Whole computer keyboard and trackpad locked !


Generalised getSecret() using unused 'secretName'

@msmbaldwin
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Nice catch, @ehsanulhaq001! We appreciate the time you took to improve our documentation. #sign-off


Redirecting to official web page instead of github repo and fix the curriculam spelling

Description
Changed the spelling of Curricula to Curriculum and redirecting to official web page instead of github repo.
Fixes #1209
Type of change

[X] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)

@microsoft-github-policy-service agree


typescript-language-server shows errors about missing properties on createPromiseClient()

Describe the bug
The TypeScript Language Server shows errors when calling createPromiseClient(). The generated service is not assignable.
Diagnostics:
 1. Type 'PromiseClient<ServiceType>' is missing the following properties from type 'PromiseClient<{ readonly typeName: "workplus.account.v1alpha1.AccountService"; readonly methods: { readonly createAccount: { readonly name: "CreateAccount
 "; readonly I: typeof CreateAccountRequest; readonly O: typeof CreateAccountResponse; readonly kind: any; }; readonly generateTemporaryPassword: { ...; }; readonly...': createAccount, generateTemporaryPassword, signIn
 2. Argument of type '{ readonly typeName: "workplus.account.v1alpha1.AccountService"; readonly methods: { readonly createAccount: { readonly name: "CreateAccount"; readonly I: typeof CreateAccountRequest; readonly O: typeof CreateAccountR
 esponse; readonly kind: any; }; readonly generateTemporaryPassword: { ...; }; readonly signIn: { ......' is not assignable to parameter of type 'ServiceType'.

To Reproduce
import { AccountService } from "pb/workplus/account/v1alpha1/service_connectweb"
import {
  createPromiseClient,
  createConnectTransport
} from "@bufbuild/connect-web"

import type { PromiseClient } from '@bufbuild/connect-web'

interface API {
  account: PromiseClient<typeof AccountService>
}

const transport = createConnectTransport({
  baseUrl: "localhost:50100"
})

export const api: API = {
  account: createPromiseClient(AccountService, transport)
}

Environment (please complete the following information):

@bufbuild/connect-web version: 0.5.0
Framework and version<EMAIL_ADDRESS>TypeScript: 4.9.4

It works now. It seems that I missed to install @bufbuild/protobuf.


#1836， fix macos all in one bootstrap

What changes were proposed in this pull request?

[ ] Finshed changes describe

How was this patch tested?

[ ] Testing done

Are there and DOC need to update?

[ ] Doc is finished

Spark Core Compatibility

duplicate of 1837


boxlib request for blueos

Describe the bug
User requested boxlib for LLNL BlueOS systems:
Building boxlib on lassen, we see an ominous message:
FPC.cpp:142:2: error: #error We do not yet support FAB I/O on this machine
 #error We do not yet support FAB I/O on this machine

resolved in #9331


2018-03-24 Fix Issue #29

2018-03-24 Fix Issue #29

MessageBox taking a Null window owner (via default API's / null start / No KryptonManager loaded)
Sort out the Toolkit examples to use the new dll locations
Remove BootstrapperPackage .Net 3.5 nonsense from projects
Remove hard coded build Output Paths

Is there a way, I can work on the this code directly,
Because it seems that "My fork" has got so confused, when merging to it, that when I merge changes back, it includes the original merge again.
Git is confusing sometimes.. I'm used to RTC and TFS ! and I don't remember SVN being like this (But then that was along time ago!)

I've noticed the same. Would you like me to create a different branch, so you can merge the changes there instead of master?

Ok.
I suppose the other way is to scrap my branch and re-fork,
Might be worth a try.

I have made a copy of your fork, so I can merge changes in the meantime.

Ok, I have dropped and recreated my fork, as the Re-mastering steps outlined by others did not seem to cope.
I think it might have been when i re-focused my branch to pull in the others fixes from the Krypton ComponentSource a while ago.
This item can now be closed. And I'm back to the Help Trawl Through!

I'll be focusing more on the Extended Toolkit got quite an annoying bug with it at the moment.


批量查询支付后投放卡券接口 遗漏type参数

见图，遗漏 type 参数

Codecov Report

Merging #295 into master will decrease coverage by 0.74%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #295      +/-   ##
==========================================
- Coverage   76.26%   75.51%   -0.75%
==========================================
  Files          74       74
  Lines        3206     3206
==========================================
- Hits         2445     2421      -24
- Misses        761      785      +24

Impacted Files
Coverage Δ

wechatpy/client/api/card.py
27.58% <ø> (ø)
:arrow_up:

wechatpy/session/memcachedstorage.py
0% <0%> (-85.19%)
:arrow_down:

wechatpy/pay/utils.py
93.15% <0%> (-1.37%)
:arrow_down:

Continue to review full report at Codecov.

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


support for Kodaro haystack driver

Does pyhaystack support the Kodaro haystack driver?  I don't see it mentioned in the docs, but would like to confirm.
Assuming this is a feature request, can the maintainers give me a sense of how hard this would be, what level of interest they have in the feature, and what support they can give if I decide to have a go?
I'm running into some Niagara devices running this plugin.  It's not yet clear whether installing the N4 plugin is an option at these sites.

I never had the chance to try. But from what I understand... I think we could easily start from the niagara4 client which handle the authentication part... then, we need to know what uri Kodaro uses for their driver to make requests.
Are you in a position to help  ? Provide a connection to a Kodaro instance ?

At the current project I was able to get NHaystack installed instead.  If it comes up again I will see if I can make the device available for extending pyhaystack.  Thanks!

Please reopen if needed in the future.


Carousel: accessibility improvements

carousel requests

move controls to the first of the order
currently all items tab through

only tab through visible cards

pagination controls are nice to have
don’t focus the whole carousel, just jump to the first item

I believe the pagination controls should be removed from this bug issue at the least.  Their addition was definitely mentioned in our a11y discussion with Amber, but my sense was that she clearly put them in the box of nice-to-have.  I think we should separately explore with her why they'd be nice, what the potential value-add is, and then make an ROI decision on the work involved there.


Koa 2.x support

Fixes #433

Thank you for putting together this PR! A few high level thoughts:

The 2x middleware and the original middleware are structurally similar (with some differences in how middleware arguments are unpacked). Could the code be refactored to reduce duplication?

The 2x middleware currently uses some ES6 features that do not work on Node 4 (like spreads). While koa 2 does not support Node 4, it will require broader changes to our test harness to allow these features in the instrumentation. Are they necessary or could they be replaced with Node 4 compatable alternatives?

This patching will need testing akin to what we have for koa 1. We are happy to help write the tests but if there are any specific tests you'd like to include that would be a good starting point.

@tinovyatkin Is there any progress on this one ? I will be happy to help somehow

Superceded by #464.


Cannot cabal-install pandoc-csv2table on Debian Jessie

I did the following on a freshly installed Debian 8.1 "Jessie"  notebook:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install cabal-install
cabal update
cabal install cabal-install
export PATH=$HOME/.cabal/bin:$PATH
cabal update
cabal install pandoc pandoc-citeproc
cabal install pandoc-csv2table

The last command leads to an error:
kp@lenjessie:~$ cabal install pandoc-csv2table
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: pandoc-csv2table-1.0.1 (user goal)
next goal: base (dependency of pandoc-csv2table-1.0.1)
rejecting: base-<IP_ADDRESS>/installed-8aa... (conflict: pandoc-csv2table =>
base>=4.7 && <4.9)
rejecting: base-<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>,
<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>,
<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS> (global constraint requires
installed instance)
Dependency tree exhaustively searched.

Try installing now

Hi -- thanks for the quick reaction.
It doesn't work (yet?). I did cabal update ; cabal install pandoc-csv2table. Message is as before:
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: pandoc-csv2table-1.0.1 (user goal)
next goal: base (dependency of pandoc-csv2table-1.0.1)
rejecting: base-<IP_ADDRESS>/installed-8aa... (conflict: pandoc-csv2table =>
base>=4.7 && <4.9)
rejecting: base-<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>,
<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>,
<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS> (global constraint requires
installed instance)
Dependency tree exhaustively searched.

Maybe your fix has not yet trickled to hackage ?
Maybe I need to wait for some more time first ?

I changed this base>=4.7 && <4.9 to this base>=4.6 && <4.9 but you are
still seeing the old one. Maybe cabal update again, wait a little and
then try installing it.
On Fri, Aug 28, 2015 at 2:45 PM, Kurt Pfeifle<EMAIL_ADDRESS>wrote:

Hi -- thanks for the quick reaction.
It doesn't work (yet?). I did cabal update ; cabal install
pandoc-csv2table. Message is as before:
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: pandoc-csv2table-1.0.1 (user goal)
next goal: base (dependency of pandoc-csv2table-1.0.1)
rejecting: base-<IP_ADDRESS>/installed-8aa... (conflict: pandoc-csv2table =>
base>=4.7 && <4.9)
rejecting: base-<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>,
<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>,
<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS> (global constraint requires
installed instance)
Dependency tree exhaustively searched.
Maybe your fix has not yet trickled to hackage ?
Maybe I need to wait for some more time first ?
—
Reply to this email directly or view it on GitHub
https://github.com/baig/pandoc-csv2table/issues/15#issuecomment-135842776
.

Ouch... there is a new issue now (beyond YOUR influence):
kp@lenjessie:~ > which cabal
cabal ist /home/kp/.cabal/bin/cabal
cabal ist /usr/bin/cabal

kp@lenjessie:~ > cabal update
Downloading the latest package list from hackage.haskell.org
cabal: does not exist

I'll wait a bit longer...

Do let me know if it still doesn't work...

Now, ~2 hours later, syncing my cabal package list with hackage worked again for me.
But there is still the old base>=4.7 && <4.9 rejecting message.
Maybe your update didn't make it into hackage?.

Turns out I had to change the version constraint at another place too. It
should work now.
On Fri, Aug 28, 2015 at 5:42 PM, Kurt Pfeifle<EMAIL_ADDRESS>wrote:

Now, ~2 hours later, syncing my cabal package list with hackage worked
again for me.
But there is still the old base>=4.7 && <4.9 rejecting message.
Maybe your update didn't make it into hackage?.
—
Reply to this email directly or view it on GitHub
https://github.com/baig/pandoc-csv2table/issues/15#issuecomment-135883430
.

It works now   :-)
Thanks for your continued support.

You're welcome :)


Change database before query

I'm using a dictionary in a query (with the query builder) as dictGet("some_dictionary", "field", id). This looks for the dictionary in the default database.
I tried using "$database.some_dictionary", but that macro doesn't exist.
It'd be helpful if the clickhouse datasource used the specified database before running the query, so an unqualified table or dictionary name use the database specified in the panel.

Hi @abh. Could you share which fields do you fill in, and how the result query looks like?

Hello, @abh the query builder doesn't play nice with CH macros, but there has been an update to the query builder that might work with macros. If you give it a try with the query builder again and it doesn't work, I would suggest using the query text view 🙂


Fails when downloading files over 1 MiB (Error: d.ts file must have a matching npm package)

Running dts-critic on certain packages like webpack results in this confusing error:
$ node index.js ../DefinitelyTyped/types/webpack/index.d.ts
/home/anders/js/dts-critic/index.js:113
                throw new Error(`d.ts file must have a matching npm package.
                ^

Error: d.ts file must have a matching npm package.
To resolve this error, either:
1. Change the name to match an npm package.
2. Add a Definitely Typed header with the first line

    // Type definitions for non-npm package webpack-browser

Add -browser to the end of your name to make sure it doesn't conflict with existing npm packages.

- OR -

3. Explicitly provide dts-critic with a source file. This is not allowed for submission to Definitely Typed.

    at findNames (/home/anders/js/dts-critic/index.js:113:23)
    at dtsCritic (/home/anders/js/dts-critic/index.js:26:19)
    at main (/home/anders/js/dts-critic/index.js:59:12)
    at Object.<anonymous> (/home/anders/js/dts-critic/index.js:39:5)
    at Module._compile (internal/modules/cjs/loader.js:936:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:947:10)
    at Module.load (internal/modules/cjs/loader.js:790:32)
    at Function.Module._load (internal/modules/cjs/loader.js:703:12)
    at Function.Module.runMain (internal/modules/cjs/loader.js:999:10)
    at internal/main/run_main_module.js:17:11

What actually happened here was that dts-critic tried to use download-file-sync to download https://registry.npmjs.org/webpack, and since download-file-sync doesn’t override the default maxBuffer: 1048576 of execFileSync, it failed with ENOBUFS.
I sent a PR to vjeux/download-file-sync#7, though I’m not sure if that package is actively maintained. Either way, it’d be nice if dts-critic produced a less unhelpful error message on download failures.

An example when running the exact command dts-critic is running:
> require('download-file-sync')('https://registry.npmjs.org/styled-components')
Thrown:
<ref *1> Error: spawnSync curl ENOBUFS
    at Object.spawnSync (internal/child_process.js:1047:20)
    at spawnSync (child_process.js:589:24)
    at Object.execFileSync (child_process.js:616:15)
    at module.exports (/Users/jessie/src/DefinitelyTyped/node_modules/download-file-sync/index.js:3:6) {
  errno: -55,
  code: 'ENOBUFS',
  syscall: 'spawnSync curl',
  path: 'curl',
  spawnargs: [ '--silent', '-L', 'https://registry.npmjs.org/styled-components' ],
  error: [Circular *1],
  status: null,
  signal: 'SIGTERM',
  output: [
    null,
    '(huge truncated string)',
    ''
  ],
  pid: 32551,
  stdout: '(huge truncated string)',
  stderr: ''
}

The pull request above was actually accepted but... not released.
It's a tiny package anyway so if you really want to keep this executing synchronously, you could as well just inline the definition.
An alternative that is probably much better is to fetch the /latest endpoint, e.g. http://registry.npmjs.org/styled-components/latest, which is tiny enough. The top level endpoint returns every version that ever existed. Unfortunately the API doesn't seem to allow you to query for a range or for a partial version, must be exact.

This issue doesn't seem to occur as of version 3.0 of dts-critic.


Go - Add Timer Trigger sample

I recently had a customer ask about using a Timer Trigger with the Go Custom Handler. While this is a simple sample, I think it will save folks looking to do the same time and confusion by showing how it can be accomplished.

Hi @pragnagopa
May I know when we will merge the branch?


Update Android Studio to version <IP_ADDRESS>

Hi all,
I use static url to replaced original url with #{version} variable in this change,
because no only version number, but also build number are in the download url.
Maybe we can add a variable for build number to generate download url dynamically next time?
Release page: http://tools.android.com/download/studio/builds/1-4-1

Please revert the changes to #{version}

Removing interpolation is hardly ever the solution. Being smarter about it.

Removing interpolation is hardly ever the solution. Being smarter about it is. However, in this case, its’s like they use two different versions, making it harder for us to make it better but still understandable. Since the whole url needs to change anyway, there’s no hard in removing the interpolation here.

Thank you for the contribution. It was merged directly as 9dcc849f0864cbfa2602215ce6aecaf5282394d5 to keep commit history cleaner. Your contribution is still credited to you.

@vitorgalvao
Thanks for your understanding. ;)


Route resources option

Why not add options to the route resources ?
Route::resource('name','Controller',[]);

Route::resources([
    'name' => 'Controller'
]);

Sorry. We don't process proposal issues om github.


Distance between two locations in Carla simulator

CARLA version:0.9.14
Platform/OS:Ubuntu
Problem you have experienced: Distance between two locations
I want to know is there any function in carla to check the distance between two locations? Suppose I have given two location carla.Location(x=-30.367612, y=7.337006,z=2.992777) and Location(x=2.376680, y=-3.337013, z=0.000000).
How to get the distance between two locations?

I thnik under carla.Location there is a method that calculates the distance between the given location and another one: https://carla.readthedocs.io/en/latest/python_api/

Thank for your reply. It's spot on. Made my day.
Best wishes.


Move the common package up a level to simplify imports and testing

Fixes #77
This PR moves the common package from src/cc_catalog_airflow/dags/provider_api_scripts up a level to src/cc_catalog_airflow/dags/ . It also imports the public classes and methods into the package's __init__.py using relative imports so that all of them can be used both when run from inside the common package and from outside scripts/packages.
Signed-off-by: Olga Bulat<EMAIL_ADDRESS>

This seems okay to me but I'd like @dhruvkb to review too.


Add 3id as identity controller

Adding the 3ID DID method as an identity controller.

@christianlundkvist since DAF 2.0.0, the API to manage identities has changed. This PR is for DAF 1.x which is not supported anymore


Build Modena for Windows and OSX

[x] W10
[x] OSX

Provide building instructions, release prebuilt binaries.

Given the existence of WSL and Macports, taking prebuilt binaries out of scope in favor of a lightweight code-only deliverable.


Add Atom standard-formatter to documentation.

Adds a reference to standard-formatter package for Atom to go along with other editor plugin documentation.

Thanks @stephenkubovic :) :+1:


Cutting off / Adding ellipsis for long labels

Expected behavior
As example, I have bar chart with some long labels on horizontal line. The main problem is that the chart and other labels can be hidden by this reason.
I tried to find the attribute that would helped me to dynamically calculate cutting off or adding ellipsis for these labels, but I can't.
Current behavior
First long label contains all canvas space. I can't see the chart and other labels for this reason.
Reproducible sample
https://codepen.io/corocoto/pen/abYdJBG
Optional extra steps/info to reproduce
No response
Possible solution
I propose to add attribute for these labels, that allows to dynamically calculate cutting off or adding ellipsis.
Context
My project has the separate page for widgets. I can add it by drag-and-drop approach, and easily changing it size on edit mode.
If one of the widgets will be small, but labels'll large - the problem can be reproduce.
chart.js version
latest
Browser name and version
No response
Link to your project
No response

@corocoto as workaround, you could use the axis callbacks, checking the length of the string and cut it (adding ellipsis) if longer then expected. It's not perfect and you must pay attention about new length of the label.
options: {
  scales: {
    x: {
      beforeUpdate(axis) {
        const labels = axis.chart.data.labels;
        for (let i=0; i<labels.length; i++) {
          const lbl = labels[i];
          if (typeof lbl === 'string' && lbl.length > 10) {
            labels[i] = lbl.substring(0, 10); // cutting
          }
        }
      }
    }
  }
}

Codepen: https://codepen.io/stockinail/pen/BarjRKZ

@stockiNail, thanks a lot for this tip. It's really great advice. I'm experimenting with beforeUpdate function a little bit later

@stockiNail  Is there a way to set a tooltip on the labels with trimming?

Thank you, dear @stockiNail

This also works and keeps the tooltip label intact:
options: {
  scales: {
          y: {
              ticks: {
                  callback: function (value) {
                      // truncate the labels only in this axis
                      const lbl = this.getLabelForValue(value as number);
                      if (typeof lbl === 'string' && lbl.length > 10) {
                          return `${lbl.substring(0, 10)}...`;
                      }
                      return lbl;
                  },
              },
          },
     }
}

export const DoughnutChart = {
emptyDoughnutChartColor: ['#D3D3D3'],
configureDoughnutChart: (theme, MODE) => ({
responsive: true,
animation: {
animateScale: true,
color: true,
},
maintainAspectRatio: false,
cutout: '80%',
plugins: {
legend: {
position: 'bottom',
onClick: (evt, legendItem, legend) => {
const datasets = legend.legendItems.map((dataset) => dataset.text);
const index = datasets.indexOf(legendItem.text);
if (legend.chart.isDatasetVisible(index) === true) {
legend.chart.hide(index);
}
else {
legend.chart.show(index);
}
},
labels: {
generateLabels: (chart) => {
// console.log('chart', chart);
const visibility = [];
for (let i = 0; i < chart.data.datasets.length; i++) {
if (chart.isDatasetVisible(i) === false) {
visibility.push(true);
}
else {
visibility.push(false);
}
}
return chart.data.labels.map((dataset, index) => ({ // Index of the associated dataset
// Label that will be displayed
// text: dataset.length > 18 ? ${dataset.substring(0, 18) }... : dataset,
text: dataset,
          // Fill style of the legend box
          fillStyle: chart.data.datasets[0].backgroundColor[index],

          // Stroke style of the legend box
          strokeStyle: chart.data.datasets[0].backgroundColor[index],

          // If true, this item represents a hidden dataset. Label will be rendered with a strike-through effect
          hidden: visibility[index],
        }));
      },
      boxWidth: 6,
      boxHeight: 6,
      padding: 20,
      usePointStyle: true,
      pointStyle: 'circle',
      font: {
        size: 12,
      },
      color: theme.mode === MODE.LIGHT ? '#616161' : '#bdbdbd',
    },
  },
},
layout: {
  padding: {
    top: 8,
  },
},

}),
};
=> issue is I want to apply ellipsis ( substring ) as well as strikethrough the legends, but in my case, both do not work at the same time, ellipsis worked but strikethrough did not.

Thank you @engdlee ! That's what I was looking for.

Thank you @engdlee  ! That's what I was looking for too..  it can be applied on x labels as well .

Hi @engdlee, I want to know if it's possible to hover over the label below the axes and the entire label will show itself as a tooltip just like it does when we hover over the bar?


Fix Object::get_indexed for simple properties.

Object::get_indexed was not correctly reporting invalid keys if the name was a direct property (not a subproperty), causing for example Tween to not report correctly a bad interpolate_property key.
Fixes #25147 .
Demo project (should show 2 errors, shows 1 without the patch):
proj_tween.zip
I think this is also good for cherry pick.

Cherry-picked for 3.1.2.


Add generate randomness

close #15

In my env. error occurs.
rootwarp@LT-026 ~/g/d/dsrv-kzg-ceremony random > ./index.js ceremony a002479f-782b-48a5-b3b9-fa18c87446f1
Starting ceremony...
Decoding...
Update Power of Tau...
updatePowerOfTau<PHONE_NUMBER>311544215210810364117382200091468669765550551577723128495801892862n
/Users/rootwarp/git/dsrv/dsrv-kzg-ceremony/node_modules/@noble/curves/lib/abstract/weierstrass.js:113
            throw new Error('Expected valid bigint: 0 < bigint < curve.n');
                  ^

Error: Expected valid bigint: 0 < bigint < curve.n
    at assertGE (/Users/rootwarp/git/dsrv/dsrv-kzg-ceremony/node_modules/@noble/curves/lib/abstract/weierstrass.js:113:19)
    at Point.multiply (/Users/rootwarp/git/dsrv/dsrv-kzg-ceremony/node_modules/@noble/curves/lib/abstract/weierstrass.js:404:13)
    at Object.contribute (/Users/rootwarp/git/dsrv/dsrv-kzg-ceremony/contribution/contribution.js:42:46)
    at Command.<anonymous> (/Users/rootwarp/git/dsrv/dsrv-kzg-ceremony/index.js:85:43)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v19.6.0

As I debug the code,
contribute.contribute(contributions, rand) function takes just single value of rand argument, not array type. did you check this?
659f691

@rootwarp
https://github.com/dsrvlabs/dsrv-kzg-ceremony/pull/9/commits/494b8d6110769e4d475eae627880dfed1c0ea5b9
I fixed it at the above commit and tested it. 🙏

@rootwarp
494b8d6
I fixed it at the above commit and tested it. 🙏

@kim201212 Branch seems conflicted. can you check this?

@kim201212 As I remember this code already merged.
This should be close.

It already merged, Close


[WIP- DO NOT MERGE] - first stab of returning decisions in the event command

Description

Adjusted eventManager and adjusted sendEdgeNetworkRequestFactory to return an object that can be populated by other components using onResponse lifecycle hook.
Related Issue

Motivation and Context

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Improvement (non-breaking change which does not add functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA or I'm an Adobe employee.
[ ] I have submitted a documentation pull request or no changes are needed.
[ ] I have made any necessary test changes and all tests pass.
[x] I have run the Sandbox successfully.

Hey Nina, during our last team conversation over BlueJeans we had discussed two ways of accomplishing this:

Creating an object and passing it to onResponse for each component to augment.
Allowing components to return objects from onResponse, then merging the objects from all the components and returning the merged object to the customer.

My understanding is we settled on the second option, but it looks like this PR followed the first option. Is this a misunderstanding or was there some reason the other approach didn't work?


Edits to target packages to make intrinsics accessible in regenerated library code

Note that I did not make anything public that is part of the Q# Core, only the callables that are used in the target packages that replace it. This should hence be a non-breaking change. Unfortunately, having callables in target packages be internal makes it inpossible to regenerate the code that calls into it, and hence poses a problem.

I don't understand the problem this change is trying to solve, but I would be opposed to merging a change like this into main. Since this is just merging into a working branch it should be fine, so we can defer that discussion to a later date.

I don't understand the problem this change is trying to solve, but I would be opposed to merging a change like this into main. Since this is just merging into a working branch it should be fine, so we can defer that discussion to a later date.

@swernli The issue is that I need to instantiate the callables in the code that is regenerated. I may have missed something in how this was intended to work, but the C# generation as written was incompatible with using the target packages. I hence made the necessary update to have it in a working state. As written, I need to be able to instantiate the class that implements each gate as defined in the target package, hence the internal is interfering with that.

Could this just be an issue of regeneration of C# callables not respecting the GenerateConcreteIntrinsics property? C# generation with the target packages works in this repo when the target packages are testing with the simulator (see for example https://github.com/microsoft/qsharp-runtime/tree/main/src/Simulation/Simulators.Type1.Tests and corresponding test projects for the other target packages). We've run into quirks with internal intrinsics before (#389) and the concrete intrinsics feature was meant to solve this.

Could this just be an issue of regeneration of C# callables not respecting the GenerateConcreteIntrinsics property? C# generation with the target packages works in this repo when the target packages are testing with the simulator (see for example https://github.com/microsoft/qsharp-runtime/tree/main/src/Simulation/Simulators.Type1.Tests and corresponding test projects for the other target packages). We've run into quirks with internal intrinsics before (#389) and the concrete intrinsics feature was meant to solve this.

Setting GenerateConcreteIntrinsic to true in the corresponding project file (i.e. in QCIExe and in QSharpExe) did not solve the issue. You can try it out with package version 0.24.41904-alpha. However, there were a couple of issues I had to fix across repos, and another change in 0.24.41904-alpha may be interfering, so it may have been a case of it getting lost in the weeds. I gave it another try, now that I know what all the changes and issues were that needed to be solved: https://dev.azure.com/ms-quantum-public/Microsoft Quantum (public)/_build/results?buildId=41944&view=results


Add Flex component

Changes
Added Flex component and Flex.Spacer/Flex.Item subcomponents.
Examples:
"text with icon"
<Flex>
  <Icon><SvgPlaceholder /></Icon>
  <Text>Hey</Text>
</Flex>

"text with one icon on left + one icon pushed all the way to the end"
<Flex>
  <Icon><SvgPlaceholder /></Icon>
  <Text>Hey</Text>

  <Flex.Spacer />

  <Icon><SvgPlaceholder /></Icon>
</Flex>

"flex items with different gap for one item"
<Flex gap='xl'>
  <Flex.Item>...</Flex.Item>
  <Flex.Item gapBefore='xs'>...</Flex.Item>
  <Flex.Item>...</Flex.Item>
</Flex>

Testing
Tested pretty extensively with various permutations in vite playground. I encourage reviewers to do the same, or at least play with the story controls (https://itwin.github.io/iTwinUI/1011/react/?path=/story/utilities-flex--basic).
Unit/visual tests added.
Docs
Stories, jsdoc and changesets added.

What do you think if we update yarn createComponent to create a page within the documentation site?

But what does that have to do with this PR?

Nothing. Just a discussion. 😃

We should not merge without deciding default vertical gap between label and sublabel. comment In FIleUpload PR we are using the same gap as in Header comment. Maybe that could be our standard.

From what I understood, the vertical gap between label and sublabel cannot be easily standardized because we rely on line-height in many cases. Now, we could strip the line-height in all of those components and control the gap explicitly, but that seems a bit out of scope for this PR.

From what I understood, the vertical gap between label and sublabel cannot be easily standardized because we rely on line-height in many cases. Now, we could strip the line-height in all of those components and control the gap explicitly, but that seems a bit out of scope for this PR.

Can default be no gap / the smallest one and users add one if they need? It would match Header, Menu and FileTemplate scenarios.

i've removed the form-vertical value for now. we can revisit in the future.

Are you planning to add this component to website in other PR?

Added basic flex.mdx page.

Demo will not work until component is released
Missing thumbnail currently
We need to find a better way to add decorative styles to demos. Inline styles are not good.

These improvements can be made in future PRs.


Generated classes not nested

In your example for consuming code you write
for (FeedQuery.Data.Feed feed : dataResponse.data().feed()) {
...

For some reason, my generated code does not nest according to the schema structure. For example, instead of FeedQuery.Data.Feed, I would only see FeedQuery.Data and FeedQuery.Feed.
This is generally fine and might even be a feature in order to reduce the amount of code for using the types further down the query tree. However, it causes some weirdness with queries that return derived types.
Example
For my query below, I get the CourseListQuery parent class interface of Teacher is implemented by Teacher1, used in ComposedCourseListByType and Teacher2, which is used in UserCourse even though these 2 classes are identical.
I would think if the classes were nested similar to your example, this wouldn't happen since the classes would be named spaced correctly.
query CourseList {
    viewer {
        composedCourseListByType(type: CONTINUE_WATCHING, exclude: [SAVED_COURSES]){
            teacher {
                name
                smallPictureUrl
            }
            ...on UserCourse{
                totalLessonsDurationInSeconds
                totalLessonsProgressInSeconds
            }
        }
    }
}

Is there a way to enable/disable the nesting of the classes? Is this an expected behavior?

That was the initial intention to flatten the class structure as it easily to get out of hand the nesting, on real project I had 10-15 nested layers of classes.

Thanks @sav007 . Just to confirm, it's expected and acceptable that I'll have duplicate classes (eg Teacher1, Teacher2) for types that are within the same class that has derived types?


@ing tab autocomplete to streamer username

Checklist

[X] I'm reporting a problem with Chatterino
[X] I've verified that I'm running the most recent nightly build or stable release
[X] I've looked for my problem on the wiki
[X] I've searched the issues and pull requests for similar looking reports

Describe your issue
I cannot @ tab autocomplete the streamer. I see from other issues that the @ autocomplete has issues pulling from the whole chat and only pulls recent chatters. But, I feel like there should be an exception to this for the streamer, so you can @ them easily. Maybe even a shortcut to go to the streamer, since often people like to mimic the name of the streamer.
Screenshots

OS and Chatterino Version
Chatterino 2.4.6 (commit eb8c7f2d) built with Qt 6.5.0, MSVC 193532217 Running on Windows 10 Version 22H2, kernel: 10.0.19045

Non-mods can't access the viewerlist anymore so we cannot confirm the streamer has the chat open, Hasan may be an exception to this logic due to the fact that he often has Chatterino on screen, but we can't magically use that information for every channel.
I'm not sure if I like the idea of faking a broadcaster into the @mention list

Or perhaps just having it at the top of the mention list like in the normal twitch website.

He's at the top of the mention list because you are still allowed to view the viewerlist in browser chat, that suggestion doesn't change my previous answer

On the browser chat, even when the streamer is offline, they are the first option when typing @. I agree that it would be nice to also do this on Chatterino.

I am fine with adding the streamer to the user autocomplete list, even if they're not in the chatters list or among the recent chatters.
When added, there should be a setting that can be disable this behaviour.
If my memory isn't failing me, I believe we did this before - prior to the chatter list changes

If my memory isn't failing me, I believe we did this before - prior to the chatter list changes

I think we do have that feature still but Hasan has too many active chatters that he's eventually kicked out of the list

Yeah you're right he is getting kicked out. I went to a smaller streamer, and can see their name right away when I hit @. Although, after sitting in that chat for a minute and having about 15 messages come through, their name is no longer at the top, but at the bottom, it is still there at least.


Remove travis left out code and update docs.

Renaming for cleaner CI files is done in #14783
@timabbott can you check this.

Should we enable the commented nagios test?
# Some of the Nagios tests have been temporarily disabled to work
# around a Travis CI infrastructure issue.
echo; echo "Now running additional Nagios tests"; echo
if ! /usr/lib/nagios/plugins/zulip_app_frontend/check_queue_worker_errors || \
   ! su zulip -c /usr/lib/nagios/plugins/zulip_postgres_appdb/check_fts_update_log; then # || \
#   ! su zulip -c "/usr/lib/nagios/plugins/zulip_app_frontend/check_send_receive_time --site=https://<IP_ADDRESS>/api --nagios --insecure"; then
    set +x
    echo
    echo "FAILURE: Nagios checks don't pass:"
    echo
    echo "DEBUG: printing Zulip server's error log:"
    cat /var/log/zulip/errors.log
    exit 1
fi

Also, we can remove the TODO in .config.yml

  - &save_cache_requirements
    save_cache:
      paths:
        - /srv/zulip-venv-cache
      key: v1-venv-base.{{ .Environment.CIRCLE_JOB }}-{{ checksum "requirements/thumbor-dev.txt" }}-{{ checksum "requirements/dev.txt" }}
    # TODO: in Travis we also cache ~/zulip-emoji-cache, ~/node, ~/misc

Merged as the series ending with a6df0b94dd004ed84bf7d1a22ae39d7581b3fc1e, thanks @arpit551!
You can see how many hacks Travis CI made us do, as part of the reason I'm happy to be done with it.


Validate ability to set different kubelet args for different set of nodes

Under the advanced section of the cluster configuration, you can set different kubelet args for different nodes.
https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/
We need to validate that:
If you create a machine/node with a specific set of node labels, those machines/nodes can be picked up using the machineSelector as well as that the kubelet args will append on top of the global kubelet args.
The UI is available today:

It may be easiest to test this with the following kubelet args and just verify that the args were passed to the nodes.
--max-pods
--maximum-dead-containers
Use Case rancher/dashboard#1 :
Machine Setup
Set of nodes with no labels
Set of nodes with specific labels
Cluster Config
Add global arguments for kubelet
Add additional kubelet args for specific set of nodes (to match the label on the nodes)
Verify that the no nodes with no labels only get the global arguments
Verify that the labeled nodes get the args from the global arguments AND the additional arguments
Use Case rancher/dashboard#2 :
Machine setup
Set of nodes with no labels
Set of nodes with specific labels
Cluster Config:
Add additional kubelet args for specific set of nodes (to match the label on the nodes)
Verify that the no nodes with no labels only get no additional arguments
Verify that the labeled nodes get the args from the additional arguments

@deniseschannon @Jono-SUSE-Rancher transferred this issue to rancher/rancher per Vincent. Probably a backend issue here See my last comment with details. Basically ui appears to correctly specify machineSelectorConfig (kubelet-args) but these kubelet args don't actually get passed into rke2 config during rke2 node provisioning.

This is an issue in the planner in rancher.  No selector was treated as match nothing, not match all.

https://github.com/rancher/rancher/pull/33913 for dev-v2.6 [backport] as well

Reproduction:
Not required.
Validation Failed:
Rancher version: master-head 2b156fd2b 8/4/21
Rancher Cluster type: single-node docker
Docker version: 19.03
Downstream cluster type: custom rke2 cluster provisioned by rancher
Downstream K8s version: v1.21.3-rc2+rke2r2
Validation steps:

Provision a downstream RKE2 cluster. In my case I did this with the Digital Ocean provider. Create with the following specifications:

Create a pool for control plane and etcd, nothing special here, defaults are ok

Create a second pool for worker with a node label set - in my case the node label is tacos=rule

Create a third pool for worker WITHOUT any node labels set

Under the Cluster Configuration section, pick "Advanced" and set Additional Kubelet Args:
-- For the "For all nodes:" field (global) enter a value of --max-pods=57 this kubelet arg should apply to all nodes regardless of any lables set or not set.
-- For the "For machines with labels matching:" fields, set to match for key "tacos" and operator "is set".
-- For the "Add additional Kubelet args:" field, enter a value of --maximum-dead-containers=11. This kubelet arg should apply only to nodes with the "tacos" label set (1 of our 2 worker pools) -- THIS IS WHAT DOES NOT WORK, DETAILS BELOW

Note, the POST request body for provisioning.cattle.io.cluster appears correct, relevant snippet below:
"machineSelectorConfig": [{
                    "config": {
                        "kubelet-arg": ["--max-pods=57"]
                    }
                }, {
                    "machineLabelSelector": {
                        "matchLabels": {},
                        "matchExpressions": [{
                                "key": "tacos",
                                "operator": "Exists"
                            }
                        ]
                    },
                    "config": {
                        "kubelet-arg": ["--maximum-dead-containers=11"]
                    }
                }
            ],

Inspect the nodes and check for the kubelet args:

Once the nodes are provisioned, we can see that the rke2.io/node-args annotation appears correct as far as the global kubelet arg. The kubelet args were passed into the rke2 config. Below is an example from the etcd+cp node, we can see that my global arg "--max-pods=57" is set as expected. It's also set on the other nodes, as expected.
[
  "server",
  "--agent-token",
  "********",
  "--cni",
  "calico",
  "--etcd-snapshot-retention",
  "5",
  "--etcd-snapshot-schedule-cron",
  "0 */5 * * *",
  "--kubelet-arg",
  "--max-pods=57",
  "--node-label",
  "rke.cattle.io/machine=87fe5507-498c-4346-895a-109c58376849",
  "--node-taint",
  "",
  "--token",
  "********"
]

And here is rke2.io/node-args on the labeled node - we can see that while the global kubelet arg is applied, as expected, the --maximum-dead-containers=11 I specified is NOT set, which is NOT expected. The kubelet arg should have been passed to this labeled node as per the machineLabelSelector specification.
[
  "agent",
  "--kubelet-arg",
  "--max-pods=57",
  "--node-label",
  "rke.cattle.io/machine=6f38f79b-1747-4240-8502-82e789fd0640",
  "--node-label",
  "tacos=rule",
  "--server",
  "https://<IP_ADDRESS>:9345",
  "--token",
  "********"
]

Here is some more info:

We can see that my node indeed does have the tacos=rule label in the UI:

When I comb thru the rancher server logs I don't spot anything interesting. Let me know if you would like to see them.

Offline convo with @ibuildthecloud and @vincent99.
Backend behavior is correct but frontend needs to indicate that it will override.

Since the backend behavior was correct, the UI was updated to correctly reflect expectations on trying to use kubelet args. @davidnuzik Please review the messaging and see if it aligns with your expectations of what you saw actualy happen.

Review https://github.com/rancher/dashboard/pull/3708/commits/7073395214298ddaa08fd025ad8efb0079985512 and test

My checks PASSED
Reproduction Steps:

Not required.
Validation Steps:

Rancher version: v2.6-head 4b6af95d7 8/9/21 8:46 am Pacific
Rancher cluster type: single-node docker
Docker version: 19.03
Downstream cluster type: rke2
Downstream K8s version: v1.21.3-rc4+rke2r2
Validation steps:

I tested again. This time the UI mentions that the last selector "wins" to make it more clear that the above (first) kubelet args in the "For any machines, use the Kubelet args:" won't be set:

Once the cluster is created as per the above screenshot (and at least one node pool has the label tacos:rule), check the nodes. The pool that didn't have the label set, ensure that only max-pods arg is set on it, for the pool that has the label, ensure only the maximum-dead-containers arg is set.

Pool 1 looks correct (just the global arg)

Pool 2 looks correct (has my "tacos" label and therefore applies just the maximum-dead-containers arg)

I also SSH'd into the nodes to ensure these kubelet args were indeed set on each machine (only max-pods on node pool 1 and only maximum-dead-containers on pool2, each with correct values).
Additional Info:
During testing, ensured that yaml set in the UI is correct when submitted form to provision the cluster.


[Enhancement]: add module descriptions (or field for free text).

Is your feature request related to a problem?
No.
Have you looked for an existing solution or alternative, and does one exist?
I've looked for it, but it doesn't exist.
Describe the enhancement!
Sometimes, when (like me) you have a hundred of installed modules or more, you forget what some of them do, which complicates the task of activate or deactivate them for a specific target.
The proposal is simple: it would be great if you could click on a module (in the same menu where you activate/deactivate them) to expand and display a field where you can write notes about it, so you can remember why you installed it or what utility it has for you.
Thank you very much!

Interesting. I definitely like this idea, and I'll look into seeing how much work it would be to implement. I've definitely ran into similar situations as you, so I feel your pain on that. Sounds like a really neat idea!


CodeBlock: Placement of the Copy Button

Problem
Currently, the copy button in the CodeBlock is always placed at the top right corner. If you need to scroll within the CodeBlock, the button only becomes visible once you scroll all the way to the right.
Example:

Problem
When the code in a CodeBlock is too long, the current overflow behavior pushes the CopyButton out of the visible area.
We don't want to adress this problem by wrapping the code, as this can disrupt readability, especially for error logs or similar long-form outputs.
Proposed Solution
Position the CopyButton in a dedicated column that is always fixed to the right edge of the CodeBlock. This column should maintain the same paddings and design tokens as the first column for the line numbering, ensuring consistency in appearance and alignment.
The code keeps the same overflow and scroll behavior.

Rejected Alternatives

CopyButton in soft-variant: This approach was discarded because it does not display well on both light and dark themes due to the transparent background.
CopyButton in solid-variant: This draws too much attention, making the CopyButton overly prominent.
CopyButton positioned in a row above the Code: This introduces excess whitespace, creating an unbalanced design.
Position CopyButton differently: Alternative placements are not ideal, as users generally expect the CopyButton in the top-right corner within CodeBlock components.


DarkGray access on Windows/Powershell?

When I run this script in my Powershell: https://stackoverflow.com/questions/20541456/list-of-all-colors-available-for-powershell
I can see there is a DarkGray color in my system.
However, asciimatics doesn't have that in the Screen class (or anywhere else according to my search). Is there any way to access DarkGray somehow?
(Incidentally, do you know a shell that supports more colors than Powershell on Windows? Or is the limitation underlying?)

BTW, the script mentioned in the SO post lists many other colors, but they are identical to some of the colors that are already supported in asciimatics. At least in my case. That's why I don't mention them. DarkGray is the only one that would add something new.

There are 16 basic colours in the classic windows console, being split into dark and light variants of the 8 standard (red, green, yellow, blue, magenta, cyan, black and white).  Dark white (i.e colour 7 if you use zero indexed counting in C) and light black (i.e. colour 8) make the shades of grey.
In the win32 world, you get the lighter versions by specifying a foreground or background intensity.  This broadly maps to the use of A_BOLD in asciimatics.  Unfortunately, that only works for foreground colours ascthere isn't a cross platform way of setting background attributes.

There have been recent changes to the Wimdows console to support more than 16 colours.  This requires a different use of the console API as tracked by https://github.com/peterbrittain/asciimatics/issues/197.

Super, thanks for the hint w/ A_BOLD.
#197 is still work in progress, do I understand correctly?

It's a possible future enhancement.  I'm not currently working on it.
A simpler enhancement to get access to all 16 background colours (if that's what you need) on Windows would be just to make thwe Windows Screen understand all 16 system colours, i.e. add definitions for all the intense colours and give them new colour constants (e.g. COLOUR_BRIGHT_RED).
Interested in making that change (with a little help)?

I was looking for the dark gray fg color which was not accessible to me. I'm happy with that for the moment.
But I'll get back if things should change.
BTW, I'm ending up using asciimatics in a very raw/direct way for what I'm building. Might contribute with a sample on how to do that if that sounds interesting.

I'm always interested in how other people use this project...  Feel free to reach out when you have something.


Update ceph-common styling

I validated this on Debian and Ubuntu, but I wouldn't mind a
second eye since this is a large refactor. The only module that
didn't play nice with the new styling was local_action in main.yml.

@msambol thanks validating this at the moment!

Seems to be working for me.


[FLINK-3664] Create method to easily summarize a DataSet of Tuples

Adding summarize() method in DataSetUtils that will supply a number of single pass statistics for DataSets of Tuples.
Summary statistics depend on the type being summarized:

Numeric types (Integer, IntValue, Float, Double, etc): min, max, mean, variance, standard deviation, NaN count, Infinity count, totalCount, etc.
String, StringValue: minLength, maxLength, meanLength, emptyCount, totalCount
Boolean, BooleanValue: trueCount, falseCount, totalCount.

Example usage:
Dataset<Tuple3<Double, String, Boolean>> input = // [...]
Tuple3<NumericColumnSummary,StringColumnSummary, BooleanColumnSummary> summary = DataSetUtils.summarize(input)
summary.f0.getStandardDeviation()
summary.f1.getMaxLength()
Uses the Kahan summation algorithm to avoid numeric instability.  The algorithm is described in: "Scalable and Numerically Stable Descriptive Statistics in SystemML", Tian et al, International Conference on Data Engineering 2012.

Travis build failed but it seemed unrelated to my changes so I pulled the latest master to see if it would fix.

Closing.  My build was failing because I missed a header on one file.  I went ahead and opened a new pull request for this change with a clean history.


offending filename is not listed on compilation error

Describe the bug
Reopening #3931 with repro information:
The swc cli does not output the offending source filename when there is a compilation error. This can make it very hard to locate the problem on a large codebase.
The tool should emit the standard filename:linenum:colnum next to the errors, which makes the lines clickable in many terminals and editors.
I encountered this with issue with #3929.
Input code
Given foo.ts with this content:
function fn1({x,y}: {x: string, y: string}): string {
    return x + y
}

function fn2({x,y}: {x: string, y: string}): string {
   const fn3: ({x,y}: {x: string, y: string}) => string = fn1
   return fn3({x,y})
}

Then run swc (with<EMAIL_ADDRESS>as follows:
> npx swc foo.ts --out-dir=build

Config
(none)

Playground link
No response
Expected behavior
Errors should list  offending files in the <filename:linenum:colnum> format.
Actual behavior
swc output:
error: Cannot reassign to a variable declared with `const`

  |
5 | function fn2({x,y}: {x: string, y: string}): string {
  |               ^
  |
note: x was declared here

  |
6 |    const fn3: ({x,y}: {x: string, y: string}) => string = fn1
  |                 ^

error: Cannot reassign to a variable declared with `const`

  |
5 | function fn2({x,y}: {x: string, y: string}): string {
  |                 ^
  |
note: y was declared here

  |
6 |    const fn3: ({x,y}: {x: string, y: string}) => string = fn1
  |                   ^

Error: Failed to compile 1 file with swc.
    at Object.assertCompilationResult (/<snip>/node_modules/@swc/cli/lib/swc/util.js:115:15)
    at files (/<snip>/node_modules/@swc/cli/lib/swc/file.js:175:18)
    at async _default (/<snip>/node_modules/@swc/cli/lib/swc/file.js:194:9)

Note that foo.ts is never mentioned anywhere in the output. Here in this case there is only one file so it's not an issue, but I would get the same output if this was run against the full codebase with 1000s of files.
Version
1.2.151
Additional context
No response

try npx swc index.ts --out-dir=build -C error.filename=true
this field in .swcrc seems be ignored


Installing package with other msiexec running in parallel fails run

If some other installation is in progress, msiexec finishes with exit code 1618 and message:
STDOUT: Another program is being installed. Please wait until that installation is complete, and then try installing this software again.

resulting resource run to fail.
Probably it would be better, if resource checked that exit code and retried several times with some graceful timeout.

The retries common property supports this behavior for all resources.
https://docs.chef.io/resource_common.html#properties


Wordpress - Increase Max Upload and PHP limits upon install.

Increase Max Upload and PHP limits upon install.
20M+ for file uploads, and at least 256M for PHP.
https://www.wpbeginner.com/wp-tutorials/how-to-increase-the-maximum-file-upload-size-in-wordpress/
https://bytevarsity.com/increase-php-memory-limit-in-wordpress/

See: https://github.com/iiab/iiab/blob/master/roles/www_options/tasks/main.yml#L100-L112.


Error: Could not locate the bindings file (node_modules/bindings/bindings.js:135). Tried:

Hi there, we are running an old version of node and attempting to run on WSL2.
I am new to WSL2 and wondering if there is support for this v-environment?
Package<EMAIL_ADDRESS>WLS2: Ubuntu-22.04
We are using node: v14.15.1 and attempted: v20.5.0
npm: 0.39.4
and the basic get started code.

I ended up getting this working:
I needed to use node: v14.21.3 the lts/fermium build.
I also believe you need to do a npm rebuild for WSL2
you'll need to install:

build-essentials
python3
python-is-python3

Further in our real project we use pnpm and the above works too. just do a npm rebuild too!


Change the minekhan.

This minekhan is constantly updated has multiplayer, and has survival. It is also on repl.it.
Game link:https://minekhan.thingmaker.repl.co/
Main page:https://minekhan.repl.co/

Uh you would need a subdomain to do that. The multiplayer is also bad


Fixes in options and id + removed unused debug files.

product.id property fixed
commented out unused writing of debug json files
options should have no underline to be serialized
added example script

Thanks for your contribution!
I have a question though about why you've changed the BaseParser.id property to return self._dict.get('product', {}).get('id')?
Looking at /admin/products.json?published_status=any&limit=1&page=1, I am not seeing a product key anywhere in the response body. Can you show an example of the response body that contains that key?
Thank you,
Mark

@ziplokk1 that key is returned in the POST when we create a new product, then in apiwrapper the Product instance is created using the json.loads of the that response having "product" key.
I updated the code to handle both cases.
But maybe the change may be in return Product(json.loads(response.content)) to return Product(json.loads(response.content.get('product')))
as you can see in https://help.shopify.com/api/reference/product#create
HTTP/1.1 201 Created
{
  "product": {
    "id":<PHONE_NUMBER>,
    "title": "Burton Custom Freestyle 151",
    "body_html": "<strong>Good snowboard!<\/strong>",
    "vendor": "Burton",
    "product_type": "Snowboard",
    "created_at": "2016-11-15T12:47:00-05:00",
    "handle": "burton-custom-freestyle-151",
    "updated_at": "2016-11-15T12:47:00-05:00",
    "published_at": "2016-11

Perfect, thank you. Merging now.

@ziplokk1 I think it is better to get the proper key in create method, I am sending a new PR with that change.

@rochacbruno Yes, you are right. I merged before I saw your comment.


[CI] Deprecation of set-output command

release
The set-output command is deprecated and will be disabled soon.
Please upgrade to using Environment Files.
For more information see:
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

:tada: This issue has been resolved in version 9.10.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket: