Better HN
topnewbestaskshowjobs
Log inSign up

programminggeek

5,207 karma · joined May 21, 2010 (16y ago) · 1,593 submissions

I am a builder. I build lots of things.
Submissions

comment 12y ago · link · parent

Rails IS slow, but part of the reason it shows so poorly on that tests is a weird glitch in how unicorn and wrk interact. In my testing for the Ruby Web Benchmark Report (http://www.madebymarket.com/blog/dev/ruby-web-benchmark-repo...) I ran into pretty bizarre low performance on unicorn and wrk.

TechEmpower uses Unicorn because it's the fastest MRI based rack server solution.

In JRuby, you have a few more high performance options, and Torquebox 4 is nearly as fast as Go in Hello World.

That being said, the only benchmark that matters is how your app performs on your tech stack. Anyone can write a slow DB query that ruins performance.

comment 12y ago · link · parent

When I got exposed to semantic web probably 4 years ago, I realized what a huge mistake it was/is.

My take is that it is a bunch of ideas to make it easier for search engines to crawl and use your data about all kinds of things. On one hand, that is great.

However, the huge problem with using it is that you end up creating your own search engine to crawl data sources to do anything useful. That is to say, you have to crawl the data, store it somewhere, and then build up your own systems for querying or doing anything useful with the data.

The use case many people have is that they want to use and API to get some particular bit of data out and that's it. Like, say you want to do a search for a list of tweets on Twitter with the hashtag #HackerNews. The sane thing to do is to be able to hit a twitter api endpoint and have it send you back a list of tweets with that hash tag.

Now, imagine if instead you had to index all of twitter and filter yourself for tweets with #HackerNews in it. Is that better for that particular use case? No, it sucks.

There are certainly cases where you DO want to crawl data and do your own data analysis on it. But, that is a much more limited use case for many developers and there isn't as much value in that as people seem to believe.

A better solution would be something like REST with HATEOS on a much larger scale. You'd be able to index things nicely, but still have the benefits of smarter API calls.

Unfortunately, I don't see this happening anytime soon, despite the interesting things you could build with it.

comment 12y ago · link · parent

All of these are good tips. After implementing most or all of these our site was a lot faster.

This is how we did it: http://retromocha.com/learn/how-we-made-our-website-fast/

Most of the advice I've seen elsewhere like YSlow and Google Page Speed, so it's pretty common and available advice. I think most people just don't do anything with it on their own sites.

comment 12y ago · link · parent

You are 100% correct. If you look around a lot of sites are 1-2 MB page loads, 100+ HTTP requests and do very little if any image compression.

As a result page loads take at least a couple seconds on a good connection, but a 5-10 second page load isn't unheard of.

This is what we did for our own site to make it fast: http://retromocha.com/learn/how-we-made-our-website-fast/

Honestly, a lot of people could get a lot faster sites if they just put the time and effort towards making them fast. It's not even that difficult, but most don't know or care to make the changes.

Google is doing a lot to make this stuff easier, but there are plenty of things holding us back, mostly it's lack of care to make things fast by the average website.

comment 12y ago · link · parent

Kudos to Microsoft for going out of their way to support and improve an important product after launch. Microsoft certainly has a history of doing this with their larger initiatives like XBox, but in the PC industry, this kind of post product improvement isn't so common.

When was the last time you saw Dell really iterate on a product post launch in a meaningful way.

To revive the PC market, Microsoft needs to do what Apple did for the last 15 or so years - stop treating PC like a commodity market where you ship beige boxes to customers without much care to differentiation or a delightful end user experience.

Surface is easily the most interesting PC I've seen in probably 10 years in Windows' ecosystem. I hope Microsoft sticks with it.

comment 12y ago · link · parent

Anecdotally, it's a lot easier now with 3g/wifi/4g than it was for the average person even a few years ago.

Also, you could argue that radio has become even less interesting as a medium in the last decade. Last, a lot of niche celebrities are doing podcasts now, so when you combine those things together, it seems like the makings of an interesting inflection point.

comment 12y ago · link · parent

Agents can and should exist if only for bargaining on salary and benefits. The average person in just about any field could benefit from an agent to negotiate on their behalf.

Most people simply don't negotiate any part of their job beyond initial salary. Sometimes people might negotiate benefits, but that is somewhat rare.

More importantly, unlike traditional contracts with expiration dates, the average person doesn't renegotiate their deal very often or at all. They take what they get from their boss, hoping to get at least a cost of living increase, which is more and more rare.

All of this means that each year you are effectively earning less if you don't renegotiate your deal. What was maybe a good deal 5 years ago is now worth 11% less than it was when you started.

So, unless you are renegotiating your deal, you are agreeing to keep a deal that is less valuable each year.

Knowing that, having an agent or any mechanism to force negotiating on an ongoing basis would be a huge step in the right direction for most people.

comment 12y ago · link · parent

Twitter won't go away for say 50-100 years. Why? There is value in the name/idea in the public consciousness.

Let's not forget that myspace, friendster, and livejournal still exist. There are a lot of pre 2000 sites and brands that are still sort of a live in some kind of zombie state or another.

It's weird.

comment 12y ago · link · parent

The bigger question is, what do you do with the time you save? Are you just piling on more work?

The reasons you invent things to get rid of the crap work is so that you can do the work you really want to do. In my experience, people replace one pile of work with another and call it progress.

Only the rare few will automate the things they should, and truly live the freedom they have.

370.

Laughter in the male dominated room(blog.cleancoder.com ↗)

6 points · by programminggeek · 12y ago · discuss

371.

Put Everything on One Domain(retromocha.com ↗)

6 points · by programminggeek · 12y ago · discuss

comment 12y ago · link · parent

It might be the db that more people like, but MySQL is more popular by a wide margin. If only because it runs WordPress which runs like 20% of the internet.

comment 12y ago · link · parent

Without getting into a religious argument about truth, science, the existence of God, etc...

I think there is a real unintended consequence of younger generations turning away from all forms of religion or absolute spiritual truth in any form. In short, there is a set of morals and ethics that is deeply rooted in Christianity and Judaism that for a long time helped steer this country in a generally good direction. In the absence of any great sense of moral authority, right vs. wrong, good vs. evil, etc. you have a completely situational and relative morality.

That is to say, what is right and wrong depends on who you are, what you believe, and your own personal sense of justice or fairness. Eventually, things are only wrong if they are deemed illegal, and laws can be written to say anything or do anything. At some point the only thing that is "wrong" is upsetting someone more powerful than you. As in, it's only wrong if you get caught or get in trouble.

For example, many international companies play on the fringes of the international tax code by routing money through various shell companies and intermediaries so as to avoid paying taxes in various countries. If it was the mafia and they sold drugs instead of software or advertising, it would be considered money laundering, which we should all agree is illegal and wrong.

Now, when people read stories on that topic, they comment that Google or Apple aren't doing anything wrong because what they are doing is "perfectly legal", even if they are going out of their way to avoid the spirit of the law. Shareholders are fine with this behavior because they are greedy and it makes them more money. As long as nobody is thrown in jail, what does it hurt right?

A stronger moral standard would be to say that if you are doing business in a country, you should pay a reasonable and fair tax rate along with everyone else doing business in that country. To skirt tax obligations through financial maneuvering and engineering the flow of money is somewhat akin to stealing.

I am not pro media companies ripping people off, but people take a very similar approach to illegal file sharing for their favorite shows and movies. If something is available for rental or purchase at a reasonable price, people should pay the $1-4 to rent or about $5-15 to buy. However, many people choose to download things illegally without any intent of paying the producers of their favorite movie, game, or tv show. At some point, theft is theft.

I'm not saying that life is perfect if everyone is a Christian believer or anything like that. What I'm saying is there are morals and ethics that are falling by the wayside amongst Christians and non-Christians and I've seen nothing in secularism, athiesm, or agnosticsm that is doing much to replace them.

I don't know where we end up as a country, but the trend away from faith and any sense of moral or ethical absolutes is going to be one of the worst unintended consequences of the modern "enlightenment" of science and technology.

For all the technical or intellectual progress we've made in the last 100 years, morally and ethically we seem to be worse off.

374.

How We Made Our Website Fast(retromocha.com ↗)

7 points · by programminggeek · 12y ago · discuss

comment 12y ago · link · parent

Bootstrap is fine, but I've moved to PureCSS because it's smaller and is a lot closer to doing just what I need and nothing more.

Neither option is completely perfect, but I skew towards wanting smaller frameworks that do just what I need.

comment 12y ago · link · parent

What makes voxels better or worse than polygons for this kind of game and art style?

comment 12y ago · link · parent

If municipal broadband and other significant competition for broadband existed, this wouldn't be such a big deal, but the fact is in terms of TV you have like 2 major satellite TV providers and 1 cable company available in most areas. In terms of broadband internet you have 1 cable company and maybe 1 or 2 DSL providers available.

Realistically, there is basically never more than 1 cable company per city anymore that I can see. Fiber internet and television is all but nonexistant as an option for the vast majority of people.

Long story short, after this merger, Comcast will be an even bigger media conglomerate with almost no competition in their core business. Expect higher prices and worse service.

That's comcastic.

comment 12y ago · link · parent

I'm not in the valley, so I guess I don't understand the recent obsession with Peter Thiel. It seems like lately his name has popped up in HN comments over and over again.

379.

Microsoft said to be terminating its Surface tablet line(phonearena.com ↗)

11 points · by programminggeek · 12y ago · discuss

comment 12y ago · link · parent

Ok, so at what point do all these magic new credit card/meta credit cards just get bought up by AMEX, Master Card, or Visa?

comment 12y ago · link · parent

My data is not very big.

comment 12y ago · link · parent

The network you can make and the doors it opens are tremendous and without them you have to hustle in a completely different area than you otherwise would.

It's not that they give you a free win, but rather an advantage you can play later as needed. Getting a degree from a no name liberal arts school or a smaller state school is not going to mean the same thing for certain pursuits.

That said, an overachiever can do amazing things with limited opportunity. Advantage or disadvantage, it depends on how you use it.

383.

Random, Our Latest Experiment(retromocha.com ↗)

2 points · by programminggeek · 12y ago · discuss

comment 12y ago · link · parent

Good pun.

comment 12y ago · link · parent

They don't pay when you don't charge or otherwise offer something of value in exchange for money.

Also, without an email list your conversion rate is WAY LOWER.

So, the author seems to be doing two things very wrong and for that he's not making nearly the money as he could be.

386.

Agile Without Improvement(retromocha.com ↗)

1 points · by programminggeek · 12y ago · discuss

comment 12y ago · link · parent

I think the fall of the middle class has a lot to do with a lot of different factors, but probably the biggest is the lack of negotiation that happens in our country by the average person.

We are a country of price takers, not price setters. Most people are taking whatever price they are offered with no push back. No raises this year? Well maybe next year. Maybe a tiny bonus. Etc.

Unions had their own set of problems and at some point might be unsustainable, but when people stop negotiating deals, they get taken advantage of.

I've changed jobs more than some people I know because it would get me a better deal, and it has. But before that, I experienced myself and watched my parents stick to the same job without getting appropriate raises and bonuses for the work they did.

In our current economy the best way to get a raise seems to be to switch companies because companies don't like giving raises and people don't like asking for them. Eventually what used to be a early raise negotiation will be a yearly job negotiation. It's starting to happen with younger workers and the more that is normal, the less efficient all these businesses will become.

All because people stopped negotiating.

comment 12y ago · link · parent

This is skewed heavily by employee wages. In SV they can be 2x what they are in the midwest so adjust for location.

comment 12y ago · link · parent

So, I assume Apple Pay will solve some of these kinds of problems? Otherwise, what's the point?
1
121314
54