adbachman

Joined 19 years ago

Karma
656
Submissions
180
Member since
Feb 21
Adam B; Baltimore, MD

https://github.com/abachman

https://hachyderm.io/@abachman

[ my public key: https://keybase.io/abachman; my proof: https://keybase.io/abachman/sigs/5IvuaBYW3ebu8brDPLDFNNhtp1jw86kG7xRx1VVTUms ]

View on Hacker News

Recent submissions

Comment · 1 month ago
Alpha shows the results they do because they charge exorbitant rates (up to $75,000 / year depending on region) to staff the school with multiple individualized tutors per student.

It is a for-profit product which is sold to parents and state-level customers more than it is a school.

Comment · 1 month ago
this is their thing, yeah.

the C in CBP, "Customs", is specifically this kind of stuff.

Comment · 2 months ago
Still zero on the felony bench.

Is this weakness in their training regimen the impact of operating under regulatory frameworks for too long?

Comment · 3 months ago
I ran into this in a Ruby on Rails test suite a few years ago and wrote up my findings here: https://gist.github.com/abachman/f97806e1c0fe8e4e1849e5f8412...

tl;dr - ActiveSupport::TimeWithZone used absolute seconds counting to determine dates while DateTime used a proper Gregorian calendar. This means dates before October 15, 1582 have different internal values when compared.

The behavior showed up because a test was using a DateTime value to set a MySQL DATETIME column to the DB minimum value, which is 1000-01-01 00:00:00, and then comparing the DB record attribute to the original variable used to set it.

Something like:

  date = DateTime.new(1000, 1, 1, 0, 0, 0, 'UTC')
  record.update(happened_at: date)
  record.happened_at == date # => false
I "discovered" the missing Gregorian dates when I wrote a loop counting forward in time from Jan 1, 1000 until the corresponding TimeWithZone and DateTime records returned true when compared with ==.
Comment · 7 months ago
Comment · 1 year ago
Immediate full screen fake virus scanner ad on Android.

What's up, OP?

Comment · 1 year ago
I had the same thought, "oh damn, I haven't heard about 'the c10k problem' in ages" :D (it was "solved", right?)

Given the author, his history in the field, and the project, though, I'm confident the repetition is intentional.

Like a contemporary rapper dropping Doom bars on a track, I read it as an homage / callback / shout-out, even if the meaning is changed.

Comment · 1 year ago
Hopelessness is their tool, not ours.
Comment · 1 year ago
No joke, I actually hit this condition in a test suite and ended up stumbling across the October 1582 date in a Ruby library. It wasn't until I searched "October 10 1582" on the Web that I learned the significance. https://gist.github.com/abachman/f97806e1c0fe8e4e1849e5f8412...

tl;dr - MySQL uses 1000-01-01 as the minimum value for a datetime field. Different Ruby libraries use different methods to represent dates, which can lead to situations that appear to claim that 1000-01-01 != 1000-01-01.

Comment · 1 year ago
The concern is always leverage and conflict of interest.

Is there something about you that you would do anything to keep covered up?

Are you susceptible to outside influence?

Can anyone, in any country, compel you to act counter to the interest of your employer?

Foreign property means you are, at the very least, going to take interest if/when the foreign government threatens it.

Comment · 1 year ago
what are/were Reddit's top two or three cached structures / things?

guessing post bodies and link previews feels too easy.

comment threads? post listings?

was there a lot of nesting?

it sounds like you're describing a whole post--use message, comments, and all--for presentation to a browser or crawler.

(sorry, saw the handle and have so many questions :D)

Comment · 1 year ago
Absolutely!

If it means you are unable to make any decisions or reach any conclusions which do not align with your -ism, then you're in a dead end.

Comment · 1 year ago
Comment · 1 year ago
"Chatham House Rules" is not a problem that needs solving. I've only seen it used as a courtesy extended by peers to each other out of mutual respect.

"We will have conversations and share information and we agree we can act on the information but would all prefer not to be directly quoted or have the information we shared be shared with others outside the meeting."

It's not legal, it's social.

Break trust with a wiretap (really?) and you'll just find yourself no longer invited to the fun places.

Comment · 2 years ago
Maybe it was before your time, but Diablo was absolutely huge in its day. Like, "top 10 for the 1990s" huge.

Created (or at least established or set the benchmark for) the action RPG genre, spawned clones and imitators, and has multiple triple A sequels.

Left a HUGE footprint, in other words.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton