skysight-inc/HackerNews huggingface dataset:
In this case, it's unfortunate that there's no, "will this name create a valid person object?" predicate. much much better to filter the names, then make the objects.

In this case, as long as append is O(1), i think the imperative version has a big benefit, it avoids building the name size list of persons. If you've got a billion names and 2 valid person objects, the imperative version is a big win. Of course that predicate i mentioned is the right way to go though.

I think the right way to do it is with a fold. But that's not built in, so hard to expect of novices.

I see what you're saying about mutation, i guess i have a higher tolerance for mutating stuff that you have the only reference to. I'm not really sure doing a += [validPerson] is much of a win. (but i think would be the right answer in a fold)
The network of contingencies would be much richer than just a "murder list". For example, if anyone had a "murder list" with arbitrary people on it, and was killing people for no reason, then a whole body of people would step in and murder that person back in self defense.

You would be able to see at a glance the extent to which someone's values align or don't align with yours, so that you could decide how to act on them. If someone with a murder list started to approach you, you could very easily summon a mob of people to protect you.
Gift Ideas for Front-End Developers or Web Designers
Do you think you'll run again?
Generic tangents into flamewar topics are the most off topic thing there is.
Next Caller (YC W14) Is Hiring a Principal Data Scientist
Apply for 12-month tour of USG 18F
> You don't have to crack open a reference manual to look at grammar rules or precedence tables to work out what the shape of the syntax tree is; you can read anything just from the symbolic prefix, plus a smattering of minor notations like sharpsign-this and sharpsign-that.

You can't. Any macro may support arbitrary syntax. If all you know is the macro name, you don't know nothing about the syntax it implements.

> (foo (x y) (z w))

There are many many much more complex forms in Lisp.

> And words have the nice property that you can look them up easily in manuals

Then you have to read the syntax FOO implements.

DEFGENERIC:

defgeneric function-name gf-lambda-list [[option | {method-description}*]]

=> new-generic

option::= (:argument-precedence-order parameter-name+) |
(declare gf-declaration+) |
(:documentation gf-documentation) |
(:method-combination method-combination method-combination-argument*) |
(:generic-function-class generic-function-class) |
(:method-class method-class)
method-description::= (:method method-qualifier* specialized-lambda-list [[declaration* | documentation]] form*)

Then you need to know the set of precedence order names. What is a GF-DECLARACTION?
What is a method-qualifier? what is the specialized-lambda-list? What are valid declaration expressions...?

> Those who say Lisp is not readable are trolls and liars.

I don't think you add credibility with these statements. Sorry, this is just dumb.
> The people who buy this are probably the ones who can't afford real medicine

Homeopathy is popular in the UK where medication is usually free and has a low cost if it's not free.
I work for a 100K+ company and we are doing that, though far from google scale. I talk about this here:

https://www.youtube.com/watch?v=Yj5I-yOaDao

and blog on related things here:

https://medium.com/@zwischenzugs

but I do understand your skepticism - the hype is far from reality.
Impressive amount of cognitive bias you managed to pack into such a small space there.
Next Caller (YC W14) Is Hiring a VP of Marketing
I think if one person was able to send money to another country without paying much of a fee, then it had an impact.
I noticed that there doesn't seem to be a Republican candidate in the race. Not to degrade the author's efforts, but I wonder how much of the vote for the author was due to their being the only non-Democratic candidate.

Edit: I only mention this because "get 31% of the vote" is part of the headline. Part of it may be running in a race unopposed by the other major party.

Edit 2: My mistake, the percentage was part of the thread's original title, not the author's chosen title.
And if so, what(if any) changes would you make? Do you have any ideas after the defeat that you think would have turned the tide?
Because when someone is calling my mom a fag on the internet, I want that to be encrypted.
Do the findings control for which group uses more in public? My experience living in Chicago and Waterloo, Iowa (the "blackest" city in Iowa--http://www.iowadatacenter.org/Publications/aaprofile2016.pdf) suggests that this disparity alone could explain the disparity in arrest rates. It's quite possible that there's a cultural difference in drug abuse that could skew the results.
Why are all the SVGs displayed as animated GIFs? Is there no way to display native SVG animation in the browser?
Ideological one-liners from left-field (or right-field) don't belong on HN. Please don't do this.
That's supposed to be one of the rules at the registrar level, but it's one that gets ignored in practice.

I have heard proposals that mixed-script IDNs get converted to punycode in URL display, but I don't know if any browser has fully implemented that yet.
Praying is free, and arguably a form of expression.

However, goods sold with the expectation of efficacy should _be controlled_ based on that promise.
Accel Cautions Startups to Play Nice with Traditional Companies
Why does Rancher[0] never get mentioned on here? I've been using it the last few months and it's been great. It handles everything for you without the huge learning curve.

I'm using Gitlab.com pipelines also and it means my CI/CD pipeline is now free, and once by build/tests are run it pings the Rancher API to upgrade the service.

[0] http://rancher.com/rancher/
I had to read the headline 7 times to understand the message.
What sort of obligations would be incurred by running as a Republican? (Assuming the party would back him.)
Dunno, it's fairly obvious what you're working with, being explicit doesn't buy that much (for me at any rate).

val persons =
names.map(Person.apply).
filter(_.isValid)
And it's still not easier to vectorize your x86 code rather than to just port it to CUDA.

This a million times! The SIMT programming model that the GPUs (except Intel's) support so well is way easier to program and parallelize for than the explicit SIMD that x86 requires.

PS. Are you the person that wrote gogui?
No, they're not. The author is running an ad and is complaining about it being blocked.

If he really wanted to run this ad, he should make a random CSS class name for it that changes with every page render and try to fight the ad blockers like Forbes does. At least then I wouldn't have to read this whiny complaint about programs actually working like they're supposed to.
I guess you're right, it doesn't come so much from lambda calculus as I claimed, it was more inspired by it. Although to be fair, in the time the Lisp appeared, it was the closest thing (by a wide margin) to lambda calculus. I think it was a valiant effort to bridge the gap in that direction (and the design choices were influenced by the trade off that he also wanted a practical programming language).

Also, even languages like Haskell are not based only on theoretical lambda calculus, but they also have primitives for data types, which could be, in theory, represented by lambda expressions.
They weren't "over it" by last fall.
Relegating Vulns from Renewable to Rare
Now I feel old.

I have a very small server running Apache, with mod_markdown installed. .md files are rendered as HTML by Apache, and there's a CSS file to tweak if I feel like it.

https://github.com/hamano/apache-mod-markdown
So perhaps it is less accurate to say vaccinations are like cures like and more significant processing of like cures like. So then maybe anti-venom also falls more in line with vaccinations in the sense of the processing of the original like involved.

Others have also presented arguments why immunotherapy for allergies isn't really like cures like. However, nothing as comprehensive as your post to suggest any significant processing on the vaccination level as much as a simple reduction to the chemical allergen to reduce and/or prevent allergies to said chemical.
These points are so high level and obvious that this is basically useless:

>Locate servers in different data centers.

>Ensure that data centers are located on different networks.

>Ensure that data centers have diverse paths.

>Ensure that the data centers, or the networks that the data centers are connected to, have no notable bottlenecks or single points of failure.

Getting Robbed: Best practices for Prevention and Response

* Don't carry all of your money with you at all times.

* Don't advertise that you're carrying large sums of money.

* Have enough money that getting robbed doesn't really affect you.

* Pay someone else to do your errands so you're not at risk.
The whole purpose of insurance is to normalize the price. Without insurance, people who take the most risks with their health/driving would be more likely to pay (or at least owe) millions, while the health-conscious and risk-averse would generally pay much closer to $0 (until they get old or unlucky).

It's interesting that insurance premiums can act as behavioral incentives in some cases, but I doubt it has ever led someone to change their gender or race.
Shea capitalized the term every time he used it on the blog, and specifically mentioned tables and events. It made it sound like there's a specific event or organization beyond the generic term.
Curious to know what aspect of ethereum are you excited about that current solutions aren't addressing?
That's like arguing that an airbag is safety theater because it doesn't prevent drowning if you drive off of a bridge.

MFA is used to prevent a third-party who has access to your credentials from being able to login as you and, in the case of U2F, to prevent a successful phishing attempt from compromising your account.

MFA offers no, and never has been billed as, protection against a subverted server or an attacker who can decrypt or tamper with traffic on the wire.

Security is a large, complicated problem. There will never be a single measure which protects against every threat.
I never drank when I was first diagnosed, and didn't for some years afterwards. Now I sometimes do, but whether I do or don't there is no noticeable influence on my illness. Still, if you have found something that seems to work, you have nothing to lose by keeping at it (except if you love a beer!)
We have been using Rancher as well... It allowed us to move away from DO and AWS. Now most of our infra is from OVH :).

It's been smooth sailing.

Because of massive costs savings we were able to just reinvest it in our own redundancy. Also 12-factor apps are pretty damn resilient.
Blockchain and Brainwallet Cracking
Better heuristic:
You can run custom programms on it (doom included ;))
I ran for office (Redmond, WA City Council) and got 39% of the vote, and I didn't do nearly as much (press releases and the like) as the author did. I showed up for the "voter's forums" and the like, and the newspaper endorsement interviews. I spent money on yard signs, and spent many an evening putting them out. And I went door-to-door, using voter data to better target the doors upon which I knocked.

