Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jallmann
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
63 ms
·
541.
▲
by
jallmann
16y ago
Conversely, OCaml allows you the pleasure of a ML-style language without being shackled to .NET. It is a very, very nice language to work with. Its performance when compiled is nothing to sneeze at, either. Basically, short of any intensive
542.
▲
by
jallmann
16y ago
ssh on my phone has been a life saver quite a few times now, too.
543.
▲
by
jallmann
16y ago
Here's to hoping for a post on why streaming subtitles are taking so damn long to get out.
544.
▲
by
jallmann
16y ago
Yes, phone numbers are a legacy of the old telecom systems. SIP uses user@domain style URIs, and this can be mapped to a legacy number via ENUM, and vice versa. 4G cellular networks are all IP and use SIP for signalling. I doubt phones are
545.
▲
by
jallmann
16y ago
Directed Edge has some really insightful technical articles on their site. I did not know they were a YC company -- awesome.
546.
▲
by
jallmann
16y ago
Missed groovy, scala and basic. Actually surprised I missed the latter, but then again I never sat down and thought, "who invented basic?"
547.
▲
by
jallmann
16y ago
But this isn't idiomatic C# either, which makes it harder to write (or at least internalize), and harder for everybody else to maintain.
548.
▲
by
jallmann
16y ago
Sinatra is a great framework, but I think this just underscores how nice Ruby is for DSLs and frameworks. There is more boilerplate here with Nancy, and it just looks clunky. Not saying there isn't room for a lightweight C# framework though
549.
▲
by
jallmann
16y ago
Yeah, I've been wondering if there was a git equivalent to svn export. Haven't bothered enough to actually look for it though.
550.
▲
by
jallmann
16y ago
Try Tarsnap, which was purpose-built for secure data storage. The founder is a regular here on HN.
551.
▲
by
jallmann
16y ago
Good thoughts. The article did not say this outright, but it is also nice to build a chunk your app (if not all of it) on top of your own API. Not only is this good housekeeping, it helps in decoupling your code and forces you to keep thing
552.
▲
by
jallmann
16y ago
This is a good example of the importance of institutional knowledge. IIRC this is why Boeing has to design a new plane every decade or so -- otherwise it 'forgets' how to when enough people leave, retire, etc. I am sure there are many more
553.
▲
by
jallmann
16y ago
Good to see you on hn.
554.
▲
by
jallmann
16y ago
This is also the basis for the fourcc's used in multimedia. Checking them only requires an integer compare.
555.
▲
by
jallmann
16y ago
Yep. And if teaching that to a bunch of middle or high schoolers, I would add that pointer arith works in increments of sizeof(array[0]) bytes. If you're not careful about operator precedence in moderately complicated expressions, that coul
556.
▲
by
jallmann
16y ago
In fact, a lot of code does this to avoid mallocs. Just be sure to check the length before you put anything into the buffer. Also, making it a power of 2 is a good idea if you are concerned about alignment.
557.
▲
by
jallmann
16y ago
I've recently started using offsetof in my own code, it's a pretty neat operator. Useful for nested structs, where you have a child but need to reference the parent.
558.
▲
by
jallmann
16y ago
What I think takes the cake is this: array[index] == index[array] Not that you would actually use this, but it gave me a lot of insight into how addressing and stuff works inside the compiler. Also from this example, there's the impl
559.
▲
by
jallmann
16y ago
Microsoft, as an intern right after my first year of college. I thought I was hot shit. Got schooled a few times by those more wiser. Pretty humbling, but I learned a lot and grew a lot.
560.
▲
by
jallmann
16y ago
That Naggum email was beautiful, informative, funny and wildly digressive. Mind blown.
561.
▲
by
jallmann
16y ago
The article did not make this clear, but this is non-volatile memory (according to Wikipedia). Anyone know this compares to memristors? Or is that apples and oranges?
562.
▲
by
jallmann
16y ago
Oh, wow. Out of order instruction processing makes sense now, assuming that helps compensate for lightspeed latency.
563.
▲
by
jallmann
16y ago
http://xkcd.com/591/
564.
▲
by
jallmann
16y ago
That just moves the bytecode compilation to the server -- so you're back to my original point of generating the code statically. In fact it'd probably be worse, since there is no reason to compile MyScript.rb to bytecode more than once. It'
565.
▲
by
jallmann
16y ago
I might be missing something here, but this implicates a few things: You won't be writing code in the browser anymore. Otherwise you'd have fragmentation where the user doesn't have the proper interpreter installed, and a never ending strea
566.
▲
by
jallmann
16y ago
But the interactivity is really cool -- not only can you pan/zoom, you can click on any function, and it'll take you to the exact file(s) and line where the function is implemented. I wouldn't want to do that in a PDF reader.
567.
▲
by
jallmann
16y ago
Give git a shot and you'll be amazed at how primitive svn is. Can't speak for other DVCSes though, because I haven't tried them.
568.
▲
by
jallmann
16y ago
RTMP is a terrible protocol to work with -- it is overdesigned and underspecified. RTSP is a much better alternative for video streaming. Unfortunately, none of the major browsers (yet) support rtsp:// streams in the audio/video tag. In the
569.
▲
by
jallmann
16y ago
I am way past this point (just finished grad school), but am just wondering what are some of the typical red flags in a college application?
570.
▲
by
jallmann
16y ago
> It's nonsensical that a single die roll takes 2.58 bits, but it's perfectly believable that 100 die rolls could fit in 258 bits. It takes 3 bits to code for six values, but that is clearly a loose bound, since 2^3 = 8. But by taking t
More ›