skysight-inc/HackerNews huggingface dataset:
I was visiting the US for a conference recently (not defcon) and I bought a T-mobile tourist sim, great idea, cost me less than 1/3rd of what my normal sim would have cost; however they had a data cap at 2Gb before they aggressively throttled you.

I was very conservative in my use (thank you hacker news for being data-light) but managed to reach the cap near the end of my stay; my girlfriend who has no concept of what is heavy and what isn’t reached the cap in less than 2 days - after which; mobile data was effectively useless for her.

I can’t imagine what life is like for those who /live/ on data caps- I feel like most web developers don’t give a shit about how much resources they use, not just in terms of CPU/Memory (“lol, it’s 2018 buy a better pc!”) but also in terms of bandwidth; which is regularly out of user control.
debugging tour de forces should be a genre unto themselves. this one is a classic
You can install a system-wide adblocker if you have a Samsung phone.
Full fledged European roulette with instant withdraws, playable form 1 sat
Ironically, I think people on slow connections were early pioneers of using tabs for asynchronous/background page loading.

I don't remember where I learned the technique first, but when I was roaming the world and getting work done via GPRS internet, I'd open links in a new tab and let them slowly load in the background. I'd view the tab later and see the fully rendered content. It would absolutely kill this use case if the tabs would not perform their necessary AJAX calls until foregrounded.

For those not familiar with GPRS of those times, imagine a 9600-14.4 modem speed but with the latency of a satellite connection, so with almost any activity you start seeing 1 second ping times. Even when on ridiculously fast connections, I still retain the muscle memory which causes me to browse in breadth-first mode, opening articles and discussions into tabs in one sweep and then working through the tab list from left to right and closing each as I go.
I have a similar workstation (though 12 core I think) and recently I've thought about just running entirely separate VMs, each with dedicated cores and RAM. I'm sick of random slowdowns like you mentioned.
> You can literally pipe binary data into it at one end and receive that data into a program at the other end

That is the user perspective, not what has to be in a ssh program to work.
> Ug, not exactly sure what triggers PDFium vs PDF download, [..]

A combination of MIME types on the server and which application the browser is configured to use for a given extension.
Someone patched Wolf3d to work with the Ultrasound. It was amazing...
They failed to distinguish between

"I use the Chrome browser on Windows to get work done"

and

"I work at Google, making Chrome for Windows".

Human languages, what are you going to do?
Hint : Look at Portugal.
True, but the GP claimed that if we can order alphabetically we can create a one to one correspondence with natural numbers.

Obviously we can order reals (using <), I interpreted the original post as referring not to your definition but to "order and count"
pthreads don't guarantee fairness. futexes, the underlying locking primitive on Linux and the driver of the glibc implementation, don't either.

Futexes do support priority inheritance, so you can use process priority safely. You might drop priority after releasing a lock to ensure some other thread gets a go, and as long as you control the priority of the other contenders, that can work well.

Basics of futexes are here, but nothing about PI or fairness: https://eli.thegreenplace.net/2018/basics-of-futexes/
The Amazing FishCam – the oldest live camera on the Internet
I'll go into more details in part two, but part of the problem would have reliably disappeared if I had been running a single-core CPU.

Locks are hard.
There actually was. Particularly with doctors and lawyers.

Among regular students, not as much, but discharging hundreds of thousands of dollars of debt for a few years of bad credit when you're making hundreds of thousands of dollars is a great deal. It was a rational decision to make.
That's pretty impressive. My time between pages was spent asleep or reading reddit/HN.
Ironically, priorities as a way of "giving control" to another thread only work if you have a shortage of CPU cores. On my 24-core workstation I can normally run all runnable threads, regardless of priority. The implications are non-obvious.
I follow @HNTweets on Twitter (pretty much only thing I follow) and I scroll through it every time I have a free moment that would be wasted otherwise (bus rides or long queues come to mind).
I find it easier to follow because every post that hit front page goes there but posts are added only once and are ordered by time.
Good point. How's this:

I modify the source code of the Chrome browser in order to make the final PE files that are compiled from the aforementioned source code work more efficiently.
_getch() broken in VS 15.7
People on this website, in systems programming communities, and in articles about performance are constantly telling people not to use fair locks because they're slower, arguing that the overhead of fair locking is far too high for the problem it solves, which (they say) practically never occurs anyway on modern machines. It's hard to blame people for taking them up on it.
How to balance your business and personal life
Fairness is expensive. A lock must go to the thread that is eligible to get that lock according to fairness, even if another ineligible thread is executing on a CPU and is ready to grab that lock. The ineligible thread is forced to block, and the ineligible one may have to be woken up and assigned to a CPU. Until the eligible thread is dispatched and grabs the lock, multiple cores may wastefully go through a thread switch due to hitting that lock instead of just grabbing and releasing it.
Well, why not?

I can meet everyone on Tinder, and experience my friends/the town on Facebook just the same! </SARCASM>
I have a core i5 with 32gb of factory oced ddr3 ram that is faster than many ddr4 ones

My machine randomly has input delay or mouse even after new install...
> You're going to work as a "GP" with at most one third of the training of almost every other doctor in practice?

Not really a GP, more like a glorified triage nurse. Urgent care is where they give antibiotics out generically, and immediately transfer anybody sicker to the ED. (worked there, done that as part of residency)
You felt compelled to comment here though.
and Android users willing to use Firefox
@thyrsus (slightly off-topic)

I stumbled upon an old comment* you made about dealing with orgmode and noweb when editing an erlang file (bit syntax). If you didn't find it yet, at the end of the file, insert:

Local Variables:
org-babel-noweb-wrap-start: "{{{"
org-babel-noweb-wrap-end: "}}}"

then you'll use {{{chunk-name}}} instead of <<chunk-name>>.

*https://news.ycombinator.com/item?id=8185442
Yes because if you have a shortage of cores, you have more threads that are blocked or in a run queue. When you have threads queued, that's when prioritizing works: you need a backlog of waiting threads in order to choose the "best" one to proceed. If threads have cores, the prioritizing loses value.
Esthetic issues mostly.
Or how about

"I work at Google, making Chrome for Windows".
The Site of the First Ever Mcdonald's Restaurant – Outings
Show HN: Awesome Distributed System Resources from GO-JEK Tech
Didn't BeOS get this right?

I too wonder why UI threads are still so obnoxiously tied to... everything else. Put UI in the fast lane! (At least until some bug tries to make a bajillion calls a second)

Then I remembered how much more complicated it is to write proper multithreaded GUI code :P
This is a really interesting phenomenon. There is crazy irrational illiquidity on mid/late-stage startup equity. Right now the conventional wisdom is that it's better to go to Google & co because startup equity is all flickers on a wall because you can't sell. I bet in 5 years there will be a thriving private market for mid-stage company common and junior preferred.

I'd be really interested in to learn more about which "unicorn" you hold stock in and whether you're interested in selling some (as you seem to imply). I've been thinking a while about buying this type of thing (or even setting up a fund to do it). I think there is a lot of value to be had in providing liquidity to employees of these types of companies. There are a few reasons this isn't done much today, but I'm 95% sure they can be overcome. My email is in my profile if you're interested.
What a surreal discussion about something obvious: University and college should be free for everyone. First, this is a great equalizer in the positive way: it does not depend on how wealthy your parents are, so you get an equal opportunity. Second: the society as a whole benefits from well educated people. Accounts need well trained doctors, doctors need well trained accountants, both need an engineer to craft them a reliable car, etc etc...

Countries like Germany show that university/med school can both be free and high quality. Od course also in Germany some private elite universities exists where you have to pay (it is ok, I like diversity). But to get a perfect career, a state run university is all you need.
> The debt isn't really that much. Probably the average is 200k. You can pay that off within about 1-2 years of residency, and interest rates tend to be low since they're low risk loans for banks to give out.

Please try looking at the numbers again. Assuming you pay off undergraduate loans, a private medical school will cost $30-45k a year (not including living costs, so tack on another $30k a year), so assuming ($150-$300,000) will be total assumed debt (not including books, unexpected expenses, etc) during those 4 years. Residency salary is basically stuck at around $50k/yearly for 3-5 years (based on residency type), you can contribute back to loans but there's not a chance you're paying that off in residency. (source: current medical resident)
I would like to say welcome to Indonesia for the author of the post! I am Indonesian, and just like what the author described, it is also hard for Indonesian passport to travel around the world. There are some visa free countries we could visit, such as member of ASEAN countries.

Indonesia is big, and the foreign embassy usually only located on the capital, Jakarta, or other big cities.

It is hard for me to travel to country that require a visa because I, first have to travel to the capital, this already took a whole day off work, and also expense of travel, then either stay in the capital (more money for rent) or go back to my home city, then back again to the embassy once its ready (another money and time spent for travel).

The problem was not the money or time, the problem is that we cant be certain whether our effort will yield result (e.g for me to travel to the capital, say 2 times and say 2 night hotel stay, would be around $300, also around 4 days taken from yearly leaves).

Considering that, I’ll just visit visa-free country for now.
Delta Cargo appoints new Operations and Customer Experience managing director
I up voted all of the ancestors of this comment because I agree with all of them. Pretty much hit the nail on the head there. To add to the slow page load bit, I often read the comments to get an intelligent discourse as well as find out of the article is pay walled.
True, but who is setting the 50 unit limit? It's the people that already live there and don't want the riff-raff moving in and driving down their property values.

At the same time, if you own an lot full of RVs and mobile mobile homes in a rich suburb, you might end up running the numbers and deciding to throw all those people out, and put up some luxury condos, because you can make a lot more money per square foot.
>It seems like you're comparing gross margin on beverages, with net margin for a restaurant overall. Not apples to apples.

Oh brother. The high gross margins on beverages positively contribute to the net margins. The point is that most restaurants aren't crushing it, margins are thin, and a middle-man taking a cut doesn't help.

on
Facebook is riding in on its royal horses trying to connect (read: own the primary means of communication) the world like all the classically imperialist westerners before them.

The first thing they teach you in international business and/or marketing is that cultural considerations will destroy you if you do not devote effort to addressing them. If, in building a hyperlocal product (like facebook), you do not take the time to understand your local markets, then they will move in ways that you don't understand and you may not be able to control. Usually at your peril.

edit: as an example.. an international trade professor told us a story about how one of his expat factory managers had an affair with a local girl in a small town in a strongly Buddhist east-asian country. When word of this got out the woman's family raised royal hell for the factory and their operations and the situation was threatening to run the company out of town. Professor said the manager was given a choice: either marry the girl to assuage the locals or leave. (He chose to leave)
> but as I understand it, they are also leading investors in provider systems and in the malpractice insurance system.

