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.

QuazarOmega , in rule

Her ass is NOT concatenating files either

dependencyinjection ,

Silly. This is how the ‘cat file name’ command work. You type it and the cat spits out the contents.

nyan ,

I will have to remember not to use that command anymore. 'Scuse me while I clean up the hairball . . .

Hamartiogonic ,
@Hamartiogonic@sopuli.xyz avatar

Oh, it’s just like the historical origin of words like “bug” or “patch”.

lemmy_in , in My VSCode started to summon DEMONS😈, how do I stop it? I have checked PHP docs but got nothing. 😥

It’s perfectly normal for your computer to have daemons.

BleatingZombie , in Good&Evil is a classic altrock album by Tally Hall, and now, for something completely different, JSON

I’m trying to figure out what the hidden message in bold means

hosaka ,

It’s a reader assistance, some paid for tool that highlights parts of a word, can’t recall what it’s called…

Vishram1123 ,
Aatube OP ,
@Aatube@kbin.social avatar

The Cooler Bionic Reader

Maven ,
@Maven@lemmy.sdf.org avatar

It’s also not necessarily paid for, Jiffy Reader is a free browser addon

fenndev ,
@fenndev@leminal.space avatar

This reminded me that I wanted to look into open source alternatives to Bionic Reader…

Aatube OP ,
@Aatube@kbin.social avatar

All extensions are technically open source because they “compile” to JavaScript. Most, including the one I use, don’t bother obfuscating

LinuxSBC ,

Open source is a license. What you’re referring to is “source-available.” You can’t legally fork, redistribute, or contribute to it.

maxmalrichtig ,
@maxmalrichtig@discuss.tchncs.de avatar

I think you got that one wrong.

Open source is not a license. Open source literally just means that the source is openly available. It does not include the right for you to reuse or change any of the source.

That’s why most of the time, people are talking about “Free Open Source Software” (FOSS) when they think of openly licensed source code.

That’s why you can publish your project on e.g. Github (= open source) but if you don’t add a license statement, your work is still protected by an “all rights reserved copyright”. (= not free)

Anyhow, I would not necessarily deem a project OSS, just because the used language is readable by default. To me, OSS needs at least the developers intention to make it openly available.

aberrate_junior_beatnik ,

Open-source software (OSS) is computer software that is released under a license in which the copyright holder grants users the rights to use, study, change, and distribute the software and its source code to anyone and for any purpose.

en.wikipedia.org/wiki/Open-source_software

maxmalrichtig ,
@maxmalrichtig@discuss.tchncs.de avatar

Well put me in a dress and call me Sheryl. Never knew that the “accepted definitions” were really that close. Thanks!

I knew that some definitions of OSS were really basic (as in “as long as there is source at some point”) but I didn’t know that the OSI definition was so close to the idea of “free software”.

I found the read about the history and similarities & differences quite interesting: web.archive.org/…/open-source-misses-the-point.ht…

Aatube OP ,
@Aatube@kbin.social avatar

put me in a dress and call me Sheryl

That's a colorful expression if I've ever seen one

MinekPo1 ,
@MinekPo1@lemmygrad.ml avatar

While I agree with you , the Open Software Initiative doesn’t :

Open source doesn’t just mean access to the source code.

So according to the OSI’s definition of open source , a project being public on github , but with out a license or with a license which does not comply with the requirements set out by the OSI

Aatube OP ,
@Aatube@kbin.social avatar

I use a Firefox thing which has additional features and is free

Aatube OP ,
@Aatube@kbin.social avatar

That’s what everyone says

Ephera , in 4 billion if statements

Now we just need to someone to package it and upload it to NPM.

Dentarthurdent , in I'll just be a quick 3h

Same feel as “how long is this going to take to pull?” Well I don’t know if part of what you’re asking for exists, how clean it is, and if can join the data you’re talking about, so anywhere from 5 minutes to never?

cybersandwich ,

That’s exactly how you should respond. I’ve been on the requester for some of these and if my team gave me that as a response I’d just say “let me know what you find out or when you know more.”

knobbysideup , in GoOn

0.0.0.0/0

::/0

Manifish_Destiny ,

Winrar

Dlayknee ,

Chicken dinrar?

xantoxis , in JavaScript's days are numbered

Also means you can’t reference anything earlier than the late Pleistocene.

sik0fewl ,

Nothing happens before c. 4000 AD anyway.

NegativeInf ,

Sorry, that’s also wrong. The entire universe, in its current state, popped into existence last Tuesday. It’s been terribly inconvenient tho.

LinuxSBC ,

I thought it was last Thursday.

sik0fewl ,

I wish we would have popped into a better existence.

NegativeInf ,

We should never have coalesced from the quantum foam.

PunnyName ,

GODDAMMIT

r00ty Admin , in They used coding and algorithms
r00ty avatar
function goingToCrashIntoEachother()
{
    // NYI
    return false;
}
odium ,

//TODO: implement logic

ChaoticNeutralCzech ,

<span style="color:#323232;">//tested: 100% working on actual drone
</span>

– You mean drones, right?

nxdefiant ,

unittest 100% complete, story closed.

guycls ,

Ship it!

Feyter , in D or d come on

I don’t get it… “D” is a complete different character than “d” is.

It’s like wondering why “file1” is not opened when I typed in “file2”.

1984 ,
@1984@lemmy.today avatar

