• 0 Posts
  • 29 Comments
Joined 1Y ago
cake
Cake day: Jun 20, 2023

help-circle
rss



Sadly you can’t build a singleton. AbstractExtensibleMarkupLanguageHypertextTransformerProtocolRequestFactoryBuilder$Companion?



Wait… “Push & Commit”? Not “Commit & Push”? Where do I join the Eclipse hate club?


Array(3) doesn’t create [undefined, undefined, undefined, ]; it creates [/* hole */, /* hole */, /* hole */, ]. The holes don’t set any property on the array whatsoever, so they are skipped when iterating. How this makes sense, I can’t tell you.



Raises a runtime error. (Also, overloads don’t exist.)



That’s when you add #![deny(bad_code)], making sure that nobody notices.


Git’s still master by default; github uses main for new repositories.



Meanwhile Haskell with double the amount of classes



git push origin refs/stash@{$n}:stash/$USER/$n iirc


git add .; git commit -nm fire --no-gpgsign; git push -n origin fire/${USER}


Might be client-dependent; I’ve regularly ran commands with spaces (e.g. ssh a@a.local ssh b@b.local) without a problem.




Strength is cutting the cutting board in half while you’re cutting up the tomatoes.


also, am I the only one who keeps accidentally clicking on Lemmy’s “delete comment” button when meaning to edit a comment?

You’re not, but clicking it again undeletes it.


It takes my laptop about 10 seconds to force power off, but usually 5 to hibernate.


:up|cq to save a write cycle and signal an error to whatever opened Vim.


Unless pressing the power button triggers hibernation.


:wq will write even if you didn’t change anything; :x won’t. (similar to :w vs :up)



If you don’t have your config in .txt files with incredibly confusing implicit syntax, you’re doing it wrong.


Wouldn’t man 3 printf do the same thing without the quotes?