skysight-inc/HackerNews huggingface dataset:
Ask HN: Any suggested Canadian Cloud Hosting providers?
Hello HN,

My co-founder and I are about to build our first B2B web startup. One of our requirements is that our client data must reside in Canada. Any good Canadian Cloud Hosting services? Something on the lines Linode/Digital Ocean.

Thanks in advance!
patternpaul
Ah, that's neat. I usually just build these forms without the Rails helpers, using something like:

<form>
<input type='text' name='email' value='<%= params[:email] %>' />
</form>

Which works out nicely, since the method defaults to 'GET' and the action defaults to the current path.
Static linking is practically impossible on modern Unix because of bullet point 4 in nopaste7's linked page.

> all kinds of features in the libc (locale (through iconv), NSS, IDN, ...) require dynamic linking (...)

These are all features which have been shoehorned into libc on Linux, but only work when it's a shared library because they rely on shared state. I would argue a cleaner way of implementing them would have been as services, but alas, you have what you have.
My synthesis of the acme/plan9 folks and the mainstream is that color can be useful in an environment, but the way it's currently used is not. Like this guy points out, there's no point highlighting language keywords; we're just doing it because it's easy to do so. Rather conserve the color and our attention for when it's truly needed.

But the need for color seems too strong to fight with pure rationality. Perhaps it's enough that adding a little color to an environment we spend a significant amount of our lives in makes us happy. Since I have no taste, garishness doesn't bother me :)

Here's an example of color being used in a relatively staid place -- and paying for itself: https://plus.google.com/110440139189906861022/posts/UqyUZdqP...

Hopefully these considerations will be subsumed by new research by Bret Victor or Rune Madsen (http://vimeo.com/61113159).

For now, here's my preferred syntax highlighting, with just a dash of color in most usual places, but two colors for comments: http://i.imgur.com/H1h7M.png. (Why 2 comment colors? http://akkartik.name/post/2012-11-24-18-10-36-soc has the scoop.) Notice how the left pane is C++ and the right pane is my toy lisp, and the syntax kinda harmonizes.
Show HN: Online SID-Player with spectrum viewer
I... don't follow.
I don't see why this is a good thing. One of the consequences of committing a crime is that your conviction becomes part of the public record.

I am all for trying to convince employers that certain past crimes are not relevant for employment, if that is really the case. But I don't see why the government should be forcing employers to ignore past convictions, or why employers should have to prove that the information is relevant.

Of all the categories we might seek to protect, be it race, gender, religion, etc., past convictions strike me as the least worthy of protection.
there's a package (called gadfly) that works like r's ggplot2. i haven't used either a huge amount, so it's possible the julia version has gaps, but i could produce basic, very attractive graphs with ease in both languages.
The reason Python devs may not know this is that almost nobody runs python with -OO -- as it's mostly a no-op with barely any in-place optimisations. At least not in CPython.

Most developers who work with executable compilers tend to know about this sort of thing already; no doubt because for some of them they've done this very thing by accident and gotten burnt by it at some point or another.
I'm sorry to say that, and I didn't even visited the link, but I actually laughed when reading the title of this link. After the thread about what 4chan thinks of HN, this is like HN trying to parody itself :-D.
I don't suppose any of y'all would know of a Model-M type keyboard, with nice clicky keys, but without:

1. the windows buttons
and
2. the right keypad

I find that I never use the keypad anymore and that the increased distance to the trackball is rather of a pain.
Most of why I think it is nutty is because most of the reasons given to support disabling highlighting boil down to "I don't like this particular colorscheme". Which editors make it difficult to customize your colorscheme? All of the popular ones that I know of make it simple. Even nano makes it simple.
Not a bad idea at first glance, until you consider the poor guy or gal whose job it is to review them, not to mention the need to prevent people from copy/pasting the answer from a search result. I guess you would have to have a karma threshold before being offered a chance to solve fizzbuzz, in order to keep the volume manageable. For the second issue, you would probably need to do it in person at your local HN branch office and hope your reviewer knows your preferred programming language.

That's not even getting into the discussion of whether programming knowledge is the only field of value for contributors to HN.

That said, it would be interesting if people had to put an answer to fizzbuzz in an area of their profile once they hit the karma threshold in order to get voting rights, (can't be null) and then peers could vote/comment on the answer.
If it's anything like what my brother does, the problem is not the keyboard, but in trying to press through the key.
Sounds like childhood :-)
Thanks for pointing out that security vulnerability -- blessedly, I didn't use current legal name/address info for the website (I do my best to be cagey about that stuff online -- that's similar to, but not identical to, my actual name), but I'll have to look into obscuring the WHOIS information further. Pisses me off to have to pay for privacy, when that information shouldn't be public for private individuals who own a domain.

