skysight-inc/HackerNews huggingface dataset:
I don't think I can edit my other comment, so here's a new reply: The tempo's jittery for me, and the audio's dropping here and there, just with a single row of 16th note hihats. It also totally destroys the back button, flooding the browser history. I'm running Windows 8.1, Firefox 30, 16gb RAM, i7-2600@3.4ghz (it's my HD video & multitrack audio editing machine)

I'm not even switching tabs.

Doesn't appear to even display in IE11, although to be fair, I just opened my DR-110 up and, while it renders, and most of the buttons are functional, the knobs are not, and no audio plays back.

Playback of beatpetite seems steadier in Chrome, but as I typed that, I got an audio hiccup. The visuals are noticeably jerky. Again comparing to my DR-110, it's pretty clear I'm using a different approach to the audio playback because I'm getting seriously weird glitches on my playback. And the CSS buttons don't quite line up on mine in Chrome the way it does in the other two browsers.

I wouldn't spend too much time chasing a solid tempo down. That's essentially out of your control.
'Fire' Phone? seriously? That would have sounded better if was by Mozilla.
Why not use a surface pro in this case?
This is how things start. This could be the future of CSS that becomes part of browsers some day.
storing a set of lines and efficiently seeing if another line (eg the dot's trajectory) has intersected one of them.

This is the basic principle behind raytracing and the variant raymarching, which can be used to create some very interesting images with very compact descriptions:

http://iquilezles.org/www/material/nvscene2008/rwwtt.pdf

Applied to things bouncing around on other things, this technique would enable calculating exactly when the collisions are, which is a possible optimisation to requiring collision checks at each time step. It is very similar to the principle of a discrete event simulator.
Not taking anything away from the quote's message, but a bit of controversy because Banksy didn't give the original author of half of the quote credit:
http://www.readingfrenzy.com/ledger/2012/03/taking_the_piss
Frequently: none. Well, you could proxy the request through your servers, but that could get relatively costly.

Ideally: either the service allows you to generate short-lived tokens (server-side, ideally without a request to the service), or you sign requests for the client. In the latter, you generally gain some measure control over what apps can do, with relatively small cost. Basically that's what you can do with S3 file uploads - your server can generate a signed URL, then the client can upload to it, all while you retain complete control of your API secrets.
I clicked on the article expecting to see "a website that sells used cars" but claims to change EVERYTHING about the way used cars are sold (no shortage of these types of start ups)...

I was pleasantly surprised to be wrong. From sending out a certified mechanic to attaching a device... this really does seem like a good idea and very cool...
You're probably not going to have a good time trying to use a USB WLAN dongle as an access point. Even if you manage to track down a) if the driver supports AP mode, and b) put together a whole hostapd configration, you're still limited by the transmit power of the little thing, which I guarantee isn't a lot. Another thing is that acting as an AP is a lot more taxing on a piece of hardware than just acting as a client; there's a chance that the USB WLAN thing will be extra flaky and maybe even overheat.

Instead... just get something that will run OpenWRT. Check out this list: http://wiki.openwrt.org/toh/start. Running and configuring it at the command line is way more pleasant than you'd expect, and the (optional) web GUI is functional if inconsistent.
Don't include it in your resume but, volunteer the information during the first interview. Put a positive spin to it - "made mistakes, learned from it and here is how I am now better off".
I also wait for strlcpy. In cases when I need it on Linux I just take OpenBSD implementation:

* http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/string/st...

* http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/string/st...
Node's nested node_modules approach is basically incompatible with Windows
That's pretty much always been my opinion on code reviews. They're too often wielded as a bullying tactic.
Here's a screengrab: http://i.imgur.com/XUNBIh1.png
I have a couple friend groups that I play Warlight [0] with. It can be a slow, massive multi-day game down to a fast paced 2-on-2 "realtime" game.

[0]: http://www.warlight.net/
I think there is a simpler way to represent this. Represent each wall as a pair of tiles. Whenever a ball would move from tile A to tile B in a single time step, check if there is a wall whose pair of tiles is A and B. If there is such a wall, the ball bounces. If not, the ball doesn't bounce. I don't think you should need to write any code that handles north/south/east/west with a switch statement, it should all be vector math.

I think the only edge case here would be a ball that hits a corner dead on. You would need code that says "if a ball goes from A to B in a time step, and those are diagonal, treat it as A -> C -> B where C is one of the tiles adjacent to both A and B, for bounce checking."
Soundnode App – Soundcloud for desktop (Win/Mac)
A open source project called Soundnode App that support Soundcloud for desktop (Wind/MAc)
By definition you can't learn about religion either because the only thing required for religion is to believe in it.

You are misunderstanding his point because it infringes upon how you self-identify. Perspective is weird like that sometimes.
Can any of you comment on my scheme described here: http://ashkash.github.io/ajaxcrypt/index.html
This should resist even active adversaries:

- Statically encrypt and publish content on HTTP server
- Transmit these via HTTP to an iframe component at client browser
- transmit decryption and key routines using HTTPS.
- HTTP-iframe locally sends message to HTTPS-iframe via window.postMessage()
- HTTPS-iframe decrypts content (with pre-shared key) and renders it on page
See, deep down, this is what bothers me about it. They haven't even added a decent questing system but modders have, and Notch gets the cash while articles like this prevent anyone from really making any money at it.
I have seen similar practices fail miserably when applied in smaller companies.

Me too.

Opinionated best practices stop being useful when the emphasis is on opinionated and not on best.

Sure. Also, if changing the way things are done causes friction for the team, sometimes it's not worth it. There's always tradeoffs.

Lack the engineering quality in said tools team, and you are spending a bunch of money on infrastructure that will both fail to evolve at the speed of OSS, and get entrenched everywhere in your codebase.

This is a great argument for investing in OSS tools, and for open sourcing tools invented in-house.

Automated testing will only get you far if it is pragmatic. I have seen millions of dollars spent on test automation that was extremely fragile and never paid for itself, because it had an extremely short shelf life. Picking the wrong tools for it makes it even worse.

When discussing the relative pragmatism of tests, it can be important to understand where they live within the perceived development workflow. Generally, it makes sense to attach fast, automated tests to precommit hooks in your version control system. Slow, automated tests can be postcommit and run on shared infrastructure. Very slow, exhaustive regression tests involving repeated, complex, time-consuming virtual infrastructure setup can be run when committing new tags/releases.

It makes little sense for regular developers to focus on the latter two. However, the former is a great target for extra tests that's generally approachable by and visible to all.

But code reviews can quickly become pissing contests used by people to impose their preferences on others: A passive aggressive way of asserting dominance on a team. You can see a lot of that in proponents of the 5 minute code review: No actual analysis of the code is done, but 5 minutes is plenty to use it as a tool for abuse.

To avoid these issues it can be better to do these written/offline than in person. Maybe then discuss the results in person.

So while the techniques described in the article can be very helpful, the wrong implementation of them will just help you standardize on a monoculture of bad engineering. So before implementing such things think about how good your engineering really is, and whether you really are better off making sure people bend to your standards, or you are better off learning from the experience of new people. Chances are you are not Google.

Very well said.
I won't help Code Spaces

s/I/It/

It won't help Code Spaces
I used to play at DipWorld, but it looks like it's a lot less active lately. It appears that the most active community now is at the Diplomatic Pouch. The site design leaves something to be desired, but after some clicking around, this appears to be a decent place for a new player to start: http://www.diplom.org/Email/
I'm learning how to be better. I started reading Farnam Street about two months ago, and picked up Ryan Holiday's The Obstacle is the Way two weeks ago. Meditations: A New Translation and Thinking Fast and Slow are on their way. I'm facing not a crisis of self, but a realization that I am at a point where in order to move forward, and achieve what I want to achieve, I have some huge ego driven flaws that require a megalithic perspective shift.
It's Like This, Kid
I've just pushed a ruby wrapper for it: https://github.com/guilhermesad/rspotify
Any contributions would be very welcomed!
Then you deal with the baggage that comes from such a label, and clarifying that you're a 'secular humanist' doesn't give you the right to expect to avoid that baggage.
In short, you're saying that by diversifying your holdings across thousands of companies, you can statistically arbitrage the signal but it is not true.

You could make predictions for every company in the world but you'd need both the signal to be right most of time, over any time period, be uncorrelated across companies and have an excess return collectable over a period short enough.
If any of these conditions are not met, you will not be able to statistically arbitrage it.
Take options for example, writing them (selling them) is a strategy you can backtest and it has positive return on average. You can write options on thousand of stocks, every week. But because volatility - on which the option price depends - is correlated across stocks, this strategy will incur a large loss on a financial crisis. Your diversification will not matter.

Also, you say that we don't observe the signal but you can't know, maybe we do. There are tons of simpler signals - some of which I cited above - that we still observe.
grsec's developer philosophy fully admits this pragmatic focus... basically, if we are too lazy to use a custom policy because policy development is painful, then essentially we are not going to use any policy and will instead remain vulnerable. grsec makes it easier, therefore it actually gets used.

I studied SEL policies in depth back in 2000 or so, but have never once deployed a custom policy. I suspect others are the same, though common daemons on common distributions recently (~last 5 years) began to have usable pre-supplied policies, unfortunately standard services are so commodified these days they're often outsourced (email, chat, web, etc.) and so the benefits of this 'too-little-too-late' development are partly mitigated in practice.
I'm not sure there is a net neutrality issue here. Let me pose a hypothetical to try to bring into focus what I'm having trouble understanding.

HYPOTHETICAL:

You have internet through an ISP that charges for data. I am a provider of paid content (movies, music, ebooks...whatever) and you are a customer of mine. Your ISP provides detailed billing that breaks down your bill by IP address.

I allow you to send me a copy of your ISP bill each month, and I figure out from the detail billing break down how much of your data costs were due to downloading or streaming content you purchased from me. I reimburse you for that.

QUESTIONS:

1. Is there a net neutrality violation here?

2. If you say that there is, can anything be done to stop it?

3. If there is NOT a violation of net neutrality here...does that change if the ISP makes it easier for me to pay part of your bill? For instance, suppose the ISP offers to save me the hassle of getting and reading a copy of your bill and instead they track your usage of my data and they bill me, and deduct those costs from you bill?

(The situation in #3 is essentially, I believe, what AT&T called "Sponsored Data", and was pretty widely frowned upon by net neutrality advocates).

4. If you say that the original hypothetical was OK, but the ISP getting involved as described in question 3 is not, what is it about ISP involvement that makes a difference? I am assuming that the ISP offers the "pay for your customers' data" service to anyone, for any kind of data.
There is no fucking test, and no reason for one. You think you're trying to protect people but this kind of thinking is dangerous and you're too arrogant to understand that. Or a troll.
This is the oldest most persistent argument in programming.
Be warned: Neptune's Pride has the fatal flaw (or killer feature, depending on who you ask) of occurring in real time. Later in the game, as it speeds up, players who log in more often gain a tactical advantage.
The "function trampoline" that's described looks more or less like the Block ABI. Some good learning is available in the source for `libclosure`, [Language Specification for Blocks](http://www.opensource.apple.com/source/libclosure/libclosure...) and [Block Implementation Specification](http://www.opensource.apple.com/source/libclosure/libclosure...).

----

Consistently being able to hook functions in Swift is going to be a pain in release mode optimizations, as the Swift compiler does aggressive inlining.
Engineering at Scale – exploring the craft of engineering
I generally agree with what you say. Four things though:

- I have found that learning how to write simple macros can simplify writing LaTeX significantly. If you dislike how you have to write the same five invocations in every figure, just make that a macro. \newcommand is easy enough to learn. Treat your LaTeX like you treat any other programming task. Build abstractions, refactor.

- I recently switched from pdflatex to lualatex. Now I can write "macros" in Lua. This finally enables me to write complex stuff, like a LaTeX environment that converts markdown to LaTeX, or some fancy table editing stuff. I can now bring to bear my regular programming skills on LaTeX code!

- There are a few data formats that convert cleanly to LaTeX. I actually write my documents in org-mode, which is then converted to LaTeX. While this sounds like a recipe for disaster, it actually works great because of two properties: One, you can always write plain LaTeX inline in your org-mode stuff, which will be copied verbatim into the resulting document. Two, the resulting LaTeX code is clean enough to just switch over to using that in case something catastrophic happens to org-mode.

- There actually is one very viable alternative to LaTeX: HTML. HTML5 and CSS3 in particular introduced very comprehensive support for paged media and there are a few excellent HTML-PDF exporters available out there. Just imagine how much cooler it is to write plain HTML, and take care of all the formatting in CSS. This also enables the use of preprocessors like Markdown, and Javascript for programmatic content (like MathJax for equations). This really works, and it works today. The effort to write beautiful documents remains high though, on a similar level to writing beautiful LaTeX documents.
I am pretty sure there is nowhere in the world where 1/x of the people really get a 1/x say in anything.

Things like votes are attempts to make it so, but as a practical matter if you only get to vote between a few choices created by blocks of power in which you are not an elite (i.e political parties), your vote cannot possibly reflect what you want in any meaningful way.

Tragically, people are so used to voting between choices other people set out for them that they delude themselves into thinking that they are being fairly represented, and that their beliefs really should line up in one of a few belief-bundles determined by team names.
Ask HN: We want to delight our customers/consumers. suggest the magic potion
we are a link sharing service for teams. http://teamgum.com - we are different from bookmarking services & other tools like evernote as fundamentally we are team 1st in our approach & not user 1st. We are looking for your suggestions on what can be added to make it wow customer experience.
I wish Google put more focus on better supporting highly accurate pens in all Android versions. Right now only Samsung does that, pretty much, and even they have started losing interest a bit, I think, and they've made their latest Note tablets very expensive, too.

I was hoping Nvidia would launch another Tegra Note tablet with its cheap but very accurate stylus, but at 10", and for $300 or less, but it should've arrived by now, and it hasn't.

There's also Qualcomm's Snapdragon 805 processor, which promises "ultrasound inking" [1] of some sort, that seems like a pretty cool technology, but might also be supported only by a few devices, at most. So I think it's ultimately up to Google to make a bigger push for this, but unfortunately I think Google has zero interest in this.

[1] - http://www.youtube.com/watch?v=C9w2oEWZ-mY
"Actually handling errors" isn't tedious at all in Scala. Chain flatMap() across methods that use Try[A], handle the Failure[_] at the other end, and you're done.

I'm not joking when I say it really is that easy. Go makes it (and, really, many other things) very difficult for reasons that are at best murky.
Who actually uses tabs instead of spaces? I'm genuinely curious--one of the first things pretty much any project I've ever been involved in has been the setting of tabs characters to become spaces, simply because all text editors are retarded in this regard. This is quite strange.
How about Risk-tego-poly?
Actually, its way cheaper than sending a jet to fly overtop to deliver the 'bunker buster'. And you can hit as many targets as you have missiles.
We use Godep, it is very good. As per another answer to your question: with '-copy=false' it behaves a lot like bundler.lock. Having spent a lot of time working with it we've found a few areas where you can get burned a little; particularly if you've structured your repos as a set of libraries, as seems to be the encouraged golang pattern.

When you have multiple libraries you have to be very specific about when you run godep, lest you find yourself with two libraries needing different versions of a common library, for example Main imports Foo and Bar, which both import Baz. Godep provides a mechanism for handling this: each dependency is explicitly locked into a fixed revision (e.g. commit sha, in the case of git). The pain comes about when during debugging as it can be very hard to reason which version of a library you're using.

Additionally the revision aspect is also a bit of a PITA, we use a development flow which rebases our small commits into a big commit and then merges that into our master branch; if you ran godep prior to that you're now referencing a commit that no longer exists. Given the chain of references that can exist this can go a very long way down. This same pattern also forces you into needing to push your dev branches to an origin server, as godep checks out the repos during the build, which while pretty benign a concern is a PITA if you forget and your build breaks because of it.

We're strongly considering moving to "one big repo" to help combat this issue (as well as a few others) for our internal golang repositories. Referencing "published commits" in 3rd party libraries is an acceptable level of pain. We're not entirely sold on this yet... just considering it.
This looks like a Docker container on Digital Ocean.

I would use this a lot, but many errors trying to apt-get install packages.
It's because I'm ok with being blunt about my opinion. There can be no mistake about how I perceived your pushing an agenda in a thread involving someone's severe depression.

You on the other hand, are simply passive aggressive.

The hope is that the people you're responding to will read it and realize they're not alone when being attacked (yes, asking loaded questions can be an attack).

There is a time and place for everything, and while you have every right to post anything you want to, you also have the responsibility of doing it in good taste. This was neither the time, nor the place, and shame on you for doing it.
Awesome. Gonna try.
It’s No Longer A Smartphone, It’s A Smartcamera
> If you're talking about panics, you can only handle them in defer funcs if I'm not mistaken,

That's true...but no different from "exceptions can only be caught in catch blocks".

> which makes them significantly different from exceptions that I'm used to that can be caught in any part of the code.

It doesn't make them any different from exceptions -- just as a catch block can be anywhere up the call chain, a deferred function can have been set anywhere up the chain.

Defer is basically "finally", except the position is different, and "recover" inside it lets it also do what "catch" does.
Read the update linked at the top of the article. Banksy did give credit, but due to Life, the internet buzz machine ultimately didn't recognise it.
Compatible and uncomplicated live chat features makes your live chat session more effective where website visitors conveniently interact with you. So, I would refer you may integrate eAssistance Pro live chat on your website, that is easy to install and operate, fully customizable and secure.

For free trial to just signup here https://account.eassistancepro.com/register.php
Unsure if trolling or not. It's quite easy to have your editor represent a tab character as "n spaces" - where n is the number of spaces you find pleasing. In fact, I can't recall a serious editor where this isn't the case.

What issues have you seen with regards to using tabs?
I wonder if other professions have similar arguments.
That's cool; thanks for sharing.

So you could use the accelerometer independently of the touchscreen for gestures like flicking ink blots or swishing the "brush" in "water" -- or maybe you can do some fancy things on the screen like tapping on the same spot for stippling (using the accelerometer to approximate height and velocity, independent of the final pressure on the tip). There's so much fun stuff to do here!
This doesn't gel with my understanding of the subject.

NK is predominantly rocket salvo and shell artillery. This may be basic tech, but its very effective militarily.

Cruise missiles are damn difficult to intercept. And for each plane with "bunker buster" dumb bombs, you can buy a salvo of very clever bunker-busting cruise missiles which don't have to bring their pilot home after.
Pdflatex is a rewrite that compiles directly to PDF.

Xetex is a rewrite that supports Unicode and TTF/OTF fonts.

Luatex is a rewrite that supports Unicode and TTF/OTF fonts and is scriptable in Lua.
The first thing that happens when you plug in a USB device is you sigh in relief that the thing finally went in, on the third attempt.

Then all this other stuff happens.
The Fermi Paradox | Wait But Why
Yooooooooo If you know what I mean...