SMRT Systems | FullStack or Backend Engineer | Hybrid | Full-time | Malmö, Sweden
We create software and hardware solutions for the dry cleaning and textile industry. This includes a cloud-based Point of Sale, mobile apps and machines for automated logistics.
Our customers range from small single store dry cleaners, to larger operations servicing a multitude of consumers or a number of hospitals and hotels. Known as the innovators in this industry, join us in our mission to create the digital dry-cleaning experience of the future.
We are profitable and experiencing significant organic growth, without external capital.
While my app isn't resolved using DYN, we are relying on APIs on our EC2 backend that use their DNS. Is there a Linux DNS caching server that will serve from a local cache primarily, and do lookups in the background instead to update the local cache? During the period DYN was down, it would've continued severing from the local cache and retried the background lookups, keeping my app up. I can also see it improving performance as my servers currently do lookups to the EC2 DNS on each http request...
I wonder why they didn't use something like CouchDB for this purpose and instead engineered their own solution? I see the CouchDB replication protocol + conflict detection perfect for their usecase.
I often wonder why CouchDB didn't take off more. It wasn't a panacea but it was clever enough and you could use it in mobile apps. Perhaps the decision of the "host" company to merge with another company and head in the direction of CouchBase made people wary. Or there's some technical reason I'm not aware of. The latter seems more likely.
I am one of the original CouchDB folks, and a cofounder of Couchbase. We have spent the last few years quietly building an enterprise-class suite of Couch sync compatible databases. Everything we do is open source and Apache licensed.
[edit] we've been able to do this, funded by the success of Couchbase Server. Which looks like a high-performance NoSQL database, not an offline mobile database, but it uses many of the same data structures.
Yes, although we have a release of 2.0 coming up, and the PouchDB project is really active. The problems couch can solve (e.g data safety and offline capability) probably aren't considered when initially building a product. Also moving from SQL to CouchDB is quite tedious, although my company just went through that process :)
There are also other models, sharding individual databases per user or some other application logic. There are definitely some use cases we dont handle amazingly right now, but its all heavily being worked on.
What advantages does a meteor+react setup have vs pouchdb+react (synced to couch in backend)?
I would think, with meteor you get the backend rendering (for SEO), and with pouch you get a DB API on the fronted that's available offline.
I would say that the paradigms are a bit different between meteor+react and pouchdb+react. I can't say I am expert in either. I have never used pouchdb, but I am well versed in meteor.
If I understand correctly pouchdb is an in browser implementation of couchdb and some api's which allow the pouchdb to synchronize with a remote, server side couchdb. It is lightweight, allows for easy set up and integration, and really focuses on the database side of things.
Meteor has this same sort of functionality and one could easily say that Meteor and pouchdb could serve nearly the exact same purpose, with the key difference being that Meteor uses mongo as opposed to pouchdb's couchdb. However, Meteor is aiming to be more than an in browser database with remote server synchronization. It also has a robust server side api with many other built in tools and features. I guess I could list out some of them, but I would suggest instead that docs.meteor.com would do a better job at this (I am not trying to say read the docs, I am just saying, they are well laid out and will be more helpful than me!).
I guess I would say pouchdb is a minimalist solution for those who want to synchronize data from client to server and have an offline solution available. Meteor is a complete, and somewhat picky, client/server framework. Their functionality may intersect in some small areas but they both serve very different functional purposes.
Thanks for your thorough response!
I've been following meteor, and there's so much convenience. And it looks like, with GroundDB you can take meteor apps fully offline.
However, PouchDB have been making some serious progress to support complex offline apps with a lot of data, like full support for secondary map/reduce indexes.
Meteor's story for backend rendering is the spiderable package, which works as follows: "When a spider requests an HTML snapshot of a page the Meteor server runs the client half of the application inside phantomjs, a headless browser, and returns the full HTML generated by the client code."
That's not really a good solution for all the obvious reasons. (Speed, resource usage, dependencies.) Plus, by that logic every client-side webapp supports being rendered on the server, so that's not even a meteor-specific advantage.
Conversely, React actually does supports true universal (aka isomorphic) apps; you can pre-render the app on the server using node (without needing a headless browser), ship it to the client, and rehydrate it. (Ember is working on shipping the same functionality under the name FastBoot.) Meteor doesn't have anything like that.
I'm sure meteor+react has some advantages over pouchdb+react, but it's not because of server side rendering. :)
(Well, as far as I know. I haven't been paying much attention to Meteor development, so it's possible the story has changed in the last few months. But last I checked, true server-side rendering was easy with react, but not really possible with meteor.)
Thanks, I had no idea React was building this out.
So in node, you can use the pouchdb API to connect to a full couchdb, allowing you to use the exact same code on the frontend and backend.
Going to try this on my next project!
We went through a SAQ D Service Provider 3.0, and paying for an ASV didn't hurt nearly as much as filling out that 80 page questionnaire... In fact, it reminded us apply some recent CVE's to our system before taking it to production.
We used Comodo HackerGuardian which is $250/y, so you don't have to pay $1000s.
I do have a real tool. Its on ComplianceChimp.com. But its down right now because my TLS Certs expired a couple days ago and I never recorded my Key rotation procedures. I did think about temporarily disabling SSL, specifically for this HN post, but thought against it. We want to do compliance right.
We're fixing the certs now and updating our Key rotation procedures for you all to see in our publicly viewable compliance workbook.
There's only so much I can get done with my dwindling runway =(.
But you're right, that getting Key Rotation Procedures documented is the 1st thing I should have done.
This is good feedback actually because now I know that after scoping the assets in my turbo tax-like tool, the very next thing a person should do is write down their key rotation procedures. Its also easier to write out as a procedure because its such a common yet forgetful practice.
We're putting cycles into this right absolutely now.
Because it's sort of like an old-time telegraph company saying, "Telephones? Hey, let's get in on this by offering a service where we transcribe telephone conversations and send them out to the other party as a telegraph." In other words, totally missing the point.
Do you actually think there is no need for money services with Bitcoin? I think you need to stop for a moment and think about this: what would Bitcoin be worth if there were no Bitcoin exchanges?
Western Union can provide a lot of relevant services: escrow, conversion to obscure currencies (or just general exchange), fraud mitigation, etc.
I'm not trying to diss Western Union here, I'm just explaining why the other guy said that.
But OK, I'll take the bait :).
Yes, Western Union can provide a lot of relevant services, but so can _anybody_, and there are already a number of Bitcoin exchanges.
To assume that Western Union ought to provide Bitcoin services is like assuming that a horse-and-buggy company ought to start making cars. I mean, sure, it might be a really good idea, but cars are a _revolution_ of the horse-and-buggy, not an _evolution_. Likewise, Bitcoin is a revolution compared to traditional money transfer, not an evolution.
Edit: Lol.. not sure why I was downvoted. It is obvious the previous poster meant that bitcoin is over-the-heads of employees of Western Union... this was a play on that.
I agree that "if you have to explain a joke, it isn't funny", but not only was I on-topic for the story -- but also for the specific thread.
The implied point was that the good people at Western Union aren't as dumb as the previous commenter stated, and probably are excited about a (possible) reinvention and embracing of bitcoin.
Forgive me for injecting some levity into an otherwise boring story, but my point was clear and remains valid.
I suppose I should have just called the previous poster a troll and stated "they're probably excited". Oops. I'll be more confrontational next time.
(Also, not on reddit, just would rather attempt to use humor to get a point across. Maybe I watched too much Monty Python as a kid...)
It's not that your point was off-topic or that humor doesn't necessarily belong on HN, but the brand of humor Archer employs is not appropriate for HN, nor is the use of gifs to illustrate your point.
It's possible that they've been undercharging for their service, and as a result have simply run out of cash. With the recent price growth, their buy price sometimes fails to catch up with the current exchanges rates, resulting in losses for them that their fee of 1% does not cover for.
My friends trying Coinbase have raised concerns about the long delays as well, and I have a bitcoin transfer to my personal wallet that's been pending for multiple days. This needs to be resolved quickly to keep Coinbase and Bitcoins reputation.
...their buy price sometimes fails to catch up with the current exchanges rates...
This is an existential flaw in their business. Why don't they just reject transactions at expired prices? (If they wanted to be slightly more evil, they could do this in one direction only.)
I wouldn't characterize the experiences of the customers on this thread as "convenient". If a commodity-trading system works except in cases of 2-sigma volatility, then the system doesn't work.
I'm just responding to metaverse's reasonable hypothesis here. Coinbase ought to diminish speculation by providing information, unless there are legal reasons for them not to do so.
>Or just raise more money hoping that the price of a bitcoin will stabilize in the near future.
Using a business model entirely dependent on the best case scenario would not be wisest play they could make. Even if BTC did stabilize, we now know market prices like this are not guassian but fractal/power-law based. Infrequent but sudden unexpected extreme volatility is a natural characteristic of such systems.
A better idea would be to develop a business model that at least expects that and does not fail when it happens, or at best exploits it.
>This needs to be resolved quickly to keep Coinbase and Bitcoins reputation.
Bitcoin's reputation has survived much worse. Mt.Gox hacking, Bitcoinica hacking, and several others. Bitcoin has intrinsic value independent of the private company infrastructure that springs up around it, no matter the foibles of the latter.
Coinbase's reputation on the other hand, is another matter.
I don't think that exchange rates/fees is it. I've had some purchased coins in my coinbase account for over a month. Tried two days ago to transfer to an external wallet. Still pending. That shouldn't have to go through any cost really to transfer it right?
If they're letting you "lock in" a buy price and then waiting for the incoming funds transfer to settle up, then they must be floating funds somehow, right? It might also explain the whole "we can only sell so many Bitcoins in a 24 hour window" thing.
I'm wondering if this has bitten them really hard during the runup.
We create software and hardware solutions for the dry cleaning and textile industry. This includes a cloud-based Point of Sale, mobile apps and machines for automated logistics.
Our customers range from small single store dry cleaners, to larger operations servicing a multitude of consumers or a number of hospitals and hotels. Known as the innovators in this industry, join us in our mission to create the digital dry-cleaning experience of the future.
We are profitable and experiencing significant organic growth, without external capital.
Company website: https://smrtsystems.com
You can email me directly: johan {@} [our domain above]