skysight-inc/HackerNews huggingface dataset:
This is not exactly how fast bytecode interpreters are implemented. There is one next step - pre-caching the jump table straight into the bytecode. And there is absolutely no way compiler can transform your ad hoc switch-based interpreter into a threaded code interpreter automatically - it is not allowed to rewrite your data willy-nilly.
The link is fairly close to the beginning but not right at the top. It consists of the words, "Part 1" with a dotted underline so it would be easy to miss.
Aether – create community moderated, distributed, and anonymous forums
Precompiled headers inch C and C++ closer to a module system, by discarding the traditional notion of what a header is: it becomes a sort of binary metadata instead of a textually included file. But why not just start with the right thing in the first place?
There is one next step - eliminate jump_table and rewrite your bytecode before executing it, replacing opcodes with the jump addresses.
World's Tallest Masts for Sailing Superyacht Delivered
Is someone trying to build the real Genisys app from Terminator?
Lastest discussion was from 2 years ago: https://news.ycombinator.com/item?id=6603230
Non-lexical lifetimes/borrows. This is a dealbreaker IMO.
Based on the aether's name and your comment, I thought this discussion was about Ethereum.

An app built on Ethereum would also check off the 'decentralized' box for people who are angry at Ellen Pao.

https://www.ethereum.org/
PG always came across to me as unusually thoughtful and smart and friendly (let's be honest he's a great guy), but never enjoyed the kind of combative debate that goes on in web forums.
The alternative view is that nowadays the internet is part of the infrastructure, and individuals don't get to opt out. Same thing as with the municipal pool.
Reminds me of Bitcoin in 2012. Haven't experienced it since, though.
The 'click' that happens inside every programmers head
Silverlight dumped in Microsoft plugin spring cleaning with edge
What is missing from this is the ability to toggle a "strict mode" with a browser, or even a "reference implementation browser". Right now developers have to rely on their knowledge alone combined with the simple fact of whether or not their work seems to render correctly on the major browsers. That is where you run afoul of Postel's Maxim, because it should be possible to use these tools (like browsers) in a way that provides the sort of "hey, don't do that" feedback during development even though during normal operation the browser should do its best to make due with whatever it's given.

That same pattern exists elsewhere too, so often people need to do "API science" to figure out how to use various tools. With the common result being the discovery of how to use those tools seemingly effectively, but incorrectly.
Well their idea of maintainable is different. They often worry about having to hire intelligent programmers versus whatever mass produced workers.

Same thinking that leads to not using type inference because it's "harder to read".
Sure here you go http://i.imgur.com/RNXdLI0.png
Time Warner Cable residential is in the process of upgrading to 300mb and DOCSIS 3.1 is capable of 1gig/s download. Fiber has huge advantages over any kind of copper because there is no RF interference involved. Initially Verizon had higher costs per service call vs cable, but I heard that they are on parity or lower now.
"it's that"
> they don't have that many advantages anyway even in languages where they do work.

Are you sure about that? One of the main advantages of coroutines/greenlets IMO is writing simple and straightforward blocking code (e.g. an echo server); without them, you either need to use threads (which are slower and much more heavyweight) orcallbacks or related constructs (async/await, futures, ...).
First, this isn't really anything to do with webpack or css-loader; it's an idea which just happens to be supported by, among other things, css-loader. (Also has a browserify plugin.)

Second, I find this idea to be conceptually very interesting, especially compared to the inline styles people are playing with. It works with the existing CSS tooling, knowledge, frameworks, browser optimisations, etc we already have. There's no real workarounds, edge cases, weird hacks, whatever. It's normal CSS, but scoped to your component, which makes reusing components across a project or between projects MUCH easier.

It's not a magic bullet; you have to be smart still about organising your CSS. But it's really quite clever. I'm using it on a decently large project right now; too soon to tell how it'll work out but it's been good so far.
I would add Ropes: https://github.com/rust-lang/rfcs/issues/653

Given the frequency of manipulating large bodies of text in contemporary programming I do not agree it is best left to a library implementation.

Without ropes as core std average rust developers will do what they did in java, c++, objC and simply use and abuse std::strings in all cases including those where it will perform poorly.

https://en.wikipedia.org/wiki/Rope_(data_structure)

[pdf] http://www.cs.rit.edu/usr/local/pub/jeh/courses/QUARTERS/FP/...
I'm using the latest Google Now launcher with Lollipop 5.1. It seems to be random what it chooses to prioritize. But it looks like web searches have higher priority, see screenshot:
https://www.dropbox.com/s/k1hsdo8euclnf23/Screenshot%202015-...

p.s.
Danielle is my girlfriend and we do talk a lot :-/
This Week in Meteor #21
See my reply to dragonwriter...
We're also using it in production, and it works really well when paired with Datomic. Thanks to transaction queues on both ends, we can set up a meteor-style sync that's pretty handy.

