Slashdot Mirror


User: DrXym

DrXym's activity in the archive.

Stories
0
Comments
9,024
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 9,024

  1. Re:wtf? on PHP vs. Node.js: the Battle For Developer Mind Share · · Score: 0
    Node.js is just a JS engine executable, a bunch of APIs and a package manager. It can be used server side but I use it mostly on command line for grunt, less, typescript, coffeescript, phantom etc - basically using node and npm as a convenient way to install and manage build dependencies. Some of these tools aren't written in JS but they are wrapped by modules. Of course someone could compile most C++/C code into JS these days via Emscripten.

    And yes it can be used to serve up content from a server although I wonder how much overlap it actually has with PHP. PHP is the P in LAMP and would suit data driven requests - where a server does database queries to produce the output. It's the database that determines how scalable the server is and whoever sets up the server would set their max clients accordingly.

    Node.js is event driven and could potentially server hundreds or thousands of concurrent requests assuming they had little overhead in and of themselves. But if you bound it to a backend database then chances are performance is no better than LAMP with its max clients.

    So I doubt the two would find themselves competing as solutions to the same problems. Either could serve out a basic website but beyond that it really depends what the site is doing which dictates the solution. Not that PHP or Node.js are the only solutions to problems by any stretch.

  2. Re:Only 30 Grand? on Chevrolet Unveils 200-Mile Bolt EV At Detroit Auto Show · · Score: 2, Insightful
    The price of oil is low because the US & Saudi Arabia are letting it below - probably as a means to fuck with Russia. It doesn't mean it's a permanent thing and it will rise by the simple expedient of scaling back production.

    Secondly, I think everyone recognises that electric vehicles are still relatively expensive but that doesn't mean they are without merit. They cost more upfront but significantly less to operate. In certain locations they also qualify for grants and reduced road charges / taxse. e.g. the London congestion charge doesn't apply to electric vehicles and there is no road tax for pure EVs in the UK. So it may well pay for itself as-is and as production quantities expand and infrastructure develops it is likely that the cost will reduce further.

  3. Re:I'm shocked, SHOCKED! on Tesla vs. Car Dealers: the Lobbyist Went Down To Georgia · · Score: 1

    I think you're wrong about what constitutes a money maker. All proprietary parts in your Tesla mean that they can charge whatever they like for a replacement safe in the knowledge that you're a captive audience. It's not like you can take it to a local mechanic either so they can screw you for the cost of labour too.

  4. Re:I'm shocked, SHOCKED! on Tesla vs. Car Dealers: the Lobbyist Went Down To Georgia · · Score: 2
    I don't accept that at all. Electric cars need servicing, new tyres, brakes, repairs, body work and spare parts. They need firmware updates, diagnostics, battery changes too. And of course there are second hand sales. There is plenty of business for an aftermarket to provide. It may well be that Tesla has to sell / licence the training, tools and software to do some of this but that doesn't stop dealers from offering the service.

    I expect this all boils down to the usual thing - money. Tesla has all the cake to itself and doesn't want to let others take a share of it. Problem is, the laws on car sale were put in to enforce competition. Even if dealers are scum (and I think most people would hold that view), they do represent a form of competition. I expect sooner or later Tesla will have to sell their cars whole sale but perhaps access to all the aftermarket servicing kit is the weapon they can use to beat dealers into some form of compliance with standards of ethics, transparency and all the rest.

  5. Re:Wow, that actually looks decent on KDE Frameworks 5.3 and Plasma 2.1 – First Impressions · · Score: 1
    KDE has always had the kitchen sink mentality and it has suffered for it. All those buttons, menus and settings are great for people who want to change every last setting but they're a usability nightmare. I believe the reason that GNOME is the default in most Linux dists, particularly enterprise ones is because KDE provides far more opportunities for users to screw things up and raising support tickets. That's the reason it has lived in GNOME's shadow all this time.

    Anyway playing with plasma on FC21 suggests the penny still hasn't dropped in KDE land. Dolphin looks a lot simpler than it used to be and the system settings looks superficially like OS X / GNOME. But click into the settings and it's the same mess as it ever was, e.g. why is "SSL versions and certificates" a top level thing instead of an advanced button somewhere several dialogs down? And standard apps like Konq, Kwrite etc. are as stuffed with superfluous options and menus as they ever were. Assuming KDE work through the apps and start ruthlessly moving the advanced menus settings out of the top level, it should turn into a pleasant experience.

    One could argue GNOME have gone too far in the other direction, simplifying things beyond the extent they should be simplified. IMO it's still a better experience than KDE's.

  6. Censorship is the wrong thing to do on Several European Countries Lay Groundwork For Heavier Internet Censorhip · · Score: 3, Interesting
    If you want to catch bad guys you don't want to block them from reaching resources because they'll just use proxies and the likes of tor to get them any way. And in doing so it becomes that much harder to track their activity. The better choice is to let them access what they like and monitor that activity. Use that activity to determine who they interact with, what sites they visit, what aliases they use, what search terms they plug in, what hours they operate, what IP address and location they come from. Shutting off that sort of information is self defeating.

    Yeah some terrorists are probably supersmart and security concious and would cover their tracks in any event. But most terrorists are idiots - petty criminals and the dregs of society who've fallen under the spell of the movement. These people should be rich pickings if they are allowed to do what they like and given enough rope to hang themselves.

  7. I actually have sympathy for the dealers on Tesla vs. Car Dealers: the Lobbyist Went Down To Georgia · · Score: 1
    Not a great deal of sympathy but some. Dealerships do offer competition and choice to the customer - the kind of competition lacking if the manufacture sets the price and there are no negotiations over that price.

    The problem for car dealers are they are one of the the slimiest and contemptible professions around. Buying a car is an ordeal thanks to the upselling, misleading prices, nickel and diming, fine print and sales pressure that goes with it. Car salesmen are on a commission and quotas and they will fuck people over to get them. As such it's very hard to tell what sort of competition dealers provide for each other since they're all on a race to the bottom.

    I think Tesla will have to sell cars via dealers but the best way to protect its image is to impose strict provisos that prevent dealers from tarnishing the brand and make the process of buying a car simple, free of pressure and scummy sales tactics. I'm sure Tesla has a few big sticks it could use to ensure compliance and the quality of sale and after market service.

  8. What the hell? on NetHack Development Team Polls Community For Advice On Unicode · · Score: 1

    It's still the same strings as far as the end user is concerned. A UTF-16 encoded string looks the same to the end user as a UTF-8 encoded string. But given that the codebase is legacy the only sensible choice is UTF-8.

  9. Re: Self-defeating name on Rust Programming Language Reaches 1.0 Alpha · · Score: 1

    Rust isn't a good name but I guess it could have been worse. At least it's not called Taint.

  10. Re:Business as usual on Is Kitkat Killing Lollipop Uptake? · · Score: 1

    How many times have you heard people complain that their phone is dying

    All the goddamn time. Sometimes people are travelling, or out of their normal routine (e.g. late night party, or intensively using their phone that day), or simply forget to charge their device. And it's at those times that 2 hours extra battery would come in really handy.

    And no, Lollipop won't save me an extra two hours of use - Kitkat 4.4.4 already comes with the ART runtime

    The clue is in "development". And it's just one of many things Lollipop does to eke more power out of the device.

  11. Re:Business as usual on Is Kitkat Killing Lollipop Uptake? · · Score: 1

    That's a pretty bizarre rationalisation. You don't care if your phone runs out of power potentially hours earlier because you charge it at night? Wow.

  12. Re:Serves them right on Over 30 Uber Cars Impounded In Cape Town · · Score: 2

    There is the gun range which has a sign saying, "Muslim Free Zone [arktimes.com]" and so far they're able to get away with it.

    Am I supposed to applaud that? The fact that it happens is no excuse that it should be tolerated or supported.

    No, but we do have pharmacists refusing to fill prescriptions for birth control because it might offend their religion [ncsl.org].

    Quite. And it should not be tolerated. Their job is to fill the damned prescription, not moralise, judge, discriminate or otherwise selectively choose to serve one person and not another. If they can't keep their beliefs separate from their damned job they should get another job.

  13. Re:Business as usual on Is Kitkat Killing Lollipop Uptake? · · Score: 1

    You should care. It's not just CPU but battery consumption. One of the main objectives of Lollipop was "project volta" which was to cut power consumption. One way they did this is move from a JIT runtime to an AOT runtime - Android compiles the app when it is installed instead of every time it is launched and executed.

  14. Business as usual on Is Kitkat Killing Lollipop Uptake? · · Score: 1
    I expect Lollipop uptake will be just fine in the end. It's same story as when 2.x went to 4.x - the handset manufacturers spend 6-12 months playing catchup before they're ready to move over. Perhaps there is less impetus to switch over but it'll happen.

    Probably the best reason to use lollipop is that apps start faster, use less battery and the whole thing feels more responsive. This is due to the new ahead of time compiler. The UI experience is fairly take-it-or-leave-it though - it's slick but it's not hugely better than in 4.x and some stuff like the playstation style abstract buttons are frankly just stupid.

  15. Re:Serves them right on Over 30 Uber Cars Impounded In Cape Town · · Score: 2

    No one should ever be forced to do business with someone they don't want to

    So it's okay to put up a sign in a bar that says "no blacks or hispanics?" or for a pharmacist to refuse to fill a prescription because the person is a Muslim? Basically you're spouting horseshit. It is not acceptable in this day and age to do so. If someone finds themselves prejudicial to people of one sort or another they shouldn't be a taxi driver or in some other public facing profession in the first place.

  16. Poor Uber on Over 30 Uber Cars Impounded In Cape Town · · Score: 1

    Imagine having to abide to the same laws and regulations that govern other commercial taxi operations. How on earth are they going to make a profit now?

  17. Re:Laywood on Hands On With MakerBot's 3D-Printed Wood · · Score: 1

    I bought a Sprig toy for my kid about 8 years ago which was formed from a mix of recycled wood & plastic. It smelt lovely and had a nice texture (although the toy sucked for other reasons). I'm sure it's not a big deal to turn wood / plastic into a filament providing the wood is basically dust and mixed to the correct ratio. Same for metal, stone, brick etc.

  18. Re:Wayland / serious question on Fluxbox 1.3.6 Released · · Score: 1

    It is X compatible too and supports the protocol.

    Wayland is an API for creating / destroy / rendering windows as graphical surfaces and handling input events. Wayland is implemented by a compositor, e.g. Weston. Neither Wayland nor Weston gives a damn about X in any way shape or form. If you want to run X apps then you'd run the Xwayland server which uses wayland as its backend and hosts clients through X11 protocol. I expect most dists that switch to wayland would seamlessly fire up the server if its needed although over time more and more applications will be ported and work without it.

  19. Re:Wayland / serious question on Fluxbox 1.3.6 Released · · Score: 1

    The need for a window manager doesn't go away because of Wayland. Wayland provides a reference implementation of a compositing window manager called Weston but its likely that others will appear. The role is somewhat different since windows are decorated client side but a wm would still provide functionality such as drag & drop, resize, maximize / minimize, snapping them to edges, animation / effects, remote access etc.

  20. Great news for early adopters on Wireless Charging Standards Groups Agree To Merge · · Score: 4, Funny

    It means that regardless of which alliance you got behind your tech is now obsolete.

  21. Re:Macbook Air? Mac mini? on Intel Unveils 5th Gen Core Series Broadwell-U CPUs and Cherry Trail Atom · · Score: 1

    Intel's NUCs are too damned expensive.

  22. Re:Not that impressive on Microsoft Unveils Nokia 215, a $29 Phone With Internet Access · · Score: 1

    That £25 includes the VAT.

  23. Not that impressive on Microsoft Unveils Nokia 215, a $29 Phone With Internet Access · · Score: 1

    Perhaps this is amazing in the US, but cheap phones have been on sale for a long time. A Nokia 220 (presumably a step up from the 215) retails for £25 in the UK. A tenner more and you can have an Android handset.

  24. They have nothing to apologize for on After Outage, Sony Makes Peace Offering To Users of PlayStation Network · · Score: 1

    A bunch of dicks launched a DDOS attack on them. They're victims as much as their own customers. I appreciate their gesture but I wasn't expecting anything at the same time.

  25. Re:The bigger question IMHO on MIT Unifies Web Development In Single, Speedy New Language · · Score: 1
    The reason that other languages have sprung up is because Javascript is a horrible language. It's incredibly easy to write bugs that slip through and cost more time / money to find and fix. e.g. Write o.foo() in your JS and with strict mode the runtime compiler will throw an error if o wasn't declared but it doesn't give a damn if foo() is undefined, or that foo() takes those parameters, or even if foo() is a function to begin with. It's only when o.foo() is invoked and the runtime discovers it's undefined, nil, an array, or a function that you discover if there was a bug or not. And your entire JS might just break at that point. It's the sort of thing an IDE for another language would have caught even while you were typing the code. So you need to write a bazillion unit tests and stoke up the code coverage just to catch stupid errors. Even things like the "this" reference have obscure behaviours that can befuddle developers (and strict / non strict changes those behaviours!).

    That's why an entire industry has sprung up to solve Javascript. It starts with the likes of JQuery / Underscore which paper over the cracks between implementations and battle tested code that every site needs. Then you have things like CoffeeScript / Typescript are basically glorified precompilers which add terseness (cs) or types (ts) but spit out recognizable JS. The likes of Dart and GWT do more complex generation. At the extreme you have the likes of Emscripten which compiles C/C++ code into LLVM bitcode and a JS runtime - so basically you can compile and run any language at that point, within the limitations with JS.

    Even browsers recognize how problematic JS is. We have a "use strict" mode that take the edge of the worst ambiguities. We even have a "use asm" to support compiled runtimes like Emscripten with an optimizable subset of JS. And the likes of Firefox / Chrome will look for a .map file when you debug JS and will show you the input source - unminified js / cs / ts / dart / whatever if it finds one. Basically they know JS sucks and are trying to facilitate devs who use another language.