HNHacker News
TopNewBestAskShowJobs

mainframed

82 karma · joined July 20, 2020

submissionscomments
mainframed··on Why does Opus 5 feel worse to work with?
I had a similar experience, but I have a different conclusion. I used GitHub Copilot (with Claude Sonnet/Opus) until they made their horrific usage model change. I used a PRD skill and the plan feature was great. It asked me good questions which I didn't think about during my initial prompt. Then I switched to Claude Code. The model's capabilities felt impressive. It also asked me a few questions (but way less and only once/twice) in plan. But when reviewing the code, I found weird architectural/data flow decisions which just didn't make sense and it didn't really disclose them in beforehand.

My initial thought was to improve architecture documentation, so the model can read and update it and stops bolting on new features without consideration for the whole project. It did not help.

I'm now testing/comparing Codex and it found my old PRD skill from GitHub CoPilot. When I applied that to Claude Code, I now get similar good results. So my conclusion is: Yes, Opus 5 is bold by default, but you can tell it to be more unsure and get good results too.

mainframed··on Show HN: I ported Manim to TypeScript (run 3b1B math animations in the browser)
I think there is some value in asking these questions. Maybe a better question would be how much effort and time was put into a project.

1. Maintenance: Projects that (seem to) have the same quality and complexity but were built over months or years by hand versus built with an AI tool in a weekend will probably experience different amounts of maintenance in the future. This is, of course, not a black-and-white rule. But simply knowing that people think a project is worth spending months or years on gives me an indication that they probably want to keep it alive in the future.

2. Testing: Projects developed by hand probably underwent a lot more hidden manual testing—maybe on different hardware, maybe by more than one person. Since my personal projects have gotten significantly more complex with the availability of AI coding assistance, I spend much more time writing prompts and thinking about integration testing. But this is not the case for all projects.

mainframed··on New accounts on HN more likely to use em-dashes
I also used em-dash before LLMs, though I would not call myself a typography geek. But yesterday I wrote a birthday message to someone and replaced my em-dashes with minus signs, because I did not want them to think that my message is LLM generated..
mainframed··on Peer-to-peer file transfers in the browser
Yup. I recommended snapdrop to everyone in my family and friends for local data sharing without a cable.

When I discovered that it now uploads stuff to Limewire I was so annoyed that I had to admit I suggested a harmful tool for sharing private data. So much, that I will never recommend a similar website. Either I'll host it my self or suggest an installed tool through F-droid, if it exists.

I mean, it is entirely my fault. I knew the security risk, but set it aside, because I didn't think some known guy developing an open source tool would in his name try to grab your data.

mainframed··on Why Canada Should Join the EU
> In addition, you are making the situation dramatically worse for migrant origin countries as their young people leave to be workers somewhere else.

I did not disagree. But I also think this is a whole other argument.

> German culture, norms, morals, and ethnicity will be a tiny minority in Germany the economic zone.

Ethnicity I really don't care about. Why do you? I'm also fine and actually glad about people bringing along their culture as long as it doesn't get in the way of life of other people and most importantly respects everyone's human rights. The other ones are a question of integration. There is certainly a lot of room for improvement, but making it sound like they come here and will replace German culture is a big stretch. If anything is killing German culture, it is increasing cost of living and it being somewhat outdated, e.g. a lot of meat in cuisine, outdated values from Christianity and alcohol consumption. If any culture is replacing ours, it is US/consumerism.

mainframed··on Why Canada Should Join the EU
> At least in America, “less immigration” won out over “more immigration” by clear polling margins every year since 1965, except for a few years in the 2010s. Democratic processes gave them more.

You are probably referring to the Gallup poll [1]. To me, it seems, they don't make a distinction between legal and illegal immigration. Some questions even dig into the illegal part. I'd say illegal immigration is a different question, and also somewhat unique to the US. Here in Germany, illegal immigration would be a no-go. If you look at polls about legal immigration in the US it is a totally different result where 46% say keep the level and 30% want to increase it. [2]

> It seems like even if you vote for the anti immigration parties you get just as much immigration.

I did not find anything supporting your argument on an international level. Although for the US you are probably right considering the recent H1B drama. On the contrary, here is an international comparison showing that in many developed countries, people think migration strengthens their country vs. being a burden [3].

> wages would have to rise, and more Gerrmans would choose nursing over what they choose now.

I think it's not an either/or. It's a big problem with no silver bullet. We'll have to do multiple things.

> Further, since birth rates are dropping everywhere, aren't you just buying yourself a few years?

No. Look at the age pyramid of Germany. We have to overcome the baby-boomer generation.

> and their home countries will be in horrific shape because you've sucked away all their talent. What happens then?

In the past, Germany had deals with the respective Governments called "Anwerbeabkommen." The other state often had a high rate of unemployment. Also, they haven't been skilled workers, mostly. But yes, I think now it is different. And I heard, they are already pissed at us today.

