HNHacker News
TopNewBestAskShowJobs

mrcsparker

245 karma · joined April 13, 2010

submissionscomments
mrcsparker··on OK: An implementation of the K5 programming language
kuro5hin is already in Perl :)

This looks great. Going to play with this later.

mrcsparker··on How my life was changed when I began caring about the people I did not hire
Second opinions are also great to get - I could be wrong about the person, or maybe we didn't click.

I like interviews to be like secret ballots:

* write down what you think about the person without any external influence

* then share the information with the other people who interviewed the same person

You are right on this - bias can interfere with decision making. A single gatekeeper who makes the wrong decision could be turning away someone fantastic.

The hardest thing is saying no to someone you know is great, or is going to be great. It isn't personal - it might be that one of the candidates had 5 more years experience on something that we were really looking for. In this case, if I am working with a recruiter, I always let them know how great the candidate was.

mrcsparker··on The Problem with Music (1993)
He is wrong about jazz, too. It doesn't suck (same with Zappa, post-Mothers).

I try not to judge him too much on this, but it colors my opinion of his opinions a bit - what musician hates jazz? Then again, I am not a fan of Shellac or his other music, so I am probably missing something. In 10 years I might be telling people how wonderful Shellac is, and it might just click for me - that is the wonderful thing about art.

I wish that there was a world where musicians could make great music without having to tour and make money. Some music doesn't need to be structured to be played live.

Edited for clarity and I was too harsh.

mrcsparker··on Kronos Haskell
This looks great. Anyone else test it out? Downloading now
mrcsparker··on Make Your Own Programming Language
I should have mentioned that precedence rules are pretty wacky.

I wish that in the languages I have worked on that I could just ignore precedence and use parens, but operator precedence is expected.

mrcsparker··on Make Your Own Programming Language
I have written a few languages here and there. Hope this helps.

They are all separate parts, and you can do them in any order you want.

I like to think of the language as two parts - syntax and features. How do I want the language to look and what features do I want the language to have? The parser and lexer handle the syntax, and the AST handles the features.

This way, I can play around with the syntax of the language a little later.

I would start with a really simple language:

- add expressions, proper infix support for arithmetic

- variables

- if / else / else if

- scoping / functions

- loops if you don't want to just use recursion

then, you can get more advanced:

- lambda expressions / first class functions / closures

- namespaces or types

- macros. if you can make nice looking lisp-style macros for an infix language i would love you

write it as an interpreter, add an llvm backend.

It should be fun. do a little at a time.

mrcsparker··on Language is not important
Lots of the puns also come out when spoken with a Southern accent. Add a drawl and "hour" sounds a lot like "whore".

  And then he drew a dial from his poke,
  And, looking on it with lack-lustre eye,
  Says very wisely, 'It is ten o'clock:
  Thus we may see,' quoth he, 'how the world wags:
  'Tis but an hour ago since it was nine,
  And after one hour more 'twill be eleven;
  And so, from hour to hour, we ripe and ripe,
  And then, from hour to hour, we rot and rot;
  And thereby hangs a tale.'
Edit: added Act II, Scene VII from As You Like It for context.
mrcsparker··on You only get 1,000 lines of code a week
For a manager, I agree. An architect should write the most complicated, not the least complicated, part of code. This is assuming that the architect is the most experienced developer on the team.

This doesn't include paper architects, which are pretty much salespeople.

I would like to hear other people's thoughts on this - this is the way that I have always handled projects.

mrcsparker··on Chemistry of Cast Iron Seasoning (2010)
I use soap all of the time on mine. I also scrub it off. Just throw some oil on after. Been using it for years.

Cast iron is a lot less maintenance than people think. I cook food too hot for Teflon, scrape the crap out if other pans, and like to throw things in the oven. I also use a metal spatula for everything. I pretty much do all of the things that these sites say not to, and never have problems.

mrcsparker··on Chemistry of Cast Iron Seasoning (2010)
I am happy with mine. I ever thought of it much until I read a few articles written by people who want to spend more time messing with their pans than cooking on them.

Using cast iron is simple. Take a pan, throw in some oil, cook, clean, wipe down with some oil. I grew up using nothing but cast iron skillets and all of this talk about how only a perfect organic oil combined with a special oven can create a decent seasoning is bs. I use vegetable oil and they work fine. Also, my pans have a sandy surface and they work fine. I didn't buy mine at an estate sale, but at a store years ago and they work fine.

I fry food in mine, stick it them the oven to bake, make eggs, steaks, bacon, vegetables. I pretty much cook everything on cast iron because it is easy to take care of and lasts forever. People turn this into something it isn't.

I also grew up making lots of bbq in Texas. People do the same thing with bbq - they spend so much time working on perfecting their tools that they forget to cook the food.

mrcsparker··on Simple Revision Control
The part of that thread that I found interesting were RMS's replies. He seems very measured.
mrcsparker··on The Art of Unix Usability (2004)
Thanks. I love how you framed your post, from start to finish.

What other texts do you recommend?

mrcsparker··on LambdaNative – A cross-platform development environment written in Scheme
It lets you write applications for Android, iOS, BlackBerry 10, OS X, Linux, Windows, OpenBSD, NetBSD and OpenWrt in Scheme.
mrcsparker··on TempleOS: 5 minute random code walkthrough
If you do this, please document it. The environment looks great - I love how he navigates through the debugger.
mrcsparker··on Jury finds CBS infringes podcasting patent, awards $1.3M
I grew up in Houston.

East Texas is very different from the rest of Texas. The accent, food, culture are all much more stereotypically southern than north, west, central, or south Texas. Even the BBQ is different - you put sauce on everything.

