HN user

devrelm

184 karma
Posts0
Comments89
View on HN
No posts found.

Uh, yes? Clearly?

If I'm on vacation, I'm not looking to save every single dime because I know that it's a one-off expense.

If I'm looking for an apartment, I'll actively research to find the best deal because it's a long term commitment that could have huge ramifications on my finances years in the future.

Case in point:

I'd gladly pay $250 a night in a Manhattan hotel, because fuck it, I'm going on vacation, will only be there a few days, and don't want to spend an hour each day on the train getting to/from Newark just to save a couple hundred bucks.

But I would have to be crazy to pay $250 a night for an equivalent (i.e. studio) apartment in Manhattan, regardless of how much time it cuts off of my commute.

It looks like Subscribe's `to` prop expects an array. So, `[CounterContainer]` is just an array with a CounterContainer in it.

The `{ }` that wrap it are just part of the syntax of passing props. If you wanted to pass an object literal to a prop, you'd have to double-up the curly braces:

  <div style={{ color: 'white' }} />
And strings can be passed with or without curly braces:
  // both of these are fine:
  <div id='foo' />
  <div id={'foo'} />

Also keep track of every time that you see references to each topic both before and after bringing them up.

And have a control group that you simply don't bring up at all. Make sure to have more than one, so that you still have more remaining if someone around you brings up one of your control topics.

As my driving instructor used to say, "Stop signs and red lights do not actually reach out and stop the other driver."

The lesson: just because it's your turn to go does not mean that others will not enter the intersection when it's not their turn. I agree that rolling stops at a 4-way stop are generally safe when you can clearly see that no other cars are at or approaching the intersection. But in my experience, the fact that the other person is at fault has been little consolation for having to deal with a totaled car and a permanent backache.

My thought would be that it would be at the source level. "98% of people find this source reliable", though that's certainly subject to the same biases.

Better systems might require more work to mark a story as false (such as how reporting a story as false currently works in Facebook.) Over time, Facebook can see on their end which domains are pushing fake news and choose not to surface unreliable sources on people's news feeds.

To be fair, the primary reason that my wife and I don't use Allo is because it was never available on the web.

EDIT: And now after signing in, I realized that what I /really/ need is a desktop app...

Node v8.1.2 9 years ago

Looking at "paths", shouldn't those @types (history, redux & react) be picked up automatically, at least as of TypeScript 2.0?

Also:

  "*": [ "./ClientApp/types/*", "*" ]
I like that. I may have to add it to my app and get rid of our typings.d.ts (currently included through "files") once and for all.

This one isn't actually /too/ complicated. It certainly uses some advanced techniques -- transitions, clip-paths, nth-child -- and I'm not sure (haven't checked) if or how it works in browsers other than Chrome, but the fact that you _know_ you'll have 30 shards greatly simplifies everything.

If you can have a designer draw up the basic design, then you can one-by-one take the shards & put them into place with CSS. From there you can set up some animations on specific shards to make it seem like everything's moving together. From there, you basically have one animal. It'd be time-consuming, but would work.

The css selector for a particular animal's shards start with a `.<animal>` class selector, so that you change the animal class in a parent and all the shards move into place.

It looks like they're still using some javascript to set "states", which seem to trigger animations. I'm honestly not sure why they decided to do that rather than just using keyframes with animations, though I imagine that it may have been that animations were firing before the transition between animals finished, which would have caused a little bit of weirdness.

I love woodworking as well, and have completed a few little projects since buying a house and finally having a garage/workshop.

But, if that's not something you have the space/money for yet, I think that cooking is a nice substitute hobby. There's a lot to learn with tools and technique, and you get the immediate satisfaction of seeing (and tasting!) your finished product.

Just be careful though -- I've injured myself many more times in the kitchen than in the garage.

Right. I actually wonder how self-driving Semis will handle such a situation.

Given that it's all math at that point, I wouldn't doubt if regulations surrounding minimum yellow-light timing are updated to more accurately represent the stop time of heavy loads. Otherwise it should be easy to prove in court that stopping in time would be impossible given the speed limit & weight restrictions (or lack thereof) in place at a given intersection.

Looking closer, I'm pretty sure that the non-TouchBar model is just the previous model.

It has the 4th gen processors where the TouchBar models have 6th gen processors. The non-TouchBar model also still has the "smaller" touchpad and the same ports & layout as the previous models. The body itself even has the same finish as the older model. So yeah, I'm pretty sure it's just the previous model.

Its already a pain to use touch-pads on some laptop models where if you rest your wrist on it it will detect it wrong.

To switch topics to another new "feature", this was my first thought about the 2x-larger touchpad on the new 15" mbp.

How are the numbers taken out of context?

The numbers lack context in that they don't specify a rate, merely a value. It makes it sound like 70K women are attacked each year by undocumented immigrants, when the reality is that the number is closer to 1.27K per year since 1955. Let's do some back of the napkin math:

There are about 11 million undocumented immigrants in the US, meaning that the rate of sexual assault victims per undocumented immigrant would be ~0.012%. Meanwhile, in 2006, 300,000 college women were raped.[1] With 300 million people (in 2006), that puts the rate for the general population at 0.1% of victims per person. That's nearly 10x the rate of the undocumented immigrant population, and that's only including college-aged rape victims, rather than sexual assault victims of all ages as the 70K number claims to be.

Meanwhile, we have Trump who has no fewer than 4 woman claiming he sexually assaulted him. Divide that over the 70 years of Trump's life, and at 0.057 women-per-year you have a 1-man rate of 5.7% -- 57x the rate of the general population. Seems like Paul Ryan is targeting the right person, and that Breitbart is using bad logic.

[1] https://www.nsopw.gov/en-US/Education/FactsStatistics#victim...

iPhone 7 10 years ago

Right?

New stereo speaker system

Oh cool, you mean like the forward-facing stereo speakers on my 2-year-old Nexus 6?

Perhaps, but while programming may be only 20% of CS, learning it probably takes up 80% of a student's time. Reducing that additional cognitive load during the first couple semesters could allow them to focus on other CS fundamentals and improve overall comprehension over the course of their degree.

This is great! I enjoyed flexboxfroggy.com, but this seems to go into a bit more depth in terms of the number of flexbox properties being shown off. It takes a bit to work out what the actual css being used is, but it's otherwise a great way to play and learn what flexbox can do.

I (as strictly ops person)

Aha!

Vagrant, Docker, Chef, Ansible, Fabric, Puppet, Jenkins, Octopus, TeamCity, Sentry, SVN, Git, AWS, Azure...

We all have monkeys on our backs. We all search for the best tools to use to make our lives easier and our products better and more reliable. When something new or improved comes out, we evaluate it, we weigh its use against everything from performance to code quality to backwards compatibility to having everyone learn yet another tool/library. If the benefits outweigh the drawbacks, then we make the switch. If not, then we leave our tool chain as it is.

Are there people who blindly switch to the Next Big Thing (tm) every 3 months? Yes. But I've found that in general they are few and far between. Perhaps you happen to work with one or more, but know that the entire web-dev community discourages that behavior.

Exactly. This panders to their anti-immigration base. If it were a serious proposition, then he would have at least tied the salary to some percentage of the median salary for the job being applied for.

That said, it's still weird because it'll likely piss off the large donors. I understand that he's trying to take some of Trump's base using Trump's tactics, but the only reason that Trump gets away with it is because he's financing his own campaign and couldn't care less about fundraising.

Do you think apple never supported SD cards because they wanted more people to put stuff in icloud?

Uhh... of course? Both companies charge extra for more space — Apple past 5GB and Google past 15GB. They make money by forcing you to upgrade your online storage.