HNHacker News
TopNewBestAskShowJobs

rraghur

290 karma · joined September 18, 2017

submissionscomments
rraghur··on Why build this blog, or anything, on IPFS?
Which isp are you on? For all you know, it might be possible to get an ipv6 now.

I was in the same predicament but there was a news item that act(ISP) was rolling out ipv6... speaking with customer care and even escalating to nodal support was useless as they were clueless... Spent an afternoon fiddling with router and I got a v6 address no problem!

Tl;dr; don't believe clueless tech support .. Just try it out at your end.. you might get a pleasant surprise!

rraghur··on How to Make a Raspberry Pi VPN Server
Remote troubleshooting machines on your home network.. esp if you have parents/family who aren't tech savvy...
rraghur··on Ask HN: A New Decade. Any Predictions?
1. Renewables are dominant source of energy. Every new house is energy positive. Wind and solar are primary for industrial sources.

2. ICE vehicles are quaint. New electric vehicles sold overtakes ICE vehicles sometime around 2027 - 2029.

3. Autonomous vehicles L4/L5 are still 'just around the corner'

4. Ubiquitous Gigabit wifi/cellular/sat data across most of the world.

5. Masses still don't care about privacy.

6. Not much change in top tech companies - FAANG still around and maintain their leadership in tech domains as of now for the most part.

7. Android has been replaced with Fuchsia with Fuchsia being able to run APKs built for android. Phone apps are mostly a combination of WASM apps with native UI. Most non-tech people are unaware as usual.

8. Atleast a couple of cities in the world come to the brink of disaster/or become unlivable due to climate change (most likely in India/China). At least one major war due to climate change.

9. Workloads are all massively parallelized; low end desktop cpu parts start with 32 cores.

