Socialception
I sail the high seas of the Lemmyverse, posting snarky + Lefty comments
Socialception
I don’t know if this comment comes from ignorance or snarkiness but it’s really not the same. Other editors add in hotkeys over time to perform a single function.
Vim key bindings are actually a terse text manipulation language where you can form arbitrary “sentences” like:
ciw
- change the current word, meaning remove it and then enter insert mode
D
- delete until end of line
dt:
- delete everything between the cursor and the next colon on this line
10"ap
Paste the contents of the a
register 10 times
Have you used Firefox recently? There are a few chrome only sites but I’ve been daily driving it for a few months and it’s mostly upside
You’re welcome!
So if you didn’t care about having to wait for the video to buffer on every scroll, it becomes an easier problem. I kind of think that defeats the purpose of a tiktok-style interface though.
I agree that you wouldn’t necessarily need to build a new algorithm, but like I said, it’s part of the smooth scrolling magic
I’m a dev but not very good at mobile.
I can promise you that a lot of engineering work went into making the tiktok scrolling experience so smooth. Part of the trick is having a good enough algorithm that the user wants to watch the majority of served videos.
Another huge part of it is having lightning fast content distribution and aggressive “prefetching” of the next videos in the feed.
I don’t want to discourage you but I also don’t want you to be caught off guard by the difficulty. Do you want to make this bad enough to give it your nights and weekends for a year?
Hans Kristian Graebner (stonetoss) is a literal nazi
ELI5: a database is the “memory” of a program.
Every piece of data that any software uses almost certainly comes from and goes to multiple databases.
Once the data is stored, you can execute “queries” to have powerful access to update many records at a time, read particular records based on their relationship to other records, and so much more.
Your bank balances, your purchase history, your emails, every part of your digital life is almost certainly spread across a constellation of databases.
Bonus Fediverse content:
Lemmy itself uses the Postgres database extensively. Posts, users, comments, votes and more are all individually stored in the database.
Mastodon also uses Postgres. If a post goes up on Lemmy, and a Mastodon server is federated with it, the Lemmy server will send out a HTTP request to the Mastodon server containing the contents of the post. The Mastodon server will use this information to write its own record of the post in its own database.
Regarding your question about VMs: You can run a database inside a VM, or give the VM access to an outside database via queries, or both! You might run SQLlite (a small and excellent embedded database) on the VM to track its local state, while also running queries against a large postgres database to synchronize with other services in the cluster.
Instructions unclear: crash landed on the moon.
Still stressed
I did a little research and the answer is pretty interesting!
Originally, chemists assigned hydrogen a mass number of 1, and used that assumption to derive the masses of the other elements. Today we definine “1” as being 1/12 of the weight of Carbon-12 (which is very close to the average weight of hydrogen we use today)
As to the relative frequencies, they can be different at different points on earth, this Chemistry SE answer goes into a lot more detail.
If you have never done “stoichiometry” before it may not be obvious but the periodic table average weights are essential for going from “I have x grams of substance” to “I have x number of atoms/molecules of substance” and from there you can use the equation of your target reaction to precisely predict the outcome of a chemical process. If you were doing very high precision chemistry, the differences in isotopic ratio in your sample vs the standard values could introduce an error but I would guess most of the time it is insignificant.
The atomic weight shown in the periodic table is what we measure based on the isotopic frequencies prevalent on earth. Different celestial bodies can (and do!) have different isotopic frequencies based on the conditions of their formation
I don’t know for sure but I know their moderation is dogshit. I think they don’t want to face down the deluge of Nazis like we have had to here, they’d rather be a clique-y cool kids clubhouse of Twitter brainrot
Yes.