I have fond memories of bricking my Smalltalk environment several times trying to get instance behaviour working :-)
HN user
KayEss
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.
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.
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.
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.
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.
This is what makes securing this stuff so hard when you don't have proper review. What seems like a good idea from one perspective opens up another gaping hole somewhere else.
Off the cuff suggestions for improving UX in secure flows just make things worse.
Only in some parts of the world. In many it's the room and the object
And by a happy coincidence it turns out that audio does about one foot in one millisecond making light six orders of magnitude faster
REM was quite common across a number of languages at the time. You might still see them in '.bat' files
I think this is a much fuller explanation of what I was trying to say :-)
I think you're thinking of upgrading the 486sx which didn't have the on die coprocessor. That did disable the old chip as you basically replaced it with a 486dx
No. The conversation was on the eve of the Potsdam conference
One big reason is that when you add two samples together, if you overflow a signed int that's UB, but if you go over 1.0 on a float it's just business as usual. This means you can do a ton of audio processing and only have to deal with fixing the overflows in one place right at the end (they use a compressor, but other algorithms are also possible).
It's essentially the same everywhere, but these large planes are flying IFR not VFR and so they rely on the separation service provided by ground control. Ground control isn't allowed to provide separation service to VFR flights (although you can ask them for an advisory, and they will tell you about traffic that is relevant to you).
So when generating a private key, is any 256 bit random sequence good (it gets reduced down to the 252 bits available) or do you have to check you didn't pick one of the 2^4 keys that aren't valid? (Actually, is 2^4 even the right number? Seems awfully low, and hence I guess, unlikely)
Does that imply that there are some 256 bit patterns that aren't valid private keys, or does the 2^255 - 19 not describe the private key space?
Iouring looks promising though
It's more than promising. It's an unbridled joy to work with (compared to things like epoll) and performs very well already.
Which have been delayed for a year due to C19.
All Thai constitutions have had strong privacy requirements, but that has never been important for what actually happens.
It's really not clear what compliance will be like. If it's anything like most things here then it'll only be if the government gets annoyed that a company will be in any danger of prosecution.
SOCKS is very easy to implement. You could probably knock this together in pretty much any language in little more than the time it takes you to read the SOCKS docs and how to set up the server side TLS connection.
they forgot that it's about telling the computer to do something, as clearly as possible
Or alternatively, it's to explain to the next reader of the code, as clearly as possible, how the problem was solved (in such a way that it can also be executed by the computer).
Some people think that a day is one revolution of Earth's axis, and not exactly 86400 seconds
One day is more than one revolution of the planet. The sidereal day is exactly one rotation of the planet, but that's about four minutes shorter than a civil day.
The reason is that the planet also moves around the sun, so in order to get the sun to the same position in the sky for noon the planet needs to turn a little bit more than 360 degrees, about 360/365 extra.
I was wondering what happens if you skip the SNI bit and just rely on the Host header in the data. Does that work?
Not too surprising I think. The charger is 135W
https://www.lenovo.com/us/en/laptops/thinkpad/thinkpad-x/Thi...
Yes it does.
I get my X1 Extreme on Sunday -- had to order through a friend in the UK because the price in Thailand is nearly 2 times the UK one and in any case nobody has one.
Been a big fan of the thinkpads for 20 years. All of them very solid machines that just last and last, and never had a problem with running Linux on them
I think the closest you can get is something like:
class odd {...};
class even {...};
std::variant<odd, even> p(int a) {
if (a&1) return odd{a};
else return even{a};
}
Now which of `even` or `odd` you get is based on the value of `a`.My ~/bin/makepass file:
#! /bin/bash
cat /dev/urandom | base64 --wrap ${1:-"10"} | head -n 1
Defaults to 10 character passwords, but you can put bigger numbers as the first argument. I don't think the `base64` command is on the Mac, so probably won't work there.We're experimenting with Mermaid diagrams <https://mermaidjs.github.io/> in our source code. How does that come across?
LOL