code logs -> 2018 -> Wed, 28 Nov 2018< code.20181127.log - code.20181129.log >
--- Log opened Wed Nov 28 00:00:05 2018
--- Day changed Wed Nov 28 2018
00:00
<&[R]>
I'm sure the lead dev for backets.io is
00:01
<@Alek>
I kinda meant in here. :P
00:04
<&[R]>
"lightweight" "runs in browser"
00:06
<&[R]>
...
00:07
<&[R]>
"lightweight" "written by ADOBE"
00:07
<&[R]>
I find that claim incredibly dubious
00:11 Kindamoody|afk is now known as Kindamoody
00:11
<@Alek>
written in javascript, yet...
00:50 * iospace mauls Alek and [R]
00:52 celmin|away is now known as celticminstrel
00:53
<@celticminstrel>
McM: I kinda meant reading the file in my own program in order to extract a PICT image.
00:54
<&McMartin>
Oh
00:54
<&McMartin>
Uh, I can post the python script I used, I guess...
00:55
<@celticminstrel>
Does it use the struct module? If so I suppose it could be useful to see...
00:55
<@celticminstrel>
The program in question is written in C++, so I can't use any of the code directly, but...
00:56
<&[R]>
iospace: ?
00:56
<&McMartin>
Yeah, it's python with struct
00:56
<&McMartin>
http://mirror.informatimago.com/next/developer.apple.com/documentation/mac/MoreToolbox/MoreToolbox-99.html was the reference I used
00:56
<@iospace>
don't mind me
00:56
<@iospace>
:D
00:56
<&McMartin>
But it's slightly inaccurate about the where the type list starts
00:56
<&McMartin>
So here was my resource enumerator
00:57
<@celticminstrel>
Another thing that would be nice to have is documentation of sit files, though I imagine that might be a bit harder to find...
00:58
<&McMartin>
https://gist.github.com/michaelcmartin/1014b62787f2d8f5305d4a1c0d499ca4
00:58
<&McMartin>
Yeah, I think .sit was proprietary
00:58
<@celticminstrel>
Exactly...
00:59
<&McMartin>
Anyway, that gist would take a binary representation of the resource fork and then pick it apart
00:59
<&McMartin>
If you look at the part where it's reading the length of a resource, that many bytes after the length is the resource itself.
01:27
<@Alek>
can someone please explain this to me?
01:27
<@Alek>
https://www.w3schools.com/tags/att_textarea_dirname.asp
01:28
<@Mahal>
Presumably relevant if you allow for RTL text input.
01:29
<@Alek>
ok, that's enough info in that direction, thanks.
01:29 * Alek eyes this simple mail-form code.
01:29
<@Alek>
how to make it add a subject and send automatically without popping up the mail window?
01:30
<@Alek>
also, how do I make textarea NOT resizeable by mouse in the window?
01:31
<@Alek>
do I need to use the php version after all? I was hoping to avoid that.
01:36
<@Alek>
*sighs* looks like yes, I do need php.
01:37
<&[R]>
<Alek> how to make it add a subject and send automatically without popping up the mail window? <-- You mean how do you make it silently spam emails without letting the user know?
01:37
<@Alek>
btw, brackets seems to work just fine so far. decent wysiwyg and pretty good inline support for an attached css stylesheet, as well.
01:37
<@Alek>
R: ha. good point.
01:53 * Alek gives in, uses a jquery/php combo, will have to learn enough php to make sure it's working once hosted somewhere.
01:54
<@Mahal>
You will find *very* quickly that one of two things happen
01:54
<@Mahal>
1) it's rekt by scammers/spammers
01:54
<@Mahal>
2) your host takes it down
01:54
<@Mahal>
or both
02:03 * Alek GLARES at this couple of containers that insist on going on the left side of the window in spite of all he can do to center them.
02:03 * Alek also glares at this other container that insists on overlapping the one above it.
02:16 * Alek ALSO ALSO glares at the new form code, which added a ton of empty lines and he can't figure out how, or how to remove them.
02:16 * Alek sighs.
02:18
<&ToxicFrog>
Aah, GUI programming
02:18
<@Alek>
HTML, but close enough. >_>
02:22 * Alek looks at the growing list of requirements for testing this out on his own machine...
02:22
<@Alek>
what would you guys recommend for Baby's First Webserver? >_>
02:23
<@Mahal>
<cynical> these days I'd say "don't"
02:25
<&ToxicFrog>
Alek: if you just want static file serving, no server-side execution, nginx
02:25
<@Alek>
well, I'm gonna want php installed to test it, so that's some server-side execution, innit?
02:26
<&ToxicFrog>
Yes.
02:26
<&ToxicFrog>
You are entering a nightmare world from which there is no waking.
02:26
<&ToxicFrog>
Good luck.
02:26
<@Alek>
hah.
02:26
<@celticminstrel>
XD
02:26
<&[R]>
nginx + php-fpm works fine
02:27
<&[R]>
nginx supports FastCGI, php-fpm is PHP's official FastCGI server
02:28 * Alek has even more complicated stuff down the line for this project alone. like a login with a code, not user+pass, to take people to a login area specified by the code. (couple-months temporary galleries for clients to view their photographs at and download them.)
02:28 * Alek has had enough wrangling for the evening, though.
02:28
<@Alek>
thanks muchly
02:28
<&[R]>
If you want some non-PHP backend (nodejs, ruby, or python specifically) Phusion Passenger can be used as an nginx module that lets you run app-servers that it'll manage
02:29
<@Alek>
funny how that shortens to PhP, innit? :P
02:29
<&[R]>
*shrug*
02:30 * Alek shrugs too.
02:30
<@Alek>
NOT having a good week, so far.
02:57 Kindamoody is now known as Kindamoody[zZz]
04:06
<@celticminstrel>
I wonder if there's a way in PowerShell to ask the shell to wait for the process to terminate.
04:06
<@celticminstrel>
(A non-console process, in particular; if it's a console process it always waits anyway.)
04:07
<@Mahal>
which process are you asking it to wait for?
04:07
<@celticminstrel>
Wesnoth.
04:08
<@Mahal>
get powershell to query for the process then go from there?
04:08
<@celticminstrel>
...sounds complicated.
04:08
<@celticminstrel>
FTR, the process is launched from the shell too.
04:09
<@celticminstrel>
But then it immediately gives control back to the shell.
04:09
<@Mahal>
get-process ?
04:10
<@celticminstrel>
If PowerShell supports && the same as bash does, then I suppose I could do something like "wesnoth && wait-for-wesnoth"...
04:10
<@celticminstrel>
Or even just "wesnoth; wait-for-wesnoth" assuming it supports that.
04:11
<@celticminstrel>
&& wouldn't even make sense if it's not waiting for it, anyway...
04:11
<@Mahal>
while (get-process wesnoth).status notlike $null or something
04:11
<@celticminstrel>
Hmm. Okay, I'll give that a try later.
04:30 Derakon[AFK] is now known as Derakon
04:40 celticminstrel is now known as celmin|sleep
05:09 himi [sjjf@Nightstar-1drtbs.anu.edu.au] has quit [Ping timeout: 121 seconds]
05:31 Derakon is now known as Derakon[AFK]
05:39 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
05:44 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
06:54 macdjord is now known as macdjord|slep
07:14 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
07:14 mode/#code [+o himi] by ChanServ
09:19 Kindamoody[zZz] is now known as Kindamoody
10:21 Kindamoody is now known as Kindamoody|afk
13:48 You're now known as TheWatcher[d00m]
13:58 celmin|sleep is now known as celmin|away
15:01 You're now known as TheWatcher
16:49 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
17:17 Kindamoody|afk is now known as Kindamoody
17:56 macdjord|slep is now known as macdjord|wurk
18:05 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
18:08 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
18:09 mode/#code [+o himi] by ChanServ
18:19 Vash [Vash@Nightstar-sjaki9.res.rr.com] has joined #code
18:24 Vash is now known as WhatInVornation
19:11 WhatInVornation [Vash@Nightstar-sjaki9.res.rr.com] has quit [Connection closed]
19:13 Vash [Vash@Nightstar-sjaki9.res.rr.com] has joined #code
19:13 Vash is now known as WhatInVornation
19:48 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
21:04 WhatInVornation [Vash@Nightstar-sjaki9.res.rr.com] has quit [The TLS connection was non-properly terminated.]
21:41 himi [sjjf@Nightstar-1drtbs.anu.edu.au] has joined #code
21:41 mode/#code [+o himi] by ChanServ
22:35 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
23:16 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
--- Log closed Thu Nov 29 00:00:09 2018
code logs -> 2018 -> Wed, 28 Nov 2018< code.20181127.log - code.20181129.log >

[ Latest log file ]