skysight-inc/HackerNews huggingface dataset:
I've ridden motorcycles with no fuel gauge.

You ride it until it sputters, yes, then use the reserve (which gives you at least another 40 miles or so) and fill up.

Or just use the odometer to guess. I'd just top up every 200mi or so.

If you leave it on reserve you're SOL. :)

Remember the old Game Boy? You wait until the power light goes a bit dim and change the batteries.
It doesn’t matter if it’s equities or debt, once an assumption about growth in the future is made, then if it doesn’t come to pass, it is considered a loss. And who doesn’t like to make rosy assumptions about the future so that they can enjoy life today. Let’s assume 8% returns, so that we can save less and spend more now.

Well...now you have to work harder to make those 8% returns come true. And the savers get screwed too because people (aka government) will opt to pump up the value of equities to make sure the 8% nominal return comes true at the expense of sacrificing the value of the currency.
> It just looks like you are trying to hate google for the wrong reasons.

Ok, maybe I was a bit inflamed, actually I'm in a love-hate relationship Google's languages, both Go and Dart/Flutter, and using them more and more... but it happens again and again and again that I just wish there were some extra features that if we had them, code would be 10x smaller but still readable :)

Yeah, it's "over-reacting Monday" I guess :P
> So does linux, for that matter--ever try running a program linked to a newer version of glibc?

That doesn't mean the interface isn't stable or at least not less stable than the kernel interface or literally any iterface for something that is still being developed.

It would be nice if glibc would provide an easy way to target the ABI of an older version (which is compatible with all newer versions) but you can do that the manual way by compiling and linking against that old version.
Your co-worker couldn't tell you about doing a join in Excel's Power Query?
That’s “prone to misreading”, not “misleading”. The title is correct as written but there’s an argument for using a different wording such as “no simple” to reduce the chances of readers misreading it and jumping to conclusions.
I've been around long enough to have seen karma in action. If I pay enough attention, I often find that "karma" is another name for "obvious consequences".

The things that we're encouraged to blame for these mass murders: guns, crazy people, Republicans, white supremacists, etc. we've always had in USA. What has changed? I submit that over time we've been subjected to ever-increasing levels of war-media conditioning. We're constantly encouraged to fear, to hate, to destroy. Right now we're hating on Iranians and Venezuelans, with plenty of leftover hatred for Afghans, Iraqis, Libyans, Syrians, Russians, Chinese, etc. The idea is that we'll funnel that insanity into voting for, or at least tolerating, increased payments to armaments manufacturers, and the contrived wars necessary to "justify" same. Some people just aren't mentally pliable enough to focus on the desired end goal. If you tell them often enough to fear and kill, eventually that's what they'll do. Maybe they'll try to kill mostly "others" on their killing sprees, but maybe they're such loners that anyone human parses as "other" to them.

It's not a coincidence that the "first" one of these things took place in 1966. The military-media-industrial complex was pulling out all the stops on their first big project since Korea.

Yes, also, obviously, the wars have killed patriotism among thinking people. Again, though, it hasn't just been the wars, but also the industrial-strength war-media war conditioning that was necessary to bring them about.
A faster hash table for Node.js
Erm. You apparently don't know a lot about homosexuality... Homosexual children having problems with homophobic parents is a pretty common theme.

Also, same-sex attraction usually occurs long before any kind of "exploration", and doesn't seem to be any more controllable or malleable than heterosexuals would be able to control their attraction to the other sex.
Do you check for cameras before typing in passwords?
Cameras are everywhere these days. On the streets, in public transport, at workplaces, etc.

How paranoid are you about typing in passwords/sensitive info knowing that essentially you might be leaking it into the wild?

Did anybody research how often people get hacked through this vector?
Your comment is insightful but I feel like you're creating a false dichotomy:

>That's a far cry from the prevailing narrative from just 10 or 15 years ago, when very few gay people would admit that they might have any conscious control over being gay.

There's a large gap between "I'm gay because it's in my genes and I was born this way" and "I consciously chose to be gay". Social pressure and environment can probably play a role. Maybe (probably?) some gay people wouldn't have been gay if they had been raised in a different environment and vice-versa, but that doesn't mean that they ever consciously decided one way or the other the way you decide to go vegan or learn Japanese.

I like to think that sexuality is like food, music or anything else, what you like and don't like might be influenced by genes but it's obviously not the only factor at play. I doubt there's a gene for liking pineapple on pizza, yet here we are.
Sexuality and attraction in general is an immensely complex topic. "Born this way" is not the only explanation. "Environmental factors" is not the only explanation. Rather it's a sum of it all, and for some they was just born that way, and for others they became that way because of environmental factors. For most is it all combined. See this study for more info https://www.sciencedaily.com/releases/2008/06/080628205430.h... (you'll have to find the source yourself, I do not have access to it).

