Better HN
topnewbestaskshowjobs
Log inSign up

staticelf

2,500 karma · joined Dec 4, 2013 (13y ago) · 1,025 submissions

Submissions

comment 2y ago · link · parent

People just don't care (anymore) unless it affects them personally. I have no idea if it used to be like that or if is a function of modern society where you get accustomed to it due to a lifestyle that is good for the majority of the time.

Some people like me cares too much about too much and thinks a lot about stuff like this. I wish more people would care about more things but it just ain't so.

comment 2y ago · link · parent

Yeah I kind of agree with what you're saying, the main issue for me is that I work in web dev and very few people are like you are and would pay for local first software. I have a hard time even convincing people I know hate cloud spyware shit to use local first alternatives that require just a little more setup.

I would love to make all my work local first but when the users are requesting other things I have to oblige. The feature list is long and the time is short. I simply can't spend a lot of time on making a sucky git alternative for when conflicts happen. When doing work on my spare time projects I want to make as much as possible in the little time that I do have, so local first is pretty much on the bottom of the list. Personally, I tried to build a music library but it's very hard today since you can't get music legally in a good cheap way. Illegally by torrenting is also hard because no one torrents music anymore.

I do keep a library of movies but I rarely visit it and stream new movies with torrent software. Basically everything else, like work, is mostly online based today so there is not really much to do locally anymore except photo editing and watching movies for me. Of course, I do still develop on my machine but as soon as I get stuck on something I need the internet to look up some reference or whatever and if I don't have the internet I can't get emails or chat messages from colleagues or push my code anyway so then I can only work for a short while.

I completely hate most cloud software and prefer local first but my issue is that no one except nerds on hackernews really cares about it and it is too much work for little gain. I actually are in a process to rewrite a side project that I hope to one day be a business from a local-first react project to a phoenix liveview. Why? Because I think the realtime aspects of the project will bring in more customers and it's far easier to maintain the state. So again, less work and more features I will actually get paid for.

If I ever make it to a stable business, I will probably make a small portion of the app work offline because I know some customers will like it when they use it under ground.

comment 2y ago · link · parent

I have always liked the idea of local first. The problem with it though, is that it almost always suck or isn't that important or both.

At least for myself, I barely use any local first software. The software that I do use that is local in any important sense of the word is basically local-only software. I realize this every time I lose connection on my phone. It becomes pretty much a pretty bad camera compared to my Sony.

I live in a country were I have good 3G speed pretty much everywhere so internet connectivity is never an issue, not even on moving things like trains or boats. The very few times I have been flying or whatever I simply don't do any work because it's usually uncomfortable anyway.

This is the main reason I don't really care about local first and have been diving into Phoenix Liveview the last couple of weeks. The productivity boost I get and cool realtime apps it empowers me to build is more important to me than the dream of making local first web apps. A realtime demo of things updating with multiplayer functionality is a far easier sell than "look, the app works even when I turn on flight mode". And honestly, in like 99% of the time, it is also more useful.

I have done local first web apps before and it is always such a pain because syncing is a near impossible problem to solve. What happens if you and someone else have done changes to the same things like 2 hours or more ago? Who even remembers which value is correct? How do you display the diffs?

No matter what you do, you probably need to implement some kind of diffing functionality, you need to implement revisions because the other guy will complain that the changes were overwritten and so on. There is just so many issues that is very hard to solve and require so much work to be done that it isn't worth it unless you are a large team with a lot of resources. You end up with a complicated mess of code that is like git but worse in every way.

It's easier to simply say the app doesn't work offline because we rarely are offline and no one will pay for the effort required. Unfortunately.

comment 2y ago · link · parent

I would probably say it's impossible to tell so both are equal in that security regard.

I would say other things like tracking for example poses a higher security risk and for that reason makes Firefox the safer choice. But you have other browsers that builds on their engines like Librewolf and similar that are even safer.

comment 2y ago · link · parent

"Safe" by whose definition?

I mean, if you're talking about woke people in SF well, I'd rather take the unsafe one please.

comment 2y ago · link · parent

I think the goals are pretty much the same, but the ways of getting there is vastly different and in my opinion Liveview has much more potential in creating apps that feel alive.

The big backdraw of Liveview is that you have to use Elixir, but at the same time Elixir is the reason why it works so well. You can use something similar in another language but the performance will suck in comparison.

comment 3y ago · link · parent

HP is really a shit tier company. I haven't used any of their products that felt like it was of good quality and their support is just OK.

I had a laptop and I turned it in once because it was immediately issues with the graphics and the drivers they had on their website was out of date and clashed with Windows update drivers that basically blue screened the computer.

Luckily, I don't use either HP or windows anymore. Their Z-line is ok tho and most of them have great linux support.

comment 3y ago · link · parent

Pretty cool, go sweden!

comment 3y ago · link · parent

Seems like a great way of making people feel unwelcomed by the community.

If I were to lay down work on an open source project and not get contribution I would never do any work for that project again. It is important for many to feel appreciated for their work.

comment 4y ago · link · parent

I mean it's not strange that Rust wins since a lot of new cool stuff is made available due to a lot of advancements in wasm and the Rust tooling for that.

comment 4y ago · link · parent

Well waste is perhaps a strong word. But I bought a lot of unnecessary crap that I didn't need. I could've put a lot more money into investments and I would likely have double the amount of capital I have today.

comment 4y ago · link · parent

Instead of wasting all my money in my 20s it would've been much smarter to save it as I would be a lot more well of today than I am currently.

comment 4y ago · link · parent

Do you have any examples of this? Like a video on youtube or similar?

I have used Clojure before very lightly but I didn't really use the REPL in this way. I rather used it the same way I use it for javascript, python or any other language.

74.

My Personal Tech Limbo(angeloceccato.it ↗)

4 points · by staticelf · 4y ago · 1 comment

comment 4y ago · link · parent

I don't understand, doesn't most languages these days have a REPL?

comment 4y ago · link · parent

I bought an HP zbook studio g8 and I am running ubuntu on it. It worked pretty good when I first installed it but some things weren't working correctly like the hdmi output and the sd card reader.

Then I disabled secure boot and now everything I have tested works out of the box.

I am running the latest edition of Ubuntu Desktop. I usually try to avoid HP but the new ZBook line works perfectly on linux with good support. Altough it uses Nvidia which is kind of cranky with the drivers and I also think the battery drain is a bit too heavy on linux.

I am happy with it tho. I got a great keyboard, trackpad, screen and is plenty fast for me and my use case. I think I got it for around the price you wanted it and I even think they ship Ubuntu pre-installed in the US.

comment 4y ago · link · parent

Get woke, go broke strikes yet again!

Jokes aside, as an European watching from the outside the US seems extremely segregated atm and no good can come out of this. Even if I don't agree with laws that prohibit lgbt-people from living their lives or women to get an abortion this feels a bit childish.

I've been in California and I have also been in Utah which seems on other side of the spectrum. While I am not religious, Utah seemed a lot nicer to me with less societal problems.

I think the different states and their views on the world could probably learn a lot from each other.

comment 4y ago · link · parent

Very cool and probably useful but won't the ai perhaps make wrong predictions since it's based on current knowledge?

I assume it's a good tool to make more meaningful interpretations of the past and it sounds a bit like the devs of this watched Devs the tv show and got the idea :)

comment 4y ago · link · parent

So why doesn't the same sites have banners for Ukrainian lives? Russias invasion is for sure a bigger existential threat to them since they got invaded by a foreign state.

I think you're showing your hand, I am arguing for treating everyone the same and that the people in charge of these sites appears to care more about American lives than Ukrainian ones.

If you're gonna have banners, then having them for ukraine is an obvious choice for me. OR.. maybe you could decide not to involve politics into tech with a global audience at all and skip all this bullshit.

comment 4y ago · link · parent

Comparing europe with the US when it comes to the police killings is ridicolous. Sure there was attempts to bring it to europe but that is besides the point. There are a lot of countries in the world, many without any issues in which the BLM protested against. Why should we get pushed american politics for? What is the point?

The UK as an example had something like 6 people killed that year when protests arrived. Most of which wasn't black if I remember correctly. Do you really think it's comparable to the issues that exists in the US?

My critique is still valid tho, doesn't ukrainian lives matter? Why are there no banners for them?

comment 4y ago · link · parent

> Supporting one issue publicly does not mean you think it's more important than every issue you don't support publicly.

There is a big difference with war and people being systematically killed and a potential unjust legal system. War is obviously many times worse in every aspect and I think it's hilarious on what these people publicly support and what they don't.

It's hypocritical, unfair which makes it a big irony since that was what the BLM movement was all about (unfair treatment).

comment 4y ago · link · parent

Basically all big js front ends have the same issue. Most of them had banners or whole pages for the BLM movement which made no sense to anyone outside of the US like myself.

