skysight-inc/HackerNews huggingface dataset:
It is a conjecture from my observations, and I guess I should note that I am not qualified in this field to make official statements.

But I think the formula of “sleep right, eat right, excercise right, in that order” is pretty accurate.

“Sleep right” contains the stress portion of being healthy.

I do not even know if a proper controlled experiment could be conducted for such a complicated topic with our current technology. I just look at the habits of people I think are doing it right, and try to tease out the commonalities.

Discipline is really the one trait that I guess leads to success in the above process, and probably everything else in life. Who knows how much of that is nature vs nurture.
> it’s next to impossible to create a great cross platform app with a native feeling UI

And who do we have to thank for that? Perhaps there's some business out there that made a chocolate-themed UI toolkit that was notoriously proprietary and unworkable, so much so that it drove the industry into a software drought that only let up when x86 was fully standardized?

Maybe I'm just spitballing here.
If GitHub survives in court over this, I guarantee you someone will :3
Why do you put spaces before punctuation?
Thanks to the rise of SUVs.
It's a two way street. Why would I want to "get by" without a package manager, or "get by" without 32-bit libraries, or "get by" without a functional graphics API? I'm the user: the choice should be mine. If Apple doesn't present that choice, I don't consider Apple an option. Simple as that. As a developer, these points are non-negotiable. Apple has built computers for 30 years now, they should be well aware of that.
Yes, but captcha is on the form. I'm thinking more about a single-page app that submits form data via an API. That API call can generally be replayed.
An Oral History of ‘Independence Day’
> however it fundamentally doesn't make sense to take any group brought together by a particular need and have them design something for mass consumption

I see this line of thinking a lot when disability discussions come up and I think it’s fundamentally flawed. People with disabilities aren’t a homogeneous “group of people brought together by a particular need” - quite the opposite. They have many different and varied needs. The accommodations they seek are often the same I see developers griping about on HN every day: interoperability, hardware standards, and enough flexibility for the owner to decide what works best for them rather than the manufacturer.

Why is it perfectly acceptable for us to have these complaints about MacBook hard drives and batteries but a “hit piece” when people in need of accommodation have similar complaints about Tesla batteries?
Yes, the same way the law can prosecute you if you refuse to identify yourself
Proof of Humanity
I'm fairly certain that Tesla's are way cheaper than the model T was.

It isn't like families could afford multiple cars back then. They were selling less than a million model Ts a years - which would have represented a large segment of the car market.
> Do you mean to thwart copy-as-curl script kiddies?

Yes, that's what I had in mind.
Popular Techniques to Measure Readability of a Text Document
> sloppiness

That’s an understatement. There is a deep lack of understanding of IP issues as demonstrated by their public representatives. Surprising for a company like GitHub where software IP should be a part of their core competency. They have made defenses like “it’s public data” which means nearly nothing in regard to copyright enforcement. The Avengers is public “data” (it’s not data in terms of the law), that doesn’t mean you can use the content for whatever you want. It shows a total lack of respect for the work that the FOSS community does and their rights. This has irreparably changed my perception of GitHub forever in a strongly negative way.
I'm starting to think universities need to offer (and maybe require) classes about distribution and licensing as part of ComSci/Eng tracks.
So, you've never used GCE, EC2, or Azure? Because they all offer frequency scaling.
> It kind of feels like a "hit piece"

Is your comment a hit piece? The comment is mostly about the article; it doesn't much add to our knowledge of disabled people using electric cars.

Every article posted on HN receives similar responses. They seem like hit pieces to me. What can we learn from those motivations?
I know which company you are talking about :). I agree that abuse of mocks is bad for tests 100%. But when I clicked the link I was hoping to read an article giving a nuanced description of mocks, with some analysis on when to use and when to avoid mocks. Instead the article is just an opinion piece that just says "Stop using mocks" as if that was actually an option.
Plenty of productivity gained. Its just that its capital doing the work not humans
Who said anything about mining?
I think so too.

