News for hackers. Stuff that matters.
Re:Show HN: dockerc – Docker image to static executable "com... by throwitaway222 on Wednesday March 06, 2024 @08:20PM (#39623998)
Awesome use of that rant pic.

Next rant pic- When I RUN a F*ING EXE it should open a Window with the application in it you smelly nerds!!!!

Re:Show HN: dockerc – Docker image to static executable "com... by citizenpaul on Wednesday March 06, 2024 @11:11PM (#39624982)
Im surprised no one mentioned that the program the unstable ranter wants is essentually a social media stalker app to find people on all social media sites.

Perhaps some barriers to use are good sometimes.

Re:Show HN: dockerc – Docker image to static executable "com... by diego_sandoval on Wednesday March 06, 2024 @11:36PM (#39625096)
If they don't want people to find their social media profiles, then they shouldn't have social media profiles.
Re:Show HN: dockerc – Docker image to static executable "com... by navigate8310 on Thursday March 07, 2024 @03:01AM (#39626395)
Unfortunately to access Lynda, you have to make a LinkedIn account
Re:Show HN: dockerc – Docker image to static executable "com... by bagels on Thursday March 07, 2024 @04:14AM (#39626884)
Who is Lynda?
Re:Show HN: dockerc – Docker image to static executable "com... by yard2010 on Thursday March 07, 2024 @06:24AM (#39627688)
She is a really good teacher of Actionscript 3.0. at least last time I checked.
Re:Show HN: dockerc – Docker image to static executable "com... by ametrau on Thursday March 07, 2024 @07:20AM (#39628162)
Nostalgic
Re:Show HN: dockerc – Docker image to static executable "com... by citizenpaul on Thursday March 07, 2024 @11:20AM (#39630888)
I know, she was asking for it right?

Nice victim blame.

Re:Show HN: dockerc – Docker image to static executable "com... by diego_sandoval on Thursday March 07, 2024 @03:44PM (#39634374)
"Victim", as understood by most people, implies that someone did something wrong to them. There's nothing wrong with seeing someone's profile online, so your analogy doesn't apply.

Thought exercise: Am I being a "victim" of you, because you posted a comment disagreeing with me?

Re:Show HN: dockerc – Docker image to static executable "com... by citizenpaul on Monday March 11, 2024 @01:11PM (#39670809)
There is no crime here is true. I really hope that's exactly what you mean.

However this person that is unstable or at least very aggressive and is clearly trying to track someone. I really hope you don't mean that because someone is publicly available that it is ok to do what you want to them.

IE "asking for it" because a person was around to commit a crime against so its their fault for not staying behind locked doors with a shotgun their whole life.

You are very close to simply stating that having an online profile makes it ok to do things to someone because you have dictated they should not have one if they don't want to be a victim of a crime in the future. You are also sort of imposing your view on everyone in the world that social media is not a necessary part of life nowadays. (that is a different debate)

Re:Show HN: dockerc – Docker image to static executable "com... by ajross on Wednesday March 06, 2024 @09:37PM (#39624486)
I know it feels like being pedantic and missing the joke, but "just give me the EXE" is a terrible bug, not a feature request. Distributing unauthenticated, untraced OS-level binaries is just dangerous in the modern world. Safe app distribution requires either elaborate sandboxed runtimes (browsers) or carefully curated and maintained lists of known-safe binaries (app stores, distro package repositories).

We can't be doing this "GIVE ME THE .EXE" anymore. Those days are gone.

Even building from source is questionable, but at least there it requires that the installer be part of (or at least adjacent to) a community of developers who can be expected to have the expertise to notice and recognize bad actors pushing code.

Re:Show HN: dockerc – Docker image to static executable "com... by bigstrat2003 on Thursday March 07, 2024 @12:09AM (#39625270)
> We can't be doing this "GIVE ME THE .EXE" anymore. Those days are gone.

We can and should still do that for people who want it (i.e. most people). The security conscious can decline to use them, but that doesn't mean the rest of us should have a worse experience.

Re:Show HN: dockerc – Docker image to static executable "com... by riquito on Wednesday March 06, 2024 @10:47PM (#39624864)
If you're considering "just give me the exe" as multiple sharing between people, I wholeheartedly agree that it's a mistake, but the context here is of a person wanting to download the binary from the author themselves.
Re:Show HN: dockerc – Docker image to static executable "com... by ajross on Thursday March 07, 2024 @03:21PM (#39634139)
How does an average user authenticate "the author themselves"? Again, you or I understand how github projects work and can figure out within a minute or two whether or not this is the right group or a legitimate project.

But if you're just a "GIVE ME THE .EXE" person, how do you know the binary you're looking at is a legitimate network scanner or keyboard mapper or game cheat or whatever? You don't. You can't. You just followed a link from someone else who thought it was.

The basic point is that software in the modern world is too complicated to require regular users to validate. They can't do it. And so we need to have trusted authorities like distros and app stores to do it for them, even (especially) when they demand we JUST GIVE ME THE .EXE.

Re:Show HN: dockerc – Docker image to static executable "com... by cdrini on Wednesday March 06, 2024 @10:21PM (#39624731)
I wish we could have something like exes with permissions. Similar to browsers. So I could run an arbitrary executable, but the OS level APIs would be blocked unless the user allowed the given permission.
Re:Show HN: dockerc – Docker image to static executable "com... by chaxor on Thursday March 07, 2024 @12:16AM (#39625303)
What's wrong with flatpak for that? Honest question as I don't know that space really
Re:Show HN: dockerc – Docker image to static executable "com... by enriquto on Thursday March 07, 2024 @03:52AM (#39626713)
it should not be the flatpack who decides its own appropriate permissions, but the owner of the OS where the flatpack runs. Even when--especially when--, the permissions profile disagrees with that requested by the developers. Whatever permissions the flatpack "requires" should be irrelevant. Only those granted by the user will be given.

Flatpack and snap and other systems that conflate packaging and permission management get it totally wrong. Permission management is an OS-issue, not a packaging issue. Thus, distributing a plain static executable or a python script should be just as safe as a "safely packaged" app.

Re:Show HN: dockerc – Docker image to static executable "com... by psnehanshu on Wednesday March 06, 2024 @11:59PM (#39625201)
apks are like that
Re:Show HN: dockerc – Docker image to static executable "com... by ajross on Wednesday March 06, 2024 @10:41PM (#39624836)
That would mostly be a browser, though. Changing the language used for the API to C (or whatever) from Javascript is mostly cosmetic, existing interpreter/JIT engines are extremely optimized, you can target basically anything to wasm, etc...

The problem isn't the technical hurdle, it's that sandboxed apps really aren't what we want in a lot of cases. There remain a lot of use cases for native apps the interact directly with the hardware in ways that are hard to abstract safely. Games need the whole GPU, backend middleware needs the raw network stack, you want to set up routing tables or a custom NAS, etc...

Those requirements don't go away even when "most" stuff can be done in a browser-equivalent sandbox. And... you need to rely on your Linux distro for those things still, or at least compile from an active github project. You can't just get raw binaries from whoever and expect to be safe.

Re:Show HN: dockerc – Docker image to static executable "com... by jeroenhd on Thursday March 07, 2024 @02:17AM (#39626083)
This isn't an EXE, though.

The next step is to repackage this inside an EXE that runs a Linux virtual machine.

Re:Show HN: dockerc – Docker image to static executable "com... by johanbcn on Thursday March 07, 2024 @02:40AM (#39626245)
Weeell... There's a feature list with the following pending entry:

> MacOS and Windows support (using QEMU)