At first I thought my eyes were fooling me, but after taking a second look, I found the SO answer-tick to be brighter than before!
old:
new:
(I find the new color to be too bright and stingy, especially with the white background. The old darker green was nicer for the eyes. Can haz old color ...
is a manga series by Hiroshi Hiroyama (also known as KALMIA), serialized in Kadokawa Shoten's Comp Ace magazine from 2007–2008. It is an alternate universe spin-off of the visual novel Fate/stay night by Type-Moon, with Illyasviel von Einzbern as the protagonist. Various other characters from Fate/stay night and its sequels and spin-offs also appear. A sequel series entitled was serialized from 2009–2012. A second sequel entitled began serialization in 2012. An anime adaptation by Silver Link aired in July 12, 2013 on Tokyo MX. In 2010, a special chapter was serialized in Comp Ac...
About two weeks back I tried to get 2 of my friends to watch Madoka. They were really bored and kept calling her a bitch lol. We only got to like the 5th episode or something. Now we switched to Mirai Nikki and it seems like they're loving it.
OK, here we go again with the weather. Hardly any wind, gone very dark and all the little, buzzing Cessnas etc. from local airfield are all heading back as if their tails are on fire, (which they might be soon if the trainee/novice/weekend pilots get stuck in a thunderstorm).
Anyone tried installing W8 onto drive D: ? I have to test my stuff on that crap and I could use my old laptop, but the laptop has 4GB C: and 64GB D:
Didn’t downvote but I don’t agree – the initialisation is useless here, don’t do it. You make it sound like defensive coding but in reality it just hides a bug, namely the failure to check whether input succeeded. Only initialise variables with meaningful values, not with bogus placeholders. — Konrad Rudolph52 secs ago
If I'm going to initialize anything like that, I prefer to init with a value that will surely cause an exception if not loaded, -1, or INVALID_HANDLE_VALUE, whatever.
@MartinJames Where that’s possible it may be a good solution; unfortunately in the context of that question it isn’t. C++’ input handling is simply a bit deficient, such a situation should never be allowed to arise
Yes, it's UB (§4.1/1): "If the object to which the glvalue refers is not an object of type T and is not an object of a type derived from T, or if the object is uninitialized, a program that necessitates this conversion has undefined behavior."
@Abyx A few machines had a special bit pattern for uninitialized memory that allowed writing, but if you tried to read their value, it threw a (hardware) exception.
@Pawnguy7 It's a bad idea. What you want is probably something like the MIT or Boost license, which is basically: "Do whatever you want, only you can't sue me if you don't like what happens."
Say you write a library and make it available for free. Someone else uses it in their mission-critical nuclear plant control software, but your library contains a bug, and the plant melts down and a lot of people die. Sure, the guy using your library should've audited the code and played it safe, but he could still try to sue you for distributing faulty code without warning people that it was buggy.
Can't blame library writers for just playing it safe then, and having a little clause in the license saying "don't blame me if your nuclear plant blows up because you used this code" ;)
@klyonrad you should be. In my experience, the more critical a piece of software is, the higher the likelihood that it's a buggy unmaintainable piece of shit. :p
@MartinJames It's actually pretty easy. Do the development on machines with no connection to the outside world, and search people as they enter/leave to ensure they aren't carrying any phones, iPods, USB sticks, etc. Have somebody watching at all times to ensure they aren't doing things like hiding a USB stick in a...body cavity. Expensive and stupid, but not particularly difficult to do.
@JerryCoffin It's quite difficult to monitor the activity of all staff 100% of the time. I could build a suitable data transmitter in a toilet cubicle from bits hanging around in labs. You cannot monitor all available VHF/UHF bandwith in all directions.
@MartinJames You don't try -- you only monitor what they have when they enter/leave the area (which, of course, is all contained inside a Faraday cage, so transmitting won't work). It's painful, but can be effective if you're willing to put enough time, effort and (especially) money into it. IOW, it's pretty much how a fair amount of military work is done, and prohibitive for essentially everybody else.
Well, if you are going to put all the staff in a Faraday cage, I would have to spend more than a couple minutes figuring out how to get the data out. Obviously, there must be no windows, (the glass kind:).
Swallowing Atmel serial flash chips sounds like a good approach. If you cut off the pins, they would be difficult to spot even if the staff would agree to daily X-rays, (which they would not:). Maybe with mustard or Branston pickle?
@MartinJames It becomes more difficult when somebody's watching over your shoulder constantly, and starts pointing an rifle at your chest the minute he starts to wonder whether what you're doing falls within the range of what you're supposed to be doing.
@milleniumbug Hmm...open to question. Short of intentionally crippling the compiler, it's hard to imagine a way to make moves as slow as copies for at least some types. As such, although speed may not technically be a characteristic of the language, it's closely enough associated that there's almost no meaningful way to separate the two.
> When the original CLR was stable enough for internal use, people from the CLR team began writing test and sample code in the new C# language, mainly to test the CLR itself. Being C++ developers, these people naturally wrote their first C# code in a style that very much resembled C++, with liberal use of the m_ prefix, very little whitespace or comments, short, cryptic variable names, lots of Hungarian notation, etc.
@Telkitty猫咪咪 Turn it around "why are people who prefer low carb food/drinks skinny?" Becomes almost a tautology: "because they eat/drink the low-carb food that they prefer."
@CatPlusPlus Hey you! I wanted to ask, you removed your vimrc repo from BB because you moved it to Github right? I peek at it from time to time and I needed to know.
@JerryCoffin While new language features may ease the difficulty of creating faster software, it still depends on user to make good use of them. (there are libraries out there that need to be "move enabled")
@milleniumbug The standard library is "move enabled", and a C++11 compiler automatically creates move constructors/assignment operators for a fair number of types, so simply re-compiling C++03 code with a C++11 compiler can give a substantial speedup.
I won't work with the goat ritual - I am the high priestess to the Goddess of hacking and good coding
Any attempt to keep me away from programming related places will result you haunted by the demons of invisible bugs and the devil prince of illogic for the next 3 years.
let the the high priestess to perform some foreseeing ... I see jalf deeply troubled by something ... yes! I can see clearer now! jalf seemed to be troubled by the racing goblin of multithreading!
Ok, now your high priestess needs to do her 8 hours meditation in bed now, peace
@Mysticial hey, you once said that the really important parts of prime are still written in assembler. How much of a performance boost do think does that grant in comparison to plain C?
there's a big difference between the decision to rewrite from assembler to C, and choosing not to author in C the first time around because it's too slow.
he may have decided that, even if C was equal performance now or even faster, that it wasn't worth re-writing
all I'm saying is that it's a complete appeal to authority fallacy, since unless you have a statement by the author which was quite recent stating that he didn't re-write in C because it was too slow, we can only speculate on why it's still in assembler.
@ShuklaSannidhya "Plain old Data". IOW, you can pass an instance of a class with something like a constructor or virtual function to an overloaded function, but not as a variadic parameter (well, you can but you get undefined behavior).
@Rapptz the talk is one month old or so I guess. There is a discussion there between a couple of people about some problems that return type deduction has and that will prevent it to work. The only one that is clear to me is that functions are not deduced to be noexcept (that one is also mentioned in the spec).
Sadly one cannot here what they said. Maybe someone that was there can answer, or maybe some others know the problems already and can also answer.
@Mysticial oh hey! Am I correct in assuming that SSE2 integer instructions basically assumes integers (in an __m128i) to be signed? The instructions which say they operate on "signed or unsigned" integers just do so because they'd produce the same result regardless of the sign?
@stacked I have an object that needs scratch memory, and a LOT of it. So I need to allocate it off my memory pool instead of fresh. So I thought about passing in the buffer and not own it, but then the caller loses track of it. So now I need either handle the deallocation in the object itself, or find a way to keep track of it from the caller.