Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jodoherty
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
jodoherty
4y ago
It doesn't make sense in the context of today's relatively uniform hardware, but I think the goal wasn't so much portably correct code, but portably efficient code that avoided the need to use assembly language for everythin
32.
▲
by
jodoherty
4y ago
Same here except these days I just use the print to pdf feature in Chrome.
33.
▲
by
jodoherty
4y ago
DevOps and hosting side projects initially. I never approached full utilization (CPU or memory) with either one as a home server, so now I have a third Precision 7810T with 32 cores (dual Xeon E5-2698 v3 processors) and 32GB of memory that
34.
▲
by
jodoherty
4y ago
I don’t think it’s worth paying a premium as long as you regularly checksum important data and look for changes over time, keep redundant backups, and regularly check for integrity failures. You should see the inconsistencies as an early wa
35.
▲
by
jodoherty
4y ago
I like this idea a lot, personally. Separately deployed customer instances as an approach for “multi-tenancy” also eliminates the need for sharding databases at scale, since most of your scaling will just be new deployments. Overall, this s
36.
▲
by
jodoherty
4y ago
Build and design for multi tenancy all the way down to your schema. Keep identity and login mechanism decoupled - plan to support multiple login mechanisms per user (email/password, SAML, OpenID Connect, Google) for a single identity a
37.
▲
by
jodoherty
4y ago
I use the Kinesis Advantage 2 keyboard and the Logitech Ergo M575 trackball mouse pretty exclusively these days
38.
▲
by
jodoherty
4y ago
Don't think in terms of tests -- think in terms of examples. Write examples of how you would like to be able to solve common cases and handle edge cases if you had the ideal interface based on what you know at the time, then use unit t
39.
▲
by
jodoherty
4y ago
https://missing.csail.mit.edu/
40.
▲
by
jodoherty
5y ago
It would dramatically limit your attack surface to those who could gain access to your VPN. I prefer requiring TLS mutual authentication with a corporate PKI and issuing employees client certificates. Doing both wouldn't be a bad idea
41.
▲
by
jodoherty
5y ago
38/40 I feel like I spent an entire decade mostly in contemplative reflection and observation as I searched for intrinsic meaning and purpose. I imagine many others who score well have some similar period they've been through wher
42.
▲
by
jodoherty
5y ago
The key takeaway to me is that developing mobile apps for the Librem 5 on the Librem 5 is a first class development workflow. This is great. Not having to worry about setting up toolchains on a separate platform, cross-compiling, and then s
43.
▲
by
jodoherty
5y ago
WebDriver provides a standardized interface for automating web browsers. It makes building out automated cross-browser tests easier, since you can utilize all the browsers in the same way if they support it. It's mostly confined to use
44.
▲
by
jodoherty
6y ago
If you really care about user experience, I recommend seeking out products made by companies that are vertically integrated, like Apple, because they have the power to curate the components of their products for maximum compatibility and su
45.
▲
by
jodoherty
6y ago
It's easy to criticize the chosen trade-offs, but I would argue that Linux would actually be in worse shape today if it had taken the driver ABI approach and encouraged proprietary drivers. Many drivers originally upstreamed in the 32-
46.
▲
by
jodoherty
6y ago
It is, but the point of not defining a Linux ABI is to avoid proprietary, binary blob drivers and instead force drivers to exist in the upstream Linux kernel where they can be maintained by the kernel developers and freely distributed. This
47.
▲
by
jodoherty
6y ago
Most hardware device vendors write Windows drivers and test them. Since they built the hardware, the vendor driver developers are privy to all the internals. Windows also has a stable ABI for drivers. Hardware device vendors don't alwa
48.
▲
by
jodoherty
6y ago
The major takeaway for me is that with a strongly held culture, everyone in the company is playing the game by the same rules, making it clear how to succeed, how to fail, and as such, how to conduct business. It's also clear whether o
49.
▲
by
jodoherty
6y ago
Give Go a try. It has a few unique conventions, but overall it strikes a nice balance between clarity (no surprises) and convenience. It feels like one of those languages you can fit in your head, idioms and all, kind of like C or Pascal.
50.
▲
by
jodoherty
6y ago
I always fall back on this pattern when the return values need to be used further down: foo, err := doThing(bar) if err != nil { // handle error } foo2, err := doThing(bar) if err != nil { // handle e
51.
▲
by
jodoherty
8y ago
Actually, VIM does support this. Type Ctrl+V in insert mode followed by whatever you want to insert (e.g. Ctrl+\ for the ASCII FS character). VIM will insert the literal value of the control code into the buffer.
52.
▲
by
jodoherty
9y ago
Standard English dictionaries often don't have the precise definitions used in specific fields, which only leads to more confusion for laymen, but any good introductory Chemistry lab textbook should be able to get you up to speed on ex
53.
▲
by
jodoherty
9y ago
Precision is how fine a measurement is (i.e. being able to measure temperature to thousandths of degrees versus tenths), whereas accuracy is a measure of how closely your results much the objective truth. So you may have a very precise ther
54.
▲
by
jodoherty
9y ago
With plain HTTP, it'd be very easy for someone running an open WiFi station or a corrupt ISP to set up a DNS server that points the domain to their own reverse proxy that then can modify the page that the user receives to include some
55.
▲
by
jodoherty
10y ago
I've used the `co` library at work to extensively trim down and simplify a lot of server-side Node.js code recently. It's worked out very well compared to the very Promise heavy code we had before, especially since so many databas
56.
▲
by
jodoherty
10y ago
You were complaining about having to take non-CS classes, many of which sounded like lower level general education classes, so I offered a potential solution: weed out some of those classes with CLEP exams. I didn't see that your probl
57.
▲
by
jodoherty
10y ago
Read the "Credit By Examination" section on this page: http://www5.njit.edu/registrar/transfer/ If you're willing to self-study and pay for some tests, you could potentially CLEP out of Physics, Cal
58.
▲
by
jodoherty
10y ago
Browsers implement what they call the "same-origin policy" as a cross-site scripting prevention measure. This prevents you from using XMLHttpRequest calls on other hostnames/ports, which effectively means if you're makin
59.
▲
by
jodoherty
10y ago
The original poster may eventually want to experiment with server side rendering or splitting their single page app into multiple apps, and hash URLs pretty much trap you into a single page app with client side routing. That said, I didn&#x
60.
▲
by
jodoherty
10y ago
I would recommend you start by building out a non-trivial project using the tools and technologies you know (jQuery), but try to do a single page application that calls services via RESTful APIs. Bonus points if you can avoid hash urls usin
More ›