That being said, my comment offers no real information. I just thought that it would be fun to post.

mrcsparker··on A Hacker’s Guide to Git
What git gui do you recommend?
mrcsparker··on You shouldn’t use a spreadsheet for important work
I have. Working on open sourcing the code right now.
mrcsparker··on Inside the Building That's Calling Itself the People's Republic of Donetsk
Yup. It seemed like they were just having a good time with the journalist.

Isn't there an actual real-life game where someone is sent from person to person to get help, eventually landing back at the first person?

mrcsparker··on To sleep, perchance to control your dreams
Never.
mrcsparker··on To sleep, perchance to control your dreams
I bite my hand. If there is no pain, then I am dreaming.

My mom had once told me that she had a bad dream where someone grabbed her, and she bit the person's hand and it was like biting through dough. One night, during a dream, I remembered this and bit the area between my thumb and my index finger and there was no feeling.

Also, food has no taste when I am dreaming. It doesn't even really have texture.

mrcsparker··on How the Father of Claymation Lost His Company
I agree - he is very interesting. Maybe he just took a long time to find himself. From your comment, I watched a few short interviews and he seems very bright.

The early rap career was kind of cringe-worthy, but he also lived a good deal of his life in public. I bet a lot of people would be in the same boat if they had billionaire fathers who supported their decisions. I found his father's support sweet.

mrcsparker··on To sleep, perchance to control your dreams
I lucid dream almost every night. For a good deal of my life I thought that everyone did.

When I am dreaming I have to check often that I am not actually awake, so I have a trick I use to make sure that I am dreaming. I know, it sounds a lot like Inception.

A little more - I had night terrors up until I was 12. I would walk though my house in a frantic dream state, sometimes seeing things that weren't there on top of things that were. Maybe the lucid dreaming and early night terrors were connected.

mrcsparker··on NoSQL No More
I don't understand this argument. There is already a SQL standard. Start there.
mrcsparker··on Why CoffeeScript Isn't the Answer
While it might not be the answer, it has been a very good answer for me. Recently I worked on an Angular project that had a pretty complex data model, and converting the model to CS made the code much more readable. The rest of the app was still in JS, minus a ./models directory which was CS. The other devs found the code very readable also.

I am biased towards Python and Ruby. I think that they are nice looking languages.

Different tools for different jobs. Next time I am on a JS project and I want to model data, I will probably use CS again.

mrcsparker··on Homeopathic remedies recalled for containing real medicine
Along the same line, I always think about this Mitchell and Webb bit:

https://www.youtube.com/watch?v=HMGIbOGu8q0

mrcsparker··on Secret State of North Korea [video]
Watching 'Crossing the Line' right now. James Joseph Dresnok creeps me out. You are right about it weirding up my day. Christian Slater narrating feels surreal. It almost feels like a parody.

Worth watching. I have never seen anything like it.

mrcsparker··on Spotify Adds Led Zeppelin as It Focuses on Mobile Business
My favorite part of Spotify is the "Related Artists" link. I can click on it and see that Robert Johnson, Jimi Hendrix, Elvis, Pink Floyd, and Queens of the Stone Age are somehow related to Led Zeppelin. This starts me on a very cool journey to discover music I might not have heard.

It is like Wikipedia - click on an artist, then a related artist, then an artist related to that ... Great for road trips and long coding sessions. I can get a sampling of a little bit of music history without having to go to a record store and search through bins of records. Don't get me wrong - the record store was great, but this is better.

mrcsparker··on Lessons from 2 months of remote working
I have been working remotely for 7 years now. I love it, but it is not for everyone.

I remember a few months in when it really sunk in that I was actually working out of my home. My house was my office and my office was my house, and everywhere I went I could not get away from work. I had a sudden feeling that the walls were closing in. Lucky for me that went away, and I find that I get more done and am able to be more focused than I was in an office.

A few pointers to those starting to work at home:

1. If you are like me and tend towards being a work-a-holic, working from home can mean turning your normal 8-10 hour workday into a 24-hour workday. Set limits and work by them get...

2. ... a home office where you do your work. Make sure it has a door which closes and treat it like an office. You don't have to work in it 100% of the time, but it helps me to have a place I can leave my work. My office is great - I have a big desk, a couch, music, big windows. It is the office that I would like to work in.

3. Get out of the house. Not to work, but to play. Get around people. It is going to happen - you are going to have a crazy project and find yourself locked in your room for a few days. This is pretty normal, even in a normal office. It can easily become your life since there is no one telling you to go home.

The perks of working from home are great - no commute means more family time, and the you get a personal bathroom and kitchen. If you need to take a 20 minute nap no one is stopping you, and going for a jog is as simple as opening the door and taking off.

mrcsparker··on Visualise the structure of a spreadsheet
I actually worked on this exact solution a few months ago.

I translated excel into a javascript data structure, translating the formulas into javascript functions. The data structure could be saved to json, and them reloaded back into javascript. The cool thing is that changing a value (a2 = 3) automatically updates dependent values in the rest of the data structure. The data structure can be referenced much like the spreadsheet - it is a tree with branches for pages, rows, columns. There is a simple faster csv like API that makes it easy to go page by page, row by row. Also, cells can be looked up explicitly.

The code is proprietary, which is a shame. It was written as a library to quickly reverse engineer large, complex xlsx files. The trick in making it work is just having the right data structure.

Sorry if I am rambling or any misspellings. I am very sick right now, drowsy from medication, and trying to type thus on my phone.

mrcsparker··on How to integrate AngularJS with Rails 4
The poster mentions angularjs-rails-resource as an alternative. I am using it right now on a project and it works seamlessly bridging angular and rails.
← PreviousPage 3 of 4Next →