skysight-inc/HackerNews huggingface dataset:
When I was referring to "leaner", I was referring to the apparent ease with which Nginx serves while Apache was having difficulty in the same setup (it's quite silly to compare binary sizes). I'm not sure if that makes it not "hipster-compatible" any more than not as performance compatible while running on the same iron and facing the same load.

Also of note, as teilo mentions (https://news.ycombinator.com/item?id=6151215), sometimes you want to decouple the app/scripting engine from the web server.

FYI, current stack is OpenBSD, Nginx, PHP-FPM and Postgres. Does that make us hipsters?
I also found the easing function on the zoom action annoying. It starts slow and ends fast - the other way around would make it feel a lot more responsive.
The problem with this idea is that things would likely get a lot worse for the poorest residents - those who couldn't afford to pay for the now privatised garbage collection, mail delivery, school, doctor visits. You would be recreating Dickensian London with the poorest families sending their kids to work.
PS: After re-reading my post it looks overly negative. I'm not saying this is a bad idea, just raising some concerns I would have as a reader or author.

Props to you for a) having a solution to the problem and b) getting the landing page launched. Both of these are a lot harder than picking holes in someone else's idea! :-)
I considered doing this over a year ago. I was really intrigued by the algorithm and declared it was a distraction over getting the basic app solid first.

I'd love to revisit it. It really works wonders. I've played with the CLAHE implementation in Fiji/ImageJ and while it can produce really good results, it does require some tuning.

I really admire the Camera+ guys for creating an auto tuning algorithm that is quite similar. (I'm unsure if they're using CLAHE or a variation.)
One of the best things that worked for me when increasing conversion rates is to remove all the distractions that's on the page.

To do this, you first need to define what that specific page's goal is (whether it's to have the visitors purchase, share, sign-up, etc...). It'll work remarkably better if you only have 1 goal per page.

From there, you need to look for the things that will distract your visitors from doing that specific goal. It could be the images, an even better content, even the social sharing buttons, etc...
I'm so very happy to read your post! :-)

I'm not usually one to post publicly either, but with practice I'm finding it comes more naturally.

I do hope you dive in---the devil's details in image signal processing is really interesting.
I like the trick in Golang marketing, where we get a code full of references to some libraries. Same could be done about other languages.

Oh, look, web server in 5 lines of code, in Java!

public static void main(String[] args) throws Exception {
Server server = new Server(80);
server.setHandler(new HelloWorld());

server.start();
server.join();
}

The trick is cheap, but it works!
Well, the critic in me wants to point out that it won't work very well on time trial bikes, and some people prefer to have their bike computer sitting slightly ahead of the handlebars, like how SRMs are mounted. Still, it should work very well for the vast majority of people, and I'd be looking into this if I wanted to use my phone as a bike computer.

A few more things:

1) I would like to know that it can hold my phone in the event of a crash, and not launch it skidding across the road, possibly into the path of traffic. This is one of the downsides of using a phone as a bike computer.

2) The weather is another reason I would hesitate to use my phone as a bike computer. I'm fairly sure my Garmin Edge 500 is more waterproof than my Nexus 4, although this wouldn't be a concern for everybody.

3) Once you're a more "serious" cyclist and have heart rate monitors, cadence sensors and power meters, you will probably have connectivity issues today. Most of these devices today use the ANT+ protocol, but very few phones support that. Bluetooth SMART is gaining popularity amongst phones, but few power meters etc. support it. Give it a few years and I suspect this won't be a problem anymore.

I suspect phones will become a lot more commonly used as bike computers amongst serious cyclists in the coming years, but there are some very real downsides at the moment compared with dedicated devices. Neat mount though.
More general mitigation strategies:

The random length padding could perhaps be added to the compressed payload rather than the source document. Sensible decoders should ignore the padding, but it may depend on the decompression code and requires thourough testing.

Another option is to append a random length HTTP trailer header, sending the response in chunked mode. However, the spec says that you can only use chunked mode when the request specifies that the client supports it, and I don't have any idea of the browser support for said mode (you could refuse to serve content to clients that don't support chunked mode).

