skysight-inc/HackerNews huggingface dataset:
My thoughts precisely:

Humans are animals. Humans minds that operate on the conscious and unconscious levels. Both are involved in reasoning and thinking in the human mind. Language is clearly used at the conscious level; it is not so clearly used by the unconscious component of the mind. Non-human animals (animals) have minds similar to humans. These minds have the ability to at least work unconsciously. We do not see human-like language (I’m well read on all cases of talking apes and birds) in the animal kingdom. We do see at least unconscious reasoning in the animals, more and more often surpassing our expectations on the complexity of animal behavior. I hypothesize that the conscious mind is the instantiation of language, and our experience of being conscious is somehow an emergent property of this instantiation of language, and our ability to project information into the future.

Something like our mind’s realization in the value of reasoning about information, rather than acting on filtered sense input alone. “I think, therefor I am.” Think=think consciously.

This assumes the possibility of a gradient of consciousness. And I don’t claim that this is an explanation for consciousness, but rather narrowing the story for where it might exist or emerge.

”Edmund Leach once suggested that what unites all human beings is not that they are in possession of an immortal soul, but they are capable of imagining that they are. Perhaps (aside from the part about ‘immortality’) these are not such altogether different things.“
Behold!, as it all becomes the same thing in C++ with optimizations on:

https://godbolt.org/z/joh1jhdhq

Good production compilers recognize all these swap idioms and will compile them down (i.e., canonicalize them) to the same thing. In the case of things like swapping by adding and xoring, they'll often undo the cleverness and just use temporary registers anyway. These are the kinds of micro-optimizations that compilers excel at, so write the code clearly, leave that job to them, and worry about the high-level stuff that the compiler can't do for you.
Fixed it. The update is rolling out.
Nice try, intelligence agencies. Drugs are illegal but still bought and sold which means the state has monopoly on their trade, while also has monopoly on escalation of violence. Fundamental condition is having plugs in the law enforcement and intelligence agencies. Without plugs one has immediate full attention of law enforcement and of competition.
Extracting web page content using Readability.js and shot-scraper
> "They are not incentive aligned for students who make between 0-50k. Lambda gets no money."

The are aligned because <50k is a failure for lambda. They're aligned because they need students to make >50k.

> "They’re extremely unaligned for students making a little over 50k. The student takes home drastically less money because they hit the threshold."

The point of lambda school is to get people decent jobs when they didn't have any good options prior to that. A little over 50k where 14% of salary is paid back is the worst case, but probably still better than before. Definitely better than >50k of debt and no job from tuition costs.

> "But once you go above that range they are no longer aligned because lambda is capped out."

Good student returns funnel more students into the program. If you can succeed with this at scale it's a big deal. If they can actually teach people to dev vs. just selling a credential there are even more ways to build on this.
Woah, I was wondering why I'm not seeing new videos from him.

Turn's out, he even made a video about it and I simply missed it: https://www.youtube.com/watch?v=DVCpKfedfok
Nothing is stopping you from putting useState in an if statement. You just have to be careful since it's an "iterator." For example if you put it in an if branch you will want to also use it in the else branch so "next" is called the same number of times.
Also Macromedia HomeSite and first release of Skype.
I just didn't want to assume gender, and didn't want to go through comment history in order to find it.
Magpies are usually bastards, however, about a year ago a cat got run over in the street near my house and the only reason anyone knew to go to its aid was because a group of magpies stood around it in a circle shouting until someone came. Obviously I could be anthropomorphising this in the nicest possible way, the alternative is that they were taunting it Nelson Muntz style.
Request: since it's open source, put the android version on F-Droid as well. https://f-droid.org/
Here's the terminal one-liner:

shot-scraper javascript https://simonwillison.net/2022/Mar/24/datasette-061/ "
async () => {
const readability = await import('https://cdn.skypack.dev/@mozilla/readability');
return (new readability.Readability(document)).parse();
}"

To first install shot-scraper, run:

pip install shot-scraper
shot-scraper install
I solved it actually by making the container responsive.
I am a bit skeptic about the no css bundle advantage. What about all the bloat that is now getting added in the html ?

