#BadCode

N-gated Hacker Newsngate
2025-05-20

📣 Presenting: Another JavaScript-to-EXE nobody asked for! 🎉 Now with the revolutionary ability to "skip to content" and "toggle navigation." 🌟 Because clearly, what the world needed was yet another way to turn bad into bad executables. 🚀
github.com/astracompiler/cli

2025-03-04

J'aime Ansible
Je n'aime pas quand les gens font n'importe quoi avec
On a donc un playbook qui lance littéralement 'oslevel' sur un AIX *alors* qu'Ansible collecte déjà cette information. Mais pire un appel de command "find /" sur TOUTES les bécanes donc tous les NFS sont scannés autant de fois qu'il y a de serveurs... sachant que les home des users sont en NFS
Le NAS n'aime pas du tout 👿
#ansible #badcode

kyomawolfkyomawolf
2024-11-08

what does `action == 0` do?

premium code: if (action == 1) {break;} else if (action == 2) {continue;}
Manuel Ubertiunanimale@mas.to
2024-11-04

To help my partner with knitting and crocheting, a while ago I built this small tool.

manueluberti.eu/stitchcounter.

It clearly shows how bad I am at JavaScript and HTML, but hey, I am getting nice socks and gloves thanks to it, so all good if you ask me.

#javascript #badcode

Slim Bill (He/Him)wjmalik@noc.social
2024-10-25

Product Security Bad Practices
A Bit of Security for October 25, 2024
The CISA and FBI jointly released a list of Ten Bad Ideas to avoid when you write code. Listen to this - youtube.com/watch?v=D33p6J3fne
Let me know what you think in the comments below.
#cybersecuritytips #safecode #CIE #securebydemand #securebydesign #badcode #BitofSec

Keith Scoderigger
2024-09-25

I am so done with HackerRank tests. Do you remember that one thing you did a while ago that you had to fix once and then modify only slightly going forward? Yeah, make that again, now in under two hours. I'm so done with TrivialPursuit: the coding edition.

2024-05-26

The moment you realize sed might not be the best tool for this job.

#linux #sed #regex #bash #badcode

A 652-character-long sed command being edited in Vim. 414 of the characters are backslashes. (For those who are morbidly curious, I was trying to automate changing my Bash shell prompt by editing ~/.bashrc in place. It did not... go well.)
2024-04-19

I have a new theory about Boots’s car crash of a website.

I’ve become somewhat obsessed with the boots.com website and its endlessly hilarious bad front end. My theory in my last post was a bad or underskilled manager. A bully or an idiot or both.

I still think there is some bad management shite going down at boots.com but I have started to wonder if the fault might not be further upon the chain […]

#badCode #bigCompanyFails #Boots #codeSmell #errors #HCLTechnologies #IHaveNotes #IBM #managers #muggles #WebSphereCommerce #wizards #CodingAndDevelopment

John Gordon 📷Bluedonkey
2024-04-02

This is the kind of nonsense that GStreamer has all over it. Tell me how that pointer to a structure (and, yes, it is a structure, with several members) can be described as a stream number.

Not only that, there isn't a stream number in the structure, and it doesn't make sense that this would be called on a per-stream basis anyway.

Documentation for a callback method (aka signal) that has a poorly named, and inaccurately described parameter.
Emil Rasmus Merzinrasmusmerzin
2023-12-25

Who wrote this?!

Calico Jessedeinol@dice.camp
2023-11-20
2023-07-24

Rollback auf v1.41.3 durchgeführt, sodass es erstmal wieder läuft. Analyse geht weiter. 🧐

Wobei der Fehler schon gefunden ist. Nur die Lösung noch nicht. #BadCode ^kr

Victoria Stuart 🇨🇦 🏳️‍⚧️persagen
2023-06-24

A large crash spike affecting Firefox users on Linux (fosstodon.org)
fosstodon.org/@gabrielesvelto/

A colleague analyzed Firefox' behavior at the point of crash and realized that it happened during stack probing.
The JIT touched the area that would hold the variables for the next JavaScript call and somehow hit an overflow.

Discussion: news.ycombinator.com/item?id=3

*Pretty sure this affected me (Arch Linux): large memory use / messy! ...

James M. Woodwardjmw@infosec.exchange
2023-04-03

Okay. How about this one.

I opened a ticket with a vendor. A stable VM running only their software had begun leaking memory like a sieve.

Reboot it and in 20 hours it will consume 60GB of RAM.

Their fix? They re-issued our license file. No program changes, no updates, no fixes. Just an XML and reboot.

Sure enough, no more memory leak.

🤔

#sysadmin #voodoo #badcode

2023-02-15

The last thing you want to see logging in to a major #telco

Yikes. #infosec #badcode #timetofire

2023-01-18
Grouchig. Der Grummler.grouchig
2022-12-27

Wenn ich schlechte Laune habe schreibe ich gerne sowas wie:

(x < 0) not ifFalse: [ …

Sollen die Kollegen doch auch schlechte Laune bekommen.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst