« first day (1821 days earlier)      last day (3136 days later) » 

6:00 PM
@Nooble @jaggedSpire is probably still passed out from all the Kahlua... bloody gremlins :P
 
I wonder if I could port mine and satisfy its interface with Metal. Although, Objective-C mixing-in is not something I enjoy. Will give the default crap a go, to see if it can do. Not really that concerned with pretty crap right now, beyond what is in the viewport.
 
@Borgleader good point lol
 
Dredd, the film, pretty nice.
 
@nick Mumble or death.
 
@ElimGarak you are making a GUI toolkit?
 
6:02 PM
@nick Did it a long time ago, it is behind the engine. It is pretty domain specific as it is intended for rigs that can run the engine's editors (so backed by DX11 and now DX12).
 
I feel like you can avoid Obj-C for the most part if you don't use Cocoa and the standard UI toolkit
uh hm I didn't think of the context though
 
Oh, that's what everyone feels. :D But Metal is an Obj-C API. Interfacing with the system is near impossible without Obj-C. :D
 
NIIIIIIIIIIIIICKK!!!!
 
@ElimGarak is Obj-C the only way? i feel like
I'm not sure I'll have to do more research lol
 
6:06 PM
Objective-C++ is a thing, but it has serious restrictions and plays well with ARC only under strict conditions. Gawd, I hate Objective-C, such a terrible choice to write an OS with.
 
@ElimGarak Rejoice, soon it'll all be in Swift :P
 
And between ARC shit and retain/release/autorelease crap, ARC shit all the way.
 
ah well, objective-C++ probably wouldn't help anyways since Metal only exposes an obj-c API
 
user image
7
when you see it ^
 
Would be nice to hide it behind the engine interface which is in C++. But that would most certainly mean an ugly implementation.
 
6:08 PM
@nick I’m told Swift is compatible with Obj-C.
 
@StackedCrooked uuu, this guy uses a really cool online tool youtu.be/IiVl5oSU5B8?t=38m49s
 
@ElimGarak true, probably the only way to approach it though if you're trying to make something cross platform
 
@ScarletAmaranth hehe :D
 
then again if it's cross platform your codebase is already fucked since you're dealing with metal and directx and perhaps even opengl
 
Yup... I think I might book a flight and kill a few people in Cupertino tho.
 
6:09 PM
Oct 7 at 22:15, by StackedCrooked
:P
 
There's a retarded fly making noise against the wall. I need to murder it as well.
 
@LucDanton it is, I haven't done too much research but to me swift just seems like a "wrapper" over obj-c
 
@ElimGarak I'm sure this message will get you on a NSA list somewhere
 
just another layer of abstraction
 
@StackedCrooked awesome job with coliru - auto-boost is a nice touch too :P
 
6:10 PM
Swift is terribru. Just like the singer.
 
git pulling boost is taking forever T_T
 
@ElimGarak u wot
 
@ElimGarak :)
 
@ElimGarak i used to live a few blocks away from the apple HQ you should've called me
 
@nick That sounds as clever as calling C++ a wrapper over C.
 
6:11 PM
@LucDanton fair enough, every language is just another layer of abstraction
but I think you see what I'm saying
 
Yes, but also no. What do you use programming languages for?
 
AFAIK swift was developed to lower the bar of entry for new devs, as obj-c can be confusing
 
Choosing between Swift and Objective-C is the equivalent of choosing between asphyxiation and drowning.
 
6:12 PM
you can't lower the bar of entry beyond Java
 
lol
 
lol
 
lol
 
wow
 
@ElimGarak I prefer SwiftOnSec
 
6:13 PM
@Nooble in a min its too loud right now
 
I seriously don't get why C++ is not a thing on OS X.
 
@nick Oh it's fine, I'm just kidding :P
 
because apple is rubbish
 
@LucDanton to make myself look cool and justify purchasing mechanical keyboards
 
Apple needs to die
 
6:13 PM
@ElimGarak Because Apple likes proprietary shit
 
I, for one, welcome our Xerox overlords
 
@ElimGarak Because walled garden
 
