skysight-inc/HackerNews huggingface dataset:
It might come off kind of callous, but I don’t think there’s any benefit to society in having people employed doing jobs that are so easily automatable(or otherwise improved by technological means), it’s just a waste of resources. But firing non-essential employees due to automation plus capitalism just doesn't work. Workers pay income tax but robots don't, so I'm a fan of heavily taxing automation in order to fund public service jobs. If 100,000 warehouse workers could all become social workers, or care for the elderly, or even do manual labor but for public infrastructure, that could be pretty rad for society.
Python 3.7.0
Most Germans don’t buy their homes, they rent (2014)
Why would a roller coaster trigger it? Very few of them (if any) cause you to experience 0 G, which is the trigger here.

Even "drop" type coasters usually have enough friction to keep it from being 0 G.

Bungee jumping might do it.
Even when delivering, there are minor to moderate efficiencies related to route planning and sometimes electric cars.
Electric freezer cars are used, relatively efficient. (dry ice is too expensive and dangerous)
This. I am building an app and the listing screen is taking 4-5 seconds to fetch and display the database records. Why? The SQL query is complicated (7 joins due to filtering and permission restrictions), and on its own takes 1.7s to run. The ORM to enable pagination [0] runs this query twice plus a third query, adding up to over 3s. Plus other queries and rendering output (all times in debug mode).

Does it matter? No - this screen will be accessed 30 times a day max. Better to have it work inefficiently and spend time on other tasks, than make it efficient - however much I want to.

0. https://www.doctrine-project.org/projects/doctrine-orm/en/2....
> the residents sort their recyclables and compost into thirteen distinct bins

13. There's a moment you have to choose between the fine and getting the fuck out of stupid land. Around 3 different bins will do it for me: consumers waste is nothing compared to industrial waste. Trash sorting is the little act which help some people feel good but helps a lot less than not going on their annual holiday to the other side of the world. It's green theatre.
Quoting from the KOAT story:

"Hawkes had been seen driving a stolen truck hours before the shooting, according to police.

The autopsy report released Friday shows Hawkes was shot three times and sustained injuries to her head, neck and chest.

A toxicology report showed that Hawkes had a high concentration of meth in her body when she died. She tested positive for six different drugs including opiates, marijuana and anti-anxiety medication.

Her family and friends said she had a troubled past with a criminal history that began in her teens. ..."
A good place to start is to read the introduction chapter of the NFSv4.0 RFC: https://tools.ietf.org/html/rfc7530

Further minor versions add other things that could be useful for cloud usage, e.g. in NFSv4.1 (https://tools.ietf.org/html/rfc5661 ) parallel data access, sessions, improved delegations, and in NFSv4.2 (https://tools.ietf.org/html/rfc7862 ) server-side clone/copy, sparse file support.
Australia solar costs hit “extraordinary” new lows – $50s/MWh
I agree with you. However, with Spectacle I am able to have a really nice workflow with my window management.
Doesn't Apple often snob this laws? Have they changed their behaviour? If I remember correctly, in EU, up to just one or two years ago they were refusing to service products under warranty older than one year if you didn't have Apple Care even though the law mandates a 2 year warranty period.
> Thinkpad X140e

woop, woop!

the design where the display is _least_ fragile part of the laptop is brilliant: wins over removing extra ounces or millimeters. i wish more laptops were built this way and suspect the only reason they aren't is because it doesn't look as "hi-tech" as some of lenovo's other laptops.
I cannot connect mine through wire.

I can use it as a Bluetooth mouse, while charging from my USB port, but I can't use it as a USB mouse.
It was a fascinating read. Reminded me of this XKCD: https://xkcd.com/386/
https://app.pagedash.com/p/91ed545f-cf57-4bc7-b485-9428b11b9...
Arch Linux: A Developer-Friendly Operating System
Economics of 'Serverless'
I honestly don't understand all these quality sacrifices just to make things thinner. It makes the product actually feel somewhat cheap and brittle.

The same thing confuses me with smartphones. Everyone keeps making these bacteria and finger print magnets thinner... the minute you drop it, it's shattered or unuseable... and so then you're buying a case to protect it from scratches and shatter... so what's the point of making it thinner in the first place? Gimmicks IMO just to sell things year over year without adding real value or actual features.
Also: the totally different bar UI you are exposed to when in sleep mode.

I understand why it has to be so, security wise, for application functions there but it'd be nice if the sound controls were consistent...
New WhatsApp Status Video  Meri Mannat Tu WhatsApp Status
The Big-Muscle Anti-Piracy Tactics of Microsoft, Adobe, Autodesk in India
Second mouse. Doesn't have to be fancy at all.

Since I trained myself to be "ambimousetrous", I keep two mice attached to my work computer (one on each side of the keyboard) and switch back and forth throughout the day. It significantly reduces the load on each hand and guards against RMS. Switching hands for mousing is basically subconscious at this point.
REVIEW SEO Writing Assistant by SEMrush
I'm not sure it would have that effect. Such an action from China would almost certainly result in solidarity and coordinated action from basically the entire West. If others don't act, they're next.

I also don't see how a US response is somehow an attack on free market values. Dumping $1.2T of Treasuries onto the open market is not normal market activity. It's an attempt to manipulate and distort the market.

China wants to surpass the US, but while such a stunt might harm the US, it would do immense damage to China. I think it would be more like a striking blow alienating China from much of the global economy and financial system for a long time to come. That is surely not the route to surpassing the US as the preeminent world power.
Is mining something from a landfill really a good use of time?
What's wrong with hibernating and suspending? It's been two months since I last rebooted my Linux laptop, I typically only do it when upgrading the kernel. I agree it would be nice to keep session state after a reboot, but it's a very minor annoyance. Some window managers such as i3, do at least let one persist window configurations.
>Swift compile times have been improving as time goes on.

Swift compile times will never be close to ObjC or C compile times, no matter how much engineering goes into it.
This is because of how the language is designed, it requires a typechecker which solves an NP hard constraint solving problem.
> So classically 1-1+1-1+1... doesn't converge, but if you "squint" and take the running averages of the partial sums (1,0,1,0,...) you would get 1/2

Why would you take the running average and how is that relevant to the sum?
If you could add a rooms feature and online game like http://tafl.herokuapp.com/ then I think you'd see some real use of that app.

The one I linked looks much worse than your board.
“In any case”
Haha I see what you did there
I don't think it is wrong to say it is old-fashioned. It literally uses things that went out of fashion a long time ago (tables, not using ajax, design is not 'modern').

Not saying it doesn't work or event that these things makes it a 'bad' website.
One thing I like about hn is I can load up a bunch of long comment threads right before I get on a plane and have something to read for the whole flight. Other sites will pull tricks like automatically attempting to reload when I return them to focus, or will have their content smeared across a dozen pages, each filled with heavy images and scripts.
There were, in fact, entire airports designed around the "pull up, run in, board plane" routine. Kansas City International entered service right around the time that hijacking commercial flights became a popular publicity stunt. The consequent installation of security checkpoints really harmed the airport's utilitarian vision, and TSA's post 9-11 sterile area rules made travel through KCI a complete farce.

Nowadays, KCI has got to be one of the most hated airports in the country. I've met several people who've come away with a true and real disgust for Kansas City after being "trapped" in a five-gate sterile span with 200 people, a juice cart, and a bathroom. Exiting that small enclosure necessitates another pass through security.

It's a sad story, and may be a good case study for why one shouldn't try too hard to optimize that next project.
Rising concerns over hackers using satellites to target US
Rainbow iOS v 3.3 mark folder/file as Favorite
Even taking that article completely at face value, it applies to public universities only. Quote from a later paragraph:

"At private nonprofit colleges, the spending categories described above — student services and faculty and administrative salaries — together explain most of the tuition increase over the past two decades."
Out of curiosity, I looked it up. According to a 'git annotate' of pdb.py, "def set_trace():" was added by Guido van Rossum on 1994-08-01 at 11:34:53 - almost 24 years ago.
I can get the car picked-up for repair if I want to.
Where can I subscribe for a service "picking up unsorted garbage"? The problem is that garbage collectors are granted monopoly and use it to extract free labor from customers.
Oh yes, with a special mention to the UK recruiters working on the German market. Had one trying to convince me for one full hour to accept a salary of 48-50k to relocate to Munich, where rent for me and my family would have been more than half my monthly salary.

I still remember his best two lines:
1. I placed a guy from your country at the same company and he had a salary of 35k and three kids and a dog and he did very well for himself!

2. look, the company is offering fruits every week as a benefit to employees. If you eat fruit, you can save up to 50 EUR per week!

I did end up in the job, after the HR from the company tried a second round of negotiations and were were much more flexible (more salary, bigger relocation bonus). Unfortunately, there were bigger problems there, so I had to quit after about 2 months, which meant, probably, no bonus for them. Also, we would got like 30EUR worth of fruit for 20 people every week
People do this because it’s easier, takes less time, and is within the paradigm their head is already in all day.

We should fix our abstractions instead of telling people they don’t understand data. The latter is fine every so often, but doesn’t scale and isn’t even true most of the time.
Why the Internet Has a Problem and What We Can Learn from China’s Sesame Credit
My total comp this year is ballpark $240K. I'm still paying student loans. I'd like to buy a home, but in my area, there's nothing in a reasonable commmute from work under $750-$800K and anything less is getting bought in cash for some ridiculous amount over asking price.

You might argue that $800K is justified on a $240K income. I have anxiety from the thought that I could lose my job, and the barrier to entry in my field at other companies is so high that I would burn through my savings/investments and not be able to pay mortgage, taxes, + insurance.
> That is pretty horrible that so many companies from outside can be pressured to behave outside of china, like changing how they describe Taiwan.

Try this on for size then. Cliff notes: school kids have their designs on a fake cow painted over, as not to offend the Chinese beef industry...

http://www.abc.net.au/news/2018-05-09/childrens-cow-statue-d...
This may be a little OT (OT because the points raised in the study are totally valid and mine is just a comment) but for small companies and solo developers ORM or whatever that gets the job done quickly is the way to go.

Most sites and web apps never even break a 100k/day hit mark for which I believe inefficiency may not be the biggest issue. But wasting a month tryig to write native Sql queries can hurt your project a lot more.
> I have never seen ORMs as tools for completely abstracting away the database.

Some are advertised that way. Entity Framework Code First, Migrations etc.

At our place, our DB dev team is larger than our api team, which in turn collectively dwarfs our front end teams. ORMs in this sort of environment have never really been given a chance, but I feel like it would be easy to justify them in many situations...
The only person I know who bought bitcoin at that price inherited a load of wealth and has no real concept of money. I even told them they shouldn't at the time.
The only big problem with ORMs is when developers are allowed to use them to construct database schemata.

As long as you have a not-crazy person in charge of the initial design, you can allow—and even encourage—developers to make versioned changes to the database.

If you let us start from scratch with ORMs, it will suck for everyone.

There’s a fundamental mismatch between what developers think of as objects and how relational designers think of tables.

ORMs can smooth that over. But nothinking can undo the wrong-headed-ness of a developer thinking of a relational dB as an object store.
Only if it can be automated in the future.
> Basically there is no way to tell what is a button

Since Jony Ive decides alone. Under Jobs the buttons were drawn in the UI.
Right up until the point where you have to hack around the ORM to get performance where it needs to be. Then you suddenly have more complex and harder to maintain "magic" code than if you'd just written some simple-but-boring boilerplate and SQL from the start.

I'm wading through the tedious and boring process of writing a data access layer for an application at the moment. It's repetitive, there's lots of error-checking, and testing it is a pain in the arse. My big consolation, though, is that in a year's time when I need to optimise the queries because we're getting load on it, it'll be easy to understand and simple to change.

ORMs don't make code easier to understand, they make it less boring to write. Those are not the same things.
Snapchat meets Dropbox. Every post and upload gets deleted after a while. If the OP wants to keep them alive after that, they need to pay.
Except for shitty OS callled windows.
I wish these comments would at least mention one thing that is so terrible.
> You could take this further for normal non-DB code too - they could warn me when I have inefficient O(n) search in a loop and so on.

For phpstorm you have the EA extended plugins which gives lot of hints like that. I'm sure you could find the same kind of plugins or write one backed by a static analysis tool for other languages.
>>even though the law mandates a 2 year warranty period.

The law mandates no such thing and this is an extremely common misunderstanding of how EU consumer production works.

EU consumer protection law gives you protection against manufacturing defects for up to 6 years after purchase(it's 2 years only on specific items - in general, it's 6 years).

The absolutely key word here is manufacturing defects - if you have a fault with your laptop, fridge, TV, whatever, within the first 6 months after buying it, then this law assumes the defect existed at the time of manufacturing and the manufacturer has to fix it. But, after the initial 6 months, the responsibility on proving that the defect is due to faulty manufacturing is on the customer.

So yes, you can absolutely bring in your broken laptop to apple after 2 years of buying it, without buying extra Apple Care, and ask them to fix it - but it's up to you to prove that it's broken because of a manufacturing issue. That's why Apple "snubs" at it - in vast majority of cases it's very hard for the consumer to prove that the laptop is broken because of an error in manufacturing, and not because the part has worn out.

Having said that - there are some countries in EU(for example Poland) which require that all electrical devices are covered by a full 2 year manufacturer warranty, and indeed - all Apple hardware sold in Poland comes with a 2 year warranty as standard. Which highlights another issue - EU laws are not as homogeneous as an outsider might think - for example, in UK if your product is replaced under warranty, the replacement is only covered for the duration of the original warranty. But in Poland, the law states that if an item is replaced under warranty, then the replacement has to be covered for a "fresh" duration, so a full replacement resets the time counter on the warranty.

https://europa.eu/youreurope/citizens/consumers/shopping/gua...
I love to write SQL queries and even use them extensively in my code. However, almost everyone I talk to resists this, and warns me that "one day you will regret..." It gives me an uneasy feeling that I actually might, though it hasn't happened yet.
Tried it for what it's worth some time ago. Pretty novel and cool looking. Ended up removing it again; I found it too novel even after fiddling with settings.
Comparison to ubuntu is silly. Comparison should be with osx.
They wouldn't even have to go back to the previous thickness. The current MBP should be the MBA and then the MBP can be an actual pro machine.
Or maybe we should just nut up and tell people they don’t understand data?
>Even simple stuff, such as SELECT COUNT(*)
edit seems like my old performance book was outdated or wrong :(
No, it's not automatically more performant; it's more that you can optimise hand-written SQL for your specific schema and use case. You can't do that with ORM-written SQL.
Yet another piece of previous art: the Spanish La Liga recording from the phone app to identify unlicensed broadcasts: https://news.ycombinator.com/item?id=17296449
There are also a bunch of companies making genuinely nice watches for a few hundred dollars.
> and so then you're buying a case to protect it from scratches and shatter... so what's the point of making it thinner in the first place?

I agree, also in terms of material. I'd love to buy a plastic phone with some bezel that doesn't shatter easily. The Nokia Lumias a couple years back (e.g. the Lumia 800[0]) were good-looking and super robust.

But manufacturers obviously don't have much incentive to make hardware more durable, unless customers explicitly look out for that. And currently, many people tend to buy (high-end) phones rather for prestige reasons than actual usefulness.

[0]: http://phonesdata.com/files/models/Nokia-Lumia-800-307.jpg
Top 7 Places to Snorkel with Sea Turtles
An ORM doesn’t have to be slow. Most can source their data from custom queries or stored procedures.

Not using an ORM requires writing lots of code to do what the ORM would otherwise do. Is that really appropriate today? Should we not take advantage of the available CPU/RAM? I say ORM is the correct choice in many cases. Not always.
Bachelor Με Μια Escort – ATHENS ESCORTS – ESCORTS TOURS
The only one I can think of is Oblivion at Alton Towers. The main feature is a vertical drop section.
So long as you're using prepared statements, you should be okay.
I bought BTC when it was 15$. I bought again at 17k and bought at 6k and really don't care what the price of btc is today tomorrow or next week. I understand how easy it can be to call someone an idiot in restrospect when everything is down, but you have to know too that some people don't really care where it is _now_ and is just interested in where it go few years from now.

It is like calling people idiot because they bought btc @ 1000$ and then it dropped @ 360$. I really don't think those who bought at 1k are idiots but that's just my opinion and it's OK if other people have different opinion than mine.

Warm vibes.
Personally I just downvote someone immediately when they mention anything about being downvoted in their post. It's called losing the game.
Setting up a WebLogic 12c development server in under 10 minutes on macOS
Sorry, I believe I wasn't clear.

Definitely writing plain SQL does not solve performance issues. However, it does force the developer to draw a clear line distinguishing where he is accessing the database and where he is working with in memory data structures.
I guess this depends on the framework in use, but for example, in Hibernate you add a single "include" clause to avoid n+1 queries. It is only "magic" if you don't understand how it works, but then your SQL would be just as inefficient.

Any ORM I know allows you to easily drop down to raw SQL when you need it - but in the majority of cases you never need to. Writing everything manually in SQL with tedious boilerplate wrappers because you might need to manually optimize some queries at some point in the future seems like a massive violation of the YAGNI principle.
For me, trying to implement an unbeatable tic tac toe game using the minimax strategy. I promised myself I wouldn’t look up any hints online outside the Wikipedia page on minimax. It was several weeks of call stack overflows, reading through logged game states, and waking up at night to try ideas. The code for the final result now looks so simple and elegant, but it’s very deceiving.
Entrepreneurs who lost absolutely everything. How did you spring back up?
Yeah because some are just looking for names to use as prospects.

I'd say don't give references at all. They ask that because they don't trust the candidate. It's a bad sign IMHO.
New Public Records Search Website Stuns Millions of Users
FYI, there's an anti HN referral script happening that redirects to a rude image on imgur.
My first startup – a new way to keep up to date with the latest cryptocurrencies
Capitalism has been allowed a free reign over western society with the consequence that _ownership_ is rewarded at the expense of _contribution_. The result is that owning property or a business is now really profitable, yet working hard in a salaried job is much less so.

In economic theory "the gravity of capital" dictates that lumps of capital attract more capital- the larger the lump, the larger the attraction. Once capital is concentrated in too few lumps that are too large, it stops being a force for good, and starts to act as a force of oppression.

Capitalism can work really well- but only if regulated. A modern nation state needs to have robust regulation of capital in order to keep it working for the benefit of society. Unfortunately this doesn't really happen just now in the US- most politicians are to some degree beholden to powerful, private interests who seek to increase their power by favourable legislation that generally involves financial deregulation.

An 'illuminati' totally engineers the US economy by lobbying politicians, and this is no great secret.
My comment is late but it’s against the prevailing mood of the top comment -

People are ignoring a very critical factor - “disposable culture” is the brother of cheap and convenient goods.

This means that poor people can get cheap food in cheap packagaging with better safety levels than otherwise.

This means - packets of Singl use detergent - affordable to people in poverty.

It means less paper use - which means less pollution in the creation process.

Mumbai has asked people to not use plastic - meat vendors are asking people to bring tins to carry meat. Those need to be cleaned which means an increase in water use.

This is a much bigger problem than it seems.