« first day (1731 days earlier)      last day (3442 days later) » 

@AlexM. I can't fathom how bad sushi that has been ordered is going to be. You want that shit fresh
the automatic rooting/unrooting is just nice to have
user1804599
Because the GC must update the smart pointers during compaction.
this is not gear porn
this is gear rape
15:00
@rightfold yes
user1804599
You can avoid that step if you add more indirection, i.e. use stable handles.
@thecoshman it's just a japanese restaurant that also lets you order
@thecoshman can confirm. User id (and username) still passed in websocket frame.
it's the same food they serve in the restaurant
@FlorianMargaine huh, but you need to be watching for it I presume, you can't retro actively find out that shit
15:01
@rightfold is there a logical distinction between having a root reference and having to update any outside pointers? I'm starting to think there isn't
I also ordered ramen from them, it was amazing
Jun 28 at 17:03, by Alex M.
user image
@AlexM. oh, Japanese food, fine, sushi, get it fresh.
user1804599
using stable_handle_t = std::size_t;

class GCPtr { private: stable_handle_t handle; public: ... };
class GC { private: std::unordered_map<stable_handle_t, std::tuple<object*, refcount_t>> stable_handles; }
why do people take pictures of the things they will turn into poop 24 hours later?
@thecoshman or you could look for someone who already wrote a userscript for this kind of stuff. iirc, someone wrote one for flags, should be easy enough for stars. @rlemon maybe?
user1804599
15:02
this way multiple GCPtrs can share the same stable handle.
Especially sashimi, oh god I wish I could get some nice sashimi
@rightfold Ugh, std::tuple for 2 slots
@orlp so they can id that shit
@rightfold I'd rather not go that route - there won't be many root references at any point in time anyway
@FlorianMargaine oh yeah, that's be a nice script
user1804599
15:02
Then just store std::unordered_set<GCPtr*>.
@rightfold besides, with a bit more code you can avoid the unordered_multiset altogether
user1804599
And have GCPtr's ctor and dtor and assign ops add and remove from that set.
@AlexM. Motherf...
aaaaaaaa
Hungryyyyy
@Jefffrey the marinated eggs were the best
tho I can't complain about the pork either :P
it was very well prepared so I could take away the fat parts easily
stfu
15:03
I'm surprisingly not hungry... ate a hefty breakfast sure... but just didn't feel like lunch... or much else :\
Do you put ketchup in your ramen?
You can have the smart pointer store a root_ref_id, store all root references in a vector. Then you can keep a freelist inside the vector of unused reference ids
@AlexM. there are no fat parts, just extra tasty
@R.MartinhoFernandes no
So both creating and removing a root reference would be O(1) rather than O(log references)
user1804599
15:05
Unordered set insertion and deletion are O(1).
Algorithms are cool and all, but when you study them for like a couple of weeks straight, then they become awfully boring
things get boring, the secret is to alternate and take pauses
I agree
I also reduce my progress by a lot if I don't feel like taking pauses or alternating
e.g. at times I just write two or three extra lines in a doc just to get the feeling of progress then play a game
@rightfold right, it would only be a linear speedup compared to unordered_set
15:06
if you stay away from your work for too long you lose interest
which is worse than getting bored
user1804599
w/e
user1804599
I don't particularly give a shit about performance as long as it's fast enough.
@Jefffrey The twist is that they were boring all along
I kinda agree with cat, learning algorithms for no reason other than learning them is definitely boring
try to do a problem -> research solution approach instead
I'm reading a story about a guy who did a motorbike trip from Poland to Italy on 125cc chinese bike
and the more I keep reading about how "it's perfectly fine", the more I realize it's not
15:11
I know, visiting Italy is never fine
unless you know proper pizza etiquette
user1804599
@orlp another compacting GC :P github.com/ghc/ghc/blob/…
Enable/disable debug mode. Possible values are:
* False
* True
* "merge"
Code talkers are people in the 20th century who used obscure languages as a means of secret communication during wartime. The term is now usually associated with the United States soldiers during the world wars who used their knowledge of Native American languages as a basis to transmit coded messages. In particular, there were approximately 400–500 Native Americans in the United States Marine Corps whose primary job was the transmission of secret tactical messages. Code talkers transmitted these messages over military telephone or radio communications nets using formal or informally developed...
Some time ago IL.
@rightfold all your links are such large codebases =/
no I mean... uh... He was breaking the law because only >150cc are allowed on highways, he couldn't drive properly and fell down, his leg got crushed, then infected, then instead of drinking water he drank energy drinks
15:12
@AlexM. eat it?
besides, I've got the algorithmic stuff and memory layout working now
user1804599
btw, is your goal to implement a GC or to implement a lisp?
just fiddling with the interface
he got dehydrated and almost fainted
gah, wrote a really dumb yagni-violation with a bug. Can't trap it in tests.
15:12
uh, seriously, motorcycle trips are cool unless you're a moron
@rightfold a lisp - I just want to abstract away the GC stuff into one part
@BartekBanachewicz ¬_¬ under what sort of insanity is this 'perfectly fine'?
yeah well that was his comment at the end
user1804599
because if it's the latter, it's better if you just start with the following unGC: github.com/rightfold/styx/blob/master/virtual-machine/src/…
but I do want to do it 'proper', a standalone functional lisp with GC, without doing some cheating boehm stuff :P
15:13
I dunno, my trips are usually around 80km
@BartekBanachewicz a guy linked to this on a forum, I thought it looked neat
harley fat boy or sth
user1804599
> want to do it 'proper'
user1804599
> interpret AST directly
@AlexM. cruiser
@BartekBanachewicz or bust :P
15:13
@thecoshman muh bikes
user1804599
Monthly Python
@CatPlusPlus "oh look at me moan about everything"
it says that it has 300kg or sth, it must be painful for it to fall on your leg lol
@thecoshman if you want a heavy, impractical thing that gulps gasoline like a truck, well
also H-D engines are crap
this at least has the 6-cylinder 1800cc engine from goldwing
still impractical af of course
15:15
@BartekBanachewicz vOv If I was going long distance, I'd rather not do it hunched over like on a sports bike.
@thecoshman I wouldn't do that on a cruiser either
@BartekBanachewicz Seriously, if you get yourself such a wound infected in the middle of the civilization... well, just how fucking dumb can you be?
@BartekBanachewicz if you are talking about practicality, get a fucking car
@R.MartinhoFernandes my thoughts exactly
15:16
@thecoshman nah, not really. I mean, the only thing cruisers are good at are looks.
@R.MartinhoFernandes ¬_¬
None shall pass.
Sport bikes are better to ride for fun, small bikes are better in the city, touring/sport touring bikes are better for long rides, Adventure bikes are better for fun+a tad of offroad
@BartekBanachewicz they are a more relaxed way of biking. I'm not a fan the extreme american chopper style, where you have your arms way above your head and legs spread like a whoar
@thecoshman relaxed and "fit for long journeys" are orthogonal
15:17
lol
this is a motorcycle for long journeys
is it relaxed? not really.
@BartekBanachewicz if by 'adventure' you mean motor-x style... they are more or less built for off-road
A whoar is the sound produced by a lion with a speech impediment.
@thecoshman no, not motocross. I mean "adventure". Like Honda Crossrunner.
@BartekBanachewicz ah now, I see the problem. You are wanting to get their fast, and care not for the journey it self.
15:18
I thought touring bikes were for long journeys?
@thecoshman nah, not really.
like the BMWs
lambdas are surprisingly easy to implement in fully functional languages.
@BartekBanachewicz oh right, yeah, more for the rough roads, then true off road.
@AlexM. those are "comfortable" + "long"
VFR is "sporty" + "long"
15:19
@AlexM. yeah I wouldn't mind that so much for long drives
@thecoshman exactly.
@AlexM. Oh, there's a person in there.
basically, I want to sit up on my bike, not lie on my chest
@R.MartinhoFernandes lol
15:20
@thecoshman that's the case with a lot of the bikes really. "lying on a tank" is a common misconception
I mean, take CB1000R naked
is that "lying on your chest"?
@BartekBanachewicz it's a sports bike thing :\ and not what I want at all
@thecoshman see above
hint: this is not a touring motorcycle. It's one of the most aggressive 1-litre nakeds.
@BartekBanachewicz indeed, I am reffering to sports bikes
@BartekBanachewicz that's what I'd know as a roadster style
@thecoshman like this one
That joke worked somehow in my head.
15:23
@thecoshman roadsters are bigger and with more flat head angle
my point is, the photos in which the drivers lie down on a tank in motoGP... come on
you can lie down on any motorcycle. And you can get more upright on any motorcycle
@BartekBanachewicz Is that a comfortable position, though?
except on a cruiser your legs are up front so you can't do shit
@R.MartinhoFernandes mhm.
Feels like it'd tire your arms out.
@BartekBanachewicz apart from enjoy the ride :D
@R.MartinhoFernandes it generally does more than on a touring thing
@thecoshman eh.
you can do that on a "regular" motorcycle as well
like this one
classic, stylish look, but you can actually make the thing accelerate and turn and it doesn't overheat in a traffic jam
user1804599
but that's just my opinion, I totally get why people buy cruisers
but there's a looooooot of misconceptions about motorcycles going on
@rightfold should a garbage collector be a singleton?
there are some smaller cruisers being produced right now as well
but people don't really buy those anymore, they want something they can do a trip on as well as commute daily
@orlp you managed to mix two blerghs in one sentence
Do you want a badge for that?
If I have an operator*(T, T) and there's an implicit conversion from int to T, shouldn't T(...) * 1 be allowed by the compiler?
15:38
wikipedia lists "Online Debate Network" as more civilized. Well
Ell
Ell
@Jefffrey no idea
I feel like it should
> My source fir this information is the internet. I just typed, "Is there global cooling?" on my browser.
...
amazing
Debate.org looks much better
@Ell Apparently it doesn't
heh lol
> the god I believe in is perfect, unlike other religions' gods
I don't even know where to start with this one
> Our debates leaderboard showcases the top debaters in the Debate.org community. The default view is sorted by our Elo ranking system, which takes into consideration the relative skill levels of competitors based on their debate history. You can also sort by total number of debates, debates won, lost and tied, win ratio, and percentile.
wow
@Griwes we should totes move our talks to debate.org
15:47
@BartekBanachewicz Doesn't look too terrible.
ugh I need more moneys
If the implicit conversion is templated it doesn't work, but if it's not it does?
wtf c++
@R.MartinhoFernandes oh look, there's also LORRI :D
@BartekBanachewicz I am not impressed.
@FlorianMargaine I wrote one for stars as well
@AndyProwl Yeah.
15:49
cc @thecoshman ^
@Bartek FWIW I want to at least learn to ride a (motor)bike
@R.MartinhoFernandes yeah that was a joke. There are better ones there
@Griwes I know, I think you've mentioned that.
FWIW I don't ride a bicycle in the city and never really did :D
@rlemon oh hey, wantz :D
it is pure console based
paste into console.
@rlemon ergh
15:50
reporter.get('stars')
it also monitors flags.
rlemon is here, did something get flagged
11
Q: Implicit conversion when overloading operators for template classes

pmjobinI would like to know why implicit type conversion doesn't work with outside operator overloading on class templates. Here is the working, non-templated version: class foo { public: foo() = default; foo(int that) {} foo& operator +=(foo rhs) { return *this; } };...

Oh
@BartekBanachewicz The ultimate-ish goal would be to ride around USA and Canada. Or something. But that's distant future.
Right now I need more moneys :F
riding around your neighbourhood sounds like a more reasonable stuff alright
@Griwes don't you work?
> distant future
15:51
@AndyProwl Pluto is pretty.
god mcdonadls hamburgers are horrible once cold
why do I eat this shit again
We should move it to Saturn's orbit.
Ell
Ell
@BartekBanachewicz just working or not doesn't mean you have disposable income vOv
@BartekBanachewicz I do, and I'm in fact going to be getting more moneys per day in two days
Amazing how long it took to get there
15:52
@AlexM. 'once cold'?
but that's still not enough moneys
Actually, we should move it to Earth's orbit after we move the Earth to Saturn's orbit.
Saturn best orbit.
@thecoshman horribler shrug
Actually I've just read we sent probes onto space carrying our location and traces of our civilization. I think that was not a very smart move
@Griwes pff. I'd like to ride through Poland in a bigger group.
Poland is a pretty cool country to ride through.
15:52
@AndyProwl o_0 dude, where have you been?
Under Puppy's rock
@BartekBanachewicz most countries are.
@Griwes changing jobs or a raise?
@thecoshman I'm not a smart fellow like you guys so what
better late than never
@BartekBanachewicz Raise. Hopping from 3 month contract to 9 month one. ;p
@AndyProwl ignorance is not stupidity
@Griwes full-time?
@BartekBanachewicz Well, riding around the Europe would also be neat. But well. Moneys!
@thecoshman not necessarily, but often related
@BartekBanachewicz Yeah, at least during the summer, but probably also during the final BEng semester.
15:54
@AndyProwl Why not?
oh right it's the summer and summer holidays
I forgot people study sometimes
@AndyProwl I'd argue that's a strict rule. Not knowing something has nothing to do with ability to understand something.
I forget I myself study so there
I have trouble imagining a spacefaring civilization bent on war or genocide.
I think it's one of Niven's laws.
15:55
@R.MartinhoFernandes We might end up revealing our location to someone with hostile intentions
@R.MartinhoFernandes because if an alien race is advanced enough to be travelling space, and that probe ever reaches them, and they ever work out what it means, they might come over hear and take us out... if we're still around.
Please explain why they'd do that.
@thecoshman Yeah, but getting to learn new stuff all the time and keeping everything in your head is related to intelligence
Spacefaring is a costly endeavour.
You're overselling yourself (as in, the human race).
@R.MartinhoFernandes ...unless it isn't. :P
15:56
@AndyProwl no, memory and intelligence are not the same.
@Griwes well, you could always prostitute become a codementor
@Griwes Then, it's pointless to worry about the Voyagers. Our radio waves travel much faster than the Voyagers.
or do contract internet stuff
@R.MartinhoFernandes ...unless they never invented radio?
That's a stretch, I know :D
@R.MartinhoFernandes but get weaker as they travel, by the time they reach other stars, it'd be quite the feat to detect them.
15:57
@BartekBanachewicz Then it turns into no energy to do anything else.
You can't win :F
@thecoshman IMO they're two aspects of the same thing. Defining "intelligence" is quite hard. Also "smart" and "intelligent" aren't precise synonyms either. My point is: yeah I didn't know it, or I did and then forgot, so what?
@Griwes it's satisfying
@BartekBanachewicz Is it really?
also, there aren't as many codementor thingies and it pays really well
@Griwes yeah.
hmm.
@AndyProwl I was trying to say you are not dumb... but you are making it rather hard :P
@Griwes And on the instant sessions you get $2/minute. That's $120/hour. That's 450PLN. Per hour.
¬_¬ I just read that
if you get 4 hours per week it should be a reasonable boost to your income :P
@thecoshman I know I'm not dumb :D
15:59
@BartekBanachewicz stealing works too vOv
actually in Lounge standards I'm not even sure but on average I do know

« first day (1731 days earlier)      last day (3442 days later) »