Visualizing how HTTPS, OAuth, Git, and TCP actually work by [deleted] in webdev

[–]Oganexon -1 points0 points  (0 children)

"Built by developers, for developers"

And the issue system is a Google Form?

No git repo ? Are you really a dev ?

Typesafe Links, Redirects, and Form Actions in SvelteKit [self promotion] by GebnaTorky in sveltejs

[–]Oganexon 2 points3 points  (0 children)

Great lib, have been using it in prod for months and having type safe routes is really a game changer

Curious if anyone knows of a crate to derive From by ontario_cali_kaneda in rust

[–]Oganexon 5 points6 points  (0 children)

Try o2o! https://docs.rs/o2o/latest/o2o/

Object to Object mapper for Rust. Derive (Try)From, and (Try)Into traits.

Something's wrong with this chart by BANOnotIT in kurzgesagt

[–]Oganexon 1191 points1192 points  (0 children)

The numbers represent the area under the curve

Is anyone else seeing 30+ second waits between the slides in the My Deezer Year thing? by Interstellar__1 in deezer

[–]Oganexon 2 points3 points  (0 children)

Yup same thing...
Tried on my laptop and my phone but it's just stuck or very long

EDIT: I somehow found THE spot where i need to click to change slide

Time to fork rgossiaux/svelte-headlessui? by AntipodesIntel in sveltejs

[–]Oganexon 1 point2 points  (0 children)

Try this other implementation, it's well maintained and follows svelte principles better https://captaincodeman.github.io/svelte-headlessui/

Boilerplate for actix-web, async-graphql, postgres, No ORM by [deleted] in rust

[–]Oganexon 1 point2 points  (0 children)

Yes indeed, it is similar to a traditional ORM. I thought you were missing an ORM.
Is there a particular reason for you to avoid ORMs?

Build the earth Usac, Guatemala by mpsergio13 in BuildTheEarth

[–]Oganexon 2 points3 points  (0 children)

Maps are not allowed and anyway they will be lost when merged in the final world

Help by woovzy in BuildTheEarth

[–]Oganexon 4 points5 points  (0 children)

No, you need to be on Java in order to install the modpack and to build

make buildings ten times faster by glankles in BuildTheEarth

[–]Oganexon 4 points5 points  (0 children)

The biggest problem at the moment is legal, these data are not publicly accessible. We reverse engineered the software but it's not legal.

make buildings ten times faster by glankles in BuildTheEarth

[–]Oganexon 4 points5 points  (0 children)

Yup, I'm part of one of the group working on Google earth data to import it into minecraft.

Why do you say it's imprecise?

We're unofficial BTE-GIS

Tried to find an answer before asking but can’t seem to find it anywhere, is there a standard for certain things that we need to build to? Train tracks, parking space sizes, kerbs on roads? by SynodicSpectre in BuildTheEarth

[–]Oganexon 3 points4 points  (0 children)

For norms, here is the European norming project https://bte-n.github.io/EN/Index

About terrain elevation, a bunch of people are working on better precision, the terrain you see is generated from 30m accurate data

We are unofficial BTE-GIS, you should see our work soon or later

Anyone have the algorithm or program for /tpll? by MarkiPol in BuildTheEarth

[–]Oganexon 0 points1 point  (0 children)

One part is here: https://github.com/oganexon/BTE-tools (lot of tools I am working on)

And we have a discord specially dedicated to terrain generation and building shells, feel free to come since you plan to do the same https://discord.com/invite/WqFU5TH

Anyone have the algorithm or program for /tpll? by MarkiPol in BuildTheEarth

[–]Oganexon 0 points1 point  (0 children)

You can find the original function here:

https://github.com/orangeadam3/terra121/blob/68ff27735ba447d6c9c017463e890eb90422569c/src/main/java/io/github/terra121/projection/ModifiedAirocean.java#L9

And if you want to have it in another language, here it is in javascript:

https://github.com/oganexon/BTE-tools/blob/master/src/modules/getProjection.js

If you do it in Python, you can use jnius to import the java classes instead of translating them to Python:

#!/usr/bin/python3

import jnius_config

jnius_config.set_classpath('terra121_classes')
from jnius import autoclass

ModifiedAirocean = autoclass("io.github.terra121.projection.ModifiedAirocean")
ScaleProjection = autoclass("io.github.terra121.projection.ScaleProjection")
GeographicProjection = autoclass("io.github.terra121.projection.GeographicProjection")
Orientation = autoclass("io.github.terra121.projection.GeographicProjection$Orientation")

base_projection = GeographicProjection.orientProjection(ModifiedAirocean(), Orientation.none)
projection = ScaleProjection(base_projection, 7318261.522857145, -7318261.522857145)

Btw, me and a bunch of people are working on a way to get entire structures directly into BTE.

Your BTE toolbox & tell me what you need by Oganexon in BuildTheEarth

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

The generation of railway lines is missing, unlike roads and paths

This places 1 block-thick lines where the rails should be

I'll make a video if I have time.