HNHacker News
TopNewBestAskShowJobs

artimaeis

1,389 karma · joined March 21, 2012

meet.hn/city/35.2272086,-80.8430827/Charlotte

Interests: Books, DevOps, Gaming, Programming, Web Development

---

submissionscomments
artimaeis··on The drinking fountain button
When you're in public what taps are you drinking from?
artimaeis··on Everything we can't describe in music
TIL! I grew up hearing about it so much from the broader guitar community that I just took it as truth.

The idea holds across many acoustic instruments though.

artimaeis··on Everything we can't describe in music
I think this is just another point of frustration with trying to define timbre. There's definitely some points directly under control: attack and brightness come to mind. Then there's some that are less directly under control: the room and the instrument itself.

It's no accident that musicians spend a lot of money on instruments -- even electric guitar players -- an instrument that is electronically amplified and often distorted and otherwise augmented -- will have strong feelings about the particular type of guitar they use. Leaving shape-based decisions out of it (and pickups), hollow bodies are going to produce a different sound than solid. Different wood types will produce different tonal characteristics.

So the things that are directly controlled are less like terroir, more like choice of grape used maybe? While the make of the instrument, the shape of the room a recording was made in, these are much more like terroir I think.

But it's probably just not a great metaphor.

artimaeis··on Why are most sofas so bad?
Jumping in with the pro-IKEA crowd. I've had a KIVIK since 2017 that has survived me, my wife, and friends incredibly well. It's moved with us 3 times and still is in great shape. Easily the best value piece of furniture currently in my home.
artimaeis··on Researchers use electron beams to eradicate forever chemicals in water
If you don't want to consume PFAS, you'd be better served trying to limit them from food packaging. There's limited evidence that cooking with traditional nonstick cookware exposes people to PFAS. The evidence shows that discarded nonstick cookware exposes the environment to those PFAS. Which is awful! But probably not affecting you directly.

Meanwhile, food packaging is unregulated and has been shown to be a major source of PFAS. Water bottles are particularly guilty.

https://www.consumerreports.org/health/food-contaminants/dan...

artimaeis··on iMessage with PQ3 Cryptographic Protocol
Self-replying since I can't edit or delete this.

Sneak was right -- by default iCloud backup is enabled and is backing up all iMessage, SMS, and MMS messages.

I was just caught up on the difference between iCloud for Messages and iCloud backup of messages.

Apple support article that lays out what's backed up by default:

https://support.apple.com/en-us/108770

artimaeis··on iMessage with PQ3 Cryptographic Protocol
Gah, now I see. Yes, it does include messages in iCloud backup by default. The "Messages for iCloud" option is exposed at the "Apps using iCloud" menu but iMessage backups are in the iCloud Backup for the specific device.

TIL.

artimaeis··on iMessage with PQ3 Cryptographic Protocol
Right, that’s why I am trying to clarify that it’s iCloud for Messages that is not enabled by default.

iCloud backup IS enabled. But Messages in iCloud is off.

artimaeis··on iMessage with PQ3 Cryptographic Protocol
As far as I'm aware, iCloud for Messages is not enabled by default. Security-conscious users should know not to turn it on, though -- if iCloud servicing warrants is part of their threat model.

Further, Apple ended up rolling out Advanced Data Protection for iCloud in 2023, so users who truly don't want Apple holding those keys can effectively take them from Apple.

https://support.apple.com/guide/security/advanced-data-prote...

EDIT: Just confirmed with a test device and test apple id, iCloud for Messages is not enabled on it.

artimaeis··on In Defense of Simple Architectures (2022)
He's been talking about the problems/solutions around Wave for a while. Every time I can't help but think if they'd just started with C# or Java, maybe Go or Rust, they'd be in a better position.

Here's what I see them as providing:

- Simple async, no wasted CPU on I/O

- Strong typing defaults

- Reliable static analysis

Half of the "pros" he lists for using GraphQL are just provided out of the box using ASP.NET Core with NSwag to document the endpoints. If they want to keep the client-side composability, create some OData endpoints and you've got it.

> Self-documentation of exact return type

> Code generation of exact return type leads to safer clients

> Our various apps (user app, support app, Wave agent app, etc.) can mostly share one API, reducing complexity

> Composable query language allows clients to fetch exactly the data they need in a single packet roundtrip without needing to build a large number of special-purpose endpoints

Bias flag: I'm primarily a C#/.NET developer. I came up on python and ruby but have had more success in my region getting paid to work on .NET code.

artimaeis··on Apple's iMessage avoids EU's Digital Markets Act regulation
Even in the US it's very rarely used by business, which is what the article cited as the main reason.

> the EU probe found that iMessage falls outside the legislation because it is not widely used by businesses

Apple does offer a specific service for businesses, Apple Messages for Business, but their documentation claims it's actually different from iMessage:

https://register.apple.com/resources/messages/messaging-docu...

> Apple Messages for Business differs from the widely known iMessage by being a business to end-user service. Additionally, the encryption mechanism slightly differs from a traditional iMessage.

Given that businesses can interface with AMfB using APIs rather than the Messages app on an Apple device, it seems that would fall pretty far outside the iMessage gatekeeping definition.

artimaeis··on Companies embracing SMS for account logins should be blamed for SIM-swap attacks
If the attacker is targeting your 1P, then yes.

If the attacker got a list of passwords from a leak and your password was on it, the 2nd factor provided by the TOTP will still save you.

So, it just depends on your threat vectors. I’d rather people I support keep unique passwords alongside TOTP in a manager they’ll actually use than skip or use SMS TOTP because of a vague concern about targeted hacking of their manager.

artimaeis··on When Optimising Code, Measure
Profiling != benchmarking. Profiling is great to find _where_ you should setup benchmarks in your code. If you've got code in a path that consistently takes <1ms and isn't called enough times to significantly add to the profiling of the application, would it really warrant benchmark comparisons?

As others have said, benchmark frameworks are great. Many systems have support for high-resolution perf counters these days. Just ran a quick test on my local system, it's able to make a timer accurate to 100ns.

Benchmark frameworks let you hook into your code in such a way that you can easily run a single fragment 10k-10m times and produce an analysis of the result that includes mean time, std deviation, and memory allocations. They usually let you setup a side by side comparison so you can directly compare 2+ methods.

If you use a language with a JIT then good frameworks for those include a warmup period to get the best-JIT version of the code in place before collecting data.

artimaeis··on The drive stats of Backblaze storage pods
Cloud backup != B2.

https://www.backblaze.com/cloud-storage/pricing

$6/TB/Month. Very manageable egress-fees. If you're using it for cold-backup, hopefully you rarely have to pay them.

artimaeis··on Payroll providers, Power, Respect (patio11)
Honestly it's refreshing to see someone with an audience like patio11 pushing back on the "Intuit lobbying is the reason US taxes are complicated" narrative that's so popular.
artimaeis··on Ask HN: Books you read in 2023 and recommend for 2024?
"Immune: A Journey Into the Mysterious System That Keeps You Alive" by Philipp Dettmer

I never really clicked with biology in school - but learning about systems is always fun. A bit of a pop-sci read on the subject that's very approachable. Most chapters are <10 pages. Dettmer manages to distill information very effectively though, he paints a fascinating picture of the complicated machinations of the human immune system.

artimaeis··on Charging a lithium battery to 80% only?
If it's an iPhone, then iOS will suspend background apps in favor of foreground apps. If your phone is lagging it's almost certainly because the foreground app is resource-intensive.

If the foreground app requires more resources than are available due to background apps, it will suspend background apps to free up those resources.

Apps don't really have much they can do to get around this, assuming you're not jailbreaking or installing local profiles.

Well-built applications will have already saved state with every interaction. When they go to the background they will start unloading unnecessary resources and prepare for possible suspension by saving any additional data. Then when they're suspended, their state is saved to a snapshot that they can load in later so it's as though they never were suspended.

There _is_ more capacity in recent versions of iOS for an app to use background resources, and to start a background process automatically. Still, the system treats background processes with a lower priority and terminates them for using too much power way more aggressively.

artimaeis··on Charging a lithium battery to 80% only?
I'd forgotten, I _do_ have a shortcut that runs late at night to turn off WiFi and enable low-power mode. I've had it for some time now and not thought about it. Another shortcut runs in the early morning to turn the WiFi on and disable low-power mode.

I didn't keep a great log of how the battery handled before that, but it does seem like I have to charge it less than I used to.

I only force close apps when they're clearly stuck.

artimaeis··on Charging a lithium battery to 80% only?
I'm not sure I've gone more than a day without looking at my iPhone in years probably (not great, I know..) but I've not had any notable standby drain issues. That is, I've never left it at something like 80% and come back to it hours later for it to be drastically lower.

I'm pretty religious about what apps are allowed background data, and notifications in general. But I never turn off any of the radios.

artimaeis··on Charging a lithium battery to 80% only?
I've got an Oasis 3rd gen (2019). My last Kindle before that was the 3rd gen "Kindle Keyboard" (2010). I'd say the Oasis has a longer-living battery than the old one, but I've always been pretty aggressive about turning off its radios and 'smart' features.

I love the Oasis, I'd like it if they made a slightly larger variant with USB-C. Basically the form of the Scribe, but I'd rather skip the pen input.

artimaeis··on Charging a lithium battery to 80% only?
I just picked up my 2017 iPad Pro. It was last charged Nov 15. Been sitting by the bed mostly unused since. Currently at 80% charge. I haven’t experienced what you’re describing on an Apple device since they switched the laptops away from Intel chips.

In my experience, the OS does matter. I can’t believe how bad the rest of the industry is at this. Amazon’s Kindle line is incredible at this IME, but those are pretty atypical devices.

Screenshot from said iPad’s battery screen: https://postimg.cc/xcHpy5Sr

artimaeis··on Apple plans to equip MacBooks with in-house cellular modems
Qualcomm charges licensing fees based on the price of the device being sold. This has been the source of Apple's issue with them for years now [1].

If Apple were to package their laptop line with Qualcomm powered cell modems, I have to imagine the prices required would really take people aback, hence why they're so steadfast in trying to create their own modem.