And, yes, I really do value my privacy -- but, since my own knowledge of trackback information is limited (and Google Image Search is much more recent than the creation of my personal site), it's less that I don't value my privacy, and more that I failed to foresee that using the same profile photo (not even name/nym) on more than one site would create a security vulnerability.

I appreciate the heads-up, but, again, this only emphasizes the issues of Google (and the issue of requiring personal information to be visible on WHOIS to anyone other than government agencies) encroaching on personal privacy and the ability to compartmentalize profiles between different services.

I'm a different person on G+, Flickr, FB, LJ, etc. -- I tailor my posts to the interest groups that I share in various locations (and my perception of my own privacy -- I realize that a subpoena would break the security of a friends-locked post on LJ, but it's at least a relatively private space to share more personal information, whereas my profile on G+ has been more deliberately forward-facing, because I was interested in engaging with people outside my existing trust circle.

Putting my real name into YouTube actually was the problem that sparked my original post -- but it's symptomatic of a larger issue, the deliberate contraction of the ability to create persistent pseudonyms and personae that are consistent within the bounds of a single social network, but aren't necessarily easily trackable/connectible by a random stranger.

(I will say -- finding this out did decrease my sense of safety, since it's obvious that my intent to compartmentalize by using different persistent nyms, and building reputation under each nym, which can vary based on platform, was insufficient to protect a casual observer from landing on what COULD have been my actual name and address, had I not deliberately decided to risk the loss of my domain by putting in information that was designed to trap spammers -- i.e., if I got something addressed to that specific name, I knew that it was coming from someone who had looked up the WHOIS info.)
That's crazy. They were aware of the problem and willing to take steps to fix it, but why not fix it at the source? You'd think that it would be better to test everything at the factory rather than trying to shoehorn it in at the store.
BTW: cross compiling/deploying Go programs also works very good if the runtime is a shared lib.
I'm doing so all time using gccgo.
Calling a function 30 times isn't the problem. It's calling the server 30 times that is the problem.
With the PS4 selling faster than the initial PS3, I would expect it to quickly gather steam with developers. Life is way too short to cling to older technologies.

"The company has said it expects to sell five million units by March, which would beat the initial sales rollout of its last-generation videogame device, the PlayStation 3, which sold 3.5 million units worldwide over the same introductory period."
As other people said earlier, reading existing code is great, when you have good sources. I'm an almost noob in C, and currently reading Ian Piumarta sources[1], I find they're superb in presentation and design.

http://piumarta.com/software/

[1] mostly for maru, his lisp system, but even tty2html (ascii control -> html) is very clean and elegant.
On the conversation with ourselves. (A.F. Knigge, 1805)
Yeah, I have used a Happy Hacking Keyboard, the IBM Model M, a really nice Phillips keyboard with a sweet touch after the first small signs of RSI I switched to the M$ Natural Ergonomic Keyboard 4000.
I went through two of these already (they don't seem to be that well-built), but they are only 35€ or so and they also work well with OS X and Linux.
5 ways to increase sales this holiday season with better customer service
>Ask HN: Why is nobody using [obscure niche technology from the 80s]?
It needs to have secure-by-default consumer applications which are trivial to use.
The poultry industry sells 19 million chickens each day every day, each year every year, in the US alone.
You explain the "what" but not the "why".
I wouldn't play it.

Proof of concept apps in few lines of code might be cool, but the devil is in the details. The last 10% takes 90% of the time.
Verified/full names are incompatible with profiles/content that are public by default.
I have little objection to some people preferring fewer colors or having fewer things called out for coloring. What I don't understand is the leap from "This particular scheme is totally overdoing it" to "Let's discard the notion entirely" Merely adjusting the colors that you use and the things that you highlight seems like a clear winning solution.
I wear headphones at work to muffle the sounds from these mechanical type keyboards. It's very annoying and disruptive.
And the same isn't true for the USD ? It's only true to the extent you believe the US government can't fail to increase economic activity YoY. Or, say, for a small currency like the famous Swiss franc ? There are plenty of currencies where the stability of the state behind it is in doubt. I would say dictatorships like Dubai or Kuwait or ..., who have very badly paid "slaves" who far outnumber their own population are at a very significant risk of revolt. Or rather, they would never be able to prevent an even mildly popular revolt from taking over the state. They're not worthless, in fact they can be quite valuable.

And then of course, there's currencies of states that have little qualms of open currency manipulation like the Renminbi.

But even the USD, or at the very least it's value, but I'd argue the US state itself as well, has several critical dependencies. Oil would be the most obvious one, but easy and safe access to the seas, not just around the US, but all over the planet. And I'm sure there's dozens of other things.

In short : The US is not invincible, and I'm pretty sure the status of the USD currently does reflect that belief.

Note that this is a falsehood. Speaking on an indefinite timescale, it's an absolute certainty the US will fail. And economic output will falter with a much greater certainty. So it's a matter of when, not if. And the USD may have lasted longer than average for a currency, but it's nowhere near the top (that would be the Holy Roman Empire and it's Guilder (later replaced, and it's complex, depending on regions, ... I guess when a state celebrates a millenium's existence some issues crop up with the currency and they have to play around with it. Some day the US may be lucky enough to have to do the same. The "real" currency can be said to be silver).

It's also humbling to think that this very, very, very long running state did fail eventually (yes, you can make an argument that it didn't really fail, only parts did, most made smooth transitions to their currently existing forms ... I wouldn't agree with that argument but it's not indefensible).
Using a daskeyboard, a razer mouse, steelseries mouse-pad and sony headphones.. I wouldn't replace them for anything else.

By the way, I've tried so many different options to get 2 screens + my laptop but it never really worked.. I'm running archlinux. I even bought a hardware switch to fake a wider resolution but it's kind of clunky. Does anyone know a good way to achieve that? (Be able to plug two screens into laptop?). I've got a mac-air.. maybe that explains the problem because I know of some graphic cards that can handle it better..
I'm going to agree with another comment on this thread: the best opportunity for you is to set yourself up as a one man consulting company, and proceed that way. If eventually you get a pardon or get your record sealed, then employment won't be a problem anymore, but as it stands, contracting might be your best opportunity.
I just got mine on the weekend! I have it set as a home theater PC with Rasbmc, so far I am absolutely loving it.
I'm 50/50 on this. A pot conviction doesn't matter - a murder conviction might (depending on circumstances, I guess). Why should someone be shamed for life for something that isn't a big deal, and has no bearing on professional accomplishment/ambitions. If you think a pot conviction hinders someone from doing their job, then I think it's up to you to explain why.

If Person A has an engineering degree from Stanford and passes in-interview personality tests, and person B has the exact same degree and is just as likable/desirable as an employee, but person B has a one-time pot conviction record - then both people are still equally hirable in my mind. I just don't see the disconnect where that needs to be weighed at all in the hiring process.
In the sense of using an original PS-2 or older keyboard I agree however Unicomp still makes the Model-M and they are essentially identical to the old Model-M's (and still fantastic keyboards) but since I wanted one for the office at home and one for the office at work I could get two G80's for less than a single Unicomp Model-M so it was a sensible buy.

In addition I really like the no-nonsense Cherry design, it feels like a tool and not a fashion statement.
I prefer flat laptop-like keyboards. They are cheap, quiet, and they also seem to cause the least amount of strain.
It's not bad, but I like the Unicomp SpaceSaver better: http://jseliger.wordpress.com/2011/07/17/further-thoughts-on... .
Sadly it is a trend, started with companies adding toolbars to software you have to deselect, then they ask you again EVERY update (Adode looking at you amongst others here). Then there is the constant mistargeted adverts, say for a product you already own, analytics at its meh.

Personaly one that has been grinding my gears recently is avast on a pc which constantly keeps popping up a link to read about FB privacy, I don't do Facebook and with that my privacy is alrady covered. yet this pop's up many a time, I use 3G internet upon that PC so suspect every time I get a new IP (often) then the advertising popup for the self promoting article gets flagged up again.

In an age of computers able to remember what we forget or wish to forget it is somewhat annoying to be asked the same question over and over again in the hope you will eventualy say yes too there satisfaction and voiding the upmteen no responses you have said. Yet once you say yes you aint asked again if you would like to say no instead, funny that.

But this is the case with software you can't download, hack about and compile to taste. With that I support this mentality as it will only push people into learning something new. That said if I ever have a problem with a company like google can I ask them umpteen times the same question until I get the answer I want? Only fair in implied contract law perhaps :).

With that the days of software acting like a small kid constantly asking for a bike at for Christmas will be with us for a while longer until the yes and no response have equal value too them. Until then, is it yes yet? is it yes yet? is it yes yet?.....
FYI, proper SI nomenclature for milliseconds is ms, not mS :)

