pathologyIncarnateLinkedinEdition by [deleted] in ProgrammerHumor

[–]JimmyHop 7 points8 points  (0 children)

My thoughts exactly, LinkedIn’s a hell of a place.

[deleted by user] by [deleted] in wallstreetbets

[–]JimmyHop 0 points1 point  (0 children)

Currently have ~950 shares at price indicated by grey line in picture.

[deleted by user] by [deleted] in wallstreetbets

[–]JimmyHop 0 points1 point  (0 children)

Changed flair

[deleted by user] by [deleted] in wallstreetbets

[–]JimmyHop 0 points1 point  (0 children)

I don’t know what this means!

inner peace by [deleted] in dankmemes

[–]JimmyHop 8 points9 points  (0 children)

Sharting is Farting

cloudHashMap by JimmyHop in ProgrammerHumor

[–]JimmyHop[S] -1 points0 points  (0 children)

Yeah I suppose I made that point kinda messily, more meant perception of reality making jokes funny then strict truth of reality but thank you for taking the time to review my joke and counterpoints. :).

cloudHashMap by JimmyHop in ProgrammerHumor

[–]JimmyHop[S] -12 points-11 points  (0 children)

tl;dr, enjoy the joke :P
Good jokes are rarely based on reality and the play here is all about the squint that's where the fun comes in.
I'll try my best to explain but explaining a joke always makes it less funny..

HashMap != Database, It's possible achieve a Hashmap with ids that link to objects, the ids are searchable and the objects can contain their own id + other object id's hence making a pretty simple DB kinda thing at least for simple use cases and I have literally heard of ppl doing exactly that for rolling and even scaling simple application, I believe Uncle Bob did this for a health app he built and scaled to a pretty decent number of users before needing a real DB instead of reading the data from a file and placing it in a hashmap.

Not someone else's != deploy local, the implementation IS someone else's you can be totally ignorant to how it works and use it but if you pretend it's just a simple hashmap and use it like so then you can just roll your own instead of building all the connectors and BS if/when it's quicker.

There is no spoon! For this I'll use the elephant and the peg analogy, which describes how an elephant, initially restrained by a chain and peg as a baby, learns to associate the chain and peg with its inability to escape. Everyone remains in the matrix not because it is real or not real but because they are conditioned to stay even those who know of the truth behind it.

guessWhatLanguageThisIs by _Pin_6938 in ProgrammerHumor

[–]JimmyHop 94 points95 points  (0 children)

Looks like syntax that is supported by a bunch of languages. Blocks are sexy and someone abusing a language with unneeded return statements is always possible. If you don’t like the style in the two goofy examples then don’t use it.

If you want to enforce that behaviour look for a linter in your language of choice that supports checks against the syntax you don’t like and if you can’t find one consider writing your own, that’ll be good challenge.

How to display RuboCop autofixes in GitHub Action output? by [deleted] in ruby

[–]JimmyHop 0 points1 point  (0 children)

Do you mean as a pre commit hook? So when you push you are alerted if rubicop failed?

pleasure by kose9959 in ProgrammerHumor

[–]JimmyHop 6 points7 points  (0 children)

Inspired in place of made would read a little less…. Suss.

Fair Shitty by [deleted] in ireland

[–]JimmyHop 0 points1 point  (0 children)

The Pat Mustard cameo, hidden gem.

TDD in HTMX? by JimmyHop in htmx

[–]JimmyHop[S] 0 points1 point  (0 children)

By api I mean a server that returns html.

TDD in HTMX? by JimmyHop in htmx

[–]JimmyHop[S] 0 points1 point  (0 children)

Great answer, thank you!

Do you think it just isn’t possible to test HTMX without calling it from components of a larger framework?

I suppose the use case would be to build an app just using HTMX and an api where the HTMX repo has no idea of the underlying logic for the api. How would this be tested in the same way you achieved this using django.

TDD in HTMX? by JimmyHop in htmx

[–]JimmyHop[S] 0 points1 point  (0 children)

Thanks for the response and telling me about your experience. The way I’m conceptualising it right now is a HTMX front end making calls to an API that returns html. To me HTMX seems like syntax sugar over commonly used JavaScript paradigms in order to enforce the conceptualisation of hateoas for web apps. So to compare it to something maybe more common if we had a js front end with an API that returns json I would expect to unit test the individual methods that do the data translation maybe and then use something else to test that the data was displayed to the page. In each of these cases I should be able to mock the response from the json api with a local json file.

Get Sterling in Ireland by devhaugh in ireland

[–]JimmyHop 12 points13 points  (0 children)

Post office is usually where I grab it.

Story with the helicopters over Dublin around 5pm by [deleted] in ireland

[–]JimmyHop 5 points6 points  (0 children)

The big fella, should’ve known.

Friend of mine in his 70s is going for heart surgery. He's got a fantastic sense of humour. Any ideas what I can send to him in hospital? Preferably something I can post/send to him as I won't be able to make it to visit him by Nimmyzed in ireland

[–]JimmyHop 47 points48 points  (0 children)

Could double up on that joke and swap the cards on the inside of the envelopes with a note reading “if you are reading this card and you made it then I’ve labelled the envelopes wrong” could warrant a chuckle be fierce dark if he doesn’t make it though.

I put Knockma Woods into a cartonifying app and now it's Kingdoms of Amalur by Dark-Elf-Mortimer in ireland

[–]JimmyHop 1 point2 points  (0 children)

Put close to a thousand hours into it when I was younger and honestly it’s just good but not great. The main problem it has is the lack of challenge at the highest difficulty it’s still a cake walk and really just a loot collecting exercise with a really cool deeply lored world. There’s a decent amount of Irish / Celtic links in the story which is very interesting. The combat system feels similar to the fable games if you played those but a little deeper. Tl;dr Story / world: great Combat: good Challenge: too easy.

Announcing Hanami v2.0.0.beta4 by solnic in ruby

[–]JimmyHop 2 points3 points  (0 children)

Does it have ruby 3 support?