skysight-inc/HackerNews huggingface dataset:
When I first saw this ad I really enjoyed the concept of it (work in video production.) Not something you see often. Maybe that will change. To me, it's interesting because [1] the consumer has to be familiar enough with the product so much that even its price is memorized, and [2] just seeing a company apologize for a price increase is rare in American culture.
True, until you want to build native modules. Then you need Python and parts of Visual Studio
Is this even a real product? Their website doesn't work in Firefox (scrolling down does not work), even though it includes shims for IE8 (of all things).
Blimey, how rich are all of you? If I scraped together enough money for a cruise I sure wouldn't want to waste the experience working.
Sorry, I didn't mean for you to read it, just linked to be clear. The Jespen effort verifies the reliability claims of various persistence schemes. Independent verification, if you will.
Sheer scale is a key reason. The simple, and easy to understand, format of a text file won't work well when you've got a very large number of records to read, write, and locate, quickly.
If any of the frameworks glorified on HN were subject to the same scrutiny as Rails, Github would need a suicide hotline.

I've recently had the pleasure of working on a new, medium-sized node/react project. Now I was new to a lot of the technology, but I've learned a few and would think I have some experience.

It probably took me a week to get webpack running the way I wanted. The documentation is an atrocious mix of stuff that is outdated (older than 6 months) and stuff that's too new (webpack 2.0) without any indication as to the validity. There're six different ways to get hot reloading/replacement to work, with similar problems. The configuration's syntax is heavily influenced by brainfuck with a /\w/[{\[]/s thrown in for good measure. As a soothing measure, webpack doesn't complain about anything but parse errors with the configuration. The version I was using came with 12 different options to render source maps, none of which worked in chrome (since fixed).

And that's just the linker. I actually had presets to search for, i. e. ["express.js" from:<date-of-last-stable-release> to:<date-of-following-alpha/beta-release>]. node_modules once managed to consume 4TB of hd space (someone managed to create a circular dependency) and even in regular use gets to the point where I'm looking for the elasticsearch plugin for ls *<x>. If you have checkouts of several versions or projects, each one will have it's own version of left_pad & friends at around 230MB (just checked with a clean install of mxstbr/react-boilerplate) with no way of deduplication.

I enjoy playing with new technology (currently elm & swift) but I know that it's time "joyfully wasted" right now and don't try to justify it. There's no amount of type-safety bugs that could cost as much time as a new framework's kinks.
Is there any sort of trick that would let CSS respond to the Escape key? Modals that don't close via keypress are a pet peeve, so I can't see using a CSS-only approach if that's not possible. Otherwise, these are pretty nifty! Could be useful if you're trying to avoid all JS for some reason.
Corrected to MT.

And superdelegates change their preference, as they did in 2008, so there is no reason to include their numbers in media graphs until their vote is cast at the convention.
I don't think shimmer will catch half open connections, and if it did you could somewhat easily get large parts of the internet banned.
I in fact did stop reading there. Mostly because we have 3 debates going at once, and I can only debunk so many things at a time. When an indictment is cited as a primary source of the facts in favor of contradictory findings in the case that followed, that's an easy short-circuit.
That's valid, and you're right, I wasn't familiar with his work.

But that doesn't diminish any of my points. So he did reimplement ActiveRecord. I'm not surprised he found it difficult to actually integrate into Rails. Rails is a framework. You don't treat a framework like a library. It's not going to play nice with your design because frameworks by their very nature impose the design on you.

With a framework, "works for me" is a perfectly valid reason to keep using it and to dismiss criticisms with. That's the whole point, to get you up and running with as little fuss as possible.

I personally hate CSS frameworks, I'd rather retain more control over the markup and selector semantics. That's a choice I make, and I'm aware of the tradeoffs. I would not make the same choice with web dev, because choosing the other side of that tradeoff involves way too much work.

But I'm a working coder, I'm not trying to make my mark on the world. I just want to get shit done and move on. Solnic obviously wants to make something bigger than just a website. He's looking for a bluer ocean to tame. Which is cool, we need all kinds of coders.

