Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
akra
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
akra
5y ago
There's many reasons why you would want the server, and reasons why you may not want it. Data structures and algorithms that as you scale give you an edge in the specialized problem domain you are in is usually one that I've seen.
62.
▲
by
akra
5y ago
I would argue while it has other benefits it probably isn't as simple. Simplicity is usually the long term better choice. As the business scales since you've probably set a precedent this pattern will be copied all over the place.
63.
▲
by
akra
5y ago
I've seen the same. It starts off faster and then as the business grows and features are added the problems scale up. Some symptoms I've seen on projects I've been asked to look over include but aren't limited to throwin
64.
▲
by
akra
5y ago
This looks a little like inline in F# where it allows more generic method cases than standard generics do in C#/Java. Looking at the documentation I'm wondering does it allow things like - "any input type that supports the di
65.
▲
by
akra
5y ago
Could it be because it is somewhat similar to Javascript in a way in that it is a dynamic language? Javascript while some may argue is clunky needs to be known to work on web stuff so I still have to learn it anyway. From what I've see
66.
▲
by
akra
5y ago
In the past I found this tip to be helpful: https://wiki.postgresql.org/wiki/Loose_indexscan . You can emulate it but it would be good for distinct to do this natively for default fast performance (distinct key queries)
67.
▲
by
akra
5y ago
From what I've experienced code based frameworks are often used because the language itself doesn't handle that case well on its own. In the case of F#, JS, etc, using DI again as an example, partial completion/currying once
68.
▲
by
akra
5y ago
I'm just stating the experience I had, and the observations I encountered in that job that formed that opinion. To clarify I'm talking about a beginner that needs to be productive quite quickly to earn their paycheck so their code
69.
▲
by
akra
5y ago
Anecdotally when I've had to show developers how to start with .NET Core the problem isn't the SDK (install dot.net at the website) or which template to use (i.e. just tell them to pick that one) its C#. This is especially true if
70.
▲
by
akra
5y ago
In my experience from what I've seen there are ways to use natural keys and handle domain changes - I've seen some systems like this work quite successfully. The cost to using synthetic IDs (auto-increment, UUIDs) is a lack of rep
71.
▲
by
akra
6y ago
But of course on a Win/Linux system you rarely need to use three fingers at once. On mac this is all too common for even the basic tasks you state. Shift + End: Select to the end of the line Home + End: Select to the beginning of the
72.
▲
by
akra
6y ago
Will try it out. Having said that it is on my Linux machine "for free". I'm not even quite sure if I'm allowed to use these paid apps on the Macbook Pro I've been given.
73.
▲
by
akra
6y ago
People state consistent shortcut mapping is an advantage of using Mac but after 2 years of being required to use a Macbook Pro I'm not really sure about that - often they are more complicated IMO. I still miss built in Linux and Window
74.
▲
by
akra
6y ago
C#, or more specifically the .NET VM (goes for F# and VB too) has a lot more features that make it a lot easier to avoid GC events than in the past. Managing memory especially across interop with Span support means a lot less copying from m
75.
▲
by
akra
6y ago
There's been times where I've had to spend quite a bit of time trying to change the SQL in subtle ways to get an index to be used and do the join algorithm type I wanted; when it didn't want to do so. Usually improved perform
76.
▲
by
akra
6y ago
I've seen it work in reverse when the systems are just "too hard" to change. Think old legacy systems with large monolithic mainframe architectures as an example. Because it costs too much money to change them and the busines
77.
▲
by
akra
6y ago
Would be extremely worried about counterparty risk though. The other guy has to pay up and I'm not sure of the controls/regulations around enforcing that?
78.
▲
by
akra
6y ago
While this may be true, there's no point comparing yourself to other countries if you did achieve success, and are slowly losing it. The article makes the point that previous generations did have that success and slowly for newer gener
79.
▲
by
akra
6y ago
A framework that you can stay high level if you want and optimise when the rare but exceptional case arises on a particular route without splitting the process/resorting to C++ interop (with its own performance issues), or the risk of
80.
▲
by
akra
6y ago
Depends on your use case. I've written quite a few backends that didn't use a database and there are a number of cases for the pure HTTP benchmark. Pass through proxies with injected behaviour, in memory key-value data storage API
81.
▲
by
akra
6y ago
This. There is a wide wealth inequality gap and a lot of excess savings that even at close to zero interest rates people don't know how to invest it. IMO this says a lot about our technological progress rate; which despite what many he
82.
▲
by
akra
6y ago
Gold's differentiator is long term trust. No matter what other people in the world do it will always exist as it is as long as it isn't touched. With gold I trust the laws of physics and reality (not a human based system), with BT
83.
▲
by
akra
6y ago
They could and can. The problem with both PoW and PoS is concentration of consensus/trust over time I think. There are models I've seen that break that up somewhat in PoW and potentially other forms by relying on something that is
84.
▲
by
akra
6y ago
The thing is for me, and maybe that's an opinion, is that the investment vehicle due to scarcity is the more important utility right now. Given all the QE and low interest rates across the board worldwide that is the real value prop. T
85.
▲
by
akra
6y ago
While I think it would increase the popularity of F# for sure I'm not sure that from a performance perspective this would be a good thing. Refied generics (as opposed to type erasure) as an example is leveraged heavily in F# for partia
86.
▲
by
akra
6y ago
"partially applied functions to other functions" - In C# you do this anyway via Fluent interfaces and/or lambda Func<_> arguments. The only difference is in F# any function can be made into a fluent style pipeline (|>
87.
▲
by
akra
6y ago
As one of the clueless novices on this topic what I fail to understand is that proof-of-stake and other consensus mechanisms have been available for alt-coins now for a little while - yet BTC is still dominant. Is it just because of popular
88.
▲
by
akra
6y ago
"Too big to fail" - and that's how you increase the supply of BTC without actually doing so I think. As long as an entity (such as the government) prints money and takes the hit on the spread people will see contracts of BTC
89.
▲
by
akra
6y ago
Agree that you want those things too. But when you are choosing between two different frameworks of similar maturity and you have to choose a tech stack it can tip the decision somewhat, especially if you don't have the time to POC a s
90.
▲
by
akra
6y ago
I do think it depends where you live and what ecosystem's are around there. F# to me fills a niche - i.e. in an ecosystem that uses .NET but is also more tech-savvy and willing to evaluate best tools and new approaches. That intersecti
More ›