Better HN
topnewbestaskshowjobs
Log inSign up

oblib

5,401 karma · joined Sep 19, 2016 (10y ago) · 1,967 submissions

I'm a solo developer. My main income comes from ezInvoice.com so most of my work is keeping it up to date.

Aside from that my wife and I have a small 5 acre "farmette" in the Ozark Mountains in SW Missouri that we putter around on. We have two mini-burros, 3 dogs, 5 cats, around 30 chickens, thousands of acres of National forest and public land surrounding us, and a lot of wild critters that come visit us.

I have the basement to myself to design and build apps and tinker with things that peak my interest.

Submissions

comment 9y ago · link · parent

I think I know what the problem was for me now. I started using their new site when it was in beta at this url: https://apnews.com

After reading your comment I pasted that into a different web browser and it came up so I went to my default browser and removed their cookies and cache and it loaded for me.

Cool link you shared!

Thank you for responding!

1862.

Is AP News Down?(apnews.com ↗)

1 points · by oblib · 9y ago · 2 comments

comment 9y ago · link · parent

Yeah, I agree. We learn most everyday about things "Science" got wrong because new science proves it.

That's not to be dismissive or meant to deny what we do know, only that it's wise to be humble and keep looking and learning.

comment 9y ago · link · parent

"Stripping away his sensationalist headline, the author is 100% right that this study proves basically nothing"

That may be true, but his telling people "They are safe" is not proven true and "Drink away" is just piling stupid on top of a lie.

comment 9y ago · link · parent

Cool site!!!

I like the concept and you've done a nice job implementing it.

comment 9y ago · link · parent

This is certainly interesting. Would love to see this study done on people. It would be big news if it held up those results.

comment 9y ago · link · parent

Yeah, FB being down is certainly news, and tech news as well.

comment 9y ago · link · parent

Working for me here in Missouri

comment 9y ago · link · parent

working for me.

comment 9y ago · link · parent

I'm just a small one man operation but since I've been doing this, for about 20 years now, I have always put account ownership of 3rd party services in the client's name and informed them of any updates that needed to be made to that info while I managed those accounts.

The idea behind it is they can fire me anytime they want and not have to worry about me hijacking their data.

As part of this I direct the billing for all 3rd party services to them from the very start. When clients have decided to move on I give them everything they need and ask for, even if they owe me money.

I work with whomever they are using to make it easy for them and try to be as helpful as possible. I won't do their job for them but I will provide with what they need if I have it.

As far as code I write for them, that is owned by those who pay me to write it. Again, I make that clear from the start. Personally, I think it's highly unethical to do otherwise.

If you're offering your software as a service that's a different issue but when you're creating custom apps just for them you need to make it so they can continue on if you get hit by a bus and can't continue on.

I have changed how I create apps over the years to make it easier for clients to move away from me when they want. I have some that have been with me for over 15 years now. Some that have left and come back, and some that never looked back. But none will say I hindered them when they left. They will all say I helped them with whatever they needed and made it as easy as possible.

From a legal standpoint I want to be on solid ground from the beginning. I don't want any client to be able to say I hindered their ability to do business, and none ever has.

comment 9y ago · link · parent

Cool stuff! Thanks for sharing!!

comment 9y ago · link · parent

Depends.

If it's a Robin Hood scenario it can be morally justifiable.

If the crime is stealing from anyone, rich or poor, so I can live easier, then no.

comment 9y ago · link · parent

No. The truth is desperation you describe is faced everyday by many and they still don't commit crimes. What you do is choose to keep working at what's right.

We can certainly justify stealing a loaf of bread during hard times to keep your child from starving after you've tried everything else you could, but not making a career out of turning back speedos. One speedometer, maybe, but not one a week. That's a racket.

comment 9y ago · link · parent

That is hilarious. I would've been speechless, and at the same time resisting the urge to punch them in the nose :D

comment 9y ago · link · parent

That is awesome. I didn't know it existed but I do love it.

Thank you for sharing this!

comment 9y ago · link · parent

When I was a teen I was offered cash to turn back speedometers many times, and always refused. This started after I set the speedo on my own car back to zero, but I was customizing it for myself, not flipping it for a fast buck, and it was already 25 years old anyway.

Back around the turn of the century I was offered a bit of cash to build a "Revenge Porn" site. The guy who called me sounded very mild and calm, even nice. He did say he'd been turned down a few times but he also seemed determined to make the site.

I had never heard of this idea at the time and was pretty surprised with the concept. I turned him down, of course, but what surprised me most was how many friends and acquaintances told me I should've taken the cash when I told them the story.

I'm 58 years old now and the number of people who've asked me to help with their scams, and have tried to scam me, is far more than I can remember. With all that experience I can spot them easily now but it never ceases to amaze me how willing some people are to do that.

comment 9y ago · link · parent

That's apparently a process that takes time, but in the long run it could easily pay off. Over the years I've dealt with "Verio" selling my ip address to spammers. Before that they had entire ranges of IP blocked that I got caught up in.

A couple years ago I did the work to use "Mandrill" in an app and they got merged with "MailChimp" who changed how my app could use their service and I had to redo those routines again.

Right now I'm using Mailgun and they're awesome.

comment 9y ago · link · parent

I took a look at the github project and I hope they do great.

As a side project I've been working on setting up my own mail server using "Mail-in-a-Box" (https://mailinabox.email) for about a month now.

It's been a learning process but I do like the idea of having control over this. I've got it set up to send emails from a remote app server using a perl script and an email account configured on my Mac Mail app all working.

Mail-in-a-Box is really pretty sweet. It walks you through the install and has a very nice Control Panel that handles DNS and user account setup and it comes with the Roundcube email web client and ownCloud.

There are hurdles. I got a clean IP from DigitalOcean with no problem, but the domain name I'm using is new and has no reputation so when I tested it last week sending emails from the app server to my personal Gmail account the Gmail server responded saying:

"Our system has detected that this message is 421-4.7.0 suspicious due to the very low reputation of the sending IP address. 421-4.7.0 To protect our users from spam, mail sent from your IP address has 421-4.7.0 been temporarily rate limited."

I only sent about a dozen emails, all to my own Gmail account, so that seems to be a bit harsh.

Then it occurred to me why Gmail exists and it made a lot more sense. So, there are hurdles.

comment 9y ago · link · parent

Great article. I'd not heard of David Ricardo's "On the Principles of Political Economy and Taxation" and look forward to delving into it a bit more.

Thank you for sharing!

comment 9y ago · link · parent

"he made the claim it would be easier to gleen useful data from what we've collected"

He's probably right.

"Would this fall into the "premature optimization" category of common mistakes?"

No. I don't believe so. You don't have to optimize your data. In CouchDB you need to convert it to JSON but that's a pretty straight forward process. I wrote a perl script to do that for data I was working it.

You can create databases that work on a specific dataset if you want, or create a single database and load it with everything you've got.

From there you design "Views" that work with data in the "files" you store data in. When you run the view the first time CouchDB creates a B-tree that is then stored and used to find the data you're working with and return the results based on your criteria.

That B-tree is where your data is "optimized" and CouchDB does that for you. The B-tree is updated whenever you add or make a change to your dataset, so you don't have to do anything to "re-optimize" it.

This is all fairly easy to do and the learning curve is fairly short. If this is being run in-house I'd recommend developing your app on a Raspberry Pi. You may find that's all you really need.

You can setup a CouchDB on a Raspberry Pi with over 250 GB of storage for around $100. (http://wdlabs.wd.com/products/pidrive-compute-centre/). This actually provides a pretty great way to distribute your app and data too, and gives those who have access to modify it themselves.

You can develop your app on a Pi and from there if you need more power you can replicate everything you've got to a Cloudant DB, or install CouchDB on Google Cloud or Amazon Cloud or a spin up a DigitalOcean VPS and install CouchDB on it. You've got several great options there.

CouchDB has a built-in tool to replicate your data to/from other CouchDBs so this is incredibly easy to do. Pretty much push a button easy.

And don't underestimate what you can do with the Raspberry Pi. They run CouchDB just fine. I'd be glad to send you step-by-step install instructions for CouchDB 2.0 (latest version) to help get you started with that.

comment 9y ago · link · parent

That really depends on the data and how you intend to use it.

There are some very good reasons to not use an RDBMS.

comment 9y ago · link · parent

Go take a look at IMB's Cloudant. (https://cloudant.com)

They have some examples there demonstrate how fast it is at digesting data from 100s of 1000s of records. It has to do with how the data from searches are stored in a B-tree. I won't pretend to know the science behind that but I can tell you it's impressively fast and easy to achieve.

And you can use PouchDB to create the client side interface and plug it into a CouchDB server you set up or IBM's Cloudant, or both for that matter, with just a line or two of code.

So you really don't even need to setup a database server to get started on you application code. You can create a Cloudant DB and load it with data and get right to work on your client.

comment 9y ago · link · parent

I'm using CouchDB and Apache Web server on Ubuntu 16.04 on the server side and PouchDB, Bootstrap, and JQuery on the client side. While maybe not a "Stack" in the traditional sense it's a solid approach with a lot of benefits.

Personally, I believe this is a sweet spot right now that's mostly being overlooked. CouchDB and PouchDB have come a long way in the past two years. They are now solid and offer an incredibly rich API that's well documented with a lot of example code and an active and helpful user base to help keep you moving forward.

It may not sound as jazzy or have the media hype of some of the newer tools out there, like React and Angular, but once you start building with them you'll find things come together quickly.

I've not dug too deep into CouchDB "Views" yet but that's another powerful tool to get and present data that is very fast and efficient.

Since almost everything is written in Javascript you have a huge number of existing libraries of code you can drop in to add needed features and you end up with an app that runs almost entirely on the client side, and can run offline there if you want or need it to. When you add "Service Workers" to cache those app files the web server doesn't do much besides deliver the app once and update it as directed.

In this setup the Apache web server is redundant since CouchDB is also a web server. I use it because I'm familiar with it and it provides an option to separate the DB server from the app file server that I figured might offer some management and scalability benefits. So far I haven't come close to needing that, but I didn't have to spend anytime learning how to configure the CouchDB web server so I saved a bit there. YMMV

comment 9y ago · link · parent

That makes sense. I was not aware of that so thank you for pointing it out.

comment 9y ago · link · parent

I've seen that too.

comment 9y ago · link · parent

That's not entirely true. One can be objective but it does take some self awareness that's not touted much these days.

comment 9y ago · link · parent

I mostly agree with this. I too lean left but appreciate the journalistic work done at the WSJ.

I think The Guardian has lost much of their balance in the past couple years though. I see too much rhetoric in what should be unbiased news lately and while I appreciate well thought out opinions I don't like them creeping into "News". When it does I feel the ghost of Orwell leaning over my shoulder and whispering "there it is".

comment 9y ago · link · parent

Yep. I bookmarked The Guardian about 3-4 years ago and really enjoyed a lot of what they put out but about two years ago I began to realize just how tilted they were. I'm not sure if it was them or me that changed most but I suspect it was them. I quit tuning into CNN and MSNBC about 4 years ago and back then I recall The Guardian seemed quite balanced in comparison.

It was during our elections last year that they leaned too far for me to take them seriously as a real journalistic endeavor and I scrapped the bookmark because they were wasting my time.

It wasn't easy though. I really wanted to make a donation and support their stated mission of being truly independent news provider, but I just couldn't because they're not. They have a very clear agenda that's promoted with a left wing tilt but really only supports a different group of corporatists than the right.

I will not subsidize that, and that's really what they're asking from us.

comment 9y ago · link · parent

Nice!

comment 9y ago · link · parent

It's kind of like this; If I could find a guy who could build Ferrari engines and build the chassis and hammer the bodies out of sheet metal and paint them and upholster them and sell them for what I want for them I could make a fortune.
1
6263646566