« first day (995 days earlier)      last day (4179 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?
user142019
00:03
Ah, thanks.
user142019
Saves a lot of trouble.
Xeo
Xeo
00:27
@rightfold right-associative would be weird, no?
Remember PHP.
user142019
@Xeo well, probably.
Christ.
Getting this building is a nightmare.
Xeo
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.
00:29
> bloat
bloat
Ell
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
Ell
00:33
msvc doesn't support explicit conversion operators?
Xeo
Xeo
2013 preview does
explicit operator bool() atleast, IIRC
Ell
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
Ell
I thought brat was 03
@Xeo CTP supports only explicit operator bool(), I think.
Ell
Ell
00:37
*that
Anyway isleepnow
I forgot SSH push/pull format..
Ell
Ell
Nighty night
@Ell Nighty night.
user142019
Arrrrrrrggggggggghhhhhhhhhhhhhhhhh fuck you *> having precedence over <$>.
Really simple math question.
Xeo
Xeo
00:48
@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.
00:50
@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
Xeo
00:52
@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
Xeo
00:54
@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
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.)
00:56
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
01:02
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.
01:06
@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.
01:07
@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
01:14
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
01:16
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
01:20
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.
01:22
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
01:23
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.
01:26
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?
01:27
@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
01:28
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
01:36
@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?
01:45
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
01:51
Because at normal speed they're boring as Java.
user142019
Welp, time to implement literals in Gear.
@refp Time to puke
Xeo
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
01:57
Time to look up some more songs.
user142019
Oh, found whole album on YouTube. Great.
user142019
Time to design a type system. :v
Xeo
Xeo
Own Little World I probably like best
user142019
Not in this album.
Xeo
Xeo
It's "Wish Upon a Black Star 02"
user142019
02:08
Type system stuff I really need for my language to work are lazy sequences and currying.
Xeo
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
Xeo
Ah, wait, it's "Soundtrack for the voices in my head"
What is this fascionation with Cube World?
user142019
02:11
// 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
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.
user142019
I think I'm going to go with yield.
user142019
02:14
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.
02:17
@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
02:18
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
Xeo
Soo... the sun's coming up and the birds are starting to get on my nerves... time to head to sleep, I guess.
02:28
@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
03:09
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
Xeo
I'm still there.
Couldn't stop reading.
Wacha readin'?
Xeo
Xeo
03:19
Welp, time to actually head to sleep now.
@Borgleader Novel
More specifically? :P
Which novel, if I may ask?
50 shades of grey?
Xeo
Xeo
Toaru Majutsu no Index
:)
50 shaders of grey
I should read more.
03:22
thought that's a old lady's reading so I was told
Xeo
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
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.
03:27
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
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.
03:30
Currently Attack on Titan and Hunter x Hunter are my favs.
Pity that Hataraku Maou Sama ended.
Xeo
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
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
Xeo
03:35
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.
03:41
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
03:44
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.
03:47
@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.
03:51
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 ..
04:01
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.
04:08
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 =.=;
04:26
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.
In the past internet website administrator persons mins often sabotaged IE.
Therefore IE started to identify itself as Mozilla.
04:54
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 (4179 days later) »