skysight-inc/HackerNews huggingface dataset:
Overcharging and refusing fares is what we get now in the regulated system. In practice, "gypsy cabs" often serve neighborhoods where the regulated cabs don't bother to go.

Regarding "rob riders", direct robbery is still illegal - you don't need industry-based regulation to accomplish that end. But if by "rob" you really mean "cheat", the market has evolved multiple mechanisms to make fares transparent. One of these is the "zone card", where the price of the trip depends on how many zones away your destination is from your source. Where jitney traffic is legal, the zone map and price list could even be printed in a sticker on the door so you can see the expected fare before you get in.

Regarding "clog the roads", a functioning jitney system makes it much less necessary for people to own personal cars. (and as a non-car-owning manhattanite, I'd love for the roads to be "clogged" with cabs if that meant I could reliably find one to go to Brooklyn or Queens). (And again, major roads like 42nd street "clogged" with cabs is something the current system produces in spades.)
Launched an app to get your congress reps on the phone w/ a single button - http://www.airshipsoftware.com/contact-congress

Meant to be free for all, included a silly in-app purchase. Generated lots of calls to congress, got some press, currently losing $2.10/week on hosting.
Yes, but that sort of regulation doesn't require medallions.
What's New for Visual C++ in Visual Studio 2012 RC
I really like this book, but what I found most difficult when implementing a website is the authentication part.

How password should be encrypted? How session id should be generated and passed to the user? How session information should be saved? (cookie? file? database? memory?)

Also, I'd be interested in https, from theory to implementation.
Made http://www.clipchoose.com in May.

Never intended it to be profitable, more of a learning experience (first webapp).
This is brilliant !
Sms Lucu Terbaru Nih Sobat
Haha, awesome. Landing page needs a little unbootstrapping, imo. Concept is great!
Friend in question is certainly not a young junior dev - >10 years of dev experience, 8 in java, and does java training. Trainers may be more focused on language stuff vs admin stuff, so I cut some slack there. But.. the majority of java people I've known have been developers only, who don't do any server admin. Again, not saying java devs who know sys/server admin don't exist, but, the ones I know who do that aren't 'java devs' in the sense of only doing java, but tend to be polyglots with experience from multiple backgrounds.

I'm not sure why you'd not have a shared storage for session data in a multi-server system. What else do you suggest?

http://ehcache.org/documentation/configuration/configuration - that's an insane amount of configuration it looks like compared to something like PHP. It also looks like you're tying yourself to a specific caching solution vs having generalized session data.
So does that mean it's officially stable? This is great news.
To me, this question sounds like: "You moved your furniture by foot across town? Why didn't you use the bus?"
This isn't reddit! If you already have a discussion going on in reddit, why did you feel the need to post it here? HN doesn't give out achievements for number of threads.

This isn't reddit!
The author is trying to shoehorn this post into the "everyone should learn to code" debate, but that is a totally unrelated issue.

This post talks about switching from (VB to Python). That only happening after they've learned to code.
The author is trying to shoehorn this post into the "everyone should learn to code" debate, but that is a totally unrelated issue.

This is about people switching from (VB to Python), which is only happening after they've learned to code.
Storing password securely - hashses, salts and bit stretching put into context
I actually think the IDEs for Java, e.g. Eclipse and IntelliJ, are quite evolved and help speed webapp development, and they do it in ways that make up for Java's verbosity and boilerplate.

For me a lot of the web frameworks for Java felt cumbersome and I found that Java worked better when functioning as a high-throughput backend service instead of handling front-end UI. Oddly, with Java, I was more concerned with concurrency issues, GC tuning, threading, and other systems-y problems, and with Python I was more concerned with concise and Pythonic syntax and faster iteration.
> I don't know what is 'basic web development',

The type of web development where your controller renders a page. BTW I was quoting OP, where he mentioned he uses Java for basic web development.

> I mean if you are a front-end developer/designer and mess with CSS/JS/HTML all day (without format CS education), you are probably wondering why concurrency even exists, but in real-world programming you can't go far without it.

I said evented servers out-perform threaded servers. Threaded servers will eat more RAM and have higher cost of context switching. As far as application code goes, your controller isn't supposed to spawn threads(at least mine doesn't). The heavy-lifting should be done by the background services, and you can very well do concurrency in Ruby/Python(EventMachine, gevent). Generally, threaded code doesn't cut it where number of threads are large.

