Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
agnivade
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
121.
▲
by
agnivade
9y ago
Essentially they want to turn github to the next social media thing. I'm not complaining because I'm not on twitter,fb,insta anyways.
122.
▲
by
agnivade
9y ago
Have you used Presto for doing sql queries on kafka topics ? Would be interested to see some experience reports on using this in production. I have used Presto by the Hive connector and the results were pretty nice.
123.
▲
by
agnivade
9y ago
I want to mention 2 of my all time favorite articles - 1. How language influences emotion - https://www.theatlantic.com/health/archive/2015/12/the-book-... 2. The Kekule Problem - http://nauti
124.
▲
by
agnivade
9y ago
Yep, I would say so. In the past month or so, merging an MR has become as fast as github some times. Their real-time updates like the pipeline completion signalling still has some lag. But I think the plan to improve real-time updates is on
125.
▲
by
agnivade
9y ago
Excellent ! I was thinking a lot about this lately. Someone beat me to it .. dang it.
126.
▲
by
agnivade
9y ago
> What is the best way to map objects to/from JSON? - What is the best way to map objects to/from a database? If you are doing heavy sql queries, then it might be beneficial for you to use an ORM. There are plently of those out
127.
▲
by
agnivade
9y ago
> none of the key stack holders involved, Robert Griesemer, Ian Lance Taylor have put in their comments (apart from other core contributors). So, I would say this statement is false now.
128.
▲
Another example of how brittle npm can be
(github.com)
4 points
by
agnivade
9y ago
|
0 comments
129.
▲
by
agnivade
9y ago
No framework as such. Just some tools from here and there - gorilla/mux + negroni + net/http.
130.
▲
by
agnivade
9y ago
> However, this is no longer true, as silicon is now cheap. Like really cheap. Run time is no longer your most expensive resource. Our client won't spend more money than a t2.medium instance on aws. Nothing we can do about it. In t
131.
▲
by
agnivade
9y ago
zeromq is still very much in wide use. nanomsg doesn't have nearly as much documentation and community support as zeromq does.
132.
▲
by
agnivade
9y ago
Yes, I am aware that Peter had passed away. I thought that it was implied that the project is not maintained anymore, which is not true.
133.
▲
by
agnivade
9y ago
Wait, zeromq lost momentum ? When did that happen ?
134.
▲
by
agnivade
9y ago
Author of the failed trig experiment here. After looking at the comments from people more knowledgeable than me, I realized that it had failed mostly because the assembly that I wrote was pretty bad. You have to know assembly language prett
135.
▲
by
agnivade
9y ago
On the 2nd point - what OP wanted to say was that students are just forced to learn the language without really understanding why it is what they are doing. Teachers just try to finish the syllabus, and students just want to get marks. Nobo
136.
▲
by
agnivade
9y ago
Yes, something like that. It doesn't do multilateration yet. But processes ADS-B and Mode-S messages.
137.
▲
by
agnivade
9y ago
> but this is an example of why it's generally useless to try to resort to assembly to beat a compiler unless you're an expert at assembly. Yes I realized ! Expert ? Not even close. I barely know a thing or two in assembly. The
138.
▲
by
agnivade
9y ago
Got it. Thanks ! > Hopefully golang bench is smart enough to not be that smart. Yes, that seems to be true.
139.
▲
by
agnivade
9y ago
Ah I see ! Gotcha :) Yes, it seems Go is smart enough not to eliminate those values entirely. I think this might be a better way to be sure that the function will be computed entirely. `_ = myatan2(-479, 123)` The result is same though. I w
140.
▲
by
agnivade
9y ago
Sorry, I might have misunderstood something. But OP said - " if you are computing sin/cos after atan2,", and I don't need any sin/cos computation after atan2. Just the atan2.
141.
▲
by
agnivade
9y ago
Thanks ! I will look into it :)
142.
▲
by
agnivade
9y ago
Author here. > I'm surprised it doesn't eliminate the BenchmarkAtan2 entirely: I'm sorry, could you clarify what you mean by "eliminate" here. Are you saying I shouldn't benchmark atan2 but something else ?
143.
▲
by
agnivade
9y ago
Not really. My algorithm just needs atan2. Its a flight tracking algorithm which calculates velocity of the aircraft from the messages it broadcasts. EDIT: > then it's likely that what you are doing could be done with some regular v
144.
▲
by
agnivade
9y ago
You're welcome ! Glad it was helpful. :)
145.
▲
by
agnivade
9y ago
Haha. I know. My heart was pounding when I started the final benchmark .. hoping against hope that there will be some gains. But yea, knowledge is knowledge.
146.
▲
by
agnivade
9y ago
Author here. Glad to answer any questions you guys have :)
147.
▲
by
agnivade
9y ago
I thought the vue-cli( https://github.com/vuejs/vue-cli ) tool did a pretty good job of creating sane webpack configurations by asking just a few basic questions.
148.
▲
by
agnivade
9y ago
Nope.
149.
▲
by
agnivade
9y ago
> Aren't go programs statically linked? Not by default. You have to set CGO_ENABLED=0 to statically link libc.
150.
▲
by
agnivade
9y ago
Its all about having a work-life balance. I code in the morning, then work-out in the evening. The workouts keep me healthy and makes my brain active during coding. And writing code creates the mental concentration which has built up my min
More ›