skysight-inc/HackerNews huggingface dataset:
IMO touchscreen are awful in any kind of vehicles or activities requiring you to have your eyes focused on something else than the display.

Like for smartwatches, I hate using touch controls to control it, I really prefer physical buttons since they provide multiple benefits

- keep the display smudge-free

- works with gloves (useful during winter)

- allow actions from touch-memory (ie: skip song without looking at it)
Thanks, that's interesting point. I see how it might be useful, but it's still looks as a minor optimization that doesn't outweigh the drawbacks of the model.

How do you deal with a situations when you have non-async/await code, and then you need to call just one function, which happened to be "async", and you can't do until you mark all your functions async as well? I find myself in this situation too often with Dart/Flutter, and it's especially embarrassing experience as it happens usually with a simple parts of code, where I don't need concurrency at all (like, get local directory name and store file to it). This "forced refactoring" also hits language design corners like "you can't call async functions" in constructor or `iniState()` and I end up writing async wrappers and other helpers functions just to make the whole thing work.

> it makes concurrency a _lot_ simpler

I find people put different meaning in the word "simpler". Do you mean that code requires less lines/chars to write or that it's easier to read and understand (those are totally different properties, often conflicting)?
Ask HN: How do you keep track of replies to your comments on HN?
Being one who reads HN daily, but rarely comments,
here's something i have always wondered -

How does one keep track of responses to one's comments on HN?

Often times the responses are several hours later.
I haven't noticed any notifications on HN.
Is there some obvious setting/trick i'm missing?...
Show HN: A Kubernetes Kustomize Manifest Validator
> Now it's like everyone is scrambling to show how "good" they are.

Regardless of their motives, their (responsible) disclosures generally benefit the users of the software. Also, it's work and seems fair to compensate them. Some of these bugs are not shallow and it takes a remarkable amount of patience and talent to find them, so in some cases they really are good and deserve some recognition.
Not really - you have your own promise implementation as `Promise`. Bluebird made `Promise.coroutine`, and that could've gone into the main Promise implementation.
Maslow's hierarchy is a philosophical model, not hard science. It's not even wholly embraced by the psychology profession, let alone any hard-science field.

Besides, the parent I was responding to was talking status for reproduction, not just sex.

Bear in mind that plenty of notable extremists have had partners and children.

I don't dispute that people are generally happier and more content if healthy sexual intimacy is a part of their life, but it's clearly just one part of a much bigger and more complex whole.
One reason might be, that you can blow away your user dir and start clean if something goes horribly wrong.
that's not "zero = owner dead", but it returns 0 if call was succesfull or the value of EOWNERDEAD if something was wrong:

If mutex is a robust mutex and the process containing the owning
thread terminated while holding the mutex lock, a call to
pthread_mutex_lock() shall return the error value [EOWNERDEAD].

as in "the current owner of the lock is dead without releasing it"

(edit: fix formatting)
Not to mess with system packages, but I sometimes do so in containers. I just started to switch to --user in containers so that my users would not have to rebuild python dependencies from scratch when they use it for development: with source bind mounted into /app, which is declared as the home of the app user in my container, as such, .local remains between builds on the developer checkout (like node_modules)
I find that French farmers have a tendency to fight and yell against globalisation but don’t bat an eye when it profits them. French agriculture is heavily subsidised too which hurts other European countries.
That's not a pleasant turn of phrase, but how inaccurate is it? We've all been angsty balls of testosterone at some point in our lives, and focusing that energy is the only thing that helps. Talking about feelings isn't always what's needed. Sometimes you have to get out there and break/make something.
Just because languages were more of a PITA in the past, doesn’t mean we shouldn’t pick out faults of current languages and search for new/better solutions...
Python is the first language that clicked with my brain as well and in college I often used it to prototype homework algorithms before translating them into the language I needed to actually submit my work in. I have nothing but love for python as a language.

At the same time even when I used it heavily I never saw it as anything more than a scripting language to sit in front of some tool that was written in a language I couldn't be fucked to learn at that moment (numpy and scipy were used heavily throughout my college career).

