TECH |
Engadget Japanese |
2017年8月16日、ソフトバンク回線を使った音声対応の格安SIM「b-mobile S スマホ電話SIM」が発売されました:今日は何の日? |
https://japanese.engadget.com/today-203055653.html
|
bmobiles |
2021-08-15 20:30:55 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
React.js&Next.js超入門 第2版 サンプルコードのバグまとめ |
https://qiita.com/SolKul/items/c2f03652267951419a2e
|
constdataerrorerruseSWRdatatxtfuncなぜこうなるかについては、pで返り値がオブジェクトのときの分割代入の説明をしているので、その説明が参考になると思います。 |
2021-08-16 05:36:40 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
3Dアニメーション制作の目標の目安に関する質問 |
https://teratail.com/questions/354524?rss=all
|
dnbspcg |
2021-08-16 05:54:47 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
text-align:center;で中央寄せができない |
https://teratail.com/questions/354523?rss=all
|
textaligncenterで中央寄せができない下記のquotconceptquotのquottextquot部分を中央寄せしたいのですが、中央寄せになりません。 |
2021-08-16 05:45:01 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Vue3でグローバル変数を使う方法を教えてください。 |
https://teratail.com/questions/354522?rss=all
|
Vueでグローバル変数を使う方法を教えてください。 |
2021-08-16 05:17:49 |
海外TECH |
DEV Community |
Introduction to JavaScript Bitwise Operators |
https://dev.to/isiakaabd/introduction-to-javascript-bitwise-operators-4i5e
|
Introduction to JavaScript Bitwise Operators IntroductionRecently on twitter a tweep asked how to determine if a number is even or odd I hurriedly answered using modulus Yeah my answer was right but any other approach I was hinted about bitwise operator JavaScript operates using different type of operator which includes Assignment operatorsArithmetic operatorsTernary operatorsLogical operatorsComparison operatorsTypeof operator Bitwise operatorsWe commonly use most of these operators in our routine but sparingly use bitwise operator especially if you just getting started with JavaScript This article will elucidate on different bitwise operators how we can use it and What s bitwise Bitwise is a level of operations that involves working with individual bits which are the smallest units of data in a computer a bit can be or All bitwise operations are performed with bits binary numbers and later converted to bits javaScript works with bits In this article we will make use of ES arrow function syntax and conversion to decimal base will follow the example below Conversion of integers to bit will be done using the binary operation as illustrated below Writing of the bits begins from the lasts bit to the first as pointed by the arrow From the above snippets we can conclude that numbers that has the last bit as are even while integer with last bit as are odd Converting to bit we haveBut for simplicity sake we remove the preceding s and our bits are Types of Bitwise Operators amp ー AND ーOR ー NOT ー XOR lt lt ー Left Shift gt gt ー Sign Propagating Right Shift gt gt gt ー Zero Fill Right ShiftLets get started amp AND OPERATOR This return if the corresponding bits of operands are and return if they differs Below is a table for comparison Example The example below is a function that computes the AND operator Common interview question is to determine if a number is even or odd JavaScript Bitwise AND can be used Example Determine if a number is even or oddExplanation As I said earlier Even Numbers when converted to bits ends with JavaScript compares the last bit and discard the remaining Therefore amp will return Example The below code checks for odd NumberExplanation This check if the last bit is then compare amp and return true otherwise return false OR OPERATOR This return if any of the corresponding operand s bit is and return is the operand s bits are Below is a table illustrating different bits combination Example The below code takes two operands as arguments and perform the OR bitwise operation NOT Operator This accepts only one operand unary operator performs NOT operator on every bit bits that are become and bits that are turn to forming the ones complement of the given binary value Example The function below performs NOT operationExplanation As we said earlier operator turns the bit from zero to one and vice versa becomes in decimal Few things to note The first bit by the left is called the sign bit The sign bit is for positive integer and for negative integer The remaining bits are used to represent integer the maximum bits integer that can be represented can be calculated as While the minimum is Bitwise operators convert their operands to bit signed integers in two s complement format when the NOT operator is used on an integer the resulting value is the two s complement of the integer as shown below XOR OPERATOR Also called exclusive Or it returns if the operand s bit are the same or and if different return Example The function below performs XOR operation lt lt Left shift OPERATOR This takes two operands the first is an integer to be converted to bits while the second operand is the number of bits of the first operand to be shifted away from the left and added to the right Example The function below performs Left shift operation gt gt Sign propagating right shift OPERATOR This takes two operands the first is an integer to be converted to bits while the second operand is the number of bits of the first operand to be shifted away from the right and also discarded from the left Example The function below performs Sign propagating right shift operation gt gt gt Zero fill right shift This behaves like the sign propagating right shift gt gt operator The difference is that bits are shifted in from the left Example The function below performs Zero fill right shift operation Thanks for Reading If you enjoy this and wish to get Notified when I published new articles click here to subscribe |
2021-08-15 20:37:12 |
海外TECH |
DEV Community |
Standards to get into a recruitment process from a developer perspective |
https://dev.to/rolandobarbella/standards-to-get-into-a-recruitment-process-from-a-developer-perspective-571h
|
Standards to get into a recruitment process from a developer perspectiveSoftware developer is a career famous for having a lot of opportunities in the market where many companies are looking to fill their multiple positions from arguably a “small pool of talent But have you ever thought Is it true the number of good developers is so little I have seen opinions where they believe less than are actually good enough even people who say less than or perhaps the recruitment process in many companies is neither the most efficient nor fair From what I have experienced also from the opinion of many others the hiring process seems somehow broken Probably the biggest problem with software recruitment is how companies qualify skills from candidates I have experience also heard some interesting stories regarding the way they try to do this from the nonreal life algorithm puzzle to rejections due to the developer not adding eslint to the takeaway home exercise Let s break down some of the different way companies “makes sure a developer has the right skills The algorithm puzzle KataUsually this test gets sent on an email that contains a link that will redirect you to a coding interview platform like codility right away before starting the test you will see some instructions similar to the following A few things before you start This assessment consists of tests It will take approximately minutes to complete The assessment is timed A timer is shown per test or per question Please allow the use of your camera webcam and do not leave full screen mode Snapshots will be taken of you periodically during the assessment These measures are taken to ensure fairness for everyone Your assessment contains one or more coding tests You may leave full screen mode while working on the coding test Full screen will be re enabled after you finish the coding test Turn on your speakers or headphones to play audio You are free to use a calculator pen and paper We recommend completing the assessment in one go From all these things probably the more interesting one is when they say “Please allow the use of your camera webcam and do not leave full screen mode Snapshots will be taken off you periodically during the assessment These measures are taken to ensure fairness for everyone This translate as “you can t cheat right Well I find this unfair even somehow rude we as developers search for information “answers opinions etc all the time is part of our daily job some people say it is even a skill Also why would I allow anyone to take snapshots of me because the company can not simply trust its own process An important aspect to mention is once you see the challenge most of the time it is a not real life scenario problem from a messy piece of data you need to somehow loop in different ways to finally get the expected result to the ones that require to apply complex regular expressions I can honestly say have almost never written complex regex without googling it is just not every day or even a monthly task for me to remember apart from not being fun at all Another characteristic to notice from these automated tests is the expected result if you make the unit test s pass a real person will then review the solution at some point however if it fails you can probably get an automatic rejection without even having the opportunity of someone looking at the code even if the solution is close Now how do I know this I actually did an experiment can not exactly remember what was the challenge about but let s say after applying the corresponding logic to the exercise the expected output was to return a string like “Hello world I on purpose did something like “Hello world notice the extra space after the word world the unit test s fail off course I still submit the code like that though not long after a rejection was made even though it was close to the solution there is a high probability no one reviewed the code This is another reason why I do not believe in companies that tried to automate their recruitment process this way the lack of human understanding is not a very good sign In regards to the code interview platforms usually they try somehow to offer an experience close to what you get in a text editor but inside the browser however is not even close to what you feel when coding with VS Code or even something like code sandbox this adds a not need it a layer of difficulty to the test The take away coding taskI have done a few of these they re somehow fair the majority do represent a real life problem or a mini app from what you can possibly be doing during the job The problem sometimes is that you don t know exactly what do they expect the README file might not be the best some of them mention “production code but each company have a different idea of the so called “production code term or “scalability others might expect the opposite they want you to just focus on a straight solution without overdoing you sometimes wonder what direction to take this is mainly because the instructions are not well defined therefore it is recommended it to email back asking any question if you don t feel something is clear enough otherwise you might delivery something different from their assumptions This test should not take you more than hoursUnfortunately some of these tasks can come with a time indication that does not seem to represent the reality of what you need to do I m not the only one who has seen a weekend test with a hrs expectation When I was a Jr dev I use to think “am I that slow “the good developers can do it in this time frame but not me A lot of the time it was a wrong estimation from their side especially when they ask for “best standard “production code “good file structure “testing etc The white board testArguably the least favorite one you spend your career writing test in front of a computer now time to go back to school write on a physical board in front of some people you probably don t know the candidate is supposed to explain his approach while writing also I have not been so unlucky to do many of these but on one occasion a company made me do a whiteboard test which I could not quite solve at the end of the test the interviewers almost walk away from the room without explaining what I was supposed to do I ask them if they could please tell me what was the “right approach for the problem When they tried to explain it they were not sure either on how to solve it meaning they did not quite understand their own test believe it or not Live pair programming testLike the title points out the interviewer and candidate work on a problem to solve it can be quite intimidating not sure many people like being look at while coding especially when you don t know the other person well it is hard to show your best potential here some interviewers might not be compassionate enough where they just stare at the screen while you are coding without trying to make the atmosphere a bit more relaxing also if it is a real pair programming the interviewer should somehow help the candidate out a bit or give them a little push forward if they seem nervous especially knowing the interviewer is familiar with the code she he knows the test well is not a surprise for them If the interviewer want s to imagine how this person behaves acts and code in a real app scenario then the candidate should be allowed to google as well if we do it in our everyday job why would you not do it in a test HistoryNow who are the persons behind this process Well the answer is none other than the Sr devs who have previously face a similar recruitment process they just continue with the trend today How did all this started Hard to know but looking at the past they are some clues GoogleThe giant company maybe a couple of others as well were famous for doing the whiteboard test some years ago not sure what is their process now but back then a lot of developers “dream of getting a job in one of these companies due to this a book called Cracking the coding interview came out becoming very popular all sort of companies from person startups to mediums ones became to copy the Google approach if they did not do the whiteboard test at least asked about the famous Big O theory explained deeply in the mentioned book What these other companies did not do is ask themself are we Google are we that big do we faced the same type of challenges I guess you know the answer if you are not Google or Facebook why would you qualify people so similar to them Fizz buzzProbably the most famous coding test ever to be made when you do a search on Fizz buzz the following definition is found “The Fizz Buzz test is an interview question designed to help filter out the of programming job candidates who can t seem to program their way out of a wet paper bag wow some big words are written here “ who fails on this test can t write code boy how did they end up with this conclusion Where was this experiment made From stories I heard and read a few Sr dev got rejected after falling the test some people argue saying things like “how can she he be a Sr dev charge that type of money if she he does not know how to solve a simple exercise like this To explain more or less what happen in some of those rejections I will like to compare it to a sport call baseball yes baseball When a hitter faces a pitcher in a professional level the player usually has his swing timed to hit a ball which is throw at a velocity between and miles per hour very hard however they are some “funny situations in random occasions when a team almost runs out of pitchers after a long game they tend to bring a position player to throw a non pitcher the new “pitcher tends to throw the ball at a velocity between and miles per hour this sometimes takes the hitter to a situation were he s completely out of balance he s mind and body are used to much bigger challanges but now they are being surprised resulting sometimes in a fail at bat for the player Now does this means the hitter is not good enough Or he did not deserve to make the team after even decades of hard work absolutely not As a fact this type of situations last very little one inning or less the player then is taken out of the game because if the “slow arm pitcher is left throwing longer the opponent hitters will make the adjustment sooner than later and massacre whatever he pitches On the other hand others candidates did pass the test but the reason why was not always because they had better thinking or skills no You see the test got so popular that many companies were testing candidates this way to the point that many knew the Fizz buzz quiz could come so of course they came prepare I sometimes wonder how many wrong hires happened after doing this or how many good hires were actually missed At the end the Fizz buzz trend did more harm to the recruitment process than any good What is the solution I have made some arguments on why I think the recruitment process is not great but how can we do it better I can only offer some thoughts that might make a difference What ever type of test you do it is always best to set a challenge that represent a common task your team does on a daily basis the word common does not necessary means easy I believe when we hire someone to help our team is to “push the product forward by building features improving code finally solving some hard problems but for some reason most focus on testing the hard problem part this problems are usually not the most frequents when they appear usually the person search dig ask for help until the solution is find If your company have to many hard problems then they might be some bad decisions made some where else by the way who made those decision The same person who pass the tricky kata interview There is also ways of qualifying someone by just having a technical chat specially if they already on a senior level Many topics fundamentals approaches etc can be discuss by just talking with the person but not asking the obscure edge case like the famous Kyle Simpson once said “I ve forgotten more JavaScript than most people ever learn but off course that does not mean he doesn t know enough Javascript to find a job in any good companyTake a way test are not so bad but please remember is a test something that can showcase skills logic but always small or features max try assigning something that can be interesting and fun Remember candidates are doing this in their spare time when they might feel tired they could also be doing other test with different companies appreciate their time and effortIf you are going to do a live pair programming test try to be as kind and friendly as possible make the first move if you notice the candidate is somehow a bit unsure on where to startIt might sound obvious but the test should be something members of your team can solve with confidence otherwise you might have to review the recruitment applied in the pass ConclusionPersonally I do not participate in process that involve algorithm puzzle kata neither white board tests more than happy to face a well done take away test a friendly pair programming and off course a technical chat about different interesting and challenging topicsBefore getting into a recruitment process make sure to ask what type of process they fallow how many stages they do how do they test technical skills look at recent interview reviews in Glasssdor do they even bother to give feedback to the candidates the more you find out the better If they don t meet with your standard is better not to get involve you will be saving a lot of hassle be patientan the right opportunity will eventually come On the other hand If they do meet with your standards and you decide to participate please add your experience in Glassdor so it can be public for everyone the more open transparent this process are the better community we will be able to build and offer |
2021-08-15 20:01:44 |
Apple |
AppleInsider - Frontpage News |
Harber Slim Laptop Backpack Review: lightweight,protective, and gorgeous |
https://appleinsider.com/articles/21/08/15/harber-slim-laptop-backpack-review-lightweightprotective-and-gorgeous?utm_medium=rss
|
Harber Slim Laptop Backpack Review lightweight protective and gorgeousYou ll want to carry your MacBook Pro in Harber s Slim Laptop Backpack and it s big enough to take cables an iPad and more Harber Slim Laptop Backpack with MacBook Air not included Well designed well made strong light ーand that s just the bag it comes in Harber s Slim Laptop Backpack is all of these things but the sense of care the sense that you ve bought something special begins before you can even see it Read more |
2021-08-15 20:53:09 |
海外TECH |
Engadget |
T-Mobile investigates claims of giant customer data breach |
https://www.engadget.com/t-mobile-data-breach-investigation-202913474.html?src=rss
|
T Mobile investigates claims of giant customer data breachT Mobile is grappling with yet another reported data breach The carrier told Motherboard in a statement that it s investigating an quot underground forum quot member s claims that they re selling data for over million customers including social security numbers and device IMEI numbers While the scale of the breach hasn t yet been verified Motherboard has confirmed the authenticity of at least some of the data The intruder is selling data for about million customers for the equivalent of in Bitcoin The rest of the data is reportedly being sold through private channels It s not certain how the perpetrator obtained the info T Mobile supposedly booted the attacker out of the servers but not before they downloaded and purportedly backed up the content The network has a less than stellar history of breaches in recent years Hackers compromised sensitive customer info in late while a late attack scraped limited data for about users If the forum claims are accurate though this is much more serious T Mobile had over million customers as of the second quarter of ーthis breach might affect virtually every user While it s not certain just how much real damage has been done you might want to watch out for suspicious activity if you re a magenta subscriber |
2021-08-15 20:29:13 |
ニュース |
BBC News - Home |
Barca edge out Real Sociedad in first game of post-Messi era |
https://www.bbc.co.uk/sport/football/58224419
|
barca |
2021-08-15 20:30:53 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
アフガン政権崩壊、タリバンがカブール掌握 - WSJ発 |
https://diamond.jp/articles/-/279569
|
政権崩壊 |
2021-08-16 05:27:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
倒産危険度ランキング【外食25社】「禁酒令」で大打撃の居酒屋が上位独占 - 廃業急増!倒産危険度ランキング2021 |
https://diamond.jp/articles/-/278489
|
危険水域 |
2021-08-16 05:25:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
倒産危険度ランキング2021【ワースト1~100】上場廃止オンキヨー29位、1位は? - 廃業急増!倒産危険度ランキング2021 |
https://diamond.jp/articles/-/278488
|
上場企業 |
2021-08-16 05:20:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
一流のコンサルを潰してしまう、危険で損な「顧客の振る舞い」 - 中野豊明 さらば!コンサル |
https://diamond.jp/articles/-/278744
|
振る舞い |
2021-08-16 05:15:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「大手ITベンダーは無能」と幹部が豪語も、デジタル庁が結局NTT・富士通に依存の理由 - ITゼネコンの巣窟 デジタル庁 |
https://diamond.jp/articles/-/278752
|
|
2021-08-16 05:10:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
30歳・年収1000万円もあり得るスタートアップ転職、メリットとリスクは? - 転職で幸せになる人、不幸になる人 丸山貴宏 |
https://diamond.jp/articles/-/278742
|
歳・年収万円もあり得るスタートアップ転職、メリットとリスクは転職で幸せになる人、不幸になる人丸山貴宏大企業における中途採用が活発化しています。 |
2021-08-16 05:05:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
タリバン制圧地で処刑や強制結婚、アフガン市民の悲痛な声 - WSJ発 |
https://diamond.jp/articles/-/279570
|
強制結婚 |
2021-08-16 05:04:00 |
北海道 |
北海道新聞 |
ダルビッシュが負傷者リスト入り 腰の張りで離脱 |
https://www.hokkaido-np.co.jp/article/578499/
|
大リーグ |
2021-08-16 05:13:00 |
ビジネス |
東洋経済オンライン |
パナソニック、逆風吹く社内で「巨額買収」の攻防 相次ぐ幹部の慎重論に「新旧社長」が下した決断 | IT・電機・半導体・部品 | 東洋経済オンライン |
https://toyokeizai.net/articles/-/448190?utm_source=rss&utm_medium=http&utm_campaign=link_back
|
東洋経済オンライン |
2021-08-16 05:30:00 |
コメント
コメントを投稿