The Official Status Thread
-
@homoBalkanus Don't complain about the tool, complain about the tools who misuse the tool.
-
@Arantor every time I got into that argument I was told that anything not mimicking basic CRUD operations is not RESTful and therefore not Best Practices™
-
@homoBalkanus spicy hot-take: best practices are for people who never actually ship anything actual people use.
-
@Arantor said in The Official Status Thread:
@homoBalkanus spicy hot-take: best practices are for people who never actually ship anything actual people use.
Best practices are for people too unskilled or dumb to perform well.
-
-
Status: Overtime request came in for 2 hours, supposedly worked yesterday, with the description to the effect of "searching for packing slip from delivery"
The fuck?
-
@error said in The Official Status Thread:
I started Armored Core 6. I'm getting pwned by the tutorial boss.
Classic FromSoftware.
You gotta press the boss hard. Same is true of quite a few of the later bosses too; if you aren't pressing them and are instead messing around with things like recharging or reloading, they destroy you ever so quickly.
-
@homoBalkanus said in The Official Status Thread:
@Arantor every time I got into that argument I was told that anything not mimicking basic CRUD operations is not RESTful and therefore not Best Practices™
That sort of argument makes my blood boil, because it is a precise misunderstanding of what REST is about.
-
Status: Back from a meal at a very fancy restaurant not too far from here. £100/each (with not much alcohol in that) is quite a bit. But the food was sublime.
-
Status: I'll know it when I see it.
-
@dkf said in The Official Status Thread:
precise misunderstanding of what REST is about
-
@Carnage said in The Official Status Thread:
@Arantor said in The Official Status Thread:
@homoBalkanus spicy hot-take: best practices are for people who never actually ship anything actual people use.
Best practices are for people too unskilled or dumb to perform well.
This is fine.
-
Status: Searching for a USB-PD conversion to 16.8V ~2.5A output.
There's plenty of 5V boost converters, but nothing that would actually provide any appreciable power (unless I want to make another stage converting down and then back up?)
Any ideas how to search for such a thing? Otherwise I guess I'm going to get a dumb-trigger module (perhaps to trigger 12V, that's gotta be common, right?) then a step-down to 5V, and then a step-up to the 16.8V....
Probably wouldn't be the most stupidest thing I've hacked together, but it would certainly be ugly...
-
Use a 20V USB-PD module, then step-down to 16.8 V?
-
@Zerosquare said in The Official Status Thread:
Use a 20V USB-PD module, then step-down to 16.8 V?
Maybe.
I have a feeling that from the distinctive voltage this is going straight across the Li Ion battery outputs without regard to anything (probably) so I'd like to have at least some smarts involved.
This is all in service to trying to make a battery pack more universally usable. Currently it is only chargeable via a particular (cheap-feeling) adapter and I'm somewhat worried about being able to charge it without this cumbersome brick.
-
Good idea: have a dual SIM setup while travelling abroad so you only carry one phone, can still receive texts on your main number, and do everything else through locally bought prepaid number, thus avoiding roaming charges.
Bad idea: make a dual SIM setup for a family member who couldn't give a flying fuck about which SIM card they have chosen whenever they make a call.
Really bad idea: take a family member at their word that their phone isn't SIM-locked.
And of course all of it is my fault.
-
-
@Gustav said in The Official Status Thread:
can still receive texts on your main number
Take care. That can be expensive, too. With my german O2 prepaid card, I'd have to pay 1€ for each SMS received while on holidays in south east asia. And receiving a phone call is 3€ per minute...
-
Status: All of this code is so stupid.
Why is everyone a moron? Why are they allowed to write code at all?
Should I try to fix it, rewrite it from scratch, or just push the technical debt further along?
-
@topspin Rest assured, your successors will call the code stupid and you a moron no matter what you do.
-
@Zecc I just removed a single line of bullshit (a quick hack to see the results instead of a real fix) and that alone slashed the execution time from 15 minutes down to 7. That is, something that should take no relevant execution time took 50% total, and now it doesn't.
Now, I need to figure out how to actually fix this correctly, which doesn't look simple without turning the whole "architecture" 1 on its head.
Also, I'm not sure what's special about this particular data set, since the problem hasn't manifested before in a way that I noticed. That's quite confusing.1
-
@topspin said in The Official Status Thread:
what's special about this particular data set
Lemme guess: there's a
join
between 2 (or more) tables, and the respective columns are not indexed.
Or better: thejoin
is actually performed outside of the database. I.e. get data fromTable1
, iterate through it, and get data fromTable2
for each entry...
-
@BernieTheBernie "data set" was a bit of generic handwaving. There are no databases involved.
I could've maybe said "simulation setup".
-
Status: Monday.
-
@HardwareGeek said in The Official Status Thread:
Status: Monday.
-
@Zerosquare That was implied by "Monday".
-
Please, for the love of
$deity
, comment why your code does what it does, not what it does. The comments in this file literally just echo the method/variable names.map.put("onTime", publicationDate); // publication date
-
Status
Feeling sick, but not quite sick enough to call in sick. Yet. Just...not 100%.
Also, have to deal with C++ today. This does not make me feel better. Very much the opposite, in fact.
-
// Twiddle the frobnicator log.info("Twiddling the frobnicator"); try { frobnicator.twiddle(); } catch (Exception ex) { log.error("Frobnicator twiddling failure: {}", ex.getMessage(), ex); throw; } logr.info("Frobnicator twiddled");
-
-
@Tsaukpaetra That or I tyop'ed, but we'll go with your explanation.
-
@PleegWat In case of logging, such messages may be appropriate: they show you the way the data took through your application (hopefully with time stamps and thread id...). But the log level might better be
debug
ortrace
.
-
@HardwareGeek said in The Official Status Thread:
That was implied by "Monday".
Not necessarily. It's a public holiday here, so there's no Monday angst to be found.
In other news, Tuesday angst will be available from tomorrow.
-
@dkf said in The Official Status Thread:
@HardwareGeek said in The Official Status Thread:
That was implied by "Monday".
Not necessarily. It's a public holiday here, so there's no Monday angst to be found.
In other news, Tuesday angst will be available from tomorrow.
That's us in one more week. And as a bonus, they gave as Fri too - 4 day weekend!
-
@dcon I took last Thursday and Friday off. A 5 day weekend is a glorious thing. To celebrate, I made an office chair.
-
Status: Scheduler is leaving. Luckily someone stepped up. I'm going to be training them. Just in time for the month-end reports (which happen to also collide with the weekly reports, because Friday), which is also going to happen during a trailing 3-day weekend. For which I was scheduled to cover someone else, so...
-
@BernieTheBernie said in The Official Status Thread:
@topspin said in The Official Status Thread:
what's special about this particular data set
Lemme guess: there's a
join
between 2 (or more) tables, and the respective columns are not indexed.
Or better: thejoin
is actually performed outside of the database. I.e. get data fromTable1
, iterate through it, and get data fromTable2
for each entry...This is why I’ve grown to hate orms.
and now I’ll just iterate over this list to find the element I need.
did he just spend two minutes explaning iteration. Oh god! that’s a lazy fetch and he’s walking the entire model. I wonder how long the request will take now.narrator: two weeks later.
why has this request gone from two to thirty seconds.
-
@BernieTheBernie said in The Official Status Thread:
@PleegWat In case of logging, such messages may be appropriate: they show you the way the data took through your application (hopefully with time stamps and thread id...). But the log level might better be
debug
ortrace
.Yeah, I was going overboard for effect but there are situations where this amount of logging is reasonable. And if it is, then the comment may also be reasonable to inform the reader that yes, this is really all we are doing here.
-
Status: Mildly satisfied.
Forgot to do an obvious thing but luckily the fix was a few-liner.
-
Status: Mildly amused that two people have adamantly claimed that in order to convert meters to centimeters you necessarily need to divide by 100.
-
You can't blame them too much. All this metric stuff is really complicated
-
@Tsaukpaetra well, one meter does divide into one hundred centimetres. So they’re not entirely wrong…
-
@topspin said in The Official Status Thread:
Should I try to fix it, rewrite it from scratch, or just push the technical debt further along?
The right answer is usually
-
Apparently I can slay the if the requestor is genuinely appreciative of my efforts. Which could probably be exploited, but for now, heaped praise and gratitude :feels-good-man:.
-
Status: Looks like I've got Thunderbird 115 ("Supernova") now. Had to enable and edit the user CSS file to put the menu bar back under the title bar like it should be. Reading a developer discussion about it, for some reason they insist that putting an option to do this is not feasible.
Otherwise it appears to have defaulted to "Don't mess up an existing user's stuff too much."
-
Status: I think the Indian colleagues don't know how to use a bathroom.
Look, there's urinals and a stall with a toilet. If you don't use the urinal, at least lift up the toilet seat instead of pissing over it!
-
just wait until you find footprints on the seat
-
@topspin Obviously a wrong policy at your workplace. Instead of "gender toilets" you need "culture toilets". For Indians a hole in the floor with an indication on where to put their feet.
-
@BernieTheBernie I’ll forward your ideas to our
kaizenimprovements officer.
-