The second option can also be used to slow down CRIME if the payload is not compressed (beside TLS or HTTP 2.0 compression), or can't be padded for some reason.

The main drawback of chunked mode is that the client doesn't get to know the file length in advance.

These methods could be implemented at the reverse proxy level rather than the app level. That way, the Rails conditional GET would still work.

--

[0] http://en.wikipedia.org/wiki/Chunked_transfer_encoding

Example of a chunked transfer response, with a trailer:

HTTP/1.1 200 OK
Transfer-Encoding: chunked
Trailer: My-Test-Trailer
D\r\n
All your base\r\n
B\r\n
are belong\r\n
6\r\n
to us\r\n
0\r\n
My-Test-Trailer: something\r\n
\r\n
German bitcoin.de marketplace to partner with a licensed bank
Front-end engineer – Copenhagen, DK – http://graduateland.com

I am looking for a Front-end engineer with experience in developing large scale JavaScript applications.

Our front-end is built on top of an internal CSS framework written in SASS (SCSS) and OOCSS (the concept not the framework), Twitter Flight, AMD/RequireJS, GruntJS and we are willing to introduce testing asap!

About us:
Graduateland is Europe's largest career network for international top universities.

We focus on delivering outstanding career portals to universities all over the world – and we are good at it!
We have been able to heavily expand, growing from 6 to 27 people in 2012 and we are aiming to be 60 at the end of 2013. We need talented people it could very well be you!

Despite our size we count team members from 8 different countries, and English is spoken as much as Danish.

Our office is located in the heart of the beautiful Copenhagen. We have a pool table, weekly pool tournaments and friday bars, fantastic lunches, coffee and snacks, 5weeks/year of vacations and competitive salaries.

Feel free to contact me at gg@graduateland.com

I would love to peek into your amazing works/side projects’ code so it would be awesome if you could provide me with your Github profile or any link to open source work (or website)
Because you need to track and update the temporary state. Maps and folds let you define your stepping algorithm separately.
Canonical doesn't actually see the money until the project is fully funded.
How Halfbrick planned for, and executed on, Fruit Ninja’s “overnight” success
There were a lot of clever people working on smart phones and tablets prior to Apple products appearing on the market. How did they all miss these obvious seeming options? Apple do seem to have screamed BAGSY on a few key things, which ones that matter did they not grab and now pay to license?
They should not focus on interface at all, but provide a socket and a protocol to communicate with the engine. Then the community can build fancy clients, mods, whatever.
This has already been discussed in the past [1], and most people agreed that the reasons are bullshit because, yes, Mono [2] is alive and kicking.

[1] http://www.aaronstannard.com/post/2010/07/03/NET-Culture-Sho...
[2] Not Xamarin.
Not sure if crazy or Markov chain.
Given the amount guys like this[1] that work at Microsoft love XML, it sounds pretty reasonable. Actually liking the XML docblocks though is taking it a bit too far. There's a lot of things I dislike about Java, but one thing they got right² (and almost everyone else used after) is their documentation blocks. When using Visual Studio I have to make the syntax color for XML elements of the blocks I generate super contrasting (usually really dark) with the documentation inside just to read it without making my head hurt.

> During the years I’ve seen a lot of different ways of commenting code – some good and some bad. My personal favourite way of commenting code is by using the XML comment feature of C# and VB.NET, but the important part of commenting code is not how you do it, but what you write in them.

[1] http://madskristensen.net/post/The-what-why-and-how-of-XML-c...

