Better HN
topnewbestaskshowjobs
Log inSign up

commitpizza

671 karma · joined Oct 16, 2022 (4y ago) · 130 submissions

Submissions

comment 4y ago · link · parent

I like what Deno is doing, it also has a bunch of great features. The functionality of it is great and the execution is sharp.

However, my main gripe with Deno is that it's tied to one company and it won't solve issues that it doesn't have. As an example of this, a version of nodes cluster module is not supported so there is no way of running one deno process per cpu which is very bad if you're hosting it yourself and want to utilize the full potential of your hardware.

It also means that if your app is bound to some CPU heavy action, like generating a large excel-file or similar, your app will go down since no requests will be processed due to the single thread nature. Of course, such actions can be solved with a web worker but what if you make a coding mistake which renders an unhandled exception? In this case the app would probably go down and if the end user for example does the same action over and over again (which end users tend to do in frustration), the app will go down again and again.

Deno as a company has probably little interest in solving this as the solution is to run it on their paid service. You could of course have several servers hosting the app, but that gets expensive real quick especially if you are a small shop. Another example is to run the entire app process as web workers but then you need to spin up many processes that all have their own ports which you need to add a load balancer in front of it. This is kind of advanced and adds unnecessary complexity to the app IMO.

Also, if Deno the company company fails, what then will happen to Deno the project?

comment 4y ago · link · parent

bun

comment 4y ago · link · parent

Seems nice but I would be afraid of basing my business on another product. If successful, there is nothing to say that Slack wouldn't simply copy the functionality and launching their own feature.

Happens all the time with these popular services within other popular services.

comment 4y ago · link · parent

Software doesn't need to be obvious and could need the sharing aspect of it. I am thinking of all the new ML models that are up and coming for example. Not only do you require some advanced software but also a lot of hardware capabilities.

I don't really buy your argument since the same could be said for obvious stuff in the physical world as well.

I still think I am leaning towards companies keeping their secrets if patents is the only solution we can bring to the table.

comment 4y ago · link · parent

I don't understand your point, do you mean that this cannot happen in other fields?

I imagine that this is the case for most stuff in the world. Ideas are not usually unique but it's the great execution of the idea that present the real challange.

comment 4y ago · link · parent

But real inventions can occur in software too? Inventions that takes serious money, expertise and so on.

Some examples:

- Rust memory management

- New models in machine learning that enables amazing results

- Protocols

comment 4y ago · link · parent

I don't really see the difference, why just software?

comment 4y ago · link · parent

Maybe patents is a bad idea and should be removed.

comment 4y ago · link · parent

Seems like a missed naming opportunity, it should've been "Nutshell" :D

comment 4y ago · link · parent

So supporting radical left wing people with millions of dollars for output of political propaganda does not? Would you be as apologetic if Wikimedia would donate money to people who spread nazi propaganda as well? If nothing makes them extremists, then no one is extremist.

Of course it's all subjective but this is kind of what I mean that people like this destroys. If we, the other people standing by, cannot even get along to call shit out when it appears then we are royalty effed.

comment 4y ago · link · parent

> I'm not sure where that's coming from. All I am doing is talking, and calmly asking you to explain some of the points you volunteered in this forum.

First off, I am sorry if I came onto you but the questions you were asking while fair and square was incredible naive and a bit wishy washy so I assume, perhaps incorrectly, that you were a firm supporter of the traditional extremist left wing camp.

Everything about the wikimedia scandal can be viewed either by their own documents or most of the important parts is in the twitter thread posted by me and others in comments.

Most of the costs regarding the websites is probably due to the high salary costs of having developers maintain stuff. This is fine IMO but when you run a not for profit org maybe you should respect peoples money and open an office somewhere else than one of the most expensive cities in the world or simply hire remote developers and other employees.

comment 4y ago · link · parent

> How do you arrive at the claim that "probably most" donations go to "pushing woke politics"?

In their donations campaigns, they make it sound like most of the donations go to fund the site while it's almost less than 2%. If they were to employ cheaper developers not working in the city centre of SF and stuck with the pure operational costs (Wikipedia is driven by people working for free for the most part anyway) it would be significally less than it is today.

Even if they change nothing how the site is developed and the actual engineering costs, the funding pages are still dishonest since most of the funding does not go to Wikipedia itself.

> What does "pushing woke politics" mean?

They give money, a lot of it, more than double than the operational costs to highly controversial funds that are politically driven and does not lean on anything else. Thus, they fund specific (extreme left wing) political agendas and therefore are pushing politics.

> Why is the cost of web hosting so important? Do any comparable organisations spend a more appropriate proportion of their revenue on web hosting?

Because they make it sound like this is the main reason that they need additional funding when they ask for it on their webpage. It is what they claim (https://pbs.twimg.com/media/Fex9854WIAIHSun?format=jpg&name=...) they need in order to operate the site. If they strictly just used the funding to operate the site they could do so for many years to come.

> What is ruined?

The sense of having an actual free community that governs factual information for free for everyone. A site where everyone can rejoice over and take pride in the common knowledge of humanity and the accessability that it provides for people in countries that can't easily get this information otherwise.

This is slowly being ruined by people, like I assume yourself, that are so blinded by the current political agendas that they cannot see the damage they're inflicting on the community. I understand that people always have had different political agendas but you used to be able to talk to people on the other side of the spectrum and accept basic physical facts about the world.

Now it seems like we've thrown everything out of the window. People can't even get along over well established scientific facts and this is true for extremists on all sides.

It is hard to trust a source of information if you know the people that controls the information are political extremists. I would want to live in a world where I can trust that the articles on Wikipedia is as objective as can be.

comment 4y ago · link · parent

https://twitter.com/echetus/status/1579776106034757633

That is the twitter thread that started the uproar, all the info you'll need is in there.

comment 4y ago · link · parent

Yeah I get that I exaggerated my first sentence and thus edited it but it's not that far from the truth.

According to their own site, https://wikimediafoundation.org/support/where-your-money-goe... about 43% goes to the websites. This is less than half. I imagine that most of these salaries are ridicolously high where they could employ cheaper devs and get an actual good representation they chose a SF office with SF employees and give them huge salaries. And since I have learned about this fund and other controversial topics about their employee count etc I question this figure as well. I am not convinced that they have devs for about $50 million per year.

It's fine if you operate a for-profit company but when it's a not for profit organisation the ridicolous spending seems a bit disrespectful to the people that help shape wikipedia to what it is today.

comment 4y ago · link · parent

Well, not true. They have employed hundreds of people and pays them ridicolous salaries. Less than half is actually used on actually operating/developing the site. Yes that fund is the most controversial part but it's not the only thing about the topic that is controversial.

2021 website hosting cost $2.4 million - which is less than it did in 2012. Most of the money they recieve by donations goes to something else. As you may see, the site hosting costs are less than what the spend on that controversial fund.

comment 4y ago · link · parent

Who would want to donate to wikipedia when they know that a lot, probably most, goes to pushing woke politics?

2021 the hosting costs were $2.4 million and they spend well over $100 million each year.

If they were to use their funds to actually drive the site they have enough to fund it for years to come. Most of their funding goes to stuff that has nothing to do with Wikipedia. This is yet another example of an org that has been taken over by political extremists that don't care about the core product and ruins everything.

I am a bit upset about it because I used to donate monthly until I learned about how they actually used the donations. I think this is a very important topic and urge that everyone that donates to Wikimedia stop immedietly.

107.

American data spies will never care where the servers are(world.hey.com ↗)

4 points · by commitpizza · 4y ago · discuss

comment 4y ago · link · parent

As mentioned previously, I applied and got denied. For obvious reasons I don't really want to go into details, but the experience I have of the swedish police force is that it is completely meaningless to even report things to them.

comment 4y ago · link · parent

I applied for this after getting multiple threats from a stalker and I got denied.

110.

The only way of being anonymous in Sweden is illegal?(commit.pizza ↗)

215 points · by commitpizza · 4y ago · 246 comments

comment 4y ago · link · parent

My gf bought a dell xps 15" with OLED and an i9 processor. I think it was reasonably priced compared to competitors but it just so happened that her screen broke, or it got loose.

She called Dell and they sent a new one so she could transfer her work over to the new machine and picked up the other one a few days after. All and all it was a good customer experience.

In my view, it seems like it has good build quality (in general, stuff can happen) and good customer support. Although she will never run linux on it. This website reads like a frustrated developer who decided to take matters into his own hands. I am very doubtful that this is the common experience, at least if you order directly from them. Sure it may have driver issues but at least they have an option to ship it with linux and without paying the windows tax, most companies don't even do that.

I personally use a Thinkpad t460p from 2013 that runs Ubuntu and still works great honestly, even the battery life. I will soon upgrade to a desktop instead of a laptop so that I can run more heavy duty stuff like training models.

comment 4y ago · link · parent

Like so many developer facing products or services, this one also fails to tell me what it is and what problem it solves and leaves me guessing.

I guess that it is a backend library for doing websocket communication for node and perhaps also bun?

comment 4y ago · link · parent

Apple don't care about ewaste, if they did they would make their devices easy to repair.

comment 4y ago · link · parent

I love this kind of stuff, if I ever would use security by obscurity this is probably the way I would do it :)

comment 4y ago · link · parent

This kind of happened to Groovy, but I think Kotlin was the killer in that case.

comment 4y ago · link · parent

Personally, I like that I have lots of options available. Compare it to .NET and it's "Microsoft way or the high way".

comment 4y ago · link · parent

Well I care more about simplicity and easy to develop in rather than battle-tested. Something like the Javalin or http4k would probably suit me the best.

Of course, I have checked Ktor before, but I don't know if I particularly fancy the way they are structuring stuff.

My main issue with the java ecosystem is that it's way to enterprisy for my taste. Everything is so unnecessary complex and hard to reason about, but I will take a good hard look at Kotlin before making my decision. The thing is that I am really interested in the native compilation that Kotlin offers that would be very beneficial for me and the only reason behind picking Python otherwise would be that it is a nice language and already installed on the linux environments it will run in.

Basically I will have a big api and drop (preferrably) a single binary to some machines that will talk to the api. These machines will generally be outside of my control. I have looked a bit on Rust but it seems a bit too low level and hard to work with. I have looked at Deno because it can compile down to a binary but using javascript for this project seems like a bad choice. So I chose Python at first because it seemed easy to get going with, had great tooling and is already installed in the environments I will be dropping a script in.

comment 4y ago · link · parent

Do you know of any good backend web frameworks for Kotlin? I would wish for something like FastAPI for python. Kotlin may actually be a great fit for a service I want to build and I hadn't really thought of it as an option until now.

comment 4y ago · link · parent

One thing that Kotlin got going for it is the tooling. I mean, the creator of Kotlin creates some of the best programming tools out there so I'd imagine (without actual experience of Kotlin) that it has great tooling.

Sometimes, the tooling is even more important than language features IMO. It makes developers move quicker, find bugs easier and so on. I like the idea of Kotlin, that it can compile to jvm bytecode, javascript and native.

So in essence, I can use the same language everywhere in the true meaning of the word.

comment 4y ago · link · parent

No, I don't believe it is. If you stay you won't be more appreciated, get a higher salary or other benefits.

I have rather seen the opposite. Each time I have switched companies I've always gotten big pay rise. If I wouldn't I would still be earning like half of what I make today.

The issue is that companies rewards moving every 2 years and as long as that is the case, that is probably what I will do.

12345