code logs -> 2019 -> Sat, 14 Dec 2019< code.20191213.log - code.20191215.log >
--- Log opened Sat Dec 14 00:00:48 2019
00:05
<@gnolam>
Rants and monologues are encouraged, after all. :-)
01:03 celmin|away is now known as celticminstrel
01:04
<@celticminstrel>
Meep
01:34 Degi [Degi@Nightstar-ol7381.dyn.telefonica.de] has quit [Ping timeout: 121 seconds]
01:35 Degi [Degi@Nightstar-efb5to.dyn.telefonica.de] has joined #code
02:07 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
02:07 mode/#code [+qo Vornicus Vornicus] by ChanServ
02:53
<@sshine>
going over CV data, I wonder if employers ever think "Hmm, this candidate didn't write they were stable and responsible, so I'm not going to pick them."
02:54
<@sshine>
I thought it'd be fun to classify the most useless things to put on a CV by the definition that if enough people have that, it should be assumed.
02:55
<@sshine>
I should try and improve my tools for doing this kind of tests. it's just been so long since I did matlab/R kind of computing.
02:58
<@sshine>
wow, some of this data is obscurely useless.
02:59
<@sshine>
you can search for "how much does an electrician with 5 years of work experience make?" but the CVs underneath will generally have "$age - 18" as the number of years of work experience, because people like to inflate their CVs with "I've worked since I was 18" even though that included working in a DVD rental store for 2 years.
04:04
< catalyst>
I'm wild, free and unreliable but a genius when it comes crunch time
04:05 * catalyst double thumbs up
04:05
<&Reiver>
catalyst: shit girl, I'd hire you
04:05
< catalyst>
a lot of people here would
04:05
< catalyst>
I'm a ridiculously capable programmer
04:05
<&Reiver>
It might be a wild ride but the tech at the other end would be phenominal~
04:06
< catalyst>
I do have a habit of solving problems people didn't even know they had
05:03 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
05:12
<@sshine>
catalyst, does it make them angry?
05:12
<@sshine>
I only have a habit of causing problems people didn't have.
05:16 Vorntastic [uid293981@Nightstar-2dc.p8m.184.192.IP] has joined #code
05:16 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
05:17
< catalyst>
sshine: nah, I'm very convincing
05:21 Derakon is now known as Derakon[AFK]
05:57 McMartin [mcmartin@Nightstar-ipm463.ca.comcast.net] has quit [[NS] Quit: reboot]
06:15 McMartin [mcmartin@Nightstar-ipm463.ca.comcast.net] has joined #code
06:15 mode/#code [+ao McMartin McMartin] by ChanServ
06:17
<@sshine>
this piece of code looks like it's been written by 5 people where every other programmer is blindfolded and the next one has to tell them what they have to type, except every time it's a 2-year old recording.
06:17
<&McMartin>
Sounds like source control
06:18
<@sshine>
along the code path, an average gets calculated *three times*
06:18
<&McMartin>
Calling it: each one is just outside of the range of material provided by a unified diff
06:18
<@sshine>
a function is called with 5 arguments, but only 4 are named inside the function, and only 2 are actually used.
06:20
<@sshine>
a Solr query is made because "SQL is inefficient here", but inside the function that does the Solr query, a SQL query is made anyways. in the caller of that function, the same kind of SQL query is made, just before it's being returned to a place that does N SQL queries.
06:20
<@sshine>
then an average of those entities are calculated three times...
06:21
<@sshine>
the fun thing is, the SQL query does not take longer than the Solr query.
06:24
<@sshine>
well, only slightly. but at a very comparable scale, even for large results.
06:44
<@sshine>
haha, it keeps being hilarious.
06:45
<@sshine>
before a call is made, join("\n", map { $_->name } Jobtitles::get(...)) is called. inside the function being called, Jobtitles::getByName(split("\n", $jobtitles))
06:45
<@sshine>
(translating into pseudocode here.)
06:46
< catalyst>
that looks like Perl
06:46
< catalyst>
suddenly all becomes clear
06:46
<@sshine>
it is Perl. and yes...
06:52
<@sshine>
$hl_query = solr_add( $hl_query, "+jobtitles:(" . join( ' ', @jobtitles ) . ")" ); instead of WebService::Solr::Query->new({ jobtitles => \@jobtitles })
06:52
<@sshine>
I can never remember whether ' ' in a Solr query is implicitly AND or OR.
06:53
<@sshine>
the funny thing is, ::Query is from around the same time we started using Solr in general. so the guy who wrote this just didn't look to see if there was a query library.
06:55
<@sshine>
when you guys were looking for new jobs, did you use recruiters, or did you just pick the company and applied?
06:55
<&McMartin>
I actually started by pulling my network of contacts from previous jobs
06:57
<@sshine>
okay.
06:57
<&McMartin>
Of those who most recently did job searches though, they went through recruitment agents like Triplebyte first
07:02
<~Vorntastic>
I have no idea how anyone succeeds at getting jobs
07:02
<~Vorntastic>
The advice I've gotten that didn't contradict other advice boils down to "be a sociopath"
07:03
<&McMartin>
If you can do it without being caught that does open an unnerving number of doors
07:05
<~Vorntastic>
That it takes like a hundred times as much effort for me to get any of the basic things done that it does anyone else doesn't help but nobody believes me when I tell them the shitty resume I showed them took six months to make
07:07
<@sshine>
I've spent too much time on my resume after I found the 'flowfram' LaTeX package.
07:07
< catalyst>
I haven't made on in like, five years
07:09
<&McMartin>
I make a point of relying on LibreOffice for docprep just to avoid falling into an endless mire of LaTeX madness
07:11
<@sshine>
that's a valid point.
07:11
<&McMartin>
Though over the new year I should take my largish Docbook project and convert it into ReStructuredText
07:11
<@sshine>
I run Ubuntu and don't root my phone for similar reasons to avoid rabbit holes.
07:22
<&Reiver>
I ended up resorting to Google Docs
07:22
<&Reiver>
That way it was available with the latest version Everywhere, the editing was sufficiently consistent, etc
07:33 celticminstrel [celticminst@Nightstar-2kik29.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
09:13
<&jerith>
I tend to get my jobs by having friends who want me to work with them.
09:14
<&jerith>
There's a local recruitment company that a significant fraction of tech jobs go through, but I refuse to use it because "desired salary" is a mandatory field.
09:14
<&jerith>
And I'm not going to give all the negotiating power to the other side.
09:25
<~Vorntastic>
Put $1000000/hr in
09:27
<&jerith>
Then I don't show up in any searches, so I may as well not be there.
09:29
<@abudhabi>
I'd probably put in something like double or triple the rate I would actually work for.
09:30
<&jerith>
The salary I'd be willing to accept depends on g a bunch of things.
09:33
<@abudhabi>
Sure, but you probably can make an educated guess what that figure might look like 2 or 3 standard deviations out from the norm.
09:33
<&jerith>
Do I need to go to an office every day? They'll pay a big premium for that. Is the work something I'd really like to do? I'll settle for less money.
09:35
<&jerith>
More to the point, company A might be willing to pay me a whole lot more than company B. If I set my desired salary in A's range, B won't even bother and A might not be hiring. If I set it in B's range and take A's job, I'm leaving a lot of cash on the table.
09:36
<&jerith>
Maybe company C *thinks* they're only willing to pay me X, but once I demonstrate the value I can provide they'll happily pay me X+Y instead.
09:44
<&Reiver>
I have never had a job I did not have to grind through the CV application and HR interview process, a game of subtle lies and rank hubris that makes me feel like a politician enough I have seriously considered running were it not for my inherent disadvantages.
09:46
<&Reiver>
jerith: I have found that no company will ever spend a penny more than they managed to land you at the first time round
09:47
<&jerith>
Reiver: Exactly. Which is why I don't want to give away what little advantage I might have in the initial negotiations.
09:47
<&Reiver>
I think the inevitable key is to simply go "Right, what's the shittiest job I'm willing to do and how much does that cost" and put that in
09:47
<&Reiver>
Plenty of companies will lowball you
09:48
<&Reiver>
Whether you accept that lowball or not is up to you and the conditions you face.
09:50
<&jerith>
Based on stuff I've read and the experiences of some friends, the way to get a good salary is to have the company make an offer based on what they think you're worth to them, not what they think you'll take.
09:51
<&Reiver>
yup
09:51
<&Reiver>
Of course, my problem is 'what they they think I'm worth' is pretty consistent in HR circles these days
09:52
<&Reiver>
So my pay is pretty much flat and going to stay that way.
09:52
<&jerith>
I you've already said "I'm looking for something around X" they have no reason to offer you the X+Y they're willing to pay. So you then have to try negotiate upwards.
09:52
<&Reiver>
Unless I move into management, or somehow drastically alter my training... which even if I do, my work experience won't back up, sooo
09:52
<&Reiver>
It's all pretty rigidly pay-banded, so you were only gonna get their X anyhow
09:53 * Reiver grumps.
09:53
<&jerith>
Yeah, but that's less true outside the public sector.
09:54
<&jerith>
Nonprofits have different properties that are equally problematic.
09:55
< catalyst>
Hm, I am potentially worth way more than I was previously paid based on my skills
09:58
<&Reiver>
I've only worked corporate and governmental
09:58
<&Reiver>
So their paybands are pretty rigid
09:58
<&Reiver>
I could maybe do vastly different as a consultant
09:58
<&Reiver>
But the projects that would make me able to branch out there are all done by my boss -_-
10:06
<~Vorntastic>
I know my skills are worth more than approximately minimum wage, but I have no evidence anyone will ever even look at a job application with my name on it
10:16
< catalyst>
:<
--- Log closed Sat Dec 14 10:23:39 2019
--- Log opened Sat Dec 14 10:24:18 2019
10:24 TheWatcher [chris@GlobalOperator.Nightstar.Net] has joined #code
10:24 Irssi: #code: Total of 33 nicks [24 ops, 0 halfops, 0 voices, 9 normal]
10:24 mode/#code [+o TheWatcher] by ChanServ
10:24 Irssi: Join to #code was synced in 15 secs
11:15 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
12:28 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
12:30 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
12:30 mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ
13:41 * TheWatcher vaugely hairpulls at the at the unity documentation
13:41
< catalyst>
it has documentation? :O
13:41
<@TheWatcher>
Yes
13:42
<@TheWatcher>
Well, it has a site that has a collection of words that claim to document it
13:42
<@TheWatcher>
And do things like give you examples of doing the exact thing the documentation told you not to do
13:42
<@TheWatcher>
https://docs.unity3d.com/ScriptReference/Time-time.html - for example
13:43
<@TheWatcher>
"try to avoid regular use of Time.time" followed by an example that uses Time.time every frame.
13:52
< catalyst>
honestly I'm amazed it has an example at all
13:53
< catalyst>
the example probably doesn't call it that often tbh
13:53
< catalyst>
assuming C# shortcuts
13:54
< catalyst>
still
13:54
<@TheWatcher>
I'm just going to ignore it and use Time.time anyway, because ffs how else am I supposed to have certain timed states in a FSM
13:54
< catalyst>
what an odd property
13:54
< catalyst>
you ought to be able to get the frame time everywhere x)
13:55
< catalyst>
I suspect they mean don't use it to calculate deltas?
13:55 * catalyst shrugs
13:55
< catalyst>
still odd
13:55
<@TheWatcher>
Hence my hairpulling~
13:55
< catalyst>
loving the unused variable too
13:57 catalyst [catalyst@Nightstar-v6lb30.cable.virginm.net] has quit [[NS] Quit: Leaving]
13:59
<@TheWatcher>
Actually, I could do it the other way around and subtract deltatime, hrm
15:04 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
15:04 mode/#code [+qo Vornicus Vornicus] by ChanServ
15:39
<~Vornicus>
3-dimensionising data: annoying :(
15:58 celticminstrel [celticminst@Nightstar-2kik29.dsl.bell.ca] has joined #code
15:58 mode/#code [+o celticminstrel] by ChanServ
17:29 * Vornicus instead makes a custom indexing property. So much better.
19:46 VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [Connection closed]
19:47 VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code
19:47 mode/#code [+ao VirusJTG VirusJTG] by ChanServ
21:07 bluefoxx [fuzzylombax@Nightstar-gmbj85.vs.shawcable.net] has quit [Ping timeout: 121 seconds]
21:18 bluefoxx [fuzzylombax@Nightstar-gmbj85.vs.shawcable.net] has joined #code
21:22 Tamber [tamber@213.138.113.176] has quit [The TLS connection was non-properly terminated.]
21:25 * TheWatcher eyes xml documentation comments, eghs
21:29
<@TheWatcher>
So much more gumph than doxygen
21:32 Tamber [tamber@furryhelix.co.uk] has joined #code
21:32 mode/#code [+o Tamber] by ChanServ
21:36 Tamber_ [tamber@furryhelix.co.uk] has joined #code
21:49 Tamber_ [tamber@furryhelix.co.uk] has quit [[NS] Quit: ~~+++~~ATH]
22:14
<&McMartin>
Yeah :/
22:15
<&ToxicFrog>
Welp
22:15
<&McMartin>
The Hell of it is that code docs are the kind of thing that XML would theoretically be good at, being more text than markup
22:15
<&ToxicFrog>
I just realized I need to completely rethink the design of libttysound if I'm going to support OSC666 embedded sounds
22:15 Vorntastic [uid293981@Nightstar-2dc.p8m.184.192.IP] has quit [[NS] Quit: Connection closed for inactivity]
22:15
<&McMartin>
What's OSC666?
22:16
<&ToxicFrog>
A custom OSC extension I've added to the browser-based doomrl client
22:16
<&ToxicFrog>
(OSC == Operating System Commands, a category of terminal control code)
22:17
<&ToxicFrog>
OSC 666 ; 1 ; <sound name> BEL is ignored by "real" ttys but tells the web clients to play /sfx/<name>.flac
22:17
<&ToxicFrog>
(to back up a bit, the purpose of this project is to add actual sound to doomrl-by-web, supplementing the closed captions it already has)
22:18
<&McMartin>
Aha
22:18
<&McMartin>
Thus OSC 666.
22:18
<&ToxicFrog>
This is somewhat complicated by both the way libttysound (the SDL_Mixer shim that does the closed captioning) works and the way DoomRL uses SDL_Mixer (it calls Mix_PlayChannelTimed() first and then immediately calls Mix_SetVolume() and Mix_SetPanning(); my code uses the Mix_SetPanning() call as the "done setting up sound effects, render to screen now" marker)
22:19
<&ToxicFrog>
(however, it never gets called for menu sounds, and in any case we want to avoid playing the same sound multiple times)
22:19
<&ToxicFrog>
indeed.
22:19
<&ToxicFrog>
It's thematically appropriate and high enough that it's unlikely to collide with any present or future uses of the OSC command space (which currently extends into the low 100s)
22:23
<&ToxicFrog>
I think I'm going to have to add support for embedding multiple sounds in a single closed caption file, "display" sounds that are rendered to the tty later, possibly multiple times, and "immediate" sounds that are rendered immediately and then discarded.
22:24 Derakon[AFK] is now known as Derakon
22:47 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
22:54
<&ToxicFrog>
Perhaps I should re-re-write this in Rust.
22:54
<&ToxicFrog>
NO. BAD BRAIN.
22:56
<&McMartin>
I'd really like to see Rust used more to write things instead of rewriting things~
23:02
<&ToxicFrog>
McMartin: well, I originally wrote this in Rust
23:02
<&ToxicFrog>
Then I concluded that the value of being able to use Rust for the internals did not outweigh the annoyance of needing to use Rust to exactly mimic the API and ABI of an existing C library that this is an LD_LIBRARY_PATH replacement for
23:03
<&ToxicFrog>
So I rewrote it in C
23:03
<&ToxicFrog>
Since I did that, it has regrettably tripled in size and the calculus on "simpler core vs. more complicated edges" may be different now.
23:03
<&McMartin>
Yikes
23:04
<&ToxicFrog>
(doomrl closed captions are implemented by replacing SDL_mixer.so with something that's ABI-equivalent but writes to the tty instead)
23:06
<&[R]>
How hard is it to make something ABI-equivalent?
23:27 * ToxicFrog screams and screams and screams
23:27
<&ToxicFrog>
I just spent like an hour trying to debug why menu sounds weren't working properly, including quite a lot of time in gdb
23:27
<&ToxicFrog>
The culprit is this line in the closed captions config file:
23:27
<&ToxicFrog>
MenuSound = false
23:28
<&[R]>
D:
23:35
<@TheWatcher>
... ouch
23:39 * Alek snerks.
23:40
< Yossarian>
<&ToxicFrog> The culprit is this line in the closed captions config file:
23:40
< Yossarian>
why is it in there?
23:40
< Yossarian>
like get stoned or have a drink and step back and ask yourself why is toggling the sound in a closed captions configuration file?
23:41 Kindamoody is now known as Kindamoody[zZz]
23:41
<&ToxicFrog>
Yossarian: because menu sounds are played using a slightly different API that, until today, libttysound did not support at all
23:42
<&ToxicFrog>
So if you want to use it, the configuration forces menu sounds off, since they are not supported and attempting to play them will, in fact, break the game
23:42
< Yossarian>
it should be the other way around, if possible, the closed caption option should be in the sound config file, because this isn't Gaulladet or NTID
23:42
< Yossarian>
and sound is beatiful
23:42
<@Alek>
as a deaf person, agreed.
23:43
< Yossarian>
I'm just saying
23:43
<@Alek>
and I'm agreeing.
23:43
<&ToxicFrog>
Closed caption support -- as I mentioned above -- is implemented via a hack that replaces libSDL_mixer.so (the library the game normally uses for sound playback) with a library that displays captions in the terminal instead.
23:44
<&ToxicFrog>
In order for this to function at all, the game's sound settings need to be set fairly carefully, or you can expect memory leaks at best or abort("not implemented") at worst.
23:44
<&ToxicFrog>
So, a configuration file is provided that forces the correct settings.
23:44
<&ToxicFrog>
Until earlier today, one of those settings had to be disabling menu sound.
23:44
< Yossarian>
bah humbug to that but closed caption output to console is interesting side-effect
23:46
<&ToxicFrog>
I completely agree that having this feature built into the game would be a significant improvement. Perhaps one day I will learn enough freePascal to implement that. (At the time I originally wrote this the game was closed-source, but that is no longer true.)
23:47
<&ToxicFrog>
But for now, I work with what I have.
23:48
< Yossarian>
On the other-other hand, kudos for implementing some CC
23:50
<&ToxicFrog>
I originally wrote this because I was playing a lot of DoomRL over telnet, since sound is a significant part of the game, mechanically
23:51
<&ToxicFrog>
Since then it's expanded a bunch, and I know there's at least two deaf players who use it to play locally (which is why it has a slightly hacky alternate mode that displays it in the window title, for people using tiles)
23:56 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
23:58
< Yossarian>
sorry, I was accessing my brain's memory regarding the topic of the deaf / HoH, NTID, RIT, ASL fundamnetals because I'm drinking. It's the weekend.
--- Log closed Sun Dec 15 00:00:13 2019
code logs -> 2019 -> Sat, 14 Dec 2019< code.20191213.log - code.20191215.log >

[ Latest log file ]