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.
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.
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"
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.
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
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
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: 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: 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
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.
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.
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
ben_vulpes: whole first paragraph didn'
t register or what
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
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
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.
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
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
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
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.