# Pastebin LoedRcgo
#!/usr/bin/env python3
import socket
HOST = '127.0.0.1' # Standard loopback interface address (localhost)
PORT = 65432 # Port to listen on (non-privileged ports are > 1023)
HTTP_CONTENTS = """
HTTP/1.1 200 OK
Server: nginx/1.10.3 (Ubuntu)
Date: Wed, 26 Jan 2022 09:03:34 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 6845
Last-Modified: Thu, 04 Jan 2018 12:27:28 GMT
Connection: keep-alive
ETag: "5a4e1db0-1abd"
Accept-Ranges: bytes
Baroque Software
We are an innovative company that has been doing performance
oriented consulting for a variety of biggest players on
the market. Since recently we've been working on bringing
virtual reality to architecture.
Since 2003 we have maintained PyPy as an open source project.
Since 2007 we've been doing commercial consulting around that project.
We have assembled a first-class team of PyPy and
Python core developers doing commercial consulting on a daily basis.
Let us know how we can help you.
Services
What we do
Additionally to standard Open Source support to PyPy, we decided to
independently commercially offer two different things. First is a paid support
plan for your existing PyPy installation, that will help you make sure
your PyPy-based infrastructure is rock solid with support available
on demand. Below are several subscription plans for bugfixing and
PyPy commercial support, but please treat them mostly
as a guideline, we're willing to find a plan that suits your needs.
Secondly we offer PyPy training, Python and PyPy performance analyzis and
performance consulting. To be precise, if your service has a performance
problem, we can help you assess it, analyze it and offer long-term scalable
solutions.
People
The ins and outs
Armin Rigo
Armin Rigo is an independent researcher,
formerly at the Heinrich-Heine Universitat
Dusseldorf (Germany). He studied
Mathematics at the University of Lausanne
(Switzerland), obtained his Ph.D. in Logic
and Set Theory at the Free University of
Brussels (Belgium) n 2002, and
worked at the University of Southampton
(UK) until 2005. He is the author of
Psyco, the first just-in-time compiler for
Python. He is one of the founders and
lead developers of the PyPy project which
began in 2003. He has taken part in all
areas, from the Python language definition
to the RPython translation framework,
including the garbage collector and the
tracing just-in-time compiler.
Maciej Fijałkowski
Maciej is a freelancer working mostly on PyPy
for the past several years. He's a core
developer since 2006, working on all kinds of
parts in the entire codebase including JIT, GC
and assembler backends. Maciej has been going
to many conferences, advertising PyPy to a
broader audience for the past several years,
including a keynote at Pycon 2010. He's also
the main maintainer of jitviewer, a tool for
analyzing performance of your python programs
under PyPy.
XXX
"""
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
s.bind((HOST, PORT))
s.listen()
while True:
conn, addr = s.accept()
with conn:
#print('Connected by', addr)
while True:
# data = conn.recv(1)
# if not data:
# break
try:
conn.sendall(HTTP_CONTENTS)
except:
break