What this is really about is that Rails isn't for him. I can accept that. But his rationale is all wrong, it expects Rails to be something it isn't and never could be. Rails is absolutely the best at what it does for the kinds of coders it's intended to do it for. It tracks the state of the art of web development and boils down most of the complexity with user-friendly abstractions.

It's not terribly flexible, but Rails doesn't want to be flexible. It wants to be productive. He wants to go help build the next Rails. Godspeed. I hope he succeeds so that I can go use his framework when it's finally ready in 10 years or so.
Also 2 Stripe which occurs slightly more than other payment platforms. Got 1 Braintree (PayPal), 1 visa,
1 Alipay...
The issue I have with just having a toObject or to_json method is that context is everything when serialising. Different access levels, different client types, and just different parts of an API call for different ways of sending data to end users.
Admittedly this is tiny sample set. Would be interesting to look at top 50 apps across all categories and then top 50 by each categories.
The context is missing, what's allowed and what's not.

If it's allowed to make own classes, the best thing it can be done is to introduce MyNumber abstract class, then inherit it to make MyDouble, then make NumberFactory and access every double through the virtual operators. Then let every temporary variable be created (with the new operator!) on every loop pass, of course using the factories. Define the operations in a way to need the new temporary MyNumbers too. That way the creations would be hidden in the classes, the calculation would still look relatively innocent.

And additionally, make classes so that they have to do runtime casts for every operation. Make the classes to have multiple inheritance, to make sure figuring out in the runtime which cast works as nontrivial as possible.

I know one commercial program where the programmers actually implemented all this, even more convoluted, and even believed that they "improved" the code with all these insanities.

For style points, use all possible boost classes that you can to achieve the above behavior.
There is no good alternative without specifying the use case. In the main article he is looking into Elixir, Clojure and Haskell, because it fits what his working on.
I feel like the very world "simple" is part of the problem. Orthogonality/Consistency is much more important. Also don't treat odd use-cases as gratuitous features to be someday supports. No, a use-case is not a feature, but that hacks that will be added to accommodate those are. And features are bad: "[things] should be designed not by piling feature on top of feature, but by removing the weaknesses and restrictions that make additional features appear necessary."
Maybe not. It's been 8 years since I last looked at that code...
Because they are extremely lazy. The Fiddler software (an http debugging proxy) allows you to MITM your own https traffic by creating a cert saying this.

They decided to use that cert directly, instead of creating their own cert with a more normal name.

http://www.telerik.com/fiddler
You can't solve the halting problem. Therefore, if you take a program that takes a Turing machine as input, searches for a proof in ZFC (or your favorite alternative) that the program halts or that it doesn't, and if it doesn't find a proof either way then it runs forever, your program is not a halting solver.

Therefore, there are some Turing machines which can't be proven to halt or run forever in any given consistent system that can be computed.

(Because if every TM had a proof, then the program above would solve the unsolvable halting problem).

Therefore, there is a smallest such program that's independent of ZFC.

