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 13y ago · link · parent

I would second this. Go has enough batteries included that you can write nice little web things with the same basic development experience you get in python or ruby or php. It's really quite wonderful.

comment 13y ago · link · parent

So it looks like in terms of cost, LED is now to the point where it is the smart buy if you consider your time valuable at all (how much time do you want to spend changing light bulbs?). The energy expenditure might be the same between CFL and LED, but if you figure you need to change a CFL 3x as often, that's 3 times the lightbulb changing events.

Also, it seems like we are reaching diminishing returns outside of potential manufacturing efficiencies at some point in the future. How far can we go to make lighting efficient until it makes more sense to focus on other areas of energy consumption like the systems that manage your lighting or other home/office utility infrastructure like the Nest thermostat?

comment 13y ago · link · parent

Wow, this is a surprising reversal of trends as far as user generated content and micro-transaction based economies go, but the auction house really did change the core mechanics of Diablo 3.

As a player I really did kind of like the auction system during the initial grind from level 1 to 60, but when there was no more level progression and the only progression was item progression, it just stopped being fun because the only purpose of playing was to kill things for the best drops that you could sell on the auction house. There was no longer a use for almost everything that dropped.

The auction house mechanic might work on a MMO style game, but Diablo 3 isn't a MMO and the auction house broke the one mechanic that made the game a lot of fun - random loot drops.

It's treasure hunting basically. Auction house turns treasure hunting into a job, and thus it's less fun after a while.

This is a good lesson for game designers. The treasure hunting random loot mechanic works only if it can't be short circuited. The moment you can "buy" treasure, it's no longer treasure, it's a commodity and collecting commodities is a job, not a game.

Treasure hunting is a game.

comment 13y ago · link · parent

The tricky part is getting people to understand what really drives their business and at the right level. It's not even just picking the right metrics, it's understanding them enough to take action on them.

My metric for metrics is to track things that will change your behavior. If a metric changes and you don't, then it's a pointless metric.

I've seen many companies track reasonable metrics, only to do nothing about them when they change. They just try to "do more" of whatever they were already doing.

Doing the right things with the right metrics is not a skill that everybody has and not everybody can learn.

comment 13y ago · link · parent

I think projects like this are interesting if only because it gets dangerously close to the idea of having one language and codebase across all platforms. There is something incredibly appealing about that concept, but it never seems to be something that is easily accomplished or well executed.

It seems like you end up with either worse applications that can't give the full "native" experience in terms of speed/responsiveness, or you end up with some kind of emulation layer at the UI level that gives a consistent, but worse experience across platforms. In either case, it never quite turns out as planned.

The closest I've seen to this working is maybe games written in C++ that can be fairly easily built for different mobile platforms with a few native language bits done via a bridge where needed.

comment 13y ago · link · parent

I don't know if $150,000,000 is a good number or not, but it probably is a lot of money for sure. This is actually not a surprise because frankly, these kinds of ads shouldn't have existed in the first place.

As are so many things on the internet, this was a short lived opportunity that made some people a lot of money, but is not a long term viable business model.

However, like many of these short lived businesses, there will be a few who made enough money to pivot into other adjacent opportunities. The short sighted ones who build their businesses like Google's policies would never change will be left holding the bag.

The same thing happened in CPA based affiliate marketing for things like ringtones, work from home offers, and acai berry supplements after the FTC cracked down.

comment 13y ago · link · parent

I don't think the point of HHVM is to run things like phpbb. It is a tool for Facebook to run their own stuff on as fast as possible.

comment 13y ago · link · parent

That's only partially true. Compile times are absolutely a factor in development time for the same reason that how long your test suite takes to run is a factor. A faster feedback loop can shorten dev cycles. If nothing else, it's more fun to have faster compiles.

This is one reason Go is so appealing to many people. The compile times make it "feel" like ruby or python or php in terms of "hit refresh and the change is there" style of development. That is a huge difference from, hit save and wait a minute for my java project to compile, and push out to tomcat a minute later. Even with JRebel the best I've seen is a 2-5 second page change refresh cycle in Scala and a minimum 5 second test suite reload time using SBT.

Scala is a beautiful language, but compared to Go, it's a very slow dev cycle.

939.

Samsung Sucks At Original Design(theverge.com ↗)

1 points · by programminggeek · 13y ago · discuss

940.

Jimmy Kimmel Reveals "Worst Twerk Fail EVER - Girl Catches Fire" Prank(youtube.com ↗)

2 points · by programminggeek · 13y ago · discuss

comment 13y ago · link · parent

What exactly is the difference between a guaranteed minimum income and welfare? Are people talking about you get paid X regardless of what you do, because if you want to see what that kind of thing looks like, look at life on an indian reservation. In many cases, that doesn't really solve the problems of poverty, alcoholism, etc. even if there is humungous opportunity to work, get a free education, etc.

Some people don't want to do what society asks of them. How do you solve that?

comment 13y ago · link · parent

Replace Software Development with any job and you are really on to something.

People are mean and jerks are everywhere. Perhaps somehow society has convinced us otherwise, but there are a lot of terrible people out there.

A lot of people do evil things, a lot of people hurt other people. This is not new and it's not a secret, people for whatever reason are more oblivious to it than they should be or perhaps people are so accepting of inappropriate behavior in our entertainment mediums that we are desensitized to it until it happens to us. I really don't know for sure.

What I do know is not everybody deserves a say in everything. Sometimes people are wrong, or are trolling, or just have no place in the conversation. The right thing to do is to remove those people from the conversation if they aren't being constructive.

comment 13y ago · link · parent

I'm not sure that taking the shadows out of their logo is actually changing it. Google uses flat logos on t-shirts and elsewhere I'm sure. Imagine a black t-shirt with a white google logo on it. Flattening a logo is something you might do in the context of usage, so I just don't know why flatening it for their default (which matches a lot of their existing design anyway), is seen as a big deal.

comment 13y ago · link · parent

You know what's amazing about Apple? The iPhone 4 is still a fantastic phone. I use it every day and it runs great. It's what 3 years old now? It might be hard to sell consumers on how great a 3 year old phone is, but gosh, it's still pretty fantastic.

I can understand why they would want to do the 5C, if only so they can get customers and developers unified around the larger device size, and so that they have a newer product that people are willing to pay for.

Still, it's astounding just how good the iPhone 4 still is, especially in light of the other phones that launched around the same time - the original Galaxy S and the Motorola Droid six months before that).

comment 13y ago · link · parent

I think we are too, but I think that saying that funnels are evil, bad, stupid, whatever is foolish. The funnel is still the funnel, but how you treat it makes a difference. Of course, that kind of nuance doesn't get you on the front page of HN either.

comment 13y ago · link · parent

What he describes "the audience" is part of the funnel. The idea that you have a cloud of people just out there taking in your content or marketing or apps or whatever just means they are sitting at the top of the funnel.

You don't have to treat them like a meat grinder at all. You don't have to push every person "into the funnel". In fact, I would argue that's doing it wrong.

If anything, the funnel should be a set of gates people pass through, more like a filter that at each stage people are more likely the target audience for what you are selling.

For example, when you go into an Apple store, they let you hang out, play with things, and are generally pretty nice to you. They also ask you questions about your needs and wants in product and they steer you towards what they think might be the best fit. Thus, filtering you down to the right product. BUT, if you can't afford the actual purchase, they aren't going to force you into buying or badger you into something.

If more websites treated their funnels like a filter instead of like chute you are trying to force people down, the better off marketing would be as a whole. It actually makes the whole process better because you don't even try to pitch until they are ready to buy.

For example, on a current side project I don't even show pricing until people use the product. I don't even give them the opportunity to buy until they have shown that they will use it. I don't want angry customers saying they bought something that they didn't use and want a refund. So, we don't try to sell until people are happy enough using the product.

We will probably get fewer customers and revenue this way, but our customers will be happier and we will only have customers that use our product instead of people who are paying us because we are good at marketing to them.

comment 13y ago · link · parent

Looking at the numbers and making some estimates...

$10 billion in transactions probably turns into about 1% in fees, so we'll say revenue is about $100 million. Being generous, let's say they are running on a 30% margin. That would put profits around $30 million a year.

That's pretty good, but when you look at that number it would be a 10 year payback period at $300 million. At $1 billion, that is a 30 year payback period.

Given the $69 million in outside funding, I'm sure they are pushing for a 10x return, so $690 is probably the ballpark of the asking price. They are probably asking for $1 billion in hopes of a counter around $750 million.

If I were a company looking to acquire a merchant services provider, I would look at the cost of acquiring that $10 billion a year in transaction volume. Is it less than $1 billion? Probably. That is probably why MasterCard built this: https://www.simplify.com/commerce/ instead of dropping $1 billion to buy stripe or Braintree.

If you didn't have a big strategic need, the right price for Braintree is probably more like $200-300 million. Braintree won't sell at that valuation because they have raised too much money and it wouldn't be a big enough return.

