* Posts by h4rm0ny

4560 publicly visible posts • joined 26 Jul 2008

Linux distros fix kernel terminal root-hole bug

h4rm0ny

Re: Don't forget the design

>>"The point is that the way unix (and unix like) systems are designed means that bugs are generally more contained, and therefore typically less destructive.

Windows 'all or nothing' design means that a whole system can be rooted by a malformed PDF, JPG or MP3 etc."

Everyone else has pointed out to you that you can run Windows without a GUI since 2008, so I'll cover the error about thinking GNU/Linux is more secure by design. Like your ignorance about GUIs on Windows, it appears your knowledge here also dates from pre-vista.

Windows vs. UNIX permissions

Windows ACLs are substantially more powerful than standard GNU/Linux permissions. They're also more capable than the ACLs that you can install on GNU/Linux but which no-one does. If your immediate reaction is to disagree, please read the link above to a previous discussion.

>>"An extension to that is that I run my servers with everything that is unused stripped from the kernel. I'll never need to use the USB ports, raid controllers, and there is no bluetooth or wi-fi etc."

Yeah, I used to do the same on my home computers. Please do not tell me you are running a professional service on custom-hacked around installs and are out of the distros official packages and updates. What if you leave and your replacement hooks up a SCSI drive or sticks in a USB device and you've removed the modules? What if some kernel update comes down and you don't have the time to start recompiling everything (or do you compile on another machine and copy over binaries?) This cannot be a production machine - please! If I found one of my sysadmins had been manually fiddling around with the kernel of one of our CentOS boxes, I would roast them alive.

>>"Can you do that on Windows? Other than maybe remove a few .SYS files, you are basically stuck."

Well you can uninstall any drivers you don't need if you really want to. It's not going to save you any memory or processor load because they're dynamically loaded as needed just the same as kernel modules on Linux. In neither case are they going to be a security vulnerability if they're not being executed so if you're doing this for security reasons on GNU/Linux, then not only do you not understand how Windows works, you don't fully understand how Linux works, either. A security vulnerability in a SCSI module is not going to be an issue if that module is never loaded. And your server isn't going to load that without a reason. The only gain of removing it is reducing the size of your kernel by about forty bytes. (basically you're removing an if clause that contains a call to load module that will never be triggered).

h4rm0ny

Re: Definition of "local"

>>"A local user is someone who has unprivileged access to run code on a computer. A remote user is someone who has access to provide inputs to a program running on that computer."

I think they were just clearing up that "local user" didn't mean that the person had to be sitting at the machine - they could still be half-way around the world. Obviously most people with Linux experience will understand what local user means in this context, but some will still think if a bug allows a local user to do something, it was meant you had to have access to the machine. You don't.

h4rm0ny

Re: In the Microsoft World

>>"The patch would be ready today, but you cannot have it until Tuesday."

if($bugPlatform == 'Windows') {

echo($WindowsCriticism);

} else {

echo($WindowsCriticism);

}

The bug also wouldn't be detailed as a rule because (with the exception of very large customers), Windows is closed source, meaning the world wouldn''t know the details. Open Source's chief advantage is that it lets you verify when you don't trust the vendor and it lets you fork the code if you're not happy with them / they abandon it.

With bugs, Open Source is a mixed bag. Some people seem to think it is a magical panacaea.

Patch Tuesday is done because it helps enterprise customers manage updates, btw.

Microsoft throws Kinect under a bus, slashes Xbox One to $399

h4rm0ny

Re: Meh.

>>"The Xbox One still has a 50% power deficiet over the PS4,"

I'd be interested to know how you quantified the XB1 as "50%" less powerful than the PS4.

h4rm0ny
Flame

Re: Dictators always fail in the end

>>"You had to have 24hr internet connection to play off line games. You couldn't lend games or rent them and they had no resale value"

Many people kept shouting that you needed to have 24hr Internet connection. You didn't and it was explained over and over this wasn't true, but it was like some kind of mass hysteria. You just needed a brief connection once every 24 hours to verify your games. You could do that just by tethering to your mobile phone for a minute in extreme circimstances. I cannot believe that any but a tiny percentage of people would be affected by this. Most people have their console connected all the time and when they do disconnect it, it's to take it to a friends who also has Internet. But suddenly everyone on the Internet was spending weeks at their uncle's cabin in the mountains where you couldn't even get mobile signal. I don't believe it.

In return for that DRM, MS would have been able to shelve the entire concept of plastic discs. And you're wrong about not being able to lend games (or rent them). Because of the DRM, you could have leant games to people on the otherside of the country if you wanted. You could lend the game whilst still playing it yourself under the deal.

Reselling was the best thing of all under the original model. Instead of going via Gamestop, who pay you a pittance for it and sell it for barely less than new, you could have resold via the game's developers. That keeps money in a closed loop between customer and developer and thus makes the entire cycle more profitable meaning either more investment in games or greater ability to compete on price, or more likely both. As opposed to Gamestop which is a giant machine grafted onto the side of the customer-developer symbiosis which just extracts money to pay for useless things like store space, staffing costs, etc. (Useless from the point of view of customers and developers).

That stupid video from Sony saying "This is how you share a game on PS4" with two people standing next to each other, one handing a DVD over? If I were Microsoft I would have responded with a video showing: "This is how you share a game on XB1" and it would be someone sitting at their console, clicking "share to..." on one of their buddies' names and someone on the other side of the USA at home suddenly having the game pop-up. Oh, and the original person carry on playing.

MS were going to turn discs into nothing more than a means of data exchange. It would have been full of advantages. But hate won, logic lost.

h4rm0ny

Disagree. I think it's another stupid move. The big advantage of the Kinect is that everyone has one - meaning game developers aren't giving up money by making use of it. Also, it's a key part of the plan to make XBox a popular home media centre. MS backtracking on this is a desperate move to try and boost sales and pacify critics. But it wont work. All it will do is shoot themselves in the foot.

MS keep doing this - come up with something really cool and then blink as soon as a bunch of angry people start forum posting.

Powershell terminal sucks. Is there a better choice?

h4rm0ny

Re: bash

>>"You've never seen a mathematical concept expressed using text? I'm told many a computer language is written using text."

Yes. And then compiled into something more efficient.

h4rm0ny

Re: @Uffe, on find

>>>>"That's 2 things already...It is called "find" because it should find files. The UNIX principle would be to leave the "printing" to another tool."

>>When another tool is known like formatting cmdlet in PS, it might be a good idea.

Are you now arguing that Bash lacks a formatting tool? Because that would be an argument that Bash lacks something that Powershell has. In justifying the rolling of formatting functionality into the find program, you have started damning Bash.

But that's not entirely true, anyway. You can pipe the output to printf for example. The problem is though, the ability to print out the file owner is part of find. You originally introduced find's formatting to the discussion as a way of avoiding piping to awk to cut out the owner part of its textual output. Once you go to piping the output to a formatting tool, you're back to having to mangle text to the parts of it you want. You either go back to awk and text mangle, or else you end up with TWO formatting commands - one in find to get the file owner, and then another in the formatting tool to represent it how you want.

Passing objects avoids all this because the receving tool can simply pull out the properties that it wants.

Also, as I pointed out, the moment you find an operation that the multi-purpose find program doesn't have in its arsenal, you're out of luck. Whereas with Powershell it can pipe to anything at all. You have been using find essentially, as a way of dodging the issue of Powershell vs. Bash pipelining. It's a macro, essentially, and says nothing about the merits or failings of pipelining in Bash, only that I picked an example that let you find a way to avoid pipelining to some extent. That's what I've repeatedly been explaining and you've never responded to.

>>" In case of PS, cmdlets work together, utilities don't. "

This is because cmdlets can communicate by passing objects to each other and utilities in Bash have to pass text. I.e. the ability to pipeline objects is a significant advantage. Text is a subset of objects. The ability to pass objects is therefore inherently more capable than only being able to pass text.

>>"Okay, kindly let me know if cmdlets are independent programs. In particular, whether dir (or ls) and Format-Table, date-time are as independent as find, awk, date and Bash? In particular, can I install any of theses cmdlets on my system to work with Bash or Dash? If not, then they are not independent programs and contradict the UNIX principle more than find does."

The UNIX principle is to do one thing and do it well. cmdlets generally adhere to that pretty well. find does not. (Nor do some other popular GNU Utilities). That's why they aren't contradicting it. To say they don't because you probably can't install them on GNU/Linux. (Maybe with Wine? I don't know), is orthogonal to that.

Btw, they are independent programs. They're simply programs that implement the .NET cmdlet class and thus, I believe, can be called from anywhere. So now that your question is answered in the affirmative, then by your own reasoning you see that they do adhere to the UNIX principle. (And as Uffe said, more than find does).

h4rm0ny

Re: @h4rmony

>>I am sorry mam, but your pedantic tone is not bearable to me. Most of your post is dedicated to teaching me and telling me how I was wrong and you're right all the way. (I am a teacher myself and this is not my pedagogical method.) This is how our discussions usually end. Unlike Uffe's posts, yours are felt pretty "ad hominem" to me.

I don't believe I made any ad hominems. The closest I believe I came was observing that you have no experience with Powershell, which you admit. And I asked you about that because you were pronouncing quite confidently on Powershell's weaknesses in many ways that proved false.

>>I beg your pardon, but I cannot continue in that manner.

That's your privilege. But this was a topic on finding a better Powershell terminal and said nothing about Bash's quality one way or another. You entered the topic making many statements about Powershells' inferiority and if you feel that my tone has been that of someone trying to correct you or teach you, I point out that someone who has no experience of Powershell at all trying to argue about it, is almost certainly going to end up in that position.

Whilst I respect your choice not to engage in dialogue with me further, this is a public forum and if you post something which I think is misinformation, I don't have any compunction about not replying to you. You may continue to discuss with me or not as you please.

h4rm0ny

Re: Debate

>>"@H4rmony: May I save the link with your take on ACLs for future use? It is precise my sentiment, but I could never explain it as elegant as that!"

Well by all means. Copy and paste it if you wish, but only if you promise to correct any misaprehensions on it as I strongly suspect you know more about this area than I do! It was the result of my teaching myself ACLs and is written from the perspective of someone who grew up on UNIX. I'm also a programmer by training, not a sysadmin, so it's all from an enthusiastic amateur position.

And thank you for your posts - I've learned a number of very cool things here. Really appreciate your posts.

h4rm0ny

Re: @h4rmony

I withdrew my initial post - a full on discussion of Windows ACLs is way off-topic. So I'm just going to respond to the below with a quick comment and a link to a previous discussion.

>>>>Windows has true first-class ACLs. (ACLs were added later on *nix, and is still not fully integrated - e.g. there is no "octal" representation).

>>First, MS Windows didn't have file permissions at all, remember that time, thus fat32 and earlier filesystems still don't have proper file permissions. The *nix systems had it from day one. Second, what's first-class citizen, what is third-class? Please clarify.

Firstly, yes, we all remember XP. At the time, I was using SuSE and enjoyed taking the piss out of Windows security. That has changed. XP, and OS from over a decade ago, has no relevance to this discussion. In fact, if you find yourself resorting to referencing XP in attacks on Windows security, it's a sign you're unable to recognize the world has changed.

I've already done the ACL discussion here recently, but here is my response to someone else who questioned why ACLs on Windows were better than the GNU/Linux system.

Windows ACLs vs. UNIX permissions

h4rm0ny
Pint

Re: @h4rmony

>>Get-ChildItem | Where Length -gt 2MB | ConvertTo-Html

>>Get-ChildItem | Where Length -gt 2MB | ConvertTo-Json

>>Get-ChildItem | Where Length -gt 2MB | ConvertTo-Csv

That's lovely. I had no idea those existed. Despite this topic turning into a flamewar (there was not the slightest criticism of Bash in my post), it is at least bringing a lot of cool things to my attention. Thanks - I've been really finding yours and TheVogon's posts helpful.

h4rm0ny

Re: @h4rmony

>>with all due respect, I would suggest that the manner in which you try to argue would be a little different than this:

"you're proving to me that 5+5=7, while I am trying to showing you that 3+3=6"

Diminishing your opponent doesn't empower your argument, it's does the opposite dialectical job, for an independent onlooker.

You have a nasty habit of stripping context. You wrote that because I had said you were wrong about something you had the right to say that I was wrong too. I pointed out that someone saying 5+5=7 doesn't get to say someone else's arithmetic is wrong just because they point out yours is. I then went on - and this is quite important - to show quite undeniably that your "proof" was factually wrong (you claimed there were no modern terminals for Powershell) and that the converse was not true (you entirely skipped over my evidence for what I had wrote). Instead of engaging with many of my actual arguments, you have resorted to claiming there's something wrong with the manner I debate or that I'm "diminishing" you. Your own repeated skipping over many of my points and claiming that I don't know what I'm talking about do that.

>>"TheVogon was again using some cryptic language, I was making remarks on that."

Honestly, I understood what they wrote and if you hadn't understood something on their fifteen item list the best response is to ask for clarification. Your accusations of my "tone" are winding me up so here is there list: Post. I've just looked it over and they explain all of their points. I would like to know which on there you found difficult to understand.

>>"If he/she suggested how I could protect the signature from being compromised after I offered to install as a system utility, I simply said that you would be done with the whole system"

This is simply explained. You know how packages you download from a repository on any GNU/Linux distro are signed? Similar thing. You don't say signing those packages is useless because if someone had compromised the entire system they could find a way around that. Same deal with Powershell scripts.

Because Powershell scripts are common and widely shared (scripting is a popular part of managing Windows Server these days), there's a need for signing of scripts. You download Utility X, the signature guarantees that it is indeed from the publisher you think it is. And if somehow an attacker altered a script on your system (you're partially compromised), then the system will detect that and prevent it running. As you can see, it is useful. GNU/Linux doesn't quite have the same enterprise culture of script sharing - you tend to type in something you're looking for, find a script online somewhere that looks like it does what you want (or is close) and copy-paste it from the webpage to your system.

