HNHacker News
TopNewBestAskShowJobs

aleprok

28 karma · joined June 8, 2012

submissionscomments
aleprok··on Ask HN: What makes PHP so difficult?
Go to sleep, it's not good to be awake for 30 hours. You are sleep deprived and this makes it tough and confusing. MVC does not complicate matters. MVC is just a standard way to structure your code. You probably are reading somewhat right books and websites, but every source is biased towards something. In my humble opinion you have not tried any other language for http server scripting.
aleprok··on Go Paperless in 2013
I will not go paperless at least not for now, because I do not see how paper production is more polluting compared to server farms which use ton of electricity which has to be generated somehow and we still generate ton of electricity from some other color sources than green. Paper then again is easily recycled and more we recycle it the less we waste wood.

Then there is the business side of this. If average office worker prints 10,000 sheets of paper per year the paper would cost about 100 euros per year. The black laser casettes would cost about 400 euros per year. This comes down to 500 euros per year and this supports workers working in the ink and paper industry. If I really need that much paper I can always pay the price of it. When going completely paperless would put the cash on the hands of few founders and server administrators and would require those who I am in contact with to use the same or compatible services.

aleprok··on 2013 Resolutions: a man page a day makes the newb go away
Please share that script when you do it. It might be fancy to read man pages when one is bored instead of watching something as the randomness might dig some cool facts of the system for you which you did not know before hand.
aleprok··on Linux now on 42% of consumer computing devices
You seriously think GCC is the only C compiler which exists? Though now you understood that GNU/Linux is the OS and not only GNU. Though it is true that you need to patch the stock Linux to compile it with some other compiler like Intel CC.
aleprok··on Linux now on 42% of consumer computing devices
GNU is not either the operation system as without Hurd, Linux or some other kernel you can not use the GNU tools. GNU/Linux is a collection of software which forms the operation system though this collection can contain even more software and with different collection it becomes different operation system which is why Android is Android and Ubuntu is Ubuntu, etc. But Linux will always be the key component of operation systems using Linux as kernel and we Linux fan boys will always be happy when Linux is used as a Kernel and will follow metrics about operation systems using it.
aleprok··on Tech Startup Trends of 2013
Yeah and pretty much every plan has unlimited bandwidth.
aleprok··on I am depressed and I need someone to talk to
For me when I find something to be angry at I feel great for a while and it turns out to frustration and then it starts to depress me and I am now even more depressed about something which I most likely can not help.

Though I have learned to live with the depressing stuff without any kind of medication. Mostly I do this by shifting my thoughts about the depressing stuff to something which I find nice. Though too often it is a good movie, but still that is almost two hours break from thinking about the depressive stuff.

aleprok··on Ask HN: Why do you waste CPU cycles?
Thanks to the discussion I have realized that performance of product is much more important for the user experience than I originally have thought compared to other things like feature Y.

If the product does not have competition and is profitable you will get competitors at some point of time when they realize that they can outmatch you.

If the performance was not in the mind of the developers of the product anyone can win the competition by matching the product features and user experience, but make the user experience better by making the performance of the product better. They can even speed up the take over process by giving additional features to the customers. Once the users start to move to the competitors product because they have realized it's much better at doing the job the competitor can start to make the existing feature set user experience better like removing the really not needed additional mouse click.

The first products company will be having problems at this point, because they really need to start thinking new features the users will like and think how to make the user experience better, but to match the performance of the features they really need to start digging on the old code which might be messy as hell. Matching the performance of the competitor at this point is really costly, because you either have to create it again from scratch or start digging around the code and see where you can optimize. Once the performance has been optimized you might have lost ton of users and revenue.

While the first products company is trying to handle the performance issues the competitor will of course move further and further away and might even incrementally change some of the features of the product and at the same time teach the users to use it.

Then again if the first product had good performance from the start the competitor can not take advantage of this and you can keep up by giving the users better user experience.

Now someone give me enough money to compete with Facebook! JK.

