Better HN
topnewbestaskshowjobs
Log inSign up

rtpg

21,281 karma · joined Nov 23, 2012 (14y ago) · 6,748 submissions

real name: Raphael

blog: https://rtpg.co

email: raphael at above domain

Submissions

comment 5y ago · link · parent

That's a good point, actually. Beyond the "default formatting" case, it seems pretty hard to imagine a good syntax that would not be very awkward.

comment 5y ago · link · parent

alternatively, one could consider that bit-shifting isn't nearly as common of a thing as I/O stream redirection.

I'm agnostic on C++'s std stream stuff but I am pretty anti-"yes bitwise logical operators are so important that they get priority over all these symobls".

comment 5y ago · link · parent

Everything about language maintenance isn't "just" adding features. There's actual bug fixes and a bunch of other stuff that take a lot of time. Not to mention that Python's standard library is relatively large.

comment 5y ago · link · parent

Struggling a bit with Python and JS-related packaging stuff recently, I'm also wondering: in a clean-room environment, what does good Python packaging look like? Is it "get a single binary" stuff?

PyOxidizer feels like the big win, but a part of me wonders if the original sin of allowing aribtrary code execution during installs really stops a "wrapper" tool from getting this right. https://pyoxidizer.readthedocs.io/en/v0.9.0/index.html

comment 5y ago · link · parent

Super mixed feelings about this. I feel like the binding stuff in particular could have been solved with some sort of prefix symbol (like "this is referring to a binding location") without introducing a bunch of semantic weirdness.

But like... hey, finally get a case statement! I imagine the community will coalesce a bit around best practices. And stuff like pylint will catch name shadowing (at least in theory). Almost all pattern matching mechanism have name shadowing issues and it's definitely annoying, but they are able to figure it out.

comment 5y ago · link · parent

this is a post from 16 years ago, and there might be someone who comes around with a solution that resolves his concerns (granted, I feel like it would be hard to come up with a great solution in a language like C, having some ubiquitous unwrapping mechanism + better type checking would make this doable though....)

comment 5y ago · link · parent

I think what’s being proposed around “strict data fields by default” (or, an alternative or “some new concept that evokes strictness where it makes sense”) could let us continue to use Haskell and its laziness.

This isn’t really obvious to me but I think you could build a mixed reality without splitting a community up.

comment 5y ago · link · parent

For the “affirm the person is the person in the document” problem, I’ve had to use a lot of KYC recently where the solution is to turn on your webcam and hold your doc in various positions while moving your face etc

I imagine it’s possible to get MITM’d in this process (for anything really) but otherwise it seems very hard to fake

comment 5y ago · link · parent

Not to go too Gil Scott Heron on you, but there are _many_ underfunded/underworked scientific initiaitives that are more important than trying to send a probe to contact aliens.

At least GPS satelites actually serve some purpose.

comment 5y ago · link · parent

To be honest, with some other open source projects I've wanted to "pay for someone else to do it".

But like, that's actually _also_ a lot of effort! Especially for projects that are "abandoned" or have no obvious owner, since then you're in "hire a random X programmer to do this for you".

I feel like more OSS projects should go beyond "Donate" and have a "buy a feature/bug fix" button.

comment 5y ago · link · parent

how deep does this deploy queue get? And does everything that lands on master have to first be deployed?

This seems like a bit tough for getting work done if you have enough people all waiting around for this

comment 5y ago · link · parent

Python 2.7 still works as a binary. You can vendor all your requirements. The rug is not being pulled out from anyone, we’re looking at 10+ years of this.

pypi is a mostly volunteer-only endeavor, so it’s tough to support stuff forever. And even there older pips still will work!

Python 2 still works! It’s still there! Nobody is taking it away from you in any real sense. But Python developers don’t want to continue developing in that environment so are choosing to not handle it for future stuff.

Python 2 works. You can use it forever if you want. Nobody is forcing you to upgrade... except if you want the free labor from the community. And you have had years and years and years.

comment 5y ago · link · parent

There are a billion blog posts about the python core developers acknowledging their mistakes and saying they would handle future changes much differently.

This post might be true, but it's roughly 10 years late in terms of hitting the intended audience. Everyone gets this now, and "beating a dead horse" might be an understatement

comment 5y ago · link · parent

Even ignoring diagrams, etc, there's a reason that like word processing applications are killer apps for personal computing. WYSIWYG is a pretty convincing abstraction!

And yeah, you have the invisible format issue but at least you can make tables and resize them with your mouse.

Markdown's value add comes from having really good implementations to transform it into rich text, and being "unambiguous" (it's not really in a lot of cases but there aren't many great alternatives with widespread implementation).

But like... Word is pretty magical overall.

comment 5y ago · link · parent

The basic counter-example I was thinking of is Mathematica. In Mathematica you can paste an image as input, and have the input embedded into the document and used as an operator.

Similarly you could imagine files/documents/etc be represented as elements of rich text.

This is _not_ an easy problem however! As an example, if I had a document referring to `~/.emacs`, it could be:

- the path on the system of the author's machine

- the path on the system of the reader's machine

- the content of the file on the author's machine

- the content of the file on the reader's machine

- A sort of lisp data structure based on the content of the file on (author or reader's machine)

Basically you enter in to the "reference or value" problem on many things. Text doesn't have this problem because it has no solution to the value problem, for the most part, apart from like embedding a base64 blob into your text.

But hey, if you're building an entire OS anyways, and you have some rich text primitives, you could imagine having that in the base libraries and setting up some COM-like primitives all over and work from there.

I mean this is basically Word, at this point. But a programmer-y version of Word would be interesting from my perspective.

comment 5y ago · link · parent

For the life of me this Oberon/Plan 9 obsession with "all text can be turned into commands" escapes me. It seems so counterintuitive and just aesthetically displeasing. Like there's huge swaths of software where this sort of paradigm just makes no sense ("click to evaluate" your Excel file, and then paste i there?)

Like OK, cool, I get an email and I can middle-click it there to run it instead of.... I guess opening a text file and putting it there and hitting enter?

Not to mention that limiting yourself to text really limits how far this metaphor can go.

I do realize that there's limitations of the time, and that for the time it would be way better than, say, Win 3.1. Just like.... it feels like an evolutional dead-end (compared to say, Smalltalk-y OS's whose concepts have lived on in things like browser dev tools and SFDC' Apex environments).

I don't mean to yuck too much on anyone's yum, just feels like there are better ideas out there at this point.

comment 5y ago · link · parent

You can't make trolley problem tradeoffs when there's enough uncertainty involved in all the steps.

Older medicine is filled with supposed cures to issues that cause issues down the road. We also have countless medical trials that show no positive effects on the disease it's trying to cure, and outright ill effects (both short term and long term).

If we _did_ have visibility and a good understanding of the effects of stuff, you would think that Covid, of all things, would push at least some people more down this argument you are making.

But basically everyone involved (including many many people who had extreme incentives to push a vaccine through) stuck to the trial discussions.

I do understand the "Extenuating circumstances" argument. But this sort of massive generality reeks of Dunning-Krueger.

comment 5y ago · link · parent

this one gets me _all the time_. I really am just trying to figure out where I am! Please let me use the default provided filename!

comment 5y ago · link · parent

I bit the bullet and got a subscription. The game analysis feature is really good (I guess you can just run that client-side in theory? I don't know), and the lesson content feels worth it for me. And stuff like 4-player chess is fun.

The main homepage is a huge mess though...

comment 5y ago · link · parent

Arbitrage is good, sure. But what is the timescale that is useful? Is sub-second resolution of arbitrage actually useful?

What is the argument against Arbitrage having a lag of even, say, 90 seconds?

And like... who cares about the price delta on a time scale even less than an hour apart from day traders? FX stuff I guess?

comment 5y ago · link · parent

I’m legit worried about consumer FOSS, and especially around how work just kinda gets stuck in this limbo when an issue is over, say, 3 years old (I recently had this come up with a 12 year old FF bug as well)

I desperately want to pay, like, $100/month to get some guarantee of cleanup work on the free software I’m using (FF, GNOME, and Emacs in particular)

Lots of software projects do fundraising for lots of auxiliary stuff but I really want maintainers to be paid

comment 5y ago · link · parent

???

I’m super contused at this post. This was just a tongue-in-cheek way of talking about emulators and ROMs (most people aren’t ripping their own carts, they’re downloading them from somewhere and probably never bought the original game)

I’m not making a value judgement, and like I’ve played a lot of stuff on emulators

comment 5y ago · link · parent

luckily the GB/GBC was nice and slow so homebrew emulators could totally run your legally dumped gameboy carts onto your extremely legal flash carts

comment 5y ago · link · parent

You could handwave that when we were at way less cases. But at one point people would start noticing (for example) everyone in retirement homes dropping like flies.

Not to mention that after the first couple of months, Covid cases are now nicely distributed amongst younger populations as well. Fatalities are still concentrated in older people, but cases are still widespread across demographics.

The facts are staring everyone in the face: when countries started weakening their lockdown procedures, cases started going back up. And nobody's been willing to go back in full lockdown, for various reasons. And so cases are going up a bunch.

Meanwhile Vietnam had some cases in fall/winter, and _immediately_ locked stuff down, shut down universities, and quarantined people who had even a bit of contact with people in positive cases. The stuff was taken seriously, and numbers stayed low because of it.

Maybe the US and Europe "can't do it" because of a lack of political will etc. But it's not physically impossible.

comment 5y ago · link · parent

Japan doesn't have low numbers because of immigration quotas (they are in fact _trying_ to bring in more people, for its own reasons), and they have no immigration quotas. So I think the system would be welcome to many people who want to go to the US and who can meet the college degree criteria.

Of course countries can do whatever they want (just from the notion of application of power). But I see immigration as a two way street. There's an invitation to come into a society, and a request to participate in it. Other people in society get second chances, they get opportunities to improve... I feel like extending that to everyone is the logical conclusion of a just society.

And... yeah maybe there's some abstract notions that underpin the US system. But when you look at the facts on the ground, I just don't see how you justify the draconian decisions applied to people after they've been a part of society for so long. What's the point of a bunch of theory if the practice turns into things like "ICE can lock someone up for years without them being allowed to see a judge"?

At least it's not at Australia-level cruelty, I guess...

1
9899100
225