70 karma · joined Nov 27, 2013 (13y ago) · 17 submissions
comment 3y ago · link · parent
comment 4y ago · link · parent
I'd argue that the chemical withdrawal effects of marijuana, are nothing compared to habitual smoking, alcohol or other "hard" drug use. But there are still some chemical withdrawal effects.
Personally I've had Minor irritability after not having an edible for a few days if I've been consistently having them nearly daily for few days. But I've also realized this, and moderate use more to only once or twice a week, and only 5-10mg at a time. I've grown to like the feel of 5mg in the evening overall. Accounting for the blah feeling the next morning/day.
comment 4y ago · link · parent
type Option[T any] struct {
v T
isSet bool
}
func NewOption[T any](v T) Option[T] {
return Option[T]{
v: v,
isSet: true,
}
}
func (o Option[T]) Get() (v T) {
if !o.isSet {
return v
}
return o.v
}
func (o Option[T]) IsSet() bool { return o.isSet }
With this pattern you're able to use `Option` as a value without pointers. var o Option[int32]
o = NewOption(int32(1))
fmt.Println("value:", o.Get())
fmt.Println("is set:", o.IsSet())
Alternative separate `Get` and `IsSet` methods, is to combine them into one, similar to map look up pattern. func (o Option[T]) Get() (v T, isSet bool) {
if !o.isSet {
return v, false
}
return o.v, true
}
var o Options[int32]
v, ok := o.Get() // zero, false
o = NewOption(int32(1))
v, ok = o.Get() // 1, truecomment 6y ago · link · parent
Google eventually added an option to change this behavior. Guess it will take a critical mass of complaints to get something similar for Google Drive.
https://www.cbsnews.com/news/google-calendar-spam-is-on-the-...
comment 9y ago · link · parent
comment 10y ago · link · parent
Hired: 2011
- Level: SDE I (4)
- Location: San Francisco
- Salary: $96k base, $20k bonus, relocation, ~160 stock over 4 years.
- Average yearly total comp: ~ $150k
Promoted: 2013
- Level: SDE II (5)
- Location: San Francisco
- Salary: $110k base, 168 stock
- Average yearly total comp: ~ $170k
Relocated: 2015
- Level: SDE II (5)
- Location: Seattle
- Salary: $125 base, ~160 stock, relocation
- Average yearly total comp: ~ $190k
comment 11y ago · link · parent
comment 12y ago · link · parent
It boils down to a few basic ideas
1: Native american's had no real concept of quarantine. If someone was sick, the extended family would take care of them. In turn the extend family would become infected, and infect the rest of the village/tribe as they travelled.
2: Europeans lived in cities with much greater population densities. Their immune systems were much more accustomed to dealing with a large variety of infectious agents. Whereas the native americans live is small homogenous villages. With very little exposure to outside influences, other than other tribes/villages.
comment 13y ago · link · parent
s = "We went to eat at multiple cafe\u0301"
"We went to eat at multiple café"
s.replace('cafe', 'cafes');
"We went to eat at multiple cafeś"
Interesting thing is when the text is copy-pasted backspacing first deletes the accent. At least in chrome.