[ prog / sol / mona ]

sol


textboard?

1 2018-10-30 16:04

Are you from the past?

2 2018-10-30 16:33 *

Anyways, >>1, please listen to me. That it's really related to this thread.
I went to Yoshinoya a while ago; you know, Yoshinoya?
Well anyways there was an insane number of people there, and I couldn't get in.
Then, I looked at the banner hanging from the ceiling, and it had "150 yen off" written on it.
Oh, the stupidity. Those idiots.
You, don't come to Yoshinoya just because it's 150 yen off, fool.
It's only 150 yen, 1-5-0 YEN for crying out loud.
There're even entire families here. Family of 4, all out for some Yoshinoya, huh? How fucking nice.
"Alright, daddy's gonna order the extra-large." God I can't bear to watch.
You people, I'll give you 150 yen if you get out of those seats.
Yosinoya should be a bloody place.
That tense atmosphere, where two guys on opposite sides of the U-shaped table can start a fight at any time,
the stab-or-be-stabbed mentality, that's what's great about this place.
Women and children should screw off and stay home.
Anyways, I was about to start eating, and then the bastard beside me goes "extra-large, with extra sauce."
Who in the world orders extra sauce nowadays, you moron?
I want to ask him, "do you REALLY want to eat it with extra sauce?"
I want to interrogate him. I want to interrogate him for roughly an hour.
Are you sure you don't just want to try saying "extra sauce"?
Coming from a Yoshinoya veteran such as myself, the latest trend among us vets is this, extra green onion.
That's right, extra green onion. This is the vet's way of eating.
Extra green onion means more green onion than sauce. But on the other hand the price is a tad higher. This is the key.
And then, it's delicious. This is unbeatable.
However, if you order this then there is danger that you'll be marked by the employees from next time on; it's a double-edged sword.
I can't recommend it to amateurs.
What this all really means, though, is that you, >>1, should just stick with today's special.

3 2018-10-30 16:42 *

Actually I'm tempted to write an imageboard script but I won't use MIT Scheme.

I've prototyped SchemeBBS with Guile who has a really good concurrency library now (a "Hello World" naive benchmark was like 65% the speed of Go lang). It also has bindngs to Redis, it could fly.

4 2018-11-01 07:59 *

test

5 2018-11-02 06:10

>>3
what concurrency model(s) does Guile implement?

I can't comment on their performance but Racket's concurrency setup is easy to work with.

6 2018-11-02 17:12

>>5
There are actually 3 good libraries, so you can use actors (Erlang-style) of CSP (Go-style) or coroutines (Lua-style)

* https://www.gnu.org/software/8sync/news/8sync-02-released-and-the-future-of-8sync.html
* https://github.com/wingo/fibers
* https://github.com/ChrisVine/guile-a-sync

I've used Fibers because it has a drop-in replacement for Guile's webserver. Guile is also multi-threaded, it will use of your 4 cores.

About Racket, I benchmarked every web servers I could find in Scheme and the performances were really disappointing. Maybe I haven't tried the mose efficient one, which one do you use?

A simple "hello world" with Guile:

(use-modules (web server))

(define (handler request body)
  (values '((content-type . (text/plain)))
          "Hello, World!"))

(run-server handler 'fibers)
7 2020-02-27 07:53 *

Are you from the past?

Aren't we all?

8 2021-06-23 22:24

Text beats pictures on dial-up internet connection.

9 2022-03-09 03:48

>>6
It's been a few years and Chez is now the default backend for Racket. Tried those benchmarks again?

10 2022-03-09 04:48 *

We're all tar here bro.

11 2022-08-05 08:58

>>1
I'm from the present

12


VIP:

do not edit these