Readit News logoReadit News
Tobani commented on Ask HN: Is building a calm, non-gamified learning app a mistake?    · Posted by u/hussein-khalil
Tobani · 3 months ago
I used https://learn.mangolanguages.com/ to get to something like ~b1/b2 in French after a year. I did a lesson or two every day, and did all of the review, pretty much much every day.

I spent 8 years in jr high - college studying German without having any real competency in German, it did however teach me something about learning another language.

Mango isn't gamified. Its basically a curated set of flashcards, and the lessons are essentially flashcards themed together. There are some extra explainers throw in that are helpful. I really enjoyed it.

On top of Mango as the primary lessons, I've been listening to podcasts, watching series in french, reading books, etc.

I didn't pay anything for mango, it was entirely funded by my local library so that was great.

Tobani commented on Self-taught engineers often outperform (2024)   michaelbastos.com/blog/wh... · Posted by u/mbastos
Loudergood · 8 months ago
Self-taught is a double edged sword.

It generally can't occur without some level of passion for the material. But you also tend to miss the boring details.

Tobani · 8 months ago
I did full CS / Software Engineering curriculum. There was a lot that I taught myself because I was curious / passionate. I learned a lot about things not covered in classes. But the classes also taught the boring details of things like data structures that you can generally ignore until you hit some level of scale/success.

I've seen self-taught software engineers build great looking UIs and during the code review point out things like "data structure X" would work better. I get a response about "Premature Optimization," when in fact the right data structure would be less code and I have to show them.

I've also met self-taught engineers who read detailed research papers on topics on and sometimes made things perhaps more complicated than they ever needed to be.

passion & formal education definitely play interesting roles in what people produce.

Tobani commented on Why JPEGs still rule the web (2024)   spectrum.ieee.org/jpeg-im... · Posted by u/purpleko
no_wizard · 9 months ago
EDIT: I was wrong, and had PNG and JPEG formats backward. As others correctly pointed out PNG is lossless where as JPEG is lossy. PNG is better for marketing / UI / artistic imagery and JPEG for photographs due to the tolerance for JPEGs lossy encoding with photographs, seems to be the generally accepted opinion now.

Regardless, since the picture tag[0] was introduced I’ve used that for most image media by default with relevant fallbacks, with WebP as default. Also allows loading relevant sized images based on media query which is a nice bonus

[0]: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...

Tobani · 9 months ago
They're different beasts.

JPEGS are great for photographs, where lossy compression is acceptable.

PNGs can have transparency and lossless compression, so they're great for things like rasterized vector graphics, UI-element parts of a web page, etc.

Tobani commented on Sync Engines Are the Future   instantdb.com/essays/sync... · Posted by u/GarethX
Nextgrid · a year ago
You can model external system interactions with tables representing "mailboxes" - so for example if a DB stored procedure needs to call a third-party API to create a resource, it writes a row in the "outbox" table for that API, then application-level code picks that up, makes the API call, parses the response (extracts the required fields) and stores it in an "inbox" table so now the database has access to the response (and a trigger can run the remainder of the business process upon insertion of that row).
Tobani · a year ago
Yes, but then you've removed parent comments' assertion that everything should be done by the RDBMS. And you've changed the contract of the action.
Tobani commented on Sync Engines Are the Future   instantdb.com/essays/sync... · Posted by u/GarethX
joeeverjk · a year ago
If sync really is the future, do you think devs will finally stop pretending local-first apps are some niche thing and start building around sync as the core instead of the afterthought? Or are we doomed to another decade of shitty conflict resolution hacks?
Tobani · a year ago
I think this makes sense for applications applications that are just managing data maybe? But if your application needs to do things when you change that data (like call to a third party system)... Syncing is maybe not the solution. What happens when the total dataset is large, do you need to download 6gb of data every time you log in? Now you've blown up the quota on local storage. How do you make sure the appropriate data is downloaded or enough data? How do you prioritize the data you need NOW instead of waiting for that last byte of the 6gb to download?

It is like a useful tool, but not the only future.

Tobani commented on Sync Engines Are the Future   instantdb.com/essays/sync... · Posted by u/GarethX
tonsky · a year ago
If you think of an existing database, like Postgres, sure. It’s not very convenient.

What I am saying is, in a perfect world, database and server will be the one and run code _and_ data at the same time. There’s really no good reason why they are separated, and it causes a lot of inconveniences right now.

Tobani · a year ago
Sure in an ideal world we don't need to worry about resources and everything is easy. There are very good reason why they are separated now. There have been systems like 4th dimension and K that combine them for decades. They're great for systems of a certain size. They do struggle once their workload is heavy enough, and seem to struggle to scale out. Being able to update my application without updating the storage engine reduces the risk. Having standardized backup solutions for my RDBMS means is a whole level of effort I don't have to worry about. Data storage can even be optimized without my application having to be updated.
Tobani commented on Sync Engines Are the Future   instantdb.com/essays/sync... · Posted by u/GarethX
TeMPOraL · a year ago
> Should I write this logic in the DB itself ?

Yes?

If it sounds impractical, it's because the whole industry got used to not learning databases beyond most basic SQL, and doing everything by hand in application code itself. But given how much of code in most applications is just ad-hoc reimplementation of databases, and then how much of the business logic is tied to data and not application-specific things, I can't help but wonder - maybe a better way would be to treat RDBMS as an application framework and have application itself be a thin UI layer on top?

On paper it definitely sounds like grouping concerns better.

Tobani · a year ago
In very simple systems that makes sense. But as soon as your validation requires talking to a third party, or you have side effects like sending emails you have to suddenly move all that logic back out. You end up with system that isn't very easy to iterate on.
Tobani commented on DOGE has 'god mode' access to government data   theatlantic.com/technolog... · Posted by u/perihelions
FigurativeVoid · a year ago
A second thought. It leads to lazy application development. Whenever you have production intervention that happens more than a few times, you should just make a feature that does it safely via application code.
Tobani · a year ago
I've definitely worked in places where "Move fast and break things" tended to focus on breaking things. There would be bugs that we didn't fix because "We can just fix the database when it happens." It would take 2hours to fix a bug that would cause of 10's of hours of weekly support request, but the focus would always be on building new features, of which 10% got any real usage.
Tobani commented on Forget Psychedelics. Everyone's Microdosing Ozempic Now   hollywoodreporter.com/lif... · Posted by u/adrian_mrd
ddtaylor · a year ago
It is a weight loss drug primarily. There are other effects observed and it seems to be something people are experimenting with. I'm not fully convinced this drug is fully understood.
Tobani · a year ago
That may be true, but this isn't exactly a new drug overall. It has been available as a diabetes treatment since about 2005. So we should have some longer-term data on the topic.
Tobani commented on Forget Psychedelics. Everyone's Microdosing Ozempic Now   hollywoodreporter.com/lif... · Posted by u/adrian_mrd
pjc50 · a year ago
There's a lot of stuff in there that sounds like pseudoscience. Insulin-resistant brain? Are you sure?
Tobani · a year ago
The article is from thehollywoodreporter, so it is expected to not go into great detail. There is real research around these lines and links between Alzheimers and insulin resistance. I'm not in the field to really be able to vet, but it seems more than pseudoscience. Here is some more research on the topic: https://pmc.ncbi.nlm.nih.gov/articles/PMC2769828/

u/Tobani

KarmaCake day326November 30, 2011View Original