Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
toastal
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
62 ms
·
871.
▲
by
toastal
4y ago
Use them, sure. Suppport them, sure. But require them, nah. Vendor lock on them, nah too.
872.
▲
by
toastal
4y ago
Was interested, especially aiming to by language agnostic, then immediately not when I see all communications are exclusively via proprietary platforms. > Choosing proprietary tools and services for your free software project ultimately
873.
▲
by
toastal
4y ago
Are the folks that hate single char variable names here to chime in?
874.
▲
by
toastal
4y ago
> necessarily coupled As a counter: I see a lot of bad markup ordering when you turn off stylesheets or use a TUI browser. You should be laying out your markup in a logical sense (within some reason) where it's easy to parse without
875.
▲
by
toastal
4y ago
But CSS-in-JS was a mistake. Unless you want to start coupling your build tools even harder to get nonces on every compile, your CSP will require `unsafe-inline` which is bad for security. The simpler solution was to do CSS in CSS and keep
876.
▲
by
toastal
4y ago
I want more Dhall. I want types for data structures and small functions for dealing with repetition.
877.
▲
by
toastal
4y ago
You can also uncheck the "Window controls" that don't add anything of value to the snippet.
878.
▲
by
toastal
4y ago
I'm waiting for the check to arrive after all of these years of training—especially after moving to the East from the West and now I have 5× as many prompts.
879.
▲
by
toastal
4y ago
What is the purpose of the macOS window action buttons in a UI like this? I can't close the window and it doesn't match my OS at all.
880.
▲
by
toastal
4y ago
Yep. And these hook shell scripts, don't need to involve Node.js projects (cough Husky) injecting this scripts and executing them without your consent.
881.
▲
by
toastal
4y ago
I don't think you need to ship full-res images, it's that the compression and stripping should be turned down and formats like JPEG XL should be supported to push a high-quality-but-small-size image for consumption. The line betwe
882.
▲
by
toastal
4y ago
Same can be said about Nix and as a bonus you get Nix instead of Starlark
883.
▲
by
toastal
4y ago
Look at what happened with chat when everything was using XMPP, and then it didn't and now everything is a proprietary silo again
884.
▲
by
toastal
4y ago
> your favorite artists and photographers on Pixelfed Pixelfed is more or less an Instagram clone ... which is like photo/video microblogging. Because the audience is largely 'casual' and encourage taking and consuming med
885.
▲
by
toastal
4y ago
Yep. Noticed when I didn't want to enable JS on the whole of Google's domain in μBlock Origin. I switch to another browser for this task alone—especially as some regions have incomplete data for OpenStreetMap
886.
▲
by
toastal
4y ago
They would be meaning Heartbleed mitigations. Lotta folks do this on Linux too depending on their threat model just to compile the kernel faster or whatever.
887.
▲
by
toastal
4y ago
Yes please. The Linux space needs some modernization too with a lot of applications, like Steam, segfaulting on 10-bit color, breaking at shebangs like #!/bin/bash, or some shared lib hell—and that's not even crossing the mes
888.
▲
by
toastal
4y ago
What does that shift in paradigm give you over Visual Mode in Vim?
889.
▲
by
toastal
4y ago
Bonus: Neovim isn’t phoning home to Microsoft nor does it try to bifurcate communities on using proprietary plugins.
890.
▲
by
toastal
4y ago
Honestly my banking situation + Signal is the biggest barriers to me switching. I pushed pretty hard to get friends and family to successfully switch off Messenger, LINE, and SMS for Signal (and now they're confused why the need a sepa
891.
▲
by
toastal
4y ago
comes* to phone useage
892.
▲
by
toastal
4y ago
> available on iOS too Ah yes, the two operating systems: Android + iOS. You can't have an account without registering a primary device on one of those OSs. No KaiOS, no Linux phones, no desktop machines, no web-only options. I'
893.
▲
by
toastal
4y ago
They are really bad at first impressions. Do they not think about their own code? Literally the first thing I see when I visit the page is a misused <blockquote> > The blockquote element represents a section that is quoted from ano
894.
▲
by
toastal
4y ago
I like this. Generally speaking, information is not lost in this form—as in form does not change for initialisms. We have the casing on purpose in English to communicate that you are looking at an initialism or abbreviation so why would you
895.
▲
by
toastal
4y ago
It's not performant though generally speaking you keep boxing and unboxing the type (imagine having a list of 100,000 notifications and then mapping over it 5 times in a row). The composition law would give you a just-as-readable optio
896.
▲
by
toastal
4y ago
A loop isn't simpler than recursion or high-order functions since it introduces state and is noisy, but most examples of JavaScript/TypeScript + FP involve heavy usage of utility libraries that aren't community standards (lik
897.
▲
by
toastal
4y ago
I won’t disagree that JavaScript isn’t multi-paradigm and you can write in a functional style, but you have to look at where the ergonomics are: • dot, `.`, syntax on objects vs. composition/pipe operators • no autocurry • no ADTs or
898.
▲
by
toastal
4y ago
Funny example since currying requires no intermediate variable to speak of someEnumerable |> select doSomething
899.
▲
by
toastal
4y ago
When your code is sufficiently abstract, there often really aren't better variable names than a or x. My experience is that it's about the scope for that variable. If it's in a one-line lambda, then it'll be one letter.
900.
▲
by
toastal
4y ago
Totally agreed. Coworkers will hate you if you start mixing in these styles into an existing code base. If you want to do FP, go switch languages (and likely jobs/teams) to something where the ergonomic are clear, concise, and idomatic
More ›