Slashdot Mirror


User: phantomfive

phantomfive's activity in the archive.

Stories
0
Comments
31,362
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 31,362

  1. Re:Assembly language is good enough for anyone... on Mozilla Binds Firefox's Fate To The Rust Language (infoworld.com) · · Score: 1

    By Apache APR I assume you are referring to their memory pools? Those are great, but not appropriate for all problems. For example, if you have an object that gets created, passed off to another section of code, which passes it off to another section of code, which frees it. This is common in a producer/consumer situation, or a message-passing situation, or almost any situation where you have queues. Memory pools don't work as well in those situations, because you don't want to delete a whole pool, you just want to delete a single message when it's been processed. Reference counting does work in that situation (and has been used in the Linux kernel, for example, in the USB section where URBs get passed from once section of the kernel to another).

    I do agree that in the vast majority of situations, memory pools are great, and are highly recommended.

  2. Re:They want to be a welfare state? on Sweden Pledges To Cut All Greenhouse Gas Emissions By 2045 (independent.co.uk) · · Score: 1

    Arguably, those who don't care enough to even go down to their polling station, are the kinds of people who shouldn't be allowed to vote anyway. They self-select as apathetic, unqualified voters.

  3. Re:They want to be a welfare state? on Sweden Pledges To Cut All Greenhouse Gas Emissions By 2045 (independent.co.uk) · · Score: 1

    And not even that, a simple majority of voters, when most people didn't vote.

  4. Re:Isn't this just virtue signaling at this point? on Sweden Pledges To Cut All Greenhouse Gas Emissions By 2045 (independent.co.uk) · · Score: 1

    Don't think that's true, I definitely saw graphs like (with the dramatic 'hockey stick' style uptick right at the end) that earlier than 97.

  5. Re:ESR vs Rust on Mozilla Binds Firefox's Fate To The Rust Language (infoworld.com) · · Score: 1
    This ESR quote from your article is worth paying attention:

    "This gives me hope that the Rust of five years from now may become the mature and effective replacement for C that it is not yet."

    Rust is still a work in progress, don't expect it to be perfect for every use case.

  6. Re:Assembly language is good enough for anyone... on Mozilla Binds Firefox's Fate To The Rust Language (infoworld.com) · · Score: 1

    In the case of Rust, it addresses security problems that are the domain of internet facing software

    I don't think there are any common security problems that can't be fixed by using a good string and buffer library. Switching languages to get that advantage is a little overkill.

    Using Rust will get rid of a lot of memory leaks though (not all of them), so that is a benefit. Judicious use of techniques like memory pools, stack allocation, and reference counting will get you similar benefits in C, requires more discipline (which Firefox developers definitely don't all have), but eliminates more bugs.

    The Firefox team has decided that switching to Rust is a good way to handle these problems. It isn't the way I would handle them, but it is a way to handle them, and I commend the Firefox team for seeing a problem and coming up with a solution. I hope it works out well for them, because better browsers benefit brogrammers bigly (and the rest of us).

  7. Re: Irresponsible disclosure on Zero-Day Windows Security Flaw Can Crash Systems, Cause BSODs (helpnetsecurity.com) · · Score: 0

    one should block outbound SMB traffic to "not your SMB".

    Yeap.

  8. Re:Irresponsible disclosure on Zero-Day Windows Security Flaw Can Crash Systems, Cause BSODs (helpnetsecurity.com) · · Score: 1

    Make sure your SMB is behind a firewall.

  9. Re:If the Godaddy CEO doesn't like it... on Cutting H-1Bs Could Mean More Competition From China and India, Says GoDaddy CEO (cnbc.com) · · Score: 1

    Exactly this.

  10. I work in NIH funded research and needed a programmer at $45k/yr.

    Yeah, you're not going to find someone at that rate, sorry. The good news is that soon you won't be able to get H1B slave labor at that rate, either.

  11. Re:Warrant issued upon probable cause on Police Use Pacemaker Data To Charge Homeowner With Arson, Insurance Fraud (networkworld.com) · · Score: 1

    Do you even know what kind of shape he was in?

  12. Re:I'll never vote over the net on The Netherlands Opts For Manual Vote-Count Amid Cyberattack Fears (independent.co.uk) · · Score: 1

    My precinct has a voting machine, connected to a printer. After I finish voting, I can look at the printout, verify that it is correct, and push OK. I think that is a good way to do it, because it reduces counting errors, but preserves paper ballots in case a recount is needed.

  13. Re:Why yes, let's ban them on Reddit Bans Far-Right Groups Altright and Alternativeright (theguardian.com) · · Score: 1

    When money is keeping score, rationality is perfectly measured.

  14. Re:"wannabe GitHub alternative" ? on GitLab Says It Found Lost Data On a Staging Server (theregister.co.uk) · · Score: 1

    The most significant for me is the integrated CI, and that you can host your own runners and workspaces on your own infrastructure (or some cloud provider).

    Can you clarify this? What are runners, and what does it mean to host a workspace? Is that like an Eclipse workspace, or something else?

  15. Re:They'll Go Underground on Reddit Bans Far-Right Groups Altright and Alternativeright (theguardian.com) · · Score: 1

    That is pointing out the hypocrisy of a lot of people, but personally I don't have time for that. As long as the president runs the country competently, I mostly don't care about petty left-right fights.

    Of course, Chavez is not someone Trump would want to be compared to for competency........

  16. Re:Sure, if they are H-1B.... on Microsoft Seeks Trump Order Exemption for Workers With Visas (bloomberg.com) · · Score: 1

    12 acres for $10k? Where is that? I think I've seen prices like that in the Mojave desert.......

  17. Re: Live by the cloud, on GitLab Says It Found Lost Data On a Staging Server (theregister.co.uk) · · Score: 1

    I self host because my code is so amazing, I can't risk having anyone see it lest they die from heart attack due to the overwhelming splendor.

    Best reason ever.

  18. Re:Warrant issued upon probable cause on Police Use Pacemaker Data To Charge Homeowner With Arson, Insurance Fraud (networkworld.com) · · Score: 1

    It is highly improbable any real doctor will be able to say that with any certainty.

    Are you saying the doctor quoted in the article is a liar, or not a real doctor? That is possible, I guess......

  19. Re:Why yes, let's ban them on Reddit Bans Far-Right Groups Altright and Alternativeright (theguardian.com) · · Score: 1

    Reddit is in it for the money.

    Well said. A very rational point.

  20. Re:They'll Go Underground on Reddit Bans Far-Right Groups Altright and Alternativeright (theguardian.com) · · Score: 1

    Fascist is a term with too many definitions to really use precisely.

    If you want to look at an international model, a prototype for Trump, look at Hugo Chavez, especially with Trump's recent, frequent appeals to populism (he keeps saying things like, "I am here fighting for you, the people" trying to put himself in opposition to politicians).

    The aspects to consider in Chavez are: he was populist, gave similar broad speeches attacking opponents (if you can't speak Spanish, this one might be hard to see, though. I mentioned it to other Spanish speakers and they agreed). Dubious economic policies, foreign enemies, questionable electoral victories, stacking the supreme court, corruption (Chavez's daughter is the richest person in Venezuela), and even in body and mannerisms they seem kind of similar. (It's well know Chavez had small hands~ )

    Guess which past president Trump chose to put on the wall in the White House? Andrew Jackson. Can you figure that one out?

  21. Re:Warrant issued upon probable cause on Police Use Pacemaker Data To Charge Homeowner With Arson, Insurance Fraud (networkworld.com) · · Score: 2

    Either way, a lawyer will make mincemeat of the argument that an elevated heart rate right before a fire started is evidence of arson. My heart rate would be elevated too if I saw/smelled smoke.

    The argument is that a person with his heart condition couldn't have possibly seen the fire, packed his bags, broke the window, thrown his suitcases out the window, and run outside. As far as I can tell, they didn't even check the particular heartrate when it happened, they just checked his overall health.

  22. Re:Repeat after me (and others) on GitLab.com Melts Down After Wrong Directory Deleted, Backups Fail (theregister.co.uk) · · Score: 1

    Yeah, I now think of RAID as a way to increase disk access times, rather than as a backup method.

  23. Re:At least it wasn't github.com on GitLab.com Melts Down After Wrong Directory Deleted, Backups Fail (theregister.co.uk) · · Score: 1

    If you can handle the downtime and have good local backups, them fine, go with that. Otherwise you're going to be in pain and regret, sooner rather than later.

  24. Re:Gearbox in electric car on Tesla Is Investing $350 Million In Its Gigafactory, Hiring Hundreds of Workers (cnbc.com) · · Score: 1

    I'll bet it was a Chrysler van.

  25. Re:At least it wasn't github.com on GitLab.com Melts Down After Wrong Directory Deleted, Backups Fail (theregister.co.uk) · · Score: 1

    Github goes down from time to time, too. Self-hosting code is so easy (that's what git was designed to do), that there's really no reason to have your company depend on Github. Unless you're early stage startup and don't even have an office or something.