440 reputation
516
bio website kopli.pri.ee/kalle_varavas
location Tallinn, Estonia
age
visits member for 3 years, 6 months
seen 3 mins ago

I work for a small investment and loan company. I take care of the main software (built by yours truly), that deals with the accounting. I also do lots of freelancing work related to web-based software.

I have successfully built my own custom CMS, that I started in 2009 and released the first time in 2010. Hoping to publish it for commercial usage.

Been developing websites for 11 years now. Mostly with PHP and JavaScript.

I got two Benz's and I love to drink coffee.


Sep
12
comment How to teach a script to detect sarcasm?
@Anna Lear Sadly, it keeps getting upvotes. Typical, person lands on a question-page, views the title, quoted/code example --> checks the most upvoted answer and upvotes. I have the temptation to flag this answer, but it does fit the format (barely). Im also sad, that the person doesn't respond to my comments. I have the feeling, that this user does have some experience and could make this answer better..
Sep
12
comment How to teach a script to detect sarcasm?
@Andy Waite Yes of course, you are correct. As I said hes answer is 30% on-topic (even-thought he started getting upvotes when there was no additional-text.) Still, I wont accept that answer, because.. yes of course you cannot get 100% match.. But even a 50% match? This answer is basically saying, "I don't understand your question, I think its not possible, Sounds hard, Just quit!" I mostly only get these types of answers in Programmers, next to "Why are you doing this? Use a framework!"..
Sep
12
comment How to teach a script to detect sarcasm?
@Rob I'm starting to think the same. Most scenarios are too good of a hope anyways. Though, weirdly enough Ive gotten some ideas from the comments of this question. For example, some words UPPECASE in a phrase or "bunnyears" are usually related to sarcasm. So I'm a little smarter. However, that is not enough :/
Sep
12
awarded  Critic
Sep
11
comment How to teach a script to detect sarcasm?
-1 I'm sorry, I'm not sure why this answer is getting upvotes. The code provided is 100% irrelevant to the question at hand and the the second part of the answer your are saying "i have no idea". Your answer is 30% on-topic and doesn't really help or give any good direction.
Sep
11
comment How to teach a script to detect sarcasm?
For the record the back end platform, that deals with the matches is PHP. But I didn't add it on purpose, since matching functions are mostly the same in all platforms.. The problem is with what to match it? I don't quite follow your answer.. do you mean, if the client writes hey there <sarcasm>smartypants<sarcasm>? But the client is not going to do that.. Also, you are missing on ) in your if statement.
Sep
11
asked How to teach a script to detect sarcasm?
Aug
31
accepted How important are PHP notices really?
Aug
31
comment How important are PHP notices really?
Ok you gave me alot to think about. I found solutions to most of the notices, by optimizing the code. And I used twice $foo = $bar = NULL;. Basically got rid of ~130 messages like that. I wont follow the notice messages so strict. But it seems, that notice messages are nice pointers to not-so-much-optimized-code.. I think this is a nice conclusion to this question:)
Aug
30
comment How important are PHP notices really?
@HorusKol: Thanks for the pointer.
Aug
30
comment How important are PHP notices really?
Agreed. However, since this project is CMS software and it is going to be a valuable base for projects in the future. So it seems very logical to make it as close to standard as inhumanly possible. Fixing the core related notices is not hard (read: already fixed.) But, huge classes are more complex, because of the functions looping order is criss-crossed.
Aug
30
comment How important are PHP notices really?
That's what I did, turned up all messages on 6 month old project. The most weirdest message was, that defined variable needed to be inside quotes in $_SESSION. So my current $_SESSION[PREFIX . 'foo'] was incorrect and $_SESSION['PREFIX' . 'foo'] or even 'PREFIXfoo' IS correct. That's extremely confusing later and weirdest part is that echo PREFIX . 'foo'; is absolutely correct.. Am I missing something?
Aug
30
comment How important are PHP notices really?
Agreed. However, to get really deep: Wouldn't strict code mean better performance and more server-friendliness? The reason why I'm optimizing this much, is that the project is going to be a commercial release. And I cannot control the server setup. And most of all, I'm worried, that my coding style is incorrect and non-standard. That I should be using methods as standard, that would prevent notices..? Thanks for answering:)
Aug
30
asked How important are PHP notices really?
Aug
28
awarded  Editor
Aug
28
revised How to automate a tasks system in a CMS software
added 755 characters in body
Aug
28
comment How to automate a tasks system in a CMS software
Well, it depends on what library you need. If its for example image manipulation. Sure, why not. Because you will simply input the location and parameters and thats it. But a task manager that does a very specific work.. 1) I will never find a library that fits those specific tasks; 2) I still have go in a tweak the code. So basically, Why not just do it from scratch? I will spend as much time as setting some library up, but at the end I will know exactly what I can do with it.
Aug
28
awarded  Benefactor
Aug
28
accepted How to automate a tasks system in a CMS software
Aug
26
comment How to automate a tasks system in a CMS software
@Darknight: 0.007985