@SargeBorsch It is a really cool language but I don't tell people to use it for the same reason I don't tell people to use C++, D, Rust, and other languages that give off the same vibe.
Dear all. Here's an unanswered repeat from last week:
If I want to install Windows on, say, a bare-metal Thinkpad X1 Carbon with no OS, then I can buy Windows and install it. Windows includes numerous drivers. If there are any necessary drivers missing, I can normally get them from the manufacturer, use the Add Hardware Wizard, and install them.
But, if I want to install Android 6.0 "Marshmallow" on, say, a Samsung Galaxy S Relay 4G, then things are not so simple. True, I could (in theory) download and install some random Nexus ROM shipped by Google. But such a ROM includes far fewer drivers, and in fact may not allow my phone to boot up at all. And there's no UI for downloading and installing signed drivers downloaded from hardware-manufacturer websites.
Why does Android not include any driver-installation UI?
And how does Android deal with USB On-The-Go devices which it doesn't know how to talk with?
(Bonus question: Maybe my question is unanswered because it was of poor quality. How is the question's quality? Could I improve it somehow?)
1. On desktops and laptops, drivers are a necessary evil. Hardware is often user serviceable and prone to changes, and there is a huge variety of combinations. On phones and tablets, this isn't quite so. You can't really change the hardware easily, and it's entirely safe to lock out driver installations since you don't really need them 2. It is a lot easier to break ARM devices than x86 with messed up drivers 3. Drivers on Android must be written for specific kernel versions and all. It is easy to do for a manufacturer, hard to get right as a user
Raghav: Thanks! I've now copied my question into a real Android.SE question. Could you please copy and paste your answer into an answer there? I can copyedit it afterwards.
On desktops and laptops, drivers are a necessary evil. Hardware is often user serviceable and prone to changes, and there is a huge variety of combinations. On phones and tablets, this isn't quite so. You can't really change the hardware easily, and it's entirely safe to lock out driver installa...
Is there anything about the question which I could improve?
@unforgettableid Who knows, it seems like a good question to me. If it's a duplicate then they should give the link to the duplicate answer, or if it's inappropriate they should tell you why.
I am trying to set the best possible output picture size in my camera object. So that, i can get a perfect downscaled sample image and display it.
During debugging i observed i am setting output picture size exactly the size of my screen dimensions. But when i DecodeBounds of the returned image ...
I see, but you could always just hire 6 scala guys that are experienced enough to have good overlap. And modularization is always key for team projects.
user457812
Or you could just not use languages that require hiring from a very limited pool of people.
user457812
Either use a language that is easy enough to learn so the next person can take over when you die, or take on greater risk by using more "special" languages.
It's not that limited if you allow remote employees.
There's definitely a tradeoff I agree, but we'd be selling ourselves short individually if we constrained ourselves to only the most popular languages.
it's the learning curve vs. efficiency and expressiveness once you master it.
in defaultConfig or buildTypes, I use buildConfigField 'String', 'AD_SDK_API_VERSION', '"1.0"' which makes public static final String AD_SDK_API_VERSION = "1.0"; available in the class BuildConfig at runtime
If you're a Windows OS user and want to store keys/passwords to System variable, Keep in mind you'll have to restart your PC to get the value via System.getProperty().
Raghav it really depends on how much money you are willing to spend; but since it's a used one I would 100% pass it through a technical test before buying it
So you could drive and test brakes/ weels etc and also you could hire an engineer to drive and check the machine in general before you buy it; it might seem good from outside but you don't know the 'inside' situation if you don't test it
I'm glad I had some excellent ones especially for theoretical topics which I'd otherwise find difficult to motivate myself to deal with them more closely
Google's annual CS4HS (Computer Science For High Schools) grant is designed to increase awareness of and interest in Computer Science amongst high school and primary school students through the help of their teachers. The program connects teachers with university academics who provide them with the training and resources they need to teach Computer Science in fun and relevant ways. Successful CS4HS projects meet stringent criteria related to scalability, diversity inclusion, impact and accessibility. Also, they must follow a 'teach the teacher' model, through which high school teache…
TL;DR : if you apply for companies like MS, GOOG etc be prepared and have nothing to do during that period; that was my biggest mistake I was applying while having exams
The questions are solvable but they need to be solved at maximum efficiency; meaning that your implementation must be the best possible. Atleast that's what MS in Austria was looking for at that time..
I've been told to always ask, interviewers look for that. ex:
Interviewer: Sort this list. Me: Would you like a sort that is simple, such as bubble sort? Or are you concerned most about efficiency? (In which case I'm going to write a quick sort).
That's what my professor told me, if I ever interview with a big company. She said she knew a MS recruiter who said too many students don't ask questions. For example, if they just want you to solve a problem using a Queue, ask if you have to write your own or if they'll allow you to use the collections framework.
Interviewers really want you to ask more questions to understand THEIR question better.
Because realistically, we write code to solve problems all day long, but if we solve the wrong problem because we didn't do enough investigation, we're wasting our employer's money-hats $$
If it's at the start of the interview, they want to ramp you up. For one, it could serve as a confidence builder for you, so you're less nervous, and two, maybe you're terrible and can't even do that much.
Alternately, maybe they are hiring you as, say, a mobile apps developer. In which case, why the hell would you ever write your own sorting method? Show me comprehension of basic sorting via Bubble Sort, and then lets move on to other more mobile-dev-related questions. (I've never had an employer this sensible about interviews, but hey, I can dream, right?)
We're filling out a card for boss's day and he wrote "["Hip", "Hip"] it's boss's day!"
@MechEthan Yes, that would be a dream though. I don't think all interviewers are big scary robots though, we as interviewees just feel that way for some reason.
Posted by Lily Sheringham, The Google Play team Google Play has kicked off its annual event series Playtime, which is running in 12 countries globally. Playtime offers developers the opportunity to learn tips and best practices about how to grow your app or games business and succeed on Android and Google Play. You can now watch the Playtime talks, listed below, on the Android Developers Yo…
When executing the enter transition, the background starts transparent and fades in. This requires FEATURE_ACTIVITY_TRANSITIONS. The default is 300 milliseconds. Source
Anyone use LruCaches here? If so, how would you go about using an LruCache and overriding the create method if the object you are caching needs Context to be created? I went with having the key object of the cache require a reference to Context. Is this a good idea?