Better HN
topnewbestaskshowjobs
Log inSign up

rubyfan

3,878 karma · joined Jun 30, 2012 (14y ago) · 1,422 submissions

Submissions

comment 3y ago · link · parent

I used to bash SQL. Then I learned how to use it.

comment 3y ago · link · parent

Agents typically are responsible not only for generating new business but also servicing the policies they sell and they are compensated with commission for the life of the policy.

Further, they didn’t close down the shop they just stopped putting a certain type of inventory on the shelf - they will continue to sell auto and other types of insurance that are less exposed to wildfire or are otherwise rate adequate.

comment 3y ago · link · parent

If they had renters insurance that could have been a covered loss of use.

comment 3y ago · link · parent

> known for using advanced mathematical models and deep understanding of human behavior to predict future behavior of individuals and large populations.

Isn’t psychohistory not able to predict individual behaviors and only effective on large numbers?

comment 3y ago · link · parent

Can you share what your current solution looks like for something like that?

> But I rarely see mention of messier problems which consist of overlapping and perhaps hierarchical states.

Your comment resonated with me relative to regulated financial services where a relationship with a customer has many states can can be independent or intertwined depending on regulatory environment and subject matter i.e. status and renewal of terms of a contract/agreement, billing/payment, different pricing revisions, etc.

comment 3y ago · link · parent

That first conversation reminded me of conversations with a past manager.

comment 3y ago · link · parent

I’d agree that someone in a lead role must have more collaborative time but I think IRL collaborative time needed is still significantly less than imagined by the ‘remote work is bad’ crowd.

In my opinion IRL is more needed for negotiation, handling uncertainty, new team formation, business development, etc.

comment 3y ago · link · parent

The argument I hear mostly from the ‘remote work is bad’ crowd is that there is highly valuable intangible benefit to collaboration in real life than collaboration remotely.

I can get behind the idea that remote work is not as effective especially when forming a new team or assimilating new team members. However the thing that the ‘remote work is bad’ crowd get wrong is the distribution of collaborative work and deep individual work.

My experience is that in person collaborative synchronization is needed far less than even once a week. In person touch points with a white board and plenty of getting to know each other as humans time is super valuable… and in my opinion 2-4 times a year in needed, not 3-5 days per week.

comment 3y ago · link · parent

better for who? ;-)

comment 3y ago · link · parent

I don't agree. If the single person takes ill the consequences are limited to the individual. With dependents the consequences of the bread winner not being able to provide are significantly higher.

comment 3y ago · link · parent

At some point this may become a significant source of stress for the primary bread winner.

Dual income families enjoy a level of insulation that single income families do not. In the single income family the primary bread winner has double the stress, 1. inherent in working and 2. knowing there is no realistic replacement of income if they fall ill, get caught in a layoff or just hate their job and need a break everyone is counting on them to provide.

This might seem better in the short term but over the long term I’m not convinced it’s better.

comment 3y ago · link · parent

If you explicitly included a contract that stated how the pen was to be used and the ramifications before my acceptance of your pen then yes.

Companies do include policies about how their equipment is to be used and for what and they do include how they think about ownership usually in your employment agreement or principles of employment policies. To write those off because “hey it’s only a generic piece of equipment” is perilous.

I suspect how you think about the analogy changes if you write the story on company letterhead or if you used the company car for your catering side hustle on the weekends.

comment 3y ago · link · parent

Sounds like you want MVVM vs. the default MVC pattern Rails ships. I think there are a few options out there which are bolt on for Rails but nothing out of the box.

comment 3y ago · link · parent

It's common for your previous manager to have temporary access to your machine, files, email and accounts at big companies to support continuity for a few weeks.

It'd be in extremely poor taste to post or email as the person but I don't think there's a legal issue per se. It is the companies infrastructure so your work accounts aren't really yours.

It's a solid reminder though never to use your work machine for personal use and never to use your personal accounts for work use.

comment 3y ago · link · parent

> Three things combined together to cause the implosion: …

Shockingly this list doesn’t include misappropriating customer funds

comment 3y ago · link · parent

To build on your comment…I think picking simple or anti-complexity is a values call perhaps enabled by emotional intelligence and being secure in who you are.

I have met many people whose identity is wrapped up in being smart. When faced with choosing a clever solution or an understandable solution they will choose the former. This is where preserving their identity outweighs empathy for you or even for themselves. Some people also like to be the hero. If they are the only ones who get the solution then they are more likely to be the hero to fix it in some future moment of need.

comment 3y ago · link · parent

If you’re building an app at all you are most likely already building way too much. Try validating your business without building an app first, then what to build will be more obvious.

comment 3y ago · link · parent

Oh for sure, I served over 20 years ago and the branches have all adapted their PT regimes quite a bit. Push-ups, Sit-ups and Run was the standard when I served and since then I think they’ve changed it up a bunch and some have even tried incorporating crossfit-style workouts and have evolved their fitness standards - as they should. Enforcing fitness standards and mandatory participation still makes sense and always will for young people especially those who serve.

comment 3y ago · link · parent

Sure type 2 diabetes or being drastically overweight disqualifies you from service.

Lots of people have never done a push up or run outside of gym class by the time they serve, it’s not a new challenge. Couch to 5K is solvable and the military is pretty good at it.

