Slashdot Mirror


User: fbartho

fbartho's activity in the archive.

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

Comments · 527

  1. Re:Why are strings passed by value? on Author of Swift Language Chris Lattner is Leaving Apple; We're Interviewing Him (Ask a Question!) (swift.org) · · Score: 1

    Structurally, you have to jump through hoops to explicitly see that mutation occur (using types that don't support copy-on-write, aka not String). So answering your question, structurally, you're rarely mutating the string in place, unless the code can be certain that it's uniquely referenced. Since you aren't mutating in place, any other threads with a reference, end up still pointing at the static previous data.

    In your example: thread A wouldn't successfully change S. instead, it would create S-prime, and thread B would still be pointing at S.

    In the code though, thread A can have syntactically nice methods that look like they're mutating, but they only actually mutate the same memory, if it's uniquely referenced. If it's not uniquely referenced, the underlying system performs the copy-on-write, before then mutating the new, uniquely referenced object.

  2. Re:It's not innovation, it's the market on Where Is Europe's Silicon Valley? · · Score: 2

    Honestly, this shouldn't be a big debate should it? If you have any user generated content at all, you're going to want emoji and and other language support. Might as well pick UTF-8. Heck, it's really easy to use in many common programming languages these days. We now know more about the right abstractions to use when building APIs, and every year they get better.

  3. Re:One more in a crowded field on Swift: Apple's Biggest Achievement For Coders · · Score: 1

    Hahahahaha

  4. Re:Kittens? on Google Offers a Million Bucks For a Better Inverter · · Score: 1

    Also, Google gets to keep the boxes for over 100 hours, and you'll only be guaranteed to have power for 100 of those hours, and they make no guarantee of the storage conditions when it's not being tested, so if you want to have a living kitten at the end of it, you may need to do a lot of work.

  5. Re:Expensive habits on Survey: 56 Percent of US Developers Expect To Become Millionaires · · Score: 1

    I know 0 developers who smoke tobacco. I know many who go to multi-day conventions.

  6. Re:Fail by all posters so far on the issue on Protesters Show Up At the Doorstep of Google Self-driving Car Engineer · · Score: 1

    I think we might be past simple vandalism. A couple busted windows and some graffiti is annoying but certainly doesn't seem enough to reverse the current gentrification trend. People nearly have walled gardens at office and home. There's enough interest and money around now that I bet it's more likely that people will figure out how to pay the cops to hang around the affected areas. More vandalism will just lead to more walled gardens, and if the cops don't enforce the law in broad daylight, no regular residents will be safe, either.

  7. Re:Fail by all posters so far on the issue on Protesters Show Up At the Doorstep of Google Self-driving Car Engineer · · Score: 1

    The grandparent post was hidden for me so I didn't see it till now. I get your point. It is a curious post.

    I think vandalism is a curious response to gentrification, it's like celebrating baseball wins by setting busses on fire, it just makes your own neighborhood worse :(. I count myself among the many people who would love to live in SF but can't justify the cost. Many people make the point that rent-control is great, but clearly the demand is high enough that the artificially restricted housing supply leads to ridiculous purchases of existing buildings just to destroy them and replace with condos that can never be rented. If taller buildings could be built, or the rent across the city could evenly rise, a few people might be priced out, but the interest in living in SF would be balanced across all housing. Is that a better idea than the mess we're in now?

  8. Re:Fail by all posters so far on the issue on Protesters Show Up At the Doorstep of Google Self-driving Car Engineer · · Score: 1

    Rock throwing at busses and impeding the traffic on public roads, I don't think that's generally legal, no? Plus harassing a single engineer working on a self-driving car is just silly.

  9. Re:Really? on The PHP Singularity · · Score: 2

    Got any links? I thought that Facebook's PHP was just a different compiler with the same, but faster, library stack?

  10. Re:Derivative work of C/C++ on Oracle and Google Spar Over Whether Programming Languages Can Be Copyrighted · · Score: 1

    If the syntax *isn't* the creative part, then what is?

  11. Re:Still waiting for a real Linux virus on MacControl Trojan Being Used In Targeted Attacks Against OS X Users · · Score: 1

    Do you count PHP Worms? Linux runs many webservers that spread various kinds of php worms and spam machines.

    The exploits were in poorly configured PHP instances, and poorly written PHP applications, but even if those worms didn't care what OS their server was running, the worms still technically ran on linux (at least some of the time).

  12. Re:Why Apple is good on Apple Forcing IT Shops To 'Adapt Or Die' · · Score: 4, Insightful

    Dude, the whole job of software is to "hide messy reality from the user", otherwise the user would still be doing everything by hand. We have a fantastic device that can do many millions of things faster than a human can do one. Don't get me wrong, Apple certainly errs on the side of over simplification and preventing power users from configuring what they want. But building in systems that permit users to avoid worrying about external(to them) complexities is nearly the whole point of what we do.

    I also disagree with your statement that the "fallacy of equating an assumed incomprehensible complexity with uneeded complexity is what's killing growth in technology". On the other hand, I totally agree with your subsequent statements surrounding what Developers *should do*, however I see no evidence of the drain on growth in the market.

    If there is a market (money) need for the power user UI, the market will eventually produce it barring severe ongoing shortage of qualified engineers. When there is a shortage of workers, they will pick to work on either the most exciting, or the most profitable targets.

    Power-User UI is what you expect from internal tools. The software industry's infancy was basically *internal tools* packaged and dumped into the market. The fact that power-user UIs are disappearing (are they? -- at least in relative concentration vs simpleton UI) is a symptom of the maturation of the software industry, for maximizing breadth of reach. The unnecessary sharp edges of Power tools are what gets polished and removed as various products improve.

    Physical analogy: Circular saws usually have a finger guard around the blade these days. The finger guard does sometimes get in the way of work. Is this a sign that the tool has been dumbed down? Or that the design was polished for market appeal? Internal tools get the job done at the expense of such polish. Published tools in a mature industry have exactly the sharp edges they need for the people they are selling to.

  13. ngmoco:) on Ask Slashdot: Re-Entering the Job Market As a Software Engineer? · · Score: 2

    If you are looking in SF or the bay area, you'll definitely find a job. Be sure to specify what you actually want to do. Be honest about your transition, and explain your desires. That way, you shouldn't have people trying to force you into the activities you're no longer interested in.

    My company is hiring: http://www.ngmoco.com/careers/positions/engineering and on my team we've recently had other engineers transition back from more marketing-focused jobs into day-to-day coding.

    Contact me if you want to chat.

  14. Re:The stupid! It hurts! on Supreme Court Legitimizing Medical Patents? · · Score: 1

    Why should 2 ever have been protected as a patent in the first place?

    Shouldn't the patents have been:
    "Drug A" --> We invented this drug. Some uses may include 1,2,3.
    "Drug B" --> We invented this drug. Some uses may include "With Drug A", 2, 3

    No patent for use 4 that happens to use Drug A and Drug C
    ???

  15. Re:The stupid! It hurts! on Supreme Court Legitimizing Medical Patents? · · Score: 1

    What the hell is a "use patent"? Why can you patent the use of an already patented invention?

  16. Re:underhighlighted underdog on World Solar Challenge About To Start · · Score: 4, Informative

    You have your memories slightly jumbled. It was University of Michigan's UMSolar vs Nuon Solar Car Team and in the end a Japanese team (Tokai University) won by leagues. -- Team Tokai ran a great race, it was very impressive.

  17. Re:Old ideas live again on "Subconscious Mode" Could Boost Phone Battery Life · · Score: 1

    I don't usually get annoyed about the rape of the language, I'm more annoyed about the willingness of people to make themselves difficult to understand. Using words like irregardless grates, because I have to parse an extra syllable, then figure out they probably meant regardless and discard the whole meaning sense that I was halfway done appending to the sentence!

    Grrr.

  18. "Wireline Business" == "Phone Line Business" on Verizon Employees End Strike · · Score: 1

    The union in question is striking within a declining business. How will the union protect their jobs when phonelines get phased out completely? Of course most people are switching to VOIP and Wireless. Wireless plans are comparatively even less of a ripoff than phones. That's saying something. VOIP beats 90% of the usecases and features of regular phonelines at a much lower maintenance cost. What do these union people think they will get? They have to sabotage, because if they don't people might just not care that their plain-old-telephony lines aren't working...

  19. Re:Doesn't matter on Apple Adopts Bluetooth 4.0. Could It Reject NFC? · · Score: 1

    Blackberry? You mean the fruit I put in my yogurt? Why would you put pictures in your play-book, don't you need that for notes as to which plays to make? Plus, don't you think that torching your playbook would be a bad idea? How are you going to follow along?

  20. Question: on NASA's Hubble Discovers Another Moon Around Pluto · · Score: 1

    How many moons does it take before something becomes a planet?

    [Your mom]

  21. Re:Verizon won't roll them out to kiosks. . . on Windows Phones Getting Buried At Carriers' Stores · · Score: 1

    "Mango when it get here will bring WP7 up the the same standard as teh..."

    Ow, ow, my grammar parser crashed, I'm going to hide in a dark box with no internet for a while.

  22. Re:How do you execute the script? on OS X Crimeware Kit Emerges · · Score: 1

    Mounting the DMG only opens the Disk Image, I guess in theory a DVD player app could automatically play the file inside the DMG when it appears in the finder, but you already need a pre-installed vector before you can have anything auto-run. Your attack surface also includes the Disk Image mounting software, but the spec for that could be verifiable so that nothing is executed, data is just presented at mount-time.

  23. Re:yay on Osama Bin Laden Reported Dead, Body In US Hands · · Score: 1

    rm: /bin/laden: is a directory

  24. Re:But the memory leaks still aren't fixed. on Firefox On Linux Gets Faster Builds — To Be Fast As Windows · · Score: 1

    FF4 is the first time I noticed sever performance improvement. Before that, I was using FF in-spite of it being slower, because of its plugins and the differing design decisions from Chrome. Since FF4 I can happily say that it isn't slowing me down anymore. I did exhibit memory leaks before 3.0 and in early 3.0 builds, but those more or less got solved for my usage. Sorry to hear that that doesn't work out for you!

  25. Re:i can cause a run away memory leak on Firefox On Linux Gets Faster Builds — To Be Fast As Windows · · Score: 1

    Hahahaha! That's cute. Do you know if it's a Mozilla-only JS engine bug? I see the reverse on embedded browsers. V8 will segfault (not just leak memory!) with valid JS code that works fine in FF or WebKit (ios, Safari, or Chrome)

    There are other reasons I don't personally like jQuery, but this anecdote adds to that body of mistrust.