You're completely wrong. There's actually the Stark law (https://en.wikipedia.org/wiki/Stark_Law) set up to prevent doctors from owning industry-related materia or self-referring to any entity with financial relationship. Not only that, but out of my network (100+ other physicians) very few are the 'leading investors' in provider systems, and zero have any skin in the malpractice insurance system. The MBAs run the numbers game, the MDs just work long hours.
Backend: LAMP with Laravel

Frontend: React for data intensive applications. Vannila js for everything else.
The HTML version is the legacy UI from a few generations ago, before features like inbox categories were implemented.
Have you tried https://hckrnews.com?
Not only from short-sellers. Many people bought TSLA at $380 because, you know, funding secured.
No, they're not that cool in day-to-day beyond a geeky gimmick, that's the point. Maybe it's cool in dated sci-fi, but not everyone subscribes to the idea of needing a dumb serf to boss around, much less of looking dumb bossing around a cheap circuit built by a cheaper company as if that's cooler than actually knowing your way around technology and keeping a modicum of control in one's life. Maybe I'm old school, I'll go back to vim now.
If anyone digs deep enough to unearth some of the instagram pages, please post them.
you could add the Android app Materialistic
It likely would have been simpler - being single for example is almost and automatic deny.
Could this be because many programs are still single threaded (eg. javascript on the browser), but multi-cores workstations usually have a lower performance per single-thread?
What's practical application of this?
CFG == function pointer checks prior to calling them.

The sparse/virtual bit mask is an optimisation technique so the validation of the target address is quick.
I strongly resent the implied concept that being "East European" by itself could be used as a valid argument to doubt the quality or integrity of a service.
Clean terms are possible, believe it.
I was once on a flight from Phuket to Bangkok, connecting back to my home in Tokyo. In such a case Thailand makes you pass immigration on the first flight, so Phuket, then your transit in BKK stays on the airside.

While taxiing to take of, the front landing gear broke so we had to go back to the Phuket airport (still airside) until another plan could be made available. Since we would not make the connection in BKK, they collected everyone's passport to stamp them with a temporary transit visa as we'd need to go to a hotel in Bangkok to wait for the next connection.

After 2-3h the new plane arrived, we flew to BKK and upon deplaning at the gate, a flight attendant came in holding a trash bag filled with all of our passport and proceeded to dump it on the floor and let the 100 or so passengers sift through the pile to find their own passport...

Good times.
Singapore: First Asian Global Hub for ICO Development Services
I always assumed the behaviour and categorization was in their backend. I think its weird that the view (HTML vs javascript) is not decoupled from the model?
I wonder where are they going to manufacture it, and what control and visibility will they have into their supply chains, both upstream and downstream?

Absent some very serious issue with the crypto implementation, that would be my greatest concern -- how easy would it be for a state-level actor to introduce some sort of backdoor or other vulnerability (even a subtle one, e.g. modification to EM radiation pattern) to either all or just a select subset of devices, either into components "upstream" in the supply chain, in manufacturing itself, or downstream in transit to the retailer/customer.
>Significantly derisked with product and economics proven, solid comp, crazy upside.

What, exactly, is "proven" about this model? It's food delivery. Smells like late stage bull market to me.
Except what you have here is a completely contrived example that shows you how wrong it is in the ridiculous lengths you go to try to make your point.

> the eggs from your own 3 specially bred super pampered chickens

I mean, sure, whatever.
Extra hot composition batch 68 – Channel FunnYCubemix (2018)
Having reached introductionary programming to university studendts, I would say that it’s subjective for the individual but still generally true that 1-based indexing is more intuitive.
It's everywhere. Simple example: Compare the differences--and even the subtleties--in information density between yahoo.co.jp and Yahoo.com.
I'd bet that if you searched for 'chiraq', you'd find some stuff.
You can always just get a normal dash button (those are "free" simetimes) and listen to ARP requests to determine when the button is pushed.
World's Largest 3-D Printed Reef Installed at Summer Island Maldives
https://mail.google.com/mail/h/
It's the shitty PHP projects they don't tell you about in the interview that people have a problem with that they then shovel on your plate.

But that really goes for any language.

The true extent of technical debt is almost never realized in an interview, but you can't really do much about it if you accept the job and they tell you to work on it.
FAANG

Maaybe. I'm not sure how this breaks down actually. Obviously Facebook, Amazon, Netflix and Google (and probably Twitter and a few others) are competing over one pool of candidates. But that that really/fully overlap with the pool that Apple and Microsoft are competing over? But as long as people are beating down the door to get in and look mainly at the free food and massages rather than the "big picture" why would they worry?
Isn’t that as long as you keep all your data with a third party? Not sure how that works for real privacy.
He called a cave rescuer a pedo (who's suing), and likely breached SEC regulations re taking Telsa private.

Back when spacex had three rockets explode in a row, not able to pay rent, failing marriage, he'd said he was closer to a breakdown than he thought possible... though he'd never give up.

He's later said car manufacturing turned out harder than spaceships.

So he mightn't give up, but give out. I'd rather keep our Elon.
if your manager doesn't care

These are the managers who bragged about maintaining blacklists, remember. They certainly do police thoughtcrime.
You started out declaring that 'depressants' are not physically addictive in the same way stimulants are which is a huge, huge generalisation across many disaparate chemical families with different types of actions. Then you said a particular stimulant is not physically addictive without additional behaviours, contradicting your earlier point. You also made some weird claims about cocaine.

> The question I am trying to raise is to what degree behavioral medicine is more a factor in this than physical medicine,

Well that didn't come across at all in your earlier posts, and I think you probably have a lot more reading to do.
Does FIDO2 imply WebAuthn? How do the two relate to each other, other than WebAuthn being an 'outgrowth of' FIDO2?
your post touched a nerve for me: on my last trip to the US I used my new Swedish passport. The experience was surreal in the sense that I entered the US with my US passport in 2’. Returning to EU it took 10” as I scanned my passport on a kiosk on my own. I originally have an Argentinian passport and sadly it’s only good for me for when I ocassiobally go back to visit family.
OTOH is funny to hear people complaining about the hardships of international travel, even if you have to go thru a lengthy process to get a visa. The fact we are discussing these topics probably puts a lot of us on the top 5% of income earners in the world. Privilege is the water we swim in, we just stopped seeing it after a while.
Low-carb diets could shorten life, study suggests
Not a typo and it's oral or armpit temperature. Japan is weird with their concept of "fever". When I get a flu shot, they ask me to take my temperature and I have to lie every time because they won't give me the shot if I tell them I read 37.4 C
I use Materialistic, an Android app on my phone. When i skim the headlines 1-30 i just swipe to save em. Has several themes, a black one which saves energy on amoleds and solarized too. Found it via F-Droid but i am pretty sure it is in the play store. Working and reading hn are separated that way.
But, he added, “if you have anyone who can do a better job, please let me know. They can have the job. Is there someone who can do the job better? They can have the reins right now.”

I think this hits at the crux of the issue around the performance/behaviour of Musk and other leaders of hugely ambitious companies.

And I think it highlights the importance of thinking about what kinds of people it will take to lead the next generation of such companies, and how we can identify and develop them.

I've never been any kind of Musk fanboy, and like most people I've looked on at his recent behaviour with some combination of bemusement and astonishment.

But when I see the hate and vitriol heaped on him, I'm compelled to wonder just what kind of alternative universe people are wishing for.

Do we actually want Tesla and SpaceX to fail?

Would we rather that Musk had just never founded Tesla and SpaceX, that the world didn't have any companies doing what those companies are trying to do, and that we were left to be content with the previous status quo in the automotive and space industries?

If not, then it would surely be better for the conversation to be less about how crazy or unstable or reckless Musk is, and more about how he and other leaders of today and of the future can pursue their ambitious goals, but to do so in a way that is responsible and balanced.

The alternative is not some as-yet-unknown-person-other-than-Musk doing the same thing but doing it better.

The number of people who are capable of building and running companies like these is vanishingly small and they will inevitably have extreme personality traits - some positive and some negative.

My concern is not for Musk's feelings, but for the way society goes about choosing, developing and critiquing the next generation of ambitious leaders, of whom we'll need plenty more if the world's increasingly complex problems are to be solved.

I should add that this applies whether we're talking about corporate leaders or political/community leaders.
If you're not writing tests first you're missing out