Better HN
topnewbestaskshowjobs
Log inSign up

ecmascript

902 karma · joined Mar 1, 2019 (7y ago) · 822 submissions

Submissions

comment 4y ago · link · parent

Sure a conference call can also be boring as hell. If a conference call is boring it probably is because what you are talking about or because of the people in the call, not because you see their faces. You don't actually need video since the audio is the important part. When I game with my friends, I don't usually use the camera and many times on a conference calls I don't have the camera on either.

A 3D space would make the conference calls more ineffective in practice since the focus shifts from the actual things you're discussing to something else. You'll also have to force people to join the 3D world and run around to receive the audio. Most certainly, if used in a corporate setting, a lot of the participants will have little to no interest in that 3D world. I picture a large company implementing this and there will be a few people excited while most will hate it. They will be forced to fake interest in order to receive a pay check.

I think gamifying work is a bad idea and forcing employees to be in a kindergarten kind of experience is very offensive because in reality this is probably the most likely scenario how 3D meeting spaces will be used in practice.

If you want me to game while at work, at least let me pick an actual game and we can talk work at the same time. I am not attacking the tech behind it since it is probably good and strong but the idea of 3D working spaces in a kindergarten experience is a horrible idea in my opinion.

For the gallery example, sure maybe it would work in a VR experience which is a lot more immersive but it also adds a lot of clutter from what you're trying to display. I get that there could be a place for it when visiting an IRL gallery is not a viable option.

It is all just my personal opinions of course, I recognize that other people may like the idea of living their lives online in a 3D world but personally I prefer the real world. I guess I am just afraid how 3D spaces will be used since I fear it will be forced upon people around the world just like most corporate things like soulless open offices, "voluntary" corporate cringe activities and so on.

At the same time you also have to recognize that they probably spent a lot of man hours and money on this rather than actually improving their browser which is lagging behind most others. To me Mozilla seems focused on everything except making their core product something I want to use and support and I am not alone you just need to look at the usage numbers which are so low Firefox is rapidly becoming irrelevant which is incredibly sad.

comment 4y ago · link · parent

Very sad. I wish the best to the Nadella family.

Props to him putting focus on people with disabilities to make Windows and other applications easier to use. Many programmers like myself without any disabilities often can forget that many people suffer from different disabilities so making apps and websites easier to use is important.

I will try to improve all the usability of the stuff I work on going forward.

comment 4y ago · link · parent

I don't get the idea about this "metaverse" kind of thing. So it's not a game so there is no gameplay. You just run around in a 3d world which is boring as hell and post pictures on the walls or post some kind of lame animated emote both of which you can do in any messaging app without having the issue that it could not be seen.

Some things are imo not suitable as a 3D experience, at least unless it is much, much better than you get with a normal conference call or stream. This is certainly proof of that.

I love how this probably sounds like something super cool to executives with little to no technical experience or older office people who aren't into gaming but seriously if I worked for a company that would require me to join such a pointless thing I would most certainly resign from my position on the same day.

Stop trying to gamify work, it's work and not a video game. On top of that, it's ridiculously close to look like a kindergarten and I have no understanding why some companies want to treat grown adults as small children.

This idea is so bad that it must have come from some woke people that hear the metaverse and go all in on the hype not thinking of if that's actually something people want to do. People who are completely disconnected from the actual society and live in some tech bubble. I'd rather live in a shed in the forest than to run around in a 3D open office space.

I am sorry to be so negative, but even if the actual demo could be something cool that could be used for games in the browser this idea deserves criticism.

comment 4y ago · link · parent

I want to shamelessly plug me and my friends podcast player https://podd.app/ (if you're into podcasts)

It doesn't have all the podcasts yet but it is small and very non bloat. There is no ads and no real framework so it should load fast.

comment 5y ago · link · parent

I cancelled my youtube music subscription and had that as the main reason for cancelling. You gotta vote with the wallet. But I don't honestly think google cares about what their users cares about.

At least it doesn't feel that way.

comment 5y ago · link · parent

They probably did that because otherwise people would not accept that they had to buy new hardware in order to run it.

Honestly it's better with a version number. That way you could stay behind if you really want to. I am switching to Linux (finally) since I will simply use a remote desktop configuration for the only program I need to use for work that doesn't work on any other platform than windows.

comment 5y ago · link · parent

Braver search works if you are searching in english but for my native tounge DDG delivers much more reliable results.

comment 5y ago · link · parent

Not really, Liveview uses websockets and Livewire uses http. So there is quite a big underlying difference

comment 5y ago · link · parent

Kinda hard to follow if you live in the nordic regions of the world like moi.

At winter time it get really dark really fast and usually there is only sunlight for a couple of hours per day.

comment 5y ago · link · parent

