Better HN
topnewbestaskshowjobs
Log inSign up

mike_kamau

52 karma · joined Sep 24, 2017 (9y ago) · 24 submissions

Submissions

comment 8mo ago · link · parent

RIP

2.

Alleged Distillation Attacks by DeepSeek, Moonshot AI, and MiniMax(twitter.com ↗)

36 points · by mike_kamau · 9mo ago · 16 comments

comment 1y ago · link · parent

Good work @danbitengo Is this usable in native Android app development?

comment 1y ago · link · parent

I agree 100%. "Complexity is not a virtue. Start simple. Add complexity only when you have proof you need it."

5.

Web bloat impacts users with slow devices(danluu.com ↗)

3 points · by mike_kamau · 1y ago · discuss

6.

How to carry more than your own bodyweight(bbc.com ↗)

1 points · by mike_kamau · 1y ago · 1 comment

comment 1y ago · link · parent

Hurl https://github.com/Orange-OpenSource/hurl

For those who prefer an efficient command line tool

comment 1y ago · link · parent

I love the website design.

9.

How to Remember Anything(ncase.me ↗)

4 points · by mike_kamau · 1y ago · discuss

comment 1y ago · link · parent

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;

comment 5y ago · link · parent

Could you please add a description to your solution?

12.

Bulma CSS Framework(bulma.io ↗)

2 points · by mike_kamau · 5y ago · discuss

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 7y ago · link · parent

Sleep

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

A good sleep makes a happy life.

comment 7y ago · link · parent

This is great advice. Thanks for posting

comment 7y ago · link · parent

Kudos to the creators! It always amazes me when people create their own operating systems. Where do you even start?

comment 7y ago · link · parent

Good for you. I am seriously thinking of leveraging PWA. My app is pretty light weight, just a frontend to a REST api.

comment 7y ago · link · parent

Sorry to hear that. What do you do nowadays?

comment 8y ago · link · parent

This is awesome news. To the people behind this, thank you for the fantastic work.

comment 8y ago · link · parent

Annan facilitated the formation of the grand coalition government. A lot of the election reforms came out of that. May he rest in peace.

comment 8y ago · link · parent

Such a shame.

comment 9y ago · link · parent

Beautiful. Someone should do the same for all the Javascript-framework-driven web apps clogging the web.