HNHacker News
TopNewBestAskShowJobs

leaveyou

722 karma · joined March 18, 2014

submissionscomments
leaveyou··on Go's old $GOPATH story for development and dependencies
Thanks for the link. When I started learning Go modules that spec was not available (or it was a lot smaller). After a brief look I feel the Go modules spec is longer and more complex than the (original) Go language spec which is quite ironic :-D. I still like Go although it's sad seeing it straying from the 'one true' path of simplicity.
leaveyou··on Go's old $GOPATH story for development and dependencies
I'm a simple man, I experiment a lot, I create a module locally and bam, straight from the beginning I have to decide where I will host this module and very often I don't want to make it public so I only keep it locally on my machine, but often I need to share my module among my several machines (laptop, mini desktop) but I still don't want to share with github publicly and it's annoying that there is no easy way to do this AFAIK. In a better world I would create a "module" in a folder, give it a symbolic name at most (like 'ShinyModule') and share it in various ways; like I could share the folder using samba, ftp, ftps, sftp, https and in the consuming side, you would just import 'ShinyModule' and have a single file per consuming module which says:

'ShinyModule' https://github.com/shinyAuthor/ShinyModule or

'ShinyModule' ../../ShinyModule or

'ShinyModule' \\something\something\ShinyModule

and if there is no 'download' description for an import, the default should be ..\ShinyModule relative to the current/importing module

leaveyou··on Go's old $GOPATH story for development and dependencies
sorry for the slight off topic but I still don't understand what is the advantage of having the domain hard coded in the name of the module

go mod init example.com/hello

and also hardcoded in all the import statements

import "example.com/hello"

what if you move the code to other domain ? you need to change the module and all the references to it instead of only the references

I find it quite cumbersome/counter intuitive even after all these years.

leaveyou··on eu/acc
Don't play naive.. the laws and regulations are not put in place for that percent of business owners/managers that would not abuse their employees out of principle even when they can, it's for the other ones that do.
leaveyou··on Why South Korean women aren't having babies
sounds like a(nother) society that destroys itself.. fine for me.
leaveyou··on AMD Ryzen Master Utility for Overclocking Control
Does not support AMD Ryzen 7 7735HS with Radeon Graphics :-(
leaveyou··on Loading up on cheap cores with updated Milan Epycs
he still has the 2, so.. the price/perf delta was not good.
leaveyou··on September was the most anomalously hot month ever
What do you think should be the role of the first world ?
leaveyou··on September was the most anomalously hot month ever
The good news is that we can start helping right away, there is no need to wait for these long debates about the role of the first world towards the second and the third. That will take way too long. We can each pick 2 or three persons from the third world and send them money to aquire the means of surviving the coming crisis. How much have you thought donating monthly/yearly? I can put you in touch with people ready to act.
leaveyou··on Greek shipwreck: hi-tech investigation suggests coastguard responsible
sorry for accidentally destroying what this site is for.. please delete my account. thank you
leaveyou··on Greek shipwreck: hi-tech investigation suggests coastguard responsible
It looks like you started doing something indeed .. downvoting and flagging inconvenient opinions. So productive. It really proves your point.
leaveyou··on Greek shipwreck: hi-tech investigation suggests coastguard responsible
Good intentions and high hopes are worth close to 0. IMHO at least one of us is badly disconnected from reality. In my part of the world "we" fail to educate our kids worse than ever, how on earth are "we" gonna educate the rest 3-4 billion people.. "Somebody do something !!!"
leaveyou··on Greek shipwreck: hi-tech investigation suggests coastguard responsible
>>we should do more to address the causes of migration

In my opinion not even God himself (if he exists) can address the causes of migration unless He changes the natural rules overnight. The idea that you and me or even Elon Musk + Bill Gates can actually do something to address the actual causes of migration sounds very naive, horribly naive, and please don't take it as an offense. Lets say for a moment that there is a miracle and "we" fix the poverty and the climate in the world tomorrow. How long do you think will that last ? 20-30 years until the world population doubles again ? What do you do then when this overpopulation combined with the corresponding consumption and pollution brings us back to the current situation ? Will you invite "us" all again to fix everything back ? How are "we" going to fix this situation ? By working each of us overtime or what ?

leaveyou··on Greek shipwreck: hi-tech investigation suggests coastguard responsible
Why ? You feel alone ?
leaveyou··on Apollo backend source code has been published
I'm trying to understand what is this and it seems I'm missing a lot of context. Could someone help me understand what is this and why is important ? Thank you.
leaveyou··on Pure Go Implementation of the Opus Codec
Some of us are hackers.. The README file is quite a good response to your question. Personally I'm thankful to the poster.
leaveyou··on Ask HN: Can you recommend an “instant-switch” Monitor? Does one exist?
iiyama 34" is even worse.. 10-15 seconds delay before seeing the image. One of my worst buys ever.
leaveyou··on Ask HN: What are your “scratch own itch” projects?
In time (20 years) I have accumulated huge amounts of duplicate files, old projects, (sometimes multiple zipped copies and git repositories of the same projects), photos, downloads i should have deleted long ago (like Ubuntu 12.04 ISO, VS installers) mixed with lots of garbage.. I need an app that would hash all this content (>2TB) and index it by hash and help me sort it out and delete the junk. I'm building the hashing and the indexing with golang+SQLite. Then maybe a small .net windows forms app with a treeview
leaveyou··on Russians hit the office and R&D center of Samsung in Kyiv
>>Do you really think they have been killing their own people for years

It's not Russia killing their own people. It's Russia killing some unlucky pawns, whether in staged attacks or by forcibly "mobilizing" all the men they find there and sending them into the meat grinder.

To me Russia seems on a mission to capture as much territory from Ukraine they can and punish and destroy everything they can't capture. To cross the borders, Russia NEEDED a pretext and in order to justify their further destruction they continue to need these pretexts and I think they manufacture them - killing civilians in DNR and LNR. Ukraine does not need pretexts to defend itself nor to recover its legal territories. And yes, I think Putin personally is capable of nuclear false flag if that would enable him to achieve his objectives in Ukraine. He already sacrificed thousands of troops and billions in materials for some lame territorial gains he's not even able to hold. Putin would easily nuke 50k of his men if that would guarantee him Ukraine and remaining in power.

leaveyou··on New study lays out hidden backstory behind deadly Pacific Northwest heat wave
>> converting a single-hose portable A/C into a dual

Could you expand on that ? Did you manage to get an improvement of efficiency ? What model of A/C were you using ? Thanks

leaveyou··on Using the air as a wire – was Nikola Tesla right? [video]
>> He was quite good at math.

I started having doubts in his mathematical skills after seeing this

youtube.com/watch?v=6331JXvOUGY

I suspect he had a very good imagination and intuition and was good at experimenting but unfortunately there are also a lot of myths surrounding him.

leaveyou··on Ask HN: Is anyone else genuinely scared that this is the start of WW3?
They already suggested the unconditional surrender but I doubt that the threat of Grozny treatment will be enough for Ukraine to fold. They need something else. Something more convincing and I can't think of anything. Even if they only have the Grozny threat on the table and they go and act on it, in practice it will make the russian position much worse because Ukraine is not Chechnya, it's in a much better position (I could enumerate the differences but I think they are obvious).
leaveyou··on Go: Don't Change the Libraries in 1.18
When was that ?

IIRC that was the general feeling then but the impression has changed in the mean time ?

leaveyou··on Why Did Key U.S. Officials Protect the Alleged 9/11 Plotters?
Common Trevor..

https://pics.me.me/im-telling-you-the-man-and-the-dog-are-de...

leaveyou··on The Martians of Budapest
And looking at the Hungarian politics and geopolitics it's like you insist on being on a collision course with the majority of your closest neighbors. The odds of anything good coming out of that for Hungary are very slim IMHO.
leaveyou··on In Go, pointers (mostly) don't go with slices in practice
append(ref, 4) // error: first argument to append must be slice

append(*ref, 4) // error: append(*ref, 4) evaluated but not used

this is the correct version and it also removes the incertitude:

*ref = append(*ref, 4)

https://play.golang.org/p/-xDqaxvqWhm

leaveyou··on Arm China Has Gone Rogue
the oldest trick in the book..
leaveyou··on Children of the night: the strange and epic tale of modern Romania
Could you take your fascist propaganda somewhere else please ?

Associating Vlad Tepes and the people above is like associating the indian religions with the nazis just because the nazis picked the swastika as their symbol.

It may seem interesting to you but it brings nothing but noise to the discussion.

leaveyou··on Children of the night: the strange and epic tale of modern Romania
seriously, what are you talking about ? and even if it was true, what does one have to do with another ?
leaveyou··on Drowning Doesn’t Look Like Drowning (2013)
Ok, I understand.. it seems I had milder versions of cramps. The one I remember the most was when I basically had to grab the toes of my foot and pull hard counter to the cramping muscle and basically it ceased after several seconds. It was very painful but I didn't know they can be paralyzing.
Page 1 of 13Next →