HNHacker News
TopNewBestAskShowJobs

Paul-Craft

3,070 karma · joined April 11, 2023

submissionscomments
Paul-Craft··on Socials explode after judge shuts down accounts of Aubreigh Wyatt's grieving mom
For those wondering who Aubreigh Wyatt was, she was apparently a 13 year old girl who committed suicide in September 2023 due to bullying: https://www.cgwall.com/sports/aubreigh-wyatt-56/
Paul-Craft··on HyperCard Simulator
LiveCode?

https://andregarzia.com/2019/07/livecode-is-a-modern-day-hyp...

Paul-Craft··on What's up Python? Django get background tasks, a new REPL, bye bye gunicorn
I've never heard of anybody complaining about Django per se having performance issues. When people say Django is "heavy weight," I tend to think of how it bundles a lot of stuff for you, which can make it easy to build an app; while, at the same time, if you end up deciding you want to step slightly off the garden path and do things juussssst a little differently than Django wants you to, you're probably gonna have a bad time.

OTOH, Flask is too small to impose much of a conceptual framework on you, and SQLAlchemy generally feels like a fairly thin layer of Python syntactic sugar over top of SQL. When I write queries in SQLAlchemy, it seems like they always tend to come out looking more like what I would write in plain SQL than queries in Django do. Granted, both ORMs can start doing things like joining tables behind your back, which can certainly cause performance problems, but that's a problem that's common to both, and not just Django. ¯\_(ツ)_/¯

Paul-Craft··on Taboos and self-censorship among U.S. psychology professors
Eh. "Blue" and "red" are not the same as "left" and "right." Both blue and red are neoliberal (i.e. right wing) parties at their cores. There is no actual "left" in American politics to speak of at the national level.
Paul-Craft··on HyperCard Simulator
It was both, really. HyperCard put the power of a GUI into your hands with simple metaphors and syntax. The language is English-like enough to feel easy to use, but not so much as to fool you into thinking it can do things it actually can't do (looking at you, Inform 7!). You'd attach code to widgets in a visual way that drove home the idea that this bit of code generated that behavior when you clicked a button, typed into a text field, etc. Oh, and, let's not forget that the HyperCard environment also implemented object persistence, which came in handy, because you wouldn't have to write file handling code, or any kind of "save state" functionality. Of course, you could also mess up a stack in such a way that it was hard to figure out and hard to fix due to said semantics, but, on balance, I'd say transparent object persistence was a pretty big win.

And, it was literally right there if you had a Mac. After selling it briefly as a standalone product for $49.95, Apple started bundling it with every new Mac for about a decade. If your Mac came with System 6, 7, 8, or 9, you had HyperCard. It also came with the Apple IIGS during that time. (Great machine, BTW!) Despite its limitations, I even remember seeing a couple of nontrivial apps implemented with it.

More than anything, HyperCard made personal computing personal again, in a way it hadn't been since computers would boot straight into a BASIC interpreter, and that was a very good thing.

If my little spiel wasn't convincing enough, take a look at this excerpt: http://www.cvxmelody.net/HyperCard%20IIGS%201.1%20-%20The%20...

Paul-Craft··on What's up Python? Django get background tasks, a new REPL, bye bye gunicorn
I don't have any idea. Take a look here: https://github.com/RealOrangeOne/django-tasks
Paul-Craft··on What's up Python? Django get background tasks, a new REPL, bye bye gunicorn
The very same. As mentioned in the article, it's going to be distributed with the newest version of Django.
Paul-Craft··on What's up Python? Django get background tasks, a new REPL, bye bye gunicorn
Here's how much is installed when you do `pip install django` currently:

    122370  django          python=103934,javascript=18407,xml=29
    2734    sqlparse        python=2734
    1110    asgiref         python=1110
This will probably change when `django-tasks` gets merged in.

Here's what installing `flask` + `sqlalchemy` pulls in:

    141314  sqlalchemy      python=141314
    11464   werkzeug        python=11159,javascript=305
    8934    greenlet        cpp=4993,python=2729,ansic=1092,asm=120
    8606    jinja2          python=8606
    5842    click           python=5842
    3907    flask           python=3907
    2036    top_dir         python=2036
    644     itsdangerous    python=644
    487     markupsafe      ansic=278,python=209
    349     blinker         python=349

Looks like the same order of magnitude to me, which is surprising. I had always thought of `django` as being heavy weight and opinionated, while `flask` + `sqlalchemy` was light and modular.

All numbers generated using David A. Wheeler's 'SLOCCount'. :-)

Paul-Craft··on What's up Python? Django get background tasks, a new REPL, bye bye gunicorn
One thing I have learned after nearly a decade in the industry is that you should just never, ever, ever use `celery`. It's overly complicated to program with; the monitoring tools are not great; and the one guarantee you can make is that at some point, you will have some kind of difficult to debug, mysterious failure involving it.

If I needed asynchronous background processing in Python today, I'd definitely be looking into `django-tasks.` If you asked me yesterday, I'd have told you I'd use SQS / whatever the platform equivalent was, or, failing that, I'd probably go with `dramatiq`.

Edit: LOL, I can't believe I forgot to mention what a fscking nightmare `celery` is to deploy and configure. UGH.

Paul-Craft··on A Day Job Is So Much Easier Than Entrepreneurship
Any person who gains a sufficiently large audience implicitly turns into a performer. Lying about NW / income / expenses isn't cool, but you also shouldn't expect "Sam" to be as authentic as someone you know personally. Implicit in the notion of being a performer is that they're giving a performance; and, as part of that performance, one should expect that certain aspects of the real person behind the character get lost or distorted.
Paul-Craft··on A Day Job Is So Much Easier Than Entrepreneurship
Just to continue the analogy, an employee's monetary down side is limited to the amount of their investment, which is $0, modulo ESPPs and such. Investors can be leveraged and end up losing a multiple > 1 of their initial investment.
Paul-Craft··on An Anatomy of Algorithm Aversion
cough cough I'm choking on the smug here!

First of all, nobody "read[s] through Knuth." [0] (I couldn't find the reference, but I recall a story about Bill Gates telling Knuth he had "read his books," to which Knuth replied that he believed Gates was lying.)

Second, the way the "algorithmic portion of the technical interview" is generally constituted currently is beyond flawed. Depending on your perspective, you can either pass it by memorizing 5 or 6 algorithms and re-using them over and over; or, it's a completely unrealistic test of anyone's ability to think about and work with algorithms and data, because there is no such thing in the real world as a 45 minute deadline. Of course, you can certainly argue that it's not intended to be a test of one's ability to work with algorithms and data, but, rather, an IQ test of sorts. But, then, we have companies that are literally giving candidates IQ tests now, so, why not just drop the pretense?

---

[0]: https://www.businessinsider.com/bill-gates-loves-donald-knut...

Paul-Craft··on An Anatomy of Algorithm Aversion
I'd be pretty goddamn averse if someone asked me to implement the Miller-Rabin test on the spot, from memory, in an interview.
Paul-Craft··on Adobe employees slam the company over AI controversy: 'Avoid becoming like IBM'
Archive.is is only a pirate site to the extent that Google is. You are right, however, that submissions are supposed to be original sources.
Paul-Craft··on Taboos and self-censorship among U.S. psychology professors
Here's a serious way to identify if someone's left wing or right wing. Ask them this question: what's more important, human rights or property rights? If they answer that property rights are more important, or, especially if they say something like "Property rights are human rights," you've got a right winger on your hands.
Paul-Craft··on Taboos and self-censorship among U.S. psychology professors
No, you're not. There is no "far left" in American politics. The Democrats are not a left wing party.
Paul-Craft··on So you want to build a browser engine
A browser engine is a compiler. Or, more properly, it's at least two compilers (HTML + CSS -- you can outsource JS to V8 or whatever).
Paul-Craft··on Shu Ha Ri (2014)
Be careful. There is neither "ha" nor "ri" when it comes to HN guidelines. Other rule systems are similarly rigid. It's not always easy to tell the difference between those that are and those that are not, particularly when they are labeled "guidelines" rather than "rules."
Paul-Craft··on Brain overgrowth dictates autism severity, new research suggests
I don't think it's machine translation. The preceding sentence is this:

> The best illustration of “spillover” is the incredible increase in the size of the ass and thighs in girls. This is not due to squatting or implants, because you see it at very young ages.

Paul-Craft··on Ask HN: What was your most humbling learning moment?
Well, it almost always becomes an actual dichotomy soon, for sufficiently large values of "soon."
Paul-Craft··on Can you look at experimental results along the way or not?
As I said, just because it happens all the time does not mean it's statistically correct. I've dug into enough statistical analysis to know that researchers whose field is not statistics simply do not understand statistics enough to know when they're screwing up. Most of them don't even know to apply a correction for applying multiple tests, and you're assuming they'll use statistics that assume they might stop early? Come on. You're imputing a lot more competence to the general case than I believe is actually present, which is my point.
Paul-Craft··on Can ketones enhance cognitive function and protect brain networks?
Have you, or anyone you know, been able to stay on it successfully long term? I know a couple who have tried it, had good results, but later stopped, but none who have stayed on it long term.
Paul-Craft··on Parable of the Sofa
He does have some idea what $5k would get him. He mentions that a new, well-made, leather-upholstered sofa would run 5 figures, so, at least $10k. That makes re-upholstering the economically rational choice over both a new $5k sofa and a hypothetical, same quality version of the 1965 Sears sofa.

I don't see what your point is.

Paul-Craft··on Can you look at experimental results along the way or not?
Just because it happens all the time doesn't mean it's statistically correct. And, I don't see what the data being on a computer has to do with anything; that also "happens all the time," even in clinical trials.
Paul-Craft··on Einstein went to his office just so he could walk home with Gödel
I probably wouldn't mind spending 30% of my workday walking home with either Gödel or Einstein, even if it meant I was only getting paid 70% of my normal salary.
Paul-Craft··on Einstein went to his office just so he could walk home with Gödel
This is great. u/optimalsolver's comment deserves to be un-flagged for this and u/kibwen's comment alone.
Paul-Craft··on Can you look at experimental results along the way or not?
I'm interested in how this might work out (or not!) in practice. Turning p=0.05 into p=0.045 is a mortal sin in some circles (see also: p-hacking). I can't see how you can look at your data for only "massive signs" without also picking up the smaller signs. Have a computer do it?
Paul-Craft··on Can you look at experimental results along the way or not?
Unfortunately, your comment does neither, which is the far worse offense.

See also: HN guidelines regarding shallow dismissals.

Paul-Craft··on Parable of the Sofa
It's easy to criticize his conclusion when you leave out all the evidence for said conclusion:

> But the subtext is drearily familiar. Globalization: Check. Cheap-labor arbitrage: Check. Tax engineering: Check. High profits: Check. Flat-packing: Check.

Do you deny that any or all of this is happening, today, under capitalism? Do you deny that there are incentives for any or all of this under capitalism today? Do you deny that these things would lead to the inevitable quality decline he's lamenting? Let's not have any more of your straw man attacks. Attack the real issue instead.

Paul-Craft··on 'It's better for humans in general': The 4-day workweek is closer than you think
Listen up, you little shit, why don't you back the fuck down and have a little fucking respect for your fellow commenter?

See how you like it? Assume good faith and have some goddamn manners.

← PreviousPage 4 of 30Next →