 Particularly, when adding jibberish like so:

I would expect a "unexpectd sdfsdf" on line 502 message instead of the one I got.

I think the error message is pretty ok. If you have a proposal I'd review it.


Access to the Dataset Used in Your 'Case Study' Section

Thanks for your excellent work CLIPScore! I am also working on caption evaluation and wondering about where to download the alt-text, personality, and news image captioning human rating datasets used in the 'Case Study' section of your paper. I would appreciate it if you could offer the download links.

Thanks for reaching out, and for your interest in our work! I wanted to get back to you, but I don't have a great answer yet. For news, alt-text, and personalitycaps, I had to reach out to the folks who had initially collected those datasets, and so while I do have them saved, I don't nesc. have explicit permission to share them. It may take me a while to get a hold of everyone again, but I will ask them if I can share with attribution

Thank you very much for the kind reply! Looking forward to accessing these datasets if possible.

Thanks for great work! I hope this isn't too intrusive, but is there any update?


Windows 10 Installation Dialog Interaction Problem

Lackey is having issue interacting with Windows 10 installation dialogues (created with NSIS installer). It does see a button, seems like it simulates a click but nothing happens. Log states that click was performed on desired location.
Focusing application does not seem to work either, as if no interaction is possible.
NOTE: Sikuli has same problem on Windows 10.
NOTE: Same code runs on a Windows 7 machine without problem.
Do you maybe know what could be the problem, and if there is a workaround?

Does the installer run full-screen or windowed?
Is the un-clickable button on a modal window like a "needs administrator permissions" dialog?
Does the installation dialog accept keyboard input?

Windowed
Installer only checks if user is running it under administration privileges (before started). I've additionally tried with random installer from web, and it didn't work either. And it's not just the button, neither focus (on this window) nor simply clicking on the text (to make it focused) work.
It does, but hovering the button and typing "Enter", for instance, doesn't work either.

Thanks. Last question - did you notice if this ever worked in the past?

Unfortunately not. However, I could test it with specific (previous) version if this could help.

In version 0.5.0 I replaced the existing low-level mouse/keyboard automation with the keyboard library. You might try it with v0.4.2a1 (the prior release) to see if it works with the original code.
I'll see if I can reproduce the issue on my Windows 10 laptop as well.

I have successfully duplicated this issue with Sikuli 1.1.0 and the XAMPP installer (which I believe uses NSIS).
No simulated keyboard or mouse events (including moving the mouse, clicking mouse buttons, or typing the Enter key) are triggered while the installer is the foreground window. These events function normally when an actual keyboard or mouse is used. If a different window is the foreground window, the mouse can move over the installer, but the installer doesn't receive the click or move to the foreground.
If Sikuli is launched as an administrator, however, the keyboard & mouse events are triggered just fine.
This may be a fixable access issue, so I'll investigate further. But the workaround may end up being "run your script as administrator."

It looks like a non-elevated script can't automate an application running with elevated privileges (which makes sense when you think about it).
Sikuli gives a warning when it detects that the mouse failed to respond. I'll look into adding this into Lackey, and will certainly add it to the documentation.

You are absolutely right. I've been aware of the Sikuli behavior, but I've managed to pass around with Lackey as well - by running code with Jenkins both server and node in admin mode. In this case interaction works.
Thanks for the quick responses, as far as I'm concerned this issue can safely be closed, with docs updated.
Cheers!

Sounds good. I've pushed an updated README and added a helpful exception if Lackey detects that its mouse messages are being ignored. These will be rolled out with the next release.

This has been fixed in the latest release.


Multi-Selection suggestion

Guys I need your suggestion for this. I have been working on multi selection feature https://github.com/ChrisTitusTech/linutil/pull/305
I have added an indicator that pops up near the text when the command is selected.
I can't decide whether i have to make the text bold or not and should I add the symbol for regular mode as shown below please help me out.

[!NOTE]
I cannot make the symbol bold. Though it is a nerd font symbol I couldn't make it bold

Normal Mode:
Without bold:

With bold:

Compatible Mode:
Without bold:

With bold:

[!IMPORTANT]
Please check out the PR and if you have any suggestions related to the PR let me know...!

@ChrisTitusTech @lj3954 @afonsofrancof @JustLinuxUser Please consider to take a look and provide your feedback !!

From a first glance at the pictures I'd say it looks good.


newsflash: 3.1.5 -> 3.1.6

Description of changes
https://gitlab.com/news-flash/news_flash_gtk/-/releases/v.3.1.6
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 294528 run on x86_64-linux 1

1 package built:

newsflash


[API BREAK] Change _t to _type due to being POSIX-reserved

Fixes #198.
Builds on top of #293.
Mechanical application of
for A in include/*.h src/*.h src/*.c src/modules/*/*.h; do sed -e 's/secp256k1_\([a-z_]*\)_t\([^a-zA-Z]\)/secp256k1_\1_type\2/g' <$A >/tmp/bla; mv /tmp/bla $A; sed -e 's/callback_t/secp256k1_callback_t/g' <$A >/tmp/bla; mv /tmp/bla $A; done

for A in include/.h src/.h src/.c src/modules//*.h; do sed -e  <$A >/tmp/bla; mv /tmp/bla $A; sed -e  <$A >/tmp/bla; mv /tmp/bla $A; done

vs
sed -i 's/secp256k1_\([a-z_]*\)_t\([^a-zA-Z]\)/secp256k1_\1_type\2/g' find include/ src/ | grep ".(c|h)$"`

@dcousens I'll use that if I need to redo it :)

Rebased.

ACK without reading the code ("only-tested ACK?"); but I ran the tests binary and benchmarks on 512 different ./configure setups with no problems.

Rebased.

As suggested by @rustyrussell: just drop the _t instead of replacing by _type.

ACK


Use MethodHandler instead of reflective defineClass

This PR fixes #2810
Since Java 16 reflective access to ClassLoader.defineClass is no longer permitted. The recommended solution is to use MethodHandles.lookup().defineClass which is useless here because it is limited to classes in the same package. Fortunately the relvant code gets transplanted into a ClassLoader and we can call the parent method using a MethodHandle.

I wonder if we're better off making an inner class with the 'normal' (non-reflective) code. I'll look at it in a bit.

@rzwitserloot The class is limited to Java 4, that's why I used reflection.

.. and involving inner classes in order to avoid classload errors goes exactly against the grain of what transplant is attempting to accomplish. Maybe we can improve on the reflection access but for now using reflection to do this seems like the right strategy.

It would be great if there would be a way to just write the call to the private/protected method directly without reflection. For example we add a protected static Class defineClass in EclipseLoaderTransplants and if we call transplant the patcher detects that and replaces the static call with an normal method invocation.


Filter out cloud flare origin cert errors

Super spammy and irrelevant
WRN [Caddy] stapling OCSP error="no OCSP stapling for [cloudflare origin certificate *.derg.social derg.social]: no URL to issuing certificate" logger=tls

Resolved!


Moar fonts

From #22
Add more bitmap fonts:

~A 24-30px font~ Can't find a pixel bitmap. Something to add in the future with a better font story
[ ] 6x12
[ ] 8x16
[ ] Number-only versions of the above fonts

I'll be making a PR with 6x12, 8x8, 8x12 and 8x16 soon, but I'm having an issue with wrapping text on the taller fonts if a string is longer than the width of the display. I can't see what's wrong, it should work for arbitrary font heights. Any advice?
Thanks :)

I am wondering if we can use some of these fonts from u8g2. A brief look at the repo and it seems they are using a tool to convert ttf's to bdf format. Haven't looked to see what they do after that but I assume there is another conversion step to get raw bytes. If we could figure out what they are doing we have a very good possibility of supporting a lot more fonts.

I've had a look at u8g2 also. The BDF format is a bit odd, but easy enough to work with I think. I started working on the embedded-graphics project a while back, which aims to take a BDF file and convert it into a bitmap for use with embedded-graphics, but I haven't worked on it recently.
I'm not sure I like the idea of parsing BDFs at runtime, particularly on small micros. Perhaps a proc macro would be a good way to go? Either way, the ability to use the fonts provided by u8g2 in some way would be a huge enhancement to this crate.

I'm not sure I like the idea of parsing BDFs at runtime, particularly on small micros

So it looks like they convert bdf to there own format, you can find the parser here it looks like they just stick some info about the fonts at the beginning of the font, then at run time load that information into a struct.
I think there are two paths that we could go down, either try and mimic u8g2 parsing exactly or think of a better way to do it in Rust. The benefit of replicating u8g2 is that we can extract the fonts from here easily. The benefit of doing it from scratch in Rust is that there is almost certainly a zero cost solution, like you said with proc_macro's or some otherway.
What do you think?

The benefit of replicating u8g2 is that we can extract the fonts from here easily.

They also have a pile of BDF fonts here (and a bunch of tooling for them in the parent directory) which might be a better way to go as the font data is decoupled from a language, but still in a pretty widely supported format. It's then possible to leverage existing TTF-to-BDF (and other) tooling both in u8g2 and elsewhere, whilst having the freedom to post-process these bitmaps into something more optimised for embedded Rust. It would be great to have an all-Rust font pipeline for embedded-graphics in the future, but keeping compatibility with at least some of what u8g2 does/can do would be a good idea for the medium term I think.
I started a BDF parser in Rust here a while ago but haven't touched it in a while. I had in mind it would become part a BDF-to-embedded-graphics pipeline, where anything upstream from the BDF is handled by something else, maybe replaced by more Rust tooling in the future :smirk:. It's more work than writing some wrappers around the pre-compiled C you link to, but I think it's a better solution long term. Could this work?

I had in mind it would become part a BDF-to-embedded-graphics pipeline, where anything upstream from the BDF is handled by something else, maybe replaced by more Rust tooling in the future 😏

I agree, a Rust tool would be much nicer. What do you envision the BDF being converted to that embedded-graphics can understand?  Correct me if I am wrong, but currently the fonts are just bitmaps and embedded-graphics calculates the offset for each character. Perhaps a bdf-to-bitmap-glyph-map tool would work, then embedded-graphics wouldn't have to change at all. Are there any limitations that you know of in the current font system?

That's how it works, yeah. Either 1- or 8-bpp (haven't looked at the code in a while). I doubt it would be difficult to write a converter. My only concern is with non-ASCII characters and how large those offsets might make the image, but it'd be a good way to start using all the fonts available in u8g2.

My only concern is with non-ASCII characters and how large those offsets might make the image, but it'd be a good way to start using all the fonts available in u8g2.

It might be better to offer 'pages' of the font so that fonts with more characters than ascii don't end up being huge. Are you thinking about supporting unicode glyphs aswell?

Pages could work. I started writing a no-std TGA parser with run length encoding support which should be pretty efficient for the monochrome fonts in e-g. I like the idea of using an image format that's viewable/editable directly in a lot of software, but we'll have to see what the performance and size cost of using RLE TGAs is.

Are you thinking about supporting unicode glyphs aswell?

I'm not sure what you mean. Things like joining characters and emojis, et al, or simpler things like character sets from different languages? The latter is pretty important, so I'd like to support that if possible.
Right now, the problem is getting fonts into emedded-graphics, not necessarily what they contain or how they're stored - those problems can be solved later with pages, TGA, whatever. If I have some time (help always welcome!), I'll look into what it'd take to get u8g2 fonts into embedded-graphics with as much reuse of existing tooling as possible. The end goal is to have a complete Rust pipeline, but something is needed to just get off the ground first. u8g2 has a great selection of fonts, so let's leverage that in as lazy way as possible ;)
I'm closing this issue in favour of #65 for a more targetted discussion. Thanks to all for the feedback!


Add quiet option

Which leaves basically no output, only progress bar if -p is specified.

Or maybe a -v option, because quiet should be completely silent (curl, wget, grep do that) but it would make no sense for podcast-dl?

I will implement if anyone asks for it and have a good reason.


Balanced is shutting down in 90 days

http://blog.balancedpayments.com/shutting-down

We started building a payments service for marketplaces in 2011. We were shocked with the state of payments at the time, and the pains a marketplace had to go through. Despite the many challenges in the industry, we’re proud of how much we’ve been able to help marketplaces thrive over the last four years.

Unfortunately, we haven’t been able to reach the escape velocity necessary to be a large, innovative, independent player in the payments space and have decided not to continue building Balanced.

It’s important to us to identify a graceful transition for our customers, employees and investors – and honor our existing agreements. To that end, we reached out to Stripe and have been working with them to provide a smooth path forward for our customers. We respect how Stripe has been able to innovate, grow, and become the best solution for marketplaces. Stripe has agreed to honor our existing pricing agreements and work closely with us to seamlessly migrate card, bank account, and seller identity data.

Our full API and dashboard will be available over the next 90 days (until June 11, 2015), and support for issuing refunds, querying transactions, and fighting chargebacks will continue for the next nine months (until October 9, 2015).

We realize this is sudden and we’re sorry for any inconvenience this causes. The full Balanced team will stay on for the 90-day migration period and a portion of the team will continue beyond then to make sure we’re able to provide you with the level of support you need. We appreciate you working with us and want to do everything we can to minimize the impact on your business.

To learn more about the migration, what it means to you, and the steps required to make the switch, go to balancedpayments.com/stripe. You’ll be able to sign into your dashboard and begin the process to migrate your data to Stripe.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/9533584-balanced-is-shutting-down-in-90-days?utm_campaign=plugin&utm_content=tracker%2F85909&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F85909&utm_medium=issues&utm_source=github).

Migration instructions: https://www.balancedpayments.com/stripe
Hacker News: https://news.ycombinator.com/item?id=9200017

Shit.

Well, then.

Is it even possible for Stripe to support us? Trying to figure that out currently.

It seems like the answer is yes. The differences being invoicing:

Balanced and Stripe invoice for fees differently. While Balanced invoices you for fees directly from your bank account at the end of each business day, Stripe deducts the fee from each transaction. If your pricing is 2.9% + 30¢ and you perform a $100 charge, Balanced would add $100 to your escrow and invoice you for the $3.20 fee. Stripe instead will add $96.80 ($100 - $3.20) to your Stripe balance, and not issue a separate invoice.

And ACH transfers:

Send transfers for 25¢ each. Transfers to your own bank account are always free.

And underwriting:

Stripe requires name and DOB for all customers before a payout is issued. Stripe may also ask for a physical address and the last 4 digits of the customer's social security number as the seller's volume increases. The verification works similarly to how it did with Balanced—except Stripe supports uploading a photo ID when the seller's information cannot be automatically verified, which will allow you to onboard more sellers more quickly.

Since we don't have the name, email address, or DOB of the typical Gratipay user, that last point could cause quite a bit of pain.

I've added the dates to the calendar.

Created the milestone https://github.com/gratipay/gratipay.com/milestones/Balanced shutdown for this and related issues.

Is it even possible for Stripe to support us?

We're going to hit one of the problems we had with Transpay: for international payouts they want to know the identity of the sender, but they don't allow multiple senders, and typically the money paid out from Gratipay comes from multiple patrons.

https://stripe.com/docs/connect/special-case-transfers

For compliance reasons, the vast majority of money moving around must be directly linked to an incoming charge

IRC #stripe

Yeah, this is pretty risky for us. :-(

Yeah, this is pretty risky for us. :-(

For now I think we can use the deprecated US-only API (similar to Balanced), but I think we should contact Stripe, explain our situation and ask them if there is a way for us to make international payments without linking each Transfer to a specific Charge. It's not that we don't know where the money comes from, it's just that it usually comes from multiple charges.

the deprecated US-only API (similar to Balanced)

What about the beta managed accounts feature?

What about the beta managed accounts feature?

Sounds like that might be new? From Matin in bcc to private email:

Hi everyone,

Over the last two weeks our customers have migrated over a million cards and a hundred-thousand bank accounts to Stripe. We're working hard on simplifying the process for you, and I'm sending you this email to give you a few updates.

Pricing

Stripe will continue to honor your existing pricing for charging cards and payouts. The 0.5% managed account pricing announced by Stripe a week ago is for new Stripe customers, but Balanced customers will keep their 25¢ payouts pricing.
Stripe's pricing for ACH debits for all Balanced customers is 25¢ / transaction. For most of you, that's less than what you pay today. :-)

Stripe Connect
Last week, Stripe launched Stripe Connect (https://stripe.com/connect), which has been entirely rebuilt to meet the specific needs and workflows of marketplaces. With its new functionality, Stripe Connect simplifies the transition for you further. Here are a few things you should know about Connect:

Customers on Balanced are migrated to Customers on Stripe.
Customers on Balanced that have received a payout are also migrated to Managed Accounts (Stripe's terminology for seller) on Stripe without requiring additional verification. As a heads up, at some point Stripe will want to verify your migrated sellers who do not already have name, address, DOB, and SSN—both so they can send 1099Ks and to meet compliance requirements. Stripe will reach out well in advance of any requirements and will work with you on gathering this information.
Stripe Connect has the concept of Managed and Standalone Accounts. Managed Accounts are the white-labeled version (just like Balanced)—allowing you to keep the same seller signup flow.
We've created a full migration guide to go into more detail: https://balancedpayments.com/stripe/migration-guide

ACH Debits
Stripe has an ACH Debits solution in private beta. Here are a few things you should know about Stripe's ACH Debit solution:

Going through the Balanced data migration process automatically enters you into the private beta!
If you signed up for Stripe directly, you can email<EMAIL_ADDRESS>to give you access to the private beta.
Integration documentation: https://stripe.com/docs/guides/ach-beta

Improvements on the data migration

There have been several performance enhancements to make sure your data is migrated faster.
Originally, only verified / underwritten customers on Balanced were migrated on Stripe as Accounts. We now create an Account on Stripe for any customer that has ever received a payout.
There is now a button in the Balanced dashboard to download a CSV file that shows the mapping between Balanced ID's and Stripe ID's

Misc

There are a few other questions we've seen that I wanted to cover in this email. Most of these questions are addressed in our FAQ, which we actively update: https://www.balancedpayments.com/stripe/faq

Stripe gives you the ability control when a buyer is charged and a seller is paid. Balanced called this functionality "escrow". More detail: https://www.balancedpayments.com/stripe/faq#escrow-functionality
We've received a lot of questions about the ability to preload / top up your balance. Stripe provides similar functionality: you have the ability to keep proceeds from prior transactions in your Stripe account balance to subsidize or provide future credits to sellers. Stripe will also provide a one time preload when you start. You can contact<EMAIL_ADDRESS>to perform the initial funding of your balance.
Balanced and Stripe are both working hard on providing you support during the migration.

If you have questions about the data migration and differences between Balanced and Stripe, please email<EMAIL_ADDRESS>If you have Stripe-specific questions like international support and different payment methods, please head over to https://support.stripe.com/email.
If you have questions on the technical migration, you can contact Balanced on #balanced and Stripe on #stripe on Freenode (IRC).

Feel free to also email me directly at<EMAIL_ADDRESS>
Best,
Matin

What about the beta managed accounts feature?
Sounds like that might be new? From Matin in bcc to private email:

The same problem, @whit537 - https://github.com/gratipay/gratipay.com/issues/3245#issuecomment-86093590

For compliance reasons, the vast majority of money moving around must be directly linked to an incoming charge (either by having been created on the connected account or via use of the destination parameter).

@rohitpaulk Gotcha, seeing now that you mentioned managed accounts in IRC. Hrm ...

It's not that we don't know where the money comes from

Do we know where the money comes from? #3289 :-(

Sent to<EMAIL_ADDRESS>
Greetings!

Balanced customer here, evaluating our options. We are a marketplace for recurring (weekly) gift tips and voluntary payments:

https://gratipay.com/

We specialize in micropayments: we charge Alice $10 per week and split that up between 10 recipients, who may be friends or colleagues she's tipping, or pay-what-you-want businesses she's supporting. The initial feedback we're getting in IRC is that this would be a special case for Stripe to support.

Therefore, I'm writing to start a conversation about Stripe underwriting us. Quick snapshot of our business:

~3,000 active users
~4,750 charges/mo
~800 payouts/mo
~$40,000/mo total volume
~$10 avg charge
~$40 avg payout

Two further initial points:

Our chargeback rate is quite low: 0.016% (9 / 57,138) over three years.
Stripe has been a customer of ours. :-)

Are you willing to underwrite us?

chad

Chad Whitacre, Founder, Gratipay
<EMAIL_ADDRESS>+1-412-925-4220 (cell)

https://twitter.com/whit537/status/583358661168406529

Do we know where the money comes from? #3289 :-(

I've already answered that in https://github.com/gratipay/gratipay.com/issues/3289#issuecomment-86484389.

I've already answered that in #3289 (comment).

Thanks.

We're looking into it and will get back to you shortly.

https://twitter.com/stripe/status/583714168542486528

Stripe sales in private email:

I'm digging into this now: you're right that this is a special case that we haven't supported thus far. I'd like to have a couple of discussions internally before I give you a solid yes or no, but will let you know ASAP. Two questions for you:

Are your bank payouts US-only right now?
I see you're syndicating everything to Github - would it be easier if I move the conversation there? I of course would not reveal any personal info, but it sounds like it would save you some copy/pasting.

My reply:

Thanks for getting back to me, Brian. Short answer: yes, our bank payouts are US-only right now. Longer answer: we have a lot of pressure to support first-class non-US payouts―it's our top issue―and we currently use PayPal and to a lesser extent bitcoin as bandaids.

And yes, discussing on GitHub would be wonderful, thanks! :-)

I'm the Brian on the private email, moving the conversation here. Will update once I have more information on our ability to support Gratipay's model.

!m @bkrausz :-)

Sorry for the delay responding here: we're working to try and find a way that Gratipay can work within our current regulatory framework. I will have an answer for you tomorrow.
One question beforehand: do you have an idea of what % of payments are paid out directly (i.e. credit card charge to bank account) vs. effectively balance transfers?

/me starts writing a script to compute that

Result:
Direct payments from a credit card to a bank account:

count
sum

43
770.00

Out of all credit card charges:

status
count
sum

succeeded
448
7140.15

failed
648
3086.89

Data from last week's payday, amounts in US dollars of course.

@Changaco Could you post the script you came up with? Strictly speaking, we don't have "[d]irect payments from a credit card to a bank account." I can guess how you interpreted that for our case, but seeing the script would clarify.
Percentage-wise we're looking at 10% if we only count successful charges, or 4% if we take all charges as the base.

@whit537 https://gist.github.com/Changaco/35eaab12b556da04c00d

Unfortunately with Gratipay's current model we would be unable to support them on Stripe.
The crux of the problem is the stored value: holding funds in a balance that can then be redistributed, in our opinion, qualifies as money transmission, which we cannot support. There are other compounding factors that would make it hard to reason around this property, for example the lack of a concrete product or service being provided.
I'm sorry for this outcome: there was a fair bit of discussion internally, and we tried to work out a framework in which we could support Gratipay, and at least for 2015 there is no regulatory footing under which we can do so.

Thanks for trying, @bkrausz. I've dug up the private email conversation I had with Stripe the last time this happened, back in 2012, because I seemed to remember something about a volume threshold above which our model would be a problem. I agreed back then not to publicly discuss the details (see public notes on https://github.com/gratipay/gratipay.com/issues/67), but the tl;dr is that Gratipay is well above that threshold now.
I've reticketed getting a money transmitter license as #3321.
Best wishes, Stripe. :-)


Datasource default schema

Sorry if this is the wrong place to state this - but really needing some advice.
Actually, I don't know, if it's posible make use of a different database schema, for example on SQL Server 'dbo', and we need select another default schema.
For example: org.quartz.dataSource.NAME.schema=OTHER
Like jpa property:  spring.jpa.properties.hibernate.default_schema
I would appreciate knowing if there is any way, or if it is possible to add it in code and make use of it.
Thank you

Maybe something i can look at in my clone project. I looked into the JobStoreSupport class and it references table prefix property. I dont know however how to configure prefix, i just saw the support in the code. Prefix means in effect the same as schema. You can Just add a dot at the end.

As i have tried to say along time now. This project is dead. You cannot expect anyone to fix anything in this repo unless the original developers give the repo away. Which i highly doubt.
I cant just rip off their docs blatantly. But what i can do in my now ready to use clone is to add a wiki page with tricks like these. And point to the official docs for more info.

This issue was moved to OpenQuartz/quartz-scheduler#6

Hi, this is already mentioned in the doc here: http://www.quartz-scheduler.org/documentation/quartz-2.2.x/configuration/ConfigJobStoreTX.html
See "org.quartz.jobStore.tablePrefix"

Close as not an issue


Can't add Bixolon SPR 150

Hi,
I want to add Bixolon SPR 150 thermal printer. Output UNIX command to get product ID and vendor ID is:
Product ID: 0x001a   Vendor ID: 0x1504
After that I converted hexadecimal to decimal and inserted to manifest.json. This is results of Product ID and Vendor ID after conversion:
Product ID:26   Vendor ID: 5380
Problem is that extension doesn't recognize printer. Can you tell me can I add this printer?

The steps you are following are correct.
Can you confirm that you removed & re-installed the app after editing the manifest?

I deleted and reinstalled extension and it still can't find printer. I googled a bit and I noticed that this type of printer is not supported via google chrome usb api


Error Compiling from Source with GPU on MacOS

🐛 Bug
Got the following error when build from source with GPU on MacOS
torchvision/csrc/ops/cuda/deform_conv2d_kernel.cu(1210): error: expression must have a constant value
To Reproduce
Steps to reproduce the behavior:

Use Mac GPU machine
Build the latest PyTorch from source
Follow the instruction to build torchvision from source

MACOSX_DEPLOYMENT_TARGET=10.9 CC=clang CXX=clang++ python setup.py install
Expected behavior
FAILED: /Users/hangzhang/git/vision/build/temp.macosx-10.7-x86_64-3.7/Users/hangzhang/git/vision/torchvision/csrc/ops/cuda/deform_conv2d_kernel.o
/usr/local/cuda/bin/nvcc  -DWITH_CUDA -I/Users/hangzhang/git/vision/torchvision/csrc -I/Users/hangzhang/anaconda3/lib/python3.7/site-packages/torch/include -I/Users/hangzhang/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/Users/hangzhang/anaconda3/lib/python3.7/site-packages/torch/include/TH -I/Users/hangzhang/anaconda3/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/Users/hangzhang/anaconda3/include/python3.7m -c -c /Users/hangzhang/git/vision/torchvision/csrc/ops/cuda/deform_conv2d_kernel.cu -o /Users/hangzhang/git/vision/build/temp.macosx-10.7-x86_64-3.7/Users/hangzhang/git/vision/torchvision/csrc/ops/cuda/deform_conv2d_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_clang"' '-DPYBIND11_STDLIB="_libcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1002"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -ccbin clang -std=c++14
/Users/hangzhang/anaconda3/lib/python3.7/site-packages/torch/include/c10/util/BFloat16.h(57): warning: calling a __host__ function from a __host__ __device__ function is not allowed

/Users/hangzhang/git/vision/torchvision/csrc/ops/cuda/deform_conv2d_kernel.cu(1210): error: expression must have a constant value
/Users/hangzhang/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/op_registration/op_whitelist.h(62): note: cannot call non-constexpr function "__builtin_expect" (declared implicitly)

/Users/hangzhang/git/vision/torchvision/csrc/ops/cuda/deform_conv2d_kernel.cu(1209): error: more than one instance of overloaded function "torch::Library::impl" matches the argument list:
            function template "torch::Library &torch::Library::impl(torch::detail::SelectiveStr<false>, Func &&) &"
            function template "torch::Library &torch::Library::impl(torch::detail::SelectiveStr<true>, Func &&) &"
            argument types are: (torch::detail::SelectiveStr<<error-constant>>, c10::CompileTimeFunctionPointer<std::__1::remove_pointer_t<std::__1::remove_reference_t<at::Tensor (const at::Tensor &, const at::Tensor &, const at::Tensor &, const at::Tensor &, const at::Tensor &, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, bool)>>, vision::ops::<unnamed>::deform_conv2d_forward_kernel>)
            object type is: torch::Library

/Users/hangzhang/git/vision/torchvision/csrc/ops/cuda/deform_conv2d_kernel.cu(1213): error: expression must have a constant value
/Users/hangzhang/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/op_registration/op_whitelist.h(62): note: cannot call non-constexpr function "__builtin_expect" (declared implicitly)

/Users/hangzhang/git/vision/torchvision/csrc/ops/cuda/deform_conv2d_kernel.cu(1212): error: more than one instance of overloaded function "torch::Library::impl" matches the argument list:
            function template "torch::Library &torch::Library::impl(torch::detail::SelectiveStr<false>, Func &&) &"
            function template "torch::Library &torch::Library::impl(torch::detail::SelectiveStr<true>, Func &&) &"
            argument types are: (torch::detail::SelectiveStr<<error-constant>>, c10::CompileTimeFunctionPointer<std::__1::remove_pointer_t<std::__1::remove_reference_t<std::__1::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor> (const at::Tensor &, const at::Tensor &, const at::Tensor &, const at::Tensor &, const at::Tensor &, const at::Tensor &, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, int64_t, bool)>>, vision::ops::<unnamed>::deform_conv2d_backward_kernel>)
            object type is: torch::Library

Environment
Please copy and paste the output from our
environment collection script
(or fill out the checklist below manually).
You can get the script and run it with:
wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py

Collecting environment information...
PyTorch version: 1.8.0a0+eaf5ca0
Is debug build: False
CUDA used to build PyTorch: 10.1
ROCM used to build PyTorch: N/A
OS: macOS 10.13.6 (x86_64)
GCC version: Could not collect
Clang version: Could not collect
CMake version: version 3.14.0
Python version: 3.7 (64-bit runtime)
Is CUDA available: True
CUDA runtime version: 10.1.105
GPU models and configuration: TITAN Xp
Nvidia driver version: 1.1.0
cuDNN version: Probably one of the following:
/usr/local/cuda/lib/libcudnn.7.dylib
/usr/local/cuda/lib/libcudnn.dylib
/usr/local/cuda/lib/libcudnn_static.a
HIP runtime version: N/A
MIOpen runtime version: N/A
Versions of relevant libraries:
[pip3] autotorch==0.0.2
[pip3] numpy==1.16.2
[pip3] numpydoc==1.1.0
[pip3] torch==1.8.0a0+unknown
[pip3] torch-encoding==1.2.2b20210127
[conda] autotorch                 0.0.2                     dev_0
[conda] blas                      1.0                         mkl
[conda] mkl                       2019.4                      233
[conda] mkl-include               2020.2                      260
[conda] mkl-service               2.3.0            py37hfbe908c_0
[conda] mkl_fft                   1.1.0            py37hc64f4ea_0
[conda] mkl_random                1.1.1            py37h959d312_0
[conda] numpy                     1.15.2                   pypi_0    pypi
[conda] numpy-base                1.16.2           py37h6575580_0
[conda] numpydoc                  1.1.0                      py_0
[conda] torch                     1.4.0a0+7404463          pypi_0    pypi
[conda] torch-encoding            1.2.2b20210127            dev_0

Error still exists in v0.9.0

any solution yet? I also got similar issues when building for ArchLinux, check the complete build log here.


Fix websocket-client library incompatibility

websocket-client dependency have been updated and create conflicts with SocketIO-client.
Error Log:

from socketIO_client import SocketIO
An incompatible websocket library is conflicting with the one we need.
You can remove the incompatible library and install the correct one
by running the following commands:

yes | pip uninstall websocket websocket-client
pip install -U websocket-client
So, just set previous version of websocket-client on setup.py.
It works fine =)

I guess there is no pulling my change, I tried what Travis is doing to get the pull request but there is no change:

git clone --depth=50 https://github.com/invisibleroads/socketIO-client.git invisibleroads/socketIO-client
cd invisibleroads/socketIO-client
git fetch origin +refs/pull/138/merge

but there is no change =/ am I doing bad the pull requests?

commit:
https://github.com/invisibleroads/socketIO-client/pull/138/commits/8d273838bc382da0c8b97dd8dce04d22e0806d46

#139 is the proper fix :)

nice one!

close this? :)

Thanks @cyacarinic.
As per #138, we are leaving the version flexible.

ty!


[googlefirestore] add standard firestore client

Taking over pull #1301 obviating the previous one.
uses standard google-cloud-firestore per recommended on firestore website.
https://firebase.google.com/docs/firestore/quickstart

@busbey anything we can do to help you out with the review?

@busbey anything we can do to help you out with the review?

in general, helping out with reviewing other PRs or testing release candidates makes it easier to get through things.

@busbey is there anything missing on this PR?


App Analytics

It would be interesting to collect anonymous statistics on app usage or at least downloads for example, although I am not sure how much people would be OK with that, so I'd like to get some input on this.

Maybe have it a setting that can be en-/disabled in options.
And to keep better track, maybe generate a unique ID on first launch which then gets sent to TitleDB?

I would think a generated UUID saved in the config file would be plenty, you can add a 'reset tracking id' option that generates a new one if you want, but it's probably not really required.
Here's some Lua stuff on making a random UUID entry, which should be good enough that the chance of a conflict is basically nil.
https://github.com/Tieske/uuid/

I haven't tried it, but it should be possible to implement in the query by just adding it to the URL that the request is being made against, like https://api.titledb.com/v0/?device=

I made this, maybe take a look at it?
dd27a1a3a1ef20c0ee7395ca8aacd910323c3274

It looks like it should work, have you tested it against the production server yet? I don't see it logged on the server anywhere, maybe Apache is stripping the post query from the log... I'll look into it further.

Actually. If you have tested this, since it's not logged you'd have to move it into the JSON list command. You can just name it "uuid" to keep things simple. Put it at the top level equal with the "action" part.
This whole API interface is going to be redone in the next update, and I'll have a much better way to handle this with cookies/auth tokens. For the moment, everything in the json post is logged for debugging, so I can parse an install count out of that right now.

Well, I did send applist requests with Homebr3w
How about I send it as both GET and POST parameter so we can use whatever both?

Alright, I've done the thing that sends the UUID as POST as well now and send a few test requests

Alright, that looks good... It should be able to give some much better stats about how many people are using our stuff.

If you want to append it to the GET urls for /proxy/ like how we'd tried first, that would let us identify things like installs per client as well...

I am appending them to the URL already as homebrewUUID I think?

Maybe I am not escaping correctly, is there any special GET parameter escaping I have to do for UUIDs?

I'm not sure... the proxy URL will work like this, I just tested it manually from a browser and it fetches and logs as expected.
http://api.titledb.com/v0/proxy/0004000000269500?homebr3wUUID=893d92da-bd7d-4ee3-ce36-d4430dadb954

Yeah the URL works, I know. I am asking if I need to encode the UUID because I wasn't sure if dashes are allowed in GET parameters without encoding. But it seems they are so it should work

Yeah, it looks like it will be good... The only thing I'd think could be different is just to call it 'uuid' instead of including the app name with it. We already have name/version from the User-Agent header.

the reason I went with homebr3wUUID is to keep the property unique. The thing is appended to all Network requests and not only the ones calling TitleDB. I don't want to potentially mess with others sites, if you know what I mean.

Do you make direct requests anywhere other than titledb? As a URL parameter, it would be dropped by the redirection from titledb to the final host.

I call Github as well, yeah. And if in the future I am calling other places they would also get the parameter. I am trying to keep this as future proof as I can

Alright, no problem with how it is now then. The whole of the /v0/ api will be replaced at some point fairly soon with the /v1/ that moves to being a proper REST API and can tie a device to a login directly without these kinds of hacks to get statistics. And don't worry, /v0/ will be emulated using the new backend, so things won't break for existing apps even if they take a while to implement the new methods.

Does that mean you are required to log in to use the system from v1? How do I retrieve a token in the first place?

lpp-3ds will need to be upgraded to handle cookies, but it should be mostly seamless from your end. I'm developing the backend using best practices for the web, and I'll deal with getting proper client support on the 3DS for any additional features that are missing after I'm done.

Alright, that is fair enough. As long as the /v0/ api stays around until then it's OK I think. I already thought I'd had to request an "API Key" kind of deal of some sort from your rest api to use it

Right now there's extended attributes that are being requested with the POST url, but no actions use authentication/authorization for what they're allowed to do. This will remain the same in /v1/ for clients that aren't logged in, however if they are authenticated there will also be some extended ability to add/edit entires to provide info that can't be derived from the CIA itself. Being logged in wont be a requirement for apps that just want to browse/install things.

Ah, I see. Fair enough then.

I didn't get any more feedback so I am just going to add the analytics for the next build of Homebr3w. Commit should be up in a bit.


I met Problem when running preprocess_libri.py

FileNotFoundError: [Errno 2] No such file or directory: 'spm_train': 'spm_train'
I don't konw how to deal with this.There doesn't exist such file in current directory.

Same here.

Same here.

Do you find the solution?

@qycxzhangyi @zxybazh I believe this is because sentencepiece needs to be compiled from C++ source using bazel and not as a PIP package. Which is unfortunate, because I wasn't able to install it correctly, see this issue.
Have you found a way to install and run correctly?

preprocess_libri.py now works, by installing an older commit of sentencepiece

Hello,
When I am running the code, I got the following error. I have installed the sentencepiece package (pip install sentencepiece) but it doesn't work. Does it work for you? or have you found anything else useful?

As I wrote, you need to install and compile sentencepiece from source, not with pip. See my comment above, that worked for me.

@Kabur Thank you, it works now.

@Kabur I referenced the method you mentioned above but I meet a new problem.
FileNotFoundError: [Errno 2] No such file or directory: './libri_fbank80_subword5000/bpe/bpe.vocab'
It did not generate bpe.vocab file .Do you know how to solve this problem?

@Kabur I referenced the method you mentioned above but I meet a new problem.
FileNotFoundError: [Errno 2] No such file or directory: './libri_fbank80_subword5000/bpe/bpe.vocab'
It did not generate bpe.vocab file .Do you know how to solve this problem?
add
--model_type=bpe
to call of spm_train

@Kabur I referenced the method you mentioned above but I meet a new problem.
FileNotFoundError: [Errno 2] No such file or directory: './libri_fbank80_subword5000/bpe/bpe.vocab'
It did not generate bpe.vocab file .Do you know how to solve this problem?
add
--model_type=bpe
to call of spm_train

Can you please be more explicit on where I should put this flag --model_type=bpe ?

I add --model_type=bpe , but I still got the same error:
FileNotFoundError: [Errno 2] No such file or directory:
'./libri_fbank80_subword5000/bpe/bpe.vocab'

I added --model_type=bpe , but I still got the same error:
FileNotFoundError: [Errno 2] No such file or directory:
'./libri_fbank80_subword5000/bpe/bpe.vocab'

Did you do take a look at my pull request? If you did the same as my pull request, you should not have this problem.

Found this error. But it works now when I compiled the sentencepiece from source. Don't do a pip install sentencepiece and this should work or an error
(pytorch_p36) $~/code/End-to-end-ASR-Pytorch/data$ python3 preprocess_libri.py --data_path ~/data/speech/LibriSpeech/

Pretrain BPE for subword unit.
Data sets :
         0 : train-clean-100
         1 : train-clean-360
         2 : train-other-500
         3 : dev-clean
         4 : dev-other
         5 : test-clean
         6 : test-other
Please enter the index for training sets for BPE (seperate w/ space): 0 3 5
Traceback (most recent call last):
  File "preprocess_libri.py", line 73, in <module>
    bpe_tr = [sets[int(t)] for t in bpe_tr.split(' ')]
  File "preprocess_libri.py", line 73, in <listcomp>
    bpe_tr = [sets[int(t)] for t in bpe_tr.split(' ')]
ValueError: invalid literal for int() with base 10: ''

Found this error. But it works now when I compiled the sentencepiece from source. Don't do a pip install sentencepiece and this should work or an error
(pytorch_p36) $~/code/End-to-end-ASR-Pytorch/data$ python3 preprocess_libri.py --data_path ~/data/speech/LibriSpeech/

Pretrain BPE for subword unit.
Data sets :
         0 : train-clean-100
         1 : train-clean-360
         2 : train-other-500
         3 : dev-clean
         4 : dev-other
         5 : test-clean
         6 : test-other
Please enter the index for training sets for BPE (seperate w/ space): 0 3 5
Traceback (most recent call last):
  File "preprocess_libri.py", line 73, in <module>
    bpe_tr = [sets[int(t)] for t in bpe_tr.split(' ')]
  File "preprocess_libri.py", line 73, in <listcomp>
    bpe_tr = [sets[int(t)] for t in bpe_tr.split(' ')]
ValueError: invalid literal for int() with base 10: ''

oh yes, forgot to mention I also compiled from source.

Ok so for this Traceback (most recent call last):   File "preprocess_libri.py", line 73, in <module>     bpe_tr = [sets[int(t)] for t in bpe_tr.split(' ')]   File "preprocess_libri.py", line 73, in <listcomp>     bpe_tr = [sets[int(t)] for t in bpe_tr.split(' ')] ValueError: invalid literal for int() with base 10: '' it will happen nevertheless if you haven't finished preprocessing. So it's not because of an error in the script.


Publish v0.0.1 template to Azure Quickstart Templates

⚠ Problem
Most people won't discover the toolkit from GitHub alone.
🛠 Solution
Publish the toolkit templates to Azure Quickstart Templates.
### ⛔ Blocking issues
- [ ] #63
- [ ] #64

ℹ Additional context
See also: https://github.com/Azure/azure-quickstart-templates/blob/master/1-CONTRIBUTION-GUIDE/README.md#contribution-guide
🙋♀ Ask for the community

We could use your help:

Please vote this issue up (👍) to prioritize it.
Leave comments to help us solidify the vision.

PR pending approval: https://github.com/Azure/azure-quickstart-templates/pull/13383


yarn dev locally doesn't work when using wrong API key type

Running yarn dev locally and then accessing localhost:3000 endlessly spins.
If you comment out the following code in _document.tsx:
// if (!newrelic.agent.collector.isConnected()) {
//   await new Promise((resolve) => {
//     newrelic.agent.on("connected", resolve);
//   });
// }

It loads ok, but <head> contains:
<script type="text/javascript"><!-- NREUM: (4) --></script>
How is this supposed to work?

Turns out, using INGEST - BROWSER API key never even loads the page. It just hangs. If you replace that with INGEST - LICENSE, that works ok. Would be great to handle handshake with a timeout and by surfacing a useful error message.

Yes, that's correct, if New Relic errors out (bad config) then the project won't kick off the front end.
Described in this issue
Let me think of the best way of handling it.

As a user, the ideal scenario would be to see this error somewhere in the console. All I could see in the source code was <script><!--- NREUM: (4) ---></script> (or v similar syntax). It's only when I started to dig through the source code (node_modules/newrelic/api.js) I found this:
const RUM_ISSUES = [
  'NREUM: no browser monitoring headers generated; disabled',
  'NREUM: transaction ignored while generating browser monitoring headers',
  'NREUM: config.browser_monitoring missing, something is probably wrong',
  'NREUM: browser_monitoring headers need a transaction name',
  'NREUM: browser_monitoring requires valid application_id',
  'NREUM: browser_monitoring requires valid browser_key',
  'NREUM: browser_monitoring requires js_agent_loader script',
  'NREUM: browser_monitoring disabled by browser_monitoring.loader config'
]

Which suggested that NREUM: (4) ===  'NREUM: browser_monitoring requires valid application_id',
This made me think why is it that the error isn't displayed anywhere, e.g. <script><!--- New Relic hasn't loaded due to the following error: browser_monitoring requires valid application_id. See [some link to docs] for how to set this id ---></script>
I then thought, have I missed something from newrelic.js in the root of the project. I thought, I have app_name, which is what the docs have suggested (ie copy node_modules/newrelic/newrelic.js to the root, modify as required).
It was by complete chance that I thought, what if I try an INGEST - LICENSE key instead. When you have the right key, everything works smoothly.
On the back of it, I thought there's some improvements that could be made:

INGEST - BROWSER and INGEST - LICENSE key have different length. Perhaps the most basic way would be to check length and display an error "It appears you're using INGEST - BROWSER key. Make sure you use INGEST - LICENSE key instead. See [some link to docs] for more detail."
Timeout + error on start in the example repo. "Couldn't start the project. This often happens when X key is used. Make sure you use Y key instead."
I didn't know that application_id is set automatically when the correct key is used. So even RUM_ISSUES[4] didn't provide much help. Would be great if each error were to suggest what the user could do to remedy a given problem.
There's some missing types (e.g. window.newrelic complains even though I have @types/newrelic installed)

Nice when you have tools that you can easily integrate. Even when it's multistep. If you can copy/paste some bits and when something doesn't go to plan, you can self-serve, that's the ideal.
Hope this helps 😄

Hi @josephmarkus, thank you for the explanation, that made things much clearer for us.
One question I have is that I thought newrelic.js is only used for node agent config, for browser instruments, how do you load the correct configs for the frontend? (QA or PROD). One problem I am facing right now is that, when I use the newrelicgetBrowserTimingHeader as suggested from the this repo, it's loading a config with a totally application ID, and I am also seeing NREUM: (4) in my script tag unless I do a refresh on the page.


Clean up src/m2z*.py

While you're at it, why not make all files PEP8 compliant? :) This commit isn't necessarily regarding PEP8, of course, but it's along the idea of cleaning up this very old code, and a proper cleaning would mean redoing everything to be compliant. There are additionally other source files that use the equality operator to test against None.
PyCharm does a nice job of showing PEP8 violations and is probably the easiest way to do this. The most notable issue is that the naming style of methods should be lower_case_with_underscore, instead of capwords like someMethodName. PyCharm will refactor method names/usages across the entire project.
Many thanks!

I'll take the time to learn PyCharm's PEP8 support– thanks for pointing that out.


Please add this to the wiki

Andrew
This is very useful.  I suggest that you put it on the wiki, readme or something.
In slack is about to get lost.
Regards,

Thanks for this, I've referenced this in a discussion in #16, if you've got any thoughts on it would be great to hear them there!


Load Lalonde dataset natively with Python

This was copied from wayfair/pylift and uses the information provided on https://users.nber.org/~rdehejia/nswdata2.html
This should fix at least part of the nightly failing tests, such as this one: https://github.com/py-why/dowhy/actions/runs/3301256767/jobs/5446526501#step:7:234.

This should resolve issue #663

Thanks so much for finding this, @petergtz
I think before we merge this in, there's another requirement of the BSD 2-Clause license used by WayFair (https://github.com/wayfair/pylift/blob/master/LICENSE)
We have to include the copyright, the list of conditions at that LICENSE page, and also the disclaimer.  Right now, we only have the copyright in the comments.
A simple way to do this might be do have a Markdown block right above a code section that does only the data loading, and include the rest of the LICENSE in that markdown block?
What do you think?


When TextField is focused the next click only blurs from TextField it doesn't trigger click/press events on other components

If I'm focused in an MKTextField then click/press on another component (MK or react-native) the click only seems to blur the MKTextField it doesn't trigger the click/press on the other component.
In the example below, I'm focused in the MKTextField, I typed "Test" then I click the "CONTINUE" button. You can see the ripple on the button, but I have to click the "CONTINUE" button a second time to get it's onPress event to fire.
 If yes, can you try https://github.com/xinthink/react-native-material-kit/issues/194#issuecomment-239183838

I am and I followed the instructions provided in that issue, but it didn't quite help...unless I'm doing something wrong. If I set breakpoints and walk through each line of code in the onStartShouldSetResponderCapture handler it works, when I let it run realtime without breakpoints it doesn't work; race condition?
I have a page component like this:
render() {
return <ScrollView style={{ backgroundColor: myJAMColors.grey900 }} keyboardShouldPersistTaps={true}>
  <MyContainer />
</ScrollView>;
}

Then MyContainer connects to a component like this:
render() {
  <View onStartShouldSetResponderCapture={(e) => {
    const focusField = TextInput.State.currentlyFocusedField();
      if (focusField != null && e.nativeEvent.target != focusField) {
        dismissKeyboard();
      }
    }}>
        <MKTextField .../>
  </View>
}


Framebuffer incomplete attachment in Safari

var createFBO = require("gl-fbo")
var gl = document.createElement('canvas').getContext('webgl')

createFBO(gl, [512, 512], {preferFloat: true})

Gives
Error: gl-fbo: Framebuffer incomplete attachment

That is one of the reasons why plotly does not plot in iOS https://github.com/plotly/plotly.js/issues/280.
Possibly related to #14.

Ok, seems that iOS just does not allow rendering to floating point textures.

I encounter the same problem when i use gl-particle:
https://github.com/stackgl/gl-particles/blob/master/index.js#L40
this.prev = FBO(gl, [this.shape[0], this.shape[1]], { float: true })
this.curr = FBO(gl, [this.shape[0], this.shape[1]], { float: true })

iOS Safari doesn't support floating point textures because it is a terrible browser.


Log console

Create a collapsible log console.
It should display things like:

Transaction IDs/Links for side transactions, like airdrops, account creation, etc.

So they can be removed from the widgets (too much clutter)

?

This has been implemented as Toasts that appear in the top right side of screen, for Airdrops so far.


Refactor

Refactor the main process related code into its own mod.
Implemented channel with socketpair. The channel can now send anything that implements serialize and deserialize, making it much more flexible. The channel can also send file descriptors across process now. This will be needed when implementing seccomp notify. Without this, we will have to use pidfd_getfd syscall, which only available in kernel > 5.6.

Submitting this PR before seccomp notify change, since this will make the review much easier.

Codecov Report

Merging #388 (bf2b965) into main (5ae2385) will increase coverage by 0.74%.
The diff coverage is 73.97%.

@@            Coverage Diff             @@
##             main     #388      +/-   ##
==========================================
+ Coverage   76.34%   77.08%   +0.74%
==========================================
  Files          52       52
  Lines        8306     8336      +30
==========================================
+ Hits         6341     6426      +85
+ Misses       1965     1910      -55


Add the iommu specification for hardware

Pull Request Checklist

[x]  implement the feature
[x] write the documentation
[x] extend the test coverage
[x] update the specification
[x] adjust plugin docstring
[x] modify the json schema
[x] mention the version
[ ] include a release note

Thanks for your reviews~ I have updated the PR~

Hi, I have updated the PR and add the beaker plugin support. Please help review it. Thank you~

I'm not sure about the 'model' part. In beaker, I don't see a way to filter by (maybe I'm missing something).
While other provisioning methods could theoretically support this going forward, I wouldn't expose it to users if there is no use for it now. We can filter by cpu to at least get the intel/amd/arm.

IIUIC, libvirt and qemu-based plugins, like virtual, can and will make use of this requirement. And I would like to avoid encoding one requirement into another, i.e. using cpu.vendor-name to pick a model of IOMMU. That complicates reasoning about requirements and makes the picture opaque: do they use it to select a CPU, or something else we don’t support yet? It’s happening with hostname quite often.
More discussion in https://github.com/teemtee/tmt/issues/2392

I'm not sure about the 'model' part. In beaker, I don't see a way to filter by (maybe I'm missing something).
While other provisioning methods could theoretically support this going forward, I wouldn't expose it to users if there is no use for it now. We can filter by cpu to at least get the intel/amd/arm.

IIUIC, libvirt and qemu-based plugins, like virtual, can and will make use of this requirement. And I would like to avoid encoding one requirement into another, i.e. using cpu.vendor-name to pick a model of IOMMU. That complicates reasoning about requirements and makes the picture opaque: do they use it to select a CPU, or something else we don’t support yet? It’s happening with hostname quite often.
More discussion in #2392

Ok cool, from the discussion I got the impression it'll be only used by beaker provisioning.

I have updated it as the comments above~ Please help to review it again. Thanks~

Added discuss label - we're still unsure about model-name being used to pick the IOMMU "model". We're considering model, model-name, but also platform, driver, and maybe other ideas. Leaving the PR open for now, we're going to get back to it next week.

This was discussed on the hacking meeting, and we will go with current version.

Just did a quick check with the following provision step config:
provision:
    how: beaker
    hardware:
        iommu:
            is-supported: true

But don't see VIRT_IOMMU mentioned in the Beaker job xml. Have I missed anything? @happz, does it work for you?

Just did a quick check with the following provision step config:
provision:
    how: beaker
    hardware:
        iommu:
            is-supported: true

But don't see VIRT_IOMMU mentioned in the Beaker job xml. Have I missed anything? @happz, does it work for you?

I believe that is cause by the branch being outdated, it's missing this patch: https://github.com/teemtee/tmt/commit/2bef9dd842a4d3971815f4aa912f23223afb0684

/packit build

I believe that is cause by the branch being outdated, it's missing this patch: 2bef9dd

Right, now it works! :+1:

/packit build

/packit build

/packit build


skype usernames

examples:

this is my skype id: {{SKYPE}}
my skype id is {{SKYPE}}
my skype name is {{SKYPE}}
( skype ID: {{SKYPE}} )
contact me on skype {{SKYPE}}
look for me on skype {{SKYPE}} for more information
contact me on skype ({{SKYPE}})
contact me on skype (username: {{SKYPE}})
contact me on skype please {{SKYPE}}
please skype me {{SKYPE}}
please contact me on skype : {{SKYPE}}
you can skype me at "{{SKYPE}}"
{{SKYPE}} on skype
AIM/skype: {{SKYPE}}
skype: {{SKYPE}}
skype > {{SKYPE}}
skype name: {{SKYPE}}
my skype name: {{SKYPE}}
here my skype - {{SKYPE}}
please contact {{NAME}} on skype: \n {{SKYPE}}
skype id-{{SKYPE}}
SkypeID: {{SKYPE}}
I have added you on Skype. My ID is {{SKYPE}}
{{SKYPE}} on skype please add asap

I'm sure there is a good way to do this, perhaps by looking for skype in the text and then searching ±10 words from skype to look for things that are not words but appear like usernames.

Coverage remained the same at 100.0% when pulling b728ccfcdc140b41a13b1f8650317f1498e80049 on skype into b43a5ddd1cda73d097d93bb91a4bd87fa8eab373 on master.

Coverage remained the same at 100.0% when pulling 569b9f6a9f1a3a1fc362f735e65c78a1204797e7 on skype into b43a5ddd1cda73d097d93bb91a4bd87fa8eab373 on master.


analytics.js file path relativeness causing 404

The analytics file path should be absolute instead of relative.
My problem is that I get a 404 requesting the file because the request url is wrong when the actual navigator url isn't the root url.
By the way, it happens using Polymer carbon-route elements.
I think it should be better replacing scripts/analytics.js by /scripts/analytics.js.

Hi, this element is deprecated, use analytics.js in index.html
https://github.com/StartPolymer/progressive-web-app-template/blob/master/index.html#L49


Only English locales present in slugrunner image

The slugrunner image only contains english locales. This also seems to be heroku's behaviour (or at least, it was in the past. That SO post implies this has changed).
I came across this while doing localisation in python. Upon using a non-english locale I received Error: unsupported locale setting.
[Submitting following IRC conversation with `jpg]

