News for hackers. Stuff that matters.

umurgdk

Re:Show HN: I made a web game called Almost Pong on Wednesday March 02, 2022 @12:56AM (#30524239)
These games are so much fun (I'm talking about your other games too). Especially loved gravity snake and square
Re:Digital Tools I Wish Existed on Friday November 27, 2020 @04:07PM (#25232578)
Oh I wish the RSS link is working.
I would rather get paid for the sake of commitment. I'm not interested in forming a team at the moment.

Ask HN: As an experienced dev how can I find iOS/macOS projects/teams to join

I'm doing backend and frontend development for approximately 10 years now, but recently (since last year) I want to get into more desktop and mobile development on apple platforms (ipad, ios, macos) and start working on my side projects (mainly desktop right now). But I think I would improve my skills on that topic much faster if I was working on real projects.So I'm looking for small to medium...

( Read More... | 2 comments | on HN )
Re:Proposal: A built-in Go error check function, try on Wednesday June 05, 2019 @01:09AM (#20101650)
I am strongly against this. `try` seems exactly like a function yet it is not acting like a function at all. People wouldn't expecting calling a function may return from the caller. And there is a reason why golang doesn't have macros. With macros all kind of craziness would be possible, and would really difficult to read different kind of projects' code.
Have you seen arguman.org ? Similar ideas (visual wise).
Re:Sr.ht, the hacker's forge, now open for public alpha on Thursday November 15, 2018 @09:57PM (#18465966)
I've always wished this to be open sourced. Oh man I'm glad there is no javascript nonsense, overall design is great. Thank you so much for opening this beauty :)
No web developers are developers as much as people doing development on other platforms. That's not the case. Running a browser for terminal access is just not acceptable.
Re:Rust creator Graydon Hoare is now at Apple working on Swift on Wednesday February 01, 2017 @07:43AM (#13540245)
Are you the Slava who wrote Factor programming language? Apple hiring all the good language designers around the world dammit!
Re:Ask HN: Is Xamarin worth learning? on Monday November 14, 2016 @09:12AM (#12949877)
I've used in production and experience was good. Xamarin Studio is more than enough for development / debugging. Xamarin is very powerful, but usually people taking the wrong direction with Xamarin and using Xamarin.Forms. As like many other cross platform solutions Xamarin.Forms sucks. If you think making a native iOS application is easy with Swift, it is same with Xamarin too. When i develop applications with xamarin (desktop/mobile) i usually look for java/swift documentations or forums for my problems. This way i don't need separate xamarin community. Because you can write the same code in c# easily. Please check my workflow, for any further questions, twitter: @umurgdk

Recommended workflow: 0. Never ever use Xamarin.Forms other than quick prototyping. If you develop applications with other cross-platform frameworks, you already know all of them sucks and Xamarin.Forms is not an exception.

1. Create PCL / Shared project for your business logic (also your view models if you're using MVVM architecture). Believe me most of your application is platform independent (except the view layer). Your api communication, storage operations all handled here. See 3rd article to how to make storage/network platform independent.

2. Create native projects for each platform (iOS, Android, Windows) implement native views here (use xcode, android studio if you need visual designer). This part should be exactly the same as your swift/java code. For iOS you're just implementing an ApplicationDelegate class and UIViewControllers as same as your swift code. Same for Android part, nothing special to xamarin just implement your activity classes. At this level you have the full power of your native platform with one exception 3rd party native libraries. It's possible to use (yes i used some swift/java libraries for youtube player) them but really hard to integrate to your project, that part has to be improved and better documented.

3. Your shared code base need native features, for example storage implementations are totally different for each platform, or changing views (navigation) will be implemented differently for each platform. Since shared code base shouldn't know anything about native platform. You should abstract these functionalities with interfaces. For example create a storage interface with methods like saving/reading/creating files. Another example might be network communication. Abstract it as an interface on your PCL and implement this interface in your native project with full control of your platform. Your shared code base only knows how to use that interface. And then each of your native projects should implement these interfaces. At this point dependency injection may help to register implementations easily. Actually that part is what makes you share your business logic. Writing idiomatic cocoa navigation code is much better than using any cross platform implementations, you have full control but in the same time your shared code base using them without knowing anything about the platform.

best april joke i ever see.
Re:Python with Braces on Sunday February 09, 2014 @06:46PM (#7208052)
WHY????? Do you have endless empty time?

Ask HN: Is firebase prices are expensive?

https://www.firebase.com/pricing.htmlI was thinking about how to be if I use firebase as my backend. It really looks cool to me. But Im confused about prices. What do you guys think about prices on the list. Are they normal for connections they handling?

( Read More... | 1 comment | 2 points | on HN )
Re:Building Photoshop 1.0 on Sunday March 31, 2013 @11:32AM (#5468901)
bandwith limit XD
Re:Io language on Monday June 06, 2011 @10:46AM (#2624868)
and there is Ioke (http://ioke.org/) programming language. its not currently developing i think.he implement io (and some plus points) on jvm. I really like io's design, prototype based++, clean syntax, dynamic, macros...