I do wonder how much you get for just having your name on the ballot. Here's what I told my wife during the campaign: "meh, I'm only running so that my opponent doesn't run unopposed. But if I weren't running against him, I'd vote for him." IOW, my opponent was a decent guy who held office for mostly the right reasons. And I still got 39%.

Anyone can run for office, fill out the form, pay the fee. How much you want to do after that is up to you. But if you don't have a track record (volunteer for the Parks board, head up the local trail improvement group, etc.), you won't get an endorsement. No one in the local political "machine" knows you. So go buy some signs, put on your walking shoes, and start knocking on doors. Have a few platform items that you think are important, and stick to those without getting distracted by things like "are you an R or a D?" for a non-partisan office. Ask questions of those you meet. What do they think is important? Do you think it's important enough to have a response?

Mainly, have fun. If you don't like meeting new people (which I don't), aren't able to think on your feet (I am), politics might not be for you. But despite my aversion to people, I found it fascinating and kind of fun, interspersed with large periods of boredom.
> How does Tim Cook not see that the ease of use of their entire ecosystem (from routers, monitors to software utilities) is what justified spending twice as much on a mac or an iPhone as a competitor's product?

I used to laugh at critics who used to say something about Steve Jobs not being around (after his death) and point to that as the reason for something they disliked. But lately I feel that things would've been very different if Steve Jobs were still around. Tim Cook and gang have grown Apple's financial numbers a lot in the first few years after Steve Jobs's death, but they seem to be floundering in the last few years in making an entire ecosystem or in satisfying the various (connected) needs people have that Apple could sit at every point and make things simpler and more enjoyable.
Given the people I've interviewed who had extensive "fundamental" "CS" "education", vs. the people I've worked with who've done bootcamps, I'll take the bootcamp any day of the week and tell the CS folks to get a refund from the university, because the CS folks straight up can't code on average.
I just had to take 5 to ask my brother what his Hacker News handle is to confirm that you're not him.
I know that 31% is not insignificant but... it's not great either. If this was an incumbent, then there's probably a fair number of people who would've voted for _whoever_ the opposition candidate was.

I do like the idea of always running opposition candidates though, to force the other person to raise & spend campaign funds.
> There's a digital currency in our future, but I guarantee that it won't be decentralized and that the government will have the signing keys.

That might be possible, but its too early to say anything at this point in time. The thing is that Bitcoin has technologically established itself as a stable crypto-currency and also an open-source wallet software. In future, some governments may also come up with their own centralized digital currency, but it will be too little and too late compared to something like bitcoin or litecoin.

Besides, bitcoin is international and a lot of people have started transacting in it already. Now, the government has to tread carefully about this, despite all the talk of sovereign nation and government upholding its economic control, no government can go against its own people in this day and age.

Also, actually persecuting the public for using crypto-currencies is against their own interest as it will create something like a Streisand effect. Right now, only the technically inclined know about bitcoins, blockchains and wallets, the rest treat it like some magical buzzwords. But if they start persecuting, a lot of other non-technical folks will also come to know about it and they will also start using it.

In short, the future depends on the mood of the people of the nation and not the governments. Its a fallacy that money begets is value as a legal tender by the government. Rather, it gets is value because its "generally acceptable", in other words the people accept it. People of a nation are above the government, not the other way round.
Can this also be done with a calligraphic pen? (I.e., pen with a slanted stroke).

I'm asking because this is a style that is used a lot in cartoons.
The term "full stack" often only seems to denote someone with both front- and back-end experience; anything below the server application is often considered the domain of "operations".

I do think it would be nice if the term carried more meaning, but given most companies are running their systems on top IaaS/PaaS offerings from Amazon/Google/Microsoft/etc and tend not to care about things beneath the application layer until they're making more money than sin it's fine as-is for the time being.
Thanks, yes, I have those things on my 'to monitor the progress of' list. Fortunately I've had a very good specialist doctor the the 15 years of my diagnosis, and he is happy to share 'research is going on in the area of...' information with me, those topics included.
I'm thinking of the day that I create a video to demonstrate the effects of this (eg. only getting faster access to YouTube because I paid some special fee to my ISP). Thanks Trump!!! I recall seeing some doomsday video about this. Will have to compare that to what transpires.
That's the problem with canaries, though. By definition, they exist for situations where the canary-owner can't offer positive evidence for compromised security.

I don't particularly think Riseup is in that position, but unless someone actively says "don't worry about our lack of a canary, we took it down for $REASONS and all is well", negative evidence is all you can react to.
I'm sorry to tell you it is even more complicated than if it can run doom. Does this count as doom?

https://m.youtube.com/watch?v=TuupoxmeQ6U

Another definition i have seen is the QWERTY keyboard restriction. If i remember correctly some good calculators from Texas Instruments have abc keyword to be allowed on some big math tests in US. (Or is this maybe just a myth in Europe?)
Ask HN: Best way to launch a static blog in 2016?
In particular I'm looking to implement Medium.com's look and feel.

I'm confused by the dizzying array of static blog generators.

Which one is the easiest to setup on S3 so I can access it like http://saasful.com/blog ?
Amazon Explores Possible Premium Sports Package with Prime Membership
A Rack-compliant query string parser for Golang
Oh, yeah. It's also currently incredibly slow to load for me. I wouldn't recommend that anyone use it at this point. Just pointing out an example of a similar service for comparison. It doesn't do much, but the UI has some serious polish.
You may want to reduce politics in the comments or even disagree with the premise but calling it unrelated is on the verge of being dishonest.
Your post is not grounded in either fact or logic. Tell me, for example, of US government attempts to suppress neo-nazi speech.I'm only aware of one case from the 1970s where the State government of Illinois objected but was out-argued by the ACLU. The case is summarized at https://en.wikipedia.org/wiki/National_Socialist_Party_of_Am...

As for Trump, $10 says you're in for a big surprise.
OK, how about this.

Imagine that employers stop caring about degrees, and evaluate potential hires based on other qualities.

This is already happening in tech.

If employers no longer cared about degrees, then workers who don't have them would now suddenly be on equal footing.