If I'm being honest I don't understand how anyone could get as worked up about a language as the people in this thread have. At the end of the day most of us are still writing unportable imperative code that runs like shit. Maybe blaming language is how we cope with our own failure as engineers.
Having taken my son to cub scouts lately, what happened when a girl enters what is normally a boy only space is pretty telling. The boys act different when a girl is around, and the girl plays social games with the boys that make it clear one boy was lessor and should be ostracized. (like she made it clear 1 or 2 kids were cool enough to be around her and everyone else wasn't) And addressing this behavior by the girls was never addressed because they didnt want to be perceived as being against girls in scouts. When the boys decided to ocstracize one of the others, it was addressed, but it was from my observation never followed with the girl scouts.

Further it lessened the amount of resources the boys got. Girls have to get their own den leader. So packs that had no girls had double the amount of adults attending to their needs, while others had an adult running activities for a single girl scout.

The idea that trying to teach young boys stuff like brotherhood is disrupted by adding a girl in the mix shouldn't be controversial, but here we are.
AR – Take off to your next destination with Google Maps
I thought that it was understood that Tesla has so far been better at innovating electric vehicles; while traditional car makers are better at mass production at high quality, and each is racing to get better at the other.
I cut my teeth in FORTRAN IV (on RSX-11M). I lived through the archie days of uuencoded fragments to build my C environment, supplemented by DECUS tapes. Those were good old days.

I use Python 3 these days for a lot of stuff. It's pretty good.

These are better days. We all have complaints, but on the whole, things are not too bad.

I think for the most part that when nothing meets your expectations, it may be that your expectations need to be adjusted.
That's all good and fine until you want this model you built with tooling you barely understand to be deployed. Then your gross data scientist spaghetti code gets handed off to some one who actually has the skills to turn it into a robust deployable code base.

I love that Python has brought a lot of people into programming and that it makes it relatively easy for domain experts to do advanced analytics. However, another side of me wishes that there were a less user friendly language being used for data analysis so that it would force all of these people to actually learn to code half-way decently.
Version 3.0.2 works fine to decrypt TLS 1.3

I'm using it right now, in fact, as I work on adding TLS 1.3 support to FreeBSD's kernel TLS
Alan Kay's group used packrat parsing with a slight modification to handle left recursion in their STEPS project. It lives in as Ohm(1).

At some point I tried to use a similar idea to build an incremental parser generator for Emacs (2). Currently abandonware, but think it has potential!

(1) https://ohmlang.github.io/

(2) https://github.com/felipeochoa/mole
"It is a poor workman who blames his tools — the good man gets on with the job, given what he's got, and gets the best answer he can."

—Richard W. Hamming[0]

I have rarely "chosen" to use Python at work, but it has never failed to get the job done.

[0] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2041981/
I had a super serious reaction to an antibiotic. I have been to mayo clinic and somewhere around 60 physicians with different specializations by now.

At least 70% of physicians have left me angry, they were simply wrong. Some would not take all symptoms because it is too much to handle at one time. My experience with western medicine has been pathetic.

Also, when I was younger I had a sports hernia. It is almost like a inguinal hernia except there is no bulge. I struggled for 12 months. 4-5 months in I had a hunch it was a sports hernia from my research. I have seen total of about 6 surgeons and 4-5 doctors for the issue. All told me it is a strain, gave me NSAIDs, suggested I see a therapist. I found a great doctor in California. He performed the surgery and took images. I had completely ripped 3 different muscles in my inguinal area. By the way, the doctors I have seen were BIG name Chicago doctors from Northshore, RUSH.....it was one of the worst experiences of my life and I often feel hatred towards doctors. The shittiest thing is, that initially it was one side but they gave me a go ahead to go back and lift at work, so I ripped the other side. I was too young, broke and dumb to sue at that time, because now I would take them to the cleaners.

I would not be surprised if software engineers do more research than them.
> If you're wondering why there was, and continues to be, resentment of the U.S. around the globe, the McDonald's protest is a pretty good example of how America manages to look like a bully to suit its economic interests.

but the US didn't sentence this guy to prison, it was French courts
Surely you don't suggest that this is a uniquely french behavior?
No shit, Sherlock! They go temporarily away (subscription; every year you can pay again; there was a time where this practice was frowned upon, and I remember that time very well), and my employer is a public benefit organization. 350 EUR a year is a lot of money for some organizations/people, especially non-US or the less rich EU countries.
He switch almost immediately after McCain died. Almost as if McCain had some kind of hold over him.
Not really, but from what I remember it wasn't uncommon for news magazine shows like 60 Minutes, 20/20, and Dateline to cover stories like this.
It's really not that you're a guy. Nobody gives a shit that you're a guy. It's that you're a whiny, myopic asshole.
> Restricting or banning truck rentals has a different effect on society than restricting or banning assault weapons, for example, so you approach them differently.

Yep! You can ban truck rentals with little to no side effects, while banning gun ownership has a history of leading to genocide. Or is that not the comparison you'd make?

> Or for the really facetious answer, here's a nice post detailing not quite the truck ban you asked about

I'm not quite sure what comparison you're trying to make here. Yes, most vehicle rentals require you to show a driver's license, but that's a technical competency requirement, not a intentions requirement.
China says it's own cryptocurrency is close to release
Time to check again, Wireshark can consume TLS 1.3 keys from a client or server to decrypt the session using the environment variable described here. I'm not actually sure which version you need, maybe 2.6 or later?
looks like they both like the same bootstrap theme ;-)
That's a good question. It seems like Chrome may be able to clear the environment variable so the TLS libraries don't see it.
Am I the only one who finds it incredibly hard to grok how async/await and "regular" sequential code interplay? In JavaScript I strongly prefer the regular Promise way of doing things because async feels like it's mixing metaphors. Being relatively new to Rust it's not totally clear to me whether the Futures example in the article could be made more readable - it's definitely pretty gross - but I have to wonder.
Thanks. I did edit my comment to remove the word accidently some time ago. I guess you hadn't refreshed your page for a while.
Then there was the US Mint promotion of selling and shipping collectible $1 coins for $1