I don't understand why people gets surprised over and over again when a megacorp does it's megacorp thing. Corporations are not people, they will do whatever it takes to play in their best interest. Especially large corporations.

They can sell you the dream of x but if they feel like it, they will kill that dream faster than you will be able to wake up.

comment 5y ago · link · parent

RxDB seems very cool and perfect use case for my dayjob.

342.

Company Towns Are Back Now They're “Innovation Zones”(odysee.com ↗)

4 points · by ecmascript · 5y ago · discuss

comment 5y ago · link · parent

Wes bos has some video courses about react but the thing is it really depends on what you are building. If it is a public app you will have SEO issues without a framework like Next.js which is nodejs based.

As a js dev myself I recommend lit (https://lit.dev). Personally I like it way more than react or vue and its easier to swap out later if you want to.

Since you’re a ruby dev, have you checked hotwire out? Or is there a specific reason to why you want to learn react?

comment 5y ago · link · parent

Interesting with someone who loves meteor. Personally, I really dislike Meteor and have extensive experience with it.

At work we're moving away from Meteor and that itself is a daunting task even if we're moving to a normal node backend and most stuff is copy-n-paste.

Stuff like background jobs etc are impossible in Meteor since there is really no good way of utilizing the cluster module or worker threads in node. Several times we've had issues with the entire app goin down due to Meteor. Also it has very poor performance and many requests takes a lot longer than a normal request for whatever reason if you transmit a lot of data. It adds several seconds probably due to some meteor magic.

But it's nice that you've found success with it, just goes to show that everyone's needs are different.

comment 5y ago · link · parent

I get that, but how does the updates in the DOM work in the example? Is it possible to extend it somehow?

comment 5y ago · link · parent

Can you answer another, more personal question: How do you stay motivated and productive? What is your best tips?

I gotta say I am a huge fan and liveview is a game changer in many ways. Great work with Phoenix.

comment 5y ago · link · parent

Looks cool, how does the DOM updates work here? Is it possible to do whatever kind of update you want?

comment 5y ago · link · parent

I hate that law and consider it to be a violation of free speech but I do not consider it to be hate speech. You can hate disabled people how much you want for example.

> After complaining some years ago, the mod team was rearranged and now contains people from a wide political spectrum.

Yeah.. that is just a load of bs.

> Maybe Reddit is not your private echo chamber and resits your extreme ideas?

This is just the thing. As soon as you have deviating opinions, now you're instantly extreme. Do you know that I consider the Reddit rules and ideas extreme?

What people like you doesn't seem to understand is the wind is only blowing in your direction for now, it will not stay like that forever. It's sad that people have forgotten the importance of free speech and that censorship has been popularized.

Sometimes it really feels like people read 1984 and brave new world as instruction manuals.

comment 5y ago · link · parent

> So you really think there is no connection between housing politics and segregation?

That is not what I said.

> Of course people try to cheat the system, but it is illegal ... and tenants paying illegally high rents can take the contract owner to court and get all excess rent back.

Yeah but that never happens. All parties involved have interest in making it stay in the shadows. They don't pay illegally high rents, they pay normal rents but buy the contract to live there in the first place. A LOT of people is doing that, because the queues are impossible.

> This has nothing to do with rent control and depends on which BRF you live in. Considering the lack of interest for äganderätter I'm not sure if so many people are with you on this opinion.

The biggest reason why there is a lack of interest is because of loans. Builders take out massive loans on every new BRF, as much as they can which makes the new BRF sensitive for economic shifts.

Yes but basically all large BRFs have rules that say that you can only rent out your apartment for 6-12 months at a maximum time. They also need to vet the one your renting out to and can say no. If you have a bad relationship with the BRF, they can mess with you easily.

comment 5y ago · link · parent

ETC is a leftist media organisation so that they would promote rent control is a given. I wouldn't trust what they have to say about the matter. Do you know why no one builds new renting apartments in Sweden? It is because you cannot make a profit on them. You can instead build BRFs and make a lot of money. So everyone is doing that. They maximize the loans of the new BRF so they have to spend as little as possible of their own money.

Six to seven years is nothing compared to Sweden where you can have queues about 20-30 years easily for the big cities. My GF have 12 years in the queue and she can get a decent apartment in the outskirts of Stockholm but that is about it.

There are special housing for elderly, which is a bit shorter in the queues but still very long.

comment 5y ago · link · parent

I don't understand what the difference is, at least you can get an apartment in Finland. Prices in Helsinki (even if its a much smaller city) is a lot more reasonable and you have a lot more rights than you'll have in Sweden.

If you think old people can get an apartment in Sweden, that is just laughable. Even in smaller cities the queues are like 10 years. You'll have to pay up

comment 5y ago · link · parent

Hate speech is not illegal in Sweden, but ok.

They have, at least when I used to be a regular, deleted tons and tons of threads because they had an political incorrect opinion stated. They banned a lot of users for no real reason and revamped the rules many times in order to silence peoples opinions that were widespread on the sub.

Now afaik there is only people like themselves (and presumably yourself) left, I wonder why? Reddit itself took a stance a while ago for specific political opinions and removed a lot of subs that I was subscribed to. Many others were famously quarantines like /r/theredpill and others. If you simply upvote the incorrect thing you can be banned. This is basically punishing thoughts.

You can't claim freedom of speech if you silence a very large group of people from speaking.

comment 5y ago · link · parent

Norway, Denmark and Finland all have no rent control and at least in two of the three the bad places is close to the city center.

In Stockholm, it's completely the reverse. I think rent control and where poor people live has nothing in common. It's impossible to get an apartment in the Stockholm city centre if you want to rent it.

Especially when the cities lets immigrants cut the queue. Most wealthy people can afford the super expensive apartments and the medium wealthy can buy contracts illegally.

All you're doing with rent control is to give incentiment for people to hold on to their contracts no matter what, cheat the system or buy/sell contracts illegally. It is really widespread and landlords are making a lot of tax free money on it.

Even worse is the situation if you buy apartments, you cannot rent it out to whomever you want or for how long you want since you don't really own it. You only own a smaller piece in the economic foundation that owns all apartments and give you the right to live in it. They can require you to not rent it out or limit the timing to a couple of months increasing the instability of the second hand contracts. Also, if the economic foundation makes bad decisions and gets a bad economy they can be forced to sell the entire apartment complex and you'll loose the apartment to a presumably shitty price.

The only good way of owning your housing in Sweden is to actually own the entire property OR own one of the new types of "äganderätter" which are very few and far between.

comment 5y ago · link · parent

The same is true for swedish subreddits. /r/sweden for example is also heavily pushed by Reddit as all new users from swedish ips automatically is subbed to that subreddit.

I stopped using Reddit because of the increased amount of censorship and bans for thinking the incorrect stuff and as someone else said my life is better for it.

Reddit was once a beacon of freedom of speech and today it is a tool to supress freedom of speech and thoughts that go against the mainstream.

comment 5y ago · link · parent

> I used to pirate everything, but is it a solution?

Well it could be a solution if you are just starting out. CAD is very complex stuff so it's not likely that there will be a good open source replacement to Revit for example any time soon.

I really don't want to pirate software in general but if the license is like $2500 / yearly it's such a ridicolous amount that there is no good options left.

comment 5y ago · link · parent

How come you are using Hotwire instead of Liveview?

comment 5y ago · link · parent

Tell me about it, I also use some professional CAD tools (Revit) but on my day job.

I hate to say it, but maybe no one would really care if you would pirate it? It just doesn't seem right to spend so much money on such expensive software that is probably that expensive due to big business using it and no competition.

358.

Ask HN: Companies of one, what is your tech stack?

312 points · by ecmascript · 5y ago · 320 comments

comment 5y ago · link · parent

Yes and php can handle that just fine. In fact, phps concurrency model is IMHO better than many others since you will basically never have memory issues.

Sure storing state must be done in some other kind of tech like redis or similar, but what the hell it is still kind of awesome and scales really easily.

Also, when there is little traffic it basically does not consume any memory which makes it possible to run a lot of sites on the same machine. This is better for the environment and the wallet.

The funniest thing of all is that many languages are imitating php with serverless.

comment 5y ago · link · parent

> So, Instead of convenience I now have to hunt for some urls somewhere.

Well yes.. but usually that is true for npm packages as well when one search for documentation or source code.

> Deno is not a browser

It tries hard to immitate the browser context and does so very successfully IMO.

> From development point of view having to hunt down urls "in slack messages" is a nightmare.

Well, that was just an example. I am just pointing out the concept of decentralization. You don't have to be reliant on npm and their systems.

> In which manner? How does Deno know that a dependency X lives at url Y that was posted in a Slack channel somewhere?

Since each dependency is an url, it will fetch all deps and download them in order to cache it. Pretty much how npm works as well, except that npm in reality only fetches from the npm registry even if I think it's possible to add github repos to the package.json.

You also don't need a package.json which is great especially for smaller scripts.

> Developers arguing that package management is bad is a new thing to me.

It's not inherintly bad. I personally prefer to not be reliant on an american mega corporation which is known for it's anti-competitive practices and woke agenda. Their interest will certainly not align with mine.

> How am I free to change it if a package I depend on specifies it dependency at a url x, and that package's dependencies specify them at url Y

Well in that specific case you would need to download the entire tree and host it yourself. Then you can change the url.

I mean, if you're happy with node and npm. Continue to use it. You don't have to switch to Deno but I am convinced it's the future for server side javascript. It's just... nicer in general.

1
111213
28