Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ryeguy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
ryeguy
8y ago
Erlang is so much more than just green threads. They're not at all comparable.
62.
▲
by
ryeguy
8y ago
not sarcasm, just hacker news
63.
▲
by
ryeguy
9y ago
But if you get throttled in the first place that means you're going to have some kind of performance degradation since your server was using more than the baseline level. Web apps being IO bound isn't relevant here, because the on
64.
▲
by
ryeguy
9y ago
No way t2's are a good choice for your average webservice. You don't get the full CPU with t2's. With a t2.medium if you're using over 20% of the cpu (40% of 1 vcpu or 20% of both), you're burning CPU credits. So un
65.
▲
by
ryeguy
9y ago
Ok, but my core question still stands: why? I'm with you in thinking that noreply addresses should go away, but I don't see how this could be an effective measure to stopping them. A company isn't going to care about this, st
66.
▲
by
ryeguy
9y ago
This is odd, what do you gain from this? Chances are this will not get seen on the sender's end, and if it does they won't care, statistically speaking. Many noreply addresses are transactional emails (ie, emails you trigger by do
67.
▲
by
ryeguy
9y ago
When "type safe" is mentioned without qualification, it almost always refers to static type safety. This is one of those times. So no, the sync.Map container is not typesafe like a regular map is.
68.
▲
by
ryeguy
9y ago
That's what we're all trying to figure out.
69.
▲
by
ryeguy
9y ago
Views are only a solution for reads, not writes. FDWs are not an elegant solution to anything related to this. Think microservices that already have an api defined.
70.
▲
by
ryeguy
9y ago
IMO modeling your api directly off of your database tables is often an anti-pattern. One of the biggest mistakes I see people make is assuming their api's data model has to match their database's. It's common to introduce res
71.
▲
by
ryeguy
9y ago
What language that has static types doesn't have the func, params, and return type in one line?
72.
▲
by
ryeguy
9y ago
What about uploading files, video and voice chat, scrollable and searchable chat history, code snippet support? These are the reasons people use slack. To say IRC is a substitute means your company doesn't need to solve these problems
73.
▲
by
ryeguy
9y ago
I don't see how you get that. Slack does tons of things IRC doesn't. IRC is not a valid replacement for the entirety of slack. To choose IRC means deciding that you don't need or want the rest of slack's features.
74.
▲
by
ryeguy
9y ago
That's only needed to convert old callback style code to promise-compatible code. Most libraries either return promises now or have an option to, so this isn't necessary.
75.
▲
by
ryeguy
9y ago
Is it? I only do some moderate node work, so I could be missing the discussion on this, but I've never seen this brought up or talked about before. I read the blog posts, but is this really a sweeping rule in the js community or is it
76.
▲
by
ryeguy
9y ago
Oh please. The point of the post was to illustrate the feature to those wondering "what's async/await?", error handling would be complete noise for that purpose.
77.
▲
by
ryeguy
9y ago
You're missing the point. Saying "they raised capital" is not a good counterargument to "it will hurt adoption". Your response would be a good counter to "they will never raise capital" or "no one wil
78.
▲
by
ryeguy
9y ago
Try these benchmarks instead: http://benchmarksgame.alioth.debian.org/u64q/rust.html Rust should be beating the majority of those languages in well-implemented comparisons.
79.
▲
by
ryeguy
9y ago
Imagine the terrible performance of grep written in js, executed by a chrome binary.
80.
▲
by
ryeguy
10y ago
There is absolutely 0 chance in the time you've written go that you haven't encountered a problem that would be best solved by generics. Chances are you're just implementing them in a different way. I say this as someone who
81.
▲
by
ryeguy
10y ago
Ironically netflix does the exact opposite. Also, you definitely don't want to have the content on the cloud - the data transfer pricing is where they make significant profit. Both AWS and GCE are ~$100/TB outgoing.
82.
▲
by
ryeguy
10y ago
Why is it always colo vs cloud in these arguments? What about renting everything monthly from ovh, rackspace, softlayer etc? Many of them can provision dedicated servers within minutes, too.
83.
▲
by
ryeguy
10y ago
It's far too late for that. REST as you describe it is not commonly known as REST. People refer to it as HATEOAS or "real REST" or "hypermedia REST". Just saying REST without qualification refers to resource-oriente
84.
▲
by
ryeguy
10y ago
How? At the end of the day you're still writing an "if" statement branching on a piece of data in the response. In a regular api it might be canEdit, here it's the http verb in an array.
85.
▲
by
ryeguy
10y ago
It's not fair to compare these since Aurora is a traditional relational database. It does not have a horizontal scalability solution aside from read replicas.
86.
▲
by
ryeguy
10y ago
I don't see how this would matter. The datapoint is tag frequency on weekends for a given language compared to tag frequency on weekdays for the same language. It isn't using absolute numbers nor is it comparing cross-language.
87.
▲
by
ryeguy
10y ago
That doesn't explain a relative search increase on the weekend. The stats shown are not cross-language comparisons.
88.
▲
by
ryeguy
10y ago
It's an incredibly safe assumption to make, though. This isn't enough of a problem in practice to amount to a negative for elixir or a pro for erlang.
89.
▲
by
ryeguy
10y ago
How does that matter? Anyone who uses this defines them in groups one after another. You aren't looking at the punctuation at the end of the line, you're looking at the following line to see if it's the same function name.
90.
▲
by
ryeguy
10y ago
You must have a very particular idea of what "functional" means to include JS. What definition of functional programming does JS meet that you can't apply to nearly every language? It can't be that it just has first clas
More ›