---

I spend 10-20% of my time writing css. I have tried pretty most of the popular css-in-js and atomic/utility css libraries but always keep going back to typestyle [1].

It may not be as succinct or as prescriptive as other solutions, but being able to write/parameterize/compose all styles in pure typescript is a big enough reduction in cognitive overhead for me to offset other advantages that these solutions offer.

[1] https://typestyle.github.io
Interesting, never even considered hard links for being a reason to have separate filesystems for /usr and /home. I only considered the resizing/system updates aspect of it.
In Brazil an x-ray exam will cost you no more than 90 BRL, or less than 20 USD in todays rate. And this is out of the pocket, without insurance. If a 3rd world country can have affordable healthcare, why should having minor health complications be synonym to bankruptcy in the richest country in the world?
Humans often -- but not always -- have 2 arms and 2 legs and 5 digits on each limb.

Women and men often -- but not always -- are cisgender/cissexual.

You are allowing for an exception to the heuristic in the first case, but not the second.
For web apps: TypeScript with Next.js & Vercel

Next.js takes care of your full-stack web app (client routing, server APIs, the fuzzy world of SSR/SSG/ISR) plus your whole dev/prod build (zero-config React & TypeScript, minimal config ESLint & Prettier)

And Vercel deploys it as easily as `npx vercel --prod`, or just hooking your GitHub repo up to the project through their web UI so it deploys on push. Their integration will even show the deployment status for each commit, from within GitHub.

It's a delightfully streamlined process, and a suite of tools that all have large communities and rich ecosystems.
If I were you, I'd delete this post.
Ask HN: Cleaning Old Silverware
Hi hacker news, is it economically reasonable to clean old silverware. Is there like a place I can take it to to get a large amount of it fixed up?

I really do want to keep my grandmother's old silverware set, but many of the pieces are discolored and rusty. Rusty. I'm actually afraid this might make me sick if I use it.

Let me know if I should just throw it out
I’ve liked how they recently roll these up, like “sixstringtheory starred such-and-such and 5 other repos.”

When they switch from stars to hearts, we’ll know the end is nigh.
Note that if you divide the total cases by the number of study participants, you get a total cancer incidence rate of 0.0326. If we assume roughly equal numbers of participants using versus not using artificial sweeteners and solve for AVG(x, 1.15x) = 0.0326, we get 0.0303 for non-users and 0.0348 for users. So your risk goes from about 3% to 3.5%.

Not nothing, but I'm not sure that really ticks off a worry box for me. Though I don't personally eat much sweetened food at all, artificial or otherwise (work from home and enjoy cooking, so I make most everything from raw ingredients).
You took the words out of my mouth.

Except I would say what instead of a certain applications this is true for the most of applications. If something doesn't uses tons of traffic/storage and is user facing then the resources spent per user are minuscule, you would spend more time and (even literal) energy to actually track and bill the user for the spent resources and somehow explain why some resources are billed for the insane rates (because you need to bill some thing for insane rates to make up $10 ARPU/month).

I had the same problem recently - I was musing about re-selling my monitoring solution (I'm using it myself, at like ~2% of the VPS I'm renting) and the first thing of course was the idea to base the price on the load each client would generate... and I pretty quickly come to a conclusion what I can't reasonably price things at $0.10 per unit, because the time I would need to spend on the setup is way, way more costly for me than that and that doesn't include billing hassles in any way.

So yes, billing per user is not only beneficial for the provider on the "user is paid wherever it uses the resource or not" but also allows the provider to not to spend time and money on actually implementing the way to bill the user for the resources.
I meant it's a Google account overall, is it not? I log into Gmail or Youtube or on a Google Search page, and I get signed in on all of them

English is not my native language, probably it's not perfect, I'm sorry
You can still highlight and copy with keyboard commands, though, somewhat defeating the protection.
Some things have libraries, like HttpCommand and the lower level Conga for network services. C FFI is done via the ⎕NA (Name Association) system function. Various Unicode encodings are available via ⎕UCS, etc.
Invisiline are actually 3D printed. Formlabs markets a printer for dental usecases. As long as your models and movement calculations are correct they'll work the same, but probably not an easy task.

https://dental.formlabs.com/materials/
At a previous company I (Head of Engineering) was pushing to move from Github to Gitlab. However it was exactly at the time when Gitlab removed their lower price tier (I think $5 or $10 per user) and butchered the free version. In addition to that, they do not allow monthly payment (only yearly pre-payment), which was incompatible with our business.

We were actually a Github paying customer and were going to pay to move to Gitlab, but given all those changes and rug-pulls, we decided to stay in Github. GH actions resulted to be enough for the CI/CD stuff we needed.
To me, it looks a lot like TailwindCSS but with fewer constraints. I tend to appreciate Tailwind's constraints, as it makes it easier (for me) to fall into the pit-of-success when trying to design layouts with consistent padding/margins/line-heights/etc.

I think cleaning up the hyperbolic marketing language would go a long way for me in terms of taking it seriously (the entire "Why" section does not actually communicate any real information).
How this is that different from inline CSS or e.g. Tailwind?
How is writing CSS in the HTML a good thing?

Maybe if your site is 100% static.
Courier (YC S19) Is Hiring to Make Software-to-Human Communication Delightful
Not a crow, but I have a parot companion. If you're still scared of printers someday taking over, you should really stay away from birbs.
Tangential question: Has there been a discussion already on why HN participants cant invest in such YC startups?
Show HN: Match 3 RPG
And you can put hooks in if statements too, but like iterables it won't have the effect you probably want.

it = ["hello", "world", "foo", "bar"]

shouldbehello = next(it)
shouldbeworld = next(it)

if sometimes_true_sometimes_false:
shouldbefoo = next(it)

# if the conditional is false this will be foo, oops.
shouldbebar = next(it)

Hooks aren't callback functions, they're functions that take callback functions. apparently this is breaking python. The naming convention is just so the linter can identify hooks, they're not magic.

def react_to_stuff(func, var):
orig = var.copy()

def monitor():
while True:
sleep 2
if var != orig:
orig = var.copy()
func(var)

t = Thread(target=monitor)
t.start()

stuff = "Hello"
react_to_stuff(lambda x: print(x), stuff)
Not sure if this is what the OP meant, but adding a bit is effectively doubling the size. 16 bits = 65535. 17 = 131071.
I absolutely love baby carrots. When I feel like having a snack in the afternoon or after dinner, it's much better to eat a bowl of baby carrots than to eat potato chips or similar junk food.

They keep for a long time in the fridge, and I can eat them straight out of the bag without any prep work.

I usually get 4 2-pound bags whenever I'm at Costco.
It certainly seems clear that renato_cassutt, who it is clear can taken constructive criticism and who has given very useful replies throughout the comments, meant no-one any harm; and neither I nor, I am sure, kranner meant to impute any ill intent. I can understand the appeal of pictorial representations of one's users; I was just, and I suspect that kranner was also, trying to mention the possible inadvertent offence that might result in this way, not to ruin anyone's fun but to save someone from an inadvertent misstep.
Spider Robinson explored this in his 1983 story, Melancholy Elephants:

http://www.spiderrobinson.com/melancholyelephants.html

--- start quote ---

There are eighty-eight notes. One hundred and seventy-six, if your ear is good enough to pick out quarter tones. Add in rests and so forth, different time signatures. Pick a figure for maximum number of notes a melody can contain. I do not know the figure for the maximum possible number of melodies--too many variables--but I am sure it is quite high.

"I am certain that is not infinity.

"For one thing, a great many of those possible arrays of eighty-eight notes will not be perceived as music, as melody, by the human ear. Perhaps more than half. They will not be hummable, whistleable, listenable--some will be actively unpleasant to hear. Another large fraction will be so similar to each other as to be effectively identical: if you change three notes of the Moonlight Sonata, you have not created something new.

I do not know the figure for the maximum number of discretely appreciable melodies, and again I'm certain it is quite high, and again I am certain that it is not infinity