The current list of packages is available on the Heroku wiki here: https://gist.github.com/josephglanville/2c0279f5e4938f9446d6
It does now seem to include all the language packs etc.
I wrote a small script to extract the full list of packages in the Cedar-14 stack that should allow us to install everything available in the Heroku environment:
https://gist.github.com/josephglanville/2c0279f5e4938f9446d6

Thanks @josephglanville!


Provide a default Host header when it's missing/empty

RE: https://github.com/Microsoft/ApplicationInsights-aspnetcore/issues/278
HTTP/1.0 requests do not provide Host headers, and HTTP/1.1 requests are required to provide it but it may be empty. This causes failures for components like loggers that want to describe the request with a Uri, or middleware that create absolute links like redirect-to-https. This is a protocol level problem that applies to supported servers.
Proposal: Hosting can provide a default host setting (from config) and apply it whenever the host header is missing or empty. This would happen right when the request is received and before any diagnostics take place:
https://github.com/aspnet/Hosting/blob/9f1e6607dd1b3d15bc6c42146629677c6b455fd0/src/Microsoft.AspNetCore.Hosting/Internal/HostingApplication.cs#L35-L37
Workarounds:

The same logic could be applied via middleware but it wouldn't help these early diagnostic code paths.
All consumers would need to be aware of the possibility of a missing host and provide some fallback logic. For loggers this isn't too bad, they could leave it out or substitute "unspecified", but redirect-to-https would have no default recourse.

As noted in other thread this would fix issues related to using HaProxy and aspnetcore - would like to have a fix sooner rather than later as its a slightly big problem for me right now.
All health checks from HaProxy are failing by default - currently investigating workarounds.. including having haproxy use http/1.1 or disabling logging somehow

@volak you can work around the issue right now by implementing your own IHttpContextFactory and setting the host header same as the above is proposing.

Bringing back to triage

@glennc @shirhatti this feature is more relevant for HTTP/2 where the Host/Authority is optional.


Added setup for command line script.

Set up script which we can add command-line generators / integrations to.

Coverage remained the same at 99.612% when pulling 89b64755dc0f0e6b33e546dadb928b95a74440b6 on undercase:command-line into 91d247a4d8a43c801afc7f47d100c39205751ad0 on GreenVars:master.

No outside dependencies, a command line integration will have to use sys.argv . I will make exceptions for dependencies that are for contributors and in a requirements_dev.txt

I understand, I'll convert to sys.argv.


Finish converting to CSS modules

Having a single huge CSS file hasn't been working so well. Tachyons is cool but sometimes I just need page or component specific CSS without mucking up one huge file.

Done!


Sphinx Desktop - Basic typography fixes

Create a proper typography styles for desktop version, taking medium size as default.

@tomastiminskas For gap color, please use swatch "Input BG 1". In case that swatch is missing, the colors are following:
"Input BG 1"
Dark skin #13181D
Light skin #F2F3F5

@tomastiminskas I have Two minor adjustments:
There is one font adjustment that seems to be missing in this update. Please, check it out whenever you have a chance.

Also, i noticed that profile image is cut off on the right side after size change


Fix Java OOM caused by incorrect state of shouldCapture when exception occurred

This closes https://github.com/NVIDIA/spark-rapids/issues/9829.
Typically, shouldCapture in ShimmedExecutionPlanCaptureCallbackImpl should work as pair of startCapture and getResultsWithTimeout. But it may fail to be restored when exception happens in Gpu run sesssion. In #9829 case, it missed to add a non-GPU operator resulting in an IllegalArgumentException. Then getResultsWithTimeout was failed to be updated.

build


Fixed HTTP gems mock

With http 0.8.0.pre the format changed slightly, this makes it work with both pre-0.8 and post.
cc @ixti @tarcieri

One day I'll remember to open PRs in the right project

:))


No LOINC code for DCISNuclearGrade

Currently we have an NCI term: C18513 | Nuclear grade. CAP's breast cancer panel does not include a term for nuclear grade and a LOINC code for this concept doesn't seem to otherwise exist.
Because nuclear grade is likely a concept that is relevant across several cancers, not just breast cancer,
My suggestion is that we request a new cancer-agnostic term for nuclear grade, specifying the specimen simply as "cancer specimen".
Some modeling changes are necessary to generalize DCISGrade to NuclearGrade.

Reverted to specialized DCISNuclearGrade because DCISNuclearGradeValueSet is directly references DCIS. Will leave concept TBD for now since there's no DCIS-specific code for nuclear grade.


Fix types

Run typecheck or test will generate errors not shown before. Better take some surveys before releasing v1.

lib should have "DOM" inside


preCreateIdentityCallback and preEnableIdentityCallback

Add preCreateIdentityCallback and preEnableIdentityCallback that we use during the onboarding from the JS SDK
Will likely need updates to iOS and Android.

@nplasterer Adding this here since to us it's linked to the onboarding!
Right now the RN SDK the canMessage method is only available on the client instance i.e. after having connected. But during onboarding we check if the current wallet is on XMTP to change the UX, so would be nice to have canMessage accessible directly on the Client class (with parameter for the network)

👍🦺


Pin stricter

@conda-forge-admin please rerender
Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Lets just cleanup the dll in wxwidgets 3.2. This was not cool


Why is the performance over GPU or CPU the same?

from rapidocr_onnxruntime import RapidOCR

rapid_ocr = RapidOCR(use_gpu=True,det_use_cuda=True, rec_use_cuda=True, cls_use_cuda=True,
              det_model_path='ch_PP-OCRv3_det_infer.onnx',
              rec_model_path='en_PP-OCRv3_rec_infer.onnx',
              cls_model_path='ch_ppocr_mobile_v2.0_cls_train.onnx',
              det_thresh=0.1,det_limit_side_len=2800)

I run this code on GPU and on CPU (all parameters related to cuda and gpu set to False) but surprisingly, the time elapsed on both hardwares almost the same, I have CUDA 11.7, ONNX 1.4, and onnxruntime-gpu 1.15. I have no issues with compatibility like I had at the beginning.  Could you please help me out how I can accelerate this code, especially I have a massive number of images reaching 10k?

When ONNXRuntime infers dynamic input and runs on GPU, the inference speed is very slow. You can refer this.
If you have a massive number of images, there have two solutions:

Try rapidocr_openvino
Try PaddleOCR, paddlepaddle-gpu provides excellent support for GPU inference.


[5.2] Cache Command - Option to remove tagged items

To entirely remove the default store:
php artisan cache:clear

Optionally you can set up the store name to be removed:
php artisan cache:clear myFooStore

But, if you would like just remove some tagged items:
php artisan cache:clear --tags=foo

Or items of many tags:
php artisan cache:clear --tags=foo,bar

To my applications this is very useful.

Probably best going to 5.3 IMO.

@GrahamCampbell Are you sure? This works fine on 5.2.

Don't retarget please. It's just a comment for Taylor.

Got it.


Keep getting error when trying to use XcodeSelectiveTesting

Perhaps I misunderstood something in the readme and am not using this correctly, but I've:

added the SPM dependency to Xcode
right-clicked my project
selected the XcodeSelectiveTesting plugin
clicked "Run"

and I'm repeatedly getting this error:
error: Conflicting options '-warnings-as-errors' and '-suppress-warnings' (in target 'SelectiveTestShell' from project 'XcodeSelectiveTesting')
I've searched my entire project for these flags but cannot find them (both in the Xcode GUI and by searching through the whole project folder, starting from root, in terminal), nor do I remember ever setting these flags anywhere.
Am I the only one affected by this?

