HNHacker News
TopNewBestAskShowJobs

zgramana

187 karma · joined July 11, 2013

Founder, Graphene Software

https://gographene.io/

@zgramana

submissionscomments
zgramana··on How did we create a society where we can’t afford to live in our own country?
I’m surprised that the article and the discussion here don’t assess the impact the booming short-term rental market has on keeping otherwise available inventory off the residential market. Many cities have a lot of empty dwellings on any given day, yet seemingly face a scarcity of inventory.
zgramana··on Kotlin/Native Tech Preview: Kotlin without a VM
FWIW, C# also has compiled into native executables/libs for many years via `mkbundle`[1] and into JS via several projects like Bridge.NET [2].

[1] https://linux.die.net/man/1/mkbundle

[2] https://github.com/bridgedotnet/Bridge

zgramana··on Tested: The truth behind the MacBook Pro's 'terrible' battery life
I'm surprised nobody has yet brought up the update that just came through which fixes issues in graphics card switching in new MBP's. If it preferentially uses the discrete graphics more than it needs to then, well, you know, battery drain problems.
zgramana··on The Sky Is Falling: Oracle (Might) Want Your Money for Java SE in 2017
This article does a nice job of setting up a straw man and summarily knocking it down. The original article on The Register states that the issue arises with people using Java SE Advanced features without realizing they are licensed separately from Java SE itself, particularly on Windows which (according to that article) has one installer which installs both (thus making it easy to inadvertently use JSE Advanced features).
zgramana··on Cancelable Promises: Why was this proposal withdrawn?
project.json was pulled due to very strong negative feedback from the community. Not sure how you missed that, but it's actually an example of Microsoft changing course due to significant community involvement.
zgramana··on The Elephant in the Smartwatch Room
It will be interesting to see if people eventually normalize 'smart watch' into 'watch' and old school watches become referred to separately as 'timepieces' (for example).
zgramana··on Arctic Is Warming At 'Astonishing' Rates, Researchers Say
In fairness to [US] conservatives: "Half of U.S. Conservatives Say Climate Change Is Real" (https://www.bloomberg.com/news/articles/2016-04-27/half-of-u...)

I'll take the "glass half full" view on this, but certainly 50% leaves plenty of room for improvement.

zgramana··on Ask HN: Is Xamarin worth learning?
Especially when/if using Xamarin.Forms (and not XAML). It's a very good fit for a functional language. Code equals data.
zgramana··on Ask HN: Is Xamarin worth learning?
That was just an internal working name. Xamarin.Forms has first and foremost been a code patterns library, not a WORA framework (despite how it may be used in practice). It's a unique leaf on the MV* tree. The central insight from it's chief architect was to apply the scenegraph + renderer model from 3D graphics to solve the native cross-platform UI problem. It should be classified something like Model-ViewModel(Scenegraph)-Renderer.

As a practical matter it had to ship with a library of default renderers for common UI elements, but other than the layout system, those all can be replaced by alternative renderers either in part or in whole. But the scenegraph essentially is the data structure that stores your app's business value (think HTML templates + JS). The renderers can too, but those should be reusable across many apps (think CSS/the value prop of Bootstrap). The scenegraph maximizes intra-app UI code sharing and the renderers maximize inter-app UI code sharing.

It's a hard problem space, and there is no magic bullet. Even the Xamarin.Forms team would tell you that. For many use cases, it's great. The bugs are tricky, since UIKit and Android have major thread safety issues and wildly divergent object life cycles (and Android itself is such a moving target, which any experienced Android dev knows, cough Support Libraries cough). Bugs tend to come from the layout engine because that is the heaviest lift. XF eats complexity that you otherwise have to eat on your own. For many small/under resourced teams, that's the difference between "iOS only" and "Android also" support. If you are resourced for two teams, awesome! If not, but have to support both, you face some hard choices. Xamarin.Forms tops a very short list of available options.

All that's to say that some people use Forms to build really native apps because they understand the patterns Forms is built on, and it's limitations. Every framework has a grain. When you cut with it, the results are quick and smooth. When you cut against it, and the results are tough, course, and possibly cracked.

zgramana··on Visual Studio for Mac
Lot of overlap, but VS Code has a much bigger ecosystem/community. Xamarin/Visual Studio has advanced debugging features like thread inspection, "immediate" console for executing commands while the program execution is paused, profiler, App Store submission, and stuff like T4 templates, etc.
zgramana··on Microsoft Is Now 'Open by Default', Says Xamarin Founder Miguel de Icaza
Miguel is clearly referring to Microsoft developer tools, since he's in the developer tools org.
zgramana··on VoCore2 Lite – A $4, coin-sized, open-source Linux computer
The makers of this product would even tell you that you aren't in the target market. This is a System On Module, not a Single Board Computer. The later is a "unbox, boot up, and play" experience. The former is "unbox, wire into my existing circuits, standup the board, start coding" experience.
zgramana··on Ways Data Projects Fail
I have spent a lot of time talking with customers/prospects about this topic, but I use "data remediation" which I feel brings more accurate and precise connotations, to wit:

* Implies that the data is deficient/falls short of expectations.

* Implies that the shortcoming currently makes it ineligible to graduate to the next level.

* Implies that with hard work and additional time likely it can be made sufficient though still not ideal.

* Implies that someone failed to help the data to meet expectations.

* Implies that you need special outside expertise, namely someone with the knowledge needed to assess the shortfall, possibly help you clarify your standards, design steps that when followed should result in "good enough" data, and who is able to articulate the remaining weakness(es) which need to be accounted when assessing future suitably of that dataset for a given purpose.

* Implies that your data will be stuck in school all summer while their friends are out having so much fun.

zgramana··on The Deletion of gcj
Not quite right. Mono has the lovely mkbundle tool which can do what the poster wants: AOT your intermediate/byte code and build a statically linked executable containing your app, the runtime, and all your deps (except for key system dynamic libraries like libc or Security.framework, similar to how go works).

No restrictions on reflection, unlike .NET Native (which has slightly different design goals).

I've used it many times for just this reason with great results. Plus, the runtime was re-licensed to MIT/X11.

zgramana··on Contemplating the possible retirement of Apache OpenOffice
FWIW, I think the closest English analog would be 'liberated', a synonym of 'free', though not that this a substantial improvement.
← PreviousPage 2 of 2