Lamy EMR button not working under Oxide

Describe the bug
Remarkable_hacks adds a number of features to the xochitl interface, one of which is support for the EMR button on the Lamy (and possibly others... Wacom?) stylus.  When running xochitl under oxide, the button does not respond.  Other hacks applied by the remarkable_hacks install are present however.
To Reproduce
Steps to reproduce the behavior:

Install remarkable_hacks
Open a document
Scribble some content
Push button on EMR pen and try to erase

Expected behavior
Scribbled content should be erased when the button is held down.
Screenshots
Version Information:

Device: reMarkable 1
OS: <IP_ADDRESS>-patch_17.1.05-0-gccb1643
Version e.g. v2.0.1-beta-2

Additional context
Requires an EMR pen with button to test this, I suppose.  Not sure if the functionality of the EMR button is identical to the functionality of the new RM stylus that has an eraser on the rear end.
After a clean restart of xochitl outside of Oxide, the button works again.  Restarting into Oxide, the button stops.

@ddvk any insight into what I should do to allow it to work would be helpful.

@ddvk any insight into what I should do to allow it to work would be helpful.

xochitl needs a -plugin evdevlamy param

xochitl needs a -plugin evdevlamy param

Alright. So the simple workaround for now would be to update the application registration in oxide to point at a script with those arguments. Oxide doesn't support adding arguments directly.

Alright. So the simple workaround for now would be to update the application registration in oxide to point at a script with those arguments. Oxide doesn't support adding arguments directly.

Oxide doesn't support adding arguments directly.

Ooh... Maybe a feature request?  :)

Oxide doesn't support adding arguments directly.

Ooh... Maybe a feature request?  :)

Perhaps, although it's not something I really want to support. If you need to pass arguments then use a script, otherwise environment variables are preferred. Since there are two workarounds it's not a high priority item. That said, it should be made more automatic so it doesn't require user intervention.

Perhaps, although it's not something I really want to support. If you need to pass arguments then use a script, otherwise environment variables are preferred. Since there are two workarounds it's not a high priority item. That said, it should be made more automatic so it doesn't require user intervention.

@ddvk, will calling xochitl with "-plugin evdevlamy" work without errors on a non-hacked xochitl?  If so, then a default install of oxide could include the script.  Otherwise, a remarkable_hacks install will need to look for oxide, and if installed it needs to create the script and update oxide to call it.

@ddvk, will calling xochitl with "-plugin evdevlamy" work without errors on a non-hacked xochitl?  If so, then a default install of oxide could include the script.  Otherwise, a remarkable_hacks install will need to look for oxide, and if installed it needs to create the script and update oxide to call it.

yes, it gets ignored if the plugin is missing (this is standard qt stuff)
On Tue, 5 Jan 2021 at 20:17 Rob<EMAIL_ADDRESS>wrote:

@ddvk https://github.com/ddvk, will calling xochitl with "-plugin
evdevlamy" work without errors on a non-hacked xochitl? If so, then a
default install of oxide could include the script. Otherwise, a
remarkable_hacks install will need to look for oxide, and if installed it
needs to create the script and update oxide to call it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Eeems/oxide/issues/136#issuecomment-754843071, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AIYZFLW34TKAALBKCR4A54TSYNQVTANCNFSM4VV7EKRA
.

yes, it gets ignored if the plugin is missing (this is standard qt stuff)
On Tue, 5 Jan 2021 at 20:17 Rob<EMAIL_ADDRESS>wrote:

@ddvk https://github.com/ddvk, will calling xochitl with "-plugin
evdevlamy" work without errors on a non-hacked xochitl? If so, then a
default install of oxide could include the script. Otherwise, a
remarkable_hacks install will need to look for oxide, and if installed it
needs to create the script and update oxide to call it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Eeems/oxide/issues/136#issuecomment-754843071, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AIYZFLW34TKAALBKCR4A54TSYNQVTANCNFSM4VV7EKRA
.

@ddvk isn't there an environment variable you can set to load a plugin?

@ddvk isn't there an environment variable you can set to load a plugin?

Likely can just use the QT_QPA_GENERIC_PLUGINS environment variable.
@Snowflake6 could you try adding Environment=QT_QPA_GENERIC_PLUGINS=evdevlamy to tarnish.service to see if that solves it?

Likely can just use the QT_QPA_GENERIC_PLUGINS environment variable.
@Snowflake6 could you try adding Environment=QT_QPA_GENERIC_PLUGINS=evdevlamy to tarnish.service to see if that solves it?

Sure... Which one gets updated?  i've found a tarnish.service in a number of places with find / | grep tarnish.service

Sure... Which one gets updated?  i've found a tarnish.service in a number of places with find / | grep tarnish.service

/etc/systemd/system/tarnish.service
You'll also want to run the following after changing it:
systemctl daemon-reload
systemctl restart tarnish

/etc/systemd/system/tarnish.service
You'll also want to run the following after changing it:
systemctl daemon-reload
systemctl restart tarnish

That file doesn't exist at that location on my RM1:

That file doesn't exist at that location on my RM1:

I have these:

I have these:

Also, should it be Environment="QT_QPA_GENERIC_PLUGINS=evdevlamy"?  The other Environment= statements in the tarnish.service files I have all seem to quote everything after the first "=".

Also, should it be Environment="QT_QPA_GENERIC_PLUGINS=evdevlamy"?  The other Environment= statements in the tarnish.service files I have all seem to quote everything after the first "=".

🤦 Sorry, it should be the one in /lib/systemd/system/tarnish.service I forgot that's where it gets put under a normal install.

Also, should it be Environment="QT_QPA_GENERIC_PLUGINS=evdevlamy"? The other Environment= statements in the tarnish.service files I have all seem to quote everything after the first "=".

Yes, sorry I've been replying from my phone and haven't had time to properly check everything.

🤦 Sorry, it should be the one in /lib/systemd/system/tarnish.service I forgot that's where it gets put under a normal install.

Also, should it be Environment="QT_QPA_GENERIC_PLUGINS=evdevlamy"? The other Environment= statements in the tarnish.service files I have all seem to quote everything after the first "=".

Yes, sorry I've been replying from my phone and haven't had time to properly check everything.

I jumped ahead and took a chance with /lib/systemd/system/tarnish.service.  Adding the Environment= statement as suggested makes the button work properly again.  Perfect!

I jumped ahead and took a chance with /lib/systemd/system/tarnish.service.  Adding the Environment= statement as suggested makes the button work properly again.  Perfect!

Perfect, I'll make sure to have toltec handle this properly when installing v2.1

Perfect, I'll make sure to have toltec handle this properly when installing v2.1

I can confirm that adding
Environment="QT_QPA_GENERIC_PLUGINS=evdevlamy"

to
/lib/systemd/system/tarnish.service
works.
I also can suggest that people should confirm (repeat) the installation of the lamy-hack from ddvk, which needs to be done after every official update of the remarkable tablet. Don't ask me why I know this ;)
DDVK Stylus hack for Lamy pen button

I can confirm that adding
Environment="QT_QPA_GENERIC_PLUGINS=evdevlamy"

to
/lib/systemd/system/tarnish.service
works.
I also can suggest that people should confirm (repeat) the installation of the lamy-hack from ddvk, which needs to be done after every official update of the remarkable tablet. Don't ask me why I know this ;)
DDVK Stylus hack for Lamy pen button

I've put in a request for remarkable-stylus to be added to toltec. I'll make sure the package properly handles setting the environment for all Qt apps: https://github.com/toltec-dev/toltec/issues/9#issuecomment-756186641

I've put in a request for remarkable-stylus to be added to toltec. I'll make sure the package properly handles setting the environment for all Qt apps: https://github.com/toltec-dev/toltec/issues/9#issuecomment-756186641

@Eeems I think this requires remarkable-hacks as well... Should that be added to toltec?

@Eeems I think this requires remarkable-hacks as well... Should that be added to toltec?

We can't add remarkable-hacks to toltec due to licensing issues. Although maybe we can add the installer script. I'll talk with the others more about it.

We can't add remarkable-hacks to toltec due to licensing issues. Although maybe we can add the installer script. I'll talk with the others more about it.

Understood.  I though it might be confusing if people can install remarkable-stylus through toltec and then it doesn't do anything if they don't have remarkable-hacks too.

Understood.  I though it might be confusing if people can install remarkable-stylus through toltec and then it doesn't do anything if they don't have remarkable-hacks too.

We'll make sure to have messages warning about it.

We'll make sure to have messages warning about it.

v2.1 is just about to drop. I'll leave this open until we've resolved the toltec side of the packaging for things.

v2.1 is just about to drop. I'll leave this open until we've resolved the toltec side of the packaging for things.


Publish docs/ directory with docusaurus.

Is your feature request related to a problem? Please describe.
We need a better way to publish content related to Rill Developer.  We are currently publishing in a public Notion doc that is undiscoverable outside of the links we share.
Describe the solution you'd like
We would like to publish a more human-consumable and discoverable version of our documentation and release notes using Docusaurus.  This will also support future API documentation.  Please collaborate with @godzig on the form factor the publication should take to ensure we are helping marketing be successful.
Resources
https://www.notion.so/rilldata/Notion-should-be-the-CMS-for-public-docs-be3ec8de809446ba9ad64abe0e92f8d3
-- please check this proposal for a decision before executing work.

@magorlick I'm noticing that our COMMUNITY-POLICY.md lives outside the docs/ but I'm thinking it makes sense to include that in the docusaurus build as well. Are there any links in the wild that we might need to update?

@godzig , I intentionally left that document outside of the docs folder and link out to it in the developers section here https://github.com/rilldata/rill-developer/blob/main/docs/contributors/guidelines.md.  I want 1 source of truth for this policy that serves for all of our community touch points.  It is generally expected to have it live in this location in GH.

plan is:

get decorations / css in order—today, tomorrow. Eng demo Friday morn.
coordinate with Marissa on content next week and push to gitpages.io so we have a “dev” site
be live by end of next week on docs.rilldata.com?

