Hacker Newsnew | past | comments | ask | show | jobs | submit | thyselius's commentslogin

How would one go about converting an old screen?


Nice. But the second switch doesn’t work on iPhone ( doesn’t toggle when I tap it)


It is not supposed to, the code is completed in the third example.


they explain that it works but you need the next step to see it


Wonderful to learn more about Unicode.

Does anyone know how to write a function (preferably in swift) to remove emoji? This is surprisingly hard (if the string can be any language, like English or Chinese).

There’s been multiple attempts on Stackoverflow but they’re all missing some of them, as Unicode is so complex.


I haven't tried but use libicu (icu). Split text into graphemes and remove anything starting with codepoints that has Zsey script. There should be swift bindings.


Here's a 1-liner, producing the string "text 0123 漢字":

`String("text EMOJI 0123 漢字".unicodeScalars.filter({ !$0.properties.isEmojiPresentation }))`

(I've had to substitute EMOJI for a smiley face, because HN is bad at text encoding.)


Thanks. Unfortunately both .isEmojiPresentation && .isEmoji leaves many emojis out, like red heart and many other.


Those aren't inherently emojis, the font just shows them as emojis, so you'd have to render the text.


Correct. `isEmojiPresentation` checks if, per the Unicode standard, this scalar should default to an emoji presentation.


It's not a bug, HN deliberately strips emojis.


Yeah Xcode on Hackintosh works (at least when I used it a few years ago)


I hope you're right. I've had a US top 10 grossing game (Bowling) on Apple TV for years and the income it's not enough to pay one salary. We thought it could be a great gaming platform for people without PS/Xbox, but unfortunately this did not happen. Apple TV is probably great for Netflix etc though.


When stabilizing and shooting with a cinematic shutter speed (1/48s) you have the problem with motion blur from the camera shake. This blur looks very odd when stabilized. Does Gyroflow have any functionality or tips toward this?


Yes, stop using ND filters and use faster shutter speeds. Add fake motion blur. https://docs.gyroflow.xyz/app/getting-started/common-filming...


The odd look of the blurring is actually a look people go for with FPV drones: https://www.youtube.com/watch?v=8JnkyT77AfA&


That Bardwell video is about normal motion blur, which is highly desirable in any cinematic content. You'll see in those YouTube comments (and there are a few mentions in the video, as well) complaints about "stutter blur" and "shaky blur" - the effect you get when you apply HyperSmooth or Gyroflow to physically/exposure-time blurred video. I wouldn't say that smoothed motion blur is desirable in FPV either.

These days, you'll usually see people in FPV either fixing their tuning to require less smoothing (the best solution!), or moving to shorter exposure times and post-production blur instead.


This essay seems inspired by this amazing episode of Hidden Brain, i strongly suggest take a listen if you find this subject interesting https://podcasts.apple.com/se/podcast/hidden-brain/id1028908...


Saw many words missing their first letter. Realized it’s probably because it’s sometimes Null and sometimes null


Only half related to Op’s question but I’m thinking a lot about this right now as i just translated my iPhone app to 11 languages and released the update a week ago. I see NO additional downloads and I’m really curious to why. If anyone here has some experience or insight I’d really love to hear about it.


Not to state the obvious, but the null hypothesis would be: there's no demand.

English has a whole lot of market-share in the technical world - for better or for worse.


What does the app do? If it's for techies/power users ... all of my desktops and mobile devices have the OS set to English. I simply don't care to see another "creative" translation in my menus.

I think my 70+ mother has her phone set to Romanian. My father... don't think so.


What marketing have you done for this effort? Why would people who speak those languages be aware of your app?


You should do some ASO and content marketing (reviews and etc) for each new language audience.


Would be nice to be able to see a summary of the original article below the ai one, including the sensationalism


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: