News for hackers. Stuff that matters.

keltex

Re:Java 25 Officially Released on Tuesday September 16, 2025 @01:09PM (#45264982)
C# supports the "using alias" like this:

  using Project = PC.MyCompany.Project;
https://learn.microsoft.com/en-us/dotnet/csharp/language-ref...
When you say "VAT" I assume your are in Europe? Aren't there ETFs in Europe that allow you to own gold that wouldn't required VAT payments?

In the US we have GLD and others that let you do this.

Also apparently in Europe and the UK there are "investment gold" coins that are exempt from VAT:

https://op.europa.eu/en/publication-detail/-/publication/932...

https://www.gov.uk/guidance/investment-gold-coins-and-vat-no...

Re:Suspension of inbound parcels from China and Hong Kong on Tuesday February 04, 2025 @09:08PM (#42942662)
They are trying to close the de minimis exception which is a, "100-year-old tariff loophole that Trump wants to close."

https://www.theverge.com/news/605483/shein-temu-amazon-trump...

Re:Changes to Google Maps Platform on Monday December 09, 2024 @03:48PM (#42370411)
For example, you used to receive 100,000 static map embeds per month for free. Now it's 10,000.
Re:Asynchronous Programming in C# on Tuesday April 30, 2024 @08:06AM (#40210102)
The biggest one I've run into is GDI support (Graphics Device Interface). This covers things like two-dimensional vector graphics, imaging, and typography. So simple things like transforming or drawing images are no longer supported.

There are decent third party open-source libaries like SixLabors/ImageSharp that have stared to fill the gap.

In case you're curious what this costs: "In Canada, participants get invited through a local dealer and pay about half of the $20,000 cost to attend but the trip includes a plus one. Dealers often pick up the other half of the cost as a reward to a client for years of business or as a way to firm up future business. In the U.S., the cost is $14,500. It includes the full day of ice driving, two-night accommodations at Hotel Sacacomie, all airport transfers and meals. "

https://driving.ca/car-culture/speed-performance/lamborghini...

Re:Anatomy of a credit card rewards program on Thursday April 04, 2024 @08:40AM (#39929661)
You used to be able to deduct any consumer debt. But that stopped in 1986. The reason was "Congress believed deductions for personal interest encouraged people to consume and stifle savings."

https://www.telegram.com/story/news/local/worcester/2007/03/...

Re:Speeding up Azure development by not using Terraform on Monday March 25, 2024 @07:24PM (#39822446)
Well written ORMs let you express queries without the operations happening in the business logic. For example C# and Linq. You can express pretty much any query using the linq language and that's then converted into SQL automatically.
Re:IRS Free File is now available for the 2024 filing season on Wednesday January 24, 2024 @12:54PM (#39120382)
If you just have W2 income, there's no reason you can't fill out the regular 1040 form yourself. Sure might take you an hour or so, but no software to purchase. Just costs a stamp to mail it in!
Re:.NET 8's Best Blazor is not Blazor as we know it on Wednesday November 22, 2023 @08:41AM (#38378969)
There are new operating modes for Blazor in .Net 8 that don't require Web Assembly. There's the new "Static server" and "interactive server" that don't require WASM.
Re:Minimum 15% global corporate tax has too many loopholes on Monday October 23, 2023 @09:59AM (#37985745)
There's also Social Security, Medicare and SDI (State Disability Insurance)
Re:Google Cloud Spanner is now half the cost of Amazon DynamoDB on Wednesday October 11, 2023 @03:13PM (#37848967)
Perfect example of this is google analytics. The depreciated Universal Analytics on 7/1/2023:

https://support.google.com/analytics/answer/11583528?hl=en

But the API to access the replacement GA4 data is still in Beta: (for dotnet / go / python and node):

Re:How async/await works internally in Swift on Thursday September 28, 2023 @11:53PM (#37699098)
I've been playing around with Swift and SwiftUI for the past few months and the thing that baffles me is why are certain features only available with a minimum iOS version.

For example async required iOS 15.0. Why is this tied to the OS? Why can't they include newer runtimes be downloadable like Node / Java / .NET etc?

Other examples are from SwiftUI. For example the NavigationStack appears much more useful than the older NavigationView but that requires iOS 16. Which means that you can't support anything older than an iPhone X.

Re:Why Scalpers Can Get Olivia Rodrigo Tickets and You Can't on Saturday September 23, 2023 @09:03PM (#37629176)
Related article: The reason why Billy Joel refuses to sell front row seats at his concerts

https://faroutmagazine.co.uk/reason-why-billy-joel-refuses-s...

Re:Farewell EC2-Classic, it’s been swell on Friday September 01, 2023 @08:26AM (#37349907)
This is something Google Cloud should learn from. It doesn't matter if product XX still makes money or fits in your business model. There are people who rely on it. And they'll remember if the vendor kept it running trouble free for years. They'll also remember if it was arbitrarily shut down or the price was suddenly increased by 4x and they had to spend many man hours migrating to another option. (Google maps api?)

Then in the future when that same person is responsibly for choosing a vendor for a new project, they'll remember.

Reminds me of a SPAM email we get quite frequently, the "World Company Register". The attached PDF reads, "To update your company profile, please print, complete and return this form. Updating is free of charge. Only sign if you want to place an insertion."

Then at the bottom in tiny type it says that you've agreed to a 3 year insertion at 995 Euro per year.

I can see small businesses easily falling for this.

Re:Ask HN: React Native or Flutter for a new app in 2023? on Wednesday July 12, 2023 @01:53PM (#36698805)
My only concern with Expo is once you're using it, you're going to get charged per user and per update. It's $0.005 per user per update (plus additional bandwidth and storage charges). So if you have 100K users, that's $500 per update. One update per month would be $6K per year. So you have to factor in the economics of your app.
Here's the actual paper that this article refers to:

https://www.mdpi.com/1996-1073/16/6/2793

Does anybody know when / if this is available as an extension for Visual Studio (not Visual Studio Code)?
Re:I Use ChatGPT as a Developer on Monday February 27, 2023 @12:47PM (#34959526)
I frequently write ChatGPT requests such as: "Create a c# object with the following fields: CustomerID, FirstName, LastName, RegistrationDate" (or the like). The fields might be pasted from a SQL query. It does a pretty remarkable job even guessing the correct types.
Same here with our website https://www.meetways.com. This product was created around the time google created their maps API. In fact we worked extensively with google to help them iron out some of their API issues. They even discuss our product on their blog: https://mapsplatform.googleblog.com/2008/10/geocoding-in-rev...

This site made a little bit of money, but not that much. But then 5 years ago google raised their prices so much that we were suddenly in the red. We had to drop the places API (replaced with Yelp) and the autocomplete API (we don't even use that anymore). Recently we've been moving to Apple Maps API which has a pretty generous free tier. Stadia Maps also looks interesting.

Re:The grim world of office spyware on Sunday January 29, 2023 @09:03AM (#34568161)

Older »