skysight-inc/HackerNews huggingface dataset:
But unless you think there's something special about today's literature, you have to wittle that down further, or over time there's just too many even for a 'championship reader'!

For sake of argument say that's an ordered list of your favourites. Why would you read Whitehead when you could instead read Vonnegut of yesteryear, last century, before that, etc.?

How do you pick something recent to read? A bestsellers 2021 list? Why cast aside something that eas an even better seller, just because it wasn't released this year?

There's just too much available, I don't think I could ever read something new, because I'll never (especially not at my rate, but nobody could) catch up with everything before it, about which more is known and had more time to digest and review etc.
> That doesn’t make it actually the case

To the best of our knowledge and experience with it comes to transplanting organs, it seems to be?

> doing so has a lot of negative consequences for our actual embodied selves

Can you elaborate? Organ transplants (and most likely other medical procedures) definitely throw wrenches into various spiritual & religious beliefs, but in the physical world (which we can observe & study), beyond the immediate risks of the procedure and things like transplant rejection and the need for immunosuppression (which are by now understood well enough to do procedures with a reasonable likelihood of success), what other negative consequences are there?

Organ transplants are done because the alternative is death or severely reduced quality of life and the patients, the medical community and society at large appears to agree otherwise they wouldn't be done.

I'm not saying there aren't some hidden consequences we aren't aware of, but so far we haven't encountered any. As we push the envelope of what's currently possible we might stumble upon new ones and figure out way to mitigate them.
Yeah, that's a better way to do it. I've been following rust for embedded with great interest but I'm not so sure the HAL work is really going in a good direction. There seems to be a lot of awkward design decisions going into the interfaces (and to be clear, designing even a simple GPIO interface which satisfies even most users is Hard, let along anything which works for something like a serial port). I've a feeling if I started using it in anger I would fairly quickly just write my own.
What are the most important statistical ideas of the past 50 years? [pdf]
Ask HN: Simple utility to schedule webhooks with at specific time and url
I am building a serverless application where in every invocation of a serverless function, I would like to schedule another future call with different payload and url. I am using Vercel to deploy the lambdas.

However, I am not able to find a simple way to just schedule the next function call, ie, an online utility that just takes (datetime, url, payload, headers) as inputs and makes an API call at the specific date time.

I had checked Cronhooks but it seemed quite expensive (5cents per webhook!). The value of these webhooks is not that high for me, hence looking for something much cheaper
It's never too late to learn guitar
I think the "doing so" he said refers to the considering of our body parts as swappable, not the act of swapping them. By not feeling like they're important integral parts of our identity, we may be careless with their health.
Why do you care about identity in the first place?
That looks like a lot of fun. For how simple it is, it seems about on the level of complexity of the sort of thing you could buy at Harbor Freight for about a hundred dollars. If it were that easy, why don't they sell these at Harbor Freight? Is making a reliable turbojet actually harder than it looks, or is there just no market for a small household turbojet engines?

I'm not sure what I'd use one for, other than maybe as a sort of blowtorch.
In grad school I taught a electronics lab class where the students would burn through a bunch of HDSP-0772 every semester. I thought about coming up with a replacement, but at the time you could still get them for a somewhat reasonable price (like $10 or $20?).

At today's price of $50 it might be cost effective to do as you say, but I imagine there's not a huge market.
Having distinct types for P0 and P1 is deliberate and is what is called "type state programming" in the embedded rust book [0]. The advantage is that you can prevent misconfiguration at compile time (ensuring that a given pin cannot be used in multiple places). In the Zig example, it seems to me (and I have zero knowledge of Zig, so sorry if this is inaccurate) that you can potentially introduce bugs where the same pin is used twice.

For a generic led driver, it should not use these types, but instead the trait types from the embedded_hal crate, such as "OutputPin" that is implemented by the different chip-specific HALs. There is an example of a generic led driver that uses these traits at [1].

