I code in the Linux shell with tools that follow the Unix philosophy, "Do one thing, and do it well". One of these tools is `ripgrep`. Like the venerable `grep`, it filters lines from files that match a specific keyword or pattern. But it searches recursively by default, and can easily filter file types (e.g. `-trb` for Ruby code).
https://github.com/BurntSushi/ripgrep
#Linux #Shell #SystemAdministration #SysAdmin #Ruby #Coding #SoftwareEngineering
#Linux #shell #systemadministration #sysadmin #Ruby #coding #softwareEngineering
"Do not feel compelled to make design decisions prematurely. Resist, even if you fear your code would dismay the design gurus. [...] When the future cost of doing nothing is the same as the current cost, postpone the decision. Make the decision only when you must with the information you have at that time." (Sandi Metz, "Practical Object-Oriented Design")
#Ruby #programming #softwareEngineering
Test-Driven Development is a bit like daily exercise. We know it's good for us, but putting it in practice requires so much damn willpower. In his talk at RubyHACK 2018, David Brady outlines a helpful way to think about TDD by locating it within the quadrants of "Behaviour known/unknown" and "Implementation known/unknown". (Spoiler: It's quadrant 2.)
https://www.opsitive.com/development/test-driven/
#Ruby #Coding #SoftwareEngineering #TestDrivenDevelopment #TDD
#Ruby #coding #softwareEngineering #testdrivendevelopment #tdd
Another way to home in on what a class is actually doing is to attempt to describe it in one sentence. Remember that a class should do the smallest possible useful thing. That thing ought to be simple to describe. (Sandi Metz, "Practical Object-Oriented Design")
#Ruby #programming #softwareEngineering
Our latest published paper: "Revisiting the reproducibility of empirical software engineering studies based on data retrieved from development repositories" https://www.sciencedirect.com/science/article/pii/S0950584923001738#GS1 Reproducibility in MSR research #softwareEngineering
Unit-testing a web service in #Rust - by Julio Merino
https://jmmv.dev/2023/07/unit-testing-a-web-service.html
#UnitTest #WebService #Testing #SoftwareEngineering #RustLang
#Rust #unittest #webservice #testing #softwareEngineering #rustlang
I saw a software engineer today
No company swag hoodie.
No stickers on their laptop.
No mechanical keyboard.
He just sat there.
Typing away on our default IDE.
Like a psychopath.
#software #softwareEngineering #mechanicalKeyboard #ide
SoftwareDev.assert('no unit tests', INSANITY);
Passed: 1 Failed: 0
#SoftwareDevelopment #SoftwareEngineering #UnitTest #Testing #Quality #Insanity #TDD
#softwareDevelopment #softwareEngineering #unittest #testing #quality #insanity #tdd
11% of companies be like ¯\_(ツ)_/¯
🙈
#CI #CICD #UnitTest #Testing #Automation #Stackoverflow #StackoverflowSurvey #WhatCanGoWrong #SoftwareEngineering
#ci #cicd #unittest #testing #automation #stackoverflow #stackoverflowsurvey #whatcangowrong #softwareEngineering
The biggest unsolved mystery of software engineering remains the widespread use of #YAML.
Can we just agree to use #KDL instead please!?
#yaml #kdl #softwareEngineering #softwareDevelopment
Unit tests are NO boilerplate! They are a very important part of engineering correct and maintainable software!
Please get this right!
#ArtificialIntelligence #LLM #LLMs #MSBuild #SoftwareEngineering #SoftwareDevelopment #UnitTest #TDD
#ArtificialIntelligence #llm #LLMs #msbuild #softwareEngineering #softwareDevelopment #unittest #tdd
Me, being in awe and simultaneously overwhelmed by the sheer complexity of modern software development.😵 🥴
#softwareDevelopment #softwareEngineering
Boss: "What does this code do?"
Alice: "I've asked ChatGPT - it does X."
Bob: "No, that's wrong. I've asked it, too - the code does Y."
Boss: "Are you two kidding me!? 'Ok, ChatGPT, tell me what this code does.'"
#ChatGPT: "This code does Z."
Boss to Alice and Bob: "You two are FIRED!"
#AI #MiniStory #Storytelling #ArtificialIntelligence #LLM #SALAMI #SoftwareEngineering #SoftwareDevelopment
#chatgpt #AI #ministory #storytelling #ArtificialIntelligence #llm #salami #softwareEngineering #softwareDevelopment
Continuing from the question above 👆 I've taken it to the test:
I've used #FastChat, an Open Source #LLM, which claims to have 90% accuracy of #ChatGPT4 to create the fibonacci sequence in #Rust (it did it flawlessly) and then I've proompted (?):
"There is a bug in the code. Can you spot it?"
Well, what can I say!? It was just recursively bullsh***ing the heck out of it! 💩
FastChat:
https://chat.lmsys.org/
The future of #SoftwareEngineering :awesome:
#fastchat #llm #chatgpt4 #Rust #softwareEngineering #AI #ArtificialIntelligence #salami
Generating implementation code with AI is one thing...
But generating unit tests with #AI is on a different level. This should actually be illegal!
#ArtificialIntelligence #TDD #UnitTest #LLM #TestDrivenDevelopment #SoftwareEngineering
#AI #ArtificialIntelligence #tdd #unittest #llm #testdrivendevelopment #softwareEngineering
"#AI is going to make software engineers obsolete", is the most ridiculous thing I've heard in my career as a software engineer.
People who say stuff like this have absolutely no idea, what software engineering is about:
- Communication with people to specify requirements
- Considering _A LOT OF CONTEXT_
- 95% reading existing code, 5% writing new code
- Reuse existing code
- Find patterns and relations
- ...
#AI #ArtificialIntelligence #softwareEngineering
ICYMI ➡️ A few months ago, Rebecca joined our graphics team as a #SoftwareEngineering intern to work on #NVK, the open-source #Vulkan driver for #NVIDIA hardware in Mesa. Here's a look at the Vulkan API extensions she's implemented so far! https://col.la/nvkext #OpenSource
#softwareEngineering #NVK #vulkan #Nvidia #OpenSource
New blog post! A few months ago, Rebecca joined our graphics team as a #SoftwareEngineering intern to work on #NVK, the open-source #Vulkan driver for #NVIDIA hardware in Mesa. Here's a look at the Vulkan API extensions she's implemented so far! https://col.la/nvkext
#softwareEngineering #NVK #vulkan #Nvidia
You know that I'm a strong believer in #TDD and #UnitTest's.
Besides the common benefits (fearless refactoring etc.), here is one benefit you might not have thought about before:
When you need to debug a system, but to get to that state of debugability, you need to execute a process manually that takes up to 3 minutes.
With unit tests you are right at the point of debugability. There is no need to "prepare data manually".
Press Play and Debug! 🎉
#softwareEngineering #pressplayanddebug #unittest #tdd
Now that the #web3 hype is over, there seems to be a new hype emerging: #AI
@molly0xfff I think you won't have rest for the foreseeable future.
Coding Sucks Anyway — Matt Welsh on the End of #Programming:
https://thenewstack.io/coding-sucks-anyway-matt-welsh-on-the-end-of-programming/
Imagine the legacy crap we'd have to deal with that is produced by AI systems. Urgh, please help!
#softwareEngineering #ArtificialIntelligence #hype #programming #AI #Web3