« first day (1818 days earlier)      last day (3137 days later) » 

7:00 PM
I say you reply with UpYours and then do sth else
 
It also makes me feel clean.
Like if I had taken a shower.
 
@AlexM. wut
 
wut
is that not a message aimed at you
 
'[DCC Error] ASAtransWriter.pas(189): E2130 Cannot read a write-only property' - I thought that 'write-only memory' was just a joke until today:(
 
@Martin it's nice to see you again
on a related note, FUCK OFF FOR MAKING US WORRY :D
 
7:03 PM
@AndyProwl Like I care, (I still have plenty beer and vodka:).
 
@MartinJames Who doesn't? :p
 
shamefully enough, at the moment I don't have any beer in my house
 
Alright, wish me luck
 
user1804599
> moronic
adj. having a mental age of between seven and twelve years
 
7:04 PM
good luck jeff
 
user1804599
My neighbour's son is a moron!
 
what for btw
 
Beer, rum and wine available here
 
I think I'm becoming quite good at writing documentation and related stuff: github.com/Morwenn/cpp-sort/blob/master/doc/…
 
auto bubble_sort(/*...*/) -> void
 
7:07 PM
looks like a nice tutorial
 
Fuck regular return types :D
 
yep
extra points for name-first syntax
 
mm 137 rep so far today
 
By the way, the cleanest implementations of a bubble sort I found weren't actually performing a bubble sort. I've no idea what it is they did. It was related, but not a bubble sort.
 
blublel sort
 
user1804599
7:09 PM
@AndyProwl how did the presentation go?
 
@elyse I think very well, thanks
 
your face
that's how it went
 
« bubble » after one iteration is « bbbleu ».
@AndyProwl Thanks ^_^
 
@Morwenn link
 
I think I'm gonna buy Wind Waker HD. There's a hard mode in it.
 
OTOH yesterday I was training this new employee who had troubles understanding why taking an abstract type by value is a problem
rip
 
Bubble sort is supposed to compare pairs of adjacent elements. Also, the last value is supposed to be sorted after the first inner loop iteration. So clearly the algorithm isn't a bubble sort.
 
uuh fuck my crapmail provider
@AndyProwl wut
 
@Morwenn They all look to me like trivial changes on the obvious implementation.
 
@Puppy I'm not sure these implementations are stable while a bubble sort is a stable sort.
 
7:14 PM
I remember first time implementing sort in Pascal
n^3 :)
never ever did I implement a sorting algorithm since that day
 
@BartekBanachewicz How? o_o
 
@BartekBanachewicz (context: C++) there was this abstract interface (say T) and the guy had to define another class that stored a reference to T. T was meant to be passed at construction. He was taking T by value and had problems understanding why it's not ok
 
@Morwenn Bartek Magic - nobody else has that skill.
 
Even stooge sort isn't O(n^3).
 
@Morwenn for every element, compare it with other elements. For every element's index, put the number of "won" comparisons into the array. Then for every number in comparisons array, put the element from the same index of the old array to the index in the new array equal to number of won comparisons
maybe it was n^2 actually
w/e
 
7:16 PM
seems n^2 to me
 
really implementing sort isn't something I'm even slightly interested in
 
Title of the day:
-12
Q: Java Help!! I cant

Diego Paul CRonaldoDesign a clas named Person and its two subclasses, Student and Employee. Make Faculty and Staff subclasses of Employee. A Person object has a name , address, phone number, and email address (all Strings ). A Student has a class status (freshman, sophomore, junior, or senior). Define the sta...

 
Yeah, seems like n^2 + n, which is still n^2.
 
maybe there was an outer loop that repeated the same sorting thing N times
that'd make it n^3
 
> Installed lens-4.13
let's roll
 
7:18 PM
@BartekBanachewicz I agree- std::sort job done
 
@BartekBanachewicz I wasn't either. I just wanted to make a clean library and stole algorithms everywhere, but I ended up optimizing some and writing others.
 
user1804599
Ada is so cool.
 
user1804599
Such nice consistent syntax.
 
@AndyProwl It reminds me that one of my fixed-size sorting algorithms was slower than it should be an I didn't understand why. It turns out that I had simply copy-pasted the code twice instead of once.
Now I need to implement a parallel sorting algorithm to make sure that my comparison counter doesn't scale and dies horribly because of data races.
 
