Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ainar-g
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
271.
▲
by
ainar-g
6y ago
Every time I read about something like that, I can't help but think about High Theory Of Education in Strugatsky bros' fictional Noon Universe[1][2]. In that universe all children are taught by professional mentors-teachers, one
272.
▲
by
ainar-g
6y ago
Often the POSIX documentation for e.g. utilities is better than some man pages on Ubuntu. Really underrated document.
273.
▲
by
ainar-g
6y ago
On most POSIX systems you can use fc(1) to edit a command in your $EDITOR. In vi(1) and friends you can then use "%!ls" to replace the contents of the buffer with directory listing and edit the commands you want. https:/&#x
274.
▲
by
ainar-g
6y ago
I don't really understand what the point (b) is about. Even if we assume, that portability in and of itself isn't a good thing (which, I think, it is), as far as I know, OpenBSD is very popular in routers and other network-related
275.
▲
by
ainar-g
6y ago
Can you elaborate? I'm asking because I've almost never had any issues with channels.
276.
▲
by
ainar-g
6y ago
You forgot that another common use for Go is command-line utilities. And there the file size can be important.
277.
▲
by
ainar-g
6y ago
What do you mean? Go has been known for its philosophy of “Boring is Good”. Lots of releases these days come with either no changes to the language or some very minor ones.
278.
▲
by
ainar-g
6y ago
Announcement E-Mail: https://groups.google.com/forum/#!topic/golang-announce/Z-cY... . Official blog post: https://blog.golang.org/go1.15 . Some fixes already planned for Go 1.15.1: https:
279.
▲
by
ainar-g
6y ago
That website is updated separately, if I recall correctly. It will probably be updated later today.
280.
▲
Ongoing incident with compromised mod accounts
(reddit.com)
11 points
by
ainar-g
6y ago
|
0 comments
281.
▲
by
ainar-g
6y ago
Yes. The “magic number” seems to be 300 items on my machine. Anything above that will start to seriously freeze the browser.
282.
▲
by
ainar-g
6y ago
> This is fantastic. I never liked the cookies sticking around forever, and managing them manually was a massive pain if you wanted to keep some of them. You might like the CookieAutoDelete plugin[1]. It's a recommended plugin whic
283.
▲
Base 32 (2002)
(crockford.com)
1 points
by
ainar-g
6y ago
|
0 comments
284.
▲
by
ainar-g
6y ago
Iirc, they have been allowing scripting on HTTPS sites by default for some time now.
285.
▲
Design Draft: First Class Fuzzing for Go
(go.googlesource.com)
1 points
by
ainar-g
6y ago
|
0 comments
286.
▲
by
ainar-g
6y ago
Asset embedding draft desgin: https://go.googlesource.com/proposal/+/master/design/draft-e... Reddit Q&As by rsc@: https://redd.it/hv96ny https://redd.it/hv976o
287.
▲
File System Interfaces for Go – Draft Design
(go.googlesource.com)
4 points
by
ainar-g
6y ago
|
1 comments
288.
▲
by
ainar-g
6y ago
Many times on the Internet I've read, that you can't really get security without openness. Both in software and in organisations.
289.
▲
by
ainar-g
6y ago
D uses "()" for type declaration and "!()" for instantiation: template TCopy(T) { void copy(out T to, T from) { to = from; } } /* … */ int i; TCopy!(int).copy(i, 3);
290.
▲
by
ainar-g
6y ago
Bash? It's POSIX: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V... .
291.
▲
by
ainar-g
6y ago
OpenBSD uses Perl actively. https://marc.info/?l=openbsd-misc&m=159041121804486&w=2
292.
▲
Few Things on Generics
(rakyll.org)
2 points
by
ainar-g
6y ago
|
0 comments
293.
▲
by
ainar-g
6y ago
He still commits code and responds to Github issues occasionally, and I think it's safe to assume that he's still participating in the internal discussions about the design. But most decisions about language changes these days ar
294.
▲
by
ainar-g
6y ago
Link to the current draft: https://go.googlesource.com/proposal/+/refs/heads/master/des...
295.
▲
The Next Step for Generics
(blog.golang.org)
673 points
by
ainar-g
6y ago
|
664 comments
296.
▲
Pkg.go.dev Is Open Source
(blog.golang.org)
7 points
by
ainar-g
6y ago
|
0 comments
297.
▲
by
ainar-g
6y ago
While we're on the topic of HN syntax, I really wish they would add proper blockquotes. Quotes in monospace look ugly, especially on mobile, and quotes that simply start with a “>” aren't visually distinct enough, imo. Just
298.
▲
by
ainar-g
6y ago
This is interesting. What techniques are you using? Pimpl? Custom, non-STL containers?
299.
▲
by
ainar-g
6y ago
That's the previous design based on contracts. https://github.com/wenkokke/featherweight-go-gen This one seems to be the new FGG one.
300.
▲
by
ainar-g
6y ago
From the conclusion: Featherweight Go is restricted to a tiny subset of Go. We plan a model of other important features such as assignments, arrays, slices, and packages, which we will dub Bantamweight Go; and a model of Go’s inn
More ›