« first day (663 days earlier)      last day (4300 days later) » 

7:00 PM
The issue was the fact I was using a custom deleter method on my smart pointers
@Collin You kind of did.
 
added the 2th^7 vote :) — sehe 4 secs ago
 
@FredOverflow The most conforming implementation ever. Unfortunately, it's purely theoretical. Also unfortunately, when given leeway, it always makes the worst decisions possible.
 
Anyways; I assumed that freeing the memory for the pointer would be enough
 
@sehe (2^7)th :P
And otherwise, 2nd^7.
 
But I assumed that the custom deleter implementation in the shared_ptr would call the DESTRUCTOR of the object, then call my free method to de-allocate the memory!
 
7:01 PM
It’s second, not seconth.
 
Apparently this is not how it works
 
@RadekSlupik duh, would have been secondth anyway
 
The destructor of the object was NEVER being called, but my free method was
So I simply had to declare a common interface (IKnown)
 
Jan 19 at 23:23, by DeadMG
but the basic idea behind Hell++ is a Standard-conformant C++ compiler which goes out of it's way to be as unfriendly and surprising and annoying as possible
 
@RadekSlupik Can you tell I humped on two thoughts there? Fixed, thanks
 
7:01 PM
which I made all of my custom managed objects inherit from (it included a virtual destructor)
 
@R.MartinhoFernandes GCC?
 
@R.MartinhoFernandes Sounds like GCC.
 
@R.MartinhoFernandes Where can I download it? ;)
 
(invoke the destructor method and )Then free the memory
 
Far from it.
Jan 24 at 17:44, by R. Martinho Fernandes
In Hell++, sizeof(bool) is 237.
 
7:02 PM
@RadekSlupik Wow! We're made for each other!
 
@RadekSlupik I always thought it was sick cunt..
 
Jul 31 at 11:43, by R. Martinho Fernandes
FTR, Hell++ puts automatic objects on the heap.
 
@RadekSlupik Cpt. Obvious
 
@FredOverflow It's shipped with your DeathStation 9000.
 
GCC is so hilarious. It even sucks at its license.
 
7:02 PM
@FredOverflow It's purely theoretical.
 
Tablet sucks for typing
 
And if anyone proves me wrong, where did I leave my gun?
 
