74 karma · joined Aug 16, 2019 (7y ago) · 48 submissions
comment 9mo ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
Also, I agree with the main point of the article, but it shouldn't be so easy for any 16yo Tom, Dick or Harry to buy a gadget and start stealing cars. If it's so easy to make with off the shelf parts, then let the 'security experts' create their own.
Consumers need to be educated about keeping their keys away from doors/in a faraday cage.
comment 2y ago · link · parent
Honestly, since they banned indoor smoking and having people smoke 9m from doors, I don't mind it. What I do mind is people throwing butts all over the place, for some reason, even people who avoid littering don't think twice about throwing their dirty butts everywhere. Every time spring comes and snow starts melting it's so disgusting everywhere.
comment 3y ago · link · parent
The points needed to satisfy one of the clauses goes down as the "seriousness" of the crime goes up.
If you got 4 total points, you're out, but if you only have 2 points and it's due to a violent offense, you're also out.
comment 3y ago · link · parent
Also, minimizing the effort it takes to become a pop artist and being prude is such a cliche.
comment 4y ago · link · parent
Even if it is annoying to spend hours and not get an offer, I can see why they ask these types of questions to see your problem solving ability first hand.
I would expect any decent engineer to be able to solve leet code style question, or at the very least be able to model the problem reasonably well and give a recurrence. Even if the code contains errors or there's missing edge cases then it allows you to see how someone approaches a problem.
Leet code style questions are basically a bunch of combinatorial algorithms. Even if they seem like a different trick each time there's general techniques that can be used to approach each problem.
comment 4y ago · link · parent
So a developper can create contacts/caller app so that for example, when you click on a call button from say a google search, the OS asks the user to pick one app that was declared to be able to ACTION_CALL.
If I had to guess, I'd say it's something having to do with Teams being given priority on calls followed by failure to having priority for emergency calls and no way to gracefully recover.
Quickly browsing the documentation I see comments like
Note: there will be restrictions on which applications can initiate a call; most applications should use the ACTION_DIAL.
Note: this Intent cannot be used to call emergency numbers. Applications can dial emergency numbers using ACTION_DIAL, however.
[1][0] https://developer.android.com/guide/components/intents-commo...
[1] https://developer.android.com/reference/android/content/Inte...
comment 5y ago · link · parent
for i in $(seq 1 10)
do echo $i
done
Then you can just replace new lines with ; if writing a one liner. for i in $(seq 1 10); do echo $i; done
I guess it isn't as simple as python for i in range(10): print(i)
but it's pretty close aside from the variable binding.comment 5y ago · link · parent
[1] https://www.epa.gov/ghgemissions/global-greenhouse-gas-emiss...
comment 5y ago · link · parent
comment 5y ago · link · parent
I work mostly in payment related code, so most often I use bash to hot fix in production. Like if we need to refund certain people, I'll convert the refund api call to a curl call, get the data from sql and then just run a simple loop.
comment 5y ago · link · parent
In the late nineties, I distinctly remember internet cafes and the rise of Everquest which was inspired by diku mud. You had a bunch of young people playing console games, some mtg players, some pc players, etc.
Good times, it makes me sad for kids these days where mobile games are mostly gacha p2w slot machines.