Better HN
topnewbestaskshowjobs
Log inSign up

Johan-bjareholt

55 karma · joined Apr 12, 2014 (12y ago) · 38 submissions

Submissions

comment 4y ago · link · parent

> Why would I use Docker when I know how to make nice, clean OS packages?

For isolating your database from your host OS.

comment 5y ago · link · parent

As an owner of an Librem 5 I have to agree.

Don't get me wrong, I really like the device but it needs a few more years to be easy to use and maybe a new hardware revision to get better performance. I get about 9 hours standby time (wifi on, modem off), at least the screen on time is pretty good.

comment 6y ago · link · parent

And maybe for creating playlists? And maybe for modifying playlists? And maybe for searching for songs/albums/artists? And maybe for modifying metadata?

Considering all these features that needs to be supported it makes sense IMO that it's a specific protocol.

comment 6y ago · link · parent

It's Electron on Linux and what's being discussed is that it's slow on Linux. Nobody refuted that it's slow on macOS, it was even stated.

comment 6y ago · link · parent

Well, since you've only worked for 3 years I bet you haven't seen many different workplaces either. I've been a professional developer for 3 years and 80% of the people I know use either vim or emacs. The difference between you and me however is that I'm aware that I have been to very few workplaces and don't assume that most people use vim or emacs because of my limited experience.

comment 6y ago · link · parent

Which is why Result and Error types exist. With those you get both the context of the error as well as making it clear that the code you are entering needs error handling to be safe. Much less of an issue than calling code that unexpectedly raises exceptions.

comment 6y ago · link · parent

Any half-decent VIM user knows that there are no good vim emulators, only ones which do the absolute basics right. That includes vim mode for vscode which last time I used it even lagged when using it.

comment 7y ago · link · parent

Ironic, the most complicated thing for me to understand when I started writing rust was borrowing and lifetimes. The rest of the common features of Rust isn't too complicated to understand.

comment 9y ago · link · parent

Chromium also has phone-home functionality, you could try Opera though.

comment 9y ago · link · parent

No great battery life on ultrabooks? Have you ever even used one? The XPS has one of the best battery life on the market and other thin laptops like chromebooks have great batterylife while still being thin. The reason why 11-14" ultrabooks have good battery life is very simple: SSDs take up less space and are more efficient, iGPUs take up no space and are more efficient and no DVD drive taking up space.

I love my Chromebook with coreboot and archlinux, but I need a upgrade to a 1080p screen and more than 4gb of ram without having to pay $1000 for a overpriced laptop with a dual-core i7.

comment 9y ago · link · parent

There's a pretty huge difference between modifying the os and its desktop environment compared to just adding a few extra bloated apps and some wallpapers...

comment 9y ago · link · parent

I recently bought a microwave from Samsung that has one know for time, one for power and a button to set the clock. I do love when appliances are stupidly simple, but I do miss the timer function on my old microwave.

comment 9y ago · link · parent

Be very careful with calling any software more than a few hundred lines "almost perfect".

The case here is that you have gotten used to the workarounds of macOS, because I'm pretty certain that most people that are not fanboys will agree that all operating systems have a lot of really ugly parts and it's just a matter of choosing the one that has the least downsides for your use case. Operating systems are way too big to be able to be even close to perfection.

comment 9y ago · link · parent

Totally agree.

The only wearable I have is a Xiaomi Band 2, and the only reason I use it is for its 18 day battery, detects when I go to sleep so I don't have to toggle it every night, that it vibrates when I get a call so I can have my phone on silent and has a clock. I rarely check how many steps I take even though that's what is supposed to be it's primary functionality.

I use that wearable to make my life easier, not to interrupt me every time I get a notification, and I certainly don't want to charge it every few days.

comment 9y ago · link · parent

That depends on the tools. Thats generally the case nowadays but that would not be fun when we're talking about writing assembler.

comment 9y ago · link · parent

Portugal has not legalized, only decriminalized.

comment 10y ago · link · parent

The most popular resolution nowadays is still 1366x768, so I would not agree with you there. I have that resolution on my 11" cheomebook and its fine, a 1080p panel would be a big improvement sure but its very far from unusable.

comment 10y ago · link · parent

The "Linux only BIOS" also works for Windows though so you can dual boot with it. The reason why they say it doesn't is because they don't want to spend money on officially supporting it and AHCI gives a slight performance decrease from their default RAID configuration.

comment 10y ago · link · parent

I have personally never had any issues with audio on linux the past 5 years. ALSA and pulseaudio have become pretty mature now. Only thing i needed for hangouts to work was to install Chrome instead of Chromium and then it worked. Webcam, audio and mic worked out of the box. I have however heard that there are some issues with the iSight camera on Macs under Linux, I have not tried this myself though.

comment 10y ago · link · parent

That is the case with many ARM processors. There is a lot of work being made on iGPUs on ARM processors aswell currently such as freedreno, will hopefully be possible to have a good fully open source experience in a few years with arm linux computers.

comment 10y ago · link · parent

For me its the opposite, vimperator is a lot better than vimium.

comment 10y ago · link · parent

Which seems pretty stable already and is now in testing?

Even if someone started a project like this they likely wouldn't be done until it gets a stable release anyway.

comment 10y ago · link · parent

Lets be generous and say the employer pays 45k, its still way over 5x more.

comment 10y ago · link · parent

Totally agree.

Also regarding the parent comment, wayland has been tested in production for many years now in lots of embeded systems. If you have a car with a Infotainment system from 2013 or newer running linux it most likely uses wayland. It currently works on the open source intel, amd and nvidia and multiple arm drivers, so the major drivers missing are just the proprietary nvidia and AMD drivers (both of which are being actively worked on).

comment 10y ago · link · parent

Also a runner. When you are saying headphones you are refering to earphones which always fall of for me aswell, actual headphones have never been an issue for me though. Loving my $25 cheap chinese bluetooth headphones. And no I don't need to have great sound quality when i run due to heavy breathing anyway.

I vastly prefer bluetooth for working out, but I am incredibly sceptic about the sound quality from that lightning adapter.

comment 10y ago · link · parent

Not defending that it's a good thing, only saying that the arguments in this article for that "Apple is the only company that can get away with this" is simply false.

comment 10y ago · link · parent

Wow, that was a long article for something very obvious. Its not because they have guaranteed sales, its because they are one of the biggest smartphone brands in the world! Its that simple! There are Chinese brands already who have removed the aux jack and include a type-c to 3.5mm adapter, their sales are doing fine. The difference is that these Chinese brands are not big enough to be a trend setter and this won't catch on until some bigger brand starts with it.

comment 10y ago · link · parent

There is no best.

What I would recommend though is creating a webpage that is static and gets updated dynamically with angular/react/vue with a rest server like tomcat/flask/express with the database of your choise.

When i first found angular i loved it, I never really given react a fair chance and i have recently started to use vue.js which is great.

As a rest server i am using flask with flask-restplus because its simple and i like python.

As a database i use MongoDB because its easy to set up, i'm sure there's better alternatives but i don't runt anything on a bigger scale so I havn't put much thought into it.

comment 10y ago · link · parent

They had some interesting statistics about the authors in their comments, I would love to have seen similar statistics of the comments on the social networks to compare with though.

Still a incredibly stupid decision though.

comment 10y ago · link · parent

I'm guessing you refer to AutoSARL when you talk about the code generation. Its insane that its an industry standard.
12