But it's also a totally different argument. And the Nazis on German streets definitely don't care about effects in the home countries. They just want ethnic homogeneity without the consequences.

[1] https://news.gallup.com/poll/1660/immigration.aspx [2] https://www.pewresearch.org/short-reads/2024/12/19/americans... [3] https://www.pewresearch.org/global/2019/03/14/around-the-wor...

mainframed··on Why Canada Should Join the EU
Wow. Comparing colonization with 20/21st century labor migration is peak far right playing victims. I guess the people of Hawai'i and the Maori were also asked and decided in a democratic process if they want their colonizers to come in and help rebuild their economy and do the jobs no one else wants to do.

> Similarly, I don't see how Germans wanting non-Germans to leave is racist.

Wanting non-Germans to leave when they are not refugees and do not participate in society is not the problem. The problem is the definition of non-German.

It would be inhuman to not give someone either citizenship or a permanent permit residency if they worked for a long time in a country. Do people really expect guest workers to come (alone?) into a foreign country, work the shittiest jobs for 15 years and then return to their home country to start a family with 35+ years?

Also, it would not work. Germany still attracts foreign workers in some fields (e.g. nurses). If you tell them, they get to work for 15 years and then have to return, no one would come. If the indigenous people of Germania advocating for no labor migration are ok with dying in their own excrement, because there are no nurses, I guess that would be one way to solve the problem.

mainframed··on Why Canada Should Join the EU
> No no brought up remigration.

Not sure how "No no" is, if it is a language barrier or if you meant to write "No one". But the parent comment to mine brought it up.

> People want temporary foreign workers--who immigrated here in unprecedented numbers in recent years--to leave the country, not anyone who has darker skin.

I'm not very familiar with Canadian immigration. But if they are temporary foreign workers, they by definition shouldn't have a citizenship and instead just a (temporary) work visa. Also, I wouldn't call that immigration, hence it also isn't remigration. The challenge should just be, to no longer extend the visas and not fuck up the economy, right?

mainframed··on Why Canada Should Join the EU
Remigration [...] is a [...] political concept referring to the forced or promoted return of non-ethnically European immigrants, often including their descendants who were born in Europe, back to their place of racial origin, typically with no regard for their citizenship [^1]

Sounds pretty racist to me. Maybe you can be clearer on what you mean by non-racist remigration? The far-right groups, which are, at least in my country (Germany), the only once using the term to my knowledge, clearly mean it in a racist way.

[1] https://en.wikipedia.org/wiki/Remigration

mainframed··on uBlock Origin GPL code being stolen by team behind honey browser extension
Ok. You are right. I think he is likely wrong, but I'm not a lawyer either. Just someone who researched this a lot for my own projects/company.

If that was true, all user-side aggregations would be considered as separate projects.

I think it might be possible to circumvent the GPL license, when the URL to the list would be user-configurable and the program also worked without the list.

mainframed··on uBlock Origin GPL code being stolen by team behind honey browser extension
Ok. Got it. Next time, I'll leave probably false legal advice unchallenged.
mainframed··on uBlock Origin GPL code being stolen by team behind honey browser extension
I would be careful handing out legal advice as a non-legal expert, especially when it is about "bypassing legal issues". You might be doing someone a big disservice.

@readers: Obligatory notice: Don't base your business decision on random internet comments.

mainframed··on Send: Open-source fork of Firefox Send
I love Snapdrop [0] for that use case, since it doesn't require downloading/installing an app.

[0] https://snapdrop.net/

mainframed··on FLUX1.1 [pro] – New SotA text-to-image model from Black Forest Labs
Although culinarily incorrect :)
mainframed··on What's inside the QR code menu at this cafe?
I don't know Indian laws. But this wikipedia page [1] gives a list of types of computer fraud in the US under the CFAA:

Types of computer fraud include: * [...] * Accessing unauthorized computers * [...]

He accessed their computers to access purchase information of other people (e.g. his friend) and business data. I guess making it public, thereby damaging the companies reputation and potentially getting sued by their lawyers is one way to find out, whether he was "unauthorized" to do so.

[1] https://en.wikipedia.org/wiki/Computer_fraud

mainframed··on What's inside the QR code menu at this cafe?
Adding to this, in some countries he is already past the gray-area to what constitutes as computer fraud.

Pissing off the company, whose systems you accessed without authorization, is one way of getting to experience the full force of the justice system.

