skysight-inc/HackerNews huggingface dataset:
Almost 7 hours of sleep per night is more than sustainable. There are people who can get along with 5 hours of sleep per night without any impact to their health.
That was called "Total war" - the entire country is engaged. Things where different elsewhere, you will be forgiven going through Jane Austin's novels and not noticing that the United Kingdom is at war with the French empire.

Sense and Sensibility (1811)
Pride and Prejudice (1813)
Mansfield Park (1814)
Emma (1815)
Keybase already has git integration: https://keybase.io/blog/encrypted-git-for-everyone (now sure why would you want Keybase but okay).
Favorites in Costa Rica
Google Outgrows Its Youthful Ideals
Yeah, I think there should be a few books in a "free tier" section. Maybe very popular books like the 4 Hour Workweek or Lean Startup.

Then leave the rare content for membership tier. There is a 7 day trial, but it's a huge turn off as I'd just procrastinate and never look at it properly.

Blinkist would put their low quality books in the free tier, which was also a turn off.
Facebook isn't selling knives. The bits in Facebook's database are not killing anyone. The people doing the lynching are.

Yes, it is ultimately the state's responsibility to uphold the freedom of speech. That doesn't mean that any private actor is prohibited from providing a platform that upholds freedom of speech, only that they are not obligated to do so. You can do something even if you're not legally obligated to, you know.

> Insofar as people are doing things on Facebook's platform that they themselves disagree with, it's absolutely their responsibility to stop it.

So you mean like, if there were a candidate for US President that Facebook didn't like, then Facebook should refuse to run ads for that candidate. And if people used Facebook to talk about or promote that candidate, then Facebook should delete their posts right? I mean, if Facebook is responsible for stopping everything they disagree with, that should follow then.
For the standard library and such that train has left the station... way too much legacy code and learned knowledge.

As to why it happened in the first place: it is from an era when some compilers only looked at the first 8 characters for uniqueness of a name. Toss on top of that that a screen was only 80 characters wide and short names made a lot sense.

Now it is just tradition, I feel, more than anything else.
Headline writing was the worst thing to happen to science ever: And the math I did proves it.
One thing which would help would be corporate support. The Django project itself gets some support, probably not enough, but many people forget how much of the value from Django comes from the apps rather than the core framework.
There's nothing wrong with using legal pictures of people. and quotes, but I would just add attribution to the source of the quotes. And statement at the bottom about the company not being affiliated or endorsed by these people.
There's plenty of crapware today, hell, Microsoft forces some of it on you in the default install. The same rules more or less still apply: it's risky to install crap from random untrusted sources. I still have an XP machine I use all the time at work because it has a real physical serial port for talking to some equipment with. It hasn't been a problem.
> Simply bookmarking the article itself to read later [...]

I actually send the HN discussion itself to my Reading List. So when I find some time I start with the comments here and then decide whether or not I should read the article. And tbf most of the times I get enough information here and never follow the link to the main reading.
Hippie communes? Basically communism works great on the small scale when there are no bad actors in the system. It breaks down at larger scales and becomes authoritarianism.
I've used this a little bit - particularly for lab work it's very handy to have a monitoring system where everything just works and there's a web interface available right from the box, without needing to hook it up to any larger system.
I own all 3 Kimball books, they are fantastic
I guess someone heard you!

https://github.com/GetPublii/Publii/commit/4758af15f7032b96f...
A salaried person working 13 hours a day with no extra compensation is not breaking the law in the United States. I have never heard of a lawsuit about that that succeeded.

Good companies do realize that making people work overtime consistently without reward is a bad idea, if for no other reason than the selfish one: your good employees will leave.

I know a lot of companies that do it anyway because they either don't care or don't accept people are leaving because of the constant overtime.

I also know people who have stayed at bad companies either because they don't want to let their team down or they just got used to the constant overtime and didn't realize how bad it was until they left. Or the simple fact that many people do not like change, and prefer the overtime they know rather than jumping to the unknown new job.

