HNHacker News
TopNewBestAskShowJobs

verttii

232 karma · joined May 10, 2019

submissionscomments
verttii··on Flutter looks good, but is painful
Comparing languages is very different to compare these two SDKs. I've developed apps on both, and personally I've found Flutter significantly more solid and overall just better.

Everything is faster and just works (builds, hot reload etc.) on Flutter whereas on RN a lot of the things break constantly for no apparent reason. And all that weirdness like it might work if you rebuild a few more times in a row. Moreover, a lot of the debugging tools work exceedingly well on Flutter while trying to use even just the memory profiler crashes RN.

verttii··on Flutter looks good, but is painful
While it may not appeal to native devs I've found Flutter a lot more appealing compared to React Native.

React Native just keeps breaking things, like for example at something like 0.56 the textinput just broke on Android beyond usable and was stuck at that for like half a year.

I don't particularly like Dart as a language but as an SDK Flutter just feels a lot more solid than RN.

verttii··on Chaos in Hong Kong as hundreds of masked men assault protesters, journalists
Actually Taiwan's de facto independence has probably more to do with them having a relatively large defense force ready to inflict heavy casualties to an invader.

Hong Kong has no such asset.

verttii··on Chaos in Hong Kong as hundreds of masked men assault protesters, journalists
Not sure what you're implying here - that the British will roll out illegal drugs to the Chinese market again?

Look at how everyone is treating Taiwan. That should tell you enough about how nobody will be willing to compromise anything for the sake of Hong Kong.

verttii··on Chaos in Hong Kong as hundreds of masked men assault protesters, journalists
No foreign power would ever dare to intervene with HK. Every country is simply too horny about Chinese money nowadays
verttii··on React Native 0.60
Fair enough, but my point stands. Flutter is much more pleasant in cross-platform development even though this isn't even its primary goal.

I understand this is not a trivial problem, just comparing my experiences with RN with Flutter.

verttii··on React Native 0.60
I'd be hard pressed to say ADTs are first class citizens in Typescript. If anything, seems more like a hack over some interface primitives to me.

I miss having a solid advanced type system like in Haskell when using something like Typescript or Dart. Typescript feels mostly like Microsoft's attempt on converting Javascript to align more with C# to me.

verttii··on React Native 0.60
I have to agree with you. Moreover, you also go through plenty of pain to make the app work well on both platforms, with surprisingly much platform specific code.
verttii··on React Native 0.60
I much prefer React Native's (React) paradigm over Flutter's, but as a platform Flutter is just a lot more robust in my experience. Everything just works on it while RN has all kinds of weird quirks and issues, particularly when using libraries that have native code.

I chose to give up on RN at 0.59 and focus my efforts on getting really fluent at Flutter instead.

verttii··on Why am I interested in Elixir?
Perhaps I've managed to somehow develop an inherent allergy to Java'ish languages. I use plenty of Dart nowadays and as a language it's not something I like to use. However, other things count too and the platform (Flutter) is awesome.

Most importantly, I've grown into immutable data a little too much to willingly give that up.

> you can't really beat asp.net core on the back-end side of things

I guess you could argue that about Elixir too, particularly with soft real-time stuff. And Haskell does a good job in its own right where I find Elixir lacking.

Unfortunately still not seeing the benefits of really putting the effort to picking up something new when there's nothing clear to gain from it.

verttii··on Why am I interested in Elixir?
Thanks, excellent resources!
verttii··on Ten Years of Erlang
Wouldn't this logic make Java by far the greatest language ever invented?
verttii··on Why am I interested in Elixir?
Yeah you may be on to something here. Looking at GenServer callbacks as some sort of pure independent functions would not make a lot of sense, they're tightly coupled to processes/GenServer anyway.
verttii··on Why am I interested in Elixir?
What makes you say that? I mean what would they do better than I could do with Elixir or Haskell? I use Elixir when typical APIs or stateful soft real-time stuff is needed and Haskell whenever I have some complex data structures and logic to work on.

I'm unfamiliar with F# and .NET stuff. C# I don't like one bit, if that's anywhere near that avenue. I've tried Reason but didn't quite click with it. Ended up preferring Elm for the frontend side, although Purescript could be even a better fit for me there.

verttii··on Why am I interested in Elixir?
I agree, Dialyzer is just... horrible. It' hard to find anything good to say about it, unfortunately. Not that it's a trivial problem to solve, I get that.
verttii··on Why am I interested in Elixir?
I actually started off with Elixir but now working my way up with statically typed langs, most notably Haskell. I've found Haskell's type system allows me to express complex business logic far better than anything else I've ever gotten my hands on. It's clearly superior to Elixir in that regard in my opinion, although it does come at a price (steep learning curve).

