Better HN
topnewbestaskshowjobs
Log inSign up

deterministic

2,861 karma · joined Feb 27, 2013 (13y ago) · 3,469 submissions

Submissions

comment 4y ago · link · parent

I highly recommend not using lex/yacc. I wrote an SQL parser in a day for a custom DB at work. It’s super easy to write recursive descendent parsers once you know how to do it. So just learn it by starting with something simple. XML, Lisp or JSON for example.

comment 4y ago · link · parent

Almost all media is owned and controlled by corporations. So obviously the media will always be on the side of the employers. No 3 letter agency required for that to happen.

comment 4y ago · link · parent

The article is making a great point without needing to define those terms. And obviously if you have the talent for X then the harder you work at X the more likely you are at being successful doing X. That’s kinda obviously true. The point of the article is that most people refuse to acknowledge that some people are better at abstract thinking than others. And not acknowledging this leads to bad decisions when it comes to how we educate people. It is an obvious true fact that most people refuse to acknowledge. So kudos to the author for stating something that should be obviously true to most people but clearly isn’t.

comment 4y ago · link · parent

What a great read. The author is absolutely right. I always found it amusing that people will readily acknowledge musical/athletic/artistic talent but flat out refuse to acknowledge that some people are more talented at abstract thinking than others. Abstract thinking is highly valued in a capitalistic society. Perhaps that’s why some people refuse to accept that not everybody can do it?

comment 4y ago · link · parent

There will always be somebody complaining about everything. That doesn’t mean that it should be banned. I don’t like loud people in restaurants. I don’t like people drinking in the streets. I don’t like noisy souped up cars. I don’t like people playing loud music in their cars. I don’t like rich assholes. So should we ban all of that? Of course not. We all have to compromise to some degree to make society work. It used to be the case that woman were not allowed to show their ankles in public. I am sure back then you would agree with this because conservative types always disagree with anything that changes status quo. Especially when it comes to woman.

comment 4y ago · link · parent

If you disagree with her looks then simply stop watching. Same for the people who try to stop her from doing what she does just because they don’t like how she looks. There is plenty of stuff out there I don’t like. But that doesn’t mean that it is OK to ban/stop them.

comment 4y ago · link · parent

I admire the strength, conviction, humility and technical skills you are constantly showing. Please keep doing what you are doing. Some people can’t handle a beautiful woman who is smart, skilled, and choose her own way in life. That’s their problem. Not yours. Remember that for every low self-esteem hater out there, there are many others who support what you are doing and disagree with the haters. Years ago woman were not allowed to show their ankles in public. We have come a long way since then. But there will always be a small group of people who can’t handle independent woman who doesn’t conform to their ideas. Just ignore them. They are dinosaurs and will eventually die out.

comment 4y ago · link · parent

That’s interesting. I have never heard of a problem that could be solved in a sub-typed language but not in a Dependently Typed language. I am honestly interested. Perhaps give an example?

comment 4y ago · link · parent

And if you think that being homeless in the US, being beaten up by people eager to steal your few belongings, raped by strangers and ignored by the police, freezing to death during the winter etc. is better than being a king then you are watching too many feel-good rags-to-riches Disney movies.

comment 4y ago · link · parent

You are absolutely right. When I lived in Europe, the US was often used as an example of how bad things can get when you prioritise profits more than people. The US culture is brutal to the less capable/unlucky citizens.

comment 4y ago · link · parent

That’s a great attitude. I have worked with managers that were smart enough to understand this. But they are rare I think.

comment 4y ago · link · parent

Yep. A friend of mine said that he used to work for a company where team A always multiplied their schedules by 3, and team B worked as fast as possible to deliver. The result was that management loved team A because they always delivered on time, and considered team B to be unreliable/not to be trusted/less competent than team B. The reality of course is that the two teams were equally competent. It’s all about how you handle management expectations.

comment 4y ago · link · parent

I would buy it.

comment 4y ago · link · parent

Agree. The cynical optimum solution seems to be to artificially create drama by exaggerating the difficulties, always looking busy, and solving the problem way ahead of schedule but only deliver close to last minute while telling everybody how hard the team worked to save the day. And then convince non-tech management that you need a bigger budget/more people to handle future projects because obviously what you are doing is super hard and we can’t rely on heroic sacrifices forever.

comment 4y ago · link · parent

“Heroes” that are incompetent but still manages to somehow save the day by working all nighters and sacrificing everything to counter their incompetence gets a lot more attention and interest from non-tech managers than competent smart developers that solves the same problem on time with no drama and go home to their families at 5PM. However I still prefer not to be a “Hero” :) My job is not my life.

comment 4y ago · link · parent

Agree. I did a web application where all views were defined in the HTML file, all disabled except for the current view. The app would then switch views by simply enabling/disabling views as needed. It was super fast. And keeping the views up-to-date was easy. The app simply updated all views when the data changed => the visible view and all non-visible views would always be up-to-date without needing any special handling or virtual DOMs. Super simple. Super fast.

comment 4y ago · link · parent

I feel the same. The complexity of the project, and the number of failure points, makes it hard to believe that nothing major has gone wrong so far. I hope the good luck continues!

comment 4y ago · link · parent

> but only in certain specific ways and not others.

Yes of course. All languages have specific syntax and semantics. That doesn’t change the fact that you can encode all of math in it which is a huge deal. It allows you to prove code correct (see CompCert, seL4, CertOS etc.)

And yes you can’t prove anything unless the functions you use are total. That’s a basic requirement for any language where you want to use the type system to prove correct code. Allowing non-total functions would allow you to prove false. And you can prove anything you want from false.

comment 4y ago · link · parent

> pointless abstractions

Of course anything that is "pointless" is indeed pointless. And "great abstractions" are indeed great. What's your point? And what has that got to do with your origial low level list?

> A house where the floorplan is decided before the needs of the tenants are even clear, will likely have to be reshaped later

Yes obviously. And a well thought out floorplan that takes into account the needs of the tenants is great. Again, what's your point? And what does that have to do with your original low level list?

2030.

How the Hidden Rules of Ownership Control Our Lives (2021)(youtube.com ↗)

3 points · by mbrodersen · 4y ago · discuss

comment 4y ago · link · parent

I flat out don't believe you. However you are welcome to enlighten us with some of the details. How long were you homeless? Where? How did you get homeless and how did you escape? Why did you go to jail? For how long? Where? And how amazing was your life doing all of that compared with being a King? A King that has shelter, easy access to food, sex with the most beautiful woman in the country, the power to torture and kill anybody he didn't like, the power to change the laws of the country at will, an army of people doing everything to please them? Please enlighten us all on how being homeless or in jail is better than that?

comment 4y ago · link · parent

However Kings did have shelter, plenty of food, easy access to sex, lots of fun and games, the respect of everybody, the best protection in the land, the power to behead or torture anything they didn't like etc. So lets be fair when we compare the two.

comment 4y ago · link · parent

Most of the issues you are discussing are architectual issus. Architecture is not just how the house looks. An architecture also decides on the floor plan, staircases etc. Also, houses are not a good anology for software. So I caution against drawing any conclusions from your perception on how houses are constructed and the building industry in general.

comment 4y ago · link · parent

I don't think you have any clue on what life is like as a homeless poor person or a person in jail in the US.

comment 4y ago · link · parent

I would prefer to be a medival king. Easy access to having sex with the most beautiful woman in the world, beheading people I don't like, fixing laws I don't agree with, having people willing to do anything to please me etc. Lots of perks!

comment 4y ago · link · parent

How about the millions of people who are just above the poverty line but can't afford private health/dental?

comment 4y ago · link · parent

Only the minimum legally required (for them to not immediately die). After which they are shown the door.

comment 4y ago · link · parent

Agree. The idea that having a job is the goal itself is crazy. A job is a tool that hopefully will help you achieve your real goals. Whatever they are.

comment 4y ago · link · parent

Really? Why don’t you ask homeless people with no access to shelter, health care or dental care if they feel like Kings/Queens?
1
676869
116