« first day (1544 days earlier)      last day (3629 days later) » 

16:01
@Gizmo if (between(x, 4, 6)) {}, solved
I'm sorry but the fact of the matter is, this is not the place to ask. There is a close reason specifically for questions requesting library/framework recommendations. — Borgleader 15 secs ago
do I travel all the way to sheffield to see the hunger games? hmm
man this guy just doesn't give up =/
@Griwes could even be templated! typedef's can't be templated :'(
such a shame
the only gripe I have with G930 is no shiny desktop adapter
16:01
@Gizmo Please don't lie.
which arguably isn't a very important thing with headphones
@Gizmo using
@Griwes nonono no aliases!
he isn't lying
he's just uneducated
@Gizmo Please don't be a moron.
16:02
I don't really know why I have to use aliases XD why there isn't a template typedef
:<
@Gizmo using.
@Gizmo Because typedef's syntax is terrible and should die.
@Griwes it is? ;o it fairly easy..?
typedef <existing type> <new type>;
@Gizmo using <new type> = <existing type>;
@Gizmo you don't read much template heavy code, is it
16:04
is way more natural IMHO
hm indeed also a way :P
@Gizmo int typedef foo; no it isn't.
@sehe indeed I don't :)
using makes it easier to see what's new type and what's existing type.
hmpfh I should found my own business before I'll buy more hardware I suppose
16:05
@BartekBanachewicz I don't care for "natural". I care for "it makes it possible to spot the names being defined separate from the template instantiation festival that would precede it"
@Puppy ^
but I do admire the ones who write all those templates in boost
> A young typist who worked at a Chinese military manufacturer’s research centre that was developing a secret weapons system has been sentenced to death for spying for a foreign intelligence agency, according to a state-run media report. Chinese Counterintelligence Doesn't Fool Around
Also, lol @paranoia in the quoted comments:
> I'm guessing this "Beaker" isn't Chris Hoff -- I doubt he would say "principals" instead of "principles."
ack
fixed corrupted input but still mostly-garbage output.
I need to group ES results by a field. ES has aggregations that can group things into buckets by a field. But does that return a grouped list of results? Nooo, that would be too easy, the buckets only return the global count of things with that field
fuck you so much vmware.
16:12
Doesn't touch the query at all
what's ES?
ElasticSearch
/cc extra value for frenchies
q'est what je louquing at moi ne pas can even
Hehe - brother-in-law's new Navarra 4*4 took exception to him this morning. £30k and he couldn't get in with the central locking using either C/L key. Once in with mechanical key, it refused to attempt to start. Towed to dealership. Isn't modern car security wonderful:)
16:17
it kinda makes sense that the physical piece of metal shouldn't be enough to start a £30k car
what doesn't make sense is, why did nobody catch that exception
@AlexM. lol
because people are absolutely awful at writing correct software
At dealership, naturally it was 'Err.. umm.. it's software. You'll have to leave it with us while we do.... something'.
fuck, I think I'm catching a cold
16:20
we do magic (reset) to the magic tuneller (computer) in your car, so it can wroom-wroom again
@BartekBanachewicz in case you missed the latest lounge-experienced debacle: chat.stackoverflow.com/transcript/10?m=20831125#20831125
@CatPlusPlus Bobo Browse perhaps?
can't wait to get a headset and keyboard <3
then my desk will look and feel like it should
@BartekBanachewicz Yeah. Maybe.. It's a main dealer so they will probably swap out the entire security system. It will take ages, and my B-I-L belongs to that rare class of 4*4 user: 'actually needs one because he's a contract farmer'. Loaning him a Focus would just block up the parking space at his house.
I love being able to dump all of my extra cash into my PC
fuck family, I don't want one right now
I want to keep pushing money into my PC
16:24
@AlexM. I guess you avoid coins?
right
fresh new VM, round two.
@sehe "latest" wasn't very long ago, eh
@MartinJames does that have something to do with electricity?
not sure I got it
@JerryCoffin why would anyone call that thing Bobo
@BartekBanachewicz indeed
16:26
@AlexM. what keyboard did you get?
inb4 not mechanical
@AlexM. first says "100 lashes if you don't laugh to death"; second: "Love stronger than hate".
inb4 shitstorm
@BartekBanachewicz I didn't get one yet because I decided to go for a monitor first
@BartekBanachewicz inb4 yawn
@sehe I'm getting better at this
16:26
You have control over the amount of shit storms you incite :)
which is pretty damn impressive (I think)
I want to go somewhere to try out some non-mechanicals like the roccat isku and see how nice they feel while writing code or sth like that
@AlexM. Well yes. Last time I dumped coins into my PC they shorted out the video card... oh wait, I have never dumped coins into my PC.
@BartekBanachewicz If it means what I hope you mean it to mean, that's a mean feat! (And here, mean doesn't mean "average")
I like how roccat isku looks and I can't find any mech as good looking as that
16:27
I actually WARNING HERESY bought a wireless mouse/keyboard set
and it would be a good pair with my roccat lua mouse... which I want to replace because it is too heavy
m/k - is that some kind of sex toy
to play This War of Mine with my friends
I'm keeping it at max dpi so my hand does't get all fatigued
@MartinJames don't make clever jokes if you want me to get them
@AlexM. yeah roccat gear looks pretty nice at first glance
16:28
the more I think about something the more I doubt what I think is true
I was thinking about their mousepad
but I got xraypad instead; I was extremely short on money back then
I've had very little trouble with VMware. Then again, I do notice when my disks are getting full.
so I'm never sure if I get a smart joke or not
ITT, Martin not very good at humour:(
@sehe for a second I thought you were trying to be mean ;)
16:30
@BartekBanachewicz it's not heresy, it's just pity
3 mins ago, by Bartek Banachewicz
to play This War of Mine with my friends
@Mgetz Heresy, pity, latency, whatever.
@BartekBanachewicz their top gaming keyboard is mechanical and looks great but it's like $260
and that's only because of their "program each key in C++" gimmick I'm sure
they should have made them programmable in Java, for $160 less
@AlexM. no, it's because of "two massive 32-bit ARM Cortex processor"
@AlexM. Isn't that kinda backwards? I use the keys to program in C++.
16:32
because nobody would want to buy them otherwise
@BartekBanachewicz run android on your keyboard!
I doubt those are Cortex-A though
I consider my M07 massive too
@BartekBanachewicz Please tell me that you're joking about that.
for something as advanced as a keyboard
@MartinJames it's for macros, so you program your keys in C++ to help you use them to program in C++
@MartinJames that's their product listing
16:34
@AlexM. Meh - incest.
@BartekBanachewicz Oh great.
Ell
Ell
Why would a keyboard need processors? :S
@Ell uh why not?
what did you expect they have inside, potatoes?
Dunno. I've alays been able to get away with KB's with one processor.
I want a keyboard with a quad core processor
alright, let's try just louder audio.
16:36
I'm going to build my own input unit
@BartekBanachewicz OK, I'm unscrewing my KB now. Still haven't done grocery shopping.
as soon as I'm done with those fucking bitshift registers
and no they are not copulating
they're fucking.
with me.
not sexually.
That went on for a while.
someone should create an async shit library that lets you use the keyboard's processors for random code execution
@AlexM. lol, Nvidia etc competing over KB.
16:38
@MartinJames "nvidia GPUs dethroned in folding@home by Roccat's keyboards"
@AlexM. GPKPU?
"bitcoins generated using keyboards"
oh god I just imagined this cluster of 200 keyboards
executing code
lol
click clack, motherfucker
'CUDA for Das Keyboard'
Ell
Ell
Idk actually. Never thought of that :P
16:40
time to go home
Ell
Ell
I thought tje motherboard did the processing
c u cutiepies
@Ell think USB
16:51
doesn't say
Does std::fstream close it's file on ~?
Well, it says. I just don't know if I believe it. :p
of course it does.
oh boi
we are so bad at git/github
even the C++ Committee isn't quite that stupid.
well, at least, not in this specific instance.
@Ell Not sure why a keyboard even needs processing at all.
@CatPlusPlus Why does ad-hoc polymorphism suck?
Ell
Ell
Converting button presses into a digital signal I guess
16:57
@Ell Nah, that's the keyboard itself.
Mobo only does silly things like translating USB HID into something that looks like PS/2 device behind a PS/2 controller until you initialize USB properly.
Ell
Ell
Well I mean turning a single on/off into an integer
@Ell Hmm? Keyboard itself sends its signals as scan codes.
Ell
Ell
Right but I mean the keyboard itself just knows if a button is pressed or not
Which is a single bit
Erm...
Ell
Ell
So it has to turn that into a scan code doesn't it?
17:00
A scancode (or scan code) is the data that most computer keyboards send to a computer to report which keys have been pressed. A number, or sequence of numbers, is assigned to each key on the keyboard. == Variants == Mapping key positions by row and column requires less complex computer hardware; therefore, in the past, using software or firmware to translate the scancodes to text characters was less expensive than wiring the keyboard by text character. This cost difference is not as profound as it used to be. However, many types of computers still use their traditional scancodes to mainta...
Note the part saying "most computer keyboards send to a computer".
Ell
Ell
Right
Scan codes is what arrives at the PS/2 controller.
Ell
Ell
I'm confused
I don't think we disagree
:P
(Or, well, at some device in the USB stack.)
Ell
Ell
I was just saying that you need something to send the scancode over USB so you need a processor right?
Meh idk, I have to go anyhow
user1804599
17:05
Hello, world!
user1804599
@Jefffrey everything that is ad-hoc sucks.
user1804599
ad-hominem polymorphism
> Origin packs desktop Core i7 CPUs into new EON17-X and EON15-X laptops pcgamer.com/…
> Running on battery, Origin says you’ll get about two hours of normal use or one hour of gaming.
the only issue is
@rightføld you suck
a cheaper i5 with a good GPU will help you just as much as the expensive i7 with the same GPU in graphics intensive games
user1804599
17:16
@Jefffrey I do, but 1) it's not because I'm ad-hoc and 2) I suck in a different way.
unless the CPU bottlenecks your GPU, it's better to focus on GPU
all the time
kinky
user1804599
@Jefffrey help
why help
you know you want jefffrey's private parts
user1804599
Hmmmm.
17:18
do you want some ketchup with that sauce?
user1804599
// I wonder if I could desugar
do { with a <- b; c <- d; e <- f } yield a + c + e
// to
flatMap(b, fn(a) => flatMap(d, fn(c) => map(f, fn(e) => { val result = a + c + e; dispose(a); result })))
// or whether that would break in some circumstances
fuck my throat's sore and I feel like shit
I blame the retards going out while sick and coughing and sneezing on the street
fucking stay home jesus
@Jefffrey Because explicit is better than implicit. If you have an explicit constraint it's easier to tell what OR set the thing is part of, and it's hard to make it part of an OR set inadvertently (this word is hard)
user1804599
Oh terrorism in Paris.
17:24
Plus explicit interface/type class/whatever is a good place to document the requirements
@rightføld did someone bomb the cheese supplies or something?
@rightføld Mimes again?
Guessing on the fact that a thing has the same name so it clearly is the same thing is brittle
user1804599
CBA to find an English article.
user1804599
17:25
Just Google "Paris."
I found a romanian article even
@CatPlusPlus That would make sense, but ad hoc pol solve a different problem IMHO.
I'd argue that it doesn't solve any problems and just generates new ones
the world would be so great if people could be disabled remotely
It solves the "problem" of name clashes.
user1804599
17:26
Probably some morons who felt offended.
Nobody like to import things qualified. And 97% of the times the compiler can infer what you mean by just looking at how you use the function.
No, it doesn't, it makes the code with name clashes easier to break unintentionally
Do you die if you cut your ear out?
user1804599
Most likely.
Ask Van Gogh
user1804599
17:27
You also most likely die if you don't.
What?
Oh - the noises are back.
Robot stay away from sharp objects
@CatPlusPlus I don't see why. The compiler can always print out errors if something is ambiguous.
Robot do you want to see my new knives (again)
@MartinJames Were never gone.
Also, yes, yes, I'm going to the doctor first thing in the morning.
17:28
:(
Stop calling me about it.
The problem is not with ambiguous things but with things that aren't ambiguous to the compiler but might not be obvious for the programmer
is there a language with something like...
Like?
doasync { arbitrarycodehere; }
17:29
Also, possible XY problem. It may be a software issue in CPU, not audio transducer.
user1804599
@AlexM. what would that do?
Like a different overload getting picked due to an implicit conversion
Or inference, whatever
@rightføld do the shit in the { } without blocking
user1804599
In Go you can do go func() { … }().
Inference would probably be handicapped with implicit OR sets
user1804599
17:30
In Clojure you can make such a macro.
I used doasync { stuff } in some pseudocode because I thought it seemed to get the idea across
user1804599
There is no reason it should be a language feature.
user1804599
I can just be a function.
#define while(0) // blocks are guaranteed to not block
17:30
Blocking what
And what's blocking
@rightføld a function works if you group every statement in a function, if you have something like this though...
doasync
{
	something();
	somethingelse();
	blah();
}
macros seem to be a solution... I think
Make the block a function
I have no idea what you want this to do
No one does.
Magic.
not even I do, I mentioned it's in a bit of pseudocode in which I try to come up with something
it was a way of saying...
Hell in C++ it's almost literally std::async([] { your stuff here })
user1804599
17:34
@AlexM. doasync(function() { something(); somethingelse(); blah(); })
if some condition is true then do this asynchronously so that the game continues to work while the thing happens in the background
@AlexM. You need to find a different way of saying it.
user1804599
You can do spawn(fun() -> something(), somethingelse(), blah() end) in Erlang.
@AlexM. You mean run things in another thread?
@CatPlusPlus Gotta be careful with that shit because std::async's return value may be a blocking future.
17:35
Still
It exists
@R.MartinhoFernandes I wanted to say spawning a new thread but async execution does not imply the existence of a new thread, or so I understand from experience
Unless the magic block is supposed to do something else
e.g. microsoft's tasks which are not guaranteed to start on a new thread
or boost's asio stuff
@AlexM. You can't execute things nowhere.
> of a new thread
I did not say "of a thread"
17:36
Some things can be handled in event loops
The rest you pretty much have to offload into a thread (pool)
@AlexM. Well, I did.
@rightføld that's nice
didn't think of lambdas
user1804599
you suck
I want to eat something. There were no potatoes in my KB. I must go hunting.
Try eating a MB, it should have more things
17:37
Whether a new thread is spawned or not is mostly immaterial.
there were no potatoes in your King's Bounty
@CatPlusPlus There are no implicit conversions in Haskell.
I don't care about Haskell
And inference, what.
Thread-locals are pretty much the only thing that makes it possible to tell new from old threads.
17:39
how did you end up branching to threading which is not the point of what I was talking about
Hmm... Zisteau should play more Factorio.
let me re-read
@CatPlusPlus This sounds to me like not a problem with overloading in general but a problem with a particular situation- i.e., particular rules for resolution or a particular type that's implicitly convertible or an overload set where the overloads do too many different things.
@VáclavZeman He'll start a new series now, no?
'new from old threads' - sounds like clothing recycling.
17:39
@Jefffrey He has not finished to old on, AFAIK.
@VáclavZeman Last episode missing.
@Jefffrey I almost always import things qualified.
The 27 will be the last IIRC.
@Puppy It's a problem enabled by overloading and overloading interacting with other parts of the system
@R.MartinhoFernandes It can be tedious to write.
17:40
I guess you could come up with rules that make this unlikely
if you look at most overload sets it simply doesn't matter which overload gets picked because all overloads do the same thing, they just take slightly different arguments.
there's a few cases where that's not so true, like constructors
@Jefffrey Rename them if it really becomes a problem.
But I'd still rather have explicit overload sets (i.e. typeclasses or some such)
@R.MartinhoFernandes To what?
user1804599
I like protocols.
17:41
Whatever you want. It's your namespace.
@BartekBanachewicz I can't even begin to guess at such a thing.
@Jefffrey You write code once and read it multiple times
ok, I changed the thing from "doasync" to "do asynchronously" so that it looks less like a language feature and more like me saying that the app shouldn't wait for these things to end before doing its usual stuff :A
import qualified Old
renamed = Old.name
@R.MartinhoFernandes Then I don't understand your point of renaming them is namespacing becomes a problem.
oh I see
@CatPlusPlus Exactly
17:42
If you start inventing rules to make writing faster and making future reading and reasoning about the code harder, you end up with rubby
If your thing starts with 'implicit' then it's probably harder to read than write
Bad tradeoff
I'd definitely say that the golden rule of overloading is to make it not matter in the slightest which overload got picked.
user1804599
Implicit everything import is terrible.
Even typeclasses are problematic in Haskell because of some implicit behaviours (instance importing is a nightmare)
user1804599
Especially when it's common practice to re-export everything from multiple other modules.
@rightføld Imported classes are not automatically exported, are they?
17:45
@Puppy Open ad hoc overloading pretty much guarantees that's not going to last.
user1804599
@Jefffrey They are top kek.
user1804599
I don't care about instances.
I'm not sure you can not export instances
Or not import them for that matter
Sorry, I meant classes.
@CatPlusPlus Tell that to people that don't write explicit type signatures.
"infer everything" is their motto
user1804599
-- This is bad:
module A where x = 1
module B ( module A ) where import A
module Q ( module B, module C, module D, module E ) where import B; import C; import D; import E
-- now have fun finding x
import Q; import Z; import W; import O
main = print x
17:48
wat
If it's in any way ambiguous the compiler will complain.
user1804599
It's not ambiguous.
@R.MartinhoFernandes I'm not so sure about that. I think it just takes a smidge of brains on behalf of the programmer- much like not de-referencing NULL or not programming in race conditions
user1804599
You as a programmer want to know where the fuck what you use comes from.
Oh, I see.
Well, yes, that is a problem.
user1804599
Now if you had decent tools where you could ctrl+click then hey that's fun but haskell lol
17:49
There are.
For vim at least.
user1804599
enlighten me
user1804599
Does installing it require fighting against Cabal hell and thousand lines of Vim configuration?
@rightføld nope
> hdevtools
user1804599
> Persistent GHC-powered background server
user1804599
:(
17:50
as part of this
I've installed all the modules there with no problem whatsoever.
And not even configuration issues with vim
> Unlike Gilbert's other chemistry sets that his company released, the U-238 Energy Lab never gained popularity and the toy was taken off shelves only a year later, selling only from 1950 and 1951. Even over 35 years after its release, children still preferred the Erector Set
Now I have compile time check for Haskell, C++ and Python.
35 years after they stopped making a product, children preferred another product?
ooh! I have my Ducky and it's soo nice!
just a shame that my typing is so shit :P
17:56
@LightnessRacesinOrbit the erector set?
oh
blush
I think I'd prefer that too
@LightnessRacesinOrbit lol good point
Yes
Good job US on your very good law
Ooh! Where is the good stuff on github?
lol why is porn so bad
if anything I'd censor violence not porn
18:08
the US has it all wrong, at this pace they'll grow into a gun loving killing mach...
OH WAIT
we really need to promote more porn
especially interracial and stuff like that
to get people rid of racism
that's actually a good idea
not necessarily porn
but persuading people from their childhood to find attractiveness in people of different races
hmm
it's done guys, I have the solution for racism
'use fragment shader in RenderMonkey to make hole'... actually, I can't think of anything suitable to say.
we forcefully homogenize races until they're not relevant anymore
by constantly promoting and rewarding interracial relationships
I'm going to do this at my desk when I get home
or maybe I'll play CS
dunno
'I thought it was good but just can't do this. Debugger says, 0 warning, 0 error'... [sigh]
@MartinJames where's this from?
http://stackoverflow.com/questions/27825082/why-my-program-wont-show-each-element-with-printf

It's complete shite.
18:20
@MartinJames meh I've seen worse
@LightnessRacesinOrbit Yeah, on second thoughts, you're right. It's incomplete shite.
18:38
Anyway. Time to get ready to generate some literal shit of my own. It's 'Thermonuclear Phall Wednesday' and this month, I'm getting a lift from my front door. It's Cobra time!
echo a > a ; while true; do cat a a > aa && mv aa a ; du -sh a ; done
poor man's dd :)
the misses just done got upset and decided to pile drive her laptop...
it's not looking good at all
@StackedCrooked How is dd itself not the poor man's tool?
I'm too lazy to read the man.
I'm ashamed.
So USB 3.0 can achieve up to 153 MB/s between my HD and an external HD.
18:54
@MiaFarrow Children dont need poison, they need food You and Gates make $$$ on poisoning children in #Africa #India financed by nazi #Sweden
Eh.
Local classes inside function templates can lead nice things.

« first day (1544 days earlier)      last day (3629 days later) »