Hey @ichoosetoaccept , I see it as well with the latest compiler, let me make a hotfix.

@ichoosetoaccept can you give it a try with https://github.com/mikeger/XcodeSelectiveTesting/releases/tag/0.10.2 release?

I'll close this one for the time being, I think the issue is fixed. If not, feel free to re-open 👍

Didn't get to reply in time.. but yes, the issue I had got resolved with this. Thanks!


[BUG][Function] fix case when function return null with abs func…

…tion
Proposed changes
Issue Number: close #9419
Problem Summary:
Describe the overview of changes.
Checklist(Required)

Does it affect the original behavior: (Yes/No/I Don't know)
Has unit tests been added: (Yes/No/No Need)
Has document been added or modified: (Yes/No/No Need)
Does it need to update dependencies: (Yes/No)
Are there any changes that cannot be rolled back: (Yes/No)

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

Please remove the column comment in test case

Please remove the column comment in test case

done


RFC - Split API into multiple projects

Overview
The API project contains the http server. It also includes code required to run protocols, talk to smoothie board, read various robot configs, take pictures, and more.
All the code is packaged and distributed as a library as well as launched as an application.
As we move to FastAPI as a new framework and work to redesign some of our API this is a good time to do some refactoring.
Proposal for changes
Divide API into multiple projects:
1: Opentrons library providing interfaces to Robot.
2: API application which uses Opentrons library to talk to robot
3: Simulator application
Provide improved abstractions in Opentrons library
Make it easier to interact with the robot.
Create wrappers of all hardware resources
nmcli, camera, etc.
I believe this is akin to what @iansolano was thinking as Services
This seems to have been started in hardware_control/modules. Let's keep going and apply this to everything.
Create simulations and/or mocks of all hardware resources
nmcli, camera, etc.
Hide Feature Flags and ARCHITECTURE
API bootstrap or jupyter notebook code should call factory methods to create the appropriate object instances based on running environment.
For example:
Every http handler in server/endpoints/control.py checks a feature flag to determine what kind of object is held in request's com.opentrons.hardware value. This can be abstracted using a fleshed out HardwareAPILike interface.
Simplify configurations
Eliminate command line arguments from API and Hardware Control setup.

Looks good in general, but a few interesting things:

To me the hardware control library is very focused on the motion hardware and modules the robot uses to execute protocols. For things like the nmcli wrapper or the camera, I'd prefer to see them separated from hardware control and be part of either

the application server, or
the update server, with its role changed to a "system server" that handles all the non-protocol-interaction related things: updates, networking, cameras, sounds, etc

I'm not entirely sure that a separate simulator is the best way to go; I like having that tightly coupled with the actual hardware handling, and we have in the back of our head changes like pushing the simulator/real hardware distinction even lower by making a motor controller simulator that interacts with the rest of the system through gcode the same way. I think we should keep the "protocol execution and calibration" stack unified at least for now, comprising

the python protocol API
json protocol API execution
(if we ever separate it) labware and geometry handling and motion planning
the hardware_control module and friends
the legacy robot api
the hooks for saving calibration and executing calibration actions (these actually are pretty minimal - things like making sure we can control the robot outside the context of a protocol)
the command line based frontends for simulation and execution

Regarding your first point, I think that any code that would be imported and used by multiple applications, scripts or via a jupyter notebook should not be in update-server or api.  I could see that updates and networking would not fall into this category, but lights, sound, camera, etc?
👍  on point 2.

Thinking about it more, I agree with you about the multimedia support stuff. We should also probably consider integrating it into both the json and python protocol APIs.

First Steps
Split up code
Create a new sub project in mono repo
It can me named py-opentrons or something else more imaginative.
This would contain everything in api project minus opentrons.server and opentrons.app packages. Almost everything in current api is applicable to building a package vs an application.
Refactor api sub-project
This is the api server application. For the time being both the aiohttp (opentrons.server) and fastapi (opentrons.app) packages will be in this project.
Directory Structure
api
| README.md
| Makefile
| ...
└- tests
|  | __init__.py
|  └- app
└- app
   | __init__.py
   | main.py
   └- aiohttp ( to be deprecated )
   └- fastapi ( move contents one level up when aiohttp is deprecated )

Makefile for API

api will not be packaged for pypi.
It will be an application installed and run as a service (/usr/local/opentrons/api)
target to generate openapi.json from fastapi app

Split Configuration
API configuration for the moment is just a handful of items and they should be moved from command line args and into their own yaml file.

Second Steps
Further divide API and library code
The request handlers in opentrons.server.endpoints contain a good amount of code that should be moved to the opentrons library.
Examples

the move function in control.py should be moved out to the shared library. Interacting with the motion lock is too much intimate knowledge of the hardware for a request handler.
take_picture should call a method in the library rather than invoking ffmpeg.

Move business logic to FastAPI
This ticket #4963

We all agree that this should happen. Created an epic for the project #5009


Microsoft.Rtc.Internal.Media assembly error

I am getting this weird error when i try to run the application.

I am using Windows 10, VS 2017,  Microsoft.Skype.Bots.Media-<IP_ADDRESS>7-alpha, .Net 4.6.

The process hosting a real-time media bot built with the Microsoft.Skype.Bots.Media library must run in 64-bit mode. Furthermore, only the Azure "classic" Cloud Service and Azure Virtual Machine deployment models are supported. For Azure Cloud Service, we recommend the bot runs in an ASP.NET WebAPI-based Worker role.

I am running it locally with Visual Studio and compiling withx64 processor.  Still the same issue.

No, we currently don't have a way to run real-time media bots locally on a developer's machine for testing purposes. The real-time media bot must be deployed in Azure.

Clickbait: Want a quick solution?!
https://stackoverflow.com/a/49425225/3263555

Did anything changed since last year?
Is it possible to run real time media bots locally?

@voicupul, please take a look here


WIP: mail publish

Relates to #66

Codecov Report

Merging #67 (7eaa92c) into main (43a2acb) will decrease coverage by 3.52%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main      #67      +/-   ##
==========================================
- Coverage   63.12%   59.59%   -3.53%
==========================================
  Files          19       20       +1
  Lines        1486     1574      +88
==========================================
  Hits          938      938
- Misses        419      507      +88
  Partials      129      129

Impacted Files
Coverage Δ

cmd/serve.go
0.00% <0.00%> (ø)

server/config.go
100.00% <ø> (ø)

server/server.go
57.08% <0.00%> (-3.16%)
:arrow_down:

server/smtp_sender.go
76.92% <0.00%> (ø)

server/smtp_server.go
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Multiple nodes, NMT problem

Hi,
I'm currently implementing a device (STM32) with multiple nodes (CO_MULTIPLE_OD).
I initialize the 3 nodes using co_config and each node having its own CO, NMT and OD instance.
The 3 nodes appear in the network (NMT Pre-op), but I can only start the last initialized node.
After some digging in the code, I have found out that the object parameter in the CO_NMT_receive function is always the last one passed to CO_CANopenInit and thus not from the node to which the message was sent.
Am I missing something here? Or is this just not supported?

CANopenNode is implemented in object oriented way. So each element has its own data inside and any combinations should be possible.
However, files CANopen.h and CANopen.c links all objects and they are written for "simple" configuration. Those files are somehow complex because of flexibility.
For CO_MULTIPLE_OD I suggest to write own CANopen.h and CANopen.c. No need to complicate with all macros, but may write customized CO_CANopenInit(), etc. functions with adjusted set of arguments.

Ok, thanks, I will try that


Request to Add Support for IBM-277 (EBCDIC Code Page 277) in Cobrix

I'm currently working with COBOL files that use the IBM-277 (EBCDIC Code Page 277) encoding, which is primarily used for Danish and Norwegian characters. Unfortunately, it appears that CP277 is not one of the built-in EBCDIC code pages in Cobrix. As a result, I'm unable to process these files correctly due to the missing support for certain characters, such as Æ, Ø, and Å, among others.
Additionally, I tried using the CP037 code page to parse the data, but it led to incorrect results. For instance, the # character is parsed as a whitespace " " and the ! character is parsed as pipe "|". This issue makes it challenging to work with COBOL files encoded in CP277 using the current built-in options.
I would like to kindly request that support for IBM-277 (CP277) be added to Cobrix as an available option. This would allow users like me to seamlessly decode files that use this EBCDIC encoding, particularly for Danish and Norwegian-specific characters.

Hi, yes, will add CP277. Might reach you out with questions. It might take a week or so.
In the meantime, there is a workaround to use. You can define a custom code page like this: https://github.com/AbsaOSS/cobrix/blob/d3e953f54f19baa306d8e917380a0e7fdf7f7cc5/spark-cobol/src/test/scala/za/co/absa/cobrix/spark/cobol/source/utils/CustomCodePage.scala#L21-L21
And then, you can use it in Spark when loading data by specifying the fully qualified class name of the custom code page:
.option("ebcdic_code_page_class", "za.co.absa.cobrix.spark.cobol.source.utils.CustomCodePage")

If you decide to go the custom code page way, please share your CP277 table. This would speed up incorporating it directly into Cobrix. But in any case, we are going to add the support for CP277 soon.

Going with the table from here: https://en.wikibooks.org/wiki/Character_Encodings/Code_Tables/EBCDIC/EBCDIC_277
Will check against https://www.ibm.com/docs/en/SSEQ5Y_12.0.0/com.ibm.pcomm.doc/reference/pdf/hcp_referenceV58.pdf

Hi, yes, will add CP277. Might reach you out with questions. It might take a week or so.
In the meantime, there is a workaround to use. You can define a custom code page like this:
https://github.com/AbsaOSS/cobrix/blob/d3e953f54f19baa306d8e917380a0e7fdf7f7cc5/spark-cobol/src/test/scala/za/co/absa/cobrix/spark/cobol/source/utils/CustomCodePage.scala#L21-L21
And then, you can use it in Spark when loading data by specifying the fully qualified class name of the custom code page:
.option("ebcdic_code_page_class", "za.co.absa.cobrix.spark.cobol.source.utils.CustomCodePage")

If you decide to go the custom code page way, please share your CP277 table. This would speed up incorporating it directly into Cobrix. But in any case, we are going to add the support for CP277 soon.

Hi,
Thank you for responding so quickly. I’ve been looking into using the custom code page, but as I’m still new to this, it may take me a little time to test it fully.

Great, so if you not in a rush, I'll let you know when the code page is added sometime next week, and you can test if it works for your use case. In this case, you don't have to add custom code pages.

Great, so if you not in a rush, I'll let you know when the code page is added sometime next week, and you can test if it works for your use case. In this case, you don't have to add custom code pages.

Hi again,
Thank you so much! I didn't have time to look into it last week. But I would definitely like to test it out with the current test data I have.

The fix is merged. Can you test the current master branch? Or if you want, I can generate a snapshot artifact for you.

The fix is merged. The 'cp277' should be available now. Can you test the current master branch? Or if you want, I can generate a snapshot artifact for you.
.option("ebcdic_code_page", "cp277")

Hi,
Great News! Thanks for your help! I have tried generating the snapshot from the feature branch this morning and it gives me a expected decoded output with the test sample :)

Awesome! This will be part of the new version soon.

Released v2.7.9 with the fix


internal: Group webpack updates even with major

Codecov Report

Merging #2115 (78dd078) into master (5d2bfe8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2115   +/-   ##
=======================================
  Coverage   98.48%   98.48%
=======================================
  Files         102      102
  Lines        1918     1918
  Branches      405      405
=======================================
  Hits         1889     1889
  Misses         13       13
  Partials       16       16

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


(GH-2263) Move secure_env_vars plan to module

This moves the secure_env_vars plan to its own module on the Puppet
Forge.
Blocked by https://github.com/puppetlabs/puppetlabs-secure_env_vars/pull/1
Blocked by https://github.com/puppetlabs/ci-job-configs/pull/7351
!no-release-note

CLA signed by all contributors.


Bug: device with height less than 500px is not respected and gets bugged

If sth-select runs in a device which has less than 500px of height, the select gets bugged. It has a maximum height, but should respect the device's first.

There is actually an issue with every device. If the overflow appears in the select elements, the last element is not seen. In this demo, the "With filter" select doesn't show me the last element, even in 1366 x 768 px laptop. Tested using Firefox Quantum 57.0b3 (64-bit) and Google Chrome Version 61.0.3163.100 on Ubuntu 16.04.

Hello @coderwassananmol
First of all, we're very excited with your contribution. Be welcome!
Could you please provide us a screenshot of the bug?

Thanks for the warm welcome @StanleySathler

This screenshot displays all the elements.

"Lorraine", which happens to be the last element of the list, doesn't appear in any device but appears when you search.
If you are curious about the reason, this happens because the height is set to 500px in your JS code. I am able to reproduce this bug. Let me know if you find this legit, I can open a new issue and after I solve this I will submit a patch for this bug as well.

It's clear now, @coderwassananmol.
Thanks for the great bug report and screenshots. Would you like to open a new issue and submit a new Pull Request for this? We'd love that.

Hi, since the previous issue is solved, I would like to work on this one.


Memory improvements

Hey,
While trying to diagnose a memory issue we had in one of our servers, I noticed the ioredis keeps a lot of book-keeping for no obvious reasons.
Specifically what I found is that each Command instance keeps the args & keys arrays for as long as it is active, while not really being used after the command is sent, maybe only for error reporting but not for general use.
This causes a big increase in memory usage under very heavy load where the server has a lot of commands in the commandQueue.
I'm pretty sure there are more locations like this, but I didn't get the time to look.

@luin what do you think?

We are using ioredis connecting to tens of Redis instances (each instance has 256GB memory allocated) and the load is pretty heavy. However, we haven't met the memory issue caused by args & keys properties.
Anyway, I'll try to remove these properties from the commandQueue this weekend.

The issue is not with the Redis instances, its with the node instances.

Finding out several features depends on the args. For example, the autoResendUnfulfilledCommands option, the reconnectOnError option and the fillSubCommand function in the reply handler. It's a little tricky to delete this property before pushing commands into the commandQueue.

bummer

bummer :(


Fixed Arbitrary Code execution in petastorm

📊 Metadata *
Fixed Arbitrary code execution in petastorm
Bounty URL: https://www.huntr.dev/bounties/1-pip-petastorm/
⚙ Description *
Petastorm is an open source data access library developed at Uber ATG. This library enables single machine or distributed training and evaluation of deep learning models directly from datasets in Apache Parquet format. Petastorm supports popular Python-based machine learning (ML) frameworks such as Tensorflow, PyTorch, and PySpark. It can also be used from pure Python code.
Vulnerability description untrusted loading of data by the pickle.load function leading to Arbitrary code execution.
💻 Technical Description *
The function depickle_legacy_package_name_compatible() blindly loads a pickle file without any validation making it vulnerable to Arbitrary Code Execution. If the input pickle file is a malicious payload,  create a file remotely.
🐛 Proof of Concept (PoC) *
import os
import pickle
#os.system('pip3 install petastorm')
from petastorm.etl import legacy
#payload formation
class ArbitraryCode:
    def __reduce__(self):
        cmd = ('xcalc')
        return os.system, (cmd,)
#Exploiting
dumps = pickle.dumps(ArbitraryCode())
legacy.depickle_legacy_package_name_compatible(dumps)

🔥 Proof of Fix (PoF) *

Fix when subprocess is called.

👍 User Acceptance Testing (UAT)
Applied fix from pickle official fix as explained in here.
https://www.cmi.ac.in/~madhavan/courses/python-2014/docs/python-3.2.1-docs-html/library/pickle.html
Proper working. (Something other than a payload).

@mzfr Thanks.
I got the list and the fix from this site. (https://www.cmi.ac.in/~madhavan/courses/python-2014/docs/python-3.2.1-docs-html/library/pickle.html)

@mzfr Thanks.
I got the list and the fix from this site. (https://www.cmi.ac.in/~madhavan/courses/python-2014/docs/python-3.2.1-docs-html/library/pickle.html)

Congratulations d3m0n-r00t - your fix has been selected! 🎉
Thanks for being part of the community & helping secure the world's open source code.
If you have any questions, please respond in the comments section, or hit us up on Discord. Your bounty is on its way - keep hunting!
Come join us on Discord

Congratulations d3m0n-r00t - your fix has been selected! 🎉
Thanks for being part of the community & helping secure the world's open source code.
If you have any questions, please respond in the comments section, or hit us up on Discord. Your bounty is on its way - keep hunting!
Come join us on Discord


Awesome article, but code is choking on LdrpDrainWorkQueue

Helper::SigScan is not finding the pattern referenced.

You're correct, the project was designed for a very specific Windows 10 version and my only purpose while doing it was trying to get better knowledge on the Windows API, if one or more pattern(s) do not get referenced that/those pattern(s) can be easily updated by opening up ntdll.dll on IDA, loading ntdll.pdb and searching all of them manually by name, that's how I did it.
Of course this can be automated by making the project download the latest ntdll.pdb from the internet and finding the references itself but didn't really see any use for that. Thanks for the issue. :)

You're correct, the project was designed for a very specific Windows 10 version and my only purpose while doing it was trying to get better knowledge on the Windows API and sharing that knowledge with other people, if one or more pattern(s) do not get referenced, that/those pattern(s) can be easily updated by opening up ntdll.dll on IDA, loading ntdll.pdb and searching all of them manually by name, that's how I did it.
Of course this can be automated by making the project download the latest ntdll.pdb from the internet and finding the references itself but didn't really see any use for that. Thanks for the issue. :)


Use test unit explicitly

Because Ruby 2.2 does not provide minitest with test-unit compatibility layer.

Umm..., string-scrub requires Ruby version >= 1.9.3.
Should I drop support Ruby 1.9.2?

Umm..., string-scrub requires Ruby version >= 1.9.3.
Should I drop support Ruby 1.9.2?

No problem!
thanks:smile:

Thanks!


Will there be fast fullsubnet pre-trained model released?

Will there be fast fullsubnet pre-trained model released?

I trained it for 118 epochs. You can find the outcome here: https://github.com/fronx/FullSubNet/releases/tag/fast118


As a user, when I switch organizations I shouldn't see stale content

When I switch organizations (which redirects me to the getting started page) I still see the list of dashboards from the previous organization I was in

The issue doesn't persist if you log out and log back in (not a long term solution but a workaround). This seems to be an issue with the reducer not being reset when an organization is switched to


How should be the database initialized?

We used to have scripts we could run to create the database and then populate the database.
Now these scripts cannot be run from the command line as this code has been commented out.
It seems to me that the logic to create the database is defined in this constant:
https://github.com/LionWeb-io/lionweb-repository/blob/4afed926a5e85e82e7b7f654dfa90a3df1ff2398/packages/dbadmin/src/tools/create-database-sql.ts#L3-L20
Which is used only here:
https://github.com/LionWeb-io/lionweb-repository/blob/4afed926a5e85e82e7b7f654dfa90a3df1ff2398/packages/dbadmin/src/controllers/DBAdminApi.ts#L17-L24
Therefore, if I want to create the database and then initialize it, I need to make a post request to /createDatabase first and then to either /init or /initWithoutHistory.
I also think that these operations are defined in a way that I can safely call them multiple times. If I call them more than once they will be no-op.
Is this correct?
If so, should we:

Remove the commented out code from https://github.com/LionWeb-io/lionweb-repository/blob/4afed926a5e85e82e7b7f654dfa90a3df1ff2398/packages/dbadmin/src/tools/database.ts
Update the README to explain this behavior

Also, would it make sense to have an optional to automatically call these methods internally (i.e., not through post requests) at startup time?

Hi, I removed the code because the way it was done ensured the create database would always run automatically at server startup because it loads all the code. That is not what it should do. It should either not run, or at least run optional (as you suggest).
In a separate branch I have made the server multi-repository, meaning that you can have multiple repositories (multiple fully independent models). To support this, each request to the server gets an optional repository name.  If not given it will use the default repository which is as it currently does.
We could make the server to optionally create the database and initialise zero or more repositories. This can be done through parameters to the server startup, something like:
start-server --create-database --init-default-repository --init-repositories <list of repository names>
start-server --create-database --init-default-repository
start-server --create-database --init-repositories <list of repository names>

or  through a server-startup-config file (as property file or JSON file):
create-database = true
init-repositories = repo1, repo2

In the multi-repo branch I changed the init repository to do nothing if the repository already exists.  I added a deleteRepository request, This is needed for the tests to delete the repository between tests.

I like the idea of the configuration file

Initialization is done though a configuration file now.
Either one with a default name, or one given with the --config <filename> parameter at startup


UX/UI Enhancement - Change Request Reasons

From the compiled external user feedback:

For Changes Request workflow, user would like to see the reason for rejection on the interface too

Suha's recommentation: Allow feature to let Internal user to copy and submit the reason in the email in the system.

As discussed with @hannavovk, this could be a future ux enhancement in Registration Part II post MVP.
AC:

[ ] To be added

More of a reporting feature. Closing.