411 karma · joined Sep 15, 2012 (14y ago) · 131 submissions
comment 10y ago · link · parent
So if your PHP file executes eval($_GET['code']), then arbitrary folks can submit whatever code they want as a parameter -- as in /index.php?code=blah -- and have your webserver run it for them.
[1] http://php.net/manual/en/function.eval.php [2] http://php.net/manual/en/reserved.variables.get.php
comment 10y ago · link · parent
I had pictured this as being essentially Gauss's algorithm, but if Wikipedia is correct, this particular implementation is due to Tomohiko Sakamoto in 1993.
https://en.wikipedia.org/wiki/Determination_of_the_day_of_th...
comment 10y ago · link · parent
The short answer is: Federalists voted for it, and Democratic-Republicans voted against it.
If I'm reading the House and Senate Journals correctly, the relevant legislative history is as follows:
1. 1798-06-08: The Senate approves the bill. https://memory.loc.gov/cgi-bin/ampage?collId=llsj&fileName=0... https://www.govtrack.us/congress/votes/5-2/s99
The bill passed by a vote of 17-6 (GovTrack reports this as 16-7 for some reason). Of the 12 members of the 1st US Congress who were senators in the 5th US Congress, two (John Henry and John Vining) had resigned well before the summer of 1798, and four (James Gunn, John Langdon, Philip Schuyler, and Theodore Sedgwick) did not vote on the bill. The remainder voted on straight party lines:
* Affirmative: Theodore Foster, Benjamin Goodhue, John Laurance, Samuel Livermore. (Federalists)
* Negative: Timothy Bloodworth, John Brown. (Democratic-Republicans)
2. 1798-06-21: The House approves the bill, with amendments. https://memory.loc.gov/cgi-bin/ampage?collId=llhj&fileName=0... https://www.govtrack.us/congress/votes/5-2/h90
The bill passed by a vote of 46-40. Of the 9 members of the 1st US Congress who were representatives in the 5th US Congress, one (William L. Smith) had already resigned at the time the bill was considered, and two others (Thomas Hartley and Josiah Parker) did not vote. The remainder voted as follows:
* Affirmative: Abiel Foster, James Schureman, Thomas Sinnickson, George Thatcher. (Federalists)
* Negative: Abraham Baldwin, Thomas Sumter. (Democratic-Republicans)
3. 1798-06-22: The Senate concurs in the amendments. https://memory.loc.gov/cgi-bin/ampage?collId=llsj&fileName=0...):%230020505&linkText=1
Either there was no vote here, or the yays and nays were not requested. The Senate Journal just says that they took into consideration the amendments and resolved that they concur in the amendments.
comment 10y ago · link · parent
Of the 95 members of the 1st US Congress, 21 (~22%) of them were members of the 5th US Congress, with the following breakdown:
* 5 senators (~17%) remained senators;
* 9 representatives (~14%) remained representatives; and
* 7 representatives (~11%) became senators.
Notes: John Brown was initially a representative of Virginia, then later became a senator of Kentucky (which was part of Virginia at the time of the 1st US Congress). William Smith (MD; 1st US House), William L. Smith (SC; 1st US House), and William Smith (SC; 5th US House) were all different people.
Method: moderately careful transcription plus grep, perl, sort, uniq, and comm.
EDIT: Thanks for adventured for the correction. I mistranscribed Philip Schuyler's name when copying down the members of the 5th US Congress.
[0] I didn't independently check the lists on Wikipedia[1][2].
[1] https://en.wikipedia.org/wiki/1st_United_States_Congress
[2] https://en.wikipedia.org/wiki/5th_United_States_Congress
comment 10y ago · link · parent
comment 10y ago · link · parent
Where the MUSIC model addresses motivation, the DNR framework addresses what to do with that motivation. So they seem compatible to me. The teachers described in this article would certainly benefit from studying the MUSIC model. I winced a little at the teacher who said, "Well, you care if you want to get a good grade on your test."
comment 10y ago · link · parent
http://publicnoises.blogspot.com/2009/02/aristotle-and-accur...
There are a few good comments there, too, followed by a bunch of me-toos.
comment 11y ago · link · parent
If history is any indication, in 100 years American English will have some precise ways of expressing things, some loose ways of expressing things, and various groups of people will be unreasonably upset with one situation or the other.
If you're interested in the mechanisms of language change, I found the (2000) 3rd edition of Jean Aitchison's _Language Change: Progress or Decay?_ both readable and worth reading. There is a 4th edition, published in 2013:
http://www.cambridge.org/us/academic/subjects/languages-ling...
comment 11y ago · link · parent
"NOTE: Very preliminary – please do not cite without permission. Comments welcome."
I wonder if Cowen sought permission or just ignored that sentence? I am aware that linking to something from a blog isn't exactly the same as citing it (presumably Sarsons is trying to discourage citations in other papers), but Cowen could have mentioned, but didn't mention, the preliminary nature of the paper when quoting the abstract.
comment 11y ago · link · parent
Consider it a longform version of https://xkcd.com/349/ .
comment 11y ago · link · parent
comment 11y ago · link · parent
Moreover, it used to be common to create bound volumes by binding multiple issues of a serial together. (In some cases the bindery would crop pages to fit!) The binding is often so tight that the volume cannot open flat enough for a full scan. Separating the pages from the spine allows for the entire page to be imaged without distortion.
Edit: Incorporated correction. I had accidentally stated the claim more strongly than the FAQ supported; however, my point does not depend on the claim being as strong as the form in which I had stated it.
78.
Is It O.K. To Be a Luddite? (1984)(nytimes.com ↗)
1 points · by cokernel · 11y ago · discuss
comment 11y ago · link · parent
Hoffman's argument is remarkably close to Plantinga's (1993) evolutionary argument against naturalism, and Plantinga himself asserted, rightly or wrongly, that "Darwin himself had worries" about the compatibility of natural selection with the ability to reach true conclusions. And of course, the notion of "percepts act[ing] as a species-specific user interface" was discussed in voluminous detail by Kant.
Just to be clear, I don't have any problems with Hoffman proposing this idea, and I don't have any problems with Shermer criticizing it. What I don't like is the suggestion that this is somehow an idea that hasn't already been discussed for centuries.
Edit: I guess I should always make sure I've eaten something before posting. This came out angrier than I intended.
comment 11y ago · link · parent
If you're interested in the mathematics behind this, I'm not sure a direct attack on the FLT proof is the best route to take. The paper that proves a famous conjecture is normally sitting on a mountain of prior work, which means the final paper (1) assumes familiarity with that mountain and (2) is highly technical because all of the understandable things have already been tried.
So instead, why not start learning about the mountain?
The truth of FLT follows from the two claims:
(1) Taniyama--Shimura--Weil conjecture: "Every elliptic curve is modular."
(2) Ribet's Theorem: "If FLT has a counterexample, then such and such an elliptic curve is not modular."
As it happens, TSW was originally believed to be too difficult to prove, but I suppose the connection with FLT motivated people. Taylor and Wiles proved the absolute minimum of TSW that they could get by with and still get a contradiction from Ribet's theorem. (My understanding is that TSW is now fully proved -- the "modularity theorem".)
If you're wanting to "get" FLT, I'd encourage you to look into elliptic curves, modular forms, and their relationship. I wonder if working on the mathematics of elliptic curve cryptography might be a good way to get a feel for elliptic curves.
However, if you do want to take the direct route, I believe that Faltings's highly compressed article provides a syllabus. Once you can read and completely understand every sentence of that article, it is highly likely that the Wiles and Taylor and Wiles papers will make sense. I... would really not recommend this route.
comment 11y ago · link · parent
The first page is here: https://archive.org/stream/jstor-3303981/3303981#page/n1/mod... Not sure why the link shows the final page as the thumbnail.
83.
Inviolability of Telegraphic Correspondence (1879)(archive.org ↗)
29 points · by cokernel · 11y ago · 10 comments
84.
Inviolability of Telegraphic Correspondence (1879)(archive.org ↗)
1 points · by cokernel · 11y ago · discuss
comment 11y ago · link · parent
comment 11y ago · link · parent
In particular, the figure on the first page of the paper shows detection (not OCR) of a textual logo in a photo.
comment 11y ago · link · parent
Items in archives are like fossils: remarkably rare, incredibly personal to the entity involved, but potentially of great import to the rest of us because of what we can learn from them.
I admit I'm a little tone-deaf and didn't notice any hyperbolic language, but I would encourage you to give the article another chance.
comment 11y ago · link · parent