HNHacker News
TopNewBestAskShowJobs

greenhouse_gas

1,066 karma · joined February 28, 2017

submissionscomments
greenhouse_gas··on Announcing Flutter beta 1: Build beautiful native apps
What are others? Will there be first class Kotlin support?
greenhouse_gas··on Announcing Flutter beta 1: Build beautiful native apps
So I understand this correctly, Dart just pivoted language styles 7 years after being in stable?

So all old Dart code won't work now? This seems much worse than the Python 2 - Python 3 jump.

greenhouse_gas··on Announcing Flutter beta 1: Build beautiful native apps
>So? Some could argue it's a very productive approach.

Some could. And others look at it and think "Python" or "JS" speed app. Oh. And harder to refactor/detect errors.

greenhouse_gas··on Announcing Flutter beta 1: Build beautiful native apps
>But, when Go came out, there were no libraries. And it didn't get so much bad press.

1. Go had a lot going for it when it came out (single, static, exe, memory safety).

2. Go's stdlib came with a lot out of the box. To the extent that you can write some fairly complicated code without touching a single library.

3. There was cgo.

greenhouse_gas··on Announcing Flutter beta 1: Build beautiful native apps
>Well Flutter does provide for a way to call into existing native code so I think that mitigates the code-reuse concern.

Is it like calling Java from Kotlin (pretty) or C from Java (ugly)?

> The other thing to consider is that this advantage of code reuse was never realized to iOS.

iOS does interact well with C.

greenhouse_gas··on Announcing Flutter beta 1: Build beautiful native apps
Different people hate different things.

And I don't think that anyone hates Dart because it has generics.

greenhouse_gas··on Announcing Flutter beta 1: Build beautiful native apps
I can't speak for everyone, but my problem with flutter isn't the framework - it's the language. Or, more accurately, the fact that it's not a JVM-based language.

When Android came out, it was able to piggyback on millions of existing Java packages (such as Apache commons). When Kotlin came out, it was able to piggyback on millions of existing Java packages and Android packages (and even better, existing Java code can seamlessly forward work with Kotlin).

Now, Google is using its muscle to drag everyone to its language which has pretty much no existing adoption.

Oh. And many remember Dart being optional-typed (like Typescript).

greenhouse_gas··on KaiOS – A Smartphone Operating System
1. Companies distributing Google Play Services has to sign an agreement not to ship (or even build) a non-Google Android-derived phone.

So, while Samsung may ship Tizen and Windows Phone, they may not build phones for Amazon (which caused Amazon a lot of problems back in the day - where will you find a company making portable electronics that will make them a white-label product and not making android phones).

2. MicroG depends on Google's servers, so Google can pull the carpet out of them at any time. And where will you get those millions of apps if Google doesn't let you access the App store? Look at the difficulty Amazon has at getting apps into its store, and it's a larger company willing to pay devs to switch apps to Amazon store. And all the hacks that people use will be closed by Google once they get popular.

Now sure, you can use MicroG as a porting library (so if I have a closed source app relying on firebase I can trivially switch to relying on MicroG and Mozilla's back end - kind of like wine), but you'll still have to recreate all of Google's apps anyways (there's no way Google will publish their apps on an Android fork) and also those apps written by those who don't care to port (unlike wine - where I can use the OEM CD or EXE from the OEM website, there's no official way to get apks out of Play Store)

greenhouse_gas··on Samsung Galaxy S9 and S9+
>By definition, a phone with project treble has to boot and pass all tests in the Android compatibility test Suite with an unmodified AOSP image.

But it won't help if the bootloader's locked

greenhouse_gas··on Samsung Galaxy S9 and S9+
https://www.samsung.com/us/smartphones/galaxy-s9/ for US site.

Small question: Do people still buy $800 phones, and why? If you care about security, these probably won't receive security upgrades for more than a few years (S3 went from ICS to Kitkat. S4 went from Jelly-Bean to Lollipop, S5 went from KitKat to Marshmallow, S6 went from Lollipop to Nougat, so I don't expect this to make it past Android Q[1] (which should come out in two and a half years)), and unlike older models, custom ROM support is quite bad for modern Samsung models (S6 Lineageos just came out. S8 isn't supported yet).

Wouldn't it make more sense to get a slightly worse quality phone, but upgrade it every two years or so?

[1]. Unless Treble will make it so much easier to port to S9.

greenhouse_gas··on Show HN: Hacker News Classics
Just curious: do you (as in Y combinator) use Arc for anything else or is it a "hobby language" for HN?
greenhouse_gas··on Electron 2.0.0 beta
>Small independent development companies have done applications across multiple platforms by using their native toolkits for decades

Really? How many programs supported Linux before electron?

greenhouse_gas··on Electron 2.0.0 beta
What would be interacting is an electron like environment with a pared down JS/CSS engine which only let "modern JS/CSS" (maybe something like Servo). It can be optimized for that, and you don't really have to render electron apps from the 90s anyways.

Another idea is that when wasm will be able to interface with DOM, you'd be able to write GUI code in any language which compiles to wasm. So you won't _need_ Rust (or Go, or Haskell, or D, or your up and coming toy language) bindings for win32, Qt, GTK, etc. Just waste a few hundred megs (only partially /s) and you've got a full ui.

greenhouse_gas··on Electron 2.0.0 beta
The big problem is that out of the 5 technologies you mentioned,only two are cross-platform, and only one builds an exe (yet).

Oh, and that one is practically designed around a hybrid C++, so if you don't like C++ (last time I tried C++ with mingw on Windows I had a horrible time installing libraries), you're out of choices.

greenhouse_gas··on Maybe you don't need Rust and WASM to speed up your JS
The problem with these tricks is that they're dependant on V8 internals, which means that there's no guarantee that it will be fast on Firefox (or edge, or even Safari).

So now if google changes the back end, websites will slow down, which means that Google has to ossify implementation details, furthering this sort of black magic into CS lore forever.

This, honestly, is what I hate with modern dev. A few days back there was a discussion on how programming is hard nowadays.

Really, programming is more accessible than ever. What is hard is the "black magic" that's becoming more and more prevalent, most of which is implementation defined, that everyone is expected to know (and really, most don't really know anything. They just repeat rumors they read about online, often years out of date).

