Hacker Newsnew | past | comments | ask | show | jobs | submit | more BiteCode_dev's commentslogin

It should be made illegal for some softwares, such as an OS, to be able to force you to have an internet connection or create an account.


Almost all devices containing a CPU run an OS. Can none of them, like IOT devices have service based accounts? This would make illegal almost all current consoles as well. I understand your ire at Microsoft but I don’t think massacring huge swathes of the current device ecosystem is proportionate or necessary.


> This would make illegal almost all current consoles as well.

Good! The inability to play a local game by putting in a disc and playing is enormously stupid, possibly even more than with a general purpose computer.


I'm pretty sure you can play games on consoles without creating an account on some service, at least in last gen consoles. Did that change with the current gen?


The Switch does work offline, as does the PS5; Xbox X is unclear (different sources give different answers), Xbox S can't (https://answers.microsoft.com/en-us/xbox/forum/all/set-up-xb...).

Perhaps I should amend to "would be enormously stupid".


You can have service based accounts. They should just be always optional.


You have the option not to buy the product.

I'm not taking an absolutist stance on this, I think there's scope for regulation of how accounts can or cannot be used and privacy protection of user data. I just don't think eliminating online accounts is practical.


You also have the option to live in a cave, or to kill yourself.

But I don't think we should use them in a reasonable argument.


There is no alternative product.


Stop making things illegal. Find a smarter way.


Yeah, let's stop making murder illegal. I'm sure there is a smart startup that can disrupt it.


This is a category error.


Looking at the GUI, I have no idea what it does.

I'm guessing that you actually need to know Nix to be able to use it, which kinda defeats the "usable for non-technical users" goal.

I can see the value of it, if I ever learn Nix, and want a quick way to make modifications without having to google every possibilities.


It literally says what each field does..

Just because it doesn't have an obvious minimal modern UI doesn't mean it doesn't do its job. Gotta read I guess .. but then again Nix also in general has a prerequisite of "calm down and read." But then again, so does Linux!

The only thing you need to do to be Nix-competent is not flip the table and blame the tool when you get an error you don't understand. (Same goes for Haskell.) That said, my years of industry experience has shown that that is a rare attribute - doubly so amongst those with experience and therefore egos.

People in this thread act like Nix users are out of touch. Maybe, but I'd rather be out of touch and learning than grumpy that I had to read.


> Make NixOS usable for non-technical users through a settings / package management GUI.

^ emphasis mine. What exactly does a non-techical user have to read to understand whatever's on the screenshot? Forget non-techincal, explain this to a technical person.

Apparently this has something to do with sound? Have you or any nix-person ever seen a sound configuration screen for non-technical users? I mean this one is by no means perfect, but do compare: https://www.techrepublic.com/a/hub/i/r/2016/10/05/a7dba7dd-3...


KDE provides that already in NixOS. So yeah .. we do see it all the time :)

This config is for a different layer - one a non-technical user probably wouldn't ever modify in most OSes. Hence, the value.


This is exactly the same, although their choice of "sliding buttons" with text and color inside is a bit weird compared to checkboxes.


What? They're nothing alike. One has normal, logical options like selecting sound effects and output devices. The other has useless things like how much the media keys adjust the volume by and whether to entirely disable sound on the system, and is littered with technical jargon like 'undefined' and 'boolean'.


You don't select your output device with your configuration.nix. You use it to configure the underlying OS. So doing this stuff with a GUI? Unheard of in the mainstream. Unnecessary maybe too, but still. Not the same.


You can be "grumpy you had to read" or "grumpy about other being complaining they have to read". You chose that latter and I think it's a good choice :).


> I'm guessing that you actually need to know Nix to be able to use it, which kinda defeats the "usable for non-technical users" goal.

I don't think that's true. Excel is usable by non-technical users. Part of it is due to the GUI, part of it is due to the easy packaging. But you still need to know spreadsheets to use it. This project does the same for Nix.


Is it? There would not be several courses on it otherwise.


