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.

magic_lobster_party , in Programming Languages as Essays

Unity: handing me over the essay is going to cost you extra.

Typescript: is this a declaration of war?

captain_aggravated ,
@captain_aggravated@sh.itjust.works avatar

GDScript: This is plagiarism. You can’t just write “extends essay2d.”

backhdlp , in Unpaid community work is best!
@backhdlp@lemmy.blahaj.zone avatar
onlinepersona OP ,

He presented the issue with gitlab very well. Setting up an entire new account is the major reason (besides time) I don’t contribute to projects on other gitlab instances. For some reason Gitlab management didn’t think it important at all (maybe even considered it a feature).

FarraigePlaisteach ,

Their documentation has been frustratingly outdated at times too. But since GitHub is MS owned there are better options. I prefer codeberg for having an actual account on.

janAkali , (edited )

Actually, Librewolf team set up recently a poll “should we move to Codeberg?”. And this was one of the reasons for migrating.

P.S. other privacy/convenience issues with gitlab:

  • gitlab.com seems to require credit card information for new users signing up, which is not really great if people just want to report bugs.
  • gitlab.com uses Cloudflare, which for a few weeks locked out LibreWolf users from accessing gitlab.com in the past.
  • GitLab requires Javascript even to just look at issues, which is not the case for Codeberg

P.P.S. They did move their codebase to Codeberg as a result.

twistypencil ,

Not true, I just tried to sign up:

https://lemmy.world/pictrs/image/292a7658-41f1-4f2b-a063-899782cf5cc3.png

Appears to be optional, if you don’t want to use a phone number.

isVeryLoud ,

Yeah, been using GitLab semi-professionally for a while and have accounts on multiple instances, it never asked me to have a credit card on file, and I just don’t put in a phone number. Saying that it requires it is sensationalism.

odium ,

It requires it in countries other than the US

isVeryLoud ,

I’m Canadian

odium ,

I guess Canada also doesn’t need credit cards. But as you can see from this comment, there are countries in which credit cards are required: lemmy.one/comment/3041845

janAkali ,

From what I remember, they require a credit card info for people outside of US. Here’s my sign up screen with Netherlands VPN:
https://lemmy.one/pictrs/image/ecc78420-4b82-4f22-9423-74fb244e9dd9.png

slazer2au , in Programming Languages as Essays

Rockstar: this would make one hell of a banger.

d_k_bo , in Unpaid community work is best!

ForgeFed is an ActivityPub Extension to allow cross-forge (git server) issues, pull requests etc. without having to create an account on each server. Forgejo (a Gitea soft-fork) is actively working on this integration.

lars ,

Whoa! I didn’t even know I could wish for such a future.

DrDeadCrash ,

Check out codeberg for a non-profit host for (instance of?) Forgejo.

redcalcium ,

Having this feature would be very useful. Many big open source projects run their own gitlab instance, which add extra frictions for contributing because you need yet another gitlab account just for those projects.

d_k_bo ,

Exactly, I think I have ~5 gitlab accounts and ~4 Gitea/Forgejo accounts.

oldfart , in Unpaid community work is best!

Now another 7 years and 24 “please rebase this old code” requests before it’s merged

twistypencil ,

My experience with contributing to gitlab has actually not been as you describe. Fairly fast responses, obviously targeted releases so I knew when to try and finish any Mr adjustments, bots that provided excellent aid and even ability to ask for subsystem specialist help, when CI shot out confusing errors that appeared unrelated. Frankly, I was impressed. I understand not every feature or bug would go this way, but if you follow their guidelines, get product road map positioning, it works. The amount of commits going in to main are incredible. The number of MRs they handle is equally impressive.

All of that said, I’ve still got issues in gitlab that are seven+ years old, without any movement. But I get it that they have to prioritize and contributions are a different story.

oldfart ,

Alright, I haven’t contributed to Gitlab so should not generalize. Just general experience of contributing to larger projects.

I_Miss_Daniel , in Programming Languages as Essays
@I_Miss_Daniel@kbin.social avatar

HTML:

Blink. Blink. Blink. Blnk.

newIdentity ,

Blink engine

MonkderZweite , in Programming Languages as Essays

Unpopular opinion: Ruby is too widely used, because it’s the least performant language.

Sometimes even for stuff, where performance matters (Asciidoctor).

lars ,

Yeah I usually run my backend in Asciidoc too. The level of its performance might surprise you.