Just because someone is working overtime without compensation doesn't mean they don't have dignity. There are many reasons to stay at a crap job (for a while, if you have to). Please don't insult others just because their life is worse than you have allowed your life to get.

That being said, I agree with a few other posters - if you are consistently working 13 hour days, start looking for a new job. My rule of thumb is to spend one hour job hunting for every hour of required/expected overtime.
If you want to be more efficient, you can also use a union for this.

typedef union {
int i;
float f;
double d;
long l;
char c;
void *p;
...
} var;

Now you might also get some nice float-interpreted-as-int bugs if you forget the type!

You can also kind of pretend that you have C#-style type inference:

var x = { .i = 10 };
var y = { .f = 2.0f };
Software Made Simple
General Motors. William durant vs Alfred Sloan.

But better is relative.
If you're producing an actual functioning compositor you should be using wlroots anyway. It's unopinionated, we call it "40,000 lines of code you were going to write anyway". It's not practical to make a compositor without leveraging wlroots unless you have a huge team like GNOME or KDE - this is advice from several compositors who tried and are now using wlroots.

Still, if you insist on making everything yourself, the wlroots code is pretty accessible and I've heard from people working on KDE and Mir that it's the best reference code to study for understanding how everything works and applying it to their own software.

https://github.com/swaywm/wlroots
The comment section is particularly trenchant because I recently worked on a project that had hundreds of instances of the comment "// do this here"
WDYT about the recent fork "Rebirthdb"? I heard that they are close to release a 2.4 version but without Windows support.

https://github.com/RebirthDB/rebirthdb
https://github.com/RebirthDB/rebirthdb/issues/3
My cousin from Kenya got his visa denied to US and it was sort of heart breaking. Being from Kenya myself and now in US, I’ve missed many flights to vacations and a friend’s wedding because Visa would not come on time.

You have to do quite a bit of preparation and paper work quite early. Hefty visa price easing fees and long queues. Having a first world passport is definitely a big previlege.
5 Videos from ElixirConf 2017 You Need to Watch
https://www.chromium.org/developers/design-documents/transla...
Could you elaborate what criteria you apply to decide whether something is "as humanly readable as possible"? I am asking out of genuine interest, I am researching readability and I am interested in how you make decisions and what criteria you apply. What means "readable" to you?
They already did so once, which is not something other tech companies are able to say.

I don't have very high hopes of Google somehow breaking Chinese censorship, but simply writing off their effort seems unfair.
This is worse than silly. It misleads you in the wrong direction.

If you were to follow the Art of War, a major part of generalship is intentionally not fighting battles if the situation is against you.

This only measures generals when they fight. It doesn't measure generals who knew when not to fight. Perhaps a general who knew when not to fight would not try to invade Russia when and how he did?
Tacit acceptance of censorship -- is this the logical destination of "don't be evil?" As if the Chinese people don't deserve truth and dignity; basic human rights. Along this spectrum of logic we would also argue that the North Korean "internet" is a good thing, as is all controlled media and news, too.

I find it repugnant to see the people in relatively free Western nations pull the ladder up after them; as if others don't deserve what we have (but now obviously take for granted). That's a form of soft bigotry. A condescending pat on the head and a tut-tutting, as if the simple people of China couldn't handle freedom and/or don't want it. The Tiananmen Square Massacre wasn't all that long ago, so we know that the latter is not true.

Obviously this decision is driven by money -- access to markets -- but what else? What is the ideology that makes this acceptable and justifiable in their minds, because I cannot understand it.

"Do you participate, or do you stand on the sideline and yell at how things should be?" -- Tim Cook

Partnering with evil is evil. Empowering evil is evil. As is ignoring it.

Does anyone doubt that a report of all searchers for forbidden knowledge will be generated and turned over to Chinese leadership for "followup"?

But there's undoubtedly a lot of money to be made so what do I know.
> The US did exactly the same, see https://en.wikipedia.org/wiki/Marshall_Plan.

