HackerTrans
トップ新着トレンドコメント過去質問紹介求人

KayEss

no profile record

投稿

AI Assisted Coding

kirit.com
1 ポイント·投稿者 KayEss·4 か月前·0 コメント

Tiny-Classifier.cpp – Our First Tiny Classifier

kirit.com
10 ポイント·投稿者 KayEss·10 か月前·0 コメント

Tiny-Classifier.cpp – Our First Tiny Classifier

kirit.com
2 ポイント·投稿者 KayEss·10 か月前·0 コメント

コメント

KayEss
·11 日前·議論
I have fond memories of bricking my Smalltalk environment several times trying to get instance behaviour working :-)
KayEss
·11 日前·議論
I think this is looking at what OOP has become (as implemented by systems and programming languages that don't care a wit about what OO was meant to be) rather than what Alan Kay described.

If you think about something like a web server as an object, it has arbitrarily high cohesion and arbitrarily low coupling. You can only communicate to it through messages (HTTP); binding happens at the point in time that the message arrives (notwithstanding that this may be cached in all sorts of interesting ways in the implementation of any given server); and the web server is fully encapsulated (security flaws notwithstanding).

I think it's perfectly reasonable to argue that much of what gets called OOP doesn't deliver on the promise, but then it doesn't deliver on the premise either, and I think these are inextricably linked.
KayEss
·10 か月前·議論
You're misinterpreting what I said. I said that your ability to defend yourself and your family with a gun was hypothetical.

I can see that you like to think of yourself as a rational thinker about this, but you're refusing to answer the actual criticism: actual people are being killed every day due to the availability of weapons in your society. There are nearly two mass shootings per day. So far this year that has led to 250 deaths and more than a thousand injuries[1]. These are not hypothetical abstractions, which is all you seem interested in engaging with. These are real people, many of them children, who find themselves victims of gun violence. You are arguing that your feeling of safety is more important than their actual safety. All of your arguments amount to a continuation of your position that you put your own feelings ahead of the actual deaths of people in society around you. This is a very selfish way to engage in your society.

[1] https://edition.cnn.com/us/mass-shootings-fast-facts
KayEss
·10 か月前·議論
This of course plays into the fear US gun advocates have of any attempt to remove their gun rights. If it were to happen though, then maybe as a prepper type with a house and lands in the woods you'd stand a chance against an armed mob that came for you, but certainly not the government. If you're defending your sub-urban house (or even worse flat), I suspect that the gun you have for self defense would make very little difference to the final outcome, but might make you feel a bit better about it.
KayEss
·10 か月前·議論
I have had a gun pointed at me, and I've been where guns have been fired in anger around me.

I'm kind of surprised to hear somebody in America think it's a likely enough thing to happen to be worth the obvious societal cost of the wide spread weapons.

Realistically, if they did come for you, how much use would your weapon be? Do you believe that it would mean the difference between your life and death, or just that you'd feel better going having been able to put up some defence? Several genocides have happened in neighbouring countries from where I live in living memory, and it isn't at all clear that having access to a weapon allowed anybody who was targeted to survive.

The cost in mass shootings (now nearly two per day in the US) is a real cost borne by society at large. Your cost is still only hypothetical, and of unclear value if the worst did happen.
KayEss
·10 か月前·議論
This comes across a lot like you're saying that your personal feeling of safety for you and your family is worth more than the actual safety of innocent schoolchildren who are being mass murdered.
KayEss
·8 年前·議論
Useful when you have a lambda that needs to call itself, but the language doesn't bind the name until after the lambda is parsed (so you can't call by name). This happens in a few languages I think, C++ and C# for sure.
KayEss
·8 年前·議論
Dynamic updates. So long as you're not behind carrier NAT you can find your IP number and update a DNS record. Many DNS providers have a specific service for this, e.g. https://dyn.com/dynamic-dns/ (no affiliation, just used them many years ago for this service).

Many ISPs are switching to carrier NAT though and then you can't host as you don't have a routable IP number.