skysight-inc/HackerNews huggingface dataset:
IIRC, magnetars are astounding, mean, wicked, shocking things. Don't want to be anywhere near one of those puppies.
It's pretty easily balance that -- you raise the threshold for payroll taxes and index it to inflation.

It's already indexed to wage growth rates, and there's nothing "easy" (or at least, shouldn't be) about a 12.4% marginal tax rate hike.
Many thanks for taking the time to explain this, I can see that you have a point.

>Or you can focus on the meaning of the words, then you need just a few types, see how those meanings compound, and go from there.

>I agree, FP is bad at extending things... but it is not FP fault that you see the world as things that need to be extended.

I should probably give another look to FP and continue to study the subject, I have likely been approaching it with a OOP mindset as you suggest. One last question though, what about code duplication ? If you focus on the meaning of words and compounding these meanings to create new things, wouldn't it most of the time create lot of duplicate code ? For example in the case of the local shop and the supermarket, wouldn't you have two functions (or a switch case) containing exactly the same code to calculate the quantity multiplied by the price of the groceries ? One would take a local shop as parameter, and the other one would take a supermarket.

Splitting the sale processing function in two parts - one summing up the groceries and the other one calculating the taxes - so that you can reuse the first function implies knowing in advance the existence of the supermarket structure (which you will only know many years after putting your product in production). Not doing it in advance either means duplicate code or refactoring every time you add an operation. The extension mindset initially comes from the need to avoid code duplication which is known to make maintenance difficult.

Now maybe the strongly-typed experience of FP and its compile-time checks are so convenient in practice that they make the maintenance of this kind of code easily manageable ? Maybe it's not even really duplicate code since what would be a basic number in OOP would be two different types here in FP ? Or maybe it's still thinking about FP from an OOP perspective ?
I'm with you, but it's just part of the growing pains. The web is successful because it's easy to layer businesses on top of each other... I can have a Tumblr with a Shopify backend and Google Adwords on top. Apps are walled gardens so they can only enforce one business model at a time. That can make things nice and tidy, but it walls you out of the messy, compositional business models of the web.

Because business models are composed on the web, it's just harder to settle on unified design standards. It takes time for everyone to agree on a separation of responsibilities on the page. This is compounded by the sheer newness of the business models. My webcomic about fancy cheeses has a segment marketing a line of tractors now to industrial buyers at a conference in Wisconsin this week? OK. That's an opportunity I probably wouldn't have had selling Java apps.
Just to confirm, are you saying that this "miracle cure" news article (which are notoriously bullshit) might actually be true?
Omfg seriously? It's been the most widely used programming language for enterprise applications for the last 5 years..

Have you ever done Java development?
> taking their personal Truck as a deduction, by calling it a "work truck"

That's simply tax fraud, it's completely different from the other examples you're calling out..
Brian from Backblaze here.

If you use b2_list_file_versions (or any of the b2_list functions) there are checksums included in that list (SHA1).

When you ask for that file list, the results are actually coming out of a large Cassandra cluster (database with many computers and fast SSDs).

Ok, so even if you do not request a file list of any kind, Backblaze itself automatically is always walking over the entire data farm checking every single last file's SHA1, plus checking if the files match the database's SHA1. A full sweep completes in less than a month then begins again.

If any bit error is detected (which happens semi-regularly since we have over 72,000 hard drives and bits get flipped) then we rebuild the files from the other copies (Reed-Solomon encoded across many separate computers in many separate locations in our datacenter).

We love and take care of your data so you don't have to.
tuktuk is expensive joke, pretty much on par with airconditioned taxi without inhaling exhaust smog and safe, both of them are in the end stucked in traffic jam, no matter that tuktuk is smaller

you must get of the roads not to be stucked in traffic unles you use (moto)bike, it's shame they canceled Bangkok green bike, used to bike using them long time ago, but was disapointed years ago when I found project was cancelled
SR-71 is about as far from a drone as you can possibly get. Politicians are going to (pretend to) care a lot less about airspace sovereignty when violating someone else's airspace does not involve risking pilots' lives. Range and stealth are only going to increase. This is why I said the future looks bleak.
I'm sure those militant people exist, but I've yet to encounter one.

I can speak from the other side though. After someone realizes that I don't eat meat, I usually (as in way too often) get follow up questions about the reasons etc. I'm not sure if this is because of attempted "small talk" or other reasons, but after a while, I just got tired of it.

I generally try to avoid long follow-up discussions on the topic, because I simply don't think it's worthy of attention (at least in this context).
I just want to point out the notably inconsistent formatting of the presented data in this article. It's like a tour de force of how to create misleading representations from "accurate" data. Specifically, keep an eye out for what is used as the min/max values on the various axes, as well as interval sizing.
It is a problem. In some ways, this is why I'm ok with the government setting the rules, sometimes fairly strict ones. One example might be laws limiting business hours, or laws the make a certain amount of vacation leave mandatory. They violate individual freedom, but they may also make it possible for people to close shop or take a vacation.

Sweden recognized this problem - it created very generous programs for women, but realized that this was providing an incentive for women to leave the workforce, often in their 30s, an important decade for rising through the ranks, while men remained in the workforce. They then created more generous incentives for me, but discovered that the men weren't taking them - partly because of social and organizational pressure not to (perhaps related to the article I posted above). They finally created a very generous "use it or lose it" system where the men were just walking away from too much benefit not to take the policy, and I believe launched a major campaign to get men to take the leave. The idea is to create enough of a critical mass that the "male child leave" stigma would fade and this would become the norm.
In your explanation, how does it repeat?

Also, curvature is a non-local phenomenon. In the sense that if you take a finite volume of space, re-arrange the spacetime however you like, you still have to have the same total curvature inside the volume. You don't have a free hand to reduce total curvature in a volume of spacetime without also altering the boundary.
Is there any information indicating that they are moving their workforce elsewhere?

The select quoting of the article here implies that the market demand is waning:

> The latest job cuts followed a prior involuntary reduction of 245 workers set for May 19 as the company responded to increasing competition and slowing aircraft sales.

> "We are moving forward with a second phase of involuntary layoffs for some select skills in Washington state and other enterprise locations," the memo said. "We anticipate this will impact hundreds of engineering employees. Additional reductions in engineering later this year will be driven by our business environment and the amount of voluntary attrition."

Sounds like cuts across the board, not cuts in Washington and growth elsewhere.
Mozilla is probably in the best position to do something. If it's good enough to get developers to switch and rave about it, ms and google will follow to keep mindshare.
Thanks for such a high quality comment with links to even higher quality resources.
It'd be crazy if an event happened, and you could choose how much you wanted to read about it - "I want to read at least 5 paragraphs on this subject." Could help a lot for textbooks if you really understood a subject (or conversely really needed some help on one.)
Reply to myself, but I just rewatched nercubed's airport simulator vids. This is what I was talking about re German simulators:

https://www.youtube.com/watch?v=CwkpogkNpco

https://www.youtube.com/watch?v=CwFPHuofoDk
Fastly announces “image optimizer” feature
Moat acquired by Oracle
Lambda costs are two-fold: You have a set cost per API request as well as a cost per 100ms chunks of work.

On top of this, you can't increase one of CPU or Memory allocation without increasing the other. This means if you're very memory-efficient and CPU-bound, you'll be eating extra runtime costs. You also kind of end up using the entire Amazon toolchain, which has costs embedded in every single bit of it. SNS, SQS, API Gateway, S3 requests, S3 network out, etc they all have costs.

And here's the thing: Lambda has a ton of layering on top of it, which you wouldn't have in an EC2 environment where you have full control. You can't optimize Lambda, you can optimize EC2.

My company is currently paying $4k/mo in Lambda costs, parsing log files in Python into XML and doing an S3 call at a peak of 40 requests / second. Back of the envelope, we can probably get this down to <$300/mo by overprovisioning a few m4.large instances. But now there's the question of having to manage a processing queue, reprocessing, etc so it's hard to tell how much would actually be saved. (On top of that, if a box goes down, that's a significant chunk of processing unable to be taken care of; with Lambda, that doesn't happen).

All in all, has been excellent to us to get started, but there's a point where we definitely want to investigate a dedicated system we have full control of. Lack of Python 3 support was the #1 reason I wanted to do that, so now there's a bit less motivation - it's a lot of work.

I'll certainly write a blog post about it if we decide to move our main processing off Lambda.

Edit: This looks like it has a lot of interesting numbers. https://www.reddit.com/r/Python/comments/4hebys/cost_analysi...
Completely agree here. I think many people realize this and have built awesome tooling to be able to manage different ecosystems and environments.

One that I've been particularly keen on over the last year is GraphQL. If you're interested in simplifying frontend development while giving it more power and control to dictate the data that it needs for each component / view, you should check out GraphQL. I know what you're thinking... "Ugh, another dev tool to learn etc etc". But it's definitely one that's here the stay and a bigger idea than even REST itself. The OPEN STANDARD of it is KEY.

The idea is that you have a type system on the API level and one endpoint. And querying works using a standard GraphQL language, so it's cross-API compatible and you don't need to go learn a whole new API convention at each new place or project you're working on since with REST, they're probably all built in different ways. And GraphQL works across all platforms (i.e. no more proprietary SDKs). All you need are things like Relay and Apollo and that's it.

I've actually been working on a platform called Scaphold.io (https://scaphold.io) to help people learn more about GraphQL and give them a cleanly packaged server and help you manage your data so you don't have to in order to feel the benefits of GraphQL right off the bat. Because of the use of GraphQL, it comes with the best of both worlds of Parse and Firebase with awesome data modeling tools, real-time capabilities, and of course it's built on an open standard.

Truly is the future of APIs that works perfectly with React, and any other framework that comes out down the road for that matter. Facebook's tooling is really neat cause it's built from first principles as well as from their experience running one of the largest distributed systems in the world. So they definitely know a thing or two about building developer tools that are cross-platform compatible and developer-friendly.
So they have created a kind of map/reduce system to distribute computation over a tree, except everything still runs in the same Javascript main thread.
Maybe I am way off base but "Colocation of data and view" reminds of awful PHP with SQL interspersed with HTML and CSS. Am I wrong?
A tool called Emscripten provides a runtime environment. You can include things from that, like a virtual filesystem. That said, a lot of WebAssembly code doesn't have a dependency on file APIs. For example, you can check out the web-dsp project: https://github.com/shamadee/web-dsp

If you're looking for an intro, I wrote a series of posts on WebAssembly (there are 5 links at the bottom of this intro): https://hacks.mozilla.org/2017/02/a-cartoon-intro-to-webasse...
The men might have mistresses, but the wives tend to not like it either.
I thought the same thing. Clearly they meant the power. An explosion with 500-million suns worth of mass-energy would end life on Earth, 3 billion light years away or not.
The information was copy-pasted with a "smart" formatting tool.
Show HN: EatHow – Figure out what to make with the food you already have
Very cool! Would be awesome to eventually run the summaries the RNN generates in a production-ready capability, and see how it does. Reddit has a few TLDR bots that I think are more extractive and could use an update.
Actually I just remembered an even more relevant funny story. One of the services I maintain at my job is a list of airport locations and their names in various languages (for airlines to use) among other details. I get so many requests to change things from airlines that don't understand basic geography or even where they fly.

My favorite is when a customer was raising hell because London International Airport (YXU) wasn't appearing under the city listing for London, UK and demanding it be added immediately. I had to tell them you don't fly there... it's located in Canada.
What is a pre-interview?
He didn't get directly involved; he forwarded a misrouted message to the relevant team.
This is great news. Definitely merging css animations with React prop/state changes has been the biggest friction point with React (ie managing DOM state from 2 different sources).
>>taking that money and using it to maintain their work force elsewhere

I'd look at Chicago. That's where the HQ and executives are, right?
How does Quora use machine learning in 2017?
It's not a miracle cure, it's just a nicely different way of attacking a problem. It still has tradeoffs - I'm not versed on what they all are, but its tradeoffs are of a different kind than of small molecules. A few guesses of what those tradeoffs might look like: A peptide will be more expensive to synthesize in bulk, it will not have as long of a shelf-life, it likely has a different (not perfect) resistance mechanism and will be more or less effective on different specific microbes. It's likely not as effective on a per/molecule basis. And it's much larger, meaning it will have a greater difficulty diffusing through the body of an organism - and might actually be degraded more quickly once inside an organism because it's peptide-like.

But the mere fact that there are alternative tools in our toolbox for different scenarios is useful in our fight against disease (if not a 'miracle').

DRGN1 is not the first of such antimicrobial peptides, but it was found in a systematic way, and once it was found it was systematically made more effective. This hints at workflows to mine and refine more genetically encoded peptides like it in the future.
May I propose: There is (A) a neutron star and (B) another dense object, a neutron star or a black hole, and the two have an electrostatic potential between them and are in very close orbits. Occasionally a spark jumps between the two. If the (A) neutron star is negative, then the spark consists of electrons. Else the spark consists of protons.

The spark is the source of the FRB.

Wild guess!
You should be able to use Relay Modern with any valid GraphQL Schema. If you can't, it's a bug that you should create an issue for! To use your own schema, you just need to specify what it is during the relay-compile step: http://facebook.github.io/relay/docs/relay-compiler.html#set...
Hi! I'm Joe from the Relay team.

Good questions! It isn't quite as straightforward as you might expect - the interconnected nature of graph-like data means that strategies that work for HTTP don't necessarily apply.

For example, storing per-field expiration times could incur additional memory overhead (you might end up with an object per field instead of per record). Storing per-record expiration times is tricky since the same record can have different fields fetched at different times. And a simple max cache size + LIFO/LRU/etc evication strategy means that the cache might evict a record that is still referenced by a view.

This type of TTL/expiration is something that we're continuing to explore.
That was great! Thanks for sharing it. Good spoof of the lifestyle. Now we need a good one for the playboy types who seem to effortlessly get piles of women and cool vehicles always doing just what they like. In reality, most I meet hide the enormous amount of time they waste plus huge costs. I love messing with them. One joked about a guy with no style that he should pay to get that guy a girl but wouldn't ever pay for sex himself. I pointed out he paid thousands extra for a car, parts, and detailing to get women. "What's the difference other than number of chicks and nights with them vs dollars spent? And how much time on those parts, stuff they like but you don't, and hanging out faking appreciation?" He didn't like me then lol.

So, something like the video you posted but for those guys. Needs to capture each of the aspects above since they're the most common. And mockable.
Is the Large Bitcoin Collider Malware?
"Not only stranger than we suppose but stranger than we can suppose."!
We're pretty social with other humans. But we tend to treat other animals pretty shitily. Also, there's serious argument that we committed genocide upon Neanderthals and perhaps some other early-human offshoots.
Except in scenario 1 the person earning $300 has $40 extra to spend or invest somewhere which is good for the economy. Eventually someone else will wind up paying $8 tax on that $40 (20%)...
While most of what you said is spot on, people often misunderstand what constitutes the super rich group with big tax breaks. It's way less than one percent, because it's the big investment money that's getting out of so much taxation. People who earn high salaries are actually paying quite substantial taxes.

For some perspective, "the 1%" starts at about $350k annual salary (think middle-of-the-pack surgeon.) At that level, you're paying a lot of taxes.

There's an excellent recent Econtalk on taxation in the US.
It's a start although. What is the next regulation banning them?
The quote says a specific group pays 51% of all tax revenue and says it's way too much. Well did they collect 51% of all income?

Probably not. Some quick Googling finds this analysis:

http://www.financialsamurai.com/how-much-money-do-the-top-in...

It uses different split points, but claims that the top 5% of earners make about 35% of the total AGI, but pay 59% of gross income taxes.
is there any way to add comps to this site? it would be very interesting to see how our split of gov't spending compares to other countries
Will I eventually be able to 'moby build' a directory with an 'OCIfile'?
Subsidios para postular en Chile
It's generally accepted that the value of money is roughly logarithmic as it increases. A logarithmic flat tax could look something like this:

1) Figure how many times poverty rate you make in revenue (2x, 3x, whatever)

