Toggling the bid window could be easier.

Is your request related to a problem? Please describe.
Most people pass on most bids. I set it to not auto-open the bid window on new bids. Now to open the bid window I have to either use the minimap icon or type /clm bid.
Describe the solution you'd like
It would be super useful if clicking the timer toggled the bid window.
Describe alternatives you've considered
I could create a macro but that's yet another button on my action bars that I rarely use but is required.

Well you have:

/slash command /clm bid
Mouse clicks Icon -> RMB-> Bidding
Keybinds (Interface settings)

But since the whole bidding UI will be reworked I'll link this to that issue.

Will be covered together with #285

Those require multiple key presses, clicks, or yet another keybind. Of which I personally already have far too many. There could be a Bid button next to the timer that opens the bid window. IMO that's the easiest route.

Will be covered in WoTLK UI rework


Usage alongside a Meta-Framework

Hi. I would like to use Capri along with vite-plugin-ssr. Capri prompts an error saying "Can't find index.html" due to VPS not having an index file.
The same problem happens with SvelteKit, making Capri only useful when used as a meta-framework which is a position where it lacks functionality like APIs or Routing.
Capri is currently the only one that has the islands the way I like it and is maintained, that's why I would like to have this being discussed, this is the error I've mentioned before:
Error: Can't find index.html in /Users/peixe/Projects/preact-client-routing
    at getIndexHtml (file:///Users/peixe/Projects/preact-client-routing/node_modules/.pnpm/capri@5.2.2_vite@4.1.4/node_modules/capri/lib/entry.js:13:15)
    at getEntryScript (file:///Users/peixe/Projects/preact-client-routing/node_modules/.pnpm/capri@5.2.2_vite@4.1.4/node_modules/capri/lib/entry.js:24:23)
    at getEntryScripts (file:///Users/peixe/Projects/preact-client-routing/node_modules/.pnpm/capri@5.2.2_vite@4.1.4/node_modules/capri/lib/entry.js:41:17)
    at config (file:///Users/peixe/Projects/preact-client-routing/node_modules/.pnpm/capri@5.2.2_vite@4.1.4/node_modules/capri/lib/vite-plugin.js:43:25)
    at runConfigHook (file:///Users/peixe/Projects/preact-client-routing/node_modules/.pnpm/vite@4.1.4/node_modules/vite/dist/node/chunks/dep-ca21228b.js:62375:31)
    at async resolveConfig (file:///Users/peixe/Projects/preact-client-routing/node_modules/.pnpm/vite@4.1.4/node_modules/vite/dist/node/chunks/dep-ca21228b.js:61876:14)
    at async createServer (file:///Users/peixe/Projects/preact-client-routing/node_modules/.pnpm/vite@4.1.4/node_modules/vite/dist/node/chunks/dep-ca21228b.js:61153:20)
    at async CAC.<anonymous> (file:///Users/peixe/Projects/preact-client-routing/node_modules/.pnpm/vite@4.1.4/node_modules/vite/dist/node/cli.js:734:24)

Thanks for bringing this up! Fun fact: I originally tried to base Capri on vite-plugin-ssr but failed to get it working. If I remember correctly, especially being able to render the same app as both SPA and SSG/MPA was something I was struggling with. On the other hand I still like the idea of using VPS as foundation a lot and it might be worth to reconsider it. I learned a lot about Vite's internals in the course of building Capri, so maybe I should give it another shot.

I have implemented File-Based Routing through Import Globs, I'm thinking of making or using a Vite API plugin to create the APIs.
In the meantime that I did that, I found a bug on Capri which I've patched locally, would you want me to create an issue on every bug I find or would you like for us to chat in Discord or something like that?
I have little to no idea on how to integrate Capri and VPS but I can try to do it in the next hours, I'm not that used to the Capri's source code but I've learned a little from patching it.
Also, why is this repository maintained? Are you using it on personal projects? Is there any sponsors? Is it being used in a company?

I think one GitHub issue per ticket would be best. My employer sponsors the work on Capri, so I can regularly spend some time on maintenance.

So, what is a VPS used for? There are many different applications for VPS hosting, and we'll explore some of the most common uses below.

So, what is a VPS used for? There are many different applications for VPS hosting, and we'll explore some of the most common uses below.

By VPS I mean vite-plugin-ssr. That's how we call it, I know... It's strange to call it that way, but it's kinda exhausting to write vite-plugin-ssr everytime.

Capri does two things with the index.html:

It injects the html fragments that are returned by the render function in the entry script.

It injects the hydration script.

On a sidenote: I recently came across hono.dev and was wondering if I might be a better fit than VPS to add API routes to Capri.

To be honest hono.dev seems like a really good alternative to VPS. I'm not really interested in Streaming currently as my focus is in SSG and not SSR. I'm really into making my own Router and that was a problem with VPS.
What would be the entry script when using it along with VPS? I can't run Capri on configResolved because it needs to transform the Vite Config. Would it be possible to call Capri on transformIndexHtml to inject those parts?

I'd need to take a closer look at some VPS internals first, in order to answer your question. BTW, if you want SSG with file-system-based routing, you could also take a look at https://github.com/hannoeru/vite-plugin-pages. Or this demo, which also uses fs routes: https://capri-js.github.io/capri-tanstack-router-react/

I've been currently studying the Vite-plugin-ssr source code and @brillout is really trying to turn it into a way to create Meta-Frameworks through Vike.
I'm going to attempt integrating a prototype of Capri with Vite-plugin-ssr this weekend. Wish me luck!

@phiberber Thanks for the ping.

Meta-Frameworks through Vike.

Examples: https://github.com/brillout/restack and https://github.com/brillout/solide. They both fully wrap Vike. (Vite-plugin-ssr is going to be renamed Vike.)

being able to render the same app as both SPA and SSG/MPA was something I was struggling with.

With the V1 design, frameworks can implement custom configurations such as ssr: boolean. I'll implement an example of doing that (I'll circle back on this in a couple of days).

Fun fact: I originally tried to base Capri on vite-plugin-ssr but failed to get it working. [...] give it another shot.

Let me know when you stumble upon issues, I'm very much looking forward to turn Vike into an open platform.

I'm really into making my own Router and that was a problem with VPS.

Yes, the fact that Vike integrates the routing can be limiting, but so far I believe routing should be controlled by Vike and not by the Vike framework. Let's see, Vike may need to provide a lower-level hook.

Have you considered vinxi for building the routes? It looked like you can define your various route configs for spa’s, ssg/ssr, and api’s. This is the github repo.

I was about to file a ticket asking for Lit support as a framework when I saw this issue, I am fairly sure with either the Vite SSR or the Hono.dev solution that I would effectively get Lit support with/out having to essentially ignore one of the other frameworks that Capri supports being in my config.


5.0.0

New icons:

Accessibility
Border Width
Color Wheel
Desktop
Discord Logo
Eraser
Heart
Heart Filled
Hobby Knife
Instagram Logo
Keyboard
Laptop
LinkedIn Logo
Mobile
Open In New Window
Scissors
Text Align Bottom
Text Align Middle
Text Align Top
Transform

Other changes:

Upgrade DS, React, and Next on the website
Fix bad search performance on the website
Fix a bug when the website would crash when using special characters in search
Balance GitHub Logo icon

PR checklist:

[x] Figma: icon shapes use “Scale” constraint
[x] Figma: icon components are sorted Z-A in the file
[x] Figma: icon components are built with a single union or compound shape when possible
[x] Figma: library changes are published
[x] SVG: icons render correctly in a browser
[x] SVG: icons are exported with width="15" height="15" viewBox="0 0 15 15"
[x] SVG: no icons are exported with stroke
[x] SVG: no icons are exported with clip-path
[x] SVG: no icons exceed 5 KB
[x] Website is up to date
[x] Sketch file is up to date
[x] IconJar file is up to date

[x] Version in the IconJar library description is correct

Thanks a lot for this!


How to change design and fonts used in document globally?

Hi all,
I'm wanting to change the design and fonts of my brew significantly, in that I would like to replace most of it. I have a theme I wish to use from GMBinder.com, linked here. I stripped an old GMBinder brew I had made, to hopefully show what I plan to change my LaTeX-made brew to.
How would I go about converting this theme from HTML/CSS/MarkDown, to LaTeX? I'd use GMBinder, but it does not create bookmarks easily, and the resultant PDF file sizes are blown out a lot.
Kind regards,
RJBPrime

Is it possible for someone to explain what I'd have to change for the font? I wish to use the Montserrat series of fonts for my new brew, I have the font family both installed and in a font folder in the directory.
Specifically, I'd like to use the following fonts: Montserrat-ExtraLight (main), Montserrat-Light (bold), Montserrat-ExtraLightItalic (italic), and Montserrat-LightItalic (bold italic). Is it possible for someone to explain to me how the dnd package selects it font, and how it could be changed?
Kind regards,
RJBPrime

You should be able to accomplish most of what you're trying to do by overriding some internal macros. This isn't exactly a public interface, but we designed the package to support this kind of customization.
Colours
We use named colours throughout the package, so you can set them like this:
\colorlet{titlered}{HTML}{aabbcc}  % set titles to #AABBCC

You'll find all the colours in dndcolors.sty. There's no guide per se, but their functions should be clear from their names.
themecolor in particular is important. It's the default green. If you change that it will change a lot of the elements.
Fonts
We set the body font by including bookman.
https://github.com/evanbergeron/DND-5e-LaTeX-Template/blob/4fea9c87bdadf792f5b9097dfa258c6b936bc0bd/lib/dndfonts.sty#L2
Changing the main font after including the package should work.
To change the fonts for specific elements like titles and tables, can override these macros:
https://github.com/evanbergeron/DND-5e-LaTeX-Template/blob/4fea9c87bdadf792f5b9097dfa258c6b936bc0bd/lib/dndfonts.sty#L7-L20
They're private, so in your preamble do something like this:
\makeatletter
\renewcommand{\dnd@TitleFont}{My Title Font}
\makeatother

I use LuaLaTeX but have never used system fonts, so I'm not sure about the syntax. But those are the macros you want.
Boxes
All the boxes take an option to override their configuration.
Here's the monsterboxbg box:
https://github.com/evanbergeron/DND-5e-LaTeX-Template/blob/4fea9c87bdadf792f5b9097dfa258c6b936bc0bd/lib/dndmonster.sty#L60-L87
Note that the bottom we pass all options from the first optional argument into the tcolorbox. That means you can override the behaviour with new options.
For example, to set up your Chocobo box, you could do something like this:
\NewDocumentEnvironment{gaiastatblock}{m}{%
  \begin{monsterboxbg}{
    no borderline,  % remove dnd borders
    frame code={%
      % TikZ code to set up top and bottom borders
    }
  }[#1]
}{%
  \end{monsterboxbg}
}

Then use it like:
\begin{gaiastatblock}{Chocobo}
  % ...
\end{gaistatblock}

I use XeLaTeX so I can use system fonts, and I've changed dndfonts.sty to that extent. (This is largely because I need Cyrillic, which is not available in the fonts used in this template.)
\RequirePackage{fontspec}

\setmainfont[Mapping=tex-text]{Spectral}
\setsansfont[Mapping=tex-text,Numbers=Lining]{Alegreya Sans}
\newfontfamily\titlefont[Mapping=tex-text,Numbers=Lining]{Spectral SC}
\newfontfamily\sanstitlefont[Mapping=tex-text,Numbers=Lining]{Alegreya Sans SC}

\newcommand{\dnd@TitleFont}{\titlefont}

\newcommand{\dnd@TableTitleFont}{\sanstitlefont\selectfont\bfseries\scshape}
\newcommand{\dnd@TableBodyFont}{\sffamily}

\newcommand{\dnd@BoxTitleFont}{\sanstitlefont\selectfont\bfseries\scshape}
\newcommand{\dnd@BoxBodyFont}{\sffamily}

\newcommand{\dnd@StatBlockTitleFont}{\normalfont\bfseries\scshape}
\newcommand{\dnd@StatBlockSubtitleFont}{\sanstitlefont\selectfont\scshape}
\newcommand{\dnd@StatBlockBodyFont}{\sffamily}

\newcommand{\dnd@FooterFont}{\normalfont\scshape}
\newcommand{\dnd@PageNumberFont}{\normalfont}

Thanks @Maia-Everett! @rjbprime It looks like \setmainfont and \setsansfont are the commands you want to change the main copy and box copy fonts.
We can expose private macro names for everything in that module, so you can override everything from a private .sty file.

@rjbprime Let us know if have any other questions about how to extend the package. For general TeX questions I highly recommend the TeX StackExchange.

Just gonna reopen this, as I've spent several hours looking at code on various sites on how to implement my next question.
The question is, how would one tile one image behind each chapter title, with a tiling width of the title width? I've tried quite a few different ways that I've come across on various tex stack exchange questions, but they don't seem to work, all throwing different errors.
Current sty file (renamed as txt to upload to Github)
modernaig.txt

Please create a new issue for this and include a picture showing what you are trying to create.


runfv3 run-native cannot parse diag_table overlay in fv3config.yml

After some updates to the config preparation in https://github.com/VulcanClimateModeling/fv3net/pull/1051, I've run into issues in local prognostic runs  when reading in an fv3config.yml with a diag_table overlay entry. @oliverwm1
Can be replicated in the prognostic run dev environment with
# this is an up to date version of an fv3config.yml after the diag table change
gsutil cp gs://vcm-ml-scratch/test-end-to-end-integration/integration-test-fd43a7fe5cb1/prognostic_run/fv3config.yml .
runfv3 run-native fv3config.yml rundir sklearn_runfile.py

Results in
yq: Error running jq: TypeError: Object of type 'bytes' is not JSON serializable.
parse error: Unfinished JSON term at EOF at line 1, column 44128

I think it might be the formatting of the base_time key in the diag_table.

Thanks for making the issue, I'll look into it.

Thanks, yeah you're right that is the issue. We should add a test that calls runfv3 run-native.
Potential solutions:

get the "layout" in runfv3 using something other than yq. Downside... still can't use yq or jq to parse complete "fv3config.yml" objects.
change fv3config so that the diag table base time gets serialized in some JSON-readable format. E.g. could use the FV3 standard "current_date" format (a list of 6 ints for year, month, day, hour, minute, second). Would be a bit unpleasant to have to implement something like this.

Thinking about this a little more, it is odd that it happens for runfv3 run-native but not runfv3 append-segment since they both end up calling the runSegment function.


Update 0311-task-locals.md

Proofreading.

#1350 is making similar changes.

Oh nice. I'll rebase over them, and fill keep what they missed

Actually, there's nothing here that isn't already in #1350.
Closing.


Assistance with setting up Azure DevOps for DICOM

https://github.com/microsoft/fhir-server/issues/1409
A user had some questions about how to setup running a Azure DevOps server 2020 locally to build few OSS Repos that include Azure FHIR Server & Azure DICOM Server. We gave details on the FHIR OSS in the issue mentioned above but the user has questions about DICOM as well. I'm going to close out the issue on the FHIR Server and let the DICOM items be tracked here.
Thanks!

Azure DevOps is a wonderful product, with a fantastic build system. It's what we use internally to verify builds of this OSS server as part of a CI/CD process. Our build files are available under the /builds directory, although they require effort to move to a different Azure subscription (such as setting up new permissions, etc).
We are considering a move to GitHub Actions, but that is not a priority at this time.
For testing the latest Medical Imaging Server for DICOM in a simple fashion, or for building our a quick demo environment that runs locally, I recommend considering the docker-compose solution that builds out a DICOM, FHIR and DICOM Cast environment in only a few seconds.
Unfortunately, documenting the configuration of a per-user Azure DevOps build environment is out of scope at this time. Thus, I am closing this Issue.  Please feel free to comment, reactivate this issue, or create a new issue if you believe it was closed in error.

Azure DevOps is a wonderful product, with a fantastic build system. It's what we use internally to verify builds of this OSS server as part of a CI/CD process. Our build files are available under the /builds directory, although they require effort to move to a different Azure subscription (such as setting up new permissions, etc).
We are considering a move to GitHub Actions, but that is not a priority at this time.
For testing the latest Medical Imaging Server for DICOM in a simple fashion, or for building our a quick demo environment that runs locally, I recommend considering the docker-compose solution that builds out a DICOM, FHIR and DICOM Cast environment in only a few seconds.
Unfortunately, documenting the configuration of a per-user Azure DevOps build environment is out of scope at this time. Thus, I am closing this Issue.  Please feel free to comment, reactivate this issue, or create a new issue if you believe it was closed in error.


Usage of transitions router in a framework component

Description

An example of using transitions router with a react component.
A note about its behavior with server renders.

Related issues & labels

https://github.com/withastro/astro/pull/8771

Haha, great minds hyphen alike!


Use the official APIs

Describe the problem
Hi all, just today I stumbled upon a front-end for Twitter that (as per description) use the same APIs as Twitter.
Describe the solution
It would be possible to add an option to to choose use either Nitter or the Twitter APIs? In this way, if Nitter encounters any malfunctions, the user can switch to the official APIs.

@Davilarek Unfortunately, I checked the various types of Twitter API subscription plans after I posted this issue. I thought it was a fairly fixable solution. Obviously there was not said to be a unique account, a specific user would use their own API assigned by Twitter. Also it would have been an optional setting, the important thing is to make the user aware.
Hopefully this issue will be fixed as soon as possible (assuming it is fixable. I wouldn't want something similar to what happened to Aurora Store to happen). From what I understand the error is coming from Nitter. Unfortunately Squawker relying Nitter also carries with it the related technical problems.
Thanks anyway.

i'm not sure if this could be helpful but there is a potential fix announcement from @zedeus who i believe is the lead dev for nitter here:  https://github.com/zedeus/nitter/issues/983#issuecomment-1684506703

@Davilarek @wjcostel Nitter is officially discontinued


fix(chat): add tooltips in publish and unpublish (Issue #1421, Issue #1447, Issue #1450)

Description:
Need to add tooltip for folders names inside (un)publish request for prompt/chat folders
currently tooltip pointing to the center of the textbox
Note:Different font sizes for tooltips for Publish to and prompt/conversation name on the publication request details
No tooltip displayed on hover chat/prompt/folder name on unpublish pop-up
Issues:

Issue #1421 ,
Issue #1447 ,
Issue #1450

UI changes

Checklist:

[x] the pull request name complies with Conventional Commits
[x] the pull request name starts with fix(<scope>):, feat(<scope>):, feature(<scope>):, chore(<scope>):, hotfix(<scope>): or e2e(<scope>):. If contains breaking changes then the pull request name must start with fix(<scope>)!:, feat(<scope>)!:, feature(<scope>)!:, chore(<scope>)!:, hotfix(<scope>)!: or e2e(<scope>)!: where <scope> is name of affected project: chat, chat-e2e, overlay, shared, sandbox-overlay, etc.
[x] the pull request name ends with (Issue #<TICKET_ID>) (comma-separated list of issues)
[x] I confirm that do not share any confidential information like API keys or any other secrets and private URLs

Hey there and thank you for opening this pull request! 👋🏼
We require pull request titles to follow the Conventional Commits specification and it looks like your proposed title needs to be adjusted.
Details:
No release type found in pull request title " fix(chat): add tooltips in publish and unpublish (Issue #1421, Issue #1447, Issue #1450)". Add a prefix to indicate what kind of release this pull request corresponds to. For reference, see https://www.conventionalcommits.org/

Available types:
 - fix
 - hotfix
 - feat
 - feature
 - chore

/deploy-review

/deploy-review

/deploy-review

/deploy-review

/deploy-review

/deploy-review

/deploy-review

/deploy-review

/deploy-review

/deploy-review

/deploy-review

/deploy-review

/deploy-review

/deploy-review

/deploy-review


Update link to docs

Bottom link was to blimp.io docs, it is not there anymore?

Thanks. Just merged #489


ravenna-alsa-lkm-bondagit: init at unstable-2023-07-16

Description of changes
Init the (customized) Merging Technologies Ravenna ALSA kernel module from https://github.com/bondagit/ravenna-alsa-lkm/
This module provides AES67 capability, (alongside a user-space control process, such as the aes67-daemon project, for which a NixOS PR will follow).
I have this running on my x86-64 linux system, enabled via:
boot.extraModulePackages = [ config.boot.kernelPackages.ravenna-alsa-lkm-bondagit ];

and auto-loaded with:
boot.kernelModules = [ ... "MergingRavennaALSA" ];

One question I have is, the upstream documentation notes that this module requires a kernel with:
NETFILTER
HIGH_RES_TIMERS
NETLINK

options enabled, but I couldn't figure out a way to define such a requirement from inside the driver's module package. One thought is, this driver is only really going to be pulled in as a dependency of the aes67-daemon package, for which I have a NixOS module, and these requirements can be encoded there. Is this the standard approach?

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

(gentle bump)


Added solution to D3 use dynamic scales challenge

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@thecodingaviator The solution passes the tests.  The solution would look much better with 2 space indentation as well as the challenge seed code (which is beyond the scope of this PR).  Would you mind reformatting the solution for the article.  I will create a separate PR to indent all of these D3 challengess' seed code.

@RandellDawson how does it look now?

@moT01 Please don't merge yet.  I am checking something.

@thecodingaviator If the goal is to have the right brackets line up, then you will need to make a change.  See below how it currently shows locally:

Changing lines 38 thru 47 to the following:
      [ 34,   78 ],
      [ 109, 280 ],
      [ 310, 120 ],
      [ 79,  411 ],
      [ 420, 220 ],
      [ 233, 145 ],
      [ 333,  96 ],
      [ 222, 333 ],
      [ 78,  320 ],
      [ 21,  123 ]

will render it like:

I’ll  make the change on both PRs tomorrow.

I can make them on your behalf if you are ok with that.

Please do, I’m fine with that
On Thursday, May 16, 2019, Randell Dawson<EMAIL_ADDRESS>wrote:

I can make them on your behalf if you are ok with that.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/freeCodeCamp/freeCodeCamp/pull/34241?email_source=notifications&email_token=AIJR53D3FUP57TWD7SAVQPLPVRRARA5CNFSM4GCHCGNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVPWWBY#issuecomment-492792583,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIJR53DSOZU7TKIWKP55TULPVRRARANCNFSM4GCHCGNA
.


feat: upgrade gradle to 8.1.3, compileSdk and add namespace

Please, add some description on what are you trying to fix by these changes. Thank you!

Sorry about that, I think I removed description by mistake. It's about Gradle upgrade. If the people use recent gradle, your sdk is not working because There are some mandatory changes such as namespace. Therefore, your library gives an error in applications that use the current Gradle. You can experience it by upgrading the Gradle version.

I've added a bit more changes and created the pull request (linked above) to the correct branch. Thank you for your suggestions!


What's the specification of the quaternion protocol?

The documentation is very blurry on this part so I'd like to suggest to explicitly defined it in the code, presumably with the following information:

neutral heading / zero heading of the glasses: where does the user look into when all reading are 0?
reference frame: should be glasses body frame or one of the world inertial frames
chirality: should be left-handed or right handed
coordinate system: should be XYZW, WXYZ, or some esoteric coordinate system
marshalling sequence: should be ascending or descending
normalisation: should be normalised or unnormalised

Euler angle protocol has similar specification but I was able to reverse-engineer most of it from the Unity example

If I switch to quaternion API in Unity, the result also becomes quite unstable
on 90 degree roll the error between quaternion & euler angle may reach over 50 degree
should we just stick to Euler angle?


Make collision with TileMaps useful (3.2)

I just ran into the problem of not beeing able to get the exact colliding tile. Since the described workaround in https://github.com/godotengine/godot/issues/24739#issuecomment-451529763 doesn't work ether and you don't have a chance to get the RID of the quadrant, to get the metadata with the cell position from the Physics2DServer, I added a map to store the shape_id with the corresponding cell. This allows to actually do something when you get a collision with a TileMap. As I use the 3.2 in production and needed a fix badly, I started in the 3.2 branch. A fix for the master branch will follow.

So this fix is actually wrong... The underlying problem is that for the ease of use the Quadtrants have the RID. Since the user can't access those, it is impossible to get the metadata from the Physics2DServer. In this metadata is the cell position stored, that I want to access. My current idea is to always use the collision_parent, even when there is no parent and construct one in the class that keeps track of the shapes. This way it would be possible to use TileMap Colliders like every other collider. Another option would be to always require the TileMap to be a child of a CollisionObject2D.

So. I fixed it propper this time with implementing some CollisionObject2D features into the TileMap. Idk if the name of the function to get the actual colliding cell is really good, but I had no better idea.


Open User Tasks does nothing in multiroot

Testing #93746

Open a multiroot workspace
Run Open User Tasks
:bug: => nothing happens

I'm not seeing the same behavior. Is there anything in the console?

may have been related to another issue you resolved yesterday, can no longer repro.


fix(build): don't resolve dynamic imports in dead code (fix #5676)

Description
By running the define plugin before esbuild, esbuild will rewrite dynamic imports in dead branches to null.
Code like:
if (import.meta.env.SSR) {
  const { data } = await import('./loadServer');
  console.log(data);
}

is transformed to:
if (false) {
  const { data } = await null;
  console.log(data);
}

For the browser build, so that ./loadServer which cannot be bundled for browser won't cause a build failure.
Additional context

What is the purpose of this pull request?

[X] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[X] Read the Contributing Guidelines.
[X] Read the Pull Request Guidelines and follow the Commit Convention.
[X] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[X] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

This breaks vue SFC styling.


Extra period in how.bitty.site

There's an extra period under "Sharing" in the first paragraph.

Fixed. Thanks!


incompatible types

Hi, for my Simulate2, i am currently facing this issue and am not sure how to resolve it. I wanted to create a PQ in simulate 2 and these were the 2 lines of code. Does anyone know how to resolve this issue? thanks in advance

Maybe you want to consider checking your PQ constructor? Based on the error message, it seems like you may be assigning the
Comparator PriorityQueue somewhere? All the best!

Maybe you can check your constructors for PQ. I did the same method as you for Simulate2, I had 2 PQ constructors.

private PQ(PriorityQueue<? extends T> pq)
public PQ(Comparator<? super T> cmp)
Hope ths helps!

Hi, for the above, I think there is somewhere wrong around my priorityqueue that cannot accept a subclass of Event (EventStub). But I can't seem to figure out where went wrong. Could anyone help?

hello, I had a similar issue and found that it was a problem with  my PQ constructors that took in the comparator

Hi, for the above, I think there is somewhere wrong around my priorityqueue that cannot accept a subclass of Event (EventStub). But I can't seem to figure out where went wrong. Could anyone help?

hello, I had a similar issue and found that it was a problem with  my PQ constructors that took in the comparator

Hi, for the above, I think there is somewhere wrong around my priorityqueue that cannot accept a subclass of Event (EventStub). But I can't seem to figure out where went wrong. Could anyone help?

hello, I had a similar issue and found that it was a problem with my PQ constructors that took in the comparator

Oh, could you elaborate?

I had no issue running the above lines in level 1, but when I tried to do adding, the error popped up

Oh I see, yup actually the ImList is indeed very useful in creating PQ.

hi i still dont understand how to solve this problem can someone give me more hints? thank you!

The problem should lie within the constructor of PQ. Got to make sure that the parameter type of the comparator that the constructor of PQ takes in needs to be "Comparator"


Add score page

need to add a scorepage.html that the user can access when finishing the game

score page is added, needs styling on table


pip-sync errors when merging multiple requirements.txt files that point at the same editable install

pip-sync raises an AttributeError: 'NoneType' object has no attribute 'specifier' error when you try and run it with multiple requirements files that each include an editable install for the same package.
Environment Versions

OS Type: Linux
Python version: Python 3.9.11
pip version: pip 22.3
pip-tools version: pip-compile, version 6.9.0

Steps to replicate

Create a setup.py, dev_requirements.in, requirements.in file

# setup.py
from setuptools import find_packages, setup
setup(name="a", version="0.0.1", packages=find_packages())

# dev_requirements.in
-e file:.

# requirements.in
-e file:.

Run pip-compile

pip-compile requirements.in
pip-compile dev_requirements.in

Run pip-sync

pip-sync requirements.in  dev_requirements.in

Expected result
I expected the editable package to install once. Similar to running pip install -r requirements.txt -r dev_requirements.txt
Actual result
pip-sync raised an error
Full stack trace
➜  scratch pip-sync  requirements.txt dev_requirements.txt
Traceback (most recent call last):
  File "/home/vivek/.pyenv/versions/3.9.11/bin/pip-sync", line 8, in <module>
    sys.exit(cli())
  File "/home/vivek/.pyenv/versions/3.9.11/lib/python3.9/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/home/vivek/.pyenv/versions/3.9.11/lib/python3.9/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/home/vivek/.pyenv/versions/3.9.11/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/vivek/.pyenv/versions/3.9.11/lib/python3.9/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/home/vivek/.pyenv/versions/3.9.11/lib/python3.9/site-packages/piptools/scripts/sync.py", line 146, in cli
    merged_requirements = sync.merge(requirements, ignore_conflicts=force)
  File "/home/vivek/.pyenv/versions/3.9.11/lib/python3.9/site-packages/piptools/sync.py", line 115, in merge
    if ireq.specifier != existing_ireq.specifier:
  File "/home/vivek/.pyenv/versions/3.9.11/lib/python3.9/site-packages/pip/_internal/req/req_install.py", line 245, in specifier
    return self.req.specifier
AttributeError: 'NoneType' object has no attribute 'specifier'

...

Alas, can't reproduce the bug. Could you show the pip --version output? This does look like you're using some old pip version.

➜  /src git:(main) pip --version
pip 22.3 from /home/vivek/.pyenv/versions/3.9.11/envs/chrono/lib/python3.9/site-packages/pip (python 3.9)

Would it help if I pushed a Docker image with the repro in it?

(Added tests and fix in PR)


make node-sdk-unit-tests fails: panic: Cannot parse block timeout: time: invalid duration

Description
Environment:  windows 7 -> virtualbox -> gitbash -> vagrant
Ramesh Thoomu and I both see this failure running make node-sdk-unit-tests:

member services is started
Begin running tests in net mode ...
ERROR: peer failed to start; see /tmp/node-sdk-unit-test/peer.log
So we find this in peer.log:
=============================begin peer.log excerpt==============================
18:20:06.401 [consensus/controller] NewConsenter -> INFO 013^[[0m Creating default consensus plugin (noops)
panic: Cannot parse block timeout: time: invalid duration
goroutine 1 [running]:
panic(0xd2f5e0, 0xc8203e0d20)
/opt/go/src/runtime/panic.go:464 +0x3e6
github.com/hyperledger/fabric/consensus/noops.newNoops(0x2ac81e8506a0, 0xc8203ca200, 0x0, 0x0)
/opt/gopath/src/github.com/hyperledger/fabric/consensus/noops/noops.go:76 +0x956
github.com/hyperledger/fabric/consensus/noops.GetNoops(0x2ac81e8506a0, 0xc8203ca200, 0x0, 0x0)
/opt/gopath/src/github.com/hyperledger/fabric/consensus/noops/noops.go:55 +0x48
github.com/hyperledger/fabric/consensus/controller.NewConsenter(0x2ac81e8506a0, 0xc8203ca200, 0x0, 0x0)
28,2-9        42%
===================end peer.log excerpt =================================
Ramesh switched to an earlier commit, and the tests succeeded.  This is the commit that seems to cause the error: 2ad27bd
Entire peer.log
peer.zip
Describe How to Reproduce
1.From Gitbash, synchronize your laptop with the latest level
2.vagrant up
3.vagrant ssh
4.cd into 'fabric'.  For example, cd /opt/gopath/src/github.com/hyperledger/fabric
5.make node-sdk-unit-tests

@jjjjibm does this occur with the latest npm install (assuming they are in sync).  Does @ratnakar-asara hit this on ubuntu?  Can you have someone else running windows with Vagrant try and reproduce asap?
Thanks.

@bmos299
@diegomasini and I are investigating this now. We see it now on latest master as well. We are both in Vagrant on Mac. Error is below:
panic: Cannot parse block timeout: time: invalid duration
Will update shortly.

Thanks @angrbrd.  I think this command only exist on the master branch?

@bmos299, I'm in the midst of re-cloning my fabric to see if that eliminates the other issue.  By npm install, I take it you want me to try 'hlc' instead of make node-sdk-unit-tests?  Not sure how that works.

OK @diegomasini and I just tested a fix for this locally. Will require two PRs. I will submit momentarily.

Wow! Thanks @angrbrd !

@ghaskins is also aware that PR is ready. Thanks.


feat(client) add option to override ttl

Implements a new option validTtl that, if given, overrides the
ttl of any valid answer received from the name server.
closes #48

I picked validTtl because it is used as the ttl for valid answers (there are others for errors etc). If we'd call it overrideTtl it wouldn't explain which answers it would override.
Additionally, valid is the name of the similar nginx option
regarding the usecase, I referenced the original issue it resolves, but I could repeat it here?

ah, my bad, I missed the referenced issue, sorry. the explanation for the
name is reasonable as well.
On Thu, Aug 23, 2018, 17:11 Thijs Schreijer<EMAIL_ADDRESS>wrote:

I picked validTtl because it is used as the ttl for valid answers (there
are others for errors etc). If we'd call it overrideTtl it wouldn't
explain which answers it would override.
Additionally, valid is the name of the similar nginx option
regarding the usecase, I referenced the original issue it resolves, but I
could repeat it here?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/Kong/lua-resty-dns-client/pull/57#issuecomment-415555584,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAO_dfJx-tpXbzS9ZbgFXm9V17XiMkwkks5uTwxtgaJpZM4WJ4NI
.


Firestore

FIRESTORRRE!!!!!

@SUPERCILEX you're right, since our min SDK is < 21.  Oops.

@samtstern 😂


Toxophilist/sprint dev

0.53.0 Release.
Alpha code associated with OKIT Freeform design / desktop app release.

0.53.0 Release


[Bug] Incorrect operation of footnotes

Describe the bug
Sometimes, if there is only one footnote in the epub of a book, then clicking on it throws it to the interstitial of the book, and not to the page with the footnote.
Tested on Android api 33 on versions of Readium  2.4.0 and latest 3.0.0-beta.1
https://github.com/readium/kotlin-toolkit/assets/22211623/2b301306-5780-49fd-9ddb-13459407104d
How to reproduce?

Launch kotlin-toolkit
Open book https://file.io/YWCbxCoTaf7H
Scroll down to the footnote number 1
Click on the footnote

Readium version
3.0.0-beta.1 and the previous ones
Android API version
33
Additional context
If you open it in other readers, then the footnote works correctly

Thank you for reporting this issue.
Note to self: valdshnepy.epub


Changes to apply needed for cuda/cublas executor

Two patches:
#p1
Use decltype(auto) for apply return type to fix cuda executor issue:
makes the hpx::apply dispatch match the hpx::async dispatch and allows the return type to be deduced by return from the executor instead of the function - which breaks when functions have things like cuda streams added by the executor
#p2 Allow apply to return a value:
Certain executors such as cuda, cublas, or networking, are able to
create asynchronous work without spawning a task and will usually return
a future, however the use of apply instead of async might be preferred
in certain cases to allow multiple kernels (for example) to be launched
on a stream (execution order guaranteed by the 3rd party library).
In these cases, the return value of the function invocation should
be passed back to the user so that a call to apply can be checked
before proceeding if an error code is returned from a function.
This allows constructions such as
cudaError_t err = hpx::apply(cuda_exec, cudaMemcpyAsync,         d_A, h_A.data(), size_A * sizeof(T), cudaMemcpyHostToDevice);
to be used and the return checked directly.

I see on CI that async_customization is failing. This is due to the suboptimal implementation of the shim executor - this can actually be replaced with the new polymorphic_executor (thanks @hkaiser  for implementing that). I shall redo the test to use that and push again once it is done.

Two patches:
#p1
Use decltype(auto) for apply return type to fix cuda executor issue:
makes the hpx::apply dispatch match the hpx::async dispatch and allows the return type to be deduced by return from the executor instead of the function - which breaks when functions have things like cuda streams added by the executor

Sorry, but I don't think returning anything from post/apply makes any sense. These operations are explicitly fire & forget, so returning something from post/apply could be useful only to report errors that occurred while executing the post or apply itself (not errors caused by the task that is being posted). However, this kind of errors should be reported using exceptions.

#p2 Allow apply to return a value:
Certain executors such as cuda, cublas, or networking, are able to
create asynchronous work without spawning a task and will usually return
a future, however the use of apply instead of async might be preferred
in certain cases to allow multiple kernels (for example) to be launched
on a stream (execution order guaranteed by the 3rd party library).
In these cases, the return value of the function invocation should
be passed back to the user so that a call to apply can be checked
before proceeding if an error code is returned from a function.
This allows constructions such as
cudaError_t err = hpx::apply(cuda_exec, cudaMemcpyAsync, d_A, h_A.data(), size_A * sizeof(T), cudaMemcpyHostToDevice);
to be used and the return checked directly.

For this reason, I would vote against relying on returning an error code from apply like this. If there is a CUDA error generated while posting the kernel to the device, an exception should be thrown. This would be important for consistency as we usually employ exception handling to report errors. Returning an error code is very error prone in itself as people will forget to check for the result.
Please note that I'm not against removing the over-constraining SFINAE on the post customization point implementation. This is a valid change that fixes a problem in the current implementation.

I've reduced this PR to just the first patch that is needed for cuda async/apply. Please merge if it clears CI


Add TSU domain

Tver State University
Official website
Undergraduate programs that related to IT
About official email domain for the enrolled students or second
Address

@K1ZO I am sorry for a delay with processing your request.
Pull request merged. Thank you!


Confusion on using Pundit with Engines // Admin Routes

I'm having a little trouble fully understanding how to use Pundit.
There are 2 things I'm confused on:

1. Policies that are scoped within a namespace.
I have scoped controllers (that are within engines), ex:
module Thing
  class Admin::UsersController < Admin::ApplicationController
    # etc
  end
end

But when I tell pundit to authorize User, it says it's looking for the Thing::UserPolicy (instead of the Thing::Admin::UserPolicy.

2. Auto-rejecting non-admins from all Admin controllers
My default thoughts for locking out non-admin users would be to place a policy within the Admin::ApplicationController, that auto checks to see if a user is an admin, and if not - they get rejected. I'm not quite sure how this would look in Pundit though.
Would this just be a headless policy, such as AdminPolicy that would auto reject all actions if the user is not an admin?

Thanks!

RE: 1. Policies that are scoped within a namespace.
I would also like to know what is the proper way to handle authorization for namespaced controllers.
RE: 2. Auto-rejecting non-admins from all Admin controllers
I use a headless policy and method missing to authorize everything, but you could get more granular.
# app/controllers/admin/application_controller.rb
before_action :authorize_admin_user!

def authorize_admin_user!
  authorize :admin, "#{params[:action]}?".to_sym
end

# app/policies/admin_policy.rb
AdminPolicy = Struct.new(:user, :admin) do
  def method_missing(_name, *_args, &_block)
    user.admin?
  end
end

This looks like a sensible solution for No. 1
https://github.com/elabs/pundit/issues/308

At Doorman.co we had this problem and have submitted https://github.com/elabs/pundit/pull/331 which allows you to to pass an array to authorize like this:
authorize [:thing, :admin, User]

Which should load: Thing::Admin::UserPolicy

#331 is now merged, which provides a pretty sensible solution to this problem.


[ZEPPELIN-5395] Address tab nabbing vulnerability

What is this PR for?
Anchor links that launch new tabs using target="_blank" are vulnerable to tab nabbing
see: https://owasp.org/www-community/attacks/Reverse_Tabnabbing
What type of PR is it?
Improvement
Todos

Add rel="noopener noreferrer" to the anchor links (https://cheatsheetseries.owasp.org/cheatsheets/HTML5_Security_Cheat_Sheet.html#tabnabbing)

What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-5395
How should this be tested?
Child pages from opened links should not contain referrer info or links to the parent one
Screenshots (if appropriate)
Questions:

Does the licenses files need update?
No
Is there breaking changes for older versions?
Content of parent pages will no longer be accessed with back referencing from the child ones
Does this needs documentation?

Thank you. Changes LGTM.
Just wondering why the addition of noreferrer noopener was not added for the following:

docs/interpreter/cassandra.md... lines 166, 175, 184 (just wondering since docs/interpreter/jdbc.md has been treated)
zeppelin-web/src/app/home/home.html... lines 60, 67, 69, 71 (is the reason that the links are to github.com and apache.org and we definitely trust those websites forever?
zeppelin-web-angular/src/app/pages/workspace/interpreter/item/item.component.html... lines 98, 328 (is it because an Angular plugin is used to automatically add these tags at transpile time?)
and a few other minor similar examples that broadly follow the above 3 categories...


windows: route path mismatch with manifest

this is what manifest looks like on windows in getAssetsFromManifest :
getAssetsFromManifest: route= [ { originalPath: '/', pattern: '', path: '/', params: {} } ]
manifest:  {
  '/C:/Users/me/src/test-solid-start/2022-01-23/src': [
    { type: 'script', href: '/assets/index.1ce99872.js' },
    { type: 'script', href: '/assets/client.99f63873.js' },
    { type: 'style', href: '/assets/index.adcc5497.css' }
  ],
  '*': [ { type: 'script', href: '/assets/client.99f63873.js' } ]
}

that C:/Users/.. path is just '/' on linux
as a result, on windows, no script and style tags are added to the <head>

I see sweet.. (sarcasm).. I'm open to suggestions.  We might need to handle it ourselves. But for now I'm open to suggestions.

on linux, rollup-route-manifest is happy to convert absolute file path to the route relative to routes root: on this line after calling toRoute() with
console.log(`bundle key ${key} fid=${fid} route=${route}`);

we have
bundle key assets/index.0503c002.js fid=/.../solid-start-tests/with-mdx-ts/src/pages/index.mdx route=/

on windows, not so much, the absolute path prefix remains:
bundle key assets/index.1ce99872.js fid=C:/.../test-solid-start/2022-01-23/src/pages/index.tsx route=/C:/.../test-solid-start/2022-01-23/src

now looking where it gets those routes from...

... sigh. Vite made their choice, they always normalize paths to posix-style:

Vite's resolve plugin and most official Rollup plugins normalize windows paths this way,

hard to blame them.
as long as this part continues to be vite/rollup plugin, I think it's ok to just reuse normalizePath from vite when necessary, to avoid mismatches with their path resolution.


Add "loading spinner" when portfolio is created

Currently, the user does not get any feedback when the portfolio is created. And the creation takes a while. Either add a "spinner" or some other way to give clear feedback.

I'm assigning this to Su.
Su when you are redesigning the registration page, keep track of the state that the registration page is in (active, waiting, inactive). Inactive means that the button (arrow previously) will be inactive. Waiting means that the link (the green button previously) has been clicked and we are waiting for it to return. Active means that the link returned and that the user should be allowed to proceed.
The spinner should appear in the waiting state. Generally this would be really quick that the user won't notice it, but it is relevant in creating the portfolio since it takes a bit of time.


Refactor K2-Automata package

better names for classes because this is FSM automaton
better comment for K2FSMAutomaton
2 classes for initial and final states

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5835

Relevant Lines:
14499

💛  - Coveralls


Make app.authenticate({ type: 'local', email, password }) more secure

// Authenticate user and log on if user is verified.
var cbCalled = false;
app.authenticate({ type: 'local', email, password })
  .then((result) => {
    const user = result.data;
    if (!user || !user.isVerified) {
      app.logout();
      cb(new Error(user ? 'User\'s email is not verified.' : 'No user returned.'));
      return;
    }
    cbCalled = true;
    cb(null, user);
  })
  .catch((err) => {
    if (!cbCalled) { cb(err); } // ignore throws from .then( cb(null, user) )
  });

Since this is javascript running at the front end, a unverified user can always manually log himself in via browser's console (simply run app.authenticate({ type: 'local', email, password }) as long as he could find how to access the app), bypassing the !user.verified check. I wonder if there is any decent way to avoid this.
I was thinking authenticate, if configured to do so, would check user.isVerified if it existed.

Wouldn't subsequent requests still fail though?

yes I think @daffl is right. As long as we have correct before hooks, no need to worry about this.


Fixed: natricon size too big on mobile devices

This PR fixes #400.
The issue is caused by this uikit CSS rule:
canvas, img, video {
    max-width: 100%;
    height: auto;
}

@keerifox thanks!
Should I close it now?


Backport #10041, #10065

Thanks @hoechenberger ! FYI I plan to push out 0.24.1 today hopefully

Great, thank @larsoner!


iOS 13 devices crash somtimes v1.2.3

SwiftEntryKit Release
1.2.3
Describe the bug
crash only on iOS 13 devices when EKWindow init
Fatal Exception: NSInvalidArgumentException
-[UIApplication connectedScenes]: unrecognized selector sent to instance 0x153e645d0

Screenshots
crash stack:

devices info:

maybe add the code in init method for iOS 13 could resolve this? :
if UIApplication.shared.responds(to: #selector(getter: UIApplication.connectedScenes)) {
}

Would be interesting to know the state of the app at the time of the crash, as well as how common the crash is. It seems like the method connectedScenes is missing.
I'll try to look into this later this today or tomorrow.

Revisiting it again, I'm not too sure that adding if UIApplication.shared.responds(to: #selector(getter: UIApplication.connectedScenes)) {} won't be causing other unwanted effects that cannot be monitored - such as not showing anything. Need to investigate further and think about it as I couldn't reproduce the issue so far.

It seems that the crash happened when the display method was called a lot of times in a very short period. When our App disconnects from the network, all of the requests failed and we use EKit to display the errors.

Closing. I'm suggesting to throttle invocations in such cases.


Try and document best way to run and try this on a Mac

Goal is not ideal full developer support (for that  it's clear that some VM with real Visual Studio is best).
Goal: Enable a broader set of people to usefully try the SDK, write some example user side code,  do code review etc.
Options I stumbled upon:

VS Code (from MS) https://code.visualstudio.com/
http://www.monodevelop.com/
... please propose more

Since MS is strategically investing into cross-platform
My VS Code 2-minutes try was relatively positive - it's seamless with Git, preconfigures the "Original" .NET core Mac runtime (no mono required) etc., but I did not go into serious work.

@jhumber  @schleichardt  @lauraluiz  maybe you or someone else from the team has some experiences.

Done by Microsoft, they are providing a full Visusal Studio now for mac.  I'll commit it to the README asap.


CLI for Vicinity plugin

Reference issue #319
Testing:

[X] Ran tests and they passed OK
[X] Added new tests for the new feature(s)

I've tested this on multilevel data, on ensemble multilevel data, etc and it works as expected. The fixes to the vicinity plugin were extra work, but it's great that Caroline picked them up and fixed them. I'm happy that we should merge this code.


[GUI Editor] Overhaul selection and simplify workbench

Completely reworks the selection logic to follow a simple new system:

On every pointer down, collect all controls that were clicked
On the next frame, determine which control, if any, to select. If we didn't hit any controls, we should deselect everything. If we double clicked, we should go down one level in the hierarchy. If we clicked the control or a sibling of the control, select that one. Otherwise, if we hit a root level control, select that.

There is one special case: if you have a control already selected, then selection processing part will only happen after you release the pointer. This is because you may want to drag the selected control(s) rather than selecting, so if you move your mouse more than a few pixels, you will get a drag behavior instead.
Also reduces some of the complexity of workbench.tsx and removes some bad practices. More work is definitely still need here, but it's a step in the right direction.

Want to merge this into the new structure?

Did I miss something? I think this PR should be ready to merge into master


onClose event is not invoked

I have set the onOpen and onClose events as follows but only the onOpen event is invoked the onClose is ignored
....
<MotionMenu
       margin={64}
       type="horizontal"
       openSpeed={20}
       bumpy={true}
       wing={false}
       reverse={true}
       onOpen={this._onMenuOpen}
       onClose={this._onMenuClose}>
....

Thanks

@tbolis thanks for your report. fixed #34(v0.4.2)

u are welcome thx for the fix


error dected when vim startup

I use vim-bootstrap to generate my vim config with some modifies, it works well in the past time, but recently vim throw out a error everytime when startup:
Error detected while processing BufWinEnter Autocommands for "*"..function <SNR>99_Setup[6]..<SNR>99_IndentLinesEnable[10]..<SNR>99_SetConcealOption:
line    8:

this is my vimrc file, I have used :PlugUpdate update to latest indentLine  version, the error still there. Temporarily, I have to comment Plug 'Yggdroot/indentLine' to let those errors disappear. I doesn't play well with vim,  how to fix it?

I'm having the same issue, just started recently.
vim --version
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Mar 09 2022 00:00:00)
Included patches: 1-4529
Modified by<EMAIL_ADDRESS>Compiled by<EMAIL_ADDRESS>
I'm on fedora workstation version 35 if that matters.

I'm having the same issue, just started recently.
vim --version
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Mar 09 2022 00:00:00)
Included patches: 1-4529
Modified by<EMAIL_ADDRESS>Compiled by<EMAIL_ADDRESS>
I'm on fedora workstation version 35 if that matters.

same with you, my system is also fedora 35, the vim version actually is  same

same here, latest macbook pro (with m1 max chip)

Experiencing the same error here. Is there an alternative to this plugin?

Same error.

in my fedora 35, I just use sudo dnf downgrade vim-enhanced --allowerasing to downgrade vim to 8.2.3404, after that, the error goes, so threre is some problem with indentLine compatibling with newer vim.

I have this same line in my vimrc.  After inspecting this snippet in the source code:
https://github.com/Yggdroot/indentLine/blob/7753505f3c500ec88d11e9373d05250f49c1d900/after/plugin/indentLine.vim#L104
I tried changing 0 to "inc" in my vimrc.  That appears to have resolved the issue.  So try changing this:
" :(
let g:indentLine_concealcursor = 0

to this:
" :)
let g:indentLine_concealcursor = "inc"

https://gist.github.com/ljhui/119df3dfcfd6a95d9bc2facc55b54f44#file-vimrc-L182
Why do you set let g:indentLine_concealcursor = 0? g:indentLine_concealcursor is a string, you can set let g:indentLine_concealcursor = '' or leave it alone.

https://gist.github.com/ljhui/119df3dfcfd6a95d9bc2facc55b54f44#file-vimrc-L182
Why do you set let g:indentLine_concealcursor = 0? g:indentLine_concealcursor is a string, you can set let g:indentLine_concealcursor = '' or leave it alone.

this is auto-generated  by vim-bootstrap ，all vim-bootstrap generated config files have this line, maybe vim-bootstrap still uses an out-dated  customization . I should read the IndentLine readme first, actually this line cause the problem, after change , the error fixs, thanks all!


Boxes CI tests no longer work

These were previously run by downloading the yarn-project and running a docker-compose with that image running the tests from yarn-project/boxes/....
Since boxes is no longer included in yarn-project directory this doesn't work anymore. In fact no Docker image is being built that includes the boxes currently.

I'm giving this thought. Will propose best course of action soon.

Resolving as part of: https://github.com/AztecProtocol/aztec-packages/pull/3727


Add doc and encode/decode utility functions

Coverage increased (+0.6%) to 88.504% when pulling d2aa98c64595b6882b05983f03e404be87da0426 on gal_add_doc into 21e0ae23bece603a846461be4958b202519c9be0 on master.


Authentication with Grandstack starter not working with netlify deploy @neo4j/graphql

Hi Everyone,
I'm trying to deploy my first app using GRANDstack with netlify.
I'm having some issues implementing authentication.
I've created an @auth directive
extend type Member @auth(rules: [{ roles: ["federalAdmin"] }])
{
  members {
    id
  }
}

I don't know what it is, but the same queries that I run on my local machine work perfectly but when I run them against my function in the cloud, I get the response
{
  "errors": [
    {
      "message": "Forbidden",
      "locations": [
        {
          "line": 2,
          "column": 3
        }
      ],
      "path": [
        "maritalStatuses"
      ],
      "extensions": {
        "code": "INTERNAL_SERVER_ERROR",
        "exception": {
          "stacktrace": [
            "Neo4jGraphQLForbiddenError: Forbidden",
            "    at Object.<anonymous> (/Users/jd/Documents/dev/fl-admin-portal/api/node_modules/@neo4j/graphql/src/utils/execute.ts:95:19)",
            "    at Generator.throw (<anonymous>)",
            "    at rejected (/Users/jd/Documents/dev/fl-admin-portal/api/node_modules/@neo4j/graphql/dist/utils/execute.js:24:65)",
            "    at processTicksAndRejections (internal/process/task_queues.js:93:5)"
          ]
        }
      }
    }
  ],
  "data": null
}

I would like to know if there is something I am doing wrong or if this is a bug in netlify or in GRANDstack. Any help?
Has anyone been able to implement authentication with a netlify function so far?
My code can be found here https://github.com/jaedag/fl-admin-portal.
Thanks in advance!

This was solved here


[WIP] Add support for chrono types

As discussed in issue #92, I started writing impls for diesel to handle chrono’s DateTime type. This is strongly inspired by the implementation of same feature in the postgres crate.
Only DateTime is handled at the moment. Tests are far from complete.
I wonder if it would not be possible to implement FromSql and ToSql for DateTime<T: TimeZone> and avoid having to provide implementations for UTC, FixedOffset and Local. The whole timezones business is a bit fuzzy in my head as soon as it strays too far from “UTC everywhere”.
I have a two questions:

Shouldn’t
this
read “Timestamps are represented in Postgres as a 64 bit signed integer”? If so, should this be in a separate PR?
As converting from DateTime to Date (for example) is easy, should  there be impls like impl ToSql<Date> for NaiveDateTime, or should mappings between types be strict?

Shouldn’t this read “Timestamps are represented in Postgres as a 64 bit signed integer”? If so, should this be in a separate PR?

Yes to both.

As converting from DateTime to Date (for example) is easy, should there be impls like impl ToSql for NaiveDateTime, or should mappings between types be strict?

I'd prefer to be strict -- as you said, it's easy to convert from DateTime to Date if that's what you need. I prefer to avoid any implicit loss of precision.

This is a great start, thanks for working on it.

I cleaned up the code, squashed the commits, and merged in https://github.com/sgrif/diesel/commit/9d879552f348c2747c527bf49c4b92f0b548672f. Feel free to take a swing at dates/times as well (Julian day conversion, yayyyyyy)

Wow, that was quick! Great! (It’s my first real code PR on github!) Thanks for the guidance!
I was just checking the official documentation and even the postgres source (that was not very helpful) to see how binary timestamps are handled with respect to timezones.
I can’t say I grok all the implications of the impls with timezones, so it is probably safer to remove them indeed.
What I understand from the official docs is that the binary representation is always UTC, and timestamptz is only meant to indicate a time zone should be provided in the input expression so postgres can properly convert it to the internal UTC representation. On the output side, everything is converted to (or interpreted as, if it is a timestamp sans timezone) local time. (I may very well be wrong).
I will most definitely try to do dates and times too if no one else does it first.

Right, and so we can do an impl of ToSql for all the various non naive types to timestamptz, with only an impl of FromSql for DateTime<UTC>.

(I need to read through the docs more thoroughly on that front, too)


Command: close_folder_list

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1197142-command-close_folder_list?utm_campaign=plugin&utm_content=tracker%2F282001&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282001&utm_medium=issues&utm_source=github).

Migrated to limetext/lime-backend#21.


Select output device for audio

Purpose

Show audio device selection menu for Lobby and Call View
Audio device selection menu shows two options, iPhone and Speaker
iPhone selection includes any external mic connected (Bluetooth, wired headset)
Selecting a given audio device will use that device during a call

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

Test Audio device selection in Lobby and Call Views
Connect external audio devices before and during a call

What to Check
Verify that the following are valid

Audio device menu shows correct and current audio device
Selection of alternative audio device properly changes audio device used

Other Information

Passed a brief test


Missing Release for LaunchDarkly v7 SDK

I noticed that the code for supporting v7 of the LaunchDarkly SDK within the LD provider has not yet been released, but was merged in 3 months ago as #525. This has not yet been tagged & released so only the v6 of the LaunchDarkly SDK works with the provider.  Is there a reason this wasn't yet released? If not can we push out the update?

Awesome, thanks @beeme1mr!


Steal regexMatch from consul-template

Makes it possible to do pattern-based template blocks.

Love it :+1:
I'll merge/release this with the next release.

I should have mentioned that I stole this verbatim from consul-template.
I didn't have time tackle writing tests for template.go as part of this commit, but I'd like to see that happen, as I think more functions will probably get contributed. :-)

@aelsabbahy any idea when the next release will land?

Sometime later this week, been out on vacation.

👍


Should contextual navigation be removed?

In the past we have added contextual navigation buttons in the UI to be able to reduce the nav items.
Since we have grouped all nav items in the menu button, I was wondering if having them in different pages is redundant.
Specially buttons that redirect to settings, portfolio, and sign out.

etc...

Is it possible to test which widget is used more before deleting anything?  Personally, I would use the buttons that are directly displayed on the page.

We could add analytics events and see which ones are getting the most usage; However, since we have moved all those buttons to the menu, and the user can have access to them at any point, it makes sense to remove the duplicates and save the users some scrolling.

Yup, I think its better to remove them as they(Sign out and update account settings) are in the Menu itself. They might also end up confusing the user.


HIVE-28115: Sync mockito-core version in standalone-metastore with parent pom.xml

What changes were proposed in this pull request?
HIVE-28115
Why are the changes needed?
There is a difference between pom.xml and stanalone-metastore/pom.xml.
Does this PR introduce any user-facing change?
NO
Is the change a dependency upgrade?
Yes
How was this patch tested?
Will see result of the UT

1 iceberg test failed, seems unrelated to standalone-metastore. Will re-run the test.


Create styled Tooltip

Can you explain more on this , I am willing to work on this issue

Yes, but it basically means taking the headless tooltip component and styling it based on the fluffy styles
But we are blocked by some other issues first


Astroplan - set issue

Hi,
I am trying to use the astroplan feature to decide when to observe various fields for an all sky H-alpha Survey. I am trying to incorporate the "best_month" feature into my output table which will then be used to decide which fields to schedule when. However, some of the fields are not observable due to only being observable from the Northern Hemisphere or Southern Hemisphere. As a result, I think best months should return an empty list. However, when it tries to write the column to a text file, it throws an error
"TypeError: unhashable type: 'set'"
Happy to share my python notebook if that is helpful. Just can't upload it here.
Best,
David

Thanks for reposting, @dsliski !
Notebook available from https://groups.google.com/g/astropy-dev/c/UmQdDbRgbS0 -- FYI

Hi @dsliski!
For context here on GitHub, the code that @dsliski is trying to run looks like this:
from astropy.table import Table

observability_table = Table()

observability_table['targets'] = ['a', 'b', 'c']
observability_table['ever_observable'] = [True, True, False]
observability_table['always_observable'] = [True, False, False]
observability_table['best_months'] = [set([1, 2, 3]), set([2, 3]), set()]

observability_table.write('example_table.csv', overwrite=True)

The best_months column is a list of sets. Each element of an astropy Table object is supposed to be a hashable type – it shouldn't be a list, set, array, etc. You can get the behavior you're looking for by converting each set into a string like this, for example:
from astropy.table import Table

observability_table = Table()

observability_table['targets'] = ['a', 'b', 'c']
observability_table['ever_observable'] = [True, True, False]
observability_table['always_observable'] = [True, False, False]

# convert sets to strings:
observability_table['best_months'] = [str(months) for months in observability_table['best_months']]

observability_table.write('example_table.csv', overwrite=True)

The resulting csv file looks like this:
targets,ever_observable,always_observable,best_months
a,True,True,"{1, 2, 3}"
b,True,False,"{2, 3}"
c,False,False,set()

Depending on what you plan to do with this table, you may want to store your results differently.
Does that answer your question?


Version 3.5.9

Landed in https://github.com/metarhia/metautil/commit/069e864f3f0737d4d104d6819a40875ea1f86ced


HACS Install Giving 404 Not Found Error

Version of the custom_component

Configuration

N/A: Just attempting to install the integration via HACS.

Describe the bug
Go to install integration via HACS as mentioned in the git instructions. Click on download and it spins and spins. Looking in logs shows a 404 error. The file that isn't found is:
https://github.com/bdunn44/hass-jellyfish-lighting/releases/download/v1.2.0/hass-jellyfish-lighting.zip
Debug log

May 16 10:52:26 CentOS7 podman[2573]: raise HacsException("Could not download, see log for details")
May 16 10:52:26 CentOS7 podman[2573]: custom_components.hacs.exceptions.HacsException: Could not download, see log for details
May 16 10:53:15 CentOS7 podman[2573]: 2024-05-16 10:53:15.377 INFO (MainThread) [homeassistant.components.sensor] Setting up ipp.sensor
May 16 10:53:21 CentOS7 podman[2573]: 2024-05-16 10:53:21.693 INFO (MainThread) [custom_components.hacs] <Integration bdunn44/hass-jellyfish-lighting> Running pre installation steps
May 16 10:53:21 CentOS7 podman[2573]: 2024-05-16 10:53:21.693 INFO (MainThread) [custom_components.hacs] <Integration bdunn44/hass-jellyfish-lighting> Pre installation steps completed
May 16 10:53:21 CentOS7 podman[2573]: 2024-05-16 10:53:21.693 INFO (MainThread) [custom_components.hacs] <Integration bdunn44/hass-jellyfish-lighting> Running installation steps
May 16 10:53:22 CentOS7 podman[2573]: 2024-05-16 10:53:22.906 ERROR (MainThread) [custom_components.hacs] Download failed - Got status code 404 when trying to download https://github.com/bdunn44/hass-jellyfish-lighting/releases/download/v1.2.0/hass-jellyfish-lighting.zip
May 16 10:53:22 CentOS7 podman[2573]: Traceback (most recent call last):
May 16 10:53:22 CentOS7 podman[2573]: File "/config/custom_components/hacs/base.py", line 730, in async_download_file
May 16 10:53:22 CentOS7 podman[2573]: raise HacsException(
May 16 10:53:22 CentOS7 podman[2573]: custom_components.hacs.exceptions.HacsException: Got status code 404 when trying to download https://github.com/bdunn44/hass-jellyfish-lighting/releases/download/v1.2.0/hass-jellyfish-lighting.zip
May 16 10:53:22 CentOS7 podman[2573]: 2024-05-16 10:53:22.907 ERROR (MainThread) [custom_components.hacs] <Integration bdunn44/hass-jellyfish-lighting> Failed to download https://github.com/bdunn44/hass-jellyfish-lighting/releases/download/tags/v1.2.0/hass-jellyfish-lighting.zip

Hi, thanks for reporting this issue! Must be a change in how HACS works... seems like they weren't actually using the zip filename specified in the manifest, and they are now, which has exposed a bug in that manifest :)
Anyway, it should work now. Would you please check?

Thanks, it looks like you fixed the issue.


Add wire to connect between nodes

Added multiple wire types:

Straight: the straight line from port A to port B.
Bezier: the Bézier curve from port A to port B.
Smooth Step: the step line from port A to port B, where there are curves around step points.
Adaptive Bezier: the Bézier curve with wider curvature but keep the center line to be more straight.

Added some animation when selecting wires or hovering wires.
Dragging output ports in node will create new wires for connecting to input ports, but currently we only support one wire to each input port. If a new wire connects to the port that is already connected, then the old wire will be removed. Demo A below is showing this scenario.
Dragging input ports in node will detach any connected wires to the ports. In this way, a connected wire can be cancelled. Demo B below is showing this scenario.

TODO:

Need to check if the node connections are causing a cyclic graph when creating new connections.
Allow each wire to change its type, currently we use Adaptive Bezier as default.
Support context-menu opening for the wire port.
Need more restrict rule for creating new connections, such as user should only create new connections if two ports share the same data type. Also need coloring on ports and wires to show the differences of the data types,

Demo A:

Demo B:

why we need straight lines, considering that we already have Bézier curves

Just giving user options to change the visualization of the wire, we have Bézier curves in default

"If a new wire connects to the port that is already connected, then the old wire will be removed."
Is this a rule for our case? Could one port receive data from different node?

"If a new wire connects to the port that is already connected, then the old wire will be removed."
Is this a rule for our case? Could one input port receive data from different nodes?

Yeah. This is the rule. For simplicity, we only allow one connection for each input port.
One input port cannot receive data from different nodes. The reason for this rule is that the processing situations are much more complex if one input has more than one data source. Let's say port A and port B connects to an input port C, some situations can be:

In the process run time, we are not sure the time order of getting data from port A and data from port B, which means we should decide whether input port C should wait for both A and B to send the data;
Continued from the situation 1, let's say input port C should wait for both A and B, then we should decide how the data should be merged from A's data and B's data. This involves considering the type of the data. For example, if input port C support type Blob or string, but A's data has type Blob and B's data has type string, then we need to align A's and B's data into the same type and then merge them.
Continued from the situation 2, let's say input port C can be processed with either A's data or B's data, then we should decide whether the node with the port C can be triggered multiple times. For example, if the node with the port C can only run once, then the node will ignore B's data if A's data arrives first. Otherwise, if the node with the port C can run multiple times, then both A and B can trigger the node with the port C regardless of the time order.

Those situations should be fully considered. So allowing port receiving multiple data source requires much more embedded rules, which increases the user's learning curve.

And wha does the circle in the middle of the curve mean?

The circle in the middle of the curve can trigger the context menu on the wire. In the case, we don't need to use right click for opening context menu on wires.


⚠ Bofrost.de has degraded performance

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

HTTP code: 200
Response time: 894 ms

Resolved: Bofrost.de performance has improved in 8ac89af after 22 minutes.


Very slow performance on local network

Describe the bug
Files app is very slow on local network.
To Reproduce
Steps to reproduce the behavior:
Brows some directories on local network
Desktop (please complete the following information):
OS Version: [Windows 10 20H2 19042.804]
App version: [v<IP_ADDRESS>]
Synology DS718+ | DSM 6.2.3-25426 Update 2
Expected behavior
A sliding little blue bar appears during loading of the directory content
Video
https://user-images.githubusercontent.com/77484326/110476983-ef425c80-80e2-11eb-831a-a03164f32041.mp4

@yaichenbaum @kwendel Hi guys.. same issues here, directories do not load faster the second time :(

I am facing the same issue as OP. Local folders take quite some time to open and once they are open, it takes more time to load the icons. Since most of my work is done accessing a server via VPN, it is impossible to use this app for actual work, as it takes even longer to load folders via VPN. Folders with many files take up to several minutes to load completely. Loading a second time or going back to the previous folder does not make it faster. I do have cache files and folders enabled.
Intel(R) Core(TM) i3-6006U CPU @ 2.00GHz   2.00 GHz
8GB RAM
Windows 10 64bits version: 20H2 19042.985 - Windows Feature Experience Pack 120.2212.2020.0
App version: <IP_ADDRESS>

@gave92 was this resolved in main?

I don't think so, stuff on network drives is still enumerated using the StorageFolder method (due to the fact that in Release mode only the fast method returns "Access denied")

Is this something you guys plan to fix on next version? I'm eager to use Files as my default file manager.

I ran into this issue as well. Accessing a big file share is awfully slow.
~680GB of data (86641 files, 12036 folders) with 870 folders being in the root of the share.
Neither the first nor a subsequent opening of the share compared to the regular explorer.exe performance. It took ages until Files had populated its pane with the root folder elements. After roughly 1min all folders starting with "A" were displayed.
Let me know how I can help you test possible improvements.

Merging with #4578


Updated SpatiaLite install instructions to suggest first package from recent Debian-based distributions.

Rephrasing to suit current Debian distros

Updated in #11243.

I messed up that pull request didn't I @felixxm ?
My apologies, I'm very unfamiliar with performing pull requests. I just saw so many other commits attached to mine was wondering how/why.

@sudomann Don't worry :+1: . You sent PR from stable/2.2.x to master that's why so many commits appeared. I cherry-picked your change.


firefox: use makeLibraryPath

Not sure if this is the correct way to deal with this, but is intended to fix https://github.com/NixOS/nixpkgs/issues/15126

Sorry, I haven't noticed this PR and went with my own fix! That said, --set would be incorrect here -- it would stop Firefox from getting OpenGL libraries. I'm not sure about lib64 part -- have you checked that no library from the list has the directory?


Where do I need to place the Lora file for it to work as shown in the examples?

I tried a few places with no luck. Thanks in advance!

the paths must be resolvable from the pwd of where you ran the command as shown in the report.
quick check:

before you run the mflux-generate again, do pwd to double check where you are, then ls $the_lora_path_param to make sure ls finds the file.

You're probably just not in the directory you think you're in.

thanks! i'm a genius and switched - and _


version conflict:  update shadcn cli usage

Provide environment information
System:
OS: macOS 14.5
CPU: (8) arm64 Apple M1
Memory: 457.36 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 21.6.2 - /usr/local/bin/node
Yarn: 1.22.22 - /usr/local/bin/yarn
npm: 10.8.1 - /usr/local/bin/npm
pnpm: 9.9.0 - /opt/homebrew/bin/pnpm
Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
Describe the bug
Update pnpm ui-add to use the new shadcn cli:
https://ui.shadcn.com/docs/cli
pnpm dlx shadcn-ui add && prettier src --write --list-different

│
│  ENOENT  Command failed with ENOENT: shadcn-ui add
│ spawn shadcn-ui ENOENT

Change to:
pnpm dlx shadcn add && prettier src --write --list-different

Link to reproduction
https://ui.shadcn.com/docs/cli
To reproduce
Update shadcn to the latest version.
Run pnpm ui-add
Additional information
No response

I would like to work on this

Should i create a pr?

Should i create a pr?

Yes, you can fork this repo and pull request. 😊

#1186


Very poor build performance when re-exporting a large number of exports

Do you want to request a feature or report a bug?
feature request

What is the current behavior?
We are seeing very slow build times when re-exporting a large number of exports from another module.
In our case, we had a file with about 1500 constants that were re-exported in another file.  This seems to have been adding over 12 seconds to every build, with that time spent in FlagDependencyExportsPlugin.  A node profile shows all the time is spent here, which is doing n^2 iteration on exported members (note the a array grows with each iteration):
https://github.com/webpack/webpack/blob/master/lib/FlagDependencyExportsPlugin.js#L91
			function addToSet(a, b) {
				let changed = false;
				b.forEach((item) => {
					if(a.indexOf(item) < 0) {
						a.push(item);
						changed = true;
					}
				});
				return changed;
			}

If the current behavior is a bug, please provide the steps to reproduce.
gist here:
https://gist.github.com/afarnsworth-valve/523ec376f7557623891cf30539de54cb
constants.js
export * from './constants_shared';

export const constant_01 = 1;
export const constant_02 = 2;
// etc

constants_shared.js
export const sharedconstant_0001 = 1;
export const sharedconstant_0002 = 2;
export const sharedconstant_0003 = 3;
export const sharedconstant_0004 = 4;
// etc x 2000

index.js
import * as constants from './constants';

console.log( constants.constant_01 );
console.log( constants.sharedconstant_0001 );

On my machine this takes nearly 2 minutes to build:

S:\test\webpack_perf>node_modules.bin\webpack --entry .\index.js --output-filename dist.js
Hash: e0abeb50ecf078b8cfcc
Version: webpack 2.2.1
Time: 118152ms
Asset    Size  Chunks             Chunk Names
dist.js  170 kB       0  [emitted]  null
[0] ./constants.js 648 bytes {0} [built]
[1] ./constants_shared.js 80.9 kB {0} [built]
[2] ./index.js 131 bytes {0} [built]

Removing the re-export drops build time to less than a second:

S:\test\webpack_perf>node_modules.bin\webpack --entry .\norex_index.js --output-filename norex_dist.js
Hash: 5be774eb4320c9bb5e10
Version: webpack 2.2.1
Time: 837ms
Asset    Size  Chunks             Chunk Names
norex_dist.js  170 kB       0  [emitted]  null
[0] ./constants_shared.js 80.9 kB {0} [built]
[1] ./norex_constants.js 631 bytes {0} [built]
[2] ./norex_index.js 199 bytes {0} [built]

What is the expected behavior?
Build time shouldn't be so heavily impacted.
If this is a feature request, what is motivation or use case for changing the behavior?
While this is easy to work around, discovering the root cause is not easy.  There's nothing to suggest that Webpack would struggle with re-exporting.
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
Node v6.9.4
Webpack 2.2.1
Windows 10

thanks for the investigation, ill take a look

the linked PR reduces the time on my local machine from ~85 secs to ~3 secs.
I guess there are more improvement possible, but not without a complete refactor of several parts.
(also the code is not the nicest but it does solve the issue for now)


FlywayException: Delimiter changed inside statement

Which version and edition of Flyway are you using?
7.8.1, but tested with several versions post 7.2.0, where same sql was last working
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Java Api
Which database are you using? (Type & version)
Mysql 5.7* and 8.2.*
Which operating system are you using?
Big Sur
What did you do? (Please include the content causing the issue, any relevant configuration settings, the SQL statement(s) that failed (if any), and the command you ran)
Run Flyway Migrate
CREATE PROCEDURE activity_cds_order_index_incrementer()
  BEGIN
    DECLARE orderIndex INT DEFAULT 1;
    DECLARE CDSUUID varchar(50);
    DECLARE done_activity, done_cds BOOLEAN DEFAULT FALSE;
    DECLARE visit_act_cur1 CURSOR FOR SELECT DISTINCT(`visit_activities_cds`.`client_division_scheme_uuid`) from `visit_activities_cds` WHERE `visit_activities_cds`.`visit_activity_uuid` IS NULL;
    DECLARE CONTINUE HANDLER FOR NOT FOUND SET done_activity = TRUE;
    SELECT MAX(`visit_activities`.`order_index`) + 1 FROM `visit_activities` INTO orderIndex;
    OPEN visit_act_cur1;

    read_loop1:
    LOOP FETCH visit_act_cur1 INTO CDSUUID;
      IF done_activity THEN
        CLOSE visit_act_cur1;
        LEAVE read_loop1;
      END IF;
      BLOCK1 : BEGIN
        DECLARE activityUUID varchar(50);
        DECLARE orderIndex2 INT DEFAULT orderIndex;
        DECLARE visit_act_cur2 CURSOR FOR SELECT `visit_activities_cds`.`uuid` from `visit_activities_cds` WHERE `visit_activities_cds`.`visit_activity_uuid` IS NULL  AND `visit_activities_cds`.`client_division_scheme_uuid` = CDSUUID;
        DECLARE CONTINUE HANDLER FOR NOT FOUND SET done_cds = TRUE;

        OPEN visit_act_cur2;
        read_loop2:
        LOOP FETCH visit_act_cur2 INTO activityUUID;
          IF  done_cds THEN
            CLOSE visit_act_cur2;
            SET done_cds = FALSE;
            LEAVE read_loop2;
          END IF;
          UPDATE `visit_activities_cds` SET `visit_activities_cds`.`order_index` = orderIndex2 where `visit_activities_cds`.`uuid` = activityUUID;
          set orderIndex2 = orderIndex2 + 1;

        END LOOP read_loop2;
      END BLOCK1;
    END LOOP read_loop1;
  End;
;;

What did you expect to see?
Migrate completes successfully
What did you see instead?
	at org.flywaydb.core.internal.parser.Parser.getNextStatement(Parser.java:313)
	at org.flywaydb.core.internal.parser.Parser$ParserSqlStatementIterator.next(Parser.java:727)
	at org.flywaydb.core.internal.parser.Parser$ParserSqlStatementIterator.next(Parser.java:693)
	at org.flywaydb.core.internal.sqlscript.ParserSqlScript.parse(ParserSqlScript.java:77)
	at org.flywaydb.core.internal.sqlscript.ParserSqlScript.validate(ParserSqlScript.java:122)
	at org.flywaydb.core.internal.sqlscript.ParserSqlScript.executeInTransaction(ParserSqlScript.java:191)
	at org.flywaydb.core.internal.resolver.sql.SqlMigrationExecutor.canExecuteInTransaction(SqlMigrationExecutor.java:83)
	at org.flywaydb.core.internal.command.DbMigrate.isExecuteGroupInTransaction(DbMigrate.java:291)
	at org.flywaydb.core.internal.command.DbMigrate.applyMigrations(DbMigrate.java:257)
	at org.flywaydb.core.internal.command.DbMigrate.migrateGroup(DbMigrate.java:234)
Caused by: org.flywaydb.core.api.FlywayException: Delimiter changed inside statement at line 351 col 1:

The SQL you have provided is invalid and causes a syntax exception when executed
Could you provide the exact SQL which should be correct but fails to parse?

formatting error, SQL is copy/paste of the log printed


pin current versions too in names of language related packages

Title:

pin versions of current versions of language related packages too

Issue description
Currently:

there is no llvmPackages_18 in nix-pkgs
the llvmPackages (i.e. no suffix) provides the 18th version, i.e. the "CURRENT Stable"
the suffixed versions are either llvmPackages_19 (rc), or llvmPackage_17 (older)
similarly, there's no python312, rather only python3 (implicitly 312), or python313 (rc), or python311 (older), or python312Full

but:

this is a problem for someone who wants to explicitly specify the 18th version, regardless of its "CURRENT" status.
as now, they have to manually track the nix-pkgs, and change it tomorrow when the 19th version becomes the new current stable.

also for example,

this situation is correct as expected for the gcc package, where there are both: the latest stable (whichever it is), and the pinned current stable
that is,  is gcc13 explicitly providing the 13th version,
and also the gcc which provides current version (also 13th)
so, it covers both situations - the moving target current stable (implicit) as well as explicitly pinned to the version which is in use at immediate current moment.

Steps to reproduce

try to search for current pinned version of language compiler/interpreter/runner etc for various langs.
shown/shared above is for c/c++ with llvm implementation, and cpython implementation of python

Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.51, NixOS, 24.11 (Vicuna), 24.11.20240916.99dc878`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.5`
 - channels(root): `"nixos-24.05"`
 - nixpkgs: `/nix/store/cjz8w4dgc3rd2n3dqv5c208vygndjyba-source`

i specified llvmPackages_18.clangWithLibcAndBasicRtAndLibcxx by mistake, and ran nix-direnv-reload and it ran fine with clang --version showing 18.1.8.
so, it seems the problem is only in listing on the search results on web.


Live Code Editor be Server Side Rendered

💥 Proposal
It would be nice for the Editor part of live editor to be server side rendered, that way it can be previewed before the editor loads as well as improving search engine optimization.
A preliminary investigation makes me unsure of why this even is, since there's an explicit part that keys the LiveEditor component based on whether it is server side or not.
Have you read the Contributing Guidelines on issues?
yes

Hmmm yes we should try to minimize layout shifts and render code in SSR.
Not sure it's possible for the preview, but at least it should be for the editor.
https://docusaurus.io/docs/next/markdown-features/code-blocks#interactive-code-editor
With JS:

Without JS:

This line looks suspicious, maybe we should get rid of it:

Code blocks that aren't live are evaluated during SSR

In a perfect world we could. I think we can render a normal code block (maybe another "dummy element" for the output) during SSR and only really "evaluate" the code block during CSR. Problem is, currently the "live code block" which looks deceptively like a code block is actually a completely different component that's part of a context provider, and rendering it inevitably means sending that context value to the renderer and producing side effects, making things a little more complicated that we may have expected

Can you elaborate on the side effects?

You can check the comment for #4318 and the related issue for that. The code is here:
https://github.com/facebook/docusaurus/blob/fd41239f4fc8bdc4c266265a6f35ac568676a062/packages/docusaurus-theme-live-codeblock/src/theme/Playground/index.js#L66-L85
The code-block-looking comp is actually EditorWithHeader provided by react-live, not the default one. So if you send the actual code in SSR, the context value would be updated when the SSR output arrives at the end user, and again after hydration. But I have a solution in mind with BrowserOnly and using its fallback

@ntucker In the current situation, I just rendered a static code block during SSR. Does that look better than rendering nothing?

Literally anything looks better than rendering nothing, no?


Patched CVE-2021-2677 in mysql.

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[X] The toolchain has been rebuilt successfully (or no changes were made to it)
[X] The toolchain/worker package manifests are up-to-date
[X] Any updated packages successfully build (or no packages were changed)
[X] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[X] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[X] All package sources are available
[X] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[X] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[X] All source files have up-to-date hashes in the *.signatures.json files
[X] sudo make go-tidy-all and sudo make go-test-coverage pass
[X] Documentation has been updated to match any changes to the build system
[X] Ready to merge

Summary

Patching CVE-2021-2677 in mysql.
Patch retrieved from Fedora's "boost-1.48.0-13.fc17" SRPM.
This is a modified version of the patch "boost-1.48.0-pool.patch"
from the mentioned SRPM. Modifications:

Skipping addition of the "libs/pool/test/test_bug_6701.cpp" file.
MySQL's embedded version of "boost" doesn't contain the "libs" directory.
Removal of trailing whitespaces in "boost/pool/pool.hpp"
to avoid noisy build logs.

Bugzilla thread #828858.
Does this affect the toolchain?

No.
Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2021-2677.

Test Methodology

Buddy build.

Closing, already fixed with the #10877 change.


Create .gitpod.yml

Summary
This PR makes it so when this repository is used to create a Gitpod workspace, the configuration used will be delegated to the mattermost-gitpod-config repo through its .gitpod.yml file.
This allows multiple repos to share the same Gitpod config, as well as keeping the commit history minimal in regards to the individual repos.
https://www.gitpod.io/docs/references/gitpod-yml
https://www.gitpod.io/docs/multi-repo-workspaces
Ticket Link
Fixes https://mattermost.atlassian.net/browse/MM-43928

Codecov Report

Merging #854 (b5d043e) into master (f986c15) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #854      +/-   ##
==========================================
- Coverage   31.46%   31.42%   -0.04%
==========================================
  Files          49       49
  Lines        5982     5982
==========================================
- Hits         1882     1880       -2
- Misses       3911     3913       +2
  Partials      189      189

Impacted Files
Coverage Δ

server/subscribe.go
67.61% <0.00%> (-0.38%)
: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 f986c15...b5d043e. Read the comment docs.


Add the Tetris rate somewhere in the overlayed stats.

From yobi9's Discord comment on 3/10/21:

Add the Tetris rate somewhere in the overlayed stats. I understand the pace metrics supersedes the TRT in a way, but I think folks do like the TRT (I Like the TRT!). The method to get the TRT label is already there in the Player class (comes from the tetris_rate_adder repo), and I thought maybe there could be an option to add it somewhere in the overlayed stats too.

Fixed by https://github.com/timotheeg/tetris_ctm_summary/pull/7


deployment/readme.md: remove all non RBAC configurations

Heptio's policy is that all k8s clusters should be running RBAC. We'll remove any non RBAC documentation in 0.6

Note, contour will continue to work in both RBAC and non RBAC clusters -- it's unaware of anything to do with RBAC which is a property of the API server -- we're just not going to promote the use of contour without RBAC any more.

I've confirmed that AKS, at least with kube version 1.9.6 supports RBAC so this issue is good to go if someone is looking to get started contributing to contour.

Leaving this in 0.6.0 milestone as there's an outstanding PR


Frontend for the suicide attempt prevention

ThereForYou's camera software(suicide attempt prevention) predicts if there's danger and alerts nearby users. We need a good-looking design(Frontend) for its presentation.

On devices the camera would switch on and record the user using open cv
which would hence predict if the user is attempting suicide or not
if yes then it would predict danger and if not then it would predict not in danger
if in danger it would alert nearest app users

The Contributor needs to make only the frontend for this, the above points are written to understand the working of the software.

hello @TAHIR0110  can you assign me this issue ?

@ira-mane yea sure!

Hello! I would like to contribute to this issue as I have worked for frontend before ! Could you please assign me this issue

Hello @TAHIR0110 !!!
I'm keen to tackle this issue leveraging my frontend experience. Please assign it to me .

Hello @TAHIR0110, I'd like to work on this. Can you assist me with this? How do you want your software to look like?

Hello @vsmp47 @khuship23 @mubinasyed28  I guess you guys are new to open source contribution. This issue has already been assigned to me. I would request you guys to check for other issue to contribute on.
I will tag you three, if in case I unassign my self from this issue.
Thankyou.


feat: allow end user to enable ethereum manually

BREAKING CHANGE: if the developer do not call this
function, end user won't be able to make transaction
await ethereum.enable();
Is now extracted into the function:
Blockchain.enableEthereum
https://github.com/embark-framework/embark/pull/1092
Test Scenarios:

Access demo with direct connection
Access demo with metamask
Access demo with metamask already approved

Regarding the autoEnable: false/true
Yes this is something we could do by adding a config into pipeline.js
Is it the correct config file for you?
@iurimatias what do you think?

I think it could be put in config/contracts.js as it's kind of related.


Working with SASS

Sorry if i'm not in the right place but i'm using the basscss-sass and it says it is transpiled. The repo does not look like it is actively maintained and the last release was in 16. I'm wondering if I should continue to use basscss-sass or is there another sass repo or is there another way to work with basscss using sass?

Info from the readme of this repo:

Basscss v8 is the final version of Basscss, which means no major, breaking changes will be introduced. Minor features and patches may be added, but due to the nature of this CSS approach, there are virtually no bugs in Basscss.

Since basscss is standard css, you can use the compiled css version inside any sass/scss project.