HNHacker News
TopNewBestAskShowJobs

srazzaque

449 karma · joined September 11, 2011

https://sandipan.net/ https://fix9.net/
submissionscomments
srazzaque··on I tricked myself into working out 3 times per week
Yep 100% agreed.

I worked out in the morning because "It's Monday, and Monday is a weekday, so that's why" is far more sustainable in the long term. Sometimes less thinking is better.

This said, for many people with jobs/kids/other commitments, regular workout is more of an exercise in scheduling than willpower. For that, the only advice I could offer is to use the mornings, and be done before anyone else in the house realises.

srazzaque··on Why Nagasaki? (2013)
> acted unequivocally as absolute monsters

I'll never forget the day a friend told me: "the Japanese were absolutely ruthless. I mean, these guys made the _nazis_ say 'what the hell is wrong with the Japanese?'"

Which led me to read about this man:

https://en.m.wikipedia.org/wiki/John_Rabe

srazzaque··on Libraries – how companies do not understand open spaces
At a former company I used to work at, this is exactly how it worked. There was an area closed off in glass, literally called "the library". Though some of us called it the fishtank.

Rules were clear. It was for focussed and quiet work. Meetings and calls needed to be done outside.

srazzaque··on Ask HN: Meal Planning App?
Haven't tried PtE, may give it a go at some point.

But just mentioning Paprika does indeed allow you to populate your shopping list from your meal plan, or from an individual recipe. I use this feature frequently.

srazzaque··on Ask HN: Meal Planning App?
I'd also recommend giving Paprika a try. In the grand scheme of things it's "expensive" if you are used to free apps, but a small percentage of a typical grocery cost.

Whilst it has some UI quirks, you can tell its quite well thought out and nicely modelled. The cloud sync also works well between my wife and I (as mentioned by another comment).

Some niceties:

- Grocery list additions automatically get categorised by "Aisle" (e.g if you add "apples" it goes into "produce"). This makes shopping easier, as similar items are grouped.

- Recipes have ingredients, which can be selectively populated into your grocery list. Then, when you're looking down the list it maintains that "link" (ie I'm buying bread crumbs for xyz recipe), which is a +1 over pen and paper. This means if my wife gives me a list, but I cannot find an item, I'll at least know what that item was intended for so I can substitute.

srazzaque··on We are unable to refund mistaken purchases, and/or if you don't like the game
Yep. I tried again a year or so later and it "just worked". Still one of my favourite games, even though it hasn't aged well.

I suppose I could have invested time to diagnose the original issue (drivers, OS upgrades, etc). But, it was good to see that Steam just refunded without insisting it was an issue on my end (which, it may well have been, given the disparity of Linux systems).

srazzaque··on We are unable to refund mistaken purchases, and/or if you don't like the game
Interesting. In 2017 I purchased a game on Steam that was said to work on Linux (SW KOTOR 2). It didn't get past the initial splash screen. Contacted Steam support and they refunded without question.

Would that experience have been different if I wasn't an Australian?

srazzaque··on Contra Wirecutter on the IKEA air purifier
Second this. Whenever I'm looking up a review for a notebook, my default search term is "<model> notebookcheck" to see if they've done a review.

The visual size comparison tool is also extremely handy for comparing something you're about to buy, with something you already have access to. It gives you a much better sense of how much bigger/smaller this thing is.

srazzaque··on Writing Is Hard
I've personally found that writing for myself is likely to increase my understanding of any given topic. That alone is enough motivation.

It forces structure to my thoughts, and the consideration of minute details that otherwise would be handwaved over.

This is perhaps the "generation effect" in play.

srazzaque··on “I think the vast majority of developers still debug using print() statements”
I don't quite understand the argument here. Logging statements and "using a debugger" are not enemies of one another, with tribes of people in one camp versus the other.

Logging, done well, will inform (1) exactly what version of your code you were running 3 months and 12 days ago, and (2) where the potential issue may be.

Therefore it will inform you _where to place a breakpoint_ should you wish to repro the issue and debug locally.

Good luck getting started in a local debug session without having had adequate logging in place.

srazzaque··on Australian digital driving licenses can be defaced in minutes
I voted in person.

And what you're saying makes total sense, why would they validate if it's not required.