The Marshall Plan was about rebuilding a bombed-out and destroyed Europe, and it actually did that. The countries that received aid needed it desperately, didn't end up trapped by debt, and afterward entered a period of high growth and prosperity. Except in the most superficial ways, it's not really comparable to the Belt and Road initiative.
The Tyranny of the Exclamation Point Is Causing Email and Text Anxiety
Yeah! I still have my Gravis Ultrasound in a box somewhere.. The red PCB was so cool (16-year-old me thought) and I also remember having to modify my case to make it fit.

That card was so good for demoscene stuff..

I was also proud that it was Canadian-made (it sat alongside my Matrox video card)
Could you post the text here in the comments? There's a paywall.

One issue with the standard unemployment rate calculation is that it's defined as # of unemployed people divided by the total labor force. The total labor force does not include people who are not looking for work.

So if someone is unemployed and then stops looking for work, they drop out of the equation entirely, and the unemployment rate goes down.

It's important to also have the "labor participation rate" metric (those in the workforce divided by total working age population), which gives more context on the overall trend.
It sounds like he sleeps at the office so that makes sense.
> git-bug store the data in separate references that are not in `refs/head`, so they are not recognized as branches

How does that work with garbage collection?
Then the community does not value you untill you achieve success in the said profession. So it's very risky. Most guys don't choose it because then you've to hide in all family gatherings....
In the past I've worked in a lab where dev laptops could be disconnected from the network for days without notice.

A tool like this would have reduced the productivity hit during those periods.
... until it isn't.

The problem is that you get too close to the code you write, and make assumptions about its obviousness that simply aren't true. Far better to be explicit at the cost of a few extra keystrokes.
That's my main issue with GitLab, there is so much interesting innovation that they could do w.r.t. tooling but instead they play it safe by copying Github or providing integrated services that are already possible in Github.
Or save yourself a ton of time and just capture the network traffic.
Firefox awesome bar took a lot of (unfair IMO) criticism back a few years back.

I have the same experience as you guys, and on one occasion I think it saved me days of work by helping me recover a certain almost ungooglable resource I knew I had seen at some point.
It's not just Japanese, Chinese also. An article not long ago theorized some reasoning behind it: https://randomwire.com/why-japanese-web-design-is-so-differe...
In ancient Greece, a great deal (or even most) of the population were slaves. Yet, it does not prevent us from treating their system as democracy and compare it with the modern democracies and "democracies".
Not at all. You have misread me. That language evolves is a common used argument (and there is a place for it) but often used as a catch-all argument to justify errors.
Great demo: https://projects.fivethirtyeight.com/p-hacking/
Tim Cook is a pretty boring guy, but he's an adult and he's responsible, and Apple has grown 4 times since he took the reins. Cook has the temerity to consult the experts he's surrounded by before making a big decision. Musk ignores the experts he (used to be) surrounded by and fires them if they resist his efforts to decouple Tesla from reality. Musk has never been a good leader, he's a full-blown textbook narcissist, replete with the deception, cruelty, and delusions of grandeur that it comes with.

It was fall 2016 that Musk made 3 unilateral, and delusional strategic decisions: the Alien Dreadnought, Solar City, and HW2. I call it the ASH doctrine: Musk's 3 point plan to reduce Tesla to ashes. Before that, I thought Tesla had a chance, but since late 2016 I've been on Tesla deathwatch. And now, here we are, no solar shingles, no $35k Model 3, no full self driving, no money, no profit, no credibility, and no surprises to anyone who has been watching this without Musk approved rose coloured glasses.

The bonfire of his vanity is gloaming, and yet the fans are still fanning the flames.
The EU up for renogging?
It's certainly multi-ethnic. Lithuanians are Balkan peoples while the Polish are Slavic, two separate language and cultural groups. As for race the author was most likely referring to people of Mongolian and Persian descent who were also part of the Union.
It makes me wonder how such a poor article made it to the front page of HN...
Obviously code is never entirely self-documenting, but I think the idea is that, given the choice between something obscure with comments and something obvious on its face, you should prefer the latter unless there is some compelling rationale not to.
Using Fedora 27 with Wayland, I have not found a way to do this other than logging out and back in :/
Mine is!

