skysight-inc/HackerNews huggingface dataset:
why? what about the usecase i presented? mysql-workbench is no cli app. still, i'd like it to support multi-hop. and it should do so without me configuring it separately.

edit: to make this more clear. of course a heavily sandboxed app might not support .ssh/config. but it should not be able to read my keys as well. so i don't really see the point. a web-app is a very different thing. but node is not only about web apps anymore.
Fabric simulation in Processing using Verlet Integration
> A well-written method doesn't need explanation, because it obviously couldn't have been written any other way

I don't think I have anything nice I can say here, other than this smacks of the hopeless naivety
You are describing a zip/decompression bomb. Most zip and compression libs protect against them.

http://en.wikipedia.org/wiki/Zip_bomb
First thing first: thank you very much. VLC is a fine piece of software that has made me happy for so many hours!

A data point about your surprise: I don't like database-like interfaces, just a plain list of songs, taking the minimum screen real state. The only really useful extra feature I like is loudness adjustment per song, and I prefer to set it manually.
And also, what's the main font used for all the text? It's a lovely serif
Good catch. :) (of course, this is HN)

Mosaic is using VLM, but VLC's main playlist does not use it :)
Congratulations gentlemen.
I'm glad it's written in coffeescript, it's less verbose and easier to read.
> StackExchange still has the pseudonym problem.

You mean the Psuedonym feature. I participate on various stackexchanges with different aliases (sometimes on the same stackexchange) because I don't want anyone to be able to profile me.

I don't contribute on Quora, even though I have a lot to contribute.
That must be a bad day with Eclipse. Different projects, maybe.
If a programmer is incapable of doing this:

maybeGetFileHandle :: FilePath -> IOLikeMonad (Maybe Handle)

Why do you think they are capable of doing this?

foo :: FilePath -> IOLikeMonad (Maybe Handle)
-- If the file is available and can be read
-- return Some handle. Otherwise, return None.
Receiving a plaintext password via Email is not proof that the password is stored in plaintext in the database.

It is proof that they are not using a non-reversible hash to store it in their database.

They could be storing it using a reversible encryption algorithm, of which there are many, and they are not considered "insecure".

Or, in the worst case, they could be storing it unsecured. It's definitely a possibility.

It's poor practice, for sure, to email someone a plaintext password, as email itself is prone to numerous attack vectors.

But given the overall lack of evidence and insight into their back end, you don't have enough to draw either conclusion.
One problem with this, is that it's probably subjective what nonobvious code actually is. Of course, it's subjective how much commenting is enough, as well. In my experience, projects where it has been decided that comments are not required, have ended up with uncommented and nonobvious code - the worst of both worlds.

This could perhaps been prevented given proper code review processes, that were not in place. However, in a project with varied skill level, I would personally prefer advocating both commenting and obvious code, since the end result will probably be something inbetween.
Yes, we are trying to fix this, by proving it correctly, but cheap people like HP are trying to screw users with that.
For IE specific memory leak testing, I've found sIEve to be very helpful: http://home.wanadoo.nl/jsrosman/
Well, I disagree.

Test-drive your damn code. The difference in positive impact will be a few orders of magnitude.
Any person that gets their dirty, greasy finger prints on my monitor gets a FIST IN THEIR FACE!!!!!!!!!!!!

Cry me a river and get off my lawn! I grew up on 256x192 in 16 glorious colors... on a blurry 14" TV screen, with RF interference both ways!

Oh, I see Microsoft is trying to sell monitors now.

Incredibly valid points, and that's just from the first page.
Note: not ragging on AAC, I think it's a very nice format, but it still is the primary iTunes media format and whilst many others do support it its got a lower level of support than mp3 across the board, but I can see how what I wrote might seem like I'm implying vendor lock in. For all the stick Apple gets about walled gardens they're surprisingly open on many other fronts.
Xkcd: Up Goer Five
Swiss public transportation. Have you been to Switzerland? It's an Old-World millionaire's dream.
Definitely great to have this as another local option.

