« first day (1357 days earlier)      last day (3573 days later) » 

12:04 AM
guess I could have just gotten cygwin or something, really.
 
12:18 AM
a moment of silence
 
lol
 
Do you guys expect tribool x; to hold indeterminate or false?
Apparently Boost.Tribool stores false but indeterminate makes more sense to me.
 
nullables in C# default to null
so I think that's how I'd look at it too
 
@Rapptz i guess a point can be made for both false and indeterminate
 
the PS3 sure has a lot of titles available
 
12:24 AM
what does if(x) give with boost?
 
the only differences between Boost.Tribool and mine are indeterminate by default and constexpr.
so if(x) would only pass if x == true
 
tribool sounds so weird
 
In logic, a three-valued logic (also trivalent, ternary, trinary logic, or trilean, sometimes abbreviated 3VL) is any of several many-valued logic systems in which there are three truth values indicating true, false and some indeterminate third value. This is contrasted with the more commonly known bivalent logics (such as classical sentential or Boolean logic) which provide only for true and false. Conceptual form and basic ideas were initially created by Jan Ɓukasiewicz and C. I. Lewis. These were then re-formulated by Grigore Moisil in an axiomatic algebraic form, and also extended to...
well I'm keeping it as indeterminate :v
it makes more sense than false IMO
 
why isn't pip install working on ubuntu? Does that somehow not come installed?
 
seriously
just go back to windows and use cygwin or whatever
 
12:33 AM
Windows sucks.
 
6 hours ago, by Alex M.
> Lindsay Lohan sues over GTA V, saying a character is too similar to her
 
She must be on a permanent high from her drug abuse =/
@AlexM. Well damn
 
and mine was old too
6 hours ago, by Lightness Races in Orbit
@AlexM. old
yours is now, what, prehistoric
 
more like archaic
 
12:34 AM
Is she retarded lol
 
"We have excavated Borgleader's message about Lindsay Lohan today and we have reasons to believe we found an old settlement of Lindsay Lohan messages near the excavation site."
 
