Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
quaunaut
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
quaunaut
3y ago
No. Maybe functions aren't the result of simply returning different results. It's doing or not doing something, abstracted into a function. Parsing is determining whether you should do it or not- it's about setting up a bound
32.
▲
by
quaunaut
3y ago
Yeah, that's literally what I'm talking about being broken. It hasn't worked for me for over 2 years.
33.
▲
by
quaunaut
3y ago
Taking a look at it now, and how it interacts with Enhancer for Youtube. The one thing I'm absolutely desperate for, is a fix to Youtube's Watch Later playlist issues. If you ever hit maximum on it, it seems permanently broken aft
34.
▲
by
quaunaut
3y ago
SQL's nonsensical handling of null is reason enough to learn other query languages.
35.
▲
by
quaunaut
3y ago
Look, I like static type systems, but not all type systems are created equal, and some(with the easiest example being Go) are downright awful for helping encode business logic, forcing you to write immense amounts of code just to work aro
36.
▲
by
quaunaut
3y ago
And that helps in financial analysis how?
37.
▲
by
quaunaut
3y ago
You'd almost certainly just use a library dedicated to mitigating this problem though, of which there are many.
38.
▲
by
quaunaut
3y ago
Why? What inherent advantage do those languages have with financial logic?
39.
▲
by
quaunaut
3y ago
Except we could just treat them the same, and we could have a type system that makes that possible. Multiple languages before Go had a solution to this, that could've been used. Or, it could've written said sufficiently advanced
40.
▲
by
quaunaut
3y ago
> Would you put your code in production if there was a way to ignore compiler failure? What compiler failure? Go literally does not warn you until it hits the error at runtime for these exceptions.
41.
▲
by
quaunaut
3y ago
Yes, I understand, I do distributed systems for a living, after all. But if you keep adding stipulations without actually describing the problem you're not actually looking for an answer, you're looking to be contrarian.
42.
▲
by
quaunaut
3y ago
> If customers think this is a feature and not a bug, then I have a very different understanding about what serverless/FaaS is meant to be used for. My division is pretty much only looking at edge networking scenarios. Can I redirec
43.
▲
by
quaunaut
3y ago
That's just standard erlang/elixir- because all values are immutable, when a new anonymous function is defined it copies the current value of the external variables into it. You can do it right now even without Flame, just by open
44.
▲
by
quaunaut
3y ago
While Nix is cool and I think the model of the future, it doesn't obviate the need for elastic workloads on demand without wanting to dedicate a ton of time.
45.
▲
by
quaunaut
3y ago
Yes and no: Maybe the rest of your workloads don't require much CPU- you only need this kind of power for one or two workloads, and you don't want them getting crowded out by other work potentially. Or they require a GPU. Or your
46.
▲
by
quaunaut
3y ago
All true, but you've got a few issues: - Flame still assumes you have a server somewhere- this is purely for elastic workloads. - Dynamically scaling horizontally is not something "linux" can do for you: It's a legitimat
47.
▲
by
quaunaut
3y ago
I imagine state should be managed via GenServers[1][2], since that's the general BEAM way of doing that. 1. https://www.erlang.org/doc/man/gen_server.html 2. https://hexdocs.pm/elixir/1.1
48.
▲
by
quaunaut
3y ago
> suggest how this may be fixed Only allow composition. Allow composition techniques to add state, detect the presence of other composition types, etc.
49.
▲
by
quaunaut
3y ago
The number of languages that only support Inheritance and have no version of Composition(or severely compromised versions) is long. What's funny is how many of them make it easier to perform composition as long as you avoid the `clas
50.
▲
by
quaunaut
3y ago
I can't agree enough. What other paradigm is so regularly implemented in a way that makes doing it poorly easy(Inheritance), doing it well hard(Composition), and requires a list of caveats so large that it effectively draws down to &qu
51.
▲
by
quaunaut
3y ago
Yeah, this complaint is nonsense. It mechanically nullifies the damage and we colloquially call it a 'miss' because it applies whether someone has armor or not, but how to interpret that depends on the situation. For example, an A
52.
▲
by
quaunaut
3y ago
That's only if you don't design your language to be easily inferred. While I don't know the case for SBCL, a language like Elm has very heavy type inference that you can rely on better than most type systems.
53.
▲
by
quaunaut
3y ago
This is not nor has not ever been true. Now, you've got `dbg()` and running whatever you're running via `iex -S <whateveryouweredoinghere>`. Prior to `dbg()` you had `IEx.pry()`.
54.
▲
by
quaunaut
3y ago
Not about the article, but: OpenFaaS' Pricing Page[1] has no pricing on it whatsoever. You could guess that since the Community edition is MIT licensed that it's free, but then again the language right above it says "non-prod
55.
▲
by
quaunaut
3y ago
No, you don't require those things. If you're using the proper primitives, they literally can't hog 100% of the server CPU. In fact, the default concurrency primitives in the BEAM/Go do not hog 100% of the CPU , meaning
56.
▲
by
quaunaut
4y ago
> Our goal with Dioxus is to eat Electron, React Native, Flutter, Phoenix, Gatsby, and NextJS with one stack. What of Phoenix are you looking to tackle?
57.
▲
by
quaunaut
4y ago
PureScript has what I'd call some stark issues. 1. Its maintenance/activity appear sporadic at best. 2. It's inscrutable. Whenever I've had issues, I don't have any idea even how to approach solving them. Half the t
58.
▲
by
quaunaut
4y ago
Undeniably it's not going to be as convenient, but the divide isn't what it used to be. BEAM apps can be compiled to a binary, and as long as that binary was compiled for the platform, that should be good enough. I'm doubtful
59.
▲
by
quaunaut
4y ago
ATM I use Todoist, but I'm wildly unhappy in using it. The only reason I do is that since it's a web-based UI, I can use it from my Windows box. Most of the halfway good GTD tools are Mac-only. I've had a project going to bui
60.
▲
by
quaunaut
4y ago
I'm a software engineer, but these have been instrumental in my success in a way no coding book can compare to(though John Ousterhout's "A Philosophy of Software Design" would have, if it came out earlier in my life). Pe
More ›