Readit News logoReadit News
carlosrg commented on Proposal: JavaScript Structs   github.com/tc39/proposal-... · Posted by u/Kholin
leetharris · a year ago
I am not sure how to really refine this thought I have had, but I have this fear that every language eventually gets so bloated and complicated that it has a huge barrier to entry.

The ones that stand out the most to me are C# and Typescript.

Microsoft has a large team dedicated towards improving these languages constantly and instead of exclusively focusing on making them easier to use or more performant, they are constantly adding features. After all, it is their job. They are incentivized to keep making it more complex.

The first time I ever used C# was probably version 5? Maybe? We're on version 12 now and there's so much stuff in there that sometimes modern C# code from experts looks unreadable to me.

One of the reasons I have so much fun working in node/Javascript these days is because it is simple and not much has changed in express/node/etc for a long time. If I need an iterable that I can simply move through, I just do `let items = [];`. It is so easy and hasn't changed for so many years. I worry that we eventually come out with a dozen ways to do an array and modern code becomes much more challenging to read.

When Typescript first came out, it was great. Types in Javascript are something we've always wanted. Now, Typescript is on version 5.6 and there is so much stuff you can do with it that it's overwhelming. And nobody uses most of it!

This is probably just old man ranting, but I think there's something there. The old version I used to debate about was C vs C++. Now look at modern C++, it's crazy powerful but so jam packed that many people have just gone back to C.

carlosrg · a year ago
Every programming language attempts to expand until it becomes C++. Those languages which cannot so expand are replaced by ones which can.
carlosrg commented on Nintendo is suing the creators of Switch emulator Yuzu   overkill.wtf/nintendo-sue... · Posted by u/brandrick
viraptor · 2 years ago
It would be amazing if Valve stepped up with legal funds/protection there. They do get money from people buying SteamDecks for emulation and well... free publicity if they take on Nintendo.
carlosrg · 2 years ago
Valve can't step up because they would lose.
carlosrg commented on Nintendo is suing the creators of Switch emulator Yuzu   overkill.wtf/nintendo-sue... · Posted by u/brandrick
Lammy · 2 years ago
Speculating here but it feels like part of Nintendo's beef is the popularity of PC form factors that look like a Nintendo Switch. Most notably the Steam Deck but there are loads of them.

In 2022 Nintendo starting taking down Youtube videos showing Steam Decks running Switch games: https://www.resetera.com/threads/nintendo-started-blocking-v...

And last year went after Dolphin (GCN/Wii emulator) as soon as they announced plans to be listed on Steam: https://news.ycombinator.com/item?id=36090755 https://news.ycombinator.com/item?id=36100732

carlosrg · 2 years ago
>In 2022 Nintendo starting taking down Youtube videos showing Steam Decks running Switch games: https://www.resetera.com/threads/nintendo-started-blocking-v...

What are they supposed to do? Leave videos about piracy of their own IP untouched?

It baffles me how people believe they have a fundamental right to pirate Nintendo software without consequences.

carlosrg commented on Apple confirms it's breaking iPhone web apps in the EU on purpose   techcrunch.com/2024/02/15... · Posted by u/M2Ys4U
LeoPanthera · 2 years ago
Since the article doesn't actually repeat what Apple has said, here's what Apple says:

== Begin quote ==

The iOS system has traditionally provided support for Home Screen web apps by building directly on WebKit and its security architecture. That integration means Home Screen web apps are managed to align with the security and privacy model for native apps on iOS, including isolation of storage and enforcement of system prompts to access privacy impacting capabilities on a per-site basis.

Without this type of isolation and enforcement, malicious web apps could read data from other web apps and recapture their permissions to gain access to a user’s camera, microphone or location without a user’s consent. Browsers also could install web apps on the system without a user’s awareness and consent. Addressing the complex security and privacy concerns associated with web apps using alternative browser engines would require building an entirely new integration architecture that does not currently exist in iOS and was not practical to undertake given the other demands of the DMA and the very low user adoption of Home Screen web apps. And so, to comply with the DMA’s requirements, we had to remove the Home Screen web apps feature in the EU.

EU users will be able to continue accessing websites directly from their Home Screen through a bookmark with minimal impact to their functionality. We expect this change to affect a small number of users. Still, we regret any impact this change — that was made as part of the work to comply with the DMA — may have on developers of Home Screen web apps and our users.

== End quote ==

Source: https://developer.apple.com/support/dma-and-apps-in-the-eu/#...

carlosrg · 2 years ago
Didn't Apple made a comprehensive list of requirements for alternative web browsers and web browser engines so they are secure and don't compromise the user's security? (https://developer.apple.com/support/alternative-browser-engi...)

I'm a little confused. So that long list of requirements is useless for PWAs?

Some people will actually believe this. I'm utterly disgusted by Apple and their arrogance regarding the DMA, and the way they've managed all of this. My perception of them has completely changed. However, they seem very obedient when China asks them to censor apps or, for example, limit AirDrop when there's a protest going on.

carlosrg commented on The killer features of the Steam Deck   jonashietala.se/blog/2023... · Posted by u/lawn
carlosrg · 2 years ago
I see he's emulating Nintendo Switch games, which is a game console actually being sold, same as the games. I see no mention of him actually buying the games he's emulating, so this effectively is piracy.
carlosrg commented on Mandatory enforcement of indirect branch targets   undeadly.org/cgi?action=a... · Posted by u/peter_hansteen
PrimeMcFly · 3 years ago
I don't really buy their approach to security honestly. Trying to fix all bugs is great, but they provide little to prevent unknown bugs bing exploited (pledge is nice for software that opts in to use it, but otherwise not so much). I'd love to see them implement something like AppArmor with their approach, it would probably be amazing.

I actually think NetBSD is a pretty interesting alternative, it has some nice security features like veriexec that don't get talked about much.

carlosrg · 3 years ago
> they provide little to prevent unknown bugs bing exploited

They provide plenty of mitigations (https://www.openbsd.org/innovations.html). In fact OP's article is for preventing unknown bugs from being exploited.

carlosrg commented on Mandatory enforcement of indirect branch targets   undeadly.org/cgi?action=a... · Posted by u/peter_hansteen
dark-star · 3 years ago
I find OpenBSD's hardware support especially lacking. It doesn't really work that well on at least 3 devices where I tried it on (all Dell laptops from various generations, 3-10 years old), whereas Linux runs perfectly out-of-the-box on all three.

Which is sad, as I kinda like the *BSD approach to things

carlosrg · 3 years ago
Not my experience at all, it works very well with a new Acer laptop I own: the graphics work (Intel Xe - 12th gen processor), audio, touchpad, keyboard (and special keyboard keys like brightness), wifi... All I had to do is to download the firmware with fw_update, nothing more.

Also I was pleasantly surprised to hear they support Apple M1/M2 Macs. Asahi Linux gets a lot of press around here but I had no idea OpenBSD supported it.

carlosrg commented on Bottles – Easily run Windows software on Linux   usebottles.com/... · Posted by u/manaskarekar
carlosrg · 3 years ago
GNOME applications look so... mobile. Large controls, large title bars that lack maximize/minimize, simplistic layouts. It might be good for this kind of frontend apps but I can't see software like Krita or KDEnlive being done for GTK4/GNOME as of today (for reference: https://kdenlive.org/wp-content/uploads/2022/01/271174170_10...)

u/carlosrg

KarmaCake day2267July 1, 2012View Original