Better HN
topnewbestaskshowjobs
Log inSign up

hackits

225 karma · joined Jun 24, 2016 (10y ago) · 298 submissions

Submissions

comment 9y ago · link · parent

Most of the time when business logic is put into triggers it turn into a disaster. Even Oracle recommends only putting simple logic within triggers and for the most part should only be used for auditing purposes.

For example too many times I've updated a record with a new column value only to find out that the value I've updated because of some trigger caused the value to be set to null.

comment 9y ago · link · parent

Just remember there no point earning the mega $$$$ when you're going to put a bullet in a gun and shot yourself in the head because of the stress. Look after yourself first.

comment 9y ago · link · parent

Btw I'm one of those intermediate and senior australian devs. Looking at changing jobs if you're interested.

comment 9y ago · link · parent

Whats more surprising is the company I work for does have a support agreement with Oracle, although when we've run into problems that do need a technical expert from Oracle such as crash dumps and stack traces we're told to figure it out our-self.

Kind of defeats the whole reason to have a closed source system when you're still on the hook and charging out $500 per hour to clients.

comment 9y ago · link · parent

Technically IT is a tool its their to service the business requirements.

comment 9y ago · link · parent

If you're that worried you should just simply stop using the internet. People downloading the facebook or messenger app kind gives a clear message they don't care about their privacy or their data.

comment 9y ago · link · parent

Just as a side note, we've never needed to upgrade the ipad air 2 nor any prior tablet from apple. We're of horror stories of devices slowing down or degrading with each iteration of ios so we've been lucky in not keeping them up to date.

On the other hand its actually been a negative impact in regards to wanting to buy a iphone. Knowing that if apple ever force a update or accidently swipe a notification away we could be looking at slower devices is a incentive not to buy their iphone products.

comment 9y ago · link · parent

I agree with your view point. Although why are you in the CS class? If you're only interested in just getting the job done the fastest?

From a practicality stand point of view using bash, batch files, nodejs, python is going to be faster second to none, I'm not discussing that. The point is using a low level language you have to consider about decoding the jpg, memory allocation or possible streaming issues. Optimal buffer size and command prompt parameters to parse from the command line to resize the image. All tangibly relate to other fields in the curriculum and when you get a job the field.

comment 9y ago · link · parent

I believe it is to teach the fundamentals of the CPU, Machine code before the student has any knowledge of the abstraction's that currently exist. Then after the fundamentals have been established introduce the abstractions and different approaches to improve productivity.

comment 9y ago · link · parent

It would of been better to start you with C then transitioned to C++ later on or skip it all together and go directly to java/ocamel/haskell then come back to C++ at a later date.

comment 9y ago · link · parent

Your mindset is too stuck in the victim mentality. Yes, people are going to better than you, BUT there are also people who are LESS qualified than you! I will tell you a secret most people wont tell you. People with less qualifications than you get paid more than you.

So drop the `Technical qualification` bull####. If you need qualifications, like other people have recommended open up a text book and start reading. Start building web-sites. Start development with Postgresql. Go out and market yourself and your products. See WHAT people want to buy. See what people are willing to pay for products. Go and take night classes in business management/business skills.

You're a discount office guy because you let them treat you like a discount office guy. If you're worried about failure let me tell you now you're going to fail in amazing screwed up ways, but that is part of the fun. You're going to find your own style, you're going to fall in love and be walked over, you're going to get shit but you're not going to grow as a individual, person, and be a human if you are that `Discount Office Guy`

## I will end on this.

Honestly to dear &&&& god. You've got some of the most friendliest, supportive, happy go people on this community web site who I believe would love to give you pointers and critique your work. Leverage what you have, leverage your network.

comment 9y ago · link · parent

I have to disagree with you there. You're taking the passive approach. Go out make a name for yourself in the market place in the field you work in. Do some volunteer work as a example to build up a client base and contact list. Advertise your services to other businesses and go to business functions. Get some offers on the table, and then you know where you stand within the organisation. You cannot do it if you're a slave to your job and you're literally working 10 to 12 hours a day. Cut back, turn off the phone after work. Go for a jog and go and have a beer with competing businesses or colleges.

comment 9y ago · link · parent

