skysight-inc/HackerNews huggingface dataset:
This article gets a critical point wrong. The absolute worst thing that could happen to Saudi Arabia is that they continue to have a high birth and population expansion rate.

The source of their biggest threat in regards to social unrest, is that they can't afford to placate their massive population expansion since ~1980. Their population has tripled since roughly 1982 and they have no traditional economy to support that what-so-ever, it's all oil dependent. The worst thing that could happen is that you double that population again rapidly, against a relatively static output of oil and while having still not developed a traditional economy to support the new population.

It's a pretty simple equation. N oil production divided between Z population. Every year that goes by that their population increases and their oil production doesn't keep up, that oil money gets thinner per capita. Boosting the population doesn't boost their economy much (such that doing so enables them to better provide for an aging population), as they have practically no conventional economy.

That's fundamentally why their budget requirement for the price of oil just keeps going up. It's at least ~$80 per barrel now that they need to balance the budget [1], so it's nearing a state of becoming permanently impossible to fulfill their budget demands. Soon it'll be $90, then $100.

They've increased their population by 1/4 in roughly the past decade. That's far too fast of a population expansion rate based on the structure of their economy. What they actually need is population contraction, desperately.

That oil economy is now trapped in hell with US shale production always acting as a price & supply counter that makes it impossible for Saudi to gain ground. The EIA output estimate for the US for 2018 as recently as three years ago was roughly two million barrels per day of production lower than what it actually turned out to be. In one form or another, that's largely coming out of the pocket of OPEC+ (OPEC + Russia). US shale supply will never stop pressing against the price & supply of oil and the US is rapidly ramping up its export capabilities. If the Saudis cut to firm prices, US supply takes it up and takes their price gains away (which may take months or years to fill out depending on the macro situation).

Saudi will expand their population by another 12-15% in the next decade, against this disastrous economic scenario. The outcome is obvious, they won't be able to placate the burgeoning population and over time it'll rip the kingdom apart.

If you cut their population in half right now, they'd struggle to build a traditional economy big enough to put under it in time before there's an oil crisis in the kingdom. As it is, they appear doomed to an inevitable civil war or revolt of some sort.

[1] https://www.spglobal.com/platts/en/market-insights/latest-ne...
see also inja[1] a c++ template engine inspired by jinja that use nlohmann/json

[1] : https://github.com/pantor/inja
I don't own a Mac at the minute but I must say Monaco is hands down the best programming font I've worked with.

Most of the fonts on this list don't even come close.
That's why? So if we merely fixed job titles we wouldn't have this problem of fraudsters?
We don't have "50 to 100 years". Our unrestrained greed and obsession with growth and profit is well on its way to cause a Permian-Triassic style extinction event.

https://www.ipcc.ch/report/ar5/syr/

https://www.vox.com/2016/10/4/13118594/2-degrees-no-more-fos...

https://www.thenation.com/article/climate-disaster-is-upon-u...

https://nplusonemag.com/issue-33/the-intellectual-situation/...

The absurd accumulation of wealth in the hands of a few individuals is just a symptom of the disease human society is to the environment.

To have any hope of even slightly halting this trend, we have to completely restructure society and put an end to fossil fuel extraction, and to our entire culture of consumerism. Capitalism does not have a solution to this problem, there is no gentle gradual market-based solution. We need a hard stop and at the very least massive carbon taxes on industry.
Senior is typically one or two promotions above the entry level. After that the titles resemble something like this:

Staff

Senior Staff

Principal

Senior Principal

Distinguished

Fellow
I use a reproduction of the IBM VGA console font called Nouveau IBM [1]. Very happy with it: https://i.imgur.com/cT0pCL4.png

