Readit News logoReadit News
hulug commented on Ask HN: Learning Go, what’s the best steps to take to better educate myself    · Posted by u/Tkpain21
hulug · 5 years ago
* the intro

* google + gobyexample

* "the go programming language" by Donovan and Kernighan (haven't read it myself but seen positive reviews)

hulug commented on GNU nano is my editor of choice   ariadne.space/2021/08/13/... · Posted by u/todsacerdoti
sdljfjafsd · 5 years ago
Despite having 7 years of back end experience, I've never learned vim. Is there any other editor that hits these requirement (being able to login to any server to edit text) or does every server engineer need to learn vim?

(I mostly use a mix of sublime, intellij, and vscode to edit text)

hulug · 5 years ago
ed(1)
hulug commented on GNU nano is my editor of choice   ariadne.space/2021/08/13/... · Posted by u/todsacerdoti
ineedasername · 5 years ago
Real developers only use cat >> <file> to edit, and start from scratch if they make a mistake.
hulug · 5 years ago
In Plan 9 the terminal has something called "hold mode" which lets you do multi-line editing in that situation.
hulug commented on Ask HN: Getting Laser Eye Surgery?    · Posted by u/0x737368
hulug · 5 years ago
> For lasik, has anyone known someone who was misfortunate enough for the flap to dislodge and what were the consequences?

No but a relative of a friend went blind in one eye. There used to be a big Facebook group where people shared their negative stories like this, I'm sure you can find similar subreddits/FB groups/whatever. Not everyone goes blind obviously, but some side effects are really, really bad and you can't fix them by simply wearing something like glasses so they're going to stay around forever if you get them. After all, the eyes are probably the most delicate part of the human body.

I'd say it's too risky, possible side effects are much worse than having to wear glasses when you're reading etc. Glasses are just fine.

hulug commented on Ask HN: As a coding teacher in middle / high school, which tools are you using?    · Posted by u/bachmitre
hulug · 5 years ago
As a "coding" teacher I would stop teaching how to "code" and start teaching how to think and solve problems.
hulug commented on Ask HN: Good projects to read a source code    · Posted by u/svalee
hulug · 5 years ago
Plan 9, OpenBSD
hulug commented on French set to replace English as EU’s ‘working language’   independent.co.uk/news/wo... · Posted by u/nomoreplease
mannerheim · 5 years ago
Finnish has no grammatical gender. Is it easier to learn than Spanish?
hulug · 5 years ago
That was just one example but you win I guess. What I had in my mind was for a Spanish speaker it's probably easier to learn a hypothetical Romance language that doesn't have grammatical gender than say French.
hulug commented on French set to replace English as EU’s ‘working language’   independent.co.uk/news/wo... · Posted by u/nomoreplease
gdsdfe · 5 years ago
Yeah for you yes, for others it's synonym with colonialism, and armed invasion.
hulug · 5 years ago
And for me the word "chair" is synonymous with "Mountain Dew", but fortunately it doesn't matter for the rest of the world. A language has nothing to do with some of its speakers.
hulug commented on French set to replace English as EU’s ‘working language’   independent.co.uk/news/wo... · Posted by u/nomoreplease
Avamander · 5 years ago
"Easy-to-learn" is very subjective. There's a lot of different languages spoken in the EU and the accessibility of a language environment matters.
hulug · 5 years ago
> "Easy to learn" is very subjective

Not really. For example, a language that has no grammatical gender is inarguably easier to learn than a one that has.

hulug commented on CodePerfect 95 – A fast IDE for Go   codeperfect95.com... · Posted by u/brhsagain
mananaysiempre · 5 years ago
Because so far noöne has figured out the set of extensibility points needed for a language-agnostic one that doesn’t result in horrible bloat and sprawling API surfaces. The original language-agnostic IDE—Emacs—is probably the simplest, and it’s still quite complex. Acme[2] is interesting, but Spartan when it comes to actual IDE-ish features, and its UI always rubbed me the wrong way.

I feel this is somewhat related to the fact that noöne has figured out how to do extensible widget toolkits or scene graphs either. (Yes, Electron does in fact solve an actual problem, if in a profoundly unsatisfying way.) Actually, just a text input box that could handle the complexities of the world’s writing systems (RTL, complex font shaping, arbitrary input methods, autocorrect, all that with at least one cursor or selection) and was capable of supporting the facts vs rumors approach from FRP[1] would be a significant advancement re toolkits. As for scene graphs, I don’t actually know of any viable general approaches to assembling an interface out of independent parts (that doesn’t work by presupposing a large substrate of features in the host “shell” and providing a separate extension point for each of shortcut, menu item, toolbar button, sidebar, dialog, ...).

Actually, now that I’ve written all of that out, it seems that another way to put my second point is that the language-agnostic IDE problem is a proper superset of the composable GUIs problem, and nobody knows how to solve that one. Composable CLIs are easy—they’re called “[textual] programming”; but then composable GUIs (or TUIs, the graphics/text distinction is immaterial here) would seem to correspond to visual programming, and last I checked the latter still sucked.

[1]: https://apfelmus.nfshost.com/blog/2012/03/29-frp-three-princ... [2]: http://acme.cat-v.org/

hulug · 5 years ago
> Because so far noöne has figured out the set of extensibility points needed for a language-agnostic one that doesn’t result in horrible bloat and sprawling API surfaces.

Rob Pike did. Acme is absurdly simple yet absurdly powerful. Because everything is text and any piece of text is executable. Combined with the plumber[0] it beats every other approach to extensibility that I've seen. You can have any "IDE-ish feature" with a plumber rule. And you don't lose simplicity.

> Emacs is probably the simplest language-agnostic IDE.

No. See above.

[0]: http://doc.cat-v.org/plan_9/4th_edition/papers/plumb and https://9p.io/wiki/plan9/Using_plumbing/index.html (also, Russ Cox has made a great demo video, it's on YouTube)

u/hulug

KarmaCake day14December 29, 2020View Original