Our preferred onshore hosting provider in recent times has been OrionVM. They are awesome in terms of customer service and raw IO performance, but they don't seem to want to augment their VPS offering with other essential components (eg: backups, DNS, S3-like file storage).

I definitely, for once, don't feel like we're at the end of the earth in terms of "developer love"*

*(I'm looking at you, Stripe).
Do you like lists? Try mywishli.st
Create Lists, Share and Check off Items with myWishli.st
> I do use C preprocessor whenever I can. But since ARM assembler uses # to refer to constants, and C preprocessor uses # for different purpose, you can't use it most of the time. I'd love to know if you have a work around.

My "work around", such as it is, is that the C standard says that # shall be followed by a macro parameter; if it isn't (as will be the case with # in ARM assembly) the behavior is undefined by the standard, and it happens that LLVM does the "right thing" (from the perspective of someone who wants to get things done without a lot of hassle) and simply passes the # through unchanged.

This is obviously imperfect, but it works for my purposes. It may not be sufficient for your needs.

The inability of (some builds of?) gas to support implicit sources under .syntax unified has also annoyed me.
Although to be honest that display at MoMA is a bunch of big glass cases with products in them. A lot of products. And I don't remember seeing the railway clock there, although the iPod definitely is.
Nice find, hadn't come across that which I think helps reinforce the point I was making. Apple seems pretty chilled about avoiding content DRM in many areas.
I work anywhere from 100 to 130 hours a month. I find I don't end up doing anything productive with the time off. I have a list of side projects I want to do, but non have been touched.

Instead I usually ride my bike. Which is productive in it's own way, and more the lifestyle I want anyway.
> I haven't heard a statement from Apple as to whether or not they're sorry or have otherwise made an excuse

Part of the $21 million is to not have to say that.
No, it is not intuitive. Or it is: Of course it can be helpful to have such a view available. But having that as default order for a music-library(!) is not intuitive at all. Especially not for people who don't even remember the last time they added music to their collection.

I'm sorry if one could interpret my writing as poor tone. I indeed think that only a very small minority of people would like that, but that is totally ok and it was not meant as an attack. The point was that you have to determine such things, find out wether your potential customers would like that, if you are targeting people at all. If not, it doesn't matter.

>As a rule: think first, then post.

Spare me the bullshit. To say I didn't think before writing is a totally unnecessary attack - I clearly made a legitimate point.
The current source engine is what they were talking about. It was designed to be module to allow for upgrades to the system, for example, since HL2 was release it's gained some major upgrades such as HDR, Soft particles, hardware accelerated facial animations, multi-core support, xbox360, ps3 and osx support (and currently in the process of adding linux support.) All that with very few and minor backward compatibility breaking instances.
mind sharing what kind of business this is? I'd like to do the same at some point soon..
Many HNers do, in fact, have very non-traditional work schedules. (For roughly the same reason why many have very non-traditional salaries. By the way, both are probably underreported out of modesty.)
"Look, there is what you intend and what you write. Your bugs are in between the two."

Umm no. Bugs are usually

a) a misinterpreation of the requirements (no amount of comments are going to save you) or

b) a (hopefully) subtle error in the code - again - I don't see how a comment is going to help you unless the comment is practically pseudo-code which I (hope) nobody is advocating.

Anyone have an example of the typical type of bug that is easier to fix when there are comments around? I agree about commenting "non-obvious" code though - at least in terms of it's intentions. Not necessarily as a way to fix bugs, but to prevent the next programmer from removing something that looks superfluous because nobody can remember why it's there. Something like (totally made up):

"Assign the customer id as a prefix to the comment field; SAP expects the format of <customer_id>__<comment> during import".
> I've visited the site as the googlebot user agent and it is exactly the same as what non-logged in users see

.. except, of course, that the googlebot just reads the HTML. The CSS3 blur only causes problems when you try to read the site visually, via a browser.

> They also aren't doing any tricks to hide the full response in the HTML.

Yes, that's why the googlebot can read it.

