Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment Re:English? (Score 1) 230

Also, you must have spent no time using C. In C you know exactly what you're working with. It's a simple model where you're working closer to physical memory. PHP likes to "magic" everything. The only thing C like about it is how you call functions, and even with that, you had to add headers to get any functionality, so you still knew where things were coming from. With PHP you have a vast library of functions on the global scope.

I was referring more to C++ really and the way OO stuff has been bolted on top of an existing language, but your right I haven't used it in years. I moved from C to PHP and was very comfortably straight away due to the familiarity with many of the functions.

With regard to the magic everything most have that has gone from PHP nowadys. The only thing left is it being untyped and that is what Hack is designed to change.

Comment Re:English? (Score 1) 230

Yes, your correct. PHP is the only language anyone written anything worth while in and programmers that think about what they write before they write it are worthless. Thanks for your insight. BTW, I'm sure Zuck and gang cursed PHP and its authors a million times while writing code.

Maybe you have reading problems, but I never said PHP was the only language anybody ever wrote anything worthwhile in. I said it was the most widely used, that does not mean nobody uses anything else.

Every developer I know bitches about the tools we use, that doesn't mean we don't think they are useful.

Comment Re:English? (Score 2) 230

Php (Personal Home Pages) is already something it was never intended to be. It's the "hey thats a nice feature, let me add a crappy implementation of it" language. If you mean "turn PHP into something never inteded to be" as turning it into something not absolutely horrible to work with then OK. Anything they do is going to be better than PHP. You would have to try really hard to make it worse.

People always moan about how horrible PHP is, and I always assume that the people moaning are trying to learn the language without having a basis in C because they have come straight from Ruby or some other perfectly designed load of academic twaddle nobody uses.

The reality is that PHP is like C, an amazingly flexible and well used tool. Yes, it has tons of quirks due to its slow evolution where they maintain backwards compatibility, but that is it's strength in the real world since nobody wants to rewrite their entire system just to use a new version of a language.

There are tons of things better than PHP, but PHP is more well used than all of them because the purist developers who like to create perfect systems generally do not create much. The people who do are the armchair warriors who throw together something like Facebook then realise they have created a horrible puddle of code with a ton of technical debt that just happens to be a popular product that actually makes money. The purists have a habit of getting bogged down in producing wonderful code that takes ages, never makes any money and so get consigned to the scrap heap when the company folds.

What they have done is layer a statically typed language on top of PHP so that they can still run their existing PHP code as they slowly convert it to a typed language. Maybe their end game is to move away from PHP, but maybe they will stay with Hack to they can carry on recruiting PHP developers who then have an easy transition. This is another reason why PHP is so popular with companies: commercially experienced PHP developers are much easier to find than commercially experienced Ruby developers, or even Python.

Comment Re:So if you forget to lock your front door (Score 1) 246

This isn't a house, it's an office building.

And he didn't just walk in, the server provided the information to him.

So, he walks into an office building, asks the security guard if he can walk right up to the conference room, and the guard says 'yeah, sure, why not' so he does...and now he's being arrested for trespassing.

I agree with your analogy right up to the security guard bit, in this case they didn't have one. The problem is that legally it is still possible to trespass on private property when the property is not protected by any sort of lock. I am not saying that ATT were not utterly crap and lax, but what this guy did was also illegal.

The other problem he seems to face though is that he is bit of a caustic twat. I have a feeling that any half decent lawyer could easily bate him in court into saying something stupid and that is probably roughly what happened for him to be convicted. Once he had alienated the jury he was screwed, since based on the embarrassment he had caused the judge was obviously going to throw the book at him.

Comment Re:One side of the story (Score 1) 710

Sexist claims aside, the critique that a non-employee is allowed to hang-out in the office and harass employees-- and is still there even after being repeatedly banned from that area of the building-- that is a real HR problem, and that alone would be enough for me to quit a company.

Apparently they never felt the need to invest in HR until recently.

Comment Re:One side of the story (Score 1) 710

You can freely criticise women as long as it is constructive, and the rule is the same for men and gay people and black people and every other minority.

You can replace "women" in the above sentence with "people" and it is more accurate.

The truth is that learning to give people constructive criticism is very difficult for many people (myself included). The trick for me is to be aware that as soon as you lose your rag or behave in a condescending manner you are utterly in the wrong, no matter how valid the point you are trying to make is.

I think the big problem for many of us is that when we were young we spent far too much time in front of computers or with very geeky peers who did not mind when we spoke to each other with a bit of a lack of respect. That built up habits that you have to break. I guess geek culture has this idea of being tolerant of being rude, whereas when you have to start working with people in the real world you discover that not everyone has that same level of tolerance and should not be expected to develop it.

