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

This doesn't feel at all like IBM.

It feels like a modern design team trying to fit in, not realizing they work at IBM.

comment 11y ago · link · parent

The danger Intel faces is at what point are ARM chips "good enough" to encroach on the PC and server space. At some point the billions Apple and Samsung are spending to improve manufacturing and R&D will likely make ARM chips fast enough to handle all kinds of general usage in laptops and servers.

If Apple took their PC business away from Intel, they might not care, but if Samsung decided to start selling $10 desktop ARM chips while the equivalent PC chip was $100, that would potentially put a huge dent in Intel's core business.

I don't know if this will happen soon, but the economics of it are not in Intel's favor. If I were Intel, I'd be more worried about ARM encroaching on desktop and server than getting a foothold in mobile. That is the risk Intel faces.

comment 11y ago · link · parent

I like the idea of dataflow or stream processing ideas. I would love if you could make the connector pieces smarter so that you were enforcing a contract between the piping mechanisms. I believe you could build some very interesting systems with that approach.

comment 11y ago · link · parent

To me, messaging is the most important part of "OOP", and "OOP" should have been Message Oriented Programming. Calling it object oriented programming and having classes and inheritance made all of academia excited because you got to name and classify things. Object reuse was going to save the world, etc.

Message oriented programming - that you need some kind of message protocol between two things to communicate is something we do a lot of, and has built huge systems like The Internet and all of our web services and JSON API's and all that jazz.

The beauty of MOP is that once you have a format between two things, you can simply code to the format. We do this all the time with Web API's. The entire paradigm of microservices that is gaining popularity is really close to what Alan Kay was talking about when he created OOP. The biggest difference is microservices add network overhead complexity.

If we built software as a series of Objects/Services/Containers that sent messages to each other over an enforced protocol, many of the OOP complaints go away because what is important is NOT the object, it's the communication protocol between objects that drives value.

We have completely inverted the paradigm and lost a lot of value along the way.

You don't need a lot to do message oriented programming. You need request/response formats, you need to enforce those formats, and you need a sender and receiver that do things on either end of the request-response.

Erlang and the Actor pattern seems to be one approach to solving problems using this technique, microservices is another.

I think there is a third option where you have contained objects/services/whatever running in the same program sending simple data structures like hashes as messages back and forth to each other. It would work well as long as you have code to enforce the message protocol between things(right data format, nil checks, etc).

That approach could be done in OO languages like Ruby, Java, C++, PHP, Python, etc. OR it could be done in FP languages like Clojure, LISP, etc.

It's not complicated, it's just applying the request-response pattern to connect objects/processes/code together in a sane way. Sort of like UNIX pipes on the command line. Sort of like HTTP. Sort of like a lot of things we use, but don't seem to think would be good patterns for code.

comment 11y ago · link · parent

You know what's better than using a Keurig? Get an Aeropress. It's easy, awesome, and tastes better than Keurig.

Also, Aeropress doesn't have all that not so eco friendly waste that Keurig's K-Cups have.

There is no DRM on Aeropress.

comment 11y ago · link · parent

Another way to look at it is that the requirements changed. When the requirement is multiplatform then you pick the best multiplatform solution, when the requirement is simply the best engine for a single platform, that's a totally different requirement.

It's not that the picked the wrong tool for the job, it's that the job changed.

comment 12y ago · link · parent

It might do that wildly inefficient thing...

Or, you might do something where you have a list of pointers, and you point at a different value instead of mutating an existing value.

I haven't dug into the details of how immutable data structures can be made to work efficiently, but part of the charm is that in many cases you don't mutate the array at all. What I mean is, there are certain behaviors around mutation that programmers do because they can.

When you take away the ability to mutate data, you design differently and without side effects. All of a sudden testing becomes easier, faster, cheaper for large parts of your codebase. You have simpler solutions that are potentially easier to reason about because the complex (and sometimes elegant) solutions aren't so readily available.

A few talks that are around this style of thinking:

https://www.destroyallsoftware.com/talks/boundaries

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

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

http://www.infoq.com/presentations/Simple-Made-Easy

Boundaries are good, values are good, simple things that work together are good. The more we can take the good parts and form them together into a cohesive language/framework/platform, the better our software will be.

comment 12y ago · link · parent

There are a couple of features I'd love Crystal to have, but I might be in the minority. One, immutability by default, or rather, make immutability more the rule than the exception. Two, type checked named parameters/keyword arguments. Yes they are verbose, but they make it much more clear what the code is doing upon 2nd, 3rd,..... 100th reading than something like MyObject.method(a, b, 1, zurb, foobar, false, -1, "bob"), where the order is important and the variables don't ned to be well named.

Swift, Kotlin, and Scala seem to be the only significant languages to get both features pretty close to what I'd want. Otherwise, I don't see much in the language space that scratches that itch.

Those three languages seem to be the closest to getting "the future" right when it comes to the "next generation" of languages - functional, object oriented, type checked and compiled languages with a bit of dynamic checking/inference for programmer convenience. Other languages seem to be too much in other particular directions to get the benefit of different styles where it makes sense.

I had high hopes for Mirah, but it hasn't really evolved the way I'd hoped.

I don't know if my notion for a language is the right direction for Crystal, but I'd love it if someone came along and made my "perfect language" for me. It'd be one less thing to build myself.

339.

Introducing Words, a Fast HTML Theme(retromocha.com ↗)

3 points · by programminggeek · 12y ago · discuss

comment 12y ago · link · parent

I really don't understand why Microsoft paid so much for Nokia's phone division.

comment 12y ago · link · parent

Sounds cool, but why the tiny font? 13px font size doesn't feel like good design in 2014.

Is it just me?

comment 12y ago · link · parent

I think Lincoln, NE is far more hipster than Des Moines.

comment 12y ago · link · parent

Type checking at runtime allows for runtime data contracts. There are a lot of benefits to that, largely in being able to enforce stronger boundaries in your code.

Strong boundaries allow for potentially better code reuse, fewer bugs, and a more confident style. Once you setup a type or validation boundary, you know that you no longer need to check for type errors and so forth elsewhere in the code, if only for the fact that the code will blow up before it even gets there.

That means you write less code, have fewer bugs, and can spend more time doing important things, like playing Quake 2.

comment 12y ago · link · parent

I am a big fan of design by contract. (http://retromocha.com/obvious/) I don't trust user input in any form, including the database.

So, while a system like TypeScript that checks types in the code is fantastic, it doesn't check types in the input, which is how a lot of problems happen in the first place.

Seriously, just import one legacy dataset into your system or have to work with some JSON api, and all of a sudden you can't trust that the data is valid, correctly typed, or even sane.

Doing proper validation of types and data integrity at any input point can save you a whole category of sadly common bugs. That includes data coming out of any data source you use, like a database.

Runtime type checking is another tool to make validated data a common, sane thing.

comment 12y ago · link · parent

It's almost as if AT&T was only planning on rolling out fiber if they could sell it at a premium and effectively end around the cable companies in the next 5 years by replacing traditional TV charges with premium on-demand Netflix/Hulu/Whatever else. That would be a smart move for AT&T, but would be bad for the consumer. Just think, instead of spending $10 for Netflix, you could spend $15-20 to have FAST NETFLIX (and probably other bundled junk you don't care about). Even better, they could bundle internet with netflix with phone with dvr for like $150 a month!!!!! Think of the margin on that!!!!!

Seriously though, it's good that the FCC is looking into this, but I doubt they will do much about it. At some point there is just too much money involved for the "right thing" to happen when it comes to your average consumer/citizen.

comment 12y ago · link · parent

Duracell is a smart company and has been for a long time. Batteries are a largely disposable thing and so the customer LTV is pretty awesome. Rechargable batteries haven't really hurt the business signficantly and the need for electronics keeps going up.

Even more, the R&D side of a battery company could be incredibly lucrative with all the electric vehicles, portable electronic devices, and so on.

Buying a battery company in this day and age is a smart investment in tech, even for a non tech investor like Buffet. After all, every electronic device needs power right?

comment 12y ago · link · parent

I wish TypeScript checked types at runtime.... boo...

The only language that I've seen in JS land that is trying to get this right is AtScript from the Angular team.

https://docs.google.com/document/d/11YUzC-1d0V1-Q3V0fQ7KSit9...

Looks interesting so far.

comment 12y ago · link · parent

This makes a lot of sense for Microsoft. It doesn't in any way cheapen or lessen the .NET business at all, if anything more things will be built on .NET which will lead to higher sales of things like Azure, which for a lot of non .NET devs has almost 0 mindshare.

I've never heard a Ruby or PHP developer list Azure as a potential deploy target. That is a real problem for Microsoft, even though Azure can do a lot of the same things AWS or Google's cloud does.

Smart move Microsoft.

comment 12y ago · link · parent

A college professor explained to me in my senior capstone business strategy class why share buybacks are a terrible idea. They signal to investors that you have nothing better to do with the money than buy your own stock.

Instead of investing in R&D, buying assets, streams of income, creating new products, renovating facilities, or even paying your own people, a stock buyback says that all of those things are basically a worse ROI on the business than just handing the money over to shareholders.

In general, I think my professor was right. I think there are good reasons to potentially buy out investors and so on, but usually these programs are done under the guise of making shareholders richer, but I just don't see that as the case.

The best way to enrich shareholders is by simply giving them a dividend, or by running a more profitable business (which will drive up the stock price).

Everything else is basically financial machinations that look good, but are mostly meaningless.

comment 12y ago · link · parent

The thing is, say not having your music on Spotify gained 0.5 million album sales. At $10/album that's $5 million. Over what period did she earn the supposed $6 million?

