News for hackers. Stuff that matters.

chienandalou

Re:Zig, the Ideal C Replacement Or? on Monday May 12, 2025 @06:45AM (#43961588)
It's cool that it's so easy with Odin, but I think whether it takes one minute to set up Raylib with Odin or three minutes with Zig or C3 is pretty insignificant for any real project.
Re:Factorio: Space Age on Friday August 25, 2023 @05:05PM (#37267047)
Sounds a bit like the Wave Defense scenario. It is available within the game: https://wiki.factorio.com/Wave_defense
Re:Twitter now requires an account to view tweets on Saturday July 01, 2023 @03:09AM (#36547540)
Are you thinking of Discord?

https://discord.com vs https://www.discourse.org

When someone wants to sell me apples, I can pay for them or choose not to buy them. That's capitalism.

But if someone hands me apples for free, they really can't force me to study the ads on the wrapping paper, can they? I have never signed anywhere that I agree to this 'deal'. That's not how capitalism works as far as I understand it.

And their terms aren't legally enforceable.

Where I live adblockers are legal. When I access YT with Firefox and uBlock Origin it's legal for me to filter YTs datastream how I want to.

If this was a capitalistic transaction of goods, I would have to login to use their service. I would have to agree to some kind of legally binding contract. I would first have to pay, and could then use their product or service. But all that isn't necessary to watch videos on YT.

There is no legally binding 'deal' between YT and me.

FYI: while the game is running one core of my 5600X is always at 80% load (current Firefox on Fedora Linux), although nothing's really happening. It looks as if there's a busy loop in the background burning CPU cycles.

Apart from that, nice game, well done!

Re:Zig is becoming more production-worthy on Tuesday July 05, 2022 @10:17AM (#31988444)
I agree, it should be a flag. Or it should be a warning in debug builds, and an error in release builds.

I'm not sure it's nuts to build the compiler to 'fix' this, though. Customizing and building a tool really isn't such a big deal when you think about it.

Re:Zig is becoming more production-worthy on Tuesday July 05, 2022 @06:49AM (#31986639)
If the 'unused variable'-handling is the only thing that holds you back: it's quite simple to build the zig compiler and patch it. See this post by ryuukk in the corresponding issue on github: https://github.com/ziglang/zig/issues/335#issuecomment-10138... and also https://github.com/ziglang/zig/issues/335#issuecomment-10184...

I use this method to build a zig compiler to work with, and when I build a release build of my zig-project I switch to the official compiler and fix the handful 'unused variable' errors. Works fine for me.

Re:What adolescents think of mindfulness in schools on Saturday June 20, 2020 @06:29AM (#23583089)
Willoughby Britton is a meditation teacher and researcher who studies adverse effects of meditation and mindfulness. There is a risk of diverse mental problems, especially - but not only - for people with a history of trauma.

As a meditator myself I think it would be helpful if this were more well-known.

If you search for her name, you'll find more information and studies. Here's an interview and article:

https://tricycle.org/trikedaily/trauma-meditation/ https://www.theatlantic.com/health/archive/2014/06/the-dark-...

Re:Firefox 66.0.4 is out, fixes disabled add-ons on Monday May 06, 2019 @03:26AM (#19837475)
> How could Mozilla respect the needs of users who opt-out of Mozilla knowing they, and their needs, exist at all?

How about surveys or well, common sense?

I'm a tech oriented person who cares about privacy. I want software that is lightweight, configurable, with sensible defaults. For any features besides the basic functionality (in this case: browsing the web), I don't want to opt-out, I want to opt-in.

Privacy oriented means for me that the software I use doesn't send one bit of data that isn't necessary for its basic functionality. I use a "dumb phone" because of this. I never understood how anybody can think telemetry and privacy can co-exist.

I want a Firefox without Pocket, Send, Screenshot Tools, Sync, Clickz, any cloud based service. I only want a fast, lightweight browser that doesn't send any unnecessary data anywhere without me explicitly configuring it. That's a sensible default for me, really. Software used to be like that.

I'd also like to configure when my software looks for updates. My Linux distro let's me do that.

And it would be awesome if all other functionality (like Send/Sync/Pocket, etc.) is available via optional plugins, or in another "full-featured" version of Firefox. The deluxe edition or whatever.

I believe I'm not alone with these ideas about software. In discussions about Firefox these things always come up. There are github projects [1,2] with 1600 and 1200 stars about hardening Firefox. People care about privacy. It's not hard to find this part of the userbase.

The idea that you can't create software for your users without telemetry, is what leads Mozilla to disregard their privacy oriented users in the first place. It's depressing.

And even if I allowed telemetry on my system Mozilla wouldn't learn anything about what I wrote here. It's useless.

1: https://github.com/pyllyukko/user.js/ 2: https://github.com/ghacksuserjs/ghacks-user.js

Re:Ask HN: What can be done to prevent a climate catastrophe? on Wednesday October 10, 2018 @04:56AM (#18183153)
> But we keep making these dire predictions

I think it's absolutely not reasonable to put climate scientists and their predictions into the same line as the mayans or nostradamus.

> Could we see a dramatic population crash? Absolutely. Population crashes of various species in various places are a known phenomenon. That could happen.

So, a population crash could happen. A lot of the comments here sound as if the people are saying "End of the world? Pffft. Total hysteria. Ultimately a few billion people will die and then human life will adapt. Everything's fine!"

I mean, take a minute and picture the suffering of billions of humans because of famine, resource wars, migration, deaths. Picture yourself and your loved ones into this.

It may not be the literal "end of the world", but don't you (and the others of the "it's-fine"-faction here) think that this is bad enough to take climate change serious and try to lessen all of that?

> And if you voice skepticism, you are advised you are a fool who just doesn't get it.

Are you sure that you do "get it" though?

Re:Ask HN: Anyone from Google here? The new Gmail UI is painful on Saturday September 29, 2018 @04:06AM (#18099237)
Posteo works quite nice and they are very privacy-focussed, e.g. they release yearly transparency reports about requests from authorities.

https://posteo.de/en https://posteo.de/en/site/transparency_report

Exactly. And Windows 8 will have extended support until 2023.

http://windows.microsoft.com/en-us/windows/lifecycle

Re:White and gold, or blue and black on Friday February 27, 2015 @04:22AM (#9117964)
Relevant xkcd: http://xkcd.com/1492/
Re:Online Porn Could Be the Next Big Privacy Scandal on Tuesday February 24, 2015 @09:20AM (#9100625)
> Just to address this one thing though - from what I understand, we vote in secret so that we can't be forced to vote against our will by external actors via e.g. blackmail - not because we value privacy per se. Am I wrong here?

No, you're right. But I'd say that we implicitly value the privacy of the voting booth as a tool to guarantee a free election.

Thanks for thinking about this. :)

Re:Online Porn Could Be the Next Big Privacy Scandal on Tuesday February 24, 2015 @08:41AM (#9100407)
> (though one could argue that sudden reveal of how common some preferences are could also force their societies to reconcile official values with reality).

Fundamentalists don't care for statistics and they usually aren't very open to new ideas. Besides if they would have lists of people watching gay porn, they'd probably have a minority anyway.

> If you really want to make revealing someone's sexual preferences his and his alone decision, you'd have to reduce human interactions to text-only chat.

Of course not. Gay people in countries where they are oppressed have to hide their sexual orientation and they succeed with that. And in more open societies people decide for themselves whether they want to 'come out' to others or not. Nobody has the right to take that decision from them.

If this decision is taken away from them, it may destroy their life. And if that happens because their browsers didn't guard their privacy, the technology sucks.

> We give up a lot of privacy to form a society.

No, our society is based on the individuals' privacy. That is why we vote in secrecy and why we value a persons' liberty.

Privacy doesn't mean that everything I do is a secret. It means that I have the right to choose what I want to be a secret and what not. And I should be able to count on that, since it's a human right.

Take a look at what happens in reality. People are killed all over the world for their beliefs, their political opinions, their sexual orientation. Peoples lifes depend on their privacy. It that is taken away from them, that is totalitarianism.

Re:Online Porn Could Be the Next Big Privacy Scandal on Tuesday February 24, 2015 @07:21AM (#9100099)
To say "privacy vs. progress of mankind, pick one" is rather naive and not helpful.

If you take the aspect of watching gay porn alone: people will lose their jobs over this if their boss is conservative or they work for a conservative institution. People will lose their families or be beaten up or killed for that in fundamentalist societies or regions. Look at russia, the middle east, african countries.

And even if sexual orientation would be no problem at all in our society, perhaps in five or ten years from now that may change. All over europe right-wing political movements are rising and in the USA, well...

So, it's great that you have no problem. And yes, people should be more relaxed about watching porn. But in reality they aren't, and the decision whether someone wants other people to know about his sexual preferences or orientation has to be his and his alone.

Privacy is a human right and it's _important_. Technology should aid people in every way possible to guard their privacy, their dignity and their personal choices. To hold this as a value is not going against the progress of mankind. In fact, it's relatively easy to change technology and there is no reason at all not to do it.

e: english grammar