Search found 835 matches

by Pesto
Tue Apr 01, 2014 1:22 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9968
Views: 1950595

Re: Coding: Fleeting tought dem

It helps to read the documentation for the version of software you're using.
by Pesto
Mon Nov 11, 2013 11:56 pm UTC
Forum: The Help Desk
Topic: Linux Mint keeps crashing, or I don't know how to use mcelog
Replies: 5
Views: 4247

Re: Linux Mint keeps crashing, or I don't know how to use mc

Well, the crashes are intermittent. When I say I can "trigger" the crash, it just means I've noticed that they seem to happen more often during high CPU load. That's why the best solution would be to bet the mcelog working properly. That said, taking a picture may be the best solution. I'l...
by Pesto
Sat Nov 09, 2013 8:40 pm UTC
Forum: The Help Desk
Topic: Linux Mint keeps crashing, or I don't know how to use mcelog
Replies: 5
Views: 4247

Re: Linux Mint keeps crashing, or I don't know how to use mc

the log output should, after reboot, be showing up in /var/log/mcelog, and possibly in /var/log/messages or wherever your system puts its syslog I was able to get that much out of the man file already. I've checked /var/log/mcelog and /var/log/syslog on multiple occasions after one of these crashes...
by Pesto
Fri Nov 08, 2013 11:15 pm UTC
Forum: The Help Desk
Topic: Linux Mint keeps crashing, or I don't know how to use mcelog
Replies: 5
Views: 4247

Linux Mint keeps crashing, or I don't know how to use mcelog

I recently installed Linux Mint 15 on my laptop, and ever since then, I have been getting intermittent crashes. My computer switches back to a text mode, displays some system diagnostic info, then reboots. The diagnostic info says that I should run the text on the screen through mcelog, but I don't ...
by Pesto
Fri Oct 18, 2013 5:24 am UTC
Forum: Individual XKCD Comic Threads
Topic: 1279: "Reverse Identity Theft"
Replies: 144
Views: 39476

Re: 1279: "Reverse Identity Theft"

Both my first and last names are somewhat uncommon. There are a couple celebrities with my first name, but I've only ever met one person in real life with my first name. I've never met anyone outside my family with my last name. I expect my full name is unique. Made it easy to get my gmail address a...
by Pesto
Sun Sep 29, 2013 11:37 pm UTC
Forum: Food
Topic: Today I Made:
Replies: 4724
Views: 906895

Re: Today I Made:

Making a chicken galantine stuffed with spinach and blue cheese. Roasting red potatoes in the chicken drippings and Brussels sprouts in olive oil.
by Pesto
Thu Sep 12, 2013 8:06 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9968
Views: 1950595

Re: Coding: Fleeting Thoughts

You, sir, name? wrote:I think it may be argued that XML is alive.

There is no doubt to that fact. I'm unconvinced that this is a redeeming quality.
by Pesto
Thu Sep 12, 2013 5:19 pm UTC
Forum: Coding
Topic: Java Date Convert
Replies: 1
Views: 1575

Re: Java Date Convert

SimpleDateFormat will work for any date format you can imagine. It parses the date based on a format string that you give it. Off the top of my head, the format string for a UK date would be "dd/MM/yyyy".
by Pesto
Thu Sep 12, 2013 5:10 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9968
Views: 1950595

Re: Coding: Fleeting Thoughts

I can find no redeeming qualities in XML.
by Pesto
Tue May 29, 2012 5:38 pm UTC
Forum: Coding
Topic: Was I too harsh?
Replies: 167
Views: 42633

Re: Was I too harsh?

But what did she fail - a test of skill, or a test of handling pressure? Frankly, I don't care. I don't buy any arguments about "handling pressure." This was not a high pressure situation. I gave her a task to complete, and let her set about completing the task. Her task was a test of the...
by Pesto
Wed May 23, 2012 9:36 pm UTC
Forum: Coding
Topic: Was I too harsh?
Replies: 167
Views: 42633

Re: Was I too harsh?

If you really wanted an example of her coding abilities, asking for examples of past projects/codes, or a "take-home" mini-project would have been far more indicative. This is what we use for a pre-screening. One of the problems with this approach is Google. Example solutions are availabl...
by Pesto
Wed May 23, 2012 8:11 am UTC
Forum: Coding
Topic: Was I too harsh?
Replies: 167
Views: 42633

Re: Was I too harsh?

I think that's an acceptable test, yes. Where I differ is in my opinion that she performed well enough, despite failing the full task. Just being able to work through the code and determining the basics of what she needed to do, while only failing at one particular bit, is acceptable for me. Not fo...
by Pesto
Wed May 23, 2012 7:31 am UTC
Forum: Coding
Topic: Was I too harsh?
Replies: 167
Views: 42633

Re: Was I too harsh?

I stand by what I said. One method of one of the simpler data structures is about as minor a bit of code as I'm willing to accept.
by Pesto
Wed May 23, 2012 7:14 am UTC
Forum: Coding
Topic: Was I too harsh?
Replies: 167
Views: 42633

Re: Was I too harsh?

Oops. I've been away and didn't realize what kind of discussion this had generated. Be kind: the five years was probably the time she spent getting her undergrad. Nope. Five years professional experience in Java software engineering positions. @Pesto: What would you have thought if someone presented...
by Pesto
Sat May 19, 2012 6:07 am UTC
Forum: Coding
Topic: Was I too harsh?
Replies: 167
Views: 42633

Re: Was I too harsh?

Anubis wrote:The SQL syntax thing is implementation-specific...


I don't know of any SQL implementation that uses "=<". In fact, I don't know of any language that uses that, period.
by Pesto
Sat May 19, 2012 12:26 am UTC
Forum: Coding
Topic: Was I too harsh?
Replies: 167
Views: 42633

Was I too harsh?

I just interviewed someone, and my boss objected to the severity of my evaluation. I'd like a sanity check from some other coders. This interview was for a back-end Java web development position, and the candidate had 5+ years of Java development experience on her resume. First I quizzed her on SQL....
by Pesto
Wed Dec 28, 2011 10:24 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0996: Making Things Difficult
Replies: 104
Views: 35863

Re: 0996: Making Things Difficult

Azkyroth wrote:Rectangular nipple? Not sure I approve. O.o

Would a USB B connector be less distressing?
by Pesto
Wed Dec 28, 2011 7:57 pm UTC
Forum: Coding
Topic: What language(s) to learn? (again)
Replies: 6
Views: 2413

Re: What language(s) to learn? (again)

I'm fond of Groovy, another JVM language, which I think compliments Java rather well. When I was job hunting not too long ago, I actually got one or two calls from companies specifically because I had Groovy on my resume, even though they were primarily Java shops. One of the companies decided to re...
by Pesto
Mon Dec 19, 2011 7:52 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0992: "Mnemonics"
Replies: 278
Views: 64457

Re: 0992: "Mnemonics"

A friend in college came up with a good mnemonic for the musical modes.

Ionian
Dorian
Phrygian
Lydian
Mixolydian
Aeolian

Mnemonic: "I don't particularly like my ass."
by Pesto
Thu Sep 08, 2011 4:28 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9968
Views: 1950595

Re: Coding: Fleeting Thoughts

Not coding, but something I just discovered. If you want to move a tab between windows in Chrome, you can just shut the tab in one window, open a new tab in the other window and select that page from the Recently Closed Tab list, since that list is shared between windows. This is especially useful i...
by Pesto
Mon Sep 05, 2011 6:13 am UTC
Forum: Coding
Topic: Best features of pastebins and repository web interfaces?
Replies: 12
Views: 2267

Best features of pastebins and repository web interfaces?

I'm in the middle of writing a web interface for browsing git repositories. I'm beginning work on the UI portion, and would like some general input. What are the essential features for displaying code on the web? (Note: I'm only talking about the displaying code portion for the moment, so these coul...
by Pesto
Thu Aug 04, 2011 9:16 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9968
Views: 1950595

Re: Coding: Fleeting Thoughts

I've never seen that site before. It makes me die a little inside to know that some coworkers actually write their commit messages like that.
by Pesto
Thu Aug 04, 2011 9:03 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9968
Views: 1950595

Re: Coding: Fleeting Thoughts

FT: Writing inadequate commit messages should be a firing offense.

I just looked through our logs, and one developer made twenty commits with the following commit message.



No, this is not a typo.
by Pesto
Fri Jul 08, 2011 4:34 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0922: "Fight Club"
Replies: 124
Views: 24732

Re: 0922: "Fight Club"

Come on, let's compile a list of movies that have a plot twist near the end which makes you think: "I have to watch this movie again, checking if I could've anticipated that twist if I had paid more attention!" ⋅  Fight Club ("Where is my mind?" ;-)) ⋅  The S...
by Pesto
Tue Jul 05, 2011 11:59 pm UTC
Forum: Coding
Topic: Trivial coding problems
Replies: 0
Views: 1090

Trivial coding problems

Hi, all. I'm likely going to be leading some training on a new source control tool at work, and I need some trivial programming exercises so that people have something to commit to their repositories. Ideally, these should be brain dead simple problems that can be broken down into a few simple sub s...
by Pesto
Sun May 22, 2011 8:23 pm UTC
Forum: Computer Science
Topic: Mnemonic device for little/big-endian; or Fix My Brain
Replies: 16
Views: 5567

Re: Mnemonic device for little/big-endian; or Fix My Brain

Righty-tighty is dumb. What works for me? The right hand rule from physics. Take your right hand, make a loose fist, and stick out your thumb. Note that your fingers are curling around in one direction. If you turn the screw in that direction, it will travel in the direction your thumb points. :sho...
by Pesto
Thu May 19, 2011 9:45 pm UTC
Forum: Computer Science
Topic: Mnemonic device for little/big-endian; or Fix My Brain
Replies: 16
Views: 5567

Re: Mnemonic device for little/big-endian; or Fix My Brain

Oops, forgot about this thread. Big-endian = big end (digit of largest place value) comes first Little-endian = little end (digit of smallest place value) comes first Does it really need more of a mnemonic than that? You've hit on exactly the problem I have. The phrase "comes first" is mea...
by Pesto
Mon May 16, 2011 11:03 pm UTC
Forum: Computer Science
Topic: Mnemonic device for little/big-endian; or Fix My Brain
Replies: 16
Views: 5567

Mnemonic device for little/big-endian; or Fix My Brain

Roy G. Biv Every Good Boy Deserves Fudge My Very Educated Mother Just Served Us Nachos* These are a few well-known mnemonic devices I can think of off the top of my head (for colors of the rainbow, lined notes in treble clef and the planet names, respectively). Here's the problem I'm having. I can n...
by Pesto
Wed Apr 06, 2011 4:52 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9968
Views: 1950595

Re: Coding: Fleeting Thoughts

We use svn at work, and I use git as my subversion client (git-svn).

FT: If you were to use perforce in a subversion client, would you call it perversion?
by Pesto
Sun Mar 13, 2011 1:38 am UTC
Forum: Coding
Topic: "Repro testing" - Do any automated test suites do this?
Replies: 6
Views: 1725

Re: "Repro testing" - Do any automated test suites do this?

Yeah, if you've got a decently structured application and good test coverage already, it probably wouldn't be worth it. Unfortunately that's not the case where I work. The application I work on is a giant pile of PHP spaghetti with no automated tests to speak of. We've started writing automated test...
by Pesto
Wed Mar 09, 2011 6:57 pm UTC
Forum: Coding
Topic: "Repro testing" - Do any automated test suites do this?
Replies: 6
Views: 1725

Re: "Repro testing" - Do any automated test suites do this?

Yeah, a system to track intermittent bugs would be more difficult. You could use this type of thing to gather statistics. Perhaps something like out of the last 100 or 1000 runs the bug was detected X number of times, along with the most recent detection date. If an intermittent bug hasn't been repr...
by Pesto
Wed Mar 09, 2011 4:43 pm UTC
Forum: Coding
Topic: "Repro testing" - Do any automated test suites do this?
Replies: 6
Views: 1725

Re: "Repro testing" - Do any automated test suites do this?

But even that work could be avoided with an automated test to reproduce the bug.
by Pesto
Tue Mar 08, 2011 10:09 pm UTC
Forum: Coding
Topic: "Repro testing" - Do any automated test suites do this?
Replies: 6
Views: 1725

"Repro testing" - Do any automated test suites do this?

I thought up a new feature for an automated testing framework, and am wondering if any existing frameworks do this. Normally, tests are used to define the desired behavior of a system. When you change something, you can run the tests to make sure that your change does not have any unintended effects...
by Pesto
Tue Mar 08, 2011 1:11 am UTC
Forum: Religious Wars
Topic: Tabs vs Spaces
Replies: 209
Views: 143039

Re: Tabs vs Spaces

Tabs cause the testing framework in Groovy on Grails to give icky output. It gave me a sad.
by Pesto
Tue Mar 08, 2011 1:07 am UTC
Forum: Religious Wars
Topic: Cleaning the lint trap
Replies: 10
Views: 6507

Re: Cleaning the lint trap

No, I was just trying to be clever. The poll is formatted as a potential discussion between roommates who disagree on this. Which roommate are you?
by Pesto
Tue Mar 08, 2011 12:20 am UTC
Forum: Coding
Topic: What can I do with random numbers?
Replies: 23
Views: 3747

Re: What can I do with random numbers?

You could test sorting algorithms, and see how they perform in practice. Or stress test software in general, looking for bugs associated with random input. I heard of an interesting type of GUI testing. I think it was called something like fuzz testing. You generate random input events like keyboar...
by Pesto
Mon Mar 07, 2011 11:44 pm UTC
Forum: Coding
Topic: Are the other DBMSs like MySQL?
Replies: 6
Views: 2132

Re: Are the other DBMSs like MySQL?

Not sure whether this is relevant, but so far people have only touched on relational databases. Relational databases are going to be what you run across most often, and they are all very similar in their basic features. An identical simple select statement will likely run on just about any of the sy...
by Pesto
Mon Mar 07, 2011 11:02 pm UTC
Forum: Religious Wars
Topic: Cleaning the lint trap
Replies: 10
Views: 6507

Cleaning the lint trap

You should always empty the lint trap on your dryer. If you don't, you run a risk of burning your house down. I'm of the school of thought that everyone should empty the lint trap before they use the dryer. It's important to do this so you don't accidentally do a load with the lint trap full and kil...
by Pesto
Tue Mar 01, 2011 5:52 pm UTC
Forum: Coding
Topic: Extremely exceptional code; or abuse of exceptions in PHP
Replies: 12
Views: 2627

Re: Extremely exceptional code

Yes and yes.
by Pesto
Tue Mar 01, 2011 7:43 am UTC
Forum: Coding
Topic: Extremely exceptional code; or abuse of exceptions in PHP
Replies: 12
Views: 2627

Re: Extremely exceptional code

Looks like PHP got chained exceptions in version 5.3. We haven't upgraded to that yet. I imagine that the reasoning behind the catch-and-rethrow you have there is similar... No, I think ignorance was responsible. By throwing a new exception all information about the caught exception was being discar...

Go to advanced search