How to make it / instead of /dist/app

Hello, is there an easy way to get this app to be loading from the root of the server, / , instead of /dist/app ? I have tried to edit config.ts and set APP_DEST to '', and move the assets to the root too, and it works, but then i get an error on i click on boostrap tabbed windows' links: EXCEPTION: TypeError: Cannot read property 'toUrlPath' of null. Tried quite a bit without luck.
I also had to change from "    System.import('bootstrap')" to "    System.import('./bootstrap')" in order for angular2 to boot this way, but i guess my approach is wrong anyway.

If you build the app with:
gulp build.prod
You can move dist/prod to / and everything should work.

It sure did, thank you mgechev, and thanks for this awesome repository.

In other words, the prod build is meant to create a build that you can drop
into your server root no matter what your server setup is and it should
just work.
If you are trying to get PathLocationStrategy working on the prod build
"within the seed", I'm not sure, there may be a way.
On Tue, Dec 29, 2015 at 10:51 AM Minko Gechev<EMAIL_ADDRESS>wrote:

If you build the app with:
gulp build.prod
You can move dist/prod to / and everything should work.
—
Reply to this email directly or view it on GitHub
https://github.com/mgechev/angular2-seed/issues/328#issuecomment-167852173
.

Nathan, i dont get that error more after running it with "npm start -- --env prod" and editing APP_DEST to ""; Now i can click #tabbed links just fine, while the app is in root

Excellent :)
On Tue, Dec 29, 2015 at 11:44 AM Terje Nesthus<EMAIL_ADDRESS>wrote:

Nathan, i dont get that error more after running it with "npm start --
--env prod" and editing APP_DEST to ""; Now i can click #tabbed links just
fine, while the app is in root
—
Reply to this email directly or view it on GitHub
https://github.com/mgechev/angular2-seed/issues/328#issuecomment-167862600
.


feat: support method chaining on BinaryWriter class

Hey @zouguangxian ! Can you please merge the master and add some tests with this approach?

Hey @zouguangxian ! Can you please merge the master and add some tests with this approach?

OK. I've added a test.


New  App: Google Calendar Integration

Summary by CodeRabbit

New Features

Introduced a Google Calendar integration plugin for auto-syncing OMI events.
Added a detailed README for setup and functionality of the integration.

Documentation

New README file includes setup instructions, features, and troubleshooting tips for the Google Calendar integration.

lgtm @smian1 🚀 pls provide w/ 1 demo video

#1005


[Question] Is it possible to hook a class function?

Hello, guys.
I've successfully hooked an API function using EasyHook and OllyDbg but now I'm trying to hook a function that belongs to an specific class and I don't know how to do that.
In OllyDbg, each function from WINAPI looks like that:

CreateFileW
CreateFileA

But functions that belongs to an specific class in some dll look like that:

?heightForWidth@QBoxLayout@@UBEHH@Z

