News for hackers. Stuff that matters.

hulug

* the intro

* google + gobyexample

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

Re:GNU nano is my editor of choice on Friday August 13, 2021 @10:27PM (#28177275)
ed(1)
Re:GNU nano is my editor of choice on Friday August 13, 2021 @10:21PM (#28177245)
In Plan 9 the terminal has something called "hold mode" which lets you do multi-line editing in that situation.
Re:Ask HN: Getting Laser Eye Surgery? on Thursday June 10, 2021 @08:09AM (#27459704)
> 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.

As a "coding" teacher I would stop teaching how to "code" and start teaching how to think and solve problems.
Re:Ask HN: Good projects to read a source code on Wednesday June 09, 2021 @08:36PM (#27455320)
Plan 9, OpenBSD
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.
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.
> "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.

Re:CodePerfect 95 – A fast IDE for Go on Monday June 07, 2021 @08:28PM (#27429182)
> 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)

Re:CodePerfect 95 – A fast IDE for Go on Monday June 07, 2021 @07:14PM (#27428568)
Not to be a prick but I doubt Go users will like this, they tend to prefer simple things to more complex things. Maybe retargeting this for Java/C++ users would be better.

Jokes (not really) aside, why does an IDE need to be designed for a language anyway?

(Please take this with a grain of salt, seriously)

Launch as soon as you can. If you've built the MVP by yourself or with the team you've already got, don't look for funding to turn it into a more 'solid' product and just launch right now. If your product clearly solves a real problem that real people have, you shouldn't feel lost, I mean eliminating pain in people's lives is great. Also go talk to people who might be your potential users.

I'm no POW fan, but validating transactions is one of the most "useful" things to do.
Patreon?
Re:Ask HN: New APIs to Build on Top Of? on Thursday May 06, 2021 @05:18PM (#27069172)
X11 is a crime against humanity.
Re:Ask HN: What’s the Next Big Thing? on Wednesday May 05, 2021 @04:31AM (#27047526)
Can you elaborate on that a bit?