I signed up for an insane promo with Sprint in December where we switched from Verizon and got 13 months of unlimited everything (except 4G tethering, I think that's capped at 10gb per month) for free.

Honestly though, we don't use all that much bandwidth anyway. I'm usually on wifi and for the times that I'm not going to be, my playlists and podcasts download in the background when I am.
Trump asks SEC to mull half-year corporate filings
Would you wait 24 hours before tweeting about that new car you just bought? The thing with people in Elon's position is that the gravity of their situation becomes normalized. They're regular people doing regular things from their own perspective. For Elon he doesn't put much thought into his tweets because for him, saying something that might impact the stock price is a pretty normalized. It happened recently with pedo-guy-gate. I can cut the guy some slack for potentially upsetting some people with his tweets considering the massive smear campaign against him and his life's work.
>As if the Chinese people don't deserve truth and dignity; basic human rights.

Their internet is already censored. This is the question of whether Baidu is doing the censorship of search results or Google is.
It took a while for war to be something waged by The State because it took a long time for people to come up with an idea of a The State at all. Before nationalism, war was something fought by one king against another king, and what vassals each could muster. They were just petty disputes between individuals and their friends, not wars between countries.

Countries were more like alliances of powerful individuals than what we now think of as a country. Power wasn't consolidated enough for kings to control the full resources of the country, and so people who had no feudal obligations to those disputes weren't At War in a meaningful way. France was the first major power to kill the kings and aristocrats whose squabbling kept any one of them from seizing control of the full resources of the country.

It was the reorganization of society into a social contract each citizen held directly with an abstract all-powerful State that led to the consolidation of power that allows for Total War to exist.
MinUnit – A minimal unit testing framework for C (2002)
How a family of 3 lives in San Francisco without working
My wife just got the Carbon 6th gen. There is an ACPI patch to restore S3. See https://delta-xi.net/#056. Once you've got the patched dsdt.aml, I highly recommend not following their directions, and just loading the file in grub by creating /boot/grub/custom.cfg with the line:

acpi patched_dsdt.aml

This has the advantage of not requiring any manual intervention every time your kernel is updated. The downside is that if you try to dual boot W10, it will BSOD on boot with an ACPI error. To overcome this, take the original dsdt.aml and load it in a custom (not auto-probed) menu entry for windows. You can just clone the auto-probed line, and add before the chainloader line:

acpi old_dsdt.aml
I was fortunate enough to work at Basho, where CRDTs were part of nearly every technical discussion about how to progress Riak.

One of my former co-workers, Chris Meiklejohn, continues to push forward with CRDTs via Lasp[0]. He has a good list of reading materials[1] that it doesn't look like he's maintained recently but should still be useful.

Guess I'll plug my meta-list of distributed systems reading lists[3] (definitely currently unmaintained) while I'm here.

[0]: https://github.com/lasp-lang/lasp

[1]: http://christophermeiklejohn.com/distributed/systems/2013/07...

[2]: https://gist.github.com/macintux/6227368
What do you like about working? I'm really struggling to find something in life that I consider productive that I enjoy doing.
My personal trick:
Write a basic (not turing complete) brainfk compiler into your application and feed your business logic through that.
I don't say you should never use "customers" over "list", but the latter is often good enough. List is a good fit for a compact method which is doing something generic on a list or the context clearly specifies what is in it. It is of course a matter of what you are doing. The point is, that being very specific every time is likely overkill.
"[it is the] Berezina" is something us Frenchies say when something is a total and utter catastrophe, and it refers to Napoleon's disastrous loss in Russia. Usually Napoleon is remembered more positively for what he did in the legal area with the Civil Code, which remains the basis for civil law in France to this day.
Two French rivers disappear underground in cracks and sinkholes
Why would you care if his company loses someone else's money?
You bring a good point, they are not only a car maker, they are also the distributor and the gas stations and they are the best in electric vehicle in all 3 categories. They are also starting to become the best in solar electricity and thus may also produce the "fuel" of their cars.

That's not only being the GM of electric vehicle, they are much bigger than that.

I'm pretty sure they are overvalued right now because what they do is for the greater good, but they are also much bigger than what shorter want us to believe.
I like this answer. I'd also add:

0) Spend time finding data sets that actually interest you.