2) Take the log base 10

3) Multiply by some flat constant that is the same for everyone, so that the total national amount taxed is how much the US needs. Last I checked, that flat constant would be around 9.

4) The result is what percentage of your revenue you should pay in taxes.

Currently, we are far from logarithmic. Under this scheme, pretty much everyone reading this board would pay less taxes. Bill Gates pays about the right amount. Exxon would pay more.

Useful as a thought experiment to explore how far away we are from a fair level of progressive taxation.
try SWIG: http://www.swig.org
Woah, I misread it too and in retrospective, it looks like an honest mistake to make. That pessage could mean the both things (could give positive or negative intent). I wonder what other such good examples can be. And does such phenomenon is called with some name?
Looks like it does handle binary now, if not multipart yet.[1]

Granted the 30 second timeout is a constraint, but how bad a constraint is it? Ideally long-running requests like that should be rearchitected to return fast and deliver the results asynchronously, right? The bigger problem I see is the lack of websockets support, which makes delivering async results harder. Supposedly AWS IoT does it but that seems like an even more exotic usage than implementing a REST service in Lambda.

Basically I get that it's still early days and there are gaps here and there, but am wondering if it's actually an "antipattern" to use Lambda this way or just a little early.

[1] https://aws.amazon.com/about-aws/whats-new/2016/11/binary-da...
JSX is not JavaScript, it's a non-standard bastardization that will never be supported natively in browsers. Its reliance on JavaScript for flow control is so problematic[1] that people have started working around its many glaring inadequacies by adding new language primitives to JavaScript itself via Babel plugins[2].

