Slashdot Mirror


User: jandrese

jandrese's activity in the archive.

Stories
0
Comments
6,981
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 6,981

  1. Re:Maybe? on Ask Slashdot: Is it Practical To Replace C With Rust? · · Score: 1

    Would have been nice if the official manual mentioned some of this...

    It also doesn't mention the one thing I wasn't clear on. Can you go:
    let size :u32 = readbytes(protocolStream, 4);
    if makes_sense(size)
    let data :protocolstruct = readbytes(protocolStream, size);


    I know I made a total hash of the syntax there, but you get the idea I hope.

  2. Maybe? on Ask Slashdot: Is it Practical To Replace C With Rust? · · Score: 1

    I've heard Rust mentioned a few times so I decided to give the manual a once over to see what it is all about. First impression is that it is a very C like language, except that the memory model is highly regulated. This is good in some ways, it should be nearly impossible to screw up your memory handling with normal code making it safer by default. However, in my brief glance over I can't see any way to allocate a block of memory at runtime, which seems like a significant drawback. The language appears to have "C Programmers Disease" baked into the specification. There is a brief mention in the vector section that they are growable and live on the heap, but doesn't give the syntax for this (nor the syntax to shrink them later!). The docs also make a huge dance around "borrowing" that smells a lot like someone avoiding the dreaded "P word".

    It looks like a neat language and I'm willing to give it a shot but I don't see this exploding in popularity anytime soon. There is always the chicken and egg problem with new languages that people don't want to learn it until it has a decent ecosystem, but it won't grow an ecosystem until people start using it.

  3. Re:Interstellar debris? on Mysteriously Variable Star Causes Speculation About Dyson Sphere (slate.com) · · Score: 1

    You wouldn't necessarily get excess infrared from a Dyson Sphere. The whole point is to collect the energy output of the star and pipe it somewhere else. If the infrared can also be collected then you could have quite a dark object with an unimaginably large power output. It's hard to imagine what you would do that with that much power.

  4. Re:While we are speculating "overwhelmingly unlike on Mysteriously Variable Star Causes Speculation About Dyson Sphere (slate.com) · · Score: 1

    If they have FTL then all of those distance/time calculations are blown to hell.

  5. Re:Oh dear god..... on Mysteriously Variable Star Causes Speculation About Dyson Sphere (slate.com) · · Score: 1

    It's not a Dyson sphere, but Larry Niven speculated that you could build a somewhat plausible Ringworld using just the mass of Jupiter. It requires a material with more tensile strength than we can build today, but not excessively so. The mass conversion of Jupiter into said material is an exercise left up to the reader.

  6. Re:The TL;DR on Why Many CSS Colors Have Goofy Names (arstechnica.com) · · Score: 1

    Except this was the opposite? The colors weren't designed by committee, they were organically grown over the decades(!!) by a handful of programmers who modified the X11 rgb.txt file. Then the CSS committee basically said "fuck it, we're not in the color business, nor do we want to pay big bucks to Pantone, so the free X11 rgb.txt file it is!"

    The only people expected to actually use those color names are students working on demo pages. In the real world everyone just expects to see the hexadecimal triplets instead.

  7. Oh good, more contention. on Worries Mount Over Upcoming LTE-U Deployments Hurting Wi-Fi · · Score: 5, Interesting

    The 2.4 Ghz spectrum was opened up for general use because it has relatively poor long distance characteristics thanks to it being absorbed strongly by water. This lead to an explosion of use in the band where your average apartment building has dozens of devices competing for the spectrum. And now cell companies are coming full circle and stomping all over it themselves. Maybe the government could take the hint that maybe another ISM band or two would be highly welcome. Maybe they could skip selling off spectrum for billions of dollars to enormous companies and instead open it up the way they did the 2.4 Ghz band? Spectrum seems a bit over regulated at the moment, there's barely any room for entities that aren't massive corporations with billions of dollars to do anything.

    Over regulation is stifling innovation.

  8. Who did they forget to pay off? on Xiaomi Investigated For Using Superlatives In Advertising, Now Illegal In China · · Score: 1

    This smells like one of those cases where a little used law is pulled out to harass someone. I'm thinking there must be some sort of underlying politics at work here.

  9. Re:No mention of price points? on First of 2 Australian NBN Satellites Launched Successfully · · Score: 1

    Yep, it's pretty much as expected. AUS$25 for a 4GB data cap, going up to AUS$95 for 40GB, although you have to use more than half of that at night.

    It is nice to see that they offer some personal hosting space. And that they're still running it off of the 1998 machine they originally set up for it with the 1GB HDD so they can only give people 25MB of space. You don't see those much anymore.

    No IPv6 support is a bummer too. If you are launching a bird in 2015, the service should support IPv6.

  10. No mention of price points? on First of 2 Australian NBN Satellites Launched Successfully · · Score: 1

    The article seems to have failed to mention the price point for the service. That's a big sticking point with satellite broadband.

  11. Re: An interesting option on The Case For Going To Phobos Before Going To Mars · · Score: 1

    To be fair, the biosphere project was a bit of a joke. They were high on lofty ideals, but short on expertise and funding. The real reason we have not built a self-sustaining self-contained ecosystem is because it has been unnecessary.

    If we wanted to start building a permanent moon base today, we could do it. We have the technology. But it would be catastrophically expensive and there would be little for the people to do once they got there. Ideas about building spaceships on the moon are utter fantasy at this point.

  12. Re:All about Taxi Laws on Uber Raided By Dutch Authorities, Seen As 'Criminal Organization' · · Score: 1

    Musicians didn't get paid for those "superior" medias either. They're pretty much in the same boat they've always been in. The big difference is that they don't have a bunch of corporate dependents.

  13. Re:Door Sensors on Tesla Unveils the Model X · · Score: 1

    Historically Gull Wing doors have been a maintenance headache, and this is Tesla's first attempt at making them. I wouldn't be surprised in the least if they release a different version of the X in a couple of years with more traditional doors after these prove to be problematic. They do look super cool though.

  14. Re:Single line of code? on How Did Volkswagen Cheat Emissions Tests, and Who Authorized It? · · Score: 1

    People who are buying VW Diesels are performance obsessed? Are we sure it has not always been reading low on the Dyno, but nobody cared because it's an econobox anyway and only car nerds care about the horsepower and torque numbers?

  15. Re:Single line of code? on How Did Volkswagen Cheat Emissions Tests, and Who Authorized It? · · Score: 5, Interesting

    Supposedly the "cheat mode" is an extension of the "testing mode", where the car knows it is running on a Dyno because one set of wheels is turning at a high RPM and the other set are stationary. For a car with traction control this is normally a freakout event so they have to check for it and make sure not to go crazy just because the machine is strapped into a test harness. Once you have the otherwise required detection code in there, adding a single line to fully open the EGR valve when in that mode would be a piece of cake.

  16. Re:Ask the NSA on Russia's Plan To Crack Tor Crumbles · · Score: 3, Interesting

    Attacks on TOR invariably work through good old social engineering or browser hacks. I have yet to see an article where someone was successfully tracked through TOR itself instead of some out of band attack. TOR itself isn't the problem, it's the users.

    TOR can't help you if you run some random executable that some random guy on the drug trading message board asked you to run. Believe it or not, this is apparently a very common way for the FBI to catch TOR users, simply asking them to run a Trojan.

    TOR hasn't failed, but it is not a magic bullet either. It is but one piece of a security system.

  17. Re:No. No it is not. on "Happy Birthday To You" Now Public Domain · · Score: 1

    Just how broken is our copyright system when a song from the 1800s is still in question?

  18. Re:Open world city on Thanks To Valve, More Than 1,500 Games Are Now On Linux · · Score: 1

    I've not noticed Wine games performing especially bad. If they are a few FPS slower or faster it is not noticeable to me. Wine isn't a proper emulation system, it's really more like a re-implementation of the Windows ABI, theoretically it should run at nearly the same speed.

  19. Will it be followed by a robot cleanup crew? on Robots' Next Big Job: Trash Pickup · · Score: 1

    Trash collection is notoriously messy. There are few standards that people have to follow with packing their trash can and place it on the curb. Even if they do follow directions, there are a lot of factors to account for. This is a hard problem for robots, and they're going to get it wrong sometimes. Are they going to include a cleanup robot that will follow the truck and pick up any messes?

  20. Re:Innovation: first != successful on The Forgotten Tale of Cartrivision's 1972 VCR · · Score: 1

    Sometimes products are just ahead of their time. This certainly looks like a case of a gadget being released before the technology was ready. Symptoms generally include excessively high price points that make the technology too expensive for mass market audiences. This is why you often see sour grapes from people who go "massive hit X wasn't even first, they were the knockoff imitators!", not realizing that the original product was bad simply because it was too expensive to be practical.

  21. Re:Game controllers on Thanks To Valve, More Than 1,500 Games Are Now On Linux · · Score: 1

    My experience is that an el random USB gamepad gets mapped as a HID when you plug it in. It seems to generally work, but since I prefer KB/Mouse I don't use it a lot. If your gamepad has unusual features (macro buttons, touchscreen, etc...) those are less likely to work, but buttons and analog sticks seem to be pretty reliable.

  22. Re:civ on Thanks To Valve, More Than 1,500 Games Are Now On Linux · · Score: 1

    News to me since I was playing Civ 5 on Linux late into the night last night. It's right there on Steam.

    Seriously, if you use steam and have a Linux machine, go ahead and install Steam on the Linux box. You might be surprised how many games show up in the list when you start it up. Stuff you might never expect like Bioshock Infinite for example.

  23. Re:Open world city on Thanks To Valve, More Than 1,500 Games Are Now On Linux · · Score: 1

    GTAV apparently runs under Wine. It should be pointed out that several of the Linux games on Steam are just wine wrappers around the Windows version. Sometimes they're incredibly shoddy too. Eador has a Linux version, but it is one of those aforementioned Wine ports and it has badly broken graphics. It's pretty much unplayable yet it still counts as one of the titles. Thankfully this is rare, most of the Wine titles work and are transparent to the end user.

  24. Re:Bad apples. on Creator of Top iOS Ad Blocker Pulls App After Two Days · · Score: 1

    Well, we've left those bad ads in the bunch for a long time. If someone developed an ad blocker that selectively blocked the ads that actually break the mobile version of websites (I'll grey out the screen and put a popup offscreen that you can't even see to dismiss) and it got popular I bet you would see a lot fewer of those obnoxious ads.

  25. Re:No biggy... on Creator of Top iOS Ad Blocker Pulls App After Two Days · · Score: 1

    Amazingly, this is apparently possible in iOS now. Apple dropped the requirement for the $100 developer account to load an app on your own device, so if you get the source you can sideload from Xcode.

    That said, I don't think this guy is going to be releasing the source anytime soon.