@nick I’m so sorry… programming is completely uncool :(
 
so they invented Obj-C
rip
 
@LucDanton so you're trying to say it's... hot
 
6:14 PM
@LucDanton Not exactly. In my experience many things in Swift are actually worse than Obj-C.
 
I'm glad I've never tried Swift or Obj-C
 
C++ never really threw out any important C features, whereas Swift chucked out a bunch of useful Obj-C features.
 
@ScarletAmaranth 200 billion cash on hand + 650 market cap.. I don't think they're going anywhere anytime soon
 
like proper fucking exceptions.
 
@Puppy where be my restrict pointers & references then
 
6:15 PM
@LucDanton you're a C++ dev so that's completely true for you
 
@LucDanton C99 ;p
 
C11 yay
 
C has restrict pointers?!
 
I am a JS Ninja L337 Hacker
 
@nick what’s a C++
 
6:15 PM
I want haz me some restricted pointarrrs
 
well it has
 
I need to write fortran more
 
You want an object? You can get a pointer to it, brah. A nekkid pointer. That you own. Eat shit and die.
 
@LucDanton what powers my JIT compilers
 
in my experience with Swift... yeah right why would I write that
 
6:16 PM
@nick electricity then
 
@Borgleader I am awake now
 
One thing I kinda like about Obj-C are protocols.
 
have been for a bit, actually
 
@jaggedSpire Nooooo
 
user1804599
@ScarletAmaranth Use Rust.
 
6:17 PM
Swift is one of the bitchiest languages ever, it's worse than Java in many ways.
 
You have left our silence.
 
@jaggedSpire good morning
 
try to convert NaN to an integer? TERMINATE PROGRAM!
 
@Nooble yes
@TonyTheLion morning
 
Wait, does anyone actually use Swift? I feel that Apple is trying way too hard with it, which is usually a sign that nobody gives a fuck about it.
 
6:17 PM
that's because nobody gives a fuck about it
 
@jaggedSpire Is the gremlin still there? ;)
 
I have to use Swift at work.
 
rip. When I first heard about it, I thought it was a PG13 language. For teh kidz.
 
@Puppy my condolences
 
@Borgleader no, he seemed to leave when I went to sleep
 
6:18 PM
it is the worst parts of Java, C++, and Obj-C all rolled into one.
 
still pulling boost... T_T jeezus wtf
 
it's almost like he was a sleep-deprivation induced hallucination or something.
 
@LucDanton actually that's C++, C, assembly crap, logic gates, transistors, semiconductor material, filter caps and voltage regulators, then electricity if we're talking abstractions
 
@jaggedSpire uh huh :P
 
@Borgleader :P
 
6:20 PM
but you know what's more important than all that? knowledge
 
@nick you remind me of that ad on youtube
 
Your girlfriend's voluptuous tits?
 
;)
 
do you have a lambo in your garage?
 
@nick Sadly transistors don’t burn very clean at all, so it’s not recommended as a power source.
 
6:20 PM
@nick I have 47 knowledges in my knowledge account.
 
@Borgleader 2 actually
 
@Borgleader or are you just happy to see me?
 
also @jaggedSpire good morning haha
 
I have 47 knowledges in my knowledge account in my knowledges in my knowledge account account.
 
@nick mornin'
 
6:21 PM
I have a knowledge accountant to manage all my knowledge accounts
 
@Nooble cool beans
I stayed up way too late playing minecraft last night
 
who plays minecraft
 
I do!
 
ew
 
6:21 PM
@nick not you
 
millions of children
 
I was playing MC until my friend had to sleep.
 
@jaggedSpire ah good point
@milleniumbug how do you know?
 
but I played it before it was cool with the non-college crowd. :P
 
wow k hipster detected
 
6:22 PM
puts on hipster glasses
 
you were already wearing them don't lie
 
no these glasses are nerd glasses.
 
I've never played Minecraft.
 
@nick all thanks to my psychic abilities trained to max level thanks to psychic debugging sessions
 
you've never lived
 
6:23 PM
@fredoverflow this is pretty good.
 
I think I might actually have pseudo-hipster glasses lying aronud...
 
