« first day (789 days earlier)      last day (4385 days later) » 

user142019
00:01
heh it supports Poco cool
VM with a Linux with chrooted environment
@Zoidberg'-- You are probably looking at experimental code that currently isn't being used.
@CatPlusPlus That's exactly what I'm using right now.
user142019
@StackedCrooked compile.sh
Get grsec kernel for that VM if you don't have it now
@Zoidberg'-- Ah! Ok. Yes.
00:02
It makes chroot more secure and PaX and ASLR and stuff
@CatPlusPlus I I might not have that right now.
@sehe I had a program on my computer once that I could just Ctrl+shift+F1 and the window would be moved to screen one, Ctrl+shift+F2 for screen two, etc. Pros: I didn't need the mouse, and it didn't conflict with anything. Cons: can't remember what it was :(
Anyway the whole VPS is dedicated to this application. The worst case scenario would be that hackers take over my VPS and use it for DDOSing other website and stuff like that. However, even then I can still turn it off using the vendor's website. (Still, I like to avoid that.)
user142019
You could run several Linuxes in VMs, chroot inside them and periodically restore those VMs.
@MooingDuck I've seen many of those. Meh. I want a window manager that can manipulate windows. Not ask the (invariably refusing or not-responding) windows "nicely" if they can please, maybe, do this/that
user142019
00:04
You’ll need a supervisor and a load balancer for that.
@Zoidberg'-- UML (User Mode Linux) with COW backing
@Zoidberg'-- I've thought about everything. However, installing a VM on a VPS VM doesn't go that well. I kept running into errors and didn't know how to deal with them. That's why I settled with chroot.
Actually get grsec for both VM and host system
Never not have grsec on servers
user142019
@sehe you want me to make a diagram of that?
user142019
@sehe oh. Never heard of that.
00:05
@Zoidberg'-- see edit
user142019
But I like cows.
Oh it's VPS
What else
Definitely get grsec
@CatPlusPlus Ok.
00:06
I thought sandbox is isolated inside its own VM
@herbsutter Any plans for a native code generation library from Microsoft/better Windows support for LLVM? Starting to feel jealous of Unix
Oh lala
wasn't me
it was that other puppy, you know, we had like six of them in here earlier
Seems to me that LLVM is a MS competitor.
Wouldn't MS say "Casablanca" and "Roslyn" ?
Casablanca does asynchronous I/O, not code generation
at least, the last time I read the documentation, which was a few days ago
user142019
00:08
I’m going to write a pastebin too. I’m bored.
"Free software doesn't do what I want. Hey big company, make better software so I can pirate it!"
@Zoidberg'-- More competition!?
@DeadMG I know that to be true. I just had some vague recollection about it doing more than that
user142019
@StackedCrooked EVEN MOAR
@sehe Rosyln is VB/C# only, as far as I can tell.
00:09
@DeadMG Somehow, I smell bullshit.
@DeadMG I know. Which is precisely what MS would sell you
@DeadMG Yep. Tried using it in C++/CLI, failed miserably.
user142019
user142019
Your pastebin is already superior. :(
@Zoidberg'-- Content > Form
00:13
@sehe "Roslyn will not be part of Visual Studio 2012" "The CTP was updated on September 2012... including breaking changes" en.wikipedia.org/wiki/Microsoft_Roslyn Microsoft what are you doing?
@CatPlusPlus Sandbox is isolated in chroot in VPS.
That's not its own vM
Wait. Microsoft lags behind on C++11 support: Lounge<C++> up in arms about sloppy MS dev strategy.
Now, Microsoft slips a CLR product planning, while having done an early CTP of MSVC: Lounge<C++> up in arms?!
@sehe We're up in arms?
What's MSVC
00:14
@DeadMG Some members of this
@sehe I only see one member and he doesn't seem terrifically armed about it, just kinda wat.
@CatPlusPlus You don't know!?
@CatPlusPlus Figure it out. Please.
@DeadMG Still... Surprising observation
Something like that once existed
But is long dead to me
@sehe I'm just trying to figure out what's "standard"
00:16
@CatPlusPlus You're a Mac user now?
user142019
@StackedCrooked huh? :P
@Zoidberg'-- Ignore that :)
user142019
daknok ±master% cat .gitignore
Content > Form
@Zoidberg'-- cat >> .chatrc <<< "ignore gits"
00:18
@Zoidberg'-- Content must be poured into a Form after all. Right?
user142019
@StackedCrooked well yeah.
you can just let it drip everywhere
Dripping my content?
...
00:19
Century.
user142019
Jaar.
Tijdperk.
@Zoidberg'-- Yarr! Who wants some of my drip!?
Period. <-- dat pun
00:22
@sbi did you ever try out the command? What did you think?
It all ended with a period.
And of an era.
En or een tijdperk.
I'm overdoing it..
user142019
Basic Erlang and Node.js shit is set up.
@StackedCrooked heheh
00:26
@Zoidberg'-- Dammit, you're catching up quickly.
@Zoidberg'-- BASIC?
user142019
@sehe there is no comma after that word, you fool.
user142019
@StackedCrooked it’s not much.
user142019
It’s a few files and nothing does anything, only the supervisor works and it supervises nothing.
@Zoidberg'-- It's okay. I noticed it because the last two words appeared to be in reverse, too
user142019
00:27
lol
user142019
Whoop. Web app works and runs.
user142019
Whoop whoop whoop whoop whoop whoop whoop whoop.
fwoop fwoop fwoop
user142019
fap fap fap
user142019
ø = require('o-lib')
user142019
00:32
I can come up with such weird things as Unicode identifiers.
user142019
But yeah it gives me partial application and that’s nice.
Ell
Ell
Why would you want to programme in Unicode?
Nov 19 at 23:37, by kbok
behold, my pixel art vector filter
@kbok you'll want to read Depixelizing Pixel Art
@Ell "Do a programings" -- ftfy
@Ell How else are you supposed to write APL programs?
user142019
And we have a basic form to submit pastes! :D
@kbok very nice interactive comparison page: research.microsoft.com/en-us/um/people/kopf/pixelart/…
user142019
00:41
commit 81d21e203f05385f92083bc8696686d94a4a0af0
Author: Radek Slupik <[email protected]>
Date:   Thu Dec 13 01:38:15 2012 +0100

    Add routes

    The routes are not yet implemented.
@Zoidberg'-- man just post a link to the repo?
user142019
I often add things without implementing them.
user142019
31 mins ago, by Zoidberg'--
@StackedCrooked https://bitbucket.org/daknok/plaksel :P
Ell
Ell
Okay fair answer :3
Anyway nighty night, I have to wake up at 6 :(
user142019
@Ell $ was already picked by jQuery and _ by Underscore.js. So I picked ø, as usual.
user142019
00:46
@Ell Später.
user142019
@sehe that looks awesome.
@sehe Based on those results, I can't imagine why anybody would even bother trying when Vector Magic so obviously rules!
@JerryCoffin It's nice. "Ours" is more... generally applicable :)
user142019
stop automating things
@sehe Hmm...let me guess: your sarcasm detector is broken again?
user142019
00:54
How would I ever get a job if nothing would need to be automated.
@JerryCoffin Mmm. Actually, my broken sarcasm detector detector is beeping right now
@Zoidberg'-- Getting a job would be easy. It would involve digging dirt with your fingers, but it'd be easy to find.
user142019
My sarcasm detector is borken by design. :^(
user142019
@JerryCoffin hmm. I could automate the digging process.
user142019
Hurray tomorrow Java class. Again.
user142019
01:01
That’s like the most simple thing ever.
user142019
Tomorrow’s lesson will be about ArrayList. >.>
user142019
I’m not even going. I can read the documentation myself thank you.
user142019
HOW CAN YOU TALK TWO HOURS ABOUT AN ARRAY
But! But! You'll miss the bear love! You can't pass up an opportunity to save the world! Prevent mass extinction:
@sehe Bear Love. What a nice name.
user142019
01:11
@sehe those aren’t bears.
user142019
Those are wombats.
user142019
Look at the classname.
@EtiennedeMartel Actually wombats, but you got the reference, no doubt
@Zoidberg'-- You know, you keep forgetting how stupid I am
@Zoidberg'-- I blurred it for a reason :)
user142019
The wombat example is horribly written.
user142019
The code style is fucking inconsistent.
01:12
@Zoidberg'-- BearLove.gif.
user142019
The design is very weird.
GifPatrol.moveToBin(thatGif)
@Zoidberg'-- Hehe. I thought the editor could have been worse. Except for default font size and color theme
user142019
The editor doesn’t obey OS X’s shortcuts.
@sehe Yeah. Because cancer is bad.
user142019
01:13
Control+A doesn’t move to the beginning of the line, like it does in every program.
@Pubby Come on, don't all wake up and crawl out of your holes just to fight gifs. Where were you all the previous hour?
@EtiennedeMartel +1
@Zoidberg'-- Ctrl+A should select all <whistle/>
user142019
@sehe no thats command+A.
user142019
But at least the editor defaults to four space indentation so the morons lovely people in my team don’t fuck up the formatting. :P
@sehe I am the law
@Pubby Ok. Good point
01:14
@Pubby Laaauuuuwwww
user142019
@Pubby dat is wel lauwe shit man.
@Zoidberg'-- It's Ctrl+A on Windows.
@EtiennedeMartel You know, I'd almost think you spoke dutch better than you make it appear
user142019
@EtiennedeMartel not in OS X and I’m using OS X so the editor must adapt to OS X UI guidelines.
@Zoidberg'-- So, what does it do?
user142019
01:15
Vim and Emacs are exceptional cases.
user142019
@sehe control+A does nothing and cmd+A selects everything.
@Zoidberg'-- Is the editor in Java? Because then it has to adapt to Java guidelines.
user142019
I decided to use ST2 instead of Greenfoot’s editor.
Because Java is a platform. That sits on your existing platform like a mutant walrus.
user142019
@EtiennedeMartel that’s the terrible part of build once run everywhere.
01:16
Why do you think Swing is so hideous?
user142019
> Build once, annoy everywhere.
Build once, debug everywhere.
user142019
Build once, suck everywhere.
user142019
Greenfoot is written by idiots for idiots.
    /**
     * Sets the direction we're facing.
     */
    public void setDirection(int direction)
    {
        this.direction = direction;
        switch(direction) {
            case SOUTH : setImage("wombat.gif")     ; setRotation(90); break;
            case EAST  : setImage("wombat.gif")     ; setRotation(0) ; break;
            case NORTH : setImage("wombat-left.gif"); setRotation(90); break;
            case WEST  : setImage("wombat-left.gif"); setRotation(0) ; break;
            default    : break;
Spot the oddities (DISCLAIMER reformatted to prevent wall of code effect)
user142019
01:18
Spaces before ; —> death.
user142019
default case is not needed.
user142019
Inconsistent brace style.
user142019
SOUTH, EAST etc should be enum not final ints.
user142019
Rotations in degrees.
@Zoidberg'-- That was original. I'm not talking about style. See the original here: Greenfoot/tutorial/tutorial.html (bullet 18.)
user142019
01:19
Wat.
user142019
file://localhost/C:/
user142019
@sehe besides the terribleness, what’s odd?
user142019
They can just say setRotation(-90).
user142019
And SOUTH = 90 and so forth.
user142019
Then setRotation(direction).
01:23
@Zoidberg'-- Who the fuck has 2 images just to reorient things? I mean, why is a 90 degree rotation doable, yet a horizontal flip is out of the question?
You named the rest
user142019
Horizontal flip is just scale by -1.
user142019
But of course GreenfootImage.scale takes absolute values rather than relative ones.
would it be better to use an enum of directions, and then have the enum as the parameter type
@Zoidberg'-- Well, apparently that is either not implemented or they didn't know about it
user142019
5 mins ago, by Zoidberg'--
SOUTH, EAST etc should be enum not final ints.
01:24
@endoalir was mentioned
user142019
@sehe the latter.
@Zoidberg'-- Isn't enum a 1.5 thing? Maybe their code base is 1.4.
user142019
GreenfootImage.scale must be renamed GreenfootImage.setDimensions or something similar.
user142019
scale takes factors, not absolute values.
user142019
And setScale takes factors relative to the original size.
user142019
01:26
I want CS with numerus fixus.
@EtiennedeMartel java6 IIRC
@Zoidberg'-- Translation: he wants morons out of the education system
user142019
@EtiennedeMartel dunno
user142019
@sehe :D
user142019
Not that I don’t want people to learn anything.
user142019
But really, working with absolute noobs is most vexing.
01:29
@Zoidberg'-- It will stay that way. Consider it additional value: resilience training
user142019
I can imagine people cannot write a recursive function in year three.
user142019
Or a do-while loop.
user142019
@sehe heh :P
user142019
Next year might be fun. We’ll get linear algebra and data structures.
user142019
And networking.
01:33
> Maybe we should now add separate images for up and down movement – we leave this to the enthusiastic reader. sic
user142019
And XML. T_________________________________T
user142019
> Software Architectuur 1 (XML)
@Zoidberg'-- It's more meaty. But the same applies. The masses will never do more than a few LU-factorizations, Guassian reductions and forget it within 3 weeks
user142019
They cannot even spell the names of the subjects right.
@Zoidberg'-- Wut
user142019
01:34
It must be “software-architectuur”.
user142019
@sehe that’s what the subject list for year two says.
user142019
No mention of what it actually is or what you learn there.
user142019
Or what you are supposed to learn there. :P
user142019
I’m highly dissatisfied with this school.
user142019
01:36
@MooingDuck :^)
user142019
Tomorrow we’ll also have UML class!
Yay
user142019
WOOHOO FUN UML! I LOVE IT SO MUCH!!
@Zoidberg'-- IMO default should ALWAYS NO MATTER WHAT be in a case statement.
Java, UML, XML, Architecture: all the right buzzwords
user142019
01:37
@MooingDuck wat. Not if you handle all possible cases.
@Zoidberg'-- what makes you think they aren't enum already?
@MooingDuck switch statement? I knew someone would disagree there!
user142019
If somebody gives me an invalid enum I never do checks if they are valid. I just say UB. Don’t be a moron when calling a function.
@MooingDuck int direction
@sehe alright, overlooked that
@Zoidberg'-- I assert and usually throw on UB wherever possible, especially if there's no release overhead.
user142019
01:39
I won’t ever use ints for enums either.
user142019
void retain_client(uv_tcp_t *client) {
    struct client_data *client_data = client->data;
    ++client_data->references;
}
user142019
Pass NULL? Congratulations, UB.
@Zoidberg'-- assert(client); makes debugging so much easier.
user142019
Meh three minutes left till battery runs out.
@Zoidberg'-- have you worked on a large project?
user142019
01:40
@MooingDuck I don’t see how. Debugger tells me line numbers and stacktrace and whatnot on segfault.
It might not. Segfault
@Zoidberg'-- debugger doesn't say jack about the switch statement.
user142019
*NULL is segfault on OS X.
user142019
@MooingDuck clang warns if you didn’t handle all enums, and for non-enums well, I very rarely use switches for non-enums.
user142019
0% battery, 2 minutes left. Woohoo.
01:42
even in other projects that you aren't currently compiling?
user142019
Why would I work on a project without compiling it?
@Zoidberg'-- I'm loving Sublime Text 2. A little bit:
user142019
I like UB. It’s what you get for not being cautious.
@Zoidberg'-- if you're working on a different project.
user142019
Anyway I’m gonna sleep. Battery is out of power. See ya.
01:43
@Zoidberg'-- std::unprotected
@Zoidberg'-- later
@sehe nice
@MooingDuck Many more compelling demos on that site. Of course I can do all that in Vim, but the eyecandy/visual interaction is win
yesterday, by sehe
I just did a Sublime Text2 plugin. Needless to say, it is to smoothly open the current file/line in gVim: https://gist.github.com/4259744
posted on December 13, 2012 by Scott Meyers

I plan to write a new book next year (Effective C++11, about which I'll have more to say later, probably in January), and I'm laying the groundwork for it.  Part of that groundwork is doing what I can to ensure that the book looks good on all target platforms, by which I mean ink on paper as well as various digital representations (e.g., PDF, HTML, ePub, etc.)  I've noticed that many

@Feeds cool. you are ambitious
@sehe demos? where?
01:54
@Borgleader sublimetext.com/blog for a start
@Triumphant cough. Feeds is not a person (http://chat.stackoverflow.com/users/-2/feeds)
@Borgleader Oh hey, they have the docs page, with more material
The "Perfect Workflow" thingie is a video tutorial
I'm off to bed
@sehe it's 10:03 am in Beijing
02:09
@sehe G'night.
02:49
class Hnode {
 Hnode::Hnode(Hnode * left, Hnode * right)
  {
   date(0), cout(0), left(left), right(right);
  }
}
^Kind of funny beginner syntax mistake
@Pubby One I don't recall seeing before anyway.
0
Q: Make chat oneboxing smaller and less obnoxious - click to enlarge instead

PubbyFrom what I've seen, the majority of oneboxes are for inane things such as image macros, question dumping, and twitter quotes. Now, don't get me wrong, I enjoy this stuff quite often, but not when it's taking up a quarter or more of my screen! Of course, oneboxing is also done for more useful th...

I think I spent a good 30 minutes writing that. Ouch.
I don't really agree with it but I won't downvote despite that being the purpose of it
03:14
@Pubby Excuse me, but who gave you permission to be serious on meta?
@JerryCoffin Assume any attempts at being serious are ironic.
@Pubby I always wondered about that. What did iron do to get all the credit? Why not Brassic or Goldic or something?
Well, there's Ebcdic
@Pubby Hmm...sounds poisonous. I think I'll stay away.
04:17
@JerryCoffin You're 2 seconds too slow!
If this was the wild west you would be dead.
@Pubby Indeed -- I never win at FGITW questions. Oh well...
@Pubby Wouldn't hurt to mention that sharemem gives the address where it constructs the object.
@JerryCoffin Aww, you didn't have to delete your answer
I will make mine community wiki and dedicate it to you
@Pubby No biggie -- especially now that you edited, mine's redundant.
@Pubby No need.
@JerryCoffin Too late. (I'm the fastest gun in the west, remember)
@Pubby Oh well. I've never been entirely sure what community wiki was supposed to accomplish, but I'm pretty sure this isn't it.
04:22
I think I can't whore any rep out of the answer anymore
@Pubby I guess -- but it's a perfectly good answer. I see no particularly good reason the only rep you get from it should be my one up-vote.
That type of question never gets any more than 1 or 2 upvote anyways. knock on wood
@Pubby I'm busily signing up 10 sock-puppet accounts now, just to prove you wrong! :-)
04:41
Oh this sucks... the $80 enclosure that I got doesn't work at all on my laptop, and randomly cuts out on my desktop.
And none of the existing reviewers report such a problem.
Xeo
Xeo
@JerryCoffin Allow lower-rep users contribute without going through review... which might be bad, in and of itself. Besides that, it mainly shows that you're not interested in the rep and are doing it for the community - imo, anyways.
@Mysticial That's bad. :s
@Xeo Yeah, I thought it worked fine on my desktop. But after a few hours, it's starting to randomly cut out now.
I'm testing the esata right now. But either way, it's going back.
fuck
@Mysticial Maybe you just got a defective one and should return it?
Xeo
Xeo
I have that problem with some of my USB ports.
All I want is a goddamn USB3 dual-HD enclosure with proper 3TB support.
The other one that I bought last week has a working USB3, but the 3TB support is "localized".
Xeo
Xeo
04:44
What's the big problem with 3TB support anyways?
"Localized" meaning that it works perfectly fine if the drive was formatted and used only through the enclosure. But transferring an HD (formatted elsewhere) into the enclosure, or transffering it out (formatted inside the enclosure) doesn't work.
Apparently the enclosure's 3TB formatting isn't compatible with the standard.
But as long as I keep the two 3TB drives inside it for as long as it lives (never move them around), then it's find. But still, it isn't proper 3TB support.
@Xeo Address overflow. 2TiB is an addressing limit. So 3TB drives will spill over and wrap around.
Not to mention you need the use GPT partitions to get proper OS support.
And you also need BIOS support for motherboard based SATA ports that support >2TiB.
Xeo
Xeo
@Mysticial Wait, what address space does 2TiB overflow?
Either I'm getting my math wrong, or it just doesn't make sense.
But the enclosures are lagging behind the support curve.
@Xeo 2^32 sectors or something of that sort.
And sectors are 512 bytes.
512 * 2^32 = 2TiB.
Which works perfectly for 2TB drives. (since they are just below 2TiB)
But breaks everything for the 3TB drives.
Xeo
Xeo
04:48
@R.MartinhoFernandes bytes, surely?
Xeo
Xeo
Yeah, nvm
When I got my first internal 3TB, I didn't dare put anything on it. Instead I used it for all sorts of testing on my hardware.
Xeo
Xeo
I'm getting confused from staying up for too long again.
Once I had identified which ports and enclosures had 3TB support (almost none of them), then I felt confident enough to actually start using it.
04:50
@Mysticial I never knew that.
I just got back from an MIT game event.
Normally, when you plug a brand new 3TB drive into a port that doesn't support them, it simply reports a size of like 700 MB or something like that. (however much is spilled over 2TiB.)
Where people demoed 6 weeks of work to anyone and everyone.
How does std::array use initializer list construction to verify its size at compile time?
But when the drive is already properly formatted on a port that supports them, then transferred so another port that does not, then you get data-corruption.
@Rapptz It uses aggregate initialization
04:51
@Mysticial Sounds nasty.
The OS "thinks" the size is 3 TB. But then it tries to access anything above the 2TiB barrier, it wraps around to the lower part of the drive.
@Pubby It does?
So temporary files created by the OS upon plugging in the drive, will overwrite data in the lower portion.
Damn.
@Rapptz std::array has no constructors, AFAIK. It uses the plain <typename T, size_t n> T data[n]; approach
04:52
@Rapptz Yes -- one of the basic differences between array and vector is that array is an aggregate.
I found this out through extensive testing and rehashing of data that I copied to and from the drive.
@Rapptz It is defined like this: struct array { T __impl[N]; }; so normal C-style POD init works
Even worse are the enclosures that have both USB and esata ports.
Because they can trick you.
@Mysticial Wat. Why they do this?
Support for 3TB over USB is at the controller in the enclosure.
Support for 3TB over esata is at the other end - the motherboard or card that it is plugged into.
04:54
@Mysticial I would expect more like 700 GB
700 GB is enough for anybody
So if you have an enclosure that doesn't support 3TB drives. But you use it using esata on a port that supports 3TB. Then it works perfectly fine.
But when you switch it to USB - BOOM... wrap-around data corruption.
And you never even had to take the drive out of the enclosure.
@R.MartinhoFernandes I'm guessing 700 Kilobytes. Sad thing is, I can remember when 720 kilobytes was top of the line stuff...
At the same time, I have a few estata docks that say they only support up to 2TiB. But they work perfectly fine with 3TB over esata - because it is determined by the motherboard or adapter card on the other end.
@Mysticial ...and some people wonder why I have 3 2 TiB drives...
04:56
Is there a way to get an initializer list to be a certain size at compile time?
Xeo
Xeo
Fill it with that many elements?
What do you want to do?
I'm making a matrix class and I want to construct it like
I'm fortunate enough to have the resources to actually test all this out. But I can imagine the headache people will get - especially if they encounter silent data-corruption and discover it later.
matrix<T,N,A> a = {{a},{b},{c}}; or something
Xeo
Xeo
Oh hey, yet another matrix class.
04:57
@Mysticial I.e., from a logical viewpoint, an eSata drive is really an internal drive.
I remember when 3 bits of memory was top of the line, like in the DigiComp 1
@JerryCoffin Exactly.
I appreciate the sarcasm.
Forget I asked, sorry.
Xeo
Xeo
lol, backing out because of some sarcasm?
Just not in the mood to deal with it today
Xeo
Xeo
04:58
The init question is still valid.
I'm shuffling around 40 some TB of data. And all the while I'm sorting out all this USB3 and 3TB support bullshit. I'm temporarily dumping all my files on my massive number-crunching arrays.
But without those arrays, there's no way I'd be able to keep so many temporary backup copies to risk playing with this so called "cutting edge hardware" that's 3 years old and still not working.

« first day (789 days earlier)      last day (4385 days later) »