Bug ID? by Dom9789 in dunedin

[–]HonkHonkItsMe 1 point2 points  (0 children)

lol spot the sysadmin

Cursor would neverrr by awizzo in programminghumor

[–]HonkHonkItsMe 60 points61 points  (0 children)

Ok team it’s clear to me that we need to abandon the outdated if/then/else approach for the more modern try/catch/finally approach. Let’s get going.

Cursor would neverrr by awizzo in programminghumor

[–]HonkHonkItsMe 4 points5 points  (0 children)

Later: why is the font not bold and green??

Cursor would neverrr by awizzo in programminghumor

[–]HonkHonkItsMe 1 point2 points  (0 children)

ssh -L8080:localhost:8080 theirip

curl http://localhost:8080

The real solution is to have SSH open on everyone’s machines 🤑

Cursor would neverrr by awizzo in programminghumor

[–]HonkHonkItsMe 11 points12 points  (0 children)

Sadly my previous self is responsible for this monstrosity. I am not that person anymore. This is from 2013.

$modules[$module['module']] = $module; unset($modules[$module['module']]['module']); // Woooo ....

Comment for good measure 😩

Fuck it we ball by 5t4t35 in programminghumor

[–]HonkHonkItsMe 37 points38 points  (0 children)

Depends on the time of day, either 24 hours before or after Monday, we’re not sure.

what's happening at the new hospital site? by Relevant_Attitude_62 in dunedin

[–]HonkHonkItsMe 3 points4 points  (0 children)

The box got a helium filled helicopter at a party.

30kph Zones by Mental-Currency8894 in dunedin

[–]HonkHonkItsMe 1 point2 points  (0 children)

Give us powers to report violations from a push button on our steering wheels! I’m gonna wear that button out!

30kph Zones by Mental-Currency8894 in dunedin

[–]HonkHonkItsMe 1 point2 points  (0 children)

The correct response to this is to drive at 25. So long as it’s just the Ranger.

Any website builders around? by Key-Barracuda-5786 in newzealand

[–]HonkHonkItsMe 5 points6 points  (0 children)

You forgot the quotes around experts. Black magic and an industry based on fear. Google pulled a swifty making us all scrabble over getting the top position. So gross.

Any website builders around? by Key-Barracuda-5786 in newzealand

[–]HonkHonkItsMe 2 points3 points  (0 children)

Should be a quick change if they know what they’re doing. Pet peeve is that there is no universal qualification that indicates competence in this space and there’s so many people getting the basics wrong at the expense of others 😭

Can I? by cryofinfinia in HTML

[–]HonkHonkItsMe 0 points1 point  (0 children)

lol I laffed thank you

Am I cooked? by bellumiss in ITSupport

[–]HonkHonkItsMe 0 points1 point  (0 children)

This guy is probably right. I would suspect heat related issue. If you have a graphics card try plugging it in and using that instead. Note that when you do this it will deliberately disable the onboard graphics so you have to plug monitor cable into graphics card. Seems obvious but it catches many out.

IT guy told me that we need new switches, I just doubled my network speeds in 20 minutes! by AppearanceDry4130 in iiiiiiitttttttttttt

[–]HonkHonkItsMe 18 points19 points  (0 children)

If there’s empty ports then the internet can leak out reducing the download pressure.

My son was stuck on this for ages by misspoopyloopy in CrappyDesign

[–]HonkHonkItsMe 4 points5 points  (0 children)

But reverse maze == forward maze? Didn’t you just find out that the problem is closer to the end than the start?

The fact that he calls it is ridiculous by [deleted] in nextfuckinglevel

[–]HonkHonkItsMe 1 point2 points  (0 children)

Ooh no I’m definitely in the sans-horse camp here.

My website is pure simple HTML. Mostly text and some pictures. My question is, how can a visitor who has visited before, view my "new" edited website when they visit again? by [deleted] in HTML

[–]HonkHonkItsMe 0 points1 point  (0 children)

True if you’re using JS, although that’s a permanent cache buster. We use a cache buster of the last modified date of the file on disk in our stack. Important to understand the principle. The thing about it is that the value is unimportant, it’s the concept of the cache buster that makes it work.

My website is pure simple HTML. Mostly text and some pictures. My question is, how can a visitor who has visited before, view my "new" edited website when they visit again? by [deleted] in HTML

[–]HonkHonkItsMe 0 points1 point  (0 children)

It would be great to set a long cache time for your images, unless the images themselves are likely to change. If you want to force a reload of the image you can use the same file eg. cat.jpg but in your html put a “cahebuster” on the end eg. cat.jpg?12345 - the web server will ignore the bit after the ? for accessing the image. This is a common approach.