And I am pointing this out for the second time. You ignored it all and went on a tangential regarding how I am a frontend developer/designer without formal cs education, and am wondering why concurrency even exists.

> but in real-world programming you can't go far without it.

Yay. No true scottsman. All programming is real world programming, and you can go far without concurrency. Are templating engines real-world programming per your certification institute?
I think all of this was true 4 years ago. But Java EE 6 has changed a lot of this. My main experience has been on the Microsoft stack, but I have learned and worked with a lot of tech, including Rails and Django. Last year I worked on a project for which we chose Java EE 6.

There's a lot of good stuff there; for instance simple, bloat-free architecture, JPA (the new persistence architecture), CDI (context and dependency injection), JAX-RS (REST), JSF + PrimeFaces (very productive front-end development) and lightweight, fast web application servers (Tomcat 7, Glassfish).

And you have access, when and if you need it, to a very mature, stable and capable set of libraries, open source projects and tools. Plus the ability to deploy to almost anywhere including PaaS platforms.

So I think there's a lot to like in modern Java.
Manny Pacquiao Timothy Bradley
Manny Pacquiao Timothy Bradley
Manny Pacquiao VS Timothy Bradley continual left hand was initially obtaining their level way too usually http://mannypacquiaovsjuanmanuelmarquezfight.blogspot.com/2012/06/manny-pacquiao-vs-timothy-bradley.html
Best Free Tutorials For New Adobe Photoshop CS6
Show HN: The most beautiful places on earth
... when will they ever learn...
JSON's appeal is that it is both compact and human readable/editable. If you're willing to sacrifice all semblance of readability/editability, then sure, let's all do the binary marshaling format dance like it's 1983.

Additionally, if you're sending data to a browser, then you're cutting the knees out of native JSON.parse implementations (Internet Explorer 8+, Firefox 3.1+, Safari 4+, Chrome 3+, and Opera 10.5+). The copy claims "half the parsing time" (just because of smaller data size), but I'm exceptionally skeptical of those claims since this is just going to move the parser back into Javascript.

I whipped up a quick example to demonstrate my point: https://gist.github.com/2905882

My results (using Chrome's console):

JSON size: 386kb
MsgPack size: 332kb
Difference: -14%

Encoding with JSON.stringify 4 ms
Encoding with msgpack.pack 73 ms
Difference: 18.25x slower

Decoding with JSON.parse 4 ms
Decoding with msgpack.unpack 13 ms
Difference: 3.25x slower

So MsgPack wins the pre-gzip size comparison by 14%, but then is nearly twenty times slower at encoding the data, and is over three times slower at decoding it.

Furthermore, once you add in gzip:

out.json.gz: 4291 bytes
out.mpak.gz: 4073 bytes

So, our grand savings is 218 bytes in exchange for 78ms slower parsing time. It'd still be faster to use JSON's native encoding/decoding facilities even if your client were on a 28.8k baud modem.
I launched a simple app that puts new music releases in your iCal / Google Calendar or on a RSS Feed. It didn't really catch on, I've sort of given up. The UI kinda sucks too, I realised.

http://nearupon.herokuapp.com/
After having just read that Nestle has paid The American Diabetes Assoc. to say that there is no correlation between sugary sodas and candy to Diabetes; and that Dannon, and Kraft Foods, are in bed with the Dairy Industry, I'm very suspicious that the coffee industry is funding these researchers at FSU. (I'm a certified plant based nutritionist....eye-opening, to say the least!)
I quietly launched/brought out of beta http://requeue.com this year. I built it mainly for myself, since I found myself watching more and more long-format web video and wanted a better way to organize it.

