« first day (1476 days earlier)      last day (3465 days later) » 

10:00 PM
:I no longer live in a bedroom in a house owned by family.
 
I wish I still lived in my parents' home right now
I want to see how loud the speakers can get
but neighbors
(it's 0:00)
 
Ell
hmm my boot probably says I have umbungo installed
ah well
 
Wow
uTorrent has a dependency on Boost
wat
 
Why is that surprising
 
because I wouldn't make a "normal" user compile boost
 
user1804599
10:06 PM
A normal user does not compile µTorrent.
 
Ell
^
 
user1804599
They compile Transmission instead.
 
Ell
a distributor compiles uTorrent
 
this uTorrent executable crashes and the error is that there's a missing boost library apparently
 
Ell
I hope I didn't install unity by accident
 
10:08 PM
installing utorrent apparently closes chrome
wtf is going on
 
Ell
lol
 
user1804599
Don't install µTorrent. It's shit.
 
Do you have an alternative?
 
uTorrent really is shit
yeah
 
user1804599
It probably installs ten toolbars and has to restart Chrome for them to have an effect.
 
10:08 PM
I don't have a problem with uTorrent
 
Ell
how about BitTorrent?
 
let me see what the torrent thing I use is called
 
@rightføld It just set my default search engine to yahoo
why
 
user1804599
57 secs ago, by rightføld
Don't install µTorrent. It's shit.
 
yes, ok, it's shit, but why help yahoo
they probably pay utorrent for this
stupid question
 
user1804599
10:09 PM
Because Yahoo! paid those who created µTorrent.
 
oh yeah
I use qBittorrent
it works well and doesn't install funky shit
 
@Jefffrey lol you're installing something weird
 
user1804599
F.lux darkroom is funny.
 
user1804599
If only I were in a darkroom.
 
user1804599
If only darkrooms were AIDS-free.
 
10:11 PM
@Ell bit torrent just did the same shit utorrent did
 
use qBittorrent I'm srs
 
user1804599
Also this fake Dr. Pepper tastes better than Coca-Cola.
 
it's one of those free and open source alternatives to uTorrent
 
rtorrent <3
 
it lunches now though
 
user1804599
10:12 PM
Transmission is good.
 
so at lest it doesn't crash
and now of course I lost every torrent I was downloading
happy halloween btw
 
ok, next year I want to move somewhere else where I'd have a lot of space
and get these
 
user1804599
There is no such thing as a happy halloween.
 
a girl wished me happy halloween lol
I was like "ok"
I know my way around the ladies
 
user1804599
I'd say I hate halloween.
 
user1804599
10:14 PM
Halloween still somehow manages to be less terrible than Christmas, though.
 
trick or treats
whatever you say at halloween
 
user1804599
Maybe because it's not popular in the Netherlands.
 
trick or tits?
3
 
so many starz in the sky
 
returning a const local variable does not prevent move or move-elision. cool.
 
user1804599
10:15 PM
I don't give them treats. And if they trick me I'll throw ignited gunpowder-filled Flügel bottles at them.
 
Ell
I've been at work for 10 hours so I'm exhausted
else I'd go out for Halloween and probably bone a slut and cry afterwards because of how lonely I am
5
 
user1804599
@StackedCrooked Why would it?
 
const objects normally can't be moved.
 
user1804599
I like Stuart Sierra.
 
@Ell please don't ever have sex
 
10:16 PM
I'll get myself one of the beers I got today
and do some clojure
on this fine halloween night or w/e
 
user1804599
He uses reverse FQDN as Clojure namespace names, unlike almost everyone else.
 
since const T&& triggers copy constructor rather than move constructor.
 
Ell
I kid!
 
Wait
You literally mean a slut?
 
Ell
I probably still wouldn't go out because I don't like clubbing much really :P
@Jefffrey what else could I mean? o.O
 
10:17 PM
Some random girl
 
user1804599
@AlexM. work with me on a tool I am working on!
 
user1804599
@Jefffrey yes i am indeed a slut
 
Ell
@Jefffrey yeah, a slut is a random promiscuous girl
that's what I mean
 
@rightføld i know wunderdick
 
user1804599
 
10:18 PM
@Ell then you could have meant a prostitute
 
@rightføld this book starts by presenting refs, but only shows you how to do swap! on an atom consisting of a list I think, and uses conj in the swap to change the atom
 
Ell
@Jefffrey Ohhhh
 
I wish it started with how to change atoms directly
then I wouldn't have had to do
 
Ell
They are more commonly referred to as whores
 
bitches
 
user1804599
10:19 PM
@AlexM. you mean assign to them?
 
(swap! some-ref (fn [x] 5))
(a lambda that does nothing with the param and just returns the new value)
 
user1804599
(reset! some-ref 5)
 
what lisp is this
 
@rightføld aha, I knew there must've been some simpler way
 
OK, the auction is on. The farmers won't get their set-aside checks for another week, so I have a chance..
 
10:19 PM
wish they started with that
thx
 
Ell
Nijjer
 
lol
 
Ell
or clojure
 
user1804599
Or (swap! some-ref (constantly 5)).
 
Ell
or something
 
user1804599
10:20 PM
But prefer reset!.
 
you know I've been wondering
 
are lisps pure functional?
 
IIRC trick or treat means "gimme treats or I trick the shit out of you"
@Jefffrey no
 
user1804599
There are probably purely functional lisps.
 
i see
 
10:21 PM
do kids prepare some form of tricking when they go trick or treating
 
and they are usually not statically typed, right?
 
like, someone doesn't want to give you treats and chooses trick instead
 
@AlexM. yes
 
what do you do
 
user1804599
they throw toilet paper into your tree or throw eggs at your house
 
10:22 PM
you throw eggs in their face
 
that's evil
 
or put toothbrush in their mail
 
user1804599
6 mins ago, by rightføld
I don't give them treats. And if they trick me I'll throw ignited gunpowder-filled Flügel bottles at them.
 
put scotch on their bell ring button
 
user1804599
Exploding glass is good weapon.
 
10:22 PM
I'd automate my gates to automatically enclose them once they get in
reverse trick or treat bitch
give me your candies
 
lol
 
user1804599
Or maybe I would give them toxic candy.
 
user1804599
Candy with cyanide in it. Or quicksilver.
 
or rat poison
or just alcoholic candies
hilarity guaranteed
or lsd
i'm not this evil usually
 
user1804599
Or a microwaved jawbreaker.
 
Ell
10:25 PM
Or herpes
 
user1804599
Ebola.
 
what do you call this
 
user1804599
Tape.
 
Ell
Scotch tape
 
@Jefffrey Rape
 
10:26 PM
good
 
user1804599
Plakbandrolhouder met plakband.
 
@rightføld uitstekend
 
Ell
I'm not sure I should have added y'all on twitter
I'm kind of nervous about it
 
nervous about what
 
user1804599
@StackedCrooked oog-uitstekend
 
Ell
10:26 PM
idk, posting about something here
 
why
i've been crapping all day and i'm still not empty
 
you stink
 
i've just moved from having to crap once a month, to crapping 3 times a day
i guess my liver is getting better or something
 
user1804599
Ok so
 
@Jefffrey scoci
(read as scotch)
 
user1804599
10:30 PM
The smaller the age of a record the more important it is. I want the sum of importance of all records that match a predicate, and I want to calculate it every time a new record arrives.
 
Anybody built a system with a K40 GPU? I'm wondering how much cooling it will need...
 
user1804599
Is it possible to do that better than running an O(n) algorithm for each new record?
 
4 coolings
 
you know I thought it will be fun to try out this chicken recipe that uses curry powder
so I bought curry powder
now my whole kitchen stinks of curry
 
@CatPlusPlus too cool?
 
10:32 PM
34 inch of coolings
 
user1804599
eurlings
 
if it's still too hot, just add 3 more meters of cooling
remember to measure them in radians
not fahrenheit
 
@rightføld depending what you mean with a predicate, no it can't be done better than O(n)
@rightføld because every element could potentially return true when called with the predicate you need to scan every element
 
user1804599
Well basically records grouped by name.
 
user1804599
Not arbitrary predicate.
 
10:35 PM
logn maybe
 
user1804599
So [Record] -> Map RecordName Double
 
@rightføld what is the relationship between age and "importance"
 
user1804599
The smaller the age the larger the importance.
 
user1804599
Like this wait
 
yes
but what formula
 
10:35 PM
what is the predicate?
 
Oh boy oh boy dicsourse upgrade
 
I can't tell, is all this talk about discourse being good honest or bitter sarcasm?
I never used it
 
There's a reason we call it dicsource
 
user1804599
@nightcracker importance = 1 / (current time - record creation time)
 
(it's developed by gay people)
 
user1804599
10:37 PM
So is all software I produce.
 
user1804599
Which is pretty good.
 
@rightføld well first of all you can create buckets of records that have the same name
@rightføld then finding the right bucket is O(log m) where m is the number of unique names
then within that bucket... hold on checking some math
 
isn't calculating the sum at every addition an O(1) operation?
 
> REVERT commits for raw handlebars rendering. We need to create a …
> ...
> Revert "REVERT commits for raw handlebars rendering. We need to creat
 
user1804599
The naive solution would be to sum(map(importance, records)) every time a new record arrives.
 
user1804599
10:40 PM
@Jefffrey problem is that age is dynamic (depends on current time).
 
Ell
yay my computer still works
 
@rightføld when a new record arrives you check it's name and find the bucket it belongs in
 
@rightføld then yes, it's log(n)
 
@rightføld you add it to that bucket and then compute the importance of that bucket alone
 
user1804599
Yes, I was already planning to do that.
 
user1804599
10:41 PM
But how to do the per-bucket stuff.
 
or O(n) if you want to update every single time
 
user1804599
Forget about grouping, just calculating the sum of importance of all records.
 
even in case of duplicates
 
@rightføld what language?
 
user1804599
Clojure.
 
user1804599
10:41 PM
Or SQL.
 
wait
maybe not
 
@rightføld I thought you wanted the sum only of the records that matched the name
 
user1804599
so basically
 
it's O(1)
 
@Jefffrey no
 
10:42 PM
just remove the current time from the formula
 
@Jefffrey you can have duplicates in one name
@Jefffrey but that's wrong
 
@nightcracker no, you just add it later
(finding duplicates is log(n), I get that)
 
user1804599
records = []
onRecord(record => {
    records.append(record);
    now = datetime.now(); // IMPURE
    Σimportance = sum(lambda r: 1.0 / (now - r.time), records);
    print(Σimportance);
});
 
@rightføld you want the sum of importance of ALL records?
@rightføld I thought only those which "matched the predicate"
 
user1804599
@nightcracker It doesn't matter whether I apply this algorithm to all records or only a selection of records.
 
10:44 PM
@rightføld yay, it works
(defn make-sensor-callback []
  (fn [temperature]
    (reset! last-temperature temperature)))
 
user1804599
@AlexM. Eww mutable variables.
 
I have to store it somewhere to pass it to prolog whenever I want
 
@rightføld I don't understand
 
user1804599
@nightcracker forget about predicates and filters.
 
I also need a history of temperatures but that's for later
 
user1804599
10:45 PM
y u use prolog
 
user1804599
use core.logic
 
@rightføld anyway, an inverse linear relationship between current time means you'll have to recompute it for everything everytime, yes
 
Xeo
 
user1804599
@nightcracker so there's no way I can somehow take Σimportance out of the callback and mutate it from within the callback? :(
 
@rightføld because I started using prolog long before I started using clojure
 
user1804599
10:47 PM
I'm not interested in the exact values of Σimportance, as long as sorting multiple Σimportances results in the same order.
 
@rightføld aha!
@rightføld that's an entirely different story
@rightføld you basically want to sort on age?
newest first
 
user1804599
One thing I thought of was exponentiating it every time, but that would quickly lead to very large numbers.
 
user1804599
@nightcracker on sum of importance.
 
you're asking for sorting
what are you sorting
the sum was over all records
 
core.logic examples sure look complicated
 
user1804599
10:49 PM
So if I have two sets of records I want to sort the set of sets by how many recent records there were.
 
I mean much more complicated than
weather(Temperature, Type) :- Temperature > 25, !, Type = 'Hot'.
 
@rightføld does it have to be exactly this formula?
 
> FIX: prevent iframe in expended quote
 
@rightføld or was that just a guess of yours?
 
user1804599
@nightcracker No, but I prefer a similar graph.
 
user1804599
10:50 PM
Preferably not linear.
 
Xeo
Alright, time to invest $20
 
@rightføld could you give an approximate "score" for each timeslot? 1-10 sec old, 1 min old, 1 hour, 1 day, etc
like, sketch a curve
 
I'm fairly sure you can get a formula that only depends on the sum of all times of all records
(not dependent on the fraction and the current time)
 
@Jefffrey I'm fairly certain you can't if your curve isn't linear
however you might be able to use caching
 
the current time is a constant at the moment of calculation
 
10:53 PM
if instead of accurate formulas you use timeslots
 
user1804599
-- basically this:
select records.name
     , sum(1 / extract(epoch from current_timestamp - records.posted_at))
  from records
 group by records.name
 
you already showed us that
do you really value some record that is 30 sec old 4 times as much as one that is 2 minutes old?
 
if the formula was (now - a) + (now - b) + ..., then you would be able to have something like (now * n) - sum
 
@Jefffrey but that's linear
@Jefffrey I said if your curve wasn't linear
 
user1804599
 
10:59 PM
nevermind
i'm dum
 
@rightføld I too can draw the graph of 1/x, but I'm asking you - is this really what you want?
 
user1804599
Yes.
 
@rightføld are 4 records, one from 30 sec ago, 3 from years ago really "fresher" than 4 records from 2.5 mins ago?
 

« first day (1476 days earlier)      last day (3465 days later) »