skysight-inc/HackerNews huggingface dataset:
I pine for the days of yore when the Unix Philosophy was strong and pure, and every program did one thing well, and only one.

Like the way the shell would fork off an "expr" sub-process to parse a mathematical expression to add two numbers, then write the result to a pipe via stdout, then terminate the process, clean up all its resources, and switch context back to the shell, which then read the serialized sum back in from the other end of the pipe, and went about its business, regardless of the fact that the CPU running the shell already had its own built-in "add" instruction in hardware.
The Stanford/Coursera course on algorithms part 1 is a good resource for Big O. Knuth's "Concrete mathematics", 9th chapter (I think) has some good coverage on Big-O/Omega notation.
I like that you can change the number in the login form after the name and type in the according month as the password and it will still work. E. g. addy01 january is valid as well.

Edit: Ok, apparently you just have to enter a password that has the same length as "december" and it will always work, the username is not important.
Basic research is exactly the kind of thing that markets are bad at doing, so it really wouldn't be surprising. Which country do you see as a model of the success of privately funded research? As far as I can see, all countries that are making significant contributions to science are spending lots of government money on it.
Yup! In a nutshell that's exactly how this is going.
I would also add this kind of thing going on:

1 - "Here's a problem"

2 - "Are you sure?"

1 - "Humm, maybe not, let me get back on that"

Some years and a push for false studies made meanwhile by 2

1 - "We're definitely sure, the thousands/millions of us experts concur"

2 - "but wait, I have experts Jay and Jane here that say otherwise"

1 - "But what if they are wrong? Won't the crisis that ensue be devastating?"

2 - "But those two [that we handsomely paid] can be right!! [don't take our business away because your cities will be under water and turmoil will take over the world, how would we get our money]"

2 proceeds to pay SIGs and a major political US party that kisses the boots of the Koch brothers (which is one of the embodiments of n.2)
What's the relation to Snapchat? The TOS and privacy statement are ripped from snapchat.
This seems like a fine time to discuss the ethics of augmenting healthy brain function
> I implemented fork many years ago for a university operating system and nothing about either the implementation nor the usage is simple

Me too. I found it simple: Create new child process, copy the address space, copy the instruction pointer, let it run.

If you want to improve performance via copy-on-write, it gets more complex to implement. If you combine it with other features like threads, mmap, limits, etc use becomes complex, but the mechanism itself is simple.

You might be able to design an easy variant of fork, which handles threads, mmap, limits, etc in a sane way, but that would not be simple anymore.

Fork is actually a good example, why simple and easy are different concepts and why it is really hard to achieve both.
That's basically what Gradle is, with Groovy the current 'real' language (it's a dynamic scripting language) and Kotlin the next language (it's statically typed and like Scala).
So, why not ditch AWS and use GCP? Kubernetes cluster setup in one command, or use AppEngine.

Maybe the problem is AWS.
rxvt-unicode

It's easy to configure for my setup.
Containers are obsolete. AWS Lamba is the new hot thing.
There's no point in using vendoring in a language with a dependency resolving build system.
IIRC lambda's free tier is not currently timed.
I'm surprised we don't have flat Earth debates on TV yet.
Zombie apocalypse simulation with evolutionary algorithms
To the extent that CRDTs are conflict-free it only means that two edits can commute (be applied in any order) and every party that has applied the same set of edits will produce the same result.

At the low-level that the CRDT is operating on there will be no conflicts.

But that does not mean that the user never perceives there to be conflicts. No matter what the consensus system used be it CRDTs or OT at some point the converge operation has to impose a total ordering to pick a "winner" in the case of conflicting user edits.

If editing a block of text and two users try to replace the same word with another word there are a number of possible outcomes

1) One of the edits "wins"
2) The word is replaced by the concatenation of each user's replacement.
3) Nobody wins and the edit is reverted.

In all cases at least one party perceives to themselves to have "lost". But it generally doesn't matter because humans doing the editing will make repairs to nonsensical edits in real time.

There has to be a tie-breaker when multiple users try to make different edits to the same region of text. At least that's my current understanding.
I agree for the most part. The problem is that the science that needs to be done to verify/falsify results requires a lot of knowledge. We cannot reasonably expect every citizen to have that knowledge. If they did, we wouldn't have this problem. (We'd have other problems, like who's doing all the other jobs now that everyone is a climate scientist?)

Your point about open access is very much on the mark, though. The society I want to live in is one that trusts science, and making all research freely available would, I think, greatly improve the general public's attitude even if they themselves cannot understand that research.
<sarcastic mode on>
Maybe so. But didn't the move create a cool Software Architect job position out of nowhere -wink-wink- ?
<sarcastic mode off>
imagine a serverless distributed database. fault tolerant, scalable and cheap, that would be great.
I guess that leaves thinking and writing.
This is a free tier that's not limited to the usual one year period.

From https://aws.amazon.com/lambda/pricing/ :

>The Lambda free tier includes 1M free requests per month and 400,000 GB-seconds of compute time per month. The memory size you choose for your Lambda functions determines how long they can run in the free tier. The Lambda free tier does not automatically expire at the end of your 12 month AWS Free Tier term, but is available to both existing and new AWS customers indefinitely.

The free tier is actually big enough to run a single 128Mb calculation for 37 days each month.
Nice read and flow plus a great end.

Personally i think the typos add to the realism.
Would love to kick tires of one of those Knight's Landing cards.

It might be possible to pull off similar tricks as on normal Intel Xeons. I wonder what kind of memory controller it got. Does it for example have hardware swizzling and texture samplers accessible?

But we use exclusively Nvidia for our number crunching product. And since the relevant code is implemented in CUDA, we have an Nvidia platform lock-in. Other options are not even on the table, and will not be.

Intel would be very smart to offer a migration path from CUDA code.
> I would think most of streams are 0-10 viewers

Most YouTube videos have 0-10 views. Most App Store apps have 0-10 downloads.
I actually disagree with both your conclusions - the techniques you mentioned exist to get around painful deficiencies with HTTP/1.1, and are anti patterns in http/2 - sprites exist to reduce the latency of loading many small images, which is now no longer an issue (see httpvshttps.com for a demonstration).

Also my brief experiments using HTTP/2 in Haskell involved zero changes to my web service handler code, and maybe one or two extra lines to give paths to the TLS cert files. Web services will benefit massively from HTTP/2 in some domains, I do a lot of web geospatial work and using it for servers which return hundreds of image tiles will be a massive win
There's definitely a difference. You could be perceived as a good listener, while actually not understanding or remembering what the other person is saying. On the other hand, you could appear to not be listening, but if later quizzed on the words spoken you would ace it.
Thank you, I will.

For those who are interested:

https://en.wikipedia.org/wiki/IPCC_Fifth_Assessment_Report

http://ipcc.ch/report/ar5/
Exactly my point. I used two broad categories just to paint the overall picture; the fact that they "make sense" doesn't mean that they're the silver bullet.
Possible spoiler alert below.

Your Github repo reveals that one character has a specific mental illness. However, multiple personalities are not a feature of that illness: http://www.webmd.com/mental-health/dissociative-identity-dis...
i'd roll that into 'charity/hobby' part.

or you just host it on an old laptop hidden in your closet.
I'm a bit confused about what McMansion refers to. Is it cheaper-than-they-look 13-a-dozen suburban hell houses? Or is it gigantic sprawling mansions for those with more money than taste?
Heroku has free dynos for side projects, and hobby dynos ($7/dyno/month) for slightly-less-side projects. So that original $75/m quote isn't quite right for that situation.
That sounds like working for $0.21 a month, since if you don't get rid of lambda you don't really create an alternative.
Part of my motivation for writing these things is because after I've wasted so much time, I'd love to help others not do the same. Hopefully the article shows up when you search for the right error message. Its also so I remember what the heck was happening.

Re: multiprocessing in 3.4: I think it is unfortunate that due to backwards compatibility, the "forkserver" mode can't become the default on Unix, since it would help avoid this particular issue.
"For cause" usually means something much worse than "poor performance". That term is generally harassment, fraud/embezzling, other illegal acts, gross insubordination, etc.

Being fired because you are performing poorly in your job is, crazily enough, not "fired for cause" but simply "fired".

Being fired "for cause" usually makes one ineligible for unemployment income.
Building GitHub pull requests using Jenkins Pipelines
TL;DR The researchers claim this is a new memory forensic method to gather information from recently used apps from Android devices. Instead of extracting GUI-data from memory images, they extract app-internal data from them (which persists longer than the GUI-data) and restore the View from that data. With this method they can recreate multiple views in the past instead of only one if GUI-data is targeted directly. The method is app-agnostic and doesn't need any knowledge about the targeted apps. They tested their attack against at least 15 apps with success.

They call their method "RetroScope", sourcecode of their forensic tool can be found at Github:

https://github.com/ProjectRetroScope/RetroScope
True, but most companies are going to look at them as no better than recent grads if they need to retrain.

Imagine what a guy makes that's been at Cisco for 15 years? Now imagine what you can pay a recent graduate or H1B.
Meh, the article doesn't really bring anything new to the table.

If you are doing something like this, please keep in mind that this kind of DNS failover is, at best, unreliable. You have no control of how DNS is being cached on client side, and whether the client is going to switch to the next IP in the cycle if the previous one is unavailable.
Proper way to do HA would be to use some kind of VIP + load balancer combination (eg, keepalived + HAProxy), which would allow you to failover the IP instead to just rely on the hostname. However if you also have a database backend to think about, then u will most likely need something like Pacemaker to ensure you don't end up with data inconsistency (brain split scenario).
Weird, my 7 with a slash is consistently (2/2 times) recognised as a 7. Maybe you need to write the slash without connecting it to the bottom with a little loop? Otherwise it's a real shame that these networks are only trained on American handwriting (is it even handwriting? most Americans seem to print-write).
>> There must reach a stage in development where you're considered "too old" (sadly) or haven't kept up with the latest and greatest in trends.

Just imagine how much knowledge and experience these guys have and is effectively being lost by them being out of the workforce.
Agile Hierarchy – How Are the Methods Related?
Stereotactic Radiotherapy Center Sigulda in Baltics
The homepage loads 9 megabyte of images, that should be optimized. https://www.webpagetest.org/result/160817_NQ_22ES/1/details/...
Quantifying existence of a secret, large-scale atmospheric spraying program
It's much easier to not need shell scripts, than to not need Python scripts.
Who says it's not? There's no compelling reason that I've ever heard to believe so.
How to Test Price Sensitivity During B2B Customer Development Interviews
Investors short all the time. Your comment seems to be irrelevant to the discussion.

How about this famous short? Soros made a billion dollars.

https://priceonomics.com/the-trade-of-the-century-when-georg...

Did you see/read "The Big Short?"

https://en.m.wikipedia.org/wiki/The_Big_Short_(film)
oh, this makes me laugh

We need to get better people at understanding that the scientific community (the ones not paid by the big oil) say that GW is a thing and the consequences are potentially very devastating if we do nothing.

The policy makers must stop being corrupt and just taking money from Big Oil and start implementing what they need to to change this trend.

It's as simple as that
Fernando Torres Blasts Liverpool, Reveal Reasons for His Exit
I'm not sure the AirBnB guys with hindsight would have followed that policy again. They may have been better tweaking the model till it seemed to work rather than maxing the credit cards on a non working model perhaps. They were kind of failing and losing money till joining YC so the pre YC strategy may not have been great.
They can retrain as big data specialists! No long term experts out there. A graduate with 1y experience is a veteran.
Thumb rule: Divide number of backend engineers by 5 you get optimal number of micro-services.
> You take your monolithic app and you split it into like 12 services.

The non-web world has been doing this with message queueing for about 15 years. Maybe more.
Since we are seeing so many "ads" here in this discussion. Does the average HN reader prefer this type of advertising to regular adsense ads? There is no violation of privacy, no autoplaying video, they are actually relevant to the discussion and it's obvious that they are trying to sell you something. Oh and probably the most important thing si you can downvote them.
Terminator usually, on Mac i use iTerm because it is the closest to Terminator.
native macOS and HyperTerm (i'll drop native when HyperTerm has no more tty bugs). Native because i find iTerm a bit laggy when handling multiple windows with multiple tabs. HyperTerm because ElectronJS <3
How granular are your services? I've heard a lot of talk about microservices without much talk about how micro they are. As someone who's happy with the approach, would you mind giving a little context in terms of what sort of degree you've split the system down?
You are completely correct! The thing that surprised me is how difficult that can be. For example, on Mac OS X if you want to read the system proxy settings, you magically get threads added to your program that you can't control.
Seems to be way to early in the cycle to start doing startups on this...
The problem is that it is not default or recommended way of doing things. My issue is that yes, people do want the build script language to be simple, but this (in my experience) always comes to bite you when the project gets bigger.

I mostly work with CMake and there we have to do a lot of arcane gymnastics to do basic stuff like list manipulation or moving files around, simply because the language has most of these features tacked on after the creator realises that they are necessary.

In Gradle, for example, I have a fairly trivial library that needs to build some native bindings at the right moment and after fighting with the DSL I ended up writing the build script in PowerShell and just call that. I think that the build systems I have encountered so far focus on the 'simple' case too much and render even little more advanced tasks tedious.

I would be happier with a build system that does not declare any magic variables or default steps.
How to Pass Data to an iOS Container View
> Threads are inherently the right way to do concurrency for more complex tasks.

True, but they're more often used as a crutch where a select-style loop and/or state machine would be more suitable, leaving race conditions in their wake.
Fork/Exec is only good if you are going to run a different program then you are currently executing.

If you want a series of worker threads that are effectively the same as the master/initial thread. The proper way to do this clone(2) not fork, or fork/exec.

When used properly clone allows your group of threads to share a single PID, and TGID (Thread Group IDentifier). This cuts down on kernel resources your process(es) are using. They can natively share file descriptors and memory between each other (improving cache coherence). Also their signals are handled globally for all threads at once, not each thread managing it's own signals like Fork/Exec will result in.
How to keep his NPM dependencies up-to-date?
Pffft, shell scripts. In Lisp I can emulate shell scripts and all of the technologies mentioned in the article with three to five macros.
I only install applications from:

a) vendors I trust
b) confident in their security, and
c) couldn't write the software myself.

In the case of the Curse client I just wrote my own batch scripts and used cygwin. I could have just as easily done it in Python or AutoIt.

As I wrote the software I know there is virtually no chance for malware.

I can't be as certain about the Curse client. As far as I know it isn't open source.

Maybe I'm more paranoid than most about security but it could be because I know how easily most systems are compromised.
At least you level of certainty has increased.
> the above argument asserts that light should also have a preferred frame, since the mathematics is the same. But that line of reasoning is obviously wrong, as we know now.

Even while we know that it is wrong, the mathematical similarities between sound and light allow for the exploration or derivation of phenomena in one from the other.

For example, we are all familiar with lasers. The first laser was developed in 1960. Well people took the mathematics involved and constructed sound equivalents, for example the sound equivalent of the photon is the phonon.

It was then possible to construct and research the SASER - the sound equivalent of lasers and based on much the same mathematical principles.

So even though at a fundamental level sound and light are entirely different, it is possible to study the mathematics and behaviour of one and have it be directly applicable to the other.
And drawing. And recording your promo video ...
Show HN: Emotify – Smart reaction and re-engagement tool for website and blogs
Pencils are great, but ever since I started using whiteboard notebooks, like this[1] and this[2], I haven't looked back.

1. https://www.esquoia.com/

2. https://wipebook.com/
Fair point. My opinion is that in today's age of multi-core CPUs, shared memory concurrency is extremely useful for making efficient use of computing resources. As a result, I find threads to be unavoidable in most large systems I've dealt with recently.
I don't like your argument, I'm a bit of a purist. But the problem is that it very much makes sense. Github could go down for an hour or two, we recently had the whole problem with the leftPad package which was deleted, and npm don't always produce the same versions of dependencies (since their missing something similar to PHP's Composer's .lock file). I don't think it's a good solution, but it's absolutely a valid one.
The Web Methodology Project
Cloud Foundry is probably what you want. To the point that the Ruby buildpack code is a soft fork of Heroku's (source: I work on the Cloud Foundry buildpacks team). It'll run on AWS, vSphere, OpenStack, Azure, GCP is coming and others to follow.

There is, however, still a hump to get over in installation -- you need to learn what BOSH is, install BOSH, then install Cloud Foundry with BOSH. In the long run, for a production deployment, this is what you want. But it certainly doesn't feel that way when you just want to kick some damn tires.

If you just want to tinker, you can try PCFDev[0]. It's a fully-functional Cloud Foundry installation in a single VM.

Disclosure: I work for Pivotal, we donate the majority of engineering on Cloud Foundry.

[0] https://pivotal.io/platform/pcf-tutorials/getting-started-wi...

Edit: yes, I know we ask you to signup during the PCFDev install. I hate it too. We have to for export compliance, it can't be avoided.
Show HN: Aurelius – Create a clear product strategy. Build stuff that matters
So true. Why people often use "it's backed by Google" as an argument in favor of anything is beyond me.
Yeah looks exactly like page.js
Parody is just a light-hearted way of criticizing. You shouldn't take it personally (unless specifically targeted).

In any case, the author of the post actually agrees with you:
https://circleci.com/blog/it-really-is-the-future/
Science is a set of techniques and tools. It's not synonymous with the conclusions that come from it.

It's not 'science' that gravity exists. It's 'science' that we can prove it exists, model it, measure it, and understand its impact in various circumstances.

Likewise, AGW is not science. It's good science that proves AGW.

Conflating the two is actually harmful because it encourages untrained people (anti-vaxxers, homeopaths, etc.) to misunderstand what science is.
> I wish companies, if possible, throttled layoffs a bit more instead of large chunks like this,

When you amputate a limb, you want to do it as quickly as possible.
Off Topic: Your commits are all prefixed with emojis, which is useful when trying to determine (at a glance) which file was changed with which commit. Are you choosing your own emojis, or is it automated with a `commit-msg` git hook?
Wait a second, that is absolutely wrong. It is not the case that Apple has paid a tax on the money it holds abroad. In many cases, with complicated tax arrangements like the double Irish, it has avoided taxes in other countries as well. So a big chunk of this money is effectively untaxed.
Ad Free Music Player (BITSplayer)
I dislike it because they just seem to have read the title and not the actual post.
A gentle reminder that it's against the Hacker News guidelines to leave unclosed xml tags in your comments.
You do know the author is a taking the piss out of the practice, right?
This is also true.

At Pivotal we dogfood the latest releases of Cloud Foundry by deploying it to Pivotal Web Services: our public, we-make-money-from-this, there-are-legal-and-marketing-consequences-for-fucking-up cloud service.

By and large, nobody notices when we do it. BOSH is pretty good at that stuff.
A new ‘Einstein’ equation suggests wormholes hold key to quantum gravity
Would Trump's DOJ Prosecute Hillary Clinton
Hmm not sure what problem this was trying to solve since client side router has been a solved one for a long time. And this is not looking close to express w/o middleware, which page.js does.
+1, i'd expect a ValueError in the first example
> We're definitely sure, the thousands/millions of us experts concur

More friendly advice: if you want do discuss with reasonable peers, don't do this.

"Millions of experts" is wild hyperbole

IIRC, even in the 2500 scientists UN report a few years ago it turned out that quite a few of them vere authors etc.

Also, from an outsider but scientific/engineering background perspective this makes it sound fishy: in other disciplines debate is encouraged, in climate science it seems to be 2500 good scientists and anyone else is a quack, a troll or a paid shill.