skysight-inc/HackerNews huggingface dataset:
> When we observe this tendency in other (non-programming) contexts we may interpret it as laziness or short attention span. When we react this way to code we blame the code and the original programmer.

Strongly agreed. Particularly about a lot of examples of the so-called "clever code".

Programming is a profession. You can't expect to forever coast on what little knowledge landed you your first job. You're supposed to learn and improve over time. That means learning to understand more complex code, architectures and programming paradigms.

I can't read Haskell code at all. But I don't claim it's "clever" or "unreadable". I realize the code is probably fine, it's me who needs to pick up a book and learn the language.

There's rampant anti-intellectualism and (the bad kind of) laziness in programmer circles, thinly veiled as concern for efficiency ("less clever code = easier to debug", or "helps juniors contribute", as if the job of a junior wasn't - in big part - to be learning to become a senior); I find it just being penny wise, pound foolish. Lambda expressions[0], regular expressions, pattern matching, Lisp macros - this is not clever code, these are tools that can greatly reduce complexity and improve readability. They just require spending a few hours or days with a book, every now and then.

--

[0] - Yes, really; few jobs back, just after we transitioned to Java 8, I was told by my boss to maybe refrain from using lambda expressions for the sake of "more junior" people. Right, because polluting code with anonymous classes is easier on juniors than (event) -> { few lines; } in some GUI event handler.
Type 2 diabetes in most cases can be cured by diet, so such a treatment would be expensive and unnecessary.
Magnet is very well known trick for workers, so you’ll get fined for that. Besides, it only worked with old meters.
The three things I thought worth noting from this:

(1) The paragraph marker ¶ is called a pilcrow or alinea.

(2) The names sin and cos were invented by William Oughtred, whose 1631 book Clavis Mathematicae, The Key to Mathematics was the first use in print of the saltire (, a rotated +) for multiplication.

(3) Traditionally serif faces included a six-pointed asterisk, while sans serif asterisks had five, but in practice this is no longer an observed convention.
Recommended 5 minute read unless you, like the author, spent most of your childhood skiing. It's clear writing style and unusual setting made it worthwhile for me.

It's not sufficient only to consider the probability of a (binary) outcome. What's the severity?

I did some serious camping as a teenager and despite being mere children, we were cognizant of the consequences of not paying attention as several other teenagers had previously died doing some of the same activities.
Ear tip hack for airpods pro
What it the idiom "threw me for loop" referring to?

Non native English speakers struggle to grok these sayings...
The vested interest is the point. Why would you trust someone hyping a stock if they don't stand to benefit from any price rise?
There are $12 capture cards? Any recommendations?
I think the point is that we develop in a stream of consciousness. We figure out what we need, pull it in, do what we need to do as it pops into our thoughts. When we're done it's time to start writing. Take that stream of consciousness and make it more logical. Easier to follow. Refined.

That's how authors write books. No one writes a first draft and declared the book finished. Every creative effort requires iteration to improve.
> Every country on Earth could outlaw the technology and it would still be trivially easy for criminals to use it

Trivially easy but probably in practice too much of a bother. I imagine most traffic isn't between well trained members of international terrorist or crime organisations planning major heists, but people who are friends, family members and acquaintances.

They're already using WhatsApp to talk with other friends about every day things so start planning and revealing criminal behaviour accidentally without taking the trouble to move to another platform.
Ask HN: When do human-verification puzzles become offensive?
Dropbox prevented me from accessing my account via their mobile website by giving me a multiple-step puzzle to solve, to prove I was human.

After completing the first 4 steps, I was given an extra five to solve. To prove I'm human. When I tried accessing an account I use everyday. In a browser which has my credentials already stored.

Has anyone encountered similar experiences where these puzzles were more than a little inconvenient?
The "account" ban creeps over ie. using new phone number with old device or another device but with old Apple/Google account or phone number extends the ban. It seems the only solution is entirely new setup - phone device, phone number, Google/Apple account. Too bothersome for an individual but easy for spammers, one can get an impression while swiping.
This aesthetic exists everywhere. Move to a liberal city and you'll see plenty of matte colored "fuck-you" super cars, jacked up mad max jeeps, and dick-wagging 200k Mercedes G-Wagons with chrome colored wraps. People just love tacky. And in some aspects I do too....
To me, the absolute classic webcam is also the original QuickCam[1]. When I was MUCH younger (late 1990s), a group of us at a Global Trading Bank whose name I won't mention bought a bunch of them and set up a web server with all the video feeds in a Zoom-like tiled arrangement.
The page was so popular (especially as some of the cameras were owned by some of the ladies in our social group), that one time it took down the internal WAN connection between the London and New York office. Oops.

---

[1] https://wiki.preterhuman.net/Connectix_QuickCam
You'd have to mod the case and do some wiring, but since the ErgoDox is just a Teensy running QMK you could in principle hack it. I think all you would have to do is find an unused pin on the uC and then wire that pin to the foot pedal and recompile the firmware.

But the only real advantage to the ErgoDox over the Kinesis in my opinion is that it runs QMK: the key-wells are more ergonomic and the thumb cluster is better positioned because of the slight vertical height difference. And if you get a Stapelberg converter[1] PCB made, it doesn't look that bad to add.

[1] https://michael.stapelberg.ch/posts/2013-03-21-kinesis_custo...
I'm pretty tired of articles telling me I should do things.
Coding something in java/kotlin after months or years in only browser world is so relaxing. Maven (or Gradle) just works and upgrading packages is never a scary thing. And if update does break something, it is usually a small API change in some library which IDE will happily highlight for you with a red squiggly line. And what I love about Java is that you have very stable libraries for everything, where as in javascript world of you don’t touch it for a year your already a dinosaur.
In my own experiments with mathematical writing, rendering KaTeX server-side increased the resulting HTML size by a nontrivial amount. I bet that if you took something small-textbook-sized, in terms of bytes it would be smaller to ship katex.js and get it to render the latex on the fly, rather than generating the HTML ahead of time.

Bit of a sad situation, but then again HTML and CSS is not really the best layout language for this kind of stuff.
I’m missing a bit of prescriptiveness here. Here’s a formula I’ve arrived at after 15y of academic and professional programming - sharing here with the purpose of having it challenged by the reader:

* every abstraction has a cost - DO a quick cost/benefit analysis in your head, or even better in the code comments, when choosing for/against an abstraction.

* generally, start with KISS.
- a process begins with a verb and its design usually starts with being a function/procedure
- pieces of data that belong together across multiple processes should start out as an immutable object or struct. In python I’m almost never using direct descendants of object, rather I inherit either from NamedTuple (for final classes) or I decorate with @dataclass(frozen=True) for non-final.

* using the above, you’ll start seeing violations of DRY. DO use the rule-of-threes. If there’s a second repetition you’re either writing, or already anticipate based on the JIRA backlog - factor out the repeating code using an appropriate abstraction.