10. WASM adoption skyrockets. In 2030, OS is almost immaterial since most of the core functionality is provided by WASM payloads; OS is only used to paint native UIs (for which there still isn't a good cross platform solution)

11. Deepfakes are ubiquitous; Audio/Video evidence is no longer accepted; A lot of companies pour money into creating verfiably unmodified video/audio - but it isn't solved yet.

rraghur··on Ask HN: Astrology? Yay, Nay or Meh?
Since you asked :) - Nay!! (what's meh?)

and you said it - it's a pseudo science... so why, even?

If you hadn't said 'pseudo science', I'd have assumed you're a believer and that the question was in earnest.

OTOH - you do end with 'old world knowledge' so I'm not sure anymore.

but you're not asking that...I suppose what you're asking is akin to training an AI on two unrelated datasets and asking it to predict one based on other... sure - it's going to spit out some 'pattern recognition' where none exists. Basically, AI (or anything else) can't manufacture causality.

rraghur··on Go + Services = One Goliath Project
Do you also break up the data for each service up front or do you pull that out later?
rraghur··on Smart TVs like Samsung, LG and Roku are tracking everything
I have a cheap, Chinese make 'smart' TV... (Le Eco).. e the company has gone under quite some time ago... It runs in it's own vlan with only access to the DNS (pihole).

It's consistently the top blocked client on my home network! Ott. Nielsenccdata.tv

rraghur··on Staying Focused on Projects
For me, the biggest problem seems to be that if there's a break in between (work/travel etc - need not be long - something as short as a couple of weeks is enough) and then I find it hard to pick up the project again where I left off :-(

Still haven't found a way to come back to projects once there's any sort of interruption.

rraghur··on GUI for Neovim
For ppl interested in guis for nvim, i just came across https://github.com/yatli/fvim which has some nice qol improvements (compared to neovim-qt). I haven't tried it on Linux yet though
rraghur··on .NET Core 3.0 Concludes the .NET Framework API Porting Project
I use VSCode with C# extension. THe only thing I missed was the additional analysis and quick fixes that full VS provides. However, that got sorted out by installing Roslynator in VS Code (works on linux too) and I couldn't be happier.
rraghur··on YouTube thinkfluencer Siraj Raval admits he plagiarized scientific papers
Aah... the level of brazenness is stupendifying!

If he's an educator, then he doesn't need to publish a paper - he can educate with material that exists.. no - this is means to legitimize himself and unlock other opportunities.

And his justification is his 'punishing schedule'? Seriously?

I hope charlatans like these crash and burn simply because they bring a bad name to everyone else who do honest, non flashy work!

rraghur··on Daytripper
Usb dongle as keyboard send keys and I think he's using a nrf24l01+ for wireless comms
rraghur··on Test coverage only matters if it's at 100%
- Don't write unit tests for testing code, use them to guide your design.

While that statement is itself is somewhat questionable, it's a little better and IMO reflects the purpose of unit tests better. Usually, if I'm finding it hard to write or setup a test, that's a signal that something's off. Also, UTs are absolutely lovely when you're refactoring code - as long as code tests invariants and publicly visible behavior instead of implementation. So even if the part you're refactoring has say 60%, you'd still be in a much more confident of making changes.

Code coverage under anything other than unit tests can be very misleading - for ex I've seen places where system & integration tests are run on instrumented code (and little to no unit tests) and since a huge swathe of code will be hit (mostly happy path), there's a false sense of code quality and safety which is probably more dangerous than no tests.

Overall, "When a measure becomes a target, it ceases to be a good measure." applies most often to test coverage.

rraghur··on Dumbdown – A Tree Language that compiles to HTML
I've found decent results with .adoc --(asciidoctor)--> docbook --(pandoc)--> docx

It won't roundtrip (and I doubt anything will ever) but I usually go only one way - converting to docx in the last stage.

rraghur··on Dumbdown – A Tree Language that compiles to HTML
> post above and tell me how the Asciidoc ordered list using . and .. is more readable

It isn't - the point is that asciidoc has a 'spec' whereas markdown has dialects because it's not rigourously specified (core or extensions). Which one you might run into is the luck of the draw.

Should you try to improve markdown (and lots of people have), you end up with the N+1 standards problem (famous xkcd cartoon) and further fragmenting the implementation if at all it takes off.

Getting one 'Markdown' that has features (and extensions) that work properly wherever you go isn't a technical problem . It's a problem created by the lack of a spec in the first place and IMO pretty much unsolvable now.

rraghur··on Show HN: DBML – simple DSL language to document database schemas
I meant the CLI tools listed on the site that let you roundtrip between dbml and actual sql dialect (currently looks like pgsql & mysql are supported)

I guess my original query could've been clearer - but the author got my drift :)

rraghur··on Show HN: DBML – simple DSL language to document database schemas
Very nice! So do you plan to support other dbs? Sqlite would be nice.
rraghur··on Dumbdown – A Tree Language that compiles to HTML
markdown has a bunch of flaws - most egregious is that it lacks a spec. GFM brings in a few nice QOL improvements and CommonMark tried to standardize - but it's very very soon that you run into it's warts - For ex - try to have a list which has a code block in it (or other complex content)

For me, Asciidoc (and Asciidoctor) have become the default - formal spec, test cases and extension mechanism so that you don't have N + 1 flavors of it. It also has a markdown migration mode that eases moving from md.

IMO, it is better in almost every way than markdown - the only reason it isn't as popular is that Markdown was made popular (and drove adoption) by the Github & others.

rraghur··on Ask HN: Do senior engineers have a mental model before coding?
For largish problems, a general idea of the key structures and abstractions.. what's desirable, what's not... It becomes hard to think of how certain parts of the system mesh together... At that point, to avoid analysis paralysis, I write the scaffolding and some tests to see how the API feels... Most often, doing this clarifies stone assumptions that I was perhaps inadvertently making and leaves me with a path forward (after moving things around a bit)

So definitely iterative..

Whenever I've tried to design completely, it's rarely worked well. What has happened as I've grown older is that most parts of the system are orthogonal to others and it's usually not very complicated to compose parts together. So that leaves me with focusing on the core problem more up front and then layering in the other needed (but known) parts

rraghur··on Life of Brian: The most blasphemous film ever?
It's possibly the best political satire bar none. I've probably watched it a good few times and will continue to watch it. Best is, that it even lines up beautifully with some of the stuff that goes on in Indian politics here to this day!

There was also an Indian spin off sometime in the nineties.. did sort of ok but iirc got called since it ruffled a few feathers here

rraghur··on Run .NET Core Apps Directly from a GitHub Gist
Probably because the crowd that mostly was on. Net is the one in enterprises and they're not going to migrate legacy apps anytime soon. Seriously, other than stack overflow and maybe Ms owned properties, does anyone remember any other large scale site that was on. Net?

IMO, that means that. Net was never targeting the early adopter market. Ergo, their new platform, which is just different enough, isn't probably having many adopters. Secondly, having to wait for libraries to catch up is probably a real reason initially (till.net standard 2.0?) But that just meant when slower adoption.

Add to this, to maintain cross platform tooling, they're now have cli first tooling and flux around fileformats. That imo, made a lot of the traditional .net shops uncomfortable.

I've jumped b/w .net and Java and very comfy with Linux. Last few years have been. Net and .net core in prod. after 2.0+, it's been absolutely wonderful. Great language ergonomics and I can finally ditch vs for vs code. 3.0 is only going to make it better

But then, I'm probably far from the representative .net dev here.

rraghur··on Schrödinger's Cat with 20 Qubits
So that blog post quotes a demo of passing 1024 qubits by 2008. Anyone know where we are at on reality now?

Or is that d wave claim material for/r/agedlikemilk?

rraghur··on Ultra marathon runner earns awards for both first place woman and overall winner
Wasn't there a mexican tribe where they run marathons all the time? IIRC, a woman from the tribe participated and won an ultra marathon hands down (and wearing slippers made of tyres or something like that)

Found it - https://elpais.com/elpais/2017/05/24/inenglish/1495618559_31...

rraghur··on Speed matters: Why working quickly is more important than it seems (2015)
I agree... For personal projects, if I find myself overthinking something, it's time to just put together something that works.. that usually resolves a bulk of 'what if' questions that were freezing me up in the first place. However, it also means a decent amount of refactoring/or sometimes even junking what is tried out.

Trouble is that this approach rarely works beyond a very small team.

rraghur··on Reddit Redesign: A Year Later
Same here - I hate how inefficient the UI is in terms of space . Infinite scroll is something that I'd not even wish on my worst enemy - click a link and come back and now you've got to wade through pages again!

Unrelated - same goes for GIthub explore page :(.

rraghur··on By the book: reflections on an Indian childhood reading Soviet hardbacks
Heh! Irodov problems were dope... Spend multiple days putting over the same problem and the exhilaration when you finally crack it!

Still brings back memories

rraghur··on Sway 1.0
How is this on Nvidia? I'm on KDE neon and so no Wayland due to Nvidia's lack of APIs
rraghur··on Missing Out on Deep Sleep Causes Alzheimer's Plaques to Build Up
Someone needs to write how much deep sleep you need per night!

I'm a light sleeper and with recent chronic pancreatitis, I have trouble sleeping...

Articles like this only dial up anxiety and make things worse!

For example. My hear fit says I get 3h30m of 'motionless'.. is that enough deep sleep? Apparently, not very clear since trackers aren't really accurate enough

rraghur··on Git Best Practices
I'm more in the camp of just committing often... But not with good messages... Once I'm ready to merge though, I rebase and clean up commits... Seems like more work, but I like knowing that I have a fallback position if the idea I'm trying falls flat
rraghur··on Indian Jets Strike on Pakistani Side of Kashmir Line
I read elsewhere that this might very well be with tacit agreement from Pak

* India bombs terror camps and can show it's retaliation for the suicide attack.

* Pak has always denied existence of the camps - so of course they 'missed' and bombed empty ground. Helps them save face internally.

rraghur··on What Impossible Meant to Feynman
QED is fantastic as well...
← PreviousPage 4 of 5Next →