Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
38
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
541.
▲
by
38
3y ago
> dst=site/$f:r.html Colon is not a portable character for a file name.
542.
▲
by
38
3y ago
aw, missing 9 Lazy 9 - 5AM: https://youtube.com/watch?v=dH3bNyM6C5Y does have Taeko Onuki - 4:00 A.M. though: https://youtube.com/watch?v=_sOKkON_UnQ
543.
▲
by
38
3y ago
another good one thats even smaller: https://github.com/piranha/gostatic
544.
▲
by
38
3y ago
> It violates freedom 0 of FSD! yes, I understand that. the "noncommercial" in the license URL is a pretty big sign that "any purpose" is not allowed. > The problem with that is that a lot of non-profit organizatio
545.
▲
by
38
3y ago
all previous versions still have the open source license, so people can fork if they find it so distasteful. > only I can profit from this no, thats not true. nothing is stopping anyone from buying a commercial license from me, and then
546.
▲
by
38
3y ago
> with my little paddy gross.
547.
▲
by
38
3y ago
I have switched a couple of my more popular projects from OSL: https://opensource.org/license/osl-3-0-php to non commercial: https://polyformproject.org/licenses/noncommercial/1.0.0 people al
548.
▲
by
38
3y ago
your example is not valid Go code: syntax error: unexpected ], expected type argument list and its also just poor style in general. "any" is already a pointer, so you would rarely design a pointer to any. example: https:/&#x
549.
▲
by
38
3y ago
I agree with the GP. "if let" is just such a weird contruct that it doesn't feel justified to be in the language. it just screams of over engineering. now "let else" is cool.
550.
▲
by
38
3y ago
here is an implementation in Go for fun: package rfc6920 import ( "crypto/sha256" "encoding/base64" ) func rfc6920(s string) string { sum := sha256.Sum256([]byte
551.
▲
by
38
3y ago
to anyone considering Zig, note that its coming along pretty nicely, but still has some big missing parts. for example currently only TLS 1.3 is implemented, which means that HTTPS requests are going to fail with many servers: https:/
552.
▲
by
38
3y ago
please don't write an entire article with even saying what the initial stands for: Key Performance Indicators
553.
▲
by
38
3y ago
> improves security, and performance > reduction in performance huh?
554.
▲
by
38
3y ago
> cut -d' ' -f 1 access.log |sort |uniq -c |sort -rn |head FYI Go has Compact now: https://godocs.io/slices#Compact
555.
▲
by
38
3y ago
That's true, I should probably include some measurements too. Oh wait...
556.
▲
by
38
3y ago
> far more feature rich do you know that, or are you just assuming that?
557.
▲
by
38
3y ago
serde is bloated anyway. see for yourself: 146 kB: https://crates.io/crates/serde_json 43 kB: https://crates.io/crates/sj 29 kB: https://crates.io/crates/humphrey_json 7 kB:
558.
▲
by
38
3y ago
serde is bloated anyway. see for yourself: 146 kB: https://crates.io/crates/serde_json 43 kB: https://crates.io/crates/sj 29 kB: https://crates.io/crates/humphrey_json 7 kB:
559.
▲
by
38
3y ago
> In order to avoid all those excessive functions and 'silly' constants, Go needs to support const and variadic generics like C++ does. oh yes, lets look to C++ as a shining example. lets please not ruin another language by bol
560.
▲
by
38
3y ago
it has no error handling. also look at the API, what a joke: https://godocs.io/github.com/IBM/fp-go/function and check out the "constants": https://godocs.io/github.com/IBM/
561.
▲
by
38
3y ago
Non crap link http://farside.link/twitter.com/mikko/status/169250324959558...
562.
▲
by
38
3y ago
thanks for the ad hominem. did you have anything constructive to add?
563.
▲
by
38
3y ago
oh my, its horrible: client := H.MakeClient(HTTP.DefaultClient) readSinglePost := H.ReadJson[PostItem](client) readSingleCatFact := H.ReadJson[CatFact](client) data := F.Pipe3( T.MakeTuple2("https:/&#x
564.
▲
by
38
3y ago
the suggestion is terrible, full stop. it would be akin to someone standing outside a movie theater yelling at people because they should be spending their time fighting world hunger. sure, they might be right, but its kind of missing the p
565.
▲
by
38
3y ago
Req.get!("https://hex.pm/api/packages/req").body["meta"]["description"] wow. coming from Go I have to say I do not like this. no error checking at all (I assume it just panics
566.
▲
by
38
3y ago
if you know the info I might be able to get it
567.
▲
by
38
3y ago
using "free and open" is going to evoke the idea of FOSS. so you either: 1. did that intentionally, intending to trick people into thinking UbiCloud is FOSS 2. did it unintentionally, somehow missing the obvious connection that pe
568.
▲
by
38
3y ago
normally I give "open source" comments like this the label they deserve, which is "troll". however in this case it seems justified: > You may not move, change, disable, or circumvent the license key functionality in t
569.
▲
by
38
3y ago
thanks for the valuable contribution to the conversation.
570.
▲
by
38
3y ago
the response Andrew Lunn seems reasonable. the Linux kernel is 30 years old. its pretty big already. do you have any idea the monster it would look like, if they just said "yes" to everything? I want people like Andrew and Greg lo
More ›