skysight-inc/HackerNews huggingface dataset:
> Especially given that this thing can run Linux.

Interview with Linus:

What's the most amused you've ever been by the collaborative development process (flame war, silly code submission, amazing accomplishment)?

I think my favorite part is when somebody does something utterly crazy using Linux. Things that just make no sense at all, but are impressive from a technical angle (and even more impressive from a "they spent many months doing that?" angle).

Like when Alan Cox was working on porting Linux to the 8086. Or the guy who built his own computer using an 8-bit microcontroller that he wired up to some RAM and an SD card, then wrote an ARM emulator for it, and booted Linux (really really slowly) on his board.

https://www.linux.com/news/special-feature/linux-developers/...
Yes, that is why I switched to VSCode
If you think about it, this is not a gigantic loss, if you are interested in insights and not news.
Profits are unusually high almost entirely due to two factors. First, the massive expansion of the global economy the last ~20 years has particularly benefited the top Fortune 500 companies, along with the artificially cheap dollar from ~2003-2014 (which has now reversed and is wrecking profits for that same club). The global economy has grown far faster than the US economy since the late 1990s, companies that had exposure to that were obviously going to benefit tremendously vs domestic oriented companies. Second, the substantial margins and profit of the top US tech companies, which have boomed more than any other companies over those 20 years.

Apple, Microsoft, Google, Oracle, Intel, Cisco, Qualcomm, etc

That's about $130 billion in profit, between those seven companies.

Oracle produces five Caterpillars worth of profit.

Apple's profit is nearly Berkshire Hathaway + Johnson & Johnson + Boeing + General Electric.

Or even more dramatic, if you were to do a three year average on profits, Apple would just about add up to these companies combined:

Union Pacific, Visa, 3M, Caterpillar, McDonalds, CVS, Walgreens, Costco, Target, Honeywell, GM, Ford, Lockheed, Boeing, UPS, Fedex, Delta, America Airlines

Microsoft is Goldman Sachs + Disney + Procter & Gamble.

Google's profit is roughly greater than the top 50 US defense contractors combined. You might as well just say it's equal to the entire US defense contracting industry combined.

Now strip out just Apple, Google and Microsoft, and then inflation adjust the remaining Fortune 500 back to a 1995 dollar and compare the group with the Fortune 500 of the mid to late 1990s. What you'll see, is US corporate profits are not that unusual and the top tech companies are producing a very large warping of the picture.
Experimenting with Rust generics and dynamic traits
A central point here is the statement that money has no intrinsic value,
saying "Money is an IOU" may be understood to mean that, but in a very awkward way,
it seem to suggest that something deeper is going on here.
What is it best at?

Nothing, but it doesn't have to be. It's pretty good at most things, terrible at nothing, has a very shallow learning curve, comes with a pretty sane default setup, lots of useful plugins and is easy to configure.
I would like to see a comparison of BS4 with Semantic UI, it has a few pretty interesting components
> The claim [...] is that the wine develops differently inside the smaller container

Is there some reason they couldn't let it "develop" an appropriate amount of time inside the larger container, then divide the result into small beer-sized containers (cans or bottles) for sale to end-consumers?
More striking is the US and Allied invasion of Iraq, and their resemblance to the crusades. I would imagine that US fundamental Christians see that rather obviously?
There are many that take an interest in securing their workstations, just as there are many negligent individuals who blindly run things they download from somewhere.

A minimum amount of care when installing things (checking signatures/checksums, reading install scripts, etc) should be common sense and not doing that is grossly negligent.
I love read much about this
You'd be amazed :)

I write web applications for internal use at non-profits. If the office boxes still run IE8, IE8 has to be supported by the application.
Going to IETF 95? Join the TLS 1.3 hackathon
I've been a big fan of bootstrap, but I find that these CSS frameworks are becoming more and more irrelevant in the age of widespread flexbox support. CSS modules do put the last nail in the coffin.
How to Fix iOS 9.x Safari/Mail Link Bug
I tried to avoid bridging as far as possible and I'm working directly with UTF-16 because that's the fastest view by far. I'm using the latest release version of Xcode on a Mac.

