Better HN
topnewbestaskshowjobs
Log inSign up

devnull3

819 karma · joined Aug 2, 2021 (5y ago) · 273 submissions

Submissions

comment 4y ago · link · parent

I can confirm that it does. I am working on it as I write this :).

Technically, an extension and VFS are separate things.

An extension when loads, allows you to register the VFS with the Sqlite. It can also register virtual tables as well.

comment 4y ago · link · parent

It just so happens that I am working on a versioned file system for sqlite based on its VFS interface. Planning to release it in a week's time. It will be in pre-alpha stage and its more of a proof-of-concept.

Having worked with FUSE in the past, there is always some performance penalty, but the advantage is that there is no change in the application.

The VFS will need change in the application but less overhead. Trade-offs!

183.

Has the world become less colourful?(twitter.com ↗)

13 points · by devnull3 · 4y ago · 5 comments

comment 4y ago · link · parent

> What would be a good use case of Rust than Golang

If you can afford GC in your project go for Golang else Rust.

comment 4y ago · link · parent

I don't know how much nuclear reactors have advanced. But I can understand the fear in the someone's back of their mind: What if something goes wrong?

I see this risk = Fallout x Probability. Even though the proponents argue that the tech is much more safer, the fallout is so huge and generational that its it neutralises the low probability of any accidents.

PS: I am neither for or against the nuclear tech.

comment 4y ago · link · parent

India consistently disappoints the most optimists and the pessimists about its potential.

comment 4y ago · link · parent

Until last year I too use to dream working in Google. But increasingly the attractiveness is decreasing. I cannot put a finger on one specific thing. It has gone too large from a career pov.

comment 4y ago · link · parent

Nice! Now this would be expected algo from candidates in google/meta interviews, especially for senior IC roles.

Update your leetcode answers folks.

comment 4y ago · link · parent

Small piece of wisdom I received when I was an intern:

"Never get sentimental with your code"

comment 4y ago · link · parent

I never said that. Just because Sundar is of certain caste does not mean he has explaining to do.

It's like holding any white British person to explain all the bad things British did in their colonies.

comment 4y ago · link · parent

I doubt it. In fact attrocities on brahmins is rarely discussed [1]. Infact his state TamilNadu there is a strong anti-brahminism sentiment in political sphere. This is one of the reason why lot of upper-caste men/women go outside India.

[1] https://www.firstpost.com/opinion/the-brahmin-files-why-atro...

comment 4y ago · link · parent

Angular is not a language but a framework. A more reasonable comparison would be Dart.

Besides, being backed by a $CORP is necessary condition but not a sufficient condition for a language to become mainstream.

comment 4y ago · link · parent

As someone who have gone through this there is one Achilles heel: appraisals.

Unless the management agrees in letter & spirit on prioritisation this is a disaster.

When everything is a priority the message from top is "We want best of both worlds" i.e. we want productivity, quality and less complaining.

Now you have prioritized in seq: A B C D... The team who has C or D to deliver will have there deliverables pushed by say 6 months. Guess who will be pissed-off with this?

But the team accountable for D will say that this is what was agreed and signed on but the top still had those flawed expectations back of their mind.

There is also cross-team impact. The product manager who was championing project D now has his/her appraisal in question. He/She will point fingers to the engineering and complain to his/her boss.

In other words: Every one in the chain of command has vested interest. Unless they are aligned to large extent its hard to get out of this situation.

comment 4y ago · link · parent

Not that I have anything against or for this proposal, I think the focus should be on items which causes daily friction.

Example the err check pattern:

   val, err := f()
   if err != nil {
      return err
   }
Now to be fair this was discussed in public sometime back. I don't know what became of it.

comment 4y ago · link · parent

The thing I fear most is not loneliness but getting old and loosing senses (eye-sight, hearing, movement etc).

I can't imagine what I will do. Can't even read books or listen to music, enjoy occasional TV. Its a lose-lose situation.

comment 4y ago · link · parent

> indian subcontinent where multi-generational families mean you're never really alone.

It's changing fast, especially in big cities. Families are becoming more nuclear. Its still much better than western countries though.

comment 4y ago · link · parent

> other than maybe Zig

As much as I like Rust, I am keeping an eye on Zig. But Zig 1.0 is too far away to be considered as a contender right now.

