Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
realharo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
181.
▲
by
realharo
6y ago
This may be a lot more viable today than it would have been in the past when there were huge compatibility issues between browsers (e.g. which IE version does the user have on their system?). Especially with the Chromium-based Edge in the f
182.
▲
by
realharo
6y ago
As far as I know, Dart still has all types nullable by default, which makes it easy to run into problems with things like initialization (not realizing that a thing may still be uninitialized at some point / only loaded later) or just
183.
▲
by
realharo
6y ago
Flutter itself seems nice, but Dart as a language is a pretty big downgrade from TypeScript. For mobile right now, the easiest, most headache-free solution may actually be to forget about cross-platform and just do separate Android and iOS
184.
▲
by
realharo
6y ago
I just ran that. It took a long time, and the progress bar showed fetching 1381 packages. Definitely https://i.redd.it/i428f2ki0ho01.jpg . However, the resulting `package.json` only shows 3 dependencies: react, react-dom and
185.
▲
by
realharo
6y ago
Why would create react app add more run-time dependencies? Isn't that just Babel and stuff used for building? Also, with TypeScript, Babel becomes completely unnecessary. I haven't used it in any of my React projects for years. Ma
186.
▲
by
realharo
6y ago
You can buy a cheap sensor, like the MH-Z19B, connect it to a Raspberry Pi Zero W (or just about anything else), and set a reminder to open the windows once the value rises above some threshold. Or just buy a finished product for this somew
187.
▲
by
realharo
6y ago
One difference is that you can just use data directly as it comes from the net (or combine it with any other data in your application). You don't have to wrap it in models like this https://doc.qt.io/qt-5/qtquick-m
188.
▲
by
realharo
6y ago
I doubt I could build something like this https://codesandbox.io/s/eloquent-spence-d51td?file=/src/App... in Qt or one of the "old school" desktop tools as quickly as I just did in a few minutes, th
189.
▲
by
realharo
6y ago
My point is that in environments like old-school Delphi or VB, or even with frameworks like Qt, those things take way more effort and boilerplate code than they should. For exapmle in Qt you have to either subclass QAbstractListModel or use
190.
▲
by
realharo
6y ago
None of that matters when once you need to display a list of items (where every item has its own group of UI widgets), you have to start dealing with a whole bunch of clunky model wrappers, and even basic features like sorting and filtering
191.
▲
by
realharo
6y ago
>The taskbar fills too quickly (you can't read the window text) and when it groups by Application it's not really any different than macOS' dock I just use the default setting where it doesn't show the text ever (on
192.
▲
by
realharo
6y ago
So my assumptions in the original question a number of comments above (in the context of the comment above it) were: - something running regular Linux would be too heavy (though I don't know if that's really the case, especially i
193.
▲
by
realharo
6y ago
Stuff powered from a coin cell battery?
194.
▲
by
realharo
6y ago
Right, but doesn't it also provide some very basic level of abstraction that things like network stack implementations can target? And then many projects also come with their "standard" (not bundled, just designed for) set of
195.
▲
by
realharo
6y ago
How are things on the commonly used RTOSes? I'm not really into hardware much, only fairly recently learned basic electronics as a hobby, but I've seen ARM push their "mbed" ( https://os.mbed.com/ ) thing
196.
▲
by
realharo
6y ago
"Code completion" can mean many different things, from very basic features to more advanced ones. Many "lightweight" tools I've seen lack the more useful parts and offer only really basic completion. For example if
197.
▲
by
realharo
6y ago
As a customer, I have no problem with them. Given that they only do short flights anyway, the lack of comfort is not an issue. It would be different if I had to spend 10 hours on their plane, but I don't. Pretty much the same experienc
198.
▲
by
realharo
6y ago
He often makes fun of their "small number of users were affected" press statements that follow a certain pattern - denial, blaming the users (you're holding it wrong - though most of that is coming from tech media, not Appl
199.
▲
by
realharo
6y ago
It seems ok now that I'm trying it, but I definitely remember not being able to find a specific settings screen (I think it was network connections) even when typing its literal exact name. Same for various applications. Maybe they fix
200.
▲
by
realharo
6y ago
Windows does have its flaws (e.g. the useless built-in search), but its window management and taskbar UI is the best of any OS I've ever seen - the live previews on hover, the way it interacts with middle click just like browser tabs&#
201.
▲
by
realharo
6y ago
After being subscribed to Louis Rossmann's YouTube channel for a while, I'm not sure Macs are much better in that regard (e.g. butterfly keyboard issues and replacement program, the bizarre cooling solution in new MacBook Air, pin
202.
▲
by
realharo
6y ago
Other apps can easily check whether the location comes from a mock source and discard such data. https://developer.android.com/reference/android/location/Loc...
203.
▲
by
realharo
6y ago
On a custom ROM, sure. That's why games like Pokemon Go blocked them. Using it as a daily driver is not advisable though.
204.
▲
by
realharo
6y ago
>As a mobile app developer I could save so much time by having the OS ask me what I want to put in these tables or grids, rather than having to implement the UITableViews and ListViews verbatim in almost every single project. A basic s
205.
▲
by
realharo
6y ago
>I miss the days of VB6 and creating a GUI in drag-and-drop, aligning everything That was a fixed non-resizable layout, showing static content. >I knew if I wanted to set the Label of Button1 programmatically as the window opened,
206.
▲
by
realharo
6y ago
The same can be said about just about any software (plus again, AS is an exception, a typical IDE doesn't use anywhere near that much RAM - only few hundred MB to low GBs). Everything is bigger these days - web browsers show bigger web
207.
▲
by
realharo
6y ago
I'm pretty sure Delphi also didn't have the same level of code navigation and inspections across the entire codebase (including resources, even from 3rd party libraries), or a built-in CPU/memory/network/energy prof
208.
▲
by
realharo
6y ago
More likely it's a blanket policy of "patent everything even remotely patentable, just in case".
209.
▲
by
realharo
6y ago
If you mean Android Studio being slow (and the Android build system in general, with its many transform steps), that has little to do with Java itself. Even IntelliJ IDEA, built on the same platform is much, much faster than AS (with non-A
210.
▲
by
realharo
6y ago
Plenty of games used to be written like this, where you basically had a C (or C++) OpenGL ES platform independent code base, and then a bunch of small platform-specific parts for the different OSes. They did usually have tiny pieces of code
More ›