« first day (2145 days earlier)      last day (2713 days later) » 

12:10 AM
I've heard a lot about boost--what exactly is it?
 
It's a collection of useful C++ libraries
 
The jQuery of the C++ world.
 
oh
so I won't be using that
 
Do you use C++?
 
You know, both GCC and VC++ allow $ as an identifer...
 
12:22 AM
@Downgoat are you actually going to do that?
Inspirational gif:
 
Neat post I came across today. template-ish inlining in C: gustedt.wordpress.com/2012/12/04/…
 
12:41 AM
I don't think that guy knows how to use C++... he thinks you have to create a new type in order to change the comparator function.
 
@noɥʇʎPʎzɐɹC totally
@mınxomaτ brb uninstalling boost :P
 
For once I didn't try to make a joke about jQuery. But it really does have similar ubiquity. Maybe more so a few years ago.
 
@Downgoat but it's actually more useful than jQuery
@mınxomaτ ELI5?
 
Ik but I have no idea how to add/bundle C++ lib into project
 
@Downgoat screenshot pls
@Downgoat Include it
 
12:46 AM
I mean like building it with the poject
@noɥʇʎPʎzɐɹC orly?
 
@Downgoat -I /boost-install-dir/include/
I think
 
@L3viathan Do I know you? From the AutoIt forums?
 
@noɥʇʎPʎzɐɹC but then it wouldn't call the boost makefile and not build it properly
 
@Downgoat boost is header-only, no building required
 
@mınxomaτ Yes!
 
12:48 AM
:D
Neat.
 
It's a small world.
 
I never expected to see you here - or anyone from there for that matter.
 
haven't been there regularly since about 5 years
 
@noɥʇʎPʎzɐɹC TIL 200 million square miles is small
 
Haven't been active much either. It's quiet these days.
 
12:49 AM
@Downgoat The programming world is small.
 
yes i agree
 
126
Q: Can I borrow a lunar rover?

James JenkinsAccording to Wikipedia there are 3 LRVs sitting on the moon, in very well defined locations. Would China, or whomever gets to the moon with a person next, be able to get in and drive around in an LRV left by the US?        The U.S. Apollo Lunar Roving Vehicle from Apollo 15 on the moon in 1971....

> But it most certainly wouldn't be a Grand Theft Auto, even if you didn't.
 
When you realize you never should've catted a file:
vtcakavsmoace$ cat friends.json
[]
6
Context: was setting up a friends list for a game client manually.
 
@VoteToClose cat: friends.json: No such file or directory
 
12:57 AM
@noɥʇʎPʎzɐɹC wow
 
@VoteToClose actual content of file
 
I got my worst grade on math test this semester which is 18/19 and I am not sure if that's a good thing or bad thing :/ :P
 
@Downgoat you're like my friend who complains if he doesn't get above 100% on a test
 
I am like that in computer science >_>
I once had 89.49 in Bio, and it got rounded to 89.99 which count as B on my GPA, so since then I have been determined to stay off the edge
 
0
Q: breadboard challenges?

tuskiomiSolderless-Breadboards are very common to make and build electrical prototypes typically, they consist of rows, and each row has 5 holes. There are 2 columns of rows on a standard breadboard. I want to introduce a new possible challenge. breadboard-golf. Why should we allow these challenges? ...

 
1:01 AM
@Downgoat Is it the math or the java that's messing you up?
 
stupid math
like today I missed one problem on quiz that was:
for (int i = 0; i < 4; i++) {
    n *= n;
}
I did this is equal to Math.pow(n, 4) instead of Math.pow(n, 8)
I was thinking n^^4 not n^4
 
@Downgoat I always review my answers at least twice before turning tests and quizzes in. If there's a lot of time left and it's easy questions, I do it meticulously.
@Downgoat I wonder how many langs that's valid in
 
but... but... it's fun finishing quiz in like 30 second while rest of class struggle on how to find last character of string.
 
@Downgoat You mean theory, like with O(whatever)
 
no
i mean like basic maths
like messing up 10*16
 
1:05 AM
@Downgoat Okay I guess, just be extra careful with loops. Can't you use a computer? Because that's what real people do in real engineering situations
 
no
we have to handwrite all code and everything
 
this is the worst class ever
 
computers are required to be off during tests/quiz
 
The point of CS isn't to get it right first try. >.>
 
@noɥʇʎPʎzɐɹC yes but acing it will look amazing on my transcript
 
1:06 AM
@Downgoat It's not even CS, it's cE
 
It's to write something, then provide good test cases for verifying it, fixing if necessary.
 
@Downgoat "computers are required to be off during coding"
@VoteToClose The rare breed of goat has no computer.
 
@noɥʇʎPʎzɐɹC its to prepare for the ap comp sci test
which is completely handwritten
 
My V answer is almost up to 2 hundred bytes... :(
 
@Maltysen our teacher don't allow even for normal quizzes
 
1:07 AM
@Maltysen I need to practice being a step-through debugger.
 
It's to :get used to the final"
 
@Maltysen (also kinda dumb but okay)
 
@VoteToClose no I'm not saying it isn't dumb
 
@Maltysen I know. :P
 
i'm saying the dumbness is less part of the class as much as part of the ap test
:P
 
1:07 AM
We are violently in agreement.
 
btw, in good news. I figured out how to gvim on school computer instead of stupid bluej java ide
 
Computer Science 101 is Computer Engineering 101. Computer Science is when you have white hair and draw maths on the whiteboard trying to prove (with MATH) stuff is NP-complete; basically telling your boss "if you want me to write a quick algorithm for this, I'd literally get 1 million dollars"
 
we didn't really have a class, the school just paid for an online course for us, and so while the actual test was easy as shit, my hand hurt like crazy by the end of it
 
So apparently school erases your home folder when you log out, but if you put an item in the trash can, it does not get deleted
 
@Downgoat you could use a flash drive like a sane person >_>
 
1:09 AM
@noɥʇʎPʎzɐɹC Yes
 
@Downgoat That's because it goes in /Trashes
 
Dec 8 at 4:31, by Downgoat
:'( very sad moment when you don't back up USB drive and it get stolen
 
@Downgoat oh rip
 
It was very expensive at $13
Protip: Always buy USB with built-in transponder
 
@Downgoat make a thing that clones a backup in the form of a github repo
 
1:09 AM
o_O I got mine for a buck fifty
 
@Downgoat take a linux live usb, do sethc, and give yourself a local admin with netuser
 
@ConorO'Brien will break in 10 minutes
 
@VoteToClose I've had mine for 3 years
 
@ConorO'Brien yea but mine was fancy samsung 64GB shiny one
 
@Maltysen Literally me.
@ConorO'Brien O_O
 
1:10 AM
@Maltysen 99% of linux GUI suck tho :I
 
it's only 4GB tho
 
@Downgoat leave
8
 
@Downgoat you don't have to use linux, this is to give you an admin on windows. Also D:
 
@Downgoat you can get free github private repos if you are a student, and the signup is super easy, literally type in your univ email and go. It's super useful.
 
<3 gaot
 
1:10 AM
@noɥʇʎPʎzɐɹC I am still in HS tho
 
@Downgoat It worked for me in middle school
Enter your school email
 
No I mean I don't have univ email
Wait really
 
starred for agreement
 
Yes. I'm cough cough still in Middle School cough cough (c'mon, i'm only a freshman--). And it worked automatically for me.
 
Freshman in middle school?
 
1:12 AM
I feel like they might accept any email where the host contains "uni"
 
sells business idea to spammers
 
@Downgoat freshman - 1 grade
 
hm :/ I have to wait couple days before I get GH Education response
 
I just finished watching the Dirk Gently series
 
@noɥʇʎPʎzɐɹC :O My request say approve
 
1:15 AM
@Downgoat Yep, it's almost instant.
 
wait how do I access my stuffs now ._.
 
@Downgoat ?
 
like is there something I need to enter in github or is it like just automatically done
nevermind
 
@Downgoat I think you have to go to your school email and click the link
 
yup found it :D
\o/ Yay for free stuffs
 
1:17 AM
@Downgoat You also get IntelliJ pro if you want to not use vim /s
 
@Dennis dammit dennis
 
Also includes Amazon AWS credits
 
@noɥʇʎPʎzɐɹC I am not jetbrains fan
 
bamboozled once again
 
I dislike IDEs in general
 
1:17 AM
@Downgoat Netbeans is not intellij
 
@Downgoat ...do you use vim?
or gasp NOTEPAD?
 
@noɥʇʎPʎzɐɹC Sorry, I cannot thing apparently :|
@VoteToClose Yes
10/10 best editor ever
 
Dude do you even package
 
@Downgoat maybe you should put it on vim keymap and use distraction free mode, it's literally just the code
 
What
@noɥʇʎPʎzɐɹC does it support HiDPI display?
 
1:19 AM
You don't do large-scale OOP stuff do you?
 
@Downgoat Yes
 
@VoteToClose Totally not like I made an entire year-long OO project :/
@noɥʇʎPʎzɐɹC :O brb investigating
 
PyCharm, IntelliJ for python, has the best static code inspection EVER
 
@Downgoat /me is blown away
 
Is it slow?
 
1:20 AM
@Downgoat no, but it uses *some ram.
 
Do you compile it and jar it just through the command line? No Maven, no bundler, nothing?
 
@VoteToClose the best is when you use it to dump all the student ids from registry, which are 95% of the passwords because that was the default
 
If you think Vim is Notepad + weird shortcuts, it is obvious sign you have never even attempted used Vim for programming.
 
@Downgoat use the dracula theme
@Downgoat It's Notepad + very weird shortcuts /s
 
@noɥʇʎPʎzɐɹC Ok, I'll try out
@noɥʇʎPʎzɐɹC ಠ____________________ಠ
Vim : Notepad :: Python : Machine Code
 
1:22 AM
0
A: A keyboard so real you can almost TASTE it

DJMcMayhemV, 189 bytes i`¬19A0-=BS´ TAB³ qwertyuiop[]\ CAPS³ asdfghjkl;'ENTER SHIFT´ zxcvbnm,./SHIFT´ Í[^A-Z ]/|Õ& Í|*¼/| ÎA| Í|*¨Ó«ó«©|*/|&| Ùòf T|v,r_òddç^/Yp@q ç_/YpÓ|_/¯_ ͯ_*ús_|/_Ü LòYkkPÓ[^|]/_ Ó|/ k Try it online! This is by far the longest V answer I have ever written. It took me almost ...

2
 
Aren't all text editors Notepad + shortcuts?
 
Not ed
 
It took me an hour, but there's the longest V answer I've ever written.
 
@Dennis not cat
 
1:23 AM
@Dennis Last time I checked you can't run sh code on Notepad no matter how many buttons you press
@DJMcMayhem back me up? :3
 
cat is not a text editor.
 
@Dennis yeah but you can pipe
:P
 
@Downgoat Install WebStorm for JS, supports more than web. IntelliJ alone is only good for Java
 
I can register downgoat.me :O
3
 
not a steady hand and a magnetized needle
 
1:24 AM
@noɥʇʎPʎzɐɹC hahahaha
 
@L3viathan ._.
 
JS IDEs are dumb
 
@Downgoat yes, but in a year you'll realize how expensive .me domains are
 
@Downgoat It offers accurate "no that method doesn't exist"
 
@Maltysen By that logic, gunzip is also a text editor.
 
1:24 AM
@Downgoat cough cough, turing complete, cough
 
I understand IDEs for something like Java with a ridiculously overcomplicated build process but JS?
 
@Dennis true, but I was going off the relevant xkcd
 
Why is my shameless self-promotion starred?
 
@Downgoat It's the inspections. It has JSHint, JSLint, and JSCS all inline, LIVE.
 
@noɥʇʎPʎzɐɹC Is ReferenceError: Can't find variable: bar not enough to have you understand that bar is not defined?
@noɥʇʎPʎzɐɹC grunt watch?
 
1:25 AM
@Downgoat It underlines it inline
@Downgoat It highlights it
And you can debug chrome extensions from within it, it's like a complete gdb
 
Eh, if you can code those kinda things are pretty useless
As you get more experienced 99% of your mistakes or logic errors, not syntax
 
^ This is why even as a nerd, I find nerds annoying..
 
@DJMcMayhem cause it's a cool anwer
 
@Downgoat Rename variables across files is really useful
CLion is like meh
 
Not if you properly design your app
and there's a bunch of JS command line tools for refactoring
 
1:27 AM
@EᴀsᴛᴇʀʟʏIʀᴋ It was a PITA to write
 
:( I can't find IntelliJ as part of GH Education bundle
 
I'm gonna go eat now.
 
@Downgoat JetBrains has a really similar program, but WebStorm is free too I think
PyCharm and IntelliJ are free
 
@noɥʇʎPʎzɐɹC random question: is it possible to store IntelliJ on a USB drive?
Another Question: Does anyone know of USB drive with built-in transponder?
 
@Downgoat I have no clue, it's windows ain't it?
 
1:29 AM
@DJMcMayhem looks about right >_<
@DJMcMayhem o/
 
@Downgoat I already told you, you just have to sethc to get yourself an admin account and not worry about reinstalling everytime
 
> Your email address does not belong to any university that we know. Contribute your university to our list.
:(
 
my entire county is on the list
 
@Maltysen but now stupid plastic non-shiny 4GB usb drive isn't big enough to hold any half-decent OS w/ apps
 
@Downgoat you're still not getting it
sethc + netuser gives you an admin account forever on the original os
 
1:30 AM
Oh
I did that once and school got mad
Can't do it again or I'll loose computer privs for the year again
0/10 Not my proudest moment
 
o_O your school actually notices things
 
@Downgoat You just need to take down the us government, I think the tool is on npm
 
School is stupid, they couldn't possibly. Unfortunately stupid ex-friends tattle like little babies
> npm install -g us-revolution
 
@Downgoat that's stupid
 
I agree
 
1:36 AM
@Downgoat npm install -g coup actually.
coup turkey --attempt
 
O_O
npm ERR! 404  'coup' is not in the npm registry.
 
coup sudan -revolution --new-name="South Sudan"
 
@noɥʇʎPʎzɐɹC Idea: Let us make this module
 
@Downgoat Yeah!
 
wait aren't all coups revolutions? So -revolution flag is redundant
 
1:37 AM
@Downgoat a revolution makes it split and is muuuuch slower
 
Hm ok
Should we make webapp too with fancy graphics? :D
 
@Downgoat yes, but remember I cannot css, I can graphic design
 
ok. First let's design command line app and then we can figure out the webapp
Lemme get it started
 
yeah
war middle-east; coup syria -revolution --belligerents="ISIS;Syrian Liberation Forces;Syria;Random Groups"
 
Do you know ES6?
 
1:39 AM
@Downgoat what would it do?
 
@Downgoat Yes.
 
@Maltysen see CrazyPython's last couple messages
 
@Downgoat yeah but what does it actually do?
 
@Maltysen "Starting proxy war between US and Russia..."
 
@noɥʇʎPʎzɐɹC invited you to repo
 
1:40 AM
like war games?
WOPR
 
yeah, kinda
 
@Downgoat it should send emails to president of the countries you mention
 
Haha! V is beating bubblegum!
 
I should be studying for finals ._. not creating war game
 
and with different content depending on the flags
 
1:41 AM
@DJMcMayhem :D \o/
@Maltysen Do you want to help develop
 
The timezone is not convenient for me to code immediately.
 
You seem to have a good idea of what war game should do
 
I bet osabie is gonna do it in like 150
 
@noɥʇʎPʎzɐɹC what timezone are you in?
 
@Downgoat EST
 
1:42 AM
@Downgoat sure
 
@noɥʇʎPʎzɐɹC ah ok
 
its node thing?
 
@Downgoat Yes yes yes yes yes
 
idk how to node
 
@Maltysen Invited you
 
1:42 AM
5PM in calif now
 
I'll probably have the game info in separate file
 
Love the description
^^
 
@noɥʇʎPʎzɐɹC #WestCoastBestCoast
 
@Downgoat huh?
 
on GH
 
1:43 AM
@Maltysen on gh
ninja'd
 
#2am here
 
We can develop game strategy in GAME.md which I'll push
 
cloud9?
@Downgoat wait is this a game, or will it attempt to start real wars by emailing political leaders?
or both like WOPR
 
@Downgoat do hack md
@Maltysen Hm? I already emailed russia with a nuke warning
 
@noɥʇʎPʎzɐɹC ok, do you want to create?
@Maltysen We don't need to send email to start war after January 20, 2017 :P
>_> please no flag, it's a joke.
 
1:47 AM
@Downgoat lel
but seriously, what are we writing?
is it a game? just sending emails? or both?
 
@Downgoat no, lol
@Maltysen game
 
i see
 
@noɥʇʎPʎzɐɹC do you have a Cloud9 account?
@Maltysen video game, probably
 
@Downgoat no
 
we'll see where it goes
@noɥʇʎPʎzɐɹC can you try to create one? It's really nice for collaborating on projects
 
1:50 AM
@Downgoat @Maltysen
actually i'll do it
 
yeah
 
2:02 AM
Can't create new accounts without billing info on C9.
even through github
 
For those interested in KoTHs or DotA: DotA just released a scripting API so you can write bots to play in the game
 
@Downgoat @Maltysen hackmd.io/…
just so you know, don't have to work on it now
 
@NathanMerrill Elaborate? I know Dota 2 has VScript like all games after L4D2 but I wasn't under the impression they were really encouraging custom content
 
so I'm trying to create a simple stack-based language in C++. It has one stack that can contain multiple data types. How should I go about implementing this in C++? My idea is to have a class that contains the relevant information and methods for all types, and has a single type attribute
 
This is what polymorphism is for
Base class and each type extends from it
 
2:16 AM
yeah I don't think that's english :P
 
?
 
Polymorphism is when class B and class C are both extensions of class A, so you treat B objects and C objects like a generic A object so they can behave similarly
 
oh
that's bloody fantastic
 
So you can have a std::vector<*A> that holds pointers to B and C
 
why *A?
 
2:18 AM
@ConorO'Brien That sounds overly sarcastic.
 
@mınxomaτ it's completely emphatic
 
@ConorO'Brien because if it's not a pointer it will complain that B and C are not A objects
 
@DJMcMayhem oh, I see
 
Question: anyone else want to help develop our coup war game in ES6? :D
 
The methods have to be virtual
 
2:19 AM
@Downgoat I'd love to--maybe next week?
 
So you can do A* foo = new B() but you can't do A foo = B
 
@quartata as in, prefixing virtual to each method type?
 
@ConorO'Brien I'll invite you to GH maybe and you can come onto the hackmd anytime if you choose too
 
@Downgoat thx!
 
I might be wrong on some of the minor details since it was a while since I last used this kind of stuff
 
2:20 AM
Yes but don't do it if you don't know what it means
 
@quartata oh
 
where can I read about this stuff then
 
A good C++ book?
 
211
Q: C++ Virtual/Pure Virtual Explained

JustinWhat exactly does it mean if a function is defined as virtual and is that the same as pure virtual?

The second answer is more useful IMO
@quartata you should answer the keyboard ASCII-ART challenge in cinnamon gum. :3
 
2:23 AM
@ConorO'Brien It's a text-based game, a web-based will come alter
 
@quartata They just released it in the last 24 hours. The bots wouldn't play against real players (unless you specifically setup the game that way)
 
@DJMcMayhem I tried that and got error: '*' cannot appear in a constant-expression
 
What was the line?
 
Oh duh, it's std::vector<A*>, not <*A>
 
2:35 AM
oh. why?
 
@noɥʇʎPʎzɐɹC @Maltysen are we good on the initial program design?
 
Because the star goes after the type? IDK
 
oh ok
@DJMcMayhem same code except fixed, I got this error:
main.cpp: In function 'int main()':
main.cpp:25:14: error: 'i' does not name a type
     for(auto i = animals.begin(); i != animals.end(); i++){
              ^
main.cpp:25:35: error: expected ';' before 'i'
     for(auto i = animals.begin(); i != animals.end(); i++){
                                   ^
main.cpp:25:35: error: 'i' was not declared in this scope
I thought auto was okay for traversing a vector
 
Yeah, it is. It's probably the previous line
 
what about the previous line?
 
2:41 AM
idk, but a mistake in one line frequently leads to errors in the next
 
oh
I'm probably not compiling it with -std=c++11
 
Random french question: I think it should be "Il est un homme" but apparently it's "C'est un homme", is this true?
 
@Downgoat yes
 
@Downgoat well, it depends. the former means "he is a man"; the latter, "it is a man"
 
Hm :/ I thought it's Il est is used before adjectives and c'est before nouns
 
2:48 AM
@ConorO'Brien I'm not positive this is your problem, but I think you need to either define Animal::talk() or make it a pure virtual
 
@DJMcMayhem well, the code compiled when I added it. It just wont print anything now
@Downgoat e.g. "Qu'est-ce que c'est?" "C'est un homme"
I've never heard of such a rule
 
this is what google told me ._.
@ConorO'Brien ok thanks
 
@DJMcMayhem isn't it pure virtual already?
 
QUestion is "if he/she is english or american"
 
Not unless you add = 0;
 
2:49 AM
oh
oh
 
I'm an idiot because I didn't call the compiled program
tyvm! :D
 
Actually, changing virtual void talk() {} to virtual void talk() = 0; would probably make more sense, since a generic animal can't talk.
But you'll need one or the other
 
@DJMcMayhem I'll do the latter, good idea
 
I've golfed 25 bytes off my keyboard answer so far. :)
 
2:53 AM
:o
the V one?!
 
Yeah
 
nice!
 

« first day (2145 days earlier)      last day (2713 days later) »