task confirmation

just has a really cool feature to provide confirmation dialogs for a dangerous task:
[confirm("Are you sure you want to delete everything?")]
delete-everything:
  rm -rf *

I'm thinking we could probably go beyond this by leveraging similar features in demand like choosing from different choices: https://github.com/jdx/demand

I toyed around a bit with this idea and tried to come up with an extensible way to define these user inputs.
VS Code also has something similar in this regards for tasks, allowing the user to define certain input types which can be used later in the task itself.
So one approach might be to have an inputs property taking an array of input's. Each input has an id with which it can be referenced later, a input_type, a title and a description. Maybe we need specific types for each input_type.
User inputs can then be mapped to prefixed environment variables to be used in the task scripts.
[tasks."confirm"]
inputs = [
    { id = "confirm", input_type = "confirm", title = "Do you really want to run this task?" },
]

[tasks."dowhatever"]
run = "echo 'Doing whatever...'"

[tasks."build"]
depends = [ "confirm", "dowhatever" ]
inputs = [
    { id = "success_msg", input_type = "input", title = "Input a build success message" }
]
run = [
  "echo 'Building...'",
  "echo \"Success: $MISE_INPUT_SUCCESS_MSG\";",
  "exit 0;"
]

[tasks."deploy"]
depends = [ "build"]
inputs = [
    { id = "target", input_type = "multiselect", title = "Where to deploy to?", options = ["Dev", "Stage", "Prod"]}
]
run = [
  "echo \"Deploying to $MISE_INPUT_TARGET...\";",
  "exit 0;"
]

A working example can be found in an early draft at https://github.com/jdx/mise/pull/2348.
While this works for simple use cases, the major issue i see here is with the nature of parallel (non linear) task execution and interleaving output.

Hmm, so I do like this idea, however I've had plans which might not be written down and are quite vague but essentially I want to tie usage completions and mise tasks together such that you would be able to define a usage spec on a task in order to get inputs.
What I potentially like about this is maybe "confirmation" could be a high-level thing like that?
Another completely different idea I had was to use tera templates inside of tasks as a way to define inputs, though confirmation doesn't make a lot of sense in that regard.
Perhaps though we're both overthinking this and maybe it could be as simple as "confirm = true"?

Yes you might be right about overthinking this. Nevertheless the issues stay the same and demand is not able to deal with the multithreading/interweaving nature of the console output in case of multiple parallel tasks asking for confirmation.

No but I do work around that problem in mise via a mutex. Perhaps that mutex could just go into demand directly? I can’t think of a use-case where you would ever want multiple demand components simultaneously.


Use decimal.Decimal instead of float

Closes #37
This PR replaces all previous usages of float with decimal.Decimal to prevent floating-point errors.
I've tried to change all the things adequately, but it's still quite possible that I missed a spot that actually needs a change.
This also allows us to present coverage data more accurately:

@ewjoachim Other than that, do you have any comments or can I squash commit 2 and 4 and then merge?

Thank you so much :)

No problem :) Thank you for reviewing and making sure everything works. It is very reassuring to know that four eyes have looked over the code and not just two.


There is a vulnerability in guava 20.0 ,upgrade recommended

https://github.com/apache/arrow/blob/5380a4dab1a7847fa0d4e8787ef664e9c5b70d2b/java/pom.xml#L35
CVE-2018-10237  CVE-2020-8908
Recommended upgrade version：24.1.1.jre

@projjal could you take a look at this?


Add Defi tool FPLs to SDK

Description of changes proposed in this pull request:

Refactored contracts to point to version controlled contracts.
Refactored tests to use (hardhat-deploy) fixtures.
Wrote a deployment script that can be used to recreate deployments of SDK related contracts.
Modified build script to also call a new script build:abi. Uses typechain to build types for contracts for which we have ABIs for.
Added typechain output directories to gitignore.
Added 3 new financial product libraries along with tests and deploy scripts.

Checks:

[X] Have you followed the guidelines in our Contributing document?
[X] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

New Feature Submission:

[X] Have you successfully ran tests with your changes locally?

Changes to Existing Features:

[X] Have you added an explanation of what your changes do and why you'd like us to include them?
[X] Have you written new tests for your core changes, if applicable?

After running yarn build I get the following errors:
src/types/contracts/index.ts:4:29 - error TS2307: Cannot find module './IERC20' or its corresponding type declarations.

4 export type { IERC20 } from "./IERC20";
                              ~~~~~~~~~~

src/types/contracts/index.ts:17:33 - error TS2307: Cannot find module './factories/IERC20__factory' or its corresponding type declarations.

17 export { IERC20__factory } from "./factories/IERC20__factory";
                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Found 2 errors.


Re-vamp first run / first week of usage

Many Android users download but fall off immediately. What can we do to get them more involved/hooked shortly after installing?
Ideas:

Claim email reward immediately and have them create channel ala lbry.tv
Encourage them more strongly to make a first publish
Encourage them to pick tags and subscribe to channels as part of first run (and let them earn rewards along the way!).
Focus on "first day" and "first week" set of notifications to help guide users through the process.

Some thoughts I've had so far:
The original first run experience was designed around the idea of having to let the user be able to do something while the headers are being downloaded for the first time. Since this isn't the case anymore, and based on the experiences I've seen from other apps, there are a few things we could factor in to the new design, with a focus on removing as much friction as possible.

Implement some form of hybrid mode where the app can make resolve and play requests using lbry.tv, while the sdk is starting up in the background. Once the sdk startup is complete, all sdk requests can be completed.
Do not request for an email address until the user needs to make use of any feature that requires an account (the rewards and wallet sync drivers sort of already do this). This allows the user to start accessing content in the app immediately.
A short guided process for selecting tags that the user may be interested in on first startup. The user can also choose to skip this step.
Drop the request for the storage permission until a user makes their first download (there's already an issue for this).


Add way to install IntelliJ codestyle locally to project

At the moment the --apply-to-idea parameter installs the codestyle globally to the IJ/AS profile, and changes the project to use that global profile.
I prefer to bundle the codestyle locally in the project's .idea folder (example). It would be nice if there was a nice way to do that. I'd even argue it should be the default (but we're probably past that now).

Thank you for the example, Chris!
If what we need can be configured through project's .idea then there is absolutely no reason to modify anything globally. I'll update --apply-to-idea.
:bowing_man:

I never commit those .idea folders and I'd use the current solution. I guess having both would not harm either way.

Added ktlint --apply-to-idea-project (0.22.0+).


[EBPF] Fix recommended stack-create command

What does this PR do?
Fixes the recommended create-stack command shown to the user when trying to generate configuration for a stack that doesn't exist.
Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


Put content in Coding Interview Prep Algorithms intro stub

:sparkles: :sparkles: LGTM. :sparkles: :sparkles:
Thanks @coolshaurya
Happy Contributing!


Allow quadrangles to have any shape.

resolves #10

The idea is for a quadrangle A-B-C-D to take each side A-B, B-C, C-D, D-A, and pass them to V2_CalculateNormals


Why the Minimum SDK value is 19?

Hi!
My question is why minimum SDK value is 19 while minimum SDK of android architecture components is 14?

Hey, thanks for the good question. I honestly just picked it since that's what I use for new app projects. Sometimes even 21, since here in Europe the percentage of devices actually using 19 or below is basically non-existent.
But I see no problem in decreasing it to 14 if you'd like to use it in projects that require a low minSdk.

Thank's for the answer my friend.


支持qwen吗

Hi, Colossal-LLama is not for qwen model, as they have different prompt.
You can use ColossalChat to do sft，rm，ppo but pt.
If your gpu resources is limit, we recommend you to use lora strategies.
Coati is for sft, and rlhf.


Small modification to DecisionTreeLearner

Replaced iterator with lambda function

Thank you for your proposal. I have now used a slightly different solution.


[Breaking Changes] Update model status labels according to ml-commons API changes in 2.7.0

ml-commons introduced breaking changes in 2.7, see details from https://github.com/opensearch-project/ml-commons/pull/822, we need to adopt the API changes on ml-commons-dashboards plugin as well.

Fixed in #154


feature: add support for passing types of classes to export on cli

The main exporters have everything in place to filter by type of class to export (enum, primitive, resource, etc), but it seemed there was not yet a command-line parameter to actually specify it. Added this parameter.
If we decide to pull this, should update the documentation too.

Makes sense - I'll merge this when I do the next pass that needs doc updates (either later today or tomorrow).


Retrieve slide fragment from IntroActivity

I'm using AppIntro to make a configuration wizard for my app. In order to do that I added a few widgets to my slide fragment layouts (i.e. a datepicker) and now I'm trying to get and save its values in the onDonePressed method of my IntroActivity.
Since every variable in the AppIntro class is private and there are no getters... is there a way to do this?
Thank you.

I've just made a PR (#21) to add getters for fragments.

Thank you, @MacroYau
I'm quite new to Android development so it may be my fault, but I still can´t retrieve the fragments, even if I use the getSlides() method.
In my IntroActivity I have the following:
@Override
public void onDonePressed() {
    List<Fragment> fragments = getSlides();

    NumberPicker numberPicker = (NumberPicker)fragments.get(0).getView().findViewById(R.id.numberPicker);
}

I'm getting this error:

java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.View.findViewById(int)' on a null object reference

Can this be done after #21?
Am I doing something wrong?

Hey @dasouza. I've just released version 2.0.0.
getSlides() should work now.

I'm still getting the NullPointerException using the same code as in my previous reply. However, I managed to solve my problem by creating a saveData() method in the slide Fragment class.
In case somebody else is facing the same issue, this is how my onDonePressed() looks now:
@Override
public void onDonePressed() {
    List<Fragment> fragments = getSlides();

    IntroFirstFragment firstFragment = (IntroFirstFragment) fragments.get(0);

    firstFragment.saveData();
}

Thanks @PaoloRotolo. Keep the good work!

@dasouza thank you for sharing the code :)


Dutch labels in the floodplains module

niche_vlaanderen version:1.0b1
Python version:3.6
Operating System:Windows7

Niche Python Package question
Description
I ran the floodplain module using Jupyter notebook. In the summary table, there are some Dutch labels in the 'presence' column. This is also the case for the plots generated with the floodplains module. As the labels of all other output seem to be in English, this is a bit inconsistent.

See : https://github.com/inbo/niche_vlaanderen/pull/108


Close select after one chosen item?

Hey,
The plugin is great.
But is it possible to close the dropdown on every item select?
Why?
Because I have little place to click outside the dropdown to hide it.
And users don't like it much.

Hey, i have the same request ?!

Hi, same question?


Reset during input() call gives EOFError and further reset/stop attempts fail to return control

From https://github.com/microbit-foundation/python-editor-v3/issues/1102
Reset during an input() call gives EOFError and further reset/stop attempts fail to return control so you can't restart the program in the simulator.
Minimal reproduction:
input("Name? ") # reset when prompted

Originally encountered on https://github.com/microbit-foundation/python-editor-v3/issues/1102 with an input call in a while loop which is a more likely real-world reproduction.

Had a quick look but only got as far as identifying the moving parts. input calls readline which can return Ctrl-D as an error code which results in input throwing EOFError. Ultimately it's calling our mp_hal_stdin_rx_chr which is a loop with sleep/background processing waiting input from JS via a ring buffer.

So the cause appears to be that Ctrl-C doesn’t interrupt the program during an input call. It does in CPython.
To stop the program we send Ctrl-C, Ctrl-D to escape from user Python code to our main loop. The Ctrl-C is ignored and the Ctrl-D gives EOFError.
If you’ve already typed some characters input() appears to entirely uninterruptible as Ctrl-D does nothing in that case.
Now that we throw away all the WASM state on restart we might have more options for interrupting but perhaps this should be fixed in MicroPython too.

So the cause appears to be that Ctrl-C doesn’t interrupt the program during an input call. It does in CPython.

And it does on a real device, so this is a sim-only issue.

Yep, hardware is great. It also doesn't work here: https://micropython.org/unicorn/

It also doesn't work here: https://micropython.org/unicorn/

Hmm, that's curious.  That emulator is completely different to the microbit simulator (it runs actual ARM-compiled firmware in a qemu-based ARM emulator) so the cause is probably different.

Try the following:
diff --git a/src/mphalport.c b/src/mphalport.c
index 266a8e5..1d2771f 100644
--- a/src/mphalport.c
+++ b/src/mphalport.c
@@ -25,6 +25,7 @@ int mp_hal_stdin_rx_chr(void) {
         if (c != -1) {
             return c;
         }
+        mp_handle_pending(true);
         microbit_hal_idle();
     }
 }