Taylor Swift and/or her management has played everyone like a fiddle in this PR game. She stands up for artists, makes a stink, and gets a lot of press and sells a ton of albums.

People now continue to write about this to prove her wrong, but only end up proving her strategy to be the right one.

Not putting her music on Spotify in a very public way probably made her more money than keeping her albums on Spotify. Her fans still have plenty of ways of consuming her music, so it's a net win for everybody.

comment 12y ago · link · parent

Nope, what I'm saying is that instead of the company doing that many billable hours, my coworker played with docker and puppet instead.

comment 12y ago · link · parent

The virtualization and containerization of computing is a long term net win, but there isn't a lot of huge benefits financially or otherwise for the scale most companies operate at.

For example, I witnessed a co-worker spend days messing around with docker to host incredibly simple PHP/MySQL and Ruby apps. Instead of renting a few VM's on say Digital Ocean or Amazon and spending probably $50 a month, my co-worker spent at least 50-100 hours of time to put everything on Docker and Puppet.

Let's say the net cost of that orchestration was around $10,000 in terms of billable time. You could rent a separate VM for every project and still come out ahead without trying very hard and still spend less time doing the project.

The total cost on that was way out of whack AND docker continued to be a source of bugs and ongoing overhead costs in terms of time.

My point is that these tools are great when they save you time, energy, and money, but a lot of people are overinvesting in tools like docker too early and they will never get a good ROI on their investment.

I don't know at what scale these tools start to make a lot of sense, but I imagine it is somewhere over 20 or 30 machines or projects before containerization shows itself to be a good investment. I'd be curious to see someone run the numbers on that.

comment 12y ago · link · parent

I'm not sure you understand how much people love stickers and personalization in general.

comment 12y ago · link · parent

Computer displays on average don't. Phone displays largely do, but there are millions of computers sold every quarter that aren't anywhere close to retina displays. Also, there are hundreds of millions of existing devices with non-retina screens.

Probably not wise to abandon those because of the new shiny thing.

comment 12y ago · link · parent

Discussions can be great, but I'm not sure that putting an article and a forum together (which is what most blogs tend to do) is a wise thing.

Think of it in the context of say someone giving a speech or presentation. In many cases the comments act like someone yelling "YOU SUCK!" in the middle or end of a speech. People tend not to do that in real life, but online the rules are different I guess.

There are so many places to leave comments, I just don't know that every article needs a comments section. The negative side of blog comments usually outweighs the positives. Leave commenting to more dedicated communities like HN, Reddit, LinkedIn, etc.

comment 12y ago · link · parent

Having spent a little time with Go, I ended up feeling like it was both better and worse than Ruby. In many ways it's many of the things that I want from a language - static typing, fast complier, pretty sensible defaults and so on. A lot of things I wish Ruby did, Go does great.

I think Go does really well in tooling, but it doesn't feel as great in syntax or language features that I would really like. The two big ones I wish Go had were named parameters on functions, and immutable data structures.

It's probably a blub paradox thing, but my ideal language has immutable data structures and named function parameters. Kotlin, Scala, and Swift all kind of nailed these features, but Go has not.

For me, named parameters and a little verbosity goes a long way to allow me to communicate intent in my code. Immutability allows me to have a built in sense of safety that once the data is set, it stays that way.

In my experience, a whole class of problems goes away when you have those two features (alongside the many other features we'd expect form a language like Go).

What I felt from Go is that a year ago when I was playing with it, that they didn't care much about either of those two features, which is fine, but it keeps go from being my ideal language.

Swift I wish was a bit more general purpose, Kotlin and Scala don't compile as fast as Go, and Ruby doesn't have a compiler to do some of the checking I wish it would.

Go's fast compile times with something like Ruby's syntax and a feature set similar to Kotlin/Swift would be darn near perfect.

For me, there is no perfect language.

comment 12y ago · link · parent

This kind of thing used to happen in the early days of AdSense and other platforms.

Any time you can take low value ads, and move them to higher value ads, you can make money.

It isn't a great user experience, but people peddling ads at scale don't care about UX a whole lot from what I've seen.

comment 12y ago · link · parent

Clearly Zillow is quite dominant, but I'm not sure that I agree with the final sentiment of all traffic becoming mobile traffic sooner rather than later.

Mobile is growing like crazy, but there is a saturation point where your phone is not the best device for certain kinds of activities. Tablet isn't necessarily the best device either.

I don't think that an app store strategy is going to be the next big thing for Zillow or Trulia. I think that handling mobile well is important, but I wouldn't bet the farm on mobile when it comes to real estate.

It's jut not a foregone conclusion that desktops and laptops are totally disappearing anytime in the next 5 years.

359.

Startup Marketing Is Like a Touring Band(retromocha.com ↗)

5 points · by programminggeek · 12y ago · discuss

comment 12y ago · link · parent

Twitter is the worst RSS reader ever because it assumes that only what is happening NOW is relevant or valuable.
1
111213
54