skysight-inc/HackerNews huggingface dataset:
It's also funny to see these techniques being reinvented and called optimisations, when perhaps 30 years ago they would not even be considered optmisations but the only possible way to do it, because anything else would be ridiculously slow to the point of being unworkable.

For example, the find and replace package uses markers to highlight search results, and if you ran a search for the letter e in a large file, the excessive time spent updating thousands of markers on every keystroke was intolerable

This suggests another problem they have is a huge constant, in addition to the algorithmic one --- "thousands" shouldn't be something a modern machine would choke on, if updating positions is a simple operation like increasing their offset by 1 after a character is inserted. On a CPU that can do one billion instructions per second (a good OOM estimate, which still underestimates how fast real CPUs today are by a few times), adding 1 to 10000 variables should not take any perceptible amount of time --- less than a millisecond.

Going from 800ms to 50ms is a great improvement, but I think that's still several orders of magnitude slower than what the machine can really do.
Good catch. The AMI I'm using could be outdated. I'll have to update later.
Algolia (YC W14) Is Hiring Product Marketing Experts
I don't think so. It's their hardware, infrastructure, and engineers hosting it. They control those things. You get the rest. Sounds like an AWS-hosted solution with some advertised advantages over other solutions. Definitely not self-hosted.

Note: I think the only 3rd party thing I'd call self-hosted is colocation where I delivered the server, they plugged it in, and the most they do is reboot it for me.
Analyse Asia 37: All on Uber in Asia with Josh Horwitz
Convert, Copy, Split and Rename Excel Workbooks Using Aspose Cloud SDK for Node.js
Humans never chose to communicate via hex dumps either. We're making some concessions to hardware concerns here at the cost of human readability anyway, so one can debate whether endianness should also be considered that way. Protocol decoders are really great.

Little endian is more natural for data structures. The least significant bit goes in the byte with the least address, and the most significant bit goes in the byte with the greatest address, so you never have to remember which way you're going, which is particularly nice when working with bitvectors and bit fields.

"Left" and "right" can go either way, depending on which kind of diagram you draw, even on big-endian machines, so those words always end up ambiguous. Stick to bit significance and address order and everything is unambiguous and naturally inclined to little endian.

I'm not sure what you mean by the bit shifting case. The 8 char ASCII sting compare is a neat trick with limited applicability these days.
Synopsis: Josh Horwitz from Quartz joined us to discuss all things Uber in Asia. From how Uber ramp up their operations to their recent troubles with regulation in Asian markets, we analysed how they are shaping up against their Asian competitors in China, India & Southeast Asia: Kuaidi-Didi Dache, Grabtaxi, Olacabs and Gogovan. After our Uber conversation, Josh also shared what the Taiwanese government is currently doing to build the startup ecosystem and discuss which kind of startups are thriving in Taiwan.
I wonder how effective some of the newer EOD disruptors like the PigStick[1] would be. It uses a shaped charge to generate and direct an incredibly high pressure water jet for similar sorts of 'decapitation strikes' on detonators and the like.

Although, we also have much better and faster radiographic imaging systems, so it might have been possible to get a better idea of the internal construction and identify a weak point for, say, drilling and endoscopy.

It sounds liek the guy really put a lot of thought into the tamper detection though - there are parallels with the protection of crypto security modules, some of which do all these things and more.

[1] http://www.chemringeod.com/products/defeat/PigstickDisruptor...
Kong uses Cassandra for storing config. This makes it easy to run a Kong cluster. Just add more instances that share the same Cassandra cluster.
Also known as middle endian.
Cloud Foundry requires a ton of (compute) overhead to get set up. It's very much intended for large projects. Hell, you need a separate VM just to install it.

For anyone looking at a Dokku alternative, Cloud Foundry isn't one.

Openshift is nice though.
"Clearly, they didn't take crypto design very seriously when they shipped a product based on it." - spot on. There is no deeper subtext. Not sure what you found weird - eridius got my point perfectly and countered well.
Binaries are built automatically these days using tools like Jenkins, Travis.ci, etc and not by developers. There are many ways to solve this problem such as the build bot making tags in a repository that isn't the main one, but suffice it to say developers are not making the binaries so using a developer account to push the tag from the build machine seems like a permissions bug and letting developers push tags also would risk someone accidentally deleting a tag or pushing a tag that is wrong or can't be reproduced by the build server.

Another example is having a machine the mirrors a perforce, svn or other rcs. This bot will push up the mirror to a single branch called say 'svn-mirror'. You want to make sure that the mirror bot is the only one that can ever touch this branch. Again the mirror could be its own repo and no one else could be allowed to do anything, but users like to have the mirror along side the other main branches that they can push to.

I can give you a dozen "edge case" examples, each of which I have seen not only desired, but required. Lack of fine grain permissions are one of the three reason why companies (not individuals) will abandon an existing Git server and replace it with an alternative. (See http://benjamin-meyer.blogspot.com/2014/10/so-you-want-to-bu... for my full writeup) And you can't say it is hard to implement either, these permissions are nothing but cascading ref based permissions. A user or group has permissions to read/write/delete a ref or ref regular expression. Honestly just copy what gitolite (which has no frontend so it constantly being passed over) does and you will be ahead of all of your competition.

Add fine grain permissions to GitLab and I would recommend exploring going through the major hassle and pain of replacing Stash with GitLab, that is how valuable of a feature it is. Eventually Stash and the other Git servers will have this capability, might as well beat them to the punch and take some of their customers.
I smiled in irony as the "Design for Responsive" text scrolled by at 0.5 fps.
This work has plenty about it that was interesting. The best part to me was their answer to "why not feature X?" They said they prefer to build upon the most mature and stable technologies along with naming a few. Too many teams end up losing competitiveness by wasting precious hours debugging the latest and greatest thing that isn't quite reliable yet. Their choice is wiser and might get attention of more risk-conscious users.
It's like the Civilization technology tree. To get the laptop, you first have to invent Electronics, and before that Physics, and before that...

Easily adds up to trillions of hours.
NPAPI (the old plugin architecture) is a terrible mess. It's 20 years old as of this year, and was cobbled together by Netscape back for version 2.0.
> It's easy to prove me wrong. The NYT started in 1851. Can you demonstrate how the Catholic church was an important 'cultural maypole' in the US before then?

Again you need to widen your context to the whole history of Western Civilization. My point compares the Catholic Church prior to the printing press (1400's) and the NYT prior to the invention of the internet (1900's) -- this was Shirky's point too.
You can at least make a raid 4 simulator in SQL: (from http://www.baarf.com/ ) http://www.miracleas.com/BAARF/raid.zip
That's my issue with studying new things to further my career. There are SO MANY things. What should I pick? Also, most HR and headhunters say "Only on-the-job experience counts. If you learned it on your own, we don't value it."

After a few weeks, you'd get better at it. Unfortunately, employers want someone who's already an expert. They aren't comfortable letting someone learn on the job, even if searching for their purple squirrel means the position is open for longer.

I got something done in a couple of hours with the "old-fashined" style, when it probably would have taken me weeks to learn a framework for a simple task.

For a personal project, the plain style is fine.

Most of these MVC frameworks are poorly documented and poorly written. I've used several that I didn't like. I wouldn't use an MVC framework for my own projects.

To find a job, they expect you to already be an expert in whatever they are using. The only way to expand your skillset seems to be: Pick something you want to learn, and use it for a project at work, even if it isn't the right choice for your current employer's needs.
I'd be happy with a reliable way of repurposing old phones. There's a ton of CPU and GPU power just being thrown away every time we upgrade our phones.
So, the whole idea of patents is that we don't approve of corporate secrets. What's the idea of also giving legal protection to trade secrets?
Nice try Ronald.
It already is a hub of shills thumping worthless idefas and driving the hivemind to rally around it
FALLOUT 4 Special edition comes with a real life Pip-Boy
They expect you to study and be an expert in their niche before applying, which rules out people who don't already know their specialty, or aren't too desperate to spend weeks preparing for one interview.
> The JavaScript model of "call some callback when the currently-executing function returns" doesn't work, because C is not event-based.

This is misleading. Whether or not a C program is event-based is not defined by the language; the language itself has the necessary features. On the flip side, Javascript is not necessarily confined to event-based operation - this is dependent on the engine it's running in.
Is rate limiting state stored in Cassandra?

One of the main graphics on the KONG docs shows a Caching plugin (http://getkong.org/assets/images/homepage/diagram-right.png), but the list of available plugins doesn't include such an entry. Is that because caching is built in? Is the cache state stored in Cassandra? Or is the plugin yet to be built?
That's absolutely not the whole idea of patents. You should probably skim the Wikipedia page.
Yeah, that approach has issues also. I wouldn't want to spend a week of free time on something unless it was a much higher rate than my regular job or an amazing opportunity.

If you're expecting me to put in a lot of time BEFORE I meet you, I'll just pass. After I meet your team, it'll be easier for me to decide if I want to put in more time jumping through hoops.

One advantage of giving people homework is that it DOES filter out a lot of candidates! Does it filter out the good ones or the bad ones?
Are you seriously implying that you see no difference between "thou shalt not kill" and "thou shalt not analyze images of public places with anything more complicated than an abacus" ??
People are already doing this with the Motorola Atrix 4g Laptop dock.

https://www.youtube.com/watch?v=67Jm8IiwURQ
Vignettes of Evolutionary Biologists Large and Small
Or in general, any infinite size n-dimensional structure can be embedded in some finite size n+1 dimensional structure.
Security via Surrender
How to Use ADB Download
but that those comments are often posted with the intention of promoting underground political movements with roots in the hateful ideologies

Ouch...do you see where you might want to re-think that. Hint..."underground political movements".

Any regime can call something "intention of promoting underground political movements with roots in the hateful ideologies that have provoked much of the violence" in order to quell dissent.

I see a lot of hate speech that "could" promote violence from the Social Justice Warriors, but just because I disagree with their ideology doesn't mean I want to shut down their forums.
Ars has never been too serious. The same author has an article titled "Is the Internet a failed utopia?".
> WARNING: Using TrueCrypt is not secure as it may contain unfixed security issues

That did really look the like maintainers flipping the table over and walking away.
I don't think that's paradoxical. We deal with convergent infinite series all the time in everyday life.

10/3(3.333...) is 3 + 3/10 + 3/100/ + 3/1000 + 3/10000...

π(3.1415...) is 3 + 1/10 + 4/100 + 1/1000 + 5/10000...

Its quite easy to see that both of these series will be finite, and many numbers, lets say 4 or 3 + 5/10 will be greater than either of them.
Isaac Asimov interview (1988) [video]
I just couldn't bring myself to use close source drive encryption software.
Bash would be really painful :)
Right, where I'm confused is, you seem comfortable using and endorsing something that by all accounts takes crypto design even less seriously than AgileBits did years ago. I'm not trying to needle you, I just don't follow where you're going with this.
Whatever you might think about the message Fox News is sending out, they control the message that people hear

Like I control the message that my co-worker or anybody else hears when I'm speaking to them?

In what way are their opponents able to speak?

As in opponents, you mean MSNBC, CNN, all the networks, all the major newspapers, all the cultural HBO shows, and tens of thousands of websites?
But what on earth is wrong with the navigation?

To answer this specific question - Cursive's Java interop support is much better than anything else I'm aware of. It implements Clojure's type inference in the editor, so method calls are accurately resolved to the right method based on the number and types of the parameters, and completion takes this into account so that you can explore Java APIs almost as well as with Java in IntelliJ. Cross-language navigation and Find Usages works - in Cursive you can navigate from RT.var() calls to the Clojure code, and Find Usages from Clojure will find the RT.var() calls. This also works for other JVM languages - there are quite a few Cursive users with mixed Clojure/Scala codebases, and this all works there.

You can search for all usages of a particular keyword, and it will also find all local bindings destructured from it using :keys. Namespaces will be auto-required during completion based on examples elsewhere in your project, not hard-coded config. This works in the REPL too - you can type str/tr and when it's completed into str/trim Cursive will automatically (require '[clojure.string :as str]) in your REPL.

One other nice thing is that since Cursive works from source, pretty much everything that works for Clojure works for CLJS too.

There's lots more along the same lines, hopefully this gives you an idea. Again, there's nothing wrong per se with Emacs' navigation, but IntelliJ just provides a much more sophisticated infrastructure for it. Obviously elisp is Turing-complete so all this could in theory be implemented but it's much harder, as Yegge describes in the article I linked in my other comment. The clj-refactor guys are doing a great job but the lack of a good indexing infrastructure is going to mean that a lot of this functionality is hard or impossible to implement.

Emacs is a great choice for a lot of people and if you're willing to invest the time to trick it out and maintain it, especially for Clojure you can get a really nice environment. But probably the feature that most people like about Cursive is that it just works out of the box, and stays working with no messing around and no development of your editor required. And WRT my original comment - to say that Emacs has the most sophisticated runtime analysis is just wrong.
Does Edward Snowden Really Trust Apple to Do the Right Thing?
Systems and Go – Why Go is beating the averages
I am less worried about NSA attacks on my lastpass. To be honest they could get somebody into my house and attack my computer directly.

If the NSA wanted info from you they have out of channel attacks that can get things more directly. I may have a 20 character password on my gmail but google can hand all that data over.
Because Linux development is done over a public mailing list.
That's a horrible, immoral ideology you have there, but I'll defend your right to spew it.
Sam Altman talked about this on the Econ Talk podcast, I believe he said he has 'no interest' in running a public company.
I think as time goes on we'll find that journals are able to do more and more of the work themselves in such a way that disrupts the monopoly as we know it today. Journals and the academic community already perform the review process themselves (with little reward) and are finding that the "typesetting" and "dissemination" value-adds from publishers are things that they can do on their own as well.

On a large scale, initiatives like PLOS One (http://www.plosone.org/) are a great example of this. On a smaller scale, journals like Sociological Science (http://www.sociologicalscience.com/) & (http://www.gsb.stanford.edu/stanford-gsb-experience/news-his...) are also being successful managing the entire toolchain themselves.

While things seem dire now, I'm confident they'll get better. Scholars with status are increasingly throwing their weight behind Open Access initiatives. Tim Gowers, that droque mentioned in this thread, is evidence of this.

Disclaimer: I co-founded a startup in the space (http://www.scholasticahq.com) and Sociological Science uses our platform for managing their peer review process.
Along similar lines, mathematicians (including Timothy Gowers and Terry Tao) created two free-access journals, the Forum of Mathematics Sigma [1] and Pi [2] that seek to provide a reputable and free alternative to some of the top-tier journals that are being boycotted. It's a bit akin to the PLoS journals --- free and reputable.

Hopefully some reputable open journals will distinguish themselves from the predatory journals that take advantage of unsuspecting junior researchers (or worse, that take advantage of unsuspecting people who don't know better).

[1]: http://journals.cambridge.org/action/displayJournal?jid=FMs
[2]: http://journals.cambridge.org/action/displayJournal?jid=FMP
I used an editor in 1980 that was implemented as piece tables! That was a 64K HP2000. It worked great!
I feel like the loneliest person in the whole entire world actually
Property is so expensive because supply is being artificially restrained.
> We even had representation from Canada that spoke to a similar process they went through there.

I'd like to learn more about the process Canada went through. This is one of the top search results, is this it?

This is the Privacy Impact Assessment Report from Passport Canada.
http://www.ppt.gc.ca/publications/facial.aspx?lang=eng
I'm with you. As I was loading the page, it felt like one of those dreaded old splash pages.
Most Aussie Startups in the US Are Like Matthew Dellavedova… – Dean McEvoy
Attention McDonald's and potential saboteurs: http://im.lovin.it is up for grabs.
Pretty much my experience as well. Bought it at a good discount, tried to make it work (consumed all books, online tutorials and examples before that) and went back to my text editor and Bootstrap after 2 days after discovering that I was spending more time fighting with the tool than creating useful things in it.
> Traditionally, most journals were published by non-profit scientific societies. But when journals shifted from print to online digital formats, those societies couldn't afford the cost of the equipment needed to make the switch. Instead, they sold their journals to large, for-profit publishers

wait, what

I can't figure out how it would be possible that shifting from physical paper to online hosting could be more expensive
I use 2-step auth with LastPass. Although passwords are encrypted on client-side for LastPass too, I understand that if LastPass wants, they can get the master password or password for any specific site. All they need to do is change their client. However, considering 1Password is closed-sourced, if they want, they can do so too. Right?

And if I think about "What is harder for hackers to get to: My encrypted password file on Dropbox or my encrypted passwords on LastPass," I feel I'll have more confidence in LastPass.

Anything very obviously wrong with this thinking?
Worth mentioning KongDB, to easily provision a cloud Cassandra instance for free: http://kongdb.org
> to allow citizens to have agency in their lives by allowing them to have a hand in who legislates

But that kind of agency is very, very weak; my vote has only a miniscule impact on who legislates. I personally would be quite willing to trade that tiny bit of agency for the government's agreement to not mess with so many things.

> Apropos of the system in the US, I think your politicians are far more partisan than those in Europe

I think this is true, and there are two reasons for it that I can see, one good and one bad.

The good reason is that there is more diversity of thought in the US in general, and that gets reflected in a wider range of political viewpoints. Some partisanship is based on honest differences of opinion in areas where nobody really knows the right answer; in such cases, it's better to have multiple viewpoints represented and give each of them a chance to try things out.

The bad reason is that more Americans have crazy beliefs, so that we have people in, say, the US Congress with widely different beliefs even about matters of simple fact like how old the Earth is. Of course that's going to make it harder to govern and increase the likelihood of highly polarized debates with no resolution.
>Thing is, governments (especially pro-capitalist ones) don't like monopolies, which is where the reference comes from.

A true monopoly rarely, if ever, actually exists in a real free market. However, artificial government backed monopolies are rampant today.
May I offer my very recent blogpost on pass + yubikey neo https://drupalwatchdog.com/blog/2015/6/yubikey-neo-and-bette...
I was just talking with my girlfriend yesterday about the very first level of the original SMB and how every kid I knew when I was younger could instantly identify it, but our two sons may never actually have that sort of relationship with a game at such an early age (I was 4 when I first played an NES).

I love that they used that level as the beginning of their montage.
Good to see ClojureCLR getting some cool usage. If only Visual Studio had some awesome integration like the Intellij Clojure plugin Cursive.
People don't tend to find that unintuitive. The Greeks had a nice geometric example in a square of side length 1:

┌┬┬─┬───┬───────┐
├┘│3│ │ │
├─┘-│ │ │
│ 64│ │ │
├───┘ │ │
│ │ │
│ 3/16 │ │
│ │ │
├───────┘ │
│ │
│ │
│ │
│ 3/4 │
│ │
│ │
│ │
└───────────────┘

3/4 + 3/16 + 3/64 + 3/256 + ... is easy to visualize as successively filling in three quarters of an ever-smaller residual square. Intuitively, no matter how finely you detail it, you're never going to stop fitting inside the original area-1 square.

edit: better text art
+1 for cloud2butt!
It's along the lines of the machines at tourist attractions that stretch out and stamp a penny.
From the point of view of software, I generally consider something self-host{ed,able} if I can run it on a machine I choose, without enforced network/environment requirements.
Nobody on HN expects Americans here to agree with current U.S. foreign policy. Why expect us to agree with past policy?
The majority of the serious Xen security issues affected HVM, not PV.