Search found 59 matches

by Great Justice
Thu Feb 12, 2015 5:02 am UTC
Forum: Individual XKCD Comic Threads
Topic: 1483: "Quotative Like"
Replies: 83
Views: 13789

Re: 1483: "Quotative Like"

Edit: This LLog post links to research showing that while quotative "like" is more common among women than men The article you provided itself contains the evidence on the perception that it's effeminate. studies *have* shown that men perceive even 50/50 splits to be female dominated If m...
by Great Justice
Fri Feb 06, 2015 2:27 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1483: "Quotative Like"
Replies: 83
Views: 13789

Re: 1483: "Quotative Like"

But people also grow out of stuttering with these ticks (eg. after hearing themselves sound like morons in a video; besides being a mark of air-heads, it's an effeminate trait).
They can become sensitized and correct their children.
by Great Justice
Fri Dec 05, 2014 5:00 am UTC
Forum: The Help Desk
Topic: Linux/Debian: 3TB hard drive limited to around 700GB
Replies: 3
Views: 2713

Re: Linux/Debian: 3TB hard drive limited to around 700GB

Code: Select all

total 5860533168  sectors
...

Code: Select all

   Device Boot      Start         End
/dev/sdb1              63  1565565871

5860533168
-1565565871

The partition is not the whole disk. You'll have to resize it, which may or may not allow you to keep the data, depending on the filesystem format.
by Great Justice
Sun Sep 14, 2014 3:15 am UTC
Forum: Serious Business
Topic: Could "The Onion" be a Bad Thing?
Replies: 65
Views: 26328

Re: Could "The Onion" be a Bad Thing?

My view is that The Onion is not a bad thing and I agree that the error is on the receiving end, however, the correction problem lies on the educated side. The quoted comments (and others afterward) seem to be defeatist or antagonistic, like the people are hopeless and should be left to their ignora...
by Great Justice
Sun Sep 14, 2014 2:38 am UTC
Forum: Serious Business
Topic: Could "The Onion" be a Bad Thing?
Replies: 65
Views: 26328

Re: Could "The Onion" be a Bad Thing?

To stop doing anything because some people are too stupid to understand it is to do nothing but make the whole world that much stupider. It's their own damn fault if they can't recognize satire. If you can't figure out it's making a joke, I'm with Pastry; it's your own damned fault for being that d...
by Great Justice
Sun Aug 17, 2014 1:49 am UTC
Forum: Coding
Topic: Programing a Baseball simulator (Cancelled)
Replies: 27
Views: 8678

Re: Programing a Baseball simulator in Python

I think what you're looking for is a cryptographic hash, not a random function.
For example, md5sum("Batman") always produces "cc72fc24056ced9ce13a287ca1243d48", and for any input always returns 32 (hex) digits.
by Great Justice
Sun Jul 27, 2014 8:53 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9878
Views: 1795289

Re: Coding: Fleeting Thoughts

Yes, I'd say they made the right call. Imagine seeing that line in real code instead of a ten line example. It's not that the compiler couldn't work it out, but that the reader has to have detailed knowlage of both classes. At least one side should be explicit. Type inference is nice for writing, bu...
by Great Justice
Fri May 09, 2014 12:37 am UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1958
Views: 518278

Re: The "IT DOESN'T WORK!" thread

You have to temporarily change the delimiter

Code: Select all

DELIMITER //
CREATE FUNCTION ...
...
RETURN d;
END;
//
DELIMITER ;
by Great Justice
Mon Apr 28, 2014 4:49 am UTC
Forum: Individual XKCD Comic Threads
Topic: 1357: "Free Speech"
Replies: 1346
Views: 159714

Re: 1357: "Free Speech"

I'm reminded of the words of a great thinker.
Christopher Hitchens wrote:It usually isn't Congress or the State that tries to abridge free expression or free speech, [...] actually, in the present situation, the main threat to expression comes from public opinion.
by Great Justice
Mon Apr 28, 2014 4:44 am UTC
Forum: Religious Wars
Topic: C vs C++
Replies: 78
Views: 21027

Re: C vs C++

I've never found any convincing arguments to start with C before C++; in fact previous posts give good reasons not to do this. The only reason for me to "drop" into C is to define or use library interfaces, and every C++ programmer I know can do that (and easily much more) without having e...
by Great Justice
Tue Apr 22, 2014 4:27 am UTC
Forum: Coding
Topic: Approximate speed classes of programming languages
Replies: 33
Views: 47934

Re: Approximate speed classes of programming languages

That's more like comparing hardware features rather than implementations of languages on the same hardware. Many compilers let you choose which extensions/opcodes to use or disable if the arch supports it. Remember when the x87 was an optional coprocessor? I suppose you could throw in microcode, tho...
by Great Justice
Sat Apr 19, 2014 1:13 am UTC
Forum: Individual XKCD Comic Threads
Topic: 1357: "Free Speech"
Replies: 1346
Views: 159714

Re: 1357: "Free Speech"

3. If 2 is the best reason you can think of not to kill people, you are a deeply scary person. As I've stated in other words: "It's illegal" (or "bad", or "immoral") is a wrapper, high-level, so you don't have to expound an essay on all of the various reasons for it, a...
by Great Justice
Fri Apr 18, 2014 11:41 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1357: "Free Speech"
Replies: 1346
Views: 159714

Re: 1357: "Free Speech"

I can't remember where I heard this, but someone once said that defending a position by citing free speech is sort of the ultimate concession; you're saying that the most compelling thing you can say for your position is that it's not literally illegal to express. Whoever said this is dumb, and mus...
by Great Justice
Wed Apr 16, 2014 5:06 am UTC
Forum: Religious Wars
Topic: C vs C++
Replies: 78
Views: 21027

Re: C vs C++

It seems like a weird combination of language features to me. I still don't see what you're on about. Doing whatever you want in the way you want to do it == "narrow application" ?? I'd say the opposite is the case: a language which forces you to use one sacred paradigm is a tutor languag...
by Great Justice
Wed Apr 16, 2014 12:38 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9878
Views: 1795289

Re: Coding: Fleeting Thoughts

Check the -k option, you may be able to get it to do what you want.
Probably the easiest way to make it work would be to either have a wrapper script to run your scripts (as an arg) or source a file with the functionality to set the variables if provided.
by Great Justice
Thu Oct 10, 2013 1:59 pm UTC
Forum: Coding
Topic: The Great Programming Language Survey, poll #1: use
Replies: 24
Views: 9144

Re: The Great Programming Language Survey, poll #1: use

There's probably a problem with the fuzzy definition of "use". Is it based on - tried it once? - the amount of hours writing it? - the loc % in your work? - how much of the work it does? - some combination? I don't have stats for myself, only a "feeling" or guess. I don&...
by Great Justice
Mon Oct 07, 2013 3:32 am UTC
Forum: Hardware
Topic: Camera intervalometer
Replies: 6
Views: 4474

Re: Camera intervalometer

Is this related to those questions you had in April? (viewtopic.php?f=20&t=101428) If it's the t2i with the same concerns, I highly recommend installing Magic Lantern . You can use the intervelometer or time-lapse in vide mode (saving shutter actuations, but lower res, and maybe using more batte...
by Great Justice
Thu Oct 03, 2013 6:30 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9878
Views: 1795289

Re: Coding: Fleeting Thoughts

You have to use FPU instructions to operate on the FPU stack. The regular registers can't be used as operands. Might be due to its "co-processor" origin.
by Great Justice
Mon Sep 30, 2013 4:42 am UTC
Forum: Individual XKCD Comic Threads
Topic: 1271: Hilighting
Replies: 120
Views: 20388

Re: 1271: Hilighting

I only highlight one line or the first word on a line to keep track of where I am on "walls" of text, or pages with wide columns to not skip or re-read lines.

I do do that text selection thing on ytmnd there was a ytmnd of.
by Great Justice
Fri Sep 27, 2013 2:12 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1270: Functional
Replies: 171
Views: 43743

Re: 1270: Functional

smartboyathome wrote:In conclusion, everyone should use Python, since it allows for any programming paradigm you want. ;)

... except it doesn't support tail recursion (Guido doesn't like it).
by Great Justice
Fri Sep 27, 2013 1:11 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1270: Functional
Replies: 171
Views: 43743

Re: 1270: Functional

If you are developing a product that does alpha-blending in video, you don't want it to crash with a stack overflow after a mere gigabyte of data. So, any fp language that pretends to be both practical and universal, is better to have tail recursion as a language feature . Like Scheme does. You can...
by Great Justice
Fri Sep 27, 2013 4:48 am UTC
Forum: Individual XKCD Comic Threads
Topic: 1270: Functional
Replies: 171
Views: 43743

Re: 1270: Functional

Um, tail recursion is easily done in assembly, and with gotos. WTF does it have to do with fp?
It's usually not even a language feature but an internal compiler optimization.
by Great Justice
Sun Apr 14, 2013 3:46 pm UTC
Forum: The Help Desk
Topic: Camera questions
Replies: 2
Views: 1864

Re: Camera questions

Have you looked at the gopro (and its knockoff counterparts) cameras? they have wide angle, hi-def, and built in timelapse.
by Great Justice
Tue Mar 12, 2013 6:30 pm UTC
Forum: Coding
Topic: Optimizing repeated use of PHP/SQL
Replies: 4
Views: 7251

Re: Optimizing repeated use of PHP/SQL

