Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mbrumlow
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
99 ms
·
901.
▲
by
mbrumlow
10y ago
" that means 235,887 operations for each string that I want to verify as a real word." /usr/share/dict/words is sorted. A binary search would be much more suitable than iterating over each word, at least for a
902.
▲
by
mbrumlow
10y ago
I think there are many many ways for a program to detect if it was loaded / infected that would not require the use of a system wide mutex -- many would not result in increasing the chance of discovery. So I think adding mutex revocati
903.
▲
by
mbrumlow
10y ago
If the data was in JSON it would promise a that it followed the JSON spec -- but its not, it follows its defined spec, which in the case of readelf is apparently undefined. Other programs that expect to be machine parsable define in great d
904.
▲
by
mbrumlow
10y ago
I never said anything about not liking command line tools. In fact I love them and think they do a awesome job! In any case you just proved my point. You think its insane to parse binary data while scripting and I do too. That is why I thin
905.
▲
by
mbrumlow
10y ago
I happen to find your example of why to use a object a bit hilarious. You are right, readelf has the object in a structure -- because that is what elf is... typedef struct { uint32_t st_name;
906.
▲
by
mbrumlow
10y ago
I feel you missed my point. It's not just a stream of raw data. It's a stream of formatted text... There is no magic or hand waving involved.
907.
▲
by
mbrumlow
10y ago
I find that to be the issue. You are considering it just RAW text when it is actually formatted text that has been parsable for years with common unix command line tools. It not being in the format you consider a structured object does not
908.
▲
by
mbrumlow
10y ago
I was a bit frustrated by this title.
909.
▲
by
mbrumlow
10y ago
"The bulk of the software was on read-only rope memory and thus couldn't be changed in operation, but some key parts of the software were stored in standard read-write magnetic-core memory and could be overwritten by the astronaut
910.
▲
by
mbrumlow
10y ago
I could be wrong. But I think part of why they did it this way was so they could edit things on the fly if a emergency dictated so. Having to ship a compiler (would have likely been an entire separate computer) would have not been feasible.
911.
▲
by
mbrumlow
11y ago
I did mine the hard way. No java script here. https://www.youtube.com/watch?v=3ITOhyVemCU