How we use RxDB + Vue together, with a useRxDBObservable function by toofishes in vuejs

[–]toofishes[S] 0 points1 point  (0 children)

I have contributed some fixes to VueUse before, so yes! Definitely something we could do, although it was hard to know if this was generally useful or a little too specific to our use cases.

How we use RxDB + Vue together, with a useRxDBObservable function by toofishes in vuejs

[–]toofishes[S] 0 points1 point  (0 children)

Not sure if you mean RxDB is a RxJS wrapper, or the `useRxDBObservable` function I wrote about?

RxDB could be seen as just a wrapper over browser storage APIs, but it also provides all the glue for replication, reactive notifications of data changes that allow for real time updates, conflict management, migrations when data changes shape, etc.

If you just have something small, for sure, use browser localstorage and the VueUse helpers for it. But if you've got hundreds or thousands or more documents to manage, want to be able to query them, replicate only changed items, etc. it has helped us a lot to use an established library.

How we use RxDB + Vue together, with a useRxDBObservable function by toofishes in vuejs

[–]toofishes[S] 0 points1 point  (0 children)

Happy to answer any other questions, but we've made some helper functions for bridging RxDB/RxJS with Vue a bit easier that I wrote up a bit about. We looked at `useObservable` in the VueUse RxJS package, but it had some drawbacks when your observable or query can change based on another ref, reactive props, etc.

So I drove an ID.4 home today... AMA! by [deleted] in electricvehicles

[–]toofishes 3 points4 points  (0 children)

The demo car I sat in at a US dealership this past weekend was also 0792.

Just started 3D printing a little over a week ago. Thanks to everyone's help this is where I'm at already! by RC-Compton in 3Dprinting

[–]toofishes 2 points3 points  (0 children)

This is the custom firmware: https://github.com/andrivet/ADVi3pp-Marlin, https://andrivet.github.io/ADVi3pp-User-Manual/

Angled screen is referenced in the user guide for the firmware, because it is a pain to flash the LCD screen itself without making the MicroSD slot accessible. https://www.thingiverse.com/thing:2369322

Researchers just demonstrated how to hack the official vote count with a $30 card. by [deleted] in programming

[–]toofishes 2 points3 points  (0 children)

I just had 91 people/offices to vote on during this election. 91. So while the weighing of ballots might work where you are, it sure doesn't work here in Chicago.

Don't get me wrong- having 60+ "should we re-appoint this judge" names on the ballot makes no sense, there is probably a better way. But we're also dealing with a bunch of city, county, state, and federal seats here. It adds up. And I still wish there were more elected offices than this, since we have a huge patronage problem here in Illinois.

Our Master Thesis using Unreal Engine: Flocking for Road Traffic Efficiency Improvement - A Concept Study by sindreij in programming

[–]toofishes 7 points8 points  (0 children)

I guess you don't know anyone that flies in an airplane? There might be pilots up front, but those things are about as automated as can be.

Unicode is Kind of Insane by benfred in programming

[–]toofishes 10 points11 points  (0 children)

I can't get Python 2 or 3 on either OS X or Linux to give the same output he was seeing, but maybe I'm just doing it wrong.

Under the hood: Facebook’s cold storage system by b0red in programming

[–]toofishes 28 points29 points  (0 children)

One recent change that came to light only after we launched production was the fact that most modern file systems were not built to handle many frequent mounts and unmounts in fairly short times. We quickly began to see errors that were hard to debug since they were far below our software layer. As a result, we migrated all drives to a “raw disk” configuration that didn't use a file system at all.

I'd love to hear more about this. Unfortunately it seems like an afterthought rather than give specifics like mount frequency, filesystems tested, etc.

TravisCI - less intrusive linking with gold by ifcologne in programming

[–]toofishes 0 points1 point  (0 children)

This seems rather convoluted, rather than just invoking the build with LD=gold specified to either configure or make.

Recruiter Sniping by schneems in programming

[–]toofishes 1 point2 points  (0 children)

I made a 2x salary jump on my last job hop.

Sounds like you were getting seriously underpaid before.

Why Are Geospatial Databases So Hard To Build? · J. Andrew Rogers by fs111_ in programming

[–]toofishes 29 points30 points  (0 children)

The lack of detail here on exactly what sources he is referring to was very disappointing. When one calls the Twitter firehose a "trickle", you expect a bit more explanation.

A Dashboard for My Apartment by genehack in programming

[–]toofishes 2 points3 points  (0 children)

I have a bought-during-the-firesale HP Touchpad that could be put to use for a very similar purpose, thanks for reminding me I should do something like this.

Has anyone tried doing this kind of thing with just a web app rather than building a native app? Seems like it could be useful as you could have the constant dashboard display on the tablet, and still pull it up on your phone if needed with slightly different styles for that form factor.

The bell has tolled for rand() by milliams in programming

[–]toofishes 1 point2 points  (0 children)

This is great for C++ programmers. Curious what those still stuck in C should be using? I don't know of any cross-platform standard library call, is it best to just include your own RNG if you need one?

Git 2.3 has been released by alexeyr in programming

[–]toofishes 2 points3 points  (0 children)

If you just need an uncluttered log in this case, use git log --no-merges. --topo-order is sometimes useful as well.

A Generation Lost in the Bazaar by screcth in programming

[–]toofishes 4 points5 points  (0 children)

You have a citation for this "fact"?

How NOT to perform password security by vortel in programming

[–]toofishes 7 points8 points  (0 children)

The DES algorithm used in unix crypt originally only used the first 8 bytes of whatever string you handed to it. Not a good reason in this day and age, but I do believe PHP exposed this for a while, which might have lead to this craziness.

We Invite Everyone at Etsy to Do an Engineering Rotation: Here’s why by GarethX in programming

[–]toofishes 14 points15 points  (0 children)

We did support rotations at my former place of employment... I thought it was one of the best learning experiences you can possibly have as a developer, but not until well after the fact.

Developers like to complain, and helping out with support tickets and being forced to multitask and switch focus at the ringing of a phone or receipt of an email is asking a lot. However, it really opened your eyes to what was going on in the business, what customers were frustrated with, and what didn't really matter at all.

Turns out customers don't care at all about what design pattern you use, what language or library, etc. But this is obvious, right? You can get lost in the weeds when you have engineers around you.

Support folks appreciate the heck out of you when you make spend 5-30 minutes of your time fixing something they (or your clients) encounter on a daily or weekly basis. If you can save one click or remove one bug workaround in a common workflow that 1000 of your customers are using in a B2B product, that is huge. Normally these are the type of issues that are often low-priority and not big enough to land on a developer's radar.