There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

charonn0 , in You can never really trust someone to turn off the remote desktop connection
@charonn0@startrek.website avatar

How did you get in here?!

I. Am. Koloth.

That doesn’t answer my question.

Yes. It. Does.

nothendev , in Golang be like

Zig

01189998819991197253 , in Hallelujah
@01189998819991197253@infosec.pub avatar

Add ls.bat in your windows directory with dir as the source. It basically acts as an alias.

jasondj ,

Still won’t help me when I type ifconfig or dig, though.

Also I’ve noticed there is also a curl in Windows CLI that I believe is based on libcurl, but when called from powershell is an alias for (iirc) Invoke-WebRequest.

w2tpmf ,

ifconfig doesn’t even work in a lot of Linux distros anymore.

jvisick ,

I came across this one just yesterday and while it was convenient at first, I immediately got frustrated when I went to add some parameters and discovered it wasn’t actually curl

JustBrian7872 ,

Classic PoweShell experience. Try rm -rf - I wonder why they added the aliases in the first place. Only frustrating to type different arguments which are also more verbose. Tastes like the good ol’ embrace-extend-extinguish.

PoolloverNathan ,

Fortunately splitting up the arguments works in Powershell sometimes: rm -r -f

June , in You can never really trust someone to turn off the remote desktop connection

This post was immediately before this one in my feed.

YIj54yALOJxEsY20eU , in You can never really trust someone to turn off the remote desktop connection

Dont disable it, just put it behind a vpn!

vox , in Hallelujah
@vox@sopuli.xyz avatar

use powershell (specifically the core version!!!), or even better something like Nu shell

squaresinger ,

In Linux?

shasta ,

Why use cmd in Linux?

squaresinger ,

Because Wine makes it possible ;)

Nah, mine was a joke on how Microsoft published Powershell on Linux and somehow thought that anyone was gonna use it.

ToyDork ,
@ToyDork@lemmy.zip avatar

The OpenTTD community does sometimes. Not that it matters much.

oldfart , in Its not wrong though

IDA Pro (a disassembler) is closed source but came with a license that allowed disassembly and binary modification. Unfortunately, that’s no longer the case.

stevedidWHAT ,
@stevedidWHAT@lemmy.world avatar

Why not use that NSA tool they released

oldfart ,

Ghidra is open source even before you run the disassembler 🤯 great anecdote

gandalf_der_12te , in Hallelujah

Memories we all share.

legion , in Who did this one
@legion@lemmy.world avatar

Maybe that’s the actual value they’re watching, did you ever think of that, Mr. Pessimist?

(Sorry, junior dev somewhere out there. I tried.)

nyan , in single binary executable and dlls

There is one case I can think of where statically linked binaries make sense: games. They’re almost always closed-source even on otherwise open-source systems, and so cannot be recompiled against newer library versions, and (for smaller indies especially) it isn’t unusual for the people who do have the code to close up shop and vanish off the face of the Internet. For those, it honestly is better for them to carry all their libraries around with them, even if it results in some binary bloat.

For open-source software, dynamic linking isn’t usually an issue until some piece of software goes unmaintained for so long that it catches bit-rot.

For software not in one of those two categories . . . well, maybe you ought to move off Windows?

UlrikHD ,
@UlrikHD@programming.dev avatar

For modding, it’s very useful to not have everything statically linked. DLSS swapping is probably the most prominent use case nowadays.

dylanTheDeveloper , in Hallelujah
@dylanTheDeveloper@lemmy.world avatar

sfc/scannow

mexicancartel , in Its not wrong though

Open source ≠ Source availiable

Example of non open source programs with source code …wikipedia.org/…/List_of_proprietary_source-avail…

lauha ,

Open source ≠ free software

KairuByte ,
@KairuByte@lemmy.dbzer0.com avatar

Open source inherently means you can compile the code locally, for free. You can’t necessarily redistribute it, depending on the license, but I’m not aware of a “you can compile this source for testing and code changes only but if you use it as your actual copy you are infringing” license.

