Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
38
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
601.
▲
by
38
3y ago
I use this to block it: ###credential_picker_container
602.
▲
by
38
3y ago
> privacy tools > blog.google LOL
603.
▲
by
38
3y ago
I don't think they know what the word build means. No builds are on that page, and even the GitHub links are just to the source.
604.
▲
by
38
3y ago
only getting 69 MB/s with my crappy Go code: package hex import ( "bytes" "encoding/hex" "testing" ) func Benchmark_Hex(b *testing.B) { src := b
605.
▲
by
38
3y ago
non crap link: http://farside.link/twitter.com/andercot/status/168774039669...
606.
▲
by
38
3y ago
Non crap link http://farside.link/twitter.com/hankgreen/status/16875355251...
607.
▲
by
38
3y ago
after many years, I learned that usually shell scripts are only good for the most basic of uses. here is a similar program in Go that doesn't require any hacks: package main import "os" func main() {
608.
▲
by
38
3y ago
since your formatting is weird, here is the direct link to the stack exchange question: https://webapps.stackexchange.com/questions/135222
609.
▲
by
38
3y ago
non crappy link: http://farside.link/twitter.com/zebulgar/status/168649851722...
610.
▲
by
38
3y ago
note if all you care about is capturing the web requests, you can use something like MITM Proxy: https://github.com/mitmproxy/mitmproxy
611.
▲
by
38
3y ago
if it helps I have my rules here: https://github.com/1268/blog/blob/main/2023-08/ublock-origin...
612.
▲
by
38
3y ago
yep. people seem to forget that the whole API key is a recent invention. for many years you could just access many APIs anonymously. this should still be possible. if abuse is an issue, all they need to do is set rate limits for anonymous a
613.
▲
by
38
3y ago
site dead: > curl -v https://tux.pizza * Could not resolve host: tux.pizza * Closing connection 0 curl: (6) Could not resolve host: tux.pizza
614.
▲
by
38
3y ago
> creating a commit is harmless. I mean it's certainly not an ideal solution, but at the end of the day it solves the problem at hand. youre making my arguments for me here. youre essentially saying the library is so poorly designed
615.
▲
by
38
3y ago
> You can get an object.Tree of any commit hash from a Repository with its TreeObject() method. OK, but I am not dealing with a commit, as mentioned in the issue and my previous comment, I am dealing with THE INDEX and working directory,
616.
▲
by
38
3y ago
> If I understand your issue correctly, it's `git diff --cached` that you're specifically looking for, not just `git diff` in general? incorrect. I am simply looking for a normal "git diff", which compares the index w
617.
▲
by
38
3y ago
not really. its littered with interfaces, in some cases many levels deep, which in Go is an anti pattern. original author clearly came from Java or some other deeply OOP language. also: > super-specific use-case uh, "git diff"
618.
▲
by
38
3y ago
yes and yes :)
619.
▲
by
38
3y ago
> It is a module. > It does not offer itself up as a library. in Go code, those are the same thing.
620.
▲
by
38
3y ago
agreed. when I see people talking about LOC my eyes roll. its verbose for a reason, the language designers WANT YOU to pay attention to the errors, not ignore them.
621.
▲
by
38
3y ago
> it itself does not offer itself up as a library yeah, it does: https://godocs.io/github.com/git-lfs/git-lfs/v3
622.
▲
by
38
3y ago
I have been wanting something like this, but with a few more features such as "git diff". I took a crack at it, but the popular (and maybe only) Go Git implementation has some issues: https://github.com/go-git/
623.
▲
by
38
3y ago
https://support.github.com/contact/report-abuse?category=rep...
624.
▲
by
38
3y ago
its closed source...
625.
▲
by
38
3y ago
AKA they are 100% using telemetry.
626.
▲
by
38
3y ago
thanks for the valuable comment. I realize now that my 1,800 answers mean nothing, and that the only important thing is my comment etiquette. I will try to do better, random stranger.
627.
▲
by
38
3y ago
> Closed, duplicate of "How to do C". ouch. as a former user of 10 years, I felt that. so true.
628.
▲
by
38
3y ago
Stack Overflow banned my character with 100,000 reputation: https://stackoverflow.com/users/1002260 for FIVE YEARS, because of a rollback war on some of my own answers. some idiot was gaming the system and adding minor
629.
▲
by
38
3y ago
https://www.xcorp.com
630.
▲
by
38
3y ago
I dont know what the hell Twitter is doing, but I simply dont use it anymore. I cannot access this page without logging in: https://twitter.com/SarahKSilverman I check it ONCE per day, thats it. and for weeks every time it
More ›