skysight-inc/HackerNews huggingface dataset:
Show HN: Blake2Signer – Python lib to sign and verify data using BLAKE
Blake2Signer (https://blake2signer.hackan.net) is a Python library, whose goal is to provide developers a simple and straightforward way to securely sign data using BLAKE in keyed hashing mode, using a secret key: this can be used, in example, when you need to send some data that could be tampered by the user, like a payment authorization, a login token, or a form. This data travels in plaintext, and can be read, but it can't be modified in any way!.

This library was born as my need to simply sign some data structure to store it in a cookie securely. I had been using itsdangerous for that, but at some point I wanted something simpler, and uncomplicated, so I wrote a couple of lines and got it working using native BLAKE2 in keyed hashing mode, which I then published as a Gist (https://gist.github.com/HacKanCuBa/b93864a1ed41746b3d75f80eb...) for others (and me) to use in a copy-and-paste fashion.
I proceeded to add a few features, tests, and the like, and eventually asked myself: why not create an actual package?. The more I edited the Gist, the more I believed it could actually be more useful as a package, and to be actually installed in projects, just like other excellent libs such as itsdangerous, Django's signer, pypaseto, pyjwt, etc.

Additionally, this library has good tests, good docs, a nice changelog, automated tests with several Python versions (supports Python3.7+), follows semver, it's production-ready, it's fast and easy to use... well, I will let you decide that :)

Any feedback about it is very welcome! To try it out, just pip install it, and follow any of the shown examples: they are all copy-paste-able ready-to-work.
Holding your own crypto wallet doesn't eliminate the influence CEXs have over the value of it's contents.
I just was showing my daughter some basic Python last night as well and she seemed very interested, but didn’t leave my laptop with her lol so crazy to see this on HN today! Let her have fun! Lol cool to read about today!
This form factor would be awesome for mini external hard drives!
Everyone is absolutely consciously aware of it, and this has always been true. It still works just fine via your subconscious.
And then there are gas stations, infamous for taking it another step and including another tenth of a penny.
There is a normal for this class and type of device. This is way outside normal for this class and type of device- source, I've designed them for 20 years.
So what. (not a question)
That doesn't seem to have stopped most other countries from having free or near-free healthcare. You shouldn't even have to think about money when dealing with hospitals.
Yep there are better wallets

Passport is my recommended bitcoin wallet
“Our metrics show that less than 0.02% of all apps are using the $26.65 and $57.30 price points. They are therefore no longer available to new apps. Existing apps using these price points will be required to change to one of the other supported price points by March 1, 2024.”
Proportionally the price difference is more or less the same as it is for new devices. For example, an iPhone 14 Pro Max starts from $1099 in the US and $1279 pre VAT (€1222 pre VAT) in the EU.
Reflections on Turning 30 – 3 Profound Life Lessons from My 20s
Why would your takeaway from that be that even the loud people didn't want it? It's perfectly plausible that all the loud people bought the Mini, but it still wasn't enough to make it a viable product.

Also, Apple gave it less then two years. I could easily imagine plenty of people wanting the Mini, but being unable to justify the purchase because their existing (larger) iPhone was only a few years old. Not everyone has the resources to buy a new iPhone every year or two.
On the bright side, I learned how much microscopic flakes contribute to paint detail. Overall, it was an absolute snark fest, a large amount of effort for a little opinion.
> Basically, I'm opposed to unions as they exist in the US because of the government being involved and "artificially" granting them power.

Artificial is an unfair characterization of history. The President didn't just descend from on high and grant unions powers out of magnanimity. At one point the unions were extremely powerful to the point that they were able to codify in law the rights they had attained.
I'm not asking for the author to write updates if they don't want to.

I'm asking that if they do (for whatever reason), that they make their updates available to those who already paid for them (and static file hosting is practically free nowadays).
IAPs _can_ share for the family: https://www.theverge.com/2020/12/4/22154178/apple-family-sha...

It's the developer's choice, just like family sharing for the original purchase. This was a good move, since so many apps went from paid to free demo +IAP to unlock. I think a lot of devs who previously allowed family sharing for paid apps have turned family sharing on for IAP.
My understanding is that often times procedure costs vary wildly even while following well established tracks. e.g. surgeries some surgeries take between 2-4 hours with time not easily determinable before it begins. Consultations can take varying amounts of time, cost of materials may vary significantly over a two month timespan etc. The latter issue can be hard to keep down compared to other businesses because waiting may be fatal.

None of this is to imply the current system is desirable, but that price inconsistency is something all healthcare systems will need to contend with.
Is most medical care urgent? I dislike asking for citations, but that is quite the claim!

Are you saying the majority of patient-practitioner encounters are emergency visits, or that the majority of spending is on emergency care, or something else?
I got an Apple Watch and iPhone instead of a Fitbit and Pixel.
> we can _learn_ to want to be another gender

If that is true, then cookie cutter expected gender behavior can be "learned" as well. In fact much of it was illegal in the US a few decades ago.
You forgot space between } and {
Ask HN: How to use OpenAI/MS products without sacrificing privacy?
How to use GPT or Copilot with sending the minimum amount of personal data to any (MS) service online?
The famously 'progressive' HackerNews? Years of reading the comments has led me to believe that the GPs assumption is mostly correct.
Yes, today 50K miles would be very short-lived. In my more recent experience, getting to 100K miles and ten years or more is pretty easy. Cars have gotten a lot more reliable both in terms of not rusting out and mechanical reliability generally.
Looks like the initial ProtonDB reports from Linux players is looking promising!

https://www.protondb.com/app/975370
At some point the NYT just got rabies where Trump was concerned. The news pages became gross and distracting even to folks like me who are normally core NYT readers.

Now this is nuanced, ok? Trump has publicly called for elimination of the Constitution. That's not the media, that's him. But anyway, re the NYT, the really important point (for me) is that they allowed the front page to become unreasonable and unreadable.

Maybe it has recovered now. I don't know. I'm afraid to look.
> This is not going to work, a society where geniuses spend most of their days using Quickbooks, cleaning the bathroom etc, will be outcompeted by ones where they can specialize.

Which is exactly why Marx makes his “vapid” argument: cleaners and other menial jobs contribute as much to society as any geniuses (evidently, as societies without those menial jobs got outcompeted). And the way society currently evaluate those values seems to be incorrect.

The issue with Marxist is that the solution he proposed is troublesome, not that the problem doesn’t exist. And until the next genius figures out a different solution, we should at least try to limit the problem as much as possible
Beautiful, but tip for Ledger team: pics & video should include more common items for size reference.

Even placing alongside some-generic-iPhoneish-smartphone isn't a great help, as those now vary in size so much.

Here's a thought, given its use: show it alongside some of the world's most-recognized fiat monies, like the USD bill or quarter, or several EUR bills/coins.
This is amazing work. All hospital pricing should be public and transparent.
X.509 technically does support a parameter in CA certificates called Name Constraints which allows them to be restricted to issuing certificates within a specific set of names. Historically this feature has not been well supported though it seems like the browsers have added it more recently.

Netflix for example uses this feature internally and built a test suite: https://netflixtechblog.com/bettertls-c9915cd255c0

I agree wholeheartedly that this feature should be used more widely to restrict CAs where practical, obviously limiting government CAs to their respective ccTLD(s) seems like an easy one. Personally I'd also like to see this extended to allow for a domain owner to get a private CA certificate issued for their domain(s) which can then be used to issue individual certificates within that/those domain(s) as a more secure alternative to wildcard certificates.

There is no substantial technical reason this couldn't be done, just a lot of older software that wouldn't understand the restrictions and could either reject the certs entirely or consider them valid even if they shouldn't be.
iPhone 13 lasted me this whole year without any major damage with 2 small children - multiple times in water, countless drops on tiles all without a case.

Would FairPhone would even remotely be so robust?
Transactional databases have to settle later. We do not want settling later, we want an atomic swap: cash for real estate. And we don’t want to be holding either the cash or the real estate on behalf of these third parties.

It sounds to me like you haven’t understood the way we are using an atomic transaction to execute multiple legal contracts in a single event?

Anyway, we built it, it works. If you are confident a centralised database is better, you could always build a service to do this thing that we do without all these blockchain overheads.

Have fun!
It will allow restaking and help LSDs trading at a discount to NAV close the gap, but other than that, I agree noone in the staking community is particularly worried about withdrawal activation timelines. Best guess based on the latest dev calls is sometime in Q2 2023.
lol nice find
Imap to retrieve them locally
The link is to a video about working to rebuild a boat. Probably not the right link?
There are a couple ways. The method most musicians have used since the mid-90s is phase cancellation, where you take an instrumental and use it to cancel out any sound that isn't instrumental (a-la noise-cancelling). In more dire scenarios, people would split the stereo tracks and cancel them against one another, which actually worked fairly well if you had a DAW precise enough to pull it off.

Then in the mid-2000s there were a few attempts to use algorithms for this (that mostly failed) and circa-2015 we started to see machine-learning based options like Spleeter and Demucs. This is what Apple is implementing here, and it's been freely available for years. It's not really novel for anyone who isn't writing their music on an iPhone.

I mostly ask because I've spent the past 2 or 3 weeks working on a remix album, and haven't really had trouble finding stem separation tools that work well.
You are right, but it doesn’t fit worldview of your opponents, they are just too scared to think this thoughts.

To anyone who used Copilot and ChatGPT it is obvious that in 5 years demands for entry to software dev will be much higher, and there will be less positions open, because sheer productivity increases for the already employed people will outpace the demand. It’s like peasants arguing about security of their future prospects in the beginning of 20th century after seeing a tractor.

Winter is coming, but they just can’t believe this since their income directly depends on this not being true.
> does that install the dependency for you

https://mesonbuild.com/Wrapdb-projects.html

Writing new wraps involves essentially porting the target project to meson though, so it's far from trivial.
I'm glad things are finally coming through. Best of luck. I had a similar experience looking for a job a few months ago. I got lucky with timing and joining a company that's optimizing for longer-term cash flow.
nytimes poop poop
I'd like to know what fraction today comes from Roblox alone.
Surprisingly great suggestions. However, it shows some .coms to be available when they're not. Either way, neat work!
Cut the elastic ear loops off of an old mask and tie it to the elastic on a new mask to bridge the gap between the new mask ear elastics (or use a piece of string) so the pressure is on the back of your head.

If you fly a lot, there are also very likely commercial solutions for this.
Well that's fun -- I'm apparently recently blocked by PaulG, having never interacted with him directly, or anywhere near him in any recent memory. Is he running something to proactively block anyone that's been talking about Mastodon?

Wild-ass guess, but I can't imagine any other reason.
> It would be nice to suspend reality and solve problems with magic

I would be careful about being this condescending when there is so much about your post that ignores critical problems regarding the complete lack of price transparency in US healthcare.

All of the following are extremely difficult if not impossible at the moment in the US:

1. Get an explanation of how one product, e.g. something as simple as a bag of saline, can have wildly different and grossly outrageous costs.

2. A hospital may not know what your final diagnosis may be when you first show up, but literally every other industry I know of is able to give you reasonable estimates, and possibilities for different outcomes. Trying to get these in US healthcare is like pulling teeth.

3. There are few other industries that I can think of that require you to essentially write a blank check when you first step in the door. There have been many widely reported horror stories of patients, who had good health insurance, went in for surgery, and then unbeknownst to them while they were under anesthesia, had another "out of network" doctor come in to "consult", often for just a few minutes, and then added tens of thousands to the patient's bill. This is obscene and abusive.

Portraying people who demand sane transparency and at least a reasonable level of consistency in pricing as wanting to "solve problems with magic" is asinine.
Singing with something doesn't imply anything about capture. It's just saying that I can sing along to songs without the original vocal while I'm washing the dishes in the kitchen or whatever.
I use Google Workspace and open Mozilla Thunderbird (Portable) quarterly to pull down copies (via IMAP) of my email. Has worked well for the last 3-4 years.
What an embarrassment. Does this mean their backups didn't work? or did they do backups at all?
It's less "learning to be another gender" but more being in a society that allows an individual to express their gender as something other than their sex.
I think the majority of the first part of what you've said is mostly captured in "you act like you think you can teach others but they can't teach you", so I'll respond to that first:

I am open to being taught, I just expect something better than silliness like "I can care for animals and also eat them for pleasure" when it comes to what I find convincing. Please, by all means, teach me something. I am genuinely open to it. If you read through the many conversations I've had on this topic in the past, you'll also find thorough explanations as to precisely why I find these carnist arguments so tired and ineffective. Just because I am once again, for the umpteenth time, saying that people who claim to care for animal welfare while actively harming animals are hypocrites doesn't mean I'm close-minded, it just means that this delusion is ubiquitous.

> many of your critiques tend toward simplistic snark

This is probably more true than I would like to admit, but in my defense I am arguing for what I know to be the ending of the subjugation of trillions of sentient creatures, so forgive me for being _extremely_ upset when I need to convince people of what is an obvious truth: one cannot claim to value animal welfare while participating in the unnecessary abuse of those animals.

> even when other vegetarians and vegans are telling you that you're hurting the cause

Being a vegan or vegetarian does not make someone more likely to know what is good for the cause. Knowing what makes an effective social movement is a completely different area of knowledge, so the fact that other folks who eat fewer or no animals disagree with my strategy doesn't say much.
Pocketbase – SQLite for SaaS and mobile apps
Something needs to be done to monetize journalism online that doesn't depend on ads. I know that people are generally not willing to pay for subscriptions, or at least I am not, when the sources are so numerous. If there were a single 'news' portal such as netflix was for films and tv, where we could pay a monthly fee and get access to quality journalism from different markets -- this would be something I would pay for happily.
Correct. These are relatively incremental improvements. And I would argue that recently they are more relevant in GPUs anyway due to the scalability.

To resume "Moore's Law" at the pace it once was, we need some of the truly new paradigms to mature. Ideas like memristors or optical transistors.

You could even imagine something like a ubiquitous transparent P2P background computing grid as a big shift in software that could matter.

But for hardware, the next paradigm that brings a few orders of magnitude boost to the baseline is going to actually be a.. different paradigm.
Q&A: Harry Collins on acquiring and using scientific knowledge
Try my project https://m3o.com/dns
Hey Hiro. You want to try some Snow Crash?
As always;

- there is plenty of excess off-peak power available; grid collapse happens at the peaks.

- Lithium supply is a limiting factor for both EV demand and grid-tied battery capacity, so if cars themselves provided grid tied power, they would necessarily scale with the demand.

So long as the 24-hour average demand was satisfied by the grid supply, the grid would do fine.
The only way to get out of your investment with FTX in time would be if you had negotiated some clause to that effect in your funding round (like warrants/put options on the shares), which no one seems to have done, and which SBF is unlikely to have accepted.
> a regime controlled by neonazis

Current approved position is that they are "satanists", didn't you hear?
most american laws around unions are actually prohibitory and limiting. if legal recognition and regulation for organized labor were eliminated, i don't think it would result in less power wielded by unions.
Happy to!

The first thing I noticed is that the pricing is monthly (and not trivial, at $90/mo to start). Do you expect folks to use the product for a short time when they're focused on PR, or would this be an ongoing thing? I can imagine that there would be periods where startups wouldn't want to be spending that much when they're focused on other things (product, fundraising).
Sure, but the same is also true when I hire a plumber. They can still at least give me an estimate.

Also, an MRI, mole removal, sleep study, etc. should always be the same but you still will have a hell of a time getting a price for it.
The main difference is that banks enforce a low loan to value ratio and collateral. So a bank will give a 10k personal loan to someone who has 100k of stock and 500k of equity in their home. If that person doesn't pay back the loan the bank can sell some of that person's stock or put a lean on the person's house. With FTX no one was putting up collateral other than crypto.
You are grasping as straws.

Speculation in markets are always going to exist. We have people making a living by speculating on the price of commodities, forex, company stock and event insurance policies. You calling them fantasy does not change the fact that there are people willing to trade them and does not change the fact that there is value in being able to do this without a central authority.

I gave the example of Storj/BAT precisely because these are business who are paying actual money for a service (Storj is paid for those hosting data, BAT distributed by Brave as a reward for those willing to receive privacy-protecting ads).

You could argue that the tokens themselves are not needed and that we could do it with cash, but that would be missing the point: such systems could not work on a worldwide scale as easily as they work now, and the speculation is a desired property of the system. Most people are getting into the network not because of the $5/month they get from seeing ads, but because of the possibility of the received tokens going up in value. At the same time, the people who do want to sell their tokens and get cash can do so.
Ageism is often conflated with higher compensation expectations.
I remember Hollywood Video! When I was in High School my family and I subscribed to their monthly rental plan, lots of good memories there.
Maybe it’s just me but I always found the storyboards to be a nightmare. When it works it is ok, but I would argue no faster than just writing the code. When it doesn’t work and you have to attempt to debug an issue, hoo boy. I know how to code, just let me code the UI.
Yeah, depends whether the checklists slow things down more than the errors.
More conspiratorily, while SBF's mom worked for a Democrat-aligned dark-money PAC, Sam Bankman-Fried himself is rumored to have donated more than a $100 million to Republican dark-money PACs during the general election, and multiple Republican sources confirm that a person in the crypto industry was their "white knight donor" for a number of Senate GOP campaigns.
Same problem here. I'm siloed and no one wants to talk to me about anything else that's not basically the same thing. Part of the problem is I have lots of knowledge and experience in many things, just not in a way that can be neatly packaged in a format I can put on a resume.
I don't think this take holds up to scrutiny. Unless I've missed any recent news, Apple has currently said they will switch the iPhone to USB-C for the EU market but keep the lightning connector in the US.
... it is very peculiar that when I write a less than flattering thing about Apple, even when it is just partly relevant, certain people start to downvote my opinion. Only when it is about Apple btw, do not happen about something else.

Weird kind of devotees.
Maybe they can manage to not leak all their customer data for a third time!