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.

nfsu2 , in Its not wrong though
@nfsu2@feddit.cl avatar

I feel old watching this meme template

metaStatic , in Who did this one

${hot_search_word} so hot right now

Kingofthezyx ,

Hot_search_words in your area!

Spaghetti_Hitchens ,

I am only interested in single Hot_search_words in my area. No phrases for me.

spez , in Just a Normal Sprint Planning -_-

We have been getting pressure from customers whether or not this substring is a palindrome

https://0.vern.cc/EDm.jpg

Vuraniute ,
@Vuraniute@thelemmy.club avatar

SPEZ!!! WHAT ARE YOU DOING ON LEMMY!!! GO BACK TO REDDIT!!!1!1!11!1!1!1!

over_clox , in Hallelujah

echo @dir %1 %2 %3>%windir%system32ls.bat

Something like that should fix the problem, I think…

hemko ,

:puke:

over_clox ,

You’re no fun…

%0|%0

hemko ,

Not gonna lie I love easily readable scripts. Powershell was my first, and as much pain it can be it’s for sure readable even for the most novice.

Maybe that’s why I love Python too, but have hard time learning sh past very basics…

Edit: oh lol that’s a fork bomb, curiosity won and had to ddg what that is. Love the simplicity of that

over_clox ,

Haha!

Old-school fork bomb, at least it doesn’t do anything but bog the system down…

infinitevalence , in Hallelujah
@infinitevalence@discuss.online avatar

God everytime!

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

over_clox , in Its not wrong though

If you wanna skip a few inconvenient instructions in X86 assembly, throw a few No Operation instructions in the right places.

NOP = 0x90

SzethFriendOfNimi ,

And so you add a hashing check. But then that can be removed.

So you need one in the OS but that can be removed.

So you need one in hardware.

In other words no matter how clever you are there’s always a way to monkey with something unless you have absolute control from silicon on up.

Here’s a really interesting video the Xbox team did on the challenges of trying to make sure that the content running wasn’t pirated.

youtu.be/U7VwtOrwceo

While DRM is the bane of everybody there are cases where trust and integrity is important and it’s an intriguing look into how hard it is to manage.

PipedLinkBot ,

Here is an alternative Piped link(s): piped.video/U7VwtOrwceo

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I’m open-source, check me out at GitHub.

over_clox ,

Meanwhile, I’ve been archiving terabytes of software with no DRM, with no account.

mvirts ,

It’s called _soft_ware for a reason 😹

grue ,

While DRM is the bane of everybody there are cases where trust and integrity is important and it’s an intriguing look into how hard it is to manage.

Nah, when the user wants to ensure trust and integrity in his own system, it works just fine. The problem comes when the user who needs to be able to access the data is simultaneously the adversary who needs to be stopped from accessing the data.

In other words, it’s one of those situations where the fact that it’s hard to manage is a gigantic clue that it’s wrongheaded to try to do so in the first place.

SzethFriendOfNimi ,

I agree. I mean when doing secure channel communications or weapons systems or health biometrics.

There are cases where you need to be sure of the integrity of the data and environment

candyman337 , in Hallelujah

I like that you actually can ls in power shell now

spez ,

yeah

candyman337 ,

I’m so sorry but this is how I pictured your response lmao

Image

spez ,

lol

SatyrSack , (edited )
candyman337 ,

Oh man, it comes full circle

TheChefSLC ,

Yes, yes you can.

Also, WSL and windows terminal go a very long way in making windows actually usable…

Zeth0s ,

“Usable” is a strong statement… It went from a “misery inducing insufferable machine” to a “extremely big annoyance”. I do concede it is anyway a progress

sj_zero ,

You damn spoiled kids with your blue jeans and your rock and roll music and your auto complete!

csolisr ,

Just add Winget with an UI to have a proper package manager and we’re in

DJArbz ,

Package manager with a UI? I like my apt and dnf thank you very much.

csolisr ,

You can still use winget by itself from the command line! The UI is just there for convenience and automation

Kangie ,

The UI is just there for … automation

Wut?

I’ve never gone to a UI when I want to automate something, a sane CLI is much more predictable and consistent.

csolisr ,

Winget-UI specifically can run the upgrade tool automatically for you, that’s what I meant for “automation”. You could also add a scheduler to run Winget by itself every day if you need to.

somedaysoon ,
@somedaysoon@lemmy.world avatar

I use pacman btw

icesentry ,

I’ve just been using scoop for many years and I haven’t felt the need to switch

Scrof ,

PowerShell 7 is pretty sweet ngl

dot20 ,

WSL or bust

UndefinedIsNotAFunction ,

I really want to love the “everything is an object” of power shell but I just have zero uses for using a shell on windows. Granted, my windows usage is like 15 minutes a week most of the time, but still. I also can’t be bothered to use it for work because it’s exclusively Linux/linux-ish over there so it’s not worth bothering.

Either way, I like the idea, can’t really justify figuring out the details.

______ ,

“But PS is open source ! Don’t you want to use it in Linux and MacOS?” - Microsoft probably

wizardbeard ,

It’s a wonderful tool for me in a Windows environment/shop, especially with how it works well with all the Windows and Microsoft administration systems/tools we use.

Personally, I’m less interested in any language’s hypothetical merits than how it fits as a tool for what I need to accomplish and ease of future maintenance when the script/program/automation inevitably needs to be adjusted.

All that said, I can’t think of a legitimate reason to use PSCore on non-Windows hardware unless you’re just really familiar with PS and literally nothing else. Even then you’re better off taking time learning a better tool for that environment.

______ ,

That’s a very good point. My angle is as a dev and not as IT or sys admin. Power shell is probably far more powerful in those circles.

DV8 ,

If you only have to use it 15 minutes every week it’s probably not worth getting to know.

I work in a Windows shop, so I love everything being an object, most of the time. At least for the things that are worked out completely.

It’s great for things you need to iterate or just for figuring out what you can do by piping a result to get-member. If you are interested in getting better at powershell at some point, I highly recommend Powershell in a month of lunches. (Also because I like Manning’s model where they automatically offer the digital versions of books they sell, and also offering free previews of the entire book, given enough time)

Halafax ,

If you can suppress 30 years of " -al" from following his buddy.

Ew0 ,

That’s actually “-la”, pal.

Redjard ,
@Redjard@lemmy.dbzer0.com avatar

I’m “-lahv”, “alias l=‘ls -lahv’”

mustardman ,

Updating pacman is always pacman -yuS

TechieDamien ,

yuS, it is!

hemko ,

Also rm, cat, mkdir, cd, curl, what else

over_clox ,

mkdir is literally a DOS command homie.

elvith ,

Isn’t it md and mkdir is just an alias in Powershell to accommodate Linux users?

over_clox ,

MD and MKDIR are ancient DOS commands.

hemko ,

I didn’t actually know this, thanks for pointing out

vithigar ,

Every command that isn’t fully expanded PowerShell commands is an alias. dir and ls are both aliases for Get-ChildItem.

hemko ,

Yeah posh has lot of aliases by default to make it more “friendly”. mkdir is just new-item -type directory or whatever.

Also curl is just alias for invoke-webrequest and works nothing like curl

const_void ,
over_clox ,

Fair enough 👍

ox0r ,
@ox0r@jlai.lu avatar

Yeah but tbh i really despise powershells syntax. But i’m happy it is pretty powerful.

______ ,

Unfortunately, bash syntax isnt amazing either

newIdentity ,

But Powershell is worse

______ ,

Yeah. I’ve said this before and got grilled for it but I wish there was a shell scripting language that doesn’t have arcane syntax.

ElderWendigo ,

Can anyone name any living language, scripting or otherwise, without arcane syntax?

fkn ,

Perl, no wait you said without arcane syntax…

echindod ,

Fish? I like fish.

Yearly1845 ,

Bash came out decades ago and powershell is brand new. It doesn’t really have an excuse to suck.

______ ,

I hope I didn’t come across as defending ps. PS sucks and whoever decided to have functions use capital case with dashes in between needs to have their brain scanned

wizardbeard ,

I do a lot of work in PS and I don’t find it that bad. But you forgot what’s even dumber about their function naming conventions.

Function names are supposed to be a single word verb, then the dash, then the rest. But not any verb, you’re supposed to use one from PS’s list of acceptable ones which has some really weird omissions. And they break their own single word verb convention with “acceptable verbs” ConvertTo and ConvertFrom (ConvertTo-SecureString, ConvertFrom-Json), which are the only exception to one word verbs before the dash.

Function names are definitely one of my biggest peeves with it.

Additionally, their basic comparison operators are dumb as hell. How is “-le” better or clearer in meaning that “<=”? -ne instead of !=, but == isn’t just -e, it’s -eq. And you can’t slap an n in front of other comparators for not, -nle isn’t a thing. You gotta wrap the whole comparison in parentheses and slap an ! on the front or slap -not in front. But don’t try to do !-le, because that’s also not a thing. It’s not terrible but I refuse to believe that -eq is more readable than ==

______ ,

Functionally speaking, PS is a really good shell language. Its minor things about it that I dont enjoy. As you said, it feels like the language design has some poor decisions.

affiliate ,

i’m often amazed at microsoft’s ability to take a useful product and make it agonizing to use

Kangie ,

As long as you don’t have ls aliased to ls -la in your brain…

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.

TheBurlapBandit , in This is clearly shaping up to be the pinnacle of this decade's technology

GET OUT. OF MY CAR. NOW

Sonotsugipaa OP ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

Why are you yelling at me?

miniu , in This is clearly shaping up to be the pinnacle of this decade's technology

Making your own engine is worthwhile learning experience. The same as trying to recreate any of the foundational tools that you use. Might not be the fastest or best way to make a game but a good way to make yourself a better developer.

