×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Comments

top

Tesla Model S Has Hidden Ethernet Port, User Runs Firefox On the 17" Screen

petermgreen Re:Why Ubuntu?! (208 comments)

It's possible with at least some ethernet BASE-T Phys to operate without transformers. Most ethernet transformers are 1:1 ratio anyway.

http://www.google.com/search?q...

There is also the question of how do you know for sure that the socket is BASE-T ethernet (and not ethernet with a propietary physical layer or something else entirely) until you connect to that.

Having said that I suspect that the chances of finding a socket in a car carrying an interface so fragile that base-t ethernet could blow it up are pretty low.

2 days ago
top

OpenBSD Team Cleaning Up OpenSSL

petermgreen Re:Rights and Wrongs of good code. (282 comments)

Your friend sounds like he has some serious anger management issues.

goto used sparingly can be a useful tool for breaking out of multiple layers of structures and going to an error handling block when an error happens in an inner loop and avoids adding loads of boilerplate to every layer of the nesting just to deal with error conditions. This is especially true in a language like C which does not have exceptions.

However care is needed to avoid jumping over things you didn't mean to jump over (like cleanup code) and over-use of goto can result in seriously unreadable spaghetti code. This makes some programmers anti-goto.

2 days ago
top

OpenBSD Team Cleaning Up OpenSSL

petermgreen Re:What about a re-implementation... (282 comments)

While it might be nice to use a safe(r) language, can't we at least have a compile option in C that adds bounds checking?

Not really for the general case.

In a normal C compiler when a pointer is passed from one function to another, stored in a field of a structure, stored in a global variable etc no information about the start and end of the memory block it points to is stored/passed along with it.

In theory you could have a C compiler that used extended pointers which stored start and end information along with the pointer itself. In practice however such a C compiler would have several issues that would prevent it being widely used. Firstly it would be ABI incompatible with the standard C compiler, so you'd either have to build your whole OS and every app with this compiler or keep two paralell libraries sets. Secondly it would break assumptions that a lot of code makes about the size of pointers and their convertibility to/from intergers. Thirdly it would massively increase memory use.

There have been partial solutions for special cases which provide special versions of system functions that are commonly used in an unsafe manner then modify calls to those functions for the cases where the compiler does know the buffer size (e.g. because the buffer is a local variable) but they are far from a perfect fix.
.

2 days ago
top

OpenBSD Team Cleaning Up OpenSSL

petermgreen Re:"Ancient." "Cruft." (282 comments)

And while it has a "select" function it's not much use in practice because it can ONLY select on sockets, so you end up with windows specific event and/or thread handling as well.

2 days ago
top

Carpenter Who Cut Off His Fingers Makes "Robohand" With 3-D Printer

petermgreen Re:Better to make a hand extension for dangerous w (90 comments)

But better... If it was good enough people would use it out of habit.

Unfortunately all attempts at making remote manipulation devices both mechanical and electronic have resulted in things that are far more cumbersome than using your hands directly. The human arm and hand is an amazingly good maniupulator with extremely good feedback so it can grasp something firmly without damaging it.

There is usually a way to clamp the workpeice and keep your fingers out of harms way but it's slower and more cumbersome than just holding it and people have a nasty habit of getting overconfident in the own ability to not slip up.

2 days ago
top

Raspberry Pi's Eben Upton: How We're Turning Everyone Into DIY Hackers

petermgreen Re:It's not the thing... (90 comments)

There are faster, cheaper boards than the Pi.

There are boards that are faster than the Pi and boards that are cheaper but I haven't seen anyone come out with a board that is both faster and cheaper.

about a week ago
top

Linus Torvalds Suspends Key Linux Developer

petermgreen Re:Linus is being Linus. (641 comments)

Looks like it's still arround.

about two weeks ago
top

Russian Officials Dump iPads For Samsung Tablets Over Spy Fears

petermgreen Re:Paranoid? (198 comments)

The networks are a risk but they are a risk that can be mitigated to at least some extent by strong well-managed encryption (and yes this does mean avoiding the easy to use centralised systems where the system operator manages the encryption and going for something more decentralised and that requires more work and understanding but lets you manage the encryption yourself).

But if the end devices are compromised then the keys can be stolen or the data can simply be copied before it is encyrpted.

about three weeks ago
top

Facebook To Begin Deploying Btrfs

petermgreen Re:Btrfs definition (115 comments)

btrfs brings really useful features like data integrity protection through the combination of checksums with either multiple copies or error correction codes*, snapshotting** and the ability to create a logical copy of a file without creating a physical copy. These are features that most other linux fileystems don't have. You can find out more at https://btrfs.wiki.kernel.org/...

Unfortunately it's hard to take a filesystem, particularly a complex one like btrfs from "seems to work fine under our lab tests" to "proven stable in production" . devs need data from real world problems to improve the filesystem but to get data from real world problems requires people to run it on real world systems but people are reluctant to put an experimental filesystem on their production servers.

This is good news towards the goal of turning btrfs into a "proven stable in production" soloution.

* The trouble with conventional raid is it keeps multiple effective copies but it has no idea which of those copies is correct. So it relies on the underlying drives to return either correct data or an error code. Experiance has shown that the checksum systems built into drives are not strong enough to completely prevent bad data from being returned.
** Yes you can do snapshotting with a layer like lvm between the filesystem and the storage but there are distinct advantages to doing it as part of the filesystem.

about three weeks ago
top

Researchers Find Problems With Rules of Bitcoin

petermgreen Re:overblown (301 comments)

If you know that, why haven't you bet the farm shorting bitcoin?

AIUI many shorting contracts require you to cover your short once your losses reach a certain level. You can still lose even if you turn out to be ultimately right.