That will handle pending exceptions while waiting for characters.

Thanks Damien, this is looking good. I've updated the PR. I'll play with it a little more before merging.


Resolution override

An option in the UI to directly set what pixel resolution the generation should be generated at. If this plugin is used on relatively large documents (2000px is not uncommon for digital painting) with a standard GPU such as a 3080, it runs out of memory. The only solution is to inpaint smaller sections or manually scale the image down before performing inference.
I think the ideal solution would be to have an optional setting (Maybe under a collapsed "Advanced" section?) for manually setting what resolution it will be generated at.

I added a supersampling setting to inpaint in PR #46, you may want to check it out. With a minor change it could be used as a downsampling method.

Done 66f1d719b3abf66444615273c57f67a9a313918f


Review: Minimap2 build-index action

The code and execution of the action build-index needs additional review to detect potential enhancements or bugs.
Indexing serves several critical functions that enhance the performance and efficiency of sequence alignment processes. Primarily, it creates a specialized data structure that significantly speeds up the location of potential matching regions within a reference database. This optimizes the alignment of DNA or mRNA sequences against large reference genomes or libraries, making the process much faster and more efficient. Additionally, indexing reduces the computational load by preprocessing the reference genome or sequences. This means less repetitive computation is necessary when aligning multiple query sequences, leading to faster processing times and reduced resource usage.
In terms of usage, indexing in Minimap2 is straightforward and typically executed via the command line. To create an index, the standard command format is minimap2 -d ref.mmi ref.fa. Here, ref.mmi is the name of the output index file, and ref.fa is the reference sequence file. This command preprocesses the reference sequence and generates an index file that can be reused in subsequent alignments, saving time and computational resources. Moreover, the indexing step is often integrated into larger bioinformatics workflows, enhancing the efficiency of large-scale genomic analyses. This integration is vital in research environments where vast amounts of data need to be processed quickly and accurately.
Clone the repo:
git clone https://github.com/bokulich-lab/q2-minimap2.git
cd q2-minimap2

To install: follow Steps 1-3 in README
Download the data here
To execute the action:
qiime minimap2 build-index --i-sequences reference.qza --o-database database.qza --verbose
The following code needs to be reviewed:

From plugin_setup.py:
L158 - L169

From q2_minimap2/_action_params.py:
L176 - L185

The entire q2_minimap2/build_index.py file

The entire q2_minimap2/tests/test_minimap2_build.py file

I reviewed all code and it it looks great!
The tests all run with no fails.
I could create the index with no problems with the command.
Nice work :)


is .otf format supported?

tried to run makefont on the otf file
it says 'fonts based on PostScript outlines are not supported'

Evidently, according to this article, OpenType fonts can contain TrueType outlines or PostScript outlines. gofpdf unfortunately supports only the TrueType variety. I'll clarify this in the documentation.
It may be possible for you to convert your OTF file to a TTF file using one of the various online font conversion sites.


XMPP - Cant see / authenticate Users

HI all,
first thank you all for creating lets chat! I just installed Lets Chat (develop) on Ubuntu 14.04 and the Web-GUI works perfekt.
I just have problems with XMPP (using adium client) - I can´t see other logged in users. Is there any configuration for shared roaster? If I create a room (using web gui) I can find the room using the adium discovery browser. Inside the room I see other joined users and the chat works. If I try to add a user as contact it says authorization missing. Re-requesting authorization from user doesn't have any effect.
Am I missing something?
Thank you very much vor your help!
Steve
lets-chat: latest develop (20th of may)
xmpp-configuration:
xmpp:
enable: true
roomCreation: true
debug:
handled: true
unhandled: true
port: 5222
domain: mail1.sprylab.com
username: node # node / full
tls:
enable: true
key: ./my.key
cert: ./my.crt

You need to add this to your config file:
private:
  enable: false

It'll enable rosters, but currently will only show those users logged into XMPP at the same time. It won't show web users.

Thank you very much! Its working now!
Have a nice weekend :)

Is there any equivalent ENV?  I don't see it listed on the wiki, but it would help for our Docker deployment.

It's on the wiki yet, because this hasn't been merged into master.
PRIVATE_ROOMS=true

Awesome and thanks!


You can convert these unix timestamps to human readable time at https://www.epochconverter.com/
1704103563 = GMT: Monday, January 1, 2024 10:06:03 AM
1704103889 = GMT: Monday, January 1, 2024 10:11:29 AM
Thats 5 minutes and 26 seconds time difference!
Sync your local time/clock in Windows.
In Windows 11:
-right mouse click on your clock
-adjust date and time
-press "sync now" button

@Junnu1978 did you solve the issue by syncing your machine clock?


[PlayerWarps] Clicking on warp types on the PW GUI produces console error on Orion.

Describe the bug
Clicking on warp types on the PW GUI produces console error.
To Reproduce
Steps to reproduce the behavior:

/pwarp
Click on the Buildings, Shops, Other, or All Warps buttons.
Ingame, this does nothing, but the server console spits out a big error.

Expected behavior
Should open GUI to list the available warps.
Screenshots

Username:
Katzyn
Server name (all applicable):
Orion only
Logs:
Where needed, please find your logs with the method down below. Make sure to include the file, or better yet, use a site like https://pastebin.com/ to add it to the ticket without copy pasting all the contents of the file.
For the Minecraft Launcher : C:\Users\USER\AppData\Roaming.minecraft\logs
For the Technic Launcher: C:\Users\USER\AppData\Roaming.technic\modpacks\pixelmon-reforged\logs
For the ATLauncher: C:\Users\USER\AppData\Roaming\ATLauncher\Instances\PixelmonCraft\logs
For the Twitch Launcher: C:\Users\USER\Documents\Curse\Minecraft\Instances\PACK\logs
https://gist.github.com/KittyKatzyn/cba5ccebc0fd7c91fb2439cbb8dd172d
Additional context
Add any other context about the problem here.

Forwarded to Internal.


ZNC takes long time to timeout when server dies & option to configure it (at least for admins) would be helpful

According to @DarthGandalf the current timeout is around 500 seconds that is quite long. I think it should be around 120 seconds and even better, configurable by at least admins.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/22669348-znc-takes-long-time-to-timeout-when-server-dies-option-to-configure-it-at-least-for-admins-would-be-helpful?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github).

I'd feel a little better with 180 or 240 seconds, or if it were configurable (my two cents)

180 seems like a good number, but 240 might again be a little too long.

It appears to be specified in https://github.com/znc/znc/blob/znc-1.6.0/include/znc/IRCNetwork.h#L47-57 and requires some other numbers to be changed too unless I entirely misunderstand the comment.

:+1: for configurability and a lower default.

:+1:

Opinions on https://github.com/znc/znc/pull/980 ? (Ref, not closing, because not configurable.)

@Mikaela I think that #980 was just merged a few minutes ago...

Mikaela I think that #980 was just merged a few minutes ago...

Yes, I do get email notifications about merged pull requests and as I said in my previous comment, I am not closing this with it, because that pull request is not configurable.

@Mikaela: Yes I know that - I was responding to your "opinions on that" question, not implying this should be closed.

A bit old but very relevant for me; This would certainly help my issues detailed in #487.
I'll just lower the frequency and compile for now, but +1 from me for making this configurable.


docs.rs should clean up after itself

After running the daemon on a server for a while, the $CRATESFYI_PREFIX/cargo-home directory can grow to be very large (currently ~45 GB on the docs.rs server). We should clean up build artifacts and source code after building the crate instead of leaving the files around.

solved in https://github.com/rust-lang/docs.rs/commit/e04509d2690fc8a093e14874a0b4b7d129d59103


mcfgthread-git: Update to master

Signed-off-by: LIU Hao<EMAIL_ADDRESS>

Also need "${MINGW_PACKAGE_PREFIX}-autotools"

Thanks for the information. Updated.

@lazka Would you please merge this? Thanks in advance.

Thank you!


Allow StyleSheets to be unloaded