Quill7513 ,

Ruby’s popularity in the early 10s thanks to Ruby on Rails feels like it happened by accident. The language is hard to read and low performance, but Rails is completely automagic. But this is also the worst thing about rails. You create your app fast, but then maintaining it is expensive because you can’t onboard new developers easily. Even if they’re familiar with rails’ automagicisms, it will take them quite some time to parse what the hell the code is doing.

Meanwhile I seem to recall Ruby’s creator finding the situation of his language being popular because he’d created it as an experiment and never thought it would be used in production grade environments

AnomalousBit ,

language is hard to read


<span style="color:#323232;">for item in array do
</span><span style="color:#323232;">  puts item[:name]
</span><span style="color:#323232;">end
</span>

Whew, iterating and working with data in Ruby is so hard. How does anyone read this stuff.

low performance

Ruby is a syntax-sugar-loaded C-wrapper, just like Python and countless other languages that don’t compile straight to machine code. If anything other than C and Rust are slow to you, then sure, maybe Ruby isn’t a good fit for your project (but Crystal might be).

create your app fast

Damn right, I’m two or three times as productive as I ever was in C#/Razor, Java/Spring or kludging through the countless JS boilerplate-heavy web frameworks.

but then maintaining it is expensive

As with any app that grows into something successful and widely used, technical complexity becomes exponential. I’ve found once web applications grow to a certain number of models and controllers, the relationships between them start to grow exponentially as well. This means one small change can ripple throughout your application and have unintended consequences where you least expect.

This is not even remotely a unique problem to Ruby. It’s happened across every project I’ve seen that grows beyond 30 models and a couple of dozen controllers, regardless of language. This is why unit testing is so important.

But, specifically you mentioned you can’t “onboard new developers easily”. I don’t see how. I’ve taken two CS grads straight out of college and had them adding features with tests within a couple of days on Ruby projects. Ruby was designed to be most friendly to humans, not the compiler. If Rails is what is tripping you up, imagine trying to learn a new web framework on top of an even more complicated language than Ruby. I just don’t see this argument at all, from my experiences.

Ruby’s creator finding the situation of his language being popular because he’d created it as an experiment

Pretty sure most any language that was created by an individual and not by BigCorp™ is a feat in and of itself. This speaks more widely to a language’s capabilities and value if it can reach popularity without corporate backing. This argument seems to imply that because of it’s origin, it will always be some kind of experimental toy that was never intended for wide-use.

Meanwhile, Linus Torvalds:

I’m doing a (free) operating system (just a hobby, won’t be big and professional like gnu) for 386(486) AT clones.

Things have to start somewhere, I guess?

I kindly ask you to be more constructive in your criticism of Ruby. It’s a great, powerful language with a low barrier to entry. There’s no reason to spread FUD about it.

morrowind ,
@morrowind@lemmy.ml avatar

<span style="font-weight:bold;color:#a71d5d;">for</span><span style="color:#323232;"> item </span><span style="font-weight:bold;color:#a71d5d;">in</span><span style="color:#323232;"> array </span><span style="font-weight:bold;color:#a71d5d;">do
</span><span style="color:#323232;">  </span><span style="color:#62a35c;">puts</span><span style="color:#323232;"> item[</span><span style="color:#0086b3;">:name</span><span style="color:#323232;">]
</span><span style="font-weight:bold;color:#a71d5d;">end
</span>

What’s with the weird syntax, isn’t idiomatic ruby


<span style="color:#323232;">array.each </span><span style="font-weight:bold;color:#a71d5d;">do </span><span style="color:#323232;">|item|
</span><span style="color:#323232;">  </span><span style="color:#62a35c;">puts</span><span style="color:#323232;"> item[</span><span style="color:#0086b3;">:name</span><span style="color:#323232;">]
</span><span style="font-weight:bold;color:#a71d5d;">end
</span>

(or the shorthand version)?

AnomalousBit , (edited )

First time I’ve ever heard someone call a for loop “weird“. They’ve been around for 50 years 😂

The whole point was on readability, not trying to make rubocop be quiet. Sure, .each is great, but I’m not sure about it being shorthand. What did you save? Like 3 characters? I find the for loop more readable unless I’m method chaining.

morrowind ,
@morrowind@lemmy.ml avatar

Not in ruby, the for loop was initially put there to make it friendly for people from other languages and is discouraged. It’s just syntax sugar on top of each.

