A critical vulnerability, named BatBadBut, was discovered in the Rust programming language, affecting not just Rust but also Erlang, Go, Python, Ruby, and potentially others. This vulnerability, with a severity score of 10/10, could allow attackers to execute arbitrary commands on Windows systems by exploiting how Rust handles batch files. The issue arises from Rust's standard library improperly escaping arguments when invoking batch files on Windows, leading to potential command injection. The vulnerability has been addressed with a fix in Rust version 1.77.2, which developers are urged to update to. Other programming languages and systems, including Node.js, PHP, and Java, are also affected and are working on patches.
Meh, I fucking hate messing with Ruby to try to get it to work for Fastlane. The various tools all make no sense. It's gem this and bundle that and it's all a mess. I wish Fastlane used Python which has good ecosystem management.
Is there a good erb/eruby formatter out there? #Ruby
I have tried erb-formatter (https://github.com/nebulab/erb-formatter) but it zero to nothing configurations and I don't like how many newlines it forces me to put in templates.
Як працюють компіляція та виконання коду👇
🔸Компілювані мови (#C, C++, #Go)
Вихідний код перетворюється компілятором на машинний. Машинний код виконується безпосередньо процесором.
🔸Байт-код (#Java, C#)
Вихідний код компілюється у байт-код, а потім JVM виконує програму. Іноді JIT-компілятор компілює вихідний код у машинний, щоб прискорити виконання.
🔸Інтерпретовані мови (#Python, #JS, #Ruby)
Тут для виконання програми не потрібен машинний код, натомість програму рядково виконають інтерпретатори.
A cybersecurity researcher finds that 20% of software packages recommended by GPT-4 are fake, so he builds one that 15,000 code bases already depend on, to prevent some hacker from writing a malware version.
Disaster averted in this case, but there aren't enough fingers to plug all the AI-generated holes 😬
The third edition of the #BalkanRuby conference will take place on the 26th and 27th of April. The program this year is focused on doing business with open source software #Ruby.
You might come across some familiar faces from the #OpenFest stage in the Speaker list.
Going back to the actual point that matters most, to me at least.
What's the total carbon footprint of the advertising and social media-based web? (Not just the highly optimised servers)
I've been #programming for 14 years now, have been using #PHP, #JavaScript, #ColdFusion, #Ruby, and whatnot, but holy cow, when reading the following chapter, I've literally been yelling "what the heck" at every second paragraph:
I mean, #PonyLang really tries to explain everything in depth, and I appreciate the effort, but while it works fine in earlier chapters, it confuses the heck out of me in this at length.
I kept my twtr account for a while because brands I occasionally reach out to were still exclusively there. It’s now no longer the case so I put the account down for real :)
SO… I have this #Ruby app with a pretty small deployment, less than 20 concurrent users. Runs on a single server with an in-memory DB.
Its main entry point is a dashboard that collects and bends the data in a way that would be inconvenient to store in a DB in the first place.
Currently, I use a file based cache to speed things up.
I’m wondering if I should replace that file cache with an DRb server that basically wraps Concurrent::Map and starts along with the app.
My old man trait is that I think SQL is easier to read and work with than arel, active record et al. Unless you're making libraries, just write the damn query. #rubyonrails#ruby#sql#PostgreSQL#php#mariadb
Hey folks, we're kicking off a new pledge drive to accelerate the development of Bridgetown, an "alt #Ruby" web framework which starts off in the #Jamstack and vanilla-first, #HTML-first, #WebComponents-friendly development, but provides the ability to scale up to dynamic fullstack applications & publications.
Version 2.0 is underway with modernization, performance, and of course new features all on the table!
Consider sponsoring today to ensure 2.0 absolutely rocks. 🤘
Ada Lovelace was cool, sure. But in the year 2024 maybe find a second woman to name your "women in tech" or "diversity in tech" thing after. Otherwise it looks as if you know exactly one woman.
My number one woman in tech is Barbara Liskov. She introduced lots of seemingly small things that are the basis of most of the modern programming languages (especially #Python and #Ruby): promises, abstract classes, Liskov substitution principle (yes, the name is a giveaway), call by sharing, iterators, parallel assignment, generics, etc. You may not know most of these words but if you write code, you use most of them daily.