skysight-inc/HackerNews huggingface dataset:
I have biked to university here in Denmark, and while it might be nice in the summer, it is not something I ever want to do again in winter. Instead of having two fairly broad sets of wheels I now have two thin ones and a much higher center of gravity...
> There are about 4 billion people waiting in line to enter the US if they could.

No, there aren't, and most of the people who would if they could can't for reasons beyond border policy.

> There is infinite demand for migration to wealthy countries

No, there's not. There aren't infinite people outside of wealthy countries to start with, and not every person outside of wealthy countries would move to them if they could (as we know, because many who would be most able to—notably local elites—don't.)

> H1 I think is a good program overall, it needs to be tweaked for fraud.

H1B is a bad program designed to inhibit wage growth and needs to be abolished.
> Speaking something almost resembling the english language,

Dude... not cool.
> The problem, obviously, is not Agile.

Sure, any true Scotsman can see that.

What reason do we have to believe that Agile is so great, if (as you point out) most business aren't actually doing Agile?
> This may not be a matter of Upwork wanting to upsell the client

> Thus: the ultimate villains here are the tax/employment-regulation authorities.

Why be so quick to think that this may not have been Upwork's fault, but the ultimate villains definitely are the tax/employment-regulation authorities?

If there is a regulatory issue at stake, the correct thing to do is to disclose it quickly and transparently.

Upwork (and other freelancing websites) have no communication problem when it comes to telling you that you need to pay them some new fee, or when it comes to allegedly violating their terms and conditions. But when there's a regulatory problem, it's "just" a problem of communication? Hard to believe.
Is there a design doc or talk about the internals?

In particular are there any good resources about the details of using memory mapping?

I know how to implement persistent data structures (and it seems like lmdb is just a persistent b+-tree). But I don't know how to make it persist to disk. Is it as simple as using a memory mapped file for all memory allocations? Can all data structures be turned into a "database" in this way? If your workload fits in memory is there any performance difference between in-memory data structures? When do writes actually flush? What happens if multiple processes use the same file? etc
The way to everlasting peace is to be able to acknowledge: “we live in the shining city right now. Everything is operating according to the laws of physics, humans follow human nature and their genetics. Everything is exactly how it should be.”

This is not wisdom, it’s nonsense.

If we followed this advice 2000 years ago we would still be practicing open defecation and dying at the age of 30.
Elon Musk on double-decker freeways, permitting, and building sewers
UDMH is not hydrazine, and is said to be worse as it doesn't biodegrade as readily as hydrazine.

UDMH, hydrazine, and MMH are all very different beasts.
Sending session tokens to every subdomain, and also potentially leaking other sensitive data, is a pretty strong case in my opinion.

Of course, this isn't something that has a concrete right and wrong answer. It's more a question of how much you trust your subdomains. Personally, I think sharing that information should be a conscious choice when setting the cookies and not something that you let happen by default.
UDMH. This is why Musk can stand beside a crashed falcon rocket while a crashed russian rocket must be approached in suits.
The video demonstrates what a team coded on a 30 year old computer - the Commodore 64. It was done on a machine that - back in the 1980s - competed against monochrome PCs with 2 inch burping speakers. And the PCs won. But the C64 could do things as seen in the video. The demo was coded this year.
This is why I do not think adding generics is a good idea. Go excels at the areas I described. There's obviously a need for a language that is limiting, and many people enjoy Go for that reason.

There is no need for Go to chase Java.
Actually... we welcome you here! Have a nice stay.
We know that Wallace is angry, and didn't get clearer info until he hunted it down, and that's certainly a failure.

But his account doesn't include a timeframe of how many days he was in this "lockout" state. (Was it a day? A week?) It's not clear if other details would have come via other channels, if not for the early warning he got from his direct backchannel-contact.

And suppose he and the buyer had reached a de-facto understanding: "we want to contract you for all your hours; please hold back your hours from other buyers to be ready to take our assignments". That's somewhat indicated by way this was quickly discovered at the moment he finished prior assignments (seemingly from the same buyer), and the buyer tried to hire him for immediate followup assignments. It's exactly that kind of de-facto exclusivity, where a single employer assigns all your work, that gets you slapped by tax/employment authorities.

Were there other highly-rated, qualified freelancers the buyer could have used instead? Were there other buyers ready to contract for Wallace's services, at the same rate as he'd been getting? If either or both, then rather than primarily "depriving someone of… a key business relationship", Upwork could in fact have been ensuring enough independent-contractor relationships to keep both buyer and freelancer on the right-side-of-the-law. (It's possible placing a single gig with another freelancer, or taking a single gig from another buyer, would have been enough to prevent the lock-up.)

After all, the buyer chose Upwork as the only way they hire contractors – and explicitly rejected the option to hire or contract with Wallace directly. They wanted Upwork to ensure compliance with tax/employment-law... which may be exactly what Upwork did for their paying customer, albeit with missing, poor, or sluggish communication.
3D printing them in 24 hours is impressive. I've had some toys barely bigger than my arm that take longer than that to print.

Obviously these rocket engines are using a totally different technology, but it's still really impressive that they are able to build them so quickly.
There is definitely an intention to write some sort of JIT-to-xtensor compiler at some point. I've personally worked on a "simple" (1000 lines of Python) NumPy-to-Armadillo (C++) JIT compiler before, and we're in close contact with the author of Pythran, which also compiles to C++. So hopefully at some point you'll be able to go from NumPy to all the languages, and NumPy becomes a high-level array operation description language with multiple backends.
No, the accidents involving the USN Destroyers were due to poor bridge procedures [0].

[0] https://www.defensenews.com/breaking-news/2017/11/01/navy-cr...
Looks like a great port, thanks for sharing!
A domain is a marketing tool as much as anything else on your web page. If customers see a "www." in the address bar, it slightly dilutes the visibility of your brand in the main domain. I believe this is more important than any technical issue listed.
Maybe, but why would EV owners would ever shop at a gas station if they can charge their car at home, work or while shopping at other regular shopping venues.
The Builder pattern is a finite state machine
Generally speaking, I think a lot of developers get into trouble by not really putting the effort into grasping the ideology of architectural frameworks like REST, 12factor, and React.

For example, our API needed a way to serve a different view of an existing model. How do I get the API to know which view to serve? When I asked around, they said the best way was to do /cars/1/prices, which I didn't like because I feel it breaks REST. There's no price model to the car, prices are fields of cars, at least for now.

I had to think for a few seconds before coming up with just using a query parameter to set which view to serve, /cars/1?view=pricelist, preserving REST. But most coders just take the first thing that comes to mind, and then wonder why their applications are so messy after a few years.

Coders seem to not want to bother learning how existing solutions are supposed to work before jumping to a half-baked newer solution just because it seems more intuitive. If you understand REST, then you can see how GraphQL can improve certain aspects of API interaction.

But it's not a panacea any more than React is. If you understood how HTML, CSS, and Javascript are supposed to work, then you can see how React improves on it. But if you can't then your React applications will be just as horrendous as your jQuery ones were.
The Economist quoted the Onion! "The Onion got it right"
No mention of iframes and cross domain Javascript for some reason. One potential attack vector if you allow user defined content on subdomains is that they can embed an iframe of your primary domain and they use Javascript to read the contents and execute code in it. Which they cannot do if the subdomains are different unless the page inside the frame explicitly sets "document.domain"

Of course you can get a similar effect by using the "X-Frame-Options" header but if you are doing something like allowing user-defined content it is best to have layers and do different subdomains AND X-Frame-Options.

Basically if you have an application that allows users to host Javascript, either use a completely different domain or make sure your root domain doesn't host any meaningful content or have cookies that are used for security or privacy.
“Inside” is easily my GOTY 2016, it's phenomenal and the level of polish puts most AAA titles to shame. Then there is that ending... wow.
The world is filled with talented people not using their talents in their job.

Why do you assume that musicians in particular must be the ones to make a living from their talent ?
I've been struggling with understanding Ludwig von Mises' use of the term autistic exchange published in 1949 in his book Human Action. I was thinking that as a non-native writing in English he had more or less invented the term from auto. I had already established the words autism and autistic came into the language in the first half of the 20th century. This article now makes it clear to me he had been keeping up with the literature in other social science fields, and the early literature on autism emphasized the social withdrawal and detachment. Hence von Mises identifies autistic exchange with an economic exchange a person makes with oneself. The example he gives is a hunter who expends a cartridge he possesses to shoot a deer in order to eat.
Okay good point

If it's a solo project I would probably just stick to what I wrote, but for larger projects I see the benefits. Since someone might define another $color-variable elsewhere
> the only problem with exception-based handling is the lack of explicitness. [...]. Writing "exception safe" code is tricky and non-obvious.

Does it still hold if you assume automatic resource (memory/locks/handles/etc.) freeing? (e.g RAII)
How we fell out of love with milk (2018)
>Do you have a source for that? What sort of "stuff"?

Russians are still using hypergolic fuels rather than the methane/oxygen that most new generation launch vehicles are using.
A true cloud provider
The lack of feedback breaks classic waterfall. You get a plan, and the plan is assumed to be correct.

Of course it never is. As mistakes are revealed, unexpected challenges appear, and requirements are updated or clarified, the plan unravels instead of adapting.

The only real benefit of Agile is that it should - in theory - allow the plan to be modified, so projects can be steered towards a target instead of being treated as fire-and-forget. (And miss.)

Task granularity should not be a specific benefit - it should fall naturally out of competent goal-based planning in whatever paradigm is being used.
Ask HN: How would you measure if a job is meaningful?
I've grown impatient and a bit disgusted by how most job and contracting ads are focused on what stack is used and what benefits are offered.

It feels like these ads are not treating tech workers as creative people to whom doing meaningful work is important.

I've been working on a simple tool to help alleviate the situation a little, yet I'm curious: how would you gauge if a job is meaningful, if the "why" and "how" of it are worthy of your attention?

What do you expect from an employer or a client in order for you to feel valuable and meaningful in a position?
This opinion piece is really bizarre, how this kind of mentality turns from abhorrent to great when your target is supposed "rich techies"? The writer must understand the economic advantages of having productive and well-paid professionals moving in your neighborhood, the problems that arise from a sudden influx of people are merely infrastructure problems that will be fixed over time, with the tax revenue they bring with them, it's called a happy problem. You can't plan for it in advance because it's not economically feasible to add Metro lines just in case someone decides to build a campus somewhere in the city. If this line of thinking is fine, then you really can't argue with anti-immigration rhetoric since theirs is largely the same, irrational fear and hatred for change in a world that is constantly moving but would rather forego any long-term benefits because it inconveniences you in the now and shakes your precious culture you value over anything else.
You can also use modeling, which for a bunch of STEM people seems to almost never come up. Take projects you've done, do Monte Carlo simulations, and then start giving estimates with confidence bounds. Can also use things like Little's Law to determine lead times.
Well, negligible now, but isn't the entire purpose behind companies like SpaceX and Rocket Lab to make launching rockets much, much more ubiquitous?

And once rocket-launching is ubiquitous, should we not care that 100 smaller rockets are creating 10x more pollution as a single, massive rocket which delivers the same payload?
Not looking for a debate at all. (There's not really one to be had.)

>My initial reply to you was entirely fantastic; it had absolutely no basis in reality...

As long as you realize this, it's good. But there have been so many comments on HN the past week or so putting forth ideas of the sort you, rightly, see as more fantasy based that it's become difficult to ascertain exactly when someone is being serious. Such people have to be "sobered up" if we're going to effectively concert in seeking a solution to the larger problem:

The "winner take all" nature of the tech economy.
We solved this by having cloudflare manage our dns and they offer something like "cname to ip".
Freelancer here. I understand what you're trying to say. But this is simply not true. Freelancing existed before Upwork and will exist after.
Team finds and restores Mullard Blackburn vacuum tube manufacturing equipment
A team in the UK have located and bought the original equipment used by Mullard's Blackburn plant to manufacture vaccuum tubes (thermionic valves). They're now restoring it with the intent of restarting manufacture.

Project page: https://brimaruk.com/menugbvp/great-british-valve-project/

Twitter updates: https://twitter.com/BrimarBob

Call for volunteers: https://brimaruk.com/BrimarUK/wp-content/uploads/brimaruk-appeal.pdf
Agile always fails, because bookkeeping and financial processing in companies are not agile. Contracts with customers are also not written by sales with agility in mind. So in case time/money runs out agile processes and rules (like "never break a sprint" etc.) will always be ignored, because finance needs the numbers and the customer was promised a fixed feature set at a specific date for a specific price.

mandatory Dilbert Comic:
https://www.flickr.com/photos/lucaminudel/6059269914/
> What reason do we have to believe that Agile is so great, if (as you point out) most business aren't actually doing Agile?

Read the anecdotes on the other end. People who have reached the shining city the article describes. It's a nice place to be. There are a few in this thread alone. I've personally experienced it as well. It's great.

> Sure, any true Scotsman can see that.

To continue the analogy, this is roughly the equivalent of declaring myself Scottish because I'm wearing a kilt and playing bagpipes. I have no connection to the country of Scotland presently or historically, but I'm doing the things that Scottish people are stereotypically associated with, so I must be Scottish, right?

At that point, I think it's fair to call my bluff.
Plenty of musicians make a living out of this so I'm not sure your point.

The industry is saturated. Recorded music is cheap to produce and easy to consume. That wasn't always the case.
> Governments worldwide need to rush to figure out how to pay for roads when there is no gas tax revenue.

Gas taxes pay for a fraction of new roads and road maintenance in the US. A large part comes from general taxation. I think it should be more direct.

This is an article about cycling, but it describes the problem: https://momentummag.com/free-rider-myth/

Here's another article that I haven't read but seems to have a breakdown for highways but not all roads: https://www.citylab.com/transportation/2015/05/debunking-the...
What if We cured cancer?
If you plan to use a CDN in front of your site at the Apex, it severely constrains your options. You either need to pick a CDN that only uses anycast, so you can plop in a staticy A record, or you need to delegate your domain to their nameservers so they can send different resolvers different records. Those aren't necessarily bad options, but it leaves out a lot of CDNs that either don't do anycast or do a mix of anycast and unicast, and it leaves out the possibility of using geodns to use one CDN in one region and another in other reasons.

I'm a bit scale focused though. If your site is never going to need a CDN, you can of course pick aesthetics over serviceability. But if this is something you hope to one day get big, you might as well make an easy decision to prepare for it at the start. You will want to support any inbound links you get for as long of forever as possible, so it's nice if they are to the right hostname to start with.
This particular article doesn't claim the new Macs can't boot Linux, only that you cannot boot Linux (or anything aside from macOS and Windows) with secure boot on, because you can't load your own trusted keys. Pretty much all other hardware in the price range allows you to load your own keys, and thus securely boot anything you want.
Clickable links:

Project page: https://brimaruk.com/menugbvp/great-british-valve-project/

Twitter updates: https://twitter.com/BrimarBob

Call for volunteers: https://brimaruk.com/BrimarUK/wp-content/uploads/brimaruk-ap...

And here's a video of the Blackburn factory in operation: https://www.youtube.com/watch?v=GDvF89Bh27Y
And for another anecdote: Boston. The stops at Central and Kendall on the Red Line can be positively deafening at times. Almost as if my whole mind is shaking to its core and I'm about to be thrown into another reality.

However, I've always been sensitive to loud noise, so others may not skip a beat.
"Hi boss, I can't show up today, I have sick building syndrome. Actually, I won't be able to show up ever again."
He mentions rising oil prices, and engineering a price spike. But this week, the headlines are all about a glut of oil:

“Crude oil suffers longest losing streak since 1984”
https://www.cnn.com/2018/11/08/investing/oil-prices-bear-mar...

Graph:
https://www.marketwatch.com/investing/future/clz8/charts
1000% yes. This is one of the big things that would prevent me from ever going truly "iPad Pro is my computer"
> or pretty soon we're going to be spending hundreds of trillions of dollars evacuating and protecting our coastal cities

a pretty laughable problem to always bring up instead of the irreparably and rapidly collapsing natural ecosystems on which we depend. (due to pollution, global warming and habitat destruction for human use).
I think you're severely over estimating how attractive the US is for immigration.

But if your argument is "Moving to the US + decent job" then just the "decent job" part would be attractive. Moving to the US and having to face the possibility of bankruptcy because a family member got sick does not sound exactly attractive.

Source: I am a non-American who was offered opportunity to migrate to US but decided against it because the US feels like a dog-eat-dog country. Would much rather move to Europe IF I wanted to move.
Maybe it's a broader proble with society.
Yes, the lack of any mention of mold as a possible cause stuck out to me. Especially as this is a UK organization - they have rugs in bathrooms, for crying out loud!

Edit: And by 'rugs' I mean 'carpets', of course. The idea apparently baffles me so, I can't even find words.
History of computing lecture, Bud Tribble from Apple [video]
I think what we need is a port of Qemu. If you've ever used JSLinux[0] on an iPad, you know that it's plenty powerful to emulate riscv64 or x86 fast enough (even in JavaScript), so if there would be a proper PC emulation layer on an iPad you could run anything (Linux, *BSD, GNU/Hurd, NT, even full macOS).

[0]: https://bellard.org/jslinux/
Not all software needs to change frequently to be useful.

https://github.com/dabeaz/thredo/issues/2
> Data pages use a copy-on- write strategy so no active data pages are ever overwritten, which also provides resistance to corruption and eliminates the need of any special recovery procedures after a system crash.

But I imagine this is somewhat slower than keeping a log (and rewinding it if necessary)?
Probably UDMH and nitrogen tetroxide or nitric acid referred to as Devil's Venom in Russia apparently https://en.wikipedia.org/wiki/Devil%27s_venom

The same mix was what blew up in Damascus Titan missile explosion as told in the book Command and Control. Luckily the 9-megaton warhead didn't go off.

I recommend the book Ignition if you are interested in these things (free pdf http://library.sciencemadness.org/library/books/ignition.pdf)
Are you aware of Blink's option to map caps-lock to escape?
I somehow keep being fascinated by people think they're ripped off. I mean sure, Spotify is making a decent buck out of it, but it's not like the artists are doing it for free.

There's much more to the whole process. Firs to earn something per play there need to be ads that finance it. Then imagine the technical hurdle and cost to host such a platform (ie Spotify cut) and then you actually being worth a damn as an artist.

1M views might seem like a lot, but actually its quite a limited resource for serving ads. The other thing here is that most artists wouldn't have a single view if it wasn't for one or the other distributor. Basically, the barrier is so low to entry and the risk is dispersed across a million other artists so you all get a very diluted value per view. But at least you get value per view. Otherwise, it would have been an all or nothing business, like it used to be. It's the same effect the app stores had for software devs.

In essence, you get low fees because those funds pay for the distribution and risk that is dispersed. The general pay scale is a hockey stick with the last couple % making the majority of the money.

Since you even got the opportunity to get in front of an audience, use it wisely as you need to pump those numbers up. It's a numbers game and your numbers are too low. You need double-digit millions to make a good living off of it. And that's just what it takes. It's not easy, not everyone will make it above the fold, for whatever reason life, luck, marketing...