Owen O’Malley reposted
Owen O’Malley
Owen O’Malley reposted
For folks still struggling with the math: There are ~345 million US citizens. There are ~245 million white US citizens. This is what they mean by "Peaceful ethnic cleansing." Their plan ends with deporting all non-white people. Not "undocumented criminals." Not even "all undocumented people."
Owen O’Malley reposted
👀👀👀👀 We knew this already, but shocking to hear a prosecutor say it out loud.
BREAKING on MS NOW: Jack Smith, in his opening statement to House Judiciary, says: "Our investigation developed proof beyond a reasonable doubt that President Trump engaged in a criminal scheme to overturn the results of the 2020 presidential election and to prevent the lawful transfer of power."
Owen O’Malley reposted
Owen O’Malley reposted
Owen O’Malley reposted
Reminder: Please throttle your #AdventOfCode traffic Please don't make frequent automated requests - avoid sending requests more often than once every 15 minutes (900 seconds). www.reddit.com/r/adventofco...
I got my annual #AdventOfCode reminder that #RustLang’s remainder operator isn’t modulo and that you need i64.rem_euclid. doc.rust-lang.org/std/primitiv...
Owen O’Malley reposted
A study by Dayforce shows 87% of executives use AI for work, compared to 57% of managers and just 27% of employees. I think this explains the massive disconnect we see in how CEOs talk about AI versus everyone else. It also raises the question of how useful it truly is for frontline work?
Owen O’Malley reposted
Owen O’Malley reposted
Owen O’Malley reposted
Owen O’Malley reposted
Owen O’Malley reposted
Owen O’Malley reposted
I tend to agree that ranked choice voting is widely preferable to our (general) current system in the US, but I think it's important to note every electoral system has quirks and vulnerabilities and ranked choice doesn't mean bad/incompetent/just plain evil folks can't still win elections/majorities
Getting away from winner-takes-all voting is probably the only way to save democracy in the long term, so any alternative would be an improvement.
Owen O’Malley reposted
Owen O’Malley reposted
Owen O’Malley reposted
NEW: The US government has collected DNA samples from 133,000+ migrant children and teenagers and uploaded them into CODIS, a national criminal database originally built for convicted sex offenders and violent criminals, according to documents reviewed by WIRED.
Owen O’Malley reposted
Owen O’Malley reposted
Owen O’Malley reposted
Owen O’Malley reposted
Breaking News: The top vaccine official at the FDA abruptly resigned, saying that Robert F. Kennedy Jr.’s “misinformation and lies” were irresponsible.
Owen O’Malley reposted
Owen O’Malley reposted
Owen O’Malley reposted
Owen O’Malley reposted
Owen O’Malley reposted
Owen O’Malley reposted
Owen O’Malley reposted
An actual scientist-entrepreneur is making waves with his breakup with Musk. I can't vouch for what he writes, but NeuroVigil is a real thing on Round B venture capital funding. www.linkedin.com/posts/dr-phi...
Owen O’Malley reposted
Day 12 of #AdventOfCode was fun because I got to revisit the union-find algorithm that I learned in grad school. (I found a #RustLang crate that implemented it for me, which was great.) Counting the edges of the shapes was challenging. My solution runs in 0.734 millis. github.com/omalley/adve...
I've been having fun trying to optimize day 6 on #AdventOfCode, which is my slowest day. My original implementation was 590 millis. Changing the data structure to minimize repeated work took it to 55 millis. Moving from Vec<Vec<T>> to Array2<T> saved another 13%. github.com/omalley/adve...
In #AdventOfCode day 11 part 2, the problem description doesn't give the output on the test data. I *hate* when they don't give a test for part 2. Anyways, the expected output for part2 on "125 17" is 65601038650482. github.com/omalley/adve...
I really enjoyed watch this talk about #AdventOfCode. I used Advent of Code to learn Rust a few years ago. It has been great fun doing the puzzles and comparing notes with my friends.
If you're curious what it takes to build and run #AdventOfCode every year, you might enjoy this talk: www.youtube.com/watch?v=uZ8D...
Part 2 of day 5 of #AdventOfCode took a while to get correct. It is an interesting tradeoff in how much to setup your data structures. (It reminds me of studying in university and how much to memorize versus re-derive.) In this case, I sorted and grouped the rules. github.com/omalley/adve...
Day 3 of #AdventOfCode, I first used regexs with 31 lines of code for a total run time of 2.26ms. Moving to manually parsing with a peekable char iterator with 103 lines of code took 78µs. So 3x the code for 29x speed up. (Compiling the regexs at runtime is slow.) github.com/omalley/adve...
In day2 of #AdventOfCode, my first pass of part 2 was relatively complicated. Simplifying it down to just manually trying to delete each item in the row was far simpler and faster. github.com/omalley/adve... Day 2 (160.29µs) · Generator (111.83µs) · Part 1 (8.92µs) · Part 2 (39.54µs)
I really enjoy doing each year's #AdventOfCode, which is a set of daily programming puzzles each December. Although their is a leader board for getting the answers the fastest, I prefer to write nice understandable and fast code. Using #RustLang I can usually get all 25 problems running in under 1s.
If you want to see my code for the days so far, it is at github.com/omalley/adve... . I try to leave the git history accurate if you want to see what kinds of clean ups I do over time.
You are up to date.