HNHacker News
TopNewBestAskShowJobs

jmnicolas

4,143 karma · joined December 23, 2013

submissionscomments
jmnicolas··on Launch HN: FlutterFlow (YC W21) – Build Apps Visually
Of course it's highly subjective but here are a few examples:

There's too much syntactic sugar for my taste to the point it gets diabetic.

Callable classes really? For example you can write MyClass()();

Underscore to mark a variable or a function private, but you can still use an underscore to declare a variable inside a function so it muddles the comprehension. Are we going to lose some precious milliseconds if we have to write private in front of a variable?

There's also the need to use buildrunner for almost everything since the language wasn't thought out for modern use cases. It works, but this is very inelegant IMHO. When I peak at the generated code I don't feel fluent in Dart quite the opposite.

Then there's the ultra strict linter that won't let me add an empty new line where I want. The resulting code is very compact and is harder to read.

jmnicolas··on Elementary OS 6.1
No she uses it about 1 hour daily.
jmnicolas··on Elementary OS 6.1
IMHO it's a lost cause trying to make money with apps, especially on Linux. Of course there are a few well known exceptions, but I'm not sure it's a worthwhile endeavor in 2022 to say "hey I'm gonna build an app and live of it".
jmnicolas··on Elementary OS 6.1
I put my mom on Ubuntu 3 or 4 years ago. It has been absolutely uneventful since then. This wasn't the case when she was on Windows.
jmnicolas··on Launch HN: FlutterFlow (YC W21) – Build Apps Visually
I took it last year, the woman has a mesmerizing voice! (and the course is great too :D) If you're an experienced software dev it's a bit basic.

I like Flutter a lot, but I'm not a fan of Dart. It's a false friend, it makes you believe it's simple and mostly a copy of your favorite language, but once you start to dig a little deeper it feels like something bolted on, hacky, not designed.

I come from the .net world which is the exact opposite: C# is a superb language but every UI framework MS has ever produced is sub par. Now if I could get Flutter with C# I would be a happy man.

jmnicolas··on I built a web app inspired by the 4 Disciplines of Execution for goal completion
Bug report: On Firefox dev edition with the goal "Test the software 3 Times in 14 days" I obtain 2 big non scrollable boxes. Even when I complete the goal, I only see these 2 boxes (now green).

I have the same problem on Edge (Windows).

jmnicolas··on Apple’s use of Swift and SwiftUI in iOS 15
> Swift itself is also quite nice - although it’s evolving really, really fast

Coming from C# you should feel right at home (though the documentation seems better).

If I compare the C# code I was writing 12 years ago to the current one, it feels like 2 different languages.

jmnicolas··on 3 lines of code shouldn't take all day
You're not using an IDE? Sometimes I joke that I just press CTRL+Space and Visual Studio does the coding for me (and this was before Github Copilot!).
jmnicolas··on GPT-3 APIs are now in public beta
> similar open-source models and even host it yourself.

Do you have any idea what kind of hardware resources (cores, ram and disk) are necessary for that?

jmnicolas··on GPT-3 APIs are now in public beta
When you know that some people managed to fall in love with ELIZA, I'm quite worried for our future!

https://en.wikipedia.org/wiki/ELIZA

jmnicolas··on 3 lines of code shouldn't take all day
Your example is valid for beginners but once you're getting experience you don't code like that anymore.

After 13+ years of C#, on simple projects I can code for a couple hours without compiling and get the pleasant surprise that my code work the first time I run it. And I'm certainly not a genius, I'm a 1X programmer.

jmnicolas··on More than half of high-impact cancer lab studies could not be replicated
You're right, I'm not a scientist. I'll give it to you that researching in a scientific way is science, but if it's not reproducible then what you publish shouldn't be established as "truth" but as a hypothesis that needs further research.

What bothers me is that some people are very dogmatic about things that are published and most of the time those people aren't scientists either.

jmnicolas··on Ask HN: Why is building Windows apps so complicated?
This is Windows dev: while command line is available, everything has been thought for the GUI. Use Visual Studio, it will provide a much better experience. There's a button for what you want to do on VS (green arrow, at the top, the hint text is "run" I think).
jmnicolas··on Ask HN: Why is building Windows apps so complicated?
I'm mainly on WPF, so I might say something wrong, but I think adjusting your UWP app for WinUI would be a breeze compared to redeveloping everything with Win32.
jmnicolas··on Ask HN: Why is building Windows apps so complicated?
Yeah but nobody develops hello worlds for a living.
jmnicolas··on Ask HN: Why is building Windows apps so complicated?
Assuming you're on Windows, as a beginner you should do everything with Visual Studio (not Code), it's the easiest way.

