« first day (995 days earlier)      last day (3968 days later) » 

> SPRZEDAM TOYOTE GT86
I had that feeling that he's a Pole.
And he cannot into writing correctly.
Meh.
 
user142019
a |> b |> c is (a |> b) |> c
 
user142019
Is |> left-associative or right-associative? I'm confused.
 
user142019
Left, right?
 
Left.
 
user142019
12:03 AM
Ah, thanks.
 
user142019
Saves a lot of trouble.
 
Xeo
12:27 AM
@rightfold right-associative would be weird, no?
 
Remember PHP.
 
user142019
@Xeo well, probably.
 
Christ.
Getting this building is a nightmare.
 
Xeo
> The new auto keyword that we got in C++11 looks quite templat'ish to me so my question is - will it incur the same compile time bloat as templates do?
OMG
 
LOL.
WINNER WINNER CHICKEN DINNER.
 
12:29 AM
> bloat
bloat
 
Ell
God that's awful
 
Muahahaha. How is auto templatish (except it's like template deduction)?
 
I just wasted 3 hours because MSVCs way of telling me it doesn't support explicit conversion operators is not to tell me the explicit keyword wasn't valid in that context but rather that the type I was returning "was an illegal storage class" T_T
 
:3c
 
Okay VS died while building but won't exit
 
Ell
12:33 AM
msvc doesn't support explicit conversion operators?
 
Xeo
2013 preview does
explicit operator bool() atleast, IIRC
 
Ell
I didn't know explicit operators was a new thing
 
@DeadMG @rightfold x86 Debug/Release both build. I've also changed the VS project to not use weird, shitty hardcoded paths and removed all the irregularities. Creating a purrrrrequest.
 
Ell
I thought brat was 03
 
@Xeo CTP supports only explicit operator bool(), I think.
 
Ell
12:37 AM
*that
Anyway isleepnow
 
I forgot SSH push/pull format..
 
Ell
Nighty night
 
@Ell Nighty night.
 
user142019
Arrrrrrrggggggggghhhhhhhhhhhhhhhhh fuck you *> having precedence over <$>.
 
Really simple math question.
 
Xeo
12:48 AM
@rightfold lol
What's *>?
 
@ThePhD wtf is robocopy?
 
Robocopy, or "Robust File Copy", is a command-line directory replication command. It has been available as part of the Windows Resource Kit starting with Windows NT 4.0, and was first introduced as a standard feature in Windows Vista and Windows Server 2008. The command is robocopy. Features Robocopy is noted for capabilities above and beyond the built-in Windows copy and xcopy commands, including the following: *Ability to tolerate network interruptions and resume copying. (incomplete files are marked with a date stamp of 1980-01-01 and contain a recovery record so Robocopy knows wher...
 
user142019
@Xeo (*>) :: Applicative f => f a -> f b -> f b
 
user142019
import_ :: Parser Import
import_ = Import <$> (kwLet *> (identifier `sepBy` pPeriod) <* pSemicolon)
 
user142019
This is very nice.
 
12:50 AM
@DeadMG robocopy is basically an extremely-more-powerful iteration of copy and xcopy.
 
user142019
But needs parentheses because precedence of *> > precedence of <$>. :<<<<<<<<<<<<
 
So far I've built Wide x86 in Debug and Release, no problems (except clang warnings)
I suppose I should also do x64 and create stuff for that.
 
user142019
Oh whoops, must be kwImport, not kwLet LOL.
 
had to rebuild Clang locally from scratch, the libraries I downloaded from you had some missing stuff, maybe unpacking just didn't work correctly
 
Maybe unpacking sucks. Shrugs.
Also there's like 4 configs for the solution and they're not descriptive as to what they're building at all. :c
 
Xeo
12:52 AM
@rightfold Can't $ fix that? :P
 
user142019
@Xeo flip fmap Import $ kwLet *> (identifier `sepBy` pPeriod) <* pSemicolon EWWWWWWWWW.
 
user142019
Even worse!
 
@ThePhD It's an artifact of having .NET and C++ projects in the same solution.
 
Should I change them to "x86, x64, Tests, and Visual Wide" ?
 
er, no.
Tests and Visual Wide are projects, not configurations.
 
Xeo
12:54 AM
@rightfold So *> is the >>-equivalent of Applicative?
 
I meant as "build only tests", "build only Visual Wide"
 
user142019
@Xeo Well, *> and >> are exactly the same thing but *> is more general. :P
 
Xeo
@rightfold Because it works on Applicatives instead of Monads?
 
user142019
Yes, and every monad is an applicative. (Which will finally be enforced in the next Haskell standard, by the way.)
 
12:56 AM
Agh, damnit
I'm erroring when I actually run it
I think it's because...
 
aaah, much better.
it's pretty fast now to use the Wide demo project.
 
With the release build the derpstorm gave you?
 
@DeadMG You could also build x64 if you'd like.
 
okay clang still not built
D:
 
@Borgleader No, I rebuilt locally.
soled the problem
 
1:02 AM
Shrug.
 
could well just be a bad extraction
 
No comments on my winter thingy? :D
 
sorry, Wide is 2cool4u
 
@Pawnguy7 I have a comment. What are those things?
 
also
I figured out why having MinGW in the working directory every time sucks.
 
1:06 AM
@not-kbok trees?
 
namely that I have to have several copies of MinGW for every place where I want to run Wide.
 
Or... the pictures in general?
 
@Pawnguy7 Kind of pixely, but nice, if that's your style.
 
@DeadMG I've solved that.
 
Yes
 
1:07 AM
@milleniumbug it is meant to look like blocks
@not-kbok working on a screensaver
 
@Pawnguy7 Well, maybe I can write a platformer having pixel art ;)
 
@milleniumbug Hm?
 
@Pawnguy7 I saw your drawings and thought that as I'm not really an artist and I want to write some game other than Pong :), maybe I should try pixel art with my next game project.
 
@Pawnguy7 okay
 
It occurs to me, I should check for trees with negative heights.
 
user142019
1:14 AM
let main := x |> let a := b in y *> z;

Right ([],[TopLevelLet "main" [] (SeqPipeExpression (ReferenceExpression Nothing "x") (LetExpression "a" [] (ReferenceExpression Nothing "b") (ParPipeExpression (ReferenceExpression Nothing "y") (ReferenceExpression Nothing "z"))))])
 
@DeadMG last commits made, yay.o appears, feel free to accept the purrrrequest.
 
user142019
I am victorious.
 
@rightfold What's that? Kinda lispy.
 
user142019
lol, not even close to Lisp.
 
Odd.
Sometimes, leaves generate with no wood.
 
user142019
1:16 AM
The first line is Gear code and the third line is the AST.
 
@ThePhD One of the things I'mma do soon is implement more tests now that I can build Wide in release.
 
user142019
The parser and lexer together are 118 lines including blank lines and module/import stuff.
 
Lisps code is probably its own syntax tree, heh.
 
user142019
Wat.
 
user142019
Syntax and AST are not the same thing.
 
user142019
1:20 AM
It is true, though, that in Lisp the AST is Lisp data and code is also Lisp data.
 
Sorry, wrong terms here used. I'm very beginner in these topics.
 
Why does ReferenceExpression always contain a Nothing parameter?
 
@DeadMG Okay.
Just accept my purrrequest already. :c
 
it's 02:22 and I already failed sleep once
the only thing I'm going to do is attempt sleep again
 
Accepting my pull request will help you sleep better.
 
1:22 AM
Lol, just looked at Lisps syntax and I saw what's wrong with this statement.
 
What does accepting a pull request do?
 
Brain fart.
 
user142019
@not-kbok Not always.
 
user142019
import io; let main := x |> io.print;

Right ([Import ["io"]],[TopLevelLet "main" [] (SeqPipeExpression (ReferenceExpression Nothing "x") (ReferenceExpression (Just "io") "print"))])
 
Ah, okay.
 
user142019
1:23 AM
It's for the module.
 
@DeadMG I can't find what to build to get clangDynamicASTMatchers
 
user142019
If you import foo.bar; then you access it as bar.baz, not foo.bar.baz. I dislike the latter and the former is clear enough. Qualified access is enforced.
 
user142019
Unused imports will be illegal, as well as unused variables.
 
Ok.
Fixed the bugs.
 
1:26 AM
 
It's almost as big as my gigantimorph laptop from ages ago.
 
what about detail packages?
 
@not-kbok Detail packages? Kinda like detail namespaces in C++?
 
yeah
some people do that kind of stuff:
 
@Crowz Hey, you're always bitching about art and shit. Do you own a tablet?
 
1:27 AM
@ThePhD yeah bby
 
@Crowz What kind, what make, etc. etc?
 
import bicycle.detail
import plane.detail
 
@ThePhD Wacom 4 intuos small
 
Wrinkles nose.
Intuos small?
 
art hobbyist tends to also imply poor
 
1:28 AM
Hm.
6.2" x 3.9"
Holy shit that's tiny.
You could have at least saved up for a medium.
 
I just got a job in programming so I might get the full touch screen one soon, the cintiq
 
TIL about OO COBOL
 
@Crowz What sort of job?
 
@Pawnguy7 Python/java web based stuff I guess
 
1:36 AM
@milleniumbug Come to think of it, I don't think I have done anything with pixel art either.
 
user142019
Okay.
 
user142019
Only arithmetic operators and type definitions and then my parser is complete.
 
user142019
Oh and literals.
 
for (; minutes < 1000000;cout<<"Minutes: "<<hours<<"|Seconds: "<<minutes) { minutes += ...; } <- THAT, what the what the what the what the what the what?
 
@refp Why? Just why?
 
1:45 AM
0
Q: c++ simple clock subtraction command

sickist#include <iostream> #include <windows.h> #include <cstdlib> using namespace std; long int minutes = 0; int hours; int main(){ for (; minutes < 1000000;cout<<"Minutes: "<<hours<<"|Seconds: "<<minutes) { ++minutes; Sleep(60000); if ( minutes == 60) { minutes - 60;// need help here!!!!...

@milleniumbug ^ ask him
 
user142019
 
user142019
^ His username describes it all.
 
@rightfold He should change his username to sick-bastard.
 
user142019
Man.
 
user142019
Sped up Celldweller is great.
 
user142019
1:51 AM
Because at normal speed they're boring as Java.
 
user142019
Welp, time to implement literals in Gear.
 
@refp Time to puke
 
Xeo
@rightfold Some of his songs are pretty slow, but I like quite a few of them at normal speed.
 
user142019
Oh it's only a single guy. :V
 
user142019
Well only know one song of him—Eon—and I only like it when sped up.
 
user142019
1:57 AM
Time to look up some more songs.
 
user142019
Oh, found whole album on YouTube. Great.
 
user142019
Time to design a type system. :v
 
Xeo
Own Little World I probably like best
 
user142019
Not in this album.
 
Xeo
It's "Wish Upon a Black Star 02"
 
user142019
2:08 AM
Type system stuff I really need for my language to work are lazy sequences and currying.
 
Xeo
The same one "Eon" is on, IIRC
 
user142019
Eon is on Wish Upon a Black Star.
 
user142019
I have no idea how to do lazy sequences. E.g. net.accept-all some-socket is a lazy sequence.
 
Xeo
Ah, wait, it's "Soundtrack for the voices in my head"
 
What is this fascionation with Cube World?
 
user142019
2:11 AM
// I suppose you could implement net.accept-all as follows if you have lazy lists.
let accept-all socket := [ accept socket | accept-all socket ];
// Where [ x | xs ] is cons.
 
Xeo
@Pawnguy7 It looks awesome.
Oh yeah @rightfold, do you know Blue Stahli ?
 
user142019
Might actually work well, problem is that cons' arguments should also be lazy. I think.
 
user142019
@Xeo Nope.
 
Xeo
 
user142019
I think I'm going to go with yield.
 
user142019
2:14 AM
That might work quite well, actually.
 
// is this thread-safe?
int x;
std::thread([&]{ x = 1; }).join();
std::cout << x;
 
user142019
Something like let accept-all socket := accept socket ^> accept-all socket. Problem is that it's recursive arghh fuck.
 
user142019
@StackedCrooked Yes.
 
user142019
At least, if you're always allowed to join(), even before the thread has started and after it has terminated.
 
I had always assumed it was safe. But I thought I better check :)
@rightfold Two threads access x without synchronization.
The join() makes it impossible for the read/writes to overlap.
 
