Better HN
topnewbestaskshowjobs
Log inSign up

ropans808

59 karma · joined Sep 23, 2016 (10y ago) · 19 submissions

Submissions

comment 2y ago · link · parent

Seems like it - you can definitely cache python function results with decorators:

https://docs.python.org/3/library/functools.html#functools.l...

comment 5y ago · link · parent

Is OWS a cult now? Or socially dangerous? Or relevant?

comment 5y ago · link · parent

That's kind of what identity theft is, and it is distressingly possible.

comment 7y ago · link · parent

That's my general solution as well, but when pip fails at dependency resolution tools like poetry become really nice.

comment 8y ago · link · parent

It is definitely related to sleep. Cannabis disrupts NREM sleep, where memories are ushered from short term memory into your hippocampus. Matthew Walker's excellent book "Why We Sleep" goes into this in some detail, highly recommended.

Edit: I should add, many substances disrupt NREM sleep in addition to cannabis, such as alcohol, caffeine, and sleep aids.

comment 8y ago · link · parent

This is already discussed quite a bit in the article:

"Babbage also wrote more than twenty programs that he never published.19 So it’s not quite accurate to say that Lovelace wrote or published the first program, though there’s always room to quibble about what exactly constitutes a “program.” Even so, Lovelace’s program was miles ahead of anything else that had been published before. The longest program that Menabrea presented was 11 operations long and contained no loops or branches; Lovelace’s program contains 25 operations and a nested loop (and thus branching)..."

comment 8y ago · link · parent

Yes weekend service has gotten to the point of being unusable, with repair work (both routine, and fixing up tunnels flooded by Sandy) limited to off-peak and weekend hours. Unfortunately we aren't really addressing this in any sane way. Replacing mass transit with vehicles for hire is just making surface congestion awful, when options like expanding and enforcing bus-only lanes, bike lanes and more bike-share are not getting the attention they deserve. There are more solutions than just Uber and Lyft.

Watching communities vote down protected bike lines because they lose 1-2 parking spaces per block (I'm looking at you, Sunnyside) or fight increased bus service (the village..) is very frustrating.

comment 8y ago · link · parent

That's how I am reading it. And if their aim is to drum up foot traffic on streets to stimulate local business, I don't think that violates the spirit of the legislation.

comment 8y ago · link · parent

Yeah, the proposed legislation mentioned in the article in San Francisco just banning the construction of onsite cafeterias seems to recognize this at least.

comment 8y ago · link · parent

This is very interesting, I had never considered the impact free food at a large office has on its surroundings. The legislation certainly sounds backwards, but to me the situation is reminiscent of a company using profits from one sector to subsidize another, in order to drown out competitors in that space. I don't think Facebook is actually trying to kill off restaurants, but this is definitely how you would do it in an anti-competitive way.

comment 8y ago · link · parent

I listen to discussions on the "Intellectual Dark Web" regularly and am generally a big fan of the free flow of ideas - but this view of identity politics, as much as I try, I cannot get my head around.

It seems primarily to be a chicken and egg problem: The IDW insists that identity politics requires people to identify themselves as a group rather than free-thinking individuals. I think the point this misses is that these groups did not start by self-identifying as groups, they were identified as these groups. The black community, LGBTQ, women, religious minorities - they were first treated as a single group of lock-step individuals by those looking to oppress them. Is it crazy that to respond, they respond as a group?

This idea that they are beating down the discussion by applying ideals to an entire group of disparate individuals I really think is backwards. It is a response to being grouped by outside forces in the first place, where these groups do have a single shared problem now - that they are not viewed as individuals and treated as a single bloc.

comment 8y ago · link · parent

I think there are quite a bit more consumers than is obvious at first glance. I am currently surrounded by a hundred or so non-technical people typing away at their work computers. Not sure if those will be replaced by touch interfaces anytime soon.

comment 8y ago · link · parent

Do you know if the data engineer position is an engineering position or more based on ETL tools/packages? The job posting doesn't mention anything about languages or skills required.

comment 8y ago · link · parent

I believe Lyft only operates in the US.

comment 8y ago · link · parent

What are people finding so dreadful about Redshift?

comment 8y ago · link · parent

Please tell me where anyone is paying 1k-1.5k for an apartment in NYC. I am paying 2700/mo for 650 sqft, 45 minute commute from midtown, and I haven't seen anything better without a longer commute. Studios in my neighborhood are 1.6k+, and I am not in a happenin' place.

comment 9y ago · link · parent

They can make the phone thinner, but they are only doing that by putting more hardware (a DAC) into the headphone. It's massively duplicating one component for such a negligible advantage.

comment 9y ago · link · parent

What I really don't get is why we want to move the DAC into the headphone. It just makes sense to have a single DAC in the phone, that anything can plug into. Now every set of headphones needs its own DAC to convert that digital bluetooth/USB signal into something you can actually hear.

comment 10y ago · link · parent

Don't forget about the musicians' pay!