« first day (888 days earlier)      last day (4054 days later) » 

2:00 PM
-1
Q: can any one suggest me how to design hindi fonts from scratch using c as an array of hexadecimals?

user2198749i am present working on hindi fonts just like english ascii . i want to map english to hindi. problem is that there are lots of API in popular language hiding away the main procedure of bit level generation of each pixels.

Poor kid.
 
user1357851
no, nothing - mouse or keyboard
 
@Telkitty Oh - so stuft ;(
 
user1357851
Have the same issue with my iPhone app on Mac - it used to be okay. But ever since I have started doing my current app on IOS 6, things have taken turn for the worse :/
 
nooo, I lost 10 rep because some user was removed.
 
@Telkitty Ah - I begin to see a common factor...
 
user1357851
2:03 PM
@MartinJames yeah the current app :p
 
@bamboon Been done already. Some, (OK, one), other Lounger got much worse reploss.
 
I can imagine that.
 
@MartinJames no clue
@MartinJames suspecting graphics. though on reboot networking was... weird.
 
Xeo
Hmm, 75s auf Hard
 
system restore x 2 seems to have done it fo rnow
 
2:04 PM
@MartinJames I lost 31 (not sure where that 1 came from).
 
@LightnessRacesinOrbit look in the crashdump with !Analyze
that normally can give a you a clue
 
@Xeo lol "auf Hard"
 
@DogPlusPlus I don't know, I'm just an admin, I don't log in duh
 
@TonyTheLion cba
 
Xeo
2:06 PM
@R.MartinhoFernandes Woops
 
Yeah - crash dump analysis vs. occasional power button. No brainer.
 
@MartinJames I have a job to do and a Lounge to troll
9
Q: Is a declaration valid inside an if block with no actual block?

Lightness Races in OrbitIs the following code valid? If so, what is the scope of x? int main() { if (true) int x = 42; } My intuition says that there is no scope created by the if because no actual block ({}) follows it.

four downvotes now
 
Heh - I've had my laughs for today, anyway. @sehe losing 865 rep in milliseconds was hilarious:)
 
@LightnessRacesinOrbit Ow.
WTF
 
It has 1 downvote
Oh the question
 
2:11 PM
@CatPlusPlus Five.
 
I forget questions have votes
 
I think he meant "for" an object. — SuvP 13 secs ago
 
Xeo
Btw Cat, I think I can handle round-robin now on Harder. Yay.
 
@Xeo round robin on harder? wut?
 
2:13 PM
@Xeo Cool
I can almost do 40s on Hardest
 
@Zoidberg I like that too, but it's by no means "usual" anymore. What I see is: database layer contains simple entities (including relations, cascades, constraints), domain/business layer handles business logic (e.g. "BETWEEN -2 AND +2")
 
user1357851
I am having two glass of wine then I am off to bed. I bumped into this trailer: youtube.com/watch?v=yhz4A5BCMAA I can not but ask myself this profound question that I can not answer myself: why are the heroes so useless in superhero movies -it usually takes a bunch of good guys to defeat 1 bad guy.
 
@MartinJames Huh
 
Xeo
@CatPlusPlus Nice
 
@melak47 No, they are not talking in code about sex.
 
Xeo
2:14 PM
I didn't play much lately, though
Mostly at work for ~10mins
 
What's better to do at work
 
@CatPlusPlus what are you guys talking about
 
@R.MartinhoFernandes it's not just the feeling...
1
Q: Wiping votes on deletion of high-rep accounts

seheI was greeted by this screen just an hour ago: After a little bit of digging and conjecturing, I worked out that the user removed was user @llonesmiz. I dearly bemoan the loss of a great SO contributor, and my (near) lone companion in boost-spirit. I know he had personal reasons for deleting...

^ I'm breaking my habit of avoiding meta today
 
@melak47 Super Hexagon
 
@CatPlusPlus I guessed rightly, then. Mybe I should give it another chance, see if I can get it off the bottom rung of the 'piss-boring' ladder.
 
2:17 PM
@R.MartinhoFernandes I never talk about sex
 
@melak47 The only game the cat is good at.
 
That's my job
 
user1357851
Think about Loki in the avengers, the Joker in the dark knight, silva in skyfall. One bad guy, toy along with a bunch of useless good guys
 
Xeo
@MartinJames It's surprisingly addictive
 
enum Y U SO ANNOYING?
 
user1357851
2:18 PM
why good guys so useless (at least in movies)??
 
@EtiennedeMartel Pff
 
Mar 12 at 19:03, by Cat Plus Plus
We're officially the best room ever
Is this the most starred message ever?
 
Maybe
 
Xeo
17s on Hardest :<
 
@R.MartinhoFernandes 42 is the perfect star count
 
user1357851
2:20 PM
oops I just voted
 
Can't help. I tried to star it just, but I must have already done so.
 
Anyone ever try Killing Floor or CS:GO?
 
@ScottW That's ~93000000.... with 150 more zeroes... 93326215443944152681699238856266700490715968264381621468592963895217599993229915‌​608941463976156518286253697920827223758251185210916864000000000000000000000000L
 
just out of the blue
 
Xeo
Hmm... I notice I have two problems with "Hardest" - deciding which way to go, and the pattern with rotating three openings
Oh, yeah, and overshooting
 
@R.MartinhoFernandes the truest message ever
 
Xeo
Hm, I just noticed I lost 215 too
> -215 1 hour ago removed User was removed
 
Portal 2 was cool
 
deleting yourself
 
Xeo
2:23 PM
And I didn't repwhore today. Crap.
 
@Xeo Do you know which user that is?
 
-865. Holy crap. — LittleBobbyTables 1 min ago
Bobby Tables :)
 
Xeo
15
Q: Wiping votes on deletion of high-rep accounts

seheI was greeted by this screen just an hour ago: After a little bit of digging and conjecturing, I worked out that the user removed was user @llonesmiz. I dearly bemoan the loss of a great SO contributor, and my (near) lone companion in boost-spirit. I know he had personal reasons for deleting...

The same as there, I'd guess
 
@Xeo Yup. Guaranteed. You tag distribution matches the profile. This guy was great in boost, and meta programming
 
Xeo
I was going to ask you to provide link to the user's profile :|. — Back in a Flash 12 secs ago
Haha
 
2:26 PM
Lol found this again:
Feb 19 at 22:47, by sehe
Well. My persona on questions is getting a life of it's own. I don't even have to go there to make my comments:
Feb 19 at 22:47, by sehe
As sehe recently said: "You're hurting your potential to get quick & easy answers by leaving just enough code out to make this a puzzle." — llonesmiz 55 mins ago
 
It worries me when Amazon tells me that an introductory book on quantitative finance is frequently bought together with C++ Primer.
lololol
 
@R.MartinhoFernandes PHP script.
 
user1357851
LOL believe or not quant finance is related to C++. I know because I did the quant finance stuff.
 
@R.MartinhoFernandes next up: C++ noobs literally crash stock exchange
 
user1357851
2:31 PM
high freq trading does
 
user1357851
and they use either C++ or java
 
when do you use std::string.compare and when to use operator== on a std::string?
 
meh, the new Blizzard game is a f2p collectible card game
 
@melak47 Something like that already happened.
 
2:31 PM
@R.MartinhoFernandes figures :)
 
only use compare if you need to perform multiple comparisons and you need to micro-optimize this.
 
@TonyTheLion Compare gives different information.
 
@DeadMG is it a case sensitive comparison?
 
2 days ago, by Lightness Races in Orbit
@JerryCoffin not much of anything these days, I'm afraid
 
@TonyTheLion == when you want to know about equality, compare when you want to know, er, more about how they are not equal? idk :p
 
2:32 PM
Wait... so ... did I guess right after all ^ ?!?! :
Feb 7 at 14:43, by sehe
@LightnessRacesinOrbit How come you suddenly care about REPSSS again? Lost your job?
 
@Telkitty Meh. I'm sure youre right, but it generates a lot of annoying posts on SO about shaving uS off app latency in weird fashions.
 
@TonyTheLion Of course.
 
Whoa. +27 on the meta question in ~20 minutes.
Wasn't anticipating that
 
@sehe guess they're trying to give some rep back :3
 
@DeadMG that's just what I don't want
means I may have to use _stricmp instead
meh
 
2:35 PM
@melak47 well. I wasn't anticipating that :) But, I like the explanation
 
@TonyTheLion If you need case-insensitive comparison across ASCII, there's a Standard function for that. If you need case-insensitive comparison across Unicode, then cry in a corner/get a Unicode library.
 
@DeadMG If only there was something called Ogonek.
 
@sehe its a sensitive point for rephwores. :)
 
lol
 
@DeadMG lets just take ASCII
 
2:35 PM
31 now
 
@EtiennedeMartel If only it worked on the compiler used to target 90% of consumers.
 
also, I don't think ogonek implements collation at all, let alone case-insensitive.
 
@DeadMG I'm gonna need more actual stats before I can stop labeling that statement "fresh out of your ass".
 
@DeadMG ICU does, IIRC
 
2:37 PM
@sehe Indeed it does, although using ICU is hardly a happy fun time either.
@EtiennedeMartel I'm pretty sure that if you simply do a quick Google search, you will quickly find the relevant market shares.
 
what's the std function for case insensitive comparison for ASCII only strings then?
 
@DeadMG Hey, the burden of proof is on your shoulders.
 
@DeadMG Indulge me. I'm using the wrong google, apparently
 
user142019
My code works yay!
 
Whoa. A First time for everything :)
 
user142019
2:39 PM
It reads issues from a database and renders them to HTML. xD
 
@Zoidberg Is it in PHP?
 
user142019
No!
 
user142019
It's in Haskell and SQL. c:
 
@Zoidberg Woot. Just a second ago I tried haskell for the 100!. After 25 seconds of mucking about, I bailed and used Python. Again
 
@DeadMG Market share of Windows is not the datum you are looking for, Stormtrooper.
@DeadMG It uses the current locale, actually. Slightly better than ASCII.
 
user142019
2:41 PM
@sehe Calculating 100! takes 25 seconds? You suck.
 
@Zoidberg You do it with mental arithmetics? Whoa
 
user142019
daknok% time ghci                                                             ~
GHCi, version 7.4.2: haskell.org/ghc  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Prelude> product [1..100]
93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000
Prelude>
Leaving GHCi.
ghci  0,14s user 0,05s system 4% cpu 4,508 total
 
user142019
Four seconds on my machine!
 
@Zoidberg GMP?
Oh, well.
 
user142019
For big integers I think.
 
2:42 PM
@sehe So which was it? "Just a second ago", or "[more than 25] seconds ago"?
 
@Zoidberg You cheated. product is not classy. I wanted recursion with pattern match base case
 