2:17 AM
@Xeo Apparently I hadn't looked at it before. I agree, it does look sweet.
 
But I don't know about CPU caching, reordering etc..
 
user142019
Pid = self(),
spawn(fun() -> Pid ! 1 end),
receive
    X -> io:format("~p", [X])
end
 
user142019
:)
 
@StackedCrooked join is not a memory barrier.
 
user142019
2:18 AM
Beh C++ sucks tremendously at concurrency.
 
and does that mean I have a race?
 
@rightfold Not really.
 
@rightfold for newbs, yes
 
user142019
I know. I'll just have… lazy sequences. :v
 
Xeo
Soo... the sun's coming up and the birds are starting to get on my nerves... time to head to sleep, I guess.
 
2:28 AM
@Xeo Heh.
 
Night. :D
 
user142019
Okay, I now have [~ … ~] for lazy lists and [| … |] for strict lists.
 
user142019
Because the former looks like a lazy smiley and the latter like a strict one. :P
 
3:09 AM
1133
Q: How do I make a machine "blank screen" for a period of time (as a penalty) if certain noise levels are reached?

Leonid VolnitskyMy kids (4 and 5) yell a lot when playing games on computer. I found an effective cure for this. I ssh into game computer and do: chvt 3; sleep 15; chvt 7 when I hear loud noises. This will turn off screen for 15 seconds on linux. I've told them that computer doesn't like loud noises. They ...