I mean a framework or library with a global audience shouldn't push american politics. Vue, React, Preact, Nodejs, Ember (had a whole page and made documentation unavailable for some time), Go lang, ExpressJS (still has the banner up), Typescript, a lot of python projects etc etc. The list can be made very long.

I try to avoid any framework and library that pushes political agendas onto their sites because that signals what type of people are in charge of them. They must think that their political views are so important it must infiltrate every aspect of life even if the thing has nothing to do with it. Unfortunately, there is such a large amount of them doing this it's practically impossible to avoid it.

The funny thing is, now when Russia has invaded Ukraine there is no banners on the same websites so it's obvious some lives matters more than others in their views..

comment 4y ago · link · parent

I have a side project where I need to store a large amount of data. If I were to use a non rental server it would cost me hundreds of dollars each month while renting a large ass server with unlimited bandwidth costs me around $70/month.

Sure if all you need is to host some static site it's all fine but if you need to host something more beefy that has requirements the costs are huge compared to rental servers.

Also, there is the point of nearly all managed hosting serverless solutions is done by american companies so if you want to host in the EU for example to avoid surveillance there isn't a lot of options out there.

There is also a bunch of different requirements that makes hosting on a serverless platform hard / more expensive for example:

* Connecting to a third party that has some firewall based on ip

* Using anything else than http

* Having multiple sites where with a rental server you could host everything on the same machine it usually gets quite expensive since serverless stuff costs usually are per app basis.

* As I've mentioned earlier, if you transfer and store larger amounts of data

* Any requirement from governments and such that data is not stored on american companies

* Long running processes

The list can be long for when serverless is not viable and for most of the apps I've worked on a lot of them couldn't be hosted on a serverless platform for some of these reasons alone.

Regarding the price aspect, I've found that if you have some kind of backend with a larger amount of traffic serverless solutions is always more expensive and I get why, it's managed and it's understandable. A rental server pricing is easy and predictable, a serverless solution pricing is complex and hard to understand probably by design. It appears cheap at first glance but in reality it's almost always a lot more expensive.

comment 4y ago · link · parent

I kind of disagree, given that I wrote a comment that perhaps questioned the project somewhat. A lot of comments are pretty positive, at least of the time of this writing. I started out with "cool project". Even if I use node every day like yourself the startup time for npm commands is so fast compared to other stuff I use like transpiling typescript to javascript and the worst offender of all: Babel.

The babel transpiling takes about 5 seconds compared to the 200ms of npm scripts startup time. Since I haven't felt this pain of npm startup times myself as a pain I must be able to state that without being interpreted as negative, don't you agree?

Of course, speed increases are positive over all but this requires me to install something just to gain 200ms from whenever I run an npm command which isn't that often. I am sure there's a lot of people out there who this benefits a lot but I haven't personally experienced this is my years of doing node development.

comment 4y ago · link · parent

Maybe if you pronounce it but isn't it spelled with a b? Dumb, not dum?

comment 4y ago · link · parent

Maybe for stuff that runs over and over again and needs every microsecond it can get. But if that's a requirement, nodejs seems like a pretty bad choice anyway.

comment 4y ago · link · parent

Seems cool, but I have never felt that the 200ms wait is any way an issue for me. Also just a funny note but Dum means stupid in Swedish. :D

comment 4y ago · link · parent

> 2.5% of all customers were accessed by all Sintel employees for the period in question. How many customers did the particular affected Sintel employee access?

Most likely, they don't write it because they may not know themselves. It is not certain that it gets logged perhaps?

comment 4y ago · link · parent

Well yes but Nodechef was used before I joined the company I work for. Needless to say, we migrated away from them due to that they didn't handle the situation to our satisfaction.

Since then we've updated our view on backups a lot and it was a valuable lesson for us (or rather the managers). We didn't lose that much data and not anything important since we had backups but they were not daily.

Even if you read the terms and conditions it's hard as a developer to really grok what legalese actually say in practice and since I work for a small company we can't really go out and hire a lawyer for each and every terms and conditions. Instead we now spend time to write our own backup strategy in case a new fire should occur, or something else like war.

comment 4y ago · link · parent

At the time of the fire I used nodechef that hosted their services on OVH and seemingly all their backups as well (in the same datacenter). Turns out when extraordinary events happen promises of backups and such aren't always kept.

We lost some data because of that, luckily we had our own backups. A good reminder to make sure you have backups and that they are working correctly. No matter what promises anyone gives you should always have your own backup strategy that's disconnected from the vendor you use.

It was Nodechefs fault, not OVH obviously but perhaps it's interesting for others.

12345
35