People want their computers to magically know what they want these days. :)

This specific problem doesn’t exist in oh-my-zsh config though. It will find the directory even if spelling it like this.

PupBiru ,
@PupBiru@kbin.social avatar

“magically know what they want” aka occasionally set you and your files on fire

i prefer not fire

schnurrito ,

On Windows filenames are case insensitive at least usually, some people are used to that. But that is poor design for so many reasons, Turkish I being one of them.

user224 ,
@user224@lemmy.sdf.org avatar

Now take Android. Files are case-sensitive yet you can’t create 2 files with same name if they only vary in case.

Reil ,

One of the most pointlessly annoying things I’ve had to deal with was trying to move a process made for Linux onto a Windows MINGW/cygwin-type environment where one of the scripts would generate “.filename” AND “.FileName” files. :|

lemmonade ,

You could also say that down should not complete to download since those are completely different strings and you shouldn’t expect one to get you the other.

Feyter ,

Sorry, down is a substring of download I don’t get your point either?

Honytawk ,

Substring is not string.

If they were interchangeable, then “D” & “d” should be too.

Feyter ,

down matches down* because * also includes empty string. Also download matches down*

D matches D* but d is not matching D* because D is a different character than d.

lemmonade , (edited )

but why do we have to match specifically against substr*? it’s not a law of nature, we could also match against the regex (?i)substr(?-i).*

not saying that one option is necessarily better, but I don’t see a good reason for which any one of these options would be terrible

Feyter ,

Because usability. If you have the files down down1 down2 downxyz and download and the user only knows that it was “something with down” it’s best to show the user everything matching “down*” and let the user decide what’s the correct one.

Also I’m not sure but wouldn’t your expression show everything if only one character would be entered?

And again I don’t see this solving anything if the entered string actually contains other characters then what’s in the file (D != d)

Yes one could argue that some form of advanced algorithm or even AI could be used to identify such use case like download and Download but this is programming Humor, not linguisic Humor.

lemmonade ,

would it not be usable to have completion be case insensitive? I seem to be able to use that… if I only remember “something with down”, I could just as easily forget the capitalization of “down”. maybe I have downloads and Down? why not show everything matching case insensitively and let the user decide what’s the correct one?

I didn’t really understand what you thought the regex did incorrectly, but I think the regex works fine, at least for most implementations, anyways what I meant is just a case insensitive version of the regular substring completion, which shouldn’t be too difficult to make.

The only thing it solves is the frustration of having to look for a file/directory twice because you didn’t remember it’s capitalization. again, those are different characters just like a do and downloads are different strings, but it can be easier for users if they can just press tab and let the computer fill the part of the name the don’t remember (or don’t want to type).

you don’t need an advanced algorithm or and AI, there are many easy ways to make completion case insensitive (like that regex for example). Issues involving names are inherently somewhat linguistic, but either way interactive shells are meant to be (at least somewhat) usable to humans, and as seen by the post, some people would prefer completion to be case insensitive.

Swedneck ,
@Swedneck@discuss.tchncs.de avatar

that’s not how language works though, in human language (i know this can be confusing) d and D are the same letter just in different forms.

It’s one thing to have case sensitivity in programs doing data manipulation, that makes sense because you don’t want the program to accidentally use the wrong files without supervision.

But when you have an interactive prompt you know what you’re doing, you can see if you entered the wrong directory, and you’re generally going to be working in directories that you have yourself organized.

4am ,

Doesn’t tab completion solve this if there are no alternatives with matching case? sounds like a PBKAC

MBM , in Programming Languages as Essays

Brainfuck: it’s technically an essay, but who in their right mind would write it using only the first eight letters of the alphabet?

Nioxic ,

++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++++.–…++++++.

min_fapper , in Always commit

The most common advice for git is

commit early. commit often

Do not however, follow the same advice for relationships.

Blamemeta , in Which side are you? Javascript or Typescript

Typescript is great for catching long standing bugs in old legacy JS.

RandomVideos , in This one goes out to the sysadmins in the crowd.

Why did it change from 64 gb of ram to 1.268869321 E+89(64!) gb of ram

Also, 2.092278988 E+13(16!) gb is a lot more than 64 gb

AeonFelis ,

Said app is Chrome

stoicmaverick ,

Came here to say this. Nerd…

Hupf ,

What you said makes 0! sense

RandomVideos ,

What does 1(0!) sense mean?

TehPers ,

It means it made 100% sense.

huginn , in This one goes out to the sysadmins in the crowd.

Meanwhile I’m given a 16gb of ram laptop to compile Gradle projects on.

My swap file is regularly 10+ gigs. Pain.

lemmyvore ,

That reminded me about trying to compile a rust application (Pika Backup) on a laptop with 4 GB of RAM (because AUR).

That was a fun couple of attempts. Eventually I just gave up and installed a flatpak.

huginn ,

God bless flatpack in times of need

NatoBoram , in Golang be like

And I fucking love it. Thank you Go!

stebo02 ,
@stebo02@lemmy.dbzer0.com avatar

lol what’s wrong with you

NatoBoram ,

“Other people” are what’s wrong with me. People don’t use linters/formatters/type annotations when it’s optional and produce dogshite code as a result. Having the compiler itself enforce some level of human decency is a godsend.

stebo02 ,
@stebo02@lemmy.dbzer0.com avatar

sure but unused variables are no biggie

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