The Official Status Thread
-
PS5 is here. Order has been restored to the galaxy.
-
Wait until you power it on and it wants to download a 50 GB system update
-
@error said in The Official Status Thread:
Reading through a year-old flamewar where I disagree with both sides.
: YMBNH
-
Status Found an unintentional speed-up loop in code I wrote...a while ago. Turns out that round-tripping to the DB
2n+1
times, selecting way more than necessary each time, inflating objects, and then throwing away 99% of it is rather sub-optimal. Especially when you have to map/filter in code between each step.Previously: Each request took [median 340 ms, max 450 ms] on my local machine with a relatively small dataset. More like 6+ seconds (which is an eternity when you're waiting for a UI element to decide if it can show up) in production.
After switching to a single database query with a couple simple joins and a where statement (basically letting the database do what we were doing manually before): requests are taking [median 40 ms, max 82 ms].
-
@Zerosquare said in The Official Status Thread:
Wait until you power it on and it wants to download a 50 GB system update
That's fine, I have real Internet.
-
Status: Have been stabbed with Science Shot #2, so my science duty has been done. For Science!
-
@e4tmyl33t said in The Official Status Thread:
Status: Have been stabbed with Science Shot #2, so my science duty has been done. For Science!
Mine is scheduled for next week. I'm really looking forward to the microchip, I hear it integrates perfectly with Windows 10.
-
@Benjamin-Hall said in The Official Status Thread:
Status Found an unintentional speed-up loop in code I wrote...a while ago. Turns out that round-tripping to the DB
2n+1
times, selecting way more than necessary each time, inflating objects, and then throwing away 99% of it is rather sub-optimal. Especially when you have to map/filter in code between each step.Previously: Each request took [median 340 ms, max 450 ms] on my local machine with a relatively small dataset. More like 6+ seconds (which is an eternity when you're waiting for a UI element to decide if it can show up) in production.
After switching to a single database query with a couple simple joins and a where statement (basically letting the database do what we were doing manually before): requests are taking [median 40 ms, max 82 ms].
I used to do this about once a week dealing with The Modern System. On the reg I would find query-in-loop and the speedup would be oto 100x
-
@error said in The Official Status Thread:
That's fine, I have real Internet.
Won't help you when the bottleneck is on Sony's side.
Filed under: PSP, PS3...
-
@error said in The Official Status Thread:
PS5 is here. Order has been restored to the galaxy.
Fucking finally!
-
@Tsaukpaetra said in The Official Status Thread:
@error said in The Official Status Thread:
PS5 is here. Order has been restored to the galaxy.
Fucking finally!
It's not out until there's an optical drive recall.
-
@Tsaukpaetra said in The Official Status Thread:
@error said in The Official Status Thread:
PS5 is here. Order has been restored to the galaxy.
Fucking finally!
That was yesterday, but both are pleasant.
-
@Gribnit said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
@error said in The Official Status Thread:
PS5 is here. Order has been restored to the galaxy.
Fucking finally!
It's not out until there's an optical drive recall.
When you turn it on it's a 50/50 for whether you'll want to recall your optics. Or so I've heard...
-
@Tsaukpaetra said in The Official Status Thread:
@Gribnit said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
@error said in The Official Status Thread:
PS5 is here. Order has been restored to the galaxy.
Fucking finally!
It's not out until there's an optical drive recall.
When you turn it on it's a 50/50 for whether you'll want to recall your optics. Or so I've heard...
TBH I've never inserted physical media into this or my previous unit. I think this is even true of my PS4. I've been all cloud-based for a while now.
-
@Tsaukpaetra said in The Official Status Thread:
Fucking finally!
Congratulations!
Edit: d
@Gąska said in Quotes Out of Context:
@Tsaukpaetra said:
Fucking finally!
Congratulations
-
@Zecc I find it amusing that not only we made the same joke, but also used the exact same words.
-
@Gąska said in The Official Status Thread:
@Zecc I find it amusing that not only we made the same joke, but also used the exact same words.
What's the alternative word?
Condolences!
?
-
@izzion said in The Official Status Thread:
@Gąska said in The Official Status Thread:
@Zecc I find it amusing that not only we made the same joke, but also used the exact same words.
What's the alternative word?
Condolences!
?It's just good etiquette to send a sympathy card after your first coitus session with a partner.
-
@izzion said in The Official Status Thread:
@Gąska said in The Official Status Thread:
@Zecc I find it amusing that not only we made the same joke, but also used the exact same words.
What's the alternative word?
Condolences!
?"Good for you", "finally after all these years", "for once, something good happened to @Tsaukpaetra", or simply "", to name a few. There are many ways to make that same joke, and yet we both independently decided to write the same thing.
-
@error said in The Official Status Thread:
@izzion said in The Official Status Thread:
@Gąska said in The Official Status Thread:
@Zecc I find it amusing that not only we made the same joke, but also used the exact same words.
What's the alternative word?
Condolences!
?It's just good etiquette to send a sympathy card after your first coitus session with a partner.
Yeah but we don't know who to send it to.
-
@Gąska said in The Official Status Thread:
@izzion said in The Official Status Thread:
@Gąska said in The Official Status Thread:
@Zecc I find it amusing that not only we made the same joke, but also used the exact same words.
What's the alternative word?
Condolences!
?"Good for you", "finally after all these years", "for once, something good happened to @Tsaukpaetra", or simply "", to name a few. There are many ways to make that same joke, and yet we both independently decided to write the same thing.
None are as short and
Finally!
, modulo capitalization, was already taken.
-
Which PS4 game should I start playing on PS5? (Holding off on games already scheduled for PS5 remaster [Witcher 3, GTA V].)
- Sekiro: Shadows Die Twice
- Ghost of Tsushima
- God of War
All appear to at least have framerate improvements on PS5.
-
@error
Doom
-
Well that was a sticky situation.
-
Heart attack. Phone in pocket had attached nearly a dozen photos from my NSFW folder to a webex message to my team at work. Luckily it didn't send.
-
@error said in The Official Status Thread:
Phone in pocket
Recently mine has decided to attempt to wake up regardless of the proximity sensor. I've pulled out enough times with it saying "unrecognized, use Pattern to unlock" that I've almost become annoyed...
-
@Tsaukpaetra said in The Official Status Thread:
@error said in The Official Status Thread:
Phone in pocket
Recently mine has decided to attempt to wake up regardless of the proximity sensor. I've pulled out enough times with it saying "unrecognized, use Pattern to unlock" that I've almost become annoyed...
I think this one is using a light sensor as well.
-
Status: Something of not-my-code is broken as I'm trying to set up a dev environment for this Node thing.
Seems good so far...
Hrm.
Not sure what is going wrong.
Blargh javascript...
Edit: Nevermind, there was another higher level that specified it was a sub-resource. So I should have been asking for
localhost:4000/svcards/test
. Obviously.
Hopefully there will never be a card with that name...
-
What's up with
return response
?
-
@Zecc said in The Official Status Thread:
What's up with
return response
?It's how you return the response down the rest of the chain to be actually given back to the requestor I guess.
-
@Tsaukpaetra I doubt it. The usual pattern, coming down all the way from nodejs itself, is that the callback is passed an object representing the response (
res
) and you call methods on it.In this case,
res.json()
would be what produces the response.I wager the callback's return value is simply ignored. That looks like èxpress` routing.
Edits: correcting other stuff, but I'm leaving èxpress` in its present context because it's funny.
-
@Zecc said in The Official Status Thread:
èxpress`
-
@Zecc said in The Official Status Thread:
coming down all the way from nodejs itself,
Yeah, see, I have only 39 experience points with NodeJS, and most of them are from following the "Welcome to NPM!" tutorial.
@Zecc said in The Official Status Thread:
I wager the callback's return value is simply ignored.
Will try it tomorrow and report back.
-
@error said in The Official Status Thread:
Heart attack. Phone in pocket had attached nearly a dozen photos from my NSFW folder to a webex message to my team at work. Luckily it didn't send.
And that, kids, is why you set up screen lock password.
-
@Gąska said in The Official Status Thread:
And that, kids, is why you set up screen lock password.
I've got mine with a combination of lock code and (as an alternative) biometric. I assume my pocket doesn't actually have a copy of my fingerprints…
-
@dkf said in The Official Status Thread:
@Gąska said in The Official Status Thread:
And that, kids, is why you set up screen lock password.
I've got mine with a combination of lock code and (as an alternative) biometric. I assume my pocket doesn't actually have a copy of my fingerprints…
I just don't keep any porn on my phone.
-
Status: Absolutely mystified.
New .php files on my webserver are erroring out with 500 Internal Server Error. No matter what content is in them. Even if they're empty.
Except, .php files that already exist run. If I edit them, I see my changes. If I make a file, copy the same content in, 500 Internal Server Error. If I copy with
cp
, the copy works. I can edit it, and see changes. I canrequire
one of the files that don't run, and they work as expected.Comparing the files that work with the files that don't work... Same owner. Same group. Same chmod flags. Binary identical.
-
@error Sounds like a problem in a cache.
-
Didn't you hear the news? PHP has finally been deprecated for being a security nightmare. Running existing code is still supported, but you can't write any new code
-
@Zerosquare The prophesy! We have passed through a day of the Endless November! it is now... November The Second!
-
@error said in The Official Status Thread:
Status: Absolutely mystified.
New .php files on my webserver are erroring out with 500 Internal Server Error. No matter what content is in them. Even if they're empty.
Except, .php files that already exist run. If I edit them, I see my changes. If I make a file, copy the same content in, 500 Internal Server Error. If I copy with
cp
, the copy works. I can edit it, and see changes. I canrequire
one of the files that don't run, and they work as expected.Comparing the files that work with the files that don't work... Same owner. Same group. Same chmod flags. Binary identical.
The only thing that could possibly explain it is there's some other metadata I'm not seeing. An alternate data stream? Maybe the shell I'm logged into is virtualized and the host FS has ACLs or something? Something really wonky in the Apache config (then I'm SOL because I can't touch that)?
This is cheap shared hosting, by the way.
-
@error said in The Official Status Thread:
@error said in The Official Status Thread:
Status: Absolutely mystified.
New .php files on my webserver are erroring out with 500 Internal Server Error. No matter what content is in them. Even if they're empty.
Except, .php files that already exist run. If I edit them, I see my changes. If I make a file, copy the same content in, 500 Internal Server Error. If I copy with
cp
, the copy works. I can edit it, and see changes. I canrequire
one of the files that don't run, and they work as expected.Comparing the files that work with the files that don't work... Same owner. Same group. Same chmod flags. Binary identical.
The only thing that could possibly explain it is there's some other metadata I'm not seeing. An alternate data stream? Maybe the shell I'm logged into is virtualized and the host FS has ACLs or something? Something really wonky in the Apache config (then I'm SOL because I can't touch that)?
This is cheap shared hosting, by the way.
I've had such problems twice or three times that was due to a BOM or similarly unprinted character that made the file unparseable by the target.
-
@Carnage said in The Official Status Thread:
@error said in The Official Status Thread:
@error said in The Official Status Thread:
Status: Absolutely mystified.
New .php files on my webserver are erroring out with 500 Internal Server Error. No matter what content is in them. Even if they're empty.
Except, .php files that already exist run. If I edit them, I see my changes. If I make a file, copy the same content in, 500 Internal Server Error. If I copy with
cp
, the copy works. I can edit it, and see changes. I canrequire
one of the files that don't run, and they work as expected.Comparing the files that work with the files that don't work... Same owner. Same group. Same chmod flags. Binary identical.
The only thing that could possibly explain it is there's some other metadata I'm not seeing. An alternate data stream? Maybe the shell I'm logged into is virtualized and the host FS has ACLs or something? Something really wonky in the Apache config (then I'm SOL because I can't touch that)?
This is cheap shared hosting, by the way.
I've had such problems twice or three times that was due to a BOM or similarly unprinted character that made the file unparseable by the target.
My money is on, stray/zombie copy of the entire codebase.
-
@Carnage said in The Official Status Thread:
@error said in The Official Status Thread:
@error said in The Official Status Thread:
Status: Absolutely mystified.
New .php files on my webserver are erroring out with 500 Internal Server Error. No matter what content is in them. Even if they're empty.
Except, .php files that already exist run. If I edit them, I see my changes. If I make a file, copy the same content in, 500 Internal Server Error. If I copy with
cp
, the copy works. I can edit it, and see changes. I canrequire
one of the files that don't run, and they work as expected.Comparing the files that work with the files that don't work... Same owner. Same group. Same chmod flags. Binary identical.
The only thing that could possibly explain it is there's some other metadata I'm not seeing. An alternate data stream? Maybe the shell I'm logged into is virtualized and the host FS has ACLs or something? Something really wonky in the Apache config (then I'm SOL because I can't touch that)?
This is cheap shared hosting, by the way.
I've had such problems twice or three times that was due to a BOM or similarly unprinted character that made the file unparseable by the target.
Yeah, I checked that. Even a 0 byte file has this problem.
-
@error said in The Official Status Thread:
@Carnage said in The Official Status Thread:
@error said in The Official Status Thread:
@error said in The Official Status Thread:
Status: Absolutely mystified.
New .php files on my webserver are erroring out with 500 Internal Server Error. No matter what content is in them. Even if they're empty.
Except, .php files that already exist run. If I edit them, I see my changes. If I make a file, copy the same content in, 500 Internal Server Error. If I copy with
cp
, the copy works. I can edit it, and see changes. I canrequire
one of the files that don't run, and they work as expected.Comparing the files that work with the files that don't work... Same owner. Same group. Same chmod flags. Binary identical.
The only thing that could possibly explain it is there's some other metadata I'm not seeing. An alternate data stream? Maybe the shell I'm logged into is virtualized and the host FS has ACLs or something? Something really wonky in the Apache config (then I'm SOL because I can't touch that)?
This is cheap shared hosting, by the way.
I've had such problems twice or three times that was due to a BOM or similarly unprinted character that made the file unparseable by the target.
Yeah, I checked that. Even a 0 byte file has this problem.
Some shenanigans with file handles? You see a different thing than what the server does?
-
@error Since
cp
magically keeps the file working under a different file name, my next try would bemv
ing a working file away and moving one of the identical, non-working files in its place.
Not that I'd know what to do after that, but just to figure out what happens then.
-
@error said in The Official Status Thread:
Status: Absolutely mystified.
New .php files on my webserver are erroring out with 500 Internal Server Error. No matter what content is in them. Even if they're empty.
Except, .php files that already exist run. If I edit them, I see my changes. If I make a file, copy the same content in, 500 Internal Server Error. If I copy with
cp
, the copy works. I can edit it, and see changes. I canrequire
one of the files that don't run, and they work as expected.Comparing the files that work with the files that don't work... Same owner. Same group. Same chmod flags. Binary identical.
Your new editor is removing the blank line after the ?> automatically?Edit: I’m an idiot.
-
For now, I'm just making a
cp
copy of one of the working files, and using it torequire
the non-working files (they live in another directory, and the working file doesn't work in that one if Imv
it).
-
@error said in The Official Status Thread:
New .php files
-
@Tsaukpaetra said in The Official Status Thread:
status: noticed an unexpectedly high number of dead chicks on the sidewalk while on my walk today...
status: I believe the chicks have finally despawned, and thongs were dropped in their place. Makes sense I guess....