HNHacker News
TopNewBestAskShowJobs

mbivert

382 karma · joined June 6, 2023

https://mbivert.com/
submissionscomments
mbivert··on Role of Deliberate Practice in the Development of Creativity (2014)
> the role of diverse experiences and cross-pollination of ideas

Add to this: giving room for ideas to grow: the more you wait, the more diverse and numerous the life experiences, all of them having the potential to shape those uncrystallized ideas.

mbivert··on Raft: Understandable Distributed Consensus (2014)
I'd be curious to know as well; I'd bet on things pertaining to either compilers (e.g. optimization stuff), concurrency/OSes, graphics engines & image processing.
mbivert··on Raft: Understandable Distributed Consensus (2014)
In case this is of interest, MIT's 6.5840[0], distributed systems, has a series of labs, implementing Raft in Go. Haven't made it through the whole thing yet, but it's quite entertaining so far.

The teachers provide you with some code templates, a bunch of tests, and a progressive way to implement it all.

[0]: https://pdos.csail.mit.edu/6.824/index.html

mbivert··on Small3dlib: Public domain 3D software rasterizer
He also likes "trolling" and "Flat Earth"; this all might still be second degree, however distasteful. I mean, "I am physically the most disgusting form of existence that ever lived", seriously.

If so, then people reacting so strongly — even negatively — would play into his hands. Hence the old age saying, "thou shall not feed the troll". He might even get one of those "very generous one time donation" thanks to all that attention.

mbivert··on The centrality of stupidity in mathematics
> [...] my Rebbe was the geologist of the soul. You see, there are so many treasures in the earth. There is gold, there is silver, and there are diamonds. But if you don’t know where to dig, you’ll find only dirt and rocks and mud. The Rebbe can tell you where to dig, and what to dig for, but the digging you must do yourself.
mbivert··on Techniques I use to create a great user experience for shell scripts
Ah! I misread the parent, if thought he meant `if command` to look for a random command (e.g. `if grep`)
mbivert··on Techniques I use to create a great user experience for shell scripts
The form you propose runs `command`, which may have undesired side-effects. I always thought `which` to be standard, but TIL `command` (sh builtin) is[0].

[0]: https://hynek.me/til/which-not-posix/

mbivert··on Why is language documentation still so terrible?
For bare C, man pages or opengroup.org (e.g. [0]) are often quite nice. Linux's (GNU's really) man pages can be sometimes noisy though.

[0]: https://pubs.opengroup.org/onlinepubs/9799919799/functions/o...

mbivert··on Can LLMs Generate Novel Research Ideas?
Alright.

I'm trying to come up with other examples, but as the parent said, it then depends how pedantic we want to be e.g. take Poincaré's spacetime, but he'd still be working from two pre-existing ideas, "space" and "time"; the idea of combining the two is (feels?) quite novel and unexpected.

Going back some more, the notion of "space" (or that of "time") feels more primitive, less explainable in terms of other notions.

mbivert··on Can LLMs Generate Novel Research Ideas?
https://en.wikipedia.org/wiki/Mass%E2%80%93energy_equivalenc...

> Mass–energy equivalence states that all objects having mass, or massive objects, have a corresponding intrinsic energy, even when they are stationary. In the rest frame of an object, where by definition it is motionless and so has no momentum, the mass and energy are equal or they differ only by a constant factor, the speed of light squared (c²).

mbivert··on How to Compose Math Problems
> When I was a young student (around 12), my math teacher came-up with an unique requirement for his students to not only solve math problems but also to compose them.

I think this is highly underestimated: there seems to be some sort of a duality between learning & teaching, where you can't really practice one efficiently without the other.

This has been observed in part by guys like Feynman[0]; paraphrasing: "learn a topic by teaching/simulating teaching it to a child", which in addition to the above, demands for the topic to be explained in simple terms.

[0]: https://fs.blog/feynman-technique/

mbivert··on What's functional programming all about? (2017)
When you execute a function in a mainstream languages, the arguments are usually evaluated first, then the function is called with the result of that evaluation.

E.g. the following in JS will always print the confirm message. But in a lazy language like Haskell, as the x parameter is never used, it'll never be printed.

  (function(x) { return "bar"; })(confirm("foo"));
This can help with implementing things like infinite streams (e.g. iterate[0] in Haskell), which may be a pleasant patterns to solve some problems sometimes. On this example alone, I wouldn't qualify it as highly relevant for day-to-day work, but there may be more interesting use cases I'm not familiar with (I'd guess there might be interesting side-effects in concurrent settings).

[0]: https://hackage.haskell.org/package/base-4.20.0.1/docs/Prelu...

mbivert··on What's functional programming all about? (2017)
I believe that a good definition of the "core" functional programming is: it's a practical way of using the λ-calculus. Similarly, imperative programming is a practical way of using Turing machines.

It's always somewhat possible to express what are typically considered imperative features in a functional fashion (e.g. monad), or bend imperative languages to behave somewhat like functional ones: I think the differences become clearer once we reach out for the underlying theoretical models.

mbivert··on Parsing Awk Is Tricky
Yup, but defining that subset isn't free! Perhaps some people did the work already, but I'd still be cautious as to how much Perl one actually need to know to use those comfortably.
mbivert··on Parsing Awk Is Tricky
> What's the advantage of learning AWK over Perl?

Getting awk in your head (fully) takes about an afternoon: reading the (small and exhaustive) man page, going through a few examples, trying to build a few toys with it. Perl requires much, much more effort.

Great gain/investment ratio.

mbivert··on The 4-chan Go programmer
> I can't for the life of me make sense of why you'd do it.

Over-engineering is a common cause: simple solutions can be deceitfully difficult to find. That being said, additional indirection layers are usually justified by the overall architecture, and — assuming they're reasonable — can't always be appreciated locally.

  « I'm always delighted by the light touch and stillness of early programming languages. Not much text; a lot gets done. Old programs read like quiet conversations between a well-spoken research worker and a well-studied mechanical colleague, not as a debate with a compiler. Who'd have guessed sophistication bought such noise? » (Dick Gabriel)
mbivert··on The 4-chan Go programmer
Probably similar to the concurrent chat server from gopl[0] then. The pattern is a bit surprising at first, still fairly readable.

[0]: https://github.com/adonovan/gopl.io/blob/master/ch8/chat/cha...

mbivert··on We have reached OpenBSD of Theseus
vim/nvim are still heavy beasts.

Here's a recent example which made me laugh: 2 months ago, a "shortcut" for reverse search was implemented in acme[0], a 30 years old text-editor. It's not even qualified as a "feature" yet, rather, as an "experiment"[1].

Every little decision is carefully weighted; every square inch of the software is carefully and precisely designed. Japanese wooden planes are similarly designed: they don't look like much, especially in comparison with more modern, shinier tools, but they're surprisingly well-thought.

[0]: https://en.wikipedia.org/wiki/Acme_(text_editor)

[1]: https://github.com/9fans/plan9port/commit/0c79c32675e83ff3d8...

mbivert··on We have reached OpenBSD of Theseus
> If you assume willingness to learn CVS is in line with being able to provide valuable contributions.

This, but also: "can you make an effort to conform yourself to others instead of forcing others to conform to you;" Inexperienced people often lack the visibility of their elders, so it really makes sense to see whether they can lower their ego.

> Some fresh out of school smart people might consider it a thing of the past. And just decide not to deal with it. Like COBOL.

Are you using "smart" positively or not? Being smart is often frowned upon in SE. Then, driving smart people away still is a good thing.

If you meant positively... considering things of the past to be useless by mere virtue of being of the past, is definitely not a positive character trait, so we'd have a contradiction.

Side note, but the problem with COBOL is not that it's old; to quote wikipedia:

> COBOL has been criticized for its verbosity, design process, and poor support for structured programming. These weaknesses result in monolithic programs that are hard to comprehend as a whole, despite their local readability.

mbivert··on We have reached OpenBSD of Theseus
> I assume you could have just as modern and featureful experience with cvs as with git

There are strong mindset differences between various software communities; it might takes a little bit of time & effort to appreciate a more frugal/conservative approach to software engineering.

The previous links highlighted some aspects of those mindset differences. [0], while unrelated to OpenBSD, is another good illustration.

That's to say, OpenBSD people probably don't care much for a more featureful experience: it won't make them more productive, even if it may look like it would from the outset.

[0]: https://rachelbythebay.com/w/2011/09/24/editor/

mbivert··on We have reached OpenBSD of Theseus
> But might discourage some fresh blood from joining.

That's probably more of a feature than a bug: it acts as a "natural" filter.

mbivert··on We have reached OpenBSD of Theseus
[0] offers a few insights: license, habits, history, why change something that works, etc. You might also be interested in[1].

[0]: https://cvs.afresh1.com/~andrew/o/why-cvs.html

[1]: https://gameoftrees.org/index.html

mbivert··on Renderings Created with Only a Pencil
Interesting, I'm in Europe; Maghrebis I know tend to look down upon our local Muslims, so it might explain a few things. I might also be biased.
mbivert··on ShadPS4 – PlayStation 4 emulator
If you want to learn, I guess look for something well-documented and comparatively simple, like an old Game Boy emulator
mbivert··on Renderings Created with Only a Pencil
Perhaps "feasting" wasn't the right word: I would bet Ramadan was originally a time of rest, calm and reflection, and not about eating excessively all nights for a month.

Prophets usually encourage good measure, balance, not that kind of excessive behavior.

mbivert··on Renderings Created with Only a Pencil
> This market was already dominated by Fiver and free stock photos / icon packs / etc

Let's add to this the use of digital art, which drastically reduced production costs (can't resist: [0]). I wonder however, if, in the long run, AI won't end up boosting traditional arts, and encourage higher creativity and skills from human artists.

> Islam in Europe is growing

In numbers definitely, but I was thinking in terms of "spiritual intensity".

Consider e.g. how Muslims feast during Ramadan at night: I doubt this is remotely aligned with the original intents. Same thing goes for other groups: hateful Christian despite Jesus's "Love Thy Neighbor", Jews celebrating murder despite Hashem's command, etc.

[0]: https://www.youtube.com/watch?v=uTL2FtcQO1k

mbivert··on Renderings Created with Only a Pencil
I believe AI to merely affects art but superficially: by that I mean that it lower the cost of creation so drastically, that what it creates is essentially worthless. It can be pretty and enjoyable, but it's, at least for now, immaterial, and too dirt cheap to produce to bear any sensible intrinsic value.

Industry jobs might be somewhat at risks, as businesses tend to optimize for profits, but even there, I'd wait and see what happens in the long run.

> I wonder how people will view the effects on art and sciences in 200 years.

Hopefully we would have had a Renaissance 2.0 since then!

Were Islam to keep on growing (I do personally think it's more on the decline), I think we could expect interesting outcomes, artistically speaking, as Muslims visual arts, because they tend to shy away from figuration, are somewhat orthogonal to Western's forms.

> Today, many people view both AI's effect on art and the rise of Islam in Europe very negatively.

Islam has always been culturally foreign to Europe, and the current economical & social situation have a bunch of weird, highly chaotic side-effects.

Most of the Muslims I've met were generous, heartwarming and thoughtful, perhaps more than the average person. I know it's not systematically true either, but I still have little reason to not have an essentially positive view of them.

I've also met people who told me (literally) that 99% Muslims were bloody awful, by sole virtue of being Muslims: the same reasoning we had a few decades ago, when Jews were targeted for sole virtue of being Jews, not because of their individual acts.

mbivert··on Renderings Created with Only a Pencil
> A quick argument: video is a stream of photographs. Do you think that movies can never capture reality as an artist would ;-)

I meant, limited from an artistic point of view! But it's indeed a fantastic tool, and the ability to carry one in the pocket at all time is quite a blessing, even for artists! It also offers plenty of otherwise hard to reach possibilities: filming blooming flowers, microscopy, etc.

mbivert··on Renderings Created with Only a Pencil
Google around for "hyperrealism", the techniques are well-documented.

You can see in a few pictures the existence of a grid. It was originally used to transfer/scale drawings, but is also used as a substitute for untrained eyes who would struggle to get fair proportion otherwise.

Then the rendering itself relies on pencils that are sharpened quite thinly: the thin lead will be less sensible to the paper grain, and provide a smoother result. If you want more texture, used a duller lead. An even softer texture, use a brush or a stomp.

Generally, you'll want to draw quite big, so as to have enough room to articulate the details.

Finally, the key difficulty, "trick" even, for hyperrealism, and for fine-arts in general, is patience: good results are often produced with plenty of time.

mbivert··on Renderings Created with Only a Pencil
> The world of art was completely transformed by the introduction of photography in the 19th century, because the capturing of lifelike scenes was no longer part of the goal, and we entered an era dominated by the artist’s imagination.

That's a common viewpoint, but it's not quite true, for multiple reasons. A camera is a rather limited tool: it will transform colors, sometimes unpleasantly (value compression, color shifts), and can never quite capture reality as an artist would.

Then, while many paintings look lifelike, they still are absolutely out of reach of a camera. Landscapes in particular (e.g. [0]) are heavily staged: the light is invented, trees and mountains are moved around to fit various æsthetical choices, etc.

Or, consider how Bouguereau's, while life-like from a distance, are much less so from up-close (see [1]): the artist is among others playing with transparency and opacity of the paint to increase the feeling on depth and realism.

Art changed drastically during the 19th century, and photography played a role for sure, but IMO the decline of religion is probably a greater contributor.

[0]: https://en.wikipedia.org/wiki/File:Albert_Bierstadt_-_Among_...

[1]: https://www.muddycolors.com/2023/02/bouguereaus-the-oreads-a...

← PreviousPage 3 of 8Next →