Hacker Newsnew | past | comments | ask | show | jobs | submit | SvenL's commentslogin

I think you don’t need to be unsafe, they have normal API for it.

https://learn.microsoft.com/en-us/dotnet/standard/io/memory-...


Indeed, but these normal APIs have runtime costs for bounds checking. For some use cases, unsafe can be better. For instance, last time I used a memory-mapped file was for a large immutable Bloom filter. I knew the file should be exactly 4GB, validated that in the constructor, then when testing 12 bits from random location of the mapped file on each query, I opted for unsafe codes.

It is a matter of the deployment scenario, in the days people ship Electron, and deploy production code in CPython, those bounds checking don't hurt at all.

When they do, thankfully there is unsafe if needed.


That’s sounds like it should be even better to threaten people’s life to motivate them to be more innovative.

I think the best way to be innovative is to have peace of mind and be able to focus on something without being distracted by fear. Fear as a motivator doesn’t sound right.


They don’t care because Musk is marketing Tesla not as a car company but as a technology company (building robots and self driving rental service). And why does he do that? Maybe because his car sales are down…

I always assumed “tech company” meant using technology to build a fundamentally better car from the ground up. I don't know at what point the bait-and-switch happened, it was suddenly about pursuing every stupid moonshot fantasy at the cost of making better cars.

I thought it was always a tech company focused around trying to import things from the future. Since before they ever had enough sales that sales could go down.

No, it was a car company.

No it was a financial operation living off electric vehicle credit sales

Yes, as a German I can agree.

However, I remember the anecdote of how France has two different companies for the trains and trainstations. The first ordered trains which were a little bit to wide for the trainstations, due to a miss communication.

When I read about this, I thought „this could have been Germany too.“


I think there is even an internet meme showing a headline where Microsoft brags about how AI is doing more more coding and right below that headline another one where a decline in quality is mentioned.


Well, at least for gaming It worked for me quite well with GeForce NOW. I have a MacBook can play here and there some games I like - as a casual gamer it’s fine. I wouldn’t bother to maintain a gaming PC for the casual gaming sessions I have. In this sense - yes, I gave up my non existing gaming PC to rent.

To be honest for 95% of stuff it would be enough to connect my smartphone via USB-C to a dock for mouse/keyboard/displays etc. (I know Microsoft had this and it was an amazing idea) For doing the non standard stuff like gaming/resource intensive development stuff I could rent a cloud pc.


> To be honest for 95% of stuff it would be enough to connect my smartphone via USB-C to a dock for mouse/keyboard/displays etc.

I was blogging about this basic idea back in 2005, just over 20 years ago:

https://www.damninteresting.com/retired/mobile-phone-as-comp...

I still think it's a good idea, but it sure is being slow to materialize in a practical form factor.


Apple could do this if they wanted to. Hey Apple, Put the Pro back in the iPhone Pro. Give me a dock and and macOS in docked mode.


I would love that. For the things I do on my phone the hardware is so oversized - it’s really ridiculous. It’s definitely capable of running desktop things. Most of the apps out there are just webpages anyway (which are responsive).

They could basically abandon MacOS completely and focus on iOS. I mean sometimes it feels like they abandoned macOS already.


30% App Store fee. Not gonna happen.


I would add:

- Roselyn compiler infrastructure which allows for custom static analysis

- SIMD support

- great ecosystem (orleans, ef core, aspire, asp.net core, blazor, signalr, etc)

- LINQ


The windows Explorer and the save dialog make it pretty easy to save a file somewhere else. Also, there is just one folder which syncs with OneDrive but some many more which don’t sync with OneDrive.


Then they should stop making slop with their AI.


Yes and even the package format thing is a hell of its own. Even on Ubuntu you have multiple package formats and sometimes there are even multiple app stores (a Gnome one and an Ubuntu specific if I remember correctly)


Ultimately this boils down to lack of clear technical and community leadership from Canonical. Too unwilling to say "no" to vanity/pet projects that end up costing all of us as they make the resulting distribution into a moving target too difficult to support in the enterprise - at least, not with the skillset of the average desktop support hire these days.

I want to go to the alternate timeline where they just stuck with a set of technologies... ideally KDE... and just matured them up until they were the idealized version of their original plan instead of always throwing things away to rewrite them for ideological or technical purity of design.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: