HNHacker News
TopNewBestAskShowJobs

usmannk

2,553 karma · joined September 3, 2015

hn@usmannkhan.com
submissionscomments
usmannk··on Ask HN: Books that teach programming by building a series of small projects?
I was looking for golang in this thread and this is the only reference I found. Would you mind linking the Go book you reference? Thanks
usmannk··on Lionel Messi Is Impossible (2014)
It’s not that, they’re pushing the “before you go” page to the history stack. https://developer.mozilla.org/en-US/docs/Web/API/History/pus...

You can see it if you right click the back button after navigating to the article.

usmannk··on Ask HN: How to get back into AI?
> I was more in mechanical engineering so perhaps this is less common in AI oriented papers

No, you got it right. This is EXTREMELY prevalent in modern AI/ML papers, to everyone's detriment. In the majority of interesting cases, reproduction is only possible with the original code.

usmannk··on Ex Police Officer Used Law Enforcement Tech to Hack Women’s Explicit Photos
The 3yrs probation was for a different person. Not the one involved in the headline.
usmannk··on An anonymous donor just sent 299 Ether (equivalent to 393k USD) to redox_OS
Press "Click to see More". Then the message is there, displayed as bytes encoded into hex. There is a toggle to display that data in UTF-8 format too.
usmannk··on Show HN: Pipes puzzle (a.k.a. Net) on a hexagonal grid
my first 5x5 try was 0:58. I was actually very surprised when it came together as it felt like i was just randomly fitting pipes to their nearest neighbors.
usmannk··on The Global Cost of Corrosion
or just option+0, because degree is like a little 0 I guess?
usmannk··on Learning Go as a Python Developer: The Good and the Bad
Personally I find struct field tags a nice way to encode the json fields. They also allow you to use upper case names for all struct members. I’ve never had an issue with the way json is done in golang, and I’m kind of confused by this rebuke. What’s wrong with using string pointers? What helper methods are necessary to write? This kind of feels the same as reading a rant against strict types.
usmannk··on Memzoom – view/monitor the raw memory of processes/files in your UTF-8 terminal
I think the confusing part is the live view of utf-8 encoded memory scrolling by. As opposed to samples or profiles, which are more evidently useful to those who aren't doing systems programming regularly.
usmannk··on What's the deal with all those weird wrong-number texts?
They were not trying to steal your number. They were using your number to back a new google voice account, so that they could get another free number from google. It’s a common scam, used on facebook marketplace sellers as well, and actually works best if the victim has never used google voice before.
usmannk··on Corpse Flower Bloom
One of the ones in SF bloomed just last weekend! Was very cool to see. Their lifecycle is very interesting too — an earlier stage of the plant is a large tree-like structure that is actually just a leaf! One of those was present as well.
usmannk··on AWS costs every programmer should know (2019)
> I’ve always been bad at math but isn't 4TB for $400 approximately $0.10/GB?

Yes, I was trying to say that amazon and google charge $400 for 4TB (a lot!). And yes, EBS is better but what about when all you need is actually just an SSD?

usmannk··on AWS costs every programmer should know (2019)
Network Egress always gets a bad rap but recently it's the SSD cost on AWS/GCP that has me upset. IMO storage needs to take on some of network egress's heat :)

$0.10 per GB-month for a basic SSD is outrageous compared to Hetzner et. al. a 4TB SSD for a month costs $400 on the big guys and like $50 on the commodity providers. It's not even a managed service!

usmannk··on How to have a billion dollar exit with zero capital gains tax
Of the reqs, having to hold the investment for 10 years seems like the biggest barrier in applying this to a startup.
usmannk··on Cloud TPU VMs are generally available
TPU VMs are an incredible, incredible product. If you were put off by the previous TPU Node architecture, you should definitely come back and give this a shot. The dev/debug loop is just so much nicer now that the TPU is local to your VM.

That said, the one thing I'm missing on these is orchestration. GKE supports TPU Nodes but it does not support TPU VMs. It seems to me like this is a must-have feature so I'm sure it's on the roadmap.

If anyone from the team is here, do you have updates on this? And if anyone reading this has orchestration techniques they use and recommend for TPU VMs, please let me know what they are!

usmannk··on Stanford gets $1.1B for new climate school from John Doerr
> if you have a climate-related degree, can you really compete with Stanford CS majors for a SDE job

For this specifically: Yes, depending on your extra curricular activities and interests. And if it was a graduate degree, then yeah almost certainly.

usmannk··on Some special cases of method dispatch in Julia
s/principals/principles in the post
usmannk··on The frenzied world of rare watches
Ah I see, I misread the 100k as retail (for both).
usmannk··on The frenzied world of rare watches
> effectively nullifying any financial damage.

Aren't you out the 100k?

usmannk··on The magic of the Japanese convenience store sandwich
Have you been to a 7-11 in the US? I would be quite shocked to hear anyone contemplate eating much of the food if they could afford not to. Nothing at _all_ like the ones in Japan.
usmannk··on PayPal faces lawsuit for freezing customer accounts and funds
I've never actually paid for PACER. They waive the fees if you're below $X every quarter. And it's a generous enough $X.
usmannk··on Show HN: Looptap – A minimal game to waste your time
Wordle has the most fantastic share button I've seen. It copies a spoiler-free version of your game board into your clipboard so you can share as you wish, no links or growth spam. Normally I avoid the buttons because they just try to paste a link to my twitter profile.
usmannk··on Study finds no detrimental effects of psilocybin in 10mg or 25mg dose
is that a detrimental effect?
usmannk··on MIT Scheme on Apple Silicon
Ohh that makes more sense, thanks.
usmannk··on MIT Scheme on Apple Silicon
Hey sorry, didn't check back on this comment for a while. I can't recommend any _courses_ in particular (unless you're a Georgia Tech student, in which case "CS 6265: Information Security Lab" is absolutely incredible).

One really fun way to hone your skills is https://microcorruption.com/, a ctf-style simulated hacking game originally made by Square and Matasano.

usmannk··on MIT Scheme on Apple Silicon
Wow really? A common intro to security exercise (think CTFs and university courses) is to write increasingly complicated C programs that leverage W&X. Classic buffer overflow into the stack kind of stuff. On M1 it’s now impossible to exploit even a self-compiled toy in this way?
usmannk··on Ask HN: Those making $500/month on side projects in 2021 – Show and tell
That’s so exciting, congrats! How did you approach user acquisition? How did that change as you grew?
usmannk··on Proof of Steak
There is normally at least a credibility of "this is earnest work"
usmannk··on A deep dive into an NSO zero-click iMessage exploit: Remote Code Execution
This is mind boggling. NSO used a compression format's instructions to create logic gates and then from there "a small computer architecture with features such as registers and a full 64-bit adder and comparator which they use to search memory and perform arithmetic operations", all within a single pass of decompression. Combine this with a buffer overflow and you've got your sploit.
usmannk··on Ask HN: Has Google search become quantitatively worse?
> Anything technical/coding, search on StackOverflow. Anything cultural/commercial you want a peer answer, instead of a salesman answer, search on Reddit.

Do you find this better? In my experience it’s nicer to just put stackoverflow, reddit, or (often, in my case) seriouseats in my google query. Reddit search in particular is pretty miserable.

← PreviousPage 2 of 10Next →