Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spion
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
451.
▲
by
spion
4y ago
> Hoogling show this is an alias of https://hackage.haskell.org/package/lens-5.1.1/docs/Control- ... That explains nothing? What does it do? How does it do it? What do the type variables `a b a b` mean? Why
452.
▲
by
spion
4y ago
The density of that code is just insanely high. In most language that single fmap line would likely be at least 5 lines of code with lots of variable names to aid in understanding. The map rewrite traversal and actual "compiler" l
453.
▲
by
spion
4y ago
How about you try your best to explain all of it? What exactly is that you understand here? What does Optics.rewriteOf do? What's the purpose of Lint.useToMap? How about D.subExpressions ? How does that composition work with the loop f
454.
▲
by
spion
4y ago
Ok, lets be specific. Lets write a comment to explain this function: https://github.com/dhall-lang/dhall-haskell/blob/master/dhal...
455.
▲
by
spion
4y ago
I love Dhall, but I think Optionals might not be a good fit for a configuration language, especially one that has to deal with Kubernetes A Dhall joke (those that write a lot of it will get it): Some foo walks into Some bar and asks the bar
456.
▲
by
spion
4y ago
This is still easier with Kubernetes than with other tools. Installing e.g. fluentd and Kibana is again a configuration / chart which you apply to the cluster. For monitoring and visualization again you have an operator / chart th
457.
▲
by
spion
4y ago
Lack of standardization is the primary reason we have this problem in the JS ecosystem. "Productive" ecosystems (e.g. Rails, Elixir) usually have one central framework that provides the standard basics. Libraries, tools and other
458.
▲
by
spion
4y ago
We have a new OS, but its novel enough that it isn't recognized as one.
459.
▲
by
spion
4y ago
I think you may be off by an order of magnitude.
460.
▲
by
spion
4y ago
I'll give you an example of what I mean. Let's look at the manual on variables, found at this URL: https://grafana.com/docs/grafana/latest/variables/ . Variables are shown at the top of the scre
461.
▲
by
spion
4y ago
Ok, you made some excellent points.
462.
▲
by
spion
4y ago
Are you saying we had systems for spreading rummors that were just as efficient and sophisticated as today's, 40 years ago? I'm not sure I have the right words to explain what kind of environment I mean. A platform such as twitter
463.
▲
by
spion
4y ago
Yep, I've seen Gleam and I absolutely love the idea, although it seems like its super early stage still. Should play with it a bit more.
464.
▲
by
spion
4y ago
The ironic thing here is that the main reason you've seen that kind of claim is because social media tends to spread the most outrageous / novel / radical kinds of speech (in turn further causing radicalization among the reci
465.
▲
by
spion
4y ago
Yeah, I'd prefer engagement instead. Thought on these things must be refined, and we should probably do it fast because the knee-jerk solution (censorship) is taking over really fast.
466.
▲
by
spion
4y ago
Precisely, and this is genuinely scary. At the time, there was no sophisticated evolutionary environment that spreads "information" at lightning speed with a fitness function tuned for "engagement" and bad ideas still fo
467.
▲
by
spion
4y ago
I'm not even suggesting restrictions to free speech. All I am suggesting is that speech can be incredibly harmful in ways we haven't realized yet. I posted the evidence, I can post a paper too if you like https://www.sc
468.
▲
by
spion
4y ago
Social media is an environment for spreading brain viruses. Here is how it works (with Twitter as an example, even without an algorithmic timeline): A person tweets something. They have N followers A subset of those followers may see the tw
469.
▲
by
spion
4y ago
Its the same problem as the yellow press, and we'll probably arrive the same solution (people learning to completely ignore random bullshit they read on social media)
470.
▲
by
spion
4y ago
It is more powerful because it reaches more people - and furthermore it has exponential amplifiers (social networks) that encourage the most pathological kinds of it. Read this thread, and then multiply this approximate scenario by a milli
471.
▲
by
spion
4y ago
Here is an example on what speech on social media did over the past couple of years: https://threadreaderapp.com/thread/1458881015917678594.html and this is unfortunately not an isolated case.
472.
▲
by
spion
4y ago
Speech inspires action. There is a lot of legally allowed action that can still cause plenty of harm, and speech can stimulate that action. I don't have a solution, but we can't pretend that speech isn't much more powerful in
473.
▲
by
spion
4y ago
Elixir (and Phoenix) are truly amazing. I only wish there was a typesystem / spec system better (stricter) than Dialyzer. Or perhaps I am doing something wrong but I couldn't get it to be as strict - if there is a way i'd lov
474.
▲
by
spion
4y ago
The UI looks great but the UX is terrible
475.
▲
by
spion
4y ago
a) The text explains how its not broken b) Its not difficult if you use a library that ensures this is done correctly. Otherwise yes, secure auth is difficult, just like its difficult anywhere else.
476.
▲
by
spion
4y ago
Did you take the time to read the article? I'll try a more specific link to a section https://www.apollographql.com/docs/apollo-server/performance...
477.
▲
by
spion
4y ago
see https://www.apollographql.com/docs/apollo-server/performance...
478.
▲
by
spion
4y ago
GraphQL itself is not a trap, but its easy to fall into the "object graph modelling" trap with it. You probably shouldn't do that unless you have a lot of resources to spend on it. I think "Graph" in the name is wha
479.
▲
by
spion
4y ago
See Hasura https://hasura.io/
480.
▲
by
spion
4y ago
I always felt the opposite was odd. Server side rendering felt like an odd hack due to the limitations of the platform. Imagine all you had was a PDF reader - then it would make sense to construct an application by building PDF files which
More ›