The simplest benchmark I used is a function that does the equivalent of

str.split(/\s*,\s*/)

So it splits a string around a separator and removes any whitespace around the items. For a million strings the numbers I get are as follows:

Swift: 3.5 seconds

Java: 0.31 seconds (after warmup)

So that makes Java more than 10 times as fast as Swift.

Here's the source code. I would be more than happy if you could tell me that I'm doing something horribly wrong (which I frequently do):

import Foundation

let N = 1000000

func generateTestData() -> [String] {
var a = [String]()
for _ in 0..<N {
a.append(",,abc, 123 ,x, , more more more,\u{A0}and yet more, ")
}
return a
}

func splitAndTrim(s: String, sep: UInt16) -> [String] {
var result = [String]()
result.reserveCapacity(10)

let space = NSCharacterSet.whitespaceAndNewlineCharacterSet()
let cs = s.utf16
let eos = cs.endIndex
var begin = eos
var end = eos

for i in cs.startIndex..<eos {
let c = cs[i]
if c == sep {
result.append(begin == eos ? "" : String(cs[begin..<end.successor()]))
begin = eos
end = eos
} else if !space.characterIsMember(c) {
if begin == eos {
begin = i
}
end = i
}
}

result.append(begin == eos ? "" : String(cs[begin..<end.successor()]))
return result
}

func doSplits(data: [String]) -> Int {
var count = 0
let sep = ",".utf16.first!
for s in data {
let parts = splitAndTrim(s, sep: sep)
count += parts.count
}
return count
}

let data = generateTestData()
let start = NSDate()
let sum = doSplits(data)
print("elapsed: \(NSDate().timeIntervalSinceDate(start))")
print("sum: \(sum)")

And here's the Java code:

import java.util.List;
import java.util.ArrayList;

public class ParseTest {

static int N = 1000000;

public static void main(String[] args) {
List<String> data = generateTestData();
for (int i = 0; i < 3; ++i) {
long start = System.currentTimeMillis();
int sum = doSplits(data);
System.out.println("elapsed: " +
((System.currentTimeMillis() - start) / 1000.0 + " seconds"));
System.out.println("sum: " + sum);
}
}

static int doSplits(List<String> a) {
int count = 0;
for (String s : a) {
List<String> parts = splitAndTrim(s, ',');
count += parts.size();
}
return count;
}

static List<String> splitAndTrim(String s, char sep) {
List<String> result = new ArrayList<>(10);
int eos = s.length();
int begin = eos;
int end = eos;

for (int i = 0; i != eos; ++i) {
char c = s.charAt(i);
if (c == sep) {
result.add(begin == eos ? "" : s.substring(begin, end + 1));
begin = eos;
end = eos;
} else if (!Character.isSpaceChar(c)) {
if (begin == eos) {
begin = i;
}
end = i;
}
}

result.add(begin == eos ? "" : s.substring(begin, end + 1));
return result;
}

static List<String> generateTestData() {
List<String> a = new ArrayList<>();
for (int i = 0; i < N; i++) {
a.add(",,abc, 123 ,x, , more more more,\u00A0and yet more, ");
}
return a;
}

}
> Everyone who is a human being, who has gone through grief, may entertain the idea they've had depression, and may follow this thread, but very few both to pay attention to the state of the art. Instead people fall back to high school level psychology. Amazing how psychologists, too, are somehow exempt from paying attention to the state of neuroscience.

I realize there are different levels of grief and depression.

I'm saying, there are people in this thread who were clinically diagnosed, dealt with depression for years, and have stories about that. Some had bad experiences with meds. We should not discard the experiences of these people simply because there are some people out there who mistakenly think they've experienced depression. The fact is, many of the people in this thread have. Patients don't need to understand all of neuroscience. They can still share their experiences.

> Meanwhile they wine and rage and refuse to go back to university, and instead take to the blogs and snake oil. It makes me sick.

There is recent research that suggests some meds can cause harmful manic behavior. This is not to be ignored either.

