WTF Bites
-
@Tsaukpaetra said in WTF Bites:
@Benjamin-Hall said in WTF Bites:
which means that the cached html also includes all the cached css. Which gets cached relatively forever by browsers and the host.
Encountering something like this with someone's iPhone, which apparently cached one of the dev builds of the site from long enough ago that it's not talking to the API endpoints correctly anymore, and no amount of "pull down to refresh, maybe?" is fixing it.
Just tell them to buy a new iPhone.
-
@dkf Unfortunately, you cannot do so by placing an ad in your web site.
-
@Benjamin-Hall said in WTF Bites:
@Tsaukpaetra said in WTF Bites:
someone's iPhone
<there-s-your-problem.gif>. Safari, mobile safari in particular, is super super aggressive about caching things. Mostly things it shouldn't cache ever.
What about the old
?t=20220805
trick? May not work against aggressive serverside caching, but surely the iphone would reload if the value changes.
-
@PleegWat it's been known to do partial caching of specific elements even when the DOM updates. There are ways to convince it not to, but they're fragile.
-
Been trying to print this 100+ page document.
First:
OK, whatever, convert PDF a few times, and get it down to 17MB (without losing too much of its contents):
[object Object] indeed.
-
[object Object] indeed.
for (auto i = 0; i < 100; ++i) "Print Current Page"
(who needs the 101+ pages...)
-
âItâs not in your best interest to work at home,â he said. âI know itâs a hassle to come into the office, but if youâre just sitting in your pajamas in your bedroom, is that the work life you want to live?â
So maybe don't work in your bedroom in your pajamas? This guy is such a fucking hack.
âIf we donât feel like weâre part of something important, whatâs the point?â he said. âIf itâs just a paycheck, then itâs like what have you reduced your life to?â
I guarantee you that having a commute does not make me feel better in any way and I have no idea why working in a cubicle should make me feel any better about what I'm doing.
I know people who have tried working from home and they can't focus or whatever and that's fine and I know that your books are all about you overinterpreting some bullshit you found somewhere, but why do you think you know how I feel about anything?
-
@boomzilla said in WTF Bites:
So maybe don't work in your bedroom in your pajamas?
No shit. I work in my office in my pajamas.
I guarantee you that having a commute does not make me feel better in any way and I have no idea why working in a
cubiclen open office with all hotelling spaces should make me feel any better about what I'm doing.Fixed for our office (which is 4mi away from home).
Now I do admit, it's easier to interact with colleagues in person than over Slack/Zoom.
-
-
Now I do admit, it's easier to interact with colleagues in person than over Slack/Zoom.
I'm pretty happy using Teams (or other IM before). Sometimes it's too easy, as people call me a lot now. Definitely don't need them walking up behind me.
-
@boomzilla said in WTF Bites:
Now I do admit, it's easier to interact with colleagues in person than over Slack/Zoom.
I'm pretty happy using Teams (or other IM before). Sometimes it's too easy, as people call me a lot now. Definitely don't need them walking up behind me.
I always hated that.
Note I said "easier". You may also remember I've commented elsewhere (no idea which thread), that I'm still working from home. In fact, I got a special dispensation to ignore the "come in at least 3 days a week" thing.
-
@dcon currently I'm supposed to stop by and scan my badge at least once every other week to keep the justification for charging for office space for me.
-
Now I do admit, it's easier to interact with colleagues in person than over Slack/Zoom.
It is but most of the people I need to interact with are based in other offices.
I like going into the office. Change of scenery, better separation of work/home, it's a bit more social than spending 8 hours on my own.
I've been going in 2/3 days a week anyway for a while but now there's an "expectation" from the grown ups for people to go in that I suspect might become a mandate if our big expensive offices keep being massively under utilised.
-
@boomzilla pop psychers are not, in fact, deep thinkers. They trawl the ultra-shallow layer, mostly. Best to only listen to those you agree with, if any at all.
-
@loopback0 said in WTF Bites:
I like going into the office. Change of scenery, better separation of work/home, it's a bit more social than spending 8 hours on my own.
Mostly the same for me. My workplace is doing one day a week optionally in-office, and lunch is provided as an incentive to come in
-
@loopback0 said in WTF Bites:
I like going into the office.
I'd like it more if the trains weren't a disaster zone right now, and I'd be complaining about life a whole lot more if I had to go in. Fortunately, I don't, and the mess that is UK public transport right now is something that I'm only abstractly interested in.
-
if the trains weren't a disaster zone right now
And 100 other modern-day British fairytailes?
-
@loopback0 said in WTF Bites:
I like going into the office.
I'd like it more if the trains weren't a disaster zone right now, and I'd be complaining about life a whole lot more if I had to go in. Fortunately, I don't, and the mess that is UK public transport right now is something that I'm only abstractly interested in.
Fortunately I don't need to bother with public transport to get to the office which would take significantly longer than driving.
-
@loopback0 I used to bus to work, because a monthly bus pass was cheaper than parking, and I could read/play games/whatever. Then the Rapid Unscheduled WFH happened and nobody commuted anywhere. Now, as I said before we're in office once a week, and I drive in and pay the daily parking rate. It's cheaper to do that four times a month than the other options (aside from staying home)
-
Visual Studio status, part n+1:
- Clicked the run button, it built the solution, and... nothing. Just sat there like an idiot with everything grayed out but never actually started running. Tried to exit VS and it showed me this incredibly helpful message:
- After force quitting VS from Task Manager, I was eventually able to get it to run. Then, after closing it I wanted to continue working like normal. Step 1: Navigate to the tab with the file that I wanted to work on. That should be simple enough for an advanced IDE, right? After all, nothing's building, nothing's running, I just need to edit some text.
- Clicked the run button, it built the solution, and... nothing. Just sat there like an idiot with everything grayed out but never actually started running. Tried to exit VS and it showed me this incredibly helpful message:
-
Visual Studio status, part n+1:
Don't worry. There's a 3.5GB update today (VS2022).
-
-
@hungrier Your post reminds me of how Eclipse gets when something causes all the worker threads to seize. Slaughtering the process and restarting is the only way.
-
@dkf I'd recommend slaughtering the whole Eclipse install and choosing an IDE that actually works instead.
-
-
choosing an IDE that actually works
When someone suggests that, they usually seem to have a different idea of what "actually works" means to me. I've tried a number of alternatives (including IntelliJ) and they tend to either be too limited or behave really strangely.
-
@Applied-Mediocrity said in WTF Bites:
an IDE that actually works
E_NULL_SET
Given that java language server is based on Eclipse code I agree, at least for the Java case.
I still don't understand what IntelliJ does with git, but it does seem very able to get itself wedged and to need fixing with the git command line
I've learned to use git from command-line and git gui and just use it that way instead of switching between the slightly different ways of the at least five different IDEs I've touched recently.
-
@hungrier Apropos Visual Stupido: I am trying to learn how SQL projects work. I created one, created a table and tried to deploy. Oh, wrong target platform. So I go to the project settings, switch the database and ⌠the project setting dialog works, but can't be closed and clicking anywhere outside it does nothing.
-
@hungrier Apropos Visual Stupido: I am trying to learn how SQL projects work.
Badly.
There, now you know.
-
@MrL I expected so much.
It looks to me like a bunch of wizards for writing syntactically valid Turd-SQL.
-
@MrL I expected so much.
It looks to me like a bunch of wizards for writing syntactically valid Turd-SQL.
From what I remember - yes.
You can also try one of two Entity Framework db projects. If you're into self harm that is.
-
@MrL Actually it's Supposed⢠to do schema diff, so you can do some changes to the project, then take a database where the previous version is deployed and it shoud generate the update scripts. I am not sure whether it's worth the trouble though.
Because of course if the change is simple, it is simple, so writing the script isn't that much of a deal, especially if you have to remember the correct workflow to generate it. And if the change is not simple, the automation can't do it anyway, at least not completelyâe.g. if you add a non-null column, well, you have to specify how to fill it in anyway.
So I am thinking to maybe ignore it, set up evolve, yuniql or flyway and just drop in database scripts as they'll need to be applied.
-
I've learned to use git from command-line and git gui and just use it that way instead of switching between the slightly different ways of the at least five different IDEs I've touched recently.
I have avoided using any graphical source control programs for years and the only regret I have is that it makes moving files around a bit more inconvenient but it's still been a huge net positive in my life.
-
@boomzilla said in WTF Bites:
I have avoided using any graphical source control programs for years
Most things aren't much harder on the command line, except for determining commits to do a diff between when those aren't branch tips (and aren't some shorthand that you remember); point-and-
gruntclick is absolutely designed for selection. Sometimes when working out how to handle a merge, I need to see how two branches have evolved so that I can work out the intent of changes (e.g., if they're mostly just a reindent then I don't need to be careful about keeping them as I can just apply things to the other side). It doesn't help in the most difficult cases, but it makes a lot more cases not be the most difficult ones...
-
@boomzilla said in WTF Bites:
I have avoided using any graphical source control programs for years
Most things aren't much harder on the command line, except for determining commits to do a diff between when those aren't branch tips (and aren't some shorthand that you remember); point-and-
gruntclick is absolutely designed for selection.This was actually a gigantic reason for getting away from GUI tools. Stuff is all buried in trees. Much easier to use the command line to filter out all the junk that I'm not interested in.
Sometimes when working out how to handle a merge, I need to see how two branches have evolved so that I can work out the intent of changes (e.g., if they're mostly just a reindent then I don't need to be careful about keeping them as I can just apply things to the other side). It doesn't help in the most difficult cases, but it makes a lot more cases not be the most difficult ones...
Not sure what you mean here in relation to CLI vs GUI version control. All that can be done in your IDE (or whatever tool) separately from issuing the commands to the version control system.
-
@boomzilla I'm too hot to explain it properly right now. It's about selecting which commits to compare when those commits have non-trivial relations to each other, and where you're wanting to know something like "what has happened to these two branches since the last time I synchronized them?". It's also not even a simple three-way diff; they probably will still differ from each other after the last synchronization, but that's background to the current consideration.
If you show the tree of commits in a history view, you can just pick which things to diff. Easy. Picking things like that is what a GUI is good at. (It'll resolve those into commit IDs when asking the VCS for the differences, but I sure don't go remembering those.)
-
@dkf ah, I do have a program that shows me stuff like that in a GUI.
-
@boomzilla said in WTF Bites:
I have avoided using any graphical source control programs for years
Most things aren't much harder on the command line, except for determining commits to do a diff between when those aren't branch tips (and aren't some shorthand that you remember); point-and-
gruntclick is absolutely designed for selection.If you can't get the commit from merge-base, blame or pickaxe, it's what
gitk
is for. And while the ui produced by tcl/tk is ugly as butt (), it gets the job done better that what is available in most IDEs. If nothing else then because you still want to start with the relevant parts of history only and that means giving it a commit range and/or path filter on command-line.Sometimes when working out how to handle a merge, I need to see how two branches have evolved so that I can work out the intent of changes (e.g., if they're mostly just a reindent then I don't need to be careful about keeping them as I can just apply things to the other side). It doesn't help in the most difficult cases, but it makes a lot more cases not be the most difficult ones...
I found that straying from strict mechanical following of the 3-way merge algorithm is a sure way to mess up. But if you need to look what the change was, or want to merge in steps and need to pick which ones, then gitk is sure the right tool.
-
I'm sure I've ranted about HP's infrastructure here, where looking up anything in their documentation will at some point lead to an URL like http://w23iz587.boston.eastcoast.hp.com/extremely/fucking/long/path/u8293978trfughjdg/incompre ensible/shit/?blah=pdf that doesn't work because the machine it refers to died and redundancy, load balancers, and webapps are for wimps.
Sorry this is late, but think I found the problem. GuyWhoKilledBear's Law is a harsh mistress.
-
@GuyWhoKilledBear
hp
occurs even earlier in the domain name, tho. I recommend early-twentieth-century sources for further Boston-related prejudices. Of particular interest is The Boston Dictionary, a wonderfully entertaining and wildly inaccurate volume detailing how to know the names for things the people of Boston would do, mostly to, occasionally for, you, if you ever went there.
-
Google's back to begging Apple to support RCS.
I'd say that is their cohesive messaging strategy, but you have to have one first.
-
If you can't get the commit from merge-base, blame or pickaxe, it's what
gitk
is for. And while the ui produced by tcl/tk is ugly as butt (), it gets the job done better that what is available in most IDEs. If nothing else then because you still want to start with the relevant parts of history only and that means giving it a commit range and/or path filter on command-line.tig
is, IMHO, much better
-
@Kamil-Podlesak
tig
isn't part of the standard git install. But thanks for the tip, it might come handy in WSL where I still didn't get around to setting up the X server.
-
@Parody âitâs not about the color of bubblesâ they say, after everyone mocked them last time they pulled the full-retard âgreen bubbles are discriminationâ thing.
Now itâs that âiPhone users get bad texting experienceâ. And yet itâs, apparently, not the iPhone users texting with android users that do the complaining, but the android users.And more great arguments:
What does that say?
iPhones make texts with Android phones difficult to read, by using white text on a bright green background.
Wait, didnât you say itâs not about the color?Also, suggested articles:
Why iMessage is actually a failure
Why Appleâs iMessage is winning: Teens dread the green text bubble
-
And yet itâs, apparently, not the iPhone users texting with android users that do the complaining, but the android users.
Is it? I only notice I've been texting with iPhone users when I get those asinine, "So and so liked your text" responses. Otherwise they all look the same.
-
@boomzilla itâs
android.com
doing the complaining here. Nobody else gives a shit.
-
@boomzilla said in WTF Bites:
I get those asinine, "So and so liked your text" responses.
I never get those. I guess nobody likes my texts.
-
@HardwareGeek said in WTF Bites:
@boomzilla said in WTF Bites:
I never get those. I guess nobody likes my texts.You need to give @Tsaukpaetra your phone number.
-
Found in a compliance course:
Q: Why is foo a bad idea?
(select all that apply)
[ ] Reason 1
[ ] Reason 2
[ ] Reason 3
[ ] Reason 4
[ ] All of the above
[ ] None of the aboveAll 4 reasons apply. The expacted answer was 'All of the above' only.
-
@PleegWat Now, a clever UI designer would have made "All of the above" a toggle for Reason #1 through #4 (and vice versa) but I guess.