« first day (1502 days earlier)      last day (3445 days later) » 

user1804599
3:00 PM
lol taking those two values but not a locale
 
ok, the names are fine
since they seem to be the only things that are not worth arguing against
 
Ell
@BartekBanachewicz I'd use ruby when I want to write something quickly
otherwise I use c++
 
I'd use rubby if I wanted to torture myself
 
@rightføld I dunno about that, I only checked the changes in this revision, which don't show what happens under the hood
I don't remember how things come from the Google and Apple servers when it gets to IAP prices, but I think they're already received with the proper currency and value based on the user's account
so it's just a matter of combining the two in a nice string to show the user
 
That combining is what needs the locale hth
 
3:04 PM
why do you need a locale to combine "USD" with a number?
 
Because it varies from locale to locale?
 
I'm not sure I understand what that does
 
@AlexM. You need it to print the number, lol.
 
shrug ok
 
@Ell what other languages that allow writing stuff quickly do you know?
 
3:05 PM
s/print the number/convert the number to a string/
 
Ell
@BartekBanachewicz python maybe
 
@Ell why do you choose ruby over python in such scenarios?
 
@BartekBanachewicz inb4 Haskell
 
I saw they have multiple formatting functions for the value thing depending on the currency, so it probably does that
 
Digital separator varies
 
Ell
3:05 PM
@BartekBanachewicz the same reason I choose python over ruby in such scenarios
ie it doesn't matter to me
I choose what I feel like :3
 
Placement of the symbol might vary
 
@Ell ahm. And that's everything your defense of ruby is based on?
 
@CatPlusPlus He seems to think that is covered by currency itself. lol
 
user1804599
@AlexM. currencies are formatted differently in different locales.
 
user1804599
3:07 PM
Five hundred euros would be written as €500 in en_US but as € 500 in nl_NL.
 
I am dissapointed.
 
Ell
@BartekBanachewicz I don't know what you expect me to say :L
when do you use lua instead of some other language similar to lua?
 
@BartekBanachewicz Yeah, what a sin to be enjoyable.
4
 
Ell
why would you choose haskell to programme something instead of say, scala
 
user1804599
Also consider . vs , for decimal separator and thousand separator.
 
user1804599
3:07 PM
Currency code or symbol before or after number.
 
user1804599
Etc.
 
Ell
I programme in what I enjoy programming... in.
That sentence needs refactoring :L
 
user1804599
Nah, just monkey patching.
 
Monkey shitflinging
 
I see, ok, I got what locale does on it
why isn't there a single locale to be used in the whole world
 
3:09 PM
Because people suck
And we have to deal with this nonsense insanity
Welcome to programming
Here's your cape and this thing to stab yourself in the eye with
 
@Ell Because Lua exhibits the properties I want and require for the tasks I use it for, and surpasses all alternatives known to me.
 
lubba
 
@R.MartinhoFernandes I like writing in Brainfuck for fun. It doesn't mean I endorse this language or would recommend it for anyone.
 
Ell
@BartekBanachewicz ruby at least does the former for me :P
 
@BartekBanachewicz You're weird
 
3:12 PM
@CatPlusPlus that's well known innit
 
@BartekBanachewicz Ell likes writing in Ruby for fun. It means he endorses the language and would recommend it to someone.
 
okay so let's back up a bit here.
Ruby is a toy language.
agreed?
 
user1804599
No.
 
See what I did there? I grabbed your strawman argument and turned it into a proper one.
3
 
No, toys don't cause people's mental health to deteriorate
Nothing in programming is a 'toy'
 
3:14 PM
@BartekBanachewicz Oh shutup
 
@rubenvb kinda is ain't it
 
Not really
 
@R.MartinhoFernandes no, you derailed the whole thread into appreciation of toys. Congratulations.
fuck rubby threads.
 
Ell
3:17 PM
@BartekBanachewicz okay let's change it up a bit. When would you use PHP?
 
@Ell never
 
Ell
@BartekBanachewicz Do you think PHP is a toy language?
 
How did I derail anything? After that you only asked people if they agree that Ruby is a toy language. Nothing else in that thread.
That's not what derailing a thread means by any stretch of the imagination.
 
@Ell inb4 yes
 
@Ell Would fit my definition of one, yes.
 
3:18 PM
@Ell I'd argue it's not a language, hence it can't be a toy language.
 
"Toy language: any language I don't like"
 
oh PHP is not even a language now.
 
(It's not a language, it's a huge clusterfucky mess.)
 
Ell
@BartekBanachewicz I think here is where the problem lies :L
 
ok
 
3:18 PM
@CatPlusPlus my definition is different from yours apparently
@Jefffrey he's got a point vOv
 
Then give us yours
 
@Ell Can you elaborate?
 
@BartekBanachewicz That's what he said!
 
yes
he did say that
we all saw it
 
I enjoy writing PHP more than rubby
3
 
3:19 PM
> real development
 
Now define real development
 
Ell
@BartekBanachewicz php has been shown to be suitable for "real" development, by others at least
 
what is this thing
 
@CatPlusPlus A language I would never voluntarily pick for a software project I'd want to see finished and be proud of completing.
 
Facebook is not real
 
3:20 PM
Maybe that's a better one.
 
Ell
A language you would never voluntarily pick
so not haskell? ;)
jokes that was b8
 
@BartekBanachewicz So my definition was right :v
 
haskell is not suitable for real development
not php
 
@Jefffrey excuse me?
 
3:21 PM
@Ell Your definition of "real development" is weird.
 
lol
 
Fuck monad stacks
 
@CatPlusPlus I don't like F#. I would still use it for a programming project.
By contradiction...
 
I tried to write a webapp in Haskell, but it's real exercise in patience
 
You guys seem to mistake "commercial software manufacturing" with 'real development".
 
3:21 PM
lol
 
Oh god not your hipster arguments again
 
Please enlighten us, then.
 
:D
 
What is real development oh great master.
 
Better now?
sigh
 
3:22 PM
Anything that's not MAINSTREAM
 
it has to be REAL OK?!?
 
I was under the mistaken impression it meant development happening for real.
 
You probably never heard of it
 
I see the error of my ways.
 
It's not a hipster argument; it's just that way too many people think that the majority of people is right.
 
3:22 PM
lol
 
I'll assume it's intentional.
 
Which is an obvious bullshit - the majority of the population is idiots, hence they are pretty obviously not right. :P
 
@R.MartinhoFernandes It's more complex than that wink
 
Commercial is not real
All real projects are the ones that are written with no funding at all and no prospect of any profit
I'm glad I'm not working on real projects
 
Notice I said "manufacturing".
I tried to make a distinction even you guys could potentially get.
 
3:24 PM
@Griwes Says who?
 
@LightnessRacesinOrbit Eh, no?
 
Seems I have failed at that task.
@Jefffrey Says me.
Says a potential idiot. vOv
 
Maybe because "manufacturing" is a useless term when applied in the context
 
@Griwes It would idiotic to trust you on this.
 
Ell
@Griwes I saw that
I want to be able to alias functions in c++
 
3:25 PM
@Ell using!
 
lol
 
kind of.
 
@CatPlusPlus I'd drift towards "not projects exhibiting problems that are solvable by throwing tens of interns on them", but that'll just start another shitstorm
 
Ell
I don't think you can do that with using?
 
Kind-of-but-obviously-not.
 
3:25 PM
seriously though
 
@BartekBanachewicz Specialised projects like that are vast minority
 
@BartekBanachewicz Yes, now you realize that constantly backpedaling your definitions doesn't work well.
 
haskell is beautiful and all, but working with it is a pain in the ass sometimes
 
I wonder if you could just auto newfunc = oldfunc to alias.
 
3:26 PM
@Jefffrey Sounds like every other language :D
 
@Jefffrey maybe because you're too lazy to read the fucking docs, eh. (jk)
 
It's not real aliasing I guess, but it's close.
 
lol
 
@QuestionC No, because that doesn't work with overload sets.
 
3:26 PM
Firefox was supposed to "take over" from IE; instead, because it didn't get good quick enough (still isn't, arguably), Chrome came out of nowhere and pipped it to the post
 
20% of market share means you're dead now
 
@LightnessRacesinOrbit It has gotten asymptotically closer to IE.
 
Ell
@LightnessRacesinOrbit yeah I feel bad for firefox kinda
 
seriously though it's hard to talk about languages because social aspects are hellishly important in real life
 
Ell
it's like chrome just comes out of nowhere and takes over pretty sharpish
 
3:27 PM
And 20% is indeed not dead. It comes in second here
Google just marketed better.
 
@rubenvb If "Firefox's popularity is getting asymptotically closer to IE" is your benchmark for "Firefox is not dead" then, yes, it's very much alive and highly successful.
 
Besides IE is slightly picking up too
 
so either you become a Haskell Mental Masturbator or you have to admit that PHP has lion share of the market
 
user1804599
@LightnessRacesinOrbit Chrome was also advertised on like the most visited page ever.
 
@BartekBanachewicz It's even harder if you can't say anything reasonable in the process.
 
3:27 PM
@Ell yeah :(
 
@CatPlusPlus It's also slightly better.
 
Slightly
 
@R.MartinhoFernandes now for me social aspects are kind of unreasonable there, so for each their own.
 
@rubenvb Why does it matter how it happened? You can't say "let's pretend it's not in #2 or #3 place, because #1 only got there through marketing".
 
Firefox won't die
 
3:28 PM
@R.MartinhoFernandes Well if you consider that Haskell is older than C++, but it has a 80x times worse ecosystem... it's kinda different.
 
Well, you can, but Griwes will shoot you dead before you hit 13yo.
 
@Jefffrey Er. What.
 
@Jefffrey uh it isn't older than C++
 
I know that age is not an important measure for a language.
 
@LightnessRacesinOrbit lol
 
3:29 PM
No, it's not even that.
 
also ecosystem? lol compare Cabal with anything for C++
 
user1804599
COBOL master race.
 
@Jefffrey Your data is wrong.
 
@Jefffrey It picked up in general population not that long ago
 
user1804599
Picture clauses are a great idea.
 
3:29 PM
Way after Haskell 98 was released
 
@Ell You can for template parameters, which is less than half of function aliasing. You can use lambda's though: coliru.stacked-crooked.com/a/8c9cdae332a508ac
 
Haskell is from the nineties.
 
Ell
@rubenvb Ohh I can use template variables to do it also
 
@CatPlusPlus It also improved to the usable state not that long ago; that's why the stereotype of useless theoretical wanking still lives on
 
Oh woops.
 
Ell
3:30 PM
32
Q: How do I assign an alias to a function name in C++?

Agnel KurianIt's easy to create a new name for a type, a variable or a namespace. But how do I assign a new name to a function? For example, I want to use the name holler for printf. #define is obvious... any other way? Solutions: #define holler printf void (*p)() = fn; //function pointer void (&r)() = fn...

 
It really was pretty useless not so long ago.
It's really not now.
 
Ok, nevermind then.
 
Cabal wasn't developed until 2004
 
@LightnessRacesinOrbit Well, your argument is invalid by your own "proof", so I don't really see what point you're trying to get across.
 
@BartekBanachewicz What changed?
 
3:30 PM
Cabal sandboxes and Stackage
It's still not very great
 
Hackage?
 
@rubenvb what?!
i have literally no idea what you just said
 
No, Stackage
 
oh well
4 mins ago, by Lightness Races in Orbit
Firefox was supposed to "take over" from IE; instead, because it didn't get good quick enough (still isn't, arguably), Chrome came out of nowhere and pipped it to the post
 
@LightnessRacesinOrbit You say FF is dead, you give a graph showing it still has a steady 20%.
 
3:31 PM
This is the point. It's not a difficult one to grasp. :)
 
@LightnessRacesinOrbit So clearly dead.
 
@rubenvb Did you interpret "dead" to mean 0% market share?
 
What FF intended to do has nothing to do with it being dead or alive.
 
Ell
@LightnessRacesinOrbit hahaha
 
3:31 PM
ITS DEAD JIM TOTALLY DEAD
 
@LightnessRacesinOrbit No, but 20% is far from "dead" in any sense.
 
user1804599
inb4 Stackage is Debian
 
@rubenvb Steady is a stretch, though.
 
No Stackage is not Debian
 
It never really had more than 30
 
3:32 PM
@rubenvb If I s/Firefox is dead/Firefox's dreams, ambitions and general reason for being are/, will you be satisified?
 
Firefox's reason for being is competition
 
Ell
oh damn template variables function template aliases can't infer types :'(
 
@LightnessRacesinOrbit FF's reasons for being is not only beating IE.
 
Firefox's reason for being is to knock IE out and take its place as the go-to browser for everyone everywhere
 
That doesn't change because Chrome displaced IE as the thing to compete with
 
3:33 PM
like every other browser from that era
 
FF provides somewhat more "privacy" and indeed, competition.
 
Mozilla already committed to never switching to WebKit just to provide competition for it
 
Can you at least agree that Firefox has not enjoyed the success that was foretold? Due to slow development and Chrome coming along with rapid development? Because that's what I'm really saying.
 
You assume the reason FF came into being is its only goal today.
 
If it wasn't for Firefox then we'd be using IE until Chrome came along
 
3:33 PM
@LightnessRacesinOrbit Well, yeah, but that wasn't the starting point of the discussion. We get you're a Chrome fanboy
 
@rubenvb yawwwwwn
 
@rubenvb Well, I guess you can say it's a steady decline.
 
@rubenvb Wtf? I'm not a Chrome fanboy!
That's the best strawman I've seen here all week
 
user1804599
I want Annex.
 
I was a massive Firefox supporter until it turned massively shit. I would still like to see the project succeed.
 
3:34 PM
If you go back to Netscape, I'd say FF's reason for being was just so there would be a browser that works.
 
My interpretation of the facts and history has nothing to do with what I'm a "fanboy" of
 
@LightnessRacesinOrbit How is it a strawman?
 
@R.MartinhoFernandes Actually it may be a disguised ad hom? Not sure.
 
Ell
strawmen everywhere
 
It's something.
 
Ell
3:35 PM
 
Maybe I'll switch to Chrome if it gets good and stop not giving people choice because of terrible notion of UX
 
Screw Google.
 
Also that
 
Chrome is much better now than it was briefly a few months ago
Though it's still abhorrent at Unicode
I revisited Firefox the other week to do some web testing, and its UX is fucking horrendous
 
@CatPlusPlus What choices do you lack again?
 
3:38 PM
@Jefffrey The majority of settings you'd expect in a browser
 
Can you hide tab close buttons yet
 
That's what you are missing?
15 pixels per tab?
 
@CatPlusPlus ywot
 
It's one thing I remember
It's not the only thing
 
Go on then
 
3:39 PM
I haven't used Chrome in a while but I doubt developer attitude changed so
 
Did they fix their crappy OSCP replacement yet
 
I do miss Firefox's about:config
 
I never managed to do everything I wanted with Chrome the way I do with Firefox
I don't keep a list but unless that changes then welp I don't care about V8 enough
 
@R.MartinhoFernandes new libraries, new cabal, new ghc...
 
3:42 PM
> Ranked: The 12 programming languages that will earn you the most venturebeat.com/2014/11/24/…
> 1. Ruby on Rails – $109,460
 
You cannot use namespaces carefully, because boost::array is in the boost namespace, and std::string is in std. ADL will have a field day with your "careful" operator :) (Anyways, I think the OP's example "requires" this operatorm and not inverse as @utnapistim suggests) — sehe 10 secs ago
 
rubby on derails
 
rubby on a wheelchair
 
ruby on highways
 
Maybe being high makes rubby enjoyable
That'd explain why Ell likes it
 
3:44 PM
also where the hell is COBOL in that list
 
Ell
Hey, the only thing I get high on is life
 
0. COBOL - $1,000,000
 
Ell
lol
 
@CatPlusPlus Ell likes it because he never did any ☆★REAL★☆ development with it
 
> train to become a Salesforce architect if you want one of the highest-paying jobs in tech.
what's a salesforce architect
google time
 
3:45 PM
It's someone who forces sales
 
user1804599
@AlexM. a gimmick like SEO and Lounge<C++>.
 
working on CRMs all day long must be boring
but I guess if the pay is good...
 
I challenge you to look at that painting and not yawn. Just saying. — Marthaª yesterday
 
whoopie new codementor session incoming\
 
hehehe
 
Ell
3:49 PM
@BartekBanachewicz what do you mentor?
c++?
 
@Ell mostly
Did C last time actually.
 
@AlexM. isn't salesforce a library or product of sorts?
 
it says here that it's a CRM system
 
knew it was something :P
 
user1804599
> String.prototype.valueOf = function() { console.log("BUKKAKE!"); };
[Function]
> new String("hi") + new String("hola")
BUKKAKE!
BUKKAKE!
NaN
 
user1804599
3:56 PM
top kek JS
 
Ell
lol
 
@Ell Also I have to learn what route poisoning is now apparently
 
Ell
@BartekBanachewicz oh you're doing the udp router guy?
 
@BartekBanachewicz lol
 
user1804599
Yes, he's doing that guy.
 
3:58 PM
You're teaching people things you don't know?
 
Ell
@BartekBanachewicz before the 29th right?
 
You should work at an uni!
 
No more parallel turns, yay.
 
@Ell mentoring, yes :P
 

« first day (1502 days earlier)      last day (3445 days later) »