There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmerhumor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

barrage4u , in Ah, when we lose focus for a second and then we don't even known what our code was supposed to do

This is why I write down the questions I’m trying to answer in a text doc, e.g:

Where is this network call comming from? …/some-api-call.js Why do you think it’s causing a 403?

  • I am authenticating correctly
  • the object seems to exist in s3
  • the bucket name is wrong

Etc. So if I lose my thought (all the time), I know exactly what and why I was doing it. Also stops you from re-investigating things you forget

madeindjs ,

It’s a very valid advice.

I also try to do it for complicated bug and it helps me to keep a track of what I tried to do and my hypothesis.

oddityoverseer ,

I often take notes in the form of “TODO” comments, as I work through a problem. Then I have my editor set up to highlight them, and my git asks me if I’m sure I want to commit them. Works pretty well with keeping my thought process straight

SeriousBug ,

It’s also an amazing way of duck-debugging. By the time you write down what the problem is, you’ll figure out where’s the issue or at least what you should try next.

“X is giving me an error, I checked X’s logs. X communicates with Y… Oh, I need to check Y next!”

And if you can’t figure it out, you have the problem and everything you tried documented so you can ask for help and get answers effectively.

abclop99 , in Tabs vs Spaces

Tabs for indentation, spaces for alignment.

Paradoxvoid , in Really is that way …
@Paradoxvoid@aussie.zone avatar

Also trying to understand the code you wrote 6 months ago.

z2k_ , in I hate API like this
@z2k_@lemmy.nz avatar

Wait til you hear about graphql…

squirmy_wormy ,

What don’t you like about graphql error handling? Whenever I’ve made a graphql api, I use the default errors as unhandled/system errors and payloads return handled error types.

It’s a bit more boilerplate to wire up, but I find it smooth to build and use

varzaman ,

Yup I’m with you. Once the boilerplate is in place, smooth sailing from there. What OP is showing truly is the worst though lol.

z2k_ ,
@z2k_@lemmy.nz avatar

Just making a point that it always returns a 200 even when it errors.

squirmy_wormy ,

Fair point, that it does

pinknoise , in My favourite OSes ordered by my preferences
@pinknoise@lemmy.ml avatar

Intel Management Engine

Isn’t that just MINIX?

carbon_dated ,

I think it is slightly modified, but yeah I think it is basically Minix.

KSPAtlas ,
@KSPAtlas@lemmy.ml avatar

So is Minix one of the most popular OSes in the world?

niels , in Turing-completeness

youtu.be/Kk2MH9O4pXYHow about Turing complete Conway’s Game of Life

AgreeableLandscape OP , in AI might take over the world, but probably not funeral services.
@AgreeableLandscape@lemmy.ml avatar

Update: apparently it’s not actually written by a bot: www.reddit.com/r/tumblr/comments/…/hdouekc?utm_me…

uthredii ,

I wish it was.

fugepe , in thought you stood a chance?

Having participated in CTF competitions this is very accurate.

TheAnonymouseJoker , in My favourite OSes ordered by my preferences
@TheAnonymouseJoker@lemmy.ml avatar

If you do not love TempleOS, you are not a true lover of OSes.

knezi OP ,

I can’t. I do not deserve to use TempleOS.

snor10 , in teach'em

Goes well with his classic childrens book. …ssl-images-amazon.com/…/51SoJzZvfLL._SX258_BO1,2…

SirSoySauce , in Turing-completeness
@SirSoySauce@vlemmy.net avatar

What about Turing-complete MS PowerPoint?

www.youtube.com/watch?v=uNjxe8ShM-8

V4uban ,

Impressive

ptrknvk ,

It is on the image.

Atiran , in thought you stood a chance?

I have worked with most of these people at one point or another. I used to sit next to an old architect like walters. He had so many patents the company only recognize him on every 10th one.

deaf_fish , in why why why

I feel like the cat’s coordinate system needs to be rotated 90° to the right.

axexrx ,

Otherwise its still hovering

roi , in All modern digital infrastructure

CoreJS

pizzaiolo , in Turing-completeness

Turing-complete CSS

DO IT

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines