Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hknmtt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
181.
▲
by
hknmtt
4y ago
rust is the sloth from goonies.
182.
▲
by
hknmtt
4y ago
i tried to write my own map tile renderer, in go, for one airbnb-like project where using the google maps or any other provider would cost me an arm and a leg and after experiencing the tag system in OSM i'd rather cut said arm and sai
183.
▲
by
hknmtt
4y ago
there is no way a person, a single person, an unauthorized person, can have access into such system/functionality like this. utter BS.
184.
▲
by
hknmtt
4y ago
YES, I hate these things with vigour!
185.
▲
by
hknmtt
4y ago
there is nothing wrong with asking if provided object is more capable than it seems so we can perform more efficient logic on it. that has nothing to do with magic methods, numbers... no magic whatsoever. "magic" in code refers to
186.
▲
by
hknmtt
4y ago
When i was was apartment hunting in barcelona 7+ years ago and failed straight for weeks to get a single reply on idealista, and went to the real estate agencies and found they had siestas, still, in barcelona, i quit the country. good to v
187.
▲
by
hknmtt
4y ago
They don't own it fully but are early investors. And I am not talking about musk and thiel, who also invested(you can even read it on wiki).
188.
▲
by
hknmtt
4y ago
61$/m for 1vCPU and 8GB ram? Try Hetzner next time, on bare metal, for cheaper.
189.
▲
by
hknmtt
4y ago
i would because ** REST for API but i am already too used to write my APIs in protocol buffers so even though I have abandoned gRPC I still use PB and so I need rest-ish approach.
190.
▲
by
hknmtt
4y ago
I am building a platform for digital content creators.
191.
▲
by
hknmtt
4y ago
I have been using ULID(github.com/oklog/ulid) for years. Cannot imagine going back to AI uint64 ever again.
192.
▲
by
hknmtt
4y ago
China does not recognize patent law, therefore they could not have stole anything. I am all for recognition of one's discovery but the patent law in "the west" went too far and is more a retarder rather than accelerator of pr
193.
▲
by
hknmtt
4y ago
Fear comes from the unknown - that you will be exposed as fraud by the audience. So if you know your stuff, the topic of your talk, inside and out, you will be confident in what you say and therefore the way you present it. Second thing is
194.
▲
by
hknmtt
4y ago
Since i first stumbled upon Quasar(built on vue 3) last year, i have never looked back. It is all that I ever wanted and could never find. And with pinia instead of vuex it's all even simpler. Vue isn't going anywhere and neither
195.
▲
by
hknmtt
4y ago
programming language developers always made compilers to just do that - compile the code. without actually checking the code for problems and allowed programmers to write faulty code. and now we have accepted these memory leaks and shooting
196.
▲
by
hknmtt
4y ago
great to see Go doing more than just web backends and networking.
197.
▲
by
hknmtt
4y ago
cloud is great for startups when you have no idea about your infra needs. once you figure it out you should move to bare metal. but the honeypot nature of cloud is the comfort and ease of use. people get comfortable and decide to not bother
198.
▲
by
hknmtt
4y ago
WE ALREADY HAVE CELLOPHANE
199.
▲
by
hknmtt
4y ago
"The pair was arrested on November 3, 2022 in Cordoba, Argentina at the request of the United States" ...
200.
▲
by
hknmtt
4y ago
I work with go for years but never used a fw. At the beginning when i came from php, i looked for fw because that was how things were done. But once i let go of that idea and started making things by hand i never looked back. Go really does
201.
▲
by
hknmtt
4y ago
Yep, sumerian cuneiform is ahead of me. Still have some books i want to read before that but i am certainly interested in reading the old text myself.
202.
▲
by
hknmtt
4y ago
oh boy, worst offender is material design. it looked horrible when it came out and still looks horrible years after. and so many examples of it out in the wild :(
203.
▲
by
hknmtt
4y ago
i don't see any issue here. same behavior can be achieved with slices: foo := make([]int, 0, 1000) for { for k := range bar { foo = append(foo, k) } foo = foo[:0] } the slice will grow as much as the largest dataset. map will
204.
▲
by
hknmtt
4y ago
this is good info. i was thinking about making my own, before i discovered picotorrent. but the lack of ui libraries for go prevented me from moving forward. nowadays, with nuts and others, it might be worth a shot.
205.
▲
by
hknmtt
4y ago
you can always panic/recover to get the throw/catch behavior
206.
▲
Ask HN: Buld a server for live video encoding
2 points
by
hknmtt
4y ago
|
3 comments
207.
▲
by
hknmtt
4y ago
i use this a lot if error.Is(err, sql.ErrNoRow) { return status.Error(codes.NotFound, "foo does not exist") } srv.log.Err(err).Msg("failed to load foo") return status.Error(codes.InternalError, "") True, that
208.
▲
by
hknmtt
4y ago
the thing you want to make requires ZERO money.
209.
▲
by
hknmtt
4y ago
i have noticed a lot of bs attached to anunnaki when i wanted to research more on this. a bunch of ufo, lizard-people... crap. i am interested in facts, not fiction.
210.
▲
by
hknmtt
4y ago
I have read almost all of Zecharia Sitchin works on Anunnaki, the ancient astronauts, this year. Still have couple of books to go. I read the 12th planet when in elementary school a long time ago and always wanted to read more on this. So I
More ›