--- Log opened Fri Jul 21 00:00:31 2017 |
00:35 | | Vorntastic [Vorn@Nightstar-q22v8j.sub-174-199-10.myvzw.com] has quit [Connection closed] |
00:35 | | Vorntastic [Vorn@Nightstar-a2t6ba.ct.comcast.net] has joined #code |
00:38 | | Vornlicious [Vorn@Nightstar-q22v8j.sub-174-199-10.myvzw.com] has joined #code |
00:41 | | Vornlicious [Vorn@Nightstar-q22v8j.sub-174-199-10.myvzw.com] has quit [Connection closed] |
00:41 | | Vornlicious [Vorn@Nightstar-71nck9.ct.comcast.net] has joined #code |
00:42 | | Vorntastic [Vorn@Nightstar-a2t6ba.ct.comcast.net] has quit [Ping timeout: 121 seconds] |
00:42 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] |
00:48 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code |
00:48 | | mode/#code [+o Reiv] by ChanServ |
00:51 | | Vorntastic [Vorn@Nightstar-q22v8j.sub-174-199-10.myvzw.com] has joined #code |
00:51 | | Vorntastic [Vorn@Nightstar-q22v8j.sub-174-199-10.myvzw.com] has quit [Connection closed] |
00:51 | | Vornlicious [Vorn@Nightstar-71nck9.ct.comcast.net] has quit [Connection reset by peer] |
00:52 | | Vorntastic [Vorn@Nightstar-q22v8j.sub-174-199-10.myvzw.com] has joined #code |
01:14 | | Derakon[AFK] is now known as Derakon |
01:48 | | RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has quit [[NS] Quit: Leaving] |
02:28 | | Jessikat [Jessica@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: Leaving] |
02:35 | <&Derakon> | From a review-of-sorts of Solidity, the language baked into the cryptocurrency Ethereum: "Everything is 256 bits wide, including the "byte" type. This means that whilst byte[] is valid syntax, it will take up 32x more space than you expect. Storage space is extremely limited in Solidity programs. You should use "bytes" instead which is an actual byte array. The native 256-bit wide primitive type is called "bytes32" but the actual 8-bit wide |
02:35 | <&Derakon> | byte type is called "int8"." |
02:35 | <&Derakon> | "For loops are completely broken. Solidity is meant to look like JavaScript but the literal 0 type-infers to byte, not int. Therefore "for (var i = 0; i < a.length; i ++) { a[i] = i; }" will enter an infinite loop if a[] is longer than 255 elements, because it will wrap around back to zero. This is despite the underlying VM using 256 bits to store this byte. You are just supposed to know this and write "uint" instead of "var"." |
02:35 | <&Derakon> | "In some situations, the optimizer replaces certain numbers in the code with routines that compute different numbers." |
02:35 | <&Derakon> | "Types shorter than 32 bytes are packed together into the same 32 byte storage slot, but storage writes always write 32 bytes. For some types, the higher order bytes were not cleaned properly, which made it sometimes possible to overwrite a variable in storage when writing to another one." |
02:36 | | Jessikat [Jessikat@Nightstar-ebik7k.dab.02.net] has joined #code |
02:36 | <&Derakon> | Source: https://news.ycombinator.com/item?id=14691212 |
02:37 | <@himi> | What kind of moron would invent a programming language /and/ a cryptocurrency and then tie them together? |
02:38 | <&Derakon> | Someone who decided the only way to properly implement their cryptocurrency was to have a domain-specific language, presumably. |
02:38 | <@himi> | So, a moron? |
02:39 | <&Derakon> | A moron with a $20 billion market cap. |
02:39 | <@himi> | . . . seriously? |
02:41 | <&Derakon> | https://coinmarketcap.com/ |
02:43 | <@himi> | That's just the value of each "coin" times the number in circulation - the actual real world value would be far less |
02:43 | <@himi> | It's still stupid, though |
02:44 | <@himi> | How the hell could something with those kinds of flaws end up seeing that level of use? |
02:49 | <&Derakon> | I mean, you're familiar with the average quality level of production code, right? >.> |
02:50 | <@himi> | I work daily with OpenStack - I'm familiar with /below/ average quality production code |
02:51 | <&Derakon> | Well then, you know that it's not whether the implementation is good, just whether it achieves the desired goals without causing too much damage en route. |
02:51 | <&Derakon> | I mean, look at PHP. |
02:51 | <&Derakon> | Damn thing practically drove Web 2.0. |
02:52 | <@himi> | It drove people away from it to a large extent, as alternatives came along that sucked less |
02:52 | <@himi> | But yes, I know what you mean |
02:53 | <@himi> | I'd have thought the existence of bitcoin with such a large head start would have made it harder for something totally stupid to get a solid base |
02:54 | <@himi> | But then, I guess cryptocurrency is such an ideological field that it inherently attracts people with b0rked judgement |
03:17 | <&McMartin> | The goal of Ethereum is to enslave people by contract to the whims of computer overlords, with the expectation that this means that hackers can enter contracts that mean they get all the money, oh ho ho ho ho |
03:18 | <&McMartin> | There was in fact an Ethereum-based investment scheme that mysteriously decided to start "investing" everyone's money in one participant's pockets, basically |
03:19 | <&McMartin> | And the other members of the scheme were so far gone there was actual debate amongst them regarding whether or not they had been defrauded |
03:20 | <@himi> | Ah, I've heard of that one, though I'd forgotten the name |
03:21 | <@himi> | One of many cases where the lolbertarian tendencies of a lot of techies turned around and bit them |
03:24 | < Vorntastic> | Hooray Dunning-Krugerrand |
03:24 | < Vorntastic> | V2.0 |
03:47 | <&ToxicFrog> | "I'd have thought the existence of bitcoin with such a large head start would have made it harder for something totally stupid to get a solid base" |
03:47 | <&ToxicFrog> | have you seen bitcoin |
03:51 | | celticminstrel [celticminst@Nightstar-4r2i8l.dsl.bell.ca] has joined #code |
03:51 | | mode/#code [+o celticminstrel] by ChanServ |
03:52 | | Turaiel[Offline] is now known as Turaiel |
04:25 | | macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds] |
04:25 | | macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code |
04:26 | | mode/#code [+o macdjord] by ChanServ |
04:32 | | Vornlicious [Vorn@Nightstar-a2t6ba.ct.comcast.net] has joined #code |
04:32 | | Vorntastic [Vorn@Nightstar-q22v8j.sub-174-199-10.myvzw.com] has quit [Ping timeout: 121 seconds] |
05:08 | | Derakon is now known as Derakon[AFK] |
05:17 | | celticminstrel [celticminst@Nightstar-4r2i8l.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
07:13 | | Turaiel is now known as Turaiel[Offline] |
07:54 | | Vorntastic [Vorn@Nightstar-u3sm1p.sub-174-199-6.myvzw.com] has joined #code |
07:56 | | Jessikat` [Jessikat@Nightstar-k5mr94.dab.02.net] has joined #code |
07:57 | | Vornlicious [Vorn@Nightstar-a2t6ba.ct.comcast.net] has quit [Ping timeout: 121 seconds] |
07:58 | | Jessikat [Jessikat@Nightstar-ebik7k.dab.02.net] has quit [Ping timeout: 121 seconds] |
08:31 | | Vorntastic [Vorn@Nightstar-u3sm1p.sub-174-199-6.myvzw.com] has quit [[NS] Quit: Bye] |
08:31 | | Vorntastic [Vorn@Nightstar-rp1bjq.ri.cox.net] has joined #code |
08:32 | <&[R]> | <Dr_Cain> https://twitter.com/cdaffara/status/887569304069296128 Lol Poettering |
08:33 | | Vornlicious [Vorn@Nightstar-u3sm1p.sub-174-199-6.myvzw.com] has joined #code |
08:35 | | Vorntastic [Vorn@Nightstar-rp1bjq.ri.cox.net] has quit [Ping timeout: 121 seconds] |
09:41 | <@TheWatcher> | [R]: ... because it's not like there aren't dozens of actual, proper public time servers out there. |
09:55 | <&[R]> | I know right? |
10:49 | | Vornlicious [Vorn@Nightstar-u3sm1p.sub-174-199-6.myvzw.com] has quit [Connection closed] |
10:56 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds] |
11:28 | | gnolam [lenin@Nightstar-ian7gg.cust.bahnhof.se] has quit [[NS] Quit: Z?] |
14:26 | | Jessikat [Jessikat@Nightstar-gujh1g.dab.02.net] has joined #code |
14:30 | | Jessikat` [Jessikat@Nightstar-k5mr94.dab.02.net] has quit [Ping timeout: 121 seconds] |
19:03 | | Jessikat` [Jessica@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
19:04 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
19:04 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
19:58 | | Jessikat` [Jessica@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Connection closed] |
20:56 | | Jessikat` [Jessikat@Nightstar-72bu6h.dab.02.net] has joined #code |
20:59 | | Jessikat [Jessikat@Nightstar-gujh1g.dab.02.net] has quit [Ping timeout: 121 seconds] |
20:59 | | Jessikat`` [Jessica@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
22:41 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] |
22:42 | | RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has joined #code |
23:08 | | Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Ping timeout: 121 seconds] |
23:12 | | Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code |
23:12 | | mode/#code [+o Alek] by ChanServ |
23:34 | | Jessikat` [Jessikat@Nightstar-72bu6h.dab.02.net] has quit [[NS] Quit: Bye] |
--- Log closed Sat Jul 22 00:00:32 2017 |