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


> This is wild, apparently this stuff is in the Debian repos now?

It's been there for several years now, hasn't it?


Not Debian, but some Debian-based distros


In what ways?


Basically it's not included in any distribution. Mostly for license problems.

Which means anything you write with it can't be included in any distribution.

It's quite limiting. Basically it's only useful for proprietary software shipped by 3rd party.


The entirety of https://github.com/dotnet/dotnet (which is a VMR for full-source build of Roslyn, runtime and everything else that goes into runtime-only and SDK packages) is MIT, which is as permissive as it gets, save for CC0 or Unlicense.

Quick search shows that SDK and runtime packages are available in the official feeds for

Archlinux: https://archlinux.org/packages/?sort=&q=dotnet

Fedora: https://packages.fedoraproject.org/pkgs/dotnet8.0/

Ubuntu: https://pkgs.org/search/?q=dotnet

I always wondered what is the motivation behind the negative comments like these on .NET submissions. Is this because .NET is mostly made by MS employees instead of Google (which is an AdTech company) or Oracle (which has a license trap JDK distribution)?


> I always wondered what is the motivation

This is the motivation ↓

    apt install dotnet-sdk-8.0
    Error: Unable to locate package dotnet-sdk-8.0
    Error: Couldn't find any package by glob 'dotnet-sdk-8.0'


A lot of otherwise excellent software is not present in, for example, official Debian feeds. As a sibling comment pointed out, that’s no reason to throw a tantrum and is a trivially solvable issue.


Lol trivially… unless you want to distribute your software that is.


You can make a single file executable that does not require any dependencies with just the following. No runtime is required on the host, which I assume you allude to as lacking necessary package in the official feed might cause issues if it's required (and given it's present in everything that is not Debian, it is a Debian issue and something Debian must address).

JIT: dotnet publish -p:PublishSingleFile=true -p:PublishTrimmed=true

AOT: dotnet publish -p:PublishAot=true -p:OptimizationPreference=Speed*

Use -o to specify destination.

By default targets the host's OS RID, but can be overriden with e.g. `-r linux-musl-arm64`. Cross-architecture compilation is supported within OS, and there is a nuget package that switches the publish to Zig toolchain to allow publishing for Linux under Windows without relying on WSL2: https://www.nuget.org/packages/PublishAotCross This only concerns AOT as .NET uses the same linker to produce the final binary as your regular C/C++ code. It is a true native executable through and through that is understood by all standard tooling like native code profilers. For JIT binaries, anything that .NET supports can be published for under any other OS and ISA.

* my recommendation as the size impact is negligible but codegen quality in edge cases improves quite a bit. Other flags that may be useful are -p:IlcInstructionSet=x86-x64-v3 (AVX2 and friends) and -p:IlcFoldIdenticalMethodBodies=true (it's disabled by default because it can mess up stack traces, naturally, in .NET 9, disabling stack trace information enables it as well).


> You can make a single file executable that does not require any dependencies

Which is not distribution friendly. Thanks for finally understanding you were wrong all along.


> Which is not distribution friendly.

Why is that?


Can such a monstruosity be part of a distribution? No. Then...


What makes it a monstrosity? Why should it be (or not be) a part of distribution?


Don’t bother he is just saying things in bad faith.


I think you replied to the wrong comment.


Why didn't they tell you this at the start?


Teachers in the US are famously poorly remunerated compared to other developed countries.


And you didn't carry it with you everywhere.

It blows my mind that my kids will never know what it's like to wait for a bus with nothing else to do.


I barely remember what it was like waiting for the bus with nothing else to do. But I remember vividly what it was like that the school bully was next to me waiting for the bus with nothing else to do. Hope my kids don't have to know what thats like.

My point is not that smartphones and social media are great things. But I agree with OP that they are just filling a gap created by something else. It is still possible to be bored or have time solely with your own thoughts with social media available. Why? Because even kids can (and do) understand that social media is not all that great. Of course they have to experience that on their own before they understand it. It's nothing that you can teach them.


When I see people say things like this I just think perhaps you were never taught to stand up for yourself.

bullies don't stop being bullies when you graduate high school, they just change tactics.

There comes a point where adults need to step in, but that isn't immediately because someone decided to pick on someone else. Learning to stand up for yourself is as much of a life skill as anything else.

I moved a lot as a kid and after a while I recognized a pattern. I'd move, someone would decide I was an easy target, I'd get into a fist fight, then everyone would leave me alone.


oddly enough, I just came across this youtube short that pretty succinctly describes my opinion on the matter.

https://www.youtube.com/shorts/lwgeqX5tKcs


There was bitbucket.


Yeah, that is pretty much Ethics 101. I think it's time to bring back ethics lessons in schools.


Ethics is a great intellectual exercise.

Ethics does nothing to protect the innocent.



> Is it a package manager? A build system? An operating system? A container platform? A sandbox? An automation tool?

Yes


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

Search: