loldot_
Re:Norway Shrugged
on Sunday August 30, 2026 @04:55PM (#49502703)
What all these people fail to mention is that at about the same time as the increase in wealth tax, another tax rule was made stricter. Before nov. 29 2022, you could take your unrealized profits abroad for five years to reset your cost basis for the realized gains tax. Meaning you could essentially spend five years to get rid of your tax burden. This tax amount is significantly larger than the wealth tax. And many of these 100 people moved before that.
Re:Ask HN: By what percentage has AI changed your output as a software...
on Sunday December 28, 2025 @04:57AM (#46409885)
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%.
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.
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.
Re:The least amount of CSS for a decent looking site (2023)
on Tuesday October 07, 2025 @08:41AM (#45502383)
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.
Re:Best practices can slow your application down
on Thursday December 23, 2021 @08:41AM (#29661689)
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...
Re:Best practices can slow your application down
on Thursday December 23, 2021 @07:14AM (#29661088)
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.
Re:Where does the plastic in oceans come from?
on Saturday August 14, 2021 @07:13PM (#28184732)
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.
Re:Event Sourcing (2005)
on Thursday August 12, 2021 @06:50AM (#28154601)
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 }
Re:Microsoft patent: Creating a conversational chat bot of a specific ...
on Monday January 04, 2021 @06:44AM (#25630114)
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.
Re:Insulation: First the body, then the home (2011)
on Monday December 14, 2020 @10:56AM (#25418969)
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.
Re:Stored Procedures as a Back End
on Thursday December 03, 2020 @02:22PM (#25293309)
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.
Re:Stored Procedures as a Back End
on Thursday December 03, 2020 @12:59PM (#25292087)
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.
Re:Has GitHub been down more since its acquisition by Microsoft?
on Monday June 29, 2020 @08:36AM (#23676999)
Which commit would you roll back to if the integer id of your comments table overflows? There are many bugs that are more complex than a buggy commit.
Re:A small DIY air purifier
on Tuesday January 21, 2020 @08:36AM (#22106725)
I don't know how effective they are compared to these devices, but I much prefer to keep plants with air purifying qualities. NASA did a study on a variety of air purifying plants in 1989: https://ntrs.nasa.gov/search.jsp?R=19930073077
Re:The most copied StackOverflow snippet of all time is flawed
on Wednesday December 04, 2019 @06:20AM (#21701272)
The simple, readable, loop-based snippet mentioned in the article also works for the edge cases. Sometimes it's better to not be so clever.
Re:Eat less meat: UN climate change report calls for change to human diet
on Friday August 09, 2019 @06:18AM (#20652918)
I think most people willing to change their diet for the sake of the environment already are well aware of the consequences of meat eating. In my opinion it would be more beneficial to focus campaigns on the problem of food waste which I am sure more people would be willing to give up.
Re:CNIL imposes a financial penalty of 50M euros against Google
on Monday January 21, 2019 @09:57AM (#18960745)
Its ironic that cnil has “accept all” as the default choice for 3rd party cookies on its site
Re:Retail Arbitrage at Walmart [video]
on Friday November 30, 2018 @05:02PM (#18573123)
I'd say selling stuff to idiots is a pretty scalable business idea.