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

931.

Reference implementation for a new NoSQL query language paradigm(github.com ↗)

3 points · by oblib · 6y ago · discuss

comment 6y ago · link · parent

This is a great bit of journalism. Best layman's accessible article I've read on this subject.

comment 6y ago · link · parent

When I was 14 years old I moved from northern Illinois to Hollywood CA and when I told kids there that on a sunny 40º winter day in Illinois we didn't wear coats because it was "warm out" for us.

They thought for sure I was bullshitting them. To be fair, after living in So. Cal for a few years when it fell to 70º on summer evenings I would get the shivers if I was only wearing a T-shirt.

comment 6y ago · link · parent

"If you insult virtually everybody, they're going to throw the shit back at you."

Assholes tend to walk into a room looking for something to bitch about. Of course, if that's what you're doing your always going to find something to bitch about.

Years ago I started telling people that were being assholes "Shit flows both ways". The intent was to make them realize anyone can be an asshole, and that if they didn't stop I would demonstrate this to prove my point.

Most assholes deny anyone can do that to them. They tend to think they're perfect and have no faults, make no mistakes, and are far superior to everyone around them.

But being an asshole is about the easiest thing there is to do so I'd just keep an eye out for an opportunity and jump on it when it arose. It doesn't take long to find something and depending on the circumstances I would either do it in a public or private setting to give them a taste of their own behavior.

They'd either hate me or apologize afterwards but they always stopped being an asshole to me after I proved that point.

comment 6y ago · link · parent

It was a long time ago. I was advertising on Adwords and my ad was getting hit every few seconds. Whomever it was would go to the linked page from the ad and hit a few more pages within just a few seconds and then leave without spending enough time to even see those pages. The clicks were coming from more than just one IP address but it was same thing from all of them.

I suspected it was a competitor paying some bogus group or bot network to run up my clicks and asked Google to look into it. They asked for my log files, which I sent them, but then told me "no problem found".

It cost me several thousand dollars before I realized what was going on. I shut the ad down for a few months and then turned it back on but the same thing happened again right away. I tried again to get them to look into it but got the same response. I refused to pay for those ads and they buried my site in their rankings afterwards.

comment 6y ago · link · parent

"Your static JavaScript, CSS, and images are automatically minified, optimized, and hosted globally on Google's Cloud"

That's a non-starter for me. Google screwed me hard years ago when I was using their Adwords. I can't forgive or forget that.

937.

Apache CouchDB 3.0.0 has been released and is available for download(docs.couchdb.org ↗)

2 points · by oblib · 6y ago · discuss

938.

The Archaeobotanist Searching Art for Lost Fruit(atlasobscura.com ↗)

1 points · by oblib · 6y ago · discuss

comment 6y ago · link · parent

We'll see how it works in practice. After reading the intro to what they're doing I think I'll update a few certs before they expire to make sure it works, but from what I've read I don't anticipate any problems.

LE has been great for me.

comment 6y ago · link · parent

>some researchers have argued we won’t have widespread self-driving cars until we’ve made major changes to our streets to make it easier to communicate information to those cars.

It feels to me like those working on the concept are expecting that if they keep adding sensors and twiddling with AI they can avoid that.

I get why. It's a vast and expensive undertaking that is out of their control and they want to sell their product asap. But if we started with major city streets and highways it could be a quicker and safer route to get it to market.

