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.
HN user
leaveyou
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
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.
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.
sounds like a(nother) society that destroys itself.. fine for me.
Does not support AMD Ryzen 7 7735HS with Radeon Graphics :-(
he still has the 2, so.. the price/perf delta was not good.
What do you think should be the role of the first world ?
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.
sorry for accidentally destroying what this site is for.. please delete my account. thank you
It looks like you started doing something indeed .. downvoting and flagging inconvenient opinions. So productive. It really proves your point.
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 !!!"
>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 ?
Why ? You feel alone ?
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.
Some of us are hackers.. The README file is quite a good response to your question. Personally I'm thankful to the poster.
iiyama 34" is even worse.. 10-15 seconds delay before seeing the image. One of my worst buys ever.
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
>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.
> 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
> 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.
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).
When was that ?
IIRC that was the general feeling then but the impression has changed in the mean time ?
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.
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)
the oldest trick in the book..
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.
seriously, what are you talking about ? and even if it was true, what does one have to do with another ?
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.