News for hackers. Stuff that matters.

majjgepolja

See I am not American and don't care about American culture war, Republican Democratican, or whatever you guys are using as an excuse to burn down buildings.

It's plain wrong to put banner ads in third world countries like Brazil and India, sounding like wikipedia doesn't have money to run their servers.

It's plain wrong to funnel that money to executives.

People who make wikipedia great aren't even involved with this. They have enough money to run servers, and a potential donation doesn't create additional content. They are trying hard to hide that fact with some clever wording.

This is textbook example of __dark pattern__ which highly privacy focused people love to point out when a bootstrapped startup collects telemetry data from their little application.

The Wikipedia fundraising effort is sounds like a metric driven C suite executive desperately trying to make charts "stonk".

Re:Negative 2000 Lines of Code on Sunday November 06, 2022 @12:55AM (#33489143)
the problem is some day the information will leak and the ones who know start gaming the metric.
Re:The type system is a programmer's best friend on Saturday November 05, 2022 @01:07PM (#33483316)
I am grug. More benefit type when there's red line in editor. More benefit type system when F2 rename everywhere.
Re:In Defense of Linked Lists on Friday November 04, 2022 @11:40PM (#33477661)
Is there a difference between intrusive and extrusive list when the member type is a struct (value type)?
Not same.

A) I can't download book. I go see other book.

B) I can download book. I download it.

If B is the case, my ability to download book did not cause you any loss.

