HNHacker News
TopNewBestAskShowJobs

greenhouse_gas

1,066 karma · joined February 28, 2017

submissionscomments
greenhouse_gas··on SpaceX Rocket Survives Experimental High-Thrust Landing at Sea
They're not expanding it for experiments. It's just an old model that costs too much to refurbish, and they've got a new one coming up which will be a lot cheaper and easier to refurbish than the current (which is one model ahead of the just-launched rocket).

And once you're throwing it out, might as well do some experiments.

greenhouse_gas··on Xi: an editor for the next 20 years [video]
Where is the Xi plugin documentation (as in, how to write and install a plugin, what are the APIs).

I found https://github.com/google/xi-editor/blob/master/doc/plugin.m... , but it doesn't have anything technical (or a tutorial).

greenhouse_gas··on The Google Lunar X Prize’s Race to the Moon Is Over. Nobody Won
Sorry if I wasn't clear but I don't have anywhere close to that kind of money to place something anywhere near the moon.

I was just being curious as to who would.

greenhouse_gas··on The Google Lunar X Prize’s Race to the Moon Is Over. Nobody Won
Just curious (not a competitor :), what business model is there in placing micro-sats on the moon?
greenhouse_gas··on 219 days of postmarketOS
>right now there are no blobs running in the userspace. Firmware blobs are needed for Wifi for example.

What about kernel space?

greenhouse_gas··on 219 days of postmarketOS
Pixel isn't that simple to mod.

https://www.reddit.com/r/GooglePixel/comments/7gu5ht/lineage...

