Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eric_bullington
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
61.
▲
by
eric_bullington
11y ago
There is a boxed 32-bit signed integer type in JavaScript, which can be instantiated by postfixing `| 0` to a number literal or variable of type number. You can also then convert numbers to an unsigned 32-bit integer by postfixing `>>
62.
▲
by
eric_bullington
11y ago
Great point. On a similar note, I've gotten a lot of use out of stepping through Python algorithmic code using PythonTutor [1], which maintains a visual dashboard of stack frames/variables and heap objects. Very useful, was just
63.
▲
by
eric_bullington
11y ago
According to the article, a key skill to acquire are proper metal representations of problems in your field: "You want to be able to clearly and specifically visualize the right way to do something in your head. This is what separates
64.
▲
by
eric_bullington
11y ago
> But hardly anybody in software does deliberate practice, As a largely self-taught programmer, I've struggled for a long time with certain algorithms and certain data structures. I got sick of it about a year ago, and decided to d
65.
▲
by
eric_bullington
11y ago
rvirding was also one of the creators of Erlang itself at Ericsson.
66.
▲
by
eric_bullington
11y ago
For wireshark, there is tshark for a nice command-line based version with none of the GUI overhead. But usually, I'd rather just use tcpdump.
67.
▲
by
eric_bullington
11y ago
> Your work seems pretty interesting, I'd love to chat sometimes about it Your work does, too. Yes, we should talk. My email's in my HN profile.
68.
▲
by
eric_bullington
11y ago
Hey, you're the guy you did hermetic! Looking at your project, along with Smallshire's Hindley-Milner blog post, have been a big help to me as I use Python to build a compiler/interpreter for an ML. I was just planning to ma
69.
▲
by
eric_bullington
11y ago
All my invites are gone, sorry (and wow! did a lot of people email; there's a huge demand for Keybase)
70.
▲
Ask HN: Userspace networking parallels to Keybase's use of FUSE
2 points
by
eric_bullington
11y ago
|
0 comments
71.
▲
by
eric_bullington
11y ago
If anyone else wants an invite, I have a few left: email in profile.
72.
▲
by
eric_bullington
11y ago
> And you need to have reliable 'rollbacks' on the client when server rejects the action for some reason....'ve solved all these problems eventually, but it took much more time for me than building the happy path. I'm
73.
▲
by
eric_bullington
11y ago
> ...I'm going to evolve my CSS, starting with inline styling, moving out to an inline style node in HEAD, then dynamically loading it from JS as in the Google example, and then finally using a class/series of classes. I'
74.
▲
by
eric_bullington
11y ago
> Has anyone seen production code with <=10 lines of code per function before? It depends on the language. In Node.js code, it's not uncommon to not only see production code that follows this rule, but also puts no more than 1 o
75.
▲
by
eric_bullington
11y ago
Except for IE, modern browsers support srcset, which allows you to define different image sizes for different screen sizes, and only the "right" size image will be downloaded. If you need to support IE, you can use media queries w
76.
▲
by
eric_bullington
11y ago
Removing the GIL is non-trivial. But I'm surprised that they didn't take advantage of Python 3 to move to a more performant register-based interpreter. Several people expressed interest in building one, and working prototypes we
77.
▲
by
eric_bullington
11y ago
> I'm from the South and can't go home without being made fun of for "doing computers". I'm from the South and have never heard of an adult being made fun of for working with computers. And my family on both pat
78.
▲
by
eric_bullington
11y ago
One thing that I'd love to be able to do with Hugo (I'd probably switch from Middleman if this was possible): dynamic proxy pages: https://middlemanapp.com/advanced/dynamic_pages/ "Middleman has the
79.
▲
by
eric_bullington
11y ago
> "Redis is very fast as long as you use O(1) and O(log_N) commands" Well, like you say, to me that particular practice would be pretty obvious. More helpful would be a page that shows the time and space complexity of the var
80.
▲
by
eric_bullington
11y ago
(Sorry for late response.) No, for this to work, you'd really need to timestamp either the git tree hash or (preferably) the hash of the GPG signature (or the signature itself). Most timestamp service hashes are necessarily public (for
81.
▲
by
eric_bullington
11y ago
That's a good point, but if you combine signing with an indelible timestamp, like one of the blockchain services or other trusted legal timestamping services, you'd be in pretty good shape.
82.
▲
by
eric_bullington
11y ago
I agree with most of what you say, but let's be honest in that most "biz guy" types are far better salesmen than engineer types, particularly in niches like this. Having a network of influential family members, college buddi
83.
▲
by
eric_bullington
11y ago
> plus a GitHub log showing that the authorship attribution hasn't been tampered with Unless Github has some backup logs somewhere, that entire log can be wiped out and replaced with whatever someone wants with a simple `git push -f
84.
▲
by
eric_bullington
11y ago
Because the non-programmers didn't write it . That's how copyright works, and it's why big companies are so careful about this, and make you sign reams of papers. This is also why it's such a pain in the ass for open s
85.
▲
by
eric_bullington
11y ago
Nope, you're thinking of trademarks. Your copyright exists at the exact moment you create a copyrighted work, and you needn't do anything else to retain that right [1]. 1. http://web.law.columbia.edu/keep-your-cop
86.
▲
by
eric_bullington
11y ago
I thought the same thing, so I wrote the comment below (I downloaded it using https and checked it against earlier posted copies of the cert): https://news.ycombinator.com/item?id=10218774
87.
▲
by
eric_bullington
11y ago
> Microsoft Edge shows a hollowed out, grey padlock for DV certificates. Firefox does the same. Luckily, Chrome is unlikely to do the same, since google.com itself is "only" domain validated.
88.
▲
by
eric_bullington
11y ago
StartSSL is not free for any commercial sites, even tiny businesses or personal sites advertising freelance services.
89.
▲
by
eric_bullington
11y ago
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 For the record, the cert I've downloaded (using SSL over the Let's Encrypt site) from the Let's Encrypt site has the following SHA256 fingerprint: SHA256 Fingerprint=96:BC:EC:06
90.
▲
by
eric_bullington
11y ago
It's not quite as expansive as HTTP: The Definitive Guide, but I highly recommend High Performance Browser Networking* by Ilya Grigorik. Very well-written, with good coverage of not only HTTP, but only WebSockets and WebRTC. I highly
More ›