Unfortunately, integration tests are too slow, so the practice doesn't scale if one is trying to TDD.

Insinuating integration testing into every user story will lead to friction. Test run times will balloon, cycle times will get extended and resentment will grow for the test suite and the team's testing regime.

If your test suites cannot complete quickly (seconds), then they cost more than they're worth. I've learned this about outside-in TDD at-scale. Our code quality is glorious. But our test run times are untenable.

I'm experimenting with sociable tests to curb my appetite for integration tests or at the very least keep on writing them but make it safe/productive to run the vast majority of them on the CI/CD server only.
Except for the fact that you wont be able to buy or rent a house
clang and gcc have a -Wimplicit-fallthrough warning flag that will warn about switch cases that fall through without either C++17's [[fallthrough]] attribute or a /* fallthrough */ comment.

I made Firefox's code base able to compile with -Wimplicit-fallthrough. About one hundred fall through cases needed to be annotated and about 2-3 were actual bugs (though minor).
The scaling was quite glitchy in 2009 [0], and in 2021, the only allowed scale factors are 100% and 200% — so you don’t need floating-point numbers for it.

[0]: https://arstechnica.com/gadgets/2009/08/mac-os-x-10-6/21/#re...
Tell HN: I planned my suicide three years ago, hoping my end is now
I took major steps towards completing suicide back in 2018 and have held on since then. Things have deteriorated since then. Afraid to go but it's time. I pray for forgiveness.

If I'm crazy, I want to die. If I'm not delusional, then humans are truly shit (e.g. reddit [reddit is a ycombinator alum 2005/2006] stalking in 2009 and dozens of incidents since) and I want to die.

Fuck you, reddit scumbags and your Putin worship from long ago. Creepy ass scumbag fucks with data and algos. Good riddance. Get me off this ape planet.

Au revoir.
It’s a real jack of all trades, instead of moving media from package to package, such as animating something in Maya and combining with a camera track in After Effects, you can do it all in Blender.

With the recent Eevee real time renderer you get a common material pipeline with Cycles.

Add the exceptional 2D animation tools, and rapid improvements in sculpting and the speed increases of CyclesX to the mix and you’ve got one of the most capable pieces of software going.
No, a CSRF token only introduces information that is not part of the ambient authority of the HTTP client (i.e. an attacker cannot implicitly use it) – it is not uncommon to have deterministic or relatively constant CSRF tokens (e.g. the double-send cookie method). An n-once would fulfil your criteria but is importantly not a valid CSRF token unless it is also correlated or derived from something the attacker can’t know like a session; otherwise the attacker can use their own n-once to submit a victim request.
"There's no scientific evidence that this completely improbable thing CAN'T work, so pay us $200k for a fancy coffin!"
Neural2 | Full Stack Engineer | Remote | Full-time or part-time | neural2.com

Neural Squared is building machine learning based products for the luxury goods market. Our software identifies and authenticates goods by using a mixture of mobile phone camera and microscopic photos.

We currently have a small development team based in London, UK which works closely with the business team based in Japan.

We have our first system in production and are looking to grow our core development team.

Tech we use: Typescript, GCP, Firebase, Vue.js, Pytorch

Looking for engineers with experience in:

- Google Cloud Platform and Firebase stack.

- Typescript and Vue.js

- Building mobile apps, or porting apps over from web

- ML model deployment and integration experience would be a plus.

- Can work with our London team in GMT timezone.

We are a fully remote team, offering competitive salaries.

Email: jobs@neural2.com
EVs CO2 emmissions depends of the carbon intensity of electricity consumed.
So that is true that Germany with now 323gCO₂eq/kWh has a higher break even. But if you take the same data for exemple in France where electricity is much less carbon intensive, (now 32gCO₂eq/kWh), break even is as low as 15000km for an EV.
Germany should just emit less carbon for electricity generation.

