skysight-inc/HackerNews huggingface dataset:
To be fair, these kind of low level stuff is usually handled by only a handful people, so investing a lot of time in proper documentation might be a lot of work for something useful by few users. The same is also true for DRM and in general the modern graphical APIs on stock Linux. It was surprisingly difficult to understand how all that works together. I had to rely mostly on example code. Even the man pages are incomplete. I guess it's the same situation: The kernel devs build an API, a few people (maybe even the same people) from Xorg or wayland use it and that's it.

On the other hand, the initial Pi firmware for earlier models came with a bunch of bundled examples in the hello_pi directory that were incredibly useful in understanding how everything worked. (see https://github.com/raspberrypi/firmware/tree/master/opt/vc/s...). Right now the forum and maybe the firmware issue tracker is the only source of information. In general, the direction of using more standardized APIs like DRM, Mesa 3D for GL and so on seems like a good idea regardless. I guess we'll just have to give all that more time.

The HEVC decoder is using a patched FFmpeg with direct communication with the hardware API. In the future there will be an V4L2 API and corresponding method in FFmpeg (see https://www.raspberrypi.org/forums/viewtopic.php?t=247897). But that's not completed yet and there's no release date announced. I would guess once that's out, the whole decoding process will be a bit cleaner than it is today. But so far I works pretty well. I ran into a ton of firmware lockups during development, but most of those are fixed now. One thing I didn't manage to do yet is to decode two videos at the same time. That's something the H264 decoder could do. See also https://www.raspberrypi.org/forums/viewtopic.php?f=70&t=2520...
The devil is in details.

Change forest area into other use, e.g. residential, is hard AF. So forest-as-land-use is AFAIK not decreasing in Europe.

But re-forested areas are commercial forests, thus they're cut down. And the first re-forested forests reached their peak condition. So a lot of them are cut down. Usually they're given time to naturally re-seed from remaining trees (unless it was clear-cut, which are not advised in most cases nowadays), re-planting takes time and it takes time for that fresh cut to look like a forest again.

Trees take in much more CO2 while they're growing. So if we keep cutting down trees at their prime age, don't burn them and replant new trees in their place... That's pretty efficient. If that wood replaces some concrete in construction, which is terrible for CO2, double win!

We had a very heated debate about this in my country. Forest-land-use area is growing. But there're lots of clearings out in the forests. Cutting permits allow significantly less than theoretical yearly lumber growth. So sheer mass is growing too. But people see a clearing and think of that as deforestation.

Another issue when old and bio-diverse forests are cut down and then commercial mono-culture forest is re-planted in it's place. But from CO2 side - that's better than keeping the old forest in place. Not so good from eco diversity perspective though.
But I do not care about "stronger, healthier markets" as a goal. What interests me is liberation from the market and collective ownership of capital.

Capitalists generally do not care about markets in the abstract either: what motivates them is class domination. But they don't want to state that plainly, and so dress up the discourse with talk of markets, efficiency, etc etc.
Ideally it'd be rehabilitating the offender, so they can rejoin society and be less likely to offend in the future.

This could mean mental health evaluation and treatment, addiction counseling, education and job training to help them learn a skill, and restorative justice.

I'd say none of these things happened in a cave.
Might be a good twist: it's a state sponsored DJI ads, PRC gently saves the drone industry.
In 2011 I was buying a Ford Mustang and I had to make the decision whether to upgrade to the V8 engine. It was $10K more (+ extra fuel) and the V6 already had 300+ horsepower. I just couldn't justify it.

Eight years later, the car runs great, and it still even gets some complements. I never once needed any extra power! But when someone asks me, "Does it have the V8?" I have to tell them, "Naw, it's just the V6."

At the Ford dealership, you're paying $10K for nothing else than to be able to tell people, for the next 8 years, that you bought the V8. And it might just be worth it.

That's advice on whether to get your PhD, by the way, but it's a few more than 8 years.
It blew my mind too. No it isn't normal at all in the states which is why I found it so unbelievable until I researched it. All of my commercial employers offered paid maternity and paternity leave. There are movements now for passing legislation to get federal employees paid maternity leave but nothing has come of it yet from what I understand.
I would appreciate if you presented your arguments up front instead of sneaking them inside a loaded question. This is as impossible to answer as "Have you stopped beating your wife?"
Looking at the code base, it doesn't look like there's any CSRF protection in place. Not sure what other security issues there are but I'd be careful about using this. You probably want some tests in there as well. Overall looks like a promising project but you might have rushed to get something in front of people when a bit more polish would have made a better first impression.
I'll 2nd the rollup recommendation for libraries, but unfortunately parcel has the same (or worse) problems as Webpack with it's proliferation of dependencies.

Rollup does have some issues with webapps since it's so heavily oriented toward JS-as-entrypoint, but tbh Webpack has the same issues; it just works around them by layering some extra complexity on top in the form of plugins (which you can actually do relatively easily in rollup too, though it's still not ideal in either situation).

Edit: Just measured those dependencies for comparison.

- rollup: 3 dependencies (all top-level, none have subdependencies. 2 are just typings which contain no executable code)

- webpack: 425 dependencies (23 top-level)

- parcel: 837 dependencies (57 top-level)

I haven't used parcel, so can't comment on its function. By the sounds of their website they're focused on speed, so if performance is your only concern they might be a good shout. If you're looking to reduce your security surface area, their approach to dependency management seems pretty irresponsible.
Best way to code secure and reliable applications. Write nothing; deploy nowhere
This hire was probably an over-correction after the Saudi's got busted with spies inside twitter.

https://www.theverge.com/2018/10/20/18003644/saudi-arabia-tw...
The Saddest Moment [pdf]
You could try a cloud based solution like https://curlhub.io/
Come on guys. We were supposed to talk about this.
Nobody Reads Privacy Policies
H&M isn't cheap though. £25 for a pair of denim jeans where I can get 3 pairs for the same price in Primark.
Well, never mind Stallman, didn't the law used to agree on that? Wasn't e.g. Jerry Lee Lewis, an adult, allowed to legally marry his 13-year old cousin (as well as countless other people)?

I find it bad myself (I'd say: have sex after 16 and generally with people closer to their age progressively -- e.g. a 16 yo should be able to sleep with a 18 year old, but not sure with a 25 or 40 year old, it would be more manipulative. After adult age, at 18 of course, anything should go), but from what I read:

"As of May 2019, in all but two states, a minor can marry with parental consent or with judicial authorisation, with the minimum marriage age, when all exemptions are taken into account, being as low as 14, and potentially lower."

So, if judges are OK with this, how can Stallman lose their job, not because he did it, but because he merely theorized about people doing it?
So let's pick this apart:

- "The authoritarian infrastructure will be built"

I'd argue it already has been built, by Google, NSA et al. Also, I fail to see why these "high levels of government regulation" would be bad, since we've tried the alternative and it obviously doesn't work..

- "The Green New Deal has turned into a jobs program."

I'm no american, but has this been put into law already?

- "the Soviet Union was immensely energy inefficient and polluting"

I do hear that from time to time but no one can provide any sources for this claim. Can you? Not planning on protecting the ol' USSR, but still seems insincere to just throw this around without attribution.

- "Increasing middle class prosperity is inherently incompatible with reducing carbon output."

That's a pretty flat statement. Why would this be so?

- "the Global Climate Strike platform categorically rejects market mechanisms to address climate change."

We tried this, it hasn't worked (so far). Why should we continue with this measure instead of other approaches?

- "Carbon capture and cheap nuclear power"

both of which do not exist. See my comment about LCOE and the link below for cheap nuclear power. With regards to carbon capture, we have some pilot plants but this technology (or rather mix of technologies) is nowhere near ready for the massive scale of deployment we'd need already. That's why the focus is on political solutions imo.
If you can't make up your mind whether you need something, you usually don't.
.NET developers: how clean up to 15 GB on your hard drive
That's modern liberals trying to defend diversity and inclusion to a rediculous logical extreme. This is because they view the system as unjust due to bad actors in power (as opposed to far-leftism's opposition to the system itself being inherently unjust). So these liberals will use extrajudicial means and coercion to remove those bad actors.
If the failure of a business means personal financial (and perhaps criminal, as history shows) ruin then very few people would start businesses. Limited Liability for both the managers and shareholders is absolutely critical, unless you want everything operated by the same people who run the DMV.
There is always Hastur; Him Who Is Not to be Named. Oh shit, I did it!
On the contrary the Republican party does an amazing job campaigning effectively, gerrymandering, disenfranchising, misinforming and scaring their voters.

It's amazing the divergence between the policies that the US population supports and what gets enacted by their government and that's down to a lot of hard work and low morals on the behalf of the Republican party.

2/3rds of voters who approved of Trump in 2016 think Obama is a Muslim. That's truly impressive work and should not be dismissed as an accident.
Thank you. I've been skipping graperfruit juice for years.
I agree as I do the same. But the approach needs to be critical, because there is another side to this.

https://medium.com/imperium42-game-studio/online-indie-games...

reddit thread on the article:

https://www.reddit.com/r/gamedev/comments/dad48z/online_indi...
You are could not be more wrong.
It’s rare in production, but fantastic in development. Often I don’t even restart my Elixir app when switching between git branches, because the hot reload is enough.
The article you link to does not support what you claim it does.
> All the small issues here show, together, that indeed Apple doesn't give a shit about gaming and about interoperability with other platforms. They want developers to be faithful to their locked garden and their technologies.

Especially if it's only 4% of your sales. If 4% of your sales doesn't cover the cost of a Mac, code signing, and the cost of support on the Mac then it's a _net negative_ - you'll make more money not being on the Mac.
If you ran a company, would you make sure that none of your employees ever face consequences for expressing their opinions outside of work?
I didn’t say “safe”, I said “low crime”. Overall safety might increase, but I expect crime rates to go up everywhere as tech enables it. At least in the next 10-20 years, beyond that is unpredictable change to too many aspects of our world.
They where very public about what they have been doing. The authorities knew they where hosting child porn it just took them 20 years to do something about it.
A guided tour through Alan Turing's original paper on the Turing Machine [pdf]
Girls vs. Boys Brain Differences Might Explain Tech Behaviors
Brexit: Queen would sack Boris Johnson if he ignored court over Benn Act
Test-Driven Development with Python, Flask, and Docker
> Everyone is caught making false statements

That is too postmodern for my tastes. I would strongly argue that one can speak without making false statements, and would be very much in favor of some sort of fact-checking badge on social media. It would be difficult, but I really believe it would be worth it.
3 Common Technical Debts in Machine Learning and How to Avoid Them
I'm also from the UK but I left more than 30 years ago. I feel nervous every time I visit my family in the UK because now they all have locks that require a key on the inside and frequently the key is misplaced.

I understand the reason for it but I wish a better solution could be found.
And those who lose that status, for whatever reason, will be the "ticked off" accounts.
You are trying to quote an old note of his. People don't realise that and think you are quoting the leaked email.

Quoting ars (can't be bothered to find the note), he wrote: "I think it is morally absurd to define 'rape' in a way that depends on minor details such as which country it was in or whether the victim was 18 years old or 17".

He had similar writings about statutory rape from the same time iirc. I don't think the quote above is entirely disagreeable, especially considering the weird court cases that has arisen from that legislation.
Every time I click the "domain join" button when I install a PC at work it never even ask which domain I want to join. I have to do it once the OS is fully installed.
That depends. This conversation is not so relevant now because JavaScript is fast and the DOM is almost assembly code speed. When you slow things down, such as using really old hardware or rewinding the clock to 12 years ago, things were much slower and the performance differences were readily noticeable.

When the environment is slow the ultimate bottleneck for the DOM is the document object. This is the only entry and exit point to the webpage and with JavaScript being single threaded you can only execute one instruction at a time. To make things confusing though DOM instructions without JavaScript are executed much faster than JavaScript instructions, but DOM instructions from JavaScript are slower than JavaScript. This confusing because every time you exit the language, this applies to any language, to perform some external operation there is a small programming overhead that takes time. Such an external operation includes any DOM operation including .innerHTML. None of that had any bearing on visual page render, which had its own performance perils.

Because of that it was/is faster to use the standard DOM methods, createElement or appendChild, when you had to execute those instructions only a few times for a given piece of logic. This because .innerHTML does a couple of things: removes existing DOM nodes (if any), parses a string, and inserts new DOM nodes. That normally applies to inserting a paragraph, changing an attribute, or some other singular piece of content. When the thing to change/insert comprises many DOM nodes, such as a table, it was dramatically faster to use the .innerHTML method, because then most of the work occurs outside of JavaScript. Keep in mind there is overhead for each any every instruction that leaves the language and .innerHTML method leaves the language only once. Also keep in mind the page DOM is bottlenecked to the document object so these instructions leaving the DOM could only do so one at a time in order. That overhead per language exit adds up and scales slower than the slower performance of .innerHTML, especially since the .innerHTML work occurred as native code in a faster language.

There were compromised solutions, such as using document fragments. Almost nobody did this though. A document fragment allowed constructing a DOM artifact without touching the document object and so there was no bottleneck until inserting that artifact into the page. This was the fastest way to construct large complex things, but it imposed a lot of work on the developer, it wasn't widely supported (even though it was standard), and the API was less clear/familiar.
Yep: it seems so. That is pretty unbelievable; one posts a question and it gets CHANGED.
One thing that mystifies me is why the general population thinks that uniformed PsyOps people are like a real-life version of Kilgrave from Jessica Jones. They're basically the military's version of PR reps; most of their time is spent doing stuff like making fliers and taking photos of bags of rice being handed out. Maybe once in a while they get to blast Slayer at a building of holed-up insurgents. Meanwhile all the HN comments treating this guy like he's using Twitter as a cover to put LSD in the Saudis' water supply or some shit.
What is posting Snapchat?
"Geothermal is expensive because of labor, not necessarily price gouging."

In my experience, this is true. Comparing the electric heat system from one HVAC contractor to the ground source system I went with, there are a few expenses that are unique to ground source that start to add up. (USA - 2016)

$3,000 for the man and machine to dig the trenches and fill them back in.

Unknown - 2 days with a handful of laborers and 2,400 feet of pipe to lay and fuse together.

1/2 day to fill and purge the air from the pipes.

The equipment is more for sure, but I don't know an exact figure, but multiple thousands.

Overall, the 2 bids were about $15,000 different. Tax credits and even a rebate from the utility co-op made it close enough to a wash that I went with ground source and have been very happy.

When people ask about my monthly bill, the next question is "Why doesn't everyone do that?" I think many people don't care enough to deal with the sticker shock of a more expensive system. Another big reason is the amount of land required for horizontal trenching (there are other options, but this is generally the least expensive).

I also agree that if your climate is mild enough to use an air source pump, go for it. They don't quite cut it where I'm at (USA, just shy of Canada).
Have you never heard of the 'halo effect'? I find it really sad and closes minded that you would call something 'incel' simply because you're incapable of fathoming the idea that things are actually harder for some people.
Database Deep Dives: MongoDB
> Issue tracker

There are bug trackers that have more features compared to Github/Gitlab.

> Merge requests that are easy to analyze

You can get that through pure git by using git format-patch and git send-email

> Ability to put comments during a code review on specific lines of code and discuss it from there

You can get that by replying inline to the email containing the patch (much like I'm doing here when replying to a certain part of your comment).

> Embedded wiki for a project

That could be maintained in the docs directory of the project

> Managing different access rights to different repos

Given that the project maintainer(s) maintain access to their repos, they could just as well handle the access rights without having to rely on Github/Gitlab.
All great replies. Thank you all. Particular hat-tip to @lotharrr for the extra detail.
It's the best-case scenario. I figured comparing 4 years to 9 months was bad enough, but it could easily turn into 9 years. Or more.
Genghis Khan and the Making of the Modern World narrated by Jack Weatherford was quite cool to listen to.
New Dapps on the Block
> Here is a condensed list:

I don’t find that list very compelling. Longevity in particular isn’t very interesting given that Scheme has gained very little ground in 60 years. That seems like an indicator that there is something wrong. I would sooner use Python or JavaScript, which are familiar to programmers in general and which have gained lots of traction in their respective lifetimes.

> S-expressions do both.

Right, that’s the problem. :)

> That is an unexpected thing to say about an acronym that stands for "Infrastructure as Code." You cannot get automation out of static data.

It’s a matter of architecture and separation of responsibilities. The IaC technology takes static data and automated the creation, mutation, and deletion of the resources specified therein. The client generates that flat data by evaluating a program over some inputs.
This is the little detail my dumb joke missed.
Maybe humankind should reward it more, then.
Imagine if humanity has treated other technological problems as societal ones:

>What do you mean plague vaccine? We need to stop dreaming about magic solutions and just stop living in cities

>Farming? No this will never work, just stop reproducing. And collect more berries.

>Fire? Why do we need fire? It's dangerous and hot food is a luxury.
An important point is that not all PhDs are equal. It varies a lot depending on the advisor, the subject, and the lab where it takes place. Some topics are quite "niche" and will not be useful in the industry. Some advisors don't really supervise their students (can happen in the best schools, with reputable professors). Check to see if you'll have the freedom to visit other labs/companies during your PhD. It's good to see a variety of places to get ideas from people, initiate collaborations, build a network. It's usually possible, but requires initiative from your part. And you need to make sure you will not get stuck in a never ending, boring PhD.

> I'm just not that bright and that a PhD would be a huge intellectual challenge for me

Don't think you need to be bright to complete a PhD. If you're able to get accepted in a program with a decent advisor, you should have what it takes to complete your PhD. It's also a matter of personality, perseverance.

I'm pretty happy that I completed a PhD. For one thing, it's great to have more than one professional life. I did a variety of things. Worked in academia, in several labs, several countries, and now in company. I had friends who went straight working for a company after their Msc. They earned more money, but I have the feeling I had a more diverse career, and that I learned more things (even though some of them are pretty useless). On the other hand, even in the industry, there are many opportunities to do interesting things. It's up to you not to get stuck in a boring job.

There's no definite answer.
No, it would. Simulate it at a threshold like 1600 scores. The steeper increase in that part of the range yields the same phenomenon as normals.

> (Also, intelligence/aptitude/performance scales like IQ, SAT, or ASVAB scores are arbitrarily numbered, so I'm don't know what a "fat tail" means in that respect. Maybe there's a standard definition that isn't completely arbitrary.)

Er, you can look at plenty of cardinal-scaled things like vocabulary or digit span. Doesn't change the non-normality at the tails.
Playing Atari Ball Games with Hierarchical Reinforcement Learning
Demanding multiple extreme lifestyle changes from billions of people—most of whom don't like you and won't listen—seems like would make for the least effective and most damaging of all the available solutions.

I prefer solutions that involve changing the least number of stubborn and uneducated minds, and offer the most upside. Like industries that are run by professionals and are already accustomed to high regulatory requirements. Energy and construction industries seem like there's a lot of low-hanging fruit there, just for starters.
No, shipping is the most efficient.

Not only are drag loses comparatively small, those two stroke diesels are crazy efficient from a thermodynamic point of view (massive, slow, and high compression ratio -> crazy efficiency).
why would they not do it after they mic almost everything that snapchat comes out with?