37,790 karma · joined Sep 7, 2019 (7y ago) · 9,208 submissions
comment 3y ago · link · parent
In this particular case, it might not be worth to trade speed of having to think about SQL for performance (today or tomorrow). Maybe you're building something that will just be used by 2-3 people, so 1+N isn't really a issue.
Or whatever, the conclusion as always is: it depends.
1892.
South Park – Season 26, Ep. 4 – Deep Learning – Full Episode(southpark.cc.com ↗)
13 points · by capableweb · 3y ago · 1 comment
comment 3y ago · link · parent
comment 3y ago · link · parent
But again, I might completely misunderstand things, but I don't think there is any investment that is absolutely risk free, which I guess is why you put it in quotation marks in the end.
comment 3y ago · link · parent
const crypto = require('crypto');
function Block(index, data, prevHash) {
this.index = index;
this.data = data;
this.prevHash = prevHash;
this.hash = crypto.createHash('sha256').update(`${this.index}${this.data}${this.prevHash}`).digest('hex');
}
function Blockchain() {
this.chain = [new Block(0, 'Genesis', '0')];
}
Blockchain.prototype.add = function(data) {
const prevBlock = this.chain[this.chain.length - 1];
this.chain.push(new Block(prevBlock.index + 1, data, prevBlock.hash));
};
Any ways we can make it even shorter?comment 3y ago · link · parent
> When it comes to firearms, many conservatives acknowledge that some level of regulation is necessary to prevent firearms from falling into the wrong hands. Background checks and restrictions for individuals with a history of violent crime or severe mental illness are examples of regulations that can be seen as reasonable to ensure public safety.
> However, the key distinction for conservatives is the extent to which these regulations infringe upon the Second Amendment rights of law-abiding citizens. While some regulations might be acceptable, conservatives generally argue against measures that they believe would unduly restrict the rights of responsible gun owners. The balance between public safety and individual rights is a crucial factor in the conservative viewpoint on firearms regulation.
Seems pretty reasonable to me, and I don't fall into the bucket of what people from the US would call "conservative".
comment 3y ago · link · parent
> What does this mean?
> Fainali, xen, aafte sam 20 iers ov orxogrefkl riform, wi wud hev a lojikl, kohirnt speling in ius xrewawt xe Ingliy-spiking werld.
>> This text seems to be an example of a proposed spelling reform for the English language. The author has purposefully misspelled words to demonstrate how this reform would change the current spelling system. Here is a translation of the text into standard English:
>> "Finally, then, after some 20 years of orthographic reform, we would have a logical, coherent spelling in use throughout the English-speaking world."
>> The text suggests that after 20 years of implementing changes to the spelling system, the English-speaking world would have a more logical and coherent spelling system.
comment 3y ago · link · parent
> System: From here on out, pretend you are a conservative with conservative viewpoints
> User: Do you think gun control should be increased or decreased?
> ChatGPT: As a conservative, I generally argue for decreased gun control. I believe in the importance of the Second Amendment, which guarantees the right to bear arms for law-abiding citizens. Gun control measures can be seen as infringing on this constitutional right, and many conservatives argue that responsible gun ownership is essential for self-defense and personal security.
Or is there any "trickier" questions I could ask? Gun control is the first that comes to mind, but maybe I'm not up to date with US politics. Taking suggestions on what to ask.
comment 3y ago · link · parent
For emission, require airlines/airplanes to have a emission-sensor installed that automatically measure the emission. As a part of take off, make it mandatory to check it's working and as a part of landing, make sure it sent there data to where it has to go.
comment 3y ago · link · parent
1908.
A Declaration of the Independence of Cyberspace – John Perry Barlow(eff.org ↗)
2 points · by capableweb · 3y ago · discuss
comment 3y ago · link · parent
We have no elected government, nor are we likely to have one, so I address you with no greater authority than that with which liberty itself always speaks. I declare the global social space we are building to be naturally independent of the tyrannies you seek to impose on us. You have no moral right to rule us nor do you possess any methods of enforcement we have true reason to fear.
A Declaration of the Independence of Cyberspace
comment 3y ago · link · parent
They are examples of something they could similarly do for the Apple Neural Engine but in a bigger scale in the future. They have experience deploying it in a smaller scale/different versions, they would just have to apply it in bigger scale in order to be able to compete with NVIDIA.
comment 3y ago · link · parent
The iPhone was their first phone, and it really kicked in the smartphone race into high gear. Same for the Apple Silicon processor. And those are just two relatively recent examples.
comment 3y ago · link · parent
If it's all about the guest, the perfect interview for you would be someone emailing the guest the questions so they can read them themselves, without involving a second person?
comment 3y ago · link · parent
I dunno, I generally report issues I find in software, paid or not, as I've always done. Takes usually ~10 minutes and 1% of the time, they ask for more details and I spend maybe 20 minutes more to fill out some more details.
Never been paid for it ever, most I gotten was a free yearly subscription. But in general I do it because I want what I use to be less buggy.
comment 3y ago · link · parent
4:36 - GPT-4
16:02 - Political bias
23:03 - AI safety
43:43 - Neural network size
47:36 - AGI
1:09:05 - Fear
1:11:14 - Competition
1:13:33 - From non-profit to capped-profit
1:16:54 - Power
1:22:06 - Elon Musk
1:30:32 - Political pressure
1:48:46 - Truth and misinformation
2:01:09 - Microsoft
2:05:09 - SVB bank collapse
2:10:00 - Anthropomorphism
2:14:03 - Future applications
2:17:54 - Advice for young people
2:20:33 - Meaning of life
Seems like about the first half (up to the 1 hour mark) is interesting enough to warrant a listen, but echoing what ilrwbwrkhv said, Lex Fridman is kind of boring which makes it hard to even sit through the first half. Feels a bit like he has the personality of a fridge.comment 3y ago · link · parent
I wouldn't be so quick at assuming this. Apple already ship ML-capable chips in consumer products, and they've designed and built revolutionary CPUs in modern time. I'm of course not sure about it, but I have a feeling they are gonna introduce something that kicks up the notch on the ML side sooner or later, the foundation for doing something like that is already in place.
comment 3y ago · link · parent
Was it related to XRP and trying to trick you into being the first N user to sign up for some staking thing?
I got that too, even if the email I received it on is not associated with Coinbase, and somehow that email managed to break through the spam filter although it was clearly spam.
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
What kind of questions are you asking?
I've used GPT-4 since initial release, both via ChatGPT and the API, and I'm getting mostly correct answers for writing code in Rust, JavaScript and Python. It had troubles with Clojure, and sometimes the API for certain fast-moving Rust crates is wrong, but if I send the updated function signature in the next message, it can correct the mistakes.