HNHacker News
TopNewBestAskShowJobs

kkaranth

346 karma · joined June 16, 2018

https://karthikkaranth.me
submissionscomments
kkaranth··on Machine Learning for a Better Developer Experience
Not sure I understand the problem they are solving, aren’t errors in logs something than can just be grepped for?

(Also: really cool illustrations. Very unexpected in a tech blog.)

kkaranth··on Show HN: YouTube Search Fixer – Firefox addon that removes unrelated suggestions
EDIT: @OP I do not see a link to the source for the addon. I think a lot of users would be vary of installing closed-source addons.

This is great, some YouTube features are just so annoying. And I cannot disable them even though I pay for YouTube premium.

An alternative to this is to add this to your ublock origin list:

  www.youtube.com##ytd-shelf-renderer.ytd-item-section-renderer
it seems to be working, but I do not know if there are any other ramifications. (for instance, I use the rule https://www.google.*/xjs/* to block the "people also search for..." on google.com and I recently realized that that breaks google maps-based search results)
kkaranth··on Testing Firefox more efficiently with machine learning
I've used it a bit in production. Our use case avoided a lot of the potential issues you mentioned, so it may not be entirely helpful:

* serialization: the input was passed a json string argument. the output was a file uploaded to S3, so just the URL was returned, again in a JSON string * global variables: the program was quite self-contained: there was an initial state setup that was not mutated afterwards. So RQ's fork-exec model(the default) worked well enough

Sorry I don't have much to say about performance and scaling. It was quite fine for our needs, and we could scale horizontally upto a certain point by just starting extra processes, and beyond that with more VMs. Since they all listened on the same RQ, it worked fine. (the number of items in our queue never really hit any of Redis' limitations either)

RQ lets you customize the worker model: so you could for instance use threads instead of processes.

Regarding monitoring: there's RQ dashboard[1] which gives a nice web interface to view jobs, failures, and restart them.

1: https://python-rq.org/docs/monitoring/

kkaranth··on Show HN: Runnaroo – A new search engine
Thanks, this is super cool! I just used it to discover new music(search "electronics music albums" and removed the top million hits)
kkaranth··on CindyJS: A framework for interactive mathematical content on the web
This looks very cool. I'm gonna be using this soon!

I am curious why you'd create a new scripting language for this, how is JS limiting for building these visualizations?

kkaranth··on Polyphasic sleep takes napping to the extreme
This website(trickle.app) looks really interesting. Can anyone who weigh in on the overall quality of the content?
kkaranth··on DuckDuckGo, Google, and Android choice screens
Do you have a source for the "15 - 20 billion" number?
kkaranth··on I won’t buy ebooks anymore
Interesting. I'd never purchased a Kindle book because I assumed I couldn't open it with any app of my choice(I use FBReader on Android)

But it'd be real nice to be able to purchase DRM free ebooks, a la GOG for games.

kkaranth··on A Mathematical Theory of Communication (1948) [pdf]
From Jon Gertner's "Idea Factory":

> With Shannon’s startling ideas on information, it was one of the rare moments in history, an academic would later point out, “where somebody founded a field, stated all the major results, and proved most of them all pretty much at once.”

It is attributed to a documentary on Claude Shannon: https://www.youtube.com/watch?v=z2Whj_nL-x8

kkaranth··on Ask HN: How to self-study physics?
This sounds interesting! Could you talk a bit more about what sources you used to find problems and learn from that translated well to this approach?
kkaranth··on AsiaBSDCon 2020 Cancelled
What advantages does BSD have over Linux?
kkaranth··on Don't touch my clipboard
I hate this behavior! Switched to a different eBook reader on my iPad because of it. I like copying interesting snippets to OneNote.
kkaranth··on Ask HN: What book should I read next?
* Winter World: The Ingenuity of Animal Survival by Bernd Heinrich: A great pop-sci book about how animals adapt to extreme winter biomes

* Deep by James Nestor: A look at the extreme sport of freediving, where contestants train to submerge to depths much greater than 400ft without any oxygen and pressure equalizing equipment

* The Idea Factory: Bell Labs and the Great Age of American Innovation by John Gertner: A great book about the history of Bell Labs, the scientists and engineers that brought great innovations to society including phones

* Wizard: The Life and Times of Nikola Tesla by Marc Seifer: A biography of Nikola Tesla. Its quite astounding how much one person can achieve in their lifetime

kkaranth··on Twenty New Moons Found Orbiting Saturn
Very cool! I'm surprised that they orbit so quickly!
kkaranth··on Nannou: Creative Coding Toolkit for Rust
Thanks!
kkaranth··on Nannou: Creative Coding Toolkit for Rust
It would be nice if they had included images/gifs.
kkaranth··on Nannou: Creative Coding Toolkit for Rust
It would be nice to see some examples with code. The showcases section is empty.
kkaranth··on Founder Books
I find a lot of these books too abstract. I much prefer books about people and their methods and accomplishments, as opposed to books that try to distill what they perceive as common characteristics of "succesful" people/businesses. Currently I'm reading "The Idea Factory: Bell Labs and the Great Age of American Innovation" and its quite wonderful.

"Wizard: The Life and Times of Nikola Tesla" is a good read as well.

kkaranth··on Ask HN: Are there any good open-source OneNote alternatives?
The free version seems to have "1000 free blocks". How far does this go? Do you think its worth the annual fee of $60?
kkaranth··on Show HN: CC Search – search engine for 300M CC-licensed images
They already have it. You can choose your required "usage rights" in the advanced search settings page(atleast for images)
kkaranth··on Ask HN: What is your money-making side project outside programming?
This looks neat. I'll be sure to read a few articles from here.

Why the curated section though? I think it distracts to have links to articles from NYTime or Wired on the side.

kkaranth··on A Short Intro to Constraints
In the distance constraint, won’t the point always land _on_ the circle? The visualisation shows that it can be inside the circle too.
kkaranth··on Generative.fm – Endlessly unique ambient music
This is very cool!

Some things were broken for me(On Firefox 65.0.1, Ubuntu 18.04):

* Pause button doesn't immediately pause, the current note(?) ends over a period of time before pausing

* Fullscreen, and a few other buttons don't work. Also, I can't tell if my mouse click even registered on the button

Very interesting project nonetheless, and the music generated is quite nice to listen to. I particularly like how well placed the silences are. The percussion does need some tuning, like you've mentioned.

kkaranth··on Launch HN: Point (YC W19) – First Debit Card with Points
For anyone else who was wondering why SMS is insecure for 2FA:

https://www.theverge.com/2017/9/18/16328172/sms-two-factor-a...

kkaranth··on Rigetti launches the public beta of its Quantum Cloud Services
As someone who understands nothing about quantum computing, what are some good resources to begin learning? Hopefully with examples/code that I can run.
kkaranth··on Computing sin and cos in hardware with synthesisable Verilog
Nice read! I have 2 questions:

When calculating K, the author says “It can be shown through the use of trigonometric identities that:” and proceeds to show a formula. How exactly does this happen?

After calculating K, the author assigns it to c in the cordic function, but not to s. Why?

kkaranth··on Nvtop: Nvidia GPU htop-like monitoring tool
This is great, I'll be using this instead of "watch nvidia-smi" now.

What exactly is "Mo" in the memory column?

  PID    USER  GPU    TYPE           MEM Command
  2324 ubuntu   0 Graphic       1Mo 0.1% /usr/bin/krunner
  2320 ubuntu   0 Graphic      48Mo 2.3% kwin_x11
  2980 ubuntu   0 Graphic      61Mo 2.9% /usr/share/spotify/spotify --type=gpu-process --no-sandbox --lo
  2326 ubuntu   0 Graphic      85Mo 4.1% /usr/bin/plasmashell
  1526   root   0 Graphic     211Mo 10.1% /usr/lib/xorg/Xorg
kkaranth··on After 24 years, Doom II's final secret has been found
The Game Engine Black Book by Fabien Sanglard[1] is a wonderful book that talks about some of the engineering challenges and tricks employed by id software to get Wolfenstein 3D working.

[1]: http://fabiensanglard.net/Game_Engine_Black_Book_Release/ind...

kkaranth··on The Real Deal About rel="me"
I've found that almost all the results I get from Google these days point to some "big site": pinterest, quora, wired, verge, etc. Often, these sites are behind a paywall/login wall, and the content isn't very good either.

Is the whole concept of authors publishing their opinions and thoughts on their personal websites dying, or is Google ranking such posts lower?

kkaranth··on Companies from the YC Summer 2018 Batch
Later in the same article:

> It’s meant to only run when the driver is between rides. Once a passenger hops in the car, the projector is shut off — because, well, no one wants a projector blasting light in their face on the way to their next meeting.

So, they intend to use it as a means for drivers to make money when they are not in the middle of a trip.

← PreviousPage 2 of 3Next →