Re:Twitter’s mass layoffs have begun on Friday November 04, 2022 @12:18PM (#33469196)
Just look at the armchair advocate fired from Google last year.
Not so sure about that, with a certain clickbait coverage of solarwinds story creating bad PR for Jetbrains, (perhaps among the least controversial tech companies).

That's what happens when liberal arts people think they're too delicate to understand anything more nuanced than US political thing of the day.

Re:Twitter’s mass layoffs have begun on Friday November 04, 2022 @06:18AM (#33464238)
Most of these kind of roles tend to accumulate liberal arts types who do no meaningful contribution apart from armchair advocacy.
Some technical books are too costly for students, especially in third world countries.
Re:I am a quite good bad programmer on Thursday November 03, 2022 @12:27PM (#33453478)
> I'd say it's more a measure of how well you can learn an arbitrary skill.

Time is finite. You can learn to write better programs, or grind Leetcode. Leetcode interviews favor the one who can put enough time on the latter.

A better explaination is it's a chain reaction. People who know only to Leetcode enter the industry, and ask only Leetcode questions.

Re:I am a quite good bad programmer on Thursday November 03, 2022 @12:16PM (#33453312)
And these are the people who post on LinkedIn as if their understanding of esoteric Leetcode string DP problems is essential for scaling Amazon and Google.

They may not quite understand their development or deployment environment but their knowledge of writing segment tree as a single dimension array in 15 minute is somehow essential to scaling the internal CRUD app these people end up working on.

Now everyone being interviewed by this person has to know by heart or magically derive on spot how to find minimum steps to obtain maximum length palindrome subsequence of even length from a string consisting of lower case letters, because apparently it's the gist of all computer science knowledge a developer will need.

Re:Responding to recruiter emails with GPT-3 on Thursday September 01, 2022 @11:34PM (#32686278)
Show HN: I am earning 3 lakhs INR per annum side income with GPT3.
Re:Jewish Problems (2011) on Wednesday August 11, 2021 @11:37AM (#28143323)
> the university would be dominated by a minority who were simply good at tests/human calculators but lacking in the customs, morals, and values that contribute to society.

Relevant excerpt from "Why nerds are unpopular" [0]

> I mistrusted words like "character" and "integrity" because they had been so debased by adults. As they were used then, these words all seemed to mean the same thing: obedience. The kids who got praised for these qualities tended to be at best dull-witted prize bulls, and at worst facile schmoozers. If that was what character and integrity were, I wanted no part of them.

[0] http://www.paulgraham.com/nerds.html

It's not as accurate or satisfactory in my experience. For example I get errors after running in python, which could be detected in statically typed languages while typing in IDE. Autocomplete is also less than optimal. As for autocomplete intellij IDEs > LSPs for typed languages > Untyped languages IME.
I guess the word is structural typing.
The main advantage of typing is, for me, IDE showing errors as you type and better autocomplete, and they serve as documentation also (Of course you should read docs but types are helpful as quick reminder.)

Maybe I am just more absent minded than most dynamic programmers, but live IDE diagnostics and autocomplete are very important for me.

Modern java is pretty nice though. I tried MLs and Haskells but was put off by not-so-mature tooling. (I know some of you do very well with it but I am used to some hand holding). With an IDE like intelliJ, modern java is pretty good. When I use python even with a linter/LSP many errors go undetected, whereas Java is much strict about this. (IIRC Java 9+ has local variable type inference, streams and lambdas were introduced in Java 8. It's not perfect but much expressive than old java.
Re:What Went Wrong? on Monday July 19, 2021 @04:32AM (#27880389)
Given 90% of execs spend their entire lives doing nepotism and politics, I don't think it's as foolish as you frame it.
That's true, but having seen (non-IIT) Indian colleges, I am not surprised if 80%+ students they see are like that. Moreover, intelligent ones less commonly opt for masters degrees because they get good offers in campus placements, especially those from middle class or rural areas are already doing undergrad on loans.
Re:Protect student privacy: ban eproctoring on Monday July 12, 2021 @03:08AM (#27807842)
Those subjects are not there for any meaningful purpose. Imagine having a CS degree program and teaching chemistry, physics, biology and a bunch of even lesser subjects is blatant and ignorant waste of students' money.
Re:Protect student privacy: ban eproctoring on Saturday July 10, 2021 @01:28AM (#27791330)
It's a grey area.

In india, the engineering curriculum includes lot of subjects that are not useful for the students but only there because some fat belly officer thought it would be "Interdisciplinary".

Can you imagine teaching biology as a subject for engineers? waste of money and not what we have come to learn, or interested in. But colleges in India do that.

Cheating in such subjects is fair.

Re:Protect student privacy: ban eproctoring on Saturday July 10, 2021 @01:24AM (#27791314)
It's also that many teachers are underproficient.
Re:Protect student privacy: ban eproctoring on Saturday July 10, 2021 @01:21AM (#27791308)
open book exams with serious thinking questions is the answer.

I had such a numerical methods exam, I had a python script ready for it. No regrets on automating something that should be automated. I understood how the method works and wrote code for it.

Re:F# is the best coding language today on Saturday July 10, 2021 @12:02AM (#27791011)
This argument 'it selects for intelligent devs' needs to die.

it just selects for people who have hipster level enthusiasm about function programming. That doesn't mean proficient.

Many talented developers have a life of their own, and can do well without changing the language.

That's why Joel said 'smart AND gets things done'.

Re:MIT and Harvard agree to transfer edX to ed-tech firm 2U on Wednesday June 30, 2021 @03:15AM (#27685823)
Blackboard isn't a good example here. They are mostly discussed for their questionable business practices and shit product.
It's a teenager who doesn't have much CS knowledge [0] thinking he can put two features over golang and make a fortune out of it.

[0] anyone with proper knowledge doesn't claim they can "avoid GC by automatically inserting calls to free"

Its disturbing how this shitfest even gets treated as real, even people who made reasonably good languages (crystal, nim, odin) did not get the hype this got.

Re:The Repeated Deaths of OOP (2015) on Monday June 07, 2021 @12:02PM (#27424133)
> What is definitional? Inheritance, encapsulation, methods.

I am probably missing something, but how is inheritance essential for OOP?

In my understanding, inheritance is not necessary. The point of OOP was probably encapsulation. At some time inheritance became popular for "code reuse", until a preference for composition over inheritance developed.

Emphasis on inheritance is what infuriates me about many traditional sources about Java programming etc.. My java textbook says "object model" is major detail and "typing" is a minor detail. I am like, WTF, you cannot understand java object model until you understand type system.

Re:The modern web on a slow connection (2017) on Sunday June 06, 2021 @12:21AM (#27410775)
What's difference compared to using Chrome / Firefox with Noscript / UBO to block JS by default?
> The colonialism narrative of every native civilization is to demonize them. The fact that you believe it is that you have accepted the white man's burden line, hook and sinker.

Every civilization does that. They write history from their viewpoint. But at least they don't rely on sources of dubious credibility to reinforce their points. The grand hindutva narrative is often dubious and science-defying.

> I see no harm in indulging in it. Especially when every other alternative involves wiping us out.

You don't have to buy into a political narrative. You can just try to see objective truth.

> And stop bragging about your Brahmin background. 90% of Brahmins will sell their identity for a dollar and munch on beef burgers given a chance.

I did not brag about it. I told growing up in a Brahmin household made me realize we are also a stupid outdated religion, like all other religions. I also despised lazy preisthood in last comment.

And what's wrong with eating beef? It was just a tradition not to eat it due to religious reasons. You can follow good & reasonable things from Indian culture and be an atheist, Savarkar was.

The Brahman was supposed to be intellectual, even having an authority over the ruler class, being the face and brain of the society. What did __most__ Brahmins over the history do? Being lazy preists who did not contribute anything to society. Of course there are exceptions, but most did not value intellectual rigour, rather continued as religion preachers doing mystic rituals which position reinforced their wellbeing. If anything I am guilty of being born brahmin.

> Identity and culture is the only valuable thing that 90% of poor Indians inherit from their ancestors and it is important for them to preserve it.

It's also important to see what's good and what's bad for the current era. Even our sacred books say what's Dharma changes with time.

I generally don't argue with people indoctrinated with right or left wing philosophy and see everything as black and white. But on this site, it's disappointing to see someone repeating all the usual rightwing insults at the people they disagree with.

Older »