« first day (1376 days earlier)      last day (3572 days later) » 

12:00 PM
@Puppy phones get old. It's not only about durability
 
user1804599
Ugh, IEnumerable.Range is so bad.
 
@rightfold y
 
@Mgetz Not sure what you mean.
 
user1804599
It takes a start and a length.
 
user1804599
Instead of a start and an end.
 
12:00 PM
@VáclavZeman mine works only for few days
 
durability and a couple of things like battery life are all that I really need.
 
user1804599
Which is highly inconvenient for most use cases.
 
I certainly don't need a fast CPU or lots of RAM.
 
ah so you need an analog voice terminal
 
@VáclavZeman cell phones still last 4 years.
 
12:01 PM
well, I also occassionally browse the internet and use maps and shit.
 
@rightfold Start and end would not work. How do you express the full range?
 
You just need to ignore all the bling bling new ones bring.
 
@Puppy having a reasonable CPU and RAM helps with that
 
not enough to be worth the price.
 
@Puppy Moto G.
 
12:02 PM
Maps are for wusses.
 
so far I'm looking at Moto E/G or Lumia 520/630
 
user1804599
gay allocator
 
Cheap, very decent specs, good battery.
 
user1804599
std::gay_alloc
 
Defying allies, France to deliver first warship to Russia trust.org/item/20140722111115-in5zz
 
12:02 PM
@rubenvb and branded OS
 
@BartekBanachewicz Barely...
 
Every OS is branded
 
@BartekBanachewicz As if I really care about that. Also, the Moto E reviews said that the Motorola software really wasn't a problem.
 
It's as close to bare Android you can get without buying a Nexus.
Anyways, Xperia's are also nice.
 
12:03 PM
I have a P, which has a sucky battery (knew it up front) but it's been a nice phone the last two years.
 
1/5 test groups runs and passes, 2/5 run, 3/5 crash
 
1 + 2 + 3 > 5
4
 
ooh my, just saw the impact of this bug... there's a fair few zeros to say the least
 
@Puppy it's not my fault that you can't read
but at least you got basic maths covered
 
lol
That's more than most puppies can say...
 
12:05 PM
hell of an achievement
 
I can read and you pretty clearly stated that one fifth test groups pass, two fifths run, and three fifths crash.
 
which pretty clearly sums to six fifths.
 
Oh god, you're screwed. If you don't buy a Nexus, Bartek will fly to Swamplands, UK and punch you.
 
@Puppy the test cases that run and pass also run
 
12:06 PM
@Puppy what's the order of operations?
 
You passed the bad marketing test.
 
Do I get a badge?
 
so you included them in two different categories?
 
0
Q: How can I avoid deadlock on indexes of a table with a compound primary key?

Lightness Races in OrbitI have a table thus: CREATE TABLE `DeviceGrants` ( `DeviceId` BINARY(16) NOT NULL COMMENT "128-bit UID", `Grant` ENUM("AcceleratedRead") NOT NULL COMMENT "The kind of grant this is", `ExpiryTime` DATETIME NOT NULL COMMENT "The date/time at which this grant wil...

 
@Puppy think about this dipshit. A test can run and pass
 
12:07 PM
My first honest question in a while
 
that's not "I can't read", that's "You can't categorize".
 
@Puppy learn set theory :P
 
@Puppy yes, because they are two different categories that are useful to me.
 
user1804599
@LightnessRacesinOrbit By not having more than one thread!
 
@thecoshman Think about this dipshit. You can present information in a non-convoluted non-misleading way.
 
12:07 PM
@Puppy IOW "I don't understand why you categorize them like that"
 
if you state them as different categories, then one test cannot be in more than one category at a time.
 
@Puppy that's plain bullshit.
 
user1804599
Bartek was right and Puppy was wrong. Therefore we can conclude that Bartek > Puppy.
 
there's no purpose in presenting the categories as distinct when they are, in fact, not distinct.
 
@R.MartinhoFernandes Think about this dipshit. It's more fun to mock people.
 
12:08 PM
@rightfold -.-
 
robot is on my side, therefore I win.
5
 
user1804599
^.^
 
starfest!
 
@rightfold separate processes, actually
 
@LightnessRacesinOrbit Maybe explicitly locking the table?
 
user1804599
12:09 PM
That implies multiple threads.
 
@LightnessRacesinOrbit Closed as I don't care.
 
@rightfold It does
 
@R.MartinhoFernandes it's really not convoluted. It might be... unusual.
 
user1804599
Each running process has at least one thread.
 
@R.MartinhoFernandes :(
@CatPlusPlus no. yuck. (maybe.)
 
12:10 PM
You use MySQL, you have no right of 'yucking' anything
 
@rightfold My point is that I cannot not have more than one thread.
 
@BartekBanachewicz So you can present information in a usual non-misleading way?
 
That is a terrible sentence
 
@CatPlusPlus :(
 
user1804599
You can have one thread that serializes access to the database!
 
12:10 PM
@Puppy vOv still makes sense "run and pass", "run", "crash"... all tests in "run and pass" are also in "run", but "run" also has failing tests.
 
@CatPlusPlus "you have no right to 'yuck' anything"
 
Yeah
That
I don't know why I wrote the other thing
 
@rightfold The database is the comms mechanism between the two entities (among many other roles)
 
@LightnessRacesinOrbit I suppose this wouldn't be the time to respond, "Don't use SQL?"
 
@Mgetz no
@CatPlusPlus cos cat
 
12:11 PM
ah ok
then make a view
 
my god, I'm trying to argue the sense of what Bartek said.
 
@thecoshman Not really. There's no point in listing the number that run separately if you don't mean "run and fail".
 
I also seem to be slowly losing my space bar :S
 
you're just making the user do mental arithmetic to try to decide what you actually said.
 
I guess people learn that trick in the news outlets.
 
12:12 PM
if you present X things in Y categories without explicit subcategorization, then the listener expects that the Y categories are distinct.
 
+1 for "the magnitude machine" — Lightness Races in Orbit 14 secs ago
 
@Puppy well, yeah, he should make it clear if he means "runs, pass or fail" or "runs but fails"
 
@Mgetz what
a view on ExpiryTime <= NOW()? and delete all from that? would that resolve it?
 
pass = I have to do nothing right now.
run and possibly fail = to be investigated later (also the passing ones)
crash = immediate action
 
@Mgetz sounds reasonable if so
 
12:13 PM
@LightnessRacesinOrbit if you need a table with a concatenated primary key for a select query, create a view that does exactly
 
MySQL has views?
They're probably broken
 
@CatPlusPlus yes...
 
you only need to get the ids to delete
 
run and possibly fail = is important and is not important.
 
@Puppy That should not be hard for a genius like you.
 
12:13 PM
@CatPlusPlus no
 
The important bit is that you should have made that clear after "1 + 2 + 3 > 5" instead of "you can't read".
It takes two to tango.
 
@CatPlusPlus :D
 
once you have those you can delete them fairly efficently
 
@Mgetz right, because the view gets us "access" to the internal row "IDs" that aren't in the schema?
gets around the problem of not being able to select a compound primary key in a subquery
I like it - could you post as an answer plz? :)
 
@Puppy is important later
 
12:14 PM
@BartekBanachewicz It's not hard to do, it's just that nobody is going to if you don't show that it's required. They're going to assume that you didn't mean anything that dumb.
 
@LightnessRacesinOrbit don't know enough about MySQLs SQL to be sure
 
clearly an invalid assumption
 
hence no answer
 
stop making invalid assumptions :v
 
31 + 2 + 3 > 5
 
12:15 PM
yes, I shall henceforth assume that you're a total moron.
 
lol
at least you're smart.
 
of this I was already aware.
 
thank god, the humanity, and the programmers around the world for you
 
feel free to show your gratitude with a monetary donation
 
CREATE VIEW `VDeviceGrantsExpired` AS (SELECT * FROM `DeviceGrants` WHERE `ExpiryTime` <= NOW());
DELETE FROM `VDeviceGrantsExpired`
@Mgetz like this?
 
12:16 PM
@Puppy right, I forgot that you're unable to sustain yourself with all that steaming geniusness
ok I'm mean.
sorry.
 
@LightnessRacesinOrbit you can't delete from a view, you can only use the view to combine the indexes to find the rows
 
yeah, officially I don't even start trying until next week.
 
@BartekBanachewicz Better than smart and mean!
 
Anyway sigh I so don't want to work on those tests anymore.
 
@BartekBanachewicz but yeah, that's silly groups "pass", "fail", "crash". pass means all is good, fail means you have a fault, crash means you really suck.
 
12:17 PM
steaming geniusness most assuredly does not protect you from crippling stomach pain.
or being sliced open by a surgeon.
 
All that steam probably makes it worse.
 
@Mgetz I can't?
@Mgetz "combine" how?
 
fortunately, really, because who'd want to be protected from surgeons doing good things for you?
 
@LightnessRacesinOrbit nevermind me
 
@thecoshman or the driver really sucks
 
12:18 PM
@BartekBanachewicz nope, you
 
GL_INVALID_OPERATIO.... GL_THE_DRIVER_SUCKS
 
MySQL has updatable views, funnily enough
They're probably broken
 
user1804599
Hmm, type lambdas.
 
they're probably broke... damint.
 
@CatPlusPlus "probably"?
 
12:18 PM
@rightfold so fluffy
 
user1804599
I have yet to find a use case for them.
 
is , a type level function?
 
@rightfold stews?
 
user1804599
@BartekBanachewicz (,) is a type constructor.
 
12:19 PM
(,) :: * -> * -> *
 
user1804599
It has kind * -> * -> *.
 
@rightfold well that would answer "yes" to my question @Cat
 
Yes
@Puppy When I use MySQL I try not to touch any parts that aren't very simple operations, so dunno :v
 
Can I create type constructor operators myself?
 
user1804599
Ohh, type lambdas can be useful in higher-kinded situations.
 
12:21 PM
if you don't use two sheets in a spread sheet for two tables, rot in fucking hell you scrum!
 
user1804599
@BartekBanachewicz I think there is a language extension for it.
 
@BartekBanachewicz There's an extension for infix type ctors
 
user1804599
But not sure is the only thing I really am.
 
@CatPlusPlus that sounds both so exciting and so wrong I'm starting to feel like @ThePhD
 
user1804599
(,) is circumfix operator. You can certainly not do that yourself.
 
12:22 PM
Custom infix type ctors must start with :
 
I thought there's something with :
 
lol haskell
 
@BartekBanachewicz Like this? codegolf.stackexchange.com/a/3790/105
I used ::: for type list cons.
 
@CatPlusPlus :( I read that as 'cum in fix'
 
@R.MartinhoFernandes oh what the
type level lists
this extends to arbitrary level right?
e.g. Can I have a type level list of type constructors?
 
12:27 PM
I like the title of this question
1
Q: Why can't my kittens speak when I retrieve them from the db

RichardFollowing the guide on http://mongoosejs.com/docs/index.html and I´m clearly misunderstanding something basic. Why isn't the shema being applied to objects I retrieve? The Code mongoose = require('mongoose'); mongoose.connect('mongodb://localhost/local'); db = mongoose.connection; db.on('error'...

 
user1804599
Oh what.
 
user1804599
IntelliJ folds type lambdas to more readable syntax. :|
 
> You have an error in your JavaScript
 
instance (Safe x y (S n) rec,
          Add c n cpn, Sub c n cmn,
          NotEq x c c1, NotEq x cpn c2, NotEq x cmn c3,
          And (c1 ::: c2 ::: c3 ::: rec ::: Nil) r) => Safe x (c ::: y) n r
Probably the ugliest piece of Haskell code I ever wrote.
 
my C# friend still can't get used to one-letter identifiers
I've tried to explain to him that if you take a variable of type say Address, it's pretty obvious what it is if you call it a
 
user1804599
12:30 PM
I avoid one-letter identifiers except in extremely generic situations.
 
I find one-letter identifiers readable in very small functions
so I write a lot of very small functions.
 
user1804599
A lot of very small functions is meh in C# < 6.
 
> This will exceed the default recursion limit rather fast (it's a measly 20). To increase this limit, we need to invoke ghci with the -fcontext-stack=N option, where N is the desired stack depth (N=1000 and fifteen minutes is not enough). I haven't seen this run to completion yet, as it takes a very long time, but I've managed to run up to queens four.
 
C# is meh.
 
I'd be scared of code that needs -fcontext-stack
 
12:33 PM
@rightfold we write together in Haskell, not in C#
 
user1804599
Sounds fun.
 
user1804599
2-tuple programming.
 
we also tried F# that way but neither of us really liked it (and I've told you about that alread)
 
FFFS
FUCK OFF VISUAL STUDIO
 
user1804599
Nobody likes F#.
 
12:34 PM
ironically Haskell requires a complete mindset shift and it helps him way more than half-ass F#'s solution
 
user1804599
Scala FTW!
 
I change std::tuple<capsule<T>...> to std::tuple<std::unique_ptr<capsule<T>>...>; it starts complaining about capsule<std::unique_ptr<T>> everywhere.
 
BTW @R.MartinhoFernandes @Xeo it's still waiting
 
How the fuck,.
 
Xeo
lol
 
12:36 PM
What do.
 
Haskell recently caught up with Python
both at 60%
also actually F# wins with Erlang right now, 37% vs 36%
maybe we should remove the highest and the lowest vote from every language
 
user1804599
Noo.
 
other fun facts
Puppy was the only one to give a negative score to Lisp, Haskell and Erlang
 
user1804599
I was the only one to give a positive score to PHP.
 
user1804599
Probably because I'm the only one who has used the latest version.
 
user1804599
12:41 PM
AND PERL <3
 
No, because you're crazy
Also this really needs a smaller range of values and no blanks
 
why smaller range?
also protip: it's really just for fun
who the hell is @Reed
 
@CatPlusPlus No blanks? Nobody knows every language enough to vote.
 
user1804599
in C#, 19 secs ago, by rightfold
Ugh. I'm not even going to bother linking lmgtfy.
 
Also hi.
 
user1804599
12:45 PM
@BartekBanachewicz Reed Copsey, F# guy.
 
Averages taken from different amount of things are not comparable
 
user1804599
He's often in C# room and sometimes in FP room.
 
@rightfold that would explain why he gave 100% to F#
 
@CatPlusPlus Averages, taken from an amount of votes mainly given by people that don't know the thing they are voting for, are not comparable either.
 
user1804599
12:48 PM
I will try Lua and Wide tonight.
 
user1804599
Then I can vote for every language I've used that is in the list.
 
@rightfold I've read a little about Erlang.
 
@BartekBanachewicz OMG you suck so much at statistics.
 
@Jefffrey and what have you read?
 
user1804599
@Jefffrey Erlang is fun.
 
12:48 PM
@R.MartinhoFernandes 20 people aren't even a statistical sample
 
@BartekBanachewicz Up to here.
 
@BartekBanachewicz Yes, they are.
 
@R.MartinhoFernandes I only got B remember :P
inb4 "you should fail"
 
@rightfold Especially how [98] and [2] are interpreted differently.
 
@Jefffrey They're not
String displaying thing is shell thing only
 
12:50 PM
If you print them, they are.
Oh.
 
I wish people would stop complaining about REPL repr stuff already
 
@rightfold Reed likes it
 
IT PRINTS \n OH MY GOD
 
lol
 
@CatPlusPlus Is it like Haskell?
If so, @Jefffrey, you suck.
 
12:51 PM
I know.
 
Erlang REPL assumes lists with numbers that fit in printable range (dunno if just ASCII or more) are printable strings and displays them as such
 
@BartekBanachewicz Reed Copsey I linked him the poll
 
The [98] and [2] thingy is just funny.
@CatPlusPlus Only letters. Not the entire ASCII range.
Which makes it even more funny.
 
user1804599
@Jefffrey They are printed differently.
 
If you want strings, you want bitstrings
 
12:53 PM
Actually from 32+ included.
 
Yes that is printable range
 
user1804599
 
user1804599
You almost always want to use binaries for text.
 
user1804599
Linked lists of pointers to bigints suck for representing text.
 
Up to 255, of course.
 
12:54 PM
@Jefffrey So, what Cat said.
 
@Mgetz no tell me!
 
user1804599
Elixir string literals are binaries, actually.
 
@CatPlusPlus Ugh, this sounds dumb as fuck, though.
 
@R.MartinhoFernandes Well 0 can also be an ASCII character, but that is not displayed.
 
Yes, like Cat said.
 
12:56 PM
Oh right.
 
Erlang has no string type, the lists-as-string was bolted on as an afterthought
 
that's almost always a bad idea
 
Seems horribly inconvenient.
And not at all like the thing people complain about in GHCi.
 
Ericsson didn't need strings apparently
 
only phone numbers
 
12:58 PM
There are bitstrings now, which are better at everything p much, but the silly shell behaviour lives on
 

« first day (1376 days earlier)      last day (3572 days later) »