[0] https://www.nytimes.com/1972/11/16/archives/simmons-takes-mo...
[1] https://www.nytimes.com/1981/04/04/obituaries/john-w-simmons...
876 karma · joined August 1, 2016
[0] https://www.nytimes.com/1972/11/16/archives/simmons-takes-mo...
[1] https://www.nytimes.com/1981/04/04/obituaries/john-w-simmons...
[0] https://patch.com/virginia/arlington-va/northern-virginia-co...
In the same vein, I have to consciously avoid taking my phone out while sitting at a stop light or going to the bathroom
It didn’t used to be this way and I hate it
[0] https://www.nytimes.com/2019/12/03/us/mckinsey-ICE-immigrati...
The following HN thread has more details:
Why would you want to? Your whole environment will be down when the machine, or some component thereof, fails or is rotated out for maintenance
I think this is more of a benefit for cloud providers in that they can pack more disparate customer workloads on to a single machine.
https://www.washingtonpost.com/lifestyle/style/washington-po...
My comment re write-profile-optimize was geared towards the latter, i.e. using strconv is usually uglier to read than fmt.Sprintf, you probably should leave it alone unless you've profiled and found it to be a problem.
That said, the example using sync.Pool is not quite right. The New function should always return a pointer type to avoid incurring an additional allocation on Get [0]
The code should look like:
var bufpool = sync.Pool{
New: func() interface{} {
buf := make([]byte, 512)
return &buf
}}
b := *bufpool.Get().(*[]byte)
defer bufpool.Put(&b)
[0] see example in https://golang.org/pkg/sync/#PoolA lot, myself included. My wife and I gave it to each other for Christmas one year, right before our daughter was born.
At the time when we were new parents, it was perfect. We could exercise quietly without waking either the baby or each other, all without leaving the house.
Now that our daughter is older, we still use it albeit more infrequently in the summer when we both like to go out and run. However, the digital classes offered in the app are great for running & training. For me personally, it was easy to get stuck in a rut of just plodding along and not really improving my fitness. Having the coaches in your ear telling you what to do works well for me.
As of now[2], they get cleared when a GC occurs so they can be a bit quirky to use in practice. This behavior is changing though
[0] https://golang.org/pkg/sync/#Pool
They had cooling issues at one of their data centers that took most of South Central off line for hours to days, depending on the services you were using
They are ofrendas [0] which are part of the Day of the Dead celebrations. My understanding is that they are usually reserved for loved ones but beloved public figures are included as well.
Why does it need to?
[0] https://www.nytimes.com/2019/03/18/us/flood-facts.html?actio...
I wouldn’t be surprised if he is being sincere about visiting Sudan
Is it fair to lump Costco in with these other companies as an example of places where consumers don't mind paying higher margins?
From a quick google search on gross profit margins:
- Costco: 13%
- Nordstrom: 38%
- Apple: 38%
- Costco: 33%
Costco's is also likely skewed due to their house brand where they likely make a much higher margin than the name brands
As someone not from the Bay Area, will you please explain why this is obvious?
> Why can’t he do a better job with our multitude of problems?
Perhaps because he has only been in Congress since 2016 and in that time, the Democrats have been in the minority and mostly powerless to do much of anything
Most companies disclose what their process is up front and you're free to opt out at any time. Intentionally wasting the time of the recruiters and engineers at companies you don't want to work for just to "practice" just seems really rude
Perhaps that makes sense if you don't make it past the application or initial phone conversation
However, once a company gives you the opportunity to demonstrate your professional skills, either via a technical phone screen / homework / on-site whiteboard-a-palooza, I don't think its accurate to state that they're just not that in to you.
Your personal performance in that session is the reason for you advancing forward or not and when you don't, it is hard not to take that personally.
And indirectly by many more who use chef
You really shouldn’t give your dog any chocolate.
It is considered poisonous to most dogs
Its more or less a ghost town since BRAC moved out a bunch of agencies and contractors a few years ago. This had the effect of hollowing out what little independent retail / dining there was there as most of it catered to the office lunch crowd.
From a commuting perspective, its right across the river from DC which makes it very difficult to get to from a driving / bus perspective. Taking the metro is somewhat better but would require a transfer for many people.
There is, it is the Error class and its subclasses, e.g. OutOfMemoryError
Started 4 years ago[0] and raised $100m 5 months ago[1]
My personal opinion is that values should be in constant values if:
- Its repeated more than once or referenced outside of the file
- The constant value is a "magic number" where the meaning of the value isn't obvious to outsider
If the value is used only once and the meaning of the value is clear, I think extracting a constant out is needless indirection.
For example:
if (flags & 45676 == 0) {}
is a magic number that definitely should be a constant, even if its only used once: if (flags & ROLE_ADMIN == 0) {}
However something like: pool.setDefaultTimeoutMillis(1000);
is perfectly obvious in context IMO