I’ve found that code written with these rules tends to be simple yet clean (these two properties can often be opposite, I’ve seen simple code that is constantly repeating itself and thus becomes unmaintainable, and I’ve also seen clean code that is the opposite of simple because of an abundance of abstractions (think FizzBuzzEnterprise).
This look pretty cool, but being free I fear it might exploit user data. How do you collect and use user biometric data?
I have been working along these same lines, but am still waiting for a Canon lens adapter to arrive so I can have decent glass in front of the sensor (the basic is OK, but I have a few Canon lenses that knock it out of the park).

Meanwhile, I have a slightly tweaked version of uvc-gadget that does not jump to 100% CPU when the camera is off: https://github.com/rcarmo/uvc-gadget
And likely will have similar issues in five years as node has now.

Node was once thought to be the cleaner alternative that had a lot of these features built in, it was the supposed savior of Javascript, and now look at where we are.
Yeah, theoretically that would work (cooling the gas before it hits your meter). The effect would be far larger than for gasoline. Based on the ideal gas law, dropping the temperate by 20C would reduce the volume by 7% while keeping the mass of gas the same! The change in density of gasoline is only ~2% over the same temperature range.[2]

However, you'd need to warm the gas back up before burning it as furnaces are typically tuned for a specific density of gas.

[1]https://www.omnicalculator.com/physics/ideal-gas-law
[2]https://www.ic.gc.ca/eic/site/mc-mc.nsf/eng/lm00129.html
As someone who had mild to somewhat less than mild pain in wrists and finger joints I can give anecdotal evidence that training works. Power balls (heavy ones) and Captains of Crunch (still can't manage no. 2) took away years of pain. In retrospect it's obvious but perhaps one doesn't think of any bodypart as one needing regular exercise. Have pain? Exercise!
Many fora have more politics?
Also you should not need to press "go to definition" 10 times in a row...
Fundamentally, the square of the speed of sound is dP/drho at constant entropy (P - pressure, rho - density). There’s no limit to the speed of sound other than the speed of light. Obviously, density and pressure are medium variables and typically P = P(rho, ...).
Indeed; looking back I misread the “>” is directional (e.g. ->) rather than comparative.
Is that using the tethering feed? I wasn't wild about the quality, ymmv, seemed lower res than my webcam. Here's how to do it using gphoto2 in Linux: https://news.ycombinator.com/item?id=23407365
I fear any car that can refuse to let me drive. There's no way they couldn't trigger that remotely in an individualized way.
Actually it is not a so new idea, for example the first publication I can find with this mention (brain-gut axis) is from 1980 [0]

Since there were nearly 3 thousands publications, but no real breakthrough in medicine.

[0] https://pubmed.ncbi.nlm.nih.gov/7301638/
Chrome as a separate entity would have a very interesting relationship with google. On one hand, Google would be willing to pay a large amount to Chrome to be the default search engine provider, much more than it currently spends on running the Chrome org. Especially since other search providers like Bing would be bidding for the same spot.

On the other hand, Chrome is nothing without promotion on google properties and being installed by default on Android. Chrome would need to pay Google an extraordinary amount to continue to be the default browser on Android. Maybe even the same amount as what Google would pay Chrome to be the default search engine provider.

Any agreement between Google and Chrome needs to account for both transactions - default search engine and default on Android.

The alternative is that regulators force Chrome to become a separate entity and also force Google to keep Chrome as the default for some period of years, although I don’t know if it’s possible for them to compel such an arrangement. If it isn’t, Google could simply release a new browser based on Chromium, just like Microsoft did and make that the new default on Android.

Even if regulators force Android to become separate from Google in addition to Chrome, it still doesn’t work. Now Android has all the negotiating power. It can create its own browser based on Chromium and charge Google an exorbitant fee for being the default search engine.

It’s frustrating when you hear people selling “just break them up” as a panacea without taking into account what would happen afterwards.
The juxtaposition of the traditionally “woo” topic and the high impact journal is a bit mind-bending.

Like reading a Nature article about crystals and auras or something.

More seriously, those field strengths seem pretty damn low. 3mT is way lower than the fields you need to polarise spins for something like EPR. Taking Zeeman splitting as an example of a magnetic field interacting with a paramagnetic spin: that will have an effect on the order of like 10^-7 eV, which is minuscule. Particularly in a human-shaped heat bath at 310K where kT is 10^-2 eV.

To put it another way: It’s surprising to me that a magnetic field would have significant biological effects at 3mT, yet cause no obvious acute effects in a high-field MRI at more than 3000 times that field strength (try taking 3000 times the therapeutic dose of aspirin, or a radiation therapy).

I’m perplexed. Interesting! I’m happy this was posted.
After finishing watching Jeremy Brett's Sherlock Holmes series, I have started watching Poirot. At first it didn't seem as striking to me as Sherlock Holmes(Holmes' and Poirot's character/style is very much different), but after a few episodes, I'm hooked up it, I must say. Highly recommend watching both of them.
Yup! I misread the “>” is directional (e.g. ->) rather than comparative.
Common obstacles to writing:
5. Time,
6. Priorities
It makes global economic sense to 'dump'. It just doesn't locally.

And to counter my earlier point, it makes sense globally if you value profit the same everywhere. But profit made by people in low income is worth a lot more. So are capital investments by those people.

This is the result of those people 'consuming more'. In more humane terms, this is the result of poor people having more of a need for money. But that is 2 different ways of saying the same thing.
This is awesome - show me the pre order button now and you can have my cash :-)

This ties in so well with my thinking on getting kids to perform the big important experiments of the past (measuring size of earth to extracting lime). How we got here technologically matters, probably
more than who was King or which battle was won or lost.
> He got awarded his bachelor by doing a 6 hour exam when he entered University.

I wanted to read more about that (I like such stories) but I couldn't find that story online. On Wikipedia it says that bachelor took him 3 semesters. Does anyone have the source?
Many treatments around the mind aren't completely understood, they've just been proven to work without too many side effects.

I think fecal transplants have a proven, or near proven ability to treat obesity and diabetes and used after illness or antibiotics have wiped out a patients gut microbiome.
Pro biotic supplements are already derived from fecal matter and widely accepted.
Under the right conditions its probably a low risk procedure.
That whole article needs to be taken with a very heavy dose of skepticism. The whole controversy was essentially consumers vs media, and wikipedia only takes "verified sources" - that is, media - so it's heavily biased.
The verbosity of MathML also has costs in terms of bandwidth (although that is mitigated by compression) and likely parsing speed.
I would add an option to order the locations by type of status. I was trying to see what countries are not accessible, but I couldn't get to the close section as it was too down the list (it stopped loading)
Weeelll... r/spacex has quite a lot of real engineers and overconfident opinionated amateurs get called out on details real quick.
There's https://pub.dev/packages/catex
> That criticism escalated in January, when Google said it would phase out the use of third-party cookies in its Chrome browser within two years to enhance consumer privacy. But cookies — small files a browser uses to track visits to websites — are also a key tool for publishers to demonstrate the effectiveness of advertising campaigns to ad buyers.

Congress wants more ads...
Key Disclosure Law
Recently I have developed wrist pain in right hand because of bending it slightly for pressing enter and other keys towards the end right end of the keyboard. If have been practicing to move my hand instead of bending. Seems like I'm feeling better, will practice these exercise too.
It can be prevented by diet and exercise, it can be managed by different means including diet, but IMO there is still no cure for Type 2 Diabetes.

https://www.webmd.com/diabetes/guide/is-there-a-diabetes-cur...
Time for me to get my meter out of the sun. And shovel snow on it in winter. But I suppose the biggest gains would be during summer where the gas dwells a bit as it draws intermittently.
Given the rapid development of the hobbyist landscape from 3D printing, I suspect it will only be a matter of time before Kinesis comes out with a split design.

Although the Kinesis is actually very easy to mod, and there are quite good resources on replacing the microcontroller with something that can run QMK. If you're not familiar, here's a link[1] to a PCB design that will route the ribbon cables to a Teensy.

[1] https://michael.stapelberg.ch/posts/2020-07-09-kint-kinesis-...
No. A honeypot would work though. This is an example of content that is bound to be shared often on HN. It's trying to be thought-provoking, is relatively old and doesn't require any previous reading or familiarity with a specific technology to be understood.
The only benefit to chrome running on Android is that Google paying them to use Google and maybe provide tracking. So it doesn't make sense to give back the same amount as other than Google's(or some other company's) money, chrome wouldn't want to be in Android in first place.
Anybody can trademark anything. And you have to _pay_ to register a trademark, not _get paid millions_ like Hunter Biden. Also, best I can tell Trump is the first president in 30 years that's not selling out the country to China.
The problem of the article is the same as the problem of the general discussion on how to program better: quality of arguments. Instead of conducting scientific studies on code readability, programmers keep on sharing their opinions which they support with anecdotes or citations of Shakespeare. There is so much for the community to learn about...
Differential testing for finding missed optimisations in LLVM's RISC-V back end
(semi-related) High risk activities like backcountry skiing and climbing do "teach" skills that are very transferable to software PM and change governance.
Risk tolerance is one of such skills.

Too much effort is often put into preventing low cost issues and scolding those who make them.

Beyond hurting morale, it reduces efficiency and innovation because everyone is afraid to make even a trivial mistake.

What I'm trying to say is...

"Move fast and break shit! ...But maybe not that shit over there because it's actually quite critical"
Maybe it was removed because it falls under "spying tools" category? If it's your own phone, you can easily track your movements via Google location history, but this one can be installed on your spouse's phone and will silently email you their locations at all times.
When in armchair-physicist speculation mode I’d always assumed that at some essentially limit density the speed of sound would tend towards that of the speed of light, and sort of conflate the two. The idea that the limit of the speed of sound is so ‘terrestrial’, so Newtonian, so within-our-domain kind of size (beyond personal experience but within the realm of extrapolation, if you will) absolutely fascinated me.
Preach it. The less cognitive load required to dive in and make changes, the better.

The young version of me wanted every opportunity to show off, but the grizzled veteran I am today is in love with simplicity and clarity.
Code readability is just one of the goals we aim for while designing software, performance is another, stability is another, flexibility and ability to make changes is yet another.

While reading any code I tend to think about these tradeoffs and see if that hard to read code is actually hard for a reason or simply a mess because no one took care of it.

Writing dumb easy looking duplicate code is not optimal either, I don't see an issue with stable, fast and efficient code that's harder to understand yet works brilliantly. One can easily increase readability of such code by adding comments but one can't get performance, stability and flexibility by writing comments.

Optimising for dummies just because code is easier to debug isn't a good idea, often times I have to debug easy looking code only to find that it's not that easy in execution as it was in reading. Simple code often doesn't handle all the edge cases, abstraction less code is harder to maintain and change, easy code can't evolve and grow with business needs.

It's only when code is unreadable, buggy and slow that it starts to become a real mess.

Also a shout out to Rich Hickey's distinction between easy and simple, creating simple code requires a lot more effort and thought and is not easy to just read and modify by dummies.
The TeXmacs book is just out: https://www.scypress.com/book_info.html
Only bad faith actors here are Facebook and the Governments
Why would Google accept?
But also:

- Do I respect people who have set up their PATH correctly (to prefer, by example, a newer /usr/local/bin/bash or $HOME/bin/bash than the standard /bin/bash)
Everywhere in the US, maybe, though based on regular SUV sales I'm sure it's only a matter of time.
Working daily with a blind scientist, I am translating the equations from old papers without good OCR in Fortran to discuss them. I haven't found a better way, but we would definitely appreciate more accessible content.
Points 2 & 3 in particular remind me of an Alan Kay quote — One can’t solve a problem with the same level of thinking that created it.

Any mention of solutions such as automated content moderation (Eg: detecting “fake” news) or optimizing slightly different metrics, reminds me of that quote. Social media platforms are so enamored with algorithms running at scale, and high platform-engagement being to the user’s benefit that they perceive every problem through the lens of such solutions.

For a succinct explanation of the fundamental brokenness of automated fact checking, see https://www.ribbonfarm.com/2020/09/03/wittgensteins-revenge/
It makes me wonder if it's really because institutional investors find WSB relevant, or because Bloomberg is flirting with Reddit investors, and trying to attract them to their reporting
I'm not a fan, but I liked some of his albums. Late in the eighties my group of architecture students invited him as judge for an architectural competition. He came and I was his assigned translator. He was extremely impressive, much more than most of the other famous people I met then. Certainly not as arrogant as all the other artists, a real gentleman and very interested in everything.