• Breaking News

    Friday, March 1, 2019

    Intermediate Developers: How do you prepare for a on-site/in person technical interview? Ask Programming

    Intermediate Developers: How do you prepare for a on-site/in person technical interview? Ask Programming


    Intermediate Developers: How do you prepare for a on-site/in person technical interview?

    Posted: 01 Mar 2019 02:38 PM PST

    It has been a while since I have had to go through the interview process at a SaaS company. I am going in for my 3rd interview, that will be a 2 hour in person technical assignment with their lead developer.

    It sounds like it will be a combination of solving problems/debugging code on my computer, and also answering questions verbally. It is more of an interactive assignment with their lead than a sit down and do it yourself.

    I by no means consider myself an amazing developer, but I do get the job done when I am handed a task. I am not someone that remembers the syntax for everything, and often find myself doing a quick search on the web for the syntax.

    How do you handle and prepare for these interviews? Are there any cool tools online you have used? Blog posts? Books?

    This is for a full-stack web developer position.

    submitted by /u/guiness_as_usual
    [link] [comments]

    I have no experience in programming but would like to learn one purely for "fun". Using whatever your definition of fun is, what would you recommend and why?

    Posted: 01 Mar 2019 08:23 AM PST

    From what I've read and seen, Haskell is interesting to me because, I could be wrong but, it seems to have some parallels with math (which I like) and learning a functional programming is recommended by a lot of people to make someone a better programmer, but I'm open to suggestions

    submitted by /u/sea_place
    [link] [comments]

    How helpful are college classes for actually learning programming? And do they expect you to know a lot when taking them?

    Posted: 01 Mar 2019 07:37 PM PST

    I'm a CSE Major and Michigan State and seeing posts on /r/ProgrammingHumor kinda scare me as I can relate to almost nothing there. Are classes helpful I'm actually teaching the material or do they expect me to have some previous knowledge? I know bare minimal Python from AP Comp Sci, and that's what they teach for at least the first class. Thanks preemptively.

    submitted by /u/drmeaty
    [link] [comments]

    Terminology help?

    Posted: 01 Mar 2019 03:26 PM PST

    Not a programmer, but I will eventually have to use it and be comfortable with it. I'm a student in an engineering major, have two classes of Java under my belt (intro class and a data structures class), which seemed fairly straightforward.

    Not concerned about learning languages, there are lots of resources for that. I need help with big-picture understanding of what's going on in a computer, and the terminology associated with it. Like, what's a "web backend"? Or a "markup language"? (vs a normal language?) I hear CS people speak and it's like wizardry.

    submitted by /u/kkokk
    [link] [comments]

    Need help to create a simple 'Ping' check-in signal app - to notify supervisors to come over to a cubicle

    Posted: 01 Mar 2019 07:58 PM PST

    Hello, and I would greatly appreciate some help on developing an application that allows a student to ping an instructor to come over to the cubicle.

    Context: I work in an dentistry clinic, as a clinic technology officer. We have over 100 Windows 10 workstations in the clinic, that are all on the school's AD network. I have been tasked with creating a solution (whether it be using software that is already available, or writing my own) for a student to ping from their workstation to an aisle supervisor's computer, to notify an instructor to come over to the student's cubicle. Students are not allowed to leave their cubicle while in gown with a patient, and must signal an instructor to come over. One instructor will usually supervises =<10 students.

    Any advice would be welcomed. Does something like this already exist?

    For administrative issues, I want to write a web app (with a short url) where a student would go to the website, select their instructor and ping them to come over. This would alleviate installing a small app on every workstation, but I could deploy through AD to keep it all internal.

    Visually (high level) I was thinking, once you start the app (sign into website) you type in your name, you select your instructor, then there is a grey box that when clicked, turns green, signalling to an instructor's computer to come over. The instructor's computer will be able see the time stamp it was sent, and which student.

    It would be amazing if I could tie the sessions in and operator name from a SQL DB pull through the Dental Software we currently use automatically, but this is a 'nice to have feature'. Having an instructor create their pod or 'room' then having student's select it would be good. This notification I set up, could just be like flipping an token where a a list of student name will change color with a timestamp when it flipped.

    The emphasis is to have a very simple design.

    I do not know what language to code in, if it should be a web app or local install setup.

    Please any direction would be amazing.

    Would love any feedback, and greatly appreciate it.

    Thanks!

    Edit: github link
    https://github.com/jonny0h/Prod/issues/1#issue-416356943

    submitted by /u/olivesk1n
    [link] [comments]

    Twitter and/or Instagram API Question

    Posted: 01 Mar 2019 07:56 PM PST

    Hello! I am not a programmer but have a question I hope one of you will be gracious enough to answer. (Apologies if this question sounds stupid!!) Is it possible through the Twitter or Instagram APIs to pull number of followers for ALL accounts--or do you have to know the account you want to pull first? Also--how quickly and often can you pull the number of followers?

    Also, can you pull followers that use a specific hashtag? Thanks!

    submitted by /u/devilwriter
    [link] [comments]

    How can I add custom font in c# wpf

    Posted: 01 Mar 2019 07:32 PM PST

    How can I add a custom font in xaml wpf c#

    asshole overflow wasn't that helpful, they blocked my question for duplication and sent me a link to an unhelpful post

    submitted by /u/BabylonianSorcerer
    [link] [comments]

    Signbox does not work on an archived page

    Posted: 01 Mar 2019 07:20 PM PST

    https://web.archive.org/web/20110915151600if_/http://trackonerecordings.com/remixagreement/index.php

    Simply put, the signbox does not work. I've played around with "Inspect" but to no avail. Any feasible way that I can make the signbox work and sign the agreement?

    submitted by /u/AranNomante
    [link] [comments]

    How would I use github so that other people can easily copy what I have locally?

    Posted: 01 Mar 2019 05:49 PM PST

    So I have a little experience with github, but all I really do is push and pull when on different computers. I was wondering how I would allow someone else, however, to clone my project, and easily pull from it whenever I want to make an update to it. I feel like this should be easy, but when I tested it on someone's computer, I simply did "git clone project" and it said that it cloned it, but none of the files that are in it were actually there. I feel like this could be a problem with initially using git because I haven't set up an account or whatever is needed in a while and the computer I tested it on just had git (I don't even know where from, may have come with python, pycharm idk). So they probably didn't have an account or anything of the sorts. Is this necessary? What am I doing wrong? Any help is appreciated.

    submitted by /u/CrispyCabot
    [link] [comments]

    How would I perform a Depth or Breadth first search through this linked list, with randomly generated nodes, to represent a maze? C++

    Posted: 01 Mar 2019 04:23 PM PST

    So i'm making a maze using linked lists to be printed on the console, not the best idea I know, but it's a requirement for my class. Any way this is the design of my structure.

     struct Area { int code; int symbol; int color; pair<int, int> yx; string title; string description; Area *north = NULL; Area *east = NULL; Area *south = NULL; Area *west = NULL; Area *previous = NULL; }; Area *Start; Area *End; Area *Current; 

    So, I've got the random generation down, and it creates connected nodes, so there's no path that is unlinked.

    What I want to do is iterate through every single node, so I can read the properties of each node and display it in the console.

    I'm not sure how I can traverse such a fragmented link like this, but I assume that it is definitely possible. How should I go about this?

    The important nodes are north east south and west, as concerns traversing. Previous merely indicates player movement, same goes for current.

    submitted by /u/Vendredi46
    [link] [comments]

    Nice, short books on MATLAB/Simulink?

    Posted: 01 Mar 2019 10:22 AM PST

    So I've got an interview coming up for a job that's probably going to involve MATLAB/Simulink. And while I used it a lot at uni, it's been a while since I last touched it. And there doesn't seem like there's a whole lot of literature on it, since these are relatively obscure. Are there any nice condensed guides on it, just so I can brush up on it, without going too much into specifics? Thanks for any suggestions!

    submitted by /u/ptitz
    [link] [comments]

    Who can help me solve these problems please: Pygame/Python/Terminal/Mac related

    Posted: 01 Mar 2019 01:37 PM PST

    I'm a beginner, I have really hit a brick wall, and would greatly appreciate any advice someone more advanced can offer.

    I have been having a number of extremely frustrating issues the past few days, which I have been round and round google trying to solve, tried all sorts of things to no avail.

    Problem 1)

    I can't import pygame in Idle with the error:

    ModuleNotFoundError: No module named 'pygame' - even though it is definitely installed, as in terminal, if I ask pip3 to install pygame it says:

    Requirement already satisfied: pygame in /usr/local/lib/python3.7/site-packages (1.9.4)

    I think there may be a problem with several conflicting versions of python on my computer, as when i type sys.path in Idle (which by the way displays Python 3.7.2 ) the following are listed:

    '/Users/myname/Documents', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python37.zip', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload', '/Users/myname/Library/Python/3.7/lib/python/site-packages', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages'

    So am I right in thinking pygame is in the python3.7/sitepackages version, and this is why idle won't import it? I don't know I'm just trying to make sense of this. I have absoloutely no clue how to solve this,"re-set the path" or whatever. I don't even know how to remove unnecessary versions of python.

    Problem 2)

    Apparently there should be a python 2.7 system version installed on every mac system which is vital to the running of python regardless of the developing environment you use. Yet all of my versions of python seem to be in the library/downloaded versions. Does this mean my system version of python is gone? I have put the computer in recovery mode today and done a reinstall of the macOS mojave system today, so shouldn't any possible lost version of python 2.7 be back on the system now?

    Problem 3)

    When I go to terminal, frequently every command I type is 'not found'.

    I have sometimes found a temporary solution is typing:

    export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"

    but the problems always return!!!

    As I say I also did a system reinstall today but that has helped none!!

    Can anybody please help me with these queries? I am really at the end of my tether and quite lost, forgive my programming ignorance please. Many thanks.

    submitted by /u/alban_y
    [link] [comments]

    Redis hitting max connections with clients issuing info command

    Posted: 01 Mar 2019 09:22 AM PST

    I tried posting this in /r/redis, but my post was auto-removed.

    We're having an issue hitting the max number of clients immediately after starting redis. When issuing a MONITOR command, we see thousands of INFO commands issued from our master server.

    It seems to be baselining around 9000 connections most of the time. This will occasionally drop to a more normal value for our server for a couple of seconds, then it will immediately spike back to the ~9000 connections.

    Anytime redis gets busy during the normal business day, we are hitting our max connections and our services start failing.

    When I run the MONITOR command, this is a sample of what I see.

    1551452385.425215 [0 192.168.100.161:54068] "info" 1551452385.425556 [0 192.168.100.161:54066] "info" 1551452385.425891 [0 192.168.100.161:54071] "info" 1551452385.426242 [0 192.168.100.161:54069] "info" 1551452385.426587 [0 192.168.100.161:54070] "info" 1551452385.426933 [0 192.168.100.161:54072] "info" 1551452385.427281 [0 192.168.100.161:54074] "info" 1551452385.427625 [0 192.168.100.161:54075] "info" 1551452385.427972 [0 192.168.100.161:54076] "info" 1551452385.428316 [0 192.168.100.161:54077] "info" 1551452385.428670 [0 192.168.100.161:54078] "info" 1551452385.429011 [0 192.168.100.161:54079] "info" 1551452385.429359 [0 192.168.100.161:54080] "info" 1551452385.429706 [0 192.168.100.161:54081] "info" 1551452385.430051 [0 192.168.100.161:54082] "info" 1551452385.430398 [0 192.168.100.161:54083] "info" 1551452385.430741 [0 192.168.100.161:54084] "info" 1551452385.431086 [0 192.168.100.161:54085] "info" 1551452385.431454 [0 192.168.100.161:54086] "info" 1551452385.431792 [0 192.168.100.161:54087] "info" 

    Our redis.conf is below.

    daemonize yes pidfile "/var/run/redis/redis.pid" port 6379 tcp-backlog 2048 unixsocket "/tmp/redis.sock" unixsocketperm 777 timeout 90 tcp-keepalive 30 loglevel notice logfile "/var/log/redis/redis.log" databases 16 save 900 1 save 300 10 save 60 10000 rdbcompression yes rdbchecksum yes dbfilename "dump.rdb" dir "/var/lib/redis" slave-serve-stale-data yes repl-ping-slave-period 5 maxclients 10208 slave-read-only yes repl-disable-tcp-nodelay no maxmemory-policy noeviction appendonly yes appendfsync everysec no-appendfsync-on-rewrite no auto-aof-rewrite-percentage 100 auto-aof-rewrite-min-size 64mb lua-time-limit 15000 slowlog-log-slower-than 10000 slowlog-max-len 1024 latency-monitor-threshold 0 notify-keyspace-events "" hash-max-ziplist-entries 512 hash-max-ziplist-value 64 list-max-ziplist-entries 512 list-max-ziplist-value 64 set-max-intset-entries 512 zset-max-ziplist-entries 128 zset-max-ziplist-value 64 hll-sparse-max-bytes 3000 activerehashing yes client-output-buffer-limit normal 0 0 0 client-output-buffer-limit slave 256mb 64mb 60 client-output-buffer-limit pubsub 32mb 8mb 60 hz 10 aof-rewrite-incremental-fsync yes slave-priority 1 slaveof 192.168.100.161 6379 

    Our INFO output is below.

    # Server redis_version:3.0.5 redis_git_sha1:00000000 redis_git_dirty:0 redis_build_id:cfc7e460e931db7b redis_mode:standalone os:Linux 2.6.32-573.8.1.el6.x86_64 x86_64 arch_bits:64 multiplexing_api:epoll gcc_version:4.4.7 process_id:14289 run_id:e809f42198d0a568cc3394cee322a20c069ed682 tcp_port:6379 uptime_in_seconds:35562 uptime_in_days:0 hz:10 lru_clock:7947917 config_file:/etc/redis.conf # Clients connected_clients:9399 client_longest_output_list:0 client_biggest_input_buf:0 blocked_clients:0 # Memory used_memory:5357045872 used_memory_human:4.99G used_memory_rss:5606625280 used_memory_peak:5664138480 used_memory_peak_human:5.28G used_memory_lua:36864 mem_fragmentation_ratio:1.05 mem_allocator:jemalloc-3.6.0 # Persistence loading:0 rdb_changes_since_last_save:42 rdb_bgsave_in_progress:0 rdb_last_save_time:1551451644 rdb_last_bgsave_status:ok rdb_last_bgsave_time_sec:23 rdb_current_bgsave_time_sec:-1 aof_enabled:1 aof_rewrite_in_progress:0 aof_rewrite_scheduled:0 aof_last_rewrite_time_sec:22 aof_current_rewrite_time_sec:-1 aof_last_bgrewrite_status:ok aof_last_write_status:ok aof_current_size:4453038609 aof_base_size:4448482140 aof_pending_rewrite:0 aof_buffer_length:0 aof_rewrite_buffer_length:0 aof_pending_bio_fsync:0 aof_delayed_fsync:1 # Stats total_connections_received:3677782 total_commands_processed:4176358 instantaneous_ops_per_sec:12 total_net_input_bytes:6261124496 total_net_output_bytes:11824027791 instantaneous_input_kbps:1.50 instantaneous_output_kbps:6.87 rejected_connections:3662459 sync_full:2 sync_partial_ok:0 sync_partial_err:0 expired_keys:0 evicted_keys:0 keyspace_hits:13406 keyspace_misses:10 pubsub_channels:1 pubsub_patterns:0 latest_fork_usec:104081 migrate_cached_sockets:0 # Replication role:slave master_host:192.168.100.161 master_port:6379 master_link_status:up master_last_io_seconds_ago:0 master_sync_in_progress:0 slave_repl_offset:26797222 slave_priority:1 slave_read_only:1 connected_slaves:0 master_repl_offset:0 repl_backlog_active:0 repl_backlog_size:1048576 repl_backlog_first_byte_offset:7529949 repl_backlog_histlen:10344 # CPU used_cpu_sys:326.54 used_cpu_user:1835.05 used_cpu_sys_children:303.96 used_cpu_user_children:2131.36 # Cluster cluster_enabled:0 # Keyspace db0:keys=4182233,expires=1822,avg_ttl=1565571347 db4:keys=1,expires=0,avg_ttl=0 db9:keys=9957,expires=0,avg_ttl=0 db15:keys=386985,expires=0,avg_ttl=0 
    submitted by /u/nexview
    [link] [comments]

    What language. Help please:)

    Posted: 01 Mar 2019 08:46 AM PST

    So the question that I have is what programming language should I learn for a project. The project is calculator for a website. It will have to store information like names, amounts, and pull from differnt resources. I was told javascript is best for this?

    Langues that I kinda know are: - python - html

    submitted by /u/J05H3Y
    [link] [comments]

    Object orientation

    Posted: 01 Mar 2019 04:21 PM PST

    How do you add a textArea or textField which allows me to enter text that can be minimally echoed back. For example, calling a method? Any help would be greatly appreciated !

    submitted by /u/anony313
    [link] [comments]

    I keep getting an exception thrown saying access violation reading location when i run my code

    Posted: 01 Mar 2019 08:20 AM PST

    I'm trying out this method of solving equations through iteration where you compare how far apart the lines are and once you reach a point where there separated by a tiny distance it's over and you have your answer.

    My code:

    //Variables const float Tolerance = 0.2; float del[500] = { 0 }; //difference in y values for each function float F1[500] = { 0 }; //function 1 float F2[500] = { 0 }; //function 2 float var[500] = { 0 }; //values of x float x = 0; float y = 1; const int range_limiter = 10; for (int i = -250; i < 250; i = i++) { //get the current value of x var[i] =static_cast<double>(i) / (range_limiter); //define the functions in terms of i //y = -x + 3 F1[i] = (-var[i] + 3) ; //y = 2x + 6 F2[i] = (2*var[i] + 6); //Get the space between them del[i] = abs((F2[i] - F1[i])); //check if the change is below the tolerance if (del[i] < Tolerance) { //set the x and y coords for the solution x = var[i]; y = F1[i]; //break out of the loops by setting i to over its max i = 6000; } } cout << "The coordinate answer it : (" << x << " , " << y << ")" << endl; 

    When i run it I get this specific message halfway through it doing its thing:

    Exception thrown at 0x00F727E0 in Testing Convergence.exe: 0xC0000005: Access violation reading location 0xFF464124 

    What does it mean and how can i correct it?

    submitted by /u/_Spanish_Inquistion
    [link] [comments]

    BitCamp Problems?

    Posted: 01 Mar 2019 07:25 AM PST

    Has anyone ever had any problems while at bitcamp in regards to IP? Or heard of any stories about IP problems?

    submitted by /u/Sandofle
    [link] [comments]

    What is an SDK?

    Posted: 01 Mar 2019 03:32 AM PST

    What is an SDK? I mean I know it's software development kit, but what is it exactly, what are SDKs made of? Libraries?

    submitted by /u/AzzamAlsharafi
    [link] [comments]

    Odd Visual Basic question

    Posted: 01 Mar 2019 03:14 AM PST

    I am trying to create an unbeatable AI inside Visual Basic (excel) that plays Tic Tac Toe. I have already created the game itself using userforms.

    Is it possible to make a minimax algorithm inside of visual basic, or some sort of algorithm that will play the game without me manually coding 18 billion if statements for each possible scenario? Or does visual basic lack that kind of functionality?

    submitted by /u/AusTF-Dino
    [link] [comments]

    What is GRPC used for?

    Posted: 01 Mar 2019 06:31 AM PST

    From what I understand its a way of servers and clients to communicate as if the clients are calling functions on objects defined from the server?

    What are the major benefits over REST?

    submitted by /u/bustyLaserCannon
    [link] [comments]

    How does the Twitter app save and restore state after exiting?

    Posted: 28 Feb 2019 11:35 PM PST

    I noticed that even after killing the Twitter app, opening it will always bring you back to the last position you scrolled to in your feed. I don't notice the same behavior in Facebook where it's almost always guaranteed the feed will refresh at the top with new posts.

    submitted by /u/RedVelvetKun23
    [link] [comments]

    Question for a techie's mind — how to... crawl?

    Posted: 01 Mar 2019 02:36 AM PST

    Hi /r/AskProgramming

    I don't know exactly where to post my question so please feel free to direct me somewhere else if you think of a better sub.

    Thought I'd ask here as a techie mind will be better suited.

    I'm trying to do the following: out of a list of posts in a localethereum.com, I want to detect new people who post. The reason for that is I talk to all of them but I might forget who I already talked to, so I'd need to extract whoever's new there.

    Here's my trivial approach — but it's trivial and I think a more intelligent mind can come up with a better solution:

    Copy-paste all posts in an Excel spreadsheet

    "Clean" i.e. delete everything except username

    Compare it to a list of all-time people I've spoken to and see who's not there

    Repeat this every day.

    Basically I'd be looking for an alert? Also, ppl on localethereum.com enable and disable their listing here and there, so my trivial approach wouldn't counter that

    What do you guys think?

    submitted by /u/rep-god
    [link] [comments]

    Hey there, I really want to start programming and I was wondering what language should I start of with and how to follow on after learning that language and so on

    Posted: 01 Mar 2019 01:14 AM PST

    No comments:

    Post a Comment