5,401 karma · joined Sep 19, 2016 (10y ago) · 1,967 submissions
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.
1681.
Ask HN: Can FRS/GRMS Radio Be Used for a LAN?
9 points · by oblib · 9y ago · 8 comments
comment 9y ago · link · parent
I also think that to conclude "The HTML/CSS/JS stack is a mess" one is really complaining that they want to do something it's not designed to do or doesn't have some specific functionalities they want or need, which is not at all the same as being a "mess".
"Are there visions for an entirely reimagined OS, web, programming, etc, that are interesting to you?"
Well, for me, yes. But we have to look at it with a long term perspective to see it. My first web app (an invoicing app) was made with perl using CGI.pm and HTML. Later I added CSS, then a bit of Javascript to manipulate the UI with Prototype.js and it's fair to say that for me, Prototype.js allowed me to reimagine how to build the app. It allowed me to take multiple forms and "hide/show" them instead of sending user data to the server, saving it, and sending another form for them to continue on with the process of making an invoice. That process was reimagined again when I saw how AJAX worked. And again when I first learned about "Document Databases".
I didn't like the way SQL stored data for creating invoices so I never used it on my app. I used CGI.pm's "Save" feature to store data in a "name=value" format. When "NoSQL" databases, or "Document Databases", came out that were designed specifically for web apps I was pretty amazed because I thought I was the only one who thought SQL was a really crappy way to store document data and the few times I'd mentioned that on the perl mailing lists I got torched by most who responded.
Currently, I think it's probably fair to say that React.js "reimagines" how we approach building web apps.
Finally, when it comes down to the bit level processing going on in an OS I don't have a frigging clue and I know that, so no, I don't know of any better way. I am still in awe and constantly amazed and don't expect to ever not be.
comment 9y ago · link · parent
When I was 14 I moved to Hollywood, CA to live with my father and started learning how to build custom cars. Clients included Elvis Presley, Dick Clark, George Barris, Batman (I helped restore some "Batmobiles" at Barris's shop), and many others you may have heard of. I did that for about 16 years before learning to code. It was actually very good prep for that too. Reading Steve Jobs analogy of software as tools helped a lot with that.
comment 9y ago · link · parent
I have always admired Larry Wall and learned a lot from reading his stuff but I never really did get along too well with the "perl community". I was a member of a few of their mailing list and they all seemed to love telling people who joined and asked a question that they were lazy and dumb and "RTFM" was used there more than anyplace I've seen on the web. They worked hard at chasing away anyone who tried to answer those newbie questions. I finally left them after years of seeing the trolls harass newbies without any rebuttal except mine.
I still use perl for setting up users and emailing and database chores but CPAN has a lot of old modules now that haven't been maintained in years and going through those can be a pain sometimes.
And I still like and use CGI.pm. The perl community loves to crap on it but it's still the easiest way there is to parse form data with Perl and a lot of times that's mainly what I need to do.
comment 9y ago · link · parent
I appreciate the tech and do look forward to a day when it's widely implemented but I'm not near convinced it's ready and lives are on the line here. "Insurance" can't fix that problem.
But... I don't live in California anymore so I can still easily avoid them :D
comment 9y ago · link · parent
https://en.wikipedia.org/wiki/Magnetometer
https://www.adafruit.com/product/1120
Here's link to a video I made about using one to create an HTML5 animated compass:
https://www.youtube.com/watch?v=2YW6HWJg4f4
Here's a link to code I used and some install instructions for the Pi:
1690.
Apparently NBC does not have rights to sell Apple Amazing Stories show(amazingstoriesmag.com ↗)
2 points · by oblib · 9y ago · 1 comment
comment 9y ago · link · parent
I started out with Perl on the server side back in the `90s and still use it, but I also use Python now and then too and that's probably a better choice now to start with. I never used a Perl "Framework" for building my backends though. I just used perl modules where I could and hand rolled the rest.
I decided not to learn SQL early on and instead used a simple "name=value" flat file database on the server side for years. I don't regret that decision.
A couple years ago I decided to start using CouchDB, a "NoSQL" database, and I've grown really fond of that option. It does things a lot like I did with my simple database so it's been an easy transition for me. There are other "NoSQL" databases you can and should look at and in fact "Google" just announced this past week they're going to offer one (https://cloud.google.com/datastore/).
CouchDB was built specifically for web apps by the Apache Foundation and uses the JSON format to store data so you use Javascript to work with it. This means you can write all your app code in JS and run it on the client side and there's "PouchDB.js" that makes it really easy to store data in the users web browser and sync it with a CouchDB online.
This is (what I consider) a more modern approach to building web apps because the apps can run offline and users can access the app online with any device and use their data. Those are pretty huge features.
But this approach is not widely used yet so there's not a lot of hiring being done for those who have invested in learning it and that's an important point for you to consider.
Now if I had "no experience in programming" this is where I'd start anyway because you need to learn and get the HTML, CSS, and Javascript experience no matter what. You also need to work with user data and it's easier to get started handling the data layer with CouchDB/PouchDB than SQL.
And the truth is, SQL is a career choice all by itself. That's why I never used it in my apps. I stand firm on my opinion that only those who really know SQL should be designing databases for it. That's different that writing CRUD routines for a web app, and you can learn those easy enough to work with SQL, but I'd not be willing to say I know how to design an SQL database unless I really knew how to and learning how to do that right is a career choice.
PHP is another route I never took. It's pretty much tied at the hip with SQL but it's also a butt ugly way to make a web site/app and I wouldn't go anywhere near it now because there are better ways to do that (and PHP should die sooner than later).
So, here's what I am using:
Server:
Apache Web Server
CouchDB Database Server
Perl/CGI
Client: PouchDB.js (database routines)
Moustache.js (simple template engine)
JQuery.js (UI)
Bootstrap (UI)
That's a "Stack".The reason I use that is because it's "easy". Once you've got a handle on the basics of HTML/CSS/Javascript you can get stuff done.
You might want to use React.js instead of JQuery. It's probably a better choice for you just starting out. I use JQuery because I'm productive with it and too lazy to want to learn React right now, and Bootstrap uses JQuery too (so it's loaded in the client anyway) and Bootstrap works too good and is too easy to not use. Learning to use Bootstrap is a no-brainer right now.
Here's a "Todo App" I made with those tools: https://cherrypc.com/todo/index.html
You should also go to http://todomvc.com and play around with what they've got there. You'll learn a lot fast by doing that. I spent a couple months (of my spare time) doing that before I chose the toolset I use now.
The reason I chose that toolset instead of one of those frameworks at TodoMVC is I couldn't decide which of those was "best". I strained for a couple weeks over that and then it occurred to me to maybe look for what was "easiest" instead and that really changed my perspective.
Hope all that helps you some, and good luck!
comment 9y ago · link · parent
While I was working on those it was the only vehicle in the world a quad could drive.
To put it into perspective, most of them came to us knowing they could not pick up a sandwich and take a bite by themselves, and we were telling them they could open the doors, operate the lift, get inside and securely seated next to the controls, and drive a big Ford Van safely away wherever they wanted to go all by themselves.
And they all did, and that was always cool to see.
It's much more common now to see someone in a wheelchair driving a car but it's still not common to see a quad driving. Shortly after I stopped working with the company that made those vans they went out of business.
They'd gotten bought out by an "investment firm" who didn't value the small crew that had been building them since the company had started and we all decided to stop building them.
I'd mostly subcontracted work from them and just went back to building custom cars full time and the rest of the crew just stopped taking orders from the government and insurance agencies that paid for the vans. They finished up what was on the line and did some maintenance work for clients that had them while the new "CEO" sat upstairs smoking cigars in his office for about 4-5 months without ever realizing the crew was shutting the business down.
By the time he realized it the company didn't have any money in the bank, the inventory on the shelves was gone, there were no vans in the eight slots we had set up to build them, and he owed the crew a month's salary. They all agreed to take the tools and machines and whatever else was owned by the company as compensation and started their own business, all as equal partners.
That was pretty cool too.
comment 9y ago · link · parent
When I was done I couldn't really decide what was best and after straining over that for a few weeks I finally decided to look at what was "easiest" (for me) instead.
That allowed me to look at it an entirely new way. That was a question that I could answer.
I ended up choosing PouchDB/jQuery/Bootstrap.
Those tools provide an amazing feature rich set of APIs that work together seamlessly and all have great community support. From there I can look for smaller libraries of code that focus on a specific task and drop them in too.
Once I got started with them I was amazed at how productive I was. It's easy (for me) to get things done using those tools.
comment 9y ago · link · parent
From there I bought my first new computer, a Mac PowerPC 6100, then and 8500, then a used G3 and G4, and now I have late `09 Mac Mini that I bought new on sale just before they released then next model of those. I've upgraded it with an SSD and 8GB of Ram and it's still a great little computer. Best I've ever owned.
comment 9y ago · link · parent
She's 54 years old now and hasn't changed much since her first "breakdown" in her early 20s. I think it's safe to say she never will. Her's was triggered by postpartum syndrome after we had a child that died shortly after birth. It was a terrible thing to witness. It happened over the course of about two weeks and got to the point where it was an obvious safety issue for our year old daughter so I had to have her "committed".
She spent time in various psyche wards in the Los Angeles area, including the County Hospital. I visited her there many times and I can attest that it was always an adventure.
She was never a threat to me or anyone else but she's committed petty crimes on occasion while living on the streets. She's bounced around between halfway houses and the streets and brief stays in psyche wards and local jails since. I left California when our daughter was 3-1/2 years old. Over the years since when she's been doing good our daughter has visited her for a few weeks at a time and got to know her and that side of her family, so for us it's not been near so hard as could have been.
Getting our daughter away from that chaos was a deliberate decision on my part. I didn't want her constantly wrapped up in that. I've helped her mother out many times over the years and never turned down her requests for help, but there's been years go by in between when we didn't hear from her and often when we did she contacted me to ask for money and didn't want to get back into any sort of program.
She has a brother who's set her with an apartment and paid all her bills and gave her a comfortable allowance over the past ten or more years and she's decided to head back to the streets and disappeared a few times still. Last we heard she was doing a short stint in jail somewhere out there.
When she's doing good she's really quite brilliant, and when she heads out to the streets she's as determined to be there as one could be and there is no stopping her.
I don't see how it would do any good to lock her up. Not her or society as a whole.
It's true, she hasn't stayed long in any public housing or program, but that doesn't mean it shouldn't be there and available when she's needing it or willing to try and work at normalizing. I know for sure it's helped her many times.
comment 9y ago · link · parent
I did recently see a video of two guys biking on trail in Orange County (I think) and it was lined on each side for miles with tents and makeshift shacks. I never saw anything like that when I lived there. It was impressive.
comment 9y ago · link · parent
I think I made the very 1st one of those and I'm working on an upgrade now. lol.
A few areas come to mind that are obvious, like food, shelter, income, energy.
There's a lot of work being done on growing food for personal and community use with controlled systems but there looks (to me) like there's plenty of room for improvement and innovation there still.
From what I've read recently inexpensive, durable, and accurate soil moisture sensors are needed. It looks like a "Pick one feature" situation there right now. I've been pondering that a bit lately.
I've seen some interesting innovation in how weeds are managed in large scale agriculture that include using organic "grit" to "sandblast" weeds with remote controlled mechanically articulated nozzles using image recognition software to direct the blast. This eliminates the need for herbicides so it attempts to solve a very pressing issue.
I recently saw a robotic "weed whacker" on a social funding site that got a lot of attention, but the prototype they showed didn't inspire confidence in me that it'd do much.
Pest control is another obvious pressing problem in agriculture, as is efficient use of water.
I'm currently designing a simple experiment to grow salad veggies outdoors in the winter using low hoop row covers and passive solar heating.
Growing food closer to where it's consumed has the potential to greatly reduce costs, environmental impact, and hunger, and it looks to me like there's a lot of headroom there for improvement.
comment 9y ago · link · parent
"I have relatives who are dentists."
And that obviously influences your take on this issue. I didn't insult or demean your relatives, I just don't have good reason to believe they're "special" because they're dentists.
"The very word "mechanic" conjures up images of incompetent lying men who will rip you off and ruin your car."
"Changing oil takes five seconds to learn."
That is exactly the kind of arrogance I'm calling out here. The truth is, pulling a tooth takes about that long to learn too, and the tools used aren't that much different.
Don't believe me?
Come on over and I'll pop one of your teeth out in about 5 seconds without ever going to school to learn how and I'll use the same tool to change the oil on my lawn mower ten seconds later.
comment 9y ago · link · parent
Not everyone who gets through school gets high marks, and of those that get high marks not all of them are necessarily inclined to be good with the tools they use.
I've known of some pretty awful dentists who tended to do as much damage to their patients as they did repairs. I have no reason to believe they'd be any better at making burgers or anything else they attempted to do.
And it takes arrogance to believe that a degree makes you superior to those who don't have one. The truth is it takes longer to become proficient in some skilled labor trades than it does to become a dentist, and it take more actual skills to do the work.
I've never met a dentist who could tear down a small block Chevy engine and rebuild it. Not one. I've never even met one that could change the oil on one, but I've known kids who learned how before they were 12 years old.
Finally, some of the most brilliant people in history, some of the greatest engineers, designers, and inventors, are people who spent very little time in school and none at all in any kind of higher education.
If you think everyone who's making your burgers is less intelligent, less capable, less creative, than yourself you are an arrogant fool.
comment 9y ago · link · parent
I need quiet, solitude, and no interruptions at work, and a good nights sleep before it.
I don't know how people can code with music playing or people talking and coming in and out of the work space. I can't hear myself think with that around me and it bugs the hell out of me.
I code in spurts. If I'm focused I won't stop and I'll keep coding until I'm exhausted and get a shit ton of work done, and then I need time off.
When I'm tired and "burnt out" I can't code squat. I just sit there and stare and can't really follow and track logic and if I try to write something it's garbage and will break stuff and I'm better off not mucking with anything at all.
As far as tools go, I've been using BBEdit the entire time. I use it for JS, Perl, HTML, CSS, Python, plain old text and most everything else I might code. I use it more than any other app I have.
I still use "Fetch" for the Mac to transfer files. It works for me.
I use a few Raspberry Pi computers connected to my LAN and configured similar to my production servers for development and to keep working when I lose my internet connection. Where I live, in a rural area, that happens quite a bit.
I have a collection of disk images for the Pi that I use to prototype stuff on and experiment with. I can hack on those and break them or copy them and go from there or start over again on something else with a fresh install in just a few minutes.
The Pi has become one of my favorite tools. I can emulate the internet in my office on my desk and work on building a server dedicated to a specific task and then mimic the install on a production quality VPS. I even have a disk setup to use as portable PC on trips now and don't bring a laptop anymore. I bring a small bag of adaptors for monitors and a tiny wireless keyboard with a touchpad and that's it. Everything important is on a microSD that's easy to remove and conceal and replace.
comment 9y ago · link · parent
HTML,CSS, and Javascript separate the layers of a web app fairly nicely.
It's all free for the learning and using and even distributing, and it comes with a huge community to lean on for support where many, if not most, of any questions you might have are already answered.
Those parts work pretty well and have a huge user and developer base. You don't just toss that out and tell everyone they need to start over. To even imagine that you first have to ignore the real value of it, which is truly immense. So much so that in reality you cannot ignore it so whatever you do has to be compatible with it, or at least accommodate it.
I have to admit this leaves me curious about what "Part 2" will offer.
comment 9y ago · link · parent
My wife has recently been complaining that her iPhone 6 is getting slow and has with everyone she had before it.
I will give Apple credit for not obsoleting my `09 Mac Mini as fast as they did every Mac I purchased before it, but it's definitely on that path now because it won't run their latest OS.
Not sure if I'll buy a new one. The "Mini" is the only thing they have that I'd consider and if they don't keep one in the $500 range I'll build a Linux box and use it going forward from here.