Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mirceal
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
331.
▲
by
mirceal
7y ago
why not? writing code can fall into one of a few bucket. one of them is play.
332.
▲
by
mirceal
7y ago
haha. if you think dependency management is bad in python you should take a look at go :O
333.
▲
by
mirceal
7y ago
you may be the exception, but most people i’ve met that make this claim have no idea what they are talking about. how would the cases be better suited for a type safe language? what is type safety, in your opinion?
334.
▲
by
mirceal
8y ago
yes. everybody in the team. i sure hope there aren't places out there where you have thousands of people each responsible for millions of lines of code. my point was that you should not have individual code ownership and individual gat
335.
▲
by
mirceal
8y ago
yeah. the 10x-er usually play the role of wrecking havoc and after that the 0.1x-ers usually clean it up and stabilize it. If you're in that situation you need to get to greener pasture after you've put a reasonable amount of effo
336.
▲
by
mirceal
8y ago
nope. you need to know how the thing that you're responsible for works. no exceptions. what you can have is an interface to another service/team that represents the boundary of your service. When shit breaks and you isolate the b
337.
▲
by
mirceal
8y ago
If you have 20M lines of code you hopefully have more than 1 team and you also hopefully have more than one service w/ the right interfaces/apis between them. As unrealistic as it sound, yes, if you're oncall you need to be a
338.
▲
by
mirceal
8y ago
the team owns the code. the whole team. whoever is oncall gets to wake up at 3am if there is an issue.
339.
▲
by
mirceal
8y ago
It's usually a bad idea to have code "owners". Yes, sometimes someone will know the most about a specific piece of code if either they wrote it or worked on it a lot. Sometimes people will not want to touch a piece of code. M
340.
▲
by
mirceal
8y ago
1700$/year ? sounds like a steal to me. how much are you paying a human for setting up and operating a cluster?
341.
▲
by
mirceal
8y ago
I personally “grew up” while AWS was born and grew and have been slowly exposed to most of the services as they were released / enhanced. I agree that It can be confusing as f for a newcomer. This is definitely an opportunity for train
342.
▲
by
mirceal
8y ago
hah. not github. most services have cloudformation snippets in the aws docs. they mostly work. also, compared to terraform, cloudformation is state-of-the-art when it comes to actually bringing shit up
343.
▲
by
mirceal
8y ago
unit testing (and any kind of testing for that matter) shows that your code works for a set of inputs. formal verification methods show that it works for all inputs. it’s the holy grail but comes with a really high price tag to actually do
344.
▲
by
mirceal
8y ago
hah. try 1.8 -> 1.9 w/ Rails 2-> 3 happening at the same time :))))
345.
▲
by
mirceal
8y ago
most of the time :| anyone remember 1.8 to 1.9 brutal
346.
▲
by
mirceal
8y ago
this is spot on. drop terraform and go with cloudformation. initially set it up throgh the console to learn what needs to be done and after that write the template or even better find one someone has already written. pro level startup: set
347.
▲
by
mirceal
8y ago
Here: https://web.mit.edu/2.75/resources/random/How%20Complex%20Sy... Read this. Read it again. RCA FTW!
348.
▲
by
mirceal
8y ago
over the top? nah. it's beautiful
349.
▲
by
mirceal
8y ago
there is a time for optimization and a time for learning.
350.
▲
by
mirceal
8y ago
yes and no. there is a time for building and a time for learning. I actually encourage people to think how they would build something “google scale”. it’s not meant to be what pays the bills - but it can have dramatic effects on motivation,
351.
▲
by
mirceal
8y ago
or maybe you discover that it's an industrial size itch and the chosen backscratcher is needed.
352.
▲
by
mirceal
8y ago
2 scenarios: one is to run the app and push metrics and logs in real time. the other is to use external storage (a drive, nas or directly w/ the cloud like for eg S3)
353.
▲
by
mirceal
8y ago
cattlepi has the advantage of being able to essentially build and distribute images over the network + full raspbian. on boot it self-updates if needed, builds on overlay filesystem w/ the squashed image as the bottom ro layer + tmpfs
354.
▲
by
mirceal
8y ago
after boot, the sd cards for my pis go into readonly :) checkout cattlepi.com on how this is done. i’ve had good luck with the lifetime of the cards, but it’s also true I treat the Pis as disposable.
355.
▲
by
mirceal
8y ago
you were either burned really hard by metaprogramming gone wrong or you've actually never seen it done properly. there is a school of thought that says in some cases you should not shoehorn the problem you are trying to solve into <
356.
▲
by
mirceal
8y ago
don’t be discouraged by the trolls. Do go to local, in person, events (Friday Night Magic) as real life players are among the nicest and most supportive people I’ve seen.
357.
▲
by
mirceal
8y ago
a lot of people actually. MtG AI is notoriously hard to implement because of the huge number of abilities and the evolving nature of the game.
358.
▲
by
mirceal
8y ago
meta programming and the flexibility Ruby has around how it can be achieved are the things that set Ruby in a league of its own.
359.
▲
by
mirceal
8y ago
so I ran into the issues I’m mentioning while test driving it. i have never experienced unpredictable behavior from CloudFormation, but it’s possible YMMV.
360.
▲
by
mirceal
8y ago
no it’s not. i want to leave my infrastructure in a consistent state. i am in state A and want to move to state B. I want it to work. I don’t want a half-assed attempt to make it work. what does terraform bring to the table? I have to us
More ›