Better HN
topnewbestaskshowjobs
Log inSign up

rtpg

21,270 karma · joined Nov 23, 2012 (14y ago) · 6,736 submissions

real name: Raphael

blog: https://rtpg.co

email: raphael at above domain

Submissions

comment 5mo ago · link · parent

2 is “fine”, or that’s just the status quo. The friction from copying over stuff from a tiny phone screen discretely is the cost to cheat as well

I don’t know about 1s practicality. In my schooling it would always be doable but I have the impression US schools are a different scale

comment 5mo ago · link · parent

I had to do "write code on paper" stuff as part of french engineering school entrance exams.

It's fine (tho annoying when you lose points to "typos"), but it limits what kinds of problems you can reasonably put on the exam. You'll definitely lean a bit more into theoretical stuff than practicals. Which is fine for some courses, I think a bit less interesting in other courses.

Remember, the hand written code is also harder for reviewers to grade! You have to manually run the code in your head, for example

Having said all that... "we've booked the computer room, you don't have internet, go type up all your stuff in this VM we have set up" feels fine if you don't like this constraint IMO

comment 5mo ago · link · parent

Is this true even for more targeted prompts that aren't about looking over an entire codebase or w/e? I just stick to my sub pricing and find good success on targeted requests, but I wonder if I would run up against things even then if not for subsidies.

comment 5mo ago · link · parent

the justification given for the ban (provided in other sources) is that Polestar's software stack is made in China. The theoretical spooky thing is China forcing some "evil" software update that stops all the Polestars.

The Volvo distinction is ... I mean maybe the Volvo software stack is in Europe or the US. Maybe it's also in China!

I do not really subscribe to this philosophy but what's going on isn't a "Polestar would be tar riffed" thing. It's an outright "you can't sell em" thing

comment 5mo ago · link · parent

Emacs in particular I suffer so much from basically guessing what needs to be escaped or not. I know `rx` exists[0] as an alternative but it's not really fun to use.

Even beyond the regex syntax itself, you often also start running into encoding problems when trying to actually use them. Typing the regex in a shell? Make sure to esacpe stuff properly. Regex in Python? Make sure it's a raw string. Etc etc etc

It's a modern miracle we're at least within rhyming distance of how to write regexes in most tools.

[0]: https://www.gnu.org/software/emacs/manual/html_node/elisp/Rx...

comment 5mo ago · link · parent

I've had this idea of building a codec that would similarly overfit to specific images. But the codec itself would not be a fixed size transformer... instead you could just mess around with the sizing to get better quality/smaller size.

So the codec would be something like: <header describing image size + transformer layer shape> <transformer data itself>

I've seen experiments where people have a "fixed" pipeline but I think having something more dynamic would work quite well.

comment 5mo ago · link · parent

I think if you believe that the aids types give for refactoring are equivalent to structural editing, then you are the one who might not get the value of typing information (I say this as a Python person, and am totally willing to accept lack of typing info in plenty of situations)

REPLs are nice and good, but when you're working on large enough systems it's nice to have some static foundations for your facts.

comment 5mo ago · link · parent

> There’s no “defederation” because there’s no analog of “community instances” that may fight with each other.

If Bluesky specifically wanted to just not have its user interact with some other entity in ATProto-land would they be able to?

My impression is that the answer to this is "yes", because people are signing up to Bluesky and relying on Bluesky to hold on to their posts etc.

Similar to how Email is all federated but in practice a bunch of people use email from one of a handful of large service providers who (in practice, not necessarily for nefarious reasons) do end up blacklisting certain email senders.

The RSS-reader example feels a bit different on the ground because for a given user, "store a list of websites you care about" is not a complicated endeavor.

For the "short-form social media with algorithmic timeline" usecase (which isn't all atproto is about, granted!) "users self-host a thing to scoop up enough of the world's posts to then make a local algorithmic timeline" doesn't... doesn't feel very feasible, right?

I guess the blogspot comparison is apt... but if "full" self-hosting requires a relay with quite some juice ($30 is "cheap" but... compared to a pile of files to host your own blog...), then in practice we're going to see a heavy amount of centralization anyways right?

comment 5mo ago · link · parent

as someone who deals with dep upgrades and forensics when trying to figure out a bug I would get _so mad_ if `git diff` didn't show the diffs to lock files.

I get what you're saying about it being line noise but when you need it you need it!

comment 5mo ago · link · parent

> I see absolutely zero value in something like Fin.

Y'all really over indexing on the "AI"-ness of intercom. Intercom is a chat box and help pages. Those are nice to have and nice to not have to build yourself (you can build your own help pages... great, now you're managing content and have to have an admin to update the docs etc!)

People here really forgetting the notion of "core competency".

comment 5mo ago · link · parent

"This user is contacting us, and has previously contacted us about something, and we want records of this" is a basic need.

> We replaced our helpdesk with Hermes

You didn't just put a computer somewhere and have a customer go up and type on the computer right? You have surrounding infrastructure on that right? That is the value add.

comment 5mo ago · link · parent

the Gameboy, not the SNES, but this talk is very very good at going in detail about a bunch of internals. The graphics stuff is 29 minutes in but I love the whole video. Very much a high level guide to building a "retro-y" fantasy console for people into that stuff

https://youtu.be/HyzD8pNlpwI?t=1759

comment 5mo ago · link · parent

what are y'all doing to hit that? Do you just not give it any pointers and let it churn away? What kind of context are you handing off?

I routinely get claude to do things pretty decently and finish up easily in the 4-5 digit range of tokens. It seems to be doing the right kind of thing to not waste its time looking at 1000 files.

comment 5mo ago · link · parent

> but can reset close to market rate when there's a 'just cause' vacancy.

Unfortunate policy, and generating weird incentives to get people to leave!

In Queensland (not exactly perfectly managing the rental crisis but...) their policies include not being able to raise rent more than once every 12 months (leases tend to be 12 months). Importantly it's linked to the property, not the tenants.

There's no actual cap in practice on how much you can raise it by ("reasonable" I believe is the nonfalsifiable term used) but it doesn't generate perverse incentives to kick people out

comment 5mo ago · link · parent

Is there any form of client-side caching that kicks in with all of this flow?

Tbh I don't feel great about people just writing up a bunch of scripts pulling things just on every run.

comment 5mo ago · link · parent

The OLFA small box cutter is more ergonomic, does the job, and costs 100x less so you could buy a 10 pack of em and put them everywhere you want one.

Other people have linked serious box cutters for "I need to use a box cutter on 100 boxes" cases, and OLFA's small box cutter will work well for a bunch of other stuff (OLFA also has like 20 other form factors all at reasonable prices).

comment 5mo ago · link · parent

This isn't that but their "record factory" toy[0]... I'm like 90% sure is the same thing as something Gakken released in Japan for half the price as a little fun toy[1]

Even in the age of the internet there's a huge business in people basically taking a "normal" thing from another market and then rebadging it to release as an elevated thing.

Studio neat has a $231 tiny box cutter[2]. OLFA (A "professional" box cutter maker) sells a 2 pack of tiny box cutters that probably are 5x more ergonomic on account of being made to be used instead of to look nice on a website, for $10. [3]

The best version of a thing is likely whatever people who do it all day use. But you can totally make a market for consumers who want "fashionable" things but who don't really get the space.

Studio Neat is a big offender on this honestly... basically all of their stuff have "better" things at least at half the cost just available in random stationary stores. I'm all for wasting money on pens, but at least waste them on good pens!

[0]: https://teenage.engineering/products/po-80

[1]: https://hon.gakken.jp/book/1575072200

[2]: https://www.studioneat.com/products/keen

[3]: https://www.amazon.co.jp/-/en/OLFA-Compact-Knife-Pieces-95B2...

comment 5mo ago · link · parent

The Gakken toy record cutter was only 8000 yen when it was released[0].

My spouse bought one on a whim. The quality is ... quite bad. It's a tool for learning about how this works though! So it was a fun little activity. But it really is "just" what it is.

Maybe Teenage Engineering's toy that looks like is exactly the same tech is better. I have my doubts.

[0]: https://hon.gakken.jp/book/1575072200

comment 5mo ago · link · parent

This is a weird angle I think? Desalination brine is a real problem, so if you can eliminate that then efficiency is less of an issue (especially given that desalination plants are often in places with a lot of sunlight!).

You don't want to be super duper inefficient but "no waste that has to be dumped back out" feels really big to me

comment 5mo ago · link · parent

it's kinda shocking how both WSL2 file perf and Docker for Mac file perf are so horrendously bad that you can just tank performance and have a 3x better local dev setup on most projects by using "normal" Linux.... and yet it's been the status quo for so long.

I don't get how people are so comfortable with dev tooling being as busted as it is.

comment 5mo ago · link · parent

what's the argument for it being a scam?

comment 5mo ago · link · parent

> `fe80::1%a;whoami>${PATH:0:1}tmp${PATH:0:1}pwned` is a valid IPv6 IP, and if you did `ping fe80::1%a;whoami>${PATH:0:1}tmp${PATH:0:1}pwned`, you'd have the output of `whoami` written to /tmp/pwned.

Is this really a Python problem? `subprocess.run` for example defaults to `shell=False` so you have to set `shell=True`, and on top of that be building up argv?

The "default" API for `subprocess.run` has you doing `subprocess.run(["ping", ip])` which... I think just entirely avoids this problem?

There's def a general sort of "oh people will just copy/paste stuff into a shell" or the whole shell script arg escaping mess. Just feels like Python is not really doing anything bad here.

comment 5mo ago · link · parent

Because people are interested in whether they, personally, could find a way to live longer. And so if you find places where you have bubbles of people who seem to cross a threshhold not really crossed in other places, you might tell yourself "maybe there's something special there".

The median life expectancy means you're only in the top half! But well... simply being well off means you're going to be more likely to hit above average there.

comment 5mo ago · link · parent

I think 2017 is the big thing here.

We had those early "blessed by Apple" USB-C LG monitors. Garbage when it came to connectivity. Same with docks and the like.

We're now 9 years later so... I think it's all better now than before.

comment 6mo ago · link · parent

I remember really bumping up against this learning OCaml in college after having experienced oodles of imperative programming.

I understand the sort of philosophy and ergonomics of not having an early return, but it really does hurt certain kinds of code that otherwise would be more readable

comment 6mo ago · link · parent

to put a finer point on this: I pay for certain newspapers (well, digital subscriptions).

Still plenty of ads in the articles!

1
789
225