Recent submissions

Comment · 6 years ago
A bit unrelated, but made me remember this study: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2995774/

The effects of fasting on the human body are... fastinating! (Sorry!)

Comment · 6 years ago
IIRC some CPUs of the Intel Atom series already have an embedded FPGA.
Comment · 6 years ago
Comment · 6 years ago
My car clock went back from 2:00AM to 12:00. I was really wondering what happened.
Comment · 7 years ago
I think it's more of a "security by obscurity" thing than anything, but if the number is really unknown except for you and the 2fa provider, that would probably be "good enough".
Comment · 7 years ago
Maybe you could use VOIP numbers for 2FA? Many VOIP providers (i.e. voip.ms) can forward SMS to e-mail, SIP client, callback URL or an other phone number. There's a cost, but I guess it's minimal, all considerations done.

Your second scenario is like a dead man's switch. It's interesting, as it could prompt you with a daily challenge that only you can answer. But I don't see how it could be implemented in a normal person's life?

Comment · 7 years ago
The specification pattern can also be used to replace multiple IFs. If you look at Wikipedia, they propose a quite full-fledged and complex specification pattern, but it is possible to make a more lightweight one for your needs.
Comment · 8 years ago
We did learn POV-Ray in high school computer class. We rendered on our faithful Sun Microsystems workstations. Good times.
Comment · 8 years ago
Yeah, I feel the same way.

What hurts is when you decide to switch to another company, which has good rep, and finally find out: it's the same. Everywhere. After the big bosses do stupid shit, they get promoted elsewhere, leaves you fix the broken plates, rince and repeat until a merger, bankruptcy, or major reorg. Meanwhile middle management gets bigger and everything gets slower. Good employees leave, bad one get promoted to middle management, and you wonder why you're stupid enough to stay there.

Comment · 8 years ago
Once we had a problem with Microsoft' LDAP library not handling referrals correctly on a Big Corp AD forest with domains on each sites. Real headache as we were already late for meeting our deadline...

Backstory: we produced a custom software that used Windows Embedded' LDAP library to handle the LDAP part (Winldap32 library with the Winldap.h headers). The machine running our software didn't join the domain, so it only authenticated the users with the ldap_bind function.

If I recall correctly, we found the ldap32 library referral problem when we used AdInsight (by Mark Russinovich) and saw the library was poking all around the place (the other forest DCs) and never completed any of the requests. I think we confirmed with Wireshark.

The hack was in 2 parts:

1) We made a DLL that offered the same ldap_* functions as those we used in our software. The library then redirected the LDAP calls to a python script that used a native ASN1/LDAP implementation which relied on nothing but pure python code.

2) Then we made a injection software that injected the DLL in our software at startup and replaced the Winldap32 functions with our DLL functions.

We then were able to bypass the MSFT' LDAP library problem, and I think we pretty close to our initial deadline in the end. Apart from the (very small) added latency on LDAP code, everything was fine in the end.

Comment · 8 years ago
> The challenge I'm spending my life on is figuring out how to achieve these consistently.

YMMV but for me some of these came naturally with time.

Comment · 9 years ago
Comment · 9 years ago
This definition seems a bit strong for the word. If it's meant as borrowed from the french "louche", then would rather define as:

> discutable, weird, questionable, shady

Comment · 9 years ago
It seems like many substance alter empathy towards others. I remember that acetaminophen was found to reduce empathy. What other common substance would affect the jury that we don't know of yet?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton