HNHacker News
TopNewBestAskShowJobs

commitpizza

671 karma · joined October 16, 2022

submissionscomments
commitpizza··on Most Popular Programming Languages on GitHub by OSS Insight
Very interesting, Vlang sounds like a cool project and kind of a dreamy language if it can become more stable.

However, it doesn't speak for the most popular languages but maybe rather to the most active ones? I really doubt that Vlang (as an example) is more popular than Python, PHP etc..

commitpizza··on New NASA Director Swears Oath on Carl Sagan’s ‘Pale Blue Dot’ Instead of Bible
Good. Carl Sagan was a great man and a great inspiration source. Something that is forgotten somewhat today.
commitpizza··on I regret using Ionic for app development
What about pwabuilder or just using kotlin multiplatform? Seems like two way better options then flutter to me.
commitpizza··on One click away from losing control of my computer thanks to Microsoft Teams
Until you graduate or change place of employment
commitpizza··on One click away from losing control of my computer thanks to Microsoft Teams
> I think the strategy isn't just being creepy, they want to advertise their device management in Azure and part of the advertising is filling the list of devices with unsuspecting victims.

I don't understand like, who would want their private computers to be controlled by their school or work? It's not like Microsoft gains anything by that? If that would happen, even if I loved Microsoft before I would start to hate them if they take all my personal files and give them to my school/employer.

That is incredibly bad for privacy and I don't understand how that popup can exist or yet even continue to popup every couple of weeks. Especially with the defaults being that malicious.

commitpizza··on Rice fuels diabetes and climate crises
Yes I think that is obvious. But I also think the main reason is why the eat less calories is because they have a healtier culture where eating less calories is simply easier.

If I drive my car to the city where my parents live, the only real options I have on the way are fast foods that are very unhealthy.

If I go to the store, we have sections of candy and sodas but buying an ice tea is hard.

If I go out for dinner most options are unhealthy etc etc.

Our culture is eating bread and other wheat products that are filled with calories and also have an agriculture that uses pesticides like 5-10 times a year.

commitpizza··on Rice fuels diabetes and climate crises
Seems like a lot of the issues reside in the heavy use of pesticides and I totally agree here, it's bad and scary. I don't like it and is one of the reasons why I'm beginning to grow as much food as possible myself.

This is a problem with agriculture and not rice specifically. I would say it's bad and fake news to say that a crop is bad due to bad practices used when growing it. We could ban it for example and produce less food but don't die of scary diseases that pesticides most likely creates. We could do a lot of things that would make food production a bit harder but healthier for us and the environment.

Altough it's easier to say that "rice sucks" or "red meat sucks" we shouldn't because it's untrue and I think it is misinformation and that is a big part of the reason I dislike modern journalism. It is lazy and focuses on the symptoms instead of the root cause. Modern media has convinced most people that eating soy beans badly produced and processed in china is better than eating cow meat from a local small farm that does everything right.

People always argue like there is no changing how we produce the foods and it annoys the hell out of me.

commitpizza··on Rice fuels diabetes and climate crises
Even so, being overweight is unhealthy and if you go into a store in Japan it's hard(er) to find unhealthy foods. In Sweden, the amount of candy that is available is almost scary and because I'm used to it, it wasn't until I visited other countries like Japan that this became clear to me how bad it is for me and society in large. It is really, really hard to avoid buying unhealthy foods when so many of the options are unhealthy. You have to read all packages very intimiately in order to know.

Swedes usually eat sandwiches in the morning while many Japanese people eat rice and fish. There were no almost no bread available in the stores when I visited and I think that is also telling. When I went to the cinema in Japan, it was only us foreigners that bought candy (which there were very little of and very expensive). I saw no one else buy anything, they just went in and enjoyed the movie. When eating out, there were a lot of choices of good quality restaurants and even the fast food seems quite healthy or at least have options that isn't dripping with fat and sugars like the alternatives in the west.

Another example is ice tea. It's very popular in Japan it seemed like. It existed everywhere in shops and vending machines. Here it's almost impossible to buy. You can buy hundreds of different kinds of expensive sugar water but ice tea is hard to find in the general store.

If rice is so bad that the article claims, japanese people should be extremely unhealthy but in reality it seems it's the complete reverse at least from my personal experience. I don't know the health status of Japanese people in general and a lot of them smoke but they still at least seem more healthy than Swedes on a society level.

Okinawa, which I visited, has a lot of old people and is one of the "blue zones" of the world were a lot of people live to be 100 years old or older.

I'm just saying that I don't believe what the article claims since my experience that I have seen with my own eyes tells me a different story. The article seems extremely likely to be click-bait and possible just false information. I'm expecting to at least get some notion of what the claims are by reading the ingress and I'm not going to pay for reading what I assume is going to be clickbait.

I just think this is common practice by "journalists" today and I think it's depressing.

commitpizza··on Rice fuels diabetes and climate crises
Sure, I only buy rice grown in italy due to that they have a much lesser amount of arsenic in the ground.
commitpizza··on Rice fuels diabetes and climate crises
Locked article, doesn't explain why in the ingress.

I think that there is a lot of issues with modern agriculture, but that people is eating rice is most likely not one of them. Just travel to Japan, they are more fit and it's rare to see overweight people.

In my country of birth Sweden, about 50% of the adult population is overweight and an alarming amount of them is obese. I don't think eating rice is the problem tbh. It's really alarming how bad journalism has become.

Extra ordinary claims require extra ordinary evidence.

commitpizza··on Am I still relevant as a programmer now that there's AI?
True true, most likely I agree, that programmers will still be needed for the time being at least. We will most likely just make use of the tool to make us more productive and easier programming may disappear.

Perhaps people who nowadays make a living on making small websites for small mom- and pop-shops will replace themselves with an AI and they will mostly care about design instead. They will have more time on other stuff, increasing the quality all over.

That said, it's hard to tell either way. The future is hard to predict, I wouldn't have guessed I could generate the amount we now can just one year ago. It's hard to imagine many years of progress and what that could potentially lead to.

commitpizza··on Am I still relevant as a programmer now that there's AI?
Well in time the same could perhaps be said about programmers. ChatGPT can already write a lot of advanced code tbh.
commitpizza··on Am I still relevant as a programmer now that there's AI?
Well if you already have an image you're satisfied with, it's really easy to make it into vector graphics. Either you can map it yourself or just use a tool for it.

As an example of this I generated an image of a dog with an AI and then I put it in the vectormagic.com's tool. The result is very good since the image is not a logo style but an advanced image with a lot of detail.

https://vectormagic.com/images/kvzrgcxyjp45m/edit/p24qfcqegj...

commitpizza··on Am I still relevant as a programmer now that there's AI?
You sound a bit like an old man not adapting to technology progress. As an example, if I would make a logo today I would perhaps before used Fiverr or similar services but not I will use an AI and then edit it in some photo editor.

It has become much easier to do stuff like that even if you suck at photo editing.

commitpizza··on GitHub Copilot for Business is now available
Well yes, but I use repos just as any other dev does. Most of my own projects I have converted to Gitlab, but still some projects still exist on Github.
commitpizza··on GitHub Copilot for Business is now available
Yeah I'll pay for something that is just slightly better/faster than writing it myself but will practically speaking steal my code and give it to others that pay for the same product. /s

I'd say no thanks. I think programmers using Copilot is paying for something that'll hurt them in the long run for a tiny benefit in the short run.

I don't trust Microsoft, and neither should you.

commitpizza··on Why Go and Not Rust? (2019)
The only reason why I would never use Go is because it is made of and controlled by Google.

Maybe that is a stupid reason but I stand by it.

commitpizza··on Japan has changed in important and visible ways
You should visit sweden, we have a lot of people that have lived here for like 20+ years and don't speak the language.

Although, some parts of cities nowadays you don't need to as other languages like arabic is more common.

commitpizza··on 1 in 3 companies anticipate laying off 30% or more of workforce in 2023
...and that info comes from a website that makes money when people are looking for jobs.

Not saying it's not true but I wonder what the questions were and if it is statistically secure because otherwise it's not really saying anything really.

commitpizza··on Nuclear explosion impact on humans indoors (2022)
Comment of the year, so far
commitpizza··on Microsoft will stop selling Windows 10 licenses in a few days
I am using windows now because I have to for work. It crashes and freezes way mpre often than my linux setup. Not everyone has the same experience.

I agree that Windows and mac is a bit more polished, but they both also come with crapware and spyware so I can take the crashes..

commitpizza··on Pwned or Bot
I pay for my email that gives me a lot of aliases and most of them have not been pwned yet. So with his tool I would be flagged as a bot. Honestly, doesn't sound like a great idea to be frank.

There must be large swaths of people that have either been careful or have specific emails that they use for certain purposes that haven't been pwned.

The question, what should happen if I haven't been pwned? Should I not be able to purchase the thing or would I face some annoying captcha?

I like Troy Hunt, but this idea penalize people with good habits and that is just something I can't support.

commitpizza··on Generative AI and The Future of Work
I paid for Tabnine pro since it was 50% off for a year but I won't renew it unless it massively improves.

I mean, it does give good completions sometimes but the time saved isn't that great imho. Maybe chatgpt is better but it feels like AI still have some way to go to actually be so useful you would be less sucessful without it.

commitpizza··on PHP in 2023
Compared to moat languages, if you have no visitors, php takes up 0 system resources from your system to just sit there and wait.

So you could have hundreds of small sites on the same machine for an extremely low resource cost. That is something it brings to the table and its very beneficial for hosting solutions where there are a lot of small webaites sharing on the same resource.

commitpizza··on Alpine.js
I think he/she is joking
commitpizza··on Ask HN: Is TypeScript worth it?
I would say, as a person who have been developing in JS/TS daily for the last ~5-7 years that it depends on your team.

If you have a larger team, yes it is worth it. If it is your side project or if you are like 2 people working on a project then I would say it's probably not worth it.

Typescripts biggest strength is that it's easier to work several people on the same thing. When someone else makes a change, it's easier to figure out what their code does.

The bigger the team and project, the bigger benefits you will get from typescript. At least, that is my opinion.

commitpizza··on Show HN: Socketify.py: Http/Https and WebSockets servers for PyPy3 and Python3
I think the issue is that there is three different types of people when it comes to performance.

There is the 1% that are in a need of hard realtime performance, that thinks about GC performance as an issue that needs to be adressed. Sure I can get that for these people, these kind of discussions seems stupid and confusing since they have to develop in C/C++, Rust etc to get the pure performance they need. These people probably aren't in this thread because they know that Python is not a language for them and will never be.

Then there is the 99% crowd, which I am a part of, that could use slow-as-shit frameworks like Rails or Laravel because the performance is just a nice-to-have. These people, like myself, compares Python perf to perhaps PHP or Node because they are fast enough languages and in this kind of league a framework like OPs can make a huge difference. No matter what language you pick here you are basically always using something "beneth" it. Node has been picked by many because it's faster than for example Python and Ruby.

Then there is the people who are part of the 99% crowd but are just have to comment and point the needs of the 1% out because they are negative people who probably produce little themselves and have to hate on what other people create and distribute for free. This group is where most haters on HN belong in. :)

I started in PHP, when I went to Node in the early beginning I was deeply impressed by the great performance and nice features it had. Sure it was built upon C++ libraries but I am never gonna use C++ to write my web api. Still, I could use Node and get 2-3x AT LEAST the performance in all of my endpoints because of this and all my code was in javascript.

What I am trying to say is that I don't care if you pack my code and run it on a computer in Minecraft or your calculator, if it runs faster for very little to no pain on my side that is pure joy to me.

commitpizza··on Show HN: Socketify.py: Http/Https and WebSockets servers for PyPy3 and Python3
Well, it could be true IMHO. If I run my code that calls down to some ultra fast, mega well done C++ library that is much better than anything in the Go community my code then completes requests faster than the Go alternative.

If that is the case, that should influence the decision when it comes to performance. If performance is a very important deal in your app, you have to test this yourself so that you reach the performance you need.

Perhaps you can write C++ extensions to Python for the perf-heavy parts yourself instead of having to write the entire application in a language that takes much longer time to develop in?

commitpizza··on Show HN: Socketify.py: Http/Https and WebSockets servers for PyPy3 and Python3
> Yet another "X faster than Y" where inside X all hot jobs are done by really good-tuned C or C++. Facepalm.

This is the case for basically every programming language or performant library that exists. Yet, I never see this when discussions exists about node libraries or other languages for that matter. I mean you could argue that node itself is just a thin wrapper around fast C++ libraries.

Who the fuck cares if the request goes down to some compiled C++ library? I still write my logic in Python and get this benefit anyway. This is what makes it great.

commitpizza··on Show HN: Socketify.py: Http/Https and WebSockets servers for PyPy3 and Python3
Node.js uses libuv also but it is way slower and tbh, can't you compare node to other things because of that it is using v8 and libuv?

I don't understand this this logic.

← PreviousPage 2 of 4Next →