Better HN
topnewbestaskshowjobs
Log inSign up

adbachman

656 karma · joined Feb 21, 2007 (19y ago) · 180 submissions

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 ]

Submissions

comment 2mo ago · link · parent

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 2mo ago · link · parent

this is their thing, yeah.

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

comment 2mo ago · link · parent

Still zero on the felony bench.

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

comment 3mo ago · link · parent

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 7mo ago · link · parent

they include a LÖVE demo in their documentation: https://dev.fennel-lang.org/wiki/CookbookPong

comment 1y ago · link · parent

Immediate full screen fake virus scanner ad on Android.

What's up, OP?

comment 1y ago · link · parent

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 1y ago · link · parent

Hopelessness is their tool, not ours.

comment 1y ago · link · parent

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 1y ago · link · parent

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 1y ago · link · parent

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 1y ago · link · parent

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 1y ago · link · parent

No. Federal employees take an oath to defend the Constitution, not the current executive.

Civil service in the US has been neutral politically and merit based for the last 140 years. It stands directly opposed to the "spoils system" which awarded positions to friends, campaign contributors, family members, etc. https://en.m.wikipedia.org/wiki/Spoils_system

comment 1y ago · link · parent

"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 2y ago · link · parent

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.

comment 2y ago · link · parent

the only moves available are:

1. Split an integer into two smaller integers.

2. Combine (add) two integers into a larger one.

Both suggest that negative numbers are not possible.

comment 2y ago · link · parent

In my top five, too. I have two copies right now, the second is a first edition I found at a free bookstore. I've given one other away, will probably send another with a kid when they move out.

It's the dryness, for me. She evokes the setting so clearly and in so few words, it took me by surprise. Also my first exposure to thoughtful anarchist ideas, which has been fun.

That and Wizard of Earthsea. Which is as spare, poetic, and strange as any YA magic fiction book wishes it could be.

comment 2y ago · link · parent

This is the important question.

We evaluated several horizontally scalable DBs and Cockroach was by far the slowest for our access patterns.

comment 2y ago · link · parent

I like the, "if you slice, your sister gets to pick first" energy.

comment 2y ago · link · parent

This is 100% accurate to my experience working as a software developer for the US federal government.

Important humanitarian mission (I worked in the asylum and refugee org) filled with true believers, dedicated civil servants with a heart for service, managed by career middle managers.

18F, USDS, interesting smaller contractors, and all the "innovation" orgs direct hiring software devs like me were aimed at supporting the mission, but it felt like they were never going to win over the system of 9 digit contacts to support the status quo.

comment 2y ago · link · parent

I use this setup. My notes folder is a git repo, I have a private repo on GitHub as backup. Then two moving parts.

a backup.sh script, which boils down to: `cd ${obfolder}; git add .; git commit -m "auto backup $(date +%Y%m%d%H%M%S)"; git push`. Give it a `chmod +x` and it's ready.

a crontab entry: `1 17 * * * ${obfolder}/backup.sh`, which is "at 5:01pm every day, run the backup script.

${obfolder} is the actual path of the vault directory and I haven't had to think about it in years.

comment 2y ago · link · parent

We can each have our very own Dixie Flatline construct.

comment 2y ago · link · parent

> the ?? would help a little bit

that's the only point of the operator.

given: a = 0; b = 42;

then `a or b` and `a ?? b` give two different answers, but take the same number of characters to write.

> just explicitly check for nil

1. I am lazy and 2. I am explicitly checking, that's why I picked `??` not `or`

comment 2y ago · link · parent

that's interesting.

my example data did include the edge case that caught me out in part two, but didn't include it in a way that broke my first pass at a solution.

funny piece is it didn't click until i submitted a wrong answer, read my code for a few minutes, added a bunch of logging, and then saw the trick. i looked back at the given example and it was right there the whole time, just not called out explicitly.

comment 3y ago · link · parent

link to the Cory Doctorow story, "The Things That Make Me Weak and Strange Get Engineered Away", for anyone else who's interested: https://www.tor.com/2008/08/06/weak-and-strange/

I also highly recommend _Anathem_, by Neal Stephenson if the STEM monastery theme is interesting to you.

comment 3y ago · link · parent

the missing context from the previous comment is that Tao used GitHub Copilot to help with learning Lean.

He's been writing about it as he goes, most recently: https://mathstodon.xyz/@tao/111271244206606941

comment 3y ago · link · parent

There's a thin line between by-the-books malicious compliance "throw away all the keys" and "intentionally destroyed company property". You'd sure want "please delete all our information from your personal devices" in writing.

I can imagine a company whose business is impacted by intentional deletion of data by an aggrieved ex-employee could make a convincing case in a civil suit, even if criminal charges don't stick.

comment 3y ago · link · parent

you heard them, a literal potato from the ground.

even a big old russet only has, what, like 32 bites?

comment 3y ago · link · parent

Same for my kid picking up info for the beginning of their first year at Univ of Maryland.

Millions of students coming online, textbooks are digital now, SSO all the things. Perfect storm.

comment 3y ago · link · parent

ha, yeah, that reads as an argument fragment. I didn't express my whole thought.

It's the sort of statement that might get someone called out as being somewhere negative on some political spectrum, but I read it here as academic.

Dude probably gets absolutely spammed with, "can you read my paper | review my project | comment on this article?" requests.

123456