I think you should try and treat everyone in exactly the same manner, that means no special treatment for men, or people of any other minority. Everyone should be treated with politeness and respect at all times.

Comment Re:A tragedy (Score 2) 162

Additional thought: responsible disclosure only works because of the threat of full disclosure.

No, often it works because if one person outside your organisation discovers something then when you get that issue raised with you it is pretty easy to take that to management and show them why the bug needs fixing. If one person can find it so can someone else who is less honest and hence might use it for fraud.

So responsible disclosure works because even if the threat is never disclosed fully by the person who found it, it might be discovered by some one else independently.

Comment Re:This could be good news... (Score 1) 241

I never seem to have a need to run a GUI on a remote machine but I use them on my local machine every day

Plenty of people have the need to use a remote GUI, that's why Microsoft made remote desktop. Usually though, you just need one or two applications, and it's more convenient to have them show up by themselves instead of needing to deal with the entire screen of the other computer.

Of course, if all you ever do is admin on the command line, you're not going to need that. You probably don't even need a GUI at all on those servers.

I use rdp all the time, I was asking why it was so important to have X and its amazing single app rdp ability over what is provided by windows. I personally have never been in a situation where I the X stuff has ever been an imrovement i couldnt live without over something like Vnc

Comment Re:This could be good news... (Score 1) 241

Network transparency is a MUST to me, but if it is important for many it should end up getting implemented into any solution eventually.

I am curious as to why?

I have seen the amazingly cool things X can do when someone showed them to me a decade or so back, but it has never once been useful to me in the real world.

When I admin a linux server I do everything on the command line via ssh. This is the whole strength of Linux in that you can do everything without needing a GUI. What I have needed far more is the responsiveness that direct display writes from app to hardware give me when running stuff locally.

I never seem to have a need to run a GUI on a remove machine but I use them on my local machine every day so it makes perfect sense to make fast local performance a priority at the expense of remote GUI performance that is not used as often.

Submission + - Google Blurring Distinction Between Ads, Organic Search Results (itworld.com)

jfruh writes: For years, paid links returned from Google search queries have been set off from 'real' search results by their placement on the page and by a colored background. But some users have begun to see a different format for these ads: a tiny yellow button that reads 'AD' at the end of the link is the only distinguishing feature. Google is notoriously close-mouthed about this sort of thing, but it may begin rolling the new format out to more users soon. 'Does Google want to increase its click-through rates as much as possible? Yes,' said a VP at one digital marketing agency."

Submission + - Top U.S. Scientific Misconduct Official Quits in Frustration With Bureaucracy (sciencemag.org)

sandbagger writes: The director of the U.S. government office that monitors scientific misconduct in biomedical research has resigned after 2 years out of frustration with the “remarkably dysfunctional” federal bureaucracy. Officials at the Office of Scientific Integrity spent “exorbitant amounts of time” in meetings and generating data and reports to make their divisions look productive, David Wright writes. He huge amount of time he spent trying to get things done made much of his time at ORI “the very worst job I have ever had.”

Submission + - VLC Finally Launches App for Windows 8

SmartAboutThings writes: After a long journey of more than one year, which included even a successfully ended Kickstarter campaign, the VLC app for Windows 8 is officially here. VLC for Windows 8 is currently in beta, and it lacks some important features, such as the ability to open music files or support for Windows RT devices. On the good side, VLC for Windows 8 supports the same codecs as the VLC application for desktop, from MPEG-1 to H.265, through WMV3 and VC-1; it also supports multiple-audio tracks selection, embedded subtitles, background audio playback, Live Tiles, removable storage and DLNA servers.

Submission + - Ubuntu's Mir Gets Delayed Again

jones_supa writes: Delays keep piling up for the Mir display server on the Ubuntu desktop. After already being postponed multiple times, Mir might not be enabled by default on the Ubuntu Linux desktop until the 16.04 LTS release — in two years time! This was the estimate by Mark Shuttleworth in a virtual Ubuntu Developer Summit. Using Mir, Mark says, will lead to supporting more hardware, obtaining better performance, and 'do some great things' with the technology. He expects some users will start using Mir on the desktop over the next year. Mir is already packaged as an experimental option, along with an experimental Unity 8 desktop session.

Submission + - Mt. Gox kept exchange open despite knowledge of large-scale theft, filing sugges (computerworld.com.au)

angry tapir writes: Mt. Gox may have collected a large sum in trading fees in the weeks before its closure, even though it was already aware that a vast number of bitcoins had gone missing, its U.S. bankruptcy filing suggests. A sworn declaration in the filing from Robert Karpeles, Mt. Gox 's CEO, reveals that the Bitcoin exchange knew in early February that its situation was far graver than it had disclosed at the time.

Slashdot Top Deals

"Don't drop acid, take it pass-fail!" -- Bryan Michael Wendt

Working...