HNHacker News
TopNewBestAskShowJobs

agnivade

253 karma · joined July 6, 2015

submissionscomments
agnivade··on What are the complex numbers, really?
I feel a better explanation of them was given in "Shadows of the mind" by Roger Penrose where he explains how they play a vital role in Quantum Theory which impacts real-life behavior.
agnivade··on Harvey Weinstein Is My Monster Too
What is the reason for this to be flagged ?
agnivade··on Show HN: Sandglass – Distributed, scalable, persistent time-sorted message queue
Faktory is based on rocksdb actually.
agnivade··on Show HN: Sandglass – Distributed, scalable, persistent time-sorted message queue
Seems similar to faktory ? https://github.com/contribsys/faktory
agnivade··on DASH playback of AV1 video in Firefox
> I hope we can start seeing WebAssembly-pluggable codecs in all of the video/audio paths in the browser.

I have a n00b question though. How would I display the video in the browser using webassembly ? I mean using webassembly, I can do the decoding of the bits in the stream. But how to display those bits in the browser ? Do I use a canvas and directly dump the pixel buffer there ?

agnivade··on Simplified and community-driven man pages
Maintainer here.

The node client already has autocompletion for OMZ users - https://github.com/tldr-pages/tldr-node-client#zsh.

It also supports command search. So you can do `tldr search "compress a folder into a tarball"`. And you will be shown the top 10 matches. Yes, its not exactly autocompletion. It's more of a match to the apropos command.

agnivade··on Simplified and community-driven man pages
Maintainer here.

> This TLDR tool definitely needs to exist, but in conjunction with man pages, not as a replacement.

tldr is _exactly_ that. We do not and will not aim to replace man pages. We have a hard limit of 8 examples at max for every command. Therefore, our scope is very limited and we try to mention the 8 most important and practical examples a beginner needs to know for a command.

If someone needs to go deeper, man pages are always there.

agnivade··on Simplified and community-driven man pages
Maintainer here. iptables and ffmpeg are already there. You are most welcome to send a PR for tc :)
agnivade··on Simplified and community-driven man pages
Maintainer here. You are free to use the C++ or Go or Rust client. Use a binary all you want.

Npm is just one client.

agnivade··on How a single PostgreSQL config change improved slow query performance by 50x
Wow, did not know that. TIL!
agnivade··on A Chess Novice Challenged Magnus Carlsen
I hate when you do something just to achieve the end result and not realize the real purpose behind anything that you do. My point is not that his form is bad. Its to do with any sort of competitive physical exercise.

You want to do 40 pullups properly in perfect form ? Sure, you can train for it, optimize every part of the movement, get proper nutrition and do it.

But is that the main objective ? If it is, then fine. But if your objective is to strengthen your lats and grip strength then there is no point in doing a single set of 40 reps. Split your set into 15 reps. And do 4 or 5 of them. Pace it properly and with perfect breathing. And concentrate on your lats. Squeeze them hard and expand fully, go slow on the negative. There's too many things if you go into the details.

agnivade··on Fast software is a discipline, not a purpose
It maybe different in US. But in some Asian countries, most people care about the money at the end of the day.

So yea, they don't care. But does it matter ? People are happy as long as they get paid at the end of the day. They don't care about the quality of code written.

Not saying its a good thing or bad thing. Just the way it is.

agnivade··on Show HN: How to ensure JavaScript code quality
Dang, my projects are in gitlab. Any word on gitlab integration ?
agnivade··on Top Ten Time Series DBs
Right. You would have to approximate the last 10k hits to the time period.

Also, check out the grafana histogram plugin. Works great for these scenarios.

agnivade··on Top Ten Time Series DBs
> Honest question: how do people use influxdb for monitoring and alerting?

In our case, influx+grafana+alert notifications work well.

Yes, the query language needs a lot of work. It doesn't support anything beyond simple queries.

agnivade··on Chrome breaks the Web
Not for me. Linux Chrome user for quite some time. Never has my credentials been wiped out in an update.
agnivade··on Ask HN: Is Meteor.js still a thing?
We have been using VueJS. Loving its fully packaged ecosystem of vue-router, vuex. The EventBus + vuex layer takes care of all state management and data subscriptions.
agnivade··on Angular 5.0.0
TSX ? Is that some new thing now ? Or you meant JSX ?
agnivade··on Parents are exhausting their children. An eighth-grade boy explains how
Most of what I understand is just parents venting their frustration and despair in life through their kids. Because that is the only thing they have control over. Because they are unhappy and unsuccessful in their life they will force their kids to study continuously so that the kid fails and they get to scold him/her again.

Just my personal experience.

agnivade··on Parents are exhausting their children. An eighth-grade boy explains how
So, are you saying that if you come home to a clean living room, clean driveway and an empty trash bin, you will be happy and satisfied ?

I dunno, my mom always found something to yell at me. Irrespective of how hard I tried to please her. She told me it was for my own good.

agnivade··on Show HN: I built a handful of Bootstrap 4 themes with an interactive code picker
I am tired of including jquery just because I use bootstrap when I have no use of jquery at all.

Is there something that can be done about this ?

agnivade··on Saying Goodbye to Firebug
FF Quantum seems to usher in a new era in browser development.

Upgraded CSS Engine

Upgraded Render Enginer with WebRender

And now integrated firebug support.

Exciting stuff.

agnivade··on Essential C
Most often, in general purpose programming, you don't need burden of managing memory manually. Things just go fine with a good runtime.

And that is what I think beginners should be introduced to - how to write code, how to frame algorithms in your mind and convert them into lucid code. Python does all of this wonderfully. It hides all of the internal details and exposes just the part that is needed for sometime writing a computer program for the first time in their life - simple statements which do simple things.

There is no need for a beginner to understand memory management at all. Trying to understand what is code or how algorithms work is more important to build that mental capacity IMO. Pardon me, but it does seem that just because you had to undergo the pain of trying to understand pointers, memory layout and allocations, you want everyone to go through the same experience as well.

agnivade··on GitHub Discover
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.
agnivade··on AthenaX – Uber Engineering’s Open Source Streaming Analytics Platform
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.

agnivade··on Ask HN: What essay/blogpost do you keep going back to reread?
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://nautil.us/issue/47/consciousness/the-kekul-problem

Both of them very thought provoking and excellent articles.

agnivade··on Gitlab 10.0 released
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 the roadmap for a big overhaul.

agnivade··on Deploying ES2015+ Code in Production Today
Excellent ! I was thinking a lot about this lately. Someone beat me to it .. dang it.
agnivade··on Go: Ten years and climbing
> 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 there, so choose one you like. Just create structs for your tables and run your queries.

If you are doing light/moderate sql. Just have an interface for your db calls, wrap your responses in a struct and use json tags for json encoding/decoding.

> What is the best way to prevent a request from crashing the server and killing a bunch of unrelated requests?

I use negroni. And its recovery middleware does exactly that.

agnivade··on Golang Proposal: Just Use GitHub
> 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.

← PreviousPage 4 of 8Next →