HNHacker News
TopNewBestAskShowJobs

mcqueenjordan

1,412 karma · joined July 18, 2016

Jordan McQueen Tokyo, Japan

site: https://jm.dev email: j+hn@jm.dev Twitter (eng): @jmq_en

follow:

security: tptacek, moxie, nickpsecurity, strcat, agl, SwellJoe, drewcrawford, schoen, mirimir, secfirstmd, mjg59, userbinator, gorhill, rgovostes, lallysingh, malandrew, mikewest, jedberg, wtarreau, michaelaiello, segmondy, whitequark_, jsnell, salgernon, geofft, ericb

startup: pg, sama, garry, mbesto, coffeemug, davidu, rms, xal, malgorithms, Alex3917, jacquesm, jl, AndrewWarner, emmett, ig1, anateus, lpolovets, ivankirigin, sahillavingia, Joshua, ericflo, immad, rdl, joshfraser, gdb, grellas, gatsby, mayop100, bryanh, josephsunny, ayw, pbiggar, sytse, csallen, joshu, jhuckesteinm, pclark, whockey, sjtgraham, jenthoven, aresant, mayop100, cmdrtaco

code: aphyr, KiranDave, peterwaller, saosebastiao, amirmc, lhorie, judofyr, nikita, huhtenberg, pron, Animats, dmbaggett, chris_wot, aaronbrethorst, grey-area, drewg123, dom96, jashkenas, rich_harris, jordwalke, Homunculiheaded, mark_l_watson, kibwen, Sir_Cmpwn, KenoFischer, ahoyhere, scrollaway, trishume, dbaupp, skrebbel, cryptica, peterhunt, rauchg, TazeTSchnitzel

systems: bcantrill, brendangregg, DannyBee, steveklabnik, fsk, pcwalton, jbk, ajross, yosefk, netguy, minimax, munificent, ColinWright, beat, zwischenzug, derefr, jandrewrogers, shykes, lallysingh, dochtman, SamReidHughes, hnkimb3558, rurban

mods: dang

linux: rwmj, pdkl95

oth: phkahler, davidw, antirez, gwern, patio11, jgrahamc, darksaints, jamwt, nostrademons, plinkplonk, mikekchar, holman, mikeash, edw519, jrockway, noonespecial, staunch, petercooper, jmathai, tzs, jacques_chester, coldtea, peteretep, happy-go-lucky, aaronbrethorst, mtgx

os: vezzy-fnord, rbehrends, vardump, amirmc, pjmlp, rsync, waddlesplash

db: craigkerstiens, teraflop, ifcologne

graphics: pcolton

net: zx2c4, keithwinstein, bsder, walrus01

aws: colmmacc, _msw_, aligouri, illumin8, jcrites, socttlegrand2, openasocket, otterley, mslot

ai: jph00

submissionscomments
mcqueenjordan··on A look at the Mojo language for bioinformatics
It was later edited, after it had basically made the rounds.
mcqueenjordan··on A look at the Mojo language for bioinformatics
Another point of clarification that is of great importance to the results, and is a common Rust newcomer error: The benchmarks for the Rust implementation (in the original post that got all the traction) were run with a /debug/ build of rust, i.e. not an optimized binary compiled with --release.

So it was comparing something that a) didn't do meaningful parsing against b) the full parsing rust implementation in a non-optimized debug build.

mcqueenjordan··on Harmonics Explorer
This is really cool. I used to do a lot of overtone ("harmonic") throat singing and playing with this tool reminded me of those days.

For anyone curious, vowels are mostly just how we perceive different harmonic distributions. Put differently, harmonics are the basis of what it means to pronounce a different vowel. The human voice is basically just a harmonic chord, with different distributions of the 2nd, 3rd, 4th, etc. harmonics.

e.g. https://www.open.edu/openlearn/health-sports-psychology/heal...