Motivation:
StyleSheet.create is a recommended optimization, it prevents large numbers of serialized objects from being continually passed over the js/native bridge for style updates creating a performance bottleneck. However it is only accessible to 100% static styles; if you work with anything somewhat dynamic (even if those styles will be unchanging for a long period of time and would still benefit significantly by the optimization) you cannot use StyleSheet.create because styles created this way are not unloaded and as values change and you replace styles you'd slowly leak memory (in js and presumably in native as well) as unused style objects stick around.
This is a problem for libraries with some type of theme instance passed down/provided as props/context which "may" change but largely stay the same. Styles are contextual (one area of an app may have a dark theme and the other a light theme, or there may be more complex differences) and so any styles affected by the theme cannot be defined statically in a StyleSheet.create call outside the component. Which means a number of "mostly" static styles are relegated to being treated as dynamic and getting passed serialized over the js/native bridge on every render.
In most of these situations some sort of provider component and/or HOC is used, in a way that it would be known when a style is no longer being used (because something about the theme has changed or the provider has been unmounted). All these components need, is a way to unload a style registered with StyleSheet.create.
Relevant code and issues:
StyleSheet registration is done through ReactNativePropRegistry. The source does not appear to be available within the react-native but inside Libraries/Renderer/ReactNative{Stack,Fiber}-{dev,prod}.js you can see the compiled code. It's a relatively simple module that just has an objects variable; a register function that increments a unique id, freezes the object, and sets it on the object; and a getByID that accepts ids and returns the objects stored in objects.
If the source were accessible, setting values on objects to null as part of unloading would be simple.
However the whole point of StyleSheet creation is that objects are not continually passed along the js/native bridge, so presumably there is a cache on native side for style objects that also needs to be unloaded in order to prevent memory leaking. And I presume native code doesn't bother calling getByID all the time when it already has an object so we can't rely on unloading that way, presumably the simplest method would be for ReactNativePropRegistry to have a blacklist of ids that have been unloaded which can be passed along the bridge next time some style info is passed along the bridge (the blacklist can be emptied after native is done with it to avoid it growing indefinitely).
Unfortunately I do not know how these style objects registered in ReactNativePropRegistry get across the bridge to native code. Trying various acks and skimming the Android code I haven't been able to find the code responsible for passing styles along the bridge that would presumably be caching it. Wherever this is it feels like it's buried so deep in react-native it's inaccessible to community contributors.
Real world use case:
I'm working on a library with react-native components that follow Material Design. Material Design has configurable style attributes (primary and accent color, a light and dark theme, component specific customizations, etc...) and these can be contextual (an app may have a light theme and text may be dark, but text may switch to light in the context of a solid coloured app bar; different areas of the app may have different primary colors or appBar colors; ...). So I have a theme instance that is passed down using a MaterialThemeProvider component, much like react-redux's <Provider> or Material-UI's <MuiThemeProvider>. The provided theme is used by my library's components to determine their styles and in some cases used by consumers of the library for their styles.
Because these style attributes are "provided" all the styles that are based on them (background colors, text colors, possibly padding and height, or more) end up being treated as dynamic and passed in style objects to style. If it were possible to unload styles I would be able to provide a decorator/HOC that could be used by components (internal or part of consuming apps) to define styles using the MaterialTheme instance that the HOC along with the MaterialThemeProvider would register with StyleSheet.create and unload when the provider is unloaded or the material theme changes.

🤦🏻 Well, all the time I spent digging through ReactNative's source code for a cache was wasted:
https://facebook.github.io/react-native/docs/stylesheet.html

It also allows to send the style only once through the bridge. All subsequent uses are going to refer an id (not implemented yet).

Right now you only need to unset the cache in JS to unregister something and clear up the memory. Making that propagate to native would just be implemented at the same time that someone implements that (not implemented yet) behaviour.
Now the only problem is that the ReactNativePropRegistry source code is not actually part of the react-native repository, so community members cannot submit pull requests for it.

You can find the source code for this class in the React repo: https://github.com/facebook/react/blob/master/src/renderers/native/ReactNativePropRegistry.js

Oh, a ReactNative class is part of React. That's... unexpected.
Ok, I'll come up with a PR in react when I have some time for it.
It's part of the native renderer so it probably makes sense to leave this issue open rather than creating something in the react repo.

facepalm I included all the necessary information, the stuff in the template is irrelevant and distracting. And now a bot is telling me I have to create a new issue instead of letting me fix this one with actual details in it. ugh.

Actually this issue will require 2 PRs. A PR in react to update ReactNativePropRegistry and a PR in react-native to update StyleSheet to have an unload/unregister method that calls it. Which will depend on react-native updating react.

Has there been any development on how to accomplish this sort of cleanup?

No, but it was decided that rather than an unregister function it would be better for register to return objects that can be garbage collected instead of number ids.


Astro format

Settup prettier extension, fixed a few style inconsitencies too

No changes needing a change description found.

You can try these changes here

🛝 Playground
🌐 Website
📚 Next docs


[ Win10 VM] Crash at Liana startup

I've try to run Liana on a fresh installed Windows 10 Virtual Machine (QEMU/KVM), i got a crash on Liana startup.
When i try to launch from cmd/powershell i have no log or error message, w/ GitBash i got this:

i've try w/ all graphic drivers i can, but still got the issue:

try to build Liana from this machine also not solve this, also had the same issue trying run V2.0 & V3.0
so expecting it's something around iced, i try to build tour example => tour.exe run well.....
Is there any way to get more logs?
I already try to set LOG_LEVEL environment var introduced by #859 but have no effect:

If you build from source dropping this line before building might help getting more info.
https://github.com/wizardsardine/liana/blob/501dce4372b5a5164b6c69ad9bf16056418218e2/gui/src/main.rs#L1

will try, thx for the 2 minutes response time!

just tryed, but no more details...
note: i got many warnings on build (have 0 while building on linux)

Closed it as it fixed since we switch to Iced 12.1, tested for Windows & MacOS VMs.


stream type constants other than StreamTypeUnary are untyped numerics

Here's the Go code that defines these constants: https://github.com/bufbuild/connect-go/blob/main/connect.go#L48-L53
const (
	StreamTypeUnary  StreamType = 0b00
	StreamTypeClient            = 0b01
	StreamTypeServer            = 0b10
	StreamTypeBidi              = StreamTypeClient | StreamTypeServer
)

I have a very strong suspicion that the last three were meant to be of type StreamType, just like the first one. However, they explicitly state a value but no type, which means they are actually untyped numeric constants. The only time when the type can be omitted and it "inherits" from the previous declaration is when both type and value are omitted.
Sadly, changing this is technically a breaking change, since any code that might be referring to these and expecting them to implicitly be converted to an int (for example) would encounter a compilation error if we "fix" this. However, given that this seems like an obvious accident, maybe there's room for entertaining a fix?
 const (
 	StreamTypeUnary  StreamType = 0b00
-	StreamTypeClient            = 0b01
-	StreamTypeServer            = 0b10
+	StreamTypeClient StreamType = 0b01
+	StreamTypeServer StreamType = 0b10
	StreamTypeBidi              = StreamTypeClient | StreamTypeServer
)

Yep, let's fix this. 🤦🏽


New version: JetBrains.MPS.EAP version MPS-241.18034.990

Created by 🥟 Dumplings in workflow run #6372.

Log
Updated: MPS-241.17011.787 → MPS-241.18034.990
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

/azp run

/azp run

https://github.com/microsoft/winget-pkgs/issues/142854


Plugin not loading

Thanks for the plugin, I am using it heavily. Just saw the 2.0.3 update and noticed the plugin is not loading anymore. If I disable it and enable it again, I get this warning. I am on Obsidian v1.0.0, same version number installer

Thanks!
That shouldn't cause a problem. Have you tried reloading obsidian?

I did but the plugin does not appear to load when I look at the console. I just uninstalled and install it back up and it is still not showing up.

I'm unable to reproduce this bug. The difference between 2.0.2 and 2.0.3 is furthermore so small that it's hard to imagine it could cause the plugin to stop working.
What is your last working version of the plugin?
You are familiar with the fact that as of version 2 influx does not show up unless there are inbound mentions in a page?

For me plugin  is working
@pcuellar did you try to to install it via plugin library in the sandbox vault?
Could you share reproducible example?
@jensmtg maybe could could create a templates for bugs and feature request with checklist for all steps to do, now you will probably more people coming to this repo as it is now officially in the plugin library

I see what's going on. The displaying of the results is different. There used to be an 'influx' blue title under which results were displayed. This has now changed to a panel that looks very much like the Obsidian core 'Linked mentions panel'.


Broken link to "segment" (404) on "Getting Started with Automation" page

On this page: https://sendgrid.com/docs/ui/sending-email/getting-started-with-automation/ under the Create a Custom Automation section, item 4 in the bullet list contains a link to "segment" which gives a 404 page.
I think that the URL is missing /ui/, and should link to here: https://sendgrid.com/docs/ui/managing-contacts/segmenting-your-contacts/

Hi @adamalton,
Thanks for the feedback! We'll get this fixed right away, but for future reference, you can always click the "edit this page" link at the bottom of any of our docs pages and do a PR if you're up for it.
Thanks again!
The Twilio SendGrid docs team

Thanks Carly. I was a newbie to that areas of the docs, so wasn't 100% sure of the fix, and hence decided to let someone else fix it 🙂 .


Add height/maxHeight support.

Probably will utilize StaticLayout.

I was also looking at this library to see whether i could shrink down a single line text if does not fit into the available width. Unfortunately that does not seam to work.


explain and ignore warnings during the tests

All these UserWarnings and RuntimeWarnings at tests always confuse me. I could not understand whether the problem was in the source code, test setup, or dependency package issues.
Before
/home/travis/build/NeuralEnsemble/elephant/elephant/asset.py:687: RuntimeWarning: invalid value encountered in true_divide
  AngCoeff = dY / dX
./home/travis/build/NeuralEnsemble/elephant/elephant/asset.py:687: RuntimeWarning: divide by zero encountered in true_divide
  AngCoeff = dY / dX
/home/travis/build/NeuralEnsemble/elephant/elephant/asset.py:687: RuntimeWarning: invalid value encountered in true_divide
  AngCoeff = dY / dX
/home/travis/build/NeuralEnsemble/elephant/elephant/asset.py:687: RuntimeWarning: divide by zero encountered in true_divide
  AngCoeff = dY / dX
/home/travis/build/NeuralEnsemble/elephant/elephant/asset.py:687: RuntimeWarning: invalid value encountered in true_divide
  AngCoeff = dY / dX
./home/travis/build/NeuralEnsemble/elephant/elephant/asset.py:687: RuntimeWarning: divide by zero encountered in true_divide
  AngCoeff = dY / dX
/home/travis/build/NeuralEnsemble/elephant/elephant/asset.py:687: RuntimeWarning: invalid value encountered in true_divide
  AngCoeff = dY / dX
....../home/travis/build/NeuralEnsemble/elephant/elephant/asset.py:687: RuntimeWarning: divide by zero encountered in true_divide
  AngCoeff = dY / dX
/home/travis/build/NeuralEnsemble/elephant/elephant/asset.py:687: RuntimeWarning: invalid value encountered in true_divide
  AngCoeff = dY / dX
.................................................................../home/travis/build/NeuralEnsemble/elephant/elephant/cubic.py:110: UserWarning: Test aborted, xihat= 11 > ximax= 10
  warnings.warn('Test aborted, xihat= %i > ximax= %i' % (xi, ximax))
...........................S........................................................................................................................./home/travis/build/NeuralEnsemble/elephant/elephant/test/test_pandas_bridge.py:50: FutureWarning: the 'labels' keyword is deprecated, use 'codes' instead
  names=['test1', 'test2', 'test3'])
/home/travis/build/NeuralEnsemble/elephant/elephant/test/test_pandas_bridge.py:54: FutureWarning: .labels was deprecated in version 0.24.0. Use .codes instead.
  self.assertEqual(targ.labels, res0.labels)
./home/travis/build/NeuralEnsemble/elephant/elephant/test/test_pandas_bridge.py:2760: RuntimeWarning: invalid value encountered in less
  targ[targ < targ_start] = np.nan