² Java may not be the first, but it's the first language I saw to use that style
So this is another case of regulation holding back the free market?
Of course, the difference is that the Golang code isn't using "some libraries", but the standard library. Well, except for this one, which is also using some custom handlers for gzip and such.
s/Not Xamarin/Xamarin too/
الإخوان في قبضة اللحظات الأخيرة | التيار
Copyright only applies when you distribute something. With your internal copy of something that you don't redistribute you can modify it however you like, and the GPL or any other copyright license never gets a chance to apply.
They only need to provide a socket and a protocol. Then they don't have to waste time on the interface and it already gives plenty of community modding opportunity.
I thought that was supposed to be sarcastic, poking fun at the terminology as viewed from the non-tech savvy jury and FBI agents. Though, as always, that's not an easy thing to tell online.
Which will fail if they can't convince a telecom they will sell 45k devices .....
Neat, but I keep wondering with these static generators... why wouldn't you just use pandoc http://johnmacfarlane.net/pandoc/ for the HTML generation?
I'd pay for a Lua port of this. Anyone interested? Drop me a PM.
Imo the mistake is exactly the price. If it were $600 unlimited they would probably quite easily meet their target. Besides what's the point of $775, $780 and $790? Are they trying to everyone "hurry" and order $5 cheaper? The pricing seems really odd, like they didn't want to meet the goal.
Miguel de Icaza has said numerous times that they are yet not interested in buying Microsoft.
How to track your stolen laptop
Web Tracing Framework by Google
Much as I would love to take all Internet advertising and its affiliate marketing extremes to some distant planet and nuke it from orbit, I'm afraid the Internet as we know it would go with it. Navigational system == search == google == advertising supported == deception and affiliate marketing fringes. What's the alternative? Search as a public service run by the NSA (oh wait...)?
You want http://rethinkdb.com.
I can't code with music on, my brain tunes into it and makes me want to sing along or pretend I'm drumming etc.

I find TV on in the background to be much more helpful.
> It turns into a prefix/postfix/infix mess.

Other functional languages like Haskell handle this "mess" quite well.
> Does anyone know any details about taking shots with such cameras?

Read the link. It's a stitched panorama taken with a robot camera controller.
Similar mounts from china -
http://dx.com/p/convenient-tie-on-silicone-band-for-bike-lig...

not sure how long these have been available for (ie. whether a rip off or not)
Motorola’s Moto X: 4.7″, 16/32GB, 24h battery, $199
I recently moved to Japan. My name, as it appears on my passport, is 26 characters long and consists of a-z letters and spaces. This means I run into three problems:

First, many computer systems here can't fit names that long, leading to truncation, or in some cases, denial of account creation (some places have rules that whatever's on the account must match exactly what's on the passport; one was nice enough to add a new column to their database for the rest of my name).

Second, many systems don't support a-z, so we throw the name in as katakana or double-byte romaji, depending on what works. Sometimes neither will work, and we just have to give up and go somewhere else.

Finally, many computer systems can only link accounts if the names match exactly, for example inter-bank transfers and bill payments. Since my name is truncated differently in different places, and is formatted differently in different systems, in many cases it's just impossible.

For example, right now I'm charged a fee for transferring money between two bank accounts, since the free transfers only apply if the names match exactly. I just withdraw cash from one and deposit it into the other as a workaround.

Another example is my cell phone bill. To pay it by CC my name must match exactly, but all my cards have slightly different spellings.

Don't even get me started on my wife, who is ethnically Japanese but came with me as a foreigner and hence has a name written using a-z letters. It literally has set of fraud detection systems.
My hobby: answer beginner SO question after a night out
So, sometimes when I get home too early but still keep drinking I like to answer random stuff on SO. And every now and then, there is a random question that is so wrong and clearly by somebody just starting to learn programming, that it becomes a challenge to answer it.

In this case: http://stackoverflow.com/questions/18026506/i-need-something-similar-to-sleep-function-for-a-program-that-uses-opengl

I probably did a piss poor job as a teacher, but it got me thinking, how would one approach this in a functional language? I did my share of Haskell when it was still a pure academic experiment, but never really took to it.

So, how would a functional approach to this simple but natural problem look like?
I tried http://www.quadlockcase.com/ and http://www.rokform.com/v3-bike-mount/ in last couple of months. Liked both.

I believe that you need something as strong as it gets, not something compact like this. It might be able to hold my phone just fine but I'll never be comfortable hitting a bump or reacting fast to things on the road.

Nice concept in any case.
what's a neckbeard? i imagine you sporting a magnificent handlebar mustache as a result of this remark.

anyways:

