• 2 Posts
  • 127 Comments
Joined 1 year ago
cake
Cake day: July 13th, 2023

help-circle
  • I’ll die on this hill.

    If you want an easy language for beginners, Ruby is a much better alternative. It’s like a simpler Python, and aside from a crazy loop syntax teaches clean programming principles better than most languages.

    With that said, Rails IS a ghetto, and many of the kinds of companies that use Ruby as their main language are stuck in the past or are full of the biggest toolbags you’ll ever meet. DHH, in particular, built a reputation on being a programming contrarian, so much so that there’s a golden rule where if he says something, the opposite is probably the correct choice.



  • In my opinion, country-based immigration paired with needs-based works really well.

    Ultimately, many of the best parts of the culture of a place are because of what people brought with them years ago. Some of the best restaurants are because someone in India moved to the UK, and then moved to the US and brought the culture of Curry Mile or Brick Lane with them, or because a community of Greek railroad workers decided to set up bakeries using their known recipes that all the locals love.

    The same often goes for business. Look at the rise of Aldi and Lidl, and how cheap produce and great workers rights will suddenly make local supermarkets look in bewilderment at how markets they once dominated are being torn away from them.

    IMO, if you have skills to offer, you should be welcome. I’m currently in the process of moving to the US on a high-skilled visa, and it is mad how one country will require thousands in legal fees and 24+ month waits while a country next door will say “Shit, you can teach?! Come join us! If you want to stay permanently that’s fine!”



  • I’m really sorry to hear this.

    On your last point, this would largely depend on the country. I say this as someone that has worked with charities that cater to those that are less able, albeit usually with children or young adults that have moved with family. I know first-hand that it is possible - at least to the UK as I had worked on HCI for accessible online resources. Obviously, every case is unique, and it sounds like if you cannot travel this wouldn’t work for you. Most countries have specific rules for those with disabilities, and it would ultimately depend on if you’re alone or if you have family that can support you. It’s complex enough that you’d probably need to speak to a lawyer and not a random software engineer on Lemmy to see what your options are. Hell, if prison is a viable option for you, it may be worth seeing (free) legal advice for your options, or perhaps speaking to whoever your local representative is to see if they can support someone struggling this much.

    It sucks to say, but the reason I mentioned an amount is because people set up GoFundMe for things that are less severe than your situation. If you are at a point where you’re seriously considering prison as a way to survive, I’m sure the fediverse could rally to help in some way, even if it’s just enough to ensure you can afford some more food for the next few months.




  • They’re absolutely not. Where most people on Lemmy are wrong is in saying that most LLM’s just parrot back trained text. The reality is that a LLM action plan will likely contain expert API’s to provide valuable context. All a LLM is nowadays is an orchestrator platform, where it will pass ambiguities to an expert system that knows how to answer or give clarification.

    We’re decades away from “AGI”, if at all. LLM’s aren’t even new, it’s just that big tech has decided that the price of hallucinations and burning several rainforests a month’s to power the fuckers is worth it.


  • Sadly I have to agree. While the nice people on Lemmy are much nicer, there are some really extreme views here that are heavily detached from reality.

    I’ve probably had more heavy downvotes or arguments on Lemmy in 9 months than I had on Reddit in over 15 years. The highlight recently was me discussing how expert systems are used in LLM’s, given that I’m a software engineer that works in AI at a big tech company for a living. Nope, I’m wrong, LLM’s aren’t real AI, downvotes… Pair this with me questioning customer data access rules in big tech, which resulted in someone arguing my view on something I literally helped build and telling me to “open source it to prove it”.


  • Working in Ruby did 10x more to help me write clean code than reading Clean Code ever did.

    Many of the lessons drilled into me with Ruby (keep a consistent style, tests are cheap, keep your methods relatively small where possible, reduce nesting where possible) carry over nicely into other languages without needing to go through any OO bullshit.

    IMO, the best lesson around Clean Code is this: you’re not clever, write obvious code that works with as few tricks as possible.



  • Out of interest, do you think that this would be a natural occurrence in the industry if a company were to say “right, no more managers, you self-manage and build this ting, and if it doesn’t work we go bust”, would software engineers look to build the best possible thing to their knowledge?

    It’s something I occasionally think about, because various companies like Valve and Fog Creek a decade or so ago did try similar stuff - and they had some great success with some absolute duds.


  • I’ve honestly never understood why someone at Google or Mozilla hasn’t decided to write a JavaScript Standard Library.

    I’m not opposed to NPM, because dumb shit like this happens everywhere. If such a package is used millions of times a day, perhaps it would make sense to standardise it and have it as part of the fucking browser or node runtime…


  • While I agree with the body of the post, the title is just utter bullshit in this context.

    With that being said, GitHub is a prime example of Rails in action, warts and all. To many that use Rails it probably is erring towards legacy given some of the technical decisions made regarding frontend within Rails. Rails is one of those rare stacks where it isn’t uncommon to see the likes of jQuery powering parts of UI, and parts of the Rails stack trying to make quasi-SPA’s. Personal thoughts aside as a former Rails developer, it’s long been said that GitHub and Rails have probably been too heavily intertwined.

    I can understand why they’re moving to React, but the gripe seems mostly with server-side rendering - which you can do within Rails. This just feels more like a feedback piece for a specific area of functionality over saying that GitHub is legacy.


  • The sad thing is that the last few years was the PERFECT time for open source to see a youth resurgence.

    Almost two years ago we saw widespread layoffs across the tech industry, and tens of thousands of young people found themselves without work for long periods of time. Many of them would have killed for an opportunity to spend that time “working” for major open source projects with a small stipend for services provided. Young people can say “I was laid off at Viacom, but worked for the Linux Foundation for 6 months before finding my next role at …”

    Hell, you want some hungry talent that would love to work on open source? Target those that are laid off or PIP’d while on visas, and put some legal resources behind supporting their stay in the country while they work on open source, until they find their feet again. Most of them will either go back home or will end up working at predatory consultancy firms that hire L1 or H1 workers that need to stay for their families sake, so take that conveyor belt of talent and put them to work on something useful.




  • The problem the Republican party seems to have right now is that it’s caught in a bizarre cult of personality, where the only viable candidate is Donald Trump. Eight years have been dedicated to a man that likely won’t be around for another eight due to his age and lifestyle. Donald Trump can’t drop out, because to many he IS the Republican Party.

    Put succinctly, if Trump were to drop out, could you realistically see him backing another candidate, without making it about himself?

    In some ways it’s petrifying that Trump could win. In another, it’s hilarious to think that IF Trump were to lose, how would the Republicans recover in four years? Trump will never not make it about himself, and I bet he’ll put himself on the ballot for as long as he can, further eroding the right.