News for hackers. Stuff that matters.

moss2

The members of the pedophile club are way richer, more influential and have a vastly greater quality of life than you.
Re:John Carmack on Inlined Code on Wednesday October 09, 2024 @05:56AM (#41786106)
That maxim ("an intelligent person should be able to hold two opposing thoughts at the same time") is also used by religious groups to indoctrinate people. Be careful!
Re:Rewriting Rust on Thursday September 26, 2024 @03:06AM (#41655337)
Same problem with JavaScript's NPM. And Python's PIP.
Re:Is Tor still safe to use? on Thursday September 19, 2024 @04:02AM (#41589593)
I think the FBI/CIA/NSA could afford 8000 nodes if they wanted to.
Re:EU Court: Apple received EUR 13B illegal tax subsidy [pdf] on Tuesday September 10, 2024 @05:08AM (#41498776)
I think this is a common practice in every country. If the tax payer is at fault, the tax payer pays. If the treasury is at fault, the tax payer still pays.
Hoping that journalists pick up on cases like these and spread the word wide enough is... optimistic, to say the least.

A much better solution is to build incentives into the legal system, like tgsovlerkhgsel suggested. The problem isn't that bad actors abuse the system, the problem is that the system allows bad actors to abuse it.

Are you saying this new plastic will also clog up our oceans?
Re:Silicon Valley's best kept secret: Founder liquidity on Wednesday June 12, 2024 @05:12AM (#40656097)
It is too bad it is up to the founders themselves to offer liquidity to employees. Founders are financially incentivized to not offer anything, so you're counting on their sense of justice and morals to overcome their sense of personal gain. This should be regulated.

(Yes, this is a political opinion. No, I am not American.)

Glad I switched to Ubuntu
Have we come full circle? Docker was made to create a stable environment for an executable to be run in. Now we're making executables out of the stable environment... should we run that executable in a docker image too?
Re:Unity's Open-Source Double Standard: The Ban of VLC on Friday January 12, 2024 @04:19AM (#38965861)
Wouldn't be surprised if Unity is developing their own multimedia engine they want to sell. Shitty practices like this is what makes me want to get into politics.
Re:Librum: Open-Source e-book platform on Tuesday December 19, 2023 @04:04AM (#38693413)
I looked for any mention of hosting your own server on the repo's readme and could not find it. This is not readily available information so stop shaming people for not finding it.

But thank you for sharing the link that was helpful

Re:The Onyx Programming Language on Monday December 11, 2023 @12:21PM (#38602471)
I'd prefer the other way around. If the language was verbose but its tools (IDEs, analyzer extension) hid redundant info from you.
Re:The Onyx Programming Language on Monday December 11, 2023 @12:18PM (#38602438)
I might not be against that...

Assigning variables or calling methods (when you discard the return value) would look the same as is typical in many languages:

    int x = foo(); // foo() returns int but we can see that in what type x is
    foo(); // we don't care what foo() returns
Named variables in method calls would have to have the type so as to not hide what type a method-as-parameter returns:

    CoolObject cool_obj = bar(int arg1: foo())
Re:The Onyx Programming Language on Monday December 11, 2023 @12:09PM (#38602359)
I can't remember which language, but there is one where every number is a double and there is no int type.

Is Onyx like that? I don't know. It would take me maybe two minutes to look up. The point is I have to look it up to be certain when that certainty could be part of the language.

Re:The Onyx Programming Language on Monday December 11, 2023 @12:07PM (#38602338)
Would you be willing to use a language that looked verbose in the text files, but you had an IDE that hid the verbose parts from you?

Take your Java example. If the code in the .java file looked like

    HashMap<String, List<int>> hashmap = new HashMap<String, List<int>>();
but IntelliJ showed it to you like

    hashmap = new HashMap();
Excellent
Re:The Onyx Programming Language on Friday December 08, 2023 @11:38AM (#38570949)
> Onyx is strictly type-checked. However, the type-inference systems in Onyx usually allow you to omit types.

>

> x := 10

I...

Why is this a feature in every new language? Can't we have a language that is more verbose and explicit, not less? I'd love it if named parameters were mandatory, not optional.

(Named parameters is when you name parameters/arguments you pass on to functions, like you can do in python and groovy: `foobar(arg1: 123, arg2: 'hello')`)

Most of my problems I run into is due to implicit behaviour that no one bothers to explain. In Onyx here, having type-inference means I now how to remember that x := 10 means x will be a signed 32-bit integer instead of, you know, the code that I'm writing remembering it for me.

And I'm just guessing here. Maybe x is a double. Or unsigned since its initial value isn't negative. Or maybe it was signed 32-bit integer but the Onyx developers changed it to 128-bit long long for version 666.0.0. The point is I have to look this stuff up or remember it instead of, you know, it being right there.

I don't even know what you gain by doing this. Less code is less messy but also hides a lot of information from you. Hiding information should be something an IDE does, not the language itself.

Thank you for reading my rant.

Re:Ask HN: Books you read in 2023 and recommend for 2024 on Thursday December 07, 2023 @10:06AM (#38557160)
Differently Morphous by Yahtzee Croshaw. It's cute detective novel set in a fantasy version of modern-day London. It includes a ministry of magic (legally distinct from Harry Potter), Lovecraftian cosmic horror, a hive mind of slime monsters seeking asylum in England, and an outstanding cast of wacky characters. A very light and cosy read, highly recommended.
I guess even ~500 year old books can be wrong :-)

I'm just joking. This is just a pet peeve of mine. Thank you for the fun lesson in etymology.

I'm unreasonably annoyed you used etcetera instead of et cetera.

'Et' is Latin for 'and'. The term means "and other things", not "andotherthings".

No, I have nothing important to add to the ZFS discussion.

Re:My insulin pump controller has a bug on Friday December 01, 2023 @08:06AM (#38486229)
Why? Safety Critical Software engineers are expensive. If you write a webstack with Node.js and React to run the insulin pump you can hire web developers. They are much cheaper. And who would be able to tell the difference? Boomer lawyers and judges working on the lawsuit targeted against us won't understand.
Re:My insulin pump controller has a bug on Friday December 01, 2023 @08:02AM (#38486197)
100x
Re:Google: Transforming the Future of Music Creation on Thursday November 16, 2023 @08:22AM (#38289176)
Jesus fn Christ your higher-than-thou attitude makes my blood boil.

AI is a TOOL. It's a god damn tool enabling artist to express themselves in other ways. You and every other cretin here sound exactly like the people protesting electronic music in the 50s.

Artistry isn't holy. Artistry is anarchy. Artistry is free; free from your authoritarian views of "pure" and "real" music.

There isn't a way music "should" be. If an artist wants to make music or paint using AI then you get to shut the fk up and let them express themselves however they want. You and your other reddit friends dont have a saying in how music gets and does not get to be created. Music is personal and you have no say in how an artist making THEIR OWN ART get to do it.

Conformist hypocrite. I'll shame any one of you expressing these views in public.

Are you a bot?
That README.md is very sparse
Re:Why Banks Are Suddenly Closing Down Customer Accounts on Monday November 06, 2023 @04:28AM (#38160421)
USA - The Land of Freedom (from having any rights)
Re:Ask HN: How can we help Firefox not to dissapear? on Tuesday October 31, 2023 @10:04AM (#38084986)
This comment reads like an entitled gamer complaining about the next Call of Battlefield IV is "literally 0/10" for not including their favorite RGB-colored skin for a submachine gun.
Re:Can you use your "free will"? Try your hand on Tuesday October 31, 2023 @04:57AM (#38081933)
53%
For AI, nothing in can mean garbage out

Older »