SI units are not capitalized unless they are someone's name, such as Pascal (pressure) or Newton (force) etc.
While this device looks awesome and would be really helpful, I don't think the fund raising strategy will work out. Especially not the goal for certification. And without certification, it's essentially useless for human medicine.

What might work is approaching charities eager to develop this device for use in the developing world.
Just because something gets talked about a lot doesn't mean there's a real issue. The problem is with perception and it's not the reality.

Looking forward to a dataset to show me otherwise. One that clearly defines the subjective nature of "quality" and "degradation" of comments.
You can't downvote submissions; you can only flag them.
It's unfair to the office mates of those who use these hipster keyboards. They are extremely loud. It's amplified by those who have odd typing patterns too.
I really wish Apple would enforce that the screenshots had to be actually screenshots. The markings like in this one make it worse, but it seems like more and more popular games are just putting marketing images there and not bothering to include any game play.
Great!
Can you please shoot me an email so we can talk the details? jldrummond[]gmail
Its really more of a limitation of PDF. It is intended as a static format based on layouts the size of a full sheet of paper. Its internal representation does not lend its self to layout changes. Most attempt to fit it to a smaller screen are problematic in one way or another.

It would be better to start with a document format that was always intended to be flexible, not fossilized.
why did you delete your G+ profile if you want to use G+ features?
The interesting contrast here is how things are done on Windows.

