Slashdot Mirror


User: Mirar

Mirar's activity in the archive.

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

Comments · 350

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

    If Rust, the compiler and everything is written in Rust, then I would trust it.

    It looks like it's written in big parts in C and C++.

    Don't know if it's glue to the rest of the system or that Rust wasn't good enough.
    Maybe someone can elaborate?

  2. Re:You know the old saying... on Ask Slashdot: Is it Practical To Replace C With Rust? · · Score: 2

    I thought Bosch wrote that code and told WV not to use it like that. Anyway, it's probably written in Simulink.

  3. Math.... on You Don't Have To Be Good At Math To Learn To Code · · Score: 2

    Personally, I think humanities majors should be good at math too. (And, for that matter, journalists and politicians.)

    Of course the level of math you need to have varies. But I don't think you can be a "good" programmer without understanding logic.

    Certainly you don't need the single spearhead knowledge of a single or a few topics that a "math major" gets. And you can probably ignore most of calculus and analytic algebra. But knowing trigonometry and signal theory will most likely make you better and higher paid pretty quickly. Being able to look up and study the math you need at the moment, quite certainly so.

    But that doesn't mean that a lot of girls that think they are bad at math should stay away from trying programming. Girls specifically have a tendency to undervalue their own knowledge. (While guys tend to overvalue.) (I personally think this behaviour is social training.)

    If you think you are bad at math but programming comes easy, you might find that you weren't actually bad at math.

  4. third party on Inside the Booming, Unhinged, and Dangerous Malvertising Menace · · Score: 1

    Interesting.

    A problem I have (and a temporary solution) is that ads come from a third party site. Usually the same few networks. I don't like being tracked by third party sites and I see no reason to view their content, so I simply DNS block common ad networks and third-party-content block them in the browser. This is causing the problem that I don't pay for the sites I visit (the adblock problem) and of course I can't visit sites that demand the third party site content to show (DNS block),
    but there is at least very low risk for tracking and third party malvertising.

    A solution as I see it would be that ads are given as images and reported as statistics, so that the main site can repack them (removing any exploits), display them without tracking me more than usual and report the displays to the advertisement network. (It would also have the benefit that any annoying flash ads and popups would go away, which would benefit the advertisers in the long run - less ad blocking.) (I presume clickthroughs can go to the advertisement network so they can keep track of that part.)

  5. well, if they were interested in focus... on Data-Crunching Could Kill Your Downtime At Work · · Score: 1

    ...they could start by eliminating everything that makes it hard to concentrate and focus when you actually want to.

    I have a hard time concentrating when the environment is noisy.
    Interruptions can totally ruin my _day_ of production.
    Lack of motivation ruins my creativity.

    So if you want a productive environment, I really don't think forcing people to stare at an IDE is the solution.
    Get rid of the cubicles, let people be in personal spaces (rooms) with 1-2 people. Make sure fans and other noise sources are silent. Get rid of drafts. Make the environment friendly and not sterile.
    Make sure you don't schedule meetings during the day when people need to stay focused. Put them in mornings or late afternoons (before or after a long creative period).
    Make sure your people feel involved in the project and the company. Give praise on any progress. Get involved and try to understand what's going on (details are not needed for this). Listen to them, the needs (for projects and for the workplace environment and need for time off). Send people on educations, workshops and courses to keep the skills updated (after their needs and wishes).

    Trust them or the motivation is lost. Never micromanage. Get bosses and leaders that are good at being bosses leaders. (Don't promote to incompetence.)

    It's not that hard.

  6. Re: potentially on Remote Control of a Car, With No Phone Or Network Connection Required · · Score: 1

    It might be in your world. I prefer not to assume the world is stupid, but not inherently malignant. I find it easier to live with.

    In some cases the stupidity leads to malignancy (NSA, TSA), even though it's well-intended.

  7. Re:potentially on Remote Control of a Car, With No Phone Or Network Connection Required · · Score: 1

    And bugs in the rodent-counter system.

  8. Re:wifi? on In Korea, Smartphones Use Multipath TCP To Reach 1 Gbps · · Score: 1

    That sounds like something everything on my Android device needs to use. How do I make this happen?

  9. wifi? on In Korea, Smartphones Use Multipath TCP To Reach 1 Gbps · · Score: 1

    While multipath is very cool and all, and it's a sign that maybe the phone doesn't have to change IP as soon as it leaves a WIFI network,

    getting 1Gbps over WIFI might not be _that_ cool? Doesn't 802.11ac already support this over single path?

  10. Re:potentially on Remote Control of a Car, With No Phone Or Network Connection Required · · Score: 1

    Correct.

    Although there's lots of easier methods if you have access to the physical car.

    (Just like breaking a bluetooth lock is possible, but it's also possible to use a normal untraceable chainsaw on the wall next to the door.)

    (Also: Never attribute to malice that which is adequately explained by stupidity. I'm personally more worried about bugs in cars than security holes.)

  11. potentially on Remote Control of a Car, With No Phone Or Network Connection Required · · Score: 4, Interesting

    "Because infotainment systems processed DAB data to display text and pictures on car dashboard screens, he said, an attacker could send code that would let them take over the system.

    Once an infotainment system had been compromised, he said, an attacker could potentially use it as a way to control more critical systems, including steering and braking."

    Well, yeah.

    Normally it's not that easy. Sure, the car stereo sits on a can bus with nice information (ACC, backing signals to turn on the back camera, speed information so the volume can be automatically adjusted, etc). But it's not on the vital CAN bus (at least not on most cars).

    But yes, it's an entrance point. So is the 3g/wifi receiver in the stereo, or the bluetooth connection to the handsfree that it can do.

    But you would have to:

    1. crack an entrance point to the stereo (any of the above)
    2. control the stereo CAN transmitter (if it has one)
    3. using that CAN to crack an entrance point to another system that talks to a vital CAN bus
    4. control that system enough to transmit CAN on the vital bus
    5. and then use this system to send bad messages to brakes or steering

    and all cars use different firmware with different security holes and different CPUs.
    But with enough research you could probably crack a specific vulnerable car model.

    Cracking modern airplanes seems easier, actually.

  12. well.... gender equality *sigh* on Ellen Pao Leaves Reddit; Site Founder Steve Huffman Makes a Triumphant Return · · Score: 0

    Whatever happened might have hurt gender equality in boards and IT.

    I hope her incompetence (not discussing if real or imagined) doesn't hurt the possibility for other girls to have the same roles.

  13. Re:Elon Musk traffic down on SpaceX Rocket Failure Cost NASA $110 Million · · Score: 1

    Also, isn't each launch with SpaceX a _lot_ cheaper than any Atlas V launch?

    I haven't googled the figures, but a guess is that you can blow up 20% of the SpaceX launches and still be cheaper than if you did all the launches with Atlas V.

  14. Re:Well there goes half the budget... on SpaceX Rocket Failure Cost NASA $110 Million · · Score: 1

    Doesn't SpaceX so far have a much better track record of not blowing stuff up than NASA? Certainly better than the russians.

    If you find a magic solution that doesn't fail sometimes (used to be SpaceX) then I'm sure NASA is interested. ;)

  15. taxpayers or ... taxpayers! on SpaceX Rocket Failure Cost NASA $110 Million · · Score: 2

    So the risk instead would be spread out into a higher launch fee (taxpayers) and higher insurance fees for everyone (taxpayers).

    The insurance would make the cost of the launch a lot higher, and NASA (taxpayers) would have to pay that.
    Money doesn't grow in insurance companies either - they are re-insured and the cost is spread out to everyone.

    But I guess it would look better for NASA?

    (That said, I thought insurance was involved already. At least for individual projects blowing up?)

  16. snow (and manholes) on Google's Driverless Cars Now Rolling In the Heart of Texas · · Score: 1

    So, test it in Alaska, in winter.

    And on a road with open manholes... :) Did they solve that yet?

  17. Re:Worry about real problems instead on Video Games Can Improve Terror Attack Preparedness, Even If You Don't Play Them · · Score: 1

    ...so, what are the chances of being killed by low or bad terror attack preparedness? Because it's probably lower than being killed in a terror attack?

  18. "terror attack preparedness" - what is this?
    Being able to make some tea?

    Keeping common sense after a bomb went off a few feet away?

  19. Re:32*M*B? on Google Developing 'Brillo' OS For Internet of Things · · Score: 1

    How much is the current zigbee and zwave devices using?

    TCP is a bother in itself - UDP and UDP-based protocols are much easier, since they don't require a buffer for the transport stream, you can just reuse the packet space to answer on so you only need one MTU of space (1.5k). TCP needs the buffer for resending, and to buffer data before sending. Much hungrier... but still, where 32kB is well enough. :)

    If anything, I would like devices that comes with a nice amount of non-volatile RAM for logging and backup purposes. (Where nice amount would be something like 128k. I'm fine with that. I currently have an EEPROM with about 64 bytes for logging. I have to be a little bit too creative then...)

  20. Re:Don't learn C++ on How Much C++ Should You Know For an Entry-Level C++ Job? · · Score: 1

    X is a mess of a protocol though. Too many extensions error.

  21. slashdot and languages on How Much C++ Should You Know For an Entry-Level C++ Job? · · Score: 1

    Now slashdot is doing it again.

    If you understand programming, you can pick up most of that within a few weeks. If a senior dev gets mad at you during those weeks, look for another job.

    If you don't understand programming and know all that stuff, there's no way you will learn the libraries and software that specific company uses within a few weeks and a senior developer will get furious.

    C++ is just another language. It's in no way harder than C, interlisp or Python.
    Standard libraries are just some libraries. All languages have those.

  22. 32*M*B? on Google Developing 'Brillo' OS For Internet of Things · · Score: 4, Interesting

    I regularly work with devices having 32*K*B or RAM. That talks TCP/IP. (And much smaller than that, but they do very limited amount of networking, like CAN.)

    And I remember running Linux on devices with a lot less than 32MB...

    What's the challenge with 32MB? And how is that extreme in any way?

  23. Re:charge what? on Wireless Charging Tech Adopted By Ford, Chrysler, and Toyota Goes Open Source · · Score: 1

    Very informative. Thanks.

  24. tracking, visually annoying, destructive on Editor-in-Chief of the Next Web: Adblockers Are Immoral · · Score: 1

    I block ads because of three main reasons:

    1. I don't like being tracked by a third party
    2. I don't like visually annoying ads (blinking, moving, changing, etc) - I can't read a page if it feels like I'm in Shinjuku or Las Vegas.
    3. Ads are often destructive, either they popup (in the page, or in a new window/tab) or they contain trojans or worms

    Since I block lots of trackers, already there most ads vanish. Domains that serve any of the catagery 2 or 3 are also blocked - actually all third parties are blocked if they are not needed for the page. (RequestPolicy. It's a bit of work and why the can't people make pages without dozens of third parties anymore?)

    Pages that don't have third party ads are not blocked in any way.

    Pro tip if you want your ads to be viewed:
    1. serve them on the same domain
    2. don't animate them (maybe don't even use images)
    3. don't make them have any sort of script

    I for instance see google ad-words. I just can't click on them because it leads to a blocked tracker domain... :p

  25. I was trying to figure out what cars they had that can be charged. Turns out it was the other way around, the car will charge your cellphone.

    What was wrong with the QI standard?