fix: navbar state change

Closes #4345
📝 Description
The PR fixes the Navbar unable to open issue.
Root cause:

It issue emerged when we added usePreventScroll and removed react-rmeove-scroll.
The usePreventScroll internally adds the overflow-hidden and paddingRight of {scrollBarWidth} styles to prevent the scrolling behaviour. Due to this the width of the navbar base would be changed. Now, this causes the useResizeObserver to trigger which in-turn closes the Navbar menu.

The pr adds the changes to useResizeObserver callback so that it does not close the Navbar Menu.
💣 Is this a breaking change (Yes/No): No

Summary by CodeRabbit

Bug Fixes

Resolved an issue preventing the navbar from opening.

Improvements

Enhanced responsiveness and behavior of the navbar during window resizing and scrolling.

@jrgarciadev @wingkwong
while testing this PR, the first click on the Navbar toggle might not work, it would work fine from the second click onwards.
This occurs because in order to test we would manually change the width of the device, so updateWidth would be called for the first click.
This was the exact same behaviour before the bug was introduced, and I pretty much agree to this behaviour. Hence, extra unwanted patches here.

@macci001 could you please add the before behavior video vs the new behavior video ?


Add Python 3.12, Drop Python 3.10

Proposed Changes
SSIA

Codecov Report

Merging #575 (d44dfbf) into main (f4ee17d) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #575   +/-   ##
=======================================
  Coverage   93.73%   93.73%
=======================================
  Files           6        6
  Lines         383      383
  Branches       30       35    +5
=======================================
  Hits          359      359
  Misses         22       22
  Partials        2        2

Files
Coverage Δ

src/demetriek/cloud.py
98.18% <100.00%> (ø)

src/demetriek/device.py
86.44% <100.00%> (ø)


AGIC not finding prohibited targets

Describe the bug
AGIC brownfield deployment, version 1.2.0, one app gw, 4 clusters. I have observed in one occasion that in one of the clusters, AGIC didn't find deployed prohibited targets thus erasing the app gw configuration, which obviously resulted in the other 3 clusters not being accessible anymore.
To Reproduce
Steps to reproduce the behavior: Apparently random occurrence.
Additional details:  Unfortunately the pod instance is gone already, so I don't have direct access to the logs anymore, but I can dig something up from Azure Log Analytics. As far as I can tell, it reads the app gw config alright, but then there is this:
  1 mutate_app_gateway.go:85] Brownfield Deployment is enabled, but AGIC did not find any AzureProhibitedTarget CRDs  Disabling brownfield deployment feature.

The only real error I see in the logs is this, not sure if relevant:
1 client.go:227] Error getting route table '/subscriptions/<redacted>/resourceGroups/<redacted>/providers/Microsoft.Network/routeTables/<redacted>'

I can try to dig up more of the logs from Analytics, just let me know what to look for. The 4 cluster setup has been running fine for a few months already and some of the clusters get stuff deployed in them almost on a daily basis, and this is the first occurrence of this kind.  The prohibited targets have not been changed at all during this time.

Okay, now this is starting to unfold.  I have observed the same K8s API connectivity issue once before in another cluster in which Linkerd wasn't able to connect to the API wreaking havoc in the cluster. Now, that aside, I still don't understand why AGIC didn't find the prohibited targest after the restart. Also, I would appreciate it didn't just flat out die if the K8s API isn't available, as it does seem to occur from time to time.

Having similar issue. After the AKS API not being available, <IP_ADDRESS>:443 connection refused, AGIC seems corrupted and cannot recover. Only solution is to delete the AGIC pod then it restart and applies the latest/greatest configuration.
Any idea or ticket related to this issue to follow ? Running version 1.3.0

Noticed same issue here.  Prohibitedtarget CRD isntalled but is not always detected

I'm having a similar issue here - AGIC seems to run OK, then after some time I notice no backends. The logs show:
I0716 15:33:44.816220       1 mutate_app_gateway.go:164] cache: Config has NOT changed! No need to connect to ARM. I0716 15:33:44.816243       1 controller.go:151] Completed last event loop run in: 92.777106ms I0716 15:34:07.411047       1 backendhttpsettings.go:89] Created backend http settings bp-istio-system-istio-ingressgateway-80-8080-istio-agic-ingress for ingress istio-system/istio-agic-ingress and service istio-system/istio-ingressgateway I0716 15:34:07.417542       1 mutate_app_gateway.go:164] cache: Config has NOT changed! No need to connect to ARM.  After restarting AGIC it is then OK, it immediately restarts and creates the rules, and stays working - for some amount of time.
It seems if it can't connect once it just gives up - it seems it doesn't attempt to retry, and removes all the rules - this isn't so helpful for an environment we are trying to get nearer to production.


⚠ Bofrost.be has degraded performance

In 184a234, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1075 ms

Resolved: Bofrost.be performance has improved in aeb0d03.


Improved FlightConditions error output

When trying to define aerodynamic angles, without FlightConditions having been created, this error is thrown:
RuntimeError: Error when setting constant aerodynamic angles, body Capsule has no FlightConditions
This is not particularly explanatory on what should be done. Unfortunately, he FlightConditions cannot be created 'on the fly', because this needs the specification of a central body. But, a more clear error output on what to do should be provided.

Code added here to address this issue:
https://github.com/tudat-team/tudat/tree/feature/po_updates
https://github.com/tudat-team/tudatpy/tree/feature/po_updates
https://github.com/tudat-team/tudat-multidoc/tree/feature/po_updates

Merged into develop (tudat/tudatpy) and main (tudat-multidoc)


Add ability to spin up nodes with zero starting funds

To allow for more edge case testing we need to be able to spin up nodes with zero funds. This will require re-working some of the logic used in the conf setup section.

This was completed with the "set starting balance" PR https://github.com/tee8z/doppler/pull/49


Should the bold/bright attribute apply to SGR 38/48 indexed colors?

Environment
Windows build number: Version 10.0.18362.657
Windows Terminal version (if applicable): 0.10.781.0
Steps to reproduce

Open a bash shell in conhost.
Execute printf "\e[0;38;5;3mDARK \e[1mBRIGHT?\e[m\n"
Open a bash shell in Window Terminal.
Execute printf "\e[0;38;5;3mDARK \e[1mBRIGHT?\e[m\n"

Expected behavior
Both terminals should produce the same output showing the same colors.
Actual behavior
Conhost displays the "BRIGHT?" text in the same dark shade as the "DARK" text. Windows Terminal displays it brighter.

In some ways this could be considered a narrowing bug (issue #2661), because one reason for the difference is that conhost converts the indexed color into an RGB value before storing it, while the Windows Terminal doesn't. And the bold/bright attribute has no effect on RGB colors, but does affect indexed colors.
That said, I don't think the WT implementation is correct, so fixing the "narrowing" issue in conhost is just going to make both of them wrong. There is some room for interpretation here, but I've been looking at how other terminals handle this, and AFAICT most (including XTerm and VTE) will only apply the brightness attribute to the 8 basic colors, and not the 256 indexed colors from SGR 38/48.
So this is really a question as much as it is a bug report. Which behavior do we want to follow here? Because the answer to that is going to affect how we address issue #2661.

The WT behavior is a follow-on from #2661, actually. Here's what's coming out of the debug tap:
␛[33mDARK␣␛[1mBRIGHT?
 The behavior with 33 is correct, but we're only getting the 33 because of #2661.
If #2661 is fixed, I think we'll get...
␛[38;5;3mDARK␣␛[1mBRIGHT?
and WT won't attempt to brighten it.

If #2661 is fixed, I think we'll get...
␛[38;5;3mDARK␣␛[1mBRIGHT?
and WT won't attempt to brighten it.

Hmmm... I could have sworn I was getting ␛[38;5;3m when I looked at this in the debugger, but I must have been mistaken. So my test case doesn't actually prove anything, but the problem still wouldn't be fixed by #2661, because both ␛[33m and ␛[38;5;3m follow the same code path.
The former calls SetTextForegroundIndex from here:
https://github.com/microsoft/terminal/blob/d711d731d7d00259b2e0fe5847928c9f1c1121ed/src/cascadia/TerminalCore/TerminalDispatchGraphics.cpp#L204
and the latter calls the same method from here:
https://github.com/microsoft/terminal/blob/d711d731d7d00259b2e0fe5847928c9f1c1121ed/src/cascadia/TerminalCore/TerminalDispatchGraphics.cpp#L124
So either way you're going to end up with an indexed color, and any indexed color less than 8 gets brightened.

oh, you actually used 38;5;3. Yeah, that's not quite right eh. Conhost gets this right, so we should too. Thanks

Just another bug for the pile of bugs that we're growing because we have two AdaptDispatch implementations. Augh.

and AFAICT most (including XTerm and VTE) will only apply the brightness attribute to the 8 basic colors, and not the 256 indexed colors from SGR 38/48.

Xterm 331 changed this. See https://gitlab.gnome.org/GNOME/vte/-/issues/149.

Just wondering: Before cleaning this up, don't you guys wish to

implement support for bold font weight (#109),
join Kitty, VTE, Alacritty in making SGR 1 stand for bold font only, without brightening the color, in order to push the world into a much cleaner state (#3613)?

Xterm 331 changed this. See https://gitlab.gnome.org/GNOME/vte/-/issues/149.

I think that change must have been reverted, because the version I tested was definitely more recent than that. And I've now just rebuilt from the latest source (version 354), and that still does not brighten SGR 38 colors.

implement support for bold font weight (#109),

Not something I'm interested in doing.

join Kitty, VTE, Alacritty in making SGR 1 stand for bold font only, without brightening the color

I can put up with a lot of things, but the day we break the legacy brightness functionality is the day I stop contributing to this project and manage my own fork. Hopefully that'll never happen.
That said, I was thinking a nice compromise would be to treat SGR 1 as bright (but not bold) for "legacy" colors, and as a bold font (but not bright) for the extended ITU colors. That remains backwards compatible with the legacy behaviour, while still allowing for a bold font for those that do want it. And as far as I can tell, this is the default setting for Mintty, so we wouldn't be alone if we went that route.

I think that change must have been reverted

You're right, version 348 reverts the change. I didn't know this, thanks for the update! It's not mentioned in the changelog, though. Anyway, I think we can conclude that the other behavior was accidental.

implement support for bold font weight (#109),
Not something I'm interested in doing.

I personally don't care if it's you or someone else, I fully respect if you don't care about it; but if WT wishes to provide a decent, modern Unix-y terminal emulation experience then it really needs to have bold typeface (and while at it, italic too). I'd personally set it as 1.0-blocker.
IMO it doesn't make too much sense to talk about how the SGR codes exactly map to colors, without having bold (as in heavier font being displayed) support for now; and then at one point re-evaluate all of this with bold in the game. I'd find it much cleaner to have bold first, and then discuss how to resolve the SGR bold vs. colors nightmare.

but the day we break the legacy brightness functionality is the day I stop contributing to this project and manage my own fork. Hopefully that'll never happen.

I hope that too, first, because it would be a bad product decision, and second, because the team and the users would miss your truly valuable contributions!
I didn't repeat it here, but I think I made it clear in another thread that I do not want this behavior the only one; I do not even ask for it to be the default. However, modern Unix-y behavior with color schemes like Solarized require a mode where SGR 1 doesn't temper with the colors. It needs to be one of the modes supported by WT – along with, of course, other modes that you personally care about more, and are imporant for Windows backwards compatibility.

I was thinking a nice compromise would be to treat SGR 1 as bright (but not bold) for "legacy" colors, and as a bold font (but not bright) for the extended ITU colors.

I disagree with this. This doesn't clean up the current mess at all, just pushes it slightly elsewhere. Also note that terminfo-based apps (included ncurses-based ones, too) only have 256 indices to pick a color from, and they have no control over whether indices 0..15 map to the legacy or to the extended escape sequences. Some terminfo versions/entries do the legacy one, some do the 256-color one. Terminfo and ncurses expose the concept of 256 palette colors altogether, not 16+256 ones. So such apps would have no control whatsoever about which actual look they can achieve.
The only reasonable way forward, as Kitty, VTE and Alacritty (in this chronological order) already did as their default, and is available as an option in xterm, urxvt and probably many others too, is to fully separate bold typeface from the colors. Again, as an option, with other backwards compatibility options provided too, as the given project finds appropriate.

IMO it doesn't make too much sense to talk about how the SGR codes exactly map to colors, without having bold (as in heavier font being displayed) support for now; and then at one point re-evaluate all of this with bold in the game. I'd find it much cleaner to have bold first, and then discuss how to resolve the SGR bold vs. colors nightmare.

I don't think this is an issue for us. The decision to render bold with a heavier font would happen in the renderer. It's going nothing to do with the SGR dispatching code that I'm working on now. The dispatcher simply records the bold state as a flag for the renderer to process. It's probably a bit messier than I'm making out, but it's still not relevant to this area of the code.

The only reasonable way forward...

"Reasonable" is not the word I'd use to describe what you're doing. But lets just agree to disagree.


Horizontal stick threshold

Hi!
I've been try to create an horizontal slider to browse tags on touch devices.
Unfortunately the way it sticks is very aggressive and it makes it difficult to slide to the next tags. You have to slide far into the next tag in order for it to stick to it. See gif below.

My slick settings
arrows: false,
infinite: true,
variableWidth: true,
slidesToShow: 1,
slidesToScroll: 1,
swipeToSlide: true,

Question:
Does anyone have a settings, solution or another way to solve this issue?
Thanks!

maybe try adding { ... css-ease: 'ease-in-out', ... }

@WilliamHolmes without knowing what this setting does, I would think that it changing how the animation behaves, and what I'm looking for is how the tags sticks.
Nevertheless, thanks for the suggestion, I will try this out and get back to you.

@WilliamHolmes, sorry I forgot to get back to you.
This does not solve the issue :)

Can you try varying touchThreshold setting.
By default it is 5.
Try lower and see if it works

Alright @akiran, I'll try this out.
Thanks!

I increased the touchThreshold to 100 and it not works perfect.
Thanks for the help @akiran


::backdrop fullscreen API needs a local example

https://developer.mozilla.org/en-US/docs/Web/CSS/::backdrop needs a local example
Instead of a glitch example, we need a local / codepen / jsfiddle example as the full screen functionality doesn't work with Glitch (at least for me) in the two browsers tested (FF and Chrome), so user can't play with code and effect change.

@chrisdavidmills I moved this to our css-examples repo. I could get it working on Glitch but Glitch is so slow and often broken having it on our site seems better anyway. I couldn't get it to work as an embedded live example.

I had a similar conversation with someone else recently about embedded examples not working well with things like fullscreen API. They ended up just showing snippets for the example on the MDN page and then linking to an example on GitHub: https://wiki.developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API#Examples
Maybe you could follow that same pattern here?

@chrisdavidmills this shows the image and CSS on the page and links to the live example (which works standalone)

looking good!


How does it work when mining based on difficulty?

I was wondering how the application compares the difficulty between multiple different algos/coins and based on which actual code it chooses to switch.

Anyone?


New playbook in Intel 471 Solution

Change(s):

Adding playbook using new upload indicators API to Intel 471 Solution.

Reason for Change(s):

As Microsoft Graph Security tiIndicators API connector, which is used in the first playbook, is now on a path for deprecation, there is a need to update the solution so it can use new upload indicators API.

Testing Completed:

Yes

Checked that the validations are passing and have addressed any issues that are present:

Yes

Hello @mmolenda, Thanks for raising this PR. This PR will be investigated and will update you about the same before 27 November, 2023.

Hello Marcin Good Morning. I have some commits in my local to fix the validation errors. Can you please provide me access to the repo so that I can push the commits.
You can provide it by going to the repo's setting page and head to contributor. Invite me to contribute to this repo.
my mail id<EMAIL_ADDRESS>


few questions

Hello,
Experimenting with your gem and have a few questions. First of all I added gems:
  gem "packwerk"
  gem "packs"
  gem "packs-rails"

packwerk init
packs create
trying to validate

Questions:

I see have this error:

My structure:

Unknown keys: ["enforce_privacy"]

Can I enforce privacy from my private code and not allow using my class (from packs/pack/services/service.rb) in regular folder app/models for example?

Hi Igor!
Been drafting this for too long, so will send a short version.

I recommend not adding all the gems at the same time. Add packs-rails first and validate that you can move code into your packs folders. Then add packwerk and get dependency enforcement to work. At this stage you won't add enforce_dependency.

and 3.

Privacy is no longer in packwerk. You add https://github.com/rubyatscale/packwerk-extensions for that.
Do check out https://railsatscale.com/2024-01-26-a-packwerk-retrospective/ and read it with an eye towards privacy. Bottom line is: privacy (and the inverse: API design) takes a lot of work to get right. If you can't invest that work, you risk creating problems for yourself in the future.

This should probably be a discussion, not an issue...

thanks, will take a look


UV Hydro updates for new json format

also some layout tweaks and file reorganization

Coverage increased (+0.46%) to 75.69% when pulling 8ed6fd51dd4aa163f255e7978b7902fc984d0609 on thongsav-usgs:master into db691e016a29e1e4c20b94752b30fbde6e8a6d37 on USGS-R:master.

Coverage increased (+0.46%) to 75.69% when pulling 8ed6fd51dd4aa163f255e7978b7902fc984d0609 on thongsav-usgs:master into db691e016a29e1e4c20b94752b30fbde6e8a6d37 on USGS-R:master.

Coverage increased (+1.22%) to 76.46% when pulling 65f611037e333c54119e5a6cc23f3ce5c7eceb66 on thongsav-usgs:master into db691e016a29e1e4c20b94752b30fbde6e8a6d37 on USGS-R:master.

Paging Dr. @jread-usgs

Coverage increased (+2.38%) to 77.61% when pulling a384dc8eb7b36aff05d8ef58e769769ec69ecf70 on thongsav-usgs:master into db691e016a29e1e4c20b94752b30fbde6e8a6d37 on USGS-R:master.

Coverage increased (+2.38%) to 77.61% when pulling 5769db5d51ddca41ecd221140a0cebe498d36f55 on thongsav-usgs:master into db691e016a29e1e4c20b94752b30fbde6e8a6d37 on USGS-R:master.

I think I got squashed the windows newlines. Still unsure about the files which were moved, they are still showing a full file diff (not sure if that's because of newlines or because of the file move).

Coverage increased (+3.68%) to 78.92% when pulling b97fbfe20c65561cd6d2ccbe7e305cd4666dd302 on thongsav-usgs:master into db691e016a29e1e4c20b94752b30fbde6e8a6d37 on USGS-R:master.

Coverage increased (+3.68%) to 78.92% when pulling b97fbfe20c65561cd6d2ccbe7e305cd4666dd302 on thongsav-usgs:master into db691e016a29e1e4c20b94752b30fbde6e8a6d37 on USGS-R:master.

Coverage increased (+4.19%) to 79.43% when pulling eec4a8c7970979afbd31722445f641ba5b374fb7 on thongsav-usgs:master into db691e016a29e1e4c20b94752b30fbde6e8a6d37 on USGS-R:master.


add routes, controllers and views  (placeholders) para users y posts

📢 routes, controllers, and views :tada:
In this pull request, we've tackled the initial setup of routes, controllers, and views, marking a significant step forward in our development journey. :computer:
Here's a quick rundown of what we've accomplished:

Homepage Setup :house_with_garden:

Created a route for the root URL ("/") to the HomeController's index action.
Defined the index action in the HomeController to showcase a placeholder homepage.
Crafted a corresponding view file (index.html.erb) in the app/views/home directory.

User Profile Page :bust_in_silhouette:

Set up a route for the /users/:id URL to the UsersController's show action.
Implemented the show action in the UsersController for displaying user profiles.
Developed a matching view (show.html.erb) within the app/views/users directory.

User Posts List :scroll:

Created a route for the /users/:id/posts URL to the PostsController's index action.
Introduced the index action in the PostsController to display a list of user posts.
Designed an associated view (index.html.erb) in the app/views/posts directory.

Post Details Page :page_facing_up:

Established a nested route for /users/:user_id/posts/:id URL to the PostsController's show action.
Formulated the show action in the PostsController for presenting post details.
Created a corresponding view (show.html.erb) within the app/views/posts directory.

:raised_hands:
Please review the code changes and provide your valuable feedback. Thank you :muscle:
🚀 Let's build something amazing together! 🚀

Thank you. I'm going to check linters


Discord Link is A Meetup Link

Discord button links back to meetup.
Will need to make a Discord Permanent Invite link.

This issue could also be titled " @RyannosaurusRex forgot to add the discord link and is really glad he said this was a zero judgement environment".


Coloring makefile assignments incorrectly

(Original issue 798 created by None on 2012-08-16T08:07:34.789671+00:00)
In the development codebase fromt bitbucket, the BaseMakefile Lexer handles assignments syntax incorrectly. The buggy regex used there will cause all text to be parsed by BashLexer after the first assignment of the input.
The attachment is the patch to fix the buggy regex. Sorry that I am new to hg and bitbucket. I could not find a way to attach the patch file, so I just put it here:
changeset:   1616:b79e4674bc30
tag:         tip
user:        Ken Wu<EMAIL_ADDRESS>date:        Thu Aug 16 15:57:51 2012 +0800
summary:     Fixed regular expressions for assignment in BaseMakefileLexer. The
diff -r bed423abed70 -r b79e4674bc30 pygments/lexers/text.py
--- a/pygments/lexers/text.py	Tue Aug 14 00:40:51 2012 +0900
+++ b/pygments/lexers/text.py	Thu Aug 16 15:57:51 2012 +0800
@@ -187,7 +187,7 @@
bygroups(Keyword, Text), 'export'),
(r'export\s+', Keyword),
# assignment

       (r'([a-zA-Z0-9_${}.-]+)(\s*)([!?:+]?=)([ \t]*)((?:.*\\\n|.*\n)+)',

       (r'([a-zA-Z0-9_${}.-]+)(\s*)([!?:+]?=)([ \t]*)((?:.*\\\n)+|.*\n)',
        bygroups(Name.Variable, Text, Operator, Text, using(BashLexer))),
       # strings
       (r'(?s)"(\\\\|\\.|[^"\\])*"', String.Double),

(Original issue 798 last updated on 2012-08-19T08:06:50.304571+00:00)
(Issue automaticaly closed due to status in Bitbucket: resolved)

(Original comment by abaw on 2012-08-16T08:15:46.246693+00:00)
Sorry, I managed to sign up on BitBucket. The attachment is the patch.

(Original comment by birkenfeld on 2012-08-19T08:06:50.291830+00:00)
Closes #798: fix assignment syntax regex in BaseMakefileLexer
→ <>

(Original comment by birkenfeld on 2012-08-19T08:33:10.044045+00:00)
Issue #794 was marked as a duplicate of this issue.


reference using setuptools instead of pip internal

Issue: #113
Reference function using setuptools instead of pip internal function. Reference: https://github.com/pypa/pip/issues/5243

Any hope in seeing a fix for this issue merged in? Using pip=21.3.1, it throws an exception:
File ".venv\Scripts\pip-licenses.exe\__main__.py", line 4, in <module>
File ".venv\lib\site-packages\piplicenses.py", line 44, in <module>
  from pip import get_installed_distributions
ImportError: cannot import name 'get_installed_distributions' from 'pip' (.venv\lib\site-packages\pip\__init__.py)

@jpmn I haven't decided if I want to merge this PR or not.
Please install the latest version of pip-licenses in your environment and see if it solves the error.
# Update pip-licenses version to 3.5.3 or later
$ pip install -U pip-licenses

I am using the latest version of pip-licenses, but I had to freeze my pip version until there is a fix, which isn't good. I might consider dropping the library in the medium-term if it is blocking my upgrade of pip.
Don't you experience the same behavior with more recent versions of pip?

This fix is required for many users, it is not acceptable to pin the pip version for a such long time. Is there road map to support pip >= 22?

@worroc Who are "many users"? If this is about you, we need information about your environment.
At least in my environment it is working with pip 22.x.
$ pip-licenses --with-system
 Name               Version   License
 PTable             0.9.2     BSD License
 botocore           1.21.53   Apache Software License
 jmespath           0.10.0    MIT License
 pip                22.2.2    MIT License
 pip-licenses       3.5.3     MIT License

This proposal was superseded by another excellent proposal that uses importlib_metadata.


Logout for new UI

Hello and thank you for this extension.
A tiny small issue occurs when we use the new UI: logout button is not visible anymore. I had to do it for my custom node too, it's not very much.
If I find time I will mak a PR.
Good luck!

This is the compatible code in logout.js:
`async setup() {
await new Promise(resolve => setTimeout(resolve, 500)); // Delay for 0.5 second before appending the Logout button to the menu, ensuring it is added last.
	function logout(){
		let workflowData = localStorage.getItem('workflow'); // Save the workflow data
		localStorage.clear(); // Clear all items in localStorage
		localStorage.setItem('workflow', workflowData); // Restore the workflow data

		sessionStorage.clear(); // If you use sessionStorage
		window.location.href = "/logout";
	}

	// Old interface
	const menu = document.querySelector(".comfy-menu");
	if(menu)
	{
		const logoutButton = document.createElement("button");
		logoutButton.textContent = "Logout";
		logoutButton.onclick = () => {logout()}
		menu.append(logoutButton);
	}

	// New interface
	const side_tb = document.querySelector(".side-tool-bar-end");
	const params_button = document.querySelector(".pi-cog");
	if(side_tb && params_button)
	{
		const logoutButton = params_button.parentElement.cloneNode(true);
		logoutButton.id = "bxRebootButtonNew";
		let shuticon = logoutButton.querySelector(".pi-cog");
		shuticon.classList.remove("pi-cog");
		shuticon.classList.add("pi-sign-out");
		side_tb.append(logoutButton);
		logoutButton.onclick = () => {logout()}
	}
},`

I made a fork to change UI but can't make PR as I removed parts I don't personnaly use....

Hi, syllebra, thanks. But I've just update to the latest version and I saw the Logout button right over there. Am I missing something?

Did you activate the new UI in the settings?

Thanks. I saw it.

Sorry guys, I still no found the "logout" button in new UI, how to do it?

Yes, it's a bug since a comfyui update. I just posted a fix. Update (git pull) and retry. Or wait for the package to be published.


[Errno 2] No such file or directory: './annotations/gencode.v43lift37.annotation.txt.gz'

This is the full output I got
The first lines looks ok for me but there is an File not found error at the end
++ NUM_THREADS=1 ++ HOST=<IP_ADDRESS> ++ PORT=8080 ++ TIMEOUT=1800 ++ gunicorn -w 1 -t 1800 -b <IP_ADDRESS>:8080 server:app [2023-05-24 10:01:20 +0100] [155600] [INFO] Starting gunicorn 20.1.0 [2023-05-24 10:01:20 +0100] [155600] [INFO] Listening at: http://<IP_ADDRESS>:8080 (155600) [2023-05-24 10:01:20 +0100] [155600] [INFO] Using worker: sync [2023-05-24 10:01:20 +0100] [155604] [INFO] Booting worker with pid: 155604 Using TensorFlow backend. /home/mdb1c20/.conda/envs/lookup/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.   _np_qint8 = np.dtype([("qint8", np.int8, 1)]) /home/mdb1c20/.conda/envs/lookup/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.   _np_quint8 = np.dtype([("quint8", np.uint8, 1)]) /home/mdb1c20/.conda/envs/lookup/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.   _np_qint16 = np.dtype([("qint16", np.int16, 1)]) /home/mdb1c20/.conda/envs/lookup/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.   _np_quint16 = np.dtype([("quint16", np.uint16, 1)]) /home/mdb1c20/.conda/envs/lookup/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.   _np_qint32 = np.dtype([("qint32", np.int32, 1)]) /home/mdb1c20/.conda/envs/lookup/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.   np_resource = np.dtype([("resource", np.ubyte, 1)]) /home/mdb1c20/.conda/envs/lookup/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.   _np_qint8 = np.dtype([("qint8", np.int8, 1)]) /home/mdb1c20/.conda/envs/lookup/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.   _np_quint8 = np.dtype([("quint8", np.uint8, 1)]) /home/mdb1c20/.conda/envs/lookup/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.   _np_qint16 = np.dtype([("qint16", np.int16, 1)]) /home/mdb1c20/.conda/envs/lookup/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.   _np_quint16 = np.dtype([("quint16", np.uint16, 1)]) /home/mdb1c20/.conda/envs/lookup/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.   _np_qint32 = np.dtype([("qint32", np.int32, 1)]) /home/mdb1c20/.conda/envs/lookup/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.   np_resource = np.dtype([("resource", np.ubyte, 1)]) /home/mdb1c20/SpliceAI-lookup/server.py:34: FutureWarning: Passing a negative integer is deprecated in version 1.0 and will not be supported in future version. Instead, use None to not limit the column width.   pd.set_option('max_colwidth', -1) Reading rate limit outlier IPs: /mainfs/home/mdb1c20/SpliceAI-lookup/rate_limit_outlier_ips.txt Current list of rate limit outlier IPs: [] Loading ./annotations/gencode.v43lift37.annotation.txt.gz [2023-05-24 10:02:22 +0100] [155604] [ERROR] Exception in worker process Traceback (most recent call last):   File "/home/mdb1c20/.conda/envs/lookup/lib/python3.6/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker     worker.init_process()   File "/home/mdb1c20/.conda/envs/lookup/lib/python3.6/site-packages/gunicorn/workers/base.py", line 134, in init_process     self.load_wsgi()   File "/home/mdb1c20/.conda/envs/lookup/lib/python3.6/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi     self.wsgi = self.app.wsgi()   File "/home/mdb1c20/.conda/envs/lookup/lib/python3.6/site-packages/gunicorn/app/base.py", line 67, in wsgi     self.callable = self.load()   File "/home/mdb1c20/.conda/envs/lookup/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 58, in load     return self.load_wsgiapp()   File "/home/mdb1c20/.conda/envs/lookup/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp     return util.import_app(self.app_uri)   File "/home/mdb1c20/.conda/envs/lookup/lib/python3.6/site-packages/gunicorn/util.py", line 359, in import_app     mod = importlib.import_module(module)   File "/home/mdb1c20/.conda/envs/lookup/lib/python3.6/importlib/__init__.py", line 126, in import_module     return _bootstrap._gcd_import(name[level:], package, level)   File "<frozen importlib._bootstrap>", line 994, in _gcd_import   File "<frozen importlib._bootstrap>", line 971, in _find_and_load   File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked   File "<frozen importlib._bootstrap>", line 665, in _load_unlocked   File "<frozen importlib._bootstrap_external>", line 678, in exec_module   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed   File "/home/mdb1c20/SpliceAI-lookup/server.py", line 127, in <module>     df = pd.read_table(annotation_path, dtype={"TX_START": int, "TX_END": int})   File "/home/mdb1c20/.conda/envs/lookup/lib/python3.6/site-packages/pandas/io/parsers.py", line 767, in read_table     return read_csv(**locals())   File "/home/mdb1c20/.conda/envs/lookup/lib/python3.6/site-packages/pandas/io/parsers.py", line 688, in read_csv     return _read(filepath_or_buffer, kwds)   File "/home/mdb1c20/.conda/envs/lookup/lib/python3.6/site-packages/pandas/io/parsers.py", line 454, in _read     parser = TextFileReader(fp_or_buf, **kwds)   File "/home/mdb1c20/.conda/envs/lookup/lib/python3.6/site-packages/pandas/io/parsers.py", line 948, in __init__     self._make_engine(self.engine)   File "/home/mdb1c20/.conda/envs/lookup/lib/python3.6/site-packages/pandas/io/parsers.py", line 1180, in _make_engine     self._engine = CParserWrapper(self.f, **self.options)   File "/home/mdb1c20/.conda/envs/lookup/lib/python3.6/site-packages/pandas/io/parsers.py", line 2010, in __init__     self._reader = parsers.TextReader(src, **kwds)   File "pandas/_libs/parsers.pyx", line 382, in pandas._libs.parsers.TextReader.__cinit__   File "pandas/_libs/parsers.pyx", line 620, in pandas._libs.parsers.TextReader._setup_parser_source   File "/home/mdb1c20/.conda/envs/lookup/lib/python3.6/gzip.py", line 163, in __init__     fileobj = self.myfileobj = builtins.open(filename, mode or 'rb') FileNotFoundError: [Errno 2] No such file or directory: './annotations/gencode.v43lift37.annotation.txt.gz' [2023-05-24 10:02:23 +0100] [155604] [INFO] Worker exiting (pid: 155604) [2023-05-24 10:02:23 +0100] [155600] [INFO] Shutting down: Master [2023-05-24 10:02:23 +0100] [155600] [INFO] Reason: Worker failed to boot.
I am going to add steps I needed to do to reach this step
I followed the instructions in the README file but I have found many packages were not load, starting with Pangolin, gffutils biopython, pandas, pyfastx and torch. I needed to do this the previous time I wanted to install this in my Mac and now in the Linux too.
Thank you

I have tried to find that file on my own and I have found this https://www.gencodegenes.org/human/release_43lift37.html. However, I believe you have modified the file because although the file name is the same the format in your code is .txt. and comparing the one I have downloaded gencode.v43lift37.annotation.gtf.gz with a similar one the repo provides gencode.v38lift37.annotation.txt.gz, the structure of the data is different. Or maybe it is a different file with the same name I am not able to find.

Thank you so much.
I can wait or I can share my email, no problem<EMAIL_ADDRESS>As you wish

The annotation files are now available @ https://spliceailookup-api.broadinstitute.org/annotations/


Yeah. I emailed them, they said they are looking at solving it in a future release, and that the reason it is disabled is because of current performance issues. You should be able to download it and import it locally though, rather rhan as a subscription.
Because of the above, for I ended up skipping the littlesnirch blocklist and using a hosts file blocklist instead. There are numerous ones on github available.

I've decided that the hosts file solution is better for large blocklists, so will be making the little snitch blocklist much more minimal (for things that I find excluded for the hosts file ones).
Here is the command I did up for selecting a hosts file:
https://github.com/balupton/dotfiles/blob/master/.scripts/commands/select-hosts


localVideo

local video not showing on iOS device

we need more info about your problem

Same problem here on iOS.

what version did you use?

The latest, but not the beta.

you need to enable local video on ios devices. enableLocalVideo(true)
at least it works for me :)

@mtalhagaoglu yeah its work, but when another user join the chanel, the local video disappear


Search contacts on Cat S22 flip

Hello.
With the recent versions, I can't type letters, (only numbers) on phone's search contacts edit feald and the [#] key doesn't work to change mode.
The problem still persists with the latest version 37.
If I go back to v33, everything goes normally.
Please fix it!
Thanks in advance.

I don't have a CAT S22, so I will need a little help to fix the problem.
Please do the following:

Go to TT9 Settings.
Scroll down to the version information and click it. This will open the Debug Options screen.
Change "Log Level" to "Debug"
Go to the Contacts app and select the search field. You don't need to type anything there, just make sure the text cursor is in it.
Go back to the TT9 Debug Options.
Change "Log Level" to "Error".
At the bottom, there is a "Recent Log Messages" section. Scroll down a bit, if you don't see it.
Click or touch the log messages list to copy them.
Save them to a file. You can do so by pasting them in some text editing app on your phone, or by sending them to yourself in a messaging app, then, saving them to a file on a computer. Do whatever is easier for you.
Upload the log file here, so I can examine it.

I am interested in the line that looks like this:
===> Start Up; packageName: com.google.android.contacts inputType: 524289 actionId: 0 imeOptions: 268435459 privateImeOptions: null extras: null

I need to know if instead of com.google.android.contacts, it says org.codeaurora.dialer or something else. I also need to know the inputType and the imeOptions.
I realize this may sound difficult, if you don't have technical knowledge, but there is no other way. I need that information for every specific device that fails. You can alternatively make a screenshot of the logs, if it is easier for you.

Log.txt
Ok, here it is.

This is a regression caused by #538.
@AgentGolder, this is a serious problem, so I'll make an APK with the fix as soon as possible. I just need to know if you have installed TT9 from Google Play or from one of the other sources?

From https://github.com/sspanak/tt9/releases/download/v37.0/tt9-v37.0-full.apk.

Excellent! Please try if v37.2 fixes the problem.

Has been fixed, thanks for your emediate responce. I'll donate you again at the end of the month.

Sounds great! Thank you for helping make TT9 better.

hello guys. same thing on the mode1 retro ii on the gapps version

@anitalink, doesn't the attached v37.2 solve the problem?

after full reinstalling it`s working perfectly, thank you!


[ADDITION] Marmalade

Category
Fintech
Software to be added
Marmalade
Supporting Material
URL: https://www.withmarmalade.com.au/
Description: Marmalade is a world-first invoice payments platform that empowers businesses to take complete control of their cash-flow.
Size:
HQ: Melbourne
LinkedIn: https://www.linkedin.com/company/marmalade-group/
See Record on Airtable:
https://airtable.com/app0Ox7pXdrBUIn23/tblYbuZoILuVA0X3L/recrIOYyXGHGZpYSs

Enough info in Airtable, adding to list


Git 2.37.3 -> 2.38.0

Description of changes
Release Notes
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

I'm currently running nixos/tests/git/hub.nix. I'm not sure if that's actually the right test suite, though.

[ ] 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/)
Very cursory testing, but the new binary made this commit.

22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.
I think. This is my first Nixpkgs PR, so I've likely missed something.

Duplicate of https://github.com/NixOS/nixpkgs/pull/194301

Ah, I was looking at the wrong branch. At least it looks like I was doing things right based on the existing PR.


Listener that implements IMethodInterceptor is used when it should not be

TestNG Version
<IP_ADDRESS>
Expected behavior
When annotating a class (that contains three tests) with a listener that implements IMethodInterceptor, and using a testng xml file that specifies that class, the "intercept" method is run.
When using a testng xml file that specifies a different class that is not annotated with the same listener, the "intercept" method for that listener should not be executed as the listener shouldn't be bound to the class.
Actual behavior
The intercept method is indeed executed. Somehow this listener is being activated even though it only annotates a class that is out of scope from test execution.
Interestingly, if the java annotation is removed, and the listener is specified only in the xml file for the class that it should be enabled for, everything works as expected.
Is the issue reproductible on runner?

[x] Shell
[x] Maven
[ ] Gradle
[ ] Ant
[x] Eclipse
[ ] IntelliJ
[ ] NetBeans

Test case sample
In the example below, the CustomListener class' intercept method is run for testA(), even though the annotation is only in the TestB class:
Custom Listener
public class CustomListener implements IMethodInterceptor {

	@Override
	public List<IMethodInstance> intercept(List<IMethodInstance> methods, ITestContext context) {  System.out.println("Hello there!"); return new ArrayList<IMethodInstance>(); }
}

Test Class A
public class TestA extends MyBaseTestClass {

	@Test(groups = { TestConstants.TestNGGroups.GROUP_A }, description = "Group A.")
	public void testA() { /* Do stuff and Assert */ }
}

Test Class B
@Listeners(CustomListener.class)
@Test(groups = { TestConstants.TestNGGroups.GROUP_B }, description = "Group B.")
public class TestB extends MyBaseTestClass {

	public void testB() { /* Do stuff and Assert */ }
}

Testng File
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
<suite name="Test Suite A" verbose="1" parallel="classes"
	thread-count="1">
	<test name="Test A" preserve-order="true">
		<groups>
			<run>
				<include name="group_a" />
			</run>
		</groups>
		<packages>
			<package name="com.mycompany.tests" />
		</packages>
	</test>
</suite>

Listeners are global for all the suite and not scoped for a specific class, even with the annotation.
But I'm agree, the listeners on an excluded class should be skipped.


Fixup files entry

This would be useful to include this file in the published package, allowing loading from unpkg at https://unpkg.com/browse/fastestsmallesttextencoderdecoder/.

Oops... that was a mistake. Thank you so much for being so gracious. I shall push a new version to npm right away.


All builds are failing

Describe the bug
All builds started failing after https://github.com/draios/sysdig/pull/1568 introduced an ASSERT macrot hat was already defined in sysdig.h.
How to reproduce it
Open any PR and it will fail.
Expected behavior
PRs go green unless they introduce something broken
Environment
NO need
Additional context

Opened a PR on Sysdig to fix this.
https://github.com/draios/sysdig/pull/1578
#995 on Falco is to track if Falco itself can build, then that PR can be closed without being merged.

This was solved after the pr I mentioned above


BUG - FPM Explorer: Sporadically no data in Value Helps. Mockserver issue?

Description
Value Helps in the FPM explorer example for "Table - Edit Mode" sporadically show no data.
Steps to Reproduce
Steps to reproduce the behavior:

Open the FPM explorer example for "Table - Edit Mode"
https://sapui5.hana.ondemand.com/test-resources/sap/fe/core/fpmExplorer/index.html#/buildingBlocks/table/tableEdit

When opening a Value Help dialog in the columns "With ValueHelp" or "With Currency" for the first time, there is sometimes no data shown. (You may need to enlarge the table or use "Show more per row" to see this columns.)

We tried hard to find a step list to reproduce this issue (clear the cache first, resize page or area), but unfortunately the issue only occurs sporadically.
Expected results
Value Help shows data
Actual results
Value Help dialog does not show data and the $batch request returns a HTTP 404 error and the console log shows the following error:
Log-dbg.js:493 2023-03-20 12:06:46.747899 Failed to get contexts for /sap/fe/core/mock/tableEdit/ValueHelpCurrencyEntity with start index 0 and length 100 - Error: HTTP request was not processed because $batch failed
    at https://  .../resources/sap/ui/core/library-preload.js:2256:11965 sap.ui.model.odata.v4.ODataListBinding

Screenshots
If applicable, add screenshots to help explain the problem.

Version/Components/Environment
Add any other context about the problem here
OS:  We have seen it on Windows and Mac
Chrome browser
The issue is also described on an SAP internal system.
Any ideas what can cause such an issue or how to get this reproducible?

Hi @marcovieth from what i can see the mockserver works well, what seems to be problematic is that sometimes sporadically the fpm explorer doesn't instantiate it properly.
This is not a mockserver issue but an fpm explorer issue, as such it has no place here.


Replace guzzle vendor name with guzzlehttp

Just to get rid of abandoned notification - guzzlehttp/guzzle actually points to the same Github Repository

guzzlehttp/guzzle actually points to the same Github Repository

guzzle/guzzle points to Guzzle 3 at github.com/guzzle/guzzle3, which is deprecated.
guzzlehttp/guzzle points to the new repo with the latest releases. Since Guzzle 3 is deprecated, I think the repo should be updated to use a newer version of Guzzle

however that change doesn't change anything except we get rid of abandoned notification

Any news on this?

Also blocked by https://github.com/satooshi/php-coveralls/pull/221.

not gonna happen.
travis was failing, 1.x is not maintained, 2.x is already using newer guzzle


How do I run this application?

Hello, I am interested in forking this project and experimenting with it. Although the project is very well designed and looks great I struggled to figure out how to run it. Could you help me out?

First of all, I'd say it's not really written for readability or maintainability. It was mostly a learning experience + experiment.
However, I'll explain it the best I can.
It's 3 different projects in one pretty much:

The backend server which manages all the game logic, user stuff, and additionally communicates with the steam trading bots.

The frontend which uses angular to provide a responsive website to interact with the backend. This is compiled from the angular source and then that is served in another process.

Lastly, there's the steam trading bots which again, run on their own process and integrate with the backend.

All three have to be running to have a functional site. I'd imagine several things have broken since I made this (mainly the trading bots and various uses of apis).
You'd also need to change the various references to domain names. As well as get new ssl certificates.


Fixes

Description
Currently this is included
remove batchid from dtos
use fixed 1 nonce space for Forward getNonce
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
currently running npx lerna run test
Test Configuration:
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

@talhamalik883 it seems absurd same dtos are in two places. in core-types package and also in transactions package under src/Types


Links to domain .md could not be recognized correctly

I tried to add a markdown link [Obsidian](https://obsidian.md) on the website using quartz. However, when click the link on the website, it forward the address to https://obsidian/, an address without .md.
I think maybe quartz recognize the domian .md as a markdown file, thus forward it to a wrong address.
I also changed the https://obsidian.mdto https://www.obsidian.md, but it's the same result without .md
I tried this on chrome browser both on android and macOS.
Please check it out,

Regards.

I think this is a bug with https://github.com/jackyzha0/hugo-obsidian, could you file the ticket there instead?


[SPARK-10949] Update Snappy version to 1.1.2

Snappy now supports concatenation of serialized streams, this patch contains a version number change and the "does not support" test is now a "supports" test.
Snappy 1.1.2 changelog mentions:
snappy-java-1.1.2 (22 September 2015)
This is a backward compatible release for 1.1.x.
Add AIX (32-bit) support.
There is no upgrade for the native libraries of the other platforms.
A major change since 1.1.1 is a support for reading concatenated results of SnappyOutputStream(s)
snappy-java-1.1.2-RC2 (18 May 2015)
Fix #107: SnappyOutputStream.close() is not idempotent
snappy-java-1.1.2-RC1 (13 May 2015)
SnappyInputStream now supports reading concatenated compressed results of SnappyOutputStream
There has been no compressed format change since 1.0.5.x. So You can read the compressed results interchangeablly between these versions.
Fixes a problem when java.io.tmpdir does not exist.
From https://github.com/xerial/snappy-java/blob/develop/Milestone.md and up to date at the time of this pull request
Also note https://github.com/xerial/snappy-java/issues/103
"@xerial not sure how feasible or likely it is for this to happen, but it'd help tremendously Spark's performance because we are experimenting with a new shuffle path that uses channel.transferTo to avoid user space copying. However, for that to work, we'd need the underlying format to support concatenation. As far we know, LZF has this property, and Snappy might also have it (but snappy-java implementation doesn't support it)."
Would be useful to have this in both the 1.5 and 1.6 branches

Test build #1845 has started for   PR 8995 at commit 352bb3d.

Can one of the admins verify this patch?

Snappy upgrades have historically been a cause of bugs in the past, so I'm going to veto putting this into 1.5.2. Let's definitely consider it for Spark 1.6, though.
Jenkins, this is ok to test.

By the way, in addition to the changes here we need to update code elsewhere in order to benefit from the concatenation of serialized streams. For the Tungsten shuffle write path, the right line to change is https://github.com/apache/spark/blob/27ecfe61f07c8413a7b8b9fbdf36ed99cf05227d/core/src/main/java/org/apache/spark/shuffle/unsafe/UnsafeShuffleWriter.java#L269
Rather than changing this here, though, I'd prefer to do something similar to what I did for Serializer, defining a private API to let instances express whether they have this fast-merging property: https://github.com/apache/spark/blob/27ecfe61f07c8413a7b8b9fbdf36ed99cf05227d/core/src/main/scala/org/apache/spark/serializer/Serializer.scala#L99

Test build #1845 has finished for   PR 8995 at commit 352bb3d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Any update here? Will you have time to address my comments?

Josh, apologies for the late response here and making sure I'm understanding your proposal
For your first comment the naive way would to be add SnappyCompressionCodec such that:
final boolean fastMergeIsSupported =
      !compressionEnabled || compressionCodec instanceof LZFCompressionCodec || compressionCodec instanceof SnappyCompressionCodec;

but this isn't scalable in the long term (will be prone to error if we support more codecs and feels hacky - requiring this to be modified over time based on new functionality or new codecs being available). Having said that, we already have hard coded compression codec names in CompressionCodec.scala...
With your proposal we'd add
@Private
private[spark] def supportsSerializedStreams: Boolean = false

Alternatively a required method named "supportsSerializedStreams" - so when a user defines their own codec to be used with Spark, this would be required.

Hey @a-roberts,
How about this:

Add a private[spark] method to the private[spark] CompressionCodec companion object and have that method maintain the hardcoded list of compression codecs which support concatenation of serialized streams. This method should accept a CompressionCodec instance and perform the instanceof check. I'd consider naming this something like "supportsConcatenationOfSerializedStreams" to be very explicit and clear.
Update fastMergeIsSupported to use this new static method.

I like this approach since it makes it very clear why we're only supporting those two codecs.
I wouldn't worry about third-party / external compression codecs being able to take advantage of this feature.

Cheers Josh, makes sense, I'm going to test this on our systems before updating the PR with the changes, here's what I've added (the last parts of each code block).
In core/src/main/scala/org/apache/spark/io/CompressionCodec.scala
private[spark] object CompressionCodec {

  private val configKey = "spark.io.compression.codec"
  private val shortCompressionCodecNames = Map(
    "lz4" -> classOf[LZ4CompressionCodec].getName,
    "lzf" -> classOf[LZFCompressionCodec].getName,
    "snappy" -> classOf[SnappyCompressionCodec].getName)

  private[spark] def supportsConcatenationOfSerializedStreams(codec: CompressionCodec): Boolean = {
    codec.isInstanceOf[SnappyCompressionCodec] || codec.isInstanceOf[LZFCompressionCodec]
  }

...
In core/src/main/java/org/apache/spark/shuffle/unsafe/UnsafeShuffleWriter.java
private long[] mergeSpills(SpillInfo[] spills) throws IOException {
    final File outputFile = shuffleBlockResolver.getDataFile(shuffleId, mapId);
    final boolean compressionEnabled = sparkConf.getBoolean("spark.shuffle.compress", true);
    final CompressionCodec compressionCodec = CompressionCodec$.MODULE$.createCodec(sparkConf);
    final boolean fastMergeEnabled =
      sparkConf.getBoolean("spark.shuffle.unsafe.fastMergeEnabled", true);

    final boolean fastMergeIsSupported = !compressionEnabled ||
      CompressionCodec$.MODULE$.supportsConcatenationOfSerializedStreams(compressionCodec);

That plan sounds fine to me.

Jenkins, retest this please.

Merged build triggered.

Merged build started.

Test build #43890 has started for   PR 8995 at commit 3d650c8.

Test build #43890 has finished for   PR 8995 at commit 3d650c8.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/43890/
Test FAILed.

Merged build finished. Test FAILed.

Jenkins, retest this please.

Merged build triggered.

Merged build started.

Test build #43899 has started for   PR 8995 at commit 1949bcb.

Test build #43899 has finished for   PR 8995 at commit 1949bcb.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/43899/
Test FAILed.

Merged build finished. Test FAILed.

Jenkins, this is ok to test.

(I'll try to see if I can get Jenkins to just auto-retest this...)

Merged build triggered.

Merged build started.

Test build #43944 has started for PR 8995 at commit 0f87052.

Test build #43944 has finished for PR 8995 at commit 0f87052.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/43944/
Test FAILed.

Jenkins, retest this please.

Merged build triggered.

Merged build started.

Test build #43992 has started for PR 8995 at commit 0f87052.

Test build #43992 has finished for PR 8995 at commit 0f87052.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/43992/
Test FAILed.

Hey @a-roberts, any chance that you could fix the merge conflicts here so that I can re-test? I'd like to get this patch in soon so that users can benefit from the faster shuffle spill merging out of the box.

@a-roberts are you still working on this?

I'd really like to get this in; @a-roberts, could you let us know if you no longer plan to work on this so that someone else could take over?

Hi, have been enjoying Spark Summit Europe, better for somebody else to take it over; looks like the files I changed have moved around since the testing so I imagine it won't take a while anyway

I've opened #9439 to take this over. @a-roberts, do you mind closing this one for now?


Suggestion: balance game progress

This is a one out of 2 suggestion by the way, sort off.
Here's my concern...  When you get to acquiring words of power all is relatively simple. The void ritual block can be tricky to get, but it's all doable (all it takes is a trip to the end, which, when combining your mod with others, doesn't have to be too problematic) (no spam but... portable transport devices for the win ;)).
But the next step in the Mecum ("throwable potions") is a pretty steep step to take. It sounds all too easy (alchemical device) but what that doesn't tell you is that you need to perform quite a few steps to get it...

Void infusion altar (which requires Void exploration to get void inflused cloth, so far this wasn't required).
Void blast furnace (which requires the molten void chain part, also kind of hard to get).
... because the chain part also requires a smelting process. (doesn't that require the blast furnace in itself?). Note: I know it doesn't, I tried and I smelted a chain using a regular furnace.

Thing is: I would expect the Mysteries of the Void to guide players into the Void before challenging them into getting these void machineries. Just as I also expected it to tell me that I could smelt the chain using a regular furnace.
I have a way with words so to speak, so if there's something I can do to help out then please let me know.

The mysteries of the void is actually pretty new and I still plan to expand upon it. The current system as it stands now was basically a way to allow you to turn voidic infusion around and make it powerful for yourself instead of it slowly killing you, without obtaining the powers and such, the void becomes quite brutal.
But yes, in short it's brand new and is lacking full content but things will be added in the future.

 They serve no purpose to progression.

One last thing, just a small correction, Void Cloth actually doesn't require you to enter the Void at all. They can be aquired from the Void Lich which spawns in swampland biomes.

Gonna close this one as it's basically already in #110


chore: remove spurious bool lemmas; add dual lemmas for List.any/all

This adds a few lemmas to better simplify t = false expressions and removes a couple lemmas almost immediately following core lemmas.

Obsolete after upstreaming Bool and Nat lemmas


Set the pokemon-theme to an Array containing multiple default options

I wanted to get a random pokemon chosen between a few that I like, so I thought about this little enhancement.
This way you can set the "pokemon" option in hyper config to something like
pokemon: ['mewtwo', 'zapdos', 'moltres', 'articuno', 'pikachu', 'raichu', 'charizard', 'mew']
or even
pokemon: ['pikachu', 'random']
for a 50% of getting a pikachu.
What do you think?

Hi @Smarina! Your idea is so awesome! It can be combined perfectly with the upcoming theme options and features 😄 Thank you tons for taking the time to contribute 🎉 Can't wait to ship it everyone 😄
You are more than welcome to add anything new you might have in mind : )


[ELF] Include dynamic_symbols in symbol_map

Looking at the libbacktrace source, it uses in order of priority:

dwarf
debug symbols
dynamic symbols

It never uses more than one of these though, and I see no reason why we would need to. So I'm inclined to support the same thing initially, but if that proves to be insufficient then we can change it later.
I'll be working on this as part of https://github.com/rust-lang/backtrace-rs/issues/287. This will probably include a rework of Symbol and SymbolMap (changing Symbol to a trait, and changing SymbolMap to be only address/size/name).

Fixed in #250 (We now use the dynamic symbols if there are no debugging symbols.)


Documentation?

Hi there,
Thanks for your module, it looks great.
I've been in trouble for implementing it. Some documentation would really make our lives easier. :-)
Thanks!

Hi !
Didn't work on that for a while. Can't promise anything but i'll try to get back on that and provide documentation and more/up to date examples ;)


Partially Revert #27862

When SE-110 was being implemented, we accidentally began to accept
closure parameter declarations that had no associated parameter names,
e.g.
foo { ([Int]) in /**/ }
This syntax has never been sanctioned by any version of Swift and should
be banned.  However, the change was made long enough ago and there are
enough clients relying on this, that we cannot accept the source break
at the moment.  For now, add a bit to ParamDecl that marks a parameter
as destructured, and back out setting the invalid bit on the type repr
for these kinds of declarations.
To prevent further spread of this syntax, stub in a warning that offers
to insert an anonymous parameter.
Resolves part of rdar://56673657 and improves QoI for errors like
rdar://56911630

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

⛵

LGTM! Let's try to address new crasher soon though.


Plugin throws exception with Jetpack Compose apps

When used within a Jetpack Compose project, like so:
plugins {
    id "com.android.application"
    id "kotlin-android"
    id "com.bugsnag.android.gradle" version "5.6.0"
}

Gradle sync fails with:
Unable to find method ''void com.android.build.api.dsl.CommonExtension.onVariants(kotlin.jvm.functions.Function1)''
'void com.android.build.api.dsl.CommonExtension.onVariants(kotlin.jvm.functions.Function1)'

The current requirements for Jetpack Compose are using Android Studio Arctic Fox Canary 3 with kotlin 1.4.20 and a dependency on classpath "com.android.tools.build:gradle:7.0.0-alpha03" (which seems to end up using 6.8-rc-1 in .gradle directory).
This could be a similar problem to #319, but in the case of Jetpack Compose there isn't an option to use the stable path. Given these hard requirements, can you share precise instructions on a recommended alternative (manual?) approach to using bugsnag in a Jetpack Compose app?

Hi @sjmueller
Jetpack Compose isn't something we officially support, but I've raised it with our product team as something we may wish to look at. Our gradle plugin also does not yet support AGP 7.x. This is on our roadmap to provide support for in a future version.

Thanks for the feedback @yousif-bugsnag, can you share with me specific ways that bugsnag can be used properly without the gradle plugin? Is it an absolute requirement to use it or are there manual workarounds..

Hi @sjmueller
It's perfectly possible to use the Bugsnag Android integration without the Bugsnag gradle plugin.
You'd just need to add the following dependency to <project_dir>/app/build.gradle:
dependencies {
    // ...
    implementation "com.bugsnag:bugsnag-android:5.+"
}

And then follow the steps under Basic Configuration here:
https://docs.bugsnag.com/platforms/android/#basic-configuration
The Bugsnag gradle plugin automates the upload of mapping files and reporting of build version information, so if you're not using the plugin we'd recommend performing these actions manually using the relevant APIs:
https://docs.bugsnag.com/api/android-mapping-upload/
https://docs.bugsnag.com/api/ndk-symbol-mapping-upload/
https://docs.bugsnag.com/api/build/

Currently in our project we are not use Jetpack Compose but we are getting the same error
Gradle 6.7.1 and AGP 4.2.1
This is currently hindering out efforts to upgrade to the latest Gradle plugin
Can provide more information if needed

Hi @johnaziz57, could you please write in to<EMAIL_ADDRESS>with the full details of the error you're seeing and the version of bugsnag-android-gradle-plugin you're using?

Hi @sjmueller
We've now released v7.0.0-beta01 of the plugin which offers AGP7 Support.
There is an upgrade guide available here if you wanted to try see how you get on with that as this was a previous blocker for Jetpack Compose.
Do bear in mind this is currently a beta as AGP7 is still in beta.

Just an update to say that AGP7 is now fully supported in v7.x versions of bugsnag-android-gradle-plugin.


new CleanWebpackPlugin()使用

new CleanWebpackPlugin()传参数必须是一个对象
describe your changes...

[ ] Read and sign the CLA. PRs that haven't signed it won't be accepted.
[ ] Make sure your PR complies with the writer's guide.
[ ] Review the diff carefully as sometimes this can reveal issues.
Remove these instructions from your PR as they are for your eyes only.

需要向官方英文文档提交 pr


qt6Packages.qtstyleplugin-kvantum: init at 1.0.10

Description of changes
Add support for building qtstyleplugin-kvantum for Qt 6.
Note that building Kvantum without Qt 5 will not include the configuration tool.
See https://github.com/tsujan/Kvantum/blob/868eba20476f20a68d145dc8f28d5e4860751135/Kvantum/CMakeLists.txt#L15-L21
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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 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.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/976


[TextField] bug with IME when multiLine: true

Problem description
TextField multiline component cancels IME while typing. This happens on changing  number of textfield lines.
capture

Link to minimal working code that reproduces the issue
<TextField
  fullWidth={true}
  onChange={this.onChangeProfile.bind(this)}
  value={this.state.profile || ''}
  multiLine={true}
/>

onChangeProfile(e, v){
  this.setState({profile: v})
}

I also tried with other options off, but still happens.
<TextField
  multiLine={true}
/>

Versions

Material-UI:    "material-ui": "^0.18.7",
React:    "react": "^15.6.1",
Browser: Google Chrome 59.0.3071.115（Official Build） （64 bit）

We have been porting the component on the v1-beta branch. We reimplemented it from the ground-up. While we haven't tested it, I think that the issue is most likely fixed on that branch. Hence, I'm closing it.
Still, we will accept PR fixes until v1-beta takes over the master branch.


Fix shim error on IE

The shim is not working properly in IE.
It seems like the bound function was not called properly, resulting in IE error. I have a proposed fix which simplified the method calling indirection. (I am still very confused by it)

Tested on IE9, IE10, and IE11 on browserstack, confirmed working. @ljharb Can you merge it when you get a chance? Gracias!


Errors homeassistant.util.loop + homeassistant.helpers.entity

After updating Core to version 2024.6.0.
First error:
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:1628
First occurred: 4:38:13 AM (1 occurrences)
Last logged: 4:38:24 AM
Entity None (<class 'custom_components.smartir.media_player.SmartIRMediaPlayer'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <MediaPlayerEntityFeature.VOLUME_MUTE|TURN_ON|TURN_OFF|PLAY_MEDIA|VOLUME_STEP|SELECT_SOURCE: 3976>, please create a bug report at https://github.com/litinoveweedle/SmartIR/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
Second error:
Logger: homeassistant.util.loop
Source: util/loop.py:84
First occurred: 4:38:13 AM (1 occurrences)
Last logged: 4:38:17 AM
Detected blocking call to open inside the event loop by custom integration 'smartir' at custom_components/smartir/init.py, line 60: with open(device_json_path) as j: (offender: /config/custom_components/smartir/init.py, line 60: with open(device_json_path) as j:), please create a bug report at https://github.com/litinoveweedle/SmartIR/issues Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/main.py", line 223, in  sys.exit(main()) File "/usr/src/homeassistant/homeassistant/main.py", line 209, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.12/asyncio/base_events.py", line 672, in run_until_complete self.run_forever() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 639, in run_forever self._run_once() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1988, in _run_once handle._run() File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/usr/src/homeassistant/homeassistant/setup.py", line 165, in async_setup_component result = await _async_setup_component(hass, domain, config) File "/usr/src/homeassistant/homeassistant/setup.py", line 402, in async_setup_component result = await task File "/usr/src/homeassistant/homeassistant/components/media_player/init.py", line 278, in async_setup await component.async_setup(config) File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 149, in async_setup self.hass.async_create_task_internal( File "/usr/src/homeassistant/homeassistant/core.py", line 828, in async_create_task_internal task = create_eager_task(target, name=name, loop=self.loop) File "/usr/src/homeassistant/homeassistant/util/async.py", line 37, in create_eager_task return Task(coro, loop=loop, name=name, eager_start=True) File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 319, in async_setup_platform await self._platforms[key].async_setup(platform_config, discovery_info) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 303, in async_setup await self._async_setup_platform(async_create_setup_awaitable) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 363, in async_setup_platform awaitable = create_eager_task(awaitable, loop=hass.loop) File "/usr/src/homeassistant/homeassistant/util/async.py", line 37, in create_eager_task return Task(coro, loop=loop, name=name, eager_start=True) File "/config/custom_components/smartir/media_player.py", line 61, in async_setup_platform device_data := DeviceData.load_file( File "/config/custom_components/smartir/init.py", line 41, in load_file if device_data := DeviceData.check_file( File "/config/custom_components/smartir/init.py", line 60, in check_file with open(device_json_path) as j:
Core 2024.6.0
Supervisor 2024.06.0
Operating System 12.3
Frontend 20240501.1
Smart IR version: 1.17.14
Using for Media Player (TV)
Everything still working, just entries in logs.
Thank you.

Hello, thank you very much for issue and for the PR. I understand, that you fix is based on the suggested HA example:
Calling sync functions from async
If you are running inside an async context, it might sometimes be necessary to call a sync function. Do this like this:
#hub.update() is a sync function.
result = await hass.async_add_executor_job(hub.update)

Starting independent task from async
If you want to spawn a task that will not block the current async context, you can choose to create it as a task on the event loop. It will then be executed in parallel.
hass.async_create_task(async_say_hello(hass, target))

To my understanding this correct way to solve the warning introduced by HA 2024.6. Could you please only reformat PR using python black formater so it will pass CQ tests? Thank you once again.

@litinoveweedle I didn't start the issue but has the same issue and uploaded a PR, in how i fixed the formatting issues.

@rafiw Oh, sorry, I overlooked that you are not the same person, my fault. :-) Anyway thank you for the PR. I am just finishing fix for the #23, than I will test and merge your PR and release it ASAP. Thank you once again for contribution!

it's ok @litinoveweedle, thank you for continuing the development of this integration

The issue is now fixed in the latest beta 1.17.15b2 which is ready for the testing. If no issues are discovered it will be released in the public release in few days. Thank you for help!

Hello, thanks to all for help and support, this issue is now fixed in the release 1.17.15. I am closing this issue now.


Replace idb with dexie

Summary by CodeRabbit

New Features

Introduced Dexie.js for enhanced IndexedDB management, improving data handling efficiency.

Bug Fixes

Removed outdated mock implementations for IndexedDB to streamline testing processes.

Refactor

Updated database schema and initialization methods for better clarity and performance.
Simplified testing setup by replacing custom mocks with a standardized library for IndexedDB.

Chores

Updated package dependencies to include Dexie and remove idb.

Closing; replacing with https://github.com/jzombie/etf-matcher/pull/124


Offices in org 42

The ticket requires a new RefdataValue field where an office 'type' (with two bootstrapped values 'Technical Support' (default) & 'Other') can be specified.

how to acheive the defaultValue functionality? Setting the default value in the mapping section in the Office domain class doesn't work, as the RefdataValue isn't initialized at startup time.

how to acheive the defaultValue functionality? Setting the default value in the mapping section in the Office domain class doesn't work, as the RefdataValue isn't initialized at startup time.

Something like:
def refdataValue = RefdataCategory.lookup('OfficeType', 'Technical Support'))
myOrg.office = refdataValue // set initially

?

how to acheive the defaultValue functionality? Setting the default value in the mapping section in the Office domain class doesn't work, as the RefdataValue isn't initialized at startup time.

Something like:
def refdataValue = RefdataCategory.lookup('OfficeType', 'Technical Support'))
myOrg.office = refdataValue // set initially

That seems like a valid option. Although it solves a different problem.

The preferred way for setting default RefdataValues is via refdataDefaults in the domain class, for example in JournaIInstance:
  private static refdataDefaults = [
    "TitleInstance.medium"		: "Journal"
  ]


Dashcast audio disabled

Is it possible to stream with dashcast with audio enabled? It seems like whatever is streamed it is disabled. I tried adding muted: false when running dashcast but that didn't help.

I have a dahua camera that is also always muted and the button is grayed out. Am I missing something?

There should be a way around it... the go2rtc player comes unmuted by default. No?

Anyway, the best possible thing would be to stream directly to the cast receiver by using WebRTC.
All Google Cast devices are able to play WebRTC media, I just don't know how this could be implemented.

https://github.com/castjs/castjs
Maybe this could help.

go2rtc will try to play with sound. But browser can block it. If user not interact with it earlier. And no one interact with Chromecast.

I see. That's very odd!
BTW I just had a crazy idea here. What if instead of relying on Chromecast's built-in browser, we could spin-up a browser in the server-side with Puppeteer, and use Chrome's APIs to cast a page (like the go2rtc web player). This is probably doable.
https://github.com/SamuelScheit/puppeteer-stream
The question is whether this is worth it or not, versus trying to make the stream happen directly in Chromecast without rendering it through a browser.


Feature Request: Deleting Old DIY Devices

Problem
I am unable to delete old SwitchBot DIY devices that are no longer in the SwitchBot app, but remain in the plug-in Devices list.
Solution
I would like to have a refreshed list of Devices in the plugin, not a stale list of ones that don't exist anymore.
Alternatives
No response
Additional context
No response

Take the device ID, add it to the device config, check the hide device, and the device will be removed After next Homebridge restart.

Thanks, that's what I've been doing. I just have to do it for a bunch of duplicates at this point, as I've created and deleted devices in the SwitchBot app.

Yeah with how easy it is to remove them, It's not worth the effort of making the plugin do it, plus could remove devices when people don't want them to be removed.

Sounds good - I just wish I hadn't created IR devices in SwitchBot, deleted them, and created duplicates several times over. But the hide feature is working just fine - I appreciate it!

I seem to have multiples of the same device, and it only ignores the first one.

Removing all cached devices in Homebridge settings fixes this for me now.


go/parser, cmd/gotype: misleading error message for type switch

package main
func main() {
var x interface{}
switch _ := x.(type) {
case int:
}
switch _ = x.(type) {
case int:
}
}
produces:
x.go:8:12: expected switch expression, found simple statement (missing parentheses around composite literal?)
Investigate if this could be improved.

Fixed by https://go-review.googlesource.com/#/c/14566/ .


Update data/rubygems.yml

ffi gem and mixlib-cli gem are missing comparing links.

Added for ffi and mixlib-cli.
Manually tested below.
$ irb
irb(main):001:0> require 'bundler/setup'
irb(main):002:0> require 'compare_linker'
irb(main):003:0> ENV['OCTOKIT_ACCESS_TOKEN'] = 'xxx'
irb(main):005:0> compare_linker = CompareLinker.new('owner/repo', '1')
irb(main):006:0> compare_linker.formatter = CompareLinker::Formatter::Markdown.new
irb(main):007:0> comment = compare_linker.make_compare_links.to_a.join("\n")

irb(main):008:0> puts comment
* [ ] [aws-sdk](https://github.com/aws/aws-sdk-ruby): [`2.11.265...2.11.285`](https://github.com/aws/aws-sdk-ruby/compare/v2.11.265...v2.11.285)
* [ ] [aws-sdk-core](https://github.com/aws/aws-sdk-ruby): [`2.11.265...2.11.285`](https://github.com/aws/aws-sdk-ruby/compare/v2.11.265...v2.11.285)
* [ ] [aws-sdk-resources](https://github.com/aws/aws-sdk-ruby): [`2.11.265...2.11.285`](https://github.com/aws/aws-sdk-ruby/compare/v2.11.265...v2.11.285)
* [ ] [capybara](https://github.com/teamcapybara/capybara): [`3.18.0...3.22.0`](https://github.com/teamcapybara/capybara/compare/3.18.0...3.22.0)
* [ ] [ffi](https://github.com/ffi/ffi): [`1.10.0...1.11.1`](https://github.com/ffi/ffi/compare/1.10.0...1.11.1)
* [ ] [mixlib-cli](https://github.com/chef/mixlib-cli): [`2.0.3...2.0.6`](https://github.com/chef/mixlib-cli/compare/v2.0.3...v2.0.6)
* [ ] [multipart-post](https://github.com/socketry/multipart-post): [`2.0.0...2.1.1`](https://github.com/socketry/multipart-post/compare/v2.0.0...v2.1.1)
* [ ] [ohai](https://github.com/chef/ohai): [`14.8.11...14.8.12`](https://github.com/chef/ohai/compare/v14.8.11...v14.8.12)
* [ ] [public_suffix](https://github.com/weppos/publicsuffix-ruby): [`3.0.3...3.1.0`](https://github.com/weppos/publicsuffix-ruby/compare/v3.0.3...v3.1.0)
* [ ] [regexp_parser](https://github.com/ammar/regexp_parser): [`1.4.0...1.5.1`](https://github.com/ammar/regexp_parser/compare/v1.4.0...v1.5.1)
* [ ] [serverspec](https://github.com/mizzy/serverspec): [`2.41.3...2.41.4`](https://github.com/mizzy/serverspec/compare/v2.41.3...v2.41.4)
* [ ] [specinfra](https://github.com/mizzy/specinfra): [`2.77.0...2.77.3`](https://github.com/mizzy/specinfra/compare/v2.77.0...v2.77.3)
* [ ] [unicode-display_width](https://github.com/janlelis/unicode-display_width): [`1.5.0...1.6.0`](https://github.com/janlelis/unicode-display_width/compare/v1.5.0...v1.6.0)
=> nil

This is closed because both should be fixed on the gem's GitHub repository 😉


Visual glitches in folders with files named "Icon."

I've noticed that when files named "Icon." exist in the folder, the line of the file is not cleared and characters from previous screen remains on the line.
Also when the line with the file is selected it becomes completely empty while still displaying details in the pop-up.
Those files appear in Dropbox folders on old OSX versions (circa 2014).
Actual file name is:
`Icon'$'\r'

or in hex
00000000  49 63 6f 6e 0d 0a                                 |Icon..|
00000006

P.S.
I didn't notice any issues with regular unicode and legacy encodings, even with Right-to-Left languages ;-)
So the issues seems to be specific to filenames containing "control" characters and might be in one of the libraries used by redu.
P.P.S
After thinking about it, I am not sure if it would possible to "Mark" those files and pass to restic.
So maybe they should be just ignored since they are taking zero space.

I've reproduced the issue and confirm that this is a problem.
There are two things here:

Escaping control characters when displaying so we don't mess things up visually
Escaping special characters into a format that works on a restic exclude file (https://pkg.go.dev/path/filepath#Match)

1 is easily solvable but I don't think 2 can be fully solved while keeping the exclude-file compatible output.
I was looking at restic's exclude file parsing code and I believe there is no way to match a newline in the filename

Thank you.
If it's too much work to add those files to exclusion list, I think displaying those files as "grayed out" might be a good solution.

I have a solution which seems to work, the only problem is that the exclude file will look a bit strange when view with standard text tools if you have carriage returns or newlines.
But it appears to work, with restic doing the right thing when passed that exclude file.
It seems like a good solution, if you have carriage returns and newlines in your filenames you are doing something odd anyway :)

I've opened the PR (#40). Could you possibly test it with your repo and let me know how it works?

Thank you.
Works as expected.
redu shows the file as:
0 B                  Icon\r

in exclude file it appears as:
<EMAIL_ADDRESS>
restic successfully removed the file:
excluding /Dropbox/Icon
saved new snapshot 791a6238
removed old snapshot 4d7f2fc4

Thank you. Merging the PR.


ShapeRange.Extent is always 2D

This issue was imported from CodePlex
kellison wrote 2011-08-30 at 02:24
If a shapefile is of a ShapeType that has Z or M, the ShapeRange still returns a 2D extent. This eventually introduces Min and Max Z and M values that are MAXDOUBLE and MINDOUBLE when updating the extents. The PartRange.Extent should return either Extent,
ExtentM, or ExtentMZ, depending on the underlying ShapeType.
kellison wrote 2011-08-31 at 18:58
After looking at this further, we cannot really fix this unless we beef up the API to ShapeRange and beef up the member variables on PartRange. Problem is that ShapeRange does not know anything about Z or M arrays. It cannot therefore compute bounds on
Z or M values in UpdateExtents. I think to fix this we need to change PartRange to initialize with Z and M arrays in addition to the Vertices array, and overload SetVertices on ShapeRange. This may also trickle down into VertexRange class. Since these classes
are widely used, I don't want to potentially bust them for supporting *M and *Z shape types which are probably used by a fraction of our community right now.

@mogikanin I'm stumbling about this problem on saving shapefiles.
Before saving the shapefile the headers extent gets set to the FeatureSet.Extent which is a simple Extent instead of the IExtent that was loaded from the shapefile.
Therefore MinM, MaxM, MaxZ, MinZ for the whole shapefile get exported with wrong values.
I know I could work around this in Shapefile.HeaderSaveAs. But as we have made so many breaking changes already I think changing the files mentioned above would make more sense, as the mentioned problem would be fixed, too.
What do you think?

@jany-tenaj what changes you are suggesting?

@mogikanin changing dataset.extent to iextent, making ShapeRange, PartRange and whatever else belongs to it m and z aware.

Please, go ahead.


Documentation Updates

In 0.43 sync() was removed? what's the recommended path forward? Besides use 0.42 :)
Is it .wait() that seems to be a future thing

Rusoto now operates on std lib futures so utility crates like the futures crates provide methods like block_on
To simulate the previous sync behavior you can also just call await on the future inside an async fn or context

If this is helpful, I ended up updating a call that used .sync() to look like this.
pub async fn put(household: Household) -> Result<Household, RusotoError<BatchWriteItemError>> {
        let client = DynamoDbClient::new(Region::UsEast1);
        let put_requests: Vec<WriteRequest> = household
            .rsvps
            .iter()
            .map(|rsvp| WriteRequest {
                put_request: Some(PutRequest {
                    item: serde_dynamodb::to_hashmap(&rsvp).unwrap(),
                }),
                ..WriteRequest::default()
            })
            .collect();

        let mut request_items: HashMap<String, Vec<WriteRequest>> = HashMap::new();
        request_items.insert(env::var("RSVP_TABLE_NAME").unwrap(), put_requests);

        let batch_write_request_input = BatchWriteItemInput {
            request_items: request_items,
            ..BatchWriteItemInput::default()
        };

        match client.batch_write_item(batch_write_request_input).await {
            Ok(_result) => Ok(household),
            Err(err) => Err(err)
        }
    }

The main difference being that the the function has the async keyword in the definition and uses .await in the match expression at the end.

In my case, I was trying to use rusoto_dynamodb. A google search for the docs took me to https://rusoto.github.io/rusoto/rusoto_dynamodb, which has outdated documentation.
Eventually, I found the docs for the latest version at https://docs.rs/rusoto_dynamodb/0.44.0/rusoto_dynamodb, which has a working example of using async/await instead of sync().
To find documentation (and hopefully some examples) for other AWS services, replace rusoto_dynamodb in the URL with the name of the crate you're interested in. For example, to find the S3 documentation for version 0.44.0 of the rusoto_s3 crate, go to https://docs.rs/rusoto_s3/0.44.0/rusoto_s3.


What is the scientific basis for the TextBlob to determine a result? How can I be sure of the validity of the TextBlob results? What formulas does the TextBlob use to return a result?

Could you please help me with information about these questions:
What is the scientific basis for the TextBlob to determine a result?
How can I be sure of the validity of the TextBlob results?
What formulas does the TextBlob use to return a result?

If you are inquiring about sentiment analysis, I suggest checking out issue #415 on GitHub for more information. Alternatively, could you please provide more specific details regarding your query about the "result"?
In any case, the documentation contains references to the sources upon which the algorithm implementation is founded, covering almost all methods, classes, and functions. This library typically offers a user-friendly interface to access functionalities derived from the NLTK and Pattern Python modules, both of which have an excellent reputation and are widely used by professionals and researchers worldwide.


Add HW from projects list, merge ZMK

Moving stuff from https://github.com/zephyrproject-rtos/zephyr/wiki/Projects-Based-on-Zephyr

If that is the only comment, please merge :)


Elephant client causing a warning on Mastodon startup

Bug Description

Activate "Mastodon" Update site (tested version mastodon-1.0.0-beta-26.jar)
Activate "ELEPHANT" Update site (tested version elephant-0.4.3.jar)
Restart Fiji
Open Plugin Mastodon

The following warning occurs:

elephant bug.txt
Afterwards everything still seems to work as expected (as far as I am aware of). However, the warning is a bit annoying for users.

@ksugar any ideas on this?

Hi @stefanhahmann, thank you for reporting the issue.
Because I did not set the log level to debug, I did not notice it.
I could reproduce the issue when I specified the log level as below.
/Applications/Fiji.app/Contents/MacOS/ImageJ-macosx -Dscijava.log.level=debug --

I guess it happens because org.elephant.ElephantExtra.class is included in the compile phase but excluded in the package phase. The extra modules were intended for a specific project, and I wanted to exclude them for public usage.
https://github.com/elephant-track/elephant-client/blob/3b278f78be4f833808340edbce31891d21cff367/pom.xml#L207
I will try excluding it in the compile phase using maven-compiler-plugin.


Add GitHub Dependents Info workflow

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (73d8890) 90.45% compared to head (6030e7b) 90.45%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #57   +/-   ##
=======================================
  Coverage   90.45%   90.45%
=======================================
  Files           3        3
  Lines         220      220
=======================================
  Hits          199      199
  Misses         21       21

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Multiple search requests

Allow:

define a few search requests
on/off search requests
define foreground and background colors for search requests
store / restore search requests
apply search requests for new chunks in stream (all cases: new chunk in opened stream; new data if user adds something and etc)

done with 1.6.0


chore(deps): revert k8s.io/apimachinery to v0.17.3

This is a revert of https://github.com/go-vela/compiler/pull/99
Should be merged after https://github.com/go-vela/compiler/pull/91 to prevent merge conflicts.

Closing in favor of https://github.com/go-vela/compiler/pull/107

Closing in favor of https://github.com/go-vela/compiler/pull/107


fix: section ids with search

fix #579

testing with https://github.com/ansys/grantami-bomanalytics/pull/644

Checking this in https://github.com/ansys/pydpf-core/pull/1846

@da1910 Confirmed that this is working for their projects. Let's merge it and perform a patch release, @Revathyvenugopal162.

@da1910 Confirmed that this is working for their projects. Let's merge it and perform a patch release, @Revathyvenugopal162.

sure, thanks Jorge, doing the patch


stuck on submit button

Challenge Name

The challenge is the platform (when submitting) and not a specific challenge
on the platform
Issue Description

After every challenge having clicked the submit button. The platform rarely
transitions to the next challenge
Browser Information

Browser Name, Version:  Mozilla Firefox, 53.0.2 (64 bit)

Operating System: Fedora Linux

Mobile, Desktop, or Tablet: Desktop

Browser Name, Version:  Google Chrome, 58.0.3029.110(64 bit)

Operating System: Fedora Linux

Mobile, Desktop, or Tablet: Desktop

Your Code

Screenshot

Hi, can you try in an incognito window with all add-ons disabled? Some add-ons like ad blockers have been known to cause issues.
Also if possible can you share the screenshots of the developer console (Press F12) and check the console tab.

Please revert if this is still an issue.

Sorry I haven't had internet for the past 3 days. Working to get service from another provider.
I will gladly give back proper feedback about the thread I started once I get back online, for now am on forced leave from ‘freeCodeCamp’
😪
Kindly note that working Incognito didn't resolve the problem. Will try again once am connected
Regards
From: mrugesh mohapatra
Sent: Friday, June 9, 2017 23:49
To: freeCodeCamp/freeCodeCamp
Cc: coldcoke; Author
Subject: Re: [freeCodeCamp/freeCodeCamp] stuck on submit button (#15163)
Please revert if this is still an issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


JS error all across gitea

Description

Gitea Version
1.23.0+dev-265-g49b8716c40
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
docker
Database
PostgreSQL

It has been fixed in the latest main, by #31444