News for hackers. Stuff that matters.

devnull3

Re:Why performance optimization is hard work on Wednesday April 30, 2025 @03:25AM (#43842164)
I think optimization triggers fundamental instincts in humans:

1. Tracking i.e. navigating through jungles for hunting or find where the bottleneck is.

2. The thrill of the hunt. The joy after finding the hotspot or the bottleneck. It makes your day.

3. The actual hunt i.e. shooting an arrow/spear or using clever way of fixing.

4. Brag about the hunt or writing a blog post or tech talk on how difficult and awesome the hunt was.

Also optimizing a critical path has multiple takers in the org:

1. Product Managers are happy due to improved user experience.

2. Management is happy as in some cases it actually saves a lot of money.

3. Your boss is happy because he/she gets to score points as "team achievement" when evaluation is around the corner.

4. Engineers get to do nerdy things which otherwise would not find traction in the org.

All in all its a win-win-win-* situation.

Shouldn't the service daemon upgrade schema and perform migrations on initialisation?

Before performing upgrade make a copy of the db file. Also multiple DBs can be inited in parallel.

I fail to see why this might be so hard.

Re:The Coming Knowledge-Work Supply-Chain Crisis on Sunday April 27, 2025 @05:43PM (#43815374)
> hypervigilant

If a tech works 80% of the time, then I know that I need to be vigilant and I will review the output. The entire team structure is aware of this. There will be processes to offset this 20%.

The problem is that when the AI becomes > 95% accurate (if at all) then humans will become complacent and the checks and balances will be ineffective.

I think an in-between approach could be:

1. Identify top-N tenants

2. Separate the DB for these tenants

The top-N could be based on mix of IOPS, importance (revenue wise), etc.

The data model should be designed in such a way that from rows pertaining to each tenant can be extracted.

Re:The Industrialization of IT on Tuesday April 15, 2025 @04:03AM (#43690168)
To be fair, if we know something will happen with high certainty then its not much of a prediction.

The fact that no one really knows how LLMS will pan-out means every projection in future is a prediction.

Re:Datastar: Web Framework for the Future? on Saturday April 12, 2025 @01:27PM (#43666346)
It will still be much lesser than perma Cambrian explosion in js frameworks.

Infact, a lot of the patterns in the likes of HTMX will be standardised.

Re:Datastar: Web Framework for the Future? on Saturday April 12, 2025 @03:51AM (#43662300)
On thing about datastar vs htmx: Datastar embraces htmx's OOB swap and makes it a first class concept.

HTMX's OOB swap appears to be an after thought.

Re:TUI editor and Vim/Neovim alternative on Monday March 24, 2025 @02:24PM (#43463961)
I don't know V but mostly what I have read about V is that it is vaporware [1]. Is there truth to this impression?

[1] https://www.google.com/search?client=firefox-b-d&channel=ent...

Re:Stupid Smart Pointers in C on Monday March 17, 2025 @09:32AM (#43388425)
Re:Writes and Write-Nots on Sunday October 27, 2024 @05:37AM (#41961106)
New and non-plagiarized text is essential for all the AI models to train on. Without these the AI models will reach the saturation point or worse the output will not be as effective as it can be.

If AI trains on generated text it is equivalent of an incestuous relationship and I don't have elaborate on analogy further.

Re:Advice for first-time inventors from a patent engineer on Tuesday October 22, 2024 @11:11AM (#41915082)
This assertion needs a lawsuit and deep pockets. Most startups will not be able to do this.

Infact the patent holder can file a lawsuit against a startup. Now even if the startup can prove that the patent is invalid, it has to spend precious money on the lawsuit.

Re:Advice for first-time inventors from a patent engineer on Tuesday October 22, 2024 @06:59AM (#41913077)
Having filed multiple patents, it does not leave a good taste in your mouth (esp software patents). You know you are bullshitting but unfortunately it needs to be done because others will do it and deny you to use the invention.
Re:Advice for first-time inventors from a patent engineer on Tuesday October 22, 2024 @06:56AM (#41913059)
> Does this mean if I disclose an invention, that nobody can patent it after a year?

Others can. But during their application who is going to tell that there is a prior art? Patent offices only do basic checks on existing patents and not on the wider internet.

Once the others get their patent, you can appeal [1] it.

[1] I am not sure its the right word

Re:Memory Safety Without Lifetime Parameters on Monday October 21, 2024 @08:34AM (#41903483)
On the other hand its published on open-std.org which adds to its credibility
Re:Memory Safety Without Lifetime Parameters on Monday October 21, 2024 @04:17AM (#41901853)
This appears to be a out of season April Fool's joke.

Am I the only one who thinks the this sacrifices the readability?

Highly doubt it. It is increasingly becoming difficult to get (or renew) H1B visa.
The less said about Gandhi the better. He had an amazing PR in the age when there was no concept of PR.

The world has always been divide on: Owners and workers. This transcends communism and capitalism. Owners always wants more work out of workers. Owners unknowingly or knowingly behave as if they own the people. This was literally true when slavery was widespread.

Even in western countries we find the unwritten understanding between Steve Jobs and Eric Schmidt not to poach each other's engineers [1]. Where is a the "free hand of markets" here? Does it not limit the career opportunities for employees?

Activision Blizzard, one of the top AAA game developer had huge culture problems. There is a lawsuit as well [2]

How is it in the land of free and ideals of Martin Luther King and Abraham Lincoln get to a point where humans are treated like corporate property?

[1] https://www.theverge.com/2012/1/27/2753701/no-poach-scandal-...

[2] https://en.wikipedia.org/wiki/California_Department_of_Fair_...

At a coarser level it works in India, but not at granular level. If you are involved in a lawsuit then it can drag for years. So essentially it becomes "justice delayed is justice denied".
There are 2 types of companies in India at present:

1. Services

2. Products

The product companies's culture and environment are on-par with silicon valley and this includes a good pay as well.

Services is another matter. The fundamental issue is the business model. These companies earn revenue per person and hence the incentive is to over-staff or over-sell the people needed. There is no incentive to solve or be pro-active about customer's problems.

Not a law per-se but I am not aware of any firm which allows dual employment. Moonlighting is not allowed and is mentioned in the employment contract.

Hence the "leaving certificate" serves multiple purpose:

1. Person is not working elsewhere

2. Person has gracefully exited the employement and there not pending dues or conflicts.

In India your new employer demands "leaving certificate". This is an official letter from previous letter that you are no longer employed with them.

An existing employer can weaponize this and simply not issue this letter.

This does not happen in India but I am not sure if this the case in Japan though.

Re:All software in EU under product liability from 2026 on Friday October 18, 2024 @07:02PM (#41884273)
> my product should find problems in 3rd party components.

Does that mean that say a security vulnerability in openssl is a responsibility of all software which uses them? I think its unreasonable to expect software projects/products to find things like heartbleed.

What about bugs in kernel/OS? How many user-mode software can find bugs in kernel/OS?

Re:All software in EU under product liability from 2026 on Wednesday October 16, 2024 @12:01PM (#41860681)
Who decides the definition of "what was suppose to work" in the context of a given software product?

There are times when a feature is used in a way which was not intended by the developers. Now do the developers have to publish their test scenarios?

What if the bug is in 3rd party library? Add to it the complexity of open-source code.

Re:Reflections on India on Tuesday October 15, 2024 @12:46PM (#41850472)
Few points about India

1. Anyone claiming to know India well is either foolish or lying? (This includes Indians). India is diverse on all counts imaginable (color, language, wealth, urbanization, etc). Every permutation will throw up large number of people.

2. India consistently disappoints the pessimistic and the optimistic. If you see the bad side (poverty, chaos, etc) it is easy to bet that this country is going nowhere but this is just few scenes of long movie. There are other scenes and its easy to be absolutely bullish.

3. Think in absolute numbers as well and not just percentages. 3% in India translates to lot of people. It is more than the adult population of many countries. Apply this to any metric you will get large numbers on either side of the bell curve. So in India you will find 3% of the smartest and also the dumbest (in IQ terms) both in huge numbers. You will see these (only a subset of) 3% migrating to western countries and be hugely successful.

As per me the only way to deal with India is to accept its all hues and colors.

I think the main attraction of object storage like S3 is that it already solves the hard problems (distributed-ness, scalability, durability, etc) with a simple(r) API.

Also, apis like S3 are defacto standard with many vendors supporting a descent subset of it.

Re:Why GitHub Won on Monday September 09, 2024 @02:26PM (#41491738)
I stand corrected! Thanks!
Re:Why GitHub Won on Monday September 09, 2024 @01:30PM (#41491047)
Agree but my point is when you see a new and better rival then instead of pivoting SF became even worse and became malware-ised.

Also SF was based on SVN. They failed to understand and capitalize on a better tech on the market i.e. git.

Re:Why GitHub Won on Monday September 09, 2024 @12:53PM (#41490506)
The rise of github also coincided with enshitification of sourceforge.net. SF although was not git based at that time but it had the mindshare of lot of open source projects and it went complete downhill.

So, a downfall of a potential alternative was also a factor IMO.

Edit: after I commented I realized that SF was already mentioned in other comment

Re: on Monday September 02, 2024 @05:42PM (#41429036)
It is/was an April Fool's joke

Older »