The terms of the Youtube API pretty much rule out monetizing the site with advertising, but usage has (sadly?) been low enough that I just eat the cost of the two Linodes it takes to run.
And also caching, that is an important topic.
That kind of framework enthusiasm doesn't really stem from the closed minded mindset I was referring to. Most Ruby & Python devs I've met would admit that Java is a much better choice than their perspective languages for something like that requires distributed concurrency and speed (like Cassandra or Redis). The people I'm talking about are the ones that wouldn't look seriously at RabbitMQ because it's written in Erlang, not Java.
Same here. Here's the script for a git-aware bash prompt if anyone else is interested.

function parse_git_dirty {

[[ $(git status 2> /dev/null | tail -n1) != "nothing to commit (working directory clean)" ]] && echo "*"

}

function parse_git_branch {

git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e "s/* \(.*\)/ \1$(parse_git_dirty)/"

}

PS1='[\w$(parse_git_branch)] '
Yeah, the flipside of this is that taxis in London are ridiculously expensive and anyone except tourists, the very rich and the very desperate will just wind up hiring a Minicab, which means getting into a filthy wreck of a car with a random stranger who inevitably looks like a rapist, which is precisely what taxi licencing schemes are designed to avoid in the first place.
not yet, mb coming later.
I don't think it can survive apple
> as a taxi driver, with a time-based meter, traffic congestion may not decrease wages at all.

Um, no. The initial value on the meter is set in such a way that cabbies make more money from picking up lots of fares that from picking up one and getting it hopelessly stuck in traffic.

Incidentally, private jitneys (where legal or tolerated) evolved a different rate system that's even better for consumers - the "rate card". Instead of a big, expensive, complicated piece of machinery, there's a map of the city divided into "zones" and a flat rate to travel within one "zone" or to cross X number of zones. The map might be printed on a sticker on the door (so you see it before you enter the cab) or on a playing card or business card the driver displays or hands you.

As a passenger, you then know the cabbie has no incentive at all to waste time in traffic and you know what the fare will be at the time you get in.

Regulators don't like that system because they can't reliably tax unmetered trips.
Would be neat to see the items in a category which have had the sharpest price drop recently.
Parallel Stacks and Watch look to be much-needed debugging features.
We launched http://www.placesteal.com/ - an app for pushing postal addresses from the browser to your phone - and no-one really cared :-) Trying to find the time to open-source the JS part for extracting addresses from DOMs...
There's plenty of new development going on, both condo and rental apartments. New rentals are typically required to set aside some percentage of units for specific income levels (so-called affordable housing). Condos typically trade in 421-A tax credits (where new developments get very reduced property taxes for some period of time, in return the developer must build some number of "affordable housing" units, but not necessarily in the same building or even neighborhood).

Stabilization and Control have definitely warped the market, but to date no one, on either side of the tenant/landlord divide, nor in politics has come up with a workable way to deregulate the market. It was thought that eventually the Stabilization would go away because, as we all know, no one wants to live in New York City and eventually the vacancy rate would go to 5% or more.

In practice the highest it's been since 1974 is in the low 4% range in the 1980s and very early 1990s.
Basic source-to-source transformation with Clang
Thank you for your very in-depth explanation.
A minimum of three cups of caffeinated coffee daily for these results. I would never sleep again, even with Ambien. I don't believe it....some one's promoting coffee?!?! And I guarantee there's a lot of money being paid by the coffee industry.
We only just found out last year why it was problematic – on windows, OpenGL can only safely draw to a window that was created by the same thread. We created the window on the launch thread, but then did all the rendering on a separate render thread

I actually thought this was well known and documented as I've known it for years. Guess not :)

AFAIK you can use OpenGL in other threads, but you must lock the context to the current thread, which I believe means you're still only rendering from one thread at a time and possibly this is OpenGL 3+ ???

In my own multithreaded OpenGL code, my main thread always became the render thread after starting up the other subsystems. Well, render thread and input gathering thread (as that often needs to be done in the main thread too - at least in SDL).
We started http://www.fantasy5live.com – a real-time fantasy sports game for GAA, rugby and soccer. It's early days though.
This seems pretty great. Any plans for compatibility with Excel 2003 and 2007?
Debt-backed currency means someone is profiting off the mere existence of the currency

