skysight-inc/HackerNews huggingface dataset:
I don't agree on a few points.

Global atoms provide a good way to confine state into a single place. In my applications they serve as a in-memory database while everything persistent is written to disk in the form of a log (kafka, file append, you name it).

Agents provide a good way to serialise events akin to a transactor. Not every problem requires the parallelism or the concurrency gained by smearing it out into a nondeterministic pile of communicating processes that is a nightmare to test.
In those cases having determinism and centralised state is a godsend. I see them as the atoms bigger brother.

In cases where you need some concurrency or parallelism futures are fine. They provide a simpler interface and can even be canceled as first class citizens, unlike CSProcesses which potentially linger around indefinitely without having a first class handle to kill them or see their status.

Core.async is heavily overused. If your application doesn't contain a multitude of moving parts that all need to execute concurrently I wouldn't touch it with a ten feet pole. The go macro is a clojure to continuation passing style compiler, and don't get me wrong it's a marvel of engineering, but it's also a sausage machine that makes code impossible to debug. The fact that processes aren't first class citizens makes it impossible to build erlang style resilient systems, and creates tons of zombie processes when using figwheel. People immediately grab it when building cljs applications even though a log/queue would give them much more reliable performance guarantees, much better debug-ability and better tool compatibility. (Re-Frame for example ditched core.async for their own queue implementation.)
(If somebody is sharing that sentiment and looking for a kafka style log for cljs, I wrote one and it's been used in production for a while :) https://gitlab.com/j-pb/franz)

Last but not least, transducers make it onto my list of things to avoid. I'm not sure if they or core.async are clojures million dollar mistake.
They are incredibly complex, even brought the spawn of the devil, volatile, into the language. Just for a bit of speedup and core.async integration.
We're already running huge deficits... No citation is needed to understand that hiring a massive number of people to pick up litter is unaffordable.
China Wanted Apple's Source Code, but the Company Said No
We don't use Component in production, because it's way too heavy for us. Our web store uses Datomic, PayPal and Stripe, and a few AWS services, and none of these need to be started or stopped.

But we do take a tip or two from stuartsierra's "Reloadable" work flow (which he based Component on), specifically that there should be no global state, and all dependencies should be passed into functions that need them as a parameter.

In our case, we call it `env` since it's the "environment" that a function runs in or can affect, and contains things like the database connection, email service, etc.

Some of these are records which implement a protocol, so that you can have e.g. LiveEmailService in production and MemoryEmailService in development or while running tests.

All in all, I like and have used some of Stuart's ideas, but not necessarily Component itself. There's strong mindshare for it in the Clojure community right now, and it's tempting to look at it as The Solution™ for almost everyone's use-cases because of that. And the ideas it has are good, but that doesn't always mean it's the best solution for each person.
Assuming your the same OrangeTux I talked to in the Gitter chat[1], here's my answers (from Gitter chat) for other who have questions:

> How do you compare the current fingerprint of a user with the one stored in database?

The fingerprints are used to generate priors. Basically a prior is the probability for encountering router X with signal strength Y in room Z. These are real probabilities. When I classify a location, it uses these probabilities and Bayes law to determine new "Bayes probability."

> How do you determine the probability for classification?

You are now referring to the probability on the dashboard (the webpage) I assume. Thanks for the question. This is inherently confusing, since really it is NOT a real probability so its a bit of a misnomer. Lets call them my "probability estimate." Technically speaking, the Bayes probabilities (real) are taken and normalized to the standard normal distribution. Then I determine the "probability estimates" by the proportion of the exponent of the standard normal normalized Bayes probabilities.

[1](https://gitter.im/schollz/find)
Americans are abandoning wired home Internet
Needs a (1947).

Full cite:
Tóth, L. Fejes. "New Proof of a Minimum Property of the Regular n-GON." The American Mathematical Monthly 54.10 (1947): 589-589.
Take down that monopoly that is turbo tax!!!!!
>Today 99% of profitable market trades are automated

Do you mean that 99% of all profits end up with HFT firms?
As they used to say, never underestimate the bandwidth of a van filled with harddrives.
go ahead downvote, but that is the reality. You just don't know it.
Edibles kind of suck TBH. Everyone's body digests and metabolizes things at a different rate, so while one brownie may get me absolutely stoned for 4 hours, my friend may need to eat 3 to get the same effect. Also, edibles take anywhere from 30 to 90 minutes to kick in -- you don't get the immediate effect you get from inhaling it.

Vapes are better, but the quality varies widely. THC is not water-soluble, so you need a hydrocarbon solvent (usually butane) to extract it and dilute it into enough of a liquid that it won't separate. Those vapes are actually pretty good and hit almost like smoking a pipe, but then again you're breathing in solvents along with it. Also, this type of liquid is close to impossible to make yourself -- at least safely (since it requires subjecting volatile solvents to high pressures and temperature).

There are "solvent free" blends that use things like coconut oil, but IMO those vapes don't work nearly as well and give a very thin vapor that is very hard to draw on. For this reason, some people prefer "dabbing" which is basically taking refined THC (in either solid or paste form) and burning it at very high temperatures, then inhaling the smoke. That way you get high without solvents or the majority of the burnt plant material, but a dabbing setup is expensive and it's really only feasible in places where you can easily buy the "wax" (i.e. Colorado).

If you mean the hot air vaporizers... they tend to be expensive and use twice as much material as smoking it, plus they don't "hit" like a pipe or bong (you have to inhale for a much longer time to get the same effect).
I'd strongly recommend starting with the non-profit Addgene's guide to CRISPR (https://www.addgene.org/crispr/guide/). A great place to start and accompanying blog posts keep up to date. Also a great place to get the DNA building blocks, libraries, etc.
>If a new company / protocol came about which wanted to try their hand at a different way of sending online letters, that let you delete them later then I'd have no problem with that.

I don't think this is a particularly well-advertised feature of Viber.

Neither reddit nor hn are meant to be a means of private comunication. Generally you can't view them offline, and so on. I'm not sure about slack

>that's not how email works

And I think the average user's expectation is that a messaging app will work the same.

By the way, reddit won't let you delete PMs you've sent to another user.
IIRC the last time there was something on here about DPRK overland rail it was said the trains were Swiss
Twitter is honest about it-- it's for public discourse. I wouldn't judge anybody for steering clear of it altogether, but if you keep it mind it's public, it's not bad.

Facebook occupies a no-mans-land, neither public nor private. I find it infinitely more troubling.
Your computer has performed an illegal operation?
I thought the same thing. I saw the movie first, and then decided to read the book because a friend said it was a lot better. I didn't finish the book.
Why You Can’t Successfully FOIA President Obama’s ‘Game of Thrones’ Screener
India has National Solar Mission. It has differential pricing for solar vs other means govt subsidizes solar power for it to compete with coal. When the govt started this programme about 8 years back, cost was around INR17 per kwh. It has come down to a level where it can actually compete with coal during day times of high load. That is pretty significant.
This is fascinating. Do you have a source for more information?
https://github.com/jwagner/smartcrop.js/
is Microsoft paying for up votes?
The preconfigured Anonabox router for anonymous internet surfing
The biggest issue with the traditional relational model is that it doesn't do trees very well. Aside from that, it's pretty robust.
Testing in my office (central US) to N. Virginia and Oregon was getting about 90 Mbit/sec. I'm guessing that's the cap on our connection, not an Amazon limit.
Some Distributions Are Already Making Changes to Linux's Scheduler
Visa: Some merchants see dip in fraud thanks to chip cards
Yep. I'm one of the founders and we all run our payments through Painless.

True story - our accountant sent me my personal bill last week and I had a heart attack until I remembered I have an account with cash in it specifically FOR my taxes this year. It was a "duhhh" kinda moment, but I've been so programmed as a consultant to freak out about 1099 taxes, so it was my default reaction even after spending the whole year building a solution.
It's sad to see that STM is not recommended. It is hugely important in Haskell. I jump to believe that this is an artifact of type-driven STM, but it may be something else instead.

I've recently moved from Component to Mount. It is less powerful but just a vast syntactic overhead reduction.

Absolutely avoid metadata. The worst thing ever is using it like how Reagent does in ClojureScript where it actually provides important program semantics. This is a Terrifically Bad Idea.

Schema is wonderful. Schema is terrible. It is nothing resembling a replacement for static types. The more you use it the more obviously it is deficient for such things.

Absolutely just use Clojure.Test. I don't even understand why this is a question. What is up with cutesy testing APIs?
Amazon S3 Transfer Acceleration is natively supported in FREE CloudBerry Explorer http://www.cloudberrylab.com/blog/amazon-s3-transfer-acceler... and CloudBerry Backup http://www.cloudberrylab.com/blog/amazon-s3-transfer-acceler... from day one. Check it out!
It also doesn't mean I'm an Apple "fanboy".
So you have 50TB of images to send me and a 10mbit internet pipe. Is it faster to FTP me the file or mail it on a hard drive?
I think that you have to assume that they don't need batteries (it turns out that there are other sources of power), that the cost is actually included in the auctioned price or that they are making a safe bet that they can sell it at a loss based on predictions of future costs.
Absolutely. I've gone as far as using extensions [1] to disable the timeline altogether so I'm not tempted to waste my life scrolling through mindless shared drivel.

[1] https://chrome.google.com/webstore/detail/news-feed-eradicat...
Data transfer into S3 is free - it's the storage that's $0.03/GB-Month
Would it be possible to explain the reasoning of the workflow/toolchain you're suggesting?
60,000 Fewer Democrats in Brooklyn and No Clear Reason Why
I make a point of re-reading this story every several months to a year-ish. It reminds me to look at and engage with the world in a more compassionate way, and I like that.
> Anyone know if the quoted cost of $0.04/GB for Transfer Acceleration is instead of the $0.03/GB for standard S3 ingress, or in addition to it? Ie. is the final cost per GB $0.07 or $0.04 when using Transfer Acceleration?

S3 ingress is free. You're thinking of storage pricing.
Agile fiscal and monetary policy? Seems dangerous.
We'd love to have you this year. One of my partners got slammed with something like a $15,000 bill two years ago. That was the impetus for building out a platform to automate what's typically a pain in the ass.
Thanks for the feedback!

This is why I spent a section on showing the "failed
attempt". It's surprising how many folks don't understand the difference between overloaded functions (compile-time dispatch) and true multiple dispatch (at run time).
Three years after publication, Dave Egger's The Circle is becoming more and more presageful. Exaggerations in the book are becoming actual quotes.
It's a lot easier to search and comprehend 20,000 lines in one header file than 1,000 lines in each of 20 separate header files.
Google is at the top of SiteTruth's list of major sites currently being exploited by phishing scams. 37 of them right now.[1] This list comes from a join of PhishTank and Open Directory - sites with some reasonable reputation and an active report in PhishTank. At one time, Microsoft and Yahoo were at the top, but they got better.

Any popular free hosting service ends up hosting phishing sites, but Google doesn't aggressively clean them out. Here's Google's oldest phishing site, from 2010.[2] It's an attempt to steal Habbo logins (Habbo is an old virtual world, similar to The Sims.) Lately, phishing via Google Drive is picking up. Phishing sites hosted on Google Spreadsheets have finally disappeared; you can put HTML in a spreadsheet cell and host a site that way. For a long time, Google didn't recognize that this was a way to host a fake site.

At least all the fake sites are under Google's subdomains (sites., drive., etc.) There used to be exploits using "google.com" as an open redirector.

[1] http://sitetruth.com/reports/phishes.html
[2] https://sites.google.com/site/freehabbocoinsgbbo00/
Ubeam? https://ubeam.com/

There was some controversy about whether it would actually work.
It's a 2D problem: If you know the difference between circles circumscribed around vs circles inscribed in a polygon, that's probably all the geometry you need. The proof is a series of inequalities about the various areas inside the circumscribed circle and outside the polygon, and also the parts of the circumscribed circle that would be cut off by a tangent to the inscribed circle at the points where it touches the polygon.

Does that help a bit?
Part 3 in the series (coming some time next week hopefully) shows how multiple dispatch is done in CLOS (Common Lisp) :-)

P.S. I love Seibel's PCL - great book
I don't remember the specifics, but I was able to buy my Dot without an existing Amazon voice product, they seem to have "fixed" that "problem" though.

I have Prime, so I can't comment to that other issue.
That sentence is a little awkward but I'm not seeing anything horrible about it. (Surely you're not complaining that there should be a "?" at the end?)

I stuck it into the Stanford NLP parser ( http://nlp.stanford.edu:8080/parser/index.jsp ) and the output matched my prior reckons.
I'm thinking separating user auth (and details required) with something like this from user domain data would drastically reduce the likelihood that one hack could compromise everything all at once.
I'd be more interested in your nuanced opinions if you weren't a government shill.
It's also incredibly easy to grow your own. It's called "weed" for a reason; if you threw some seeds in your back garden, in a few months you'd end up with something that would get you high for almost zero effort.

And if you grow your own, you end up with plenty of "trim" (plant parts that aren't suited for smoking but still have lots of psychoactive ingredients). Most home growers will cook their trim with butter for a few hours, strain off the plant material, and use that to make edibles. It's not as scientific or consistent as the commercial methods, but it's easy and completely safe.
The main thing that has really impacted my productivity and happiness is following a set routine for an hour whenever I get up. So I do the following :

1. Brush
2. Meditate - 15 minutes
3. Write - I usually write "3 things that I am grateful for" and "3 things to focus on that particular day"
4. Exercise - 15 minute run

I do this whenever I get up. So it's not like I get up at 6 in the morning everyday. I just get up 6 hours after sleeping. The advice was given one one of Tim Ferris' podcast and has done wonders for me. I would highly recommend trying it out.

Start small. If 15 minutes of anything is too much start with 5 minutes. That's what I did.
"However, the researchers also point out that they “cannot show a causal relationship” between cannabis use and dopamine deficit, explaining that they can’t be sure"

Ok thanks bye.
On the flip side of that, would anybody get upset if an author was asked "why a male character"? What if the author was female?

The whole thinking behind that kind of complaint within the context of the question with no reason is stupid. I don't see the interviewer "questioning" the author of the choice of a female lead. People are just making too much out of innocent questions that may have interesting answers.
Is there a benchmark that shows power consumption savings from Veertu in a realistic settings?

In any case, until Veertu support USB devices it is not much use for me.
Why Your RFP Will Fail
Yeah I'm not commenting on the results. The sample size was way too small to be a reasonable study and yeah, weeks is not enough to talk about long term results. But the basic principle of the experiment is sound I think.
Legacy Code Is Just Code
Why the best product managers don’t build the features their users ask for
Looks like WhatsApp isn't so happy about that ...

https://gigaom.com/2015/01/20/whatsapp-cracks-down-on-people...

Do you know if the clients work with the new encryption?
Warmest March in Global Recordkeeping
Surely Apple is going to face the same charge?
Probably not a coincidence that the Echo is on sale today[0].

[0] www.amazon.com/Amazon-SK705DI-Echo/dp/B00X4WHP5E
With frequent cheap access to space, we must develop asteroid resource usage.

With asteroid resources, you can fly propellants and materials to anywhere in the solar system very easily. This is because they have very shallow and gentle gravity wells. Earth, Moon, Mars, all have deep steep gravity wells, which you can't leave with electric propulsion and you need a lot of delta vee. Bringing things from Earth just to low orbit means 98 units of rocket and 2 units of payload.

Imagine traveling with a credit card instead of having to bring everything bottled, canned and packed up from home.
This looks interesting.

Can you go into a little detail about how well you currently cover state taxes vs. federal, quarterly payments, etc? The service I currently use doesn't really help much on the state level.
Laravel Spark 1.0 is now available
Isn't it more likely that after shipping a 'named' consumer product, many of those engineers rose in value a tremendous amount and rather than negotiate a raise they took a huge salary bump working for Apple/Google?
Been using free tax usa (www.freetaxusa.com) for a decade now. Just works.
In case anyone's curious, what happened was that Dave (@davidmarin) and I (@irskep), the mrjob maintainers, left Yelp within about a month of each other. (There's no story there, just coincidence.) There was never any momentum with new maintainers, going by the release history.

But now Dave is working on mrjob regularly again, hence the pace of recent improvements.

Grandparent is correct about the second-class support for non-EMR production Hadoop usage. Like any open source project, the code only works well if a major stakeholder invests in improving it. Few non-EMR users spend much time contributing, so the situation doesn't improve.
I've noticed similar crawling out of the woodwork when the harmful effects of coffee, sugar, and other sinful addictive drugs are discussed.
Daria the Developer Hates Daily Standup
> Choosing a male protagonist is default

Choosing a protagonist whose gender (and race, etc.) is the same as the author's is the default. I don't think anyone asks Margaret Atwood why she chooses a female protagonist.
DPRK's subway system is clean because the punishment for littering is so severe.

if someone gets a ticket for littering in NYC people on HN are all up in arms. I don't have a link for it now but take a look at the comments for the story about the policing slowdown in New York when they stopped writing tickets for parking, turnstile jumping, and other minor offenses. People were all like "yeah, we don't need parking tickets! Society works fine without them, they are just for revenue! Punishment does nothing to effect behavior!"
With Snowball, you don't need a huge pipe because your data is being sneaker-netted to one of their data centers. You don't need a ton of storage disks because they're lending Snowball to you in the short-term as a means of copying your data to S3 (and/or Glacier) for the long-term.

If you can spare a 1 gigabit connection to saturate with S3 uploads, you can send 50TB in about two weeks. It takes about a week to request a Snowball, have it arrive, you fill it (takes about a day, assuming you have a 10Gbit connection for Snowball), you ship it back, they copy the contents to AWS storage. If you don't have a spare 1 gigabit connection, the speed is that much better. Even if you don't have 10Gbit hardware to fill Snowball with, a local, dedicated 1 gigabit connection to Snowball would be much more reliable.
Let them eat cake!
I know they used 1-800-goog-411 [0], their discontinued free call directory service to train their speech recognition, which was a pretty great idea.

[0] https://en.wikipedia.org/wiki/GOOG-411
It's an island in the middle of the ocean, placed between two continents, with limited, military-controlled access by the US and UK.

I don't think I'd need a spoiler tag to say government intelligence agencies.
The article is specifically talking about web apps, not web sites. This usually assumes interactivity based on user interaction, which JavaScript certainly makes easier.

I don't know the specifics of the web app in question. But from the interview it sounds like a case of replacing fixation on one tool with another. For example she describes server generated HTML as a "pristine state."

No, JavaScript shouldn't be used for everything. But sometimes it is better than trying to abuse other technologies to do things they shouldn't do.
Ah yes of course, thanks. I took too brief a glance at the S3 pricing page.
+1 for Index investing - also called passive investing, couch potato investing etc. It is so simple and elegant I can put it in code:

// Decide asset allocation based on risk tolerance. E.g. 75% Stocks / 25% Fixed income
set_asset_allocation(risk_tolerance)

// Determine which index you want to track. E.g. 25% Canada (TSX)
// 25% US (S&P500), 25% Developed World (MCSI EAFE)
select_funds(list_of_funds)

// Set up automatic purchase plan so your account automatically purchases the funds bi-weekly or monthly.
enable_auto_purchase(name_of_financial_institution)

while (alive && working)

// Live and not worry about investments. Instead focus on coding, knitting, cow tipping, etc.
live(1 year)

// Buy/Sell more units of your funds to return to desired asset allocation
rebalance()
done

retire()

And if history repeats itself you will outperform the top money managers >50% of the time. Check this PDF for the active money managers VS index fund historical results: http://ca.spindices.com/documents/spiva/spiva-us-yearend-201...
During registration, you need to handle things like assigning roles to the user for your application, verifying the users email, setting up two-factor authentication (if they want) and storing metrics. The metrics are helpful for tracking registrations and correlating them to things like marketing campaigns.
Hey guys, for what its worth, MRJob has given us around 3 years of working (if sometimes clunky) EMR, so thanks for that :)
How to do big refactors without losing your sanity