There's a difference between "usable" and "having a deep knowledge" I think.


Unfortunately Nix-Gui hasn't yet achieved it's tagline. Hopefully https://github.com/nix-gui/nix-gui/issues/77 letting users configure a predefined list of options relevant to completing a task will bring us closer to that goal.


The problem is, it's very old, and with Firefox, the good stuff comes with the last versions.

Especially, modern Firefox is wicked fast, while just a few versions before, it was less so. The difference is _staggering_.

I think there is a space for add ons to setup Firefox to be more privacy focused. It's easier to maintain than a fork: compiling on so many targets such a huge software is very hard.


On my phone, I have the newest version of Firefox Fennec and IceCatMobile (ancient and barely supported) - they both launch and function at, as far as I can see, exactly the same speed. Where is this speedup you mention actually found?


While I do use Firefox on mobile, I'm talking about the desktop version, like most people do.

The latest rendering improvements are showing great results, and hardware acceleration on Linux is now on part with Windows, so it's fantastic to use on a modern laptop.


Does Firefox do hardware acceleration for videos yet? It still does it in software by default on Linux as far as I know, unless this has changed recently?


Don't know, videos are seemless but I got a very powerful CPU.


You IDE should check the types for you.


This might worked on solo projects but if you’re working with people, I’d highly recommend enforcing type checking of some sort. People will ignore the IDE error messages.


> People will ignore the IDE error messages.

Then they get caught in code review at least in any team I work.

No way I accept any unnecessary "disable lint" statement in a PR.

Also (of course, since it is default) the CI build system breaks if they commit and push without ignores, so no, trying to slide it past me doesn't work either.


