Yes it is valid C, but the behavior is implementation defined which is somehow worse.
Posts made by delta5341
-
RE: Bad casting choice
-
RE: The things people do for money...
As someone who is blissfully unaware of what the AGPL is exactly, can I get a quick rundown on how the AGPL is worse that the GPLv3. I need to know how fast I need to run away from any project using it.
-
RE: More Java installer crap
Rule one with java, always get the installer from this page <a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html>get the installer from this page.
(by the way, that magnificent job of overlaying white background labels on top of a grey dialog is Oracle's all the way - it's not an artefact of the screen-grab) It looks like you have your DPI set larger than normal. It's amazing how many companies don't bother testing for that. Or do it in a half-assed way (like Chrome's "we only do 100% or 200% DPI, so if you set it to 150% we'll make it fucking huge!"*) Or go out of their way to break it entirely, like Steam used to do. (You still can't fucking change the font size in Steam IM windows!!!!! It's been a DECADE NOW!) *) To be fair to Chrome, they did fix it in a reasonable amount of time once 13" 1080p laptops like mine hit the market. It still brings out the, "you mean you didn't have DPI scaling at all from fucking version ONE!?!?!" shock and surprise, though. Do people writing software even USE computers? How could you be a web browser programmer and not know that the DPI can change? Fuck, CSS pretty much RELIES on that! /rant
I cannot agree more with this rant with the addition of buttons and options getting cut off because my DPI is at 125%.
-
RE: It seems like the only software we ever talk about is Steam, Go, and Firefox... so here's Steam
Using Blakeyrats numbers he has 587 games+individual pieces of DLC tied to his steam account, he has 399 games + the few odd pieces of dlc that are treated as a game and he actually has access to 347 games at this moment.
The WTF is that steam treats a piece of DLC as a game for the total on the profile page.
-
RE: While we're on the subject of Steam glitches...
The section is called All Software and all the sections are working right for me. The OP's issue might be the big picture beta, a corrupt Clientregistry.blob file or a corrupt AppUpdateStats.blob file.
-
RE: Pick your own, but don't go to the source
Well, it almost crashed chromium,I closed out before it did, but I was able to look at the source by saving the page. It is 133218 lines long of which, if I counted right, about 131075 of those lines is a block of newlines and spaces. So about 98.4% of the source is whitespace.
-
RE: I am on the ground I am on the ground I am on the ground I am on the ground HEY LISTEN
I have nothing against the guy and the amount of money he's made. It's things like trying to use a HD texture pack requires a mod to look right and possibly bring the game to a crawl depending on how big it is, when other games deal with it just fine are an issue. Also crashing with an out of memory error when 32 bit java is used on an 64 bit OS With the rendering distance set to max should no happen.
-
RE: I am on the ground I am on the ground I am on the ground I am on the ground HEY LISTEN
Notch does not seem to be the sharpest tool in the shed with regards to both graphics code and network code.
-
RE: I am on the ground I am on the ground I am on the ground I am on the ground HEY LISTEN
I'm going to blame Notch for that, you can always blame Notch or Java for a Minecraft WTF. The reasoning is a shitty attempt at trying to detect flight so that server can kick the player off if no flight is turned on.
-
RE: If an error message falls in a forest...
The only real reason I can see allowing the Console class in a DLL is because the only way to get stdout, stderr, and stdin is through the Console class.
-
RE: Believing in booleans
@rstinejr said:
Dude, if you have to trawl thru the code to know that in Java or C#, foo is a boolean when you see
if (foo)
FTFY. Through the use of implicit conversion operators, foo might not be a boolean in C#
-
RE: Javascript is to Java as JScript is to J?
@blakeyrat said:
Pretty much all the complaints I have against Java are the JVM.
I would extend that statement to make sure that it included how the JVM influenced the language, but yes, the JVM is the worst part of java. -
RE: Javascript is to Java as JScript is to J?
What I call the bad way is immediate mode and display lists. The rest I can understand wanting to use but I also see why they would want to remove it.
As for the issue of performance, I agree. All drivers suck, they just suck in different ways.
-
RE: Javascript is to Java as JScript is to J?
@blakeyrat said:
It's not too difficult to find/write a translation layer to spit out DirectX on Windows, and OpenGL everywhere else-- the challenge there is getting your OpenGL looking decent when it's competing with all the nice shit in DirectX 11. That's what a ton of game companies do, even for PS3 games.
fire2k is right, though, I doubt Minecraft's doing anything where a difference in the two APIs would show up on screen.
There is near feature parity between opengl 4.2 and directx 11 so you could write a wrapper targeting both. The major issue with opengl as that there is a lot of cruft and bad ways of doing things in the api that the khronos group would like to get rid of but cannot for various reasons. Hell, if minecraft had to use something that had to follow the DirectX way of doing things it would be much faster.
-
RE: Javascript is to Java as JScript is to J?
As much as I hate java, I cannot blame it on the shitty graphics and overall slowness of Minecraft. No, the blame goes to the man behind Minecraft,Notch, and his horrible code and a lack of understanding of how opengl works.
-
RE: Just another day at Bethesda
@Xyro said:
@dhromed said:
Imgur. There is a firefox/chrome addon which allows you to rehost with two clicks and allows hotlinking.You are the absolute worst gif linker of all time.
Fine, you find me a easy server from which I can hotlink. -
RE: Sometimes checking for NULL pointers is a mistake (NVidia CUDA).
How the fuck did you figure that out.
-
RE: Posting on the Something Awful Forums Costs $9.95???
You're right in that it cost $10 to post on Something Awful.
The reason SA charges a $10 one time fee to post is too keep those who do not get it out of the forums.
-
RE: Skyrim is weird and confusing?
@blakeyrat said:
Edit: BTW, it's worth noting that that particular book is carried-forward from Oblivion, and may have been in Morrowind as well. So... if your complaint hinges on the book, then your statement that Oblivion had nothing misogynistic is plain wrong.
the book is a carry over of Morrowind. In Oblivion you can find it in the first edition bookstore in the imperial city market district. Morrowind has a the same book under a different title, The Annotated Anuad. -
RE: Skyrim is weird and confusing?
According to the lore, kind of. They are the result of an ancient human race breeding with an ancient elvish race, of which the elvish traits have been watered down from breeding with other human races. The are still treated as a human race.
-
RE: Skyrim is weird and confusing?
@Weng said:
@blakeyrat said:
Anyway, there are no humans in Elder Scrolls. Do you mean Imperials? Or Nords? Or Redguard? Those are the human-ish races.
Pedantic dickweedery. They may as well be called "English" "Scandinavian" and "Black".
Time to for some more pedantic dickweedery. There is another human-ish race called the Brenton which have a closer parallel to the English than the Imperials. -
RE: Sometimes I'm forced to agree with Blakey
@Weng said:
Then you used the older UI. Foobar2000 0.9.5 was released late 2007, early 2008.@delta534 said:
@Weng said:
It was probably circa 2003 when I tried to use it.Through the godfuckdamn roof if it's the same as when I last used it.
There was a UI change between 0.9.4 and 0.9.5. -
RE: Sometimes I'm forced to agree with Blakey
@Weng said:
Through the godfuckdamn roof if it's the same as when I last used it.
There was a UI change between 0.9.4 and 0.9.5. -
RE: Sometimes I'm forced to agree with Blakey
Here is a question, where does foobar2000 fall under the UI wtf scale.
-
RE: Using HLSL shaders in a WinForms app
@blakeyrat said:
1) Any modern OS almost requires a GPU capable of running shaders
I'll give you that, though I was thinking more about old xp boxes than servers.
2) For situations in which the GPU is unavailable (remote desktop, webex, etc) shaders can easily, easily be executed by the CPU with a minimum of code (which is how I built my "shader"-using desktop wallpaper maker) -
RE: Using HLSL shaders in a WinForms app
Using the gpu for computations has taken off in the scientific and academic realm, so there is hope it eventually comes to the desktop.
I think the reasons most things do not take advantage of shaders are: it is cumbersome and/or slow to read back pixels from an image, most programmers are not used to how shaders work and there is the issue of not every computer having a good gpu to take advantage of.
-
RE: Using HLSL shaders in a WinForms app
God damn it, I should have looked at the docs more. The bright mind at microsoft who thought it would be a good idea to prevent people from passing in uncompiled hlsl in C# can go screw himself or herself. I don't want to download the directx sdk just to use shaders in WPF.
-
RE: All those monkeys banging away on their keyboards and you picked the wrong one
@blakeyrat said:
There are two types of people in this world:
1) "ATI drivers have always been crap, nVidia stuff works pretty well and always has" people, and
2) "nVidia drivers have always been crap, ATI stuff works pretty well and always has" peopleThey can't both be correct. So I just split the difference, assume that both ATI and nVidia suck, and attribute the rest to placebo effect/lack of familiarity.
Don't forget attributing stuff to the driver that is really the fault of the hardware.
-
RE: Using HLSL shaders in a WinForms app
Based on my experience of attempting to write an effect plugin for paint.net, yes it is done on the cpu. There might be ways around it but I'm not sure. I blame winforms being a wrapper for the windows api.
-
RE: Using HLSL shaders in a WinForms app
Yes it is getting shittier in the name of cross platform compatibility. As for using a pixel shader in winforms, I have no idea on how to do it. Though I would not change it to an XNA game, I would change it to a WPF app. It has shaders as well. The class resides in System.Windows.Media.Effects.
-
RE: Linux/Unix/POSIX files
The reason a user would look into the roaming folder is because some stupid software is installed,with no user input, there and to do anything useful with it the user needs to get into the install directory.
-
RE: Any ideas on this one?
He did that already, and it seems to have gone away.
-
RE: Any ideas on this one?
You can click on the about button in the control panal app to show the version of java that is being used.
-
RE: Any ideas on this one?
I think he's using windows 7 so that is not needed.
-
RE: Any ideas on this one?
I'm trying to figure out if it can do that, it looks like it might not be able to do that. Fuck, I hate errors like this.
-
RE: Any ideas on this one?
I would see if you can install process explorer and see if it can help diagnose it. I would say its java though.
-
RE: Thunderbird 5
I should try to see if I could get thunderbird 5 set up for my gmail acounts. I tried once but had trouble, gave up and switched to windows mail.
-
RE: Router Turning Off When PC Is Also Off
It's more commonly know as a powerstrip here in the states.
-
RE: Oh how we laughed in those golden days, before ...
They are hard to define if they are recursive /sarcasm
I agree it could be anything and it is rude not to define acronyms even if the writer thinks that the reader would know it. -
RE: Oh how we laughed in those golden days, before ...
I'm guessing its high-level design.
-
RE: Oh how we laughed in those golden days, before ...
At least support IE 7,chrome and every other modern browser that is compatible with XP. The sooner IE 6 dies the better.
-
RE: Oh how we laughed in those golden days, before ...
@KattMan said:
Where is the problem?
It looks like it was written about five to ten years ago and he has to support IE 6. There is the problem. -
RE: Mozilla have lost their mind - Part 2
The nullptr keyword was added for clarity when calling overloaded functions and the like. In C++ unlike C null has to be defined as just 0. So when calling an overloaded function that either took some sort of pointer or a int with NULL, the int version would have been called.
-
RE: Perl Just Can't Compare
I don't do perl and it just looked like it might have been using floating point since floating point is the usual suspect when 2 comparisons that should be equal are not.
-
RE: Perl Just Can't Compare
I can assume value and max are both floating point numbers correct. If so then there is no WTF, and I would like you to spend some time reading about how floating point numbers are stored in memory and all the pitfalls about floating point numbers.
-
RE: Mozilla have lost their mind - Part 2
He expects us to have this "fundamental principles of software engineering" as if we were software engineers. On a personal note I'm still in college and am going down the computer science route.
-
RE: Mozilla have lost their mind - Part 2
@Mason Wheeler said:
@Sutherlands said:
and it carries a lot of baggage from C even though it's fixed the real problems behind them, (there is no good reason why any modern language should still need two different versions of the and and or operators, for example,)
Hardly game-breaking even if it were true, and the different versions do different things... one short-circuits and one doesn't. How are those two not needed?I don't think I've ever needed, or even seen an example of, code that requires that the evaluation of a boolean expression not short-circuit in order to run correctly. If you have code like that... I really can't imagine what you're doing but you're almost certainly doing something very very wrong. So I see no point in having a non-short-circuiting operator.
Oh for fucks sake, the non short-circuiting operator is for bit twiddling.
@Mason Wheeler said:
and the .NET framework it's based upon creates several baseline abstractions that you can't get beneath.
Example?The runtime, for one. Managed code, everything-as-objects, etc.
Explain what is wrong with the runtime,everything-as-objects and managed code.@Mason Wheeler said:
Remember that thing that was posted a few weeks ago on here about redefining string.Empty? A bug like that is literally impossible without a runtime that defines strings as something way more complicated than they need to be.
How is a string in C# more complicated than it needs to be?One, it's an object. Two, it's immutable. (Seriously, what idiot thought that was a good idea?) Three, an empty string != a null/unassigned string. That's just asking for all kinds of trouble. (Such as the example given here.)
1 Why should it matter 2. From my C++ background I agree here. 3. I can see the logic behind having an empty string being different than a null string. -
RE: Mozilla have lost their mind - Part 2
@Sutherlands said:
He is trying to convert us to the joys of Delphi and is throwing things out there on how it is better somehow. I am tempted to spend some time learning C++ template metaprogramming just to spite him. Now watch as he goes of on C++ next
Also, forgive me for not believing that Delphi is better at talking to C DLLs than C, based on someone who says "I really have no clue what it is or why it’s necessary. I’ve never had to deal with them before." Sounds like you found yourself an expert.
The "someone" was me; that's from my blog. And the "no clue what it is" is rhetoric; that should be apparent if you read the next paragraph, where it explains exactly what the .lib file is, why it's necessary on C, and why Delphi doesn't require it.
Then forgive me for not believing it based on you. Sounds like you found yourself an expert.
Also, thought we were talking about C#?