Better HN
topnewbestaskshowjobs
Log inSign up

leaveyou

722 karma · joined Mar 18, 2014 (12y ago) · 415 submissions

Submissions

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

sounds like a(nother) society that destroys itself.. fine for me.

comment 2y ago · link · parent

Does not support AMD Ryzen 7 7735HS with Radeon Graphics :-(

comment 3y ago · link · parent

he still has the 2, so.. the price/perf delta was not good.

comment 3y ago · link · parent

What do you think should be the role of the first world ?

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

sorry for accidentally destroying what this site is for.. please delete my account. thank you

comment 3y ago · link · parent

It looks like you started doing something indeed .. downvoting and flagging inconvenient opinions. So productive. It really proves your point.

comment 3y ago · link · parent

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 !!!"

comment 3y ago · link · parent

>>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 ?

comment 3y ago · link · parent

Why ? You feel alone ?

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

Some of us are hackers.. The README file is quite a good response to your question. Personally I'm thankful to the poster.

comment 3y ago · link · parent

iiyama 34" is even worse.. 10-15 seconds delay before seeing the image. One of my worst buys ever.

comment 4y ago · link · parent

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

comment 4y ago · link · parent

>>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.

comment 4y ago · link · parent

>> 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

comment 4y ago · link · parent

>> 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.

comment 4y ago · link · parent

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).

comment 5y ago · link · parent

When was that ?

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

comment 5y ago · link · parent

Common Trevor..

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

comment 5y ago · link · parent

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.
12345
14