Better HN
topnewbestaskshowjobs
Log inSign up

mathgladiator

4,359 karma · joined Mar 1, 2010 (16y ago) · 1,704 submissions

hn [at] mathgladiator [dot] com

I'm an inventor type person. I'm also owner of https://www.adama-platform.com/

Submissions

comment 16y ago · link · parent

CouchDB requires a different mindset. I'm going to write a lot about it over the months as I use it and go to production with it.

I found that if you just think about CouchDB as as soup and you build views to build indicies that organize your data, then it gets really easy to work with.

I'm designing my WIN ( https://github.com/mathgladiator/win ) framework around node.js and CouchDB.

What I am doing is controlling my design documents via node.js using the fact that v8 will keep a string copy of the function for it's toString().

If you look at line 112 of win.js ( https://github.com/mathgladiator/win/blame/master/lib/win.js ), I define my indexer function to basically serialize a function from node.js into the design document.

I use this in the user system ( https://github.com/mathgladiator/win/blob/master/pages/page.... ) on line 202 to index the user documents by their id so I can use another function ($.get_index) to pull them out by their key.

I'm using this on some internal projects, and I'm getting very good velocity at working with CouchDB. Granted, there is a huge (and now) obvious flaw to my indexer function which I'm going to fix soon, but it works great.

comment 16y ago · link · parent

That's very true.

Part of the culture of learning higher math however rewards/tolerates esoteric behavior where practicality is just not valued.

I think it is all about related rates. If you are studying abstract algebra now hard-core, then you are missing out on doing some cool Kinect hacks now. Or, you are missing out on chatting up the girls over at the pub.

I found math very ... addicting, and I wish I had learned balance sooner. Instead, I thought it was a lot of fun to sit down every evening and grind on problems from "Berkeley Problems in Mathematics"

comment 16y ago · link · parent

I don't like being a downer, but this is completely one-sided.

What matters is the ratio. I would like to see the other list and see how the ratio of MBAs versus non-MBAs look.

comment 16y ago · link · parent

Step 1: Find a person that has a problem

Step 2: Find a solution to that problem

Step 3: Get person to pay for the solution

Repeat...

comment 16y ago · link · parent

I think studying higher maths make for a good problem solver, but you are missing out on practicality and people skills.

For instance, in my life, I went all the way up to PhD level courses in mathematics. This translated into me being able to go into my start-up and solve all sorts of problems. I was also solving problems that were already solved because I was ignorant of what was considered good programming practice.

Like source control. Because I could, I wrote my own source control. Like an IDE. Because I could, I wrote my own.

I attribute my fantastic problem solving skills to my mathematics back-ground. After all, when dealing with proofs in abstract algebra and the creative process of making up strange sets that exhibit strange behaviors... Most things seem trivial at some level.

The fundamental problem of mathematics is that you spend a lot of time solving fake or stupid problems to build up the ability to solve real problems. If you are going to go into the cutting edge of research, then you will need those skills. Otherwise, you will be very good at solving artificial problems.

I want to say that it will make you a better engineer, but I'm very biased. I feel like it has helped me compared to my peers in terms of raw engineering power.

comment 16y ago · link · parent

I think DRY is very good, and I feel like many people missed the point of what I wrote.

DRY is very engineering centric which works very well for systems (i.e. non visual things like MySQL or node.js).

comment 16y ago · link · parent

That's awesome. I think the company that hired you was very smart. I'm going to write more on this, but the central theme will be about how companies should focus on nurturing and providing opportunities to grow better talent rather than waiting for it arrive in a nice package.

comment 16y ago · link · parent

I updated the post.

The key is not to just hire scrubs. The key is to build a company that has enough excellent programmers, "good enough" programmers, and enough scrubs to keep products moving at a good pace.

There are some deeper points that I failed to make, and I will write about them in the future.

comment 16y ago · link · parent

I think for those of us that know this stuff, it is important to understand there is a marketing and sales aspect to education.

While I'm a fan of Ruby per-se, I'm a fan of the Ruby mindset that is bringing out new concepts that educates a larger base of developers. I appreciate JavaScript for the same thing, especially node.js for bring continuation passing to the eyes of new people.

1510.

Avoid DRY for Product Development(blog.mathgladiator.com ↗)

6 points · by mathgladiator · 16y ago · 11 comments

comment 16y ago · link · parent

I completely agree. I think DRY is a very single-developer orientated aspect. There is value in repeating your self or copy and paste programming as that can enable further polish and customizing where DRY causes more intense mental activity to keep everything clean.

Inspired new blog article: http://blog.mathgladiator.com/2010/11/avoid-dry-for-product-...

comment 16y ago · link · parent

Reading the article, it made thing think about "cargo cults". Namely, people do work not because they know why they need to do it. It feels to me that Fake Work is just management's way of trying to figure out how competitors process is working or limited.

comment 16y ago · link · parent

Does anyone else find the best books are usually banned? I've heard of this book, and meant to buy it; now I've bought it. This is great PR for the book.

1514.

Escaping Mr. 20% and losing the ego(blog.mathgladiator.com ↗)

3 points · by mathgladiator · 16y ago · discuss

comment 16y ago · link · parent

my comment became too long

http://blog.mathgladiator.com/2010/11/escaping-mr-20-and-los...

comment 16y ago · link · parent

I completely and whole-heartilly agree. Every time I realize that what I am working on is going to turn into crap, I move on to something else. The steaming piles of crap behind me: http://blog.mathgladiator.com/2010/10/last-ten-years-if-i-up...

The problem with quiting/failing early is that you have to defend yourself from others who are unhappy and "stuck it out".

comment 16y ago · link · parent

That is very sickening.

comment 16y ago · link · parent

Wonderful Link.

I think you just lowered USA's GDP.

comment 16y ago · link · parent

> Since when did 100 lines of web application code become innovation?

When it makes executing and polishing the products easier.

> I am not sure if there can be a scale for innovation but a 100 line web 2.0 application is no match for the integrated circuit.

So, |EE| > |CS|?

100 lines of well written code in a functional programming language can do marvelously things. Just look at: http://norvig.com/spell-correct.html and then tell me how connecting AND and OR gates compare intellectually?

> Where is the innovation that focuses on the hard problems?

http://news.ycombinator.com/item?id=1585850

> code is just code

Or education material so those that come after us skip 10% of our problems.

> Pasting code on blogs and sites is just show-off

Or marketing

> What seems to be also missing is the appreciation for incremental and painstaking detail oriented innovation.

In aggregate, you get to see the results of people's pain staking details in whatever form they market it as. A post may represent a good night of hacking or a year of research to produce one moment of clarity.

1520.

How I use CouchDB(blog.mathgladiator.com ↗)

2 points · by mathgladiator · 16y ago · discuss

comment 16y ago · link · parent

It also means having root access.

All kidding aside, that is the central question of being a start-up CTO. All non-business building aesthetics and measurements are out the window until you have customer #1. After that, the goal is to support the customer as best as you can. If ugly code is making modifications difficult, then you rewrite only then. If it is working, then for all that is holy leave it alone. If the code is beautiful and a change will make it ugly, then it will be ugly.

One of the lessons I wrote about goes core to this. There is more value (to a company) in learning how to navigate, manipulate, and fix large bodies of ugly/shit code than trying to rewrite it in a perfect way.

comment 16y ago · link · parent

I once messed up a table that was responsible for a custom-distributed auto-increment field. If you roll that back and don't reset some servers, you have new data overwriting old data. Very bad stuff.

comment 16y ago · link · parent

I like it; it is similar to a project I made for my iPhone.

http://www.mathgladiator.com/quickie/

comment 16y ago · link · parent

I'm building a UI html/css framework-template thingy, but I'm not sure if it is "good" yet.

http://www.longbeardstudios.com/

comment 16y ago · link · parent

Maybe you should listen. Going too fast can mean that some things that may be more important in life are passing you by.

After all, course-work and corporate-grind work are not very good measures of your life. But then, I could be a hippy freak that loves love more than pointless work.

comment 16y ago · link · parent

Try to find a potential customer and try to sell them.

If you can make the pre-sale with 1 and 1, then you have a chance.

comment 16y ago · link · parent

There is probably value in asking why it is appropriate as that will clue readers in to a different meaning due to the fact that writing is not exactly perfect way to convey meaning.

comment 16y ago · link · parent

It doesn't help to build something if you can't sell it.

The NoSQL movement could be called a marketing and sales effort to sell people those ideas that you listed. Just because you know what vector clocks and consistent hashing mean doesn't mean that all the managers and all the technical directors in the world do.

comment 16y ago · link · parent

I like how the freemium is the book and the premium stuff is stuff you would expect to find free on the internet as promotion material.

Very interesting reversal of expectations.

comment 16y ago · link · parent

Imagine if all you need to do everything is turn PSDs into HTML and your job title is programmer.

And then someone shows you this book and tells you that every good programmer loves this book and it is confusing. The reaction is always negative.

1
505152
57