Category: AskAmit

Interview questions - Microsoft MusiWave Paris

02/15/12 | by zveriu | Categories: AskAmit

Found in deep&lost archives. It’s been a long time wanted to post it here. Here it goes.

In June 2009, myself and Igor went for an interview at MusiWave in Paris (acquired by Microsoft at that time, hence the hecktic hirings).

Jumping ahead, I am happy I didn’t end up working there :).

View here.

Download here.

Why softdev is still in a mess

10/08/10 | by zveriu | Categories: Fun, In real life, On the web, Software, DailySpammer, AskAmit

These days I was thinking (yes, sometimes I commit this sin because “тренер запрещает нам думать”, “noi muncim, nu gandim”) why the hell, with all the advances of management and methodologies in software development, the softdev is still have to cope with mess… and I mean mess, the real mess/garbage/left-overs in the source code…

Well, to answer this question, I drew a (somewhat) parallel line with other development industry - building development. In general terms, the parallel can be made even with work of a carpenter to a certain degree.

So, making abstraction of the fact that softdev is more a virtual environment (where programmers can optimize the lift so that it’s acceleration catapults thru the roof or can paint the paper roof to look like tile and so on) a parallel line can be made:

  • both need a proper and sustainable approved architecture plan
  • both need a nice and modular design
  • both need qualitative tools and materials for a superior finished quality
  • etc

One of the things however I notices is that:

Read more! »

"Programmers should be able to program!" program

04/16/10 | by zveriu | Categories: In real life, On the web, AskAmit

“Programmers should be able to program!” program

Well, sad and true in the same time… It is an entertaining reading and one full of insights…

Maybe it’s just one of those reasons why software is getting more crappy, unreliable, insecure, etc.

The non-programming programmers

Read more! »

Theoretically 1 USD = 1 EUR and 1 EUR = 2 USD is possible!

01/13/10 | by zveriu | Categories: In real life, On the web, AskAmit, Hack

UPDATE 20101012

By a very nice coincidence I have bumped into this interesting paper (dating around 15 Jul 2008) - “BREAKING THE BANK - VULNERABILITIES IN NUMERIC PROCESSING WITHIN FINANCIAL APPLICATIONS” - ENJOY the reading!

Given I currently work in a telecom billing software company - I just cannot find enough words and meanings to confirm with sorrow that pretty-fucking-many of my fellow programmers do not give a shi…ny glass for avoiding this kind of problems. Worst, they don’t even realize it :-S…

PS: …and YES, Bank Of Cyprus (along with its new migrated Java/JSF-based banking application - a special post on this to follow) allows/uses:

  • input like “1E+3″ which gets translated into “1000″
  • “round-to-nearest, ties away from zero” for 3rd decimal, i.e. “0,004″ gets translated to “0,00″ and “0,007″ gets translated to “0,01″

Happy hacking…

Money

When it comes to speaking about money, a lot of people get interested. And nowadays most money discussion evolve around or near-by the EUR-USD exchange rates.

Some people (including me sometime :) ) are unhappy to depend and always lose their honestly earned savings because of some avid and greedy circles of interest are playing with exchange rates and make them uncontrollable

Read more! »

About AskAmit

10/06/09 | by zveriu | Categories: In real life, Software, AskAmit

About AskAmit

At my previous work and here also, I and coworkers had an internal subject [AskAmit] for sharing shitty code (which we find around or even discover in inherited projects) among us.

This continued in the current company - like for example this one (not exact reproduction, but still) in Java (trully existing code at my present company :D) – test if a boolean variable is true or false:

Code:

if (boolean_var.toString.length() == 4)
{
      // True, do the True actions
}
else If (boolean_var.toString.length() == 5)
{
      // False, do the False actions
}
else
{
      // Ummm, raise processor fault?
}

The [AskAmit] name was coming from Sun’s JMF (Java Media Foundation) incredible naive line at those times (2002) that made the framework buggy enough (though it was a good concept):

jmf-2_1_1e-scsl-src/src/share/com/sun/media/util/Registry.java
if (file.length() == 0) { // TODO: Ask AMITH if you need this

Seems like [AskAmit] kind-of groups grow everywhere, so it reached to a critical level called GovnoKod (ShittyCode) – highly recommended reading not to step on the shitty paths of programming

Excerpts: - Enjoy!

———————————————————————

Си / Говнокод #1829

Code:

#define TRUE FALSE //Happy debugging >:P

Классика жанра.

———————————————————————

Си / Говнокод #1317

Code:

if(true)
{
  //Code
}
else
{
  //Commented, not compiling. ^_^
};

Способ комментирования… O_o

———————————————————————

Си / Говнокод #405

Code:

++i--;

Операция “подергивание”

———————————————————————

Assembler / Говнокод #453

Code:

mov ebx, eax
mov eax, ebx

Такое борландовский кодогенератор иногда выдаёт

———————————————————————

Assembler / Говнокод #414

Code:

...
jmp 0x0437
jmp 0x0437
...

На всякий случай, наверное если первый не сработает :)

———————————————————————

1 commentPermalink

:: Next Page >>

Ads

Cognitive and Scientific Brainology

A deep dive into brain's curiosities

| Next >

June 2013
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            

Categories

Misc

XML Feeds

What is RSS?

powered by b2evolution free blog software