Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dagss
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
271.
▲
by
dagss
3y ago
How do you get stack traces of errors?
272.
▲
by
dagss
3y ago
Nitpick, but relational does not mean joins, it means tables/rows of tuples. A "relational document database" which is the slogan of Fauna it seems is a contradiction in terms.
273.
▲
by
dagss
3y ago
C can be as good as Fortran if make sure to declare pointers "restrict". That is a C feature added in C99 though. For Fortran it has always been the default. For a long time Fortran was actually unbeatable and C did not suffice to
274.
▲
by
dagss
3y ago
I understand all of this, I am not as ignorant as you seem to assume. Well, you have a HTTP connection pool too, but they are not stateful in the way SQL connections are at all. You can send several requests after one another on the same HT
275.
▲
by
dagss
3y ago
I wish SQL DBs had some focus on implementing stateless protocols. Is there any reason the "connection pool" could not be built into the same service as the SQL database, and start a move to an RPC protocol instead of stateful pro
276.
▲
by
dagss
3y ago
Did you look at sp_describe_first_result_set? https://learn.microsoft.com/en-us/sql/relational-databases/s...
277.
▲
by
dagss
3y ago
Actually for both systems I was among the core maintainers for 3 years after the initial build. System a) was more maintainable.
278.
▲
by
dagss
3y ago
Perhaps some day someone will invent a way to get 20 to produce the output of 10 + redundancy... One theory is: If you have just a little too many developers (redundancy), they become bored and find ways to introduce auxiliary complexities
279.
▲
by
dagss
3y ago
In my career I have seen almost identical systems being built by a) 6 developers in a startup in 1 year b) 100+ developers in a big company with a much much larger budget in 2 years. Almost the same specs, but the one in the startup had bet
280.
▲
by
dagss
3y ago
As an engineer, I would not want to work in a team that works the way you seem to paint as ideal here. Especially "don't expect engineers to do anything other than what is requested". Engineers and PMs are "partners in c
281.
▲
by
dagss
3y ago
The "in the past" problem can be solved in a number of ways (misc locking patterns). Have played with a number of such schemes in mssql-changefeed (see sibling post). CDC has 20-40 second delay for mssql which makes it unusable fo
282.
▲
by
dagss
3y ago
We made mssql-changefeed for this purpose: https://github.com/vippsas/mssql-changefeed V1 requires to run a sweeper procedure in the background, but an upcoming v2 version does without the sweep loop. Unfortunately too
283.
▲
by
dagss
3y ago
To me a lateral join is the simplest construct you could have, like a for loop in a programming language. For each row in my query so far, do this other thing. Since I learned them, everything went from being a puzzle on its own, "I kn
284.
▲
by
dagss
3y ago
Microsoft.
285.
▲
by
dagss
3y ago
10 years ago or so I really wanted to NOT use Fortran for my PhD. In my effort to try to use Python instead in my field, I fell down countless rabbit holes along the way (like being for a year or so one of the core contributors to Cython, i
286.
▲
by
dagss
3y ago
The huge difference is that Fortran defaults to what is in C restrict pointers -- non-overlapping memory regions. This is something most programmers have not even heard about... This means simple Fortran programs have more room for parallel
287.
▲
by
dagss
3y ago
The only "real" thing about either of those 2 cases is social conventions. Is is entirely impossible to imagine a culture where walking unbidden into private property is very normal but pinging someone electronically without a com
288.
▲
by
dagss
3y ago
I disagree, my guess is the downvotes is for the idea that the CURRENT trajectory of industry and technology -- largely focused on converting non-renewable sources into luxuries and trinkets for humans currently alive -- has to continue uni
289.
▲
by
dagss
4y ago
Would love to be able to use Spanner.. What do you suggest one does if one has to run on Azure though? PS Azure Cosmos is not a real product, it is a beta toy that Microsoft just has made expensive enough that people think it cannot possib
290.
▲
by
dagss
4y ago
What do humans who exhibit "creativity" typically do but rehash themes and ideas from others? Trends rather slowly evolve as they reverberate back and forth between thousands of humans -- whether in music, painting, clothing, book
291.
▲
by
dagss
4y ago
I have seen cases of companies that focus on recruiting seniors that get a lot of product responsibility and can quickly find solutions since they see the customer/product view and also will have a good feeling for how to and in which
292.
▲
by
dagss
4y ago
Well it is a conclusion written without knowledge of signal analysis. The input to the algorithm will be an image with a power spectrum that isn't natural, . It would be very natural even without "AI" to attempt to "debl
293.
▲
by
dagss
4y ago
It seems clear the author does not have knowledge on the subject, more than glossing over -- the article even emphasises that information is removed by the blur (100% wrong). I agree it may not have destroyed the experiment entirely, but it
294.
▲
by
dagss
4y ago
No, Gaussian blur does not "destroy" fine detail. It is still there it is just that the "volume" of it is turned down. You can put all the fine detail back again by applying the inverse filter.
295.
▲
by
dagss
4y ago
Wait ... a Gaussian blur? That doesn't remove ANY information from the image. It looks blurred to our eyes but the same information is all there. The information is absolutely not gone. Does it state that it hallucinates craters that w
296.
▲
by
dagss
4y ago
In theory you could simply wait with TCP ACK until you had committed to your ACID database and then TCP would in fact be exactly once. I guess hardly anyone does this though.
297.
▲
by
dagss
4y ago
Fair points. But how do I get from a "domain algebra" to practical implementation with a popular database? Event sourcing can be translated to adding rows to tables, or adding documents to collections. Focusing so much on "ap
298.
▲
by
dagss
4y ago
I'm not arguing that event sourcing should be done for its own sake, so I don't really want to disagree with you; but that said your post doesn't perfectly resonate with me either. When you write a typical backend system, the
299.
▲
by
dagss
4y ago
Related: The Norwegian word for "computer" is "datamaskin". Or, "data machine".
300.
▲
by
dagss
4y ago
I feel event sourcing is a real world pragmatic approach to declarative programming that this paper advocates. For state changes you add events to the database to describe something that happened. Any question you may need an answer for &#x
More ›