I am very much open to correction here.

ono , (edited )

Open source inherently means you can compile the code locally,

Open Source means more than that. It is defined here:

opensource.org/osd/

If you use the phrase “open source” for things that don’t meet those criteria, then without some clarifying context, you are misleading people.

for free.

Free Software is not the same as “software for free”. It, too, has a specific meaning, defined here:

www.gnu.org/philosophy/free-sw.html

When the person to whom you replied wrote “free software”, they were not using it in some casual sense to mean free-of-charge.

too_high_for_this ,

Free as in free speech, not as in free beer

whyNotSquirrel ,
@whyNotSquirrel@sh.itjust.works avatar

Where are all those free beer I always hear about?!

MostlyBlindGamer ,
@MostlyBlindGamer@rblind.com avatar

Have you tried installing homebrew?

Hadriscus ,

I know where the hops go, but where am I supposed to put the cereal ? I think I ruined my disc drive

MostlyBlindGamer ,
@MostlyBlindGamer@rblind.com avatar

Floppy drive. That’s why you malt it first.

QuazarOmega ,

Most free software is also open source and vice versa, but not all, the difference usually lies in the licence, this stackexchange answer gets it pretty well

grue , (edited )

According to the Open Source Initiative (the folks who control whether things can be officially certified as “open source”), it basically is the same thing as Free Software. In fact, their definition was copied and pasted from the Debian Free Software guidelines.

rikudou ,

I think InnoSetup belongs on that list as wel.

covert_czar ,
@covert_czar@lemmy.dbzer0.com avatar

You are talking about free softwares there are nonfree licenses which provide source code

mexicancartel ,

There are apps having source public but does not have any developement practice like of open sauce

doom_and_gloom , in Its not wrong though
@doom_and_gloom@lemmy.ml avatar

OS - obfuscated source

NotYourSocialWorker , in Hallelujah

Yes but it can do “cd…”

just_ducky_in_NH , in Its not wrong though

Okay, boomer here, be gentle.

So back in the ‘70s I dabbled in programming (now called “coding”, I hear). I only did higher-level languages like Fortran, Cobol, IBM Basic, but a friend had a job (at age 13!) programming in assembler. Is assembler now called assembly, or are they different?

Almamu ,

Yep, some call it assembly, others call it assembler

Thwompthwomp ,

I thought that the assembler is a specific program that translates mnemonics into the corresponding machine code. Perhaps in early computing this was done by hand so a person was the assembler (and worked in assembler), but now that is handled by software (and supports various macros). So programming in assembly would generate a stream of text that must be assembled by an assembler. (Although I have heard people refer to programming in assembler as well, just not often.)

lhamil64 ,

I hear people say “program in assembler” but IMO that’s wrong. I’d say you write the code in “assembly language” (or better yet, the actual architecture you’re using like “x86 assembly”) but you “assemble” it with an “assembler”. Kind of like how you could write a program in the “C language” and “compile” it with a “compiler”

amki , (edited )
@amki@feddit.de avatar

A compiler and an assembler do wildly different things though. An assembler simply replaces mnemonics while a compiler transfers instructions to a whole other language.

Malfeasant ,

Depends on the language, really… C maps pretty closely to assembly language, it’s not as simple as one mnemonic to one machine code byte, more like tokens get mapped to sequences of machine code, a function call translates to some code that sets up a stack frame, a return tears it down…

fidodo ,

It’s still called programming, coding is the same thing. Assembler more commonly refers to the utility program that converts the assembly code to machine code while assembly refers to the code itself, but the term assembler code is also valid. It’s uncommon to simply call the code assembler because it would be easily confused with the utility program.

lugal ,

(at age 13!)

c/suddenlyfactorial

bamboo ,

Easier to say than “at age 6227020800”

Overzeetop ,

I was too young/poor to afford an assembler for my 6502 so I wore out the assembly long hand on a legal pad and then manually converted each operation to machine code.

Needless to say my programs done this way were exceptionally simple, but it’s interesting to understand the underlying code.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines