Another part of the problem is that it does not want to let go off the tunnel. Once it matches you into the tunnel, you can drive even 1 km away from it on the street and it will still show your car in the tunnel, until it thinks you have not left the tunnel.
@Veritas "Any good reason why something not trivially copyable is not trivially copyable?" A. yeah, guess what. It turns out not to be trivially copyable!
It's basically the definition of the thing. Anyhoops, define your own swap and implement as bitwise if it happens to be valid for your type. Problemo solvo
@sehe No, it cannot be that. The tunnel is clearly a tunnel. Also, I am evaluating it as a person who worked on Alpine Electronics' car navigations. I am not making shit up.
It's funny how you go from "the map data could have flaws" to "it is clearly a tunnel". I mean, what if the exact location is slightly inaccurate in the map...
@sehe I mean, I am talking as somebody who has some experience with actual development of car navigations and how it does things. It is certainly possible to infer that from the map data.
@sehe Please here assume that all questions are retarded. Trivially copyable types were allowed to do bitwise copying because if not-trivially copyable you need copy semantics when creating a copy of the object. When swapping however there is still only one of each object and I can't think of why that may be dangerous.
@Veritas if it's not trivial, the compiler can no longer assume anything. What if the struct contains 'encrypted' data where the data is XOR-ed with the address of the struct? Clearly bitwise wap is not so ok then
> We are writing to inform you that we were recently able to confirm that there was unauthorized access to a Slack database containing user profile information.
@orlp It fits. What it does not say, the programmer anticipates having to do the same task some time in the future and thus he is saving time this way. :)
@Veritas Just think "what setup/teardown/interpretation could go in constructors/destructors beyond memory management of raw pointers" (even with just raw pointers, what about a linked list, simply swapping two elements would make the linking pointers wrong)
@Xeo: Just because it's legal doesn't mean it's a good idea. Enumerations are for enumerating. That's why they're called enumerations. It's sad that C++ allows this ("It is possible to define an enumeration that has values not defined by any of its enumerators") but I suspect it's for compatibility with existing, legacy, terrible, C software. — Lightness Races in Orbit6 hours ago
@sehe That’s kinda my point though. It’s a half-arsed ADT largely unlike C-style enums. What is there to say about enums from a language-agnostic perspective?
The Bar-Miztvah attack. File under: reasons to stop using RC4. Also file under: extremely impractical attacks http://www.imperva.com/docs/HII_Attacking_SSL_when_using_RC4.pdf [pdf]
Standard ML (SML) is a general-purpose, modular, functional programming language with compile-time type checking and type inference. It is popular among compiler writers and programming language researchers, as well as in the development of theorem provers.
SML is a modern descendant of the ML programming language used in the Logic for Computable Functions (LCF) theorem-proving project. It is distinctive among widely used languages in that it has a formal specification, given as typing rules and operational semantics in The Definition of Standard ML (1990, revised and simplified as The Definition...
Ctrl-F 'case' I guess.
There’s one further down with ye olde shape example.
I was recently told by someone that due to the fact that Stack Overflow uses the CC BY-SA 3.0 license any code examples cannot be used in a commercially available closed source application. This individual works for a relatively large international corporation and regularly speaks with lawyers of...
By definition the CC licenses weren't designed for software / source code licensing. Stack Overflow uses the CC-BY-SA because it's intended as documentation resource, not as code repository. So you won't get an official interpretation on that, in particular not in a generalizable form. — marioFeb 21 at 0:55
I received a response from Stack Exchange.
Spencer,
Sorry we haven't been able to give you more help. More sorry that I still can't add much helpful info. Giving a response that I know is not solving someone's need is about as unsatisfying as this job gets.
I checked back with the f...
If an answer consists in whole of code, and is substantial enough (<- how much is 'enough' can only be determined in court, on a case basis), and no 'excerpt' is made (i.e. copypasta the whole) then there is no exception. Obviously Jeff was aware of this but I still feel like there are people that are just going to see 'code' and 'exception' together and run away with it.
i'm adding token rules like: t_PLUS = r'\+' to make a master regex, i'm '|'.join()ing them. however, i need to append/remove from the join() when i add/remove a rule. to find a more convenient approach, i tried going through globals() looking for things that started with `t_`, but globals() is not ordered in the way I declared the variables. I need to preserve the order (eg, to make `=` not mask `==`)
The reason I doubt this is because of this stupid example. When I was a kid my father moved to the Netherlands and he stopped paying alimony. The institutions told my mom there's nothing they can do about that.
[5.18/1]"In all cases, the assignment is sequenced after the value computation of the right and left operands, and before the value computation of the assignment expression" Since it doesn't specify the order of application of the side effects doing stuff like A[i] = i++; is still undefined right?
@R.MartinhoFernandes Similar things happen to me when I'm thinking about something.
Like if I'm overthinking about something, I might get out of my home and head in the very opposite direction I should go. And then after few meters, I realize I'm going nowhere and switch back.
There was this one time, that I was supposed to drive and follow another car in order to get in some place. Problem was that I was thinking about something else entirely while driving, and we were driving down one of those streets I travel across very often. So when there was the "enter highway" lane where I usually go to, I turned and took the highway while my friend went on.
anyone here read the book National righteousness and national sin: the substance of a discourse delivered in the Presbyterian church of South Salem, Westchester co., N.Y., November 20, 1856, by Aaron Ladner Lindsley ?
The most important resource I can think of right now is you. Don't waste your time. (a) start somewhere (b) ask targeted questions on SO only — sehe40 secs ago
Somehow that may come across complimenting. Of course, it's more of a rebuke
@orlp nah. Yesterday I answered 1 question outside my usual tags. It was disappointing to see it immediately generate more rep than on most boost answers combined, daily or weekly
@StackedCrooked So, now you can do the sky-diving and your bucket list is empty!