I do my templating in template literals because using standards-based JavaScript means that I don't need 50MB of fragile packages from npm or a largely superfluous build step during development.

[1] https://github.com/facebook/react/issues/690

[2] https://www.npmjs.com/package/babel-plugin-syntax-do-express...
Good troll.

Ask your users to install your app and qualify as extra features (with associated budget) the capabilities of bookmarking, sharing urls, having multiple tabs, "remember me" and forms autocomplete, going back, having a history, or auto-update.

Justify it to them it's because their browser is a bad frontend platform. Like this horrible, horrible mobile twitter lite ;).

In my first year of programming, html was such a joy to use compared to gcc. Could get a button with a background color and an image displayed under 2min. Just saying.
Congrats!!
It's not just too complex (we're talking more complex than C++ and Ada) but also poorly designed overall, with so many features that they interact with each other in ways that are pretty much unpredictable.

Odersky himself gave up on scalac and he's writing a compiler and a new language from scratch.
In general yes, garbage collection in Relay Modern is meant to help constrain growth of memory usage during the course of a session. This is where the declarative nature of GraphQL is helpful; unlike Redux which is accessed via arbitrary selector functions, Relay knows (via queries, fragments, etc) which parts of the cache may still be referenced and can evict records that aren't.
jQuery is just a library, it never told you how to write code.