@begelundmuller @himadrisingh
It was a noble effort, but I'm failing at deploying Docusaurus. The options we considered are Netlify & Gitpages. I slightly prefer Netlify for its server-side redirects and personally being a touch more familiar with it, but I don't have strong opinions either way. I already had permissions in Netlify so I tried that first but failed to get Netlify deploying. (Netlify issues below for details).
I see there is a gh-pages branch started on rill-developer which made me think someone might be working on the gitpages approach. I know Ben got that up and running on the monorepo, so I'm hoping this is an appropriate juncture to pass off this branch to someone who has more familiarity with deployment scenarios.
Netlify issues
Basically all attempts at building on Netlify fail in the same way (unless it tried to build root, which fails for duckdb reasons). Here's a link to a typical failing build log: https://app.netlify.com/teams/hello-kj5mfbe/builds/62bf50690ce87a0008fda3a8
The error below leads me to believe npm install is failing at root
12:53:08 PM: ><EMAIL_ADDRESS>postinstall
12:53:08 PM: > node build-tools/post_install.cjs
12:53:08 PM: ><EMAIL_ADDRESS>postinstall:prod
12:53:08 PM: > node dist/cli/post-install.js
12:53:08 PM: node:internal/modules/cjs/loader:936
12:53:08 PM:   throw err;
12:53:08 PM:   ^
12:53:08 PM: Error: Cannot find module '/opt/build/repo/dist/cli/post-install.js'
12:53:08 PM:     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
12:53:08 PM:     at Function.Module._load (node:internal/modules/cjs/loader:778:27)
12:53:08 PM:     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
12:53:08 PM:     at node:internal/main/run_main_module:17:47 {
12:53:08 PM:   code: 'MODULE_NOT_FOUND',
12:53:08 PM:   requireStack: []
12:53:08 PM: }
12:53:08 PM: node:child_process:902
12:53:08 PM:     throw err;
12:53:08 PM:     ^
12:53:08 PM: Error: Command failed: npm run postinstall:prod
12:53:08 PM:     at checkExecSyncError (node:child_process:828:11)
12:53:08 PM:     at execSync (node:child_process:899:15)
12:53:08 PM:     at Object.<anonymous> (/opt/build/repo/build-tools/post_install.cjs:21:3)
12:53:08 PM:     at Module._compile (node:internal/modules/cjs/loader:1105:14)
12:53:08 PM:     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
12:53:08 PM:     at Module.load (node:internal/modules/cjs/loader:981:32)
12:53:08 PM:     at Function.Module._load (node:internal/modules/cjs/loader:822:12)
12:53:08 PM:     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
12:53:08 PM:     at node:internal/main/run_main_module:17:47 {
12:53:08 PM:   status: 1,
12:53:08 PM:   signal: null,
12:53:08 PM:   output: [ null, null, null ],
12:53:08 PM:   pid: 1448,
12:53:08 PM:   stdout: null,
12:53:08 PM:   stderr: null
12:53:08 PM: }
12:53:08 PM: npm ERR! code 1
12:53:08 PM: npm ERR! path /opt/build/repo
12:53:08 PM: npm ERR! command failed
12:53:08 PM: npm ERR! command sh -c node build-tools/post_install.cjs
12:53:08 PM: npm ERR! A complete log of this run can be found in:
12:53:08 PM: npm ERR!     /opt/buildhome/.npm/_logs/2022-07-01T19_52_24_438Z-debug-0.log
12:53:08 PM: Error during NPM install
12:53:08 PM: Build was terminated: Build script returned non-zero exit code: 1

I wasn't able to evade this error by changing build directories or commands through either the Netlify UI or netlify.toml configuration.
If I wanted to force Netlify, I could include the build folder in the repo and just have netlify host the precompiled files, but I suspect there is a better solution.

Perhaps I should add that at this point build works fine locally for both the app (npm run build) and the docs (npm run build -w docs)

@AdityaHegde , could you give them assistance on the applications side, as needed.

