HNHacker News
TopNewBestAskShowJobs

doc4t

493 karma · joined January 23, 2012

submissionscomments
doc4t··on Supporting IE Is Too Much Work
Safari testing on Windows is "hard". For whatever reason Safari on Win can produce different outcomes than on Mac. Further I don't even have the option of running OS X in a vm unless I settle for a hackintosh.

"First, the development tools available to Internet Explorer are absolute butt hole"

Yes the build-in dev tools are not on par with the other browsers but I wouldn't say that Visual Studio is butt hole. I don't use it myself but as I understand it is generally acclaimed to be one of the best IDEs. If you don't want to run VS which I perfectly understand then go with MS Script debugger. It would probably bring down your number of "shit giggles"

"It feels like Microsoft deliberately takes the stance of making it HARD to develop software for Internet Explorer"

It feels like Apple deliberately takes the stance of making it HARD to develop software for Safari qua not providing vms.

"Supporting IE is a time sink, but not just because it's "hard" to set up Windows environments,"

I can provide the same argument for any system which I am not familiar with.

"but because Microsoft actively tries to make it hard for developers to code, test, and debug applications in Internet Explorer."

From what my MS developer coworkers say they are actually quite pleased with how much MS gets involved in their development community. But that's just anecdotal I guess...

"I've been developing on Mac for 4 years and haven't used Internet Explorer as an every-day browser in 7 years"

Well maybe it is time to learn it again then. Lots of things have improved. What do you know - you might even make life easier for yourself...

doc4t··on "Adobe has released Adobe Photoshop CS6, which addresses these vulnerabilities"
No I don't think it is alright to charge for a patch.

It was not my intention to side track the discussion. I just don't like the simplification of comparing with cars - but the OP made it clear that I misunderstood his post.

doc4t··on "Adobe has released Adobe Photoshop CS6, which addresses these vulnerabilities"
"The answer is to build a process that catches mistakes. I don't think software engineering has really caught up with mechanical engineering in terms of process."

I agree. I'm not sure it ever will. But comparing software to a car and the relationship between the buyer and seller is too simplified. Software have bugs. Many more bugs than cars. Because it's not tested properly. Which we don't do because no one would buy it at the price which comes from proper testing.

You can accept this and write your contract accordingly or you can sit down, muck and be disappointed when it fails.

I'm not saying it's right - it's just how things are.

doc4t··on Supporting IE Is Too Much Work
"Is it guaranteed to have true rendering/display parity with the OS X variant?" No. Last time I made a hackintosh running Safari on Win and Mac sometimes produced different outcomes in certain scenarios. Things might have changed though.
doc4t··on "Adobe has released Adobe Photoshop CS6, which addresses these vulnerabilities"
"fail to elucidate why"

Ok. The possible combinations of the way your application can (theoretically) run far outnumbers the estimated number of atoms in the visible universe - even for small programs. You just need a couple of loops in loops. If your program don't have it then I'm sure Node, Apache, Postgres, Rails whatever have plenty.

While many of these combinations may never happen you would still have to provide proof of all of them not causing your program to go into a state which you can not handle.

"and then go and make some of your own comparisons with the space shuttle" This was a comparison of complexity - not a direct comparison between the two.

doc4t··on "Adobe has released Adobe Photoshop CS6, which addresses these vulnerabilities"
I never did any mechanical engineering so I trust your statement.

It's still a good example when trying to convey the complexity of software to people who don't understand computers since most have an idea that space shuttles are very complex (which they of cause are)

My point was that that testing all possible combinations of how your app can execute is next to impossible unless you are willing to cough up a serious amount of money for rigid mathematical proving. Which would then make it too expensive.

doc4t··on "Adobe has released Adobe Photoshop CS6, which addresses these vulnerabilities"
Absolutely nothing - I just assume that the majority of web devs (myself included) would find it hard to port their software to erlang.
doc4t··on Supporting IE Is Too Much Work
It's actually much more work to test on a Mac when developing on a Windows machine since Apple is so protective of OS X that they don't allow it to run in a vm.

Which is sad because I like to have all kinds of users but it's really really difficult to accommodate for all you guys browsing on a mac.

Please hit me with hints to make life easier for myself if you have some...

doc4t··on "Adobe has released Adobe Photoshop CS6, which addresses these vulnerabilities"
Please stop comparing software with real world objects.

While popular the comparison between cars and computer programs are not well chosen. Actually comparing software to any physical object is point-less. These two only have anything in common on the surface.