user1804599
this programming language Bracmat
 
user1804599
7:29 PM
  & (   !table:? (!country.?len) ?
      & :?N
      & ( @( !arg
           :   ?
               ( %@?c ?
               & ( !c:#
                 |   !c:~<A:~>Z
                   & asc$!c+-1*asc$A+10:?c
                   & 1+!len:?len
                 | !c:" "&:?c
                 |
                 )
               & !N !c:?N
               & ~
 
user1804599
beats Perl in terms of line noise
 
they turned a salt mine here into an amusement park
it looks pretty badass
 
@elyse quicker than your mom
 
this one looks like fucking moria static2.businessinsider.com/image/…
 
@AlexM. Reminds me of the Myst series.
 
7:33 PM
'thunk' is not a word in regular English?
I mean, is it only a CS term?
@AlexM. is that a videogame or a real world picture?
 
@AndyProwl I don't even know the term
 
real world
 
I guess videogames have become quite realistic nowadays if I have to ask that question
 
user1804599
Verb: thunk
  1. (humorous, nonstandard) past participle of think
  2. Who would have thunk those guys would have a problem with a little lie?
  3. thunk ‎(third-person singular simple present thunks, present participle thunking, simple past and past participle thunked)
Interjection: thunk
  1. Representing the dull sound of the impact of a heavy object striking another and coming to an immediate standstill, with neither object being broken by the impact.
Noun: Wikipedia
  1. thunk ‎(plural thunks)
 
@Nican That's the first thing that came to mind as well. Jnanin from Myst III Exile.
 
7:38 PM
it's really
all those Lens hating posts are so dumb
> let's replace Lens with something simpler that works using magic
 
SO RUDE OMG
I never used lenses
 
but heck haskell records do need a fucking revamp
@AlexM. that means you've never used records
 
yes
 
user3790646
> Knows that C++ runs natively, has performance, portability across many platforms, uses C#.
 
records without lenses are absolutely useless in Haskell
 
7:41 PM
Only if it was not in the middle of nowhere. ;-;
https://www.google.com/maps/place/Salina+Turda/@47.0845442,22.9613458,5.65z/data=!4m2!3m1!1s0x474968b385bfc665:0xd47e573765edc10c
 
> middle of nowhere
> 30 minutes of driving away from transylvania's capital
k
@Borgleader u ready for the new witcher 3 da wildehoont expansion
 
> You know what's the biggest problem? People like you who don't promote healthy conversion, they shun all around you, You're the exact problem SO has. Sure I didn't have to whine, but then I started the conversion about something that should be fixed even if I didn't have the solution, you ended it.
IOW "I have 6 answers on SO therefore I am going to discuss the site's problem"
god so tired of those people
also in the topic of "answers which get score but ffs"
94
A: Fastest way to reset every value of std::vector<int> to 0

Cat Plus Plusstd::fill(v.begin(), v.end(), 0);

cc @sehe @GregorMcGregor
 
Well it clearly is the best answer
Nothing ffsy 'boot it
 
Bartek do you mind if I spam you this sunday or so with haskell code to look at
it's the interpreter thing
I don't think I can use Parsec so I'm just doing it by hand
I'll use this opportunity to learn about recursive data structures and stuff
 
@AlexM. define "can use"
 
7:55 PM
I don't think CodeWars allows it
 
Parsec is easier than writing it by hand
@AlexM. uh
 
I don't see anyone ever mentioning using it
 
@AlexM. that's a massive pile of wank
 
> Could not find module `Text.Parsec.Prim'
tried to import sth random
 
7:57 PM
it's Text.ParserCombinators.Parsec
but it's not ther
 
stuff like that is disabled on demand by creators
 
@AlexM. you know what's shitty? this:
 
I think
 
 Perhaps you meant
      Text.ParserCombinators.Poly (from polyparse-1.11)
      Text.ParserCombinators.ReadPrec (from base)
      Text.ParserCombinators.Poly.Parser (from polyparse-1.11)
 
e.g. for interpreters they disable the eval function for obv reasons
in JS I mean
@BartekBanachewicz why's shitty?
 
7:59 PM
@AlexM. because they have one particular lib and not the other (which I like :))
@AlexM. anyway sure. Dunno about my availability on sunday but yeah
 

« first day (1818 days earlier)      last day (3137 days later) »