skysight-inc/HackerNews huggingface dataset:
Async-stripe 0.14, a rust client to accept payments
Hi!

I am happy to announce version 0.14.0 of async-stripe (https://payments.rs) which introduces a number of new features. async-stripe is a client for the stripe API with a bring-your-own-runtime approach. It will work with whatever stack you use.

On a personal note, having worked on this project for over a year now, this is the first release where I feel like the ergonomics, features, and Stripe api coverage are finally getting 'good'.

Changelog: https://github.com/arlyon/async-stripe/releases/tag/v0.14.0

breaking - fluent client config: you can set the client id, stripe account, and strategy with a new builder-style api

improved the codegen to expand api coverage: we added `card` to the api!

added `Default` across the codebase: we added default in many more places

opt-in auto-retry functionality following the stripe retry headers: the client will retry failed requests

opt-in idempotency: manual verification and retry if needed

improve test coverage: we added tarpaulin and started tracking coverage. from now on new contributions will be expected to be tested properly, and we will be adding extensive examples

piles of examples: we have a whole load of shiny examples to look at, along with example-doc linking to put the examples straight alongside the code in docs.rs. very happy with the ergonomics here.

As mentioned, we also opted in to try out RFC 3123: https://rust-lang.github.io/rfcs/3123-rustdoc-scrape-examples.html which has been a dream. Some examples:

PaymentIntent::create: https://docs.rs/async-stripe/0.14.0/stripe/struct.PaymentIntent.html#method.create

AccountLink::create: https://docs.rs/async-stripe/0.14.0/stripe/struct.AccountLink.html#method.create

Customer::list: https://docs.rs/async-stripe/0.14.0/stripe/struct.Customer.html#method.list

Additionally, Stripe have begun to sponsor the project which, while the project is still not affiliated with Stripe, or considered a Stripe product, marks a very cool moment in the project history and my own career. With the support I've been able to get a domain, send out some swag to the contributors, and plan on running some rust workshops in London.

That said, we still have some challenges. For this project, compile time has always been a fundamental trade-off. a) there is a lot of generated code and b) there is an obscene amount of macro-expansion code (mainly serde). These together make for awful compile times. For 0.15, we plan to group the generated code into individual crates so that there are more compilation units. Additionally, we are thinking about how to reduce the reliance on macro expansion by potentially replacing serde with something more lightweight. If you have ideas and want to join the conversation, please hop in here: https://github.com/arlyon/async-stripe/discussions/77

Looking forward for any and all feedback or questions

Cheers

Alex

Conversation on /r/rust: https://www.reddit.com/r/rust/comments/tqid6w/announcing_asyncstripe_014_a_rust_client_to/
It's fascinating to imagine what the arxiv of the future would look like.

I imagine all scientific publications available on a distrusted block store, including raw emails, data and notes on a voluntary basis.

Stuff that could be published would include reviews, corrections in version control fashion, and enough metadata to model scientific progress.

What this article is describing sounds reasonable but not game changing.
> And not via drivers, but userland-exploitable code in general subsystems.

We're exclusively talking about the kernel+drivers here. User land exploits are irrelevant (and obviously not something fuchsia will be immune to).

> Unless you're referring to remote code execution

I'm referring to exploits that actually are found in the wild to have caused damage that a change in kernels would have done something to prevent.
C++17 has std::variant<> and it's ubiquitous in my code. Catching your type errors at compilation time is something you don't have to give up any more after doing your prototyping in Haskell.
IQ also fluctuates a lot, but yes, she is a lot like me (reads, thinks math/science is interesting, etc).

She bought only one prep book, for $35, with her own money. I guarantee the very poorest can get that one book, even from the library.

Parents absolutely influence children, otherwise what’s the point of parenting? This is a good thing. I’m just saying the $$ part is way overblown.
All this is fine and dandy if you don't care about keyboard latency and writing code. If you're running a large workload, this is the way to go. However, using a VM to write code is just painful.
As an American born Asian myself, the "unofficial" quota system process colleges use is painful to me - I was an extremely academic high performing student before college, netting national level recognition in some areas with a lot of extracurriculars & came from a very poor background, yet my ethnicity worked against me.

At the same time, I recognize that this is also some of the challenge that underrepresented minorities face in general in American society where there are others who have more closed doors than I (I went to a high school with over 70% minorities, mostly African-Americans + hispanics). I don't pretend to know what the solution to the problem is, but given that high prestige colleges have created a high risk high reward situation with how they handle admissions, I feel like a lot of the problem is how academia has created this artificial situation - maybe this is by design, I don't know, but if we truly value diversity & equity in higher educational opportunities, there needs to be a significant change.
I had an intel MacBook that was a good fit for doing reverse engineering work on malware. I suppose this method would be kind of a compromise for those that still want to use Mac system, even know it is incompatible with most of their RE tools/virtual machines.

Anyone used Ghirda on a M1 Mac?
Over here in the EU any cellular device should contain a SIM card which must be registered to someone or some company, therefore it can be used to track the owner; is that different in the US? The article doesn't mention any SIM card present. If I discovered such a tracking device in my car I'd immediately look for the card, get its number and find the owner.

Also, it would be nice to fool the GPS through a jammer that emits false signals in order to make it report a fake location, after placing cameras at that place to record whoever shows up.
someone watches wtypp
AWS Access Keys IP Protection Utility
It maybe "idealistic" but I would hardly call it "hubris".

My undergrad was in a non-technical area and so I never had to take calc in undergrad. Having later learned it to solve problems, it has become clear to me that it would be preferable if everyone with a college degree knew calc. I was, in retrospect, wrong to have tried to avoid it.

I'm well aware we don't live in that world, unfortunately many people with a college degree also don't know write effectively, or perform critical analysis on texts, things I also thing should be part of being college educated.

> Knowing basic accounting, being able to fix things around the house, being pleasant to work with, etc are far more important.

I'm not sure how knowing calculus reduces these things.
So it works kind of like ants, who leave trails for other ants to follow?
Proxmox has SPICE which is what I use for VDI instances on my server - it's not as good as native but much better than VNC (in my eyes it performs similarly to RDP and is not as fast as Citrix or Horizon). I don't think it supports Mac guests though, only Windows and Linux.
>What comes next?

Pretty much what happened to 95% of rock'n'roll bands, I'd guess. Either the big guys smell an opportunity and 'let' you have enough to keep working ... or you become a one-hit wonder.

Honestly, there aren't that many truly creative people. One giant is followed by a thousand wannabes. The gifted need to find new, uninfected ways to nourish and protect themselves ... with a minimum loss of creative time ... or else. One dedicated server, a couple of maintainers and an accountant would keep them away from all the sharks. Then it's up to word-of-mouth.
Yep, you're correct about that terminology, thanks. I'll leave my comment as-is because it'll be less confusing for anyone reading yours.

It's possible that companies (knowingly or unwittingly) co-operate under some circumstances, though - even if competition is generally the {expected/favoured} model.
My mail server crashed while I was on vacation without my laptop.
You face judgement criticism and downright sabotage multiple times and you see that they are not as big of a thing.

They suck and disrupt and hurt but recovery happens, faster and faster.

In my career it was the hardest when I was trying to avoid them. I am at a point when I expect them as a phase and try to get them over with.

Also it’s often about that person and not me. Focusing on the other person helps.
The barrier to entry for advertising was pretty small when Google entered it. They worked hard on pricing models, ads relevance, ads quality, and making it unobtrusive to users (in the beginning). That's what allowed them to gain traction. The barrier to entry in advertising is much higher now, but if you have a standout product (like TikTok) then it's possible to gain enough eyeballs to get you through the initial period with advertising.
90% of software engineers don't do algorithms, even in ML -- nor are they capable of, besides rote memorization of interview algorithms. Software engineering these days is mostly a job of complexity management and automation, requiring little math and more secretarial skills. That's just the ugly truth that nobody wants to hear.
>... I just want to learn where they're coming from.

