HackerTrans
TopNewTrendsCommentsPastAskShowJobs

loldot_

no profile record

comments

loldot_
·7 ay önce·discuss
I don’t know, it still feels like a productivity lottery to me. The simpler the task, the higher the odds of a big productivity gain, and it can be probably an order of magnitude quicker, especially if the output is very verbose, like frontend tends to be.

But I still haven’t dialed exactly what is too complicated for the LLM to handle (and that goalpost seems to still be moving, but slower now). Because it is almost always very close, I often end up trying to fix the prompt a few times before giving up and just doing it from scratch myself. I think in total the productivity gain for me is probably a lot less than 100%, but more than 0%.
loldot_
·8 ay önce·discuss
It is no coincidence that C# and TS are similar. They are created by the same person, Anders Hejlsberg. The C# language may have some baggage from back in the day, but at least it has a very good, non-fragmented ecosystem. While Typescript may have learned from some of C#'s mistakes, the js/ts ecosystem is a dumpster fire imho.
loldot_
·8 ay önce·discuss
One of the big features in .net 10 is the ability to do `dotnet file.cs` to run an application, with package import and assembly attributes directly in the file.
loldot_
·9 ay önce·discuss
I use github pages with jekyll. It took a bit of time to make a custom theme and setup the custom domain, but its really simple now to just add markdown file and push to github.

https://github.com/loldot/loldot.github.io
loldot_
·5 yıl önce·discuss
Allocations are pretty cheap, but GC can be quite expensive under high load/big heap. It is probably not the first optimization you would need to make, but allocaitons have been a huge focus by the .net core team, and is part of the reason why it is so much faster than the .net full framework. See for example the post on improvements in dotnet 5: https://devblogs.microsoft.com/dotnet/performance-improvemen...

https://docs.microsoft.com/en-us/aspnet/core/performance/per... https://docs.microsoft.com/en-us/dotnet/standard/garbage-col...
loldot_
·5 yıl önce·discuss
While they do not provide any benchmarks in the summarizing article, I can guarantee that they have done some (read: alot) profiling. I follow both Nick Craver and Marc Gravell on Twitter, and they regularly post benchmarks for optimizations done at SO, in the .net world they are some of the most knowledgable people on performance optimizations.
loldot_
·5 yıl önce·discuss
The ban is not negative; pretending it has lead to a meaningful reduction in plastic ocean waste is. I think the reason most people are negative to the ban is that a great deal of resources has been spent on something that tries to solve a minuscule problem (0.03% of plastic waste) while at the same time inconveniencing people with disabilities for example. These resources could have been allocated to for instance a small financial reward for turning in broken/abandoned fishing nets.
loldot_
·5 yıl önce·discuss
From my experience, definitely go with the second approach. Try to spend a lot of time initially defining the events with domain experts. Designing events that map well to the domain in the first place is the hardest, but also the most important criteria for success with event sourcing. Usually that means very specific event types. A simplified example from my career: an event EquityPurchased { Portfolio, Symbol, Quantity, Price } can be used when the customer says: "Our portfolio should calculate cost FIFO rather than average". Very specific events are also easier to version, because often something in the past version has been implicit. In the example the customer may say: "we are going to purchase some equities on the Oslo Stock Exchange, we didn't really care about currency and currency rates since we only bought US stocks before." So now we can make a new verison of EquityPurchased { Portfolio, Symbol, Quantity, Price, Currency = "USD", ExchRate = 1 }
loldot_
·6 yıl önce·discuss
Sounds a bit like this article: https://www.theverge.com/a/luka-artificial-intelligence-memo...

haven't had the time to read all of it again and can't recall all of it, so might not be the one.
loldot_
·6 yıl önce·discuss
Wool. A wool undershirt, thick wool sweater and wind-proof, water-proof jacket has kept me comfortable down to about -15C. You can pickup some really nice gear on the cheap from army surplus sales in Norway at least, but I think it's the same in most NATO countries.
loldot_
·6 yıl önce·discuss
Exactly! If you're writing a C compiler, it would probably be a bad idea to have that logic in a database, though it could be fun to try. On the other hand if your application is summarizing a lot data by different dimensions, it would probably be a bad idea to transfer all that data over the network only to summarize it in an application layer. Most applications have a little bit of both though and so will need both an application layer and database layer.
loldot_
·6 yıl önce·discuss
What I've found being the problem with this approach is that sql does not lend itself very well to composability. Sure, you can make functions, views and stored procedures and compose them. But when you start actually composing queries of these parts the could lead to different execution plans having wildly different performance characteristics.

Also tooling around SQL, i.e. refactoring tools and debuggers, is not great - if even available at all.