Better HN
topnewbestaskshowjobs
Log inSign up

hackits

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

Submissions

comment 10y ago · link · parent

The way C/C++ get around the implicit ownership of const char * is everyone copies data around.

comment 10y ago · link · parent

Just curious, with your 5 years with financial companies do you see them do things differently than most organisations? eg.. deadlines?, SLA?, tech-understanding?

I had a couple of colleges working for the banking financial sector and they where pretty high strung most of the time. They where a bit more direct in regards to putting money on the table to get shit done.

comment 10y ago · link · parent

None of my comment was derogatory of the above article. My comment pointed out the article was too long and didn't captivate me as a reader. I tend to read lengthy post but tend to ignore article's just like the one posted.

Now I even shoved it into smmry to get the general gist of the article and even smmry after condensing the article down to 14 to 20 sentences didnt even look very appealing (to me the reader).

Congratulations are in order for what she achieved and with a small family it is even more remarkable.

The problem I mostly have about the article after coming back here was I got more knowledge about her as a person and the company than the damn article she wrote. Though I will never know because the whole thing just read like a marketing blog post.

The `serious` is more in line of `you got to be joking me` that some people take things way too seriously.

comment 10y ago · link · parent

Nice article, couldn't really bring myself to reading it all. Just wish it was a bit more shorter and concise, was more of a marketing spill.

Update: For the down votes are you serious?

comment 10y ago · link · parent

Do you have any video/audio of the talk?

comment 10y ago · link · parent

Does that imply that LINUX was implemented poorly? I allays found the concept of socket file's to be mysterious things (coming from a windows background)

comment 10y ago · link · parent

If you like running SQLite I recommend looking into double entry book keeping with Ledger. Recommend it as it gives a good introduction course in journaling and accounting using double entry book keeping.

comment 10y ago · link · parent

I found it useful for logging. Logging tends to have structured data associated with it. Trying to re-parse log files into some meta data gets tiresome and is error prone.

comment 10y ago · link · parent

Hi gravypod.

It depends. Oh I hate that word.

When I see int i; without context I don't know anything about where memory is allocated.

It can either be the following. 1) Stack allocated 2) Heap allocated 3) Is in the read only data segment.

Just starting with a int, it can be any of the above three, two that reserve the memory on the heap/stack and another that is only a read only part of memory. The heap is the only place where I would need to call malloc/free.

Though for most common libraries when I see string s; They mostly

have a pointer null terminated string in memory, and the primitive data types residing as the member's of string.

RAII helps in the situation where instead of having to do tedious code such as.

String s; allocate_string(&s);

// do something with string. free_string(&s);

It can all be done via a standard convention of calling the deconstructor or constructor to initialise and free itself.

comment 10y ago · link · parent

Don't see how there could be any performance implications with having RAII within C. It would be a simple method call with the this pointer to the struct during complication. Though if your performance consideration is at the assembly code level why use C?

I've had some good/bad experiences with garbage collectors. They do help improve productivity and ROI within the enterprise space where memory isn't too much of of issue. Then when memory does become a issue within smaller memory footprint environments they can be a real pain in the ass.

comment 10y ago · link · parent

When I think about features in C++ that I would love to have in C, the only thing that comes to mind is constructors and deconstructions for RAII.

comment 10y ago · link · parent

Wish I was told this when I was younger, would of help put the world into perspective sooner than later :)

comment 10y ago · link · parent

From personal experience for a number of web-sites I've have had drop curl and use a headless chrome browser with ChromeDriver/Selenium/Python to get the data I need now.

comment 10y ago · link · parent

If you chase two rabbits you will not catch either one.

Little bit of background here before I begin. I did my comp-sci and mathematics degree and even though they have been useful in some degree or another they both were mostly a complete waste of time in my experience. For the vast majority of the clients and projects that I've had since finishing my university they've all revolved around fixing framework problems or bugs within large code bases. Just today I fixed a massive Land Titling (Enterprise Java/Oracle) bug where the original underlying framework would leak connections/memory until it fell over after 3-4 hours of usage. Other bugs such as off by 1 problems, data translation, data encoding. The vast majority of the time its been incorrectly designed frameworks or replacing frameworks with another framework.