/home/travis/build/NeuralEnsemble/elephant/elephant/test/test_pandas_bridge.py:2761: RuntimeWarning: invalid value encountered in greater
  targ[targ > targ_stop] = np.nan
../home/travis/build/NeuralEnsemble/elephant/elephant/test/test_pandas_bridge.py:2706: RuntimeWarning: invalid value encountered in less
  targ[targ < targ_start] = np.nan
./home/travis/build/NeuralEnsemble/elephant/elephant/test/test_pandas_bridge.py:2734: RuntimeWarning: invalid value encountered in greater
  targ[targ > targ_stop] = np.nan
......................................................./home/travis/build/NeuralEnsemble/elephant/elephant/test/test_signal_processing.py:209: RuntimeWarning: invalid value encountered in true_divide
  target = (signal.magnitude - m) / s
/home/travis/build/NeuralEnsemble/elephant/elephant/signal_processing.py:129: RuntimeWarning: invalid value encountered in true_divide
  (sig.magnitude - m.magnitude) / s.magnitude,
./home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/quantities/quantity.py:321: RuntimeWarning: divide by zero encountered in true_divide
  return np.true_divide(other, self)
../home/travis/build/NeuralEnsemble/elephant/elephant/spade.py:308: UserWarning: 0<alpha<1 but p-value spectrum has not been computed (n_surr==0)
  warnings.warn('0<alpha<1 but p-value spectrum has not been '
................................/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/quantities/quantity.py:321: RuntimeWarning: divide by zero encountered in true_divide
  return np.true_divide(other, self)
............/home/travis/build/NeuralEnsemble/elephant/elephant/spike_train_generation.py:335: RuntimeWarning: divide by zero encountered in true_divide
  mean_interval = 1 / rate.magnitude
......../home/travis/build/NeuralEnsemble/elephant/elephant/spike_train_generation.py:267: RuntimeWarning: invalid value encountered in sqrt
  number = np.ceil(n + 3 * np.sqrt(n))
............................/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/scipy/signal/spectral.py:1577: RuntimeWarning: invalid value encountered in true_divide
  Cxy = np.abs(Pxy)**2 / Pxx / Pyy
............/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/neo/core/basesignal.py:132: RuntimeWarning: invalid value encountered in true_divide
  new_signal = f(other, *args)
.........................../home/travis/build/NeuralEnsemble/elephant/elephant/statistics.py:256: UserWarning: Input size is too small. Please provide an input with more than 1 entry. lv returns 'NaN'since the argument `with_nan` is True
  warnings.warn("Input size is too small. Please provide "
......../home/travis/build/NeuralEnsemble/elephant/elephant/statistics.py:867: UserWarning: Instantaneous firing rate approximation contains negative values, possibly caused due to machine precision errors.
  warnings.warn("Instantaneous firing rate approximation contains "
........................................................../home/travis/build/NeuralEnsemble/elephant/elephant/waveform_features.py:70: UserWarning: The noise was evaluated to 0.
  warnings.warn('The noise was evaluated to 0.')
..

Now
 nosetests --cover-package=elephant
......................................................................................................S..................................................................................................................................................................................................................................................................................................................................................................................
Ran 473 tests in 275.283s

OK (SKIP=1)

Future warnings can be easily caught.
Affected changes:

removed handwritten _xrange wrapper
np.arctan(y/x) -> numerically stable np.arctan2(y, x)

Coverage increased (+0.08%) to 71.026% when pulling c8789ba91ba36ed7bc4aff076b3a654a1768048c on INM-6:warnings into 5dfdab93de261b5f42a1c946ece68fa24b206595 on NeuralEnsemble:master.

Hello @dizcza! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file elephant/test/test_gpfa.py:

Line 116:52: E231 missing whitespace after ','

I excluded min-requirements travis test case back because of the unrelated unittest bug error with self.assertWarn(). If it failed on the first PR we merged, I imagine, it'll be hard to maintain anyway.


Update dg with filter appointment details and UI component

Sequence diagram for filter appointments:

UI component:

Codecov Report

Merging #192 (77a9cc6) into master (c103e0b) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #192   +/-   ##
=========================================
  Coverage     79.42%   79.42%
  Complexity      962      962
=========================================
  Files           146      146
  Lines          2814     2814
  Branches        330      330
=========================================
  Hits           2235     2235
  Misses          492      492
  Partials         87       87

Continue to review full report at Codecov.

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


SHA512 hash verification failed for coreos_production_pxe.vmlinuz

When i run kube-solo setup the item2 show the error message blew:
SHA512 hash verification failed for coreos_production_pxe.vmlinuz
How do i fixed it?Thanks!

Seeting up message:
Setting up Kubernetes Solo Cluster on macOS
Reading ssh key from /Users/tomyli/.ssh/id_rsa.pub
/Users/tomyli/.ssh/id_rsa.pub found, updating configuration files ...
Set CoreOS Release Channel:

Alpha (may not always function properly)
Beta
Stable (recommended)

Select an option:
Set CoreOS Release Channel:

Alpha (may not always function properly)
Beta
Stable (recommended)

Select an option: 3
Please type VM's RAM size in GBs followed by [ENTER]:
[default is 3]: 3
Changing VM's RAM to 3GB...
Please type Data disk size in GBs followed by [ENTER]:
[default is 40]: 30
Creating 30GB sparse disk (QCow2)...
Created  Data disk
Starting VM ...

booting k8solo-01 (1/1)
[WARN] /Users/tomyli/.coreos/images/stable/1409.7.0/coreos_production_pxe.vmlinuz missing - stable/1409.7.0 ignored
---> downloading and verifying stable/1409.7.0
33.74 MB / 33.74 MB [=================================================================================================================] 100.00 %
---> SHA512 hash for coreos_production_pxe.vmlinuz OK
110.53 MB / 241.97 MB [================================================>---------------------------------------------------------] 45.68 % 19m45s

My network error！


Add way for someone to say that they are homeless when providing address

This is linked to providing a method of collecting international addresses

What we are thinking of here is that it will be hard for us to validate and UX test. But we might just try it and experiment with it so people can give us feedback on the feature.
It should be very basic--it will let people say "I don't have an address" and let them write in something else.
We need to let people output that too. So: override the address.address attribute, and the address.full() method.

One way to possibly avoid rewriting all the address methods is to give values to each address attribute. For example, with 'N/A'

I guess this can get complicated in real life:

Homeless but has a po box to receive mail.
Homeless and live in friends/relative's house, currently use their address for mail.
Live in a shelter and can use their address.
Live in streets and can use local church etc to receive mail.

The bottom line question may really be whether or not the person has an address to use for mail. In that case it's more of an issue to label the address input appropriately, except for po box. Is po box an acceptable input?

Good point about a PO box. I think that will fit in the standard address field but we should make sure


Custom next.config causing issue

Hi, I am trying to use nextra with an existing next.js (12.0.10) and react (17.0.2) Project.
The current config file had the following content-
const flowRight= require("lodash/flowRight");
// TODO: enable AntDDayjsWebpackPlugin after this PR is merged: https://github.com/ant-design/antd-dayjs-webpack-plugin/pull/64
// const AntDDayjsWebpackPlugin = require("antd-dayjs-webpack-plugin");

if (!process.env.ROOT_URL) {
  if (process.argv[1].endsWith("/depcheck")) {
    /* NOOP */
  } else {
    throw new Error("ROOT_URL is a required envvar");
  }
}

// eslint-disable-next-line @typescript-eslint/no-unused-vars
(function (process = null) {
  // You *must not* use `process.env` in here, because we need to check we have
  // those variables. To enforce this, we've deliberately shadowed process.
  module.exports = () => {
    const withLess = require("next-with-less");
    const lessToJS = require("less-vars-to-js");
    const fs = require("fs");
    const path = require("path");

    // Where your antd-custom.less file lives
    const themeVariables = lessToJS(
      fs.readFileSync(
        path.resolve(__dirname, "../assets/antd-custom.less"),
        "utf8"
      )
    );

    const ContentSecurityPolicy = `
    default-src 'self';
    frame-src 'self' https://js.stripe.com;
    script-src 'self' 'unsafe-eval' 'unsafe-inline' https://js.stripe.com;
    img-src 'self' avatars.githubusercontent.com;
    style-src 'self' 'unsafe-inline' ;
    style-src-elem 'self' 'unsafe-inline' https://fonts.googleapis.com https://cdnjs.cloudflare.com;
    font-src 'self' https://fonts.gstatic.com  https://cdnjs.cloudflare.com;
`;

    const securityHeaders = [
      {
        key: "Content-Security-Policy",
        value: ContentSecurityPolicy.replace(/\s{2,}/g, " ").trim(),
      },
    ];

    return flowRight(withLess)({
      poweredByHeader: false,
      distDir: `../.next`,
      trailingSlash: false,
      lessLoaderOptions: {
        lessOptions: {
          javascriptEnabled: true,
          modifyVars: themeVariables, // make your antd custom effective
        },
      },
      async headers() {
        return [
          {
            // Apply these headers to all routes in your application.
            source: "/:path*",
            headers: securityHeaders,
          },
        ];
      },
      webpack(config, { webpack, isServer }) {
        return {
          ...config,
          plugins: [
            ...config.plugins,
            new webpack.DefinePlugin({
              /*
               * IMPORTANT: we don't want to hard-code these values, otherwise
               * we cannot promote a bundle to another environment. Further,
               * they need to be valid both within the browser _AND_ on the
               * server side when performing SSR.
               */
              "process.env.ROOT_URL":
                "(typeof window !== 'undefined' ? window.__GRAPHILE_APP__.ROOT_URL : process.env.ROOT_URL)",
              "process.env.T_AND_C_URL":
                "(typeof window !== 'undefined' ? window.__GRAPHILE_APP__.T_AND_C_URL : process.env.T_AND_C_URL)",
            }),
            new webpack.IgnorePlugin({
              // These modules are server-side only; we don't want webpack
              // attempting to bundle them into the client.
              resourceRegExp: /^(node-gyp-build|bufferutil|utf-8-validate)$/,
            }),
            // new AntDDayjsWebpackPlugin(),
          ],
          externals: [
            ...(config.externals || []),
            isServer ? { "pg-native": "pg/lib/client" } : null,
          ].filter((_) => _),
        };
      },
    });
  };
})();
``` and it returned ->
```{
  poweredByHeader: false,
  distDir: '../.next',
  trailingSlash: false,
  headers: [AsyncFunction: headers],
  webpack: [Function: webpack]
 }````
Now I tried mixing nextra with the config using the method shared, destructuring and using flowRight(lodash) , but all of them are causing the all the pages in my next.js site to stop working.

Would love any insight into if I can retrofit nextra in the existing config. Right now, I get a feeling that combined webpack is not working correctly, though not sure how to debug it. Any help/directions here would be really helpful. Thanks

I suggest you recreate an issue with error report and/or reproduction


ResourceNotFound: uuv_simulation_wrapper

hi,when i run the command "roslaunch rexrov2_gazebo start_demo_pid_controller.launch teleop_on:=true joy_id:=0",the following erroe occurred!
ResourceNotFound: uuv_simulation_wrapper
ROS path [0]=/opt/ros/kinetic/share/ros
ROS path [1]=/home/ccs/catkin_uuv/src
ROS path [2]=/home/ccs/cartographer_ws/catkin_ws/src
ROS path [3]=/home/ccs/catkin_robot/src
ROS path [4]=/home/ccs/catkin_bluerov/src
ROS path [5]=/opt/ros/kinetic/share
what should i do to solve this problem? thank you!

thanks


TODO (Optimize, potentially using new VQSort PartialSort)

I have a question about this TODO (Optimize, potentially using new VQSort PartialSort) in here:
I want to do it but I'm struggling to find a clean solution. Can you help me out?
Initially, it seems VQSelect is just enough since create_distribution doesn't need sorted probabilities.
One idea is to create an array of key-value pairs (something like K32V32) from the probabilities and their indexes, then apply VQSelect and pass the first 'k' elements to 'create_distribution'. But this involves allocating and copying a potentially large probabilities array and requires a special structure for comparison, something like OrderDescendingKV64.
Another idea is to create a special version of VQSelect just for this case.
Or  simply leave the code as it is. What do you think?

Thanks for considering this! I think it's fairly low on the profile, so let's focus on other things first, in particular the prefill batching and matmul. I'm working on a plan for those and will post an issue soon with a proposed roadmap :)

Closing, I think this is not very time-critical still :)


add demo video

Hi, I've added the demo version. Also in the process I found a bunch of errors on your demo page:

in focus/jumping mode, it is impossible to focus on the ‘list2’(k) button.
the inherited ‘About’ menu is not displayed (fixed in this PR)
as stated here, the esc key should bring the focus area back. My understanding is that

expected:

clear information about the last focused element
when pressing the tab key: jump to the first element on the page,

current:

hiding the blue frame
when you press the tab key: jump to the next element

I think that's it. I hope my PR will be useful.

Don't do different things in a single PR. Please open new PR with fixes.
Open new issue with issue report.
The panel with pressed key is not very easy to understand because it renders arrows as letters.

yep
yep
Not sure if it be possible to implement from my side. I researched actual key showers for Linux systems and this one "showmethekey" works good. But there is a bit unclear manual about how to run with utf8 encoding.  this issue would be actual tomorrow, I'll try then because it can take a time.

Not sure if it be possible to implement from my side. I researched actual key showers for Linux systems and this one "showmethekey" works good. But there is a bit unclear manual about how to run with utf8 encoding. if the issue would be actual tomorrow, I'll try then because it can take a time.

Maybe this task is not for Linux users. I have Linux too and created this task because I don't know how to create a beautiful video in Linux

I am closing this PR in favor of https://github.com/ai/keyux/pull/28
Please open other PR with the fix and issue.


BUG: Multiday events on the calendar not showing up on the events page.

I tried to add a multiday event to the calendar so that folks can see the devedmonton hackathon but it's not quite showing up as expected.
The google calendar and the https://devedmonton.com/api/events shown here.

The event doesn't seem to show up

I know @keifererikson might know a little bit about this.
As a temporary measure I'll just make three separate events here :)
Note references: https://github.com/devedmonton/DES-Website/issues/312

@charrde with the quick fix! Thanks for that!
@dgmouris another win for Open Source Club! 😻 Let's go!

@charrde thanks a bunch this looks great!
@keifererikson yay open source club wins!

Found some documentation in Vue-Cal for Timeless events: https://antoniandre.github.io/vue-cal/#ex--timeless-events and for min max dates: https://antoniandre.github.io/vue-cal/#ex--min-max-dates

Another solution for multiDay events is the All Day prop: https://antoniandre.github.io/vue-cal/#ex--all-day-events

Another bug on multiday event
I suddenly encountered this bug on the events page while working on the calendar.
The multiday event  (Develop Ed Hackathon) does not start and end at the right day on the website.

My best guess would be that without the "timeZone: ..." declared under the "start: {...}"  and "end: {...}" dictionary 👀, it will default to GMT 0.
It's kinda like declaring the "start.date" and "end.date" as:
"2024-11-08T00:00-00:00"
"2024-11-11T00:00-00:00"
Though the client side renders datetime in GMT -07 (mountain time) (probably because of our system settings?). Hence, the weird 5pm–5pm and the shift backwards on the days.
console view:

I think this is an awesome problem to solve at open source club @dgmouris  👀
(P.S. datetimes does make a developer go craaazzehhhh!
Not to mention we are dealing with this as daylight saving is approaching🤯😵💫)

When I was an intern I broke quickbooks for all of australia because of time zones and my coworkers showed me this video:
https://www.youtube.com/watch?v=-5wpm-gesOY
Wait until 6:35 ish, it's so worth it I promise hahaha

I've actually been working with timezones recently, and seeing this pop up again in my email. I do have a potential fix that appears to be working.
this is the patch I used for making them appear on the calendar recently, it's just an or statement.
event.start.dateTime || event.start.date,
event.end.dateTime || event.end.date,

Replacing it with the below makes it end on the correct date... and makes the weekly calendar look less funky.
(event.start.dateTime || `${event.start.date}T00:00:00`),
(event.end.dateTime || `${event.end.date}T23:59:59`),

I believe this will work okay because from what I can see date is being used for events that are considered all day.

Another bug on multiday event
I suddenly encountered this bug on the events page while working on the calendar. The multiday event (Develop Ed Hackathon) does not start and end at the right day on the website.

My best guess would be that without the "timeZone: ..." declared under the "start: {...}" and "end: {...}" dictionary 👀, it will default to GMT 0.
It's kinda like declaring the "start.date" and "end.date" as:
"2024-11-08T00:00-00:00" "2024-11-11T00:00-00:00"
Though the client side renders datetime in GMT -07 (mountain time) (probably because of our system settings?). Hence, the weird 5pm–5pm and the shift backwards on the days.
console view:
I think this is an awesome problem to solve at open source club @dgmouris 👀
(P.S. datetimes does make a developer go craaazzehhhh! Not to mention we are dealing with this as daylight saving is approaching🤯😵💫)

When I was an intern I broke quickbooks for all of australia because of time zones and my coworkers showed me this video:

OMG!!!!! I hope the australian businesses did not miss their tax and ASIC filing dates 😂

https://www.youtube.com/watch?v=-5wpm-gesOY

Imagine if we were a type 3 civilization, and you got a call from another planet hahaha.
One of my instructors mentioned that datetimes are also her pet peeve.
They are very tricky to deal with!

@charrde I tested it on my local repo and it works! I think that's an elegant fix! 👌
I over thought about solving this using unix epoch 🫡


There's no option to configure multiple MorphTo related models

I have a model with a MorphTo relation to multiple models.
<?php

class Image extends Model
{
  public function imageable(): MorphTo
  {
    return $this->morphTo();
  }
}

class Post extends Model
{
  public function image(): MorphOne
  {
    return $this->morphOne(Image::class, 'imageable');
  }
}

class User extends Model
{
  public function image(): MorphOne
  {
    return $this->morphOne(Image::class, 'imageable');
  }
}

I want to be able to tell PhpStan which models Image is "morphing to", currently there's an option to choose only one model but not multiple models:
<?php

class Image extends Model
{
  /**
   * @return MorphTo<Post, Image>
   */
  public function imageable(): MorphTo
  {
    return $this->morphTo();
  }
}

This is my expected behavior:
<?php

class Image extends Model
{
  /**
   * @return MorphTo<Post | User, Image>
   */
  public function imageable(): MorphTo
  {
    return $this->morphTo();
  }
}

// Or

class Image extends Model
{
  /**
   * @return MorphTo<Post, Image> | MorphTo<User, Image>
   */
  public function imageable(): MorphTo
  {
    return $this->morphTo();
  }
}

Currently when I run one of these two examples, PHPStan throws this error message: Internal error: Internal error: Call to undefined method PHPStan\Type\UnionType::getClassName() in file ...

We currently have RelatedModel and ChildModel for MorphTo generics.
https://github.com/nunomaduro/larastan/blob/19098c78b33fc25ba6289d12538729a58cd60678/stubs/MorphTo.stub#L5-L10

@szepeviktor Can we have multiple TRelatedModel? Currently it's limited to only one TRelatedModel.

Can we have multiple TRelatedModel? Currently it's limited to only one TRelatedModel.

I'm just a janitor without any Laravel knowledge. Maybe @canvural can answer that.

Hi,
This is not possible, and I don't think it will be possible to do either.
If you have a proposal about how to solve this you can open a PR 👍🏽

@canvural There's a workaround you suggest using?


Event name change in v2 can cause target origin error

The v1 event HelloSign.EVENT_SENT was renamed to send in v2 and this can result in a target origin error when completing some embedded workflows.
Error message:
‘postMessage’ on ‘DOMWindow’: The target origin provided (‘https://app.hellosign.com’) does not match the recipient window’s origin (‘https://usersdomain.here’)
Is it possible to update the migration guide or the 'Events' section of the documentation to reflect the v1 counterparts of any event names that were changed in v2?

Hey @erosiec, sorry for the delay. I'm trying to think how the event name changes could result in the target origin mismatch error, but I'm at a loss. I have a few q's:

Are you still experiencing target origin mismatch issues?
If not, did the issue resolve after using Embedded V2's "send" (aka HelloSign.events.SEND) instead of V1's HelloSign.EVENT_SEND?
Would you be interested in someone from our API Support team following up with you to help suss out what's happening?

btw the note about listing the v2 event counterparts in the upgrade guide is a good suggestion, I'll add that to my queue

Just followed up with our team and it looks like everything has already been resolved. Please do let me know if you think this issue needs to be reopened! I'


Get-Target resource fix for SPWebApplication

Pull Request (PR) description
Latest changes in parameter name broke the Get-TargetResource, where the URL is no longer returned.
This Pull Request (PR) fixes the following issues
N/A
Task list

[ ] Added an entry under the Unreleased section of the change log in the CHANGELOG.md.
Entry should say what was changed, and how that affects users (if applicable).
[ ] Resource documentation added/updated in README.md in the resource folder.
[ ] Resource parameter descriptions added/updated in schema.mof
and comment-based help.
[ ] Comment-based help added/updated.
[ ] Localization strings added/updated in all localization files as appropriate.
[ ] Examples appropriately added/updated.
[ ] Unit tests added/updated. See DSC Resource Testing Guidelines.
[ ] Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
[ ] New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

This change is

Codecov Report

Merging #958 into dev will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##             dev    #958   +/-   ##
=====================================
  Coverage     92%     92%
=====================================
  Files        115     115
  Lines      11740   11740
  Branches       1       1
=====================================
  Hits       10903   10903
  Misses       836     836
  Partials       1       1


isFileUpload(...) validation failing.

Having an issue with isFileUpload(...)
https://github.com/josegonzalez/cakephp-upload/blob/master/Model/Behavior/UploadBehavior.php#L529
That specific line is comparing the value for the error code in the $check array with UPLOAD_ERR_INI_SIZE.
However, if error code is '4' (character), it doesn't equal to the value UPLOAD_ERR_NO_FILE as that is 4 (int) because the condition is using !== operator. Suggest to change it to !=
How I attached the validation:
'attachment' => array(
			array(
				'rule' => 'isFileUpload',
				'message' => 'Please select a file',
			),
...

Anyone else having this issue?
CakePHP Upload v 1.1.1,
CakePHP 2.5.x
PHP 5.5
Windows 8.1

I would be in favour of casting here and keeping the explicit comparison.


Fix json mapper typings

Information

Type
Breaking change

Fix
No

:tada: This PR is included in version 7.80.3 :tada:
The release is available on:

v7.80.3
GitHub release

Your semantic-release bot :package::rocket:


Repeating File Cache Conflict since version 0.3

Hello,
this morning I updated the OXID PhpStorm plugin from version 0.2.1 to 0.3. Since then I get a PhpStorm file cache conflict every few seconds to minutes:

I'll send you a screenshot of the actual diff via email.
PhpStorm PS-141.1912 running on Windows 8.1 with samba share mounted.
Please ping me if you need any further information.
Cheers
Adrian

+1

fixed 0.3.1. pls give some feedback

v 0.3.1 fixed this issue. Thanks you for the quick bugfix.


putObject doesn't support tagging

AWS documentation specifies that putObject requests allow passing initial tagging via the x-amz-tagging header:
https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUT.html

Specifies a set of one or more tags to associate with the object. These tags are stored in the tagging subresource that is associated with the object.
To specify tags on an object, the requester must have s3:PutObjectTagging included in the list of permitted actions in their IAM policy.
For more information about adding tags to an object, see Object Tagging Management in the Amazon Simple Storage Service Developer Guide.
Type: String
Default: None
Constraints: The encoding for tags is URL query parameter encoding. The maximum size of this header is 2 KB.

I think the fix should be fairly simple; I'm planning to submit a PR once I can sign the CLA.

Awesome, that would be much appreciated 👍

Fixes by your own PR. Thanks!


Always returns getWebhookInfo success...

Hello!
If I use code template from "Quick start", I always get the same message in console - getWebhookInfo success and the bot finishes work.
What would that mean?
How to fix this situation?

Hi, sorry for taking long to reply.
Another user had the same problem in this issue : https://github.com/SakoDroid/telego/issues/2
I hope it helps.


Warning Sequel::Postgres::PGArray::EMPTY_BRACKET

Ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]

.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rom-sql-1.3.3/lib/rom/sql/extensions/postgres/inferrer.rb:37: warning: constant Sequel::Postgres::PGArray::EMPTY_BRACKET is deprecated

Please correct the warning

This was fixed in master (including 2.0.0 beta releases), for the v1.x branch you can pin Sequel to the version that doesn't issue the warning

@AlexanderMint FYI 1.3.4 fixed the warning https://github.com/rom-rb/rom-sql/blob/release-1.0/CHANGELOG.md#v134-2017-09-12


Update sbt-updates to 0.6.4

Updates com.timushev.sbt:sbt-updates from 0.6.3 to 0.6.4.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (0.6.3).
You might want to review and update them manually.
project/plugins.sbt

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.timushev.sbt", artifactId = "sbt-updates" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "com.timushev.sbt", artifactId = "sbt-updates" }
}]

labels: sbt-plugin-update, early-semver-minor, semver-spec-patch, old-version-remains, commit-count:1

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


remove ripley bits from base mech prototypes

About the PR
BaseMech and BaseMechPart(Item) referenced ripley too much. removed them, and for parts, put them in their own ripley base part prototypes.
also did a little cleanup on RipleyMech - typo and duplicate components in batteries included variant
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
no cl no fun

@EmoGarbage404 i think you made mechs right so is everything good here

also uh im gonna put starting battery into its own thing since having it in mech is very silly

removed startingBattery and using container fill instead, everything works as normal

ok you wanted it :trollface:

needs emo approval for merge


Runnable app

Can you guys create a release, for playing around, without downloading source
Would be nice if it could auto update

Hi vko, we will release a app once we get the CodeEdit into the Alpha stage at this point it's pretty much still barebones.


item.value.length.limit 配置有时不会动态生效

[ ] I have checked the discussions
[ ] I have searched the issues of this repository and believe that this is not a duplicate.
[ ] I have checked the FAQ of this repository and believe that this is not a duplicate.

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

改变serverconfig表的item.value.length.limit为40000
adminservice日志中提示已经刷新新值，此时新增value>40000的值，后台日志仍然提示value too long,limit:20000
这种境况只是偶尔出现，重启adminservice可以生效

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional Details & Logs

Version
Error logs
Configuration
Platform and Operating System

It takes up to 1 min to be effective.

等待了超过30分钟时间，仍然不生效，检查admin日志，已经打印了配置更新的信息，但下发配置仍然提示value too long,limit:20000

According to the refresh logic below, the property source should be updated after the log is printed, which I can't see what could go wrong...
https://github.com/apolloconfig/apollo/blob/586cc3b632875e5cc097d7bbfdb5ef0ba9aa53a1/apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/BizDBPropertySource.java#L94-L101

According to the refresh logic below, the property source should be updated after the log is printed, which I can't see what could go wrong...
https://github.com/apolloconfig/apollo/blob/586cc3b632875e5cc097d7bbfdb5ef0ba9aa53a1/apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/BizDBPropertySource.java#L94-L101


LEGO® MARVEL's Avengers [PCSE00670]

App summary

App name: LEGO® MARVEL's Avengers
App serial: PCSE00670
App version: 1.00

Vita3K summary

Version: v0.1.8
Build number: 3194
Commit hash: https://github.com/vita3k/vita3k/commit/ca92b35e
CPU backend: Dynarmic
GPU backend: Vulkan

Test environment summary

Tested by: Gerold55
OS: Windows 11
CPU: Intel Core i5 9300H
GPU: NVIDIA Geforce GTX 1650
RAM: 8 GB

Issues
Some graphical and audio issues.
Screenshots

Log
Recommended labels

ingame+

How to fix the issue on cutscenes

Como corrigir o problema nas cenas

As of https://github.com/vita3k/vita3k/commit/31826697, the game runs perfect, no graphic issues, but still the annoying audio beep
Screenshot

Log
vita3k.log
Recommended labels

Playable
Audio bug


Plumbing telemetry discrminator values through Chakra

This change enables reading some strings through JSConfig or Registry that will provide three values to be used to isolate chakra telemetry data to specific scenarios.  These are:

TelemetryRunType - value set by crawler.  Will allow us to identfy telemetry data from Official and Private crawler runs.
TelemetryDiscriminator1 - custom user-defined value set in private crawler runs.
TelemetryDiscriminator2 - custom user-defined value set in private crawler runs.

@dotnet-bot test OSX _no_jit_shared_osx_osx_test
@dotnet-bot test OSX static_osx_osx_debug
@dotnet-bot test OSX static_osx_osx_release
@dotnet-bot test Windows x86_debug


Map doesnt work in older versions of IE

The map doesnt work at all in IE8 or 7. Even the main page doesn't work correctly. Is anyone else having this issue?

I am having issues with the map showing on IE11 Version 11.0.9600.18499


locating children nodes in switch_label

This is not a must-to-improve point, as it's better than "dml_expression" node which I submitted in another thread, the cause is again due to "unannotated_type" and "expressions" nodes mix.
my code is here
I'm able to locate the variants, but need to loop through children. It works but diverges from other node handling patterns.
    switch_label: ($) =>
      seq(
        ci("when"),
        choice(
          // SObject type var syntax
          prec.right(
            commaJoined1(seq(optional($._unannotated_type), $.identifier))
          ),
          commaJoined1($.expression),
          ci("else")
        )
      ),

Since the change could be bigger than expected I suggest we leave it as is. This isn't really a hassle as the "identifier" child node can easily differentiate the variants. We can come back in the future in case. What do you say?

I'm not particularly worried about the scope of this one. I built it up yesterday and it wasn't bad. I think this is a good improvement for the parser, not just to help printing.
If you can think of a reason it would harm things then I'll hold off.
This is what it would look like if I committed the change:
    switch_label: ($) =>
      seq(
        ci("when"),
        choice(
          // SObject type var syntax
          $.when_sobject_type,
          commaJoined1($.expression),
          ci("else")
        )
      ),

    when_sobject_type: ($) => seq($._unannotated_type, $.identifier),

This is what it is currently:
    switch_label: ($) =>
      seq(
        ci("when"),
        choice(
          // SObject type var syntax
          prec.right(
            commaJoined1(seq(optional($._unannotated_type), $.identifier))
          ),
          commaJoined1($.expression),
          ci("else")
        )
      ),

this would be a good improvement for me as well since it has the explicit node $.when_sobject_type, please go ahead :) @aheber

