The race to understand the mysterious world of Africa's fungitheguardian.com8 points·by a_w·vor 3 Monaten·0 comments
A teenager redrew the Alabama voting map – and it's now state lawtheguardian.com8 points·by a_w·vor 8 Monaten·1 comments
How Google's DeepMind tool is 'more quickly' forecasting hurricane behaviortheguardian.com3 points·by a_w·vor 8 Monaten·0 comments
The working-class hero of Bletchley Park you didn't see in the moviestheguardian.com3 points·by a_w·vor 9 Monaten·1 comments
New Dataset Makes Health Chatbots Like MedGemma More Mindful of African Contextscc.gatech.edu2 points·by a_w·vor 11 Monaten·0 comments
The mountain retreat – upholding an Italian tradition (football)bbc.co.uk4 points·by a_w·vor 12 Monaten·0 comments
Vienna Could be the model for how to tackle the housing crisis, climate changenpr.org8 points·by a_w·letztes Jahr·3 comments
The Pedestrians Who Abetted a Hawk's Deadly Attacktheatlantic.com11 points·by a_w·letztes Jahr·2 comments
Space probe to map carbon content of remotest tropical foreststheguardian.com3 points·by a_w·letztes Jahr·0 comments
Beekeepers halt honey awards over fraud in global supply chaintheguardian.com203 points·by a_w·vor 2 Jahren·232 comments
AI is transforming weather forecasting. Is the U.S. falling behind?washingtonpost.com2 points·by a_w·vor 2 Jahren·0 comments
AI assistants are blabbing our embarrassing work secretswashingtonpost.com6 points·by a_w·vor 2 Jahren·2 comments
The African Tour de France cyclist racking up historic winsbbc.com3 points·by a_w·vor 2 Jahren·0 comments
Took part in Apache ceremonies. schools expelled them for satanic activitiestheguardian.com30 points·by a_w·vor 2 Jahren·20 comments
a_w·letztes Jahr·discussI do this often:```rubyif (user = User.find_by(email: '[email protected]')) user.update(status: 'active') end```Is it better to do this instead?```rubyuser = User.find_by(email: '[email protected]')user.update(status: 'active') if user.present?```
a_w·vor 2 Jahren·discussMorality aside, I was hopping to see a discussion on the legal side of this issue.1. Doesn't Title VI apply here?2. Could a company legally fire an employee for practicing their religion/tradition on the weekends, outside of the office grounds?
```ruby
if (user = User.find_by(email: '[email protected]'))
end
```
Is it better to do this instead?
```ruby
user = User.find_by(email: '[email protected]')
user.update(status: 'active') if user.present?
```