The simple explanation is that we simply don't fully understand how sexual preferences form. But that should be a moot point on this because why should people care? You're a human, I'm a human ergo we have the same rights. End of story. I know that is not the world we live in sadly.

The underlying issue here is a matter of unity. People want to be with people like themselves, and consider sexuality a parameter in this. Obviously we need to change that, but it shouldn't matter one iota why some people are gay.
Traditional media (news) is also toxic. For the last few months I stopped consuming it and my level of happiness and life satisfaction has gone up tremendously. I don't consume social media at all unless you count hn. I highly recommend that people try this. The occasional traditional news articles on hn are the only exception but generally I avoid them and never dig further. I haven't missed out on anything important. The news is mostly irrelevant and imo, harmful to one's everyday life. After all, it makes me feel helpless and hopeless. I can't change politics or politicians or disasters or crime or whatever. Watching the news just creates anger and anxiety over things that are purely out of my control. Fuck that.
By offline do we just mean the passenger's device? If the POS is online, then what might work would be to hash the ticket's details (user id, journey, time) with a per customer secret. Embed that in the QR code and it's basically a claim that, yes, this passenger would like to be billed for this ticket. The POS would then check the passenger's account balance or for a previously authorized credit card or whatever.
Yes.

But when someone is earning $8.50 an hour, and the manager overseeing them earns $100 an hour, I know who is responsible for the work.
Never worked professionally on a Perl codebase but I kind of liked it when I learned a tidbit and feel a bit nostalgic that it went out of fashion :P
The danger with “born this way” has always been that one day societies where there were social or political pressures and had the technology would try to “breed it out”. Maybe not in most western societies but possibly in less accepting societies.
I would like to say your comment is right on the nose, but it really isn't a helpful question at all.
Surely Apple pay works offline because your balance is checked by the card reader before the transaction is approved, in the same way it is when you use a contactless debit card?
It’s a scientific study so the citation is literally present in the story if you want to learn what they did:

http://dx.doi.org/10.1126/science.aat7693
> "Looking at the truly huge Youtubers, people on Patreon, Instagrammers, streamers etc it is clear that mundanity with high production values is what people want."

How about just looking at Hollywood box office numbers? A Michael Bay explosion spectacle makes way more money than some insightful art house movie dealing with complex issues.
I saw a preview of XLOOKUP at the MVP Summit in March and was excited about it (but couldn't say anything about it until it was released).

Here's my brief video on XLOOKUP along with a Peace Summit where a staunch INDEX/MATCH user and I formally buried the hatchet n Perth, Australia.

https://youtu.be/0KEhR66btUs
Retailers rethinking Google search strategies
Using Falcon Framework with Python Part 1 – Getting Started
Think of it more like becoming a child for a while, rather than having schizophrenia.

Or something related to meditation/mindfulness, focusing on sensory input.
I'd love to volunteer for the scripting language but I only have about 10 days. And I'm not very bright. But that's ok since it's unlikely to get much adoption. How does Scripty McScriptface sound for the name?
This is a bit like the question if people are born into poor families. As a kid you are never to blame for the circumstances and environment you have been born into.

You cannot choose to be born into a poor family, like you cannot choose beeing the youngest silbling, having a depression, being left handed or developing interest for the same sex.

Things like these happen to us independent of what we want, which is precisely the reason why it makes no sense to use atributes like these to single out individuals and spread falsehoods and hatered.

The weirdest thing is that everyone should know this, because we know that you can’t just decide with whom you fall in love with.

So just because there is no genetic deposition it doesn’t necessarily indicate that you can choose freely. Especially with desires that are rooted deep within, you can’t just go and decide that you have different desires from now on. That doesn’t mean these desires can’t change their shape over time, but influencing the how and what is neither easy nor possible in most cases.
So, I'm thinking about two asteroids in deep space. When they are drawn together in an orbit via gravity, this would seem to lower their entropy (a smaller number of possible microstates required to define their macrostate). So, gravity should produce some tidal forces that would heat them up to a greater extent than the entropy they lose for being brought closer together?
After a second or two of spooling the turbo yes - but it's not equivalent to an EV which has instant torque.
You may be thinking of the Fiat 126, sort of an updated 600. The 127 was a somewhat heftier hatchback, more like a VW Polo or Ford Fiesta.
How is that relevant to this post? I don't see the text you quoted there.
I remember reading about a German chap who used a McLaren F1 for a commute on an unlimited section of the autobahn - his average speed was so high McLaren contacted him to check that everything was OK.

The F1, in pre-internet days, literally phoned home to McLaren with telemetry.

Edit: I think you had to physically plug it into a phone socket... in case anyone was being put off buying an F1 for security/privacy reasons. ;-)
There seems to be quite a few BBS systems with SSH as a connection option out there: https://www.telnetbbsguide.com/connection/ssh/ :-)
Garbage in, garbage out.
This study doesn't mean anything as it relies on information provided to 23 and me. The question asked if a person had a same sex experience, which doesn't mean a person is gay, bi or straight. Further there are plenty of people that wouldn't answer truthfully to the question for a multitude of reasons.

