HNHacker News
TopNewBestAskShowJobs

staticelf

2,500 karma · joined December 4, 2013

submissionscomments
staticelf··on Northvolt develops state-of-the-art sodium-ion battery validated at 160 Wh/kg
Pretty cool, go sweden!
staticelf··on I got robbed of my first kernel contribution
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.

staticelf··on Relative popularity of programming languages on Hacker News
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.
staticelf··on Ask HN: What's Your Biggest Regret?
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.
staticelf··on Ask HN: What's Your Biggest Regret?
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.
staticelf··on Building a Startup on Clojure
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.

staticelf··on Building a Startup on Clojure
I don't understand, doesn't most languages these days have a REPL?
staticelf··on Ask HN: What’s a good laptop for software development at around $2k?
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.

staticelf··on SF is now boycotting most of the United States
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.

staticelf··on DeepMind’s new AI gives historians a powerful new tool to interpret the past
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 :)

staticelf··on Open source ‘protestware’ harms Open Source
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.

staticelf··on Open source ‘protestware’ harms Open Source
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?

staticelf··on Open source ‘protestware’ harms Open Source
> 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).

staticelf··on Open source ‘protestware’ harms Open Source
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..

staticelf··on I don't need a VPS anymore
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.

staticelf··on Dum: An NPM scripts runner written in Rust
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.

staticelf··on Dum: An NPM scripts runner written in Rust
Maybe if you pronounce it but isn't it spelled with a b? Dumb, not dum?
staticelf··on Dum: An NPM scripts runner written in Rust
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.
staticelf··on Dum: An NPM scripts runner written in Rust
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
staticelf··on Okta’s Investigation of the January 2022 Compromise
> 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?

staticelf··on OVHcloud fire: SBG2 data center had no extinguisher, no power cut-out
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.

staticelf··on OVHcloud fire: SBG2 data center had no extinguisher, no power cut-out
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.

staticelf··on Show HN: I'm writing an MMORPG game for learning programming
Looks very cool! Good job!

Interesting to see that you have chosen Kotlin for the client parts as well. I am assuming it's compiling kotlin to javascript?

What do you think of it so far?

It would be nice with an available option not to sign in with Github since it seems like the requested stuff like "act on your behalf" makes me not want to login.

It's too much of an hassle to create a new github just to play a game so that is unfortunately where you lost me.

staticelf··on Deno 1.20
Sure ok, but I don't see how that is possible if it holds the port busy? You can't start two deno processes on the same port number.
staticelf··on Deno 1.20
Yes I am aware of that and sure it can be used for export/import like I described. But it won't answer the second part of my question, about Deno not utilizing all cpu cores on a multicore machine?

If I use a web worker it will be for one specific thing and that thing only, not for the entire web request? Thus, if there is anything slowing down the request in form of CPU intensity, it will "kill" the application at least until the cpu intensive request completes.

Sometimes it's hard to know beforehand what users do for example and surprising things can happen. I have had the same issues with Meteor for example where users killed the app because they tried to upload something unexpected that crashed the app and them spamming the upload button kept it crashing after restarts. It was of course an error from my part but it could be avoided if Meteor did support the cluster module. I have also had the exact same issue when unexpected large datasets occurred by user input (not file uploads), the app got so slow it stopped answering requests from other sources. It was after that I discovered that pm2 can run any node app in a clustered mode, which was very nice.

But with that experience in my baggage, it am very hesitant to use Deno because of this reason. I can't host my app on a serverless platform because reasons and I am not sure I even want to even if I could.

staticelf··on Deno 1.20
Looks promising and I find the Deno project very exciting!

What is the recommended way of running Deno in production on a multi core machine? In node there is the cluster module that allows one process to run a cpu intensive task while the other processes to continue answering web requests.

This is good for stuff like excel exports as an example on larger datasets. Obviously you could run some kind of cronjob in the background but it seems like I may a bit confused about Denos architechture regarding this subject. I am afraid of switching to Deno because of this since I often want to do these kind of operations without having to do the hassle of breaking the app up for simple exporting/importing operations.

Also, will Deno really utilize other cores on the machine? It seems like if you have a machine with multiple cores Deno won't use the full potential of the hardware or am I just confused about this subject?

staticelf··on Deno Is Webby
One thing I have never understood about Deno is that how are you supposed to run it on a multicore machine? Since they don't have cluster module like in node there is no way to run one process for each core? If the main thread is busy running some cpu intensive task, it will then block the entire application from answering other requests.

I get that in serverless environments like in Deno deploy each instance gets one core etc but if you're running it on a VPS or just on a normal server I would want something like the cluster module like in node.

staticelf··on Debian developer demoted, quits after two decades with project
I strongly believe that the projects that adhere to woke people like Debian seems to do will slowly be disfavored by developers and the most skilled ones will join other projects and they will then thrive while projects filled with SJW will slowly succumb to meaningless discussions, projects and become more and more irrelevant.

In order to make progress you can't throw out people because their opinions differs from yours. Identity politics is something that destroys productivity and prohibits challenging thoughts since it basically requires everyone to think and act in the same way.

Just look at Mozilla, Firefox usage it's the lowest it's ever been and their focus seems to be on everything except what's relevant to their core business.

staticelf··on XVideos: The porn empire next door
I have a hard time feeling sympathy with people who tries to include non-violence actions as violence. Either it's violence or it's not, stop trying to muddy the water.

Since I think those people already lie in the first accusation I wonder what else they may be lying about.

staticelf··on Ask HN: How I buy a TV that don't show porn ads to kids?
Connect the TV to the network but block it in the network from internet access. That way, you can still use it to cast stuff to via wifi but you don't have to worry about the ads situation.
← PreviousPage 3 of 33Next →