[2019-09-30]
Квантовое самоубийство — Википедия [[quantum]]
[2019-12-28]
Simulating physical reality with a quantum computer | Lobsters [2019-10-14]
Climate technology primer (1/3): basics – Longitudinal Science [[environment]] [[literate]][2019-11-11]
I’t a bit sad how people concentrate on ideas, not execution [2020-04-23]
Riot | Malleable Systems Collective [2020-04-28]
Riot | Malleable Systems Collective [2020-05-07]
Slack | hallway | Convivial Computing Salon [2019-07-25]
Challenges in open source voice interfaces | Opensource.com [[org]] [[wledger]][2019-06-18]
Angelo Gazzola [2020-04-27]
Riot | Malleable Systems Collective [[totweet]][2020-07-15]
Nick Cammarata on Twitter: "After hearing about friends having great experiences treating GPT-3 as a therapist I tried it myself and 5 minutes in oh my god it goes straight for the throat I feel so seen" / Twitter [2019-11-17]
jestem króliczkiem on Twitter: "@gwern (somewhat ironically) that page does have ids set on divs, but no visible paragraph anchors, I referred to that section specifically: https://t.co/hSO2I5eLq1" / Twitter [[coding]] [[pkm]][2020-06-20]
Joe Rogan Experience 1350 - Nick Bostrom - YouTube [2020-06-22]
Ben Goertzel: Artificial General Intelligence | AI Podcast #103 with Lex Fridman - YouTube [[totweet]]
[2020-10-06]
David S. on Twitter: "@BartoszMilewski Penrose diagram for a black hole. Light rays travel at 45 deg. Once you pass the horizon then doomed to hit the singularity, but you will still see your feet (F->H light ray). Some other observer outside the horizon cannot see your feet after they pass the event horizon. https://t.co/cPIPn9vlqp" / Twitter
[2018-12-08]
automatic ledger style parsing [[parsing]][2017-01-22]
tweet Хочу интерактивный шелл, в который я буду кормить описание, а метку можно было бы ставить одной кнопочкой. [[ml]][2020-11-02]
jestem króliczkiem on Twitter: "debug logs are annoying when you’re not, well, debugging, on then one hand. On the other hand, quite useful since they give a sense of progress. Tried to get the best of both worlds in Promnesia by collapsing subsequent logs (only if they have DEBUG level). Ended up pretty nice! https://t.co/9G5xjSxMxz" / Twitter [[python]][2018-12-10]
Error thing which still has a fallback date (and wraps original type), I feel it’s pretty common [[datetime]][2019-09-10]
Using Portia to make spiders - YouTube https://www.youtube.com/watch?v=g7FaK7gdK_I [[inspiration]][2021-02-05]
x [[money]] [[ubi]](Obvious as it sounds, I stop and consciously make myself do this sometimes and it often works.)
<https://twitter.com/sigfpe/status/1125857019884269569 >
One realization was that my parents are also not best at every possible reshare and made mistakes and bad decisions
[2019-09-30]
Квантовое самоубийство — Википедия [[quantum]][2019-07-25]
Challenges in open source voice interfaces | Opensource.com [[org]] [[wledger]]https://opensource.com/article/19/1/open-source-voice-interfaces
Mycroft AI uses two intent parsers. The first, Adapt, uses a keyword-matching approach to determine a confidence score, then passes control to the skill, or command, with the highest confidence. Padatious takes a different approach, where examples of entities are provided so it can learn to recognize an entity within an utterance.
huh, could use that for my org mode parsing?
[2019-06-18]
Angelo GazzolaWhat is "build"?
Taking some raw materials and creating something with them. Yes, I consider bytes raw materials.
Users weighted by presence in federated timeline
Stats on toot likes/mutes
api allows retrieving messages before certain timestamp, from newer to older
can you prove that it’s not possible to assemble data in some memory efficient and consistent way?
e.g. if we had oldest to newest, it’d be possible to ‘extend’ both ways, thus persisting middle bit
with one way we have to keep track of and merge ‘segments’
say messages go from A …. Z – oldest to newest’
fetch: K — P ; interrupted
so you’ve got some middle chunk.
you can extend left bit committing regularly
e.g. G - K => G — P
B - G => B – P
etc.
Right bit, however, is more trickly. You’ll always have to commit in a single transaction
Otherwise you might end with a gap after P you’ll never close
It’s actually ok if you run often enough. But if you don’t run for a year and want to carry on, it’s gonna be quite annoying.
I guess one option is –refresh mode? go from the very end, ignore beginning and just fill it
I’d never imagine I’d be coming up with theoretical puzzles involving APIs… but here I am.
Say you’ve got an API serving messages (say, <= 10 at a time) from newest to oldest.
In addition you’ve got optional ‘before’ parameter:
fetch() – gives 10 latest messages (TODO this one isn’t even necessary?)
fetch(before=‘31 Dec 2019 23:59:59’) – gives 10 latest (ish) messages in 2019
Now imagine you want to persist all messages in the database and TODO properties
assumptions on resiliency – say you experience cosmic particles every minute that reboots your computer. So you can’t keep messages in RAM/database journal for too long
assumptions on data transfer?
assumptions on RAM – not sure if necessary, basically bounded by ram/s ans seconds of uptimes?
assumptions on catching up – i.e. you want to progress in terms of ??? e.g. for each n, amount of messages <n unavailable decreases with time?
If API was different (TODO maybe even mentioning newet to oldest isn’t important). can always sort.
allows for fairly easy
[oldest … newest] – persistent in db
loop:
oldest, newest = querydb()
extraold = fetch(before=oldest)
with db.transaction():
db.insert(extraold)
extranew = fetch(after=newest)
with db.transaction():
db.insert(extranew)
TODO in fact, even easier. if we only had after (assuming we could use 0 timestamp), then
loop:
newest = querydb() # always assumes
if newest is None:
newest = 0
extranew = fetch(after=newest)
with db.transaction():
db.insert(extranew)
the question is – what’s fundamentally wrong with ‘before’ api that makes it so hard? am I onto something deeper?
it collects properties and force evaluates them
class Error(Exception):
def __init__(self, raw: Dict) -> None:
super().__init__(f'error while processing {raw}')
self.raw = raw
@property
def uid(self) -> str:
return self.raw['hash']
# def get_entries() -> List[Result]:
# return list(sort_res_by(iter_entries(), key=lambda e: (e.created, e.url)))
#
#
# def get_ok_entries() -> List[Bookmark]:
# logger = get_logger()
# results = []
# for x in get_entries():
# try:
# res = unwrap(x)
# except Exception as e:
# logger.exception(e)
# else:
# results.append(res)
# return results
# TODO motivation for having historic backups: can keep track of changes (if you're into that sort of stats)
# TODO why data backups are hard: defensive parsing so it wouldn't require your attention immediately?
# TODO error attribute?
# alternatives:
# fill fields with dummy ids/etc/ and pass eror=Exception
# error: Optional[]
# might still break some invariants (e.g TODO friends??)
# benefit is that you don't have to do anything special and users code wouldn't fail
# downside is that it's easy to miss errors?
# returning Union[Result, Exception]
# downside: no standard method of processing such things in python
# if user forgets to handle Exception, they would end up with more exceptions which is arguably more annoying?
# on the other hand, if you got exception and
# the only minor annoyance is mypy?
# annoying to force user to han
# upside is that static checkers assist you with that (e.g. isinstance(x, Exception))
# TODO could also export Exception/Error type?
# best of two worlds?
# 'strict' -- throw all errors? requires assistance from TODO; error=None
# 'defensive' -- sets up error=attribute?
# 'return' -- TODO return exceptions?
# TODO defensive
Run custom command so it could support grep, ripgrep or whatever
[2021-01-21]
def should go this route. fuck android programming and apps@hillelogram had similar thoughts lately; on the other hand implementing right bindings/keyboard navigation patterns is quite hard from the developer's perspective. I wish there was something like html DOM for desktop/phone applications, then 3rd party devs could enhance existing software
<https://twitter.com/karlicoss/status/1174839964472872961 >
E.g. you could compensate with code for something you couldn’t do in dsl
e.g. strip off unnecessary images and javascript , make CSS denser and more informative, etc
maybe there is no sunk cost here.
def split(it: Iterator[X], predicate: X -> bool) -> (Iterator[X], Iterator[X]):
passed = slot()
failed = slot()
for i in it:
if predicate(x):
yield into passed
else:
yield into failed
return passed, failed
not sure if that’s very self consistent…
e.g. when we iterate over returned passed – how to iteratoe over failed as well
although could just treat
but how to transform this syntactically?
[2019-12-24]
similar idea: groupby fully on iteratorsdef groupby(it: Iterator[X], key: X -> Y) -> Iterator[Iterator[X]]:
last = None
groups = slot()
group = slot()
def flush():
nonlocal group, last
if last is not None:
yield group into groups
group = slot()
last = None
for i in it:
if last is not None and key(last) != key(i):
flush()
yield i into group
last = i
flush()
‘return’ groups # more like yield from?
items = [1, 1, 1, 2, 2, 3, 5, 5, 5, 4, 4, 4, 2]
predicate = lambda x: x
for git in groupby(items, predicate):
count = 0
for i in git:
if i % 2 == 1:
break
count += 1
if count > 0:
print(count)
[2019-12-24]
it’s kinda like ( ) generator syntax; but not inline[2020-12-19]
def looks like coroutinesTry to find an answer why? Why do I want to remove all this physical routine from my life? What do I do instead?
[2020-04-27]
Riot | Malleable Systems Collective [[totweet]]The physical objects around us have aspects, e.g. size, weight, temperature, fragility, stiffness.
They are very macroscopic, continuous and stable properties, so easy to experiment with and reason about.
That's also why it is somewhat flexible and possible combine and use in novel ways.
Grimes
Kedr
[2020-07-15]
[Nick Cammarata on Twitter: "After hearing about friends having great experiences treating GPT-3 as a therapist I tried it myself and 5 minutes in oh my god it goes straight for the throat I feel so seen" / Twitter](https://twitter.com/nicklovescode/status/1283294578678718470 )After hearing about friends having great experiences treating GPT-3 as a therapist I tried it myself and 5 minutes in oh my god it goes straight for the throat I feel so seen
(1 0) – spin up, (0 1) – spin down
quantum gates – a thing can only evolve according to schrodinger’s equation
(analogy to ordinary gates?)
δ t – gate only acts over Hamiltonian (???), it means inherent error?
[2019-11-17]
jestem króliczkiem on Twitter: "@gwern (somewhat ironically) that page does have ids set on divs, but no visible paragraph anchors, I referred to that section specifically: https://t.co/hSO2I5eLq1" / Twitter [[coding]] [[pkm]]<https://twitter.com/karlicoss/status/1195858695692980225 >
chrome addon to display div ids?
from functools import lru_cache
class lazy:
def __init__(self, factory):
self.factory = factory
@lru_cache(1)
def _inst(self):
return self.factory()
def __getattribute__(self, key):
print(key)
# return getattr(self._inst(), key, value)
l = lazy(lambda: {'a': 'xxx'})
l.test
len(l)
print(getattr(l, '__iter__'))
for x in l:
print(x)
[2020-06-20]
Joe Rogan Experience 1350 - Nick Bostrom - YouTubesimulation bugs must be fucking annoying – in real programs program states are often very hacky and arbitrary even from the outside, let alone how hard would it be to grasp from within inside
[2020-06-22]
Ben Goertzel: Artificial General Intelligence | AI Podcast #103 with Lex Fridman - YouTube [[totweet]]is it moral to jump on a spacecraft near the speed of light and come back when infinite life extension is possible?
the dilemma is – someone got to. if everyone jumps on the ships to cheat death, they’d all have the same flow of time relative to each other
in a way, fastforwarding time is a privilege?
[2020-07-09]
or could use a black hole?[2020-10-06]
[David S. on Twitter: "@BartoszMilewski Penrose diagram for a black hole. Light rays travel at 45 deg. Once you pass the horizon then doomed to hit the singularity, but you will still see your feet (F->H light ray). Some other observer outside the horizon cannot see your feet after they pass the event horizon. https://t.co/cPIPn9vlqp" / Twitter](https://twitter.com/Samuel_DavidA/status/1313333906947493889 )hmm so I guess your body could be 109m long and it wouldn’t matter because you can only see past signals anyway (and you’ll cross the event horizon faster?) basically your body is your lightcone, so the side doesn’t matter, and the mind is pointlike (in GR you either have the same observer, or different, and it’s kind of discrete in that sense)
I wonder what it means for a distributed system of neurons as it’s passing through the events horizon though? Although it’ll have a local update limit (irrelevant to speed of light, more of signal propagation rate), wonder what it would sense
<https://twitter.com/karlicoss/status/1313417602618789888 >
[2020-10-06]
although maybe nothing would happen? Signals move just fine whatever the directionwould be sort of cool for ‘parallel’ processing of heterogenous functions etc, dunno
[2020-12-19]
tricky to type properly because of yield from?[2018-12-08]
automatic ledger style parsing [[parsing]]wonder if this could be achieved via ML?
training set – plaintext, result is a tree, without any special meaning, just with tokens? or transformed tokens
<https://twitter.com/karlicoss/status/1211457892592820224 >
[2017-01-22]
tweet Хочу интерактивный шелл, в который я буду кормить описание, а метку можно было бы ставить одной кнопочкой. [[ml]][2020-10-07]
wtf??? what bubbles??[2020-11-02]
[jestem króliczkiem on Twitter: "debug logs are annoying when you’re not, well, debugging, on then one hand. On the other hand, quite useful since they give a sense of progress. Tried to get the best of both worlds in Promnesia by collapsing subsequent logs (only if they have DEBUG level). Ended up pretty nice! https://t.co/9G5xjSxMxz" / Twitter](https://twitter.com/karlicoss/status/1323122289517408259 ) [[python]]so I wonder if it should be an external tool. Kinda like "tail -f" + watch, but aware of certain keywords (e.g. DEBUG/INFO/ERROR in my case)
you still can make a computer and try to program it, but you can’t achieve anything without a community
so things are a mix of regular grammar and just some extractors. think about it.
[2018-12-09]
had few interesting thoughts there in commentsCould check it on examples from this dragon slaying game
[2019-10-27]
eh, perhaps isinstance + would actually be better. perhaps .untie method as well (also can be mypy assisted)[2021-01-22]
wonder if 3.10 proposal renders it obsolete?[2018-12-10]
Error thing which still has a fallback date (and wraps original type), I feel it’s pretty common [[datetime]][2019-09-10]
Using Portia to make spiders - YouTube https://www.youtube.com/watch?v=g7FaK7gdK_I [[inspiration]]Portia uses Scrapy project and enable users to make annotations in webpages. Then users can do crawlers for these webpages.
hmm, interesting, could use that for RSS extractor thingy? although common ancestor thing might be easier:
basically go up until you meet
[2021-02-05]
x [[money]] [[ubi]]Hm. I guess money, to an extent, is a motivation for unpleasant work?
E.g. once we solve basic needs with UBI, someone will have to for example, assemble computers.. or program them (also kind of unpleasant work?)
Agree it would be way better off, but I’m not sure that ‘profit motive’ will go away. Money is not just luxury, it’s also a distributed computation of the utility (somewhat flawed, sometimes very flawed, but still), and also a means of getting resources.
people who want open, interoperable and malleable worlds while potentially trading some security
people who want (need?) to be locked in and nannied by the big corporations etc
Rendering context...