Better HN
topnewbestaskshowjobs
Log inSign up

andersource

1,192 karma · joined Jul 24, 2019 (7y ago) · 266 submissions

https://andersource.dev/

hi@andersource.dev

Have a nonstandard optimization problem? Could use an interactive visualization to explore complex data? I'd love to hear about it!

Submissions

241.

Generating an Organic Grid (2020)(andersource.dev ↗)

2 points · by andersource · 6y ago · discuss

comment 6y ago · link · parent

Model explainability is a very active area of research. For the example of an individual neural network prediction you could use SHAP values[0].

Explainability is far from a solved problem but there are certainly tools available to provide at least some transparency. I guess the website could provide references but that doesn't really seem to be the resolution being aimed for.

[0] https://www.kaggle.com/dansbecker/shap-values.

243.

Water Jugs and BFS(andersource.dev ↗)

2 points · by andersource · 6y ago · discuss

244.

Procedural Butterfly(andersource.dev ↗)

1 points · by andersource · 6y ago · discuss

comment 6y ago · link · parent

That makes a lot of sense. And I wholeheartedly agree that (in my experience) many long-term software projects suffer from neglected technical debt, resulting in poorer quality and longer development time (and a lot stress of everyone involved).

comment 6y ago · link · parent

May I ask why the distinction is so important? If I properly understood your article you are advocating for diligently paying off technical debt. In isolation this is desirable of course, but in practice we have to choose trade-offs with other objectives. As the grandparent wrote, the things people who call themselves "software engineers" actually _do_ are incredibly diverse, both in domain and scope (compare a 3-week POC by two people to a 2-year project by a team of 5). Different situations call for different trade-offs and the actual value you add as an experienced developer is knowing how to balance the various aspects, one of which is technical debt.

comment 6y ago · link · parent

I would go even further and say that if the result is good enough for the requirements, it's not half-arsing, even if the result could be made better with more time and effort. In other words an outcome will be judged based on expectations and consequences, and not compared to "the best it could be" (unless someone expects it to be the best it could be).

This highlights the importance of naming and terminology: if I say I will "prepare a report" people will expect one thing versus "throw together a few visualizations". Of course if it's the CEO it's inappropriate to just throw together a few visualizations. This shifts the issue from execution to alignment of expectations, which for me has the benefit of not feeling I'm doing a half-arsed job.

248.

Using a mobile device as a rotation controller (2019)(andersource.dev ↗)

3 points · by andersource · 6y ago · discuss

comment 6y ago · link · parent

This seems to me like a noisy proxy to simply not doing unimportant things, relying on hindsight instead of judgement to identify them. I guess the technique could work but I prefer actively trying to identify things that might look important but really aren't. In addition I'm not too fond of "communicating" by lack of communication or intentional delays - if I think someone can figure out something on their own I might say "Listen, I'm short on time right now, but I think it's not too hard - try searching for XYZ". Similarly for other issues mentioned in the article such as employee initiative. Again, this technique might work here, but I feel that there must be a better way to encourage initiative than ghosting them.

comment 6y ago · link · parent

My guess is that OP intended to submit the response, I was really surprised to see the note in the article and found the response interesting (even the fact of its existence). But that's just my take :)

comment 6y ago · link · parent

The link is not to the paper itself but to a response to the paper, this might be (is probably?) intentional but the title is a bit confusing.

Essentially the response, submitted by several ML / CS / math researchers, addresses a note in the paper which recommends against train/test split in model training, calling it "inefficient". The response is dedicated to explaining what generalization error is and why estimating it is important, and how that's basically impossible without any sort of train/test split or cross-validation.

comment 6y ago · link · parent

I've tried it (not OP), and as someone who loves meat (not fanatic though), if I'd been told it's a regular burger there's a decent chance I wouldn't have suspected. Don't remember if the nutritional content is similar to meat but taste-wise, for me, it's definitely a viable alternative.

comment 6y ago · link · parent

The comic is actually referred to in the "about" section (question mark)

comment 6y ago · link · parent

Thank you very much!

comment 6y ago · link · parent

Thank you! I would guess that certain transformations can be efficiently exploited by certain framings, but I have no intuition as to whether some transformations are dominant regardless of the framing. That's a very interesting question!

256.

Exploring how different framings of the same learning task affect performance(andersource.dev ↗)

32 points · by andersource · 6y ago · 4 comments

comment 6y ago · link · parent

I would say there's a whole spectrum: understanding a proof ("recognizing") is on one end. Rewriting a proof from scratch lies along the spectrum but it's not the other end in my opinion. Can you prove a variation? Could you come up with the proof on your own in the first place?

comment 6y ago · link · parent

Personally the way I examine dissatisfaction with a project is by comparing my (mostly subconscious) expectations with reality, then asking why the major gaps exist. These gaps could sometimes be equivalent to the values mentioned in the article (e.g. I was expecting to learn this cool new technology but we're using the same old thing), but many other things could bubble up. E.g. expectation to spend all day developing new features vs. reality of hunting down bugs, expectation of everyone agreeing with my opinions vs. reality of some disagreements, etc. Many times it's surprisingly easy to match my expectations with reality once the gap is explicit. I've found that the feeling of disillusionment described is usually the result of my subconscious finding it progressively harder to ignore the gap between expectations and reality.

comment 6y ago · link · parent

Very interesting, thanks!

comment 6y ago · link · parent

Not based on any sources, but I believe that these results say more about our subjective experience of decisions (specifically in situations of action vs. inaction) rather than the actual likelihood of outcomes. In other words, I'm not convinced that statistically in a situation of action / inaction an action is always more likely to lead to a more favourable outcome, but it is more likely to be later considered in a more positive light. Some of the reasons for that would be:

* Empowered sense of agency

* Taking action requires resources which would be "wasted" if the action is later considered the wrong choice, which potentially creates rationalization to avoid that (the sunk cost fallacy)

* When you take an action to change a status quo you've probably prepared for the expected negative aspects of the change, diminishing their effect

* When you stay inactive the potential to act is always there nagging

In purely personal decisions the subjective experience might actually be more important than the real outcome (barring extreme circumstances), so taking an action might indeed be the right choice regardless. However, I do believe that these effects are also present in decisions that affect others (organizations, families etc.), in which the outcome is more important, and also affected others don't share the decision-maker's perspective and may subjectively experience the decision completely differently as a result.

comment 6y ago · link · parent

Definitely not a comprehensive treatment, but I wrote about some specific use cases from the basics here:

https://andersource.dev/2019/08/25/fun-with-matrix-exponenti...

262.

An 'Inside-Out' Planter That Grows Plants on the Exterior Surface, Without Soil(accesswire.com ↗)

2 points · by andersource · 6y ago · discuss

comment 6y ago · link · parent

That's the Pareto principle [0]: 80% of the effects come from roughly 20% of the causes (or effort, in this case).

Very hand-wavy but I think that's also the reason things like expertise exhibit a power law distribution - if as you progress each "unit" of improvement requires 4x the effort of the previous "unit", it makes sense that only about 1/4th of people will make it through. Of course that's very oversimplified but I think you get the gist.

[0] https://en.wikipedia.org/wiki/Pareto_principle

comment 6y ago · link · parent

It's interesting how polarizing this article is. After zigzagging several times while reading the comments I just think that reality is more nuanced than "never apologize" or "apologize", and it simply depends on the context.

It seems to me that most comments with a strong opinion (including the article) have a specific scenario in mind, involving assumptions about the dev's intentions to write good code, the bug's effect, how easy it would have been to avoid the bug, and who is this person we're considering to apologize to (coworker / manager / customer / QA who found the bug). In some situations apologizing feels right, in others it doesn't, so there's not much sense in generalizing from a single scenario to the general case.

I think ultimately it comes down to matching expectations: almost all people involved in software development expect bugs. The question is how much effort do they expect me to put into reducing the quantity and severeness of those bugs. When I go to a dentist I expect them to make every possible effort to avoid harming me; generally this is not the expectation of software developers going about their day. A feature that takes one hour with reasonable effort at ensuring quality could easily take a day or a week if you make _every possible effort_ to ensure it is bug-free. Different pieces of code (at different times) could have different amounts of impact, so it takes a wider understanding of the code's context to decide how much effort I'm going to put into chasing bugs. When in doubt, I match expectations with the relevant stakeholder(s). Then the situations where apologizing feels right are either those where I didn't meet the expectations, e.g. I was in a hurry to push so I didn't take the time to properly test and I should have known better (not very frequent); or situations where I didn't take the time to properly match expectations (though sometimes that's on the other party, but it takes two to match expectations).

One other thing regarding responsibility - I think that taking responsibility and apologizing are different things. Sure, you can take responsibility by apologizing, but there are other ways too. When something breaks in my apartment and I call my landlord, they (usually) take full responsibility and make sure the problem is fixed, but so far they never apologized, and it would feel funny if they did.

265.

The case for better-than-random splits(andersource.dev ↗)

2 points · by andersource · 6y ago · discuss

266.

A Random Night Sky(andersource.dev ↗)

1 points · by andersource · 6y ago · discuss

1
56789