HNHacker News
TopNewBestAskShowJobs

mike_kamau

52 karma · joined September 24, 2017

submissionscomments
mike_kamau··on Tony Hoare has died
RIP
mike_kamau··on Show HN: SyncKit – Offline-first sync engine (Rust/WASM and TypeScript)
Good work @danbitengo Is this usable in native Android app development?
mike_kamau··on What the hell have you built
I agree 100%. "Complexity is not a virtue. Start simple. Add complexity only when you have proof you need it."
mike_kamau··on Hoppscotch: Open source alternative to Postman / Insomnia
Hurl https://github.com/Orange-OpenSource/hurl

For those who prefer an efficient command line tool

mike_kamau··on Introductions to new subjects by great people
I love the website design.
mike_kamau··on Show HN: ImPlot3D – A 3D Plotting Library for Dear ImGui
I have tried running the example in the examples folder, but it fails to compile. Seeing the errors:

    /opensource/implot3d/implot3d.cpp:2650:20: error: no member named 'sin' in namespace 'std'
 2650 |     float s = std::sin(half_angle);
      |               ~~~~~^
  /opensource/implot3d/implot3d.cpp:2654:14: error: no member named 'cos' in namespace 'std'
 2654 |     w = std::cos(half_angle);
      |         ~~~~~^
  /opensource/implot3d/implot3d.cpp:2670:14: error: no member named 'fabs' in namespace 'std'
 2670 |     if (std::fabs(normalized_dot - 1.0f) < epsilon) {
      |         ~~~~~^
  /opensource/implot3d/implot3d.cpp:2680:14: error: no member named 'fabs' in namespace 'std'
 2680 |     if (std::fabs(normalized_dot + 1.0f) < epsilon) {
      |         ~~~~~^
  /opensource/implot3d/implot3d.cpp:2682:45: error: no member named 'fabs' in namespace 'std'
 2682 |         ImPlot3DPoint arbitrary_axis = std::fabs(v0.x) > std::fabs(v0.z) ? ImPlot3DPoint(-v0.y, v0.x, 0.0f)
      |                                        ~~~~~^
  /opensource/implot3d/implot3d.cpp:2682:63: error: no member named 'fabs' in namespace 'std'
 2682 |         ImPlot3DPoint arbitrary_axis = std::fabs(v0.x) > std::fabs(v0.z) ? ImPlot3DPoint(-v0.y, v0.x, 0.0f)
      |                                                          ~~~~~^
  /opensource/implot3d/implot3d.cpp:2695:24: error: no member named 'acos' in namespace 'std'
 2695 |     float angle = std::acos(normalized_dot);
      |                   ~~~~~^
  /opensource/implot3d/implot3d.cpp:2697:20: error: no member named 'sin' in namespace 'std'
 2697 |     float s = std::sin(half_angle);
      |               ~~~~~^
  /opensource/implot3d/implot3d.cpp:2701:16: error: no member named 'cos' in namespace 'std'
 2701 |     q.w = std::cos(half_angle);
      |           ~~~~~^
  /opensource/implot3d/implot3d.cpp:2707:17: error: no member named 'sqrt' in namespace 'std'
 2707 |     return std::sqrt(x * x + y * y + z * z + w * w);
      |            ~~~~~^
  /opensource/implot3d/implot3d.cpp:2786:26: error: no member named 'acos' in namespace 'std'
 2786 |     float theta_0 = std::acos(dot);        // Angle between input quaternions
      |                     ~~~~~^
  /opensource/implot3d/implot3d.cpp:2788:28: error: no member named 'sin' in namespace 'std'
 2788 |     float sin_theta = std::sin(theta);     // Sine of interpolated angle
      |                       ~~~~~^
  /opensource/implot3d/implot3d.cpp:2789:30: error: no member named 'sin' in namespace 'std'
 2789 |     float sin_theta_0 = std::sin(theta_0); // Sine of original angle
      |                         ~~~~~^
  /opensource/implot3d/implot3d.cpp:2791:21: error: no member named 'cos' in namespace 'std'
 2791 |     float s1 = std::cos(theta) - dot * sin_theta / sin_theta_0;
mike_kamau··on Using Scheme to Find the Median of Two Sorted Integer Lists
Could you please add a description to your solution?
mike_kamau··on Background Features in Google Meet, Powered by Web ML
Why are people replacing their backgrounds?

I thought the whole point of having a video call is to see who you are talking to, and their environment to further enhance the effectiveness of the conversation.

If you are in your kitchen, or under a tree, I definitely would like to see that because that environment will have an effect on how we communicate.

mike_kamau··on Kotlin vs. Java
Kotlin is like a virus. Once you use it in a non trivial project, it infects you and takes over your body and mind. Every time I look at Java code in my Android apps, a part of my body hurts. Luckily there exists a Java to Kotlin converter.
mike_kamau··on Ask HN: What things do you wish you discovered earlier?
Sleep

Get good sleep. At least 8 hours everyday. Get a good mattress.

A good sleep makes a happy life.

mike_kamau··on Composing better emails
This is great advice. Thanks for posting
mike_kamau··on Mezzano – An operating system written in Common Lisp
Kudos to the creators! It always amazes me when people create their own operating systems. Where do you even start?
mike_kamau··on Developing for Android is like being a demonetized YouTuber
Good for you. I am seriously thinking of leveraging PWA. My app is pretty light weight, just a frontend to a REST api.
mike_kamau··on Developing for Android is like being a demonetized YouTuber
Sorry to hear that. What do you do nowadays?
mike_kamau··on Rust now available on 14 Debian architectures
This is awesome news. To the people behind this, thank you for the fantastic work.
mike_kamau··on Kofi Annan has died
Annan facilitated the formation of the grand coalition government. A lot of the election reforms came out of that. May he rest in peace.
mike_kamau··on Google quits selling tablets
Such a shame.
mike_kamau··on APK Golf: Reducing an Android APK's Size by 99.99%
Beautiful. Someone should do the same for all the Javascript-framework-driven web apps clogging the web.