The reason most C++ programs ran on all Windows computers (and with such a tiny file size) is Windows shipped with the common libraries (C++ runtime) required to run the programs.

When Borland came out with Delphi they wanted Microsoft to include some of their own common libraries to reduce the footprint of the executable -- but Microsoft said no, meaning Delphi's executables had to have everything linked into it statically, resulting in files that were an order of magnitude bigger. Aside from the stigma from larger file sizes in an era (the 90s) when this mattered, they arguably came out ahead in this department as Delphi by default avoided "DLL hell" (until MS solved it more or less definitively with Windows 2000) and would run anywhere, on anything, with no additional dependencies.
I think the source of the perennial confusion over this issue is that some software development is actually engineering, but most is greese monkeying. The software mechanics resent the engineering questions but the engineers can't understand how you could not ask them. In truth the work of both camps is fundamentally different.
Is it? I can only speak from my experience but I've never been in a situation where I had only one job offer after a couple weeks of search. Neither any of the candidates I'd been interviewing had that interview as their only option.

It could be a way to go if you are hiring in a small town with no competition and the prospective candidates value not having to move much more than possible better offers elsewhere. Same if the candidates are not able to get many offers and appreciate the value of just a good shot for one.
If you're a kinkster there was a "What do you do with your Pi" post on reddit a while ago, and some guy basically programmed it to fuck his wife - the joke of course being that a true hacker will attempt to automate everything, including romance.
Need to insert "[Some app] in [# of lines] of JavaScript" in that 4chan thread.
Point is that any review of clicky keyboards is incomplete without mention of the new school boards. Unicomp also, unlike IBM, does not make a tenkeyless.
Mechanical keyboards are actually quite a broad market. Of course Cherry are the most famous, aside of vintage models like the Model M, and Model M users often actually discount modern mechanical keyboards since they think Cherry is representative of modern mechanicals and those aren't like Model Ms.

I use the Matias Mini Tactile Pro with my Mac http://matias.ca/minitactilepro/mac/ . It has custom Matias Click switches that they say emulate the old ALPS switches before ALPS changed hands. It's probably my favorite keyboard that I've ever used, and I'd say that it's a nice middle ground between buckling spring (which can be actually too difficult to use, as evidenced by reports of injuries in this thread) and the softer, less tactile Cherry switches.

I do also have a Rosewill RK-9000BR with Cherry Brown microswitches for my gaming PC, and enjoy that as well.

edit: Also, this thread has taught me about Topre switches, so cool!
Mainstream is a very context specific term. Julia is not a general purpose language, it's primarily for numeric computing. Within the domain of technical computing it's one of the most expressive languages.
If you set an application to use more file descriptors than ulimit -n returns, then either the application will be smart and fix its configuration by using MAX(configured limit, ulimit -n) or it'll start dropping requests because it's assuming it's allowed to open more file descriptors.

Increasing an application's maximum file descriptors past ulimit -n is bad advice. The proper way is to increase the limit in /etc/security/limits.conf (note that assigning a limit to * applies it to every user but root, so if you really want to assign a limit to every user, you must assign it to both * and root) and then increase the application's max file descriptors. Restarting the application is usually required, although on newer versions of Linux, changing limits for running processes is possible.
Well, I'm ready to declare that cryptocurrencies are here to stay, even if BTC itself loses. In that sense it is already pretty huge to me.

For some other definition of HUGE, the first thing that comes to mind would be any top 20 GDP government accepting it as a way to pay taxes. Switzerland is #20, so if they started accepting it, that'd be a HUGE deal, and doesn't seem nearly as unrealistic as, say, Mexico accepting it.
Interesting in theory, though it could get annoying fast (The first thing I do is always to turn off the bell).

Changing tone based on depth could be pretty interesting, as could tones representing things like unused variables.

Based on your preferences, you could also do things like have the noise grow unpleasant if you do something you shouldn't (e.g., reuse a variable name, write an impure function, etc.).
The ideal language-agnostic "robot wars" engine would prob involve just passing structured text messages over a socket via TCP. Then the robot's logic can be written in anything, as long as it could do sockets (which almost every language/stdlib/runtime/OS you care about can do already), and, could be running remotely or locally.
Traffic lights should be monotone and drivers should just know what position means what.

Whatever metaphor you use, this is just dumb.