This is published now.

Is it so $.when_sobject_type is no longer in commaJoined1()?
it seems to have changed. @aheber

I will. These are rare conditions I don't have good test code coverage either. Time will tell :)

Thanks!


Fix OTK pickling

We remove the OTKs from the public_keys map once they're published, but we need to keep the entries in reverse_public_keys for as long as they're still in private_keys.
Not sure if we want to rename reverse_public_keys?

Ah, thanks for spotting this. The change looks good, but we probably want to either add a comment explaining this or go through with the renaming.

Not sure if we want to rename reverse_public_keys?

Sure, any ideas for the name? Does key_ids_by_key sound intelligible to you?

I'll handle the rename separately.

Oh, I just did that in #24 :)


Add Triplanar Mapping as UV Coordinate source

I often encounter 3d models which have no texture coordinates. Unwrapping them with e.g. blender only works if the geometry is static, but if the geometry is being modified at runtime, offline unwrapping is no solution.
Tri planar projected mapping to generate texture coordinates is an easy way to add texture coordinates (e.g. it would be great if there was an entry in the texture coordinate source dropdown "triplanar mapped" in order to select this kind of mapping).
Here is an article about it with unity:
https://www.martinpalko.com/triplanar-mapping/
Using a Shader as source for maps and implementing the triplanar mapping there might work as well, but i could not find documentation about whether it was possible to change uv coordinates in a way that they could also be reused for other maps (computing the uv coordinates for every map again and again seems a bit wasteful to me)
One might also consider triplanar mapping in world coordinates, or in "local" coordinates (e.g. the models bounding box).

