d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Programming General
Prev12346Next
Add Reply New Topic New Poll
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Apr 19 2017 08:19am
Quote (nuvo @ Apr 19 2017 08:30am)
to cut on guesses, you tried to write (uninitialized/empty) value of sSomeStruct.value to "off" constant


Ding ding. Took me a while to realize why my application was crashing because it was being commented in.out debugging other code that was crashing.

Too bad this platform doesn't have a debugger else I would of caught it sooner.

This post was edited by AbDuCt on Apr 19 2017 08:20am
Member
Posts: 18,138
Joined: May 31 2010
Gold: 7.27
Apr 19 2017 08:57am
Quote (AbDuCt @ Apr 18 2017 07:12pm)
That's the simplest thing ever. You'd likely spend more time writing the view rather than the module and controller. At least in rails anyways.

Edit:: Everyone, don't code high like me.

Code
struct SomeStruct {
char value[32];
};

struct SomeStruct sSomeStruct;

sprintf("off", "%s", sSomeStrct.value);


Is totally flawed and I am ashamed I ever wrote it. Mainly the sprintf line. A cookie for anyone who noticed whats wrong.


maybe easy for some. But I mainly know html/css at this point. not the server side stuffs :unsure:
Member
Posts: 36,123
Joined: Jul 18 2008
Gold: 2,407.00
Apr 20 2017 04:13pm
Quote (Mastersam93 @ Apr 12 2017 07:46pm)
Bored of my my previous practice project so I'm making a simple CA web interface with a rest API. The goal is to make it easy to submit certificate signing requests from the command line from a VM without a GUI for small private clouds.


Designed the database the other night but as I was coding it in django I ended up cutting a lot of it out. I had planned for fields to store things like certificate file names but realized I should just store the CA account name and just use that for the file names with .crt and .key appended, etc.

So the DB is only two tables, but it is meant to be a simple app.
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Apr 26 2017 03:28pm
What do you need to be a freelance developer in terms of legal means.

Do you have to declare anything on your taxes? Do you need your own written contract to have the employer sign?

How does it work exactly.

Just curious about doing some freelance work outside of my acquaintances circle where all you need is a verbal agreement and a handshake.
Member
Posts: 36,123
Joined: Jul 18 2008
Gold: 2,407.00
Apr 26 2017 03:41pm
Quote (AbDuCt @ Apr 26 2017 04:28pm)
What do you need to be a freelance developer in terms of legal means.

Do you have to declare anything on your taxes? Do you need your own written contract to have the employer sign?

How does it work exactly.

Just curious about doing some freelance work outside of my acquaintances circle where all you need is a verbal agreement and a handshake.


I'd imagine it depends. Afaik, you just declare any money you receive as wages. And the contract is probably optional but I think more often than not you would sign their contract
Member
Posts: 36,123
Joined: Jul 18 2008
Gold: 2,407.00
May 2 2017 02:45pm
Working on Django unit tests and CI scripts today.
Member
Posts: 12,080
Joined: May 3 2017
Gold: Locked
Trader: Scammer
May 3 2017 03:15pm
Quote (AbDuCt @ Apr 26 2017 05:28pm)
What do you need to be a freelance developer in terms of legal means.

Do you have to declare anything on your taxes? Do you need your own written contract to have the employer sign?

How does it work exactly.

Just curious about doing some freelance work outside of my acquaintances circle where all you need is a verbal agreement and a handshake.


Better questions to ask a cpa than a programmer hehe
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
May 3 2017 06:21pm
Quote (Zekdawg @ May 3 2017 05:15pm)
Better questions to ask a cpa than a programmer hehe


So whose a cpa around here.
Member
Posts: 36,123
Joined: Jul 18 2008
Gold: 2,407.00
May 13 2017 04:40am
One recruiter on LinkedIn asked for my "insights" on something I mentioned I was working on, another one sent me a connection request.

I'm getting popular. ;)
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
May 15 2017 06:05pm
Anyone know of a C library that allows for in memory extraction of single files from zip, rar, tar, cbf and other archive containers?
Go Back To Programming & Development Topic List
Prev12346Next
Add Reply New Topic New Poll