@R.MartinhoFernandes You smashed my dreams :(
 
@IDWMaster Depends on the tablet.
 
@R.MartinhoFernandes You left it in the second drawer.
 
7:03 PM
@Drise Samsung Slate without Bluetooth keyboard
 
@RadekSlupik Where is Hell++'s License? It has none, in order to be unusable
 
@R.MartinhoFernandes y u no have built-in machine gun.
 
@IDWMaster Never heard of it. I use the Moto Xoom and it's fantastic.
 
@sehe Probably also GPL, because GPL is a hell of a license. GPHELL.
 
What's Hell++
Some impl of C++?
 
7:04 PM
2 mins ago, by R. Martinho Fernandes
Jan 19 at 23:23, by DeadMG
but the basic idea behind Hell++ is a Standard-conformant C++ compiler which goes out of it's way to be as unfriendly and surprising and annoying as possible
 
MESSAGE GOT BINNED, C IS AWESOME.
 
@Cicada Slow poke
 
@EtiennedeMartel GCC is unfriendly and surprising and annoying, but it's not conformant, and those characteristics stem from incompetence.
 
Samsung Slate is Windows 8 capable
 
@RadekSlupik I would detonate the ocean floor causing a toxic gas bubble to rise up and kill all life on Earth.
 
7:04 PM
No.
 
That's why I'm using it
 
The standard is not conferment to GCC.
 
Omg Steve Jobs died???
 
@Cicada Haskell + Smalltalk ?
 
Anyways; why on EARTH doesn't shared_ptr call the destructor anyways?
 
7:05 PM
@Cicada You just realized that?
 
Hes from Haskell and ll from Small talk ?
 
@Cicada He did!
 
Haskell + Smalltalk would not be a hell, rather heaven.
 
@sehe Hell++ has a retroviral license. The license applies not only to the compiler and everything compiled with it, but also the source code you compile with it.
 
You'd think you'd do that before calling the free method
 
7:05 PM
As long as they don't rain on my parade
 
@Cicada Shit cake.
 
@ecatmur aka GPL.
 
@Cicada Put a spoiler alert on that next time, jeez
 
Apparently for some reason; the free method is supposed to be responsible for both
 
The GPL is a cancer.
 
7:05 PM
@IDWMaster That's the deleter's job.
 
@IDWMaster I think it might have been better to simply template your custom deleter, and have it call the destructor properly.
 
Maybe Jobs died of GPL.
2
 
@RadekSlupik Me too!
 
@Cicada Again?
 
> The mechanism by which u disposes of p is known as p’s associated deleter, a function object whose correct
invocation results in p’s appropriate disposition (typically its deletion).
 
7:06 PM
Dear rms,

Your license is bad, you are bad, and you should feel bad.
 
@FredOverflow He died because he was an arrogant dumbass.
 
@FredOverflow Maybe he deserved it.
 
@ecatmur the deleter's job is to free all resources. By default, call the destructor and then free the memory.
 
@Drise Among other things
 
@FredOverflow Maybe it's his death birthday or something?
 
7:07 PM
@StackedCrooked It was sometime in like March IIRC
 
> 20.7.1.1.2 default_delete [unique.ptr.dltr.dflt]
> void operator()(T *ptr) const;
> 3 Effects: calls delete on ptr.
I think that's fairly self-evident.
 
@Drise October 5, 2011
 
@StackedCrooked Really?
 
My grandfather is born on October 4, dierendag.
 
@Drise According to Wikipedia.
 
7:08 PM
I hate dierendag.
 
@Drise He's a pathological liar, but this is true
@RadekSlupik How appro...
 
I was sad when Steve Jobs died.
 
Dierendag is just as stupid as the PvdD.
 
@RadekSlupik As I recall, you don't hate your grandpa
 
@sehe I need to tell some truths now and then in order to make my lies more credible.
 
7:09 PM
@sehe I don’t.
 
@EtiennedeMartel What happened that day that made you sad?
 
@EtiennedeMartel What happened that day that made you sad?
 
@sehe I had no beers in the fridge at that time.
 
Though I never knew him. He died when I was ~2-yo.
 
good day everyone :)
 
7:09 PM
@EtiennedeMartel OMG!
 
@RadekSlupik I believe people uses the word hell to mean heaven ?
 
how is everyone today? :)
 
@EtiennedeMartel My condolences
 
@NeelBasu Only goths do. And the designer of Windows’ terminal emulator. Oh wait, that was a goth.
 
7:09 PM
@ITNinja Superbe
 
@ITNinja alive and kicking
 
@EtiennedeMartel For some reason, that you consume beer faster than you can replace it doesn't surprise me.
 
@ITNinja meh
 
@RadekSlupik What is goth ?
 
@FredOverflow Alive, if you can classify it as such.
 
7:10 PM
The goth subculture is a contemporary subculture found in many countries. It began in England during the early 1980s in the gothic rock scene, an offshoot of the post-punk genre. The goth subculture has survived much longer than others of the same era, and has continued to diversify. Its imagery and cultural proclivities indicate influences from the 19th century Gothic literature along with horror films and to a lesser extent the BDSM culture. The goth subculture has associated tastes in music, aesthetics, and fashion. The music of the goth subculture encompasses a number of different...
 
sweet :)
 
So, kicking, then
 
@RadekSlupik I once read about Goth/vandal in history inschool
 
I hate that when people post large messages, or several messages quickly, I cannot scroll up :(
 
7:10 PM
@R.MartinhoFernandes I'm a lazy piece of shit. Walking 200 meters to the nearest store to buy some beer is way too difficult for me.
 
is it that goth ?
 
How to tell if someone is alive: shoot them till they die. They're dead.
 
@EtiennedeMartel Reminds me of one of my old reddit comments.
 
@NeelBasu Your joke detector fails.
 
@RadekSlupik Oh! I see. I need to use OpenJD here
 
7:11 PM
@StackedCrooked Well, well.
 
Open Java Development Cunt
 
... so mature
 
I'm stunned by my frowning.
 
@RadekSlupik Your Joke Detector Failed. It is Open Joke Detector.modeled after OpenCV
 
@NeelBasu I know what you meant.
 
sbi
7:12 PM
Thanks, @MooingDuck, for your support, but now I've had it with the guy! Fuck him!
 
Your joke detector failed.
 
@RadekSlupik maybe I need to rewrite in prolog
 
Plonked people y u screw up avatar list. @IDWMaster can you please leave? :P
 
@sbi "hindsight" is the word I'm familiar with
 
sbi
@MooingDuck I think I can. (FF here.)
 
7:15 PM
@RadekSlupik Wut.
 
Dut.
Also, notice the “:P” emoticon, which indicates my sarcasm.
 
sbi
Yeah, I know that, too. Shrug.
 
My App needs to parse a lot of big files and it needs to to N:N comparison on them so I need to put them in memory. I can see growing memory usage. it grows to >500. can there be any way to minimize this memory usage ?
 
sbi
@MooingDuck I don't think I got that.
 
@NeelBasu Buffering.
 
7:18 PM
How can I do N:N comparisn without keeping the whole in memory first ?
 
what the hell is an N:N comparison?
and why on earth are you even asking in the chat?
 
@NeelBasu >500 bytes ain't that much.
 
because it will never be an answer of this question
@StackedCrooked not bytes its MB
 
@NeelBasu Not bad for scientific stuff really
 
@NeelBasu You accidentally 500?
 
7:21 PM
I think the first question is "do I really need an N:N comparison"
 
I'm doing a backward data flow analysis and I'm trying to use reverse-iterators to make the code look nicer, but I don't know if this iterator dereferencing looks nice. Is there a nicer way to write it?
 
@NeelBasu The first question is: is this really the right place to ask this question.
 
I parse a file break them in several constructs. then N:N Comparisns are done on all constructs of all files
 
Neel’s avatar reminds me of Clojure. Good language.
 
@NeelBasu RAM is cheap
 
7:22 PM
@StackedCrooked Otherwise where would I discuss ?
 
@RadekSlupik Yours looks a little more like it.
 
Python ≠ Clojure.
 
@RadekSlupik Yes
 
@ManofOneWay auto &block = **i;?
 
7:24 PM
Clojure is so awesome.
 
right now I am parsing them once and serializing them in an archive. and for the latter works I am checking that archive.
 
@RadekSlupik You should share your love with the Cat, he's really into Clojure as well.
 
but still while serializing RAM usage goes high. realy high
 
Higher, higher!
 
@StackedCrooked Wasn’t that Scala?
 
7:26 PM
I'm trolling you. He despises Lisp and co.
 
But both the Cat and I already like Haskell and Python. That’s enough for me.
 
@NeelBasu Without knowing your full purpose, I don't know if there's any way to help you.. you could always swap to disk, but what's "Really high?"
 
@RadekSlupik i love both ahha
 
Me too.
 
@Collin OS is swaping disk
 
7:26 PM
@ecatmur I was hoping for some for(auto .. : ..) but for reverse. :) But I guess that's not possible
 
after i realised the fun that haskell is
 
@ITNinja Bigamist!
 
Clojure is awesome.
 
@ManofOneWay maybe something in Boost.Range?
 
@NeelBasu Then take some intermediate steps while you're serializing the data
 
7:27 PM
@StackedCrooked what? o.o
 
@Collin such that ?
 
@NeelBasu Read some in, write it to the archive, free the memory, lather, rinse, repeat
 
@ManofOneWay A function that produces a reversed range is pretty much feasible (and exists in Boost.Range).
 
for (auto pblock: blocks | reversed)
 
@NeelBasu you really suck at asking questions.
 
7:28 PM
+1
 
@ManofOneWay for (auto &block: blocks | reversed | indirected)
 
It's totally not clear what your problem actually is.
 
@NeelBasu You could post a question with more detail to SO
 
I break files into Paragraphs. . and then do comparison on Paragraphs
 
@NeelBasu Start with proper sentences..
 
7:31 PM
@StackedCrooked sorry ? You meant break the Paragraphs into Sentences ?
 
@NeelBasu He means you should describe your problem in complete sentences
 
Probably on stackoverflow proper, then post the link if you wish
 
I've m files. Each of them is splitted into n Paragraphs
 
@NeelBasu And you need to compare every paragraph in every file with every other paragraph in every other file?
 
7:33 PM
Now All these Paragraphs are compared against another one
 
Or the corresponding paragraph in each other file?
 
@NeelBasu I Too Like To Capitalize Every Word In My Sentences.
 
What does Compare mean? Is there some heuristic you can use to cut down on the number of comparisons?
 
@Collin Yes not only that I need to compare every word of Para1 with every word of Para2
 
Hashing?
 
7:34 PM
@StackedCrooked Exactly where I was going
 
Tries?
Tries!
We can use tries!
 
@StackedCrooked Hashing will say whether its same or not. but to say how much similar I need real comparisn
I need [0 .. 1] answer not 0/1 answer
@ecatmur Whats that ?
 
@NeelBasu Similarity? Like a plagiarism detector?
 
@NeelBasu What are you even saying?!? I'm trying to be nicer to new people...
 
In computer science, a trie, or prefix tree, is an ordered tree data structure that is used to store a dynamic set or associative array where the keys are usually strings. Unlike a binary search tree, no node in the tree stores the key associated with that node; instead, its position in the tree defines the key with which it is associated. All the descendants of a node have a common prefix of the string associated with that node, and the root is associated with the empty string. Values are normally not associated with every node, only with leaves and some inner nodes that correspond to ...
 
7:35 PM
@StackedCrooked I didn't realize people were keeping score
 
The tf*idf weight (term frequency–inverse document frequency, a.k.a. TF-IDF) is a numerical statistic which reflects how important a word is to a document in a collection or corpus. It is often used as a weighting factor in information retrieval and text mining. The tf-idf value increases proportionally to the number of times a word appears in the document, but is offset by the frequency of the word in the corpus, which helps to control for the fact that some words are generally more common than others. Variations of the tf*idf weighting scheme are often used by search engines as a centra...
 
@jalf It's just me.
 
:)
 
In mathematics and computer science, a string metric (also known as a string similarity metric or string distance function) is a metric that measure similarity or dissimilarity (distance) between two text strings for approximate string matching or comparison and in fuzzy string searching. For example the strings "Sam" and "Samuel" can be considered to be similar. A string metric provides a number indicating an algorithm-specific indication of similarity. The most widely known string metric is a rudimentary one called the Levenshtein Distance (also known as Edit Distance). It operates bet...
 
so how many stars did the previous one get?
 
7:36 PM
I don't remember exactly. You already have surpassed it.
 
Or just something like a word-frequency index for each paragraph?
 
I need to pass word1 <> word2 (lword:string, rword:string, weight:float) to some already written library function. that does some statistical analysis and returns a value. which I'll store in matrix
 
Plagiarism detection is the process of locating instances of plagiarism within a work or document. The widespread use of computers and the advent of the Internet has made it easier to plagiarize the work of others. Most cases of plagiarism are found in academia, where documents are typically essays or reports. However, plagiarism can be found in virtually any field, including scientific papers, art designs, and source code. Detection can be either manual or computer-assisted. Manual detection requires substantial effort and excellent memory, and is impractical in cases where too many docu...
@NeelBasu For word-word you can use Levenshtein
 
But does that saves me from memory overhead ?
 
@ecatmur They should note in that article that students hate it because it doesn't fucking work.
 
7:40 PM
@Drise s/hate/love/
 
right now I am putting constructs in memory with my algorithm . then that algorithm will put constructs in memory in its way. but still it will take the same memory
would it be like that ?
 
@StackedCrooked Also, places like TurnItIn use our essays without our permission to profit and make a business.
 
@Drise Cool. So where can I steal your essays? :P
 
@Drise What?
 
7:45 PM
@Drise you gave permission when you submitted your essay. Or when you signed the course agreement.
 
Oh wait, TurnTin is a plagiarism detector. Well what's so bad about them comparing papers against your essays? Aren't they also protecting you from plagiarism that way?
 
@ecatmur Like I had a fucking choice.
 
@Drise Isn't the academic-industrial system marvellous?
 
I don't know What plagiarism is. I never read that in College
now reading.
 
@NeelBasu It's a novel by Tolstoy.
 
7:47 PM
I thought its a Paper in Comp. Sc that I missed in College
 
> However, that being said, there is an emotional response to this. It makes me uneasy that students participating in a public school can be forced to sign contracts, despite being minors, requiring them to surrender their work to be archived in a database for another party’s profit.
> Though the ruling talks about choices that the student has, namely home schooling or private schools, and the benefit they obtain from the contract, namely passing the class, it is hard to see how, in practical terms, the students had much of either. They did not choose the school, they not choose to take the class and, for most, private school or home schooling is not a practical option.
 
@StackedCrooked I thought it was by Lobachevsky.
 
Btw, private schools use it too. Derp.
 
@ecatmur Maybe it was Edvard Munch.
 
hey!
i bought a raspberry pi and Im gonna build linux from scratch on it
 
7:51 PM
@rogcg I'l also get one soon
 
@rogcg That's great! Keep us informed of your progress!
 
I'll post pictures and updates on my blog
and i'll link here
 
I cannot wait to see!
 
the raspberry team provides their own distro based on debian. its very cool. but Id rather to build it..
 
7:53 PM
Plus, TurnItIn's interface simply blows major donkey dick.
 
i'd like to buy a cool case for it
 
@rogcg Major donkey dick?
 
no, for my raspberry pi
LOL
 
sbi
It tasted well, too.
 
7:54 PM
@sbi great!!!
here are some cool cases for it! is.gd/TtKGUx
 
@DeadMG hey, er, question again...how does passing the d3d function a struct when it expects a pointer work at all? I assume when the function dereferences the struct, you return the T* pointer...but how is passing a struct when a pointer is expected not a type mismatch?
 
@sbi You are so clever.
 
@melak47 Implicit conversion.
 
sbi
@EtiennedeMartel I waited for months for my raspberries to become ripe so I could make that thing. Fortunately, the weather was good one weekend, and I didn't have the kids tugging at my sleeves, so I could do that. :)
 
7:58 PM
hey I started a project 2 yrs ago. however I'm on a change for it. I'm rewriting it from java to c++ (FTW!!). the project is here pixellang.appspot.com if anyone could contribute to it, it would be great!
 
All right, fuck it, from this point on, I'm validating any flag about that Nadal guy in the C# room.
 
@EtiennedeMartel Not if I get there first.
 
I don't see flags anymore
 
sbi
> Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying 'End-of-the-World Switch. PLEASE DO NOT TOUCH', the paint wouldn't even have time to dry. — Terry Pratchett, Thief of Time
 
thank to that plugin
 
7:59 PM
Good flag. ^
 

« first day (663 days earlier)      last day (4300 days later) »