[1] https://www.dafont.com/nouveau-ibm.font
First sentence mentions deep packet analysis for protocols like HTTP. But that's not really relevant anymore is it? Most modern websites will automatically redirect HTTP to HTTPS and then you can't apply deep packet analysis anymore. I can see some other fairly nice features here but not really enough to make me switch.
Same thing with me! After going to ENTs for 5 years they all told me “nasal steroid sprays, antihistamines, nasal deviation”. The nasal steroids sprays and antihistamines never worked, so I thought surgery is the only option. I did an MRI of my brain for another reason, and there I go with the scan to the ENT, turns out I have huge turbinate swelling and no nasal deviation. I need to try more meds now before going in for surgery (turbinate reduction surgery).
If you are going to get a monitor then you might as well get one that will last a few years, we are at that sweet spot now where the inputs do the refresh rates and the price isn't so expensive. Having two 'Full HD' monitors side by side doesn't cut it any more.

The big benefit of 4K is the vertical resolution, you really can work on a good chunk of code with the whole block you are working on fitting in the screen with your browser (full of Stack Overflow tabs) open adjacent to it.

Nobody likes land-filling monitors or having a cupboard full of dead ones. So my advice is to go for a 4K monitor that does justice to colours. A TV won't do.

I went 4K before the inputs did decent refresh so I have 'cinematic' 24 fps. This is fine for programming and I am not a gamer plus I have a laptop for watching video.

There is also a difference between 'cinema' 4K and regular 4K. Regular 4K is 3840 x 2160, 'cinema' gives 4096 x 2160, giving a whole column of extra 256 pixel goodness. I went for 'cinema' and 'real 4K' but the market has settled into not selling these beasts.

Size is also a thing, do you really want to crick your neck looking skywards to the top of your screen? Therefore 31" may be the sweet spot for you, your desk and your code. This has worked for me and I don't feel that a larger screen would help.

There are these ultra-ultra-wide monitors on the market with 1440 vertical pixels but after enjoying 2160 vertical pixels I am not going to want less.

Those that work on websites for a living should demand a 4K monitor instead of the side by side Full HD monitors everyone else in the office has. The website of today does have to look good on an iPhone as well as a 4K monitor so the budget reason for the upgrade is requirements.
Another scary thing is that despite not including it, when you do have a need for it you're advised to install apt-transport-https[0]. I can't remember the specific package that requires me to go this route, but it always reminds me "oh they're not using https", I'm surprised they don't pull over SSH or something, doesn't git work with SSH as well?

[0]: https://packages.debian.org/sid/apt-transport-https

Edit:

It was VSCode:

https://code.visualstudio.com/docs/setup/linux

So Microsoft provides apt packages over https, but Debian doesn't.
I think nvarsj didn't mean no AA but that Linux uses a different AA algorithm.
Very true !!! There is no greater culprit responsible for "complex systems" than the act of "extensible/future proof" in software design !
> It is possible to not know much about the agricultural industry without being "classist as fuck."

That's fine, so you won't be in anyway part of the "The "eat ugly fruit!" movement" would you?

Unless you're a classist fuck who just likes the arrogance of the appearance of eating better fruit and veggies than others.
Totally agree. I suck at interviewing and freeze up on the spot. Even on-site coding tests I'm not great at. Give me the time to sit back in my own comfortable environment and I'm confident I can solve 95% coding problems (and reasonably quickly).

I've been involved in a lot of hiring and I always advocate a choice of a couple of fairly in-depth (maybe 4-6 hours) take-home coding problems. I think people should be paid for their time on these as well.
To DevOps or Not
The Smalltalk system also used proportional fonts, and predates that book by many years.
I picked up a 4k TV (Vizio D40u-D1) as a monitor after quite a bit of research a year ago and I'm quite happy with it. It's a bit large at 40", but all I had to do was adapt to thinking of it as multiple floating screens, and treat it as such, given I have the equivalent of four 1080p screens... using almost the same amount of area.

My browser always occupies the lower left quadrant, and event at 1/4 of the total screen it's still 1080p, or maybe a little more since I eyeballed it and didn't dock it there. It's easy enough to make any terminal larger and then I'm essentially gaining the same benefit of high pixel density.

I wanted to make sure the TV I got supported 60Hz at 4k, and had low input lag (for when I play games occasionally), so I found rtings.com[1] to be invaluable. Using a TV as a monitor has it's quirks (I turn it on separately with the remote on the desk because it's easiest), but at just over $400 when I bought it on sale ($500 now[2]) for a 40" 4k monitor that has 13ms input lag, I'm not sure how I could have done better.

