5,207 karma · joined May 21, 2010 (16y ago) · 1,593 submissions
comment 12y ago · link · parent
1) Google massively discounted exact match domains, so if you were ranking well before because of an EMD, don't expect to now.
2) Negative SEO has always been a possibility, but a lot of sites aren't helping themselves either.
For like a decade now, there have been plenty of shady link networks where you could get millions of links. It would not be difficult to get millions of spam links with the same anchor text and make it look like Blue Widgets was spamming.
It's not important whether a link is spammy or not, it matters if it's helping you rank better, is being discounted, or if it's penalizing you.
It is possible that those links existed before the Google updates and were helping blue widgets.com rank better. Then Google discounted the spammy links and the EMD, and now the site isn't ranking.
It's also possible that Google is penalizing those links.
In the end, spam links don't come with a great big attribution of how they got there, who put them there, and what the intent is.
A link is a vote. Just like votes, you can stuff the ballot box or you can make it look like your competitor is stuffing the ballot box.
In the end nobody is entitled to rank well on Google search for any reason at all. They could order by rand() tomorrow and you're up a creek.
comment 12y ago · link · parent
comment 12y ago · link · parent
The resolution jump is huge and so you need a lot more GPU memory and processing power to do the same things at a higher resolution. Games are now really taking good advantage of 1080p, so we are another 5-10 years away from 4k being a real thing in terms of mainstream gaming.
Also, the average computer is not going to fare well in a 4k world. Sure, you might have videos on Netflix or some Blu-ray successor look nice in 4k, but good luck getting that to be a decent experience on the sub $500 laptop your parents just bought 2 years from now with a 15.6" 4k display with terrible viewing angles, a Celeron processor, integrated gfx, and a 5400 RPM 2TB Hard Drive...
High resolution is great, but as an industry we don't seem to be willing to upgrade the related components - memory, GPU, SSD unless it's on a mobile phone.
comment 12y ago · link · parent
Good luck explaining git setup, ssh keys, etc. to end users who aren't devs or sysadmins.
comment 12y ago · link · parent
Yet, anyone who has ever been a gamer knows that changing your resolution has a huge impact on your FPS.
It is foolish to think that Microsoft can make the screen much higher resolution, have a similar chip, and not have serious performance problems in terms of responsiveness.
I'm sure Microsoft can get a lot of this fixed and they will, but like the smartphone revolution, sometimes you have to wait for hardware to catch up with software or you have to write the software to take full advantage of the hardware.
519.
Fun Jekyll Tricks(madebymarket.com ↗)
36 points · by programminggeek · 12y ago · 11 comments
comment 12y ago · link · parent
Essentially I already have a giant precalculation service for all the needed calculations on all the data underneath a parent entity. So, I serialize that using ruby marshall and then use lz4 to compress it before storing to db.
Its actually faster and smaller than using json strings in ruby. The whole tree structure for each entity was 200-400k as raw json strings. It took something like 300ms to serialize to json. I was able to do the ruby marshal and the LZ4 HC compression in something like 20-40ms and it drops the size down to more like 15-30k.
JSON is a pretty cool format, but it's a lot slower in ruby than you might realize and it takes up a lot of space.
comment 12y ago · link · parent
Much like the video game "console wars", exclusive content is something people will pay for and it makes a platform very sticky.
comment 12y ago · link · parent
That makes people feel like what they are buying is $20, or closer to $20 than $60.
Imagine you are selling an expensive piece of fitness equipment like a Bowflex or Nordick Track, or Total Gym or whatever. Those things retail for $500-1,500. How many people go to the store and drop $1,000 on a home gym? Not many. However, a lot of people buy equally expensive products via infomercials, QVC, and Home Shopping Network because of the payment plans.
Low interest mortgages and student loans spread out over a 30 year period make these huge ticket purchases more "affordable". They also totally distort the cost of the purchase.
The fact is, people make decisions to solve short term pain, not for long term gain.
The universities, credit card companies, banks, etc. are taking advantage of a system that we all built and participate in. It might not be what is best, but it is certainly our own creation and at some point society should take ownership of our own flaws, not continue to blame other people.
College and homeownership are a choice. There are alternatives. If we don't like the current system, it's up to us to change it or not participate in it.
comment 12y ago · link · parent
It is easy to take for granted that when you have a function like this:
function foo(int x, string y) { int count = x * 100; print y + " " + count.to_string(); }
...that if you send in a string for x or an int for y the function will blow up. And if you are using a compiled language, it will yell at you before you even attempt to run the code.
In ruby the equivalent code would run just fine, even with generally bad input and it is totally up to you (the programmer) to police yourself to write code that doesn't send across bad data.
A ruby programmer (and probably the same goes for PHP and Python), will end up writing a fair amount of tests that simply ensure that the boundaries are enforced properly and sanely in the code.
There is a lot of love about ruby, but if you are going to write safe, dependable, bug free code it is up to the programmer to enforce boundaries, do validations, and so on and so forth and then write tests that validate that they are still correct over time.
Part of the reason this argument isn't so much happening in other languages is in part that there is maybe not as strong of a culture of TDD in other languages, but also simply because some of the problems don't exist in Java, Scala, C#, etc. because of a type checking compiler and stronger boundaries between components.
A lot of the things that we consider "good architecture" are simply the way we name things, the way we put files in folders, and where we place boundaries in our code. We could write everything as a single file that ran sequentially and jumped to different locations (which is largely what happens anyway), but to make things reasonable and understandable we use patterns like MVC, or composition based functional programming, or MVVM, or various OOP patterns, and so on to express program logic and create logical, sensible boundaries in our code.
If you see the world through the lens of naming things, file structure, and conceptual boundaries, you will see this argument about TDD is more about how strong the boundaries in our code should be and where they should live, not whether TDD as a tool is a good thing or a bad thing.
Rails MVC sees the world as 3 tightly coupled things - model, view, controller. And in that tightly coupled world(along with weak ruby boundaries), TDD is painful and probably not worth your time. DHH is right about that 100%.
If you don't structure your project as Rails MVC does, TDD can be a very pleasant way to build your project and have confidence as you change it over time. Ruby is not the best tool for that job, but it can be made to work. In general, the weaknesses of ruby's boundaries will mean this argument will keep coming up over time and will never be solved.
comment 12y ago · link · parent
It seems that to get a SSD in a Windows laptop, I need to either spend $1,000 or buy a decently spec'ed $500-700 laptop, and drop in my own SSD for $100.
comment 12y ago · link · parent
True end to end encryption would mean everything is transferred as an encypted thing, and only people with a key can open it. If any email you send out ultimately is unencrypted so that the other side can read it, we aren't much closer than where we started are we?
If an email ends up in an unencrypted IMAP mailbox on a server somewhere, how is that more secure than what happens now?
comment 12y ago · link · parent
Very few apps will ever get to the point where they have millions of users, and even fewer will need to use docker to orchestrate what should amount to < 5 servers (1 proxy, 2 web fronts, 1 cache, 1 db) to start to handle that kind of load.
Once you are at that kind of scale, where you are handling 5+ containers/machines, then it might make sense to look at docker, chef, puppet, etc... but for the rest of us, starting with docker feels like premature optimization for scale that will likely never happen.
The only sensible part of docker at small scale is if you are inside a larger org and you are deploying a lot of apps and you are using docker to simplify deployment (sort of like WAR files in javaland...sort of), but even then for php/mysql a git checkout or rsync works like a champ.
comment 12y ago · link · parent
AMD needs to basically own the $500-800 space with a good APU, SSD, and outstanding form factor. Basically if they could make a 13" Macbook Air with one of these CPU's for around $500-750 they would have a winner on their hands.
I fully expect that to not happen.
comment 12y ago · link · parent
Where node excels is if you want to write your server in JS and you don't mind the evented nature of it.
If you don't love JS and evented code, avoid it.
533.
Manage, Tag, and Send Your GIF Collection From Your iPhone(itunes.apple.com ↗)
2 points · by programminggeek · 12y ago · discuss
comment 12y ago · link · parent
This is more than an acquihire or however you want to spin it. I'm sure right now Beats headphones are printing money and the people at beats are good at marketing youth culture.
Apple needs the ability to sell expensive tech to teens to be cool. Beats manages to sell overpriced headphones to teenagers all the time in huge numbers, even if it doesn't make financial sense. It's like designer jeans or Oakley sunglasses or... the iPod.
comment 12y ago · link · parent
I just know that the OO design approach isn't working super well with the people who are using it, and we now have a couple decades where design hasn't progressed significantly on the average project.
So, how to we change the human behavior that is leading to less than ideal outcomes?
comment 12y ago · link · parent
The FP community doesn't seem to have a problem so much with testing simply because they mostly write pure functions that are data in -> data out and that is the easiest thing in the world to test.
It occurs to me that most developers aren't writing testable OO code, and thus we have a never-ending argument about the most clever way to test (or not test) code that is not easily tested in isolation.
If we never get around to writing testable code, we aren't going to have systems that are easy to test. If we don't have easy to test systems, testing is going to suck and people won't do it.
I don't know that FP is the answer, but just asking people to write better OO systems isn't working. The problem certainly is more fundamental than simply TDD or mocking or whatever language or tool we are using.
The problem is in how we look at solving problems in code and how that relates to system maintenance over time. It's a people problem, not a tooling one.
comment 12y ago · link · parent
comment 12y ago · link · parent
Also, companies like Hayneedle have grown large on the model o focused niche e-commerce stores in lots of different verticals.
I don't think any store is going to come along and "destroy" amazon anytime soon. However, one area where other e-commerce retailers will exist is as sellers on the Amazon Marketplace. In some ways, Amazon becomes a large sales channel for online retailers in the same way that Facebook and AdWords are.
Fundamentally, I don't think Amazon cares who is selling what as long as they are making money and their customers are happy. Amazon, like eBay really gets that they are a platform that other sellers add a lot of value to.