Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wwright
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
271.
▲
by
wwright
6y ago
Hooks are very similar to applicatives as you’d see them in Haskell, for what it’s worth (it’s where a lot of the rules of hooks come from). They also have some similarity to algebraic effects (as do sagas).
272.
▲
by
wwright
6y ago
The release cycle of that common code is also a big factor. If your common code changes fairly irregularly, you are correct, monorepos have reduced benefit. If your common code is as likely to change as anything else, or more likely, then y
273.
▲
by
wwright
6y ago
Have you worked with C++ much? It has the same problems to a much, much worse extent.
274.
▲
by
wwright
6y ago
This sounds like intrusive thoughts: https://en.wikipedia.org/wiki/Intrusive_thought
275.
▲
by
wwright
6y ago
Bazel has a set of rules to do this AFAICT. The OCI format isn’t particularly complex, so it’s probably not hard to build something into Make or CMake or so on. (IMO Bazel has some of the best tools for abstraction and reuse in a build syst
276.
▲
by
wwright
7y ago
I think a good analogy may be tests vs type systems, especially if you think about new vs old type systems. Traditional deployments are just like traditional unit tests. All imperative, easy enough to work with, all useful, but if you don’t
277.
▲
by
wwright
7y ago
It can read pretty comparably to other languages, IMO # Write each item in the list to a file for ITEM in $LIST; do # … done - name: Write all items to individual files for_each: list do: # …
278.
▲
by
wwright
7y ago
My answer: so that other people can actually work with the scripts you write. Some DSLs are definitely a waste of time (hello Jenkins!), but in the anecdotal experience of myself and literally everyone I’ve talked to, Ansible is massively
279.
▲
by
wwright
7y ago
The dependencies is the trick. Given I have this layout: bin/bin.pro # specify bin/bar/ as subfolder bin/bar/bar.c bin/bar/bah.h bin/bar/bar.pro lib/lib.pro # specify
280.
▲
by
wwright
7y ago
That allows you to support _some_ dependency ordering from the top level, but not internally. It is very coarse, and also suffers from “recursive Makefile” issues. It’s also less ergonomic: a developer can’t go into a specific sub folder an
281.
▲
by
wwright
7y ago
Off the top of my head: - qmake doesn't support true dependencies between subprojects (ie, if I ask it to build a/b/c, it can't know that a/b/c depends on d/e/f) - qmake's support for integrating
282.
▲
by
wwright
7y ago
It has a better extension ecosystem by a wide, wide margin. Some of the benefits that can bring from my personal experience: - Using the same editor setup for tons of different environments (Python, C/C++, Rust, JavaScript, TypeScript,
283.
▲
by
wwright
7y ago
I've led adoption on that exact setup at work. You can definitely do it, but I have nothing but bad things to say about Qmake. It's poorly documented, inscrutable, and a huge PITA. Switch to any other build system if you can. That
284.
▲
by
wwright
7y ago
Project Silverblue (Fedora + Project Atomic) is trying to move in that direction, I believe.
285.
▲
by
wwright
7y ago
This is one of the only huge benefits of formal CS education — those basic algorithm and discrete math courses make some problems trivial.
286.
▲
by
wwright
7y ago
I love The Left Hand of Darkness, but I think it’s definitely a slow burn, for what it is worth. It is worth sticking with it, though :)
287.
▲
by
wwright
7y ago
For what it is worth, from https://www.python.org/dev/peps/pep-0020/ : > There should be one-- and preferably only one --obvious way to do it. Personally, I’ve always thought that Python missed its Zen, bot
288.
▲
by
wwright
7y ago
I want to say that the C++ type system is not really weak — it can enforce basically anything, since templates are Turing complete. But most of those possible types are horrifically unergonomic.
289.
▲
by
wwright
7y ago
Purescript does have algebraic effects and row polymorphism generally, which Haskell does not AFAIK (I don’t do as much Haskell as I would like so I may be wrong.)
290.
▲
by
wwright
7y ago
The learning curve is pretty intense, but I do want to say that the operators you use here are actually pretty great for readability after you learn them. I don’t know if that makes them worthwhile, but I always find them a breath of fres
291.
▲
by
wwright
7y ago
It works with non-Apple displays (I use a Dell 4K monitor with my Mac Mini), but the OS has to be able to detect that the pixel density is suitable. It’s possible that macOS can’t discern enough about your monitor. If you option-click on th
292.
▲
by
wwright
7y ago
I’m not sure what you’re describing; 1080p and 2K are the same thing. Do you mean 1440p?
293.
▲
by
wwright
7y ago
I did follow through to Adweek, but given that it is Adweek and not NME, I wasn’t sure how literally to take the word “arrangement” there :-) Thanks!
294.
▲
by
wwright
7y ago
Do you have a link on that? I can’t find it in the HN link.
295.
▲
by
wwright
7y ago
IMO, this same pattern is followed by a lot of other things: - corporations - governments - TV shows - music - all human relationships Sometimes you want to be with the group, other times you think it’s easier to be without the group. It’s
296.
▲
by
wwright
7y ago
Silverblue is an effort to bring this technology to the desktop AFAICT. Fedora Atomic Server uses some of the technology for server workloads, but maintains some traditional structure and architecture. CoreOS is intended to be a “new” archi
297.
▲
by
wwright
7y ago
In this case, I am speaking about the general act of deplatforming vs mafia hits. A great deal of people HAVE been banned from platforms for explicitly advocating genocide; that’s an actual thing that happens fairly regularly. Many are depl
298.
▲
by
wwright
7y ago
It was a sincere question — are we talking about mafia killings and deplatforming, or something else?
299.
▲
by
wwright
7y ago
To confirm, your argument is that refusing to allow someone to advocate for genocide on your blog platform is fundamentally similar to killing a man for refusing to pay protection money?
300.
▲
by
wwright
7y ago
That is fair, but realistically, I think that’s every social consensus… and the implications are much more far reaching than social media platforms :-)
More ›