Other people have a right to share their opinion. You have the right to feel sick about it. One of these is under your control, perhaps with the help of a friend or therapist. The other is definitely out of your control.
Also, the security of passwordstore depends on how you handle your GPG-key, so if you use something like a Yubikey NEO to store your GPG-key on, you effectively have two-factor authentication, as mentioned in OP's question.
Sublime isn't free?
S/qmail Is a Mail Transfer Agent Based on Qmail
Cheap flights Amsterdam to Zurich Round trip 15_22 Jun on flychecker at € 79
Fantastic comment. Medical history is replete with quack-theories and charlatans offering various cures. Blood-letting to balance the body's "humours" for example.

The wonderful thing about scientific progress is that it shrinks the space quacks and charlatans have to peddle their pet theories and cures.
>Of course that's why we write functions. But we can't share a function with others and across projects... so we make it into a module to do that.

Sounds an awful lot like a library.
Maciej is a fabulous writer with a deft mix of wry, self-deprecating wit and precise expressions.

If you aren't familiar with his writing, you'd likely enjoy "Dabblers and Blowhards" http://www.idlewords.com/2005/04/dabblers_and_blowhards.htm
> Frankly, the military industrial complex makes a lot more profit from selling weapons for conventional war than they do from selling weapons for unconventional guerilla wars

I think they would be on the forefront of fanning the flames of war with China, if they thought the public had the stomach for it. Instead, they have to make do with the few smaller,unconventional wars, continuously. When was the last time the US of A was not engaged in combat somewhere in the world?

Surely, having your poorly trained 'moderate' rebels surrender their arms and munitions frequently is good for business. Now you get to resupply them (at American tax-payers expense), and indirectly supply arms to both sides of the conflict. It's almost genius - and barbaric.
> And I'm speaking as someone with a lot of anti-authoritarian tendencies. I'm not shy at all about speaking my mind and I struggle with finding a way to feign respect for authority apparatuses that are not legitimate, like HN moderation. If I feel this apprehension and backlash, I can only imagine that more timid readers feel it to a much more damaging degree.

(I'm preemptively sorry if I end up delving into the realm of armchair psychology here)

Is it possible that, if you know you tend to look for authoritarian themes in the artifacts you interact with, that maybe part of your perception is the result of false positives magnified by the emotional impact of the administrative action?

There's always some subjective elements to imposing community rules as a moderator -- that's common in every community, ever. What would be less expected is malice in those actions.
While the US is often thought to be an easy scapegoat, there is a long history of bad strategic interventions that go back to a century. It's not some remote relationship - the very recent US interventions in the region have brought disastrous results, in both syria and libya, opening roads to the free reign of radical islamists. What's worse, the US public now is backing for their next election the war-hungry person that backed these kinds of interventions (Hillary) and an ignorant whose response to crisis is to hatred against the people deposed by those interventions.
Viva Video Editor Pro Apk – Full Version Download for Android
Good point i did some elm dev in atom for a bit. But i do prefer gvim. Because I like vim but sonetimes i just prefer to use a mouse!
The framers of the constitution never intended for the United States to become a massive welfare state, either. There's absolutely nothing in there covering programs like universal healthcare, social security, food stamps, et al. The framers very blatantly would not have supported such vast tax based subsidization of entitlements in which one citizen is forced to pay for another. They also would never have supported the total government cost in the US being equal to nearly 40% of the economy. Does that mean the US should end those programs and slash the government down to a fraction of its current size?
I really hate them.

The best thing a sales team can do is ensure that a relevant description of their product is found when I search for something.
Yep which is why I'm not going to use their editor. I doubt they miss me and I don't miss them so no hard feelings either way.
Haha. This reminds me of "Mother" in the Alien movie. Supercomputer, yet retro.
The purpose of marketing is to generate demand, not sales.

This means that marketing is supposed to get a product on your radar, explain to you how it can help you, and then capture some vital information from you - say, an email address or a phone number.

THEN the sales team can swing in and push you the product.
your points sure are valid, but they all miss the key point (at least for me and probably for the OP): they cost time.. People do not always want to bother going through all matches to see if they really want to replace them (for instance because the changes can be validated by the compiler/tests suite), let alone they want to first commit all current changes to their repo before doing a find/replace (if there even is a repo to begin with)
This isn't super related to the article, but it reminds me of a chapter in Daniel Kahneman's Thinking Fast and Slow on a similar subject that I wanted to share.

In this chapter, Kahneman recalls a study performed by Paul Meehl, who discovered that statistical algorithms trumped expert intuitions roughly 60% of the time, with the other 40% of cases resulting in draws. These analysis were performed across a variety of different fields including "violations of parole, success in pilot training, and criminal recidivism."

Meehl suggests that experts form inaccurate predictions due to their overconfidence and unnecessarily complex analyzation. Another possible reason is that humans are generally inconsistent when summarizing complex information. An example being "radiologists who evaluate X-rays as normal or abnormal contradict themselves 20% of the time when they see the same picture on separate occasions."
> Bavor, for example, keeps a running document of things he’s learned from Pichai. (It’s three pages long. Sample entry: “Always choose quality. If you have to delay things to ship a quality product, delay.”)

I'm curious what other items are on the list.
oldie but goodie
Yes Semantic UI has come a long way and changed since I first used them 1-2 years ago. I have just tried it on a new project their annoying build process and lack of official SASS support the style and out of box components are really great.
Beethoven on the MSP430 microcontroller in Forth
Hmm, while I do update outside the house/office, e.g. when I'm bored at some place, I never update apps on the move (e.g. in a car, walking etc), so that could be a factor...
The point the article makes is that global companies make much more in their home markets than abroad.
HIGHLIGHTS IN REAL ESTATE INVESTMENT IN VIETNAM
If you could start over would you still choose programming as a career?
And captain hindsight strikes again.

Imagine that right now, on some point of the globe, there's a popular rebellion against a dictator who is, without a shadow of a doubt, suppresses the people, kills his political opponents, and tries to indimidate other countries of the region with his military machine.

Hell, just imagine it in North Korea (but forget about the big China brother for a second, to make this situation a more simple example).

Would you honestly tell that you support the dictator in this conflict, because otherwise the whole situation will turn into a bloody civil war, and he's the only hope for stability? That when those western-looking, english-speaking, democracy-loving rebels are gassed and killed, western states should not intervene?

Well, may be you are — but then any website with political hivemind similar to HN will downvote you to the oblivion.

---

You also may be forgetting one other factor at work in the Middle East — Russia. While it's not USSR kind of superpower it once was, it still has deep ties with arab world that it nurtured for the whole second half of twentieth century. It had established good relationship with many authoritarian regimes and terror groups in the region: Khomeini, Hezbolla, Assad and Hamas. And dichotomy of "chaos vs dictators" is exactly what Russia wants for Middle East: dictators are easy to deal with, they're much more ineffective as oil producers, and, of course, the whole dilemma greatly legitimizes Russia's own political system as well.
The Secure Enclave supposedly has the same problem - the information about how many guesses have been attempted is stored entirely in external flash memory that can be rolled back to give unlimited tries. Additionally, Apple have the ability to sign and load new software for the Secure Enclave that doesn't have the escalating time delay, leaving only the same 80ms per check hardware limit that the A6 had.
Show HN: Gem-wiseguy, Atom package to easily show Rails gem versions in Gemfile
Xscreensaver is a security boundary, and has been better at avoiding lock screen bypass hacks than many other screensavers.
Trump is a mystery (maybe that's the allure). Who is going to be his secretary of state?
Why does everyone love algorithms and data structures of all the CS topics so much? I would like to be asked about covariance and contravariance, LALR parsing or some basic statistics for once.

But more importantly, I would love to be asked about CS topics that arise every day in development: code organization. How many times do you get a new requirement that makes you throw all previous assumptions (that an architecture was naively built upon) out of the window? When it turns out that module A and B, which were completely different and didn't even know about each other, now need each other's data? Yes, this situation arises when original architecture wasn't thought through enough — and we all were guilty of this at one point or another.

Now, what a developer does in that situation is much more important than whether he remembers what complexity what kind of hash table (with all the chaining and hashing types) is. Does he just hack it so it works, creating a lot of fun for future maintainer? Does he decide to spend 2 days to refactor the whole system into a new architecture? Or does he find a balance somewhere in between?
1. I found it interesting that some 'projects' only officially support Atom, e.g. www.polymer-project.org

2. Really fast release scedule. While this may trade of some stability here and there, it cetainly adds new features quicker than Sublime or Vim (AFAIK).

--If you're willing to pay, why not JetBrains or Sublime?

3. Why should you pay for other Editors if you don't have to with atom? :D I'm a CS student and a lot of people I know are using atom because they can't afford/ are not willing to pay ~50 bucks for an IDE/ text editor.
Interesting point, so it's using a dirty trick to show it as more performant ?
Buckets. :)
Using Vim or Emacs is not a very compelling option, their ui is too archaic and hard to use (e.g. scrolling page changes selection and there is no way to change that!)

Learning to use vim and emacs requires large effort, and customizing them requires learning languages/apis that are not useful for anything else and are not interesting.

That's why many people prefer to endure some slowness, but use something with nice ui and based on web tech they know and love.
I'd say it is the only right way to act when you have been called out on sending scary legal contracts and bullying services into working for you for free.
Does anyone have experience with HIPAA who is not based in the US?

It can obviously be useful as a sales avenue to US based customers, but I'm wondering what channels you need to go through if you are not a US based company.
NoForth – interactive 16-bit stand-alone forth for MSP430 microcontrollers
@johns: who is gonna take care of your awesome community projects? If you need help, let us know. We are using them all the time...
There are two kinds of mergers: those between roughly orthogonal businesses that want to exploit some vague "synergies" between them (as in the AOL-TimeWarner case); and those between companies that were previously competitors, as in the constantly-growing brewery megacorp of Annheiser Busch. The latter is both much safer for investors, and much worse for customers, than the former; this type of merger has the direct goal of decreasing margin pressure by decreasing competition.
GPL Kit – WooCommerce Plugin Manager
One of the reasons I like crowd prediction is that it seems to be slowly leading to well distributed groups of people who are able to make educated guesses even with one or two conditionals.

While governments have professional analysts, they don't do all that much better than chance even on direct predictions and then what they do share with the public is filtered by their biased interests.

Not only do we not know, for example, if the chaos after an accelerated arab spring was a better outcome from the perspective of maintaining western financial/political interests at a cost of preventing a more gradual transition into stable democracies. But more importantly, we also don't know if government analysts had that hypothesis and they still chose to interfere.

Personally, I don't think western democracies will continue to function with that type of secrecy of knowledge combined with increasing computational modeling/prediction capabilities.
The more people put up with it, the worse it's going to get.
Photon technology could lead breakthrough in fight against cybercrime
I think qznc has a valid point: as I get older I see less and less point in discussing how things would work in an ideal case when we have no realistic way to get to there from here. Concrete ideas like "should the Bill & Melinda Gates Foundation fund "high-quality" journalism?" are well worth discussing; abstract debates around "what would be the ideal model?" can very easily become detached from reality.
>so a lot of people of that religion may decide to relocate and when to hey do, they may come to Europe. And if they do ... so what?

Imagine you favorite town. Say, NY. Imagine 20 million people of a certain religion relocating there. Could be Muslims, hardcore religious nuts from the South, whatever.

Imagine them changing the culture of the place towards their religious views and customs. E.g. persecuting gays. Enforcing strict restrictions to their women (and other women). Not in the "melting pot", ethnic-flavor cutesy way of NY, in the "we are too many of us now here and we want things a certain way".

This can happen to a place. And it has already happened to certain places, neighborhoods in Europe and elsewhere.

The inverse can happen too: a place get full of Westerners, expats, etc, and they alter its color, buy the government to do them favors, pass their own laws, even sponsor a full blown sex industry with the locals as victims, like in Thailand. Usually with them it's through influence though, from their power and wealth, not from their numbers.
How about just not supporting the Muhajedin/IS/faction of the day?