I recently interviewed somewhere, and they too asked what range I was looking at. I said I didn't have a firm number in mind, because total benefits package is equally important to me as pure $ number etc. He said that's fine, and just told me the min, max and typical ranges for each seniority level. He told me the bonus and stock options that are included and even told me they are able to negotiate those beyond their 'standard' offering for the right candidates.
All in all, I was thoroughly impressed with the openness. Not all companies are out to screw candidates it seems.
Migrations are really the best way of handling it because you can go back to any point in time and have an accurate database structure. For example if you deploy on production and there's an issue, you can roll back your migrations to a stable point in time. Migrations are specifically designed to look like a paper-trail of database changes.
For your local development install, look into using seeders to populate the database with data. Then you can drop it and recreate it whenever you need.
I have a one-to-many relationship (one user owns many books) and I'm trying to get a list of all users with 'active' books and all those books, plus an aggregate value from the records. This is the best I've come up with since it returns the data in a convenient format (collection of users each with a ->books property I can iterate to display book info). Is there a better way?
When I tried joining the books table manually instead, it worked but each row returned was then 'standalone' (i.e. several rows would have the same user info) and required more processing in PHP to get into a convenient format.
$clients = User::clients() // this is a scope that excludes admins
->with(['books' => function ($query) {
$query->where('status', '=', 'active');
}])
->select(
'users.*',
DB::raw("(SELECT SUM(books.words) from books where books.user_id = users.id and books.status = 'active') as total_words"),
)
->get()
->filter( function ($value, $key) {
return count( $value->books ) > 0;
});
No-one here can tell you the answer, at least without more context. What problems are you experiencing with your PHP codebase, or what benefits do you think another language would give you?
The rule /r/JavaScript has is if the question has a correct answer, it belongs on SO, but if the question is more open ended it’s allowed, but with an AskJS tag. Seems to work well.
You'd want to use gel colors, not liquid coloring. It's applied using the cheapest brush you can buy from a hardware store (because you want really rough bristles for the texture). Use the brush to dab on almost neat gel color to the knots, gaps between the boards etc. And then you use vodka to wet it and blend the coloring. Water destroys fondant, but vodka will evaporate but still give you wetness for blending. So once the fondant is wet, you can keep going back and adding more coloring until you're happy with the result.
Once it's all dried, I then used a brown edible dust to dull down the surface all over.
You really don't need an airbrush to make realistic wood - in fact, I'd go so far to say it'd be more realistic without the airbrush, because a regular brush forces more texture. I've made a wooden-effect cake before without one.
Get a browser extension called "Honey". On Amazon, it'll calculate the best deal on any given product page for you, taking into account tax and shipping. I've found quite often that a third-party seller is actually a better price, even if Amazon's own price upfront looks cheaper.
(As well as enhancing Amazon, Honey can also try dozens of coupons when you check out on other sites, to see if any of them will save you money)
It looks like you're in the US - Target sell several versions of Terry's Chocolate Oranges in the lead up to Christmas :) They come in boxes about 3" square - blue for milk chocolate, red for dark (and other boxes for the different types).
The fun bit is smashing the ball into individual segments :)
Choosing not to use a language that enjoys incredibly wide support because a 1.5 billion-user site didn't scale with it seems ridiculous. I'm pretty sure scaling any platform to that size would have significant pains.
Unless you know for sure you're going to have 1.5 billion users next week, I wouldn't worry about it and pick the tool that makes most sense for your project as it stands now.
No-bake cheesecakes outside of America aren't something done for convenience - they're a legit style of cheesecake. In fact I'd say they're more common than the baked variety. They're just called "cheesecake".
I would guess SaaS contributes too. Back in the day, you went to hotscripts.com, found a php script, edited some php files to configure it, and if you were lucky there was an installer script to run.
Nowadays, with SaaS/Cloud products like Basecamp, there's much less need to set up PHP scripts unless you want to.
As an offshoot of that, PHP was the first choice if you were writing a web script because of its wide adoption. For those companies building cloud products today, they can now choose any language because they're controlling the infrastructure themselves. It might be PHP, but it could just as well be something else.
Following on from the Super Mario cake my wife and I made, this is a Spiderman bust cake we made for a friend's kid.
The head is fondant-covered styrofoam, the rest is fondant-covered yellow cake and buttercream filling. This is the third cake we've made, and the first that has involved piping and doweling.
Up until this cake we've used victoria sponge, but decided to use a different recipe this time. We used a modified box cake recipe to save time and improve the ability to carve it. It worked very well indeed and tasted good - we'll definitely be using this again for cakes that need shaping. Recipe is available at http://cakecentral.com/a/durable-cake-for-3d-and-wedding-cakes
Butter? I am certainly no expert at any of this, but from what I know, oil is the arch nemesis of a meringue. Perhaps that was the problem?
[edit] Oh my bad, I notice that was your filling, not the macaron itself. Unfortunately with the squishiness of them I didn't notice that was just the filling in the last photo. Oops!
Looks like it completely ignores prefers-reduced-motion too. That flashing video top right could be a nightmare for some users.
No, filter on input, escape on output.
Some ideas for random numbers: 4, 8, 15, 16, 23, 42
I recently interviewed somewhere, and they too asked what range I was looking at. I said I didn't have a firm number in mind, because total benefits package is equally important to me as pure $ number etc. He said that's fine, and just told me the min, max and typical ranges for each seniority level. He told me the bonus and stock options that are included and even told me they are able to negotiate those beyond their 'standard' offering for the right candidates.
All in all, I was thoroughly impressed with the openness. Not all companies are out to screw candidates it seems.
Migrations are really the best way of handling it because you can go back to any point in time and have an accurate database structure. For example if you deploy on production and there's an issue, you can roll back your migrations to a stable point in time. Migrations are specifically designed to look like a paper-trail of database changes.
For your local development install, look into using seeders to populate the database with data. Then you can drop it and recreate it whenever you need.
Oh that's beautiful and it works basically exactly the same as my attempt. Thanks a ton!
I have a one-to-many relationship (one user owns many books) and I'm trying to get a list of all users with 'active' books and all those books, plus an aggregate value from the records. This is the best I've come up with since it returns the data in a convenient format (collection of users each with a ->books property I can iterate to display book info). Is there a better way?
When I tried joining the books table manually instead, it worked but each row returned was then 'standalone' (i.e. several rows would have the same user info) and required more processing in PHP to get into a convenient format.
Could "none" work better than either of those? "This function return type is never" still sounds a bit forced to me.
No-one here can tell you the answer, at least without more context. What problems are you experiencing with your PHP codebase, or what benefits do you think another language would give you?
The rule /r/JavaScript has is if the question has a correct answer, it belongs on SO, but if the question is more open ended it’s allowed, but with an AskJS tag. Seems to work well.
You'd want to use gel colors, not liquid coloring. It's applied using the cheapest brush you can buy from a hardware store (because you want really rough bristles for the texture). Use the brush to dab on almost neat gel color to the knots, gaps between the boards etc. And then you use vodka to wet it and blend the coloring. Water destroys fondant, but vodka will evaporate but still give you wetness for blending. So once the fondant is wet, you can keep going back and adding more coloring until you're happy with the result.
Once it's all dried, I then used a brown edible dust to dull down the surface all over.
You really don't need an airbrush to make realistic wood - in fact, I'd go so far to say it'd be more realistic without the airbrush, because a regular brush forces more texture. I've made a wooden-effect cake before without one.
The most impressive thing to me is the texture on the frosting. How did you achieve that even 'peaked' striping?
Get a browser extension called "Honey". On Amazon, it'll calculate the best deal on any given product page for you, taking into account tax and shipping. I've found quite often that a third-party seller is actually a better price, even if Amazon's own price upfront looks cheaper.
(As well as enhancing Amazon, Honey can also try dozens of coupons when you check out on other sites, to see if any of them will save you money)
Those are really beautiful colors!
It looks like you're in the US - Target sell several versions of Terry's Chocolate Oranges in the lead up to Christmas :) They come in boxes about 3" square - blue for milk chocolate, red for dark (and other boxes for the different types).
The fun bit is smashing the ball into individual segments :)
Choosing not to use a language that enjoys incredibly wide support because a 1.5 billion-user site didn't scale with it seems ridiculous. I'm pretty sure scaling any platform to that size would have significant pains.
Unless you know for sure you're going to have 1.5 billion users next week, I wouldn't worry about it and pick the tool that makes most sense for your project as it stands now.
No, it doesn't have eggs usually - cream cheese, cream, sugar, your flavoring, and something to set it (a small amount of gelatin for example).
No-bake cheesecakes outside of America aren't something done for convenience - they're a legit style of cheesecake. In fact I'd say they're more common than the baked variety. They're just called "cheesecake".
This is very true. Facebook wasn't scalable at the start - they figured it out later.
Yep, perhaps a bit browner though.
I would guess SaaS contributes too. Back in the day, you went to hotscripts.com, found a php script, edited some php files to configure it, and if you were lucky there was an installer script to run.
Nowadays, with SaaS/Cloud products like Basecamp, there's much less need to set up PHP scripts unless you want to.
As an offshoot of that, PHP was the first choice if you were writing a web script because of its wide adoption. For those companies building cloud products today, they can now choose any language because they're controlling the infrastructure themselves. It might be PHP, but it could just as well be something else.
Following on from the Super Mario cake my wife and I made, this is a Spiderman bust cake we made for a friend's kid.
The head is fondant-covered styrofoam, the rest is fondant-covered yellow cake and buttercream filling. This is the third cake we've made, and the first that has involved piping and doweling.
Up until this cake we've used victoria sponge, but decided to use a different recipe this time. We used a modified box cake recipe to save time and improve the ability to carve it. It worked very well indeed and tasted good - we'll definitely be using this again for cakes that need shaping. Recipe is available at http://cakecentral.com/a/durable-cake-for-3d-and-wedding-cakes
Butter? I am certainly no expert at any of this, but from what I know, oil is the arch nemesis of a meringue. Perhaps that was the problem?
[edit] Oh my bad, I notice that was your filling, not the macaron itself. Unfortunately with the squishiness of them I didn't notice that was just the filling in the last photo. Oops!
See my reply here: http://www.reddit.com/r/Baking/comments/1wmciz/i_made_a_tutorial_for_making_french_macarons_i/cf3lcbr