5,109 karma · joined Jun 27, 2012 (14y ago) · 1,639 submissions
comment 13y ago · link · parent
The C++ standard uses tables for the equivalent purpose, not C++ declarations, like at §23.2.1 in C++11. Does this mean that C++ should move from header files to an RDBMS?
comment 13y ago · link · parent
One thing I haven't figured out how to do is have a link on my page that triggers an Excel HTML import operation on the current page.
comment 13y ago · link · parent
Edit: btilly below is right, the House isn't technically proportional representation, it's equal-population districts. Still, state by state representation doesn't seem to be breaking reliably for Republicans.
comment 13y ago · link · parent
"Bloggers -- You Might Have Already Had Libel Insurance, but you might have lost it by having ads or a tipjar.":
http://www.volokh.com/posts/1185312054.shtml
Lots of homeowner's and renter's insurance policies cover libel lawsuits, but many of them would exclude a website that makes or attempts to make even a trivial amount of money, such as by Disqus' ads or affiliate links.
comment 13y ago · link · parent
STOP PUTTING CLAUSES INTO YOUR CONTRACTS THAT SAY YOU CAN AMEND THE
CONTRACT AT ANY TIME IN YOUR SOLE DISCRETION BY POSTING THE REVISED
TERMS TO THE WEBSITE
http://blog.ericgoldman.org/archives/2009/06/stop_saying_we_...comment 13y ago · link · parent
comment 13y ago · link · parent
comment 13y ago · link · parent
I doubt they even make good bribes, as compared to other things you get for the price they're hard to show off, don't hold value over time, and are too easily traced.
comment 13y ago · link · parent
comment 13y ago · link · parent
If I could add something, it would be that there are both local and global assumptions, and both need to be specified. There are rules like "this input array must be sorted" and there are rules like these: http://blogs.msdn.com/b/oldnewthing/archive/2006/03/20/55551... (yes, it's bad that this is a blog post and not documented officially anywhere AFAIK). For example, sometimes it's surprisingly hard to find out that the developers of some library you're using assumed that callbacks never throw exceptions, even though it seems to work almost every time.
comment 13y ago · link · parent
That's what happened in this case:
That same year, Bowman applied glyphosate-based herbicide
to the fields in which he had planted the commodity seeds
to control weeds and to determine whether the plants would
exhibit glyphosate resistance. He confirmed that many of
the plants were, indeed, resistant. In each subsequent
year, from 2000 through 2007, Bowman treated his second-
crop with glyphosate-based herbicide. Unlike his first-
crop, Bowman saved the seed harvested from his second-crop
for replanting additional secondcrops in later years.
He also supplemented his secondcrop planting supply with
periodic additional purchases of commodity seed from the
grain elevator. Bowman did not attempt to hide his
activities, and he candidly explained his practices with
respect to his second-crop soybeans in various
correspondence with Monsanto’s representatives.
http://caselaw.findlaw.com/us-federal-circuit/1607718.html("glyphosate" is the active ingredient in roundup, "glyphosate resistance" is the trait developed and patented by Monsanto.)
comment 13y ago · link · parent
For example:
Have them screw with the interface of their favorite websites: pick a greasemonkey script that already does anything on that site and change it to do something different.
Learn the macro/scripting interface of whatever productivity software they have some reason to use already and make it do something.
Find a game they like that has an active scripting or modding community, and fiddle with the game rules.
The idea is to make the mental leap that writing software is just another way of getting the computer to do what you want, and that there's one big continuum from poking buttons in a dialog box to amateur hour hacking to writing "proper" software. Eventually you'll have the ambition to do something that requires more than just plugging pieces together and making edits to stuff other people wrote, and that's when you'll be self-motivated to obtain the knowledge that will make you a more effective programmer.
I realize this is at a way more primitive level than most people think of as learning to program, but IMHO the CS 101 stuff where you learn a language and how to make simple programs from scratch is closer to the "middle" than the "beginning".
comment 13y ago · link · parent
To continue the programming language/mathematical notation allegory, you can use whatever notation you want to describe your program in a Lisp with macros. But you have to actually define what your notation means. Neglecting to provide the definition of the macros would be the equivalent of a logical argument that leaves off its premises or the state of math publications today from the perspective of the poor sap that has to read them (and the mind of the person who wrote it).
comment 13y ago · link · parent
Indeed, the opposite problems are familiar to a beginning programmer when they aren’t in a group of active programmers. Why is it that people give up or don’t enjoy programming? Is it because they have a hard time getting honest help from rudely abrupt moderators on help websites like stackoverflow? Is it because often when one wants to learn the basics, they are overloaded with the entirety of the documentation and the overwhelming resources of the internet and all its inhabitants? Is it because compiler errors are nonsensically exact, but very rarely helpful? Is it because when you learn it alone, you are bombarded with contradicting messages about what you should be doing and why (and often for the wrong reasons)?
The difference is that the CS community recognizes that these are problems; every single thing he's complaining about are open problems being taken seriously and attacked from multiple directions, and there is hope for serious improvement in the coming decades. Anyone who thinks rude snobs, bad documentation, or useless compiler errors are a beneficial is rightly ridiculed as a smug weenie or accused of having an ulterior motive.
By contrast, mathematicians are defensive and complacent about their arcane, non-inclusive notation and communication: "At this point you might see all of this as my complaining, but in truth I’m saying this notational flexibility and ambiguity is a benefit." Look at the litany of problems he just presented. Consider the fact that mathematics is not the only complicated subject that requires complicated, flexible, and rigorous notation. It just isn't credible that the shitty state of mathematical notation is either necessary or unavoidable. The occasional counterexample, where someone with a good understanding of a subject presents it in full rigor without resorting to the usual obfuscation, is a hint of what could be.
If your publications cannot be read without an expert interpreter, they are defective. Hypertext has been around for decades, if you're going to invent your own ad-hoc (or even standardized!) syntax to solve a problem your readers have a right that you document the meaning of your notation.