log☇︎
30300+ entries in 0.895s
a111: Logged on 2015-07-12 03:47 mircea_popescu: in any case : i don't like aes for purely political reasons. it became an apparent schelling point out of absolutely nowhere for no discernible reason. these situations always stink.
asciilifeform: pipeline doesn't leak timing either, because - if implemented correctly - you never branch on a secret (key or plaintext) bit.
a111: Logged on 2016-12-28 02:17 phf: there's not much discipline on unix with stderr/stdout. particularly gpg seems cavalier with it. so i wouldn't even bother with error/output separation. i'd make it always return a single value, string that's combined stdout/stderr, and fail when status code is not equal to zero. maybe add a key argument, that splits them if need be, but only once there's need.
a111: Logged on 2016-12-28 02:39 phf: http://btcbase.org/patches/hashes_and_errors#L118 you don't really want to do this. you're subseq'ing there to strip the a/ b/ but that's not at all a guarantee! i have a vpatch with `diff -ib -ruN /Users/pf/cmucl20d-build/src/hemlock/abbrev.lisp src/abbrev.lisp` in it for example. at the very least you want to abstract it away into its own function. that would correctly operate on a hashed-path datastructure.
ben_vulpes: "honey, don't /look/, but..."
mats: i don't follow
mats: didn't turn out to be that different, the new money here is just young white dudes that wear brooks brothers instead of uniqlo
davout: i don't get it, the expensive part for me is "finding the nail clipper", not the "clipping nails"
mircea_popescu: it wasn't ubuntu based was it ?
asciilifeform: if you don't, you are stuck using some variant of crapple.
asciilifeform: ben_vulpes: it isn't optional
gabriel_laddel_p: I don't want someone to be able to look up a webpage and debate you about what it is that they get.
gabriel_laddel_p: asciilifeform: no, and it won't.
phf: also sbcl got some balls. they've been adding all this stuff, don't do this, don't do that. i suppose you can either muffle it, or just not optional the second argument and pass nil everytime there's nothing. fwiw your code always has an argument list, so it's non issue
gabriel_laddel_p: phf: sounds absurd, doesn't it?
mircea_popescu: wasn't that the moon ?
a111: Logged on 2016-12-28 01:56 phf: i'd write it as (cmd &optional args &key input), because you always have to provide cmd (where's right now you can write (run) and the compiler won't catch it), more often than not you have to provide args and sometimes you have to provide input
a111: Logged on 2016-12-28 02:34 phf: heh, this is straight up rubyism http://btcbase.org/patches/veh-genesis#L145. it would've been much cheaper to (defstruct hashed-path path hash) and so that later you don't have to poor man datastructure by (gethash 'path ...) (gethash 'hash ...) all over the place
ben_vulpes: http://btcbase.org/log/2016-12-28#1591571 << o hey, you found the oldest and most heinous sins i didn't fix ☝︎
mircea_popescu: lol you know you don't have to roger each line :D
a111: Logged on 2016-12-28 02:17 phf: there's not much discipline on unix with stderr/stdout. particularly gpg seems cavalier with it. so i wouldn't even bother with error/output separation. i'd make it always return a single value, string that's combined stdout/stderr, and fail when status code is not equal to zero. maybe add a key argument, that splits them if need be, but only once there's need.
a111: Logged on 2016-12-28 01:58 phf: also as a rule you don't really want to let string output streams escape their scope. they don't have standard type (one cmucl it's lisp::string-output-stream for example), so you can't test for it, and for all intents and purposes they act as incomplete builders: you can't do anything with them except get their value, so why not get value there and then?
a111: Logged on 2016-12-28 01:56 phf: i'd write it as (cmd &optional args &key input), because you always have to provide cmd (where's right now you can write (run) and the compiler won't catch it), more often than not you have to provide args and sometimes you have to provide input
mircea_popescu: "Obesity can be a disability in the EU. That makes it a sticky legal issue and given that she is the lone female, that makes it doubly so. If she's transgendered (which is possible given that she stands up apparently) then it's triply so. This is so intertwined in legal ramifications I can't imagine anything you can say or do (other than what you are already) that doesn't need a lawyer to make sure you don't end up in a suit.
a111: Logged on 2016-12-28 02:17 phf: there's not much discipline on unix with stderr/stdout. particularly gpg seems cavalier with it. so i wouldn't even bother with error/output separation. i'd make it always return a single value, string that's combined stdout/stderr, and fail when status code is not equal to zero. maybe add a key argument, that splits them if need be, but only once there's need.
phf: the main folly are the unixisms all over the place. lisp works with a clear read/eval/print cycle. read means that you want to take outside input and convert it into a concrete data structure. so you shouldn't have a hash with strings in it. things like (string= "false" (gethash 'hash c)) should not happen so far down the call chain. your ~reader~ should convert the input data into a format that's easy to work with. the check could've
phf: also you don't want to concatenate paths, because that's how you end up losing separators and getting injection attacks and such. (merge-pathnames ...) will still work on strings, but will do the right thing
phf: http://btcbase.org/patches/hashes_and_errors#L118 you don't really want to do this. you're subseq'ing there to strip the a/ b/ but that's not at all a guarantee! i have a vpatch with `diff -ib -ruN /Users/pf/cmucl20d-build/src/hemlock/abbrev.lisp src/abbrev.lisp` in it for example. at the very least you want to abstract it away into its own function. that would correctly operate on a hashed-path datastructure. ☟︎☟︎
phf: heh, this is straight up rubyism http://btcbase.org/patches/veh-genesis#L145. it would've been much cheaper to (defstruct hashed-path path hash) and so that later you don't have to poor man datastructure by (gethash 'path ...) (gethash 'hash ...) all over the place ☟︎
phf: oh i guess you're checking process-exit-code again, even though you already caught an error for it. i think handler-bind is just confusing here. (handler-case (... t) (error (error) nil)) would've been much more obvious. "succeed and return t or fail and nil"
phf: http://btcbase.org/patches/hashes_and_errors#L68 you don't really want to use handler-bind here. you want h-b only when you're working with the whole restart machinery. (handler-case (let ...) (external-program-error (error) ...)) is equivalent of the try/catch that you're doing here
phf: there's not much discipline on unix with stderr/stdout. particularly gpg seems cavalier with it. so i wouldn't even bother with error/output separation. i'd make it always return a single value, string that's combined stdout/stderr, and fail when status code is not equal to zero. maybe add a key argument, that splits them if need be, but only once there's need. ☟︎☟︎☟︎
ben_vulpes: phf: ty, keep it coming if you don't mind, i must go async
phf: also as a rule you don't really want to let string output streams escape their scope. they don't have standard type (one cmucl it's lisp::string-output-stream for example), so you can't test for it, and for all intents and purposes they act as incomplete builders: you can't do anything with them except get their value, so why not get value there and then? ☟︎
phf: i'd write it as (cmd &optional args &key input), because you always have to provide cmd (where's right now you can write (run) and the compiler won't catch it), more often than not you have to provide args and sometimes you have to provide input ☟︎☟︎
phf: i for one am looking for to a gattaca future, where i have to hire a standin for myself. to run amazon echo and nest and facebook and all the other things like that so that there aren't any irregularities
mircea_popescu: i do know exactly what i don't want however.
mircea_popescu: i don't know exactly what i want.
mircea_popescu: at least in intent/intuition i can see the cat-v, wanted to be tmsr, didn't know what it wants or how it goes thesis.
mircea_popescu has always wondered how much of the ecdsa push met with approval because people couldn't do bignum math anyway.
ben_vulpes: dunno, don't care
ben_vulpes: jurov: didn't polarbeard or whomever threaten us with a js v?
jurov: ben_vulpes: if #t becomes dull some day, you can stir it by translating it to javascript
pete_dushenski: http://archive.is/aHlQo#selection-687.1-687.111 << " Fatties don't do wine valleys & shabby-chic decor. We do pork rinds & farting in our own trucks. It's science."
mircea_popescu: there is A LOT of strength in this, having a core of libs/utils that aren't merely written, nor merely reviewed, but TRANSLATED
mircea_popescu: it stands to reason that no, those two aren't your only options.
asciilifeform: 'I made this half-pony, half-monkey monster to please you / But I get the feeling that you don't like it / What's with all the screaming? / You like monkeys, you like ponies / Maybe you don't like monsters so much / Maybe I used too many monkeys / Isn't it enough to know that I ruined a pony making a gift for you?' (tm) (r) (j. coulton)
BingoBoingo: "The amount of hospitalisations and appointments that have lead me to this point isn't a low number" doesn't see problem in being a fatso https://archive.is/37T8w#selection-85.279-85.377
ben_vulpes: anyways, mircea_popescu says "don't shell out to sha512sum"?
ben_vulpes: guy lays out in his "how ironclad came to be" that he doesn't really spend much time on it anymore.
phf: "you can't fix a machine by just power-cycling it with no understanding of what is going wrong"
mod6: ah ok. was that the pdf i didn't read?
ben_vulpes: i don't want to say something like "ensure you have HEAD of the Ironclad library", i think it's more likely and more in line with waht mod6 is doing to shell out to sha512sum
mod6: and we had some ideas regarding the same, but didn't come to any specific conculsions.
asciilifeform: (until it wasn't)
ben_vulpes: i don't usually fuck with dependencies, but when i do i want my ide to fix all of the problems for me
mircea_popescu: he didn't even mean anything by it, he was using it ~to encourage~ the kids.
phf: ben_vulpes: it's actual the opposite lulz right now. intellij idea is excellent tool for shitstacking, but i know ok devs who stick to subltime text or vim because "lightweight" "real hacker tool", even though they lack discipline and skill to use those tools effectively. it's like "no, you should probably use this thing, so that i don't have to fucking deal with your inability to format your own source file"
mircea_popescu recalls meeting cca i dunno, 2005 maybe ? dorks were going to make a shop, made demo, mark (eldery expat, texan, totally lovely) innocently goes "wouldn't this be a lot better if it worked ?"
trinque: if that doesn't indicate ~there's no one at the wheel~ ...
phf: ben_vulpes: "i don't know what's going on here" "ok, let's see what the source says *opens source, starts reading*" "???!?!??!??!?"
phf: asciilifeform: i literally don't spend ~any time~ learning web on my own. i simply have this unprecedented apparently ability to sit the fuck down and read the documentation/source code for longer then it takes to google twitch. spend 3 hours of reading docs??? forget about it, i might as well be a wizard of some sort.
ben_vulpes: ain't like alibaba and amz are going to stop shipping cheap petrocrap to the states
jurov wonders why no mention of fully skynet-capable tractors that can't be bought, only licensed
a111: Logged on 2016-12-27 19:46 ben_vulpes: http://btcbase.org/log/2016-12-27#1591017 << i intuited the same thing, but that it didn't sha512 properly until...last year? induces ye olde pucker
ben_vulpes: http://btcbase.org/log/2016-12-27#1591017 << i intuited the same thing, but that it didn't sha512 properly until...last year? induces ye olde pucker ☝︎☟︎
ben_vulpes: whole first paragraph didn't register or what
asciilifeform: ben_vulpes: if the solution is in java, then it isn't a solution, and chances are that your 'problem' is also not a problem
asciilifeform: (it ain't a hare, the kind in the woods, but a beam of sunlight a kid throws around with something shiny, for amusement)
asciilifeform: is that where folx who don't ~have~ to drag their arses to an office daily, do anyway, like that fired japanese d00d from earlier thread...?
phf: it's active ~disempowerment~, because opengl is already a tricky state machine, but they are trying to manipulate it by controlling a puppet that's using chopstick to toggle switches on a pdp-10 that has effects on the environment state. i'm sure ~if you don't need unity~ you can filter out all the noise, but good luck if that's your first exposure to 3d
asciilifeform: ' ... and if you don't want the opengl's scaling to kick in you have to get the size just right ' << abstractions ftw! gabrielladdel forward and onward !
phf: discussing the moon phases of successful appstore game releases with their shamans, i spent about an hour shoulder surfing one of the "main devs". guy was trying to get a texture to render without artifacts (ultimately it's a texture mapped to a surface in opengl and if you don't want the opengl's scaling to kick in you have to get the size just right), and literally everything that he was saying was in terms of "i read this one
phf: there's a gamedev coworking in philly, the space is primarily rented by some team that had a handful of successful releases in appstore. naturally games written in unity. they can't rent by themselves, but as a minor celebrity (game featured on appstore frontpage for a whole two weeks!1) they can share rent with a handful of other 1-2 people teams. i went there once before finding all this out, because was expecting a scene squat. after
mircea_popescu: and the ~only way~ innocent grasshopper could even know about this is if graybeard can be arsed to go through these motions - which you couldn't pay me to do as a regular thing.
phf: you don't understand, that's just code bro machismo speaking. we must make programming easier and more accessible, so that even kids in uganda can produce AAA award winning games!
mircea_popescu: these people can't find a simple limit in their head and yet fucking vectors are no good for them anymore.
phf: at some point you could easily find small collections of early gosling quotes, which are really quite harsh and were liberally in anti-java arguments, but now i can't find any :o
asciilifeform: 'And you're right: we were not out to win over the Lisp programmers; we were after the C++ programmers. We managed to drag a lot of them about halfway to Lisp. Aren't you happy?' -- steele (yes, that one, of CLTL!)
mircea_popescu: for that matter, "ai" wouldn't be confused with a large bank of switches.
mircea_popescu: if the average programmer were literate as opposed to marginally qualified clucker, a) configuration wouldn't be confused with programming and b) vice-versa either.
mircea_popescu: and the whole thing relies on a certain blindness of "why is the tomato green on your cash register but blue in my plate and shouldn't tomatoes be red to begin with" which is the very bread and butter of both "mit is the premier science and technology institution at the world series" as well as "thank you for your leadership we will conqueliberate mosul in two weeks three years ago. or four."
phf: mircea_popescu: that's not what i meant. there are others here who talk about good or bad, where's i don't care, because the cause and effect there is so far removed from where i'm standing i can only look at it in entomological terms
mircea_popescu: diana_coman i guess the rurality point is actually very apt. just because the monkeys got force-moved to urban "developments" doesn't mean they're not still retarded.
mircea_popescu: you can't beat this.
diana_coman: there is no scheme and no notion of scheme, because only interface and you know a bit country style: what do you mean you don't know how to get to X? EVERYBODY knows
mircea_popescu: but it isn't. because the scheme's batshit insane.
Framedragger: what don't you like about this bunch of stuff you posted? :)
mircea_popescu: you can't EVEN GET IT RUNNING today. forget build anything.
mircea_popescu: did you just say "it doesn't work but it's the usg.offer for the space and therefore it must be respected" ?
a111: Logged on 2014-12-10 00:51 asciilifeform: mircea_popescu had an article (or perhaps a thread here? but can't seem to find it...) about an archetypical u.s. expat. fellow keeps a pub somewhere in thailand, or cambodia, etc. the locals - drink for free. he fancies that if he begins to run out of dough, he can always start charging. but somehow in the back of his head he knows what will happen to his sorry arse if he were to do so.
phf: just to clarify it doesn't use ctypes, it's using the old https://docs.python.org/2/extending/extending.html api. which i suspect is faster, since you're constructing python objects immediately, rather than across the ffi boundry the way ctypes/CFFI would have to naturally do it
phf: i wouldn't say it's evil nor not evil
Framedragger: no doesn't use htaccess just checked
phf: http://btcbase.org/log/2016-12-27#1590973 << hah, pycrypto is ~all~ c. python has this ffi mechanism, where import can work on an .so and there are standard hooks for registering/providing python object equivalents from your c code. in this case i don't think there's a single python line in pycrypto at all ☝︎
Framedragger: i don't know if redirection plugin does that. if you mean that a plugin would add a new line to htaccess then yeah that's retarded. don't think that's how it works
asciilifeform: it is not about primes at all, aha, but about the ancient proverb where 'you can't hide an awl in a sack'
mircea_popescu: (and no, the above truth isn't "about primes" anymore than the golden section is "about a4 paper".)
mircea_popescu: incidentally, there must also be a "timing" attack that relies not on time but on properties of integers. and no i don't mean birthday attack - if your hashing is an arithmetic process then necessarily the fundamental fact that "primes count is log integers count" in some sort of restatement is going to bite you somewhere.
mircea_popescu: i don't think alf understands how the world works.