In response to your trying to make an equivalent case for script-signing on GNU/Linux, yes, you could write a wrapper script that checked signatures. It wouldn't by itself stop people bypassing that script, altering the wrapper script (as you yourself point out); and quite frankly it's work, there's no culture of doing this (do you see many organizations publishing signed Bash scripts?) and it's just simply not done. On Windows, this is automatic, baked in and pretty much invisible to the user.

Yes, if someone completely compromises your system, they could interfere with this process. Like signed packages from your distro, that doesn't make it useless. True, for ultimate security you need some way of verifying everything right from the boot stack. I don't know how that could possibly be done but you're right it's a valid security concern. If I found a way around it, I would definitely implement it. I would probably call it something like... "Secure Boot". It just seems that would be a good name for it, for some reason.

>>"Or when it was pointed out how portable and universal S, it can be used for no less than 2 systems! I pointed out it was a joke on potability. Again it was an attack...."

Actually, take a look - the first use of the word "portable" in this thread is yours. Yes it was an attack - you were the one who raised it and used it as a way putting down Powershell. Seriously - go to the first page and search for "portable". It's your post right there. And you did it again in response to Vogon's comment here:

>>"4) Multiple location types and -providers. Even a SQL Server appears as a navigable file system. Want to work with a certain database? Just switch to the sqlserver: drive and navigate to the server/database and start selecting, creating tables etc"

That's not claiming you can run it on GNU/Linux, it's pointing out how cool it is that the OO nature of Powershell lets components expose themselves in neatly integrated ways - such as SQL Server representing itself as a navigable drive (I did not know that, btw. I think it's cool).

As others have pointed out, because Windows is structured in a very OO manner and GNU/Linux is not, it makes Powershell a bad fit for GNU/Linux and Bash non-optimum on Windows (it can't use the power of Windows objects). The only one who raised portability as an assessment criteria was you, and you did so as an attack. That's why people call you on it.

>>You're forgetting that the final was

find . -printf "%u\n" | sort -u

No I'm not. I'm not sure if you're being wilfully obtuse or genuinely don't get why that's not conducive to an illustration of the differences between pipelining in Bash and Powershell. I've gone into this in detail three times already. You've not replied or disagreed with any of the reasons I gave exaplaining this so there's no point in my simply spending my time typing it all out a fourth time. Others have also explained. I can write a program (on Windows or GNU/Linux) that will do the above in a single command with no switches and no piping. It would prove nothing. Seriously, don't respond to this - respond to the earlier times where I explained this fully. Anything else is just trying to avoid the real points in favour of a quick summary.

>>"I also offered AWK because you seemed fixated on AWK in the original post I was responding to and used redundant grep filtering"

I am the one fixated on awk? :o You keep again and again and again making ad homiem attacks, accusing me of "blunders" and such because I write this:

>>find ./ -exec ls -l {} \; | awk '{print $3}' | grep . | sort -u

instead of

>>find . -printf "%u\n" | awk '!match(str," "$1){str=str" "$1;print $1 }'

Can you genuinely not even see how to most people, the version I wrote is cleaner and more understandable? I was comparing complexity in Powershell vs. Bash and I picked the easiest to understand format of Bash pipelining I could. Again, you really want to compare these for your argument about pipelining?

DIR -Recurse | Get-Acl | Select-Object Owner | Select -Unique (Powershell)

find . -printf "%u\n" | awk '!match(str," "$1){str=str" "$1;print $1 }' (Bash)

You're your own worst enemy. But regardless, stop attacking me for using a more readable piece of code. I think in your head you're running some version of "they're being dishonest - they're doing it with more pipes than they have to". I've explained three times why your mental loop is wrong. Go back and actually respond to my explanations if you disagree.

And yes, I'm well aware you actually want to compare to your macro version that does it all in find. Again, I and others have explained why that doesn't prove anything about Bash vs. Powershell pipelining. You claimed that being able to pipeline objects isn't significant. Finding a dedicated program that macros the specific example I gave and lets you avoid using Bash pipes doesn't support that.

>>"No I don't, I never said that, I only likened PS cmd-lets to Bash built-ins, get it now?"

In a word, 'no'. You said "All those maybe even good properties of PS are what is built-in for Bash"

I pointed out that find is a program, not an intrinsic part of Bash that is "built in". I didn't think your argument made any sense because you seemed to be confusing GNU Utils with Bash and possibly cmdlets with Powershell. If you're likening cmdlets to GNU-Utils, I'm afraid I don't see your point.

>>"Please show me it with example, since his example was not very convincing."

I'll correct you on two points. It was convincing and it's "her example". The latter doesn't really matter but I dislike the presumption that anyone technical is male and seeing as my non-guy status was metioned earlier in this thread already, I might as well correct you.

h4rm0ny

Re: @h4rmony

>>"1) I was not trying to show superiority of Bash over PS. No and it wasn't a response to you directly, if you look up. Someone said that "PS is better than Bash, period" I tried to question that statement, by asking to specify it"

I didn't recall anyone saying what you put in quote marks in this thread. I've just searched through all three pages and it's not there. The post you actually replied to at the start of all this was a direct answer to someone saying "why not just use Bash" and their actual reply was this:

"How about because you can't pass objects in bash, just a bunch of text. You can do a lot more in Powershell, but bash still has it's place too."

They are very far apart in tone, imo, and not really equivalent in meaning. As to whether it's justifiable to say you can do a lot more in Powershell, TheVogon has produced an impressive list, some of which you have been able to find ways of replicating in Bash using third party add ons. Quite simply, no-one actually said what you claim and whilst you did ask what exactly Powershell could do that Bash could not, every answer given to you has been attacked and I think it is reasonable to say that what you have been doing here actually is to try and show that Bash is superior to Powershell.

>>"My confidence in the fact that it might be hard to beat the old school was based on the Novelty of PS and that they had been dismissing CLI approach in general"

Novelty? The first release of Powershell was in 2007, nearly seven years ago. And it's on version 4 now. I sense an incoming response that Bash has been around a lot longer. It has. That doesn't mean that a project that went to release seven years ago and has been in continuous development since is "novel". And it's already been pointed out to you that MS are not "dismissing CLI approach". Powershell runs through their entire OS now and Server 2012 is routinely administered by it. To be clear, there is no part of Windows Server that cannot be managed via Powershell . Its entire GUI is wrappers for Powershell scripts (which you can export and examine, btw). That is not true of any GNU/Linux distro that I know. There is a reason I am fascinated to learn it.

>>"2) you made a few blunders in your criticism of Bash's shortcomings as "overcomplicated syntax " choosing a much more complex syntax than that one in fact needs"

I've gone back through my posts and nowhere have I used the phrase "overcomplicated syntax" which you attribute to me in quotes above. Indeed, the only instance of me actually even using the word "syntax" was where I quoted you.

The only "blunder" I made was to write sort | uniq rather than sort -u. They are equivalent in output, my version is a little easier to read and infinitesimally longer in performance, possibly. You have zero grounds at all to start making ad hominem attacks claiming I am unaware of how to use Bash or that I'm trying to make it look bad.

The "blunder" of using awk's output to a pipe instead of trying to do everything in awk? Seriously? I've already answered that once. I'll repeat it. My aim was to show a simple illustration of how Bash handles piping and you claim I'm not fairly representing it by writing this:

find ./ -exec ls -l {} \; | awk '{print $3}' | grep . | sort -u

instead of:

find . -printf "%u\n" | awk '!match(str," "$1){str=str" "$1;print $1 }'

On what planet will you find people who think the latter is more human-readable than the former? My point stands. I have not made "blunders" so stop trying to convince people I'm talking out of a position of ignorance.

>>"All those maybe even good properties of PS are what is built-in for Bash"

You are confusing Bash with GNU Utils. find is not "built into Bash", it's a program and the reason Uffe called it a monster is because it violates seven ways to Sunday the UNIX principle of do one thing well. It contains its own print formatting language for example. Powershell is far more adhering to the principle of "do one thing well" in that the equivalents return an array of file objects and you pipe it to a formatting cmdlet. The same cmdlet you would use for other programs output as well - thus you get consistent formatting language and discrete programs.

>>"That is why there is a find utility that does finding files damn well. You can't beat it at that."

Why can't you beat it at that? It's just a program. Why would an equivalent program running on a Windows box be worse? How do you even know that DIR -recurse and piping the file objects to another isn't just as good? It's certainly more flexible - remember you never answered my question about what if you wanted to perform an operation that find didn't support? In my example I piped the output of DIR to a cmdlet to get the file owner. It so happens that find has that in its list of formatting options. But I could pipe the file objects to anything at all including things that find does not handle. Remember that find is just a program, it's not Bash. If you want to perform an action on the files that find does not support you're back to text mangling.

>>"I was not going to go into details of what can find do and PS can't (again as Uffe pointed out above)."

Actually, I would like you to. I very much want to hear what find can do that can't be done in Powershell. Maybe I wont know how to do it, but someone here will and I will certainly learn from them.

So I'm taking you up on that. You are clearly implying that find can do things that can't be done in Powershell, so just give me one example. All that I ask. And if my tone is creeping back toward argumentative, you have basically been calling me a liar several times now. So please - one example.

>>Please look up the posts written by Roo and this one

I'm not at all sure what I'm supposed to be responding to there. They say they use PyShell, Fine by me, more power to them. Python is a powerful language and extremely well-designed. They say they didn't think Powershell was as good as "Unix shell" (I'll assume Bash). Well, okay. Fine. They have an opinion. They don't actually list any facts or arguments so it's just their opinion which they are entitled to. You however, are making arguments and so people are shooting down innacuracies. Honestly, if you're now making an appeal to authority argument with Zane's post as the authority then I really can't get where you're coming from.

Pointing at another poster and saying effectively 'look - they didn't like it and they used it' as a means of exculpating your own complete lack of experience with Powershell is just flawed.

h4rm0ny

Re: @h4rmony

>>"Ih4rmony, I am sorry to try making you believe that 5+5 = 7, however you have proved that indeed 3+3=6. How silly of me and haw smart of you. I apologize about getting into a discussion with you."

I'm sorry things have become heated. Or it sounds as though they are perceived that way. I'm actually very happy to continue this discussion. But I have backed up my points and you did say you had "proof" that command line was "in its infancy" on Windows and the proof you offered was the lack of a decent terminal. And many people have offered examples of good terminals. ISE that comes with Windows (which I simply didn't know was there) has built in debugging for Powershell scripts so you can step through them and set breakpoints. That's a solid argument so I do feel able to say your point was wrong. And yes, I do reject the idea that it's just a matter of perspective with you saying I'm wrong having as much validity as my saying that about a factual error on your part.

>>1) I don't know Powershell at all

Which is what I've been saying. That doesn't mean you can't produce relevant arguments because you obviously know Bash. But it does mean you shouldn't speak authoratitively about what is wrong with Powershell. You've made numerous assumptions which have turned out to be wrong.

>>"2) I know quite some shell scripting and have been using bash even before PS was launched by MS (in 2005-2006)"

Yes. Same here. I think I first used Bash in around 2001? Something like that. I've never needed to write extensive scripts in Bash, but I have written some and I use Bash pretty much daily. I have a feeling this is leading up to an Appeal To Authority (yourself) or Ad Hominem (myself) argument.

>>3) you don't know of Bash and Linux/Unix and utilities enough to judge how much PS is better than all them combined

