Details
-
AboutMight be best to stay anonymous! I build apps and websites for a living.
-
SkillsTS > React C# > .NET Dart > Flutter
Joined devRant on 7/12/2021
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
I can highly recommend looking at https://fastlane.tools/. Once set up it can save quite a lot of time!
-
We have displayed emojis in one of our projects in the past and it cleanly showed whatever the underlying OS was supposed to show for a certain Unicode character. Obviously some older devices don't support everything and just render an empty box to signal they don't know what to do but apart from that, it has been smooth sailing.
-
Have you tried turning it off and on again?
-
@jase-case Yes, afaik. It's like having to use some JVM language for Spring or some CLR language for .NET or Ruby for Rails.
I wouldn't be surprised if that was to change eventually and there was more variety in language options to achieve similar results or actually target flutter, but for now it's really enjoyable to have a full toolchain designed to work with a language. Dart comes with its own formatter, linter and testing framework, so you don't have to spend hours configuring tooling to work together like for example in the JS world. -
We are close to completing our third app with Flutter next week. In my opinion it is the best cross platform solution for mobile out there at the moment when it comes to ease of picking it up, developer comfort and performance.
I have yet to experience any massive issues (aside from the annoying App Store warning you get from a new project which is talked about in an open issue since 2018; has a workaround tho), honestly. -
Can you not simplify those even further? From the docs:
Accessing the [Result] property's get accessor blocks the calling thread until the asynchronous operation is complete; it is equivalent to calling the Wait method.
So you should be able to save those two Wait calls.
And why wrap the requests in Task.Run? Maybe you can directly use .Result on SendAsync / ReadAsStringAsync? -
It's required that it is tagged with hacktoberfest on GitHub, I am not sure about requirements on GitLab.
-
My condolences! If you desperately need a new place, create a LinkedIn account and wait a few days; some of them actually use Git!
-
I can highly recommend bugmenot :) You have an Oracle account to download the JDK, you just didn't know it yet!
-
@kruf13 That's correct though. DNS resolves domain names to IPs, not to host which is a subtle but important distinction.
What is usually done to work with this is to host a reverse proxy like nginx or apache on the default ports for http/https traffic (80 and 443 respectively), have those check the Host header and then forward the requests internally to the actual server handling the requests (so your Spring Boot applicaiton) which can then run on any port (you can configure the reverse proxy to forward the requests anywhere you want, really).
That way the user doesn't have to go the extra mile to remember some port numbers, you can run your actual application on any port you want and expose it through the standard ports using a rather slim adapter (nginx is at least to my knowledge, not too sure about apache) which in turn allows you to use DNS properly (by configuring a mapping from host to IP so the browser knows what mydomain.com means). -
@AvyChanna nono, just the node_modules directories of frontend, backend and ui combined!
I'm curious what would happen if I moved away from Yarn workspaces so dependencies could not be hoisted! Aaaaaaaah, the wonderful world of webdev :)
In Node's (slight) defense though, it was my idiotic idea to build a complete stack with TypeScript. I have learned my lesson but oh sunken cost fallacy! -
@killames It's Dart; notice the async isn't at the front of the function declaration but instead between argument list and opening brace. BuildContext is the class used to access information Flutter provides you with when building widgets.
-
Not sure what you mean, 1.5GB dependencies for the groundworks of a project sounds perfectly reasonable to me.
Unless you are on 12GB of RAM and trying to build Docker images from that; WSL please learn to give me my memory back if you don't need it anymore... -
What about DaisyUI?
It's built on top of Tailwind and available as a Tailwind Plugin that provides you with component classes that you might be familiar with from Bootstrap but in pure CSS and advertises with a size of 2KB gzipped.
Have a look at their buttons for example:
https://daisyui.com/components/...