user142019
@sehe but tail recursion. :(
 
@JerryCoffin 'just-a-second' is the ISO unit of subjective time
 
@R.MartinhoFernandes are you going to append [N]SFW to every link now?
 
2:45 PM
@R.MartinhoFernandes sdt.bz/25266 indicates that thirteen years ago, when there was still Borland and such, it was still 70-80%. I'm still looking.
 
Even STL wonders:
> Code using export may be theoretically-portable, but it is not actually-portable to the Big Dog compilers, VC and GCC. (Market share numbers would be fascinating - but my understanding is that VC is the most widely used Windows-targeting compiler, just as GCC is the most widely used Unix-targeting compiler.) -- Stephan T. Lavavej, Visual C++ Libraries Developer
 
$ ghci
Prelude> :m Data.Function
Prelude Data.Function> fix (\f n -> if n == 0 then 1 else n * f (n-1)) 100
93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000
Prelude Data.Function>
@sehe there you go, recursive version.
 
For the record, that last part? I was trying to type "hitbox".
 
@DeadMG Yeah, but it's no longer quick.
 
@R.MartinhoFernandes We all know that "90% share" is puppyspeak for "Me".
4
 
2:47 PM
@BartekBanachewicz Nah, it will wear out after a while.
 
@R.MartinhoFernandes Tis true. Well, I found the 70-80% rather quickly, and I don't think it's likely that VS's market share has gone down, as opposed to up.
 
@R.MartinhoFernandes whoa. Mine was gonna be the "Another junior Haskell programmer" version:
fac 0 = 1
fac n = n * fac (n-1)
The Evolution of a Haskell Programmer <-- hilarious and insighful BTW. and SFW
 
looks cromulent
 
(that one with fix computed instantly, btw)
 
@R.MartinhoFernandes of course
 
2:49 PM
I seriously doubt anybody really knows what compilers hold what market share -- and in fact, I'm not even sure exactly what you'd measure. Just for example, I currently have two different versions of gcc and one of clang installed -- but I undoubtedly use VC++ at least three times as much as the other three put together. If we just count installations, VC++ comes out as a minority, but that doesn't even come close to reflecting actual use.
 
$ time ghc -e 'Data.Function.fix (\f n -> if n == 0 then 1 else n * f (n-1)) 100'
93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000

real    0m0.125s
user    0m0.108s
sys     0m0.016s
$
Anyway, fix is awesome.
 
@JerryCoffin Currently, I'm actually using all three concurrently, strictly.
since I'm using VS to build the Wide compiler, Clang to compile relevant C++, and MinGW to link.
 
fix is black magic and sorcery
> playLocked = IAB.hasMaps();
I'm dumb
 
> fac n = product [1..n]
 
@sehe Oh wait, you meant 25 seconds of trying to write it?
 
2:53 PM
lol
 
My colleague here tells me it's possible to apply extension methods to delegate types. Uh.
It's not that surprising, actually.
 
@EtiennedeMartel Why wouldn't it?
 
I can't wait till tommorow. More sourcing to do
I am going to get tanked and have a good sleep
 
What you cannot do is where T : delegate, but if you have a specific type, like Func<T>, it works.
 
2:55 PM
But first my afternoon hot tubbing
 
@RolandSams England vs San Marino tonite on TV. Yes, it will be a crap game, but it's an excuse to start drinking early :)
 
You know some of you are very skilled
 
@R.MartinhoFernandes Yup. And, look: only 5 minutes in C++ (lol): http://liveworkspace.org/code/2vYsZf$1
 
@MartinJames everything below 6:0 would be embarrassing.
 
@MartinJames lol
 
2:57 PM
@RolandSams Nah - it's easy. Keep giving the bar staff money in exchange for beer.
 
@MartinJames soccer?
 
Also testing IAB is a damn pain in the ass
 
@RolandSams Kind of..
 
(Preempting questions that's in-app billing bullshit)
 
Darn LWS links are borked beyond repair in chat markdown
 
2:58 PM
@CatPlusPlus You should hardcode your credit card in the unit tests and use a live system.
 
Is it reasonably easy with C++ templates to make a template for automatic serialization/deserialization of classes to XML?
 
Maybe this sentence would be better with the two terms reversed I don't know
 
@Borgleader It is if you use Boost
 
@Borgleader You'd need compile-time reflection to make it really automatic.
 
@Borgleader No way to look at members.
 
2:59 PM
boost is great
 
@R.MartinhoFernandes Tsk, you don't use CCs directly
How else would Google collect that 90% tax
 
@R.MartinhoFernandes No, I mean, I'd tag the ones I want to serialize/load
 
although I passed on ASIO and used OpenSSL
 
@BartekBanachewicz you said you learned to program in C++ on your own ?
 
@Borgleader You could a long ways with something like KerrekSB's/STL's container pretty printer
 
2:59 PM
Boost::ASIO
 
lol, Steve Jobs.
 

« first day (888 days earlier)      last day (4054 days later) »