Edit: Had the amazon price wrong, was looking at the 1080p one.

1: https://www.rtings.com/tv/reviews/vizio/d-series-4k-2016

2: https://www.amazon.com/VIZIO-D40-D1-Class-Array-Smart/dp/B01...
Where is home? Maybe you compete for other things like better working hours, more work from home time, more vacation?
When did we give up on tools that scale well from casual users to power users?
President of Pakistan's OpEd on AI and Computing
I don't know how much experience you have as a professional developer but I can barely remember the problems I solved last week let only any interesting ones I've solved in the past 10 years.
Of course, it's very difficult to directly compare such things for a single individual, never mind the median individual (you'd have to account for the fact that the UK taxes include medical insurance as well as a pension on one side and lower sales tax in California on the other side, and so on...).

My point was that taxes in countries where the tax return is automatically performed by the government aren't necessarily higher than in parts of the US. In other words, OP's comment above was nothing more than FUD.
It would actually be impossible for him to do this. Nobody will let him anywhere near a job that would let him earn any sum of money that could make a difference on a 4th or 5th digit of that sum even if he worked for the rest of his life for this.
I would not say any of that is fairly well known. Nor that it’s clear whether you’re claiming the general consensus urbanist vision is all wood, or that it’s concrete but the emissions are ok because they’ve been “well-studied”.
You obviously haven't seen Mark Kermodes series on the BBC where he covers exactly this.
Regulation will help grow Bitcoin adoption in South Africa
To paraphrase your argument;

"You have 1,000 times more wealth than a poor person so you can't say it's bad that someone else has 1,000,000,000 times more."

You know what, I absolutely can.
Simply put, his unfair actions are exploiting his warehouse workers with extreme working conditions and meager pay, and perpetuating the unsustainable cult of consumerism that plagues western society. Our habits are unsustainable and are destroying the world we live in.

The reckoning for our thoughtless exploitation of the planet will come, but Bezos and his peers have managed to extract enough wealth and power that they will be the very last to feel the effects of runaway climate change, massive droughts, famines and resulting unrest and war.

They do not care, because ordinary people are simply resources to be exploited, wholly beneath their contempt.
I would suggest that using elastic tabstops¹ is the only reasonable system for doing that. Sadly, the industry seems to be stuck in a local maxima where the simultaneous jump to both using proportional fonts (which would be better) and using elastic tabstops for alignment (which would be easier), constitutes too large of a distance to bridge in a single leap, and either one by itself isn’t worth the effort.

Of course, if you already have made one of these two jumps, it should be a no-brainer to make the other one as well.

1. http://nickgravgaard.com/elastic-tabstops/
This is a bad comparison not only because of debt, but because that is a valuation of productive capital they own. Nobody can eat shares. The only thing that would happen after a 'fair redistribution' is that party's bureucrats would replace current managers in their former companies.

The fate of PDVSA shows the ultimate result.

What the ultra-rich actually consume is a tiny fraction of their net worth.
APT many not be using HTTPS. But APT does support HTTPS builtin since version 1.5. I couldn't find any changelog or NEWS for that, but https://packages.debian.org/sid/apt-transport-https says so.