By shortand version I meant


<span style="color:#323232;">array.each(</span><span style="font-weight:bold;color:#a71d5d;">&</span><span style="color:#323232;">amp;</span><span style="color:#0086b3;">:to_s</span><span style="color:#323232;">)
</span>

(although in this case I’m not calling puts anymore)

edit: lemmy keeps putting the &amp; there, but you know what I mean

AnomalousBit ,

Not in Ruby

It’s valid syntax, it’s part of Ruby. It’s easy to read and familiar across many languages. Write what you want to write, I’m not sure why you feel the need to finger wag.

larouxn ,

Was about to say as someone who’s been using Ruby for over a decade, 8 of which professionally, I’ve never once come across a for loop. each on the other hand, all day every day.

Slimy_hog ,

“ruby is hard to read” is a really strange take…

snowe ,
@snowe@programming.dev avatar

Yeah there’s multiple people in here saying that and it seems like maybe they’ve never actually written Ruby. I don’t think Ruby is a good language for writing business apps in, but it’s incredibly easy to read. Way easier than pretty much every single language out there.

Now if you start including shit like rails, sure. But that’s not Ruby. That a framework and just like Spring or Django or Boost or whatever, it has its own semantics and can be incredibly difficult to read. That has nothing to do with the language though.

morrowind ,
@morrowind@lemmy.ml avatar

It’s as performant as python which is way more widely used.

MonkderZweite ,

No, there circulated a performance list a while ago. Python was in the lower third while Ruby was bottom.

morrowind ,
@morrowind@lemmy.ml avatar

Which benchmark are you talking about? The most common I know of is the computer language benchmarks game, here’s a nice implementation of it.. You can see ruby is actually a decent bit faster.

It’s an annoyingly persistent myth that ruby is significantly slower than python.

TheGiantKorean , in Programming Languages as Essays
@TheGiantKorean@lemmy.world avatar

Perl: this essay is just one long run on sentence.

akincisor ,

He just kept talking in one long incredibly unbroken sentence moving from topic to topic so that no one had a chance to interrupt, it was really quite hypnotic.

nyan ,

With some very odd random punctuation. (I love Perl, but some of the built-in variables . . .)

TheGiantKorean ,
@TheGiantKorean@lemmy.world avatar

Lol yes. Like… How is $_ intuitive?

bort , in call the doctor, the CS doctor

Count in binary up to 1023 on your hands you filthy casual

stebo02 ,
@stebo02@sopuli.xyz avatar

just beware when counting the number 4 in public

CanadaPlus ,

Or 256, or 260.

dukk ,

Especially 260.

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 ,

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

sj_zero , in How the IT guys see the users

Some IT guys.

Sometimes users see IT guys as mordac the preventer of information technology from Dilbert. Thank you for breaking my perfectly functional workstation again.

chiliedogg ,

I sent in a ticket recently, and the new IT kid’s response 3 minutes later was a long the lines of “That’s weird. I don’t see anything about it on Google” and he marked it “resolved.”

sj_zero ,

My blood pressure is rising just thinking of things marked "resolved" that are STILL FRIGGIN BROKE!

willeypete23 , in call the doctor, the CS doctor

If you count your knuckles you can get all the way up to b on one hand! Both hands can get up to 17!

Swiggles ,

Up to 355687428096000? That’s impressive!

JATtho , in Programming Languages as Essays

C++: The project is now led by university research comitee optimizing essays/second and consists 1k lines of template hieroglyphs.

KoboldCoterie , in Apple donation
@KoboldCoterie@pawb.social avatar

Bold of you to assume it was $24 and not $5.

nexv , in Unpaid community work is best!

GitLab don’t have the monetary incentive to implement federation. Most of their revenue is coming from big companies which are mostly using private GitLab instance and won’t want their projects federated.

That being said, hope this changes can get merge as somebody already done the dirty work for them. The beauty of open source.

onlinepersona OP ,

How can more instances not lead to more money? Look at the explosion of mastodon and other federated software. There’s a lot of good will in the community and being a viable competitor to Github is definitely not worth nothing. If Gitlab could offload the majority of users from their main instance, I bet it would actually save them money. And more users, probably also means more contributors since they’ll have experience hosting the instance and fixing issues they run into.

IMO, it’s short-term thinking to say “federation is of no value to us”.

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