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.

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.

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.

Dehydrated , in STOP USING GITHUB

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

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

s12 , in Every language has its niche

Rails: “No. Don’t worry Ruby.”
Ruby: “Huh?”
Rails: *Hugs Ruby
Rails: “We’re becoming irrelevant.”

Together forever!

caleb , in Every language has its niche

As a Rails engineer with 14 years experience, I can say the place that should be in the 3rd panel is Shopify. They employ so many ruby and rails core committers and directly fund a good many rails gems, and ruby community infrastructure it’s insane. They’re also directly funding the development of things like the YJIT and speed enhancements to MRI itself.

Then there’s all the other places I know or worked at built on Ruby where my other long tenured ruby friends work.

  • Gusto
  • Airbnb
  • Clearbit
  • Stripe
  • Github
  • Gitlab
  • Bold Penguin
ComradeKhoumrag ,
@ComradeKhoumrag@infosec.pub avatar

Ruby was recommended to me by my comparative programming languages professor. I haven’t picked it up, but there were memes that this professor was so good at programming he was secretly built by the university in C++ to teach students how to write better code.

merc ,

It’s worth learning Ruby to understand some of the tricks you can do in programming languages.

Did your prof also recommend others like Lisp?

Lulzagna ,

Basecamp

rambaroo ,

Aha asks for Ruby on rails experience in their job listings, so they must be using it as well

random9 , in STOP USING GITHUB

I thought this was going to be a FOSS discussion, comparing GitHub and it’s current owner - Microsoft - to the ethics of other hosting services like codeberg.org or something.

Then I saw where this was posted.

itsnotits ,

and its* current owner

random9 ,

Yes, I normally speak english good, but your corect to, i make a typo then.

Eyck_of_denesle ,

I am new here. Can you kindly elaborate.

random9 ,

A lot of people associated with Free and Open Source Software (FOSS) have major objections to GitHub. Here’s one summary: sfconservancy.org/GiveUpGitHub/

But the TLDR; version is roughly:

  • Your source hosted on GitHub is being used to train AI, and you are possibly giving up rights to algorithms you may have written (IANAL, and AI training is a fuzzy topic at the moment)
  • GitHub itself is proprietary, closed-source software, while they claim to be pro-FOSS. Aside from not being in the spirit of things, closed-source means you also don’t know what happens with your code/data once up upload it.
  • Microsoft has a history of being anti-FOSS, while some people will say it’s been changing, I think many are still rightfully concerned what their future decisions regarding GitHub might be, especially if they are a near-monopoly.

Alternative do exist, and some like codeberg.org are specifically open sourced, and pro-open source, so many people are pushing to move hosting away from GitHub and onto other options.

Eyck_of_denesle ,

Thanks for explaining it in such good detail but I was referring to your last sentence. I’m new to lemmy and I’m still looking for good communities and blocking the bad ones. I apologise for not being clear enough in the first reply.

random9 ,

Oh - this isn’t a bad community, that isn’t what I meant by my last sentence - this is just a place for memes and jokes more than serious discussion, hence my expectation of a serious discussion was subverted. But programmer humor is still a great place.

redcalcium ,

The previous Microsoft’s CEO truly hates FOSS, famously calling it cancer. Then the next CEO reversed Microsoft’s stance on FOSS, acquiring the largest FOSS collaboration site. Naturally, many view this move with suspicion since Microsoft has a history of embracing something only to extinguish it later.

anamethatisnt , in STOP USING GITHUB

I’m looking forward to the Forgejo Federation to be completed.
It will be nice to not have to choose between self hosting your repository and having your repository discoverable.

Is forge federation ready to be used by developers around the world? Not yet.
But the first Forgejo release with native federation implementation based on ForgeFed and F3 is expected next year.

Info from June 2023: forgefriends.org/…/2023-06-state-forge-federation…

Anafabula ,
@Anafabula@discuss.tchncs.de avatar

Current state of Federation in Forgejo: codeberg.org/forgejo/forgejo/issues/59

Aatube , in STOP USING GITHUB
@Aatube@kbin.social avatar

