« first day (3591 days earlier)      last day (1343 days later) » 

2:26 AM
Talking about doing something 'fun', house is on fire ... not the one I am currently living in, but I am still responsible for fixing the problem. Not exactly fire also ... more like burnt switch, likely something is wrong with the electrical circuit.
 
 
5 hours later…
7:36 AM
@TelKitty what type of fault in the circuit would cause a switch to burn?
idk about there, but here a standard switch is rated at 15amps..from what ive heard the contatcs are yhe same as used in 20amp switches...so i doubt its overcurrent. probably just bad connection/corrosion..
fwiw, they now make breakers (for in the panel) that detect arcing (as well as ground fault) ...$50, cheap insurance.
 
7:59 AM
^^my soon-to-be shop, specifically the workbench area.
 
 
1 hour later…
9:38 AM
I researched "SOLID" design principles a bit this night so I can do an ELI5 explanation in case anyone questions my authority. And, at least for now, I get the impression SOLID is pretentious elite-talk. It sounds advanced and complicated. But it's just an ad-hoc list of guidelines that apply to object oriented programming.
"Open/Closed Principle" was conceived by a guy who thought classes would be distributed as binary objects, which triggered the idea of "classes should be open for extension, but closed for modification". BTW: extension means inheritance in this context.
Now, people explain "Open/Closed Principle" with an example like enums are bad, because extending them requires source code modification, and you need to update switches.
Liskov Substitution Principle sounds super intellectual. But Barbara Liskov herself was surprised when she first heard about "Liskov Substitution Principle". She had once made a remark that subclasses should be substitutable without requiring the user code to make changes.
She thought it was obvious.
Single Responsibility Principle is explained as "a class should do only one thing". Then it was refined to "a class should have only one reason to change". How confusing is that.
A better way to explain it would be: look at your member variables. Can you identify subgroups that are only used by a subset of the methods? Then that's probably an indication you can split that off into a separate component. (And this is not even a great way to explain it, yet infinitely better than "a class should have only one reason to change".)
"Interface segregation principle" solves a problem that I'm not even familiar with.
Dependency inversion principle is kinda OK.
Meanwhile, the really important concepts are not discussed: coupling and cohesion, local reasoning, composability, interface specification. Those are the building blocks of good software.
 
9:58 AM
Yeah local reasoning gets fucked with classes
Really inheritance is awful :-)
 
Yeah.
But small cohesive classes can be great for local reasoning.
 
like POD classes :-)
 
Or things like std::string_view.
 
thats just a pointer with more steps :-)
 
Yeah, it's a small component. But small well-designed components can be so great.
 
10:04 AM
That is a tautology
 
I don't think so.
I mean, that they can be great despite their smallness. Their greatness and smallness seemingly contradict.
Anyway. Tautology would be fine.
It's funny how often tautologies are used in argumentation.
Like "The right thing to do is the right thing to do" etc.
"No means no"
No shit.
 
@sehe i did share, sorry for late reply
 
10:26 AM
@KanishkTanwar oh I missed that. Do you have a link?
 
 
1 hour later…
11:27 AM
@sehe codeforces.com/problemset/problem/1307/A.<-----here
 
user1804599
Oi.
 
user7659542
12:20 PM
I hate those errors " error: storage class specified for parameter xyz"
 
user7659542
they are a pain to debug as I can see
 
1:23 PM
@ABuckau Overcurrent maybe. Wires near the switch were burnt too.
Shop ... it looks more like a workshop than a real shop.
 
1:54 PM
@TelKitty hmm, thats not supposed to be possible..the wiring is should be rated higher than yhe breaker :/ im still going with "bad connection"
mm, i meant work shop*
ie. you can have 10 outlets rated at 15amps each all attached to a singke 15amp breaker because the breaker is the weak link (safety). If the wires can handle less amps than the breaker, thats dangerous.
afaik. but im not a certified electrician.
what is the switch hooked to, and what else is on that circuit?
 
2:18 PM
hopefully you werent the one who worked on that switch last :p
 
user1804599
2:49 PM
I want to write another blog post.
 
3:06 PM
@rightfold where is it prubrished?
 
user1804599
 
6:58 PM
@StackedCrooked Hi! Are Coliru snippets Google indexed?
 
7:29 PM
@Columbo I think not.
The webpage is actually just an empty editor, once the page is loaded, the content is fetched using javascript.
Stuff like that probably doesn't get indexed.
I could be wrong though.
 
@StackedCrooked I found this counterexample google.com/…
 
Ah. Cool.
Did you hack Google?
:)
 
Very perversely, you write "is Coliru indexed" and that's the only thing I found that produces Coliru links
Reason I ask is, I might have posted something I didn't want someone else to access, wanted to check if I can DM you to have it removed? But if it isn't indexed I really doubt someone will guess the hash so then it doesn't matter
I tried rm'ing from the cmd but it's read only, obviously ;D
@StackedCrooked ^
 
@Columbo lol
Thanks for testing :)
 
Doin' my duty
 
7:40 PM
What's the id?
Gonna delete that message though.
 
shit. can you write it again xD
That'd be great, I'll just write up a few IDs. Rather not do it in here. I'll explain in the mail.
thx!
 
8:18 PM
sup
 
user1804599
8:30 PM
@johanlarsson what nutrients do you use for hydroponics?
 
11:34 PM
@Columbo Is the KGB on your case
Hi there
 

« first day (3591 days earlier)      last day (1343 days later) »