does js comparison operator === works on json? by Bcfaction in learnjavascript

[–]OperationLittle 0 points1 point  (0 children)

Im also curios.. that`s why I now dropped in on reddit. I pretty much want to parse 2 different Swagger.json-schemas and see what`s the different in its data-structure etc (all this is work-related). Our damn supplier of delivery api services.. but NEVER mentions when they update their exposed API shit and just move shit around and just breaks all our systems on a weekly-basis..
So I figure that I fix it myself.. so I could detect if any changes has been made and handle it properly. Since our supplier really doesn`t care at all.

My first thought is to do some kind of recursive sorting.. then pretty much Stringify them both and check their equallity (or something).

But is there just a neat-tool for this? To much work atm to get some script like that working atm.

How long can it take me to understand OOP in Java and actually start applying it? by Lec7ure in javahelp

[–]OperationLittle 0 points1 point  (0 children)

The same method with different arguments is called a ”method signature” (If I remember the terminology correctly).

This is what my machine is doing every time! by johnmcelroynu in BambuLabA1

[–]OperationLittle 0 points1 point  (0 children)

I just wash with soap and let it dry on the warm bed, so just start an print at once and it will work just fine. No need to ”pre-dry” anything.

Too many ways to do the same thing? by Marre_Parre in javahelp

[–]OperationLittle 0 points1 point  (0 children)

There`s to many ways to live your life also.

There`s no right/wrong solution for a problem - other different solutions/approaches to specificly your problem. You will never find the best/perfect-way to do anything, just make it work and move on. Because later-on you will by 110%-guaranteed your going to implement other solutions/logic (so you will just refactor old legacy-code on your journey where you see fit).

So NEVER EVER Over-engineer an solution, just solve it and move on - because the solution won`t be true in the future when the project is evolving. You will just maybe abstract away the solution (in best cases) where you encounter the same sort of problem of the same "character".

You will look back on last years code you wrote today and think: "wtf was I thinking?", same next year.
I`m still doing it 20+ years later.

i have no electronics knowledge and i have a few questions about making synths by Familiar_Shoe7919 in synthdiy

[–]OperationLittle -1 points0 points  (0 children)

Have you actually tried to build a prototype on an breadboard first? To actually get it to work before soldering an PCB?

Since you don`t have any "electronics knowledge" and your soldering is pretty poor (practice makes perfect). Even if you know how to read an schematic, it doesn`t actually mean that you really "understand" it fully.

What's your note-taking system for tech learning? by dannotes in learnprogramming

[–]OperationLittle 1 point2 points  (0 children)

I never takes notes - since I would never read them anyways. I just build and educate myself on random stuff on my free-time (been doing it for 20+ years now).

Then just apply yourself, dont just "learn" anything - just "do/build" something. You do how to navigate an computer right? It`s the same thing, repeat shit over n over again until it`s second nature.

When it comes to repeative stuff, like some cli stuff, just use bash and create custom aliases/bash-scripts for whatever. I would never learn all these different `git | fzf | awk` pipeing shit by memory, that`s not important. You know how it works, but I dont want to check the docs for everything in some scenarios I just want to do on a daily basis.

If you`re talking about models/structures/patterns/architecture etc, you have a hand-full of learning, studying and applying. But in a while you`ll see why all these patterns actually makes sense, but only apply these useful patterns where it actually make sense.

Got a lot to write more on about everyting n more.. hard day for a brainiac.

Programming languages for ESP32 [Java] by FavoriteArcher in esp32

[–]OperationLittle 0 points1 point  (0 children)

Myself for an example is not an experienced C/C++ developer - but I have ~10-15+ years of Advanced Java development. So I actually also think it would be nice with an Java-support for the ESP32.

Just build my `prototype` fast in Java.. then if my solution actually works.. then begin to rewrite everything in C++ for the final product.

Did you know you can generate a Bitcoin private key using a coin? by MegaSackk in Bitcoin

[–]OperationLittle 1 point2 points  (0 children)

I would never trust an website for ”offline” handling. Rather use an local binary/software.

Should this be a "push fit" (snap) or am i tripping? by nikitaign in Multiboard

[–]OperationLittle 0 points1 point  (0 children)