I think what you're looking for is called "stress testing"/"load testing" and "performance testing", as the fist step to finding bottlenecks. There are all kinds of tools out there for that, and you can measure how many users/sec create how much load with functions like...
by Great Justice
Wed Feb 06, 2013 5:47 am UTC
Forum: Individual XKCD Comic Threads
Topic: 1170: "Bridge"
Replies: 135
Views: 26862

Re: 1170: "Bridge"

Parents/teachers use the same but opposite (of bridge) argument to get kids to comply and do or try things they want them to do. "Look, your sisters are eating their vegetables."
by Great Justice
Sun Aug 05, 2012 9:29 pm UTC
Forum: Coding
Topic: Operator Overloading?
Replies: 36
Views: 8500

Re: Operator Overloading?

I think it's a necessity for bottom-up development. The system shouldn't treat your UDTs as some foreign, 3rd-rate constructs and its own as special.
by Great Justice
Sat Jul 28, 2012 5:58 am UTC
Forum: Coding
Topic: Rails: Send a file and render a page (or redirect)
Replies: 4
Views: 5616

Re: Rails: Send a file and render a page (or redirect)

Doesn't the page require auth'n in the first place? how is it different from iframes?
You can still generate the data in core and send using a script, just check a session variable or nonce prior.
by Great Justice
Sat Jul 28, 2012 3:15 am UTC
Forum: Coding
Topic: Rails: Send a file and render a page (or redirect)
Replies: 4
Views: 5616

Re: Rails: Send a file and render a page (or redirect)

Once the content headers are sent to download a file, you can't escape that to render a web page or redirect. What you can do is have a script open another window/tab to download the file, while the current page renders/redirects. Or try playing around with embedded data http://en.wikipedia.org/wiki...
by Great Justice
Fri Jul 20, 2012 1:57 am UTC
Forum: Coding
Topic: Using Programming in Everyday Life
Replies: 24
Views: 13344

Re: Using Programming in Everyday Life

You should automate the task anyway, because the only way you'll learn to use programming is to apply it. Whether your employer is lenient enough or you take some of your own time to do it, the cost:return begins high but is an investment which will improve only through practice. Otherwise, your job...
by Great Justice
Sun Jul 01, 2012 6:18 am UTC
Forum: Coding
Topic: Is the Right Tool a Matter of Preference?
Replies: 123
Views: 35282

Re: Is the Right Tool a Matter of Preference?

The best language or pattern or paradigm or algorithm, besides being efficient, is one which allows you to model your thoughts and communicate them for posterity as well as unambigiously control the machine. There is a basic practical v ideal tradeoff argument which will influence the answer. See &q...
by Great Justice
Sat Jun 30, 2012 5:58 am UTC
Forum: General
Topic: ITT: We make xkcd slightly worse.
Replies: 8651
Views: 1616993

