code logs -> 2018 -> Fri, 06 Apr 2018< code.20180405.log - code.20180407.log >
--- Log opened Fri Apr 06 00:00:38 2018
00:36 celticminstrel [celticminst@Nightstar-m1ak9t.dsl.bell.ca] has joined #code
00:36 mode/#code [+o celticminstrel] by ChanServ
01:26 Jessikat` [Jessikat@Nightstar-7uckn4.dab.02.net] has quit [The TLS connection was non-properly terminated.]
01:26 Jessikat` [Jessikat@Nightstar-7uckn4.dab.02.net] has joined #code
01:32 Kindamoody is now known as Kindamoody[zZz]
01:34 Derakon[AFK] is now known as Derakon
01:44
<&[R]>
http://rachelbythebay.com/w/2018/04/05/bangpatch/
01:46
<&McMartin>
This is why we can't have nice things
01:58 Jessikat`` [Jessikat@Nightstar-p8j9lm.dab.02.net] has joined #code
01:58 gnolam_ [lenin@Nightstar-ego6cb.cust.bahnhof.se] has joined #code
01:58 gnolam_ [lenin@Nightstar-ego6cb.cust.bahnhof.se] has quit [The TLS connection was non-properly terminated.]
02:00 Jessikat` [Jessikat@Nightstar-7uckn4.dab.02.net] has quit [Ping timeout: 121 seconds]
02:01
<&ToxicFrog>
wait, patch runs ed? wtf
02:01
<&[R]>
Not the OpenBSD one
02:01
<&[R]>
Anymore anyways
02:02
<&McMartin>
I'm starting to think that one disadvantage of the "collection of very general small sharp tools" philosophy is that these tools are then used.
02:02
<&[R]>
lol
02:02
<&[R]>
IMO it's better than the alternatives
02:03
<&McMartin>
Which, to make it less sarcastic sounding - a direct consequence of that is that all tools end up more general than one would actually like them to be.
02:03
<&[R]>
Since you can replace a tool on a tool by tool bassis
02:03
<&McMartin>
Yeah. The problem here is not "small" or "sharp" but "very general".
02:03
<&[R]>
In that they always have more capability than you expect them to?
02:03
<&McMartin>
Well, hm
02:04
<&McMartin>
There isn't any power there that I wouldn't expect from ed
02:04
<&McMartin>
But because patch is implemented in terms of ed, that means that now patch has power I wouldn't expect
02:04
<&McMartin>
and "this innocuous-looking thing has power I wouldn't expect" is entirely too many vulnerabilities.
02:04 * Alek snickers.
02:04
<&[R]>
Ah
02:05
<&McMartin>
Including at minumum all XSS, code injection, and format string vulnerabilities
02:05
<&McMartin>
minimum, even
02:05
<&[R]>
Then if you use say bc in a script to calculate something, you might not realize that bc can do loops and print strings.
02:05
<&[R]>
As an example
02:05
<&McMartin>
And so you might pass user input into it.
02:05
<&[R]>
Yeah
02:06
<&McMartin>
Or, for the format string vuln: a lot of people didn't realize that printf's spec included writing arbitrary memory
02:06
<&[R]>
Yup
02:07
<&[R]>
Hmm. I wonder if PHP's printf actually passes stuff to vsprintf.
02:07
<&McMartin>
I was going for the cheap laugh in the initial phrasing, but there's a serious point there too.
03:30 Tamber_ [tamber@furryhelix.co.uk] has joined #code
03:32 Tamber [tamber@furryhelix.co.uk] has quit [Ping timeout: 121 seconds]
04:02 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Ping timeout: 121 seconds]
04:05 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
04:05 mode/#code [+o Alek] by ChanServ
04:39 * McMartin grumps
04:39
<&McMartin>
Apparently actually updating the screen properly will take more than one frame.
04:39
<&McMartin>
I think I have room to double-buffer it but it'll be inconvenient.
04:41
<&McMartin>
Even with BLAST PROCESSING it can only blit 12KB a frame. Not quite that, even.
05:06 Derakon is now known as Derakon[AFK]
05:11 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code
05:11 mode/#code [+qo Vornicus Vornicus] by ChanServ
05:22
<&[R]>
Anyone know of free options to host a static website?
05:32 celticminstrel [celticminst@Nightstar-m1ak9t.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
05:54 Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Connection closed]
06:04 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Ping timeout: 121 seconds]
06:08 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
06:08 mode/#code [+o Alek] by ChanServ
06:11 Jessikat`` [Jessikat@Nightstar-p8j9lm.dab.02.net] has quit [[NS] Quit: Bye]
06:13 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Connection closed]
06:17 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
06:17 mode/#code [+o Alek] by ChanServ
06:43 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds]
06:45 Vornlicious [Vorn@Nightstar-otb713.sub-174-211-11.myvzw.com] has joined #code
06:48 Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds]
07:16 Vornlicious [Vorn@Nightstar-otb713.sub-174-211-11.myvzw.com] has quit [[NS] Quit: Bye]
07:16 Vorntastic [Vorn@Nightstar-otb713.sub-174-211-11.myvzw.com] has joined #code
07:18 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code
07:18 mode/#code [+qo Vornicus Vornicus] by ChanServ
07:23 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds]
11:16 Kindamoody[zZz] is now known as Kindamoody
12:26
<&ToxicFrog>
[R]: how big, and what kind of uptime, performance, and load requirements do you have?
12:27
<&ToxicFrog>
The three options that come immediately to mind are self-hosting, running nginx on the GCP free tier (which gives you an itty bitty VM and 30GB of storage), or (if you have no deletion requirements) shoving it into IPFS and pointing at one of the public IPFS gateways
12:50 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
13:07 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
14:38
< Vorntastic>
GitHub also has some free web hosting for static stuff, the GitHub.io thing
14:38
<&ToxicFrog>
Oh right, I keep forgetting about that
14:38
<&ToxicFrog>
That's probably a better choice than any of my ideas
14:41
< Vorntastic>
They do surprise a little - you *must* specify an encoding for your HTML files for instance or it won't put them public
15:37 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code
15:37 mode/#code [+qo Vornicus Vornicus] by ChanServ
15:38 Vornlicious [Vorn@Nightstar-6bdal6.sub-97-33-195.myvzw.com] has joined #code
15:38 Pandevornium [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code
15:41 Vorntastic [Vorn@Nightstar-otb713.sub-174-211-11.myvzw.com] has quit [Ping timeout: 121 seconds]
15:42 Vornlicious [Vorn@Nightstar-6bdal6.sub-97-33-195.myvzw.com] has quit [Ping timeout: 121 seconds]
15:52
<~Vornicus>
"At this position, the distance between consecutive floats in the x dimension is 0.0005, and in the z dimension it's 0.00003. To put this into perspective, inputting the minimum forward input for just one frame moves Mario 0.001 units forwards, which is 100 times less precise than the precision we need."
15:52
<&ToxicFrog>
Context?
15:53
<~Vornicus>
pannenkoek is at it again, with a div/0 crash from bully knockback in mario 64
15:53
<&ToxicFrog>
pannenkoek?
15:54
<~Vornicus>
the A Button Challenge guy, who has figured out more about Mario 64 than basically anyone in his attempt to complete the game without pressing the A button.
15:54
<~Vornicus>
(he's gotten 100% down to 28 A button presses)
15:54
<&ToxicFrog>
Aah
15:57
<~Vornicus>
But in order to do it he has to manage to get to exactly 0 horizontal distance, avoid getting knocked out of the hitbox by being near oob, and then actually get knocked back. https://www.youtube.com/watch?v=8jd3A2euOjg
16:54
<@abudhabi>
OK, so I'm trying to customize a tablet of mine. Mostly, I want to get rid of anything that requires a Google account to work.
16:55
<@abudhabi>
Is there anyplace I can learn about that, that doesn't seem written by a 13 year old with a shaky command of English?
17:37 Degi [Degi@Nightstar-kmhm4b.dyn.telefonica.de] has joined #code
17:41 Tamber_ is now known as Tamber
17:41 mode/#code [+o Tamber] by ChanServ
18:02 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds]
19:13
<&McMartin>
I just noticed something that it's unusual it's taken me this long to notice.
19:13
<&McMartin>
I've been repeatedly burned by people who pay attention to Unix tools that talk about converting text files to "Mac format" despite the fact that Macs have not used "Mac" format for over 17 years
19:13
<&McMartin>
But it's not just that; \r\n to those tools is "DOS format".
19:14
<&McMartin>
These markers haven't changed since 1994 at the absolute latest.
19:20
<&ToxicFrog>
The tool names `dos2unix` and `mac2unix` may not be accurate any more but an awful lot of scripts will break if they change to `crlf2lf` and `cr2lf` :P
19:20
<&ToxicFrog>
(also I would argue that CRLF is "DOS format", it's just that windows also uses it)
19:20
<&McMartin>
I'm really more referring to the menu options in interactive programs.
19:20
<&McMartin>
In fact, having just checked
19:21
<&[R]>
ToxicFrog: Wasn't for me. A non-technical person wanted to do a mock-up update to their company's website (as the current layout is causing confusion with their users).
19:21
<&McMartin>
macOS's own version of nano will let you convert to what it calls "Mac format" and which your Mac will dislike intensely if you do
19:21
<&ToxicFrog>
MacOS, or OSX?
19:22
<&ToxicFrog>
If the former, I didn't realize there was a build of nano for it.
19:22
<&McMartin>
OSX becames macOS with 10.12.
19:22
<&ToxicFrog>
Aah.
19:22
<&ToxicFrog>
How confusing.
19:22
<&McMartin>
Mac OS note space and capital M in fact did use bare \r, like all home computers of the 1984 era
19:23
<&McMartin>
However, Mac OS has not been what runs on Macs for over 17 years
19:24
<&McMartin>
Also, while I don't have a Windows machine handy ISTR that Notepad++ also names \n and \r "UNIX" and "Mac", but I think it calls crlf "CRLF".
19:25
<&ToxicFrog>
Ideally here I think the answer would be "LF", "CR", and "CRLF", since as a rule anyone who cares about line ending format will know what those mean
19:25
<&McMartin>
Yeah, and I'm pretty sure that NP++ actually has that but also puts in parenthetical comments
19:28
<&ToxicFrog>
tfw the tests suddenly start passing
19:31 * McMartin ponders
19:31
<&McMartin>
Is it a good feeling or a bad feeling?
19:32
<&ToxicFrog>
I wasn't expecting them to start passing, so it's a what-have-I-missed feeling.
21:22 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code
21:22 mode/#code [+qo Vornicus Vornicus] by ChanServ
21:23 bowlich [bowlich@Nightstar-su4ao3.kynda.net] has quit [Connection closed]
21:35 bowlich [bowlich@Nightstar-su4ao3.kynda.net] has joined #code
22:21 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Ping timeout: 121 seconds]
22:25 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
22:25 mode/#code [+o Alek] by ChanServ
23:04
<&McMartin>
Yikes, my surge protector gave me a loud spark when I tried to plug my laptop into it
23:04
<&McMartin>
I think I'll go plug it in somewhere else.
23:04
<&McMartin>
Nothing appears to be on fire, at least.
23:07
< Degi>
My outlets spark blue when I put my laptop charger in...
23:07
< Degi>
I think the capacitor is directly connected to the rectifier.
23:07
<&McMartin>
I think it was the loudness that made me unhappy about this.
23:07
< Degi>
Ye mine makes a tiny bang-like sound when I plug it in
23:11
<@gnolam>
Transformers.
23:11
<@Alek>
Robots in disguise!
23:11
<&McMartin>
Be that as it may, it seems the other surge protectors like this charger more.
23:12
<&McMartin>
So I'll leave it over there
23:12
<&McMartin>
"It may be an indictment of Clojure's friendliness to beginners, or it might be that Clojure is the language for cranky, old, tired developers"
23:13
<&McMartin>
*huge burst of applause*
23:13
<&ToxicFrog>
\whynotboth
23:13
<&ToxicFrog>
As much as I like Clojure it really isn't friendly to beginners
23:14 Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
23:27
<&McMartin>
That's from this talk: https://www.youtube.com/watch?v=2V1FtfBDsLU
23:33
<@gnolam>
(Computer power supplies are just fancy transformers. Transformers work through induction. Induced current is proportional to di/dt. Breaking or closing a circuit means di/dt -> ∞/-∞. Thus: sparks.)
23:34
<@gnolam>
*voltage
23:34
<&McMartin>
Yeah. Which in turn means "that plug or that socket was a bit misshapen and wouldn't maintain a clean contact on the way in"
23:40
< Degi>
Well, they got like an input capacitor which sometimes makes a bang unless they got a surge current limiter (that's why my 3 kW PSU never flipped the breaker, whereas a small 150 W PSU did).
23:50 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
--- Log closed Sat Apr 07 00:00:40 2018
code logs -> 2018 -> Fri, 06 Apr 2018< code.20180405.log - code.20180407.log >

[ Latest log file ]