xenadu02 As a kid in the late 90s my mind was blown when I realized
I could telnet to port 80, 25, or 110 and interact with
the servers manually.Simple get:
GET / HTTP/1.1
Content-Type: text/html
User-Agent: l33t hax0rs lol
X-Funny-Monkey: fartsFor sending a mail message on port
25:
HELO
mail-from: whoever@whatever.com
mail-to: sysadmin@yaya.com
<other headers>
<blank line>
Body of the message yay.
<two blank lines to end>POP3 was so long ago I forgot but
you could list the mailboxes then get individual messages
and so on.This revelation was the beginning of "there is
no magic" for me. The realization that every part of the
computer was built by human beings and was at some level
understandable if one undertook the effort.Perhaps most
people in the future won't bother. They'll just let agents
do it all. I'm sure that will leave some interesting holes
in various systems for people willing to actually learn
how they work without the filter of a model (or its safety
rails).
|
> charles_f I sent many an email from jacques.chirac@elysee.fr,
the veneer of the terminal helping, my friends were
quite impressed by how good a hacker I was. Good olde
days when many DKIM/SPF weren't a thing yet and SMTP
servers weren't even authenticated.
|
> > krzyk It was quite fun.But at my first work (begining of
2000s) there was one person that made a fun email,
using From of head of company (or was it head of
that particular division) to his coworker with
congratulations for pay increase and promotion.
It would be all great, but that coworker didn't
catch the joke and replied to it (person in the
From wasn't amused). Author of the joke was fired
(which is not easy thing to do in Europe), some
people don't catch jokes.
|
> > > TylerE Screwing with someones career isn't a joke.
Shitcan-ee fully deserved it.
|
> > qingcharles I ran an EFnet server in the mid-90s and therefore
could fake DNS entries for myself. I was often on
IRC from "aliens.gov" which seemed funny at the
time, but now that domain finally became an
unfunny reality.
|
> > dhosek When I was working at the computing center at
University of Illinois at Chicago in the 80s, we
found a fairly simple route to spoofing emails
from other users through batch jobs on the MVS
side of our mainframe. It came crashing to a halt
when someone sent a spoofed email from the
director to one of the other employees saying that
they were fired and to bring their keys to her
office immediately. I think the person responsible
nearly lost his job over that, but as I recall,
the ability to do this was never closed.
|
> > cferry "Cher compatriote, voici, rédigé avec mes
clavier et mulot, mon programme de l'an 2000 que
j'ai après la dissolution..."
|
> rahimnathwani Back in those days not only was there was no DKIM or
SPF, most SMTP servers would accept email from anyone
anywhere to anyone anywhere (i.e. 'open relay').
|
> > xp84 [ Note: Anyone who has been a geek since the 90s,
there's nothing you don't already know here ]>
most SMTP servers would accept email from anyone
anywhere to anyone anywhere (i.e. 'open relay').to
date that claim, I'd say that by the late 90s at
least, true open relays ("from anyone to anyone")
were still numerous but carried a huge assumption
of being part of spam operations (willingly or
through ineptitude), and the most basic spam
filtering would reject mail that came out of
one.That said, (before things like SPF) it was
easy enough to deliver email to anyone you wanted
even if you didn't have your own real email
account and SMTP server; you could just look up
the destination's MX and connect to it with telnet
like that. Since your own random IP probably
wasn't blocklisted it would generally be accepted
and delivered.Back then it was still basically
considered bad form to reject email simply because
the server didn't know where it was from... sadly,
if we were still playing by those rules today, I
can only imagine how useless email would be. Now
it's definitely guilty-till-proven-innocent.
|
> > > awesome_dude The magic for me, to this day in fact, is
knowing that mail is essentially anyone on the
internet being allowed to write to a mail
servers disk.There are rules now, but the
concept is still almost intact, random people
writing to the servers disk - to be later read
by someone
|
> > > > soneil It used to be even more literally so -
network mail started off as using FTP to
SNDMSG onto a remote system instead of
your own. In RFC475, FTP has MAIL and MLFL
(mailfile) commands to support this.I
think it's neat that you can still find
echoes of this. MAIL worked by just
appending to MLFL, separating records with
CRLF.CRLF - which is still how Data
segments are terminated in SMTP.
|
> > > > > inigyou Was that before or after UUCP? I know
that UUCP carried a command in each
message, so you would specify a
message body with a tag that says pass
it to the mail receiving peogram.
|
> > > > > > soneil SNDMSG-over-ftp pre-dates UUCP by
5 years, so I think that one's
pretty clear-cut.(Not that I'm
claiming anything's original here,
ftp & smtp are both in the
nwg/ietf family tree, which makes
it easy to draw parallels. There's
probably 100 other influences.)
|
> > > > inopinatus This generalises to NNTP, in which anyone
writes to everyone and is read by no-one.
|
> > > xenadu02 > That said, (before things like SPF) it was
easy enough to deliver email to anyone you
wanted even if you didn't have your own real
email account and SMTP serverYup, this was
also a fun exercise. Use nslookup, find the MX
records, then telnet to them and deliver some
mail destined for domains that email server
handled. At that point you're just a slower
version of a mail daemon.In 2006 when FIOS
first rolled out they assigned ARIN IP blocks
to anyone who requested a static IP and I
hosted my own webserver and email server on
the web. So for a long time I had my own
netblock and my email server had been around
for so very long it was in everyone's legacy
trusted list. Even gmail never bounced emails
from me, despite not having SPF or DKIM and
whatever else. Though I did eventually set
those up. Only authed users could send email
and that was a limited list so my netblock
never actually delivered a spam message.Funny
enough I also setup default routing so all
non-registered addresses went into a separate
mailbox for me and I used the
"companyname@mydomain.net" for everything. For
many years I knew about every single data
breech before anyone else. Often months or
years ahead as spam would arrive out of
nowhere to that address.When I finally moved
to the bay area to work in tech for real the
entire world had changed. You couldn't just
get a netblock assignment anymore. And lord
knows even if your ISP wasn't deliberately
sabotaging your ability to run a server every
other system on the internet would assume
you're a scamming spammer. I had to give up
self-hosting on-prem.
|
> > the_arun With agents in the house now, we don't use curl at
all. Slowly they all are becoming implementation
details.
|
> > > VladVladikoff Probably curl is safer than whatever cobbled
up bash script your agent invented. Battle
tested for years, and free, why replace that?
|
> > > > sargstuff Guess streams was a mixed analog / digital
world thing[0]. Is 'curl' the higher order
wave crest of LC_NETWORK (aka 'sane' http
protocol reference to type bundled 0,1,2
file descriptors)One can have curl as a
bash loadable routine without the need to
recompile bash. Headless or not, much more
sane[4] than ctypes.sh[1] as curl binary
epilog/prolog handle the non-http protocol
items within the context of curl
module/program. More relevant logic level
related to topic beyond http protocol only
curl : socat[2] and gnu netcat[3].Ah, HN
doesn't provide a way to conjure up * data
tapes (comments not withstanding). Ebnf
being battle tested for years & grepping
the ANTLER[7] by the horns:awk interpeting
http stream via http protocol[5] via ebnf
of http protocol likely to better handle
the different protocal layers more
gracefully than bash script. Would need to
make sure awk is in bit mode and not
character/byte mode to avoid line
discipline issues / 'stty sane'[4].
Note:Perl/python provide better layers of
abstraction than shell coding for the
different levels of protocols used in/with
http protocol/ ebnf,Kleene* coding.[6] In
shell, having a different command programm
for every ebnf set/protocol level vs. awk,
different ebnf for each Kleene* protocol
level)------------------------------------
------------------------------------------
---------------[0] : Your trerminal is not
a terminal: An Introduction to Streams :
https://www.lucasfcosta.com/blog/streams-i
ntroduction[1] : ctypes.sh :
https://github.com/taviso/ctypes.sh[2] :
socat :
https://github.com/3ndG4me/socat/releases[
3] : gnu netcat:
https://netcat.sourceforge.net/[4] : stty
sane :
https://real-world-systems.com/docs/stty.1
.html
https://jaredgorski.org/notes/unix-tty/ [5] :
https://www.rfc-editor.org/rfc/rfc9110.pdf
[6] :
https://grokipedia.com/page/Kleene_star[7]
: https://en.wikipedia.org/wiki/ANTLR
|
> > > > cinntaile He probably means using curl directly.
Indirectly it's still curl the LLM will
default to, but that is an implementation
detail.
|
> > > > nijave Also considering libcurl which is an
excellent, feature rich, high performance,
and battle tested http client.
|
> > > > flyingshelf Why? Your agents knows rhyme but no
reason.
|
> wing-_-nuts I was in the hospital at 13, 7 hours from home, and
lonely. They had a councilor there who took pity on me
and agreed to let me use her computer to check my
email. Only provision was that I couldn't install
anything, and couldn't change any settings.She stood
behind me and watched bemused as I fired up telnet,
connected to my ISP's pop server and started reading
emails from friends. I think I did manage to send some
emails back via SMTP but I was not as good with that
protocol.If you could bottle the creativity and
enthusiasm of a bored teen, I'm pretty sure you could
take over the world
|
> eqmvii Yep! It's all just text files. Lots of acronyms in top
of lots of ways to generate, send, and read structured
text files.One day I realized even databases were just
text files and I had to sit down.
|
> > inigyou There are also many binary files. Most databases
are binary files which are wide trees of some kind
(e.g. B-trees, B+trees)
|
> TylerE Also memories of making printing work on Linux in the
late 90s to some old beast of an HP Laserjet. CUPS
exited but was a pain to configure, so I'd just
convert whatever I wanted to print to postscript, then
Cat homework.ps > /dev/lp0
|
> > xenadu02 Ah this one was so long ago I forgot about it.The
realization that (on DOS) "copy con file.txt" as
the world's worst text editor or "copy file lpt1:"
was treating physical devices as files. Everything
on the computer was arbitrary so you could make
anything behave like anything else (for some
definition of behave like)!Not a great insight
I'll grant but a key one that everyone has to go
through to be any good.
|
> kps Last century I would read and send personal email from
work using telnet to pop3 and smtp respectively.
|
> > Joeboy I also have a tendency to say "Last century",
thinking it comedically suggests "a long time ago"
without it actually being that long ago. But as
time goes by it obviously becomes legitimately a
long time ago, and I suspect young people wouldn't
see the attempted irony at all.
|
> > > benj111 'last century' 'turn of the century' etc just
make me think the 1800s. So I just say last
millennium.Probably get confusing again when
people start referring to 'the 20s' not as the
1920s.
|
> > vbezhenar You can actually do that today. In fact I did that
for some time, because I didn't want to configure
e-mail client. The only hard thing is HTML.
Average HTML e-mail is almost impossible to read
and friction to extract it to a file to open in a
browser is too much.
|
> > bijowo1676 perhaps you meant "in previous millennium" ?
|
> > > __float If someone referred to the "previous decade"
in 2004, would you have said the same thing?As
the calendar rolled from 1999 to 2000, we
entered a new millennium, century, decade,
year, day, ...
|
> > > > 8n4vidtmkvmk Yes, absolutely. I use the largest
interval any time I can get away with
it!Every Jan 2 I start saying "last year"
and every Dec I say "see you next year"
|
> > > > > xeonmc Just following alignment rules right?
|
> > > > fsckboy >As the calendar rolled from 1999 to 2000,
we entered a new millennium, century,
decade, year, day, ...no, that all
happened when we rolled from 2000 to
2001.smh, even paedants today aren't what
they used to be.
|
> > > > > johncoltrane The entirety of 1999 and 2000 was a
nightmare. "No, buddy, we won't change
millenium next january." "Nope. We are
still in the 20th century." And so
on...I think that's more or less when
I lost faith in humanity.
|
> > > > > > onraglanroad But they were right and you were
wrong. Your mistake is in thinking
that years are cardinal numbers
when they're actually ordinal.The
current year counting was based on
the same way years were counted in
the past, so you had things like
"the 10th year of Caesar's reign".
So the year 1 A D. was the first
year of Christ's reign.The year
2000 was the 2000th year of
Christ's reign so that's what is
celebrated.Alternatively, you
don't really care about that and
it's called Common Era now anyway,
but in that case it's entirely
arbitrary. So either way, calling
2001 the New Millennium is wrong!
|
> > > > > > IIsi50MHz The first 10 years are 1 through
10. That is the first decade.
Consequently, the next decade is
years 11 through 20.The first
century is years 1 through 100.
Therefore, the second century is
years 201 through 300.The first
millenium is years 1 through 1000.
Therefore, the second millenium is
years 2001 through 3000.There is
no year zero.
|
> > > > > > onraglanroad The first year of Christ's reign
is the year 1.The hundredth year
of Christ's reign is the year
100.The thousandth year of
Christ's reign is 1000.The two
thousandth year of Christ's reign
is 2000.There is no year zero.
|
> > > > > > account42 You lost faith in humanity because
people disagree about an arbitrary
zero offset?
|
> > > > bijowo1676 when you compare tech from 1999 and today,
it does feel like new millennium tbh
|
> > > wing-_-nuts Excuse me while I crumble to dust...
|
> > > chrisbrandow Presumably the years including 1999 and
earlier
|
> > > lavela perhaps you meant "in the Holocene"?
|
> > > > bijowo1676 the Holocene is over, we are in the
Anthropocene era
|
> > > > > lavela I know, that's why it'd be an
alternative to "in the last millenium"
if they try to use the largest time
frame that just ended.
|
> vbezhenar You can't do that with HTTP/2 (but thankfully every
server still talks HTTP/1).You also can't do that with
TLS (and a lot of servers won't talk HTTP other than
redirects). openssl s_client instead of telnet might
allow you to tunnel text inside TLS, but that feels
like a cheating.And many other modern protocols,
sadly, prefer binary encoding, which makes it
impossible to tinker with it on wire level, not
without specialized tools anyway.I think people in the
future will bother. I tried to make a fire with sticks
once, I tried to burn a clay brick, these old things
can be a lot of fun and sometimes of real use. If
anything, AI actually makes tinkering a lot more
easier. You don't need to dig into RFC to check your
mail, you can just talk to LLM about it and it'll help
you with most typical IMAP commands, for example.
|
> > inigyou openssl s_client -host google.com -port 443You're
welcome. Works like netcat plus TLS. Kind of
inconvenient though. Hey someone should write
tlsnc.
|
> > linzhangrun Nothing to regret. Text Protocol is too
inefficient.
|
> > > account42 Compared to inefficiencies in the average
payload? No, it doesn't really matter.
|
> jazz9k When I was 12, I learned about open SMTP relays and
how to spoof email this way. I once spoofed an email
between two rivals on a community I was a part of and
started a flame war.Good times.
|
> > Denatonium When I was in high school in the mid 2010s,
Verizon's email-to-SMS gateway didn't verify
SPF/DKIM/DMARC, and I had a field day showing my
classmates the Viagra ads that Hillary Clinton's
"hacked" email server was sending me. In reality,
it was an open relay, but Verizon didn't care;
they always delivered it anyway.
|
> > sejje I once made an enemy on AOL and he was a
spammer--he put my email in the from: field and I
got a lot of hostile emails.But the joke's on
him--it led directly to me meeting a lifelong
friend & mentor.
|
> nico It was also cool discovering the ATA commands to drive
the modem. You could "war-dial" numbers, or manually
initiate Internet connection, or connecting to a bbs
|
> globular-toast I never figured out you could do it with HTTP, but for
some reason I did for FTP and IRC. I don't know why I
first tried using a telnet client but I couldn't
believe it when the server responded to me!
|
> razodactyl Me too! Writing Winsock and learning WinAPI on XP then
Vista. It took me a while to realise Linux was better
/ OSX was my gateway drug haha
|
> ExoticPearTree HELO is for SMTP, EHLO for ESMTP. You could access
some "advanced" features of the server if you told it
you speak ESMTP.
|
> MuffinFlavored I must have tried to write the same "perfect" IRC
client from scratch in C a dozen times growing up...
|
> > lacunary any cool features you can share?
|
> alex_smart Isn't that the whole point of TCP? Creating a pair of
two streams you can read out of and write to out of
less reliable network primitives?I am not sure why
this is a revelation. Any college level networking
course would cover this?!
|
> > reaktivo > Any college level networking course would cover
this?!As an actual kid it's easy for it to be a
revelation, no? At least it was for me, with no
college level networking course experience.
|
> > > alex_smart Sorry my brain somehow missed the literal
first three words of the oc.
|
> CGamesPlay > Perhaps most people in the future won't bother.
They'll just let agents do it all.But can you imagine
the look on some young teen's face when they train
their own GPT on their local computer for the first
time?
|
gatestone In Plan 9 you did have a real (synthetic) /net, and could
do that and more from any program. You could even mount
/net from another machine via 9P protocol and have an
instant VPN...9front lets you play with that on Linux.Some
Plan 9 like /net things are visible in Go libraries...
(Rob Pike legacy)
|
> equinoxnemesis > You could even mount /net from another machine via
9P protocol and have an instant VPN...This is awesome.
|
simonw Neat, works against example.com exec
3<>/dev/tcp/example.com/80
printf 'GET / HTTP/1.1\r\nHost:
example.com\r\nConnection: close\r\n\r\n' >&3
cat <&3 Outputs: HTTP/1.1 200 OK
Date: Tue, 16 Jun 2026 17:37:45 GMT
Content-Type: text/html
... I always end up on example.com for this kind of thing
because there are so few domains these days that don't
enforce https!
|
> QuantumNomad_ example.com is also great for that reason when
something fails about a captive portal on a public
WiFi.I open my web browser and go to
http://example.com and get redirected to the captive
portal page again and retry completing what they need
from me to get internet access.
|
> > some_random Fun fact, this is almost exactly how active portal
detection is done in the
OS/browser!https://gist.github.com/skull-squadron/
edb8c0122f902013304c0...
|
> > > QuantumNomad_ Yep :) I just find example.com easier to
remember and quicker to type than any of the
OS or browser makers own URLs like-
http://captive.apple.com/-
http://connectivitycheck.gstatic.com/generate_
204-
http://detectportal.brave-http-only.com/Plus,
it feels nice to depend on the reserved domain
name example.com instead of relying on a
domain that any one specific corporation has
to maintain :D
|
> > > > xp84 What gives you confidence example.com
won't start serving the HTTPS redirect
though? There isn't any reason they
wouldn't, and given that browsers are
clearly tending towards showing big scary
warnings to even accessing something over
cleartext, I wouldn't be surprised if they
flipped that switch just to avoid
confusing noobs.
|
> > > > > QuantumNomad_ True, that could happen. If it does do
that then I will have to switch over
to remembering a different URL
instead. But as long as it hasn't I
will keep using http://example.com :)
|
> > > > 1f60c Also http://detectportal.firefox.com. And
http://neverssl.com was set up for this
purpose while being a bit easier to
remember :)
|
> > > > > 0l I remember a while back neverssl.com
would happily serve HTTPS requests!
Another good alternative is
http://httpforever.com/
|
> > xp84 I have been using neverssl.com for this same
purpose :)My only concern would be that
example.com doesn't promise to never do the
'required SSL' thing.
|
> > LeoPanthera I use neverssl.com for this purpose because it is
designed to resist caching.
|
> gabrielsroka This works too exec 3<>/dev/tcp/example.com/80
printf 'GET / HTTP/1.1\r
Host: example.com\r
Connection: close\r
\r
' >&3
cat <&3 You can even take out the \r though they should be
there
|
basilikum > As it turns out, bash can speak HTTP by itself.No, it
can not. Bash lets you open TCP sockets.What you are doing
here is trying to speak HTTP yourself, which is fine for
testing and debugging, and hella cool for fun to do by
hand, but you will shoot yourself in the foot if you try
to use this pseudo http client unattended in reality. This
toy code does not parse HTTP properly and will break.You
could of course write a full http/1.1 client in bash, you
can even do a full http server in pure bash:
https://github.com/bahamas10/bash-web-serverFor less
insane, non-bash shells there is always nc which is
usually probably the wiser choice.
|
> iam-TJ Need to be clear that "full http server in pure bash"
is incorrect. Bash cannot listen on a TCP/UDP socket
for incoming connections.bash-web-server project
builds a C language socket listener [0] that is
dynamically loaded at run-time as a "built-in" module
that makes the functionality available.[0]
https://github.com/bahamas10/bash-web-server/tree/main
/loada...
|
> > mrspuratic This feature has been part of bash since 5.1 (ca
2020), though it may not be enabled in all
distros. cd src/bash-5.3/examples/loadables
make accept
enable -f ./accept accept
(accept -r RHOST -v SOCKETFD -b 127.0.0.1 8000;
read -u $SOCKETFD SOCKETDATA;
printf "%s: %s\n" "$RHOST" "$SOCKETDATA";
printf "goodbye, world\n" 1>&${SOCKETFD} ) &
nc 127.0.0.1 8000 <<< "hello, world" For real use you may need to add "exec
{SOCKETFD}<&-" to close the FD.Edit:
https://news.ycombinator.com/item?id=39369749
(2024)
|
> > majorchord By this logic, Linux does not support Wi-Fi,
because all the driver modules are "dynamically
loaded at run-time."
|
> > > account42 No, by any other logic you can implement your
Wi-Fi drivers in bash.
|
> > > > pastage Interesting. I have never heard kernel
modules being regarded as non-linux, not
in 30 years of LKM. Further compiling a
monolithic Kernel is rather straight
forward, in this day it is even possible
to find wifi devices that do not require a
an on device firmware blob uploaded from
the kernel.
|
> > > > > majorchord Same, this whole thread is like the
twilight zone for me... I can't tell
if I'm losing my mind or all the
people with this way of thinking are
just being completely unreasonable but
I've never seen several people at once
agree with such a ridiculous (to me)
comment.Reminds me of the time on
libera IRC when someone told me "cloud
storage does not exist" because they
were hung up on some ultra-purist word
definition that nobody else shared.
|
> > > > > zwischenzug I don't know TBH. It's just that if
you're going to have a 'pure'
designation for a tech, it's going to
be pretty strict (as per bash and
adding modules). I've never heard of
'pure' linux, but 'pure' bash has a
recognised meaning. If someone said
'pure Linux' and it meant the core
without loaded modules I wouldn't be
shocked. Not sure how useful it would
be, though.
|
> > > > > > rascul > If someone said 'pure Linux' and
it meant the core without loaded
modules I wouldn't be shocked. Not
sure how useful it would be,
though.That probably wouldn't be a
useful distinction because almost
every module can be built in
|
> > > Brian_K_White Correct. It doesn't.
|
> mrshu > No, it can not. Bash lets you open TCP sockets.Very
fair pushback -- I did get carried away and will
update the article to be more precise. Thanks for
raising it!> For less insane, non-bash shells there is
always nc which is usually probably the wiser
choice.For completeness, `nc` or any netcat equvialent
I could think of was not available in the image I was
trying this with. It would certainly be a better
option though.
|
> > bearjaws This is the most Claude pilled comment I've seen
here.
|
> > > thih9 This worries me. Some AI writing styles became
mainstream; at first it was the em-dashes, now
it's "A, not B" patterns and excessive
acknowledging. There will be more.Was
grandparent comment written by an LLM?Or is
this a human who copies a style they saw in a
blog post, unaware that they're copying an
AI?Or is this a human who spent too much time
talking to an AI and now they just talk like
this?Or is this an organic human response and
we're all paranoid by now?I don't know which
would be worse.
|
> > > > elevation When learning a language, I've heard it's
good to find a reference speaker, such as
a prolific actor, and mimic them in order
to absorb several aspects of what makes
them sound authentic as a speaker, such as
vocabulary, intonation, diction,
pacing.For many in the next generation of
language learners, this reference will be
Claude.
|
> > > > > vbezhenar I think that the fact that AI has a
very recognizable singular style is a
problem. And this problem will be
solved, sooner or later. It probably
isn't a very important problem,
because I feel that it should be
relatively easy to solve (but maybe
I'm wrong?).But certainly with smarter
AI I do believe it'll become more
fluent with choosing more diverse
idioms and phrasing, rather than
repeating one thing over and over, to
a point of being a comically similar.
So people who learn on AI-generated
text, will not learn from just one
recurring style.
|
> > > > > > pastage > It probably isn't a very
important problemThe amount of
languages are decreasing on the
earth, I would also say that
dialects and accents are
decreasing as well. I think this
is a problem.
|
> > > > > disqard Insightful, and scary! Imitating an
imitation machine... even if no one is
trying to intentionally do so,
McLuhan's "we become what we behold"
is inescapable.
|
> > > > 8bitsout I'm going to go insane from all of this
|
> > > > eddd-ddde So? That's literally how language works.
The importance is not in the writing
style, but in the content of the words.
|
> > > > > thfuran Those are not separate things.
|
> > > mrshu It's pretty rough to learn I sound like
Claude. Will need to do something about it
then.(For what it's worth I did write the
message above manually but I understand why no
one would believe that now. At least I did not
call netcat "load-bearing"
[https://mareksuppa.com/til/load-bearing/] or
something...)
|
> > > > sisve I did not think you sounded like claude.
Then I looked again after the comment was
made and then I saw some of the vibes.
Like acknowledging a mistake you have
done.Before that would just made you top
5% (or maybe top 1%) of the nicest people
to talk too.. know ppl think you are
Claude.We are all going crazy s a sibling
comment said.
|
> > > > > fc417fc802 It's wasn't "acknowledging the
mistake" it was the phrasing and
general structure while doing so.
|
> > > > ffsm8 I know that feelingI notice myself getting
afflicted with llm-isms after a full
workday. And I didn't always notice,
sometimes I only realize the day
after...Like it slowly siphoned out my
soul, which then reconnected with me over
night
|
> > > > BearOso Avoid the backtick quotes, too. Claude
also mistakenly uses them outside of
markdown.
|
> > > tbossanova I'm torn. It's a great thing to share
knowledge and take feedback graciously. Maybe
this kind of comment will encourage more of
that. But you also need people to tell you
what is up without unnecessary filters. It's a
challenge
|
> > > nialv7 what would be a non-pilled way of saying the
same thing?
|
> > > > xeyownt Yeah. The comments saying it's AI-pilled
comments are more annoying and less
informative than the comments themselves.
|
> > > > > hnlmorg Agreed. I really wish Dang would
explicitly add that to the rules.
|
> > > > WD-42 Good point however netcat wasn't available
either.
|
> > scubbo FWIW, I didn't read this as AI-like. Even on a
re-read, it's only the quasi-em-dash, and _maybe_
the polite acknowledgement of "Very fair pushback"
(just good etiquette, IMO!) that would ring any
alarm bells. You're fine.
|
> > > farmerbb Not to mention, the typo in the word
"equivalent".
|
> TZubiri >No, you can't write 10 lines of code, you have to
import a 100k LOC dependencyCommon misconception, if
you want to replace a dependency on a swiss knife you
don't need to implement a swiss knife, sometimes you
can just implement the last helix of the corkscrew.
|
> > cyanydeez it's curious what you'd be building where you
think you can hit the reliability of curl with a
bash script.
|
> > > TZubiri health check, check that website/webapp
returns 4xx and some known keywordapi, GET
url, content-type aplication/json, parse
jsonyou can even invert it and make a server
|
> > > pillmillipedes a script ten lines long perhaps?
|
> a-dub it's not that insane. i've been manually typing http
requests in since before http/1.1 and the mandatory
host header.it is insane to use it for anything
serious (also the opposite, implementing webservers in
bash), but for quick testing it's pretty great!
|
> > bitmasher9 Why wouldn't you use curl for the quick test?
|
> > > hnav Sometimes you want to do something that curl
cannot express, e.g. timing, protocol
oddities, etc. For example you may want to
issue a CONNECT to an echo server through a
proxy and observe the bytes flowing back and
forth. You may want to see what happens when
conflicting hop-by-hop headers are specified
without worrying about the client's (curl's)
interpretation of them. A simple nc -c (or
openssl s_client -crlf) lets you do all of
that.
|
> > > > Bender For what it's worth curl can do very
detailed timing [1] and it can also do
this using a proxy export
http_proxy=http://your.proxy.server:port/ export
HTTPS_PROXY=https://your.proxy.server:port
/ curl -x http://proxy_server:proxy_port
--proxy-user username:password or $socks-wrapper curl # [2] [1] -
https://dev.to/gbhorwood/curl-getting-perf
ormance-data-with-...[2] - torsocks,
tsocks, wireproxy, shadowsocks-rust,
proxychains-ng, etc...
|
> > > > > hnav what I meant was a proxy that
implements HTTP/1.1 CONNECTand a
server behind it like```
mkfifo /tmp/myfifo
cat /tmp/myfifo | nc -l 12345 >
/tmp/myfifo
```so if you manually type out CONNECT
host:12345 HTTP/1.1
host: host:12345 you can see exactly what's happening.
To be fair you can hack curl to
support that via curl -x proxy:3333
telnet://host:12345 but that's not exactly what you want
and requires curl to have been
compiled with telnet support.
|
> > > > > > Bender Ah, I see what you mean. Aside
from putting the proxy into debug
logging one would have to use curl
-vvv to get similar details but I
suppose whatever works best with
muscle memory is the right choice
and one may not always have access
to put the proxy into debug
logging.I need to try this with a
Squid SSL Bump MitM proxy just
dont have one up at the moment.
curl -vvv -A Mozilla -H
"Accept-Language: en_us" -H
"Sec-Fetch-Mode: navigate" --url
'https://nochan.net/.env'
|
> > > a-dub because in those days there was no curl, or
wget. and then when there was, there was no
guarantee they'd be installed.telnet was
always there though. it also worked for
speaking all the other plaintext internet
protocols. (imap, pop, smtp, etc)
|
> > > > dragontamer Note: Telnet is not completely plaintext
and has control characters in the upper
byte range (like 0xff or something, I
forget).Use nc or this TCP Bash technique
if you really want to ensure decent
compatibility when doing hacky solutions,
otherwise a random 0xFF somewhere from a
terminal console color change (or other
control character) might really screw you
over.EDIT or ya know, use the correct tool
like Curl.
|