comment 4y ago · link · parent

For the change of this magnitude, a compiler flag (default = OFF) is reasonable.

Once the extensions and eco-system in general catches-up the flag can be a runtime one (default = OFF)

comment 4y ago · link · parent

> being successful in the US gives you lots of leverage and status

That use to be the case. The shine has definitely worn off. I would say the work culture in Indian product companies are much more closer to its western counterparts. (Service companies are a different ball-game)

> But lets be real, isn't the quality of life much worse

In my opinion, India is worse off in 2 things primarily: 1. Population density in cities 2. Poorer govt. Having said that a lot of things have improved in last decade:

1. Payment infrastructure is probably the best in the world.

2. Govt services increasingly getting online and digitised. This used to be a big friction before.

3. Govt services are increasingly streamlined in last 10 years e.g. Huge improvement in passport application/renewal

4. Investing heavily in physical infrastructure. E.g About 36 KM/day is getting added as National Highways [1]

5. Biggest Tax Reform called GST in last 50 years. The implementation is shaky but improving.

6. Incentivising production in India called PLI scheme. It received huge response [2]

As far as startups are concerned, the sentiment here (at least for me) is "we-can-also-do-this" and "we-can-be-the-best". This uptick in confidence is palpable (again where I am standing)

10 years ago, I would have never imagined electric scooters/cars being designed (and not just manufactured) in India [3]

[1] https://www.news18.com/news/auto/road-network-in-india-showe...

[2] https://www.cnbctv18.com/auto/govt-receives-huge-response-to...

[3] https://www.atherenergy.com/ https://pravaig.com/

comment 4y ago · link · parent

> 30 minutes of additional “me time”

> he needs to clear with his wife?

He is saying "additional". It does not mean total = 30min of free time.

comment 4y ago · link · parent

So Deletion & repost will look like:

1. Copy the old tweet content

2. Delete the tweet

3. Start creating new the tweet (but not finalized)

4. Paste the content

5. Edit the content

6. Finalize the tweet (equivalent of Submit button)

VS

Edit will look like:

1. Press edit

2. Edit the content

3. Finalize (or Submit)

comment 4y ago · link · parent

I think edit option only for 1-2 min on creation of tweet might not be such a bad option. I have myself found wanting this feature to fix grammer or typo or forgot to add a certain #hashtag, etc

comment 4y ago · link · parent

Sound/music creates/evokes mood or emotion. Words/visual needs processing by brain but sound is something effortless. That is why you can listen to a song and still work.

One of my fav: (Charge of the Rohirrim, LOTR = https://youtu.be/EmTz7EAYLrs?t=315). The violin beautifully captures the mood and ride to inevitable death.

204.

Australian cane toads become cannibalistic in a display of rapid evolution(youtube.com ↗)

1 points · by devnull3 · 4y ago · discuss

comment 4y ago · link · parent

> back of the mouth (like "k", "g", etc.)

Note the "g" here is like that in "gum" and not "gin"

comment 4y ago · link · parent

Advancement in science & tech needs curiosity, critical & independent thinking and most importantly ability to change mind when data says that you were wrong.

These are precisely the things which religion (organised or otherwise) has suppressed for thousands of years.

The most important factor in advancement of sciences came because of: separation of the state and religion. When this happened it still took few centuries where rational thinking was accepted in ruling class. From this point it was really the case of one idea leads to another.

comment 4y ago · link · parent

An act is rational or irrational depends on whether you can convince yourself.

History is littered with examples where men have slaughtered other men just because their religion "allows" them by some divine right. These men will argue that they acted rationally.

Men will invent "rational" reasons to justify the end objective.

comment 4y ago · link · parent

> predicting the next big crash for the last 5 years to no avail

It's precisely when no one (i.e mainstream media) is expecting, things go south. E.g 2008

However, ppl predicting crash will be right eventually because boom-bust happens in cycles. We just don't know when. Even a broken clock shows the right time twice a day.

comment 4y ago · link · parent

Linked paper in the video's description: https://www.frontiersin.org/articles/10.3389/fnagi.2022.8135...

210.

First scan of a dying human brain shows life flashes before eyes(youtube.com ↗)

15 points · by devnull3 · 4y ago · 3 comments

1
678910