Years ago (around the late `90s) I worked on an "Intelligent Traffic Systems" project for the city of Branson, Missouri. The 3M Corporation demonstrated a magnetic tape for street lines and a snow plow truck outfitted with sensors that could detect the lines connected to vibrators on each side of the drivers seat. When the truck got too close to the line the seat would vibrate on the side they were close to. I got to ride in the truck for a demo of the tech and worked well.

We also had street cameras that detected autos and could estimate speed and traffic congestion. These sent video and data to the local 911 center. I created a "traffic congestion map" that ran on a web server using that data that worked pretty much the same as Google Maps that show congestion.

We need "smart streets" to really make this work. Without adding that to mix corporations could be banging their heads against the wall and spending billions of dollars to try and never make the last mile.

comment 6y ago · link · parent

Children are pretty resilient. My parents divorced when I was around 5 years old. My father moved a lot and I didn't see much of him, and at times didn't hear from him for long periods. My mother remarried when I was about 7 years old. My stepfather was a great guy and it didn't take long for us kids to get used to having him in our lives. He and my mother had two daughters over the next few years and we all got along great.

When I got to be 14 years old I moved halfway across the US to live with my father. A bit over a year later both my younger and older brothers came to live with him.

That move did cause some friction between my mother and I but by the time my brothers moved out there she was fine with that arrangement. It had to be a lot easier on her and it gave her more time to spend with my sisters, so it worked out good for them too.

For me, it worked out pretty good as well. My father owned a business and I learned a lot working with him, way more than I could have had I stayed with my mother and stepfather.

So, I'll offer that if both parents make an effort to spend time with their child, refrain from criticizing each other around or to their child, and work together raising them, the kid will be fine.

I have no regrets about how things worked out for my parents. They both remarried and found someone they did get along great with. They were all happy, and I got the best from all of them.

942.

Hackers could shut down satellites – or turn them into weapons(theconversation.com ↗)

3 points · by oblib · 6y ago · discuss

comment 6y ago · link · parent

I think your experience with FB has a lot to do with whom you have on your "friends list".

I only have about 200, most of whom don't post much. Of those who post a lot of political stuff I have a fairly good mix so I see a lot of that but I don't get all heated up over it.

A lot of great and funny stuff comes up on my feed so I have a lot of fun with it.

comment 6y ago · link · parent

I use a "Todo" web app I made with the same toolset I use for my apps.

On a desktop you can drag and drop the order of the todos so when coding I use it to make quick notes of things I run into and prioritize them.

That's really all I use, but I work for and by myself so I don't need much.

https://cherrypc.com/todo/

comment 6y ago · link · parent

I joined a Perl user group for a very short time. I live in a rural area and drove a couple hours to attend a meeting. It wasn't at all what I expected. It was basically a Larry Wall fan club.

I have no problem with Larry or fan clubs. They're just not my thing.

comment 6y ago · link · parent

Wow...thank you for all the great info and insight, and for the work you've put in yourself on our elections.

comment 6y ago · link · parent

That is a great video. Thank you for pointing me to it.

948.

Newspaper Accounts of Giants(jasoncolavito.com ↗)

1 points · by oblib · 6y ago · discuss

comment 6y ago · link · parent

I'm still not feeling the warm fuzzies.

comment 6y ago · link · parent

Your response implies that structured data, including numbers, are a somehow a problem for CouchDB, but that's just not the case.

Validating data is something you can and should do before saving it in the DB and with CouchDB that would be done with a "design document" using javascript.

In this case validating that user input is a positive number or a zero should be done on the client side before even submitting the data as well.

comment 6y ago · link · parent

That is just silly. Reminds me of the old saying; "When all you have is a hammer everything looks like a nail."

comment 6y ago · link · parent

"The application is literally tables of relational data with multiple simultaneous users"

How is this data "relational"?

Each precinct has 3 numbers to submit for each candidate, that's not a big task for one person, and none of those precinct's candidates numbers are related to anything else in the db except the grand total of all precincts numbers and that's a one way relationship. The grand totals never change any of the data they're derived from.

If you want to give each candidate's precinct representative access to the precinct's db in CouchDB than you just limit their access to one file for their specific candidate in a db for their specific precinct, so by design it's purposely not related to any other candidate or precinct.

That's why CouchDB is a good choice for this kind of app.

comment 6y ago · link · parent

The window is pretty small to create a conflict in a well designed CouchDB interface because of the way revisions are used. You should get the latest revision when you load the data for editing. And it's trivial to set a "locked" flag in a file being edited to prevent others from overwriting it if you have it configured so others can do that.

In this particular use case there really should only be one authorized user who can edit the data file for each precinct so race conditions like you describe just don't exist.

You can also use CouchDB's live sync feature to push the latest revision to everyone viewing the file in close to real time.

So conflicts are really a non-issue here. By design they just don't happen.

comment 6y ago · link · parent

>>What happens when two people share authentication (which will happen!) and access the app at the same time.

If they both come from a different district and log into CouchDB they'll either only write to their file (one db, multi-user) or write to a file (or files) in their db (db per user).

If two users write to same file in same the db at the same time the DB will note the conflict and decide which data gets stored in the file.

https://docs.couchdb.org/en/stable/replication/conflicts.htm...

comment 6y ago · link · parent

> I have a feeling you haven't used SQL databases very often.

No, I've not. I just never liked the way it worked so I have to honest and open about my prejudice.

> This is exactly the kind of thing that [...] noSQL databases do poorly.

That's really not true. I've built web apps that do pretty much exactly what that voting apps does and I use CouchDB to do it because it was built specifically for this kind of thing, and it makes it very easy.

That's not the same as saying SQL won't work. Or even that it's a bad choice by design if it's what you're familiar with and good at using it.

How much time have you spent with CouchDB?

I do know that those coming from a long history of using SQL dbs often have a hard time using CouchDB. I had a hard time with SQL, so maybe it's a right brain/left brain kind of thing. Or maybe it's just not really wanting to learn a different way to do what you already know how to do with a different tool.

I chose to use a hand rolled flat file database early on (around 2000) as a backend for my web apps. When CouchDB hit v1.4 I switched to it because it worked very much the same as my db and offered a lot of advantages. It's gotten a lot better over the years since too.

So yeah, my view comes from a different perspective.

comment 6y ago · link · parent

I like that idea a lot.

comment 6y ago · link · parent

I offer a bit more detail for that suggestion in response to: "mdavidn" below...

comment 6y ago · link · parent

With CouchDB you could have all that data in 1678 human readable files.

Or 1678 password protected databases with one or more human readable files in them and let CouchDB handle user auth, which CouchDB makes really easy.

You could do the same thing with a simple flat file database using directories and files and system level user access, and it'd be very fast too.

This is pretty much the kind of thing CouchDB is designed for though and has tools built-in to make it easy.

comment 6y ago · link · parent

It's basically a "KISS" issue.

The data being submitted is so simple that using an SQL db adds a layer of unnecessary complexity.

So did their decisions for authentication, which appears to be where things got stuck.

comment 6y ago · link · parent

Wow! That provides some great info on this. Still leaves me wondering if the end result wasn't by design though. It's kind of hard to buy into the "Opps" explanation.
1
313233
66