The US Government made plenty of money since it costs very little to make the coin

But people paid for the coins using airmile or other reward credit cards and made huge rewards.

https://boingboing.net/2009/12/08/airmile-hackers-use.html
Somewhere, I can hear John Siracusa saying, 'curl piped into a shell? No thanks.'
> "Man in the middle" is not only an established concept it also is self-explanatory.

Being comprehensible and established does not make it "good" (sure, this is a relative notion).

I get your point of view about calling the interceptors "monster", but we are calling the whole process an "attack", this could already be considered a judgment call with this reasoning.

Monster are not necessarily evil though. A myth that Monsters, Inc is actively trying to debunk :-)

> All this quixotism towards grammar and language is very stupid and pointless.

Many non-ignorant people think differently, so you need to argue here. Saying they are doing a stupid and pointless thing will not convince them.
Changelog: https://gcc.gnu.org/gcc-9/changes.html

I haven't checked yet, if this is a usable version for C. 9.0 and 9.1 had to be blacklisted in most of my x86-64 projects because of huge optimizer regressions.
Python's actual competitors are Ruby, Perl, R, Shell, Visual Basic, Javascript, PHP, and Matlab.

Nobody's going to bother out OCaml or Lisp for web development, data science, or OS scripting where Python is most often used.
Host list that lists every one of their domains with ip 0.0.0.0
The more I get into synthesizers, the more I want analog controls (knobs, sliders, buttons, VC cable inputs!)
P++
Are you alluding to the fact that they eluded using the word 'alluded'?
I love Python but.... I would not go to the lengths that this article proposes. The dev world recreates itself every year with dozens of new high level languages and task specific support libraries. Every developer has their favorite language (Everyone is comfortable with their personal preference) That being said, I enjoy Python and it provides a quick, easy script to accomplish task in my space but I would not go as far as the article in saying that it is the end all be all for everyone. Use what you like, and understand that all languages have strength and weaknesses for task.
No, exactly the opposite is the case: For non-violence to work you have to remain non-violent while your opponent is as violent as possible. The whole point of non-violence like it was practiced by Gandhi is to win the propaganda war. If you take a beating while remaining passive and the media broadcasts it then you can mobilize more people for your cause. You may lose the battle but win the war; That is the idea.

"Non-violent protest" as practiced today by "progressive" groups is the most useless form of protest you can do.
I had never heard of Casella & Berger (but I'm the salty guy on the data structures threads going on about how great TAOCP is). I looked it up on Amazon and it looks interesting and like exactly what I've been looking for, but there's no "look inside this book" or even a table of contents on there. Before I pick it up, how much math background would I probably need to be able to penetrate it? I'm up on calculus and linear algebra, but I only took one statistics course as an undergrad 25 years ago.
Ebay for Zero Days? that's actually interesting.
Show HN: Golang and computer systems learning notes
Are we also going to change the middleman to middlemonster?
I think history needs to 'freely unfold' from the point where you're trying to make your observations. Up to that point, you can just include memories. There's a question on where to get those memories, though. Do you run simulations until you find a history that matches 'close enough' to actual history and just assume the memories formed there are good? (It's not even just memories. The placement of a rock, or the sting of an insect could have a big effect or none at all. And all that information is lost to the past.)

So, in the Lincoln assassination example, you could start the simulation at the moment you 'change history' because everything else that informs that moment is either present in your simulation (e.g., the temperature of the theater), or is in the past so actions on those items is informed by the participants memories. After that moment, I think you do need to simulate the whole thing. The reason is that the experiencing self makes decisions in the moment, and those decisions may inform the remembering self later.

And, of course, the whole thing rests on the nature of consciousness. If it's not a black box to the simulators they might be able to take shortcuts; or they may not have reason to generate consciousness at all if they know what consciousness will do in a given scenario.
How virtual environments works in Python
I often open a handful of news.yc tabs and go through them one-by-one, so it's quite possible that I had an older version of your comment.
What exactly is Kerala library for, never heard of it before?
nice to see a familiar project still going strong. :)
Oh the combinators in rust can be great. I think making the code read more imperatively is often a case of confusing the familiar with the simple. TS makes combinators way better too. That's why it's the `.await?` that sells me on the whole concept. Writing an error-path separately can be a headache, and as a result I still have daemons that have some dependency with an `unwrap` that sits there, poised to crash everything without warning. The `?` has cut the length of some of my modules in half. I've been waiting for a good way to do the same in async code for a while.
Design Principles for Packet Parsers [pdf]
OT: Your cited NCBI ref to the paper "Ten Simple Rules for Doing Your Best Research, According to Hamming" is pretty neat in itself [0].

e.g. "Rule 1: Drop Modesty", "Rule 7: Believe and Doubt Your Hypothesis at the Same Time".

[0] - https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2041981/
The virtualenv thing just galls me. Sure, pipenv aped rbenv - appropriately, I might add - but until they supplant virtualenv as the recommended way to have separate environments, I'll pass.
The Impact of Racism on Children’s Health
For killing aircraft carriers, mainly. The US’s eleven carriers are a key advantage over Russia (and China), and destroying those would be a top priority in a real shooting war where neither side actually wanted to escalate to nuclear weapons.
> At the end of the day most of us are still writing unportable imperative code that runs like shit. Maybe blaming language is how we cope with our own failure as engineers.

Sounds just about right ;)
Lets not forget that Bloomberg was also the publication that ran with and defended that whole 'Supermicro is totally getting spy hardware added to their motherboards by the Chinese government even though no one can seem to locate it' story. Something's... possibly askew with them of late.
How Stripe tells its story in 2000 pixels
I've owned a Tesla Model S for a few years now and its touchscreen has never felt like an impediment.

