Better HN
topnewbestaskshowjobs
Log inSign up

java-man

1,596 karma · joined Feb 17, 2014 (12y ago) · 1,672 submissions

1314F8B8382A325318F60A61644FF24E
Submissions

comment 6y ago · link · parent

This is all good, until someone in Product changes the requirements. Now instead of 3 and 5 they need 7 and 11.

All these clever tricks will require a complete re-write and re-test. And since the company decided to pick theit employees based on how they answer these tricky interview questions, the code base is full of opaque idiosyncrasies with unexpected dependencies. Four sprints later, the code is put into production and some other part breaks, causing the company millions.

comment 6y ago · link · parent

I use sync.com Canadian, so five eyes. Not end to end encypted, so probably the same level of security as Dropbox or iCloud.

comment 6y ago · link · parent

Hardware ESC button. A major improvement!

Still, I would rather prefer a row of standard functional keys. You want a touch bar? Place it over the F keys, there is plenty of space on 16" model.

Page Up/Page Down and Home/End would have been also nice.

comment 6y ago · link · parent

one could build logic gates with ropes (and elephants).

[0] https://www.jstor.org/stable/24989059?seq=1

[1] https://www.i-programmer.info/news/112-theory/7370-pulleys-a...

comment 6y ago · link · parent

If you suddenly went back in time, you would be floating in vaccum of space millions of miles away from Earth, so the answer is probably no.

comment 6y ago · link · parent

very clever!

comment 6y ago · link · parent

You can tell it's broken when the Collections framework and JavaFX (a part of JDK before Java 11) could not use the capture conversion themselves.

The only solution seems to be to drop the type system in the places where it can't be used.

comment 6y ago · link · parent

surely, you meant WWII?

comment 6y ago · link · parent

something similar to [0]. a little example of breaking work into small pieces (without schedule estimates) is here [1].

0. https://www.joelonsoftware.com/2007/10/26/evidence-based-sch...

1. https://github.com/andy-goryachev/PasswordSafe/blob/master/F...

comment 6y ago · link · parent

"Story Points are a subjective measure decided and agreed upon by an individual software development team or organization."

ha ha. garbage in, garbage out:

The first question I ask a new team: what is the unit of measure for a story point? The first answer is usually "it does not matter".

Then, after much explaining, they would give something like one man-hour, or half a day for one developer, or some such. Amazingly, even within the single team, there often no agreement on how the story points are measured.

And if you don't use objective units of measure, then the metric is useless.

comment 6y ago · link · parent

There is a certain school of thought that postulates that consciousness is what it feels to have a neocortex. In evolutionary terms, this is a novel experience relative to a much earlier and simpler control circuit (i.e. amygdala).

My bet is the first AI that will achieve consciousness will not have emotions coded in. It may understand human emotions on a descriptive level, but the emotions per se are not required for a functioning AI.

Think of a very calm mentor that can see you failing and correcting you before you make a mistake.

comment 6y ago · link · parent

I would say emotions are generated by different neural circuits. An AI may not have emotions coded, specifically beyond the point "this is good because it matches my prediction" and "this is surprising because it is not what I expect".

An AI may not specifically need fear, aggression, love, hunger, or whatever low level control mechanisms animals have evolved prior to neocortex.

This is just my opinion, of course.

comment 6y ago · link · parent

TL;DR: at a distance of 1000 light years.

comment 6y ago · link · parent

this is about his baby:

https://www.cnn.com/2020/05/05/us/elon-musk-grimes-baby-boy-...

comment 6y ago · link · parent

excellent work!

comment 6y ago · link · parent

Toute nation a le gouvernement qu'elle mérite.

(Every nation gets the government it deserves.)

https://en.wikiquote.org/wiki/Joseph_de_Maistre

comment 6y ago · link · parent

Highlights the importance of standardization. There is no standard for web, just a bunch of competing vendors each having their own idiosyncratic version.

comment 6y ago · link · parent

"In On Bullshit, the philosopher Frankfurt (2005) defines bullshit as something that is designed to impress but that was constructed absent direct concern for the truth. This distinguishes bullshit from lying, which entails a deliberate manipulation and subversion of truth (as understood by the liar)."

comment 6y ago · link · parent

Bag of words does not work.

comment 6y ago · link · parent

This looks rather interesting. Could someone working in this field comment on this theory?

comment 6y ago · link · parent

A very interesting opinion.

tl;dr:

"I’m not saying the FEMA/CDC plan is bad. I simply don’t know their plan. But if I had to bet I’d say the plan isn’t very good. And the reason it isn’t very good is because — just like the old CD evacuation plan — it is starting with a fundamentally bad idea, which in this case is “how do we get the economy up and running by June 1 while killing the least people?”

comment 6y ago · link · parent

yelp has more than 2k employees?

what do they do?

comment 6y ago · link · parent

And probably as relevant. I think it will have a great effect on the tech scene as well.

comment 6y ago · link · parent

why is this submission [flagged]?

comment 6y ago · link · parent

As if all other problems facing the nation have been solved.

comment 6y ago · link · parent

You are right, but the "culture" has to be backed up with tools and processes. We can't rely on oral folklore to communicate the requirement and business decisions. People leave the company all the time, assumptions and requirements change.

We need a git repo for requirements and business decisions, with pull requests and approvals, integrated with the main code repo.

comment 6y ago · link · parent

Speaking of the version control. You are right: VC is indispensable tool when looking at an old (hm "mature") code base, assuming the said code base has not been converted from CVS or SVN, with commit comments like "merged from branch XX".

I still think the value and importance of recording every last feature/functionality is underestimated in the industry. Granted, the tools to support this idea are largely missing - the requirement tracking must be integrated into VC and the workflow, it should have powerful search and pattern matching (this change was due to REQ#, also relevant REQ#, REQ#, REQ#...)

Imagine you have a controlled and non-intrusive way to document all the features. What value does it add?

1. Testing. A feature set automatically generates the skeleton of a test plan. Test cases that are missing from the feature list get added to said feature list.

2. Onboarding. The feature list is a great place to study for a new team member.

3. Development. Given the pattern matching, the feature list might suggest related areas where a change might have unexpected impact - in addition to the usual code inspection tools, of course. The code answers the question of how, the requirements answer the question of why.

4. Maintnance. The requirements change. Assumptions and design decisions change with time. If you don't have a record of those, you have no idea why this code does what it does.

P.S. and I fully agree with what you said for other points.

comment 6y ago · link · parent

Those are thumbnails. I'd like to see full size screenshots, please.
1
293031
56