Better HN
topnewbestaskshowjobs
Log inSign up

prawks

1,072 karma · joined Jul 20, 2012 (14y ago) · 544 submissions

Submissions

1.

The Fallacy of needing a technical manager(unwiredcouch.com ↗)

3 points · by prawks · 7y ago · discuss

comment 8y ago · link · parent

> you dont figure it out for days or weeks?

If it was important and estimates on how long it will take are overrun, then don't wait to follow up on it and find out how it's going.

Unless the problem is more nuanced like a small component of a larger body of work? Like knowingly leaving flaws in an implementation, or something.

comment 8y ago · link · parent

Shortly after your post, they did revoke all access tokens:

https://status.npmjs.org/incidents/dn7c1fgrr7ng

> To protect potentially compromised accounts, npm is invalidating all npm login tokens created between 2018-07-11 00:00 UTC and 2018-07-12 12:30 UTC (about 2 hours ago). If you believe your account specifically was compromised we still recommend visiting https://www.npmjs.com/settings/~/tokens to revoke all your tokens.

> Posted about 20 hours ago. Jul 12, 2018 - 16:42 UTC

Then later:

> We have now invalidated all npm tokens issued before 2018-07-12 12:30 UTC, eliminating the possibility of stolen tokens being used maliciously. This is the final immediate operational action we expect to take today.

> We will be conducting a forensic analysis of this incident to fully establish how many packages and users were affected, but our current belief is that it was a very small number. We will be conducting a deep audit of all the packages in the Registry to confirm this.

>Posted about 18 hours ago. Jul 12, 2018 - 18:52 UTC

comment 8y ago · link · parent

> 30) Existential angst is part of life.

Definitely a 20-30 thing, never even crossed my mind before I was 25.

comment 8y ago · link · parent

Ah yes, makes total sense if you're setting up not just a Python environment, but an entire stack. Very cool.

comment 8y ago · link · parent

Interesting. So by that line of thought, aging would be an evolved trait giving certain species an evolutionary advantage over others without aging.

comment 8y ago · link · parent

I think I'm in the group that doesn't immediately see the obvious gain of teaching in a Docker container vs. teaching how to install pyenv/virtualenv.

Is it mainly cutting out troubleshooting differences between host OS's while also getting isolated python environments?

Maybe I do see the win there, after all?

comment 8y ago · link · parent

The wiki links to a French article which has quotes from the author of this book: https://www.amazon.com/Maos-Great-Famine-Devastating-Catastr...

comment 8y ago · link · parent

Marathon swimmers swim 20+ hours depending on the swim.

comment 8y ago · link · parent

Consumer perception, mainly. It depends on the target audience of the page. Modern consumers have come to correlate certain appearances with quality. It's not an awesome cultural development, but you're not likely to gain much traction by fighting against that momentum unless you already have an oversized influence on that readership's expectations.

comment 9y ago · link · parent

I often hear people point to security as a reason to avoid shipping sourcemaps in Production, but it seems like such a non-issue given that anyone can unminify the code shipped out to their browsers. What kinds of secrets are able to be hidden via obfuscation? The answer traditionally is "none" so I'm pretty consistently baffled. We do strip comments explicitly so that devs don't need to be as concerned with exposing anything that way, but aside from that I don't really understand this angle.

comment 9y ago · link · parent

The winter can be a bit much if you're not used to it for sure, but the upside is that tourists leave and restaurants no longer need reservations :)

Plus, not far from some excellent (downhill and cross-country) skiing, snowshoeing, ice fishing.

comment 9y ago · link · parent

2 quick points:

- The paradigm shift in writing interactive web pages in the React "write your app like a game that re-renders every frame"-style is extremely compelling. You are correct that there are plenty of largely static sites that do not need JS-based rendering, but for people wanting to develop single-page web apps or other interactive content, that mindset is a godsend.

- We recently re-wrote an ecommerce site with React and it is WCAG 2.0 AA compliant. To our knowledge, and to the independent firms that have audited our application, screenreaders have no problem with it. You still have to go through the diligence of all of the standard a11y-friendly techniques like semantic markup and thoughtful keyboard navigation, but React at least does not get in the way.

comment 9y ago · link · parent

One funny (ab)use case that may not be immediately obvious: any public API that accepts payment for goods via credit card will sooner or later attempt to be used by carders to test purchased/stolen card lists for validity.

comment 9y ago · link · parent

Ditto, I was able to get a Leap from an office surplus store for my home office and I enjoy its adjustability better than the Aeron I had at my last job. The breathability of the Aeron is nice, but I don't have issues with standard cloth chairs anyway.

comment 9y ago · link · parent

I think that's a difficult comparison to make because you can reasonably secure your house against unwanted entry and it's fairly likely that breaches could be detected.

Obviously malicious law enforcement could still circumvent that just as they could a warrant depending on their level of capabilities and your house's security, but there isn't a similar path to securing your water usage data against warrant-less searching. Its security is wholly in the hands of a third party and any security breaches are essentially invisible to you.

That said, we're both painting in broad strokes.

comment 10y ago · link · parent

Is anyone aware of repots on the comparative level of security of the various cell providers? I'd be interested to know how providers in various tiers of scale like US Cellular compare to TMobile and Sprint compare to Verizon and AT&T.

comment 10y ago · link · parent

From the mypy docs linked in the article (http://mypy.readthedocs.io/en/latest/duck_type_compatibility...), it seems it supports a small number of built-in duck types currently, and has support for some protocols (http://mypy.readthedocs.io/en/latest/cheat_sheet.html#standa...)

> mypy considers an int object to be valid whenever a float object is expected.

> Use Iterable for generic iterables (anything usable in `for`)

Thus you should be able to get a more broadly correct (though still not 100% if you have your own types implementing __add__ and __radd__) like this:

  from typing import Iterator

  def sum_and_stringify(nums: Iterator[float]) -> str:
      return str(sum(nums))
It also looks like implementing an abstract base class SupportsSum (to check for __add__ and __radd__) may not take a whole lot of work, see `SupportsInt`: https://github.com/python/mypy/blob/d7f6ea617317103534d86686...

http://mypy.readthedocs.io/en/latest/class_basics.html?highl...

comment 10y ago · link · parent

Less aggressively, you may also be inheriting someone else's design.

comment 10y ago · link · parent

But... people talk to their phones all the time :) Just hold it like normal when you're talking into it!

comment 10y ago · link · parent

Django's recommended project structure is one that immediately comes to mind. A project is broken down into "applications" each which have their own models, views, and controllers (among other things like forms, tests, etc.). Each "application" is an area of responsibility within the project, like payment or user management.

As it's python, the 'views' module could technically be a folder with multiple files inside it, but they would all be grouped under their respective app.

comment 10y ago · link · parent

It's a problem inherent in any system offering pure anonymity in an unrestricted way.

It's really a shame. An opinionless platform offering anonymity cannot flourish in an opinionated world. At some point if these things want to succeed, they need to play by the rules of the world that they exist in. But I don't think anyone's figured out a common set of systemic restrictions that Tor, 4chan, etc. can implement that avoid taking away their primary affordance: freedom.

comment 11y ago · link · parent

"You make your own luck." There were a sequence of events that lead to you getting the opportunity to be in the right place at the right time.

Random luck happens for sure, but how did you get to put on a warm-up for one of the biggest DJs in the world? I'd guess because of some conscious work you did, not because he picked a phone number in the book at random.

You told him about your party after getting the gig. He probably wouldn't have gone if you had not. That kind of networking and effort is a skill just as much as selecting the right music.

comment 11y ago · link · parent

http://farlandsorbust.com/

That guy's been doing it for quite a while.

> At the end of that most recent FLoB-ATHON Weekend in 2015 we discovered that I was 2,266,779 blocks in the furthest 'Z' coordinate, the equivalent of 2,266-kilometers from spawn! Amazing, yes, but it means we are still only 18.06% of the way to reaching the Far Lands located at 12,550,820 meters! They don't call them "far" for nothing! INDEED!

comment 11y ago · link · parent

What is the advantage of using this service over hitting Google's RESTful Spreadsheet API directly?

https://developers.google.com/google-apps/spreadsheets

comment 11y ago · link · parent

Miasmata is a great example.

comment 11y ago · link · parent

> unless you're really into just having fun - which the game mostly does not encourage

This is the exact reason why, no matter how many times I tried over the years to play this game with friends, I could never stay attached for longer than a few hours. There seems to be less and less emphasis put on enjoying the experience of exploration and being in a space in modern online games, and more emphasis on rote activities for the sake of progress.

And thus I return to single-player games, which I certainly do not mind. There is a seemingly never-ending stream of creative ideas coming out of that space.

comment 11y ago · link · parent

I think you're looking at a pretty narrow genre (Complex Games) and extrapolating the entire platform's content/potential from it. There are fewer people making as complex games as back then, but saying people are uneducated is a bit silly.
12345
19