Good for advertising clicks and idiotic comments that have already started to appear.
- Phone generates public/private key pair.

- Phone registers public key with backend during signup.

- Phone generates ticket signed with private key.

- Backend checks signed ticket against registered public key to charge customer.

Fraud is still possible but limited to individual customer accounts.
This breaks down with negative temperature, where adding temperature to the system decreases its entropy. https://en.wikipedia.org/wiki/Negative_temperature

Additionally, the Big Bang is theorised to have passed through "absolute hot" https://en.wikipedia.org/wiki/Absolute_hot
The EMV system (that makes contactless card payment work as well as "chip cards") has the card act as a representative for its owner (the card company, not you, you don't own the card and it tells you that when you get it) and it negotiates with the terminal for each transaction.

The card (on behalf of its owner) gets to say e.g.

"Hi, I am allowed to authorise $185 more offline before talking to my owner. I am allowed to do PIN transactions also I have a magstripe. What shall we do now?"

And a terminal could say "OK, let's do an online $28 transaction, with proof of PIN" or, "I'm good, $5.80 offline and no need for a PIN".

All this complexity opens up a bunch of potential problems (and EMV is guilty of not getting in a team of academics to figure out the cryptographic situation before shipping it, so it has had to be repeatedly patched and has a bunch of issues that needn't exist) but it allows Apple Pay to decide that e.g. you can spend up to $50 per time, and so long as you make an online transaction at least once per week and without spending more than $250 offline that's fine.

Both the issuer of the card and the terminal's owner get to decide on their appetite for risk. Probably if you sell $500 gold chains from a location with bars on the windows and an airlock entrance you want to do online proof-of-PIN transactions only, even if the card itself says it's happy to spend $500 offline contactless - and if your bank is trying to rehabilitate someone with spending problems (in a country where just exploiting them isn't legal) its card may tell the guy with a street cart that alas you need to go online and do a PIN transaction even for their $6 bagel.
> Given glibc isn't part of the OS, and that hence you can statically link to it

Unless you want to use any other library on the OS, for example 3D graphics drivers which tend to have hardware-specific parts in userspace.

> Overall it seems to me like coding against direct syscall numbers is a disadvantage on almost every front.

Which is why noone does it unless they have a very good reason.
Tell HN: Im offering free business advice via whatsapp
I am now offering completely free business strategy advice via WhatsApp voice notes.

If you want any advice or thoughts on business strategy (and all related subjects), data strategy, tech or creative endeavours you can reach my directly via WhatsApp on: +447923694877

Ask me anything. Nothing will be considered a stupid question.

No phone calls or long text messages please
This is very anecdotal, and it's not what the research is saying. They also published a website which summarizes their findingshttps://geneticsexbehavior.info/what-we-found/

However we probably agree on two things: sexual orientation is not always a scale where the more you are attracted to one sex, the less you are attracted to another. And as many articles stated, the result for this study mostly means that we are not close to having a blood test that can determine if a person is gay.
That there is no single genetic cause of same-sex sexual behavior is not at all the same as saying that 'born this way' is not true. Firstly, there may be multiple genes involved. Also, there is some evidence that the environment in the uterus plays a role. Also, that one study adds some evidence a certain way does not mean that we should forget everything that was found in the past. Including the fact that twins have a much higher chance to both be homosexual and the research of Simon LeVay.

I also am not sure we should draw much of a conclusion about what activists are saying. Activism seems to like aligning itself with what is most modern. That 'born this way' is now trending down says very little about either truth or what is going to happen in the future. Modern activism seems to be aligning itself with smaller and smaller minorities. Not that the people in said minorities don't also deserve to be treated fairly. People should take what people say about their sexual nature at face value instead of needing to know the precise label for something before being able to take it seriously. When we are talking about smaller and smaller minorities there will not be a label that is widely known for everyone.

To add some personal anecdata: my gay sexual nature seems to be about as fluid as rock.
Not a barrier.
> The question asked if a person had a same sex experience

Yeah i found that weird too. a Sexual experience is not "orientation"

Another interesting thing is that homosexual people use 23andme more frequently than the rest. Perhaps looking for clues like this
opportunity cost.
Thanks. I completely overlooked the time lag from issuance to usage.
Rather than rock or opera, give me a rock opera. The most interesting art comes from mixing things up. In that sense, Youtube is a massive driver of art today, with its many mash-ups and other crazy ideas that would never have been allowed by more traditional art gatekeepers. Of course it's mixed in with lots of pulp, but there's plenty of art on Youtube that's far more transcendental than yet another ballet.
For those who work there - I am curious, I occasionally come across complaints online that much of Silicon Valley and tech companies have a large "dirtbag left" (not my term, I am referencing what is written in the article) contingent of employees, who actively "cleanse" their ranks of all right-leaning employees.

I am inclined to believe this because of past stories involving the Mozilla CEO and the Occulus CEO and James Damore all being fired for basically not having heterodox views.

From the comments that I read across various forum websites whenever this topic comes up, the takeaway seems to be a chilling effect POV of "if you're right-leaning, make sure nobody finds out, and just do your job".

Of course it's very difficult to form an opinion sitting in another country based on what you read on the internet, so I was curious to know how true it is.
One of the British supermarkets does the same thing (can't remember which).
I completely believe you when you say you are “born this way.” I know many people in that boat. However, it still makes sense to me that only 8% of the variance in sexual orientation is determined by genetic factors. Some are “straighter” than others, some “gayer” than others, and some are more (or less) “born this way” than others.
Also you can do everything by yourself. No need for a mechanic. The motto goes "Hammer, Zange, Draht, kommste bis nach Leningrad". ('hammer, pliers, wire: it'll get you all the way to Leningrad').

And you have to consider, that this car basically never got an update (P 50 and P60 are pretty much the same car, just a different motor. The P 601 was built from 1964 til the end of Socialism. The 1.1 doesn't really count).
Are you sure they were using machine guns? That would either imply they are part of the military of zimbabwe's gun laws are very loose.
How to help minorities feeling included in tech
Such great content now hostage to that website, what a pity.

Also look at their nice django-oauth-server:
https://github.com/authlete/django-oauth-server
Your ssh rc is stored locally, to be executed on remote servers, right? Locally you have a home dir, but you don't on the remote.
ZAO
Solaris Linkers and Libraries Guide (PDF/html free on Oracle's site) is also an excellent resource - it is Solaris specific, but it's still good for understanding general concepts.
There's no need to "think" about it. Even old 16-bit Zorro had DMA and plug-and-play, which actually worked. ISA was a shit-show and often 8-bit wide, too. All PCs at the time needed networking adapter for Ethernet and the Mac network was dog slow. (I won't go into the software side, I don't have time right now.)
Malaysian and Bristolian here. A 'gap yah' Brit who his tourist visa several times working cash-in-hand and food and board jobs.
We're talking about a very clever adversary here though. If QA was was enough to catch every instance clandestine sabotage/spying there would never have been any incidents of successful covert action by foreign intelligence services.

You can inspect something all you want but there's always the risk your adversary has developed something sneaky you haven't thought of yet and aren't looking for.
No it's not, at least not always. Depending on the query, data, and/or indexes, PostgreSQL will optimise this into a WHERE EXISTS, which in turn is more or less the same as an INNER JOIN. Also, I think you might be commenting on the wrong post.
I didn’t read that comment the same way you did: note the words around “identify” - I read that as fully cognizant of the history of persecution causing people to go by labels they knew weren’t correct but more socially acceptable.
By that logic a top fuel dragster is pointless? For some racing is something that happens in a straight line, for others it involve turns - neither serves a purpose in the grand scheme of things and can be considered "pointless".
Try reading this Date module (which is very cleanly written compared to the codebase which I was supposed to maintain)

https://github.com/mojolicious/mojo/blob/master/lib/Mojo/Dat...

I just find it impossible to glance over it and understand whats happening even though I know what is supposed to be happening there.

Something similar in golang

https://github.com/araddon/dateparse/blob/master/parseany.go
This post could be expanded with what learning resources you found really awesome and why.

I use HN to find the best programming and math resources by using their search function, looking at the most upvoted learning resources or by scouring the comments and finding a consensus in a more qualitative manner.

On the top of my head: it led me to places such as Gilbert Strang for linear algebra or Eloquent JavaScript for a good introductory textbook and JavaScript The Good Parts for a more advanced textbook. 3Blue1Brown was a good channel for mathematics. And it is also thanks to HN that I discovered vimtutor. There are also a lot of references made her to Coursera course Learning how to Learn.
I work in medical devices and we could use reproducible builds a lot. A lot of tools will spit out different binaries at each run and it’s really hard to justify why you think the source files you claim to have built from actually were used to create the build.
Yes, religious belief can have adverse consequences - but that's a pragmatic argument on how to act, and has no bearing on the underlying truth of whether or not some god, however defined, exists. Or if there exists more than mechanistic, mathematical nature - after all, religion and belief in an omnipotent god are not synonymous.
A bus ticket just says you've paid some money to get on a bus. It's not a booked seat or anything else like it.

Also, historically bus tickets do not exist to keep passengers honest. They exist to keep the drivers honest. A valid ticket tells the bus company that the driver isn't taking passenger money but not declaring that money to the bus company.