And here it is. A statement about what a stranger on the Internet can know. I've literally been writing Bash script in this discussion as we went to illustrate my points! What possibly gave you cause to declare I don't know enough? That I piped the output to uniq instead of using the -u flag on sort? Hardly an error - just a different way of doing things. Or that I used sort / uniq at all instead of doing everything in awk? Honestly, I was doing everyone a favour there. I was showing how a Powershell script can be a little simpler than a Bash script sometimes. And you would prefer instead of using this to represent Bash:

find ./ -exec ls -l {} \; | awk '{print $3}' | grep . | sort -u

I used this:

ls -l | awk '$1 ~/x/ && ! match(str," "$3){str=str" "$3;print $3 }'

Well no, sorry. But I was trying to show Bash in a fair light. Mine is a lot cleaner and easier to read than yours. Just because I don't produce some overbearing glob of awk, does not give you grounds to call me a liar.

>>"In proving that 3+3=6 you also forgot about people criticizing PS that actually did have to use PS at one point in the end of this thread."

What exactly is it that you think I have forgotten from other people's posts?

h4rm0ny

Re: i just love it

>>Start recording fight for later Youtube hilarity.

Well okay... But make sure you encode in H.264, not VP8.

h4rm0ny

Re: AWK, which you don't seem to know

Firstly, let's clear up one thing:

>> it's not me that started to boast, that "Bash is better PS"

There wasn't one word of criticism of Bash in my original post (I have huge respect for it). But you threw in several swipes at Powershell in your answers so really most of this debate has stemmed from people correcting your criticism of Powershell.

Indeed, you even ask for such replies explicitly:

>>The main thing is though, how PS compares with Bash and other shells in usability, ease and power as shell, an envelop between utilities and processes? That is the real question.

So please do not cast me (or several others) as "bashing bash". It is not my intent. Also this part:

>>1) More on this, you declared my statement "wrong", so I felt I could do the same to yours :) If my own, no your own case, is not proof to you, your proof might not be a proof to me.

Reasoned debate doesn't work that way. If you claim 5+5 = 7 and I show you're wrong, you don't get a freebie to say I'm wrong when I write 3+3 = 6. Reality is not a socialist government that believes in fair distribution of correctness. I gave good solid reasons which you skipped over. You gave flawed reasons which I examined and refuted.

Okay, that out of the way, I'd like to respond to your reply to me in the specifics.

>>>>find ./ -exec ls -l {} \; | awk '{print $3}' | grep . | sort | uniq

>>why using find? Why to pipe it to uniq if there is a way to handle it with -u?,

>>reminds me of peculiar pipes like "cat file | grep..." or "cat file |sed ....")

>>Sorry, you didn't get awk as I can see, you don't have over-complicate it:

>>ls -al | awk '$3 ~/./ && $1 ~ /x/{print $3}'| sort -u

As another has pointed out, that doesn't do the same thing. I used find to be recursive. Fair catch about using the -u switch rather than piping to uniq. I was doing it rather old-fashioned, but then that's why I invited you to improve on my script if you could.

Anyway, someone else wrote this but you didn't respond to them in your reply so I'm going to repeat it. One of your main claims is that Powershell is harder to read and that OO nature makes it more complicated. So again, how is the Powershell version (second) the more unintuitive one?

ls -al | awk '$3 ~/./ && $1 ~ /x/{print $3}'| sort -u (bash)

vs.

DIR | Get-Acl | Select-Object Owner | Select -Unique (Powershell)

The only things I see potentially confusing in the Powershell one are that someone not familiar with Windows wont know that Get-Acl gets you the file permissions and owner. But the structure of it is pretty simple. As another poster wrote, I'm not damning awk as bad, I'm explaining how on Powershell it's not needed. You can extol what a good nozzle-cleaning widget your inkjet printer has all day long, but it's going to mean nothing when you're trying to claim your inkjet is better than a laser. Awk is a patch for something Bash can't do. It's great, but you can't use it as an example of why Bash is better than Powershell, and you were the one that brought it up saying Powershell couldn't rival awk.

Also, let's look at the other example you posted to show how you could skip the piping to sort:

ls -l | awk '$1 ~/x/ && ! match(str," "$3){str=str" "$3;print $3 }'

I understand that, but to my mind it is even more complicated than the first one.

The recursive one you came up with really starts to show the differences, however.

find . -printf "%u\n" | awk '!match(str," "$1){str=str" "$1;print $1 }'

vs.

DIR -Recurse | Get-Acl | Select-Object Owner | Select -Unique

See how not having to mangle text in between each stage lets you focus on the components that actually do what you want? That is my point. Indeed, you kind of prove my point with your final and shortest example which is interesting:

>>find . -printf "%u\n" | sort -u

What you've effectively done here is dodged the question of text mangling by finding a program that does everything in one (or most of it). The point of the example was an illustration of how cleanly you could pipe a list of file names to another cmdlet which then did an operation X on them, in this case, getting the usernames. In your example, what you've done is found a program that already does X as part of it .Suppose X was an operation that find didn't support - you're back to text mangling. You've essentially responded to my point that text-mangling to pipe things is complex in Bash by finding a way to avoid the use of pipes with what is essentially a macro. :)

>>(you might use the 2>/dev/null to rid of the permission problems if any)

That's another thing. In Powershell you can have it throw an actual exception and you can handle that how you choose. Rather than just direct error messages to an output file or terminal to see if anything shows up.

>>2) "type coercion", what the hell? It's not a shell then.

As others have pointed out, where is it written that a shell shall not support type coercian? It's a useful feature. Also, this just adds one more piece to the puzzle of how much you actually know about Powershell. You skipped this question before so I'm just going to ask it again: do you have any significant or real world experience with powershell? Because you are making extremely confident pronouncements about its inferiority.

h4rm0ny
Thumb Up

Re: The eldist Niece reports ...

I have this funny feeling your niece's highschool are going to miss her. A lot. :)

h4rm0ny

Re: vim, modularity

>>"So you might not be such a big connoisseur of vi(m) as it turns out"

No idea what in my post prompted that. I've been using it for over a decade. All I said was gvim felt a bit weird which it did. I'm used to plain vim on a terminal. Looks and feels odd using it with icons.

>>>>This is wrong

>No, you're wrong.

Well, this is good debate!. :/ You cut off and ignored a full paragraph immediately after where I supported my statement. You claimed command line was an "afterthought" and "in its infancy" on Windows. I showed it had several advanced features, was integrated into the OS at a very deep level and showed that it was widely used by Windows professionals. Enough to refute what you said.

Now you say you have "proof" which is that there is "no usable terminal". As it turns out from this thread there are quite a few. I (still learning, remember) just didn't know about them. I'm now using ISE which is built into Windows. Try that and see what you think.

>>"it can't be more capable than bash as a glue between utilities and apps, "

Why can't it? This is getting dangerously close to a faith-based argument. Bash works by passing text. Powershell can pass objects (which can be text). Ergo, Powershell has a greater capability of joining "utilities and apps". It has try...catch, strong typing. Each of these things adds capabilities that Bash does not have. Now if you can't find the converse - things that Bash can do that Powershell can't, then by definition Powershell is more capable.

>>"it can't be more efficient than find, sed awk, grep and others"

As before, why can't it? Also, these are programs, not part of Bash and there's zero reason an implementation on Windows can't perform the same tasks in the same way. I'm not going to be lulled into attacking sed or grep because I have no reason to - I like them - and I'm not going to be put on the side of MS vs. Linux when I like and use both. I will pick up on awk however, not because I detest it or anything, but because it will provide an illustrative example of how you're ill-informed on this.

Awk is used to join up disaparate programs in Bash by hacking around with textual output that Bash uses. Say, I don't know - I want to find the owners of a list of files. I might do something like this:

ls -l | awk '{print $3}'

Fair? Prints out the third block of text in the ls -l output which happens to be the owner of a file. If the owner happend to be the fourth block of text in the output, I'd use print $4. (I know you know this, but this is a public forum so I'm trying to include everyone in the debate and some wont be familiar with awk). Why are we using awk? Because the output of ls is just lines of text. So if I want to do something where I take part of the output of one program and feed it to another program, I need to write parsing code in between the programs with awk to get them to play together.

That's not necessary in Powershell.