Why is it a fiddle

ursakhiin ,

Fiddle was found in a thrift store. Couldn’t afford the bongos.

olafurp , in If Architects had to work like Programmers

This is very relatable, whenever someone asks for anything of any size then they’ll never know what they want until you show it to them.

I’ve started to do a bit of overengineering every now and then when I have a hunch they might want to charge something about it later.

I created a GUI for changing every single string of text on a webapp for admins, showed it to them 10x and they complimented me on how easy it is to use and change any small string in it.

Project then gets halted for Corp approval reasons and they come back with a PDF of changes they want where half of it is text changes.

I recommend insulating yourself from stuff that is subject to change like payment providers or other third party integrations. In ecommerce everyone wants something like “shipping but different if the client’s name ends with ‘SHIP1’ but use default if his number is the default number” and since they asked for the wrong thing you’ll have to do a fast revert.

Never mind, this is getting into rant territory, lol.

LemmyIsFantastic , in STOP USING GITHUB

I get this is a meme, but the most successful projects are the ones that quickly get you running and are supportive to new users. I’ll get off my soapbox.

visnae , in Every language has its niche

Hey Ruby debs, lookup Elixir. It’s supposedly similar syntax but run on the Erlang VM instead. Lots of cool companies use it, and a great community. 🤗

frezik ,

I’ve written a non-trivial amount of Elixir. It’s nice, but I wouldn’t say it’s like Ruby. It’s more heavily functional, and it wants you to work with data in an immutable way. If you’re coming from a language that doesn’t force immutability, then you’ll be miserable until you get your head around how to work that way.

I really like it, though. Especially now that it’s getting optional typing.

bionicjoey ,

Elixir is an awesome language. It takes some getting used to as it’s meant to be more functional like Haskell, but it plays really nicely with big parallel workloads and is super clean to write

ProdigalFrog ,

Crystal lang is also pretty cool looking. It seems to be going for what Nim is doing, making Ruby as fast as C.

Slotos ,

Don’t learn Elixir to replace Ruby. Learn it to enjoy OTP and BEAM.

I would love to join a cool company that’s willing to accept a dev that can transition fast. However, most of Elixir job listings I find are gambling or crypto. And I ain’t gonna touch those.

Randelung , in Every language has its niche

Goddammit, I’m feeling for an anthropomorphic programming language that I don’t even know.

librecat , in Every language has its niche
@librecat@lemmy.basedcount.com avatar

I use ruby whenever I need a script, it’s super easy to work with other commands in ruby IMO.

uis ,

Bash

qaz ,

super easy to work with

🤔

librecat ,
@librecat@lemmy.basedcount.com avatar

I use bash when I need to feel pain.

uis ,

Bash to feel it

loudWaterEnjoyer ,

I use Ruby when I need to feel pain.

ablandguy ,

Remind me how to take arguments to the scripts 😑

librecat ,
@librecat@lemmy.basedcount.com avatar

ARGV?

puckpuckpuckow , in Every language has its niche

deleted_by_author

  • Loading...
  • AnUnusualRelic ,
    @AnUnusualRelic@lemmy.world avatar

    Emacs enters the chat.

    Pipoca ,

    Emacs unfortunately uses Emacs lisp, not common lisp or scheme.

    Shareni ,

    There was that one attempt to rewrite Emacs in cl

    AnUnusualRelic ,
    @AnUnusualRelic@lemmy.world avatar

    And that didn’t work? I would have thought it would be quite popular.

    Shareni ,

    I think that Emacs itself was mostly implemented, but they couldn’t get people to rewrite all of their user generated content.

    AnUnusualRelic ,
    @AnUnusualRelic@lemmy.world avatar

    Oh, right. That makes sense.

    merc ,

    What are the main differences?

    Pipoca ,

    Emacs is a bunch older than common lisp.

    One of its more idiosyncratic design decisions was using dynamic scope, rather than lexical scope. They did add in per-file lexical scope, though.

    It also just doesn’t implement a lot of common lisp’s standard library.

    Shareni ,

    Not anymore

    QUANTUM COMPUTING

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