Ignorance is all it is - and not in a bad way. They don't know something, they're curious about it, so they're asking. It's legitimately as simple as that.
The author needs to sell to publishers and R&D firms, not direct to doctors and patients. Think: MayoClinic, Mount Sinai, and other players who are big on medical research. Health magazines and publishers.
They go into a bit more detail about possible explanations here (this is cited in the paper that the article talks about).

https://arxiv.org/abs/2006.14805

They talk about your option in 5.11, "Einstein rings." For reasons that I don't understand (but I don't understand anything about optics) they come to the conclusion that the gravitational lens would have to be really large, and it is unlikely that such a large, well-structured lens would exist.
Swatch struggling to stay online after crazy MoonSwatch launch
https://www.bbc.com/future/article/20160915-the-woman-who-is...

It's not psychosomatic. But they aren't really sure what causes it.
The main reason it didn’t work was because the idea was bad. See salient comments from previous posts:

https://news.ycombinator.com/item?id=25827610

https://news.ycombinator.com/item?id=25829290
At www.eidu.com we are working on education but starting with pre-schooler and the absolute basics (Foundational Literacy and Numeracy, FLN). The UN SDF 4 "education for all" points out the 600m learners who are "education poor". So it will be a long while before we touch adult education, but one can dream.
Replying to myself to avoid an edit -

You know, if I was a hairbrained, mega-structure scientist from some future, highly advanced civilization that otherwise couldn't study or explain dark energy/matter, one way to simply gather data would be to fill huge regions of space with matter and watch how my known input evolves and changes over time. If science up to that point can explain 100% of the movements of the matter from then on, then I know my theories and data are widely in agreement. If I know nothing else has perturbed that matter and the data are off, then the disagreement tells me something about how physics works at super large scale. [If I know physics with plenty of certainty at those scales and something changes outside of my expectation then something/someone new to the scene perturbed that matter.]

Which is to say, I wonder if there isn't a way to turn these oddballs into very valuable scientific data. Build radio-telescopes large enough to gather as fine grained data about these ORCs as possible and model away. Maybe something in there does translate to physics which explain dark energy/matter.
Expressivity and automatic enforcement are completely orthogonal. Some pseudocode in academic papers is sublimely expressive, but can't be typed directly on a computer.
Early Security for Startups
The idea that only local news affects me is simply wrong, because the world is connected and things are influential.

I do not live in Texas, but the Texas legislature restricting access to healthcare and allowing citizens to sue providers affects because certain political parties will treat that as a template for laws across the country, including in my area.

The Florida legislature trying to ban books and discussion of topics once again sets precedent that will become attempted law in my area.

People need to be aware of these efforts to know what to look for in their community and to prepare to counter such efforts. Information spreads and strategies are organized. Waiting until something is in my local area before trying to respond is guaranteed to lose.

Even on a large scale, knowing about international conflict made me aware that I should stockpile Baltic Birch plywood before its price skyrocketed. Reading the news saved me hundreds of dollars.

Fundamentally, ignoring the news is a luxury afforded to those who benefit from the current power structure. If you are well off and white, yes, you can probably ignore the news. If a subset of the government is constantly trying to find ways to harass you, deny you the right to vote or get healthcare, you have to be aware of things to prepare for and effectively counter them.
It’s not perhaps less, it’s definitely yes. Burning fossil fuels kills more people in a year than the entire history of nuclear power
Intel counters AMD’s mega-cache PC chip with 5.5GHz 16-core rival
Lol. Most humans assume everything that doesn't have a common, socially-accepted explanation is psychosomatic.

If you have any chronic condition that affects your ability to function(surprise, most of them do), 80% of people out there will just cheerfully gaslight and abuse you without batting an eye.
Are you saying lesser known and less polished or lesser known and more polished?
This is an interesting question. I haven't researched the overheads.

Separately, I feel like if you account for grammatical rules, it is possible to eliminate certain "filler" words in a lossy fashion but add them back later based on grammatical rules. For example, you don't need to say "in mice", you could just say "mice", the meaning is obvious, and "in" could be fixed in post-processing at the client end.

You could also quite possibly eliminate all vowels and still reconstruct everything accurately.
Absolutely not! Sorry if you thought I was angry. I sometimes have a funny way of expressing myself, but there is no anger here at all. Just acceptance of the way the world works - kind of my point actually :)
You don't need options. It's best to play around 3 champions for your main position, and 1 or 2 for the other 4 positions. That means you want around 11 champions in your pool. More than that is too difficult to improve with. Let's round that up to 16 champions and give a bit more flexibility and experimentation. This is all you really need, and you will get it very quickly. By the time the meta changes, or you've played it enough to consider changing direction, you'll have more champions unlocked.
this absolutely happens, during the peak of the GPU crisis, salty gamers would report Craigslist/FBM listings for GPUs because they didn't like that they were being listed for over MSRP. Eventually they get taken down (even from an account in prior good standing) and you will probably get some kind of ban at some point.

I think it kinda let off over time as people resigned themselves that it was a real thing and was gonna be a while, but yeah, there's no real protection against abuse there.
At least it's an option. Not at my current org! Been there for two years.
Score back to 1 for merit based admissions, 0 for politics of the day.
You built something that competes with doctors, not compliments them. If the medical industry was unregulated, you could pair this with a prescription service and make an automated online doctor's office.

You're unfortunately dealing with an unfree market, which is why the psychiatrist tended to her nails instead of shitting her pants when you revealed tech that could potentially make her obsolete.
What I said had to do with what you said. OP set out a prescription (quite literally defined adulthood for everyone), it was questioned and you criticized the questioners. I'm questioning the criticizing of the questioners.

Why assume bad faith in the other comments? Try a different perspective while reading OP's comment.

That is to say, the industrial-entrepreneurial worldview is a valid one. But there are many other valid ones besides.
If you make all skins and cosmetics available to everyone then you're back to square 1 and people will use some other heuristic to decide who they should pass to. I think this is actually an argument for paid cosmetics, it would improve gameplay for the people who spend the most time playing the game by allowing them to identify other people who also dedicate a lot of time and money to the game.
As a Chinese, I feel exactly the same way as your friend does.

The Chinese government thinks they can lie however they want to its people and to the outside world, because there are language and internet barriers.

For example, they claimed to be neutral regarding the ongoing war, but they are spreading pro-war misinformation via state owned media, and teaching pro-war ideologies at school.

People now are trying to translate their lies through the big translation movement To expose their evil doings . https://twitter.com/tgtm_official

And it worked, they winded down the pro-war education plan, at least publicly.
I feel like this could run on donations.

I signup, search a product and a day/week later get a mail "Did X Help? If so, care to donate a few dollar for the info we generated for you? If not, try Y, 7 studies have shown it works better than X in some cases."
I’m not sure that elementary calculus is particularly related to machine learning (I have a similar opinion of linear algebra which is fundamentally geometric in a way that machine learning isn’t). That doesn’t mean that you don’t need to know anything about calculus or matrix multiplication to understand machine learning but knowing eg Green’s theorem won’t help and neither will understanding a tensor as a multi linear map or in the way a general relativity physicist might.

