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.

RampantParanoia2365 , in STOP USING GITHUB

I’m sorry, you were saying something about mental derangement after posting this thing? Jesus.

gsfraley ,

It’s a pretty popular meme format, it’s not serious

Dehydrated , in STOP USING GITHUB

Software Freedom Conservancy has a pretty nice page called Give Up GitHub!, definitely check that out

phoenixz , in Every language has its niche

Is PHP becoming irrelevant? It still comprises the vast majority of web pages out there. Maybe that has been going down but with he amount of competing languages and systems out there, that is to be expected.

Either way, it’s an awesome language, happily been using it for decades now

caseyweederman ,

Perhaps it was before Facebook came along

bionicjoey ,

Wikimedia, WordPress, Drupal…

Anticorp ,

Nah, something like 93% of all websites on the planet were PHP when Facebook came around, thanks to WordPress.

bitcrafter ,

Either way, it’s an awesome language, happily been using it for decades now

Mind taking a moment to share why you like it? I am not very familiar with it.

CanadaPlus ,

… And it’s one of the languages everybody craps on. Like, I’ve seen people compare JavaScript favourably to it.

phoenixz ,

Yeah they do, with no real reason, really. Oohh, “some functions use underscore and others don’t!” And? It’s not a problem, really. Every language has baggage from the past and PHP kept it for stability, I’m happy with that.

CanadaPlus ,

“some functions use underscore and others don’t!”

That’s weird, but more of an aesthetics issue than anything. JavaScript will actually decide to behave oddly for no reason; if that’s it it’s still king of the shitbirds.

bier ,

I’m not the one you asked, but what I like isn’t really about PHP itself, but the fact that I can get dirt cheap hosting with PHP and MySQL. Every time I want to create a small “app” that makes some manual task easier it’s very useful to create something I can access from the internet.

Python is really useful for stuff like that too, but (in my experience) not as easy and cheap to use as an web app.

For example I go to dinner with some friends every month and we always forget who’s turn it is to choose and book a restaurant. So I just made this PHP page that shows the current and next 2 months with a name. So we always use that to see who’s turn it is.

Hadriscus ,

Dope !

AVeryCleverName ,

What makes hosting with PHP cheaper than with python?

bier ,

I don’t know, maybe it’s because PHP used to be the default web based language? I just buy hosting, I don’t sell it…

AVeryCleverName ,

What do you use for hosting? I’m looking for a good host and highly budget conscious.

bier ,

I’m Dutch and use a local Dutch company, I also wanted a .nl tld

phoenixz ,

Though I like that you use PHP, I don’t think there is such a thing as PHP hosting, or python hosting? Maybe I’m not understanding what you’re saying here?

bier ,

When you pay a company and they provide you with a domain (you choose) and give you a webserver, some disk space, a database etc.

I pay about 30 euros a year for 5 websites. They are all very basic (either some php stuff I made, or WordPress). These websites have very few visitors so the hosting specs don’t really matter. All these websites have a specific domain name, some disk space, and a database.

For this price they offer PHP and MySQL. So it’s not a dedicated server where I’m root and can Install other stuff.

bitcrafter ,

I’m not the one you asked, but what I like isn’t really about PHP itself, but the fact that I can get dirt cheap hosting with PHP and MySQL.

Oh, wow, I looked a little into this and hosting really is dirt cheap! That is a benefit that I genuinely was not expecting.

phoenixz ,

Quite early on the eyes, powerful, fast to build and rolk out projects, about. A billion libraries with all the functions you’ll ever need. People both about it because it has some language quirks from way back in the beginning, I see it as stability. I don’t know how node is now but I remember a few years back where every bug fix came accompanied not only by 10 new bugs but also a bunch of interface changes that immediately broke everything. Every. Single. Damn. Time.

Having said that, it under very active development and has been majorly improved over the years. Dumb design choices are no long available and right now it’s quite easy to work securely with it.

Beyond the “but these two functions should have similar naming but they don’t!” argument, that with a good editor doesn’t matter anyway, there isn’t really a good argument out there not to use it.

masterspace ,

Depends on how you’re judging relevance.

93% of webpages could be PHP because of Wordpress, but that doesn’t necessarily mean there’s a lot of PHP developers.

phoenixz ,

If that hypothetical 93% is WordPress, there’s still a huge demand for PHP developers to maintain that and the plugins and so

NikkiDimes ,

PHP is horrible, I hate it, and I will not elaborate. Good day, sir.

phoenixz ,

Well that is an excellent argument if I ever heard one…

NikkiDimes ,

I said good day sir!

phoenixz ,

Good day to you too, how have you been?

NikkiDimes ,

Not too bad. Just chillin’. How 'bout you?

phoenixz ,

Very fine! Nice cool day today.

mrkite , in Every language has its niche
@mrkite@programming.dev avatar

I don’t use Ruby anymore, but I still use irb everyday as a command line calculator.

MonkderZweite , in Did some work recently

Leave my cat alone, i programmed her myself.

Eyck_of_denesle , in STOP USING GITHUB

I used to think github invented git when I was new to programming 😓

random9 ,

Fun fact, Linus has said that he has named both of the major pieces of software he has authored after himself - Linux and Git.

Git is a somewhat old British slang insult for someone stupid/childish.

So GitHub is then … a hub of gits.

marcos ,

If you look at the issues discussion of any popular project there…

I guess it’s the right name.

random9 , in STOP USING GITHUB

Is this copypasta yet?

I DONT GIVE A FUCK ABOUT THE CODE!! WHY IS THERE CODE? JUST MAKE A FUCKING EXE FILE AND GIVE IT TO ME.

who needs code, when all we need is exe files.

funkless_eck ,

I think it’s so popular because secretly everyone agrees

firelizzard ,
@firelizzard@programming.dev avatar

Fuck that, I don’t trust executables unless they’re signed, downloaded securely (e.g. HTTPS), and I trust the source I downloaded them from. Anything else might as well be a virus. If I can’t find a signed binary from a trustworthy source, I’m either not using it or I’m going to build it myself (after skimming through the code).

I_like_turtles3 , in STOP USING GITHUB

nuked my github few weeks ago.

bruhduh , in Every language has its niche
@bruhduh@lemmy.world avatar

Those hentai games and visual novel games still keeping ruby lang relevant tho, rpgmaker game engine is one of examples

dylanTheDeveloper ,
@dylanTheDeveloper@lemmy.world avatar

It’s easier to code in python one handed then it is codeing in C

fellstone ,
@fellstone@lemmy.blahaj.zone avatar

I think the two newest, MV and MZ, have switched to Javascript. Also, Ren’py is the only visual novel engine I can think of, which is based on Python.

corsicanguppy , in Every language has its niche

But Cinc and its sell-out dad Chef are really great uses of ruby, keeping us from YAML hell and the kludgey socket-machine-gun that is Ansible. That piece of shit has more lithium-lick than I’ve ever seen.

If we can’t have mgmtConfig (ohai go), at least let us keep Cinc, but it needs ruby.

FrowingFostek ,

I really wish I knew what all these words meant. Then again that might ruin the childlike delight I get from my ignorance.

RedStrider , in STOP USING GITHUB
@RedStrider@lemmy.world avatar
Crack0n7uesday ,

Didn’t that person just want to use it to stalk an ex on Facebook.

XTornado ,

Dafuq??? EDIT: Yeah I just checked the app I guess it could be used for that in a way.

Crack0n7uesday ,

Yeah, that dude went on 4chan asking some very specific questions, that’s how I recognized it.

Crack0n7uesday ,

Our boy is over on 4chan right now posting about that again and everyone remembers and posting NYPA (not your personal army).

XTornado ,

Amazing.

_s1591 ,

lmao

funkless_eck ,

a legend is born

arc , in Every language has its niche

I wrote extensively in Ruby but for Rake - using Ruby as a build system. Can’t say I liked the language although it was okay for how we used it. We have 20 sub projects with some very complex build targets and dependency scanning going on and the Rake syntax was okay. Personally I think its biggest shortcoming was the documentation was very poor and stuff like gems felt primitive compared to other package management systems. One thing I liked from the language was blocks could evaluate to a value which I really use a lot in Rust too.

I think if I were doing an acyclic dependency build system these days I’d use Gradle probably.

As for Rails I expect failed to catch on because even compared to Python, Ruby is a slow language. And Python isn’t fast by any stretch. Projects that started with Rails hit the performance brick wall and moved to something else.

FlorianSimon ,

Why Gradle?

arc ,

We had tens of thousands of lines in our rake files to build a bunch of targets, none of which were even Ruby. I think if I needed to build another complex build system that was a directed acyclic graph I think I’d use Gradle, for a several reasons - we had some Java targets so we save on an additional developer runtime, it would run faster & Gradle is more mainstream and easy to get various plugins & documentation for.

Blackmist , in Every language has its niche

Cries in Delphi.

ILikeBoobies , in Every language has its niche

I would say wordpress over Facebook for pho

dan , (edited )
@dan@upvote.au avatar

Yeah…

Facebook hasn’t used PHP for a long time. They use Hack which started as a language similar to PHP, but it’s very different now - it’s strongly-typed and has a bunch of advanced features, like the ability to annotate functions as pure (no side effects), which gets enforced by the type checker.

mvirts , in Every language has its niche

Gitlab

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