HNHacker News
TopNewBestAskShowJobs

Proleps

281 karma · joined November 6, 2009

submissionscomments
Proleps··on Firefox Tweaks – An attempt to make Firefox suck less
Don't know if it is still true. DNS lookup didn't work correctly when ipv6 was enabled.
Proleps··on PEP 492 – Coroutines with async and await syntax
Code for older Java versions still compiles in Java 8. Code written for python 2.x will not run on python 3.x.
Proleps··on Ask HN: How to enjoy traveling?
Maybe you just don't like traveling. There are lots of stories about traveling digital nomads on HN. That type of life never sounded interesting to me. Maybe you just don't like it either.
Proleps··on Ask HN: How many of you wish to quit a job to build a startup?
I've thought about starting my own company, but I don't want to start a startup. I want to start a company without investors that actually makes money from the beginning.

Although it is something I think about from time to time, I am sticking to the job I have for a while. I learn a lot on the job and it's a nice place to work.

Proleps··on Java 8: No more loops
> Also, your first class isn't fully immutable—getTags should be implemented as follows:

True. It would be nice if Java had some immutable collection classes that don't have mutable methods. A method that gets a List<String> made with Collections.unmodifiableList(tags), doesn't know that it is actually immutable.

Proleps··on Java 8: No more loops
> If you ever want to change the implementation of Article, you'd break anyone that was using that part of your API. If you use getters, you can change your implementation without breaking the consumers of your API.

Then it wouldn't be immutable, if I can change the implementation I can also create a mutable version.

Edit example

  public class Article {
      private final String title;
      private final String author;
      private final List<String> tags;

      private Article(String title, String author, List<String> tags) {
          this.title = title;
          this.author = author;
          this.tags = tags;
      }

      public String getTitle() {
          return title;
      }

      public String getAuthor() {
          return author;
      }

      public List<String> getTags() {
          return tags;
      }
  }

  public class MutableArticle extends Article {
      private String title;
      private String author;
      private List<String> tags;

      public MutableArticle() {
          super(null, null, null);
      }

      public String getTitle() {
          return title;
      }

      public void setTitle(String title) {
          this.title = title;
      }

      public String getAuthor() {
          return author;
      }

      public void setAuthor(String author) {
          this.author = author;
      }

      public List<String> getTags() {
          return tags;
      }

      public void setTags(List<String> tags) {
          this.tags = tags;
      }

  }
Proleps··on Java 8: No more loops
why not use:

  public final class Article{
    public final String title;
    public final String author;
    public final List<String> tags;
    public Article(String title, String author, List<String> tags) {
      this.title = title;
      this.author = author;
      this.tags = tags;
    }
  }
Getters don't seem very useful on an immutable object.
Proleps··on Why Your Cat Thinks You’re a Huge, Unpredictable Ape
Punishment also works on cats. You just have to be very consistent when applying it (this is exactly the same for dogs). If you punish your cat(or dog) you have to do it immediately. If the cat is done scratching its nails, and you squirt water, you are too late.

[Edit] Changed negative reinforcement to punishment, rbehrends was correct when he pointed out that negative reinforcement is something different.

Proleps··on Ask HN: What should I learn to stay relevant in the next 5 – 10 years?
You should also learn a server side programming language with good performance(Java, C#, Go). I think Java is the best because it is mature, multi platform and you can also use it for Android programming.
Proleps··on How in-app purchases have destroyed the game industry
Most open source/free software(free as in liberty) is free as in beer. It gets payed for by donations and/or big sponsors. It has no hidden costs. Not everything is available as open source/free software, but it is enough have a usable computer and even some games.
Proleps··on The way government does tech is outdated and risky
Because it doesn't exist yet.
Proleps··on The Real Reason The Poor Go Without Bank Accounts
That such a thing is possible. If I try to get below my limit in the Netherlands I am simply not able to. The only services who can go below my limit are my rent and gas/water/electricity bills. And then I just pay a high interest rate. Which doesn't really matter if you deposit money the next day.
Proleps··on How a Relationship Dies on Facebook
Nineteen per cent of teens have posted updates, photos, or other content that they later regret sharing, and seventy-four per cent have deleted people from their network.

I don't really know what these numbers are supposed to show. I've shared content that I've later regretted sharing, but it wasn't a lot of regret. If someone had asked me that question in a survey I would have probably answered yes, but it wouldn't really mean anything.

I've also deleted people from my network, but that was because I didn't really care about them. I can't really find any important information in these numbers

Proleps··on The STEM Crisis is a Myth
In the Netherlands we have enough unemployment money that one isn't forced to take some ridiculous "just be employed" job. But the longer you are unemployed, the harder it will be to find a new job. A hole in your resume doesn't look god
Proleps··on HTML5 Piano
Java applets where released in 1995, flash was released in 1996.
Proleps··on Ask HN: SSH is still safe, after NSA?
> Is there something better?

Not using the internet is better :P

Proleps··on GitHub was experiencing a DDoS
> I don't know WHY they do this, but last time it happened we got an abuse report saying that we were reported for port scanning from our main firewall / proxy box. Somehow they had reflected traffic off our firewall / proxy to make it try to connect to a bunch of IPs on a known trojan port.

How did you solve it?

Proleps··on GitHub was experiencing a DDoS
Why would someone DDoS GitHub? Is there some movement against GitHub? Or is it just for fun?
Proleps··on Edward Snowden's not the story. The fate of the internet is
We are not the only ones being watched, politicians are being watched as well. This means the NSA can probably blackmail a large portion of the politicians.
Proleps··on David Cameron cracks down on online pornography
There would be a list of people who want to be able to watch porn (which could be used for black mail). It would also require a lot of infrastructure to be set up for this kind of censorship. That infrastructure could easily be used to start blocking other content.

Besides if you want to opt-out of porn you can already install filters on your computer or your router if you want to.

Proleps··on The anti-virus age is over
Windows is full of exploits that are enabled by default. Plugging a usb stick into your computer could automatically install a virus. Or a bug in flash or java could expose your computer.
Proleps··on NetBeans 7.4 – New and Noteworthy
It's not you. I've always been an Eclipse guy. Netbeans was to heavy on my machine back in the day. I've only stuck with it because I am very familiar with it. I'm going to switch to Netbeans on my next project because I feel I've been missing out on a lot.
Proleps··on The Drone that Killed my Grandson
I think it does matter. In the Netherlands you are able to vote right wing without the religion, or even vote on a religious left wing party. There are party differences between how we should handle a lot of different issues. It is easier to find a party you agree with.

Party sizes vary greatly after elections which means politicians feel the consequences of their actions. It is not perfect of course, but it is better.

The weird thing is that it is possible to have multiple parties in the US, but they never get enough votes. This makes it seem like their has to be a lot of corruption.

Proleps··on The Drone that Killed my Grandson
I always find this a bit weird, you only get to choose between two parties. The difference with China doesn't seem that big, they only get to vote on one party less.
Proleps··on Lifehacks from 100 Years Ago
This is not about dogs on the street, it is about the police entering someones home and shooting the dog. In a lot of those cases the police was there without any good reason.
Proleps··on Show HN: HTML5 Bitcoin Poker website
Untraceable money and gambling, you're going to be rich!
Proleps··on I understood gender discrimination once I added “Mr.” to my resume
> Wherever you work, whatever you do, you have to trust the people you work with for that relationship to be ongoing and productive (i.e. staying out of court)

Americans seem to like having things escalate. Going to court is the first reaction to everything in stead of asking someone to apologize or talking things out. The incentive for going to court also seems to be very high, you can get large sums of money for small things. Money is the biggest reason people work in the first place.

Proleps··on Ask HN: Should Richard Dawkins Open Source his software?
of course :). This seems to be the book to which the code belongs http://www.amazon.com/Climbing-Mount-Improbable-Richard-Dawk...
Proleps··on Ask HN: Why do you hate SQL?
I would really like SQL to be database independent.
Proleps··on Ask HN: Can we trust our CPUs?
You can always use a second device with different hardware to monitor your own network traffic. If you don't fully trust that hardware use yet another device with different hardware behind it :P
Page 1 of 4Next →