Better HN
topnewbestaskshowjobs
Log inSign up

deterministic

2,860 karma · joined Feb 27, 2013 (13y ago) · 3,465 submissions

Submissions

comment 5y ago · link · parent

Not necessarily. Bad managers will simply pile work on top of you until you drown. You need to learn the subtle art of saying no and/or delaying things without seeming to.

comment 5y ago · link · parent

Ask them for more written (email) details before you give an estimate. When you think you have enough details then tell them that you will do a one week sprint and get back to them with an estimate. When you get back to them give them choices of work completed/compromises vs. delivery dates. Confirm in writing/email what you agreed to.

comment 5y ago · link · parent

Yeah that sounds pretty bad. If I was you I would refuse to take on more work until you can handle what your current task load is. And always multiply how long you think it will take by 3. Saying yes to more work when you are drowning is bad for you and everybody else.

comment 5y ago · link · parent

A friend of mine is working with a customer that use Solaris in production.

comment 5y ago · link · parent

You can even parse a definition of a parser and then continue parsing the rest of the code using that parser. Not something I have needed in production but it shows the power of non-lexing parsers.

comment 5y ago · link · parent

Scanner less parsers are strictly more powerful than parsers using fixed lexers. You can literally change the language you are parsing based on what you have parsed so far. I have code running in production doing exactly that.

comment 5y ago · link · parent

What a simple minded world view. Do you also believe that “all Americans are …” and “all non-whites are …”?

comment 5y ago · link · parent

I am not a fan of the Socratic dialogue style of writing. The signal to noise ratio is low.

comment 5y ago · link · parent

Run don’t walk away from ANTLR. Unless you are an intellectual masochist. I maintain a high performance Haskell like compiler for a living. Somebody added ANTLR to another tool I am now maintaining as well. It’s a maintenance nightmare.

comment 5y ago · link · parent

Actually don’t. Knowing how to write parsers without a lexer (scanner less parsers) is the true superpower.

comment 5y ago · link · parent

Somebody unfortunately chose to use ANTLR on a project I am now maintaining. ANTLR is really really bad. Run don’t walk away.

comment 5y ago · link · parent

Yep that’s the way to do it. Teaching LL/LR and it’s variations is a complete waste of time.

comment 5y ago · link · parent

Not true in practice. C++ is one of the hardest practical languages to parse. And it can be parsed using a recursive descent scanner less parser.

comment 5y ago · link · parent

I don’t respect people who can’t get their work done during regular hours. If you are not smart enough to focus on what is most important, and ignore the rest, then you are not as smart as you think.

comment 5y ago · link · parent

Clearly your company is high on the BS scale. I recommend always having your CV updated and look for other opportunities.

comment 5y ago · link · parent

So your real goal is not to become rich but to become secure. Being rich doesn’t make you secure. You still have to worry about loosing your wealth, people trying to take advantage of you, raising your kids to be mentally happy/stable without just living off your wealth, not knowing if people are truly your friends etc. etc.

comment 5y ago · link · parent

You are not weird at all. I feel the same. Being rich is not a goal in itself. It is just a tool that you might use to solve your real goal. However if you don’t think deeply enough to realise what your real goal is then you might not realise that most goals can be achieved without becoming rich.

comment 5y ago · link · parent

Why do you want to become rich? Honest question. What problems are you trying to solve by becoming rich? And are there other ways to solve those problems?

comment 5y ago · link · parent

Refinement Types is the answer. See Liquid Haskell, F*, Dafny etc.

comment 5y ago · link · parent

Monads allow you to compose functions with incompatible in/out types. That’s all it is. And (as a nice bonus) add extra code in-between the two functions you are joining. It opens up a huge number of cool things you can do.

comment 5y ago · link · parent

Lisp is not a pure functional language. So it won’t teach you FP in its pure form. I already knew how to program in Lisp/Scheme/Clojure before learning Haskell. But wow what a difference it was.

comment 5y ago · link · parent

35 years of OO experience here. Maintaining very large C++ code bases. I never have OO entanglement problems due to inheritance based solutions. Why? Because I only use inheritance for interfaces. Nothing else.

comment 5y ago · link · parent

I mostly agree. However you could use the same argument to dismiss any programming language the moment any team is failing using the language. No programming language has a zero fail track record. Because success depends on context and team much more than programming language.

comment 5y ago · link · parent

Agree. I can program in pure languages like Haskell, Idris etc. but still prefer to program ‘in anger” in OO languages. Having easy access to mutable state is just so damn convenient. As long as you are careful how you do it. Mutable state is a very sharp tool so be careful when you use it.

comment 5y ago · link · parent

Same. However I went too far. A philosophy teacher left the class room, and refused to continue teaching my class, after I politely started arguing against her reasoning and showing counter examples. They had to find another teacher to take over the class.

comment 5y ago · link · parent

Completely agree. People almost always underestimate the true cost of adding new frameworks/libraries/configuration files to a project. And they almost never remove things that turned out to be unnecessary. And then they don’t understand why it is so hard for them to maintain the software, looking around for something else they can add to “solve the problem”. Face palm moments galore.

comment 5y ago · link · parent

I have had success teaching programming to beginners by simply letting them program simple text based adventure games. I show them the minimum to get started (print, read, if) and they run with it, creating their own little adventure games. Then they start asking question about “how do I keep track of health?” and I introduce variables etc. But only when they have identified a gap in their knowledge, and have an interest in filling that gap. I had a class room full of kids excitedly programming away even after the class was done. And the quicker students started teaching other kids. It was a wonderfull experience.

comment 5y ago · link · parent

I prefer JSON to YAML. There are no objective way to measure whether one is better than the other.

comment 5y ago · link · parent

Here we go. The never ending story of inventing new syntax to configure software. Because that somehow brings value to what you are trying to accomplish with the software? Really? But why stop there? Why not invent a whole new programming languages to make writing your “To Do” single user web application easier? That makes as much sense to me as spending time thinking about your configuration file syntax.

comment 5y ago · link · parent

It’s funny how Lisp proponents have been promoting Lisp for 60+ years and are still completely fail to get developer mindshare. While “inferior” languages like C/C++/Java/… are successfully used by millions of developers to create the software that runs the world. And it is especially funny when a number of Lisp proponents keep going on about how much smarter they are than the rest of the world. While failing to use their smarts to achieve any successful outcomes. Perhaps those Lisp proponents should use their “superior” intelligent more productively? Maybe by questioning their deep held assumptions about the superiority of Lisp vs. languages that are actually successful in the real world? Now that would be real progress.
1
899091
116