Is it possible to hook them? How am I supposed to do that? (The library is a dll from QT) (And I'm using C++)
Thanks in advance.
EDIT:
I've been trying some things and I figured out that GetProcAddress is finding the function with that name in the .dll. But now the questions are..
How do I define a function that matches the original function? (I've noticed that the original function is using thiscall convention)
How to call back the original function from the DLL whenever I finish my job in my function?

Two things you need:

A way to determine the address of the original function
The correct function signature (thiscall has the first parameter being a pointer to the original object)

With this you can hook the class functions and call the original.


Add amd file for require.js-dependent applications

Thought I'd add a version for people who want to use this library with require.js. Need to make sure d3 is included  to work.

Excellent thanks!


vm-image: Expose new LFC working set size metrics

In general, rename:

lfc_approximate_working_set_size to
lfc_approximate_working_set_size_seconds

For the "main" metrics that are actually scraped and used internally, the old one is just marked as deprecated.
For the "autoscaling" metrics, we're not currently using the old one, so we can get away with just replacing it.
Also, for the user-visible metrics we'll only store & expose a few different time windows, to avoid making the UI overly busy or bloating our internal metrics storage.
But for the autoscaling-related scraper, we aren't storing the metrics, and it's useful to be able to programmatically operate on the trendline of how WSS increases (or doesn't!) with window size. So there, we can just output datapoints for each minute.
Part of neondatabase/autoscaling#872.
See also #7466.
See also https://neondb.slack.com/archives/C06K49H0589/p1720206793137919.
See also https://www.notion.so/neondatabase/874ef1cc942a4e6592434dbe9e609350

This PR is partly pending further testing to validate the intended approach on the autoscaling side, but practically speaking it should be ok to merge as-is - there just might be follow-up changes.
cc @zaynetro re: neondatabase/cloud#14871

Oh actually I guess this is also blocked on setting '1.4' as the default version of the neon extension :disappointed:


GitHub Authentication redirect window says Signing In to null...

VSCode Version: 1.45.0
OS Version: Ubuntu 20.04

Steps to Reproduce:

Within VSCode trigger GitHub OAuth browser dialog
Successfully sign in using GitHub account
Observe instructions step #3 as in an attachment

Actual behavior:

Click Signing in to null... in the status bar.

Expected behavior:

Click Signing in to GitHub... in the status bar.

Does this issue occur when all extensions are disabled? Yes, it is not related to VSCode itself

Duplicate of https://github.com/microsoft/vscode/issues/96368


Switching billing address options doesn't trigger onReadyForSaveChange

Type: minor
Describe the bug
On Stripe checkout, the Save button remains disabled when user clicks "Use a different billing address" then switches back to "Same as shipping address."
To Reproduce
Steps to reproduce the behavior:

Create a cart. Checkout.
Fill in the shipping address and pick a shipping option.
In the payment form, fill in all required credit card info, then select "Use a different billing address". See that the Save button is disabled.
Now select "Same as shipping address." See that the Save button is still disabled.

Expected behavior
When user clicks "Use a different billing address" then switches back to "Same as shipping address", the Save button should be enabled.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


deploy xagentllama

🤔 What is the nature of this change? / 这个变动的性质是？
xagentllama推理部署

[ ] New feature / 新特性提交
[ ] Fix bug / bug 修复
[ ] Refactor code or style / 重构代码或样式
[ ] Performance optimization / 性能优化
[ ] Build optimization / 构建优化
[ ] Website, documentation, demo improvements / 网站、文档、Demo 改进
[ ] Test related / 测试相关
[ ] Other / 其他

🔗 Related Issue / 相关 Issue
(Describe the source of related requirements, such as the related issue discussion link. Example: close #xx, close #xx. /描述相关需求的来源，如相关的 issue 讨论链接。 例如：close #xx, close #xxx. )
💡 Background or solution / 需求背景和解决方案
(The specific problem solved. / 解决的具体问题。)
📝 Changelog / 更新日志
(Describe changes from the user side, and list all potential break changes or other risks. / 从用户角度描述具体变化，以及可能的 breaking change 和其他风险。)

We are students at thunlp who are responsible for agentllama/xagentllama development and the modified part is to fit the interface of agentllama.
------------------ Original ------------------
From: Arno.Edwards @.>
Date: Fri,Dec 8,2023 11:17 PM
To: OpenBMB/XAgent @.>
Cc: hongzhe bi @.>, Author @.>
Subject: Re: [OpenBMB/XAgent] deploy xagentllama (PR #328)
@Umpire2018 commented on this pull request.
Why did you made those changes?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Wrong cursor detection when changing buttons default cursor shape while using a stretch mode other then disabled

Tested versions

Produced in: Godot_v4.3-beta1

System information
windows 10 compatibility and forward+
Issue description
When changing a buttons default cursor in the code when hovering or clicking it, the mouse_entered() signal is called on other buttons in the scene. Afterwards it then calls the correct button's mouse_entered again. It should not call any mouse_entered() signal because you are changing the default cursor. I have not tested this with other nodes that have a mouse_entered signal but it might also affect them.
This only works if any of the stretch modes in project settings -> window -> stretch -> mode are turned on and you resize the window. The video show how it works and then how it breaks after resizing.
https://github.com/godotengine/godot/assets/55434783/d1ab9ad9-76b0-42f2-82ae-99125737ff47
Steps to reproduce

Create a bunch of buttons in a scene
Make them change the default cursor when the mouse is entered and print their name to the consol
Make them change the default cursor when the mouse is exited
change the projects stretch mode to anything but disabled
Run the program and move the mouse in and out of the buttons
Then resize the window and repeat step 5

Minimal reproduction project (MRP)
Just run the project and follow step 5 and 6 to reproduce.
cursor_change_bug.zip

This bug is still a problem in 4.3.beta2 and also halts the node signal. So if you have touch control and click on a button with both mouse_entered and mouse_pressed signals, where the mouse_entered changes the cursor, it will not call the mouse_pressed signal.
I have found a solution which is to change the cursor deferred.
So instead of this:
button.mouse_default_cursor_shape = Button.CURSOR_ARROW

You have to do this:
button.set_deferred("mouse_default_cursor_shape", Button.CURSOR_ARROW)

I can still reproduce this bug in 4.3.beta3

Can still be reproduced in 4.3.rc1

@Lortemanden It's fine to retest on every dev snapshot to see if there's been changes, but please avoid bumping the issue each time. Editing the OP is sufficient. In most cases, if this had been fixed, the issue would have been closed already and there would be a linked PR.
Now, it's also important to make clear if the issue is a regression. It wasn't clear in the OP and I had to infer from your (apparent) eagerness to get this fixed that this might be a regression that broke your project that would work in 4.2?
So I tested and indeed the MRP behaves differently in 4.2-stable and 4.3-rc1.
The behavior in 4.2-stable also seems broken to me, but differently. It highlights two tiles at once after stretching, as if it was sending events both to the unscaled location and the scaled one.

The change in behavior seems to have been introduced in 4.3.dev1, and also got backported to the 4.2 branch as it's reproducible in 4.2.2.stable (but not 4.2.stable and 4.2.1.stable).
Would be worth bisecting to identify which commit changed the behavior.

Bisected on the 4.2 branch between 4.2.1-stable and 4.2.2-stable as that's faster (less changes so faster rebuilds). The first bad commit is 29811357a307143f95f5c0a175e61c1359cd15ba, i.e. the cherry-pick of 78e1702adbfe9313a3747703c5e7abe6864cbcdf / #85313.
CC @kitbdev


Print doesn't show the value but the type

The following code :
import triton
import triton.language as tl

@triton.jit
def print_pid(x_ptr):
    pid = tl.program_id(0)
    print("pid", pid)
    y = tl.load(x_ptr+pid)
    print("y", y)
    z = 4.0
    print("z", z)

x = torch.randn((3,1,1), device="cuda")
print_pid[(3,)](x)

yield :
pid int32[constexpr[1]]
y fp32[constexpr[1]]
z fp32[constexpr[1]]

It doesn't show the values (but the type) and I don't understand why it doesn't output 9 lines instead of 3 (since we launch a grid of 3 programs and each program produces 3 prints)

I have a similar problem. I think that you need to use tl.device_print("Pid", pid) to print at runtime, but as far as I know it is not available for triton 2.0.0 and only comes with version 2.1.0 (at least for version 2.0.0 I get module 'triton.language' has no attribute 'device_rpint'). Since I am working with PyTorch (version 2.0.1) which requires triton version 2.0.0 I can't use device_print. Maybe there is a workaround?

There isn't a workaround in triton 2.0.0. The best you can use is probably the legacy function tl.printf but could be buggy as I remembered.

One way to handle with this problem is to use triton_viz, try the first example:
https://colab.research.google.com/github/srush/Triton-Puzzles/blob/main/Triton-Puzzles.ipynb#scrollTo=fbuIIJkaDyye

One way to handle with this problem is to use triton_viz, try the first example:
https://colab.research.google.com/github/srush/Triton-Puzzles/blob/main/Triton-Puzzles.ipynb#scrollTo=fbuIIJkaDyye

This works but perhaps because it's not on GPU.


Create FUNDING.yml

This adds a "sponsor" button to the repository page. Payments will of course be split between all core maintainers 😉

Cool! :)


Error: Cannot find module '../build/Debug/nodegit.node'

Hello, I installed docker-gitlab in the virtual machine, but when I'm in the project npm start when the following error:
`root@a-virtual-machine:/data/project/GitLab-Pages# npm start

<EMAIL_ADDRESS>start /data/project/GitLab-Pages
node ./bin/www

module.js:327
throw err;
^
Error: Cannot find module '../build/Debug/nodegit.node'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/data/project/GitLab-Pages/node_modules/nodegit/lib/nodegit.js:16:12)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
npm ERR! Linux 3.19.0-25-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v4.3.2
npm ERR! npm  v3.7.5
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>start: node ./bin/www
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script 'node ./bin/www'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the GitLab-Pages package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./bin/www
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs GitLab-Pages
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls GitLab-Pages
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /data/project/GitLab-Pages/npm-debug.log`
sorry, my English is very general, through the google translation tool, please forgive

hello?

Looking at:

/data/project/GitLab-Pages/node_modules/nodegit/lib/nodegit.js
It sounds like the issue is with nodegit.

I recommend:

Running npm install again to ensure that all of the dependencies successfully were installed
Creating an Issue at https://github.com/nodegit/nodegit and asking for their help.

I'll go now and thank you for your help ! @Glavin001

@WilldNY @Glavin001 this issue can be closed.


Protect endpoints and docs

We need to add a way to protect endpoints and the documentation, in order to do this, we must be able to still send and list messages given a certain session id, but all of the other endpoints must be used with authentication.
Maybe we should bring dialog-api-key as a key component of the project.

I am beginner to this project. Can you pls provide more context @vmesel

hey @hbharath327, I'm so so sorry that I missed your comment! Thank you for asking for more context.
Right now, whenever you have a dialog instance running, you can access the docs through /docs in the URL, but this is not good for a safety standard. I would like to add a query param or the possibility for the user to change this URL in the environment variables, making it more secret.
Does this context help more?


change "bech32" prefix for bitbadges

It has come to my attention via X that using the bech32 prefix "cosmos" has broken some services that depend on this registry. BitBadges is showing up where the Cosmos Hub is expected or causing other problems due to the collision.
To avoid confusion and breaking anything, I would like to remove this line from the registry. I noted that "bech32_prefix" is not required in the schema file, so for the time being, I would like to remove it.
I think this is a better solution because:
-Collisions are avoided.
-If not having the "bech32_prefix" causes issues, this would only occur for BitBadges and we will handle accordingly (rather than affecting other projects).
-Anyone can still just view the BitBadges documentation to get our Cosmos prefix.
I still plan to migrate to a personal prefix, but that may require a complete chain restart or some other difficult feat of engineering.

Ok, after seeing the validation checks fail, I will just simply update it to "bb" which is the future prefix I plan to migrate to.
I will elevate this and work on handling the migration from "cosmos" to "bb" on my end as soon as possible. Again, sorry for any confusion or inconveniences this caused.

Yeah typically this is something relating to or identifiable by your chain name or project name or something. bb is probably fitting, or badge or something like this..
What you were trying to do by ensuring it was the same wallet address across chains (if I am not mistaken) is something you actually don't need to do, this is not EVM.
When you create a wallet, the bech32 prefix is actually part of the derivation of the resulting wallet address.
As long as you know one of them (and they were derived using the same path of course), you can determine any of the others. You can test it for yourself here.

@Cordtus Yea, I understand how they work.
The reasoning isn't exactly as explained. The original idea was more that we didn't want to have our own addresses because we can be thought of as a hub and are supportive of every ecosystem. So, we support Solana, Ethereum, Bitcoin addresses, and in a similar manner, we wanted to make it seem like we support Cosmos ecosystem as well (thus using "cosmos" addresses). See https://docs.bitbadges.io/for-developers/accounts.
You are right. We can just map "cosmos" addresses to "bb" addresses too. It was just a design decision we made that we will now have to change. I do not actually think it breaks anything on the blockchain level, but it adds confusion / breaks dependent apps on the registry level.

ah I see I was understanding this part differently:
To enable interoperability between different blockchains, each individual L1 blockchain will have its native addresses mapped to an equivalent Cosmos bech32 address. We use the mapped cosmosAddress as the universal base address whenever needed.

so yeah in this case you can actually choose whatever (standard, cointype 118-derived) wallet address you want here, whether it's osmosis, cosmos, stargaze, juno, etc..


missing file while installing and invalid csrf token while trying to auth

Describe the bug
First bug is I get this error while installing.
Second bug is that logging in or the auth doesn't work.
To Reproduce

Expected behavior
No error while installing and being able to add my account to chatterino.
Screenshots
Install error: https://i.imgur.com/YzifYjh.png
log in / auth error: https://i.imgur.com/pe8jXQr.png
Chatterino version
Chatterino 2.1.5 (commit c6e1a1de2)
Additional context

try nightly :)

Please create separate issues for separate problems @omfgdahoe - You can edit this one to be about the first problem, and please create a separate issue for the login auth problem.


ScienceFair

Search, collect, read and analyse scientific papers. 🔬 📖

http://sciencefair-app.com/
https://github.com/codeforscience/sciencefair
cc @blahah @Treblesteph @freeman-lab @bcomnes

woop! thanks @zeke :)


Resolve Faker generator via application service container

In an application (where we make use of this package) we have a custom Faker provider. I a service provider we add the custom provider so we can make use of it in our database factories:
// ...

$this->app->afterResolving(Generator::class, static function (Generator $generator): void {
    $generator->addProvider(new CustomProvider($generator));
});

// ...

With the changes in this pull request I can use the same custom Faker provider methods inside the definition array.
// ...

public function definition(): array
{
    return [
        'foo' => $this->faker()->customMethod,
    ];
}

// ...

I had to move the RequestFactoryTest class inside the Feature namespace because a Laravel's container is needed for resolving a Generator instance.

@olivernybroe thinking more on our idea I've realised it won't really work in all cases. For example, helper methods, which are invoked before the factory will have been set.
UploadRequest::withRandomName()->create();

public function withRandomName()
{
  // Whoops, this will blow up!
  return $this->state(['name' => $this->faker->name]);
}

@lukeraymonddowning ah right... Hmm, could maybe work if we wrap the request factory in a lazy class.
E.g. a class the registers all the method calls, but first calls them at the end 👀

Thinking on it, this is possible in user-land by extending the abstract class and overriding configure, then setting $faker using app() as outlined here.

@lukeraymonddowning ah right... Hmm, could maybe work if we wrap the request factory in a lazy class.
E.g. a class the registers all the method calls, but first calls them at the end 👀

@olivernybroe seems like a lot of edge-case effort for a tiny change.

@maartenpaauw going to opt for #21 just to avoid needing to reference the container in the constructor. Feels a little like I'm gatekeeping on this one but we try to avoid reaching for service location as much as possible. Really appreciate you opening this PR ❤

@maartenpaauw going to opt for #21 just to avoid needing to reference the container in the constructor. Feels a little like I'm gatekeeping on this one but we try to avoid reaching for service location as much as possible. Really appreciate you opening this PR ❤

No worries! I'm glad this feature is added.


[ENGDSGN-183] Handle not having lma; show enabled state in details

The lma data of a cluster entity will be null if the cluster isn't configured with StackLight. The code needs to handle this case.
Also, now that we're not showing/hiding the LMA panel, it seems good to include an 'Enabled: Yes/No' field to indicate whether StackLight is configured on the cluster or not, since it might not be obvious just with the '--' values for URLs. For example, are all the URLs not available because SackLight is disabled, or because those services aren't available for some reason...?
PR Checklist

[x] New feature or bug fix is mentioned in the CHANGELOG.

Already added with #1176

We'll need to do the same thing in #1161

Waiting for a cluster to be ready that doesn't have StackLight enabled in order to test.

Tested locally. Works!


Readme update

The configuration links in the readme appear to be broken and lead to a 502 Bad Gateway error. Any  alternatives to getting these instructions?

+1, seems the project maybe dead.

https://github.com/firebase/firebaseui-web


Varnish

Closing. Seems Bitbucket behaves differently than Github when committing to a branch with an open PR.

Bitbucket updates the PR
GitHub doesn't update the PR

Closing. Seems Bitbucket behaves differently than Github when committing to a branch with an open PR.

Bitbucket updates the PR
GitHub doesn't update the PR


Inspect Appium capabilities

All capabilities, both Appium and Selenium, should be placed in the W3cCapabilityCommonKeys class. They should be checked for consistency with the current set

This class was deprecated and will be removed, so we should not check it


Don't use end timestamps from setlist

These cause chunks of the video to be skipped and end should always be derived from the next track.

Closed by #130


Fix support for user flags passed to the isort tool.

To test, you can use this new branch except copy in the version of statick_tool/plugins/tool/isort_tool_plugin.py from the main branch. The isort unit test will fail with that setup. If you use the version of statick_tool/plugins/tool/isort_tool_plugin.py from this new branch the unit test will succeed.
python -m pytest tests/plugins/tool/isort_tool_plugin/test_isort_tool_plugin.py


Compiled node module can not be executed on Apple M1

Node Version: v14.16.1
Platform: Darwin RobbiedeAir 20.4.0 Darwin Kernel Version 20.4.0: Thu Apr 22 21:46:41 PDT 2021; root:xnu-7195.101.2~1/RELEASE_ARM64_T8101 arm64
Compiler: Apple clang version 12.0.5 (clang-1<IP_ADDRESS>)
Target: arm64-apple-darwin20.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Module: node-usb-detection

Verbose output (from npm or node-gyp):
robbiewu@RobbiedeAir node-usb-detection-4.11.0 % node-gyp rebuild --python /usr/bin/python3 --target=12.0.4 --dist-url=https://electronjs.org/headers --verbose
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli<EMAIL_ADDRESS>gyp verb cli   '/opt/homebrew/bin/node-gyp',
gyp verb cli   'rebuild',
gyp verb cli   '--python',
gyp verb cli   '/usr/bin/python3',
gyp verb cli   '--target=12.0.4',
gyp verb cli   '--dist-url=https://electronjs.org/headers',
gyp verb cli   '--verbose'
gyp verb cli ]
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| darwin | arm64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb download using dist-url https://electronjs.org/headers
gyp verb find Python checking Python explicitly set from command line or npm configuration
gyp verb find Python - "--python=" or "npm config get python" is "/usr/bin/python3"
gyp verb find Python - executing "/usr/bin/python3" to get executable path
gyp verb find Python - executable path is "/Library/Developer/CommandLineTools/usr/bin/python3"
gyp verb find Python - executing "/Library/Developer/CommandLineTools/usr/bin/python3" to get version
gyp verb find Python - version is "3.8.2"
gyp info find Python using Python version 3.8.2 found at "/Library/Developer/CommandLineTools/usr/bin/python3"
gyp verb get node dir compiling against --target node version: 12.0.4
gyp verb command install [ '12.0.4' ]
gyp verb download using dist-url https://electronjs.org/headers
gyp verb install input version string "12.0.4"
gyp verb install installing version: 12.0.4
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 12.0.4
gyp verb build dir attempting to create "build" dir: /Users/robbiewu/Downloads/node-usb-detection-4.11.0/build
gyp verb build dir "build" dir needed to be created? /Users/robbiewu/Downloads/node-usb-detection-4.11.0/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: /Users/robbiewu/Downloads/node-usb-detection-4.11.0/build/config.gypi
gyp verb config.gypi checking for gypi file: /Users/robbiewu/Downloads/node-usb-detection-4.11.0/config.gypi
gyp verb common.gypi checking for gypi file: /Users/robbiewu/Downloads/node-usb-detection-4.11.0/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /Library/Developer/CommandLineTools/usr/bin/python3
gyp info spawn args [
gyp info spawn args   '/opt/homebrew/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/robbiewu/Downloads/node-usb-detection-4.11.0/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/opt/homebrew/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/robbiewu/Library/Caches/node-gyp/12.0.4/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/Users/robbiewu/Library/Caches/node-gyp/12.0.4',
gyp info spawn args   '-Dnode_gyp_dir=/opt/homebrew/lib/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/Users/robbiewu/Library/Caches/node-gyp/12.0.4/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/Users/robbiewu/Downloads/node-usb-detection-4.11.0',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture arm64
gyp verb node dev dir /Users/robbiewu/Library/Caches/node-gyp/12.0.4
gyp verb `which` succeeded for `make` /usr/bin/make
gyp info spawn make
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
  c++ -o Release/obj.target/detection/src/detection.o ../src/detection.cpp '-DNODE_GYP_MODULE_NAME=detection' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DV8_COMPRESS_POINTERS' '-DV8_31BIT_SMIS_ON_64BIT_ARCH' '-DV8_REVERSE_JSARGS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' '-DNDEBUG' -I/Users/robbiewu/Library/Caches/node-gyp/12.0.4/include/node -I/Users/robbiewu/Library/Caches/node-gyp/12.0.4/src -I/Users/robbiewu/Library/Caches/node-gyp/12.0.4/deps/openssl/config -I/Users/robbiewu/Library/Caches/node-gyp/12.0.4/deps/openssl/openssl/include -I/Users/robbiewu/Library/Caches/node-gyp/12.0.4/deps/uv/include -I/Users/robbiewu/Library/Caches/node-gyp/12.0.4/deps/zlib -I/Users/robbiewu/Library/Caches/node-gyp/12.0.4/deps/v8/include -I../node_modules/nan  -O3 -gdwarf-2 -mmacosx-version-min=10.13 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=gnu++1y -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/detection/src/detection.o.d.raw -I/opt/homebrew/opt/node@14/include  -c
In file included from ../src/detection.cpp:1:
In file included from ../src/detection.h:15:
../src/deviceList.h:7:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
typedef struct {
              ^
               ListResultItem_t
../src/deviceList.h:8:2: note: type is not C-compatible due to this member declaration
        public:
        ^~~~~~~
../src/deviceList.h:16:3: note: type is given name 'ListResultItem_t' for linkage purposes by this typedef declaration
} ListResultItem_t;
  ^
1 warning generated.
  c++ -o Release/obj.target/detection/src/deviceList.o ../src/deviceList.cpp '-DNODE_GYP_MODULE_NAME=detection' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DV8_COMPRESS_POINTERS' '-DV8_31BIT_SMIS_ON_64BIT_ARCH' '-DV8_REVERSE_JSARGS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' '-DNDEBUG' -I/Users/robbiewu/Library/Caches/node-gyp/12.0.4/include/node -I/Users/robbiewu/Library/Caches/node-gyp/12.0.4/src -I/Users/robbiewu/Library/Caches/node-gyp/12.0.4/deps/openssl/config -I/Users/robbiewu/Library/Caches/node-gyp/12.0.4/deps/openssl/openssl/include -I/Users/robbiewu/Library/Caches/node-gyp/12.0.4/deps/uv/include -I/Users/robbiewu/Library/Caches/node-gyp/12.0.4/deps/zlib -I/Users/robbiewu/Library/Caches/node-gyp/12.0.4/deps/v8/include -I../node_modules/nan  -O3 -gdwarf-2 -mmacosx-version-min=10.13 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=gnu++1y -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/detection/src/deviceList.o.d.raw -I/opt/homebrew/opt/node@14/include  -c
In file included from ../src/deviceList.cpp:5:
../src/deviceList.h:7:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
typedef struct {
              ^
               ListResultItem_t
../src/deviceList.h:8:2: note: type is not C-compatible due to this member declaration
        public:
        ^~~~~~~
../src/deviceList.h:16:3: note: type is given name 'ListResultItem_t' for linkage purposes by this typedef declaration
} ListResultItem_t;
  ^
1 warning generated.
  c++ -o Release/obj.target/detection/src/detection_mac.o ../src/detection_mac.cpp '-DNODE_GYP_MODULE_NAME=detection' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DV8_COMPRESS_POINTERS' '-DV8_31BIT_SMIS_ON_64BIT_ARCH' '-DV8_REVERSE_JSARGS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' '-DNDEBUG' -I/Users/robbiewu/Library/Caches/node-gyp/12.0.4/include/node -I/Users/robbiewu/Library/Caches/node-gyp/12.0.4/src -I/Users/robbiewu/Library/Caches/node-gyp/12.0.4/deps/openssl/config -I/Users/robbiewu/Library/Caches/node-gyp/12.0.4/deps/openssl/openssl/include -I/Users/robbiewu/Library/Caches/node-gyp/12.0.4/deps/uv/include -I/Users/robbiewu/Library/Caches/node-gyp/12.0.4/deps/zlib -I/Users/robbiewu/Library/Caches/node-gyp/12.0.4/deps/v8/include -I../node_modules/nan  -O3 -gdwarf-2 -mmacosx-version-min=10.13 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=gnu++1y -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/detection/src/detection_mac.o.d.raw -I/opt/homebrew/opt/node@14/include  -c
In file included from ../src/detection_mac.cpp:1:
In file included from ../src/detection.h:15:
../src/deviceList.h:7:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
typedef struct {
              ^
               ListResultItem_t
../src/deviceList.h:8:2: note: type is not C-compatible due to this member declaration
        public:
        ^~~~~~~
../src/deviceList.h:16:3: note: type is given name 'ListResultItem_t' for linkage purposes by this typedef declaration
} ListResultItem_t;
  ^
1 warning generated.
  c++ -bundle -undefined dynamic_lookup -Wl,-search_paths_first -mmacosx-version-min=10.13 -arch arm64 -L./Release -stdlib=libc++ -L/opt/homebrew/opt/node@14/lib -o Release/detection.node Release/obj.target/detection/src/detection.o Release/obj.target/detection/src/deviceList.o Release/obj.target/detection/src/detection_mac.o -framework IOKit
gyp info ok

But the compiled detection.node can not be executed.
Failed to open serial port /dev/cu.usbserial-0001 due to error: + Error: dlopen(/Users/robbiewu/.vscode/extensions/vsciot-vscode.vscode-arduino-0.4.2/out/node_modules/usb-detection/build/Release/detection.node, 1): no suitable image found.  Did find:
	/Users/robbiewu/.vscode/extensions/vsciot-vscode.vscode-arduino-0.4.2/out/node_modules/usb-detection/build/Release/detection.node: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00
	/Users/robbiewu/.vscode/extensions/vsciot-vscode.vscode-arduino-0.4.2/out/node_modules/usb-detection/build/Release/detection.node: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00

Any updates on this issue?

https://www.python.org/downloads/release/python-391/ is the first release that supports M1 so please retry with node-gyp v9 and Python 3.10.4 and let us know if that helps.


8 Report task file not found

changed folder for search

Fixed with 'Build break task failing #10'


SAM-2687 Adding elFinder support to samigo

I feel there are some things we can improve in the future here (as show or not this option based in some permissions and add the i18n. But this is the basic functionality working and we can improve that in next jiras.

@buckett Do you think we should merge this?

Can you amend to add SAM-2687 at the beginning of your commit message?

You can amend the commit message via Merge PR -> Confirm squash and merge

Done (Hope not had broken anything in the road!)


AMD shouts on Pre GL3 shaders in Core profile

AMD doesn't seem to like shaders of version 110 in Core 3.3 OpenGL contexts. Received a exception as follows:
Exception in thread "main" com.shc.silenceengine.graphics.opengl.GLException: Unable to compile shader:
Vertex shader failed to compile with the following errors:
ERROR: error(#272) Implicit version number 110 not supported by GL3 forward compatible context
ERROR: error(#273) 1 compilation errors.  No code generated

        at com.shc.silenceengine.graphics.opengl.Shader.compile(Shader.java:91)
        at com.shc.silenceengine.graphics.programs.FontProgram.lambda$1(FontProgram.java:56)
        at com.shc.silenceengine.backend.lwjgl.LwjglFileReader.lambda$3(LwjglFileReader.java:100)
        at com.shc.silenceengine.utils.TaskManager.forceUpdateTasks(TaskManager.java:61)
        at com.shc.silenceengine.core.EventManager.raiseUpdateEvent(EventManager.java:172)
        at com.shc.silenceengine.core.gameloops.FixedTimeSteppedLoop.performLoopFrame(FixedTimeSteppedLoop.java:75)
        at com.shc.silenceengine.backend.lwjgl.LwjglRuntime.start(LwjglRuntime.java:96)
        at com.shc.silenceengine.tests.lwjgl.ControllerTestRun.main(ControllerTestRun.java:38)
AL lib: (EE) alc_cleanup: 1 device not closed

It means we need a new shader for Core Profile OpenGL and also maintain old shaders for WebGL and OpenGL ES. Maybe it is time to start working on a shader system.

This is now fixed as the shaders are now transformed before compilation to GL3 shaders on desktop and GLSL 100 on HTML5 and Android.


How to reproduce the instance segmentation results of Hover-net on the MoNuSeg dataset ?

A great job !
From Table IV of your paper, I see that the AJI of Hover-net on the MoNuSeg dataset is 0.6602. I'm wondering how to reproduce this result. Could you give me some help? Thanks very much.

Hi, I reproduce Hover-net using this pytorch code repository: https://github.com/vqdang/hover_net.
Specifically, I use the 'original' mode with crop size [270,270] and out shape [80,80].

Could the trained model weights be available? So that I can directly reproduce the test results without repetitive training.

Hi, I reproduce Hover-net using this pytorch code repository: https://github.com/vqdang/hover_net. Specifically, I use the 'original' mode with crop size [270,270] and out shape [80,80].

Thanks. Could the trained model weights be available? So that I can directly reproduce the test results without repetitive training.

Hi, I reproduce Hover-net using this pytorch code repository: https://github.com/vqdang/hover_net. Specifically, I use the 'original' mode with crop size [270,270] and out shape [80,80].

Thanks. Could the trained model weights be available? So that I can directly reproduce the test results without repetitive training.

Sorry, we did not keep the reproduced Hover-net checkpoints. If you need the checkpoints, I would recommend you to raise an issue on the Hover-net github page or email the authors of Hover-net.


virtualbox-np breaks without vcredist2019

Bug Report
Package Name: nonportable/virtualbox-np
Current Behaviour

Without vcredist2019 installed, the virtualbox installer quits, breaking the whole script
Expected Behaviour

The installer should fix this itself, or at least warn the user of a specific problem.
Additional context/output

Installing vcredist2019 fixed it, but this should be something the script could easily fix itself.
Possible Solution

Modify manifest to depend on extras/vcredist2019
System details
Windows version: 10
OS architecture: 64bit
PowerShell version: 7.3.4
Additional software: gsudo (prefixed the install command with gsudo installed from scoop)
Scoop Configuration

{
    "last_update":  "2023-04-23T15:37:58.5882939-07:00",
    "alias":  {
                  "sudo":  "scoop-sudo"
              }
}

Related to #145

Good day, Damn! I am having issues with ngrok on virtualbox' installed on windows 10,  but ngrok works fine on phon, how can I fix this?


[corechecks/helm] Add "failed_releases" service check

What does this PR do?
Adds a service check (helm.failed_releases) for the Helm check.
The service check reports an error when there's at least one release for which its latest revision is on "failed" state.
Describe how to test/QA your changes
Deploy on Kubernetes with the helm check enabled. Check in the UI or with agent check helm (in the runner or DCA where the check is scheduled) that the service check helm.failed_releases reports OK or CRITICAL as expected.
Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the config template has been updated.

As discussed with @clamoriniere , this is not the correct approach. I'll close this PR and open a new one soon.


How to change the Current day name in monthView

How to change the Current day name in monthView??
I want to change the current day color right now it's showing blue.

@acro5piano Please can you help me with this question?

@ImranMunawaar Hi, a happy new year!
Please set your primary color by providing a theme. use theme.palette.primary.main.
For more details, please take a look at the document: https://github.com/acro5piano/react-native-big-calendar?tab=readme-ov-file#theme
If you have further issues, please reopen this thread. Thanks


Update report doc about chrome path

Sentinl and Kibana version

Issue description

Reproducing the issue step-by-step

Expected results vs. actual results

Sample of data

Additional details

Done it here http://sentinl.readthedocs.io/en/latest/Config-Example/

I am a new bee...
What package I must install on my server to receive reports? Chromium with dependencies takes 560M is this packet need to be installed?

@d-malko yes, this package


[STAN-1179] add DocumentationLink component

Updates the way we display documentation links to include a title
consolidates our documentation link component between published and future standards

@bdsharma the is one case where we link to the same page: PRSB has 2 standards (Diabetes record standard and Diabetes self-reported data standard) which are both documented in the same link.
However that shouldn't be an issue because the guidance is usually that pages should not present more than one link to the same destination next to each other. The links will be separated by headers as we don't give the option to include more than one documentation link per entry.


core.functions.insertHTML() is not inserting content at current position

Hello,
core.functions.insertHTML() is not inserting content at current position. It's creating a new line and then inserting the content.
core.functions.insertHTML() was working fine in 2.38.2 version

@JiHong88 can you please help me with this?

@gopal1996 Please show me the content when useing core.functions.insertHTML()

Once the user hits enter, it should insert content to the suneditor.
useEffect(() => {
        editor.current.onKeyDown = (event, core) => {

            if(event.keyCode === 40 ) {
                if(isSuggestionOpen) {
                    console.log("Run")
                    event.preventDefault()
                    setCurrentIndex(prev => prev === suggestionList.length - 1 ? 0 : prev + 1)
                    currentRef.current = currentRef.current + 1

                }
            } else if(event.keyCode === 38) {
                if(isSuggestionOpen) {
                    event.preventDefault()
                    setCurrentIndex(prev => prev === 0 ? suggestionList.length - 1 : prev - 1)
                    currentRef.current = currentRef.current - 1

                }
            } else if(event.keyCode === 13) {
                if(isSuggestionOpen) {

                    event.preventDefault();
                    setSuggestion(false)
                    core.functions.insertHTML(suggestionList[currentRef.current])
                }
            }
        }
    }, [currentIndex, isSuggestionOpen])

"suggestionList[currentRef.current]" is string type?
Does the work normally if I run it after selecting the range?

1 - yes, it is a string type.
2 - am not sure about the range. I am just using insertHTML.

Line breaks working on whether it is in line format.
insertHTML('
test
') it is create new  line.
insertHTML('test') it is not create new  line.

@JiHong88  both creating a new line

This issue is not reproduced.
When inserting text, get me know the text to be inserted and the  HTML of the editor area and the information of the "range" object.
Other issues:
And a bug that creates a new line when inserted in the middle of the string has been confirmed.
It will fix the next version.

The 2.38.4 version has been updated.
If this issue has not been resolved, please reopen this issue.
Thank you.

Hi @JiHong88 ,
Sorry for the late response.
The issue is not resolved. but I think I found the root cause.
I am binding the keyboard event, when the user hit Enter, it should block that event
useEffect(() => {
    editor.current.onKeyDown = (event, core) => {
      console.log(event.keyCode);
      if (event.keyCode === 40) {
        if (isSuggestionOpen) {
          console.log("Run");
          event.preventDefault();
          setCurrentIndex((prev) =>
            prev === suggestionList.length - 1 ? 0 : prev + 1
          );
          currentRef.current = currentRef.current + 1;
        }
      } else if (event.keyCode === 38) {
        if (isSuggestionOpen) {
          event.preventDefault();
          setCurrentIndex((prev) =>
            prev === 0 ? suggestionList.length - 1 : prev - 1
          );
          currentRef.current = currentRef.current - 1;
        }
      } else if (event.keyCode === 13) {
        // if (isSuggestionOpen) {
        console.log("Enter");
        event.preventDefault();

        //   setSuggestion(false);
        //   core.functions.insertHTML("test");
        // }
      }
    };
  }, [currentIndex, isSuggestionOpen, suggestionList.length]);

If you see the above code, I am preventing the Enter key event if (event.keyCode === 13) { event.preventDefault(); }
but in the editor, in the middle of the string, if I hit Enter, its not preventing the event. It inserting a new Line.
I have created a sample sandbox for your reference. please find the link below
https://codesandbox.io/s/suneditor-8exq4?file=/src/App.js:2266-3282
Video demo:
https://www.loom.com/share/aa435bcc507442dcaabf338a90dbe223
I think event.preventDefault is not working in the middle of the string.
can you please help me with this.
Thank you


zsh: permissionned denied

Hello,
Trying to install but getting this error
/home/alessandro/mambaforge/envs/haphic check
zsh: permission denied: /home/alessandro/mambaforge/envs/haphic

I am usually use mamba hence the mambaforge, but the error first appeared with a mamba installed so I removed it and tried to install with conda, but no difference. Any idea? I realize that might be a conda bug and not a haphic bug I hope I am not bothering you for nothing guys.
Thanks
Edit: note that
HapHiC/haphic
doesn't exist in my installation

Hi @Axze-rgb,
Conda or mamba is only used to solve the dependencies for HapHiC. You need to execute the haphic script you downloaded by using git clone:
$ git clone https://github.com/zengxiaofei/HapHiC.git
# after that, navigate to the HapHiC directory to find the haphic script
$ cd HapHiC
$ ./haphic check

The script should be executable with a permission mode of 755. If you still encounter the error message 'permission denied,' please try changing the script's mode by using:
$ chmod 755 haphic

Best regards,
Xiaofei

Ohhhh, ok, I hadn't understood properly, sorry. Thanks for the answer it works.


fix: hardcode ss58format when Keyring is passed

:tada: This PR is included in version 7.0.0-beta.2 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 7.0.0-alpha.15 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


AttributeError: Midi event 0x90 does not support attribute

I wanted to get the real Note from the NOTE_ON event. Not the Midi note (62) but the real Note (D4).
code:
import os
import busio
import digitalio
import board
import storage
import adafruit_sdcard
import umidiparser
import time

spi = busio.SPI(clock=board.GP10, MOSI=board.GP11, MISO=board.GP12)
cs = digitalio.DigitalInOut(board.GP1)

sdcard = adafruit_sdcard.SDCard(spi, cs)
vfs = storage.VfsFat(sdcard)
storage.mount(vfs, "/sd")

with open("/sd/test.txt", "w") as f:

    print("Printing lines in file:")

    for event in umidiparser.MidiFile("/sd/agree_to_stay.mid").play():
        # .play will sleep, avoiding time drift, before returning the event on time
        # Process the event according to type
        if event.status == umidiparser.NOTE_ON:
            #... start the note with midi number event.note
            #on channel event.channel with event.velocity
            f.write("NOTE_ON %s - key: %s\r\n" % (event, event.key))
        elif event.status == umidiparser.NOTE_OFF:
            #... stop the note event.note .
            f.write("NOTE_OFF %s - key: %s\r\n" % (event, event.key))
        elif event.status == umidiparser.PROGRAM_CHANGE:
            #... change midi program to event.program on event.channel ...
            f.write("PROGRAM_CHANGE %s\r\n" % event)
        else:
            # Show all events not processed
            f.write("OTHER_EVENT %s\r\n" % event)

print("done.")

event:
NOTE_ON note_on delta[miditicks]=1800 data=b'>P' delta[usec]=1875000 velocity=80 status=144 channel=0 note=62
NOTE_ON note_on delta[miditicks]=0 data=b'AP' delta[usec]=0 velocity=80 status=144 channel=0 note=65
NOTE_ON note_on delta[miditicks]=455 data=b'>\x00' delta[usec]=473958 velocity=0 status=144 channel=0 note=62
NOTE_ON note_on delta[miditicks]=0 data=b'A\x00' delta[usec]=0 velocity=0 status=144 channel=0 note=65

Thanks for the post. I added a new file gmfunctions.py with functions I use to interpret numbers that appear in midi events. Please take a look at the note_name_american and note_name_latin functions,.. Since the file is rather large, I am a bit reluctant to include all that in the basic package, that would increase RAM usage in another 7kbytes. Please extract and change what you need. The assignment of accidentals (b or #) is quite arbitrary, you might need to change that.
Does this help?
Sorry, I could not comment without closing the issue, don't know how to do that in github.

I'll reopen issue if needed.


SCSS support

🚀 Feature
I want to customize my docs with scss instead of using pure css.
Have you read the Contributing Guidelines on issues?
yes
Motivation
It is way easier to style the theme by not copy and past the whole class structure again and again.
Pitch
Fasten the styling process

Can I ask why this is labeled as wontfix? I'm unable to use sass-loader and node-sass, but I am able to with generic react apps. Is there a way I can add this to the docusaurus.config.js?

@endiliey Why was this a wontfix?
@caomicc You can configure the webpack config using plugin lifecycle hooks. E.g. https://github.com/facebook/docusaurus/blob/master/packages/docusaurus-theme-live-codeblock/src/index.js

its alrd doable in v2 through plugin system. Its also not going to be implemented in v1.

Seems that i labeled it wrongly by mistake

For those looking for a fast way to add sass support, just include this plugin to your docusaurus.config.js: https://www.npmjs.com/package/docusaurus-plugin-sass
Let's start taking advantage of how modular v2 is :)

@rlamana add your plugin to the docs under styling?

@yangshun Sure! I'll send a PR as soon as I can.


fix(tsm1): Fix data race of seriesKeys in deleteSeriesRange

Closes #25267
Describe your proposed changes here.

[x] I've read the contributing section of the project README.
[x] Signed CLA (if not already signed).

Add RWMutex lock for seriesKeys slice.
@davidby-influx

The ci/circleci: build_packages failed error is caused by Error pulling image

Please review, thanks so much.
@bnpfeife @jdstrand @devanbenz


[ALLUXIO-3361] add fuse integration test

https://alluxio.atlassian.net/browse/ALLUXIO-3361

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/998/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/999/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/1020/
Test PASSed.

@calvinjia, I added the fuse integration test to test fuse mount point interactions with Alluxio filesystem.
The POSIX commands included in this test is cat, chmod, cp, dd, head, ls, mv, tail and working on adding other commands like du and chgrp.
The followings are two issues I occur and willing to hear your advice.
(1) The fuse integration test mounts Alluxio to a local folder once each test. Would it be better to mount it once for the entire fuse integration test? I haven't found easy ways to accomplish this. The mount behavior seems not that heavy and slow in my mac computer (can be mounted in 1-2 sec).
(2) I can use
mvn -DfailIfNoTests=false -Dtest=alluxio.client.fuse.FuseFileSystemIntegrationTest test -Dmaven.javadoc.skip -Dfindbugs.skip -Dcheckstyle.skip -Dlicense.skip -rf :alluxio-tests

or intellij to run the tests on my local mac and all tests build success.
Other than Mac, I also need to make sure the tests run as expected in linux environment. Do we have any better approach to run those integration tests on Linux environment (maybe autobots) ?
PTAL, thanks a lot!

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/1022/
Test PASSed.

@calvinjia Added the tests for chown and chgrp. Fixed the chown userName fileName issue in AlluxioFuseFileSystem. Linux will provide the main group name while group name is not provided but mac will not, so I add the gid check in AlluxioFuseFileSystem.chown. PTAL, thanks

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/1033/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/1035/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/1036/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/1037/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/1038/
Test PASSed.

@calvinjia  Thanks for your advice. I addressed your comments and tested in both local mac and Linux cluster. The only issue here is our PR Jenkins test seems to run in instances without Fuse installed so that all the FuseFileSystemIntegrationTests will be skipped. I will contact Rico on Monday to confirm that and see if we can install fuse in those PR test instances.
PTAL, thanks!

@LuQQiu Sorry I gave the wrong annotation, it should be junit's @BeforeClass and not @BeforeTest. Also, we should do a namespace clean up in @After and only do the unmount in @AfterClass.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/1052/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/1054/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/1056/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/1057/
Test PASSed.

@calvinjia I changed to use @BeforeClass to setup mount, umount in @AfterClass and cleanup in @After. In addition, I modified the block size configuration and changed dd test to create smaller files so that the test can be finished faster.
For du command test, Alluxio and POSIX have different usages. Alluxio namespace will show the file size in du command. If -s is given, we will provide the aggregate file size of files inside a folder. However, when i test the du in Alluxio-Fuse. It will show the block size that mac estimate that the file/folder will use. For example, if a folder contains four files of size 0, du -s /folder in Alluxio will show 0 of this folder. du /folder will show 8 which is 4k.
I feel that du in Alluxio-Fuse can only show relative sizes and is not that useful. I would suggest not including du in our integration test now. What's your opinion?
Thanks!

@calvinjia  In addition, I have contacted @aaudiber about installing fuse in jenkins OS PR build (add install commands in https://github.com/Alluxio/alluxio/blob/master/dev/jenkins/Dockerfile) so that the FuseFileSystemIntegrationTest can run instead of skip.
Now I am blocked by the network....unable to download the docker on my mac.....

@LuQQiu For the du behavior, is that consistent with Linux's du? It does not need to be consistent with Alluxio's du.

@calvinjia yes, the Alluxio-Fuse du behavior is consistent with Linux du.

@LuQQiu In that case, I think our du behavior is fine. Alluxio's du is not a real du, just using the same name because it is doing something similar.

@calvinjia Would we consider adding du to integration test? The du command results may vary depends on systems.

@LuQQiu du's semantic should be consistent on local file systems, I thought the difference was with distributed storage like Alluxio? If it is not consistent then we should do a check to make sure the OS is what we expect (ie. AssumeTrue).

@calvinjia sure, i will double check the du behavior in mac and linux systems.

jenkins, test this please

hm, not sure why it isn't rebuilding
test this please

Jenkins, test this please

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/1068/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/1075/
Test PASSed.

@calvinjia I am working on the fuse du inconsistency behavior in Linux and testing to see if my changes can fix it. Will open another PR when finished. Thanks!


Motion catalog over pdfmake

By @ThomasJunk from #2288

For printing of multiple motions, one needs to implement a ContentProvdider which does the job. Idea: MotionContentProvider has a method motionContentProvider.getContent(motion, $scope, User); which generates an Array for one motion. To render multiple motions, one could iterate over the array of motions and concat the results Pseudocode: return motions.map(function(motion){ ... return motionContentProvider.getContent(motion, $scope, User); }).reduce( function(o,n){ var tmp=o.concat(n); return tmp; },[] ).

The motion catalog shall contain:

(Page One:)
Heading: "Motions"
(if there are any categories, a list of categories with the Prefix and Name on first page)
Heading2: "Categories"
{Prefix} {Name}
(page two if there are categories, still one if there aren't, a table of contents with the following setup)
Heading2: "Table of Contents"
"Motion" {if set: the Category prefix} {Number}: {title} {space or dots to end of page} {page number}

Followed by the printable versions of the motions were every Motion is on a new page.
The page number shall be absolute to the number of pages of the catalog and not be relative to the motion.
The differences to the current ReportLab implementation are the page numbers in the toc as well as the Heading "Table of Contents"
If this is not the case or there are other requirements correct me here
@emanuelschuetze
@normanjaeckel

@tsiegleauq yes, as discussed


improve memory alignment of frequently used structs

Codecov Report

Merging #2137 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2137   +/-   ##
=======================================
  Coverage   85.96%   85.96%
=======================================
  Files         104      104
  Lines        7466     7466
=======================================
  Hits         6418     6418
  Misses        785      785
  Partials      263      263

Impacted Files
Coverage Δ

internal/wire/header.go
87.88% <ø> (ø)
:arrow_up:

internal/wire/stream_frame.go
100% <ø> (ø)
:arrow_up:

internal/handshake/transport_parameters.go
97.35% <ø> (ø)
:arrow_up:

internal/wire/extended_header.go
88.32% <ø> (ø)
:arrow_up:

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 f15a82d...807dd67. Read the comment docs.


Support file type

Currently library just gives an error if you try to use it with file type in schema
Link to an File API docs

Hello, yes file are not a thing in JSON so we can't have a conversion to JSON schema.
You can generate an empty schema on files by doing:
toJSONSchema({
   schema: file(),
   customSchemaConversion: {
       // Return an empty JSON schema (equivalent to `any`)
       file: () => {
           return {};
       }
   },
})
// => {}

That's a shame. I came here in the first place because of an error message in sveltekit superforms. I found something similar to validate non-JSON data, but not enough fields and no support for binary content format (which makes sense). Thanks for the reply

@wineTGH Can you contact the maintainers of sveltekit superforms ?
Of course js file could be serialized in JSON but it would need a custom serializer and then a custom schema conversion which is definitely possible with customSchemaConversion

Actually I see that they already encountered the same error on instance and just ignored it:
https://github.com/ciscoheat/sveltekit-superforms/blob/1dcb881a61d8bf8074c639834a733652d3878506/src/lib/adapters/valibot.ts#L32

Thanks. I will open issue on their repo. This can be closed


Paket Push doesn't make use of the stored credentials for a given source.

if we specify a source url on the command line, should we be able to fetch the credentials from a stored set of credentials like we do for install/restore?

that would probably make sense, but most use apikey!?

I agree, but we do allow to set api tokens in the config already so couldn't we fetch from there?

Yes. If you construct a repro sample, then it will be easy to make that
work
On Apr 4, 2016 7:09 PM, "Chester Husk III"<EMAIL_ADDRESS>wrote:

I agree, but we do allow to set api tokens in the config already so
couldn't we fetch from there?
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/issues/1568#issuecomment-205397512

Oh I was going to send a PR a bit later with a test and doc updates, if that's ok.

Even better. ;-)
On Apr 4, 2016 7:38 PM, "Chester Husk III"<EMAIL_ADDRESS>wrote:

Oh I was going to send a PR a bit later with a test and doc updates, if
that's ok.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/issues/1568#issuecomment-205409265


Draft phase

This issue is to hold announcements re the draft phase, which will (or at least should) end in April 2023.
The ending, so the becoming stable of the markers, will be announced in this issue, as will ongoing changes. To be informed of that ending subscribe to this issue’s notifications.

IT has been changed, as described in issue 3: “Switch colours in IT”.

Issue 6: Malta line colouring, as yet proposed but not done.

Issue 3: “Switch colours in IT” has been done.

Issue 6: Malta line colouring has been done.

Per issue 7: Line colouration collisions, there have been changes to the line colours of CZK, SN, UYU, and SI.

Per issue 8: Sizing imperfections, markers of GBP shrunk and AUD enlarged.

Issue 9: IADB improvement, has been done.

There has been a further improvement to https://github.com/jdaw1/chart_markers/issues/9

With changes to lines of MYR, PT, LU, HR, the draft phase is closed. Hence so is this issue.


New monotonic spawn_after() causes fmt bloat

When adding my first spawn_after(Milliseconds(500_u32)) call using the new monotonic, my .TEXT section went from 40.1KiB to slightly over 64KiB.
The worst offenders are all formatting related:
File  .text    Size           Crate Name
0.1%   9.6%  6.2KiB             std core::num::flt2dec::strategy::dragon::format_shortest
0.1%   8.2%  5.3KiB             std core::num::flt2dec::strategy::dragon::format_exact
0.0%   3.8%  2.4KiB             std core::num::flt2dec::strategy::grisu::format_shortest_opt
0.0%   1.9%  1.2KiB             std core::num::flt2dec::strategy::grisu::format_exact_opt
0.0%   1.6%  1.0KiB             std core::fmt::float::float_to_decimal_common_exact
0.0%   1.4%    932B             std compiler_builtins::int::specialized_div_rem::u64_div_rem
0.0%   1.2%    824B             std core::num::bignum::Big32x40::mul_digits
0.0%   1.2%    798B             std core::fmt::float::float_to_decimal_common_shortest
0.0%   1.0%    644B             std core::fmt::Formatter::write_formatted_parts
0.0%   1.0%    642B             std core::num::flt2dec::strategy::dragon::mul_pow1

My project is running on a stm32f103 with 64KiB of flash, I have been avoiding std::fmt as it doesn't fit.
embedded-time Durations implement fmt::Display, I assume this is the source of the bloat: https://docs.rs/embedded-time/0.10.1/src/embedded_time/duration.rs.html#513
I don't think implementing my own Milliseconds type is an option, due to private types: https://github.com/FluenTech/embedded-time/issues/98
https://docs.rs/embedded-time/0.10.1/embedded_time/duration/struct.Generic.html may be a possible work-around, I have yet to try it.

rustc should be passing --gc-sections or equivalent to the linker since -C link-dead-code is disabled by default. Could try -C link-arg=--trace-symbol=<symbol_name> to see what's referencing the formatting code, might need to use the unmangled symbol name.

My cargo profile:
# Debug info does not occupy flash
[profile.release]
codegen-units = 1
debug = 2
debug-assertions = false
incremental = false
lto = "fat"
opt-level = "z"
overflow-checks = false

Final build step in release mode:
rustc --crate-name hw_cpu_firmware --edition=2018 src\main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=z -C lto=fat -C codegen-units=1 -C debuginfo=2 --cfg "feature=\"default\"" --cfg "feature=\"defmt-default\"" -C metadata=7d39dfed40ffca07 -C extra-filename=-7d39dfed40ffca07 --out-dir C:\Users\james\Documents\GitHub\hw-cpu\firmware\target\thumbv7m-none-eabi\release\deps --target thumbv7m-none-eabi -L dependency=C:\Users\james\Documents\GitHub\hw-cpu\firmware\target\thumbv7m-none-eabi\release\deps -L dependency=C:\Users\james\Documents\GitHub\hw-cpu\firmware\target\release\deps --extern cortex_m=C:\Users\james\Documents\GitHub\hw-cpu\firmware\target\thumbv7m-none-eabi\release\deps\libcortex_m-1b80b3f15d2a2aa4.rlib --extern rtic=C:\Users\james\Documents\GitHub\hw-cpu\firmware\target\thumbv7m-none-eabi\release\deps\librtic-87d5c60eb76928c4.rlib --extern defmt=C:\Users\james\Documents\GitHub\hw-cpu\firmware\target\thumbv7m-none-eabi\release\deps\libdefmt-f76272be7e8b60ce.rlib --extern defmt_rtt=C:\Users\james\Documents\GitHub\hw-cpu\firmware\target\thumbv7m-none-eabi\release\deps\libdefmt_rtt-a1235029dd1a3b33.rlib --extern dwt_systick_monotonic=C:\Users\james\Documents\GitHub\hw-cpu\firmware\target\thumbv7m-none-eabi\release\deps\libdwt_systick_monotonic-7691bde95e64caad.rlib --extern embedded_graphics=C:\Users\james\Documents\GitHub\hw-cpu\firmware\target\thumbv7m-none-eabi\release\deps\libembedded_graphics-762285988397bfc3.rlib --extern embedded_hal=C:\Users\james\Documents\GitHub\hw-cpu\firmware\target\thumbv7m-none-eabi\release\deps\libembedded_hal-9a17dca37f65301d.rlib --extern heapless=C:\Users\james\Documents\GitHub\hw-cpu\firmware\target\thumbv7m-none-eabi\release\deps\libheapless-ab59549aef9e67be.rlib --extern mutex_trait=C:\Users\james\Documents\GitHub\hw-cpu\firmware\target\thumbv7m-none-eabi\release\deps\libmutex_trait-03772ba3a590e1e8.rlib --extern panic_probe=C:\Users\james\Documents\GitHub\hw-cpu\firmware\target\thumbv7m-none-eabi\release\deps\libpanic_probe-799310700ea65443.rlib --extern postcard=C:\Users\james\Documents\GitHub\hw-cpu\firmware\target\thumbv7m-none-eabi\release\deps\libpostcard-7e93d5b468aa67cf.rlib --extern rtic_core=C:\Users\james\Documents\GitHub\hw-cpu\firmware\target\thumbv7m-none-eabi\release\deps\librtic_core-6cac66af11905036.rlib --extern rtic_monotonic=C:\Users\james\Documents\GitHub\hw-cpu\firmware\target\thumbv7m-none-eabi\release\deps\librtic_monotonic-5590a1a9f9e8cb8d.rlib --extern shared=C:\Users\james\Documents\GitHub\hw-cpu\firmware\target\thumbv7m-none-eabi\release\deps\libshared-8b67ac31b55065ef.rlib --extern ssd1306=C:\Users\james\Documents\GitHub\hw-cpu\firmware\target\thumbv7m-none-eabi\release\deps\libssd1306-419c6bd137e3cd41.rlib --extern stm32_usbd=C:\Users\james\Documents\GitHub\hw-cpu\firmware\target\thumbv7m-none-eabi\release\deps\libstm32_usbd-04da193fe98d1fa9.rlib --extern stm32f1xx_hal=C:\Users\james\Documents\GitHub\hw-cpu\firmware\target\thumbv7m-none-eabi\release\deps\libstm32f1xx_hal-c69b1f864958f8da.rlib --extern usb_device=C:\Users\james\Documents\GitHub\hw-cpu\firmware\target\thumbv7m-none-eabi\release\deps\libusb_device-d16dc35474996bbb.rlib --extern usbd_serial=C:\Users\james\Documents\GitHub\hw-cpu\firmware\target\thumbv7m-none-eabi\release\deps\libusbd_serial-7b409d9cbe0818e2.rlib -C link-arg=-Tlink.x -C link-arg=-Tdefmt.x -C link-arg=--nmagic -L C:\Users\james\Documents\GitHub\hw-cpu\firmware\target\thumbv7m-none-eabi\release\build\cortex-m-66e155e87183711a\out -L C:\Users\james\Documents\GitHub\hw-cpu\firmware\target\thumbv7m-none-eabi\release\build\defmt-df7a610c3d1e3538\out -L C:\Users\james\Documents\GitHub\hw-cpu\firmware\target\thumbv7m-none-eabi\release\build\cortex-m-rt-514bcfecf1078800\out -L C:\Users\james\Documents\GitHub\hw-cpu\firmware\target\thumbv7m-none-eabi\release\build\stm32f1-227deca9c6070030\out
I don't know how to get rustc to print out what it's passing to the linker.

I tried adding "-C", "link-arg=--trace-symbol=core::fmt::Formatter::write_formatted_parts", to .cargo/config, but I don't see any output, not sure if that's because I need to pass in something different, or it's being swallowed somewhere in the build process.

I will have a look at this. I have a few ideas from where it might be coming.

@jhillyerd Do you have the project available so I can use it to benchmark?

Yes, https://github.com/jhillyerd/hw-cpu/compare/rtic060alpha2...alpha2timer -- firmware directory

There is now a new version available of embedded-time with the fixes.
I'll update RTIC for the next alpha to include this.

This has been released


Sched: Time slice fix

z_reset_time_slice() should be called only when the slice time is
reached or when time slice is explicitly changed by
k_sched_time_slice_set().
Currently, z_reset_time_slice() is unconditionally called from several
places when a different thread is scheduled making the scheduler
misbehave. For instance:
Thread A
k_sched_time_slice_set(200, K_PRIO_PREEMPT(0));
/* ... spins for half slice time */
k_msleep(300);
Instead of thread B runs for the other half of the slice, it will run
for a much longer period because k_msleep() will end up calling
z_reset_time_slice() that does:
...
_current_cpu->slice_ticks = slice_time + z_clock_elapsed();
...
and the next time that the slice time expires the following condition
will be false and the thread won't be preempted
if (ticks >= _current_cpu->slice_ticks)

@andyross  it seems that this is breaking another test, but the problem appears to exist. Could give me a feedback about it.


Package.getActivationCommands is deprecated.

Use activationCommands instead of activationEvents in your package.json
Commands should be grouped by selector as follows:
  "activationCommands": {
    "atom-workspace": ["foo:bar", "foo:baz"],
    "atom-text-editor": ["foo:quux"]
  }

Package.getActivationCommands (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:806:9)
Package.hasActivationCommands (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:731:20)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:185:24)
Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:163:15)
Package.load (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:177:12)
PackageManager.loadPackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:355:14)

Sorry for the duplicate, usually Atom is supposed to tell if there is already a Pull request ..
Closing


Copilot's knowledge on Flutter and Dart is severely outdated (version 2.8.1 vs current 3.22)

Here's the response I got when questioning its Futtler code and suggestions:
"It seems there's a misunderstanding. Flutter's latest stable version at the time of writing is 2.8.1. If you're referring to Dart SDK version as 3.19.5, that's also not correct as Dart's latest stable version is 2.15.1."
3.19.5 is the version I have on my PC.

Will be fixed via https://github.com/microsoft/vscode-copilot-release/issues/560


String choices cannot be described

We do not currently have the ability to store descriptions on the StringChoice property.
"choices": [
    "C",
    "N",
    "F"
],
"descriptions": [
    "Cell centred data",
    "Nodal data",
    "Face data"
]

Cool. I think only one description for choices that accept multiple validation inputs?

Would these descriptions be used exclusively for documentation? eg:
Required
    Properties
        location: (StringChoice) choices: 'C', 'N', 'F' ('cell-centred data', 'nodal data', 'face data', respectively)

As described above, this would make sets and dictionaries invalid inputs since they are unordered. There could be checks in place to ensure choices is ordered if descriptions are provided. Alternatively, descriptions could be a dictionary with choice/description pairs...
We could also keep the dictionary implementation as-is and just modify the docstring creation (and maybe write some best-practices documentation on StringChoice). I'm thinking something like:
locations = properties.StringChoice(
    doc='data location',
    choices={
        'cell-centred data': ['C', 'CC'],
        'nodal data': 'N',
        'face data': 'F'
    }
)

with doc something like:
Required
    Properties
        location: (StringChoice) choices:  cell-centred data ('C', 'CC'), nodal data ('N'), face data ('F')

Then someone could 'cell-centred data', 'C', and 'CC' would all be valid inputs, but intended usage would just be 'C' and 'CC'. Perhaps we could modify validation so the values are coerced to the first value in the choices dictionary rather than the key (ie 'C' rather than 'cell-centred data').

I think that the order is occasionally important.
Can we add descriptions to the StringChoice independently? Perhaps as a dictionary?
locations = properties.StringChoice(
    doc='data location',
    choices=['C', 'N'],
    descriptions={'C': 'cell-centred data', 'N': 'nodal data'}
)

Yeah, that would be fine. Allows for both ordered and unordered choices.

Implemented in #120


Can't upgrade the latest version0.13 by homebrew

I have installed the infer of version0.12.1 by brew.
I want to upgrade it to 0.13 using command:
brew update
brew upgrade infer

It can't upgrade.
But i change a way:
brew uninstall infer
brew install infer

So, install completed, the version is always 0.12.1.

brew info infer shows 0.12.1—I imagine the formula simply hasn't been updated:
infer: stable 0.12.1 (bottled)
Static analyzer for Java, C and Objective-C
http://fbinfer.com/
Not installed
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/infer.rb
==> Dependencies
Build: autoconf ✔, automake ✔, libtool ✘, ocaml ✘, opam ✘, pkg-config ✘
==> Options
--without-clang
	Build without C/Objective-C analyzer
--without-java
	Build without Java analyzer

https://github.com/Homebrew/homebrew-core/pull/19646

0.13.0 is available in Homebrew now.


a better description of the build system script

i dont know why, but some of the tests are failing

Also, why are there 10 commits?

Also, why are there 10 commits?

there were supposed to be just two, I think it's between when I made a git pull, committed my changes, and then made a git push. it accounted for the recent commits
I don't know why it did that tho

You still have 11 commits.

You still have 11 commits.

well, that's because I was working on that issue with a different GitHub account that got flagged and I had to create a new one. so I committed the changes I had made

hello @GuillaumeGomez , i have being trying to squash my commits and I haven't being to do that, this is my first attempt at trying to squash a commit tho. i have been at it since you mentioned and it turns rebase squash wasn't as easy as I thought.

A tutorial on how to squash commits.

tha

A tutorial on how to squash commits.

thank you!

You only keep on adding new commits...

You only keep on adding new commits...

yeah, i realized that, i am trying to figure it out


Add wokrupaa92's file

created a branch, created a file and made a commit, and opened a pull request


Show invisibles only when selecting text

I tried searching for a similar issue here and I didn't find anything that directly addresses what I want, though #3249 (which I have subscribed to) is what I want, just asked for in a very roundabout way.
In short: we should have an option to only display invisibles within a selection. Showing them all the time is too noisy, not showing them at all loses their power, and turning them off and on when I want to see them is annoying. I'm aware that with CSS we cannot achieve what is required (hence unresolved #3249, and accompanying forum post) due to the underlayer controlling the background highlight. So this will presumably be something that atom must provide from within the core.
If this request appeals more as something that's more generic (and allow us to achieve what we want with CSS) you could actually just attach a .selected class to all elements (scopes) that are within the selection (obviously a selection part-way through an element will require an inner span injected with just the .selected class). This way, we can do what we want in regards to the invisibles, but package developers may find interesting ways to use this selection class/scope for other purposes.

:+1:

Who says it's not possible with CSS? http://jsfiddle.net/afk5egLz/

Now try that in Atom and let me know how well it works.

+1 for this feature

+1. Should be a standard feature. (I need a quick way to find out if my tabs are tabs or spaces, but I don't want to see that stuff constantly)

another +1

+1 for this, i really like how sublime does it, is it possible for us to add this?

+1 for this feature. I too liked ST3 for that feature.

It can be sort of achieved with CSS but it's still rather hacky. Would love to see this built into a plugin.

@mattdarveniza please share how you did it!

@elektronik2k5 The trick is to set the invisibles to the same color as the background, then when the invisibles are highlighted you'll be able to see them contrasted against the color of the highlighted area.
The code that worked for me using the one-dark theme, settings may vary with different themes:
  .invisible-character {
    // Set invisible-characters to same as background color
    color: @base-background-color;
  }

  .cursor-line .invisible-character {
    // Set invisiable characters on current line to highlight line color
    color: @background-color-highlight;
  }

  .invisible-character.indent-guide {
    // Reset box shadow on indent guides as by defualt it inherits color from
    // main color attribute.
    box-shadow: inset 1px 0 @background-color-selected;
  }

Which comes out looking like

It isn't perfect, as you can't set the invisible's highlight color to anything with more contrast, and there's something weird going on with the indent guides being off by one pixel, but better than nothing.

+1, expect for this feature

+1
2016, omg...

+1

+1

+1

+1

👍

pls

We can show that in Settings but on load (the entire file). Not just when selecting the rows. Go to Settings -> check Show Invisibles checkbox.

+1

+1

+1

+1

+1

+1

Yeah - that would be so cool!!! Simply having a checkbox in "Settings > Editor > Show Invisibles in Selection" would be awesome! This is a feature I really miss coming from ST3

+1 for that, I lost 1 hour today due this ...

Definitely +1, but for now I'm working around this by making invisible characters very faint with this:
atom-text-editor::shadow .invisible-character { color: rgba(100, 100, 100, 0.25) }

I still find the extra noise irritating so have moved back to Sublime.  The extra screen cruft is simply too distracting.  Will try Atom again if this gets fixed.

@thebarty that's fine for your individual case, but I think you'll find there are a heap of people who don't find this an acceptable solution, regardless of theme or how subtle they are. It makes the screen much noisier, for things that I only want to see under very certain contexts.

+1

+1

+1

+1

+1

Please use the 👍 reaction on the first comment instead of commenting “+1.” Several people get an email for each comment posted here.

@j-f1 It's been 22 months.. I think all hope can be considered lost.  Our eyes are to be forever blinded by the visibility of invisibles.

+1

+1

:(

+1

👍

This is my current solution for now
/* Hack invisible indent current line and selection */
atom-text-editor {
	.indent-guide {
		color: #1A1E26;
	}
	.cursor-line .indent-guide {
		color: #4D5057;
		// background: rgba(255,255,255,.2);
	}
	.invisible-character.indent-guide {
		box-shadow: inset 1px 0 #373b41;
		// box-shadow: inset 1px 0 rgba(255,255,255,.1);
	}
	.cursor-line .invisible-character.indent-guide {
		box-shadow: none;
	}
}

https://discuss.atom.io/t/atom-is-so-powerful-that-it-blows-my-mind/294/26
@import "syntax-variables";
atom-text-editor::shadow .invisible-character {
	color: @syntax-background-color;
}

Better than nothing but still doesn't have all whitespace (i.e. in the middle of a line).

Am I wrong to conclude that this feature could be implemented by simly displaying line contents as
display: inline-block;
As far as I can see it sounds like a CSS problem but I am unfamiliar with the specific construction methods inside the editor and if it differs from standard CSS.

Not exactly sure what you'd apply that style to, but yes, as I pointed out in the original post, if we could find a way to know which parts of the DOM had a selection, then yeah we can do whatever we want. The problem is (at least, at the time I posted this, was) that the selection is done on a separate layer entirely to all the syntax highlighting, so there was no way, in CSS, to select (as in CSS selectors) all DOM bits that were selected (as in text selected!).

Almost 2019!

https://discuss.atom.io/t/show-invisibles-only-in-selected-text/11644

Can someone make a package called "Sublime-like invisible characters"?

It's not only the invisibles, atom highlights lines to the end of the line. I don't like this at all. It's so confusing.

This may be not obvious for Atom newbies: @willthemoor  guide above works beautifully but you need to import some variables into user styles.less first:
// Add below to top of the styles.less file
@import "syntax-variables";

Good catch @trongthanh, thank you. Added that bit to my comment.

not stale

Related workaround based on https://github.com/atom/atom/issues/6669#issuecomment-459509043:

https://gist.github.com/justo/283e41b205e14bcba57b#gistcomment-3520466

Setting invisibles to the background color in dark theme is very ugly.
My alternative solution is only showing invisibles at the cursor line and at the end:
@import "syntax-variables";

atom-text-editor.editor {
  .line:not(.cursor-line) .invisible-character:not(.trailing-whitespace) {
    color: transparent;
  }
}

Setting invisibles to the background color in dark theme is very ugly.
My alternative solution is only showing invisibles at the cursor line and at the end:
@import "syntax-variables";

atom-text-editor.editor {
  .line:not(.cursor-line) .invisible-character:not(.trailing-whitespace) {
    color: transparent;
  }
}

                                                                                Sent from my BlackBerry 10 smartphone.

                                                                                Sent from my BlackBerry 10 smartphone.


UI didnt load correctly.

So the UI and all Gradients didnt load good at all.
Some stuff goin on in my Figma Project:

But the result was

Same here

Hi! I am having the same issue rn. Did you solve it?


Add Union Find Data Structure in Java

Checklist

[x] I have read the contribution guidelines and my code is in accordance with the guidelines

[ ] I have implemented an Algorithm

[x] I have implemented a Data structure

Fixes #79

Added java file implementing union find

Added a README.md file

Awesome work! Merging it right away. 🎉


Add Employee - BACK END

Setup backend logic for when user submits form data to create a new employee in the users table

This is the same as task 39


Celo:

Describe your issue here.
I have recently got myself a celsius wallet on my android phone and deposited xrp and tether fine.
I bought some Celsius this morning from my coinbase wallet and transferred it to the wallet, the confirmation code is here https://explorer.celo.org/address/0x57e83da4e9c0d1a9f3643aec62b04c5c21a86477/transactions
but no celsius in my wallet as of 18:36.  I am a uk resident, would this be why?
Environment

Elixir Version: 1.9.0

Erlang Version: 22

BlockScout Version: 330e57bb88472a655cb1b67d70131d8ecef56e49

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36

Steps to reproduce ... no idea!
Tell us how to reproduce this issue. If possible, push up a branch to your fork with a regression test we can run to reproduce locally.
Expected Behaviour. celsius depoosited in my celsius app
Tell us what should happen.
Actual Behaviour  - no celsius in my wallet

Tell us what happens instead.

@Thomashadley89
Hi, Coinbase does not support Celsius. Did you mistakenly buy CGLD or CELO?
You may be able to recover your CELO if you have the private key for your celsius wallet.
If you would like some help in this matter I can walk you through some steps that may be able to help you recover your funds.

Hi
Thanks for your reply and yes that's right I did mistake it for celo.
I do have my private key, so I take it I need to ggo to a wallet that
supports celo or cgld and then could get my funds back?
Tom
On Tue, 23 Mar 2021, 18:42 Dominique Liau, @.***> wrote:

@Thomashadley89 https://github.com/Thomashadley89
Hi, Coinbase does not support Celsius. Did you mistakenly buy CGLD or CELO?
You may be able to recover your CELO if you have the private key for your
celsius wallet.
If you would like some help in this matter I can walk you through some
steps that may be able to help you recover your funds.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/celo-org/celo-monorepo/issues/6345#issuecomment-805142575,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASH5ABCCJI5ZMVMQCFDZ6UTTFDOJBANCNFSM4VHJ4AWA
.

@Thomashadley89
Yes, you can use the [instructions}(https://docs.celo.org/celo-owner-guide/eth-recovery) here to do so.
Let me know if it works!


refactor(frontend): blurred transactions page when signed out

Motivation
The transactions page should be blurred like the main page when the user is not signed in.
Changes

Created new component to blur a slot.
Use the component for Transactions.
Replace and use it in the code of Tokens, to avoid repetition.

Tests
Before

After

Let me talk it again with design team

As discussed with Dan, we will have a specific "empty-state" component as placeholder for these cases, so for now we leave it as it is. Closing


Add new workflow build-package with workflow_dispatch

This replaces the old workflow that is triggered on pushing to trigger/$TARGET_ARCH.
This MVP still uses trigger/$TARGET_ARCH to store the excludes files for now, as I can't think of a better way for now.
The workflow can be triggered on github webpage, using gh cli, or using GitHub Restful API through curl or reqwest in rust.
I've verified that it is working and can trigger the build as expected.
TODO:

[x] concurrency-group, using ${{ inputs.target_arch }} according to here
[ ] create excludes.txt on the fly using prints-build-excludes.sh
[ ] shuf the POPULAR_CRATES.

Signed-off-by: Jiahao XU<EMAIL_ADDRESS>

Seems to be working, but since I just adjusted the concurrency.group keys again, will have to wait and observe the new build-package.yml workflows triggered

Confirmed that the concurrency.group works, but with a catch:
Canceling since a higher priority waiting request for 'build-package-x86_64-pc-windows-msvc' exists

it could be cancelled if there is a higher priority waiting requests.
I would have to investigate on this and disable this cancellation.

Confirmed that the concurrency.group works, but with a catch:
Canceling since a higher priority waiting request for 'build-package-x86_64-pc-windows-msvc' exists

it could be cancelled if there is a higher priority waiting requests. I would have to investigate on this and disable this cancellation.

This problem is discussed here.
I would instead change the concurrency.group to contain the crate, the version and the target_arch to avoid this cancellation.

Confirmed that the concurrency.group works, but with a catch:
Canceling since a higher priority waiting request for 'build-package-x86_64-pc-windows-msvc' exists

it could be cancelled if there is a higher priority waiting requests. I would have to investigate on this and disable this cancellation.

This problem is discussed here. I would instead change the concurrency.group to contain the crate, the version and the target_arch to avoid this cancellation.

While this is not as good as we originally discussed to avoid overloading GHA, this still prevents case 1.


Suggestion: timestamps on the current influence table

Maybe with colour coding for how recent they are? Or optional sorting by most recent?

Possible. I will see if I can add it to my next release

This has partially been done by 8045f71e4b161ef02f96517e7c35d176f5a80493
Will need to do sorting of the field

Completed by 7fd5df0


SASLPrep in sasl-plugin and sasl-delegation

The RFCs for both PLAIN and SCRAM flavours of SASL (RFC 5082 and RFC 4616) both advise the SASLPrep algorithm (RFC 4013) be applied to usernames and passwords.

Doing this is sasl-delegation is simple enough, however there is a problem with honouring this in the keycloak/sasl-plugin component. We ought to look up the credentials in the user database using the SASLPrep-ed username as the key, but the plugin doesn't control how the lookup is keyed -- Keycloak does. In practice this might not be an issue, because it's possible Keycloak imposes some sanity checks of its own (perhaps even compatible with SASLPrep), but we should check.

So this code
    @Override
    public void setUsername(String username) {
        username = KeycloakModelUtils.toLowerCaseSafe(username);
        user.setUsername(username);
    }

Would seem to suggest that KeyCloak may just decide to store the username in "lowercase" (current default locale dependent)... which is an interesting choice


object tags

Is word embedding of object tags the same embedding matrix as word embedding of caption

yes. The text input use the same word embedding.

Hi,
Where can I find list of all object tags used in OSCAR? I am assuming OSCAR+ uses same dictionary given with VinVL. But I am not sure about the dictionary of OSCAR.


Caret gets back to head unexpectedly, when third-party keyboards call insertText and setMarkedText.

Environment

iOS 13.4.1 (17E262)
Model: iPod touch (7th generation)
flutter TextField

Steps to Reproduce

third-party keyboard calls insertText with "hoge".
third-party keyboard calls setMarkedText with empty text.

Expected results:
The caret should be at the tail of text.
Actual results:
The caret is always at the head of text.
Additional information:
After step 2, if the third-party keyboard calls adjustTextPosition with -1 to move the caret left, the flutter app always crashes.
The crash log is as follows.
*** -[__NSCFString substringWithRange:]: Range {8,<PHONE_NUMBER>3709551615} out of bounds; string length 9. This will become an exception for apps linked after 10.10 and iOS 8. Warning shown once per app execution.

Hi @justoneplanet
Can you please provide your flutter doctor -v, and a minimal complete reproducible code sample.
Thank you

@TahaTesser Sorry! I'm not a flutter app developer, but a keyboard app developer. I have debugged "Flutter Task Listing App" with following minimal project.
For debug of the incorrect caret position
iOSSampleKeyboard-flutter-incorrect-caret-position.zip
For debug about crash on moving caret to the middle of brackets
iOSSampleKeyboard-flutter-crash.zip

Hi @justoneplanet
Does this reproduce only on iPod touch? Did you try iPhone? Which one
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


Unable to expand view in iOS on RN39

It load the list, When taps on it, it does not expand in iOS on RN 0.39. I am using Xcode 8 and iOS 10 simulator to test it.And your example code has the same problem.

Same problem on Android,
I found some suggestion in https://github.com/oblador/react-native-collapsible/issues/51, this has been an issue since 0.36.0, there is apparently a fix that needs to be made by react-native which was expected to be in 0.39, but has not yet been released.

I am starting to wonder if we need to look at refactoring the code to remove this blocker as it also looks like it is still in 0.40 and with RN moving to monthly releases it seems unlikely to get fixed in the near term

Hello, Is there any solution for this problem , it is not expanding in iOS..Please help

@rajnikantsethiya It should work if you use react-native master

I'm also facing this issue. If i set collapsed={false}, i can see my renderContent, which in my case is a FlatList.

@alxvallejo Is this issue still happening?

Closing this as inactive as there's been no activity for over 30 days. If the problem re-occurs on the latest version of react-native-collapsible then ping me to reopen or create a new issue.

@iRoachie This is still an issue using RN @0.50.4 and @0.13.0

Please open a new issue.


Question about timeline for 2.3

Just curious if there's an estimated release date for 2.3. I'm looking to be able to hook into line 333 in /includes/widgets/wsl.complete.registration.php from version 2.2.3. I've got some additional fields I'd like to get from the user at registration.
If there's another way to achieve this - outside of editing that file directly - please let me know.
Thanks!

:+1:Facebook integration as it is right now, is close to useless. A simple update on Wordpress.org would suffice.