• Breaking News

    Thursday, October 10, 2019

    Why would you scrape a webpage with beautiful soup when Pandas read_html tool is way easier? Ask Programming

    Why would you scrape a webpage with beautiful soup when Pandas read_html tool is way easier? Ask Programming


    Why would you scrape a webpage with beautiful soup when Pandas read_html tool is way easier?

    Posted: 10 Oct 2019 03:19 PM PDT

    I'm learning Python right now, and after getting through a MOOC on the basics, I moved onto another course for Webscraping and I found it challenging and frustrating. The furthest I got was getting the header row for a web table, which was all smooshed into one string. It would have taken some regular expressions to make it usable, so I gave up and went back to a data analysis course. In this course, I've been learning the Pandas package, and it's awesome. All I had to do was take a url and use read_html and it printed a really complete table that was almost ready for analysis. So why was I wasting all that time time trying to use BS to do the same thing Pandas could do in 2 lines of code? What advantages does BS have?

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

    Would you still work at Facebook?

    Posted: 10 Oct 2019 11:14 AM PDT

    With all the recent negativity about Facebook in the news, how many redditors would still take an opportunity from Facebook (assuming everything else was good)?

    Negativity I'm talking about:

    • Suicide rate
    • Abuse of offshore workers
    • Negativity around political campaign add's
    submitted by /u/TheOwningBum
    [link] [comments]

    [OPINION] Is it wrong or should you feel guilty of looking at someone else code

    Posted: 10 Oct 2019 07:00 AM PDT

    As the title says, is it wrong to look at someone else's code or learn from their code and implement it to your own project?

    The thought of looking at someone else's code, learning from it and implementing it into a project made me think that I am not solving something or creating something that I am thinking of making.

    This question has been stuck in my head ever since I started coding which made coding my simple calculator app on and off.

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

    Just as every human language boils down to into sounds made from our throat, mouthes, and noses, is it accurate to say that every computer language boils down into binary?

    Posted: 10 Oct 2019 06:11 PM PDT

    What are the weaknesses of javascript as a programming language?

    Posted: 10 Oct 2019 06:10 PM PDT

    What's a good project for familiarizing myself with Spring?

    Posted: 10 Oct 2019 07:02 PM PDT

    I've been working with Java for many years, (I'm a hobby game developer looking to enter the software career world. Sadly, there's no game dev companies in my state, so I'm considering just doing regular software engineering.)

    One of the biggest desired skills for Java seems to be Spring. I've been looking it up, but can't why it's so special. Maybe the best way is to get my hands dirty and see how it works. What's a good project I can start to get familiar?

    I can't quite see what doing other than reflection-based dependency injection, which doesn't sound so complex to require a such a massive and diverse library for, so I'm hoping to find a project which would be simply impractical to do without it. What do you recommend?

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

    Is there something like a "common class names catalog" for programming?

    Posted: 10 Oct 2019 01:35 PM PDT

    So, I'm struggling trying to pick better class names for my current project, and then I wondered:

    Has someone already done some kind of "index" or "catalog" with common class names? Like, "if the purpose of your class is to do X, frequently used names that express this intent are A, B, C..."

    Right now I tend to flip through open source projects looking for inspiration, but it gets cumbersome quickly.

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

    Why would C++ be chosen for new projects?

    Posted: 10 Oct 2019 01:09 PM PDT

    I've been looking at facebook's fasttext and the NLP program spaCy and both are written in C++. Given the difficulty of C++ I'm curious why (other than it's what the author's knew) that language would be chosen over the likes of Rust or Golang?

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

    Best audio chunk size for audio analyzing software

    Posted: 10 Oct 2019 03:19 PM PDT

    I would like to make a software that could recognize (by audio input) the note that was played/sung/whatever but I have two major questions:

    1. What is the optimal chunk size for such project? The program of course cannot analyze on the fly and input has to be cut into chunks to be analyzed. I know about audio theory (bitrates and bit depths) but I have trouble judging the best chunk size. The chunk is too small, the program (thread) won't give an accurate reading of the note. The chunk is too big, user will experience latency issues.
    2. How can you tell what note is being played? I know you generally analyze frames for that but I think it's much wiser to do it by analyzing whole chunks (since notes are relatively long). Should I just get whole chunk and get a medium value of each frame within it to judge what note was played?

    Thanks for help!

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

    Anaconda jupyterlab lose permissions

    Posted: 10 Oct 2019 12:54 PM PDT

    Hello!

    After updating Сatalina, my jupiterlab lost access to the folders documents, desktop and downloads. When I try to open these folders, I get an error in JupiterLab https://imgur.com/a/ldKESr1. There is a log in anaconda:

    [I 22:31:36.341 LabApp] JupyterLab extension loaded from /Users/sergeigalchenko/anaconda3/lib/python3.7/site-packages/jupyterlab 

    [I 22:31:36.341 LabApp] JupyterLab application directory is /Users/sergeigalchenko/anaconda3/share/jupyter/lab [W 22:31:36.342 LabApp] JupyterLab server extension not enabled, manually loading... [I 22:31:36.345 LabApp] JupyterLab extension loaded from /Users/sergeigalchenko/anaconda3/lib/python3.7/site-packages/jupyterlab [I 22:31:36.345 LabApp] JupyterLab application directory is /Users/sergeigalchenko/anaconda3/share/jupyter/lab [I 22:31:36.345 LabApp] Serving notebooks from local directory: /Users/sergeigalchenko [I 22:31:36.346 LabApp] The Jupyter Notebook is running at: [I 22:31:36.346 LabApp] http://localhost:8888/?token=3a21024beddacdd311e558cc4eb7ce3ef59b096a61a0c4b2 [I 22:31:36.346 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 22:31:36.351 LabApp]

    To access the notebook, open this file in a browser: 

    file:///Users/sergeigalchenko/Library/Jupyter/runtime/nbserver-10904-open.html Or copy and paste one of these URLs: http://localhost:8888/?token=3a21024beddacdd311e558cc4eb7ce3ef59b096a61a0c4b2 [W 22:31:38.874 LabApp] Could not determine jupyterlab build status without nodejs [E 22:31:41.388 LabApp] Uncaught exception GET /api/contents/Documents?content=1&1570735901382 (::1) HTTPServerRequest(protocol='http', host='localhost:8888', method='GET', uri='/api/contents/Documents?content=1&1570735901382', version='HTTP/1.1', remote_ip='::1') Traceback (most recent call last): File "/Users/sergeigalchenko/anaconda3/lib/python3.7/site-packages/tornado/web.py", line 1699, in _execute result = await result File "/Users/sergeigalchenko/anaconda3/lib/python3.7/site-packages/tornado/gen.py", line 209, in wrapper yielded = next(result) File "/Users/sergeigalchenko/anaconda3/lib/python3.7/site-packages/notebook/services/contents/handlers.py", line 112, in get path=path, type=type, format=format, content=content, File "/Users/sergeigalchenko/anaconda3/lib/python3.7/site-packages/notebook/services/contents/filemanager.py", line 431, in get model = self._dir_model(path, content=content) File "/Users/sergeigalchenko/anaconda3/lib/python3.7/site-packages/notebook/services/contents/filemanager.py", line 313, in _dir_model for name in os.listdir(os_dir): PermissionError: [Errno 1] Operation not permitted: '/Users/sergeigalchenko/Documents' [W 22:31:41.394 LabApp] Unhandled error [E 22:31:41.394 LabApp] { "Host": "localhost:8888", "Connection": "keep-alive", "Sec-Fetch-Mode": "cors", "Authorization": "token 3a21024beddacdd311e558cc4eb7ce3ef59b096a61a0c4b2", "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36", "Content-Type": "application/json", "Accept": "/", "Sec-Fetch-Site": "same-origin", "Referer": "http://localhost:8888/lab", "Accept-Encoding": "gzip, deflate, br", "Accept-Language": "en-US,en;q=0.9,ru-RU;q=0.8,ru;q=0.7", "Cookie": "_xsrf=2|bb6bff99|d32523c8ffa00d2d2567462bffcca81a|1569992787; username-localhost-8889=\"2|1:0|10:1570735871|23:username-localhost-8889|44:ZTU5ZTc4ZTdmMzk3NDQ4NDk4YjJjM2Q2Zjg3MmQ5M2Q=|7d00a61973ec989cab44a90722b264b0a43e7726421e4e9e45a60821b7650105\"; username-localhost-8888=\"2|1:0|10:1570735900|23:username-localhost-8888|44:NjExZmUxZDY3NTMwNDhmY2IwODQ4ZjdhYjFiMjg0Yjc=|0b33e4fee593af50689582ee4ca60b452100ef5014e2126ecc94eb567d2cc226\"", "X-Compress": "null" } [E 22:31:41.394 LabApp] 500 GET /api/contents/Documents?content=1&1570735901382 (::1) 7.76ms referer=http://localhost:8888/lab

    Is anyone know how to fix it?

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

    Help with for loop

    Posted: 10 Oct 2019 11:10 AM PDT

    I want my for loop in the bottom of the code to print out the different guesses the ai has done but the compiler doesnt go into it. I dont know why. Im super thankful for help.

    int main() {

    Magicnumber\_generator mg; // object av magicnumber skapas mg.random\_magicnumber(); mg.get\_magicnumber(); 

    Ai a; a.computer\_guess(); a.get\_comp\_magicnumber(); a.returnguesshigh(); 

    int guesses \[100\]; int tries = 1; 

    int storeguesses\[100\]; int index = 0; 

    std::cout << "Guess number: " <<"1"; 

    while (a.get\_comp\_magicnumber() != mg.get\_magicnumber()) { 

     if (a.get\_comp\_magicnumber() > mg.get\_magicnumber()) { guesses\[tries\] = a.get\_comp\_magicnumber(); std::cout << "Ai guessed: " << a.get\_comp\_magicnumber() << "You guessed to high! Try again" << "\\n"; a.computer\_guess\_high(guesses\[tries\]); } 

     else if (a.get\_comp\_magicnumber() < mg.get\_magicnumber()) { guesses\[tries\] = a.get\_comp\_magicnumber(); std::cout << "Ai guessed: " << a.get\_comp\_magicnumber() << "You guessed to low! Try again" << "\\n"; a.computer\_guess\_low(guesses\[tries\]); } storeguesses\[index\] = a.get\_comp\_magicnumber(); index++; 

     \++tries; std::cout << "Guess number: " <<tries; } 

    if (a.get\_comp\_magicnumber() == mg.get\_magicnumber()); { std::cout << "Ai guessed:" << a.get\_comp\_magicnumber() << "It was correct"; } 

    for (int i = 0; i >= index; i++)// outputs all guesses { storeguesses\[i\]; 

    } 
    submitted by /u/Badabingggg
    [link] [comments]

    How bad is my code? (C#)

    Posted: 10 Oct 2019 10:09 AM PDT

    Okay, so I'm working on a midterm for a C# class using Visual Studio. It's just an RPG where you fight seven bosses in a row (All based on demons). I only have one enemy programmed so far. I'm pretty new to programming so I'm sure my code is very sloppy. So I'd like to ask you guys to evaluate how bad it is and tell me if I can improve anything.

    Keep in mind, this code is unfinished, and I'm still trying to program in how to get a game over. I'm not sure how much I want to continue with sloppy code though. What do you think?


    Notes

    The game looks like this.

    Cringy writing is placeholder text.

    Potions aren't implemented yet.

    'Examine' is just a debug thing, I'm removing it later.


    using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace SevenPrinces { public partial class Form1 : Form { private double NumberOfClick; public static double HPpotions = 3; public static double MPpotions = 0; public static double enemyNumber = 1; public static double P_HP = 100; public static double P_MP = 0; public static double P_STR = 1; public static double P_INT = 1; public static double P_DEF = 1; public static double P_RES = 1; public static double P_LVL = 1; public static double slashDAM; public static double stabDAM; public static double bashDAM; public static double fireDAM; public static double iceDAM; public static double elecDAM; public static double windDAM; // Enemy Stats // HP, MP, STR, INT, DEF, RES public static double[] belphegorStats = new double[] { 100, 50, 1, 2, 1, 1 }; public static double[] beelzebubStats = new double[] { 200, 150, 3, 6, 2, 3 }; public static double[] mammonStats = new double[] { 270, 180, 6, 8, 4, 5 }; public static double[] asmodeusStats = new double[] { 310, 200, 12, 9, 8, 8 }; public static double[] leviathanStats = new double[] { 380, 240, 16, 12, 10, 13 }; public static double[] satanStats = new double[] { 420, 340, 18, 16, 15, 17 }; public static double[] luciferStats = new double[] { 500, 400, 20, 20, 20, 20 }; // Enemy Affinity // Slash, Stab, Bash, Fire, Ice, Elec, Wind public static double[] belphegorAffinity = new double[] { 1.10, 0.9, 1.6, 0, 0, 0, 0 }; public static double[] beelzebubAffinity = new double[] { 0.95, 1, 1.1, 1.2, 2, 0.9, 1.3 }; public static double[] mammonAffinity = new double[] { 1, 1.2, 0.8, 0.9, 1, 2.2, 3 }; public static double[] asmodeusAffinity = new double[] { 1.2, 1.2, 1, 0.8, 2.5, 1.2, 1.2 }; public static double[] leviathanAffinity = new double[] { 0.5, 1.5, 0.8, 0, 1.8, 3, 1.2 }; public static double[] satanAffinity = new double[] { 1, 1, 1, 0.5, 2.5, 1, 0 }; public static double[] luciferAffinity = new double[] { 1, 1, 1, 1, 1, 1, 1 }; public double E_HP = 0; public double E_MP = 0; public double E_STR = 0; public double E_INT = 0; public double E_DEF = 0; public double E_RES = 0; public double SlashAffinity = 0; public double StabAffinity = 0; public double BashAffinity = 0; public double FireAffinity = 0; public double IceAffinity = 0; public double ElecAffinity = 0; public double WindAffinity = 0; public double turn = 0; public int P_Turn_End = 0; public Form1() { InitializeComponent(); } private void BtnStart_Click(object sender, EventArgs e) { ++NumberOfClick; switch (NumberOfClick) { case 1: richTextBox1.AppendText("You are in Hell. You don't know how or why, but you don't care. You must escape, but the seven princes of Hell will block your way. \n \n"); btnStart.Text = "Continue"; break; case 2: richTextBox1.AppendText("You enter the \"Chamber of Sloth\" \n \n"); break; case 3: richTextBox1.AppendText("Belphegor blocks your way!" + "\n \n"); break; case 4: btnSlash.Enabled = true; btnStab.Enabled = true; btnBash.Enabled = true; btnGuard.Enabled = true; btnHP.Enabled = true; btnMP.Enabled = true; btnStart.Enabled = false; btnExamine.Enabled = true; turn++; E_HP = belphegorStats[0]; E_MP = belphegorStats[1]; E_STR = belphegorStats[2]; E_INT = belphegorStats[3]; E_DEF = belphegorStats[4]; E_RES = belphegorStats[5]; SlashAffinity = belphegorAffinity[0]; richTextBox1.AppendText("Belphegor doesn't bother getting out of his throne." + "\n \n" + "Turn: " + turn + "\n" + "Enemy HP: " + E_HP + "\n" + "Enemy MP: " + E_MP); if (P_Turn_End == 1) { Random rnd = new Random(); int ATKRNG = rnd.Next(1, 2); if (ATKRNG == 1) { richTextBox1.AppendText("Belphegor throws a large rock at you! \n \n"); int RNG = rnd.Next(1, 10); // creates a number between 1 and 6 double DAM = E_STR + RNG - P_DEF; P_HP -= DAM; if (P_HP == 0 || P_HP <= 0) { richTextBox1.AppendText("The rock crushes your head. \n \n You died."); btnSlash.Enabled = false; btnStab.Enabled = false; btnBash.Enabled = false; btnGuard.Enabled = false; btnHP.Enabled = false; btnMP.Enabled = false; btnStart.Enabled = false; } } } break; default: // other clicks // . . . break; } } private void BtnQuit_Click(object sender, EventArgs e) { this.Close(); } private void BtnSlash_Click(object sender, EventArgs e) { Random rnd = new Random(); int RNG = rnd.Next(1, 10); // creates a number between 1 and 6 double DAM = P_STR + RNG * SlashAffinity - E_DEF; richTextBox1.AppendText("You slash your foe with your sword! \n \n"); E_HP -= DAM; P_Turn_End = 1; } private void btnStab_Click(object sender, EventArgs e) { Random rnd = new Random(); int RNG = rnd.Next(1, 10); // creates a number between 1 and 6 double DAM = P_STR + RNG * StabAffinity - E_DEF; richTextBox1.AppendText("You stab your foe with the tip of your sword! \n \n"); E_HP -= DAM; P_Turn_End = 1; } private void btnBash_Click(object sender, EventArgs e) { Random rnd = new Random(); int RNG = rnd.Next(1, 10); // creates a number between 1 and 6 double DAM = P_STR + RNG * BashAffinity - E_DEF; E_HP -= DAM; richTextBox1.AppendText("You bash your foe with the pommel of your sword! \n \n"); P_Turn_End = 1; } private void BtnExamine_Click(object sender, EventArgs e) { //HP = [0], MP = [1], STR = [2], INT = [3], DEF = [4], RES = [5] if (enemyNumber == 1) { string belphegorStatsString = ""; for (int i = 0; i < belphegorStats.Length; i++) belphegorStatsString += belphegorStats[i] + "\n"; MessageBox.Show("Belphegor's Stats\n" + "HP: "+ belphegorStats[0] + "\nMP: " + belphegorStats[1] + "\nSTR: " + belphegorStats[2] + "\nINT: " + belphegorStats[3] + "\nDEF: " + belphegorStats[4] + "\nRES: " + belphegorStats[5]); } else if (enemyNumber == 2) { string beelzebubStatsString = ""; for (int i = 0; i < beelzebubStats.Length; i++) beelzebubStatsString += beelzebubStats[i] + "\n"; MessageBox.Show("Belphegor's Stats\n" + "HP: " + beelzebubStats[0] + "\nMP: " + beelzebubStats[1] + "\nSTR: " + beelzebubStats[2] + "\nINT: " + beelzebubStats[3] + "\nDEF: " + beelzebubStats[4] + "\nRES: " + beelzebubStats[5]); } else if (enemyNumber == 3) { string mammonStatsString = ""; for (int i = 0; i < mammonStats.Length; i++) mammonStatsString += mammonStats[i] + "\n"; MessageBox.Show("Belphegor's Stats\n" + "HP: " + mammonStats[0] + "\nMP: " + mammonStats[1] + "\nSTR: " + mammonStats[2] + "\nINT: " + mammonStats[3] + "\nDEF: " + mammonStats[4] + "\nRES: " + mammonStats[5]); } else if (enemyNumber == 4) { string asmodeusStatsString = ""; for (int i = 0; i < asmodeusStats.Length; i++) asmodeusStatsString += asmodeusStats[i] + "\n"; MessageBox.Show("Belphegor's Stats\n" + "HP: " + asmodeusStats[0] + "\nMP: " + asmodeusStats[1] + "\nSTR: " + asmodeusStats[2] + "\nINT: " + asmodeusStats[3] + "\nDEF: " + asmodeusStats[4] + "\nRES: " + asmodeusStats[5]); } else if (enemyNumber == 5) { string leviathanStatsString = ""; for (int i = 0; i < leviathanStats.Length; i++) leviathanStatsString += leviathanStats[i] + "\n"; MessageBox.Show("Belphegor's Stats\n" + "HP: " + leviathanStats[0] + "\nMP: " + leviathanStats[1] + "\nSTR: " + leviathanStats[2] + "\nINT: " + leviathanStats[3] + "\nDEF: " + leviathanStats[4] + "\nRES: " + leviathanStats[5]); } else if (enemyNumber == 6) { string satanStatsString = ""; for (int i = 0; i < satanStats.Length; i++) satanStatsString += satanStats[i] + "\n"; MessageBox.Show("Belphegor's Stats\n" + "HP: " + satanStats[0] + "\nMP: " + satanStats[1] + "\nSTR: " + satanStats[2] + "\nINT: " + satanStats[3] + "\nDEF: " + satanStats[4] + "\nRES: " + satanStats[5]); } else if (enemyNumber == 7) { string luciferStatsString = ""; for (int i = 0; i < luciferStats.Length; i++) luciferStatsString += luciferStats[i] + "\n"; MessageBox.Show("Belphegor's Stats\n" + "HP: " + luciferStats[0] + "\nMP: " + luciferStats[1] + "\nSTR: " + luciferStats[2] + "\nINT: " + luciferStats[3] + "\nDEF: " + luciferStats[4] + "\nRES: " + luciferStats[5]); } } private void btnGuard_Click(object sender, EventArgs e) { } } } 
    submitted by /u/GrandSalamancer
    [link] [comments]

    I need a special kind of GUI

    Posted: 10 Oct 2019 10:03 AM PDT

    It can be simpler than Qt or Gtk. It can be lower level, such that I would have to build features on top of it. But what it needs, that makes it different, is that is has to be available as dynamic link libraries, such as *.so on Linux or *.dll on Windows. It has to not use any other files than those. The GUI code I build on top of it, has to not need to be in any particular programming language nor need to be compiled and statically linked with anything. No "GUI builder" types of applications, where you build your GUI interactively and then compile it. Nothing but functions in dynamic link libraries. And it has to be easily portable between Linux and Windows. Its manual has to give the details of how to use each of its functions, as if they were being called from a C program.

    What are my options, that meet those requirements? Is this the best place to post this kind of question?

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

    Is a career in programming right for me?

    Posted: 10 Oct 2019 09:54 AM PDT

    I have worked with JavaScript and Python. I'm more experienced with JavaScript. I've mostly used JavaScript for front-end web development so far.

    I like coding for the problem-solving aspect (I use CodeWars for this). I have also enjoyed working on small projects like single webpages (I have used FreeCodeCamp for this).

    BUT.. looking through documentation can be tiresome and I despise html/CSS and web design in general. I also can't seem to find a way to start any big projects independently or join any existing ones on GitHub. The whole working on projects thing is very overwhelming and scary for me. I have no idea how to dig in and get going with it.

    Do I sound like someone who should pursue programming as a career? If so, what direction should I go in exactly? If not, are there any careers outside of programming that sound like a good fit?

    Thanks.

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

    Help with iOS Safari longpress javascript for my web-comic-y site!

    Posted: 10 Oct 2019 09:40 AM PDT

    I've been building my website that I want to feel more and more like an animated comic book but I've run into a block that all my tinkering and Google-searching hasn't unblocked. You can find my Stack Overflow question here: link.

    My site currently works as designed at aishawithaneye.com. The issue is that I can't get a longpress to display the speech bubble that you'll see flash before the webpage loads when you tap a bubble on mobile iOS. It works fine on Android, sometimes with haptic feedback, which is a pleasant surprise.

    Can anyone help me? If not, is there a more appropriate forum to ask?

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

    The significance of ascii value 65?

    Posted: 10 Oct 2019 09:03 AM PDT

    Hi r/AskProgramming,

    I've been doing research about cryptography and wanted to write a program to calculate the index of coincidence of a given text. I found an example online and understood everything except for this part:

    //calculate frequency of each letter in s 

    int ch; for(i=0; i<s.length(); i++){ ch = s.charAt(i)-65; if(ch>=0 && ch<26){ values[ch]++; N++; } }

    My question is why do I have to subtract s.charAt(i) with 65? I know that the value 65 is the Ascii value of A but why do I need to subtract it first?

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

    How to Prevent the Resizing of a Window Affecting JSwing Components and Graphics?

    Posted: 10 Oct 2019 06:02 AM PDT

    All in the title. I will attatch a gif of what I mean but I believe it is self explanitory. Basically how do I get it to stop or rather stay consistant. Thank you for any replies or help. https://gyazo.com/36511a8447ceec0d6c9cb765c8c47ef1

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

    Anyone giving away PyCharm Professional individual license?

    Posted: 10 Oct 2019 03:54 PM PDT

    Solution for a non-crossing path optimization on a set of 2D coordinates?

    Posted: 10 Oct 2019 05:00 AM PDT

    I have a set of 2D coordinates. I could have upwards of 1,000-5,000 coordinates, but not more than 10,000.

    Now, I want to draw the most efficient route from point to point, but I never want a path to cross itself.

    Example: https://imgur.com/a/LL80XHZ

    Any ideas if there is a solution for this out there already? I know this is complicated - but it seems like this should have been solved by someone a whole lot smarter than me.

    Ideas?

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

    What are some Great Firebase tutorials for beginners

    Posted: 10 Oct 2019 01:10 AM PDT

    Hi! I am working on a personalized tour guide application, improving on the downsides of Google maps, trips, trip advisors and other,

    Firebase seems to be a fundamental part.

    I am total beginner in firebase and Android app development, some of the "courses " for firebase on YouTube that I found aren't good enough.

    Like: https://youtu.be/vpsbDbAVO10

    So is there a tutorial you know is very good and will help me build that app properly, I want to store data of user's use, so my app can let recommend others using the previous data and other stuff.

    Really appreciate it!

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

    Data format for processed/annotated video

    Posted: 10 Oct 2019 01:02 AM PDT

    Hi!

    I need to process some video and annotate it with some data, let it be bounding boxes for objects in each frame.

    What would be a suitable method or data format to store everything together so that I can turn On/Off the annotations, hence hard coding them in videos is not an option?

    I was thinking of HDF5 format, but I am not sure if there are better options.

    Thanks a lot!

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

    No comments:

    Post a Comment