hth
(that's Kate Upton for those wondering)
 
thx, i needed that for... research
 
the game on the left has pretty good graphics
is that GTA VI?
 
12:48 AM
"did you like clone wars? You might also like clone wars." silly netflix
 
> Not like it changes anything, but we are obligated to inform you that we are using cookies - well, we just did. More info on cookies
CD Projekt's notification about cookies usage lol
 
> asked 45 mins ago
man is dead.
 
1:13 AM
this is dumb... all the other silverlight apps work except for netflix, the only one that matters
oh der I'm just an idiot, I was sending a Linux user agent that they were throwing an error for
 
linux agents suck
just use KGB
 
I just downloaded an addon for firefox, it worked pretty easily
 
1:35 AM
tests\utility.cpp:69:9: error: ambiguous overload for 'operator&&' (operand types are 'bool' and 'gears::utility::tribool')
./gears/utility/tribool.hpp:186:19: note: constexpr gears::utility::tribool gears::utility::operator&&(const gears::utility::tribool&, const gears::utility::tribool&)
wtf
just convert it :(
why do you do this overload resolution
 
blah, if you do a Curl command, and it gets a permission denied to use a command, how do you override it?
 
by using sudo
 
that didn't seem to work
guess I had to do sudo su
 
> from the company so concerned with the environment they keep recycling their only game
lmao
 
1:51 AM
where you'll compete against thousands of underaged racists!
 
and finally, the wonderful ubuntu is all set up and all is right with the world
 
@Crow Mint Linux is also very nice.
 
ubuntu just seemed the most popular
 
Mint is based on Ubuntu but feels a bit more polished. Ubuntu is for sure good though.
 
In what way? Display wise? For some reason the display seems a bit jumpy
 
2:07 AM
Good morning.
 
2:21 AM
@Crow User interface seems more polished.
 
it kinda pisses me off how so few editors have background transparency options
 
2:54 AM
Is it ok to ask help for question search here? I have difficulty finding web references or quotes in the standards about: C++ variable name and typedef name can overlap. thx
 
@user3701346 What do you mean by "can overlap"? Syntactically, typedef was originally (and still is, in the C standard) treated as a storage class, meaning the grammar for a typedef name was/is identical to the grammar for a variable name.
 
@JerryCoffin I meant that the name of a type alias, say " typedef double name_0; " can exist within the same scope of an identical name of an variable, say "double name_0;"
@JerryCoffin I recall that I read about it (that the type name and variable name will not collide) once in either a book/webpage/ or the standard long time ago. But I could not find this reference to confirm about it.
 
posted on July 04, 2014 by Herb Sutter

I just posted my isocpp.org trip report from the recently concluded ISO C++ meeting in Switzerland. We sent three documents out for ballot. This is the first time in ISO C++ history that we have sent three documents out for ballot out of a single meeting. Wow. See the full trip report for more details…Filed […]

2
 
Yay! Herb's back!
 
3:13 AM
@JerryCoffin Ignore the question. It just came back to me that the name isolation is about "label name" and "variable identifier".
 
@user3701346 Ok.
 
 
4:37 AM
I should probably feel bad for this, but I made a really oversimplified named parameters thing for macros.
 
@Rapptz Looks a lot shorter than Boost's
 
That's cause it is.
I saw Boost's and was pretty disgusted tbh lol
 
5:00 AM
I finally got around to putting text into my opengl program
all of the text is displayed in a single quad and I use gltexsubimage2d() to replace parts of the texture to make it consistent with the vector of char vectors
 
user3010322
So....
 
user3010322
You made raster text.
 
user3010322
Congratulations.
 
here's the for loops that do the changing I still haven't cleaned it up:
for(int i = 0; i < fonttable.size(); ++i)
{
for(int j = 0; j < fonttable[i].size(); ++j)
{
gl::TexSubImage2D(gl::TEXTURE_2D, 0, j*fontwidth, (tablerows - i - 1)*fontheight, fontwidth, fontheight,
gl::RGB, gl::UNSIGNED_BYTE, fonttexture.data() + (tablerows -1)*tablecolumns*fontcomponents*fontwidth*fontheight +
(fonttable[i][j]%tablecolumns)*fontcomponents*fontheight*fontwidth -
(fonttable[i][j]/tablerows)*tablecolumns*fontcomponents*fontheight*fontwidth);
}
}
that's all one function call, pretty wicked
 
user3010322
s/wicked/ugly FTFY
 
5:07 AM
each time I call texsubimage it replaces one character
and I've only tested it on a square table, I still need to test other rectangles
I'm a bit worried that when i switch it to a nonsquare character table it won't work because of the division and mod
I used this texture to get the fonts
except in the program I changed the data around so that each character gets 256x1 wide row instead of a 16x16, that way I could throw the pointer directly into the gltexsubimage()
i should have said put and not throw, throw having a special meaning
 
5:29 AM
@AaronKyleKilleen Can't you like use some library to do the job in stead, like Pango?
 
yes
probably
but coding this will help me become more familiar with texture manipulation
plus if I only call the update function relatively few times once every few seconds or something, who knows it might perform decently
plus I kind of like to understand the stuff that I'm using
but it will almost certainly look substantially worse than one of the libraries
Here's an image of what it looks like, pretty terrible
 
@AaronKyleKilleen You would be better off using some library to raster the text for your and then converting it to a texture... Don't do it letter by letter due to the spacing.
@AaronKyleKilleen I try to do no text in my OpenGL and instead mix in Qt for menus, and you can actually draw Qt's native stuff over OpenGL with transparency...
 
5:45 AM
yeah the spacing issues seem pretty substantial
 
Anybody built OpenCV 3 on Windows? I got the crap from git but I can't find the includes for the dlls..
@AaronKyleKilleen called kerning
 
user3010322
My triangle hit tests are still drawing parallelograms.
 
user3010322
Why do I even program anymore.
 
@ThePhD You would be done programming if it worked?
 
user3010322
Yes, and moving onto other shit.
 
5:49 AM
@ThePhD You could celebrate US independence day?
 
user3010322
I think I'd rather just keep trying to fix this...
 
@Mikhail i just looked at the wikipedia article on kerning and needless to say, no way in hell I'm dealing with that. Even if I wanted to, where would I even find the tables for that? I'd probably have to find a font and with tables and make my own bitmap with all the letters.
 
TTF has a kern table
 
@AaronKyleKilleen Lol, your supposed to use some library to render your text, don't do it yourself
 
which specifies how kerning should be handled
it's optional though
but from what I've seen a lot of fonts specify it
Not that I'm suggesting you do so :p
 
5:54 AM
TTF = true type font?
 
yes
 
@Mikhail I'm finding a lot of these libraries tend to have all of this unnecessary complex machinery in them
 
@AaronKyleKilleen Like kerning?
 
@AaronKyleKilleen That's because it's a complex topic.
 
@Mikhail well I haven't looked at the libraries for this specific function but I'm just talking in general.
 
5:57 AM
Dang why did I stay up doing this
I'm close to making that stupid macros named parameters thing work for any number of parameters
 
@AaronKyleKilleen In OpenCV 3.0 you draw a triangle by add(new Triangle) and then your done.
I got the OpenCV 3 from git, waited 3 hours while it built but I can't find the headers like gpu.hppwtf is this. Where are my headers!
 
@Mikhail QT practically has its own IDE
 
user3010322
"practically"
 
I've downloaded it before and all of these windows and bullshit started opening on my screen
no thankyou
 
6:00 AM
lol
 
plus then there's the frustration when one little thing doesn't work the way you want it to
like with glimg I was trying to load a compressed texture in a way very similar to how I loaded a bmp texture, I couldn't get it to work. I was going through the manual and basically whenever you want to pass a different piece of information you find a member of a member function of a member function of a member with its own type
so I'll just write my own function to load files and I'll create a class that only contains the data and several members that correspond to arguments that go into the opengl functions
 
Could someone lend a 10k+ dupe-vote here: stackoverflow.com/q/24540051/85371 , I wasted mine:
22 hours ago, by sehe
Oh nice. Insta-dupe-vote doesn't "work" if the OP forgets to add the or tags on his Spirit question.
 
It's not 10k rep
It's gold badge.
 
6:27 AM
Ok, I hate that I can't just give the function its arguments instead of a tuple of its arguments, but coliru.stacked-crooked.com/a/809153f9acc39d02
At least I know it's possible to have some kind of named parameters without too much hassle, not that I'd ever have a good reason to.
Then I guess there's the problem of it not working with just a regular call
 
7:20 AM
@Rapptz Sorry. That, yes
And thanks, I see
 
morning guys
 
If you're still running XP, you'll have to install the Ask toolbar manually as Java won't give you updates any longer http://www.zdnet.com/java-support-over-for-windows-xp-7000031226/
 
7:37 AM
lady gaga is so great
well, the first album at least
also I've passed pretty much every exam this semester
two small projects and one exam left for september
 
so many lies Bartek!
 
not bad
well fuck the exam I failed was this shitty security/crypto
he's grading terribly
 
Ell
I used pango/cairo to draw my text :3
 
congratulations on mastering savage low level primitives
btw guys
what do you think about it
 
Ell
It's less primitive than what our Aaron is using up there :P
 
7:42 AM
lenovo got rid of Caps Lock (that's some shit internet photo, not my pc)
apparently you have to press shift twice to enable it now
 
Ell
why did they do that? :S
 
because caps lock is useless?
 
Xeo
because nobody needs capslock
 
and on a small crammed 12" keyboard you could use hardware home/end
I would need to adjust to use my left hand for them, but seems nice overall
 
Finally! I have always hated CAPSLOCK.
 
7:59 AM
Oh great
So instead of aCCIDENTALLY ENABLING CAPS LOCK
me and type from the beginning of the lineyou can accidentally hit ho
Huge improvement :p
 
8:12 AM
@jalf if you randomly slam on the keyboard instead of writing, there's no help for you
btw I didn't know google can do that ^
it has to have some semantic extraction
ugh for gods sake
if I change image diagonal to inches, it shows me brightness in feet-Lumen
to get nits, I have to change to metres for everything
fucking poland giving screen diagonals in inches
 
8:29 AM
lol.
feet-Lumen :D
 
german police fined a romanian biker who only had an arm, for not riding with both hands on the bike's handle
but in the end they returned the fine
 
Ell
Good :P
 
what a fucking idea is to require two hands on the handle
I'm p comfortable riding not holding the handle :v
 
Ell
I think you should only be punished for consequences anyway :3
I wish I could understand german
 
8:36 AM
it was also because there was no brake on the right side of the handle, for obvious reasons, but the guy had a special break that could be triggered with the right foot
 
"special"?
rear-hub brakes are fairly common
 
haven't seen one in ages, especially one paired with a normal hand brake
 
low-end city bikes still have them; people are used to them
they are pretty safe because they offer nice power modulation
typical cheap v-brakes are rather hard to balance (And set up and maintain and w/e), and not everyone can afford hydraulic disc brakes or roller brakes
 
Morning.
 
Also not everyone wants handlebar looking like this:
 
8:40 AM
hi
 
Ell
Wait I thought you were talking about motorbikes :3
 
Oh, that reminds me I should fix my bike.
 
@BartekBanachewicz that looks hi tech
 
8:41 AM
incidentally, a lot of what I said still applies
 
Ell
Wow that makes the fine sound even more petty :P
 
I want to buy something like this to ride around town btwin.com/en/mtb-mountain-bikes/leisure-mtb/…
 
@AlexM. the thing on the top is suspension control
 
it's cheap
not sure I'd be willing to spend more money for short trips to the mall and back
 
@AlexM. the bike from the photo costs around 20x more than that :)
 
8:43 AM
@BartekBanachewicz It's quite useful for random rage text and SQL.
 
I've had the pleasure to ride it a few times.
 
@BartekBanachewicz makes sense
 
the frame and suspension are hellishly expensive in the higher-end models
 
one of my coworkers has a heavily modified mountain bike (I think, though it looks to me like a huge BMX)
 
a mountain bike looking like a BMX? o.O
 
8:44 AM
it looks like the cars in need for speed underground, but for bikes
 
I can't possibly imagine what category would such bike fit into
 
let me see if I can find something that looks similar
 
maybe Trial?
they sometimes have oversized risers to accomodate the small frames
but trial bikes aren't really mountain bikes :F
 
it's a dartmoor
I'm on the right tracks with my searches at least
 
dartmoor makes mostly dirt/street stuff IIRC
 
8:46 AM
it looks very similar to this one
a dartmoor hornet, the link says
 
that's a hardtail enduro/dirt hybrid
 
it looks pretty badass
 
8:49 AM
@AlexM. I (would) prefer this ^ :)
If I could afford it, that is
 
Is there something like std::is_same but for enum values? I'm trying to define a boolean trait for each of an enum value
 
> cyclesuck.com
 
Ell
xD
 
@BartekBanachewicz that looks even better
 
8:51 AM
I have built my bike from components so I couldn't find a photo online :F
there's no such bike on the planet.
 
are there any bikes without those obvious marks where the things get put together?
 
Component-Based Design
 
like in that pic
 
@AlexM. yes, carbon-fiber frames or hydroformed metal
 
that's more like it
those marks sort of make bikes appear cheap from my POV
 
8:53 AM
if you want a city bike, you want it to look cheap
 
how do you secure a bike in a city?
dat sync
 
@AlexM. by making it look cheap
 
@AlexM. You stop immigration
3
 
welp, I should be safe with a rockrider like I linked
almost everyone has that kind of bike around here
 
8:54 AM
and having a wire lock so you can lock it to something else whenever you leave it
 
because yeah, the store is very close, it's big and the bike is cheap
 
@jalf those foldable locks seemed more popular at least in berlin
 
And on that note, it's been over 2.5 years since my bike was last stolen!
 
a wire lock huh
 
the slinky-kind things can scratch your frame if you aren't careful (when unlocking)
 
8:55 AM
@jalf Your bike got stolen? I thought you lived in Denmark?!
 
am I a bad person for thinking about making my own wheel locking mechanism that I could remotely activate, right when the thief would find himself in front of running cars?
 
if you are thinking of murdering people, then probably yeah
 
well not exactly murdering
 
5 mins ago, by Bartek Banachewicz
if you want a city bike, you want it to look cheap
 
but seeing the thief suffer a bit would make me pick up my damaged bike with a smile
 
8:59 AM
scratches ftw
@ParkYoung-Bae Sure, we get lots of bikes stolen
It's a safe enough place if you're not a bike
 

« first day (1357 days earlier)      last day (3573 days later) »