129 karma · joined Dec 9, 2010 (15y ago) · 41 submissions
comment 1y ago · link · parent
So I think the lesson here is wrong too - when the manager said
> These tasks aren’t business priorities and had no impact on customers and other teams
that didn't mean they were worthless tasks - just that they weren't business priorities and had no impact on customers or other teams. Which is probably true(ish - I would have phrased it very differently if I were their manager).
Improving the release process is great, and helps the team a ton - and indirectly helps customers by enabling the team to ship faster. This is incredibly valuable! And at the right scale, it can be a staff job: at my Large Tech Company, I know several people that have been promoted to staff SWE for this kind of work, but it's for systems that hundreds of SWEs work on. I also know people that have been promoted to senior SWE for this kind of work - these are systems that tens of SWEs work on. It sounds like this example was more like that - this person was doing a good senior SWE job, and the manager didn't see any reason to course correct given that they had given no signal they wanted to get promoted.
comment 1y ago · link · parent
So I look up at the token usage, see that it cost 47 cents, and just `git reset --hard`, and try again with an improved prompt. If I had hand-written that code, it would have been much harder to do.
comment 1y ago · link · parent
(Also, as a personal bias, merge keys are really bad because they are ambiguous, and I haven't implemented them in my C++ yaml library (yaml-cpp) because of that.)
comment 1y ago · link · parent
6.
Four Software Engineers(bedaire.com ↗)
2 points · by beder · 1y ago · discuss
7.
Harry Coonce, founder of the Mathematics Genealogy Project, has died(ams.org ↗)
2 points · by beder · 1y ago · 1 comment
comment 2y ago · link · parent
https://philosophy.williams.edu/files/Egan-Learning-to-Be-Me...
This is focused on just one aspect of the philosophical dilemma, and both Dennett and Egan touch on the horror of it in delightful ways.
comment 4y ago · link · parent
I tried working on this with deliberate practice on cycling through different areas of the board. There’s a mental feeling (not too different from the physical feeling of swinging a racket) of working through a line, and then moving to another area and trying a different line.
comment 4y ago · link · parent
If you’re doing anything that you might hear “don’t overthink it”, then it’s for you. It was recommended to me by a friend who played competitive Foosball; I read it as an instructional about playing chess; and later, after starting to play tennis, I read it again, and I think it’s equally applicable to all of those.
comment 6y ago · link · parent
> The components might look wrong when rendered. Tests are very bad at this. We don't want to go down the esoteric and labor-intensive path of automated image capture and image diffing.
This is the main reason we have tests for our (Angular) typescript all; all the tests roughly look like:
1. set up component with fake data
2. take screenshot and compare with golden
3. (maybe) interact with component and verify change
These are super easy to write, and also easy to review: most review comments are on the screenshots anyways. And since the goldens are checked in, it’s easy to see what different parts of the app look like without starting it up.
comment 8y ago · link · parent
> In fact, her central theme is that non-Euclidean geometry, and indeed any mathematics related to non-Euclidean geometry, is nonsense.
comment 8y ago · link · parent
https://google.github.io/dagger/semantics/
It's not intended as a tutorial, so perhaps it won't quite meet your needs, but if you're curious how all the pieces fit together, it may help.
comment 9y ago · link · parent
What's more, Dagger gives you (compile-time) insights into the graph of dependencies.
For example, we've hooked up our internal code-search tool to give you Dagger cross-references, so if you (e.g.) click on a parameter to an @Inject constructor, you'll see the place that provides that object.
Also, if you click on the @Component, you'll see a visualization of the entire graph.
We're working on surfacing these hooks in the open source repo, which would allow IDEs like Eclipse to gain this functionality as well.
comment 13y ago · link · parent
I'm glad that there's an effort to consolidate and simplify the proof, since as they say, it could end up effectively lost forever.
23.
MOOCulus - Massive Online Open Calculus(mooculus.osu.edu ↗)
44 points · by beder · 13y ago · 4 comments
comment 14y ago · link · parent
comment 14y ago · link · parent
1. It looks like the total number of tickets in 2009 and 2010 is about 10% that of 2011. I'm guessing that there weren't actually ten times as many tickets given in 2011, so either the data is incomplete (as the author suggested), or there was a typo. If the data is incomplete, I'd suggest normalizing to the 2011 totals; otherwise, the 3-year average doesn't make much sense.
2. The scale of the "normalized" difference graphs (showing "Actual - Expected"). The formula given is
(actual - expected) / total * 1000 = normalized number
If this is the case, then since the scale goes to about +/- 5, the differences are very small (less than 1% away from what you'd expect!). But from eyeballing the data, that doesn't seem right.
In any case, a better scale might be to expect the data to be normally distributed, and scale the differences to # of standard deviations. (See, e.g., http://en.wikipedia.org/wiki/Normal_distribution#Standard_de...)
comment 14y ago · link · parent
1. He's not comparing apples-to-apples between `std::list` and his intrusive linked list; the proper analogue would be to unlink a node from its iterator, for which the running time is still O(1).
2. The main (only?) reason to use intrusive lists is for the single indirection (which helps both memory and speed). In his example for how using std::list would crash his server because of the O(N) node removal, he's just not storing the right data for each connection (again, use an iterator).
3. He looked at boost's intrusive list, but I'm guessing he didn't actually try it out. The examples are pretty good, and it's much easier than it "looks". (That is, boost libraries can look intimidating when you first look at them because they're so template-heavy.)
4. It may even be that a vector, plus an auxiliary data structure for lookup, may be faster.
comment 14y ago · link · parent
While I don't know for sure which use of the word "hacker" Milner intends, the author of this article ought to have added a line like, "Software engineers use the word 'hacker' in a positive, non-malicious sense...", since this is effectively taking his words out of context.
comment 14y ago · link · parent
I ran into this recently with a number of simple startup checks, e.g., if the device is a high-res ([UIScreen scale]) or if it's an iPhone vs. iPad ([UIDevice userInterfaceIdiom]).
comment 15y ago · link · parent
(We readily admit that we're pretty bad at forming a community. This is a spare-time thing for both of us, and neither of us uses twitter, facebook, or really any social service, much personally, so we feel a little like fish out of water when it comes to the social aspect of the game. We have a level editor, but no way for people to share levels outside of the game itself, and no way for people to talk about levels they make. We're getting there...)