It's also well-suited for rapid-prototyping. I'm working on a small project that will eventually need a backend, but for now I just store everything in a datascript db and serialize that to localStorage. When I'm ready to add a backend, I'll just subscribe to datascript's transaction queue and forward them to be saved on the server.
RubyGemSearch
I agree...it seems like Google is more concerned with targeted ads instead of user experience.
Was it namecoin? I can't recall the name of the project but the idea was you mined (ala bitcoin) coins for your "name".. so if you had a year's worth of processing behind your name then you were an established identity vs someone with 0 seconds of processing.
Ukraine's Crowdfunded Military Drone [video]
RedBull Prize Code Generation for Destiny Not Working as Intended
See my reply to @dragonwriter...BTW, do you ever use this search bar for device search?
Hey, thanks for filling in. So basically a facade over the original object only masking some fields.. yeah, not really my cup of tea personally, I'm fine with approx the same amount of code for a boring builder and/or constructor call to duplicate an object, or, if appropriate, a mutable object. But it's definitely nifty.
If it would be a browser based solution, the number of people who try it would be 1000x higher.
Bloody hell, way to drop the ball. Im quote grateful i dont work in this guys field, id flip out at someone within a week.
Npm: Scoped Package Metadata Leak
Massachusetts has a long history of municipal power companies; along with schools, fire, police, water and sewer 41 towns also own and run the electric grid. Their association claims 24% lower distribution costs then investor owned utilities. Here is a map of who supplies power in each Massachusetts town:

http://images.masscec.com/uploads/attachments/ElectricUtilit...

Massachusetts has a real problem with patronage jobs, but it is at the state level, not local.
The feature was added way before 1.0, if you're talking about the documentation, then I have no idea.

There is no way to call the overwritten `Animal::talk`.
there are three large postgresql .CSV log examples here: http://dl.dropboxusercontent.com/u/71964910/pg_log_with_lot_...

web server log examples here: http://www.quora.com/Are-there-any-free-large-datasets-in-th...
Yea namecoin would work just fine.

If the issue was authentication, even vanilla signatures (GPG) would be fine, but people want to associate identities with short names, so a name resolution system is needed.
Raise your hand if you're ever actually run mnesia on a busy server in a distributed system. OK, show of hands of how many people will do that again? Thought so.

mnesia should not be in the OTP. Not by a longshot.

I love Erlang. I hate mnesia.
And rightfully so! I think forcibly kidnapping someone on the streets of Italy is different than an allied intelligence agencies dropping each other tips about leakers.
Priceline – the $60bn travel titan you may never have heard of
Is anyone using it ?
Yes, I think this is an important article for Americans to read, and it hasn't yet received any significant discussion on the site. Specifically, I changed the URL to resubmit it. The change to the title was to increase clarity as to the content, and incidental to the resubmission.

And until I tried to submit it myself, I had thought that it had only appeared once. The previous submissions are https://news.ycombinator.com/item?id=9811591 and https://news.ycombinator.com/item?id=9820574, each with only 2 comments and fewer than 10 upvotes.
The fact that we only know one-side of the story* is actually the biggest "wtf?" in all of this, in my opinion.

That the reddit executive staff hasn't really addressed this entire shitstorm publicly and officially by now is absolutely mind-boggling given what reddit is. They are giving the impression that they still see this just as a conversation between mods and admins and are basically ignoring the public spill-over (except for Alexis' dismissive comments).