Create a new WinUI project (choose an UWP one), once you're on the hello world page, just look at the green arrow at the top of Visual Studio, press it and voilà it will run your app.

But to develop a visual app for Windows you will need to learn a few things before you can be at ease. There's one WinUI book for sure, and there should be courses too.

Keep it on!

jmnicolas··on More than half of high-impact cancer lab studies could not be replicated
Of course I'm not speaking about being unable to reproduce an experiment because you don't have the lab or tools available.

But if you can't reproduce with the exact same conditions than the original experiment then it's not science.

jmnicolas··on More than half of high-impact cancer lab studies could not be replicated
Dear HNers, I hope that you will remember this article (or all the previous one) the next time you will invoke science like a religious dogma in a discussion.

If you can't reproduce it, it's not science.

I believe in science, but I also know scientists are humans and thus fallible.

We live in a post-truth world, I have no certainty about anything anymore except what I can check by myself, which is not much.

jmnicolas··on Pixel prevented me from calling 911
I have a cheap one. The slightest hint of grease on it or on my hands and it doesn't detect my touch. Sometimes it needs several pass from different dry clothes to activate.

I'm mad at the thing just writing this!

jmnicolas··on Pfizer and Biontech provide update on Omicron variant
> There have only been a handful of cases of myocarditis or pericarditis in mRNA vaccine recipients, generally young males. A handful. And none of them have died from it.

Didn't you see the wave of cardiac problems in sports? It's much more than a handful, I here about it almost daily.

jmnicolas··on Reverse-engineering Roman cavalry
Except in winter, isn't grass enough?
jmnicolas··on Pfizer and Biontech provide update on Omicron variant
Have a nice day :)
jmnicolas··on Pfizer and Biontech provide update on Omicron variant
> not taking it and dying

COVID survival rate is > 99%

jmnicolas··on Pfizer and Biontech provide update on Omicron variant
> Expert on tv explained it just yesterday.. 3 shots is actually what you need for most vaccines and is the common procedure for most if you remember..

The same so called experts that will say that now you need the 4th dose, the 5th etc. It's now obvious that it's a vaccine as a service.

Pfizer ceo's hinted at it last year, saying it would probably be recurring every 6 months.

jmnicolas··on I host this blog from my garage
I have seen production servers run for ten years upstairs a dirty bus repair shop. The room is never cleaned so there's a few millimeters of black dust on everything.

In fact you know the age of a server depending on the amount of dust on it.

There's a defective A/C unit that sometimes throw some water all around.

There's power cut 2 or 3 times a year, the batteries are old so the servers get their hard reboot.

As far as reliability is concerned, sometimes a disk fail, but that's about it.

Now if you think I'm describing something from the third world, you're wrong. It's in France and I'm not exaggerating about it.

So what I'm saying is that for a homelab, don't fret over cleanliness or optimal conditions.

jmnicolas··on A submarine's weakness: its software?
> then has the courtesy to hide it domestically

If you don't hide it, you will be forced to retaliate. Do you start WW3 for material damages because your public opinion's pride has been hurt?

jmnicolas··on A submarine's weakness: its software?
Yes but it wasn't supposed to be there. Are you going to start WW3 for material damages? Even if the entire sub had been destroyed, would you start WW3 for a few hundred people?

No. You take the losses, put a brave face and spin a story about navigation error. Then if you think you weren't in the wrong and they need to get a lesson you destroy something of theirs a while later.

Btw, I'm not saying that's what's happened. I'm just hypothesizing that in case it happened like that they wouldn't start WW3 over it.

jmnicolas··on You click a link to a news site, to read an article that seems interesting
You can disable video and sound autoplay in Firefox. But anyway I try to avoid those kind of websites.
jmnicolas··on Goodbye Brave
I use Bromite, it's very good at ad blocking by default (no add-ons necessary) and it's not affiliated to anyone (AFAIK).
jmnicolas··on Leaving MySQL
> MySQL is a pretty poor database, and you should strongly consider using Postgres instead.

It's not like it's an industry secret either: when I started my CS training in 2007, the first course was about relational databases and one of the first things the teacher told us was that MySQL was pretty sucky.

← PreviousPage 11 of 34Next →