Re: ITT: We make xkcd slightly worse.

1075 (I had a rant all ready, but made this instead)

warning.png
warning.png (9.86 KiB) Viewed 8195 times


"Yet, there you go."
by Great Justice
Sat Jun 30, 2012 5:31 am UTC
Forum: Individual XKCD Comic Threads
Topic: 1075: "Warning"
Replies: 112
Views: 27790

Re: 1075: "Warning"

Evolution follows adaptation. We're very adaptable.

Sure, you can be neurotic, paralyzed by fear, and overwhelmed by the ordinary. Evolution favors those who keep their shit together and forge on (and drive according to conditions).
by Great Justice
Sun Jun 17, 2012 3:01 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9878
Views: 1795289

Re: Coding: Fleeting Thoughts

Which part was "alarmist" there? This advice is sound when raw. If your getters do nothing but get and set, then by all means, don't use them. Yes, that's why the section title is "Avoid writing naive setters and getters" [bolded for your convenience], and the body expands on tha...
by Great Justice
Mon May 21, 2012 4:31 pm UTC
Forum: Coding
Topic: Was I too harsh?
Replies: 167
Views: 41423

Re: Was I too harsh?

It depends on your candidate pool. If your profile is current, then I would imagine that in Berkeley shouldn't have to settle for someone who struggles in an interview the same way I did on a first semester exam after a fun weekend, unprepared. We ask much harder problems be solved in an interview, ...
by Great Justice
Fri May 04, 2012 2:10 am UTC
Forum: Coding
Topic: Getting into coding with a PhD in math
Replies: 20
Views: 9447

Re: Getting into coding with a PhD in math

I think it comes down to how you brand yourself. Generally speaking, employers look for mathematicians and programmers separately, something I find profoundly unsettling: the mathematician writes up the algorithm, and the programmers are asked to implement it. Part of the reason for this is the (fa...
by Great Justice
Tue Apr 03, 2012 3:21 pm UTC
Forum: Coding
Topic: PHP Email
Replies: 7
Views: 2530

Re: PHP Email

You don't need stripslashes(), you're only sending a text email not putting anything into a database. If you want the email sent as HTML, you'll have to pass some headers and escape input using htmlspecialchars() - but really only have to change < to &lt; Your global variables need to be declare...
by Great Justice
Wed Feb 29, 2012 4:41 am UTC
Forum: Hardware
Topic: How does an auto tach work?
Replies: 7
Views: 7466

Re: How does an auto tach work?

I would imagine like any other frequency meter, but scaled

Hertz * 60 = RPM

Maybe this will help you out http://www.electronicecircuits.com/elec ... er-circuit
by Great Justice
Tue Jan 17, 2012 11:54 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1004: "Batman"
Replies: 81
Views: 19945

Re: 1004: "Batman"

Bane didn't kill Batman. I don't know, I haven't seen the film. Bane is one of the greatest foes. Although the man dressed as a clown has already show that AMDAAB and his associates are corrupt when it's convenient (spying on everyone via their weponized cellphones)... "but just this one time&...
by Great Justice
Tue Jan 17, 2012 11:46 pm UTC
Forum: Coding
Topic: Help with arrays/multiple header files
Replies: 18
Views: 2368

Re: Help with arrays/multiple header files

jareds wrote:the prohibition on arrays of references is a specific rule with no clear rationale, not a particular case of a general rule.

Well, since you can't have a pointer to a reference, and arrays are equivalent to const pointers to their first element, it is indeed consistent.
by Great Justice
Tue Jan 17, 2012 3:09 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1004: "Batman"
Replies: 81
Views: 19945

Re: 1004: "Batman"

A man cannot dress like a bat, as bat's do not dress. "dressed as" and "dressed like" are the same thing. I disagree. "Working like a dog" means something different than "working as a dog", to me. ---- Anyway, I've been expecting the man dressed as a bat to b...

Go to advanced search