There is practically no other choice on a Z80. C compilers really don't like the Z80 ISA and create both slow and bloated output, at least compared to manually written asm. And on top, you can do many optimization tricks in assembly that simply are not possible in a high level language (self-modifying code, jumping into the middle of an instruction, etc...).
Forth might work better than C, but tbh, assembly code is more straightforward and easier to read than Forth ;)
Don't know, but AFAIK this wasn't a popular programming language on home computers in the 1980s (from what I've seen, the popular non-asm languages were usually BASIC, Forth and Pascal, even C was kinda rare).
I believe most of the 8bit microcontrollers from this era have no good optimizing compilers that get close to what competent practitioners achieve with assembly. I think it has to do with having complex addressing modes making the C stack fairly inefficient.
For an 8 bit Z80 based hardware project like this, assembly is a valid choice. The reason is performance. You'll lose significant performance with a compiler or interpreter.
assembly is the only choice. The Z80 processor is a twisty collection of registers, none alike. It is pretty much the opposite of what a, for example, C compiler is looking for.
In fact C compilers are _notoriously_ bad at producing code for the Z80.
The quickest way to redraw a screen or otherwise copy a memory region on Spectrum of is to use POP/PUSH instructions while flipping the stack pointer. Good luck getting that with C.
> modern science is synonymous with open source software
But why does the public have to pay for e. g. Elsevier? We pay for research of scientists already via taxpayers money (at the least in a civilized country), then we have to pay again for a private entity. If science is really open then it also needs to require public publishing. Gangsters such as Elsevier and others should not be able to drain the public here. Taxpayers financing something should also require public access to findings, at all times. Instead, Elsevier, Springer etc... get more public money while keeping things private. That's the antithesis to science.
100%. I'm not saying the vision we're talking about is there yet, I just think it's an enticing thought. The existence of (predatory) publishers is a sad and miserable joke in its own right.
The question is whether you find it ok that the FBI comes sniffing after you. Personally I don't find it ok at all. I don't see any of that as a crime either. The legislation is clearly written by corporations and lobbyists acting as lawyers. That's another reason why I think open source is preferrable - that way they are replaced indirectly by not depending on them in the first place, meaning, as a trade-off towards how the society is currently structured. Hopefully it will become more sane again in the future. Back then, though, say in the 1990s or early 2000s, the "vibe" of warez also was "look how great ILLEGAL can be".
So if you steal something it means the owner didn’t do a good job securing it and if you murder someone they didn’t do a good job protecting themselves?
The diff is that owner is responsible for their own shit where a telco has everyone's things in there and is exposed to the whole world instead of just one street.
It is like a bank that has sloppy security and exposes you to the whole world, including adversaries from Russia china NK etc.
Things like Telco cloud banks should absolutely be thrashed for having bad security. Responsible disclosure should also be a thing but we all know these companies sue people for that too.
Does that extend to medical systems? If someone hacks my pacemaker and destabilizes my heart, or my pharmacy/hospital and prevents me from receiving medical care, is that something that should be legally permitted on the basis that "medical device makers/pharmacies/hospitals should try harder, and should somehow compensate their patients if a hack occurs"?
Anything network connected that can be reached by an adversary. And, I did not say it shoukd be legal or illegal, just that the fault lies with who administers/secures those systems, not with whoever breaches them.
> How do you compensate someone who's dead?
In some countries where I lived, there were pricelists based on nationality that insurance would pay out in case of accidental death. If you live in a more homogenous country, you can use other factors to determine what the payout should be.
Since you mentioned it below several responses to this comment: Why do you think this is okay for software, but not okay in the "physical world"?
Is it about a perceived lack of consequences of the one vs the other? What if the hack caused real damage and suffering? For example, people's medical histories get stolen and exposed? Ransomware encrypts hospital systems, disrupting medical care?
Or, the inverse: while you're away, somebody breaks into your home non-destructively, takes some photos, sleeps on your couch, and leaves. Should that be forbidden? Your fault for allowing it? It is easier to pull something like this in the digital world, is that why it seems different to you?
I don't agree with GP at all, but making hacking illegal indeed gives companies a false sense of security.
Making burglaries illegal is a real way of preventing many burglaries from happening, because it puts people committing them in prison and deters some from doing it in the first place. This only works because the burglar is in the same place as the burglary, and so they can be arrested.
People with little to no computer experience apply the same standard to cybersecurity and treat foreign hackers the same way as burglars. Then they get surprised when the Russians hack them and the FBI does nothing.
You're presenting a false dilemma, there are more options than "all hacking is completely illegal" and "all hacking is a free-for-all".
We're in a thread that starts from the notion that it should not be illegal to "hack a telecom network and take control of it", because "the people running it did not do a good job configuring and securing it." That's essentially the free-for-all position, and defending it by claiming that the opposite extreme is the only other option is a false choice. Nuance and compromise exist, and our world is made of them.
Also, your argument about burglars can be applied to "hackers", too. Police can find and arrest people domestically and beyond. Consequences deter people from all sorts of illegal activity. On the other hand, nation states are not necessarily deterred by laws from kidnapping and killing people inside the territory of other countries. You've probably seen the news.
What's different is the ease of access to digitical, internet-connected systems, and the scale of abuse that affords. That's a reason to think differently about _how_ to shape the rules and laws around "hacking", but not a reason to have no rules or laws at all.
Because it is a battle of the brains, like when you play chess. And I believe the smarter one should win. This is why I have this strongly held belief that if you get hacked, it is on you. The attacker was smarter than you, simple as that. So you have to get smarter and become better. Or you get hacked again and again.
I really don’t understand the urge or need to compare software security with physical security.
> I really don’t understand the urge or need to compare software security with physical security.
Both are about preventing harm in many different forms. Software famously has effects in the physical world, that's the reason why a lot of it exists, and why people get paid that deal with software because it makes their brains feel good.
I also notice that you haven't really answered my questions around that.
> if you get hacked, it is on you. The attacker was smarter than you, simple as that.
From your perspective, what makes "smarter" different from "stronger", or "more resourceful" here? Or do you think that if your door gets bashed in, it's your fault, because your door was too weak? Or your head? What if someone outsmarts your physical security arrangements to wander around in your house? Where's your boundary here?
I think physical and "cyber" security are not so dissimilar in the need to back them up with rules and laws at some point. Still, there are differences, so I don't think the rules and laws need to be the same. You seem to be advocating to have none at all for the software case, and I'm trying to find out about that.
> Both are about preventing harm in many different forms. Software famously has effects in the physical world, that's the reason why a lot of it exists, and why people get paid that deal with software because it makes their brains feel good.
Yes, it would suck if the hospital got hacked while I underwent a surgery for example, and the ventilator stopped working. But if that happens, whoever is doing it is not stronger, just smarter than the people administering the hospital network.
> From your perspective, what makes "smarter" different from "stronger", or "more resourceful" here? Or do you think that if your door gets bashed in, it's your fault, because your door was too weak? Or your head? What if someone outsmarts your physical security arrangements to wander around in your house? Where's your boundary here?
I gave an analogy with chess. You don't have to be strong in the physical sense to win a chess match, just smarter than your opponent. This is how I see the difference.
> You seem to be advocating to have none at all for the software case, and I'm trying to find out about that.
For software, the playing field is level: you use a computer, your opponent uses a computer. But the difference is the other person's capabilities. You can be smarter and you don't get hacked, or your opponent is smarter and hacks you.
You think it's okay when actual harm and suffering results from a "battle of the brains" via computers, because one party "outsmarted" the other. Sure, it would "suck", but you think the playing field is pure and level, making it a fair contest and any consequence fair game, and therefore it should not be illegal.
You are unable or unwilling to engage with the question if and why using a computer and "smarts" to cause harm is different from using strength, or any other advantage, to cause such adverse outcomes in other ways; it is not clear to me if you would also regard that as okay and think we should not have the laws that sanction such things; or if and why you think this anarchy should only exist in some sort of "digital computer space", crossing which would serve to make actual, real world consequences not matter that much anymore. It's almost like, by putting a computer between actions and consequences, one passes through a waterfall that washes away responsibility and "sin", in the ethical sense. But that depends on whether you think those were there to begin with, and is only an interesting metaphor for me; please don't get distracted by it.
In any case, that's a very interesting position. I'm curious what you gain from arguing it. Where does that come from? It's possible you're just trolling, but maybe smarts and brains connected via networks are truly special to you. Why?
(Edit: Please disregard "what you gain", it comes across completely wrong and takes it in an unintended direction. "Where does it come from" is what I mean.)
> You think it's okay when actual harm and suffering results from a "battle of the brains" via computers, because one party "outsmarted" the other. Sure, it would "suck", but you think the playing field is pure and level, making it a fair contest and any consequence fair game, and therefore it should not be illegal.
I said the fault lies with the administrators of those systems, not with attackers. I really think I never said it should be legal or illegal. I don’t really care if it is illegal or not, hackers are not dettered by the legality of it. Do you think someone in The Gambia cares that hacking is illegal in Canada?
> You are unable or unwilling to engage with the question if and why using a computer and "smarts" to cause harm is different from using strength
For me being smart and being strong are two wildly different things. It is like asking me why I don’t compare apples to oranges. I can’t.
> In any case, that's a very interesting position. I'm curious what you gain from arguing it. Where does that come from? It's possible you're just trolling, but maybe smarts and brains connected via networks are truly special to you. Why?
I am not trolling. I see this, hacking and securing something against hacking, as an “intellectual fight”.
Let’s say you are a 50 year old security admin that gets owned by a 14 year old with a computer. You were beat because the 14 year old one was smarter than you, not that he had more experience or was physically stronger than you. Just smarter.
Now imagine you’re part of a security team and you still get owned. What does that say about you?
I am at a loss on how to explain that when it comes to computer security the fault, in my book, does not lie with the hacker.
Just like when a flaw is found and exploited I do not blame the one who found it, but whoever made it possible in the first place. And in the case that the flaw was patched and a software update was made available, but it was not installed promptly, then the fault lies with whoever did not update the system.
Regarding arguing: I made a statement expressing my position and got mobbed for it. Now I am defending my position.
We can agree to disagree and keep enjoying what is left of our weekends.
Oh, I don't mind the disagreement, I'm curious to understand why your position is so different from mine, after getting closer to understanding what your position actually is. (I had to do that because there are some implicit premises in my thinking vs what you're saying which seem fundamentally different, and I had to work those out for myself.)
I think I do get it now, and it seems to be pretty much to what I described before. While I think that there is responsibility for the outcomes of one's actions no matter through which ways and means they are accomplished, for you, it seems to depend: making it about smarts or intellect or whatever, and putting a computer in between, causes it to transcend legality and morality. Adverse consequences are not on the actor anymore, and purely on the "defender".
That's not how a lot of people (including myself) see this issue. They would not agree that responsibility and outcomes should get disconnected or redistributed by changing the ways and means in between. (Edit, just to make this extra clear: The idea is that it should not matter if one uses their brain and a computer to effect damage, or some other means. Computers are a different tool, not a different game.) Even more, people find it hard to follow both the ethics and the logic of your argument, because you've not been able to express WHY an exception should be made for "smarts" and "computers" and not in other cases. Whenever I've asked you to explain, you've either misunderstood or evaded the question and responded with re-iterating that "smart" is different from "strong", as if that explains anything. (It boils down to being asked: "Why should the difference between red and blue matter here?" and answering with "Because they are different.")
So, you're taking an position that people find ethically problematic and logically inconsistent, and that's the reason why you receive this pushback: people feel motivated to counter what they see as an uncontested "ethical divergence", and you gave them an obvious logical chink to pry a lever into.
What I'm taking away is that you truly believe this, which is so foreign to me that I'm completely mystified. It makes me curious, and also uncomfortable, and for both reasons I wonder: How? Why? However, you're simply re-iterating your position, and I've come no closer to finding out, nor do I think I actually will, because I can't find a way to phrase my questions in a way that would bridge a barrier of understanding between us and make you respond to what I'm asking.
I'm still curious. But in any case, please do enjoy the rest of your weekend.
You don’t have to be smarter than your opponent to beat them in chess. You need to be better at chess, that’s it. Sure you need some degree of intelligence to be good at chess but being better at chess is not an indicator that you are smarter than your opponent. Same goes for computer security or any other intellectual field.
For instance, I’m pretty sure I’m better at computer security than Terence Tao but no way would I say I’m smarter than him.
Semantics. If you have a computer, the hacker has a computer, and you get hacked, the hacker is smarter. For whatever values of better/creative/resourceful you want to attribute to “smarter”.
My issue is that software security is not taken seriously most of the time because features are more important than spending a little more time on code quality.
I switched to linux in 2004 or so. All those old use cases kind of vanished or changed. Perhaps the subset of software is more limited on linux, since Microsoft
also builds - and exploits - a platform for commercial success, but I see more and more linux-specific applications too, typically using qt5 or qt6. Which is interesting considering linux does not have a huge share here. I guess there does exist some market value here.
I just can not really see myself using or needing "warez" on linux - the use cases are sooooo different now. For multimedia there are very few use cases not covered by ffmpeg and mpv. The only thing I'd like is something like avisynth, but more like a domain specific language that is even shorter. I remember back in early 2004 or late 2003 I was still writing avisynth scripts to modify video data on windows. Linux pipes never really went into an object-oriented approach and view onto data.
> I just can not really see myself using or needing "warez" on linux
I remember switching to Linux around 94 and at the time one of the things that annoyed me was that there was very little commercial software to patch registration checks out of!
There were a couple of image-viewers, and similar things, but I fell out of the habit of decompiling random binaries, and stopped keeping up with the newere techqniques for a good few years. My reversing skills came back, later, but swithching to Linux where everything was "free" and source was mostly available really did change a lot of my computer-related hobbies.
Family Dynasty of Billionaires. The Dallas TV series was quite good, Larry Hagman as villain - but compared to the real world billionaires, Larry roleplaying as J. R. was a saint compared to what in reality is going on. Can we finally admit that the Epstein network was: a) much bigger than originally known or assumed, and b) not the only criminal abuse network? I mean we already see how much dirt is covered by Trump here. Now imagine we would have real investigations. How much would be revealed ...
Cats are not really domesticated. I've heard various terms but semi-domesticated probably serves. They're very adaptable but not pack animals. You're sort of safe with house cats because they're small. You get less safe as the body weight goes up the scale.
Domestic cats, are pack animals under some conditions.
Those and lions are the only cats known that don't mind to tolerate friends and non relatives around in their territories, cats clearly enjoy the company, form hierarchies and share food. Hyaenas and mongooses are related with cats and definitely social also. Lingsangs on the other way, are solitary.
It’s funny to hear they are not pack animals. I’m sure that is technically the case, especially in the wild, but my house cats definitely cling to me and follow me around like I am their leader. They groom/fight to try to establish a hierarchy below me, and when my partner comes home from work immediately switch allegiance to her, who they clearly see as the dominant mammal in the house.
They don’t go outside (they can’t really, it’s too busy by the road here and they’d decimate the wildlife, but I live with it because ultimately we’re doing them a huge favor by giving them a home, post-rescue) so I am sure that has something to do with it. Perhaps infantilism is keeping them in this pack headspace? But even then my mother’s cat — rural, murderous, tough tabby tom — treats her like a god and the rest of us as an annoyance.
I have 2 cats that are sisters. They have a very interesting dynamic. There isn't a fixed dominant sibling, they switch back and forth.
They antagonise each-other most of the time, but they also support each other in times of stress. If one goes to the vet and the other doesn't, the initial reaction is hissing and being a dick. Then, after a few minutes, it's licking and comforting.
I don't like to anthropomorphise too much, but they definitely look out for each-other. Equally, they definitely annoy each-other.
As I wrote, they're adaptable. But there's a difference between true pack animals with an established hierarchy and being solitary but being open to other cats and species. Certainly, some cats are more pack-like (lions) and others are, or are more open to, being largely solitary.
On the Craigslist homepage (on desktop) there is a gray navbar on the left side of the screen. That area has a calendar and some group of links below it. The second group of links below the calendar includes "best-of-craigslist" link.
I like that the Craigslist site design is utilitarian and hasn't changed much over the years. The downside is that stuff like this can hide in plain sight.
>"I'd be getting scared when a cat reaches the 20kg threshold" - most likely even 10kg cat will shred you before you could blink. They're insanely fast and surprisingly strong for size. Furry explosives they are
An angry cat in full fight mode will absolutely put a human in hospital, and the bites and scratches are teeming with potentially deadly bacteria.
They may be unique - a super-successful predator that has persuaded a more dominant species to look after it by looking cute and feeling soft and making relaxing noises.
my cat at its peak weight is about 8kg, and that's the size that i'd get a bit nervous around if i didn't know it's a tame housecat that runs away at sight of a mouse...
My newest cat started as a stray. Cautious around humans, but not feral. He was hanging around a lot, so of course I started giving him food because I’m a sucker that way. He disappeared for a couple months, then showed up injured from a fight one day, so we took him to the hospital and ended up keeping him in the garage for a few days to recover. We also did the usual due diligence to locate an owner.
The rest, of course, is history. Now he’s a big 20lb goober of a cat who is positively enamored with my wife. The feeling is mutual.
There was a farm nearby where a mother cat died and all but two kittens died from hunger afterwards. We adopted one, my wife fed the kitten (which was way underage for adopting) with bottle.
Now she has been with us for years. She’s very loyal to me, dismissive to aggressive to anyone else. Not sure why me and not my wife, but hey :)
She basically sleeps next to me all the time, both when I work from home or at night. She’s 14 now, no medical issues.
I think the lady that got mauled to death in 2018 at the lion preserve that guy works at might disagree with you if she hadn’t been y’know, mauled to death by a lion.
People also get mauled by dogs yet we don't consider that to mean that they can't be domesticated. A domesticated animal is still an animal and if its big enough to kill you can coommon enough then some people will be killed by it.
If they do not have a developed prefrontal cortex acting as a filter from instinct to action, they will be nice or calm for a long time - until the whim occurs and they will act violently. Maybe just for a fraction of a second. And at that point, their strength and natural weapon will make a whole difference.
I've watched a lot of horror shows that had no effect on me. But this one wasn't a horror show, it was for real. I found it very disturbing. I couldn't believe what I was watching.
FTFA: "The man took the animal home, believing it to be a domestic breed. But after about a year of living with the clearly wild animal, he realized it would be better off at a sanctuary."
There's a YouTube (and other) channel out there about a guy and his (I use the possessive with caveats) coyote (named Weave). His motto is "Anything can be a pet if you don’t mind getting bit."
One can not simply trust Google. While I personally like the MIT licence more, I think it is time that the GPL or variants of it (Affero etc...) get used a lot more. It worked very well with the Linux kernel. Corporations keep on abusing this.
GPL is not working for getting us access to what we need. Google often takes weeks or even months to respond to our GPL source requests. Other companies are far worse. What good is it to us if companies can introduce arbitrary delays for months or even years?
There are permissively licensed alternatives to most copyleft projects and they're increasingly the better options. You aren't going to reverse that by licensing niche projects as copyleft. Companies wanting to avoid copyleft can make permissively licensed replacements more easily than ever.
Well, it is time to realise that GPL and similar variants, are better
in the long term. I like MIT too, but GPL worked so much better for the
linux kernel. Google and others abuse the ecosystem of open source
contributors here.
The GPL is the only reason they even get that. More enforcement would certainly be good, but it's not like the GPL is worthless without a legal team backing you up.
There has been a long discussion about this a while ago on HN when these delays came up. The relevant blurb:
Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
Many people argued that 'customarily used for software interchange' is worded-as is to always be relevant to the times when the license is applied and that providing access to a Git repository is customary nowadays. In fact:
- The upstream Linux tree is distributed through Git.
- The relevant Pixel kernel sources used to be distributed through Git.
IANAL, so I am not sure how this part of the license will hold up in court, but the spirit is clear. Providing a Google Drive link is not customarily used for software interchange.
Also, I think it is fairly clear that the procedure is put in place to make everyone's life difficult, given that the relevant source used to be distributed through Git.