Hey @godzig, I dug into your branch and here's what I learned:
The main problem is that rill-developer isn't set up for a monorepo-like workflow. So even though you set up the docs/ folder as an NPM workspace, since everything else is at the root (not in a workspace), it tries to run rill-developer's postinstall scripts, which fail (since their dependencies aren't installed and maybe some build artifacts are missing).
One slightly hacky solution that could work is treating the docs not as an NPM workspace, but as a separate NPM project (where you do something like: cd docs && npm install && npm run build). However, I tried to do that on your branch, and it doesn't immediately work. That's because Docusaurus uses postcss, which rill-developer also uses, and somehow postcss traverses up the directory tree looking for config files, and ends up using rill-developer's config file, which it's missing dependencies for – specifically tailwindcss. You can fix that by adding tailwindcss to docs/package.json. And now the docs compile! (For Netlify, you don't have to manually cd into the docs/ folder – they have a setting to run the regular build scrips in a subdirectory.)
If you want a quick fix, the above should do the job. However, it's tech debt that should be addressed in a future refactor of rill-developer.


Update MultiMailServiceProvider.php

Use same key 'mail_settings_class' to verify is custom class is provided.

Sorry I somehow did't see this pull request. It has been fixed in last release 1.3.2. Still, thank you


[Using SDWebImage with avatarImageView] Customized avatarImageView property on JSQMessagesCollectionViewCell is distorted until you scroll.

First off, I searched through the previously issues tagged for "help" and I realize that this issue has been discussed before, but I still can't seem to figure out what the best way is to approach this.
Before I go into detail, I'm going to show exactly how I'm customizing my avatars. Here's my custom implementation of cellForItemAtIndexPath: inside of my JSQMessagesViewController subclass:
- (UICollectionViewCell *)collectionView:(JSQMessagesCollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath
{
    JSQMessagesCollectionViewCell *cell = (JSQMessagesCollectionViewCell *) [super collectionView:collectionView cellForItemAtIndexPath:indexPath];
    [cell.avatarImageView sd_setImageWithURL:[NSURL URLWithString:self.userSession.profilePictureUrl] placeholderImage:[UIImage imageNamed:@"profilePic"]];
    cell.avatarImageView.layer.cornerRadius = cell.avatarImageView.frame.size.width / 2;
    cell.avatarImageView.clipsToBounds = YES;
    return cell;
}

This almost works perfectly. The only thing is with the above code, the avatar image view should be a perfect circle, but when the collection view first loads, the avatar image views have pointy edges on the "sides" of the image view. It's like the code was 98% of the way finished transforming the square image I provided into a perfect circle and just stopped short.
If I scroll up and down, the avatar image views no longer have the pointy edges, and they are now perfect circles.
I'm not quite sure if I'm tackling this the wrong way, or if I'm missing one final step.
It looks like it used to be easier to access the avatar image views in previous versions of this repo, but now those methods have been deprecated. It also looks like most of the questions surrounding this type of issue have focused on JSQPhotoMediaItem but never on the cell's avatar image view.
I thought about just importing SDWebImage and my custom class into the JSQMessagesViewController class file and hacking around this where the avatarImageView is being set but I don't know how to import my custom class that contains the relevant image URL since JSQMessagesViewController is located in the pod, and I'm also not sure if that would even be the correct way to solve this problem.
Any help is greatly appreciated.

@mitchellporter you can use to preload the image without init a imageview
[[SDWebImageManager sharedManager] downloadImageWithURL:self.userSession.profilePictureUrl options:0 progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) {
        self.currentUserAvatar.avatarImage = [JSQMessagesAvatarImageFactory circularAvatarImage:image withDiameter:48];
    }];

Hi guys,
What happened if i have a chatroom? For example, we have 10 users inside a chatroom.
So do we need to create 10 globals JSQMessageAvatarImageDataSource object?
I'm still confuse with that case.
Better if some one can explain this. Thanks for your help.

Even I have same doubt as @trungnguyen1791. How do we handle if there are 'n' number of users in a chat room and someone can join dynamically in between. I am not quite clear about how to handle this case. Are we supposed to have reference of collection view and indexpath in JSQMessage subclass and keep refreshing avatar image from URL by calling reload indexpath methods? That sounds like breaking MVC again. Is there a better way? Can someone guide please.

If it is me, I will have an NSMutableDictionary that map between senderId and the related JSQ avatar image. Everytime the chatroom request new avatar image from new user that join the chat room that my NSMutableDictionary doesn't have, I will create a JSQ avatar with placeholder, while the avatar image and avatar highlight image is requested from SDWebImage. That way, when the image finally received, it will be updated on the view and replace the placeholder. If the image is already on the cache though, SDWebImage will immediately return the image from the cache.

I done everything with this avatars ... download from url using SDWebImage but still not display images for every users ...  I really feel that you have to give option to fill image with URL too ... rather than provide imageview @jessesquires


Initialize client using typegen type, excluding openapi definition

I was wondering if there is a way that I am able to initialize a client without providing the OpenAPIClientAxios a definition when I've already got a generated type using typegen?
My issue is that the definition will not be public, so I cannot access it at runtime.
const api = new OpenAPIClientAxios({ definition: './oc-openapi.json' }); // Don't want this definition to be passed
api.withServer(OcOpenApiClient.environments[environment]);
api.getClient<Client>().then(client => OcOpenApiClient.instance = client);

Sorry that still doesn’t seem to make any sense to me.
What’s your use case exactly?
The definition being passed to generate operation method is the main functionality of this library. I really don’t see a good reason to use this library without passing the definition file

We've got a .NET app that generates the oc-openapi.d.ts, and oc-openapi.json files. The .NET app also packages those two files along with code to generate a client into an NPM package.

@ryan-henness-trimble
You can clean all from oc-openapi.json except  operationId and path of methods, other info doesn't use in runtime.
Working with types -- it's an additional feature of this module. Also. d.ts provide only types and can't be used in realtime to generate client (without extra magic).
Another idea, that probably we can generate an static client.js.ts for schema to not rebuild it every time on client. Especially, it can be actual for large schemas.

@anttiviljami I've just come across the same issue so I understand what OP was meaning.
Basically, do we have to specify the URL or Path of our OpenAPI document, given that we've already used typegen to generate the necessary types?
In my example, I am using typegen at build time from a remote host which generates my API types correctly. Then when I initialize my APIClient, I would like to remove the reliance of connecting to the remote host again to obtain the OpenAPI document.
So, after having used typegen, is there a way to initialize OpenAPIClientAxios without specifying an OpenAPI document inside definition, given we already have all the necessary types?

I had the same curiosity which lead me here.


Fix lambda parsing continuing on subsequent lines

This PR fixes #73273.
The issue in #73273 was related to the fact that the statement in the lambda expression gets parsed and calls end_statement. This leads to an issue, because the end_statement function consumes all new line tokens, which means the assignment statement will not get to consume these new lines, and thus will continue parsing the line.
The fix I introduce changes the parse_precedence function, to not only return if the lambda has ended and the previous statement was a lambda, but return in any case. This means the assignment statement would also terminate its parsing even without the new line.  Once the statement is parsed, lambda_ended will be set back to false, so this should not have any effects further than the scope of the lambda and the assignment.
I have written a couple of integration tests, to ensure that this method does not break in a couple of cases I could think of where lambdas could be used.
Shortcomings: One case I discovered during my testing I was not able to find a fix for. If a lambda is declared, statementd can be appended to the line, and they will be executed as if they had a new line between them and the lambda. I think this is a lower priority, as this is invalid code that is interpreted as correct. I would wait with fixing this until the tokenizer changes in #76211 are merged.
Example code:
var v
v=func(): print(1) print(2)  # Should have thrown a parser error! Instead gets executed and prints 2
v.call()

Output:
2
1

These tests should be in the parser folder.

These tests should be in the parser folder.

Good point! I force-pushed the tests to the correct place!

We'd typically add the tests in the same commit that fixes the bug, so could you squash the commits together? And possibly amend the commit to be a bit more detailed, like this PR's title is.

Thanks!


openssl:x86-windows & x64-windows build failed on win7sp1 with vs2015 professional update3

$ vcpkg install openssl
-- CURRENT_INSTALLED_DIR=D:/project/c++/vcpkg/installed/x86-windows
-- DOWNLOADS=D:/project/c++/vcpkg/downloads
-- CURRENT_PACKAGES_DIR=D:/project/c++/vcpkg/packages/openssl_x86-windows
-- CURRENT_BUILDTREES_DIR=D:/project/c++/vcpkg/buildtrees/openssl
-- CURRENT_PORT_DIR=d:/project/c++/vcpkg/ports/openssl/.
-- Using cached D:/project/c++/vcpkg/downloads/openssl-1.0.2k.tar.gz
-- Testing integrity of cached file...
-- Testing integrity of cached file... OK
-- Extracting done
-- Applying patch D:/project/c++/vcpkg/ports/openssl/PerlScriptSpaceInPathFixes.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Applying patch D:/project/c++/vcpkg/ports/openssl/PerlScriptSpaceInPathFixes.patch done
-- Applying patch D:/project/c++/vcpkg/ports/openssl/ConfigureIncludeQuotesFix.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Applying patch D:/project/c++/vcpkg/ports/openssl/ConfigureIncludeQuotesFix.patch done
-- Applying patch D:/project/c++/vcpkg/ports/openssl/STRINGIFYPatch.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Applying patch D:/project/c++/vcpkg/ports/openssl/STRINGIFYPatch.patch done
-- Build x86-windows-rel
-- Build x86-windows-rel done
-- Build x86-windows-dbg
-- Build x86-windows-dbg done
-- Installing: D:/project/c++/vcpkg/packages/openssl_x86-windows/share/openssl/copyright
-- Performing post-build validation
The folder /include is empty. This indicates the library was not correctly installed.
Found 1 error(s). Please correct the portfile:
d:\project\c++\vcpkg\ports\openssl\portfile.cmake
-- Performing post-build validation done
Error: Building package openssl:x86-windows failed with: POST_BUILD_CHECKS_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: openssl:x86-windows
Vcpkg version: 0.0.79-2e7896e89e7f0cb15b30b7d087f8001c57b3220a
BTW. I installed openssl on win10 with vs2015 successfully.

Hi @principality, thanks for reporting this!
Could you attach the following logs from buildtrees\openssl\?

build-x86-windows-rel-out.log
build-x86-windows-rel-err.log
configure-perl-x86-windows--rel-err.log
configure-perl-x86-windows--dbg-err.log
configure-do-x86-windows--rel-err.log
configure-do-x86-windows--dbg-err.log

If you'd prefer to send them to<EMAIL_ADDRESS>that works too!

I checked and found configure-perl-x86-windows--rel-err.log & configure-perl-x86-windows-dbg-err.log is empty.  build-x86-windows-rel-out.log & -err.log does not contain any useful information. It seems that configure-do reports some useful information. Please check the uploaded files. Thank you. @ras0219-msft
build-x86-windows-rel-err.log.txt
build-x86-windows-rel-out.log.txt
configure-do-x86-windows--dbg-err.log.txt
configure-do-x86-windows--rel-err.log.txt

Ok, it looks like something messed up during the configure step. For reference, my configure-do-x86-windows--rel-err.log.txt is simply:
unknown option - enable-capieng
unknown option - enable-capieng

As a hunch, I suspected it would be an issue with having +'s in your path, but I tried renaming the directory locally and your issue didn't repro.
Could you attach or send the configure-do-x86-windows--rel-out.log.txt?

@ras0219-msft I have resolved the problem. By copying the perl module "warnings/register.pm" to "\downloads\tools\perl\perl\lib" from ActivePerl, everything works well.
I attached the configure-do-x86-windows--rel-out.log. But it was generated when I finished the installation. Does this file help? If neccessary, I can repeat the issue and re-generate the log file.
configure-do-x86-windows--rel-out.log.txt

We'll call this a one-off issue and reopen if it occurs in the future.


Orientation layout problem

Hi,
I am new to react native. I developed a small application using orientation which needs to work with two   layouts for portrait view and landscape view both are different styles layouts. when i open the application in landscape and when i logout through landscape i get no problem in the layout where as when i login in  landscape view and logout in portrait view i get the landscape layout  its not getting the present orientation which i am using when we logout. I get the initial orientation according to that its getting the final view. can some one help me   or suggest me what to do ..

@ajmeraramesh in your application entry point, you should use the getInitialOrientation method to get the current device's orientation async and then either lockToPortrait or lockToLandscape according to the return statement. That way your application will always start up the correct way the user's orientation is. Also try and update to latest version as things might have changed since then.


Basic command line argument handling for the server.

Also removes the NuGet packages from the repo.

You monster.

You a real one. Let's see this break something package-wise.

People might have to restore packages but that should be default in Visual Studio IIRC. Even if it isn't it's a simple context menu option I'm pretty sure.


Doesn't appear to work with symlinks to scripts

I have a script called i3-workspace-swap that starts like this:
#!/usr/bin/env nix-script-bash
#!runtimeInputs jq

it's symlinked to via a symlink in ~/.local/bin; when I try to run it via that symlink:
$ ~/.local/bin/i3-workspace-swap
these derivations will be built:
  /nix/store/vkx3ig9kwzcjfwdz1m8bnm7j62bm1kwq-i3-workspace-swap.drv
building '/nix/store/vkx3ig9kwzcjfwdz1m8bnm7j62bm1kwq-i3-workspace-swap.drv'...
unpacking sources
unpacking source archive /nix/store/75wvd8m8sgl7wlf0fgv7hq70c1sb983b-bin
source root is bin
patching sources
configuring
no configure script, doing nothing
building
chmod: cannot operate on dangling symlink 'i3-workspace-swap'
builder for '/nix/store/vkx3ig9kwzcjfwdz1m8bnm7j62bm1kwq-i3-workspace-swap.drv' failed with exit code 1
error: build of '/nix/store/vkx3ig9kwzcjfwdz1m8bnm7j62bm1kwq-i3-workspace-swap.drv' failed
nix-script: readCreateProcess: nix-build "--no-out-link" ".nix-script-cache" (exit 100): failed

if I run it directly, without going through the symlink, it works fine.
do you have any ideas as to what's going wrong here?

Yes, I think I know exactly what’s happening! When Nix builds something it isolates the source on the filesystem. In this case, that means it’s grabbing the symlink instead of the source. We should maybe follow symlinks if we get them; it’d solve the problem and let you use the tool this way. I’d be open to a PR if you wanna send one!

I was going to say "I have very little experience writing Haskell, and even less knowledge of how to write Nix derivations, so sending a PR might be beyond me", but after thinking about it for a while and also looking up what <$> does, I came up with something that seems to work! there are a few details to iron out wrt caching, but I'll hopefully do that at some point tomorrow and get a PR submitted.


Fix AutoSlash in Router

Fixes #1378 (again)
The problem is that just doing withPathInfo, the "translated-away" prefix of the prefixed route is added again.
This PR fixes that by calling translateRoot on the service with a prefix of req.scriptName.
I'm not sure this is a good way of solving the problem, but it was the one I could see.

Incorporated via merge.


Autopkg recipe ?

Great project ! Did you plan to make an autopkg recipe ?

Yes, yes I did. Just pushed initial recipes to https://github.com/autopkg/hjuutilainen-recipes

Cool, thanks.


Allow re-use of an existing audio sink.

Objective
Some users may benefit from avoiding archetype moves on entities and re-use of a sink on an entity, this also has some side benefits such as fine-grained control and inhibition of playing a current track if the current track is deemed to be a higher priority.

Allow re-use of an audio sink which has been added to an entity using the PlaybackSettings::ONCE policy,

Solution

Make the required info public

Changelog

Allow reuse of AudioSink and SpatialAudioSink.

Migration Guide

Could you demonstrate how to take advantage of this for users? An example would be ideal, but a doc test would work too.

There is some work that would need to be done, for my to use it it's a bit messy yet.
  pub(crate) fn unit_audio(
      mut commands: Commands,
      global_volume: Res<GlobalVolume>,
      audio_sources: Res<Assets<AudioSource>>,
      tracks: Res<AudioAssets>,
      mut unit_q: Query<
          (
              Entity,
              &mut AudioActions,
              Option<&Handle<AudioSource>>,
              Option<&mut AudioSink>,
              Option<&PlaybackSettings>,
          ),
          (With<Unit>, Changed<AudioActions>),
      >,
  ) {
      for (entity, mut audio_actions, source, mut sink, settings) in &mut unit_q {
          for action in audio_actions.iter() {
              if let Some(_) = source {
                  let source = tracks.foreground_tracks[action.as_str()].clone_weak();
                  let Some(audio_source) = audio_sources.get(source) else {
                      continue;
                  };

                  {
                      let sink = sink.as_mut().unwrap();
                      let settings = settings.as_ref().unwrap();
                      sink.set_speed(settings.speed);
                      sink.set_volume(settings.volume.get() * global_volume.volume.get());

                      if settings.paused {
                          sink.pause();
                      }
                  }

                  sink.as_ref().unwrap().sink.append(audio_source.decoder());
              } else {
                  commands.entity(entity).insert(AudioBundle {
                      source: tracks.foreground_tracks[action.as_str()].clone_weak(),
                      settings: PlaybackSettings::ONCE,
                  });
              }
          }
          audio_actions.clear();
      }
  }

I'm planning on adding the required bundles when I create my entity vs how I have it here. I don't like the way it's accessed so I'd like to have some of the audio people guide how it's handled, this is my first stab at it.

That's a pretty rough interface :/
maybe a very simple example to get people started
and then direct them to docs as much as possible?

That's a pretty rough interface :/
maybe a very simple example to get people started and then direct them to docs as much as possible?

The above was just to show my current use-case to Alice, planning on adding support directly into bevy_audio once there has been a discussion about it. That example will not be included for any public consumption, more of a POC.


fix: typo of NewLeafNodeWithNoComms()

Fixed the typo in https://github.com/ethereum/go-verkle/blob/master/tree.go#L312

@agnxsh, I think this PR was correct?
Actually, this makes me realize this is an API that I'd like not to be public -- feels to brittle. Anyway, that's another topic.

@agnxsh, I think this PR was correct?
Actually, this makes me realize this is an API that I'd like not to be public -- feels to brittle. Anyway, that's another topic.

oh sorry for closing it, i thought it was a trivial change, just caught my eye while going through the codebase, i can make a pr again

https://github.com/ethereum/go-verkle/pull/420 here's the revised pr


Add @required attribute for closures.

This proposal adds the ability to mark a closure as being required to be called at some point within a function when it is passed in as a argument.
This is useful for functions that may pass in a function for clean up or lifecycle reasons i.e Most of the iOS Background APIs.

This is out of scope for Swift 4 stage 1.

@lattner would this be better for phase 2 ?

Yes, but it should also go through the standard pitch phase (in stage 2).

Cool I'll defer until then.


Use proctrack/cgroup for tracking jobs

Using cgroup for process tracking is more reliable than using /proc or PPID, as processes cannot escape from the cgroup.

I'll close this and instead make this a default and a variable.


Normalise resource name casing

IP -> Ip
Ipsec -> IpSec

Forgot the commit the SDK generation. Incoming.


Simplify using docker and updating project

I noticed in the readme it talks about needing to save off customized files and the data folder when updating the project. This could be made easier by separating the data files into their own folder and/or some gitignore updates. The current approach makes things difficult when updating the project when using Docker.

At the very least, I think adding Dockerfile to the gitignore file would be an initial step
Then I think it would be worth separating defaults from custom settings/data associated with a running app
Finally, I think we could make it easier to use Docker by having a pre-built docker image. The dockerfile build suggestions are a bit on the complicated side and I don't think users need to be worried about the host user/group.

Here is the dockerfile that I used and seems to be working fine without as complicated of a build process. It likely could be simplified further, but the main thing is people shouldn't in most cases need to build their own image unless they are working on the project.
FROM python:3.10-slim
WORKDIR /usr/src/cassandra
COPY ./CaSSAndRA .
COPY ./requirements.txt /usr/src/cassandra
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
CMD ["python3","app.py"]

That goes into the root of the git project directory, then you simply build the docker image like this:
docker build . -t cassandra

I'm not familiar with docker, never used that. Also the description for docker installation is not written by me. If that really so simple, I can change that in readme.md

An update on some progress on this. I have a branch where I'm using the Click python library that we already have as a dependency to parameterize the options when starting the server. I have also added a Dockerfile that can take those same options. I've handled all the hard-coded server options in command line parameters, then have a description that points to where the environment variables are defined that can also be used.
At the moment, the data_path is defined and is defaulting to the same relative location in the project, but haven't started leveraging it through the app yet, which is the next step. I'm wondering if we should default to a data location that is in the current users home directory.
So, when you start up the app for the first time, it would look for a folder like ~/.cassandra. If it doesn't exist, it is created. If the files required aren't there, then it creates the stubbed-out config files, then starts using them. Otherwise, it can take any other specific path you provide it.
Anyways, here is what it currently looks like with the changes to parameterize the server startup config settings:
(cassandra) Nicks-Macbook-Pro-4:CaSSAndRA nroth$ python app.py start --help
Usage: app.py start [OPTIONS]

  Start the CaSSAndRA Server

  Only some Dash server options are handled as command-line options. All other
  options should use environment variables. Find supported environment
  variables here: https://dash.plotly.com/reference#app.run

Options:
  -h, --host TEXT                 [default: <IP_ADDRESS>]
  -p, --port INTEGER              [default: 8050]
  --data_path TEXT                [default: /Users/nroth/workspace/CaSSAndRA_d
                                  ev/CaSSAndRA/src/data]
  --proxy TEXT                    format={{input}}::{{output}} example=http://
                                  <IP_ADDRESS>:8050::https://my.domain.com
  --debug                         Enables debug mode for dash application
  --app_log_level [DEBUG|INFO|WARN|ERROR|CRITICAL]
                                  [default: DEBUG]
  --server_log_level [DEBUG|INFO|WARN|ERROR|CRITICAL]
                                  [default: ERROR]
  --pil_log_level [DEBUG|INFO|WARN|ERROR|CRITICAL]
                                  [default: WARN]
  --help                          Show this message and exit.

Then, if you want to use docker, the dockerfile will be in the repo, so you just do this: docker build . -t cassandra. Then, you can use it from the command line in the exact same way (you'll notice the only difference is the default data_path):
docker run -it cassandra start --help
Usage: app.py start [OPTIONS]

  Start the CaSSAndRA Server

  Only some Dash server options are handled as command-line options. All other
  options should use environment variables. Find supported environment
  variables here: https://dash.plotly.com/reference#app.run

Options:
  -h, --host TEXT                 [default: <IP_ADDRESS>]
  -p, --port INTEGER              [default: 8050]
  --data_path TEXT                [default: /usr/src/cassandra/src/data]
  --proxy TEXT                    format={{input}}::{{output}} example=http://
                                  <IP_ADDRESS>:8050::https://my.domain.com
  --debug                         Enables debug mode for dash application
  --app_log_level [DEBUG|INFO|WARN|ERROR|CRITICAL]
                                  [default: DEBUG]
  --server_log_level [DEBUG|INFO|WARN|ERROR|CRITICAL]
                                  [default: ERROR]
  --pil_log_level [DEBUG|INFO|WARN|ERROR|CRITICAL]
                                  [default: WARN]
  --help                          Show this message and exit.

@EinEinfach: I think I just about have all the configuration files handled. I have the app running from one folder and pulling configuration from ~/.cassandra. Although I think this will be a bit more simple to manage in the app, it seems like another pass could be taken to further improve things a bit. However, this already seems like enough of an improvement to stop at.
Some things I wanted to mention:

Do you have any issues around the default path of ~/.cassandra for storing data? This can always be overridden with any path via the data_path parameter
I don't really understand the point of datacfg.json file. It seems to add a lot of complexity and there is still an assumption that this file and many other files are in a specific location relative to the app.

I've instead moved this into a simple object (namedtuple) that is instantiated with the parent directory being the config option I showed above (data_path).
The backendserver.start() method is passed the data_path into it, which then shares the namedtuple of file directories with the other config classes/files

I'm treating the /src/data files as initial data files and if missing, copying those into the data_path provided by the user. Otherwise, keeping the same directory structure.

I'll submit a pull request tomorrow when I have some time to clean this up and do some more testing. It looks like there have been some additional changes for logging that I'll need to handle, since it is also using local storage within the /src/data folder.

I don't really understand the point of datacfg.json file. It seems to add a lot of complexity and there is still an assumption that this file and many other files are in a specific location relative to the app.

The idea behind datacfg.json was at the beginning to have flexibility to move all data files  to other directory without code changes. Simple modify path inside of datacfg.json and done. I didn't know, do I need that or not, will the files stay on this place or not.

@EinEinfach : see the pull request #70
I need to update the readme file, but just running python app.py should explain the inputs pretty well. If you want to start the app with your current data folder you are using, you can copy the data folder to ~/.cassandra. You can see how it looks for my folder here:

What it is doing is using what is contained in /src/data as the initial files to copy to the ~/.cassandra folder when the app first starts up, but only if they are missing. So, you can upgrade the app over and over without manually copying the /src/data folder around to avoid losing data.

The idea behind datacfg.json was at the beginning to have flexibility to move all data files to other directory without code changes. Simple modify path inside of datacfg.json and done. I didn't know, do I need that or not, will the files stay on this place or not.

I think the thing I ran into with datacfg was that it is:

assumed to be inside the application src folder

means that to change where the files are, we have to modify a tracked file in the git project, which makes modification difficult by end users

being read over and over again so many times, but I think we can make the assumption for now that the file locations won't change without restarting the server
there is a lot of duplicated code to read that file across files, so it makes it difficult to maintain


pypi points to private issue tracker

The package metadata for the published package points to https://gitlab.anybox.cloud/rboyer/pylint_flask_sqlalchemy/issues as “Bug tracker“ which is on a private gitlab instance where it is not possible for users to report bugs.

Hi @torotil, this repository is now the official one for the project. I'll push some changes before the end of the week to setup the CI and update the package metadata, and as soon as a new feature/fix is added to the project a new version will be pushed on pypi.


Longer video generation

Is there any way how can we make continuous long videos using the model?

The model has not been trained for longer durations videos and can only generate videos up to 6 seconds long.

Any way around to make them longer ? @zRzRzRzRzRzRzR

Maybe what you mean is whether there is any setting or prompt that can be used to make the two or more generated videos consistent in terms of pictures and characters. I look forward to the official answer and sharing.

Yes @XksA-me  kind a story based.


Empty or outcommented file

Hi,
I'm trying to run PHAMB with the following:
python /work/projects/nomis/assemblies/viromes/submodules/phamb/workflows/mag_annotation/scripts/run_RF.py /work/projects/nomis/assemblies/virome_results/annotations/goodQual_final.fna.gz /work/projects/nomis/assemblies/virome_results/vamb_output/clusters.tsv /work/projects/nomis/assemblies/virome_results/dbs/phamb /work/projects/nomis/assemblies/virome_results/phamb_output

I have the below error, so could you please let me know how to fix it?
Traceback (most recent call last):
  File "/work/projects/nomis/assemblies/viromes/submodules/phamb/workflows/mag_annotation/scripts/run_RF.py", line 217, in <module>
    fastadict = _vambtools.loadfasta(infile,compress=False)
  File "/mnt/irisgpfs/projects/nomis/assemblies/viromes/submodules/phamb/workflows/mag_annotation/scripts/vambtools.py", line 383, in loadfasta
    for entry in byte_iterfasta(byte_iterator, comment=comment):
  File "/mnt/irisgpfs/projects/nomis/assemblies/viromes/submodules/phamb/workflows/mag_annotation/scripts/vambtools.py", line 264, in byte_iterfasta
    raise ValueError('Empty or outcommented file')
ValueError: Empty or outcommented file

Thank you,
Susheel

Turns out I had an incomplete FASTA file. Sorry for the confusion!


[newsfeed] Line break tags  should be replaced with spaces

As an example, if you look at the RSS feed for lemmy.world, you'll notice that it uses line breaks. Because the newsfeed module seems to strip out HTML (rightfully so), it causes some of the text to be butted up against each other:

Instead of stripping out <br> tags, it should replace them with a space (or non-breaking space ( )).

Hi, I don’t know if that’s really intended but according to the code it removes the <...> tag and replaces it with nothing.
see original code in ~/MagicMirror/modules/default/newsfeed/newsfeedfetcher.js line 56
Try to replace this line by description = description.toString().replace(regex, " ");
maybe it will be better in your case

@bugsounet Yes, that's exactly the solution needed.

I've got absolutely no idea anymore. 🙈

I've got absolutely no idea anymore. 🙈

well, 7 years is a long time... but maybe its really just trying to get rid of any html tags. which looks weird with  in the text.
would just replacing those with an empty space " " look always okay I wonder?
@d42ohpaz do you want to code something (remove the regex and try to make a good looking description with some more options passed to the html-to-text library)?

I will inspect  html-to-text library options because actually, without regex, It display web links. I don't think it's raeally neded to display this

@d42ohpaz can you check if the latest develop branch fixes your problem?

@d42ohpaz can you check if the latest develop branch fixes your problem?

Yup, looks fixed in latest develop branch. Thank you!


Remember Title on Restart

I've read the FAQ and searched "title" within github issues but didn't find anything related.
When I exit then restart Hourglass, it remembers the last timer time but not its title. If I'm missing a way to accomplish this, please advise. If not, please consider an enhancement request for Hourglass to remember the last timer title the same way it does the length of the last timer. Thanks!

@githottub Fixed in https://github.com/i2van/hourglass

@i2van Thanks for the reply. The problem with using the command line option is it would show the same title every time. Whereas I simply want it to remember the title of the last timer used. I'm baffled as to why the intended design would be to remember the last timer length but not the title of that timer.

@githottub I can justify not remembering title due to its optional nature. I made a LINQPad script for running Hourglass with specific predefined titles.


Why VOWELS constant only has one vowel?

In botok/botok/vars.py
VOWELS = ["ི"]
But it should be four (or five), right? like "ཨེཨིཨུཨོ"

I found the commit where the other vowels were taken out :
https://github.com/Esukhia/botok/commit/8b47270755732d73bf19a9205907dba67278bf34#
I don't remember if it was intentional or not...


Registration

fixes #44
The functionality of models.py and authentication.service.js hasn't been changed. The new data fields are not being stored in the database, only the front-end portion(linking) is created. The data from the form fields will have to be taken by the controller to the database.

@aditimithal there are a lot of temporary files in this PR (ending with ~), could you please remove them?

user.py
no need for country there, there is a full address as field, please remove commented out code

@aditimithal no need to be sorry, let's build on this. @nistala and other DRIs will help you on this. Could you add same labels as #44 to the PR? This will help to keep issues and PR organize.

Closing due to lack of activity. Please reopen once fixes are in.


SystemsManagerParameterStoreBackend unable to retrieve values

Checks

[X] I have checked for existing issues.
[X] This report is about the User-Community Airflow Helm Chart.

Chart Version
8.8.0
Kubernetes Version
Client Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.2", GitCommit:"7f6f68fdabc4df88cfea2dcf9a19b2b830f1e647", GitTreeState:"clean", BuildDate:"2023-05-17T14:20:07Z", GoVersion:"go1.20.4", Compiler:"gc", Platform:"darwin/arm64"}
Kustomize Version: v5.0.1
Server Version: version.Info{Major:"1", Minor:"29+", GitVersion:"v1.29.1-eks-b9c9ed7", GitCommit:"07600c74de018baffb16c82771a48adcb843a932", GitTreeState:"clean", BuildDate:"2024-03-02T03:46:35Z", GoVersion:"go1.21.6", Compiler:"gc", Platform:"linux/amd64"}

Helm Version
using terraform
provider registry.terraform.io/hashicorp/helm v2.12.1

Description
Note, I am using airflow 2.7.3-python3.10
I was trying to use AWS parameter store as the backend for my airflow variables but nothing is getting sync. I am following the documentation on AWS Connection Option 3
I attempted to use two different roles, one with only access with the necessary permissions including the correct namespace and the one with total admin access to my EKS cluster. Nothing is getting synced which leads me to believe this may be a bug? I can't say for certain because there does not seem to be any logs indicating something went wrong and I have no idea where to look. All pods are running fine.
Using airflow config list I am getting the correct arguments
[secrets]
backend = airflow.providers.amazon.aws.secrets.systems_manager.SystemsManagerParameterStoreBackend
backend_kwargs = {"connections_prefix": "/airflow/connections", "variables_prefix": "/airflow/variables"}

I have SSM vars that exist with the correct prefix airflow/variables/test but airflow variables list shows nothing
My service account exist and has the correct annotations and all my pods are assigned to this service account
eks.amazonaws.com/role-arn=arn:aws:iam::XXXXXXXXXX:role/<<MY_ROLE_NAME>>

I have no way of validating that airflow is able to connect to AWS Parameter store. Any help would be greatly appreciated. Also these same configurations worked with helm chart 2.5.3 and airflow 2.2.3
Relevant Logs
None, everything looks good

Custom Helm Values
airflow:
  image:
    repository: ${airflow_image}
    tag: "${airflow_version}"
    pullSecret: creds-secret
  executor: KubernetesExecutor
  connections:
  - id: default
    type: aws
    description: AWS connection
    extra: |
      {
        "region_name": "us-east-1"
      }
  config:
    AIRFLOW__SECRETS__BACKEND: airflow.providers.amazon.aws.secrets.systems_manager.SystemsManagerParameterStoreBackend
    AIRFLOW__SECRETS__BACKEND_KWARGS: '{"connections_prefix": "/airflow/connections", "variables_prefix": "/airflow/variables"}'
  serviceAccount:
    name: airflow
    annotations:
      eks.amazonaws.com/role-arn: "arn:aws:iam::XXXXXXXXXX:role/<<MY_ROLE_NAME>>" # My role - obviously

see https://github.com/airflow-helm/charts/discussions/843


generic header passing through decorator of view functions

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
# you might need pytest to execute the test
# (you can also run the function directly)

import functools

from typing import Optional

from fastapi import FastAPI
from fastapi.params import Header
from fastapi.testclient import TestClient

app = FastAPI()

client = TestClient(app)

headers_passed = []

def header_processor(f):
    @functools.wraps(f)
    def wraps(*args, x_custom_header: Optional[bool] = Header(False), **kwargs):
        headers_passed.append(x_custom_header)
        return f(*args, **kwargs)

    return wraps

@app.get("/")
@header_processor
def read_root(
    # here it does not work because we do not explicitely specify
    # the header as a keyword argument for the controllers definition
):
    return {"Hello": "World"}

@app.get("/items/{item_id}")
@header_processor
def read_item(
    item_id: int,
    q: Optional[str] = None,
    # here it works
    x_custom_header: Optional[bool] = Header(None),
):
    return {"item_id": item_id, "q": q}

def test_header_pass_through():
    client.get("/", headers={"x-custom-header": "true"})
    client.get("/items/2", headers={"x-custom-header": "true"})
    assert len(headers_passed) == 2
    assert headers_passed[1] is True
    assert headers_passed[0] is True

if __name__ == '__main__':
    test_header_pass_through()

Description
You can run the above code and verify that it does not work.
It is a bit strange, because I assumed that decorating the function would have the effect of adding a header parser to every request of this application.
If you have a simple explanation for that, I would be glad, and could eventually be able to submit a pull request if the behavior highlighted here is not a deliberate design choice.
Operating System
Linux
Operating System Details
No response
FastAPI Version
0.68.1
Python Version
Python 3.9.0
Additional Context
No response

@uriyyo It just works
I think it could be worth to mention it in the documentation, looks like an elegant way to specify a header dependency in a fast api project.


Update assets.json

Contributing to the Azure SDK
Update test assets, to minimize running time of BackupAndExport

to minimize sdk test timing


Sorting Linked List Problem in C++

Hi @Saloni6111, I would like to implement the Sorting in Linked Lists problem using C++ as part of this repository. The solution will sort the linked list using an efficient algorithm and return the sorted list.
Can you please assign this issue to me under Hacktoberfest-2024? Thank you!

hii @Saloni6111
I want to solve this issue, Could you assign me?

Hi @Saloni6111, I would like to implement the Sorting in Linked Lists problem using C++ as part of this repository. The solution will sort the linked list using an efficient algorithm and return the sorted list.
Can you please assign this issue to me under Hacktoberfest-2024? Thank you!

done!

i want to solve...


added rounded percentages to pie chart

Fixes #262. This adds percentages to text.

I easily made the slices expand out from the middle, but realized that we would need to get fancier about how to start that animation (scrolling, etc). So, decided against it. Given the time and the other issues, I'm comfortable with this minimal sprucing.

lucky it adds up to 100% ;)

@jread-usgs yep - thought of that exact thing

All about the %


Audio Keeps on loop for fix duration(fix duration depend's on song length) of Seconds

When I had installed ionic-audio module for ionic 3, it's work fine for some tracK but after that it's keep on looping for fix duration of second.

i made some come changes in ionic -audio-track-progress-component.ts
<ion-range [(ngModel)]="range" min="0" max="100" (ngModelChange)="seekTo()" name="progress" ngDefaultControl> <time *ngIf="showProgress" range-left>{{audioTrack.progress | audioTime}}</time> <time *ngIf="showDuration" range-right>{{audioTrack.duration | audioTime}}</time> </ion-range>
i just changed (ionChange) to (ngModelChange) now its working fine

Fix not working for me on 3.0.4

This hasn't been fixed yet

I changed (ionChange)="seekTo()" to (ngModelChange)="seekTo()" in both ionic-audio-track-progress-component.js and ionic-audio-track-progress-component.metadata.json and so far it works even with the --prod flag. Testes on both Android and iOS
Dunno if that helps in the progress of a fix

This has been fixed in 3.1.0. I refactored the progress bar component which was causing trouble. It was based on the Ionic's ion-range control that didn't play well with the seekTo() functionality. I had to refactor the component using a standard HTML range component which is fully customizable using SASS variables.


libengine-pkcs11-openssl fails on Ubuntu 20.04 - undefined symbol: C_GetFunctionList

I installed the pkcs11 library per these instructions on an Ubuntu 20.04 VM and attempted to create a CSR but got the following error.
# openssl req -new -subj '/CN=*.mydomain.com/' -sha256 -engine pkcs11 -keyform engine -key pkcs11:object=my-key-name > mydomain.csr
engine "pkcs11" set.
/usr/lib/x86_64-linux-gnu/engines-1.1/pkcs11.so: undefined symbol: C_GetFunctionList
Unable to load module /usr/lib/x86_64-linux-gnu/engines-1.1/pkcs11.so
/usr/lib/x86_64-linux-gnu/engines-1.1/pkcs11.so: undefined symbol: C_GetFunctionList
Unable to load module /usr/lib/x86_64-linux-gnu/engines-1.1/pkcs11.so
PKCS11_get_private_key returned NULL
cannot load Private Key from engine
140496919119168:error:81065401:libp11:pkcs11_CTX_load:Unable to load PKCS#11 module:p11_load.c:79:
140496919119168:error:26096080:engine routines:ENGINE_load_private_key:failed loading private key:../crypto/engine/eng_pkey.c:77:
unable to load Private Key

I then tried to do the same on a Debian 11 VM as well as Ubuntu 22.04 but got the same error. Finally I decided to try Ubuntu 16.04 and it still failed albeit with a different error:
invalid engine "pkcs11"
140416720131736:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:187:filename(/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libpkcs11.so): /usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libpkcs11.so: cannot open shared object file: No such file or directory
140416720131736:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:233:
140416720131736:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:eng_dyn.c:467:
140416720131736:error:2606A074:engine routines:ENGINE_by_id:no such engine:eng_list.c:390:id=pkcs11
140416720131736:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:187:filename(libpkcs11.so): libpkcs11.so: cannot open shared object file: No such file or directory
140416720131736:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:233:
140416720131736:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:eng_dyn.c:467:
no engine specified
unable to load Private Key

Ideally I'd like this to work on Ubuntu 20.04. Please assist.

At first glance, those errors look like openssl is having issues locating the PKCS #11 library (module). From the first set of errors, it looks like it’s trying to load /usr/lib/x86_64-linux-gnu/engines-1.1/pkcs11.so, which doesn’t look like a path to our library.
Can you verify that you have set the PKCS11_MODULE_PATH environment variable correctly, and that it’s pointing to our libkmsp11.so file?  Consult the configuration instructions for details.

@tdbhacks you are correct, I had misunderstood the instructions and after installing the correct module was able to get the csr created.


Fix enr value in boot_enr.txt

The last bootnode enr record in boot_enr.txt seems to be invalid, there is an additional :q. Tried to exit vim while in insert mode?
https://enr-viewer.com/ can be used to easily validate the enr

Nice catch! thanks

Seems to be superseded by https://github.com/eth-clients/holesky/pull/78 which completely replaces the enr


A.06.IR15.srv.keyword

This issue has been extracted from the issue list on:https://ies-svn.jrc.ec.europa.eu/issues/2685
Comment
Another prerequisite is test case A.04, needed to determine whether the resource is a service.
Proposed Change
Add the test case as a prerequisite.

Proposed resolution
Agreed with the proposed change, that could affect other specific test cases for the services.


sending networking data is dependent on relationship-order

The current process of configuring the charm is highly dependent on ordering of the relations.
This is not idempotent, and creates a scenario where the charm is left in a broken state. The subnet network data is cached on the agent side and the routine of setting/sending this data should happen when it is available.

Tested this with 2 hosts, and the code in question appears to work.
charles@Bushido:~/projects/work/charms/trusty$ juju run --unit flannel-docker/0 "ifconfig"
docker0   Link encap:Ethernet  HWaddr 56:84:7a:fe:97:99
inet addr:<IP_ADDRESS>  Bcast:<IP_ADDRESS>  Mask:<IP_ADDRESS>
UP BROADCAST MULTICAST  MTU:1500  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
root@ip-10-197-55-239:/var/lib/juju/agents/unit-flannel-docker-1/charm# ifconfig
docker0   Link encap:Ethernet  HWaddr 56:84:7a:fe:97:99
inet addr:<IP_ADDRESS>  Bcast:<IP_ADDRESS>  Mask:<IP_ADDRESS>
UP BROADCAST MULTICAST  MTU:1500  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


Syntax highlighting incorrect for 'once'

The animation declaration can use the word 'once'.

Using this plugin it is considered as the boolean 'on', which causes that part to change color...

From what I can see from the code base... This might honestly be hard to fix, as everything is a query...
Theoretically one could create maybe an another query, that are blacklisted words and put 'once' in there...
Lmk if I can help...

Thanks for the report, I've totally forgot keyword extraction. This was the cause of the issue: https://tree-sitter.github.io/tree-sitter/creating-parsers#keyword-extraction.
It should be fixed now.


Using this library for text with word boundary

Can we use this to extract pincode from a line which has few words apart from pincode? If yes kindly explain how to do it...

Something like this works well:
import re

regex = list()
f = open('regex.txt')
lines = f.readlines()
for line in lines:
    if (len(line) > 10):
        regex.append(re.compile(line[1:-2]))

def run_regexes(input_string):
    results = []
    # Apply each regex to the input string
    for r in regex:
        matches = re.findall(r, input_string)
        results.extend(matches)

    return results

for t in ['bangalore 560038', 'india 111111', 'my pincode is 244713']:
    results = run_regexes(t)
    print((t, results))

python t.py
('bangalore 560038', ['560038'])
('india 111111', [])
('my pincode is 244713', ['244713'])

The library currently does not support it, so this is adapted from https://github.com/captn3m0/india-pincode-regex/blob/master/src/pincode/init.py

@Nirmal-Data-Scientist Can you clarify which language you were trying to do this in? I've added support for a search method in v2 in JS/PHP/Ruby.
Python is still broken due to an issue I haven't figured out yet (#2), but I'll add it soon.

I wanted to use it for a python based project but not needed now @captn3m0 as I have already completed the project using re library itself 2 weeks back...Glad you responded....Thank you so much...


External worker provisioning for IBR use case

WIP protocol sketch for external worker provisioning for the IBR use case for FPC
Signed-off-by: bur<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing changes and/or breaks backward compatability?:

@cmickeyb @bvavala Can you please have a look and comment or push to my branch directly for quick improvements.

BTW let the CI run for this PR is a waste of energy!


Crashed sitting in the background, and then completely sucked power for the next 12 hours

Type: Bug
An apple crash report popped up for "Electron" (which is not the correct name of this app) yesterday, and now Apple reports VSC is using significant" energy, using 100x the amount of energy of the next, which is a browser that has been open for days (without crashing I might add) and 38 tabs open (including the one to finish writing this).
VS Code version: Code 1.80.1 (Universal) (74f6148eb9ea00507ec113ec51c489d6ffb4b771, 2023-07-12T17:20:23.298Z)
OS version: Darwin arm64 22.5.0
Modes:

System Info

Item
Value

CPUs
Apple M1 Max (10 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
12, 12, 12

Memory (System)
32.00GB (0.55GB free)

Process Argv
--crash-reporter-id 405460ad-c949-41f6-9a68-b1c31b93bcef

Screen Reader
no

VM
0%

Extensions: none
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263:30792226
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
2e4cg342:30602488
f6dab269:30613381
showlangstatbar:30737416
vsctsb:30748421
03d35959:30757346
pythonfmttext:30731395
pythoncmv:30756943
fixshowwlkth:30771522
showindicator:30785052
pythongtdpath:30769146
i26e3531:30792625
gsofb:30797622
pythonnosmt12:30797651
pythonnoceb:30797650
e537b577:30795824
dsvsc013:30795093
dsvsc014cf:30797590

Can you provide the output of code --status

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Repair and Resubmit selected message not working for Dead Letter Message for Topics

When in Repair and resubmit selected message window and when we select a message to resubmit to topic using the "Submit" button.
The log windows shows "Messages where moved to [topic-name] in [time-taken-in-ms] milliseconds." message but the message is not shown when I peek both in Azure Portal and also in Explorer. The message is not getting published to the topic when we perform repair and submit the message.
In case if you have selected "delete from DLQ" which usually is required, message get deleted in DLQ and it is not published back to topic eventually leading to loss of message.
Azure_Explorer_Dead_Letter_Msg_Resubmit_For_Topic.docx

Are you saying that the tool doesn't do what it says in the log? Are you 100% sure? The repair and resubmit functionality has been created years ago and no one reported this issue so far. Can you please provide evidence? When you resubmit the message, you need to make sure that it satisfies the conditions of the landing subscription. Can you please make a repro selecting a queue instead of a topic or to create an auditing subscription with a filter equal to 1=1 under the topic? Thanks

I have tried using both queue and topic and it failed only for topic and queue re-submit was successful. See the document attached  - Azure_Explorer_Dead_Letter_Msg_Resubmit_For_Topic.docx
I can also try for a vanilla topic with default filter (1=1) and see whether it works

@mlakshminara , I just tried this and it worked. I see that you are getting some validation errors when the message is peeked. Please try using another message where you don't get any complaints when it is being read. It might be that the content of the message property is scrambled when resent and the rule is not working due to that.
Lastly, since a cause could be that someone is reading it from the subscription make the subscription forward messages to a queue and see if the message ends up there.

Closing due to no response. If you, @mlakshminara, still have a problem with this just create a new message in this thread.

Closing due to no response. If you, @mlakshminara, still have a problem with this just create a new message in this thread.

Hi @ErikMogensen - I worked on this issue with @mlakshminara. We determined that the behavior he found - a message moved off DLQ back to topic but not showing on the topic  - appeared only when a very short TTL was set on the message. @mlakshminara was setting a message TTL of 0.01 seconds. When we set the TTL to 30 seconds and other "reasonable" values, SB Explorer worked exactly as expected - message showed on topic.
I checked for a documented minimum message TTL at these references, but was unable to find:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/azure-subscription-service-limits#service-bus-limits
https://docs.microsoft.com/en-us/azure/service-bus-messaging/message-expiration
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-troubleshooting-guide
Can you please share any guidance on minimum message TTL?
Also, I checked a Windows machine with SB Explorer for extra logging info over what is shown in the SB Explorer log pane (verified app config had debug=true). Could not find a log, or events in Windows Application Event log. Is there a way to inspect more detailed info of what's happening, short of debugging/setting watches and breakpoints?

@plzm setting TTL to such a short time will like expire message before it can even be reported by the topic. The minimal value is not documented but I’d be surprised if it was less than at least a few seconds. Just for kicks, try the Portal Explorer for ASB and see what value is enforced there. My gut feeling it’s a bug with the API. It accepts values lower than the minimum and the Portal explorer might prevent it.

@SeanFeldman great idea - portal SB Explorer enforces minimum 5 seconds. I'll communicate that back. Thank you!

@plzm , great to see that you found the cause.
Regarding logs of what is happening, it seems that service bus explorer sends sends the message to the service bus service in Azure otherwise it should throw an exception which should be logged. After the Service Bus service has received the messages there are no logs available for us deadly to determine what happens inside it as far as I know. Microsoft Support may be able to see something.

Got it, thank you @ErikMogensen and @SeanFeldman for your help!


[WFCORE-3841] Upgrade to Galleon 1.0.0.CR2 and Galleon Plugins 1.0.0.CR3

https://issues.jboss.org/browse/WFCORE-3841
Galleon 1.0.0.CR2 fixes an issue of adding features with list-add operation with the setting config.branch-per-spec disabled, which is the default now.
Galleon Plugins 1.0.0.CR3 fixes an issue when jboss-modules might not be able to resolve artifacts with hardcoded versions in module.xml during feature spec generation.

Core - Full Integration Build 7377 outcome was UNKNOWN using a merge of 4f3b524e8a0ccc48b4a79f82660e3d47e9acf386
Summary: Canceled (Tests passed: 608, ignored: 42; exit code 137 (new)) Build time: 00:05:34


Go to the rain training problem

Why do I train the rain removal model on 4090 and the psnr can only reach about 28?

We use PSNR_Y and SSIM_Y as the evaluation metrics. But the results should be higher (at least higher than 30 in terms of PSNR_Y) on the Rain100H dataset. Can you share your settings such that I can find the difference?

general settings
name: ir-sde
use_tb_logger: true
model: denoising
distortion: derain
gpu_ids: [0]
sde:
max_sigma: 10
T: 100
schedule: cosine # linear, cosine
eps: 0.005
degradation: # for some synthetic dataset that only have GTs
for denoising
sigma: 25
noise_type: G # Gaussian noise: G
for super-resolution
scale: 4
datasets
datasets:
train:
name: Train_Dataset
mode: LQGT
dataroot_GT: dataset/rain/trainH/GT
dataroot_LQ: dataset/rain/trainH/LQ
use_shuffle: true
n_workers: 4  # per GPU
batch_size: 4
GT_size: 128
LR_size: 128
use_flip: true
use_rot: true
color: RGB

val:
name: Val_Dataset
mode: LQGT
dataroot_GT: dataset/rain/testH/GT
dataroot_LQ: dataset/rain/testH/LQ
network structures
network_G:
which_model_G: ConditionalUNet
setting:
in_nc: 3
out_nc: 3
nf: 64
depth: 4
path
path:
pretrain_model_G: ~
strict_load: true
resume_state: ~
training settings: learning rate scheme, loss
train:
optimizer: Adam # Adam, AdamW, Lion
lr_G: !!float 1e-4
lr_scheme: MultiStepLR
beta1: 0.9
beta2: 0.99
niter: 700000
warmup_iter: -1  # no warm up
lr_steps: [200000, 400000, 600000]
lr_gamma: 0.5
eta_min: !!float 1e-7
criterion
is_weighted: False
loss_type: l1
weight: 1.0
manual_seed: 0
val_freq: !!float 5e3
logger
logger:
print_freq: 100
save_checkpoint_freq: !!float 5e3
In the settings of the IR-SDE


make README more reliable

Hi @shivg7706, please sign your commit.

@Akash4927 Done

Already addressed during the latest version. Thank you for your PR.


Stops working on HA core 2022.10.4

Hi,
not sure whats wrong with 2022.10.4, but this integration stops working. I went back to 2022.10.3 and its working again.
The Go-e charger is on v54.7 but I tried v054.3 and its also not working on 2022.10.4.
Anyone else have this issue?

I assume this is the root-cause: https://github.com/syssi/homeassistant-goecharger-mqtt/issues/52
I haven't had the time to solve the breaking change yet.

Hmm... I looks like my first assumption is wrong. May be this change is the root cause: https://github.com/home-assistant/core/pull/79421

I've prepare a fresh HA core 2022.10.4 install and added the custom component. I don't see any issues / I'm unable to reproduce the issue:

Could you try to subscribe to your MQTT broker manually and make sure there is incoming traffic on the topics of the charger?

Latest core and component works like wonders here too 👍🏻

Thats strange.
I updated again to 2022.10.4 and it stops working.
Then I restarted the Mosquitto Broker and the Integration works again. Even after a HA core restart.
I think I can close this.
Thanks a lot.


[Test] Disabled testSwiftRunSIGINT.

motivation: stable ci
changes: disable unstable test

@swift-ci please smoke test


fix generate_from_schema:

replace BaseAuth by Auth
fix id type in PutBulkRequestOne schema

@hugolarzabal or @marioncottard solve the conflicts, then we can merge

Done

Files changed are zero, so I close I guess


cephfs: implement wrappers for fchmod and fchown

Now that we have an open file object it makes sense to have a wrapper for ceph_fchmod and ceph_fchown like we do for paths.

@agarwal-mudit are you interested in taking this on?

Sure


☂  Implement Internationalization (i18n)

Description
To make our React Native Multi-TV App more accessible to a global audience, we need to implement internationalization. This will involve setting up a localization system and translating the app's content into multiple languages.
Tasks

[ ] Set up a localization library (e.g., react-i18next)
[ ] Create language files for at least two additional languages (e.g., Spanish and French)
[ ] Implement language selection in the app settings
[ ] Ensure all hardcoded strings in the app are replaced with localized versions
[ ] Update the README with information on how to add new languages

Expected Outcome
The app should be fully functional in at least three languages, with an easy way for users to switch between them. The system should also be easily expandable for adding more languages in the future.
Resources

react-i18next documentation
Internationalization in React Native

Hi, I would like to work on this issue. Could you please assign this task to me. Thanks,

Thank you! I've assigned the issue to you 🚀


Fix 'require' error

Fixes #26 (for me at least, I don't know if it will mess up things for anyone else!)
See here for more information on this error: https://stackoverflow.com/questions/9750610/ruby-require-error-cannot-load-such-file/9750732

I used the same fix for the manual installation. I assumed this was some magic so it works better in a package manager installation. If the brew and the aur versions still work with this fix then please merge it so it is also easier to install it manually :)

Installing um as a Gem makes it a lot easier to package for package managers. When I first submitted it to Homebrew/core, somebody suggested I do that.
If you want to install manually, you just need to make sure to install the gem too. See https://github.com/sinclairtarget/um/issues/26#issuecomment-554677155


[industrial_extrinsic_cal] Add missing Eigen dependency.

Closing since it confirmed Travis passes.
Only pre-release test failed as expected at the testcases.
[ 69%] Built target tf2_msgs_generate_messages_cpp
[ 69%] Built target tf_generate_messages_py
[ 69%] Built target tf2_msgs_generate_messages_py
[ 69%] Built target tf2_msgs_generate_messages_lisp
[ 94%] Built target industrial_extrinsic_cal
[ 97%] Built target gtest
[ 97%] Built target gtest_main
[100%] Built target utest_inds_cal
[100%] Built target tests
Scanning dependencies of target _run_tests_industrial_extrinsic_cal_gtest_utest_inds_cal
-- run_tests.py: execute commands
  /tmp/catkin_workspace/devel_isolated/industrial_extrinsic_cal/lib/industrial_extrinsic_cal/utest_inds_cal --gtest_output=xml:/tmp/catkin_workspace/test_results/industrial_extrinsic_cal/gtest-utest_inds_cal.xml
libdc1394 error: Failed to initialize libdc1394
[ERROR] [1502992964.635863262]: [registerPublisher] Failed to contact master at [localhost:11311].  Retrying...

No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received

The build has been terminated

Will open a PR against the origin. It'll fix things incl. https://github.com/ros-industrial/industrial_calibration/issues/32


Unable to build due to dependency on yanked crypto-mac version

(venv) MacBook-Pro:threshold-signatures bholzman$ cargo build
Updating crates.io index
Updating git repository https://github.com/RustMania/rust-paillier
Updating git repository https://github.com/vnermolaev/trace.git
error: failed to select a version for the requirement crypto-mac = "^0.7"
candidate versions found which didn't match: 0.11.1, 0.11.0, 0.10.1, ...
location searched: crates.io index
required by package hmac v0.7.1
... which is depended on by curv-kzen v0.2.8
... which is depended on by ecdsa-mpc v0.3.0 (/Users/bholzman/dev/threshold-signatures)
I tried upgrading the curv-kzen version, but in the next higher version (0.6.1) there's no support for either the ec_secp256k1 or ecc feature as specified in the Cargo.toml.
Any ideas?

Hi, any update on this issue?

Hmm, actually this problem seems to have been fixed somewhere else, as I can now build just fine. Closing this ticket.


[No ticket] Update draft-registration routes

Ticket: []
Feature flag: n/a

Purpose
Get rid of registries draft sub-routes to facilitate the innerworkings of registration process.
Summary of Changes

Get rid of registries draft sub-routes.

Add detail route with two dynamic sections :id and :page.
registries/drafts/decaf/review, registries/drafts/decaf/0-study-information

Add a route test

Side Effects
n/a
QA Notes

Pull Request Test Coverage Report for Build 3419

12 of 22 (54.55%)  changed or added relevant lines in 3 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 75.493%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/registries/addon/drafts/draft/route.ts
9
19
47.37%

Files with Coverage Reduction
New Missed Lines
%

lib/registries/addon/drafts/index/route.ts
1
74.19%

Totals

Change from base Build 3407:
-0.03%

Covered Lines:
7787

Relevant Lines:
9058

💛  - Coveralls


Step 1: Assign yourself

Step 1: Assign yourself
Unassigned issues don't have owners to look after them. When you’re assigned to an issue or pull request, it tells repository visitors and contributors that you'll be facilitating the conversation or task :muscle:.
:keyboard: Activity

On the right side of the screen, under the "Assignees" section, click the gear icon and select yourself

For a printable version of the steps in this course, check out the Quick Reference Guide.

I'll respond when I detect you've assigned yourself to this issue.

Sometimes I respond too fast for the page to update! If you perform an expected action and don't see a response from me, wait a few seconds and refresh the page for your next steps.

Originally posted by @github-learning-lab[bot] in https://github.com/vaughnmw72/github-slideshow/issues/1#issuecomment-731614347 it be facilitating the conversation or task 💪.

facilitating the conversation or task 💪.
I'll be facilitating the conversation or task 💪.

I'll be facilitating the conversation or task 💪.

I'll be facilitating the conversation or task 💪.

facilitating the conversation or task 💪.

facilitating the conversation or task 💪.

facilitating the conversation or task 💪.

facilitating the conversation or task 💪.


Replace incorrect character in sample code

Fixes #173
Your sample code contains "–", which looks like the correct one "-".
However, they're not the same character and they cause your sample code unable to run if you copy and paste them.
I created issue #173 almost one year ago and no one is fixing them.

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

@wsy : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@billmath - Could you review this PR? Thanks.

@billmath

Looks correct; merging.


Invite new contributors/maintainers?

@sebastian-lenz has put together a great project here but unfortunately does not seem to have the time to continue working on this. @blakeembrey has helped move typedoc into the TypeStrong organization and done a great job answering questions and keeping the project alive with a few releases. However, he has many other projects that he is involved in and hasn't been able to learn the ins and outs of the typedoc source.
Is anyone able to take a bigger role in this project and would that be welcomed? Right now it feels like there is no one able to take charge of where things are headed?

@blakeembrey, I would like to be more involved in this project. My OS experience and available time is still limited so I do not think I would be a good maintainer but I would like to contribute. I'll do my best to follow up on and triage GH issues and PRs. I'd also like to contribute to a project code/style review when time allows.

Any help on issues right now is certainly appreciated, especially for new feature implementations 😄

Currently typedoc is the only valid project to build docs in TypeScript.
Anyway in my opinion, when they started to think on it, them make an error: not consider to build it upon jsdoc.
While two projects differ on target language, it have many common points and features.
Typedoc could take advantage on parsing rules of jsdoc and on community behind it (currently 72 contributors, not bad).
I would like to support this project but now I'm on startup a big project, I hope give you help in near future :)

I think setting a gitter chat (or even better Slack) could be very helpful for many reasons. I wish there were somebody to ask info when I started using Typedoc's internal API for a script of mine.
I don't have much free time, as probably anyone else, but I'd like to give some contributions to minor issues/changes. I believe it's currently the best project for doc generation in Typescript.

@jiayihu I'd be up for participating in a Slack channel. There is a big need for documentation updates though. There are features that are not well documented and the existing documentation has not been updated in a long time. I'd prefer we focus on that than having people repeatedly ask the same questions.
I also think that the readme should have some information encouraging people to make PRs since there isn't currently anyone who can devote a ton of time to the project right now.

Side-note: If you're going to create somewhere to chat, use Gitter (not Slack). I use both and they're both great, but Slack is designed specifically for private teams while Gitter is the opposite (allowing both private and public). Unless you want to pay for a limited service, don't use Slack.

@aciccarello a chat is not exclusive with documentation and it's easy to set up. Could be helpful also for organization between collaborators.

I just added https://github.com/TypeStrong/typedoc/pull/422 in case.

Hi @demurgos, some additional help would be greatly appreciated. Unfortunately I have not had the time to review PRs quickly enough to keep up with issues. Feel free to reach out to me on Twitter or gitter to discuss the best way to keep the project moving.

I'm adding @blink1073 to this thread as he has indicated that he would like to help too.
The main priority I see right now is getting typedoc up to speed with TypeScript updates. There are PRs open to update the dependency but there are a lot of related bugs for typescript features that TypeDoc does not support. I'm considering using a peer dependency on TypeScript to ease some of the pain for users with TypeScript compile errors but tsc often has breaking changes. It helps to have issues verified and duplicates identified in the comments. Creating and especially reviewing PRs is always great. I'll merge PRs if I believe others have thoroughly tested them.
I'd also like to see a couple architectural changes made to improve the contribution/learning/release process. These are probably a while down the road but would bring big wins.

Pull in the theme projects as a monorepo to test together (#741)
Improve documentation
Use ts-node for running tests
Support a library structure (with a public api of re-exports from a few files)

If someone has been active for a while and would like more access on the project I'd be happy to add you. I can't take the credit for the great work that went into this project and I can't keep up with bugs and features on my own so your help is appreciated.

I think it is fair for a TypeDoc version to be tied to a particular minor release of TypeScript, since they do not follow semver the way a typical project normally would.  When they "fix" a bug in the compiler, it can cause code that compiled in the previous minor version to no longer compile.  I can dig up an example from the TypeScript issues where they've said this if need be.
I personally don't have time to contribute code to this code base, but would love to help with reviewing PRs and making releases so we don't fall out of sync with the current TypeScript compiler version.

Ah, found the link: https://github.com/Microsoft/TypeScript/issues/14116#issuecomment-280410804


fix(cli): ScrubSensitiveData to scrub recursively

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

Comparison is base (c56d330) 75.86% compared to head (5484afd) 75.84%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #537      +/-   ##
==========================================
- Coverage   75.86%   75.84%   -0.03%
==========================================
  Files         465      465
  Lines       37171    37179       +8
==========================================
- Hits        28201    28197       -4
- Misses       7047     7053       +6
- Partials     1923     1929       +6

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


Refactor TextPipeline::update_buffer to accept an interator

Objective

Prepare TextPipeline to work with multi-entity text blocks. See https://github.com/bevyengine/bevy/discussions/15014

Solution

Refactor TextPipeline::update_buffer to accept an iterator instead of slice. Adjust update_buffer implementation to only iterate spans once instead of three times (which would require iterating a hierarchy three times with multi-entity blocks).

Testing

Tested with text_debug example.


Load a Maven-based plugin JAR with its "direct" dependencies

After finding "direct" dependencies in #1012, this PR actually loads the out-of-plugin-JAR dependencies. Can you have a look when you have time? @sakama (Cc: @muga) It's not in a hurry.
We may want better tests to load JARs, but that'd be out of embulk-core. We'd need much work for such tests.
I've at least confirmed that it successfully loads and runs specially-built embulk-decoder-commons_compress with external org.apache.commons:commons-compress:1.13.

Thanks!


update contributors page

[https://coderefinery.org/about/contributors/])
-> check instructors and group by CR workshop and other workshops

Suggestion:
Move previous contributors to "partners page" (new section). Add special thanks to people that contributed a lot.
Add general shoutout to all helpers and instructors, but keep them only on "past workshops" pages?

In addition: add ambassadors