Slashdot Mirror


User: TemporalBeing

TemporalBeing's activity in the archive.

Stories
0
Comments
3,056
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 3,056

  1. Re:No - there are plenty of safer alternatives on Microsoft To Banish Memcpy() · · Score: 2, Informative

    memcpy_s's buffer size argument should be used for the actual size of the destination buffer. It shouldn't be variable based on user input / program flow, and can likely be determined at compile time.

    Obviously you have never made a parser of any kind. Any time you read a file in, or use a data stream (cin, cout, cerr, etc.), and many more situations (printf, aprintf, aprintf, etc. not to mention document editors, web browsers, etc) you need to be able to have a dynamically sized buffer to at least manage the data between states.

    Now, if you can always guarantee that you'll read a file with the same exact format every single time you run the application, then yes, you can determine it at compile time.

    However, most applications are more like web browsers in that respect - their input changes every time they run; the format changes. (Think of typing in your post - is there any way the computer could have predicted how much text you'd type? Or the server that it would receive that amount of text from you? Or...the list goes on.)

    Please turn in your nerd badge as the XmlHttpRequest hits you while you close the page...

  2. Re:Wow... just wow. on MS Releases Open Source Alternative To BigTable · · Score: 0, Offtopic

    You can't deny that swine flu changed everything.

    Don't you mean Avian-Swine flu?

  3. Re:Is this such a good idea? on South Carolina To Give 1 Laptop Per School Child · · Score: 1

    Where I am, it seems more and more that No Child Left Behind has turned into "Everybody Passes". At some point, kids need to fail and see that there are consequences to their lack of interest in school. Granted, that child needs to be given the opportunity and proper instruction to succeed, but if the child doesn't do their homework and the parent spend no effort they need to see that they can fail. When all of your friends have moved up a grade and you are repeating, that might be motivation for you to get it in gear.

    I fully agree.

    Sadly, some states have legislated (e.g. Virginia) that a child cannot fail more than 3 times in their K-12 academic career. I don't know about SC as I haven't lived there long enough yet.

    I'd really like to see classes broken out by child's ability (Fast, medium, and slow learners). This would let special attention be brought to the kids that need it without dragging down the ones that don't.

    Well funded schools can do so, but only after a certain grade - there just are not enough students otherwise.

    I know my high school did - but then, it was in the richer part of the area where I was too. We had 5 levels of English for each grade, 4 years of Bio, 4 years of Chem, and the list goes on. Now if only we could do that every where we'd be really set.

    However, I think that we do try to dumb things down too much. For example, it frustrates me to no end how poorly we teach English in this country, and how we've probably lost 1/3rd of the language in the last 50 years because of teachers getting lazy and not teaching the full language. (I've been through 3 schools, fortunately the betters ones where I was, and was able to receive a very strong English education - especially the grammatical side - but at the same time I've known a lot of kids that couldn't diagram a sentence if their life depended on it.) We need strong education - and time to educate instead of testing. Clapham School and its more regimented classical education may very well be where we need to go - but we have got to stop playing politics with our student's education to do so.

  4. Re:Is this such a good idea? on South Carolina To Give 1 Laptop Per School Child · · Score: 1

    from what she tells me it sounds like all other attempts to improve the learning process have failed or actually deterred from it. She sounds like she'd be willing to try anything.

    That's mostly because a lot of things - like No Child Left Behind - focus on testing students and leave little time for actual teaching. And don't forget how much teachers now have to think about whether someone will think they are abusing a student or causing all kinds of other issues - so much so that teachers typically have to stick to being non-personal on school time.

    Oddly, though, some schools returning to a more classical education seem to be doing far better...

  5. Re:How can this be? on Windows 7 Users Warned Over Filename Security Risk · · Score: 1

    They probably figured everyone who used it already knew about the hotkey... which, in this case, was probably not a terribly inaccurate assumption.

    That pre-supposes you have access to the hot key. Since you can't remap them in Windows, if you don't have a WinKey you can't access the hot keys - and yes, there are still systems out there (especially laptops) that don't have WinKey's on their keyboard.

    The ThinkPad's just got WinKeys either just before IBM sold off the unit or after it was purchased by Lenovo (likely after). But they're not the only culprit.

  6. Re:How can this be? on Windows 7 Users Warned Over Filename Security Risk · · Score: 1

    Installed and tried out Powershell - nice that it lets you traverse a lot of things (like the Registry) that you are not able to otherwise, but I find it more gets in the way than anything else - especially since they took over a lot of commands (e.g. ls, cp, etc.) that I normally use (GNU Win32 installed) and don't provide anything remotely similar.

    So no, it's not nearly as useful for normal use. Likely for some nice scripting capabilities for a systems administrator, but not for everyday use by hand. It's just not what it's designed for.

    OTOH, I can easily use bash or the GNU Win32 tools (under cmd) to do a lot more useful stuff. Now if only cmd would support pipes better (they often break).

    Seriously, cmd could have been made to do a lot of what bash and other do via GNU Win32 and some better shell support.

    I still prefer bash as it is far more useful - but cmd+GnuWin32 suffices.

  7. Re:Or use non-food crops on More "Miles Per Acre" From Bioelectricity Than Ethanol · · Score: 1

    Even as inefficient and bone-headed as ethanol is, it's providing something like 3% of our liquid fuel needs.

    Inefficient and costly - it probably also means we need more non-ethanol liquid energy to make up for some of the inefficiency in that 3%, probably 3-6% more non-ethanol.

    Last time I checked, 10% ethanol meant I need twice as much fuel for the same distance. Which basically works out to - 10% ethanol per gallon means I need 1.8 gallons of petrol for the same distance that 1 gallon would have taken me before. It doesn't break even until it's at 50% assuming that it continues to only require an extra gallon (not likely). So ethanol means we have a greater need for petrol than we did before, not less.

  8. Re:Question on Court Sets Rules For RIAA Hard Drive Inspection · · Score: 1

    If I handwrite a document such as a letter and write it in some sort of code, can they force me to tell them what it means?

    What if I just say it's just meaningless doodling?

    That'd be pretty easy for me to show...just look at all my class notes from when I was in school - you'd see things like hieroglyphs or Sanskrit all over the margins. Sometimes I felt like my brain was decompressing into the margins - I have no clue what it says, but there's enough similarity across the random scribblings (and I don't just mean the limited order I provided per direction of the scribblings, but the actual look of each mark) that it must mean something...

    Of course there is also my notebook on a language I am working on, and several documents transcribed into it...

    What have you?

  9. Re:Question on Court Sets Rules For RIAA Hard Drive Inspection · · Score: 1

    It's a called evidence of purchase - whether a sales receipt, credit card record, iTunes/PayPal record, bank statement, etc.

    So no, you wouldn't be screwed if you could show a sales transaction took place. And the various companies would probably provide the necessary data with a simple subpoena request any data on transactions by you. (You might not even need a subpoena since you'd be asking for your own transaction history, but a subpoena would get it if they refused voluntarily.) They also likely keep records a lot longer than you would.

  10. Re:Question on Court Sets Rules For RIAA Hard Drive Inspection · · Score: 1

    No - for contempt of court. I would gander that it's not a long time in jail (a day? a week? 30 days?), but it's jail nonetheless. Doesn't mean they'll get what they want, just that you've been punished for not doing what the court instructed.

  11. Re:Another smart move from the movers and shakers. on News Corp Will Charge For Newspaper Websites · · Score: 1

    Some of the same things can be said of the New York Times.

    True. They tried to go to paid subscriptions too, and failed; ended up going back to free access.

  12. Re:Unclean? on Unclean Military Hard Drives Sold On eBay · · Score: 1

    7 wipes may be sufficient in some cases for moving a classified disk from one classified program to another related classified program of equal or greater classification, but never for complete declassification.

    There fixed that for you.

    Moving to a lower classification level is the same as declassifying.

  13. Re:Unclean? on Unclean Military Hard Drives Sold On eBay · · Score: 1

    There's really two states of operation here that can be answered by one question: Did the system in question have sensitive (e.g. classified) data on it?

    If no, then the 7 pass is okay.

    If yes, then it must be destroyed and may never be used for non-classified uses again.

    So if it did have sensitive/classified data on it, then whoever disposed of it did not follow procedure - in which case there will be prison time for someone after an investigation occurs. Otherwise, the consequences will be unknown - though prison is likely, but not likely for as long.

  14. Re:Liquify what? on US Trustee Asks To Send SCO Into Chapter 7 · · Score: 1

    Liquify what?

    Their lawyers? Chief Officers?

    A blender would do a great job.

    But then, their crumminess just might take over whoever drink the mixture...kinda like what has happened with UF's CrudPuppy a few times.

  15. Re:This topic is too hot to handle. on The Coder Behind the Mortgage Meltdown · · Score: 1

    Until dollar loses some value the economy will not pick up and this does not happen until dollar falls.

    There's also another solution - deflation, with currency pulled from the flow to raise the valuation at the same time. Done properly, it'll keep a solid value and raise the valuation while deflating the currency overall.

    The odd thing here is that a currency's valuation is the direct inverse of the inflation it receives over time. Inflation decreases the valuation and deflation increases it.

    Next up: Treasury to issue 1 dollar for every 2 to reverse inflation. (No - that would be the wrong way - but I wouldn't put it past a politician to do.)

    The best way to do it would be to pay down the national debt and balance the federal budget.

  16. Re:But running windows would help on Shuttleworth Says Ubuntu Can't Just Be Windows · · Score: 1

    I just with GNU Win32 had a better installer.

    GetGnuWin32 is okay, but not the best. For starters, it doesn't keep track of what is installed - it just grabs the latest and extracts it to a directory; nor does it register anything as being installed.

    They really need an installer like KDE4 for Windows has - with updates, and all. It'd be so much easier to update the software then.

  17. Re:Better for the environment, but on Natural Gas "Cleaning" Extracts Valuable Waste Carbon · · Score: 1

    So, instead of making canola for cooking, it's being turned into motor fuel.

    So? I use as much Olive Oil as I can when cooking - and yes, I don't eat out much, nor do I eat a lot of pre-made stuff. I prefer to stay away from Corn and Soy based stuff, and staying away from Canola won't hurt either.

  18. Re:How dare they? on Military Enlists Open Source Community · · Score: 1

    Relax, it's most of the same guys who "retired" and took the higher salary to do the same thing they were already doing, for 5 times the cash.

    Except the DoD contractors cannot directly hire out of the military - there must be a sufficient time between the end of their duties for the gov't and the start of their work for the contractor for various clauses to expire....I think the time is proportional to rank, but wouldn't be surprised if it was the same for all.

    Basic reasoning is that they don't want the ex-gov't personnel leveraging old contacts within the gov't and the direct info they had to continue the job - e.g. insider information. Typical time is 1 to 2 years; and yes, the contractors worry plenty about this.

  19. Re:How dare they? on Military Enlists Open Source Community · · Score: 1

    True, The Civilian is probably not making $120,000. However, the Defense Contractor that hired him for $80,000 is getting $120,000 for doing so (and providing his health insurance and, well, that's about it.)

    Try more like $65k, $80k top for the programmer.

    Do Programmers HAVE to sign and swear in order to program? no

    All contracts require the work be done with appropriately cleared personnel - whether gov't or contractor. Clearances do have loyalty clauses, etc. in them, and failure to comply means prison (or exile if you get away, but then you'll be limited to hostile countries, etc. too....so no, life would not necessarily be good, easy, etc. - you'll be forever on the run from the US gov't and its allies).

    Military personnel will likely get some prison, but will also get a dishonorable discharge. Harsher on their family; otherwise consequences are the same - basically treason.

  20. Re:Tax Nonsense on Obama Says 3% of GDP Should Fund Science Research And Development · · Score: 1

    Sometimes spending money is necessary, even when the overall goal is to reduce spending.

    That would be true under normal circumstances - the whole you gotta spend money to make money. However, these are not normal circumstances and the primary cause is debt.

    In such a situation adding debt does not resolve the problem - only makes it worse. So spending more is not going to help and only prolong the problem.

    Sadly, it's the popular thing - so it's what they'll all push to do.

  21. Re:Of course on Strings Link the Ultra-Cold With the Super-Hot · · Score: 1

    I'm no biblical scholar, but I believe that falls under "making shit up to cover your previous nonsense."

    See Genesis 6:3. I was off by a couple chapters - but it is there. So, not - that's not "making [stuff] up to cover your previous nonsense&quot";.

    Looking at Genealogies later in Genesis it takes a few generations, but does end up being the limit thereafter. By the time of Joseph (Genesis 50), lifespans were becoming around 120 years; and certainly by the time of Moses (who died of "old age" at 120 (Deuteronomy 34).

    Again, loking through the various geneologies between Genesis 6 and Deutoronomy 34, we see the various lifespans slowly shrinking.

  22. Re:Of course on Strings Link the Ultra-Cold With the Super-Hot · · Score: 1

    True; however, note that the Bible does give support of such devolution - in Genesis 9/10, it specifically states life spans will go from hundreds of years to a mere 120 years max.

  23. Re:Of course on Strings Link the Ultra-Cold With the Super-Hot · · Score: 1

    There is evidence (mythology and geology) that a large portion of the earth was flooded at one time. Also, nothing in the Bible explicitly says that the Earth was created 6000 years ago. That is a conclusion developed by people who take Genesis very literally

    True and not true. It is based on an assumption that most people make - that there is a very small amount of time between Genesis 2 and Genesis 3 for which there is no time span referenced - so just between Creation and Fall in Genesis 2 and 3 there could have been billion or trillions of years. However, most people assume that there was only a few days time lapse.

    Most take that assumption by counting the Adam's age as being from when he was created. However, it could just as easily have been since the Fall. Truth is, we don't know which Adam's age is referenced against.

    Personally, I admit the fact there is a time period there unaccounted for; and simply say - we can show Biblically that there has been roughly 6000 years since the Fall (e.g. Genesis 2). By taking Adam's age as being referenced against the Fall, then certain things fit better scientifically.

    Again, (personally) using Adam's age referenced against the Fall doesn't affect anything theologically than it would if it was referenced against Creation. If it was really referenced against Creation - well, science is screwed - but there's other reasons why science is screwed any way (namely, the fact that science predicts yesterday based on today; when in fact yesterday may have been different in ways we could not account for by looking at today).

  24. Re:Sorry- but on Mozilla Mulls Dropping Firefox For Win2K, Early XP · · Score: 1

    The other point is that why do you need to configure the system from itself? If it's a web interface you should be able to access it anywhere that has an IP (firewalls permitting). Bring up the config, set things up, stop the config daemon to remove security issues.

    There's a lot of software that by default the web interface is only available from/to the localhost under the assumption that you have to be on the local system to install it, thus you will have access, and allowing access to other hosts may allow someone to break in and configure it before you're ready to.

  25. Re:Leap Seconds on Work Progresses On 10,000 Year Clock · · Score: 0, Troll

    I think they're still missing solar drift and how it affects the lengths of any given year. I think looking through history and calendars and such we can see a 5 day growth over roughly the last 3000 years. Around 1200 B.C. to 500 B.C calendars were created with 360 days per year, and were dead accurate for that time. Years (centuries) later there were adjustments made - the leap day, etc. - to account for some drifting; but even then those newer calendars while pretty accurate then are not accurate enough now. Personally, I think this is because of a growth in the elliptical orbit of the earth around the sun. Likely with the leap day being added once it was big enough to actually make a bigger impact as such. Can I prove it? no; it's just my hypothesis. But I'm sure someone studying the elliptical orbit of the earth around the sun and the speed of the sun its its galactic orbit would be able to see it. (e.g. speed of the sun in the galactic orbit will affect the length of the ellipsis [mostly making it longer] and likely requiring a long time before the lengthening is really noticed; though perhaps short changes in directions could change things quickly as well....) Any how...just saying, there's likely a lot more there than they have accounted for and it will likely be off dramatically in another few thousand years. It'll just show how little we truly understand about the universe; just like we think of how little people understood about everything even just a few centuries ago.