Just a note:
Triplanar mapping cannot really be thought of as just being a UV source, triplanar samples the texture three times with three different uvs so having this under uv source doesn't make a lot of sense, should be a ComputeColor similar to the Texture one instead and uv source for that would be an enum[world, local].

Just a note:
Triplanar mapping cannot really be thought of as just being a UV source, triplanar samples the texture three times with three different uvs so having this under uv source doesn't make a lot of sense, should be a ComputeColor similar to the Texture one instead and uv source for that would be an enum[world, local].

Got around to it.
On your material, set Diffuse Map to shader, in the new text field type in TriPlanar. Set Composition Node->Tri Planar Texture to whatever you want and manipulate Generics->Sharpness.
shader TriPlanar<float Sharpness> : ComputeColor, PositionStream4, NormalStream
{
    stage stream float2 TexCoord : TEXCOORD0;
    compose ComputeColor TriPlanarTexture;

    override float4 Compute()
    {
        float2 og = streams.TexCoord.xy;
        float3 weights = pow(abs(streams.normalWS.xyz), Sharpness);
        weights = weights / (weights.x + weights.y + weights.z);
        float3 pos = streams.PositionWS.xyz;
        float4 finalColor = 0;
        streams.TexCoord.xy = pos.xy; finalColor += TriPlanarTexture.Compute() * weights.z;
        streams.TexCoord.xy = pos.xz; finalColor += TriPlanarTexture.Compute() * weights.y;
        streams.TexCoord.xy = pos.zy; finalColor += TriPlanarTexture.Compute() * weights.x;
        streams.TexCoord.xy = og;
        return finalColor;
    }
};

