The most absurd tests I've ever taken for a dev job Ask Programming |
- The most absurd tests I've ever taken for a dev job
- Now that we're all remote, have you discovered any great online tools to make programming/software communication easier?
- What does it mean that "C++ MPI bindings are no longer part of the standard"?
- A Ruby and JS developer finally learning Python but...
- How do you manage to learn new tools and tech while working on a full time job?
- The ninja programmer skills ... what do you think?
- A Simple(?) Request...
- tab to space when indenting
- Fairly New To Programming And Need Some Help Fixing/Disabling Errors(Python3/Pygame)(Sorry If This Is Stupid)
- Segmentation fault while initializing 2D array.
- I want to validate URI Patterns in my Spring Boot Application. Beginner here with no such experience. Please help
- Network programming for a game. Noob questions.
- Examples of poor and high quality software
- C++ Performance Help on VS19
- What is neo4j like? Is it worth learning or should I just develop my own graph?
- I have no idea why my function is not plotting in r
- Running Time Recursion Tree
- How do apps like Snapchat and Messaging work?
- Is it worth having a single source of truth for all the software/services in a company?
- SMALL QUICK QUESTION ! WHAT IS FASTER
- Python cryptography library works for bazel test and benchmark – how to get it to production use?
- A Visual Sorting System That Popped Into My Head-- any advice?
- How to start a internal tech talk program
- With Moore’s law leveling off, have you noticed any resurgence of assembly?
The most absurd tests I've ever taken for a dev job Posted: 09 Sep 2020 12:59 PM PDT I'm fuming pretty hard right now, and just wanted to commiserate with other job-seekers. I had the opportunity to interview for a large company in California for a Java developer position. Previously I have 2 years experience in Java. This company sent me two tests: one of them was a single question, to develop an algorithm that adds huge strings of numbers together without using any conversion. My webcam had to be on, recording my face the entire time, and I was not allowed to use documentation or tab out or anything. I was okay with this one even though I found it to be overkill. The second test was a THREE HOUR LONG, 60 QUESTION TEST with tons of questions like "Will this extremely long piece of code compile? Why not?" and "Which code block should replace the ***** line?" etc. and was riddled with tons of weird grammatical and spelling errors like "Which line should be catched the exception?" It was so ridiculous I just quit halfway through, emailed the company, and told them I wasn't interested any longer. Anyone ever experienced this kind of bullshit? [link] [comments] |
Posted: 09 Sep 2020 07:28 PM PDT I've personally been looking around for a good software diagramming tool [link] [comments] |
What does it mean that "C++ MPI bindings are no longer part of the standard"? Posted: 09 Sep 2020 09:37 AM PDT I genuinely do not know what that means. What are "bindings"? I've been working on a large computational physics program for several years now in C++. It uses MPI and it seems to work just fine. However I've been told (and read online) several times: "Uh oh, watch out! The C++ bindings are deprecated." What does that mean? Does it mean you can no longer use MPI in C++ programs, and that I must re-write my project in plain C? Thanks! Edited to add: "MPI" is Message Passing Interface, by the way, a library for performing parallel calculations on multiple processors. [link] [comments] |
A Ruby and JS developer finally learning Python but... Posted: 09 Sep 2020 07:22 PM PDT I find it kind of boring because I already know Ruby. I'd rather be inspired by things I learn and I'm thinking of taking the plunge and delving into Kotlin. I've been wanting to learn a more explicit language like Java but Kotlin is newer. Should I just go with my heart on this or is it advised to learn python because there are so many developer jobs out there that use it? I suppose it all depends on what I want to do. [link] [comments] |
How do you manage to learn new tools and tech while working on a full time job? Posted: 09 Sep 2020 03:40 AM PDT I have been working as full time backend python developer in a company and mainly work with flask and its architecture. The job I do ranges from complex CRUD to RESTful APIs development. As I work in a corporate tech company I must abide by the project manager requirements and decisions about the system architecture, tools choice and others. Due to this there is no place to experiment and try some new stacks or tools. I am a guy who enjoys learning by doing rather then just learning and this has been hindering me much. Yes, I could request my project manager to introduce new tools but always the answer is client doesn't have the budget. Example 1: Someone could say: you learned docker system right? That was your goal no? Why rant? My answer: Yes, I learned but using it in the real scenario where the project is complex and huge (not just a personal blogpost) would give more understanding about the tool. It would give more insights and also there is debugging, optimization in the course of development which would greatly help to learn more. So just by working on a personal project won't give you all the experience and knowledge needed to excel the tool or stack. I can't scale my personal tutorial project to a massive application. I do need that good work-life balance. So my question is, is this feeling mutual or its just me being overwhelmed. If yes, how do you excel new things? Suppose You love ELK stack and know one or two things about it. Your company doesn't have the budget or client to implement that. What would you do to be the A Game on the ELK? [link] [comments] |
The ninja programmer skills ... what do you think? Posted: 09 Sep 2020 06:34 PM PDT Hello, I've been reading lately general random discussions about what makes someone a hardcore programmer, and since the day I started my self-learning journey which started by learning python which was 18 months ago, I kept gradually expanding my practical experience through many hands-on projects, books and courses. At the very beginning(the first 2-3 months of learning) I started by learning the basics and solving programming exercises, then started by doing projects that take weeks to months, and ended up by diving deeper into machine learning & deep learning, special thanks to Andrew NG's awesome coursera content. My most recent long term-project was a complete implementation of yolov3 / yolov4 object detection system in tensorflow2.2, numpy, pandas and several other libraries which followed many other smaller projects that involved general scripting and automation tasks that I write along the way to solve simple personal problems ex: organizing folders excel sheets with pandas, automating repetitive tasks that are time consuming ... I recently started to learn c++ to meet performance demands in areas where python is not the best candidate, and I'm very satisfied with how easily one may learn other programming languages much faster when you have a good grasp of programming concept and logic. I'm also starting to work on another personal project that involves ai-oriented algo trading in parallel with diving deeper in learning c++ and looking for part-time freelancing python jobs. Through my reading of the discussions I mentioned earlier that were concerned with what makes a programmer a real piece of work ex: check here, on many occasions people agreed on what I may rephrase as: someone who is good with understanding complex systems and be able to find the missing pieces / design by himself complex architectures that perform better than entire teams can do and be able to manage his time and is good to have communication skills. I can't agree more, so I though seeking feedback from people more experienced than myself on how to start reading large codebases examples including many python libraries tensorflow, numpy, pandas specially they have multiple languages which I think is very close to work situations where you would be dealing with large codebases that involve multiple programming languages and varying degrees of complexity. What are the best approaches to read and understand such big programs? What do you think from personal experience and domain knowledge is any software developer's necessary steps to follow to upgrade his skills to the next level apart from what is already mentioned? [link] [comments] |
Posted: 09 Sep 2020 06:28 PM PDT I am trying to get a code to embed in a blank webpage that will create a video player that does the following: Autoplay a shuffled youtube playlist with the audio muted. Can anyone help me out? I've generally had luck generating code with 2/3 of the parameters, but never all 3! [link] [comments] |
Posted: 09 Sep 2020 05:47 PM PDT when checking my assignment there is a warning: Is it mandatory to replace the tab with space when indenting? or is it just the style that my online course want me to do? [link] [comments] |
Posted: 09 Sep 2020 05:39 PM PDT I started learning Pygame today. I was following along a freeCodeCamp tutorial(https://www.youtube.com/watch?v=FfWpgLFMI7w). I stopped to fancy up the script and fix errors. I fixed 8 errors, but the rest I can't fix. The 10 errors I have left are the "Constant name "" doesn't conform to UPPER_CASE naming style" and "Line too long (/100)". Also I know how to fix the "Line too long" error, but I was wandering if there is a way to by pass it sense it messes with the look of the script. My code looks like :
The errors are :
If ya'll could help me out I'd very much appreciate it. [link] [comments] |
Segmentation fault while initializing 2D array. Posted: 09 Sep 2020 05:19 PM PDT I wrote this program: #include <stdio.h> int main(){ int n; int mat[n][n]; puts("Unesite dimenzije kvadratne matrice! Maksimalne dimenzije su 10x10!"); scanf("%d", &n); if(n > 10){ puts("Greska!"); return 1; } int i, j; for(i = 0; i < n; i++){ printf("Unesite %d. stupac matrice!\n", i + 1); for(j = 0; j < n; j++){ scanf("%d", &mat[i][j]); } } return 0; } Ignore puts and printf functions. Where did I make mistake? Can I solve this without dynamic allocation? [link] [comments] |
Posted: 09 Sep 2020 11:15 AM PDT I am adding a new record in the POSTMAN using the URI "localhost:8080//insurance/service/add". I want the application to throw an error in JSON mentioning an error code and message if anything such as non-whitespace characters after the URI. For example, if I want to add a record by using the URI "localhost:8080//insurance/service/add?" or "localhost:8080//insurance/service/add*" or anything like that, it should throw an error in JSON mentioning an error code and message. How should I do it? ```@RestController @RequestMapping("/insurance/service") @GetMapping("/add") public String addInsurance(@RequestBody Insurance insurance) { [link] [comments] |
Network programming for a game. Noob questions. Posted: 09 Sep 2020 03:22 PM PDT Hello there, i'd like to know the answers and suggestions from expirienced programmers. I'm not a programmer myself. People seems to get really angry when someone start "create MMO" thread in /gamedev. In short: I want to make a 2D top down multiplayer game, which support 200-250 players. Should i get into node.js + game engine?https://www.youtube.com/watch?v=EyNVeTzhC1w I tried it and i connected my client with my local server, that's motivated me so much as i don't have programming skills. VS Starting with this guide. https://mrminimal.gitlab.io/2018/07/26/godot-dedicated-server-tutorial.html Do server/client game in godot, ENet network library. What i don't care about: *Getting serious into programming. *Getting into gamedev industry in ANY case. *What is right or wrong practice in gamedev. *Scaling possibility. *If 200 players not considered MMO by "traditional" standarts. *Art/SFX part. *Show off how polished my game, how smooth my server architecture. Simply i don't have a passion for gamedev, programming. I have a task and i want it to be done and be efficient. Other than that, i'm always ready to study and learn what is needed for my current task. Question about "update rate"/"tick rate" I don't need as often update, as in multiplayer shooter for example. Let's say 2 players start fighting each other. I dont need, to update info about their HP 60-100 times a second. I need to update it max 1-2 time a second. And let's say a damage dealt is random generated number, which apply's 1-2 times and updates 1-2 times a second. The idea is, the data i need to send/recieve between client-server has a very low rate. HP bars in UI do not need to be updated "smoothly" and instantly, after player recieved damage. If i go with node.js + game engine, what network documentation i should look for? And if i go with godot, what documentation besides godot/enet also can be usefull? Any other suggestions appreciated. [link] [comments] |
Examples of poor and high quality software Posted: 09 Sep 2020 02:39 PM PDT I'm investigating the differences between poor and high quality software projects. Naturally, open source projects are the easiest place to start! So I was wondering which projects do you view as poor quality and which exhibit high quality? And why? Definition of quality left loose: I'd like to know what quality is to you too :) [link] [comments] |
Posted: 09 Sep 2020 02:30 PM PDT Hey all, I'm having an issue with C++ code runtimes on a newly setup PC. I have a short snippet of C++ code that runs in ~1 second on my old mac in XCode. However, the same code takes ~40s to run on my PC in Visual Studio 19. The code itself is very simple--just iterating over a vector of ints, accessing the elements of a bool vector, performing arithmetic operations on their elements, and adding resultant float data to a third vector. (the vectors are large though, with millions of elements) Does anyone know why this is happening? I have already tried using ctrl-f5 to run my code in VS19 without debugging and it still runs slow. I don't think computer specs are an issue here because my mac is from 2017 and my PC is brand new with much higher specs. (The mac is an intel machine and the PC has an AMD processor, if that matters though.) Any help is appreciated! [link] [comments] |
What is neo4j like? Is it worth learning or should I just develop my own graph? Posted: 09 Sep 2020 10:27 AM PDT |
I have no idea why my function is not plotting in r Posted: 09 Sep 2020 02:00 PM PDT The function itself runs fine, i would be able to manually plot it my self, but that would defeat the purpose of what i am doing. I have tried the plot.function, curve and GGplot but they are coming up with errors saying that there the expr function is not evaluating to a length of n [link] [comments] |
Posted: 09 Sep 2020 01:55 PM PDT Hey guys, sorry I know this such a simple problem but I just cant wrap my mind around this for some reason. Here is the problem: Draw a recursion tree for T(n) = T(n-1) + 1 and use it to estimate the running time of the recurrence. So, I think the root is just T(n), correct? and then there's only one call so the second level would be 1 on one side, and T(n-1) on the other? There's only one call at each level so only one side of the tree would grow, right? Each node splits into 1 and T(n-1). Am I getting that right? If anyone could help me out I would be so grateful. Thank you! [link] [comments] |
How do apps like Snapchat and Messaging work? Posted: 09 Sep 2020 01:44 PM PDT When I talk about "work", I'm specificially talking about the adding friends mechanism. How does code make a unique code for a single user on Snap or allow one to add one's friend with only a phone number on messaging apps with numbers? [link] [comments] |
Is it worth having a single source of truth for all the software/services in a company? Posted: 09 Sep 2020 05:39 AM PDT I have a problem at work where we have bought and created lots of tools/services. It's hard to know who to go to for help when things break, or to understand who's using our services (and notifying those specific people when things break/change is impossible). In the past I've also had to produce a list of all the tools for in the eng team, which is really hard when there's no central place to keep this info. I worked with a friend to come up with something to try solve this problem and create a single source of truth for all the company's tools/services - the ones we built and bought. Do you have this problem at work? Do you think something like this would work for you? [link] [comments] |
SMALL QUICK QUESTION ! WHAT IS FASTER Posted: 09 Sep 2020 12:41 PM PDT WHICH IS BETTER ? WHAT ABOUT MEMORY ? EDIT : IT WAS A QUICK QUESTION. I THOUGHT YOU ALL WOULD UNDERSTAND WHAT I MEAN INSTEAD OF ACTUALLY NITPICKING, I KNOW DATA IS UNINITIALIZED. Q : WHAT LANGUAGE AND PLATFORM ? A : PROCESSING ( JAVA BASED ) FOR ANDROID AND PC, TARGETING ANDROID. Q : WHAT IS THE THING OP IS DOING ? A : CUSTOM AND 20000~ LINES TEXTING APP FOR A GROUP OF 200~ PEOPLE. LOOKS AND WORKS BEAUTIFULLY. Q : WHY ? A : CUSTOM MESSAGES NEEDED. WE WANT THINGS LIKE VOTING AND MANY COOL STUFF WHICH WE CAN KEEP ON UPDATING AS PER AS OUR NEED. ALSO PRETTY Q : NO NEED TO MICRO OPTIMIZE !!! A : FIRST TIME DOING BIG PROJECT ON ANDROID. ANDROID MUCH WEAKER THAN PC AND ALSO THE APP SHOULD TAKE AS LITTLE PROCESSING TO SAVE BATTERY. I MICRO OPTIMIZED EVERYTHING , EVERY LITTLE THING MAKES IT MORE BATTERY EFFICIENT, ITS WORTH IT AS LONG AS THE CODE IS UNDERSTANDABLE TO ME, WHICH THE EXAMPLE CLEARLY IS. Q : WHAT IS IT BEING USED FOR ? A : CONSIDER CLASSES LIKE MESSAGE, PARTICLE, ETC . IS IT FASTER TO USE A METHOD INSIDE A CLASS OR AN OUTSIDE FUNCTION USING THE INSTANCE AS A PARAMETER. Q : NO NEED FOR IT OP ! ITS UNIMPACTFUL !! A : ^^^^^ WASNT TYPING THIS FASTER THAN WRITING A PARA ON WHY THE POST IS BAD? I WANT A VERY EFFICIENT APP WHICH WORKS GREAT ON LOW END PHONES, PEOPLE HERE AREN'T WITH THE LASTEST OF PHONES. Q : WHY DID YOU THINK IT WOULD MAKE A DIFFERENCE ? A : JUST WAS THINKING BIGGER CLASS == BIGGER sizeof(CLASS) ; THE PARTICLE AND MESSAGE CLASS HAVE A BIG ARRAYLIST THANK U ALL LOVE U ALL [link] [comments] |
Python cryptography library works for bazel test and benchmark – how to get it to production use? Posted: 09 Sep 2020 08:32 AM PDT Hi, I would like to use the OpenMined PSI library, which provides a private set intersection protocol [https://github.com/OpenMined/PSI\], with Python. I am familiar with Python, but I am relatively new to using nonstandard libraries (obtained not through pip) and I am also very new to bazel. I am able to run the bazel tests and bmenchmarks scripts, but I am unable to use it on my own. I am running Ubuntu 20.04 with Python 3.8.2 and first go into my dev repository and then clone the git repository: git clone https://github.com/OpenMined/PSI.git cd PSI/private_set_intersection/python Then, I activate my virtual environment (which I set up before): Now, I can run the following two commands described in the README.md without any issue: bazel run -c opt //private_set_intersection/python:benchmarks –test_output=all However, I cannot just run the python file: It gives me the following error: File "tests.py", line 4, in <module> import private_set_intersection.python as psi ModuleNotFoundError: No module named 'private_set_intersection' Obiously, it seems the package is missing. I then inspected several folders, such as bazel-out, bazel-PSI (PSI is the bazel workspace name), and others for a python library. However, this didn't help much, as I got the following result: File "tests.py", line 4, in <module> import privateset_intersection.python as psi File "/home/username/dev/homomorphic_encryption_1/PSI/private_set_intersection/python/private_set_intersection/python/init.py", line 4, in <module> from private_set_intersection.python import _psi_bindings ImportError: cannot import name '_psi_bindings' from partially initialized module 'private_set_intersection.python' (most likely due to a circular import) (/home/username/dev/homomorphic_encryption_1/PSI/private_set_intersection/python/private_set_intersection/python/init_.py) Maybe instead I need to use the bazel build command? However, I do not know which target I need to build, there are four different targets in the BUILD file. The command "bazel build _psi_bindings" fails, and I don't think I need to build the tests or benchmarks python file. The command "bazel build private_set_intersection" sound promising and indeed runs fine, however, then I don't know where the resulting Python library is. If I copy the PSI/bazel-out/k8-fastbuild/bin/private_set_intersection folder, for example, it still does not work. Can you please help me? What do I need to do with bazel to build the Python library, and where is it stored? Thank you! [link] [comments] |
A Visual Sorting System That Popped Into My Head-- any advice? Posted: 09 Sep 2020 11:43 AM PDT Say I have 15 or more overarching categories, each of which has a list of characteristics that can be anything, including characteristics shared with other categories. I want to sort these in a way similar to a Venn Diagram-- a visual component, where two shapes that represent those categories interlock to display the shared characteristic within the shared space between them-- but I'm aware mere circles couldn't achieve this after so many categories. It'd be a mess of geometry, if it were possible. So, what if each shape were more fluid? Able to warp easily? Like a liquid? I harken it to blobs of paint with fluid dynamics. Say each category is now a blob of color with unique fluid properties-- unless it specifically shares a characteristic with another blob of color, it cannot blend into the other colors. But if it does, then it will! And a new color, a blend of the overarching categories' colors, would be displayed. But the amount of blending would be limited to a percentage of the total area of each shift. That way, we could still see some of the categories original colors, but could also clearly see a space interlocked between them with a unique color if a characteristic is shared. That shared space would increase in size if more than one characteristic is shared, and so on. Is this,,, something that already exists? Is this functionally possible? How could someone go about creating a program to represent this? Sorry this question is so vague. If it'd better fit somewhere else, I'll ask it somewhere else... it's kind of a doozy I realize once I've written it all out. [link] [comments] |
How to start a internal tech talk program Posted: 09 Sep 2020 10:59 AM PDT Everyone- I'm tasked with getting an internal tech talk program up and running in my company and trying to drive participation in it. I'm looking for any feedback that the collective group here has in regards to the do's and don't's for being successful. Where would you start? How do you solicit participation? How do you market the talks? How do you report on success or areas for improvement? Etc. Thanks! [link] [comments] |
With Moore’s law leveling off, have you noticed any resurgence of assembly? Posted: 09 Sep 2020 10:25 AM PDT In everything except specialized systems, assembly died off for awhile. Higher level languages, like C and Java, were made more viable as a result of Moore's law. As the complexity of programs increase though, I'm curious if any of you have seen a resurgence in the use of assembly over relying on compilers. [link] [comments] |
You are subscribed to email updates from AskProgramming. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment