« first day (1628 days earlier)      last day (3318 days later) » 

11:00 AM
@abhi hi
 
@abhi are you with those anonymouse guys on the internet
 
@MomotapaLimpopo hi
 
@abhi how r u
 
@ale
@AlexM. no
 
so you dont hax nasa
k
 
user1804599
11:01 AM
Running with Scissors.
 
If I have to share a room with people 24/7 I will start to feel uncomfortable
 
@MomotapaLimpopo m fine just tring to lean desin pattern
 
user1804599
Maybe it's better to learn English first.
 
@abhi whcih 1
 
boy, it's somewhat harder to write a test driver for expected failures when you can expect several failures.
 
11:02 AM
@райтфолд april fools, he's an english master's
 
src\Hate\Graphics\Backend.hs:16:35-46:
    No instance for (Renderer a0) arising from a use of `RendererImpl'
    The type variable `a0' is ambiguous
    Note: there are several potential instances:
      instance Renderer BackendModern
        -- Defined in `Hate.Graphics.Backend.Modern'
      instance Renderer BackendCompat
        -- Defined in `Hate.Graphics.Backend.Compat'
well what now
 
:D
 
user1804599
Disambiguate, problem solved.
 
@MomotapaLimpopo Abstract factory pattern .
 
@abhi ooooooooh
 
11:04 AM
@BartekBanachewicz Yeah, probably (Renderer (BackendWhatever a)) or something.
 
@Griwes You passed the renderer explicitely. I'm missing that
 
Or... hmm.
 
@abhi it very easy to understanding, an abstract factory is a factory that makes concrete factoryes
 
class Renderer a where
    contextRequirements  :: a -> ContextRequirements
    initialRendererState :: ScreenSize -> IO a
    updateScreenSize     :: (MonadState a m, MonadIO m) => ScreenSize -> m ()
    render               :: (MonadState a m, MonadIO m) => [DrawRequest] -> m ()
that's how it looks now in Real Life Code
if I pick a proper initialRendererState it should just work... I think
initialLibraryState c = LibraryState <$> (initialRendererState (windowSize c) :: IO BackendModern)
hmpfh
it's being picked already
the error appears earlier, on the implementation of the RendererI instance
damn it what am I missing
 
@R.MartinhoFernandes Maybe you should like find a playmate/partner not to feel lonely?
 
11:08 AM
@MomotapaLimpopo i understood the concept but confuse about . using it
 
@Bartek Can you post a testcase for that this time? :D
 
what's a "testcase" in your vocabulary again
 
A minimal example reproducing the error. ;p
Preferably shared via coliru. :P
 
alright.
 
11:09 AM
@abhi very useful
 
@Griwes it's not like extracting this thing is trivial
 
now compilefail tests only pass if the exception is not leaked.
using namespace std;
z = (g + m/60.0 + s/3600.0)*PI/180.0;
return z;
lol!
 
> requires dynamic R_X86_64_PC32 reloc against '_ZN5annexL8constantIN12_GLOBAL__N_18functors14test_traversalEEE' which may overflow at runtime; recompile with -fPIC
is mangling killing my -fpic? ;_;
 
I did not know it was possible for mangling and -fpic to interact
 
11:19 AM
HOLY FUCK IT COMPILED
@Griwes fuck yeah thanks a lot man
 
praise the high council
 
What did you do?
 
I owe you a 6-pack
@Griwes removed the function that was overloaded on the return type :P
 
Wait a moment. Griwes is helping out Bartek with Haskell?
 
Because minus the fact it warns and runtime errors, leaving initial undefined for that instance seems to, erm, work xD
 
11:21 AM
because (duh!) that caused the ambiguity
 
@R.MartinhoFernandes And it's after midday (everywhere that matters)
 
@Puppy OTOH as it turns out the symbol is not needed anyway—it’s variable template wonkiness
 
@Griwes I am not sure if this will work but that's a minor issue
 
@BartekBanachewicz Well, my intuition there is that it's like a "pure virtual" that you can call accidentally.
@BartekBanachewicz Wait, now I'm lost. :D
 
11:22 AM
@LucDanton Probably just not fully implemented correctly anyway.
 
> Los Angeles County coroner's assistant chief Ed Winter told local media that medication had been found at the scene. "The tentative information that we do have is that he was not feeling good for the last couple of months and he supposedly had an appointment tomorrow with a personal physician," Mr Winter said. "He had some medication that we recovered and don't know if he had taken the medication or what his medical history is. We do have a doctor's name that we're also going to follow up."
 
@AlexM. lol
 
@R.MartinhoFernandes Weird, ain't it? :D
 
@Puppy yup, passing in the wrong amounts of template arguments ICEs, too
 
11:23 AM
All because some time ago I spent quite a while researching how to do a "container of pointers to a base class"-ish thing in Haskell, lol.
 
@R.MartinhoFernandes he basically implemented PIMPL and that's what I was missing
@Griwes aha!
 
@LucDanton Hopefully they decided that variable templates are just such a tremendously stupid feature that they're not gonna waste dev time on supporting it.
 
@Griwes what's the type of f :: a? Since the implementation was hidden behind the Impl, it didn't know which one to pick. I moved the init function outside, like this:
 
well too late
 
instance Renderer RendererI where
    contextRequirements (RendererImpl a) = contextRequirements a
    --initialRendererState s = fmap RendererImpl $ initialRendererState s
    updateScreenSize s = do
        (RendererImpl a) <- get
        a' <- execStateT (updateScreenSize s) a
        put $ RendererImpl a'

    render x = do
        (RendererImpl a) <- get
        a' <- execStateT (render x) a
        put $ RendererImpl a'


initialRendererStateModern s = fmap RendererImpl $ Modern.initialGraphicsState s
 
11:26 AM
Oh. Yeah, makes sense.
 
Xeo
whoo, I'm mobile again \o/
 
You got your legs back?
 
you lost your legs?
what did you do, leave them on the train?
 
@Bartek Still, I'm wondering how many bags of worms does this open.
 
Xeo
@R.MartinhoFernandes I got my bike back
 
11:28 AM
@Xeo what happened? repairs?
 
Xeo
ye
bottom bracket (?) broke
 
@Bartek Since this works, but this suddenly doesn't... at runtime.
 
bottom barket
we call this "support" in Poland
"support axle" actually
 
Does your bike have a name?
 
Xeo
And according to the bill, a whole bunch of other stuff got fixed too
 
11:30 AM
@Xeo I'm not sure how you break it though, they are typically designed for the lifetime of the bike
well okay my dad replaces bearings in his after 10kkm or something
 
Xeo
@BartekBanachewicz Dunno, it just broke at some plastic part on the outside
 
Xeo
vOv
 
plastic part? wut.
 
Xeo
vOv
 
11:31 AM
pretty sure @райтфолд will like that
 
Xeo
it broke, it got repaired, and a whole bunch of other stuff too - that's all I know
 
user1804599
Jul 3 '14 at 18:25, by Ty221
I thought the chat has been ccreated to get instant and fast help
 
user1804599
Still funny.
 
Xeo
@BartekBanachewicz That grey part
 
11:32 AM
the grey part in cheaper models can be made of plastic, now that I think about it
@Xeo yep
 
Inplying you have an expensive one
 
er
 
Xeo
my bike was ~400 total, so yeah
 
which part of that would you classify as the "grey part"?
 
11:33 AM
newer ones look like this
 
The one in grey
 
because to me it pretty much all looks gray.
 
Xeo
@Puppy the windy-one on the left
 
in most modern systems the crankshaft has a fixed axle attached to the right arm
 
user1804599
4 hours ago, by райтфолд
https://www.gentoo.org/
 
11:34 AM
@MomotapaLimpopo I have an older generation Octalink, but mostly because it was shitty as fuck to find fixed axle model that would fit my chain line (I have 8-gear bike still :D)
the 8-gears were a thing, much more durable than newer designs despite the claims
 
Is it an Intel Octalink?
 
Anyway chaps it's time to go home now~
bai
 
Some years ago pretty much everything used the square one
 
Xeo
So yeah. Anyways, it's sure nice to have full insurance for the bike.
 
11:37 AM
eh, the full unit shouldn't cost you more than like €15 if that's a square one
assuming the frame is undamaged
 
@LucDanton erm. I suppose technically you asked Rapptz chat.stackoverflow.com/transcript/message/22430559#22430559
 
Xeo
fixed-price for changing the bottom bracket was 15eur
but they also did a bunch of other stuff
 
@Xeo sounds fair :)
 
@sehe I didn’t ask about the result.
 
Xeo
11:40 AM
@BartekBanachewicz Seems like they put this one in, now.
 
@Griwes lookie
 
@LucDanton okay. Then I don't know what you meant :)
 
yo wat
I'm debugging and when I throw an exception, then ... the control flow just continues, the exception doesn't seem to actually get thrown.
 
@sehe I’m concerned about what 'meta' means to you.
 
I mean, technically template <typename T> X = Y<T> could be TMP (because Y could be invoking a gazillion meta functions). Even more technically template instantiation could be "TMP" due to potential specializations. So, yeah. If you drill down enough TMP is template programming...
 
11:42 AM
anyone with 10k+ rep volunteer to be my guinea pig? this is once in a life time offer!
 
@Xeo mmmm... looks like chinese manufacturing. Plastics aside, the most important element of that part is the axle and the bearings. Since the axle is typically solid steel, it can hardly break or bend under human weight, but the poor-quality bearings can get noisy and cause some friction. The downside of those sealed systems is that you have to replace the whole unit, altough as you've already observed, given the overall low price...
a high end crankshaft + bracket will cost way more than €400
 
> Parties to other disputes are watching closely. Already Yanis Varoufakis, Greece’s finance minister, has floated the idea of settling the terms of its bail-out by arm-wrestling Angela Merkel and representatives of the “troika” of creditors on a tag-team basis. A spokesman for Mrs Merkel said: “Bring it on.”
@райтфолд early adopters be hipstering
 
@sehe do you want to arm wrestle Angela Merkel? She's not Putin... but that's not something I'd want to try.
 
Xeo
11:45 AM
> Alu-Schalen, Stahl-Achse
 
hmm
the problem with my current EH mechanism is that the destruction of the analyzer renders destructing the exceptions safely impossible.
what I ought to do is disconnect them properly.
 
@Xeo they don't make the ends of steel because there's a huge danger of damaging the frame thread, especially with (pretty common) badly executed change
 
Hehe, who knew I'd say this:
 
Xeo
well, as long as it doesn't break anytime soon
 
11:49 AM
@Xeo shouldn't.
just be sure to check the screws holding the crankshaft in place occasionally
if it slides a bit out, it will exert more force on the tip of the axle.
occassionally means like once every 2 months or something.
same goes for pedal screws. They're made so that normal pedaling should tighten them (the left one has reverse threading), but the same principle applies.
 

« first day (1628 days earlier)      last day (3318 days later) »