Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
akra
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
akra
3y ago
Would agree with this. I don't think the language choice, is as massive bet on the business as people think. I've seen much more niche and ancient langs without an ecosystem (no libraries, no SDK's to popular products, etc) b
32.
▲
by
akra
3y ago
Precisely. Inflation is not even - if it were it wouldn't be nearly as much of a concern. There are winners (e.g. corporate profits) and losers (e.g. workers on fixed salaries). Unfortunately some economic actors can protect themselves
33.
▲
by
akra
3y ago
Still a potential possibility - sadly IMO more so than the utopia vision of AI; thanks for reminding me of this. We simply become fodder for the things AI can't reasonably do in the "real world" until it can with the owners o
34.
▲
by
akra
3y ago
Only to a point. When you have large wants, but low capacity to meet those wants, then that is true. The law of diminishing returns however is that the utility to an individual declines as efficiency rises. It isn't a linear relationsh
35.
▲
by
akra
3y ago
For me monopolies, even natural ones, are maintained due to power structures in society. If you see most natural monopolies that are privately owned there's usually a political system that allows that to occur and a well connected powe
36.
▲
by
akra
3y ago
> And I think the risks from AI are overblown, is AI really more dangerous than the invention of gunpowder, electricity, and of course the nuclear bomb? I don't think so. It might just be. Those inventions did destabilize society qu
37.
▲
by
akra
3y ago
We wouldn't have the invention of ChatGPT I would imagine. The pooling of resources to create such a thing probably wouldn't of occurred, or not as soon.
38.
▲
by
akra
3y ago
The problem is often technology becomes a barrier to entry especially when it requires scale to operate. AI is the extreme example of this kind of technology - needs large compute, and large amounts of data, and requires a actor with enough
39.
▲
by
akra
3y ago
Its really a function of who is paying for the tech, who owns it and what do they want to do with it. The only reason the middle class was born was because trained workers could pull their labor and affect upper class wealth. They had power
40.
▲
by
akra
4y ago
Maybe so. But it benefits from the larger ecosystem that it can piggyback onto. This is often important to people selecting a language bound by constraints in their product, company, etc and can't be dismissed. .NET/JIT/GC im
41.
▲
by
akra
4y ago
From experience I've found it easier in FP languages to get right, and have them stand a few years than standard OO without it being a maintenance headache having written a few of them. So yes - I figured the same thing.
42.
▲
by
akra
4y ago
I don't feel its the biggest pain to be honest, at least not in the .NET world where the Async API is so persuasive. I don't think the paradigm would suit Java - the API changes to make it ubiquitous would make it take too long to
43.
▲
by
akra
4y ago
I would say this applies to any business these days that uses technology, not just a tech business. Advertising, banking, etc. Funding models, bean counters, finance vs strategic, all go to making the business harder to deliver product quic
44.
▲
by
akra
4y ago
As a case study we evaluated the performance of this along with other languages that use immutable data structures (perf testing) for a recent production app we were building. After some evaluation we had the opinion that the penalty of usi
45.
▲
by
akra
5y ago
That seems a bit misleading of a comparison IMO and only one case (JSON serialisation) when I look at their data. You are also linking to a round from two years ago which is out of date. It's also showing a lot of frameworks that are n
46.
▲
by
akra
5y ago
Then you are lucky. I once found an insert performance drop of sometimes 5x once a table reaches 500,000 elements or so with BTree's and Uuids in particular. Problem is: UUID's often scale well on the app side, especially with mul
47.
▲
by
akra
5y ago
Its not universal to all of .NET though. F# does support this (e.g. Task<unit>) because in F# every function has only one input and one output. Therefore it needs a unit/void type at the lang level at least. This simplification s
48.
▲
by
akra
5y ago
Yeah I think 'dotnet fsi {fileName}' with a script file works. Also Ionide with VS Code using Alt+Enter (similar to other language VS Code repl's) inside a *.fsx script file to run the highlighted code in a F# REPL. F# Intera
49.
▲
by
akra
5y ago
Sometimes that's true but I've found as soon as I need packages things get complex. I don't find F# that hard scripting wise; at times found it easier than some other languages especially when I need to import libraries into
50.
▲
by
akra
5y ago
Not quite. In curried languages functions often only take in ONE argument in and return ONE value out. That simplification means the language can only accept the latter form (e.g. foo(a)(b)). Surprisingly this makes the language more powerf
51.
▲
by
akra
5y ago
There is pros/cons to both approaches. The Pipe operator in F# works in conjunction with the HM type inference in the language and static functions often assisting the type checker. i.e. features that work together in a language vs tac
52.
▲
by
akra
5y ago
> Chaining methods on classes But defining these is typically left to library authors in many languages. Writing your own Fluent/chaining interface isn't usually worth the effort. Where in these languages because any function i
53.
▲
by
akra
5y ago
Depends what state you are in from what I've seen in news reports. States that failed on COVID have lost their freedoms (quarantine/lockdown) since the hospital system is under strain. If you are in 5 of the 7 states (not NSW/
54.
▲
by
akra
5y ago
I think this equally applies to languages that are more geared to REPL and/or scripting development (e.g. script languages and/or functional languages). Not just Clojure. OO requires a bit of boilerplate and structure up front IMO
55.
▲
by
akra
5y ago
Archlinux. Didn't really need to consider drivers; things just worked out of the box mostly with exception of the GPU where I've installed the AMD driver via pacman (a one liner).
56.
▲
by
akra
5y ago
Using an AMD desktop now (Zen 2), no issues with Linux at all. Uses all the cores, and detects everything just fine.
57.
▲
by
akra
5y ago
As an example the other day I was writing low level protocol code in F# (but could do the same in C#), allocating a decent byte array on the stack (stackalloc), putting value types in it, bit-shifting and putting those numbers in place in t
58.
▲
by
akra
5y ago
I would imagine there are a few differences. Events are the primary entity, and the current state is simply a projection of that not the other way around. Those events may come from other systems and are often defined in business terms, not
59.
▲
by
akra
5y ago
Actually some companies do. You want Linux since the software you are writing typically leverages a Linux environment, but the company doesn't want to support Linux so gives you a Mac machine instead. Its a poor substitute for the real
60.
▲
by
akra
5y ago
"I've probably already typed Cmd-N or Cmd-O, depending." This is, particularly for a novice or intermediate user IMO quite intimidating. It means there is some learnt behavior + keyboard command required to "see anything
More ›