I could see PayPal buying Braintree, just for some of the more developer focused company culture, but I don't see why Square would buy them.

My guess is Square and Stripe end up merging at some point. It almost feels inevitable.

comment 13y ago · link · parent

http://benchmarksgame.alioth.debian.org/u32/benchmark.php?te...

comment 13y ago · link · parent

This is one of the reasons I've been playing with go instead of scala for future projects. Both are great, but go compiles so much faster it's like night and day.

comment 13y ago · link · parent

This is the reason I learned Assembly in high school. I wanted to write my own OS and well it seemed at the time (around 2000) that I would need to know ASM to a bunch of the low level stuff. I didn't really have anyone to tell me I could write a whole OS in C or C++.

I got a floppy to boot into my os and print hello world and I learned a ton about how to program a processor. It was fun. Oh the crazy things you do as a teenager...

comment 13y ago · link · parent

I wish this page style would just go away.

comment 13y ago · link · parent

At some point just buying a MacBook Air makes more sense than either. Just have 2 gadgets and deal with it.

comment 13y ago · link · parent

I agree that testing getters/setters and other libraries functionality is a waste of time, but...

You know, the "pragmatic" approach that many programmers take - "writing tests is hard and time consuming, so let's write fewer tests" is a recipe for disaster and frankly the idea that if you just think about the problem more, that you're make fewer mistakes is very much along those same lines.

Here is the real problem - humans are fallible and we make mistakes. This is why pilots have flight checklists, why manufacturing has quality checks, why engineers have building codes, and why at hospitals checklists and procedures save lives

If pilots and mechanics just "thought more about the problem" they would still make mistakes. You might be a brilliant surgeon, but thinking you're too smart or too good to go through a checklist could cost someone their life because of a small oversight.

Would you feel good going under the knife if you knew that your life was in the hands of someone who thought they were too smart to scrub in?

We are a young profession with very few actual quality standards. Luckily, most of the software that we build isn't critical to people's safety, but I'd be terrified if the software powering medical robots, life support machines, and airplane autopilot systems were built by people who were "too smart" to write tests.

When a software bug costs people their lives because some programmer thought writing those tests was "too expensive" or "a waste of time" how smart is that programmer?

comment 13y ago · link · parent

After building some single page JS web apps small and large, I am not sure that building large JS web apps is actually a good idea.

In fact, a lot of the time they probably aren't a good idea. It is often better to just build out separate pages and on a page that requires more interactivity, use knockout or something similar.

comment 13y ago · link · parent

Shouldn't it be forever and not for ever?

comment 13y ago · link · parent

I am not sure why people would be so upset about a keyboard. If you need an ergonomic keyboard, use one, but don't complain about a product not being ergonomic. That's like complaining about a bicycle not having 4 wheels and an engine when what your really want is a car.

comment 13y ago · link · parent

Your app is free right? Why would you need a demo button for a free app?

comment 13y ago · link · parent

Wow, this looks super interesting. Would this be the first step in creating a Haskell wrapper for doing native UI work, or is it more useful for games and the like?

comment 13y ago · link · parent

You don't write all the functionality that the framework gives you. You create boundaries between the framework and your code, so that if the framework changes, your app code doesn't have to. It doesn't matter if it's a front end framework, a database ORM, a queue, or a web api. External changes don't need to break your core app.

comment 13y ago · link · parent

I am not opposed to picking a framework, I'm opposed to make your app a "framework" app just because that's the default state of things. You can certainly pull things into smaller chunks that are loosely coupled, so maybe you use something like Rails for the view, your app is plain old ruby, and you use MongoMapper or Sequel for the DB, but the communication between those layers is done by sending messages, not by hard linking, so that the front or back end can be removed.

Rails all of a sudden is terrible? Switch the routing/views/controllers to Sinatra. Want to move over to something Java based, you can still use a bunch of your core app code via JRuby and maybe slice out bits into Java/Scala over time. Want to switch from Mongo to Postgres, swap out the database module.

My point is, the switching cost doesn't have to be an entire codebase rewrite to move from one thing to another. It only exists that way because the default framework path is tightly coupled by default.

As to if people should use Obvious? Well it's just a pattern of how you put code together. It's not a framework and it's not the only way for people to get the same benefits. I don't care if people use it or not. Use Hexagonal Architecture or Onion Architecture or DCI or whatever the flavor of the week is. It doesn't matter.

The point is, your code doesn't have to be tightly coupled to any framework. There are good options and patterns out there and just defaulting to any particular framework's defaults will lead you down the same path as the OP.

1
313233
54