HNHacker News
TopNewBestAskShowJobs

sangeeth96

1,199 karma · joined July 28, 2019

just another geek.

---

>> automagic.blog

ཐི༏ཋྀ󠀮 @runofthemillgeek.com

meet.hn/city/11.7490639,75.4931578/Thalassery

Socials: - sangeeth96.at.hn - bsky.app/profile/runofthemillgeek.com - github.com/runofthemillgeek - linkedin.com/in/runofthemillgeek - reddit.com/user/runofthemillgeek - https://automagic.blog

Interests: Cybersecurity, Legal Tech, Open Source, Privacy, Programming, Technology, UI/UX Design, Web Development

---

submissionscomments
sangeeth96··on MacBook Pro Insomnia
> In my case, the “Wake for maintenance” option was disabled, and Sleep Aid helpfully showed in the settings interface that this could lead to frequent wake up events.

Did author mean to write "option was enabled" instead?

sangeeth96··on JavaScript decided my day starts at 9am
Ah, dang it! Thanks! Now that I read it, even *-local ones won’t do what I thought they did? valueAsDate isn’t a thing there. Wish I could unvote myself or that comment. Note to self: never comment on HN when you’re groggy and on a phone and never trust Date APIs lol.

Can’t wait for Temporal to get here which hopefully irons these out better.

sangeeth96··on JavaScript decided my day starts at 9am
Better way to set this from input type=“date”:

    const el = /* get handle to date element */
    const d = el.valueAsDate;
    d.setHours(0, 0, 0, 0);
I wonder why there’s no date-local like there’s datetime-local given this gotcha: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...
sangeeth96··on Sony Sues Tencent for Allegedly Ripping Off 'Horizon' Video Games
> Sony said in its complaint that it declined an offer from Tencent to collaborate on a new "Horizon" game last year.

Wow.

Didn't realize it was such a blatant ripoff until today when I looked at the trailer. The world, outfits, machines, the heroine and even the friggin' music: https://youtu.be/vi-jR03vkPY

sangeeth96··on Sony Sues Tencent for Allegedly Ripping Off 'Horizon' Video Games
I disagree but I wonder if you would come to the same conclusion seeing Horizon gameplay/trailer and then seeing this ripoff's trailer?
sangeeth96··on Webflow Down for >31 Hours
Hugs to the ones dealing with this and the users of Webflow who invested in them for their clientele. Hoping they'll release a full postmortem once the sky clears up.
sangeeth96··on I Used Arch, BTW: macOS, Day 1
Curious, what kind of tasks are these where you see a big uplift? Anything to do with containerization?
sangeeth96··on A 14kb page can load much faster than a 15kb page (2022)
Thanks!
sangeeth96··on A 14kb page can load much faster than a 15kb page (2022)
> A web search suggests CDNs are now at 30 packets for the initial window, so you get 45kb there.

Any reference for this?

sangeeth96··on A 14kb page can load much faster than a 15kb page (2022)
I think the advise is still very relevant though. Plus, the varying network conditions mentioned in the article would ensure it’s difficult if impossible to guarantee consistent response time. As someone with spotty cellular coverage, I can understand the pains of browsing when you’re stuck with that.
sangeeth96··on I'm rebelling against the algorithm
I do something similar with the built-in functionalities of uBlock/Adguard to hide the annoying bits of YouTube out of my sight. But I’m remarking that this shouldn’t be necessary when one’s already paying YouTube in hopes to get an unshittified experience.
sangeeth96··on I'm Rebelling Against the Algorithm
I wish we didn't stuff being "anti-algorithm" under "minimalism". It's just not the same thing. I don't want to go minimalist even if I respect the folks who do.

I wish I could pay for YouTube and other apps and they'd stop cramming their decisions on my feed and instead let _me_ control the experience. At least, let me have reverse-chronological feeds on my home, mute/block channels I don't care about, hide content types and give me more recommendations based on the things I actually like or prefer to consume at that point. I still want to use their apps but almost all of their product leads have decided even paying for something like "Premium" wouldn't entitle a customer to having control over their experience. It's gross.

sangeeth96··on Show HN: A Raycast-compatible launcher for Linux
But prolly can still go after if you resemble it closely enough in terms of looks? I get the API point though, thanks.
sangeeth96··on Show HN: A Raycast-compatible launcher for Linux
That shouldn't matter. They might even have a Linux version in the works, given they are doing Windows now. They are within their rights to ask you to get rid of it. You also seem to be using their brand assets like the logo. I get your intention and love what you were able to accomplish but if you intend for this to grow, you are better off doing this now.
sangeeth96··on Show HN: A Raycast-compatible launcher for Linux
As well as the logo used, name references from all other places and even tweaking the looks a bit.
sangeeth96··on Frequent reauth doesn't make you more secure
Nah, that is dumb too. I get what you’re saying though. They could even ask and confirm if that’s the case while logging in and let me have a persistent session on my own machines.
sangeeth96··on Frequent reauth doesn't make you more secure
Hmm, might be worth reporting if you haven't already. I just tried installing something with IAPs, which usually triggers the prompt. I had the option to use FaceID on my phone. I tried the same on macOS and I had the prompt to use TouchID. I'm on Tahoe beta right now but it worked the same even while on Sequoia. It's once in a blue moon I see the password prompt, not sure exactly what causes it to appear.
sangeeth96··on Frequent reauth doesn't make you more secure
I disagree with the general advise behind this, even when I'm in a household with trusted (most of the time) family members. Forcing a re-auth ensures that even if I forget to lock my machine/browser, someone can't snoop around. I want this to be the norm especially for my Macbook since for whatever reason, I might forget to lock or have some program running that'll force the laptop to not auto lock out (e.g. while downloading something that takes a long time) so I don't want someone to be able to seize that opportunity.

It's the same reason I intentionally lock up apps with TouchID when there's remotely anything sensitive in there. I just don't want someone to be able to snoop if I forget to lock my phone.

I'll say however, there should be easier ways to reauth in such scenarios. Like in my case, TouchID is not very disruptive to my work even if a prompt appears. I'll also say it's probably stupid to lock out when there's continuous activity (should lock based on inactivity period).

The worst offenders in my experience are banking apps. They:

  - Force logout sometimes regardless of ongoing activity
  - Log out as soon as I close the tab
  - Log out when I press the back/reload button
  - After logging out, impose a mandatory inactivity period before I can login again (this is just the most idiotic thing EVER)
  - Use JS to block any kind of copy/paste operation on username/password fields
  - Never integrate with modern auth mechanisms, not even app-based TOTP!
  - Have crazy password expiry windows (like every quarter) and force password change when your previous password expires, regardless of how strong they are
sangeeth96··on Frequent reauth doesn't make you more secure
Are you sure you have enabled TouchID for purchases (Settings > Touch ID & Password)? If you don't, I guess it might prompt for passwords. I just need to authenticate once on restart but can pretty much use TouchID almost all the time after that anywhere auth is expected.
sangeeth96··on Containerization is a Swift package for running Linux containers on macOS
> What exactly is wrong with it? I prefer KDE to either Windows or MacOS.

KDE is my choice as well (Xfce #2) if I have to be stuck with a Linux distro for a long period but I'd rather not put myself in that position because it's still going to be a nightmare. My most recent install from this year of Kubuntu/KDE Fedora had strange bugs where applications froze and quitting them were more painful than macOS/Windows, or that software updates through their app store thingy end up in some weird state that won't reset no matter how many times I reboot, hard crashes and so on on a relatively modern PC (5900X, RTX 3080, 32G RAM). I had to figure out the commands to force reset/clean up things surrounding the package management in order to continue to install/update packages. This is the kind of thing I never face with Silicon macs or even Windows 10/11.

This is a dealbreaker for the vast majority of people but let's come to your more interesting take:

> If you find it hard to adjust to a Linux desktop you should not be developing software

And that sums up the vast majority of Linux users who still think every other year is the year of "Linux desktop". It's that deeply ignorant attitude instead of acknowledging all these years of clusterfuck after clusterfuck of GUIs, desktop envs, underlying tech changes (Xorg, Wayland) and myriads of confusing package distribution choices (debs, rpms, snaps, flatpaks, appimages and so on), that no sane person is ever going to embrace a Linux distro as their daily driver.

You need a reality reset if you think getting used to Linux is a qualifier to making great software.

sangeeth96··on Containerization is a Swift package for running Linux containers on macOS
The average person is not dishing out software that runs on millions of cars from the average PC/laptop they got off the shelves from their bestbuy equivalent. I’d say the same for the average developer. I’d also guess if given a choice and unless there are technical limitations that prevent it from being so, even the devs in your shop would rather prefer to switch to a usable daily driver OS to get things done.

The desktop marketshare stats back me up on the earlier point and last I checked, no distro got anywhere close?

Sure, Android is the exception (if we agree to consider) but until we get serious dev going there and until Android morphs into a full-fledged desktop OS, my point stands.

sangeeth96··on Containerization is a Swift package for running Linux containers on macOS
> Linux has won

Needing two of the most famous non-Linux operating systems for the layman to sanely develop programs for Linux systems is not particularly a victory if you look at it from that perspective. Just highlights the piss-poor state of Linux desktop even after all these years. For the average person, it's still terrible on every front and something I still have a hard time recommending when things so often go belly up.

Before you jump on me, every year, I install the latest Fedora/Ubuntu (supposedly the noob-friendly recommendations) on a relatively modern PC/Laptop and not once have I stopped and thought "huh, this is actually pretty usable and stable".

sangeeth96··on Containerization is a Swift package for running Linux containers on macOS
Beat me to it, thanks!
sangeeth96··on Containerization is a Swift package for running Linux containers on macOS
The CLI from the press release/WWDC session is at https://github.com/apple/container which I think is what many like myself would be interested in. I was hoping this'd be shipped with the newest Xcode Beta but that doesn't seem to be the case. Prebuilt packages are missing at the moment but they are working on it: https://github.com/apple/container/issues/54
sangeeth96··on Indian court orders blocking of Proton Mail
Not sure from where you’re drawing out that conclusion from, esp with the “60 years” point which is a timeline where none of this tech existed. Majority of the population I’d think is grossly uneducated on aspects of privacy and security in the digital realm.
sangeeth96··on Indian court orders blocking of Proton Mail
I disagree mainly because there is a big lack of transparency from the govt/courts on these matters even when pressed with RTIs unless you have sources that say very explicitly otherwise from the mouths of govt/FB.

As for the second part, they sort of are still able to censor/remove posts a lot more easily so this is far from the “fantasy” you’re talking about: https://www.business-standard.com/companies/news/x-takes-ind...

sangeeth96··on Indian court orders blocking of Proton Mail
The problem here is the govt/courts here downplay/ignore even the most straightforward RTI public (Right to Info) requests on many of these matters, the pegasus one still ongoing in courts even after all this time. Meta (FB’s) track record on these situations is spotty at best. WhatsApp is pretty much central to everything happening in India, whether for chatting with close ones, running businesses or amplifying political propaganda. IDK what WhatsApp looks like outside India but every govt. org, political party have verified accounts and directly message folks like me using the Biz APIs even though I’ve NEVER given them consent to do so before and AFAIK, there’s ZERO controls from user’s end to stop these.

I’d also have given WhatsApp a fair pass but Meta/Zuck has never shown any concrete proof that they stand by their users and not the ruling govt’s desires.

That along with all these events, quotes from ministry should suffice to have a reasonable assumption to not put trust on these platforms for private messages.

sangeeth96··on Indian court orders blocking of Proton Mail
I mean, right above the stuff you quoted, there is mention that govt. does now have the provision to access under exceptional circumstances:

> However, as Ashish Mishra, Partner-Cyber Security, NangiaNXT notes, “As of now, the government has the provision to access the encrypted messages under certain exceptions such as legal request, court matters, surveillance, and criminal investigations. The DPDP (Digital Personal Data Protection) Act, along with the Telegraph Act and IT Act, gives the government power to request such data from service providers.”

Given the general attitude towards digital privacy from the govt, I think it’s safe to assume they do have means to request.

That’s not the only incident to draw this conclusion from btw: https://www.business-standard.com/india-news/supreme-court-s...

sangeeth96··on Indian court orders blocking of Proton Mail
Related but India has been on a slow march to becoming a totalitarian surveillance state. Recently, we got public confirmation on govt. having backdoor access to WhatsApp to surveil on citizens when the FM talked about the Income Tax dept. scanning WhatsApp messages to catch offenders: https://m.economictimes.com/wealth/tax/is-the-government-alr...
sangeeth96··on Indian court orders blocking of Proton Mail
> Would the court block gmail if the same happens via gmail?.

I mean, G will happily cough up the data and so will other big corps. Proton doesn’t… unless they go through the Swiss relationship route?

But this decision is stupid and harmful regardless.

← PreviousPage 3 of 7Next →