In general I recommend everyone who wants to try out Rust on embedded to read the embedded rust book, because it clarifies a lot of the reasons and advantages of its approach.

[0] https://docs.rust-embedded.org/book/static-guarantees/typest...

[1] https://github.com/drogue-iot/drogue-device/blob/main/rt/src...
then your comment helps nobody which is against the guidelines.
The Art of Building Real-Life Components
First, we should be clear that this is my goofy hobby keyboard project --- if I was concerned about safety, I'd have written it in MISRA C or something =D

There are many things about this project that a compiler can't help me with. I had to read about all of the pinouts from a PDF, draw them on a circuit board, and then map those pins in the firmware.

The code only deals with that last part, and in this particular example I decided that it was safer on the whole for the code to be obvious (easy to read + compare with hardware schematic) than to go through contortions with types to make some things more checkable by computer but less-checkable by human inspection.

The main risk here is not passing the wrong value to this match, it's fat fingering the transcription from the schematic.
> in-game virtual goods. But as certificates layered on top of collectibles... I'm not so sure.

I agree - the problem with most NFTs at the moment is that you can't actually do anything with them, apart from trade them.

There are games coming out now (e.g. Goal Revolution[0]) where your NFTs' properties (and, by extension, value) change based on what you do with them (how you use them). If the NFT thing is going to have any future, it needs to follow this example.

[0] https://www.goalrev.com/
Treatment for problem gamblers uses mathematics to prove they cannot beat system

https://www.abc.net.au/news/2014-11-30/new-approach-to-treat...
See also: https://news.ycombinator.com/item?id=26373108

A risk that springs to mind is: unlike the legal concept of copyright ownership, an NFT could easily be accidentally lost by the person who holds it.
Show HN: Automated API documentation for Go(lang) projects
Am I on a right track? Looking for honest feedback from HN community.

Intention of the project is to simplify automated generation of API documentation and avoid commented Annotations in code base as much as possible - currently it's explicit via docs types declarations.

Also, currently its possible to serve SwaggerUI automatically, based on config you opt for. But if Swagger isn't your swagg, then you'll get generated OpenAPI compliant `YAML` file, which you could serve in any other preferred way.

You can join our [GitHub Discussions board](https://github.com/go-oas/docs/discussions) and give your opinion on:
1. Roadmap - what's most important to be implemented/fixed next?
2. Ease of use - can it be any simpler?
3. Does anything feel off? Would you use this within your own Go project?

+ And anything else you deem fit for a discussion! I'm good at accepting criticism :tada:

Tnx, HN!
I wish these things came with examples.

I'd love to hear more about how a culture that doesn't name children under 5, do their child rearing and generally go about their life.

Also, who registers to a website, but doesn't have a name?

At some point you need to choose an identifier if you want to interact with other people or their services, and you might even need to conform your identifier to something that someone can comprehend and reproduce.

And at that point most of these falsehoods disappears.

Illegal characters? Yes, you can't write your name as じゃわØÆÅ?+ on your boarding pass. No, your name on your boarding pass won't match your name in your passport, because the name in your passport conforms to whatever writing system in use in the country of your passport and the boarding pass accepts only ASCII letters.

And airports still runs 24/7.
There was an episode of some scifi anthology show where interstellar FTL travel is achieved by a similar matter copying.

Occasionally something goes wrong and the source is not "deconstructed" properly by the equipment so the procedure is for the transporter crew to terminate the original person.

PS It was "Think Like A Dinosaur"
Darn. And I just used one in my project, too.
Interesting connection but it’s kind of a big jump to say it was all a PR stunt, no?
Kelly here is the only way which is addressing the ruin, other two are (bad) tricks around initially wrong assumptions
It names convicted drug dealers who have probably been deported.
What does the tokens even mean anyway? It doesn't mean "I'm the owner of this one in five paper canvas art", it just means "I'm the owner of this one number, which someone decided is related to that digital piece of art for which there can exist infinitely many copies that are perfectly identical".

What does it even mean? Let's say I buy a NTF $1000 and get a digital copy, what prevents me (barring legalities) to perfectly duplicate it and massively redistribute it (not the token, the distributed supposedly high quality file) for a fraction of $$$ and turn a profit (because since it had such a high price it must be in high demand)? The question is not about the legal consequences but about the thing you own: of you have one original painting you have only one, it's quite hard to exactly duplicate it for resale.

I may be naive (the dropbox-is-just-rsync kind) but I've yet to see a tangible explanation of a use† of CryptoArt/NFT that could not be done with `xxd -l 128 -p /dev/random` and PGP[0].

† No. "being in the blockchain" brings absolutely nothing (except burning watts). If the author wants to reissue anything he readily can. You. Just. Own. A. Number. I also hear some picture the author getting a cut of resales of the token, which is even more crazy when you manage to entertain the thought while trying to keep a straight face.

[0]: https://twitter.com/lloeki/status/1366804865943556106
I mean, some of these depend on where you live. Some egomaniac in the USA probably can stick a number in their kid's name (I'm guessing that's going to depend on the state? Even Musk wasn't allowed to use numbers.), but generally it's not something that's allowed. At least not in the EU.
Some people have designed some systems that include that assumption in some places - they almost certainly don't believe that names are unique, but still act like they do.

