skysight-inc/HackerNews huggingface dataset:
Also, I dislike this article because it recommends these things "always". "Always use forEach", "always avoid delete", "always...".

Look on the bright side: at least the article isn't titled "best practices"...
They claim that it is quiet, but there is no audio to give any sense of that. I would want to hear two people having a conversation while it takes off nearby.
> Don't blame a company, or the service they provide

Facebook is making billions by exploiting exactly that kind of behavior. The more one-sided and scandalous a headline is, the more clicks it gets. This leads to being seen by more poeple.

Also, showing people only what they want to see leads to echo chambers and is ditremental to society as those groups tend to develop into extremes that refuse to accept anything outside of their bubble.
I'm led to believe F# is popular amongst the quants, quants work for the monied.
VW Secures $25B Battery Supplies in Electric-Car Surge
(I'm from hasura.io)
In fact, this is the component that powers a portion of the "git-ops" on the hasura.io platform.

Like one of the commenters said, we also do some pre-push magic right now (esp. for client-side kubernetes templating) for a more complete and opionionated CI/CD workflow.
This is insane...

Let’s start with logic: using Facebook is a clear indicator that the platform is preferable for the spreading of hatred, compared to alternatives. Blocking this avenue will therefore harm the propaganda effort. The discussion can only be about the magnitude.

And there is some obvious support for the idea that the magnitude will be significant: no social media platform has made significant inroads against FB’s reach. People aren’t actively searching for sources of hatred, they simply happen unto the content mixed among their friends’s baby photos.

Just look at the barren cesspool of hatred that is voat: it doesn’t have anywhere close to the reach of the market leader these xenophobes were kicked out of, Reddit.
I like how Scala is connected to Spark and Hadoop but nothing else...
How to Reduce Cost and Drive Revenue at Your Event – KaiGi.biz
Are you sure about that?
"for of" is something that I'd expect a js compiler to handle exactly the same way as forEach. I'd see how it might have been slower right when it came out but browser vendors are quick in optimizing their compilers.

At least https://jsperf.com/for-vs-foreach/293 shows that there is no significant difference in for of vs forEach in my version of chrome. There is an insignificant difference acoording to which forEach is actually slower.
(One forEach case in that benchmark is only faster because it does something different.)

Edit:
looking at the comparison at the bottom, it seems like forEach is actually significant slower than for of since chrome 61.
Set showdead to true? I almost forgot that was a setting, must have been ten years since I changed it. Looks like you've been here a decade too though (as of yesterday!
(didn't realize they changed days to date joined on here...))
>Mozilla wants to make Firefox automatically detect and dismiss the popups.

That would be quite amazing, some newspaper outlets have that annoying inpage popup that nags me on disabling adblocker.

And if you dismiss it, it shows up every 5 seconds. And that's not even exaggerated. It was legit 5 seconds.
I'm assuming you're going to switch to MacOS then, because running Linux on a modern MacBook Pro is a pain and a half. I did a write-up on it:

https://penguindreams.org/blog/linux-on-a-macbook-pro-14-3/

My Wi-Fi and battery status still don't work. I use a Wi-Fi dongle at work. :-P
Looks like you can create an account on the website or log in with a Facebook account.
C++ is consistently less well paid than Java in the US and in the UK.
Robotics, A.I. And Blockchain Redesign the Pharma Supply Chain
Are You Underpaid? In a First, U.S. Firms Reveal How Much They Pay Workers
Emacs's power largely comes from what and how one would use Elisp. Though Emacs is a great editor in itself. But the true power of Emacs is to use Lisp and its power of Macros to convert Emacs into a AI code writing utility. In other words you write Elisp, and Elisp writes your code. Of course this also extends to the fact that you could eventually use Elisp to automate tasks in the software development workflow.

I think huge disservice has been done to Emacs to use it as an email browsing or as an project management utility. One could use Elisp and do all sorts of curious stuff inside the software development workflow itself.

But if you are using it for editing and for that purpose only, I can absolutely see why vim would be winning. Its just the best lightweight line editor out there.
Facebook dragged themselves into that role when they decided to filter their newsfeed to promote the material which provoked the most reaction, and made a point of policing stuff they did care about, like pseudonyms and mild nudity.
in which case you'll need to add a comment to remember what it says:

print("\u4f60\u597d\uff0c\u4e16\u754c\uff01") # "你好，世界！"
Do a search for land/housing, you can buy a ton of it in rural places for pennies compared to areas like San Francisco. But I think SF is expensive just from market forces alone.

Example:

Right now on Zillow.com, there appear to be 735 houses for sale at $50k or less in Iowa alone. (this is not auctions or forclusures either)

https://www.zillow.com/homes/for_sale/IA/fsba,fsbo,new_lt/ho...

These aren't cramped dinky places, these are full multi-bedroom homes with land. And this is one single state.

The issue isn't land, space or housing, it's jobs, knowledge and opportunity. (and I am sure other social dynamics...)

Edit: I did not verify pricing, so who knows how many are bait-and-switches... but it's still a high number to start with.
GDPR doesn't force modals. They are just the easiest and most lazy way to implement GDPR compliance. So perhaps modals becoming unreliable will inspire web developers to explore other options... like not tracking absolutely everything about the user from first millisecond after the page was rendered.
In Python try..except is very idiomatic.
> they choose to use that power to censor boobs

Do they, or are they forced to do so?

And as I said: I don't like Facebook. I think they're shifty and probably do have an agenda. However, it's untenable to attempt to force them to censor anything that a government doesn't approve of, or hell, society doesn't approve of. Facebook has 2.2 billion active users which make post 510,000 comments, update 293,000 statuses, and upload 136,000 photos per minute. It is impossible for a company to go through all of them in order to censor those which break whatever law of the country it was posted in.
Why?
There is no reason to assume that two integers which have the same value should be the same object?

On the other hand if you want to check if two integers are different, why would you check if they are different objects, after all they could still represent the same numerical value.

I mean I get that this is something that probably bites someone at the worst possible moment, but isn't this the case for most optimizations?
Yea my XPS 15 running Linux is falling apart. The compatibility was all there, but the touchpad already broke; speakers are blown (no hardware limiter and it was over 100% when I unplugged some USB speakers) and the battery is even starting to swell. I just use it as a desktop now.

I use an HP Spectre as my Linux laptop now. Everything worked on a modern kernel out of the box and the quality seems way better.
And they are completely irrelevant and have nowhere near the reach and influence that posts on reddit have, nicely proving my point.

The content on these sites is also so far away from common decency that people will not the mistake of thinking that messages they read there are acceptable in common discourse.
It seems the vertical take off blades become dead weight and air resistance in horizontal flight. Could they auto-rotate instead, aiding lift? Similar to how an auto gyro works. The wings would be the primary lift providers but why not take advantage of the vertical blades as well?
The older I get, the more I find that making the right decisions, even in day-to-day programming, makes your far more efficient and effective than throwing time at a problem.
I'm very skeptical on the energy expenditure here, this does seem to be a fairly energy intensive mode of transport, but I assume the market would balance the price accordingly.

It certainly doesn't seem like the sort of thing that would become a mainstream mode of transport without a big change in the energy market.
Css cursor
That's a terrible analogy. Unless there's a cabal of restaurants with a plan to poison people, it's probably an accident. Spreading hate like this however, is deliberate, and if there wasn't facebook, people doing this would most certainly find a different venue.
They simply provide a way to communicate between people. When a newspaper incites hatred, we might blame the editor, the writers, or the readers, but we don't blame the paper company.

What I mean is that the service provided by Facebook is somewhat trivial - it can easily be replaced by emails, chats, or any of the countless ways to communicate via the internet. Shutting down Facebook will not solve the problems in Myanmar.
> Do you think we've reached the absolute apex of having a well-informed citizenry?

Of course not.

> If not, if critical thinking doesn't work, what could we do to improve this situation?

I'm not sure "well-informed" and "critical thinking" are even relevant to each other, but putting that aside, I genuinely don't know. That's why I asked how you teach critical thinking.

It's possible people are bound to retreat to their biases and it's a futile effort. I'm just not convinced attempting to teach people "critical thinking" will work, because it hasn't.
Visual Studio Code + the cquery extension is heaven for me coding in C/C++.
I upgraded the TN panel on my i5 X220 to a matt IPS 18 months ago. It was about £50 from eBay; and a careful 5 minutes with a set of electronic screwdrivers. (All quite easy, you just have to be very very careful when removing the ribbon cable, to not slice one of the thin wires.)

The display is vastly superior. Everything is more crisp, and it is brighter.

The X220 is still fast enough for Chrome / YouTube / Netflix without spinning up the fan. Running a high res external display is a bit too much though; the fan kicks in most of the time.
Do you really believe it’s illegal to show breasts on the internet?
I lived on the streets when I was a teen. Many people start off there because it's safer than being at home. Not an easy problem to solve, and has nothing to do with how developed the nation is.
Gaming laptops are probably the direction to go. The larger MSIs and Alienwares (Dell) are bulkier and probably more user-serviceable (although I'd check iFixit first to be sure).

You do have to deal with the dual-video card craziness, but there are plenty of guides to show which ACPI setting to changed to ensure they're off when you're trying to save battery. Some of the MSIs change the color of the power LED to indicate which GPU is active which helps as well.
Technical Debt is the refactoring effort needed to add a feature non-invasively
Thanks, will look into that - I read that Coq can generate Haskell etc, so I was wondering if something similar exists.
> can we please, please, please keep source code files as pure ascii? Asking as a non-native english speaker. There're a lot of tools

If there are tools that break when this happens, those tools need to be fixed. Bugs in those tools need to be found (through usage) and reported. If we avoid the problem by strictly sticking to ascii in source files, that amounts to sweeping those bugs under the carpet.

Furthermore, another commenter said "use good tools". The inverse of this—don't use bad tools—is important: developing tools that correctly handle encoding issues needs to be seen by developers as a priority. There needs to be a ramification (in the form of bug reports, complaints, etc.) if encoding issues are not considered by tool makers.
As long as we're putting trains in those tunnels! Cars on freeways or sleds don't carry nearly as many people/hour.
From experience I would say it's closer to 100 items, though this is using Go as benchmark. 100 items is also what I would expect considering CPU caches.

From 100 to 1000 items the array performance is not massively worse and shouldn't matter much but a dictionary can beat it (by a tiny bit).

If you're over 1000 definitely use a dictionary or tree.
Was very surprised about the gender ratio: 92.7% Male, 6.8% Female, 0.9% Non-binary, 0.7% Transgender
It's worth running 'powertop' and seeing what it recommends. I've then put a set of suggested shell commands into a script which I run. On my X220, with WiFi and Chrome and medium brightness, consumption is about 10 W.

Thinkpads can also support not charging the battery to 100% / over-cycling it, which can help prolong battery lifetime:

sudo modprobe tp_smapi
echo 40 | sudo tee /sys/devices/platform/smapi/BAT0/start_charge_thresh
echo 80 | sudo tee /sys/devices/platform/smapi/BAT0/stop_charge_thresh
> if you want to profess that your system is better.

Not sure if you thought I am the project creator or if you were just generally speaking. Anyway, if you wanted to know more about the rationale behind this project, you could address author's comment here:

https://news.ycombinator.com/item?id=16571142
A cliff that changed our understanding of time
Reminds me of back in the day when I had a hackintosh desktop running 10.6; really the last good OS X version. Everything since that I haven't really liked.
One of the standard approaches to this these days seems to be the 3 star system.

So you can complete a level and progress, but also have motivation to back and do it better.

Then these stars can be blockers to accessing later stages, so you may have to have an average of 2 stars from 15 levels to get to the next stage (which may be visible and locked, or may show up a 'surprise' reward later on in the game).

One particular game using this method Nintendo's NES Remix also adds "rainbow" level if you do particularly well and I spent a while getting them all and enjoyed having that structure. I would guess this all takes a reasonable amount of effort to set up on the dev's side though.
Show HN: I made a Sketch plugin to manage your symbols
According to the 2016 Uber Elevate study, traditional cars achieve about 1 mile/kWh, electric cars about 3 mile/kWh, and electric planes about 2 mile/kWh.

To simplify, one trades roll drag for induced (=lift generating) drag, at higher speeds.

The bigger issues are battery performance (specific energy), and regulation, in my view.
1.44M floppies are easily the worst of the common formats when it comes to reliability. Even back when you bought them new in stores they were bad, and now they are very bad.

Double-density 3,5" media like the disks for your ST are much better, and both 360K and 1.2M 5,25" types have proven quite resilient in comparison. I play a lot with retro computers in my spare time and anecdotally I find that a random 5,25" 360K disk from 1985 is much more likely to be readable than a 1.44M one from 1995.
How to hand over an Open Source project to a new maintainer
To be fair, this one looks significantly more production ready than all other attempts at a 'flying car' I've seen. It does seem like a compelling replacement for e.g. private jets or helicopters (and not specifically for cars yet)
It's not about volume or anything like that, the problem is that Facebook is a digital simulation of the social networks with all the stimulants being multiplied and all the safeguards dumbed down.

On a real-life social network, there are safeguards that prevent blatant lies and angry-mob-like behavior to be contained. In real life, you have only one persona and when you misbehave you're risking exclusion and loneliness but on Facebook, that's not the case, a person with an agenda can do very bad things without the consequences.

Another case in a real-life social network it would be very hard for a state to shape society, on Facebook that's almost the business model and it's done on scale.

I'm' personally quite pessimistic about the long-term feature of these social network giants because I believe that their modus operandi will eventually create enough trouble that every country will follow the Chinese route of control.
Absolutely true. There is no way that a web tech company like Facebook could apply formal methods in such a fast moving world. Also, don't click this link, it doesn't exist. :) https://research.fb.com/publications/moving-fast-with-softwa...
I'm confused about the setTimeout example; the code as presented is creating an infinite loop, so it does not surprising that the object used in the loop is not garbage collected. But I would expect references inside a timer to be collected once the timer has expired. Do they not ?
Haha, yes, I asked her several times. She's not sure, hence this ask HN.
Even more striking, "the diversity of the company or organization" is second last for women.

> The tech industry is struggling overall with issues around diversity, and individual developers are not making it a priority when looking for a job.

So perhaps it's not the "tech industry" that's struggling, it's some vocal minority that would like to convince you it does.
I must say I'm against this development. First of all, even if electric, this is certainly a very inefficient way of transportation that will 'waste' a lot of energy to transport maybe 4 people.

The resulting price of this technology will result in the 99% stuck on the ground while the only te 1% can afford the fare.

And even if it becomes a regular mode of transportation, do you really want these planes to fly over your apartment/house every few minutes? They might be more quiet than a Cessna but they wll certainly still be disturbing
I was more concerned with all those open propellers. I would have expected them to be either shrouded or even a simple prop protector; think wire ring; to keep them from inadvertently colliding with people or objects.
Snarky: A high-level language for verifiable computation
At least you get money out of the trolls though. Just donate some of it to a bullying campaign.
I don't think GDPR is going to be easily dismissed with modals asking for permissions like cookie notifications were. Someone correct me if I'm wrong, but if the user doesn't give consent (whether explicitly, or via a browser blocking a modal) then unless that information was critical to the application function then you have to provide the service anyway without downgrading the functionality.

Its all explicit opt-in/implicit opt-out instead of implicit opt-in/explicit opt-out. There are no consequences for the user if they opt-out, and it is extra-territorial in its enforcement meaning it impacts any businesses in any region handling European citizen data. GDPR seems to mean business from a regulatory standpoint.
How is the energy use compared to ground transport ?

Are we going to dump a massive amount of heat into the environment if flying vehicles become as popular as ordinary taxis ?
I’m currently working from about 8am until 10pm every day, and usually in bed reading something that applies to my job between 10p and 12p and yes, 6 days a week. I’ve got a day job but am also spinning up a hardware manufacturing business.

Been doing this for over a year. My clarity and productivity haven’t suffered that I notice, but I do not anticipate doing this forever. I’d burned out once before ten years ago doing even more hours and days. This is about my limit.

You have a point though. Look at the crap China churns out.

Edited to add: Having experience the burnout lesson the hard way, I do pace myself. Sundays are for friends, church, and family. I get all the sleep I want. I stop at times to read YC news and talk to others :-) I get bike rides and watch a movie now and again. Life is not all about work.
Welcome to the race to the bottom
Sophisticated malware attacks through routers
Can those who've played these games recommend which one to start with for someone who is interested but hasn't played any of them?
If you're never going to use it again, and you're never going to free it, it's a memory leak.
Microsoft would have eventually yanked VBScript, and we'd be coding in C# for the browser now...
This doesn't work unless you can guarantee that the size of hashed sets is going to be a exact power of two, because otherwise subtree depths can differ.
Actually, certificate revocation and roles / memberships / ownership / access control lists etc. are all the same issue.

You need a concept of a timestamp of a message on a stream relative to some other stream of data.

This is a distributed computing problem.

To solve this for Intercoin, we invented the Permissionless Timestamping Network

https://intercoin.org/technical.pdf

Look for descriptions of PTN. That's what you REALLY need for revocations.

The problem of revocations is then really reduced to a search and incentive problem.
skeptics stackexchange is a good example. Lots of people complain that too many comments are deleted, but it's an absolute lions den of controversial issues. The mods do a very tough job and handle hate speech better than anywhere I've seen.
The obvious thing you are missing is that it is developers who want to build rent-producing "income HOAs" ... they are the driver creating the problem. Who else would be lobbying for the kinds of restrictive zoning that creates these problems?
Context matters. South Africa has the largest inequality in the world. Colonialism created a society where the descendenantd of armed invaders control 80% of th farmland. Whites generally live a comfortable middle class life, while the native population often lives in abject poverty.

South Africa is also a glorious example of reconciliation, overcoming a history of injustice without violence.

But the farming community simply has not used the chance they had in the last 20 years to become part of this historic process: while universities and many other groups and institutions have de-segregated, that conservative community has dug in and defended their privileges at all costs. They invited the government to eventually force their hand.

Expulsion is obviously a bridge to far. And Zimbabwe stands as the obvious example of what not to do. But some sort of legislative land reform is now inevitable.
Having bad day with crypto's market? Remember Roland Wayne
If anyone having a bad time with crypto, just remember today in 1976 Roland Wayne sold his 10% stake in APPLE for $800. Now it's worth $58,065,210,000
I'd start with the free ones:
http://www.zachtronics.com/the-codex-of-alchemical-engineeri...
http://pleasingfungus.com/Manufactoria/

Then depending on which one (or which parts) you like the most, select a similar one
In well-paying job that can be done remotely, apparently, not the programming itself.
Those responsible for the propaganda against the Rohingya used the radio before, now they use Facebook and after that they'll use something else. Education and a proper government that would censor the hate groups could help solve the problems in Myanmar, but eg shutting down Facebook would not change anything.
This is anecdotal, but in my retrocomputing adventures I use a lot of factory pressed CD-ROMs from ~1993-2000 and I have yet to see one fail to read purely due to age.

Burned CD's are a lot worse. How much worse depends a lot on quality and type of disc, in my experience. If you cheaped out on CD-R's by buying the no-name 50 pack spindles back in the early 00's, those will likely all be unreadable now. The fancy gold Kodaks might have survived, though.

I also collect music CD's and it's getting to be a problem that there's a lot of obscure music (demos, live recordings, etc) that only exists on CD-R, and in very limited quantities. I do have rare demos by local bands etc. that have started skipping just because of the CD-R media aging.
This is a beauty! Excellent work.