That said, in a lot of other ways Haskell is not as ideal for web development, particularly if you need clustered stateful stuff.

Typescript and friends I've never really managed to develop any keen interest on, even though Typescript itself is an upgrade over JS.

verttii··on Haskell Fan Site
Couldn't find anything on Ruby validations (drop me a link?) just something about the db ORM/engine.

However, Clojure's specs indeed seem to be runtime checks. Seems very different from a type system, really just packages functionalities for the primitives rather than having an expressive type system.

I may be understanding this wrong but I fail to see what's the added benefit of moving checks to runtime in contrast with the performance penalty it produces. Or maybe it's just an improvement to an otherwise dynamic language, like Erlang/Elixir has Dialyzer.

Seems to me it's more of a mechanism to handle the errors or produce code that handles inputs a static type system would prevent from being used in the first place.

verttii··on Ask HN: Idea feedback on personal analytics
Actually it only supports having a handful of users now and the database is not encrypted. I don't think I'll ever publish it because it's certainly not a product comprehensive enough for a public release.
verttii··on Haskell Fan Site
I'm not talking about the compiler or the evaluation. From programmer's perspective the language does seem fairly declarative to me, mostly consisting of expressions instead of statements.

I don't know what's wrong about thinking about expressions as declarative which in my opinion they are. How would thinking about expressions imperatively help me avoid those exponential runtime costs?

For example consider the list comprehension: [toUpper c | c <- s]

If you compare this with your typical imperative for loop to construct the same data structure I find this declarative.

verttii··on Haskell Fan Site
Using a comprehensive and a well crafted type system limits the choice you can input to your functions. Drastically. If you utilize the type system right it essentially forbids you from supplying faulty data as input to your functions.

After a large range of (faulty) inputs are already forbidden by the type system you're left to write tests that actually test the business logic. I don't see how this would not cut the required test coverage compared to for example dynamic type systems where virtually any input is allowed and has to be covered by tests.

verttii··on Ask HN: Idea feedback on personal analytics
Thanks, it does seem interesting!

It seems there is no server implemented yet, not sure if it'll even rely on one. I've almost written mine already so I'll stick to my solution for personal needs.

I'm also making my service a bit more "intelligent", meaning it'll ask conditional questions based on your answers to previous questions. I guess sort of like the author of this thread is planning on doing.

verttii··on Sanders to propose canceling entire $1.6T in US student loan debt
From what I understand the US tuition fees are significantly higher than what the Nordic countries spend per student at colleges. Making all US schools free would likely incur much larger costs than they do in the Nordic nations. Welfare is also a part of the free education promise in the Nordic countries as students are paid a monthly student allowance for studying.

Imagine asking the tax payers to pay students' Ivy League education tuition fees. Tax raises would be unavoidable.

verttii··on Sanders to propose canceling entire $1.6T in US student loan debt
If you essentially aim to make all education free you'll have Nordic level taxes as a consequence.
verttii··on Haskell Fan Site
The cost of a high test coverage could be an additional 3x lines of code for the tests. While you still need tests with an expressive type system you can basically cut the code coverage to a fraction. And maintain the same level of confidence in refactoring.
verttii··on Haskell Fan Site
I didn't know about this, glad I read your comment. Stack/cabal is painful.
verttii··on Haskell Fan Site
The refreshing part about Haskell to me is that it is declarative. It feels more natural to describe what you want to happen than to try to think like a machine and compose sequential machine instructions for it each of which can fail at any execution.

Haskell's compiler is incredibly strict. It'll guide you until the code is near bullet proof. The outcome is that the surface area where things can go wrong is relatively a lot smaller than in just about any other language our there.

verttii··on Ask HN: Idea feedback on personal analytics
I'm actually already building a service like this. It's only for myself and for my friend but the idea is to ask chains of questions daily.

With enough time passing you can start making statistical analysis of your own data for insights about your life.

verttii··on Sanders to propose canceling entire $1.6T in US student loan debt
I guess the real question is if people are willing to pay those higher taxes needed to cover this expense.
verttii··on Hong Kong Protesters Keep Up the Pressure
It's highly unlikely that any country would impose sanctions on China for such measures. Hell, we don't even have formal diplomatic relations with Taiwan anywhere because everyone fears losing the chance to do business with China.
verttii··on Hong Kong Protesters Keep Up the Pressure
When pondering guerilla resistance it should be noted that Hong Kong is not Singapore - they have no army or any military trained population. There's just angry civilians.

There won't be any guerilla resistance in Hong Kong in the case of an armed intervention.

← PreviousPage 6 of 7Next →