For example, I have seen a (non-online) process designed in a manner that allow anyone with a matching name to easily and even accidentally gain access to the other persons' goods - e.g. you come to fetch your order, show ID that you're "John Smith", and get given all the currently outstanding stuff that's ordered by a John Smith, because the system is designed so that the employee searches by name, and the system provides a list of all the items that should be handed out without sufficient information to verify anything else.
I think it’s definitely a complex topic and not one that can be hashed out in a HN comment.

My thought is something like this: because we treat our “real selves” as just our heads/minds, we unintentionally or intentionally disregard the rest of our body.

To me, this seems to be related to some specific negative things like obesity, for example. Many people don’t treat their body with the same level of respect as they do their perceptions or their minds. Some old Daoist stuff delves into this a bit.

In short, because we treat our minds separately from our bodies and we privilege consciousness and speech/thought, it has effects on what we do.

It is also probably just conceptually wrong to think that our bodies are just a side accessory, especially when it comes to understanding how much of our actual intelligence comes from being embodied.

https://plato.stanford.edu/entries/embodied-cognition/
Plausible but I'm sure MS would have managed to extract a deal even then
Being waterproof and being waterproof against salt water or chlorinated water are different things.

> (don’t ask, not the proudest moment)

don't be ashamed - that had the potential to be a super cool picture.
Just a technical question about NFTs and physical ownership. Are NFTs just a cryptographic key that points to digital goods or do they somehow encode them? If the former then the image is "on the cloud" and therefore actually on someone else's physical network, and the key will only be able to access the goods as long as a third party keeps the encrypted goods on their network. Once money has been exchanged what is in it for the third party keep hosting?
Great article, and thanks for calling out "guessability" as you call it. It relates to two concepts in computer science, one from programming languages and one from human computer interaction:

1. Orthogonality is the property of a language that it constitute only a small number of concepts, but exactly the ones you need (e.g. C or Scheme are orthogonal, C++17 is not).

2. A good user experience (e.g. of a Web GUI, but also of a programming language) minimizes the violation of expectations of the user (Ben Shneiderman). "Discoverability" has also been used to describe this.

I agree with you that it's desirable for a language that you may have an intuition "it should be written as something like this..." and it just words. Thanks for calling out "guessability"!
Instances of types also have different memory addresses - that doesn't mean they're different types.

I think it's a hard problem because every microcontroller is different. A pretty common pattern in C land is to define a peripheral struct (eg I2C, GPIO) which has a 32 bit uint for each register in the peripheral, and then create a pointer to the physical memory address for each peripheral. That means you can write functions which take an I2C peripheral without knowing which one - and so if you decide later to move over to I2C2 it's just a case of changing one variable.

That works because broadly there's very little difference between I2C1 and I2C2, or GPIO0 and GPIO1, in the microcontroller. If they start being very different then you'd have problems with that approach.
Oh and also, if the whole separate types for each mapping thing is so annoying and wrapping the tuples is unhelpful, which is understandable, then perhaps safer to wrap just the pins in emums and then always access them via the enum?

Then it would be (enum type, usize)

Then also at times where all Pins need handling, the.exhaustive matching can reduce risks of not doing so?
Google’s approach to Black schools explains why there's few Black engs in Tech
I looked into this. The economists have really screwed up here.

Basically, Expected Utility Theory (EUT) is wrong. It happens to give the right result by coincidence when you set the fudge factor U to log(wealth), which all economists do without any justification.

Well EUT is corrected using the fudge factor, other parts of economics built using it are not.

The nobel prize winning Prospect theory, when you correct the maths, dissolves away into nothing. The theory says people deviate away from the expected rational answer due to psychological reasons. It turns out people use the rational answer, the maths in Prospect theory is just wrong.

Additionally, the famous St. Petersburg paradox isn't a paradox and has an exact answer.

This is a pretty big blow for economics and the economists on social media aren't actually being mature about it.
> Couples that refuse relationship counselling have higher divorce rates. But that would surprise no one.

It would surprise some; it's perfectly possible to take the view that counselling causes divorces.
I'm curious, what does that specific anxiety+ADHD combination mean for treatment, in your experience?

I'd imagine it could first of all be difficult to diagnose because the symptoms might occlude each other (i.e., 'getting important stuff done' despite the ADHD, thanks to the panic of failing something, up to a point) and also a challenge to medicate both at the same time, since I'd expect anything 'raising vigilance' to also cause anxiety and vice versa.
I can't seem to find the creator's name anywhere on the website. If he/she's not risking their name and reputation, should we really take their stock advise?
You don't, you have to trust it just like any other Matrix client. Hopefully there will be OAuth or something similar in the Matrix spec in the future, so you can use less trusted clients. If you want to comment with your user, but don't trust the client, you can use any Matrix client with Cactus Comments by clicking "Use a Matrix client" :-)
I think it's possible to have rapid releases without all the typical trappings of scrum. See: Facebook, who are decidedly not bust.

Maybe the answer is just 'hire better engineers'. Where better means they're good at the product decisions too.
I use VSCode for most JS work now, but largely prefer Webstorm for big codebases, and wouldn't dream of using anything but PyCharm for python. PHPstorm is a no-brainer unless you're still debugging by using print statements. IntelliJ and Android Studio made me not hate Java anymore. I forgot about GoLand, but haven't encountered an occasion where I felt I needed more tools. When that time comes, I know where I'll go.
> Use the combinations you enjoy.

Sure, but I think if you experiment enough you will converge on the kinds of brewing methods that are considered standard. Take for example gyokuro or certain kinds of sencha - it's quite objective to say that they shouldn't be infused in boiling hot water.

Or take smth like the delicate, flowery, fragrant Li Shan - would you mix it with milk, sugar, cinnamon etc.? Or flavor it with bergamot or jasmine? Sure you could, but you would objectively cover the flavors of the tea itself.
I think the point here is that many systems are built with a western viewpoint on naming (John Smith), as opposed to naming in other (Asian, African) culture.

"Mohamed bin Ali" literally means "Mohamed son of Ali". Ali is not their name, it's their fathers. Ali is not their last name.
Indonesians (and others) commonly only have one name (ie "Sukarno"). This is neither a first nor last/family name. It's their only name. Imaging booking a plane ticket or filling in any form....

The list goes on with examples.
> Let's say I buy a NTF $1000 and get a digital copy, what prevents me (barring legalities) to perfectly duplicate it and massively redistribute it (not the token, the distributed supposedly high quality file) for a fraction of $$$ and turn a profit

The file is usually publicly accessible, why would anyone give you money for something they can just download?
As a person with ADHD - there is one more layer: why some things cause stress in the first place—in my case, sending official letters causes a PTSD-like panic reaction. Usually, I procrastinate. If I try too hard to get over procrastination, I freeze or fight (which ends up with a meltdown, sometimes as hard as one culminating with a migraine aura).

Only a few months ago, I started looking at it. It turns out that sending a letter is a multi-step process. From printing something, signing it, writing the address (I hate my handwriting), going to the post office (often too loud, with long waiting times), sending it (with a proper type of email). All with delayed feedback (a killer for ADHD-like motivation). All in a way that a SINGLE mistake (e.g. sending 2 copies instead of 3, page 5 being unsigned, a missed deadline, etc).

Yes, therapy won't solve it. I am meeting weekly with a therapist for emotional stuff (but who is virtually clueless about sensory processing issues related to Autism/ADHD) and a "Psychologist on the Spectrum" (it's her FB page) purely for talking about such matters.

Ad substances, in my case, Modafinil works better than Methylphenidate.
Modafinil makes me focused while reducing anxiety.

https://news.ycombinator.com/item?id=25996353
There's a good reason airplane cockpits don't use touch screens, and that's because feedback is minimal and you can't use it in low visibility/panic scenarios, which can occur. Having a good old fashioned flip switch in a precise location that can be used with the eyes closed based on muscle memory can literally be the difference between life and death.
As an anecdote I used to use a spreadsheet to visually "assemble"[0] HTML code for a niche blog. Some cells would compute values to be used in other cells that would compose the final HTML code. Of course existent spreadsheets are way too rudimentary to use as an "Excel Code": cells don't act as a REPL for the language of your choice nor allow a "text view" with syntax highlighting.

[0] Maybe because I have a background in Architecture, I tend to look at code as I would look at a house plan.
Makes sense, and I guess given the above your conclusion not to use Rust seems like the correct call for your situation. Thanks for explaining further. It's true you say much of this in the article.
I wonder what their motivation is?
Models: Attract Women Through Honesty
This is what I hate about taxis: they expect you to haggle. I come from a culture where you pay the price on the label without any bullshit.
Do you know what "git" means?
There's nothing wrong with that. However, when a for profit company asks you to exercise your rights for them, it's at least a bit dubious.
I agree that most NFTs will be mostly useless outside of certain conditions. Ie. If I want to play a blockchain-based game NFTs in that game will be valuable because my client and other player client to the game is forced to accept that toke legitimacy. But outside of the blockchain-world? What's the point of a NFTs? I guess this who care to brag that they overpaid for a png or mp3...

But I feel this post is another excuse to accuse cryptoassets of wasting energy. Up until 10 years of so ago detractors tried to tarnish cryptoassets reputations by associating it with traditional crime. Now they do it by trying to associate it with climate crime.
> This was not a fully randomized study!

Which makes it practically useless since most observational studies are poorly controlled.
You can't pick and chose which bits of the standard to apply!

> meter out a 1 litre pot of water. now meter out 18-20 grams of loose green tea. what you brew (if you attempt it) will be flat-out undrinkable.

You've ignored the maximum size of the pot.

> If a large pot is used, it should hold a maximum of 310 ml (±8 ml) and must weigh 200 g (±10 g).

> If a small pot is used, it should hold a maximum of 150 ml (±4 ml) and must weigh 118 g (±10 g).
What I always find curious is that by the time the computing systems came online, the US had a substantial amount of their population with names "a bit different" and had to deal with at least composite last names and apostrophes and nobody noticed they would break?
Read the article, it weirdly shoehorns the “white male” thing in there between “we used savings when possible and worked 75 hour weeks until we had something to show.”