lol
 
I remember that.
 
aaargh.
sleeping failure
 
I've been there.
 
Xeo
I'm still there.
Couldn't stop reading.
 
Wacha readin'?
 
Xeo
3:19 AM
Welp, time to actually head to sleep now.
@Borgleader Novel
 
More specifically? :P
 
Which novel, if I may ask?
50 shades of grey?
 
Xeo
Toaru Majutsu no Index
:)
 
50 shaders of grey
 
I should read more.
 
3:22 AM
thought that's a old lady's reading so I was told
 
Xeo
Also, I need to play some Fate / Extra. If I only play it while commuting to work, I'll never get that done
 
For some reasons I couldn't finish watching twilight, I thought it was stupid
 
@Xeo Btw, I just starting watching Yahari Ore no Seishun Rabu Kome wa Machigatteiru. Currently at ep4 and I like it thus far.
 
Xeo
I have no idea what that is.
 
Similar to Boku wa tomodachi ga sukuanai.
But not so cliched. It has an authentic feel to it.
 
3:27 AM
I read some where some guys like to watch anime with a lot of school girls in it while girls like fighting scene (like that in saint saiya or bleech):p
 
Xeo
I see
Maybe I'll catch up on some of the Spring Season animes this season
Not many interesting animes this time
Although Gen'ei wo Takeru Taiyou was an interesting surprise.
 
