Live data from Hacker News

Web Programming Is Hard

shubharamani.com

111–120 of 165 posts

Re: Web Programming Is Hard

#111

"Desktop GUI can easily be made cross-platform." lol wut?

OK, if we're talking about games, maybe not. I'm talking about your average Desktop GUI out there which can be made to work across different OS's using a GUI Toolkit such as Qt.

Yes, it's easy to make your average Desktop GUI ugly as hell across different operating systems using a GUI Toolkit such as Qt.

Re: Web Programming Is Hard

#112
post #73

Earlier quoted context omitted.

Interesting. I'm considering doing the exact opposite (10 years web/server-side development - switching to embedded). Currently, I'm taking some extension engineering classes at UC Irvine while still working full-time. Any ideas on where to start to get my foot in the door in the embedded world? I was thinking newbie kernel bugs and eventually Linux drivers.

The linux drivers idea is good particularly if you want to learn about communication with embedded system. But there are other approaches too. You'll need to ask yourself how low-level do you want to go. For example: Do you want to work on a system that has an OS, utilities, filesystem, etc such as the ELDK[1]? Or a little more stripped down with only the OS such as FreeRTOS[2], uClinux[3], or uC/OS[4]? Or even lower…

In most of my course work to-date it's been with no OS and just a while (forever loop) driven by interrupt service routines.

Currently, I use an AMTEL AVR 2560; however, I've heard good things about the TI ones.

I honestly don't know where I want to focus yet. I figured I'll continue to take some more classes to get some breadth on the subject. Once I have a better idea of what peaks my interest I'll jump into the depth for a more specialized approach when I can make a better educated decision.

Good call on Make. I've been meaning to check it out, but haven't gotten around to it.

Thank you for all the resource links. I really appreciate your response.

Cheers!

Re: Web Programming Is Hard

#113

Earlier quoted context omitted.

OK, if we're talking about games, maybe not. I'm talking about your average Desktop GUI out there which can be made to work across different OS's using a GUI Toolkit such as Qt.

Yes, it's easy to make your average Desktop GUI ugly as hell across different operating systems using a GUI Toolkit such as Qt.

You read my mind. Most are ugly as hell ! That's exactly what I said on my blog, and Desktop GUI developers get away with it.

Re: Web Programming Is Hard

#114

Earlier quoted context omitted.

Well, I guess you'd never hire me then. Which is OK. I can't be anything but honest. Sorry. It's who I am.

This is getting to be a really silly off-topic discussion, but I have to admit, I would be totally curious to hear if you could identify what is difficult for you about this task: A) Pressure of an interview situation makes it hard to think straight? B) Absence of familiar IDE, environment, REPL/compile-run cycle makes it hard to work or think effectively? C) Something else? I just don't see how it could be difficult…

When I first started programming I was doing VBA on spreadsheets. I thought entirely in terms of simple commands, variables, events, if statements and the occasional loop. I could vaguely remember what an array was from highschool but never needed one (although, to be fair, I had a spreadsheet to work with).

I did not have a clue about objects, classes, pointers (Pass By Val vs Pass By Ref was like flipping a coin), never mind linked lists. But despite this, I managed to get a lot done. Of course since I've taken the time to educate myself I understand now, but my point is in some settings you can go quite far without ever engaging the fundamentals of computer science.

I know the OP said she does understand all that stuff but it's also possible she barely needs to use it.

Re: Web Programming Is Hard

#115
post #32

Earlier quoted context omitted.

Great advice, all. The HTTP protocol skill is something I didn't even consider.

ATM Machine. PIN Number. HTTP Protocol.

You're playing with the capitalization.

Gopher protocol. DNS protocol. IRC protocol. HTTP protocol. HTTPS protocol. All fine.

Re: Web Programming Is Hard

#116

Earlier quoted context omitted.

I would add one thing: get to know HTTP. Even a basic understanding will prevent you from making costly mistakes.

What are a few costly mistakes that can result from lack of HTTP knowledge?

not designing with REST in mind

Re: Web Programming Is Hard

#117
post #112

Earlier quoted context omitted.

The linux drivers idea is good particularly if you want to learn about communication with embedded system. But there are other approaches too. You'll need to ask yourself how low-level do you want to go. For example: Do you want to work on a system that has an OS, utilities, filesystem, etc such as the ELDK[1]? Or a little more stripped down with only the OS such as FreeRTOS[2], uClinux[3], or uC/OS[4]? Or even lower…

In most of my course work to-date it's been with no OS and just a while (forever loop) driven by interrupt service routines. Currently, I use an AMTEL AVR 2560; however, I've heard good things about the TI ones. I honestly don't know where I want to focus yet. I figured I'll continue to take some more classes to get some breadth on the subject. Once I have a better idea of what peaks my interest I'll jump into the de…

I'm glad that you like the info. I see that you're working on very low level stuff. Can you go even lower and deal with sensors, resistors, capacitors, opamps, and the like? These days there is a reference design in white papers somewhere so you don't need to be and expert in electronics to get away with something that works. You just need access to the tools such as multimeters and oscilloscopes.

I'm thinking sensor networks. If you can, then I would recommend to try something using the MSP430 for example, given its low power requirements. Take the microcontrollers and pair them with different sensors (eg., IR, temperature, etc) and an RF module such as xbee [9] in order to create a mesh network [10]. You'll need to work on the protocol and management side too-- a linux box somewhere with a database but that should not be a problem for you. But I realize that is more of a team project given the amount of work.

I mention this because I see some activity in this field and lately I've seen several articles, mostly in The Economist, that talk extensively on how sensor networks and the system that manage them will encroach our daily life. So if you can't figth them, might as well join them.

[9] http://www.digi.com/products/wireless/point-multipoint/xbee-...

[10] http://en.wikipedia.org/wiki/Wireless_mesh_network

Re: Web Programming Is Hard

#119
post #85
post #8

First, she thought implementing a linked list during an interview was hard. Then, she says that web programming is hard. And I'm not saying it's "easy", but talk about blogging yourself into a professional grave?

Personally, I find it refreshing to read a blog post that isn't - either directly or indirectly - about how amazing the author is. Programming blogging has a strong culture of focusing on the newest, shiniest, and cleverest; the only negative blog posts tend to be "why X is wrong". No one blogs about their difficulties, weaknesses, doubts, or the huge amount of effort it takes to get really good at something. I think…

But thankfully, that ever mythical "she" of the technical literature has got herself a blog and we note a shift in the tendencies of the clickety click crowd. Oh damn that CAP! Its so hard to scale. I think I'll go shopping for an off the shelf solution.

Re: Web Programming Is Hard

#120
post #112

Earlier quoted context omitted.

In most of my course work to-date it's been with no OS and just a while (forever loop) driven by interrupt service routines. Currently, I use an AMTEL AVR 2560; however, I've heard good things about the TI ones. I honestly don't know where I want to focus yet. I figured I'll continue to take some more classes to get some breadth on the subject. Once I have a better idea of what peaks my interest I'll jump into the de…

I'm glad that you like the info. I see that you're working on very low level stuff. Can you go even lower and deal with sensors, resistors, capacitors, opamps, and the like? These days there is a reference design in white papers somewhere so you don't need to be and expert in electronics to get away with something that works. You just need access to the tools such as multimeters and oscilloscopes. I'm thinking sensor…

I'll be taking a DSP and RF class soon - so, yes, I'll be able to go lower eventually :-) My background is in CS with the bare minimum of EE. For the most part, this is all new to me.

I'll take a look at the sensor networks. Thanks again.

Post reply on HN