83r71n, to Cybersecurity

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.

https://flatt.tech/research/posts/batbadbut-you-cant-securely-execute-commands-on-windows/

https://blog.rust-lang.org/2024/04/09/cve-2024-24576.html

MoskitoHero, to ruby

Why not to raise NotImplementedError in #ruby #rubyonrails

Couldn't agree more. https://nithinbekal.com/posts/abstract-methods-notimplementederror-ruby/

tosbourn, to ruby
@tosbourn@masto.ai avatar

jemalloc is some job!

#Ruby #RubyOnRails

chakie, to ruby
@chakie@toot.community avatar

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.

#ruby #rubbish

aria, to ruby

Is there a good erb/eruby formatter out there?
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.

jgomo3, to Dash
@jgomo3@mastodon.social avatar

The #dash library of #Emacs Lisp, defines the placeholder variables we write when using its macros as "anaphoric".

So, we could say that the % of #Clojure and the _1 and the it of #Ruby are "anaphoric" variables... I think.

Even more, maybe the ubiquitous this and self of Object Oriented languages could be considered "anaphoric" variables.

AndriiKuznietsov75, to Java Ukrainian
@AndriiKuznietsov75@social.kyiv.dcomm.net.ua avatar

Як працюють компіляція та виконання коду👇
🔸Компілювані мови (#C, C++, #Go)
Вихідний код перетворюється компілятором на машинний. Машинний код виконується безпосередньо процесором.
🔸Байт-код (#Java, C#)
Вихідний код компілюється у байт-код, а потім JVM виконує програму. Іноді JIT-компілятор компілює вихідний код у машинний, щоб прискорити виконання.
🔸Інтерпретовані мови (#Python, #JS, #Ruby)
Тут для виконання програми не потрібен машинний код, натомість програму рядково виконають інтерпретатори.

video/mp4

mackuba, to ruby
@mackuba@martianbase.net avatar

It's Easter Sunday evening 🐣 So guess what I could be doing… 🫠 #ruby #atdev https://github.com/mackuba/minisky/releases/tag/0.4.0

jonippolito, to Cybersecurity
@jonippolito@digipres.club avatar

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 😬

https://it.slashdot.org/story/24/03/30/1744209/ai-hallucinated-a-dependency-so-a-cybersecurity-researcher-built-it-as-proof-of-concept-malware

ctietze, to ruby
@ctietze@mastodon.social avatar

piotrmurach/slideck: Present Markdown-powered slide decks in the terminal. https://github.com/piotrmurach/slideck

This #ruby #gem for #Markdown slides in the Terminal looks quite good, actually

image/png
image/png

esparta, to ruby
@esparta@ruby.social avatar

The executive director of @rubycentral, @adarsh which gives kudos to the people who contributors to rubygems.org

#ruby meetup #sfba

hjvt, to ruby

Welp, I've lost my Rust job in crypto, time to look for a new opportunity.
#Ruby #RustLang #getfedihired

openfest, to ruby

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.

👉 https://balkanruby.com/

vruz, to cscareerquestions
@vruz@mastodon.social avatar

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'm pretty sure it could be a lot less. The web is not as wonderful as some people think. We need to make it a lot better.
https://greenlab.di.uminho.pt/wp-content/uploads/2017/10/sleFinal.pdf

#comsci #compsci #Javascript #ruby #python #php #programming #webdev #web #www #w3c

vruz, to programming
@vruz@mastodon.social avatar

Greenest programming languages according to this paper.

"Energy Efficiency across Programming Languages: How does Energy, Time and Memory Relate?"

Website:
https://sites.google.com/view/energy-efficiency-languages

[PDF]
https://greenlab.di.uminho.pt/wp-content/uploads/2017/10/sleFinal.pdf

Energy Efficiency across Programming Languages How Do Energy, Time, and Memory Relate? Rui Pereira HASLab/INESC TEC Universidade do Minho, Portugal ruipereira@di.uminho.pt Marco Couto HASLab/INESC TEC Universidade do Minho, Portugal marco.l.couto@inesctec.pt Francisco Ribeiro, Rui Rua HASLab/INESC TEC Universidade do Minho, Portugal fribeiro@di.uminho.pt rrua@di.uminho.pt Jácome Cunha NOVA LINCS, DI, FCT Univ. Nova de Lisboa, Portugal jacome@fct.unl.pt João Paulo Fernandes Release/LISP, CISUC Universidade de Coimbra, Portugal jpf@dei.uc.pt João Saraiva HASLab/INESC TEC Universidade do Minho, Portugal saraiva@di.uminho.pt
Abstract This paper presents a study of the runtime, memory usage and energy consumption of twenty seven well-known soft- ware languages. We monitor the performance of such lan- guages using ten different programming problems, expressed in each of the languages. Our results show interesting find- ings, such as, slower/faster languages consuming less/more energy, and how memory usage influences energy consump- tion. We show how to use our results to provide software engineers support to decide which language to use when energy efficiency is a concern.
image/png

shaedrich, to programming
@shaedrich@mastodon.online avatar

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:

https://tutorial.ponylang.io/types/traits-and-interfaces

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.

#amProgramming #amCoding #computerScience

ayo, to random
@ayo@ayco.io avatar

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 :)

ayo,
@ayo@ayco.io avatar

Here’s a really useful tool to discover other developers in various tech circles:

👉 https://fedidevs.com

Thanks @anze3db for building it!

#python #javascript #rust #ruby #swift #c #golang #nix #kotlin #haskell #scala #ocaml #webdev #developers

JonGretar, to programming

This is my #GetFediHired post like all the cool kids are making.

Recently moved to Helsinki to my wife, and escaping the Icelandic winds. And looking for a job here.

Have a 20+ years #backend developer experience working with #elixirlang, #NodeJS and #Ruby.

Also have a natural science degree(Forest science) where I learned to love #rstats, #GIS and #Statistics programming.

I can promise great problem solving skills that come from experience, curiosity, ethics and an adult take on life.

rubycentral, to ruby

📣 Attention job seekers 📣

@meraki just dropped a bunch of new positions on our job board 👀 Have you checked it out yet? Find your next opportunity today 👉 https://buff.ly/3D4IuDI

fnordfish, to ruby

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.

Any input/advice/comments?

oz, to rubyonrails
@oz@mastodonsweden.se avatar

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

bridgetown, to ruby

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. 🤘

https://github.com/sponsors/jaredcwhite

monospace, to linux
@monospace@floss.social avatar

Starting my Tuesday DevOps/SRE live coding stream in a few minutes at 14:00 UTC. Join me for a chat about Linux, Ruby, DevOps, or anything you like!

https://www.twitch.tv/fullstacklive

#Linux #SysAdmin #SystemAdministration #LearnLinux #Ruby #DevOps #LiveStream #LiveCoding

hunleyd, to PostgreSQL
@hunleyd@fosstodon.org avatar
tante, to random
@tante@tldr.nettime.org avatar

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.

orsinium,
@orsinium@fosstodon.org avatar

@tante

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 and ): 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.

https://en.m.wikipedia.org/wiki/Barbara_Liskov

https://en.m.wikipedia.org/wiki/CLU_(programming_language)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • ngwrru68w68
  • everett
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • Durango
  • ethstaker
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • DreamBathrooms
  • Leos
  • osvaldo12
  • tacticalgear
  • cubers
  • cisconetworking
  • anitta
  • provamag3
  • modclub
  • mdbf
  • GTA5RPClips
  • tester
  • megavids
  • normalnudes
  • lostlight
  • All magazines