about three weeks ago
top

Researchers Find Problems With Rules of Bitcoin

petermgreen Re:If it looks like a duck and quacks like a duck. (301 comments)

If the government decides to make trade in bitcoin difficult then government will have little trouble doing so through laws and regulations. It's already illegal in some countries. Want to risk jail time to use bitcoin?

While governments can sometimes go after individual users doing so on any significant scale carries a very high political cost. It's much easier to paint a handful of people who form a competing central authority as "criminals" and shut them down than it is to go after everyone participating in making a decentralised system work.

Which is not to say it's impossible for governments to crush bitcoin just much harder for them to do it than to crush comparable centralised schemes.

about three weeks ago
top

Researchers Find Problems With Rules of Bitcoin

petermgreen Re:If it looks like a duck and quacks like a duck. (301 comments)

It seems to have some geek appeal but there isn't anything functionally novel about what it does.

What is novel about bitcoin is it does what it does without requiring a central authoritiy. People who have tried to make "alternative money" systems with a central authority have found themselves either crushed or subsumed into the regulated system where the government can tell you who you may or may not give money to or order transactions reversed long after the fact.

bitcoin is to e-gold as gnutella is to napster.

about three weeks ago
top

Researchers Find Problems With Rules of Bitcoin

petermgreen Re:That main issue is actually the solution. (301 comments)

The only real way these guilds could lock out the little guy is if they controlled more than 50% of the overall processing power, but then they could do much worse things.

According to blockchain.info the top three mining pools between them control over 54% of the total mining power add number four and you get up to 67%.

So if they were to team up into a cartel they could arbiterally prevent blocks they didn't like from staying in the blockchain. The interesting question is if the leaders of the guilds decided to do this to enforce higher transaction fees would their members go along with it or would they break ranks in sufficient numbers to negate the affect?

about three weeks ago
top

Researchers Find Problems With Rules of Bitcoin

petermgreen Re:pfft (301 comments)

as there will be far fewer miners once there are no more bitcoins to be mined, so difficulty will fall, and they will get a larger share of the perhaps larger transaction fees.

So you have a scenario where miners are giving up and the toal network hashrate (and hence the difficulty) is falling. This means two things.

1: The ammount of hashing power needed for a 51% attack goes down
2: The ammount of mining hardware available on the likes of ebay at knockdown prices goes up.

Combine the two and it potentially becomes a lot more economical to amass enough mining power to do a 51% attack.

The motives of the attacker could be varied. It could be a government who wants to destroy bitcoin. It could also be done by someone (or a cartel) for "buisness" reasons (if you control 51% of the hashing power you can enforce a minimum transaction fee by refusing to accept any blocks that contain transactions with lower fees).

about three weeks ago
top

Jimmy Wales To 'Holistic Healers': Prove Your Claims the Old-Fashioned Way

petermgreen Re:You know what they call alternative medicine... (517 comments)

Of course the problem with placebos is that they essentially require lying to the patient. If you are honest and actually tell the patient "it's just a sugar pill" then it's not going to have any affect.

Which is why you get things like homeopathy dressing up placebos in some BS that sounds plausible to the uneducated.

about three weeks ago
top

Researchers Find Problems With Rules of Bitcoin

petermgreen Re:That main issue is actually the solution. (301 comments)

The only people who will have reason to run a miner are the people who use bitcoins as a currency

You forgot those trying to do a "51% attack" for the purposes of killing or controlling bitcoin.

If mining rewards drop signinficantly and consequently lots of miners quit then said attacks will get easier both because they will require less hashing power and because there is likely to be a lot of uses mining hardware turning up on ebay at knockdown prices.

about three weeks ago
top

Is the Tesla Model S Pedal Placement A Safety Hazard?

petermgreen Re:News for nerds (394 comments)

Sure such a system works well for slow moving carts but i'm not sure it would work so well for a car. For best milage you really want to avoid actively braking (even regenerative) as much as possible. Your proposal would make it very difficult to express to the car "I want to coast not actively putting power in but not actively taking it out either".

I'd also be worried about whether a speed pedal would be fine enough control to correctly select the desired speed over the wide range a car operates over.

about three weeks ago
top

Turkey Heightens Twitter Censorship with Mandated IP Blocking

petermgreen Re:IPv6 needed (102 comments)

Twitter can get its own /32 range.

And that whole range can be blocked in one go.

What matters for avoiding blocks is not merely having lots of addresses, it's having lots of addresses spread out through the address space so that people can't effectively block you without either causing massive collateral damage or painstakingly hunting down your addresses.

about three weeks ago
top

Fake PGP Keys For Crypto Developers Found

petermgreen Re:The chain of trust is broken. (110 comments)

Another approach is to create fictional IDs with generic email addresses (gmail or similar), create keys for the fictional IDs and get them signed. Then use the keys associated with fictional IDs to sign the keys you plan to use for impersonation.

This is more work than just having shady people use their real IDs to sign the impersonation keys but reduces the risk of your accomplices being found out.

about three weeks ago
top

Intel Announced 8-Core CPUs And Iris Pro Graphics for Desktop Chips

petermgreen Re:"Enthusiasts" (173 comments)

Which if you think about it, means you should probably release the extreme version first dummies.

Ever noticed how intel have recently been using misleading part numbers to make it less obvious that their high end parts are a generation behind their mainstream parts?

about a month ago

Submissions

petermgreen hasn't submitted any stories.

Journals

petermgreen has no journal entries.

Slashdot Account

Need an Account?

Forgot your password?

Don't worry, we never post anything without your permission.

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>
Sign up for Slashdot Newsletters
Create a Slashdot Account

Loading...