HN user

GRiMe2D

59 karma
Posts5
Comments36
View on HN

Offtop rant: This blows my mind. We cared for 30% commission from Apple App Store, PlayStation Store, Steam for things that you buy once and forget for at least 2 years (even when publisher pull their licenses, which happen rarely), but paying 200$/month for 10x of "something" is okay and "basically steal"

Ah you see, you just essentially moved unique constraint to a client. It is no different generating an ID on client side and making a request. It is not idempotency.

Idempotency-Key should not replay the response (it depends, actually). But also it should not error 409. You need to be content aware before adding Idemmpotency Key header handling.

What will happen when the request is received and handled but during writing response body TCP connection dropped unexpectedly. And after second or two a connection reestablished. How two sides agree that previous request accepted and everything good to go? That's what Idempotency-Key header does.

Okay, let's image that I've sent you 100 BTC. Now, can you tell me how exactly you would convert the "money" I've sent you into bread and milk?

Because, most of the time people say that just in the context of the blockchain. In that sense I can also say that you can control vast majority of money by just having knife and glove skins in Steam (for the game Counter Strike). You also can trade/send/receive. But the moment you decide that you want to convert to "food" all sorts of problems arise that are worse than what banks offer.

I'm telling you as a person who received salary in crypto while living under sanctioned country

LLM policy? 8 months ago

We already have definition “AI slop”:

AI slop is digital content made with generative artificial intelligence, specifically when perceived to show a lack of effort, quality or deeper meaning, and an overwhelming volume of production.

https://en.wikipedia.org/wiki/AI_slop

Every time I see messages and posts like this, I hope that big companies were being dissatisfied with the product factory scaling issue and device sell effectiveness.

I hope that small companies would launch device like this with 500-1000 devices being created and sold in a year just fulfill the niche and doesn't go bankrupt

MacBook Pro can “display” HDR content on SDR displays.

macOS puts a slightly higher brightness than it required and artificially (in software) changes absolute white (0xFFFFFF) to greyish color (0xEEEEEE). So when a HDR content is required it will remove mask around that content. Safari ideally, probably that’s on Firefox why tone mapping doesn’t work well

In addition to that, WhatsApp was available at the time on Symbian devices and Nokia’s S40 devices (I remember downloading Jar and Jad files for button mobile devices, and each update was free up to year then it was a dollar for a year)

Swift actually passes value types by reference on closures (anonymous functions) if they aren't explicitly listed in capture group. It's per spec. It allows you to write closures with states:

  var count = 0
  let closure = {
    count += 1
    print("Current count=", count)
  }
  
  closure() // Current count= 1
  closure() // Current count= 2
  closure() // Current count= 3
  
  let capturedVariableClosure = { [count] in 
    print("Current count=", count)
    //count += 1 // syntax error, count is const variable. Use var count in capture group
  }
  
  capturedVariableCount() // Current count= 3
  closure() // Current count= 4
  capturedVariableCount() // Current count= 3

I want more dynamics on audio too. But it requires to keep my audio speaker volume settings loud.

I can easily isolate brightness pollution by closing door and sun shades. But isolating sound is difficult.

At this point, going to cinema is the only solution to enjoy high dynamics audio.

If we got subscription to dependencies, we would get only 3 or 5 deps, only required app to run. No more `is-array` like deps. Adding a new one would be deeply thought and reviewed.

A long time ago iOS 6 or 5 had the same issues with updating the iOS.

Their solution was to push an app to App Store which was called "iOS updater" or something. Installing and launching it would allow you install iOS update from Settings app.

I think they will do the same with Mac

Also I can confirm. Friend of mine was in China and bought iPhone XR dual sim. And now lives at hometown – Moscow, Russia. Russian interface, Russian region is installed. But Taiwan flag is completely missing: in chats, web and keyboard.

And most important, you can disable "Hey Siri" trigger on your iPhone/Mac or Apple Watch. If you disabled "Hey Siri" trigger (and left "Siri" on) then you have to long press "Home" button (or button on the right, if you are on iPhone X and later) to start "Siri"

There is a new trend on games – they are implementing "battle royale" genre where multiple gamers play against everyone at once and every "killed" player will leave the arena. Winner is who stayed as the last "alive" person.

PUBG probably was the first popular PC game that was battle royale. Fortnite is currently most played battle royale

No, you can compile it yourself using free apple developer account. However there is a device count limits on free accounts - 3 devices can be "linked" to the account. You have to pay if you want to remove old device.

You can compile and install unlimited number of apps to your device. But you won't be able to send them over air (Ad-Hoc) nor send to Apple AppStore. You'll need to locally install compiled app using Xcode (Xcode supports installing and debugging over Wi-Fi, but first time usb connection needed)

Some additional info: - Xcode can be downloaded directly without using Mac App Store. But there's no "Downloads" section for free developer accounts. Search for "Xcode direct link" and there would be stack overflow answer listing all actual versions - You'll need to setup Apple ID to enable developer account. Existing Apple ID can be used as developer too. - There may be a lot of errors indicating provision/bundle id mismatch. You need to use "Automatic Provisioning" from Xcode - iOS Simulators won't count as attached devices

Note that OpenStreetMaps isn't about maps. It's about Open Data for Maps. So technically you can use like maps but consider using apps or maps that use OSM.

Great example is MapsMe for Android and iOS. Works offline. However, there are ads in app and probably from Google

I love the idea but some points:

- Why do one POST a data in URL? I've tried to insert a "_" value and got homepage as HTML with 200 status code. I suggest using HTTP body for that.

- GET requests seem don't respect "Accept: " HTTP header. What if if want to get XML structured response? "Accept: application/xml"

- It's unclear how to sign your requests and is there any authentication. If someone knows my email and/or name of db, can they insert their arbitrary data? Is there any private key or token exchange to verify POST requests?

Edit 1: Formatting