aleprok··on Ask HN: Useful ways to get rid of old programming books
Not in case of those books you listed, but if you have some books about basics of technology which does not age that fast.

Seriously some old security books for example are good reading.

aleprok··on Ask HN: Why do you waste CPU cycles?
It's true that in a competition where features dominate the performance won't make much difference, but what if your competitor realizes this and matches your feature set with better performance? You just lost pretty much all of your users when your users notice this and move as the competitors users and even if you try to push some new feature your competitor will do it too. So i'm just saying worry about the performance, because if your business actually is good you will get competitors at some point.

Though social networking is annoying because count of users in the network is pretty much a feature of the network. One of the things I think Google never has realized. With larger amount of users you have feature domination easily and the users will keep using your network even if it's slow.

Actually here in Finland we have one major community site which is one of the slowest and most bad mouthed service everyone use it because the users are there and not somewhere else.

aleprok··on Ask HN: Why do you waste CPU cycles?
This is nice example, but you kinda missed the point.

This search algorithm is purposely making the search engine to sleep for maximum amount of time even if the results come faster. This is really done with the user in mind like you said and not the company. They are, "The users are not stupid, they will notice if some of our searches take longer than others"

I dislike wasting cpu cycles for unrelated reasons like "Users are stupid, they wont notice that it runs slow." so lets use this because it's easy to use without considering the effect on the users.

aleprok··on Ask HN: Why do you waste CPU cycles?
I just laughed out loud. Thanks for today's laugh. I have seriously never heard that someone would think circling the mouse would make internet faster. Though I have heard of other things for making internet faster.

Well yeah optimizing that far that you are competing with the compiler is problematic, but if you can optimize your code that far you should know what the compiler actually optimizes. I'm not saying everyone should start optimizing their code to the point of having absolutely no waste in the code.

Readability of the code is much more related to naming conventions of variables and functions instead of how the loop actually reads constant size array size every time of the loop cycle.

Then again i'm annoyed at products where they just decide that they will use python for some application because it's easy to use and fast to code in and never worry about how fast it actually runs as long as it runs. Has nice graphical user interface and easy to distribute. fix some bugs if they actually are causing problems.

aleprok··on Ask HN: Why do you waste CPU cycles?
Duh. Of course you can use compilers to dump to native, but then why no-one is doing it? They lose the power of the jre cross-platform support, which is pretty much all of the hype of Java and argument of pretty much every developer who I have asked why they are using Java for the project instead of C++.

Yeah. I have used asm, c, c++, java, php, python, etc too. Though C# is something I will never touch because of the monstrosity developer behind it.

aleprok··on Ask HN: Why do you waste CPU cycles?
I agree that sometimes the language you use does not matter, but how the developer does not care about the speed of his application. I am asking why the developer is wasting those CPU cycles.

Anyway comparing web site backend with compiled C to interpreted PHP is bad example when the language really does not matter as C is faster than any other language and PHP being one of the slowest.

Comparing python and php is another thing when both of them actually are interpreted languages and used for scripting web servers.

Anyway this is one place where personally even I do exchange cpu cycles for speed of development. The SQL queries will affect the same both of those languages.

Yes you can make any code to be fast it only needs to be optimized and compiled to binary.

aleprok··on Ask HN: Why do you waste CPU cycles?
I know it's not always about the language choice, but it does matter too. Java for example requires easily 2 to 20 times more memory compared to c++? So why do we exchange we few fine lines of code for that memory consumption and easier cross-platform distribution?

Ugh.. Polling can seriously eat some resources for activity which really does not need to happen. :P

The worth of a programmer is completely another topic.

aleprok··on Ask HN: Why do you waste CPU cycles?
Maybe people are not willing to pay more for software that runs faster, but I'm sure more people are willing to use your software longer time when they don't have to complain about the user experience.

In the game industry we often see the requirement of needing to buy new computer because we want to play some new game, but we have quite much accepted this because usually those games bring pretty good upgrade on the graphics. Though personally I don't know what is the current situation as I have dropped pc gaming. But I know nothing new has happened in the console side, except new games every week with similar graphics and physics, but different story and setting.

