@Bulb said in TIL (about the Dark Arts of HTML):
I did a couple of times. It ain't hard.
@Bulb said in TIL (about the Dark Arts of HTML):
I did a couple of times. It ain't hard.
@Gurth That's the other way round, countries that incorporate flags into their weapons.
HTH, HAND
@hungrier said in responsivenes with vh and vw:
Better Motherfucking Website has the right ideas about this stuff:
Couldn't say I agree. It's not too bad but far from great.
For reference, this is how it looks for me:
@hungrier said in responsivenes with vh and vw:
body text 60-80 characters wide
I find that too narrow, makes for too much going back and forth when I have all that space available on the sides. Might be ok for a phone but that's because phone screens just generally suck for reading. Around maybe 100 characters or so would be better.
@hungrier said in responsivenes with vh and vw:
bigger line spacing
Too big, paragraphs lose visual coherence and the font gets lost in a sea of white. I'd rather have the font size even bigger but the line spacing reduced.
@BernieTheBernie said in WTF Bites:
<table border="1">
does the trick.
Does it?
Has it ever?
Now I'm in no way an expert on this stuff, and I wasn't familiar with the border
attribute; but as I gather from MSN it's 1) deprecated and 2) equivalent to setting the css border property, which, if memory serves, just draws an outline around the entire table, no grid lines.
Whenever I wanted a table to look like, you know, a table, I needed at minimum something like the following css:
table { border-collapse: collapse }
td, th { border: 1px solid black }
@remi said in The Official Good Ideas Thread™:
box itself is (usually) completely useless
A good game box has some features that can be difficult to get with improvised boxes:
You can possibly get these features by packing everything in zip-lock bags or something, but that's usually way less convenient to use.
Of course, not all game boxes are good.
FIled under: Beware the chaotic evil game box!
@accalia said in WTF is happening with Windows 11? And nothing else:
making it there problem
Ain't it great when a here problem becomes a there problem!
@Arantor Sir, this is the "Things that remind you of WDTWTF [sic] members" thread.
@Bulb said in WTF is happening with Windows 11? And nothing else:
Because muh thinner laptops.
USB C connectors should be thin enough even for the thinnest of laptops. I suspect it's more a question of per-unit cost and increased build complexity. Everything physical is expensive!
@Bulb said in WTF is happening with Windows 11? And nothing else:
I suppose everybody ass-u-me-s you will be installing it with
the docking station and or
Remember, cables are sooo 20th century.
@boomzilla I'm sure there's a story behind how this warning came to be a thing.
And I'm sure I don't want to hear that story.
@Zerosquare I'm in this post and... what was I saying again?
@izzion For these, you had the VCR.
@Zecc said in Error'd Bites:
country was Puerto Rico
Checks out, I'm sure the country of Puerto Rico produces a lot of Undefined.
@dkf said in The abhorrent 🔥 rites of C:
a great many application developers (especially game devs) are doing it wrong.
@boomzilla Now I've seen Marilyn Monroe with granny hair and a mustache. I'd much rather not have seen that.
@Zecc Ah. That seems... far fetched.
I guess if you pronounce "blanc" like English "blank" it kinda sorta works, my brain's just too French-infested to get there.
@remi said in (are (arguments for (using lisp)) (still valid?)):
Then again, it seems to me that the software development community is much more into blindly-following and cargo-culting than other communities
I'm doubtful about that part (but no more surprised about the abuse). Blindly following the "common wisdom" and turning it into dogma is a very common behavior with humans generally and in no way specific to software development. Most people just don't like to think and prefer that others do it for them.
@dkf said in (are (arguments for (using lisp)) (still valid?)):
My first reaction on encountering design patterns was mainly "hmm, I've been doing that for a while; I didn't know this sort of thing had a proper name".
As far as I remember, the GoF book quite clearly says "here's some things we've seen cropping up in the wild many times, so let's give them some names. They seem to work well in this and that case, have the following properties, and this way to implement them seems to generally work well". In other words, it was quite clearly intended to be descriptive rather than prescriptive.
Of course all the religious zealots then grabbed a hold of that and ran with it, and started praying to the Holy Book and burning the heretics, just like these things usually go.
if it's a clever shorthand I should add to my repertroire.
NO!
...
Wait, there's very little chance that I'll ever have to work on your code, so...
Yes, you definitely should, and please keep us informed on how it works out!
@Applied-Mediocrity said in Things that remind you of WDTWTF members:
Gitbub to start faster
The next iteration will include FastHub, which can only do GitHub and PortHub.
@topspin said in Glassdoor to un-anonymise accounts (at least internally) if they can...:
malice is, with very rare exceptions, never the motivator.
This is exactly what Hanlon's Razor means. Thus it doesn't apply here. As I said.
E: For what it's worth, Wikipedia seems to broadly agree with this interpretation (see in particular the "Other variations of the idea").
@topspin Disagree. Specifically, this is why Hanlon's Razor cannot be applied to this situation.
@topspin said in Glassdoor to un-anonymise accounts (at least internally) if they can...:
Never attribute to stupidity that which is adequately explained by
malicegetting more .
Malice would imply a desire to cause harm. They don't care about causing harm, they care about increasing short-term profits.
@loopback0 Nothing's more permanent than a temporary solution.
The moral is: If you want your solution to indeed be temporary, make sure it isn't Good Enough
The curl command line option --cacert provides a way for the user to say to curl that this is the exact set of CA certificates to trust when doing the following transfer.
[..]
When this command line option is used with curl on macOS, the version shipped by Apple, it seems to fall back and checks the system CA store in case the provided set of CA certs fail the verification.
Wow.
: You will leave that backdoor open and you will like it!
@Watson said in Things that remind you of WDTWTF members:
Where we're quite happy to use Dy(x) to represent y'(x)
Not to mention my favorite piece of "notational abuse" (as my university teacher liked to call it), the Del operator.
@The_Quiet_One said in Willy's Chocolate Experience:
No relation to the folks who allegedly caused 9/11 or faked the moon landing
That's exactly what the folks who caused 9/11 and faked the moon landing would say!
@Gustav Counterpoint: I you can summarize what the function does in a line or two of comments, then it only does one thing.
@topspin said in In other news today...:
Time flies when you’re not having fun.
And fruit flies when you don't throw out the old bananas?
FIled under: Yes I know where the door is
@Gustav said in No Comments on Funny Stuff:
No matter how you fold up your code, it will always, always be
less readable thanjust as unreadable as multi-function version.
The "long functions must always be split into parts" thing is bullshit. A function should always be conceptually coherent and meaningful on its own. It should be split up if it does several things or mixes different levels of abstraction. If there's no way to split the function into reasonably independent parts that can stand on their own, don't do it, it will only make you have to play connect-the-dots when you have to come back to work on it.
@HardwareGeek said in Quotes Out of Context:
maybe specifying which friend is most likely to want the answer.
Usually, when "asking for a friend", one intentionally avoids that.
@MrL said in The Official Funny Stuff Thread™:
you have to go through tens of changes and piece in your head the whole history of this functionality evolution
IME I'll have to do that anyway because
@MrL said in The Official Funny Stuff Thread™:
Alternatively you could have 3 lines long comment specifying what
it actually does currentlysomeone sometime thought the code was doing at that point in time, even though it's obvious from the code that it currently doesn't and probably never did, and I'm still no wiser about the why they'd even ever wanted to do that .
As I've said before, I'm not opposed to comments (as long as they don't just repeat what's obvious from the code) and they can be extremely helpful in some situations; but I have very little trust in them, and their presence or absence is, in itself, a very poor indicator of code quality.
@MrL said in The Official Funny Stuff Thread™:
your idea of finding out is to go through all commit messages for this file?
Have you ever heard of the magic of the "blame" command? It brings me right to the commit message I want to see.
[Edit]
Though if necessary, yes I will go through all the commit messages for this file to find out what's going on.
@MrL said in The Official Funny Stuff Thread™:
Every. Fucking. Thing. Ruined by cargo culting idiots.
I do wholeheartedly agree with you on that one though. As I said above,
@ixvedeusi said in The Official Funny Stuff Thread™:
But I'll agree that there are times when a comment is the best option for explaining such things.
If you can't be bothered to write decent commit messages, your comments will be just as useless.
Luckily, here we have a policy to always include the code review ID in the commit message, and there I can usually find a bit more detail. And worst case, the VCS can tell me what other changes were made at the same time, which may give me a general idea what's going on.
@Arantor My main problem with comments is that the code will change with time but the comments won't, leaving you with comments that are obviously wrong or, worse, subtly misleading. Commit messages (and other context from the VCS) tend to be more reliable for figuring out the "why".
But I'll agree that there are times when a comment is the best option for explaining such things.
@Tsaukpaetra Indeed it would, if I could find the damn thing. I'm sure it was there in the ribbon at some point, because I had used it in the past when the automatic detection didn't kick in. Sadly it seems to have disappeared.
@Medinoc said in Wow! "NEW" Microsoft Teams!:
What they broke was the Spellchecker
I've had the same experience with Outlook: I write some emails in French and some in English. Until recently, after typing some amount of text, eventually the spellchecker would automatically switch language. But lately it just insists on staying in English (and auto-"correct" away all my carefully placed accents ) no matter what, and I haven't found any way to manually tell it "this message is in French you dumbass!"
@Bulb said in German Humor Orbital Canon:
Earth doesn't have a source of energy to increase its orbital distance.
Shouldn't there be an effect similar to the one increasing the orbit of the Moon, where tidal forces transfer rotational energy of Earth onto the Moon?
@topspin said in Delphi 2024:
6 different memory models to deal with near and far pointers. IIRC they called them something like tiny, small, medium, compact, large, and huge.
laughs in Motorola 680xx
@Placeholder said in In other news today...:
and then you at least still have your
That's not how works.
@Tsaukpaetra is considering some hardware modifications to improve his chances:
change in chip design to allow the screw
@boomzilla I did hear something about volcanic eruptions in Iceland, but I had no clue they were strong enough to move it so far south!
@boomzilla As I see it, the main take-away from the "paperclip maximizer" is: If you tell a machine to optimize for a parameter and give it unlimited resources and no constraints to do so, first make sure that you do actually want to optimize for that parameter and don't care about anything else.
That seems somewhat trivial to me, but who am I to say.