Better HN
topnewbestaskshowjobs
Log inSign up

throwamon

901 karma · joined Nov 21, 2020 (6y ago) · 390 submissions

Submissions

comment 4y ago · link · parent

Thanks for the honest reply. Fair enough, I could have "shown more effort", but I didn't want to write more words just to say "I tried but failed to understand pretty much all of it". It's not that I don't know anything about the subject, I just needed to understand what problem the OP was talking about to begin with, then I'd be able to hook it into my current knowledge. Also, by being pointed to a practical application it becomes much easier for me to understand the theory, hence the way I worded it.

mywittyname's reply nails my intention and thought process, and IncRnd's reply perfectly answers my question, so I hope this thread amounted to a positive contribution after all.

comment 4y ago · link · parent

I understood maybe 10% of what the article says. Can someone ELI5?

Or at least answer this question: Can a broke dummy like me make money from their observation and how?

Edit: Thanks for the downvote. I didn't know asking an honest question to better understand a topic (which I'm sure I'm not the only one who's confused about) was against the rules. Or maybe my sense of humor flew over someone's head, who knows.

comment 4y ago · link · parent

Sorry, I can't send screenshots right now, but you can easily find some by googling (yes, they're apps).

There's nothing much to it, it's just collapsible nested lists. And to be clear, I think most people would be weirded out by a blog post that looked like that. I think making the "flat" view the default one but adding a toggle for a hierarchical view would be the ideal UX for me, but I bet this is a very niche preference and it wouldn't be worth it for a larger audience.

comment 4y ago · link · parent

I always assumed it was something like "I got so angry with a certain solution that I gave in and tried this other one".

comment 4y ago · link · parent

How is Julia doing in that regard?

comment 4y ago · link · parent

On accordions, I'm of the opposite opinion... sort of.

I love outliners such as Workflowy and Dynalist. I'd like most textual content to look more like them. It's really great being able to expand/collapse/zoom into entire sections, link from one section to another, etc. You can expand everything with a single command and you should also be able to flatten the tree and read it like a normal page if that's how you like it.

Regular pages with accordions are just a poorer version of this. I'd like it to go all the way in that direction.

comment 4y ago · link · parent

I agree that it's unnecessary and annoying, but it's not always useless. Some maintainers sometimes work on issues for months on end without posting any updates because they'd rather focus on the work itself, and "any updates?" comments may prompt them to talk about the progress so far.

Ideally contributors would be able to opt into automatically blocking some kinds of comments, but of course that would require a perfect "spam filter" system or manual moderation by other volunteers so that the contributor wouldn't be distracted.

comment 4y ago · link · parent

Would you mind expanding on why you regret it?

comment 4y ago · link · parent

Sheesh, why so much hostility? Elixir and Phoenix were created precisely to address Ruby's and Rails' shortcomings, and by noteworthy Rails contributors no less. They're incredibly good (paradigm-shifting even), the community is great, etc. They're also not mainstream yet, so it makes perfect sense to mention them. Just because you're tired of hearing about something it doesn't mean there aren't (lots of) people who have never heard about it. (See https://xkcd.com/1053/)

In fact, if you're tired of hearing about this, you might want to expand your bubble a little bit.

(I have no involvement with them, just a passerby.)

comment 4y ago · link · parent

You may be thinking of Valonia ventricosa (bubble algae), though I believe there are others.

comment 4y ago · link · parent

Sounds very good, but you make it sound like there are no considerable downsides. Why aren't more languages doing it?

comment 4y ago · link · parent

> I wrote a Macro which adds identifiers to your program based on a SQLite database's column names.

Cool! F# has "type providers" which seem to be similar to this. Do you have any experience with them? I haven't used them but this sounds like an extremely powerful idea that more languages should adopt.

comment 4y ago · link · parent

Sorry, I should have worded my comment differently, I didn't mean to sound accusatory or dismissive.

comment 4y ago · link · parent

Isn't part of the issue that you need such a "toolbox"? It not only requires the usual maturity and mental preparation to deal with other people, there's also an entire set of extra complications and "conventions" (?) you (and any of your partners) need to get used to.

comment 4y ago · link · parent

I think it's pretty clear that the point is to detract from normal expected functionality.

comment 4y ago · link · parent

This is not a new idea. siuba (a dplyr-like Pandas alternative) is one project that does it, and it also has a "pipeline operator": https://github.com/machow/siuba

(mtcars >> group_by(_.cyl) >> summarize(avg_hp = _.hp.mean()) )

(Edit: ok, it seems siuba doesn't have the "parameter fixing" thing.)

Related: Coconut - a functional superset of Python - https://github.com/evhub/coconut

range(10) |> map$(pow$(?, 2)) |> list

There were others but I can't remember which now.

comment 4y ago · link · parent

Or use the "I Don't Care About Cookies" extension or uBlock Origin's cookie notice filter list and (almost) never even look at a dialog again.

comment 4y ago · link · parent

That's not "a huge number of packages", that's just the 1500 from the minimal installation. nixpkgs has over 80000. And amusingly enough, Nix itself is one of the (two) non-reproducible packages from the minimal install.

comment 4y ago · link · parent

Last time I did some research on SSGs, I saw lots of complaints about Hugo, including this one by the creator of Zola:

> This tool and the template engine it is using were born from an intense dislike of the (insane) Golang template engine and therefore of Hugo that I was using before for 6+ sites.

Could anyone with experience with this and other solutions weigh in? There are so many of them my head spins when I think about it. I just want something that doesn't make me babysit it (as in, I can write as little code as possible to get a simple static webite) and has the usual things you'd want by default (e.g. image optimization) and is extensible if I do outgrow it and need to add dynamic components.

comment 4y ago · link · parent

Funny you say that, because the installer is about the only thing that is helpful like that. Everything else from there is basically "what do you mean you didn't read the entirety of the official manual, and the deprecated wiki, and the unofficial wiki, and the other wiki, and Discourse, and IRC, and random blog posts, and just learn to read undocumented inconsistent idiosyncratic source code already!?"

They do help you really quick on Matrix though.

comment 4y ago · link · parent

Maybe I just have exceptional cognitive and motor skills issues, but even though I spend pretty much all my time in front of a screen and consider myself to be a power user, I press wrong keys by mistake very often, and I do appreciate (fast) animations for feedback. There definitely should be at the very least a toggle though.

comment 4y ago · link · parent

This may be a good place to ask: Are there any books that are something like "the SICP/HtDP of databases", in the sense of teaching fundamentals in a principled, mind-expanding way? Something that doesn't focus so much on internals, but on how to design and deal with data models and databases.

comment 4y ago · link · parent

It can't be, it says free in the name!

Yes, it's closed source. It's only free as in beer. Their website says: "What's the catch? There is none." It seems they offer this as a free product because they have a paid one with more features.

comment 4y ago · link · parent

Totally agreed. While we're at it, let's make Brainfuck the official POSIX shell language.

comment 4y ago · link · parent

Alright, so here's something stupid I've always wanted to ask: Is there some kind of library/language/paradigm where instead of declaring what data structures you want to use, you declare constraints and expectations and it guesses the "best" one? So even if you're uncertain, you can say "I expect this collection to have about n elements", "this should be sorted", "I expect it to grow in a certain way", and so on (of course you might want to express much more advanced patterns).

comment 4y ago · link · parent

This may indirectly answer your question:

https://www.youtube.com/watch?v=tP-Ipsat90c

TLDW: We don't pick numbers at random. At all. We're so bad at it that you can make money off this fact.

comment 4y ago · link · parent

Or you could just add a custom search keyword directly in your browser...

https://zapier.com/blog/add-search-engine-to-chrome/

https://superuser.com/questions/7327/how-to-add-a-custom-sea...

comment 4y ago · link · parent

If that's the entire problem, then why not make these forums read-only by default (while still keeping them publicly viewable) and hand out invite links as in Discord?

Lobste.rs, for instance, has an interesting "invite tree" concept where your reputation is bound to people you've invited and who they've invited and so on.

comment 4y ago · link · parent

I've been spending the last few days looking into solutions in this space for the umpteenth time and Directus does seem to be one of the most interesting ones. It's basically a non-intrusive, flexible and extensible GUI on top of your DB, plus a REST API generated from it. Another big plus is it's open source.

It actually exists since 2004, so it would be fair to say it's been more than a few years. But they recently switched from PHP to Node.

Other solutions (with varying degrees of similarity) include Strapi, PostgREST, Hasura...

1
678
13