"TDD is actually easier than writing the tests afterwards, so why is it so hard to learn?"
I was chatting to somebody at MyConf last week and they came up with that statement. I'm kicking myself now for not asking them to elaborate. I have some ideas but I'm interested in what everyone else thinks.
In what ways is TDD easier than test after? And why is it hard to learn?
@emilybache
If I don't first invest in limiting the scope of the thing I want to achieve, I expend a lot of my energy exploring avenues that are interesting to traverse but don't necessarily lead to where I need to be. When the willingness to travel runs out, I try to make the best of where I end up. Starting with tests means I first look at the map, pinpoint my destination, check how I can verify I'm on the right path, and only take avenues that help me progress to my goal.
"As you use your PC, Recall takes snapshots of your screen. Snapshots are taken every five seconds while content on the screen is different from the previous snapshot. "
#surveillance#Microsoft#Linux
Microsoft states the snapshots will be stored locally. They don't say whether they will train models on them, stimulate users to back up the snapshots in One Drive, or analyze the data online besides making snapshots.
And as they state in https://blogs.microsoft.com/blog/2024/05/20/introducing-copilot-pcs/ their SLM's are trained locally, but the NPU is connected to LLM's in Azure Cloud. If we can trust data-hungry Microsoft, the separation serves to address our privacy concerns. I have doubts.
Today, we launched our new Mastodon instance. It will ensure a privacy-focused space to engage with and get the latest from our Commissioners, departments, and the official voices of the Commission.
We want to thank @Mastodon for stewarding us and helping us make this possible.
Fostering European digital players is vital to our strategy for a stronger #DigitalEU.
This is a unique opportunity to grow the community even more. Let's get there!
In your profile you mention this account being verified, but it's still missing a green verification. You can add a rel=me backlink to europa.eu to make that happen.
Too often, what people call technical debt is simply an encounter with the limits of functional anticipation. If you think a system will never need to do X given the foreseeable usecases and then one day it does need to do X, you don't have technical debt.
Technical debt arises when you then try to shoehorn the needed functionality in, instead of asking/making/taking the time and effort to redesign it.
In fact, I've come across more technical debt in systems that tried to anticipate more functionality than reasonably foreseen: overzealous abstraction and open-endedness in a technical implementation can be a nightmare to work with. It's healthier to foster a culture where developers can cooperatively make disciplined adjustments to their software.
@AndiMann
Tbh that BSL move by HashiCorp has been blown a little out of proportion. Unless you're making a direct competitor to their tools by using their sourcode, it doesn't affect you. Anyone that simply uses Terraform for infra automation can keep going.
Now of course if IBM goes and makes that usecase paid-only after all (which may even be the reason for the BSL move pre-acquisition), we'll be happy with the foresight of people making a timely fork.
Would be sweet if I can have a static #HTML / #CSS website that uses #HTMX for interaction with a backend written in Kotlin and compiled to #wasm running on an edge location using #wasi .
@quii Just stumbled on your post and found you on Mastodon. Excellent write-up!
I remember visiting frontend conferences where people were struggling to explain the value of progressive enhancement. Then one year, the frontend movement discovered AngularJS and from there every few months a new SPA thing emerged to solve the mess the previous incarnation left behind.
I am so glad #HTMX is catching on with full stack developers.
"If you only listen to people like you you'll end up in a bubble"
Yes, but have you considered that the people outside this bubble are yelling so loudly I can hear them anyhow, and trying to muffle their voices is the only way to stay sane?
@Longplay_Games Also, the group of people warning of the dangers of bubbles and echochambers seems to have a sizable intersection with the group of people who will gang up screeching and drown out any moderate points of view.
I'm pretty sure I can feed my "I agree so much with this, it'd be a shame if it were unfounded. I wonder what counter arguments I can find" doubts without needing access to that group of people.
THANK YOU EUROPEANS FOR EMBRACING THE FEDIVERSE 👍🏾
don't believe the hype about Twitter blowing up thanks to mainstream media journalism.
NOPE.
Twitter exploded in 2010 due to the #WorldCup#Olympics and #Eurovision. that year alone it broke signup records thanks to Brasil, Argentina & Venezuela.
natural events like the #Eclipse#Aurora show the power of distributed social media. with #Eurovision and the #Olympics this summer, the #fediverse is on its way to make techbro sites irrelevant.
@blogdiva When you write a post, you can select what language it's in. Many people post in more than 1 language and forget to set it appropriately. If I write in Dutch but set my language to English, everyone with English set as their profile language will not see a translation option - at least: depending on your Mastodon client.
@mcc
I remember reading @codinghorror 's blog https://blog.codinghorror.com/what-does-stack-overflow-want-to-be-when-it-grows-up/ about SO's future challenges and I really liked how he described its premise (he co-founded SO but left over a decade ago). That future is now here, and it's a sudden and far cry from the community of peers that we all respected: Programmers don't want to be associated with it anymore, and are finding they have no say over their own content and attribution.
Anyone have any web frontend recommendations? I've only ever used HTML/JS, but I'd like to use a framework to maybe make things simpler/quicker(?) I come from a Python background if that helps! #python#web#frontend#javascript#development
Before picking any framework, I think CSS is most important. After that, I'd go for htmx (and use your Python knowledge for the SSR) as I think that's where the web should go, and for Angular / React if you want to get paid right now.
@eleventy@Zearin@zachleat Combining SSR with a static site generator isn't the first combination I'd be looking for, but according to https://htmx.org/docs/#requests any server that can respond to an AJAX request and send HTML would suffice. HTMX 2 will also support websockets and SSE; not sure if 11ty does?