skysight-inc/HackerNews huggingface dataset:
A report, after using this library for more than a year and a half: First, yes, I still use it in every program that is not a pure web server or pure CLI. My Go programs definitely resemble my Erlang programs in that they are ultimately trees of supervisors. Depth is about the same; I rarely go more than three layers deep and the trees are quite breadth-oriented rather than depth.

Second, I have found a lot of utility comes from having a standardized "this is my set of services" object that can be manipulated. A lot of my Go programs have converged on "a lot of libraries providing a lot of services, and a rather grotty-looking ~100-200 line 'main.go' that does all the nasty ops-type work of propagating configuration to them and plumbing them all together". Most of those main.go's have a supervisor created near the top, various bits of library functionality added to the supervisor as the file goes along, and the last line is supervisor.Serve().

In terms of error handling, while I have seen it keep production services up in a reasonable manner, Go code tends not to crash much, if you mind your errors properly. The orchestration may actually be the nicer thing. I've gotten a few issues in the github project and refined things a bit over the past year; one of the use cases that came up is that shutting down the services with one ".Stop()" call has been useful to people.

(We also got an interesting example of when penetrating an abstraction can come in handy; supervisors take a couple of functions to allow you to log some things. When a supervisor child is added to a supervisor parent, the log functions are copied from parent to child by penetrating the Service with a type assertion. This makes it easier to compose supervisors because the child supervisors no longer have to guess at what logging you want.)

All in all, while I will re-emphasize strongly that it is not a straight-up replacement for all bits of Erlang functionality as I explain at some length in the post, I have found it useful enough to be worth writing and using myself. Whether it passes the bar for "worth importing as a dependency", well, that's your call.

(Also, I'm guessing this came up again for the explanation of why imperative languages generally don't have thread-killing capabilities?)
I haven't found this to be a problem at all. Integration tests follow a power law. If you segregate your tests into "smoke" and "non-smoke", run the former before merging code and the latter continuously and randomly and in parallel, you'll get notification of 95% of regressions within 5 minutes and the other 5% within a few hours.

Choosing unit tests because of speed is nearly always a premature optimization.

IME everywhere that I worked with that relied exclusively on unit tests for automated regression testing didn't trust them enough to do releases without some manual user testing, so the project fell back into waterfall mode.

Integration tests tested a lot more realistically and gave more freedom to refactor technical debt (since changing the code didn't require changing the test as often).
Improving Smalltalk's Image
Did Darwin Read the Sports Section?
What do you mean by "normal Linux apps"? GTK+? Qt? Who'd want to use an application that is completely not optimised for a small touch screen?
News articles from a week or so ago reported that Cellbrite was assisting them.

http://www.reuters.com/article/us-apple-encryption-cellebrit...
This makes no sense. In order to act like a bank, Apple would have to track every financial transaction centrally in order to provide for auditing and reconciliation. There are already plenty of laws that give law enforcement the power to subpoena that info. Strong device security is no impediment at all if Apple is a bank.
Amen, I've been suffering from l HN withdrawal symptoms due to this. I have only been able to read comments and submission headlines on the iPhone.

Updtae: this is likely due to third party apps (in my case Booking.com). But uninstalling doesn't seem to help. Also I couldn't read the article since safari can only visit URLs that I explicitly type in
What a world with 5G will look like
Some systems still use MUMPS in the medical field.

To the extent that people still develop expert systems, PROLOG is still used in the development of such systems (and various AI projects like Watson use PROLOG internally).

A lot of places rely heavily on R and/or Julia rather than Python or FORTRAN for mathematical work these days (although I'd consider FORTRAN at least as 'mainstream' as COBOL if not more -- the difference is that COBOL tends to be legacy business code while FORTRAN tends to be legacy academic code in the hard sciences).

There used to be FORTH shops run by FORTH fanboys/gurus who did everything in FORTH. Most of them may be gone, but they existed as recently as the late 90s.

Of course, within large organizations there are often groups who end up using obscure languages or technologies for very specific things. The people I work with write a lot of awk.
The cyberpunk were wrong; the Internet has made nations stronger than ever. The NSA hacks Google and Apple, not the other way around.
It's worth noting that Clinton was offered an alternative device AND told explicitly not to use her Blackberry. Not sure why parent comment believes otherwise.

When told not to do what she was doing she said she "got it," and continued to do it anyways.
Journal of Universal Rejection
Moderngpu 2.0: Design patterns for GPU computing
...for this particular satellite imagery. It's a rather limited overview of color correction in general.

> On top of this, what we see with our eyes is very different from the raw data captured by a scientific instrument or digital camera.

Yes, this is why photographers who avoid postprocessing because they're "purists" who like "unenhanced, natural images" sometimes deliver unnaturally bland images. The visual system phenomena at play are high dynamic range, simultaneous contrast, chromatic adaptation, and perceptual uniformity. Correcting for these things effectively often requires a separate treatment of each (but software lets you do that quickly). The article shows a rather crude approach – there are techniques available that give better results in the same time.

See for example Dan Margulis's well-regarded "Modern Photoshop Color Workflow".
Had this since yesterday. Best solution so far is to disable JavaScript or use opera mini
4 Extremly Fast CPUs Under 150$
bloomberg terminal, here, and quartz early email
This appears to be caused by a bug in the Shared Web Credentials Daemon, which shares website credentials between apps and Safari. Once particular data is put in its database, it keeps crashing.

https://twitter.com/aveapps/status/714215571894747136
How could we forget how eerily reminiscent "1 + 1 = 3" is of 1984's phrase "2 + 2 = 5"?

It's hard to believe it wasn't intentional, but again, startup founders.
A struct is an object. Even a plain integer is an object, considering the referred article was talking about C++.

(Yes, you cannot inherit all kinds of objects – but you definitely can inherit any kind of struct, POD or not.)
> The world’s first convergent tablet

Sorry guys, M$FT had you beat to market by about... what, four years?

> 16 GB internal memory

Come the fuck on, now. I don't want to deal with the atrocious read/write speeds of MicroSD. 16 GB internal memory hasn't been impressive since sometime around 2007.

This looks promising but it's definitely not for me. I hope someone uses it and likes it, but I think it still has a ways to go before it's more than a novelty.
It's weird that hundreds of thousands of other people with similar clearances don't run into this issue.
>I fear that those who advance anti-unit-test views only do so because they lack experience with large complex code-bases

That's funny. I suspect that people who advance the pro-unit test view do so haven't had sufficient experience with large complex code bases.

Experience with large complex code bases with a spaghetti problem is the exact thing that put me off unit tests.

Unit tests are by their nature very tightly coupled to the underlying implementation, which is why they cause so many problems.

It's kind of like pouring concrete over a bunch of code bricks: if those bricks are in the wrong place and need refactoring, by pouring unit tests over them means you're solidifying the broken architecture and making it even harder to fix.

IME there basically don't exist large projects without technical debt problems either, so arguing that unit tests work well when the architecture is good is kind of a moot point.
Workaround mentioned in the article: disable JavaScript. Hope this helps you.
The "dashers" could also keep track of the wait times for each restaurant, and then work accordingly to the wait times. They could boost their delivery's, but it definitely would take several weeks to get the right amount of knowledge about each restaurant.
Can we all agree that saying sorry for your loss when people are obviously buying into a hype bubble is not "being a jerk". A lot of people will lose a lot of money here, just like with Bitcoin bubbles.

"It could also be described as a situation in which asset prices appear to be based on implausible or inconsistent views about the future." - Wikipedia, Economic Bubble (https://en.wikipedia.org/wiki/Economic_bubble)

That is exactly what is happening here and anyone denying it is probably a person who bought earlier than you.
A value with a type is an object?

What else do we need? “Methods”? Why?

I very strongly support the proposed Unified call syntax.
Einstein's Camera
Susan Landau, during[1] the House Judiciary Committee hearing:

Smart phones are increasingly wallets, and they give us access to all
sorts of accounts [...]. NSA will tell you that stealing login credentials
is the most effective way into a system. [...] Here's where smart phones
are extremely important: they are poised to become authenticators to a wide
variety of services.

While I think that Apple has good reasons to fight the FBI's order for simple constitutional reasons, they obviously are not limited to a single motive. This comment about phones being "wallets" does fit with the idea of Apple being some sort of bank (or payment processor).

[1] https://www.youtube.com/watch?v=g1GgnbN9oNw#t=12977
This is illegal (undefined), but casting to char* and reading out the values is legal.
> Isn't intolerance of intolerance an intolerant act in and of itself, though?

You're confusing yourself. Let me use reductio ad absurdum to point out how your logic is self-defeating. Please understand, I'm not ridiculing you, just pointing out the logical fallacy. Try this formulation...

Isn't hating "hate", in itself, hateful? Why, then, it follows that we should love "hate" in order to be loving! Hate people: it's what loving people would do!

There is a moral equivalence here that's wrong. Despising things that are evil isn't in itself evil, merely because you're employing a word or sentiment normally associated with evil. It's the loaded meaning of the words "despise" and "intolerant" that's tripping you up. Try the word "embrace" instead and things become much clearer.

Example: Isn't failing to embrace intolerance intolerant?
No, it's the very opposite.
Virtual Desktop 1.0 Trailer [video]
> "if X is at least as worse as Y in my worldview and Y is tolerated, then X should be tolerated as well"

Has the author argued that people should be classed as property anywhere in their writings?
Does copy and paste not work?
Why have we not seen the butterfly keyboard used since that Thinkpad, or have I not been looking carefully enough? The design seems to have been positively received and fondly remembered. Have the problems it solved been solved in other ways (like proliferation of widescreens)?
Do you buy a lot of tablets or do you find most to have unacceptable battery life? The battery on my 2013 Nexus 7 is crazy good as far as I can tell and lasts for days of moderate use even two years into its life span. Compared to my phone which likes to die partway through the day even without me touching it.
Don't you get it, that's what they want you to think.
I'm happy to see an Ubuntu tablet but about "A tablet when you want it, a PC when you need it.", who wants a PC with 2 GB of RAM?
the most obvious difference is a go-panic and exceptions are used in different scenarios.

it's considered bad practice in go library code to panic(),
while it is considered normal error handling to throw an exception in java.

also note that you can catch a panic in go, and use it as some kind of exceptions if you really must.

https://github.com/golang/go/wiki/PanicAndRecover#usage-in-a...
I was a little confused about this but I think that this 16G is partly-used to boot the /root partition (i.e. the OS) and then the rest is swap space.

This makes it all a little more usable in my opinion, since there is only 2Gigs RAM onboard ..
So slock.it is going to need a central registry of all users. You realize that storing that much data on the blockchain and interacting with it will likely end up using more money then they would make in fees.
Practical Demystification of CRDT
Who's Mike Hearn? Why does his opinion matter?
That already happened.
Startup Recruiting: Sniper Rifle, Not Carpet Bomb
"Take web development for example, all the tutorials show json.Unmarshall, but this one stackoverflow post says I should use json.Decode."

Plenty of JSON libraries in plenty of languages have both a function to decode JSON and an object that allows you to decode JSON with some settings. That's not really a Go-specific issue.
Hi all, I'm the creator of RichCSS. I've been using the framework for years now but I finally launched the website last night. The video that is on the landing page is a great explainer of the advantages of the framework. I'm very excited about this launch and I hope that a community will grow around RichCSS parts.
>The faster your test suite, the more often you can run it, and the faster you get feedback on your code.

In all likelihood, the faster it is, the more tightly coupled it will be. You're simply exchanging computing power for brain power (refactoring tests when you refactor code), which is nearly always a bad trade off.
I would like to argue that being a jerk even devalues the argument one is making. Because through being a jerk (which requires as much effort as bringing it in a more neutral way), one provides proof of subjective involvement. This subjective involvement detracts from your credibility as a source of reason.
If the FBI get what they want, then the back door will be installed and the next-generation payments infrastructure will be just as prone to fraud as the last-generation card infrastructure, with its card skimmers and identity theft.

How Stross made the leap from a special version of the OS that the FBI could use to eventually crack a password to the easy clone-on-use nature of a card skimmer is completely farcical and looks like something that the mainstream non-tech press would come up with.

Just as prone to fraud? I don't understand the need for that kind of hyperbole in an article that looks like it was intended to be taken seriously.
Plenty of people only need 2 GB of ram. See all the notebooks which have tiny SSDs (64 GB) and small amounts of ram (less than 4 GB).

That's fine for email, youtube, streaming movies, listening to music, doing a bit of light word processing or spreadsheeting. It's great for social media and most website use.

And these machines are very cheap.
That approach might have worked 20 years ago when a big project had more than 3 3rd-party libraries and CPAN was the pinnacle of dependency management, but it's burying your head in the sand in this day and age. Security patches are a fact of life, and unless you've air-gapped everything, aren't optional. Sooner or later you're bound to run into bug fixes or api improvements that will force your hand as well. Not being proactive about keeping your dependencies up to date is like only eating dessert and never eating vegetables.
>NTSC Color is really greyscale TV

My old CRT only supported PAL. So this is the reason why NTSC inputs were displayed without color.
Wrong title, missing: in UK.
That's the browser engine, for webapps, look here - http://arewewebyet.com/
Plot twist: The iron ball had just been submerged in liquid nitrogen and it was actually the thing that shattered.
This Hedge Fund Left Decisions to a Computer – And Made 19%
Brilliance – f.lux for Philips Hue bulbs
They should have put in their X weeks notice or the company should have had the foresight to weed someone like that out before hiring them.
The memorable message isn't.
Yup, a deflationary currency cannot become widespread without becoming highly unstable.

Proponents of cryptocurrencies could easily fix this by creating one that grows by k% forever (like Friedman's k-percent rule). But they won't because this destroys the "get rich quick" aspect of the technology which they won't admit is the main thing they are drawn to.

If they were serious they would have fixed this problem and made sure bitcoins generate long run inflation.

Could bitcoin's popularity stand on its own with just its net benefits as a transaction medium after the allure of ponzi investment has been removed?
The same people that buy chromebooks
The human 'superpredator' is unique – and unsustainable, study says [2015]
Last pass used both: a global salt and a per-password salt. The idea was that the global salt isn't stored in the database so if the attacker doesn't have access to the application server, they cant find what that salt is at all.
He also mentions the phone as a tool for payment:

> I'm going to assume you know what Apple Pay is: you use your iPhone, iPad, or Watch as a trusted, authenticated identity token in a shop to pay for stuff. It ties into your bank account and basically your phone swallows your debit and credit card.

I thought that was fairly explicit. If the phone (or watch...) is going to be the primary tool of payment than its security is paramount. Apple wants at least the same level of protection against tampering as the chip inside a modern credit card.
Still, an executive can only do so much in a day and I imagine their time is used up on the electronics they make. The argument here is that they were literally thinking and acting as a bank in response to the FBI's actions.
How to Travel More by Spending Very Little or No Money
Not sure what you're talking about? IPFS[1] has 291.000 results, and "Andrew File System"[2] has 46.400 results. My guess is you searched for Andrew File System without the quotes. Which will return plenty results utterly unrelated to any kind of file system.

[1] https://www.google.com/search?q="IPFS"

[2] https://www.google.com/search?q="andrew+file+system"
go is somewhat special in what is shipped with its system libs:

"TLS/SSL/GZIP/PNG/XML"

all of these are part of the go standard libs, and gets regularry updated with the language.

tls and ssl: https://golang.org/pkg/crypto/tls/
gzip: https://golang.org/pkg/compress/gzip/
png: https://golang.org/pkg/image/png/
xml: https://golang.org/pkg/encoding/xml/

since golang also has built in support for fuzzing in the toolchain, the standard parts are quite battle tested already.

if you study their sourcecode you will also find Benchmark functions, that you can use to benchmark the implementations (go test -bench ./...)
Show HN: Airship, a modern and secure CMS written in PHP 7 (1st Beta)
I can't find it atm, but someone contacted Apple on Twitter and they replied that disabling JavaScript is the best workaround.
HA HA! You're joking, right? You'd need several GB and more power just to boot an idle Java VM.
There's a lot of non-OOP C++ outside of the classroom ;)

Procedural C++ is big in systems (and that's not just plain C compiled with a C++ compiler). Templates, strings, built-in containers and smart pointers are very popular and useful.
Because it is expensive and contains quite a lot of moving parts, requiring precision engineering and possibly manual assembly. I doubt these were scalable to mass production. (Additionally, it contributed to the thickness of assembly — tho those who don't remember, Thinkpad 701 was _incredibly_ thick).

I owned a 701c, the keyboard was clearly better than anything available today.
Gogs – Go Git Service
Really interesting. It seems like Jake is trying to preserve the version and attitude of skateboarding that he remembers from his youth. I often wonder how he views changes in The City, and the way things are going. A great read.
Interesting idea. Do you think these are similar to cards in Google Now? Could this be used for notifications?
> Upgrade everything, all the time

This is dangerous advice. There's some good advice underneath. Updating often addresses pain points iteratively and is easier than doing major upgrades every year, for example.

But you should not be blindly updating your dependencies every week. It's a distraction and some updates require dev time to fix things (hopefully your integration tests catch some of these).

It's also dangerous if you update all without looking at changelogs. Maybe the new version of one dependency brings in ten new dependencies, or maybe it brings in security vulnerabilities, or maybe it's a completely different codebase or package was removed like what happened with the recent npm fiasco.
My email is in my profile.
>It will hurt when your end-to-end tests (minus UI) must be run per check-in and as your code gets bigger.
>
>Some companies invest in huge infrastructure to speed things up (paralleling until you can't...) but in that situation, suddenly Devs can no longer build locally without biting their tongue.

That's why you pick a few smoke tests to run before checking the code in and let the full regression test suite run while you're doing other stuff.

>Setting up end-to-end test "per test-case" is also tedious (should user be logged-in in order for this test-case to run? what should be the state before the tests are run and what should be the state after the tests are run? what if the state of the system have the expected _and_ more e.g.: side-effect?)

You need a decent integration testing framework to help here.
seems to me the risk of having the backdoor stolen is an overstated vulnerability. Isn't it the same risk as having the iphone source code stolen? Hasn't happened yet has it? If the source code were stolen, someone else could engineer a backdoor. I don't think the overall security risk increases by the existence of a backdoor on a single phone. Amiwrong? That said, I'm happy that Apple is pushing back, but let's be clear about the technical facts.
Protocol Conformance Extensions in Swift
I knew the man was a prolific writer, but even death couldn't stop him from publishing books. He died in 1992 and the list shows new books up to 1996.
The coolest thing he's covered, I think, that I'd never heard of before is the tefifon: https://www.youtube.com/watch?v=nBNTAmLRmUg

It's basically a continuous loop of tape (similar to an 8-track) but with groves recording music (like a vinyl record). It didn't see much popularity outside of Germany and then was essentially obsoleted by magnetic tape. Such a fascinating technology though. In a parallel Universe it probably would have been vastly more popular.
CTAN has a central server. CPAN has a master site. What you're proposing has exactly the same deficiency as the npm repository: it is centralized and thus vulnerable to takedown notices, "right to be forgotten", author deletion and similar shenanigans.

IPFS is distributed and has no such single point of failure (SPOF).
Not for me. Long pressing causes safari to lock up and crash.
Love the way it drops lines on axes when you hover over the point :-)
Mike, the entire drama is ridiculous. However, you've turned your back on BTC because XT was rejected to go and work for R3 to put our tech back into the hands of the people we wanted to get away from. If BTC and everything that "could" come with it was so important to you then you should have stayed and fought the fight. Instead you decided to join R3,so let go and move on.