greenhouse_gas··on 219 days of postmarketOS
Does postmarketOS use android-based binary blobs, and what does it have over such projects as Google-Free LineageOS (as in, if you don't flash opengapps) or Replicant?
greenhouse_gas··on 219 days of postmarketOS
It's not marketers. It's that it used to be free (baked into the plan) so there used to be no advantage to not get a phone every two years.

Do while the free phone went away (for this in the cell phone market, did plans get any cheaper?) the purchase styles didn't.

greenhouse_gas··on High-end art is one of the most manipulated markets (2013)
>No matter how advanced your taste is, it's a brute fact that the poor don't enjoy ugly art.

It seems more like an "acquired taste" thing that cultured individuals just must enjoy. Like atonal music or rhymeless poetry.

greenhouse_gas··on YouTube is kicking 'tens of thousands' out of its advertising program
Will they altogether stop showing ads in "unapproved" videos or just that the maker won't make money?
greenhouse_gas··on Google Memory Loss
>Search engines didn't exist until the very end of the 90s.

Both Yahoo and AltaVista were started in 95.

greenhouse_gas··on Google Memory Loss
On the other hand, from my experience:

I wanted to see how Raspberry Pi assembly worked - quite a niche subject (who programs? In assembly? On a Raspberry Pi?).

Yet I found quite a few blogs going through the subject - a tutorial of sorts.

I was also looking up how to write an OS (just for fun) - another fairly niche field. Yet I found tons of tutorials in C, C++, and Rust.

I remember trying the same in the 1990s.

Nada.

You couldn't find nothing. I mean maybe you'll find a basic site with the source-dump of an OS (often without building instructions), but you want to dig into the meat (here is how you get from bootloader to x86-64 in 21 days, and why it works)? Foggetaboutit.

I definitely don't want to go back to pre-google web1.0.

greenhouse_gas··on Kotlin: The Problem with null
My issue with Monads (and why I like kotlin and swift nullable types) is that it allows the compiler to infer nullability like the following code:

fun f(a1: Int?, a2: Int?): Int {

  if (a1 == null || a2 == null) {

     return 0

   } 

   //now you can do something like

   return a1+a2
}

In contrast, if it didn't, the code would look like:

fn func1(q: Option<i32>, z: Option<i32>) -> i32 {

    if let Some(q_in) = q {

        if let Some(z_in) = z {

            return q_in + z_in

        }

    }

    return 0
}

Note the deeply nested parenthesis.

greenhouse_gas··on Hacker News equivalent for other fields
While reddit has a quite bad reputation, there are quite a few subbreddits which are heavily moderated and quite serious:

For example, /r/askhistorians requires that all answers be long form and cite peer-reviewed articles (no wiki, first person comments or pop-historians allowed).

Some of the tech subreddits there are much better than StackOverflow - for example, I get better answers on /r/rust than on SO.

greenhouse_gas··on An Experimental Course on Operating Systems
Well, that's a bit not nice.

I took the "Rust is like C" line to mean is that you can use Rust anywhere you can use C, running at C speeds (the whole zero cost abstraction/no runtime/unsafe blocks), someone that can't be said about OCaml/F#/Haskell (TTBOMK).

EDIT

Moreover, if you look at context, you'll see that his point is that when it comes to OS design, a rust based OS will look mostly like a C based OS.

greenhouse_gas··on Huawei’s CEO going off-script to rage at US carriers was the best speech of CES
I haven't seen a "free phone" in a _long_ time (two years or so).

Now it's "pay X dollars a month 24 months".

greenhouse_gas··on Introducing the new SourceForge
Just curious, considering that you seem to work there:

What does sf.net have to offer that github (or gitlab which is the "open source not-github github", or bitbucket) doesn't?

greenhouse_gas··on Introducing the new SourceForge
How did you create a free private repo to begin with?
greenhouse_gas··on “Toward the Year 2018”, a speculative book from 1968
It's because there's a difference between cool and usable.

For example - compare a Virtual Reality 3D city you can scroll around on your computer, visiting different houses, "chatting" with them, then reading what they posted on their public refrigerator door, then maybe reading some books from their shelf, watch a movie together then you "walk" to a library ... To the internet (Facebook + Wikipedia).

What's cooler? Obviously #1.

What's more usable? #2.

If you could go back in time to the 70s, what would you show on a futuristic movie?

#1, since the you want to "wow" your audience, who won't have to deal with such mundane issues as vertigo, or rapid navigability, or searchability.

But it's not that we can't do #1. We not only could do it, but there were many tries (VRML was supposed to be the "next big thing" since the 90's). It's just that our current UI is better.

greenhouse_gas··on Goodbye iPod, and Thanks for All the Tunes
You were able to install Rockbox (an aftermarket ROM for Apple, Sansa, and a few other mp3 players). Was quite good, had better codec support (played OGG files!) and you could write apps [1] for it.

[1]. Don't know if you could call them apps, as they needed to be rebuilt with the OS (don't remember if they were pluggable modules or you literally had to rebuild the OS if you wanted to write an App, but it came out of the box with a few apps and games, and you could write your own in C. Their API was weaker than Android's, but to me more enjoyable.)

greenhouse_gas··on Why did Netflix choose FreeBSD over Linux? (2015)
I can't comment about speed, but I think that his security claims are a bit off.

Now I never looked at Linux code or FreeBSD code (so it really can be that FreeBSD has fewer bugs), but the question is if you will be hit by them.

Application code tends to be the most dangerous code - it tends to not get stringent code review and tends to get less talented engineers relative to kernel engineers. So, in reality, if you use WordPress plugins, Linux security vs FreeBSD security is probably not relevant.

Now let's say you secured your webapp. You wrote it in Rust. Now does it make sense to worry about OS security? Still not necessarily. Really, if you set things up right and apply patches as they come out, the chances of getting hacked are quite slim - is your site worth wasting a zero-day on? And if it is, its likely they'll find a zero-day in FreeBSD (or in nginx, or apache, or ...)

Now comes the million dollar question - where is it easier to apply patches? Linux or FreeBSD? And this is one of Linux's big advantages - RedHat, Ubuntu, and to some degree Debian has a multi-year "stable" track, where you get security, and only security (OK, and non-security bug fixes) upgrades.

Meaning, that its set up that once software is in "stable" (or LTS), its API is locked. If the PHP foundation decides that the future is version 7, I don't have to jump on the bandwagon and rewrite my code. RedHat/CentOS will continue fixing the old release for years.

As a result, you can actually install upgrades unattended (yes, maybe it shouldn't be completely unattended, but you don't have to dread upgrading).

greenhouse_gas··on My journey with Rust in 2017 — The good, the bad, the weird
1. Why are you're learning a language at the same time you're trying to launch an MVP? And a fairly involved language such as rust.

2. You're complaining about windows32 API being slow, but blaming it on .NET ("I don’t know if it was attributed to Windows or the application programmers, but I attributed Windows’ built-in functions with being slow and having shitty PDF output, which is why I refused to use anything related to Win32 or .NET").

Windows API is C (or internally C++).

3. Is display a bottleneck? I never developed GIS applications, but your display is 2D and doesn't have to be real-time. I would assume that the "back end" of the program is doing most of the calculations, and the display just outputs it (not like, say, a 3D game where the rendering engine does a significant chunk of its own work).

greenhouse_gas··on Using Java 9 Modularization to Ship Zero-Dependency Apps
I've never used Maven, only gradle.

The issue with convention over configuration is that you don't see how things should happen, because they're hidden behind the convention.

For example, what are the steps behind your Android build? Can you tell me exactly what steps gradle takes when you run gradlew assembleDebug?

So if for whatever reason you need to modify something, you're completely on your own.

greenhouse_gas··on Using Java 9 Modularization to Ship Zero-Dependency Apps
>I don't know why this happens. I think programmers are so used to imperative (ant/Grunt/etc/etc) programming/building that it becomes confusing for them when they encounter a declarative system.

Because, after all is said and done, programming is about having your computer "do" something - whether it be to write some bytes to the disk or to send some bytes to the network.

It's just that sometimes there's an advantage to use an abstraction - such as say "SELECT * FROM TABLE WHERE ROW_ID =14" is an abstraction over something like "for (int i =0;i<table.size();i++) if(table.row[i].elem[1] == 14) ... ", but often you don't need such a complicated abstraction, you just "need something done" before (or after) building. Whether it be that you want to download an HTML file to package, or to move the resulting file to a certain directory, or to clean a certain directory, your build language shouldn't be that arcane that you have to create a "build.sh" to get things done.

greenhouse_gas··on Clang runs in the browser and compiles C++ to WebAssembly
Or firejail
greenhouse_gas··on The Pixelbook is being used to test Google's Fuchsia OS
>If the general public starts to believe that there is an Android successor in the works, many people will stop buying Android devices until further notice.

The bigger danger is the response by android developers. Will you invest in a soon-to-be-deprecated Android Native app written in a soon-to-be-deprecated API (because, at least according to the Internet rumors, Fuchsia will be using Dart instead of Java and will have a totally different API), rather than just write it in Xamarin, Cordova or React Native?

And once your apps aren't written in Android API, how hard is it to port to, say, Windows Phone?

This damages their moat.

greenhouse_gas··on Are all BSDs created equally? A survey of BSD kernel vulnerabilities [video]
>but it seems very cheap for companies that profit billions of dollars yearly to only donate $25k to projects and foundations that support part of the software backbone of their infrastructure..

That's the free rider problem, one that the GPL (and the AGPL) was designed to avoid.

It's true that many of those companies which use FreeBSD wouldn't touch a GPL codebase (and all the more so an AGPL codebase), but that't the point - while some chose FreeBSD because it's fast/stable (NF and WhatsApp), others chose it because they don't have to contribute back.

greenhouse_gas··on The Pixelbook is being used to test Google's Fuchsia OS
Well, not in i.e Android.

For example, I have an app that has a vulnerability (let's say my alarm app accidentally runs unauthorized code). What can it do? Nothing. It can't read from my banking app, it can't get my SSH keys, it may not even be able to read from my SD card.

But what happens when my Linux kernel is also compromised? Any app can get root.

greenhouse_gas··on Are all BSDs created equally? A survey of BSD kernel vulnerabilities [video]
>DTrace, ZFS, Jails, performant TCP/IP stack and many other things where FreeBSD benefits the users.

Just to point out, that DTrace and ZFS are (were) not BSD features, and were not invented by a Open Source BSD.

It just happened that they were open sourced by a GPL incompatible license (CDDL) which makes it impossible to directly merge it into the mainline Linux kernel.

EDIT

Just also to point out that had ZFS been a BSD licensed tech, it's very likely that ZoL would have been just as good an option as ZFS on FreeBSD.

greenhouse_gas··on Bruce McCandless, First Astronaut to Fly Untethered in Space, Has Died
I guess that the second one could have gone tethered.
← PreviousPage 4 of 10Next →