*(really we know less than one side of the story since AFAIK Victoria hasn't really talked about it publicly, which from her side is totally understandable for either legal [if severance is involved] or just not wanting to get blackballed reasons).
Do you have any source for this? I'd love to know more about how they re rank items incrementally.

Do they actually update every single row in the database every 5 minutes? It seems too slow.
Yes, he could order the NSA to do it in the same sense that he could order her assassinated by the CIA. I don't think anyone would fulfill those orders, though.
Nobody tell the Prussians about this!

(https://en.wikipedia.org/wiki/Austro-Prussian_War#Speed_of_c...)
Why the hate for mnesia?
Funny, co-routines have been recently added to C++ and they work wonders. D has fibers which are used extensively and once again, it's a highly desired feature. Go is kind of the poster boy for coroutines and I doubt anyone claims that it doesn't provide many advantages.

To be honest it seems to me like your explanation is an attempt to downplay just how nice fibers/coroutines are rather than acknowledge their utility in many existing languages.
Certainly. That's a very poor interview process.
With this one, the database is an immutable value, so you can hold on to old versions of it. Here's an incomplete example of how you could implement optimistic updates:

tx_report = datascript.transact(db_conn, [{:key "value"}]);
set_db_to_render_from(tx_report.db_after);
send_report_to_server(tx_report, function(error) {
set_db_to_render_from(tx.report.db_before);
});
Or, more relevant to this community:

https://github.com/nehbit/aether-public/
For a second I thought this was Kindo, by http://www.spacebears.fr/ (great game design!)
It's fixed in the dev channel, it just hasn't propagated to stable or beta yet.
Show HN: Emissary, a RESTful, scriptable content extraction service
FUD! https://developer.android.com/about/dashboards/index.html

Only 5.9% of Android users are on obsolete 2.x. 5.1% are on 4.0.x, for which Chrome was just EOL'ed at version 42 (http://blog.chromium.org/2015/03/freezing-chrome-for-ice-cre...), which compares very favorably to the current and previous versions of Safari (http://caniuse.com/#compare=chrome+42,safari+7,safari+7.1,sa...).
I like the idea. However, instead of using processing, it would be nice to use "activity" i.e., up votes, down votes, quality submissions and comments as the reputation. We already know what happens in a truly anonymous systems with no moderation - it doesn't make an ideal community.
I really liked his idea that the users teach you about what you've made. That's a really great philosophical point.

I think his comments about open source are interesting and how he's never seen anybody open source too much. I humbly disagree, I've definitely seen a few startups get nowhere because they ended up open sourcing their entire product, meaning nobody needed to pay them for anything.

There needs to be a strategy for open sourcing your code...for example if dropbox open sourced their client, they'd still own the relationship to their storage back-end and act as the broker for that data. Their client isn't really worth anything anyways...so it doesn't really matter.

But let's say Microsoft open sourced Office and Windows. Okay, now where do they make their money? They're pretty much just left with services work, and services and support often only exist if the software has problems. Anybody else can then come along and code away their services business by fixing bugs, making better interfaces etc.

Open sourcing needs to have a valid business strategy and it can't just be putting your company's investment up on github because that feels good.
Easier, maybe. But they're actually less powerful; inline styles support a strict subset of what regular CSS supports. (eg, no support for pseudo elements, as others have mentioned)
Much SAT. Such generating function.

Algorithm W on page 79 (WalkSAT) is the workhorse.

Lemma L and Algorithm M page 82 were my favorites.
Yeah, mine looks nothing like that. Using 5.1.1 on a Nexus 6.

http://i.imgur.com/2BahpeT.png

I always get Search, Apps and Contacts right away like @dragonwriter.

Honestly no, I don't usually, but that's because I barely have to. I know where all my stuff is and who my contacts are. I use it primarily for Google Search.
Was that before or after the Germans bombed Pearl Harbor?
Source: dang is one of the employees of Y Combinator who help run HN.

Dang--might be good to have some way to indicate that so new folks understand your special role in the community here
The lone genius working for years on a book is as far from a wiki as can possibly be.

Creating a quality computer science wiki with quality editing seems like a fine thing to do but "TAOCP as wiki" is just a contradiction in terms. You will invite certain comparisons that make you look foolish from the beginning.
I agree. The function (like those in the above benchmark) that does not have side-effects and returns nothing, is basically doing nothing as far as compiler is concerned, so it will be optimized away (not run at all). Modern compilers are incredibly good at that kind of stuff.

So what OP should do, is make function return something, and then make sure that that 'something' somehow survives the test. For example, if that 'something' is a number, add it to a global variable that survives the benchmark and print that global variable at the end of the benchmark. If it is a string, maybe add the hashcode to global variable, or maybe string length. Anyways, that will force compiler to emit the code that executes the function, and the benchmark will actually execute the function.
It is not a bubble. In fact, India's startup culture has emerged at the very right moment as more and more people are getting aware and connected to internet. And considering lack of technology companies in consumer sector except IT services firms, India's startups like FlipKart, Housing.com, etc have found the perfect timing to come up.
While a lot of what you say is good, your opening assertion that his comment added nothing is nonsense.

He's right, you're right, js performance is still, in reality, pretty sucky in certain circumstances. It's worth talking about.

I remember writing an agonisingly slow program only 2 years ago and all that I was doing was a push/unshift, which at the time was for a mandelbrot generator I was making for fun, so had a loop of a few hundred thousand. A quick change of code and it was fine, but it was bizarre to be hitting something like that when every other language that I'd written the same code in hadn't even taken a second, let alone the minutes the javascript was taking.
Threads aren't that slow on Linux. The main advantage of M:N threading as implemented in Go over 1:1 is that spawning is fast and doesn't use much memory, because you can avoid the syscall and only a small (initial) stack is required. Rust can't do the latter because it's not GC'd.

Even if it could, many real-world servers actually do non-trivial work in their threads, so the cost of spawning a thread is dwarfed by the actual work the thread ends up doing. There are serious drawbacks to M:N: complexity, fairness, problems in interoperability with the 1:1 world (including essentially unavoidable performance problems with the FFI), etc.
this is fundamentally a problem with how hackers use twitter and how businesses use twitter.

How can this security researcher not see this situation from the business owners mind? The business owner isn't DM'ing 1337's all day about the sqli he finds. The business owner ADMITS that HE BELIEVES the researcher is trying to extort him.

All he had to say was "nah dude, this b wicked serious mon no charge check it". But instead he wants to be the internet security researcher hero.

SCREW this. Yeah they skirted him with a nastygram but have we really become this thin skinned?
This is some sissy boy sh1#.
I've always thought that Apple's horrific App Store approval process was the single biggest threat to the Apple empire. Glad to hear someone else speak out about this. It's seriously absurd that there's an arbitrarily enforced stopgate that prevents you from deploying code. It's a complete disaster. If someone could make a way to instantly deploy code to mobile phones every developer would switch in a second.

The Apple App Store approval process is like that one random weak spot on the Death Star. The only question is what replaces it?
No matter how egregious the security risk is, I have a hard time taking anyone who uses twitter to contact someone they want to do business with seriously. Or any social media, tbh. It comes off as unprofessional to me, and it is especially unbecoming if you are a security researcher and this is the first resort. It immediately removes any chance of them handling the issue discreetly, and puts them in a defensive position. Why the hell would you do that?
The state of ERP and MES systems is very similar to what you describe. I had a brief chance to work with a few of them, and between the bugs, unimplemented features and the UI design straight from Necronomicon, I have no idea how factories even work, much less are able to produce and deliver quality goods reliably.
Serialization is usually done better with macros, for performance reasons. We now have Erick Tryzelaar's fantastic serde library for high-quality serialization, competitive with rapidjson.
Tektronix persistent graphic display from 1968
Yes, that thing that is designed to execute commands could possibly result in commands being executed. Similarly, the intended use of a setuid binary is to escalate your privileges.

I'm asking you why you thought the knife would stop cutting things when it hit your hand instead of the loaf of bread.
Usually I would just factor out the guts of the expression into a little closure in that case. (let f = |x| h ^= ... x ...) LLVM should inline it just fine, and it'll save you typing.
I think the main piece of puzzle is missing - how they are geting IDs of similar documents ?
>> A "hybrid" solution may work well for you—group your tests into small sets, then run the sets sequentially, doing as much of each set in parallel as possible.

Very true. In fact, the Ortask scheduling engine takes this approach for automatically planning test cases, but it goes a bit further: it re-orders the test cases in each set so that they all run in a more optimal way.

Relevant details start at minute 1:35 here http://youtu.be/n_yOU11J7as
> What if creating a database would be as cheap as creating a Hashmap?

I wanted something like this for Go recently, settled with SQLite :(
Trust-coin – Cryptocurrency without a ledger
On the contrary, "improve Flash" is part of Mozilla's projects to reduce Flash and plugin problems in Firefox. (I'm a program manager at Mozilla coordinating some of this work. :)

We work with Adobe to identify and fix Flash crashes collected by Firefox's crash reporter. We've made NPAPI plugin initialization asynchronous to avoid Flash blocking page load. We're also prototyping a new plugin sandbox to replace Adobe's Flash sandbox (which is based on an outdated fork of the Chromium sandbox).

Here is more information about some of the plugin work:

https://wiki.mozilla.org/Flash
> American filmmaker Linda Poitras

Laura Poitras
Being immersed in lake or river water attracts mosquitoes, although I've never understood why. Washing it off also reduces the attraction.
Dubai's going to 3D-print an office building
He's very popular in the Northwest, almost a celebrity in Seattle...something that doesn't happen as a climate scientist going against the common wisdom. He's not against the consensus, and anybody that has followed his blog knows this...he's just precise. Sometimes that means making statements that don't line up so easily with what gets filtered down through the media.
Yeah I was thinking that, surely an e-mail would be the first point of call rather than mentioning it in public.

Also using public tweets doesn't seem particularly professional to me, to start a discussion on vulnerabilities.
You'll get a lot of mnesia partitions on even the best network with a slightly busy system. It's not very sturdy, and resynchs are really slow.
I thought you could do this:

Animal::talk(self);
Ocumetics Bionic Lens Makes Vision Better Than Perfect
Yes, I have, and I've clearly reached a very different understanding. Is there some point you're trying to make, aside from an ad hominem? What would you say are the chances that a prosecutor brings a case against an American for the tip-off about the leaker covered in the article?

Stop nitpicking words. Do you really disagree that banks who are negotiating with the IRS or DoJ have a different relationship with the law and prosecutors than the average prosecutee being offered a plea deal? The relationship between legal costs and settlement costs alone makes for a very different game.
Why don’t we drive more electric vehicles?