I also don’t particularly know what goes into calculus (in the U.K. we studied something called ‘calculus’ in high school which included integrating/differentiating polynomials, some trig functions, easy integration by parts and, in the ‘further maths’ course, some second order linear ODEs with forcing, first order ODEs via integrating factors, first order linear systems of ODEs via the eigenvectors method, and I think some integration by parts based recurrence relations. At university things were divided into ‘calculus’, which contained practical tools for applied maths like Green’s theorem or partial derivatives or contour integration or Sturm–Liouville theory, and ‘analysis’ which had foundational things like epsilon–delta stuff or Dedekind cuts or the definition of a limit or Riemann integration or the conformal mapping theorem and so on.

I think a first course in the thing I called analysis above is very useful for building mathematical maturity (ie the ability to not deduce false things but also playing with definitions and thinking about counter-examples) but the calculus knowledge can be useful for understanding the physical world. But I don’t know if that understanding should be required for e.g. computer scientists.

A few calculus examples I can think of in computer science:

- Some famous story of Feynman ‘interning’ at Thinking Machines and solving some capacity management problem using bizarre differential equations with terms representing e.g. ‘bits per second’. No sufficiently good solutions had been found using discrete methods.

- I was once asked an interview question which I suggested solving with differential equations but I was quickly directed towards not doing that.

- Honestly I can’t think of many more but maybe this is a lack of imagination. I think there are a few things that are really probability theory that you need some understanding of calculus for, e.g. emergent behaviour of distributed systems, reasons to prefer random cache eviction, some intuition to answer a question like ‘if the time X takes has some distribution, but sometimes we have a gc pause for y milliseconds, how would that affect the distribution?
Are doubly-linked lists actually rarely implemented? I thought they were the back end of things like python lists, or something similar.
Spireon bought out Inilex who bought out Sky-LINK.

So, there’s plenty of technician’s manual out there under those former and current M&A names.

Also, FCC ID is a great starting place, just don’t forget merger and acquisition as well in the business world during your RE effort.

Also identifying RF frequency in FCC filings will help narrow the cellular coverage. If it’s CDMA, then it’s obsoleted.

- https://loginping.com/inilex-gps

- https://www.automotive-fleet.com/130525/spireon-acquires-gps...
My mother was an orphan at 15 in Honduras. When she had me, she shared a 400 square foot house with six of her sisters.

Look up the crime stats for Honduras and try again.

Also, looking at the very worst situations is not a valid argument. By that rational, what about the poor girl who is kept a sex slave in her basement by her father for twenty years?

Do you think sending your African American example to SAT prep will make a difference? Coming from the poorest and sketchiest towns in America? Such a child would likely be better served by starting at a community college. After that, SATs are not accepted.
That part was dreadful for me as a child. It stalled me for months in game. Or maybe it was not understanding that I needed money and shouldn’t blow it on collectible figurines and arcade games… in game.

As an adult I have revisited it and it was incredibly easy. A complete non issue by all means. An interesting game design challenge for sure.
One Comment – $640 ARR Plus
I use microsoft defender on my windows boxes. nothing on any *nix servers i use.
unpaid yet enforced by company leadership overtime burnout culture
Did this in university, where I carried a lightweight disposable laptop and had a desktop workstation (and later a server) at home. I used OpenVPN to remote in and got to smirk at the students who either had slow builds, a heavy gaming laptop, or had the money for a top-line MBP or similar.

Due to the slow upload speed of my DSL connection, this forced me to become comfortable with TUI apps and a multiplixed terminal environment, with the occassional use of Xpra when absolutely necessary.
I'm not sure what you're getting at. Both the US and most of Europe have been openly providing militarily help to Ukraine.
It also has ivermectin, melatonin and fennel flower near the top... I'd get my medical advice elsewhere.
Free State of Bottleneck
I'm in the UK, and we have proper regulation that sets out what "free range" is - it is not whatever ludicrously tenuous definition the US has dreamt up.

I live in rural Scotland, and can see free range chickens for myself - they seem to be living a good life.
Wow. You and poster picodguyo use very similar language "I love the innovation going on in the search space lately."
What are the chances of that?
I've looked at PiVPN, but it looks like more work than many of the packages available for routers. e.g. dd-wrt, pfsense, opnsense all have point-and-click configuration pages.