@Telkitty猫咪咪 I like many things.
 
no need to explain :p
 
@Xeo Ah, I might check that out then.
 
"AMD has published a new Direct3D 11 code sample that shows tiled lighting culling in action. Binaries and source code are provided as well as a PDF-doc." Stupid article y u no link to said pdf.
 
3:30 AM
Currently Attack on Titan and Hunter x Hunter are my favs.
Pity that Hataraku Maou Sama ended.
 
Xeo
I think I currently have 4 or 5 anime on my list for this season. Which is actually more than last season, now that I think about it.
 
And Once Piece of course. But it's so slow..
Someone recommended this old anime to me. I'm really thankful for that. It's hilarious.
 
Xeo
@StackedCrooked Okay, Guu's description got me interested.
 
@StackedCrooked HxH <3<3<3 I have to find the Blurays for the new series
 
Oh right, there's a new High School DxD season!
 
Xeo
3:35 AM
Might check it out later.
@StackedCrooked Meh :/
Ugh, 5:30 already...
I will sooo not get things done today.
 
Who gets things done on Sunday anyway?
except for church lol
 
I do ... at least trying to
 
I guess is time a bad time to post SO questions.
 
you don't stop aging on Sundays unfortunately
 
@StackedCrooked Speaking of which the last question with the c++ tag got put on hold in record time
 