--- end quote ---

Do read it It's scary and prescient.
Did you mean: How can I help? Maybe by supporting the Open Source intelligence efforts, see https://netzpolitik.org/2022/osint-in-the-ukraine-putting-th...
That's absolutely fair and I'm not trying to imply that cheap entertainment is all bad. It was more of a reaction to the parent comment, which seemeed to imply that the endeavour wasn't worth it.
Well I live in New Zealand, so that's a start. However, it's honestly not much help. It is for everyday run of the mill disasters. We did fantastic in Covid. But my assumption is the full breakdown of globalization leading to a massive reduction in the complexity of our societies. Covid highlighted "hey global supply chains are pretty resilient but not as much as you thought they were" and Vladolph Putler's little excursion into Ukraine highlighted "there are many weak links in the global supply chain that if enough of them snap will result in a runaway feedback loop and you will be in a whole new world".

I've spent hundreds of hours digging through https://oec.world/en/home-b and documentaries about various crisis sitauations in the world with respect to food, fuel, water shortages etc and sought out "doomsday" predictions from as far back as I could in order to backtest what people were saying 10 years ago etc. And yeah. It doesn't look good.
Your comment has the implication (intended or unintended) that there are situations where civilian casualties are perfectly acceptable.

My only real point was that who the Good Guys and who the Bad Guys are in Ukraine are predetermined by the set of assumptions you start with. Everybody who was paying attention isn't that surprised by the invasion. It's not even a puzzle as to why Russia would do it. They spelled it out quite clearly, and have been saying it for years.

Which is why I find the media narrative annoying. It's an almost perfect example of gaslighting. The only response to Russia's complaints about NATO meddling in Ukraine being provocative is to make some kind of counter-offer to offset the provocation. To suggest that there wasn't any meddling, or that Russia just invaded out of the blue for no good reason other than sheer evilness, is either staggeringly wrong, or a deliberate lie.
> "I avoided surgery, but they still billed nearly $70,000," Osman tells Popular Mechanics, adding that the bill included an abdominal CT scan, medication, and two nights in a hospital room.

Still exorbitant, but it wasn’t just for the X-ray. Ultimately it’s because hospitals and insurance companies are part of a legal price-fixing scheme.
I don't follow the experimental conclusion here. It seems like a demonstration of memory. What am I missing?
The article shows how what passes for evidence based medicine is an illusion.

The "evidence" is biased and corrupted by corporations, as are many of the people who evaluate it, set the standards, and make decisions.
Well it isn't an outright purchase for most people buying a phone on contract - i.e. they don't pay for it upfront, don't own the device upfront (typically you only own the device at the end of the contract term), and they pay a monthly subscription/contract charge to the carrier (who offers them a set of services in exchange for a monthly charge).

So I'm a little baffled as to why you are baffled that a 'pay monthly for a service where you don't own the phone for 3 years' could be considered more similar to the concept of a subscription than the concept of outright ownership.

Would you prefer the term 'Phone contract subscription with an inclusive phone hire-purchase agreement'? (Which I still think is more similar to a subscription than outright ownership).
I've had good luck without having to resort to legal process.
But some companies are recalcitrant about it.
> Is an electron app really a desktop app?

I don't have a hate on for Electron apps as such, and use quite a few, but they really are the worst of all worlds, particularly from the security point of view: you have all the ability of an Internet-connected web app to execute arbitrary code, but without any of the work that a full browser puts in to try and sandbox the ability to fuck up your machine.
We should pass a law to cap the maximum earnings from a single work of art to destroy the incentive for lawyers to strangle culture with predatory lawsuits.

Ex. Once a work of song makes $10M it should just go into the public domain. Want to make more? Keep writing more songs.
Sure. What I was trying to convey was that we were able to quickly write business logic and test the logic for functional correctness. We had initially assumed that writing sleep plus pluswas going to be very difficult, big prone, and tedious. Surprisingly this didn’t slow us down. But building and integrating was extremely expensive.
It's strangely summarized, but the full text (linked from https://www.researchgate.net/publication/344393003_A_neural_... ) has more details.

