The rationale is that it's more terse and has less visual clutter than a DSL over Python, which makes it easier to read and write.
327 karma · joined May 18, 2009
My blog: http://blog.erezsh.com/
My github: https://github.com/erezsh
The rationale is that it's more terse and has less visual clutter than a DSL over Python, which makes it easier to read and write.
SELECT *
FROM employees
LEFT JOIN positions ON employees.id = positions.employee_id
which isn't really that different.The rest are also true to some degree. But I think that once a serious contender comes along, people will eventually move to it.
Metadata as in author, tags, and such, which your app allows to add outside of the actual contents.
I think it's nice to have, and even nicer if I could export/import them. Maybe support something like [this](http://fletcher.github.io/MultiMarkdown-5/metadata.html) or [this](https://peterbabic.dev/blog/yaml-metadata-in-markdown/)
A few nitpicks:
- It would be nice if exports included the metadata as comments
- When I move my cursor over a code block, any key I press that isn't Enter will erase it, when really I just want to enter the code block and start writing. If I wanted to delete it, I could press del/backspace.
I think it could be useful to have several categories of tag
- topics: science, art, politics, etc.
- purpose: news, opinion, explanation, introduction, humor, etc. (for example, anything from producthunt.com is introduction)
- format: text, audio, video
I think it's good to have wide coverage, because it means much better filtering/sorting, both for manual and automatic.
> * Items can be sorted chronologically or with an ML-powered recommender system.
It doesn't seem to be active right now. What is a realistic timeline for that to happen?
Other things I would like to see -
- Auto-tagging (gpt-powered?)and filter by tags
- Voting, for the recommender system, and as another metric of popularity
- Optional social aspect. Follow other users, maybe even add comments. (if I comment on an item from someone else's feed, maybe he can get a notification?)
I'll be happy to share more ideas if you like. Good luck!
If I could make one suggestion, add a way to input text using the keyboard. Yes, I want to practice talking, but the voice-to-text is still far from perfect, and it makes it awkward. It often mishears things, and sometimes thinks I speak other languages that I don't even know! Maybe also add a way to say that "this isn't what I meant to say", and give me the choice of the top 3 highest ranked interpretations.
Also, one feature I think would help a lot, is if the bot was a bit more active, like quiz me, comment on the errors I'm making, and build "lesson plans" so that I can focus on the topics, instead of having to think what questions I should ask.
Having said all that, what you already have is a really great start! I signed up and looking forward to check it again in a month or two.
fn factorial =
| 0 => 1
\ y ~ x + 1 => y * factorial(x)
Instead of | y => y * factorial(y-1)?For both dates and numerics, we format them in a normalized format, and round them to the lowest mutual precision. It gets even more complicated, because when databases reduce the precision of timestamps, some of them round it, and some of them truncate. We implemented both, and we either truncate or round both timestamps, according to which database has the column with the lower precision.
We haven't got to bytes and strings yet, but it's on our list, and I imagine we'll use a similar approach.
For now, we print a warning whenever we don't have special handling for the column type. If you see a value mismatch where it shouldn't be, let us know and we'll implement it next.
That was indeed the main challenge. Each DB has a different syntax, different set of features, different format for timestamps and floats, different max precision, and so on. I'd say most of our work on data-diff went to making sure the behavior of the different DBs aligned with each other.
- data-diff can compare tables across different databases. Your query is limited to one database.
- For very big tables, your 'select' will time-out. data-diff splits the diff into small segments, so we side-step this issue.
- data-diff supports running in threaded mode, which means it can finish a LOT faster. (especially for cloud databases.)
Please submit an issue demonstrating it if you can! I'll do my best to fix it.
I would love to hear more about how it affects cache hits.
It might make sense if you just need a place to crash after a long day of traveling, but it's not a way to live.
Sometimes I will look for that before even looking at the pictures.
(sorry for being negative, but that's how I am)
Also, there is no reason for the operating system UI to ever be stuck. If the program fails to redraw, show it blank, but don't prevent me from moving/sizing it. Even if the CPU is at 100%, I want my commands to get 1st priority. Too many times I had to spam Ctrl+alt+del just waiting for something to respond.
Need to layout your elements? Great, that's what flex is for. I mean grid. I mean float. I mean the position attribute. I mean tables. I mean the margin attribution.
I'm really looking forward to a better integration of Webassembly. Then we can each pick our own libraries for layout/colors/video etc., and writing a browser will be more like writing a VM than writing huge entire ecosystems.