HNHacker News
TopNewBestAskShowJobs

flak48

1,214 karma · joined September 4, 2015

submissionscomments
flak48··on WhiteHat Jr’s founder files $2.6M defamation suit against critic
And they are charging $1500 just to read out scripts along with freely available code.org tutorials
flak48··on For Alaska shipwreck survivor, losing everything has been ‘sort of liberating’
I legit felt I was reading an excerpt from a Steinbeck novel. Had to read the other replies to confirm that I wasn't
flak48··on Apple blocks game streaming services unless individual games are approved
So what Apple is saying is basically "Nice app you've got there, shame if anything happened to it"
flak48··on Managing my personnal servers in 2020 with K3s
Reminds me of simpler times not too long ago, when we used to run an entire startup by simply rsyncing files to production via Gitlab CI after tests passed after every commit.
flak48··on The cheap pen that changed writing forever
Growing up in India it was pretty common to see others in school use fountain pens, although most (including me) used gel pens due to the impracticality and cost of fountain pens.

Gel pens feel so much better than regular ball point pens and are still almost as cheap.

flak48··on I Violated a Code of Conduct
If that were the case it would be super ironic that they were trying to nitpick on Jeremy's behaviour (if we can even call it that) when they couldn't get their shit together themselves.

Especially when the CoC requires vague things like 'be kind'

flak48··on Next.js 10
Is support for nested routes going to be added any time soon?

If I don't want a full page reload when clicking a new tab for example? Or if I want to implement the age old header, sidebar main content layout without importing the header/sidebar in all my routes/components?

I'm aware there are hacks to get around this but would be nice if the standard next router supported nested routing with persistent layouts for those who need it : https://github.com/vercel/next.js/issues/8193

flak48··on Home Made Raspberry Pi Standing Desk Controller
Faster prototyping, I can ssh into a RasPi wirelessly and control the gpio via my terminal like a REPL, for the ESP I need to keep flashing newer firmware and control it via USB to serial. Feels a bit clunkier although not a huge difference.

If I were making and selling some IoT hardware or if I wanted to re-use the RasPi for something else in my house, it would definitely make sense to move to an ESP/Arduino

flak48··on Create React App 4.0
Yep. Lack of support for nested routes is what's keeping me away from Next.js too. A tab view that doesn't rerender the whole page requires jumping through many unofficial hoops with Next.js.

Even standard patterns like having seperate components for page header, sidebar that doesn't rerender the main content section feels very hacky with Next.js, and that too after digging through many people's blogs to read how they accomplished that.

I guess next.js really wants you to ditch the whole SPA idea atleast when it comes to routing.

I hope folks also explore more moderate patterns like server rendering only the first page load (either with react dom or using state hydration) or exploring better separation of client bundles too, and figure out what works best for them. Rather than sticking to whatever next.js or CRNA are set up for by default

flak48··on Please stop using CDNs for external JavaScript libraries
What if my website tries to load a JS file that only foxnews.com loads (maybe with a less restrictive CORS config)?

I'd be able to tell if you visited Fox news recently, correct?

flak48··on In Finland the average amount of data transferred per SIM card is 17.3GB/month
Can confirm I've had a similar experience, especially recently. A 4g hotspot worked perfectly for my work from home situation up until July. Post July I started seeing significant degradation in connection quality on Zoom calls that didn't occur on a WiFi network in the same house.

Plus reduction in overall speeds beside Zoom during specific times of the day almost like clockwork, this too in recent months also made me feel that there is some hidden throttling at play.

flak48··on Modi government to set up app store alternative to Google Play, Apple App Store
Because the saner option has lesser PR value
flak48··on SEC charges former Amazon finance manager and family with insider trading
The article mentions that they were asked to pay just under twice their profit (2 * $1.4 million)
flak48··on Visualize Data Structures in VSCode
This looks promising. Maybe this can replace the need to use Jupyter or Matlab for some simple research or dataviz use cases
flak48··on Germany will violate international agreements with Unitary Patent, says FFII
Yep it reads like a xenophobic copypasta that can be used in any context just by changing the first line of the comment
flak48··on Ask HN: Should I quit the field of software development?
I would agree with you if we were talking about leetcode style data structure/algorithm questions, but system design is almost always relevant. I found 'Designing Data-Intensive Applications' to be a useful book beyond interviewing.

Even if you are not working on a product that requires supporting millions or billions of reads / writes, knowing what is overkill and what isn't, for your project's use case is still useful

flak48··on PayPal is currently blocking all transactions containing the word “tardigrade”
That they even requested that a 6 month old be taken aside is absolutely insane
flak48··on WSL for Development in Windows 10 Is the New Kool-Aid. Still Not Using It?
Even after reading a gazillion posts about setting up and using WSL/WSL2 I had no idea something like Windows Terminal existed!

Someone seems to have made a Quake style dropdown too for it: https://github.com/flyingpie/windows-terminal-quake which I absolutely need

Probably wouldn't have wasted so much time trying to get ConEmu/Cmder to work with WSL if I had known.

flak48··on WSL for Development in Windows 10 Is the New Kool-Aid. Still Not Using It?
I tried my best to use WSL but ran into a never ending list of issues 'this is a known issue with WSL' or 'known to not work with WSL, try updating to WSL2' whenever I tried to use fairly common tools. A lot of things like React Native with Expo was still extremely flaky/impossible to use.

Setting up ConEmu with WSL2 is still painful and WSL/WSL2 still freezes randomly.

Ultimately I just installed Linux on an external SSD and it worked like a charm. Bye bye WSL

flak48··on UK scores an own goal with its Digital Services Tax
India tried to do this anyway when the new Goods and Services Tax was launched : http://gstcouncil.gov.in/anti-profiteering-mechanism

Which led to issues like https://www.bloombergquint.com/business/higher-grammage-vs-l...

flak48··on “yarn is dead, long live npm”
The author of the tweet seems to be one of the original members of the yarn team at FB.

And a reply by the person (current/erstwhile maintainer) that they seem to be attacking in their tweets:

https://mobile.twitter.com/arcanis/status/130071210391814144...

No idea what the actual issue is behind all this Twitter drama

flak48··on Blanked-out spots on China's maps helped us uncover Xinjiang's camps
Buzzfeed News has a lot of excellent journalism. Even in its non US editions, like India for example. They cover a lot of important stories that the mainstream outlets refuse to touch.

Like other comments have already mentioned Buzzfeed (not Buzzfeed News) is the low effort listicle / clickbait part of the business which is unfortunately better known (mostly for pioneering the entire "10 things... you won't believe number 7" genre)

flak48··on The potentially revolutionary Celera 500L aircraft
Not being sarcastic, my claustrophobia kicked in and my breathing literally became a bit heavier as I imagined sitting in a metal tube without windows. Had never considered how psychologically important windows are, before.
flak48··on The potentially revolutionary Celera 500L aircraft
Since this plane is intended to compete with other business jets, don't owners of typical business jets mostly travel to (international) airports with long enough runways anyway?
flak48··on Simultaneous AP and Client Mode Wi-Fi on Raspberry Pi Zero W
Yep. I didn't do it with a RasPi but with a Chinese chip I found off AliExpress

Managed to strip down OpenWRT so it would fit in the meager 16MB RAM/8MB flash. In the init script (a bash script) just checked if a wifi network was configured previously (creds stored in a file).

If configured, try to connect to the network for 10 seconds. If it couldn't connect, then switch to AP mode and start a lightHTTPd server listening on 192.168.0.1:80.

The only files it served was a simple index.html with some JS that called a bash script via CGI that used a openwrt bash library to scan and list the available wifi networks.

Then a HTML form to choose an SSID and enter the password, upon submit call another bash file to connect to the network (switch to client mode) with a timeout. If it fails, the bash would switch back to AP mode.

Polling in JS to check if the connection was successful (by checking if AP mode becomes active again)

flak48··on Why Microsoft's new Flight Simulator should make Google and Amazon nervous
The first VR headset Microsoft plans to support for Flight Simulator is the HP Reverb G2.

Having owned a Quest where the hand tracking is getting better, and using controllers does not disrupt the experience IMO anyway, I hope they add Quest support too, soon. Hopefully manipulating the knobs and switches and also using the yoke (or joystick on Airbuses) with the controllers will feel natural as well.

Many people are already using the Quest or Rift S to play DCS online with generally positive reviews, so I'm very optimistic. The Hololens (which is marketed more towards AR) should be exciting to experience as well.

flak48··on A guide to learning algorithms through LeetCode
Evidence of Leetcode culture more than anything
flak48··on People slept on grass beds 200k years ago
Welp, down I go the rabbit hole of looking for how one might guess the speed of a runner from foot prints
flak48··on Show HN: Warp, a Python based music-theory aware MIDI sequencer
Thanks, you gave me some great starting points to delve into this. Had never heard of music set theory, will take a look
flak48··on Uber and Lyft ordered by California judge to classify drivers as employees
If I had a dispatch company that phoned/radioed possible drivers in some round robin order, if driver number 4 always tends to decline I would stop wasting my time and my rider's time in contacting him again, after a point
← PreviousPage 3 of 8Next →