greenhouse_gas··on SpaceX hits two milestones in plan for low-latency satellite broadband
They'll just turn around, provide better service at lower prices, drive spacex out of the market, and raise them again. They have a lot more money to play with (and their infrastructure is much cheaper to maintain).
greenhouse_gas··on ZFS for Linux
There is (at least on Debian) - enable contrib and use apt.

The problem is that neither your install or recover CD won't have it enabled by default, so if you have a problem, your hard-drive won't mount.

greenhouse_gas··on ZFS for Linux
The problem is that it isn't upstream, so having it as a rootfs is somewhat dangerous - you need a custom initramfs).
greenhouse_gas··on ZFS for Linux
.
greenhouse_gas··on Why the world needs OpenStreetMap (2014)
>Serious question - what can we do to lower these barriers to entry? Friendlier community norms? Documentation / tools? Social stuff (groups, meetups, etc?)

You can't edit while wasting time on the computer. You have to actually go to places you want to add. It makes scaling hard.

greenhouse_gas··on Facebook lost around 2.8M U.S. users under 25 last year
What I don't understand is what is FB thinking?

Look at it this way:

What do I want to see?

Friend's image/text > Group image/text > Pages I like image/text > Friends of Friends image/text > Memes > Ads.

What does FB want me to see?

Ads > Doesn't matter.

So what do they do?

Ads > Memes > Friends of Friends image/video Pages/Group Image/Video > Friends Image/Video ------------------> Text.

Why? What financial incentive do they have to show me Memes over what I want to see?

greenhouse_gas··on The special data device SpaceX’s Falcon Heavy sent to orbit is just the start
> It varies though and can be as far as 100 million km (63 million miles).

It could get worse. Since at that point, the Sun is smack in between the earth and mars, so for a few days you can't get _any_ signal through.

You'd have to bounce it off some third satellite in solar orbit (like a triangle).

See https://space.stackexchange.com/a/18972

greenhouse_gas··on SpaceX’s Falcon Heavy successfully launches
It can be reused, just won't be as it's an outdated model.

They still want it back for data.

greenhouse_gas··on Watch the SpaceX Falcon Heavy Rocket Launch Today
The (counter) corollary to rule #1: They laughed at Columbus, they laughed at Fulton, they laughed at the Wright brothers. But they also laughed at Bozo the Clown.
greenhouse_gas··on Google dedicates engineering team to accelerate development of WordPress
> WP internals being PHP... I think you get the idea. Who's to say after they have established a foothold they won't push to run WP on the v8 engine and write out PHP, a language they're actively hostile to?

The thing is that there would be no point in doing so (which, admittedly, hasn't stopped Google before).

Right now Google needs WordPress. Without WordPress, where is Google going to place ad spots? Facebook? And WordPress has PHP as a massive underestimated advantage - every Tom, Dick and Harry can spend 5 minutes to install WordPress on a $5 a month shared-hosting plan, something no Ruby/Rust/Go/Java/C++/Node/Erlang/Fashionable-Language-Of-The-Week can do.

greenhouse_gas··on SpaceX's hot new monster rocket ready for first test flight
How much "sponsoring" did NASA give SpaceX (and by sponsoring I mean a "here, take cash" rather than a "here, take cash and fly me to X")
greenhouse_gas··on SpaceX's hot new monster rocket ready for first test flight
It's much cheaper (and safer) to throw away a satellite than to develop and fly a shuttle.
greenhouse_gas··on SpaceX's hot new monster rocket ready for first test flight
SpaceX never claimed that it's advancing rocket science.

NASA recovered rockets and landed on the moon years ago.

What they didn't do was lower the cost to orbit.

_That_ is SpaceX's thing

greenhouse_gas··on Google’s Fuchsia OS on the Pixelbook
I know you're a prolific commentator here, so if you don't mind me asking ... Which operating systems have you designed (or worked on) to say that writing a microkernel in C is a symptom that they don't know anything about OS development?
greenhouse_gas··on Google’s Fuchsia OS on the Pixelbook
Just want to point out that not that long ago redox-os (the microkernel OS in Rust) asked people to test it.

People were able to kernel panic it, get privilege escalations, and DDoS it. In short, it had the same same issues a C based kernel would get.

It's true that it's still heavily in development and doesn't offer any guarantees whatsoever, but I think that it should be pointed out that just because your language is good, doesn't mean that your end result will be good (and vice-versa, C based kernels like l4 and C based projects like SQLite have been formally verified (at least SQLite was verified after compilation, so they check for undefined language constructs.))

← PreviousPage 3 of 10Next →