[1] https://www.electricitymap.org/zone/DE

[2] https://ec.europa.eu/clima/sites/clima/files/transport/vehic...
what the author is talking about in a short rant is classical vs mockist TDD.

for better content on the subject:

https://martinfowler.com/articles/mocksArentStubs.html

https://martinfowler.com/articles/mocksArentStubs.html#Class...

https://www.thoughtworks.com/insights/blog/mockists-are-dead...

"The classical TDD style is to use real objects if possible and a double if it's awkward to use the real thing."

I've been working in a classical TDD style for the past 8 years, after at least that many years of Mockist TDD. A code base built in classical TDD style is much easier to maintain and change, but it does require more test setup which can easily be pulled into re-usable test data scenarios etc. We'll use fakes for services that are external(S3, DynamoDB, third party APIs, etc), we'll use real DB code pointing to h2 instead of say postgres other than that there's no test doubles. I would not go back to using mocks by choice.
Explain how, please.
Two words:

False dichotomy.
The design of this is in one sense fascinating. He has essentially thrown out all conventional wisdom of how processors should work, and designed his own system completely from scratch, including the design tools used to design it.

If you consider the possible amount of computation this system is capable of in theory, it is actually a lot, even if it uses very little power. Fully utilizing this power is another story. I tried to figure out how to use this chip theoretically for some computational problems. It has 144 nodes (called computers in GreenArray's material), and fast communication in a 2D grid.

Each node has essentially only 64 words of RAM + similar amount of ROM. Also, the chip is missing any floating point capabilities. The 64 word RAM basically means that any nontrivial algorithm must be implemented by many nodes communicating. There are simply not enough memory on any core to do much nontrivial stuff. This makes it very much a challenge to do anything nontrivial on it.

It only has access to 1 Megawords (2 megabytes) of external memory though one 18 bit data bus. This limits not only the amount of memory that can be used, but it very soon becomes a bottleneck for many algorithms. Now I realize that the low memory per core is one of the keys to the low power usage, but it does have a cost.

These limitations ensure that many workloads can't fully utilize the chip because they are either restricted by the amount of RAM or memory bandwidth. It is basically a very unbalanced system for many problems. For example, it could in theory maybe do well on some deep learning problems, but the restrictions to 1 megawords makes it only suitable for rather small models. You also get into similar bottlenecks for many other types of problems. I have not been able to find interesting problems where the capabilities of this chip can be fully utilized. This may be my lack of imagination. The chip does require you to think in a completely different way when writing programs, so it can be a worthwhile exercise, even if it ends up showing that it is not a good fit for you problem.
This (partly) solves some cases of the two generals problems, where you didn't receive a response to eg. a resource creation request but aren't sure whether that means that you can safely retry it, or need to use other APIs to figure out the ID of the created resource, if it exists

Some AWS APIs have it, eg https://docs.aws.amazon.com/medialive/latest/apireference/in... - I wish all their creation APIs did
> If there isn't any obvious structural link between temperature and wealth or comfort then there does need to be a clearer explanation of why one would develop.

What do you mean "if?" Thanks to my affluence, I sat out the heat wave in the comfort of central AC. It was a little warm upstairs; my principal discomfort was that the kitchen was so cold that I needed to wear a sweater. I went outside to take the trash out at the peak temperature just because I wanted to feel it. I drove my air conditioned car, already cool from the garage, to the air conditioned grocery store, and had to walk about 30m in the heat. I could have had those groceries delivered, but again, I preferred the "adventure." Only... we couldn't get food delivered because, I presume, not enough delivery drivers have AC. They're not as affluent as myself.

Wealth, comfort, and temperature are strongly linked. You know Bezos wouldn't need to go for takeout like me. Worst case, he'd call a dealership to deliver a car to a driver to do his errands.
“Public data” is not a legal term w.r.t. copyright. If the work is not in the public domain you cannot just use it for whatever reason you want. You must get permission from the author.

Second, code is not data, it is a copyright-protected creative work.

It’s really hard not to see this as him erasing the rights of individual developers for his own benefit.
You're arguing against a strawman.

Strong Town's "growth ponzi scheme" isn't about bonds (from my understanding).

It's referring to the practice of inheriting or overbuilding infrastructure, and then being unable to afford the maintenance costs of that infrastructure because the surrounding area isn't financially productive.
> I'm all for Pinterest and I think it's relatively healthier than the rest

I can't think of Pinterest as more than pollution of Google image search. They may be good, but the first impression is so bad that I don't want to go further.
this is simply not a universal experience. For myself, having no background in using other 3d software, I found blender 2.8 to be incredibly intuitive. I'm aware that the previous versions ui had a bad rap, but if a total newbie like myself can get the hang of it, it can't be all that bad
TDEE and calorie input explains weight changes within a 10% error margin.

> If you eat more, you will simply burn more calories as a result.

That statement is false. Calorie burn is a series of factors from activity, metabolism, size, etc. Caloric intake has little direct impact outside of how it affects your weight.

> Also, your basal metabolism changes in response to exercises, especially long term. Metabolism calculators don't account for this.

The effect is < 10% for base metabolism alone. https://pubmed.ncbi.nlm.nih.gov/16741271/
RAM is always the bane of machines like this. You can build a working CPU with a relatively few discrete elements, but a usable amount of RAM always needs many times more. Core memory is probably the only sane option in projects like this, save for Williams tubes.
Flexport (YC W14) Is Hiring
It probably makes some sense to reserve "nonce" for security/cryptographic use.
Very good point, unfortunately what tends to happen :

1. Panic
2. Backups ?
3. Panic
4. Shop for saviors
5. Buy new equipment & software pushed by saviors
6. Pay ransom (or have insurance pay it)
7. Be as opaque as you can
(Say nothing, glitches and accidents happen... // direct contact only customers & partners with confirmed affected data // vaguely refer to a cyber incident in financial reports // Creative legal communications plan // etc.)
https://en.m.wikipedia.org/wiki/Rat_Park#Replication
Despite downvotes, I think this is a reasonable concern, especially concerning all morally grey areas of surrogacy and black areas with current organ harvesting and past forced sterilization programs. Reproductive organs and rights to have them are much more important, so all the moral issues with transplants become more pronounced and important when reproductive organs become potential transplants.

What would CCP do in Xinjiang (or any of their death row prisoners) if there were a market for reproductive organ transplants? Voluntary participation in a market for reproductive transplants seems fraught with ethical issues. It is one thing to sell a kidney when you have too, in exchange for some amount of money and possible later health issues, but totally another if you lose the ability produce offspring. Will the hypothetical transplant sellers have position to negotiate in the full price of lost offspring?

These issues are too late to be resolved when the technology exists, because at that point there is tremendous pressure for anyone with any power to take the path of least resistance and maybe the largest personal profit. It is possible that the ethical route is not to do some kind of research (because we can), but start developing approaches we not yet can do but would result in a better future.
>> Soyuz spacecraft

Soyuz rockets. In english, "spacecraft" usually only means the bit that actually reaches and travels in space. The closest Russian word refers to the entire launch vehicle and so often gets mistranslated.

Spacecraft don't have keys for the same reason as aircraft: People will die if someone looses the key in flight.
The cow with the window in its side
As I've said elsewhere:

> It shouldn't do that, and we are taking steps to avoid reciting training data in the output.

Seems like he agrees that __reproducing__ copyrighted code is not permissible.

Also seems likely to me that Nat etc were probably misled / incurious (no excuse) about precisely what CoPilot would do in practice.
> Perhaps there are regulatory reasons for this or maybe Tesla simply hasn't been asked for or prioritized this functionality.

My guess, which I understand to be true with many similar issues: There are enormous safety engineering issues. Unless someone can demonstrate an enormous benefit to changing from a mature, well-tested, safe solution that everyone is already trained on, it's not worth changing. And regarding training: Imagine someone decided to change the driving controls for everyone; imagine the cost.
Pull requests very welcome! Even if to just update your team location and/or add internships and remote friendliness.
Secret Management in Kubernetes
The only scales supported by Apple software are integer scales (1x, 2x, 3x). The iPhone 6 Plus had a 2.6x screen — iOS would render at 3x and then scale the image down to fit. https://www.paintcodeapp.com/news/iphone-6-screens-demystifi...
I find I can do ITDD effectively with integration test times of < 30 seconds. I've even done it with tests of up to 5 minutes.

What makes it work is pairing it with a REPL. That way I can have an "outer" loop that triggers the REPL and then an "inner" loop where I can experiment in the area where I'm writing the code and get feedback quickly.

I might run the outer loop just a few times:

* At the beginning of the ticket

* When I messed up the state with the REPL and when I want a fresh slate.

* When I've pasted code I think will hypothetically make the test pass from the REPL and I want final verification.

* One or two more times after that coz I missed something stupid.

Often the waiting times are a good time to get up and go for a walk/make a coffee/check my messages.

>I'm experimenting with sociable test

What's this? I'm unfamiliar with the term.
This leaves with a bit of concern about how reliable is storage encryption on consumer hardware at all.

As far as I know, recent Android devices and iPhones have full disk encryption by default, but they do protect the keys against random bit-flipping?

Also, I guess that authentication devices (like YubiKey) are not safe and easy to use at the same time, because the private key inside can be damaged/modified by a cosmic ray, and it's not possible (by design) to make duplicates. So, it's necessary to have multiple of them to compensate, lowering their practicality in the end.

Edit: from the software side, I understand that there are techniques to ensure some level of data safety (checksumming, redudancy, etc), but it thought it was OK to have some random bit-flipping on hard disks (where I found it more frequently), since it could be corrected from software. Now I realize that if the encryption key is randomly changed on RAM, the data can or becomes permanently irrecoverable.
> This too shall pass.

Said John Maynard Keynes to other economists (1923):

But this long run is a misleading guide to current affairs. In the long run we are all dead. Economists set themselves too easy, too useless a task, if in tempestuous seasons they can only tell us, that when the storm is long past, the ocean is flat again.
Spot on. Very often doing an occasional (very rare) retry is acceptable.

Sometimes doing the same processing twice can be also a way to implement safe(r) rolling updates.
that wasn't satire, it was just an ignorant criticism along the same lines as "it's a crud app, there is no complexity"
Butido – A Linux Package Building Tool in Rust
Cars in general are not that useful for disabled people. There are people for whom a car can be adapted to their disability, but there are tons of people for whom this is impossible, including everyone with vision disabilities. If you care about mobility for the disabled, you should not be trying to center your plans around cars with wheelchair lifts, but instead around compact urban forms with broad, flat sidewalks, minimal obstacles, low-floor transit vehicles, and no cars.
My macOS laptop always had a four-letter braille string corresponding to the current IPv4 address on the tray, using xbar [1] (formerly BitBar). I'm aware of approximate shapes for frequent addresses so I could quickly recognize them.

The main problem with this approach is that, you can only quickly recognize strings that you already know and you can't quickly decode arbitrary strings. In particular braille glyphs are too similar to each other, like ⢁ and ⠡ which are almost identical. In fact the actual tactile braille has the same issue and can often be decoded only with the context. Something like 1892 braille [2] might be better for encoding arbitrary sequences.

[1] https://github.com/matryer/xbar

[2] https://en.wikipedia.org/wiki/1829_braille
That's far costlier than the Civilization tactic of letting your enemies build cities and their infrastructure while you build an army to conquer them.