« first day (861 days earlier)      last day (4093 days later) » 

7:00 AM
something like this except not as shitty
 
Lawlsy lawsly
3 rectangles.
 
it was the first google result :(
 
This is one of the only chatrooms I enjoy visiting, I hope I don't have to quit; sharp people here
That's the best part of it
 
If you're doing rounded edges, it'll require 2 or 6 squares (depending on how much of a faggot you want to be),
 
> rounded edges
we're in 2013 yo.
Everything is a box now.
See: Windows 8
 
7:01 AM
Lol.
Then it's just 3 rectangles.
 
True
 
I did a lot fo basic polygon drawing with primitives.
I made a lot of routines for rounded edges, n-gons, stars, and other such things.
TIL: texture in HLSL means texture2D, no matter what you say.
I thought it was an agnostic texture type, but I guess not.
What a dumdum shader compiler.
 
the rectangle is supposed to be invisible, so chances are I don't even have to draw that. Just the "X" bit
 
...
Wow, then just two rectangles.
 
(I'm making a close button)
 
7:05 AM
Cmon man =[
 
Yeah I'm thinking shh
 
http://stackoverflow.com/q/15038039/1723893
 
lol
 
7:36 AM
@Mysticial hey, remind me again please. Is gcc or icc faster for y-cruncher?
 
Both about the same actually
Within 1%.
 
ok, interesting. Do you think that's by nature or because you anyway have a lot of hand optimizations?
 
ICC on Windows vs. GCC on Linux are within 1% of each other. Well within normal variation.
@bamboon Probably due to my hand optimizations.
Since I write the code in a way that makes it easy for the compiler to optimize.
When I benchmark the individual critical loops MSVC vs. GCC vs. ICC, there are some pretty big differences.
But no compiler wins or loses them all.
So in the end, it comes out relatively even for all 3 of them.
With ICC slightly ahead of MSVC for SSE. And MSVC slightly ahead for AVX.
GCC is somewhere in between.
 
aha, that's bizarre.
 
I found this device the stupidest idea ever: pcworld.com/article/2029034/…
$1000 plus for the web? Are you friggin kiddin me?
 
7:57 AM
sourceforge got a facelift.
 
they are probably loosing tons of thousands of users to github
 
probably
 
Good that sourceforge did that... but I'd say it's probably too late
(Good morning btw)
 
Not really.
A lot of people still use SourceForge, lol.
 
Well sure
But where do all the "new" ones go ?
 
8:11 AM
Is this a loaded question where the expected answer is "GitHub"?
Because I doubt any of us know the answer since we do not have that data.
Like for example, I didn't know people still used CodeProject in 2012 but hey, I guess they do.
 
I'm no seer. I am merely saying what I think based on what people I know do around me.
And I might very well be wrong.
But I left SourceForge for GitHub a few years ago mainly because of their crappy interface and they would have to offer something really interesting for me to wanting to go back.
 
SourceForge.net's Alexa rank is 162.
GitHub's is 214.
That's the only data I have
 
I may be wrong but that measures... the number of requests ?
A lot of popular projects are still on SourceForge, it's no surprise the site is still visited a lot.
 
The rank is calculated using a combination of average daily visitors to sourceforge.net and pageviews on sourceforge.net over the past 3 months. The site with the highest combination of visitors and pageviews is ranked #1
guess so
Either way I guess in theory the more views you have the more people you have that will register to your site.
 
@Rapptz: When I created my projects on SourceForge, it took something like 15 minutes to fill all the forms
On Github it takes 3 clicks
I suppose this has changed hopefully
But if that's still true, I wouldn't bet that a higher visitor rate means more subscriptions or projects creation.
 
8:25 AM
@ereOn eh
 
By the virtue that SourceForge has been around longer, has streamlined its interfaces, and also has support for multiple types of Source Control (Mercurial, Git, and the classic SVN), it's probably thought of as a more established place to put a serious project.
I see a lot less personal crap on SourceForge than I do on Bitbucket/Github
 
honestly I think these changes make a good rivalry against Github/Bitbucket
@ThePhD I suck yo :(
frames/close buttons too hard
 
Really?
 
yes
maybe I'm over thinking it
 
Your frame should be a single rectangle.
On top of that, you draw the Window contents.
And that's about it.
 
8:41 AM
yeah but how do I differentiate between parent and children objects?
 
?
 
i.e. drag the frame around and the children are static
that means they move along with the frame
 
bool ListensToTheirMother;
 
huh
@ThePhD bitbucket.org/Rapptz/dui you have access to this
 
for (auto& child : children ) { if ( child.ListensToTheirMother ) { /* position value is offset from parent */ } else { /* Rebellious fuckwit child goes where she pleases */ } }
 
8:44 AM
I think that implies using an "Any" class that can hold any object
 
Ideally, you would calculate the position on every update.
 
oy.. I kinda have that already made.
 
If there is no update called, you simply calculate it when needed.
 
Hello there, is anyone here knowledgeable in the area DirectX?
 
lol
@ThePhD What kind of magical heterogeneous container can I use to loop around? :)
 
8:46 AM
DUI::SexyBaseClass
std::vector<DUI::SexyBaseClass*> children;
 
the base class is literally there for inheritance only.
 
Then do some extra casting?
Make other base types. Check if its a button or if its positionable.
I dunno.
I'm probably giving you terrible advice.
 
I showed you the source :(
 
I'm not clicking through that. That takes effort. :c
 
Why are you so lazy lately
Hm.. I wonder.
nope.. doesn't work :(
my Any class sucks.
 
9:16 AM
What's in it?
 
nothing special, it just holds anything but you can't do anything with it.
int main() {
    A a;
    std::vector<Any> annies;
    annies.push_back("lol");
    annies.push_back(a);
    annies.push_back(1.343f);
}
see, useless.
though I do have a cast, just not very useful.
 
Any is not what you need.
You don't need Any. You need a base class, or interfaces, that define functionality that's common across all of your widgets/UI elements.
 
Well I have that
 
Okay. So just have a std::vector<BaseClass*> and work from there.
IMHO, BaseClass should be able to define its relationship with its parent.
 
how do you propose doing that?
 
9:23 AM
There's a bunch of different ways. Here is an example in C# with my utterly useless, sloppy rendition:
 
lmao
that is the best error I've ever seen.
 
morning folks
 
Can't e assed to click. :c
 
Just do it, it's beautiful.
 
@Rapptz The usual parlance is to have a 'model' that the values you want to store need to conform to -- so that you can then use them according to the model.
 
9:24 AM
@Rapptz is that yours?
 
@thecoshman yes
 
@Rapptz indtity theft initiated :P
 
All it has is my first name.
 
All the sloppy entities. :3c
 
@LucDanton You mean for the Any class?
 
9:25 AM
@Rapptz lol, I never said it was a good start :P
 
@ThePhD You didn't even see my code because you're "too lazy to" and you propose a solution without knowing the backend :( what the hell man.
 
@Rapptz No, for a class that wants to hold various kinds of values and make use of them. E.g. std::function<Sig> can hold anything as long as the value is invokable and compatible with Sig.
 
@Rapptz I went by description, bro.
 
Yeah I figured.
 
The class I posted above actually worked really well.
Parent/Child relationships were fantastically fluid and easily allowed me to create hundreds of thousands of bullet patterns and other fancy shit.
 
9:29 AM
there's a bunch of stuff there
 
You could probably ignore all of the properties.
The meat is near the bottom, in Update and Render and such, where it up-calculates and down-calculates its final rendering transform based on various parameters.
 
so you showed me this to say "make std::vector<Stencil> and try to make it work somehow"? o.o
 
Yeah pretty much. or std::vector<PositionableStencil> or something.
 
the Stencil holds the position of all objects actually
and the size.
 
That's all you need for a parent / child system, then.
YOu're basically good to go.
std::vector<Stencil*> chiledrne
 
mywindowframe.children.push_back ( &abutton );
When you call Render or Draw or Update on mywindowframe, have it call Render/Draw/Update on all its children, and make sure to update Parent information as well.
That way you can down-cascade transforms and all that fun shit.
 
Hold on, what the hell?
@ThePhD In C# you can make an Entity2D member in the Entity2D class?
wut or is that a pointer?
 
10:01 AM
@Rapptz Objects have reference semantics in C#.
 
0
Q: system("pause") clarification

IcyFlameWhen i use system("pause"), then a line "Press any key to continue..." shows up on the screen. This is iritating and makes reading the output quite cumbersome. Is there some way to stop this from coming?

 
10:17 AM
AAHAAHAHAHAHAHAAHAHA
@Bartek I am NOT "stucked in 1998". I have probably made more advanced 3D games then you have, I just don't rely on outdated, (made in 1998) dependencies. I use newer versions of OpenGL... Which do not blend well with these old headers anyways. — Mitch 8 hours ago
Aleeady made my morning
 
Xeo
> You've earned the badge. See your profile.
Sweet.
 
Zomg
I still dont have opengl badge...
 
Xeo
Only Johannes and myself with that badge, yet.
Though it's only the bronze one.
 
@Mitch I have no doubt you have made outstanding 3d games, but bragging it into discussion is just silly. Which especially shows on your "optimization" technique, which isn't even an opinion; it's plainly wrong. There are a lot of ways to improve perforance of this example, yet you've missed them all. Perhaphs you should come by to the chat, so we can settle this discussion there. — Bartek Banachewicz 2 mins ago
NOW WE WAIT GUYS
 
Xeo
"peroforance"
 
10:31 AM
Uh crap
I need a bt keyboard
Ok, time to get up and dig into coding
 
user1357851
time to start Android development for my current app
 
user142019
Hawking should be the new pope.
 
user142019
@Telkitty Scala, Clojure, Jython, JRuby or Erjang. Not Java.
 
I hope @Mitch will show us his "readable efficient fps in opengl and winapi"
 
user1357851
@Zoidberg Java is the 2nd coolest language ... beneath C++ :p
 
10:38 AM
@Telkitty No.
 
user142019
Java is the 2nd worst language after UML.
 
@BartekBanachewicz There we go again! :P
 
user142019
Real programmers use the best tool for the job. Java is never the best tool for the job. Hence, Java programmers are not real programmers.
 
Worst language designed
Because php is worst language, but iwasn't designed. It was born in hell
 
user142019
 
user142019
10:40 AM
The awesomeness is on a scale from C to Haskell and Java is beneith C.
 
user1357851
@BartekBanachewicz lol? definitely not lua :p
 
user142019
Always prefer Lua over Java for Android development.
 
For any development
 
@Zoidberg UML is not a programming language, and if we are letting any old language in, then I say American is the worst
@Telkitty if by cool you mean over hyped
 
user142019
There are tools that can run UML. :L
 
10:45 AM
Java is useful. You can't deny that. Many applications have been built using it. Many good ones for that matter.
 
@Zoidberg No. I dont want to know anything more
 
user1357851
@thecoshman I mean ease to use ... if you know C++ >_<
 
user142019
Who the fuck cares that it's useful.
 
user142019
C is also useful.
 
I'm not saying its the best language in the world
 
10:45 AM
@GamesBrainiac Name one.
 
user142019
It's the worst.
 
But, its still useful.
 
user142019
Doesn't mean you should ever use it.
 
@Telkitty c++ is not an easy language, the primary edge case is where things are consistent
 
user142019
10:46 AM
"Guns are useful I should use them to kill people."
 
Whatever java can do, scala, jython or jruby can do better
 
So I tried the following code on Clang stackoverflow.com/a/15039628/1381108 but it failed.
Any idea why?
 
@GamesBrainiac no, Java is used, being used does not make something useful
 
Replacing it with boost worked though
 
7
A: "Public APIs are forever: Only one chance to get it right"?

Justin CaveIt is generally true for any public API, yes. Once you expose an API to the public and people start to build applications that depend on that API, it becomes extremely difficult to change the API because doing so will break all those applications. That tends to be both a difficult technical pro...

> That tends to be both a difficult technical problem and a difficult technical problem.
lolwut
 
10:47 AM
@Rapptz Yes
 
Granted, it might be a bug with LWS's Clang.
 
@BartekBanachewicz Eclipse, IntelliJ IDEA, PyCharm, RubyMine even BluRay players use Java
 
user142019
@FredOverflow just release new versions of API and keep old versions alive problem solved.
 
user1357851
@thecoshman I didn't say it was ... but if you have already known C++, Java is fairly easy, thus my definition of 'cool'
 
@thecoshman It is useful. Perhaps not as powerful as C++ (or fuckwit for that matter). But its still quite useful.
 
10:47 AM
@BartekBanachewicz And that is?
 
@GamesBrainiac GUYS BREAKING NEWS : java is the language of choice fo java IDEs!!
@Rapptz Regex implementation sucking
 
user142019
Java is not easy.
 
damn it, why is it always impossible to get the last of the pancake batter to make a sensible sized pancake. It always ends up either being a huge monster that could feed an army or a tiny fart not much more then a few dribbles
 
user142019
Java is easy if you're a fucking noob
 
@BartekBanachewicz Python and Ruby are not made in Java.
@Zoidberg Its a lot easier than C++.
 
10:48 AM
Thank god
 
user142019
If you're not a fucking noob, Java is difficult because it decreases productivity by like 10000%.
 
@Telkitty so no, you do not mean 'cool' when you say 'cool
 
@Zoidberg C++ does so by 100000000000000000000%
:P
 
user142019
For noobs.
 
Im done zoidberg
 
10:49 AM
How can a language decrease productivity by more than 100%? Wouldn't that already mean full stop? :)
 
user142019
If you're a good programmer, C++ is fairly doable.
 
@Zoidberg Sounds like you want to fuck C++.
 
They are just hopeless
 
@FredOverflow Finally. The words of reason.
 
user142019
If you're a good programmer, Java is not doable because it's nothing but annoying as hell.
 
10:50 AM
@Zoidberg C++ is NOT adorable. Python is.
 
adorable?
 
@GamesBrainiac ask him if he is using java
 
C++ is cute.
 
user142019
doable.
 
user142019
Only Haskell and Erlang are adorable.
 
10:51 AM
Zoid, Zoider, Zoidest. When are you gonna release Zoiderlang? :)
2
@Zoidberg Practically every language has annoying rough edges.
 
user142019
@FredOverflow Java has only ~.
 
If you are a real programmer you will be able to overcome the low quality of Java and the code that is built in it to be able to successfully work with the language. I do not for a second pretend I enjoy working with Java, but I do work with it. This childish 'Java should never be used' crap is both tiring and ignoring the point that established code bases have to be maintained and thus Java, like it or not, is around for a while yet.
4
 
user142019
There is no reason to use Java.
 
user142019
There are always superior alternatives.
 
user142019
Without exception.
 
10:56 AM
Woken up by my neighbor's drill. ಠ_ಠ
 
user142019
Sounds like @Xeo.
 
When starting a project yes, you would be foolish to take Java. That still does not counter that Java is used and thus has to be maintained and worked with. Think of it like maintaining the sewers, some one has to get down into the shit to save everyone from drowning in it.
 
Xeo
@StackedCrooked Yay, welcome to the club
Except for me it's hammering.
 
It should be forbidden to make such annoying noises.
 

« first day (861 days earlier)      last day (4093 days later) »