i'd phrase it as "i can buy an $800 computer that doubles as a phone." ever since smartphones appeared, having a really portable computer has been more appealing to me than having a phone that is a computer. indeed, i continue to use a dumbphone, a cheapo mp3 player, and sometimes (gasp!) pen & paper to duplicate all the functionality i ever really used my smartphone for. of course, phrased that way, it might make more sense to shapeways-up a really stylish case for a raspberry pi than buy a $800 phone, but the point is that i don't really agree with the way that you've framed the decision to begin with.

but even phrased that way, i /still/ disagree, because android strikes me as more of art of the state than state of the art: i think the vm (dalvik, i think?) is wedged in at way too low a level. large parts of the window system and other core components are written in java rather than C, which, coming from GNU-land (clean-shaven, thank you) strikes me as rather strange.

i mean, i like intents, content providers, and all these other high-level parts of the system design, i just wish more of the implementation were in C so that it would be more portable. i'd like to be able to bind whatever language i choose to the code that's flinging surfaces, at least, even if not to the window toolkit. although there is this scripting layer, which might be a good start, but i haven't used it as it advertises itself as "alpha quality."
Love it. Is there any way the recording time could be longer than 3m?
https://news.ycombinator.com/item?id=5258896 is a comment from the creator of the BT London panorama.
Twitter predicted royal baby's name
The part I enjoy most is the Lato font. It looks really sweet.
This is a very sad-looking man:
http://360gigapixels.com/tokyo-tower-panorama-photo/?v=-82.7...

Or maybe he's just sneezing?
The problem with DF GUI is not that it is not pretty, but that it is not effective at all. Additional colors, alpha channels (like looking at 2-3 depth cross-sections instead of one), no fixed font size, so smaller info screens, proper zooming (boy, how useful that would be), smoother scrolling to not get lost, etc.

I understand they do not want to invest time in these, but all they need is to open up a TCP port and have a protocol that accept commands and returns some game state. Then we could make all kind of open source clients, some fancy (2D, 3D, 4D, whatever) some crazy (multi-screen setups), web frontends or android thin-clients to cloud hosted DF, etc.
Forward Android Notifications to Google Glass
An Android app, that forwards all notifications to Google Glass.
Where Have All the Spambots Gone?
This is not crazy. This has been done for centuries.

You send five messages that are not true and one which is, and have some way to know the truth.
Lots of critics in this thread! How many bothered watching the video down at the bottom? Up the ante and make another demo video with the heaviest phone you can get your hands on.
Can't say anything about freezing temperatures, but like with every elastic material extreme temperature changes will probably wear it down.

I did not try it for downhill mountain biking because that is not something I do. I'd probably trust it for it though.

[I am in no way affiliated with Finn]
Hey Mryan, it doesn't necessarily benefit "early readers" more - it benefits those that can get more traffic to convert. I don't believe that quite makes it a "pyramid scheme" - especially as the exact same scenario is occuring with Amazon:
(1) Seller bob creates a product. (2) Amazon lists it in their stock. (3) Promoter joe posts about the product, adding an affiliate link. (4) If a viewer buys the product with his link, he gets a cut.
Is there something like this for computer science ?
Hahaha - thanks! I skipped the quotes automatically while skimming through the article; it's funny how we subconsciously "parse" every online page
Ask HN: Time coding vs time improving your coding skills?
I'm fairly new to programming; it's been a longtime hobby I'm hoping to turn into a profession.<p>I get really bad analysis paralysis and often find myself poring through books on text editors, design patterns, clean coding etc - at the end of the day I've got a bunch of theory and have built absolutely nothing. Or to the extreme: Perhaps I should learn Haskell and write it in that?<p>conversely, sometimes I'll bash away at the keyboard coding up an idea I've had, not really being mindful of the fact that I'm repeating myself a heck of a lot or doing things horribly inefficiently - and that searching for that python library of vim shortcut would save me half a day.<p>Anyone got any advice about how they approach this? How do you keep decent momentum up, but know when it's time to stop and sharpen your axe?
Not on my Nexus 4 with firefox nightly
Because it'd become too obvious that most online journos are glorified human clipboards, cutting & pasting from feed A to feed B.
"Ubuntu Edge will miss $32M crowdfunding target"

The interesting underlying question:

Does creating a data-based model about the future, predicting the future and publicly circulating this prediction invalidate the model itself (and thus the prediction) or not?
Never anything official, and I do it rarely, so it doesn't really change my access pattern. I only tether when I'm in a coffee shop and the wifi there is bad. I'm not the sort of user that streams Netflix via tethering or something, although I know those people exist.
Official trailer for Jobs biopic [Youtube]
It is also the only one library available for Golang atm.

Actually I think that this example written in Java8 with lambda expressions would be more impressive.
Ah, the good ol' doorway pages. Back in the 90s my whole neighbourhood was full of kids generating them and having them indexed.
"Chicken and egg problems" are called "feedback loops" in the adultland and are actually well understood...
The recorded video just shows up as a green screen for me on a MBP Retina, OSX 10.8
@dorolow, your comment is dead because it used the auto-banned word "mast?rb?tion" (uncensored). FYI.
I'm an ethnic Swede and I hope Internet anonymity is a sufficient substitute for being drunk. I don't mind the immigrants. I think the overall effect on the nation is positive.

And I'm fed up with stupid racists that think that they just say what everyone really thinks. You don't represent us. We think you are stupid and ignorant.
Totally my first impression, too. That these poor people might have to endure even a fraction of the 'block war' life portrayed in Dredd, albeit sans the sci-fi elements, is probably not too far fetched.
Bindr - A small JavaScript dependency injection framework
Oh, agreed. I was surprised at the attitude that taking code might be a commonplace thing. Didn't mean to defend the punishment.
why do words like 'idiots' and 'dummies' need to be on the first page.
Wait, so you honestly believe canonical is doing this out of the goodness of their heart, and doesn't want to control it?
Also sad:
http://360gigapixels.com/tokyo-tower-panorama-photo/?v=233.3...
Hi this is a known bug that affects many apps on the Mac - we have written about it in the FAQ's on the site and also in the GitHub repo.

If you re-boot your machine that generally sorts it out, we think it is caused by machines with dual GFX cards and dynamic switching.
Some campaings can run for years without being monitered. You basically just watch the income stream, if it starts going down you know something is up (someone might have found the same niché/keyword etc.).. It _can_ definitiely be pretty passive.
On swannodette's previous blogpost, he wrote in Reactive style:

(defn ex0-key-events [prevent-default?]
(->> (events js/window "keydown" prevent-default?)
(map key-event->keycode)
(filter KEYS)
(map key->keyword)))

Where did the `events` function (line 2) come from? Does it create a lazy dechunked seq which takes events from a buffered channel? Is it built atop RxJS?

(Sorry, I haven't yet used ClojureScript, only Clojure. Googling didn't help.)
A censored hotel bathroom: http://360gigapixels.com/tokyo-tower-panorama-photo/?v=-154....
Possibly - it's open source so you can always suggest via the GitHub repository https://github.com/petetak/QuickCast/issues
These controls are obnoxious.
What I was trying to say:

When people bend over, your best bet is to get "right behind" them, if you know what I mean ;-)
The only thing scarier than terrorists? Cyber-terrorists, right?!

The paranoid, cynical parts of me think this system was set out with flashing lights so it would be easily compromised, so people can justify "cyber-security" bills like CISPA.

It doesn't even take a lot of cynicism or conspiracy theory to believe the powers that be had a wishlist before 9/11, hence USAPATRIOT Act etc. If we have a "cyber-9/11", I'm sure they'll be ready with that wishlist too, and octogenarian technophobic legislators will be more than happy to do their part to look like they're doing something.
Works fine on Android stock browser (Galaxy Nexus)
Wikipedia founder brands PM's porn filters plan 'ridiculous'
Censored with a <div> overlay ;)
Few things :

- functional is accumulative in thinking. I can evaluate each step gradually without doing anything more than function composition. In imperative programming its coupled.

- functional is side-effect free, can't mis-assign res.

- functional is abstract friendly, I can pass the predicate I want, same for accumulation/combination.

I kinda agree that the imperative code is somehow easier to read (3 little chunks of lines instead of 3 nested composition) but to write, test or adapt the functional way as some advantages.