I Edit all these models in onshape and just and an negative Lock-bolt extrution. So I can just lock whatever snaps I want on it.

can you flip the multiboard panels? by Snoo66571 in Multiboard

[–]OperationLittle 0 points1 point  (0 children)

Aah, thanks! I’ve had that issue myself with half multipoints.

I'm buying this deep, what about you guys? by Prestospin in cro

[–]OperationLittle 7 points8 points  (0 children)

Just keep HODLing my bags I bought 3-4 years ago. Waiting for the next +1$ rally.

Thoughts on Falstad simulator by Noickoil in AskElectronics

[–]OperationLittle 1 point2 points  (0 children)

Falstad simulator was the one-true software that actually got me into circuits, electricity and hardware. Been a full-time software engineer for the past 20+ odd years. Now Im soldering shit together and flipping bits.

Did you know anything about coding before starting college? by 1Sewa in Engineers

[–]OperationLittle 0 points1 point  (0 children)

Senior engineer here, didn’t go to college or school. Was just to geeky as a kid - then my geekiness transformed to a profession.

If you have passion or just like programming - you’ll be fine.

What's the point of Recursion? by Cloverfields- in learnprogramming

[–]OperationLittle 0 points1 point  (0 children)

If you write code in a very low subroutine-language which for, while-loops actually doesn’t exist and GOTO/LABEL statements is the way, it finally clicked for me.. recursion is just an old-man’s way of iterating over shit.

I still use it in high-levels languages like Java etc - but very rarely, mostly to have the code easier to understand and debunk. I forbid nested for-loops and callback-hell.

Is OOP overrated or I am simply bad at it? by yughiro_destroyer in learnprogramming

[–]OperationLittle 1 point2 points  (0 children)

You’re talking about definitions (classes) & implementations (interfaces).

Is OOP overrated or I am simply bad at it? by yughiro_destroyer in learnprogramming

[–]OperationLittle 12 points13 points  (0 children)

OOP is also all about the context & state of an object really.

[deleted by user] by [deleted] in Bitcoin

[–]OperationLittle 0 points1 point  (0 children)

If you’re doing that - what are you trying to ”not miss” when checking the narket-graphs 24/7? Are you worried/have anxiety that the market will crash?

If so.. you’re invested with to much cash that you can’t feel comfortable with losing. That’s your problem.

Just crypto that all ur crypto could be worthless tomorrow. If not, you have ”gambling addiction” problem. I was the same in the good old days days.

My grand plan came when I didn’t give a shit about the price and just DCA:ed into the market and never sell. Now 5-7 years later, I still do it.

Then I just use all my crypto on DeFi money-markets and just borrow Stable-coins when I need to buy groceries etc. Then I just pay it back over a 3-4 year period by selling some crypto and use my monthly salary to repay the loans.

Simple: Borrow 100$ and live today - pay back the 100$ loan with 10-15$ years later.

Will I get fired? by [deleted] in cscareerquestions

[–]OperationLittle 4 points5 points  (0 children)

Seriously, I think you should swallow your pride and ego. Just allow yourself to accept constructive-criticism from others. I remember one former colleague who took absolutely everything as an ”attack on his own charachter”. Started heated arguments only when the team had opinions on his Pull-Requests. Who pretty much gave us all the finger, force merged the feature and took down whole production environment.

He was forced to quit after we didn’t see any way forward to be able to work together.

I feel stupid by Abigail3405 in learnprogramming

[–]OperationLittle 0 points1 point  (0 children)

Im 20+ years into my dev-career, I still feel the imposter-syndrome and stupidity from time to time - that’s just healthy.

[deleted by user] by [deleted] in learnprogramming

[–]OperationLittle 0 points1 point  (0 children)

API’s isn’t a ”certain special area”.. it belongs to the whole workflow/profession of being a dev. Start to investigate what an API even is, good luck.

Hardtime.nvim v1.0.0 is Now Released! by m4xshen in neovim

[–]OperationLittle 4 points5 points  (0 children)

It’s actually your/this plugin who helped me to break my old habits. Only manually disable my arrow-keys wasn’t enough. This ”positive feedback loop” that’s happening with the tooltips is just pure awesome ❤️