HNHacker News
TopNewBestAskShowJobs

greydius

1,002 karma · joined July 1, 2015

submissionscomments
greydius··on Super-hard metal 'four times tougher than titanium'
That's cool! I don't know much about chemistry or metallurgy. I can see a connection from making gold for real to alchemy to chemistry. So perhaps gold is partially responsible for creating science? If for no other reason than its a really good motivator.
greydius··on Super-hard metal 'four times tougher than titanium'
It was meant to be tongue-in-cheek. Gold has some nice useful properties, but it seems the properties that have mattered most to people throughout the millenia are 1) it has a pleasing color, and 2) it's hard to come by.
greydius··on Functional Programming Jargon
I took a (mandatory for cs) class in college that introduced these concepts. For a long time I thought that was a normal part of cs curriculums, but it seems not.

Also, its very strange to see these concepts illustrated with Javascript. I imagine thats something like trying to learn Chinese using the roman alphabet. Not that it can't be done, but a lot of important details are necessarily missing.

greydius··on Super-hard metal 'four times tougher than titanium'
Finally, someone has found a good use for gold other than ridiculously overpriced a/v cables.
greydius··on Is duckduckgo.com partially enforcing the “celebrity threesome injunction”?
So you are saying that governments are doing their citizens a service by filtering the internet for them? That's an interesting viewpoint, but not an easy sell to a delusional Westerner. We don't let our governments tell us how to think. That's the job of advertising.
greydius··on Ask HN: Best daily practices u've come across to design-code faster and better
Spend 99% of the time thinking, 1% of the time typing.
greydius··on Obama Just Became the First Sitting President to Publish a Scientific Paper
First, it's not a scientific paper. Second, it's highly unlikely that he wrote the entire thing himself.
greydius··on Ask HN: Best place to learn GPU programing?
Free udacity course: https://www.udacity.com/course/intro-to-parallel-programming...
greydius··on Ask HN: Examples of reliable software you enjoy using
TexMaker. Does its thing very well.
greydius··on Happy Tau Day
"Because that's the way we've always done is" is never a valid argument.
greydius··on What ORMs have taught me: just learn SQL (2014)
In my limited experience with the enterprise world, the problem with using stored procedures was that the devs had no control over the database. We could have come up with some nicer solutions to certain problems, but no one wanted to deal with the bureaucracy necessary to create and maintain parts of our applications within the database.
greydius··on Khinchin's Constant
Along the same lines, imaginary numbers are no more or less imaginary than real numbers.
greydius··on The problem with reinforced concrete
That's an apples to oranges comparison, though. Mud bricks are a good building material, and so are a lot of other things (e.g. wood, bamboo, paper), when the structure only has to support itself and a roof. But concrete enables structures that cannot (or should not) be built with those materials.
greydius··on The problem with reinforced concrete
The only salient point this article mentions (but only briefly) is that concrete production generates a huge amount of CO2. Everything else is hogwash. In terms of strength, versatility, and cost, steel-reinforced concrete has proven to be the greatest building material humans have ever devised. It is by no means perfect, but nothing is. Concrete needs to be maintained just like anything else. With neglect it decays.
greydius··on I have found a new way to watch TV, and it changes everything
A better option would be to not watch TV and do something productive with that time instead.
greydius··on Ask HN: How do you install developer tools on a fresh system?

    sudo apt-get install emacs
greydius··on Advanced programming languages (2009)
> Imagine English itself was a programming language

That's a terrible idea.

https://en.wikipedia.org/wiki/Buffalo_buffalo_Buffalo_buffal...

greydius··on Europe had human zoos in 1958
Society is a human zoo.
greydius··on The Story of Haskell at IMVU
I see your point. Learning how to reason effectively in higher and higher levels of abstraction can be daunting; however, it can pay off very well. Ask a mathematician about the set of interesting problems that can be visualized and they will tell you it has measure zero.
greydius··on Why are there so few useful programs written in Haskell?
This question seems to be loaded with the implication that haskell isn't useful because there aren't many applications written with it.

I don't think this is a fair judgememt. For example, how many apps are written in Cobol? I can't think of a single one, but Cobol code is running much of the world.

greydius··on The Story of Haskell at IMVU
> There are some times where imperative thinking seems more natural

This is certainly true. But there are also times when there is nothing natural about it at all. Consider this scenario:

I give you a cup of coffee. You set it on your desk to cool. Then when you go to take a sip, the cup is empty! You see, I gave you the same cup I was drinking from.

greydius··on Programmer automates his job, gets fired after 6 years
It absolutely would have been if he'd demonstrated what he'd done right at the beginning and went to work on something else. But to sit around collecting a paycheck for years is inexcusable. It doesn't matter how brilliant someone is.
greydius··on Being sued, in East Texas, for using the Google Play Store [video]
The next time I'm forced to write C code...

#define whenceforth for

greydius··on Alienation Is Killing Americans and Japanese
These companies became household names during a period of incredible economic growth in Japan (60s - 80's). But economic growth at that level is not sustainable (as China is finding out), and the country went into a recession in the 90's. Japan is still one of the wealthiest and most productive nations in the world, but the borrowing to fuel its growth has caught up, and it now has one of the largest debt-to-gdp ratios.
greydius··on Ask HN: Relationship between OO and functional programming?
> Java 8 lambda expressions are merely syntactic sugar for creating an equivalent AIC instance

I think that's a decent way to explain java's lambda expressions to developers without fp experience, but it's not technically correct. Lambda expressions are compiled into static methods in the class file.

/pedantic

greydius··on Null References: The Billion Dollar Mistake – Tony Hoare (2009) [video]
In practice, it's not the same thing.

Here's a Java example where I want the type system to enforce that a method in `ClassB` can only be called from `ClassA`. However, the fact that `null` circumvents the type system makes this pattern just wishful thinking.

    class ClassA {
        private static final Witness witness = new Witness();

        final static class Witness {
            private Witness() {}
        }

        void callClassBMethod(ClassB classB) {
            classB.onlyClassACanCallThisMethod(witness);
        }
    }

    class ClassB {
        void onlyClassACanCallThisMethod(ClassA.Witness witness) {
            // ...
        }
    }
greydius··on [dead]
Visual studio magazine? Yeah, I'm sure this will be a completely unbiased article. Sort of like how Nintendo Power is (was? does that magazine still exist? Fuck I feel old) completely unbiased.
greydius··on JVM JIT optimization techniques
> I don't know anyone who would say the majority of Java applications aren't huge, slow, memory-hogging beasts

This is really a matter of perspective. A typical enterprise application is running on a beafy multicore processor and spending most of its threads' cycles waiting for database IO. Also, it's not really a concern if your jar file is 100 MB when your machine has 256 GB of ram. From this perspective, the fact that an application can be quickly slapped together from the multitude of Java libraries and frameworks by a stackoverflow savvy junior developer far far outweighs the marginal performance benefits that could be gained from using a language that compiles to native code.

The fact is that Hotspot has made the jvm perform "good enough" for this kind of domain. And keep in mind that many enterprise developers (at least in my experience) have never used a language besides Java, so this level of performance is normal to them.

greydius··on Ask HN: What do you strive for when you are programming?
My highest priority is writing code that is maintainable, so I strive for modularity, appropriate abstractions, and comprehensive tests.
greydius··on SpaceX's Falcon 9 first stage has landed (again)
I'm reminded of my early 20s when I played Everquest hardcore. My guild was one of the top among all servers. As soon as a new expansion came out we would quickly get to the endgame content and then spend weeks wiping over and over until we finally beat it all. Then we'd beat it again. And again. After a few times no one cared anymore and we went back to "farm-mode" until the next expansion was released. I guess the "next expansion" for SpaceX would be Mars.
← PreviousPage 7 of 10Next →