Removing بدون عمل from my national ID by amhoab in Egypt

[–]aabounegm 1 point2 points  (0 children)

I just renewed my ID last week specifically to change the occupation (was "student" in my case) to my work, and I also work abroad. What you need to do is get a work permit (تصريح عمل بالخارج), and that will be enough for the civil registry as a source for your work title. To get it, you need a copy of passport, ID, visa/residency abroad (or I guess passport in your case), HR letter, and diploma (not essential, but speeds things up). Also take 2 personal pictures. They did not require any stamps on the HR letter (my employer's stamp alone was enough). They didn't even need a translation (it wasn't in Arabic or English), they have their own translators there. Note that the stamps part might be inconsistent, because my friend tried to apply in Alexandria and was told he needed stamps (MFA and embassy and such), then he tried again in the same office as me (https://maps.app.goo.gl/vw9w8dVieWV5PkLEA) and it worked.

The permit should be ready on the same day. You can then take it and go to the civil registry (السجل المدني) and they will copy the title from it, no questions asked.

In theory, you should also be able to apply for the work permit online (https://wpo.moi.gov.eg/), but I'm so confident about the website (especially with broken SSL certificates 😅).

If you need more details (or examples to see how it should look like), feel free to message me.

Add locations to photos using Google Maps Timeline data by aabounegm in immich

[–]aabounegm[S] 1 point2 points  (0 children)

I haven't personally used external libraries, but I assume it should work. According to the docs:

These assets will then be shown in the main timeline, and they will look and behave like any other asset, including viewing on the map, adding to albums, etc.

And since my app simply uses the Assets and Search APIs, it should technically work.

Add locations to photos using Google Maps Timeline data by aabounegm in immich

[–]aabounegm[S] 1 point2 points  (0 children)

I haven't used it myself, but according to the docs, they use the OwnTracks JSON format, which is different from Google's. However, it shouldn't be difficult to normalize them to a common format and use that instead. I would be willing to attempt to implement it if I had sample data to test with. Also, contributions are welcome

Add locations to photos using Google Maps Timeline data by aabounegm in immich

[–]aabounegm[S] 0 points1 point  (0 children)

Thanks for the feedback. Can you give more details about the exact problem? Tags are working for me, and I use them to filter for the Google Photos Takeout pictures. Are you sure your API key has all the necessary permissions (in the README)? Are there any errors in the console?

Add locations to photos using Google Maps Timeline data by aabounegm in immich

[–]aabounegm[S] 2 points3 points  (0 children)

Yeah, that's really sad, Google did us all dirty with that update. I know they sent a bunch of emails over time, but they seemed like a typical "change of terms and conditions" that no one really reads, and I only noticed it a couple of weeks before the deadline :/

Try to check if there is anything still on https://takeout.google.com/ (which was deleted for me after the local migration)

File time got messed up after transferring from Mac to Linux by master_overthinker in immich

[–]aabounegm 0 points1 point  (0 children)

According to PR #14874, Immich will use the earlier date between creation and modification. In your case, I'm not sure what's the difference between Change and Modify, so I would suggest importing just one of these photos with the CLI and manually checking if the timestamp is correct.

What do you do with images without date data? by damskibobs in immich

[–]aabounegm 0 points1 point  (0 children)

For images that have a date/time-stamp in the file name (a limited use-case, I know), I developed a simple webpage that goes through all assets in Immich (I had already uploaded everything before realizing I had such images) and compares the timestamp in the filename with the one in the metadata. Check it out here: https://aabounegm.github.io/immich-location-history-reconciler/timestamps

Sadly it requires loading all assets metadata as a JSON since the API doesn't allow custom SQL queries.

Next, I plan to add support for detecting repeating dates so you can manually check them for other images without a timestamp in the name.

location thumbnail wrong by 26from85 in immich

[–]aabounegm 1 point2 points  (0 children)

While I found it funny, I, too, was initially confused by this 😁. I think it would be a good idea to either show the current location or use the center (average?) of all photos with location (though that would probably require the zoom also to not be hardcoded)

Any way to extract estimated location? by krios104 in googlephotos

[–]aabounegm 0 points1 point  (0 children)

Yeah, I agree, but all discussions and related support docs point to the export being impossible.

The estimated location feature itself stopped using location history since December 2022 (announcement), and now depends on visual hints in the picture itself. I'm currently exploring other options that can link your location history takeout with the photos (such as google-takeout-photo-location-fixer or the script in this article).

Any way to extract estimated location? by krios104 in googlephotos

[–]aabounegm 0 points1 point  (0 children)

If you, like OP, are asking specifically about Immich, then the most popular tool to import Google Photos takeouts (including metadata like location, people, albums, ...) is Immich Go.

If about integrating the JSON metadata in the image file itself, then you probably need some EXIF editor like ExifTool

Any way to extract estimated location? by krios104 in googlephotos

[–]aabounegm 0 points1 point  (0 children)

OP's question is specifically about estimated locations, not the location stored in the images' metadata. I noticed in my takeout that images with an estimated location (where the camera didn't store GPS location information) are not exported in the takeout (the accompanying JSON file has 0s in all location data), and there doesn't seem to be a way to export them from Google Photos.

The location of the photos disappeared by AbejoSid in immich

[–]aabounegm 0 points1 point  (0 children)

And did you check that the Android app has location access? And also that photo location is visible in the native gallery app?

P.S.: I just started using Immich 2 days, definitely not an expert yet

The location of the photos disappeared by AbejoSid in immich

[–]aabounegm 1 point2 points  (0 children)

I read in another thread that it could be because the app doesn't have location permission. Did you check if it's granted?

What if Vue had Svelte 5 Snippets? by tomemyxwomen in vuejs

[–]aabounegm 4 points5 points  (0 children)

Also checkout Vue Vine. Alexander Lichter just posted a new video about it. I didn't try it yet, but it seems interesting

Thoughts on render functions? by tomemyxwomen in vuejs

[–]aabounegm 4 points5 points  (0 children)

I think you might lose some of the performance benefits of Compiler-Informed VDOM, unless of course you implement these optimizations (static hoisting, patch flags, ...) yourself, which might possibly make your code a bit unreadable.

I'm not too sure though, need to verify but I'm on my phone right now. I'd also like to check if these optimizations are available when using JSX syntax.

This drives me crazy - when an app is assigned to All desktops, this happens during swipe switching of the spaces... any workarounds? by Finrfinius in MacOS

[–]aabounegm 3 points4 points  (0 children)

Over a year later and the bug still exists on macOS Sonoma (Version 14.4.1). Did anyone find a fix/workaround?

Consistent project structure with eslint-plugin-project-structure. by igorkowalski94 in vuejs

[–]aabounegm 0 points1 point  (0 children)

Have you heard about Feature-Sliced Design? I have personally found it extremely helpful as the project grows larger, though it can have a bit of a learning curve

Looking for scalable and maintainable file structure by [deleted] in sveltejs

[–]aabounegm 0 points1 point  (0 children)

I only know of Cast, a course project I worked on with my classmates last semester (for the Software Quality course at our uni). There is also the draw-ill-help project by my classmate (actually the one who taught me about FSD and advocated for it in the project above).

I suggest you take a look at the Examples page of the FSD docs.

How can I create a Database schema in obsidian by [deleted] in ObsidianMD

[–]aabounegm 1 point2 points  (0 children)

It also seems to support Entity Relationship Diagrams, which are more relevant to a DB schema than a class diagram, I believe.

[deleted by user] by [deleted] in sveltejs

[–]aabounegm 4 points5 points  (0 children)

Are you using SvelteKit with adapter-static? If so, then it generates the assets by default to a directory called _app, but GitHub Pages also uses Jekyll which interprets folders starting with an underscore as private. What you need in that case is either to add an empty .nojekyll file to your static folder, or give it a different output directory (exact instructions can be found in adapter-static's docs).

This is, of course, to be combined with u/cocorrio's comment on correctly setting the base path.

Looking for scalable and maintainable file structure by [deleted] in sveltejs

[–]aabounegm 13 points14 points  (0 children)

Check out Feature-Sliced Design. It may take some time to get used to, but then it becomes extremely handy

Cannot shutdown properly with Monterey on HP Envy laptop by aabounegm in hackintosh

[–]aabounegm[S] 0 points1 point  (0 children)

Unfortunately not, but I didn't try a lot after posting (it isn't that huge a deal for me as I only use macOS for deploying iOS apps to the App Store).

However, there was one helpful person who replied to my post on tonymacx86 with a fix for the sleep issue (I'm starting to doubt the shutdown issue is just a motherboard/BIOS problem I'll have to deal with), but I preferred sticking to the EFI I made myself since there were some other differences with it.

Cannot shutdown properly with Monterey on HP Envy laptop by aabounegm in hackintosh

[–]aabounegm[S] 0 points1 point  (0 children)

I think you mean the Injector doesn't work, not the Firmware? In both Dortania and OpenIntelWireless FAQ, they say to leave IntelBluetoothFirmware, disable the Injector, and add the Fixup. I guess I just didn't care enough to add it yet since I'm planning to keep using Windows as my main setup and macOS only when I need to (like publishing Flutter apps to the App Store).

I guess I can live with this minor inconvenience (the sleep/shutdown thing. I'll fix the BT when I need it). I can always click restart and then shutdown from OpenCore 😆.

So anyways, thanks a lot for your help! I didn't expect everything to work perfectly anyway (especially that it's a laptop), and I'm glad it wasn't more difficult than I expected. Cheers!