I myself uses HTTPS mirror provided by Amazon aws (https://cdn-aws.deb.debian.org/). I do so because My ISP sometimes forward to it's login page when I browse HTTP URLs. Also, it does sometime include Ads (Yeah, it's really bad, but it does remind me that I'm being watched).
The offputting tone wouldn't be quite as objectionable (imo) if the argument wasn't so FUCKing wrong.

> Most "ugly" produce gets turned into soups, sauces, salsa, jam, ice cream, etc. You think that stuff gets made from the pretty fruit & veggies?! jeebus, think about it for a minute

I've thought about it, and yes, that stuff gets made from the pretty fruit & veggies. Sure, a LOT of it gets made from the rejected "ugly" fruit from other supply chains, and—also—even in cases where it's being made from the pretty ones, they're not filtering out the "ugly" ones, so generally all the food is used in those cases. BUT, no, we don't have a perfect interoperable system where every ag supplier has equal and complimentary arrangements with supermarkets and salsa factories. Not every packing house is the same (not every one separates out the uglies), and not every one supplies salsa makers. There is PLENTY of waste in between.

> The amt of produce wasted bc of labor problems (can't get a crew to harvest) & bad weather (melons that rot in the field bc it's too hot & wet, etc) WAY outstrips produce thrown out bc it's "ugly."

She may be right here (would like to see some data, but still—the statement seems plausible), but in what way does that nullify the fact that plenty of produce is still thrown out? In what way does labour/weather-problem-related waste mean we shouldn't also try to reduce waste in areas where we very easily can?

> IT GOES TO THE GROCERY STORES THAT POOR PEOPLE SHOP AT

This sentence from the same person who just used the phrase "classist as fuck"!?
It's just a default set from some release of CodeMirror. I guess I should upgrade that..
Ask HN: SBC with 1gig ethernet and USB 3
Is there any such product for cheap?
You're making an argument about why Silicon Valley isn't in Europe based on your understanding of Europe today, when Silicon Valley isn't emerging in California today, it emerged in 1970.

Let's take Intel as an example: Intel was founded in 1968 by Gordon Moore and Robert Noyce. Why do you think there's no European equivalent of those two people? Very possibly because Herr Moore and Monsieur Noyce would have died in WW2 or fled to America. If they had survived and started up a semi-conductor company they would've quickly found themselves unable to compete with the American companies who had the advantage of a massive military budget to win contracts and engineers from.

Your point also don't address the situation in which SV emerged in the US. High taxes? Denmark has 22% corp tax and 52% income tax. Income tax when silicon valley emerged was over 70%.
Hi Andres & all :)

I guess the main differences with Decidim from the Your Priorities site are: The client is a progressive web app built with Web Components. Users can submit ideas as audio or video, not only text. AI features like a recommendation engine, machine translations, voice-to-text & automatic "toxicity" score calculated for all incoming content. We moved the API from Ruby on Rails to Node.js in 2015.
You could really argue in all directions here. If he remained in prison all that he would do is to accumulate even more cost. But if not, he might become a welfare case (is he?) unless he lowers himself to do some honest work.
It's not correlated at all. I can ask you questions about implementing a b-tree and then give you a job to fix CSS. Which is the case in most jobs and job interviews.
Imagine there was another planet in another galaxy that had 100x the wealth as earth. Would it even matter?

Sometimes I think these global comparisons are like comparing different planets. Who really cares? It's our immediate surroundings that matter.
AI communism is here
As I understand, it was AA's fault that they had to eject the passenger because of over-booking, often practiced so that they can minimize the loss if someone doesn't show up. Clearly consumer rights need to be improved so this practice ceases. It's another case of a company that needs to be forced to do the right thing.
>This sentence from the same person who just used the phrase "classist as fuck"!?

There's nothing classist about acknowledging the fact that poor and rich people often shop in different stores.
The report is about the assets of the richest compared to the assets of the poorest. Debt doesn't affect that.
> So Microsoft provides apt packages over https, but Debian doesn't.

See https://deb.debian.org/ -- it works just fine.

HTTPS might prevent some kind of surveillance, entities (ISPs, governments, any other MITMs) from determining what kind of packages you're installing, and this might be beneficial, but plain old unencrypted HTTP is often faster if these aren't a big concern (they likely aren't in most developed nations and for most occupations). Lack of encryption overhead as well as transparent proxies being able to serve files are huge boons to this.
Increasing peoples' standing in life decreases the birth rate.

And no, there is no such thing as a "healthy capitalist economy", capitalism is by definition based on exploitation of the less fortunate. Saying such things is obviously heresy to the Silicon Valley set and capitalists in general, but it's the uncomfortable truth.
> a world where all natural habitat has been completely decimated

That's probably the way we'll have it, but there will be artificial-natural habitat, eg. "reservations", that could grow to even be country-sized or half-continent-sized if we manage resources right. (Though probably they'll be smaller since we're going to have to some pretty large scale heavily-engineered-and-very-unnatural-agriculture to prevent famine in the face of climate degradation.)

The second option sounds somewhat enticing... but it would likely severely diminish speed of technological progress, hence diminish our even-longer-term changes of survival (think encounter and warfare with alien civs etc. - the universe is huge and if we/our-mostly-artificial-descendants survive long enough we'll have to compete with strains of life much more virulent than ourselves today).
It doesn't applies to every products (and it's probably different depending on which country you live in) but you also have to check if it's a "best before" or a "used by" date. I've ate dairy products 1-2 weeks after the "best before" date and they were exactly like the day I bought them. If it doesn't smell / looks funky it's usually fine to eat.

https://en.wikipedia.org/wiki/Expiration_date
The subject of what constitutes an engineer or what entitles a professional to the "engineer" title has been discussed ad nauseum here on HN.

Spoiler: "engineer" as a title for someone who does computer programming and software development without a license is perfectly fine and acceptable in the USA. In Canada, however, it's probably not.
Because why bother? They’re checking hashes of packages and digital signatures of the hashes. Why tax your system with needless session encryption of large data transmissions?
I don't understand the argument. Why is it not a good idea to sum up the net worth of the poor? Because you find the result displeasing?
I would like to try a 75" 4k screen across the room so that my eyes can relax by focusing closer to infinity.
Maybe you bought UHT milk? That has a shelf life of months.
Right now there is another font designed for legibility on HN frontpage: https://news.ycombinator.com/item?id=18946601
One thing I dislike about the iterator protocol is that it creates garbage around every value you're iterating over:

let set = new Set([1,2,3]), it = set.values(), n;
while(!(n = it.next()).done) console.log(n);
// {value: 1, done: false}
// {value: 2, done: false}
// {value: 3, done: false}

I found this strange considering javascript has symbols now. Symbols would be perfect for the iterator protocol:

while((n = it.next()) !== Symbol.iteratorDone) console.log(n)
// 1
// 2
// 3

Not that this is too much of an issue, I'm sure using yield/yield*/of will eventually optimize this.
We're actually using this. Re-dom is a very thin layer on top of the DOM. Basically all it does is hide some of the weirdness of that.

The best way of using it is simply emulating what you would do in react (without jsx) in terms of design patterns. So you have component classes, with state, and a render method. Half of the success is just using good patterns like that. All redom does is allow you to create trees of elements and manage those.

It has a few simple primitives for that. The main thing is a an el method that takes 3 parametes (maximum). The first is the element name, classes and id as a string. ".foo.bar" means a div with class foo and bar. "span.foo" means a span with class foo, and so on. The second (optional) one is an object with attributes. So if you have an a tag, you might want to pass in an object with an href, title, target, etc. The last parameter is either a string for text nodes, another element, or a list of elements. There are setAttr, setChildren, etc. methods you can call on elements. There are mount/unmount methods and there is some syntactic sugar for managing lists. That's about it.

You can shoot yourself in the foot (just like with other frameworks) but otherwise this works as advertised. Mostly there is not a lot of magic happening in terms of expensive stuff.
I'd want to see a specific law citation before I believe that. I'm sure you're trying to report what he said accurately, but he may have been misleading or mistaken.
Apt supports SSH (and https). The reasons not to do it for the default repos are explained in the article -- caching, complexity of keeping https certificates uptodate.
The article said

"As a result, the report concluded, the number of billionaires owning as much wealth as half the world’s population fell from 43 in 2017 to 26 last year. In 2016 the number was 61."

the 43 in 2017 had a link to Jan 2018 article on same subject. Where do you get '8 richest people have the same wealth' from?
A list of 1,000+ tech funded companies (Dec, 2018)
Seems more like the results are not as straight forward as one thinks, especially if you don't account for debt. How do you appropriately account for debt anyway? I'm guessing many here would have different approaches. Thus why it's not a good idea. I think defining up front how the numbers came to be would be a better idea.
You walk. Riding a bus means you have to wait for one first. A 5 minute walk isn't worth the wait unless there are extra conditions (no walkways, ice on the walkways, heat wave...).