Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jzoch
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
91.
▲
by
jzoch
7y ago
also running two very large pieces of complex software in parallel is not always easy without breaking out the things that cant always be run in parallel :)
92.
▲
by
jzoch
7y ago
if they are large enough and have components that need to scale independently than a bottleneck in one of those components may affect availability of the service.
93.
▲
by
jzoch
7y ago
if you dont see the technical advantages you simply arent at the scale. Its that simple. Speaking as someone who works at a company with one of the largest monoliths in the world, microservices become necessary lest you deal with incredibly
94.
▲
by
jzoch
7y ago
Its clear that you could afford to not use microservices (which is great! You didnt burden yourself with the cool approach since it wasnt necessary). Not everyone has those requirements though and may NEED them
95.
▲
by
jzoch
7y ago
If you dont have a team large enough or a business big enough to need multiple individual services than you aren't the target market. Unless you care about high availability (which small services can help you achieve) then a single ser
96.
▲
by
jzoch
7y ago
I took cs143 at Stanford (so not the online version) and found it incredibly satisfying and enriching. Not only did I gain an understanding of well compilers, but programming languages, parsers, and real, applied uses of CS theory.
97.
▲
by
jzoch
7y ago
I (and i'd assume many others) am not interested in pulling up references AND guides to figure out what I want. Rust has a 1 stop shop that not only tells me WHAT I can do but HOW with examples. Javadocs is horrible in that I see a met
98.
▲
by
jzoch
7y ago
Eh its all easily game-able. The SAT (and ACT) is a joke. So are the subject tests. The only subject test that wasn't laughable are the language ones (since you can't "intuit" spanish as easily as math or physics or chem
99.
▲
by
jzoch
7y ago
I think the idea others are getting at is using docker as a means of setting up a testing environment in your dev env, not using it as a dev env. I tend to do this (though the way you describe would be great too!). I develop locally with in
100.
▲
by
jzoch
7y ago
The equivalent to compiling in machine learning is compiling :). You just ALSO have to train your model.
101.
▲
by
jzoch
7y ago
If you run a 3 availability zone architecture and want to survive AZ + 1 failures you need more nodes. 9 nodes is the minimum to guarentee that survival while still maintaing a quorum
102.
▲
by
jzoch
7y ago
That’s just simply not true. Diamond dependencies are an all too common occurrence in java if you are writing anything serious. It doesn’t happen everyday but when it does it’s a serious PITA. It’s not a “you’re doing something wrong” but a
103.
▲
by
jzoch
7y ago
What does that mean ? If you felt better and personally were prouder of the work done back in C with no autocomplete but the business was deriving more value from your work with autocomplete, how should One answer? Or more importantly, what
104.
▲
by
jzoch
7y ago
This is a bit different since it isn't "someone" discovering this bug but the compiler
105.
▲
by
jzoch
7y ago
Its supposed to be part of a larger process, a culture of constantly committing small changes and have many automated gates before you reach production (not just your CI instance). Real CI/CD. Heroku does something like this because
106.
▲
by
jzoch
7y ago
While he was a bit rude I wouldnt assume he hasn't built something at this sort of scale.
107.
▲
by
jzoch
7y ago
We have a problem at work where one of our tables is 5 billion rows and we get a csv (or maybe a few csv's ;) ) with a total of 21 million primary keys. We now need to find which of these 21 million keys are already in our table and do
108.
▲
by
jzoch
7y ago
>being diligent, using memory leak detection tools and certain programming style Thats the whole point. You need to do these things in C++, not in rust. In rust you get it for free and dont need to be an expert and use runtime detection
109.
▲
by
jzoch
7y ago
Why can't you say that? Every decision you make is an individual decision. Whether or not to vaccinate yourself is an individual decision, owning a gun, driving a car, looking both ways. All can have consequences for others besides you
110.
▲
by
jzoch
7y ago
What languages dont have a runtime? Even C has one (albeit a very small one). Nobody labels Rust the language as a zero cost abstraction (thatd be silly - there is a cost to learning it!). Rather, they try to provide zero cost abstractions.
111.
▲
by
jzoch
7y ago
*was. He amended his proposal such that UBI is additive to current social programs.
112.
▲
by
jzoch
7y ago
No I've read good code. At work you don't have the liberty to sit and understand every line of a library you're using does or some other teams work. I did not say code should not be read, just that it shouldn't be expect
113.
▲
by
jzoch
7y ago
That is a reason people do not read code, but imo not the primary one. I don't read code because, unless I am forced, it is a waste of time. I used to grade assignments for an intro CS class @ Stanford, and if I had to read your helper
114.
▲
by
jzoch
7y ago
You are hardly managing memory in rust...reference allocation is practically garbage collection and feels as such in rust.
115.
▲
by
jzoch
7y ago
Note, new gc's in the most recent JDK's guarantee 10ms pauses on multi-terabyte heaps. For most cases it is far far far far far far less.
116.
▲
by
jzoch
7y ago
What you've found might be that because you had this explicit contract (types) that coerced you to write your code in a certain way, your code looks simpler when you just turn the types off. But would you have written it this way had t
117.
▲
by
jzoch
7y ago
Interesting to go with Monad "by convention". They wont build in an explicit type but rather utilize convention (placing err as the last param and giving it a certain shape) to replicate that behavior
118.
▲
by
jzoch
7y ago
keeping "repair" well-scoped is important in maintaining the right and saying Tesla is in the wrong here seems silly. You aren't repairing your car if you enable features you didnt pay for. You should gladly by this product t
119.
▲
by
jzoch
7y ago
I feel the same as op and struggle to work from home but my social life is plenty active outside work. I would describe it more like a preference to not have a TV in your bedroom. It helps to have that separation. The suggestion to try a co
120.
▲
by
jzoch
7y ago
You can make a few simplifying guesses. 1. Google uses a lot of go so its likely they use bcrypt, so try that first. 2. Most people arent security experts so dont bother w/ stretching, just do one hash. Those 2 assumptions right there
More ›