github.com/moarvm/moarvm | IRC logs at irclog.perlgeek.de/moarvm/today
Set by moderator on 1 September 2013.
00:13 FROGGS joined 00:16 benabik joined 00:38 FROGGS joined 00:58 benabik joined
dalek arVM/gcorch: d77cd3a | diakopter++ | / (11 files):
wip
01:08
diakopter benabik: ^ nice commit message ;) 01:09
benabik heh
diakopter you like the diff? lots of changes. 01:10
and lots of breakage currently 01:11
benabik gcorch?
diakopter gc orchestration 01:12
coordination of threads
jnthn will be *much* happier with the new stuff. 01:13
I kindof bungled it previously
now it's starting to look like real software
orchestration.c that is.
run.c still needs work
orchestrate.c I mean
bbl 01:14
01:35 benabik joined
ingy benabik: ping 03:29
benabik ingy: pong
ingy :D 03:30
gist.github.com/ingydotnet/6472496
look at that a sec
would you agree that api.github.com is broken
benabik ETag not changing?
That's less than ideal. 03:31
ingy or am I broken?
benabik Yeah, no that's broken. 03:34
If the Etag hasn't changed, the content shouldn't have changed. 03:35
03:41 FROGGS joined
ingy right! 03:41
the content is completely correct, and different, but with the same etag 03:42
JimmyZ Good morning 03:49
diakopter ingy: I bet if you report it they'll fix it quickly 03:58
ingy diakopter: I'm not so sure 04:01
Thanks for getting in touch. Since our ETags use strong validation [1], it seems like they should indeed change as you've described. Thanks for pointing this out.
I'm adding this to our Wish List of enhancements. That list is getting quite long at the moment, so I don't know for sure when/if our small API team will be able to ship this enhancement. But, it's definitely on our radar.
Thanks again for the suggestion!
this was about another less important but related bug
to be honest, nothing about programming seems to irk me as badly and often as the github bug reporting process 04:11
04:12 FROGGS joined
ingy I've screamed at them (via email and irc and even their reporting system) many times about how infuriating it is to work through their closed system 04:12
look at this: github.com/contact 04:13
would you even think that is a bug reporting system?
I love the new "I need help with an order from shop.github.com" checkbox in the middle 04:14
makes me want to go to SF with a sawed-off shotgun :\\ 04:15
ingy needs a cocktail :[
brb
ingy wonders if a Rolling Rock tallboy counts as a cocktail… 04:17
*cheers*!
JimmyZ ../moarvm nqp.moarvm --target=mbc t/nqp/01-literals.t 04:31
This representation (SCRef) does not support elems
JimmyZ doesn't know why make selftest all fails only on x86 04:57
benabik Memory layout change hitting a GC bug? 05:06
05:17 FROGGS joined 05:53 not_gerd joined
not_gerd o/ 05:53
JimmyZ \\o 06:21
FROGGS o\\ 06:26
dalek arVM: 175faaa | (Gerhard R)++ | build/Makefile.in:
Implement MVM_platform_cpu_count()

Untested on non-windows (as in, might not even compile).
If so, please provide a fix or remove the offending file from PLATFORM_POSIX in build/Makefile.in
06:42
not_gerd oO( I like the smell of breaking master in the morning )
ups.. 06:45
forgot to add the new files
dalek arVM: 78b5015 | (Gerhard R)++ | src/platform/ (4 files):
Actually add new files
06:46
JimmyZ ha. 06:54
FROGGS builds moarvm on a fresh windows 7 box 07:36
JimmyZ x86 box? 07:58
FROGGS inter::progs - Determine what C compiler and linker to use...Compilation 08:04
failed with 'cl'
Command failed (status 256): C:\\Perl64\\bin\\perl.exe Configure.pl --optimize --pr
efix="C:/MoarVM/nqp-cc/nqp/install"
no x64
can't configure parrot
I'll try my win xp x86 box later, but this one has other problems I need to fix first 08:05
maybe my windows 7 box is missing some windows sdk? 08:06
08:32 not_gerd_ joined
dalek Heuristic branch merge: pushed 17 commits to MoarVM/validation by gerdr 08:42
not_gerd Bytecode validation error: callsite expects 65532 more positionals 09:10
so, I guess I should look into named args ;)
why isn't MVM_CALLSITE_ARG_FLAT_NAMED == MVM_CALLSITE_ARG_FLAT | MVM_CALLSITE_ARG_NAMED 09:27
jnthn: ^^ 09:28
jnthn 'cus you process a flattening named arg more like a positional (one slot in the *args) rather than a named (two lots in the *args, a name constant and a value). 09:33
*slots
not_gerd that's highly relevant to what I'm doing 09:34
jnthn And changing it would mean you can't look for MVM_CALLSITE_ARG_FLAT and know there's a name followed by a value in the args buffer. 09:35
JimmyZ btw: make selftest all failes only on x86. make test and make nqptest not
jnthn JimmyZ: Then, some debugging or bisecting is needed...
JimmyZ e 09:36
not_gerd jnthn: I'm assuming we don't generate NAMED | FLAT (more) 09:39
so we have regular and FLAT_NAMED args taking 2 slots and NAMED args taking 1 slot
jnthn um, wrong way around, no?
not_gerd yes ;) 09:40
jnthn FLAT_NAMED = a positional that needs flattening later, NAMED = two slots...
not_gerd should probably just peek at args.c
jnthn And no, you won't get FLAT_NAMED and NAMED set on the same thing.
Well, shouldn't :) 09:41
not_gerd I'll be able to tell you if we do soon-ish 09:43
jnthn :)
not_gerd just to make extra sure: FLAT_NAMED does contribute to num_pos? 09:47
jnthn not_gerd: Correct
Reading bytecode.c around 492 may help clear things up 09:48
not_gerd I'm probably good
10:16 donaldh joined
FROGGS jnthn: except vs2012express, git and activeperl, do I need something else to build parrot on win7 ? 10:25
jnthn FROGGS: Think that's what I use...though maybe I'm on the 2010 toolchain...
FROGGS yeah, maybe it is just that...
jnthn Well, I think it's 2012 on my laptop and it works... 10:26
FROGGS hmmm
jnthn x64 probably though
FROGGS correct
using an 64bit activeperl 10:27
(running configure in the vs developer console)
jnthn aye, that's what I use... 10:28
Are you getting issues?
FROGGS yeah, see clogs from about 10am
jnthn huh, I have to read...
10:28 Guest1337 joined
jnthn oh, huh... 10:29
FROGGS: I've sometimes seen that happen randomly, and a second attempt works...
FROGGS: But, type
cl
And hit enter
Does it find something?
FROGGS I get its help msg, yeah
jnthn ok, so it's not that it's missing...
FROGGS I think I'm debugging parrot's build system after lunch, so I know what commands it is trying to run 10:30
jnthn I think it's meant to spit out a file saying how it failed 10:31
Try Configure with --verbose maybe
FROGGS k, thanks 10:32
dalek arVM/validation: b87a6e3 | (Gerhard R)++ | src/core/validation.c:
Validate number of positional arguments
10:36
FROGGS jnthn: what is th equivalence of LC_ALL=C for windows? 10:38
I think it tries to link to 32bit libs for x64 target 10:39
not_gerd validation branch is ready for review, I believe 10:42
jnthn FROGGS: Hm, I don't have anything that looks like that... There are typically x86 and x64 shells with some stuff set up directly... 10:43
not_gerd error messages need to be made more helpful and we might decide to get rid of the flexibility pf validate_block/validate_sequence
but selftest validates correctly and we should catch strictly more errors than master 10:44
jnthn peers curiously at what the new bithacks.h is... 10:47
not_gerd well, right now just bit counting
lunch&
jnthn +#error "Unsupported platform" 10:48
Might be a little nicer to say wat ain't supported, or even warn and have it provide a wild guess
Oh wow, windows. Great API. Count the darn bits!! 10:49
FROGGS jnthn: that is what I got, dont know how to produce english error messages gist.github.com/FROGGS/20fd21255473fe1c5684 11:06
jnthn OH NEINS ES IST IN KONFLIKT! 11:08
FROGGS *g*
go ahead, make fun of me :P
jnthn Just your langauge :)
I'm wondering if you have a x64 environment, but if it's puling config from a 32-bit ActivePerl, or vice versa 11:09
FROGGS my perl is x64 11:11
not_gerd FROGGS: can you get at the actual compiler/linker invocation via --verbose-step=... ?
jnthn: just be happy that I did not go with the windows API that supports more than 64 logical CPUs: msdn.microsoft.com/en-us/library/wi...85%29.aspx 11:12
if someone wants it, they can implement it themselves ;)
FROGGS not_gerd: you mean this? gist.github.com/FROGGS/20fd21255473fe1c5684 11:13
jnthn whoa :)
not_gerd FROGGS: I missed the link line in that gist 11:15
but yes, that is waht I wanted to look at
FROGGS: does `echo %CURRENT_CPU% %TARGET_CPU%` tell you anything interesting? 11:20
FROGGS C:\\MoarVM\\nqp-cc\\nqp\\parrot>echo %CURRENT_CPU% %TARGET_CPU% 11:21
%CURRENT_CPU% %TARGET_CPU%
PROCESSOR_ARCHITECTURE=AMD64 11:22
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
this is from my env
CURRENT_CPU etc is not set
not_gerd the Windows SDK shell sets those 11:24
FROGGS I use the developer command prompt... 11:25
not_gerd do you have a LIBPATH set? 11:26
FROGGS LIB is set
ohh, and libpath too, yeah 11:27
not_gerd o/ 12:21
12:21 not_gerd left
FROGGS damn, vs2010 doesnt work for me either :/ 12:30
seems like it is the same issue
jnthn FROGGS: Did yo check to see if your activeperl is 32 or 64? :) 12:33
FROGGS jnthn: it is still 64 bits, I counted them all you see :o)
it is not that urgent though, I just wanted to have another test platform 12:36
gah, that windows xp is screwed up too 12:48
the cmd window closes when I execute vcvars32
JimmyZ what's your error? 12:50
FROGGS no error, the window just closes 12:52
it did that too when I executed `git` instead of `git.exe`, re-installing git helped here 12:53
jnthn beer & 13:33
FROGGS meh 14:43
FROGGS has no beer at home
tadzik heh. I wanted to say "what, this early in the morning?" but it's almost 5 PM 14:54
FROGGS if somebody with win7 could paste the out of the following, it would be super awesome: perl.exe Configure.pl --optimize --verbose --prefix="C:/MoarVM/nqp-cc/nqp/install" 15:30
(possibly agjust the prefix) 15:31
diakopter FROGGS: well, I have win8 15:47
FROGGS :/ 15:48
diakopter but it shouldn't be any different for this
FROGGS but I think I know a workaround now
diakopter FROGGS: why you running vcvars32
FROGGS well, would be nice if you post it
diakopter this is what I run: 15:49
@"c:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\vcvarsall" amd64
FROGGS because cmd + vcvars32 is the same as the vc2010 developer console
diakopter no
FROGGS hmmm
diakopter ^ that is
FROGGS my dev console just calls vcvars32
diakopter try that
FROGGS I'll try that
C:\\Users\\leicht>@"c:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\vcvarsa 15:50
ll" amd64
The specified configuration type is missing. The tools for the
configuration might not be installed.
:/
diakopter hm 15:51
maybe you didn't install the 64 bit compiler
which would be weird, if you're on 64-bit
FROGGS k, I re-install it
diakopter this is my path 15:53
c:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\BIN\\amd64;C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319;C:\\Windows\\Microsoft.NET\\Framework64\\v3.5;c:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\VCPackages;C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\IDE;C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\Tools;C:\\Program Files (x86)\\HTML Help Workshop;C:\\Program Files (x86)\\Microsoft Visual Studio ...
... 10.0\\Team Tools\\Performance Tools\\x64;C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Team Tools\\Performance Tools;C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\bin\\NETFX 4.0 Tools\\x64;C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\bin\\x64;C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\bin;c:\\users\\mwilson\\src\\moarvm\\nqp-cc\\install\\bin;C:\\Program ...
... Files\\Java\\jdk1.7.0_25\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Perl64\\bin;C:\\Perl64\\site\\bin;c:\\Users\\mwilson\\src\\icu\\bin;c:\\Users\\mwilson\\bin;C:\\Program Files (x86)\\Git\\cmd;C:\\Python27;C:\\Users\\mwilson\\src\\gyp
(the result of running that command) 15:54
FROGGS looks like I am already missing the first directory, there is no \\amd64 on my box
diakopter FROGGS: just download the vs 2010 premium iso+sp1 from me 15:56
Express is .... express.
FROGGS from you? 15:57
diakopter yah
privmsg 15:58
ingy *moarning* 16:50
BinGOs PATHs like that make baby Jesus cry. 16:56
or is that nmake baby Jesus cry 16:57
ingy BinGOs++ 17:31
18:16 FROGGS joined
diakopter not_gerd++ core counter 18:57
dalek arVM/gcorch: b598b9e | diakopter++ | src/gc/ (4 files):
wip2
19:06
FROGGS is it known that I dont see an output of say() under windows? 19:17
C:\\MoarVM\\nqp-cc>..\\moarvm.exe nqp.moarvm -e "say(42)"
C:\\MoarVM\\nqp-cc>
diakopter echo %ERRORLEVEL% 19:26
FROGGS: ^
after that command
FROGGS C:\\MoarVM\\nqp-cc>..\\moarvm.exe nqp.moarvm -e "say(42)" 19:30
C:\\MoarVM\\nqp-cc>echo %ERRORLEVEL%
-1073741819
diakopter crashed
FROGGS: which branch
FROGGS I compile mvm again 19:31
I think I compiled it without the windows sdk, so maybe as 32bit
diakopter oh 19:34
well I need to fix that today
FROGGS k, it works now 19:43
dalek arVM/gcorch: 4a05985 | diakopter++ | src/gc/collect.c:
macroize something in collect.c
19:45
20:54 foo_bar_baz joined 21:03 donaldh joined
dalek arVM/gcorch: 4d81722 | diakopter++ | src/gc/collect.c:
ws
21:12
21:40 Ulti joined
FROGGS what I love about MoarVM too is that it behaves on Windows and linux identical 21:45
diakopter heh not always
configure/build, yes is awesome
FROGGS the selftest is identical, and that is worth much 21:46
and yes, the build system seems pretty reliable
jnthn STOUT!!! 22:58
I mean, uh, evening :)
diakopter haha 22:59
:)
jnthn :)
jnthn had a nice relaxing evening with $dayjob guy :) 23:00
dalek arVM: a9d954c | diakopter++ | build/Makefile.in:
more consistent build output
jnthn Our C++ teacher, actually :)
diakopter: Consistent as in...? :) 23:02
diakopter talking about the action instead of echoing the command like everything else
jnthn ah, k 23:04
I'm not sure what to think about that. It's less output, but if something fails..
diakopter you ok'd it before; recall there's a noisy flag 23:08
nmake realclean ; nmake NOISY=1 23:09
jnthn Just 'cus I OK something does not mean it's what I'd personally do. :)
diakopter it doesn't hide stderr output 23:10
.ask not_gerd what's the difference between typing nmake moarvm.dll and doing Configure.pl --shared 23:11
yoleaux diakopter: I'll pass your message to not_gerd.
jnthn In general, I'll only whine about or revert something if I think it's architecturally harmful. The rest, I try to tolerate. :))) 23:12
diakopter I'm un-architecturally harmful-izing the gcorch changes I made... 23:13
(speaking of..)
jnthn I'll read 'em tomorrow, probably :)
diakopter .. if I finish by then 23:14
jnthn (Got a 3 hour train trip to Goeteborg...)
OK :)
diakopter it led to shaving another ball of wax
er.
jnthn jnthn++ didn't order a train until 15:20, which allows lots of sleep :)
diakopter hey that's 55 min ago; you're late 23:15
jnthn diakopter: The GC orch code felt complex to me. If the overall effect is to make things clearer/simpler, it's good. :)
Swedish time, "tomorrow" :P
diakopter yes, too complex for correctness, too
jnthn Well, simple designs are easier to decide the correctness of.
A bunch of the stuff I spend my time teaching people is to be skeptical of their first idea of how to solve anything... 23:16
diakopter jnthn: btw if you and masak's software architecture class is any good, you can probably write a best-selling book on it.. there really aren't any good ones on that topic from what I can find 23:17
there are tons of books on "OO Design" and "Software Engineering" but none really focused on architeture I think. 23:18
well... or 23:19
jnthn It's hard to define "architecture"
I mean, you can ask 10 people and you'll get 10 different definitions. 23:20
In a MoarVM context, architecture is "stuff you commit that makes jnthn whine loudly", for example.