wopazoo ,
@wopazoo@hexbear.net avatar

Keep in mind that if you actually want to make a game, make a game not an engine. Too many video game projects get bogged down in the engine development stage and never make it to completion.

Sonotsugipaa OP ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

Do people even make their own engines anymore? If this wasn’t a pet project I would have dropped the entire thing as soon as I started dealing with 3D models, and visited Godot’s homepage.

Perhaps I should get my hands on Godot at some point.

Xanvial ,

Usually AAA game studios has their own in house game engine

Sonotsugipaa OP ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

The in-house engines I know are being used are also really old - hell, 343i even decided to ditch the fossil that once was Halo: CE’s engine because of technical debt and outsourcing blood sacrifices

EnderofGames ,

Ah, yes, I miss the days of 343 having home grown blood sacrifices.

uralsolo ,

Godot is a lot of fun! I’ve never finished making a game but I’ve made a half dozen hacky demos that I was really proud of.

Montagge ,
@Montagge@kbin.social avatar

This was supposed to release years ago https://camelotunchained.com/v3/

Sonotsugipaa OP ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

Not the fastest

This is my 4th Vulkan related “project” and 2nd attempt at making something other than a glorified tutorial workspace in 6 years, and it took me 4 weeks to draw this stuff with minimal technical debt.

I could just use an existing game engine, but what’s the fun in not manually sorting all draw commands by mesh>pipeline>material and hunting synchronization hazards by just looking at funny glyphs for extended periods of time?

AeroLemming ,

The best part is when your game just spontaneously closes. No logs, just some weird failure that’s got something to do with graphics.

Well, that’s the OpenGL experience, anyway. Damn opaque state machines…

Sonotsugipaa OP ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

Eh, at this point it happens every 3 commits, you get used to abusing gdb (since valgrind just dies).

I hope the police doesn’t find my unregistered breakpoint minigun…

Kolanaki , in ways to close vim
@Kolanaki@yiffit.net avatar

Does unplugging the machine not work?

sagrotan ,
@sagrotan@lemmy.world avatar

I call my local energy provider and simply cancel my contract with immediate effect.

gornius , in ways to close vim

ZZ will save file though, the others won’t. You meant ZQ.

darcy , in rule
@darcy@sh.itjust.works avatar

<span style="font-weight:bold;color:#a71d5d;">def </span><span style="font-weight:bold;color:#323232;">cosmic_ray_detector</span><span style="color:#323232;">:
</span><span style="color:#323232;">    </span><span style="font-weight:bold;color:#a71d5d;">while </span><span style="color:#323232;">false:
</span><span style="color:#323232;">        </span><span style="color:#62a35c;">print</span><span style="color:#323232;">(</span><span style="color:#183691;">"Cosmic ray detected!"</span><span style="color:#323232;">)
</span>
jarfil , in This is clearly shaping up to be the pinnacle of this decade's technology
  1. Don’t roll out your own crypto suite
  2. Don’t write your own game engine
  3. Don’t create your own OS from scratch
  4. Don’t build another multipurpose framework

Whom am I kidding, go do all of that! Learn why you most probably shouldn’t 😆

Sonotsugipaa OP ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

Ew, knowledge and experience, pweh disgusting

fckreddit ,

I want to learn how to write a physics engine.

jarfil ,

Those are easy, unless you want 128bit resolution, relativistic effects, collisions, or fancy stuff like that.

PS: Bonus points if you write one without collision detection, then sell it as a game on Steam.

PS2: Super Bonus points if you make it 64bit, then keep crowd-funding it for 10 years.

Norgur ,
  1. Don't make an MMORPG as your first ever game with only you and your one friend as devs
Sonotsugipaa OP ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

Oddly specific?

Norgur ,

Yet depressingly common in MMORPG circles. People tend to vastly underestimate the amount of work needed to get an remotely playable MMO off the ground.

Sonotsugipaa OP ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

I’ve entertained the idea, and the first to requirements that come to mind are advertising money and server upkeep money - then one could start worrying about actually making it

drew_belloc ,
@drew_belloc@programming.dev avatar

What is this smell? Is that the smell of self experience?

Norgur ,

Nah, I can't tell a Class from a Function in most programming languages. I ain't making no game.

257m ,

You won’t be able to mistake the two if you don’t use Classes.

MagicShel ,

Oh, was it you who made Sociolotron?

sheepishly ,
@sheepishly@kbin.social avatar

What if I make an OS that's also a game engine?

Sonotsugipaa OP ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

Hear me out: a fully fledged desktop environment, like KDE Plasma or Gnome, but it’s a 3D world - “windows” are just walls, the file explorer is just a bunch of procedurally generated condos, and you get a Gmod physics gun to move stuff around.

Norgur ,

Soooo.. Microsoft Bob in 3d?

Sonotsugipaa OP ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

Microsoft bob in 3D with a Gmod physics gun

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