The non degree holders would get much higher paying jobs, and conversely the degree holders would get worse jobs. This causes the "value of education" bubble to pop.
On the other hand, it seems to me (maybe I am wrong) that the solid n-dimensional angle of each corner of the n-cube is progressively smaller (as a ratio of full n-dimensional angle). So in that sense, each n-cube gets more spikey, and there is "less space" in each corner for each n-sphere that enclose the central n-sphere.
Only blogs, I primarily build this for my own use.
There is no fast way of doing linkbuilding these days. The effect of viral content, and the links they bring is short-lived.

Unless it's your actual product going viral, it doesn't do much for SEO. It's just a good way to get your name out there.

https://moz.com/blog/the-seo-myth-of-going-viral
Sccache, Mozilla’s distributed compiler cache, now written in Rust
This is offtopic, but did CMU ever face any consequences for their attack on Tor a year or two ago?
> But the second one is more debuggable than the first, which I think is even more important than readability.

The first is less likely to require debugging in the first place.

> There are lots of data structures in this style of programming that don't have any names.

So you can only reason about things that have names? Now we know where idiomatic Java comes from.

> Who knows what kind of data structures map and filter create in order to do their work.

In most reasonable implementations, the only data structure being created is the final result (a functorial value in map's case, a sequence in filter's case). For example, in SML:

fun map _ nil = nil
| map f (x :: xs) = f x :: map f xs

fun filter _ nil = nil
| filter p (x :: xs) =
if p x then x :: filter p xs
else filter p xs

> But the core promise of functional programming—that you can stop thinking about the underlying procedures—never seems to fully pan out.

Functional programming doesn't promise freedom from procedures. It promises (and delivers) freedom from physical object identities when you only care about logical values.

---

@banachtarski:

Code that's likely to require debugging (say, because it implements tricky algorithms) should be isolated from the rest anyway, regardless of whether your program is written in a functional style or not. Say, in Haskell:

Bad:

filter (\x -> tricky_logic_1) $
map (\x -> tricky_logic_2) $ xs

Good:

-- Now trickyFunction1 and trickyFunction2 can be
-- tested in isolation. Or whatever.
trickyFunction1 x = ...
trickyFunction2 x = ...

filter trickyFunction1 (map trickyFunction2 xs)
Thanks to trains you can commute into London fairly easily from somewhere more affordable. And it isn't driving so you can work or read as well.
That's one way to kill Chrome and I wouldn't be surprised if Google pursues it. Better browsers already exist so it's irrelevant even now.
Most languages implement map and filter in terms of lazy sequences so they would not allocate an intermediate list (Scala is an exception but I believe you can request laziness).
Bright Idea: Glow-In-the-Dark Dye Could Power Cars
Go to the drug store and look, homeopathic medicine is just as expensive as real medicine.
Something really simple like capistrano works usually only for a small subset of your services. With Kubernetes, you can run everything in there. And you can automate it to a very high degree: Imagine pushing a branch not only deploys it to some test system, but it actually bring up depending databases, a queue and a load balancing layer which then gets load tested.

This is partially possible in the cloud as well, yet it requires building machine images which is slow. And you end up with a provider specific solution especially if you try to integrate it very well.

But in short: It makes sense very soon if you run on bare metal (and arguably makes it more feasible option to run on bare metal) while it makes only sense much later if you're running in the cloud. I'd say you should have at least more than one team deploying more than every few days.
Because it's also displaying the CSS edits, so you can see the SVG animation that results from the corresponding CSS edit.
Microsoft planning to enable x86 on ARM64 emulation in Windows 10 by Fall 2017
I use the Microsoft Stack (ASP.NET MVC5, C#, SqlServer, run in Azure) for JobRudder [1].

I wanted to pick something boring (and extremely stable) for my tech stack. Building a company is hard enough without wrangling with new frameworks/languages etc. I learned this the hard way.

So far it's been great. The Azure PAAS integration is just icing on the cake.

[1] https://jobrudder.com
Confidence is a proxy for competence, which, through the interview process, we are imperfectly testing.
I've always considered a TI-83 to be a computer in its own right. It's called a calculator, but for as long as it's been a thing, it's been used as a more general computer as well.