HNHacker News
TopNewBestAskShowJobs

staticelf

2,500 karma · joined December 4, 2013

submissionscomments
staticelf··on Climate Clock
True true about the preexisting buildings. But usually the towns can grow wider and that is what's happening at least in my home town of Stockholm.

But they are also building out bicycle paths and a lot of public transportation. When you go in the states a lot of shops etc is so far between so walking between them is possible to not really feasible.

Such places exist in my country as well but they are rare and far between. In the US it seems to be the standard. I visited 4 states and only NYC had good enough public transportation IMO.

staticelf··on Climate Clock
Sure thing, but at least most european countries have a lot easier when it comes to lower the emissions from cars.

Seems incredible wasteful for everyone to have their own car. Perhaps it will be more of a taxi service in the future with electric cars but until then even electric cars does release a lot of carbon when they are created and their batteries etc is not that great when they expire.

staticelf··on Climate Clock
As an european this feel very US-centristic to me. "Green new deal" is something in the US right?

When I visited the states, I was kind of shocked how bad the public transport system was. It's hard to be a tourist in a city like LA for example.

It also feels like it gotta suck to be in that traffic every day which I am sure many are. So many cities seems completely built to for everyone to have a car. There is no walking distance anywhere.

Ofc I rented a carto travel around since there was no other option available. While I really enjoyed the large straight roads of the US it just amazed me that there was so bad sidewalks, little to no bicycle paths and bad public transportation systems.

What I don't get is how the US will ever get to zero emissions. I have a hard time believing that when there is literally no other option than using a car.

staticelf··on Climate Clock
As an european this feel very US-centristic to me. "Green new deal" is something in the US right?

When I visited the states, I was kind of shocked how bad the public transport system was. It's hard to be a tourist in a city like LA for example.

It also feels like it gotta suck to be in that traffic every day which I am sure many are. So many cities seems completely built to for everyone to have a car. There is no walking distance anywhere.

Ofc I rented a carto travel around since there was no other option available. While I really enjoyed the large straight roads of the US it just amazed me that there was so bad sidewalks, little to no bicycle paths and bad public transportation systems.

What I don't get is how the US will ever get to zero emissions. I have a hard time believing that

staticelf··on How we got to LiveView
Not the author, but I can elaborate on the difference with Meteor since I have experience with both.

Meteor is not server generated but rather a SPA framework with a server side part to it. It helps you build a SPA app quickly and it also uses websockets for all the transport but usually you just send json data there.

I don't really like Meteor because the performance is not that awesome and there is problems with node since it is single threaded. Meteor still doesn't support worker threads or other similar solutions in node so if you have something blocking on the server side the entire app will go down.

Liveview in the other hand is server side only (except for the liveview part). All the state is on the server and when the state changes it will push out the changes in the template and rerender automatically. In Meteor the recommended stuff to use is pub/sub and meteor methods but you still have to rerender yourself just like in a normal SPA.

Meteor is thus simply a way to quickly build SPAs and Phoenix and Liveview is a way to quickly build SPA-like feeling to apps but with everything living on the server.

You can think of Liveview as Google Stadia but for websites. Everything is rendered on the server and you just get the updates.

staticelf··on How we got to LiveView
That is something I suspected. When I first saw your talk about LiveView on youtube my mind was completely blown away.

It is such an awesome technology.

staticelf··on Google Drive of historical footage locked and flagged as terrorist activity
To be fair it probably works tho.
staticelf··on How we got to LiveView
Are you guys looking into the Web Transport protocol for the future? Right now you have to tunnel the websocket connections over http2 and it will probably be the same for http3 afaik.

