Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spion
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
331.
▲
by
spion
4y ago
I agree. Did RSS feeds suffer spam? I don't think so, and the reason was because you have to actually follow someone to receive things from them (whereas with email you get to receive everything anyone sends you so long as they have yo
332.
▲
by
spion
4y ago
They are not structurally equivalent though. Social networks are whitelist-based (i.e. follows). A spammer has to somehow make people follow them to send them spam.
333.
▲
by
spion
4y ago
How do you spam on a whitelist-based system? Spammers simply... don't get followed...
334.
▲
by
spion
4y ago
> Community blocklists for misbehaving servers, IP reputation, ML spam detection… Not really. Email and ActivityPub are radically different in one way that makes all the difference: AP is whitelist-based (follows). > Federate with our
335.
▲
by
spion
4y ago
> Even today I still receive emails This folks is all you need to read from the above article. Yes, I'm exaggerating a little bit, but we keep forgetting that federated systems have worked before and will continue to work. This is n
336.
▲
by
spion
4y ago
Just as a point of full disclosure, I'm the author of recluster ( https://github.com/doxout/recluster ) and its accompanying modules (such as https://github.com/spion/sticky-listen ) and I also
337.
▲
by
spion
4y ago
k8s is not really that complex by default, despite all the complexity hype around it (if you look carefully you'll notice a significant number of the people saying this have a serverless SaaS to sell). You can run something simple such
338.
▲
by
spion
4y ago
regarding multiprocess, I think solutions such as kubernetes and similar are the way to go (rolling restarts / updates, autoscaling, advanced load balancing etc) rather than having it managed within the runtime libs > what if you ma
339.
▲
by
spion
4y ago
Thats precisely right - the software itself isn't really that impressive [*], the connections and people is what (can) make it great (or terrible, depending on who you follow). [*] - as a product - there is some really great engineerin
340.
▲
by
spion
4y ago
I think you might want the opposite of liftE, i.e. to be able to convert any function with two returning values into a function with a single returning value. Then you can use those functions normally with standard FP tools such as `map` et
341.
▲
by
spion
4y ago
What does free speech mean if its drowned in novelty, half-truths and a popularity contest? Is it free speech if the network itself blocks people from elaborating by artificially limiting the number of characters, thereby causing only the m
342.
▲
by
spion
4y ago
And it was true. Media changed what free speech means; the "yellow press" almost caused wars. Both humans and media have had to learn how to do better with this, and we are struggling to get accurate, unbiased content that isn
343.
▲
by
spion
4y ago
Just paying Hasura gets you just Hasura (at least before Neon it used to) NHost gets you Hasura, the underlying postgres db, pre-configured auth with JWTs, blob storage, functions and a client-side library to get all of that working togethe
344.
▲
by
spion
4y ago
That may've sounded overly harsh - but as a first step, try for example to use the output of a Go function that returns two values in another expression. e.g. assuming `g` returns (err, res), try writing `f` in such a way that you can
345.
▲
by
spion
4y ago
I think this view is hopelessly naive in the real world. You could easily make "moderation" (as defined by the article) the same as "censorship" (as defined by the article) by producing a lot of false, semi-false and non
346.
▲
by
spion
4y ago
Its not a single value, so its not anything.
347.
▲
by
spion
4y ago
Or lets look at persistent data structures, a staple of functional programming: https://github.com/tobgu/peds Notice how you'd need to generate the DS for every type you'd like to use it with, which is not th
348.
▲
by
spion
4y ago
Lets take `map` for example. Before generics, you would have to reimplement map for every type combination. Each implementation would be done with a for loop. Now, while I'm willing to look over having one `map` implementation being do
349.
▲
by
spion
4y ago
I wish that were true. Unfortunately, functional composition breaks down when functions have multiple return values, as is the case for everything that returns an `err, res` pair. So even with generics added, Go is still hostile to function
350.
▲
by
spion
4y ago
Go is probably one popular exception.
351.
▲
by
spion
4y ago
No, the issues are quite technical too, but they cannot be fixed just by changing the feed selection algorithm - they are core to twitter's design. Twitter is essentially a marketing machine / popularity contest hybrid. There are
352.
▲
by
spion
4y ago
I meant that since types are erased at compile-time in typescript, its much easier to make a schema description DSL that would then serve as the base to derive both the ORM DSL (runtime objects) and the types (compile time checks). If you g
353.
▲
by
spion
4y ago
You cannot use the lambdas operators combo without a preprocessor (like ttypescript) mainly because closure captures cannot be accessed from the function AST. You will also need to use a tuntime dsl to describe the schema, and then derive b
354.
▲
by
spion
4y ago
While in that specific case codegen does sound like the right approach, I think in most regular cases you would be able to get away without it. Honestly, a 64-variant type is not really that common. I think codegen is OK as long as - its de
355.
▲
by
spion
4y ago
FWIW I've given up the SQL query builder route and instead went with GraphQL query builder / Hasura route ( https://typed-graphql-builder.spion.dev/ ). Its technically codegen but only from the schema; queries are f
356.
▲
by
spion
4y ago
> Eg, transform a schema type that describes my database tables into an easy-to-use query builder and data abstraction API with rich method chaining. TypeScript can do this. It was done already halfway-well 6 years ago with way fewer fea
357.
▲
by
spion
4y ago
You still have to consult the state of multiple facet dropdowns, as well as the user's personal list of favorites at the same time to get the correct response, don't you?
358.
▲
by
spion
4y ago
Ok, then I've explained myself poorly. I see that there are both facet filters and favorites on the page, both of which affect what the rest of the page shows. In my mind, that's client-side state. It doesn't have to mean tha
359.
▲
by
spion
4y ago
We're really bad at code reuse.
360.
▲
by
spion
4y ago
Stop trying to make Smalltalk happen, its not going to work! I kid, but I also wish there was some understanding that once state goes bad (as it very often does during program development) you really do want to restart that program from scr
More ›