@milleniumbug that is hardcore, I hope to attain your status one day
 
Size of the boost folder -> 1.19GB, size of all the (visible) contents of the boost folder -> 314MB, so that hidden .git folder is 900MB!?!? ffs
 
@BartekBanachewicz minor major chord...
 
this is bullshit
 
6:24 PM
 
they're horn-rimmed, but not quite the heavy weight used by hipsters, and they're two-toned.
not like that
 
@jaggedSpire I bought MC when it was in alpha too
 
more like this
except no rims where it's clear and less on the bottoms too
 
I bought MC when it was in 1.5.2.
 
6:26 PM
@Borgleader eh, beta 1.2 for me
 
Y'all blind and wear glasses.
 
224
A: Download a single folder or directory from a GitHub repo

nickThis is a pretty old question, but I figured this out today and I thought I'd leave this here for anyone else who has the same problem. As all the previous answers have already noted, you are not allowed to download a single folder using git. However, you are allowed to do this with subversion. ...

 
yes I do a lot of close work, especially involving computer screens
 
SHAMELESS SELF PROMOTION
@jaggedSpire i think I started playing around that time, maybe 1.3?
 
@nick wow 224 upboats
 
6:27 PM
@nick I wanted all of boost, I just dont understand why the .git folder is 900MB thats just insane
 
I started playing Minecraft on... January 1970.
 
@Borgleader so cute
 
@milleniumbug literally all of my rep so there
 
@ElimGarak I believe you
 
> Interesting C++ is powerful, C is the mother of programming!
 
6:28 PM
:)
 
@Borgleader are there not releases?
that lib has been around for a while so there's gonna be some history, but yeah 900MB is pretty big
 
@ElimGarak mΔ more usually
 
@nick not sure spirit x3 is in it
 
@Borgleader yes it is; likely not the version you want for serious checking
 
@Nooble nah
 
6:30 PM
@sehe well damnit
 
lol
he's too invested though, he's gonna finish the clone
 
either way, still need to compile it with clang (on windows)
 
I've cloned modular boost
 
@nick its already done, thats how i know the .git folder is 900MB
 
gg
 
6:31 PM
So, basically, half the Lounge played Minecraft. Damn.
 
I never did
 
built GCC 4.8 or something on my macbook, quit it after 2 hrs
 
@ElimGarak Even I played Minecraft briefly. It was terrible.
 
TIL lounge regulars helped place a self-absorbed one-trick-pony shithead who wrote crappy code in Java in a $70M mansion <3 I am disappoint. :P
 
apparently I needed it for an optional dependency so that was such a waste
 
6:32 PM
sehe is too cool for minecraft
 
@ElimGarak you're just jealous
 
minceraft
 
@ElimGarak I feel so ashamed of myself for actually buying the game
 
@jaggedSpire I'm not programmed to play games :L)
2
 
@ElimGarak why what how when?
 
6:33 PM
@sehe I would like some peanut butter with my jelly <3
 
@TonyTheLion lol wut
 
@sehe Gaem only uses keyboard! </blatant advert>
 
Gaem is Yiddish for "scum", no?
 
Is it?
 
@Borgleader it did exists, and I guess. I think it avoids MPL as well now. C++14 just allows so much more sucinct TMP
 
6:34 PM
still better than if it was 'scam'
 
@Puppy got a minute?
 
@milleniumbug no scam without scum
 
no
 
@AndyProwl For you, he's got a minute and gratis 5 seconds.
 
I am totally not just sitting here watching DS9 and Lounging randomly
 
6:34 PM
@sehe Ah ok, some things might have changed since the video i watched (which was from 2013, in which he said he couldnt avoid MPL)
 
@AndyProwl Why don't you browser the WG list for their minutes :)
 
my time is of critical importance
 
DS9 <3
 
dahell is DS9
 
@Borgleader Oh, like that. They opted for c++14+ only so I guess it's mostly for limited application stuff that they use it
 
6:35 PM
STAR TREK: DEEP SPACE 9
 
I mean, it's probably not pervasive
Potentially just temporary
 
@ElimGarak Duet was such a great episode, I did not expect the amazing ending.
 
@ElimGarak my coworker was raving about it the other day, and also mentioned that the first couple of seasons were a slice of life on a space station before it suddenly turned into a war series. Is that true?
 
I can wait
 
6:36 PM
@jaggedSpire Yes. It is the most human of all Star Treks.
 
I bet there's a trope for that
 
@AndyProwl I totally have a minute for you, Andy
ignore my massive sarcasm
 
@ElimGarak neat!
 
@ElimGarak I have to say that the characterisation seemed a lot stronger than the other Star Treks.
 
@Puppy Best villain ever. :D
 
6:37 PM
I'm beginning to wonder if Voyager would have been a lot better if they had waited for DS9 to finish before launching it
 
I watched Chaos on the Bridge, the crew of TNG went over to DS9 sets just to be amazed how they were better than them (DS9 > TNG).
 
maybe they just did not have enough competent writers to run two series at a time
 
@Puppy oh, all right, thanks. I'm coliru-ing the question
 
It had the fortune of coming after that prick Gene died. During his tenure, TNG was hell. He fucked off a year before DS9 was created (mid-TNG's run).
 
@BartekBanachewicz do you have any idea why the compiler was unable to deduce the type of that string here?
tokenize :: String -> [Token]
tokenize [] = []
tokenize str@(h:t)
  | h `elem` ("=()+-*/%>" :: String) = TSpecial h : tokenize t
not specifying the type results in `No instance for (Data.String.IsString (t0 Char))
arising from the literal `"=()+-*/%>"'`
 
user1804599
6:39 PM
fortune
torture
 
user1804599
note the similarity!
 
yep, it's Genre Shift
 
@ElimGarak ISTR that he was quite restrictive about the storylines that could be run.
 
@Puppy I hope the questions make sense. Basically, whenever a (virtual) concept appears in a function definition, I'm currently assuming the erased type has to be the same. This is mostly because I don't want stuff like operator = to fail at run-time
 
6:42 PM
There was a wall in the bathroom thingy with the names of all writers that were fired during Gene's tenure. It was full.
 
but with that assumption I run into a few issues
 
@ElimGarak holy shit that dude is crazy
 
@AlexM. What’s TSpecial like?
 
oh in the linked code I forgot the virtual thing, pardon
 
@LucDanton data Token = TSpecial Char | TNumOrIdent String deriving (Eq, Show)
type ctor for Token taking a char
 
6:43 PM
aand by DefaultConstructor I of course meant DefaultConstructible
man I should re-read what I write
 
streaming a river
 
@AlexM. Oh I’m dumb, that can’t help. Yes it’s not possible to (fully) deduce the type here. Keep in mind you’re using a generalised elem. Try lo took at its type, and work from there.
 
the default constructor thing can never be legal.
 
> My men understood that, and that's why they loved me. I would order them to go out and kill Bajoran scum, and they'd do it, they'd murder them! They'd come back covered in blood but they felt clean! Now why did they feel that way, Major? Because they were clean!
 
it can't?
 
6:44 PM
it'd be like trying to call a virtual static member function.
 
user1804599
AWESOME
AWESOME
AWESOME
 
Ahahah, love it.
 
user1804599
ME TOO!
 
I think
 
well, the object is constructed on the heap so why is it technically a problem?
 
6:45 PM
because what the fuck type would it have?
alright, let's take a step back.
when you say foo(C x, C y) there's nothing there that obviously requires that those two arguments have the same type.
 
@LucDanton the crazy thing is
 
they're just two arguments which both happen to have the same requirement.
 
well, there are two reasons why I'd like them to be of the same erased type
 
on CodeWars, in the starting code for a separate problem
 
first reason is consistency with static concepts
 
6:47 PM
the same kind of code works without specifying the type
 
second reason is that I want stuff like erased assignment to not fail at run-time
 
it's just locally that seems to cause problems
 
@AndyProwl You should make the user be explicit about what the restrictions are, then.
 
@AlexM. Different GHC versions :/ There was a very recent API change in the Prelude, the old elem was Data.List.elem but now it’s Data.Foldable.elem.
 
currently, you can't ever define a function that takes two arguments that don't both have to be of the same erased type.
 
6:48 PM
@LucDanton ah, that makes sense then
 
for instance if C is assignable, consider void foo(C x, C y) { x = y; }: would that fail at run-time if x and y have different types?
 
and it's not clear what would happen in some fun cases like if I have a Derived and a Base where Base inherits from C.
 
It’s either 7.8 vs 7.10 or 7.10 vs 7.12, I forget how it proceeded.
 
> The Glorious Glasgow Haskell Compilation System, version 7.6.3
Codewars uses hspec-meta-1.10.0 as its haskell test framework.
 
@AndyProwl Depends on how C is specified (also no run-time failures).
 
6:49 PM
this is used on the site
I use 7.10.? so yeah
that's probably it
 
you need to explicitly state what must be "Anything that meets C", and what must be "The same fuckin' type".
 
@Puppy classical concept which allows copy-assignment and move-assignment from self
 
for example
 
@AlexM. You can import Prelude hiding (elem) + import Data.Foldable (elem) and you should see the same behaviour, as long as the IsString stuff is enabled as well.
 
you could have a C which permits assignment from any C, not just self.
containers I'm looking at for example which could pull values using iterators.
there could be other interfaces that permit operations based on any implementation of themselves.
 
6:51 PM
I think I find that an unpleasant limitation
template<typename T>
concept C = requires(x)
{
    // ...
    { x = x; } -> T&
    { x = std::move(x); } -> T&
};
Basically, with this definition of C, you can't write void foo(C x, C y) { x = y; } unless you require x and y to be of the same erased type
also concepts in the static scenario require x and y to be of the same type
(inconsistent with auto but whatever)
 
consider
in this case I've explicitly labelled the derived type, and the concept, separately.
now it's clear what's going on and what's permissible.
also if we say for instance that the compiler passes a hidden interface argument as T, you could permit default construction, that was my bad.
 
wait a sec how does that syntax change things
 
it changes things because it's explicit.
although the syntax is really just an example of what you ultimately need to achieve.
 
Is it meant to be akin to this?
 
no, it's just an example.
 
6:55 PM
template<typename T, typename U>
    requires C(T) && C(U)
void foo(T x, U y)
{
}
^ that would not require x and y to have the same type
 
nope.
it's just template<typename T> requires C(T) void foo(T x, T y) as you had originally.
there is only one type parameter and both arguments are of that type, so it's clear they must have the same type, and not just any C.
 
right
 
furthermore
you can tell whether or not that bar() call is usable in any given situation.
because either it returns a T, or a C.
so you can prove in advance whether or not the result is enough.
in this case I made it return a C, so T a = bar(); is not legal unless C permits construction from any C.
 
wait I'm lost: back to my original example: should the compiler assume/require x and y to be of the same erased type?
 
neither.
the user should specify.
 
6:58 PM
 
@elyse Pointing one-past-the-last resembles a happy face :)
 
well, that's the syntax for the user to specify they should be
at least in static concepts
 
@AlexM. 2spooky etc.
 
user1804599
@fredoverflow :)
 
user1804599
6:58 PM
It's UB in C, though, I think.
 
except it's blatantly obvious that in every other language context, they don't have to be.
if you have foo(int x, int y) you can call it with foo(1.0d, 1.0f).
 
I know
 
@elyse What?
 
so what I would say is
 
wtb modules
 
6:59 PM
fuck static concepts.
 
user1804599
@fredoverflow incrementing a pointer to one-past-the-end.
 
make something that works for you and offers what you actually need.
and if it happens to have similarities to static concepts, great.
 
I'm not sure I have big odds of getting this accepted if it's inconsistent with static concepts
 
@fredoverflow those splines...
 
6:59 PM
that's not true either.
 
user1804599
those reticulated splines...
 
HOW TO START WORK
8
 
> Thus if P points to a member of an array object, the expression P+1 points to the next member of the array object. Unless both the pointer operand and the result point to a member of the same array object, or one past the last member of the array object, the behavior is undefined.
 

« first day (1821 days earlier)      last day (3136 days later) »