I know there is this work in progress (https://w3c.github.io/webtransport/) and websockets are probably fine for a long time but sooner or later (unless there is an update to websockets) it will probably be faster to just do normal http requests and listen on server sent events.

What are your thoughts for Liveview for the future? Will it forever stay on websockets or would you be open to change the underlying technology if / when new stuff becomes available?

staticelf··on Manyverse – A social network off the grid
While it seems cool, I just think that it is kind of self-defeating?

Sure I can see my friends posts after a while, but at the same time if you really live off-grid you will probably not have a connection for a while and in these times there is really no use case for the app anyway.

I just think I am most likely to check the stuff I want to check whenever I have a connection. But perhaps I am wrong.

staticelf··on Anonymous Hacks Epik
While I think people should have good security and hash the passwords I honestly think the guys behind this are real scumbags.

Probably not going to happen, but it would be interesting with an arrest.

staticelf··on Ask HN: How did you become a software engineer?
> How did you first get into programming? Were any books, blogs, forums, or people particularly helpful for your growth? What is it about coding that got you hooked?

My interest for computers in general started with modding and cheating in Diablo 2. I learned about how programs worked and how to change local files in order to get other items and change the game in various ways.

I remember the site mewgood.net (I think it was, which was extremely helpful at the time).

> What is your experience with university? Did you get a degree, was it worth it, do you think it helped you find work, what did you love/hate about uni?

Went to uni but never finished to get a degree. It was fun, so in that sense it was worth it but the education itself could have come from a much shorter work education that we have in the country I live in.

I think today going to university is probably still very fun for the students (except covid restrictions) but it's not really worth it education wise. You can get a better and shorter education with less fluff.

> How did you get your first paid work (family & friends, internship, freelance, full-time)?

I got a part time job at the same time as I got accepted at a company to do my Bachelors degree (which I never completed).

> What do you do now and what do you love/hate about your job?

I work as a developer. I love the freedom that I get. I can work remotely, leave the job earlier or come in later. It is fun and interestin but the thin I hate is that it sometimes can feel like a jail. I am bound to my computer with too little human interaction.

I think part of that is because I work remote and live on the country side. But I have taken action to involve myself in meeting new people on my spare time. Covid was thouh for my mental health tho. Felt very lonely.

Also even if I walk a lot, it feels like sitting still like a shrimp in front of a computer is not very healthy. I have been gettin much more issues with reflux that I don't think I would've had if I had a job where I moved around all the time.

staticelf··on Libreddit: Private front-end for Reddit written in Rust
I thought this was a SPA app with WASM and thought it was really cool. Obviously, it is still great work but I think it would've been a tad bit cooler if it were a SPA rust app.
staticelf··on The Seniority Roller Coaster and Down-Leveling in Tech
I hate titles and I have worked in larger corporations and smaller ones and I very much prefer small businesses every time.

I would recommend Joshua Flukes videos on Odysee / Youtube. I think they're usually very spot on in pointing out some corporate BS and a lot of people can draw valuable lessons from that instead of having to burn themselves like a lot of us has done.

I have downleveled once in both salary and title because I got promised work that was good for society. Turns out it wasn't and it was all empty promises.

My only advice is to always go for stuff they cannot change like salary, other benefits like remote work (but that should be in the contract) and so on. Because with time, stuff will undoubtably change. People will quit, focus will be shifted etc but no one can take away your salary.

staticelf··on Deno on MDN
That is great, good work you guys!
staticelf··on Building a Distributed Turn-Based Game System in Elixir
You can come a long way with css animations or svg-updates. There are limitations and they are mostly connected to the latency part.

For example, if you want a 60 fps animation created and the server is far far away, like the other side of the globe that could be an issue or if your connection is bad.

With liveview, you cannot create offline apps without javascript for example. That is a big limitation. But since most apps don't really require offline capabilities that is not really a big issue.

I have however tried to use a liveview hosted in Sweden from Japan (which is basically on the other side of the globe) and I didn't experience any noticable latency for simple html updates.

I think if you're making a game, you'll still need to use javascript. But if you are just making a simple crud app you may not need it for at least most of the stuff.

I still think creating modals or things that the user expects to be instant should perhaps still be done in javascript but for all the server requested data liveview is probably faster than your average SPA.

staticelf··on Samsung's Lee family to pay over $10.8B inheritence tax
Nice way to put it
staticelf··on The health benefits of better air
> According to this logic, anyone who works in the subway should be dying, what, 10 years earlier? Which is obviously not happening.

Are you sure this isn't happening? I could easily imagine people working in dusty places for example dying earlier due to health related issues that could be traced back to the lifestyle.

staticelf··on Pomy – Focus timer app for eye health
I downloaded it but honestly, it alerted me 5 minutes before. "5 minutes more to focus" - yeah thanks, that is 15 minutes of focus then. I really, really hate such pointless alerts which made me uninstall the app instantly.

It also completely defeats the entire purpose of the app.

staticelf··on Snowden Dunks on 'The Get-Rich-Quick Real Estate Investing Conference
Snowden is a modern day hero, there's really nothing else to say.
staticelf··on 99 bits of unsolicited advice
Economically it's my experience as a web dev that overselling is the best way to get more resources because people always fall in the trap of sunk cost.

It is easy to get more funding by whatever resource you want when you got at least a bit. For example, lets say I want to refactor a whole codebase and I oversell it to my boss that it will take only 2 weeks when in fact it will take 3. Very few managers will in my experience say no to you getting an extra week due to the sunk cost trap when they may say no if you said 3 weeks at the beginning.

Of course, people may get disgruntled and unhappy with you if this happens to frequently but it is a powerful phsycological trick you may use when you really need it.

staticelf··on DDT dump site off L.A. coast much bigger than scientists expected
Because what you think is true today may not be true tomorrow. You don't know how it affects the ocean or the life there and the ripple effect it may have on the ecosystem.

This is effectively the same mistake as the people back in the day made, thinking that the ocean is so big we cannot impact it.

The half life of many of these materials are very long time and it is extremely ignorant to think that highly radioactive materials won't affect ocean life during that time.

Also, the material may be used as fuel for modern reactors in the future. Now you have dumped a lot of shit that is poision to basically all life which could be used to power society.

staticelf··on Show HN: I made a sandbox game to help with financial planning
Pretty fun.

If you want unlimited amount of money:

Get any job, then edit the "next turn" button to include an id.

Then just run this in the console:

const but = document.getElementById('theidyoupicked');

for (let i = 0; i < 500; i++) { setTimeout(() => but.click(), 1000 * i)}

You can lower the amount of time on the timeout, but it seems like there is some logic to prevent too fast calls.

But be gentle, it seems like it does a http request each time you click on "next turn" (I hope the author has some stable hosting because people who play will spam this button anyway).

I have hundreds of thousands of money but I cannot see a single property or car. It seems like there are a few bugs still.

staticelf··on In Response to the Markup’s Reporting, Some YouTubers Are Ditching the Platform
I can't say I'm fond of the BLM movement, but hey at least I still think they should be able to advertise if they wish.

But I am kind of pleased that finally the censorship also hits left-leaning people as it previously was very dominated against more right leaning people.

Maybe now we can finally agree that censorship is bad, whomever it hits.

staticelf··on SponsorBlock – Skip over sponsorship segments on YouTube
Wow, I immediately downloaded the extension and went to a Linus Tech Tips video because they are notorious to have this kind of ads and wow it worked perfectly from the get go.

Very impressive extension I have to say!

staticelf··on Show HN: I'm working on a open-source, self-hosted alternative to Disqus
Nice project but you should probably change the name of the service IMO.
staticelf··on YouTube CEO Susan Wojcicki Gets 'Freedom Expression' Award Sponsored by YouTube
Wow that is insane. They don't give a single f.
staticelf··on .NET MAUI: .NET Multi-Platform App UI
You can use pwabuilder and ship a "native" app to Apple Appstore.
staticelf··on PHP in 2021
True but there is alternatives like NestJS for example. So there is some stuff a bit like Django for node as well but I'll admit that they are less common.

I don't know why, maybe it's the culture of node/npm that you just pick stuff from a basket instead of getting handed a big finished thing whatever you like it or not.

staticelf··on FLoC Away from Chrome
Are you sarcastic? If so, I cannot tell.

<script> window.location.href = ´//whateverurlyouwant.com' </script>

Of course you can just do it server side as well with a simple header set by your webserver or by a backend language.

staticelf··on FLoC Away from Chrome
No one will ever redirect their chrome visitors to this site for a couple of reasons:

1. It is unfriendly and hostile.

2. It doesn't say what alternatives there are. Many people don't know about alternatives.

3. The biggest point of all: sites will lose the majority of their visitors if they redirected away chrome users.

← PreviousPage 5 of 33Next →