|
Nude posted:Is it too much to ask what's so horrific bout blockchain? Apologies in advance if so. Ask in these two places, they're pretty experienced at answering it https://forums.somethingawful.com/showthread.php?threadid=3878587 https://forums.somethingawful.com/showthread.php?threadid=3838405
|
# ? Feb 28, 2019 07:52 |
|
|
# ? May 21, 2024 03:34 |
|
If you don’t have any of the proof of work stuff it’s just a merkle tree (or even just chained hashes) and while those are cool and useful things... they’re cool and useful things that have been widely used for a long time.
|
# ? Feb 28, 2019 08:03 |
|
Blockchains are the largest ecological disaster of our time but provide nothing that doesn't already exist in a superior and more efficient form.
|
# ? Feb 28, 2019 08:42 |
|
Nude posted:Is it too much to ask what's so horrific bout blockchain? Apologies in advance if so. James Mickens has a pretty succinct breakdown of what blockchains do and why it's not very useful for them to do that: https://www.youtube.com/watch?v=15RTC22Z2xI 99% of situations where a blockchain is used/suggested, a database would be more appropriate.
|
# ? Feb 28, 2019 10:01 |
|
Doom Mathematic posted:James Mickens has a pretty succinct breakdown of what blockchains do and why it's not very useful for them to do that: Wow the comments on that video are a cesspool of btc fanboys.
|
# ? Feb 28, 2019 10:48 |
|
Slash posted:Wow the comments on that video are a cesspool of btc fanboys. i'm trying to imagine the process to becoming a btc fanboy and failing. i like bitcoin because it lets you buy illegal drugs online and make money from idiots. i do not understand how people's liking money and drugs translates to "let's see if we can make everything blockchain because of btc". then the wall street journal has an article about "agile cloud blockchains", the next big nosql replacement uses blockchain instead of just putting all the database in the machine's ram without using memory mapped files, and microsoft decides that you can't build typescript anymore without blockchain storing all the changes.
|
# ? Feb 28, 2019 13:31 |
|
Nude posted:Is it too much to ask what's so horrific bout blockchain? Apologies in advance if so. https://chrome.google.com/webstore/detail/replace-blockchain-with-s/johdgapbhomlhcflancninpeafocpopn?hl=en-US&gl=US
|
# ? Feb 28, 2019 15:01 |
|
Bruegels Fuckbooks posted:i'm trying to imagine the process to becoming a btc fanboy and failing. i like bitcoin because it lets you buy illegal drugs online and make money from idiots. i do not understand how people's liking money and drugs translates to "let's see if we can make everything blockchain because of btc". they stan blockchain because their line of thinking goes "well people laugh at btc, but btc is mostly about the blockchain, if blockchains become real then btc is real too". it's get-rich-quick schemes all the way down.
|
# ? Feb 28, 2019 15:15 |
|
Greater fool theory works if there are greater fools.
|
# ? Feb 28, 2019 15:19 |
|
Slash posted:Wow the comments on that video are a cesspool of btc fanboys. Cesspool (or cesspit) would be a great choice for a collective noun for cryptocurrency fans uncurable mlady posted:they stan blockchain because their line of thinking goes "well people laugh at btc, but btc is mostly about the blockchain, if blockchains become real then btc is real too". it's get-rich-quick schemes all the way down. It's all money laundering OP
|
# ? Feb 28, 2019 15:24 |
|
https://twitter.com/mattblaze/status/1034844783691190272
|
# ? Feb 28, 2019 16:50 |
|
Bruegels Fuckbooks posted:i'm trying to imagine the process to becoming a btc fanboy and failing. i like bitcoin because it lets you buy illegal drugs online and make money from idiots. i do not understand how people's liking money and drugs translates to "let's see if we can make everything blockchain because of btc". it really started with the economic collapse of 2008. capitalism is failing but it's the only system that's ever worked, at least from the perspective of a bitcoiner. everyone wants to regulate the banks, but that would be against capitalism. bitcoin lets them continue to believe in capitalism because it's a free market solution to regulating the banks. if it had a chance of working, it wouldn't be unreasonable. DONT THREAD ON ME fucked around with this message at 21:48 on Feb 28, 2019 |
# ? Feb 28, 2019 21:45 |
|
Bitcoin is cool and good as long as you remember that its purpose is not to speculate, but to buy illegal things. Not sure why that thread's title is "Bitcoin: ketamine-2-go is not a legitimate business" when it pretty clearly is.Cuntpunch posted:Am I wrong to find that Blockchain is being split into two definitions these days? Even the dumb VC cash grabs that use the blockchain term tend to use real blockchains, just for no reason. xtal fucked around with this message at 22:39 on Feb 28, 2019 |
# ? Feb 28, 2019 22:31 |
|
xtal posted:Bitcoin is cool and good as long as you remember that its purpose is not to speculate, but to buy illegal things. Not sure why that thread's title is "Bitcoin: ketamine-2-go is not a legitimate business" when it pretty clearly is. love to buy illegal things with a currency that records every transaction on a public ledger
|
# ? Feb 28, 2019 22:43 |
|
Soricidus posted:love to buy illegal things with a currency that records every transaction on a public ledger The public ledger is secure unless you leak your addresses (it doesn't have forward secrecy.) So, the easy solutions are: don't leak your addresses; or, use a currency based on zero-knowledge proofs. The fact that Bitcoin is secure minus screwing up is evident by the fact that people continue to use it, and all the bad stories are about people screwing up. xtal fucked around with this message at 01:05 on Mar 1, 2019 |
# ? Feb 28, 2019 23:00 |
|
Soricidus posted:love to buy illegal things with a currency that records every transaction on a public ledger One of the surprising facts to fall out of the Ulbricht trial was that Silk Road's tumbler worked. That's not saying that it can't eventually be cracked, or if the domain operator hadn't kept an open laptop with my_crimes.txt up when he got nabbed they would've tried harder, but the general sentiment is that transactions at scale were successfully obfuscated.
|
# ? Feb 28, 2019 23:03 |
|
xtal posted:The public ledger is secure unless you leak your addresses (it doesn't have forward secrecy.) So, the easy solutions are: don't leak your addresses; or, use a currency based on zero-knowledge proofs. The fact that Bitcoin is secure minus screwing up is evident by the fact that people continue to use it, and all the bad stories are about people screwing up. And yet the vast majority of people buying bitcoins with real money definitely gave someone their name and address and probably a copy of their ID, and then those that go on to make illegal purchases make no attempt at all to hide what they're doing
|
# ? Mar 1, 2019 05:32 |
|
xtal posted:The public ledger is secure unless you leak your addresses (it doesn't have forward secrecy.) So, the easy solutions are: don't leak your addresses; or, use a currency based on zero-knowledge proofs. The fact that Bitcoin is secure minus screwing up is evident by the fact that people continue to use it, and all the bad stories are about people screwing up. The only reason the public ledge is even remotely pseudonymous is that basically nobody uses it. If the world ever went bitcoin maximalist (insert laughing bender gif), deanonymizing it would be quite easy, because payments follow patterns.
|
# ? Mar 1, 2019 11:06 |
|
The evil AI will fail to enslave the human race because its computing power will be bogged down by keeping track of centuries of encrypted toilet paper purchases.
|
# ? Mar 1, 2019 11:17 |
|
nm, ot
xtal fucked around with this message at 15:43 on Mar 1, 2019 |
# ? Mar 1, 2019 15:37 |
|
Ola posted:The evil AI will fail to enslave the human race because its computing power will be bogged down by keeping track of centuries of encrypted toilet paper purchases. i hope the ai will appreciate we gave them their version of clay tablets but this time with embedded instructions of how to get child porn
|
# ? Mar 2, 2019 00:38 |
|
Every day I lose a little more faith in humanity. Generally when I'm handling PRs.code:
"Well yes there is, one is a B, one is a C, and one is a D!" But...they all do the same thing. Do we need this to be this way? "Yes! Because we wouldn't want to confuse a B for a C!" says the culprit, blissfully unaware that his work is a testament to David Dunning. code:
Little did I realize, this would trigger the need for a 45 minute long explanation about textbook polymorphism. (No, C# nerds, we're never manipulating the collection inside SomeMethod)
|
# ? Mar 5, 2019 16:17 |
|
Cuntpunch posted:Every day I lose a little more faith in humanity. Generally when I'm handling PRs. This is perfectly defensible
|
# ? Mar 5, 2019 16:37 |
|
So basically it looks like he didn't realize that array types are covariant, which they really shouldn't be anyway, and also understands the main purpose of types. What a dimwit!
|
# ? Mar 5, 2019 16:56 |
|
methods should not accept arrays as input anyway. just accept a List (the only exception being varargs methods since there you're getting an array whether you want it or not)
|
# ? Mar 5, 2019 17:01 |
|
Volte posted:So basically it looks like he didn't realize that array types are covariant, which they really shouldn't be anyway, and also understands the main purpose of types. What a dimwit! I have to imagine my example is trimmed down too much for the sake of simplicity and somehow a masterful complexity is being imagined. These are API DTOs. X in this case *literally* being an ID value. Y in this case is *literally* a constant value that is shared by all of the roles. And we're not even talking variance or the fact that we should operate on an abstraction like IEnumerable or IList rather than an array - we're talking just a preliminary 'Why are we casting?' and then having to spend serious time explaining the actual loving purpose of subtypes in the first place. I don't have the energy to try and obfuscate/abstract away the other wild bizarre stuff going on in that code. Like despite going to great lengths to setup a class tree, doing all sorts of weird external type sniffing code:
|
# ? Mar 5, 2019 17:19 |
|
Isn’t abstracting behavior behind interfaces and methods the whole point of OOP?
|
# ? Mar 5, 2019 18:39 |
|
Jabor posted:methods should not accept arrays as input anyway. just accept a List Almost agree; they should accept IList if they need list behavior (indexers, adding/removing elements) or IEnumerable if they just need to be able to enumerate the members of the collection.
|
# ? Mar 5, 2019 18:58 |
|
New Yorp New Yorp posted:Almost agree; they should accept IList if they need list behavior (indexers, adding/removing elements) or IEnumerable if they just need to be able to enumerate the members of the collection. ICollection, IReadOnlyCollection and IReadOnlyList are also really useful. I generally even prefer IReadOnlyCollection over IEnumerable as it sidesteps a number of gotchas that IEnumerable has.
|
# ? Mar 5, 2019 19:15 |
|
Cuntpunch posted:we're talking just a preliminary 'Why are we casting?' Why, uh, do you think the cast isn‘t necessary? New Yorp New Yorp posted:Almost agree; they should accept IList if they need list behavior (indexers, adding/removing elements) or IEnumerable if they just need to be able to enumerate the members of the collection. We just do “IEnumerable if you’re enumerating once and array if you’re enumerating more than once and just never mutate an array” and it honestly works just fine. It turns out that we run into very few cases where being able to juggle fancier collection types really buys us anything (not doing anything performance-sensitive might help here, I don’t know).
|
# ? Mar 5, 2019 21:48 |
|
raminasi posted:Why, uh, do you think the cast isn‘t necessary? are you saying you think it is? if so, what purpose do you think it serves?
|
# ? Mar 5, 2019 22:02 |
|
The cast isn't necessary but it should be. Array types are covariant so you can pass a Bar[] where Foo[] is expected if Bar is a subtype of Foo, but the method that accepts the Foo[] can (without violating any contracts) attempt to put some other subtype of Foo into the array, which will fail at runtime. If you cast first, then it becomes an array of Foo[], so the method can do whatever it wants and it's the caller's responsibility to deal with that.
|
# ? Mar 5, 2019 22:06 |
|
Aren't Lists internally implemented as dynamic arrays in .NET? Why do I see people converting them to static arrays? What's the advantage?
|
# ? Mar 6, 2019 00:13 |
|
it feels more efficient. closer to the metal, you know?
|
# ? Mar 6, 2019 00:54 |
|
Soricidus posted:it feels more efficient. closer to the metal, you know? You joke, but it's been my experience that people who say this have never once profiled code in their lives. To contribute, here's a minor horror I found: C++ code:
|
# ? Mar 6, 2019 02:48 |
Volte posted:The cast isn't necessary but it should be. Array types are covariant so you can pass a Bar[] where Foo[] is expected if Bar is a subtype of Foo, but the method that accepts the Foo[] can (without violating any contracts) attempt to put some other subtype of Foo into the array, which will fail at runtime. If you cast first, then it becomes an array of Foo[], so the method can do whatever it wants and it's the caller's responsibility to deal with that. Just wanted to say that this was a really clear explanation of an unintuitive issue. Thanks!
|
|
# ? Mar 6, 2019 03:09 |
|
qsvui posted:To contribute, here's a minor horror I found: Fixed for more efficiency.
|
# ? Mar 6, 2019 03:14 |
|
CPColin posted:Fixed for more efficiency. Burn you monster.
|
# ? Mar 6, 2019 11:25 |
|
CPColin posted:Fixed for more efficiency. code:
|
# ? Mar 6, 2019 12:27 |
|
|
# ? May 21, 2024 03:34 |
|
code:
|
# ? Mar 6, 2019 13:26 |