If there was a faint light, and the red target appears, the birds were taught (how?) to peck it. If there was light and a blue target appears, don't peck it. If there was no light, and the blue target appears, peck it, and if the target is red, don't peck it.

So peck a red target = "I saw a light", peck a blue target = "I didn't see a light". If the opposite color target appears to what you need to peck, don't peck it.

Or: Target is red, did I see a light? If yes, peck it. Target is blue. Was there a light? If there wasn't, peck it.

I didn't continue reading the paper, but I guess the researchers concluded since they crows could answer the "Did I see a light?" question correctly most (i.e. statistically significant amount) of the times, it shows they can ponder the contents of their brains.
Yeah I would stress dream regularly if I did this. Better to read a beach novel IMO
One day I was out walking by the water. A small bird was standing on a rock, apparently unable to fly. Crows were gathering and preparing to feast. I tried to scare them off, and sat by the little bird to prevent them from eating it. Silly, but it seemed right to me. The crows were not impressed. They became more daring, and eventually I decided to leave. A trio of crows broke off from the group and followed me all the way home, perhaps a mile's distance. They flew from branch to branch as I walked, with the tail crow moving to the lead every time. The tactical pattern continued the entire time.

Maybe it was just me, but for months I could have sworn there were crows out sounding the alarm whenever I left my apartment.

Bears are another animal that seem to recognize individuals and take offences personally.
Clearly we all remember the accuracy of DOD and CIA public assessments (there were annual reports to Congress) in the 80’s and their predictions of the collpase in 1991?

It is difficult to get a man to understand something when his salary depends upon his not understanding it.

- Upton Sinclair
This is illegal in the US due to the Magnuson–Moss Warranty Act.

They can only void the warrenty if they can prove that the damage is the result of the SDK usage.
I used to feel like I could always tell them apart, but the crows (I think?) in SF are very large
So how do you change an element style in different context, when it has hard coded utility classes?
Learn just a little bit of nginx and you should be fine with anything.
We must somehow account for the feeling of food. Hot dogs don't feel like sandwhiches, they feel different. Why is that? The cube rule gives us an answer to "are hot dogs sandwhiches", but it doesn't give us an answer to "why does it seem so wrong to call hot dogs sandwhiches?"

I think we intuitively know the following:

* Subs are sandwhiches
* Ice cream sandwhiches are sandwhiches, kind of (but they're not lunch).
* Burritos, hot dogs, and tacos are not sandwhiches.

But can we generate a list of rules based on the qualities of the things themselves that explain this? Maybe, I don't know.

But maybe this condition isn't a consequence of the things themselves, so much as it is of our collective associations and connotations to sandwhich. Picnics, lunch, cafeterias, Subway. Mom packing our lunch box. Maybe 'sandwhich' isn't located out there, in the world, but at the intersection of many places in our minds.
AWS Lambda now supports up to 10 GB Ephemeral Storage
My intention was not to express anger, wokeyness, etc. but I can see why that might be interpreted here. I identify qualities of myself in the author. So this isn't misplaced rage, more of a plea packaged as contempt to cut through this internet posturing we all do in this public place. +1'ing / sandwiching critique with agreeable statements is more of the same social network bullsh*t that I come here to escape from. I have no idea how to speak candidly to a complete stranger, this was my best attempt.

Unions? I'm all for them as a means to fix inequity, but not for me. That's my personal choice, and a privileged one at that. They certainly address the worker's rights aspect conversation that is worth talking about.

The article is an artifact of a personal experience, not necessarily an artifact of worker rights--or perhaps that's what I'm doing--trying to provide unambiguous insight to author that they a̶r̶e̶ ̶g̶o̶i̶n̶g̶ ̶t̶o̶ could be called out and tragically misunderstood. The internet can be brutal, no good deed goes unpunished. Also, I wonder how the author feels about unions?

All that written, my comment was a crude attempt to showcase that their attempt to connect with this community was undermined by the stank of their privilege. There are more elegant ways to obviate the smell of privilege, and to reach the intended audience (which I assume is every one of us).