skysight-inc/HackerNews huggingface dataset:
War has never existed due to a lack of tools or technology. If anything, those things made war more deadly than ever (see WW1).

Wars exist because people are willing to kill and die for what they believe in. As Carl von Clausewitz wrote, “War is simply the continuation of political intercourse with the addition of other means”
While I'm interested and excited by this, it gives me some "Terminal Man" vibes.
Supporting different y-axis ranges is something we can add, and I was already thinking of adding a 1ms range for visualizing low-level CPU cycle activities (which span nano and microseconds). I like the idea of 16ms for 60fps analysis, where every column is one frame. Could help game development. :)
> It isn't the only way to handle concurrency, but they are the only primitives that can be used to port existing code (C/C++/Rust/etc) into the browser sandbox without killing performance

I thought a big reason why we have WASM is so that that emphatically does not need to be a concern of JS.
DNS and BIND, 5th Edition
I know React devs tend to gravitate towards Flow (which makes sense, since both are developed by Facebook), but I personally recommend TypeScript solely because it has a larger ecosystem and far more library type definitions. The actual type systems are pretty much identical these days, but having type definitions for almost every external library makes the out-of-the-box experience much, much better. Also, I found TypeScript very easy to integrate into an existing webpack setup, whereas I had a lot of trouble getting Flow to work seamlessly (though, apparently many others have had the opposite experience, so take that with a grain of salt).
Nuitka, the Python compiler, fits the bill here: http://nuitka.net/doc/user-manual.html#overview
What was the root cause of the problem that motivated this visualization tool?
So something I struggle with is placing podcasting into the range of content marketing options. Compared to writing posts, guest posts, building tools, etc. how do you value a podcast listener vs an email subscriber, etc?
People assume that everyone who uses a Mac is running Photoshop or developing advanced AI but they're not. There are a lot of professionals using Apple products but they avoid the low end like the plague. Apple is a lifestyle brand these days and much of the user base has no demand for anything beyond the core Apple Apps.

The Macbook Core i3 is barely enough to run Safari or iTunes and Apple could probably replace the CPU without many of those users ever noticing.
Out of those xx% of projects, how many really need the flexibility? Based on the last 30 years or so of being a developer, I would be tempted to believe that it would be in the low single digits.

It is sometimes worth it to spend a little extra time as you set up the build process, and as you make decisions on how to organise things so they can conform to a build process other people will understand. Quite often "clever" builds on long-lived projects, or projects with many developers, have a higher cost in terms of effort than what you save on "clever" shortcuts.
Not at all. If I meant that I'd have said "is never required" or similar; I clearly stated it was my personal experience.

It depends on your hardware as much as anything IME - sadly most PC hardware sellers make stuff to work under MS Windows, so if you're not careful with your purchases you can have problems.

I used to use Slackware, and that was a lot of command line - or at least text based - configuration; but I chose it to learn about administration. Like buying an old car so you can practice fixing it.
To be honest I find the content on her website pretty normal according to my standards. Only the paranoid about the dictator part can be called conspiracy but that's just a very broad idea and nothing specific. Other contents are just rants and strong opinions on issues on demonetization or animal abuse.

There are far more incomprehensible and scarier content on the Internet if you know how to find them.
> The two major commercial producers of proprietary operating systems are basically giving away their operating system at this point.

Huh? Windows 10 home and pro aren't free? It's true that Apple doesn't charge for upgrades, but they do charge a significant markup - and they will happily sell you a licence to run Os X on a hackintosh although they'll forbid you from doing it in their licence ("non apple hardware").

> Until a business model emerges which challenges this

Appstores. Windows, and Os X have app stores. Steam is an appstore. Microsoft and Apple bundle a competitor to steam with the Os.

Just because both apple and Ms suck at making/marketing/developing their App stores... Doesn't mean valve don't want to stay in the business...

They can't get in on ios, Xbox, ps4, etc. They could probably make an appstore for Android - but I'm guessing they'll just focus on streaming games from the cloud to Android (esp Android TV).

