He was trying to play Forky-Spoony
- 0 Posts
- 21 Comments
JonC@programming.devto Mildly Infuriating@lemmy.world•Travelling with dad and the normal looking hotel he booked turned out to be some sort of love hotelEnglish4·4 months agodeleted by creator
Seeing the Guatemalan cow of paradise is a big deal for cow spotters
JonC@programming.devto Programming@programming.dev•Don't DRY Your Code PrematurelyEnglish5·5 months agoAs already mentioned, the blue book by Evic Evans is a good reference, but it’s a ittle dry. Vaughn Vernon has a book, “Implementing Domain-Driven Design” that is a little easier to get into.
Personally, I found that I only really grokked it when I worked on a project that used event-sourcing a few years back. When you don’t have the crutch of just doing CRUD with a relational database, you’re forced to think about business workflows - and that’s really the key to properly understanding Domain-Driven Design.
JonC@programming.devto Programming@programming.dev•Don't DRY Your Code PrematurelyEnglish60·5 months agoI’ve always understood DRY to be about not duplicating concepts rather than not duplicating code.
In the example here, you have separate concepts that happen to use very similar code right now. It’s not repeating yourself as the concepts are not the same. The real key is understanding that, which to be fair, is mentioned in the article.
IMO, this is where techniques like Domain-Driven Design really shine as they put the business concepts at the forefront of things.
JonC@programming.devto [Dormant, move to !television@lemm.ee] Shows and TV@lemm.ee•What's a "red flag" in a TV show that tells you it's about to go downhill?English242·5 months agoFringe disagrees
Darrell was educated here
JonC@programming.devto Asklemmy@lemmy.ml•What's an obsolete or incredibly obscure word you think people should know?English42·8 months agohttps://en.wikipedia.org/wiki/Widdershins
Just because it sounds cool.
https://mitpress.mit.edu/9780262046305/introduction-to-algorithms/
This one is pretty hardcore. I bought the 2nd edition of it over 20 years ago when I started my career as a developer due to not doing a CS degree.
JonC@programming.devto Ask Lemmy@lemmy.world•To Americans: How far apart is everything in the US?English1231·8 months agoIt’s not necessarily how far things are, it’s that you need a car to get to places in a sensible way.
I’m a fellow Brit, but have stayed in suburban US enough to have experienced how different it is. You might have a supermarket a couple of miles away, but if you want to attempt to walk there, you’ll often be going well out of your way trying to find safe crossing points or even roads with paved sidewalks.
Train stations are mostly used for cargo in most US cities. If you don’t have a car, you’re pretty much screwed.
Some cities are different. NYC being the obvious one. You can get about there by public transport pretty easily in most places there. San Francisco is another city that is more doable without a car, but more difficult than NYC.
I stayed near Orlando not too long ago and there it’s just endless surburban housing with shops and malls dotted about mostly along the sides of main roads. You definitely need a car there.
JonC@programming.devto Programming@programming.dev•Avoiding if-else Hell: The Functional StyleEnglish4·8 months agoAlso take a look at the Specification Pattern for something similar.
That’s something I would only use if the logic becomes very complex, but it can help break things down nicely in those cases.
JonC@programming.devto Programming@programming.dev•Reactivity and Reactive Programming [Blog Post]English01·9 months agoWhy the assumption that reactivity is only a front-end thing?
I’ve used it plenty on the back-end when dealing with streams of data that need to trigger other processing steps.
JonC@programming.devto Star Trek Social Club@startrek.website•What's your favourite Star Trek theme?English14·9 months agoFirst Contact main theme > all
JonC@programming.devto No Stupid Questions@lemmy.world•Have you ever realized just how broken you are?English69·10 months agoSo I deleted the story before I posted it, and began to realize that even though I’m 40, and should be past all this, it still hurts, and I’m a deeply broken person.
The thing about trauma (and it likely is trauma) is that it often just doesn’t go away on its own and you need to do work on it. So, why should you be over it?
Should is a loaded word as it pretty much always comes from what you learned as a child. You should do that. You should be like this.
That “should” probably comes from your father when he told you how you should be as a child.
It sounds like you aren’t over it now, but that’s ok. It’s ok not to be over stuff that happened in childhood. But the important thing to understand is that you can get over it with work. Being aware of that is the first step on that road.
JonC@programming.devto Technology@lemmy.world•Microsoft points finger at the EU for not being able to lock down WindowsEnglish7·10 months agoApparently it’s because CrowdStrike installed their device driver as one that must start when Windows starts.
Explained here: https://youtu.be/wAzEJxOo1ts?feature=shared&t=675
I’ve linked to the specific time where he explains that issue, but tbh the whole video is worth watching.
JonC@programming.devto Technology@lemmy.world•Microsoft points finger at the EU for not being able to lock down WindowsEnglish1·10 months agodeleted by creator
JonC@programming.devto TenForward: Where Every Vulcan Knows Your Name@lemmy.world•The O'Brien WayEnglish5·1 year agoWhere’s Dan Streetmentioner when you need him?
This book digs deeper into that sort of stuff:
The Self Illusion: How the Social Brain Creates Identity https://a.co/d/fZhHVrG
Worth a read
Ship gets lighter as more fuel is destroyed. Ship gets heavier as it gets closer to light speed.
At 90% of light speed, the ship’s mass would be around 2.3x its rest mass.
I haven’t looked at your calculations in detail, but you seem to be missing that important point!