I’d love to quantify your comment a bit more… how many young people have a disqualifying health issue like type 2 diabetes, heart problems or obesity? How much of a problem is it really?

comment 3y ago · link · parent

To be clear discipline in the military is a couple things that are pretty good basic life skills that a lot of people at that age especially lack, i.e. go to sleep at a reasonable hour, show up to work on time, exercise daily, eat well, avoid alcohol abuse, follow through with assigned tasks. These are real challenges for people at that age and who come from many walks of life, sometimes unhealthy environments. The military immediately rewards and punishes for lack of that discipline and it’s a pretty good environment to develop young people. But absent the persistent structure the military provides won’t happen on its own.

comment 3y ago · link · parent

> only so much they can do with someone that has been eating poorly and sitting still for most of their life leading up to enlistment

That's kind of BS. Young people that enlist are not fully formed adults yet and have a huge opportunity to reshape themselves to be fit for military service. I can speak from experience here. Basic training sheds pounds and builds muscle, I've seen it first hand. The problem is that it lasts only 8 week which is not nearly long enough to create new habits or break old ones.

comment 3y ago · link · parent

> Give a bit more freedom and education to people who showed they are willing to fight for it.

People need to eat properly and exercise on a daily basis in to stay fit for service. Most 18-20 year olds have a hard time with discipline. Routine mandatory exercise is a must have for military service. Thus the people with the discipline and "who show willingness to fight for it" and basic competence are the ones that end up leading in the military.

comment 3y ago · link · parent

This is probably a sign that other things outside of NDAs would ultimately be problematic there.

comment 3y ago · link · parent

Some of the problems I think I’m seeing around streaming right now is that every media conglomerate is trying to extract the most they can from consumers. Media companies are debasing cable packages and streaming cable-like packages (Sling, etc.) where their channels and on-demand content is aging and lowering in quality and availability. They increasingly seem like platforms to advertise the Plus versions of services where valued content and new original content is moving rapidly to paid streaming, e.g. Discovery+, Paramount+, HBO+, Disney+, etc.

While this extraction reality sucks but I feel like there’s a game to play here that’s still better than piracy though.

comment 3y ago · link · parent

I was an OpenBSD and FreeBSD user at that time DragonFly was announced so I remember the original fork. Improving SMP (or SMP at all) was a thing a few of the BSDs were working on around this time as I believe processors were starting to add hyper-threading. I think that was the core rationale for the fork but Matt Dillon had a few other things he was trying. There have been a few similar forks like this where someone wanted to go their own way some with better success than others.

See Annoucning DragonFly BSD!

https://lists.freebsd.org/pipermail/freebsd-current/2003-Jul...

Further reading

https://people.freebsd.org/~kuriyama/www/smp/

https://people.freebsd.org/~fsmp/SMP/SMP.html

comment 3y ago · link · parent

Reminds me of the Seinfeld episode where George Steinbrenner (Yankees) and Jonny Tyler (Tyler Chicken) get into an argument over George Costanza and start negotiating a deal.

https://m.youtube.com/watch?v=V-Tspdoouns

comment 3y ago · link · parent

I think you typo'd

Zero interest rate policies

https://www.investopedia.com/articles/investing/031815/what-...

comment 3y ago · link · parent

mid-2000s I think it all started with the rise of AJAX and "Web 2.0". In the beginning it was just sort of gimmicky for visual effects and experience and we were all scratching the surface of what browsers could do.

2006-2009 server side frameworks were in vogue but most were slow and sometimes memory intensive. In the pursuit of creating highly interactive experiences that also scale many of us were optimizing website architectures around cached components of varying vintage and write frequency.

By 2009 we were solving for performance + scale + interactivity challenges using client side rendering for highly interactive components. During that period I can remember doing isomorphic rendering of mustache templates in server side Ruby and client side Javascript.

2010-ish Node was starting to gain traction and lots of attention went to Javascript. I think post-2010 many were pushing web app architectures to more client side business logic as web browsers became more and more capable. Backbone.js, SproutCore (now Ember.js), Knockout.js and others were on the scene by then and I think most other frameworks are inspired or derivative approaches meant to solve for their shortcomings.

2014-ish I think everyone was pushing responsive web. Apps got fatter and needed CDNs now more than ever. Websockets start to gain maturity. Cloud-services really start to gain traction beyond EC2 type deployments.

2015-2016 is the inflection point where client side frameworks start to get stupid complex, i.e. I can no longer read the source code of a web page easily, simple read only sites have a loading screen and/or need to download 1MB+ for reading a basic page.

comment 3y ago · link · parent

I implemented in the app layer so had the user available to implement the new audit record. I suppose doing it in the DB layer would impose a challenge. The few ways to solve that that I’m aware of would require a) your app to kick off a function with the user id of the mutation or b) pushing user auth into the DB layer and principal switching your DB connection. Both have downsides IMO.

I don’t typically favor DB level solutions because bleeding app logic beyond basic schema and integrity means you lose some portability and/or your architecture messes separation of concerns pretty quick. Maybe that means you don’t get the full benefit of the DB but it’s a trade I usually make.

comment 3y ago · link · parent

I did something similar to this many years ago but didn’t limit to deleted records and instead created an audit log with a very similar approach. It worked nicely and provided a view into how data was changing by our users.
1
121314
48