HNHacker News
TopNewBestAskShowJobs

ahurmazda

1,289 karma · joined January 9, 2014

submissionscomments
ahurmazda··on It's time to port your extension to Firefox
As a FF user, yay! However, I am a tad confused if the comparison is indeed apples-to-apples. E.g is chrome and firefox app team running similar suite of tests? What if firefox app team only checks for typos in the title (contrived). Of course it feels good to get an immediate approval.

In any case, the process (both Chrome/FF) should be as transparent as possible so a dev knows what they are dealing with. I can't imagine the frustration to have to deal with unhelpful automated responses.

ahurmazda··on Why Create a New Unix Shell?
Others' experiences may vary but personally speaking I have to write a fair amount of shell scripts that run on a range of machines, networks etc. At best its a pita to change shell on these ephemeral boxes, worst case its out of my control.

The lowest common denominator ends up being the good ol' bash (or sh)! Sure fish/oil is nice but quite a bit of mental gymnastics to keep them all straight in my head.

ahurmazda··on The platforms have acted, raising hard questions about technology and democracy
>If you think that an average citizen is too stupid to think for themselves, ...

I sincerely have no such intent. Apologies if it came out that way.

>> erosion of civil discourse

Maybe my naivete but it seems that online discussions are much less nuanced compared to face to face discussions we had when growing up. Sure I disagreed with relatives but it certainly feels a lot more intense now a days (quite possible that its just the nature of the medium).

>>level of discrepancy of Overton windows between rural and urban America

Do you have any recommendation on how to lessen this gap? I live in a major metropolis. But I keep getting a feeling that such a widening chasm can not be good for the society.

ahurmazda··on The platforms have acted, raising hard questions about technology and democracy
Couldn’t one argue that we have had a (gnarly) A/B test in the past few years— Twitter, FB mostly let different groups use the platform as the latter see fit. End result is (mind you not theoretical): erosion of civil discourse, platforms being used to organize illegal activities, proliferation of misinformation (during a pandemic) etc. We are kinda beyond what we could happen if company X did not allow Y to begin with. It has already happened.

I am more worried about where are we heading as a society? Why the heck is a regular joe (me) lying awake at night about armed unrest in the most powerful country in the world. Just beyond depressing.

ahurmazda··on Ask HN: What are decentralized Twitter alternatives?
Are you willing to pay for such a service? More importantly, are you willing and able to convince enough of your network to pay for it?

Otherwise, any system will asymptotically look like Twitter/Blah. You could very well use your group chat feature on regular cell phone as a start (takes care of the payment aspect). But soon you or your friends will want feature X. So, cough up more $$ again.

Another option is to cultivate real life friends/family that you can hang out with, chat, share photos in the privacy of your home/blah (wait till covid passes please).

ahurmazda··on How the U.S. Military Buys Location Data from Ordinary Apps
On iOS, one can lock out an app from ever using the gps -- thats been my default posture as long as I can remember. In addition, I regularly look up to see which of the apps are trying to access location information (they usually quickly get the boot). Is this a feature on other mobile OSes?
ahurmazda··on The Accelerating Adoption of Julia
Pet curiosity ... if the inventors would humour me.

What was the thinking behind adopting the `end` notation for marking the end of blocks. I know that certain family of PLs (Erlang, Ruby) use them. But the dominant flavor is the `{}` syntax (c/c++/scala/rust etc)

Was it an explicit choice or more based on your past familiarity with other languages?

ahurmazda··on SARS-CoV-2 was already spreading in France in late December 2019
My anec-story is from ~Nov 1. BA resident. Sickest in my life. At the ER with 106F (did not know it even went there) fever and bad cough. Complete delirium. Flu result came back negative. No sepsis either. Released with anti-pneumonia antibiotics. Fever > 105F persisted for at least 6-7 days. Coughing that was bad enough to cause spasm. Took a second round of antibiotics (21 days total) to get over the pneumonia. The doc remarked about my chest x-ray ("whoa what is that?!!") but could not give a good explanation.
ahurmazda··on Python Tips and Tricks, You Haven’t Already Seen
Did not know about the kwarg only function. Neat. Although I wonder what it means for readability esp if the idiom is not well known.

A general observation is that the itertools module is full interesting nuggets. I am always finding something new.

ahurmazda··on Remote war is bad war
Depressing topic. I am sure scientists will argue that adversity is a required ingredient for evolution etc. I just hoped that we/humans can come together and decide that _this_ particular type of adversity (ie war) is no longer required. Heck, maybe, I'd settle for Star Trek style simulated war[1]

[1]https://en.wikipedia.org/wiki/A_Taste_of_Armageddon

ahurmazda··on Safari 13 Is Out
I made the switch to FF 2 months ago after being a Safari zealot (for nearly 10-14 years). I did not notice any memory hogging (was an issue in past). I have not rebooted FF in 20+ days. I really enjoy the "container" concept in FF. (ymmv of course)
ahurmazda··on Python vs. Rust for Neural Networks
I could see how Rust could be a good option for writing the prediction server. In my use case, DL models are trained offline. It does not matter if it’s faster by 30 mins in training (maybe when I R&D-ing).

On the other hand, you typically have to reach for something like c++ for a low latency, high thruput environment. It can be a bear to write a server. Anything more ergonomic would be welcome

ahurmazda··on iTerm2 3.3
> iTerm2 is worth it just for the "Copy to pasteboard on selection" option,

The only reason I downloaded iterm2 many eons ago but stayed for the rest

ahurmazda··on Julia: Come for the Syntax, Stay for the Speed
Not familiar with matlab but its not as terse as R

``` using GLM, CSV, Plots

data = CSV.read("data.csv", header=["x","y"], types=[Float64, Float64]) #returns dataframe

ols = lm(@formula(y ~ x), data)

ypred = predict(ols)

yall = Base.hcat(data.y, ypred)

plot(data.x, yall, linewidth=2, title="Linear regression", label=["y", "ypred"], xlabel="x", ylabel="y")

```

ahurmazda··on An opinionated view of the Tidyverse “dialect” of the R language
With respect, its laughable to think that anyone working on big-data with R has _not_ heard of `data.table`. When your livelihood depends on it, you tend to find it out one way or the other.

However, I'd claim most folks don't deal with big data or even medium data! [Aside: I chuckled at the 1e5 columns on the plot]. Personally, at the small-to-medium range, all languages are fast enough. It boils down to ergonomics for me. I _detest_ the subscript notation. It slows me down -- not just productivity-wise but also how I read or reason-about my code. Not surprisingly, I prefer `dplyr` over `data.table` (base R or `pandas`)

ahurmazda··on Embracing Swift for Deep Learning
I am familiar with libc (I will have to look up Foundation). My opinions were based on cursory browsing at best.

To be clear, coming from mostly python/c++, I was looking for something like `import pathlib` or `#include <filesystem>`. Lot of modeling work I do involves boring things like moving files around, plotting them etc.

Again, its likely that I did not look around enough.

ahurmazda··on Embracing Swift for Deep Learning
Likewise, I tried _swift_ back when it was first announced. I had trouble finding tools in standard library to handle simple FILE operations. There are many resources on using PythonInterops to get the job done. But kinda defeats the purpose. Maybe these are early days.

That said, I remain optimistic given Jeremy's involvement — he/Rachael/fastai's been nothing but a source of good for ML in general.

ahurmazda··on Zero-shot transfer across 93 languages
I have been pleasantly surprised by FB's suggested translation even when the messages are written in seemingly (to me) complicated transliteration of Bengali.
ahurmazda··on HyperLogLog in Presto: Faster cardinality estimation
Awesome! Now that we have union, implementing intersect[1] would be killer.

[1] https://github.com/axiomhq/hyperminhash/tree/master

ahurmazda··on Visual Studio Code 1.30 Released
I very much enjoy vscode for local edits. Alas! Majority of my time is spent on remote machines. I’m yet to find a solutions better than ssh + vim. I desperately want to be able to use vscode on remote boxes (eg using whatever python interpreter and pytorch happens to be installed there)

Irony is that jupyter notebooks are a decent middle ground for my workflow since the editor is actually running on the server (although I’m not super in love with it since I have to refactor etc and missing out on what IDEs have to offer).

Vscode remote extension has been a joke unless I’m missing something big ... akin to Rsyncing files, making edits locally, and pushing it back out.

Nuclide (atom) seemed like it does what I want but I never got it to work in my vpc.

ahurmazda··on Uber, Google, Facebook: Your experiments have gone too far
There was a recent detailed study [1] by SFCTA that partly blames the traffic woes on the likes of Uber/Lyfts.

They also released an interesting interactive map [2] that is worth exploring

[1] https://www.sfcta.org/sites/default/files/content/Planning/T...

[2] http://tncsandcongestion.sfcta.org

ahurmazda··on John McCain has died
"Asked how he wanted to be remembered, McCain said: 'He served his country, and not always right—made a lot of mistakes, made a lot of errors—but served his country, and, I hope we could add, honorably.'"

Last part always gets me. It takes a lot of humility to accept mistakes. RIP an honorable man

ahurmazda··on Where grep came from [video]
I hope these videos will live on for many years to come. Absolutely amazing and rich oral history of many things we take for granted in our daily lives.
ahurmazda··on Ask HN: What is one Vim trick most people don't know?
Yes! Took me (embarrassingly) long to discover since I could not figure out how to google it
ahurmazda··on Japan's most valuable startup aims to teach factory robots to think
This company is behind chainer, a deep learning framework that partly inspired pytorch [0]. In fact, its was one of the first frameworks to come out with define-by-run (aka eager execution). The also developed CuPy (think numpy on gpu) [1]

[0] https://chainer.org [1] https://cupy.chainer.org

edit- add cupy

ahurmazda··on Jupyter Receives the ACM Software System Award
Julia Python R
ahurmazda··on Learn Git in the Browser
okay, I just spent my lunch time going over the tutorial. It makes me happy (and very thankful) that people like you are taking the time to create such great resources. Kudos!
ahurmazda··on Flowhub is now in Public Beta
Is this a joke? I am serious...
← PreviousPage 5 of 5