Got around to it.
On your material, set Diffuse Map to shader, in the new text field type in TriPlanar. Set Composition Node->Tri Planar Texture to whatever you want and manipulate Generics->Sharpness.
shader TriPlanar<float Sharpness> : ComputeColor, PositionStream4, NormalStream
{
    stage stream float2 TexCoord : TEXCOORD0;
    compose ComputeColor TriPlanarTexture;

    override float4 Compute()
    {
        float2 og = streams.TexCoord.xy;
        float3 weights = pow(abs(streams.normalWS.xyz), Sharpness);
        weights = weights / (weights.x + weights.y + weights.z);
        float3 pos = streams.PositionWS.xyz;
        float4 finalColor = 0;
        streams.TexCoord.xy = pos.xy; finalColor += TriPlanarTexture.Compute() * weights.z;
        streams.TexCoord.xy = pos.xz; finalColor += TriPlanarTexture.Compute() * weights.y;
        streams.TexCoord.xy = pos.zy; finalColor += TriPlanarTexture.Compute() * weights.x;
        streams.TexCoord.xy = og;
        return finalColor;
    }
};


Why windows?

Why do you use windows instead of a linux distro?
https://github.com/hkutluay/UblTr/blob/3f41bedd35ec34ce722564582d4e77a5eea19429/.github/workflows/publish.yml#L8

Hi @soyhanbeyazit ,
You can't build or deploy multi framework targeting libraries on linux distro.
Thanks for your interest


Entities issues

Just installed in HA 2023.4.1. Provided the IP of the controller, and it was found. The integration lists one device, but says there are no entities associated with that device.
The entities (and scenes) were created and do work to turn the lights on/off. However, but they don't have any associated device, and when you click on the Settings option in Settings > Devices & Services > Entities > light entity, it gives an error: "This entity () does not have a unique ID, there its settings cannot be managed from the UI." Lastly, the entities are marked as "Read Only" in the Status column of the entity list as well (even though the status can be changed).
Also, it does not appear that the entity updates if the status of the light was changed outside of home assistant (ie through the Luxor app or a Luxor-managed schedule).
Feature requests:

Configurable polling interval for all entities to keep light status up to date.
Luxor Groups (aka Lights) include a parent Device object in the Integration. Include a device sensor that indicates last update time.
Associate Luxor Scenes with the Controller Device
Create a Device Service command for Light devices to apply a "Luxor Color Preset" to the light.
Create a Device Service command for the Controller device to change the color of a Luxor Color Preset

Really happy to see this working and the progress. Let me know if I can help test any improvements.  THANKS!

I am also having a similar problem. I posted over here.  I included details about firmware/versions etc..
I forgot to mention I am connected to the Luxor FX device via Ethernet not wifi.
I'm not sure if it makes a difference
I was reading on the github for "Go http://golang.org/ (#golang)" library and it says -  via its wifi module protocol.

Sorry yall I've not had time to look into this. I will say I've found the integration even flakey on my end, and I think more recently its been in a mostly-broken state (no idea what changed).

Hi all, I took a look at this. What is the intent here? Should there be a device per group and a device per theme (IE one device per entity)? If that is the case, the reason this doesn't work is that each entity needs to have a unique_id attribute and the device_info method needs to return a DeviceInfo object. I got that part working, I can make a PR if you want.
Alternatively, should every entity be associated with the same device? If so it seems like the "identifiers" part of the DeviceInfo needs to be set to the parent object for it to get registered to the controller device that gets created....

I think architecturally, it makes sense to have each "group" be a separate device, each with a light entity, and each "theme" be a scene that exists within the controller device.

@dronenb iirc that is correct (group => device, theme => scene) - I will say Luxor's pov on this stuff isnt amazing (like its not super flexible).


add postgresql deployment

error log:
[ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:5.0.1.Final:deploy-artifact (deploy-postgresql) on project batch-deployment-examples: Failed to execute goal deploy-artifact.: java.net.ConnectException: WFLYPRT0053: Could not connect to remote+http://localhost:9990. The connection failed: Connection refused -> [Help 1]

reference: https://docs.wildfly.org/wildfly-maven-plugin/releases/5.0/run-mojo.html#env

to start the wildfly firstly:
$ mvn wildfly:start

I'll switch to using the postgersql-driver + CLI script solution because it provides maximum freedom to do the configuration. And I'll write README file to explain how to use the PostgreSQL database to run the example.

Thanks to @jamezp for providing help on the ways to do the configuration!

another way to do the configuration: https://github.com/wildfly/wildfly-s2i/blob/main/examples/postgresql/pom.xml#L41-L48


if i need to implement inline row edit in v0.8.3.. is it possible? if yes can i have some expample

I'm guessing here you've either found a solution or upgraded ng-table...


Dependabot and other Github Security Configurations

Purpose of Changes and their Description
This PR sets up the repo to use the standard github security tooling, such as dependabot.
Link(s) to Ticket(s) or Issue(s) resolved by this PR
PROTO-2769 and all of its children, in particular PROTO-2420
Are these changes tested and documented?
Unknown how to test this prior to committing it into dev.
Still Left Todo
CodeQL scanning, other configurations

enforced org-wide now, no need for this on the repo itself


[WIP] Twitter facebook url

🚧 super heavy WIP 🚧
Started to adapt the facebook_url and twitter_url helper and created a social_urls util in the same manner it is used in core.
One issue I was running into whilst creating the helper then is the question how and where I can fetch the handle/username from the settings.

This is v old and out of date - we'll pick this up again later.


JSDoc @constructor shows up in IntelliSense

From @chrisdias on February 24, 2016 22:46
related to #3186?
Testing #3170 and the @ constructor JSDoc comment text shows up in the IntelliSense prompt.
/**
 * Represents a person
 * @constructor
 * @param {string} name The name of the person
 * @param {number} age The age of the person
 */
function Person(name, age) {
    this.name = name;
    this.age = age;
}
var p = new Person

Copied from original issue: Microsoft/vscode#3432

From @joaomoreno on February 25, 2016 8:58
It is up to each language service to parse the comments and provide whatever they want to be rendered in the widget.

Moving to Salsa


Add delete command to backspace key when modified with shift

Proposed Changes
Map Backspace with Shift modifier to DELETE_PREV_CHAR KeyCommand instead of null.
Testing
Test: repeat user scenario, symbol should get deleted.
Issues Fixed
Fixes: https://github.com/JetBrains/compose-multiplatform/issues/3226

Have you checked does it work on Android?
Let's write a test?


Changed Prefix

Changed Prefix in .snakes about from ! to .
https://github.com/python-discord/seasonalbot/issues/374
Relevant Issues

Closes #374
Description

Changed prefix from ! to .
Reasoning

The prefix used to be ! but the commands were using a . prefix
Did you:

[x] Join the Python Discord Community?
[x] If dependencies have been added or updated, run pipenv lock?
[x] Lint your code (pipenv run lint)?
[x] Set the PR to allow edits from contributors?

@kwzrd no that was a bad idea XD
I will refork and make a new PR

Moved to #405


[BUG] eventgen exit and generates not events when count = 100000000

Describe the bug
There is a requirement to generate 10 billion events with an increasing id from 1 to<PHONE_NUMBER>0. When using below eventgen.conf and sample, eventgen will crash with no events generated.
To Reproduce
Eventgen.conf
[film.json]
count =<PHONE_NUMBER>0
mode = sample
autotimestamp = false
index = main
sourcetype = json
sampletype = raw
source = film.json

outputMode = httpevent
httpeventServers = {"servers": [{"protocol": "https", "port": "8088", "key": "dd3b7976-617e-4163-ac2c-247427b537b9", "address": "localhost"}]}
httpeventOutputMode = mirror
httpeventMaxPayloadSize = 10000

# FILM_ID
token.0.token = "FILM_ID":(\d+)
token.0.replacementType = integerid
token.0.replacement = 1

sample file:
{"FILM_ID":0,"DIRECTOR_ID":0,"REGION_ID":0,"TITLE":"CENTERDINOSAUR","DESCRIPTION":"ABeautifulCharacterStudyofaSumoWrestlerAndaDentistwhomustFindaDoginCalifornia","RELEASE_YEAR":2006,"LANGUAGE_ID":1,"ORIGINAL_LANGUAGE_ID":"(null)","RENTAL_DURATION":5,"RENTAL_RATE":4.99,"LENGTH":152,"REPLACEMENT_COST":12.99,"RATING":"PG","SPECIAL_FEATURES":"DeletedScenes","LAST_UPDATE":"2/15/0605:03","_time":"Mon Jul 13 09:30:00 PDT 2017"},
{"FILM_ID":0,"DIRECTOR_ID":0,"REGION_ID":0,"TITLE":"CHAINSAWUPTOWN","DESCRIPTION":"ABeautifulDocumentaryofaBoyAndaRobotwhomustDiscoveraSquirrelinAustralia","RELEASE_YEAR":2006,"LANGUAGE_ID":1,"ORIGINAL_LANGUAGE_ID":"(null)","RENTAL_DURATION":6,"RENTAL_RATE":0.99,"LENGTH":114,"REPLACEMENT_COST":25.99,"RATING":"PG","SPECIAL_FEATURES":"DeletedScenes,BehindtheScenes","LAST_UPDATE":"2/15/0605:03","_time":"Mon Jul 13 09:30:00 PDT 2017"},
{"FILM_ID":0,"DIRECTOR_ID":0,"REGION_ID":0,"TITLE":"CHAMBERITALIAN","DESCRIPTION":"AFatefulReflectionofaMooseAndaHusbandwhomustOvercomeaMonkeyinNigeria","RELEASE_YEAR":2006,"LANGUAGE_ID":1,"ORIGINAL_LANGUAGE_ID":"(null)","RENTAL_DURATION":7,"RENTAL_RATE":4.99,"LENGTH":117,"REPLACEMENT_COST":14.99,"RATING":"NC-17","SPECIAL_FEATURES":"Trailers","LAST_UPDATE":"2/15/0605:03","_time":"Mon Jul 13 09:30:00 PDT 2017"},
{"FILM_ID":0,"DIRECTOR_ID":0,"REGION_ID":0,"TITLE":"CHAMPIONFLATLINERS","DESCRIPTION":"AAmazingStoryofaMadCowAndaDogwhomustKillaHusbandinAMonastery","RELEASE_YEAR":2006,"LANGUAGE_ID":1,"ORIGINAL_LANGUAGE_ID":"(null)","RENTAL_DURATION":4,"RENTAL_RATE":4.99,"LENGTH":51,"REPLACEMENT_COST":21.99,"RATING":"PG","SPECIAL_FEATURES":"Trailers","LAST_UPDATE":"2/15/0605:03","_time":"Mon Jul 13 09:30:00 PDT 2017"}
{"FILM_ID":0,"DIRECTOR_ID":0,"REGION_ID":0,"TITLE":"CHANCERESURRECTION","DESCRIPTION":"AAstoundingStoryofaForensicPsychologistAndaForensicPsychologistwhomustOvercomeaMooseinAncientChina","RELEASE_YEAR":2006,"LANGUAGE_ID":1,"ORIGINAL_LANGUAGE_ID":"(null)","RENTAL_DURATION":3,"RENTAL_RATE":2.99,"LENGTH":70,"REPLACEMENT_COST":22.99,"RATING":"R","SPECIAL_FEATURES":"Commentaries,DeletedScenes,BehindtheScenes","LAST_UPDATE":"2/15/0605:03","_time":"Mon Jul 13 09:30:00 PDT 2017"}
{"FILM_ID":0,"DIRECTOR_ID":0,"REGION_ID":0,"TITLE":"CHAPLINLICENSE","DESCRIPTION":"ABoringDramaofaDogAndaForensicPsychologistwhomustOutraceaExplorerinAncientIndia","RELEASE_YEAR":2006,"LANGUAGE_ID":1,"ORIGINAL_LANGUAGE_ID":"(null)","RENTAL_DURATION":7,"RENTAL_RATE":2.99,"LENGTH":146,"REPLACEMENT_COST":26.99,"RATING":"NC-17","SPECIAL_FEATURES":"BehindtheScenes","LAST_UPDATE":"2/15/0605:03","_time":"Mon Jul 13 09:30:00 PDT 2017"}

Expected behavior
It should generate 10 billion events as expected.
Actual behavior
Crash without events generated.

This fix is pending with Brian's PR.


Use canvas pattern for the background

Must be possible to set an 32x32 image as the background image that repeats
https://www.w3schools.com/tags/canvas_createpattern.asp
Only available since elm-canvas 0.3 so we need to upgrade first

Did not want to fix this so I got rid of canvas


Numpy version

Why isn't the numpy version set to 1.23.5 in the requirements?
1.22.0 is mentioned in the readme, but the one that seems compatible is 1.23.5
Also prolly better to install torch first, then the requirements, as they will install torch as well but likely the wrong version

Thanks for mentioning.
torch installation instruct placed to first now.
not sure if numpy==1.23.5 compatible for everyone, as may exist other pkg conflicts


How to change texts in Fingerprint dialog

How to change texts in Fingerprint dialog (e.g. "Confirm fingerprint to continue")?
Can we set custom text when authenticating using FingerprintAuth.show() ?
Thank you.

I would have to create a parameter for each text field.
Please send me a list of all the text fields that you would like to be able to customize.
These would override the language parameter so you would have to translate and set the parameters if you want to display a different language that is not supported.

published v0.2.0 to add parameters to set the text for the title, message, and hint.

@mjwheatley ,
Greatly appreciate your quick response.  Thank you.


[HierarchyList] not scrolling to element and horizontal scroll bar

Describe the bug
When defaultSelectedId is set, the selected id is not being properly scrolled to.
If an list item's text is wider than the list content width, a horizontal scroll bar appears
To Reproduce
Steps to reproduce the behavior:

Go to local version of HierarchyList story

Set the defaultSelectedId on many different id's (the scrolling sometimes works)

See that the element is not properly scrolled to

Go to local version of HierarchyList story

Change one of the ListItem values to a very long string (longer than the width)

See that a horizontal scroll bar appears

Environment/versions:

OS: MacOS
Browser: Chrome, Safari

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Avoid date parsing when re-presenting date input

Date validation is done elsewhere in the Document model so
avoid parsing the form/record value when refilling date fields.
The date may be nonsensical in which case we want the DateValidator
to catch this.

Closing in favour of https://github.com/alphagov/specialist-publisher/pull/922


Refactor validator

@Ronan- please review.
@xavierhd this is the change to the interface you were expecting.

:+1:


Fix typo

In README:
fa=unction -> function

lgtm . Thanks again. By the way do you have Allow edits and access to secrets by maintainers turned of for the pr ?

By the way do you have Allow edits and access to secrets by maintainers turned of for the pr ?

I am not sure. I didn't change any settings when opened the PR, just using the defaults. Sorry for the inconvenience.

Sorry for the inconvenience.

No no issue really . I'm just trying to figure out why autogen isn't working . I'll just make run only on master instead of prs too.


DPL-321 and issue205 - Printing and bug fixes

Sorry that this includes two sets of work. I thought I'd based of develop
but clearly forgot to switch. I tried to rebase to separate the two changes
but was running into sufficient conflicts that I felt I was at risk of introducing issues.

Rebased to but the two bits of work in contiguous commits at least:
Bug fixes: https://github.com/sanger/samples_extraction/pull/203/files/2734778c6b61c94653c273bcbdab7ad55737d73f..802b7d7869730b601a5c5a59895e859b46ada631
Printing changes: https://github.com/sanger/samples_extraction/pull/203/files/802b7d7869730b601a5c5a59895e859b46ada631..204e5be14f357fef637d4c45006dce116e21caa0


Optimize A11y

Large scale looks good except the FAQ heading becomes "Freq". The list items have less visual separation, so they need better spacing out? And the tooltip may overflow the screen so you can't read all of the text.

Freq needs to fit into the Drawer Header space
Visually separate list items better
Constrain tooltips to fit on screen no matter how much text they have

this might not be practical

VoiceOver seems to work already. No changes needed.

The drawer header will have to wait. You can't use Expanded here because of parent widget constraints, and if you use FittedBox, it doesn't wrap the Text to a new line so it always looks wrong.

Even the tooltip is difficult to customize for full a11y scale. It's really not intended to do what I'm doing with it.


Enhancement in forms

Issue that this pull request solves
Closes: #488
Proposed changes
Enhancement in forms
Brief description of what is fixed or changed
Added recaptcha in ContactUs form and added validation in ForgotPassword Form
Types of changes
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Put an x in the boxes that apply

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] My changes does not break the current system and it passes all the current test cases.

Screenshots
Please attach the screenshots of the changes made in case of change in user interface

Other information
Any other information that is important to this pull request

Hey @AbhipsaGuru1012 Please do the following

Remove the node-modules and package-lock.json files from this PR
After clicking on submit button the website is reloading, please fix it
There is no required validation in this form, please add it
please reduce the bottom-margin of the error message, it should appear closer to the input box

Okay sure, I will the changes and update soon.

@Kajol-Kumari I have made the changes. Please review.

@Kajol-Kumari I have made the changes. Please review.

Hey @AbhipsaGuru1012 Please resolve the conflicts here

@Kajol-Kumari I have made the changes. Please review.

Hey @AbhipsaGuru1012 Please resolve the conflicts here

@Kajol-Kumari I have resolved the conflicts.

@Kajol-Kumari I have made the required changes. Please let me know if this is okay.


filter on tag KMSKeyAliases - EBS Snapshots

Is it possible to filter on EBS Snapshot KMSKeyAliases? I want to delete based only on specific name patterns (or regex matching).

the key id is associated to the snapshot, you can filter as attribute filter directly on that. KmsKeyId: xyz

Thank you


Update Size Qwartz

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

[ ] Filename in the lowercase format
[ ] Image format: png
[ ] Image size: 256 by 256 px

Image already exists


Graphite plugin slow writes on version 0.9.2

I am trying to import data from influxdb-0.8.8 to influxdb-0.9.2, writes are very slow 10Kpbs, importing the data from v.0.8.8 to another v.0.8.8 writing speed is 3.5Mbps both running in the same box(ec2 c1.medium), but not simultaneously.
The script I used to import data: can be found here. It does the following:

Gets series list
Creates a connection to graphite plugin
For each serie run query select * from <serie>
Creates an array with chunks of 1K datapoints in graphite format <metric_name> <epoch> <value>
Send chunk by chunk
Close connection

A snippet from the log generated by the script:
==> 0.8.log <==
}

2015-08-28T20:21:52.418Z - info: Progress : 100%
{
 "seriesTotal": 10,
 "serieCount": 10,
 "chunksTotal": 165,
 "chunkCount": 165,
 "dataPointsSent": 1133497,
 "chunksSent": 1140,
 "bytesSent": 74801643,
 "chunksPerSec": 56,
 "bytesPerSec": 3707089
}

2015-08-28T20:21:52.418Z - info: Closing client

real	0m20.733s
user	0m3.012s
sys	0m0.808s

==> 0.9.log <==
}

2015-08-28T20:12:20.740Z - info: Progress : 100%
{
 "seriesTotal": 10,
 "serieCount": 10,
 "chunksTotal": 165,
 "chunkCount": 165,
 "dataPointsSent": 1132988,
 "chunksSent": 1138,
 "bytesSent": 74768150,
 "chunksPerSec": 0,
 "bytesPerSec": 10458
}

2015-08-28T20:12:20.741Z - info: Closing client

real	119m9.231s
user	0m3.536s
sys	0m0.916s

Any help will be appreciated.

Couple of suggestions @tlopo.
If you are creating a brand new 0.9 system, I suggest you use 0.9.3. There are a large number of bug fixes and improvements in 0.9.3 vs 0.9.2.
In addition, ensure your Graphite batching is set to something sensible like 1000 points, and 1 second timeout.
https://github.com/influxdb/influxdb/blob/master/etc/config.sample.toml#L138
I am going to assume these changes will address the issues, since others have had the same and batching fixed it.

@otoolep  0.9.3 was released only two days ago, I missed that sorry. It did improved the writing speed a lot! it's still slower than 0.8.8 but I guess it's acceptable ~ 2Mbps. Thank you very much!

We are continuing to improve throughput, and you may wish to try the nightly builds if you want bleeding edge.
https://influxdb.com/download/index.html

You could also try increasing your batch size and timeout. Try 5K and 5 seconds.