To be fair, though, the crucial controls are still under my feet and under my thumbs on the steering wheel, and those are all physical/tactile.
Funny timing, I was just looking at this over the weekend.

Another option if you prefer cat pictures: http://placekitten.com/
Thing of it as a different analogy. There are various chores to do around the house - some of them must be done synchronously (do the ironing - we don't want to leave the iron on). Some of them can be done asynchronously (run the washing machine). If you want to write out your tasks it might look something like this.

LoadWasher() (sync)
washerRunning = RunWasher() (async)
var cleaning = CleanKitchen() (async)
wetClothes = await washerRunning;
LoadDryer(wetClothes)
clothesToIron = await RunDryer() // while we're awaiting we walk back up the stack and can continue cleaning the kitchen until the dryer is finished
IronClothes(clothesToIron) // this is just happening synchronously
await cleaning //last job to do so we need to make sure we finish!

Don't know if that helps, but I think it's an interesting analogy
I wonder how much it would cost to do a similar service and just upload all images and dimension possibilities to S3 + use cloudfront cdn.
Left-Wing Reaction
> Also installable via pip, but... "not recommended", and:

If you install it via pip you need to update it via pip, the alternative would be insane. And the reason it's not recommended is that it doesn't let you use multiple Python versions, but if you're only using one version then installing by pip works fine.
I think there is a lot of truth to that article, but there are also things that it is missing.

In my experience, offering value to society is not rewarded unless you also have the social skills necessary to capture the rewards. The problem is that, at least in the United States, there are vanishingly few resources for learning those skills.

This is exasperated by the fact that in many cases the "socially excluded young men" are already emotionally/spiritually exhausted by their past attempts to provide value to society.
"Is this just a case of ‘Nobody ever got fired for choosing Blackboard’?"

Sadly I believe it is. My school recently moved off Blackboard for Canvas after at least ten years. While some teachers were relieved to move to a more modern system that supposedly offers them a better experience (it certainly offers students a better experience), many teachers rejected it as they did not want to learn a new system. My older instructors hardly ever post to Canvas besides updating grades saying they just don't want to learn it.

Luckily for whoever setup Canvas at our school I don't think they will get fired over it, but the resistance from staff makes me understand why other schools would feel hesitant to switch off Blackboard.
I have many times ended up billing more time because of TimeSnapper - time I would otherwise have forgotten about.

For me, it is worth the price.

I have used TimeSnapper on Windows for at least 5 years.
I'd assume they meant "built within an enterprise" in terms of internal tooling.
No, OP meant Dilbert. Here it is: https://dilbert.com/strip/2001-10-25
I watched that talk a while ago and it was great, thank you.
Coming from mostly Js/ts, I've had the opposite experience. I'm finding what I write on rust may be more explicit, but often less noisy. Using an error wrapping lib and ? everywhere made the biggest difference. May not be as efficient as the most optimized rust code, but far faster than the equivalent JS for the same thing. I also pray every day for macros to make there way into ts, since I'm constantly dealing with friction on the boundaries of runtime vs static code that rust handles nicely with a macro.
Being able to fix a battery used to be as simple as popping it open and putting in a new battery, rather than having an Apple "Genius" hold my hand and whisper sweet nothings while they charge me an exorbitant amount for the most basic of fixes.
What Is a Crypto Index?