« first day (1015 days earlier)      last day (3947 days later) » 

3:14 AM
-1
Q: EEG blink detection algorithm for neurosky mindwave?

user2205761This might be a long shot but does anyone know how I can implement a blink detection algorithm using the eeg raw data? I've tried just detecting a spike in brain activity but it also gives a false positive whenever the electrode moves on my forehead.

isn't blinking an EEG artifact ?
 
3:39 AM
Seriously.
If you want to make me notice that a pointer might be null at a certain point, fine. But don't give me ***damned compiling warnings about that.
 
as you said it should atleast be able to realize it can't be null in the for block
 
3:55 AM
Heyo
 
4:07 AM
I think I read this here in the last few days: someone referring to a particularly entertaining question said "immortalized as some.website/something/so-debug". I thought it may have been bit.ly, but can't find it. Anyone know?
 
4:46 AM
-2
Q: Putting someone's question on Hold is ultimately generating load on stackoverflow server

s.singhSuppose some one is new user on this site. and he asks a question on this group,that is not of good quality or he has not shown good effort/research work due to some reason.I See after few hours someone has putted his question on Hold. Then he can ask the same question with a new account and user...

^^ AHAHAHAHAHAHAHAHAHAHAHA
 
5:02 AM
@Mysticial Well, sort of agree with this guy on some part. This group is very hard to get any srot of positive feedback from. I'm not saying it's not warrented. Something like programming.. I've once helped a gf try to get through intro to programming. It was brutal. Anyway, not everyone deserves default attitude and hatred that is unbiasedly pushed upon new accounts.
 
@Chemistpp New accounts that post quality questions are treated with respect. It's not about the new account, but about the lack of effort most new accounts show. I mean a few fucking capital letters here and there really would not hurt.
 
@Chemistpp I'm not disagreeing with you on that part. Nobody can deny that SO is absolutely brutal to new users. I'm just laughing at the thought that users reposting their questions could be DOSing SO's servers...
 
@LightnessRacesinOrbit Oh, I agree. Just that a handful of my questions are asked after research but due to a fundamental disconnect in understanding, I was treating like a moron but a few kind people have helped me.
 
@Chemistpp Yeah, lack of understanding can be dealt with fairly harshly sometimes. It is also important though to not mistake a lack of smiley faces and exclamation marks for "harshness"
 
I think questions should be downvoted, but positive insights into WHY is extemely helpful in preventing reiteration of shit
@LightnessRacesinOrbit word
 
5:06 AM
@Chemistpp It's intractible to go through that for every poor post. That's why we have close reasons, and a FAQ, and existing questions to look at for comparison.
Ultimately SO has no need to pander to new users who can't be bothered to look at existing high-quality questions as inspiration for their own. They have no "right" to get this treatment, especially when it would take so much effort on the part of all the volunteering experts.
 
@LightnessRacesinOrbit oh I agree. Imean I know that the questions I asked that got downvoted, where because of, ultimately, a failure on my part. sorry(This was prem to your edit) I whole heartedly agree..
 
If you can't work out that looking for existing questions before you post your own is probably a good thing, then I don't really care about helping you out with that. (Where "you" = "one of them")
 
I just support accute discretion.
 
Sure
> This group is very hard to get any srot of positive feedback from.
I really wouldn't agree with that at all, though.
Every upvote is positive feedback, and SO has plenty of them.
 
@LightnessRacesinOrbit sorry, I take that back.
@LightnessRacesinOrbit this group can be very abbrasive*
 
5:09 AM
By "this group" do you mean SO as a whole, the tag, or the Lounge? Or all?
I'd say all.
 
@LightnessRacesinOrbit I have no idea, I'm a small subset, but I'm on board with all
@LightnessRacesinOrbit My guess is that the BAs at C++ are also genius at C#, C, Python, etc...
 
Abrasion is fun and I won't deny that many of us employ it routinely. :) And when you're an expert (again, where "you" = "one of them"), then you can be abrasive too! Part of the ladder of life.
@Chemistpp Well, having a BA in C++ (if that's what you mean) doesn't mean you're good at it (almost never), and actually most C++ experts probably stay away from all that kind of crap. But I see your point.
 
@LightnessRacesinOrbit true! But being an intermediate, I can't share that opinion but being an expert in other places has made me empathetic to not being a master at first attempt. Unfortunately, many, like me use google to search problems and SO is almsot always the first hit
so you get all the noobs for being awesome ;)
 
@LightnessRacesinOrbit not bachelor of arts, sorry, I meant, in general, being bad ass ;)
 
5:13 AM
ok
0
A: Include .cpp file?

ChrisBD there's an undefined reference to 'LinkedList::LinkedList()' Have you checked to see if your LinkedList class has a constructor?

 
anyway, I think most peole who get - votes deserve that shit
 
BUT I like the idea of being able to 'repent' or reformat my question
 
0
Q: What hardware is required to run this program?

J Mark InmanMy main goal here is to get the results from this program for my research programs, so even if someone has a ready database of such a permutation set I could download, it would be helpful to my quest here. That said, if I could generate it myself, it would be an advantage to what I'm doing. Pro...

> So, how can I get this data? Do I need a new system? If so, how much space or RAM do I need?
Have no fear, downloadmoreram.com is here :D
 
8.9 trillion combinations. Not too bad. It'll fit in a handful of hard drives.
 
5:16 AM
lol..
 
Heck that 10 trillion digit Pi computation needed ~48 TB of scratch memory.
 
@LightnessRacesinOrbit anyway, I'm a noob so ultimately my opinion is not worth much. I have no idea the avg. SO post :) I know that over the last month or so, the C++ lounge has taught me tons of shit and I've made a couple friends so SO can't be a bunch of a holes ;)
 
@Chemistpp oh, it is :)
 
lol
self proclaimed then :)
 
@Chemistpp We're not holes. We're assholes.
 
5:24 AM
@Mysticial not true. After this long of being dumb, I only think very few are aholes. The rest of you are nice people with a tolerance ;)
 
Very soft assholes ;_;
 
@Magtheridon96 That's what she said.
3
 
@Mysticial Damnit! I just missed the arrow to say that!!
 
@Mysticial In my dreams of course~
 
What data structure would you use for holding a music library. It would contain artist names, album names and song names. And it would enable getting all songs by an artist or all songs from a specific album etc..
Or would you just use a relational db?
 
5:26 AM
@Mysticial he says he wants to find the permutations ?
 
@StackedCrooked Oracle database. It'll only cost 2 arms and 2 legs.
 
that should be possible
 
@Mysticial I was thinking about SQLite :)
 
sqlite is awesome
 
@StackedCrooked Depends on the performance you need. If it's for personal use, SQLite should be fine. If you're trying to run a large web-site (e.g., Google Play Music or ITMS) you'll probably need something a bit more elaborate. That said, I think the number that will be fine with SQLite is much larger than most people seem to believe.
On second thought: you need MongoDB. It's Webscale! :-)
 
5:29 AM
Maybe std::set<Artist> with Artist being the owner of Album objects which in turn are owner of Song objects. However, it might be slow due to lack of indexing by different keys.
It would be about 10k - 100k songs.
@JerryCoffin MongoDB? Interesting.
Or just kidding? :)
 
@StackedCrooked Pre-defining the relationships has all sorts of shortcomings, primarily in flexibility. It's unlikely you're going to index in the ways to find something like: "all the albums from all the bands who've published a cover of any song on a Jimi Hendrix album".
@StackedCrooked definitely just kidding. Thought you'd catch the allusion.
 
@JerryCoffin I was reminded of that :P
 
Truthfully, in this case you probably don't have much in the way of defined relationships that need to be enforced, so a key/value store like MongoDB would probably be perfectly fine (though I doubt it provides any real advantage for this purpose either).
 
I'm really struggling a program design. Should this be a struct, should this be a class, what should inherit what and include what... do you guys have any suggested good read that steps back from syntax and talks about program structure?
 
structs and classes are the same thing, sans the visibility (public vs private default respectively)
 
5:38 AM
Basically my app would scan a directory recursively. This directory has a fixed structure of artist/album/song. Then it should allow the user to browse the collection. It may store metadata in the user-folder for caching purposes.
 
yes, but the meer fact that they both exist....
Structs should be used when something doesn't have methods... is how I was taught.
 
They're equivalent.
 
But to keep it concise, I'm still missing something in terms of design
 
I don't get why one shouldn't have methods while one should.
 
@Chemistpp There are lots of them (e.g., dealing with object-oriented design) but most start with a fairly significant religious slant, so unless you want to adhere to the religion they're preaching, you end up needing to read a dozen before you get very far.
 
5:39 AM
0
Q: Using javascript variable on html <a>

Adyana PermatasariI have this javascript code: <script ="text/javascript"> var newUrl=window.location.href; var pathArray=""; pathArray=newUrl.substr(newUrl.lastIndexOf("?")+1); </script> I want to use the pathArray variable as a part of my href on the tag This is my html code <a...

^ dear oh dear
 
@JerryCoffin I hate religion.
expcet
except
chrsitianity
LOL jk
nah, I'm athiest.
 
@Chemistpp Use classes everywhere because it really won't make a difference~
 
@Magtheridon96 ok. So let's say, I have a character that can hav ea feat
 
@Chemistpp Here I'm talking about things like object oriented purists, functional programming purists, etc.
 
I have a class feat
but feats depend on a specific attribute
 
5:41 AM
@Chemistpp That's a convention perhaps (and I sometimes use it myself) but there's no technical requirement of it in C++. Your teacher is probably confused by C. Hey, most teachers are.
 
feat doesn't need to inherit attributes
but my character does
but feat needs a specific attribute
 
Your character shouldn't inherit them
 
but character is blind to which one
 
A character has attributes
 
character has feet but isn't a foot
 
5:42 AM
do I pass my entire character to the feat
 
Your character is not attributes
 
okay
so it hsould include attributes
 
Phase 1: Knock out for some 3/4 hours, check
Phase 2: Prepare the Kitchen, check
 
Is A -> inherit
Has A -> aggregate
 
5:43 AM
fruit salad ?
 
Phase 3: The final step. Begin. <3
 
@JerryCoffin How do you store hierarchical data (artists/albums/songs) in a flat key/value store?
I remember reading that Reddit has only three tables. I should look into that.
 
@ThePhD So ...
 
@StackedCrooked Just about like you do in a relational database -- create tables that connect one table to another.
 
I think JSON files can do that. Not sure about their scalability though
 
5:45 AM
@ThePhD PICTURES!!!
 
-1
Q: How to make dynamically added content clickable?

TheStevenI am adding dynamic content to a php page using jQuery. I don't have a problem adding the content I just can't seem to find a way to make the new content respond to a click event. For example (I'm using a div here but could be a button or other type). $("#oldstuff").after('<div id="newstuff">...

I can't handle all the shitty Indrish
> And once you've done that, Check it out in proper fashion
> for your kind attention, i have found syntax form Jquery official site api.jquery.com/on now can you also explain why ?
> So jquery have new method .live or .on but .live is depriciated newer version. And same is working in my case.
 
"artist" {
    "album1" {
        "song1" : "filepath",
        "song2" : "filepath",
    },
    "album2" {
        "song1" : "filepath",
        "song2" : "filepath",
        "song3" : "filepath",
    }
}
Does that float your boat?
 
@Magtheridon96 It presupposes that every song is part of an album, and that every song is only on one album, and that every song is only by one artist. Unless you want dupes, in which case I just can't help you
 
@StackedCrooked No, you really shouldn't. Reddit has done a lot to favor scaling over almost everything else. At least as I understand things, its architecture is also heavily oriented toward a few specific types of things -- mostly adding new records very quickly, and scanning through records in sequence for display.
 
@Magtheridon96 That's hierarchical, not key/value format.
 
5:48 AM
@StackedCrooked It's missing a few :, too, but we'll gloss over that.
 
@LightnessRacesinOrbit Oh, you're right :<
 
@LightnessRacesinOrbit Yeah @Magtheridon96 sucks really bad.
 
I get that a lot -- you'd be surprised -- or well, maybe not
 
@Magtheridon96 Out of courtesy, we might at least try to act surprised anyway.
 
@Magtheridon96 I could do it like that though. It's just a different approach.
 
5:54 AM
I think at the very least, you probably want to separate "a song" from "a performance [of a song]", so if two artists perform the same song, you can record that fairly directly. Likewise, if you might have recordings of the same artist doing two different performances of the same song (e.g., one live album, one studio).
Well, it's about midnight -- I need to get to bed.
 
Good night Jerry <:
 
@JerryCoffin night
 
@JerryCoffin night
 
I'm playing Cave Story again
 
cave story?
is that a game?
 
5:57 AM
Yes.
 
You know what game I'd play hundres of times? Chrono trigger
that game will make me feel like a 10 year old kid time adn time again.
love that game
what's cave story?
let me google that for myself
 
Platform-adventure
It was made entirely by one guy, which I think is pretty neat.
 
@Rapptz yeah wow. Looks like metroid on uppers.
 
Cave Story+ is like $10 or less on Steam
 
I had a look at iTunes Music Library.xml and it only defines a list of tracks and a list of playlists. Each track has a number of properties (id, name, artist, album, ...). And each playlist has a number of track ids. And that's it.
 
6:00 AM
iTunes also sucks.
 
@Telkitty猫咪咪 YOU'LL NEVER TAKE ME ALIIIVE
@JerryCoffin Good night. <3
 
Uh. I dunno, I guess you won't?
 
I'm leaning towards too broad as well. Maybe if he narrowed it down to a specific container.
 
I voted to close.
 
Must
muster
strength to make
fruit salaaaaad..
 
I am going for burger & chips tonight
have been eating healthy for 2 weeks
Not completely healthy ... but not as unhealthy as fast food
 
I think it is five years since I had a meal at mcd
 
6:26 AM
I don't like maccas
 
McShit.
 
Try this
 
Usually go for hungry Jacks ... speaking of which I did have Maccas last weekend - had 10 mins for lunch, and saw Angus burger ads ...
 
@Borgleader what is it? A mcd dessert?
 
Haha no they don't have that at MCD. This is poutine. Fries + gravy + cheese
 
6:30 AM
:)
 
@JohanLarsson a mcdonalds dessert? No way, that looks like a McD healthy breakfast based on their menu
 
Poutine sounds like the most overrated meal of all time.
 
For Italian poutine replace gravy with spaghetti sauce
 
I don't like soaky fries anyway
 
@Borgleader probably delicious. I love italian food.
if I write something in vs 2012 prof, would it always compile right in vs 2010 express?
my friend wants to help with my project but doesn't have my compiler
 
6:33 AM
Not if you use c++11 features not in 2010
 
I'm worried.
so lambda functions are no go?
 
yep
 
damn
he's not quite the pirate I am.
but my 2012 copy is legit
I'm just trying to give it to him
hahaha
maybe we should move to that mingw thing. heh.
 
MinGW + QtCreator is nice.
 
Get Cygwin and you'll be a happier person ;_;
 
6:40 AM
ew Cygwin
 
You could also both jump ship to VS2013 Preview, and sign up with a dummy account to get an extended trial (like, hundreds of days)
@Magtheridon96 Kill yourself.
 
@ThePhD I already have :>
 
Or just use MinGW and QtCreator
 
hahaha, I really like intellesense of vs2012 because I'm a noob and it's nice because it knows what I want to do most of the time.
do any ides for linux offer comparable function?
 
@Mysticial The guy liked cplusplus.com lmao
 
6:42 AM
I think I used emacs back in school.
that one seems to be unmentioned these days lol.
 
LOL SO FUNNY CPLUSPLUS.COM LOL LOL
 
@NeilKirk Hey now, you're entitled to your own opinion. Just know it isn't a great factual resource.
It even has a question to why it's considered bad.
13
Q: Why is the cplusplus website bad?

pedromanoelI always used the http://www.cplusplus.com as a reference. I really like the way the documentation is organized, making it really easy to find what I'm looking for. However, I was looking for good alternatives and I stumbled upon this question: Good reference for C++ iostreams? There, one of th...

Ah right, I forgot the answers were wiped or something.
Anyway, topic done to death.
 
There are no answers on it. Not even deleted ones.
 
I remember reading one where Nawaz and Tomalak answered and a bunch of other ones.
It was on stackprinter though. Something like this maybe stackroulette.com/programmers/88241/… but it 404s.
 
6:51 AM
Have anyone here used SQL server express?
 
@NeilKirk Don't worry. Rapptz is just a troll that would vote to close and encourage others to vote to close a question that could potentially help a great number of novice c++ programmers. I guess it's better to keep the jobs for ourselves... am I right?!?!? — Homer6 43 secs ago
hahahaha.
 
LOL
 
Maximum Butthurt.
 
Both times I've mentioned I'm voting to close a question I got flamed for it.
I think I should just close without saying anything.
 
Oh clang error
sweet
 
6:55 AM
don't you have anything better to do than wait for questions to appear so you can complain about them and make fun of posters
 
Yes.
 
go do it please
 
I already am.
 
@Rapptz Here's one for ya:
-3
Q: guys plz help me fixing this piece of code of link list ..displays only the first node

user2625026i created a new node here import java.io.*; public class node { int element ; node next,i,p,head=null ; node() { element=0; next=null; } } thu this class i accessed node class to create objects import java.io.*; public class linklists extends node { static BufferedReader br = ne...

 
lol
I'm not indenting that. :(
 
6:59 AM
@Telkitty猫咪咪 You're doing C++ now? :D
 

« first day (1015 days earlier)      last day (3947 days later) »