For most of the work out there (I would guess 90% of it) its maintaining and supporting clients to achieve their business goals. Completely un-interesting stuff but get a good reputation of getting stuff done and they don't even wink at your asking price.

comment 10y ago · link · parent

Bit on the racist side there mullen.

comment 10y ago · link · parent

Sorry to say this but you're talking out of your ####.

All the research from expiercal studies mostly all show that static vs dynamic languages all correlated with a Expertise reversal effect. This is for beginners not experience programmers. That at the start of the studies for the first 8 to 9 months novices have a negative correlation with the speed of development work with a statically typed language. After 8 to 9 months they gain a singificant boost from static type language.

Source to backup my statement and resource if you're interested @ Susan_hall

Functional Geekery Episode 55 – Andreas Stefik https://www.functionalgeekery.com/episode-55-andreas-stefik/...

Secondly another study that was published for Polymorphism in Python from the website (neverworkintheory)

Polymorphism in Python http://neverworkintheory.org/2016/06/13/polymorphism-in-pyth...

Gives the qoute: `Our findings show that the receiver in 97.4% of all call-sites in the average program can be described by a single static type using a conservative nominal type system using single inheritance. If we add parametric polymorphism to the type system, we increase the typeability to 97.9% of all call-sites for the average program.`

I could qoute other resources to backup my statements though if you want to have a skype coversation I'm up for a talk.

comment 10y ago · link · parent

I would of though that if you want to restrict developer from doing that you would add commands to the sudoes file? isn't that the whole point of sudo?

Correct me if I'm wrong, I'm interested to know? I'm currently looking into docker and the advantages it brings to deployment instead of using a VM.

comment 10y ago · link · parent

Interested in your `conference talks about databases` is there any online links to your talks? also your email address strikes me as being a bit odd. I guess you don't want the bots finding your real email address.

cheers.

comment 10y ago · link · parent

Found for large text books the Ipad air 2/3/pro to be a live saver. I tried E-ink but gave up after most of them suck for reading large text books.

Also advantage of the ipad is you can load it up more modern that can assist your learning where by a book is a dead tree.

comment 10y ago · link · parent

Somebody got it right.

comment 10y ago · link · parent

Unless you write a check out to them, then I classify that as being free. You're feeling that you're entitled to a service that you don't pay anything for.

comment 10y ago · link · parent

$100 million isn't that much money for large teams.

comment 10y ago · link · parent

It nothing about that. The main point is the whole community bitching a moaning about software that in all intent and purposes is given away free without any contribution by the users. The source code of Docker is open source so why doesn't the guy go in there and contribute his time and or his own money to support the project that to him is so vital?

No doubt the guys working on Docker are super smart guys, though they too have bill's to pay and lives to live. So if you want to see Docker improve how about contributing back and or supporting their efforts with extra funding. Maybe they will have the funds to bring on more full time developers to hunt those obscure bugs or add those features that everyone wants?

Discussing and putting down the developer with article titles such as 'Sad state of docker' to me shows self entitled the community around these projects are.

comment 10y ago · link · parent

Are you paying for the service?

comment 10y ago · link · parent

There is a reason why they call it the bleeding edge. It's up to you to evaluate the technology to see if it fits within your infrastructure. Calling docker out and saying it's broken when its a free product seems to be miss guided.

comment 10y ago · link · parent

Don't know what all the fuss is about when essentially you're getting Docker for free?

comment 10y ago · link · parent

Calling BS here.

comment 10y ago · link · parent

`nowhere do they tell you to make your own backups`. Nowhere do they tell you that your data will be stored forever. You're making assumptions based on something they haven't even said they would provide `FOR FREE!`.

comment 10y ago · link · parent

I just spent $1100 on a new mobile phone I don't have that kind of money!

comment 10y ago · link · parent

Storage facility will charge for the service because storing physical goods and providing 24/7 security cost money. Last time I checked they will have a clause in the contract if X weeks go by and you have not paid your bill they will auction the items off to recover the debt.

Though could be different for different storage facilities.

For example, lets reverse this a little bit. Lets say you're storing a clients data, backups, 100tb of data with offsite redundancy. The client doesn't pay for 6 months. You've taken all course of action to contact the client but they're unresponsive. It's now costing you money to maintain and service this data. What do you do?

1
678910