News for hackers. Stuff that matters.

devnull3

Re:How I went about learning Rust on Friday July 15, 2022 @01:58AM (#32105051)
> What would be a good use case of Rust than Golang

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

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.

Re:India could become a 'mushroom superpower' on Monday June 20, 2022 @12:48PM (#31812539)
India consistently disappoints the most optimists and the pessimists about its potential.
Re:A religious sect landed Google in a lawsuit on Thursday June 16, 2022 @09:46AM (#31765990)
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.
Nice! Now this would be expected algo from candidates in google/meta interviews, especially for senior IC roles.

Update your leetcode answers folks.

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

"Never get sentimental with your code"

Re:Google cancelled a talk on caste bias on Thursday June 02, 2022 @09:00PM (#31602851)
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.

Re:Google cancelled a talk on caste bias on Thursday June 02, 2022 @09:23AM (#31594545)
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...

Re:The Go Programming Language and Environment on Tuesday May 31, 2022 @05:38AM (#31567574)
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.

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.

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.
Re:On Aging Alone (2021) on Saturday May 21, 2022 @01:58AM (#31455620)
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.

Re:On Aging Alone (2021) on Saturday May 21, 2022 @01:54AM (#31455597)
> 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.

Re:Rust: A Critical Retrospective on Thursday May 19, 2022 @09:46PM (#31442428)
> 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.

Re:Python Language Summit: Python Without the GIL on Wednesday May 11, 2022 @10:54PM (#31348768)
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)

Re:Back to India on Saturday April 09, 2022 @07:40AM (#30967160)
> 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/

Re:Changing jobs during the Great Resignation on Friday April 08, 2022 @10:53PM (#30964891)
> 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.

Re:Twitter is adding an edit button on Thursday April 07, 2022 @12:04AM (#30940497)
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)

Re:Twitter is adding an edit button on Wednesday April 06, 2022 @11:00AM (#30932766)
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
Re:Ask HN: Why are some soundtracks of movies so powerful? on Wednesday March 23, 2022 @01:43AM (#30775363)
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.

Re:Shabdle: Wordle in Hindi on Monday March 21, 2022 @11:50AM (#30755474)
> back of the mouth (like "k", "g", etc.)

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

Re:What were humans doing in the Yukon 24,000 years ago? on Monday March 14, 2022 @10:29PM (#30681083)
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.

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.

Re:Ask HN: How can I prepare for hard economic times? on Monday March 14, 2022 @05:59AM (#30670448)
> 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.

Re:What made World of Warcraft's environments so compelling? on Thursday February 24, 2022 @12:06AM (#30450514)
> loading into the Dwarf starting zone in 2005

I think the background score adds to the effect.

I can never forget the surreal feeling when logging into the first time in Elwynn Forest with its iconic music in the background. Very idyllic.

There is something about WoW graphics. Its a right balance between cartoonish and photo-realism.

Older »