1,048 karma · joined April 25, 2014
The common string based solution was to use a for loop, convert the counter to a string, parse the digits converting each one to a an integer and performing the calculation.
The exercise was given in C# so candidates just use string interpolation to output the result
I've worked with a few of these folks over the years. No one wanted them on the team and they contributed nothing, but somehow they managed to retain their job. These types were the first ones to go whenever there were staff cuts.
I've come across this interviewing too. We had a guy say "I can't do this.". I said, it's OK if you can solve it...let's just start it and work through it together. It's more important that we see how you approach problems and work through them. "No...I don't think I can."
Myself and another team member worked on the questions, and we gave them to the team. Everyone was able to complete the exercises in a reasonable period of time, so we knew they weren't going to be too challenging.
Pre-screen question: For the numbers 1 to 99, print the number if its digits do not add up to ten. Otherwise, print the number and its digits 91 (9,1) if it adds up to ten. Download the file quiz.txt and use it a starting point for your program, keep it simple and make sure your output matches sampleoutput.txt exactly. When you've completed it, rename it to yourname.txt and email it to quiz@company.com with the subject of "Your Name: Completed Exercise".
A lot of people would just use convert the strings to numbers and then do the test to see if it adds up to ten, in this case I would kick it back to them and ask it to be solved mathematically. Usually, we'd get a response back right away with the "best" solution. Candidates that completed the exercise correctly and followed the directions got 15 minute phone screen to see if they had the technical background required.
For the in-person (or Zoom) interview question, we had a problem that required modifying HTML, CSS and JavaScript to come up with a solution. We stated this up front, and tell the candidates to use web resources to look up anything they need to. It also requires using modulus which they should already know (or figured out how to use!) in the screener exercise. If someone got stuck on something we felt they probably knew we'd give them some hints and they'd relax a bit. Most people solved it within 5-15 minutes, but there have been people that couldn't do it at all event with lots of hints.
In that case, we'd usually just end the interview and thank the candidate for their time.
From here we'd do some database exercises if their role called for database, and move onto an deeper assessment of technical background. That process worked well, and they're still following it today.
I cook mine in a stainless steel pan without oil. The sugars will start to caramelize in the bottom of the pan. At a point I add a small amount of water to the pan (less than a tablespoon) and then cover with a lid. If it's a 10" frying pan, I use a 4" lid. The steam cooks the onions quickly and the cooked onions absorb the browned sugars from the bottom of the pan.
People really make cooking a lot more difficult than it needs to be. If it tastes good and your technique works, who cares?
Once a match replies, ask some playful open ended questions and if you're telling a short story, leave some cliff-hangers to try to get a follow-up response and then segue into setting up a date. Looking at my last conversation, I asked my match out on a date in my 7th message. After that we moved over to SMS.
I replaced it a few years ago with a more recent HL model that is almost identical, but has wifi. Really happy with the quality and reliability of both printers so far.
I spent a couple of days tracing out the schematic and wiring everything up again, cleaning contacts and doing some basic repairs like changing lightbulbs and rubbers. By the end of the process, I had a playable pinball machine.
What was really an eye-opener for me was how the game was "programmed". Timing was handled by flashing lightbulbs and game state was maintained by relays and wheels that triggered stacks of switches. Really a different way of thinking about how to build up a game.
I didn't play game enough and want to spend the time to keep it running, so I donated it. It was really enjoyable to fix it up (once) and figure out how everything worked. I might do it again some time!
tldr;
Americans are building large, ugly homes out of cheap materials that have environmental impacts due to heating/cooling costs and distances required to drive.
This week I harvested morels which the local grocery store sells fresh for like $40/lb.
There is a catch, and that catch is you eat whatever is in season. It does require getting creative with recipes. I live in zone 6B and have fresh greens from April - December. Winter squash will store well into the spring. Nuts in the shell will last years. I have black walnuts that I harvested in 2019 that still taste great.
How do you find the time to post on social media 15-30 times a day and create the extrapolated content? How do you create quality social media content from based on your main content?
I am working FT on a startup and social media has been a stumbling block for me because it takes a lot of time and I am having trouble balancing building the product and marketing/advertising it.
At the channel's peak, I was trying to publish a DIY video where I would build something two or three times a month. I started the channel because I enjoy making stuff and thought I would be able to do more of it and maybe get paid to do it.
As I continued, I worked hard to polish my production style and I realized I was prioritizing the video production over doing what I loved. Making videos taking time away from actually making stuff and making the projects take 10X longer. So I stopped.
I still post videos from time to time, but I try to do everything in a single take and not spent more than an hour editing it. Last year I finished a project I was pretty proud of and spent about 20 hours working on a video and it only got 100 views after the initial posting. For me, it takes a lot of self promotion to get the algorithm to recognize the video as a good video and have it be shown to more people. The self promotion part is something I really dislike doing.
YouTube is great for people that love the process of making videos because it's a win whether someone watches your video or not. Editing can be fun, but for me it gets tedious and I prefer doing a lot of other things.
https://news.ycombinator.com/item?id=35778337
https://old.reddit.com/r/GooglePixel/comments/134so18/i_fina...
Getting involved in my community doing different kinds of volunteer work as well as activities I find fun has been the best way to get to know strangers and make new friends. It's easy to make a new friend when the two of you share a couple of passions!
Putting anxieties aside and being more outgoing and having enjoyable small-talk conversations was not a skill that came naturally to me, but rather was one that needed to be developed over time.
It's a skill and the I think the benefits of it are well worth the effort to develop it.
In this case, I believe subtle changes were made to this bill just before the NYS legislature was going to be on recess and it passed and signed into law.
SHIFT [p] into range
I don't understand what that means. Is it telling me to put the car back into park? Why not just say the door is open? My '05 Subaru had lights on the dashboard that showed each door that was open - a really sensible way of indicating what to do without having to read anything.
I still wear my leather jacket that I bought 20+ years ago when I started riding motorcycles. I've replaced the liner but the leather is perfect.
The focus should be on developing an intuitive understanding of your target language. Besides making you think in your native language again, the translation drills become a frustrating game of guessing the correct phrasing Duolingo is looking for.
Reading, listening and having conversations with native speakers is how you learn. The language learning platform should be there to help you do that.
If I were to define software quality as a combination of performance and stability, all Adobe products have been in steep decline over the past two decades. Inkscape is still missing a few key features for printing so I do my work in Inkscape then bring it into Illustrator before printing.
That's in large part to light trucks having less stringent fuel-economy regulations.
It was hard work, but a great experience. There were some 10-12 hour days when we were planting, and it got pretty busy during harvest season. We had days off and typically during the busy part of the season we wouldn't spend more than 4 hours working. Our parents also worked just as hard as we did.
It was great because there was no set schedule and we learned some things about entrepreneurship. I was proud of the work we put in and what we were able to achieve. The last season we ran the farm, we made about $12,000 in today's money.
I don't think this form of child labor should be discouraged, but rather encouraged.
Running Chromium Edge 111.
Edit: works fine in Firefox.