Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spc476
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
541.
▲
by
spc476
6y ago
Depends upon how you are doing the tarpitting. Back when I did this (15 years ago) I used a program that created a raw socket to handle all TCP traffic that just responded with 0-byte sized windows to all TCP packets (so overhead was min
542.
▲
by
spc476
6y ago
About 15 years ago, I ran a tarpit at my then current job (small ISP for commercial clients and web hosting) that tarpitted all TCP traffic on unused IP blocks. It did slow down network scans and had I gotten around to it, I could have pro
543.
▲
by
spc476
6y ago
Yes, depending on how basic, or how long you want to work on it. Gary Kildall did CP-M. Tim Patterson did 86-DOS (later bought by Microsoft and turned into MS-DOS). Terry Davis did TempleOS. And I'm sure there have been other, one-
544.
▲
by
spc476
6y ago
It depends upon the assembly language. Intel defines its opcodes as `dest,src` and Motorola did `src,dest`.
545.
▲
by
spc476
6y ago
But doesn't Python also support modules written in C? Does Python get a pass for that? Or is it because the standard Python library is so large that it's not needed as often?
546.
▲
by
spc476
6y ago
I use it at work to process SIP messages on behalf of a cellular carrier. The actual parser is written using LPEG, a parser expression grammar for Lua. Because Lua is meant to be embedded, it only has the functionality required to do the
547.
▲
by
spc476
6y ago
As the one who wrote the C version (which I haven't had a need to use once I wrote it), why can't it be used? Not allowed to use modules written in C? Or lack a C compiler? Also, please define "common operations" for m
548.
▲
by
spc476
6y ago
Here you go: https://wiby.me/ Oh, and also: https://millionshort.com/ Edit: added second link.
549.
▲
by
spc476
6y ago
I came across a reference to such a language in the January 1986 issue of "Computer Language" (I have the magazine right in front of me as I type) and the idea has remained firmly lodged in my brain ever since. Some examples:
550.
▲
by
spc476
6y ago
I don't think so. If I didn't know who Ron Jeffries was, I would have sworn the following series was pure satire about TDD: https://ronjeffries.com/xprog/articles/oksudoku/ https:/
551.
▲
by
spc476
6y ago
I had the opposite experience. All I needed was a way to do a simple GET. That's it (and that's all it still is, by the way). Instead of spending half an hour writing the code, I decided to use libcurl---that's what it
552.
▲
by
spc476
6y ago
And the Intel x86 line still has ENTER and LEAVE, which do similar things to the 68000 LINK and UNLINK instructions.
553.
▲
by
spc476
6y ago
Does any company make $500,000,000 a year?
554.
▲
by
spc476
6y ago
Some math shows that can't work. Half a trillion to 35 million is US$15,000 per person. For one year. And people will complain that US$15,000 is not enough to live on. What happens in year two?
555.
▲
by
spc476
6y ago
For issue #3, it would have been nice had the TTY layer sent DLE ESC when someone hits the ESC key. As it is now, once you read the ESC key, you have to wait some number of milliseconds to see if more data is coming in, and if not, then ju
556.
▲
by
spc476
6y ago
I hate to say it, but the standard for C1 escape codes, ECMA-48, does list "\e[21m" as "double underline". I can see where one might think it does a "bold off" but alas, that isn't in the standard. Th
557.
▲
by
spc476
6y ago
I use it to mark pages that I have taken down for good [1]. I have also used 418 ("I'm a teapot") response code on my gopher server to discourage web bots from attempting to index the site. Edit--added note [1] For all the g
558.
▲
by
spc476
6y ago
There's the 1974 book _Danny Dunn, Invisible Boy_ [1][2], which for a kid's book, goes into some deep ramifications of such a device. [1] https://en.wikipedia.org/wiki/Danny_Dunn,_Invisible_Boy [2] It's
559.
▲
by
spc476
6y ago
Here's the palm tree labeled "South Dixie Highway": https://goo.gl/maps/NjrFy7686RQfuJJ29
560.
▲
by
spc476
6y ago
Don't tell my coworkers this---we use Lua to process SIP messages for the Oligarchist Cell Phone Company. I found LPEG to be way nicer than Lua's patterns (or even regex) for parsing, and there are other networking modules beside
561.
▲
by
spc476
6y ago
When I participated in NaNoGenMo 2015 [1], I ended up having to emulate a very small subset of MS-DOS [2]. That meant loading in an MS-DOS `.EXE` file into memory and running it. I had a 32-bit Linux system, so I was able to use the `vm86
562.
▲
by
spc476
6y ago
I've been writing HTML directly for my blog [1] for 20 years [2] and back around 2003 I started to be a bit more pedantic about the HTML I use, so I always (try to) close every tag. About five years ago I set up a gopher server [4] an
563.
▲
by
spc476
6y ago
"Mr. Wright, I love the house you designed, but the roof leaks so badly we might as well not have a roof. Could you fix it?" "No. That's how you know it's a roof! "
564.
▲
by
spc476
6y ago
Here you go: https://millionshort.com/
565.
▲
by
spc476
6y ago
I use Lua at work to process incoming SIP messages (using LPEG [1]). It's handling million of calls per day without issue. [1] Lua Parsing Expression Grammar http://www.inf.puc-rio.br/~roberto/lpeg/
566.
▲
by
spc476
6y ago
xelxebar was asking about this historical background of the x86 architecture, not a historical background of Linux. Knowing how the x86 architecture evolved over time helps explain the oddities.
567.
▲
by
spc476
6y ago
Generally speaking, the LEA instruction will never modify the flags, while ADD and SHL will.
568.
▲
by
spc476
6y ago
See if you can find any books about assembly language programming for the 8086 (or 8088) and the 80286. Just those two should give enough context for why things are the way they are on the x86 line.
569.
▲
by
spc476
6y ago
The same is true in C++ and Java, only the "self" argument is completely hidden in that case.
570.
▲
by
spc476
6y ago
Structs are a natural way to organize data, but that doesn't necessarily make it "OO". In Lua, a module is typically a table (associative array really) of functions. All of the standard modules that come with Lua are just c
More ›