Fix openapi (2nd try)

As the view works when the resize event is called, I trigger a resize event on every click on the UI, to make sure it gets updated. Closes #4 . Tested in up-to-date Firefox, Chrome, and Safari. All on macOS.
JQuery is "needed"[^1] by the template. So maybe this hack can get removed if we do a theme overhaul at some point of time.
[^1]: It still works in all browsers I tested, not sure why it is actually needed. It looks fine for me.

I'm not sure what to review here. The Swagger Docs still work for me (as before) testing in Chrome and Edge on Windows 11...all other pages seem not to be affected by removing JQuery, so it seems fine for me.

I'm not sure what to review here. The Swagger Docs still work for me (as before) testing in Chrome and Edge on Windows 11...all other pages seem not to be affected by removing JQuery, so it seems fine for me.

I did not remove JQuery in this solution. I just wanted to know if it works for your systems or making other problems. Thanks!


Demo 5: onxx_to_tensorrt.py failed with custom YOLOv4 model

Hi, @jkjung-avt. Thank you very much for your repo.
I'm trying to convert my custom yolov4 model to yolov4-288.trt and i fail with error:
Building an engine.  This would take a while...
(Use "--verbose" or "-v" to enable verbose logging.)
python3: yolo_layer.cu:119: virtual nvinfer1::Dims nvinfer1::YoloLayerPlugin::getOutputDimensions(int, const nvinfer1::Dims*, int): Assertion `inputs[0].d[1] == mYoloHeight' failed.
Aborted (core dumped)

I only changed [filters=255] to [filters=27] in the 3 [convolutional] before each [yolo] layer in the config file in training because i have 4 classes. Here is my config file:
yolov4-vcc.cfg.txt
Then, i created the yolov4-vcc-288.cfg and yolov4-vcc-288.weights with the following commands:
cat yolov4-vcc.cfg | sed -e '2s/batch=64/batch=1/' | sed -e '7s/width=608/width=288/' | sed -e '8s/height=608/height=288/' > yolov4-vcc-288.cfg
and
ln -sf yolov4-vcc.weights yolov4-vcc-288.weights

I run the yolo_to_onxx.py successfully but failed in running onxx_to_tensorrt.py. Could you help me solve this problem?
Thank you.

The "width" and "height" in your cfg file are 416 and 416.  Please replace them with 288 instead.

The "width" and "height" in your cfg file are 416 and 416. Please replace them with 288 and run "yolo_to_onnx.py" again.

Thank you so much, problem is solved. By the way, i have some questions:

I saw in your README.md, your yolov4-288(FP16) ran on jetson nano got 7.93 but for me it only ~3.5-3.6 FPS. I ran with 1920x1080 video. Does it affect the FPS and are there any way to improve FPS ?
I added deepsort for tracking and FPS dropped to ~2.5-2.6 FPS. Can we convert deepsort to TensorRT ? Because i want the fps is 5 at least with detection + tracking.

Thank you very much.

I saw in your README.md, your yolov4-288(FP16) ran on jetson nano got 7.93FPS but for me it only ~3.5-3.6 FPS. I ran with 1920x1080 video. Does it affect the FPS and are there any way to improve FPS ?

My FPS measurement was done with dog.jpg.  You could compare the FPS difference between dog.jpg and your 1920x1080 video.

I added deepsort for tracking and FPS dropped to ~2.5-2.6 FPS. Can we convert deepsort to TensorRT ? Because i want the fps is 5 at least with detection + tracking.

I have not looked into deepsort so I cannot give any advice.

I saw in your README.md, your yolov4-288(FP16) ran on jetson nano got 7.93FPS but for me it only ~3.5-3.6 FPS. I ran with 1920x1080 video. Does it affect the FPS and are there any way to improve FPS ?

My FPS measurement was done with dog.jpg. You could compare the FPS difference between dog.jpg and your 1920x1080 video.

I added deepsort for tracking and FPS dropped to ~2.5-2.6 FPS. Can we convert deepsort to TensorRT ? Because i want the fps is 5 at least with detection + tracking.

I have not looked into deepsort so I cannot give any advice.

Does the size of input image/video affect the fps ? How can i improve the fps ?

Does the size of input image/video affect the fps ?

It would take a little more time for resizing images (1920x1080 -> 288x288) in preprocessing, but the difference should not be too much.

Does the size of input image/video affect the fps ?

It would take a little more time for resizing images (1920x1080 -> 288x288) in preprocessing, but the difference should not be too much.

Thank you so much for your support, i'm gonna close this issue.

Hi @jkjung-avt @DoVan-Thuan , I trained a custom Yolov4 model and it generated the checkpoints file instead of .WEIGHTS file . Can you please suggest me if we can use those instead of .weights file. Thank you so much for your work . It helps a lot to newcomers like me.


Omit redandunt execution with rspec --bisect

Since bisect is a command that finds minimum repro that fails depending on the order, examples after the last failure example doesn't need to be executed.

I'm sorry, I made a PR without realizing that the cucumber tests failed. I'll fix it 🙏

I think this behaviour should be at best opt-in because even if we have encountered all the original failures, there might be more failures that occur that would technically make a run a different set of results and thus be an unstable bisect...

Thank you, I'll try it.

I'm closing this because its still a draft, and we're migrating to the monorepo, if someone manages to pick this up please reopen it there.


chore(release): 1.0.0-development.2

Version bump in package.json and package-lock.json for release 1.0.0-development.2

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix VCFHeaderReader for gzipped and BGZF VCF formats

Fixes #96

Coverage increased (+0.02%) to 59.916% when pulling 4d49de141c36033e75762752080512cca79298e8 on tomwhite:vcf_header_reader into e72dc394cf063b1bf5fe3f998db4e6a47f1186f1 on HadoopGenomics:master.

@heuermh, does this look OK to you? I'd like to merge this soon.

+1
Yes, works for me.  Thank you, @tomwhite

Thanks for checking @heuermh.

Thanks for the fix, @tomwhite!


[auto-merge] branch-24.02 to branch-24.04 [skip ci] [bot]

auto-merge triggered by github actions on branch-24.02 to create a PR keeping branch-24.04 up-to-date. If this PR is unable to be merged due to conflicts, it will remain open until manually fix.

FAILURE - Unable to auto-merge. Manual operation is required.
{'message': 'Pull Request is not mergeable', 'documentation_url': 'https://docs.github.com/rest/pulls/pulls#merge-a-pull-request'}

Please use the following steps to fix the merge conflicts manually:
# Assume upstream is NVIDIA/spark-rapids remote
git fetch upstream branch-24.02 branch-24.04
git checkout -b fix-auto-merge-conflict-10543 upstream/branch-24.04
git merge upstream/branch-24.02
# Fix any merge conflicts caused by this merge
git commit -am "Merge branch-24.02 into branch-24.04"
git push <personal fork> fix-auto-merge-conflict-10543
# Open a PR targets NVIDIA/spark-rapids branch-24.04

IMPORTANT: Before merging this PR, be sure to change the merging strategy to Create a merge commit (repo admin only).
Once this PR is merged, the auto-merge PR should automatically be closed since it contains the same commit hashes

Working on this.  Appears the merge conflict fix from #10528 was squashed instead of merged.


cleanup: add proto definition for test extensions

Currently, lookup-by-name for extensions is used for internal extensions. This is inconsistent with actual extensions which exclusively use lookup-by-type-URL. The cleanup is to add protos for all internal extensions, and remove the runtime guard usage in the tests.

In addition, the lookup-by-name is used internally in the core. E.g.

There still have a lot of places using getAndCheckFactoryByName, like this
https://github.com/envoyproxy/envoy/blob/1dc4d32e287e0d51b02cc7a7395add7ae7dab96b/source/server/listener_impl.cc#L690-L691

We should hide visibility of getFactoryByName only for the runtime guard use.

Exploring how this can be automated with dynamic messages to avoid the toil of a hundred of empty protos.

Hi @kyessenov , wanted to check if this is still being worked upon or I can give it a first try as a beginner to the project :)

You can certainly help by creating protos for extensions in test/integration/filters, or finding places in tests with envoy.reloadable_features.no_extension_lookup_by_name override and removing the override. The dynamic message might or might not work, I was just throwing an idea out.


start-vm: Is there any reason to exclude ubuntu from finding the uefi code?

We are testing for the os here. Ubuntu does not get recognised as debian but has its own entry which is not tested here. In my ubuntu vm, the path for debian also works for ubuntu, so I guess we can just extend the if branch for "if debian or ubuntu".
Anything that I overlooked?

fixed by https://github.com/gardenlinux/gardenlinux/pull/1714


Add st_buffer and st_transform function

Can you add st_buffer and st_transform function to the extension?

PR #31 is pending


[FR] Track the performance of frameworks over their releases

Meta issue; Idea is to have an overview how the performance of different simulators evolves over their releases.
The results could be summarized on a dedicated website.
Requires consistent (virtualized?) hardware.

In progress, see dedicated PSE project


feat: Use path-to-regex for urls

Motivation

Simplify url specification. Reduces huge burden for defining Resources. Now with sane patterns, 99% of REST APIs can be defined using urlRoot alone.
Solution

No more listUrl. Most patterns can be done with urlRoot alone. No automatic typings yet though.
class UserResource extends Resource {
  readonly id: number | undefined = undefined;
  readonly username: string = '';
  readonly email: string = '';
  readonly isAdmin: boolean = false;

  pk() {
    return this.id?.toString();
  }

  static urlRoot = 'http\\://test.com/groups/:group/users/:id?';
}
expect(UserResource.detail().url({ group: 'big', id: '5' })).toBe(
  'http://test.com/groups/big/users/5',
);
expect(UserResource.detail().url({ group: 'big', id: '100' })).toBe(
  'http://test.com/groups/big/users/100',
);
expect(UserResource.list().url({ group: 'big', bob: '100' })).toBe(
  'http://test.com/groups/big/users?bob=100',
);
expect(UserResource.create().url({ group: 'big' }, { bob: '100' })).toBe(
  'http://test.com/groups/big/users',
);
expect(
  UserResource.update().url(
    { group: 'big', id: '100' },
    { id: '100', username: 'bob' },
  ),
).toBe('http://test.com/groups/big/users/100');

See https://github.com/pillarjs/path-to-regexp for full syntax

Codecov Report

Merging #1894 (785fff0) into master (673be1a) will decrease coverage by 0.05%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master    #1894      +/-   ##
==========================================
- Coverage   98.53%   98.48%   -0.06%
==========================================
  Files         102      102
  Lines        1912     1913       +1
  Branches      393      394       +1
==========================================
  Hits         1884     1884
  Misses         13       13
- Partials       15       16       +1

Impacted Files
Coverage Δ

packages/rest/src/Resource.ts
92.30% <50.00%> (-3.70%)
:arrow_down:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Add quantity to axis labels in Evoked.plot()

Describe the problem
Currently, Evoked.plot() produces a figure like this:

As you can see, the abscissa is labeled in the form Quantity (unit); however, the ordinates are labeled as unit only.

This is inconsistent.
This violates recommendations I've picked up during my engineering education (I agree that this is most probably opinionated though!)

Describe your solution
While it would be easy to label the ordinates for EEG and magnetometer data Voltage (µV) and Field (fT), respectively, the case is more tricky with gradiometers, as the displayed quantity is effectively ∆Field / ∆Distance.
Another difficulty is that, in the figure shown above, the individual subplots are quite small in terms of vertical height, so there's not always enough space to comfortably add the quantity to the label.
So I was thinking: One thing that all these quantities, in this context, have in common, is that they represent measured signals of some sort. So my idea would be to leave the figure as it currently is, but add a label Signal, which is shared by the ordinates of all subplots – see this mockup I've quickly put together:

Note how I have also

adjusted the font of the abscissa label
aligned the unit labels of the ordinates horizontally (though I'm not sure how to do that in Matplotlib easily)

Thoughts?

I don't think "Signal" or (what would probably be my preference) "Amplitude" adds enough understanding here to justify eating the figure space


Topic/colorizer

Interfaced out the ast node type switch.

Is this the right branch? It looks like this might be one I've already merged.


接触网和js

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Example: I'm always frustrated when...
Describe the solution you'd like
A clear and concise description of what you want to happen.
为确保可靠性,希望接触网可以添加到mtr 本体。
希望nte 的列车js 功能和装饰物件被合并。
Additional Information
Add any other context or screenshots about the feature request here.

Duplicate of #548 and #844


Add designs for graph controls

Adds designs and placement for a number of graph controls

Rearranges and relocates the fetching controls
Restructures the graph settings and reduces dropdown size
Relocates the graph layout selector to the zoom tool

Closes #41
Closes #20
Closes #14

I am not sure if the 'application group' and 'application versioned' is what we want to be doing here. A workload graph and an application graph are two different graph types. As a user I think it would be more clear for me to choose between an application graph or a workload graph, rather than an option to group workloads by application.
Everything else looks great though

@cshinn Should the 'fetching' controls also be the same across the other pages that do refreshes (such as the metric pages)

I love the enhanced zoom tool with the 3 layout options.  Let's make this change ASAP.
Overall, I like that the uber-options is being simplified.
I agree with @mwringe about the graph types.  As is the graph types are buried, I'd prefer to see it be explicit and easy to change.  I'd suggest either a "Graph Type" header (like "Badges") with the three options: Workload, App, Versioned App.  Or, perhaps even another button bar at the bottom.
I think we should consider moving "Security" to the "Badges" section and out of the "Edge Labels" dropdown.  If selected the lock icon could simply be prepended to any other edge label selection.
Everything else seems fine to me.

@cshinn I see there are some conflicts preventing this from being merged, can you please resolve them?

@cshinn can you resolve the conflicts so I can merge?  Thanks!

I've updated this branch to resolve the merge conflict

@jshaughn please review, is this up to date with the most recent graph toolbar?


Popover Closes When Content Changes

Is there any way to prevent the popover to close when the content changes?
How to reproduce - jsfiddle

Click on the button and then click on the button inside the popover (the popover will close).
Click again on the button to open the popover and now click on the Add button inside of it. This time the popover won't close.

My guess is that the element you clicked on is no longer considered a child of the popover (since it's removed from the DOM) so it thinks you clicked outside of the popover. Try setting :key="amount" on the last button to destroy it and create a new one when you click.

I guess you are right. Setting the same element (e.g div) where the v-if/v-else directives are applied without a key seems to solve it, Vue thinks its the same element and doesn't rerender and the popover doesn't seem to think it was clicked outside.
jsfiddle
There's no problem with this approach right?
Thanks in advance @Akryum :)

Or you can try setting the same key on the buttons (and they should be at the same level in the root tree). But this still feel like a workaround, I wonder if we can somehow still consider the deleted elements as inside the popover.

I haven't dig in the code of this wrapper much, but that kind of functionality should probably be more related to the popper.js plugin itself no?


Fix using devcontainer in custom subfolder

I noticed that using DEVCONTAINER_JSON_PATH to configure a custom path to devcontainer.json relative to the root .devcontainer folder of a repo (e.g. .devcontainer/my_custom_subfolder/devcontainer.json) would fail because envbuilder would still try to compile the dev container using .devcontainer instead of the custom subfolder containing devcontainer.json, and meanwhile the build.Dockerfile property within devcontainer.json expects the provided Dockerfile path to be relative to the devcontainer.json file which may not be directly under .devcontainer if DEVCONTAINER_JSON_PATH is configured.
This is the scenario referred to by the third bullet point described here: https://containers.dev/implementors/spec/#devcontainerjson

Products using it should expect to find a devcontainer.json file in one or more of the following locations (in order of precedence):

.devcontainer/devcontainer.json
.devcontainer.json
.devcontainer/<folder>/devcontainer.json (where <folder> is a sub-folder, one level deep)

I wrote a new integration test that surfaces this problem, and before the included fix it failed as expected with:
--- FAIL: TestBuildFromDevcontainerInCustomPath (0.22s)
    integration_test.go:813: "\x1b[1menvbuilder\x1b[0m - Build development environments from repositories in a container"
    integration_test.go:813: "#1: 📦 Cloning \x1b[36mhttp://<IP_ADDRESS>:41911\x1b[0m to \x1b[36m/workspaces/\x1b[0m..."
    integration_test.go:813: "#1: 📦 Cloned repository! [5.771923ms]"
    integration_test.go:813: "error: compile devcontainer.json: open dockerfile \"/workspaces/.devcontainer/Dockerfile\": open /workspaces/.devcontainer/Dockerfile: no such file or directory"
    integration_test.go:230:
        	Error Trace:	/home/runner/work/envbuilder/envbuilder/integration/integration_test.go:230
        	Error:      	Received unexpected error:
        	            	error: compile devcontainer.json: open dockerfile "/workspaces/.devcontainer/Dockerfile": open /workspaces/.devcontainer/Dockerfile: no such file or directory
        	Test:       	TestBuildFromDevcontainerInCustomPath
FAIL
FAIL	github.com/coder/envbuilder/integration	85.839s

With the included fix, the new integration test now passes.

I use DEVCONTAINER_JSON_PATH to override the devcontainer.json file from the repo (with a patched version), but do not replace the other files in .devcontainer. As currently written, this PR would break my use case.
Maybe we could introduce a DEVCONTAINER_DIR option and you could set that instead?

I use DEVCONTAINER_JSON_PATH to override the devcontainer.json file from the repo (with a patched version), but do not replace the other files in .devcontainer. As currently written, this PR would break my use case.

I see! I missed that use case was captured in the comment for that option:
This can be used in cases where one wants to substitute an edited devcontainer.json file for the one that exists in the repo.

Maybe we could introduce a DEVCONTAINER_DIR option and you could set that instead?

Sounds good to me!

I'm not sure why but this repo's GitHub Actions PR workflows don't seem to run for my PRs 😞. I retested the latest changes on my fork, though: https://github.com/kconley-sq/envbuilder/actions/runs/6727228526/job/18284743541?pr=1


Wrong documentation for  OnAction (File Upload Action) Trigger

The AL Syntax example is wrong:
it should be:
trigger OnAction(Files: List of [FileUpload])
begin
    ...
end;

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

ID: bddb3a34-257c-1d06-5bda-651031765750
Version Independent ID: bddb3a34-257c-1d06-5bda-651031765750
Content: OnAction (File Upload Action) Trigger - Business Central
Content Source: dev-itpro/developer/triggers-auto/fileuploadaction/devenv-onaction-fileuploadaction-trigger.md
Service: dynamics-365-business-central
GitHub Login: @SusanneWindfeldPedersen
Microsoft Alias: solsen

Thanks for your feedback. This is auto-generated content that reflects the source code, so the fix needs to be done there. I'll open a bug, thanks.


Adding content in About Us page

Currently About Us page is not there and the link is just a placeholder. Need to update it with details like the mission of the project, project leaders, contributors and other details.

Added the basic about us page in release https://github.com/SasanLabs/VulnerableApp-facade/releases/tag/1.0.0.
Will create another issue with more specific requirement.


php on a specific page

Tell me how to place PHP code on a specific page, for example contact_form(), display a contact form (plugin) on the Contacts page (/contact)? Works only on Home...

@Vell61
you can use an if statement and echo the contact form there in your template:
currentPage == 'yourNewPage') {
    } else {
        echo the contact form
    }
?>


3 questions

Awesome work looking forward to trying it out! Before I dig in, couple questions:

How well does it work in a sub-fold multisite environment?
How would one go about transitioning images from WP Offload Media Lite with it using s3 for storage
Could it work with amazon s3 offline plugin where it gets priority over the s3 offline plugin

are you making a "Functions" folder type worker? One thing that might worry me on those scenarios is all the bots using puppeteer and then eating up worker quotas for an account

are you making a "Functions" folder type worker? One thing that might worry me on those scenarios is all the bots using puppeteer and then eating up worker quotas for an account

If you are talking about Pages, no. I made a regular Worker.
Whilst blocking puppeteer and bots is out of the scope of my project, that can be easily done from the Worker (also CF already does that).
On top of this, with my Worker HTML caching can be used. On top top of this, CF Images are cached once resized and you don't pay for accessing. On top top top of this, Workers have crazy Read limits... and more.

looking forward to seeing what you make! Been playing alot with workers as well, fun stuff.


Decide whether we want to use V1 in mnemonics

Enums.td and Ops.td don't, while Attrs.td and Types.td do. Let's decide on a consistent policy and execute on it.

Same applies to variable names like kArrayAttr, kDictionaryAttr.


Where can i got the source code download url of version 1.0.31, like 1.0.24：https://github.com/Yaffle/EventSource/archive/refs/tags/1.0.24.tar.gz

I have created a new release

I have created a new release

Thanks


Changed Last Button from Reset to New Client and Edited CSS to have i…

…t on one line

Sorry. I messed up your PR. Will fix.


Include aliases in repo

From https://github.com/giberti/commonmark-emoji-extension/tree/v0.3#providing-aliases:

Providing Aliases
GitHub and Slack both shortcuts that do not map directly to the official Unicode CLDR Short Name. Mappings can be injected at the time the instance of EmojiExtension is created.
The Aliases should be passed as an associative array with the key being the new alias and the value being the CLDR Short Name equivalent.
$aliases = [
    ':coffee:' => ':hot_beverage:',
    ':smile:' => ':grinning_face_with_smiling_eyes:',
    // ... any other aliases you wish to support
];

Perhaps provide the list in this project itself to prevent duplication of multiple parties?

I did consider that, but I believe it goes beyond the purpose of this package. The primary concern is how to handle internationalization.  It's a veritable pandora's box. The names used in the emoji-data package can be handled by internationalization already because they're simply a constant safe variant of the official Unicode names.
For example, :coffee: vs. :caffè: vs. : kaffi: vs. : kofe: vs. : café:

I had in mind that maintaining the lists for GitHub and Slack aliases is community maintained. Maybe they already have, I have not searched.


Landing Page (Tour & travel)

Issue:  #574
Description:
This project is an exciting and comprehensive tour and travel project designed to revolutionize the way people plan, book, and experience their dream vacations.
Features :-
-> ExploreX offers a user-friendly website built with cutting-edge technology.
-> We used React, Bootstrap, HTML, CSS, and JavaScript to create a seamless and visually appealing
experience.
-> Connect with fellow travellers, share your experiences, and get inspired by their journeys.
-> Stay up-to-date with travel trends and tips to make the most of your adventures.
-> Web-based interface that works smoothly on desktop and mobile devices. Intuitive navigation and
user-friendly design.
Screenshot:

Hi @Haris-Mohanty ,

Please follow the guidelines mentioned in the readme file and update your PR.
Please delete public folder, we don't upload this folder as this is a distribution folder for deployment.

Hi @Haris-Mohanty, Please follow the guidelines mentioned in the readme file and update your PR. Thank You

@thinkswell, PR updated pls check and tell if getting more issues with the project.

@thinkswell, Please check and add feedback. Thank you !🙏 Before merge the pr a request you to add the Hactoberfest-accepted label please.

Hi, There are still some issue with the directory, to be specific please use -
LandingPage/Haris-Mohanty/...yourfiles
Rest looks good to me.
Thank you for your contribution. Eventhough, there is no need to hacktoberfest-accepted label for this repo, but I will add this label to ensure your count towards hactoberfest.

@thinkswell, Please replay?

Hi @thinkswell, Can I change my project name to LandingPage/Haris-Mohanty/ExploreX, then it will be ok? Please replay.

sure.

Hi @thinkswell, Good Morning. Please check now, the file name was changed.
A big request you to add the Hactoberfest-accepted label please.


When upgrading from 0.45 to 0.46 (or higher) getting Cannot read property 'bind' of undefined

Describe the bug
With 0.46 or higher getting the error Cannot read property 'bind' of undefined
Occurs in next-i18next version
0.46 or higher
Additional context
I've tracked it down to the lines in transpiled CommonJS where consoleMessage getter is defined.
Object.defineProperty(exports, "consoleMessage", {
  enumerable: true,
  get: function get() {
    return _consoleMessage.default;
  }
});

It appears that _consoleMessage is an empty object so default is undefined, and then .bind is called on it.
This looks surprising and the only explanation I see is that some circular import is happening in which case some of the modules would indeed obtain an empty object from require. But I wasn't able to figure out where such import would happen.
Environment
macOS 10.14.6
❯ node -v
v8.16.0
❯ npm -v
6.9.0
❯ yarn -v
1.16.0

Can you please provide a reproducible repo?

I'll try to though the current project is fairly big

Probably your Node version and environment will also be important on this one, as it seems related to module resolution.

Added

https://www.dropbox.com/s/nvvnsp3g4fmv4rl/bind-undefined-repro.zip?dl=0
can you check this, please?

The error you are experiencing is because you are re-transpiling next-i18next within node_modules. Check your next.config.js file.
If you want to transpile your own deps, you need to consume the es target.

Oh, good catch.
I didn't author that line and didn't realize its effect. For some reason it
used to be needed but can be removed now I think. Thanks!
On Fri, Jul 26, 2019, 17:50 Isaac Hinman<EMAIL_ADDRESS>wrote:

Closed #424 https://github.com/isaachinman/next-i18next/issues/424.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/isaachinman/next-i18next/issues/424?email_source=notifications&email_token=AAEAMCCJTG4KKFPBXXVY733QBLXIBA5CNFSM4IHCUVZ2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOSXAWNKI#event-2512479913,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEAMCG6EAKOMGYJGJUR5OLQBLXIBANCNFSM4IHCUVZQ
.

Okay, 19 days later I've figured out why we had this line (which I have actually authored a long time ago).
Somehow even given the fact this module defines the commonjs as its default export we're getting the ES code in our bundle:
https://monosnap.com/file/dGl0hp5q4Yzqj39RIoOUzK0zyeq4tj
This non-transpiled splat breaks the site in Edge, for example.
Any idea why this is happening? I cannot imagine how and why webpack would prefer to import the dist/es version.

UPD: ah, I think I know what's happening. A dependency of our project depends on this module v0.45 that has the ES exports.


link to source image missing

there seems now no way back to the source image on Zenodo, as used to be in earlier iterations.

There is only an access to the treatment in TB or BLR, and the direct link is missing, which for me is needed and logic to be clear about the provenance of the image.

ok, that link to the full image on Zenodo is easy to provide. But isn't the provenance of the image the parent treatment?


Fix/show errors

So, the errors that happen don't show in the front end, and it should. Don't know why it was running in a spawn, but it shouldn't and now we can see the errors.
This was a quick life quality that @kn0wmad was running into and I believe that this should be showing that something didn't work.

The problem is that now it is synchronous, but the issue here is that you may lose the connection while it tries to connect.  We should go over what this attempts to solve on Monday because I'm not up to speed with the rest of your WiFi changes and maybe this is no longer needed.

[ ] Need to async this message to frontend
[ ]

Removed the rest of the wpa to network renaming


UnhandledPromiseRejection(s) from .some, .any, etc

What version of bluebird is the issue happening on?
3.7.2
What platform and version? (For example Node.js 0.12 or Google Chrome 32)
NodeJS 12.16.2
Did this issue happen with earlier version of bluebird?
Yes

When using Bluebird methods that resolve as soon as one of many promises has resolved, if any of the others are rejected, this results in an UnhandledPromiseRejection.
It doesn't seem like there's a clean way to handle the: resolution/rejection of the first promise to be resolved/rejected and additionally and separately handle: any rejections of the other promises. If anybody has any suggestions, I'm all ears.
Example:
const bluebird = require('bluebird');
const goodFn = () => Promise.resolve('success');
const badFn = () =>bluebird.delay(200).then(() => { throw new Error('failure'); });
bluebird.any(goodFn(), badFn()).then(console.log).catch(console.error);

In this example, I am unable to handle the rejection of badFn. I could handle rejections globally, but I don't really want to resort to that; it would be nice if Bluebird was able to be provided a handler that is used for all promises of some/any/etc that are rejected after the first promise has resolved.

Bluebird.any takes an array (or other iterable) as its argument, not multiple arguments.

Bluebird.any takes an array (or other iterable) as its argument, not multiple arguments.


[Feature][Web] Add the function of one-click recycling for automatic cluster registration in [Registration Center]

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
【注册中心】-【集群】-【Flink 实例】界面，在升级到 1.0.0 版本后，取消掉了一键回收失效集群的功能，现在需要一个一个的删除。希望增加批量操作功能
Use case
No response
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

目前自动回收，请看官方文档

目前自动回收，请看官方文档

了解


Divided endpoints based on faucet or drip bot

This PR tries to divide the endpoints into two different methods.
It adds a couple of improvements to reduce duplicated code.
Endpoints
It created the following endpoints:

faucet/
drip-v2/

I kept the default drip endpoint to not break the already existing implementation, but if drip-v2 works, we could replace drip with that one.
The faucet endpoint only handles the expected values coming from the faucet clients (!ink docs and the web faucet) while the drip endpoint handles the other part of the requests.
This way we remove ifs from the code and can also isolate the endpoints.
It adds a couple of improvements to reduce duplicated code.
Middleware
const addressMiddleware = (
  req: Request<unknown, DripResponse, Partial<DripRequestType>>,
  res: Response,
  next: NextFunction,
): void => {
  if (!req.body.address) {
    return missingParameterError(res, "address");
  }
  next();
};

It creates this middleware to ensure that the field address is not empty.
Status code in errors
As the current implementation doesn't return an error status code, I add them so the system can show an error on the request. I also added HTTP codes based on the type of errors.
res.status(400).send({ error: "Operation failed." });

Missing field error
I simplified the code of a missing variable into a method that is void (so it can be returned too)
const missingParameterError = (res: Response<DripErrorResponse>, parameter: string): void => {
  res.status(400).send({ error: `Missing parameter: '${parameter}'` });
};

I applied the requested changes. I'm looking forward to have some kind of implementation like suggested in https://github.com/paritytech/substrate-matrix-faucet/issues/205 to stop us from having to do those external config checks as it would be cleaner.

✅ but there's a room for improvement going forward:
* add integration / e2e tests for server overall, including old and new endpoints

* validate parachain_id as it's user input

I agree, I'll make two different issues to handle those cases and work on them as they are a big task by itself.
#212 and #213 will handle then.


Unable to parse backend config for custom call: Could not convert JSON string to proto: Expected : between key:value pair.

Description
The following test code produces the aforementioned error when using JAX v0.4.37 (its works error free before this). This is running on Ubuntu 24.04 with Python 3.12 and using CUDA 12.4
def compute_svd_rot(m: jnp.ndarray, eps=1e-10) -> jnp.ndarray:
    """Maps 3x3 matrices onto SO(3) via symmetric orthogonalization.
    Source: Google research - https://github.com/google-research/google-research/blob/193eb9d7b643ee5064cb37fd8e6e3ecde78737dc/special_orthogonalization/utils.py#L93-L115
    """
    """
    m = jax.lax.cond(jnp.linalg.matrix_rank(m) < 3,
                     true_fun=lambda x: x + jnp.eye(3) * 1e-10,
                     false_fun=lambda x: x,
                     operand=m)
    """
    m_reg = m + jnp.eye(3) * eps
    U, _, Vh = jnp.linalg.svd(m_reg, full_matrices=False)
    det = jnp.linalg.det(jnp.matmul(U, Vh))
    return jnp.matmul(jnp.c_[U[:, :-1], U[:, -1] * det], Vh)

jit_compute_svd_rot = jit(compute_svd_rot)

# test compute_svd_rot, input is a (3,3) array
test_input = jnp.array([[1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]])
test_output = jit_compute_svd_rot(test_input)
print(test_output)

2024-12-10 23:49:08.560387: W external/xla/xla/service/gpu/ir_emitter_unnested.cc:1171] Unable to parse backend config for custom call: Could not convert JSON string to proto: Expected : between key:value pair.
= true, full_matrice
^
Fall back to parse the raw backend config str.

System info (python version, jaxlib version, accelerator, etc.)
jax:    0.4.37
jaxlib: 0.4.36
numpy:  1.26.4
python: 3.12.2 | packaged by conda-forge | (main, Feb 16 2024, 20:50:58) [GCC 12.3.0]
device info: NVIDIA GeForce RTX 4090-1, 1 local devices"
Driver Version: 550.135        CUDA Version: 12.4

Thanks for the report. This is known and I believe that's a warning, not an error. Are you seeing a runtime exception somewhere, or just extra logging?
cc @ezhulenev

Just the warning / extra logging.

Hi,
Is there any way to suppress this warning?

This should be fixed in the nightly jaxlib. I don't know if there a way to suppress the warning otherwise, unfortunately.


Where does loadMoreAction action get's handled?

in _checkIfInView() you call this.sendAction('loadMoreAction'); but I don't see this action to be handled anywhere. do I have to handle it myself?

it bubbles out of the component and is handled in the InfinityRoute

@hhff well I don't find this action inside mixins/route.js, perhaps there is a special way of handling it. As a side note, I don't seem to be successful implementing this library in my app. I know the issue is closed but I will post some of my code, perhaps you have a clue why it's not working for me.
/app/routes/index.js
import Ember from 'ember';
import InfinityRoute from "ember-infinity/mixins/route";

export default Ember.Route.extend(InfinityRoute, {

  perPageParam: "filter[limit]",
  pageParam: "filter[skip]",
  totalPagesParam: "meta.total",

  model() {

    var lastMonth = new Date();
    lastMonth.setDate(lastMonth.getDate() - 31);

    return Ember.RSVP.hash({
      videos: this.infinityModel("video", {
        perPage: 20,
        startingPage: 1,
        filter: {
          where: {created: {gte: lastMonth.toISOString()}},
          order: 'sourceViews DESC',
          include: ['channel']
        }
      })
    })
  }

});

/app/templates/index.hbs
<div class="index-page">
  {{#if model.videos}}
    {{video-cards-grid items=model.videos}}
  {{/if}}
  {{infinity-loader infinityModel=model.videos}}
</div>

endpoint response object
{
    "meta": {
       "total": 1000
    },
    "data": [
        {...},
        {...}
    ]
}

then on the page it prints Infinite Model Entirely Loaded. I have debugged from the lib directly and for some reason the total pages gets passed as undefined.
Ideas?

The corresponding route action is named infinityLoad - you can see the external action named explicitly here.
Because your infinity model lives at model.videos, you'll want to add this:
  model() {
    var lastMonth = new Date();
    lastMonth.setDate(lastMonth.getDate() - 31);

    return Ember.RSVP.hash({
      videos: this.infinityModel("video", {
        perPage: 20,
        startingPage: 1,
        modelPath: 'controller.model.videos', // <--- This line
        filter: {
          where: {created: {gte: lastMonth.toISOString()}},
          order: 'sourceViews DESC',
          include: ['channel']
        }
      })
    })
  }

Give that a try and let me know :+1:

@hhff hmm, same thing, the initial 20 items are successfully loaded, however when I hit the bottom it still says Infinite Model Entirely Loaded. and no requests are made when inspecting the developer console as well the ember console data shows 20 results.

I'd need to see the repo directly to know what's going on sorry @teckays !  I'm sure it's a super simple config thingy

@hhff unfortunately I can't give you full access to the repository, however I can make some gists.

@hhff https://gist.github.com/teckays/ab6a86368f6b1e2f32a4


Adding initial structure for opensearch

What changed, and why it matters
Added folder structure and container topics
Added the first draft of the overview file

closing for duplication


[Smooth Scroll] Javascript documentation is confusing

This Issue is a complaint about documentation confusion.  This particular issue is written for this one page, however, the underlying problem is systemic to the entire Zurb documentation site.
Basically, the Javscript help portions of the site tend to be rather confusing.
My Use Case:

I'm using Panini + Zurb Template

Tonight I decided to attempt to add a mouse wheel scrolling feature to my web site.

I head over to Zurb's docs where I find the page on smooth-scroll and discover that this mouse wheel feature isn't part of Zurb.  So, skipping that, I write my own javascript function to handle the mouse wheel and I get to the point where I need to call (I think) scrollToLoc. (because the doc page says so)

The Zurb docs say to do this:
$('#element').foundation('scrollToLoc', loc, options, callback);

This is where the confusion happens.  What is #element? What is loc?
My page is setup like this:
NOTE: It would be very helpful if the javascript page showed code like this as well.  It took me about 15-20 mins poking around the site to figure this out.

hello, world

I like cake

Nintendo makes fun games

Here's the mousewheel code (using jquery plugin)
$(window).on('mousewheel', function (e) {
  console.log(e.deltaY);
  // calculate which panel we are closest to above and below
  // now we have a jquery selector for the panel that we want to scroll to
  // and... now what?
});

What should the call be? None of these work:
$(document).foundation('scrollToLoc', $('#panel2'), {threshold: 50, offset: 100}, function(){console.log('scrolled');});

$(this).foundation('scrollToLoc', $('#panel2'), {threshold: 50, offset: 100}, function(){console.log('scrolled');});

$('#panel1').foundation('scrollToLoc', $('#panel2'), {threshold: 50, offset: 100}, function(){console.log('scrolled');});

I have tried other crazy combinations as well.  The error always seems to be ReferenceError: We're sorry, 'scrollToLoc' is not an available method for this element.
Again, this issue is about the documentation.  What is the documentation telling me?  Is it assuming something that I should have known?  What is supposed to be in $('#element')?  What goes in loc?  Why don't my ideas work?
To compound things, the docs have lines like this:
var elem = new Foundation.SmoothScroll(element, options);

They don't work in Panini + Zurb Template.
Another frustration is all the mention of this all around the docs site.
    foundation.core.js
    foundation.smoothScroll.js

If you go to Foundation for Sites 6 home page, click the "Download Foundation 6" button, then "Download Everything", the resulting zip file, does not have these javascript files in it. Not in Essentials or Custom either.  This information is not helpful on the docs page. Maybe it's helpful to a developer who is wanting to contribute to Foundation.  So maybe put this at the bottom of the page, next to a discrete label that says something like "For Developers - Look in GitHub for these two files. They are here"
Imagine you are brand new to Zurb.  You type in a few of these code samples and nothing works.  You see these js files that aren't in the package.  You stumble on the Zurb Template and it's no better about this...
Total Time Spent: 4.5 hours
Expected Outcome

Please put html snippets on the pages with the Javscript
Please describe in detail what #element is and what loc is
Please mention what is the difference between Smooth Scroll and Magellan?  The code samples seem to result in the same sort of thing.

Hi @dagostinelli. I'll try to reply to all your points and questions.

Tonight I decided to attempt to add a mouse wheel scrolling feature to my web site.

At first as a webdesigner I have to warn you: it may seem to be "smooth and beautiful" but in most case this is not a good idea to control the user scroll. This often prevents a free move across the webpage, adds delays, doesn't play well with trackpads and for all these reasons may cause disconfort or frustrations. Scroll must be free.

$('#element').foundation('scrollToLoc', loc, options, callback);
This is where the confusion happens. What is #element? What is loc?

You found that in the "Methods" section of the Smooth Scroll documentation. Methods can be called on Foundation plugins instances. This means that you first have to create a plugin instance call methods on it later.
For SmoothScroll it is a bit different: its only method scrollToLoc is static, it can be called on the SmoothScroll plugin class directly and does not need an instance.
So you can do:

Section

Foundation.SmoothScroll.scrollToLoc('#section');

But if you want to call it on a jQuery element $(<element>).foundation(<method>), the element must be a SmoothScroll instance.
For example:
Link to section

Section

// Move to section
instance.scrollToLoc('#section');

Of if you want to manually instantiate the plugin:
Link to section

Section

// Manually create a SmoothScroll instance
const instance = new Foundation.SmoothScroll('#link-to-section');
// Move to section
instance.scrollToLoc('#section');

You may have guessed it now: element is the DOM element you want to create a SmoothScroll instance on. For SmoothScroll you can create an instance on a link, that will make the page smoothly scroll to the link target instead of jumping to it when you click on the link. loc is the target you want to scroll to.
But there isn't any advantages with using the last two example in your case because all you want is to call "scrollToLoc" manually. As this is a static method, there is no need to create an instance and call it via jQuery.
The exampel $('#element').foundation('scrollToLoc', loc, options, callback); is automatically generated and as explained above it misleading because scrollToLoc is a static method. We may have to fix our documentation generator to use others examples for static methods.

It would be very helpful if the javascript page showed code like this as well. It took me about 15-20 mins poking around the site to figure this out.

I don't understand what you expected the documentation to show you. If you're talking about the list of section with their dedicated ids, well it's not the expected usecase for SmoothScroll. We may have to improve the scrollToLoc documentation but you are free to organize your HTML as you want. All scrollToLoc is expecting is an target.

What should the call be? None of these work:

This should work:
Foundation.SmoothScroll.scrollToLoc('#panel2', {
  threshold: 50,
  offset: 100
}, function(){
  console.log('scrolled');
});

The error always seems to be ReferenceError: We're sorry, 'scrollToLoc' is not an available method for this element.

As explained above: $(<element>).foundation(<method>) should be called on elements with a Foundation plugin instance associated to it. Using <div id="element" data-<plugin> > in the HTML or manually creating a plugin instance with new Foundation.<plugin>('#element'); will create an instance on #element and allow you to call $('#element').foundation(<method>);

To compound things, the docs have lines like this:
var elem = new Foundation.SmoothScroll(element, options);

They don't work in Panini + Zurb Template.

Please explain. What doens't work ?

Another frustration is all the mention of this all around the docs site.
  foundation.core.js
  foundation.smoothScroll.js

This means that if you import Foundation plugin per plugin, you have to make sure that these plugins are imported. See https://foundation.zurb.com/sites/docs/javascript.html#file-structure
When you use foundation.js you can ignore this, all plugins are included in it.

Please mention what is the difference between Smooth Scroll and Magellan? The code samples seem to result in the same sort of thing.

I would advise you to take a closer look at the documentation, each plugin role is correctly explained. Smooth Scroll allow you to make a link smoothly scroll to its target. Magellan track where you are in the page and update its list of links according to it. Magellan uses SmoothScroll when you click on one of its links and provide its own options to customize the scroll animation.

So you are right on some points and the documentation can be improved about how to use static methods and how to create plugin instances with and without jQuery. For your others points I think I replied to them. Let me know if something is still unclear.
I'm letting this open as there is some work to do in foundation-docs.


kernel: init: generate init entries as arrays

This is an attempt to progress features that will be required by #22545, which I see as:

Method to specify dependencies between init objects (whether #49318 or otherwise)
Method to reorder init entries, based on the information gained from 1.

All ordering is currently done through linker section naming. Reordering the init entries in later linker passes cannot be done without changing the sections associated with each init entry. As this information is in the compiled object object files, this would require either recompiling the source or modifying the object files in-place. The first is not practical due to compile time considerations, the second for incremental recompilation reasons.
Generating C arrays that are then used for later linker passes will allow the tool that generates the arrays to take advantage of additional information available after the first linker pass.
This approach has two main consequences:

All device structures must be globally visible (not static)
Init functions must be globally visible (not static)

The first is a minor change, as only manually instantiated devices (not through devicetree) are currently static. The second is a much larger change, necessitating treewide changes. Only enough init functions are currently updated to enable west build -b qemu_cortex_m3 zephyr/tests/lib/devicetree/devices/ -t run to pass, to minimize noise on this PR while it is in draft.
This PR only introduces the infrastructure, and does not attempt to take advantage of any dependency information.
The generated source file looks like this for the working test:
/*
 * Generated by gen_init_arrays.py
 */
#include <zephyr/device.h>

/* Init functions */
int dev_init(const struct device *dev);
int sys_clock_driver_init(const struct device *dev);
int uart_console_init(const struct device *dev);
int ti_lm3s6965_init(const struct device *dev);
int uart_stellaris_init(const struct device *dev);

/* Manually instantiated devices */
extern const struct device __device_manual_dev;

/* Init Level: PRE_KERNEL_1 */
const struct init_entry init_entries_PRE_KERNEL_1[] __attribute__((__section__(".z_init_PRE_KERNEL_1"))) = {
	{.init = ti_lm3s6965_init, .dev = NULL},
	{.init = uart_stellaris_init, .dev = NULL},
	{.init = uart_stellaris_init, .dev = &__device_dts_ord_20},
	{.init = uart_stellaris_init, .dev = &__device_dts_ord_19},
	{.init = uart_stellaris_init, .dev = &__device_dts_ord_18},
	{.init = uart_console_init, .dev = NULL},
	{.init = dev_init, .dev = &__device_dts_ord_25},
};

/* Init Level: PRE_KERNEL_2 */
const struct init_entry init_entries_PRE_KERNEL_2[] __attribute__((__section__(".z_init_PRE_KERNEL_2"))) = {
	{.init = sys_clock_driver_init, .dev = NULL},
};

/* Init Level: POST_KERNEL */
const struct init_entry init_entries_POST_KERNEL[] __attribute__((__section__(".z_init_POST_KERNEL"))) = {
	{.init = dev_init, .dev = &__device_dts_ord_26},
	{.init = dev_init, .dev = &__device_dts_ord_27},
	{.init = dev_init, .dev = &__device_dts_ord_29},
	{.init = dev_init, .dev = &__device_dts_ord_28},
	{.init = dev_init, .dev = &__device_dts_ord_31},
	{.init = dev_init, .dev = &__device_dts_ord_33},
	{.init = dev_init, .dev = &__device_dts_ord_24},
	{.init = dev_init, .dev = &__device_manual_dev},
	{.init = dev_init, .dev = &__device_dts_ord_30},
};

/* Init Level: APPLICATION */
const struct init_entry init_entries_APPLICATION[] __attribute__((__section__(".z_init_APPLICATION"))) = {
};

/* Init Level: SMP */
const struct init_entry init_entries_SMP[] __attribute__((__section__(".z_init_SMP"))) = {
};

One cheap win that this sort of approach enables (without any additional dependency information), is a resolution to the problem in #47150. Examine the initial ordering for devices with the same init function/api pointer, and reorder them to respect any devicetree dependencies between them.
A more invasive diagnostic could be to produce warnings/errors if the init ordering does not match devicetree dependency ordering.

All device structures must be globally visible (not static)
Init functions must be globally visible (not static)

These two changes are pretty huge, the unfortunate thing is that these then present function visibility to applications which should not be visible, as possible abuse, misuse or even an attack vector, and defeats the purpose of having these functions only callable through the public API functions (if the driver allows it). I made some changes to test ordering on https://pastebin.com/UjUU1QQW with the idea of checking if a single driver with multiple possible bus types would work (SPI/I2C) but would need the additional work of re-ordering to be able to test that.

the unfortunate thing is that these then present function visibility to applications which should not be visible, as possible abuse, misuse or even an attack vector, and defeats the purpose of having these functions only callable through the public API functions (if the driver allows it)

I agree that losing the ability to have the init functions static is a downside of this approach, part of posting this PR was to see if anyone could come up with an alternate solution to the problem.
I would like to dig a little deeper into your abuse/misuse/attack comment. We're compiling embedded code here, if someone absolutely wants to rerun an init function (which is going to exist in the .lst file regardless), they can just construct a pointer and jump to it. I don't see how this is any different/worse than any code being able to arbitrarily corrupt other devices by doing ((uint8_t*)(DEVICE_DT_GET(nodelabel)->data))[2]++;. Maybe I'm missing some consideration here though.

I made some changes to test ordering on https://pastebin.com/UjUU1QQW with the idea of checking if a single driver with multiple possible bus types would work (SPI/I2C) but would need the additional work of re-ordering to be able to test that.

Sorry I'm not sure what you're trying to say here, or how the multiple bus types are relevant.

I agree that losing the ability to have the init functions static is a downside of this approach, part of posting this PR was to see if anyone could come up with an alternate solution to the problem.

An alternative that comes to mind would be to have this processing take place in the kernel itself, though this would mean larger output size. Then the hierarchy/dependency list would need to be presented by going through the devicetree.

I would like to dig a little deeper into your abuse/misuse/attack comment.

One part of this is preventing application code from calling the driver functions manually without going through the API, there are drivers that do this already, e.g. https://github.com/zephyrproject-rtos/zephyr/blob/main/drivers/counter/rtc_mcp7940n.c#L395 of which I find ghastly. True, for attacks any instruction can be jumped to.

Sorry I'm not sure what you're trying to say here, or how the multiple bus types are relevant.

Some drivers have support for different bus interfaces, so I created that, more as a note to myself, to check proper priority handling works when e.g. a board has 2 devices, which happens to be the same sensor/driver, one instance on the SPI bus and one on the I2C bus to ensure that the priority of the devices is set correctly.

All device structures must be globally visible (not static)
Init functions must be globally visible (not static)

These two changes are pretty huge, the unfortunate thing is that these then present function visibility to applications which should not be visible, as possible abuse, misuse or even an attack vector, and defeats the purpose of having these functions only callable through the public API functions (if the driver allows it).

Non static device object is a non-issue.
Init functions on the other side, is mostly an annoyance (abuse/attack have always been there, static or not since you can access to the init entry anyway). Now one will have to make sure its device driver's init function, for instance, is unique. Annoyance being that, as long as you do not compile the 2+ drivers that use same init function name it will be fine, but as soon as you do: it will break and it will require a bit of cleaning.
@JordanYates You've been working on this issue (init ordering) for quite some time. But the root problem is how it's done in the first place: a few device instance are not (not yet at least) DTS based, the non-device related init entries (sys_init) cannot be DTS based... etc... As far as I see it, as long as it's done that way we'll be doomed to find a hack around it as you do.
For instance switching to an ideal situation such as:

making all devices DTS based (no manual ones anymore)
adding a dedicated description of the sys_init, something like DTS for dedicated to sys_init in yaml/else (user would use DTS aliases to relate the devices(s) and the relevant sys_init) with its own python script.

would solve it since from the order given by DTS, then the sys_init description, all the init entries could be properly ordered, it would also remove the level/prio as well.
But it's an ideal way, and the current context is far from it. I am not saying you should stop working on this, but perhaps change the approach. That said, such hack could be an in-between solution.

@JordanYates You've been working on this issue (init ordering) for quite some time. But the root problem is how it's done in the first place: a few device instance are not (not yet at least) DTS based, the non-device related init entries (sys_init) cannot be DTS based... etc... As far as I see it, as long as it's done that way we'll be doomed to find a hack around it as you do.

I don't have any strong opinions about requiring all devices to comes from devicetree, beyond noting that I've seen a lot of devices in the networking layers that are purely software constructs. Given the discussions I have seen about software in devicetree (i.e. not happening) I doubt this could be resolved without introducing another class of objects (devices, sys_init, soft_devices)

adding a dedicated description of the sys_init, something like DTS for dedicated to sys_init in yaml/else (user would use DTS aliases to relate the devices(s) and the relevant sys_init) with its own python script.

To solve this completely, the following dependency information needs to be able to be expressed:

[x]  Device that depends on other device (Devicetree currently solves)
[ ]  Device that depends on SYS_INIT
[ ]  SYS_INIT that depends on device
[ ]  SYS_INIT that depends on SYS_INIT

Only the first is provided by devicetree, but the devicetree/device model needs to be extended to handle the second.
The options for doing so are:

Devicetree itself (Minimal chance of acceptance)
Devicetree binding files (Minimal chance of acceptance)
At the location of device instantiation (#49318 approach, also solves 3rd and 4th requirements)
A new associated file (yaml or otherwise)

I am not convinced that the overhead of adding a new type of file (and all the infrastructure that implies) would be a net gain over simply requiring uniqueness of SYS_INIT function names. The advantage is obviously that the init orders could be determined BEFORE any source is compiled, removing the need for parsing the .elf. In a completely greenfield scenario I could maybe see this working, if we had a softtree (devicetree but for software) instead of Kconfig. But all the extra utility that a softtree could provide (properties, bindings etc) over dependencies are currently provided by Kconfig.
Absent softtree and the removal of Kconfig, I see this:
SYS_INIT(my_init_function);
SYS_INIT_DEPENDS_ON(my_init_function , DT_ALIAS(console), SYS_INIT_REF(KERNEL));

DEVICE_DT_DEFINE(my_nodelabel, ...);
DEVICE_DT_DEPENDS_ON(my_nodelabel , SYS_INIT_REF(KERNEL));

As superior to:
my_code_subsystem:
  enabled_with: CONFIG_CONSOLE && CONFIG_MY_SUBSYS
  depends_on:
    - dt_alias(console)
    - kernel

some_device:
  nodelabel: my_nodelabel
  depends_on:
    - kernel

SYS_INIT_NEW(my_code_subsystem, my_init_function);
DEVICE_DT_DEFINE(my_nodelabel, ...);

If that is the way that the project wants to go that is fine, I just probably won't have the time to implement such a wide-ranging feature.

I don't have any strong opinions about requiring all devices to comes from devicetree, beyond noting that I've seen a lot of devices in the networking layers that are purely software constructs. Given the discussions I have seen about software in devicetree (i.e. not happening) I doubt this could be resolved without introducing another class of objects (devices, sys_init, soft_devices)

I meant something about that yes. Pure hw devices would come from DTS, and the "in-between layer" would provide the rest (pure sys_init and soft-devices indeed), but... (see below)

1. Devicetree itself (Minimal chance of acceptance)

2. Devicetree binding files (Minimal chance of acceptance)

Yep it's never going to happen. Issue being that DTS is meant to be OS agnostic it seems, or at least that's the goal.

I am not convinced that the overhead of adding a new type of file (and all the infrastructure that implies) would be a net gain over simply requiring uniqueness of SYS_INIT function names. The advantage is obviously that the init orders could be determined BEFORE any source is compiled, removing the need for parsing the .elf.

What worries me is that knowing how badly our init ordering is flawed: hacking around it is probably not going to be solid enough. Currently, it's almost 100% manual ordering. With your PR it adds some automation to fix any potential manual errors. Thus my point: why not going full automatic, but again:

In a completely greenfield scenario I could maybe see this working, if we had a softtree (devicetree but for software) instead of Kconfig. But all the extra utility that a softtree could provide (properties, bindings etc) over dependencies are currently provided by Kconfig.

Yes exactly... Kconfig is on the way. It is partially acting like a softtree but it's not meant for it and thus does a poor job there.
However, I don't see a softtree working on its own without Kconfig since this one is nice for enabling big software features/subsystems, the softtree would use the Kconfig options to know which sys_init/soft_devices are then present.

If that is the way that the project wants to go that is fine, I just probably won't have the time to implement such a wide-ranging feature.

yes it's a tremendous amount of work. The softtree is imo much cleaner and solid in the long run but: we still have some parts of Kconfig that should belong to DTS (pure hw config stuff), manual hw device instance that should go DTS, and this is the tip of the iceberg that needs to be cleaned up before starting to introduce any softtree. And then we must ensure that such mess does not get introduced again...
Perhaps your approach is in fine the most realistic one. I am not blocking this PR because of that. Let's see what others think.

Currently, it's almost 100% manual ordering. With your PR it adds some automation to fix any potential manual errors. Thus my point: why not going full automatic

This is meant to be the other side of #49318. It provides the "automatic" dependency info, this provides the mechanism to act upon it. I split it up to ease review. Assuming both sides are accepted, it's just a matter of playing with gen_init_entries.py to automatically order everything.


Python Script that combines arbitrary point-based data into geographic zones

We have various zone types:

Zip code
Neighborhood Cluster
Ward
Census Tract

We have several point-based data sets:

Building permits
PUD applications
Crime events
Subsidized buildings

We want to be able to calculate membership in any arbitrary zone. Using the Project.csv flat file, write a script that can read the lat/lon and assign it to the appropriate zone.  Geojson files indicating the boundaries of each zone type are available here: \housing-insights\javascript\tool\data.
First version of the script should be able to take a record and return which specific zone it is a member of for each zone type. Eventually we will use this both to geocode specific records and to create things like zone averages, mins, max etc.

Need this ASAP so D3 team can use in their first tool version - if anyone else can commit to getting a proof of concept by our Tuesday meeting let me know, otherwise I'll take it on.

Closing in favor of geocoding our data with ward/neighborhood cluster/zip/census tract on it's way in (denormalized data)

#149 is the ticket for MAR geocoding


Version.dll not to be found

version.dll is not located in my x64 folder

Then put it there? It's included in the release.zip. The entire zip file should be extracted to bin/x64


Add Mahan Kosh dictionary / reference

Hi Guys,
Firstly, keep up the good work and its amazing you have an open source project related to Gurbani. Waheguru hor vi kirpa karey..
Is there any interest in adding Mahankosh by Kahn Singh Nabha?

Yes there is interest, we do have the database file for Mahan Kosh.
The problem is that there are certain Gurmukhi characters created just for Mahan Kosh and we haven't spent much time on how to display is a proper manner that follows standards.

Related to #35

@harpreetkhalsagtbit The Database file is from the same team that made the digital Mahan Kosh pdf. Not sure if decoding is needed.

Can I have that? If it is not some proprietary thing.

@harpreetkhalsagtbit The Database file is from the same team that made the digital Mahan Kosh pdf. Not sure if decoding is needed.

Can I have that? If it is not some proprietary thing.

It will eventually be added to the Shabad OS DB, or as a add-on DB.

Originally Posted in Slack by @Harjot1Singh
Considerations

[x] One definition to many words
[x] One word to many definitions
[x] Dekho smart-linking
[ ] Font research

Structure
{
   An: {
       definitions: ['definition1', 'definition2'],
       synonyms: []
   },
   Har: {
       definitions: ['definition4', 'definition5'],
       synonyms: ['Hari', 'Parmaatma']
   },
}

Storage
dictionaries/Mahan Kosh.json etc
Smart Linking
Automatically pick up "dekho" references and add the correct destination as a separate field in the database
Output Transformation
dictionary table, with dictionary_source_id that references to another table, dictionary_sources

@Harjot1Singh points for instigating? Not for adding any content.

I honestly think we can just map it to the Hindi characters directly. But Urdu might be difficult.

Looking back on this, this is not possible. Mahan Kosh has Hindu and Urdu words, so their charmaps cannot be used (and it would still break the standard).

The custom characters in mahan kosh are not according to the standards, nor
will be for the far foreseeable future. Meeting standards should not be a
goal, since it's unattainable.
Can the Unicode characters for each language be used? Perhaps using them
together breaks rendering of particular words/phrases, but I don't see
evidence of that yet.
On Mon, Jun 22, 2020, 00:45 Sarabveer Singh<EMAIL_ADDRESS>wrote:

I honestly think we can just map it to the Hindi characters directly. But
Urdu might be difficult.
Looking back on this, this is not possible. Mahan Kosh has Hindu and Urdu
words, so their charmaps cannot be used (and it would still break the
standard).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ShabadOS/database/issues/867#issuecomment-647272622,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADLZ3B2N7OTNGAKVYQ4G6O3RX3OXLANCNFSM4IL7ZUUA
.

Can the Unicode characters for each language be used? Perhaps using them
together breaks rendering of particular words/phrases, but I don't see
evidence of that yet.

Yes it would because Hindu and Urdu is used in the dictionary.

we do have the database file for Mahan Kosh.

Is it publically accessible?
@sarabveer @Harjot1Singh


Update documentation about Cues

Cues can only be decimals or integers (as stated earlier in the documentation).

Thanks for the feedback, much appreciated!


Observable.interval(ms) is confusing

The example gives interval(10) and emits values 0 through 9. The time parameter should differ from the amount of events so that it's clearly not related. The example marble also seems to close at the 10:th event which adds to the confusion.

yes I agree to @krokofant
The interval example is not correct. At emit-value number 9, the stream is market as completed, but interval does not complete.


Making some UI enhancements.

New Mockup
Please check assets/css/global.css, design-assets folder images, and figma files for updated style guides. Any new pull request should use the updated color, spacing, and sizing variables.
No Bootstrap or jQuery
Please refrain from adding Bootstrap or jQuery to the site. These pr's will be closed. They overwrite global styles. Vanilla CSS and JS is way better now anyways 😊
New Task:
//: # Making some UI enhancements to the site
What is the task

The submit button can be made to change its color when hovered.
We can add a counter tag to the pricing section to make it look better.
Making the social media buttons appear in bold instead of italics when hovered over.

Who is the task for?

[x ] I created this task for me to complete, I will create a PR soon.
[ ] I created this task for someone else to claim.
[ ] I think this is a task that multiple people can do

Confirm all of the following:

[ x] I have looked at all the issues currently available and this does not exist or overlap with another ticket

⚠ PLEASE ONLY SUBMIT A PR FOR THIS TASK IF THIS TASK WAS AVAILABLE FOR YOU TO CLAIM

I'm working on this issue and will make a PR soon.

I'm unsure what you mean by UI enhancements. Please make a new issue with a specific item so we do not create conflicts.


[Bug] [TVMScript] T.power or T.pow?

Hi all,
When I use TVMScript, I find a problem about the roundtripability of the intrinsic tir.pow. Currently, we use T.power to express that we want to call the intrinsic tir.pow, but when we print the script, it becomes "T.pow" which can not be parsed by the parser any more.
So, for the roundtripability of the intrinsic tir.pow, which name should we use?
(For the printer, it will use the intrinsic name pow to print, so if we use T.power, it maybe means that we need to change the intrinsic name.)
cc @junrushao

Thanks for bringing this up! The naming inconsistency is definitely an issue we should fix. Ideally, if the intrinsic name is pow, we should probably stick with pow everywhere. Would you mind sending a fix?

Of course not.


react nativekeyboard aware scrollview work wrong  view render later

sorry my english too bad but i have issuse.

I have 2 button
when click them it will render another view
i used react-native-keyboard-aware-scrollview
But it  worked wrong for me.

<KeyboardAwareScrollView
resetScrollToCoords={{ x: 0, y: 0 }}
scrollEnabled={true}
contentContainerStyle={{ flex: 1 }}
>

<Image
source={require("../../static/images/ic_logo.png")}
style={{ width: 100, height: 100 }}
/>

Đăng Ký Cơ Sở
{this.props.renderView()}

Here my code


Code Generation - Line omitted from class constructor.

Bug Report
Emitted javascript omits a line of code that should be be there.
🔎 Search Terms
Code Generation, omitted line, missing, super
🕗 Version & Regression Information
This issues does not happen in 4.6.4, but does ever after.

This changed between versions 4.6.4 and 4.7.4

⏯ Playground Link
Playground link with relevant code
💻 Code

class Base{
}

export class Foo extends Base{
    constructor(
        private member: boolean,
    ) {
        'ngInject';
        super();
        console.log(' where did this go???'); // <<<<< this line gets omitted in generated javascript code
    }
}

🙁 Actual behavior
Javascript output does not include the console.log statement.
class Base {
}
export class Foo extends Base {
    constructor(member) {
        'ngInject';
        super();
        this.member = member;
    }
}

🙂 Expected behavior
All the code should make it through. If you duplicate the log line, then one of them will come through.

FYI:
I can see variants of this issue also happen in 4.6.2, 4.6.3 and 4.6.4.
So basically this has been broken since 4.6.0
Would it be possible to push the fix to the new 4.7.X, as otherwise we will have to resort to ugly hacks  (noop line) to get stuff working.
I think it is a very silent bug that basically all hybrid applications will have to deal with when they migrate to angular 14 ( as you can only use typescript 4.6.X+ for angular 14)
Here is an example of the issue that is present on all versions after 4.5.5.
Code
class Base{
}

export class Foo extends Base{
    public currentYear: number = new Date().getFullYear();

    constructor(
        private member: boolean,
    ) {
        'ngInject';
        super();
        console.log(' where did this go???'); // <<<<< this line gets omitted in generated javascript code
    }
}

Expected behavior
The line should not silently disappear.


Strange (incorrect) depth image on Waymo dataset

Hi there,
I've been working with the Waymo dataset using the neurad method of configuration settings, following the guidelines outlined in the associated paper. However, I'm encountering unexpected results that need further investigation.
Here is the comparison with Pandaset seq 011:

Strange Depth Image: The depth image generated appears to be incorrect. While it correctly depicts the sky as distant, it also portrays the ground as "far," which doesn't align with expectations.
Blurry Right Sides in Rendered RGB Image: In both scenes, the right sides of the rendered RGB images appear very blurry.

Here is the training loss profile:

I've double-checked my implementation against the paper's specifications, but I'm still unable to pinpoint the source of these discrepancies.
Any hints or ideas you could provide to help diagnose and resolve these issues would be appreciated.
Thanks for your attention to this matter.

Hi @georghess,
Thank you for the kind reply.
This issue has been solved recently as we have found some error in lidar points when export/convert Waymo into NeuRAD dataparser.
I close this as solved.
Thank you again for your great work!

Great! Feel free to open a PR with your parser btw  :)

@Crescent-Saturn Did you happen to account for Waymo's rolling shutter? As far as I know, the Waymo dataset uses a column-by-column rolling shutter, but it seems like the rolling shutter compensation in the neurad code compensates for row-by-row rolling shutter, so it would require some minor modifications.

@Crescent-Saturn Did you happen to account for Waymo's rolling shutter? As far as I know, the Waymo dataset uses a column-by-column rolling shutter, but it seems like the rolling shutter compensation in the neurad code compensates for row-by-row rolling shutter, so it would require some minor modifications.

@MartinEthier Thank you for this kind remind. Yeah, it was one of the reason that caused this poor performance. In addition to column-by-column rolling shutter in Waymo, it shows that the direction depends on the sequence. As far as we found, in some sequences the rolling shutter direction is LEFT_2_RIGHT, in others it is RIGHT_2_LEFT. Thus, we made the corresponding modifications on considering this.

Yeah I also noticed that the direction can change based on the camera. Would you mind providing your modification to the rolling shutter compensation code? I'm also working with the Waymo dataset and it would save me some trouble lol

From here:
https://github.com/georghess/neurad-studio/blob/445f41d742a01f33437b3367f5ca9b88a86e3e3c/nerfstudio/cameras/cameras.py#L922-L929
we modified L924-L926 into for column-by-column:
offsets = self.metadata["rolling_shutter_offsets"][cam_idx]
duration = offsets.diff()

width, cols = self.width[cam_idx], coords[..., 1:2]
time_offsets = cols / width * duration + offsets[..., 0:1]

hope this helps.


Input field attributes

See: https://github.com/bvaughn/angular-form-for/issues/167

FYI I've been traveling in China for the past couple of weeks. I'm sorry to have been ignoring your PRs. I'll try to get to them as soon as I'm able to.

Okay so I finally got a chance to sit down and review some issues and I think it may be more. Going to respond in a comment on the issue and (for now) going to close this PR. :)


feat: handle backspace with suffix

This PR should fix some of the problems that occur when there is a suffix.

Codecov Report

Merging #113 (d313afb) into beta (f04e404) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              beta      #113   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           13        14    +1
  Lines          250       277   +27
  Branches        87        98   +11
=========================================
+ Hits           250       277   +27

Impacted Files
Coverage Δ

src/components/CurrencyInput.tsx
100.00% <100.00%> (ø)

src/components/utils/formatValue.ts
100.00% <100.00%> (ø)

src/components/utils/getSuffix.ts
100.00% <100.00%> (ø)

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 f04e404...d313afb. Read the comment docs.

Codecov Report

Merging #113 (d313afb) into beta (f04e404) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              beta      #113   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           13        14    +1
  Lines          250       277   +27
  Branches        87        98   +11
=========================================
+ Hits           250       277   +27

Impacted Files
Coverage Δ

src/components/CurrencyInput.tsx
100.00% <100.00%> (ø)

src/components/utils/formatValue.ts
100.00% <100.00%> (ø)

src/components/utils/getSuffix.ts
100.00% <100.00%> (ø)

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 f04e404...d313afb. Read the comment docs.


GC sweep: Handle scenarios where deleted data stores are requested via URL

The GC sweep process will ensure that objects are deleted after they have been unused for a while (deleteTimeout) and there are no in-memory references to the object.
However, URLs to such objects could be stored in a DDS and the objects can be requested via the URL and used after they have been deleted.
The eventual goal is that we should not allow objects to be retrieved within a container via the "request" API. However, while that happens, we need to handle this scenario so that we don't end up in an inconsistent state.

Tracked by AB#398


When pdf decryption failed, preview_generator create an empty page_nb file.

Currently, we can have case where page_nb file generated by preview generator is empty.
This is was happened when pdf preview failed due to decrypting issue.
This mean that if a content failed to generate issue a first time and then we update preview_generator and dependencies a way it was now able to handle this file, it just can because it failed trying to get page number from an empty file.
So :

We should not allow creating empty file of _page_number if something fail in process.
We should modify get_page_number (of pdf_pypdf2 builder and maybe other) to be sure that _page_number file contain an integer, else we should try to generate information as it was the first run.

This is a deprecated issue as we do use poppler instead of pypdf2


TrackerRadarKit crash when deserialising JSON

Task/Issue URL: https://app.asana.com/0/414709148257752/1202407381883565/f
On older devices the JSON deserialisation when initialising TrackerRadarKit objects. Reason of the crash is that this code is done in scene initialisation and with slower performance the device is not doing it under assigned time and the app is killed by watchdog.
The source of the crash is ContentBlockerRulesManager initialisation (triggering JSON load) at scene creation time triggered from MainViewController's method: prepare(for:sender:)
Proposal
One of the approaches at fixing this one of high ranking crashes would be to:

identify code paths triggering the ContentBlockerRulesManager initialisation from MainViewController's method: prepare(for:sender:)
decouple the initialisation from the scene loading

Are we sure this is the only place where the problem lies? There are more places in the iOS scene initialization flow that reach to TDS, like fallback in DefaultContentBlockerUserScriptConfig:54 or DefaultSurrogatesUserScriptConfig:60 to load trackerDataManager?.trackerData in case nothing is provided - and it is invoked by viewDidLoad logic on Tab initialization:

As it is called in MainViewController.viewDidLoad() flow, could that also cause above issue?

@bwaresiak valid concern, what do you think about refactoring the CBR/UserScripts loading to Publishers sequence and waiting for CBRs to finish compiling in decidePolicyForNavigationAction?

Yes - but we need to wait for @jaceklyp's code to land (days I guess?) as he is working on first loading improvements.

I made an initial effort refactoring the ContentBlockingRules to async waiting and loading as a single asset;
@bwaresiak when you have time please check and we‘ll have a chat to validate the approach

@mallexxx Closing this out as the original PRs have been merged, and the Asana task is complete. Of course, feel free to re-open if there's more work to do that I'm not aware of.


Watch for Secrets (draft)

Proposed changes
Problem:
Watch for secret updates
Solves https://github.com/nginxinc/nginx-kubernetes-gateway/issues/553
Solution:
Watch for secret updates
NOTE: this PR is a prototype. Need your comments about the design. (Please ignore low level details).
Key design decisions:

Stop processing Secrets separately and make them part of the Graph.
Use the Graph as a source for determining relationship between a Secret and NKG configuration.
Handle Secrets in dataplane.Configuration and in the Generator rather than separately. I don't see any need to handle them separately, but handling them along other resource types makes things simpler.
Change file.Manager so that it can accept a list of files. Also, extend it so that deletes all the files from the previous configuration version, so that we don't have any orphan Secrets on the file system.

We can further refactor the code to get rid of relationship.Capturer completely in favour of using the Graph as a single source of truth about relationships among the resources.
Before creating a PR, run through this checklist and mark each as complete.

[x] I have read the CONTRIBUTING doc
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked that all unit tests pass after adding my changes
[ ] I have updated necessary documentation
[x] I have rebased my branch onto main
[x] I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

@pleshakov approach looks good to me. Nice work simplifying the relationship capturing 👍

closing this in favor of a new non-draft PR


Multiple Issues

Thanks for such a great tool. Here are some issues I faced while using this tool.

hyprlock does not support symlink.
While a key is pressed and hold, the key does not repeat.
When the password box is cleared, the screen behind the textbox shows the view behind the lockscreen for a while.

Here is the config used:
general {
    disable_loading_bar = false
}

background {
    monitor = eDP-1
    path = ~/.local/share/backgrounds/lockscreen
    # It's a symlink to ~/Pictures/Wallpapers/Wallpapers_PC/minimal.png
}

input-field {
    monitor =
    size = 200, 50
    outline_thickness = 3
    outer_color = rgb(151515)
    inner_color = rgb(200, 200, 200)
}

Here is the log of hyprlock >hyprlock.log, if it's needed:
[LOG]   | got iface: wl_shm v1
[LOG]   | got iface: wl_drm v2
[LOG]   | got iface: zwp_linux_dmabuf_v1 v4
[LOG]   | got iface: wl_compositor v6
[LOG]    > Bound to wl_compositor v6
[LOG]   | got iface: wl_subcompositor v1
[LOG]   | got iface: wl_data_device_manager v3
[LOG]   | got iface: zwlr_export_dmabuf_manager_v1 v1
[LOG]   | got iface: zwlr_data_control_manager_v1 v2
[LOG]   | got iface: zwp_primary_selection_device_manager_v1 v1
[LOG]   | got iface: wp_viewporter v1
[LOG]    > Bound to wp_viewporter v1
[LOG]   | got iface: zwlr_gamma_control_manager_v1 v1
[LOG]   | got iface: zwlr_output_power_manager_v1 v1
[LOG]   | got iface: xdg_wm_base v6
[LOG]   | got iface: wl_seat v9
[LOG]    > Bound to wl_seat v9
[LOG]   | got iface: wp_presentation v1
[LOG]   | got iface: ext_idle_notifier_v1 v1
[LOG]   | got iface: zwlr_layer_shell_v1 v4
[LOG]   | got iface: org_kde_kwin_server_decoration_manager v1
[LOG]   | got iface: zxdg_decoration_manager_v1 v1
[LOG]   | got iface: zwlr_output_manager_v1 v4
[LOG]   | got iface: zwp_keyboard_shortcuts_inhibit_manager_v1 v1
[LOG]   | got iface: zwp_pointer_constraints_v1 v1
[LOG]   | got iface: zwp_relative_pointer_manager_v1 v1
[LOG]   | got iface: zwp_virtual_keyboard_manager_v1 v1
[LOG]   | got iface: zwlr_virtual_pointer_manager_v1 v2
[LOG]   | got iface: zwlr_foreign_toplevel_manager_v1 v3
[LOG]   | got iface: wp_drm_lease_device_v1 v1
[LOG]   | got iface: zwp_tablet_manager_v2 v1
[LOG]   | got iface: zwp_idle_inhibit_manager_v1 v1
[LOG]   | got iface: zxdg_exporter_v1 v1
[LOG]   | got iface: zxdg_importer_v1 v1
[LOG]   | got iface: zxdg_exporter_v2 v1
[LOG]   | got iface: zxdg_importer_v2 v1
[LOG]   | got iface: zwp_pointer_gestures_v1 v3
[LOG]   | got iface: zwp_text_input_manager_v3 v1
[LOG]   | got iface: zwp_input_method_manager_v2 v1
[LOG]   | got iface: xdg_activation_v1 v1
[LOG]   | got iface: ext_session_lock_manager_v1 v1
[LOG]    > Bound to ext_session_lock_manager_v1 v1
[LOG]   | got iface: wp_cursor_shape_manager_v1 v1
[LOG]    > Bound to wp_cursor_shape_manager_v1 v1
[LOG]   | got iface: wp_tearing_control_manager_v1 v1
[LOG]   | got iface: wp_single_pixel_buffer_manager_v1 v1
[LOG]   | got iface: xwayland_shell_v1 v1
[LOG]   | got iface: hyprland_toplevel_export_manager_v1 v2
[LOG]   | got iface: wp_fractional_scale_manager_v1 v1
[LOG]    > Bound to wp_fractional_scale_manager_v1 v1
[LOG]   | got iface: zwp_text_input_manager_v1 v1
[LOG]   | got iface: hyprland_global_shortcuts_manager_v1 v1
[LOG]   | got iface: zwlr_screencopy_manager_v1 v3
[LOG]   | got iface: zxdg_output_manager_v1 v3
[LOG]   | got iface: wl_output v4
[LOG]    > Bound to wl_output v4
[LOG] output 49 make BOE model 0x06BD
[LOG] output 49 name eDP-1
[LOG] output 49 description BOE 0x06BD (eDP-1)
[LOG] Locking session
[LOG] onLockLocked called
[LOG] got fractional 1
[LOG] configure with serial 0
[LOG] configure with serial 7632
[LOG] Authenticating
[LOG] Password auth result: Successfully authenticated
[LOG] Unlocking session
[LOG] Unlocked, exiting!

Thanks. I've confirmed 1 was indeed my fault. And about 3, I've added a screen-record here, where you can see the bleeding (I'll call it that) at 0:09s.
https://github.com/hyprwm/hyprlock/assets/60006422/09c6cbf2-ffd1-4192-936c-0627bc97263f

you are on hyprland-git?

Yes.
Hyprland, built from branch main at commit e793f10b8bd1685a2e2bbd7cc90063f12bf380c4 dirty (screencopy: fix invalid damage being used for final copy in dma).

No. 3 is solved too. So I'm closing this issue.


Remove jupyter notebook

There is a unnecessary jupyter notebook in the architectures library that should be removed.

Closing this since notebook has been removed.


many fixes and commands

incorporates the logging library to log events within the bot, also includes creating a log file if the space on the console runs out
checks for "Add Reactions" permission where it needs to
shrinks the size of the daily embeds
adds more chopt arguments (optional arguments like: "lefty-flip", "act-opacity", "no-bpms", "no-solos", "no-time-sigs")
adds a new test command: /test logs to test logging functionality
adds a text command: "ft!online" to inmediately check if the bot is online
fixes help command displaying guild only commands in dms
adds close matches to help command

significant commands

/graph_note_counts generates a graph for the note counts of a song

/graph_lifts generates a graph for the lift counts of a song
/graph_nps creates a graph of the nps of a song & instrument (& difficulty.)

/graph_lanes creates a graph of the notes in each lane of a song & instrument (& difficulty.)

/fortnitestatus displays if fortnite is on downtime
/battlestage, /mainstage, /jamstage displays information about each mode

notes
the pandas module is required on graphs.py.

converted to draft cause im fixing some bugs and adding some features

new features in 7e59c7d24ce5a2a135c704b748d8f90c9e0e4e9d

avoid using manual discord timestamps and use discord.utils.format_dt from discord.py
improve random views to support timeouts
make the activity of the bot cooler

fix bug in leaderboard command
minor change to /*stage commands
call plt.tight_layout() in compare_midi.py for improved text area
make the text command prefix also when mentionable


Convert existing parsers and rules to use Babel AST

@babel/parser supports JS, JSX, Flow, TS, TSX out of the box. This means we could use it for all types of files we wish to process and have the same AST type from each of them which helps write common rules.

The babel changes should be a separate PR

Please update the version of the package to 1.3.0 as this, the FormattedCompMessage rule, and the new TS parsers are new features. Also, update the README to put in rel notes.


Show/hide timestamps in dashboard's container log view

Tell us about your request
A new button in Dashboard -> Container -> Logs, which simply toggles showing additional timestamps on and off per line in the log.
Which service(s) is this request for?
Docker Desktop (macOS)
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
When working with containers that do not implement their own console/stdout logging with timestamp support, this would provide invaluable insight into time sensitive issue handling and debugging, straight from the dashboard app.
Are you currently working around the issue?
No.
Additional context
No additional context necessary, as this is a fairly trivial feature.

Hi! This is now available in version 4.14 and above! Let us know what you think :D


Feed selector should default to the first available feed

When you create a new modification, no feed is selected. There is often only one feed anyway, so this feels like a superfluous user interaction.

Closed in c8e0c44c33a9bd6c67c91baa91f9d33bae10a077


Details & State

can you hide the (hidden)? :/

it would somewhat break the rpc so probably not

im dumb it works without it


refactor: use http-cache for caching, optimize network calls

I'm not 100% sure if this makes sense yet. Need to do some performance measurements.
TODOs:

[x] Use a cache location other than ./http-cache (should probably be ~/.cache/zizmor by default or similar)
[ ] See if we can better take advantage of async Rust here

Fixes https://github.com/woodruffw/zizmor/issues/52.

Very rough benchmark:
export GH_TOKEN=$(gh auth token)
time zizmor pypa/pip-audit

With a release build of zizmor 0.9.2 that averages about 14s on my local machine.
Versus this branch, release build:
time ./target/release/zizmor pypa/pip-audit

...averages about 16s on a cold cache. However, once warmed up, it takes ~700ms to run.
So, slightly slower on a cold run, but significantly faster on subsequent runs.

2f1b6ef (#304) separately optimizes the impostor-commit audit's tag/branch lookup pattern, making it perform better on real-world actions (in the real world, hash-pinned tags are more common than hash-pinned branches, so we can search those first to get a performance boost).
With that, the runs on this branch are now around 12.5s for me locally. So that "pays" for the change here, even if it's not directly caused by it.

14b859b (#304) separately optimizes ref-confusion to use per-branch/tag APIs, rather than listing all branches/tags in each target repo. This also shaves ~2s off my local runs against pypa/pip-audit, bringing this branch down to around 10.5s on cold runs.

Final savings here, with a cold cache:
0.15user 0.18system 0:10.66elapsed 3%CPU (0avgtext+0avgdata 11648maxresident)k
0inputs+2488outputs (0major+972minor)pagefaults 0swaps

versus current release (0.9.2):
0.05user 0.04system 0:14.31elapsed 0%CPU (0avgtext+0avgdata 10752maxresident)k
0inputs+0outputs (0major+845minor)pagefaults 0swaps

...so about 40% faster in the cold case. In the hot case, we're 90% faster (although most users won't fully see this, since they won't be running zizmor in a tight loop over the same repo repeatedly).


Solved issue 404

Pull Request
Title
Redirect to User Profile on Click of Profile Tab in Leaderboard
Description
This pull request adds functionality to redirect users to their profile page when they click on the profile tab in the leaderboard.
Related Issues
Fixes #404
Changes Made

Added a Link component around the profile image in the leaderboard.
Updated the path to include the user's ID for profile redirection.

Checklist

[x] I have tested the changes locally
[ ] Documentation has been updated (if necessary)
[x] Changes are backward-compatible

Screenshots (if applicable)

Additional Notes

Footer

@Saksham2k3s any updates?


Adding Testing string

This is to show that we can make custom templates

Closing this from main repository :)


pacman shows Invalid crypto engine on every action

I thought it is related to #393 . However, even doing a fresh re-installation won't help. I'm using msys2-x86_64-20161025.exe, tried to reinstall pacman, libgpgme, gnupg.
Here is the output of export GPGME_DEBUG=9 ; pacman :
$ pacman -Qq bash
GPGME 2018-01-20 02:04:07 <0x378c>  gpgme_debug: level=9
GPGME 2018-01-20 02:04:07 <0x378c>  gpgme_check_version: call: 0=0x0, req_version=(null), VERSION=1.6.0
GPGME 2018-01-20 02:04:07 <0x378c>  gpgme_check_version_internal: call: 0=0x0, req_version=(null), offset_sig_validity=60
GPGME 2018-01-20 02:04:07 <0x378c>  gpgme_set_locale: enter: ctx=0x0, category=2, value=en_US.UTF-8
GPGME 2018-01-20 02:04:07 <0x378c>  gpgme_set_locale: leave
GPGME 2018-01-20 02:04:07 <0x378c>  gpgme_set_locale: enter: ctx=0x0, category=6, value=en_US.UTF-8
GPGME 2018-01-20 02:04:07 <0x378c>  gpgme_set_locale: leave
GPGME 2018-01-20 02:04:07 <0x378c>  gpgme-walk_path: 'gpgconf' not found in '/usr/bin:/bin:/usr/sbin:/usr/local/bin'
GPGME 2018-01-20 02:04:07 <0x378c>  gpgme-dinfo: gpgconf='[null]'
GPGME 2018-01-20 02:04:07 <0x378c>  gpgme-dinfo:     gpg='/usr/bin/gpg'
GPGME 2018-01-20 02:04:07 <0x378c>  _gpgme_io_pipe: enter: filedes=0xffffb510, inherit_idx=1 (GPGME uses it for reading)
GPGME 2018-01-20 02:04:07 <0x378c>  _gpgme_io_pipe: leave: read=0x5, write=0x6
GPGME 2018-01-20 02:04:07 <0x378c>  _gpgme_io_spawn: enter: path=0x60004eef0, path=/usr/bin/gpg
GPGME 2018-01-20 02:04:07 <0x378c>  _gpgme_io_spawn: check: path=0x60004eef0, argv[ 0] = /usr/bin/gpg
GPGME 2018-01-20 02:04:07 <0x378c>  _gpgme_io_spawn: check: path=0x60004eef0, argv[ 1] = --version
GPGME 2018-01-20 02:04:07 <0x378c>  _gpgme_io_spawn: check: path=0x60004eef0, fd[0] = 0x6 -> 0x1
GPGME 2018-01-20 02:04:07 <0x378c>  _gpgme_io_spawn: check: path=0x60004eef0, waiting for child process pid=12560
GPGME 2018-01-20 02:04:07 <0x378c>  _gpgme_io_spawn: error: No such file or directory
GPGME 2018-01-20 02:04:07 <0x378c>  _gpgme_io_close: enter: fd=0x5
GPGME 2018-01-20 02:04:07 <0x378c>  _gpgme_io_close: leave: result=0
GPGME 2018-01-20 02:04:07 <0x378c>  _gpgme_io_close: enter: fd=0x6
GPGME 2018-01-20 02:04:07 <0x378c>  _gpgme_io_close: leave: result=0
GPGME 2018-01-20 02:04:07 <0x378c>  engine.c:155: returning error: Invalid crypto engine
error: GPGME error: Invalid crypto engine
GPGME 2018-01-20 02:04:07 <0x378c>  gpgme_check_version: call: 0=0x0, req_version=(null), VERSION=1.6.0
GPGME 2018-01-20 02:04:07 <0x378c>  gpgme_check_version_internal: call: 0=0x0, req_version=(null), offset_sig_validity=60
GPGME 2018-01-20 02:04:07 <0x378c>  gpgme_set_locale: enter: ctx=0x0, category=2, value=en_US.UTF-8
GPGME 2018-01-20 02:04:07 <0x378c>  gpgme_set_locale: leave
GPGME 2018-01-20 02:04:07 <0x378c>  gpgme_set_locale: enter: ctx=0x0, category=6, value=en_US.UTF-8
GPGME 2018-01-20 02:04:07 <0x378c>  gpgme_set_locale: leave
GPGME 2018-01-20 02:04:07 <0x378c>  engine.c:155: returning error: Invalid crypto engine
error: GPGME error: Invalid crypto engine
GPGME 2018-01-20 02:04:07 <0x378c>  gpgme_check_version: call: 0=0x0, req_version=(null), VERSION=1.6.0
GPGME 2018-01-20 02:04:07 <0x378c>  gpgme_check_version_internal: call: 0=0x0, req_version=(null), offset_sig_validity=60
GPGME 2018-01-20 02:04:07 <0x378c>  gpgme_set_locale: enter: ctx=0x0, category=2, value=en_US.UTF-8
GPGME 2018-01-20 02:04:07 <0x378c>  gpgme_set_locale: leave
GPGME 2018-01-20 02:04:07 <0x378c>  gpgme_set_locale: enter: ctx=0x0, category=6, value=en_US.UTF-8
GPGME 2018-01-20 02:04:07 <0x378c>  gpgme_set_locale: leave
GPGME 2018-01-20 02:04:07 <0x378c>  engine.c:155: returning error: Invalid crypto engine
error: GPGME error: Invalid crypto engine
bash

I also have this issue on Windows 10.
I am not running any third party anti-virus or firewall, and I disabled the Windows firewall completely.
Then reinstalled with admin privs.
Still no joy, pacman/gpgme giving messages very similar if not identical to the OP shown above.
I would GREATLY appreciate any suggestions. I too went through the info at #393 but nothing has worked.
Many thanks for any suggestions.

Seems dead issue lol. Now I just disable gpg check. Hope that I don't get broken package...

This issue caused by other software on your system.
Some breaking programs are listed here https://cygwin.com/faq/faq.html#faq.using.bloda

runapp: thanks for the reply. I'm pretty sure this is some issue related to Windows and definitely not a problem with MSYS2. I was just hoping, like you, to hear of some solution not already listed in #393. I guess you should probably close the issue since there is likely nothing the MSYS2 folks can do to fix it.
mati856: thanks very much for that list. Sadly, the only software on that list this also on my now fairly stripped down system is "NVIDIA GeForce (some versions)". I might try to find an alternate graphics driver, but I have the feeling it probably has to do with something that is not on that list. Something to do with some Windows 10 system task. In the mean time I suppose like runapp I will just try disabling the gpg check.
Thanks again to you both.

I'm using latest Nvidia drivers and got no problems, you can try running in Safe Mode (there are no 3rd party services enabled) to confirm it's issue with another program.

Thank you both for showing the links. I think it's clear enough on this problem.