« first day (1478 days earlier)      last day (3469 days later) » 

12:01 AM
Is it some recursive thing?
 
Ell
mmmm blue curaçao
 
So apparently there is Bernoulli polynomial generator in Boost
 
@Ell There used to be one restaurant just outside Colorado Springs that served really good blue margaritas. I'm pretty sure I haven't had a blue margarita since they closed though...
 
Ell
@JerryCoffin ooh they sound yum too
I want to go to a real cocktail bar
I only have chain clubs near me :( nowhere fancy with real cocktails
I have to make them all myself
 
whats a chain club?
 
Ell
12:07 AM
like a chain restaurant
franchises basically
 
Somehow I think I should be allowed to do this: float* foo = ptr; auto KnowWhatIWant = static_cast<int*>(foo) . We should have some kind of C++/grep friendly cast for that, like fuckit_cast
 
@Mikhail BDSM?
 
@MartinJames In the USA we don't have many clubs, and the ones we have are unique
All the good places are for mexicans
 
Ell
you must have lots of clubs in the usa
 
like 5
 
12:13 AM
All in Tijuana?
 
Ell
man I never realised this tasted good straight
but apparently it does
bottoms up fellas
 
@Ell What/who are you sucking on?
 
Ell
@MartinJames blue curaçao
I was having it with orange juice
but it's good by itsself
 
Orite. I may have tried it at parties when drunk.
 
@Mikhail reinterpret_cast
 
12:17 AM
@Darklighter Indeed, I just realized I had the two confused. Oh well I don't get paid to program, so I have an excuse :-)
 
'Design an OS with CSS/HTML':
http://stackoverflow.com/questions/26691394/how-does-design-in-an-operating-system-work
 
The design an OS with CSS ain't too crazy. You use CSS for Qt and KDE is maybe Qt.
 
Ell
I think OS is definitely the wrong term
they must mean window decorator
 
Honestly the question made sense to me to but its probably too broad. I would be fine if they asked how Windows 7 is styled...
 
12:49 AM
@MartinJames I saw a guy, who "made a OS" in PowerPoint. So I can't see anything strange here. :D
 
@Tacet lol!
 
Ell
1:04 AM
I don't think people know what an OS is
 
Should we consider BIOS an OS?
Is a while(true) a hard realtime OS?
 
Ell
No
 
@Loopunroller "profile views 666", nice. :D
@Ell Are you sure? That will ruin my cv!
 
Ell
OSs must abstract in some way over hardware
 
Ok. :(
 
1:20 AM
For those who have worked with Swift, what's the best place to learn it?
 
@Ell At least by the usual definitions of things, they have to do a bit more than that. A BIOS provides some degree of hardware abstraction, but it's not an OS. An OS (as the term is normally used) has some kind of support for processes.
 
Ell
Yeah that too
I agree
 
What's Swift? Isn't it some sort of fruity shit?
 
@DemCodeLines On a computer. I recommend "at a desk" as well, but that probably reflects how old and conservative I am.
 
@MartinJames The language that Apple made?
 
1:24 AM
@Borgleader I'd rather have cider.
 
@JerryCoffin I meant tutorial on language.
 
@DemCodeLines On some Apple site?
 
Hmm, I wonder where I could find test data for RLE encode/decode.
 
Ell
What cider do you drink?
 
15 seconds of Google gave:
http://swift-lang.org/main/
 
Ell
1:27 AM
I like aspall
 
@DemCodeLines Given how recently it was announced, I think it's safest to assume that any tutorial other than Apple's is probably complete crap. Putting together a decent tutorial takes quite a bit of time and effort.
 
@JerryCoffin Apple tutorials may be crap too.
 
@MartinJames that ain't it tho
 
@MartinJames They may easily be too--but right now, they're the only ones that might not be.
 
@DemCodeLines There's another Swift?
 
1:30 AM
@MartinJames seems so
 
FFS rename one of them 'Swallow'
..or maybe 'Vulture'.
 
@MartinJames That would certainly seem to fit well with a lot of Apple fanbois.
 
@JerryCoffin lol
 
@MartinJames That would fit better with Apple in general than this language in particular.
 
1:48 AM
Think I have to buy a snowmobile
 
How many times do you plan on using it? Snowmobile is like 6k, but the number of times you can use it in a year is like 12
 
prolly fewer
a friend has been nagging and I have run out of excuses
 
rent it,
 
maybe
selling it is also an option if it turns out meh
 
 
2 hours later…
3:58 AM
Can I use the same id on 2 iphones?
has anyone tried it?
 
 
1 hour later…
5:02 AM
god
this is the worst abuse of operator overloading I've spotted in the wild in a while
"infix" notation
const constexpr infix_adaptor<sum_f> sum = {};
auto three = 1 <sum> 2;
 
that's Konrad's
 
 
2 hours later…
7:18 AM
the time
does this mean that bars are open later?
 
cpx
8:18 AM
When is a question a homework?
Maybe my question itself is a homework haha
 
cpx
8:45 AM
All I know is that a question given to you by your school teacher is a homework.
 
@cpx You don't put "a" in front of "homework". You just say "This is homework."
This is homework.
This is clearly homework.
This is obviously homework.
I can't believe it's not homework!
 
cpx
I see because it is uncountable noun.
I somehow still counted it.
 
You mean "an uncountable noun". Uncountable nouns are themselves countable ;)
 
cpx
But the 'it' is neither a or an.
It is just homework!
 
9:03 AM
@cpx Right. Sooo... why do you care about homework questions so much?
 
hm, back to two screens horizontally
feels weird
 
What did you have before?
One large 21:9 screen?
 
cpx
I just saw a question flagged as homework and I had thought "Can I ask homework question even if I don't go to school?"
 
Why would you?
 
cpx
I wouldn't but then I thought "How can other people tell if my question is homework or not?"
 
9:10 AM
@cpx they're terrible in a certain way
@FredOverflow my left one was vertical
I turned it sideways because I play racing with my friends so I need two screens
 
@BartekBanachewicz The people or the questions?
 
@FredOverflow both
 
@BartekBanachewicz So buy a third screen, then you can have two horizontal AND one vertical screen ;)
 
@FredOverflow I'd probably have two vertical ones because three is... a lot
 
cpx
@FredOverflow How can terrible people ask good questions and vice-versa?
 
9:21 AM
good questions always ask terrible people
 
@cpx by doing research / by being lazy
 
@BartekBanachewicz Also, not every graphics card supports 3 monitors.
 
@FredOverflow mine does
 
In that case, you gotta buy a third monitor. Otherwise, you bought that graphics card for nothing!
 
(old pic)
 
9:23 AM
That sword doesn't look very straight :)
 
@FredOverflow I didn't enable bevel compensation when I was taking the photo
 
I really like ultrawide monitors but I'm not used to splitting my desktop in two halves :\
 
also you have to sit in front of them, it doesn't look so good from the side
@AlexM. well you already should have at least two screens, so splitting it shouldn't be a problem
 
it's easy to split on two screens because... I don't split anything
I move windows and maximize them
getting something like this would also ruin old games, I really doubt you can fullscreen a game only on half of the screen :(
but it looks really cool
 
looks small
how tall is it?
I mean, I suspect it would need to be at least 60" in diagonal
 
9:29 AM
29" at 2560 x 1080
I picked a random ultrawide
60" is... uh
bigger than my TV
I'm not sure that would be a proper monitor
 
my "TV" is 160" :3
 
are you sure those are inches and not cm?
 
yes. I have a projector :P
 
there are no 60" monitors being sold in Romania
 
@AlexM. point being, those ultrawide thingies are smaller than two normal monitors side by side
 
9:31 AM
@BartekBanachewicz In both dimensions, even.
 
I mean sure no frames in between, but still..
for work you could buy 6x19"@4:3 and be pretty effective
and that's actually a pretty cheap option, if you can create the mount yourself.
 
two monitors side by side don't look as cool though
 
@AlexM. arguable
 
I sure as hell won't work at an ugly desk
 
also, if I were to buy an ultrawide screen, I'd buy a curved one
 
9:33 AM
I quite look the double screen look
 
@BartekBanachewicz that's probably going to happen soon
 
@LoïcFaure-Lacroix "going to"? "soon"?
 
Well if not already
 
well, me buying anything right now isn't really probable
but screens are already there
 
Well it should get much cheaper soon for sure.
 
cpx
9:39 AM
@FredOverflow: I was reading this question which was tagged as homework at one point.
 
@cpx we don't tag questions as homework anymore
 
user1804599
user image
3
 
@rightføld I don't get it, what is a parallax page?
 
user1804599
 
9:43 AM
I still don't get it. Must be a web thing.
 
user1804599
A parallax page is a page with parallax effects.
 
user1804599
such as spotify.com
 
user1804599
Not nearly as bad as pages like this, though.
 
yap
 
> 8-10 characters long, letters and numbers only, no spaces. First character must be a letter.
waddafuq
 
9:47 AM
Hm.
I guess I should keep my Ubisoft boycott.
 
user1804599
Of course you should.
 
user1804599
And don't lift it until they make good games.
 
the games are good enough
their view on PC gaming is bad
 
user1804599
PC gaming is bad.
 
and rather, gaming in general lol
 
9:51 AM
Their last good game was Rayman Legends.
Before that, I don't even remember.
 
it's not like console owners don't have reasons to be pissed at Ubisoft
 
Ubisoft's view on everything is shit
 
oh wait that was later
 
@Rapptz what about that
 
user1804599
9:53 AM
> Far Cry 4 on PS4, Xbox One Equivalent to PC Ultra High
 
user1804599
That is not a sentence.
 
> Hutchinson has also mentioned that Far Cry 4 is developed primarily on PC, unlike other Ubisoft games
 
IRTA Far Cry 4 on PC ultra high details equivalent to what consoles can output
 
PS4 is equivalent to modern high-end PC shrugs
 
Yeah.
 
9:54 AM
I wonder if we'll get a new Crysis soon
 
not extreme high end, granted, but still
 
and by that I mean an ultra-awesome looking game that acts half as a benchmark and half as a game
 
user1804599
That reminds me, I should buy a PS4 next year.
 
probably around 80% of PC gamers have worse hardware than PS4 (stat pulled out of ass)
maybe even more
 
user1804599
lol giving a shit about hardware
 
9:55 AM
@AlexM. Crysis was way less than half game.
Crysis Warhead and Crysis 2 were games, and Crysis was way more of a tech demo.
 
@rightføld it matters when things are getting slow :P
 
I'm gonna go back to playing FL.
 
@Puppy Crysis 2 was CoD with aliens
warhead was ok :D
 
user1804599
That's where consoles come in, where games are tuned for them so they never run slow.
 
user1804599
9:56 AM
Unless the developer of said game was terrible.
 
fuck, this is a 2007 game
 
cpx
The last game I played was Dishonored on PC.
 
pretty sure that in CoD you can't turn invisible.
just sayin'.
it's only CoD with aliens if you make shit use of the nanosuit powers.
 
@rightføld which, sadly, happens pretty often
 
cpx
Killing is less fun than stealth.
 
9:57 AM
@AlexM. If by "game" you mean "tech demo", then yes.
 
okay gaming discussion bye.
 
and it doesn't really look that great anymore
 
when I said about CoD with aliens it was more about how Crysis 2 is a tunnel shooter where you advance from point A to point B where a cutscene is waiting for you; repeat;
and in Crysis 1 you had an entire island to explore
 
well, not really.
most of it you couldn't possibly get to in a reasonable timeframe.
and most of the encounters you could not go past.
 
Doesn't sound like a very cloud-based, user-focused, web-scale solution to me
 
9:59 AM
and there was nothing to find except enemy soldiers.
in Crysis 2 at least things actually happened instead of "Walk through grass to enemy camp; kill enemies; repeat very slowly".
 
what do you mean by reasonable timeframe?
and encounters?
 
well, the runspeed was shit slow so it took forever to get anywhere, and most of the terrain could not be traversed by vehicle even if you had one.
 
you'd just get a marker on your map where you had to go, and nothing else would stop you from exploring further
 
except for the fact that there was absolutely nothing to find.
 
that's not an argument that saves Crysis 2
 
10:01 AM
and it would take forever to explore anywhere because it took forever to run around.
 
at least vehicles made sense in Crysis 1, in 2 you get them to ride along a road for a few minutes
it feels like a mockery
 
well, they didn't really make sense in Crysis 1, they handled like shit, had weak weaponry, couldn't go anywhere, and didn't have any interesting mechanics and disabled the only remotely interesting mechanics the game had.
in Crysis 2 you can at least rip off the heavy machineguns.
 
I don't think a supposed higher quality of a couple of elements can excuse the complete absence of others but I guess we have different expectations from games
 
the exploration element never had any meaningful gameplay impact whatsoever in Crysis anyway.
excising it from Crysis 2 meant that they could make the other elements actually interesting.
 
10:15 AM
I was searching for an implementation of the Riemann Zeta Function
And Holy crap, Boost has one
 
I have one too.
 
My Zeta is bigger than your Zeta!
Good morning.
 
@MohammadAliBaydoun C++ has one too.
Well, C++03 TR1 does.
#include <tr1/cmath> or whatever
riemann_zeta(x)
 
I know GCC has them but not VC++.
 
10:26 AM
But does it have the Hurwitz Zeta function?
 
I bought train tickets for my interview
I wonder what's the possibility that I might really want to work there
 
no
It's kinda sad that the math component of TR1 is the only thing that got removed from C++11.
I guess it didn't see enough use or something.
 
@Rapptz No, some vendors (MS at least, I think) have refused to have the special function in. They would have to implement them and (they claim) then have a mathematics Ph.D. on phone just to give support.
 
you don't need a math PhD to write these functions
 
@Rapptz These functions have their own ISO standard separate from the C++ language standard.
 
10:32 AM
Eh?
Source?
 
@Rapptz Well, do not argue with me. That is the story that was told in one or more of the CppCon 2014 videos/presentations.
 
Where's the talk?
 
@Rapptz See the WG21 site, specifically "ISO/IEC 29124: C++ Special Math Functions" there.
@Rapptz I think Alastair Meredith had it in one of his own.
 
That's just one of the TR1 papers :/
    No results for Alastair CppCon.
Oh Alisdair
 
@Rapptz Ah, sorry.
 
10:39 AM
right.
new strategy: just leave the debit card at home.
then you cannot spend money buying shit.
 
@Rapptz iso.org/iso/home/store/catalogue_tc/… As far as I can tell, it is a complete ISO/IEC standard, legally on par with the actual language standard. They only link to the draft paper because they cannot give out the standard document for free.
@Puppy What about having some control over your own life and not spending money on shit because it is the right thing to do?
 
why don't you simply grow a third arm? it would be super useful.
 
@Puppy Wat?
 
merely pointing out that you could also be better off if you just had some control over your own life.
 
Ell
@Puppy I already have a third leg, why would I need a third arm?
 
10:44 AM
lol
 
cpx
I am learning how to write how to use a macro like a function but almost everywhere they give this example: #define MAX(a, b) ((a < b) ? b : a) In the end they say "always use inline function!"
 
don't use macros unless you need them to do something that no other language feature can do
 
@cpx don't use macros like functions. Use functions.
 
cpx
Template functions?
 
@cpx Function templates.
Y'all, get the terminology straight.
 
cpx
10:59 AM
But Inline functions aren't guaranteed to be expanded like a macro, isn't that right?
 
@cpx Inline functions are gonna be inlined if the compiler decides so. Alternatively you can force the inlining via certain implementation specific attributes.
 
@cpx True, but nobody cares. The compiler has a way better heuristic for when to expand than you do.
 
I hope Android never becomes tied to something like iTunes
last night I wasn't able to get to my PC to get some songs on my phone
but nothing stopped me from torrenting them on the phone itself
 
cpx
11:15 AM
Macros are both ugly and evil.
 
@AlexM. I/my phone has been barred from the club 'free' WiFi system, (a horrible thing supplied by brewery with a web logon). Aparrently, some club member has used up more bandwidth than all the other members combined, (something to do with torrenting TV shows while drinking). It seems I'm being blamed for it:)
 
cpx
I basically just wanted a RGB value conversion function:
static unsigned long GetRGBValue(int r, int g, int b)
{
     return ((r & 0xff) << 16) + ((g & 0xff) << 8) + (b & 0xff);
}

static const int COLOR_VALIDATE = GetRGBValue(0, 0, 255);
static const int COLOR_INVALID = GetRGBValue(255, 0, 0);
Isn't that much better than using '\' ugly slashes?
 
you're not returning a RGB value, you're returning an unsigned long
I'd expect GetRGBValue to get me a struct { r; g; b; }
@MartinJames eh? can't you prove that you're innocent? :D
 
@AlexM. Not without violating Occam's razor to an unbelievable extent, no:(
 
cpx
I think it is still an RGB value but in unsigned integer form.
 
11:29 AM
> public int getRGB()

Returns the RGB value representing the color in the default
seems java also calls it a RGB value
 
cpx
Oh, I forgot to add the most critical thing.
The inline keyword (except learned the fact that compiler doesn't care).
So, why do I still care?
 
unsigned long ColorRef(const Color& color) is what I called mine but don't take it as a proper example, it was pretty localized to Windows stuff
i.e. I was returning what was essentially COLORREF
 
cpx
I could just add windows.h and use their RGB macro but instead I decided to write a function.
83
Q: When are C++ macros beneficial?

MottiThe C preprocessor is justifiably feared and shunned by the C++ community. In-lined functions, consts and templates are usually a safer and superior alternative to a #define. The following macro: #define SUCCEEDED(hr) ((HRESULT)(hr) >= 0) is in no way superior to the type safe: inline bool ...

 
user1804599
11:47 AM
Oh GameFAQs has a new design.
 
user1804599
Last time I visited was like seven years ago.
 
12:11 PM
@Loopunroller fuck that, it translates the other way around in Polish
 
> Exclusive Interview with the Head of the 100 Person Team in Charge of Protecting Gabe Newell p4rgaming.com/…
> “We have killed people,” Hodges admitted, “It was in self-defense so it was all legal. And don’t ask me how many people we have killed. I’d estimate at least two hundred, but it’s hard to remember each of those faces. I will always remember our first kill though. Someone wanted a refund. Big mistake.”
 
:( I'm in kind of a mess here. My system: Windows 8.1, Intel Core i5 processor @ 1.70 GHz and a 3GB RAM
I need to find a copy of turbo C++ or an equivalent compiler to run on this machine.
 
yes
use dosbox
 
@AlexM.: Isn't that for Super Mario games?
 
12:22 PM
why not google and find out for yourself?
 
Anyone regularly getting blocked by CloudFlare?
 
:D done
@LoïcFaure-Lacroix: If that is a user then I am a future contender for that position.
 
@Nick You have 64-bit OS?
 
@MartinJames: Yes. Can I run turbo C++ on it ?
 
Define user, Any site I'm visiting that depends on cloudflare requires me to enter a captcha
 
cpx
12:24 PM
@Nick Why would you use it?
 
@Nick On i5? Prolly not very efficiently. Can you buy/ressurect an old machine to run it on?
 
@cpx: I have some code that was made in it.
@MartinJames: I am not richie rich...
 
um
dosbox
dosbox runs dos software
 
yes, ok, dosbox :D
 
this includes the Turbo * suite
 
12:26 PM
but getting a copy of Turbo C++ that isn't spam or malware is difficult.
 
I have an old development box with Pentium III that I use for such stuff, (though I try very hard to avoid it:). DosBox etc. work but painfully slowly.
Also, if it's a GUI program...
 
I noticed no slowdowns in turbo asm or w/e I used years ago
in dosbox
if it's a gui program you make a win 95 vm :A
 
It's a very very very basic program. Like "Hello World" type. No GUI there.
 
Running 16-bit code in a VM on a 64-bit host is also painfully slow.
 
12:29 PM
@cpx: Jesus wow!
 
@MartinJames I'm sure he'll be completely affected by it
he probably needs it for school
> age 17
> turbo C++
get a dedicated pentium 3 machine to do your homework on :D
 
@AlexM. : Indeed :D You are very understanding ... and a bit stalker-ish but very understanding.
 
well, the info you gave there is public :P
 
Indeed it is :D
(that says something about society, doesn't it)
 
I just like to open the profiles of people here and see what questions/answers they posted and whatever it is that they want to link to on their profiles
 
12:33 PM
@AlexM. I need to rewrite and debug some code for tommorow. I don't have time (nor money) to find/get a new system
 
yes, either dosbox or a windows 95 vm will work well for that :)
 
First time I tried to run a legacy 16-bit C build in VMware on my 64-bit i7, I thought the compiler had hung. In despair, I went for a coffee. 5 minutes or so later, when I got back to my box, I noticed that the first unit had compiled OK:(
 
@AlexM. I'm going to first try out @cpx 's solution to my problem. I just installed dosbox but I can't find a non-malware version of the turbo c++ I need
8 mins ago, by Nick
but getting a copy of Turbo C++ that isn't spam or malware is difficult.
 
doesn't your school provide compilers?
@Nick his solution is probably the easiest way to get turbo c++ to run in dosbox, so yeah, I'd do that too
> so we have developed the emulated version of the same TurboC compiler within an environment called DosBoX which works on all OS’s Fullscreen
 
@AlexM. : My textbook had a code::blocks CD attached with it. But it was a CD... and I have a VAIO netbook... which doesn't have a CD drive.
 
12:38 PM
@MartinJames shouldn't the VM thingy have some optimizations in place for that?
sounds really weird
 
@AlexM. Yes, and annoying. That's when I started offloading such stuff to my old P3 box.
 
@AlexM. So basically, your answer is what led to the 4.0 version. Cool. You should give yourself a pat on the back.
@MartinJames: What do you use Vim for?
 
@Nick Nothing, except for cleaning bathroom fittings.
 
Was this me being rickrolled? pbs.twimg.com/media/B1Zd1LkIgAAIDwt.jpg:large
 
@MartinJames: Me too. (Also, isn't Vim some kind of Notepad++ sort of thing?)
 
12:47 PM
http://borlandc.org/download-turbo-c-3-0-for-windows-7-windows-8-and-windows-xp/ that was a 10 second google.
Mmm. Is that a rogue site?
 
@Nick Yes. It's a throwback to the 1970's that's been polished a bit.
 
s/bit/lot
 
@sehe:
12 mins ago, by Nick
8 mins ago, by Nick
but getting a copy of Turbo C++ that isn't spam or malware is difficult.
hehe, commentception.
@sehe: Also, yes, you were rickrolled :D
 
I hope there will be a way to get dungeon lords to run on win 8 and my gpu
 
@Nick so, how was it difficult? I have it running, and I even installed Wine first
 
12:51 PM
because if not, a dedicated old machine is the only way out
maybe I could get my parents a smaller and newer PC, and ask them to give me back my old Pentium D box
 
@sehe: O_O ... master. I kneel before you.
Well anyhow, I have it running too. Now, I need to copy paste my code into it (good heavens, it's not what you think)
Oh wait... dosbox .../facepalm/
 
now, if only you installed dosbox and ran turbo c in it like I told you at first
 
 
@AlexM. : I have both DosBox and the version from @sehe 's link ... I just don't know how to do 1+1
The install file of the version isn't supported on my system :(
(yeah, which is why i need dosbox, lol)
@sehe: Sticks and stones may break my bones but screenshots will never .... oh no wait, yes, I've broken down and am now in foetal position.
 
> Mount A: /tmp/TurboC
Mount C: /tmp
A:\install.exe
 

« first day (1478 days earlier)      last day (3469 days later) »