HNHacker News
TopNewBestAskShowJobs

gilcot

82 karma · joined February 22, 2022

submissionscomments
gilcot··on I designed my own keyboard layout. Was it worth it?
Many things to point out here:

- Diacritics, for example in German, make writing and reading easier than English and you cannot have ghoti[1]

- Diacritics, is an easy way to avoid di-grams and tri-grams: English has "sh", Czech has "š" (it's not a decoration, it has a true meaning)

- ASCII seems to make a nice team with English because it's an American creation. Should English had some accents that ASCII would have included them, like dollar sign (this is an "S" with a stroke…)[2]

- Languages that could go with out vowels are those where words forms have no ambiguity. In English, "bt" for example is ambiguous because there's "bit", "bat", "but", "boat", etc.

So you are just having a ethnocentric point of view, that's human.

[1] https://en.wikipedia.org/wiki/Ghoti

[2] https://en.wikipedia.org/wiki/Dollar_sign

gilcot··on Calculus Made Easy by Silvanus P. Thompson (1910)
Epub3 (not previous versions) does support MathML. The main concern is that most e-readers are not as capable as main browsers we use. Very few e-readers have good support of Epub3 features, and maths rendering is limited when available.

For codes, `pre` tag should be enough, stylesheet just adding some enlightenment. What I'm pointing is that many source code are more than 80 columns wide and that often make you scroll like with PDF. Physical readers are best for content that use aspect-ratio of pocket paper books and as far I can remember coding paper books are more (at least twice) wider and may even suffer that problem (they're often hacks I dislike to split lines.)

To short, Epub per se is not the limiting factor. Vendors must update their hard and soft (even then, things will improve only when everybody has upgraded.) Authors also must take more care to technical contents for that media (some of them convert formulas and codes to image, oooch…)

gilcot··on Who invented file extensions in file names?
As unixes user, I tend to use `.j2.html` where j2 stands for Jinja2 her.
gilcot··on Who invented file extensions in file names?
The poorly written clone was QDOS (for quick and dirty)
gilcot··on Confusing Git Terminology
It won because it was used by Linux kernel first and second because gave it an interface to ease things. https://stackoverflow.blog/2023/01/09/beyond-git-the-other-v...
gilcot··on Confusing Git Terminology
Alternatives like: fossil[1], mercurial[2], pijul[3], veracity[4].

[1] https://www.fossil-scm.org/home/doc/trunk/www/fossil-v-git.w...

[2] https://www.mercurial-scm.org/

[3] https://stackoverflow.blog/2023/05/23/for-those-who-just-don...

[4] http://veracity-scm.com/

gilcot··on Two hackers one keyboard two ways
What about using a split keyboard like those from: Kinesis[1], ZSA Moonlander[2] or ErgoDox[3] or Voyager[4], etc. Or full key keyboard with split design like seen at: Logitec[5], Microsoft and others[6].

[1] https://kinesis-ergo.com/keyboards/advantage360/

[2] https://www.zsa.io/moonlander/

[3] https://ergodox-ez.com/

[4] https://www.zsa.io/voyager/

[5] https://www.logitech.com/en-us/products/keyboards/k860-split...

[6] https://www.popularmechanics.com/technology/gadgets/g3935770...

gilcot··on Calculus Made Easy by Silvanus P. Thompson (1910)
I think that what previous poster is pointing is that technical documents as epub are often difficult where they're no textual contents. Images may be the easiest case. Things are a bit more clunky when code source are involved and it's weird with complex formulas.
gilcot··on Lean4 helped Terence Tao discover a small bug in his recent paper
Ada/SPARK is already popular in safety critical systems
gilcot··on Ensō: write now, edit later
With vim, one can go from single setting[1] to something more complex[2] or use one of the available plugins (e.g. typewriter-vim[3] or vim-goyo[4] or vim-focus[5] or Lite-DFM[6] or zen-mode[7] etc.)

[1] https://superuser.com/a/368275

[2] https://vitalyparnas.com/guides/vim-typewriter-mode/

[3] https://github.com/logico/typewriter-vim

[4] https://github.com/junegunn/goyo.vim

[5] https://github.com/merlinrebrovic/focus.vim

[6] https://github.com/bilalq/lite-dfm

[7] https://github.com/folke/zen-mode.nvim

gilcot··on Ensō: write now, edit later
…or correction fluid (like Tipp-Ex)
gilcot··on Organizing multiple Git identities
Also learning the power of includeIf

At home (I mean a personal box I for personal project and some other public contributions), my directory structure is like:

    ~/sources/forge/organisation/project
where `sources` has the same meaning as your `/home/user/projects` ; and your example will end up here to

    ~/sources/github.com/victorb/neat-project
The structure used has some great influence on solution adopted I think :)
gilcot··on Writerside – a new technical writing environment from JetBrains
> If not markdown, what would you suggest?

Not as rich as LaTeX but more powerful than Markdown: .rst and .adoc

gilcot··on Marcel the Shell
Not exactly BASIC per se, there was some CP/M like additions. However, you're right 'cause some of those commands are BASIC extension (e.g. RUN can be used from your programme, LIST maybe, but CATalog/DIRectory or LOAD often not.) Old good time.
gilcot··on Excel will allow certain auto data conversions to be turned off
It's too late, that wrong tool already did much harm. Also read:

- https://www.bbc.com/news/technology-54423988

- https://www.researchgate.net/figure/Screen-shot-of-Microsoft...

- https://theconversation.com/excel-autocorrect-errors-still-p...

- etc.

A problem that's been around for years is finally addressed.

gilcot··on How LSP could have been better
Parenthesis are flying like god's edition… ;D
gilcot··on Email and Git = <3
You were a github consumer.

You are now a git user.

gilcot··on How LSP could have been better
supreme blasphemy. Emacs
gilcot··on My personal C coding style as of late 2023
When I started reading the first section, about his own types, I couldn't help thinking: oh my, sounds like "Hungarian notation"[1] :)

I think those definitions go to a header file. But how different will it be if he use existing types with an abbreviation system? And is this feature available with some IDE?

[1] https://en.wikipedia.org/wiki/Hungarian_notation

gilcot··on Writing code with pencil and paper (2022)
> If someone is finding it easier to write code on paper than in an IDE,

The post isn't about writing code on paper, but about the planing and ideas collection before writing effective code.

> write down the same code on paper than the IDE,

No, pseudo-code and notes and flowcharts aren't the code (maybe the later on some visual language environment.) You're missing the whole point, sorry.

gilcot··on Writing code with pencil and paper (2022)
It's like you and many people didn't read and understand the post.

> but pen is the wrong medium for code.

Pen & Paper is really excellent for many people, maybe not you but it's fine some others. You may use an electronic device (some people are using Remarkable and alikes) or chalk and black board, or MindMapping app; the key idea is to first forethink and analyse the problem before diving into coding.

> your tooling and be writing the same thing you would write on paper, but with autocompletion, error feedback and browsable interactive output.

What kind of tooling do you use for pseudo-code (not a real language, but textual informal prose) with that features?

gilcot··on Richard Stallman reveals he has cancer in the GNU 40 Hacker Meeting talk [video]
What about Lenovo? https://www.phoronix.com/review/thinkpad-p14s-gen4-linux
gilcot··on The Tao of Programming (1987)
Ah ha... :) I wouldn't see division as exact opposite (or symmetrical inverse) of multiplication. Multiplication is both left-distributive and right-distributive, and thus distributive. Unlike multiplication and addition, division is not commutative, neither associative in general.
gilcot··on That's a Lot of YAML
I dunno what it is. After a little search, I think you wanted to point out that games developers lost interest in it and migrated to the smartphone stores?
gilcot··on That's a Lot of YAML
> Obviously when I show you this, it's clear that b is incorrectly indented,

No... 'cause it really depends your data and use case. For me, it's as clear as

      "bad": [
        "a":[
          "b"
        ],
        "c"
      ]
    }
gilcot··on That's a Lot of YAML
metoo
gilcot··on That's a Lot of YAML
Feel like revenge of guy frustrated by kubertes.
gilcot··on That's a Lot of YAML
iPhone didn't replace Flash: the intent was to be be smartphone, not a data distribution format...

iPhone browser, like MacOS browser, drop support for Flash (and most plugins in fact but Flash was the most noticeable.) In the other hand, HTML5 was adopted quickly by Apple. So we can say that HTML5 replaced Flash (not iPhone per se, as it didn't come with a specific replacement first and an alternative was already there second.)

However, I wouldn't say that HTML5 is the drop-in replacement of Flash. It did help to avoid this later on some common use cases with video and audio tags and standardisation of formats (that also kill use of QuickTime/WindowsMedia/RealMedia plugins)

gilcot··on The Tao of Programming (1987)
foo times boo ...means you are adding foo, boo times... see[1]@[2] so it's a kinda shortcut.

[1] https://wikimedia.org/api/rest_v1/media/math/render/svg/e12e... [2] https://en.wikipedia.org/wiki/Multiplication

Similar relation between exponentiation (power) and multiplication... see[3]@[4]

[3] https://wikimedia.org/api/rest_v1/media/math/render/svg/dcb8... [4] https://en.wikipedia.org/wiki/Exponentiation

gilcot··on Coding Guidelines for Prolog (2011)
I've been doing Prolog without knowing there's a coding guidelines. Thanks.
← PreviousPage 2 of 4Next →