Does that help?
Crashlytics is like the only bright spot out of the whole Twitter product suite. Or major players don't see Twitter as a threat at all anymore. Not like FB
What does IE have to to do with anything? F5 and ctrl/cmd+r work in all browsers.
Chapel (from Cray), x10 (from IBM, and fortress (from sun) were all created to solve this problem (and all got funding from DARPA to do so). Fortress (which was way out there and very cool!) Died a horrid death. I think x10 still exists.

Of all the languages out there, Julia may be the one to be used for this eventually.
Yeah. I'd interpret the spirit of the question as not making the program do more work, but just arrange things such that the operations it does end up being more expensive. Maybe the problem is with the sample program. It just doesn't feel like the right one for the task.

For example if it had some actual data structures and operations on those, rather than just arithmetic on a few stack-allocated scalar values, introducing bad cache behavior would be a lot plausible. Another problem is that most of the time is going to be spent in pretty opaque library functions (exp, log, rand) whose execution cost is hard to affect just by rearranging data or operations.
Wikipedia: https://en.m.wikipedia.org/wiki/Rifling
Btrfs internally use logical addresses for all extents. The making from logical to physical is done via the chunk tree which not only indicates physical sector but also the device. So the reference for a file extent says nothing about what device the extent is on or the replication (raid profile) since that is all a function of the chunk and dev trees.

I think Btrfs for a guest F's is best pointed to an LV, rather than qcow2. It's been awhile since I benchmarked that compared to 'qemu-img create -f qcow2 -o nocow=on' which will set xattr +C on the file making it nocow. The nocow xattr helps a lot with this problem.
If you found a security flaw in ethereum / DAO and stole a bunch of money, is it even illegal? Also, that guy who put 1/3 of his life savings into DAO is out of his mind
config const n = 100000; // override default using ./a.out --n=<val>

What? I smell anti-pattern. `const` should promise or specify to the compiler that this value doesn't change, so it can be baked into code.

Automatic translation of command line arguments to variables is useful (I have implemented this in shell scripts past as a nicer alternative to getopts). But the variables which receive command line overrides should be set apart in some way for that purpose.
Amazing that it working on that stuff was an individual experiment, with your hands in the mix!
no access to a linux machine - otherwise I might have tested with clang too. Also you may try the bench.py script yourself :)

But this is not a benchmark of compilers but a benchmark between doctest and the other such library - and this comparison should be compiler-neutral

And if on some compiler the difference is not 50 but 20 times - it would still be amazing!
I don't understand, what's the big story here? Amazon offers free shipping to a remote place, whereas normal grocery shops pass the high shipping costs on to consumers. So guy living in this place is using Amazon for the food shopping. Also, he's donating that food to local schools.
Ask HN: How does Elon Musk innovate in disparate fields?
Is it that he reads constantly and eclectically?

My theory is that his physics and economics degree helps him to think technically and with a business mindset. Added that he reads widely and is talented.

In my opinion, the world will be a more interesting place if people learn to think like him.
While not completely related, can anybody suggest a good, clean way of implementing centralised login under Linux?

With yp/nis being out of date (and not considered secure?) most things seem to point to using Kerberos for auth, but how do people then go about syncing passwd or some other method of getting all user accounts consistent across all machines?

Then what about files, is nfs still the preferred method of sharing the home directories?

Some questions. Sorry
I think it'd need at very minimum the Swift code in the Package.swift file, but that's probably it.
If a Linux VM is fine for deployment, well then that specific component doesn't really need or use Windows very much does it. (That all unixy things need to put in VMs on a host running Windows is a very different constraint.)

If it's important to deploy as a Windows process, then the Windows Linux subsystem is not much better than a VM. Point is, its no substitute for a (better) MSYS2/Cygwin.
Absolutely. At the end of the day you're doing some string substitutions then sending a text file over a socket. We were doing that in the early 90s! But to do it now we use these surreal Rube Goldberg contraptions with a hundred layers of abstraction.
Community: Very good, both Jose and Chris are outstanding examples of how you run a community.

Can't comment extensively on the library ecosystem but you have access to everything from Erlang via trivial interop.
One suspects that such practices were always tools used more to escape responsibility for heinous decisions than to secure the nation. Representative governments don't have "secrets".
>Is it that he reads constantly and eclectically?

No, it's mostly that

(a) he has the will to ventures in various fields

(b) he has the money (from his early ventures) to venture in various fields

(c) he hires people who know their stuff in those fields

He doesn't have to come up with anything resembling real innovation (a new technique or process) himself. He just have to give his stuff the general direction and push them towards it.

Having a technical and business background helps, but don't imagine any Tony Stark like lab research on the technical level done by him personally.
I went to high school on Fort Ord land and I think the primary reason for it being a tough sell is the unexploded ordnances. Every year we were given a presentation on how to identify old landmines and avoid them. Even with the recent cleanup efforts it's still somewhat dangerous and only the fringes of Fort Ord (where cleanup happened a while ago) are being actively developed.
MS paint on Linux is easy.I double click on paint.exe and it runs.