Why do people keep saying this? Ben Bernanke does not pocket the profits he makes off the currency. Almost all profits from printing money go straight to the Treasury.

"But now the Government can print money to monetize their debt--" except almost all credible inflation forecasts indicate the Fed isn't printing enough money, so I don't think we need to worry about this.

As for the banking system, the service charge on my bank account suggests they are not doing very well on the whole profits-from-holding-money thing.
We (plumgine.com - in private beta) have been using Java with a success with Play Framework and asynchronous AJAX fronted (some parts with Backbone.JS).

I have been using Java for a while (8 years - J2EE, Android, some desktop utils) and back in the JSF days I used to hate the Java web with a passion. Then I found Stripes (step in a good direction) and Play Framework (absolutely awesome Java web framework).

These days I can whip out prototype in Java+Play Framework faster than anything else.

Some of the reasons:

* I don't have to worry about naming methods/members because I can safely rename them later

* I can easily map Java objects to JSON and back using Jackson

* most of the time I don't worry about database schema - Hibernate (JPA) generates it for me

* Play Framework works in the "hit refresh" mode to see changes

* deployment to Heroku is as seamless as any other.

There is increasingly more action going on in the browser in JavaScript and I think Java (with Play Framework) is a great tool for building backend APIs that will be consumed by your JavaScript client.
Woah, emacs lisp now has lexical scoping
New features:

- New packaging system and interface (M-x list-packages) for
downloading and installing extensions. A default package archive is
hosted by GNU and maintained by the Emacs developers.

- Support for displaying and editing bidirectional text, including
right-to-left scripts such as Arabic and Hebrew.

- Support for lexical scoping in Emacs Lisp.

- Improvements to the Custom Themes system (M-x customize-themes).

- Unified and improved completion system in many modes and packages.

- Support for GnuTLS (for built-in TLS/SSL encryption), GTK+ 3,
ImageMagick, SELinux, and Libxml2.

This looks great. :)
Landlords and tenants have a contract. That contract can specify a long term lease, with inflation-linked rent rises.

Most places have rules for what can go into a rental contract. As you say, it should strike a balance, otherwise no-one will offer cheap rentals.
First real attempt at open source https://github.com/Radagaisus/Orpheus
> Your Java IDE also lets you move methods and fields, extract interfaces from concrete classes, push members up or down, find all references to a member (reliably), view inheritance relationships, and much more. And it can do all of those safely, warning you if you'll shadow another name. I wish I had that stuff in a Ruby IDE.

Some of it isn't applicable to Ruby, and some of it has to be done manually. True that you will have to rely on tests or something to make sure you didn't shadow anything, or you renamed at all places, or you didn't rename something which shouldn't have been renamed.

> I've used Eclipse for a long time, but not for JEE projects, and I don't see any "stop the world" behavior when it's compiling Java

What machine do you use? I was using a 4 gigs, dual core machine, and eclipse regularly stalled while compiling and launching.
This is just a sad Stokholm defence - against languages that threatens your sacred cow - which is understandable since the Java code example got pwned.

So rather than defending the code example on merit, you dive into pedantic nit-picking territory. I used to be defensive about my choice language as well, till I matured and realized holding onto sacred cows just hurts your ability to learn from others doing it better and being more productive; and just clouds your ability to choose the right tool for the job.

More code = more code, to read, to decipher, that hides intent, that adds complexity, that can have bugs and can go wrong. Code-size is codes worst enemy.

I don't even know Ruby, but it's implementation is vastly more readable and would look a lot closer to what the perfect DSL would look like for this task, than the Java example.
This looks cool. What's the in-app purchase?
Show HN: Worldwide battle of virtual missile attack and evasion
I think it made a lot of people smile when they saw the concept. Perhaps its time spin it into http://shipandsink.com/ ;-)
Things that can be libraries in other languages end up being "design patterns" in Java. It's just not flexible enouth, both Ruby and Haskell are more flexible than it. Both in different ways.
I find it interesting that the piece doesn't cite Hacker News as how the author discovered Iron Python. There is only this: "I’m glad I stumbled on to this project." For whatever reason, authors are generally good about citing other blogs as sources – even just for links, not commentary – but aggregators like HN are almost never acknowledged.
> surely bald deregulation is not optimal.

"optimal" is not one of our options. The relevant question is whether "bald deregulation" is better than what we've got now, and the answer to that is pretty obviously YES.

Sadly, "bald deregulation" is also not one of our options, but at least it's more likely than achieving something anywhere near "optimal".
> First, HTTP pipelining exists.

… and is not currently usable, nor as full-featured as SPDY even if correctly implemented by all vendors

> If the answer is "no," you have no business complaining about HTTP's performance—managing your assets better will improve performance far more than using SPDY alone will

Flat-out wrong: there are many use cases which require multiple requests (you only mentioned CSS/JS but images are significant, too) and this would be exhibit A for an HTTP deficiency: you've internalized the idea that a visitor to the site must download and process EVERYTHING you could ever use to avoid making multiple requests, wasting bandwidth and device CPU/memory because you're trying to use asset packaging as an end-run around protocol shortcomings.

As for databases, this was a fascinating and completely irrelevant digression.
Rugatu.com Q&A for bitcoins has launched in beta
It should be predictable to him. It's his kind that has degraded the quality of HN posts by turning it into reddit. Soon enough we'll be saying HN used to be worthwhile and interesting until it turned into reddit v2.
Actually my hostfile at work is for blocking things that are a waste of time. I pop reddit out and read proggit while I drink my morning coffee. I don't see where you got the idea I block HN because its predictable, that wouldn't make any sense.
tptacek or others with domain knowledge-

Is the timing attack hardening suggested in the blog post a standard approach?

If I was trying to attack a system and knew loosely that they did what he suggested (hashing then comparing vs comparing with timing exposed) , my untrained instinct would be that this is the weakest part. In other words I think this just makes the timing attack a little more difficult, but still possible, by producing specific hashes that carry out the timing attack.

When I've needed to harden comparisons against timing attacks, I've always just used constant time comparison functions, such as these ->

http://codahale.com/a-lesson-in-timing-attacks/
http://rdist.root.org/2010/01/07/timing-independent-array-co...
Purity is orthogonal to lambda abstractions. It's matter of what function can do (pure or not) and function creation (a lambda or something more verbose).
I'd have thought that the underwater "plane" designs would be cheaper, more fun, and safer than this.
I get the same times, more or less. I'm not sure the -client switch changes any behavior that early in the VM's life, before any garbage collection or sizable allocation happens. It would still be using a 64-bit data model with the -client switch (-d32 gives me: "Error: This Java instance does not support a 32-bit JVM.").
I made http://tutorials.github.com. It's a variant of a larger project I'm working on to make documentation more personalized and more awesome. I hacked it together during the Emerging Technologies in the Enterprise conference in Philadelphia, and I posted it to HN, but it never made it to the homepage.

I definitely should have polished it up more and included documentation on how to use it and why it's cool and why building it on Github's infrastructure was a particularly neat trick, but I announced it too early because I was excited.

I definitely underestimated the importance of proper marketing and UI, even for an MVP for the high-tech crowd.

Edit: typo and clickable link
yeah.... who didn't have that idea, creating a pinterest clone full of amazon affiliate links - would've been too easy if that actually worked ;) on a sidenote: good job on the design, looks solid!
I launched http://websocket.us/ to tell people about WebSocket. Unlike its competitor, websocket.org, it's not for profit.
The iPad needed animated GIF creation, but nobody wants to pay for one.
http://gifpl.us
https://www.blossom.io

because we haven't implemented payment yet :D
There is already a site like this: twitter.
Similar for native mobile apps https://github.com/couchbaselabs/TouchDB-iOS
I'm not sure about slow (though probably it is slow), but it surely eats a lot of RAM. Lots and lots of RAM.
I had good experiences with taxis in Spain (Barcelona), so it appears the regulation works. We asked our hotel what the rates should be to go to certain places, and the meter worked out to be in line with those. Maybe it's different in Madrid...
History Will Revere Gates, Forget Jobs
I was expecting another programming language.