mcqueenjordan··on How to defend your website with ZIP bombs (2017)
This is a great reference. I hadn’t seen this before. Thanks. No idea about the effectiveness now vs then.
mcqueenjordan··on How to defend your website with ZIP bombs (2017)
Another possible tactic is to trickle your packets back slowly, say trickle 1 TCP packet back to them per second. Sure, they probably have client-side timeouts, but again, if everyone did this, wouldn't it be a pain to scan for vulns? Every endpoint you hit would last the duration of your timeout.
mcqueenjordan··on How to defend your website with ZIP bombs (2017)
This reminds me of the chat bot tool that was deployed to reply to scam emails and waste maximal time of the scammers by seeming like a vulnerable, gullible target. The chat bot would drag out the interaction slowly, wasting as much time as possible for the scammer, all the while posing as a real human.

There are a lot of comments here decrying this as a method to defend your website, but in some senses it's a very smart tactical weapon, especially if deployed widely. There's an often quoted phrase in making secure password hashes that you're not making it impossible to crack, only prohibitively expensive to do so such that the benefits don't outweigh the costs. The same principle applies here -- if the good guys collectively make scanning a very expensive endeavor, the juice is no longer worth the squeeze for the bad guys. Just blocking an IP is cheap for them. Make them bleed a little.

mcqueenjordan··on NaiveSystems Analyze – FOSS static analyzer for MISRA C/C++, AUTOSAR C++14, etc.
I think just using it locally in manual or ad-hoc senses is fine, but IIRC it can become tricky or at least a legal grey area if you commit code that automates using GPL developer tooling and/or pulls it into your development toolchain, e.g. via GitHub action or some other CI automation.

Disclaimer: Not a lawyer, this isn't legal advice.

mcqueenjordan··on ChatGPT generates fake data set to support scientific hypothesis
This is some next-level human behavior prediction.
mcqueenjordan··on Operating on a minimal two-core Postgres instance: Query optimization insights
Egress is defined as outbound traffic to the public internet.

Unless your database is publicly accessible (which it really should not be), its egress should be zero. What your /application/ returns to the public internet, is a different conversation.

mcqueenjordan··on Operating on a minimal two-core Postgres instance: Query optimization insights
Do you expect a database to do much egress?
mcqueenjordan··on Operating on a minimal two-core Postgres instance: Query optimization insights
How did you arrive at $4000?

I used https://calculator.aws/#/estimate and my number is over an order of magnitude less than $8000 for 2 instances with SSDs, 4GB RAM, and 2 cores.

mcqueenjordan··on Soft Orders of Magnitude
Oh man, I was just making an argument for performance goals based off exactly this concept, but I hadn't thought of the framing of "soft orders of magnitude" -- that's a great analogy. Thinking a bit more, I think "paradigm shift" and "discontinuity" also works. Every "soft order of magnitude" is in fact a qualitative shift of the experience --

- "I can reasonably stare at this tool's output and wait for it to finish"

- "I'll get distracted and look outside but I won't switch off task."

- "Time for a coffee."

mcqueenjordan··on Tidal energy is not renewable
I think it's a joke about how all finite sequences will repeat during infinite time. But it doesn't really add anything to the discussion.
mcqueenjordan··on I don’t buy “duplication is cheaper than the wrong abstraction” (2021)
The crux of the argument is:

> I think “the wrong abstraction” is a confused way of referring to poorly-de-duplicated code.

But I believe this is similar to a no true Scotsman fallacy. “If you just make the right abstraction, de-duplicating is fine!”

Yes, if you’re good at making the right abstraction, it’s not worse! Those are the cases when I definitely do the refactoring: when I know for sure I know the right abstraction. Otherwise, I defer the decision for an older, smarter, wiser me (or future maintainer).

mcqueenjordan··on Show HN: Dataherald AI – Natural Language to SQL Engine
Yes -- I think transparency on the limitations would be a useful step in mitigation. But I ultimately think that it will become a black box for most of those who use it, with a good deal of blind faith in the results. Sounds pessimistic, but grounded in reality, I think. That's not a deal breaker, though! Just a caveat about how much you can trust the output.
mcqueenjordan··on Show HN: Dataherald AI – Natural Language to SQL Engine
I want to preface this comment so that I don't detract from the idea. This is a really cool product, and obviously has value.

