News for hackers. Stuff that matters.

GRiMe2D

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.

Re:Android now stops you sharing your location in photos on Monday April 13, 2026 @08:57AM (#47751325)
People already uploaded tons of images and data while playing Pokemon GO. Probably model is already has been built and being tested right now
Re:Why can't you tune your guitar? on Sunday March 08, 2026 @11:54AM (#47298320)
Actually Bach's Well Tempered Clavier IS a book written in a single set of tuning system that actually lost/forgotten. We still have discussions about how it's constructed. For more information google "Well Tempered Clavier interpretation"

You can listen to variations here: https://youtu.be/kRui9apjWAY?t=622

Re:Sub-$200 Lidar Could Reshuffle Auto Sensor Economics on Monday February 23, 2026 @06:05AM (#47120708)
ICE = internal combustion engine
Re:Sampling at negative temperature on Monday January 12, 2026 @01:56AM (#46585026)
I think yes. Recently I was experimenting with NEAT and HyperNEAT solutions and found this site. At the bottom it explains how novelty yields far more optimal solutions. I would assume that reasonably high temperature may also result more interesting solutions from LLM

https://blog.lunatech.com/posts/2024-02-29-the-neat-algorith...

Re:I Wasted 8 Years of My Life in Crypto on Monday December 08, 2025 @02:41AM (#46189506)
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

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

Re:E-Paper Display Refresh Rate Reaches New Heights on Wednesday September 10, 2025 @07:45AM (#45196297)
For over 1000$ you can have reflective LCD 1080p display.

https://www.sunvisiondisplay.com/rE-Monitor

Re:I want an iPhone Mini-sized Android phone (2022) on Thursday July 17, 2025 @07:39AM (#44592184)
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

Re:From SDR to 'Fake HDR': Mario Kart World on Switch 2 on Tuesday June 17, 2025 @06:36PM (#44304729)
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

Re:WhatsApp for Business Changed the World on Wednesday December 11, 2024 @02:28PM (#42391736)
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
That’s because fuel has far more energy density than batteries. Yet ICE cars still underestimate mileage.

On YouTube some guys did the experiment: driving and measuring mileage after fuel gauge dropped to empty and computer started to complain about fuel. They got about 40 miles.

Re:Font Sizes from 4px to 99.9px on Thursday December 14, 2023 @10:14AM (#38642215)
In web 1px defined as 1/96th of an inch

Source: https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_...

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.

Re:APIs for content sites must be free on Wednesday June 14, 2023 @01:12PM (#36329097)
Make a completely free API but change data structure every week or so.

App makers will get angry and stop at some point

Re:SPA view transitions land in Chrome 111 on Friday March 10, 2023 @03:46AM (#35092095)
It’s not bug, it’s feature. You can hold SHIFT while transitioning and it makes slower.

Try CTRL + SHIFT + Left arrow (or right arrow) right now, if you use spaces

Re:GitHub stars won't pay your rent on Wednesday November 09, 2022 @11:28PM (#33542202)
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.
Re:Introducing fine-grained personal access tokens for GitHub on Tuesday October 18, 2022 @03:29PM (#33252631)
Probably ~/.netrc can handle per repository tokens
Re:Tell HN: Today I learned Epub is just HTML/CSS on Thursday April 08, 2021 @01:52PM (#26741726)
EPUB3.0 spec includes Javascript. So probably much of existing readers support Javascript. IRRC, iBook on Mac also supports javascript, but it is activated after user clicking.

https://www.w3.org/publishing/epub3/epub-contentdocs.html#se...

Re:Big Sur bug prevents upgrades to the next version on Friday December 18, 2020 @06:17AM (#25466006)
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

Re:MDatePickerView – Quick and Easy iOS Date Picker on Monday January 13, 2020 @11:24AM (#22035760)
Every iOS developer makes a cool widget, view or library. But doesn't write any tests.

iOS dev community doesn't write tests as does Ruby community, which makes me really really sad.

Re:Apple Hides Taiwan Flag in Hong Kong on Tuesday October 08, 2019 @05:47AM (#21190383)
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.
Re:How to stop Apple from listening to your Siri recordings on Thursday August 01, 2019 @12:05PM (#20585107)
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

Re:Google – My Activity on Friday June 07, 2019 @10:05AM (#20124585)
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

Re:Google – My Activity on Friday May 31, 2019 @04:44AM (#20059245)
MapsMe is open source app. As far I know, when you compile yourself, ads are disabled by default

https://github.com/mapsme/omim

Re:Google – My Activity on Thursday May 30, 2019 @11:35AM (#20052278)
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

Older »