One of the video that can articulate the whole thing better than me is (https://www.youtube.com/watch?v=QM1iUe6IofM)

It was a long winded written rant. I still use OOP but its more or less glorified name spaces with functions. Today I rather work on procedural code than OOP code. It may have bugs, it may have their own little quirks but its like a old rusted vehicle that still keeps going.

comment 9y ago · link · parent

Lets be clear here. What-ever the persons opinion of you should have absolutely no bearing on your professional work, and your relationship between then. I have rude clients, I have smart ass clients. Something is very clear I make it to them when I do the job, I'm doing it for money. If they think $1000 per hour is too much then they're not a client I really want to be working with.

I have found you need to make it very clear to clients why you're there, and what the ROI will be for them. After you've done the work, you move onto the next client.

They may be a wealthy business man, they may be a boomer. They may be a startup. You're there to get a job done.

comment 9y ago · link · parent

I can attest to this. From personal experience I found websites that would ignore scrappers and just allow me to access their data on their public web-site easier to deal with code wise and time wise. I make the request, you give me the data I need and then I can piss off.

Web-sites that make it a cluster &&*& to get access to the data do two things. They setup a challenge to break their idiotic `are you a bot?` and secondly it is trivial in most situation just to spin up a vm, and run chrome with selenium and a python script.

Granted I don't use AJAX API or anything like that. Instead I've found developer who nativly have a JSON string along side the data within the HTML to easiest to parse.

Reasons why I've setup bots/scrappers 1) My local city rental market is very competitive and I hate wasting time email landlords who have all-ready signed up a lease. 2) House prices 3) Car prices 4) Stock prices 5) Banking 6) Water Rates 7) Health insurance comparison 8) Automated billing and payment systems.

comment 9y ago · link · parent

Worked on a number of different projects clearly from a maintence perspective. From C,C++ mostly around VBS2/VBS3 (Operation Flashpoint) and VSS Simulation systems. Moved on from C/C++ simulation market when the money wasn't really in it unless you're the sales people or upper management. Kind of drives it home when you bike into work and all management are driving BMW ect.. This was a startup that I took a major pay cut.

After that phase moved into web development. Tomcat/Java and Servlet containers and C# and F#. I've spent about in total 12 to 15 year's software development in this field.

When I first started programming I learnt from Quake/Doom Engine from John carmack. I can attest his software style and technical finesse was something to be admired even to me today. There was something to be said to have a look at good written C code that was really straight forward and easy to follow. At this time OOP/Java was starting to become a mainstream in the market place and most of hype and push was from marketing and also compiler writers/contracts wanting to push their contracting sales pitch at Universities/Schools and management.

Granted the whole OOP/Java was one giant experiment that paid off for other people but never really paid off for me. In my younger years I remember not getting OOP. When I say NOT getting it, I never really felt there was a clear explanation of what OOP was and my gut feeling was the whole theory vs practicality didn't work for me. So seeing that I had to time to waste I started research and reading as many OOP books as I could find. In total I've read about 60 different OOP books and research papers. After all this I still conceptually don't GET OOP. The whole thing a act in cognitive dissonance for me.

You probably GOT OOP but I never did. So more power to you.

My only anecdotal (Single data point) experience has been maintaining a large range of different type of software over the years. From procedural code, to functional programming all the way Java, and Spring (Inverse Version Control).

A lot of smart people than me in in the 90's/2000 created these massive taxonomy systems. Multiple inheritance from anything from 10 to 15 layers deep. Excessive use of design patterns and over-use of meta-programming where meta-programming (really) didn't need to be used all the time (look at you C++). I remember night tearing my hair out because these things TOOK up the fucken wall. Litterally the taxonomy's was just that large that had so many inter-layered derived class calling Derived classes that called in turn called the base classes then would in turn call the Derived classes, that would then in turn call some event handler. Yes you get the picture.

It did take about 3-4 years of 10 hour nights to finally get this massive inheritance system (Operation Flashpoint btw) where you could be productive. Then two months after I quit.

I then moved over to Java, and web-app development. Where I doubled my wage overnight. The Java project's designs had also drunk the kool aid also during the 2000's. So yet again I was faced with 7 to 8 layer (Single) inheritance system. Each consecutive developers building on this inheritance system. As you can imagine, the cost/turn around time and budget for such a system caused then to drop the system. They settled on Spring and dependency inversion control.

Granted most of the code I see teams writing is a throw back to procedural code. You have your controller that processes requests that in turn passes it off to services. That in turn accesses Repositories. This is inclusive of your typical MVC model, but most of the services, and code now I see is just a singleton instance of the class that just acts as a namespace for functions.

Prior to this in java land, all enum's and statically allocating arrays where bad and unclean. DIK_CODE's or id identifiers where discarded into the rubbish. Replaced by developers using inheritance type system to replace such crude (primitive) approaches of programming! Looks at all those enum's lets replace them using the type system of the language!

So for example instead of writing.

#define CUSTOMER_PAGE 1

#define CUSTOMER_CHECK_OUT 2

#define ORDER_FORM 3

You had developers using the type system in its replacement.

class Validator impliments IValidator

class Orders extends Validator

class CustomerPage extends Orders

class CustomerCheckOut extends Orders

class OrderForm extends CustomerPage

Somebody is going to come here and proclaim `they were doing it wrong`. I just shrug my shoulders and say it doesn't really matter I'm stuck looking at this mess.

For today, I see developer and new projects coming online where they've moved away from such inheritance model's and moved to a more procedural approach and flat design. I do welcome this move, and cheer for the faster turn around time.

It takes me on average when faced with new projects that use massive inheritance structure's 4-5 days to get my head around the system (If at all). The same or more complicated systems using procedural old statically defined array, enum's and defines take about 1 hour to find and isolate the problem and fix.

Other teams may have had success with large scale OOP code-bases. Though I've mostly found them to be error prone, more riddled with edge case situation and bugs. They're a nightmare to extend (counter to the whole notion of the sole reason for OOP), than your typical on this ID do this approach. It's something to be said I've recently started doing development work on mmpeg and x264 code base and its a please to be up to speed and doing some productive work within 2 to 3 hours.

comment 9y ago · link · parent

Let me know when you have a sample up would love to take a look at it.

comment 9y ago · link · parent

I tend to find fixed size buffers easier to conceptualize than dynamically allocated buffers. Tend to find that even with most modern language C#/Java I still see developer use fixed size buffer even within enterprise apps.

So I think there is something to be said with the whole movement of books/expert advice advocating against fixed size buffers/enum's to use more dynamic memory models when people in the trade are still using enum and static sizes. Anecdotally I've seen it more use of it now than any time in the past.

comment 9y ago · link · parent

From my understanding.

v2 I can include x264 either dynamically linked or statically linked into my software and sell the software but wouldn't need to release the source code to my software. If I make any alteration or modification to the x264 source code (eg.. performance/bug fix) then I'm bound by the license agreement to make such modification available.

v3 very similar but under the license agreement I have to make my source code and any derivative libraries that my software package source code available under the same license.

comment 9y ago · link · parent

Just a outsider note, I've never heard about your book before now or like I say `It popped into existence`. I had a look at the url you posted. Although I couldn't find a sample of your book, let alone a couple of pages to judge it's quality or value.

The table of content's was straight forward but lacking any substance. Maybe consider allow downloading a sample number of chapters?

comment 9y ago · link · parent

GPL2 - I give you my time and my work, you can sell it or include it in your product but credit the software package/module in your read-me.txt file and where to find it. By any chance you make modifications please make it available or publish them so it can be included back into the product.

GPL3 - I give you my time and my work, you can sell it or include it in your product but you need to also release your product under GPL3 and make it available to the public (eg.. Copy left).

The caveat of GPL3 is if the legal department doesn't like it, they can negotiate with the developer to purchase a GPL2 license, or proprietary license that comes with support.

Mostly boils down if you want everyone to play nice.

comment 9y ago · link · parent

Agreed your point. That is kind of the reason why I'm reluctant to use the GPLV2. If you distribute my software I want you to also honor the license agreement and release your resulting source code. In other words everyone has a gun pointed at each other head's and it keeps everyone honest.

There are current ongoing issues with GPLV2 with router, ip camera's and some other big named businesses that have bundled open source software but have not honored the license agreement and released or make publicly available those modifications. In doing so they're in breach of the license agreement and considering they're a commercial entity the copyright holders should rightly so be compensated.

You can take the chance and be the `nice` guy and release your source code under a BSD or GPLv2 license though with anything open source don't be surprised if you find your work inside a Toyota with your email address.

comment 9y ago · link · parent

From a person who makes a living selling software I like GPL v3 where I dislike GPL v2. This mostly resolves around that I can offer a proprietary license to the clients for the software in situations they dis-like GPL v3 but it also keeps everyone source code open for modifications.

comment 9y ago · link · parent

If you dont mind me asking, what type of application/webservices do you actually run on the Amazon EC2?

I work in the NT, and we have our own self hosted servers using tomcat as the servlet container. Eg.. Spring/Hibernate/ ect.. Although I find it hard to see how you could leverage those heavy weight systems (gig's in memory to Amazon's EC2?

comment 9y ago · link · parent

Yeah,,, consider yourself lucky that you were never employed by a employer who didn't provide PAYG summary. That is all-ways a interesting conversation with the ATO and your accountant.

comment 9y ago · link · parent

I don't see how you can say you're a Software Engineer when you don't have a national accreditation or standards body and peer review processes. Backed by research studies via Empirical evidence.

Electronic Engineer, Aircraft Engineer, ect... Have more standards and accreditation backing them up.

In other words half the fun is trying to figure out what they want.

comment 9y ago · link · parent

Oh.....

comment 9y ago · link · parent

Are you being sarcastic?

comment 9y ago · link · parent

Or you can ask them to explain the terms to you by leading by example. If they cannot articulate the terms or the terminology ask them to strike out the clause because both parties don't understand the terminology.

Just because somebody presents you with a employment contract doesn't mean you have to sign it. Read it, ask them to explain parts you don't understand by leading by example how and where the clause of the contract would be put into practice.

I've had some baffling contract terms put into contracts. I've asked and managed to get employers pay for 3rd party legal advice >= $2,000 for employment contracts.

In summary if they cannot explain to you like a adult without saying `The lawyers told us to put this in we don't understand why`. Then it's not within your best interest to sign the contract.

My own person experience stay away from firms that have lengthy overtly complicated contracts.

comment 9y ago · link · parent

Turns out the May 2017 budget has been announced and the headlines are:

`The federal government has given the go-ahead for a scheme in which the private sector would be given access to cheap capital in return for building more community housing.`

So no alteration to stamp duty, negative gearing, or capital gains tax discount.

Oh well....

1
567
10