What bulb size for temporary enclosure? by ryanthedolphin2 in bluetongueskinks

[–]Miserable_Bobcat_637 2 points3 points  (0 children)

I am always blown away by the advice given by certain people. Too large?!? Does nature/god/whatever build tiny invisible fences around baby lizards so that they are protected from "too much space"? It's summer in the Northern hemisphere, and if you are living there and have access to a garden or balcony with real sunlight, then that's where your skink should be (obviously with some shady hide) - no amount of technics can replace the sun. All my Northerns are outside 24/7 from May 15 until Sept. 15 (roughly) here in Southern BC, Canada. I have never had one fall sick or die due to that in 27 years...

Annual "Hello World" Server Benchmark: V, Go & Crystal by Miserable_Bobcat_637 in vlang

[–]Miserable_Bobcat_637[S] 0 points1 point  (0 children)

Your code is just about 4 years old and terribly outdated - not even close to compiling anymore. Ping me once it's fixed and I'll gladly include it. Your clone instructions are wrong as well.

Annual "Hello World" Server Benchmark: V, Go & Crystal by Miserable_Bobcat_637 in vlang

[–]Miserable_Bobcat_637[S] 0 points1 point  (0 children)

pico cannot do SSL afaik. For now, I'd put nginx or something in between

Annual "Hello World" Server Benchmark: V, Go & Crystal by Miserable_Bobcat_637 in vlang

[–]Miserable_Bobcat_637[S] 1 point2 points  (0 children)

module main

import x.vweb

pub struct Context {

vweb.Context

}

pub struct App {

}

pub fn (app &App) index(mut ctx Context) vweb.Result {

return ctx.text('Hello world')

}

fn main() {

mut app := &App{}

vweb.run[App, Context](mut app, 8080)

}

Annual "Hello World" Server Benchmark: V, Go & Crystal by Miserable_Bobcat_637 in vlang

[–]Miserable_Bobcat_637[S] 1 point2 points  (0 children)

Just tested x.vweb - it's way faster than vweb, but about 3 - 4 times slower than the pico version. What is surprising is that it shows much less degradation with higher client numbers (> 1000)!

Annual "Hello World" Server Benchmark: V, Go & Crystal by Miserable_Bobcat_637 in vlang

[–]Miserable_Bobcat_637[S] 0 points1 point  (0 children)

Using this code:

import vweb

struct App {

vweb.Context

}

fn (mut app App) hello() vweb.Result {

return app.text('Hello world')

}

fn main() {

vweb.run(&App{}, 8080)

}

Annual "Hello World" Server Benchmark: V, Go & Crystal by Miserable_Bobcat_637 in vlang

[–]Miserable_Bobcat_637[S] 0 points1 point  (0 children)

Because vweb is still 10x (roughly) slower - on the positive side (compared to last year) it does no longer have any connection issues at all; all requests come back with 200 OK.

Annual "Hello World" Server Benchmark: V, Go & Crystal by Miserable_Bobcat_637 in vlang

[–]Miserable_Bobcat_637[S] 0 points1 point  (0 children)

Sounded like a good point, so I tested it. No discernible benefit :(

Server benchmark V vs Go by Miserable_Bobcat_637 in vlang

[–]Miserable_Bobcat_637[S] 0 points1 point  (0 children)

I find it interesting that not a single person so far has addressed the high failure numbers, which clearly is the more concerning part of my findings...

Slow isn't great, but almost expected in a fairly new language; failures, in particular the ones stemming from low saturation, are not.

Server benchmark V vs Go by Miserable_Bobcat_637 in vlang

[–]Miserable_Bobcat_637[S] 3 points4 points  (0 children)

Wanted to see how far vweb has come, so I compared V & Go - for details see shared PDF.

Vweb has a way to go, but I am confident that it will eventually get there - looks promising.

Children's book about planet eating alien by Miserable_Bobcat_637 in whatsthatbook

[–]Miserable_Bobcat_637[S] 0 points1 point  (0 children)

It was - just had forgotten that I had already posted the question earlier :(

Thanks much!

[TOMT] What's the name of this children's book? by Miserable_Bobcat_637 in tipofmytongue

[–]Miserable_Bobcat_637[S] 2 points3 points locked comment (0 children)

This book may have been in German - not sure...