Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zwp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
zwp
7y ago
I have another that I sometimes use: overriding getenv(3). (I typically just printf() the variable name and return NULL). Most of the time you can spot environment variable usage in binaries using strings(1) (folks still like to use upper c
62.
▲
by
zwp
7y ago
So does gcc: https://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html (TIL - thanks!)
63.
▲
by
zwp
7y ago
> reaching out to the old developers to see if they have a copy I think you mean "older devs that are still with the company" but I was once contacted by a former employer for exactly this: they had lost source code for the bil
64.
▲
by
zwp
7y ago
> 2^56 is trivially brute-force-able today Youch, this broke my intuition. https://crack.sh/ "we’ve built a system with 48 Virtex-6 LX240Ts which can exhaust the keyspace in around 26 hours"
65.
▲
by
zwp
7y ago
I did this job for a couple of months over a summer when I was in college, (via a temping agency). I did actually kind of enjoy it. The sweet smell of putrefaction from the truck made me retch for the first week and then became kind of home
66.
▲
by
zwp
7y ago
> writing code that can be deleted is an important skill Are you saying "I can easily delete this code from the project" is a metric for modularity? That's really interesting, is it your own thought?
67.
▲
by
zwp
7y ago
> I have no idea who he's talking about This comment buried below: https://news.ycombinator.com/item?id=20467750 points to this repo "A javascript client for libra": https://github.com/perf
68.
▲
by
zwp
7y ago
"just"? From where I'm sitting that's a pretty large chunk of IT. This has knock-on effects: authors that want to deploy scripts/apps with the minimum fuss will avoid adding deps to whatever /opt-based repo RH
69.
▲
by
zwp
7y ago
> “what code has been reviewed and which reviewers do I trust?” Thank you for putting this so succinctly. There are other supply-chain problems in decentralizing control of the modules though: Modules might only have a few people or one
70.
▲
by
zwp
7y ago
Red Hat 6 is supported for another 18 months and still ships with Py 2.6. Python's slow-moving gently gently approach to breaking changes has not been good for the ecosystem. I'll be glad when 2.x is dead. 7 months 8 days 14 hours
71.
▲
by
zwp
7y ago
I've not used ag but just a small shout out for ack: it's a single Perl file (easy to install, v1.x will work with even antique Perl), it works on weird hardware/OS (no compilation required), it contains its own man-page (ack
72.
▲
by
zwp
7y ago
> ad hoc syntaxes like JIRA's Gak, yeah, I empathize. JIRA was a pain point for me too. I take comprehensive notes using org-mode (including all of my false turns, dead ends and "explore this later"s) and when I need to pa
73.
▲
by
zwp
8y ago
The problem is that Python is the exception here. Those of us that learnt other languages first already have a mental model and find this explicit self parameter weird. And it's more typing. Yegge thinks that "self" is a wart
74.
▲
by
zwp
8y ago
>> You can’t send file handles > Actually that's exactly how piping works Also SCM_RIGHTS, which exists exactly for this purpose (see cmsg(3), unix(7) or https://blog.cloudflare.com/know-your-scm_rights/
75.
▲
by
zwp
8y ago
In the B2B world there is a perhaps surprising amount of ad hoc data transfer (transactions, statements) between separate entities using scp/sftp from a cron'ed ksh script written by a junior sysadmin 8 years ago. Throw a Tectia s
76.
▲
by
zwp
8y ago
I built something just for fun a couple of weeks back. I used the Sphinx Open Source Speech Recognition Toolkit from CMU https://cmusphinx.github.io/ Look for the sphinxbase and pocketsphinx packages under Ubuntu. It'd
77.
▲
by
zwp
8y ago
But presumably the transparent keylogger window must know which is the supposedly-active window (in order to be able to pass on keystrokes to it), so the transparent window could emulate the supposedly-active window's title?
78.
▲
by
zwp
8y ago
"Isn't this table just sorted by the PP adjustment factor" No, it isn't, but I do think you're right in that I should have used the nominal wages. I found the original article and that does not appear to be purchasi
79.
▲
by
zwp
8y ago
That's an interesting picture. I took those numbers and compared them to Wikipedia's purchasing-power adjusted average wage figures for 2017 at https://en.wikipedia.org/wiki/List_of_countries_by_average_w... .
80.
▲
by
zwp
8y ago
> Online newspapers are the worst Oracle. Here's July's Critical Patch Update page: http://www.oracle.com/technetwork/security-advisory/cpujul20... On my my domestic ADSL line the cookie pop-up takes
81.
▲
by
zwp
8y ago
> string compare with some url decoding Perhaps page body edit-distance would work better?
82.
▲
by
zwp
8y ago
Being kidnapped for ransom?
83.
▲
by
zwp
8y ago
Nice, thanks. What are those cute little axes that he's running? And what's going on with them at 10m50 - is that a foldout pinky rest? https://www.youtube.com/watch?v=7eVBrMcflDE&t=650
84.
▲
by
zwp
8y ago
This appears to be an artifact of dtruss(1). Syscalls that aren't special-cased are assumed to have 3 arguments: https://github.com/joyent/dtruss-osx/blob/c3b23e279187056e76... There are special cases fo
85.
▲
by
zwp
9y ago
Ruby isn't that bad.
86.
▲
by
zwp
9y ago
The "attack" (meh) is similar to weev's AT&T hack https://en.wikipedia.org/wiki/Weev#AT&T_data_breach but crucially, I think, OP can demonstrate good intent. (Or at least it doesn't seem tha
87.
▲
by
zwp
9y ago
And not really exponential. Something interesting happened 2003-2004 though. We can perhaps observe lead up to dot-bomb (1996-1999 growth) and the 2008 financial crisis. http://hpics.li/2e78909 1994,3153191 1995,4
88.
▲
by
zwp
9y ago
Sure, it could be used elsewhere. OTOH 7763 calls out email as a use case three times and in section 5 Examples "email attachment" is the only example.
89.
▲
by
zwp
9y ago
Huh, looks like text/markdown email is coming slowly: https://stackoverflow.com/a/25812177 https://tools.ietf.org/html/rfc7763 https://tools.ietf.org/html/rfc7764 (March
90.
▲
by
zwp
9y ago
You might like "Recursive Make Considered Harmful", Miller. http://aegis.sourceforge.net/auug97.pdf Although I suspect the main complaint (slow, due to checking directories where nothing has changed) has mostly be
More ›