And I have WINE to thank for that layer of compatibility.
I wonder if brands will use this to monitor what their competitors are doing. Maybe even stealing potential leads or clients.
> It just doesn't feel like the right one for the task.

> if it had some actual data structures and operations on those, rather than just arithmetic on a few stack-allocated scalar values

I fully agree, as long as the variables are on the stack and not the part of some structure not much can be done, a good compiler can even just keep them in the registers and inline the functions and remove the dead code. As soon as I'd be allowed to make my own classes and "use C++ features", I know what I'd do, as in my other comment.
Doing some quick math, if the upkeep is $5M a year, and you do camp 50 weeks a year, it could work out. With 80 homes you could probably easily house 400 people per camp, each camp is 1/2 a week, so you'd need about $110 per person towards upkeep. Probably $100 for food, $100 for staff. It look like they charge about $700 for 3 days, so that still leaves almost $400 per person for all the stuff I didn't think of.

The question is whether you could find 400 people 100 times a year.
Math works - but which math? Therein is the rub.
...when it comes to your financial pain, his hands are clean.

Unless, of course, you invested in one of Trump's many "failed" real estate schemes.
There is a UFS driver for Linux, but it is a reimplementation rather than a port, so it's performance numbers would not be comparable. Also, it attempts to support many variants of UFS rather than just one:

https://github.com/torvalds/linux/blob/master/Documentation/...

It does not support the latest UFS developments in FreeBSD, NetBSD, etcetera, so its performance is also limited by the older disk format versus the newer formats used by drivers on other platforms.
Neat. I should've guessed that there would be a USB adapter. Is it plug-and-play or does it require additional drivers?
I don't know how long ago you tried it last time, but recently this has got much better. You surely could find some gotchas here and there, but it's not as much frustrating as it was before.
If it looks like it is more than one degree separated from being alive then it contains added sugar.
Inevitably the stackoverflow mods have moved into shut this down. They should be honest and introduce a "too interesting" classification, complete with a wordy, humorless justification phrase.
Water disputes are becoming increasingly common it seems, see
http://www.al-monitor.com/pulse/originals/2016/03/egypt-ethi...
And how is it that Snowden is more qualified than reporters to do that? The implication behind your argument is that giving the information to the likes of Glen Greenwald was dangerous. Are you asserting that it was plausible Greenwald would have sold it to Al Qaeda?
I am curious, how did Fortress die?
Interesting point. I imagine it's a bad PR move for a company to enforce the terms in this particular case.
Never had any significant issues with Java stuff, or php for that matter
"If you found a security flaw in ethereum / DAO and stole a bunch of money, is it even illegal?"

I'm sure it is. No one has ever gotten away with Bitcoin thefts by arguing 'all I did was input some numbers as allowed to the server and sent some bitcoins to another address'. Is it a good of real world value which you obtained control over without the original owner's consent? Then it was theft and a judge will see it as theft.
"Hey lets divert 2 huge natural rivers, I bet there won't be any unforeseen consequences if you really really just put enough thought into it"
or "too jealous" (in some cases)
Advice for aspiring tech bloggers
How to Land at Kai Tak Airport (main Hong Kong Airport Until 1994)
It _is_ different. It's tempting to use theft to describe all kinds of activity, just ask the RIAA. This is not theft.
Jenkins 2 pipeline feature didn't look like more then the plugin they had before - but bundled into the core.

We just moved from a Jenkins Pipeline-setup to GitLab, didn't take that long time and our builds started going a lot faster after that.
Java isn't that bad, I'd say. ;) I've been in web development for almost 20 years, and used quite a lot of stuff, including PHP, Perl, C++, Java, Ruby and even such a weirdo like Informix WebConnect. Java is still my favorite, and the reason is the true modularity. You can combine Java EE and Spring stacks (lots of XML already forgotten in distant past), you can choose any presentation layer implementation and the architectural flexibility is the real selling point for projects bigger than a homework. I can beleive if the author would switch to it and I'm surprised that you don't.
Whoever looks at his account might not have seen this article, anyway. I imagine spending $7000 on food gets your account flagged.
Also, have a placement new in place, to scatter allocations afround the memory space :)
>But that doesn't diminish any of my points. So he did reimplement ActiveRecord. I'm not surprised he found it difficult to actually integrate into Rails. Rails is a framework. You don't treat a framework like a library.

Who said that? Who carved that in stone? There are absolutely frameworks built to be perfectly OK to have all of their constituent parts used like libraries.

This is just repeating "this is how it always used to be" as an argument.

>It's not terribly flexible, but Rails doesn't want to be flexible.

That's his whole point.
That's not what const means, in any language I've seen with a const qualifier.
Move from Rails into what? Nobody is disagreeing that Rails has problems, but until there's a battle-tested replacement out there with a similarly strong community and range of libraries it's all just theorizing.
I can't grasp the hostile attitude towards rails at HN. Even agreeing with (some) of the criticism, I'm deeply thankful to Rails, DHH and everyone else involved.

Because before rails 1.0, I worked in php.

Many people may actually be too young to remember, but the jump from php and anything else that was state-of-the-art at the time to rails was without doubt the biggest leap web development ever took.

The most meaningful advances actually weren't just technical but social. It would've been possible to write an excellent webapp before rails, but just about nobody ever did. The opinionated nature of Rails many are complaining about today was a revolution because it taught everyone using it good architecture. You can nitpick about any one of those opinions, sure. But back then it was common to join a project with >100kloc with directories containing password.php, passwprds.php, pass.v3-old.inc, large_image.head.2002-v1.jpg & employees.xls. The quality of almost any rails project I have seen is, in comparison, excellent. It'd say a new team member on a rails project was productive in less than a third of the time it took in non-rails projects at the time.

So, to anyone complaining: I'm pretty sure that looking into any of your strongest held believes on web dev, you'll discover that rails had significant influence in creating them in the first place. To do something like that, pretty much as just one guy on the beginning, should afford someone a certain amount of respect.
2016 Candidates on Drug Pricing
Maybe I'm not seeing it but I don't see a generic non-personal term, closest is this:

> Prime members are not permitted to purchase products for the purpose of resale, rental or to ship to their customers or potential customers using Prime benefits.

Which seems to not apply here. I've never heard of a non-profit disallowing its members from using prime to benefit the charity, even if they're otherwise careful.
If you did it properly, there's no way they could catch you so in practice the answer is probably yes.

EDIT: Looks like anything goes if it doesn't cause unacceptable levels of noise http://fusion.net/story/243321/wtf-wifi-in-the-green-bank-wv...
> Therefore, there is a smallest such program that's independent of ZFC.

http://www.scottaaronson.com/blog/?p=2725

we give a 7,918-state Turing machine, called Z
(and actually explicitly listed in our paper!),
such that:

Z runs forever, assuming the consistency of a large-cardinal
theory called SRP (Stationary Ramsey Property), but

Z can’t be proved to run forever in ZFC [...],
assuming that ZFC is consistent.

edit: Just saw that this was linked at the bottom of the article. As pohl mentioned, the article really buried the lede.
So, there have been no fracking accidents, no legitimate evidence of increased seismic activity, no contaminated water, no added expense for frackers to take extra precaution, contain runoff, etc.?

There's no technical reason that fracking can be dangerous or has been?
Frameworks do not necessarily impose the complete design of the application. Spring Framework in Java, for example, is great, but the only essential part of it is DI container: you may not use persistence, presentation or security layer provided by it, if it does not fully fit your architecture. Good modularity defines quality of the framework and Rails is apparently not best on that criteria.
Hitman Go: VR Edition Is Square Enix Experimenting with Virtual Reality