Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

32
LINES

< > BotCompany Repo | #1033890 // ultrafa.st backup

JavaX source code (Dynamic Module) - run with: Stefan's OS

!7

cm UltrafaST > DynWebServee {
  @Override O html(IWebRequest req) {
    try object redirectToHTTPS(req);
    
    if (eq(req.uri(), "/favicon.ico"))
      ret serveFavIcon(gazelleFavIconSnippet());
      
    if (eq(req.uri(), "/"))
      ret hhtml(
        hhead_title("Ultrafa.st - Ultrafast Recognition")
        + hsansserif()
        + hbody(hfullcenter(
          h1("Ultrafa.st - Ultrafast Image/Audio Recognition")
          + p(himgsnippet(#1103002, width := "500"))
          + p(joinWithBR(
            "IDEA:",
            "Using the power of " + b("integral images") + ", we recognize things faster than anyone else.",
            "It's a new family of algorithms being developed by "
              + targetBlank("https://BotCompany.de", "Stefan Reich")
              + " at " + ahref("https://gazelle.rocks", "Gaz.AI") + "."))
          + h3("News")
          + mapToLines p(
            targetBlank("https://agi.topicbox.com/groups/agi/T8ca0db34fc106b16/image-recognizers-should-return-mathematical-proofs", "Image recognizers should return mathematical proofs") + " [2021/9/10]",
            targetBlank("https://agi.topicbox.com/groups/agi/T2771ec3238f217fa/gazelle-looks-at-its-own-logo-and-paints-it-red", "Gazelle looks at its own logo and paints it red") + " [2021/8/20]"
          )
      )));
    
    ret subBot_serve404("Four oh four dude. Your URL f*cked");
  }
}

Author comment

Began life as a copy of #1032402

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): bhatertpkbcr, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033890
Snippet name: ultrafa.st backup
Eternal ID of this version: #1033890/1
Text MD5: a717c2d4b559fe25fb0f85eff63c919d
Author: stefan
Category: javax
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-09 01:37:21
Source code size: 1424 bytes / 32 lines
Pitched / IR pitched: No / No
Views / Downloads: 66 / 83
Referenced in: [show references]