There's just one thing I worry about. It's losing expertise in your data model and gaining organizational false confidence in bad data. Let's consider Bob. Bob is a Product Manager.

Bob always used to bother his software engineers to write SQL queries, but now he just uses this tool. Bob didn't write the tables or the data structures, so Bob doesn't know the nuances of the data model. Bob just types English and gets result sets back. Bob doesn't know that field order_status can also be in "pending_legal", and neither does the "sql compiler" know when it's appropriate to add or elide that field. Bob then presents his data to leadership to make changes to the Pending Order Logic, based on bad data.

mcqueenjordan··on Chrome is dead for those who uses ad-blockers
Did you try disabling the ad blockers to verify that claim?

Not trying to be disrespectful, but I think you may have jumped to a conclusion too quickly here -- I suspect a misconfiguration or some other issue (dirty cache, corruption, etc.) seems more likely to be the cause.

mcqueenjordan··on Nobody ever paid me for code
Also known as the “jobs to be done” pattern.
mcqueenjordan··on Amazon has more than half of all Arm server CPUs in the world
I assume he just meant running binaries compiled for the same ISA / processor architecture.
mcqueenjordan··on Observation of zero resistance above 100 K in Pb₁₀₋ₓCuₓ(PO₄)₆O
I also did that the first time when reading the abstract. Very relatable. "It's on the front page of HN, so it must be a remarkable result," my subconscious seemed to assume on my behalf. ;)

Fool me once...

mcqueenjordan··on Observation of zero resistance above 100 K in Pb₁₀₋ₓCuₓ(PO₄)₆O
100 degrees kelvin is about 338 degrees Fahrenheit below room temperature.
mcqueenjordan··on Jujutsu: A Git-compatible DVCS that is both simple and powerful
Oh wow, this looks really promising.

I've been playing with a homegrown centralized VCS client and server project, aimed at basically being the VCS host for monorepos, and this looks like a much better foundation for the VCS layer.

mcqueenjordan··on I'm Peter Roberts, immigration attorney who does work for YC and startups. AMA
Any advice for an US citizen expat who wants to found while living abroad? (Tokyo, Japan)

e.g. About whether to incorporate locally or in the U.S., and that sort of thing -- anything unique to an expat situation.

(This may be out of your wheelhouse, but I figured I'd ask.)

mcqueenjordan··on How Turborepo is porting from Go to Rust
Totally agree with this nuance. Really depends on what layer you’re working at.
mcqueenjordan··on How Turborepo is porting from Go to Rust
Yes, experience in both. I'm considerably more inclined to use Rust for any use case, but I'll freely admit that I'm biased because it appeals to my sensibilities more.

IMO the most compelling use case to use Go over Rust is if you're writing a networked service or networking code.

mcqueenjordan··on Performant database tree traversal with Rails
Apologies for being the grumpy guy this morning.

I don’t think “we added an in memory cache to reduce roundtrips to the DB” is “solving an interesting performance problem.”

mcqueenjordan··on Amateurs obsess over tools, pros over mastery
Part of mastery is selecting a good tool, or building one if it doesn’t exist.
mcqueenjordan··on Fast
Just want to mention this because this parable gets thrown around a lot.

The delta between what git is now and what it was when first released is massive. Junio Hamano has been a absolute force of a maintainer and steward over the interim 18 years (!!) since 2005.

This story often gets tossed around, as if to imply all of what git is today was put out by Linus in 2 weeks, but I think it suffers from a bit of a hero worship problem. It was no doubt impressive and should be recognized, but I just want to make it clear: Git was made by many people over many years.

mcqueenjordan··on Ask HN: Could you share your personal blog here?
https://jm.dev

About me, learning, software engineering, and life.

mcqueenjordan··on Get a personal teacher
I structured my hourly classes with a rough target of 20 min of free-form conversation (usually on a topic or two I or the sensei wrote down in a shared google doc ahead of time) followed by 40 min of structured lesson prepared by the sensei (grammar, vocab, textbook stuff).

I can recommend Yuri T on iTalki.

← PreviousPage 2 of 11Next →