Cool! Can I use this C# language to create desktop apps that run without modification on Linux, Mac OS X and Windows? Is there a cross platform IDE for this C# language that allows me to develop in the same IDE on Linux as my colleagues do in Windows or OS X?
Also their example doesn't make it clear whether only the bufferedreader will be autoclosed or whether the filereader will be as well.
If you were familiar with the Java IO classes, then you'd know that passing a stream to the constructor of another stream means that it will close the wrapped stream on being closed itself. To make it clearer, on closing the BufferedReader in the linked example, it will close the FileReader - hence why the example code itself doesn't need to keep a reference to the FileReader.
Reading up on the new memory model, it's not to do with the memory representation of an object, so the crappy way C++ mixes the declaration and implementation of classes still sucks.
The coding standard at several jobs have enforced an avoidance of virtual methods unless really, really necessary on the basis that "we're using C++ for performance and virtual methods hinder performance". I have actually had code like your example rejected at code reviews, despite my explanation that such classes change relatively frequently, thereby forcing lengthy recompilation of significant amounts of code. The amusing thing is that there were much greater causes for concern when it came to performance, such as code being written without thread safety in mind and then wrapped in locks that caused serious amounts of contention.
The fault of the language. Private members aren't really private in C++ (thanks to the fuckwittery of "friend" classes), and in practice may prevent linking from working for previously compiled code. I'm not sure whether the previous standards were supposed to preclude that behaviour, and if not whether the new standard with a mandatory memory model does, but I have been bitten by it.
Inversely, removing a private member or otherwise changing the private implementation of a C++ class may require a full recompile of the entire code base - again because of the potential for friend classes accessing that supposedly encapsulated implementation.
Oh fuck off. Duggan was a known crack dealer, and police intelligence indicated he often carried a gun. Hence the armed police apprehending him, as unlike many countries the British police do not routinely carry guns. When asked by reporters on Sunday, none of the scratters going wild in Enfield - where I live - could even name Duggan. As for your assertion that "the first two things to get destroyed both police cars", so fucking what. Within minutes they were smashing up shops on Tottenham High Road and torching a carpet shop with flats (apartments) above it. Then they torched an independent jewellery store, with the fire spreading to the houses converted into flats behind it. That'll show the fucking man wont it. Cunt.
People steal for one of two major reasons. Either they do it for the feeling of empowerment, or they do it because they want or need something.
In this case it's almost entirely for reason three - because they can. Until Tuesday night, the police were so overwhelmed that the looters acted with a considerable degree of impunity. And it's not society at large telling the gangster wannabe scum that they are nothing if they don't have a box fresh pair of trainers - it's their peers and the narrow selection of talentless celebrities they look up to.
That's a fucking nice dig at the retailers, many of which in the places that have been hit are one shop operations serving the local area. Must be fucking great to be you, no doubt working in some company office or on a college course that insulates you from the sharp end of running a business. Twat.
As for whether there's opportunity for all, how come my Eastern European colleagues (some of whom came here as refugees from Kosovo) have made it when the odds are stacked way more against them than it is for these rioters? Yeah, this country is far from perfect, but in London at least there's plenty of opportunity to work if you can actually be bothered.
I've no mod points, but as someone who has lived all over London (New Cross, Waterloo, Hampstead and now Enfield) I couldn't agree more. This is not about police brutality, over use of stop and search tactics or lack of opportunity. This is about feckless scum who want a new pair of trainers. If this was about a lack of opportunity, then why have huge numbers of Eastern Europeans managed to find jobs in London over the past decade? And it isn't about them taking jobs at lower wages than British born people, as many of the immigrants have gone from planning on being here for a few years before returning home to having established careers and businesses that are so successful that they now plan on staying here permanently.
The prisons have capacity for over 3,000 more people according to the Home Office reports yesterday. So far the arrests are around 1,000, and plenty of them will be bailed rather than being placed on remand so the system isn't creaking at the seams yet.
Rioting, which in the UK carries a maximum jail term of ten years. The CPS (not the police - they don't prosecute) would argue that the individual could only have been hit with SmartWater if they had been in the vicinity of a riot.
As for why an apparently calm neighbourhood would suddenly kick off, London has council estates nestling within and alongside otherwise affluent areas. The affluent parts may give the illusion that all is nice and pleasant, but venture down the wrong side street and you can find yourself in a very rough part of town. For example, I used to live in Hampstead - possibly the most affluent part of London - but we had huge problems with feral kids coming in from neighbouring areas like Kilburn, Gospel Oak and Kentish Town.
And finally, I'm sick of people calling the rioters "protesters" or "working class". Looting shops isn't protesting (even if it was, why protest about a known crack dealer armed with a gun getting shot by police?) and most of these chavs have no interest in working. They're an underclass, not working class.
Citations please. I studied Finnish history as part of my degree (three years Finnish language, one year history), and this doesn't sound likely to me. In Finlands case, they had to be bloody careful not to annoy the Soviets - hence the geo-political term "Finlandisation". So I can't see how they could have been doing such research at the behest of the US government.
Instead, the government specifies a system with an insane list of requirements for a huge number of unusual use cases, and then wonders why the project fails.
The contractors are at fault - they bought into a project that was obviously going to fail. They could have done the decent thing, and told government that the requirements needed scaling back, but all it takes is one of the competing contractors to say it was doable and they would all fall in line. Of course, the contracts are so badly written that the contractors can get out part way through, having already made enough profit that any penalties for non-delivery are insignificant.
Then there's the implementation. A former colleague went to work on the NHS system for BT - one of the contractors despite no track record in this kind of system. This colleague was a notoriously sloppy coder, to the point of incompetence, and as a result he had been shunted off of my C++ and Java based project to do trivial PHP work. BT employed him in a fairly senior coding position to do PHP on the NHS IT contract. Shudder.
If it *is* the project, then it's nothing to get worked up about. It's a pretty poor effort to produce the kind of thing that someone unfamiliar with lightweight frameworks such as Spring might come up with for a very specific set of technologies (it's tied to MySQL for persistence and Velocity for presentation).
Based on the - undisputed - version of events that has come out in Sweden, Assange had consensual sex with the first woman who subsequently attended a social function accompanying him. Odd behaviour for a rape victim. He then had sex with another woman, and when the first woman became aware of this she approached the police. Also undisputed is the fact that the first woman had previously written an article suggesting such a course of action to get revenge on any man she felt had cheated her.
Under Swedish law, a large number of things are considered to be a sex crime. The beauty of this if there really is a smear campaign going on is that Assange will now forever be associated with a sex crime that would not be considered an offence in most, if not all, countries apart from Sweden.
As for the title of the Slashdot article, it's misleading. He's not in court for a "sex crimes appeal", he is in court for an extradition appeal.
I haven't any mod points, so I'll just reply to add some detail to your very important points about the build system. RedHat made changes that obscured the build process somewhat, and which may have been aimed at Oracle but ended up affecting CentOS as well. Most notably, builds of some RPM's are made with kernel versions that are only available internally at RedHat - these kernel versions contain patches that may have been released in other kernel SRPM's, but it's not possible to correlate them with the unknown spec file for the unreleased kernel build.
Christ, that's a blast from the past (assuming the reason I don't see his articles anymore is because he isn't contributing them, rather than just because I'm blocking them).
That is not why it is done. Compression of the dynamic range makes the song listenable in a car or on an ipod in a noisy environment. That is where MOST people listen to MOST of their music.
Rubbish. I've had the opportunity to ask a number of mastering engineers about this, and all of them have said that compressing the fuck out of things is driven by a desire to sound consistently loud on the radio. The radio stations themselves use "brick wall" limiting to ensure the peak volume of all tracks they play are the same, and the compression mastering means that a recording is pretty much peak volume throughout. As others point out, when playing on your MP3 player or car stereo you have something called a volume control (although my MP3 player can apply it's own version of limiting or normalisation).
When I've been at mastering sessions, I've always asked for it to be done to preserve dynamics rather than to get maximum volume throughout. This has always gone down well with the engineers, as it means they get a chance to be a bit more creative - and for those not in the know, mastering can have a massive impact on the overall sound of your recording.
Welcome to the current limiting and mastering preferences that take much of the dynamics out of a recording. This is done out of fear that a quieter song, or one with varying dynamics, won't grab the attention of listeners on the radio. However, in tests it's been shown that the lack of dynamics produces "listener fatigue", following which the listener stops really paying attention to what they're hearing.
You've been able to generate music based on algorithms with affordable software since the 1980's. A company called Dr T's produced sequencer software for the Atari ST that included sophisticated algorithmic generators - great fun to mess around with. Before that, analogue sequencers could be used to make music based on tweaking knobs or sliders, and the legendary Roland TB-303 bass sequencer also had a pattern based interface. Analogue sequencers are enjoying something of a resurgence in interest at the moment, with the web making it easy to market what are very niche machines. I'm saving up for one at the moment, having always wanted one since I first heard them used by a band called DAF.
You're last comment also applies to all other eras as well. As for the various Stock, Aitken and Waterman artists you mention, they were late 1980's and even early 1990's. That said, there are people out there who still love the SAW sound - I may think they're mad, as you no doubt do as well, but it just proves the point of my post that music taste is incredibly subjective. Now I'm off to listen to some Einsturzende Neubaten.
I know it's all subjective, but for me the very late 1970s and early 1980s were when most of my favourite music was created - music that I discovered retrospectively. Post punk, new wave, analogue synth stuff and "indie" bands such as The Chameleons or New Order. What I tend to find when people have the "80s music was shit" attitude is that I reel off a few band names from that era, and they respond with "apart from them". That goes round in circles until we've eventually agreed that there are a huge number of great bands and songs from that time. Whereas for me, subjectively, the early to mid 1970s look like a barren period of shite music...
Unfortunately songs have to go top 40 to stand any chance of mainstream radio airplay in th UK. Even then, most of the radio stattions have such a narrow playlist that a lot of music genres don't get a look in. That's why there was such a fuss when the BBC planned to close down Radio 6, as it was one of the few stations that have an eclectic mix of music. The furore suggests that there's a large audience out there who are sick of BBC Radio One and the identikit commercial stations...
Cool! Can I use this C# language to create desktop apps that run without modification on Linux, Mac OS X and Windows? Is there a cross platform IDE for this C# language that allows me to develop in the same IDE on Linux as my colleagues do in Windows or OS X?
That needs to be:
But it does succinctly capture why Stroustrup is a fucking idiot.
Twat
Also their example doesn't make it clear whether only the bufferedreader will be autoclosed or whether the filereader will be as well.
If you were familiar with the Java IO classes, then you'd know that passing a stream to the constructor of another stream means that it will close the wrapped stream on being closed itself. To make it clearer, on closing the BufferedReader in the linked example, it will close the FileReader - hence why the example code itself doesn't need to keep a reference to the FileReader.
Reading up on the new memory model, it's not to do with the memory representation of an object, so the crappy way C++ mixes the declaration and implementation of classes still sucks.
The coding standard at several jobs have enforced an avoidance of virtual methods unless really, really necessary on the basis that "we're using C++ for performance and virtual methods hinder performance". I have actually had code like your example rejected at code reviews, despite my explanation that such classes change relatively frequently, thereby forcing lengthy recompilation of significant amounts of code. The amusing thing is that there were much greater causes for concern when it came to performance, such as code being written without thread safety in mind and then wrapped in locks that caused serious amounts of contention.
The fault of the language. Private members aren't really private in C++ (thanks to the fuckwittery of "friend" classes), and in practice may prevent linking from working for previously compiled code. I'm not sure whether the previous standards were supposed to preclude that behaviour, and if not whether the new standard with a mandatory memory model does, but I have been bitten by it. Inversely, removing a private member or otherwise changing the private implementation of a C++ class may require a full recompile of the entire code base - again because of the potential for friend classes accessing that supposedly encapsulated implementation.
Oh fuck off. Duggan was a known crack dealer, and police intelligence indicated he often carried a gun. Hence the armed police apprehending him, as unlike many countries the British police do not routinely carry guns. When asked by reporters on Sunday, none of the scratters going wild in Enfield - where I live - could even name Duggan. As for your assertion that "the first two things to get destroyed both police cars", so fucking what. Within minutes they were smashing up shops on Tottenham High Road and torching a carpet shop with flats (apartments) above it. Then they torched an independent jewellery store, with the fire spreading to the houses converted into flats behind it. That'll show the fucking man wont it. Cunt.
People steal for one of two major reasons. Either they do it for the feeling of empowerment, or they do it because they want or need something.
In this case it's almost entirely for reason three - because they can. Until Tuesday night, the police were so overwhelmed that the looters acted with a considerable degree of impunity. And it's not society at large telling the gangster wannabe scum that they are nothing if they don't have a box fresh pair of trainers - it's their peers and the narrow selection of talentless celebrities they look up to.
That's a fucking nice dig at the retailers, many of which in the places that have been hit are one shop operations serving the local area. Must be fucking great to be you, no doubt working in some company office or on a college course that insulates you from the sharp end of running a business. Twat.
As for whether there's opportunity for all, how come my Eastern European colleagues (some of whom came here as refugees from Kosovo) have made it when the odds are stacked way more against them than it is for these rioters? Yeah, this country is far from perfect, but in London at least there's plenty of opportunity to work if you can actually be bothered.
I've no mod points, but as someone who has lived all over London (New Cross, Waterloo, Hampstead and now Enfield) I couldn't agree more. This is not about police brutality, over use of stop and search tactics or lack of opportunity. This is about feckless scum who want a new pair of trainers. If this was about a lack of opportunity, then why have huge numbers of Eastern Europeans managed to find jobs in London over the past decade? And it isn't about them taking jobs at lower wages than British born people, as many of the immigrants have gone from planning on being here for a few years before returning home to having established careers and businesses that are so successful that they now plan on staying here permanently.
The prisons have capacity for over 3,000 more people according to the Home Office reports yesterday. So far the arrests are around 1,000, and plenty of them will be bailed rather than being placed on remand so the system isn't creaking at the seams yet.
But what would you charge them with?
Rioting, which in the UK carries a maximum jail term of ten years. The CPS (not the police - they don't prosecute) would argue that the individual could only have been hit with SmartWater if they had been in the vicinity of a riot.
As for why an apparently calm neighbourhood would suddenly kick off, London has council estates nestling within and alongside otherwise affluent areas. The affluent parts may give the illusion that all is nice and pleasant, but venture down the wrong side street and you can find yourself in a very rough part of town. For example, I used to live in Hampstead - possibly the most affluent part of London - but we had huge problems with feral kids coming in from neighbouring areas like Kilburn, Gospel Oak and Kentish Town.
And finally, I'm sick of people calling the rioters "protesters" or "working class". Looting shops isn't protesting (even if it was, why protest about a known crack dealer armed with a gun getting shot by police?) and most of these chavs have no interest in working. They're an underclass, not working class.
Citations please. I studied Finnish history as part of my degree (three years Finnish language, one year history), and this doesn't sound likely to me. In Finlands case, they had to be bloody careful not to annoy the Soviets - hence the geo-political term "Finlandisation". So I can't see how they could have been doing such research at the behest of the US government.
Instead, the government specifies a system with an insane list of requirements for a huge number of unusual use cases, and then wonders why the project fails.
The contractors are at fault - they bought into a project that was obviously going to fail. They could have done the decent thing, and told government that the requirements needed scaling back, but all it takes is one of the competing contractors to say it was doable and they would all fall in line. Of course, the contracts are so badly written that the contractors can get out part way through, having already made enough profit that any penalties for non-delivery are insignificant.
Then there's the implementation. A former colleague went to work on the NHS system for BT - one of the contractors despite no track record in this kind of system. This colleague was a notoriously sloppy coder, to the point of incompetence, and as a result he had been shunted off of my C++ and Java based project to do trivial PHP work. BT employed him in a fairly senior coding position to do PHP on the NHS IT contract. Shudder.
If it *is* the project, then it's nothing to get worked up about. It's a pretty poor effort to produce the kind of thing that someone unfamiliar with lightweight frameworks such as Spring might come up with for a very specific set of technologies (it's tied to MySQL for persistence and Velocity for presentation).
Based on the - undisputed - version of events that has come out in Sweden, Assange had consensual sex with the first woman who subsequently attended a social function accompanying him. Odd behaviour for a rape victim. He then had sex with another woman, and when the first woman became aware of this she approached the police. Also undisputed is the fact that the first woman had previously written an article suggesting such a course of action to get revenge on any man she felt had cheated her.
Under Swedish law, a large number of things are considered to be a sex crime. The beauty of this if there really is a smear campaign going on is that Assange will now forever be associated with a sex crime that would not be considered an offence in most, if not all, countries apart from Sweden. As for the title of the Slashdot article, it's misleading. He's not in court for a "sex crimes appeal", he is in court for an extradition appeal.
I haven't any mod points, so I'll just reply to add some detail to your very important points about the build system. RedHat made changes that obscured the build process somewhat, and which may have been aimed at Oracle but ended up affecting CentOS as well. Most notably, builds of some RPM's are made with kernel versions that are only available internally at RedHat - these kernel versions contain patches that may have been released in other kernel SRPM's, but it's not possible to correlate them with the unknown spec file for the unreleased kernel build.
6) Question Jon Katz' sexual preference.
Christ, that's a blast from the past (assuming the reason I don't see his articles anymore is because he isn't contributing them, rather than just because I'm blocking them).
That is not why it is done. Compression of the dynamic range makes the song listenable in a car or on an ipod in a noisy environment. That is where MOST people listen to MOST of their music.
Rubbish. I've had the opportunity to ask a number of mastering engineers about this, and all of them have said that compressing the fuck out of things is driven by a desire to sound consistently loud on the radio. The radio stations themselves use "brick wall" limiting to ensure the peak volume of all tracks they play are the same, and the compression mastering means that a recording is pretty much peak volume throughout. As others point out, when playing on your MP3 player or car stereo you have something called a volume control (although my MP3 player can apply it's own version of limiting or normalisation).
When I've been at mastering sessions, I've always asked for it to be done to preserve dynamics rather than to get maximum volume throughout. This has always gone down well with the engineers, as it means they get a chance to be a bit more creative - and for those not in the know, mastering can have a massive impact on the overall sound of your recording.
Welcome to the current limiting and mastering preferences that take much of the dynamics out of a recording. This is done out of fear that a quieter song, or one with varying dynamics, won't grab the attention of listeners on the radio. However, in tests it's been shown that the lack of dynamics produces "listener fatigue", following which the listener stops really paying attention to what they're hearing.
You've been able to generate music based on algorithms with affordable software since the 1980's. A company called Dr T's produced sequencer software for the Atari ST that included sophisticated algorithmic generators - great fun to mess around with. Before that, analogue sequencers could be used to make music based on tweaking knobs or sliders, and the legendary Roland TB-303 bass sequencer also had a pattern based interface. Analogue sequencers are enjoying something of a resurgence in interest at the moment, with the web making it easy to market what are very niche machines. I'm saving up for one at the moment, having always wanted one since I first heard them used by a band called DAF.
You're last comment also applies to all other eras as well. As for the various Stock, Aitken and Waterman artists you mention, they were late 1980's and even early 1990's. That said, there are people out there who still love the SAW sound - I may think they're mad, as you no doubt do as well, but it just proves the point of my post that music taste is incredibly subjective. Now I'm off to listen to some Einsturzende Neubaten.
I know it's all subjective, but for me the very late 1970s and early 1980s were when most of my favourite music was created - music that I discovered retrospectively. Post punk, new wave, analogue synth stuff and "indie" bands such as The Chameleons or New Order. What I tend to find when people have the "80s music was shit" attitude is that I reel off a few band names from that era, and they respond with "apart from them". That goes round in circles until we've eventually agreed that there are a huge number of great bands and songs from that time. Whereas for me, subjectively, the early to mid 1970s look like a barren period of shite music ...
Unfortunately songs have to go top 40 to stand any chance of mainstream radio airplay in th UK. Even then, most of the radio stattions have such a narrow playlist that a lot of music genres don't get a look in. That's why there was such a fuss when the BBC planned to close down Radio 6, as it was one of the few stations that have an eclectic mix of music. The furore suggests that there's a large audience out there who are sick of BBC Radio One and the identikit commercial stations ...