Slashdot Mirror


User: Gotebe

Gotebe's activity in the archive.

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

Comments · 28

  1. The problem with subsidies... on How Elon Musk's Growing Empire is Fueled By Government Subsidies · · Score: 2

    ... is that there's so many to choose from. Noam Chomsky even makes a pretty plausivle case that big business in US depends on the government $$$ since, like, forever. Without comparing subsidies and their spread over various industries, this article ranges from stating the obvious to a hit piece .

  2. Too one-sided for my taste on Mandriva CEO: Employee Lawsuits Put Us Out of Business · · Score: 2

    That's what you often get when you are tech company and you fire the founder (http://archive09.linux.com/feature/52897). Orat least, that's my bet: marketing and management was blowing money through unproductive attempts to grow the business without enough focus on a viable product in their target market. That said... A quick google shows dozens of articles repeating what the CEO said, which eerily smells like "often repeated lie becomes truth". :-)

  3. Re:Memory Leaks? on First Look At Firefox 3.0 Beta 2 · · Score: 1
    Virtual memory can't solve fragmentation problems.

    Example 1 (running out of memory): you have your OS on 32 bit hardware. That's 4GB of address space. Your program allocates 333MB, then 666MB, does that 4 times. Frees all 4 333MB blocks. That's 1.2GB. Asks for, say 400MB - not possible! Why? Because, in your address space, there's no block that big. You have free blocks at 0 to 333MB, 1000-1333MB etc. Virtual memory suddenly became "physical". Consequence: out of memory when there's memory.

    Example 2 (having big process working set although actual heap usage is small): you allocate small(ish) things on the heap. While doing that, your allocator asks for memory from the OS, but only from time to time, as it's expensive and granularity is lower (OS gives out memory "pages"). Imagine that for 100 smallish things you end up with 1 actual hop to the OS. Now, imagine you allocate 1000 things, with 10 hops to the OS (you get 10 pages). Now, you deallocate thing 1 to 99, thing 101 to 199 etc. Although you are using only 10 smallish things, your OS reserves memory for you as if you still have 1000. Only when you free thing 0, you can give your first block (page) back to OS. Consequence: a lot of swapping for little memory used (because OS knows only of it's own blocks (pages), it swaps per these blocks).

    Conclusion: depending on memory allocation profile of the program, fragmentation can become a big problem. More so if consumption goes closer to available address space.

  4. gPhone!? on Google Phone Rumors Solidifying · · Score: 1

    With that name, it won't sell if it doesn't vibrate.

  5. On the level with MFC et. al. on Open.NET — .NET Libraries Go "Open Source" · · Score: 1

    What we get from this is the ability to verify how something works in .NET. We had that from other MS libs long time ago. To me, that's the biggest news. So, MS probably thinks .NET code is good enough to be looked at now.

  6. Conflicting approaches on Russia Tests World's Largest Non-Nuclear Bomb · · Score: 1

    The new bomb carries fewer explosives than the U.S. device, while the temperature at the center of its blast is twice as high and the area of damage much greater, Perviy Kanal said. ``This has made it possible to reduce the accuracy requirements and made it cheaper,...''
    First part - nice job. Second part - classical Russian approach, especially "accuracy requirements"!
  7. Re:US? on French Threat To ID Secret US Satellites · · Score: 1

    They are hoping they are not US[insert evil empire name] satellites, period. There, fixed that for ya!

  8. Re:Another reason.. on Microsoft Ties Windows Live Services to OS · · Score: 1

    It's actually the clearest evidence of Microsoft's monopoly we have.
    Let's not forget that being a monopoly is just fine by itself. Is stops being fine when certain behavior is encountered (which happened with MS, but that's another story).
  9. Spokesman's doublespeak on What Vista SP1 Means To You · · Score: 1

    Frankly, the world wasn't 100 percent ready for Windows Vista Frankly, Windows Vista wasn't 100 percent ready for the world. There, fixed that for him!
  10. Re:Looks good, but a little hampered by C++ on Intel Releases Threading Library Under GPL 2 · · Score: 1

    In java I can make an anonymous subclass within function scope.
    Would this work even if the code is executed in another thread's context (i.e. another stack). I am asking because I can't see how anything function-scoped that, accesses stack objects of that function can work once function has finished, which is the case here?
  11. Steady, boy! on New Hack Exploits Common Programming Error · · Score: 1

    So... You never had a correct unit test that fail to find a problem in its unit after the change was made in seemingly unrelated piece of code? You program C++ and deal with str(n)cpy? What kind of 80's C++ is that? You only need to deal with type correctness, never with integral overflows? Get off the high horse, man!

  12. Re:c ? really? on Top 10 Dead (or Dying) Computer Skills · · Score: 1

    C produces fast, tight code that so far, C++ and C# can't even begin to match.
    (Not speaking about C#) C and C++ are the same. If needed, you can always drop down from C++ to C and, in a C++ source, do stuff the way you'd do in C and get same fast, tight code. This statement has no merit.

    I'm all about recognizing that a few lines of C++ are very convenient, but the cost of those lines is still too high to even think about abandoning C code for performance applications.
    I gather you don't really profile your code. If you did, chances are, you'd find that bottlenecks are in some spots and that all C in the world doesn't matter compared to the cost there.

    (like Microsoft's treeview, to name one)
    What this has to do with anything? The tree view, that is a part of win32 shell common controls, is a C API (like the rest of Win32). WTF!?
  13. Re:Raising the bar on Top 10 Dead (or Dying) Computer Skills · · Score: 1

    I respectfully disagree. C is enough for that. I, for one, couldn't grasp assembly well until I got hold of C. And couldn't grok C until I grok Pascal. Not very smart, am I? ;-) You need assembly to understand WTF the compiler is doing after you, though. And to get the big picture of small things in your processor.

  14. Re:Properly written software... on Top 15 Free SQL Injection Scanners · · Score: 1

    Don't use dynamic SQL, use stored procs. Ah, you mean like this: EXEC MyProc "UserInputHere". Yeah, that helps, especially if UserInputHere == "Nevermind""; drop table X". Coming from MS background, I reckon? Dynamic SQL and stored procs are largely orthogonal (using one doesn't preclude using the other).

  15. Re:Why is this needed at all? on Top 15 Free SQL Injection Scanners · · Score: 1

    I wrote a little test script which inserts 300000 rows in MySQL Do you know if your DB of choice has a cache of prepared statements (many do)? If no, what did you expect?

  16. Erm... Money? on Conservative Sarkozy Wins Presidency of France · · Score: 1

    THAT is surely why they were moving to the country and what makes that country attractive in the first place, no? Money is why they were moving to the country. Culture and society, my ass.
  17. Re:The healthcare market has only one impediment. on Can Technology Fix the Health Care System? · · Score: 1

    "and pay them cash (they are MUCH cheaper paying cash"

    Pray, explain why is that? There is one major reason one requests cash payment, and that is tax evasion. Is part of your advice to help others do it?

  18. Re:Which university is that? on Bjarne Stroustrup on the Problems With Programming · · Score: 1

    "What, I ask you, is the point of that?"

    Regarding algorithms... If we assume nobody is stupid, students are going to download code and prof is going to know they are doing it. He can't know what is downloaded from internet and what isn't by only reading the text. Today, prof's best bet in such a situation is an oral exam.

    Also, knowing how to code an algorithm is +- useless. What is usefull is understanding it without a language context, and more importantly, its tradeoffs in a given situation.

    Coding it? Why? Only to prove to yourself that you can do it! I did it when I was younger.

    Regarding coding techniques (your example: recursion), this can be shown/asked through an assignment. Prof needs to invent a new recursion/whatever example for each generation of students to avoid downloading. This may be feasible.

  19. I just hope... on Microsoft's Charles Simonyi to be 1st Nerd in Space · · Score: 1

    ... Russians didn't have to rewrite their code to Hungarian notation before he steps in!

  20. Re:Dbus for Windows? on Common Interfaces for Gnome and KDE Released · · Score: 1

    "Corba is a nasty nightmare that makes integration difficult and ole and com+ are much easier to use."

    Hm... Corba isn't such big a nightmare if you don't cross ORBs. You don't cross COM implementations with Windows, do you? If you did, it would probably have been a different story altogether.

    I work with COM on a daily basis, not so much so with CORBA, an I feel that NOTHING is easy there. The second you step out of what you can do with VB6, (D)COM(+) is full of workaround/"special case" APIs, marshalling support is a demployment burden (not big, but still), multithreading is overly complex etc. I think I know my shit there and (D)COM(+) doesn't seem great from where I stand. It IS easy if you are stupid VB6/.net client, but guess what? That's as easy if you are a CORBA client as well.

    "Infact iwth vb.net you can create simple gui apps in a matter of minutes."

    In fact, you can create simple GUI apps with IDEA/NetBeans/Kylix/Code::Blocks in minutes. What you may be saying is that Visual Studio / .NET framework combo is powerfull. This is true. On the Linux side, I guess much energy is wasted on multitude of tools that are lacking. But, that's Linux for you.

  21. Gist of tFINEa on China vs U.S. in an 'Internet Race' · · Score: 1

    Oh, shit, there's too many of us for available addresses in IPv4! Ok, let's organize to use IPv6. Seriously, "Internet race"!? Given potential Chinese growth and sheer numbers invloved, they'd be stupid not to do it.

  22. Re:But healthcare doesn't make value..... on The Engine of US Jobs · · Score: 2, Insightful

    >Healthcare is a service industry, and if selling services is a valid business model, then healthcare is a valid business model.

    I am not convinced... It is OK if healthcare is being used to "maintain" people (whose workforce is being used then to add value). Currently, it's more about "fixing" people, so it's in the land of the "broken window" fallacy.

  23. Re:Answer: Responsible Journalism on Google News, Censorship or Responsible Journalism? · · Score: 1

    +1 (after reading parts of http://www.newmediajournal.us/staff/peck/05102006. htm). Clearly hate speech to me.

  24. Re:Quick Fix, Instant-Oatmeal One-Hour photo answe on 'No Quick Fix' From Nuclear Power · · Score: 1
    "start using Europe's incredible public transportation" Bwaaaaahahahahaha.... Mod the parent funny!

    (I live in Belgium)

    Regarding the public transport in here, (I don't think it's much different elsewhere in EU)... It still needs development to beat car commuting. It hurts me inside to drive alone in the car to work (I do ~70 km per day of commute), but public transport is still worse - not much cheaper, slower, and, obvoiusly, less comfortable. Yes, had I lived AND worked in the same big city, public transport would have been a viable alternative, but even then, only because streets are clogged with cars, not because busses/metro/trams are sooo great.

  25. The whole charade on Ultra-Stable Software Design in C++? · · Score: 1

    All of the above +... Use C xor C++. When must mix (OS or external library calls), wrap. C++, if not used with STL, boost, exceptions, SafeGuard, RAII, the whole sharade, sucks beyond repair. P.S. If you use STL and have exceptions disabled, leave the project right now or I'll shoot :-)).