Alarm/timer sensors should be binary_sensor

The alarm/timer sensor provide a binary value (are there any active alarms/timer). It is odd that this information is not provided through a binary_sensor instead

Is this what you refer to, @gary-reyes? If so, help me see why would that be better to have them as binary? :)

Yes.
The alarm/timer sensors are providing an off/on value indicating that an alarm is available. This is exactly what binary sensors are intended for.   The link you provided even provides this information.

is_on
boolean
Required
If the binary sensor is currently on or off.

A sensor can provide a text state or a numerical state as seen in https://developers.home-assistant.io/docs/core/entity/sensor
It just seems seems weird that a sensor value is providing binary values. I have not seen this in other components. Is there a reason for not using a binary sensor?

This is because in the development we changed somethings around and ended up with that it just shows state on or off. Before that it showed the next alarm. I think there are exceptions to the rule of using binary_sensor and this does live in that gray area. But it is something to have in mind. The state should probably be set none set instead if we change anything.

Thanks for laying it out, @gary-reyes.
I can see how it could be a binary sensor, however, it doesn't seem to make sense to have it as a binary sensor when there is a massive pile of information in the sensor's attributes. Perhaps we should make the state of the sensor "set"/"not set" as @DurgNomis-drol is proposing or even just an integer number how many alarms/timers there is in the device?
@KapJI, what do you think?

Either would work as solutions.

@DurgNomis-drol would you have time and interest to take a look at fixing this one as well? :)
I m afraid i won't have time to look at this until tomorrow night, maybe Thursday :)

Yes no problem, waiting for @KapJI opinion and then i will look into to it 😄

After looking at documentation about sensor and binary_sensor it seems to me that the best way is to keep it sensor with device class timestamp and set the value to the next alarm/timer (in ISO8601 format) or off.

@KapJI But this defeats the purpose of the next_alarm and next_timer sensor we have?

So probably we can merge them? 🙂

I think it is better to have them separated as we have now and then change the state for on or off to set or none set. Especially if we introduce other things as attributes to either sensor.
Either way I need to sleep on it 😄
But if the majority whats them merged i am okay with that 😄

How is this implemented for android alarms?

Here is a link to mobile_app implementation:

If we talk about personal preferences I would suggest we keep the next alarm/timer as is to mimic the mobile phone sensor, but replace the state of alarms/timers sensor to just say the number of alarms/timers set.
I have implemented something similar in Habitica integration (that is core HA) and it got merged with the state just being a number of elements in the sensor. :)

If we talk about personal preferences I would suggest we keep the next alarm/timer as is to mimic the mobile phone sensor, but replace the state of alarms/timers sensor to just say the number of alarms/timers set.
I have implemented something similar in Habitica integration (that is core HA) and it got merged with the state just being a number of elements in the sensor. :)

This seems to make the most sense, having the state be the number of timers.

Okay, let's make it that way then 💥  @DurgNomis-drol still up for a fun challenge? :) Leme know if you are not available, i ll find some time for that

I will look into it today. 😄 Should be a trivial change to make.

It's still not clear to me what's the advantage of having 2 sensors for alarms. IMO the simpler the better. Basically it can follow next alarm from mobile_app with information about other alarms in attributes. This way you should have twice less sensors 🙂
And if someone needs number of alarms it can be get with length jinja2 template filter.

After thinking more about it. This could also be said about the device sensor we create. As there is no real use for it. That should also be removed then.
I think that having two separate sensors will make it more clear to the user what there purpose is.
I would normally agree with you about simplicity, but i am leaning more and more towards not changing anything. I don't think it is worth making a breaking change over this, arguably, small thing. We are not aiming to get it include in core anyway. We can always change it later on if its really needed.

Device sensor with auth token is useful if someone wants to use different api of google home. We should keep it.
I agree about the breaking change. Although changing the state format is also a breaking change, but not as significant probably.
My point is these sensors ultimately represent the same data and having them merged doesn't make UX any worse because the next alarm is still in the state value and you can access it the same way as before.

I don't personally use the auth token sensor. But it is a advanced feature. There are not that many useful API endpoints anyway and most of them are about setting it up. But i don't care if we have it or not. 😄
You have some valid points about it being better to do it now and that they present the same data, but they do it in a different way.
I am gonna go with decision that the majority wants 😄 But i am gonna tag out of implementing a fix. I think it would be best that the implementation that we go with, is implemented by the person who suggest it.

I'm ok with implementing it 🙂

@KapJI mind taking the lead on that? 💯  😄

Yep, sure! Will do in the next couple of days.

Perfect, thanks, @KapJI


Added Style and Hover effect to header

Enhance header and navigation styling for improved user experience #197
This Pull Request focuses on enhancing the header and navigation styling to improve user experience and aesthetics. The changes aim to create a more engaging and user-friendly interface.
Changes Made
Header Styling:
Updated the background color to a more visually appealing shade.
Added padding for better spacing.
Implemented a sticky position to keep the header visible during scrolling.
Introduced text color changes to enhance readability.
Navigation Styling:
Converted the navigation items to inline display for a horizontal layout.
Enhanced hover effects with smooth transitions to improve interactivity.
Added color contrast for better visibility of links.
Implemented improved spacing between navigation items for better usability.
Checklist
Code is clean and follows project conventions.
Changes have been tested in the application.
Documentation has been updated if necessary.

Please Add HactoberFest and GSSOC Badge

Please review the changes and Accept my PR

@akshayks13 pr close due to issue not assigned


hacky fix for missing this context in setActionCookie

This moves a lot of things around as a quick fix for missing this context in setActionCookie, should likely clean this up and refactor for consistent expectations around when this.options is available.

https://sentry.io/fftf/battleforthenet-widget/issues/373040772/


Use HTTPS

This would greatly improve security.

@ThisIsPIRI thanks for your contribution. I will release new version soon as possible


convert some service classes to static props, run [clojars cocoapods]

Warnings

:warning:
This PR modified service code for cocoapods but not its test code. That's okay so long as it's refactoring existing code.

:warning:
This PR modified service code for clojars but not its test code. That's okay so long as it's refactoring existing code.

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @calebcartwright!

  Generated by :no_entry_sign: dangerJS against f51ae822fb603a5f56ba5818ecb605eab72019ba


Add python3-rosdistro-modules

Need python3-rosdistro-modules for ros2doctor cli development. Modified part has been tested with rosdep and nosetests as written on contributing guide.

@claireyywang the contribution docs for rosdep keys usually ask for links to web-browseable package archives.
This package comes from our own repositories which do not have a browseable web index but it would be nice to at least mention that fact and identify whether there are any places that the package would be expected and not found.

It's worth noting that for Debian and Ubuntu, this key resolves to the python3-rosdistro-modules packages that we provide via the ROS repositories so that the python libraries can be installed without the python script binaries which conflict between python2 and python3.
For other platforms that are using the upstream package it's likely that this will cause conflicts with the python2 package. This is not a blocker just something to be aware of.


November release

primarily module/byo enhancements and optimizations

checks successful. all commits reviewed, approved, and unit tested via release_sep24 branch

@veqryn for your notification of new repo release. thanks for your contributions


Morse & RDF initial implementation

There is 180 descriptors for RDF (no I-state for the moment), some deviation to Dragons values due to mass and vdw can be corrected.

Just an FYI that I'm pretty busy at the moment getting ready for the release and the UGM and may not be so quick with the review. I'll try though.

Sure, how do we can name whos descriptors
In rdkit?
Envoyé de mon iPhone

Le 15 oct. 2016 à 17:26, Greg Landrum<EMAIL_ADDRESS>a écrit :
Just an FYI that I'm pretty busy at the moment getting ready for the release and the UGM and may not be so quick with the review. I'll try though.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


URL encoding/parsing breaks the component list

Looks like the encoded_url = urllib.parse.quote(url, safe=':/?&') line in _get_request() needs a = and ,.  Without them, the ?components=thing,thing in the encoded URL gets the = and , replaced with their %CODE counterparts.  The API then returns Error Code 18, "The input parameters were invalid, please enter valid input, and try again."

Thank you for this. Try again with the latest build; I believe I have fixed the issue. Going to close this for now, but feel free to let me know if any problems persist!

Yep, no problem.  Thanks!


Docs: Exporting existing NumPy array to disk

PR following https://github.com/alimanfoo/zarr/issues/100

Thanks for this, much appreciated.
On Sat, Jan 21, 2017 at 10:13 PM, Mamy Ratsimbazafy <
<EMAIL_ADDRESS>wrote:

PR following #100 https://github.com/alimanfoo/zarr/issues/100
You can view, comment on, or merge this pull request online at:
https://github.com/alimanfoo/zarr/pull/101
Commit Summary

Docs: Exporting existing NumPy array to disk

File Changes

M docs/tutorial.rst
https://github.com/alimanfoo/zarr/pull/101/files#diff-0 (21)

Patch Links:

https://github.com/alimanfoo/zarr/pull/101.patch
https://github.com/alimanfoo/zarr/pull/101.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/alimanfoo/zarr/pull/101, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAq8QoU3qZkNX8Pr7YmfdSWEms_N5lAkks5rUoMCgaJpZM4LqMvB
.

--
Alistair Miles
Head of Epidemiological Informatics
Centre for Genomics and Global Health http://cggh.org
The Wellcome Trust Centre for Human Genetics
Roosevelt Drive
Oxford
OX3 7BN
United Kingdom
Email<EMAIL_ADDRESS>Web: http://purl.org/net/aliman
Twitter: https://twitter.com/alimanfoo
Tel: +44 (0)1865 287721

Some revisions in the docs in development, there are new functions zarr.save and zarr.load for the storing/loading an existing numpy array, hopefully new docs make this obvious enough.


I would like to know whether the offset range of this partition has changed since kafka periodically cleaned up the data

Hi @15663671003. If you're having an issue with pykafka, please include some example code and a detailed explanation of  the behavior you're seeing. With this information, we'll have a better shot at addressing your issue.


A button towards the forum

Hi,
I copy/paste the message from our discussion on Discord @lewtun:
What do you think about adding a button at the beginning of web pages that would send the reader to the forum to ask a question if needed?

For example for this image, clicking on the button would take you to https://discuss.huggingface.co/t/chapter-1-questions/6797
I made this button in 10min on Paint to illustrate this idea, it will probably have to be redrawn.
Have a nice day,

Thanks a lot for the suggestion @lbourdois! I think this type of button would be great not just for the course, but also for our docs in the open-source libraries.
WDYT @mishig25 @gary149 ?

@lbourdois, I think it is a great idea & the button looks amazing!
@lewtun on what pages should the button be added? Only on "Introduction" pages (like this) or on all pages? Or "Introduction" + "Summary" pages?

@mishig25 would it be overkill to have it on all course pages? The reason I ask is that I suspect many course readers don't read every section in order, so might miss the forum link.
If that's too much, I like your suggestion to include this on the "Introduction" and "Summary" pages :)

I'm ok with it (if it's only for the course)

@lbourdois could you please share the img with us? stp

The image in .svg (and in .jpg in case I screwed up the .svg)

@lbourdois thanks for the photo, the svg file is not being rendered (maybe corrupted?)
Here is the shields.io version:

@mishig25
Your version is so much better. I think it might even deserve to be called "art" compared to some banana 🍌

@lbourdois could you please review https://github.com/huggingface/course/pull/301
not sure why, github is not letting me add you as a reviewer in #301

@mishig25
Everything looks good to me after doing some tests with the bot.
I think we are on the second best feature of Hugging Face after the HF Hub.

awesome! @lbourdois thanks a lot for the suggestion!


Background color issues

@daniel-j-h I noticed in your screenshots that there was weird coloring going on in places with the background. I've found the issue and will be fixing it, see my before and after.

:open_mouth: dang, this is awesome! :bow:


Question about Proxies

Hey I looked a bit into the this threads so, I saw the bot works with windscribe, but windscribe only has like 300 IPs or so wich is pretty obvious to detect. Is there a way to put a proxylist in there?

If someone can assume me a proxy list that works, i have the code for implementation @welitwelit


character error rate

Hi
I wonder if CER can also be calculated with your code?
Thanks a lot.

CER can be calculated using jiwer library (https://github.com/jitsi/jiwer). I also use this library in my code


fix(scaleColumns): adjust for overflow when scaling columns in flex mode

What kind of change does this PR introduce? (check one with "x")

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

What is the current behavior? (You can also link to an open issue here)
For some inputs the function scaleColumns(colsByGroup: any, maxWidth: any, totalFlexGrow: any) in utils/math.ts returns a set of column with total width exceeding that of the maxWidth argument.
This seems to be the reason for a horizontal scrollbar on large screens where space is more than enough.
What is the new behavior?
After auto-caling the columns in flex mode, a correction is made based on the outstanding overflow/underflow by adding/removing the delta from the biggest column.
Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[x] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Yes, it's related to https://github.com/swimlane/ngx-datatable/issues/2101, I didn't get any response there for more than a year and I just found out about this fork, decided to directly open a PR here.


Revamp example project

Fixes #91
I would have prefferred to make this with SwiftUI, but as long as we're supporting iOS 13 I think it makes sense to keep this with UIKit to stand a little bit better of a chance of detecting if we break something.
This is a pretty simple 'app' with little to no UI. We could spend some more time making it look nicer and filling in some more complex examples, but I didn't want to go too far without validating that this is a good start.
I think we might want to also add some more elaborate examples of tricky situations we'd run into with other projects, but couldn't come up with any good examples to start with. Any suggestions?

Looks good in general, couple minor tweaks I'd make before merging (Don't think we need a re-review after these if we just make them and merge):

Button on the "Login" screen just says "Button", should probably change it to "Log in" or something.
Posts in the table view are selectable and highlight, but don't do anything. Should problaby disable selection.
"SwifterManager" is not a great name in a couple of regards: Our more modern naming convention of things would make this a "Service" (or maybe in this case call it a "Server" to make it clear that's what it is filling in for), and If you don't know what "Swifter" does as a library the name of the class doesn't tell you much. I'd call it something more like "ExampleNetworkServer"

Some other things we might want to consider having examples of if we do want to spend a bit more time fleshing this out:

The params just being a raw dictionary rather than a struct
Adding a custom finalize implementation
Adding a custom decode implementation

Some larger things we might want to think about:

I know it's not really core to showing off Netable itself, but it would be nice if the "create post" API actually did something to the state of the posts when you get them. Seems like it'd be fairly straightforward to just decode the post in the "server" and keep like an in memory list of create posts and then when it's doing the "get post" send back both the json data AND the in memory posts.
Seems like with iOS 13 as the min platform we should be able to use SwiftUI if we want. AIUI It's only if we're supporting 12 that we need UIKit example code to make it possible to runt he test app on 12, but I'm pretty sure we already dropped 12 support.


Dev

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement
Learn more about why HashiCorp requires a CLA and what the CLA includes

1 out of 2 committers have signed the CLA.

[x] parambil
[ ] ssamjung2

Have you signed the CLA already but the status is still pending? Recheck it.


rocket(Linux #300 for Unturned <IP_ADDRESS>) console didn't show any activity

The previous version of rocket-linux console will show game settings from Commands.dat and it will accept admin input after I execute "mono RocketLauncher.exe InstanceName"
After new update with Halloween PEI (<IP_ADDRESS>) and new rocket-linux update #300 the console shows nothing and admin cannot input any command.

fixed


Access to $loop using new App ().

Hello, I'm using Ratchet in my Term paper.
By analyzing the code I saw that I can access the '$loop'
even using the "new App (...)" for initialization, but on trying this is returning "null"
...
    $app = new App("localhost");

    var_dump($app->flashServer->loop); // null
....

Even creating the external "$loop" and including as a parameter I get "null".
...
   $loop = \React\EventLoop\Factory::create();
    $app = new App("localhost", 8080, $address = '<IP_ADDRESS>', $loop);

    var_dump($app->flashServer->loop); // null
...

Is it possible to access $ loop using "new App (...)"? I'm doing it wrong?

umm, right ... I'm doing it this way, tks @cboden
But i have analyzed the code and noticed in the file ratchet/src/Ratchet/App.php
a Reactor is created where the $loop is injected in line 90
this Reactor is injected into an IoServer created in line 91
this IoServer is the App public $flashServer in App right
<?php
....

class App {
    ....
    public $flashServer;
    ....

    $flashSock = new Reactor($flashUri, $loop);
    $this->flashServer = new IoServer($policy, $flashSock);

but the $loop inside the Reactor is not accessible.
The IoServer receives a LoopInterface as the third parameter,
I realized that it is not being passed,
this parameter would be the $app->flashServer->loop.
So I would just pass the $loop as the third parameter to
IoServer in line 91 and it will be accessible.
<?php
....
class App {
    ....
    public $flashServer;
    ....

    $flashSock = new Reactor($flashUri, $loop);
    $this->flashServer = new IoServer($policy, $flashSock, $loop);

    $app = new App("localhost", 8080);
    var_dump($app->flashServer->loop); // $loop is accessible

I do not know if this case is a bug in the code,
but I did this analysis to correct.

@Jciel It does look like this should be passed into the IoServer - also, the enableKeepAlive should check to see if $this->loop is null.

So would that be a bug?
@mbonneau @cboden Do you think this change is necessary, according to @cboden  comment #issuecomment-437036346?
In my case I instantiated an external $ loop to use later, worked out fine.

@Jciel The bug is not injecting the $loop. Instantiating your own loop is the "correct" way if you need to reference it.


Use collect output for images

Maybe mention use Collect for output when saving the files

yes, good idea!


Extend the json format for multiple platforms

Consider a new structure of the config json file to have an array or top level keys to provide a set of configurations per platform, eg ios, android.

suggestions
Option 1: group by attribute
{
	"maintenanceMode": false,
	"maintenanceMessage": "App is currently unavailable. Please check back later.",
	"appUpdateLink": {
		"ios": "https://itunes.apple.com/app/id0000000?mt=8",
		"android": "https://play.google.com/store/apps/details?id=app.package.name"
	},
	"appVersionLatest": {
		"ios": "1.0.0",
		"android": "1.0.0"
	},
	"appVersionMin": {
		"ios": "0.0.1",
		"android": "0.0.1"
	}
}

or  Option 2: group by platform
{
	"android" : {
		"maintenanceMode": false,
		"maintenanceMessage": "App is currently unavailable. Please check back later.",
		"appVersionCurrent": 20,
		"appVersionMin": 10,
		"appUpdateLink": "https://play.google.com/store/apps/details?id=app.package.name"
	},
	"ios" : {
		"maintenanceMode": false,
		"maintenanceMessage": "App is currently unavailable. Please check back later.",
		"appVersionCurrent": 15,
		"appVersionMin": 12,
		"appUpdateLink": "https://itunes.apple.com/app/id0000000?mt=8"
	},
}

or Option 2a:  group by platform, and allow global defaults
{
	"maintenanceMode": false,
	"maintenanceMessage": "App is currently unavailable. Please check back later.",
	"appUpdateLink": "https://my.app/landingpage"
	"android" : {
		"appVersionCurrent": 20,
		"appVersionMin": 10,
		"appUpdateLink": "https://play.google.com/store/apps/details?id=app.package.name"
	},
	"ios" : {
		"maintenanceMode": true,
		"maintenanceMessage": "New iOS App is currently in review. Please check back later.",
		"appVersionCurrent": 15,
		"appVersionMin": 12,
		"appUpdateLink": "https://itunes.apple.com/app/id0000000?mt=8"
	}
}


Doc-308: revert env vars revert

This resolves DOC-317:
https://linear.app/buildkite/issue/DOC-317/💄-side-menu-is-too-narrow-only-on-the-webhooks-page
and DOC-308:
https://linear.app/buildkite/issue/DOC-308/fix-and-revert-the-env-vars-business
The issue was occurring on pages where article content (usually a table) overflowed the column. This is why #1469 reverted #1368. And why @olyism found #1487.
Turns out Grid Blow-outs are a thing: https://css-tricks.com/preventing-a-grid-blowout/
Correcting that lead to a flow-on issue where the table of contents was no longer sticky on wide screens, because absolute positioning doesn't work in overflow containers. But I found a solution of that too: https://www.bennadel.com/blog/3409-using-position-absolute-inside-a-scrolling-overflow-container.htm
The necessity for the article content to x-scroll on overflow is lame and we should fix it, but that'll take a more comprehensive approach. Meantime, I constrained the sidebar nav width more than it would normally just to give those tables some more space and reduce the scroll.
This PR reverts the #1469 reversion (ie puts the shiny env var code back in) and handles the table overflow issue, thus correcting the sidebar width.
You can see the two pages with identified issues here to see how much you hate the x-scroll:

https://bk-docs-pr-1498.onrender.com/docs/pipelines/environment-variables
https://bk-docs-pr-1498.onrender.com/docs/apis/webhooks

The table doesn't handle the in-page-toc now. :/ Is this a case of these three things, pick two?

I guess I'd expect the content to wrap around the in page TOC. I guess you have to chose between wrapping and sticky? I literally do not know how CSS works.

Wrapping wouldn't work for a table anyway. (it'd wrap around the entire table, rather than particular lines that were sticking out)
Yeah, you can basically choose to preserve the whitespace of the column the whole way down the page or have a floaty hover effect as per my screenshot above with the red. Either way, we just have to workaround content that breaks out of our column width until such time as we design for it holistically (And even then there will always be some edge case that does not work particularly gracefully)

Ah, I see the problem here. On Firefox I don't have a horizontal scroll bar on this page https://bk-docs-pr-1498.onrender.com/docs/pipelines/environment-variables

I think I'd rather preserve the white space so main content is never hidden, although I guess that still leaves scope for problematic lon non breaking lines.
@olyism maybe we need to bump up looking at this more holistically.

Based on discussion with @plaindocs, I've gone for the TOC as an overlay on the overflowed content rather than cut off the content. This is a temporary solution while we design something better.
See screeny and here: https://bk-docs-pr-1498.onrender.com/docs/pipelines/environment-variables

@olyism I'd love an eye on my box-shadow if you've time for an opinion.

ah… this is the first time I'm using the suggesting feature in GitHub. I did a commit. Not sure if this is the right etiquette (or should the person who raised the PR commit)? Hope I've done this correctly. Thanks 🙏

Here are some things to integrate

[ ] https://github.com/buildkite/docs/pull/1515

I've corrected the syntax error in @olyism's suggestion. Result looks like:

I find that intense. Is that what you were after, Oly?

@plaindocs Do you want to sort out the copy integration?

yeap, will do. I was just looking at it and wondering why I was seeing a different merge commit than expected. :-D

Where are we at with this one? @lachlanhardy @olyism I think if one of you sorts out the SCSS and we're all happy we can merge this back in?

@plaindocs @olyism I still reckon that dropshadow should be lighter. Did you want me to change it?

@plaindocs Copy changes from #1590 added and I've lightened the box-shadow

.


Relocate flash message on Organization pages

This might be related to why @thatbudakguy asked me about using toasts on Slack recently, but the location of the flash messages on pages that include the organization banner isn't ideal. The flash message is in the standard location for most apps, but in this case having the organization banner sit between the flash message and the content area where the user's triggering action took place isn't ideal:

This isn't a super high-priority but if it's possible to move the location of the flash message, on just the pages that include the organization banner, I think it would help the user associate the message with their action (or just notice the message) more easily.
So instead of the placement in the screenshot above, it would look more like:

I like the suggestion to move the message below the org banner. Not a high priority.

I'll pick this one up- looks like good low-hanging fruit to get started on the project with.

https://github.com/pod4lib/aggregator/pull/584


can not debug node.js program without any error info

C:\Program Files\nodejs\node.exe --inspect-brk=47618 she.js
Debugger listening on ws://<IP_ADDRESS>:47618/099459ec-9a27-4360-9b27-9d2773c7879b
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
Waiting for the debugger to disconnect...
output showing as the above.
after showing this,the vscode debug controle panel disappeared
especially,i click the 'debug' button at the file "test.js",but as the above showing:"C:\Program Files\nodejs\node.exe --inspect-brk=47618 she.js",vscode try to debug "she.js".
why?
node --version
v11.9.0

How does your launch configuration (launch.json) look like?

and ah...i know
vscode denug the file in package.json's field "main" if exist


First page is mixed with the last page

Could you take a look on this file. The first page is mixed with the last page.
cb7e7bd2362328f37fe97dc8dff151a3.pdf
Configuration:

Firefox Nightly 60
Windows 7

Closing as duplicate of issue #269.


python: remove isPy33, isPy34

Motivation for this change
This PR removes the usage of isPy33 and isPy34 which are not used for anything useful anymore.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Thanks :)


[featurerequest:gdScript] implement ++ or --

hi,
would be usefull i think.
variable +=1 works so why not pls variable++

+1

while(voting==true):
totalVotes++
2015-04-29 5:23 GMT-03:00 Bojidar Marinov<EMAIL_ADDRESS>
+1
—
Reply to this email directly or view it on GitHub
https://github.com/okamstudio/godot/issues/1754#issuecomment-97350680.

--
David Aguiar de Aquino Paiva

I guess that topic was discussed on the Python community and was discarted because affects the legibility of the code. May be fine in godot, but I think foo+=1 is good enough.

The answer on this page gives a good reason why Python does not have it: http://stackoverflow.com/questions/3654830/why-are-there-no-and-operators-in-python
One doesn't miss it in Python, the language doesn't need it and adds a bit of unnecessary complexity.

GDScript != Python though, and the explanation given there may not specifically add up to GDScript.
As for if we do ask if it makes sense, it simply does given the fact people whom use Godot come from all sorts of languages. Instead of making things more complex it simply just would make the language feel more welcome to more people. (My 5 cents).
Also adding this probably wouldn't be that hard, me thinks.

Yeah, that would be cool if we could write disturbing things like this :
if ( ++i != i-- ) :
  j = ++i--

What is your point @SuperUserNameMan ?

@WatlsDeze there is reasons for people to care about what others write: reading source code is a great way to learn, people are often working in team etc.
My 2cents: Godoscript is presented as a domain-specific language inspired by Python. This said I think Godoscript should try to keep things as close to Python as possible for the sake of the "principle of least astonishment".

This has been discussed in #1107 already, so closing as duplicates as we don't need two issues about it. I still don't think that supporting var++ would bring any added value to GDScript, but well, we can continue gathering community opinions and see if a consensus is finally reached :)


Add instructions for using Lazy in Neovim configuration

I thought I'd add this in so it might be easy for someone else to get started if they use Lazy.nvim
Lmk if there's anything you'd like me to change!

Thanks!


RedisQuota don't work

Describe the bug
A clear and concise description of what the bug is.
memquota work, but the redisquota don't work
Expected behavior
A clear and concise description of what you expected to happen.
redisquota can work
Steps to reproduce the bug
Steps to reproduce the behavior.
in install/kubernetes/istio-demo.yml i don't find redisquota, so i create it using the config below
redisquota
kind: CustomResourceDefinition
apiVersion: apiextensions.k8s.io/v1beta1
metadata:
  name: redisquotas.config.istio.io
  labels:
    app: mixer
    package: redisquota
    istio: mixer-adapter
spec:
  group: config.istio.io
  names:
    kind: redisquota
    plural: redisquotas
    singular: redisquota
  scope: Namespaced
  version: v1alpha2
---

Then according to the redisquota,the adaptor config is:
apiVersion: "config.istio.io/v1alpha2"
kind: redisquota
metadata:
  name: handler
  namespace: istio-system
spec:
  quotas:
  - name: requestcount.quota.istio-system
    maxAmount: 2
    validDuration: 2s
    bucketDuration: 1s
    rateLimitAlgorithm: ROLLING_WINDOW
    overrides:
    - dimensions:
        destination: svc1
      maxAmount: 1
  redisServerUrl: redis.xxx.xxx:6379
  connectionPoolSize: 1
---

apiVersion: "config.istio.io/v1alpha2"
kind: quota
metadata:
  name: requestcount
  namespace: istio-system
spec:
  dimensions:
    source: source.labels["app"] | source.service | "unknown"
    sourceVersion: source.labels["version"] | "unknown"
    destination: destination.labels["app"] | destination.service | "unknown"
    destinationVersion: destination.labels["version"] | "unknown"

---

apiVersion: "config.istio.io/v1alpha2"
kind: rule
metadata:
  name: quota
  namespace: istio-system
spec:
  actions:
  - handler: handler.redisquota
    instances:
    - requestcount.quota
---
apiVersion: "config.istio.io/v1alpha2"
kind: QuotaSpec
metadata:
  name: request-count
  namespace: istio-system
spec:
  rules:
  - quotas:
    - charge: "1"
      quota: requestcount

---
apiVersion: "config.istio.io/v1alpha2"
kind: QuotaSpecBinding
metadata:
  name: request-count
  namespace: istio-system
spec:
  quotaSpecs:
  - name: request-count
    namespace: istio-system
  services:
  - name: svc1
    namespace: svc

Version
What version of istio and Kubernetes are you using? Use istioctl version and kubectl version
istio:0.8.0
Is Istio Auth enabled or not?
Did you install the stable istio.yaml, istio-auth.yaml.... or if using the Helm chart please provide full command line input.
not
Environment
Which environment, cloud vendor, OS, etc are you using?
kubernetes

Thanks for the bug report.
@tahler can you investigate ?

I think it's because redisquota is not added to mixer/adapter/inventory.yaml which this PR tries to fix: https://github.com/istio/istio/pull/6720/files..
@wansuiye : this should not affect redisquota not working but for later.. source.service and destination.service are deprecated and you can use source.workload.name and destination.workload.name instead of them.

hello guys,
Was this bug fixed in 1.0? I have tried the sample but no lucy. I'm wondering we have fixed the bug or not in 1.0.

by the way, how to check the logs?

@dotw: Yes, this bug was fixed in 1.0.
We just found one bug with the way it evaluates which quota override to choose which is fixed in this pr: https://github.com/istio/istio/pull/7913
you can look for logs in istio-policy pod logs..

Closing this issue as it's fixed now.. please re-open if you feel otherwise

@gargnupur I'm using redisquota now and found it's not so accurate even using rolling window. e.g. I define a rate with 1 request in 10 seconds, and then I using a curl to request the service to display the result. I found sometimes 2 or more requests are permitted in 10 seconds. Is this a correct behavior? As my understanding, only 1 request is permitted in 10 seconds.


small stuff, fix yet another unicode issue

Urban dictionary search is still being weird with unicode. Can't quite sort it out. If you search using unicode it will fail gracefully atleast and not break the bot.

                # TODO this should probably just check if '*' is in
                # the string and replace it with a regular expression
                # wildcard.

I don't think there is a reason to use regular expression here, so this is not a TODO.


[abema]Videos on other tabs are not downloaded.

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm requesting a feature unrelated to a specific site
[X] I've looked through the README
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
https://abema.tv/video/title/25-2xrwzkrsieb?s=25-2xrwzkrsieb_s20&eg=25-2xrwzkrsieb_eg0
For example, see above.
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

If OP can share a verbose log and a more detailed description, then this could be re-opened


SBML to MATLAB?

Do you have any plans to convert SBML to MATLAB? I’d love to be able to run a python script that could do that.

Hi @hsauro, thanks for your request. I don't have any plan to do it right, but this is definitely something we would like to support in the future. What needs to happen is

Implement an adapter for SBML via MyoKit. If you take a look at these lines: https://github.com/finsberg/gotranx/blob/main/src/gotranx/myokit.py#L292-L321 you see how I do the conversion to and from CellML. Similarly we can do this for any format that is supported through MyoKit, e.g SBML. This is a rather simple task and PRs are welcomed.
We need to implement a code generator for Matlab. This is more work but definitely something we want to do.

Thanks for getting back. If you do pursue this project I would use the python bindings to libsbml and use that in myokit. There is also another python package called simpleSBML which I wrote that sits on libsbml that is easier to use. If you're thinking of doing this project let me know as we can advise you on libsbml if need be, as well as doing some testing for you. There are a lot of SBML users so I think you'd get usage out of your tool.


Fixed failed tests for CLI command

Hey there!
First of all thanks for the lib.
I've noticed that some tests are failing. So made them working green.
What was done:

Increased verbosity level for the running command in tests.
Set explicit working directory for the command runner. Otherwise, it was impossible to run ConsoleCommandTest separately.

Thanks!


behaviortree_cpp_v3: 3.0.8-1 in 'dashing/distribution.yaml' [bloom]

Increasing version of package(s) in repository behaviortree_cpp_v3 to 3.0.8-1:

upstream repository: https://github.com/BehaviorTree/BehaviorTree.CPP.git
release repository: https://github.com/BehaviorTree/behaviortree_cpp_v3-release.git
distro file: dashing/distribution.yaml
bloom version: 0.8.0
previous version for package: null

@facontidavide This release is failing to build: http://build.ros2.org/view/Dbin_uB64/job/Dbin_uB64__behaviortree_cpp_v3__ubuntu_bionic_amd64__binary/5/


Add an experimental feature gate to enable exporter batching

The feature gate enables experimental exporter batching instead of batch processor. This feature ensures the backpressure is propagated to the file readers and no data is dropped. Not recommended to use with enabled gateway.

Can we also add infinite retries for filelog and the exporter?
   retry_on_failure:
     max_elapsed_time: 0s

Can we also add infinite retries for filelog and the exporter?

Done


fix docblock for mapping compiler pass methods

Q
A

Bug Fix?
n

New Feature?
n

BC Breaks?
n

Deprecations?
n

Tests Pass?
n

Fixed Tickets

License
MIT

Doc PR

Hmmm, @cordoval @hacfi Why this change? Enabled should be always a bool, never a string...

acording to the code it has double usage

Absolutely... you can pass a boolean or a parameter name ;)
Thanks! Good point! :D


fixed small typos

Issue #, if available:
Description of changes:
three small changes to correct typos
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Thank you @setheliot I fixed and updated the html replica


Property pane dates need to be internationalized

Enhance the date and time pickets to pass internationalisation strings for things like months and the time format.

And clarify which timezone is in use/being displayed


Speaker using ADC MEMS microphone input instead of flash

Thank you for publishing this library.
I have read both of your blogs. I want to drive my speaker using PWM and opamp circuit you used but on input side instead of using files for audio I want to use microphone ADC input. The quality of audio is speech quality only.
Is it possible ?
Thanks.

Hi @happytm, thanks for your question! It sounds like you're trying to make an Arduino device that records microphone audio and plays it back. Unfortunately I don't have any experience with this, but I recommend posting this question on the Arduino forum https://forum.arduino.cc/ and you may get some good feedback there. Good luck!


Is this project still alive?

How would you pick-up the events?

I have done a little investigation into it and thought about a few methods in doing so, one being detecting the text that appears on the screen. However, this would not work very well if you are playing the game in a different language...
I also have not had the time to look into it further as I recently moved house and still don't have not set much stuff up so currently this project is on pause. If you have any ideas on how to trigger on these events then please post them :)

Seems like you facing the same problems then me. I tried to create a local stats tracking system which is tracking who was in your / the enemy team. But OCR was horrible at detecting the player names.
If i'll find something i will let you know.


Bug: Asset search from top bar doesnt work

Summary of Bug
When searching for a specific asset, the top bar search doesnt actually work. it only takes you to the assets page. This should allow you to search on any known asset.
Version
latest
Steps to Reproduce

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

I think its using /assets/{denom} in the URL instead of /asset/{denom} (singular)


Update libcec

Motivation for this change
libcec was not working with Kodi because of a version mismatch. These patches update libcec to a working version and ensure that the build will fail if this happens again.
Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Tested. Thanks!


signTransaction: support signing P2TR inputs

At the moment signTransaction (which depends on ldk & liquidjs) is not capable to sign a transaction that contains a pay to taproot input.

This is trickier tat we originally thought: spending a taproot output, especially via script path spend (leaf), we need extra metadata to be shared, such as the the root hash, the path to the leaf and internal pubKey.
The best would be for user to let Marina know about the p2tr created in advance, using the account/template API discussed in #250


Get cardano-node docker tag from README.md in e2e flow

[x] Get cardano-node docker tag from README.md in e2e flow

Comments
Docker tag was taken from /nix/.stack.nix/cardano-node.nix but the file is no longer there. Getting it from the README instead.
This should fix failing docker e2e flow.
Issue Number

bors r+


Elemental and total DPS not being calculated

Elemental and total DPS not being calculated on weapons.
App version 0.7.11
Screenshot:

Item example:
Item Class: Two Hand Axes
Rarity: Rare
Havoc Roar
Vaal Axe
--------
Two Handed Axe
Physical Damage: 104-174
Elemental Damage: 91-169 (augmented), 17-277 (augmented)
Critical Strike Chance: 5.00%
Attacks per Second: 1.15
Weapon Range: 13
--------
Requirements:
Level: 64
Str: 158
Dex: 76
--------
Sockets: R-R
--------
Item Level: 75
--------
25% chance to Maim on Hit (implicit)
--------
Adds 91 to 169 Fire Damage
Adds 17 to 277 Lightning Damage
+43% to Lightning Resistance
+10 Life gained on Kill

OS: Windows 10

This issue has been fixed, and will be shipped with the next release.


ArgumentNullException and Failed to create Mujoco runtime

Hello, I had the same problem as issue #315 when trying out MuJoCo. In this case, I was trying to do the ball on the tilted plane stuff. I am currently testing it out on unity 2022.3.9f1 personal on Windows 10, using MuJoCo 3.0.1. The error was:
"ArgumentNullException: Value cannot be null. Parameter name: native"
Then followed by a spam of:
"NullReferenceException: Failed to create Mujoco runtime. Mujoco.MjScene.StepScene () (at D:/..../mujoco/unity/Runtime/Components/MjScene.cs:345)"
I have cloned a repository of the plugin from here: https://github.com/google-deepmind/mujoco/tree/main, and manually imported the package from disk. Do I need the package to be on the same disk partitions? (As in I downloaded the package on D: and imported it from there, while my user directory was on C:).
Secondly, it is probably because I didn't understand some terms, but I did "Expand the zip archive to a directory called MuJoCo in your user directory, and copy the file MuJoCo\bin\mujoco.dll." By this does it mean that I should make a new user directory called "MuJoCo", or should it be automatically created like when I import the package? Because I manually created an empty MuJoCo folder directory for it.
Thirdly, what does it actually mean by "The library can also be copied into any location under your project’s Assets directory."? Does it mean that I have to manually copy paste the mujoco.dll file to the project's Assets directory? Or was there actually another way to do this?
Also lastly, the line "On Unity version 2020.2 and later, the Package Manager will look for the native library file and copy it to the package directory when the package is imported.". I was actually assuming this do be done, but after importing the plugin, a warning prompt appeared telling me there's no bin directory on the user directory, which is why I did it manually as implied on the second and third question.
Sorry for the lengthy question, but I hope my question can be solved so I can finally start exploring MuJoCo for my final year project. It may be something dumb on my part, but any kind of help is appreciated. Thank you.

Secondly, it is probably because I didn't understand some terms, but I did "Expand the zip archive to a directory called MuJoCo in your user directory, and copy the file MuJoCo\bin\mujoco.dll." By this does it mean that I should make a new user directory called "MuJoCo", or should it be automatically created like when I import the package? Because I manually created an empty MuJoCo folder directory for it.

Yup this one is done manually.

Thirdly, what does it actually mean by "The library can also be copied into any location under your project’s Assets directory."? Does it mean that I have to manually copy paste the mujoco.dll file to the project's Assets directory? Or was there actually another way to do this?

Its optional. Your project should have one reference to the mujoco.dll library, either placed in the package folder, or in your Assets folder (or subfolders).

Also lastly, the line "On Unity version 2020.2 and later, the Package Manager will look for the native library file and copy it to the package directory when the package is imported.". I was actually assuming this do be done, but after importing the plugin, a warning prompt appeared telling me there's no bin directory on the user directory, which is why I did it manually as implied on the second and third question.

If you have manually copied the dll, it should be fine. I have yet to try Unity plugin with MuJoCo 3, but sometimes there is a bit of a lag before all issues with a release are ironed out on the Unity plugin side. You may want to downgrade to 2.3.7 (which I can verify works, if you downgrade, make sure the package and dll versions match). I'll eventually try to update to MuJoCo 3 in the near future, you could message in a week to check in?
Here's an example Unity project that has worked as fresh installs on multiple computers for me:
https://github.com/Balint-H/modular-agents/tree/main/UnityMjExamples

Sorry for the late reply, but thank you for the feedback. I will try to do it as soon as possible.

I am facing the same issue with MuJoCo. It seems like the plugin is not working with version 3.0.1. I have to downgrade to 3.0.1 to 2.3.7 to run the simulation.

Hello, I can confirm there were a couple issues with the 3.0.1 release of the Unity plugin. You can stick with 2.3.7 for the time being until the next full release, alternatively the plugin from the main branch seems to be working on all my scenes.

Hi, So i just tried this again with the new MuJoCo 3.1.0 plugin with the Unity Package version 3.1.0. And its giving me the same error. 2.3.7 is still stable. I need the new version because I want to integrate into our CI/CD pipeline and it seems when I do the following modification in 2.3.7, Unity crashes but it seems to work with 3.x.x+.

Hi, thanks for the patience. I tried both 3.1.0 and 3.1.1 today and they both compile and run for the basic humanoid scene. Could you give reimporting the package a go? Also, just in case, but make sure to upgrade the MuJoCo binary along the plugin too.

Please let us know if the issue persisted for you with 3.1.1+, otherwise it can be marked as closed.

@Balint-H @kevinzakka  This issue still persists!

Hello, sorry to hear that. In this case can you confirm that the same issue happens after importing an MJCF from the example models and running without any custom scripts? (e.g. humanoid.xml)

Yes! Without any custom scripts and no edits to the mujoco package, the issue still presistes. I am using Ubuntu 20 with Unity 2022 LTS latest version.

I see, if I remember, you mentioned using the mujoco dll; could you make sure you have the linux library as well? It will be called libmujoco.so. You can get the linux release of MuJoCo for it specifically. You might also need to rename this binary file so its extension is correct.

Yep I can confirm that I downloaded the .so file. I am using the method of saving the binaries in the location in the linux machine where it automatically detects the .so file.

@Balint-H Just to confirm, I am having the same problem as described, including with the example project you linked, on both the current and older (2.3.6) version of mujoco, on windows 10 on Unity 2022.

@Balint-H Any progress on this?

Apologies for the delay, I only just set up with a Linux Unity Editor (previously I only ran built scenes on Linux).
On version 3.1.2, scenes run for me on Ubuntu and Unity 2023.2.11 without exceptions. It works with the .so file either in the Asset folder or the package itself. Could you please confirm from a file explorer (not Unity's) what is the extension of the libmujoco library file in your project? It should be only ".so".
If you copied libmujoco manually from the release, make sure to use the version called libmujoco.so.3.x.x, and then rename it to just libmujoco.so, once its imported to your project.

e.g. copy the bottom one to your project, then rename it to match the top one. The BinaryRetriever should do this automatically if it can find the .so files, but I can confirm it works manually too.
Let me know if this still does not work! If you can share a unity project repo where the issue is reproduced, I can take a look and see if there's anything that stands out.


UX issue: Stop generating vs. Regenerate response

Hi! Great plugin, I'm very happy with it.
However, there's this thing that I time-to-time accidentally hit [Regenerate response] when I am really trying to click [Stop generating].
Let's say ChatGPT generates a response. I can see the thing I am looking for early in the response. I don't want all the explanations, that usually comes after. I think to myself, well, generation costs money, energy and time, so let's just hit [Stop generating]. What happens instead that the very moment before I try to click [Stop generating], the generation finishes, so I hit [Regenerate response] instead. This is very bad as I loose the perfectly good text I already had, also I need to wait for generation again consuming more resources.
Imho the best would be to align the [Stop generating] button to the left and the [Regenerate response] button to the right. This way accidental clicks could be minimised.
On a side-note I think it would be reasonable also to keep the last response locally on [Regenerate response]. I understand why the chatGPT web UI gets rid of the last generated response when we ask for a Regeneration, but in a plugin, where our machine has full control, it sometimes could be beneficial to keep the generated text we have already received, after all we have paid for that already, and maybe it has merits, or maybe we are just curious if another generation could turn out better without loosing the generation we already acquired. The generated text we keep this way should indeed be excluded from what the AI is aware of, but it could be kept on the screen, maybe a bit greyed out or in italics or something, to indicate it is a local history only.
Thank you for considering this! I hope you like these ideas!

Hi @BenceSzalai, thank you for these ideas!

I think to myself, well, generation costs money, energy and time, so let's just hit [Stop generating].

I'm not 100% sure, but I think stopping the generation has no effect on the usage. The usage is calculated based on the full prompt (previous messages + current prompt) that is being sent to the API.

Imho the best would be to align the [Stop generating] button to the left and the [Regenerate response] button to the right. This way accidental clicks could be minimised.

Even tho it could minimise the accidental clicks, I don't think it would look that good on the window (or maybe it do 🤷♂ ) - one of the buttons will be always disabled during the response generation.
I like the idea of keeping the previous generated response always on the window e.g. with an option to remove it. This was actually how it was done initially. Furthermore, we could add an option for user to decide which re-generated response to include in the ongoing conversation (e.g. adding a simple checkbox/radio button). This way the previous response will be always visible even on accidental misclicks.

I'm not 100% sure, but I think stopping the generation has no effect on the usage.

Right, I didn't knew stopping would not help with cost. Anyway it still helps with time and energy usage. But when I accidentally hit regenerate, it definitely costs usage as well on top of time and energy. 🤷♂
Indeed the proposed alignment of buttons is just an idea. Anyway, having a button that changes functionality and have destructive and resource consumption effect is arguable from UX perspective. Another solution could be to require regenerate response button to be pressed a bit longer or double, old require holding a button to activate...
Keeping the previous response indeed alleviate the issue with a destructive action creeping suddenly under the mouse, but would still mean unintentional processing. Afaics inferring costs significant energy, so if accidental regeneration can be avoided, it is a good point for the environment as well. I understand that the costs associated with an accidental click is negligible, but the CO2 footprint can be a reason to improve it too.
Thank you for considering this!

Thank you for sharing your ideas!
I appreciate your input and will definitely consider them to improve the extension.
Furthermore, having some kind of UI design would be really helpful here.

@BenceSzalai
I have placed the buttons in a different locations, which should now prevent accidental clicks.

Let me know what you think or if there's room for improvement.
Thank you!

Awesome, thank you!


deploy django success but run error

use the example/django
run  sls deplay --debug   can see no error
then  open the url  get some error!
show the error message:
{ errorCode: -1, errorMessage: "Traceback (most recent call last): File "/var/runtime/python3/bootstrap.py", line 133, in init_handler func_handler = get_func_handler(file.rsplit(".", 1)[0], func) File "/var/runtime/python3/bootstrap.py", line 159, in get_func_handler mod = imp.load_module(mname, *imp.find_module(mname)) File "/var/lang/python3/lib/python3.6/imp.py", line 234, in load_module return load_source(name, filename, file) File "/var/lang/python3/lib/python3.6/imp.py", line 172, in load_source module = _load(spec) File "<frozen importlib._bootstrap>", line 675, in _load File "<frozen importlib._bootstrap>", line 655, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed File "/var/user/sl_handler.py", line 2, in <module> import djangodemo.wsgi File "/var/user/djangodemo/wsgi.py", line 12, in <module> from django.core.wsgi import get_wsgi_application ModuleNotFoundError: No module named 'django.core'", requestId: "bb3e0897355fa75274b01f6abfac2bb6", statusCode: 443 }
can show more detail to deplay severless with django?

Before deployment, you can try to run pip3 install -r requirements.txt -t ./ firstly， and check whether all the requirements are installed.

@yugasun In the file serverless.yml  has hook the pip install ....
app: appDemo stage: dev component: django name: djangoDemo inputs:   src:     hook: pip3 install -r requirements.txt -t ./     dist: ./     exclude:       - .env       - __pycache__/**   region: ap-guangzhou   functionConf:     projectName: djangodemo     name: ${name}     runtime: Python3.6   apigatewayConf:     protocols:       - http       - https     environment: release
run sls deploy  can auto run command  pip3 install -r requirements.txt -t ./

I just fixed the issuse!  Thanks
python=3.6
very important！

That's great~


Updating component on route change

It's not clear if this is possible, but I am trying to get a component to update when the route changes:
<route-hoc path="/home/students/:slug">
  <hs-student slug="{route.params.slug}"></hs-student>
</route-hoc>

I expected the hs-student component to update when slug changed, but it doesn't. In the initial render its props.slug is set as expected, but after that nothing seems to be able to trigger an update. In fact, I don't see how it's even possible to watch that route for changes and this.update() here in the parent component to trigger it either.
Am I missing something or am hitting a limitation of the Riot router?

Thank you for your issue. Your example should work see our demo.
Please try to reproduce this bug in a code example I can debug. I will be glad to see how to reproduce this issue

I am unable to reproduce the issue https://plnkr.co/edit/BadOsvcZFTa4cHA3

closing this issue due to the lack of a reproducible example. I will be glad to re-open it when it will be eventually provided.


Use the nicer github corner

Adds a slightly more modern GitHub corner to the project. See here for an example! : http://tholman.com/github-corners/ (I've used the black one)

Thank you so much for this. I'm closing it for two reasons.

Where possible I prefer text to icons. It makes it much more obvious to casual users what a link does. I know many people who know GitHub, but wouldn't recognise the icon, especially when rotated.
The current corner is responsive. On smaller screens it becomes just another horizontal button. I think that works better in mobile and reduces the risk of it obscuring the h1 text.

I really appreciate the PR - but it isn't quite right for the site.
That said, we could use foment more professional looking buttons, and a better CSS as we move out of alpha ☺


Use semver of jaeger-lib

Coverage remained the same at 100.0% when pulling ec9a2064a3f8c4e3d555376926f3a3b672138c21 on jaeger-lib-semver into 159351d3eb81974f89cb428760f49caa54a48444 on master.


CI/release: Replace actions-rs step with direct run: cargo publish ...

Same as #63 but for the publish workflow, which was forgotten about.

Yes it's all gone now!


FPS?

compared with CondLane.

@JiaweiZhao-git We do not conduct this comparison experiment. In general, condlane would infer faster than O2Sformer.


adding text image 100

Created a new file and completed text on image 100. Thank you

Apologies for the delay, I did not realize the PR hadn't been accepted. Thank you for the feedback! I have tried making the changes but cannot locate those hidden files. Any suggestions on how to resolve this issue.

I have created a new branch and deleted the requested files there. A new pull request was made. If this fixes the issue I can close this request


Feign/JaxRs clients use OkHttp-level error handling instead of Feign error decoder

note that error decoding still has full test coverage via SerializableErrorErrorDecoderTests and SerializableErrorInterceptorTest


Layers not initialised when loading existing opf

Is your feature request related to a problem? Please describe.
i am trying to get the layers from openpechaFS given a created opf Path to it,however the layers attribute is empty when accessing through the object.
Describe the solution you'd like
if the given path is already created,then the layers can be initialise.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context

Add any other context or screenshots about the feature request here.

The description is a bit unclear... in the case you're looking at, are there existing layer files? If not, it seems quite normal that the layer object is empty

I am passing an already created opf that is downloaded from  Openpecha-Data to openpechaFS and it has layers.

ok yes, then that seems like an issue, can you create a minimal working example demonstrating your bug?

The function returns empty list even though the pecha has layers.
from openpecha.core.pecha import OpenPechaFS

def get_opf_layers(pecha_path):
    opf = OpenPechaFS(pecha_path)
    opf_layers = opf.layers
    return opf_layers

A minimal working example is an example that actually works if I test it but if I run your code nothing will happen. Please provide some code that I can run to reproduce the issue

I have added the MRE in this repo.The main function gets the layer types of opf and then it updates a catalog.
MRE

wonderful, thanks!

I can't push code to your repo, but here's a mre.py that works:
from openpecha.core.pecha import OpenPechaFS

def get_opf_layers(opf_path):
    opf = OpenPechaFS(opf_path)
    layers = []
    for base in opf.meta.bases:
        layers = list(opf.get_layers(base))
    return layers

if __name__ == "__main__":
    pecha_id = "I4AEA9D55"
    opf_path = "./I4AEA9D55/I4AEA9D55.opf"
    print("opf has %d layers" % len(get_opf_layers(opf_path)))


[Manual validation v0 task] Parameter timeoutInMinutes missing in the syntax paragraph

Hello,
I have noticed that the parameter timeoutInMinutes is not present in the syntax paragraph.
It is present in the Remark and the example paragraph.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 12456d17-ff9d-eac6-7c70-22fad9bc2a26
Version Independent ID: 12456d17-ff9d-eac6-7c70-22fad9bc2a26
Content: ManualValidation@0 - Manual validation v0 task
Content Source: task-reference/manual-validation-v0.md
Service: azure-devops-pipelines
Sub-service: azure-devops-pipelines-tasks
GitHub Login: @steved0x
Microsoft Alias: sdanie

@pierrejeandev The timeoutInMinutes is part of the common task properties that are present in all tasks. There is a generic section about that in the task inputs, but I will update the article to link to it from the remarks and examples sections. This update will go live today. Thank you.


Trying to add Xenserver to my Vagrant

When trying to install the Xenserver vagrant plugin, I get this error:
drusk@dru-home MINGW64 ~/Downloads/vagrant-xenserver-master
$ vagrant plugin install vagrant-xenserver
Installing the 'vagrant-xenserver' plugin. This can take a few minutes...
Building native extensions. This could take a while...
Vagrant failed to properly resolve required dependencies. These
errors can commonly be caused by misconfigured plugin installations
or transient network issues. The reported error is:
ERROR: Failed to build gem native extension.
current directory: C:/Users/drusk/.vagrant.d/gems/3.1.4/gems/nokogiri-<IP_ADDRESS>/ext/nokogiri

C:/Program\ Files/Vagrant/embedded/mingw64/bin/ruby.exe -IC:/Program\ Files/Vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/patches/builder -I C:/Program\ Files/Vagrant/embedded/mingw64/lib/ruby/3.1.0 extconf.rb
checking for whether -I"C:\Program Files\Vagrant\embedded\mingw64\x86_64-w64-mingw32\include" -I"C:\Program Files\Vagrant\embedded\mingw64\include" -I"C:\Program Files\Vagrant\embedded\usr\include" is accepted as CFLAGS... yes
checking for whether -I"C:\Program Files\Vagrant\embedded\mingw64\x86_64-w64-mingw32\include" -I"C:\Program Files\Vagrant\embedded\mingw64\include" -I"C:\Program Files\Vagrant\embedded\usr\include" is accepted as CPPFLAGS... yes
checking for whether -L"C:\Program Files\Vagrant\embedded\mingw64\x86_64-w64-mingw32\lib" -L"C:\Program Files\Vagrant\embedded\mingw64\lib" -L"C:\Program Files\Vagrant\embedded\usr\lib" is accepted as LDFLAGS... yes
checking if the C compiler accepts -I"C:\Program Files\Vagrant\embedded\mingw64\x86_64-w64-mingw32\include" -I"C:\Program Files\Vagrant\embedded\mingw64\include" -I"C:\Program Files\Vagrant\embedded\usr\include"... yes
Building nokogiri using system libraries.
pkg-config could not be used to find libxml-2.0
Please install either pkg-config or the pkg-config gem per
gem install pkg-config -v "~> 1.1.7"

pkg-config could not be used to find libxslt
Please install either pkg-config or the pkg-config gem per
gem install pkg-config -v "~> 1.1.7"

pkg-config could not be used to find libexslt
Please install either pkg-config or the pkg-config gem per
gem install pkg-config -v "~> 1.1.7"

ERROR: cannot discover where libxml2 is located on your system. please make sure pkg-config is installed.
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=C:/Program Files/Vagrant/embedded/mingw64/bin/$(RUBY_BASE_NAME)
--help
--clean
--use-system-libraries=true
--with-zlib-dir
--without-zlib-dir
--with-zlib-include
--without-zlib-include=${zlib-dir}/include
--with-zlib-lib
--without-zlib-lib=${zlib-dir}/lib
--with-xml2-dir
--without-xml2-dir
--with-xml2-include
--without-xml2-include=${xml2-dir}/include
--with-xml2-lib
--without-xml2-lib=${xml2-dir}/lib
--with-libxml-2.0-dir
--without-libxml-2.0-dir
--with-libxml-2.0-include
--without-libxml-2.0-include=${libxml-2.0-dir}/include
--with-libxml-2.0-lib
--without-libxml-2.0-lib=${libxml-2.0-dir}/lib
--with-libxml-2.0-config
--without-libxml-2.0-config
--with-pkg-config
--without-pkg-config
--with-xslt-dir
--without-xslt-dir
--with-xslt-include
--without-xslt-include=${xslt-dir}/include
--with-xslt-lib
--without-xslt-lib=${xslt-dir}/lib
--with-libxslt-dir
--without-libxslt-dir
--with-libxslt-include
--without-libxslt-include=${libxslt-dir}/include
--with-libxslt-lib
--without-libxslt-lib=${libxslt-dir}/lib
--with-libxslt-config
--without-libxslt-config
--with-exslt-dir
--without-exslt-dir
--with-exslt-include
--without-exslt-include=${exslt-dir}/include
--with-exslt-lib
--without-exslt-lib=${exslt-dir}/lib
--with-libexslt-dir
--without-libexslt-dir
--with-libexslt-include
--without-libexslt-include=${libexslt-dir}/include
--with-libexslt-lib
--without-libexslt-lib=${libexslt-dir}/lib
--with-libexslt-config
--without-libexslt-config
To see why this extension failed to compile, please check the mkmf.log which can be found here:
C:/Users/drusk/.vagrant.d/gems/3.1.4/extensions/x64-mingw32/3.1.0/nokogiri-<IP_ADDRESS>/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in C:/Users/drusk/.vagrant.d/gems/3.1.4/gems/nokogiri-<IP_ADDRESS> for inspection.
Results logged to C:/Users/drusk/.vagrant.d/gems/3.1.4/extensions/x64-mingw32/3.1.0/nokogiri-<IP_ADDRESS>/gem_make.out
drusk@dru-home MINGW64 ~/Downloads/vagrant-xenserver-master

Same isssue on MacOS.
Running with Vagrant 2.4.3 the installation / running vagrant-xenserver provider will error on the nokogiri nokogiri-<IP_ADDRESS> gem.
The latest vagrant release runs with ruby 3.3.0 and even with 3.3.6 it fails.
The latest nokogiri release nokogiri-1.16.7-arm64-darwin.gem builds without issues.
Can the vagrant-xenserver plugin be updated to work with newer releases?

The vagrant plugin was unmaintained back when I started working on xenserver in 2019. I tried updating it, but I didn't know enough about ruby to fix it.
Unfortunately, Unless somebody in the community decides to fix it, I doubt it's going there's going to be an initiative within xenserver to do it.

It seems like nokogiri is a leftover from development before it was pushed to github. I don't see any reference in the action/prepare_nfs_settings.rb except the import.
I've created an pull request removing nokogiri and bumping the version number.

I've created a new tag v0.0.17, this should be fixed now.

@psafont Thanks! Will it also be updated on https://rubygems.org/gems/vagrant-xenserver? Otherwise vagrant plugin install vagrant-xenserver will still not work.

I don't have credentials to upload it there, @edwintorok do you still have permissions to upload it?


Store build as artifact in appveyor

7z is already available in path in appveyor
zip the build .exe files and store them ( appveyor retains for ~6 months)

I forgot AppVeyor had an artifacts system. This PR would effectively obsolete #38189 if merged, since AppVeyor artifacts can be kept for much longer compared to Transfer.sh.
That said, Travis CI doesn't have an artifacts system.

Following the successful PR check by AppVeyor, the stored artifacts can be found here: https://ci.appveyor.com/project/akien-mga/godot/builds/32771308/artifacts

Thanks!

Cherry-picked for 3.2.2.

Cherry-picked for 3.2.2.


improvement support hedged read

Proposed changes
In some cases, the high load of HDFS may lead to a long time to read the data on HDFS,
thereby slowing down the overall query efficiency. HDFS Client provides Hedged Read.
This function can start another read thread to read the same data when a read request
exceeds a certain threshold and is not returned, and whichever is returned first will use the result.
eg:
create catalog regression properties (
    'type'='hms',
    'hive.metastore.uris' = 'thrift://<IP_ADDRESS>:7004',
    'dfs.client.hedged.read.threadpool.size' = '128',
    'dfs.client.hedged.read.threshold.millis' = "500"
);

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.23 seconds
stream load tsv:          514 seconds loaded<PHONE_NUMBER>9 Bytes, about 138 MB/s
stream load json:         21 seconds loaded<PHONE_NUMBER> Bytes, about 107 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          28.9 seconds inserted 10000000 Rows, about 346K ops/s
storage size:<PHONE_NUMBER>1 Bytes


Fixed typo

Coverage decreased (-1.7%) to 31.148% when pulling 886a81c326f6fb397b07effa5ba6640f3d501a8e on Limero:master into 44ea11603081488e4b6c59fdf4461b9d3b8ab105 on newsboat:master.

Thanks for taking the time to fix it, @Limero!


Only call animation on page load/first time the user scroll down?

I only want the animations to be called once. When the user scrolls down for the first time on page load.
This is:

Question

Right now the animation gets called again every time I slightly scroll up and back down.

Hi,
did you find a way of calling the function without scrolling?

@119402282 This is controlled by the once key in the initialized object.
If you want to control the setting on a per-element basis, use the data-aos-once attribute on the element itself.


any result for repetitive searches

hello,
I have a script to search a list of keywords using scholarly.
But it will not return anything after about 50 searches.
Any solution?
import scholarly
import json
import numpy as np
import time

with open("list2.txt") as fp:
	line = fp.readline()
	cnt = 1
	delays = [7, 4, 6, 2, 10, 19]
	while line:
		delay = np.random.choice(delays)
		print("delay is {}".format(delay))
		time.sleep(delay)
		search_query = scholarly.search_pubs_query(line)
		search_query = list(search_query)
		res = {}
		res['articles'] = []
		for s in search_query:
			article = s.__str__()
			# print(article)
			# print("+++++++++++++++++")
			res['articles'].append(article)
		print(len(search_query))
		if len(search_query) > 0:
			filepath = line.strip() + ".json"
			with open(filepath, 'w') as f:
				jsonfile = json.dumps(res)
				json.dump(jsonfile, f)
				f.close()
		cnt += 1
		line = fp.readline()

Use selenium. What happens is that google blocks you after "x" requests

Please use proxies/Tor and try again. You will need to get the latest version from Github.


Windows 10 23h2 is not reported yet

Link to product page on endoflife.date
Let us know the URL of the product page on endoflife.date you found the incorrect details.
https://endoflife.date/windows
Details of incorrect and correct details you have found
For example, the active support date on endoflife.date is not the same as in the product documentation.
Windows 11 23H2 is missing (build 10.0.22631)
Product documentation: 2022-02-02
What is the source website for the product and for its version information?
For example: https://github.com/PowerShell/PowerShell/tags
Additional context
Add any other context or screenshots about the incorrect details.

I checked https://learn.microsoft.com/lifecycle/products/windows-11-home-and-pro and https://learn.microsoft.com/windows/release-health/windows11-release-information. I don't see entries for 23H2.
At https://blogs.windows.com/windowsexperience/2023/09/26/how-to-get-the-latest-windows-11-innovations/ I found a blog entry that states:

We anticipate broad availability for most new features by the November 2023 security update release for all devices.

We will add the entries as soon as Microsoft officially released it. -> close


NIFI-6703: Add Stateless NiFi to CLI

Thank you for submitting a contribution to Apache NiFi.
Please provide a short description of the PR here:
Description of PR
https://issues.apache.org/jira/browse/NIFI-6703
Users should be able to easily run Stateless NiFi flows from the CLI without docker.
Added stateless bootstrap and nar to nifi-assembly and removed nifi-stateless/nifi-stateless-assembly. nifi-docker/dockermaven-stateless was updated to accommodate this change.
Added a new top level action (stateless) to nifi.sh which runs the "org.apache.nifi.stateless.NiFiStateless" bootstrap class with the provided arguments after extracting nars. Note that this is intentionally synchronous to allow for many stateless flows on the same machine.
Moved nifi-stateless into nifi-framework to resolve jar conflicts between traditional and stateless runtimes.
Updated stateless-nifi/README.md
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ X ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ X ] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ X ] Has your PR been rebased against the latest commit within the target branch (typically master)?

[ X ] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[ X ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ X ] Have you verified that the full build is successful on both JDK 8 and JDK 11?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

@markap14, please take a look when you get a chance. Stateless works fine, but in the traditional run time there are still Spring/Jetty issues.

rebase

Will review...

Thanks for the PR @SamHjelmfelt! And thanks for the subsequent commit. This approach feels better and is inline with our existing approach with NiFi. Two additional comments.

When I build, the dockermaven-stateless fails because it seems to be running before nifi-assembly. Looking at the maven build order, it seems as though the order in the pom is a last resort. Something appears to be allowing the docker builds to run before the nifi-assembly. I think we should try to prevent this. I successfully did so by adding a dependency to nifi-docker (so all docker projects can benefit) on nifi-assembly.

<dependencies>
    <dependency>
        <groupId>org.apache.nifi</groupId>
        <artifactId>nifi-assembly</artifactId>
        <classifier>bin</classifier>
        <version>1.10.0-SNAPSHOT</version>
        <type>zip</type>
    </dependency>
</dependencies>

In order for this to work, I had to attach the resulting artifacts in the maven-assembly-plugin configuration of nifi-assembly. I am not sure if this is the best solution to this issue.
This is arguably a separate concern that we could file a JIRA for addressing in the future.

Once I got the build to execute in the right order, the dockermaven-stateless build seems to fail with:

[INFO] --- exec-maven-plugin:1.6.0:exec (Docker integration tests) @ dockermaven-stateless ---
[ERROR] Command execution failed.
java.io.IOException: Cannot run program "/Users/mgilman/Development/apache/nifi/nifi-docker/dockermaven-stateless/integration-test.sh"

This file appears to have been removed in this PR. Did you intend to also remove it from the pom?

I've created [1] to address #1 above in a subsequent effort.
[1] https://issues.apache.org/jira/browse/NIFI-6784

@SamHjelmfelt Can you please create follow JIRAs for the following:

Please add some support for configuring logging. Whe I am running your PR I am seeing lots of DEBUG output that I would like to disable. It's not clear/obvious how I can do that.

Please consider leveraging the extracted NARs in the same path that NiFi uses. Would definitely be open to updating where NiFi extracts NARs if it makes this easier for Stateless NiFi as well. Just seems unnecessary to extract the exact same NARs in an adjacent directory that NiFi uses.

I'm a +1 once the subsequent JIRAs are files and the documentation issues mentioned above are resolved.

Created JIRAs as requested by @mcgilman

https://issues.apache.org/jira/browse/NIFI-6788
https://issues.apache.org/jira/browse/NIFI-6789

+1 from me, was able to run the examples using local execution, docker with cat'd json, and docker with file json... will merge shortly


Add xdebug & debugger config to stack

Fixes #16
I also included a custom pre-start script to download a local version of the WordPress file for the PHP debugger to work properly.
This script will automatically download the same version as the version in the Dockerfile
⚠ PR #30 needs to be merged before this one

@charl0tee @snugglejuice I added some doc ;) https://github.com/superhuit-agency/superstack/pull/35/commits/5bea56af2659a1abad8316b409607729c28a433f


Merge pull request #87 from xp2000926/main

0.1.11

Codecov Report

Merging #88 (23807b9) into main (f6dd302) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #88   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines           92        92
  Branches         5         5
=========================================
  Hits            92        92

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Token Drop Contract

WIP
still need to:

update docs
Figure out a clean way to convert max quantity / max claimable from "1.2" to wei internally, while still keeping the code consistent with 721 claim conditions logic

Went down a rabbit whole to support passing token quantities in eth (instead of wei) in the claim conditions for things like max quantity and max claimable per wallet.
I'm close but it since I'm sharing API for erc20 and erc721 it got way more involved than I thought.
Will prob separate it in another pr


chore(protorev): change error log to debug

Closes: #XXX
What is the purpose of the change
This error log pops up many times on all nodes. It is normal for this to occur, and should instead be only shown in debug logs.

Whats the error thats frequently occuring

Ah its Cannot input more than pool reserves, SGTM


Make updating regexps.js more atomic to prevent server crashes

Occasionally the auto update fails while writing to the regexps.js file, leaving a blank file and causing node to fail and prevents starting of the application. This change writes the changes to a temporary file first and if there are no issues, then it renames it. This makes the process more atomic and has improved reliability on our servers.

Looks like the build failed due to npm issues, closing and re-opening to have it try again.

Looks like the should package is having trouble on NPM for node 0.8 which is causing this to fail. I can close/open again later, perhaps tomorrow to see if the issue goes away


feat: add Github actions to run tests.

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Sensu Redis - Support boolean redis_tls parameter - #GH-900

Pull Request Checklist
My initial work to help resolve https://github.com/sensu/sensu-puppet/issues/900
Description
I spoke to @ghoneycutt in person at the Sensu Summit about how this feature is the only reason I've forked the model. This is what I have so far but, could use some help getting some proper spec tests working (I gave it a shot) and review if this setup is correct as I don't have much experience with custom Puppet providers/types.
The Sensu redis support was added in https://github.com/sensu/sensu-redis/commit/b35d3ef2c9d6123072349de537d5076314bcd9e3 technically, for this to work, all that needs to exist is:
{
  "redis": {
    "tls": {}
  }
}

However, tls can also be ssl and can support the same TLS options that RabbitMQ supports (i.e. private_key_fileand cert_chain_file.) however, those are not necessary and I don't have an environment to test if that'll actually work.
Related Issue
Fixes #900
Motivation and Context
Support a basic Boolean variable to enable/disable TLS encryption for Sensu when connecting to Redis.
How Has This Been Tested?
We use this provider/type code in production and it works. However, that's limited to CentOS 7.
General

[ ] Update README.md with any necessary configuration snippets

[ ] Tests pass - bundle exec rake validate lint spec

[X] New parameters are documented

[X] New parameters have tests

@treydock could you please look into supporting this and adding the necessary tests.

Closing in favor or #969 which is a continuation of this PR.


Extended attrs are not affecting props to the original components attrs

Not sure if this is a bug or expected/wanted behaviour but I got a bit confused when combining extend and  attrs on a styled component which already used attrs in itself.

Version
styled-components: 2.2.4
Reproduction
https://codesandbox.io/s/pjmzp25vy0
Steps to reproduce
See usage of combining extend & attrs in reproduction.
Expected Behavior
I'd expect the component to receive the result of the evaluated attrs passed from the extended component.
Attributes from MagicText to affect attributes of extended style. Ie in reproduction it would say Magic Hello world.
Actual Behavior
Attributes are merged and only evaluated for the "original" component (the one you choose to extend).

@Flydiverny hm, this is intended since it’d be quite difficult to then override the attrs of the upper styled component if necessary.
I’m wondering whether we can make both nicer by passing the old attrs as a second argument so they can be applied additionally more easily if necessary
cc @mxstbr

I don't think we're going to ever support this for generic attrs. We did add support for shallow merging the "style" prop though. https://github.com/styled-components/styled-components/commit/a20588de17648ea135faab4433237b6c5ca3fdf8


fix - sklearn/classification example has a typo in the property 'kernel' when setting model parameterss

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: ksachdeva sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Our testing pipeline on master branch is currently breaking. We are working on v1.1 branch and will merge it back soon.

/AzurePipelines run microsoft.nni

@ksachdeva Hi, I'm very sorry but I failed to find a way to run the testing pipeline manually.
Could you please merge master to your branch to trigger the pipeline?


Errors after massage step command

I have had this issue since the beginning, not sure if this just me. But when I use the "massage head step" button, it works, the vibrate starts, but from then on everything is broken until I restart the add-on and unplug, and replug the bed. Here are the errors I am getting:
[Sleeptracker] {"statusCode":28,"statusMessage":"Exception while building this status object. EX (string): 'Fetch status I/O with controller failed'","id":"TEST_ANDROID_adjustableBaseControls","body":{"statusCode":-4,"statusMessage":"Exception while building this status object. EX (string): 'Fetch status I/O with controller failed'","connectionStatus":"undefined","snapshots":[],"invariants":[]}} info [2024-06-05T03:14:53.946Z] [Sleeptracker] Fetching data for bed 351152 error [2024-06-05T03:15:01.083Z] [Sleeptracker] {"statusCode":1,"statusMessage":"Error sending message to Motor Task","id":"TEST_ANDROID_adjustableBaseControls","body":{"statusCode":-26,"statusMessage":"Error sending message to Motor Task","connectionStatus":null,"snapshots":[],"invariants":[]}} error [2024-06-05T03:15:11.296Z] [Sleeptracker] {"statusCode":1,"statusMessage":"Error sending message to Motor Task","id":"TEST_ANDROID_adjustableBaseControls","body":{"statusCode":-26,"statusMessage":"Error sending message to Motor Task","connectionStatus":null,"snapshots":[],"invariants":[]}}

I've seen this even when using the BT dongles or local-control prototype. It looked like the vibration caused a bunch of interference and stopped the bed controller from receiving commands.
Perhaps you could jump on the discord and share some more details about the bed/sleeptracker version.


update release.sh for github flow

Updates for having moved to github flow:

build master
no pushes/pulls from release or release-candidate

I just used it to create this pull request:
https://github.com/uProxy/uproxy/pull/2242

Update: show the diff from the currently published version (that's package.json version - 1).
PTAL!

:+1:


Viewing "My tickets" doesn't work

It errors out with the following error message:

Probably related to #685 and #687

Fixed by the above issues!


[DBM] Fix SQL table collection bug

What does this PR do?
This PR bumps pkg go-sqllexer to v0.0.12 to fix a bug where table name is incorrectly collected on statements CREATE TABLE IF NOT EXISTS <table>. Prior to this fix, keyword IF was incorrectly parsed as a table name.
Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


[Feature] Remote play for controller only

Device
Phone/Tablet
Device name
All devices
Android Version
All version
Suggestion
Hi, I wanted to propose a function to do remote playback but without video, only control, to be a type of adapter for controllers not directly compatible with Xbox without consuming a lot of battery and Internet, for example I use the 8Bitdo Sn30 pro Xbox, and it is not directly compatible with Xbox so I have to connect it to my phone, and therefore the video is played on the phone, my proposal is to make a zand therefore the video is played on the phone, my proposal is to make a type of "intermediary" that I did not receive the video and I only sent the signal from the controller to the Xbox, many gintermediary" that I did not receive the video and I only sent the signal from the controller to the Xbox, thank you very much 🫶.

Use this feature in Game Bar


WatchOS support

SignalR-ObjC (v1.0.1) does not support "watchos".
[!] The platform of the target (watchOS 2.0) is not compatible with SignalR-ObjC (1.0.1), which does not support watchos

this will likely come for free with #233


feat: resource group dependencies

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description
Consider the scenario where the module is used to create resource group, with the intention these are used by components such as umi's and vnets.
This can be almost be accomplished by setting the resource_group_creation_enabled flag and passing in the name of the RG, except there is no dependency in place between these resources and the RG module, and thus it can fail.
Q. Is this approach valid, are we at risk of introducing unnecessary dependencies?

Describe the solution you'd like

Proposal is to add dependencies on the RG module.  It would also be good to add the RGs to the outputs so components external to the module can make use of them.

Currently I create the resource groups outside the LZ module.
Additional context

Hi @kewalaka
At the moment the submodule create their own RGs, e.g. vnet/umi.
Is there another scenario that you would like?

@matt-FFFFFF just illustrated what i'm looking to accomplish with PR #371

hi @matt-FFFFFF - i didn't directly answer your question but it is in the PR linked above, namely the scenario is to have a single RG for LZ resources such as the vnet/umi rather than a separate one for each.  Especially when doing "resource group vending" - having so many small-scoped RGs becomes a bit overwhelming.
The use case is illustrated on https://github.com/Azure/terraform-azurerm-lz-vending/pull/371
Unless i'm missing something this looks like a reasonable non-contentious one to land (famous last words 😅)


AmazonSearchIndex not response from AmazonEndopoint.BR

Hi, my error "The value you specified for SearchIndex is invalid Valid values include 'All', 'HomeImprovement', 'Kitchen', 'PCHardware', 'OfficeProducts', 'Electronics', 'MobileApps', 'KindleStore' , 'Books', 'Home', 'VideoGames', from AmazonEndpoint.BR (Brazil).
HomeImprovement == AmazonSearchIndex.Tools // not working.
Home == AmazonSearchIndex.HomeGarden // not working.
I'm trying to use the "Tools and Building Materials" category and if it is "ALL" it responds. Thanks.

Hi i can not add for every country own SearchIndexes, this is a problem of amazon api.


Understanding rel_shift function

Could you please elaborate more on your implementation of rel_shift? I found that it was different from that in transformer-xl. Thanks!

It's equivalent but could be faster.

I think rel_shift in transformr-xl is just for single direction. and rel_shift in xl-net supports bi-directional.


memory setting seems ignored when using libvirt

Hi, I'm using this config
---
dependency:
  name: galaxy
driver:
  name: vagrant
platforms:
  - name: instance
    box: debian/buster64
    memory: 3072
    cpu: 2
provisioner:
  name: ansible
verifier:
  name: ansible

but no luck on having memory, cpu honored. Is there something I've missed? I see similar(ish) issues but nothing that could seems to help me in this case...
Thank you, ciao!

Did you try something like that ? :
driver:
  name: vagrant
  provider:
    name: libvirt

ah! Sorry for not being able to figure it out, it works flawlessly, thank you!


Generalize test_core.py for different backends

Do not check generated ptx asm for non cuda devices.
Use device parameter when possible.
Guide torch.cuda.get_device_capability() with triton.runtime.driver.active.get_current_target()[0] == "cuda".

Thanks! Left a few comments

Thanks! Left a few comments

Hi Phil, I have addressed your review comments, can you please take another look? Thanks!


closing chrome should close uProxy app too

at the moment when we close chrome browser app is not closing .

Chrome 41.0.2272.12

I'm not sure about this, because we also want to keep uProxy alive as long as possible, to serve as a sharing peer.  I think we should try to adopt the Hangouts extension's strategy: when the browser closes, it continues to run and is represented by a button in the system tray.


[Feature Request] Support setup Touch Pad

Is your feature request related to a problem? Please describe.
Maybe not
Describe the solution you'd like
I would like to request support for the automatic recognition of Touch Pad devices and to enable the related options.
My facter.json reported the Touch Pad device.
{
  ...
    "pointing_device": [
      {
        "handle": 44,
        "mouse_type": {
          "name": "Track Point",
          "value": 5
        },
        "interface": {
          "name": "PS/2",
          "value": 4
        },
        "buttons": 3
      },
      {
        "handle": 45,
        "mouse_type": {
          "name": "Touch Pad",
          "value": 7
        },
        "interface": {
          "name": "Other",
          "value": 1
        },
        "buttons": 2
      }
    ],
  ...
}

I tried to write a new module to enable services.libinput through mouse_type, but I couldn't find any mouse devices in config.facter.report.hardware.
Then I didn't know how to continue.
Describe alternatives you've considered
None
Additional context
None

We have an open issue on nixos-facter related to correctly capturing touchpad information.
I should have some time before NixCon to look at this.


Ask for release

Dear author, thanks for your great job, I really want to read your code. When will you release?

Hi @EDENpraseHAZARD.
The code will be avaiable upon publication.
You might also be interested in our recently released work at https://arxiv.org/abs/2105.05013 and please check this rep https://github.com/BIT-DA/SDCA.