As for why it's better than tethering, it just works without having to do anything. For some users who are always on the go, that's a huge convenience. Also, tethering eats at the cellular device's battery, which is usually a lot smaller than the battery we lug in our laptops.

I don't think satellite comms are on any sort of track to meaningfully replace cellular ones. Everything I've seen in that vein is more supplementary to the existing networks, rather than trying to completely replace it.

[1] https://arstechnica.com/tech-policy/2019/05/how-qualcomm-sho...

artimaeis··on Australia's overuse of antibiotics driving rate of drug-resistant infections
It is not a different discussion. Here is the context of the line you quoted line I believe you were replying to.

   that would require people cut back on meat consumption
You chose to only quote the Would rather die part.

I’m simply asking you consider something beyond the meals you want to partake in.

You’re absolutely correct- I never have worked in that industry. My family has worked the chicken industry in Georgia and South Carolina. I’ve seen the result of that labor first-hand. If that brain washed me then so be it. That labor is inhumane. It is hardly the only inhumane labor that we rely on.

The thing is I believe you’re capable of seeing more than your comment lets on. I wasn’t hand-fed some propaganda and I don’t think you were either. It’s a weird world out here.

artimaeis··on Australia's overuse of antibiotics driving rate of drug-resistant infections
What if it wasn’t about you dying? What if it was to make the world better?

What amount of suffering in the world would cause you to even consider the option of eating less meat? Is it something you’re willing to contemplate? Not just animal suffering either. Think of the complicated web of problems that come out of people eating too much meat. The antibiotic use discussed in this thread. The methane byproduct discussed in countless others. The inhumane conditions of most butchers (for workers! Let’s forget the animals still).

It’s okay if none of that bothers you. We’re only human. I’m a former vegan, I’ve likely considered it all more than strictly necessary. I don’t think anyone _has_ to be anything. But for what it’s worth it _could_ be about more than an individual’s health.

artimaeis··on The 'Georgists' Are Out and they want to tax your land
I think that's the jib though - in a lot of countries you don't really "own" the land. You and the government(s) get to just agree that it's your responsibility for a while.

LVT cleans up this incentive some by putting taxes in place in areas where the land is more valuable. I think Georgists would argue for doing that _and_ removing property taxes, specifically so you aren't taxed for the things you own.

artimaeis··on .NET 8
If it was a whole decade ago it's hard to state how much the ecosystem has changed since then.

Since 2014 they've released Community Editions of Visual Studio, with a lot more useful features and less restrictive licensing than the old Express editions.

But if you're used to writing Python in Notepad++ I'd skip VS entirely. You can install the dotnet SDK and just keep using Notepad++.

Here's literally everything to write a CLI app in .NET 7:

A csproj file:

  <Project Sdk="Microsoft.NET.Sdk">
    <PropertyGroup>
      <OutputType>Exe</OutputType>
      <TargetFramework>net7.0</TargetFramework>
      <ImplicitUsings>enable</ImplicitUsings>
      <Nullable>enable</Nullable>
    </PropertyGroup>
  </Project>
A program.cs file:

  Console.WriteLine("Hello, World!");
Then open a terminal and navigate to the folder you put the files in and run `dotnet build`. Or just pass in the folder in the argument `dotnet build .\demo\demo.csproj`.

Voila. A CLI executable is built in the .\bin\Debug directory.

artimaeis··on .NET 8
I'm not super familiar with PHP -- if you're looking for more of a backend focused project I'd recommend the "ASP.NET Core Web API" template. If you're looking for something that serves HTML pages, possibly the "ASP.NET Core Web App (Model-View-Controller)" template would be pretty straightforward.

There's a pretty good starter tutorial for the Web API one here: https://learn.microsoft.com/en-us/aspnet/core/tutorials/firs...

Or here for the Web App MVC one: https://learn.microsoft.com/en-us/aspnet/core/tutorials/firs...

artimaeis··on Create a shortcut for even lower phone brightness
Hey, someone had the same idea! This was the first shortcut I actually found useful. I also have it increase the text size since at my preferred white point the text at default can be pretty difficult to read.

Then a 2nd shortcut to reverse everything back to how I like it in the daytime.

artimaeis··on Ask HN: What are you passionate about at the moment?
I know it's got a lot of hype at the moment, but Baldur's Gate 3 really is something special. I never played the first 2 games, but I have played D&D regularly for some 16 years now and it's one of the best narrative adventures I've ever had.

I'm planning on going back and playing the Divinity: Original Sin games that Larian made before it. I hear they're fantastic as well.

artimaeis··on Mass producing the most expensive rice cooker [video]
There's more than one way to cook rice.

A lot of the Japanese rice cookers cook it a bit lower/slower than you'd normally do on a stovetop in a pot. The result is usually rice with nicer texture and flavor, but if you're only ever buying the cheapest rice, or value the speed it can be cooked, it's probably not worthwhile. Just stick to the really cheap rice cookers that usually take around 20 mins.

Here's a screenshot from the Zojirushi Fuzzy's manual, it generally takes around an hour to cook any rice.

https://imgur.com/a/pyA6l27

← PreviousPage 3 of 14Next →