If you were to make software require the rigorous testing that physical products like cars undergo you would likely never be able to ship anything. If you did the customer would not be willing to pay the price.

Software is infinitely more complex than even space shuttles. The number of possible combinations which you program can traverse is so big it doesn't make any sense.

You could of course start proving mathematically that your software will always behave correctly. This would require you to use a language which facilitates such a method like erlang. No more web development in PHP, Ruby, JavaScript or anything else which relies on probabilistic garbage collection.

I guarantee you that once you spend the money having your code proven your costs are so high that no one will buy your software. In stead they'll turn to the competitor who wrote it in VB and accept their EULA and live with any errors.

The nature of software is not the same as of physical objects. You can either accept this and plan accordingly or you can betray yourself and keep getting angry about bugs.

doc4t··on South Korea Still Paying The Price For Embracing Internet Explorer A Decade Ago
ActiveX is (among other things) used to run JScript in the browser. JScript can be viewed as a super set of JavaScript and will allow you to interact with the file system and such.
doc4t··on Show HN: my Mac app just got fireballed
The "shake" effect in Windows will cause everything but the active window to minimize - it's possible the action can be bound to other commands.

"does anything like this exist for windows?" Not the exact same but if you start to drag then you can alt-tab to focus the application where you want to drop (if you can't see it already)

doc4t··on Shouldn't Robots Be Doing My Taxes By Now?
The real problem is not the lack of systems but the ridiculous complexity of tax law. Since the complexity is unlikely to go away any system would have to handle it - and this is not an easy task.

Given that the OP works for an organization which is "focused on digitization of government data" it is quite peculiar that he doesn't understand the problem domain any better. It's quite a joke to think that it's a matter of throwing in some web forms here and there.

In complexity I would say it's up there with his favorite Apollo quote. Maybe not on par - but close. Just thinking about the size of the rule engine which is required makes my head hurt.

doc4t··on Why I'm Learning Node
If you're an experienced programmer looking to learn Javascript, you probably can't do any better than reading Javascript: The Good Parts. It's extremely short, concise, and enjoyable to read. Highly recommended.

Any experienced programmer should definitely start elsewhere so he can make up his own mind about Crockfords ideas about how programming should be. While the book is ok-ish almost half of the material is about Crockfords personal preferences for coding style and can be applied to any language.

JavaScript - The Definite Guide by David Flanagan is in my opinion the best book on the subject. No other JS book comes even close in clarity and thoroughness.

http://www.amazon.com/JavaScript-Definitive-Guide-Activate-G...

doc4t··on Open Letter to XSLT Fans
You don't need to run a web server for PHP either...can you give an example of one of these simple things?
doc4t··on Open Letter to XSLT Fans
Although I find XML to be much too cumbersome and bloated for any practical situation I can still understand the technical arguments in favor of using it. What I don't understand is why anyone would choose XSLT over a full featured scripting language like PHP, ASP, JSP or similar. As you obviously have much more experience than I in this field can you provide an example where XSLT would be the preferred choice?
doc4t··on I'm a Citizen of the Internet, Where's My Passport?
A nice yet very naive idea. The passport you hold represents a key to the walls which surrounds your country. Without these walls international trade would flow unhindered - resulting in the devastation of the western economies and our artificial upheld position as the worlds supreme beings.

If you really want this world join ATTACK or a similar organization and try to bring down WTO for starters.

Note: Not arguing one over the other - just stating the obvious

doc4t··on Your vote counts (Cryptographic Voting System)
I admittedly don't know much about crypto voting. What I do know is this:

When the entire process is analog I (and everyone else) can transparently verify what is going on. From I submit my vote to it is counted so many people are involved from all political parties that cheating becomes virtually impossible.

Once you start to digitize the process you loose transparency completely. I can not see what is going on. The counting is computerized. I have to place trust in however implemented the algorithm. Also since I don't know much about crypto I even have to place trust in the guy telling me he did it right.

I loose my ability to verify that the process is running untampered...and I'm a clever guy. I know CS and math and what not. Imagine the alienation of common people without IT education

Voting is just one of those things that should not be computerized - there is no benefit. The current model is even costless since the people involved in the administration of votes and counting are volunteers (at least in DK).

doc4t··on Your vote counts (Cryptographic Voting System)
The point is not open source code. You still have to place trust in the system and the people executing it. While this is also true for a paper based manual-counted system the later is so transparent to anyone that cheating becomes very very difficult.

Source code will never be transparent to anyone but programmers.

doc4t··on Your vote counts (Cryptographic Voting System)
I think we can safely assume that the number of votes inaccurately counted is not statistically significant. In the cases where a tie is present a second or even third count usually takes place.

I will trust this system of humans counting any day over a sum function in a database implemented by a private company with their own agenda

doc4t··on Your vote counts (Cryptographic Voting System)
Voting by paper as described is how it's done in most western countries for years and years. In general there are very few accusations of voting fraud.

This is because - among other things - that the system is transparent to everyone involved.

You are trying to fix a problem which don't exist - and you are fixing it the wrong way. E-voting opens up a huge amount of possibilities of cheating and worst of all it is going to be even more difficult to find out when it happens.

Worst of all the entire process will end to be transparent to the layman...

doc4t··on Ask HN: Physics, Algorithms and Programming - How to approach?
Introduction to Algorithms by Cormen et al would be a good place to start if you're going the theoretical way. Very mathmatical and not so practical - I read this myself at uni and I learned a ton.

http://www.amazon.com/Introduction-Algorithms-Thomas-H-Corme...

doc4t··on We're Living In the Most Creative Time In History
...and so have mankind said at all times in history. To believe that we live in a golden age is no different from what the Romans or Egyptians thought.
doc4t··on Ask HN: JavaScript Dev Tools
True - it does take a lot of RAM but it doesn't seem to be too sluggish. Currently I'm working on my laptop (old Dell D830 4GB RAM) with 4 rather big projects open and I don't have any problems.

BTW Using PHPStorm on Win7 64

doc4t··on Ask HN: JavaScript Dev Tools
I found the WebStorm IDE from JetBrains to be excellent. It has very good JS support and is very extensible. Many of my collegues use TextMate.

Never use alerts to output debug info - the alert itself may interfere with the events you are trying to debug

console.log is mostly reliable - but sometimes the value of a variable will not be what you think due to firebug weirdness (or hoisting?) - use break points instead.

If you are required to make stuff work in IE the JS debugger that comes with IE8+ is actually rather good (and more stable than Firebug).

JS Lint your code but don't use an overly zealous settings. JS is flexible - no need to constrain yourself.

The only book worth reading IMO if you really want to learn the details is "JavaScript - The Definitive Guide" by David Flanagan (ISBN 0596805527).

Crockfords good parts is mostly about his general preferences for programming style. Definitely don't read it like the bible.

If you want to focus on UI learn how to use events properly - this means not using frameworks but doing it from scratch yourself.

Read up on event driven programming and asynchronous behaviors

Learn JS first - then jQuery, Prototype, whatever second.

doc4t··on Ask HN: How do I start freelancing?
The customer contacts the agency which then contacts me. I negotiate the salary with the agency and they make the contract and any other legal/paper work with the customer.

Before being hired you obviously have a normal interview with the customer. The depth/length of the interview is proportional to the duration of the assignment which can be anything from 3 days to several years. My last assignment was 10 months and only ended as I decided to not extend the contract.

I generally like that a given job is usually no longer than 3 months. I come, work, enjoy and leave again before it gets boring. And you leave with A LOT more money than being full time employed.

The downside of course that you have no job security, pension, health insurance and you have to manage your own company including accounting and legal work. But this is also why you are paid more as you need the money for the services related to your company.

It is my impression that it is always possible to get work. The more specialized you are and the more experience the higher the paycheck.

If you happen to be located in northern Europe I would recommend ProData Consult (www.prodataconsult.com) - my current agency. They do require your expertise to be at a certain level though.

Even though I am busy at the moment doing one of my own project I am continuously being offered new jobs from these guys and I have the impression that they really care about 'their' consultants.

doc4t··on Ask HN: How do I start freelancing?
I get most of my freelance projects from the different agencies that I signed up with. Sure they take a percentage in provision but the salaries are so high anyway that I don't mind too much.

For the provision they will do all the legal work - which can be considerable. I'm very satisfied with this arrangement.

I would recommend you to get in touch with agencies. Just make sure they don't screw you over - the division should be at least 80/20 in your favor.

doc4t··on Waking up at 5am to code
For those of you, who as me, never encountered the "Kanban" method before here is a comparison with SCRUM

http://www.agilejournal.com/articles/17-articles/1737-what-i...

← PreviousPage 2 of 2