too deep ... most newbs can not answer :p
 
@StackedCrooked I'll try to answer it. :)
 
@StackedCrooked Cheer up, you got a comment from a 400 rep user!
 
Alright!
Hey, don't judge people by rep.
 
3:41 AM
So I just read a thread titled "TOTAL RETARDATION IN C++" in the ISO C++ Standard Future Proposals group.
That was a surreal read.
 
@Insilico lol, it's been linked here quite a bit.
 
@Insilico I stopped after the fourth RETARDED, he can go fuck himself
 
@StackedCrooked I would think that is thread safe, unless you have some other thread running that's accessing x that I don't know about.
 
dat answer
 
3:44 AM
There are no other threads involved.
 
My reasoning is that the write to x (int x = 0;) occurs before you start the thread. So at that point there's only one thread involved.
You start the second thread, but you immediately suspend the first thread until the second thread finishes.
 
@StackedCrooked Is you question at all related to what you were discussing this morning with Konrad?
 
So there's no concurrent access to x going on (again, assuming there's no other thread accessing x that we don't know about)
 
@Borgleader I don't remember my discussion with Konrad..
 
After join() returns, the second thread has finished, and only the first thread is accessing x (std::cout << x)
So it seems to me at no point are there two threads trying to access the variable x at one time.
 
3:47 AM
@StackedCrooked That bug you thought you were having with the event and listeners?
 
@Insilico Indeed. It seems safe to me. I just wanted to verify, because concurrency can be tricky...
 
@StackedCrooked IMO the code sample you provide is one the simplest scenarios you can come up with when concurrency is involved.
 
@Borgleader Ah now I remember. Ok, that has nothing to do with my SO question.
 
Actually it's not even really concurrency because only one thread is running at a time (even though you have launched two threads)
 
Indeed.
It's purely sequential.
 
3:51 AM
I'm making an awesome ASCII timeline to answer your question. :-)
 
But the fact remains that data is being accessed from different threads without synchronization. And I don't know what the potential implications are...
@Insilico Seems like my Sunday can't go wrong now.
 
@StackedCrooked You do have synchronization. join() is that synchronization.
 
If you say so... :)
 
Under join() in the standard: "Synchronization: The completion of the thread represented by *this synchronizes with (1.10) the corresponding successful join() return."
 
I don't understand that sentence even after 4 rereads ..
 
4:01 AM
It's just saying join() guarantees the thread is done when it returns
The *this is referring to the std::thread instance itself
 
That's a very comprehensive way of saying 'Yes'. — Jonathan Leffler 52 secs ago
I'll take that as a complement. :-P
 
^ Morning sun as seen from my apartment.
 
Nice view, where is that?
if i might ask
 
Ledeberg.
I live on the 14th floor, the roof actually.
 
Neat
 
4:08 AM
East side, so the sun always shines on it the morning.
The advantage is that after noon it gets cooler.
 
@Borgleader: for example, boost::uint16_t could means unsigned short in header files, but unsigned int in source files. — zwx 3 mins ago
Why would you redefine boost types =.=;
 
4:26 AM
Because -Ofast tells Google to exclude the word "Ofast" from the hits. Here's what you should have googled.H2CO3 35 secs ago
 
Yeah I laughed pretty hard
 
@Crowz do you like the Intuos?
 
you got an extra u in there i believe
 
> This may seem like a sneaky attempt to trick developers, but this behavior is actually specified in HTML5[2]. The navigator.product property must be “Gecko” and navigator.appName should be either “Netscape” or something more specific. Strange recommendations, but Internet Explorer 11 follows them.
 
Wut
 
In the past internet website administrator persons mins often sabotaged IE.
Therefore IE started to identify itself as Mozilla.
 
4:54 AM
Webmins?
 
It's very sunny here and it's only 7 AM.
 
@StackedCrooked can you verify this for me plz?
For people with 10k+ rep Possible duplicate of deleted question I recall because it was put on hold last night. — Borgleader 41 secs ago
 

« first day (995 days earlier)      last day (3968 days later) »