As someone with a non-Anglo name of greater 16 characters in total, my instinct when asked for my name and address in an official context is to just hand over an ID. It saves time and avoids ambiguity.

I suppose it's an invalid assumption in my head that an ID is required. It's just what I've always done.

Edit: spelling

srazzaque··on Australian digital driving licenses can be defaced in minutes
I suppose I've just gotten into the habit of showing my ID. It's not required.

As someone with a non-Anglo name, at security/role/other checks etc where my exact name is required, it saves a lot of time versus spelling my name out vocally.

srazzaque··on Australian digital driving licenses can be defaced in minutes
Yep exactly. I've ordered alcohol to be delivered, and they insist on validating. Imagine the lawsuits if a minor was able to order alcohol. But this is literally the only case I can remember in recent memory. (I don't often even get carded at the actual liquor store!)

Furthermore, when I went to vote recently, it was certainly not "validated". And this was the AEC.

srazzaque··on I want an iPhone Mini-sized Android phone
I was about to buy exactly this after reading reviews, wanting a compact phone, and my Note8 dying.

But for a few different reasons I ended up just getting my wife an S22 (non plus) and then inherited her S20 (non plus), which has a very similar form factor.

Definitely felt the OPs frustration in looking for compact Android phones. They just plain don't exist.

srazzaque··on Singapore Government Tech Stack
I believe that's precisely why the SG government choose to pay extremely well. They gain candidates with great credentials that otherwise will have gone to the private sector.

Also, having well compensated staff makes the ranks less susceptible to corruption and bribery.

srazzaque··on The tragic case of the wrong Thomas James is finally righted
> And a great big public apology

Yes agreed, at a minimum.

Perhaps we can/should go further.

In cases like these, I wonder how the incentive structure may change if it became mandatory for all involved crooked prosecutors and inept judges to personally apologise, be temporarily stripped of their professional credentials, and perhaps serve some time in jail as retribution.

srazzaque··on Show HN: "q", a DNS query tool with support for UDP, TCP, DoT, DoH, DoQ and ODoH
Interesting tool.

Though I'm not sure KDB+ users will be happy with the name.

srazzaque··on O’Reilly Learning platform no longer as a benefit of your ACM membership
I'd wager that employers/corporates are precisely their target market with this sort of pricing.
srazzaque··on Tell HN: Gnome on Wayland Is Amazing
Curious, are you on a laptop?

If so, how much of a time investment was it to reach the point where you were no longer customising to reach parity with "batteries included" desktop environments (battery bar, sane sleep/wake-ups, volume control)? And how does it handle being plugged/unplugged from external monitors?

I have tried to switch to tiling WMs several times, but I have always found myself going back to Gnome as soon as it's a rabbit-hole of config files to do something "simple" like, adjust volume, or organise monitors. That is, features that are quite discoverable in standard DEs.

srazzaque··on Ask HN: What are some good keyboards?
Warning: you're about to jump down a massive rabbit hole!

If you want a standard keyboard, DAS and WASD offer some good options.

If Ergonomics are important and you don't mind the learning curve, go for split. The Ergodox EZ is a great option here. I have 2, one for my work desk and one for home, been using them for a few years now and haven't looked back.

Whatever you do, go with a mechanical keyboard. Purely subjective, but you really can't beat the tactility of it.

srazzaque··on Show HN: I made a web game called Almost Pong
Very cool!

Brought back old memories of the "Paddle War" in Commander Keen.

srazzaque··on Write plain text files
It's great, until it isnt. For small and simple documents (sub 20 pages), there's no better option.

In my experience it starts to creak on large documents with multiple editors. I did a project many years ago where the key deliverable was a large report, worked upon by 3-4 contributors over 12 weeks.

That last week was absolute madness. Document got corrupted, and we tried all sorts of things. We ended up importing the corrupt document into Google Docs, which, oddly enough, did a better job of working with a corrupt Word document than MS Word did.

srazzaque··on Japan's Paper Culture
Reading this makes me yearn for paper/fountain again! But I think the convenience of Rocketbook scanning plus reusability has me hooked. At least for now.

I recently found myself wanting to source some Japanese notebooks en-masse, as I prefer handwritten notes for meetings and general "thinking" work. I continually run out of notebooks at the worst possible times.

Instead, I ended up buying a Rocketbook. I thought I'd try it out, it wasn't a huge outlay (compared to, for example, ReMarkable). I've gone through the notebook quite a few times now, works quite well.

Rocketbooks definitely aren't perfect. The tactility is nowhere near that of fountain/paper. You must use Pilot Frixion pens. And you can only buy frixion pen inks in their insanely small and wasteful plastic cartridges (you cannot just buy a bottle of the ink, as far as I'm aware). I do sometimes wonder if it is better to fill up my recycle bin with paper, or fill up my garbage can with frixion cartridges.

But, I'm still not sure I'll go back to standard pen and paper any time soon for my daily notetaking.

Slightly off-topic but I'd be curious if any of you are Rocketbook "expats" or converts.

Edit: spelling, plus further thought on wastefulness.

srazzaque··on Queue Despair: Ordering and Poison Messages
Yep, and there's no straightforward way to know if you missed a message by looking at a timestamp alone. If I receive a message at time "1" then time "3", how will I know I was meant to have seen something at time "2"?

Sequence numbering is how FIX does it. And I think its quite neat that it does this at a _protocol_ level. This means that a FIX client/engine will typically take care of sequence numbering, out-of-order detection (can happen during re-send requests), buffering any ahead-of-time messages, requesting gapfills, etc. It will only present your application layer code with in-order messages.

I'm not aware of any universal pattern for dealing with poison pill messages. Completeness detection and dealing with messages that crash your system are 2 separate concerns.

srazzaque··on Keep a Log
A lot of what you're writing rings true. That is, if one is rote copying or "offloading", you're less likely to retain or truly understand material. I can certainly relate.

But on the other hand, concepts you're building up in interconnected data sets (one-note etc), or anki cards you author _yourself_ are likely forging new neural pathways via the 'generation effect'. They are more a case of 'note making' than 'note taking'. In these cases, when you're reviewing, you're likely not just recollecting random unrelated facts, but re-experiencing the understanding you built up whilst authoring.

Perhaps thats a nuance to the risk that you're highlighting: whatever the medium (anki, org-mode, etc), there are risks to our cognitive abilities atrophying over time if we skip that generation phase.

srazzaque··on Shenandoah in OpenJDK 17: Sub-millisecond GC pauses
Completely agree.

Say what you will about Java (the language), the JVM is a seriously good piece of kit.

srazzaque··on Windows Refund Day (1999)
For some things yes, but not for all things. I can think of 2:

For a remote interview that I had a while back over Cisco WebEx, when things didn't work on my Fedora machine immediately, I'm glad I had my wife's XPS13 with Windows as stand by. Zero time wasted, worked immediately. If that didnt work, it would have been a phone call. I really wouldn't have wanted to muck around with some other distro at that point in time, even if I disagreed with the values of the software developers in question.

For those situations where someone emails me an Excel or Word file that they would like my edits in, and I'm simply not in the position to extoll the virtues of open formats or coach them in Markdown or LaTeX, I have a Windows VM and office.

srazzaque··on AMD laptops have a hidden 10-second performance delay
Great links. Whilst I'll admit a confirmation bias on my side, benchmarks aside, I'm pretty happy with my AMD X13. This is after literally 15 years of only purchasing Intel laptops - aside from thunderbolt, I dont feel like I've lost out on anything.

An interesting little excerpt from the first link:

> this tuning Intel does is in software and for Windows only. If you change OSes or even if the OS is upgraded, chances are this tuning will vanish.

srazzaque··on macOS unable to open any non-Apple application
I had similar thoughts after purchasing my X13 AMD, not sure if you're experiencing the same thing I did. I was extremely disappointed with stock brightness when I first turned it on.

Turned out windows power saving and battery settings actually capped my brightness. So my user-controlled "100%" (via keyboard) actually becomes more like 60%, depending on the power profile.

As soon as I got a new m2 ssd, I shelved Windows and installed Fedora WS, which has no such issue. That is, if I say I want 100%, it obeys.

You can quickly test with either a live USB, or tweaking your power profiles.

srazzaque··on A Saudi prince's attempt to silence critics on Twitter
Yep, I once heard a quote: "rules and laws are like spiderwebs. They are sure to catch insects that cause trouble, but larger animals will just pass on through."
← PreviousPage 2 of 5Next →