With hw support for virtualization, Linux could be the universal runtime - allowing the same game to run on Mac, Windows and Linux...
The American far left creates and disseminates far less propaganda than the far right does, although I’m open to hear evidence otherwise. For whatever odd reason it seems that the left in general is far less amiable to inflammatory propaganda - for example, there’s much more evidence that Donald trump coordinated his campaign with foreign intelligence services than there is evidence that Obama is a socialist Muslim or that Hillary Clinton was complicit in child sex trafficking or satanic rituals.

In my estimation I’d say that the main tools of the far left are currently censorship and ostracism within communities, although the far right engages in these practices just as avidly.
My Emacs manual, only book I keep on my desk at the moment. Truth is, if I'm going to read for pleasure I go to my bookshelf. I don't want to read where I work.
- Structure and interpretation of computer programs

More by nostalgia than by need

- The art of computer programmming

- Hacker's delight

These two are of great help when doing programming challenges. Hacker's delight is about bitwise tricks.

- Open Data Structures

Useful for a quick refresh on data structures.
Nokia's New Android One Phones in India: This Is Just the Start, Says HMD Global
The reality of being a citizen of the US is that the intel community doesn't make it easy to do so.
I played Runescape for over 10 years.

For the first 7~ or so I was a bad player that progressed slowly.

Maxed my combat, and eventually became a force in the duel arena. Made bils, got bored, left the game.

Nothing hit my beliefs in the face like realizing infinite money in a game like that ruins the experience.

It actually ruined me for video games to be honest. I played LoL for a year or so before getting bored, and spent a small amount of time with CoD on the Xbox, but no other game has ever captured me like RS.

I still follow a few content creators, and get the itch to start a new account once a month or so, but I won't let myself get into a game like that ever again.
> The US was always on the allied side, through funding and supplies.

Businesses in the US were serving both sides of the conflict.

http://www.ibmandtheholocaust.com/
What's the solution? Only use ASCII? Don't use padStart/padEnd? Does anyone know anything about monospace fonts and any guarantees they make wrt. unicode?

Well.

The description given of "multiple bytes of unicode" is terribly misleading.

There are multiple reasons you might run into trouble in a JavaScript string. One is that it uses UTF-16 for its string type; this represents Unicode code points as 16-bit units. For code points which fit in 16 bits, it uses one unit, and for code points that don't it uses two units, so it's a variable-width encoding (all code points of Unicode can be represented with 32 bits, so two units for a code point is the most you'll see in a UTF-16 byte sequence). This is done via a mechanism which derives two "surrogate" code points from the original, and the resulting two code points are called a "surrogate pair".

Unfortunately, JavaScript leaks this implementation detail to the programmer, which means many string operations can "cut" a surrogate pair in two and leave you with code points that don't actually represent any character, because they're from the surrogate range.

But that's not what's happening in the given example.

Emoji are complicated. Some emoji use only a single Unicode code point, while others are composed from multiple code points, potentially with a joiner code point in between. Here's a comment I just posted in another thread with an example:

https://news.ycombinator.com/item?id=16757317

In the example in the linked article, the "heart" emoji is actually two code points: U+2764 HEAVY BLACK HEART and U+FE0F VARIATION SELECTOR-16. The first is a heart-shaped character that's been around for years; the second is a "variation selector" character which tells whatever's rendering this that it should use a variant emoji-style presentation.

But since that's two code points, again, operations on it can "cut" it in half and cause havoc.

The "workaround" is not to use string indexing or slicing operations in JavaScript if you think you'll be handed emoji or anything else from outside the Basic Multilingual Plane of Unicode, or to be prepared to manually handle them.

As to monospace fonts, this article has a great rundown of how Unicode actually works, and an exploration of how various monospace environments try, and often fail, to handle it:

https://eev.ee/blog/2015/09/12/dark-corners-of-unicode/
Not to mention, encourages them to leave the country, or at the very least, state their objections and then put up with something they deeply morally disagree with (and basically violates international laws on human rights). Oh, and it's an action that's probably self-defeating. Offensive military capabilities indeed.
This is a pretty bungled article and she has the causality of the aesthetics wrong - her videos don't resemble post-internet artists, post-internet art resembles them in their attempts to reify authenticity and pre-broadband earnestness. Instead of using Petra Cortright as lens to read Aghdam, the author should've examined "amateur" sites like Geo/neocities, angelfire etc or the style of Iranian music videos.
Based on the diagram, I believe they're estimating distance based on parallax rather than time of flight
Maybe, maybe not.

What does the profiler say. This is always the first question in optimization, if the profiler comes up with anything you can fix, that fix is always your biggest bang for your buck. If the profiler doesn't really say anything we are in a tough spot. There are things that are worth doing anyway, you have to be careful, in most cases even if the change is really faster it probably will not be fast enough.

Back to your example, maybe we cannot fix the database, but even if the database query is 10 seconds, going from 10.5 seconds to 10.001 seconds response is an improvement.

Your scale is an important question. Facebook can save tens of thousands per month with an optimization so small no user will notice it - between not having to buy as many servers, and not having to pay as much power to run the CPU for those extra cycles. (Facebook will not give you the actual numbers, but they can tell you they have measured and you can read between the lines to guess how much it must be given they have a few people employed in small optimizations)
OK, I can see how that would be a big draw for some companies. Doesn't help me personally though, since I take everything out.
Java EE 8 Security API: Overview
> Only in the USA is it normal to think that people should have the right to kill in self defense.

I think you are wrong. At least in Norway where I've lived for the last few decades I'm pretty certain people are found not guilty because of self defense.

> Even more, many think they should be able to defend themselves from the state.. while that is the definition of a lawless society (a society where the state has no way to impose the rule of law).

Persecuting minorities where completely lawful in nazi Germany.

I guess you should be looking for another word because as much as I'm against lawlessness that doesn't cut it here IMO.
Right on. Can you briefly explain differences between this and the popular DnD projects, and in what scenarios someone would use this over those?

https://github.com/react-dnd/react-dnd

https://github.com/clauderic/react-sortable-hoc
Wild eyed idea. Could we run a cable across this. Have it turn a gear. Then gear it up to a one million to one ratio and turn a giant generator with the motion?

Free continental drift power?
Checker (YC '14) | San Francisco, CA | Full-time | Onsite

modern background checks, focused on building a fairer future for applicants. growing and profitable, an unusual combination for the Bay Area :) great engineering centric culture. co-founded by engineers. 160+ ppl, 40+ eng.

3+ years relevant work experience

--

Engineering

https://bit.ly/eng-full-stack

https://bit.ly/eng-backend-core

https://bit.ly/eng-manager

https://bit.ly/eng-devops

https://bit.ly/eng-it-ops

https://bit.ly/eng-data-1

--

Product

https://bit.ly/director-prod (8+ years exp)

https://bit.ly/senior-pm (5+ years exp)

https://bit.ly/prod-manager-1

https://bit.ly/prod-product-designer

https://bit.ly/prod-technical-writer

--

Sales & Customer Success

https://bit.ly/sales-account-exec

https://bit.ly/customer-success-rep

--

Marketing

https://bit.ly/content-marketing-2

https://bit.ly/digital-marketing-ops

--

All other jobs

https://bit.ly/all-the-jobs
mlpack 3 released: a fast, flexible machine learning library
Yeah, that makes sense I suppose. I just don't see the growth path for Spotify. Yeah, they have an excellent music service, but whats next?

Edit: and I as about growth, because I don't see how Spotify is currently worth 30B.
Depends on what you mean by Node.JS CPU profiles, if captured by `perf script`, then yes, otherwise, not yet.
Yes, I've already used it on Node.js profiles. :) Get any instructions for doing CPU flame graphs with Linux perf (I've written several), and take the output stage of "perf script" and you can browse it in FlameScope.
> Only in the USA is it normal to think that people should have the right to kill in self defense.

If that's the case, I don't want to live anywhere else. If someone breaks into my home in the middle of the night, they pose a deadly threat to my family. In what country would you not feel the same way?

> Even more, many think they should be able to defend themselves from the state.

Not all states are benevolent, nor are they guaranteed to stay benevolent. Many Americans are wary of our gov't (and IMO rightly so.)
The state in any case does have a monopoly on violence. That part was true.
I find it pretty easy to believe that other countries will continue to funnel money into military operations even if the US slows or stops.

No, I can't prove that. But it seems like a very reasonable belief to have. What reason do you have to believe that it won't be so?
Hi. Sorry removed it recently again as I thought we had it all covered :). Your email is not in your bio either so I added mine again. Feel free to contact!
"The Power of Habit" by Charles Duhigg.....I have other good books too but this one is an asset...Every desk should have it
been thinking lately, we might have a bias towards fear because it's better to mistake a stick for a snake than the reverse, some people's genes go too far with this and get anxiety disorders.

maybe we also have a bias toward detecting betrayal, reciprocity being a big thing for mammals. humans needed to constantly track who was allied with whom in order to predict their behavior. so maybe some people's genes go too far detecting betrayal and they end up paranoid.
I kind of agree with you. This is dystopian at this point. And I don't see how permitting this sort of thing wouldn't have massive consequences down the road, but then again I'm the guy who thinks intense negotiation at a table with a mediator, and/or deciding a dispute with some sort of sporting event, is a superior solution to simply butchering people with explosives en masse.
This especially stuck out to me as it is fairly consistent across most episodes that I have seen:

"If Lemonis has a genius skill it’s in keeping his temper and working through bullshit problems to get to the real festering issues that are at the root of inefficiencies."
Google does not use the content of your emails to target ads: https://support.google.com/mail/answer/6603

Ads where? Do you just mean display ads on the web? If so, your browser likely ended up on a list for diaper ads by some other means. Top of mind:
- Did ever add a baby-related product to a shopping cart on a retail site?
- Did you visit baby-related websites?

Less likely, but possible,if your browser cookie was linked to other personal information by 3rd party data brokers:
- Do you use a loyalty card at a physical store? Did you suddenly buy baby stuff for the first time?
- Did you return a product registration card for a carseat or something like that? The company my resell their customer lists.
New Zealand might be OK
I call bullshit.

The fact that you are outing yourself (now and in your HN profile) is very unlike any other "spook" I know.

It's laughable that you say your " background is all out there for people to see".
Ordinal Utility
TypeScript is ahead of Flow in both tooling and type expressiveness. Both can easily be added to an existing code base in incremental steps. I'd go for TypeScript every day of the week, but both are good choices.
Was your performance issue related to high frequency rerendering in react? If it's the case take a look at animated (https://github.com/animatedjs/animated). You can use it to update dom styles out of the react render loop.
>Who'da thunk one language might eventually eat both a significant chunk of C and a significant chunk of Javascript someday?

Erm... PSA: Rust isn't the only language that is compiling to WASM.

I'm glad for Rust developers (How exciting is for them to be able to target WASM), but what is really exciting is to have alternatives; even more exciting if they have nothing to do with javascript.
A "large fraction" has to be a huge overstatement. I have an extremely difficult time believing a "large fraction" of top tier engineers won't work on a military project simply because its associated with the military. More like a very small minority. That number becomes "almost zero" when not taking the military project means having to make a career change.

Ive been around the block a few times, I've worked in the defense industry myself and I've worked in non-defense private sector as well. The quality and quantity of engineers are extremely similar in my experience.

Don't forget, a lot of the tech we use everyday started as military projects, such as the Internet and GPS. Even Siri has its roots as part of a DARPA project. You really think the engineers involved in those technologies are second tier?
In many states (all of them?) landlords are specifically not legally allowed to “just pop in” without reasonable cause or sufficient notice.

So yes I agree with your statement but in this example it’s already a law.
Can LTE carrier networks not act as an enormous observation system for unauthorized IMEI catchers?
> If you have a sublime Internet connection, it's an awesome service. It's prone to the odd dip in quality, but all-in-all it's a major paradigm shift.

I thought this when OnLive launched, but even with a relatively good internet connection for the time, OnLive was still pretty horrible to play consistently. You can have a great experience for an hour or even an hour or two, but by the 8th hour you're bound to be hit by the inherent problems of delivery of a network. Maybe that's a random latency spike or loss of video quality. Maybe that's something more. Even a great connection can have problems with consistency over long durations. That's what you need for streaming games to work well for everyone.
This is interesting. On a recent Kevin Rose podcast he and his guest talked about targeted treatment for ADHD, dementia, etc. using video games. At one point they also discussed people using self-built gadgets to stimulate their own brain using electric current ( they do not recommend it though ).

https://www.kevinrose.com/single-post/Adam-Gazzaley

As an aside, I've found meditation to be very helpful in treating my non-clinical depression. It's also one of the key tools I use to help with my addiction/alcoholism issues.

And please, if you're thinking of taking your own life reach out to someone.

https://suicidepreventionlifeline.org
So did it work?
It's not obvious to me that democracy is in decline, or authoritarianism on the rise.

Over what time-frame? Do you have supporting data you can point me to ("In the past 10 years, more countries have switched from democratic to non-democratic government than vice versa")?

Thanks!
Because if YouTube decided to hoard all ad revenue as of tomorrow (putting aside for a minute how bad of a long-term business decision that would be), that would still not be a valid reason to shoot up the HQ.
"The Visual Display of Quantitative Information" by Tufte. A pretty book, and occasionally useful as a reference too.
From what I can tell, there are ~90k google employees[1]. So, 3% of the employees signed this. I feel like I could find 3000 people out of almost 100k that believe in almost anything, especially if it is generically anti-military, or anti-USG.

I doubt this would happen, but I wish these only petitions would include counter-petitions, which people could sign if they don't agree with the petition, so we could get an estimate of whether this is just a very vocal minority of Googlers or viewpoints are split.

[1] https://www.statista.com/statistics/273744/number-of-full-ti...
> So, do wealthy people have it easier than non-wealthy people? Yes. But they had to earn an unbelievable amount of money (since they had to pay half of it in taxes) to get to that point.

Usually, but not always. That's the point.

In some geographical regions in the world, ownership of real estate is starting to trump everything. When it comes to net worth, your income is largely a rounding error. Strangely, when this discussion is raised, a variety of standard responses seem to be raised, in this case, "oh, you're saying that this is the case always and everywhere - since that is obviously false, therefore your entire premise if false, end of discussion".

Another common conversational diversion tactic (that worked for several years in Canada) was shutting down any complaint by playing the race card. Since it is usually people from mainland China (unsurprisingly, considering the scope of new wealth in that country) who are involved in massive real estate appreciation is most parts of the world, again and again in all Western countries we've seen dissenting voices silenced by accusing them of racism, often by their very own governments who are supposed to be managing these things and protecting the best interests of citizens. And boy is it effective, up to a point. Citizens in Australia, New Zealand and Canada are finally getting fed up with their governments to brush off racism accusations, but it's far too little, too late - things are so far gone, nothing can be done without destroying the Frankenstein economies that the overall economy depends on. I often wonder if that was the plan.

People living in the US probably don't notice this nearly as much, as you have a large population and enjoy a massive and powerful economy, whereas foreign entrance into our markets cause significant effects.
Solid intro article.
https://beta.observablehq.com/@mbostock/introduction-to-prom...
I like how you put that. The abacus and the computer are the same in that the consume external power, and adhere to a set of rules. But there is a large difference between an abacus and a computer. A computer can modify the program that is running. It can change its own rules. An abacus cannot do that.