Better HN
topnewbestaskshowjobs
Log inSign up

ralegh

104 karma · joined Jun 4, 2023 (3y ago) · 40 submissions

Submissions

comment 3w ago · link · parent

Depending on who is paying and how much, someone might light a small fire to avoid the fine.

comment 4mo ago · link · parent

Open source for bot protection specifically would be difficult. If I as a bot developer can see the tests you run I can just modify my bot to pass them (either trivially or by brute force).

comment 11mo ago · link · parent

Its channels from Spain, so presumably appeals to Spanish speaking countries.

comment 1y ago · link · parent

Wonder if it would be better to auto translate to broken rust, ie forcing the user to fix memory issues. I imagine that would lead to pretty big refactors in some cases though.

comment 1y ago · link · parent

I stand corrected…

comment 1y ago · link · parent

Just noting that 4000 vCPUs usually means 2000 cores, 4000 threads

comment 1y ago · link · parent

DoS is a performance problem, if your server was infinitely fast with infinite storage they wouldnt be an issue.

comment 1y ago · link · parent

This is fine assuming the popular request types don’t change, but arguably if both new versions of matching are sufficiently fast then I would prefer Ken’s long term as the other could become slow again if the distribution of request types changes.

comment 1y ago · link · parent

Could you give some examples of where you're using it?

comment 1y ago · link · parent

Web browsers could have 1/10th of the features, basically enough for markdown, forms, forums, displaying media, and minimal styling.

comment 1y ago · link · parent

> but do I really know without performing a benchmark?

Not really. But that’s one of Rob Pikes rules [1], I think the intention is to write whatever is simplest and optimize later. The programmer doesn’t need to remember 100 rules about how memory is allocated in different situations.

[1] https://users.ece.utexas.edu/~adnan/pike.html

comment 1y ago · link · parent

I used generics once, was kinda useful, but definitely avoidable. The only feature I could see myself using is something Linq-esque for slices and maps. Otherwise I’m content.

comment 2y ago · link · parent

I personally found the polars API much clunkier, especially for rapid prototyping. I use it only for cemented processes where I could do with speed up/memory reduction.

Is there anything specific you prefer moving from the pandas API to polars?

comment 2y ago · link · parent

Markets are what you described. Participants that regularly beat the market are rewarded with more money (and confidence) which lets them bet larger size and have more impact on the market.

Uninformed bets should wash out as noise, and informed bettors should reverse uninformed moves so long as they are profitable.

comment 2y ago · link · parent

I guess I’m in that camp. I can come up with a good abstraction after working on a problem for a while and refactor it into my code. Or I can come up with a really simple abstraction (eg a Go interface with 2-3 methods), and that usually works well. But I try to avoid starting a project by defining a bunch of abstractions, since I just end up writing loads of boiler plate. Yes, I’m probably doing some things wrong.

comment 2y ago · link · parent

That's fair, the concurrency features are very handy though optional of course.

The ecosystem and tooling are great, probably the best I've worked with. But the main reason I reach for Go is that it's got tiny mental overhead. There's a handful of language features so it becomes obvious what to use, so you can focus on the actual goal of the project.

There are some warts of course. Heavy IO code can be riddled with err checks (actually, why I find it a bit awkward for servers). Similarly the stdlib is quite verbose when doing file system manipulation, I may try https://github.com/chigopher/pathlib because Python's pathlib is by far my favourite interface.

comment 2y ago · link · parent

I wouldn't call Go a 'server side' language. The Go compiler is written in Go, for example! Cross compilation and (relatively) small binaries make it super easy for distribution. Syntax sugar is a fair point though, it doesn't lend itself to functional-y pattern matching.

comment 2y ago · link · parent

I think this is a facet of human memory - eg thinking childhood was better than it was because the bad/boring parts aren’t memorable. I also get this with anxious/stressful periods of time, which are overwhelmingly bad at the time but very quickly forgotten.

comment 2y ago · link · parent

I assume it's 'zero' turns lookahead/search, i.e. only look at the current board state.

comment 2y ago · link · parent

We call them chilli in the Uk

comment 2y ago · link · parent

Why not? Are economists infallible? Even if there’s many of them they may have been taught the same material and risk groupthink.

What position is the US in if all their goods are manufactured abroad? What if the dollar stops being respected?

comment 2y ago · link · parent

I'd try another group, they were probably a bad fit for you.

It might seem like every group will be the same, but all it takes is to bump into one or two people you get on with and then you can organise things separately, avoiding the inner group toxicity.

comment 2y ago · link · parent

Depends how you define best, I assume best in the article means ‘output is close to 50/50 and independent’, in which case the 01/10 solution is already optimal given the assumptions.

If you define best as the most efficient at converting inputs to outputs as well as the output being 50/50 then there are better ways such as your example.

comment 2y ago · link · parent

It sounds like you mostly didn’t have the problems they were pitching for. Imagine you urgently needed a pesticide guy! Maybe you’d too annoyed to buy but someone else might not. That’s my head canon on why google makes so much from search ads, they’re advertising to people who are trying to solve that specific problem right now.

comment 2y ago · link · parent

Ideally they wouldn’t need to power up the servers but you can see from the graph that unfortunately there’s still some uptime, though they are working on it, maybe once they reach 100% downtime

comment 2y ago · link · parent

I love to give more. That’s what life’s about. But it should be done freely and without expectation. What I’m talking about is taking - do this or I’ll be annoyed. It’s overt vs covert contracts. I ask you to do X because it would be helpful/make me happy. Versus I ask you to do X because it’s helpful and also I want to feel in control of you, and maybe you’ll be more willing to do Y later.

I don’t agree with the last comment, maybe I am a cynic.

comment 2y ago · link · parent

Well said, also applies to many human dynamics - friendships, relationships, work relationships, etc. Ceding power is a ratchet and you either put your foot down to start with or it grinds away.

comment 2y ago · link · parent

Phrases, then.

comment 2y ago · link · parent

Interspecies communication is a massively underrated field.

We've bridged human cultures in the past, which is easier because humans do similar (ish) things, we can use sight, touch, smell, etc to establish common ground.

We can communicate simple things with pets, though in my experience they learn from body language and intonation, understanding grammar and language feels like a step further.

What's the common ground with whales?

Like how eskimos have 100 words for snow, whales could have thousands of phrases for water, currents, temperature, storms. Fish, migration of different species. A language of relative position needed for pack hunting. They might tell stories about El Niño, earthquakes, tsunamis.

If they have social structure we may share ideas of relationships, friendship, giving (food), owing, sharing, helping, etc.

We might be able to correlate their speech with weather patterns and animal sightings. We could probably start a two way communication, I wonder if us or them would have better forecasts for sea conditions. They could act as a network of hundreds of thousands of sensors.

Sperm whales travel so far, that even without maps they might know the shape of the continents.

Very excited for the future.

comment 2y ago · link · parent

Is there somewhere I could read more about this? I've always wanted to learn Lisp but lacked a specific need for it.
12