Slashdot Mirror


User: Daniel+Hoffmann

Daniel+Hoffmann's activity in the archive.

Stories
0
Comments
482
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 482

  1. Re:Let me guess... on DirectX 12 Promises Lower-level Hardware Access On Multiple Platforms · · Score: 1

    The thing is, these new DX features (like tesselation) are usually not an integral part of the game visuals. So many games just have a flag (DX9 vs DX11 flag), they make some preprocessor definitions to have two binaries, one with the newer features turned on and one with them turned off. So the windows XP folks could still play all the games (most of them would not have good enough hardware to use the new features anyway). This put the burden on the devs though, while not that hard to make two binaries it would still mean that a lot more of QA had to be done.

  2. Re:English? on Facebook Introduces Hack: Statically Typed PHP · · Score: 1

    While I have gotten hot code replacement working in Java, it is nowhere near as good as web dev edit/save/reload cycle. You usually can not change method signatures or add new methods or classes without restarting the application. If your code is abnormal (reflection, dynamic class loading, multiple class loaders), it starts getting into the territory of "too bothersome to use". Also the debuggers get lost when debugging code that was replaced, which means that the edit/test/debug cycle gets broken. It is way better than nothing, but not nearly good enough.

    The edit/save/reload cycle does work for JSP (and JSF too I believe) files though. And interface code is the most important place to get fast modifications turnabouts.

    Also, no hot code replacement for Android dev. At all.

  3. Re:I kinda want more specific types. on Facebook Introduces Hack: Statically Typed PHP · · Score: 1

    This smells too much like architecture astronaut thinking. I see the logic of your examples for numbers, but I fail to see how that would be useful for other types. Like you said the times this would actually be useful could be solved by simple OO practices, which injects some boilercode true, but this thing is niche enough to not require its own magic semantic rules.

  4. Re:So many bugs on Facebook Introduces Hack: Statically Typed PHP · · Score: 1

    I have to maintain around half a million lines of Javascript code and while I agree with you that static typing would help a lot, it is not THAT bad if you have a proper architecture. Dynamic typing makes too easy to just hack stuff on top of the architecture, if you don't have the discipline your project is sure to be doomed.

  5. Re:English? on Facebook Introduces Hack: Statically Typed PHP · · Score: 1

    Meh, Java does all this closure thing better

    Button= new Button(new ButtonListener() {
                          @Override
                          void clickEventListener() {
                                        System.out.println("You clicked the button! All in only 6 lines of code! The current value of the parent class is: " + Parentclass.this.toString());
                          }
              });

    I specially like how you need to say Parentclass.this to get the reference to the parent class, so elegant!

    Also I have never found any use for co-routines in any language/platform that provides threads. Ever. I only used it a couple times in Lua because it does not have threads (not without calling platform-specific C code).

  6. Re:CSS variables? on Firefox 29 Beta Arrives With UI Overhaul And CSS3 Variables · · Score: 1

    They had to go and make a whole new standard though right? They couldn't just implement LESS in the browser...

  7. Re:New UI? on Firefox 29 Beta Arrives With UI Overhaul And CSS3 Variables · · Score: 1

    Change "Mozilla" to Opera and you got the same exact opinion as I do.

  8. Wait, PHP had no lexical scoped closures? on Facebook Introduces Hack: Statically Typed PHP · · Score: 1

    Really? WHAT YEAR IS THIS?

  9. Re:Tried Android Studio the other day on Google Android Studio Vs. Eclipse: Which Fits Your Needs? · · Score: 1

    Try increasing the JVM memory (-Xms in the init parameters I believe). Ironically I used to have this exact same problem in eclipse, I can't tell where to set those parameters in IntelliJ though.

  10. Re:Not all C libraries release the GIL on Python 3.4 Released · · Score: 1

    I was not aware the library needed to explicitly release the GIL. I thought that any C call would release the GIL.

  11. Re:Too little, too late on Java 8 Officially Released · · Score: 1

    Explain calmly what Turing Complete means and then say you can do "everything" in algol too!

  12. Re:It's A Shame on GOG.com To Add Linux Support · · Score: 1

    A bunch of IBM products are HELL to install. I never installed DB2 myself, but I have used it and boy I would rather use pretty much any other database server.

  13. Re:It's A Shame on GOG.com To Add Linux Support · · Score: 1

    If you are lucky they support SUSE, if you are unlucky they support only Red Hat version X.

  14. Re:And it still has the GIL on Python 3.4 Released · · Score: 1

    If you call C code from python the GIL is released so it can run in parallel in normal python threads. Many of the libraries and most of the core of the language are written in C. How much parallelism that nets you depends on your application, but simply using python threads does provide some parallelism.

  15. Re:Paris had cars? on Paris Bans Half of All Cars On the Road · · Score: 1

    Also those little boats with the guy pushing it with a big stick in Venice. I bet they use that all the time.

  16. SSD on Measuring the Xbox One Against PCs With Titanfall · · Score: 1

    Man a game like titanfall is for the hardcore gamer, a hardcore gamer worth its salt has a SSD these days. Asking for 35GB of SSD space just for audio is ridiculous.

  17. Re: on Steam Controller Drops Touchscreen · · Score: 1

    Well yeah, that further reinforces my point. OEMs can not afford to sell at a loss (or very low profit margin) and expect to get their money back from game sales.

  18. Re: on Steam Controller Drops Touchscreen · · Score: 1

    OEMs can not afford to sell steam machines at a loss. Unless Valve cuts them some margin for steam sales to their devices, but imagine all the early adopters buying the cheap pcs and formatting them (so there would be no way for Valve to know that any steam sale was made from a dell steam machine).

  19. Re:Commenting code on Lies Programmers Tell Themselves · · Score: 1

    What? "good code rarely needs commenting" is absolutely true! The thing is, 80% of the code in big projects are arcane bugfixes and workaround limitations in APIs, this kind of code is almost impossible to be "good code".

  20. I will never on Lies Programmers Tell Themselves · · Score: 1

    I will never write another line of C++/Fortran/Perl/Prolog again in my life!

    Well at least for Prolog that is true.

  21. Re:And .. on 1GB of Google Drive Storage Now Costs Only $0.02 Per Month · · Score: 2

    Startup idea, GoogleDrive bittorrent client. Downloads stuff directly into Drive, then add streaming service for GoogleDrive.

  22. Re:The term of art is "obvious." on Apple Demands $40 Per Samsung Phone For 5 Software Patents · · Score: 2

    If Intel can license the x86 instruction set to AMD and AMD can license the x64 instruction set to Intel how come these guys can't do the same? Oh right, Ap$le (see what I did there?)

  23. Re:Is gaming on Linux actually going to take off? on Crytek Ports CRYENGINE To Linux Support Ahead of Steam Machines Launch · · Score: 1

    It might come with X and gnome, or whatever. But the SteamOS is actually the Big Picture mode which I assume is very portable since it runs on Windows/Linux/Mac. you might soon see the big picture in Android too.

  24. Re:Is gaming on Linux actually going to take off? on Crytek Ports CRYENGINE To Linux Support Ahead of Steam Machines Launch · · Score: 1

    Really, all you have to do is kick the X11 and all the craziness from the window managers and build your own to get Linux to be usable by the common folk. That is what Android and Steam OS are doing.

  25. Facebook bought the userbase on Google Chairman on WhatsApp: $19 Bn For 50 People? Good For Them! · · Score: 3, Insightful

    Just like Google bought Youtube for its userbase. They could have made Google Videos a lot better than Youtube, but the userbase would have taken years to migrate (if at all). The point is, being the first person in the party is a very good thing if you are a startup.