Anyway. One example where global bad image of software is easily seen is the browser wars. When majority of users started to replace their default Internet Explorer installation to alternative like Firefox. Though now the most popular is chrome. Of course the graphical user interface, other features of web browser played big role on this and much of the complain of web developers who did not want to support some browser.

Recently I have had to answer to questions like why Firefox or Chrome is taking something like 50% of cpu to render something. Of course I've asked them how many tabs they have open, etc. But the major cause I've realized is code of Facebook which does ton of stuff in the browser instead of in the server.

aleprok··on Ask HN: What would you do with $20000 USD for your startup?
Really depends on what kind of product I would have at which state and what I need to do next.

If I were at your position and the product is actually ready already I would spend all of that cash on advertising after I would make sure that my current server infrastructure can handle the possible growth.

Though first I would calculate how many new visitors I possibly could get from adwords with the cash. Once the calculation is done I need to test if the possible growth can be handled. If I can not handle the growth I would check how much new hardware I would need and buy and install those. The rest of the money would be used in adwords for new possible clients to create more revenue.

I would not have used the money to get new computer or hired virtual assistent, because I see that as a waste of money. Then again I would not even bought that VPS as I would have one or two dedicated servers anyway.

aleprok··on Ask HN: How many hours do hackers sleep?
I sleep around 6-7 hours, but I have really hard sleep pattern problems. So it might be 2 hours in the morning and 3 hours in the evening or anything like that. :/
aleprok··on I Don’t Need No Stinking API: Web Scraping For Fun and Profit
Any social network where you can post messages for the user in the users message stream.
aleprok··on I Don’t Need No Stinking API: Web Scraping For Fun and Profit
There is just one major trouble with not needing stinking API. You can not POST as a possible client without requiring them to give their password to you, which actually would give you full access to their account instead of limited access with API.
aleprok··on Developer Time
Why to set a fixed end time for your zone? Your zone will end when you have finished your task and start to look for the next task.
aleprok··on Developer Time
File the ticket and email me and I will get to it when I read your email. Easy as that.
aleprok··on HN Spoof
This should include ASK HN: What to do I am 60 years old programmer?
aleprok··on Ask HN: Does spammy self-promotion drown out real hacker news?
Well yeah always cheating will drown out the real thing, but still if the community actually see this new real interesting thing it will find it's way to the front page.
aleprok··on For what Saas (Software as a Service) are you paying for?
I am not paying to any Software as a Service business, but I do use Github and Dropbox for free.
aleprok··on Ask HN: How much coffee do you drink?
I do drink coffee, but not as stimulant to boost my productivity. The only time I drink coffee regularly is when I wake up. Otherwise I drink coffee only when I feel like wanting cup of it. Though usually its about 3 cups a day. I do drink also water from tap only and yellow tea.

I do not believe anything boosts your productivity, better than you yourself deciding to be more productive.

aleprok··on Ask HN: What to do about Pokemonium?
Yahoo! Pokemonium got DMCA'd. At least their MediaFire upload of the game is gone! File Removed for Violation.

I hope their website go down soon too.

http://www.mediafire.com/download.php?u8c9acao554m1tl

aleprok··on Ask HN: What to do about Pokemonium?
Have tried that.
aleprok··on Ask HN: What to do about Pokemonium?
Well thing is. The PokeNet client source code is under GPLv3 and the server source code under AGPLv3.

They are distributing the client binary to everyone who want's to play the game and GPL requires to distribute the source code.

Then again AGPL requires them to distribute the server source code, even though they do not distribute the binary to the players.

aleprok··on Ask HN: What to do about Pokemonium?
Well mostly we are annoyed that they do not follow GPL and because of that we have kind of tried to get Nintendo to shut them down. I do not have the money for lawyer and anyway the guy in control of Pokemonium lives in US and I live in Finland.

The stupid thing is I kinda find it nice that they forked our code, but I dislike them for not following GPL.

← PreviousPage 2 of 3Next →