mainframed··on Medieval
No love for the long s¹ when using a medieval font :(.

¹ https://en.wikipedia.org/wiki/Long_s

mainframed··on Jelly Star – The Smallest Android 13 Smartphone
As an owner of a Samsung Galaxy S22, which is not small but seemed to me like the only sane size - feature - price balance on the Android market back then: maybe the reason is battery life?

I'm really underwhelmed by the one of the S22. I barely get a day out of it. When I'm travelling with Google Maps, I have to carry a power bank.

Maybe current android phones are just optimized so bad in comparison to iPhones? And increasing device size allows for a proportionally larger battery size.

mainframed··on Ludic: New framework for Python with seamless Htmx support
But `a` is included. You don't have to build a `Link` component. If you want to stylize your links in consistently across your page, you can build your own Link.

The example does nothing other than renaming `href` to `to` and adding a style.

How should the framework know which styles you want to apply to a link?

I think the example explains the component-driven design of the library well.

mainframed··on TSMC, Bosch, Infineon, NXP to jointly build semiconductor fab in Europe
> Is it possible that you actually don't comprehend the ramifications of eternal human labor trafficking?

Probably not. I don't even know what it means/you mean.

mainframed··on TSMC, Bosch, Infineon, NXP to jointly build semiconductor fab in Europe
There are. Why wouldn't there be?

There are a lot of minorities in Germany, which (sadly have to) accept daily racism.

Thankfully, at this point violence against minorities (~800 right extremists violent crimes in 2022 in whole Germany) is not as high such that people consider moving away.

And if you get a job there and this is your ticket into immigration, probably a lot of people will accept this to get German citizenship. Finally, this will open you access to all the working places in Europe.

My hope (as a West German) is that investments like this, will increase East-Germany's economy such that they are finally equal in terms of economic wealth, which is a large factor for racism/extremism.

Same with opposing climate change laws.

mainframed··on Mercedes beats Tesla to autonomous driving in California
I can think of two reasons on the top of my head:

1. Renting a car will become much more convenient. I can summon a car instead of having to search one 3 blocks away.

2. Selling a car with an L5-autopilot will have to include a manufacturer warranty/insurance in cases of crashes resulting from a fault of the autopilot. Tesla is already charging 10k (or 15k?) for their shitty self-driving-gimmick without a warranty. I expect L5-autopilots to cost much more and even come at a yearly subscription (which basically offsets the insurance and the required continued development). I don't expect the average person will (be able to) pay that subscription, when the far more reasonable solution is to rent a car.

mainframed··on Dutch town installs bat-friendly red LED street lights (2018)
I'm not referring to anything. I just found it hilarious that the guy, to whom I replied, linked an article which contradicted himself.

I have no stance on this. I don't even care. I can sleep well at night.

mainframed··on Dutch town installs bat-friendly red LED street lights (2018)
Do you always link to articles supporting your opponents view? (Hint: read the last section of the article)
mainframed··on Midjourney CEO Silencing Satire About Xi Jinping
There is a third and a fourth option.

3. Split the platform/user-base. Allow freedom of expression in western countries and censor it in China.

4. Censor prompts and images only in China, which still allows sharing non-political artwork between Chinese and western user.

All other platforms operating in China (of Chinese or western origin) have to do the same.

mainframed··on Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
I'm also using Dash to create a quite complex multi-page app.

And I agree with you, at the beginning, it somewhat annoyed me, that this can lead to very verbose nested statements, but since I started refactoring most code into reusable components (AiO), I don't think anymore, that separated html-files would lead to a better usability. I would have a lot of small html-files. Also, I want to dynamically set the ids, so I can connect some components. Hence, I would need to use some templating engine for inserting the ids.

This works well with django, which I used for a long time, but I don't think it works with React-based apps, which are very component-driven.

mainframed··on WebAssembly: Docker Without Containers
But couldn't that lead to a lot of permission errors?

If I have a complex program with a lot of dependencies.

What happens if one of the dependencies suddenly tries to write to `~/.local/dep_name/cache.raw` and I did not explicitly allow it to do so, since I didn't know it needs that location? In docker it would just create that folder in its own volume and the volume is deleted after the container is removed (if the volume is not named).

If I understood correctly from your comment, each WASI-runtime does not have a corresponding filesystem/volume.

But what does it do then? Will it simply crash?

mainframed··on The Poor ROI of Autonomy (2020)
Volvo Trucks
mainframed··on The Poor ROI of Autonomy (2020)
Great article, but I think the conclusion is a bit off. We also need more research into autonomous driving, to be able to drive trucks safely on highways. And automating that part you see as highly profitable. So, if anything, the article shows how important more research into this topic is, especially if we would factor in the two disproved assumptions, you mention in the last section.

Second, I think it is a bit naive to think that truck manufacturers/tech companies will just sell trucks for a similar fix price to traditional trucking companies. I think they will either

- lease them at an expensive rate (getting most of the additional margin, since they also deliver the value)

- offer them as a service, such that trucking companies only manage contracts (also expensive)

- found their own new companies or buy trucking companies to handle the contracts

mainframed··on Signal: You were the chosen one [video]
You don't have to trust a 3rd party. Just compare your security codes IRL or through another trusted channel.

Without doing that, you can never be sure if there is a MITM attack. Not with Signal, not with Matrix, not with WhatsApp.

EDIT: MITM may not be the best description, let's say: "you cannot be sure, that you talk to the correct person."

Page 1 of 2Next →