When I run ls in Powershell (or "dir", they're aliases and it has both), the output is an array of file objects. They will be text when they need to be. I.e. they have built in conversion that the user never needs to think about. Output to the screen, you get the same list of files as in Bash because it treats it as text. HOWEVER, I can pipe the file objects to something that wants more than just text.

DIR | Get-Acl | Select-Object Owner

The point is not that this is simpler than the Bash example (they are both trivially simple), but that awk is completely unnecessary in Powershell. It would serve no purpose. Saying that Bash has awk is not an advantage over Powershell. If you were familiar with Powershell you wouldn't make a comment such as "it can't be more efficient than awk", because awk is redundant there. It's purpose is to fudge joining programs together and Powershell is inherently more streamlined and efficient in how this is done by design.

Say I extend that example abouve and want to get all the unique owners in a directory hierarchy:

DIR -Recurse | Get-Acl | Select-Object Owner | Select -Unique

(the first component above gets a recursive directory listing, the second takes the array of file objects and gets their Access Controls, the third selects the owner object from the access control objects and the final part prunes the result set so it only contains uniques)

Simple, and no fudging around with string parsing. I'm going to take a quick stab at an equivalent in Bash. By all means, please produce a simpler version if one occurs - I do not mind.

find ./ -exec ls -l {} \; | awk '{print $3}' | sort | uniq

Except that's not working. The ls -l command prints out a summary at the foot of each directory which doesn't have a third block of text so I get blank lines in the output. Maybe I can put in a special case to deal with it:

find ./ -exec ls -l {} \; | awk '{print $3}' | grep . | sort | uniq

There, now the grep will only return lines with content. (I haven't tested this, but I'm pretty sure it'll work. If I've made a mistake, it's not a deliberate attack on Bash!).

See - this is a really simple task and I've already had to put in two components (the awk and the grep) that are only there to finangle joining up disparate programs

Yes, the Powershell example might contain unfamiliar commands to people not used to it (just the same as find or uniq are unfamiliar to those not used to them), but each is actually a logical command with a purpose by itself, not a command there solely to fiddle around turn the outputted string from one into the correct input for the next. Really it's actually three bits added just for text mangling as the sort is only there to get similar lines consequtive so that uniq can work. The Powershell version of uniq (Select -Unique) takes an array of anything in and works on it, so no ordering is necessary.

>>"If tries to do everything by itself, like math, regex, text manipulation it is no good."

I'm not sure you're really getting how this works. Windows has cmdlets which are compiled programs in and of themselves. You use these in Powershell just as you can use programs like sed in Bash. So it doesn't have to do "everything by itself". Also, why would you suppose the code built into Powershell to handle regular expressions is inherently less efficient than the same code put into a discrete program and piping the strings to it.

>>"I thought that OOP nature makes it more complex, but I might be wrong"

The point of object orientation has always been to make code simpler and more maintainable. It wasn't developed for the sake of performance, you know? Go back to any of the old back-in-the-day arguments from old C programmers railnig against C++ if in any doubt on that. ;)

Also, how do you think this OO makes it more complex? I am genuinely mystified by that so would genuinely appreciate a specific example showing a case of Powershell being more complex than Bash because of OO.

>>"What actually makes it harder is its syntax which doesn't look as clear, elegant as GNU Bash uses."

Again, please provide a specific example. In many ways Powershell and Bash are very similar. Powershell actually has a number of things that make it more readable. If I want a particular part of an expression to evaluate first, I wrap it in parentheses. E.g.

$a = ( Get-Content .\*.sql | Select-String "INSERT" )

$a now contains all the lines from the files ending .sql that have the text INSERT in them. The parentheses make it simple to see that the pipe of get-content to select-string are all handled as one thing before being assigned to a variable. Very easy to read. Why is a Bash equivalent clearer or more elegant? In fact, by all means come up with your own examples - only they must be performing the same task else it's a nonsense.

>>Sorry, I forgot about your allergies for Microsoft's criticism and sorry for your sneezes and coughs this have caused :)

I am fine with criticism of MS. What I dislike is criticism that is not true. I also disllike how a simple request for help with finding a better terminal becomes an assault on Powershell by someone confidently stating it is inferior whilst they clearly have very little to no experience using it. You will, I hope, admit you have little to no experience with it? Given the questions you've asked here and the things you've been pulled up on, you're going to be very hard-pressed to claim otherwise.

EDIT: And you have once again turned someone who genuinely likes both GNU/Linux and Windows into someone who has to argue the case of one over the other, simply because you relentlessly push your favourite, forcing others into the role of defending that which you attack. Seriously - Bash has been going a very long time. Is it that inconceivable that MS could not have made some refinements?

h4rm0ny
Pint

@TheVogon

Thank you for that. I didn't know half of the things on that list and now I have a lot more things to look into and learn! It's a cliché I avoid, but if I could mod your post up several times, I would. I can definitely think of a use for number 9 right now. (PWA). Cheers!

h4rm0ny

Re: vim, modularity

>>"(gvim on Windows, is there such thing?)"

Yes. I used it years ago but it felt a bit weird, to be honest. Now that I know about ISE I'm using that currently and I like it a lot. It's lacking the History functionality of Bash, but other than that it meets my needs. In fact, it has a docked sidebar by default which lets you search through all the cmdlets and bring up all their parameters. You can search by name (incl. partial matches) so you've effectively got a kind of permanent man page to hand. And auto-complete on them.

>>"When I was using cmd.exe last time...about 7-8 years ago, the default terminal was ugly and appalling by the same reason, I guess."

It's fairly silly to liken that to modern-day Powershell. For example, now that I know about ISE (thanks to the many posters here who mentioned it), I've got tabbed terminals and the auto-complete that I just mentioned earlier...? The reason I mentioned is because it applies to all the parameters as well so as you type a command it has a hovering list of the parameter names and their type much like I were programming in Eclipse or similar. The Gnome Terminal doesn't have that! And ISE has built-in debugger for scripts letting you set break points and step through them, hovering over variables to see their values. I don't do that with Bash scripts much. Honestly, it rivals any terminal on GNU/Linux, imo. Why it's not the default and hidden away out of sight, I have absolutely no idea. It doesnt even show up on the normal program search.

>>My own explanation is that CLI tools and environment are still MS' afterthought and their infancy, there is till no culture for it in place

This is wrong. Powershell forms the basis for much of modern Windows Server and Windows 7 and 8. Pretty much every element of the Windows Server GUI is just a wrapper for Powershell scripts. That certainly can't be said for the GUI configuration tools on any GNU/Linux distro that I know of. Powershell runs right through it and I can manage pretty much any aspect of Windows through it. That's not "infancy" and Powershell is used routinely by Windows admins. Indeed, default state of Windows Server now is to install without a GUI. That's definitely not a case of "no culture for it in place".

Powershell is actually more capable than Bash in many ways and in some respects simpler. I had no intent to criticize Bash. My original question (which got promoted to the main page) was just a simple request for a better terminal (which has been answered), but all your reply contains what I perceive as little swipes at Windows. I don't know if a Vs. discussion is what you want, but it's a poor choice of battlefield if so because Powershell is at least on a par with Bash, and better in some ways. (Unsurprising as it's newer and MS got to learn from Bash).

h4rm0ny

Re: In what way, (other than GUI), does Powershell actually suck?

It's not a troll question and I don't think it does suck. I originally posted this question on the user forums because I was learning Powershell and found that the standard terminal for it was way behind the GNU/Linux equivalents. I actually quite like Powershell itself.

I think you replied a little too hastily to my post, tbh, if that's how you see it.

h4rm0ny

Re: Powershell? Arrrggggghhhhhh

>>"The sad thing is that MS has you over a barrel if you don't install the GUI (Server 2008/12). Then you are more or less forced to use pwershell for everything."

Genuine question - if you want the GUI, then why can't you just configure it on?

h4rm0ny
Pint

>>"I concur. Powershell ISE is extremely useful it's the best way to write Powershell scripts."

Someone directed me to this after the original forum post. It's incomparably better than the default terminal and I was learning Powershell for a while without even knowing it was there! They really should make it the default. I love the way that it has a searchable list of cmdlets docked by default that shows all the parameters and definitions. It's like having a permanent man page easily accessible and waiting.

Minor annoyance - I wish they'd make it so that double-clicking on a cmdlet performed the Insert action. It just feels like it should. More significant annoyance - no history between sessions. Though I can see that as a supportable design decision for security, I'm used to it on Bash.

Thanks for the response, btw.

h4rm0ny

Re: bash

>>"I am almost sure that h4rmony is not an Emacs guy"

Neither, actually. :)

And yes, I use 'vi' pretty much universally and occasionally switch to kate (on KDE) when I want to cut and paste large chunks of code around or use block editing or change character sets. I'm sure emacs is great, but learning either vi or emacs are lifetime tasks so it really has to be one. ;)

>>"As far as the terminal emulator is concerned. So the default terminal sucks? Someone supposedly came up with a good car, but forgot to attach good wheels to it? Who is it again? I think I know this company"

Well that's the principles of good, modular design. Like I have an "Ubuntu" box, but I don't have to use Unity, I use Xfce (Xubuntu) instead.

Like the way you couldn't help but slip a "supposedly" in there, btw. Even with a metaphor you're careful not to imply MS might have produced something good. ;) :D Thank you for the reply, however.

h4rm0ny

Re: jpsoft

>>"On the third hand ... why not just use bash by installing cygwin? Perhaps with the jpsoft command window."

Well, several reasons. I haven't used Cygwin in years. It was pretty clunky then though I'm sure it's better now. But I would prefer to use the native approaches just because these will be better integrated with the OS. For example, there are a wealth of cmdlets out there I want to use. For example, I've been playing with Storage Spaces on Windows 8 (with a mix of good and bad results, but that's a tangent). I can configure and manage these with the cmdlets in Powershell. With a ported Bash environment, I don't think that I can.

Also, it's about learning something new. As I said, I've been using Bash for over a decade (an vi too, which means I'm about half way through learning all the shortcuts ;) and I'm interested to see what Powershell can do. For example, I can pipeline objects in Powershell which is absolutely great. It's not just about creating directories and being able to grep through files. Which is why I didn't really look at Cygwin. I kind of want to be bi-OS properly as I really like both.

Anyway, tangent - I never expected this to appear on the main page. I posted it in the user forums a while back but I'm gratified by all the replies here!

Boffins debunk red wine miracle antioxidant myth

h4rm0ny

Re: One more off the list...

I think everyone has kind of missed my point. I'm looking for a pill of some sort.

We have decades of modern scientific research. Surely some of these wonder drugs have held up as actually having a positive effect. Surely someone has decladed 'X declines with age, let's make a supplement containing X' which actually works. Everything I read is just "this thing doesn't actually work". Where are the reports showing things that actually do? What should I be taking?

h4rm0ny

One more off the list...

...of miracle supplements. So what are the things that do mitigate the effects of aging? It's 2014, we (the species) have been studying the body and what does and does not affect it for a long time now with ever better tools.

But all I see are debunks.

Surely we have found some things that we can take which do help? So what are they? Surely there has to be more to fending off the years than just eating less and running. What cheap fixes actually do work?

Google CAN be told to delete sensitive data from its search results, rules top EU court

h4rm0ny

Re: Barmy (@Psyx)

>>"Having their details pop up on the internet is just a more convenient means of procuring the same information."

For "just a more convenient means", read "makes something trivial which was all but impractical previously".

Good laws are there to prevent harm. If the environment changes so that something starts to be a lot more harmful than it was previously, then sometimes laws should be adjusted.

Mozilla axes HATED Firefox-ad-tab plan ... but will try again

h4rm0ny

>>This is what happens when you do the holier than thou thing over and over. First it was the homophobic/loser CEO who had to go, and now its Mozilla thinking it can force MORE ads on us through the very browser we use to see less of them.

I'm not quite clear on how inserting ads is an escalation of ousting their previous CEO over contributions to an anti-gay marriage campaign.

First stage: Identify homophobia in upper echelons.

Second stage: Insert ads.

What process, exactly, are those logical stages of?

h4rm0ny

Am I the last person on Earth...

...who would be willing to pay for software?

Seriously, if it's good, I'm happy to buy it. Free as in Speech, not Free as in Beer. Yes, someone can take the source and make their own version and distribute for free, or just compile it for their own use. But the latter are no threat to the wider market and the former would then have to come up with a long-term business model to support the free distribution. Which would probably mean going back to ads to them so it still wouldn't be quite a competitor to the ad-free Firefox. And indeed, Mozilla could pull the rug out from under any would-be competitor who tried that by simply doing an ad-supported version in parallel with their paid one.

Like YouTube - if I could pay a pittance (e.g. a fiver for a year subscription) to not have all those ads, that would be worth it to me.

Do we really have to have everything for free?

WTF is Net Neutrality, anyway? And how can we make everything better?

h4rm0ny

Re: We need an alternative charging paradigm

>>"I have long thought that the only fair way to charge for the Internet is for everybody to pay for the data they send"

This would require a more robust and anonymous and pervasive payments system than we currently have.

It would also reqiure site owners to be able to distinguish between desired audience and undesired audience because their costs will no longer be under their control and that's the only way they'll be able to take control back. If I, as a competitor to YouTube, can just rack-up a lot of video views that I have no interest in and push their costs up (and ability to charge for advertsing down, btw), then they're in trouble.

I feel that provider pays shifts emphasis of the Internet away from open and free, to more closed.

h4rm0ny

Re: "it can't really work any other way"

>>"The "other way" is all packets traveling at the same priority. Care to start a network that operates on that basis? :)"

When you say all packets travelling at the same priority, are you saying all streaming video packets travelling at the same priority as all everyday tweets and emails? Because that is justifiable. But I think you're then using that fact that packets are handled differently to sleight-of-hand into it being okay that streaming video packets of company A can be treated differently to streaming video packets of company B.

Saying that all types of packets cannot be / are not equal is one thing. Saying that all senders / receivers are not equal is a very different thing. It is wrong to abstract both and just say "packets cannot be equal" as if there is no difference. Network Neutrality is about the latter, not the former.

Powershell Terminals

h4rm0ny

Ah, very useful. Thanks. I've struggled to find good starting points for getting into programming on Windows. This is excellent. Cheers.

h4rm0ny

Re: Powershell Terminals

Thank you. That is a wonderful tool and why is that not the first thing mentioned in any introduction to Powershell? Scratch that - it ought to be the default much like you get a proper shell environment on any GNU/Linux distro instead of just a terminal.

Thank you very much - that's going to help a lot!

Hacktivists hijack BNP Twitter account, crayon over leader Griffin's too

h4rm0ny

Re: I see the lefties are out in force on El' Reg today.

>>I didn't say it was an insult

>>"I never said you did, but others took it that way."

Why did you cut off the second half of my sentence that you quoted?

I said your view was inaccurate and showed why. You replied saying you didn't mean it as an insult. I replied saying that I didn't say it was insulting, I said it was inaccurate. You cut off the part about it being inaccurate and said that you never said that I said it was an insult.

Mine was the post you replied to and changed the title to "I see the lefties are out in force". Clearly you were characterising me as a Lefty and it's easy to show you're wrong. Just accept that.

h4rm0ny

Re: I see the lefties are out in force on El' Reg today.

>>"I'm actually just left of centre on the political compass... maybe that's why I don't see 'left wing' as a radical insult."

I didn't say it was an insult, I said it was innaccurate. My criticism isn't because of some political allegiance, it's because of sound economic reasoning and a dislike of sexism, racism and homophobia. Right-wing are just as entitled to feel this way as the Left. (More so with the "sound economic reasoning, imo. ;) )

h4rm0ny

Re: I see the lefties are out in force on El' Reg today.

>>"I'm sorry you felt my 'Title' was an attack upon you, it wasn't intended to be taken personally like that. It comes from my own observations that the kind of 'name calling' you decided to undertake generally comes from the political left."

I'm not posting this just to be contrary but I'm actually fairly Right-Wing, and I made the original joke that kicked this off. I've gone into quite some detail about my objections to UKIP and I don't think of my reasons can be characterised as Left Wing.

If in any doubt, you can check my posting history. Obviously not every post I make is "reduce government! smash trade barriers! more workfare!" But if you look back through my history you'll see I'm quite clearly not Left Wing. Other than being in favour of the NHS and semi-supportive about government intervention in public transport infrastructure, I really can't think of any position I do hold that is squarely Left.

Britain'll look like rural Albania without fracking – House of Lords report

h4rm0ny

Re: Is'nt

>>"You know, the same pillocks who were told in 2005 we need to be really cracking on with building either nuclear or gas power stations ready for 2015 ...."

They were told by experts we needed to build nuclear or invest in clean gas-power stattions. But they were told by very vocal sections of the public not to.

Sometimes politicians are short-sighted because they're beyond their expertise. Sometimes they're short-sighted because they're greedy and want payoffs for their friends. But sometimes they're short-sighted because we threaten to kick them out of office for doing something unpopular.

Regards nuclear and CO2, the latter is a pretty big factor, sadly.

h4rm0ny

Re: US gas 1/3 price of UK gas.

>>"Well if that's what'll be piling up in the streets why don't we use them for heat and power then? Given the state of our ageing population I can see a few crumbly-fired power stations being economically viable."

I would say that is a very modest proposal.

How Google's Android Silver could become 'Wintel for phones'

h4rm0ny

Isn't there a risk that someone can get in their first, though? If Nokia next year go: "Hey, here's our Android Gold" device, or Amazon release an "Android Diamond range of tablets", what's to stop them?

(Not that I think they would, just an amusing thought).

h4rm0ny

Re: How does this affect patents and extortion by Microsoft/Apple?

>>"Doesn't Silver free vendors from patent claims while pointing all fingers to Google?"

I think so long as the OEMs are ultimately the ones charging money for the phones, they remain liable for the patent licensing costs. Any phones that Google produce and sell directly will obviously be liable, but I think doing it via subsidies and "managing production" lets them continue to pull the same clever maneouvre - making money off Android whilst others pay the cost for any patents it infringes.

Microsoft may launch several new Surfaces on May 20 – report

h4rm0ny

Re: Yet Again!

>>"I will say a majority of people just do NOT want Windows on their tablets or phones. End Of!"

Even if true, so what? Many of us do and that creates a market. The majority of people don't want GNU/Linux but for many of us it suits are use case and thus GNU/Linux is a valuable market.

It's only "End of!" if you (a) take for granted what you say is true and will always be true, (b) think there should only be one, most popular, product.

Choice is good.

h4rm0ny

Re: "I've only ever seen a couple of Surfaces in the wild."

>>Same here

So it's no longer enough that you post the same stupid link on every Surface story for the past couple of years, you now post it multiple times in the same story?

You really are just a bot, aren't you? Go through Reg stories, see story with Surface in the title. Find high-ranking post, insert link. You're so in the habit of doing that you haven't even realized you did this story yesterday and have the same dull link a few posts further down. Why don't you add a laugh track too?

h4rm0ny

Re: Full fat windows 8

I agree that Desktop gets unwieldy wants you start dropping below 11". But just to note that you don't need "full fat" Windows to use Desktop. This is a Surface RT: http://i61.tinypic.com/2d1oltl.jpg

I run MS Office on mine quite happily.

h4rm0ny

Re: Dear Microsoft

>>"Try here."

Gasp. A pre-release piece of software (Netflix), running on a pre-release version of the OS, installed on pre-release hardware, hung for a few moments. I'm deeply perturbed that such a thing could happen and will be returning the Surface I've used happily for a couple of years immediately.

Oh, I didn't actually click your link but it's the clip of Steven Sinofsky finding it didn't respond for a few seconds and putting it down and picking up a spare, isn't it? I know because you've been posting the same desperate clip for around two years now on every Surface story. I'm right, aren't I?

Speaking in Tech: 'I get told to wear makeup by other women'

h4rm0ny

Re: Trouble at the bottom

Here's a helpful hint. When the interviewer told you it was £7 an hour, you weren't supposed to reply: "I can afford that."

h4rm0ny
Paris Hilton

Re: The most likely reason for the filthy joke metric

>>"Most likely that social more has come about so that everyone knows that the woman is "safe" to relax and crack jokes around "

That never even occurred to me. A signifier that a woman is not a threat to the existing level / tone of discourse... o.0

The need for such a signifier is itself concerning. Though I take your point about Adria Richards. As a feminist, I was furious at the damage she did to our efforts for equal treatment. I can be quite sensitive to sexism but even I didn't see anything wrong with that joke and her response was completely out of order.

Okay, I can kind of see the appeal of a signifier to men in the workplace that they don't have to be on 'best behaviour' all of a sudden. But what bugs me is when a woman has to start taking on exaggerated culturally male behaviours to offset that she is a woman. The technique of being more lad than the lads. If that's how someone is, then fine. But as well as a signifier or non-threat as you highlight, it also is often a defensive thing to overcompensate for being female. And I would prefer it if no woman saw a need to 'compensate' for her gender.

Also, guys shouldn't feel threatened by the presence of women in the workplace so that special reassurances are required. Honestly, if you're telling racist / sexist / homophobic jokes or acting such in your workplace, a Black / Female / Gay member of the group should not have to play up how much they're like the others so that they feel reassured and comfortable continuing to behave that way.

But a dirty joke doesn't need to be sexist. Someone should tell Adria Richards. But then Adria Richards lost her job ultimately, for tweeting that picture. And it provided an excuse for a lot of nasty misogynistic people to crawl out of the woodwork too. So really there are no winners with sexism on any "side".

Web cesspit 4chan touts '$20 bug bounty' after hackers ruin Moot's day

h4rm0ny
Thumb Up

Re: I think it's a bit harsh

As long as sanctimonious and hypocritical do-gooders can use the power of social media to ram their political agendas down everyone's throats, destroying the careers, reputations and lives of anyone who disagrees with them, claiming freedom of speech while rationalising their denial of it to others with specious justifications, there exists a need for sites like 4chan where people can share their views anonymously without fear.

Yes, it is a cesspit. But we all need somewhere to shit."

That... was a beautiful speech.