• Breaking News

    Monday, January 18, 2021

    Is it me or has Google's search engine gotten worse? Ask Programming

    Is it me or has Google's search engine gotten worse? Ask Programming


    Is it me or has Google's search engine gotten worse?

    Posted: 18 Jan 2021 06:54 PM PST

    I like their instant Ai reply at the top which is pretty accurate, but the search results for the rest of the pages pretty much suck, are either news articles, or out of context, and I noticed it brings back mostly irrelevant information. Am I wrong or have people noticed this too? And why is Wikipedia usually at the top. Sometimes their content is atrociously inaccurate.

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

    Is it possible to create a whole computer program on a mobile phone just like how a computer can make an app for any devices?

    Posted: 18 Jan 2021 06:45 AM PST

    This question kinda sounds stupid to me but I'm seriously wondering if it can be pulled off

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

    How come we don't see results of machine learning in videogame dialogues?

    Posted: 18 Jan 2021 10:51 AM PST

    If we were to look at open world games and what they're trying to achieve, there are a lot of conversations that NPC's will participate in, which can be on just about any random topic, just to fill the content and make the virtual world feel alive. And it's to my surprise that all those conversations are still completely scripted and voiced by real people. The problem with that obviously is repetition after a while.

    If you now take chatbots as an example, or even virtual assistants software, they can sort of reply to contextual questions, follow the thread of a conversation progressing, and also think of a completely unpredictable topic to talk about.

    So how come videogames aren't utilising that sort of software to just generate actually random conversations between NPC's? Not only would that generate truly countless different possibilities for how conversations go, but i also thought it would be in the interest of the companies to do it the cheapest way, and presumably generating a lot of random conversations through software is cheaper than having scripters, sound recorders, and voice actors do all that work.

    So, what's the reason there isn't any of that? Is the technology just too young? Does that sort of software take up too much disk space? Some other practical reason? ..or does it exist actually, and i'm just not aware of it?

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

    Am I doomed? I made a React game of dominoes (the game with the dots on the white rectangles) did heavy logic in React visual components for drag and drop with the major stuff in regular dot js files. However, we THEN introduced socket.io and learned quickly that the game exists on a server now....

    Posted: 18 Jan 2021 09:17 PM PST

    If the game lives in a socket.io room it then CANT also live in a React <Game > component with a constructor making said game new dominosGame() from scratch.

    Sigh. Are we screwed? Do we have to start over and rewrite the visual Components to only render visual stuffs? Without a this.state.game? And without all this logic it handles to play the game.

    Willing to post a github url if anyone wants to look.

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

    Kind of a programming question. Is 1 bigger (eg. 32") monitor better or 2 (22" vert and 24" horiz) monitors better?

    Posted: 18 Jan 2021 06:12 PM PST

    Im a Software engineering student and I'm hoping to get a part-time job soon. Let's assume that goes well and some money becomes disposable.

    Should I invest in one larger screen or two screens of any configuration? (Vert vert, vert horiz, horiz horiz etc)

    Thanks for any advice!

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

    So, what do you look for in an engineering job candidate?

    Posted: 18 Jan 2021 07:40 PM PST

    I noticed that every engineering job on LinkedIn has a lot of applicants. I would just like to know, what the ratio or percentage is of applicants are actually qualified. Then what the deciding factor is when selecting amongst a group. Then finally, what do you personally hire on.

    So for example, if there's 100 applicants, around 10% resume's match the qualifications/experience. And out of the 10%, 2% are called for an interview, and so on and so forth.

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

    Question about Data Structure

    Posted: 18 Jan 2021 10:34 PM PST

    Can I use function from another class inside a function within a separate class? If possible how?

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

    What am I doing, does it have a concept name and is it a sign of poor design?

    Posted: 18 Jan 2021 06:07 PM PST

    I have a class that keeps a list of friendly units that exist in the scene. Call it a friendly manager.

    I have an enemy ai that asks the friendly manager for a friendly so that the enemy ai can assign it as a target to an enemy unit.

    There is a conceptual contract I must reinforce but not sure how to do it. Basically, I need one of the objects to set the specific friendly unit's "attached enemy" list to the enemy that ultimately has it as its target. A "picture" might help:

    Enemy target <- Enemy AI -> Friendly Manger friendly list -> Friendly

    What object should access and set the Friendly' "attached enemies" list?

    My solution was to feed the friendly manager's GetNextOpenEnemy() function the intended enemy game object. From there, not only will that function return the next friendly target, but also assign the enemy to the friendly "attached enemies" list to track. I guess it's like a getter and setter but in one?

    Hopefully this isn't too complicated to follow. The point of doing it this way is that I can at any time ask the enemy who it's attacking, or ask the friendly who is attacking it. Many enemies can attack one friendly and vice versa.

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

    MacOS/Windows - How to extract specific .json file from multiple zips and renaming the .json file as folder it was extracted from

    Posted: 18 Jan 2021 06:04 PM PST

    am dealing with cuckoo sandbox exported data having report.json file under each Zip file

    eg > 123456.zip each zip has the file in zipfile/reports/report.json

    i have multiple zip files in a folder I want to have that zip files to be named as zipfilename.json.

    ih have tried many ways but to fail

    here's the code I am trying

     #! /bin/bash mkdir -p "DESTDIR" for i in *.zip ; do unzip "$i" $i/reports/report.json -d "DESTDIR" mv "DESTDIR/reports/report.json" "DESTDIR/$(basename "$i" .zip)_THEFILE" done 

    All I get is this output showing that the file does not exist

    (base) s@Sais-MBP Downloads % sh script.sh Archive: 1959098.zip caution: filename not matched: 1959098.zip/reports/report.json mv: rename DESTDIR/THEFILE to DESTDIR/1959098_THEFILE: No such file or directory Archive: 1959100.zip caution: filename not matched: 1959100.zip/reports/report.json mv: rename DESTDIR/THEFILE to DESTDIR/1959100_THEFILE: No such file or directory 

    Any help is greatly appreciated as I cannot make any progress for pas few days.

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

    Generate HTML file from form fields

    Posted: 18 Jan 2021 01:00 PM PST

    Hi guys - I work for a company that uses lots of email templates, however a very select few of us have to do them because others cannot.

    I have an idea where I would develop a static HTML page that would have several form fields and I would like to some way allow users to input text (maybe upload an image?) into these form fields and hit generate and it would input these form fields into a html template I have created.

    Is this possible? Could someone point me in the right direction of what I should be looking for? Ideally this would be a static page, so PHP is not really an option I don't think - but I am completely open to suggestions!

    All help is appreciated!

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

    Design critique - Command pattern object accessing other commander's data structure directly

    Posted: 18 Jan 2021 02:05 PM PST

    I'm programming a game that uses the command pattern for an enemy ai/manager. The the enemy manager does things like sets enemy's targets and keeps track of their state by putting them in idle or active lists. I also have a friendly manager that keeps track of all friendly units in game in a similar fashion.

    Today, the enemy manager asks the friendly manager to GetNextFriendly() so that the enemy manager can give the friendly target to the next idle enemy. However, I'd like to let the enemy ai be a little smarter and choose the enemy it wants based off of things like friendly class or position.

    The only way I can think to do this is to let the enemy manager directly access the friendly managers list of friendlies and scour them for certain info before making a choice. The enemy manager should effectively have priority over the friendly manager, as long as it knows about the friendlies.

    Is this the best way? If so, should the enemy manager be accessing the friendly managers friendly list directly or through some other means? Maybe it should return the list of the friendlies?

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

    Difference between cname and alias??

    Posted: 18 Jan 2021 04:13 PM PST

    I bought a domain name on namecheap and I'm trying to connect it to aws s3 hosting. Namecheap does not accept the aws endpoint (which works when going there directly) for the cname record. It tells me to enter a "fully qualified domain name". The current cname record is a parking page for namecheap. Can someone please eli5 what the difference is between a cname and alias or help me with why this isn't working?

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

    Should I think results oriented or input oriented?

    Posted: 18 Jan 2021 03:47 PM PST

    For example, I am tasked with opening a door. Should I think, "I must open a door. So I must turn a handle. So I must grab the handle. So I must walk to the door." Or, should I think "I must walk to the door so I can grab the handle. I must grab the handle so I can turn the handle. I must turn the handle so I can open the door." It seems that being results oriented is the best, because being input oriented may leave you lost (how do you know you have to turn the handle to open the door?) I know this is a bit abstract, but any thoughts?

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

    [QuadTree] How to insert node in al insersecting quads?

    Posted: 18 Jan 2021 03:20 PM PST

    This is my current insert method. The problem with this one is, that it only inserts it in the first quad it intersects with. This is a problem when the node is on the border. Does anyone know a good implementation so it is inserted in all intersecting quads?

    This is my current implementation

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

    If programming biols down to 0 and 1 what would the additon of being a le to represent -1 have on our technologies?

    Posted: 18 Jan 2021 03:09 PM PST

    Making a career from an uncompetitive college?

    Posted: 18 Jan 2021 01:28 PM PST

    Hi, I am going to transfer from community college to a 4 year school, and whilst I will have a bachelor's degree, it likely won't be a great school.

    Can I make a good middle-class career by gaining experience? Or will the crappy college hold me back?

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

    Database design: Best table structure for capturing the two users matches based on question answer and acceptable answer relationship?

    Posted: 18 Jan 2021 12:40 PM PST

    I am designing schema for capturing matches between users who pick the answers and other use who picked answers are acceptable for them. Here is more details.

    I have User A and B,C. All of them answer the question Q. Q has 4 answers (1,2,3,4). A picked 1, B picked 3, C picked 4. As acceptable answers A picked 1,4, B picked 2,3 and C picked 1,2

    After picking is done system will only find one match which is A<=>C

    Basic table structure

    USER === --USER_ID friend_answer === --USER_ID --QUESTION_ID --ANSWER_ID friend_accepting_answer === --USER_ID --QUESTION_ID --ANSWER_ID friend_matches === --FIRST_FRIEND_ID --OTHER_FRIEND_ID 

    What will be the most efficient way to calculate and load the friend_matches table, and what will be better table structure?

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

    How hard is it to get a job without a degree?

    Posted: 18 Jan 2021 04:56 AM PST

    it is not time for me to look for a job at the moment since I am not old enough, but I want to ask how hard is it to get a job as a software engineer if you are from a place like Greece. I do not have a problem to move to USA or another country to start building my resume, but the main issue is that I am worried that I won't find a job. I've seen the requirements for some companies and they want at least a bachelor's. i am thinking that I will really like a job as a software engineer and I am willing to get a degree, but I am hesitating, I want to be backed up with another degree for a different job. Can anyone share their experience with this problem or any advice?

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

    Any fair advice or input for someone looking towards Software Engineering

    Posted: 18 Jan 2021 12:21 PM PST

    This is a bit long winded

    My Background is Tech...Mostly Data Center Work, Linux Admin Stuff, No College, 30 Yr Old

    I know HTML/CSS/JS is for Front End, some JS /NodeJS Backend ( I have taken an intro course on these 3)

    Python - Back End, Data Science (I use a little Python, but I do not Build anything, Simply run the commands I need to get the info)

    Java - not sure really, apps, General coding?

    C++ - Game Design, Chip Design, Coding close to Hardware

    I have some familiarity with Data Structures....

    What about Bootsrapping, and API and REST, what about GIT??

    Is there anything important that I should look into that falls through the cracks or doesn't get mentioned enough??

    Is there any language that is more Marketable as Entry Level Developer, what are the trends?

    I hear C++ is difficult, but if I learn it to use it well, its very marketable .... While Python is best for Beginners and Easier to learn, I feel like everyone is learning Python, and the Job Market may be slimmer???

    Would a Bootcamp be worth it, I have 15K?

    I work as a Data Center Engineer, On Site, for a Large Tech Corporation.... and I'm just really tired of the Covid Emails every Monday and Pages for Down Servers at Obscure times in the Night

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

    What's the best program for designing architectural diagrams?

    Posted: 18 Jan 2021 02:22 AM PST

    I'm not a very experienced programmer, so I'm looking for a program that's straightforward and doesn't require an excessive amount of skill.

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

    How do I fix ubereats payment process that doesn't load up which stops me from ordering

    Posted: 18 Jan 2021 03:52 AM PST

    Here's the issue, I'm ordering from ubereats and im having this issue (https://gyazo.com/0ed2a86259341ee0d58fbcdd6b3e22d9). the issue says 'add card payment' and the problem is when i do add my payment details nothing changes. I asked a friend if he knows how to fix this and he suggested that this is a programming issue and i need to ask ppl who know programming.

    He told me to screenshot the program thingy (sorry I'm a newbie) by pressing f12 and showing the code/issue of why the payment isn't processing. Here is the screenshot. https://gyazo.com/95155649efbfcd9b795146a63fc3d147

    Appreciate it load for helping if you guys can!

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

    Creating a .hta based GUI for python script

    Posted: 18 Jan 2021 10:46 AM PST

    I'm looking to create a GUI for a Python script and toyed with creating it as an HTML-based app (hta). I have the user interface sorted but can't seem to figure out how to link my Python script to the button and there doesn't seem to be any obvious answers online. Any help would be greatly appreciated!

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

    Is it possible to program a software to answer/hang up calls?

    Posted: 18 Jan 2021 10:40 AM PST

    I'm currently a student doing online school and we use Microsoft Teams.

    Just like any other sleep deprived student faced with a 2h math class at 7 am I tend to fall asleep. The problem is that without anyone around to wake me that power nap may turn into a 9h sleep. I've tried setting multiple alarms but sometimes that isn't enough to wake me. With Microsoft Teams the meeting (call) will continue even if there is only a single person on it. This resulted in multiple non-justified absences and awkward conversations with teachers, I might even get expelled.

    So my question is, is there a way or some software that could answer and most importantly hang up a call automatically at a specified time? (Or turn off the device)

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

    Need your help! Is there any web plugin to build a simple virtual instrument controlled by typing the letters on keyboard?

    Posted: 18 Jan 2021 06:34 AM PST

    1. I must build a simple virtual instrument: I add my sounds (let's say 5 different samples) and just play them by typing the keyboard keys (Q, E, R, T, Y etc.). Enjoy and make music. For example, something like this: https://www.igorski.nl/application/websid and this https://tympanus.net/Development/MusicalInteractions/ (but much more minimalist and simple)
    2. Is there any option to add own photo and once each sample is activated, some part of the photo will be changed? Or some element on the photo will be presented?
    3. What's the easiest way to do it?

    Thanks for any recommendations and help!

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

    No comments:

    Post a Comment