HN user

Proleps

281 karma
Posts3
Comments95
View on HN

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.

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.

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.

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;
      }

  }

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.

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.

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.

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.

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

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

HTML5 Piano 13 years ago

Java applets where released in 1995, flash was released in 1996.

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?

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.

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.

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.

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.

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.

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.

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.

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