I don't know why you're bothering to argue that this isn't cloaking. It most assuredly is.

cloak
verb
conceal, hide, cover, veil, shroud, mask, obscure, cloud
TOR is THEIR network.
Well, they're paying 21 million dollars to:

1) Continue using the clock. If they lost the lawsuit, they would have to stop.

2) Not admit they are wrong.

3) Avoid a very public trial that competitors could point to and say "Apple copies too!"

All of those are probably worth more to Apple than the actual lawsuit damages.
a - Because I don't make that much money

b - Because it's not an easily available option. It's not impossible but having this kind of a "requirement" would be pretty limiting.
I think Johnny Neumann said it best: "There's no sense in being precise when you don't even know what you're talking about."
Test it first and you'll notice that comments become near useless.
Thin film, transparent in visible frequencies, nanoscale wires you can't see, harvests infrared, captures 6% of the incoming radiation, maybe 10% in 3-5 years, infrared accounts for 18% of sunlight. A good match for covering windows where you want to block the infrared anyway.
Does the same number of billion dollar companies die every 3 months?
Twice median wages means that you should actually be comfortably able to take 6 months off each year. Of course I understand also why you wouldn't want to sacrifice that money for more more free time, I'm just telling this is a decision more than a pure need.
Yes, please share. I didn't know this was possible.
Death Reloaded - in the future, will we die and return, just for fun?
Startups: Throw out your science fiction and start reading mysteries.
Simple Rules for Choosing between Industry and Academia
I'm a big fan of "Things" for iOS and OS X. I like being able to drag and drop items into different categories, cloud syncing (I always have it on my desktop and iPhone), and scheduling tasks (particularly recurring tasks) is great (1st saturday of every month, every tuesday, etc.).
No problem! Your app is awesome and deserves this kind of exposure!
IE10 for Windows 7 launching tomorrow
Shangri La Diet, self trial for 4 months, I'm convinced
Comparatively, pentalobe screws are trivial to machine

I'll have to take your word for that, because I don't know enough about screw and driver manufacturing to comment. Tri-wing looks less likely to have any advantage other than discouraging disassembly.

I'm sure Apple knew this wouldn't stop anybody very determined from working on a Mac, but it still causes a problem for someone like me. I don't fix hardware professionally, but I'm the person my friends usually come to when they have issues. I don't have a pentalobe or tri-wing screwdriver; I'd have to order them, and I would, but it would be a significant inconvenience.

It's the attitude that bothers me. It feels as if Apple is trying to retain control over the device after the customer buys it. I'm your Joe Random, and I'm offended.

I did not hear about someone swapping CPUs in any laptop lately

The Thinkpad T530, to give an example still uses a ZIF socket. CPU replacement is on page 93 of the Hardware Maintenance Manual, which Lenovo makes freely available on its website. This should be a shining example to all.
I enjoy hacking email copy so I rewrote this for fun trying to make it a little easier to take in:

----

Hi John,

I'm Joel, the founder of Buffer. Thanks so much for signing up.

It's probably not every day you sign up to something new so I want you to know that my team and I are here to make you happy, 24/7.

You should try out our awesome browser extension. It'll help you share amazing content to your friends and followers twice as fast.

Let me know if you have any questions or suggestions!

Have an awesome day.

Cheers!
Joel

P.S. You can catch me sharing interesting content on Twitter, @joelgascoigne and the team and I usually respond to emails within a few hours.
If the sequence of the last 3 numbers is not important (does not appear to be), then this appears to be relatively trivial. Unfortunatley, like the OP , I can only do this in ruby.
I'll attempt to do it tonight, and reply to you on here when its done.
Why comments are important: they represent intention.

A reasonable complex method can have a wide variety of inputs which the author can't be expected to have tested across the entire range of values. For example, if you have six boolean inputs, you have 2^6=64 possible combinations.

If you have six integer inputs, you have roughly (4e9)^6=4e57 combinations, which is more than the number of atoms in the Earth.

