ChanServ changed the topic of #glasgow to: glasgow interface explorer · code https://github.com/GlasgowEmbedded/glasgow · logs https://freenode.irclog.whitequark.org/glasgow · discord https://1bitsquared.com/pages/chat · production https://www.crowdsupply.com/1bitsquared/glasgow · CrowdSupply campaign is LIVE!
egg|laptop|egg_ has joined #glasgow
egg|laptop|egg has quit [Ping timeout: 272 seconds]
egg|laptop|egg has joined #glasgow
egg|laptop|egg has quit [Remote host closed the connection]
egg|laptop|egg has joined #glasgow
egg|laptop|egg has quit [Remote host closed the connection]
G33KatWork has quit [Ping timeout: 256 seconds]
G33KatWork has joined #glasgow
electronic_eel has quit [Ping timeout: 256 seconds]
electronic_eel_ has joined #glasgow
PyroPeter_ has joined #glasgow
PyroPeter has quit [Ping timeout: 265 seconds]
PyroPeter_ is now known as PyroPeter
_whitelogger has joined #glasgow
electronic_eel_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
electronic_eel has joined #glasgow
mndza has joined #glasgow
G33KatWork has quit [Ping timeout: 256 seconds]
G33KatWork has joined #glasgow
promach3 has quit [Quit: Bridge terminating on SIGTERM]
svenpeter has quit [Quit: Bridge terminating on SIGTERM]
gillesmauve has quit [Quit: Bridge terminating on SIGTERM]
emily has quit [Quit: Bridge terminating on SIGTERM]
_alice has quit [Quit: Bridge terminating on SIGTERM]
eddyb has quit [Quit: Bridge terminating on SIGTERM]
blazra has quit [Quit: Bridge terminating on SIGTERM]
jschievink has quit [Quit: Bridge terminating on SIGTERM]
whitequark[m] has quit [Quit: Bridge terminating on SIGTERM]
disasm[m] has quit [Quit: Bridge terminating on SIGTERM]
randomplum has quit [Quit: Bridge terminating on SIGTERM]
fridtjof[m] has quit [Quit: Bridge terminating on SIGTERM]
eddyb has joined #glasgow
promach3 has joined #glasgow
jschievink has joined #glasgow
_alice has joined #glasgow
fridtjof[m] has joined #glasgow
disasm[m] has joined #glasgow
blazra has joined #glasgow
emily has joined #glasgow
gillesmauve has joined #glasgow
whitequark[m] has joined #glasgow
svenpeter has joined #glasgow
randomplum has joined #glasgow
midnight has quit [Ping timeout: 240 seconds]
midnight has joined #glasgow
egg|laptop|egg has joined #glasgow
egg|laptop|egg_ has quit [Ping timeout: 240 seconds]
thaytan has quit [Ping timeout: 256 seconds]
thaytan has joined #glasgow
d_olex has quit [Read error: Connection reset by peer]
d_olex has joined #glasgow
spacekookie_ is now known as spacekookie
mndza has quit [Read error: Connection reset by peer]
mndza has joined #glasgow
<cyborg_ar> I wonder what would be the maximun datarate possible on a datasette using modern encoding and modulation methods.
<_whitenotifier> [glasgow] mndza synchronize pull request #265: Add bitarray implementation to eliminate external dependency - https://git.io/JtZfr
mndza has quit [Ping timeout: 260 seconds]
GNUmoon has quit [Ping timeout: 268 seconds]
oter has joined #glasgow
GNUmoon has joined #glasgow
G33KatWork has quit [Ping timeout: 256 seconds]
G33KatWork has joined #glasgow
<_whitenotifier> [glasgow] attie reviewed pull request #265 commit - https://git.io/JtCJX
<_whitenotifier> [glasgow] attie reviewed pull request #265 commit - https://git.io/JtCJ1
<_whitenotifier> [glasgow] attie reviewed pull request #265 commit - https://git.io/JtCJM
<_whitenotifier> [glasgow] attie reviewed pull request #265 commit - https://git.io/JtCJD
<_whitenotifier> [glasgow] attie reviewed pull request #265 commit - https://git.io/JtCJy
<_whitenotifier> [glasgow] attie reviewed pull request #265 commit - https://git.io/JtCJS
<modwizcode> well that bot might need to be modified slightly :p
<d1b2> <Attie> 😬 yeah... I'm glad it didn't do every comment i made...
<d1b2> <Attie> I was expecting a single ding!
<modwizcode> probably github's fault
<_whitenotifier> [glasgow] attie reviewed pull request #265 commit - https://git.io/JtCJD
<modwizcode> kind of random but I can't find an answer anywhere. How does memoryview actually differ from bytearray?
<whitequark> modwizcode: i already run a fork, https://github.com/whitequark/notifico. feel free to send a PR
<whitequark> memoryview is like std::string_view and byetarray is like std::string
<modwizcode> Maybe if I have motivation after these qemu patches :/
<whitequark> except without the footguns
<modwizcode> oh
<modwizcode> Fun fact I don't actually know how to use std::string_view and when I wanted to it seemed hard to use and annoying
<whitequark> it is an amazingly hazardous interface
<whitequark> LLVM has its own version, StringRef, and that causes no end of crashes
<modwizcode> But like I thought the point of string_view was that you could make it refer to a slice (maybe it wasn't and that's why I found it annoying)
<whitequark> yes
<d1b2> <Attie> footguns in std::string_view, and missing in memoryview?
<whitequark> you can do that with bytearray
<modwizcode> Ah the beauty of 4 copies of the same bad interface
<whitequark> Attie: memoryview manages the memory itself
<d1b2> <Attie> oh, i thought it was like a viewport to physical memory, interesting
<whitequark> like, std::string_view is a UAF factory. memoryview is not
<d1b2> <Attie> (not used it before)
<whitequark> it is a viewport into a bytearray or other buffer object
<modwizcode> I guess I was confused because I assumed that given that bytearray is already mutable how does it differ
<d1b2> <Attie> right... so what memory management does it do?
<d1b2> <Attie> seems the docs say resizing is not allowed
<whitequark> it ... keeps the buffer alive, obviously?
<whitequark> what else would it do
<d1b2> <Attie> oh, i see sorry - i was presuming it'd handle resize and things
<d1b2> <Attie> (when you said it manages the memory, i was thinking much more hands on than just keeping it alive)
<whitequark> well, std::string_view doesn't even do that
<d1b2> <Attie> yeah - now i see the glaring footgun you mention 😄
<whitequark> ah! the common mistake of assuming C++ does anything in a way that prevents accidental misuse
<d1b2> <Attie> hah, yeah... i'm not familiar enough with C++, so i guess i give it the benefit of the doubt (oops)
<modwizcode> yeah I wouldn't give C++ that
<whitequark> don't *ever* give C++ the benefit of doubt
<d1b2> <Attie> i'll remember this!
<d1b2> <Attie> it likely explains away some issues I've had in the distant past
<modwizcode> I am both surprised and not surprised that they didn't mandate design such that it was safe.
<whitequark> C++ *never* does anything just to make it safe.
egg|laptop|egg has quit [Read error: Connection reset by peer]