Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
samdk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
91.
▲
by
samdk
15y ago
HN's response so far to this is disappointing. It's easy to read the first page (or just the headline) and come up with the "you're not paying enough/your problems aren't interesting enough" response. That's what pretty much everyone who's
92.
▲
by
samdk
15y ago
I'd add Types and Programming Languages to that list.
93.
▲
by
samdk
15y ago
Python and Ruby both have separate arrays and hashes. They're completely different data structures in both cases. Python's dict type is a hash table like you'd expect. Python's list is a pointer-array-backed list. (it may inline ints/si
94.
▲
by
samdk
15y ago
To add: stop reading the same things over and over. A recurring theme of discussion on HN is whether or not the submissions are getting worse. I tend to think they're not. (Although the comments are another story.) It's just that the twenti
95.
▲
by
samdk
15y ago
Async includes a module called Monitor that lets you correctly handle exceptions in async code. The signature of one of the most commonly used methods is this: Monitor.try_with : ?name : string -> (unit -
96.
▲
by
samdk
15y ago
Jane Street's Async library for OCaml does this: http://ocaml.janestreet.com/?q=node/100 . It's excellent, and I now miss it in every other language I use. Code looks something like this: ... (* long_running_call : unit -> st
97.
▲
by
samdk
15y ago
I finished up a job search a month and a half ago, and there were several places I didn't bother to apply to because I found their job posts annoying. Pretty much anything than mentioned being a "ninja" or a "rockstar" was ignored immediate
98.
▲
by
samdk
15y ago
There's really not a whole lot abstracted about it. It is really hard and impractical for actually accomplishing anything, but it's also pretty easy to see how it maps to a Turing machine if you know what the actual definition of a Turing
99.
▲
by
samdk
15y ago
It really depends where you're starting from. If you don't have any idea what a particular piece of code does, finding that out is your first goal. If you can, ask someone: a two-sentence summary of what a module does can save you hours of
100.
▲
by
samdk
15y ago
These are all very valid points. Several of them (the ones related to DRM, mostly) kept me from buying a Kindle for a very long time. However, I love my Kindle. First and most importantly, it means that books can now compete with the intern
101.
▲
Node Knockout registration open (edit: now full)
(nodeknockout.com)
26 points
by
samdk
15y ago
|
12 comments
102.
▲
by
samdk
15y ago
Not with my money. You taking my money without specifically asking means that I will never, ever do business with you again. (And that I'll specifically warn other people against dealing with you.) "It's better to ask forgiveness than permi
103.
▲
by
samdk
15y ago
1. I think you're wrong. I would agree that JavaScript's syntax is not great, but it's still better than Java's. (And dynamic typing, whatever your complaints with it, does significantly reduce how verbose the language is.) Also, first-clas
104.
▲
by
samdk
15y ago
This looks very interesting on a technical level, but I'm not sure it really solves the problem of people using bad passwords, and it has some serious usability problems. As far as I can see, this method is likely good enough to help in cas
105.
▲
by
samdk
15y ago
I think that not having points has some nice qualities, but it also feels like I'm being denied information that I find useful in reading/skimming a thread. I've noticed I find reading HN a lot harder while this has been in effect. (I've al
106.
▲
by
samdk
16y ago
I'm going to be a dissenting voice here and say that these need a lot of work, because I think that's a lot more useful than saying they look nice. Please don't take this too negatively, because I'm not trying to tear you down and say these
107.
▲
by
samdk
16y ago
From the HN guidelines: "Please submit the original source. If a blog post reports on something they found on another site, submit the latter." The submitted post is badly written, covered in ads, and includes less information than the orig
108.
▲
by
samdk
16y ago
Awesome, thank you. I'm definitely going to be checking this out the next time I do server admin. Or maybe even just the next time I'm setting up a new development environment--it'd be nice to not have to remember to install everything manu
109.
▲
by
samdk
16y ago
I'm not sure if it's where the 'param: Type' idiom is where it came from originally, but its use in Mirah almost certainly descended from its use in Haskell and ML. Scala also uses it, and its use there is definitely ML/Haskell-inspired. (H
110.
▲
by
samdk
16y ago
If anyone is interested in this stuff, I recommend taking a look at "How Much Anonymity Does Network Latency Leak?", by Hopper, Vasserman, and Chan-Tin, published in ACM Transactions on Information and System Security. (There's a PDF link l
111.
▲
by
samdk
16y ago
You can set up default private browsing/incognito mode if you want to. None of the major browsers have support for doing it through the normal options GUI as far as I know, but getting it working isn't at all hard. In Firefox, set the "brow
112.
▲
by
samdk
16y ago
Why is it stretching things a little far? Non-infinite tape is, as you noted, a limit on everything we consider turing complete: this is just running at a much higher level of abstraction than your computer. You could (if you were so incl
113.
▲
by
samdk
16y ago
Running coffee -cw *.coffee will watch all of the CoffeeScript files in a directory and compile them to JavaScript whenever they change, which is what I use for keeping things updated in development, and the production deployment s
114.
▲
by
samdk
16y ago
SendGrid and MailChimp might be large competitors relative to the size of PostageApp, but the scale difference is orders of magnitude less than the scale difference between WePay and PayPal. I counted 18 people on the "team" page of SendG
115.
▲
by
samdk
16y ago
That's not why I use Vim, and that's not why most people use Vim. I use Vim because it's an enormously powerful tool that makes me more efficient and because I enjoy using it. (I've never spent four hours attempting to debug my code only to
116.
▲
by
samdk
16y ago
Evaluate what the consequences of getting a 90% average are, and decide whether it's going to hurt you or not. If you're applying to very selective schools it likely will. If you're starting your own company it won't matter at all. I did mo
117.
▲
by
samdk
16y ago
One option is Tarsnap ( http://www.tarsnap.com/ ), which is developed by HN's cperciva ( http://news.ycombinator.com/user?id=cperciva ). It's specifically written to be secure online backup. Another option is using Dropbox, but with some ki
118.
▲
by
samdk
16y ago
Things like Node Knockout and Rails Rumble are a great way of identifying potential problems relatively quickly. From experience, it's high-stress and you're more irritable than normal because you haven't been getting enough sleep. It's ve
119.
▲
by
samdk
16y ago
This sentence in particular stuck out to me: The novice writer, he argues, has a "natural tendency ... to think primarily of himself—hence to write primarily for himself." One of my writing professors had us write a description
120.
▲
by
samdk
16y ago
The problem is not that infographics are aesthetically pleasing. The term "infographic" has come to be represented with low-content, high-flashiness presentations of data. (There are many good graphics that also convey information. "Infogra
More ›