Expressing your intention means that when you (or someone else) come back to the code to change it, you can at least have an awareness of whether the behaviour you are seeing is in line with what you intended. Because a bug might not even be a bug - in that code - but a misuse of a method for something it wasn't meant to do.
Coke Revamps Web Site to Tell Its Story
Why not Humor Overflow, where people can discuss what is funny and why, or why something isn't funny. Maybe why something is no longer funny -- or is funny in one language or culture, but not another.
It depends on your usage patterns. I found myself having tons of slightly overlapping windows, and that I was using the mouse too much to rearrange and move them. There are other "solutions" to this problem, but tiling seemed like the right one for me.

Tiling allows me to quickly max/min windows, quickly change desktops, and layout the apps I want. Is it the one true way? No. There are others means to that end.

If you are referring to my video of clocks, that was a test case for 4 monitor support. Yes xclock looks horrible in tiled fashion, but it is an app that tends to be installed so and thus gets used in tests.

I use kde apps in qtile all the time. It is just a wm and can replace metacity or kdewin if you please.

YMMV and you should use what you feel most productive in. I used KDE for years, then Awesome, and preferred hacking qtile in Python rather than Awesome's Lua.
but taking 3 or 6 months off per year should be doable in this profession due to the nature of the work and very high earnings.

It would be doable money-wise but I would think it would be hard to find a company willing to go along with this arrangement- although if people know otherwise I'd love to hear which companies offer this level of flexibility. In the past, others have suggested using the time between jobs for this - but (in the US at least) you'd still need to pay into COBRA if you wanted your health insurance to continue during that time. Also, having worked through the dot-com period at the beginning of the last decade, I'm always a little cautious about assuming that it will be easy to land the next gig.
Liberator: the untold history of the first British laptop
Agreed, keeping it simple. It'd be cool if more services resorted to well-crafted text-only emails. Never going to happen, heh.
Maybe that's too late for you to see it, but it would be great if there would be other login possibilities than google.
New speakers announced for Exceptionally Hard & Soft Meeting - Berlin
these are indeed autogenerated, as people reported when this hit reddit some days ago.
What Spending $66,372.09 On Paid Advertising Taught Me
Unfortunately VS does so many things that Netbeans and Eclipse are it's only real rivals, but in terms of being an excellent IDE Qt Creator is fantastic to use, but it's very driven to just be excellent as a C++/Qt IDE.
Been using qtile on my TP for 3 years. At work I'm running it in a vm on a MBP with my nice unicomp keyboard.

If you like Python and tiling, I'm convinced this is the way to go. Xmonad is cool but requires Haskell (not that that is good or bad, it's just the way it is) and I'm already proficient in Python.
The concept is nice but making it to market will still be tough. As far as windows and that type of small scale application, I hate to be a debbie downer but I think the cost of MPPTs (Maximum Power Point Trackers), transformers, inverters and storage shouldn't be overlooked. Most of those components become more cost effective with larger PV installations and 6% (or even 10% if they actually get there) means that a few windows probably won't really bring the scale that makes the rest of a PV system a cost effective solution. I do see this as a cachet product though, maybe in the same way that the solar-prius uses its solar to run fans...Hopefully the efficiency goes up and it can be brought to market. If it really can be sprayed on then any and every surface has potential (yuck yuck yuck).
do you see many classes named *Module in java?
This is a sort of disease I have not experiences yet.
Groupon, Daily Deals and the Complex Question of Business Failure
"An econometrics study of failures among businesses that have offered daily deals hints at a bewildering complexity behind this kind of marketing."
There is a big difference between being cruel and being helpful. Very often I see the former. I don't post my code, so this isn't about me. It's about what I see from others.
I wish I got a nickel for every one of these solar "game changer" headlines. I'd love to believe the hype, but these wondrous lab results don't seem to make it to the marketplace. By now we ought to have almost-free PV paint that we could paint onto every surface, turning our roofs into almost-free PV cells, windows that function as PV cells, etc. I don't mean to be cynical, but is this field more prone to hype, or just gets hyped more on HN, or what? Maybe the "game changer" hype stories ought to be tempered with some consideration of what might impede commercial development of the idea, like maybe why it's impractical after all.
Rackspace has opened in Australia too though right? They launched it a few months ago.