It's not linting, it's typechecking which is slightly different. Linting won't catch type errors. All I'm recommending is to add a typecheck to the CI system so no one sneaks in a broken type (I couldn't recognize a broken type in a PR personally).


Yup. Vscode has built-in Typescript support so that does all the type checking as you go.


Typescript, esbuild and preact are hardly boring, since most JS dev don't even have tried it yet.

React is just starting to become "boring", and I mean that in the JS sense of the world. Because it's lifetime would be considered "modern" and any other language.


Well having a monopoly on the most popular and power programming platform of the planet, the web browser, will do that.

In fact, remove the browser monopoly, and give it to Visual Basic, and in 3 years, VB will be the most popular language of the world.


That’s the thing about JS. It’s popular because it was first and grew into a monopoly. The language itself is horrific. We are permanently stuck with a poorly designed language because it has momentum which can’t be overcome.


It's was my take in 2015, when saying it then got you bashed to death.

Now you can say it, since people have been burnt enough to admit it, but ironically it's actually less true.

Yes, the JS language is always hackish. The stdlib sucks and the ecosystem is a Jenga tower. A lot of JS projects are still what I call "disposable code bases".

But.

Modern JS is tolerable. Functions are now decent, you have let/const, map/filter... There are even some nice things:

• spread and destructuring, and they play well with the limited data structures.

• simplest async paradigm ever: immediate schedule, and returns a Future, may attach a callback or prefix with await.

• concise arrow functions.

• ? and ?? operators. I actually miss them in Python.

Tooling has improved tenfold:

• VSCode gives you good code intelligence out of the box.

• any build tool will solve imports, scoping, "this" weirdness, browser compat, etc.

• new gen builders, such as ViteJS (or anything based on rollup/esbuild), are fast, reliable, and have sane default. No more webpack trouble.

• new gen packagers, such as pnpm, are fast, reliable, and save a ton of disk space. No more "takes 10 minutes, download the entire internet 3 times".

• with VueJS (SPA), htmx (ajaxify Django, Rails, Laravel...) and petite-vue (progressive enhancement), front end dev is almost fun. And light.

• Typescript.

Now, I still avoid JS if I can. I don't like having to google simple things like type coercion or how to left trim a string.

As soon as I can go Python, I do so. It's hard to beat Django or FastApi for the web, Typer for scripting, pandas for data analysis, pytest and robotframework for testing, or just the stdlib/pypi.org for pretty much everything. And with shiv and nuitka, deployment is now on a different level.

But when I have to use JS, I don't dread it anymore.


And I think the article is largely correct even though I don't dread developing Javascript-based applications.

One of our Nuxt applications with default build configuration sometimes builds successfully and sometimes fails miserably for reasons not understood. So we just run the process until it succeeds. I would never tolerate this in Python or take it as lightly as I do here, but like a frog in hot water I've been conditioned to almost expect it or at least not get too bothered by it.

I think Javascript the language is fine. But the rest of ecosystem feels enormously creative, myopic and too often fragile.


The thing with Javascript is that it sucks so bad that there are what a dozen or so languages built on top of it that get transpiled to JS to run in a browser or on V8. It sucked so bad that nobody really wanted to use it, they'd rather build a compiler and write in something else and tranpile into JS. How can a language be "good" when there are so many attempts that take such effort just trying to avoid it.


Note I never said it was good.

Half of the popular projects around JS are indeed created to workaround its deficiencies, or the JS DOM API limitations.

But working with JS, thanks to those efforts, is now much more agreeable. And the language itself has evolved in the right direction.


I imagine HN simply sells the front page to PR firms.

There is no better ad that the one that seems to be organically showing up in your circle of interest.


Ouch, the guys at edgedb are going to be sad about the name competition from microsoft.


If the reverse happened, no doubt Microsoft would be sending cease and desists to edgedb.


Has Microsoft been particularly litigious of late? Pearl clutching over Microsoft’s use of telemetry (which Google never uses, by contrast) has turned into full-blown Slashdot-style insanity.


What you call insanity, I call keeping check on power abusers, and MS has decades of track record of that. The fact they started to play nicer the last few years doesn't magically erase lying, cheating, corrupting and trolling for 20 years. Also google gets it fair share of criticism.

In fact, I think we don't make enough noise given the few people outside of our bubble that knows about it.


There are roughly as many comments here about subpoenas, litigation, and naming everything with "Edge" as there are total comments on

"Android phones are sending significant amount of user data with no opt-out"

https://news.ycombinator.com/item?id=28830328


What's the benefit over well established solutions like typer ?


Typer looks neat. I don't think it was well-established when I started on this, there were quite a few offerings but the only one I managed to find was python-fire. It didn't quite do what my team wanted and there were a few behaviours that we didn't quite like so we decided to make this.

Having said that bargeparse was meant to rely solely on stdlib as the environment we were operating in was tightly controlled and any 3rd party packages had to go through a lengthy review process to be whitelisted.

Additionally, since our team (and others in our organisation) were mostly using argparse, the goal was to provide a way to declaratively interact with it using existing features in the language itself.


I used typer as an example because it has a modern twist, yet is based on click which has been the leader for 7 years.

If you want something older and with a similar api (wrapping argparse), using only the stdlib, I can ask the same question with argh, which already worked in python 2.6.

So why write another one?


I’ve done this with my own crappy code, optparse, argparse, hug, fire, click, and typer. For me typer is pretty much perfect…


Typer has the wonderful fast api paradigm and the battle tested click foundation. Pretty much a match made in heaven.


I can make a guess: GP does not know, he started working on the software and pointlessly duplicated existing projects, but with worse quality, because he neglected to survey the landscape.

I have noticed that happening regularly and out of curiousity interviewed those fellow programmers. I found out it's not because of lack of diligence, or because they attribute no value to a survey, but because of a risk-loving psychology trait that expresses itself in staking out ground and claiming it as one's own. (Armchair psychology warning, I am not qualified to make that conclusion; leave the real work confirming this hypothesis to the scientists in the field.)

IMO, this behaviour is harmful and we should work together to socially shun it like we already do for compulsive hoarding of physical objects. We have trouble finding a piece of software that works well because we spend so much effort to repeatedly sift through the mountains of published software that is mostly garbage.


Couldn't be further from the truth, see my reply.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: