Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spc476
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
76 ms
·
931.
▲
by
spc476
9y ago
HTML does have the <ABBR> tag. How hard is it to do? <abbr title="Extract, Transform, Load">ETL</abbr> Even once?
932.
▲
by
spc476
9y ago
There's a chap by the name of Ted Nelson who's been working on that for the past 50 years. Unfortunately, the problem is a bit harder than it looks.
933.
▲
by
spc476
9y ago
There are other concepts, like coroutines. At work, I use Lua coroutines to handle network requests. Basically, any function that can block instead starts the IO request, then yields the current coroutine. Yeah, the management code was a
934.
▲
by
spc476
9y ago
Nice idea, but there are occasions when I find myself on a Windows box (which I normally never use) using putty, or my iPad using vSSH and I have no local editor (or editor that I would use, in the case of Windows).
935.
▲
by
spc476
9y ago
That are two things that really killed the peer-to-peer nature of the Internet---NAT and firewalls. Both work to make a true peer-to-peer connection difficult.
936.
▲
by
spc476
9y ago
The author of this could have picked a better value to fill in the guard area. For the x86 architecture, 0xCC is a good choice. It's an unusual negative value, a largish unsigned value, most likely an invalid address (if dereferenced
937.
▲
by
spc476
9y ago
I was using make on MS-DOS 2.1 way back in 1987. It's just not for Unix anymore.
938.
▲
by
spc476
9y ago
Over a decade ago, I set up a tarpit [1] (I worked at a small web hosting company) on an unused machine to catch network scans. I had the idea of using the information gleaned from that to block IP addresses at the router level, but never
939.
▲
by
spc476
9y ago
I'm currently in South Florida, that just had Hurricane Irma blow through. I have no power (but I do have a generator [1]) and the DSL is down (no dial tone on the landline). I'm currently using my cellphone as a hotspot and an
940.
▲
by
spc476
9y ago
ASCII does contain control characters set aside for record and unit separators (codes 30 and 31 respectively). Sometimes I wish they got more use than they do.
941.
▲
by
spc476
9y ago
I was replying more to jospar's post about learning what an 'if' was, what a 'boolean' was, etc. What's an 'if'? Ultimately it's a comparison of two numbers and a transfer of control based upon
942.
▲
by
spc476
9y ago
And I learned there's a subtle distinction between "y'all" and "all y'all". If I ask, "Do y'all have a ride?" I mean "Do you have a car and/or get a ride with someone who has a ca
943.
▲
by
spc476
9y ago
Up in Detroit (I have family there) almost everyone talks about 75 (I-75). Down here in South Florida (where I live), it's always I-95. Just "95" sounds strange to me, as well as "I-75". I guess it's what you
944.
▲
by
spc476
9y ago
I'll use x86-32 for elaboration [1]. When the CPU sees the byte sequence 0xB8 0x90 0x41 0x5A 0x7B, it has to interpet what those bytes mean. It sees the 0xB8, so then it knows that you are loading the EAX register with an immedate va
945.
▲
by
spc476
9y ago
You climed in the wrong direction. What you want is assembly. That's where software ends up. Also, it's interpreters all the way down. Even assembly is interpreted.
946.
▲
by
spc476
9y ago
CBOR [1] has an extension to allow string references [2], so field names won't take up much space. [1] RFC-7049, also http://cbor.io/ [2] http://cbor.schmorp.de/stringref It won't make much sense
947.
▲
by
spc476
9y ago
This [1] is the NHC report for Hurricane Andrew just prior to landfall in August of 1992. Andrew was small as hurricanes go, and even then, you are talking about hurricane winds (72 MPH/116 KPH at the low end, Andrew was 140 MPH&#x
948.
▲
by
spc476
9y ago
The National Hurricane Center has some records [1] going back to 1851 [2]. I'm sure those are based more off eye witness accounts. [1] http://www.nhc.noaa.gov/data/#tracks_all [2] http://www.nhc.noaa.g
949.
▲
by
spc476
9y ago
"TA" means "teaching assistant." I think the OP is asking about this to detect cheating and/or plagiarism.
950.
▲
by
spc476
9y ago
The x86-64 bit isn't bad. You get 16 registers (half named, half numbered---historical baggage) and opcodes galore (more than even the VAX architecture). The x86-32 bit is a mixed bag (8 registers, the specialized opcodes may or may
951.
▲
by
spc476
9y ago
There's a problem---you can break out of Lua with malformed bytecode [1] and the Lua team don't want to spend the time trying to validate Lua byte code [2]. That's why the latest Lua version has an option to ignore precompil
952.
▲
by
spc476
9y ago
Yes it does. In fact, with GNU make, if you have a single file, hello.c, you can type "make hello" without a makefile and it will just work.
953.
▲
by
spc476
9y ago
The VAX. There's a bit in the condition codes register that indicates if overflow traps or not. Then there's the matter if ((char )0) causes a trap or not; on systems without a MMU, it probably won't trap [1]. It's d
954.
▲
by
spc476
9y ago
I'm reminded of "The Guy I Almost Was" [1]. [1] http://www.electricsheepcomix.com/almostguy/
955.
▲
by
spc476
9y ago
Not really. The TMS9900 [1] used memory as registers and had a fairly compact instruction set. Yes, it does have registers, but only three (a program counter, a status register, and a pointer to the current "register set" in mem
956.
▲
by
spc476
9y ago
Hindsight is 20/20, but I suspect that the breakup of Ma Bell in 1984 should have been along service lines, not geographic lines. One company should have been given control of the physical wires, and that's all they do---they h
957.
▲
by
spc476
9y ago
I doubt it would change very much. I wrote a program a few years ago similar to this [1] and I tried several different amounts of "payment" (fixed and random) and each time the result was the same. What I did not track was the nu
958.
▲
by
spc476
9y ago
Back in the 80s, Infocom [1] created a database program named Cornerstone. Because it was an integrated environment, identifiers were abstracted. A line of code displayed on the screen as: xn = (A * y) * x * (1 - x) was actually
959.
▲
by
spc476
9y ago
OO is more an organizational method than a programming method; it still falls down to being imperative (do this; do that). OO is nice when you have a lot of types and few actions whereas non-OO languages are nice when you have lots of acti
960.
▲
by
spc476
9y ago
I recently played around with some code I wrote in college [1] which involves a pair of intertwined functions. I decided to play around with the SSE extensions on modern CPUs and write a vectorized version of the code. Try as I might, I co
More ›