code logs -> 2018 -> Sun, 09 Sep 2018< code.20180908.log - code.20180910.log >
--- Log opened Sun Sep 09 00:00:23 2018
00:01
<@celticminstrel>
Is this Windows-specific?
00:01
<@celticminstrel>
I think I've noticed it too but never really thought to compare to the Mac.
00:02
<&McMartin>
I'm used to Mac and Linux just flat out failing to mount and then giving up until I unplug/replug
00:02
<@celticminstrel>
I don't think I've seen that before (apart from one of the two front USB ports simply not working at all).
00:03
<&McMartin>
You might be getting fun stuff in dmesg
00:03
<&McMartin>
I did for those cases
00:04
<&[R]>
I've never had to wait for Linux to have a USB keyboard/mouse usable. And udevd has always spotted the USB device by the time I go to list/use it.
00:05
<&[R]>
I've had issues with Mac OS X being stupid about USB HID devices (one of my mice it will straight up refuse to detect)
00:05
<&McMartin>
Oh, I'm thinking of things like drives
00:06
<&McMartin>
There are definite delays on all platforms for those
00:06
<&[R]>
"And udevd has always spotted the USB device by the time I go to list/use it." <-- I meant drives here
00:06
<@macdjord>
[R]: Uh, every modern Windows machine I've used had no more than 1-2s for a mouse or keyboard and maybe 5 for a thumb drive.
00:06
<&McMartin>
Oh yeah, no, absolutely not
00:06
<&McMartin>
I have regularly had 10-second delays on thumb drives on all systems
00:06
<@macdjord>
Phones do seem tot take longer.
00:07
<&[R]>
macdjord: That's still slower than what I see on Linux
00:08
<@macdjord>
[R]: That wouldn't surprise me, but unless you're switching drives in and out on an industrial scale, the difference between 1s and 5s is unimportant; they are both Fast Enough.
00:08
<&[R]>
Though I will admit, it's not as horrible as it was in XP
00:09
<&[R]>
Where you could have a situation where it wants user input to activate a USB device. Such as the HID you need to use to login to see said prompt...
00:09
<&[R]>
It's enough that it's annoying
00:09
<&[R]>
And it's one of the many thousand tiny delays Windows subjhects you to
00:10
<&McMartin>
I would be unsurprised to learn that the drive delay is a system check
00:10
<&McMartin>
I think Windows fscks on plugin.
00:10
<&McMartin>
because my "unmountable" disks became mountable after doing a mount/unmount cycle on windows
00:40 Kindamoody|out is now known as Kindamoody
01:23 Kindamoody is now known as Kindamoody[zZz]
01:35
<&McMartin>
https://bumbershootsoft.wordpress.com/2018/09/09/lights-out-2600-the-gameplay-logic/
01:40 Pinkhair [user1@Nightstar-g7hdo5.dyn.optonline.net] has joined #code
01:42 Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
01:46 ricer [ricer@Nightstar-52ic2g.wechall.net] has quit [The TLS connection was non-properly terminated.]
01:49 Pinkhair [user1@Nightstar-g7hdo5.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
02:33
<&ToxicFrog>
On win10 I routinely see multiple minutes when plugging in input peripherals, including ones that it has had connected previously
02:44
<@Alek>
these days part of the delay is also antiviral.
02:44
<@Alek>
but only part.
03:13 Degi [Degi@Nightstar-9qdo67.dyn.telefonica.de] has quit [Connection closed]
04:21
<&McMartin>
I have definitely never seen minutes unless it announced it needed to install some drivers.
04:25
< Mahal>
.. I have never, ever seen that, ToxicFrog
04:25
< Mahal>
in either the corporate or home environment
04:48 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
04:48 mode/#code [+qo Vornicus Vornicus] by ChanServ
04:48 Derakon is now known as Derakon[AFK]
05:01
<@Alek>
I would suspect disk damage making it slow, actually.
05:12 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
05:29 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has joined #code
05:29 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
05:42 celticminstrel is now known as celmin|sleep
07:18 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
07:18 mode/#code [+qo Vornicus Vornicus] by ChanServ
07:23 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
07:44
<&[R]>
One thing I notice while playing Minecraft is eventually it'll start to memory leak (due to mods), and thus memory usage starts to climb slowly. Then the GC kicks in and there's a noticable lag for one second while it frees up 500MB or so of RAM. Why is the GC doing bulk work? Why can't they just reference count objects and immediately free unused memory?
07:44
<&[R]>
Clarification: Asking why the JVM doesn't do that stuff.
07:48
<~Vorntastic>
Reference counting works when there aren't circular references
07:49
<~Vorntastic>
Doubly linked lists always have circular references
07:49
<~Vorntastic>
And that's a pretty simple data structure
07:51
<&[R]>
Ah, so the GC being triggered is because it's at the point where it can't do simple purging?
07:53
<~Vorntastic>
Right
07:53
<@Alek>
so, the GC is a tumblrite? :P
07:54
<@ErikMesoy>
Boo. Low quality, Alek.
07:58
<~Vorntastic>
(this is why a linked list destruction implementation will often unlink the nodes even in gc languages - not doing so leaks the nodes until a GC pass runs)
08:16 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
08:16 mode/#code [+qo Vornicus Vornicus] by ChanServ
08:30
<&McMartin>
And half the gcs out there are just refcounters anyway, which doesn't work for shit
08:31
<~Vorntastic>
They hardly count as gc
08:39
<&McMartin>
Because of the need to manually snap references to prevent loss, I feel like the distinction isn't as sharp as we'd like to claim.
08:39
<&McMartin>
Especially since most of the "full" gcs tend to be ruinous if they ever actually have to do work
08:40
<&McMartin>
Mark-and-sweep is basically "memory locality is for losers, I'mma use the WHOLE ADDRESS SPACE and now I'm going to walk the whole thing at once, hope you like swapping"
08:40
<&McMartin>
And so hybrid refcount/mark-and-sweep systems like, IIRC, Python's, are basically "treat as refcount because if mark-and-sweep fires, it's game over"
08:41
<&McMartin>
If I disallow ARC, no GC systems existed until generational collectors like Java's started actually being mature
08:41
<&McMartin>
(ARC being ObjC's sort of hybrid refcount/mechanical-lifetime-deduction stuff that is more fragile than I'd like but more robust than it really has any right to be)
08:42
<&McMartin>
I never did get the hang of NeXTstep's autorelease pools.
08:44
<~Vorntastic>
Reminds me I leak whole meshes in vornonoi and I dislike this fact
08:49
<~Vorntastic>
Which suggests I might want to switch back to arrays of things again :(
09:06 Kindamoody[zZz] is now known as Kindamoody
09:08
<&[R]>
http://esr.ibiblio.org/?p=7593
09:14
<~Vorntastic>
I need to get so much better at testing
11:42 Kindamoody is now known as Kindamoody|afk
14:06 gnolam [lenin@Nightstar-ego6cb.cust.bahnhof.se] has quit [[NS] Quit: Update]
14:07 gnolam [lenin@Nightstar-ego6cb.cust.bahnhof.se] has joined #code
14:07 mode/#code [+o gnolam] by ChanServ
14:20 gnolam [lenin@Nightstar-ego6cb.cust.bahnhof.se] has quit [[NS] Quit: Restart]
14:21 gnolam [lenin@Nightstar-ego6cb.cust.bahnhof.se] has joined #code
14:21 mode/#code [+o gnolam] by ChanServ
14:23 gnolam [lenin@Nightstar-ego6cb.cust.bahnhof.se] has quit [[NS] Quit: Restarting again]
14:24 gnolam [lenin@Nightstar-ego6cb.cust.bahnhof.se] has joined #code
14:24 mode/#code [+o gnolam] by ChanServ
14:50 gnolam [lenin@Nightstar-ego6cb.cust.bahnhof.se] has quit [[NS] Quit: Restart]
14:50 gnolam [lenin@Nightstar-ego6cb.cust.bahnhof.se] has joined #code
14:50 mode/#code [+o gnolam] by ChanServ
15:18 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
15:56 celmin|sleep is now known as celticminstrel
16:32
<@abudhabi>
Given SQL access to a wordpress database, is it possible to reset the admin password?
16:34
<@TheWatcher>
https://codex.wordpress.org/Resetting_Your_Password - "Through MySQL/MariaDB Command Line"
16:34
<@abudhabi>
Thanks.
16:36
<@TheWatcher>
Just remember to reset your admin password again as soon as possible after, otherwise you'll have a straight-up MD5 hash in there as opposed to a properly salted hash
16:38
<@abudhabi>
Right.
16:38
<@abudhabi>
Does the 'mysql' utility allow connecting to a remote database?
16:38
<@abudhabi>
As in, not on localhost?
16:38
<@TheWatcher>
Yeo
16:38
<@TheWatcher>
mysql -h <hostname> -u <user> -p
16:39
<@TheWatcher>
Requires that the mysql database is listening on 0.0.0.0 rather than just having local socket
16:40 * abudhabi succeeds in connecting.
16:45
<@abudhabi>
Success!
16:48
<@TheWatcher>
wewt!
16:49
<@TheWatcher>
(please tell me the firewall on that server is only allowing 3306 from specific IPs? >.>)
16:49
<@abudhabi>
I have no idea.
16:50
<@abudhabi>
I have been tasked with migrating a wordpress installation.
16:50
<@abudhabi>
It was apparently made by some bint pretending to be a web developer. She gave my employers, somewhat technically illiterate people, the zipped wordpress files and an SQL file.
16:51
<@abudhabi>
They have failed to carry out the migration process, so I get to do it now.
16:51
<@TheWatcher>
Awesome.
16:52
<@abudhabi>
The original developer of this abortion of a finished product is incommunicando on another continent.
16:52
<@abudhabi>
Took a week of email exchanges to even determine what the flip I was expected to do with this stuff.
16:59 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
17:22 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
17:54 * abudhabi sighs.
17:55
<@abudhabi>
The primary menu is named "<first name of the developer>".
18:02
<@gnolam>
Sebastian?~
18:02
<@abudhabi>
Harh.
18:04
<@abudhabi>
I'll just call her Paula, after the Brillant Paula Bean. :V
18:04
<@abudhabi>
Paula doesn't understand the difficulty of moving a wordpress installation, and neither does she appear to care that a substantial amount of the links are hardcoded to her development environment, which I'll have to change.
18:05
<@abudhabi>
And probably change again after the URL no longer begins with 'test.'.
18:05
<@abudhabi>
Or refurbish this crap so it doesn't lead to spurious locations if you change the domain.
20:15 * Emmy sniff sniffs
20:15
< Emmy>
smells like the projects i get to work on.
20:16
< Emmy>
I'm somewhat afraid my boss found out i am good at cleaning up shit from amateur developers. ^.^;
20:36 Kindamoody|afk is now known as Kindamoody
21:51 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
22:06 Degi [Degi@Nightstar-q4h9tc.dyn.telefonica.de] has joined #code
22:38
<&McMartin>
It's a superpower
22:38
<&McMartin>
You might be able to bargain it up into a mentorship role
22:55 Derakon[AFK] is now known as Derakon
23:29
< Emmy>
i'm a bit of a mentor to the inters already. it's pretty neat :D
23:36 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
23:53 himi [sjjf@Nightstar-1drtbs.anu.edu.au] has joined #code
23:53 mode/#code [+o himi] by ChanServ
--- Log closed Mon Sep 10 00:00:24 2018
code logs -> 2018 -> Sun, 09 Sep 2018< code.20180908.log - code.20180910.log >

[ Latest log file ]