My favourite related Java question to ask in the context of security is: "What's the difference between char[] and String, eg if I have one in a critical API as a public static?"
I'm quite happy to hear slightly 'wrong' answers as long as someone understands a little about wrapping/immutability and so on...
"WILL NEVER": gosh, not true and never has been unless you know the exact CPU and execution paths and data sets that you are compiling for, for all executions of the statically-compiled code. Please don't regurgitate this stuff.
When maintaining a C++ build system used internationally by a large bank I had to guess what the optimal target instruction set variant, cache line size, etc, would be over the lifetime of the output code, which was always a compromise over London/NYC/TOK/etc and a huge range of dev and production hosts of various ages. And with most/much of the library stack unsafe for C/C++ threading even though almost none of our machines (eg desktop or server-farm) where single CPU you could not then and could not now say whether C++ or Java would be necessarily faster on a given machine, given all the CPU- and run- specific optimisations the JVM has available to it that C++ does not.
I currently work on a Java low-latency high-frequency trading platform in the day job and an ASM/C/C++ based microcontroller platform for my start-up. And I think that I've been using C++ and Java for most of their existences, amongst other languages (I've been writing ASM for >30y); I have a fair idea of what is fast and what is productive.
Well, not entirely. Still has its own nuke, gas and (erk!) coal, at least for now. And still not enough interconnection to depend very heavily on anything outside its borders I suspect (I must look up those figures vs winter peak demand).
Don't get me wrong, I'm not against nuke at all, it's just not the panacea that is frequently claimed IMHO.
Much (not all) of what they're learning at school is like scaffolding; they need to retain it to get to better things but not necessarily for its own sake after that. I've managed without various apparently-essential rote-learnt elements too. (I loved physics because you had to remember about 4 things to pass the exams, including inverse square law and Ohm's law; I hated biology at times since it seemed to require lots of meaningless memorisation of things best looked up when actually needed.)
But if they drop that scaffold too quickly then all sorts of more interesting and lucrative and enjoyable opportunities will elude them, I think.
Apparently many of your <slightsnark>freedom-loving</slightsnark> countrymen *do* want it that way.
I mainly freelance, but I believe 2 weeks + about 2 weeks of public holidays is pretty much the EU minimum for permanent staff.
(I did fairly badly at school for a long time and then was ill; I don't think I'd have have been able to have had in the US the relatively good and 'entrepreneurial' life that I've had here in the UK. I'm just in the process of getting a new start-up into gear for example.)
I'm a primary school governor and I believe that the teachers at my school would much prefer a shorter summer break as the amount that gets forgotten each time, especially by pupils with marginal progress and attainment, is eye-watering. And that hurts them LOTS in later life. That does NOT necessarily mean more school days in the year, just differently distributed.
Also, more breaks spread out and less contention for the same block of a few weeks over summer would possibly make for cheaper and less stressful / crowded holidays.
(I also happen to believe that letting teenagers start the school day much later would be more humane and conducive to good results also.)
Well, actually, it does. Because Android to be useable requires Google account.
No.
I very deliberately did NOT set up a Google account on my Android Fairphone, and it does the basic things just fine, like, um, phone calls and even alarms. It even takes OK pictures.
I have EU citizens' contact details in my phone and I think that, given NSA revelations, I would be breaking the law to knowingly share/sync those details with/via a US entity such as Google (or Apple).
Would be nice to have local contact and calendar sync with my MacBook (OS X 10.9) but Apple made that hard, not the lack of apps on the phone so far as I can tell.
On which planet? They work just fine as long as you are not expecting unicorn farts. 15% of UK electricity roughly, ~50% of German.
And nukes are hardly perfect (though I have nothing against them and want at least some in the mix); ignoring the waste issue they don't load-follow well or at all (solar PV is a natural match for some/most load given that we're diurnal), and sometimes only manage twice the capacity factor of wind (eg look at some UK nuke fleet capacity factor vs offshore wind).
Solar PV and reglazing (unless currently in a very poor state) should usually be low down the list of things to do if you are driven by maximising ROI (or ERO(E)I).
Rgds
Damon
PS. Having said that I have already done PV and triple-glazing though have not quite finished internal wall insulation works: see earth.org.uk
Ed is too painful to use under any circs IMHO, but I have been using vi (or in fact "pcz" + vi variants) since ~1984, so I was only 8 years late to the party.
I prefer non-interactive editing in the absence of vi, eg sed/awk/egrep...
Yes, they do materialise, just not in your/GGP's attention span it seems, nor all at once, nor at your convenience. Read an electronics catalogue rather than/. if all you want to know about is things ready *now*.
I have the benefit of a nice big LiPO4 pack at home, enough to run my server for a couple of days, which would absolutely not even have been a twinkle in my eye when I started in electronics and computing for example. Oh and a couple of months' worth of lead-acid behind it, essentially a century-old technology with a little bit of gel and MPPT cleverness folded in much more recently.
Retail tech is full of tiny incremental improvements, which sometimes started as R&D tech breakthroughs many many years before.
The solution is to have (almost) anyone use (almost) any socket and use a little thing called technology to bill the right person. Then sockets can be installed on public streets and in communal parking areas as well as in private driveways.
We do it with mobile phones, and we already do it with *some* plug-in EV points.
The tech isn't that hard.
Actually getting a suitably universal plug and socket seems *as* hard.
Rgds
Damon
PS. I have no driveway and would need a solution like this.
Because YouTube is not a monopoly and it's not unreasonable or unfair of it to try to recover costs (or, gasp, make a profit) somehow.
Nothing stops you nor anyone else hosting elsewhere or on your own physical server etc etc. I have several (media) servers around the world but for the latest media I put up YouTube was convenient and fast and free. Bandwidth is not free, even for Google.
Hmm, I prefer Java over C and assembler because although I can write highly stable and secure code in C/asm, the effort to sustain the required level of paranoia and navel-gazing is for most code better directed elsewhere to visible benefits. I write code that actually has respected security crazies and bank auditors telling me to lighten up a bit, yes really!, but I'm still perfectly capable of making a mistake.
However, I'm inclined to think that whoever wilfully lets code out the door without appropriate bounds checking and incredible scrutiny of all input should face some kind of punishment.
(I dislike C++ because it combines the traps of C/asm with some novel ones of its own, but fools programmers into thinking that they are in a safe programming environment... Yes, I did a lot of C++ design and coding in mission-critical applications too!)
When has being a Java dev gotten anybody laid?
Umm, I don't think you're holding it right. WORKSFORME.
Rgds
Damon
My favourite related Java question to ask in the context of security is: "What's the difference between char[] and String, eg if I have one in a critical API as a public static?"
I'm quite happy to hear slightly 'wrong' answers as long as someone understands a little about wrapping/immutability and so on...
Rgds
Damon
+1 for ProGuard; I use it for my main Java Web app and apart from anything else PG vastly reduces the size of the .war I'd otherwise have to ship.
Also, not all of my target hosts have a full server-class JVM/optimiser, so getting stuff done up front is a good thing.
Rgds
Damon
"WILL NEVER": gosh, not true and never has been unless you know the exact CPU and execution paths and data sets that you are compiling for, for all executions of the statically-compiled code. Please don't regurgitate this stuff.
When maintaining a C++ build system used internationally by a large bank I had to guess what the optimal target instruction set variant, cache line size, etc, would be over the lifetime of the output code, which was always a compromise over London/NYC/TOK/etc and a huge range of dev and production hosts of various ages. And with most/much of the library stack unsafe for C/C++ threading even though almost none of our machines (eg desktop or server-farm) where single CPU you could not then and could not now say whether C++ or Java would be necessarily faster on a given machine, given all the CPU- and run- specific optimisations the JVM has available to it that C++ does not.
I currently work on a Java low-latency high-frequency trading platform in the day job and an ASM/C/C++ based microcontroller platform for my start-up. And I think that I've been using C++ and Java for most of their existences, amongst other languages (I've been writing ASM for >30y); I have a fair idea of what is fast and what is productive.
Rgds
Damon
Maintenance and refuelling is done when demand is low, eg in summer.
In the UK I don't think any nukes explicitly load-follow, unlike in France for example, though one (Sizewell B) could.
Rgds
Damon
You make me even happier with my 3-and-a-bit-days-per-week contracting job with most of the rest spent on my startup! %-|>
Rgds
Damon
Well, not entirely. Still has its own nuke, gas and (erk!) coal, at least for now. And still not enough interconnection to depend very heavily on anything outside its borders I suspect (I must look up those figures vs winter peak demand).
Don't get me wrong, I'm not against nuke at all, it's just not the panacea that is frequently claimed IMHO.
Rgds
Damon
Much (not all) of what they're learning at school is like scaffolding; they need to retain it to get to better things but not necessarily for its own sake after that. I've managed without various apparently-essential rote-learnt elements too. (I loved physics because you had to remember about 4 things to pass the exams, including inverse square law and Ohm's law; I hated biology at times since it seemed to require lots of meaningless memorisation of things best looked up when actually needed.)
But if they drop that scaffold too quickly then all sorts of more interesting and lucrative and enjoyable opportunities will elude them, I think.
Rgds
Damon
Hi,
Apparently many of your <slightsnark>freedom-loving</slightsnark> countrymen *do* want it that way.
I mainly freelance, but I believe 2 weeks + about 2 weeks of public holidays is pretty much the EU minimum for permanent staff.
(I did fairly badly at school for a long time and then was ill; I don't think I'd have have been able to have had in the US the relatively good and 'entrepreneurial' life that I've had here in the UK. I'm just in the process of getting a new start-up into gear for example.)
Rgds
Damon
Um, in a reasonable employment environment that is a straw man.
In the UK it would be illegal to only give an employee a week off per year.
Rgds
Damon
Indeed, let's do both please.
Rgds
Damon
I'm a primary school governor and I believe that the teachers at my school would much prefer a shorter summer break as the amount that gets forgotten each time, especially by pupils with marginal progress and attainment, is eye-watering. And that hurts them LOTS in later life. That does NOT necessarily mean more school days in the year, just differently distributed.
Also, more breaks spread out and less contention for the same block of a few weeks over summer would possibly make for cheaper and less stressful / crowded holidays.
(I also happen to believe that letting teenagers start the school day much later would be more humane and conducive to good results also.)
Rgds
Damon
Well, actually, it does. Because Android to be useable requires Google account.
No.
I very deliberately did NOT set up a Google account on my Android Fairphone, and it does the basic things just fine, like, um, phone calls and even alarms. It even takes OK pictures.
I have EU citizens' contact details in my phone and I think that, given NSA revelations, I would be breaking the law to knowingly share/sync those details with/via a US entity such as Google (or Apple).
Would be nice to have local contact and calendar sync with my MacBook (OS X 10.9) but Apple made that hard, not the lack of apps on the phone so far as I can tell.
Rgds
Damon
Only to a degree, and typically less following is possible as the fuel load gets older in each reactor.
Rgds
Damon
They already do from time to time in (eg) Germany and Spain.
Rgds
Damon
Wind and Solar do not work yet.
On which planet? They work just fine as long as you are not expecting unicorn farts. 15% of UK electricity roughly, ~50% of German.
And nukes are hardly perfect (though I have nothing against them and want at least some in the mix); ignoring the waste issue they don't load-follow well or at all (solar PV is a natural match for some/most load given that we're diurnal), and sometimes only manage twice the capacity factor of wind (eg look at some UK nuke fleet capacity factor vs offshore wind).
Rgds
Damon
Solar PV and reglazing (unless currently in a very poor state) should usually be low down the list of things to do if you are driven by maximising ROI (or ERO(E)I).
Rgds
Damon
PS. Having said that I have already done PV and triple-glazing though have not quite finished internal wall insulation works: see earth.org.uk
http://e360.yale.edu/feature/u...
http://www.rsc.org/chemistrywo...
http://phys.org/news/2013-10-a...
Rgds
Damon
Still here, wasting food and oxygen, or it is just (say) brown people in far away countries unlike you that are useless?
Ha!
Ed is too painful to use under any circs IMHO, but I have been using vi (or in fact "pcz" + vi variants) since ~1984, so I was only 8 years late to the party.
I prefer non-interactive editing in the absence of vi, eg sed/awk/egrep...
Rgds
Damon
Yes, they do materialise, just not in your/GGP's attention span it seems, nor all at once, nor at your convenience. Read an electronics catalogue rather than /. if all you want to know about is things ready *now*.
I have the benefit of a nice big LiPO4 pack at home, enough to run my server for a couple of days, which would absolutely not even have been a twinkle in my eye when I started in electronics and computing for example. Oh and a couple of months' worth of lead-acid behind it, essentially a century-old technology with a little bit of gel and MPPT cleverness folded in much more recently.
Retail tech is full of tiny incremental improvements, which sometimes started as R&D tech breakthroughs many many years before.
Rgds
Damon
The solution is to have (almost) anyone use (almost) any socket and use a little thing called technology to bill the right person. Then sockets can be installed on public streets and in communal parking areas as well as in private driveways.
We do it with mobile phones, and we already do it with *some* plug-in EV points.
The tech isn't that hard.
Actually getting a suitably universal plug and socket seems *as* hard.
Rgds
Damon
PS. I have no driveway and would need a solution like this.
Because YouTube is not a monopoly and it's not unreasonable or unfair of it to try to recover costs (or, gasp, make a profit) somehow.
Nothing stops you nor anyone else hosting elsewhere or on your own physical server etc etc. I have several (media) servers around the world but for the latest media I put up YouTube was convenient and fast and free. Bandwidth is not free, even for Google.
Rgds
Damon
Hmm, I prefer Java over C and assembler because although I can write highly stable and secure code in C/asm, the effort to sustain the required level of paranoia and navel-gazing is for most code better directed elsewhere to visible benefits. I write code that actually has respected security crazies and bank auditors telling me to lighten up a bit, yes really!, but I'm still perfectly capable of making a mistake.
However, I'm inclined to think that whoever wilfully lets code out the door without appropriate bounds checking and incredible scrutiny of all input should face some kind of punishment.
(I dislike C++ because it combines the traps of C/asm with some novel ones of its own, but fools programmers into thinking that they are in a safe programming environment... Yes, I did a lot of C++ design and coding in mission-critical applications too!)
Rgds
Damon
There's a Downing Street in NYC, last time I looked, but it was a sewing materials and/or repair shop IIRC.
I'm downing my expectations of Americans understanding British idiom.
Rgds
Damon