It's s necessary thing since you can't store any customer-identifying data offshore without explicit permission (see National Privacy Principles).
I signed up for Buffer but never got around to using it but I do remember this email and thinking how good it was
Why Washington Has It Wrong on Small Business
While its shorter, I think its very bullet pointy - if you know what I mean. The original text reads more fluidly as if it was a conversation. Even though its longer, it has a sense of personality - making it more readable.
libssh2 exposes its socket interface and can be used with any async event library.
It's a good feeling.

There's also Pin - https://pin.net.au/ which offers an alternative to Stripe for us in Aus, unfortunately it's still not live but they are saying 'soon'..
I think Jeff Atwood sums things up nicely: http://www.codinghorror.com/blog/2008/07/coding-without-comm...
MDRA - App For First Responders, Aid Scouts, Aid Centers
Thought that this was a great idea.
I used Awesome for about a year or so before qtile and haven't noticed any performance differences.
Nevermind Skeuomorphism, Just Get the Volume Display Out of My Face
This exactly. He has a very good Transformer setup that I'm going to duplicate. The only reason I could see for the PI is if he used it to provide USB Host mode or something similar - connecting the two long-term to extend their features.

OR if he were programming the PI from the Transformer...
If I worked less, I'd want to spend the extra free time doing something important. The problem is, I don't think there's anything I could spend my time on that would be (a) more important than my normal work and (b) at least as likely to succeed as my normal work. I'm much more likely to do something I can be proud of if I put all of my time into one project rather than splitting it between several different projects.

If work is just a thing you do for money, then minimizing the amount of time you spend doing it makes sense. If you actually find work satisfying and care about the results, then I think it often makes sense to devote as much time as possible without causing yourself to stop enjoying it or become unproductive.

Having said that, I do try to reserve some time for side projects because that's a good way to develop new skills that I can apply to my main project.
Ask HN: Things to consider when choosing an investor?
HN-

I don't even have a product yet, but did a quick pitch on the phone to an investor and he is potentially interested in investing in a MVP-level version of the product.

What are the most important things to consider with choosing an investor (considering you have the choice) ? What should I be looking out for?

Thanks!
I already said I am on the GNOME release team. So instead of referencing LWN, I'd rather reference GNOME release team meeting minutes: https://mail.gnome.org/archives/release-team/2012-November/m...

I'm not talking about BSD working together. I'm talking to participate. If you don't then you're ignored. IMO I've been quite thorough to explain my point-of-view, would appreciate if you could at least understand what I'm trying to say. An us-vs-them is not helpful.
Note that the following does not count as commenting your damn code:

// Get the account holder currency
$currency = $accountHolder->getCurrency();

Imagine several 10s of KLOCs where 99% of the comments are as worthless as this and most people are content with their efforts because they believe they are commenting thoroughly.
I too have found great satisfaction with being content with things the way which they are.

I use a train of thought along the lines of: All of my suffering comes from a desire to be somewhere I'm not.

Consider a captive. Imagine the isolation and abuse that goes along with a typical scenario of being held captive. Much like an animal put into captivity, if the captive accepts his/her life situation (of being in captivity, abuse and all) he/she does not suffer from it, it is simply his/her way of life.

Whether I like it or not, I'm a captive of life. That's not to say I shouldn't or can't influence it, of course I can, but I cannot make it what it is not. I can guide my life where I think it needs to go but I should have no expectations and welcome whatever I find, oasis and monsters alike, with a smile, curiosity and affection. It lets me be content, whatever the weather.
Browsed the site for the first time, looked for startups in my area, and I see companies listed that are the largest tech companies in the country that have been around for over a decade, with offices all over the world.

If the largest players in the game can be considered startups, I feel like the word has lost a lot of meaning.