If you're working with data that you're actually excited about, the questions will flow naturally. And when the questions flow naturally, there's an obvious path to picking up new techniques as you need them.
The question was "What would you pay $5/month for?" and not "What would you not pay $5/month for?"
Seems the most plausible explanation to me, so far.
Toyota offered an electric version of its RAV4, an extremely popular crossover SUV, a decade before the Tesla roadster came out: https://en.wikipedia.org/wiki/Toyota_RAV4_EV. But in 1997, gas was cheap and the government wasn't subsidizing EVs to the tune of $7,500-$10,000.

It's hard to say what would've happened in a hypothetical timeline. But Tesla didn't invent the underlying technology, the traditional car makers were already working on it. Tesla wasn't responsible for EV subsidies in 2008, it was a combination of exploding gas prices, middle east instability, the Iraq war, and Obama getting elected. Good chance that the EV market would've taken exactly the same course without Tesla.
It’s keeping track of 16k blocks of memory that way. If you changed it to 4MB you’d have to track and scan 512k.

We have a GIANT address space to play with. Why not use it?

They’re not actually using 128MB per function.
Yeah, seems like a sane interpretation.
>McClellan who is incapable of attacking you for months despite superior forces and odds

I know he always gets this kind of criticism, but don't think he was an idiot, he knew his advantage. I think he was genuinely reluctant to ratchet up the slaughter of his countrymen, especially when he had the clear advantage.
> but simply writing off their effort seems unfair.

Their efforts seem obviously futile, and open up the risk that the Chinese government will use it's new leverage over them to get them to to bad things. For instance, Yahoo once handed over the emails of two Chinese pro-democracy journalists [1], resulting in them getting 10 year prison sentences in China. Once Google is getting revenue from China, it will be a lot harder for them to say no such demands, especially ones they can comply with in secret.

[1] https://abcnews.go.com/Technology/story?id=3862513&page=1
Most non-fiction books usually spend about 80% of it explaining a concept.

Book summaries will tell you what the concept is, but not why it works or how they defend it.

The book Outliers has some very bold concepts - the 10,000 hour rule, as well as justifying that underdogs are usually the winners. These are easy to claim, hard to defend, and you have to read the book to understand it.
I genuinely feel this is not the case. GitLab is so much more - it encompasses the full DevOps Lifecycle in a single application. If you haven't checked out our homepage recently, it might be interesting for you to rediscover what GitLab offers - https://about.gitlab.com/

Full disclosure: I work for GitLab, but what I stated above has nothing to do with the fact, it's how I personally see GitLab as a product.
I remember another poster saying they did not completely leave. They still had offices in China that focused on Adwords and other businesses in China, just not search.

Google announced they were leaving not because of censorship, but due to Gmail hacking.

What I wonder is if China has a similar law like the US that let's them issue "National Security Letters" with secret gag orders.

If they did, then they shouldn't have needed to hack Gmail in the first place.
Bullshit article. Apparently the author doesnt know what “authoritative government “ means.

All the Chinese government would need to do is fine google, and pull the plug on google. Simple as that. When it comes to China’s censorship laws, it’s very hard to overcome them if damn near impossible.

And quite frankly, most Chinese citizens could care less. Baidu and other services gives them what they need. Those who care get a VPN, and that includes Chinese businesses.

Author has never stepped foot in china or talked to its people. Google doesn’t stand a chance if they go against censorship laws, and they know it. They don’t care.