Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cdoxsey
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
241.
▲
by
cdoxsey
8y ago
I find microbenchmarks mostly useless. There are just too many variables in play. Also they tend to focus on the developer who optimizes code, not the journeyman developer in your company who actually writes code. C or Fortran looks fantast
242.
▲
by
cdoxsey
8y ago
Yes the maintainer is. People have tried.
243.
▲
by
cdoxsey
8y ago
These benchmarks have many flaws. Consider this thread: https://www.reddit.com/r/golang/comments/51mhzv/on_the_binar... The binary-trees benchmark would fare significantly better in Go if it were allowed
244.
▲
by
cdoxsey
8y ago
Its a long post, but I don't think he actually gives the reasons, rather he intends to write several additional posts that will.
245.
▲
by
cdoxsey
8y ago
Yes it could present a problem. It really depends on the what's being discussed... I have found that there's often much more going on in a text than there might at first appear. A list of things that often trip up interpretation:
246.
▲
by
cdoxsey
8y ago
Also not the poster, but I'll put in my 2 cents. I believe in inerrancy, which sometimes means literalism, but sometimes doesn't, because it comes down to intent. The Bible isn't a science textbook, so there's room for a
247.
▲
by
cdoxsey
8y ago
Ironically you can make nullsafe methods in Go type X struct{} func (x *X) y() {} func main() { var x *X = nil x.y() // no error } Also its not unsafe. Go doesn't allow unsafe memory access un
248.
▲
by
cdoxsey
8y ago
c# has an option type. You can make any struct type nullable with a ?.
249.
▲
by
cdoxsey
8y ago
The optimizers were the crowd in this business model. Some of them made good decisions, others made bad. But since the amount of money available was limited, those bad decisions brought down the performance of the campaign and ultimately th
250.
▲
by
cdoxsey
8y ago
To this point, consider the failed startup Trada. (I worked there for a bit) They had a marketplace for ad campaigns with Google. Instead of running ad campaigns or using artificial intelligence, a pool of optimizers would work on a campaig
251.
▲
by
cdoxsey
8y ago
An example of the duplicate issue: https://stackoverflow.com/questions/41148357/force-kill-goro... The user's question seemed like a fairly standard one: how can I force kill a goroutine. But actually there w
252.
▲
Tacit Knowledge
(doxsey.net)
1 points
by
cdoxsey
8y ago
|
0 comments
253.
▲
by
cdoxsey
8y ago
It provides a diversity of opinion. You might be surprised at how much disagreement there is about most candidates. Its probably one of the few parts of the process that actually makes sense, but the fact that people rarely agree belies the
254.
▲
by
cdoxsey
9y ago
commit your vendor folder
255.
▲
by
cdoxsey
9y ago
I think correctness is the wrong word. Maybe safety would be better? (Verboseness? Precision?) Go is quite a stable language. Well-specified, rigorously tested, and conservatively updated. I think all the behavior you listed is well-defined
256.
▲
by
cdoxsey
9y ago
One of the more surprising things about Go is that you don't need to name interfaces at all. This: func f1(r io.Reader) {} Is the same as: func f2(r interface{ Read([]byte) (int, error) }) {} In fact this is super com
257.
▲
by
cdoxsey
9y ago
gRPC has significant technical advantages to SOAP/XML. - The gRPC protocol is built on top of http2 - a protocol designed to overcome many of the shortcomings in http, primarily performance. - protobuf is a much simpler serialization f
258.
▲
by
cdoxsey
9y ago
Even if they don't send you a doc you need to pay taxes on your earnings.
259.
▲
by
cdoxsey
9y ago
1. Conservatives believe in trade offs. There's a cost to protecting the environment and at some point spending more money isn't worth it. Often there aren't good solutions to problems just less bad ones. 2. Conservatives car
260.
▲
by
cdoxsey
9y ago
I work at Datadog. We have difficult scaling challenges. Efficient storage and querying of high cardinality metric timeseries data, real time, practical data science like anomaly detection ( https://www.datadoghq.com/blog
261.
▲
by
cdoxsey
9y ago
In general I would agree. I'm not catholic, but in that tradition they have the principle of subsidiarity: > Subsidiarity is an organizing principle that matters ought to be handled by the smallest, lowest or least centralized compe
262.
▲
by
cdoxsey
9y ago
I'm always struck by this proverb: > “Two things I ask of you, Lord; do not refuse me before I die: Keep falsehood and lies far from me; give me neither poverty nor riches, but give me only my daily bread. Otherwise, I may have too
263.
▲
by
cdoxsey
9y ago
Not going to defend Hasidism, but this article was pure contempt. As CS Lewis would call it, chronological snobbery: > Barfield never made me an Anthroposophist, but his counterattacks destroyed forever two elements in my own thought. In
264.
▲
by
cdoxsey
9y ago
At least in NYC the congestion has many causes: - the continued growth of the population - active measures taken to eliminate lanes and slow traffic (the avg speed is down to 6mph) - the continued decline of the transit systems (the subway
265.
▲
by
cdoxsey
9y ago
This story doesn't undermine the idea of meritocracy. A rich child may end up a rich adult and a poor child a poor adult purely because of nepotism, with the two individuals being roughly the same in terms of skills and abilities. But
266.
▲
by
cdoxsey
9y ago
My high school banned backpacks entirely. Everyone had to carry all their books. It was incredibly stupid, but maybe its a more honest depiction of high school. Basically prison.
267.
▲
by
cdoxsey
9y ago
One thing I've noticed, it's often not the employer at fault but the employees. Engineers reject candidates for extremely pedantic reasons (for example, he used a dict instead of a defaultdict, which some will take as a signal tha
268.
▲
by
cdoxsey
9y ago
A lot of people don't know this but birth rates have fallen dramatically: https://en.m.wikipedia.org/wiki/Sub-replacement_fertility We will soon have the opposite problem in many countries - an aging population wi
269.
▲
by
cdoxsey
9y ago
In NYC I wear earphones on my way to work and a big chunk of the time I'm not even listening to anything, just blocking out the noise. (subways, buses, cars, fire trucks, ambulances, ... everything here is loud) I think a certain segme
270.
▲
by
cdoxsey
9y ago
Sound can be used as part of a handshake process and then real communication done over the internet: https://en.wikipedia.org/wiki/Interactive_Connectivity_Estab...
More ›