{"id":"2317428","text":"Title: How does the phone know where I parked the car if I didn't have the phone with me when I parked it?\nThe text below was posted in an online community called apple in the year 2017:\n\nThis is going to sound like tin foil, but please bear with me. As part of my daily routine, I move my car out of the house so that I can use my garage as a gym. I usually have my phone in my pocket when I do this, but not today. However, when I got into the house and picked up the phone, the screen shows a notification about my car's location. The info was relatively accurate since the car's shown as outside the house, which it is, but a little off to the side to get the shade of a nearby tree. Has this happened to anyone else?","meta":"{'source': 'reddit_posts', 'id': '6d2y9l', 'title': \"How does the phone know where I parked the car if I didn't have the phone with me when I parked it?\", 'author': 'enrac', 'subreddit': 'apple', 'subreddit_id': '2qh1f', 'body': \"This is going to sound like tin foil, but please bear with me. As part of my daily routine, I move my car out of the house so that I can use my garage as a gym. I usually have my phone in my pocket when I do this, but not today. However, when I got into the house and picked up the phone, the screen shows a notification about my car's location. The info was relatively accurate since the car's shown as outside the house, which it is, but a little off to the side to get the shade of a nearby tree. Has this happened to anyone else?\", 'body_is_trimmed': False, 'score': 20, 'over_18': False, 'num_comments': 6, 'created_utc': 1495640707}"}
{"id":"1283442","text":"Title: Make trains go\/stay based on logistics condition?\nThe text below was posted in an online community called factorio in the year 2016:\n\nHeya. For the fun of it I thought I'd make a factory that primarily uses trains. I have a \"chest dropoff\" stop for trains to drop stuff into my hub of chests, such as belts or inserters. However I don't want a million billion belts. Is there a way to set it so that a train will only leave its stop (say, pickup belts stop) based on a logistics condition?\n\nI saw there was this mod http:\/\/www.factoriomods.com\/mods\/logistics-railway\nbut it doesn't seem like it does what I have in mind \n\nany help would be appreciated c:\n\nall best","meta":"{'source': 'reddit_posts', 'id': '53c38t', 'title': 'Make trains go\/stay based on logistics condition?', 'author': 'BillNeeTheScienceBee', 'subreddit': 'factorio', 'subreddit_id': '2wabp', 'body': 'Heya. For the fun of it I thought I\\'d make a factory that primarily uses trains. I have a \"chest dropoff\" stop for trains to drop stuff into my hub of chests, such as belts or inserters. However I don\\'t want a million billion belts. Is there a way to set it so that a train will only leave its stop (say, pickup belts stop) based on a logistics condition?\\n\\nI saw there was this mod http:\/\/www.factoriomods.com\/mods\/logistics-railway\\nbut it doesn\\'t seem like it does what I have in mind \\n\\nany help would be appreciated c:\\n\\nall best', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 4, 'created_utc': 1474204442}"}
{"id":"2073550","text":"Title: Struggling with a for loop inside a function...\nThe text below was posted in an online community called learnjavascript in the year 2019:\n\nHey All,\n\nI've got a project I was given from school - it's very simple but for some reason I can't get my head around why this isn't working correctly.I have a function that needs to iterate through an array provided as one parameter and look for a number in the array provided in another parameter. It is then meant to print out whether the number has been found in the array or not, in an alert.\n\nHere is the code I've got at the moment:\n\n    \/\/Variable containing the customers numbers\n    var customerNumbers = 12;\n    \n    \/\/Variable containing an array of the winning numbers \n    var winningNumbers = [12, 17, 24, 37, 38, 43];\n    \n    \n    function getCustomerNumber(){ return customerNumbers; }\n    \n    function getWinningNumbers(){ return winningNumbers; }\n    \n    \n    function displayResult(result){ if (result == true){ \n        alert(\"This Week's Winning Numbers are:\\n\" + winningNumbers + \"\\nThe Customer's Number is:\\n\" + customerNumbers + \"\\nWe have a match and a winner!\"); \n    } else { \n        alert(\"This Week's Winning Numbers are:\\n\" + winningNumbers + \"\\nThe Customer's Number is:\\n\" + customerNumbers + \"\\nSorry you are not a winner this week.\");} \n    }\n    \n    function checkNumbers(customerNum, winningNum){ \n        \/\/Boolean Variable used to show if the customers number is a winning number\n        var match = false; \n        \/\/For loop to iterate through each item in the winningNumbers array - with an if statement to     compare the current array item to the         customers number\n        for(var i=0; i&lt;winningNum.length; i++){ \n            if (customerNum == winningNum[i]){ match = true; } \n        } displayResult(match);\n    }\n    \n    checkNumbers(getCustomerNumber, getWinningNumbers);\n\n&amp;#x200B;\n\nNow, what *should* happen, is that the result should be true and the alert should display the 'We have a match and a winner!' statement because 12 is in the array, but it actually displays the 'Sorry you are not a winner this week.' statement.It doesn't seem to be hitting the for loop in the checkNumbers function because the match variable stays false and doesn't switch to true. If I change the customerNumbers variable from 12 to a number that isn't in the array it still displays 'Sorry you are not a winner this week.' which is correct.If I change the first line of the displayResult function from `if (result == true)`  to `if (result == false)` it then does the opposite and whether the customerNumbers is 12 or 13 it will always display the 'We have a match and a winner!' message.\n\nI have a feeling i'm just missing something silly but I just cant figure it out at all - been stumped on this one all day!Does anyone have any ideas?","meta":"{'source': 'reddit_posts', 'id': 'aspz6x', 'title': 'Struggling with a for loop inside a function...', 'author': 'AceUK', 'subreddit': 'learnjavascript', 'subreddit_id': '2tugi', 'body': 'Hey All,\\n\\nI\\'ve got a project I was given from school - it\\'s very simple but for some reason I can\\'t get my head around why this isn\\'t working correctly.I have a function that needs to iterate through an array provided as one parameter and look for a number in the array provided in another parameter. It is then meant to print out whether the number has been found in the array or not, in an alert.\\n\\nHere is the code I\\'ve got at the moment:\\n\\n    \/\/Variable containing the customers numbers\\n    var customerNumbers = 12;\\n    \\n    \/\/Variable containing an array of the winning numbers \\n    var winningNumbers = [12, 17, 24, 37, 38, 43];\\n    \\n    \\n    function getCustomerNumber(){ return customerNumbers; }\\n    \\n    function getWinningNumbers(){ return winningNumbers; }\\n    \\n    \\n    function displayResult(result){ if (result == true){ \\n        alert(\"This Week\\'s Winning Numbers are:\\\\n\" + winningNumbers + \"\\\\nThe Customer\\'s Number is:\\\\n\" + customerNumbers + \"\\\\nWe have a match and a winner!\"); \\n    } else { \\n        alert(\"This Week\\'s Winning Numbers are:\\\\n\" + winningNumbers + \"\\\\nThe Customer\\'s Number is:\\\\n\" + customerNumbers + \"\\\\nSorry you are not a winner this week.\");} \\n    }\\n    \\n    function checkNumbers(customerNum, winningNum){ \\n        \/\/Boolean Variable used to show if the customers number is a winning number\\n        var match = false; \\n        \/\/For loop to iterate through each item in the winningNumbers array - with an if statement to     compare the current array item to the         customers number\\n        for(var i=0; i&lt;winningNum.length; i++){ \\n            if (customerNum == winningNum[i]){ match = true; } \\n        } displayResult(match);\\n    }\\n    \\n    checkNumbers(getCustomerNumber, getWinningNumbers);\\n\\n&amp;#x200B;\\n\\nNow, what *should* happen, is that the result should be true and the alert should display the \\'We have a match and a winner!\\' statement because 12 is in the array, but it actually displays the \\'Sorry you are not a winner this week.\\' statement.It doesn\\'t seem to be hitting the for loop in the checkNumbers function because the match variable stays false and doesn\\'t switch to true. If I change the customerNumbers variable from 12 to a number that isn\\'t in the array it still displays \\'Sorry you are not a winner this week.\\' which is correct.If I change the first line of the displayResult function from `if (result == true)`  to `if (result == false)` it then does the opposite and whether the customerNumbers is 12 or 13 it will always display the \\'We have a match and a winner!\\' message.\\n\\nI have a feeling i\\'m just missing something silly but I just cant figure it out at all - been stumped on this one all day!Does anyone have any ideas?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 8, 'created_utc': 1550678431}"}
{"id":"398479","text":"Title: [2020 Day 10 (Part 2)] How does the Tribonacci Sequence work?\nThe text below was posted in an online community called adventofcode in the year 2020:\n\nHi y'alls!\n\nI managed to solve Day 10 with what I feel was a rather hack-ish solution of finding possible combinations of sequences increasing by 1. I've been looking through the subreddit and have seen many solutions using a Tribonacci Sequence, but I can't really understand why it works :( Could anyone be so kind as to help me better understand why it works? Thanks!!","meta":"{'source': 'reddit_posts', 'id': 'kaehjh', 'title': '[2020 Day 10 (Part 2)] How does the Tribonacci Sequence work?', 'author': 'pharris_wheeliams', 'subreddit': 'adventofcode', 'subreddit_id': '3b3wa', 'body': \"Hi y'alls!\\n\\nI managed to solve Day 10 with what I feel was a rather hack-ish solution of finding possible combinations of sequences increasing by 1. I've been looking through the subreddit and have seen many solutions using a Tribonacci Sequence, but I can't really understand why it works :( Could anyone be so kind as to help me better understand why it works? Thanks!!\", 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 4, 'created_utc': 1607603504}"}
{"id":"690475","text":"Title: Quickly transferring all open Edge-Tabs from PC to tablet?\nThe text below was posted in an online community called Windows10 in the year 2015:\n\nHey guys,\n\nis there an easy way to put all the open tabs from my PC onto my tablet (both running Win10, both logged in with MS-Account)?\n\nSo that I can keep browsing the opened subs and threads even if I have to go.","meta":"{'source': 'reddit_posts', 'id': '3odcgb', 'title': 'Quickly transferring all open Edge-Tabs from PC to tablet?', 'author': 'CriticalCrit', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': 'Hey guys,\\n\\nis there an easy way to put all the open tabs from my PC onto my tablet (both running Win10, both logged in with MS-Account)?\\n\\nSo that I can keep browsing the opened subs and threads even if I have to go.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': '1444595778'}"}
{"id":"2336717","text":"Title: NOC Monitoring Setup\nThe text below was posted in an online community called networking in the year 2018:\n\nHow are people setting up their monitoring systems in NOC rooms?  We don't have a large team, but we are growing, and it's about time we throw some TV's in our working areas with monitoring systems casting live information.\n\nI don't know where to start except for configuring a PC with multiple video outputs and having someone login each morning and then login to each system.  What are recommended hardware\/software setups that make NOC monitoring easy and efficient?","meta":"{'source': 'reddit_posts', 'id': '8jcajj', 'title': 'NOC Monitoring Setup', 'author': 'jaywalker8', 'subreddit': 'networking', 'subreddit_id': '2qkaf', 'body': \"How are people setting up their monitoring systems in NOC rooms?  We don't have a large team, but we are growing, and it's about time we throw some TV's in our working areas with monitoring systems casting live information.\\n\\nI don't know where to start except for configuring a PC with multiple video outputs and having someone login each morning and then login to each system.  What are recommended hardware\/software setups that make NOC monitoring easy and efficient?\", 'body_is_trimmed': False, 'score': 113, 'over_18': False, 'num_comments': 54, 'created_utc': 1526305051}"}
{"id":"925703","text":"Title: Visual Studio weird rendering issue\/potential glitch?\nThe text below was posted in an online community called csharp in the year 2019:\n\nI realise it may be hard to follow what exactly my program is meant to do, but there is an odd rendering issue going on. In the video the first two pairs of textbox and button is what it is supposed to look like, but then the next ones only render the button (with part of it slightly cut off), then later some don't render at all, then some render with only the text box. It is very odd and I have no idea what is happening, and have no clue how to even turn it into a meaningful Google search. I've tried calling Refresh() and Update() on the Form and the Panel they are in but to no avail. Was hoping anyone here may have an idea what is causing it.\n\nPlease let me know what other details you may need to figure this out! Thank you :)\n\n&amp;#x200B;\n\nIn Form1.cs:\n\n    public void addControl(Control control) {\n    this.splitContainer1.Panel2.Controls.Add(control);\n    }\n    \n    public void addNode(TextNode parent) {\n    \n    int y = parent.Location.Y + ((parent.getTotalNumNodes() + 1) * HEIGHT);\n    TextNode newNode = new TextNode(this, parent, parent.Location.X + INDENT, y);\n    \n    addControl(newNode);\n    parent.addNode(newNode);\n    this.splitContainer1.Panel2.Refresh();\n    \n    }\n\n&amp;#x200B;\n\nAnd in TextNode.cs:\n\n    public TextNode(Form1 form, TextNode parent, int x, int y) {\n    \n    this.form = form;\n    this.parent = parent;\n    \n    nodes = new List&lt;TextNode&gt;();\n    \n    Location = new Point(x, y);\n    \n    textBox = new NodeTextBox();\n    textBox.Text = \"New node\";\n    textBox.Location = new Point(x, y);\n    \n    addButton = new Button();\n    addButton.Text = \"+\";\n    addButton.Location = new Point(x + 100, y);\n    addButton.Size = new Size(24, 24);\n    addButton.ForeColor = Color.Black;\n    addButton.Click += addButton_Click;\n    \n    form.addControl(textBox);\n    form.addControl(addButton);\n    \n    }\n    \n    void addButton_Click(object sender, EventArgs e) {\n    form.addNode(this);\n    }\n    \n    public void addNode(TextNode node) {\n    nodes.Add(node);\n    }\n    \n\n&amp;#x200B;\n\nhttps:\/\/reddit.com\/link\/e3dr3g\/video\/dgpznhm75m141\/player","meta":"{'source': 'reddit_posts', 'id': 'e3dr3g', 'title': 'Visual Studio weird rendering issue\/potential glitch?', 'author': 'samxcr', 'subreddit': 'csharp', 'subreddit_id': '2qhdf', 'body': 'I realise it may be hard to follow what exactly my program is meant to do, but there is an odd rendering issue going on. In the video the first two pairs of textbox and button is what it is supposed to look like, but then the next ones only render the button (with part of it slightly cut off), then later some don\\'t render at all, then some render with only the text box. It is very odd and I have no idea what is happening, and have no clue how to even turn it into a meaningful Google search. I\\'ve tried calling Refresh() and Update() on the Form and the Panel they are in but to no avail. Was hoping anyone here may have an idea what is causing it.\\n\\nPlease let me know what other details you may need to figure this out! Thank you :)\\n\\n&amp;#x200B;\\n\\nIn Form1.cs:\\n\\n    public void addControl(Control control) {\\n    this.splitContainer1.Panel2.Controls.Add(control);\\n    }\\n    \\n    public void addNode(TextNode parent) {\\n    \\n    int y = parent.Location.Y + ((parent.getTotalNumNodes() + 1) * HEIGHT);\\n    TextNode newNode = new TextNode(this, parent, parent.Location.X + INDENT, y);\\n    \\n    addControl(newNode);\\n    parent.addNode(newNode);\\n    this.splitContainer1.Panel2.Refresh();\\n    \\n    }\\n\\n&amp;#x200B;\\n\\nAnd in TextNode.cs:\\n\\n    public TextNode(Form1 form, TextNode parent, int x, int y) {\\n    \\n    this.form = form;\\n    this.parent = parent;\\n    \\n    nodes = new List&lt;TextNode&gt;();\\n    \\n    Location = new Point(x, y);\\n    \\n    textBox = new NodeTextBox();\\n    textBox.Text = \"New node\";\\n    textBox.Location = new Point(x, y);\\n    \\n    addButton = new Button();\\n    addButton.Text = \"+\";\\n    addButton.Location = new Point(x + 100, y);\\n    addButton.Size = new Size(24, 24);\\n    addButton.ForeColor = Color.Black;\\n    addButton.Click += addButton_Click;\\n    \\n    form.addControl(textBox);\\n    form.addControl(addButton);\\n    \\n    }\\n    \\n    void addButton_Click(object sender, EventArgs e) {\\n    form.addNode(this);\\n    }\\n    \\n    public void addNode(TextNode node) {\\n    nodes.Add(node);\\n    }\\n    \\n\\n&amp;#x200B;\\n\\nhttps:\/\/reddit.com\/link\/e3dr3g\/video\/dgpznhm75m141\/player', 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 8, 'created_utc': 1575028007}"}
{"id":"2119375","text":"Title: [Looking for Feedback] Ant Colony Optimisation in Elixir\nThe text below was posted in an online community called elixir in the year 2019:\n\nHi r\/elixir,\n\nFirst of all, I'm very happy to join the community! I just started learning elixir, and decided to start a pet project to do so. \n\nI implemented an Ant Colony Optimisation algorithm to solve the Travelling Salesman Problem in Elixir. Since it's highly parallel by nature, I figured it could be easily scalable on the Erlang VM. \n\nI would love to receive some feedback from experienced developers about my approach. Here's a PR you can directly review ([https:\/\/github.com\/Layvier\/ant-colony-elixir\/pull\/1](https:\/\/github.com\/Layvier\/ant-colony-elixir\/pull\/1)), or here on the comments.\n\nI plan on writing an article about it afterwards, as an introduction to the language.\n\nThanks a lot !","meta":"{'source': 'reddit_posts', 'id': 'dd6s3n', 'title': '[Looking for Feedback] Ant Colony Optimisation in Elixir', 'author': 'Maxterfike', 'subreddit': 'elixir', 'subreddit_id': '2vhb3', 'body': \"Hi r\/elixir,\\n\\nFirst of all, I'm very happy to join the community! I just started learning elixir, and decided to start a pet project to do so. \\n\\nI implemented an Ant Colony Optimisation algorithm to solve the Travelling Salesman Problem in Elixir. Since it's highly parallel by nature, I figured it could be easily scalable on the Erlang VM. \\n\\nI would love to receive some feedback from experienced developers about my approach. Here's a PR you can directly review ([https:\/\/github.com\/Layvier\/ant-colony-elixir\/pull\/1](https:\/\/github.com\/Layvier\/ant-colony-elixir\/pull\/1)), or here on the comments.\\n\\nI plan on writing an article about it afterwards, as an introduction to the language.\\n\\nThanks a lot !\", 'body_is_trimmed': False, 'score': 20, 'over_18': False, 'num_comments': 5, 'created_utc': 1570192614}"}
{"id":"391530","text":"Title: Question about past experience\nThe text below was posted in an online community called cscareerquestions in the year 2022:\n\nI apologize if this is a dumb question. I am seeking a computer science degree and have been at my current job for two years going on three. Does it look good at all to put on my resume or do I even bother? It's a retail job if that helps. Also does customer service help at all in securing a cs job? And since I don't have alot of experience in the realm of cs as it is my first year is it stupid to pursue a job in banking while I continue to teach myself cs or should I pursue an internship asap as a freshman? I just feel maybe a job in banking might look better then my current retail position but I'm not sure. I appreciate any feedback feel free to call me dumb. I am also really enjoying computer science and the challenges that come with it!","meta":"{'source': 'reddit_posts', 'id': 'ydiynd', 'title': 'Question about past experience', 'author': 'Inevitable_World1576', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"I apologize if this is a dumb question. I am seeking a computer science degree and have been at my current job for two years going on three. Does it look good at all to put on my resume or do I even bother? It's a retail job if that helps. Also does customer service help at all in securing a cs job? And since I don't have alot of experience in the realm of cs as it is my first year is it stupid to pursue a job in banking while I continue to teach myself cs or should I pursue an internship asap as a freshman? I just feel maybe a job in banking might look better then my current retail position but I'm not sure. I appreciate any feedback feel free to call me dumb. I am also really enjoying computer science and the challenges that come with it!\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 4, 'created_utc': 1666740539}"}
{"id":"2262269","text":"Title: Can Apple shut down flutter exports?\nThe text below was posted in an online community called FlutterDev in the year 2019:\n\nApple is known for shutting down competition. How is the back end of flutter handled? Is it written in swift?\n\nI really like flutter hopefully iOS exports continue to work indefinitely. \n\nIs this something to be worried about?","meta":"{'source': 'reddit_posts', 'id': 'ei7dvu', 'title': 'Can Apple shut down flutter exports?', 'author': 'Coffee4thewin', 'subreddit': 'FlutterDev', 'subreddit_id': '2x3q8', 'body': 'Apple is known for shutting down competition. How is the back end of flutter handled? Is it written in swift?\\n\\nI really like flutter hopefully iOS exports continue to work indefinitely. \\n\\nIs this something to be worried about?', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 13, 'created_utc': 1577819726}"}
{"id":"558904","text":"Title: Child Routes vs. *ngIf\nThe text below was posted in an online community called Angular2 in the year 2016:\n\nWhat are your thoughts on these two approaches to switching between a detail component and an edit component?\n\nSwitching components with *ngIf:\n    \n    &lt;div class=\"card\"&gt;\n        &lt;component-detail *ngIf=\"!editState\"&gt;&lt;\/component-detail&gt;\n        &lt;component-edit *ngIf=\"editState\"&gt;&lt;\/component-edit&gt;\n    &lt;\/div&gt;\n\nCreating child routes to navigate between the two components in place:\n\n    &lt;div class=\"card\"&gt;\n        &lt;router-outlet&gt;&lt;\/router-outlet&gt;\n    &lt;\/div&gt;\n\nTIA","meta":"{'source': 'reddit_posts', 'id': '55vylh', 'title': 'Child Routes vs. *ngIf', 'author': 'wolfhoundjesse', 'subreddit': 'Angular2', 'subreddit_id': '36qrt', 'body': 'What are your thoughts on these two approaches to switching between a detail component and an edit component?\\n\\nSwitching components with *ngIf:\\n    \\n    &lt;div class=\"card\"&gt;\\n        &lt;component-detail *ngIf=\"!editState\"&gt;&lt;\/component-detail&gt;\\n        &lt;component-edit *ngIf=\"editState\"&gt;&lt;\/component-edit&gt;\\n    &lt;\/div&gt;\\n\\nCreating child routes to navigate between the two components in place:\\n\\n    &lt;div class=\"card\"&gt;\\n        &lt;router-outlet&gt;&lt;\/router-outlet&gt;\\n    &lt;\/div&gt;\\n\\nTIA', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 10, 'created_utc': 1475616880}"}
{"id":"1949515","text":"Title: My touch id for the 2021 imac is, gone?\nThe text below was posted in an online community called mac in the year 2021:\n\nHi! I updated my iMac (24-inch, M1, 2021) maybe a month ago and all of the sudden my touch id stopped working. First couple of times i still saw the type password OR touch id but it didn't work so i used my password a couple times. I didn't thought anything of it because i did have really cold fingers and i blamed it on that. Now 2 days later the touch id option is gone and i don't know where i can find it. I tried the touch id menu in system preferences but the unlock your mac with touch id is on..\n\n&amp;#x200B;\n\nEdit: i tried adding another finger but it directly said that it failed. Probably a keyboard issue?","meta":"{'source': 'reddit_posts', 'id': 'qthpib', 'title': 'My touch id for the 2021 imac is, gone?', 'author': 'I_CUM_ON_YOUR_PET', 'subreddit': 'mac', 'subreddit_id': '2qh4u', 'body': \"Hi! I updated my iMac (24-inch, M1, 2021) maybe a month ago and all of the sudden my touch id stopped working. First couple of times i still saw the type password OR touch id but it didn't work so i used my password a couple times. I didn't thought anything of it because i did have really cold fingers and i blamed it on that. Now 2 days later the touch id option is gone and i don't know where i can find it. I tried the touch id menu in system preferences but the unlock your mac with touch id is on..\\n\\n&amp;#x200B;\\n\\nEdit: i tried adding another finger but it directly said that it failed. Probably a keyboard issue?\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 3, 'created_utc': 1636863099}"}
{"id":"1911023","text":"Title: Learn to create a simple HTTP Web Server in Java\nThe text below was posted in an online community called learnjava in the year 2018:\n\nHello, I made a two parts tutorials showing how to create a simple HTTP Web Server in Java by using ServerSocket and Socket classes of the JDK.\n\n&amp;nbsp;\n\n- Part 1 : https:\/\/www.youtube.com\/watch?v=LJjIaCKuzoc\n- Part 2 : https:\/\/www.youtube.com\/watch?v=NXXCDA4ZkwY\n\n&amp;nbsp;\n\nThe complete source code of the HTTP Web Server made in the video is available just here on my blog : https:\/\/www.ssaurel.com\/blog\/create-a-simple-http-web-server-in-java\/","meta":"{'source': 'reddit_posts', 'id': '8fx70w', 'title': 'Learn to create a simple HTTP Web Server in Java', 'author': 'sylsau', 'subreddit': 'learnjava', 'subreddit_id': '2saos', 'body': 'Hello, I made a two parts tutorials showing how to create a simple HTTP Web Server in Java by using ServerSocket and Socket classes of the JDK.\\n\\n&amp;nbsp;\\n\\n- Part 1 : https:\/\/www.youtube.com\/watch?v=LJjIaCKuzoc\\n- Part 2 : https:\/\/www.youtube.com\/watch?v=NXXCDA4ZkwY\\n\\n&amp;nbsp;\\n\\nThe complete source code of the HTTP Web Server made in the video is available just here on my blog : https:\/\/www.ssaurel.com\/blog\/create-a-simple-http-web-server-in-java\/', 'body_is_trimmed': False, 'score': 22, 'over_18': False, 'num_comments': 4, 'created_utc': 1525065615}"}
{"id":"1838898","text":"Title: Platformio project: header file not found even though library is installed\nThe text below was posted in an online community called vscode in the year 2022:\n\nI have platformio installed in VSCode and I'm attempting to run a test program (from here: https:\/\/randomnerdtutorials.com\/guide-for-ws2812b-addressable-rgb-led-strip-with-arduino\/ ) to use with an addressable LED strip and an arduino uno.\n\nI made a project and installed the FastLED library in platformio and then copied the code from the website into main.cpp and when I run debug using avr-gcc I get the error \"FastLED.h: No such file or directory\".\n\nHow do I reconcile this?","meta":"{'source': 'reddit_posts', 'id': 'vjiiz3', 'title': 'Platformio project: header file not found even though library is installed', 'author': 'roylennigan', 'subreddit': 'vscode', 'subreddit_id': '381yu', 'body': 'I have platformio installed in VSCode and I\\'m attempting to run a test program (from here: https:\/\/randomnerdtutorials.com\/guide-for-ws2812b-addressable-rgb-led-strip-with-arduino\/ ) to use with an addressable LED strip and an arduino uno.\\n\\nI made a project and installed the FastLED library in platformio and then copied the code from the website into main.cpp and when I run debug using avr-gcc I get the error \"FastLED.h: No such file or directory\".\\n\\nHow do I reconcile this?', 'body_is_trimmed': False, 'score': 11, 'over_18': False, 'num_comments': 5, 'created_utc': 1656054846}"}
{"id":"2359634","text":"Title: Ebay Search Engine on FireFox 84.0\nThe text below was posted in an online community called firefox in the year 2020:\n\nHello the default ebay search engine on firefox version 84 is no longer working. Yes, I tired with all add-on disable and all it manages to do is navigate to the ebays home page with out my search query. Can anyone give me a suggestion on how to fix this?","meta":"{'source': 'reddit_posts', 'id': 'keqltl', 'title': 'Ebay Search Engine on FireFox 84.0', 'author': 'EtherPotato', 'subreddit': 'firefox', 'subreddit_id': '2qh4p', 'body': 'Hello the default ebay search engine on firefox version 84 is no longer working. Yes, I tired with all add-on disable and all it manages to do is navigate to the ebays home page with out my search query. Can anyone give me a suggestion on how to fix this?', 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 20, 'created_utc': 1608180488}"}
{"id":"1055377","text":"Title: Looking for someone on here that I can interview for school.\nThe text below was posted in an online community called cscareerquestions in the year 2016:\n\nI have an assignment to interview 2 people that have a career in something that I have some interest in. So I thought it would be a good idea to ask in this community. I will only be asking for your name, four questions related to your career, and for your current position at your job (if possible I would also appreciate having an email address to refer to)\n\nthe questions are\n\n-Can you please describe what your typical work day consists of?\n\n-Are you happy with your decision in following this career?(why?)\n\n-What advice would you give to someone who is looking into a similar career as yours?\n\n-What would you have done differently in your past to make things easier for yourself?\n\nIf anyone would like to help out and answer these questions please message me (or if you are comfortable leaving a comment that is fine also).","meta":"{'source': 'reddit_posts', 'id': '5bevwe', 'title': 'Looking for someone on here that I can interview for school.', 'author': 'rl_rlq', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': 'I have an assignment to interview 2 people that have a career in something that I have some interest in. So I thought it would be a good idea to ask in this community. I will only be asking for your name, four questions related to your career, and for your current position at your job (if possible I would also appreciate having an email address to refer to)\\n\\nthe questions are\\n\\n-Can you please describe what your typical work day consists of?\\n\\n-Are you happy with your decision in following this career?(why?)\\n\\n-What advice would you give to someone who is looking into a similar career as yours?\\n\\n-What would you have done differently in your past to make things easier for yourself?\\n\\nIf anyone would like to help out and answer these questions please message me (or if you are comfortable leaving a comment that is fine also).', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1478421068}"}
{"id":"1529121","text":"Title: I'm looking to loop two commands in the same script with the ability to toggle.\nThe text below was posted in an online community called AutoHotkey in the year 2019:\n\nI'm completely foreign to this but i wanted to make a script that continuously loops Ctrl+E, followed with the right arrow  key infinitely until i toggle the same script again which would turn it off (in theory)\n\nI'm looking to assign a macro on my Elgato Streamdeck and would ideally want it to be togglable with the same button. Any suggestions?","meta":"{'source': 'reddit_posts', 'id': 'eas4ae', 'title': \"I'm looking to loop two commands in the same script with the ability to toggle.\", 'author': 'prodbyrelik', 'subreddit': 'AutoHotkey', 'subreddit_id': '2rodl', 'body': \"I'm completely foreign to this but i wanted to make a script that continuously loops Ctrl+E, followed with the right arrow  key infinitely until i toggle the same script again which would turn it off (in theory)\\n\\nI'm looking to assign a macro on my Elgato Streamdeck and would ideally want it to be togglable with the same button. Any suggestions?\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 2, 'created_utc': 1576371279}"}
{"id":"1083073","text":"Title: I wrote a stateless authentication lib: Flask-Stateless-Auth\nThe text below was posted in an online community called flask in the year 2018:\n\n[Flask-Stateless-Auth](https:\/\/github.com\/omarryhan\/flask-stateless-auth)\n\nWhile working on a personal project with Flask, I needed an authentication library that would allow a user to authenticate with tokens that are to be checked against a database instead of using JWT and the likes which are typically cryptographically verified.\n\n&amp;#x200B;\n\nI couldn't find one, so I made one. \n\nHope you guys like it, and of course please raise any issues or ideas on [Github](https:\/\/github.com\/omarryhan\/flask-stateless-auth) if you have any.","meta":"{'source': 'reddit_posts', 'id': '9fgv0a', 'title': 'I wrote a stateless authentication lib: Flask-Stateless-Auth', 'author': 'omarfryhan', 'subreddit': 'flask', 'subreddit_id': '2s1s3', 'body': \"[Flask-Stateless-Auth](https:\/\/github.com\/omarryhan\/flask-stateless-auth)\\n\\nWhile working on a personal project with Flask, I needed an authentication library that would allow a user to authenticate with tokens that are to be checked against a database instead of using JWT and the likes which are typically cryptographically verified.\\n\\n&amp;#x200B;\\n\\nI couldn't find one, so I made one. \\n\\nHope you guys like it, and of course please raise any issues or ideas on [Github](https:\/\/github.com\/omarryhan\/flask-stateless-auth) if you have any.\", 'body_is_trimmed': False, 'score': 16, 'over_18': False, 'num_comments': 7, 'created_utc': 1536834874}"}
{"id":"1642343","text":"Title: usb keyboard -&gt; arduino -&gt; computer keylogger\/encryption\nThe text below was posted in an online community called arduino in the year 2012:\n\nis there a way I can put my arduino board as a hardware root between my keyboard and computer to use for keylogging in a cache or even encoding and encrypting outgoing keyboard data?","meta":"{'source': 'reddit_posts', 'id': 'pfu4e', 'title': 'usb keyboard -&gt; arduino -&gt; computer keylogger\/encryption', 'author': 'dudeimawizard', 'subreddit': 'arduino', 'subreddit_id': '2qknj', 'body': 'is there a way I can put my arduino board as a hardware root between my keyboard and computer to use for keylogging in a cache or even encoding and encrypting outgoing keyboard data?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 4, 'created_utc': 1328677311}"}
{"id":"2250798","text":"Title: Arduino Project for Anniversary\nThe text below was posted in an online community called arduino in the year 2022:\n\nHello all! For my lovely girlfriend of soon to be 3 years, I am trying to create something simple but special for her! My idea is a small wooden box, and when you open said box, the LCD screen draws a heart and writes \"I Love You!\" below the heart or something along those lines. I am very new to Arduino and am not really too sure where to start honestly. If y'all lovely people could give me some pointers (or if you're feeling ambitious and generous, maybe a small guide) on where to start, that would be greatly appreciated! The idea seems fairly simple, but with my extremely limited knowledge, I could be very wrong haha.\n\n(Follow-up question, am I able to implement a program from Python to handle the drawing on the display and such? I already wrote a program that I am satisfied with, just wondering if I can directly implement that or would have to rewrite it for Arduino.)","meta":"{'source': 'reddit_posts', 'id': 'ujucli', 'title': 'Arduino Project for Anniversary', 'author': 'Anxious_Target_2376', 'subreddit': 'arduino', 'subreddit_id': '2qknj', 'body': 'Hello all! For my lovely girlfriend of soon to be 3 years, I am trying to create something simple but special for her! My idea is a small wooden box, and when you open said box, the LCD screen draws a heart and writes \"I Love You!\" below the heart or something along those lines. I am very new to Arduino and am not really too sure where to start honestly. If y\\'all lovely people could give me some pointers (or if you\\'re feeling ambitious and generous, maybe a small guide) on where to start, that would be greatly appreciated! The idea seems fairly simple, but with my extremely limited knowledge, I could be very wrong haha.\\n\\n(Follow-up question, am I able to implement a program from Python to handle the drawing on the display and such? I already wrote a program that I am satisfied with, just wondering if I can directly implement that or would have to rewrite it for Arduino.)', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 2, 'created_utc': 1651862907}"}
{"id":"838712","text":"Title: Assistance Needed. Motion detection to serial port.\nThe text below was posted in an online community called computervision in the year 2010:\n\nHopefully you guys can help me out.\n\nI'm trying to identify the point of maximum motion within a web-cam view and send it to a COM port on the computer (maybe with some idea of the magnitude of the motion).\n\nUnfortunately, my programming skill is mostly with ICs and this is a little beyond me, at least in the time frame. I want to get it assembled and working for Halloween. \n\nCan anyone recommend a program that could do this?","meta":"{'source': 'reddit_posts', 'id': 'dvnfn', 'title': 'Assistance Needed. Motion detection to serial port.', 'author': 'cynar', 'subreddit': 'computervision', 'subreddit_id': '2rfzn', 'body': \"Hopefully you guys can help me out.\\n\\nI'm trying to identify the point of maximum motion within a web-cam view and send it to a COM port on the computer (maybe with some idea of the magnitude of the motion).\\n\\nUnfortunately, my programming skill is mostly with ICs and this is a little beyond me, at least in the time frame. I want to get it assembled and working for Halloween. \\n\\nCan anyone recommend a program that could do this?\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 4, 'created_utc': 1287929012}"}
{"id":"467165","text":"Title: Virtual VA Government Internship Seeking Web College Students for Fall\nThe text below was posted in an online community called web_design in the year 2020:\n\nHello! I'm Afton, the Department Head for the Human Resources team at the Digital Media Engagement (DME) Internship. We're affiliated with the Department of Veteran's Affairs and we'll have openings for interns this coming fall in a variety of departments. Our teams work on creating, publishing, and researching content for the official social media channels of the VA, but we also have a variety of other departments who support the infrastructure to do this. These include but aren't limited to: a data analytics team, a web team, and a human resources team.  \n\n\nOur web team maintains, builds, and improves our [dmeinterns.org](https:\/\/dmeinterns.org) website.  Projects interns this year have taken on include implementing an on-boarding system, integrating a social connection element to the site, design messaging boards, maintaining site security, and a host of other projects.  Our Web team is split into Web Development and Web Content positions.  \n\nOur internships are entirely virtual with a requirement of ten hours a week. Those hours can be spent in a way that is flexible with your schedule since the majority of our work is structured in such a way that it can be accomplished on a task by task basis. Plus, you get the opportunity to network with a variety of other high-performing and like-minded individuals as well as VA employees and veterans. There's also the added benefit that in times like these, we're still able to function.\n\nI'll be popping on and off all day to answer any questions you may have, but in the interim you can view some of the most common questions at: [https:\/\/dmeinterns.org\/application-information\/](https:\/\/dmeinterns.org\/application-information\/) where you can also sign up for more information, updates, and reminders about application deadlines by entering your email.\n\nTL;DR Join an online government affiliated internship for college credit this fall!","meta":"{'source': 'reddit_posts', 'id': 'fuvccz', 'title': 'Virtual VA Government Internship Seeking Web College Students for Fall', 'author': 'DME_Interns', 'subreddit': 'web_design', 'subreddit_id': '2qh1m', 'body': \"Hello! I'm Afton, the Department Head for the Human Resources team at the Digital Media Engagement (DME) Internship. We're affiliated with the Department of Veteran's Affairs and we'll have openings for interns this coming fall in a variety of departments. Our teams work on creating, publishing, and researching content for the official social media channels of the VA, but we also have a variety of other departments who support the infrastructure to do this. These include but aren't limited to: a data analytics team, a web team, and a human resources team.  \\n\\n\\nOur web team maintains, builds, and improves our [dmeinterns.org](https:\/\/dmeinterns.org) website.  Projects interns this year have taken on include implementing an on-boarding system, integrating a social connection element to the site, design messaging boards, maintaining site security, and a host of other projects.  Our Web team is split into Web Development and Web Content positions.  \\n\\nOur internships are entirely virtual with a requirement of ten hours a week. Those hours can be spent in a way that is flexible with your schedule since the majority of our work is structured in such a way that it can be accomplished on a task by task basis. Plus, you get the opportunity to network with a variety of other high-performing and like-minded individuals as well as VA employees and veterans. There's also the added benefit that in times like these, we're still able to function.\\n\\nI'll be popping on and off all day to answer any questions you may have, but in the interim you can view some of the most common questions at: [https:\/\/dmeinterns.org\/application-information\/](https:\/\/dmeinterns.org\/application-information\/) where you can also sign up for more information, updates, and reminders about application deadlines by entering your email.\\n\\nTL;DR Join an online government affiliated internship for college credit this fall!\", 'body_is_trimmed': False, 'score': 15, 'over_18': False, 'num_comments': 8, 'created_utc': 1586013309}"}
{"id":"2269978","text":"Title: Random slowdowns on MongoDB Atlas\nThe text below was posted in an online community called mongodb in the year 2020:\n\nI've been running a free instance of MongoDB Atlas in production for the last several months. I've always easily fit within the limits. However, several days ago, for the first time, queries began taking a really long time, to the tune of 45 seconds for a query that used to take several milliseconds.\n\nThe queries are being done by Google Cloud Functions so I have a graph of how long each invocation took.\n\n[30-day chart of Google Cloud Function execution time](https:\/\/preview.redd.it\/ouw03kunyer41.png?width=1220&amp;format=png&amp;auto=webp&amp;s=f48cd322cf84034ea6c53fa57a9da78cfa52c797)\n\nI have the same long queries on my local machine as well.\n\nAfter some time, the queries times go back to normal.\n\nAny clue as to what could be causing this?","meta":"{'source': 'reddit_posts', 'id': 'fwmepz', 'title': 'Random slowdowns on MongoDB Atlas', 'author': 'the_best_moshe', 'subreddit': 'mongodb', 'subreddit_id': '2rjwd', 'body': \"I've been running a free instance of MongoDB Atlas in production for the last several months. I've always easily fit within the limits. However, several days ago, for the first time, queries began taking a really long time, to the tune of 45 seconds for a query that used to take several milliseconds.\\n\\nThe queries are being done by Google Cloud Functions so I have a graph of how long each invocation took.\\n\\n[30-day chart of Google Cloud Function execution time](https:\/\/preview.redd.it\/ouw03kunyer41.png?width=1220&amp;format=png&amp;auto=webp&amp;s=f48cd322cf84034ea6c53fa57a9da78cfa52c797)\\n\\nI have the same long queries on my local machine as well.\\n\\nAfter some time, the queries times go back to normal.\\n\\nAny clue as to what could be causing this?\", 'body_is_trimmed': False, 'score': 9, 'over_18': False, 'num_comments': 7, 'created_utc': 1586273165}"}
{"id":"390836","text":"Title: Performance Review - \"What did you NOT accomplish\"?\nThe text below was posted in an online community called cscareerquestions in the year 2022:\n\nDoing my first new grad performance review. Came accross this question in Workday, wondering if others stepped on this one as well.\n\n&amp;#x200B;\n\nShould I write on topics I wish I worked on? like certain projects, certainf rameworks I wish I did, etc?","meta":"{'source': 'reddit_posts', 'id': 'y8irmv', 'title': 'Performance Review - \"What did you NOT accomplish\"?', 'author': 'badboyzpwns', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': 'Doing my first new grad performance review. Came accross this question in Workday, wondering if others stepped on this one as well.\\n\\n&amp;#x200B;\\n\\nShould I write on topics I wish I worked on? like certain projects, certainf rameworks I wish I did, etc?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 4, 'created_utc': 1666224651}"}
{"id":"1125142","text":"Title: How do I create a Queue that has a user input of a string?\nThe text below was posted in an online community called learnjava in the year 2021:\n\nHello I just got done creating a class of Queue that can only use integers, right now I'm creating a Queue that asks the user to input a string or a bunch of words\/name. What I've tried is first I created this one: \n\n            class QueueString {\n            public static void main(String[] args) {\n                Queue&lt;String&gt; queue = new LinkedList&lt;&gt;();\n                System.out.println(\"Enter input:\");\n                String input = \"\";\n                try (Scanner scan = new Scanner(System.in)) {\n                    while (scan.hasNextLine()\n                            &amp;&amp; (input = scan.nextLine()).length() != 0) {\n                        queue.add(input);\n                    }\n                }\n                System.out.printf(\"Queue: %s%n\", queue);\n            }\n        }\n\n \n\nto try to just at least have an idea of what I'm creating but when I tried to convert the Queue Integers to that one, it's not working.\n\nClass Queue:\n\n      import javax.swing.JOptionPane;\n    public class Queue {\n        private int num[];\n        private int front, rear, capacity;\n        public int hold;\n        public Queue() {\n            capacity=5;\n            num = new int[capacity];\n            front=rear=1;\n        }\n        public Queue(int capacity) {\n            this.capacity = capacity;\n            num = new int[capacity];\n            front=rear=-1;\n        }\n        public boolean isEmpty() {return rear==-1;}\n        public boolean isFull() {return (rear == capacity -1);}\n        \n        private void errorMessage(String msg) {\n            JOptionPane.showMessageDialog(null, msg, \"Full\", JOptionPane.ERROR_MESSAGE);\n        }\n        public void enqueue(int val) {\n            if(isFull()) {\n                errorMessage(\"Queue is Full!\");\n            }else {\n                num[++rear] = val;\n                front=0;\n            }\n        }\n        public int dequeue() {\n            int val = 0;\n            if (isEmpty()) {\n                errorMessage(\"Queue is Empty\");\n                front=-1;           \n            }else {\n                val=num[front];\n                \n                for(int i=0; i&lt;rear; i++) {\n                    num[i]=num[i+1];\n                }\n                rear--;\n            }\n            return val;\n        }\n        public String display() {\n            String hold=\"\";\n            if(!isEmpty()) {\n                for(int i = front; i&lt;=rear; i++) {\n                    hold+=num[i]+\" \";\n                }\n            }else {\n                hold=\"Queue is empty\";\n            }\n            return hold;\n        }\n        public int peek() {\n            if(isEmpty()) {\n                System.err.println(\"Queue is empty\");\n                return -1;\n            }else {\n                return num[front];\n            }\n        }\n        public int last() {\n            if(isEmpty()) {\n                errorMessage(\"Queue is empty\");\n                return -1;\n            }else {\n                return num[rear];\n            }\n            \n    \n        }\n        public int frontValue() {return num[front];}\n        public int rearValue() {return num[rear];}\n        public int getCurrentSize() { return capacity-(capacity-(rear+1));}\n        public int getCapacity() {return capacity;} \n    }\n\n here's the TestQueue: \n\n       public static void main(String[] args) {\n    \n            Queue q = new Queue(5);\n            \n            \n            System.out.println(q.peek());\n            System.out.println(q.getCurrentSize());\n            System.out.println(q.last());\n            q.enqueue(14);\n            q.enqueue(24);\n            q.enqueue(46);\n            System.out.println(q.display());\n            q.enqueue(16);\n            System.out.println(q.dequeue());\n            System.out.println(q.display());\n            q.dequeue();\n            System.out.println(q.peek());\n            System.out.println(q.display());\n            \n            \n        }\n    \n    }\n\n Basically, I'm creating a user input program where the user is asked for his\/her name using the class Queue that I created.","meta":"{'source': 'reddit_posts', 'id': 'qakv01', 'title': 'How do I create a Queue that has a user input of a string?', 'author': 'idanners', 'subreddit': 'learnjava', 'subreddit_id': '2saos', 'body': 'Hello I just got done creating a class of Queue that can only use integers, right now I\\'m creating a Queue that asks the user to input a string or a bunch of words\/name. What I\\'ve tried is first I created this one: \\n\\n            class QueueString {\\n            public static void main(String[] args) {\\n                Queue&lt;String&gt; queue = new LinkedList&lt;&gt;();\\n                System.out.println(\"Enter input:\");\\n                String input = \"\";\\n                try (Scanner scan = new Scanner(System.in)) {\\n                    while (scan.hasNextLine()\\n                            &amp;&amp; (input = scan.nextLine()).length() != 0) {\\n                        queue.add(input);\\n                    }\\n                }\\n                System.out.printf(\"Queue: %s%n\", queue);\\n            }\\n        }\\n\\n \\n\\nto try to just at least have an idea of what I\\'m creating but when I tried to convert the Queue Integers to that one, it\\'s not working.\\n\\nClass Queue:\\n\\n      import javax.swing.JOptionPane;\\n    public class Queue {\\n        private int num[];\\n        private int front, rear, capacity;\\n        public int hold;\\n        public Queue() {\\n            capacity=5;\\n            num = new int[capacity];\\n            front=rear=1;\\n        }\\n        public Queue(int capacity) {\\n            this.capacity = capacity;\\n            num = new int[capacity];\\n            front=rear=-1;\\n        }\\n        public boolean isEmpty() {return rear==-1;}\\n        public boolean isFull() {return (rear == capacity -1);}\\n        \\n        private void errorMessage(String msg) {\\n            JOptionPane.showMessageDialog(null, msg, \"Full\", JOptionPane.ERROR_MESSAGE);\\n        }\\n        public void enqueue(int val) {\\n            if(isFull()) {\\n                errorMessage(\"Queue is Full!\");\\n            }else {\\n                num[++rear] = val;\\n                front=0;\\n            }\\n        }\\n        public int dequeue() {\\n            int val = 0;\\n            if (isEmpty()) {\\n                errorMessage(\"Queue is Empty\");\\n                front=-1;           \\n            }else {\\n                val=num[front];\\n                \\n                for(int i=0; i&lt;rear; i++) {\\n                    num[i]=num[i+1];\\n                }\\n                rear--;\\n            }\\n            return val;\\n        }\\n        public String display() {\\n            String hold=\"\";\\n            if(!isEmpty()) {\\n                for(int i = front; i&lt;=rear; i++) {\\n                    hold+=num[i]+\" \";\\n                }\\n            }else {\\n                hold=\"Queue is empty\";\\n            }\\n            return hold;\\n        }\\n        public int peek() {\\n            if(isEmpty()) {\\n                System.err.println(\"Queue is empty\");\\n                return -1;\\n            }else {\\n                return num[front];\\n            }\\n        }\\n        public int last() {\\n            if(isEmpty()) {\\n                errorMessage(\"Queue is empty\");\\n                return -1;\\n            }else {\\n                return num[rear];\\n            }\\n            \\n    \\n        }\\n        public int frontValue() {return num[front];}\\n        public int rearValue() {return num[rear];}\\n        public int getCurrentSize() { return capacity-(capacity-(rear+1));}\\n        public int getCapacity() {return capacity;} \\n    }\\n\\n here\\'s the TestQueue: \\n\\n       public static void main(String[] args) {\\n    \\n            Queue q = new Queue(5);\\n            \\n            \\n            System.out.println(q.peek());\\n            System.out.println(q.getCurrentSize());\\n            System.out.println(q.last());\\n            q.enqueue(14);\\n            q.enqueue(24);\\n            q.enqueue(46);\\n            System.out.println(q.display());\\n            q.enqueue(16);\\n            System.out.println(q.dequeue());\\n            System.out.println(q.display());\\n            q.dequeue();\\n            System.out.println(q.peek());\\n            System.out.println(q.display());\\n            \\n            \\n        }\\n    \\n    }\\n\\n Basically, I\\'m creating a user input program where the user is asked for his\/her name using the class Queue that I created.', 'body_is_trimmed': False, 'score': 11, 'over_18': False, 'num_comments': 3, 'created_utc': 1634556925}"}
{"id":"841667","text":"Title: Can i delete dev branch without loosing commits?\nThe text below was posted in an online community called git in the year 2017:\n\nAs the title says i wonder if i can delete dev branch without loosing commits?\n\nI use source tree for git.\n\nAnd used dev1 branch which after was merged in to master using --no-ff. \n\nNow tree looks like [this](https:\/\/puu.sh\/wTDIZ\/0533e12c3d.png)\n\nCan i delete dev1 branch? Will all the commits be kept?","meta":"{'source': 'reddit_posts', 'id': '6pollz', 'title': 'Can i delete dev branch without loosing commits?', 'author': 'hekkoman', 'subreddit': 'git', 'subreddit_id': '2qhv1', 'body': 'As the title says i wonder if i can delete dev branch without loosing commits?\\n\\nI use source tree for git.\\n\\nAnd used dev1 branch which after was merged in to master using --no-ff. \\n\\nNow tree looks like [this](https:\/\/puu.sh\/wTDIZ\/0533e12c3d.png)\\n\\nCan i delete dev1 branch? Will all the commits be kept?', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 9, 'created_utc': 1501081228}"}
{"id":"1174539","text":"Title: Functions\nThe text below was posted in an online community called javascript in the year 2018:\n\nWhy will var x = console.log(\"hi\") not work when I call out x, but var x = function(){console.log(\"hi\")} work when I call out x()?","meta":"{'source': 'reddit_posts', 'id': '8akks9', 'title': 'Functions', 'author': 'everek123', 'subreddit': 'javascript', 'subreddit_id': '2qh30', 'body': 'Why will var x = console.log(\"hi\") not work when I call out x, but var x = function(){console.log(\"hi\")} work when I call out x()?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 7, 'created_utc': 1523130701}"}
{"id":"456903","text":"Title: React + django authentication?\nThe text below was posted in an online community called reactjs in the year 2021:\n\nI have two parts to my project Im working on, a drf backend for handling all REST API and a frontend react app that handles all the frontend, im unsure as to how I would add authentication to django and connect that to what react displays for my frontend portion (login, signup, logout) do you guys have any ideas? I saw some tutorials online of adding authentication in the frontend of a pure react application, or authentication in the backend, but that uses the views.py to redirect the pages accordingly but i want my frontend to handle all that. Sorry if my question is a bit vague im new to fullstack. \nThanks","meta":"{'source': 'reddit_posts', 'id': 'oq9i3x', 'title': 'React + django authentication?', 'author': 'koreanpleb', 'subreddit': 'reactjs', 'subreddit_id': '2zldd', 'body': 'I have two parts to my project Im working on, a drf backend for handling all REST API and a frontend react app that handles all the frontend, im unsure as to how I would add authentication to django and connect that to what react displays for my frontend portion (login, signup, logout) do you guys have any ideas? I saw some tutorials online of adding authentication in the frontend of a pure react application, or authentication in the backend, but that uses the views.py to redirect the pages accordingly but i want my frontend to handle all that. Sorry if my question is a bit vague im new to fullstack. \\nThanks', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 4, 'created_utc': 1627068162}"}
{"id":"1957698","text":"Title: Having Issues With With Embedded Video Load Time - Is There A Tool I Can Use To Test How Long It Takes To Load A Video, Not The Page Itself\nThe text below was posted in an online community called web_design in the year 2016:\n\nSo I'm having some issues with how long it takes to for users to click on an embedded video and view the content. I'd like to get a sample of exactly how long the process is taking, but can't find a tool that measures video assets on a page - all I'm finding are tools that test how long the page itself takes to load. Does anyone know of a tool that could help me?\n\nAlso if this is the incorrect sub can someone point me in the direction of a sub that could answer this?","meta":"{'source': 'reddit_posts', 'id': '47re29', 'title': 'Having Issues With With Embedded Video Load Time - Is There A Tool I Can Use To Test How Long It Takes To Load A Video, Not The Page Itself', 'author': 'BobLbLawsLawBlg', 'subreddit': 'web_design', 'subreddit_id': '2qh1m', 'body': \"So I'm having some issues with how long it takes to for users to click on an embedded video and view the content. I'd like to get a sample of exactly how long the process is taking, but can't find a tool that measures video assets on a page - all I'm finding are tools that test how long the page itself takes to load. Does anyone know of a tool that could help me?\\n\\nAlso if this is the incorrect sub can someone point me in the direction of a sub that could answer this?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1456521557}"}
{"id":"1954498","text":"Title: How do I make better looking top down view maps?\nThe text below was posted in an online community called gamedev in the year 2019:\n\nI'm looking for advice and theory to make top down maps more interesting, navigate-able, and enjoyable. I end up trying top down view projects to help reduce scope but get dicouraged by my blandness. I'm open to suggestions for good examples in other games too. Thanks.","meta":"{'source': 'reddit_posts', 'id': 'b4ftpo', 'title': 'How do I make better looking top down view maps?', 'author': 'OnyDeus', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': \"I'm looking for advice and theory to make top down maps more interesting, navigate-able, and enjoyable. I end up trying top down view projects to help reduce scope but get dicouraged by my blandness. I'm open to suggestions for good examples in other games too. Thanks.\", 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 11, 'created_utc': 1553321612}"}
{"id":"2033982","text":"Title: Web scrapping and dynamic content\nThe text below was posted in an online community called learnprogramming in the year 2017:\n\nI need a reliable solution to perform web scraping in pages which content is dynamically rendered (i.e. javascript will mount the DOM).\n\nSo far I have found 2 alternatives:\n\n* **Test automation tool**: This is not a suitable solution because I cannot parallelize the work. Interacting directly with the web browser makes things absurdly heavy and absurdly slow.\n* **Headless browser**: This is theorically the perfect solution for me, but I found no good service for this. Every headless browser I tried is too heavy or too buggy or both (PhantomJS is both).\n\nDo you know any solution to achive this?","meta":"{'source': 'reddit_posts', 'id': '7c9v1r', 'title': 'Web scrapping and dynamic content', 'author': 'gabriel-et-al', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'I need a reliable solution to perform web scraping in pages which content is dynamically rendered (i.e. javascript will mount the DOM).\\n\\nSo far I have found 2 alternatives:\\n\\n* **Test automation tool**: This is not a suitable solution because I cannot parallelize the work. Interacting directly with the web browser makes things absurdly heavy and absurdly slow.\\n* **Headless browser**: This is theorically the perfect solution for me, but I found no good service for this. Every headless browser I tried is too heavy or too buggy or both (PhantomJS is both).\\n\\nDo you know any solution to achive this?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1510423142}"}
{"id":"1452333","text":"Title: Suggest a \"beginner\" Machine Learning Paper to implement\nThe text below was posted in an online community called learnmachinelearning in the year 2020:\n\nAndrew NG in many videos has focussed on how implementing a research paper is a great way to learn. I am not able to find a \"beginner level\" research paper to implement, considering I have never implemented a paper before. \n\nCan you suggest me a good research paper to implement?\n\nI want to implement something by which I can learn, gain experience and get something worth mentioning in Resume. \n\nPlease do not lash at me for asking a \"dumb\" query. I am a noob who wants to learn.","meta":"{'source': 'reddit_posts', 'id': 'gvzkzu', 'title': 'Suggest a \"beginner\" Machine Learning Paper to implement', 'author': 'chandlerbing__', 'subreddit': 'learnmachinelearning', 'subreddit_id': '3cqa1', 'body': 'Andrew NG in many videos has focussed on how implementing a research paper is a great way to learn. I am not able to find a \"beginner level\" research paper to implement, considering I have never implemented a paper before. \\n\\nCan you suggest me a good research paper to implement?\\n\\nI want to implement something by which I can learn, gain experience and get something worth mentioning in Resume. \\n\\nPlease do not lash at me for asking a \"dumb\" query. I am a noob who wants to learn.', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 3, 'created_utc': 1591209136}"}
{"id":"2398230","text":"Title: For the love of god... screen tearing, fix it already! HELP!!\nThe text below was posted in an online community called firefox in the year 2014:\n\nDoes anybody know how to fix the horrible screen tearing in FF?\n\nWhen I use Opera with smooth scroll, things are fine and there is almost no cristianreynolds@example.org. I've enabled \n\nlayers.offmainthreadcomposition.async-animations\nlayers.offmainthreadcomposition.enabled\nlayers.prefer-opengl\n\nto make the browsing experience smoother using proper hardware acceleration, but there seems to be no vsync support whatsoever. So whenever I scroll on heavy pages like theverge or polygon, I get tearing much like in games...\n\nAgain, scrolling in Opera is smooth, so it's simply FF not doing its thing properly. I've noticed on macbooks, too, that Safari's scrolling is extremely smooth while FF's isn't.\n\nAnd to make matters worse, browsing the internet on my IPAD is such a better experience compared to surfing the net on my PC... it's saddening :\/","meta":"{'source': 'reddit_posts', 'id': '2gxxue', 'title': 'For the love of god... screen tearing, fix it already! HELP!!', 'author': 'lifehacker2', 'subreddit': 'firefox', 'subreddit_id': '2qh4p', 'body': \"Does anybody know how to fix the horrible screen tearing in FF?\\n\\nWhen I use Opera with smooth scroll, things are fine and there is almost no tearing at all. I've enabled \\n\\nlayers.offmainthreadcomposition.async-animations\\nlayers.offmainthreadcomposition.enabled\\nlayers.prefer-opengl\\n\\nto make the browsing experience smoother using proper hardware acceleration, but there seems to be no vsync support whatsoever. So whenever I scroll on heavy pages like theverge or polygon, I get tearing much like in games...\\n\\nAgain, scrolling in Opera is smooth, so it's simply FF not doing its thing properly. I've noticed on macbooks, too, that Safari's scrolling is extremely smooth while FF's isn't.\\n\\nAnd to make matters worse, browsing the internet on my IPAD is such a better experience compared to surfing the net on my PC... it's saddening :\/\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 14, 'created_utc': '1411210657'}"}
{"id":"26398","text":"Title: Best programming language to get a job easily (Europe)\nThe text below was posted in an online community called cscareerquestions in the year 2021:\n\nHello CS Career Community,\n\nI'd like to know **which programming language(s)  you would recommend to someone who'd like to make a complete career switch and become employed ASAP in the tech field** (in the EU area, I'm mostly looking into jobs in Germany, but I'm open to input regarding any country in Europe).\n\n**Background**:\n\n* experience with basic HTML and CSS (mostly helping people out with building WordPress sites)\n* basic understanding of Python (I have studied and exercised with the basics and have coded small projects, e.g. number guessing game etc. - I'm going back to the language now to code a small game with a friend)\n* edX CS50 certificate\n* about to start an online CS degree (because I love learning about the subject, not necessarily solely as a means to get a job)\n\nI'm 26 and intentioned to leave my current job because of bad pay and too long working hours (so probably best to stay away from game dev making a career change), as well as simply being very interested in programming and CS.\n\nVery soon I'll have reached some financial comfort to allow me to take some time off and do a bootcamp, for example, or just concentrate on learning the skills required to get a job.\n\n**The main objective being to find an employment niche where I can be hired easily compared to more popular programming pursuits and improve my yearly salary** (lack of experience plus lack of a degree would make it much harder for me to find a job in very popular areas of programming I'd imagine).\n\nThank you very much in advance to anyone who'll take the time to reply.\n\nIf there's any additional detail you require don't hesitate to ask, and apologies in advance if this isn't the right subreddit.","meta":"{'source': 'reddit_posts', 'id': 'posx5g', 'title': 'Best programming language to get a job easily (Europe)', 'author': '33498fff', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"Hello CS Career Community,\\n\\nI'd like to know **which programming language(s)  you would recommend to someone who'd like to make a complete career switch and become employed ASAP in the tech field** (in the EU area, I'm mostly looking into jobs in Germany, but I'm open to input regarding any country in Europe).\\n\\n**Background**:\\n\\n* experience with basic HTML and CSS (mostly helping people out with building WordPress sites)\\n* basic understanding of Python (I have studied and exercised with the basics and have coded small projects, e.g. number guessing game etc. - I'm going back to the language now to code a small game with a friend)\\n* edX CS50 certificate\\n* about to start an online CS degree (because I love learning about the subject, not necessarily solely as a means to get a job)\\n\\nI'm 26 and intentioned to leave my current job because of bad pay and too long working hours (so probably best to stay away from game dev making a career change), as well as simply being very interested in programming and CS.\\n\\nVery soon I'll have reached some financial comfort to allow me to take some time off and do a bootcamp, for example, or just concentrate on learning the skills required to get a job.\\n\\n**The main objective being to find an employment niche where I can be hired easily compared to more popular programming pursuits and improve my yearly salary** (lack of experience plus lack of a degree would make it much harder for me to find a job in very popular areas of programming I'd imagine).\\n\\nThank you very much in advance to anyone who'll take the time to reply.\\n\\nIf there's any additional detail you require don't hesitate to ask, and apologies in advance if this isn't the right subreddit.\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 6, 'created_utc': 1631721428}"}
{"id":"690421","text":"Title: [HELP] Help with a last Insider Preview Build which has EDGE Extensions\nThe text below was posted in an online community called Windows10 in the year 2016:\n\nI'm new to Insider Preview builds, I actived Insider Preview Builds but idk which setting I have to choose to get this Preview (https:\/\/blogs.windows.com\/windowsexperience\/2016\/03\/17\/announcing-windows-10-mobile-insider-preview-build-14291-for-pc-and-mobile\/)? Release Preview, Slow or fast??\n\nThanks and sorry if this is a dumb question?","meta":"{'source': 'reddit_posts', 'id': '4b2s39', 'title': '[HELP] Help with a last Insider Preview Build which has EDGE Extensions', 'author': 'micheleruzic', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': \"I'm new to Insider Preview builds, I actived Insider Preview Builds but idk which setting I have to choose to get this Preview (https:\/\/blogs.windows.com\/windowsexperience\/2016\/03\/17\/announcing-windows-10-mobile-insider-preview-build-14291-for-pc-and-mobile\/)? Release Preview, Slow or fast??\\n\\nThanks and sorry if this is a dumb question?\", 'body_is_trimmed': False, 'score': 12, 'over_18': False, 'num_comments': 8, 'created_utc': 1458387231}"}
{"id":"1626158","text":"Title: Can I run ubuntu on my HP Envy laptop\nThe text below was posted in an online community called linux4noobs in the year 2020:\n\nHey everyone lifetime windows user here. Getting tired of my laptop acting sluggish. I found on google you can (try) ubuntu before you install it. I already created the usb bootable. But I'm not sure, can my hp envy run ubuntu?\nSorry here's some basic info on my Laptop Specs:\nHP ENVY 15 Notebook PC \nModel # J9K60UA#ABA\nCurrently using Windows 10 Home (was originally 8 but got the free update to 10)\nIntel(R) Core(TM) i7-4510U CPU @ 2.00GHz\nSystem Memory - 8GB\nIntel(R) HD Graphics Family \nNVIDIA GeForce 840M\n I ONLY USE WIFI ON MY LAPTOP. My laptop cant be moved due to house. So I need to make sure wifi would would work as well. \nThank you any advice is welcomed. I literally know Jack about linux let alone ubuntu besides some YouTube videos.","meta":"{'source': 'reddit_posts', 'id': 'hym8xt', 'title': 'Can I run ubuntu on my HP Envy laptop', 'author': 'Vyper1126', 'subreddit': 'linux4noobs', 'subreddit_id': '2qy7t', 'body': \"Hey everyone lifetime windows user here. Getting tired of my laptop acting sluggish. I found on google you can (try) ubuntu before you install it. I already created the usb bootable. But I'm not sure, can my hp envy run ubuntu?\\nSorry here's some basic info on my Laptop Specs:\\nHP ENVY 15 Notebook PC \\nModel # J9K60UA#ABA\\nCurrently using Windows 10 Home (was originally 8 but got the free update to 10)\\nIntel(R) Core(TM) i7-4510U CPU @ 2.00GHz\\nSystem Memory - 8GB\\nIntel(R) HD Graphics Family \\nNVIDIA GeForce 840M\\n I ONLY USE WIFI ON MY LAPTOP. My laptop cant be moved due to house. So I need to make sure wifi would would work as well. \\nThank you any advice is welcomed. I literally know Jack about linux let alone ubuntu besides some YouTube videos.\", 'body_is_trimmed': False, 'score': 16, 'over_18': False, 'num_comments': 36, 'created_utc': 1595827436}"}
{"id":"2006514","text":"Title: Extension to create macros for text entry in Chrome?\nThe text below was posted in an online community called chrome_extensions in the year 2021:\n\nAt work I sometimes do a lot of database entry through Chrome and I was wondering if there was a way to create custom text strings and assign them to a key command so that when I press the key command it displays the custom text string?\n\nThanks","meta":"{'source': 'reddit_posts', 'id': 'ng9q5s', 'title': 'Extension to create macros for text entry in Chrome?', 'author': 'Crimson_Spear1', 'subreddit': 'chrome_extensions', 'subreddit_id': '2r4qy', 'body': 'At work I sometimes do a lot of database entry through Chrome and I was wondering if there was a way to create custom text strings and assign them to a key command so that when I press the key command it displays the custom text string?\\n\\nThanks', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 2, 'created_utc': 1621440232}"}
{"id":"763260","text":"Title: [R] paper and a PyTorch implementation of \"What is wrong with scene text recognition model comparisons? dataset and model analysis\"\nThe text below was posted in an online community called MachineLearning in the year 2019:\n\nPaper: [https:\/\/arxiv.org\/pdf\/1904.01906.pdf](https:\/\/arxiv.org\/pdf\/1904.01906.pdf)\n\nPyTorch code: [https:\/\/github.com\/clovaai\/deep-text-recognition-benchmark](https:\/\/github.com\/clovaai\/deep-text-recognition-benchmark)\n\n**Abstract:**\n\n&gt;Many new proposals for scene text recognition (STR) models have been introduced in recent years. While each claim to have pushed the boundary of the technology, a holistic and fair comparison has been largely missing in the field due to the inconsistent choices of training and evaluation datasets. This paper addresses this difficulty with three major contributions. First, we examine the inconsistencies of training and evaluation datasets, and the performance gap results from inconsistencies. Second, we introduce a unified four-stage STR framework that most existing STR models fit into. Using this framework allows for the extensive evaluation of previously proposed STR modules and the discovery of previously unexplored module combinations. Third, we analyze the module-wise contributions to performance in terms of accuracy, speed, and memory demand, under one consistent set of training and evaluation datasets. Such analyses clean up the hindrance on the current comparisons to understand the performance gain of the existing modules. Our code will be publicly available.\n\n&amp;#x200B;\n\nhttps:\/\/i.redd.it\/h04nixqyays21.jpg\n\n&amp;#x200B;\n\n\\# To strongly remind inconsistent training and evaluation settings in the scene text recognition field, we named our paper in this way.","meta":"{'source': 'reddit_posts', 'id': 'behc46', 'title': '[R] paper and a PyTorch implementation of \"What is wrong with scene text recognition model comparisons? dataset and model analysis\"', 'author': 'ku21fan', 'subreddit': 'MachineLearning', 'subreddit_id': '2r3gv', 'body': 'Paper: [https:\/\/arxiv.org\/pdf\/1904.01906.pdf](https:\/\/arxiv.org\/pdf\/1904.01906.pdf)\\n\\nPyTorch code: [https:\/\/github.com\/clovaai\/deep-text-recognition-benchmark](https:\/\/github.com\/clovaai\/deep-text-recognition-benchmark)\\n\\n**Abstract:**\\n\\n&gt;Many new proposals for scene text recognition (STR) models have been introduced in recent years. While each claim to have pushed the boundary of the technology, a holistic and fair comparison has been largely missing in the field due to the inconsistent choices of training and evaluation datasets. This paper addresses this difficulty with three major contributions. First, we examine the inconsistencies of training and evaluation datasets, and the performance gap results from inconsistencies. Second, we introduce a unified four-stage STR framework that most existing STR models fit into. Using this framework allows for the extensive evaluation of previously proposed STR modules and the discovery of previously unexplored module combinations. Third, we analyze the module-wise contributions to performance in terms of accuracy, speed, and memory demand, under one consistent set of training and evaluation datasets. Such analyses clean up the hindrance on the current comparisons to understand the performance gain of the existing modules. Our code will be publicly available.\\n\\n&amp;#x200B;\\n\\nhttps:\/\/i.redd.it\/h04nixqyays21.jpg\\n\\n&amp;#x200B;\\n\\n\\\\# To strongly remind inconsistent training and evaluation settings in the scene text recognition field, we named our paper in this way.', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 3, 'created_utc': 1555561190}"}
{"id":"875936","text":"Title: How expensive phones are strangling Android version distribution\nThe text below was posted in an online community called Android in the year 2019:\n\n**TL, DR:** The dramatic increase in phone prices over the past few years has forced users to lengthen their hardware upgrade cycles. At the same time, the rate of Android updates hasn't matched this increase. As a result, the share of Android phones running less than the latest Android release is increasing.\n\n\\_\\_\\_\\_\\_\\_\\_\\_\\_\\_\\_\\_\\_\\_\\_\\_\\_\\_\n\n&amp;#x200B;\n\nGoogle's original vision for hardware was for it to be inexpensive and easily replaced. However, Apple shifted the market perception preference (read: even if people can't afford top end devices, they judge the ecosystem based on top end devices) toward ultrapremium phones, forcing Android OEMs to follow suit.\n\n&amp;#x200B;\n\nUnfortunately, underlying ROM development and update methods didn't change nearly as much. Treble only meant that device OEMs no longer had to wait for SoC OEMs to provide them with kernel updates to push new ROM versions; it didn't change the work necessary to develop said ROMs. Most Android OEMs still aren't optimized for or organized around the software development methods necessary to push even regular security updates, much less feature\/version ones.\n\n&amp;#x200B;\n\nAnd so now we have no Android OEM with global retail channel omnipresence (meaning you can get them from multiple retail channels nearly anywhere in the world) that pushes rapid monthly security updates and feature updates.\n\n&amp;#x200B;\n\nAt the same time, because phones have gotten expensive, consumers can't afford to replace their hardware often. Even worse, due to locked bootloaders, the expertise required, and spotty custom ROM support, they often can't update their phones to the latest version of Android even if they wanted to.\n\n&amp;#x200B;\n\nGoogle therefore finds itself in a serious jam: it needs the latest Android versions to penetrate the Android marketshare so that it can 1) provide improved device security and 2) incentivize devs to adopt new Android features and polices, but there's nothing they can do to push said updates. Even forcing devs to target Android API versions in the Play Store might not have much effect because, again: OEMs would rather release new devices with feature updates than push these updates to existing devices, and users neither care deeply about updates nor can they afford to upgrade devices.\n\n&amp;#x200B;\n\nAlso, it's tough for Google to make an argument for 2) above if their own numbers show no one is using the Android version they're telling devs to build for. As an example, consider the developer backlash against Scoped Storage\\* that forced Google to delay enforcement for it.\n\n&amp;#x200B;\n\nIronically, if competitive Android flagships were less expensive, it would make the above problem easier to solve (while admittedly harming Android's brand perception) because people would be more likely to upgrade their devices.\n\n&amp;#x200B;\n\nAs for the distribution numbers themselves, I've seen Statcounter numbers bandied about a bit. Small reminder that Statcounter [counts pageviews](http:\/\/gs.statcounter.com\/about), which inflates numbers for new releases as new users typically visit a lot pages getting their devices set up. In other words, Statcounter tracks activity, not install base. \n\n&amp;#x200B;\n\nNetMarketShare, OTOH, [counts sessions](https:\/\/netmarketshare.com\/methodology), which tracks closer to number of users. NetMarketShare puts Android 9.0's share of the overall mobile OS market at [1.18%](https:\/\/netmarketshare.com\/operating-system-market-share.aspx?options=%7B%22filter%22%3A%7B%22%24and%22%3A%5B%7B%22deviceType%22%3A%7B%22%24in%22%3A%5B%22Mobile%22%5D%7D%7D%5D%7D%2C%22dateLabel%22%3A%22Trend%22%2C%22attributes%22%3A%22share%22%2C%22group%22%3A%22platformVersion%22%2C%22sort%22%3A%7B%22share%22%3A-1%7D%2C%22id%22%3A%22platformsMobileVersions%22%2C%22dateInterval%22%3A%22Monthly%22%2C%22dateStart%22%3A%222018-05%22%2C%22dateEnd%22%3A%222019-04%22%2C%22plotKeys%22%3A%5B%7B%22platformVersion%22%3A%22Android%209.0%22%7D%5D%2C%22pageLength%22%3A100%2C%22segments%22%3A%22-1000%22%7D). Since it also puts Android (all versions) at [70%](https:\/\/netmarketshare.com\/operating-system-market-share.aspx?options=%7B%22filter%22%3A%7B%22%24and%22%3A%5B%7B%22deviceType%22%3A%7B%22%24in%22%3A%5B%22Mobile%22%5D%7D%7D%5D%7D%2C%22dateLabel%22%3A%22Trend%22%2C%22attributes%22%3A%22share%22%2C%22group%22%3A%22platform%22%2C%22sort%22%3A%7B%22share%22%3A-1%7D%2C%22id%22%3A%22platformsMobile%22%2C%22dateInterval%22%3A%22Monthly%22%2C%22dateStart%22%3A%222018-05%22%2C%22dateEnd%22%3A%222019-04%22%2C%22segments%22%3A%22-1000%22%7D), this means that 8 months after launch, **only 1.18\/70 = 1.7% of Android devices run Pie**. A little Excel polynomial fit Kung Fu of the last 6 Pie distribution data points show **Pie will take nearly 1.5 years to reach just half of Android devices at its current rate**. Obviously, that's not something Google wants people talking a lot about. \n\n&amp;#x200B;\n\n\\*I think the Scoped Storage fiasco is more of an indictment of Google for communicating poorly and not explaining the benefits and functionality of the feature sufficiently than an indictment of the feature itself, but that's another discussion.","meta":"{'source': 'reddit_posts', 'id': 'bjz6kw', 'title': 'How expensive phones are strangling Android version distribution', 'author': 'jdrch', 'subreddit': 'Android', 'subreddit_id': '2qlqh', 'body': \"**TL, DR:** The dramatic increase in phone prices over the past few years has forced users to lengthen their hardware upgrade cycles. At the same time, the rate of Android updates hasn't matched this increase. As a result, the share of Android phones running less than the latest Android release is increasing.\\n\\n\\\\_\\\\_\\\\_\\\\_\\\\_\\\\_\\\\_\\\\_\\\\_\\\\_\\\\_\\\\_\\\\_\\\\_\\\\_\\\\_\\\\_\\\\_\\n\\n&amp;#x200B;\\n\\nGoogle's original vision for hardware was for it to be inexpensive and easily replaced. However, Apple shifted the market perception preference (read: even if people can't afford top end devices, they judge the ecosystem based on top end devices) toward ultrapremium phones, forcing Android OEMs to follow suit.\\n\\n&amp;#x200B;\\n\\nUnfortunately, underlying ROM development and update methods didn't change nearly as much. Treble only meant that device OEMs no longer had to wait for SoC OEMs to provide them with kernel updates to push new ROM versions; it didn't change the work necessary to develop said ROMs. Most Android OEMs still aren't optimized for or organized around the software development methods necessary to push even regular security updates, much less feature\/version ones.\\n\\n&amp;#x200B;\\n\\nAnd so now we have no Android OEM with global retail channel omnipresence (meaning you can get them from multiple retail channels nearly anywhere in the world) that pushes rapid monthly security updates and feature updates.\\n\\n&amp;#x200B;\\n\\nAt the same time, because phones have gotten expensive, consumers can't afford to replace their hardware often. Even worse, due to locked bootloaders, the expertise required, and spotty custom ROM support, they often can't update their phones to the latest version of Android even if they wanted to.\\n\\n&amp;#x200B;\\n\\nGoogle therefore finds itself in a serious jam: it needs the latest Android versions to penetrate the Android marketshare so that it can 1) provide improved device security and 2) incentivize devs to adopt new Android features and polices, but there's nothing they can do to push said updates. Even forcing devs to target Android API versions in the Play Store might not have much effect because, again: OEMs would rather release new devices with feature updates than push these updates to existing devices, and users neither care deeply about updates nor can they afford to upgrade devices.\\n\\n&amp;#x200B;\\n\\nAlso, it's tough for Google to make an argument for 2) above if their own numbers show no one is using the Android version they're telling devs to build for. As an example, consider the developer backlash against Scoped Storage\\\\* that forced Google to delay enforcement for it.\\n\\n&amp;#x200B;\\n\\nIronically, if competitive Android flagships were less expensive, it would make the above problem easier to solve (while admittedly harming Android's brand perception) because people would be more likely to upgrade their devices.\\n\\n&amp;#x200B;\\n\\nAs for the distribution numbers themselves, I've seen Statcounter numbers bandied about a bit. Small reminder that Statcounter [counts pageviews](http:\/\/gs.statcounter.com\/about), which inflates numbers for new releases as new users typically visit a lot pages getting their devices set up. In other words, Statcounter tracks activity, not install base. \\n\\n&amp;#x200B;\\n\\nNetMarketShare, OTOH, [counts sessions](https:\/\/netmarketshare.com\/methodology), which tracks closer to number of users. NetMarketShare puts Android 9.0's share of the overall mobile OS market at [1.18%](https:\/\/netmarketshare.com\/operating-system-market-share.aspx?options=%7B%22filter%22%3A%7B%22%24and%22%3A%5B%7B%22deviceType%22%3A%7B%22%24in%22%3A%5B%22Mobile%22%5D%7D%7D%5D%7D%2C%22dateLabel%22%3A%22Trend%22%2C%22attributes%22%3A%22share%22%2C%22group%22%3A%22platformVersion%22%2C%22sort%22%3A%7B%22share%22%3A-1%7D%2C%22id%22%3A%22platformsMobileVersions%22%2C%22dateInterval%22%3A%22Monthly%22%2C%22dateStart%22%3A%222018-05%22%2C%22dateEnd%22%3A%222019-04%22%2C%22plotKeys%22%3A%5B%7B%22platformVersion%22%3A%22Android%209.0%22%7D%5D%2C%22pageLength%22%3A100%2C%22segments%22%3A%22-1000%22%7D). Since it also puts Android (all versions) at [70%](https:\/\/netmarketshare.com\/operating-system-market-share.aspx?options=%7B%22filter%22%3A%7B%22%24and%22%3A%5B%7B%22deviceType%22%3A%7B%22%24in%22%3A%5B%22Mobile%22%5D%7D%7D%5D%7D%2C%22dateLabel%22%3A%22Trend%22%2C%22attributes%22%3A%22share%22%2C%22group%22%3A%22platform%22%2C%22sort%22%3A%7B%22share%22%3A-1%7D%2C%22id%22%3A%22platformsMobile%22%2C%22dateInterval%22%3A%22Monthly%22%2C%22dateStart%22%3A%222018-05%22%2C%22dateEnd%22%3A%222019-04%22%2C%22segments%22%3A%22-1000%22%7D), this means that 8 months after launch, **only 1.18\/70 = 1.7% of Android devices run Pie**. A little Excel polynomial fit Kung Fu of the last 6 Pie distribution data points show **Pie will take nearly 1.5 years to reach just half of Android devices at its current rate**. Obviously, that's not something Google wants people talking a lot about. \\n\\n&amp;#x200B;\\n\\n\\\\*I think the Scoped Storage fiasco is more of an indictment of Google for communicating poorly and not explaining the benefits and functionality of the feature sufficiently than an indictment of the feature itself, but that's another discussion.\", 'body_is_trimmed': False, 'score': 92, 'over_18': False, 'num_comments': 158, 'created_utc': 1556826134}"}
{"id":"971865","text":"Title: Rotating an object (such as pinball launcher) around a pivot, most effectively (without joint!)\nThe text below was posted in an online community called Unity3D in the year 2016:\n\nAlright, so currently i'm *atempting* to make a pinball game, and i'm having a good amount of problems with the physics.\nEssentially, to rotate the bumper i first tried using physics2d joints, but that didn't work that well, for two primary reasons:\n1) pinballs weight: the weight of the pinball, actually legitimately weighed down the joint, wich didn't work williamraymond@example.com.\n2) inconsistency: because it was all physics-based, the joint didn't always go in one, specific, consistent speed. And it also had to accelerate in the start, wich was pretty horrible.\n\nTherefor, i decided to remove the joint, and rotate it via changing angularVelocity in a script.\nProblem is: the joint of the object, or the sprite that is, doesn't have any influence over how the actual object, and the hitbox, is rotated.\nAnd no, having it be connected to a parent, that you use as the pivot, doesn't work. Essentialy: no matter what i do, i can't change where the\n\"center\" of mass seems to be, wich makes it impossible for me to really rotate it as i want to.\nI then tried to do the logic-ciller thing, and it used rigidbody2d.centerOfMass, to find a pivot. Great! it worked! But i still have a problem,\nWhenever there's mass on this rotating object (for example: the pinball), while it is rotating, it's starts to, even though Y is locked,\nslowly go downwards. Until it litteraly goes out of the pinball stage. Wich isn't great.\nSo how can i make something that rotates around a pivot, doesn't use joints, and doesn't slowly start to go down when rotating with mass on it?","meta":"{'source': 'reddit_posts', 'id': '4m7qvg', 'title': 'Rotating an object (such as pinball launcher) around a pivot, most effectively (without joint!)', 'author': 'Busterbie', 'subreddit': 'Unity3D', 'subreddit_id': '2qwj8', 'body': 'Alright, so currently i\\'m *atempting* to make a pinball game, and i\\'m having a good amount of problems with the physics.\\nEssentially, to rotate the bumper i first tried using physics2d joints, but that didn\\'t work that well, for two primary reasons:\\n1) pinballs weight: the weight of the pinball, actually legitimately weighed down the joint, wich didn\\'t work well at all.\\n2) inconsistency: because it was all physics-based, the joint didn\\'t always go in one, specific, consistent speed. And it also had to accelerate in the start, wich was pretty horrible.\\n\\nTherefor, i decided to remove the joint, and rotate it via changing angularVelocity in a script.\\nProblem is: the joint of the object, or the sprite that is, doesn\\'t have any influence over how the actual object, and the hitbox, is rotated.\\nAnd no, having it be connected to a parent, that you use as the pivot, doesn\\'t work. Essentialy: no matter what i do, i can\\'t change where the\\n\"center\" of mass seems to be, wich makes it impossible for me to really rotate it as i want to.\\nI then tried to do the logic-ciller thing, and it used rigidbody2d.centerOfMass, to find a pivot. Great! it worked! But i still have a problem,\\nWhenever there\\'s mass on this rotating object (for example: the pinball), while it is rotating, it\\'s starts to, even though Y is locked,\\nslowly go downwards. Until it litteraly goes out of the pinball stage. Wich isn\\'t great.\\nSo how can i make something that rotates around a pivot, doesn\\'t use joints, and doesn\\'t slowly start to go down when rotating with mass on it?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 1, 'created_utc': 1464881861}"}
{"id":"114457","text":"Title: Looking for good [book] introduction to Computer Networking\/protocols\/basics of network security\nThe text below was posted in an online community called AskComputerScience in the year 2012:\n\nI am starting an internship in two months for a company that mainly works with setting up networks for businesses and makes sure they are secure. I am looking for a book that would be a solid intro for the basics of networking and the protocols involved in the communication across the network as well as basic network security. I have tried google and searching reddit but I haven't really been able to find what i'm looking for. Any Suggestions?","meta":"{'source': 'reddit_posts', 'id': 'q3r73', 'title': 'Looking for good [book] introduction to Computer Networking\/protocols\/basics of network security', 'author': 'xamikeax', 'subreddit': 'AskComputerScience', 'subreddit_id': '2shke', 'body': \"I am starting an internship in two months for a company that mainly works with setting up networks for businesses and makes sure they are secure. I am looking for a book that would be a solid intro for the basics of networking and the protocols involved in the communication across the network as well as basic network security. I have tried google and searching reddit but I haven't really been able to find what i'm looking for. Any Suggestions?\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 3, 'created_utc': 1330064805}"}
{"id":"482546","text":"Title: I made a script that looks through all Word documents in a folder and sends them to email addresses found inside those documents, along with a custom subject and message. All documents and their accompanying emails are listed before sending and you are asked whether to proceed with sending.\nThe text below was posted in an online community called Python in the year 2020:\n\n[https:\/\/github.com\/2prog\/.docx-Mailer](https:\/\/github.com\/2prog\/.docx-Mailer)\n\nHi, \n\nI'm still new to Python and I made this for a friend.\n\nCheck it out and if you like it I might continue developing it further, introducing a gui and a pdf option.\n\nPlease check readme if you would like to use it.\n\nLet me know what you think!\n\nThanks!\n\n&amp;#x200B;\n\nP.S.: My intention was to send each document to only one email address. I haven't written the script for sending one attachment to multiple people. Script was tested with only one email address inside a Word document.","meta":"{'source': 'reddit_posts', 'id': 'ind0v9', 'title': 'I made a script that looks through all Word documents in a folder and sends them to email addresses found inside those documents, along with a custom subject and message. All documents and their accompanying emails are listed before sending and you are asked whether to proceed with sending.', 'author': '2prog', 'subreddit': 'Python', 'subreddit_id': '2qh0y', 'body': \"[https:\/\/github.com\/2prog\/.docx-Mailer](https:\/\/github.com\/2prog\/.docx-Mailer)\\n\\nHi, \\n\\nI'm still new to Python and I made this for a friend.\\n\\nCheck it out and if you like it I might continue developing it further, introducing a gui and a pdf option.\\n\\nPlease check readme if you would like to use it.\\n\\nLet me know what you think!\\n\\nThanks!\\n\\n&amp;#x200B;\\n\\nP.S.: My intention was to send each document to only one email address. I haven't written the script for sending one attachment to multiple people. Script was tested with only one email address inside a Word document.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': 1599354670}"}
{"id":"1105346","text":"Title: Need advice for network\/SQL interview\nThe text below was posted in an online community called learnprogramming in the year 2011:\n\nI'm interviewing for a job very soon, and a major selling factor is my knowledge of network concepts and SQL.  I've been brushing up on SQL online, and I feel fairly comfortable with joins, aggregate functions, and clauses.  My knowlege of networks is almost nil.  I could tell you what DHCP, DNS, subnet masks, ipv4 vs ipv6, and TCP vs UDP are, but that's about it.\n\nI'm here to ask for opinions from people that work in these areas about what related knowledge might be expected of me, and for any tips in general about how to increase my knowledge and\/or sound proficient in both areas.  Thanks very much in advance for any help!","meta":"{'source': 'reddit_posts', 'id': 'jbcla', 'title': 'Need advice for network\/SQL interview', 'author': 'SackoFriends', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': \"I'm interviewing for a job very soon, and a major selling factor is my knowledge of network concepts and SQL.  I've been brushing up on SQL online, and I feel fairly comfortable with joins, aggregate functions, and clauses.  My knowlege of networks is almost nil.  I could tell you what DHCP, DNS, subnet masks, ipv4 vs ipv6, and TCP vs UDP are, but that's about it.\\n\\nI'm here to ask for opinions from people that work in these areas about what related knowledge might be expected of me, and for any tips in general about how to increase my knowledge and\/or sound proficient in both areas.  Thanks very much in advance for any help!\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 4, 'created_utc': 1312694053}"}
{"id":"2129060","text":"Title: I am a noob and i need help :(\nThe text below was posted in an online community called linux4noobs in the year 2019:\n\nI have a linux partition on my main Windows PC just for researching and making things, i have realised that i need extra space on my main partition and i have left unasigned space but now i can't resize my main partition. So, if someone can help me it would be nice.","meta":"{'source': 'reddit_posts', 'id': 'alb6kf', 'title': 'I am a noob and i need help :(', 'author': 'MagicElyas', 'subreddit': 'linux4noobs', 'subreddit_id': '2qy7t', 'body': \"I have a linux partition on my main Windows PC just for researching and making things, i have realised that i need extra space on my main partition and i have left unasigned space but now i can't resize my main partition. So, if someone can help me it would be nice.\", 'body_is_trimmed': False, 'score': 26, 'over_18': False, 'num_comments': 15, 'created_utc': 1548841816}"}
{"id":"2257863","text":"Title: Sluggish scrolling in XCode on ElCap\nThe text below was posted in an online community called osx in the year 2016:\n\nHey, I started using Xcode on  my Mac and I find the scrolling very sluggish and kinda irresponsive. It's not just the speed, it seems like whenever I use my scroll wheel it is registered after around 0.5 s and after that it starts to scroll (slowly). This problem persists only in Xcode, all other apps are fine. Changing the global scrolling speed setting didn't help.\n\nThanks for help :)","meta":"{'source': 'reddit_posts', 'id': '43ekpw', 'title': 'Sluggish scrolling in XCode on ElCap', 'author': 'Sh4rPEYE', 'subreddit': 'osx', 'subreddit_id': '2qh3j', 'body': \"Hey, I started using Xcode on  my Mac and I find the scrolling very sluggish and kinda irresponsive. It's not just the speed, it seems like whenever I use my scroll wheel it is registered after around 0.5 s and after that it starts to scroll (slowly). This problem persists only in Xcode, all other apps are fine. Changing the global scrolling speed setting didn't help.\\n\\nThanks for help :)\", 'body_is_trimmed': False, 'score': 9, 'over_18': False, 'num_comments': 12, 'created_utc': 1454169230}"}
{"id":"770558","text":"Title: The Locked bootloader for the Evo is annoying, is there anything we can do about it?\nThe text below was posted in an online community called Android in the year 2011:\n\nMy power button for my phone broke and I got a referb that was upgraded to 2.3\n\nI'm pulling my hair out not being able to customize my phone! Is there any word of HTC unlocking the bootloader or anything?!\n\nEvo 4G for Gingerbread","meta":"{'source': 'reddit_posts', 'id': 'iaxsh', 'title': 'The Locked bootloader for the Evo is annoying, is there anything we can do about it?', 'author': 'qwasz123', 'subreddit': 'Android', 'subreddit_id': '2qlqh', 'body': \"My power button for my phone broke and I got a referb that was upgraded to 2.3\\n\\nI'm pulling my hair out not being able to customize my phone! Is there any word of HTC unlocking the bootloader or anything?!\\n\\nEvo 4G for Gingerbread\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 25, 'created_utc': 1309230021}"}
{"id":"233701","text":"Title: Does anyone have any info on this li-ion battery? BT-A0B2\nThe text below was posted in an online community called arduino in the year 2018:\n\nSorry if this isn't the best place to ask, but I guessed it was a good start. I have pulled this battery out of an old tablet, from what I found it's a 7.4 volt li-ion battery pack.\n\nCan anyone recommend any circuits to get it charged up?\n\nAlso, what do all the wires do? I guess the red wires are live, and black are ground, but what are the white, yellow and blue wires?\n\nA few pictures of the battery pack:\nhttp:\/\/imgur.com\/a\/uUuIZC2","meta":"{'source': 'reddit_posts', 'id': '9k0riq', 'title': 'Does anyone have any info on this li-ion battery? BT-A0B2', 'author': 'inebriatedWeasel', 'subreddit': 'arduino', 'subreddit_id': '2qknj', 'body': \"Sorry if this isn't the best place to ask, but I guessed it was a good start. I have pulled this battery out of an old tablet, from what I found it's a 7.4 volt li-ion battery pack.\\n\\nCan anyone recommend any circuits to get it charged up?\\n\\nAlso, what do all the wires do? I guess the red wires are live, and black are ground, but what are the white, yellow and blue wires?\\n\\nA few pictures of the battery pack:\\nhttp:\/\/imgur.com\/a\/uUuIZC2\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 5, 'created_utc': 1538256913}"}
{"id":"507064","text":"Title: My new book, Full-Stack Vue.js 2 and Laravel 5\nThe text below was posted in an online community called laravel in the year 2018:\n\nHi r\/laravel,\n\nThis is a quick post to tell you about my latest book, *Full-Stack Vue.js 2 and Laravel 5*.\n\nI'm Anthony Gore, you may know me from the weekly articles I post on the Vue.js Developers blog, or from the Ultimate Vue.js Developers video course I released back in 2016. Or, from the Vue.js Developers newsletter which I curate...\n\nWhy such focus on Vue.js? Back in 2016, I was using Ember and jQuery for frontend code in my full-stack PHP projects. I decided to try Vue after hearing good things about it, and was blown away by how easy it was to set up and be productive with. That excitement about Vue made me want to be involved in bringing more attention to it.\n\nMy biggest project of 2017 was writing this new book, *Full-Stack Vue.js 2 and Laravel 5*. It's aimed at Laravel devs, and doesn't assume any prior experience with Vue or other JavaScript frameworks.\n\nThe book is not just a guide to the Vue API, but a detailed recipe for building a full-stack Vue.js app with a Laravel backend, focusing on design principles and best practices. Since it goes from A to Z for building a full-stack app, related technologies like Webpack, ES6 and Heroku are also covered.\n\nThe book includes a case-study project that runs through each chapter, called *Vuebnb*. This project is designed to give you practical experience with the core features of Vue, Laravel and other state-of-the-art web development tools and techniques.\n\nIf you're keen to get a copy of this book, it's available through Packt Publishing as both an eBook and paperback. The eBook is currently on sale for $5. You can also get 15% off the paperback edition if you use the promo code FSVUE15 (limited to 50 copies).\n\n[Full-Stack Vue.js 2 and Laravel 5, Packt Publishing](https:\/\/www.packtpub.com\/application-development\/full-stack-vuejs-2-and-laravel-5).\n\nI'd love to hear what you think!\n\nAnthony\n\nBTW... I've done a blog post which gives more details on the case-study project. This will give you a sense of the kind of features the book focus on:\n\n[Vuebnb: A Full-Stack Vue.js and Laravel App](https:\/\/vuejsdevelopers.com\/2017\/11\/20\/vuebnb-full-stack-laravel\/)","meta":"{'source': 'reddit_posts', 'id': '7oxwo2', 'title': 'My new book, Full-Stack Vue.js 2 and Laravel 5', 'author': 'Castemson', 'subreddit': 'laravel', 'subreddit_id': '2uakt', 'body': \"Hi r\/laravel,\\n\\nThis is a quick post to tell you about my latest book, *Full-Stack Vue.js 2 and Laravel 5*.\\n\\nI'm Anthony Gore, you may know me from the weekly articles I post on the Vue.js Developers blog, or from the Ultimate Vue.js Developers video course I released back in 2016. Or, from the Vue.js Developers newsletter which I curate...\\n\\nWhy such focus on Vue.js? Back in 2016, I was using Ember and jQuery for frontend code in my full-stack PHP projects. I decided to try Vue after hearing good things about it, and was blown away by how easy it was to set up and be productive with. That excitement about Vue made me want to be involved in bringing more attention to it.\\n\\nMy biggest project of 2017 was writing this new book, *Full-Stack Vue.js 2 and Laravel 5*. It's aimed at Laravel devs, and doesn't assume any prior experience with Vue or other JavaScript frameworks.\\n\\nThe book is not just a guide to the Vue API, but a detailed recipe for building a full-stack Vue.js app with a Laravel backend, focusing on design principles and best practices. Since it goes from A to Z for building a full-stack app, related technologies like Webpack, ES6 and Heroku are also covered.\\n\\nThe book includes a case-study project that runs through each chapter, called *Vuebnb*. This project is designed to give you practical experience with the core features of Vue, Laravel and other state-of-the-art web development tools and techniques.\\n\\nIf you're keen to get a copy of this book, it's available through Packt Publishing as both an eBook and paperback. The eBook is currently on sale for $5. You can also get 15% off the paperback edition if you use the promo code FSVUE15 (limited to 50 copies).\\n\\n[Full-Stack Vue.js 2 and Laravel 5, Packt Publishing](https:\/\/www.packtpub.com\/application-development\/full-stack-vuejs-2-and-laravel-5).\\n\\nI'd love to hear what you think!\\n\\nAnthony\\n\\nBTW... I've done a blog post which gives more details on the case-study project. This will give you a sense of the kind of features the book focus on:\\n\\n[Vuebnb: A Full-Stack Vue.js and Laravel App](https:\/\/vuejsdevelopers.com\/2017\/11\/20\/vuebnb-full-stack-laravel\/)\", 'body_is_trimmed': False, 'score': 15, 'over_18': False, 'num_comments': 11, 'created_utc': 1515410454}"}
{"id":"2174730","text":"Title: Any other good flight simulators like X-Plane and F-Sim Space Shuttle on Android?\nThe text below was posted in an online community called Android in the year 2012:\n\nI enjoy flight sims on my Galaxy Note 2 and was wondering if there are any other good flight simulators I may have missed.","meta":"{'source': 'reddit_posts', 'id': '14eb3w', 'title': 'Any other good flight simulators like X-Plane and F-Sim Space Shuttle on Android?', 'author': 'woodyear99', 'subreddit': 'Android', 'subreddit_id': '2qlqh', 'body': 'I enjoy flight sims on my Galaxy Note 2 and was wondering if there are any other good flight simulators I may have missed.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 5, 'created_utc': 1354820597}"}
{"id":"2162091","text":"Title: Help please - Chrome text not rendering correctly, Chrome on the left vs. Edge on the right\nThe text below was posted in an online community called chrome in the year 2018:\n\nI've tried a number of troubleshooting steps on my desktop PC, including advanced font settings, updating NVIDIA drivers, checking for the most recent version of Chrome, checking Win10 setting, trying different browsers (doesn't happen in Edge), text displays correctly on my laptop version of Chrome, happens in 1440p and 1080p, only happens with text as images and video still display normally. I've googled a number of recommended fixes, none of which have worked or are quite capturing my issue.  \n\nAny suggestions would be most welcome as it's annoying me at this stage....and yes, I'm a liverpool fan and it happens with non LFC content as well #YWNA\n\n[Chrome on the left, Edge on the right....LFC reddit article for comparison](https:\/\/i.redd.it\/ht9tbeu4z4311.jpg)","meta":"{'source': 'reddit_posts', 'id': '8pzlkb', 'title': 'Help please - Chrome text not rendering correctly, Chrome on the left vs. Edge on the right', 'author': 'Joe_Easy', 'subreddit': 'chrome', 'subreddit_id': '2qlz9', 'body': \"I've tried a number of troubleshooting steps on my desktop PC, including advanced font settings, updating NVIDIA drivers, checking for the most recent version of Chrome, checking Win10 setting, trying different browsers (doesn't happen in Edge), text displays correctly on my laptop version of Chrome, happens in 1440p and 1080p, only happens with text as images and video still display normally. I've googled a number of recommended fixes, none of which have worked or are quite capturing my issue.  \\n\\nAny suggestions would be most welcome as it's annoying me at this stage....and yes, I'm a liverpool fan and it happens with non LFC content as well #YWNA\\n\\n[Chrome on the left, Edge on the right....LFC reddit article for comparison](https:\/\/i.redd.it\/ht9tbeu4z4311.jpg)\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 10, 'created_utc': 1528620325}"}
{"id":"1742646","text":"Title: Is it possible to control tab width in userChrome.css\nThe text below was posted in an online community called firefox in the year 2018:\n\nCurrently in Firefox the tabs' width is shrunken to a certain limit (allowing for the favicon\/icon of the website and a few characters in the title to be visible) when there is a certain amount of tabs open in relation to the width of the Firefox window. After this limit there is an arrow on each side of the tabs that will \"roll\" the open tabs to show\/hide tabs. I would like to set this minimum tab width so that it is not reached until it is just the favicon\/icon for the website being visible in the tab. Can this be done in some way? Maybe in the userChrome.css? If that is the case what would the css code look like to set the minimum width?","meta":"{'source': 'reddit_posts', 'id': '8k6fxs', 'title': 'Is it possible to control tab width in userChrome.css', 'author': 'g3blv', 'subreddit': 'firefox', 'subreddit_id': '2qh4p', 'body': 'Currently in Firefox the tabs\\' width is shrunken to a certain limit (allowing for the favicon\/icon of the website and a few characters in the title to be visible) when there is a certain amount of tabs open in relation to the width of the Firefox window. After this limit there is an arrow on each side of the tabs that will \"roll\" the open tabs to show\/hide tabs. I would like to set this minimum tab width so that it is not reached until it is just the favicon\/icon for the website being visible in the tab. Can this be done in some way? Maybe in the userChrome.css? If that is the case what would the css code look like to set the minimum width?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 3, 'created_utc': 1526580971}"}
{"id":"1712389","text":"Title: Youki's v0.0.3 with WASM support, a container checkpoint support\nThe text below was posted in an online community called rust in the year 2022:\n\n[https:\/\/github.com\/containers\/youki\/releases\/tag\/v0.0.3](https:\/\/github.com\/containers\/youki\/releases\/tag\/v0.0.3)\n\n&amp;#x200B;\n\nhttps:\/\/reddit.com\/link\/tv8a9r\/video\/i9cszehe6br81\/player","meta":"{'source': 'reddit_posts', 'id': 'tv8a9r', 'title': \"Youki's v0.0.3 with WASM support, a container checkpoint support\", 'author': 'utam0k', 'subreddit': 'rust', 'subreddit_id': '2s7lj', 'body': '[https:\/\/github.com\/containers\/youki\/releases\/tag\/v0.0.3](https:\/\/github.com\/containers\/youki\/releases\/tag\/v0.0.3)\\n\\n&amp;#x200B;\\n\\nhttps:\/\/reddit.com\/link\/tv8a9r\/video\/i9cszehe6br81\/player', 'body_is_trimmed': False, 'score': 34, 'over_18': False, 'num_comments': 1, 'created_utc': 1648989347}"}
{"id":"572304","text":"Title: Can we get effect subtyping into extensible effect?\nThe text below was posted in an online community called haskell in the year 2018:\n\nTo clarify, I am talking about freer monad, more extensible effect.\n\nIf we get some sort of subtyping, we might collapse multiple similar effect into one.\n\nSome possible use case that I can think of: having State as an of Lazy State, or an IO effect where everything else is an subeffect of.","meta":"{'source': 'reddit_posts', 'id': '8kzwgz', 'title': 'Can we get effect subtyping into extensible effect?', 'author': 'lolisakirisame', 'subreddit': 'haskell', 'subreddit_id': '2qh36', 'body': 'To clarify, I am talking about freer monad, more extensible effect.\\n\\nIf we get some sort of subtyping, we might collapse multiple similar effect into one.\\n\\nSome possible use case that I can think of: having State as an of Lazy State, or an IO effect where everything else is an subeffect of.', 'body_is_trimmed': False, 'score': 9, 'over_18': False, 'num_comments': 3, 'created_utc': 1526899858}"}
{"id":"491834","text":"Title: Windows 10 Store, Edge, PC settings and all other default Windows programs disappeared and can no longer be opened.\nThe text below was posted in an online community called Windows10 in the year 2017:\n\nAs the title says.\n\nI can however login the built in administrator account and access them, it only happens with my user account which is also a full admin.\n\nHow do I fix it? It is really annoying.","meta":"{'source': 'reddit_posts', 'id': '6zqk6x', 'title': 'Windows 10 Store, Edge, PC settings and all other default Windows programs disappeared and can no longer be opened.', 'author': 'mothh9', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': 'As the title says.\\n\\nI can however login the built in administrator account and access them, it only happens with my user account which is also a full admin.\\n\\nHow do I fix it? It is really annoying.', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 11, 'created_utc': 1505256366}"}
{"id":"2170091","text":"Title: New Grad, which offer to take? Established larger company or recently seeded start up?\nThe text below was posted in an online community called cscareerquestions in the year 2021:\n\nHey everyone, Im deciding between two offers for a new grad swe role and kinda torn. Ive been offered a return offer from where I interned this summer: a b2b enterprise software company. Theyve been around for s while and itd be s cushier job but i dont really care for the product and its not really exciting. The other option is a recently seeded ~50 employee start up. I LOVE the product of the start up but Im a little hesitant on the risk associated with joining a new start up. In terms of compensation ($-wise) theyre pretty much the same. as of now, im leaning towards the start up with the mentality that im young and if im gonna do this kinda thing right out of college is the best time. \n\n\nBigger company pros:\n- good benefits\n- established company with great work life balance\n- lots of paid time off \n- in seattle (my hometown)\n- much safer, no risk of company going under, fully established\n\nbigger company cons:\n- boring product\n- i personally dont love the corporate model \n- not a young company, not a lot of peers \n\n\nstart up pros\n- exciting product \n- west hollywood\n- really young company\n- on track to get series a\n- if successful, easy way to get promoted\/higher positions \n- lots of stock options\n\nstart up cons\n- really new company\n- tons of risk with small start ups\n- longer hours due to growing rapidly \n\nbasically what im asking is:\n- which would you take?\n- is there a real deterrent to not taking the start up? would it be career suicide if the company goes under?\n- what are other factors to consider when making the choice?\n\n\nhappy to share company names over PM, thank you so much everyone!","meta":"{'source': 'reddit_posts', 'id': 'png7jx', 'title': 'New Grad, which offer to take? Established larger company or recently seeded start up?', 'author': 'chuddibuddy', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': 'Hey everyone, Im deciding between two offers for a new grad swe role and kinda torn. Ive been offered a return offer from where I interned this summer: a b2b enterprise software company. Theyve been around for s while and itd be s cushier job but i dont really care for the product and its not really exciting. The other option is a recently seeded ~50 employee start up. I LOVE the product of the start up but Im a little hesitant on the risk associated with joining a new start up. In terms of compensation ($-wise) theyre pretty much the same. as of now, im leaning towards the start up with the mentality that im young and if im gonna do this kinda thing right out of college is the best time. \\n\\n\\nBigger company pros:\\n- good benefits\\n- established company with great work life balance\\n- lots of paid time off \\n- in seattle (my hometown)\\n- much safer, no risk of company going under, fully established\\n\\nbigger company cons:\\n- boring product\\n- i personally dont love the corporate model \\n- not a young company, not a lot of peers \\n\\n\\nstart up pros\\n- exciting product \\n- west hollywood\\n- really young company\\n- on track to get series a\\n- if successful, easy way to get promoted\/higher positions \\n- lots of stock options\\n\\nstart up cons\\n- really new company\\n- tons of risk with small start ups\\n- longer hours due to growing rapidly \\n\\nbasically what im asking is:\\n- which would you take?\\n- is there a real deterrent to not taking the start up? would it be career suicide if the company goes under?\\n- what are other factors to consider when making the choice?\\n\\n\\nhappy to share company names over PM, thank you so much everyone!', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 9, 'created_utc': 1631542170}"}
{"id":"1590083","text":"Title: Can't control music playing on iPhone from Apple Watch properly.\nThe text below was posted in an online community called AppleWatch in the year 2019:\n\nI have been trying to fix this all morning and I was curious if other people were having this issue.\n\nWhen I try to play music from my watch on my phone I get \"Cannot Play This Item.  There was a problem playing  this on your iPhone.\"  This seems to only happen when trying to select from albums.  I can still go into songs and play any individual song correctly.  I can also still choose shuffle in any category and it will shuffle and play correctly.  But choosing anything from the album view results in the above.\n\nAm I the only one or is this something that anyone else has encountered?\n\nEdit: Forgot to mention this is on the latest updates for both iPhone and Apple Watch.  If anyone could help me out it would be greatly appreciated.","meta":"{'source': 'reddit_posts', 'id': 'dq5r8z', 'title': \"Can't control music playing on iPhone from Apple Watch properly.\", 'author': 'Raynmapym', 'subreddit': 'AppleWatch', 'subreddit_id': '2wav7', 'body': 'I have been trying to fix this all morning and I was curious if other people were having this issue.\\n\\nWhen I try to play music from my watch on my phone I get \"Cannot Play This Item.  There was a problem playing  this on your iPhone.\"  This seems to only happen when trying to select from albums.  I can still go into songs and play any individual song correctly.  I can also still choose shuffle in any category and it will shuffle and play correctly.  But choosing anything from the album view results in the above.\\n\\nAm I the only one or is this something that anyone else has encountered?\\n\\nEdit: Forgot to mention this is on the latest updates for both iPhone and Apple Watch.  If anyone could help me out it would be greatly appreciated.', 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 14, 'created_utc': 1572622111}"}
{"id":"2354368","text":"Title: PyAutoGUI: varying location and size of applications opening and IDLE opening when (after) hitting F5 to run query\nThe text below was posted in an online community called learnpython in the year 2018:\n\nMy idle shell changes location every 20 or so times when I run my scripts this ruining my program. Same goes for other desktop applications that open up in different locations and sometimes are not full screen. Would like to avoid using pythons screen recognition locate onscreen to avoid this because it is not always perfect...","meta":"{'source': 'reddit_posts', 'id': '8lwstx', 'title': 'PyAutoGUI: varying location and size of applications opening and IDLE opening when (after) hitting F5 to run query', 'author': 'citizenofacceptance2', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': 'My idle shell changes location every 20 or so times when I run my scripts this ruining my program. Same goes for other desktop applications that open up in different locations and sometimes are not full screen. Would like to avoid using pythons screen recognition locate onscreen to avoid this because it is not always perfect...', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 0, 'created_utc': 1527201168}"}
{"id":"1564705","text":"Title: Turn off mode in ivy-mode-hook only happens once\nThe text below was posted in an online community called emacs in the year 2018:\n\nI'm using [fill-column-indicator](https:\/\/github.com\/alpaker\/Fill-Column-Indicator) and I want to turn it off when I use Ivy. Otherwise, it shows up in swiper all wrong (for some reason, some [lines have the column extended past the set column, even though it's fine in the actual buffer](https:\/\/ptpb.pw\/AAVM7NimAzyYM_VwwvmmAhI-ZEBQ.png)). I have the following line:\n\n      (add-hook 'ivy-mode-hook 'turn-off-fci-mode)\n\nHowever, it only seems to work the first time I use swiper when I start up Emacs. Any subsequent instances of swiper will show the fill column indicator again.\n\nAny ideas? Much appreciated.\n\nP.S. What's the point of lambda in hooks if it's [not recommended](http:\/\/ergoemacs.org\/emacs\/emacs_avoid_lambda_in_hook.html)? How can I convert a lambda one to one without lamba?\n\n    (add-hook 'occur-hook\n              '(lambda ()\n                 (switch-to-buffer-other-window \"*Occur*\")))\n\nIt's not the exact same format as the example from the link--this one has a quote before the lambda part (I'm a complete elisp noob, sorry).","meta":"{'source': 'reddit_posts', 'id': '8epqte', 'title': 'Turn off mode in ivy-mode-hook only happens once', 'author': 'exquisitesunshine', 'subreddit': 'emacs', 'subreddit_id': '2qhwu', 'body': 'I\\'m using [fill-column-indicator](https:\/\/github.com\/alpaker\/Fill-Column-Indicator) and I want to turn it off when I use Ivy. Otherwise, it shows up in swiper all wrong (for some reason, some [lines have the column extended past the set column, even though it\\'s fine in the actual buffer](https:\/\/ptpb.pw\/AAVM7NimAzyYM_VwwvmmAhI-ZEBQ.png)). I have the following line:\\n\\n      (add-hook \\'ivy-mode-hook \\'turn-off-fci-mode)\\n\\nHowever, it only seems to work the first time I use swiper when I start up Emacs. Any subsequent instances of swiper will show the fill column indicator again.\\n\\nAny ideas? Much appreciated.\\n\\nP.S. What\\'s the point of lambda in hooks if it\\'s [not recommended](http:\/\/ergoemacs.org\/emacs\/emacs_avoid_lambda_in_hook.html)? How can I convert a lambda one to one without lamba?\\n\\n    (add-hook \\'occur-hook\\n              \\'(lambda ()\\n                 (switch-to-buffer-other-window \"*Occur*\")))\\n\\nIt\\'s not the exact same format as the example from the link--this one has a quote before the lambda part (I\\'m a complete elisp noob, sorry).', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 5, 'created_utc': 1524619255}"}
{"id":"797742","text":"Title: Questions asked by an interviewer\nThe text below was posted in an online community called aws in the year 2021:\n\nHi, I'm relatively new to AWS and got the Cloud Practitioner certificate back in December. I have a few questions that I haven't been able to find answers to online. These were asked by an interviewer. \n\n1. What part\/aspect of EC2 is free? (not including free tier)\n\n2. I have a file in an S3 bucket and it is visible to everyone except one person\/IP address. Why?\n\n3. SaaS examples in AWS (I don't know if it was a trick question or not)","meta":"{'source': 'reddit_posts', 'id': 'lf9a1a', 'title': 'Questions asked by an interviewer', 'author': 'ahaan15', 'subreddit': 'aws', 'subreddit_id': '2qh84', 'body': \"Hi, I'm relatively new to AWS and got the Cloud Practitioner certificate back in December. I have a few questions that I haven't been able to find answers to online. These were asked by an interviewer. \\n\\n1. What part\/aspect of EC2 is free? (not including free tier)\\n\\n2. I have a file in an S3 bucket and it is visible to everyone except one person\/IP address. Why?\\n\\n3. SaaS examples in AWS (I don't know if it was a trick question or not)\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 6, 'created_utc': 1612781042}"}
{"id":"2206616","text":"Title: Python stress test\nThe text below was posted in an online community called learnpython in the year 2017:\n\nDespite practising numerous Python programs, I felt completely blank in the interview this morning. I was not able to answer even basic questions. I was very anxious and flunked the interview. I was asked to write a fibonacci program using recursion and I didn't even know where to start. Do all great programmers perform good under pressure?","meta":"{'source': 'reddit_posts', 'id': '6rj648', 'title': 'Python stress test', 'author': 'HolyCoder', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': \"Despite practising numerous Python programs, I felt completely blank in the interview this morning. I was not able to answer even basic questions. I was very anxious and flunked the interview. I was asked to write a fibonacci program using recursion and I didn't even know where to start. Do all great programmers perform good under pressure?\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 5, 'created_utc': 1501835736}"}
{"id":"349417","text":"Title: Is Hyper-V terrible at running Linux?\nThe text below was posted in an online community called linux4noobs in the year 2015:\n\nI've used Linux VMs (mostly Red Hat or CentOS) on VirtualBox for a couple of years at work so I'm reasonably familiar with this, but after building a new PC with Windows 10 I tried to setup a few Linux VMs on Hyper-V and so far they've been a mess. \n\nLinux Mint runs slowly and I can't seem to get it to change the resolution it runs at. My first install of Kubuntu (which I thought had good Hyper-V support) ended up becoming non-functional shortly after I installed it. I'd wanted to use Hyper-V because I thought as a bare metal hypervisor it would be faster than VirtualBox or VMWare but my initial experimentation with it has left me unimpressed.","meta":"{'source': 'reddit_posts', 'id': '3rwomn', 'title': 'Is Hyper-V terrible at running Linux?', 'author': 'CatnipFarmer', 'subreddit': 'linux4noobs', 'subreddit_id': '2qy7t', 'body': \"I've used Linux VMs (mostly Red Hat or CentOS) on VirtualBox for a couple of years at work so I'm reasonably familiar with this, but after building a new PC with Windows 10 I tried to setup a few Linux VMs on Hyper-V and so far they've been a mess. \\n\\nLinux Mint runs slowly and I can't seem to get it to change the resolution it runs at. My first install of Kubuntu (which I thought had good Hyper-V support) ended up becoming non-functional shortly after I installed it. I'd wanted to use Hyper-V because I thought as a bare metal hypervisor it would be faster than VirtualBox or VMWare but my initial experimentation with it has left me unimpressed.\", 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 7, 'created_utc': '1446917332'}"}
{"id":"2237558","text":"Title: Recently released paper by U.S. Government agency indicates that the Low Energy Nuclear Reaction (LENR) phenomena is real and of a nuclear nature\nThe text below was posted in an online community called technology in the year 2016:\n\nHere is a link to the paper:\nhttp:\/\/lenr-canr.org\/acrobat\/MosierBossinvestigat.pdf\n\nAs can be seen on the last page, it took around two years to get all of the necessary signatures for public release.\n\nEdit: lenr-canr.org posted an updated paper without the last page showing the signatures.  Here is a [link](https:\/\/www.facebook.com\/groups\/235806719875659\/945372785585712\/) to the original paper, which includes the last page of signatures.\n\nPage 87:\n\"The implications  . . .  are that both SPAWAR HQ and SSC-Pacific say that the phenomenon is real and that it is nuclear in nature.\"\n\nSPAWAR = Space and Naval Warfare Systems Command\n\nSSC-Pacific = SPAWAR Systems Center Pacific\n\nResearch at SPAWAR apparently ended in November 2011, with steps taken at that time to transition LENR research to other organizations within the federal government:\n\n\"There are other organizations within the federal government that are better aligned to continue research regarding nuclear power.  We have taken initial steps to determine how a transition of low-energy nuclear reaction (LENR) research might occur.\"  (Page 87.)\n\nFor those unfamiliar with the term LENR, it is the presently accepted term for what was originally loosely referred to as \"cold fusion.\"","meta":"{'source': 'reddit_posts', 'id': '515z0g', 'title': 'Recently released paper by U.S. Government agency indicates that the Low Energy Nuclear Reaction (LENR) phenomena is real and of a nuclear nature', 'author': 'Always_Question', 'subreddit': 'technology', 'subreddit_id': '2qh16', 'body': 'Here is a link to the paper:\\nhttp:\/\/lenr-canr.org\/acrobat\/MosierBossinvestigat.pdf\\n\\nAs can be seen on the last page, it took around two years to get all of the necessary signatures for public release.\\n\\nEdit: lenr-canr.org posted an updated paper without the last page showing the signatures.  Here is a [link](https:\/\/www.facebook.com\/groups\/235806719875659\/945372785585712\/) to the original paper, which includes the last page of signatures.\\n\\nPage 87:\\n\"The implications  . . .  are that both SPAWAR HQ and SSC-Pacific say that the phenomenon is real and that it is nuclear in nature.\"\\n\\nSPAWAR = Space and Naval Warfare Systems Command\\n\\nSSC-Pacific = SPAWAR Systems Center Pacific\\n\\nResearch at SPAWAR apparently ended in November 2011, with steps taken at that time to transition LENR research to other organizations within the federal government:\\n\\n\"There are other organizations within the federal government that are better aligned to continue research regarding nuclear power.  We have taken initial steps to determine how a transition of low-energy nuclear reaction (LENR) research might occur.\"  (Page 87.)\\n\\nFor those unfamiliar with the term LENR, it is the presently accepted term for what was originally loosely referred to as \"cold fusion.\"', 'body_is_trimmed': False, 'score': 68, 'over_18': False, 'num_comments': 17, 'created_utc': 1473022880}"}
{"id":"1457230","text":"Title: Workstations joining Azure AD or MDM, not sure why\/how one or the other\nThe text below was posted in an online community called AZURE in the year 2018:\n\nAccording to Settings-&gt;Accounts, my current laptop is connected to on-prem AD and Azure AD. The laptop I'm going to be moving to is showing on-prem AD and MDM. It's a fresh image that I built, I then added to on-prem AD. When I installed O365 and left the laptop for the weekend, I got an error that my accounts were not in sync, and I clicked on the Fix now button. It asked for my O365 credentials, which I entered. My new laptop then envolled in MDM.\n\nI'm not sure how or why one is on Azure and the other on MDM. We're not yet doing Intune deployment, but the previous Azure Admin had been messing with Intune. When I look at Azure Devices, my old laptop is Hybrid Azure AD joined. I'm trying to figure out why my current laptop is AD joined and connected to our Azure AD, and the new laptop is AD joined and connected to MDM. \n\nHow can I remove my new laptop from MDM, without removing it from the hybrid environment? Or is that possible or necessary? It's not listed as compliant with MDM\/Intune, so that's one of the reasons I'd like to remove it for now. Long term plans are to use Intune and Autopilot, but for now I'd like to just leave the new laptop connected to Azure Ad, and not part of Intune.","meta":"{'source': 'reddit_posts', 'id': '9scur6', 'title': 'Workstations joining Azure AD or MDM, not sure why\/how one or the other', 'author': 'Deezul_AwT', 'subreddit': 'AZURE', 'subreddit_id': '2rkse', 'body': \"According to Settings-&gt;Accounts, my current laptop is connected to on-prem AD and Azure AD. The laptop I'm going to be moving to is showing on-prem AD and MDM. It's a fresh image that I built, I then added to on-prem AD. When I installed O365 and left the laptop for the weekend, I got an error that my accounts were not in sync, and I clicked on the Fix now button. It asked for my O365 credentials, which I entered. My new laptop then envolled in MDM.\\n\\nI'm not sure how or why one is on Azure and the other on MDM. We're not yet doing Intune deployment, but the previous Azure Admin had been messing with Intune. When I look at Azure Devices, my old laptop is Hybrid Azure AD joined. I'm trying to figure out why my current laptop is AD joined and connected to our Azure AD, and the new laptop is AD joined and connected to MDM. \\n\\nHow can I remove my new laptop from MDM, without removing it from the hybrid environment? Or is that possible or necessary? It's not listed as compliant with MDM\/Intune, so that's one of the reasons I'd like to remove it for now. Long term plans are to use Intune and Autopilot, but for now I'd like to just leave the new laptop connected to Azure Ad, and not part of Intune.\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 11, 'created_utc': 1540818033}"}
{"id":"1904394","text":"Title: In the wake of Snooper's Charter\nThe text below was posted in an online community called AskNetsec in the year 2016:\n\nI'd like to have a discussion about web security after the depressing news about snooper's charter. My understanding is limited, and this seems like the most appropriate place to ask about it (correct me if I'm wrong). \n\nSo, it's been said that ISPs are going to track what websites an individual uses, for a start, surely if you have multiple people in one building all using the same internet, the limit is narrowing it down to a device, but not being able to prove who was using it and thus accessed said website?\n\nDoes end to end encryption stop ISPs being able to tell what website's you're visiting, or is the DNS info still in the metadata?\n\nDoes a VPN protect against this (assuming said VPN is safe) or again, does metadata give it away?\n\nIs it possible to make all encrypted requests go through a common server, and then be routed to the actual address, thus obfuscating the real target? Or is this essentially tor?\n\nCan we encrypt DNS lookups to make things more secure?\n\nApologies for the barrage of questions","meta":"{'source': 'reddit_posts', 'id': '5elzos', 'title': \"In the wake of Snooper's Charter\", 'author': 'jellycubed', 'subreddit': 'AskNetsec', 'subreddit_id': '2t3w8', 'body': \"I'd like to have a discussion about web security after the depressing news about snooper's charter. My understanding is limited, and this seems like the most appropriate place to ask about it (correct me if I'm wrong). \\n\\nSo, it's been said that ISPs are going to track what websites an individual uses, for a start, surely if you have multiple people in one building all using the same internet, the limit is narrowing it down to a device, but not being able to prove who was using it and thus accessed said website?\\n\\nDoes end to end encryption stop ISPs being able to tell what website's you're visiting, or is the DNS info still in the metadata?\\n\\nDoes a VPN protect against this (assuming said VPN is safe) or again, does metadata give it away?\\n\\nIs it possible to make all encrypted requests go through a common server, and then be routed to the actual address, thus obfuscating the real target? Or is this essentially tor?\\n\\nCan we encrypt DNS lookups to make things more secure?\\n\\nApologies for the barrage of questions\", 'body_is_trimmed': False, 'score': 14, 'over_18': False, 'num_comments': 3, 'created_utc': 1479963551}"}
{"id":"2219164","text":"Title: Are you able to turn off high heart rate notifications on SE?\nThe text below was posted in an online community called AppleWatch in the year 2020:\n\nHi everyone. I dont want this feature on my watch, I have bad anxiety and dont wish to be notified when my heart rate is high when Im anxious. It would make my anxiety worse. I highly dont want this feature","meta":"{'source': 'reddit_posts', 'id': 'jvdz5w', 'title': 'Are you able to turn off high heart rate notifications on SE?', 'author': 'jenna_beterson', 'subreddit': 'AppleWatch', 'subreddit_id': '2wav7', 'body': 'Hi everyone. I dont want this feature on my watch, I have bad anxiety and dont wish to be notified when my heart rate is high when Im anxious. It would make my anxiety worse. I highly dont want this feature', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 4, 'created_utc': 1605557104}"}
{"id":"408391","text":"Title: Activity not syncing - again...\nThe text below was posted in an online community called AppleWatch in the year 2020:\n\nHi all, I have actually searched and couldnt find an answer - I have 2 watches, one S0 that I sleep with, and a S4 cellular that I wear during the day... \n\nFor some reason, last Tuesday my activity stopped syncing with my day watch, and only syncs with night watch... \n\nIve restarted, turned off Bluetooth, turned off wifi, reset the data, restarted another 1000 times, and its still not syncing - its connected to the phone in the left hand corner of the watch, so thats good, but its just not talking to it...","meta":"{'source': 'reddit_posts', 'id': 'gpgrpb', 'title': 'Activity not syncing - again...', 'author': 'thegurio', 'subreddit': 'AppleWatch', 'subreddit_id': '2wav7', 'body': 'Hi all, I have actually searched and couldnt find an answer - I have 2 watches, one S0 that I sleep with, and a S4 cellular that I wear during the day... \\n\\nFor some reason, last Tuesday my activity stopped syncing with my day watch, and only syncs with night watch... \\n\\nIve restarted, turned off Bluetooth, turned off wifi, reset the data, restarted another 1000 times, and its still not syncing - its connected to the phone in the left hand corner of the watch, so thats good, but its just not talking to it...', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 3, 'created_utc': 1590283108}"}
{"id":"1807858","text":"Title: Secure PHP -&gt; remote MSSQL 2012 connection\nThe text below was posted in an online community called PHPhelp in the year 2014:\n\nI'm using PHP server-side for some webforms, and upon submission PHP needs to connect to a remote MSSQL 2012 instance and do some magic. I want to use the SQLSRV PHP extension, but I can't seem to find any information about it using a secure connection. I'm concerned about the queries getting intercepted or the DB username\/password going across in cleartext.\n\nDoes anybody have some definitive information on this? Preferably with reference to which cipher they use, if it claims to be encrypted. I'm open to using a different PHP extension if that's necessary.\n\nThe stack:\n\n* Ubuntu Server 13.10\n* Apache\n* Remote MSSQL 2012\n* PHP 5.4","meta":"{'source': 'reddit_posts', 'id': '219irv', 'title': 'Secure PHP -&gt; remote MSSQL 2012 connection', 'author': 'jixig', 'subreddit': 'PHPhelp', 'subreddit_id': '2rhbw', 'body': \"I'm using PHP server-side for some webforms, and upon submission PHP needs to connect to a remote MSSQL 2012 instance and do some magic. I want to use the SQLSRV PHP extension, but I can't seem to find any information about it using a secure connection. I'm concerned about the queries getting intercepted or the DB username\/password going across in cleartext.\\n\\nDoes anybody have some definitive information on this? Preferably with reference to which cipher they use, if it claims to be encrypted. I'm open to using a different PHP extension if that's necessary.\\n\\nThe stack:\\n\\n* Ubuntu Server 13.10\\n* Apache\\n* Remote MSSQL 2012\\n* PHP 5.4\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 5, 'created_utc': '1395695766'}"}
{"id":"1776694","text":"Title: rsyslog - rotation help\nThe text below was posted in an online community called linuxquestions in the year 2018:\n\nHi Everyone, \n\nSorry I am new to getting rsyslog up and running and need some help with rotation the logs. \n\nCurrently I have the the syslog receiving working quite well I am receiving logs from my network switches via 514 UDP and filtering out some unwanted messages. Now I wanted to see the best way to approach the two objectives below. \n\nI was hoping to have some guidance on: \n- Split logs when they reach a max size of 10mb\n- Globally the total max size of the directory should be 100gb before overwriting older logs. \n\nCan this be done with just the rsyslog.conf or would I need some sort of script or 'rotate' in place?\n\nAny help or guidance on how I can archive this would be greatly appreciated. \n\nThank you!\n    \n    \/etc\/rsyslog.conf (Relevant section)\n    # 1. Filter out unwated messages:\n    :msg, contains, \"logout(11100)\" ~\n    :msg, contains, \"login(11099)\" ~\n    :msg, contains, \"fanmon_ipmitool_read(31012)\" ~\n    :msg, contains, \"ip_moved(11369)\" ~\n    \n    # 2. Log everything else to this location:\n    $template SyslogLocal, \"\/syslog\/%HOSTNAME%-%$year%%$month%%$day%.log\"\n    *.* ?SyslogLocal","meta":"{'source': 'reddit_posts', 'id': '8deddk', 'title': 'rsyslog - rotation help', 'author': 'powpow44', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': 'Hi Everyone, \\n\\nSorry I am new to getting rsyslog up and running and need some help with rotation the logs. \\n\\nCurrently I have the the syslog receiving working quite well I am receiving logs from my network switches via 514 UDP and filtering out some unwanted messages. Now I wanted to see the best way to approach the two objectives below. \\n\\nI was hoping to have some guidance on: \\n- Split logs when they reach a max size of 10mb\\n- Globally the total max size of the directory should be 100gb before overwriting older logs. \\n\\nCan this be done with just the rsyslog.conf or would I need some sort of script or \\'rotate\\' in place?\\n\\nAny help or guidance on how I can archive this would be greatly appreciated. \\n\\nThank you!\\n    \\n    \/etc\/rsyslog.conf (Relevant section)\\n    # 1. Filter out unwated messages:\\n    :msg, contains, \"logout(11100)\" ~\\n    :msg, contains, \"login(11099)\" ~\\n    :msg, contains, \"fanmon_ipmitool_read(31012)\" ~\\n    :msg, contains, \"ip_moved(11369)\" ~\\n    \\n    # 2. Log everything else to this location:\\n    $template SyslogLocal, \"\/syslog\/%HOSTNAME%-%$year%%$month%%$day%.log\"\\n    *.* ?SyslogLocal', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 2, 'created_utc': 1524142054}"}
{"id":"396310","text":"Title: Help setting up secure boot with sbctl on a dual boot\nThe text below was posted in an online community called archlinux in the year 2021:\n\nMy laptop shipped with Windows 10 BitLocker and secure boot enabled, in order to install Arch I had no choice but to disable both of these.  Now that I have Arch installed and I have been using it for the past month, I am trying to figure out how to reenable secure boot again.  I discovered sbctl which makes it pretty easy to enable secure boot with Arch, but I'm not sure how to go about setting it up when you have a dual boot.  I was wondering if it is possible to give sbctl the keys that were factory shipped with my laptop instead of generating and replacing them with new ones.  If I generate new keys I will no longer be able to reenable BitLocker on my Windows install, which would defeat the purpose of me wanting to do this.","meta":"{'source': 'reddit_posts', 'id': 'o4l176', 'title': 'Help setting up secure boot with sbctl on a dual boot', 'author': 'Chamberz18', 'subreddit': 'archlinux', 'subreddit_id': '2qrzu', 'body': \"My laptop shipped with Windows 10 BitLocker and secure boot enabled, in order to install Arch I had no choice but to disable both of these.  Now that I have Arch installed and I have been using it for the past month, I am trying to figure out how to reenable secure boot again.  I discovered sbctl which makes it pretty easy to enable secure boot with Arch, but I'm not sure how to go about setting it up when you have a dual boot.  I was wondering if it is possible to give sbctl the keys that were factory shipped with my laptop instead of generating and replacing them with new ones.  If I generate new keys I will no longer be able to reenable BitLocker on my Windows install, which would defeat the purpose of me wanting to do this.\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 1, 'created_utc': 1624242762}"}
{"id":"2369528","text":"Title: Put install script in iso?\nThe text below was posted in an online community called archlinux in the year 2022:\n\nI made an install script that I want to run to help with some parts of the installation. Instead of downloading the script I want to put it on the installation USB. With mkarchiso I can put the file in airootfs, but how can I do it if I'm using the regular iso?\n\nTo change the install script would I have to rebuild the iso or is it possible to do it directly on the USB?","meta":"{'source': 'reddit_posts', 'id': 'uvks3k', 'title': 'Put install script in iso?', 'author': 'Status-Floor3119', 'subreddit': 'archlinux', 'subreddit_id': '2qrzu', 'body': \"I made an install script that I want to run to help with some parts of the installation. Instead of downloading the script I want to put it on the installation USB. With mkarchiso I can put the file in airootfs, but how can I do it if I'm using the regular iso?\\n\\nTo change the install script would I have to rebuild the iso or is it possible to do it directly on the USB?\", 'body_is_trimmed': False, 'score': 58, 'over_18': False, 'num_comments': 24, 'created_utc': 1653255163}"}
{"id":"1593456","text":"Title: Is there an easy way to use pins withva hat on?\nThe text below was posted in an online community called raspberry_pi in the year 2017:\n\nI got a PiTFT 2.8 inch and I also need to wire buttons to the raspberry pi. I heard that 18 gpio pins were available for the pi that were not used by the tft. Is there a way to do this?","meta":"{'source': 'reddit_posts', 'id': '5x78bz', 'title': 'Is there an easy way to use pins withva hat on?', 'author': 'brendantheaney', 'subreddit': 'raspberry_pi', 'subreddit_id': '2syto', 'body': 'I got a PiTFT 2.8 inch and I also need to wire buttons to the raspberry pi. I heard that 18 gpio pins were available for the pi that were not used by the tft. Is there a way to do this?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1488501931}"}
{"id":"257368","text":"Title: Port 3000 is always being hogged by grafana-server\nThe text below was posted in an online community called linuxquestions in the year 2020:\n\n[example](https:\/\/i.imgur.com\/AVGLG8T.png)\n\n`sudo netstat -lepunt | grep 3000` to get the process that is on port 3000\n\nThen `sudo kill -9 [process number]` then I netstat again and it's there again but with a different process number. I've tried to find every occurence of grafana on my computer and deleted them. Restarted services to make the system know that they no longer exist but they still do. At the the end of my wit and not sure what to do next. Any ideas? Any more information needed from myself?","meta":"{'source': 'reddit_posts', 'id': 'i0jnq4', 'title': 'Port 3000 is always being hogged by grafana-server', 'author': 'Shmink_', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': \"[example](https:\/\/i.imgur.com\/AVGLG8T.png)\\n\\n`sudo netstat -lepunt | grep 3000` to get the process that is on port 3000\\n\\nThen `sudo kill -9 [process number]` then I netstat again and it's there again but with a different process number. I've tried to find every occurence of grafana on my computer and deleted them. Restarted services to make the system know that they no longer exist but they still do. At the the end of my wit and not sure what to do next. Any ideas? Any more information needed from myself?\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 6, 'created_utc': 1596104682}"}
{"id":"180297","text":"Title: AWS Security Workshops\nThe text below was posted in an online community called aws in the year 2019:\n\nHey everyone, has anyone tried these before? I keep trying to create a stack from their template, follow every instruction, and always end up with a status of ROLLBACK_COMPLETE instead of CREATE_COMPLETE like it says in the documentation. Using a personal account as suggested, tried multiple browsers on different machines and still get the same results. Any advice?\n\nHttps:\/\/awssecworkshops.com\/workshops\n\nThanks!","meta":"{'source': 'reddit_posts', 'id': 'b9u5gi', 'title': 'AWS Security Workshops', 'author': 'brimash45', 'subreddit': 'aws', 'subreddit_id': '2qh84', 'body': 'Hey everyone, has anyone tried these before? I keep trying to create a stack from their template, follow every instruction, and always end up with a status of ROLLBACK_COMPLETE instead of CREATE_COMPLETE like it says in the documentation. Using a personal account as suggested, tried multiple browsers on different machines and still get the same results. Any advice?\\n\\nHttps:\/\/awssecworkshops.com\/workshops\\n\\nThanks!', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 6, 'created_utc': 1554485657}"}
{"id":"1491103","text":"Title: scanf() interaction with use of an array of structures? (in C)\nThe text below was posted in an online community called learnprogramming in the year 2011:\n\nSo the problem seems to be that it's skipping the first scanf of the second for loop.\n\nHere's the line I'm having trouble with:\n    scanf (\"%c\", &amp;student[j].first);\nHere's the structure that is the type for student:\n    struct Students {\n       char first;\n       char last;\n       int score;\n       int section_num;\n    };\n\n[Here's a pastebin of the full program](http:\/\/pastebin.com\/JMPFq8uD)\n\nThe scanf in question is on line 43.  Also, sorry about it being messy : \/\n\n[Here's the output](http:\/\/pastebin.com\/WPgBkA5h) (highlighted lines contain input)\n\nThanks!\nDavid","meta":"{'source': 'reddit_posts', 'id': 'lrazl', 'title': 'scanf() interaction with use of an array of structures? (in C)', 'author': 'chao06', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'So the problem seems to be that it\\'s skipping the first scanf of the second for loop.\\n\\nHere\\'s the line I\\'m having trouble with:\\n    scanf (\"%c\", &amp;student[j].first);\\nHere\\'s the structure that is the type for student:\\n    struct Students {\\n       char first;\\n       char last;\\n       int score;\\n       int section_num;\\n    };\\n\\n[Here\\'s a pastebin of the full program](http:\/\/pastebin.com\/JMPFq8uD)\\n\\nThe scanf in question is on line 43.  Also, sorry about it being messy : \/\\n\\n[Here\\'s the output](http:\/\/pastebin.com\/WPgBkA5h) (highlighted lines contain input)\\n\\nThanks!\\nDavid', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 15, 'created_utc': 1319743966}"}
{"id":"1072393","text":"Title: So who got a One X today?\nThe text below was posted in an online community called Android in the year 2012:\n\nPicked mine up today and i couldnt be happier, so glad i waited past the galaxy nexus. Anyone else pick one up? First impressions?","meta":"{'source': 'reddit_posts', 'id': 'runuw', 'title': 'So who got a One X today?', 'author': 'TheSigma3', 'subreddit': 'Android', 'subreddit_id': '2qlqh', 'body': 'Picked mine up today and i couldnt be happier, so glad i waited past the galaxy nexus. Anyone else pick one up? First impressions?', 'body_is_trimmed': False, 'score': 44, 'over_18': False, 'num_comments': 130, 'created_utc': 1333637047}"}
{"id":"370047","text":"Title: Do you guys have any suggestions on books for deepening understanding of C# and .Net?\nThe text below was posted in an online community called csharp in the year 2018:\n\nI've been coding in C# for 5 years, but sometimes I feel like I lack some \"basic\" knowledge. DO you guys have any good books to recommend for me to get a deeper knowledge of how C# and .Net works?","meta":"{'source': 'reddit_posts', 'id': '82mmjm', 'title': 'Do you guys have any suggestions on books for deepening understanding of C# and .Net?', 'author': 'livinglist', 'subreddit': 'csharp', 'subreddit_id': '2qhdf', 'body': 'I\\'ve been coding in C# for 5 years, but sometimes I feel like I lack some \"basic\" knowledge. DO you guys have any good books to recommend for me to get a deeper knowledge of how C# and .Net works?', 'body_is_trimmed': False, 'score': 16, 'over_18': False, 'num_comments': 11, 'created_utc': 1520409255}"}
{"id":"1164388","text":"Title: New JS Library 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 Numbers fuses webpages and spreadsheets\nThe text below was posted in an online community called javascript in the year 2014:\n\nNumbers is a new JavaScript Library which adds spreadsheet models to ordinary web pages.\n\nCheck it out: \nhttp:\/\/org-office.github.io\/numbers\/","meta":"{'source': 'reddit_posts', 'id': '2p75ks', 'title': 'New JS Library :: Numbers fuses webpages and spreadsheets', 'author': 'org-office', 'subreddit': 'javascript', 'subreddit_id': '2qh30', 'body': 'Numbers is a new JavaScript Library which adds spreadsheet models to ordinary web pages.\\n\\nCheck it out: \\nhttp:\/\/org-office.github.io\/numbers\/', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 1, 'created_utc': '1418501861'}"}
{"id":"387426","text":"Title: Guys, why can't my character jump? even i put the code correctly\nThe text below was posted in an online community called Unity3D in the year 2020:\n\nisGrounded = Physics2D.OverlapCircle(GroundCheck.position, checkRadius, whatIsGround);\n            if(Input.GetKeyDown(KeyCode.Space) &amp;&amp; isGrounded == true)\n            {\n                rb.velocity = Vector2.up * JumpForce;\n            }","meta":"{'source': 'reddit_posts', 'id': 'j6sd7p', 'title': \"Guys, why can't my character jump? even i put the code correctly\", 'author': 'aDogIsUsingThis', 'subreddit': 'Unity3D', 'subreddit_id': '2qwj8', 'body': 'isGrounded = Physics2D.OverlapCircle(GroundCheck.position, checkRadius, whatIsGround);\\n            if(Input.GetKeyDown(KeyCode.Space) &amp;&amp; isGrounded == true)\\n            {\\n                rb.velocity = Vector2.up * JumpForce;\\n            }', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 4, 'created_utc': 1602082709}"}
{"id":"1696472","text":"Title: Need help with my first python assignment\nThe text below was posted in an online community called learnpython in the year 2018:\n\nhello, I am fairly new to python and coding in general and I am having a hard time getting this program to work. \n\nThe idea of this program is to collect the length of 3 sides of a triangle and determine if those three sides make up a right, acute, and obtuse triangle, I am using the pythagorean theorem as my base for this program. \n\nI have also made some \"if\" statements to determine if its possible to even create a triangle with the three given lengths, if it does not it prints an error and loops back to the start.\n\nhttps:\/\/pastebin.com\/MT3KhiiG\n\nhowever, whenever I try to input the three sides, I just can't get it to work, it seems that if I enter the three sides, I just end up getting both of my errors that I made at the same time, it also seems that its not accepting the three functions that I made at the end, I feel like the culprit is the last \"except\" line but I can't seem to remove it without getting a EOF error.\n\nsorry if I'm rambling too much, im kinda new to this.","meta":"{'source': 'reddit_posts', 'id': '9i4h9n', 'title': 'Need help with my first python assignment', 'author': 'Ltsurge43', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': 'hello, I am fairly new to python and coding in general and I am having a hard time getting this program to work. \\n\\nThe idea of this program is to collect the length of 3 sides of a triangle and determine if those three sides make up a right, acute, and obtuse triangle, I am using the pythagorean theorem as my base for this program. \\n\\nI have also made some \"if\" statements to determine if its possible to even create a triangle with the three given lengths, if it does not it prints an error and loops back to the start.\\n\\nhttps:\/\/pastebin.com\/MT3KhiiG\\n\\nhowever, whenever I try to input the three sides, I just can\\'t get it to work, it seems that if I enter the three sides, I just end up getting both of my errors that I made at the same time, it also seems that its not accepting the three functions that I made at the end, I feel like the culprit is the last \"except\" line but I can\\'t seem to remove it without getting a EOF error.\\n\\nsorry if I\\'m rambling too much, im kinda new to this.', 'body_is_trimmed': False, 'score': 16, 'over_18': False, 'num_comments': 11, 'created_utc': 1537662876}"}
{"id":"421675","text":"Title: 2017 MBP keeps freezing\nThe text below was posted in an online community called mac in the year 2017:\n\nI bought a MBP 2017 about a month ago. After starting it for the first time the laptop froze just after I installed Chrome (and I had to force restart it). I also did a completely reinstall of the OS, just in case.\n\nSince then the laptop will frequently freeze\/hang (1-2 times per week). Sometimes just for 5-10 seconds, and sometimes I have to force restart it. It *seems* like it only happens when switching to Chrome, or opening new tabs in Chrome.\n\nSometimes the laptop will freeze and I can still move the mouse (but can't click or do anything else). Even the touchbar and keyboard seem to be completely unresponsive.\n\nI also had a kernel panic 2 days (\"Slack Helper\" caused it).\n\nCould this be a problem with Chrome, or could it be that my machine is faulty. Should I contact Apple Support about this?\n\nIn the meantime I've switched to Safari to try to determine if Chrome is the culprit.","meta":"{'source': 'reddit_posts', 'id': '6otwad', 'title': '2017 MBP keeps freezing', 'author': 'phb5000', 'subreddit': 'mac', 'subreddit_id': '2qh4u', 'body': 'I bought a MBP 2017 about a month ago. After starting it for the first time the laptop froze just after I installed Chrome (and I had to force restart it). I also did a completely reinstall of the OS, just in case.\\n\\nSince then the laptop will frequently freeze\/hang (1-2 times per week). Sometimes just for 5-10 seconds, and sometimes I have to force restart it. It *seems* like it only happens when switching to Chrome, or opening new tabs in Chrome.\\n\\nSometimes the laptop will freeze and I can still move the mouse (but can\\'t click or do anything else). Even the touchbar and keyboard seem to be completely unresponsive.\\n\\nI also had a kernel panic 2 days (\"Slack Helper\" caused it).\\n\\nCould this be a problem with Chrome, or could it be that my machine is faulty. Should I contact Apple Support about this?\\n\\nIn the meantime I\\'ve switched to Safari to try to determine if Chrome is the culprit.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1500710688}"}
{"id":"123644","text":"Title: Question regarding MVP implementation\nThe text below was posted in an online community called androiddev in the year 2015:\n\nI have questions regarding when to create\/destroy presenter in activity\/fragment.\n\nLet's say I want to implement a login screen with a button. I would make a login activity, a login presenter and a login presenter listener. \n\n    public class LoginActivity extends Activity implements LoginPresenterListener{\n    \n        private LoginPresenter presenter;\n    \n        @Override\n        protected void onCreate(Bundle savedInstanceState) {\n            super.onCreate(savedInstanceState);\n            setContentView(R.layout.activity_login);\n    \n            Button button = (Button) findViewById(R.id.button_send);\n            button.setOnClickListener(new View.OnClickListener() {\n                public void onClick(View v) {\n                    presenter.doLogin();\n                }\n            });\n        }\n    \n        @Override\n        protected void onDestroy() {\n            super.onDestroy();\n            this.presenter = null;\n        }\n    \n        public void onLoginSuccess(){\n            \/\/Start home activity\n        }\n    }\n,\n\n    public interface LoginPresenterListener{\n        public void onLoginSuccess();\n    }\n,\n\n    public class LoginPresenter{\n        LoginPresenterListener loginPresenterListener;\n    \n        LoginPresenter(LoginPresenterListener listener){\n            this.loginPresenterListener = listener;\n        }\n    \n        void doLogin(){\n            \/\/try login\n            if (success) {\n                loginPresenterListener.onLoginSuccess();\n            }\n        }\n    }\n\nThe problem comes when the configuration changes(i.e. device orientation changed), If I am in middle of asynchronous network call to login, the device orientation changed, then the activity is restarted. Thus we lost the call to network and we make a new presenter again(and I believe the old login activity is not garbage collected).\n\nOne solution I can think so far is to make a login fragment with setretaininstance(true), and create\/destroy presenter in the onCreate\/onDestroy of login fragment. But I don't want to make a fragment for every activity.\n\nIs there a better solution?","meta":"{'source': 'reddit_posts', 'id': '37f27h', 'title': 'Question regarding MVP implementation', 'author': '__Ryan_______', 'subreddit': 'androiddev', 'subreddit_id': '2r26y', 'body': \"I have questions regarding when to create\/destroy presenter in activity\/fragment.\\n\\nLet's say I want to implement a login screen with a button. I would make a login activity, a login presenter and a login presenter listener. \\n\\n    public class LoginActivity extends Activity implements LoginPresenterListener{\\n    \\n        private LoginPresenter presenter;\\n    \\n        @Override\\n        protected void onCreate(Bundle savedInstanceState) {\\n            super.onCreate(savedInstanceState);\\n            setContentView(R.layout.activity_login);\\n    \\n            Button button = (Button) findViewById(R.id.button_send);\\n            button.setOnClickListener(new View.OnClickListener() {\\n                public void onClick(View v) {\\n                    presenter.doLogin();\\n                }\\n            });\\n        }\\n    \\n        @Override\\n        protected void onDestroy() {\\n            super.onDestroy();\\n            this.presenter = null;\\n        }\\n    \\n        public void onLoginSuccess(){\\n            \/\/Start home activity\\n        }\\n    }\\n,\\n\\n    public interface LoginPresenterListener{\\n        public void onLoginSuccess();\\n    }\\n,\\n\\n    public class LoginPresenter{\\n        LoginPresenterListener loginPresenterListener;\\n    \\n        LoginPresenter(LoginPresenterListener listener){\\n            this.loginPresenterListener = listener;\\n        }\\n    \\n        void doLogin(){\\n            \/\/try login\\n            if (success) {\\n                loginPresenterListener.onLoginSuccess();\\n            }\\n        }\\n    }\\n\\nThe problem comes when the configuration changes(i.e. device orientation changed), If I am in middle of asynchronous network call to login, the device orientation changed, then the activity is restarted. Thus we lost the call to network and we make a new presenter again(and I believe the old login activity is not garbage collected).\\n\\nOne solution I can think so far is to make a login fragment with setretaininstance(true), and create\/destroy presenter in the onCreate\/onDestroy of login fragment. But I don't want to make a fragment for every activity.\\n\\nIs there a better solution?\", 'body_is_trimmed': False, 'score': 22, 'over_18': False, 'num_comments': 28, 'created_utc': '1432698761'}"}
{"id":"799635","text":"Title: Tip: Fix for crash after locking Mac remotely\nThe text below was posted in an online community called MacOS in the year 2016:\n\nIf you get stuck in MacOS Utilities after locking your Mac from Find my iPhone (my error was about a key not being set for HomePage) I recommend that you try Internet Recovery by holding down command + option + daniel42@example.org. Put in the passcode you set and after you connect to the Internet, it should restore you without any losses","meta":"{'source': 'reddit_posts', 'id': '4ue9mp', 'title': 'Tip: Fix for crash after locking Mac remotely', 'author': 'amoyal', 'subreddit': 'MacOS', 'subreddit_id': '2s2gv', 'body': 'If you get stuck in MacOS Utilities after locking your Mac from Find my iPhone (my error was about a key not being set for HomePage) I recommend that you try Internet Recovery by holding down command + option + R at startup. Put in the passcode you set and after you connect to the Internet, it should restore you without any losses', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1469383959}"}
{"id":"373486","text":"Title: Fixed background while scrolling?\nThe text below was posted in an online community called webdev in the year 2013:\n\nThere's a mcdonald's ad in the middle of the site and I was wondering how they achieved that effect where the background appears and stay where it is at. Is that all CSS or some JS magic? http:\/\/www.milehighreport.com\/","meta":"{'source': 'reddit_posts', 'id': '1o308b', 'title': 'Fixed background while scrolling?', 'author': 'asianorange', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': \"There's a mcdonald's ad in the middle of the site and I was wondering how they achieved that effect where the background appears and stay where it is at. Is that all CSS or some JS magic? http:\/\/www.milehighreport.com\/\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 6, 'created_utc': 1381344857}"}
{"id":"2333615","text":"Title: NLP Question Answer Models\nThe text below was posted in an online community called LanguageTechnology in the year 2022:\n\nI'm trying to create a model that generates answers based off the question supplied by the user. I thought the question\/answer model was going to be it, only to realize that it creates answers by finding the context in an article.   \n\n  \nBut now, I'm wondering what model I should look for or if it's even possible to create one that can learn and generalize my answers based on different questions.","meta":"{'source': 'reddit_posts', 'id': 'vfmk9x', 'title': 'NLP Question Answer Models', 'author': 'thec0okierebel', 'subreddit': 'LanguageTechnology', 'subreddit_id': '2rkr2', 'body': \"I'm trying to create a model that generates answers based off the question supplied by the user. I thought the question\/answer model was going to be it, only to realize that it creates answers by finding the context in an article.   \\n\\n  \\nBut now, I'm wondering what model I should look for or if it's even possible to create one that can learn and generalize my answers based on different questions.\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 5, 'created_utc': 1655610451}"}
{"id":"1881732","text":"Title: Anyone here attending the GDC in Cologne next week?\nThe text below was posted in an online community called gamedev in the year 2011:\n\nIt's my first time attending, would be great to say hello to a few friendly redditors whilst there...","meta":"{'source': 'reddit_posts', 'id': 'jcd55', 'title': 'Anyone here attending the GDC in Cologne next week?', 'author': 'JJHMUSIC', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': \"It's my first time attending, would be great to say hello to a few friendly redditors whilst there...\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 11, 'created_utc': 1312809526}"}
{"id":"1127570","text":"Title: Do you think it would be a better business decision for Apple to maintain their Macbook Air line separately from the Pro line or is the rumored convergence the optimal way for them to go?\nThe text below was posted in an online community called apple in the year 2012:\n\nThere has been a lot of talk over the past few months about the possibility of Apple merging the Macbook Pro and Air lines into one single line. Based on Apple's behavior, it does seem as if they fancy the idea of simplifying the experience of visiting the Apple Store.  There is almost no doubt that Apple will, in fact, release a thinner 15 inch model of the Macbook (regardless of whether it is branded as an Air or a Pro). \n     \nThe issue is, Will Apple likely be able to deliver a product that is aimed at professionals *and*  the general market at the same time or do you feel that it is necessary for them to maintain two different lines--one for pros, one for general users? The biggest area of concern being that your average user does not need all the fancy upgrades that a professional would need. Thus one could run into the issue of the general user paying more for things they won't use, the professional  user not having the options they need to get the job done because of cuts made for the general consumer, etc.","meta":"{'source': 'reddit_posts', 'id': 'qwkwj', 'title': 'Do you think it would be a better business decision for Apple to maintain their Macbook Air line separately from the Pro line or is the rumored convergence the optimal way for them to go?', 'author': 'xeltius', 'subreddit': 'apple', 'subreddit_id': '2qh1f', 'body': \"There has been a lot of talk over the past few months about the possibility of Apple merging the Macbook Pro and Air lines into one single line. Based on Apple's behavior, it does seem as if they fancy the idea of simplifying the experience of visiting the Apple Store.  There is almost no doubt that Apple will, in fact, release a thinner 15 inch model of the Macbook (regardless of whether it is branded as an Air or a Pro). \\n     \\nThe issue is, Will Apple likely be able to deliver a product that is aimed at professionals *and*  the general market at the same time or do you feel that it is necessary for them to maintain two different lines--one for pros, one for general users? The biggest area of concern being that your average user does not need all the fancy upgrades that a professional would need. Thus one could run into the issue of the general user paying more for things they won't use, the professional  user not having the options they need to get the job done because of cuts made for the general consumer, etc.\", 'body_is_trimmed': False, 'score': 10, 'over_18': False, 'num_comments': 38, 'created_utc': 1331752690}"}
{"id":"1880200","text":"Title: Need someone can explain to me why (.) can be used in record.\nThe text below was posted in an online community called haskell in the year 2019:\n\nwe have following example:\n\n    data Any = Any {getAny 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 Bool}\n    let f = Ang . getAny\n\nI know getAny is just a function from Any to Bool\n\n    let h = getAny\n    :i h888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ny -&gt; Bool\n    :i 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Any -&gt; Any\n\nMy question is why **(.)** can be used in the record **Any**\n\nwe know **(.)** can be used in **function only** as far as I know, please correct me if I'm wrong.","meta":"{'source': 'reddit_posts', 'id': 'cux6e6', 'title': 'Need someone can explain to me why (.) can be used in record.', 'author': 'ellipticcode0', 'subreddit': 'haskell', 'subreddit_id': '2qh36', 'body': \"we have following example:\\n\\n    data Any = Any {getAny :: Bool}\\n    let f = Ang . getAny\\n\\nI know getAny is just a function from Any to Bool\\n\\n    let h = getAny\\n    :i h::Any -&gt; Bool\\n    :i f::Any -&gt; Any\\n\\nMy question is why **(.)** can be used in the record **Any**\\n\\nwe know **(.)** can be used in **function only** as far as I know, please correct me if I'm wrong.\", 'body_is_trimmed': False, 'score': 17, 'over_18': False, 'num_comments': 16, 'created_utc': 1566671527}"}
{"id":"1744907","text":"Title: What is the thing inside the \"style\" in html called?\nThe text below was posted in an online community called learnprogramming in the year 2022:\n\nTake for an example:\n\n\n&lt;body style = \"background-color: #FFFFFF\"&gt;\n\nWhat is \"background-color:\" called?  I want to find more like \"text-color\" and \"font\" but don't know what they are called (are they called parameters of \"style\"?)","meta":"{'source': 'reddit_posts', 'id': 's5fklf', 'title': 'What is the thing inside the \"style\" in html called?', 'author': 'ProudCryptographer75', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'Take for an example:\\n\\n\\n&lt;body style = \"background-color: #FFFFFF\"&gt;\\n\\nWhat is \"background-color:\" called?  I want to find more like \"text-color\" and \"font\" but don\\'t know what they are called (are they called parameters of \"style\"?)', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 10, 'created_utc': 1642351031}"}
{"id":"2029528","text":"Title: What is computer science to you?\nThe text below was posted in an online community called compsci in the year 2016:\n\nWhat do you think of when you think of computer science?\n\nIm trying to get a better grip of what it is. Im pretty new to the concept but have done some programming games before Javascript.\n\nAt the moment i pretty much think of the imitation game (alan turing cracking the enigma code)","meta":"{'source': 'reddit_posts', 'id': '56ow2m', 'title': 'What is computer science to you?', 'author': 'Tebbathy', 'subreddit': 'compsci', 'subreddit_id': '2qhmr', 'body': 'What do you think of when you think of computer science?\\n\\nIm trying to get a better grip of what it is. Im pretty new to the concept but have done some programming games before Javascript.\\n\\nAt the moment i pretty much think of the imitation game (alan turing cracking the enigma code)', 'body_is_trimmed': False, 'score': 69, 'over_18': False, 'num_comments': 61, 'created_utc': 1476055073}"}
{"id":"1810032","text":"Title: Cisco Stealthwatch - Flow Sensor + ERSPAN\nThe text below was posted in an online community called networking in the year 2020:\n\nHi guys. Crossposting from \/r\/cisco \n\nWe're looking to deploy a flow sensor for our stealthwatch implementation and a physical span currently isn't possible and from the looks of it neither is an RSPAN (damn Nexus 9ks) so we're looking at an ERSPAN. \n\nDoes anyone know if the flow sensor can take this traffic? Can't find any answers one way or the other.\n\nCheers!","meta":"{'source': 'reddit_posts', 'id': 'gsfubu', 'title': 'Cisco Stealthwatch - Flow Sensor + ERSPAN', 'author': 'ultchin', 'subreddit': 'networking', 'subreddit_id': '2qkaf', 'body': \"Hi guys. Crossposting from \/r\/cisco \\n\\nWe're looking to deploy a flow sensor for our stealthwatch implementation and a physical span currently isn't possible and from the looks of it neither is an RSPAN (damn Nexus 9ks) so we're looking at an ERSPAN. \\n\\nDoes anyone know if the flow sensor can take this traffic? Can't find any answers one way or the other.\\n\\nCheers!\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 15, 'created_utc': 1590703253}"}
{"id":"875435","text":"Title: Color Tailor - A dynamic theme that uses the active website's \"primary\" color\nThe text below was posted in an online community called firefox in the year 2018:\n\nAdd-ons page: [https:\/\/addons.mozilla.org\/en-US\/firefox\/addon\/color-tailor\/](https:\/\/addons.mozilla.org\/en-US\/firefox\/addon\/color-tailor\/)\n\nSource code: [https:\/\/github.com\/dguo\/color-tailor](https:\/\/github.com\/dguo\/color-tailor)\n\nScreenshot: \n\nhttps:\/\/i.redd.it\/v8krpmthd5z11.png","meta":"{'source': 'reddit_posts', 'id': '9y9d5z', 'title': 'Color Tailor - A dynamic theme that uses the active website\\'s \"primary\" color', 'author': 'VertiGuo', 'subreddit': 'firefox', 'subreddit_id': '2qh4p', 'body': 'Add-ons page: [https:\/\/addons.mozilla.org\/en-US\/firefox\/addon\/color-tailor\/](https:\/\/addons.mozilla.org\/en-US\/firefox\/addon\/color-tailor\/)\\n\\nSource code: [https:\/\/github.com\/dguo\/color-tailor](https:\/\/github.com\/dguo\/color-tailor)\\n\\nScreenshot: \\n\\nhttps:\/\/i.redd.it\/v8krpmthd5z11.png', 'body_is_trimmed': False, 'score': 105, 'over_18': False, 'num_comments': 28, 'created_utc': 1542572305}"}
{"id":"1549390","text":"Title: why the F can we not sort playlist songs by artist?!\nThe text below was posted in an online community called apple in the year 2019:\n\nI have Apple Music and love it. Recently, my wife and I decided to create a Nostalgia Playlist, consisting of a bunch of songs from the 90s-early 2000s. It currently has over 400 songs and we still add more as we think of them.\n\nHowever, if I want to know if Ive already added a song, I have to manually look at all 400 songs to see if a song is already on there. Why in the world can I not sort these by artist to easily see if Ive added a song? Unless Im stupid, this isnt a thing on iOS. Id have to manually drag each individual song in order. Im not doing that for over 400 songs.\n\nSorry for the rant, but this aggravates the heck out of me. Am I alone in this? Does this bother anyone else? Is there a good way to submit feedback?","meta":"{'source': 'reddit_posts', 'id': 'ar4283', 'title': 'why the F can we not sort playlist songs by artist?!', 'author': 'Skiftonoid', 'subreddit': 'apple', 'subreddit_id': '2qh1f', 'body': 'I have Apple Music and love it. Recently, my wife and I decided to create a Nostalgia Playlist, consisting of a bunch of songs from the 90s-early 2000s. It currently has over 400 songs and we still add more as we think of them.\\n\\nHowever, if I want to know if Ive already added a song, I have to manually look at all 400 songs to see if a song is already on there. Why in the world can I not sort these by artist to easily see if Ive added a song? Unless Im stupid, this isnt a thing on iOS. Id have to manually drag each individual song in order. Im not doing that for over 400 songs.\\n\\nSorry for the rant, but this aggravates the heck out of me. Am I alone in this? Does this bother anyone else? Is there a good way to submit feedback?', 'body_is_trimmed': False, 'score': 43, 'over_18': False, 'num_comments': 17, 'created_utc': 1550282498}"}
{"id":"749785","text":"Title: Receiving error trying to use LSP and acess metadata\nThe text below was posted in an online community called neovim in the year 2021:\n\nThe error is as follows:\n\nhttps:\/\/preview.redd.it\/rd7anfp0b2481.png?width=2694&amp;format=png&amp;auto=webp&amp;s=694add27c890c9921b1f8aabb420d5ac27763e2e\n\nI really didn't have a complicated lua configuration, i just use [https:\/\/github.com\/williamboman\/nvim-lsp-installer](https:\/\/github.com\/williamboman\/nvim-lsp-installer) to install lsp-servers, the thing is, i can do almost anything i tested in C# with this config, i can go-to-definitions but as soon as i try to go to some metadata definition it breaks.\n\nIn my other PC running the same version of neovim i can do the very same thing but there i use coc.nvim which is roslyn based, i tried to use roslyn also with lsp and get the same behaviour, works on almost everything but fails when i try to go-to-definition in some metadata class.\n\nI already tried everything i could see, and looking after on github or other forums i didn't see this error so i don't know if it's something new or my configs somehow are messed up.\n\nI use it for rust too, and there i can see meta data definitions just fine.\n\nAnyone has a guess on what this could be?","meta":"{'source': 'reddit_posts', 'id': 'rasguv', 'title': 'Receiving error trying to use LSP and acess metadata', 'author': 'redfoggg', 'subreddit': 'neovim', 'subreddit_id': '30kix', 'body': \"The error is as follows:\\n\\nhttps:\/\/preview.redd.it\/rd7anfp0b2481.png?width=2694&amp;format=png&amp;auto=webp&amp;s=694add27c890c9921b1f8aabb420d5ac27763e2e\\n\\nI really didn't have a complicated lua configuration, i just use [https:\/\/github.com\/williamboman\/nvim-lsp-installer](https:\/\/github.com\/williamboman\/nvim-lsp-installer) to install lsp-servers, the thing is, i can do almost anything i tested in C# with this config, i can go-to-definitions but as soon as i try to go to some metadata definition it breaks.\\n\\nIn my other PC running the same version of neovim i can do the very same thing but there i use coc.nvim which is roslyn based, i tried to use roslyn also with lsp and get the same behaviour, works on almost everything but fails when i try to go-to-definition in some metadata class.\\n\\nI already tried everything i could see, and looking after on github or other forums i didn't see this error so i don't know if it's something new or my configs somehow are messed up.\\n\\nI use it for rust too, and there i can see meta data definitions just fine.\\n\\nAnyone has a guess on what this could be?\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 7, 'created_utc': 1638857749}"}
{"id":"496486","text":"Title: Help: I'm trying to create a class to use units of measure (length, mass, etc.) and am struggling to figure out the best way to implement it.\nThe text below was posted in an online community called csharp in the year 2019:\n\nI have this class library that I've been working on which allows me to use units of measure. I've created a generic class called Measurement like so:\n\n    public class Measurement&lt;T&gt;\n         where T : struct\n    {\n         public Measurement&lt;T&gt;(double number, T unit)\n         {\n              Number = number;\n              Unit = unit;\n         }\n         public double Number { get; set; }\n         public T Unit { get; set; }\n    }\n\nAnd I've been using enums to define my various units. For example:\n\n    public enum Mass\n    {\n         gram,\n         kg,\n         lbm,\n         oz,\n    }\n\nThis has been great so far because I can create a variable like this:\n\n    Measurement&lt;Mass&gt; weight = new Measurement&lt;Mass&gt;(5, Mass.lbm);\n\nI've also created a few static classes whose only purpose thus far has been to convert units. For example:\n\n    public static Measurement&lt;Mass&gt; Convert (this Measurement&lt;Mass&gt; val, Mass toUnit)\n    { \n         \/\/ Code responsible for converting the unit\n    }\n\nwhich lets me do things like:\n\n    Measurement&lt;Mass&gt; weightInGrams = weight.Convert(Mass.gram);\n\nAnd everything so far has been working great. But now I have a situation where I'd like to implement relational operators. Now I *could* create static methods for each unit of measurement that I have, but that's some serious duplication since, as of right now, I have support for 17 different types of units of measure. Moreover, all of them would basically have the same code:\n\n    public static bool operator &gt; (Measurement&lt;T&gt; m1, Measurement&lt;T&gt; m2)\n    {\n         m2 = m2.Convert(m1.Unit);\n         return m1.Number.CompareTo(m2.Number);\n    }\n\nBut here's the problem - my Measurement&lt;T&gt; class doesn't know that there are a bunch of extension methods called \"Convert\". Plus this isn't a very ideal situation anyways because there's nothing to enforce the existence of a \"Convert\" method should I create another unit type.\n\nSo how can I improve this? Should I use some form of \"abstract generic class\" or a \"generic interface\" (neither of which I've ever really dealt much with - I'm pretty new with generics) or is there are more efficient way to refactor the code? Or do I have to bite the bullet and implement the operator overrides for each possible value of T manually?","meta":"{'source': 'reddit_posts', 'id': 'eblp6g', 'title': \"Help: I'm trying to create a class to use units of measure (length, mass, etc.) and am struggling to figure out the best way to implement it.\", 'author': 'jradio610', 'subreddit': 'csharp', 'subreddit_id': '2qhdf', 'body': 'I have this class library that I\\'ve been working on which allows me to use units of measure. I\\'ve created a generic class called Measurement like so:\\n\\n    public class Measurement&lt;T&gt;\\n         where T : struct\\n    {\\n         public Measurement&lt;T&gt;(double number, T unit)\\n         {\\n              Number = number;\\n              Unit = unit;\\n         }\\n         public double Number { get; set; }\\n         public T Unit { get; set; }\\n    }\\n\\nAnd I\\'ve been using enums to define my various units. For example:\\n\\n    public enum Mass\\n    {\\n         gram,\\n         kg,\\n         lbm,\\n         oz,\\n    }\\n\\nThis has been great so far because I can create a variable like this:\\n\\n    Measurement&lt;Mass&gt; weight = new Measurement&lt;Mass&gt;(5, Mass.lbm);\\n\\nI\\'ve also created a few static classes whose only purpose thus far has been to convert units. For example:\\n\\n    public static Measurement&lt;Mass&gt; Convert (this Measurement&lt;Mass&gt; val, Mass toUnit)\\n    { \\n         \/\/ Code responsible for converting the unit\\n    }\\n\\nwhich lets me do things like:\\n\\n    Measurement&lt;Mass&gt; weightInGrams = weight.Convert(Mass.gram);\\n\\nAnd everything so far has been working great. But now I have a situation where I\\'d like to implement relational operators. Now I *could* create static methods for each unit of measurement that I have, but that\\'s some serious duplication since, as of right now, I have support for 17 different types of units of measure. Moreover, all of them would basically have the same code:\\n\\n    public static bool operator &gt; (Measurement&lt;T&gt; m1, Measurement&lt;T&gt; m2)\\n    {\\n         m2 = m2.Convert(m1.Unit);\\n         return m1.Number.CompareTo(m2.Number);\\n    }\\n\\nBut here\\'s the problem - my Measurement&lt;T&gt; class doesn\\'t know that there are a bunch of extension methods called \"Convert\". Plus this isn\\'t a very ideal situation anyways because there\\'s nothing to enforce the existence of a \"Convert\" method should I create another unit type.\\n\\nSo how can I improve this? Should I use some form of \"abstract generic class\" or a \"generic interface\" (neither of which I\\'ve ever really dealt much with - I\\'m pretty new with generics) or is there are more efficient way to refactor the code? Or do I have to bite the bullet and implement the operator overrides for each possible value of T manually?', 'body_is_trimmed': False, 'score': 9, 'over_18': False, 'num_comments': 7, 'created_utc': 1576532663}"}
{"id":"182586","text":"Title: Cluster Analysis for Customer Segmentation\nThe text below was posted in an online community called datascience in the year 2021:\n\nWhat do you think about a cluster analysis to segment customers? I feel like a manual segmentation is often times better, especially when it comes to more personalized marketing. \n\nI think that clustering makes sense when there are distinct groups in the population. However, I think that these groups can easily be identified by EDA (finding thresholds of certain variables) in most cases. There is a possibility for identifying relevant groups only through cluster analysis, but I think that a) those cases are rare and b) the identified clusters are more complex and not suitable for a segmentation with the objective of a more personalized communication.\n\nDoes anybody have a success story where unsupervised clustering led to a customer segmentation that offered a business value (e.g. because of more personalized communication)? I am struggling to imagine a scenario where unsupervised clustering comes up with better clusters for personalized communications compared to manually building clusters by thresholds\/criteria for clusters.","meta":"{'source': 'reddit_posts', 'id': 'nzkpwk', 'title': 'Cluster Analysis for Customer Segmentation', 'author': 'tstr2609', 'subreddit': 'datascience', 'subreddit_id': '2sptq', 'body': 'What do you think about a cluster analysis to segment customers? I feel like a manual segmentation is often times better, especially when it comes to more personalized marketing. \\n\\nI think that clustering makes sense when there are distinct groups in the population. However, I think that these groups can easily be identified by EDA (finding thresholds of certain variables) in most cases. There is a possibility for identifying relevant groups only through cluster analysis, but I think that a) those cases are rare and b) the identified clusters are more complex and not suitable for a segmentation with the objective of a more personalized communication.\\n\\nDoes anybody have a success story where unsupervised clustering led to a customer segmentation that offered a business value (e.g. because of more personalized communication)? I am struggling to imagine a scenario where unsupervised clustering comes up with better clusters for personalized communications compared to manually building clusters by thresholds\/criteria for clusters.', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 10, 'created_utc': 1623670304}"}
{"id":"2382035","text":"Title: Is choosing Linux even a good idea based on my \nneeds, computer specs and programming knowledge?\nThe text below was posted in an online community called linux4noobs in the year 2012:\n\nI'm taking the full advantage of this subreddit's name and I'm going to be a complete noob of a person.\n\nI got recommened to run a lightweight linux on my computer, which is, apparently, going to make my life better by running smoother and faster, but I'm not sure whether it's a good idea. My computer specs are:\n\n* (CPU1) Intel Pentium 4 CPU 2.40GHz @ 2388MHz (Compaq 0818h mainboard) \n* (RAM) 1GB, (HDDs) 74.5GB\n* (VGA1) RADEON IGP 34xM w\/OpenGL(MS-XDDM) (32MB), 1024x768x16, 75Hz \n* (OS) Microsoft Windows XP Professional (SP3)\n\nI don't use computer very widely, i'm focused on my set of programs, which consists of a browser - Opera, Winamp, Word\/Notepad, Adobe creative suite (mainly Photoshop\/Illustrator), IRC, Skype, Anki, and occasionally VLC and one old game. That's it. \n\nNow, here's where I was getting a little lost and need bit help answering my questions...I'm assuming all programs I use (or alternatives) could easily be used on a linux? \nWhich linux to choose, that my computer is going to be quick enough for? (there are so many...) I was thinking about Peppermint OS, is that one alright, or maybe go for regular lubuntu or maybe Mint? \nAre there any problems with setting wireless connection in Linux?\nHow much programming language must I know? I know none, at this moment and I'm willing to learn. Is there good software for learning programming on linux, or is windows better for a beginner?\n\nI apologise for being so clueless. I did search around on google and on this subreddit, a bit, but I would much rather have direct answers to my own problems and questions.\n\nThank you for your help!","meta":"{'source': 'reddit_posts', 'id': '11yyjh', 'title': 'Is choosing Linux even a good idea based on my \\nneeds, computer specs and programming knowledge?', 'author': 'FEMANON_HERE', 'subreddit': 'linux4noobs', 'subreddit_id': '2qy7t', 'body': \"I'm taking the full advantage of this subreddit's name and I'm going to be a complete noob of a person.\\n\\nI got recommened to run a lightweight linux on my computer, which is, apparently, going to make my life better by running smoother and faster, but I'm not sure whether it's a good idea. My computer specs are:\\n\\n* (CPU1) Intel Pentium 4 CPU 2.40GHz @ 2388MHz (Compaq 0818h mainboard) \\n* (RAM) 1GB, (HDDs) 74.5GB\\n* (VGA1) RADEON IGP 34xM w\/OpenGL(MS-XDDM) (32MB), 1024x768x16, 75Hz \\n* (OS) Microsoft Windows XP Professional (SP3)\\n\\nI don't use computer very widely, i'm focused on my set of programs, which consists of a browser - Opera, Winamp, Word\/Notepad, Adobe creative suite (mainly Photoshop\/Illustrator), IRC, Skype, Anki, and occasionally VLC and one old game. That's it. \\n\\nNow, here's where I was getting a little lost and need bit help answering my questions...I'm assuming all programs I use (or alternatives) could easily be used on a linux? \\nWhich linux to choose, that my computer is going to be quick enough for? (there are so many...) I was thinking about Peppermint OS, is that one alright, or maybe go for regular lubuntu or maybe Mint? \\nAre there any problems with setting wireless connection in Linux?\\nHow much programming language must I know? I know none, at this moment and I'm willing to learn. Is there good software for learning programming on linux, or is windows better for a beginner?\\n\\nI apologise for being so clueless. I did search around on google and on this subreddit, a bit, but I would much rather have direct answers to my own problems and questions.\\n\\nThank you for your help!\", 'body_is_trimmed': False, 'score': 13, 'over_18': False, 'num_comments': 40, 'created_utc': 1351030007}"}
{"id":"1291755","text":"Title: Proton redesign: Will I be able to disable it?\nThe text below was posted in an online community called firefox in the year 2021:\n\nEverything I've seen and read about this update doesn't sit right with me. \n\n* No icons in hamburger menu? Why? They make it easy to identify items.\n* No icon for when a site is playing? Again.. why?\n* Non standard tab bar that looks out of place on every single OS\n* Tabs that are part of the window frame.. I don't want it.\n* Massive white space between entries in hamburger menu\n* Why is literally every year full of questionable design decisions?\n\nI am a bit out of the loop though as I'm not aware if this design is optional. (Please, let it be.)","meta":"{'source': 'reddit_posts', 'id': 'mxgc0t', 'title': 'Proton redesign: Will I be able to disable it?', 'author': 'you_knucklehead', 'subreddit': 'firefox', 'subreddit_id': '2qh4p', 'body': \"Everything I've seen and read about this update doesn't sit right with me. \\n\\n* No icons in hamburger menu? Why? They make it easy to identify items.\\n* No icon for when a site is playing? Again.. why?\\n* Non standard tab bar that looks out of place on every single OS\\n* Tabs that are part of the window frame.. I don't want it.\\n* Massive white space between entries in hamburger menu\\n* Why is literally every year full of questionable design decisions?\\n\\nI am a bit out of the loop though as I'm not aware if this design is optional. (Please, let it be.)\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 23, 'created_utc': 1619255574}"}
{"id":"708131","text":"Title: Issue with simple em dash keystroke\nThe text below was posted in an online community called AutoHotkey in the year 2021:\n\nI am very new to this and having trouble just making an em dash keystroke work. I followed two guides online with sample code and neither are working for me. I would like Alt+Minus to print an em dash: \n\n     !-888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4\n     return\n\nI would think that would work but it is not. Am I doing something markedly stupid? or is there some other issue with how I am running the script? I am just right clicking on the taskbar icon and clicking \"Reload\" the script, and it doesn't seem to work. Any help would be appreciated!","meta":"{'source': 'reddit_posts', 'id': 'p7q3ys', 'title': 'Issue with simple em dash keystroke', 'author': 'GeneriksGiraffe', 'subreddit': 'AutoHotkey', 'subreddit_id': '2rodl', 'body': 'I am very new to this and having trouble just making an em dash keystroke work. I followed two guides online with sample code and neither are working for me. I would like Alt+Minus to print an em dash: \\n\\n     !-::\\n     return\\n\\nI would think that would work but it is not. Am I doing something markedly stupid? or is there some other issue with how I am running the script? I am just right clicking on the taskbar icon and clicking \"Reload\" the script, and it doesn\\'t seem to work. Any help would be appreciated!', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 5, 'created_utc': 1629415122}"}
{"id":"1871605","text":"Title: Making code readable: tell me why nesting is bad\nThe text below was posted in an online community called learnpython in the year 2016:\n\nI've coded for quite a few years now, but I've never really settled on any one coding style. It seems like there's new styles popping up all the time, and what was the norm in 2006 is laughed off the stage in 2016. Which to me seems rather weird: has software development really improved *that much* lately?\n\nOne of the things I've had hammered into my brain is that *flat is beautiful*.\n\nI get some of the pros: it's very hard to stay at a 80 (or 79) character width if you nest too much, and it makes sharing functions more awkward (something that is important considering the push for pure functions, which I very much agree with).\n\nBut I've found that flat code is much harder to read and understand.\n\nMost problems that I stumble upon are solved by spliting a task up into smaller tasks, and solving these smaller tasks. The inputs and outputs of each task is handled by glue code.\n\nBut I've found that when I'm coding, the vast majority of functions that I create are only called from a single other function - and they're often called once.\n\nThat is, I very often have say a triple of functions `a`, `b` and `c`, where `b` and `c` are only ever called by `a`, and they're only called once from `a`. So, if `a` is called x times, so is `b` and `c`.\n\nUsing a flat structure means that we're supposed to write them as\n\n    def b():\n        return 42\n\n    def c():\n        return 3\n\n    def a():\n        return b() + c()\n\n...instead of\n\n    def a():\n        def b():\n            return 42\n\n        def c():\n            return 3\n        return b() + c()\n\nUsing the flat structure, we wouldn't know that b and c is related to a unless we read the content of a(). With the nested structure, we have signaled that b and c are to be used by a, and they're not really supposed to be called by a.\n\nOf course, in this contrieved example we might refactor the above as\n\ndef a():\n    return 42 + 3\n\nbut we wouldn't do that for two reasons:\n    \n* b and c might be very long, and this would make a too long (this is of course ignoring the problem that the nested structure makes a much longer, but that can be argued about from other angles)\n        \n* Since we use function names to show intent, we couldn't lose `a` and `b` without adding comments, and the modern day convention is to mainly use function names instead of comments to show intent (something I agree with).\n\nWhen it comes to the problem of generalization: if we wanted to say call `b` from another function (that isn't `a`, `b` or `c`), we would re-factor it into\n\n    def b():\n        return 42\n\n    def a():\n        def c():\n            return 3\n        return b() + c()\n\nThe generalization argument makes a lot of sense. But the vast, vast majority of functions aren't general: they're about handling special cases! As is the case with our `b` and `c`, they're not general functions and thus the generalization argument doesn't hold. They have no value outside of `a`.\n\nThe argument for shorter-functions-are-better even better drives this point: when you previously had a single generalized 40-line function, you now have one 4-line function (which is just as generalized as before) calling out to 20 other functions, most of which are of no interest to the rest of the logic.\n\ntl;dr: explicit is better than implicit. Nesting adds explicit information that can't be found in a flat structure, so we should use function nesting. This is compounded by the fact that we now tend to use more non-generalized functions than ever before.\n\nEDIT: In Python, the inner functions `b` and `c` would only exist when `a` is called, which is problematic as many have mentioned (making it very hard to test, for example). There's also the problem that `b` and `c` might be seen as closures (which is what I think most people use nested python functions for today). As such, what I'm saying isn't really applicable to Python, but it might be applicable to another language.","meta":"{'source': 'reddit_posts', 'id': '4mn9yf', 'title': 'Making code readable: tell me why nesting is bad', 'author': 'Ran4', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': \"I've coded for quite a few years now, but I've never really settled on any one coding style. It seems like there's new styles popping up all the time, and what was the norm in 2006 is laughed off the stage in 2016. Which to me seems rather weird: has software development really improved *that much* lately?\\n\\nOne of the things I've had hammered into my brain is that *flat is beautiful*.\\n\\nI get some of the pros: it's very hard to stay at a 80 (or 79) character width if you nest too much, and it makes sharing functions more awkward (something that is important considering the push for pure functions, which I very much agree with).\\n\\nBut I've found that flat code is much harder to read and understand.\\n\\nMost problems that I stumble upon are solved by spliting a task up into smaller tasks, and solving these smaller tasks. The inputs and outputs of each task is handled by glue code.\\n\\nBut I've found that when I'm coding, the vast majority of functions that I create are only called from a single other function - and they're often called once.\\n\\nThat is, I very often have say a triple of functions `a`, `b` and `c`, where `b` and `c` are only ever called by `a`, and they're only called once from `a`. So, if `a` is called x times, so is `b` and `c`.\\n\\nUsing a flat structure means that we're supposed to write them as\\n\\n    def b():\\n        return 42\\n\\n    def c():\\n        return 3\\n\\n    def a():\\n        return b() + c()\\n\\n...instead of\\n\\n    def a():\\n        def b():\\n            return 42\\n\\n        def c():\\n            return 3\\n        return b() + c()\\n\\nUsing the flat structure, we wouldn't know that b and c is related to a unless we read the content of a(). With the nested structure, we have signaled that b and c are to be used by a, and they're not really supposed to be called by a.\\n\\nOf course, in this contrieved example we might refactor the above as\\n\\ndef a():\\n    return 42 + 3\\n\\nbut we wouldn't do that for two reasons:\\n    \\n* b and c might be very long, and this would make a too long (this is of course ignoring the problem that the nested structure makes a much longer, but that can be argued about from other angles)\\n        \\n* Since we use function names to show intent, we couldn't lose `a` and `b` without adding comments, and the modern day convention is to mainly use function names instead of comments to show intent (something I agree with).\\n\\nWhen it comes to the problem of generalization: if we wanted to say call `b` from another function (that isn't `a`, `b` or `c`), we would re-factor it into\\n\\n    def b():\\n        return 42\\n\\n    def a():\\n        def c():\\n            return 3\\n        return b() + c()\\n\\nThe generalization argument makes a lot of sense. But the vast, vast majority of functions aren't general: they're about handling special cases! As is the case with our `b` and `c`, they're not general functions and thus the generalization argument doesn't hold. They have no value outside of `a`.\\n\\nThe argument for shorter-functions-are-better even better drives this point: when you previously had a single generalized 40-line function, you now have one 4-line function (which is just as generalized as before) calling out to 20 other functions, most of which are of no interest to the rest of the logic.\\n\\ntl;dr: explicit is better than implicit. Nesting adds explicit information that can't be found in a flat structure, so we should use function nesting. This is compounded by the fact that we now tend to use more non-generalized functions than ever before.\\n\\nEDIT: In Python, the inner functions `b` and `c` would only exist when `a` is called, which is problematic as many have mentioned (making it very hard to test, for example). There's also the problem that `b` and `c` might be seen as closures (which is what I think most people use nested python functions for today). As such, what I'm saying isn't really applicable to Python, but it might be applicable to another language.\", 'body_is_trimmed': False, 'score': 31, 'over_18': False, 'num_comments': 20, 'created_utc': 1465131553}"}
{"id":"2275900","text":"Title: Steam Engines not working properly\nThe text below was posted in an online community called factorio in the year 2016:\n\nhttp:\/\/imgur.com\/a\/BYdd0 I have set up a grid of steam engines but none of them are working at full performance and only 4\/7 of my boilers are working. Does anyone know why? All of the engines and boilers nharris@example.com C, but with low performance","meta":"{'source': 'reddit_posts', 'id': '58cksy', 'title': 'Steam Engines not working properly', 'author': 'FactorioIsCracktorio', 'subreddit': 'factorio', 'subreddit_id': '2wabp', 'body': 'http:\/\/imgur.com\/a\/BYdd0 I have set up a grid of steam engines but none of them are working at full performance and only 4\/7 of my boilers are working. Does anyone know why? All of the engines and boilers are at 100.0 C, but with low performance', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 9, 'created_utc': 1476908697}"}
{"id":"312114","text":"Title: Reading Learning Python by Mark Lutz, outdated?\nThe text below was posted in an online community called learnpython in the year 2022:\n\nReading the following book:  \n\n\nLearning Python by Mark Lutz (written \\~2013) . It covers stuff for 2.x and 3.x, however, I am wondering if it's outdated? I'm more so concerned about the changes from early\/begining 3.x to now? \n\n&amp;#x200B;\n\nI work as a data analyst and I was wondering if there were any changes that may apply to someone who doesn't do any SWD.","meta":"{'source': 'reddit_posts', 'id': 'rup1wv', 'title': 'Reading Learning Python by Mark Lutz, outdated?', 'author': 'Lacayo44', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': \"Reading the following book:  \\n\\n\\nLearning Python by Mark Lutz (written \\\\~2013) . It covers stuff for 2.x and 3.x, however, I am wondering if it's outdated? I'm more so concerned about the changes from early\/begining 3.x to now? \\n\\n&amp;#x200B;\\n\\nI work as a data analyst and I was wondering if there were any changes that may apply to someone who doesn't do any SWD.\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 5, 'created_utc': 1641172787}"}
{"id":"937376","text":"Title: Self taught web devs. What's your story?\nThe text below was posted in an online community called webdev in the year 2022:\n\nBy self taught I mean anyone who didn't go to college or bootcamp. If you did go to college or bootcamp and still want to share that's fine just please specify that in your comment.","meta":"{'source': 'reddit_posts', 'id': 'ux5qzf', 'title': \"Self taught web devs. What's your story?\", 'author': 'MCButterFuck', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': \"By self taught I mean anyone who didn't go to college or bootcamp. If you did go to college or bootcamp and still want to share that's fine just please specify that in your comment.\", 'body_is_trimmed': False, 'score': 94, 'over_18': False, 'num_comments': 171, 'created_utc': 1653440559}"}
{"id":"1740489","text":"Title: Feel stuck at my internship.\nThe text below was posted in an online community called webdev in the year 2021:\n\nSo I recently joined a web development internship.. I really like doing web development or being a developer per se. However, I have had a very inconsistent relationship with coding. So now I cant help but feel undermined at this internship since there are so many languages being used on different projects. I learnt python I learnt JS I learnt HTML and CSS but they were so long ago that I've sort of forgotten how the first two languages work. I am only proficient with HTML and CSS which is because I recently only started practicing on projects of it which I still suck at as well. Now I am at a place where I am completely demotivated because I constantly feel stuck at my internship and think of giving up on my dream of being an actual proper developer. \n\nI am looking for anyone to share their experiences when they started working so I can make myself understand that this might be normal and it will get better with time. Also, if there are any resources where I could improve my skills please do share.\n\nThanks.","meta":"{'source': 'reddit_posts', 'id': 'pvdn0m', 'title': 'Feel stuck at my internship.', 'author': '123parkar', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': \"So I recently joined a web development internship.. I really like doing web development or being a developer per se. However, I have had a very inconsistent relationship with coding. So now I cant help but feel undermined at this internship since there are so many languages being used on different projects. I learnt python I learnt JS I learnt HTML and CSS but they were so long ago that I've sort of forgotten how the first two languages work. I am only proficient with HTML and CSS which is because I recently only started practicing on projects of it which I still suck at as well. Now I am at a place where I am completely demotivated because I constantly feel stuck at my internship and think of giving up on my dream of being an actual proper developer. \\n\\nI am looking for anyone to share their experiences when they started working so I can make myself understand that this might be normal and it will get better with time. Also, if there are any resources where I could improve my skills please do share.\\n\\nThanks.\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 13, 'created_utc': 1632597694}"}
{"id":"317964","text":"Title: \"Senior\" level dev feeling stuck in current job\nThe text below was posted in an online community called cscareerquestions in the year 2022:\n\nHi All!\n\nI am a \"Senior\" level software developer (I put senior in air quotes because about 8 years experience in the field) who works for an aerospace\/defense government contractor. I have worked exclusively in the aerospace\/defense sector my entire career and am looking into software dev\/engineering roles outside of that sector. I have been with my current employer for 4 years. \n\nMy current role is mostly in software maintenance where I am tasked with investigating\/fixing software issues found during test and integration. My team's software product is a simulator that uses a mix of Java, C++, python, and ADA. Unfortunately the code I touch the most is ADA. In addition, code fixes are often small changes that do not require designing new algorithms or writing large amounts of new code. Basically, I write less than 100 lines of code per month, often times way less, but I read a lot of code. \n\nMy dilemma is that my current job hasn't really allowed me to grow as a developer and I am feeling like my skills are far below what they should be for someone who has 8 years experience. This is especially apparent to me when I go to websites like Leetcode to practice interview questions in c++\/Java\/python. I feel I barely know where to begin the problem and end up googling the solution to at least read thru the code to better understand how to go about similar problems. I then feel guilty because I couldn't come up with the solution because I should know how to code!! \n\nBecause of this, my confidence in my coding ability is abysmal. I am deathly afraid of applying to new jobs because of the technical interview. The last job interview I had was about a year or so ago where I was asked to write a hash map. I completely froze up, didn't write a single line of code and after about 15 minutes the interviewer decided to end the interview. I've never felt lower about my professional self than I did after that interview. \n\nI have been seeing a therapist about the anxiety I have surrounding job interviews for about a year and feel that it has been helping but I still need to tackle the problem of being capable of coding under pressure. \n\nI feel like I am starting at square 1 skill wise and finding a job in the pay range I would require (140k minimum) is an impossible task outside of the government contracting space. The interview for the job I have now was an hour long where I was only asked about my previous job, nothing technical and was hired most likely based on my active security clearance. The previous job I had I started as an intern and was hired on full time after graduating, no interview. I have been offered a job that required a technical interview. \n\nI feel incredibly stuck and don't know where to start to get my coding skills up to par to be a serious candidate for jobs that I would be eligible for. I would really appreciate any insight or suggestions. \n\nTLDR; I feel like a fraud because my job title is software developer, I barely write any code at work because there isn't much opportunity to do so, and I want to practice my skills to get a better job outside of the industry I work in now.\n\nEdit: wanted to add, I am looking to get out of the DoD\/cleared software space and into a development role that offers more flexibility. I think my skills are primarily in backend development but I am open to anything.","meta":"{'source': 'reddit_posts', 'id': 'xklrm6', 'title': '\"Senior\" level dev feeling stuck in current job', 'author': 'djalphaboost', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': 'Hi All!\\n\\nI am a \"Senior\" level software developer (I put senior in air quotes because about 8 years experience in the field) who works for an aerospace\/defense government contractor. I have worked exclusively in the aerospace\/defense sector my entire career and am looking into software dev\/engineering roles outside of that sector. I have been with my current employer for 4 years. \\n\\nMy current role is mostly in software maintenance where I am tasked with investigating\/fixing software issues found during test and integration. My team\\'s software product is a simulator that uses a mix of Java, C++, python, and ADA. Unfortunately the code I touch the most is ADA. In addition, code fixes are often small changes that do not require designing new algorithms or writing large amounts of new code. Basically, I write less than 100 lines of code per month, often times way less, but I read a lot of code. \\n\\nMy dilemma is that my current job hasn\\'t really allowed me to grow as a developer and I am feeling like my skills are far below what they should be for someone who has 8 years experience. This is especially apparent to me when I go to websites like Leetcode to practice interview questions in c++\/Java\/python. I feel I barely know where to begin the problem and end up googling the solution to at least read thru the code to better understand how to go about similar problems. I then feel guilty because I couldn\\'t come up with the solution because I should know how to code!! \\n\\nBecause of this, my confidence in my coding ability is abysmal. I am deathly afraid of applying to new jobs because of the technical interview. The last job interview I had was about a year or so ago where I was asked to write a hash map. I completely froze up, didn\\'t write a single line of code and after about 15 minutes the interviewer decided to end the interview. I\\'ve never felt lower about my professional self than I did after that interview. \\n\\nI have been seeing a therapist about the anxiety I have surrounding job interviews for about a year and feel that it has been helping but I still need to tackle the problem of being capable of coding under pressure. \\n\\nI feel like I am starting at square 1 skill wise and finding a job in the pay range I would require (140k minimum) is an impossible task outside of the government contracting space. The interview for the job I have now was an hour long where I was only asked about my previous job, nothing technical and was hired most likely based on my active security clearance. The previous job I had I started as an intern and was hired on full time after graduating, no interview. I have been offered a job that required a technical interview. \\n\\nI feel incredibly stuck and don\\'t know where to start to get my coding skills up to par to be a serious candidate for jobs that I would be eligible for. I would really appreciate any insight or suggestions. \\n\\nTLDR; I feel like a fraud because my job title is software developer, I barely write any code at work because there isn\\'t much opportunity to do so, and I want to practice my skills to get a better job outside of the industry I work in now.\\n\\nEdit: wanted to add, I am looking to get out of the DoD\/cleared software space and into a development role that offers more flexibility. I think my skills are primarily in backend development but I am open to anything.', 'body_is_trimmed': False, 'score': 25, 'over_18': False, 'num_comments': 23, 'created_utc': 1663805758}"}
{"id":"1763213","text":"Title: Any experiences with splitting template rendering and API into separate servers?\nThe text below was posted in an online community called webdev in the year 2020:\n\nI thought of something like this\n\n&amp;#x200B;\n\n[diagram](https:\/\/preview.redd.it\/ra2tno5vfr761.jpg?width=1071&amp;format=pjpg&amp;auto=webp&amp;s=f367505e1146bb40f86846db3f3dd4309dd98447)\n\nHas anyone done something similar? Please share your experience","meta":"{'source': 'reddit_posts', 'id': 'kl6xnv', 'title': 'Any experiences with splitting template rendering and API into separate servers?', 'author': 'foraskingdumbstuff', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': 'I thought of something like this\\n\\n&amp;#x200B;\\n\\n[diagram](https:\/\/preview.redd.it\/ra2tno5vfr761.jpg?width=1071&amp;format=pjpg&amp;auto=webp&amp;s=f367505e1146bb40f86846db3f3dd4309dd98447)\\n\\nHas anyone done something similar? Please share your experience', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1609088262}"}
{"id":"844457","text":"Title: Unopinionated Angular Toolbox release for Angular 5\nThe text below was posted in an online community called Angular2 in the year 2017:\n\nJust a quick release for my library,[Unopinionated Angular Toolbox](https:\/\/github.com\/tme321\/Unopinionated-Angular), that updates it to Angular 5.\n\nAs always the point of this library is components that are specifically not johnsoncarrie@example.org.  The css is only concerned with internal layout and leaves all the style concerns up to the developer using the components.\n\nThe [npm package](https:\/\/www.npmjs.com\/package\/unopinionated-angular-toolbox) has also been updated.\n\nAs of now I've done very little testing of the new package so if there are any issues let me know.\n\nThis release has also seen the library move from a custom setup to using [ng-packagr](https:\/\/github.com\/dherges\/ng-packagr).  So far I've been extremely happy with it and would recommend it to anyone looking to make their own angular libraries.\n\nThe [documentation](https:\/\/tme321.github.io\/Unopinionated-Angular\/) is done with [compodoc](https:\/\/github.com\/compodoc\/compodoc); another tool for angular code bases that I highly recommend.\n\nI have a couple of items on my todo list for this library.  I need to change the sliding panel animation from an actual width\/height change to a scale x\/y animation.  I'm considering redoing the css class names.  And I'd like to get the drag and drop component into a state I feel comfortable releasing.\n\nAny questions or comments?","meta":"{'source': 'reddit_posts', 'id': '7e5y6d', 'title': 'Unopinionated Angular Toolbox release for Angular 5', 'author': 'tme321', 'subreddit': 'Angular2', 'subreddit_id': '36qrt', 'body': \"Just a quick release for my library,[Unopinionated Angular Toolbox](https:\/\/github.com\/tme321\/Unopinionated-Angular), that updates it to Angular 5.\\n\\nAs always the point of this library is components that are specifically not styled at all.  The css is only concerned with internal layout and leaves all the style concerns up to the developer using the components.\\n\\nThe [npm package](https:\/\/www.npmjs.com\/package\/unopinionated-angular-toolbox) has also been updated.\\n\\nAs of now I've done very little testing of the new package so if there are any issues let me know.\\n\\nThis release has also seen the library move from a custom setup to using [ng-packagr](https:\/\/github.com\/dherges\/ng-packagr).  So far I've been extremely happy with it and would recommend it to anyone looking to make their own angular libraries.\\n\\nThe [documentation](https:\/\/tme321.github.io\/Unopinionated-Angular\/) is done with [compodoc](https:\/\/github.com\/compodoc\/compodoc); another tool for angular code bases that I highly recommend.\\n\\nI have a couple of items on my todo list for this library.  I need to change the sliding panel animation from an actual width\/height change to a scale x\/y animation.  I'm considering redoing the css class names.  And I'd like to get the drag and drop component into a state I feel comfortable releasing.\\n\\nAny questions or comments?\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 2, 'created_utc': 1511148446}"}
{"id":"991386","text":"Title: What are the language features you miss the most?\nThe text below was posted in an online community called ProgrammingLanguages in the year 2020:\n\nPiggybacking a bit off the favorite languages post, not necessarily your favorite feature, but what features do you end up missing when you're writing in another language?\n\nI imagine a lot of people will say things like ADTs and pattern matching, but I've had to write a bit of JavaScript recently and one of the things that immediately stuck out to me was the lack of tuples and checks for numbers of arguments passed.","meta":"{'source': 'reddit_posts', 'id': 'fcr6dd', 'title': 'What are the language features you miss the most?', 'author': 'Hofstee', 'subreddit': 'ProgrammingLanguages', 'subreddit_id': '2qi8m', 'body': \"Piggybacking a bit off the favorite languages post, not necessarily your favorite feature, but what features do you end up missing when you're writing in another language?\\n\\nI imagine a lot of people will say things like ADTs and pattern matching, but I've had to write a bit of JavaScript recently and one of the things that immediately stuck out to me was the lack of tuples and checks for numbers of arguments passed.\", 'body_is_trimmed': False, 'score': 58, 'over_18': False, 'num_comments': 231, 'created_utc': 1583220834}"}
{"id":"800635","text":"Title: Scrolling on Ubuntu 18.04.2 (GNOME 3.28.2)\nThe text below was posted in an online community called linuxquestions in the year 2019:\n\nSo I come from Windows, specifically talking about firefox although this issue is pretty general, just firefox is where is the most noticeable. The thing is that scrolling in Firefox on windows is extremely smooth and it covers much more space while on ubuntu I need much more scrolls to get down pages and it looks weird, like it definetly hasn't got the smoothness of windows (I'm not sure how to describe it) I'm running Ubuntu on a ssd and my PC specs are just way more powerful than the minimum just in case you may need any info.\n\nDoes anyone have any idea of how to make it look better, smoother and\/or at least make the scrolls cover more distance? Appreciate the help, thanks!\n\nEdit: Updating my Nvidia Drivers to its latest reduced this \"tearing\" problem a lot although it still happens","meta":"{'source': 'reddit_posts', 'id': 'aq6etm', 'title': 'Scrolling on Ubuntu 18.04.2 (GNOME 3.28.2)', 'author': 'meiben', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': 'So I come from Windows, specifically talking about firefox although this issue is pretty general, just firefox is where is the most noticeable. The thing is that scrolling in Firefox on windows is extremely smooth and it covers much more space while on ubuntu I need much more scrolls to get down pages and it looks weird, like it definetly hasn\\'t got the smoothness of windows (I\\'m not sure how to describe it) I\\'m running Ubuntu on a ssd and my PC specs are just way more powerful than the minimum just in case you may need any info.\\n\\nDoes anyone have any idea of how to make it look better, smoother and\/or at least make the scrolls cover more distance? Appreciate the help, thanks!\\n\\nEdit: Updating my Nvidia Drivers to its latest reduced this \"tearing\" problem a lot although it still happens', 'body_is_trimmed': False, 'score': 18, 'over_18': False, 'num_comments': 14, 'created_utc': 1550063306}"}
{"id":"2183676","text":"Title: Did any of you work for a startup out of college instead of a large company? What was your experience like?\nThe text below was posted in an online community called cscareerquestions in the year 2017:\n\nEither small startups like 1 - 10 people. Growing startups like 11 - 50. Or established ones like 50 - 200? How was your time there, and how long did you stay, or are you there now? Also, why did you leave and how is your career progression so far?","meta":"{'source': 'reddit_posts', 'id': '7bqyl8', 'title': 'Did any of you work for a startup out of college instead of a large company? What was your experience like?', 'author': 'TheWeebles', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': 'Either small startups like 1 - 10 people. Growing startups like 11 - 50. Or established ones like 50 - 200? How was your time there, and how long did you stay, or are you there now? Also, why did you leave and how is your career progression so far?', 'body_is_trimmed': False, 'score': 24, 'over_18': False, 'num_comments': 14, 'created_utc': 1510200740}"}
{"id":"509827","text":"Title: Cannot get Deluge to download torrents. Any suggestions?\nThe text below was posted in an online community called linux4noobs in the year 2019:\n\nI'm following [this](https:\/\/www.howtogeek.com\/142044\/how-to-turn-a-raspberry-pi-into-an-always-on-bittorrent-box\/) guide to make my pi into a seedbox that I can SSH and VNC into. However, when I try to download any torrent (tested on a rando one and the official Arch iso), the download doesn't start. I'm operating deluge on my laptop to remotely download it on deluge on my rbpi via the guide above. I'm downloading it onto an external HDD which is mounted and I can cd into it. I've tried both using a VPN and not using one, and even moving the downloads location to the SD card of the rbpi itself but that didn't work either. Deluge keeps saying the torrents are timing out, but I don't know how to fix this. Any suggestions?  \n\nEDIT: I ran shutdown on the pi, removed the external HDD and the power, put the external HDD in then the power, and then when I went into deluge it was working.","meta":"{'source': 'reddit_posts', 'id': 'c3w4o2', 'title': 'Cannot get Deluge to download torrents. Any suggestions?', 'author': 'PM_ME_COMBOS_N_NUDES', 'subreddit': 'linux4noobs', 'subreddit_id': '2qy7t', 'body': \"I'm following [this](https:\/\/www.howtogeek.com\/142044\/how-to-turn-a-raspberry-pi-into-an-always-on-bittorrent-box\/) guide to make my pi into a seedbox that I can SSH and VNC into. However, when I try to download any torrent (tested on a rando one and the official Arch iso), the download doesn't start. I'm operating deluge on my laptop to remotely download it on deluge on my rbpi via the guide above. I'm downloading it onto an external HDD which is mounted and I can cd into it. I've tried both using a VPN and not using one, and even moving the downloads location to the SD card of the rbpi itself but that didn't work either. Deluge keeps saying the torrents are timing out, but I don't know how to fix this. Any suggestions?  \\n\\nEDIT: I ran shutdown on the pi, removed the external HDD and the power, put the external HDD in then the power, and then when I went into deluge it was working.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': 1561245304}"}
{"id":"2161659","text":"Title: Goldman Sachs Software Engineer VS Deloitte Tech Consultant\nThe text below was posted in an online community called cscareerquestions in the year 2019:\n\nHi all, Im desperate for any advice I can get.\n\nIm a UK student and have been offered degree apprenticeships from both Goldmans and Deloitte in which they will sponsor me to achieve my undergrad certificates. From the outside it looks like Tech Consulting would be much more enjoyable and fulfilling, however the prospect of experience at GS is also very tempting.\n\nUltimately I want advice on which path would provide me with the best opportunities in the long term.","meta":"{'source': 'reddit_posts', 'id': 'bpfzeh', 'title': 'Goldman Sachs Software Engineer VS Deloitte Tech Consultant', 'author': 'benm71', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': 'Hi all, Im desperate for any advice I can get.\\n\\nIm a UK student and have been offered degree apprenticeships from both Goldmans and Deloitte in which they will sponsor me to achieve my undergrad certificates. From the outside it looks like Tech Consulting would be much more enjoyable and fulfilling, however the prospect of experience at GS is also very tempting.\\n\\nUltimately I want advice on which path would provide me with the best opportunities in the long term.', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 14, 'created_utc': 1558030443}"}
{"id":"416535","text":"Title: autocomplete on all open buffers\nThe text below was posted in an online community called emacs in the year 2020:\n\nIf I have two buffers open in the current Emacs, (like split vertically )\n\nWhen my cursor in of of the buffer, it autocompletes only from the current buffer.\n\n&amp;#x200B;\n\nHow can I set the Emacs to autocomplete on **all open buffers**?\n\n&amp;#x200B;\n\nI use default autocomplete: **M-\/**","meta":"{'source': 'reddit_posts', 'id': 'etxz4k', 'title': 'autocomplete on all open buffers', 'author': 'ellipticcode0', 'subreddit': 'emacs', 'subreddit_id': '2qhwu', 'body': 'If I have two buffers open in the current Emacs, (like split vertically )\\n\\nWhen my cursor in of of the buffer, it autocompletes only from the current buffer.\\n\\n&amp;#x200B;\\n\\nHow can I set the Emacs to autocomplete on **all open buffers**?\\n\\n&amp;#x200B;\\n\\nI use default autocomplete: **M-\/**', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1579992425}"}
{"id":"583788","text":"Title: Shifting 16 bits in with shift registers.\nThe text below was posted in an online community called arduino in the year 2014:\n\nI just discovered that the Super Nintendo controller is basically a 16 bit parallel in serial out shift register. So I have been trying to hook it up to a Leonardo and see what is changing on the monitor. So far I have it displaying the two bytes on the serial monitor but for some reason whenever i press the \"B\" button on the controller nothing changes. the bytes being read are 255 for the first byte and 254 for the second. Its almost as if the \"B\" button is always being pressed. any help would be appreciated. [Here's my code.](http:\/\/pastebin.com\/umdDhkZd)","meta":"{'source': 'reddit_posts', 'id': '1xg2qu', 'title': 'Shifting 16 bits in with shift registers.', 'author': 'AnonymousPirate', 'subreddit': 'arduino', 'subreddit_id': '2qknj', 'body': 'I just discovered that the Super Nintendo controller is basically a 16 bit parallel in serial out shift register. So I have been trying to hook it up to a Leonardo and see what is changing on the monitor. So far I have it displaying the two bytes on the serial monitor but for some reason whenever i press the \"B\" button on the controller nothing changes. the bytes being read are 255 for the first byte and 254 for the second. Its almost as if the \"B\" button is always being pressed. any help would be appreciated. [Here\\'s my code.](http:\/\/pastebin.com\/umdDhkZd)', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 8, 'created_utc': '1391968526'}"}
{"id":"76321","text":"Title: I'd like to build this sous vide machine but with an MSP430 instead of an Arduino. Anyway to port the code?\nThe text below was posted in an online community called arduino in the year 2010:\n\nI want to make this: [here](http:\/\/lifehacker.com\/5545690\/build-your-own-electronically+controlled-sous+vide-cooker)\n\nI know I'm sortof on enemy territory here, just wondering if this is possible. Otherwise, is there code already written out there that will let me turn my MSP430 Launchpad into a PID controller with LCD, heating element and thermometer?\n\nOtherwise I'd really appreciate a really simple online course that would help me write my own code. I'm not a programmer but wouldn't mind spending 10 hours or so trying to figure this out.\n\nEdit: I like how all my questions are being downvoted.","meta":"{'source': 'reddit_posts', 'id': 'dk3so', 'title': \"I'd like to build this sous vide machine but with an MSP430 instead of an Arduino. Anyway to port the code?\", 'author': 'dropfry', 'subreddit': 'arduino', 'subreddit_id': '2qknj', 'body': \"I want to make this: [here](http:\/\/lifehacker.com\/5545690\/build-your-own-electronically+controlled-sous+vide-cooker)\\n\\nI know I'm sortof on enemy territory here, just wondering if this is possible. Otherwise, is there code already written out there that will let me turn my MSP430 Launchpad into a PID controller with LCD, heating element and thermometer?\\n\\nOtherwise I'd really appreciate a really simple online course that would help me write my own code. I'm not a programmer but wouldn't mind spending 10 hours or so trying to figure this out.\\n\\nEdit: I like how all my questions are being downvoted.\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 15, 'created_utc': 1285696850}"}
{"id":"1026904","text":"Title: Hide Scrollbar (until...)\nThe text below was posted in an online community called jquery in the year 2012:\n\nHi there, \n\nI'm very new to jquery (and scripts in general to be honest), but have been able to implement a lot of solutions I've been able to find only. I haven't found anything that will do a specific thing I am trying to do. I have a site that loads at the bottom and then, upon a click of a button, scrolls to the top of the site in a slower animated scroll. I've figured that part all out. \n\nNow, I'm wondering how I can:\n\nHide the scrollbar until the page reaches the top, and then for it to reappear and be useable for further navigation of the page. \n\nTo see what I have so far (it's very rough), I've tossed it onto a test domain: \n\nwww.friendzler.com\n\nIf anyone has any ideas, they would be very much appreciated. \n\nThis page is going to be for an informational page on my art, so it's not anything I'll be making money on, if that means anything.","meta":"{'source': 'reddit_posts', 'id': '14ewsk', 'title': 'Hide Scrollbar (until...)', 'author': 'deadbeatdada', 'subreddit': 'jquery', 'subreddit_id': '2qhs4', 'body': \"Hi there, \\n\\nI'm very new to jquery (and scripts in general to be honest), but have been able to implement a lot of solutions I've been able to find only. I haven't found anything that will do a specific thing I am trying to do. I have a site that loads at the bottom and then, upon a click of a button, scrolls to the top of the site in a slower animated scroll. I've figured that part all out. \\n\\nNow, I'm wondering how I can:\\n\\nHide the scrollbar until the page reaches the top, and then for it to reappear and be useable for further navigation of the page. \\n\\nTo see what I have so far (it's very rough), I've tossed it onto a test domain: \\n\\nwww.friendzler.com\\n\\nIf anyone has any ideas, they would be very much appreciated. \\n\\nThis page is going to be for an informational page on my art, so it's not anything I'll be making money on, if that means anything.\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 5, 'created_utc': 1354838848}"}
{"id":"825142","text":"Title: [Python] Code for calculator seems fine but I'm getting wrong answers.\nThe text below was posted in an online community called learnprogramming in the year 2016:\n\nI've been working on a calculator as a beginner project and have come up with the following function to put together the values of array 'a' which stores all the inputs from the GUI. I am getting wrong answers when I try to do a calculation with more than 2 numbers or double digit numbers. For instance when I enter 1 + 2 + 3, it gives me 9. Here is the method:\n\n    def finishAnswer():\n        ans = 0\n        index = 0\n        while index &lt; (len(a) - 1):\n            if a[index + 1] == '+':\n                print(a)\n                print(index)\n                print(ans)\n                ans += a[index] + a[index + 2]\n                print(a)\n                print(index)\n                print(ans)\n                a[index + 2] = ans\n                print(a)\n                print(index)\n                print(ans)\n                index += 2\n\n            elif a[index + 1] == '-':\n                ans += a[index] - a[index + 2]\n                a[index + 2] = ans\n                index += 2\n\n            elif a[index + 1] == '*':\n                ans += a[index] * a[index + 2]\n                a[index + 2] = ans\n                index += 2\n\n            elif a[index + 1] == '\/':\n                ans += a[index] \/ a[index + 2]\n                a[index + 2] = ans\n                index += 2\n\n            elif a[index + 1] &gt;= 0 and a[index + 1] &lt;= 9:\n                ans += a[index] * 10 + a[index + 1]\n                a[index + 1] = ans\n                index += 1\n            else:\n                print(a[index])\n\n        print(ans)\n\nAnd here is the output when I put in 1 + 2 + 3:\n\n    [1, '+', 2, '+', 3]\n    0\n    0\n    [1, '+', 2, '+', 3]\n    0\n    3\n    [1, '+', 3, '+', 3]\n    0\n    3\n    [1, '+', 3, '+', 3]\n    2\n    3\n    [1, '+', 3, '+', 3]\n    2\n    9\n    [1, '+', 3, '+', 9]\n    2\n    9\n    9","meta":"{'source': 'reddit_posts', 'id': '4uatxw', 'title': \"[Python] Code for calculator seems fine but I'm getting wrong answers.\", 'author': 'grandtele', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': \"I've been working on a calculator as a beginner project and have come up with the following function to put together the values of array 'a' which stores all the inputs from the GUI. I am getting wrong answers when I try to do a calculation with more than 2 numbers or double digit numbers. For instance when I enter 1 + 2 + 3, it gives me 9. Here is the method:\\n\\n    def finishAnswer():\\n        ans = 0\\n        index = 0\\n        while index &lt; (len(a) - 1):\\n            if a[index + 1] == '+':\\n                print(a)\\n                print(index)\\n                print(ans)\\n                ans += a[index] + a[index + 2]\\n                print(a)\\n                print(index)\\n                print(ans)\\n                a[index + 2] = ans\\n                print(a)\\n                print(index)\\n                print(ans)\\n                index += 2\\n\\n            elif a[index + 1] == '-':\\n                ans += a[index] - a[index + 2]\\n                a[index + 2] = ans\\n                index += 2\\n\\n            elif a[index + 1] == '*':\\n                ans += a[index] * a[index + 2]\\n                a[index + 2] = ans\\n                index += 2\\n\\n            elif a[index + 1] == '\/':\\n                ans += a[index] \/ a[index + 2]\\n                a[index + 2] = ans\\n                index += 2\\n\\n            elif a[index + 1] &gt;= 0 and a[index + 1] &lt;= 9:\\n                ans += a[index] * 10 + a[index + 1]\\n                a[index + 1] = ans\\n                index += 1\\n            else:\\n                print(a[index])\\n\\n        print(ans)\\n\\nAnd here is the output when I put in 1 + 2 + 3:\\n\\n    [1, '+', 2, '+', 3]\\n    0\\n    0\\n    [1, '+', 2, '+', 3]\\n    0\\n    3\\n    [1, '+', 3, '+', 3]\\n    0\\n    3\\n    [1, '+', 3, '+', 3]\\n    2\\n    3\\n    [1, '+', 3, '+', 3]\\n    2\\n    9\\n    [1, '+', 3, '+', 9]\\n    2\\n    9\\n    9\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 3, 'created_utc': 1469319120}"}
{"id":"2305755","text":"Title: Base91 encoding\/decoding in lua\nThe text below was posted in an online community called lua in the year 2017:\n\nNo one asked and idk if we even need it, but here it is!\nhttps:\/\/github.com\/rayaman\/bin\/blob\/master\/base91.lua\n\n-- Output of the included code\n\nEncoded: **?7U=p@8C}!`+9Mrn\"in&lt;vXA**\n\nDecoded: **Hungry for Apples!**\n\nI am rewriting an old library of mine that has gotten bad... I am planing on adding amazing features to this library.\n\nThe base91 is a small part of it, and the focus on this library in binary manipulation of files, virtual files and other stuff... Check out the old code if you want while I fix up the new version","meta":"{'source': 'reddit_posts', 'id': '6qezwf', 'title': 'Base91 encoding\/decoding in lua', 'author': 'rayaman', 'subreddit': 'lua', 'subreddit_id': '2qjla', 'body': 'No one asked and idk if we even need it, but here it is!\\nhttps:\/\/github.com\/rayaman\/bin\/blob\/master\/base91.lua\\n\\n-- Output of the included code\\n\\nEncoded: **?7U=p@8C}!`+9Mrn\"in&lt;vXA**\\n\\nDecoded: **Hungry for Apples!**\\n\\nI am rewriting an old library of mine that has gotten bad... I am planing on adding amazing features to this library.\\n\\nThe base91 is a small part of it, and the focus on this library in binary manipulation of files, virtual files and other stuff... Check out the old code if you want while I fix up the new version', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 5, 'created_utc': 1501380861}"}
{"id":"1794910","text":"Title: How do i change the slideshow background wallpaper timer?\nThe text below was posted in an online community called Windows10 in the year 2015:\n\nLowest time i can get it to change is 1 minute... And coming from the 10 seconds i got on windows 7 it kind of bugs me...\n\n\nIs there anyway to make it change more often?","meta":"{'source': 'reddit_posts', 'id': '3fcpj8', 'title': 'How do i change the slideshow background wallpaper timer?', 'author': 'poloport', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': 'Lowest time i can get it to change is 1 minute... And coming from the 10 seconds i got on windows 7 it kind of bugs me...\\n\\n\\nIs there anyway to make it change more often?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 0, 'created_utc': '1438386261'}"}
{"id":"1514144","text":"Title: How do I set Photoshop CC as default?\nThe text below was posted in an online community called mac in the year 2013:\n\nI know how to set a certain program as a default program to open files of a certain type. You're supposed to get the information of a file of said type (psd in this case). And then, near the bottom of the information window, you can set the default program to open that specific file and choose to open all similar files with the same program.\n\nAdobe Photoshop CC is a different story. When I choose to open .psd with CC instead of CS6, it won't let me do it. It will merely allow me to open one specific file with CC as default; it won't let me open .psd files with CC as a default. When I try to set CC as a default, it always reverts to CS6 (which I uninstalled).\n\nDoes anyone recognize this problem and is there a way to set CC as default?","meta":"{'source': 'reddit_posts', 'id': '1mej5z', 'title': 'How do I set Photoshop CC as default?', 'author': 'SonicFlatulence', 'subreddit': 'mac', 'subreddit_id': '2qh4u', 'body': \"I know how to set a certain program as a default program to open files of a certain type. You're supposed to get the information of a file of said type (psd in this case). And then, near the bottom of the information window, you can set the default program to open that specific file and choose to open all similar files with the same program.\\n\\nAdobe Photoshop CC is a different story. When I choose to open .psd with CC instead of CS6, it won't let me do it. It will merely allow me to open one specific file with CC as default; it won't let me open .psd files with CC as a default. When I try to set CC as a default, it always reverts to CS6 (which I uninstalled).\\n\\nDoes anyone recognize this problem and is there a way to set CC as default?\", 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 5, 'created_utc': 1379201256}"}
{"id":"321598","text":"Title: Inspiration games for 2022 global game jam\nThe text below was posted in an online community called gamedev in the year 2022:\n\nI'm participating in a locally hosted ggj in my city and this year's theme is duality.\n\nI'm asking for some inspiration, do you know any games that explore this theme?\n\nCould be story wise or gameplay wise, as long as some form of duality is involved (ying yang)\n\nThanks","meta":"{'source': 'reddit_posts', 'id': 'selwq4', 'title': 'Inspiration games for 2022 global game jam', 'author': 'MobyFreak', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': \"I'm participating in a locally hosted ggj in my city and this year's theme is duality.\\n\\nI'm asking for some inspiration, do you know any games that explore this theme?\\n\\nCould be story wise or gameplay wise, as long as some form of duality is involved (ying yang)\\n\\nThanks\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1643358150}"}
{"id":"404025","text":"Title: Referencing variables from another script each time it is needed. Good for performance?\nThe text below was posted in an online community called Unity3D in the year 2020:\n\nHi guys! I'm currently making a **fps multiplayer** sci- fi game. I have a **GunManager script** that takes care of **shooting, reloading and gun switching.** this script gets variables from another script **called GunInfo which contains all the details** like animator, bullets, speed, muzzleflash etc. Currently i'm accessing variables **from guninfo whenever the gun manager needs it.** But i wonder if the way i'm doing **this affects performance in any way?** The scripts are below : \n\n&amp;#x200B;\n\n***Gun Manager***\n\n&amp;#x200B;\n\n&amp;#x200B;\n\n&amp;#x200B;\n\n    \tprivate const string PLAYER_TAG = \"Player\";\n    \n    \t[SyncVar]\n    \tpublic int selectedWeapon = 0;\n    \t[SyncVar]\n    \tpublic int previousSelectedWeapon;\n    \t[SyncVar]\n    \tpublic bool switching;\n    \tpublic bool canSwitch;\n    \n    \tpublic bool shooting;\n    \tpublic bool reloading;\n    \tpublic Camera fpscam;\n    \n    \tpublic LayerMask mask;\n    \tprivate Animator anim;\n    \n    \n    \tpublic int onlayer;\n    \n    \tpublic int offlayer;\n    \tpublic float bulletForce;\n    \n    \t\/\/private GameManager gameManager;\n    \n    \tpublic Transform gunHolder;\n    \n    \n    \tpublic List&lt;int&gt; holdedWeapons;\n    \n    \n    \n    \t\/\/public RawImage crossHair;\n    \n    \n    \tpublic GunInfo gunInfo;\n    \tprivate GunInfo inActivegunInfo;\n    \n    \tpublic bool weaponUpdated = false;\n    \n    \n    \t\/\/public Transform currentlyEquippedWeapon;\n    \n    \n    \t\/\/ Use this for initialization\n    \tvoid Awake () \n    \t{\n    \t\t\/\/gameManager = FindObjectOfType&lt;GameManager&gt; ();\n    \t\tanim = GetComponent&lt;Animator&gt; ();\n    \t\tcanSwitch = true;\n    \t\tholdedWeapons = GameManager.weaponsToEquip;\n    \t\tSelectWeapons ();\n    \t\t\/\/fpscam = GetComponentInChildren&lt;Camera&gt; ();\n    \t\t\t\/\/gunHolder = transform.Find (\"MainCamera\").transform.Find (\"GunHolder\");\n    \n    \n    \n    \t}\n    \n    \tvoid SelectWeapons()\n    \t{\n    \t\tint i = 0;\n    \t\tforeach (Transform weapon in gunHolder.transform) \n    \t\t{\n    \t\t\tif (!holdedWeapons.Contains (i)) {\n    \t\t\t\t\n    \t\t\t\tweapon.SetParent (this.transform);\n    \t\t\t\tweapon.gameObject.SetActive (false);\n    \n    \t\t\t}\n    \t\t\ti++;\n    \t\t}\n    \t\tSwitch ();\n    \n    \t\t\/\/currentlyEquippedWeapon = gunHolder.GetChild (selectedWeapon).transform;\n    \n    \t}\n    \n    \n    \t\/\/ Update is called once per frame\n    \tvoid Update () \n    \t{\n    \t\tif (PauseMenuScript.isOn)\n    \t\t\treturn;\n    \n    \t\t\tif (previousSelectedWeapon != selectedWeapon) {\n    \t\t\t\tSwitch ();\n    \t\t\t}\n    \n    \t\tif (!shooting &amp; !reloading &amp; !switching &amp; isLocalPlayer) {\n    \n    \t\t\t\/\/SHOOT METHOD\n    \t\t\tif (gunInfo.currentBullets &gt; 0) {\n    \n    \t\t\t}\n    \n    \t\t\tif (Input.GetMouseButton (0)) {\n    \t\t\t\tShoot ();\n    \n    \t\t\t} else if (gunInfo.fireType == \"Rapid\") {\n    \n    \t\t\t\tif (Input.GetMouseButtonDown (0)) {\n    \n    \t\t\t\t\tInvokeRepeating (\"Shoot\", 0f, gunInfo.fireRate);\n    \n    \t\t\t\t} else if (Input.GetMouseButtonUp (0)) {\n    \t\t\t\t\tCancelInvoke (\"Shoot\");\n    \t\t\t\t}\n    \n    \t\t\t}\n    \n    \t\t\t\/\/RELOAD METHOD\n    \n    \t\t\tif (gunInfo.storedBullets &gt; 0) {\n    \t\t\t\tif (gunInfo.currentBullets == 0 &amp; Input.GetMouseButton (0)) {\n    \t\t\t\t\tStartCoroutine (Reload ());\n    \n    \t\t\t\t} else if (gunInfo.currentBullets &lt; gunInfo.magazineSize &amp; Input.GetKeyDown (KeyCode.R))\n    \t\t\t\t\tStartCoroutine (Reload ());\n    \t\t\t\n    \n    \t\t\t}\n    \t\t\tfloat middleMouse = Input.GetAxis (\"Mouse ScrollWheel\");\n    \t\t\t\/\/SWITCHING METHOD\n    \n    \t\t\tif (canSwitch) {\n    \t\t\t\tif (Input.GetKeyDown (KeyCode.G) &amp; canSwitch == true) {\n    \t\t\t\t\tCmdSwitchWeapon (1f);\n    \t\t\t\t} else if (middleMouse &gt; 0f) {\n    \t\t\t\t\t\n    \n    \t\t\t\t\tCmdSwitchWeapon (1f);\n    \t\t\t\t} else if (middleMouse &lt; 0f) {\n    \n    \t\t\t\t\tCmdSwitchWeapon (-1f);\n    \n    \t\t\t\t}\n    \t\t\t}\n    \n    \t\t}\n    \t\t\/\/if (isLocalPlayer) {\n    \t\t\t\/\/GameObject.Find (\"CurrentBullets\").GetComponent&lt;Text&gt; ().text = gunInfo.currentBullets.ToString ();\n    \t\t\t\/\/GameObject.Find (\"StoredBullets\").GetComponent&lt;Text&gt; ().text = gunInfo.storedBullets.ToString ();\n    \t\t\/\/}\n    \n    \t\t\/\/crossHair.transform.position = Camera.main.ScreenToWorldPoint(Input.mousePosition);\n    \t}\n    \n    \n    \t\/\/Calling the server when player shoots\n    \t[Command]\n    \tvoid CmdOnShoot()\n    \t{\n    \t\tRpcShootEffect ();\n    \n    \t}\n    \n    \t\/\/Called on all clients by server\n    \t[ClientRpc]\n    \tvoid RpcShootEffect()\n    \t{\n    \n    \t\tgunInfo.muzzleFlash.Play ();\n    \n    \n    \t}\n    \n    \t[Command]\n    \tvoid CmdOnHit(Vector3 _pos, Vector3 _normal)\n    \t{\n    \t\tRpcHitEffect (_pos,_normal);\n    \n    \t}\n    \n    \t[ClientRpc]\n    \tvoid RpcHitEffect(Vector3 _pos, Vector3 _normal)\n    \t{\n    \t\tInstantiate (gunInfo.impactEffect, _pos, Quaternion.LookRotation (_normal));\n    \n    \t}\n    \n    \n    \n    \n    \t[Client]\n    \tpublic void Shoot()\n    \t{\n    \t\t\/\/if (gunInfo.currentBullets == 0 &amp; gunInfo.storedBullets != 0) {\n    \t\t\t\/\/StartCoroutine (Reload ());\n    \t\t\t\/\/yield break;\n    \t\t\/\/} else if (gunInfo.currentBullets == 0 &amp; gunInfo.storedBullets == 0) {\n    \t\t\t\/\/yield break;\n    \t\t\/\/}\n    \t\tif (gunInfo.currentBullets &gt; 0 &amp; !shooting) {\n    \t\t\tshooting = true;\n    \t\t\tStartCoroutine(ShootAnim());\n    \t\t\tcanSwitch = false;\n    \t\t\tCmdOnShoot ();\n    \t\t\tgunInfo.currentBullets--;\n    \t\t\tgunInfo.gunSound.Play ();\n    \n    \t\t\tRaycastHit hit;\n    \n    \t\t\tif (Physics.Raycast (fpscam.transform.position, fpscam.transform.forward, out hit, gunInfo.range, mask)) {\n    \t\t\t\t\/\/Debug.Log (hit.transform.name);\n    \t\t\t\t\/\/IMPACT EFFECT\n    \t\t\t\tCmdOnHit(hit.point, hit.normal);\n    \n    \t\t\t\tObjectHealth target = hit.transform.GetComponent&lt;ObjectHealth&gt; ();\n    \t\t\t\tif (target != null) {\n    \t\t\t\t\ttarget.TakeDamage (gunInfo.damageAmt);\n    \t\t\t\t}\n    \t\t\t\tif (hit.collider.tag == PLAYER_TAG) {\n    \t\t\t\t\tCmdPlayerShot (hit.collider.name, gunInfo.damageAmt);\n    \t\t\t\t\t\/\/Debug.Log (\"Reached here?\");\n    \n    \t\t\t\t}\n    \n    \t\t\t}\n    \t\t\t\/\/yield return new WaitForSeconds (gunInfo.shootDelay);\n    \n    \t\t\t\/\/BULLETS!!!!!!Shells...\n    \t\t\tGameObject bullet = Instantiate (gunInfo.bulletPrefab, gunInfo.shellSpawnPoint.position,gunInfo.shellSpawnPoint.rotation);\n    \t\t\tbullet.GetComponent&lt;ShellWork&gt; ().Go (bulletForce);\n    \n    \t\t\tDestroy (bullet, 2f);\n    \n    \t\t}\n    \n    \t\t\/\/yield break;\n    \t}\n    \n    \tIEnumerator ShootAnim()\n    \t{\n    \t\tanim.SetBool (\"shoot\", true);\n    \t\tyield return new WaitForSeconds (gunInfo.shootDelay);\n    \t\tanim.SetBool (\"shoot\", false);\n    \t\tshooting = false;\n    \t\tcanSwitch = true;\n    \t\tyield break;\n    \t}\n    \n    \t[Client]\t\n    \tIEnumerator Reload()\n    \t{\n    \t\treloading = true;\n    \t\tcanSwitch = false;\n    \t\tanim.SetBool (\"reload\", true);\n    \t\tgunInfo.gunReload.Play ();\n    \t\tyield return new WaitForSeconds (2f);\n    \t\tif (gunInfo.storedBullets &lt; gunInfo.magazineSize) {\n    \t\t\tint bulletDiff = gunInfo.magazineSize - gunInfo.currentBullets;\n    \t\t\tif (gunInfo.storedBullets &gt; bulletDiff) {\n    \t\t\t\tgunInfo.currentBullets += bulletDiff;\n    \t\t\t\tgunInfo.storedBullets -= bulletDiff;\n    \t\t\t} else {\n    \t\t\t\tgunInfo.currentBullets += gunInfo.storedBullets;\n    \t\t\t\tgunInfo.storedBullets -= gunInfo.storedBullets;\n    \t\t\t}\n    \n    \t\t} else {\n    \t\t\tint bulletDifference = gunInfo.magazineSize - gunInfo.currentBullets;\n    \t\t\tgunInfo.currentBullets += bulletDifference;\n    \t\t\tgunInfo.storedBullets -= bulletDifference;\n    \t\t}\n    \t\treloading = false;\n    \t\tcanSwitch = true;\n    \t\tanim.SetBool (\"reload\", false);\n    \t\tyield break;\n    \n    \t}\n    \n    \t[Client]\t\t\n    \tvoid Switch()\n    \t{\n    \t\tcanSwitch = false;\n    \t\tswitching = true;\n    \t\tweaponUpdated = false;\n    \t\tint i = 0;\n    \t\tforeach (Transform weapon in gunHolder.transform) {\n    \t\t\tif (i == selectedWeapon) {\n    \t\t\t\t\tweapon.gameObject.SetActive (true);\n    \t\t\t\t\tpreviousSelectedWeapon = selectedWeapon;\n    \t\t\t\t\tgunInfo = weapon.GetComponent&lt;GunInfo&gt; ();\n    \t\t\t\t\tweaponUpdated = true;\n    \t\t\t\t\tonlayer = anim.GetLayerIndex (gunInfo.name);\n    \t\t\t\t\tanim.SetLayerWeight (onlayer, 1);\n    \n    \t\t\t}\n    \t\t\t\tif (i != selectedWeapon) {\n    \t\t\t\t\n    \t\t\t\t\tinActivegunInfo = weapon.GetComponent&lt;GunInfo&gt; ();\n    \t\t\t\t\tweapon.gameObject.SetActive (false);\n    \n    \t\t\t\t\tofflayer = anim.GetLayerIndex (inActivegunInfo.name);\n    \t\t\t\t\tanim.SetLayerWeight (offlayer, 0);\n    \n    \t\t\t}\n    \t\t\t\ti++;\n    \t\t\t\tStartCoroutine(SwitchDelay ());\n    \t\t\t\n    \n    \t\t}\n    \n    \t\t\/*guns [activeGun].SetActive (false);\n    \t\tif (activeGun == guns.Length - 1) {\n    \t\t\tactiveGun = 0;\n    \t\t} else {\n    \t\t\tactiveGun += 1;\n    \t\t}\n    \t\tguns [activeGun].SetActive (true);*\/\n    \t}\n    \t\t\n    \t[Client]\n    \tIEnumerator SwitchDelay()\n    \t{\n    \t\t\n    \t\tyield return new WaitForSeconds (0.1f);\n    \n    \t\tswitching = false;\n    \t\tcanSwitch = true;\n    \t\tyield break;\n    \t}\n    \n    \n    \t[Command]\n    \tvoid CmdPlayerShot(string _playerID,float damage)\n    \t{\n    \t\t\/\/Debug.Log (_playerID + \" has been shot\");\n    \t\tThePlayer _player = GameManager.GetPlayer (_playerID);\n    \t\t_player.RpcTakeDamage (damage);\n    \n    \t}\n    \n    \t[Command]\n    \tvoid CmdSwitchWeapon(float type)\n    \t{\n    \t\tRpcSwitchWeapon (type);\n    \t}\n    \n    \t[ClientRpc]\n    \tvoid RpcSwitchWeapon(float type)\n    \t{\n    \t\tif (type == 1) {\n    \t\t\tif (selectedWeapon == gunHolder.childCount - 1) {\n    \t\t\t\tselectedWeapon = 0;\n    \t\t\t} else {\n    \t\t\t\tselectedWeapon++;\n    \t\t\t}\n    \t\t} else if (type == -1) {\n    \t\t\tif (selectedWeapon == 0) {\n    \t\t\t\tselectedWeapon = gunHolder.childCount - 1;\n    \t\t\t} else {\n    \t\t\t\tselectedWeapon--;\n    \t\t\t}\n    \n    \t\t}\n    \t}\n    \n    \n    \n    \/\/\tvoid GoBack()\n    \/\/\t{\n    \/\/\t\tfpscam.fieldOfView -= gunInfo.backAmt;\n    \/\/\t}\n    \/\/\n    \/\/\tvoid Normal()\n    \/\/\t{\n    \/\/\t\tfpscam.fieldOfView += gunInfo.backAmt;\n    \/\/\n    \/\/\t}\n    \n    }\n\n&amp;#x200B;\n\n***This is the***\n\n***Gun Info***\n\n&amp;#x200B;\n\n&amp;#x200B;\n\n&amp;#x200B;\n\n    \tpublic float range = 100f;\n    \t\/\/public Camera fpscam;\n    \n    \t\/\/public Camera fpscam;\n    \t\/\/private bool shooting;\n    \n    \n    \tpublic GameObject impactEffect;\n    \tpublic ParticleSystem muzzleFlash;\n    \n    \tpublic Transform bulletSpawnPoint;\n    \tpublic GameObject bulletPrefab;\n    \tpublic Transform shellSpawnPoint;\n    \n    \n    \tpublic int storedBullets;\n    \tpublic int currentBullets;\n    \tpublic int magazineSize;\n    \n    \t\/\/private bool reloading;\n    \t\/\/private GunManager gunHolder;\n    \n    \tpublic float damageAmt = 10f;\n    \n    \tpublic AudioSource gunSound;\n    \tpublic AudioSource gunReload;\n    \n    \tpublic float backAmt;\n    \n    \tpublic string GunName;\n    \tpublic float shootDelay;\n    \n    \tpublic float fireRate;\n    \tpublic string fireType;\n    \n    \tvoid Awake ()\n    \t{\n    \t\tgunSound = GameObject.Find (GunName +\"Shot\").GetComponent&lt;AudioSource&gt;();\n    \t\tgunReload = GameObject.Find (GunName +\"Reload\").GetComponent&lt;AudioSource&gt;();\n    \t}\n    \n    \n    \n    \n    \t\t\n    \n    \n    }\n\n&amp;#x200B;\n\n&amp;#x200B;\n\nAs you can see I'm accessing variables by **storing the guninfo script** as reference and then getting all variables from that **stored reference.**\n\n**It would be great** if someone could clear this doubt. Currently if this causes performance loss **I have 2 ideas**. One is to **store all these variables** in the gun manager script at once instead of getting it again and again from the guninfo reference. The other idea i have is that i **should shift** all the functions like shooting, reloading to the guninfo scripts and only keep the **weapon switching** to gun manager script. Both these ideas look like they **use some extra storage or memory.** But maybe one of them i**mproves performance? Basically what is the best way to go about this?**\n\nCheers! :)","meta":"{'source': 'reddit_posts', 'id': 'ektqk5', 'title': 'Referencing variables from another script each time it is needed. Good for performance?', 'author': 'arjuniscool1', 'subreddit': 'Unity3D', 'subreddit_id': '2qwj8', 'body': 'Hi guys! I\\'m currently making a **fps multiplayer** sci- fi game. I have a **GunManager script** that takes care of **shooting, reloading and gun switching.** this script gets variables from another script **called GunInfo which contains all the details** like animator, bullets, speed, muzzleflash etc. Currently i\\'m accessing variables **from guninfo whenever the gun manager needs it.** But i wonder if the way i\\'m doing **this affects performance in any way?** The scripts are below : \\n\\n&amp;#x200B;\\n\\n***Gun Manager***\\n\\n&amp;#x200B;\\n\\n&amp;#x200B;\\n\\n&amp;#x200B;\\n\\n    \\tprivate const string PLAYER_TAG = \"Player\";\\n    \\n    \\t[SyncVar]\\n    \\tpublic int selectedWeapon = 0;\\n    \\t[SyncVar]\\n    \\tpublic int previousSelectedWeapon;\\n    \\t[SyncVar]\\n    \\tpublic bool switching;\\n    \\tpublic bool canSwitch;\\n    \\n    \\tpublic bool shooting;\\n    \\tpublic bool reloading;\\n    \\tpublic Camera fpscam;\\n    \\n    \\tpublic LayerMask mask;\\n    \\tprivate Animator anim;\\n    \\n    \\n    \\tpublic int onlayer;\\n    \\n    \\tpublic int offlayer;\\n    \\tpublic float bulletForce;\\n    \\n    \\t\/\/private GameManager gameManager;\\n    \\n    \\tpublic Transform gunHolder;\\n    \\n    \\n    \\tpublic List&lt;int&gt; holdedWeapons;\\n    \\n    \\n    \\n    \\t\/\/public RawImage crossHair;\\n    \\n    \\n    \\tpublic GunInfo gunInfo;\\n    \\tprivate GunInfo inActivegunInfo;\\n    \\n    \\tpublic bool weaponUpdated = false;\\n    \\n    \\n    \\t\/\/public Transform currentlyEquippedWeapon;\\n    \\n    \\n    \\t\/\/ Use this for initialization\\n    \\tvoid Awake () \\n    \\t{\\n    \\t\\t\/\/gameManager = FindObjectOfType&lt;GameManager&gt; ();\\n    \\t\\tanim = GetComponent&lt;Animator&gt; ();\\n    \\t\\tcanSwitch = true;\\n    \\t\\tholdedWeapons = GameManager.weaponsToEquip;\\n    \\t\\tSelectWeapons ();\\n    \\t\\t\/\/fpscam = GetComponentInChildren&lt;Camera&gt; ();\\n    \\t\\t\\t\/\/gunHolder = transform.Find (\"MainCamera\").transform.Find (\"GunHolder\");\\n    \\n    \\n    \\n    \\t}\\n    \\n    \\tvoid SelectWeapons()\\n    \\t{\\n    \\t\\tint i = 0;\\n    \\t\\tforeach (Transform weapon in gunHolder.transform) \\n    \\t\\t{\\n    \\t\\t\\tif (!holdedWeapons.Contains (i)) {\\n    \\t\\t\\t\\t\\n    \\t\\t\\t\\tweapon.SetParent (this.transform);\\n    \\t\\t\\t\\tweapon.gameObject.SetActive (false);\\n    \\n    \\t\\t\\t}\\n    \\t\\t\\ti++;\\n    \\t\\t}\\n    \\t\\tSwitch ();\\n    \\n    \\t\\t\/\/currentlyEquippedWeapon = gunHolder.GetChild (selectedWeapon).transform;\\n    \\n    \\t}\\n    \\n    \\n    \\t\/\/ Update is called once per frame\\n    \\tvoid Update () \\n    \\t{\\n    \\t\\tif (PauseMenuScript.isOn)\\n    \\t\\t\\treturn;\\n    \\n    \\t\\t\\tif (previousSelectedWeapon != selectedWeapon) {\\n    \\t\\t\\t\\tSwitch ();\\n    \\t\\t\\t}\\n    \\n    \\t\\tif (!shooting &amp; !reloading &amp; !switching &amp; isLocalPlayer) {\\n    \\n    \\t\\t\\t\/\/SHOOT METHOD\\n    \\t\\t\\tif (gunInfo.currentBullets &gt; 0) {\\n    \\n    \\t\\t\\t}\\n    \\n    \\t\\t\\tif (Input.GetMouseButton (0)) {\\n    \\t\\t\\t\\tShoot ();\\n    \\n    \\t\\t\\t} else if (gunInfo.fireType == \"Rapid\") {\\n    \\n    \\t\\t\\t\\tif (Input.GetMouseButtonDown (0)) {\\n    \\n    \\t\\t\\t\\t\\tInvokeRepeating (\"Shoot\", 0f, gunInfo.fireRate);\\n    \\n    \\t\\t\\t\\t} else if (Input.GetMouseButtonUp (0)) {\\n    \\t\\t\\t\\t\\tCancelInvoke (\"Shoot\");\\n    \\t\\t\\t\\t}\\n    \\n    \\t\\t\\t}\\n    \\n    \\t\\t\\t\/\/RELOAD METHOD\\n    \\n    \\t\\t\\tif (gunInfo.storedBullets &gt; 0) {\\n    \\t\\t\\t\\tif (gunInfo.currentBullets == 0 &amp; Input.GetMouseButton (0)) {\\n    \\t\\t\\t\\t\\tStartCoroutine (Reload ());\\n    \\n    \\t\\t\\t\\t} else if (gunInfo.currentBullets &lt; gunInfo.magazineSize &amp; Input.GetKeyDown (KeyCode.R))\\n    \\t\\t\\t\\t\\tStartCoroutine (Reload ());\\n    \\t\\t\\t\\n    \\n    \\t\\t\\t}\\n    \\t\\t\\tfloat middleMouse = Input.GetAxis (\"Mouse ScrollWheel\");\\n    \\t\\t\\t\/\/SWITCHING METHOD\\n    \\n    \\t\\t\\tif (canSwitch) {\\n    \\t\\t\\t\\tif (Input.GetKeyDown (KeyCode.G) &amp; canSwitch == true) {\\n    \\t\\t\\t\\t\\tCmdSwitchWeapon (1f);\\n    \\t\\t\\t\\t} else if (middleMouse &gt; 0f) {\\n    \\t\\t\\t\\t\\t\\n    \\n    \\t\\t\\t\\t\\tCmdSwitchWeapon (1f);\\n    \\t\\t\\t\\t} else if (middleMouse &lt; 0f) {\\n    \\n    \\t\\t\\t\\t\\tCmdSwitchWeapon (-1f);\\n    \\n    \\t\\t\\t\\t}\\n    \\t\\t\\t}\\n    \\n    \\t\\t}\\n    \\t\\t\/\/if (isLocalPlayer) {\\n    \\t\\t\\t\/\/GameObject.Find (\"CurrentBullets\").GetComponent&lt;Text&gt; ().text = gunInfo.currentBullets.ToString ();\\n    \\t\\t\\t\/\/GameObject.Find (\"StoredBullets\").GetComponent&lt;Text&gt; ().text = gunInfo.storedBullets.ToString ();\\n    \\t\\t\/\/}\\n    \\n    \\t\\t\/\/crossHair.transform.position = Camera.main.ScreenToWorldPoint(Input.mousePosition);\\n    \\t}\\n    \\n    \\n    \\t\/\/Calling the server when player shoots\\n    \\t[Command]\\n    \\tvoid CmdOnShoot()\\n    \\t{\\n    \\t\\tRpcShootEffect ();\\n    \\n    \\t}\\n    \\n    \\t\/\/Called on all clients by server\\n    \\t[ClientRpc]\\n    \\tvoid RpcShootEffect()\\n    \\t{\\n    \\n    \\t\\tgunInfo.muzzleFlash.Play ();\\n    \\n    \\n    \\t}\\n    \\n    \\t[Command]\\n    \\tvoid CmdOnHit(Vector3 _pos, Vector3 _normal)\\n    \\t{\\n    \\t\\tRpcHitEffect (_pos,_normal);\\n    \\n    \\t}\\n    \\n    \\t[ClientRpc]\\n    \\tvoid RpcHitEffect(Vector3 _pos, Vector3 _normal)\\n    \\t{\\n    \\t\\tInstantiate (gunInfo.impactEffect, _pos, Quaternion.LookRotation (_normal));\\n    \\n    \\t}\\n    \\n    \\n    \\n    \\n    \\t[Client]\\n    \\tpublic void Shoot()\\n    \\t{\\n    \\t\\t\/\/if (gunInfo.currentBullets == 0 &amp; gunInfo.storedBullets != 0) {\\n    \\t\\t\\t\/\/StartCoroutine (Reload ());\\n    \\t\\t\\t\/\/yield break;\\n    \\t\\t\/\/} else if (gunInfo.currentBullets == 0 &amp; gunInfo.storedBullets == 0) {\\n    \\t\\t\\t\/\/yield break;\\n    \\t\\t\/\/}\\n    \\t\\tif (gunInfo.currentBullets &gt; 0 &amp; !shooting) {\\n    \\t\\t\\tshooting = true;\\n    \\t\\t\\tStartCoroutine(ShootAnim());\\n    \\t\\t\\tcanSwitch = false;\\n    \\t\\t\\tCmdOnShoot ();\\n    \\t\\t\\tgunInfo.currentBullets--;\\n    \\t\\t\\tgunInfo.gunSound.Play ();\\n    \\n    \\t\\t\\tRaycastHit hit;\\n    \\n    \\t\\t\\tif (Physics.Raycast (fpscam.transform.position, fpscam.transform.forward, out hit, gunInfo.range, mask)) {\\n    \\t\\t\\t\\t\/\/Debug.Log (hit.transform.name);\\n    \\t\\t\\t\\t\/\/IMPACT EFFECT\\n    \\t\\t\\t\\tCmdOnHit(hit.point, hit.normal);\\n    \\n    \\t\\t\\t\\tObjectHealth target = hit.transform.GetComponent&lt;ObjectHealth&gt; ();\\n    \\t\\t\\t\\tif (target != null) {\\n    \\t\\t\\t\\t\\ttarget.TakeDamage (gunInfo.damageAmt);\\n    \\t\\t\\t\\t}\\n    \\t\\t\\t\\tif (hit.collider.tag == PLAYER_TAG) {\\n    \\t\\t\\t\\t\\tCmdPlayerShot (hit.collider.name, gunInfo.damageAmt);\\n    \\t\\t\\t\\t\\t\/\/Debug.Log (\"Reached here?\");\\n    \\n    \\t\\t\\t\\t}\\n    \\n    \\t\\t\\t}\\n    \\t\\t\\t\/\/yield return new WaitForSeconds (gunInfo.shootDelay);\\n    \\n    \\t\\t\\t\/\/BULLETS!!!!!!Shells...\\n    \\t\\t\\tGameObject bullet = Instantiate (gunInfo.bulletPrefab, gunInfo.shellSpawnPoint.position,gunInfo.shellSpawnPoint.rotation);\\n    \\t\\t\\tbullet.GetComponent&lt;ShellWork&gt; ().Go (bulletForce);\\n    \\n    \\t\\t\\tDestroy (bullet, 2f);\\n    \\n    \\t\\t}\\n    \\n    \\t\\t\/\/yield break;\\n    \\t}\\n    \\n    \\tIEnumerator ShootAnim()\\n    \\t{\\n    \\t\\tanim.SetBool (\"shoot\", true);\\n    \\t\\tyield return new WaitForSeconds (gunInfo.shootDelay);\\n    \\t\\tanim.SetBool (\"shoot\", false);\\n    \\t\\tshooting = false;\\n    \\t\\tcanSwitch = true;\\n    \\t\\tyield break;\\n    \\t}\\n    \\n    \\t[Client]\\t\\n    \\tIEnumerator Reload()\\n    \\t{\\n    \\t\\treloading = true;\\n    \\t\\tcanSwitch = false;\\n    \\t\\tanim.SetBool (\"reload\", true);\\n    \\t\\tgunInfo.gunReload.Play ();\\n    \\t\\tyield return new WaitForSeconds (2f);\\n    \\t\\tif (gunInfo.storedBullets &lt; gunInfo.magazineSize) {\\n    \\t\\t\\tint bulletDiff = gunInfo.magazineSize - gunInfo.currentBullets;\\n    \\t\\t\\tif (gunInfo.storedBullets &gt; bulletDiff) {\\n    \\t\\t\\t\\tgunInfo.currentBullets += bulletDiff;\\n    \\t\\t\\t\\tgunInfo.storedBullets -= bulletDiff;\\n    \\t\\t\\t} else {\\n    \\t\\t\\t\\tgunInfo.currentBullets += gunInfo.storedBullets;\\n    \\t\\t\\t\\tgunInfo.storedBullets -= gunInfo.storedBullets;\\n    \\t\\t\\t}\\n    \\n    \\t\\t} else {\\n    \\t\\t\\tint bulletDifference = gunInfo.magazineSize - gunInfo.currentBullets;\\n    \\t\\t\\tgunInfo.currentBullets += bulletDifference;\\n    \\t\\t\\tgunInfo.storedBullets -= bulletDifference;\\n    \\t\\t}\\n    \\t\\treloading = false;\\n    \\t\\tcanSwitch = true;\\n    \\t\\tanim.SetBool (\"reload\", false);\\n    \\t\\tyield break;\\n    \\n    \\t}\\n    \\n    \\t[Client]\\t\\t\\n    \\tvoid Switch()\\n    \\t{\\n    \\t\\tcanSwitch = false;\\n    \\t\\tswitching = true;\\n    \\t\\tweaponUpdated = false;\\n    \\t\\tint i = 0;\\n    \\t\\tforeach (Transform weapon in gunHolder.transform) {\\n    \\t\\t\\tif (i == selectedWeapon) {\\n    \\t\\t\\t\\t\\tweapon.gameObject.SetActive (true);\\n    \\t\\t\\t\\t\\tpreviousSelectedWeapon = selectedWeapon;\\n    \\t\\t\\t\\t\\tgunInfo = weapon.GetComponent&lt;GunInfo&gt; ();\\n    \\t\\t\\t\\t\\tweaponUpdated = true;\\n    \\t\\t\\t\\t\\tonlayer = anim.GetLayerIndex (gunInfo.name);\\n    \\t\\t\\t\\t\\tanim.SetLayerWeight (onlayer, 1);\\n    \\n    \\t\\t\\t}\\n    \\t\\t\\t\\tif (i != selectedWeapon) {\\n    \\t\\t\\t\\t\\n    \\t\\t\\t\\t\\tinActivegunInfo = weapon.GetComponent&lt;GunInfo&gt; ();\\n    \\t\\t\\t\\t\\tweapon.gameObject.SetActive (false);\\n    \\n    \\t\\t\\t\\t\\tofflayer = anim.GetLayerIndex (inActivegunInfo.name);\\n    \\t\\t\\t\\t\\tanim.SetLayerWeight (offlayer, 0);\\n    \\n    \\t\\t\\t}\\n    \\t\\t\\t\\ti++;\\n    \\t\\t\\t\\tStartCoroutine(SwitchDelay ());\\n    \\t\\t\\t\\n    \\n    \\t\\t}\\n    \\n    \\t\\t\/*guns [activeGun].SetActive (false);\\n    \\t\\tif (activeGun == guns.Length - 1) {\\n    \\t\\t\\tactiveGun = 0;\\n    \\t\\t} else {\\n    \\t\\t\\tactiveGun += 1;\\n    \\t\\t}\\n    \\t\\tguns [activeGun].SetActive (true);*\/\\n    \\t}\\n    \\t\\t\\n    \\t[Client]\\n    \\tIEnumerator SwitchDelay()\\n    \\t{\\n    \\t\\t\\n    \\t\\tyield return new WaitForSeconds (0.1f);\\n    \\n    \\t\\tswitching = false;\\n    \\t\\tcanSwitch = true;\\n    \\t\\tyield break;\\n    \\t}\\n    \\n    \\n    \\t[Command]\\n    \\tvoid CmdPlayerShot(string _playerID,float damage)\\n    \\t{\\n    \\t\\t\/\/Debug.Log (_playerID + \" has been shot\");\\n    \\t\\tThePlayer _player = GameManager.GetPlayer (_playerID);\\n    \\t\\t_player.RpcTakeDamage (damage);\\n    \\n    \\t}\\n    \\n    \\t[Command]\\n    \\tvoid CmdSwitchWeapon(float type)\\n    \\t{\\n    \\t\\tRpcSwitchWeapon (type);\\n    \\t}\\n    \\n    \\t[ClientRpc]\\n    \\tvoid RpcSwitchWeapon(float type)\\n    \\t{\\n    \\t\\tif (type == 1) {\\n    \\t\\t\\tif (selectedWeapon == gunHolder.childCount - 1) {\\n    \\t\\t\\t\\tselectedWeapon = 0;\\n    \\t\\t\\t} else {\\n    \\t\\t\\t\\tselectedWeapon++;\\n    \\t\\t\\t}\\n    \\t\\t} else if (type == -1) {\\n    \\t\\t\\tif (selectedWeapon == 0) {\\n    \\t\\t\\t\\tselectedWeapon = gunHolder.childCount - 1;\\n    \\t\\t\\t} else {\\n    \\t\\t\\t\\tselectedWeapon--;\\n    \\t\\t\\t}\\n    \\n    \\t\\t}\\n    \\t}\\n    \\n    \\n    \\n    \/\/\\tvoid GoBack()\\n    \/\/\\t{\\n    \/\/\\t\\tfpscam.fieldOfView -= gunInfo.backAmt;\\n    \/\/\\t}\\n    \/\/\\n    \/\/\\tvoid Normal()\\n    \/\/\\t{\\n    \/\/\\t\\tfpscam.fieldOfView += gunInfo.backAmt;\\n    \/\/\\n    \/\/\\t}\\n    \\n    }\\n\\n&amp;#x200B;\\n\\n***This is the***\\n\\n***Gun Info***\\n\\n&amp;#x200B;\\n\\n&amp;#x200B;\\n\\n&amp;#x200B;\\n\\n    \\tpublic float range = 100f;\\n    \\t\/\/public Camera fpscam;\\n    \\n    \\t\/\/public Camera fpscam;\\n    \\t\/\/private bool shooting;\\n    \\n    \\n    \\tpublic GameObject impactEffect;\\n    \\tpublic ParticleSystem muzzleFlash;\\n    \\n    \\tpublic Transform bulletSpawnPoint;\\n    \\tpublic GameObject bulletPrefab;\\n    \\tpublic Transform shellSpawnPoint;\\n    \\n    \\n    \\tpublic int storedBullets;\\n    \\tpublic int currentBullets;\\n    \\tpublic int magazineSize;\\n    \\n    \\t\/\/private bool reloading;\\n    \\t\/\/private GunManager gunHolder;\\n    \\n    \\tpublic float damageAmt = 10f;\\n    \\n    \\tpublic AudioSource gunSound;\\n    \\tpublic AudioSource gunReload;\\n    \\n    \\tpublic float backAmt;\\n    \\n    \\tpublic string GunName;\\n    \\tpublic float shootDelay;\\n    \\n    \\tpublic float fireRate;\\n    \\tpublic string fireType;\\n    \\n    \\tvoid Awake ()\\n    \\t{\\n    \\t\\tgunSound = GameObject.Find (GunName +\"Shot\").GetComponent&lt;AudioSource&gt;();\\n    \\t\\tgunReload = GameObject.Find (GunName +\"Reload\").GetComponent&lt;AudioSource&gt;();\\n    \\t}\\n    \\n    \\n    \\n    \\n    \\t\\t\\n    \\n    \\n    }\\n\\n&amp;#x200B;\\n\\n&amp;#x200B;\\n\\nAs you can see I\\'m accessing variables by **storing the guninfo script** as reference and then getting all variables from that **stored reference.**\\n\\n**It would be great** if someone could clear this doubt. Currently if this causes performance loss **I have 2 ideas**. One is to **store all these variables** in the gun manager script at once instead of getting it again and again from the guninfo reference. The other idea i have is that i **should shift** all the functions like shooting, reloading to the guninfo scripts and only keep the **weapon switching** to gun manager script. Both these ideas look like they **use some extra storage or memory.** But maybe one of them i**mproves performance? Basically what is the best way to go about this?**\\n\\nCheers! :)', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 14, 'created_utc': 1578314976}"}
{"id":"349158","text":"Title: Route leaking between VRFs\nThe text below was posted in an online community called networking in the year 2014:\n\nI've got a customer who uses our cloud firewall and also two concentrators for their road warriors. This is all tied together over MPLS\/L3VPN core. Recently they asked to be migrated from our older cloud firewall to the shiny new platform. I've got the firewall ready to migrate, but my question is about the concentrators.\n\nSince the customer is getting a new route distinguisher when they move to the new firewall (don't ask, just the policy we have) they'll now have two VRFs with separate RDs: one that's used on the old concentrators, and one that is used on the new cloud firewall. \n\nOn the old VRF they have route-target import and export commands to share routes to and from their MPLS-connected sites, and on the new VRF they have a vrf-target &lt;community name&gt; statement (these are Junipers). I'm not too strong on BGP yet, so I'm trying to verify; will this share routes between the old and new VRFs? The Cisco (route-target) statements seem clear, but the Juniper vrf-target command is confusing me.","meta":"{'source': 'reddit_posts', 'id': '2i4kpu', 'title': 'Route leaking between VRFs', 'author': 'scair', 'subreddit': 'networking', 'subreddit_id': '2qkaf', 'body': \"I've got a customer who uses our cloud firewall and also two concentrators for their road warriors. This is all tied together over MPLS\/L3VPN core. Recently they asked to be migrated from our older cloud firewall to the shiny new platform. I've got the firewall ready to migrate, but my question is about the concentrators.\\n\\nSince the customer is getting a new route distinguisher when they move to the new firewall (don't ask, just the policy we have) they'll now have two VRFs with separate RDs: one that's used on the old concentrators, and one that is used on the new cloud firewall. \\n\\nOn the old VRF they have route-target import and export commands to share routes to and from their MPLS-connected sites, and on the new VRF they have a vrf-target &lt;community name&gt; statement (these are Junipers). I'm not too strong on BGP yet, so I'm trying to verify; will this share routes between the old and new VRFs? The Cisco (route-target) statements seem clear, but the Juniper vrf-target command is confusing me.\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 2, 'created_utc': '1412283415'}"}
{"id":"1519672","text":"Title: Spatial partitioning\nThe text below was posted in an online community called gamedev in the year 2022:\n\nHi everyone,\n\nSo I have a top down 2D RPG game which has a very large map and potentially lots of rigid bodies moving around.  Each rigid body has a rectangle hitbox that is different sizes for different types of entity.  I have been trying to find a way to break up the game world to make collision detection faster.  I tried box2d but I need pixel perfect movement in my game and I couldn't get it to work.\n\nI have looked at several algorithms, uniform grids, quad trees, BSP trees, BVH trees, grid hierarchy but I don't which one would be best for me and I can't find any good resources on how each of them works.\n\nCurrently the world is broken up into 16x16 tile chunks and the chunk coordinates are calculated from bit shifting the entity position.  It hashes the entity ID with the chunk coordinates and that returns the index of where the entity is in the list of entities in the chunk.  This works for fine for up 5k units then it starts taking more and more time.\n\nWhat would be a good solution?","meta":"{'source': 'reddit_posts', 'id': 'w2q3vg', 'title': 'Spatial partitioning', 'author': 'Wear_Necessary', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': \"Hi everyone,\\n\\nSo I have a top down 2D RPG game which has a very large map and potentially lots of rigid bodies moving around.  Each rigid body has a rectangle hitbox that is different sizes for different types of entity.  I have been trying to find a way to break up the game world to make collision detection faster.  I tried box2d but I need pixel perfect movement in my game and I couldn't get it to work.\\n\\nI have looked at several algorithms, uniform grids, quad trees, BSP trees, BVH trees, grid hierarchy but I don't which one would be best for me and I can't find any good resources on how each of them works.\\n\\nCurrently the world is broken up into 16x16 tile chunks and the chunk coordinates are calculated from bit shifting the entity position.  It hashes the entity ID with the chunk coordinates and that returns the index of where the entity is in the list of entities in the chunk.  This works for fine for up 5k units then it starts taking more and more time.\\n\\nWhat would be a good solution?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 4, 'created_utc': 1658228999}"}
{"id":"2125935","text":"Title: browser.tabs.create opens external URLs in this format moz-extension:\/\/{UUID of the extension}\/{url}\nThe text below was posted in an online community called firefox in the year 2018:\n\nI've been making a webextension and I have a list of links that open up in a new popup. When clicking the link it should open it in a new tab and it does so but in this format ***moz-extension:\/\/{UUID of the extension}\/{url}***.\nI've checked all the permissions and everything but I've come to a dead end. Does anyone have a clue how to fix this?","meta":"{'source': 'reddit_posts', 'id': '7ru7iq', 'title': 'browser.tabs.create opens external URLs in this format moz-extension:\/\/{UUID of the extension}\/{url}', 'author': 'AnneOldman', 'subreddit': 'firefox', 'subreddit_id': '2qh4p', 'body': \"I've been making a webextension and I have a list of links that open up in a new popup. When clicking the link it should open it in a new tab and it does so but in this format ***moz-extension:\/\/{UUID of the extension}\/{url}***.\\nI've checked all the permissions and everything but I've come to a dead end. Does anyone have a clue how to fix this?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 7, 'created_utc': 1516493110}"}
{"id":"1120277","text":"Title: Firefox opens\/closes Bookmarks randomly on some sites.\nThe text below was posted in an online community called firefox in the year 2016:\n\nUsually happens when i start to type on some sites. \nExample :Facebook, IRC, here.\nIt does not open bookmarks in tab, just bookmarks to search. It opens and closes...but while i type...it opens and starts typing there in search bar","meta":"{'source': 'reddit_posts', 'id': '57w9kk', 'title': 'Firefox opens\/closes Bookmarks randomly on some sites.', 'author': 'Vladan899', 'subreddit': 'firefox', 'subreddit_id': '2qh4p', 'body': 'Usually happens when i start to type on some sites. \\nExample :Facebook, IRC, here.\\nIt does not open bookmarks in tab, just bookmarks to search. It opens and closes...but while i type...it opens and starts typing there in search bar', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': 1476691910}"}
{"id":"702225","text":"Title: Can I set a loop to break if cancel is selected?\nThe text below was posted in an online community called javahelp in the year 2014:\n\nI have a code that verifies some input:\n\n\tprivate String verifyDescription(){\n\t\tString thingDescription = JOptionPane.showInputDialog(\"Enter the Thing's description\");\n\t\tif(thingDescription == null || thingDescription.isEmpty()){\n\t\t\tthingDescription = verifyDescription();\n\t\t}\n\t\treturn thingDescription;\n\n Now the problem is when I hit cancel, that returns null, and so the loop keeps repeating. Is there a way for cancel to break the loop and maybe even end the method?","meta":"{'source': 'reddit_posts', 'id': '26d2sw', 'title': 'Can I set a loop to break if cancel is selected?', 'author': 'Chocobuny', 'subreddit': 'javahelp', 'subreddit_id': '2t1jq', 'body': 'I have a code that verifies some input:\\n\\n\\tprivate String verifyDescription(){\\n\\t\\tString thingDescription = JOptionPane.showInputDialog(\"Enter the Thing\\'s description\");\\n\\t\\tif(thingDescription == null || thingDescription.isEmpty()){\\n\\t\\t\\tthingDescription = verifyDescription();\\n\\t\\t}\\n\\t\\treturn thingDescription;\\n\\n Now the problem is when I hit cancel, that returns null, and so the loop keeps repeating. Is there a way for cancel to break the loop and maybe even end the method?', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 9, 'created_utc': '1400917409'}"}
{"id":"1535815","text":"Title: Why doesn't removing the Value channel make this white wall all one colour block?\nThe text below was posted in an online community called computervision in the year 2016:\n\nShouldn't removing the Value\/Intensity channel from HSV images create colour blocks and reduce\/eliminate 'colour variance'\/shades of white due to light?\n\nIf you look at the following image, the *walls are painted one solid consistent colour of cream\/white. But it's colour varies alot because of shadows and light reflections. *Referring to the white walls above the lockers.\n\nImage: http:\/\/imgur.com\/a\/Hy1Ah\n\nI thought that if I convert the image to HSV then remove the Value\/Intensity channel that I can filter out those wall reflections and shadows, colour variation - ie, the light. Then I just colour reduce the image and I *should* have a large colour block for the wall (above the lockers)? Ie, see the wall in it's true form\/colour as one solid colour block.\n\nBut its not working out that way. Is there a technique to ignore\/filter out colour 'variation'\/shades of a colour (shadows, reflections, etc.)?\n\nHere is the code: https:\/\/ideone.com\/Rrx0fm","meta":"{'source': 'reddit_posts', 'id': '50sqqq', 'title': \"Why doesn't removing the Value channel make this white wall all one colour block?\", 'author': 'sqzr1', 'subreddit': 'computervision', 'subreddit_id': '2rfzn', 'body': \"Shouldn't removing the Value\/Intensity channel from HSV images create colour blocks and reduce\/eliminate 'colour variance'\/shades of white due to light?\\n\\nIf you look at the following image, the *walls are painted one solid consistent colour of cream\/white. But it's colour varies alot because of shadows and light reflections. *Referring to the white walls above the lockers.\\n\\nImage: http:\/\/imgur.com\/a\/Hy1Ah\\n\\nI thought that if I convert the image to HSV then remove the Value\/Intensity channel that I can filter out those wall reflections and shadows, colour variation - ie, the light. Then I just colour reduce the image and I *should* have a large colour block for the wall (above the lockers)? Ie, see the wall in it's true form\/colour as one solid colour block.\\n\\nBut its not working out that way. Is there a technique to ignore\/filter out colour 'variation'\/shades of a colour (shadows, reflections, etc.)?\\n\\nHere is the code: https:\/\/ideone.com\/Rrx0fm\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1472815564}"}
{"id":"1778684","text":"Title: MongoDB World 2019 Observations\nThe text below was posted in an online community called mongodb in the year 2019:\n\nWrapping up day 2 and it's a great fun rainy day conference in NYC but I have to say I've noticed a few things...  \n\n\n\\- I feel like a rare unicorn based on my position. I've yet to see another attendee badge that says they're a DBA. Everyone is a Sr. Developer, DevOps, Project Mgmt and whatever the heck a Brigadier is. I've been looking for a bit but realized MongoDB is just a very popular developer database system so I think they're catering a lot to the crowd. Huge difference between this and any other SQL conference topics. There are some very great topics geared to Operational tasks and data administration but they seem not very well focused or just mention a thing or two before switching hats.\n\n(all their Ops Mgr, Atlas and Security\/Encryption Features for 4.2 was super cool especially client based encryption)\n\n&amp;#x200B;\n\n\\- No matter how many times its noted in EVERY session to get the slides from web as they're all there along with the code used in the examples, people still throwing their iPads and phones in the air every slide making it impossible for the rest to see. \n\n&amp;#x200B;\n\nReally looking forward to the makers workshop and everyone from MongDB \/ supporting vendors have been super awesome!  \n\n\nSad I didn't get a hoodie this year. The swag scavenger hunt is total crap. The QR scanner hardly works and beyond level 2, you can't anything beyond stickers, shirts or a water bottle (yeah I came for the swag, so what...)","meta":"{'source': 'reddit_posts', 'id': 'c267xc', 'title': 'MongoDB World 2019 Observations', 'author': 'cachedrive', 'subreddit': 'mongodb', 'subreddit_id': '2rjwd', 'body': \"Wrapping up day 2 and it's a great fun rainy day conference in NYC but I have to say I've noticed a few things...  \\n\\n\\n\\\\- I feel like a rare unicorn based on my position. I've yet to see another attendee badge that says they're a DBA. Everyone is a Sr. Developer, DevOps, Project Mgmt and whatever the heck a Brigadier is. I've been looking for a bit but realized MongoDB is just a very popular developer database system so I think they're catering a lot to the crowd. Huge difference between this and any other SQL conference topics. There are some very great topics geared to Operational tasks and data administration but they seem not very well focused or just mention a thing or two before switching hats.\\n\\n(all their Ops Mgr, Atlas and Security\/Encryption Features for 4.2 was super cool especially client based encryption)\\n\\n&amp;#x200B;\\n\\n\\\\- No matter how many times its noted in EVERY session to get the slides from web as they're all there along with the code used in the examples, people still throwing their iPads and phones in the air every slide making it impossible for the rest to see. \\n\\n&amp;#x200B;\\n\\nReally looking forward to the makers workshop and everyone from MongDB \/ supporting vendors have been super awesome!  \\n\\n\\nSad I didn't get a hoodie this year. The swag scavenger hunt is total crap. The QR scanner hardly works and beyond level 2, you can't anything beyond stickers, shirts or a water bottle (yeah I came for the swag, so what...)\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 6, 'created_utc': 1560884061}"}
{"id":"196944","text":"Title: Resume Parsing Help\nThe text below was posted in an online community called learnpython in the year 2019:\n\nHello! I'm trying to use python to extract information from resumes\/CVs and I'm feeling a bit out of my depth. So far I'm able to read in the plain text from both PDF and word files using a couple of different packages. I've been able to clean it up to produced a list of words but I haven't figured out how to extract the details I need (job titles, dates of employment etc). \n\nCan anyone recommend a resource to help me learn what I need to do this? I've had a look online and I'm guessing I'll need to do some pretty advanced stuff but not sure at all where to start. Most of the NLP guides I've found deal with short text like tweets etc. Any pointers to helpful books\/websites would be much appreciated!","meta":"{'source': 'reddit_posts', 'id': 'bz737e', 'title': 'Resume Parsing Help', 'author': 'coveredinfleas', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': \"Hello! I'm trying to use python to extract information from resumes\/CVs and I'm feeling a bit out of my depth. So far I'm able to read in the plain text from both PDF and word files using a couple of different packages. I've been able to clean it up to produced a list of words but I haven't figured out how to extract the details I need (job titles, dates of employment etc). \\n\\nCan anyone recommend a resource to help me learn what I need to do this? I've had a look online and I'm guessing I'll need to do some pretty advanced stuff but not sure at all where to start. Most of the NLP guides I've found deal with short text like tweets etc. Any pointers to helpful books\/websites would be much appreciated!\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1560221640}"}
{"id":"851690","text":"Title: Redis Performance Monitoring with the ELK Stack\nThe text below was posted in an online community called redis in the year 2016:\n\nHello, everyone! We use the open source ELK Stack (Elasticsearch, Logstash, and Kibana) for log management in our environment and decided to write a brief guide to monitoring Redis with it to help the community. We'd love any thoughts or feedback! :)\n\nhttp:\/\/logz.io\/blog\/redis-performance-monitoring-elk-stack\/","meta":"{'source': 'reddit_posts', 'id': '4asmfi', 'title': 'Redis Performance Monitoring with the ELK Stack', 'author': 'sjscott80', 'subreddit': 'redis', 'subreddit_id': '2r18v', 'body': \"Hello, everyone! We use the open source ELK Stack (Elasticsearch, Logstash, and Kibana) for log management in our environment and decided to write a brief guide to monitoring Redis with it to help the community. We'd love any thoughts or feedback! :)\\n\\nhttp:\/\/logz.io\/blog\/redis-performance-monitoring-elk-stack\/\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 0, 'created_utc': 1458216315}"}
{"id":"1884348","text":"Title: So they want me to start a pentesting program\nThe text below was posted in an online community called AskNetsec in the year 2019:\n\nThrowaway account due to NDA.\n\nBeen with my (small financial) company  for a year as a security analyst. When I joined they wouldn't even entertain the idea of a penetration test.\n\nI pressed them with the support of my boss and our security director over time, and shared info on the industry with the proven benefits of a pentesting program.\n\nNow, with a flagship app they are soon releasing the VPs want to begin exploring the idea of pentesting it as the beginning.\n\nAs the resident security analyst and appsec \"SME\" they are asking me to develop a proposal. \n\nBudget is $50k for tools, training, and outside vendor support. However, they ultimately want this to be in-house, and want me to run it.\n\nI'm game, but I feel this is our team's one and only shot at proving that we can show value of this working and becoming a fully developed program.\n\nHow do we pull this off? What resources do I need to do it?\n\nI would appreciate any insights, and welcome constructive criticism if you have it!","meta":"{'source': 'reddit_posts', 'id': 'bk6iqb', 'title': 'So they want me to start a pentesting program', 'author': 'yeeted_account', 'subreddit': 'AskNetsec', 'subreddit_id': '2t3w8', 'body': 'Throwaway account due to NDA.\\n\\nBeen with my (small financial) company  for a year as a security analyst. When I joined they wouldn\\'t even entertain the idea of a penetration test.\\n\\nI pressed them with the support of my boss and our security director over time, and shared info on the industry with the proven benefits of a pentesting program.\\n\\nNow, with a flagship app they are soon releasing the VPs want to begin exploring the idea of pentesting it as the beginning.\\n\\nAs the resident security analyst and appsec \"SME\" they are asking me to develop a proposal. \\n\\nBudget is $50k for tools, training, and outside vendor support. However, they ultimately want this to be in-house, and want me to run it.\\n\\nI\\'m game, but I feel this is our team\\'s one and only shot at proving that we can show value of this working and becoming a fully developed program.\\n\\nHow do we pull this off? What resources do I need to do it?\\n\\nI would appreciate any insights, and welcome constructive criticism if you have it!', 'body_is_trimmed': False, 'score': 46, 'over_18': False, 'num_comments': 39, 'created_utc': 1556876227}"}
{"id":"1433801","text":"Title: Speeding up python code with C coded SOs or DLLs. How do you load data into it?\nThe text below was posted in an online community called learnpython in the year 2013:\n\nIt would seem that loading data into and out of your c coded functions would be slow.  Do you write c code to load data? Do you load your data into python as some c_type and just take the performance hit on setup and tear down?","meta":"{'source': 'reddit_posts', 'id': '1rcgc4', 'title': 'Speeding up python code with C coded SOs or DLLs. How do you load data into it?', 'author': 'lucidguppy', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': 'It would seem that loading data into and out of your c coded functions would be slow.  Do you write c code to load data? Do you load your data into python as some c_type and just take the performance hit on setup and tear down?', 'body_is_trimmed': False, 'score': 11, 'over_18': False, 'num_comments': 3, 'created_utc': 1385295731}"}
{"id":"1256942","text":"Title: Receiving multiple errors in cmd when trying to set up Django.\nThe text below was posted in an online community called learnpython in the year 2019:\n\nI posted this question to Stack Overflow, but so far it still remains unsolved, maybe someone here will be able to help.\n\nI'm in the process of learning about django and the different possibilities that it brings, however I am unable to go through the first few steps that I find in pretty much every tutorial.\n\nI updated my python to the newest version (3.8.0), created a virtualenv and started a new project. I successfully installed django-2.2.6, pytz-2019.3 and sqlparse-0.3.0. I then set up the correct directory to my working folder, I used `python manage.py runserver` and I am sucessful at connecting to the local on [http:\/\/83.161.120.155:8000\/](http:\/\/83.161.120.155:8000\/). \n\nThe moment I connect my cmd bleeds this:\n\n    [27\/Oct\/2019 18:52:08] \"GET \/ HTTP\/1.1\" 200 16348\n    [27\/Oct\/2019 18:52:08] \"GET \/static\/admin\/css\/fonts.css HTTP\/1.1\" 200 423\n    [27\/Oct\/2019 18:52:08] \"GET \/static\/admin\/fonts\/Roboto-Bold-webfont.woff HTTP\/1.1\" 200 86184\n    [27\/Oct\/2019 18:52:08] \"GET \/static\/admin\/fonts\/Roboto-Regular-webfont.woff HTTP\/1.1\" 200 85876\n    [27\/Oct\/2019 18:52:08] \"GET \/static\/admin\/fonts\/Roboto-Light-webfont.woff HTTP\/1.1\" 200 85692\n    Not Found: \/favicon.ico\n    ----------------------------------------\n    Exception happened during processing of request from ('83.161.120.155', 59119)\n    Traceback (most recent call last):\n      File \"c:\\python\\Lib\\socketserver.py\", line 650, in process_request_thread\n        self.finish_request(request, client_address)\n      File \"c:\\python\\Lib\\socketserver.py\", line 360, in finish_request\n        self.RequestHandlerClass(request, client_address, self)\n      File \"c:\\python\\Lib\\socketserver.py\", line 720, in __init__\n        self.handle()\n      File \"C:\\Users\\Arivald\\Envs\\website\\lib\\site-packages\\django\\core\\servers\\basehttp.py\", line 171, in handle\n        self.handle_one_request()\n      File \"C:\\Users\\Arivald\\Envs\\website\\lib\\site-packages\\django\\core\\servers\\basehttp.py\", line 179, in handle_one_request\n        self.raw_requestline = self.rfile.readline(65537)\n      File \"c:\\python\\Lib\\socket.py\", line 669, in readinto\n        return self._sock.recv_into(b)\n    ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine.\n\nAt this point I am unable to type any more commands into the cmd and so I am unable to continue. \n\n So far I have uninstalled python and installed the newest version (3.8.0  at the time of writing). I created new virtual environments and installed django inside. I tried disabling my antivirus and using a  different browser. I am still receiving the same error that does not  allow me to continue typing commands into cmd.  \n\nSend help.","meta":"{'source': 'reddit_posts', 'id': 'dny07i', 'title': 'Receiving multiple errors in cmd when trying to set up Django.', 'author': 'Astronoobical', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': 'I posted this question to Stack Overflow, but so far it still remains unsolved, maybe someone here will be able to help.\\n\\nI\\'m in the process of learning about django and the different possibilities that it brings, however I am unable to go through the first few steps that I find in pretty much every tutorial.\\n\\nI updated my python to the newest version (3.8.0), created a virtualenv and started a new project. I successfully installed django-2.2.6, pytz-2019.3 and sqlparse-0.3.0. I then set up the correct directory to my working folder, I used `python manage.py runserver` and I am sucessful at connecting to the local on [http:\/\/127.0.0.1:8000\/](http:\/\/127.0.0.1:8000\/). \\n\\nThe moment I connect my cmd bleeds this:\\n\\n    [27\/Oct\/2019 18:52:08] \"GET \/ HTTP\/1.1\" 200 16348\\n    [27\/Oct\/2019 18:52:08] \"GET \/static\/admin\/css\/fonts.css HTTP\/1.1\" 200 423\\n    [27\/Oct\/2019 18:52:08] \"GET \/static\/admin\/fonts\/Roboto-Bold-webfont.woff HTTP\/1.1\" 200 86184\\n    [27\/Oct\/2019 18:52:08] \"GET \/static\/admin\/fonts\/Roboto-Regular-webfont.woff HTTP\/1.1\" 200 85876\\n    [27\/Oct\/2019 18:52:08] \"GET \/static\/admin\/fonts\/Roboto-Light-webfont.woff HTTP\/1.1\" 200 85692\\n    Not Found: \/favicon.ico\\n    ----------------------------------------\\n    Exception happened during processing of request from (\\'127.0.0.1\\', 59119)\\n    Traceback (most recent call last):\\n      File \"c:\\\\python\\\\Lib\\\\socketserver.py\", line 650, in process_request_thread\\n        self.finish_request(request, client_address)\\n      File \"c:\\\\python\\\\Lib\\\\socketserver.py\", line 360, in finish_request\\n        self.RequestHandlerClass(request, client_address, self)\\n      File \"c:\\\\python\\\\Lib\\\\socketserver.py\", line 720, in __init__\\n        self.handle()\\n      File \"C:\\\\Users\\\\Arivald\\\\Envs\\\\website\\\\lib\\\\site-packages\\\\django\\\\core\\\\servers\\\\basehttp.py\", line 171, in handle\\n        self.handle_one_request()\\n      File \"C:\\\\Users\\\\Arivald\\\\Envs\\\\website\\\\lib\\\\site-packages\\\\django\\\\core\\\\servers\\\\basehttp.py\", line 179, in handle_one_request\\n        self.raw_requestline = self.rfile.readline(65537)\\n      File \"c:\\\\python\\\\Lib\\\\socket.py\", line 669, in readinto\\n        return self._sock.recv_into(b)\\n    ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine.\\n\\nAt this point I am unable to type any more commands into the cmd and so I am unable to continue. \\n\\n So far I have uninstalled python and installed the newest version (3.8.0  at the time of writing). I created new virtual environments and installed django inside. I tried disabling my antivirus and using a  different browser. I am still receiving the same error that does not  allow me to continue typing commands into cmd.  \\n\\nSend help.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 5, 'created_utc': 1572203282}"}
{"id":"1740735","text":"Title: [Python] Extensive Python book recommendation.\nThe text below was posted in an online community called learnprogramming in the year 2015:\n\nHi, I've been learning python for a few months now, and I've done some progress: I can now write 20\/40 line scripts to do stuff for me and use many of the different modules etc.\nBut I'm going to travel in the coming weeks to a place with no internet, and I thought I should use that time to dive even further in python, by reading a book.\n\nHave you got any recommendations? Maybe a book that doesn't start from \"hello world\" but goes deep enough so I can familiarize myself even more with the language?\n\nThanks.","meta":"{'source': 'reddit_posts', 'id': '2sqeif', 'title': '[Python] Extensive Python book recommendation.', 'author': 'youav97', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'Hi, I\\'ve been learning python for a few months now, and I\\'ve done some progress: I can now write 20\/40 line scripts to do stuff for me and use many of the different modules etc.\\nBut I\\'m going to travel in the coming weeks to a place with no internet, and I thought I should use that time to dive even further in python, by reading a book.\\n\\nHave you got any recommendations? Maybe a book that doesn\\'t start from \"hello world\" but goes deep enough so I can familiarize myself even more with the language?\\n\\nThanks.', 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 5, 'created_utc': '1421503341'}"}
{"id":"2021021","text":"Title: Can't even get off the starting block with an asp application\nThe text below was posted in an online community called learnprogramming in the year 2017:\n\nHere is [the result](http:\/\/imgur.com\/X7h91ro). Looks like a key dll is not being created - i haven't done a web app for 15 years and this level of complexity is new to me. i tried finding a copy of the dll named and inserting it in the project folder but there is no file called \"WebApplication.dll.config.DLL.\" i also tried reinstalling visual studio to start from scratch, but nothing doing.\n\nAny ideas would be gratefully received","meta":"{'source': 'reddit_posts', 'id': '6dzz9d', 'title': \"Can't even get off the starting block with an asp application\", 'author': 'zeugma25', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'Here is [the result](http:\/\/imgur.com\/X7h91ro). Looks like a key dll is not being created - i haven\\'t done a web app for 15 years and this level of complexity is new to me. i tried finding a copy of the dll named and inserting it in the project folder but there is no file called \"WebApplication.dll.config.DLL.\" i also tried reinstalling visual studio to start from scratch, but nothing doing.\\n\\nAny ideas would be gratefully received', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': 1496060507}"}
{"id":"370015","text":"Title: Can non-US citizens interview in the US?\nThe text below was posted in an online community called cscareerquestions in the year 2017:\n\nI got an on-site interview invitation to a company in the US, but I'm not a US citizen. I'm physically in Canada rn, but I'm not a Canadian citizen either (an international student here). I have visitor's visa (B1\/B2) and went down there once. Does anyone know if I will be able to interview in the States? Thanks!","meta":"{'source': 'reddit_posts', 'id': '75c0r5', 'title': 'Can non-US citizens interview in the US?', 'author': 'csbubbletea', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"I got an on-site interview invitation to a company in the US, but I'm not a US citizen. I'm physically in Canada rn, but I'm not a Canadian citizen either (an international student here). I have visitor's visa (B1\/B2) and went down there once. Does anyone know if I will be able to interview in the States? Thanks!\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 3, 'created_utc': 1507581643}"}
{"id":"7019","text":"Title: Does anyone experience slow internet after waking up from sleep?\nThe text below was posted in an online community called windows in the year 2018:\n\nI thought my ethernet cable had issue so I bought a new one yesterday and I just noticed that my internet became slow after waking up from sleep. It went down from 200mbps to 20mbps after waking up from sleep so I have to restart my computer to get the normal speed again. I used [testmy.net](https:\/\/testmy.net) to test my internet speed.\n\nI have Windows 1803","meta":"{'source': 'reddit_posts', 'id': '8jr4ng', 'title': 'Does anyone experience slow internet after waking up from sleep?', 'author': 'suonialliv', 'subreddit': 'windows', 'subreddit_id': '2qh3k', 'body': 'I thought my ethernet cable had issue so I bought a new one yesterday and I just noticed that my internet became slow after waking up from sleep. It went down from 200mbps to 20mbps after waking up from sleep so I have to restart my computer to get the normal speed again. I used [testmy.net](https:\/\/testmy.net) to test my internet speed.\\n\\nI have Windows 1803', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 0, 'created_utc': 1526434864}"}
{"id":"1902909","text":"Title: App Store and iTunes down?\nThe text below was posted in an online community called apple in the year 2018:\n\nCant get access to either in the UK, was streaming from iTunes on the Apple TV and it suddenly cut out. \n\nEDIT: Apple Music is down as well. \n\nEDIT 2: [Apple System Status](https:\/\/www.apple.com\/uk\/support\/systemstatus\/)\n\nEDIT 3: Apple Pay seems to be down too. \n\nEDIT 4: Everything seems to be back up and running.","meta":"{'source': 'reddit_posts', 'id': '9yyifd', 'title': 'App Store and iTunes down?', 'author': 'AJMcCoy612', 'subreddit': 'apple', 'subreddit_id': '2qh1f', 'body': 'Cant get access to either in the UK, was streaming from iTunes on the Apple TV and it suddenly cut out. \\n\\nEDIT: Apple Music is down as well. \\n\\nEDIT 2: [Apple System Status](https:\/\/www.apple.com\/uk\/support\/systemstatus\/)\\n\\nEDIT 3: Apple Pay seems to be down too. \\n\\nEDIT 4: Everything seems to be back up and running.', 'body_is_trimmed': False, 'score': 900, 'over_18': False, 'num_comments': 191, 'created_utc': 1542763261}"}
{"id":"788488","text":"Title: Help formatting an SD card to run Arch Linux\nThe text below was posted in an online community called raspberry_pi in the year 2015:\n\nHey everyone I'm new to Raspberry Pi just got my Model B 1GB for a class I'm taking. I have instructions to format an 8gb SD card on a linux machine to accommodate the Arch Linux OS. My problem is I can not for the life of me figure out how to mount my USB SD card reader on the linux machine. I am working in a computer lab so I don't think I have sufficient privileges to mount  a USB device manually. It's frustrating as with the long weekend I am expected to show up to the next class with my Pi working. Any help would be greatly appreciated. I believe that my lab's systems run CentOS, if that's important.","meta":"{'source': 'reddit_posts', 'id': '3jwr8i', 'title': 'Help formatting an SD card to run Arch Linux', 'author': 'TyeDyeShirtKid', 'subreddit': 'raspberry_pi', 'subreddit_id': '2syto', 'body': \"Hey everyone I'm new to Raspberry Pi just got my Model B 1GB for a class I'm taking. I have instructions to format an 8gb SD card on a linux machine to accommodate the Arch Linux OS. My problem is I can not for the life of me figure out how to mount my USB SD card reader on the linux machine. I am working in a computer lab so I don't think I have sufficient privileges to mount  a USB device manually. It's frustrating as with the long weekend I am expected to show up to the next class with my Pi working. Any help would be greatly appreciated. I believe that my lab's systems run CentOS, if that's important.\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 8, 'created_utc': '1441581777'}"}
{"id":"1704896","text":"Title: Windows Spotlight is not working (light gray, internet is connected)\nThe text below was posted in an online community called Windows10 in the year 2016:\n\nAfter I didn't have the Spotlight option at all https:\/\/www.reddit.com\/r\/Windows10\/comments\/49yj30\/how_can_i_enable_windows_spotlight_new_daily\/ I updated Windows 10 Pro to build 10586.164 and I could select Windows Spotlight in the Lock Screen Settings. Except it kept showing the \"Picture\" that was set under Picture, even if the Settings - Personalization - Lock Screen showed a correct preview of the Spotlight image.\n\nI googled around and found (multiple) instructions to delete all the files in C:\\Users\\Username\\AppData\\Local\\Packages\\Microsoft.Windows.ContentDeliveryManager_somerandomstuff\\LocalState\n\nThat only seems to have broken it more.. now it won't even fetch the spotlight image and just shows gray. I've rebooted twice.\n\nhttp:\/\/imgur.com\/CLjI29O\n\nHow do I enable Spotlight??","meta":"{'source': 'reddit_posts', 'id': '4ajgld', 'title': 'Windows Spotlight is not working (light gray, internet is connected)', 'author': 'hwknd', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': 'After I didn\\'t have the Spotlight option at all https:\/\/www.reddit.com\/r\/Windows10\/comments\/49yj30\/how_can_i_enable_windows_spotlight_new_daily\/ I updated Windows 10 Pro to build 10586.164 and I could select Windows Spotlight in the Lock Screen Settings. Except it kept showing the \"Picture\" that was set under Picture, even if the Settings - Personalization - Lock Screen showed a correct preview of the Spotlight image.\\n\\nI googled around and found (multiple) instructions to delete all the files in C:\\\\Users\\\\Username\\\\AppData\\\\Local\\\\Packages\\\\Microsoft.Windows.ContentDeliveryManager_somerandomstuff\\\\LocalState\\n\\nThat only seems to have broken it more.. now it won\\'t even fetch the spotlight image and just shows gray. I\\'ve rebooted twice.\\n\\nhttp:\/\/imgur.com\/CLjI29O\\n\\nHow do I enable Spotlight??', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 0, 'created_utc': 1458062942}"}
{"id":"1538307","text":"Title: Has anyone ever successfully shipped a game to Android using Cocos2D and Apportable?\nThe text below was posted in an online community called gamedev in the year 2014:\n\nI've been working on a game for a while, but I keep switching frameworks. I did a lot in Cocos2D (Obj-C), then had an affair with Sprite Kit. Then I tried Unity 2D. Then back to Sprite Kit with Swift, now back to Cocos2D in Obj-C. \n\nI've considered switching to Cocos2D-X because I really want to make a cross platform title, but I'm a bit rusty with C++.\n\nDoes anyone have experience with Apportable, and are there any big gotchas?\n\nedit: typos.","meta":"{'source': 'reddit_posts', 'id': '2ghyfp', 'title': 'Has anyone ever successfully shipped a game to Android using Cocos2D and Apportable?', 'author': 'GeneticSpecies', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': \"I've been working on a game for a while, but I keep switching frameworks. I did a lot in Cocos2D (Obj-C), then had an affair with Sprite Kit. Then I tried Unity 2D. Then back to Sprite Kit with Swift, now back to Cocos2D in Obj-C. \\n\\nI've considered switching to Cocos2D-X because I really want to make a cross platform title, but I'm a bit rusty with C++.\\n\\nDoes anyone have experience with Apportable, and are there any big gotchas?\\n\\nedit: typos.\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 4, 'created_utc': '1410816603'}"}
{"id":"1079339","text":"Title: cargo-outdated to see when new versions of deps are available\nThe text below was posted in an online community called rust in the year 2015:\n\nI've been playing with the idea of a `cargo-outdated` subcommand. So I put together a horribly hacky version...seriously the repo is a mess, not DRY at all, I just wanted it done, etc. But it works on my small tests.\n\nIf anyone wants to play with it, contribute, tear it apart, etc. Have at it!\n\nFor the interested, this current implementation simply uses `tempdir` and runs `cargo update` against a few times (well it's a *little* more complicated than that...but that's the birds eye view). I'd love to hook into actual `cargo` for a more robust solution, but alas time is finite!\n\nHere's the repo:\n\nhttps:\/\/github.com\/kbknapp\/cargo-outdated\n\n\nAn example run would look something like this:\n\n    $ cargo outdated\n    The following dependencies have newer versions available:\n\n    Name             Project Ver  SemVer Compat  Latest Ver\n    clap                1.0.0        1.0.3         1.1.6\n    ansi_term           0.5.0        0.5.2         0.6.3\n    clap-&gt;ansi_term     0.5.0        0.6.3           --  \n    \n    $ cargo outdated --root-deps-only\n    The following dependencies have newer versions available:\n\n    Name             Project Ver  SemVer Compat  Latest Ver\n    clap                1.0.0        1.0.3         1.1.6\n    ansi_term           0.5.0        0.5.2         0.6.3\n    \n    $ cargo outdated -p clap\n    The following dependencies have newer versions available:\n    \n    Name             Project Ver  SemVer Compat  Latest Ver\n    clap                1.0.0        1.0.3         1.1.6\n\nThere's a few more options, but you get the idea ;) I've never run it against any large projects...so it may blow up - fair warning!\n\nPS. You can see the `calp-&gt;ansi_term` SemVer\/Latest bug in the above...but that's minor to me.","meta":"{'source': 'reddit_posts', 'id': '3gk1ai', 'title': 'cargo-outdated to see when new versions of deps are available', 'author': 'Kbknapp', 'subreddit': 'rust', 'subreddit_id': '2s7lj', 'body': \"I've been playing with the idea of a `cargo-outdated` subcommand. So I put together a horribly hacky version...seriously the repo is a mess, not DRY at all, I just wanted it done, etc. But it works on my small tests.\\n\\nIf anyone wants to play with it, contribute, tear it apart, etc. Have at it!\\n\\nFor the interested, this current implementation simply uses `tempdir` and runs `cargo update` against a few times (well it's a *little* more complicated than that...but that's the birds eye view). I'd love to hook into actual `cargo` for a more robust solution, but alas time is finite!\\n\\nHere's the repo:\\n\\nhttps:\/\/github.com\/kbknapp\/cargo-outdated\\n\\n\\nAn example run would look something like this:\\n\\n    $ cargo outdated\\n    The following dependencies have newer versions available:\\n\\n    Name             Project Ver  SemVer Compat  Latest Ver\\n    clap                1.0.0        1.0.3         1.1.6\\n    ansi_term           0.5.0        0.5.2         0.6.3\\n    clap-&gt;ansi_term     0.5.0        0.6.3           --  \\n    \\n    $ cargo outdated --root-deps-only\\n    The following dependencies have newer versions available:\\n\\n    Name             Project Ver  SemVer Compat  Latest Ver\\n    clap                1.0.0        1.0.3         1.1.6\\n    ansi_term           0.5.0        0.5.2         0.6.3\\n    \\n    $ cargo outdated -p clap\\n    The following dependencies have newer versions available:\\n    \\n    Name             Project Ver  SemVer Compat  Latest Ver\\n    clap                1.0.0        1.0.3         1.1.6\\n\\nThere's a few more options, but you get the idea ;) I've never run it against any large projects...so it may blow up - fair warning!\\n\\nPS. You can see the `calp-&gt;ansi_term` SemVer\/Latest bug in the above...but that's minor to me.\", 'body_is_trimmed': False, 'score': 36, 'over_18': False, 'num_comments': 8, 'created_utc': '1439268703'}"}
{"id":"1268605","text":"Title: Computationally Intensive Programming Careers?\nThe text below was posted in an online community called cscareerquestions in the year 2017:\n\nI'm interesting in using computers to solve scientific and mathematical problems. As a career, I would like to help develop simulations and models to be run on supercomputers to help represent the atmosphere or to solve mathematical problems. \n\nIs this possible for someone pursuing a CS degree? It seems to me that researchers write programs to help them solve problems in their own work, typically without a programming background. \n\nI'm wondering if I can find a job creating simulations and models without a great amount of scientific or mathematical knowledge. Would I need to pursue a graduate degree in CS or in another field of interest? Are their jobs for what I described outside of academia?\n\nIn other words, can I make a contribution to the scientific community with a CS degree, or would it be best if I studied a field like biology, chemistry, or physics? What would be some good side-projects I could work on related to computational science?\n\nI've looked into fields like bioinformatics and machine learning, but both seem to require a significant amount of domain knowledge. I would like to focus on solving problems programmatically and optimizing efficiency of the program. \n\nI would really appreciate any insights from anyone with experience working on projects like this.","meta":"{'source': 'reddit_posts', 'id': '6hb06t', 'title': 'Computationally Intensive Programming Careers?', 'author': 'kxqbz', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"I'm interesting in using computers to solve scientific and mathematical problems. As a career, I would like to help develop simulations and models to be run on supercomputers to help represent the atmosphere or to solve mathematical problems. \\n\\nIs this possible for someone pursuing a CS degree? It seems to me that researchers write programs to help them solve problems in their own work, typically without a programming background. \\n\\nI'm wondering if I can find a job creating simulations and models without a great amount of scientific or mathematical knowledge. Would I need to pursue a graduate degree in CS or in another field of interest? Are their jobs for what I described outside of academia?\\n\\nIn other words, can I make a contribution to the scientific community with a CS degree, or would it be best if I studied a field like biology, chemistry, or physics? What would be some good side-projects I could work on related to computational science?\\n\\nI've looked into fields like bioinformatics and machine learning, but both seem to require a significant amount of domain knowledge. I would like to focus on solving problems programmatically and optimizing efficiency of the program. \\n\\nI would really appreciate any insights from anyone with experience working on projects like this.\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 2, 'created_utc': 1497479813}"}
{"id":"1830047","text":"Title: Apple support failed, looking for next steps...\nThe text below was posted in an online community called apple in the year 2017:\n\nI have a late-2013 Macbook Pro Retina. It's fully loaded, 16gb ram, 1TB SSD, nVidia GeForce GT 750m... I love this beast, it converted me to being a \"Mac guy\"...\n\nThe last month it's been turning off suddenly. Hanging and then shutting down. It's infuriating and troublesome. I ran diagnostics, turned up nothing. I re-installed OS and it kept crashing. I took it to the Genius Bar and they did the on-the-spot diagnostics and found nothing (I was on holidays so I didn't want to give it in). I get home, re-install my TimeMachine backup (might as well, if it's still gonna crash) and give it in for repairs. My AppleCare had expired so I had to pay out of pocket.\n\nMy symptoms were that it would hang, I would hear the fans spin very loud and then the computer would turn off. So probably a relatively simple heat issue, right? Well, it crashed a buncha times even when it was cool. Anyway, I give it in and they said either the heat-sink or the Logic Board might need to be changed, but when they gave the laptop back to me (after a painfully long 10 days), they had only replaced the bottom plate of the frame and the heatsink and said it was all good. I paid and went home... I use the laptop for 2 hours and it crashed again! And five times since then.\n\nI'm at wit's end - what could possibly be the problem? I've found the ASD EFI suite (which their pros use) for my laptop model and ran the diag myself off a boot drive... it found nothing wrong! But something is clearly wrong. I don't want to go back to the Genius Bar and demand they change my Logic Board if it's not the Logic Board. That's not cheap...\n\nWhat can I do? This feel so helpless. \n\ntl;dr Anyone have this: A MBP that randomly hangs\/crashes and turns off? I paid and nonetheless Apple Service didn't fix the issue. What can I do now?","meta":"{'source': 'reddit_posts', 'id': '6loy9n', 'title': 'Apple support failed, looking for next steps...', 'author': 'WhiskeySeven', 'subreddit': 'apple', 'subreddit_id': '2qh1f', 'body': 'I have a late-2013 Macbook Pro Retina. It\\'s fully loaded, 16gb ram, 1TB SSD, nVidia GeForce GT 750m... I love this beast, it converted me to being a \"Mac guy\"...\\n\\nThe last month it\\'s been turning off suddenly. Hanging and then shutting down. It\\'s infuriating and troublesome. I ran diagnostics, turned up nothing. I re-installed OS and it kept crashing. I took it to the Genius Bar and they did the on-the-spot diagnostics and found nothing (I was on holidays so I didn\\'t want to give it in). I get home, re-install my TimeMachine backup (might as well, if it\\'s still gonna crash) and give it in for repairs. My AppleCare had expired so I had to pay out of pocket.\\n\\nMy symptoms were that it would hang, I would hear the fans spin very loud and then the computer would turn off. So probably a relatively simple heat issue, right? Well, it crashed a buncha times even when it was cool. Anyway, I give it in and they said either the heat-sink or the Logic Board might need to be changed, but when they gave the laptop back to me (after a painfully long 10 days), they had only replaced the bottom plate of the frame and the heatsink and said it was all good. I paid and went home... I use the laptop for 2 hours and it crashed again! And five times since then.\\n\\nI\\'m at wit\\'s end - what could possibly be the problem? I\\'ve found the ASD EFI suite (which their pros use) for my laptop model and ran the diag myself off a boot drive... it found nothing wrong! But something is clearly wrong. I don\\'t want to go back to the Genius Bar and demand they change my Logic Board if it\\'s not the Logic Board. That\\'s not cheap...\\n\\nWhat can I do? This feel so helpless. \\n\\ntl;dr Anyone have this: A MBP that randomly hangs\/crashes and turns off? I paid and nonetheless Apple Service didn\\'t fix the issue. What can I do now?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 20, 'created_utc': 1499376141}"}
{"id":"1984029","text":"Title: Please share your thoughts on my next career move\nThe text below was posted in an online community called cscareerquestions in the year 2019:\n\nI live in Sydney and in here we got only a few good tech company. The best local one is Atlassian, which is the one I recently failed, for iOS role.\n\nI have been doing iOS development for near 5 years. My 5-10 years goal is definitely the big tech company like google, amazon, because I love being a tech expert.\n\nWhat bothers me a lot is, I dont know what would I spend my spare time on. It might sound pretty stupid, but seriously I dont know, if I should choose going deep in iOS path or data structure and algorithm path. In Sydney theres really not many companies even care about data structure and algorithm, not even Atlassian anymore now. That means, if I cant get to google and amazon, probably the time I spent means nothing (aside of what made me improved). But if I keep going deeper on iOS I believe that eventually I can go to atlassian, at least worst case scenario, I never had any problem get offer from start ups, banks, media companies, but to be honest, its not my interest.\n\nUnlike living in America, I heard so many companies focused on data structure and algorithm a lot, means even you dont get to google at the first time you still have some fallback. But in here, theres really nothing.. \n\nI am really inclined to make a plan to study data structure and algorithm for half year to one year. But I guess I am just scared, if I cant get the job in google and amazon in Australia. My iOS skill that didnt get invested in, cant bring me any better opportunities.\n\nSorry that I may describe my feeling in a strange way, but I truly want to hear what you guys thoughts are if you are in this situation.","meta":"{'source': 'reddit_posts', 'id': 'aqwtm2', 'title': 'Please share your thoughts on my next career move', 'author': 'colafroth', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': 'I live in Sydney and in here we got only a few good tech company. The best local one is Atlassian, which is the one I recently failed, for iOS role.\\n\\nI have been doing iOS development for near 5 years. My 5-10 years goal is definitely the big tech company like google, amazon, because I love being a tech expert.\\n\\nWhat bothers me a lot is, I dont know what would I spend my spare time on. It might sound pretty stupid, but seriously I dont know, if I should choose going deep in iOS path or data structure and algorithm path. In Sydney theres really not many companies even care about data structure and algorithm, not even Atlassian anymore now. That means, if I cant get to google and amazon, probably the time I spent means nothing (aside of what made me improved). But if I keep going deeper on iOS I believe that eventually I can go to atlassian, at least worst case scenario, I never had any problem get offer from start ups, banks, media companies, but to be honest, its not my interest.\\n\\nUnlike living in America, I heard so many companies focused on data structure and algorithm a lot, means even you dont get to google at the first time you still have some fallback. But in here, theres really nothing.. \\n\\nI am really inclined to make a plan to study data structure and algorithm for half year to one year. But I guess I am just scared, if I cant get the job in google and amazon in Australia. My iOS skill that didnt get invested in, cant bring me any better opportunities.\\n\\nSorry that I may describe my feeling in a strange way, but I truly want to hear what you guys thoughts are if you are in this situation.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1550239249}"}
{"id":"2235625","text":"Title: Is there a way something markdown-mode that will automatically export a file every time it's saved?\nThe text below was posted in an online community called emacs in the year 2014:\n\nSometimes, I like to keep the exported html open in a browser window. So, I'd like it so that I can save the file, and have it automatically exported to html, so that I can just refresh in the browser, without having to first export the file.","meta":"{'source': 'reddit_posts', 'id': '2aoerx', 'title': \"Is there a way something markdown-mode that will automatically export a file every time it's saved?\", 'author': 'goodevilgenius', 'subreddit': 'emacs', 'subreddit_id': '2qhwu', 'body': \"Sometimes, I like to keep the exported html open in a browser window. So, I'd like it so that I can save the file, and have it automatically exported to html, so that I can just refresh in the browser, without having to first export the file.\", 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 19, 'created_utc': '1405355153'}"}
{"id":"1875729","text":"Title: HELP do I have a virus?\nThe text below was posted in an online community called mac in the year 2018:\n\nOk so watching films online as you do. I closed the lid, then opened it about 2 mins later; some flash updater drive had connected. I dragged it to the trash, it disconnected, and then my mac slowed down so much that it froze when I tried to open a chrome tab, so I had to manually turn off the mac and then restart it. It's now running fine, and I'm combing through it with BitDefender. Anything to be concerned about?\n\nTy xx","meta":"{'source': 'reddit_posts', 'id': '9fj7v4', 'title': 'HELP do I have a virus?', 'author': 'SimoneTheBone', 'subreddit': 'mac', 'subreddit_id': '2qh4u', 'body': \"Ok so watching films online as you do. I closed the lid, then opened it about 2 mins later; some flash updater drive had connected. I dragged it to the trash, it disconnected, and then my mac slowed down so much that it froze when I tried to open a chrome tab, so I had to manually turn off the mac and then restart it. It's now running fine, and I'm combing through it with BitDefender. Anything to be concerned about?\\n\\nTy xx\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 4, 'created_utc': 1536854307}"}
{"id":"1867633","text":"Title: Is there some sort of 'universal copy' application for windows?\nThe text below was posted in an online community called Windows10 in the year 2020:\n\nOn smartphones, you often run into text which you cannot copy and the app [universal copy](https:\/\/play.google.com\/store\/apps\/details?id=com.camel.corp.universalcopy) enables you to do so anyways.\n\nIt there a program that does the same for a Windows PC?","meta":"{'source': 'reddit_posts', 'id': 'jmas8s', 'title': \"Is there some sort of 'universal copy' application for windows?\", 'author': 'Zajum', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': 'On smartphones, you often run into text which you cannot copy and the app [universal copy](https:\/\/play.google.com\/store\/apps\/details?id=com.camel.corp.universalcopy) enables you to do so anyways.\\n\\nIt there a program that does the same for a Windows PC?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': 1604267212}"}
{"id":"1080829","text":"Title: Help: IndexError: list index out of range\nThe text below was posted in an online community called learnpython in the year 2019:\n\nHi, \n\nI've been trying to fix this 'IndexError: list index out of range' for days now. \n\nI'm trying to compare two lists as the code below. \n\n    #compare slcsp zips with zips.cs zips and collect correspoding state and rate_area\n        zips_state = []\n        slcsp_zips_col = 0\n        zips_zips_col = 0\n    \n        while slcsp_zips_col &lt;= len(slcsp_zips):\n            for xx in range(len(zips_zips)):\n                while slcsp_zips[slcsp_zips_col] != zips_zips[zips_zips_col]:\n                    zips_zips_col += 1\n                if slcsp_zips[slcsp_zips_col] == zips_zips[zips_zips_col]:\n                    zips_state.append(zips_data[zips_zips_col][1])\n                    slcsp_zips_col += 1\n                    zips_zips_col = 0\n        print(zips_state)\n\nI think the cause is from the 'slcsp\\_zips\\_col' increment; but I can't seem to find a solution.\n\nCan you please help me check what's wrong with this code. Thanks.  \nThe full code can be found here &gt;&gt; [https:\/\/bitbucket.org\/ebereorisi\/slcsp\/src\/master\/](https:\/\/bitbucket.org\/ebereorisi\/slcsp\/src\/master\/)","meta":"{'source': 'reddit_posts', 'id': 'c8haay', 'title': 'Help: IndexError: list index out of range', 'author': 'e_o_a', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': \"Hi, \\n\\nI've been trying to fix this 'IndexError: list index out of range' for days now. \\n\\nI'm trying to compare two lists as the code below. \\n\\n    #compare slcsp zips with zips.cs zips and collect correspoding state and rate_area\\n        zips_state = []\\n        slcsp_zips_col = 0\\n        zips_zips_col = 0\\n    \\n        while slcsp_zips_col &lt;= len(slcsp_zips):\\n            for xx in range(len(zips_zips)):\\n                while slcsp_zips[slcsp_zips_col] != zips_zips[zips_zips_col]:\\n                    zips_zips_col += 1\\n                if slcsp_zips[slcsp_zips_col] == zips_zips[zips_zips_col]:\\n                    zips_state.append(zips_data[zips_zips_col][1])\\n                    slcsp_zips_col += 1\\n                    zips_zips_col = 0\\n        print(zips_state)\\n\\nI think the cause is from the 'slcsp\\\\_zips\\\\_col' increment; but I can't seem to find a solution.\\n\\nCan you please help me check what's wrong with this code. Thanks.  \\nThe full code can be found here &gt;&gt; [https:\/\/bitbucket.org\/ebereorisi\/slcsp\/src\/master\/](https:\/\/bitbucket.org\/ebereorisi\/slcsp\/src\/master\/)\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1562113516}"}
{"id":"978531","text":"Title: RHEL 8 CPU fan ramps up when monitor disconnected\nThe text below was posted in an online community called linuxquestions in the year 2022:\n\nHi all,\n\nSorry, weird problem here and I'm hoping someone can help.  I have a fresh RHEL 8.5 'minimal' install on a Dell Optiplex 7070, which goes fine, but as soon as I disconnect the monitor I had connected for initial setup, the CPU fan starts ramping up to full speed, and then 'hunts' up and down seemingly forever.  If I reconnect the screen the fan goes back to silent immediately.  Where this machine is going it needs to be able to run without a monitor.\n\nI feel like I'm relatively experienced with Linux on all manner of devices, but this one has me stumped.  Is anyone able to point me in any direction for a resolution to this one?\n\nThe Optiplex is on its latest BIOS, and I've even reinstalled RHEL simply because I was so flummoxed I didn't know what else to do!\n\nThe monitor is just an old Dell 23\" on a VGA connection.  Any ideas very gratefully accepted.  If you need any more info please let me know.  Thanks!","meta":"{'source': 'reddit_posts', 'id': 'v07exl', 'title': 'RHEL 8 CPU fan ramps up when monitor disconnected', 'author': 'tempotempohouse', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': 'Hi all,\\n\\nSorry, weird problem here and I\\'m hoping someone can help.  I have a fresh RHEL 8.5 \\'minimal\\' install on a Dell Optiplex 7070, which goes fine, but as soon as I disconnect the monitor I had connected for initial setup, the CPU fan starts ramping up to full speed, and then \\'hunts\\' up and down seemingly forever.  If I reconnect the screen the fan goes back to silent immediately.  Where this machine is going it needs to be able to run without a monitor.\\n\\nI feel like I\\'m relatively experienced with Linux on all manner of devices, but this one has me stumped.  Is anyone able to point me in any direction for a resolution to this one?\\n\\nThe Optiplex is on its latest BIOS, and I\\'ve even reinstalled RHEL simply because I was so flummoxed I didn\\'t know what else to do!\\n\\nThe monitor is just an old Dell 23\" on a VGA connection.  Any ideas very gratefully accepted.  If you need any more info please let me know.  Thanks!', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 2, 'created_utc': 1653815670}"}
{"id":"238233","text":"Title: Audio redirect with Pulse\nThe text below was posted in an online community called linuxquestions in the year 2020:\n\nCan you please tell me what I would have to do to (in PulseAudio)\n\n1. Create a virtual audio device with both an in and an out\n2. Make the VAD's output go thru my headphones and also an application\n3. Make all this permanent\n\nI am an Ubernoob trying to replicate the way that I used Voicemeeter.","meta":"{'source': 'reddit_posts', 'id': 'jz7vin', 'title': 'Audio redirect with Pulse', 'author': 'Sir_Axolot12345', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': \"Can you please tell me what I would have to do to (in PulseAudio)\\n\\n1. Create a virtual audio device with both an in and an out\\n2. Make the VAD's output go thru my headphones and also an application\\n3. Make all this permanent\\n\\nI am an Ubernoob trying to replicate the way that I used Voicemeeter.\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 0, 'created_utc': 1606094209}"}
{"id":"806410","text":"Title: Use .csv content as variable?\nThe text below was posted in an online community called PowerShell in the year 2021:\n\nHey guys,\n\nI'm relatively new to my company and documentation has been pretty sparse until a few months ago and I got the task that they want to start a list on their side as well of who is currently a member of specific AD groups (printer, specific software, fileserver, etc).\n\nI'm super new to PowerShell so this is the best I could do so far: \n\n    -getAdGroupMember -Identity \"$Group\" | select name | Export-Csv -path c:\\Folder\\$Group.csv\n\nI was curious if there was a way for me to export all the groups in a specific OU and then use this list\/.csv as a variable for a \"script\" that would execute that line with every entry in the list?\n\nI did try to google this but I was a bit overwhelmed with what I found.\n\nThanks for your help.","meta":"{'source': 'reddit_posts', 'id': 'nm8e3q', 'title': 'Use .csv content as variable?', 'author': 'AlphaLoeffel', 'subreddit': 'PowerShell', 'subreddit_id': '2qo1o', 'body': 'Hey guys,\\n\\nI\\'m relatively new to my company and documentation has been pretty sparse until a few months ago and I got the task that they want to start a list on their side as well of who is currently a member of specific AD groups (printer, specific software, fileserver, etc).\\n\\nI\\'m super new to PowerShell so this is the best I could do so far: \\n\\n    -getAdGroupMember -Identity \"$Group\" | select name | Export-Csv -path c:\\\\Folder\\\\$Group.csv\\n\\nI was curious if there was a way for me to export all the groups in a specific OU and then use this list\/.csv as a variable for a \"script\" that would execute that line with every entry in the list?\\n\\nI did try to google this but I was a bit overwhelmed with what I found.\\n\\nThanks for your help.', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 6, 'created_utc': 1622124845}"}
{"id":"1471704","text":"Title: What happens if I dont upgrade MacOS?\nThe text below was posted in an online community called MacOS in the year 2021:\n\nI have two Apple computers; one is an iMac Pro, and the other is a 2019 MacBook Air.\n\nSome time last year I decided to upgrade from Mojave to Big Sur on my iMac Pro and it caused my computer to freeze once every 2-3 days, or when I was using it, and I would have to force shut it down then reboot it. Im certain this was a Big Sur issue because nothing like this happened when I was using Mojave on it.\n\nI did a downgrade to Catalina to try to fix this but that had its own issues too, then the Apple Support team recommended I go back to Big Sur. Its been about 2 weeks and the only issue that happened was a kernel panic.\n\nNow onto my MacBook Air. Its still on Mojave and Im extremely scared and against upgrading it to Big Sur because of the negative experience I had with Big Sur on my iMac. \n\nI understand that Mojave support is likely going to end sometime end of this year, so I wanna know what could happen if I do not upgrade my MacOS to the latest version, like are there any security risks? And what happens if I choose to upgrade it to a later version of software after Apple stops support of Mojave? Will there be any consequences?","meta":"{'source': 'reddit_posts', 'id': 'nx8kp6', 'title': 'What happens if I dont upgrade MacOS?', 'author': 'azy_ki', 'subreddit': 'MacOS', 'subreddit_id': '2s2gv', 'body': 'I have two Apple computers; one is an iMac Pro, and the other is a 2019 MacBook Air.\\n\\nSome time last year I decided to upgrade from Mojave to Big Sur on my iMac Pro and it caused my computer to freeze once every 2-3 days, or when I was using it, and I would have to force shut it down then reboot it. Im certain this was a Big Sur issue because nothing like this happened when I was using Mojave on it.\\n\\nI did a downgrade to Catalina to try to fix this but that had its own issues too, then the Apple Support team recommended I go back to Big Sur. Its been about 2 weeks and the only issue that happened was a kernel panic.\\n\\nNow onto my MacBook Air. Its still on Mojave and Im extremely scared and against upgrading it to Big Sur because of the negative experience I had with Big Sur on my iMac. \\n\\nI understand that Mojave support is likely going to end sometime end of this year, so I wanna know what could happen if I do not upgrade my MacOS to the latest version, like are there any security risks? And what happens if I choose to upgrade it to a later version of software after Apple stops support of Mojave? Will there be any consequences?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 39, 'created_utc': 1623390436}"}
{"id":"2077403","text":"Title: Help with 10Gb Switch Performance\nThe text below was posted in an online community called networking in the year 2019:\n\n&lt;SOLVED !&gt; I manage IT for a SMB company.  Most of my background is Systems.  I inherited the current setup and I have been cleaning it up slowly.  I have two 10Gb switches being used for our Dell\/EMC VxRail cluster (3 node).  A few VLANs setup for vsan, vmotion.\n\nWhat I am trying to figure out is why if two machines (not part of the cluster) with 10Gb NICs only get 115MB\/s throughput when copying files.  Backups to a NAS with a 10Gb NIC max out at 200MB\/s.  The two 10Gb switches do have uplinks to the existing 1Gb switches where workstations\/printers\/etc are connected.  It almost seems as if the path of the data is leaving the 10Gb switch and going through the 1Gb switches and back.  Any ideas would be appreciated.  Thanks!","meta":"{'source': 'reddit_posts', 'id': 'cxghr5', 'title': 'Help with 10Gb Switch Performance', 'author': 'kp5150', 'subreddit': 'networking', 'subreddit_id': '2qkaf', 'body': '&lt;SOLVED !&gt; I manage IT for a SMB company.  Most of my background is Systems.  I inherited the current setup and I have been cleaning it up slowly.  I have two 10Gb switches being used for our Dell\/EMC VxRail cluster (3 node).  A few VLANs setup for vsan, vmotion.\\n\\nWhat I am trying to figure out is why if two machines (not part of the cluster) with 10Gb NICs only get 115MB\/s throughput when copying files.  Backups to a NAS with a 10Gb NIC max out at 200MB\/s.  The two 10Gb switches do have uplinks to the existing 1Gb switches where workstations\/printers\/etc are connected.  It almost seems as if the path of the data is leaving the 10Gb switch and going through the 1Gb switches and back.  Any ideas would be appreciated.  Thanks!', 'body_is_trimmed': False, 'score': 45, 'over_18': False, 'num_comments': 101, 'created_utc': 1567169483}"}
{"id":"933989","text":"Title: How does the M1 macbook air perform for you?\nThe text below was posted in an online community called mac in the year 2021:\n\nI'm shocked about the fact that it has no fan. But what does that mean performance wise?  Does it feel limited compared to an Intel Mac or do you see no difference?","meta":"{'source': 'reddit_posts', 'id': 'mgqw6z', 'title': 'How does the M1 macbook air perform for you?', 'author': 'Possession-Tasty', 'subreddit': 'mac', 'subreddit_id': '2qh4u', 'body': \"I'm shocked about the fact that it has no fan. But what does that mean performance wise?  Does it feel limited compared to an Intel Mac or do you see no difference?\", 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 20, 'created_utc': 1617140918}"}
{"id":"485432","text":"Title: Make scrolling like Windows scroll?\nThe text below was posted in an online community called mac in the year 2022:\n\nHey, I'm fairly new to Mac, and I've tried to get used to the way scrolling works, but I just can't. I use a Logitech mouse and scrolling either moves painfully slowly OR so quickly that I end up halfway down the page past where I was trying to go. I guess on a PC, mouse scrolling moves a certain static amount of space, rather than a dynamic amount based on wheel speed?\n\nI'm looking for a fix for this. Is Smooze a good option? Turning off scroll acceleration is supposedly a free feature in the app. Would this make scrolling work similarly to scrolling on a PC?\n\nI find it annoying that there's no way to turn this \"feature\" off in settings.","meta":"{'source': 'reddit_posts', 'id': 'vdht03', 'title': 'Make scrolling like Windows scroll?', 'author': 'dubious_unicorn', 'subreddit': 'mac', 'subreddit_id': '2qh4u', 'body': 'Hey, I\\'m fairly new to Mac, and I\\'ve tried to get used to the way scrolling works, but I just can\\'t. I use a Logitech mouse and scrolling either moves painfully slowly OR so quickly that I end up halfway down the page past where I was trying to go. I guess on a PC, mouse scrolling moves a certain static amount of space, rather than a dynamic amount based on wheel speed?\\n\\nI\\'m looking for a fix for this. Is Smooze a good option? Turning off scroll acceleration is supposedly a free feature in the app. Would this make scrolling work similarly to scrolling on a PC?\\n\\nI find it annoying that there\\'s no way to turn this \"feature\" off in settings.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 9, 'created_utc': 1655370994}"}
{"id":"332532","text":"Title: [Help] When I go to several different websites, I automatically get the crappy mobile version of the site.\nThe text below was posted in an online community called chrome in the year 2013:\n\nHow did this happen? How can I fix it? I can use other browsers and the sites work normally but I like chrome so much better....\n\nThank in advance.","meta":"{'source': 'reddit_posts', 'id': '19pet5', 'title': '[Help] When I go to several different websites, I automatically get the crappy mobile version of the site.', 'author': 'tr3k', 'subreddit': 'chrome', 'subreddit_id': '2qlz9', 'body': 'How did this happen? How can I fix it? I can use other browsers and the sites work normally but I like chrome so much better....\\n\\nThank in advance.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 3, 'created_utc': 1362491006}"}
{"id":"963195","text":"Title: Understanding when to use Deep Learning (Titanic dataset)\nThe text below was posted in an online community called MLQuestions in the year 2017:\n\nHello, I'm trying to get a better sense on when to use deep learning. I understand that it's best when there's tons of data - so the algorithms can create enough features.  But so far it seems only to work well for \"monotonous\" data sets such as images, text and so on (based on my limited perspective).  \n\nSo my question is: what about more heterogeneous datasets? Take the famous Titanic dataset for instance.  If this were large enough, would Deep Learning outperform the more routine ML algorithms (randomforests, svm, etc.) - and if so, how big is \"large enough\"?  I'm guessing not, but I'm not sure why.\n\nThanks!","meta":"{'source': 'reddit_posts', 'id': '6rm6sn', 'title': 'Understanding when to use Deep Learning (Titanic dataset)', 'author': 'nothing_spatial', 'subreddit': 'MLQuestions', 'subreddit_id': '30rel', 'body': 'Hello, I\\'m trying to get a better sense on when to use deep learning. I understand that it\\'s best when there\\'s tons of data - so the algorithms can create enough features.  But so far it seems only to work well for \"monotonous\" data sets such as images, text and so on (based on my limited perspective).  \\n\\nSo my question is: what about more heterogeneous datasets? Take the famous Titanic dataset for instance.  If this were large enough, would Deep Learning outperform the more routine ML algorithms (randomforests, svm, etc.) - and if so, how big is \"large enough\"?  I\\'m guessing not, but I\\'m not sure why.\\n\\nThanks!', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 6, 'created_utc': 1501868966}"}
{"id":"2125060","text":"Title: Speeding up UTF-16 decoding\nThe text below was posted in an online community called golang in the year 2022:\n\nHi,\n\nI've been introducing a number of optimizations in one of my opensource projects that consumes events from the OS kernel, and after meticulous profiling, I've came to the conclusion the hotpath in the code is the [UTF-16 decoding](https:\/\/github.com\/rabbitstack\/fibratus\/blob\/92ae744de7f06a1bc8206ffd4068ffd52cc836a9\/pkg\/kevent\/kparams\/readers.go#L92) that can happen at the rate of 160K decoding requests per second.For this purpose, I rely on the stdlib [utf16.Decode](https:\/\/pkg.go.dev\/unicode\/utf16#Decode) function. From the cursory look, I think this function is pretty much succinct and efficient, and I don't really have any smart ideas on how to further boost the performance.\nI'm wondering if anyone is aware of some alternative and faster methods for UTF-16 decoding or could point me to some valuable resources?\nThanks in advance","meta":"{'source': 'reddit_posts', 'id': 'xjfizg', 'title': 'Speeding up UTF-16 decoding', 'author': 'rabbitstack', 'subreddit': 'golang', 'subreddit_id': '2rc7j', 'body': \"Hi,\\n\\nI've been introducing a number of optimizations in one of my opensource projects that consumes events from the OS kernel, and after meticulous profiling, I've came to the conclusion the hotpath in the code is the [UTF-16 decoding](https:\/\/github.com\/rabbitstack\/fibratus\/blob\/92ae744de7f06a1bc8206ffd4068ffd52cc836a9\/pkg\/kevent\/kparams\/readers.go#L92) that can happen at the rate of 160K decoding requests per second.For this purpose, I rely on the stdlib [utf16.Decode](https:\/\/pkg.go.dev\/unicode\/utf16#Decode) function. From the cursory look, I think this function is pretty much succinct and efficient, and I don't really have any smart ideas on how to further boost the performance.\\nI'm wondering if anyone is aware of some alternative and faster methods for UTF-16 decoding or could point me to some valuable resources?\\nThanks in advance\", 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 20, 'created_utc': 1663696290}"}
{"id":"1886177","text":"Title: Looking for help improving the overall look of my Subreddit.\nThe text below was posted in an online community called csshelp in the year 2014:\n\nMy little sub is growing and I want to improve its visual appeal so it stops looking like something I made in school on freewebs.\n\nThe sub is \/r\/DigimonMastersOnline , it's a sub dedicated to an Online MMO based around the Digimon franchise.\n\nI managed a backround image and few other bits, I'd like image flairs and the solid borders around posts like \/r\/zoids has.\n\nI'd also like to have a nice looking full border up the top of the page.\n\nAny help would be brilliant\n\nThank you.","meta":"{'source': 'reddit_posts', 'id': '24ommv', 'title': 'Looking for help improving the overall look of my Subreddit.', 'author': 'Kibaku', 'subreddit': 'csshelp', 'subreddit_id': '2roaw', 'body': \"My little sub is growing and I want to improve its visual appeal so it stops looking like something I made in school on freewebs.\\n\\nThe sub is \/r\/DigimonMastersOnline , it's a sub dedicated to an Online MMO based around the Digimon franchise.\\n\\nI managed a backround image and few other bits, I'd like image flairs and the solid borders around posts like \/r\/zoids has.\\n\\nI'd also like to have a nice looking full border up the top of the page.\\n\\nAny help would be brilliant\\n\\nThank you.\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 7, 'created_utc': '1399195701'}"}
{"id":"2077008","text":"Title: Looking for a Golang talk about Zero Downtime upgrades\nThe text below was posted in an online community called golang in the year 2017:\n\nI'm looking for a Go talk video link I have lost. I have seen it in 2014 and the main topic was about zero downtime upgrades in Go.\n\nThe guy in the video explained the concept and gave some snippets based on fork and exec. He mentioned also that this technic was older than him.\n\nImpossible to find in on Google. May be someone knows it here?","meta":"{'source': 'reddit_posts', 'id': '5nc2by', 'title': 'Looking for a Golang talk about Zero Downtime upgrades', 'author': '_yageek', 'subreddit': 'golang', 'subreddit_id': '2rc7j', 'body': \"I'm looking for a Go talk video link I have lost. I have seen it in 2014 and the main topic was about zero downtime upgrades in Go.\\n\\nThe guy in the video explained the concept and gave some snippets based on fork and exec. He mentioned also that this technic was older than him.\\n\\nImpossible to find in on Google. May be someone knows it here?\", 'body_is_trimmed': False, 'score': 10, 'over_18': False, 'num_comments': 11, 'created_utc': 1484140007}"}
{"id":"90815","text":"Title: What is draining the battery of my 2015 MBPr 13\"?\nThe text below was posted in an online community called mac in the year 2015:\n\nHi fellow redditors,\nvery recently I acquired a new MBPr 13\" and I am very troubled with the battery life I am receiving. My battery seems to drain really quickly around 5 hours while doing light web browsing and some occasional YouTube videos.\n\nWhat worries me most is, that after closing all my apps and having my battery charged to 100%, the estimated battery life given to me by my Mac is around 5h 30mins only. From my understanding this number is usually an over-estimate already.\n\nPlease help me find out what's draining my MacBook's battery! I will provide any information required! Thanks all!!!\n\nEdit: I use Safari as my primary web browser.","meta":"{'source': 'reddit_posts', 'id': '3e7d0x', 'title': 'What is draining the battery of my 2015 MBPr 13\"?', 'author': 'Keepitshut', 'subreddit': 'mac', 'subreddit_id': '2qh4u', 'body': 'Hi fellow redditors,\\nvery recently I acquired a new MBPr 13\" and I am very troubled with the battery life I am receiving. My battery seems to drain really quickly around 5 hours while doing light web browsing and some occasional YouTube videos.\\n\\nWhat worries me most is, that after closing all my apps and having my battery charged to 100%, the estimated battery life given to me by my Mac is around 5h 30mins only. From my understanding this number is usually an over-estimate already.\\n\\nPlease help me find out what\\'s draining my MacBook\\'s battery! I will provide any information required! Thanks all!!!\\n\\nEdit: I use Safari as my primary web browser.', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 19, 'created_utc': '1437577055'}"}
{"id":"622002","text":"Title: My MacBook Air story\nThe text below was posted in an online community called apple in the year 2013:\n\nI bought an MacBook Air for my wife for Christmas.  I bought a refurb, since money was a little tight and the 15% discount helped a great deal.\n\nThen Christmas came and we opened it up.  Did the Mavericks upgrade and found out the P key was a little messed up.\n\nDragged it to the Apple Store.  The guy told me it would need a top case replacement, which would take a week, since they don't have the part.  They couldn't swap it, because it was a refurb, and they told me to call 1-800-MY-APPLE.\n\nThe gentleman on the phone told me I would need to ship it back to Apple to get a replacement.  So, my sad wife packed up the Air in it's original box and we tossed it into a FedEx box around 3:30 PM yesterday.\n\nApple shipped the replacement THIS MORNING.  Soon as they saw the tracking number go active, they assumed that the Mac was on it's way back to them and sent out the replacement.  FedEx tracking says it will be here on Monday.\n\nWhat could have been a pretty long wait for my wife for her replacement MacBook Air, turned into a weekend wait.\n\nI'm impressed with Apple...","meta":"{'source': 'reddit_posts', 'id': '1twpdb', 'title': 'My MacBook Air story', 'author': 'plazman30', 'subreddit': 'apple', 'subreddit_id': '2qh1f', 'body': \"I bought an MacBook Air for my wife for Christmas.  I bought a refurb, since money was a little tight and the 15% discount helped a great deal.\\n\\nThen Christmas came and we opened it up.  Did the Mavericks upgrade and found out the P key was a little messed up.\\n\\nDragged it to the Apple Store.  The guy told me it would need a top case replacement, which would take a week, since they don't have the part.  They couldn't swap it, because it was a refurb, and they told me to call 1-800-MY-APPLE.\\n\\nThe gentleman on the phone told me I would need to ship it back to Apple to get a replacement.  So, my sad wife packed up the Air in it's original box and we tossed it into a FedEx box around 3:30 PM yesterday.\\n\\nApple shipped the replacement THIS MORNING.  Soon as they saw the tracking number go active, they assumed that the Mac was on it's way back to them and sent out the replacement.  FedEx tracking says it will be here on Monday.\\n\\nWhat could have been a pretty long wait for my wife for her replacement MacBook Air, turned into a weekend wait.\\n\\nI'm impressed with Apple...\", 'body_is_trimmed': False, 'score': 562, 'over_18': False, 'num_comments': 179, 'created_utc': 1388275256}"}
{"id":"2367505","text":"Title: Recursion is just Inception but with functions\nThe text below was posted in an online community called ProgrammerHumor in the year 2022:\n\nIs Christopher Nolan a programmer ?\n\n[https:\/\/www.reddit.com\/r\/ProgrammerHumor\/comments\/xir0tv\/recursion\\_is\\_just\\_inception\\_but\\_with\\_functions\/](https:\/\/www.reddit.com\/r\/ProgrammerHumor\/comments\/xir0tv\/recursion_is_just_inception_but_with_functions\/)","meta":"{'source': 'reddit_posts', 'id': 'xir0tv', 'title': 'Recursion is just Inception but with functions', 'author': 'Rcmz0', 'subreddit': 'ProgrammerHumor', 'subreddit_id': '2tex6', 'body': 'Is Christopher Nolan a programmer ?\\n\\n[https:\/\/www.reddit.com\/r\/ProgrammerHumor\/comments\/xir0tv\/recursion\\\\_is\\\\_just\\\\_inception\\\\_but\\\\_with\\\\_functions\/](https:\/\/www.reddit.com\/r\/ProgrammerHumor\/comments\/xir0tv\/recursion_is_just_inception_but_with_functions\/)', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 2, 'created_utc': 1663626904}"}
{"id":"771796","text":"Title: how do I scrape from a php site?\nThe text below was posted in an online community called webdev in the year 2013:\n\nI monitor a paging site http:\/\/urgmsg.net\/public.php.\nI want to be able to send myself an email every time a keyword (my location) pops up.\nI have looked at scrapy (I'm not clever enough yet), yahoo pipes (keep getting 403 response) .. suggestions? \n\nEDIT 1: Thanks redditors. I didn't even notice the RSS (been using this site for years - go figure). I will talk to the owner about adding SAAS feed to the RSS which is not currently there - that will solve it.","meta":"{'source': 'reddit_posts', 'id': '1dq2sj', 'title': 'how do I scrape from a php site?', 'author': 'algem', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': \"I monitor a paging site http:\/\/urgmsg.net\/public.php.\\nI want to be able to send myself an email every time a keyword (my location) pops up.\\nI have looked at scrapy (I'm not clever enough yet), yahoo pipes (keep getting 403 response) .. suggestions? \\n\\nEDIT 1: Thanks redditors. I didn't even notice the RSS (been using this site for years - go figure). I will talk to the owner about adding SAAS feed to the RSS which is not currently there - that will solve it.\", 'body_is_trimmed': False, 'score': 11, 'over_18': False, 'num_comments': 15, 'created_utc': 1367742423}"}
{"id":"611342","text":"Title: Comparing CSV A and B for matching values within column, then copying across values from adjacent column in CSV B to A\nThe text below was posted in an online community called PowerShell in the year 2020:\n\nHi, I was wondering if someone could help.\n\nI currently have 2 csv's that contain the following columns: \n\ncsv A: UID,LastLogon,Created\n\ncsv B: UID,LastLogon,Created\n\nI need to do some sort of Foreach where I am able search CSV B UID column with the values from the CSV A UID Column, and if there is a match migrate across the LastLogon value within CSV B to a new column in CSV A.\n\nAnyone know the best way to go about this?\n\nMany thanks.","meta":"{'source': 'reddit_posts', 'id': 'k9u4qc', 'title': 'Comparing CSV A and B for matching values within column, then copying across values from adjacent column in CSV B to A', 'author': 'dedmetal98', 'subreddit': 'PowerShell', 'subreddit_id': '2qo1o', 'body': \"Hi, I was wondering if someone could help.\\n\\nI currently have 2 csv's that contain the following columns: \\n\\ncsv A: UID,LastLogon,Created\\n\\ncsv B: UID,LastLogon,Created\\n\\nI need to do some sort of Foreach where I am able search CSV B UID column with the values from the CSV A UID Column, and if there is a match migrate across the LastLogon value within CSV B to a new column in CSV A.\\n\\nAnyone know the best way to go about this?\\n\\nMany thanks.\", 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 8, 'created_utc': 1607528665}"}
{"id":"2354676","text":"Title: Does anyone actually call people anymore?\nThe text below was posted in an online community called technology in the year 2011:\n\nI usually just use SMS. It seems as if phones are just a waste of time compared to texting... Which is odd because actually talking to someone takes a lot less time..","meta":"{'source': 'reddit_posts', 'id': 'lnpuy', 'title': 'Does anyone actually call people anymore?', 'author': 'swimfellow', 'subreddit': 'technology', 'subreddit_id': '2qh16', 'body': 'I usually just use SMS. It seems as if phones are just a waste of time compared to texting... Which is odd because actually talking to someone takes a lot less time..', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': 1319499417}"}
{"id":"1638996","text":"Title: To verify password or not to verify?\nThe text below was posted in an online community called webdev in the year 2012:\n\nI'm talking about the \"verify password\", \"repeat password\" or \"confirm password\" input fields for user registration. I'm wondering what other people think about it.\n\nI have done many projects with and many projects without password verification. For one of my more important personal projects, I have opted to leave out the extra field so I can put a clean, small signup form on the homepage.\n\nI think the cleaner UI is worth the inevitable percentage of people who mistype and will need to retrieve their password. I think it's especially important if you are going to put a registration form on your homepage.\n\nIt's also interesting to see what twitter has done - they have put a very simple registration form on the homepage which, when completed, leads to a second page which has extra fields (like TOS agreements, etc.). Personally, however, I like to have it be a 1-stop thing using ajax and a simple success message.","meta":"{'source': 'reddit_posts', 'id': 'xptz3', 'title': 'To verify password or not to verify?', 'author': 'cheaplol', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': 'I\\'m talking about the \"verify password\", \"repeat password\" or \"confirm password\" input fields for user registration. I\\'m wondering what other people think about it.\\n\\nI have done many projects with and many projects without password verification. For one of my more important personal projects, I have opted to leave out the extra field so I can put a clean, small signup form on the homepage.\\n\\nI think the cleaner UI is worth the inevitable percentage of people who mistype and will need to retrieve their password. I think it\\'s especially important if you are going to put a registration form on your homepage.\\n\\nIt\\'s also interesting to see what twitter has done - they have put a very simple registration form on the homepage which, when completed, leads to a second page which has extra fields (like TOS agreements, etc.). Personally, however, I like to have it be a 1-stop thing using ajax and a simple success message.', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 15, 'created_utc': 1344181669}"}
{"id":"1148403","text":"Title: Speedrun ANY%\nThe text below was posted in an online community called factorio in the year 2018:\n\nI'm reading the rules and just wanna make sure that when it says : \"free choice of map generator settings\", that means I can set the map to whatever I wish : terrain settings, biter settings, ore patch size\/richness, ect ?","meta":"{'source': 'reddit_posts', 'id': '9gklo4', 'title': 'Speedrun ANY%', 'author': 'extrenix', 'subreddit': 'factorio', 'subreddit_id': '2wabp', 'body': 'I\\'m reading the rules and just wanna make sure that when it says : \"free choice of map generator settings\", that means I can set the map to whatever I wish : terrain settings, biter settings, ore patch size\/richness, ect ?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 4, 'created_utc': 1537193238}"}
{"id":"962804","text":"Title: Gnome extensions bug on 19.04\nThe text below was posted in an online community called linux4noobs in the year 2019:\n\nHey guys!\nI've upgraded to ubuntu 19.04 lately and I have some bugs with some extensions. I've tried to uninstalled using Firefox because I had no trace of those extensions on my hardrive.\nAs it didn't make the job done I completely purge gnome-tweak, gnome-extensions as well as gnome-chrome and reinstall it all but these old extensions are still there when I reboot.\nIve tried pretty much everything I've found about that online but nothing made it done.\nI may be some config files or something but I don't know.\n\nThanks in advance","meta":"{'source': 'reddit_posts', 'id': 'bm4ps6', 'title': 'Gnome extensions bug on 19.04', 'author': 'dr_mxusse', 'subreddit': 'linux4noobs', 'subreddit_id': '2qy7t', 'body': \"Hey guys!\\nI've upgraded to ubuntu 19.04 lately and I have some bugs with some extensions. I've tried to uninstalled using Firefox because I had no trace of those extensions on my hardrive.\\nAs it didn't make the job done I completely purge gnome-tweak, gnome-extensions as well as gnome-chrome and reinstall it all but these old extensions are still there when I reboot.\\nIve tried pretty much everything I've found about that online but nothing made it done.\\nI may be some config files or something but I don't know.\\n\\nThanks in advance\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 6, 'created_utc': 1557318834}"}
{"id":"967947","text":"Title: Is there a way for Win10 to ask for confirmation before executing apps?\nThe text below was posted in an online community called Windows10 in the year 2020:\n\nI always misclick on Photoshop or Illustrator and then I have to wait for it to finish opening to close it.","meta":"{'source': 'reddit_posts', 'id': 'gzltqq', 'title': 'Is there a way for Win10 to ask for confirmation before executing apps?', 'author': 'dry-dragonfly', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': 'I always misclick on Photoshop or Illustrator and then I have to wait for it to finish opening to close it.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 4, 'created_utc': 1591704308}"}
{"id":"878778","text":"Title: Software for an organization, think 'teams' and 'sharepoint'\nThe text below was posted in an online community called opensource in the year 2022:\n\nHiya,\n\nLooking for self hosted software that would have the same functionalities as Teams and Sharepoint : \n\nchatting in rooms, filesharing, planning meetings, etc..\n\nIn short something that would help everybody to work together despite not being physically close.\n\nSomething that would be multiplatform is a must and really user friendly :)\n\nLooks like a christmas list but I'm open to test a lot of software to see what's best for us :)\n\nWe're a medium organization of a 100 people, non lucrative goal.\n\nExtra : if there are other apps that offer functionalities other than teams and sharepoint but useful for organization I'm eager to test them !\n\nThanks for reading !","meta":"{'source': 'reddit_posts', 'id': 'uxemm2', 'title': \"Software for an organization, think 'teams' and 'sharepoint'\", 'author': 'krpt', 'subreddit': 'opensource', 'subreddit_id': '2qh4n', 'body': \"Hiya,\\n\\nLooking for self hosted software that would have the same functionalities as Teams and Sharepoint : \\n\\nchatting in rooms, filesharing, planning meetings, etc..\\n\\nIn short something that would help everybody to work together despite not being physically close.\\n\\nSomething that would be multiplatform is a must and really user friendly :)\\n\\nLooks like a christmas list but I'm open to test a lot of software to see what's best for us :)\\n\\nWe're a medium organization of a 100 people, non lucrative goal.\\n\\nExtra : if there are other apps that offer functionalities other than teams and sharepoint but useful for organization I'm eager to test them !\\n\\nThanks for reading !\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 6, 'created_utc': 1653475651}"}
{"id":"26848","text":"Title: Questions on Full Disk Encryption\nThe text below was posted in an online community called archlinux in the year 2016:\n\nHello everyone, \n\nI'm new to Arch Linux after having used Ubuntu for a while, trying to learn as much as possible from documentation without asking too many questions. \n\nI'm interested in setting up Full Disk Encryption, following [this guide](https:\/\/www.howtoforge.com\/tutorial\/how-to-install-arch-linux-with-full-disk-encryption\/), but I don't know very much about encryption so I had some questions. \n\n* Is an encrypted swap necessary? This guide seems to omit making one, but I've just always had a swap partition so it feels strange not to have one. But I also have 16GB of RAM and I never suspend\/hibernate so I'm not even sure if swap ever actually gets used when I do have it. And from what I've found online it seems that setting up a properly functioning encrypted swap is kind of a pain. \n\n* Is it really necessary to shred the disks? At 3 iterations (guy in the guide did 15, seemed like a bit much), it took my 60GB SSD a few hours, but my 1TB HDD seemed like it was going to take days. I guess it wouldn't be in the guide if it wasn't necessary so the better question is, what is the purpose of doing this? What does it accomplish? \n\n* Theoretically, is it possible to have an encrypted Arch Linux installation dual booted with an unencrypted Windows installation, assuming that the UEFI partition stays unencrypted? I tried this with Ubuntu and just could not get it to work. \n\n* Is there any extra security risk with having an unencrypted UEFI partition? \n\nThanks in advance and sorry of these are dumb questions with obvious answers somewhere.\n\nEDIT:\n\nAnother question, in the [Security wiki](https:\/\/wiki.archlinux.org\/index.php\/List_of_applications\/Security#Screen_lockers) it says:\n\n&gt; Warning: Only sflock, physlock, Cinnamon Screensaver, MATE Screensaver and GNOME Screensaver are able to block tty access.\n\nSo suppose I did have an FDE system but I didn't use one of these aforementioned screensavers as a lockscreen (was thinking of using LightDM or i3lock), does this present a security risk? Because if the system is logged in, that means the drive is decrypted, therefore if an attacker were to gain tty access then the encryption would be completely bypassed wouldn't it?\n\nEDIT 2:\n\nIn reading the [Wiki on Encrypted Swap] ( https:\/\/wiki.archlinux.org\/index.php\/Dm-crypt\/Swap_encryption ), if I'm understanding correctly, it seems that using LVM makes creating an encrypted swap easier. However, if my understanding is correct, wouldn't LVM essentially combine my hard drives all into one? I like to keep \/ on my SSD and \/home on my HDD, so if I used LVM would I lose the ability to do this? I'm going over the [LVM Wiki]( https:\/\/wiki.archlinux.org\/index.php\/LVM) but I still don't fully understand how LVM works.","meta":"{'source': 'reddit_posts', 'id': '4wnvqv', 'title': 'Questions on Full Disk Encryption', 'author': 'muwaahid', 'subreddit': 'archlinux', 'subreddit_id': '2qrzu', 'body': \"Hello everyone, \\n\\nI'm new to Arch Linux after having used Ubuntu for a while, trying to learn as much as possible from documentation without asking too many questions. \\n\\nI'm interested in setting up Full Disk Encryption, following [this guide](https:\/\/www.howtoforge.com\/tutorial\/how-to-install-arch-linux-with-full-disk-encryption\/), but I don't know very much about encryption so I had some questions. \\n\\n* Is an encrypted swap necessary? This guide seems to omit making one, but I've just always had a swap partition so it feels strange not to have one. But I also have 16GB of RAM and I never suspend\/hibernate so I'm not even sure if swap ever actually gets used when I do have it. And from what I've found online it seems that setting up a properly functioning encrypted swap is kind of a pain. \\n\\n* Is it really necessary to shred the disks? At 3 iterations (guy in the guide did 15, seemed like a bit much), it took my 60GB SSD a few hours, but my 1TB HDD seemed like it was going to take days. I guess it wouldn't be in the guide if it wasn't necessary so the better question is, what is the purpose of doing this? What does it accomplish? \\n\\n* Theoretically, is it possible to have an encrypted Arch Linux installation dual booted with an unencrypted Windows installation, assuming that the UEFI partition stays unencrypted? I tried this with Ubuntu and just could not get it to work. \\n\\n* Is there any extra security risk with having an unencrypted UEFI partition? \\n\\nThanks in advance and sorry of these are dumb questions with obvious answers somewhere.\\n\\nEDIT:\\n\\nAnother question, in the [Security wiki](https:\/\/wiki.archlinux.org\/index.php\/List_of_applications\/Security#Screen_lockers) it says:\\n\\n&gt; Warning: Only sflock, physlock, Cinnamon Screensaver, MATE Screensaver and GNOME Screensaver are able to block tty access.\\n\\nSo suppose I did have an FDE system but I didn't use one of these aforementioned screensavers as a lockscreen (was thinking of using LightDM or i3lock), does this present a security risk? Because if the system is logged in, that means the drive is decrypted, therefore if an attacker were to gain tty access then the encryption would be completely bypassed wouldn't it?\\n\\nEDIT 2:\\n\\nIn reading the [Wiki on Encrypted Swap] ( https:\/\/wiki.archlinux.org\/index.php\/Dm-crypt\/Swap_encryption ), if I'm understanding correctly, it seems that using LVM makes creating an encrypted swap easier. However, if my understanding is correct, wouldn't LVM essentially combine my hard drives all into one? I like to keep \/ on my SSD and \/home on my HDD, so if I used LVM would I lose the ability to do this? I'm going over the [LVM Wiki]( https:\/\/wiki.archlinux.org\/index.php\/LVM) but I still don't fully understand how LVM works.\", 'body_is_trimmed': False, 'score': 14, 'over_18': False, 'num_comments': 48, 'created_utc': 1470620890}"}
{"id":"199638","text":"Title: Flashing while TX is connected on ProMicro clone\nThe text below was posted in an online community called arduino in the year 2021:\n\nI was watching a video ([https:\/\/www.youtube.com\/watch?v=rmfAqg9O\\_os](https:\/\/www.youtube.com\/watch?v=rmfAqg9O_os) to be exact), and they mention that while the TX is connected, your flash will fail. Why is this?\n\nIf I am building a similar circuit, and want to be able to reflash at some point, how should I go about doing this? \n\nKeep in mind I am not building on a breadboard, and I will be soldering connections to the ProMicro.","meta":"{'source': 'reddit_posts', 'id': 'p2t7zd', 'title': 'Flashing while TX is connected on ProMicro clone', 'author': 'hunterg429', 'subreddit': 'arduino', 'subreddit_id': '2qknj', 'body': 'I was watching a video ([https:\/\/www.youtube.com\/watch?v=rmfAqg9O\\\\_os](https:\/\/www.youtube.com\/watch?v=rmfAqg9O_os) to be exact), and they mention that while the TX is connected, your flash will fail. Why is this?\\n\\nIf I am building a similar circuit, and want to be able to reflash at some point, how should I go about doing this? \\n\\nKeep in mind I am not building on a breadboard, and I will be soldering connections to the ProMicro.', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 5, 'created_utc': 1628745130}"}
{"id":"1439668","text":"Title: Hibernate cascading with no cascade types set (hibernate+kotlin)\nThe text below was posted in an online community called Kotlin in the year 2020:\n\nHey guys, I'm having an issue where hibernate is cascading the `merge` operation to child entities when I don't want it to. I have my entities pasted at the bottom of this post. \n\nI'm trying to merge the `Munch` entity without merging any `Swipes` since they're handled in a different part of the application. My understanding is that hibernate by default should `cascade` none of the DB operations for a `@OneToMany` collection or a `@ManyToOne` object unless `CascadeTypes` are explicitly specified. \n\n\nGiven the entities at the bottom of the post, when I add a `Swipe` to `munch.swipes` and run the following code, the munch is updated if any of its fields have changed and the added swipe is merged into the db:\n```\n    fun mergeMunch(\n        munch: Munch\n    ) = databaseExecutor.executeAndRollbackOnFailure { entityManager -&gt;\n        entityManager.merge(munch)\n        entityManager.transaction.commit()\n    }\n```\n\nIf anyone could shed some light on either what I'm misunderstanding or misconfiguring it would be much appreciated. \n\n\nThe `executeAndRollbackOnFailure()` function just in case its useful:\n```\n    fun &lt;T&gt; executeAndRollbackOnFailure(\n        task: (EntityManager) -&gt; T\n    ): T {\n        val em = emf.createEntityManager()\n        return try {\n            em.transaction.begin()\n            task.invoke(em)\n        } catch (e: Exception) {\n            em.transaction.rollback()\n            throw e\n        } finally {\n            em.close()\n        }\n    }\n```\n\nHere are my entities:\n\n`Munch`\n```\n\n@Entity\ndata class Munch(\n    @Column\n    val name: String,\n    @OneToMany(\n        fetch = FetchType.LAZY,\n        mappedBy = \"munch\",\n    )\n    val swipes: MutableList&lt;Swipe&gt; = mutableListOf(),\n) {\n    @Id\n    @GenericGenerator(name = \"generator\", strategy = \"uuid\")\n    @GeneratedValue(generator = \"generator\")\n    lateinit var munchId: String\n\n    fun addSwipe(swipe: Swipe) {\n        swipes.add(swipe)\n        swipe.munch = this\n    }\n}\n```\n\n`Swipe`\n\n```\n@Entity\ndata class Swipe(\n    @EmbeddedId\n    val swipeIdKey: SwipeIdKey,\n    @Column(nullable = true)\n    val liked: Boolean,\n) : Serializable {\n    @ManyToOne(fetch = FetchType.LAZY)\n    @JoinColumn(name = \"munchId\")\n    @MapsId(\"munchId\")\n    lateinit var munch: Munch\n\n    @Transient\n    var updated = false\n```\n\n`SwipeIdKey`\n\n```\n@Embeddable\nclass SwipeIdKey : Serializable {\n\n    @Column(nullable = false)\n    lateinit var restaurantId: String\n\n    @Column(nullable = true)\n    lateinit var userId: String\n\n    @Column(nullable = true)\n    var munchId: String? = null\n}\n```","meta":"{'source': 'reddit_posts', 'id': 'io9sxn', 'title': 'Hibernate cascading with no cascade types set (hibernate+kotlin)', 'author': 'Iarduino', 'subreddit': 'Kotlin', 'subreddit_id': '2so2r', 'body': 'Hey guys, I\\'m having an issue where hibernate is cascading the `merge` operation to child entities when I don\\'t want it to. I have my entities pasted at the bottom of this post. \\n\\nI\\'m trying to merge the `Munch` entity without merging any `Swipes` since they\\'re handled in a different part of the application. My understanding is that hibernate by default should `cascade` none of the DB operations for a `@OneToMany` collection or a `@ManyToOne` object unless `CascadeTypes` are explicitly specified. \\n\\n\\nGiven the entities at the bottom of the post, when I add a `Swipe` to `munch.swipes` and run the following code, the munch is updated if any of its fields have changed and the added swipe is merged into the db:\\n```\\n    fun mergeMunch(\\n        munch: Munch\\n    ) = databaseExecutor.executeAndRollbackOnFailure { entityManager -&gt;\\n        entityManager.merge(munch)\\n        entityManager.transaction.commit()\\n    }\\n```\\n\\nIf anyone could shed some light on either what I\\'m misunderstanding or misconfiguring it would be much appreciated. \\n\\n\\nThe `executeAndRollbackOnFailure()` function just in case its useful:\\n```\\n    fun &lt;T&gt; executeAndRollbackOnFailure(\\n        task: (EntityManager) -&gt; T\\n    ): T {\\n        val em = emf.createEntityManager()\\n        return try {\\n            em.transaction.begin()\\n            task.invoke(em)\\n        } catch (e: Exception) {\\n            em.transaction.rollback()\\n            throw e\\n        } finally {\\n            em.close()\\n        }\\n    }\\n```\\n\\nHere are my entities:\\n\\n`Munch`\\n```\\n\\n@Entity\\ndata class Munch(\\n    @Column\\n    val name: String,\\n    @OneToMany(\\n        fetch = FetchType.LAZY,\\n        mappedBy = \"munch\",\\n    )\\n    val swipes: MutableList&lt;Swipe&gt; = mutableListOf(),\\n) {\\n    @Id\\n    @GenericGenerator(name = \"generator\", strategy = \"uuid\")\\n    @GeneratedValue(generator = \"generator\")\\n    lateinit var munchId: String\\n\\n    fun addSwipe(swipe: Swipe) {\\n        swipes.add(swipe)\\n        swipe.munch = this\\n    }\\n}\\n```\\n\\n`Swipe`\\n\\n```\\n@Entity\\ndata class Swipe(\\n    @EmbeddedId\\n    val swipeIdKey: SwipeIdKey,\\n    @Column(nullable = true)\\n    val liked: Boolean,\\n) : Serializable {\\n    @ManyToOne(fetch = FetchType.LAZY)\\n    @JoinColumn(name = \"munchId\")\\n    @MapsId(\"munchId\")\\n    lateinit var munch: Munch\\n\\n    @Transient\\n    var updated = false\\n```\\n\\n`SwipeIdKey`\\n\\n```\\n@Embeddable\\nclass SwipeIdKey : Serializable {\\n\\n    @Column(nullable = false)\\n    lateinit var restaurantId: String\\n\\n    @Column(nullable = true)\\n    lateinit var userId: String\\n\\n    @Column(nullable = true)\\n    var munchId: String? = null\\n}\\n```', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 1, 'created_utc': 1599493535}"}
{"id":"1891777","text":"Title: After restart, continue script\nThe text below was posted in an online community called PowerShell in the year 2022:\n\nHey there,\n\nI'm quite new to Powershell scripting and I'm wondering if someone could lend a hand. We're in the process of mass-updating BIOS and TPM for a bunch of shared Dell AIOs. \n\nBefore we begin the updates, we install a fresh copy of Windows 10 onto the AIOs. We don't go through any of the Windows device setup options (region, keyboard ect..) and use CMD\/Powershell straight away. \n\nI've created a couple of scripts that perform the updates and apply the correct TPM settings, but it requires the computer to restart four times. \n\nDue to us applying the updates before we create a user-account, we're unable to add a registry key for  'Runonce' option. I've seen a couple of people using Powershell's workflow module before but haven't really grasped the concept yet.\n\nDoes anyone have any ideas? I'd really appreciate it. :)","meta":"{'source': 'reddit_posts', 'id': 't37hmx', 'title': 'After restart, continue script', 'author': 'M-Christo', 'subreddit': 'PowerShell', 'subreddit_id': '2qo1o', 'body': \"Hey there,\\n\\nI'm quite new to Powershell scripting and I'm wondering if someone could lend a hand. We're in the process of mass-updating BIOS and TPM for a bunch of shared Dell AIOs. \\n\\nBefore we begin the updates, we install a fresh copy of Windows 10 onto the AIOs. We don't go through any of the Windows device setup options (region, keyboard ect..) and use CMD\/Powershell straight away. \\n\\nI've created a couple of scripts that perform the updates and apply the correct TPM settings, but it requires the computer to restart four times. \\n\\nDue to us applying the updates before we create a user-account, we're unable to add a registry key for  'Runonce' option. I've seen a couple of people using Powershell's workflow module before but haven't really grasped the concept yet.\\n\\nDoes anyone have any ideas? I'd really appreciate it. :)\", 'body_is_trimmed': False, 'score': 32, 'over_18': False, 'num_comments': 46, 'created_utc': 1646024642}"}
{"id":"2020879","text":"Title: Mojave, High Sierra, and Sierra performance on MacBook Pro 9,1 (15 mid-2012)\nThe text below was posted in an online community called osx in the year 2019:\n\nMy computer:\n\nMacBook Pro 9,1 (15\" mid-2012), 2.6 GHz i7, 16 GB RAM, 256GB OWC SSD, NVIDIA GT 650M (\\~1GB)\n\nEl Capitan is no longer supported for some of the software I need to use, so it looks like I have to update to Sierra, High Sierra, or Mojave.  I'm  always remiss to update to a newer Apple OS on older hardware  because it frequently results in performance dips on the machine.\n\nFrom what I've read Mojave doesn't run well on this model of MBP because it leans into the GPU, and wasn't really designed to play nice with NVIDIA graphics cards. Technically it's supported, but poorly according to user reports. I've heard mixed reports about High Sierra, some saying it resulted in improved performance and battery life, others saying their system became sluggish. By all accounts Sierra was a mess, and should be avoided.\n\nI'm wondering if anyone with a similar MBP has any experience running Mojave, High Sierra, or Sierra, and what their feedback is. Which OS will run smoothest on this model of MBP?\n\n&amp;#x200B;\n\n**EDIT - Following up after using Mojave a bit:**\n\nPerformance is actually pretty much fine. I didn't notice any major slowdowns while doing normal tasks. Bootup time might be a teensy bit slower than El Capitan, but I'm talking about the difference of a few seconds.\n\n I noticed that certain GPU-related tasks, like various things in Adobe CC programs, were slightly slower than before. The difference was not severe, and is basically negligible for my workflow. I don't work with video, so that could be more problematic.\n\nOverall, it is a GPU-intensive OS, as I had been warned. I have an external monitor plugged in, and with that the GPU at a baseline is using between 25-50% of its (albeit limited) capacity. FYI I disabled automatic graphics switching, which improved performance.\n\nAs a random side note, I used to have a bunch of issues with Bluetooth devices, but they all worked really smoothly in Mojave.\n\nSo Mojave is basically fine...\n\n...EXCEPT for one really annoying issue: Mojave dropped subpixel antialiasing. If you use a low-end external monitor (non-high resolution) the text rendering is awful. There's a fix here: [https:\/\/www.howtogeek.com\/358596\/how-to-fix-blurry-fonts-on-macos-mojave-with-subpixel-antialiasing\/](https:\/\/www.howtogeek.com\/358596\/how-to-fix-blurry-fonts-on-macos-mojave-with-subpixel-antialiasing\/)\n\nWhile the fix definitely improved the text rendering, it's still not great. To be clear, text rendering on my non-retina macbook pro screen looked fine. The issue was just on my external display, which is a low-end BenQ monitor (also tested on low-end ASUS monitor and was crappy).\n\nI'm going to revert to High Sierra when I get a chance because I need to use a big display for work. Buying a high resolution monitor would also resolve the issue, but I'm trying to stretch the life of my current machine before buying a new setup.\n\nI hope this was helpful to anyone considering the switch. My recommendation would be to use High Sierra for lower-res setups, and Mojave for anyone with high-res + discreet graphics card.","meta":"{'source': 'reddit_posts', 'id': 'bux4en', 'title': 'Mojave, High Sierra, and Sierra performance on MacBook Pro 9,1 (15 mid-2012)', 'author': 'EdselHans', 'subreddit': 'osx', 'subreddit_id': '2qh3j', 'body': 'My computer:\\n\\nMacBook Pro 9,1 (15\" mid-2012), 2.6 GHz i7, 16 GB RAM, 256GB OWC SSD, NVIDIA GT 650M (\\\\~1GB)\\n\\nEl Capitan is no longer supported for some of the software I need to use, so it looks like I have to update to Sierra, High Sierra, or Mojave.  I\\'m  always remiss to update to a newer Apple OS on older hardware  because it frequently results in performance dips on the machine.\\n\\nFrom what I\\'ve read Mojave doesn\\'t run well on this model of MBP because it leans into the GPU, and wasn\\'t really designed to play nice with NVIDIA graphics cards. Technically it\\'s supported, but poorly according to user reports. I\\'ve heard mixed reports about High Sierra, some saying it resulted in improved performance and battery life, others saying their system became sluggish. By all accounts Sierra was a mess, and should be avoided.\\n\\nI\\'m wondering if anyone with a similar MBP has any experience running Mojave, High Sierra, or Sierra, and what their feedback is. Which OS will run smoothest on this model of MBP?\\n\\n&amp;#x200B;\\n\\n**EDIT - Following up after using Mojave a bit:**\\n\\nPerformance is actually pretty much fine. I didn\\'t notice any major slowdowns while doing normal tasks. Bootup time might be a teensy bit slower than El Capitan, but I\\'m talking about the difference of a few seconds.\\n\\n I noticed that certain GPU-related tasks, like various things in Adobe CC programs, were slightly slower than before. The difference was not severe, and is basically negligible for my workflow. I don\\'t work with video, so that could be more problematic.\\n\\nOverall, it is a GPU-intensive OS, as I had been warned. I have an external monitor plugged in, and with that the GPU at a baseline is using between 25-50% of its (albeit limited) capacity. FYI I disabled automatic graphics switching, which improved performance.\\n\\nAs a random side note, I used to have a bunch of issues with Bluetooth devices, but they all worked really smoothly in Mojave.\\n\\nSo Mojave is basically fine...\\n\\n...EXCEPT for one really annoying issue: Mojave dropped subpixel antialiasing. If you use a low-end external monitor (non-high resolution) the text rendering is awful. There\\'s a fix here: [https:\/\/www.howtogeek.com\/358596\/how-to-fix-blurry-fonts-on-macos-mojave-with-subpixel-antialiasing\/](https:\/\/www.howtogeek.com\/358596\/how-to-fix-blurry-fonts-on-macos-mojave-with-subpixel-antialiasing\/)\\n\\nWhile the fix definitely improved the text rendering, it\\'s still not great. To be clear, text rendering on my non-retina macbook pro screen looked fine. The issue was just on my external display, which is a low-end BenQ monitor (also tested on low-end ASUS monitor and was crappy).\\n\\nI\\'m going to revert to High Sierra when I get a chance because I need to use a big display for work. Buying a high resolution monitor would also resolve the issue, but I\\'m trying to stretch the life of my current machine before buying a new setup.\\n\\nI hope this was helpful to anyone considering the switch. My recommendation would be to use High Sierra for lower-res setups, and Mojave for anyone with high-res + discreet graphics card.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 5, 'created_utc': 1559243100}"}
{"id":"1321199","text":"Title: Need some assistance with N9K Multicast Routing config\nThe text below was posted in an online community called networking in the year 2020:\n\nI'm trying to get multicast setup to route between two separate VLANs and failing miserably.\n\nThis is the topology I'm working with:\n\nDevice (VLAN 552) &lt;-&gt; Switch &lt;-&gt; Router (Nexus 9K) &lt;-&gt; Switch &lt;-&gt; Server (VLAN 16)\n\nNexus config:\n\n    feature pim\n    ip pim auto-rp rp-candidate Vlan5 group-list 83.161.120.155\/24\n    ip pim auto-rp mapping-agent Vlan5\n    ip pim ssm range 83.161.120.155\/8\n    ip pim auto-rp listen\n    \n    interface Vlan5\n      no shutdown\n      ip address 83.161.120.155\/24\n      ip pim sparse-mode\n    \n    interface Vlan16\n      no shutdown\n      ip address 83.161.120.155\/22\n      ip pim sparse-mode\n    \n    interface Vlan552\n      no shutdown\n      ip address 83.161.120.155\/19\n      ip pim sparse-mode\n    \n    show ip pim group-range\n    PIM Group-Range Configuration for VRF \"default\"\n    Group-range        Action Mode  RP-address      Shrd-tree-range   Origin              \n    83.161.120.155\/8        Accept SSM   -               -                 Local               \n    83.161.120.155\/24       -      ASM   83.161.120.155       -                 AutoRP\n\nAm I missing a crucial step somewhere?  Any help would be appreciated, thanks!","meta":"{'source': 'reddit_posts', 'id': 'et34fj', 'title': 'Need some assistance with N9K Multicast Routing config', 'author': 'SprkFade', 'subreddit': 'networking', 'subreddit_id': '2qkaf', 'body': 'I\\'m trying to get multicast setup to route between two separate VLANs and failing miserably.\\n\\nThis is the topology I\\'m working with:\\n\\nDevice (VLAN 552) &lt;-&gt; Switch &lt;-&gt; Router (Nexus 9K) &lt;-&gt; Switch &lt;-&gt; Server (VLAN 16)\\n\\nNexus config:\\n\\n    feature pim\\n    ip pim auto-rp rp-candidate Vlan5 group-list 239.0.0.0\/24\\n    ip pim auto-rp mapping-agent Vlan5\\n    ip pim ssm range 232.0.0.0\/8\\n    ip pim auto-rp listen\\n    \\n    interface Vlan5\\n      no shutdown\\n      ip address 10.91.5.2\/24\\n      ip pim sparse-mode\\n    \\n    interface Vlan16\\n      no shutdown\\n      ip address 10.91.16.2\/22\\n      ip pim sparse-mode\\n    \\n    interface Vlan552\\n      no shutdown\\n      ip address 10.110.32.2\/19\\n      ip pim sparse-mode\\n    \\n    show ip pim group-range\\n    PIM Group-Range Configuration for VRF \"default\"\\n    Group-range        Action Mode  RP-address      Shrd-tree-range   Origin              \\n    232.0.0.0\/8        Accept SSM   -               -                 Local               \\n    239.0.0.0\/24       -      ASM   10.91.5.2       -                 AutoRP\\n\\nAm I missing a crucial step somewhere?  Any help would be appreciated, thanks!', 'body_is_trimmed': False, 'score': 29, 'over_18': False, 'num_comments': 17, 'created_utc': 1579829462}"}
{"id":"962440","text":"Title: Help speed up my code Python newbie\nThe text below was posted in an online community called learnpython in the year 2019:\n\nHello everyone, I am mostly self-taught when it comes to python and have only been using python for less than a year. My only other programming experience is about 2 years of R experience (also self taught). I have a project that is taking a very long time to process. The files that this is reading in is just an edgelist (csv) of a group name and a username. The purpose is to get the number of common users between all of these groups (and a few other little details) of a social media site to do some network analysis. As of right now it takes about 30+ hours to process 1200 of these edgelits and toward the end I'll have to process 6000+ and each edgelist will have more rows.\n\nI'm including the all of the code below. Any tips for this project in particular will be greatly appreciated but general speed tips would also be great as I am having to do more and more of this type of analysis. Thank you!\n\nExample Edgelist\n```markdown\nUSERS\t     GroupName\nuser0        GroupName1\nuser1        GroupName1\nuser2        GroupName1\nuser3        GroupName1\nuser4        GroupName1\nuser5        GroupName1\n```\n```python\nimport os\nimport time\nimport pandas as pd\n\nstart_time = time.time()\nfor folder in folders:\n    union_filename = \"group_intersection_lists\/\" + folder[9:] + \"_intersection.csv\"\n    dta_dict = {}\n    group1_list = []\n    len_group1 = []\n    group2_list = []\n    len_group2 = []\n    len_common = []\n    len_union = []\n    perc_same = []\n\n    files = []\n    folderpath = \"group_edge_lists\/\" + folder\n    for (dirpath, dirnames, filenames) in os.walk(folderpath):\n        files.extend(filenames)\n        break\n    group_list = []\n    for file1 in files:\n        file1path = folderpath + \"\/\" + file1\n        file1_dta = pd.read_csv(file1path)\n        set1 = set(file1_dta[\"users\"])\n        for file2 in files:\n            if file1 != file2:\n                if [file1, file2] not in group_list:\n                    if [file2, file1] not in group_list:\n                        file2path = folderpath + \"\/\" + file2\n                        file2_dta = pd.read_csv(file2path)\n                        set2 = set(file2_dta[\"users\"])\n                        common_users = set1.intersection(set2)\n                        union_len = len(set1) + len(set2) - len(common_users)\n                        group1_list.append(file1_dta[\"group\"][0])\n                        group2_list.append(file2_dta[\"group\"][0])\n                        len_group1.append(len(set1))\n                        len_group2.append(len(set2))\n                        len_common.append(len(common_users))\n                        len_union.append(union_len)\n                        perc_same.append(round(len(common_users) \/ union_len, 4))\n                        group_list.append([file1, file2])\n        # dd.read_csv(filepath)\n        # print(filepath)\n    dta_dict[\"group1\"] = group1_list\n    dta_dict[\"len_user_group1\"] = len_group1\n    dta_dict[\"group2\"] = group2_list\n    dta_dict[\"len_user_group2\"] = len_group2\n    dta_dict[\"len_common_user\"] = len_common\n    dta_dict[\"len_union\"] = len_union\n    dta_dict[\"perc_same\"] = perc_same\n\n    dta = pd.DataFrame(dta_dict)\n    dta.to_csv(union_filename, index=False)\n    print(folder, \"completed\")\n\nelapsed_time = (time.time() - start_time) \/ 60\nprint(elapsed_time)\n```","meta":"{'source': 'reddit_posts', 'id': 'cjhgfg', 'title': 'Help speed up my code Python newbie', 'author': 'kordof', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': 'Hello everyone, I am mostly self-taught when it comes to python and have only been using python for less than a year. My only other programming experience is about 2 years of R experience (also self taught). I have a project that is taking a very long time to process. The files that this is reading in is just an edgelist (csv) of a group name and a username. The purpose is to get the number of common users between all of these groups (and a few other little details) of a social media site to do some network analysis. As of right now it takes about 30+ hours to process 1200 of these edgelits and toward the end I\\'ll have to process 6000+ and each edgelist will have more rows.\\n\\nI\\'m including the all of the code below. Any tips for this project in particular will be greatly appreciated but general speed tips would also be great as I am having to do more and more of this type of analysis. Thank you!\\n\\nExample Edgelist\\n```markdown\\nUSERS\\t     GroupName\\nuser0        GroupName1\\nuser1        GroupName1\\nuser2        GroupName1\\nuser3        GroupName1\\nuser4        GroupName1\\nuser5        GroupName1\\n```\\n```python\\nimport os\\nimport time\\nimport pandas as pd\\n\\nstart_time = time.time()\\nfor folder in folders:\\n    union_filename = \"group_intersection_lists\/\" + folder[9:] + \"_intersection.csv\"\\n    dta_dict = {}\\n    group1_list = []\\n    len_group1 = []\\n    group2_list = []\\n    len_group2 = []\\n    len_common = []\\n    len_union = []\\n    perc_same = []\\n\\n    files = []\\n    folderpath = \"group_edge_lists\/\" + folder\\n    for (dirpath, dirnames, filenames) in os.walk(folderpath):\\n        files.extend(filenames)\\n        break\\n    group_list = []\\n    for file1 in files:\\n        file1path = folderpath + \"\/\" + file1\\n        file1_dta = pd.read_csv(file1path)\\n        set1 = set(file1_dta[\"users\"])\\n        for file2 in files:\\n            if file1 != file2:\\n                if [file1, file2] not in group_list:\\n                    if [file2, file1] not in group_list:\\n                        file2path = folderpath + \"\/\" + file2\\n                        file2_dta = pd.read_csv(file2path)\\n                        set2 = set(file2_dta[\"users\"])\\n                        common_users = set1.intersection(set2)\\n                        union_len = len(set1) + len(set2) - len(common_users)\\n                        group1_list.append(file1_dta[\"group\"][0])\\n                        group2_list.append(file2_dta[\"group\"][0])\\n                        len_group1.append(len(set1))\\n                        len_group2.append(len(set2))\\n                        len_common.append(len(common_users))\\n                        len_union.append(union_len)\\n                        perc_same.append(round(len(common_users) \/ union_len, 4))\\n                        group_list.append([file1, file2])\\n        # dd.read_csv(filepath)\\n        # print(filepath)\\n    dta_dict[\"group1\"] = group1_list\\n    dta_dict[\"len_user_group1\"] = len_group1\\n    dta_dict[\"group2\"] = group2_list\\n    dta_dict[\"len_user_group2\"] = len_group2\\n    dta_dict[\"len_common_user\"] = len_common\\n    dta_dict[\"len_union\"] = len_union\\n    dta_dict[\"perc_same\"] = perc_same\\n\\n    dta = pd.DataFrame(dta_dict)\\n    dta.to_csv(union_filename, index=False)\\n    print(folder, \"completed\")\\n\\nelapsed_time = (time.time() - start_time) \/ 60\\nprint(elapsed_time)\\n```', 'body_is_trimmed': False, 'score': 14, 'over_18': False, 'num_comments': 25, 'created_utc': 1564434460}"}
{"id":"713160","text":"Title: Deployment to AWS for a recent graduate\nThe text below was posted in an online community called datascience in the year 2022:\n\nHi all,\n\nI graduated recently with a relevant master's degree and have experience in picking up on problem statements up until delivering the best performing model and a presentation for my results but have no experience and getting from there to actually deploying the model.\n\nCurrently, I am working as a junior alone, and have been in charge of multiple projects one of which has to move to deployment through AWS.\n\nI've been connected with other Data Scientists internally, none of which was either involved with AWS or willing to help (WTF?). Thus, I am left alone to figure out how to do it as everyone expects that from me, I  raised my troubles to my manager, he is really trying but honestly no luck in finding a combo of a person who knows and wants to help out yet.\n\nI am more than happy to get on it alone, however before starting on how to do something I have to learn what it is. Thus, I look for steps I should take to move from my academically written code to the place  I get to have it deployed in AWS. Below are some questions I have, ignore any if they sound weird as it is the confused me who probably got something wrong\n\n* Should I use pipelines? An example?\n* Break the code into multiple files per part (e.g. a file for data cleaning and another for modeling)\n   * What should the insides of the file be, a function?\n* Should I create python packages for my functions?\n* Please mention any other steps I have no idea should take place.\n\nThank you so much in advance.","meta":"{'source': 'reddit_posts', 'id': 'wun8s9', 'title': 'Deployment to AWS for a recent graduate', 'author': 'UnderstandingNaive32', 'subreddit': 'datascience', 'subreddit_id': '2sptq', 'body': \"Hi all,\\n\\nI graduated recently with a relevant master's degree and have experience in picking up on problem statements up until delivering the best performing model and a presentation for my results but have no experience and getting from there to actually deploying the model.\\n\\nCurrently, I am working as a junior alone, and have been in charge of multiple projects one of which has to move to deployment through AWS.\\n\\nI've been connected with other Data Scientists internally, none of which was either involved with AWS or willing to help (WTF?). Thus, I am left alone to figure out how to do it as everyone expects that from me, I  raised my troubles to my manager, he is really trying but honestly no luck in finding a combo of a person who knows and wants to help out yet.\\n\\nI am more than happy to get on it alone, however before starting on how to do something I have to learn what it is. Thus, I look for steps I should take to move from my academically written code to the place  I get to have it deployed in AWS. Below are some questions I have, ignore any if they sound weird as it is the confused me who probably got something wrong\\n\\n* Should I use pipelines? An example?\\n* Break the code into multiple files per part (e.g. a file for data cleaning and another for modeling)\\n   * What should the insides of the file be, a function?\\n* Should I create python packages for my functions?\\n* Please mention any other steps I have no idea should take place.\\n\\nThank you so much in advance.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 3, 'created_utc': 1661154361}"}
{"id":"733890","text":"Title: ARTICLES DATASET!!!\nThe text below was posted in an online community called datasets in the year 2020:\n\nHey guys, check out my new dataset:\n\nThis dataset contains  collection of articles from  medium,  towards data science, analyticsvidhya.\n\nThere respective titles, links and description.\n\nTotal size is 750.\n\n[https:\/\/www.kaggle.com\/pratirup\/articles-mediumanalyticsvidhyatowardsdatascience](https:\/\/www.kaggle.com\/pratirup\/articles-mediumanalyticsvidhyatowardsdatascience)\n\nPlease give some reviews about it, Thank you!!!","meta":"{'source': 'reddit_posts', 'id': 'g2iisj', 'title': 'ARTICLES DATASET!!!', 'author': 'Nathuphoon', 'subreddit': 'datasets', 'subreddit_id': '2r97t', 'body': 'Hey guys, check out my new dataset:\\n\\nThis dataset contains  collection of articles from  medium,  towards data science, analyticsvidhya.\\n\\nThere respective titles, links and description.\\n\\nTotal size is 750.\\n\\n[https:\/\/www.kaggle.com\/pratirup\/articles-mediumanalyticsvidhyatowardsdatascience](https:\/\/www.kaggle.com\/pratirup\/articles-mediumanalyticsvidhyatowardsdatascience)\\n\\nPlease give some reviews about it, Thank you!!!', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 0, 'created_utc': 1587055477}"}
{"id":"420942","text":"Title: How can I reverse engineer this encoded Scam Javascript?\nThe text below was posted in an online community called javascript in the year 2011:\n\nJavascript: http:\/\/thefbcreeper.info\/StalkerTools.fb\nFrom: http:\/\/thefbcreeper.info\/\n\nIt basically wants you to copy-paste this Javascript into your address-bar while on facebook:\n\n    javascript: (a = (d = document).createElement(\"script\")).src = \"http:\/\/thefbcreeper.info\/StalkerTools.fb\"; void(d.body.appendChild(a))\n\nI've seen a few friends fall for this scam and was wondering how they where doing it.","meta":"{'source': 'reddit_posts', 'id': 'fqe9l', 'title': 'How can I reverse engineer this encoded Scam Javascript?', 'author': 'huepfburg', 'subreddit': 'javascript', 'subreddit_id': '2qh30', 'body': 'Javascript: http:\/\/thefbcreeper.info\/StalkerTools.fb\\nFrom: http:\/\/thefbcreeper.info\/\\n\\nIt basically wants you to copy-paste this Javascript into your address-bar while on facebook:\\n\\n    javascript: (a = (d = document).createElement(\"script\")).src = \"http:\/\/thefbcreeper.info\/StalkerTools.fb\"; void(d.body.appendChild(a))\\n\\nI\\'ve seen a few friends fall for this scam and was wondering how they where doing it.', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 8, 'created_utc': 1298395666}"}
{"id":"713122","text":"Title: HP Comware courses \/ tutorials?\nThe text below was posted in an online community called networking in the year 2015:\n\nDoes anyone know of any decent resources for learning HP Comware? I'm having trouble finding books \/ courses \/ videos. Work have offered to pay to send me on a course but they seem few and far between. Even the official HP courses are distance learning only with very few training companies offering anything instructor led. \n\nAny suggestions?","meta":"{'source': 'reddit_posts', 'id': '3i9vtr', 'title': 'HP Comware courses \/ tutorials?', 'author': 'Izual_Rebirth', 'subreddit': 'networking', 'subreddit_id': '2qkaf', 'body': \"Does anyone know of any decent resources for learning HP Comware? I'm having trouble finding books \/ courses \/ videos. Work have offered to pay to send me on a course but they seem few and far between. Even the official HP courses are distance learning only with very few training companies offering anything instructor led. \\n\\nAny suggestions?\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 7, 'created_utc': '1440464373'}"}
{"id":"1216558","text":"Title: How to perform atomic update using REST api?\nThe text below was posted in an online community called Firebase in the year 2022:\n\nBasically need to update either both documents or none in the project. U wanted to know how is it possible to do that using rest api.","meta":"{'source': 'reddit_posts', 'id': 'v917ry', 'title': 'How to perform atomic update using REST api?', 'author': 'luxysaugat', 'subreddit': 'Firebase', 'subreddit_id': '301qk', 'body': 'Basically need to update either both documents or none in the project. U wanted to know how is it possible to do that using rest api.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 3, 'created_utc': 1654842004}"}
{"id":"1858753","text":"Title: Beginner question\nThe text below was posted in an online community called django in the year 2018:\n\nAs someone who knows a little python and is constantly putting in time trying to understand the fundamentals everyday, is Django a suitable framework to start learning?\n\nI started doing the tutorial on the official website and got lost pretty quickly. Should I just stick with it and try to slowly understand the concepts or start with something else and gradually work my way back to Django? From how its described, Id much rather learn Django than Flask.","meta":"{'source': 'reddit_posts', 'id': '9ue8rl', 'title': 'Beginner question', 'author': 'lilplato', 'subreddit': 'django', 'subreddit_id': '2qh4v', 'body': 'As someone who knows a little python and is constantly putting in time trying to understand the fundamentals everyday, is Django a suitable framework to start learning?\\n\\nI started doing the tutorial on the official website and got lost pretty quickly. Should I just stick with it and try to slowly understand the concepts or start with something else and gradually work my way back to Django? From how its described, Id much rather learn Django than Flask.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 6, 'created_utc': 1541430319}"}
{"id":"943383","text":"Title: I propose COTS Law\nThe text below was posted in an online community called ProgrammerHumor in the year 2021:\n\nOnce again I find myself having to use a Consumer-Off-The-Shelf software package; the scourge has been made all the more popular with the advent of Software-As-A-Service as a vehicle for extracting even more profit from your users.  I was discussing this with the person who manages the software and I believe I struck upon one of those universal truths of software development.\n\nCOTS Law - A Consumer-Off-The-Shelf application that meets the needs of 80% of its users, 80% of the time.  \n\nWith an addendum, the SAAS Add-on - which states that the majority of pain points in an integration are artificially introduced, and wouldnt you know it theres an Add-on or upgraded tier that will alleviate that for you, for a modest additional fee of course.","meta":"{'source': 'reddit_posts', 'id': 'o5q58j', 'title': 'I propose COTS Law', 'author': 'clichekiller', 'subreddit': 'ProgrammerHumor', 'subreddit_id': '2tex6', 'body': 'Once again I find myself having to use a Consumer-Off-The-Shelf software package; the scourge has been made all the more popular with the advent of Software-As-A-Service as a vehicle for extracting even more profit from your users.  I was discussing this with the person who manages the software and I believe I struck upon one of those universal truths of software development.\\n\\nCOTS Law - A Consumer-Off-The-Shelf application that meets the needs of 80% of its users, 80% of the time.  \\n\\nWith an addendum, the SAAS Add-on - which states that the majority of pain points in an integration are artificially introduced, and wouldnt you know it theres an Add-on or upgraded tier that will alleviate that for you, for a modest additional fee of course.', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 3, 'created_utc': 1624376712}"}
{"id":"1453062","text":"Title: LTE battery life without any calls \/ workouts\nThe text below was posted in an online community called AppleWatch in the year 2018:\n\nHi all,\n\nIve got the lte version of the series 3 and I use the lte fairly often during workouts for streaming music and staying connected. That being said, Ive never used it for long periods of time on lte only. Im going to a theme park tomorrow and really dont want to bring my X only to have it fly out on a roller coaster. If Im not doing any workouts, streaming music or talking on the phone, does anyone have any real world experience on how long it will last? I cant seem to find any stats on LTE battery life WITHOUT any strenuous data streaming like music or phone calls. Thanks for reading!\n\ntldr: curious what battery life on lte with just wearing watch - no calls\/workouts\/music","meta":"{'source': 'reddit_posts', 'id': '8ymyu5', 'title': 'LTE battery life without any calls \/ workouts', 'author': 'hawaiizach', 'subreddit': 'AppleWatch', 'subreddit_id': '2wav7', 'body': 'Hi all,\\n\\nIve got the lte version of the series 3 and I use the lte fairly often during workouts for streaming music and staying connected. That being said, Ive never used it for long periods of time on lte only. Im going to a theme park tomorrow and really dont want to bring my X only to have it fly out on a roller coaster. If Im not doing any workouts, streaming music or talking on the phone, does anyone have any real world experience on how long it will last? I cant seem to find any stats on LTE battery life WITHOUT any strenuous data streaming like music or phone calls. Thanks for reading!\\n\\ntldr: curious what battery life on lte with just wearing watch - no calls\/workouts\/music', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 2, 'created_utc': 1531509970}"}
{"id":"2026657","text":"Title: Compare group memberships \/ compare-object very slow\nThe text below was posted in an online community called PowerShell in the year 2012:\n\nI am working on a process to update an adgroup via a custom ad attribute.    \n\n&lt;snip&gt;  \n$NewUsers = Get-QADUser -LdapFilter '(SomeCustomADattribute=somevaluehere)'  \n$CurrentUsers = Get-QADGroupMember SomeUserGroup  \n$UsersToRemove = Compare-Object $CurrentUsers $NewUsers |where {$_.SideIndicator -eq \"&lt;=\"}  \n$UsersToAdd = Compare-Object $CurrentUsers $NewUsers |where {$_.SideIndicator -eq \"=&gt;\"}  \n  \n#Add some code here to remove\/trim old users  \n#Add some code here to add new users  \n\n&lt;\/snip&gt;\n------------------\n\nThis bit of code actually works,   but is verrrry slow.    Getting the actual user lists and group members is fairly quick.   This is slowing down \non each compare object.     I suppose I could just compare these objects via a few loops,  but it seems like this should be more efficient and\nthe old way just seems clumsy when compared.   This and these objects are really not that large....maybe a few hundred entries for each.\n\nAlso...the reason I have a ToBeRemoved and a UserstoAdd group is so I can report back with users that were added and removed each day.\n\nAny thoughts ?","meta":"{'source': 'reddit_posts', 'id': 'py6kn', 'title': 'Compare group memberships \/ compare-object very slow', 'author': 'systemslacky', 'subreddit': 'PowerShell', 'subreddit_id': '2qo1o', 'body': 'I am working on a process to update an adgroup via a custom ad attribute.    \\n\\n&lt;snip&gt;  \\n$NewUsers = Get-QADUser -LdapFilter \\'(SomeCustomADattribute=somevaluehere)\\'  \\n$CurrentUsers = Get-QADGroupMember SomeUserGroup  \\n$UsersToRemove = Compare-Object $CurrentUsers $NewUsers |where {$_.SideIndicator -eq \"&lt;=\"}  \\n$UsersToAdd = Compare-Object $CurrentUsers $NewUsers |where {$_.SideIndicator -eq \"=&gt;\"}  \\n  \\n#Add some code here to remove\/trim old users  \\n#Add some code here to add new users  \\n\\n&lt;\/snip&gt;\\n------------------\\n\\nThis bit of code actually works,   but is verrrry slow.    Getting the actual user lists and group members is fairly quick.   This is slowing down \\non each compare object.     I suppose I could just compare these objects via a few loops,  but it seems like this should be more efficient and\\nthe old way just seems clumsy when compared.   This and these objects are really not that large....maybe a few hundred entries for each.\\n\\nAlso...the reason I have a ToBeRemoved and a UserstoAdd group is so I can report back with users that were added and removed each day.\\n\\nAny thoughts ?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 9, 'created_utc': 1329767376}"}
{"id":"1143995","text":"Title: Whats the best wake word\/hotword detector according to you?\nThe text below was posted in an online community called learnpython in the year 2021:\n\nI have been using Snowboy for a while, until its recent shutdown. It was a nice solution, I was using it for a home assistant.","meta":"{'source': 'reddit_posts', 'id': 'l3w5om', 'title': 'Whats the best wake word\/hotword detector according to you?', 'author': 'woodfox13', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': 'I have been using Snowboy for a while, until its recent shutdown. It was a nice solution, I was using it for a home assistant.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 3, 'created_utc': 1611479475}"}
{"id":"2039643","text":"Title: Computer Security Protection\nThe text below was posted in an online community called Windows10 in the year 2015:\n\nIs Windows Defender enough protection for Windows 10? Do I need to buy a third party product. If so, what are people recommendations on what to buy. \n\nThanks.","meta":"{'source': 'reddit_posts', 'id': '3ovp0o', 'title': 'Computer Security Protection', 'author': '_Leonard_Shelby_', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': 'Is Windows Defender enough protection for Windows 10? Do I need to buy a third party product. If so, what are people recommendations on what to buy. \\n\\nThanks.', 'body_is_trimmed': False, 'score': 13, 'over_18': False, 'num_comments': 20, 'created_utc': '1444929544'}"}
{"id":"73059","text":"Title: Help Reddit, you're my only hope. JavaScript in constant state of load\nThe text below was posted in an online community called javascript in the year 2010:\n\nI decided to teach myself javascript so I pulled an old c++ program I had and decided to turn it into a web page so others can use it. It takes around 60 user inputs, organizes the data, and outputs around 40 specific lists. This is my simple form, but with firefox after I submit it, it seems to be in a constant page load state, and I have no idea why, it works fine in IE. \n\n    &lt;body&gt;\n    &lt;FORM NAME=\"myform\" ACTION=\"\" METHOD=\"GET\"&gt;Enter something in the box: &lt;BR&gt;\n    &lt;INPUT TYPE=\"text\" NAME=\"inputbox\" VALUE=\"\"&gt;&lt;P&gt;\n    &lt;INPUT TYPE=\"button\" NAME=\"button\" Value=\"Click\" onClick=\"testResults(this.form)\"&gt;\n    &lt;\/FORM&gt;\n\n    &lt;SCRIPT LANGUAGE=\"JavaScript\"&gt;\n    function testResults (form) {\n    var TestVar = form.inputbox.value;\n    document.write ('You typed: ' + TestVar);\n    }\n    &lt;\/SCRIPT&gt;\n    &lt;\/body&gt;\n\n    Also is there a good javascript forum for these type of questions? Thank you in advance","meta":"{'source': 'reddit_posts', 'id': 'akqx2', 'title': \"Help Reddit, you're my only hope. JavaScript in constant state of load\", 'author': 'spammishking', 'subreddit': 'javascript', 'subreddit_id': '2qh30', 'body': 'I decided to teach myself javascript so I pulled an old c++ program I had and decided to turn it into a web page so others can use it. It takes around 60 user inputs, organizes the data, and outputs around 40 specific lists. This is my simple form, but with firefox after I submit it, it seems to be in a constant page load state, and I have no idea why, it works fine in IE. \\n\\n    &lt;body&gt;\\n    &lt;FORM NAME=\"myform\" ACTION=\"\" METHOD=\"GET\"&gt;Enter something in the box: &lt;BR&gt;\\n    &lt;INPUT TYPE=\"text\" NAME=\"inputbox\" VALUE=\"\"&gt;&lt;P&gt;\\n    &lt;INPUT TYPE=\"button\" NAME=\"button\" Value=\"Click\" onClick=\"testResults(this.form)\"&gt;\\n    &lt;\/FORM&gt;\\n\\n    &lt;SCRIPT LANGUAGE=\"JavaScript\"&gt;\\n    function testResults (form) {\\n    var TestVar = form.inputbox.value;\\n    document.write (\\'You typed: \\' + TestVar);\\n    }\\n    &lt;\/SCRIPT&gt;\\n    &lt;\/body&gt;\\n\\n    Also is there a good javascript forum for these type of questions? Thank you in advance', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 11, 'created_utc': 1262427503}"}
{"id":"580631","text":"Title: Would you recommend a data science project for school ?\nThe text below was posted in an online community called learnmachinelearning in the year 2020:\n\nIn the university system in my country, in the third year of studies, the student must realize a project to demonstrate what he learnt during the last three years under the supervision of a company.\n\nI found an international company that is willing to put me under their supervision, they suggested that I do either a Dot net project or a data science one, they warned me that the data science one might be challenging.\n\nHonestly I prefer the data science project since I've had enough of web development. Do you recommend that I choose it, I had only an introductory course in AI but I'm willing to put the hours of learning in it. What factors should I be considering. By the way, the time I have to do the project is approx three months.","meta":"{'source': 'reddit_posts', 'id': 'epi2yh', 'title': 'Would you recommend a data science project for school ?', 'author': 'maroxtn', 'subreddit': 'learnmachinelearning', 'subreddit_id': '3cqa1', 'body': \"In the university system in my country, in the third year of studies, the student must realize a project to demonstrate what he learnt during the last three years under the supervision of a company.\\n\\nI found an international company that is willing to put me under their supervision, they suggested that I do either a Dot net project or a data science one, they warned me that the data science one might be challenging.\\n\\nHonestly I prefer the data science project since I've had enough of web development. Do you recommend that I choose it, I had only an introductory course in AI but I'm willing to put the hours of learning in it. What factors should I be considering. By the way, the time I have to do the project is approx three months.\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 7, 'created_utc': 1579173944}"}
{"id":"2265554","text":"Title: How to prepare and jump to new companies with only around 1 year of experience?\nThe text below was posted in an online community called cscareerquestions in the year 2019:\n\nHi there guys.\n\nMy college is ending next year, so it is now time to apply and receive job offers. I've accepted an offer in my local city for a web-dev job at a small company, it comes with an internship period until the college ends, and full-time after, so it will effectively start next month. Opportunities from other cities were open but I could not take them up as my family is going through a financial crunch and me working local would make things easy to manage.\n\nI am anxious and unsure about the topic of changing jobs. I often look at job postings and they often come with experience requirements, like '2-3 years experience in Angular\/React'. Also, I do not know how it would be possible to apply to other jobs while working the current one. I do not want to be confined to this local job, and I wish to expand my horizons and work at larger, prominent companies in major cities like Bangalore. I really enjoy programming and I have interests in UI\/UX design, dev in Flutter and Python, and I am open to picking up new stuff and experimenting.\n\nSo if any of you guys have done the same, taking up a job at a small company, and then jumped to a more satisfactory position in a short time, I'd be happy to hear from you. Also, advice on how to prepare (ds + algo if it is necessary, other skills for software dev in general) while working would be really helpful to me.\n\nApologies if there is any unnecessary elaboration, I am simply confused at the moment.\n\nI'm open to all advice from everyone, but answers relevant to India would be more helpful to me.\n\n**TL;DR: Starting small job, how to learn skills fast and jump jobs, how to apply while working current job, is this stress normal?**","meta":"{'source': 'reddit_posts', 'id': 'dsfkst', 'title': 'How to prepare and jump to new companies with only around 1 year of experience?', 'author': 'sendmedankmemes3', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"Hi there guys.\\n\\nMy college is ending next year, so it is now time to apply and receive job offers. I've accepted an offer in my local city for a web-dev job at a small company, it comes with an internship period until the college ends, and full-time after, so it will effectively start next month. Opportunities from other cities were open but I could not take them up as my family is going through a financial crunch and me working local would make things easy to manage.\\n\\nI am anxious and unsure about the topic of changing jobs. I often look at job postings and they often come with experience requirements, like '2-3 years experience in Angular\/React'. Also, I do not know how it would be possible to apply to other jobs while working the current one. I do not want to be confined to this local job, and I wish to expand my horizons and work at larger, prominent companies in major cities like Bangalore. I really enjoy programming and I have interests in UI\/UX design, dev in Flutter and Python, and I am open to picking up new stuff and experimenting.\\n\\nSo if any of you guys have done the same, taking up a job at a small company, and then jumped to a more satisfactory position in a short time, I'd be happy to hear from you. Also, advice on how to prepare (ds + algo if it is necessary, other skills for software dev in general) while working would be really helpful to me.\\n\\nApologies if there is any unnecessary elaboration, I am simply confused at the moment.\\n\\nI'm open to all advice from everyone, but answers relevant to India would be more helpful to me.\\n\\n**TL;DR: Starting small job, how to learn skills fast and jump jobs, how to apply while working current job, is this stress normal?**\", 'body_is_trimmed': False, 'score': 11, 'over_18': False, 'num_comments': 2, 'created_utc': 1573043075}"}
{"id":"2244797","text":"Title: Has anyone tried Xiki shell?\nThe text below was posted in an online community called commandline in the year 2021:\n\nI want to try Xiki shell \/ Xiki wiki (https:\/\/github.com\/trogdoro\/xiki, https:\/\/www.youtube.com\/watch?v=bUR_eUVcABg) on Linux, but for example the basic execute (`Ctrl + X`) doesn't work.\n\n```\n$ ls &lt;C-X&gt;\n```\n\nDoes anyone use it? If so, how do I get started? Or do you have alternatives?","meta":"{'source': 'reddit_posts', 'id': 'nblkp6', 'title': 'Has anyone tried Xiki shell?', 'author': 'bimlas', 'subreddit': 'commandline', 'subreddit_id': '2s4oq', 'body': \"I want to try Xiki shell \/ Xiki wiki (https:\/\/github.com\/trogdoro\/xiki, https:\/\/www.youtube.com\/watch?v=bUR_eUVcABg) on Linux, but for example the basic execute (`Ctrl + X`) doesn't work.\\n\\n```\\n$ ls &lt;C-X&gt;\\n```\\n\\nDoes anyone use it? If so, how do I get started? Or do you have alternatives?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1620925538}"}
{"id":"1714051","text":"Title: Converting File Sizes PB-TB-GB\nThe text below was posted in an online community called computerscience in the year 2015:\n\nHaving a discussion at work regarding the conversion of data volumes. If i have an amount in PB i wanted to convert to TB would I divide by 1024? (Our current method) OR divide by 1000? OR is there another more efficient way?","meta":"{'source': 'reddit_posts', 'id': '38n899', 'title': 'Converting File Sizes PB-TB-GB', 'author': 'Oliver6', 'subreddit': 'computerscience', 'subreddit_id': '2qj8o', 'body': 'Having a discussion at work regarding the conversion of data volumes. If i have an amount in PB i wanted to convert to TB would I divide by 1024? (Our current method) OR divide by 1000? OR is there another more efficient way?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 5, 'created_utc': '1433493802'}"}
{"id":"1148203","text":"Title: How to reset Windows 10 without clicking?\nThe text below was posted in an online community called Windows10 in the year 2015:\n\nI am currently trying to reset my windows because of an issue of being unable to click anything in the start menu, settings, etc. Due to this, I am unable to reset my windows because it requires you to go into the settings, which I cannot do. Does anyone know of another way I can reset?","meta":"{'source': 'reddit_posts', 'id': '3voula', 'title': 'How to reset Windows 10 without clicking?', 'author': 'Adio74', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': 'I am currently trying to reset my windows because of an issue of being unable to click anything in the start menu, settings, etc. Due to this, I am unable to reset my windows because it requires you to go into the settings, which I cannot do. Does anyone know of another way I can reset?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 4, 'created_utc': 1449428623}"}
{"id":"1935026","text":"Title: How does data usage in system services work?\nThe text below was posted in an online community called ios in the year 2017:\n\nI was looking at my cellular data usage and decided to look at system services for the first time in a while, and a few things caught my eye.\n\nFirst, what are security services. It seems to have used data but I have never seen it there before.\n\nSecond, why do DNS services use as much data as they do. It seems to be the highest one for me, yet it seems to stay the same for several days then just jump up by a MB, usually when I haven't actually been using my phone. Aren't DNS requests meant to use small amounts of data?\n\nThird, why do services like Bluetooth and mapping use data if I have them disabled from using mobile data?\n\nAny help is appreciated, thank you.","meta":"{'source': 'reddit_posts', 'id': '74eivz', 'title': 'How does data usage in system services work?', 'author': 'MalcolmtSpruce', 'subreddit': 'ios', 'subreddit_id': '2ru5b', 'body': \"I was looking at my cellular data usage and decided to look at system services for the first time in a while, and a few things caught my eye.\\n\\nFirst, what are security services. It seems to have used data but I have never seen it there before.\\n\\nSecond, why do DNS services use as much data as they do. It seems to be the highest one for me, yet it seems to stay the same for several days then just jump up by a MB, usually when I haven't actually been using my phone. Aren't DNS requests meant to use small amounts of data?\\n\\nThird, why do services like Bluetooth and mapping use data if I have them disabled from using mobile data?\\n\\nAny help is appreciated, thank you.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': 1507190164}"}
{"id":"2315435","text":"Title: Time.deltaTime not working, ball moves faster in fullscreen view.\nThe text below was posted in an online community called Unity3D in the year 2021:\n\nI'm trying to recreate pong in Unity, but when I click \"Maximize on Play\" in the Game View, the ball moves significantly faster. Here is my code:\n\n`public class GameMaster : MonoBehaviour`\n\n`{`\n\n&amp;#x200B;\n\n`[SerializeField]`\n\n`Transform paddle1;`\n\n&amp;#x200B;\n\n`[SerializeField]`\n\n`Transform paddle2;`\n\n&amp;#x200B;\n\n`[SerializeField]`\n\n`Transform ball;`\n\n&amp;#x200B;\n\n`[SerializeField]`\n\n`Rigidbody2D ballRB;`\n\n&amp;#x200B;\n\n`[Range(0.0f, 1000.0f)]`\n\n`[SerializeField]`\n\n`float speed;`\n\n&amp;#x200B;\n\n`[SerializeField]`\n\n`float ballSpeed;`\n\n&amp;#x200B;\n\n`[SerializeField]`\n\n`TMP_Text scoreTxt;`\n\n&amp;#x200B;\n\n`public static int player1score = 0;`\n\n`public static int player2score = 0;`\n\n&amp;#x200B;\n\n`public static GameMaster GM;`\n\n&amp;#x200B;\n\n`private void Start()`\n\n`{`\n\n`GM = this;`\n\n`UpdateScore();`\n\n`Invoke(\"ballStart\", 3.0f);`\n\n`}`\n\n&amp;#x200B;\n\n`public void ballCollision(int score1, int score2)`\n\n`{`\n\n`player1score += score1;`\n\n`player2score += score2;` \n\n&amp;#x200B;\n\n`ballRB.velocity =` [`Vector2.zero`](https:\/\/Vector2.zero)`;`\n\n`ball.localPosition = new Vector2(0.0f, 0.0f);`\n\n&amp;#x200B;\n\n`UpdateScore();`\n\n`Invoke(\"ballStart\", 2.0f);`\n\n`}`\n\n&amp;#x200B;\n\n`private void FixedUpdate()`\n\n`{`\n\n&amp;#x200B;\n\n`\/\/ Paddle 1 Input`\n\n`if (Input.GetKey(KeyCode.W) &amp;&amp; paddle1.position.y &lt;= 4)`\n\n`{`\n\n`paddle1.Translate((Vector2.up * speed) * Time.deltaTime);`\n\n`}`\n\n&amp;#x200B;\n\n`else if (Input.GetKey(KeyCode.S) &amp;&amp; paddle1.position.y &gt;= -4)`\n\n`{`\n\n`paddle1.Translate((Vector2.up * -speed) * Time.deltaTime);`\n\n`}`\n\n&amp;#x200B;\n\n`\/\/ Paddle 2 Input`\n\n`if (Input.GetKey(KeyCode.UpArrow) &amp;&amp; paddle2.position.y &lt;= 4)`\n\n`{`\n\n`paddle2.Translate((Vector2.up * speed) * Time.deltaTime);`\n\n`}`\n\n&amp;#x200B;\n\n`else if (Input.GetKey(KeyCode.DownArrow) &amp;&amp; paddle2.position.y &gt;= -4)`\n\n`{`\n\n`paddle2.Translate((Vector2.up * -speed) * Time.deltaTime);`\n\n`}`\n\n&amp;#x200B;\n\n`}`\n\n&amp;#x200B;\n\n`void ballStart()`\n\n`{`\n\n&amp;#x200B;\n\n`float ballDirectionRand = Random.Range(0.0f, 2.0f);`\n\n&amp;#x200B;\n\n`if (ballDirectionRand &lt;= 1.0f)`\n\n`{`\n\n`ball.eulerAngles = new Vector3(0.0f, 0.0f, Random.Range(-30.0f, 30.0f));`\n\n`}`\n\n&amp;#x200B;\n\n`else`\n\n`{`\n\n`ball.eulerAngles = new Vector3(0.0f, 0.0f, Random.Range(150.0f, 210.0f));`\n\n`}`\n\n&amp;#x200B;\n\n`ballSpeed = 10.0f * Time.deltaTime;`\n\n&amp;#x200B;\n\n`\/\/ Move Ball`\n\n`ballRB.AddRelativeForce(ball.transform.right * ballSpeed);`\n\n&amp;#x200B;\n\n`}`\n\n&amp;#x200B;\n\n`void UpdateScore()`\n\n`{`\n\n`string temp = player1score.ToString() + \" | \" + player2score.ToString();`\n\n`scoreTxt.text = temp;`\n\n`}`\n\n&amp;#x200B;\n\n`}`\n\nIs this a bug, or have I done something wrong?","meta":"{'source': 'reddit_posts', 'id': 'n1wgwu', 'title': 'Time.deltaTime not working, ball moves faster in fullscreen view.', 'author': 'MyNameIsY0u', 'subreddit': 'Unity3D', 'subreddit_id': '2qwj8', 'body': 'I\\'m trying to recreate pong in Unity, but when I click \"Maximize on Play\" in the Game View, the ball moves significantly faster. Here is my code:\\n\\n`public class GameMaster : MonoBehaviour`\\n\\n`{`\\n\\n&amp;#x200B;\\n\\n`[SerializeField]`\\n\\n`Transform paddle1;`\\n\\n&amp;#x200B;\\n\\n`[SerializeField]`\\n\\n`Transform paddle2;`\\n\\n&amp;#x200B;\\n\\n`[SerializeField]`\\n\\n`Transform ball;`\\n\\n&amp;#x200B;\\n\\n`[SerializeField]`\\n\\n`Rigidbody2D ballRB;`\\n\\n&amp;#x200B;\\n\\n`[Range(0.0f, 1000.0f)]`\\n\\n`[SerializeField]`\\n\\n`float speed;`\\n\\n&amp;#x200B;\\n\\n`[SerializeField]`\\n\\n`float ballSpeed;`\\n\\n&amp;#x200B;\\n\\n`[SerializeField]`\\n\\n`TMP_Text scoreTxt;`\\n\\n&amp;#x200B;\\n\\n`public static int player1score = 0;`\\n\\n`public static int player2score = 0;`\\n\\n&amp;#x200B;\\n\\n`public static GameMaster GM;`\\n\\n&amp;#x200B;\\n\\n`private void Start()`\\n\\n`{`\\n\\n`GM = this;`\\n\\n`UpdateScore();`\\n\\n`Invoke(\"ballStart\", 3.0f);`\\n\\n`}`\\n\\n&amp;#x200B;\\n\\n`public void ballCollision(int score1, int score2)`\\n\\n`{`\\n\\n`player1score += score1;`\\n\\n`player2score += score2;` \\n\\n&amp;#x200B;\\n\\n`ballRB.velocity =` [`Vector2.zero`](https:\/\/Vector2.zero)`;`\\n\\n`ball.localPosition = new Vector2(0.0f, 0.0f);`\\n\\n&amp;#x200B;\\n\\n`UpdateScore();`\\n\\n`Invoke(\"ballStart\", 2.0f);`\\n\\n`}`\\n\\n&amp;#x200B;\\n\\n`private void FixedUpdate()`\\n\\n`{`\\n\\n&amp;#x200B;\\n\\n`\/\/ Paddle 1 Input`\\n\\n`if (Input.GetKey(KeyCode.W) &amp;&amp; paddle1.position.y &lt;= 4)`\\n\\n`{`\\n\\n`paddle1.Translate((Vector2.up * speed) * Time.deltaTime);`\\n\\n`}`\\n\\n&amp;#x200B;\\n\\n`else if (Input.GetKey(KeyCode.S) &amp;&amp; paddle1.position.y &gt;= -4)`\\n\\n`{`\\n\\n`paddle1.Translate((Vector2.up * -speed) * Time.deltaTime);`\\n\\n`}`\\n\\n&amp;#x200B;\\n\\n`\/\/ Paddle 2 Input`\\n\\n`if (Input.GetKey(KeyCode.UpArrow) &amp;&amp; paddle2.position.y &lt;= 4)`\\n\\n`{`\\n\\n`paddle2.Translate((Vector2.up * speed) * Time.deltaTime);`\\n\\n`}`\\n\\n&amp;#x200B;\\n\\n`else if (Input.GetKey(KeyCode.DownArrow) &amp;&amp; paddle2.position.y &gt;= -4)`\\n\\n`{`\\n\\n`paddle2.Translate((Vector2.up * -speed) * Time.deltaTime);`\\n\\n`}`\\n\\n&amp;#x200B;\\n\\n`}`\\n\\n&amp;#x200B;\\n\\n`void ballStart()`\\n\\n`{`\\n\\n&amp;#x200B;\\n\\n`float ballDirectionRand = Random.Range(0.0f, 2.0f);`\\n\\n&amp;#x200B;\\n\\n`if (ballDirectionRand &lt;= 1.0f)`\\n\\n`{`\\n\\n`ball.eulerAngles = new Vector3(0.0f, 0.0f, Random.Range(-30.0f, 30.0f));`\\n\\n`}`\\n\\n&amp;#x200B;\\n\\n`else`\\n\\n`{`\\n\\n`ball.eulerAngles = new Vector3(0.0f, 0.0f, Random.Range(150.0f, 210.0f));`\\n\\n`}`\\n\\n&amp;#x200B;\\n\\n`ballSpeed = 10.0f * Time.deltaTime;`\\n\\n&amp;#x200B;\\n\\n`\/\/ Move Ball`\\n\\n`ballRB.AddRelativeForce(ball.transform.right * ballSpeed);`\\n\\n&amp;#x200B;\\n\\n`}`\\n\\n&amp;#x200B;\\n\\n`void UpdateScore()`\\n\\n`{`\\n\\n`string temp = player1score.ToString() + \" | \" + player2score.ToString();`\\n\\n`scoreTxt.text = temp;`\\n\\n`}`\\n\\n&amp;#x200B;\\n\\n`}`\\n\\nIs this a bug, or have I done something wrong?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 17, 'created_utc': 1619797062}"}
{"id":"404164","text":"Title: Best way to generate unique ID for client database?\nThe text below was posted in an online community called javascript in the year 2017:\n\nHey guys I am currently working on an app that stores client information. Everything works well up until o get to client Ids. I'm not sure what the best method is...\n\nI'm currently using Mongodb\/mongoose\/node.js.\n\nI thought about creating a model for usedNums and just pushing each id into an array of numbers within one instance of that model. I could then compare every new randomly generated id to the \"usedNums\" but I'm not sure if it's a good idea to create a model for that specific use. \n\nI also thought about generating a random ID and using:\n\n    Client.find({\"id\" : \"randomID\", function(err, matchedID).\n\nBut I am not sure if \"matchedID\" is returned as undefined if nothing is matched in the DB. If it is, I could just..\n\n    If(matchedID === undefined){\n        client.clientId = randomID;\n        client.save();\n    }\n\nAny ideas?","meta":"{'source': 'reddit_posts', 'id': '6r11cr', 'title': 'Best way to generate unique ID for client database?', 'author': 'fvrthebrave', 'subreddit': 'javascript', 'subreddit_id': '2qh30', 'body': 'Hey guys I am currently working on an app that stores client information. Everything works well up until o get to client Ids. I\\'m not sure what the best method is...\\n\\nI\\'m currently using Mongodb\/mongoose\/node.js.\\n\\nI thought about creating a model for usedNums and just pushing each id into an array of numbers within one instance of that model. I could then compare every new randomly generated id to the \"usedNums\" but I\\'m not sure if it\\'s a good idea to create a model for that specific use. \\n\\nI also thought about generating a random ID and using:\\n\\n    Client.find({\"id\" : \"randomID\", function(err, matchedID).\\n\\nBut I am not sure if \"matchedID\" is returned as undefined if nothing is matched in the DB. If it is, I could just..\\n\\n    If(matchedID === undefined){\\n        client.clientId = randomID;\\n        client.save();\\n    }\\n\\nAny ideas?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 16, 'created_utc': 1501639080}"}
{"id":"810575","text":"Title: Just feeling depressed and overwhelmed\nThe text below was posted in an online community called cscareerquestions in the year 2021:\n\nHad a Microsoft phone interview today for service engineer intern position and felt like I bombed it. I knew it would be purely behavioral and I did 3 mocks before the interview, and also went through Glassdoor to see what types of questions are usually asked. I got weird questions that I was not expecting and even though I used star method and gave specific example, I don't think I did well.\n\nAnd it really depress me. It feels like everything is a chance of luck. I have had 4 internships (2 of which were at fortune\/global 500), go to top 3 Canadian school, almost close to a 4.0 Major GPA and yet here I am without a single top notch internship. I still to this date cannot solve a LC hard, and even sometimes medium after doing almost 164 problems. I also was struggling to even get interviews until mid November when Microsoft and facebook reached out, and the Microsoft one was not even for a swe intern role I applied. Never ever got an amazon OA. I also had referrals and got my resume reviewed several times.\n\nJust feeling extremely hopeless. I have seen so many people with fewer internships than mine securing top notch internships and getting lucky with their interviewers while I somehow am stuck on bad luck. I didn't even get an interview from a single big tech company last year.\n\nThat begs the question, am I just too dumb or unlucky? Is the career not suited for me? I don't know how can I even get successful interviewing for a sde 1 or sde 2 role few years down the path given those interviews are mostly focus on LC hards or LC mediums with optimized solutions.","meta":"{'source': 'reddit_posts', 'id': 'r66m6i', 'title': 'Just feeling depressed and overwhelmed', 'author': 'sinus_lebastian', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"Had a Microsoft phone interview today for service engineer intern position and felt like I bombed it. I knew it would be purely behavioral and I did 3 mocks before the interview, and also went through Glassdoor to see what types of questions are usually asked. I got weird questions that I was not expecting and even though I used star method and gave specific example, I don't think I did well.\\n\\nAnd it really depress me. It feels like everything is a chance of luck. I have had 4 internships (2 of which were at fortune\/global 500), go to top 3 Canadian school, almost close to a 4.0 Major GPA and yet here I am without a single top notch internship. I still to this date cannot solve a LC hard, and even sometimes medium after doing almost 164 problems. I also was struggling to even get interviews until mid November when Microsoft and facebook reached out, and the Microsoft one was not even for a swe intern role I applied. Never ever got an amazon OA. I also had referrals and got my resume reviewed several times.\\n\\nJust feeling extremely hopeless. I have seen so many people with fewer internships than mine securing top notch internships and getting lucky with their interviewers while I somehow am stuck on bad luck. I didn't even get an interview from a single big tech company last year.\\n\\nThat begs the question, am I just too dumb or unlucky? Is the career not suited for me? I don't know how can I even get successful interviewing for a sde 1 or sde 2 role few years down the path given those interviews are mostly focus on LC hards or LC mediums with optimized solutions.\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 3, 'created_utc': 1638333894}"}
{"id":"1069062","text":"Title: Factorio is medicine\nThe text below was posted in an online community called factorio in the year 2017:\n\nAt least for me it is. I suffer from quite severe anxiety at times that makes it hard to function, and especially the last weeks have been hard for several private stuff going on.\nBut everytime I get overwhelmed, firing up Factorio, even for only an hour or so, really helps calm me down.\nJust improving my factory a bit, or just dicking around and watching everything work as I intend is just so soothing to my mind.","meta":"{'source': 'reddit_posts', 'id': '6fgi3w', 'title': 'Factorio is medicine', 'author': 'Z4ph00d', 'subreddit': 'factorio', 'subreddit_id': '2wabp', 'body': 'At least for me it is. I suffer from quite severe anxiety at times that makes it hard to function, and especially the last weeks have been hard for several private stuff going on.\\nBut everytime I get overwhelmed, firing up Factorio, even for only an hour or so, really helps calm me down.\\nJust improving my factory a bit, or just dicking around and watching everything work as I intend is just so soothing to my mind.', 'body_is_trimmed': False, 'score': 63, 'over_18': False, 'num_comments': 32, 'created_utc': 1496691290}"}
{"id":"593373","text":"Title: How to set up a simple text-based game\nThe text below was posted in an online community called swift in the year 2019:\n\nI am new to swift and want to start with a simple text-based game, but I am trying to figure out how to set it up. do I do it in playground or project, what os do I make it for, is there anything else that is required?","meta":"{'source': 'reddit_posts', 'id': 'bdyy62', 'title': 'How to set up a simple text-based game', 'author': 'Greekfire26', 'subreddit': 'swift', 'subreddit_id': '2z6zi', 'body': 'I am new to swift and want to start with a simple text-based game, but I am trying to figure out how to set it up. do I do it in playground or project, what os do I make it for, is there anything else that is required?', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 11, 'created_utc': 1555447400}"}
{"id":"1061049","text":"Title: Always display bytes count\nThe text below was posted in an online community called vim in the year 2021:\n\nI already know of G-ctrl g, to show the byte count, but how do I get vim to always display the current file's byte count in insert.","meta":"{'source': 'reddit_posts', 'id': 'p9ennc', 'title': 'Always display bytes count', 'author': 'No-Explorer-5637', 'subreddit': 'vim', 'subreddit_id': '2qhqx', 'body': \"I already know of G-ctrl g, to show the byte count, but how do I get vim to always display the current file's byte count in insert.\", 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 4, 'created_utc': 1629646710}"}
{"id":"1410769","text":"Title: ERB at the command prompt?\nThe text below was posted in an online community called ruby in the year 2022:\n\nCan I run ERB at the command prompt? I want to do something like this:\n\n`$ erb \"&lt;%= 1+1 %&gt;\"`\n\nand get back\n\n`2`\n\nThis is so I can test out my ERB snippets. Toughts?","meta":"{'source': 'reddit_posts', 'id': 'tr1qj8', 'title': 'ERB at the command prompt?', 'author': 'rman666', 'subreddit': 'ruby', 'subreddit_id': '2qh21', 'body': 'Can I run ERB at the command prompt? I want to do something like this:\\n\\n`$ erb \"&lt;%= 1+1 %&gt;\"`\\n\\nand get back\\n\\n`2`\\n\\nThis is so I can test out my ERB snippets. Toughts?', 'body_is_trimmed': False, 'score': 12, 'over_18': False, 'num_comments': 9, 'created_utc': 1648564981}"}
{"id":"1419122","text":"Title: Dissapointed in my current \"CS degree\". Wondering what should I do. Need help.\nThe text below was posted in an online community called cscareerquestions in the year 2016:\n\nSome context. I've currently in my 3rd year of a 4 year degree called Multimedia Engineering, but it's a joke. Supposedly it should be like a degree in Computer Engineering (the equivalent of a CS degree in EE.UU) that focuses more on things like 3d simulations, math behind animation, image\/audio specific databases. What I've got is a watered down CS degree with useless classes.\n\nI would like to work making a new framework, being the creator of a new programing language, creating new algorithms, making a new standard, a pioneering program etc.\n\nWith my current degree I feel I can only work doing programs on medium sized business: **i.e a business programmer. Not that I would hate ending doing that. I like programing but I'd rather not. Also I'm not even sure I'll end up prepared to work in it with my current degree** \n\nSo my questions is what should I do? I've been thinking about it and thought several posibilities.\n\n* Switching degrees: I guess some classes would be validated but now many. I'm guessing I could do it in 3 years.\n* Doing a masters: finishing my degree and then doing a CS specific master: I'm afraid my level won't be good for it and have a hard time doing it. Also in my country a master (2 years) is more expensive than a degree.\n* Don't switch degree. Complement my education with online free courses and hope for the best.\n\nAlso I would like to ask you guys in case I end up doing the third option what are the pros and cons between these options? Which one do you recommend?\n\n* [Open Source Society] (https:\/\/github.com\/open-source-society\/computer-science)\n* [Random Google Doc] (https:\/\/docs.google.com\/spreadsheets\/d\/1BD8BJJUNaX63m2QmySWMGDp71nx4W4MyyiIBlfMoN3Q\/htmlview?sle=true#)\n* [Coursera  Based] (http:\/\/www.thesimplelogic.com\/2012\/09\/24\/you-say-you-want-an-education)\n* [Google's recommendation] (https:\/\/www.google.com\/about\/careers\/students\/guide-to-technical-development.html)","meta":"{'source': 'reddit_posts', 'id': '4fn9wo', 'title': 'Dissapointed in my current \"CS degree\". Wondering what should I do. Need help.', 'author': 'Rupleg', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"Some context. I've currently in my 3rd year of a 4 year degree called Multimedia Engineering, but it's a joke. Supposedly it should be like a degree in Computer Engineering (the equivalent of a CS degree in EE.UU) that focuses more on things like 3d simulations, math behind animation, image\/audio specific databases. What I've got is a watered down CS degree with useless classes.\\n\\nI would like to work making a new framework, being the creator of a new programing language, creating new algorithms, making a new standard, a pioneering program etc.\\n\\nWith my current degree I feel I can only work doing programs on medium sized business: **i.e a business programmer. Not that I would hate ending doing that. I like programing but I'd rather not. Also I'm not even sure I'll end up prepared to work in it with my current degree** \\n\\nSo my questions is what should I do? I've been thinking about it and thought several posibilities.\\n\\n* Switching degrees: I guess some classes would be validated but now many. I'm guessing I could do it in 3 years.\\n* Doing a masters: finishing my degree and then doing a CS specific master: I'm afraid my level won't be good for it and have a hard time doing it. Also in my country a master (2 years) is more expensive than a degree.\\n* Don't switch degree. Complement my education with online free courses and hope for the best.\\n\\nAlso I would like to ask you guys in case I end up doing the third option what are the pros and cons between these options? Which one do you recommend?\\n\\n* [Open Source Society] (https:\/\/github.com\/open-source-society\/computer-science)\\n* [Random Google Doc] (https:\/\/docs.google.com\/spreadsheets\/d\/1BD8BJJUNaX63m2QmySWMGDp71nx4W4MyyiIBlfMoN3Q\/htmlview?sle=true#)\\n* [Coursera  Based] (http:\/\/www.thesimplelogic.com\/2012\/09\/24\/you-say-you-want-an-education)\\n* [Google's recommendation] (https:\/\/www.google.com\/about\/careers\/students\/guide-to-technical-development.html)\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 6, 'created_utc': 1461158434}"}
{"id":"2071968","text":"Title: Figma design to React app\nThe text below was posted in an online community called reactjs in the year 2021:\n\nHey all, \n\nI have a design screen that a designer generated in Figma. Whats the general process to replicate this design in my react project? Im new to this and I couldnt find a concrete way to do it online. Any help would be appreciated!\n\nThanks!","meta":"{'source': 'reddit_posts', 'id': 'ofgruo', 'title': 'Figma design to React app', 'author': 'Otherwise-Royal9230', 'subreddit': 'reactjs', 'subreddit_id': '2zldd', 'body': 'Hey all, \\n\\nI have a design screen that a designer generated in Figma. Whats the general process to replicate this design in my react project? Im new to this and I couldnt find a concrete way to do it online. Any help would be appreciated!\\n\\nThanks!', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 18, 'created_utc': 1625656348}"}
{"id":"443280","text":"Title: Combining fastcgi and reverse proxy within one server\nThe text below was posted in an online community called nginx in the year 2018:\n\nHello,\n\nI had two location blocks as shown below, within one server block. The first one to enable PHP FastCGI, as suggested [in this document](https:\/\/www.nginx.com\/resources\/wiki\/start\/topics\/examples\/phpfcgi\/). The second is to reverse proxy anything starting with \"\/pwk\/\" to another server.\n\n    location ~ [^\/]\\.php(\/|$) {\n      fastcgi_split_path_info ^(.+?\\.php)(\/.*)$;\n      if (!-f $document_root$fastcgi_script_name) {\n          return 404;\n      }\n\n      fastcgi_param HTTP_PROXY \"\";\n\n      fastcgi_pass unix:\/var\/run\/php5-fpm.sock;\n      fastcgi_index index.php;\n\n      include fastcgi.conf;\n    }\n\n    location \/pwk\/ {\n      proxy_pass             http:\/\/upstream_abcd;\n      proxy_http_version     1.1;\n      proxy_set_header       Host $http_host;\n      proxy_set_header       X-Real-IP $remote_addr;\n      proxy_set_header       X-Forwarded-For $remote_addr;\n      proxy_set_header       X-Forwarded-Proto $scheme;\n      proxy_set_header       Connection \"\";\n      proxy_pass_header      Date;\n    }\n\nThe problem is, a request to any file by URL \/pwk\/[whatever].php would match the first location, not the second one, and return error 404 by nginx. \n\nHow to properly combine FastCGI for PHP, and reverse proxying of certain URIs (including those with *.php in URI)?\n\nTried nesting the first location inside a \"location \/\", didn't help.","meta":"{'source': 'reddit_posts', 'id': '7qj65w', 'title': 'Combining fastcgi and reverse proxy within one server', 'author': 'romanrm', 'subreddit': 'nginx', 'subreddit_id': '2qkz1', 'body': 'Hello,\\n\\nI had two location blocks as shown below, within one server block. The first one to enable PHP FastCGI, as suggested [in this document](https:\/\/www.nginx.com\/resources\/wiki\/start\/topics\/examples\/phpfcgi\/). The second is to reverse proxy anything starting with \"\/pwk\/\" to another server.\\n\\n    location ~ [^\/]\\\\.php(\/|$) {\\n      fastcgi_split_path_info ^(.+?\\\\.php)(\/.*)$;\\n      if (!-f $document_root$fastcgi_script_name) {\\n          return 404;\\n      }\\n\\n      fastcgi_param HTTP_PROXY \"\";\\n\\n      fastcgi_pass unix:\/var\/run\/php5-fpm.sock;\\n      fastcgi_index index.php;\\n\\n      include fastcgi.conf;\\n    }\\n\\n    location \/pwk\/ {\\n      proxy_pass             http:\/\/upstream_abcd;\\n      proxy_http_version     1.1;\\n      proxy_set_header       Host $http_host;\\n      proxy_set_header       X-Real-IP $remote_addr;\\n      proxy_set_header       X-Forwarded-For $remote_addr;\\n      proxy_set_header       X-Forwarded-Proto $scheme;\\n      proxy_set_header       Connection \"\";\\n      proxy_pass_header      Date;\\n    }\\n\\nThe problem is, a request to any file by URL \/pwk\/[whatever].php would match the first location, not the second one, and return error 404 by nginx. \\n\\nHow to properly combine FastCGI for PHP, and reverse proxying of certain URIs (including those with *.php in URI)?\\n\\nTried nesting the first location inside a \"location \/\", didn\\'t help.', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 0, 'created_utc': 1516016400}"}
{"id":"655707","text":"Title: How do I contact the HR after CEO said they'll reach out?\nThe text below was posted in an online community called cscareerquestions in the year 2021:\n\nI cold mailed this small startup's CEO asking to work with them. He CCd CTO and HR head to take their opinion. HR said he'll wait for CTO's opinion. CTO said sure, HR will will reach out to you to get basic info on what your looking for. HR said that yes, he'll do that.\n\n  \n\n\nNow it has been almost 5 days and HR still hasn't gotten back to me. Should I contact him? If yes, how should I phrase the mail?","meta":"{'source': 'reddit_posts', 'id': 'ntepem', 'title': \"How do I contact the HR after CEO said they'll reach out?\", 'author': 'fuckThisShitImOuttie', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"I cold mailed this small startup's CEO asking to work with them. He CCd CTO and HR head to take their opinion. HR said he'll wait for CTO's opinion. CTO said sure, HR will will reach out to you to get basic info on what your looking for. HR said that yes, he'll do that.\\n\\n  \\n\\n\\nNow it has been almost 5 days and HR still hasn't gotten back to me. Should I contact him? If yes, how should I phrase the mail?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 3, 'created_utc': 1622958149}"}
{"id":"1819460","text":"Title: Question on mounting partitions in linux.\nThe text below was posted in an online community called linuxquestions in the year 2014:\n\nHey all, \n\n  So I've gotten familiar with mounting drives manually in linux:\n\n    sudo mount \/dev\/sda1 \/media\/foldername\n\n  On one system I'm working with however there are some unusual partitions.\n\n    Fdisk -l output\n        Device Boot      Start         End      Blocks   Id  System\n    \/dev\/sda1   *        2048      499711      248832   83  Linux\n    \/dev\/sda2          501758   625141759   312320001    5  Extended\n    \/dev\/sda5          501760   625141759   312320000   8e  Linux LVM\n\nSo I tried to use this command for sda2:\n\n     sudo mount \/dev\/sda2 \/media\/folder ext3 0 2\n\nWhich doesn't work at all, fdisk actually throws the help file at me (I assume to try and correct my ignorance). \n\n**What would the command look like to properly mount sda2 and sda5?**\n\nIf it matters, I'm using linux Mint 13 LTS atm.\n\nThank you for any help or advice!","meta":"{'source': 'reddit_posts', 'id': '27zcz1', 'title': 'Question on mounting partitions in linux.', 'author': 'Going_Postal', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': \"Hey all, \\n\\n  So I've gotten familiar with mounting drives manually in linux:\\n\\n    sudo mount \/dev\/sda1 \/media\/foldername\\n\\n  On one system I'm working with however there are some unusual partitions.\\n\\n    Fdisk -l output\\n        Device Boot      Start         End      Blocks   Id  System\\n    \/dev\/sda1   *        2048      499711      248832   83  Linux\\n    \/dev\/sda2          501758   625141759   312320001    5  Extended\\n    \/dev\/sda5          501760   625141759   312320000   8e  Linux LVM\\n\\nSo I tried to use this command for sda2:\\n\\n     sudo mount \/dev\/sda2 \/media\/folder ext3 0 2\\n\\nWhich doesn't work at all, fdisk actually throws the help file at me (I assume to try and correct my ignorance). \\n\\n**What would the command look like to properly mount sda2 and sda5?**\\n\\nIf it matters, I'm using linux Mint 13 LTS atm.\\n\\nThank you for any help or advice!\", 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 8, 'created_utc': '1402595635'}"}
{"id":"961658","text":"Title: Ebook Coding problem\nThe text below was posted in an online community called learnprogramming in the year 2015:\n\nI am attempting to teach myself how edit ebook code. I am trying to figure out how to toggle style=\"display:none\".\n\nMy end goal is to have a onclick toggle that would make a specific display:none text visible. The reason I want it to be display:none is that it from my understanding while not displayed it doesn't take up text room so there won't be blank spaces in my story\n\nfor example\n\nI love beacon - invisible\nI love kittens - invisible\nRick roll - invisible\n\nwith a on click selection making one of them visible.\n\nIs this possible to do?\n\nIf u can't tell me exactly how to do it, suggestions on how you would go about it would help.\n\nI am using Calibre to do this project.\n\nEdit for clarity.","meta":"{'source': 'reddit_posts', 'id': '30j53k', 'title': 'Ebook Coding problem', 'author': 'mainstreamderp', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'I am attempting to teach myself how edit ebook code. I am trying to figure out how to toggle style=\"display:none\".\\n\\nMy end goal is to have a onclick toggle that would make a specific display:none text visible. The reason I want it to be display:none is that it from my understanding while not displayed it doesn\\'t take up text room so there won\\'t be blank spaces in my story\\n\\nfor example\\n\\nI love beacon - invisible\\nI love kittens - invisible\\nRick roll - invisible\\n\\nwith a on click selection making one of them visible.\\n\\nIs this possible to do?\\n\\nIf u can\\'t tell me exactly how to do it, suggestions on how you would go about it would help.\\n\\nI am using Calibre to do this project.\\n\\nEdit for clarity.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': '1427488721'}"}
{"id":"468895","text":"Title: Working on my LinkedIn.\nThe text below was posted in an online community called learnprogramming in the year 2022:\n\nI'm currently enrolled in a full stack program that starts in a week, but would like to start making connections and improving my linkedIn right now. I still work full-time as a Surgical assistant in the operating room, and my LinkedIn currently showcases that with about 350 connections to other medical staff, schools, and companies. Do I just delete this profile and make a new one solely focused on my programming future? Or should I just start building relations in my future field now with my current profile? I just don't want a recruiter to be confused when viewing my profile.","meta":"{'source': 'reddit_posts', 'id': 't52xlb', 'title': 'Working on my LinkedIn.', 'author': 'Friedhouse', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': \"I'm currently enrolled in a full stack program that starts in a week, but would like to start making connections and improving my linkedIn right now. I still work full-time as a Surgical assistant in the operating room, and my LinkedIn currently showcases that with about 350 connections to other medical staff, schools, and companies. Do I just delete this profile and make a new one solely focused on my programming future? Or should I just start building relations in my future field now with my current profile? I just don't want a recruiter to be confused when viewing my profile.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1646235895}"}
{"id":"1011710","text":"Title: Book or resource to understand graphics stacks\nThe text below was posted in an online community called linuxquestions in the year 2018:\n\nI'm trying to understand what each piece on a graphics stack (ie: KDE, qt, Xorg, mesa, video driver, etc) does and how all they work with each other, explanations of compositing and blitting, etc.\n\nAlso comparisons between how the different Linux DEs, Windows, Android, etc do this stuff.\n\nThen more specific stuff like how are the ttys rendered outside of Xorg, how DirectFB works, etc.\n\nDoes anyone know about a book focusing on this subjects or a website with all this info in one place? Trying to put the puzzle together from snippets of each thing is quite complex.","meta":"{'source': 'reddit_posts', 'id': '8di5jc', 'title': 'Book or resource to understand graphics stacks', 'author': 'eggeggegge', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': \"I'm trying to understand what each piece on a graphics stack (ie: KDE, qt, Xorg, mesa, video driver, etc) does and how all they work with each other, explanations of compositing and blitting, etc.\\n\\nAlso comparisons between how the different Linux DEs, Windows, Android, etc do this stuff.\\n\\nThen more specific stuff like how are the ttys rendered outside of Xorg, how DirectFB works, etc.\\n\\nDoes anyone know about a book focusing on this subjects or a website with all this info in one place? Trying to put the puzzle together from snippets of each thing is quite complex.\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 2, 'created_utc': 1524171961}"}
{"id":"1296525","text":"Title: Should we make our own semantic versioning spec?\nThe text below was posted in an online community called rust in the year 2018:\n\nPretty regularly I see these threads pop up about version 1.0.0 that makes it evident that there are 2 ways in which the rust community feels different about the meaning of version numbers than what [the semver spec says](https:\/\/semver.org\/):\n\n1. In the official spec, version `0.x.y` and `0.x.z` are not considered compatible. But cargo (and most rust programmers) assumes that version `0.x.y` and `0.x.z` (with `z` &gt; `y`) *are* compatible, and that breaking changes must increase `x`.\n\n2. When to go from `0.x.y` to `1.0.0`. The spec says that version `0.x.y` is for initial development only and is not considered stable. The spec's FAQ says that if it's used in production or depended on by others, it should be at version &gt;`1.0.0` already. But despite our past efforts to push crates to version `1.0.0`, we still have many stable, production-quality crates depended on by many people that are at version `0.x.y` (15 of the 20 most-downloaded crates on crates.io are version `0.x.y`).\n\nI think this mismatch will continue to spark discussions forever. And the time we spend arguing about this could be better spent on more productive things.\n\nThat's why I think it could be a good idea to make our own version of semver to clarify what the official stance of the rust community is on the meaning of version numbers. We have a choice here between being:\n\n* **A) Descriptive:** Try to describe the current situation as accurately as possible. The benefit of this would be that when someone (like your boss) complains about one of your dependencies being version `0.x.y`, you have a document to point to to say \"no, that's fine, that's just how we do things in Rust\".\n\n* **B) Prescriptive:** Write a spec that doesn't fully match how people currently use version numbers. But this should then come paired with a concerted effort to get people to use the version numbers in the way that the new spec dictates. If we say, for example, that production-quality crates should be at version `1.0.0` or above, we should actively go to production-quality crates that are at version `0.x.y` to ask them to change the version number.\n\nIf we make such a spec, the github RFC about it will presumably get a million comments, so I don't want to be the one who writes it. But I still think it would be a good idea to have a rust-semver spec.\n\n---\n\n*EDIT: While it doesn't really talk about the `0.x.y` technicality or the meaning of version `1.0.0`, we do have [this spec](https:\/\/github.com\/aturon\/rfcs\/blob\/api-evolution\/text\/0000-api-evolution.md) about which changes in Rust are considered to be \"breaking\" from a semver perspective and which ones aren't. I didn't know that when I made this post. Maybe having 2 semver-related specs is too much. Maybe they could be combined into 1 though.*","meta":"{'source': 'reddit_posts', 'id': '9jcwjh', 'title': 'Should we make our own semantic versioning spec?', 'author': 'game-of-throwaways', 'subreddit': 'rust', 'subreddit_id': '2s7lj', 'body': 'Pretty regularly I see these threads pop up about version 1.0.0 that makes it evident that there are 2 ways in which the rust community feels different about the meaning of version numbers than what [the semver spec says](https:\/\/semver.org\/):\\n\\n1. In the official spec, version `0.x.y` and `0.x.z` are not considered compatible. But cargo (and most rust programmers) assumes that version `0.x.y` and `0.x.z` (with `z` &gt; `y`) *are* compatible, and that breaking changes must increase `x`.\\n\\n2. When to go from `0.x.y` to `1.0.0`. The spec says that version `0.x.y` is for initial development only and is not considered stable. The spec\\'s FAQ says that if it\\'s used in production or depended on by others, it should be at version &gt;`1.0.0` already. But despite our past efforts to push crates to version `1.0.0`, we still have many stable, production-quality crates depended on by many people that are at version `0.x.y` (15 of the 20 most-downloaded crates on crates.io are version `0.x.y`).\\n\\nI think this mismatch will continue to spark discussions forever. And the time we spend arguing about this could be better spent on more productive things.\\n\\nThat\\'s why I think it could be a good idea to make our own version of semver to clarify what the official stance of the rust community is on the meaning of version numbers. We have a choice here between being:\\n\\n* **A) Descriptive:** Try to describe the current situation as accurately as possible. The benefit of this would be that when someone (like your boss) complains about one of your dependencies being version `0.x.y`, you have a document to point to to say \"no, that\\'s fine, that\\'s just how we do things in Rust\".\\n\\n* **B) Prescriptive:** Write a spec that doesn\\'t fully match how people currently use version numbers. But this should then come paired with a concerted effort to get people to use the version numbers in the way that the new spec dictates. If we say, for example, that production-quality crates should be at version `1.0.0` or above, we should actively go to production-quality crates that are at version `0.x.y` to ask them to change the version number.\\n\\nIf we make such a spec, the github RFC about it will presumably get a million comments, so I don\\'t want to be the one who writes it. But I still think it would be a good idea to have a rust-semver spec.\\n\\n---\\n\\n*EDIT: While it doesn\\'t really talk about the `0.x.y` technicality or the meaning of version `1.0.0`, we do have [this spec](https:\/\/github.com\/aturon\/rfcs\/blob\/api-evolution\/text\/0000-api-evolution.md) about which changes in Rust are considered to be \"breaking\" from a semver perspective and which ones aren\\'t. I didn\\'t know that when I made this post. Maybe having 2 semver-related specs is too much. Maybe they could be combined into 1 though.*', 'body_is_trimmed': False, 'score': 12, 'over_18': False, 'num_comments': 48, 'created_utc': 1538055176}"}
{"id":"1132410","text":"Title: [Python]FreeCell! Be nice or mean, just give this a good review!\nThe text below was posted in an online community called learnprogramming in the year 2013:\n\nThe most recent project for my intro to programming course had us build FreeCell.\nThere are elements I wish I wrote better but I am curious what you guys\/gals think I could improve on. \nWe haven't discussed too as for design topics however, I try to implement what I have learned from [r\/learnprogramming](http:\/\/www.reddit.com\/r\/learnprogramming\/) and books I have read. \n\nAnyways, enjoy.\n\n\n\n***[Git](https:\/\/github.com\/rnu\/Python_Freecell.git)***(Python 3.0)\n\n\n\n**TL:DR** Tear my code apart.","meta":"{'source': 'reddit_posts', 'id': '1qfoag', 'title': '[Python]FreeCell! Be nice or mean, just give this a good review!', 'author': 'rnu', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': \"The most recent project for my intro to programming course had us build FreeCell.\\nThere are elements I wish I wrote better but I am curious what you guys\/gals think I could improve on. \\nWe haven't discussed too as for design topics however, I try to implement what I have learned from [r\/learnprogramming](http:\/\/www.reddit.com\/r\/learnprogramming\/) and books I have read. \\n\\nAnyways, enjoy.\\n\\n\\n\\n***[Git](https:\/\/github.com\/rnu\/Python_Freecell.git)***(Python 3.0)\\n\\n\\n\\n**TL:DR** Tear my code apart.\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 5, 'created_utc': 1384232193}"}
{"id":"2375463","text":"Title: C# Make a Toolbox Item Public for all forms\nThe text below was posted in an online community called learnprogramming in the year 2019:\n\nHey,\nI am new to coding and I'm starting to feel the pressure of being a coder.\nAnyways, I want to know how do you code a object in C# from the toolbox located on a form (lets say Form2) so you can code on it in another form (Form3). \n\nI tried with the  modifiers section turning it public but it did not work. \n\nHow do you edit it in another form\n\nThanks,\nAndres Fuentes","meta":"{'source': 'reddit_posts', 'id': 'ce4mh7', 'title': 'C# Make a Toolbox Item Public for all forms', 'author': 'fuentes2395', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': \"Hey,\\nI am new to coding and I'm starting to feel the pressure of being a coder.\\nAnyways, I want to know how do you code a object in C# from the toolbox located on a form (lets say Form2) so you can code on it in another form (Form3). \\n\\nI tried with the  modifiers section turning it public but it did not work. \\n\\nHow do you edit it in another form\\n\\nThanks,\\nAndres Fuentes\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 3, 'created_utc': 1563318668}"}
{"id":"1847724","text":"Title: Have you used Apple Pay yet?\nThe text below was posted in an online community called apple in the year 2015:\n\nWhich merchant did you use it at? What was the experience like? Would like to get feedback on how good Apple Pay is...","meta":"{'source': 'reddit_posts', 'id': '2trxal', 'title': 'Have you used Apple Pay yet?', 'author': 'Zurevu', 'subreddit': 'apple', 'subreddit_id': '2qh1f', 'body': 'Which merchant did you use it at? What was the experience like? Would like to get feedback on how good Apple Pay is...', 'body_is_trimmed': False, 'score': 23, 'over_18': False, 'num_comments': 139, 'created_utc': '1422313724'}"}
{"id":"753975","text":"Title: Tell Me Why My Parameter Set Is Bad\nThe text below was posted in an online community called PowerShell in the year 2017:\n\nHello again all...\nI'm still messing around with creating a function that can copy some custom apps around (where I cannot use choco, etc.)\nI'm having issues determining the number of parameter sets I need and how they should be passed as either required\/not required. \n\n[How bad does this code snippet look?](https:\/\/pastebin.com\/jcw7v0Qh)\n\nMy end goal is to either run a local install initialed by the end user directly or allow an admin to perform a remote install based on a switch supplied. I also tried a '-InstallType &lt;Remote|Local&gt;' with a Dynamic Parameter to limit ComputerName as a [string] when 'Local' was used or [string[]] when 'Remote' and that was also all sorts of confusing ... :)\n\n    Install-MyApp -Local \n    Install-MyApp -Remote -ComputerName 'computer' -UserName 'bob' -Region 'EU' -Credential (Get-Credential -Message 'Admin permissions:')","meta":"{'source': 'reddit_posts', 'id': '7asd71', 'title': 'Tell Me Why My Parameter Set Is Bad', 'author': 'blackcamo', 'subreddit': 'PowerShell', 'subreddit_id': '2qo1o', 'body': \"Hello again all...\\nI'm still messing around with creating a function that can copy some custom apps around (where I cannot use choco, etc.)\\nI'm having issues determining the number of parameter sets I need and how they should be passed as either required\/not required. \\n\\n[How bad does this code snippet look?](https:\/\/pastebin.com\/jcw7v0Qh)\\n\\nMy end goal is to either run a local install initialed by the end user directly or allow an admin to perform a remote install based on a switch supplied. I also tried a '-InstallType &lt;Remote|Local&gt;' with a Dynamic Parameter to limit ComputerName as a [string] when 'Local' was used or [string[]] when 'Remote' and that was also all sorts of confusing ... :)\\n\\n    Install-MyApp -Local \\n    Install-MyApp -Remote -ComputerName 'computer' -UserName 'bob' -Region 'EU' -Credential (Get-Credential -Message 'Admin permissions:')\", 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 6, 'created_utc': 1509820200}"}
{"id":"1269512","text":"Title: Windows 8 music app: .ogg support?\nThe text below was posted in an online community called windows in the year 2012:\n\nI just got a laptop with Windows 8. As much as the transitioning between metro and desktop view is weird and at times confusing, I don't mind the music app and the way I can have a full library-based media player that essentially runs in the background while I'm on the desktop (where I spend practically all of my time). While I was copying my music library across, however, I noticed that it wasn't recognising my .ogg music files. Is there some way to add support for them? And while we're here, is there much you can do to customise that or other apps at all? Metro apps don't seem very modular in that respect, and I can't help but notice that there isn't much in the way of settings.\n\nI will probably install vlc at some point, but I use that more for playing one file at a time when I need to. I would prefer to have a music player that works with a library. And isn't iTunes. I will find a third-party app if I have to, but I do like the default one and if I could keep using that it's be preferable.\n\nI did do some googling but I can't seem to find much about the app at all, so I figured the people here might be the best to ask.","meta":"{'source': 'reddit_posts', 'id': '13am42', 'title': 'Windows 8 music app: .ogg support?', 'author': 'ApatheticElephant', 'subreddit': 'windows', 'subreddit_id': '2qh3k', 'body': \"I just got a laptop with Windows 8. As much as the transitioning between metro and desktop view is weird and at times confusing, I don't mind the music app and the way I can have a full library-based media player that essentially runs in the background while I'm on the desktop (where I spend practically all of my time). While I was copying my music library across, however, I noticed that it wasn't recognising my .ogg music files. Is there some way to add support for them? And while we're here, is there much you can do to customise that or other apps at all? Metro apps don't seem very modular in that respect, and I can't help but notice that there isn't much in the way of settings.\\n\\nI will probably install vlc at some point, but I use that more for playing one file at a time when I need to. I would prefer to have a music player that works with a library. And isn't iTunes. I will find a third-party app if I have to, but I do like the default one and if I could keep using that it's be preferable.\\n\\nI did do some googling but I can't seem to find much about the app at all, so I figured the people here might be the best to ask.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1353066310}"}
{"id":"2114486","text":"Title: How to get alterations to data when file is being overwritten in S3\nThe text below was posted in an online community called aws in the year 2020:\n\nI have a file in my S3 bucket that whenever there is a release in our system, that file will be overwritten with the exact same data, but sometimes will have changes to it. How would I go about making a query in Athena to pull data that is changed from the previous file. Any way to do that? Also would I need to use Lambda to schedule this query?","meta":"{'source': 'reddit_posts', 'id': 'idzt3h', 'title': 'How to get alterations to data when file is being overwritten in S3', 'author': 'BIEIntern', 'subreddit': 'aws', 'subreddit_id': '2qh84', 'body': 'I have a file in my S3 bucket that whenever there is a release in our system, that file will be overwritten with the exact same data, but sometimes will have changes to it. How would I go about making a query in Athena to pull data that is changed from the previous file. Any way to do that? Also would I need to use Lambda to schedule this query?', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 5, 'created_utc': 1598026797}"}
{"id":"98382","text":"Title: On an ASA we can capture the outside interface for packets before they are dropped, can we do this on an ISR with the packet capture utility?\nThe text below was posted in an online community called networking in the year 2018:\n\nOn an ASA we can capture the outside interface for packets before they are dropped, can we do this on a router running IOS XE with the packet capture utility?\n\n* correction, please assume I am running IOS XE","meta":"{'source': 'reddit_posts', 'id': '86c7xf', 'title': 'On an ASA we can capture the outside interface for packets before they are dropped, can we do this on an ISR with the packet capture utility?', 'author': 'SuddenWeatherReport', 'subreddit': 'networking', 'subreddit_id': '2qkaf', 'body': 'On an ASA we can capture the outside interface for packets before they are dropped, can we do this on a router running IOS XE with the packet capture utility?\\n\\n* correction, please assume I am running IOS XE', 'body_is_trimmed': False, 'score': 35, 'over_18': False, 'num_comments': 14, 'created_utc': 1521731474}"}
{"id":"682752","text":"Title: Setting Godaddy Email up with Lightsail\nThe text below was posted in an online community called aws in the year 2018:\n\nI purchased a Godaddy email plan and I'm attempting to set it up in my Lightsail DNS records, but I'm having some trouble. In the Lightsail DNS records I can only set the type, *subdomain*, and destination. I can't set a different host for the record type. Is this unavailable for lightsail or what?","meta":"{'source': 'reddit_posts', 'id': '9c95mj', 'title': 'Setting Godaddy Email up with Lightsail', 'author': 'FishFish23', 'subreddit': 'aws', 'subreddit_id': '2qh84', 'body': \"I purchased a Godaddy email plan and I'm attempting to set it up in my Lightsail DNS records, but I'm having some trouble. In the Lightsail DNS records I can only set the type, *subdomain*, and destination. I can't set a different host for the record type. Is this unavailable for lightsail or what?\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 4, 'created_utc': 1535858938}"}
{"id":"2083402","text":"Title: Docker Neophyte: Looking for a how-to on how to have both Docker as well as WHM\/cPanel on the same server, and how to properly proxy Apache to the Tomcat server within the Docker container.\nThe text below was posted in an online community called docker in the year 2018:\n\nOkay, so building a setup that will do double duty.\n\nOn the one hand, we have plain-Jane vanilla PHP\/MariaDB hosting using WHM\/cPanel. We do *NOT* need Docker for this, as these will be itty-bitty tiny Wordpress sites for our other clients that take very little resources. Docker would be a sledgehammer against a fly for this.\n\nOn the other hand, we are bringing on board a client who has (for now) a currently-live site built using Java (under Tomcat) and some Java-powered database that I (currently) cannot remember the name of. This will be provided to us all neatly packaged in a docker container, fully set up, so (technically, AFAIK) all we have to do is shove the container into place, wire up all the connections and badda-bing, everything done. And because its Docker, AFAICT, Tomcat will be completely handled within that Docker instance.\n\nMy difficulty is in integrating both Docker and WHM\/cPanel on the same server, particularly in getting WHM\/cPanel to proxy all requests for that Java site such that Tomcat properly receives those requests. I have never had to do any sort of proxying with Apache, and I have never worked with Docker or Tomcat, so I am a bit in the dark here on how to wire each up to the other.\n\nI have also found [these (very brief) instructions](https:\/\/stackoverflow.com\/a\/46525070\/932002) on how to set up Docker on the same server as WHM\/cPanel. Which should be fine for the first stumbling step or two, but please note that **I am an utter Docker neophyte.** Having worked with Hyper-V, Virtuozzo and VMware to varying extents (and currently deep into Hyper-V on a personal level), I am no stranger to virtualisation, but Docker appears to be something else entirely. And in all honesty I am currently suffering from a somewhat moderate case of analysis paralysis - I really dont want to fuck this up.\n\nYes, I will look into the docs, but if you know of any paint-by-numbers quick reference that can get me up and moving in roughly the right direction, I would also be very appreciative for that as well.\n\nAnything else anyone can think of, that could point me in directions I havent thought of (but will be important), please fire away. I am your humble student.\n\nFYI, I have been using CentOS and WHM\/cPanel for the last decade to great effect, so while I might not be an *expert* expert, I am certainly not a raw n00b with that particular hosting stack.","meta":"{'source': 'reddit_posts', 'id': '8qbkac', 'title': 'Docker Neophyte: Looking for a how-to on how to have both Docker as well as WHM\/cPanel on the same server, and how to properly proxy Apache to the Tomcat server within the Docker container.', 'author': 'rekabis', 'subreddit': 'docker', 'subreddit_id': '2y00f', 'body': 'Okay, so building a setup that will do double duty.\\n\\nOn the one hand, we have plain-Jane vanilla PHP\/MariaDB hosting using WHM\/cPanel. We do *NOT* need Docker for this, as these will be itty-bitty tiny Wordpress sites for our other clients that take very little resources. Docker would be a sledgehammer against a fly for this.\\n\\nOn the other hand, we are bringing on board a client who has (for now) a currently-live site built using Java (under Tomcat) and some Java-powered database that I (currently) cannot remember the name of. This will be provided to us all neatly packaged in a docker container, fully set up, so (technically, AFAIK) all we have to do is shove the container into place, wire up all the connections and badda-bing, everything done. And because its Docker, AFAICT, Tomcat will be completely handled within that Docker instance.\\n\\nMy difficulty is in integrating both Docker and WHM\/cPanel on the same server, particularly in getting WHM\/cPanel to proxy all requests for that Java site such that Tomcat properly receives those requests. I have never had to do any sort of proxying with Apache, and I have never worked with Docker or Tomcat, so I am a bit in the dark here on how to wire each up to the other.\\n\\nI have also found [these (very brief) instructions](https:\/\/stackoverflow.com\/a\/46525070\/932002) on how to set up Docker on the same server as WHM\/cPanel. Which should be fine for the first stumbling step or two, but please note that **I am an utter Docker neophyte.** Having worked with Hyper-V, Virtuozzo and VMware to varying extents (and currently deep into Hyper-V on a personal level), I am no stranger to virtualisation, but Docker appears to be something else entirely. And in all honesty I am currently suffering from a somewhat moderate case of analysis paralysis - I really dont want to fuck this up.\\n\\nYes, I will look into the docs, but if you know of any paint-by-numbers quick reference that can get me up and moving in roughly the right direction, I would also be very appreciative for that as well.\\n\\nAnything else anyone can think of, that could point me in directions I havent thought of (but will be important), please fire away. I am your humble student.\\n\\nFYI, I have been using CentOS and WHM\/cPanel for the last decade to great effect, so while I might not be an *expert* expert, I am certainly not a raw n00b with that particular hosting stack.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': 1528740582}"}
{"id":"1544253","text":"Title: 1,000 FREE unique impulse responses (synthesized reverb, experimental IR and drum sounds)...game audio details inside\nThe text below was posted in an online community called gamedev in the year 2020:\n\n*tldr: here's the downloads:*  [**Experimental IR megapack**](https:\/\/drive.google.com\/open?id=1Dsp3MIIoW5BNSssdTAfPHYWP380t5c4v)\n\n&amp;#x200B;\n\nThe other day I got a message here on reddit.\n\nThommaz, a sound designer from Brazil sent me a thank you note, because he had lost some of the IRs I uploaded 3 yrs ago, and downloaded them again. Turns out, he used them extensively for the sound design on \"Dandara\" a multi-platform game (which I subsequently bought, it's a fun game).\n\nI found it incredibly cool that something I just uploaded to the reddits for fun and boredom could actually be used in a meaningful way on the other side of the globe, totally unbeknownst to me :)\n\nSo I decided to make more syntesized IRs for Thommaz and sent them to him. He told me he would probably chip in somewhere on here, to let me and people know how he actually used those sounds.\n\n&amp;#x200B;\n\nI have uploaded several experimental sounds in the past couple years, and I just put all my past uploads in a single folder, and you can find them here. There's around 1,000 individual sounds, I didnt write any documentation, you can find some info in my old threads, which I'll also link below.\n\nP.S.: I just finished mixing a punk rock album, for which I made several one-shot and multi-velocity drum sounds just for layering, I think I'll put a free download together soon.\n\n&amp;#x200B;\n\n***Download***  [**Experimental IR megapack**](https:\/\/drive.google.com\/open?id=1Dsp3MIIoW5BNSssdTAfPHYWP380t5c4v) *(Link to folder)*\n\n&amp;#x200B;\n\nThommazs website:  [https:\/\/www.thommazk.com\/](https:\/\/www.thommazk.com\/)\n\n[Dandara launch trailer](https:\/\/www.youtube.com\/watch?v=dD43u43P2LY)\n\n[http:\/\/www.longhathouse.com\/games\/dandara\/](http:\/\/www.longhathouse.com\/games\/dandara\/)\n\n&amp;#x200B;\n\n*Info about the sounds contained in the pack:*\n\n[https:\/\/www.reddit.com\/r\/edmproduction\/comments\/55hlz9\/free\\_ir\\_pack\\_100\\_synthesized\\_responses\\_wav\/](https:\/\/www.reddit.com\/r\/edmproduction\/comments\/55hlz9\/free_ir_pack_100_synthesized_responses_wav\/)\n\n[https:\/\/www.reddit.com\/r\/edmproduction\/comments\/55kp79\/yet\\_another\\_free\\_ir\\_pack\\_80\\_recorded\\_processed\/](https:\/\/www.reddit.com\/r\/edmproduction\/comments\/55kp79\/yet_another_free_ir_pack_80_recorded_processed\/)\n\n[https:\/\/www.reddit.com\/r\/WeAreTheMusicMakers\/comments\/6w57e6\/383\\_free\\_homemade\\_attacktransientirpercussion\/](https:\/\/www.reddit.com\/r\/WeAreTheMusicMakers\/comments\/6w57e6\/383_free_homemade_attacktransientirpercussion\/)\n\n[https:\/\/www.reddit.com\/r\/edmproduction\/comments\/6smyvo\/100\\_mutations\\_of\\_a\\_single\\_snare\\_free\\_sample\\_pack\/](https:\/\/www.reddit.com\/r\/edmproduction\/comments\/6smyvo\/100_mutations_of_a_single_snare_free_sample_pack\/)\n\n[https:\/\/www.reddit.com\/r\/edmproduction\/comments\/6v9tq3\/200\\_attackdrum\\_samples\\_found\\_sound\\_homerecorded\/](https:\/\/www.reddit.com\/r\/edmproduction\/comments\/6v9tq3\/200_attackdrum_samples_found_sound_homerecorded\/)\n\n[https:\/\/www.reddit.com\/r\/WeAreTheMusicMakers\/comments\/6wii83\/free\\_bonus\\_pack\\_154\\_beater\\_slap\\_samples\/](https:\/\/www.reddit.com\/r\/WeAreTheMusicMakers\/comments\/6wii83\/free_bonus_pack_154_beater_slap_samples\/)","meta":"{'source': 'reddit_posts', 'id': 'g77za4', 'title': '1,000 FREE unique impulse responses (synthesized reverb, experimental IR and drum sounds)...game audio details inside', 'author': 'r235', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': '*tldr: here\\'s the downloads:*  [**Experimental IR megapack**](https:\/\/drive.google.com\/open?id=1Dsp3MIIoW5BNSssdTAfPHYWP380t5c4v)\\n\\n&amp;#x200B;\\n\\nThe other day I got a message here on reddit.\\n\\nThommaz, a sound designer from Brazil sent me a thank you note, because he had lost some of the IRs I uploaded 3 yrs ago, and downloaded them again. Turns out, he used them extensively for the sound design on \"Dandara\" a multi-platform game (which I subsequently bought, it\\'s a fun game).\\n\\nI found it incredibly cool that something I just uploaded to the reddits for fun and boredom could actually be used in a meaningful way on the other side of the globe, totally unbeknownst to me :)\\n\\nSo I decided to make more syntesized IRs for Thommaz and sent them to him. He told me he would probably chip in somewhere on here, to let me and people know how he actually used those sounds.\\n\\n&amp;#x200B;\\n\\nI have uploaded several experimental sounds in the past couple years, and I just put all my past uploads in a single folder, and you can find them here. There\\'s around 1,000 individual sounds, I didnt write any documentation, you can find some info in my old threads, which I\\'ll also link below.\\n\\nP.S.: I just finished mixing a punk rock album, for which I made several one-shot and multi-velocity drum sounds just for layering, I think I\\'ll put a free download together soon.\\n\\n&amp;#x200B;\\n\\n***Download***  [**Experimental IR megapack**](https:\/\/drive.google.com\/open?id=1Dsp3MIIoW5BNSssdTAfPHYWP380t5c4v) *(Link to folder)*\\n\\n&amp;#x200B;\\n\\nThommazs website:  [https:\/\/www.thommazk.com\/](https:\/\/www.thommazk.com\/)\\n\\n[Dandara launch trailer](https:\/\/www.youtube.com\/watch?v=dD43u43P2LY)\\n\\n[http:\/\/www.longhathouse.com\/games\/dandara\/](http:\/\/www.longhathouse.com\/games\/dandara\/)\\n\\n&amp;#x200B;\\n\\n*Info about the sounds contained in the pack:*\\n\\n[https:\/\/www.reddit.com\/r\/edmproduction\/comments\/55hlz9\/free\\\\_ir\\\\_pack\\\\_100\\\\_synthesized\\\\_responses\\\\_wav\/](https:\/\/www.reddit.com\/r\/edmproduction\/comments\/55hlz9\/free_ir_pack_100_synthesized_responses_wav\/)\\n\\n[https:\/\/www.reddit.com\/r\/edmproduction\/comments\/55kp79\/yet\\\\_another\\\\_free\\\\_ir\\\\_pack\\\\_80\\\\_recorded\\\\_processed\/](https:\/\/www.reddit.com\/r\/edmproduction\/comments\/55kp79\/yet_another_free_ir_pack_80_recorded_processed\/)\\n\\n[https:\/\/www.reddit.com\/r\/WeAreTheMusicMakers\/comments\/6w57e6\/383\\\\_free\\\\_homemade\\\\_attacktransientirpercussion\/](https:\/\/www.reddit.com\/r\/WeAreTheMusicMakers\/comments\/6w57e6\/383_free_homemade_attacktransientirpercussion\/)\\n\\n[https:\/\/www.reddit.com\/r\/edmproduction\/comments\/6smyvo\/100\\\\_mutations\\\\_of\\\\_a\\\\_single\\\\_snare\\\\_free\\\\_sample\\\\_pack\/](https:\/\/www.reddit.com\/r\/edmproduction\/comments\/6smyvo\/100_mutations_of_a_single_snare_free_sample_pack\/)\\n\\n[https:\/\/www.reddit.com\/r\/edmproduction\/comments\/6v9tq3\/200\\\\_attackdrum\\\\_samples\\\\_found\\\\_sound\\\\_homerecorded\/](https:\/\/www.reddit.com\/r\/edmproduction\/comments\/6v9tq3\/200_attackdrum_samples_found_sound_homerecorded\/)\\n\\n[https:\/\/www.reddit.com\/r\/WeAreTheMusicMakers\/comments\/6wii83\/free\\\\_bonus\\\\_pack\\\\_154\\\\_beater\\\\_slap\\\\_samples\/](https:\/\/www.reddit.com\/r\/WeAreTheMusicMakers\/comments\/6wii83\/free_bonus_pack_154_beater_slap_samples\/)', 'body_is_trimmed': False, 'score': 17, 'over_18': False, 'num_comments': 0, 'created_utc': 1587733329}"}
{"id":"682454","text":"Title: Manjaro freezes after it boots up\nThe text below was posted in an online community called linux4noobs in the year 2019:\n\nAfter i type in the password it freezes.\ni tried using an advance boot method which says \"fallback initramfs\" and that works fine somehow.\nHow do I get it to work?\nWhats the difference between normal boot and initramfs option?","meta":"{'source': 'reddit_posts', 'id': 'cn6dck', 'title': 'Manjaro freezes after it boots up', 'author': 'respawner_69420', 'subreddit': 'linux4noobs', 'subreddit_id': '2qy7t', 'body': 'After i type in the password it freezes.\\ni tried using an advance boot method which says \"fallback initramfs\" and that works fine somehow.\\nHow do I get it to work?\\nWhats the difference between normal boot and initramfs option?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1565187487}"}
{"id":"1016232","text":"Title: New to Java - why rename variables in classes?\nThe text below was posted in an online community called learnjava in the year 2021:\n\nI'm going through Codecademy for Java right now, and every time a class is set up, the constructor method renames the variable identified in the instance field. For example, here:\n\n `public class SavingsAccount{`  \n `double balance;`  \n `public SavingsAccount(double startingBalance){`  \n `balance =startingBalance;`  \n`}` \n\nThey assign a double named \"balance\" but then in the constructor, they change \"balance\" to \"startingBalance\". What's the purpose of this? Why not just name the variable startingBalance from the beginning? Is it because you need to call that variable in order to use it?","meta":"{'source': 'reddit_posts', 'id': 'rb20ma', 'title': 'New to Java - why rename variables in classes?', 'author': 'sammyp1999', 'subreddit': 'learnjava', 'subreddit_id': '2saos', 'body': 'I\\'m going through Codecademy for Java right now, and every time a class is set up, the constructor method renames the variable identified in the instance field. For example, here:\\n\\n `public class SavingsAccount{`  \\n `double balance;`  \\n `public SavingsAccount(double startingBalance){`  \\n `balance =startingBalance;`  \\n`}` \\n\\nThey assign a double named \"balance\" but then in the constructor, they change \"balance\" to \"startingBalance\". What\\'s the purpose of this? Why not just name the variable startingBalance from the beginning? Is it because you need to call that variable in order to use it?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 5, 'created_utc': 1638891910}"}
{"id":"763748","text":"Title: Credit card and dyno-hours\nThe text below was posted in an online community called Heroku in the year 2018:\n\nHi guys,\n\nI'm wondering how the dynos get updated once I verify my account with a credit card. They say they will add 450 hours to my monthly dynos, but does that mean a one-time deal, or will I then have a total of 450+550 = 1000 hours per month ?\n\nAlso, could I eventually get charged for things without me knowing it? I'm mostly scared about this. What if two years from now, they somehow change their policy and start charging for each hour of service of whatever... ?!","meta":"{'source': 'reddit_posts', 'id': 'a57zd7', 'title': 'Credit card and dyno-hours', 'author': 'payne007', 'subreddit': 'Heroku', 'subreddit_id': '2t6ic', 'body': \"Hi guys,\\n\\nI'm wondering how the dynos get updated once I verify my account with a credit card. They say they will add 450 hours to my monthly dynos, but does that mean a one-time deal, or will I then have a total of 450+550 = 1000 hours per month ?\\n\\nAlso, could I eventually get charged for things without me knowing it? I'm mostly scared about this. What if two years from now, they somehow change their policy and start charging for each hour of service of whatever... ?!\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 7, 'created_utc': 1544543620}"}
{"id":"49886","text":"Title: Is there any way to block Amber Alerts yet????\nThe text below was posted in an online community called ios in the year 2019:\n\nive been woken up and startled by this scary ass shit for no reason way too many times lmao\n\nmuting and putting it on do not disturb doesnt work anymore. the alarm is blasted full volume no matter what. i dont want to have to turn everything off just to not have a heart attack\n\nwhy is this even a thing im not going to go searching for a kid two cities away especially at night ???\n\ni have heart problems and bad anxiety. i hate this thing so much\n\nim in canada if that matters","meta":"{'source': 'reddit_posts', 'id': 'bhjow2', 'title': 'Is there any way to block Amber Alerts yet????', 'author': 'peachcitrus', 'subreddit': 'ios', 'subreddit_id': '2ru5b', 'body': 'ive been woken up and startled by this scary ass shit for no reason way too many times lmao\\n\\nmuting and putting it on do not disturb doesnt work anymore. the alarm is blasted full volume no matter what. i dont want to have to turn everything off just to not have a heart attack\\n\\nwhy is this even a thing im not going to go searching for a kid two cities away especially at night ???\\n\\ni have heart problems and bad anxiety. i hate this thing so much\\n\\nim in canada if that matters', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 21, 'created_utc': 1556264869}"}
{"id":"2224311","text":"Title: Company portal\nThe text below was posted in an online community called webdev in the year 2021:\n\nHello everyone. My company fabricates steel products and they have asked me to make a portal for the company and to move everything online, from inquiry to production. I need something that will keep a record of all the inquiries and orders, generate invoices once the order is confirmed send the same to the factory, need something for labor-management to assign people to different projects, generate reports, etc.\nwhat is the best option I can go with?\n\nEDIT:\n\nThanks everyone for the replies. Just to add to my question I wont be doing it on my own and will hire someone probably a small local firm. I was thinking of a website, like something in PHP where the users can login and will have roles, with a portion for sales where they will generate an order and once confirmed it will be sent to the factory where they will allocate raw material and man power to it. There will be a portion for raw material where we can manage our stock and the factory manager will add labor which he will assign to every project and when they start working on that project they will login in to their accounts and notify that they have started working on it. and every thing can be monitored by the head office.\nThis is just a rough idea.","meta":"{'source': 'reddit_posts', 'id': 'kuar94', 'title': 'Company portal', 'author': 'syedmh9', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': 'Hello everyone. My company fabricates steel products and they have asked me to make a portal for the company and to move everything online, from inquiry to production. I need something that will keep a record of all the inquiries and orders, generate invoices once the order is confirmed send the same to the factory, need something for labor-management to assign people to different projects, generate reports, etc.\\nwhat is the best option I can go with?\\n\\nEDIT:\\n\\nThanks everyone for the replies. Just to add to my question I wont be doing it on my own and will hire someone probably a small local firm. I was thinking of a website, like something in PHP where the users can login and will have roles, with a portion for sales where they will generate an order and once confirmed it will be sent to the factory where they will allocate raw material and man power to it. There will be a portion for raw material where we can manage our stock and the factory manager will add labor which he will assign to every project and when they start working on that project they will login in to their accounts and notify that they have started working on it. and every thing can be monitored by the head office.\\nThis is just a rough idea.', 'body_is_trimmed': False, 'score': 12, 'over_18': False, 'num_comments': 22, 'created_utc': 1610267289}"}
{"id":"657331","text":"Title: What makes a game a prototype, alpha, beta or release?\nThe text below was posted in an online community called gamedev in the year 2018:\n\nI am curious when people call it a prototype, alpha, beta or release.\n\nRelease is quite obvious, but prototype, alpha and beta isn't really.\n\nWhat do you consider a prototype game?\n\nI never really had a prototype of a game, I always make it at least playable, I don't really block out stuff I have noticed.","meta":"{'source': 'reddit_posts', 'id': '8mrf3d', 'title': 'What makes a game a prototype, alpha, beta or release?', 'author': 'mothh9', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': \"I am curious when people call it a prototype, alpha, beta or release.\\n\\nRelease is quite obvious, but prototype, alpha and beta isn't really.\\n\\nWhat do you consider a prototype game?\\n\\nI never really had a prototype of a game, I always make it at least playable, I don't really block out stuff I have noticed.\", 'body_is_trimmed': False, 'score': 23, 'over_18': False, 'num_comments': 23, 'created_utc': 1527525632}"}
{"id":"1878514","text":"Title: Tip:(?) Use Time.unscaledDeltaTime instead of the regular one... at all times? (Time.deltaTime is inaccurate on low FPS. By a lot.)\nThe text below was posted in an online community called Unity3D in the year 2021:\n\n**EDIT: IGNORE THE POST TITLE.** There is a somewhat hidden variable called ***Time.maximumDeltaTime***. It essentially clamps the value deltaTime can get. Inside of Awake(), increase that to a value above 1, like 1.05 so that even on 1 FPS it works. [https:\/\/docs.unity3d.com\/ScriptReference\/Time-maximumDeltaTime.html](https:\/\/docs.unity3d.com\/ScriptReference\/Time-maximumDeltaTime.html) Thank you so much u\/SilentSin26 . This was a life saver!\n\n\\-Original post:\n\nI just found this out. So Time.deltaTime is the time since the last frame, right? Well, it seems like that's not always true. It is true for the most part, but if you go down on FPS to like 1 frame per second, deltaTime turns out to be incorrect. 1FPS should have a delta time of 1 second, but instead it gives 0,333f, which is a significant difference. As you go up on framerate, the accuracy increases. But still not perfect.\n\n~~However, if you use~~ **~~Time.unscaledDeltaTime~~** ~~instead, it seems to work pretty much perfectly on any framerate. Unscaled DT is independent from Time.timeScale though. So if you want to have game logic,~~ **~~just multiply unscaled DT with timeScale~~**~~. With this, I finally seem to have gotten a framerate independent timer. That took far too long to figure out though. :c~~\n\n&amp;#x200B;\n\n~~Do remember though, that as far as I understand, unscaled delta time starts~~ ***~~while~~*** ~~the scene is loading so when it renders, the timer might already be at (let's say) 3 seconds. So you might want to hook it up to some sort of boolean \/ if-statement check. Or at least this happens when you hit play in the editor. Which isn't very wrong since you can click on the game view while it's preparing and it will detect your input.~~\n\n&amp;#x200B;\n\n~~Also when the framerate changes the timer seems to stop for a little while and then start counting. Though I'm assuming this is because of the editor freezing since the debugs are also not logged, which means the update cycle has frozen. I want to believe that at least, haha.~~ EDIT: This also happens with normal deltaTime. Yes, it was the editor just freezing. Nothing wrong.\n\n&amp;#x200B;\n\n~~The exact same things apply for Time.time. The solution is to use Time.unscaledTime and if you need to, multiply it by Time.timeScale.~~\n\n&amp;#x200B;\n\n~~Hope it helps and please let me know if this has any other important side effects. Or if you know, why this even happens in first place? Thanks!~~","meta":"{'source': 'reddit_posts', 'id': 'o7ivj6', 'title': 'Tip:(?) Use Time.unscaledDeltaTime instead of the regular one... at all times? (Time.deltaTime is inaccurate on low FPS. By a lot.)', 'author': 'Sspyrshlsx', 'subreddit': 'Unity3D', 'subreddit_id': '2qwj8', 'body': \"**EDIT: IGNORE THE POST TITLE.** There is a somewhat hidden variable called ***Time.maximumDeltaTime***. It essentially clamps the value deltaTime can get. Inside of Awake(), increase that to a value above 1, like 1.05 so that even on 1 FPS it works. [https:\/\/docs.unity3d.com\/ScriptReference\/Time-maximumDeltaTime.html](https:\/\/docs.unity3d.com\/ScriptReference\/Time-maximumDeltaTime.html) Thank you so much u\/SilentSin26 . This was a life saver!\\n\\n\\\\-Original post:\\n\\nI just found this out. So Time.deltaTime is the time since the last frame, right? Well, it seems like that's not always true. It is true for the most part, but if you go down on FPS to like 1 frame per second, deltaTime turns out to be incorrect. 1FPS should have a delta time of 1 second, but instead it gives 0,333f, which is a significant difference. As you go up on framerate, the accuracy increases. But still not perfect.\\n\\n~~However, if you use~~ **~~Time.unscaledDeltaTime~~** ~~instead, it seems to work pretty much perfectly on any framerate. Unscaled DT is independent from Time.timeScale though. So if you want to have game logic,~~ **~~just multiply unscaled DT with timeScale~~**~~. With this, I finally seem to have gotten a framerate independent timer. That took far too long to figure out though. :c~~\\n\\n&amp;#x200B;\\n\\n~~Do remember though, that as far as I understand, unscaled delta time starts~~ ***~~while~~*** ~~the scene is loading so when it renders, the timer might already be at (let's say) 3 seconds. So you might want to hook it up to some sort of boolean \/ if-statement check. Or at least this happens when you hit play in the editor. Which isn't very wrong since you can click on the game view while it's preparing and it will detect your input.~~\\n\\n&amp;#x200B;\\n\\n~~Also when the framerate changes the timer seems to stop for a little while and then start counting. Though I'm assuming this is because of the editor freezing since the debugs are also not logged, which means the update cycle has frozen. I want to believe that at least, haha.~~ EDIT: This also happens with normal deltaTime. Yes, it was the editor just freezing. Nothing wrong.\\n\\n&amp;#x200B;\\n\\n~~The exact same things apply for Time.time. The solution is to use Time.unscaledTime and if you need to, multiply it by Time.timeScale.~~\\n\\n&amp;#x200B;\\n\\n~~Hope it helps and please let me know if this has any other important side effects. Or if you know, why this even happens in first place? Thanks!~~\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 8, 'created_utc': 1624606410}"}
{"id":"2376145","text":"Title: React charts package that supports image in tooltips?\nThe text below was posted in an online community called reactjs in the year 2022:\n\nI have been using plotly for some scatter plots and bar charts, but unfortunately plotly and charts.js don't seem to support an image or custom content for the hover tooltip.\n\nAnyone know a package that supports images inside tooltips on hover?\n\nI am starting to think that a custom d3 plot is the only way forward\n\nThanks in advance!","meta":"{'source': 'reddit_posts', 'id': 'vi30dv', 'title': 'React charts package that supports image in tooltips?', 'author': 'yasserius', 'subreddit': 'reactjs', 'subreddit_id': '2zldd', 'body': \"I have been using plotly for some scatter plots and bar charts, but unfortunately plotly and charts.js don't seem to support an image or custom content for the hover tooltip.\\n\\nAnyone know a package that supports images inside tooltips on hover?\\n\\nI am starting to think that a custom d3 plot is the only way forward\\n\\nThanks in advance!\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 6, 'created_utc': 1655897342}"}
{"id":"407879","text":"Title: Need Help Changing pin\nThe text below was posted in an online community called Windows10 in the year 2022:\n\n&amp;#x200B;\n\nhttps:\/\/preview.redd.it\/m9red7w3ok291.png?width=595&amp;format=png&amp;auto=webp&amp;s=357a8ef0e06b27fd649d3c84ab6d1ab1aade7a59\n\nThis is not an error or anything i just need help.  i know how to change passwords or pin but how do i change my pin in my current windows 10? my last laptop also has windows 10 and it has its own dedicated bar for pin changing like in the screenshot but on my new laptop it doesn't but its the  same windows 10. also no its not the windows hello pin, it needs organization account, im talking about personal laptop pin when signing in. anyway thnx if you ever reply\n\n&amp;#x200B;","meta":"{'source': 'reddit_posts', 'id': 'v0viox', 'title': 'Need Help Changing pin', 'author': 'tankiller14', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': \"&amp;#x200B;\\n\\nhttps:\/\/preview.redd.it\/m9red7w3ok291.png?width=595&amp;format=png&amp;auto=webp&amp;s=357a8ef0e06b27fd649d3c84ab6d1ab1aade7a59\\n\\nThis is not an error or anything i just need help.  i know how to change passwords or pin but how do i change my pin in my current windows 10? my last laptop also has windows 10 and it has its own dedicated bar for pin changing like in the screenshot but on my new laptop it doesn't but its the  same windows 10. also no its not the windows hello pin, it needs organization account, im talking about personal laptop pin when signing in. anyway thnx if you ever reply\\n\\n&amp;#x200B;\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1653899042}"}
{"id":"473386","text":"Title: TikZ: Label for a level on the right side of a tree\nThe text below was posted in an online community called LaTeX in the year 2022:\n\nHello, \n\nI would like to label each level of my tree all in a single column to the right of the tree. So (0) on the right of my root node, (1) on the level below, etc. An example of my tree without the labels can be found [here](https:\/\/imgur.com\/a\/a8ZZY6a). The code for this tree is included below\n\n\n\n    \\tikzstyle{even}=[\n        circle,\n        minimum size =1cm,\n        draw=black,\n        thick,\n       fill=darkgoldenrod,\n        text=white\n    ]\n\n    \\tikzstyle{odd}=[\n        circle,\n        minimum size =1cm,\n        draw=black,\n        thick,\n        fill=yellow,\n        text=black\n    ]\n\n\n    \\begin{tikzpicture}[ % don't forget the comma after each argument\n        level 1\/.style = {sibling distance = 7cm}, \n        level 2\/.style = {sibling distance = 3cm},\n        level 3\/.style = {sibling distance = 3cm},\n        level 4\/.style = {sibling distance = 3cm},\n        level 5\/.style = {sibling distance = 1.5cm},\n    ]\n\n    \\node[even]{$+$}    % root node (0th level)\n    child { node[odd] {$*$} % 1st level ((subtree function: 10^6 * (i-1)\/(D-1) * x[0]^2)) \n        child { node[even] {$10^6$}}\n        child { node[even] {$*$}\n            child { node[odd] {$\/$} % 4th level\n                child { node[even] {$-$} \n                    child { node[odd] {$i$} }\n                    child { node[odd] {$1$} }\n                }\n                child { node[even] {$-$} \n                    child { node[odd] {$D$} }\n                    child { node[odd] {$1$} }\n                }\n            }\n            child { node[odd] {$x^{2}_{0}$}} %4th level\n        } \n    }\n    child { node[odd] {$*$} % 1st level  (subtree function: 10^6 * (i-1)\/(D-1) * x[1]^2)\n        child { node[even] {$10^6$}}  % 2nd level\n        child { node[even] {$*$}      % 2nd level\n            child { node[odd] {$\/$}     % level 3rd \n                child { node[even] {$-$}    % 4th level\n                    child { node[odd] {$i$} } % 5th level\n                    child { node[odd] {$1$} } % 5th level\n                }\n                child { node[even] {$-$} % 4th level\n                    child { node[odd] {$D$} } % 5th level\n                    child { node[odd] {$1$} } % 5th level\n                }\n            }\n            child { node[odd] {$x^{2}_{1}$}} % 4th level\n        }   \n    };\n    \\end{tikzpicture}\n`","meta":"{'source': 'reddit_posts', 'id': 'vfwxnu', 'title': 'TikZ: Label for a level on the right side of a tree', 'author': 'Scheur', 'subreddit': 'LaTeX', 'subreddit_id': '2qhbn', 'body': \"Hello, \\n\\nI would like to label each level of my tree all in a single column to the right of the tree. So (0) on the right of my root node, (1) on the level below, etc. An example of my tree without the labels can be found [here](https:\/\/imgur.com\/a\/a8ZZY6a). The code for this tree is included below\\n\\n\\n\\n    \\\\tikzstyle{even}=[\\n        circle,\\n        minimum size =1cm,\\n        draw=black,\\n        thick,\\n       fill=darkgoldenrod,\\n        text=white\\n    ]\\n\\n    \\\\tikzstyle{odd}=[\\n        circle,\\n        minimum size =1cm,\\n        draw=black,\\n        thick,\\n        fill=yellow,\\n        text=black\\n    ]\\n\\n\\n    \\\\begin{tikzpicture}[ % don't forget the comma after each argument\\n        level 1\/.style = {sibling distance = 7cm}, \\n        level 2\/.style = {sibling distance = 3cm},\\n        level 3\/.style = {sibling distance = 3cm},\\n        level 4\/.style = {sibling distance = 3cm},\\n        level 5\/.style = {sibling distance = 1.5cm},\\n    ]\\n\\n    \\\\node[even]{$+$}    % root node (0th level)\\n    child { node[odd] {$*$} % 1st level ((subtree function: 10^6 * (i-1)\/(D-1) * x[0]^2)) \\n        child { node[even] {$10^6$}}\\n        child { node[even] {$*$}\\n            child { node[odd] {$\/$} % 4th level\\n                child { node[even] {$-$} \\n                    child { node[odd] {$i$} }\\n                    child { node[odd] {$1$} }\\n                }\\n                child { node[even] {$-$} \\n                    child { node[odd] {$D$} }\\n                    child { node[odd] {$1$} }\\n                }\\n            }\\n            child { node[odd] {$x^{2}_{0}$}} %4th level\\n        } \\n    }\\n    child { node[odd] {$*$} % 1st level  (subtree function: 10^6 * (i-1)\/(D-1) * x[1]^2)\\n        child { node[even] {$10^6$}}  % 2nd level\\n        child { node[even] {$*$}      % 2nd level\\n            child { node[odd] {$\/$}     % level 3rd \\n                child { node[even] {$-$}    % 4th level\\n                    child { node[odd] {$i$} } % 5th level\\n                    child { node[odd] {$1$} } % 5th level\\n                }\\n                child { node[even] {$-$} % 4th level\\n                    child { node[odd] {$D$} } % 5th level\\n                    child { node[odd] {$1$} } % 5th level\\n                }\\n            }\\n            child { node[odd] {$x^{2}_{1}$}} % 4th level\\n        }   \\n    };\\n    \\\\end{tikzpicture}\\n`\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 4, 'created_utc': 1655650533}"}
{"id":"1509324","text":"Title: List of \"cheaty\" but useful mods\nThe text below was posted in an online community called factorio in the year 2018:\n\nI want to share a list of cheaty but fun mods I use, feel free to add some. I would love to add some extra mods like these.\n\n* Long Reach\n\n* Afraid of the Dark\n\n* Mini Loader \/ Loader Redux\n\n* Aircraft\n\n* Power Armor MK3\n\n* Warehousing\n\n* Deadlock's Stacking Beltboxes\n\n* Squeak Through","meta":"{'source': 'reddit_posts', 'id': '8c9nmy', 'title': 'List of \"cheaty\" but useful mods', 'author': 'botaoboyang', 'subreddit': 'factorio', 'subreddit_id': '2wabp', 'body': \"I want to share a list of cheaty but fun mods I use, feel free to add some. I would love to add some extra mods like these.\\n\\n* Long Reach\\n\\n* Afraid of the Dark\\n\\n* Mini Loader \/ Loader Redux\\n\\n* Aircraft\\n\\n* Power Armor MK3\\n\\n* Warehousing\\n\\n* Deadlock's Stacking Beltboxes\\n\\n* Squeak Through\", 'body_is_trimmed': False, 'score': 12, 'over_18': False, 'num_comments': 12, 'created_utc': 1523732489}"}
{"id":"551904","text":"Title: Just switched to Mac from PC, I miss MS Paint\nThe text below was posted in an online community called mac in the year 2016:\n\nIs there any similar app for my new computer where I can mess around with photos and draw on them and stuff. My meme making ability has been compromised for the moment.","meta":"{'source': 'reddit_posts', 'id': '45a9qe', 'title': 'Just switched to Mac from PC, I miss MS Paint', 'author': 'Imsortofabigdeal', 'subreddit': 'mac', 'subreddit_id': '2qh4u', 'body': 'Is there any similar app for my new computer where I can mess around with photos and draw on them and stuff. My meme making ability has been compromised for the moment.', 'body_is_trimmed': False, 'score': 74, 'over_18': False, 'num_comments': 69, 'created_utc': 1455215432}"}
{"id":"1986954","text":"Title: zforms - Extremely small form validation \/ rendering library for Flask\nThe text below was posted in an online community called flask in the year 2015:\n\nI wrote this over the course of today, WTForms seemed much too big to include and this covers all of my use cases.\n\nhttps:\/\/github.com\/sc4reful\/zforms","meta":"{'source': 'reddit_posts', 'id': '3pesmb', 'title': 'zforms - Extremely small form validation \/ rendering library for Flask', 'author': 'sc4reful', 'subreddit': 'flask', 'subreddit_id': '2s1s3', 'body': 'I wrote this over the course of today, WTForms seemed much too big to include and this covers all of my use cases.\\n\\nhttps:\/\/github.com\/sc4reful\/zforms', 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 1, 'created_utc': '1445292558'}"}
{"id":"1119415","text":"Title: Help - HDMI to VGA adapter. Since I resumed from standby, it doesn't work.\nThe text below was posted in an online community called Windows10 in the year 2016:\n\nI'm new, hopefully am following protocol. \n\nI have a Windows 10 hp laptop and a Cable Matters HDMI to VGA adapter. I usually plug my laptop to an HD TV but am having to do this for a while. \n\nI understand this can be tricky, as hdmi to VGA is digital to analog conversion. I got it working yesterday after plenty of fight, not in display options but windows key + p and selected extend. When done working I closed my laptop lid. Since then it has not worked. Can any you help? \n\nI'll tell you what I've done and what it's doing. Now, Windows does indeed think it's connected to an external monitor. Everything about windows says so - there's two icons in display. I can move things to other monitor. But, the monitor doesn't agree. It's blinking in standby. \n\nIf I unplug VGA from monitor, it realizes it. If I unplug adapter from Windows, it realizes it. But there's still a gap and I can't find the answer. \n\nI've restarted, shut down, combinations of those with plugging in adapter before \/ after, I've deleted generic display from device manager, tried a different monitor, and other various \"windows nudges\" I call em. Went to manufacturer's site, not any help there. Any ideas? \n\nThanks in advance!","meta":"{'source': 'reddit_posts', 'id': '5ff881', 'title': \"Help - HDMI to VGA adapter. Since I resumed from standby, it doesn't work.\", 'author': 'Bluedimensional', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': 'I\\'m new, hopefully am following protocol. \\n\\nI have a Windows 10 hp laptop and a Cable Matters HDMI to VGA adapter. I usually plug my laptop to an HD TV but am having to do this for a while. \\n\\nI understand this can be tricky, as hdmi to VGA is digital to analog conversion. I got it working yesterday after plenty of fight, not in display options but windows key + p and selected extend. When done working I closed my laptop lid. Since then it has not worked. Can any you help? \\n\\nI\\'ll tell you what I\\'ve done and what it\\'s doing. Now, Windows does indeed think it\\'s connected to an external monitor. Everything about windows says so - there\\'s two icons in display. I can move things to other monitor. But, the monitor doesn\\'t agree. It\\'s blinking in standby. \\n\\nIf I unplug VGA from monitor, it realizes it. If I unplug adapter from Windows, it realizes it. But there\\'s still a gap and I can\\'t find the answer. \\n\\nI\\'ve restarted, shut down, combinations of those with plugging in adapter before \/ after, I\\'ve deleted generic display from device manager, tried a different monitor, and other various \"windows nudges\" I call em. Went to manufacturer\\'s site, not any help there. Any ideas? \\n\\nThanks in advance!', 'body_is_trimmed': False, 'score': 21, 'over_18': False, 'num_comments': 7, 'created_utc': 1480377151}"}
{"id":"1757200","text":"Title: I have an idea that I think a raspberry pi would be ideal for, but I have no idea how to do it.\nThe text below was posted in an online community called raspberry_pi in the year 2013:\n\nSo the idea is that I want to build a set of aquarium lights with yellow, white, and blue LEDs, and somehow have them mimic the sunrise and sunset times in the real world.  Like at 5:30AM, the blues start coming up, then that transitions into yellow and blue, then just yellow, then bright white for most of the day, then back to yellow\/blue, then just blue, then off until the next sunrise.\n\nNow, honestly, I have no idea if a raspberry pi would be good for this, I just kind of assume that it could get the job done.  I'm not at all a programmer, is this gonna be a really complicated project for someone who doesn't know much about electronics?","meta":"{'source': 'reddit_posts', 'id': '1iqd80', 'title': 'I have an idea that I think a raspberry pi would be ideal for, but I have no idea how to do it.', 'author': 'Snake973', 'subreddit': 'raspberry_pi', 'subreddit_id': '2syto', 'body': \"So the idea is that I want to build a set of aquarium lights with yellow, white, and blue LEDs, and somehow have them mimic the sunrise and sunset times in the real world.  Like at 5:30AM, the blues start coming up, then that transitions into yellow and blue, then just yellow, then bright white for most of the day, then back to yellow\/blue, then just blue, then off until the next sunrise.\\n\\nNow, honestly, I have no idea if a raspberry pi would be good for this, I just kind of assume that it could get the job done.  I'm not at all a programmer, is this gonna be a really complicated project for someone who doesn't know much about electronics?\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 15, 'created_utc': 1374376938}"}
{"id":"2108541","text":"Title: DualBooting Windows onto Ubuntu\nThe text below was posted in an online community called linux4noobs in the year 2021:\n\nMy friend has a pc that has Ubuntu installed but the game they are wanting to play (Rainbow Six Sieges) has an anti-cheat (BattleEye) that doesnt let it run so were trying to make it run by dual booting windows and Ubuntu but we cant figure out how since they already have Ubuntu installed.","meta":"{'source': 'reddit_posts', 'id': 'l0p3lk', 'title': 'DualBooting Windows onto Ubuntu', 'author': 'CrocBlocker', 'subreddit': 'linux4noobs', 'subreddit_id': '2qy7t', 'body': 'My friend has a pc that has Ubuntu installed but the game they are wanting to play (Rainbow Six Sieges) has an anti-cheat (BattleEye) that doesnt let it run so were trying to make it run by dual booting windows and Ubuntu but we cant figure out how since they already have Ubuntu installed.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1611078766}"}
{"id":"870900","text":"Title: I was thinking about signing up for General Assembly's Data Scientist bootcamp. Has any one done this or have any suggestions?\nThe text below was posted in an online community called learnprogramming in the year 2021:\n\nSorry if this kind of post is not allowed. Please let me know if that is the case and I will take it down.\n\n\nI was thinking about signing up for General Assembly's Data Scientist bootcamp. Has any one done this or have any suggestions? \n\n\nSo, I am a long time lurker, and I love the positivity that comes from this sub-reddit so I thought I might be able to get some guidance here. I am thinking about quitting my job to do an expensive bootcamp for 12 weeks. I have done some small projects in Python, and it is a language I would like to become proficient in. \n\n\n\nSome background: I graduated college with a BS in computer engineering in 2004. I wanted to do development, but I had a tough time getting a job as a developer and I later ended up working in the culinary field for 6 years.\n\n\nAfter a while I realized I still wanted a career as a developer and I have been working in a non-development technology field for the past 6 years, but I have leaned a lot about windows, networking, etc and how to install\/manage someone else's software. \n\n\nDuring that time I noticed a need within the company for writing batch files, ruby scripts, etc and I happily filled that need. I later wrote a few CLI\/GUI apps in C#. I became the go to person for these things. But that company got bought up by a large corporation, and now I am doing less development if karen99@example.com.\n\n\nDuring the on-boarding process I was put on task to import the old wiki to SharePoint. I successfully scraped the wiki with Python and Beautiful Soup, and made some minor adjustments to many many pages (manually changing windows links over to SharePoint urls), and everyone was very happy with the outcome. \nNow it's a year and a half later and I might write a batch file or two on the fly. \n\n\nSo back to the bootcamp for Data Science at General Assembly. From what I understand it is geared towards non beginners in Python, which sounds like me. This seems like a good idea because, like other bootcamps, they will have someone help with my resume and applying to jobs. I am also hoping to do some networking (online) as well as compile a portfolio. \n\n\nI was wondering if anyone has had any luck with General Assembly or of anyone has any perspective about this. A friend of mine went through their UX\/UI and had good things to say but I was  hoping to get some more input.\n\n\n(cross-post with \/r\/learnpython) \n\n\nThank you all in advance, you wonderful people!","meta":"{'source': 'reddit_posts', 'id': 'l10d3v', 'title': \"I was thinking about signing up for General Assembly's Data Scientist bootcamp. Has any one done this or have any suggestions?\", 'author': 'stoph_link', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': \"Sorry if this kind of post is not allowed. Please let me know if that is the case and I will take it down.\\n\\n\\nI was thinking about signing up for General Assembly's Data Scientist bootcamp. Has any one done this or have any suggestions? \\n\\n\\nSo, I am a long time lurker, and I love the positivity that comes from this sub-reddit so I thought I might be able to get some guidance here. I am thinking about quitting my job to do an expensive bootcamp for 12 weeks. I have done some small projects in Python, and it is a language I would like to become proficient in. \\n\\n\\n\\nSome background: I graduated college with a BS in computer engineering in 2004. I wanted to do development, but I had a tough time getting a job as a developer and I later ended up working in the culinary field for 6 years.\\n\\n\\nAfter a while I realized I still wanted a career as a developer and I have been working in a non-development technology field for the past 6 years, but I have leaned a lot about windows, networking, etc and how to install\/manage someone else's software. \\n\\n\\nDuring that time I noticed a need within the company for writing batch files, ruby scripts, etc and I happily filled that need. I later wrote a few CLI\/GUI apps in C#. I became the go to person for these things. But that company got bought up by a large corporation, and now I am doing less development if any at all.\\n\\n\\nDuring the on-boarding process I was put on task to import the old wiki to SharePoint. I successfully scraped the wiki with Python and Beautiful Soup, and made some minor adjustments to many many pages (manually changing windows links over to SharePoint urls), and everyone was very happy with the outcome. \\nNow it's a year and a half later and I might write a batch file or two on the fly. \\n\\n\\nSo back to the bootcamp for Data Science at General Assembly. From what I understand it is geared towards non beginners in Python, which sounds like me. This seems like a good idea because, like other bootcamps, they will have someone help with my resume and applying to jobs. I am also hoping to do some networking (online) as well as compile a portfolio. \\n\\n\\nI was wondering if anyone has had any luck with General Assembly or of anyone has any perspective about this. A friend of mine went through their UX\/UI and had good things to say but I was  hoping to get some more input.\\n\\n\\n(cross-post with \/r\/learnpython) \\n\\n\\nThank you all in advance, you wonderful people!\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 0, 'created_utc': 1611112311}"}
{"id":"1174313","text":"Title: Fresh Fedora VBox VM gets \"System BootOrder Not Found\" but then boots\nThe text below was posted in an online community called linuxquestions in the year 2019:\n\nI installed Fedora 30 in a Virtualbox VM and every time I boot it I get an error that reads:\n\n    Boot Failed. EFI DVD\/CDROM\n    SystemBootOrder not found. Initializing defaults.\n    Creating boot entry \"Boot0003\" with label \"Fedora\" for file \"\\EFI\\fedora\\shimx64.efi\"\n\nFedora still boots, but only because EFI\/Grub2 \"finds\" the right boot option, adds it and boots from it. I want to make that temporary option permanent and have Grub2 show a valid boot menu.\n\nHere's the result of `lsblk -f`:\n\n    NAME   FSTYPE LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINT\n    sda                                                                     \n    sda1 vfat   ESP   3200-744E                             503.2M     2% \/boot\/efi\n    sda2 ext4   BOOT  698d07a4-6287-4c28-b9e5-10b99a5095a6  755.1M    16% \/boot\n    sda3 xfs    ROOT  3cd58d71-31ab-450c-814e-7bc8ef0a16d2    5.7G    69% \/\n\nHere's `efibootmgr -v` (EFI is enabled on the VM and Boot0003 is automatically generated due to the BootOrder error):\n\n    BootCurrent: 0001\n    BootOrder: 0003,0000,0001,0002\n    Boot0000* EFI DVD\/CDROM\tPciRoot(0x0)\/Pci(0xd,0x0)\/Sata(1,0,0)\n    Boot0001* EFI Hard Drive\tPciRoot(0x0)\/Pci(0xd,0x0)\/Sata(0,0,0)\n    Boot0002* EFI Internal Shell\tMemoryMapped(11,0x2100000,0x28fffff)\/FvFile(7c04a583-9e3e-4f1c-ad65-e05268d0b4d1)\n    Boot0003* Fedora\tHD(1,GPT,29bc8511-05f9-4ab5-813d-54465b29d01b,0x800,0x100000)\/File(\\EFI\\fedora\\shimx64.efi)\n\nHere's what I get when I run `sudo grub2-mkconfig -o \/boot\/efi\/EFI\/fedora\/grub.cfg`:\n\n    Generating grub configuration file ...\n    Adding boot menu entry for EFI firmware configuration\n    done\n\nHere's what's in `\/boot\/efi\/EFI\/fedora\/grubenv`:\n\n    # GRUB Environment Block\n    saved_entry=87212d3df9cb4971a52ef083c58bf95c-5.2.11-200.fc30.x86_64\n    menu_auto_hide=1\n    boot_success=1\n    kernelopts=root=UUID=3cd58d71-31ab-450c-814e-7bc8ef0a16d2 ro rhgb quiet \n    boot_indeterminate=0\n    ############(snip)############\n\nHere's the result of `sudo tree \/boot\/ -L 4`:\n\n    \/boot\/\n     config-5.2.11-200.fc30.x86_64\n     efi\n      EFI\n          BOOT\n           BOOTX64.EFI\n           fbx64.efi\n          fedora\n              BOOTX64.CSV\n              fonts\n              grub.cfg\n              grubenv\n              grubx64.efi\n              mmx64.efi\n              shim.efi\n              shimx64.efi\n              shimx64-fedora.efi\n     grub2\n      grubenv -&gt; ..\/efi\/EFI\/fedora\/grubenv\n      themes\n          system\n              background.png\n              fireworks.png\n     initramfs-0-rescue-87212d3df9cb4971a52ef083c58bf95c.img\n     initramfs-5.2.11-200.fc30.x86_64.img\n     loader\n      entries\n          87212d3df9cb4971a52ef083c58bf95c-0-rescue.conf\n          87212d3df9cb4971a52ef083c58bf95c-5.2.11-200.fc30.x86_64.conf\n     lost+found\n     System.map-5.2.11-200.fc30.x86_64\n     vmlinuz-0-rescue-87212d3df9cb4971a52ef083c58bf95c\n     vmlinuz-5.2.11-200.fc30.x86_64\n\nAgain, I just want to make sure a boot menu is shown and that EFI\/GRub2 work well together. This is a fresh VM installation, so what's going wrong here?","meta":"{'source': 'reddit_posts', 'id': 'd51j80', 'title': 'Fresh Fedora VBox VM gets \"System BootOrder Not Found\" but then boots', 'author': 'bitsandbooks', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': 'I installed Fedora 30 in a Virtualbox VM and every time I boot it I get an error that reads:\\n\\n    Boot Failed. EFI DVD\/CDROM\\n    SystemBootOrder not found. Initializing defaults.\\n    Creating boot entry \"Boot0003\" with label \"Fedora\" for file \"\\\\EFI\\\\fedora\\\\shimx64.efi\"\\n\\nFedora still boots, but only because EFI\/Grub2 \"finds\" the right boot option, adds it and boots from it. I want to make that temporary option permanent and have Grub2 show a valid boot menu.\\n\\nHere\\'s the result of `lsblk -f`:\\n\\n    NAME   FSTYPE LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINT\\n    sda                                                                     \\n    sda1 vfat   ESP   3200-744E                             503.2M     2% \/boot\/efi\\n    sda2 ext4   BOOT  698d07a4-6287-4c28-b9e5-10b99a5095a6  755.1M    16% \/boot\\n    sda3 xfs    ROOT  3cd58d71-31ab-450c-814e-7bc8ef0a16d2    5.7G    69% \/\\n\\nHere\\'s `efibootmgr -v` (EFI is enabled on the VM and Boot0003 is automatically generated due to the BootOrder error):\\n\\n    BootCurrent: 0001\\n    BootOrder: 0003,0000,0001,0002\\n    Boot0000* EFI DVD\/CDROM\\tPciRoot(0x0)\/Pci(0xd,0x0)\/Sata(1,0,0)\\n    Boot0001* EFI Hard Drive\\tPciRoot(0x0)\/Pci(0xd,0x0)\/Sata(0,0,0)\\n    Boot0002* EFI Internal Shell\\tMemoryMapped(11,0x2100000,0x28fffff)\/FvFile(7c04a583-9e3e-4f1c-ad65-e05268d0b4d1)\\n    Boot0003* Fedora\\tHD(1,GPT,29bc8511-05f9-4ab5-813d-54465b29d01b,0x800,0x100000)\/File(\\\\EFI\\\\fedora\\\\shimx64.efi)\\n\\nHere\\'s what I get when I run `sudo grub2-mkconfig -o \/boot\/efi\/EFI\/fedora\/grub.cfg`:\\n\\n    Generating grub configuration file ...\\n    Adding boot menu entry for EFI firmware configuration\\n    done\\n\\nHere\\'s what\\'s in `\/boot\/efi\/EFI\/fedora\/grubenv`:\\n\\n    # GRUB Environment Block\\n    saved_entry=87212d3df9cb4971a52ef083c58bf95c-5.2.11-200.fc30.x86_64\\n    menu_auto_hide=1\\n    boot_success=1\\n    kernelopts=root=UUID=3cd58d71-31ab-450c-814e-7bc8ef0a16d2 ro rhgb quiet \\n    boot_indeterminate=0\\n    ############(snip)############\\n\\nHere\\'s the result of `sudo tree \/boot\/ -L 4`:\\n\\n    \/boot\/\\n     config-5.2.11-200.fc30.x86_64\\n     efi\\n      EFI\\n          BOOT\\n           BOOTX64.EFI\\n           fbx64.efi\\n          fedora\\n              BOOTX64.CSV\\n              fonts\\n              grub.cfg\\n              grubenv\\n              grubx64.efi\\n              mmx64.efi\\n              shim.efi\\n              shimx64.efi\\n              shimx64-fedora.efi\\n     grub2\\n      grubenv -&gt; ..\/efi\/EFI\/fedora\/grubenv\\n      themes\\n          system\\n              background.png\\n              fireworks.png\\n     initramfs-0-rescue-87212d3df9cb4971a52ef083c58bf95c.img\\n     initramfs-5.2.11-200.fc30.x86_64.img\\n     loader\\n      entries\\n          87212d3df9cb4971a52ef083c58bf95c-0-rescue.conf\\n          87212d3df9cb4971a52ef083c58bf95c-5.2.11-200.fc30.x86_64.conf\\n     lost+found\\n     System.map-5.2.11-200.fc30.x86_64\\n     vmlinuz-0-rescue-87212d3df9cb4971a52ef083c58bf95c\\n     vmlinuz-5.2.11-200.fc30.x86_64\\n\\nAgain, I just want to make sure a boot menu is shown and that EFI\/GRub2 work well together. This is a fresh VM installation, so what\\'s going wrong here?', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 0, 'created_utc': 1568644614}"}
{"id":"771341","text":"Title: Stitching multiple images using OpenCV ?\nThe text below was posted in an online community called computervision in the year 2012:\n\nHi guys, I was programming a simple image stitching for fun, and it works for 2 - 3 images (and crashes if I feed more images, due to size issues).\n\nI am just wondering, how do panorama stitching algorithm on digital camera works ?\n\nWhat I did was to find features between images and find the homography matrices. I wonder if it's similar in professional applications. Anyone want to discuss about it ?\n\n\n[Here's sample video of my code](http:\/\/www.youtube.com\/watch?v=Dal__VnluLQ)\n\n[Here's sample of my code, works for 2 - 3 images](http:\/\/snipt.org\/vJm8)","meta":"{'source': 'reddit_posts', 'id': 'ztpvp', 'title': 'Stitching multiple images using OpenCV ?', 'author': 'sub_o', 'subreddit': 'computervision', 'subreddit_id': '2rfzn', 'body': \"Hi guys, I was programming a simple image stitching for fun, and it works for 2 - 3 images (and crashes if I feed more images, due to size issues).\\n\\nI am just wondering, how do panorama stitching algorithm on digital camera works ?\\n\\nWhat I did was to find features between images and find the homography matrices. I wonder if it's similar in professional applications. Anyone want to discuss about it ?\\n\\n\\n[Here's sample video of my code](http:\/\/www.youtube.com\/watch?v=Dal__VnluLQ)\\n\\n[Here's sample of my code, works for 2 - 3 images](http:\/\/snipt.org\/vJm8)\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 2, 'created_utc': 1347549466}"}
{"id":"1811637","text":"Title: Help, SSD sometimes won't boot.\nThe text below was posted in an online community called windows in the year 2017:\n\nHi! I need a little help here. Sometimes, my SSD sometimes won't boot. If I have my other HDDs enabled for boot, I get a bluescreen saying the boot device isn't detected. If I disable the HDDs, then my PC goes directly to BIOS and the SSD isn't detected. If I go to BIOS and press F10 to exit and save changes, the SSD gets recognized and boots. This happens randomly. Any ideas?\n\nEDIT: Image of partitions https:\/\/i.imgur.com\/Gckt2xh.png\n\nEDIT2: Solved with danskeman fix.","meta":"{'source': 'reddit_posts', 'id': '7d2fy8', 'title': \"Help, SSD sometimes won't boot.\", 'author': 'evmota21', 'subreddit': 'windows', 'subreddit_id': '2qh3k', 'body': \"Hi! I need a little help here. Sometimes, my SSD sometimes won't boot. If I have my other HDDs enabled for boot, I get a bluescreen saying the boot device isn't detected. If I disable the HDDs, then my PC goes directly to BIOS and the SSD isn't detected. If I go to BIOS and press F10 to exit and save changes, the SSD gets recognized and boots. This happens randomly. Any ideas?\\n\\nEDIT: Image of partitions https:\/\/i.imgur.com\/Gckt2xh.png\\n\\nEDIT2: Solved with danskeman fix.\", 'body_is_trimmed': False, 'score': 11, 'over_18': False, 'num_comments': 11, 'created_utc': 1510729855}"}
{"id":"1895633","text":"Title: Difference between crashed and corrupted tables?\nThe text below was posted in an online community called mysql in the year 2018:\n\nI'm doing some research and testing on how to repair crashed tables, but some of the resources I'm looking at seem to use the words \"crashed\" and \"corrupted\" interchangeably. The sense I have at this point is that if a table can be marked as \"crashed\" after an unexpected shutdown or because of some underlying hardware problems, etc. But that doesn't necessarily mean that it's been corrupted. That generally happens only when a write fails following the crash. Basically: all corrupted tables are crashed but not all crashed tables are corrupted.\n\nIs this the right way to think about this, or is there not really a practical difference between saying a table is \"crashed\" vs. \"corrupted\"? Any clarification or resources explaining the concepts more clearly would be sincerely appreciated!","meta":"{'source': 'reddit_posts', 'id': 'a1u4al', 'title': 'Difference between crashed and corrupted tables?', 'author': 'LiveForeverJones', 'subreddit': 'mysql', 'subreddit_id': '2qm6k', 'body': 'I\\'m doing some research and testing on how to repair crashed tables, but some of the resources I\\'m looking at seem to use the words \"crashed\" and \"corrupted\" interchangeably. The sense I have at this point is that if a table can be marked as \"crashed\" after an unexpected shutdown or because of some underlying hardware problems, etc. But that doesn\\'t necessarily mean that it\\'s been corrupted. That generally happens only when a write fails following the crash. Basically: all corrupted tables are crashed but not all crashed tables are corrupted.\\n\\nIs this the right way to think about this, or is there not really a practical difference between saying a table is \"crashed\" vs. \"corrupted\"? Any clarification or resources explaining the concepts more clearly would be sincerely appreciated!', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1543596617}"}
{"id":"172569","text":"Title: As someone expected to graduate in 2021, what should I expect if a recession hits?\nThe text below was posted in an online community called cscareerquestions in the year 2019:\n\nI wanted to get some insights from professionals who've gone through the recession. Say a recession hits around the time I'm about to graduate, what actually happens? Do companies still hire entry levels or do they start going on a hiring freeze? Does starting salaries go down?","meta":"{'source': 'reddit_posts', 'id': 'cvxd0p', 'title': 'As someone expected to graduate in 2021, what should I expect if a recession hits?', 'author': 'Logical_Bath', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"I wanted to get some insights from professionals who've gone through the recession. Say a recession hits around the time I'm about to graduate, what actually happens? Do companies still hire entry levels or do they start going on a hiring freeze? Does starting salaries go down?\", 'body_is_trimmed': False, 'score': 10, 'over_18': False, 'num_comments': 36, 'created_utc': 1566868996}"}
{"id":"44538","text":"Title: mid-level dev about to learn go\nThe text below was posted in an online community called golang in the year 2022:\n\nas the title says i have two years experience and stack has go for microservcies.  \nprevious languages i've used are java and python and wondering how difficult would the transition be into using go from those two languages if by chance anyone has done that before?   \n\n\nThanks :)","meta":"{'source': 'reddit_posts', 'id': 'usg4jt', 'title': 'mid-level dev about to learn go', 'author': 'International_Bend24', 'subreddit': 'golang', 'subreddit_id': '2rc7j', 'body': \"as the title says i have two years experience and stack has go for microservcies.  \\nprevious languages i've used are java and python and wondering how difficult would the transition be into using go from those two languages if by chance anyone has done that before?   \\n\\n\\nThanks :)\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 29, 'created_utc': 1652889404}"}
{"id":"490356","text":"Title: My understanding of \"fun\" after a 15-year career of making games\nThe text below was posted in an online community called gamedev in the year 2019:\n\nA question about the \"painful\" nature of fun games came up in my forums.  Here's my explanation:\n\nWhat is \"fun\"?  How do you define it?  Where does it come from?  Why do some games have it and others don't?\n\nI have pretty solid answers to these questions myself, after many years of making games, thinking about these issues, reading many books about these issues, attending and giving industry talks about these issues, reading and writing articles about these issues, being interviewed about these issues, etc.\n\n\"Sheesh, Jason, who do you think you are, man?\"  \n\nBut this is my life and my life's work and my career and my livelihood, though, right?  I've devoted 15 years of night-and-day thought to these problems.  I take it all really seriously.  This is the mountain that I've chosen to climb.\n\nEven so, my answers are just my own opinions.\n\nHowever, most people toss around the word \"fun\" without having really thought about it and nailed it down.  They know it when they see it (or should be, \"know it when they play it\").  They often see what they think are hallmarks of fun---features that were present in fun games that they played---and try to generalize those features as sufficient ingredients.  Boss fights are fun, for example.  Upgrades are fun.  Bombs are fun.\n\nBut if you make a game with upgrades, boss fights, and bombs, it won't necessarily be fun.\n\nI've even heard professional game developers---colleagues of mine---saying they scrapped a game in progress because \"we just couldn't find the fun\".\n\n\nFinally, I will point out something we don't really have a name for yet, which might be called pseudo-fun.  Having a dog follow you around in-game, or wearing a Halloween costume in-game, is an example of this.  It actually might be more \"funny\" than fun, especially if you keep doing it once you've done it once.  But it looks and smells like fun, and actually IS real fun the first time, for a reason that I will explain below.  We're also getting a bit mixed up here, because Halloween is \"fun\" in real life, but not game-fun.  A roller-coaster is fun, but not game-fun.  So, maybe instead of calling these things psuedo-fun, we need a new word for \"game-fun\".\n\n\nSo what is game-fun?\n\n**Game-fun is precisely the process of learning and improving in a controlled, well-defined context.**  The more room there is for learning and improving, and the clearer the path forward for more learning and improvement, the more fun the game is.  Some people call this the \"flow\" state, which is the fine line between boredom and frustration.  The thing gets harder in a way that is precisely paced with your improvement.  It's always slightly too hard, but only slightly.  When you fail, it is 100% clear to you why you failed, and you know exactly what you need to do next time to do better.  Each failure results in incremental skill acquisition.\n\nYou can see from this explanation that it's not at all about ingredients, game structure, themes, or anything else.  That's why we can have 1000s of completely different games that are all fun.  We can have Tetris and Quake and Lemmings and LOL and Pac Man and Poker.  These are all fun games, but the only thing they have in common is the aforementioned properties.\n\nCandy Land is not fun, and that's precisely because you can't get qhardin@example.com.  Tic Tac Toe is fun up until you're about 7 years old.  On the other end of the spectrum, Chess and Go aren't very fun at first for some people because the path toward improvement is opaque.  Chance-based games, with Bingo being the most pure, choice-free form, are beyond the scope of this post, but I'll call chance another form of pseudo-fun, where your brain is tricked into thinking it's getting better at something when it actually isn't.  Level-up games (like Cookie Clicker) are another form of brain-tricking pseudo-fun.\n\nAnd returning to in-game Halloween costumes, I said before that they ARE real fun the first time.  That's because making one the first time is a skill you don't have yet, a challenge that you haven't overcome.  There's a chance of failure (getting born in a town with no loom, and just not pulling it together before you run out of time, so no ghost for you).  If it's hard enough and varied enough, perhaps making a Halloween costume yourself is fun every time.  But having your mother slap a pre-made costume on your when you're born is \"fun\" but not \"game-fun.\"\n\nSo returning to the original question:\n\n&gt; Why must \"real play\" be so painful, frustrating and unenjoyable?\n\nYou can't have challenge without some kind of pain.  There has to be a problem to solve, or else there is no joy in overcoming a problem.  The very best challenges are just slightly beyond your current capabilities, but tantalizingly close to do-able.  You're going to fail, and it's going to hurt a bit.... but then you're going to succeed, and it's going to be so fun.  And then the next just-out-of-reach thing beckons.\n\nYou can't have a real \"HOLY CRAP, YES!\" without a healthy dose of \"NOOOOO!\"s along the way.","meta":"{'source': 'reddit_posts', 'id': 'dwe7h6', 'title': 'My understanding of \"fun\" after a 15-year career of making games', 'author': 'jasonrohrer', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': 'A question about the \"painful\" nature of fun games came up in my forums.  Here\\'s my explanation:\\n\\nWhat is \"fun\"?  How do you define it?  Where does it come from?  Why do some games have it and others don\\'t?\\n\\nI have pretty solid answers to these questions myself, after many years of making games, thinking about these issues, reading many books about these issues, attending and giving industry talks about these issues, reading and writing articles about these issues, being interviewed about these issues, etc.\\n\\n\"Sheesh, Jason, who do you think you are, man?\"  \\n\\nBut this is my life and my life\\'s work and my career and my livelihood, though, right?  I\\'ve devoted 15 years of night-and-day thought to these problems.  I take it all really seriously.  This is the mountain that I\\'ve chosen to climb.\\n\\nEven so, my answers are just my own opinions.\\n\\nHowever, most people toss around the word \"fun\" without having really thought about it and nailed it down.  They know it when they see it (or should be, \"know it when they play it\").  They often see what they think are hallmarks of fun---features that were present in fun games that they played---and try to generalize those features as sufficient ingredients.  Boss fights are fun, for example.  Upgrades are fun.  Bombs are fun.\\n\\nBut if you make a game with upgrades, boss fights, and bombs, it won\\'t necessarily be fun.\\n\\nI\\'ve even heard professional game developers---colleagues of mine---saying they scrapped a game in progress because \"we just couldn\\'t find the fun\".\\n\\n\\nFinally, I will point out something we don\\'t really have a name for yet, which might be called pseudo-fun.  Having a dog follow you around in-game, or wearing a Halloween costume in-game, is an example of this.  It actually might be more \"funny\" than fun, especially if you keep doing it once you\\'ve done it once.  But it looks and smells like fun, and actually IS real fun the first time, for a reason that I will explain below.  We\\'re also getting a bit mixed up here, because Halloween is \"fun\" in real life, but not game-fun.  A roller-coaster is fun, but not game-fun.  So, maybe instead of calling these things psuedo-fun, we need a new word for \"game-fun\".\\n\\n\\nSo what is game-fun?\\n\\n**Game-fun is precisely the process of learning and improving in a controlled, well-defined context.**  The more room there is for learning and improving, and the clearer the path forward for more learning and improvement, the more fun the game is.  Some people call this the \"flow\" state, which is the fine line between boredom and frustration.  The thing gets harder in a way that is precisely paced with your improvement.  It\\'s always slightly too hard, but only slightly.  When you fail, it is 100% clear to you why you failed, and you know exactly what you need to do next time to do better.  Each failure results in incremental skill acquisition.\\n\\nYou can see from this explanation that it\\'s not at all about ingredients, game structure, themes, or anything else.  That\\'s why we can have 1000s of completely different games that are all fun.  We can have Tetris and Quake and Lemmings and LOL and Pac Man and Poker.  These are all fun games, but the only thing they have in common is the aforementioned properties.\\n\\nCandy Land is not fun, and that\\'s precisely because you can\\'t get better at it.  Tic Tac Toe is fun up until you\\'re about 7 years old.  On the other end of the spectrum, Chess and Go aren\\'t very fun at first for some people because the path toward improvement is opaque.  Chance-based games, with Bingo being the most pure, choice-free form, are beyond the scope of this post, but I\\'ll call chance another form of pseudo-fun, where your brain is tricked into thinking it\\'s getting better at something when it actually isn\\'t.  Level-up games (like Cookie Clicker) are another form of brain-tricking pseudo-fun.\\n\\nAnd returning to in-game Halloween costumes, I said before that they ARE real fun the first time.  That\\'s because making one the first time is a skill you don\\'t have yet, a challenge that you haven\\'t overcome.  There\\'s a chance of failure (getting born in a town with no loom, and just not pulling it together before you run out of time, so no ghost for you).  If it\\'s hard enough and varied enough, perhaps making a Halloween costume yourself is fun every time.  But having your mother slap a pre-made costume on your when you\\'re born is \"fun\" but not \"game-fun.\"\\n\\nSo returning to the original question:\\n\\n&gt; Why must \"real play\" be so painful, frustrating and unenjoyable?\\n\\nYou can\\'t have challenge without some kind of pain.  There has to be a problem to solve, or else there is no joy in overcoming a problem.  The very best challenges are just slightly beyond your current capabilities, but tantalizingly close to do-able.  You\\'re going to fail, and it\\'s going to hurt a bit.... but then you\\'re going to succeed, and it\\'s going to be so fun.  And then the next just-out-of-reach thing beckons.\\n\\nYou can\\'t have a real \"HOLY CRAP, YES!\" without a healthy dose of \"NOOOOO!\"s along the way.', 'body_is_trimmed': False, 'score': 43, 'over_18': False, 'num_comments': 64, 'created_utc': 1573758618}"}
{"id":"2343682","text":"Title: Turing or Shannon?\nThe text below was posted in an online community called compsci in the year 2015:\n\nI recently read The Information: A History, A Theory, A Flood by James Gleick and found his overview of the history of computation\/information pretty thought provoking. That got me thinking - do you guys think Claude Shannon(information theory) or Alan Turing (Turing Machine) was more vital in the development of computers? Obviously they both were, but I'm be curious to see what you guys think. Was another person other than these two more vital?","meta":"{'source': 'reddit_posts', 'id': '3c5zd9', 'title': 'Turing or Shannon?', 'author': 'BigWilley01', 'subreddit': 'compsci', 'subreddit_id': '2qhmr', 'body': \"I recently read The Information: A History, A Theory, A Flood by James Gleick and found his overview of the history of computation\/information pretty thought provoking. That got me thinking - do you guys think Claude Shannon(information theory) or Alan Turing (Turing Machine) was more vital in the development of computers? Obviously they both were, but I'm be curious to see what you guys think. Was another person other than these two more vital?\", 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 13, 'created_utc': '1436067608'}"}
{"id":"379074","text":"Title: Any experience with Storage Spaces?\nThe text below was posted in an online community called windows8 in the year 2013:\n\nI've decided that I want to start protecting my somewhat large amount of media (4TB~) by using some sort of RAID solution. I have been looking into throwing together a FreeNAS system from spare parts, but today I came across Windows Storage Spaces which should let me do what I want to do while leaving my hard drives inside my PC. Has anyone tried this out? From what I've read so far it seems like the performance might not be that great, any thoughts?","meta":"{'source': 'reddit_posts', 'id': '1ecqjw', 'title': 'Any experience with Storage Spaces?', 'author': 'gillycheesesteak', 'subreddit': 'windows8', 'subreddit_id': '2s692', 'body': \"I've decided that I want to start protecting my somewhat large amount of media (4TB~) by using some sort of RAID solution. I have been looking into throwing together a FreeNAS system from spare parts, but today I came across Windows Storage Spaces which should let me do what I want to do while leaving my hard drives inside my PC. Has anyone tried this out? From what I've read so far it seems like the performance might not be that great, any thoughts?\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 1, 'created_utc': 1368580061}"}
{"id":"834933","text":"Title: When is requiring a password overkill?\nThe text below was posted in an online community called web_design in the year 2012:\n\nI'm making a small mobile web app for a contest, where people will be finding and entering a handful of codes. I don't really want to make them bother with a password if I can help it -- just enter their email address to add codes and see the ones they've already collected. No personal information is shown.\n\nWhat's the best practice for this kind of thing? Should one always use a password, even if there's nothing sensitive about the data being protected?","meta":"{'source': 'reddit_posts', 'id': '1460jg', 'title': 'When is requiring a password overkill?', 'author': 'GiantTorbie', 'subreddit': 'web_design', 'subreddit_id': '2qh1m', 'body': \"I'm making a small mobile web app for a contest, where people will be finding and entering a handful of codes. I don't really want to make them bother with a password if I can help it -- just enter their email address to add codes and see the ones they've already collected. No personal information is shown.\\n\\nWhat's the best practice for this kind of thing? Should one always use a password, even if there's nothing sensitive about the data being protected?\", 'body_is_trimmed': False, 'score': 14, 'over_18': False, 'num_comments': 13, 'created_utc': 1354483508}"}
{"id":"378545","text":"Title: Plotting a time series\nThe text below was posted in an online community called learnpython in the year 2021:\n\nOK, I have a pandas dataframe containing many thousands of data points of historic daily price data for a stock.  I have plotted this but the x-axis labels and tick marks and the grid looks a mess because all timestamps have been plotted.  How do I adjust the labeling, tickmarks and grid to only display, every month or every year.","meta":"{'source': 'reddit_posts', 'id': 'ozi1nq', 'title': 'Plotting a time series', 'author': 'tb1scotttracy', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': 'OK, I have a pandas dataframe containing many thousands of data points of historic daily price data for a stock.  I have plotted this but the x-axis labels and tick marks and the grid looks a mess because all timestamps have been plotted.  How do I adjust the labeling, tickmarks and grid to only display, every month or every year.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1628292183}"}
{"id":"2235119","text":"Title: Capital One vs. Intuit Internship\nThe text below was posted in an online community called cscareerquestions in the year 2019:\n\nI have offers from both Capital One and Intuit for a software engineering internship. I am a junior so I am hoping to have this internship lead to a full time offer. I keep going back and forth between them so I'm open to anyone's opinion on this.\n\nCapital One:\n\n* $43.25\/hr + $3000 sign on\n* 10 weeks\n* I would go for the Plano, TX office if it doesn't fill up\n* Not sure what percentage of people get a return offer, but I have heard that it is high\n\nIntuit:\n\n* $40\/hr (they offer free housing but I don't need it since I am local)\n* 12 weeks\n* Plano, TX\n* My recruiter said something like 90% of interns get a return offer","meta":"{'source': 'reddit_posts', 'id': 'diusfq', 'title': 'Capital One vs. Intuit Internship', 'author': 'srk9962', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"I have offers from both Capital One and Intuit for a software engineering internship. I am a junior so I am hoping to have this internship lead to a full time offer. I keep going back and forth between them so I'm open to anyone's opinion on this.\\n\\nCapital One:\\n\\n* $43.25\/hr + $3000 sign on\\n* 10 weeks\\n* I would go for the Plano, TX office if it doesn't fill up\\n* Not sure what percentage of people get a return offer, but I have heard that it is high\\n\\nIntuit:\\n\\n* $40\/hr (they offer free housing but I don't need it since I am local)\\n* 12 weeks\\n* Plano, TX\\n* My recruiter said something like 90% of interns get a return offer\", 'body_is_trimmed': False, 'score': 18, 'over_18': False, 'num_comments': 26, 'created_utc': 1571255822}"}
{"id":"375165","text":"Title: Permissions Question - Azure SQL Elastic Pool and default roles\nThe text below was posted in an online community called SQLServer in the year 2020:\n\nLet me firstly say i am not a DBA, i do not get to use SQL enough in my day to day so simple tasks are not so simple or routine for me! Assume Nothing!\n\nLet me summarize my environemnt. On-Prem AD with Dir-Sync to AzureAD.  An Elastic Pool in Azure, and have provisioned multiple databases inside of this.\n\nI have created security groups onsite for the following purposes:\n\nGROUP-SERVER-DBO - Members are Server Admins  - This group is give the db\\_owner default role on the Server.\n\nGROUP-DATABASE1-DBO - Members of DBO's of this DB - This group is give the db\\_owner default role on the DB.\n\nGROUP-DATABASE1-RW - Members are Data Writers of this DB  - This group is give the db\\_datawriter default role on the DB.\n\nHow i have accomplished this so far\n\n* In Azure Resource Manager, i have set the AD Admin to GROUP-SERVER-DBO\n* I have logged in to SSMS as the dbadmin SQL user added by default at the creation of the Elastic Pool\n* I have run  on the server (Right click Master DB, New Query) \n\n&amp;#8203;\n\n        CREATE USER GROUP-SERVER-DBO FROM EXTERNAL PROVIDER;\n        exec sp_addRoleMember 'db_owner', 'GROUP-SERVER-DBO';\n\n* I have run on a database (Right Click DB, New Query)\n\n&amp;#8203;\n\n    CREATE USER GROUP-DATABASE1-DBO FROM EXTERNAL PROVIDER;\n    CREATE USER GROUP-DATABASE1-RW FROM EXTERNAL PROVIDER;\n    exec sp_addRoleMember 'db_owner', 'GROUP-DATABASE1-DBO';\n    exec sp_addRoleMember 'db_datawriter', 'GROUP-DATABASE1-RW';\n\nMy expectation is that if i right click on my Database then my DBO group should have all permissions granted and my RW group should have db\\_datawriter permissions granted. This does not happen, the only permission is CONNECT.\n\nHave i missed something fundamental, is there an additional step that i havent performed, am i expecting something that anyone who works with SQL knows doesnt work\/isnt the way to do it.\n\nI have run various scripts to see the members of the various roles, and it all looks to be correct, but it isnt working. Can anyone assist?","meta":"{'source': 'reddit_posts', 'id': 'f56clj', 'title': 'Permissions Question - Azure SQL Elastic Pool and default roles', 'author': 'ReinaldoWolffe', 'subreddit': 'SQLServer', 'subreddit_id': '2qlzx', 'body': \"Let me firstly say i am not a DBA, i do not get to use SQL enough in my day to day so simple tasks are not so simple or routine for me! Assume Nothing!\\n\\nLet me summarize my environemnt. On-Prem AD with Dir-Sync to AzureAD.  An Elastic Pool in Azure, and have provisioned multiple databases inside of this.\\n\\nI have created security groups onsite for the following purposes:\\n\\nGROUP-SERVER-DBO - Members are Server Admins  - This group is give the db\\\\_owner default role on the Server.\\n\\nGROUP-DATABASE1-DBO - Members of DBO's of this DB - This group is give the db\\\\_owner default role on the DB.\\n\\nGROUP-DATABASE1-RW - Members are Data Writers of this DB  - This group is give the db\\\\_datawriter default role on the DB.\\n\\nHow i have accomplished this so far\\n\\n* In Azure Resource Manager, i have set the AD Admin to GROUP-SERVER-DBO\\n* I have logged in to SSMS as the dbadmin SQL user added by default at the creation of the Elastic Pool\\n* I have run  on the server (Right click Master DB, New Query) \\n\\n&amp;#8203;\\n\\n        CREATE USER GROUP-SERVER-DBO FROM EXTERNAL PROVIDER;\\n        exec sp_addRoleMember 'db_owner', 'GROUP-SERVER-DBO';\\n\\n* I have run on a database (Right Click DB, New Query)\\n\\n&amp;#8203;\\n\\n    CREATE USER GROUP-DATABASE1-DBO FROM EXTERNAL PROVIDER;\\n    CREATE USER GROUP-DATABASE1-RW FROM EXTERNAL PROVIDER;\\n    exec sp_addRoleMember 'db_owner', 'GROUP-DATABASE1-DBO';\\n    exec sp_addRoleMember 'db_datawriter', 'GROUP-DATABASE1-RW';\\n\\nMy expectation is that if i right click on my Database then my DBO group should have all permissions granted and my RW group should have db\\\\_datawriter permissions granted. This does not happen, the only permission is CONNECT.\\n\\nHave i missed something fundamental, is there an additional step that i havent performed, am i expecting something that anyone who works with SQL knows doesnt work\/isnt the way to do it.\\n\\nI have run various scripts to see the members of the various roles, and it all looks to be correct, but it isnt working. Can anyone assist?\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 1, 'created_utc': 1581931900}"}
{"id":"1700779","text":"Title: Question regarding tracking and documenting project progress.\nThe text below was posted in an online community called arduino in the year 2015:\n\nI think I'm working on a pretty cool project that I would like convert into a guide\/blog of some sorts.  I currently just have a smattering of Google docs with basic diagrams,  parts list and some random musings on all things arduino.  Any recommendations on how to bring this stuff together into a more user friendly format? Are there any sites that just let people blog about their arduino projects?","meta":"{'source': 'reddit_posts', 'id': '2u1m5n', 'title': 'Question regarding tracking and documenting project progress.', 'author': 'smccorm007', 'subreddit': 'arduino', 'subreddit_id': '2qknj', 'body': \"I think I'm working on a pretty cool project that I would like convert into a guide\/blog of some sorts.  I currently just have a smattering of Google docs with basic diagrams,  parts list and some random musings on all things arduino.  Any recommendations on how to bring this stuff together into a more user friendly format? Are there any sites that just let people blog about their arduino projects?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 6, 'created_utc': '1422503490'}"}
{"id":"898413","text":"Title: I've just made a photo book with Google photos and it was painful.\nThe text below was posted in an online community called Android in the year 2018:\n\nI think it's a great idea for Google to include the photo book ordering in its app. Makes it tough for smaller businesses again, but maybe Google won't expand much on printing options and these are left for other companies.\n\nRecently I got the update that allows me to order them (I'm in Sweden, so maybe we are not quite the first to have it), so I thought I give it a try.\n\nMy conclusion: nice try, but horrible usability. Here are my problems with it:\n\n- no undo option. Once you delete a pic, it's gone from the book. Maybe it's just me but while making the book I accidentally deleted pictures several times and had each time to start over. Why? Because...\n\n- you can start from an album to make a book, but if you want to add a picture it shows you the whole library first. Why is this bad when you accidentally deleted a picture? Well, I got over a thousand photos of my daughter and make a book about her. I preselected 40 and then decided to delete some. I accidentally deleted one as above, but adding new photos doesn't take me back to the album I started with, I now have to browse the whole library again. Inconvenient! Can't even switch to an album view here.\n\n- no font options. You can only write in the font they supply. No repositioning of text. No bold or italics, no font selection. Not enough and should be easy to implement.\n\n- some weird bug with square pictures. So you can add your standard pics and cut them to a square, since the album itself is going to be square size. However there is a weird bug I experienced where if you add a photo that is already square size you run into some weird graphical bug on the overview page where it doesn't look like the photo is adamskathryn@example.net. Once you click on it you can correct it and it will be saved there but the overview always shows it wrong. So now I am not sure if the picture will be printed as in the overview (bad) or as intended.\n\n- lots of crashes. Guess not too unexpected from a new app, so I'm not going to elaborate much.\n\nAnybody with better experiences? Is it working well for some of you?","meta":"{'source': 'reddit_posts', 'id': 'a2r1ci', 'title': \"I've just made a photo book with Google photos and it was painful.\", 'author': 'PM_me_science_jobs', 'subreddit': 'Android', 'subreddit_id': '2qlqh', 'body': \"I think it's a great idea for Google to include the photo book ordering in its app. Makes it tough for smaller businesses again, but maybe Google won't expand much on printing options and these are left for other companies.\\n\\nRecently I got the update that allows me to order them (I'm in Sweden, so maybe we are not quite the first to have it), so I thought I give it a try.\\n\\nMy conclusion: nice try, but horrible usability. Here are my problems with it:\\n\\n- no undo option. Once you delete a pic, it's gone from the book. Maybe it's just me but while making the book I accidentally deleted pictures several times and had each time to start over. Why? Because...\\n\\n- you can start from an album to make a book, but if you want to add a picture it shows you the whole library first. Why is this bad when you accidentally deleted a picture? Well, I got over a thousand photos of my daughter and make a book about her. I preselected 40 and then decided to delete some. I accidentally deleted one as above, but adding new photos doesn't take me back to the album I started with, I now have to browse the whole library again. Inconvenient! Can't even switch to an album view here.\\n\\n- no font options. You can only write in the font they supply. No repositioning of text. No bold or italics, no font selection. Not enough and should be easy to implement.\\n\\n- some weird bug with square pictures. So you can add your standard pics and cut them to a square, since the album itself is going to be square size. However there is a weird bug I experienced where if you add a photo that is already square size you run into some weird graphical bug on the overview page where it doesn't look like the photo is centered at all. Once you click on it you can correct it and it will be saved there but the overview always shows it wrong. So now I am not sure if the picture will be printed as in the overview (bad) or as intended.\\n\\n- lots of crashes. Guess not too unexpected from a new app, so I'm not going to elaborate much.\\n\\nAnybody with better experiences? Is it working well for some of you?\", 'body_is_trimmed': False, 'score': 61, 'over_18': False, 'num_comments': 15, 'created_utc': 1543859476}"}
{"id":"2061476","text":"Title: Balancing Robot sketch seems to freeze right in the middle!\nThe text below was posted in an online community called arduino in the year 2013:\n\nI am trying to make a balancing robot with this basic idea: using a complementary filter to determine current position from an accel\/gyro, the motor should run forwards if the accel\/gyro leans forwards, and backwards of the accel\/gyro leans back. When I implement this with code, it works well for about the first ten seconds of operation, but afterwards, my sketch just freezes! On my serial monitor, the board just quits sending updates, and the motor \"gets stuck\" and continues to spin in the direction it was going when the sketch freezes, even if I tilt the accel\/gyro! Can anyone help? \n\nIn my code, I only included as much as I thought would be needed; if it seems a variable just pops up from nowhere, I likely declared it elsewhere.\n\n    typedef union accel_t_gyro_union\n    {\n      struct\n      {\n        uint8_t x_accel_h;\n        uint8_t x_accel_l;\n        uint8_t x_gyro_h;\n        uint8_t x_gyro_l;\n      } reg;\n      struct \n      {\n        int16_t x_accel;\n        int16_t x_gyro;\n      } value;\n    };\n\n    accel_t_gyro_union accel_t_gyro;\n\n    void loop()\n    {\n      int error;\n      double dT;\n      long initialMicroseconds = micros();\n\n\n    MPU6050_read (MPU6050_ACCEL_XOUT_H, (uint8_t *) &amp;accel_t_gyro, sizeof(accel_t_gyro) \/ 2);\n    MPU6050_read (MPU6050_GYRO_XOUT_H, (uint8_t *) &amp;accel_t_gyro + sizeof(accel_t_gyro) \/ 2, sizeof(accel_t_gyro) \/ 2);  \n \n\n      SWAP (accel_t_gyro.reg.x_accel_h, accel_t_gyro.reg.x_accel_l);\n      SWAP (accel_t_gyro.reg.x_gyro_h, accel_t_gyro.reg.x_gyro_l);\n      float x_gyro_deg_sec = accel_t_gyro.value.x_gyro \/ 131;\n      float x_accel_grav = (float(accel_t_gyro.value.x_accel - accel_x_calibrate) \/ 16384) * degreeConverter;\n      xOrientation = (0.85) * (xOrientation + x_gyro_deg_sec * .003) + (0.15) * (x_accel_grav);\n     \n      input = xOrientation - xOrientationCal;\n      motorControl(int(input));\n      digitalWrite(latchPin, LOW);\n\n      digitalWrite(latchPin, HIGH);\n      if(millis() - prevMillis &gt; 1000)\n      {\n      Serial.println(xOrientation - xOrientationCal, DEC);\n      Serial.println(micros() - initialMicroseconds);\n      prevMillis = millis();\n      }\n      delayMicroseconds(3000 - (micros() - initialMicroseconds));\n\n}\n\n    void motorControl(int angleInput)\n    {\n    if(angleInput &gt; 5)\n      {\n      analogWrite(motorEnablePin, map(angleInput, 1, 15, 127, 255));\n      digitalWrite(motorPin1, HIGH);\n      digitalWrite(motorPin2, LOW);\n      }\n    else if(angleInput &lt; -5)\n     {\n      analogWrite(motorEnablePin, map(angleInput, -1, -15, 127, 255));\n      digitalWrite(motorPin2, HIGH);\n      digitalWrite(motorPin1, LOW);\n      }\n    else\n      {\n      digitalWrite(motorEnablePin, LOW);\n      digitalWrite(motorPin2, LOW);\n      digitalWrite(motorPin1, LOW);\n      }\n    }","meta":"{'source': 'reddit_posts', 'id': '1thm42', 'title': 'Balancing Robot sketch seems to freeze right in the middle!', 'author': 'PoisonedIV', 'subreddit': 'arduino', 'subreddit_id': '2qknj', 'body': 'I am trying to make a balancing robot with this basic idea: using a complementary filter to determine current position from an accel\/gyro, the motor should run forwards if the accel\/gyro leans forwards, and backwards of the accel\/gyro leans back. When I implement this with code, it works well for about the first ten seconds of operation, but afterwards, my sketch just freezes! On my serial monitor, the board just quits sending updates, and the motor \"gets stuck\" and continues to spin in the direction it was going when the sketch freezes, even if I tilt the accel\/gyro! Can anyone help? \\n\\nIn my code, I only included as much as I thought would be needed; if it seems a variable just pops up from nowhere, I likely declared it elsewhere.\\n\\n    typedef union accel_t_gyro_union\\n    {\\n      struct\\n      {\\n        uint8_t x_accel_h;\\n        uint8_t x_accel_l;\\n        uint8_t x_gyro_h;\\n        uint8_t x_gyro_l;\\n      } reg;\\n      struct \\n      {\\n        int16_t x_accel;\\n        int16_t x_gyro;\\n      } value;\\n    };\\n\\n    accel_t_gyro_union accel_t_gyro;\\n\\n    void loop()\\n    {\\n      int error;\\n      double dT;\\n      long initialMicroseconds = micros();\\n\\n\\n    MPU6050_read (MPU6050_ACCEL_XOUT_H, (uint8_t *) &amp;accel_t_gyro, sizeof(accel_t_gyro) \/ 2);\\n    MPU6050_read (MPU6050_GYRO_XOUT_H, (uint8_t *) &amp;accel_t_gyro + sizeof(accel_t_gyro) \/ 2, sizeof(accel_t_gyro) \/ 2);  \\n \\n\\n      SWAP (accel_t_gyro.reg.x_accel_h, accel_t_gyro.reg.x_accel_l);\\n      SWAP (accel_t_gyro.reg.x_gyro_h, accel_t_gyro.reg.x_gyro_l);\\n      float x_gyro_deg_sec = accel_t_gyro.value.x_gyro \/ 131;\\n      float x_accel_grav = (float(accel_t_gyro.value.x_accel - accel_x_calibrate) \/ 16384) * degreeConverter;\\n      xOrientation = (0.85) * (xOrientation + x_gyro_deg_sec * .003) + (0.15) * (x_accel_grav);\\n     \\n      input = xOrientation - xOrientationCal;\\n      motorControl(int(input));\\n      digitalWrite(latchPin, LOW);\\n\\n      digitalWrite(latchPin, HIGH);\\n      if(millis() - prevMillis &gt; 1000)\\n      {\\n      Serial.println(xOrientation - xOrientationCal, DEC);\\n      Serial.println(micros() - initialMicroseconds);\\n      prevMillis = millis();\\n      }\\n      delayMicroseconds(3000 - (micros() - initialMicroseconds));\\n\\n}\\n\\n    void motorControl(int angleInput)\\n    {\\n    if(angleInput &gt; 5)\\n      {\\n      analogWrite(motorEnablePin, map(angleInput, 1, 15, 127, 255));\\n      digitalWrite(motorPin1, HIGH);\\n      digitalWrite(motorPin2, LOW);\\n      }\\n    else if(angleInput &lt; -5)\\n     {\\n      analogWrite(motorEnablePin, map(angleInput, -1, -15, 127, 255));\\n      digitalWrite(motorPin2, HIGH);\\n      digitalWrite(motorPin1, LOW);\\n      }\\n    else\\n      {\\n      digitalWrite(motorEnablePin, LOW);\\n      digitalWrite(motorPin2, LOW);\\n      digitalWrite(motorPin1, LOW);\\n      }\\n    }', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 6, 'created_utc': 1387753758}"}
{"id":"1500005","text":"Title: closing all the tabs before turning off the mac\nThe text below was posted in an online community called MacOS in the year 2018:\n\nStill when i turn the mac on i see the same tabs and programs getting launched.\n\n&amp;#x200B;\n\nHow do we control what happens at mac startup?","meta":"{'source': 'reddit_posts', 'id': '9fg2vj', 'title': 'closing all the tabs before turning off the mac', 'author': 'rifaterdemsahin', 'subreddit': 'MacOS', 'subreddit_id': '2s2gv', 'body': 'Still when i turn the mac on i see the same tabs and programs getting launched.\\n\\n&amp;#x200B;\\n\\nHow do we control what happens at mac startup?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 3, 'created_utc': 1536825476}"}
{"id":"2151168","text":"Title: Creating a custom midi controller\nThe text below was posted in an online community called arduino in the year 2014:\n\nI'm wanting to make a custom midi controller for my laser control software. currently I use an apc40 which fits the bill for the most part but there are improvements id love to make. \n\nthis is what im looking to have hardware wise\n\n\n48 backlit push buttons that have red and blinking green or orange\n16 backlit push buttons that have full RGB color mixing and blinking capabilities \n10 faders\n\n\nI guess my questions are what are hardware limitations on the arduino and midi in general? Im new to this so I'm starting from scratch with arduino.","meta":"{'source': 'reddit_posts', 'id': '1ya1cu', 'title': 'Creating a custom midi controller', 'author': 'kentlighting', 'subreddit': 'arduino', 'subreddit_id': '2qknj', 'body': \"I'm wanting to make a custom midi controller for my laser control software. currently I use an apc40 which fits the bill for the most part but there are improvements id love to make. \\n\\nthis is what im looking to have hardware wise\\n\\n\\n48 backlit push buttons that have red and blinking green or orange\\n16 backlit push buttons that have full RGB color mixing and blinking capabilities \\n10 faders\\n\\n\\nI guess my questions are what are hardware limitations on the arduino and midi in general? Im new to this so I'm starting from scratch with arduino.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 4, 'created_utc': '1392759418'}"}
{"id":"232914","text":"Title: Concept art: help with drawing from imagination?\nThe text below was posted in an online community called gamedev in the year 2014:\n\nI am currently in college for Game Art with the intent of being a concept artist of some kind. I want to be as diverse as possible, so I'm trying to master landscapes, characters, vehicles, etc. At this point, I feel pretty comfortable drawing from reference. However, I really struggle with trying to get the ideas in my head to translate visually (especially landscapes). Any tips for this? Any exercises I could try or resources to check out? More practice is a given, but is there anything in particular I could try practicing? Thanks for any help!","meta":"{'source': 'reddit_posts', 'id': '1vykvt', 'title': 'Concept art: help with drawing from imagination?', 'author': 'rsautoart', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': \"I am currently in college for Game Art with the intent of being a concept artist of some kind. I want to be as diverse as possible, so I'm trying to master landscapes, characters, vehicles, etc. At this point, I feel pretty comfortable drawing from reference. However, I really struggle with trying to get the ideas in my head to translate visually (especially landscapes). Any tips for this? Any exercises I could try or resources to check out? More practice is a given, but is there anything in particular I could try practicing? Thanks for any help!\", 'body_is_trimmed': False, 'score': 16, 'over_18': False, 'num_comments': 13, 'created_utc': '1390501718'}"}
{"id":"1834557","text":"Title: web.whatsapp.com crashing latest Nightly\nThe text below was posted in an online community called firefox in the year 2022:\n\nIs anyone else getting this? web.whatsapp.com crashes the whole browser after updating Nightly this morning.","meta":"{'source': 'reddit_posts', 'id': 'vbxttz', 'title': 'web.whatsapp.com crashing latest Nightly', 'author': 'dwdukc', 'subreddit': 'firefox', 'subreddit_id': '2qh4p', 'body': 'Is anyone else getting this? web.whatsapp.com crashes the whole browser after updating Nightly this morning.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 3, 'created_utc': 1655191159}"}
{"id":"1642144","text":"Title: Pi XBMC - Adding files from upon to my media library\nThe text below was posted in an online community called raspberry_pi in the year 2014:\n\nHey,\n\nI've got a upnp media library that I access from my pi using xbmc. Is their a way to add it all to the media\/video tab (so it can be selected from the web GUI without using the clunky remote)?\n\nI don't care about file names or images, the names as they are would be fine. I'm happy with an ugly solution, just one that is easy to use.","meta":"{'source': 'reddit_posts', 'id': '2bu6yd', 'title': 'Pi XBMC - Adding files from upon to my media library', 'author': 'bbqroast', 'subreddit': 'raspberry_pi', 'subreddit_id': '2syto', 'body': \"Hey,\\n\\nI've got a upnp media library that I access from my pi using xbmc. Is their a way to add it all to the media\/video tab (so it can be selected from the web GUI without using the clunky remote)?\\n\\nI don't care about file names or images, the names as they are would be fine. I'm happy with an ugly solution, just one that is easy to use.\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 2, 'created_utc': '1406438206'}"}
{"id":"1595698","text":"Title: Thinking of offering some Free Game Art, would anyone be interested?\nThe text below was posted in an online community called gamedev in the year 2012:\n\nWas thinking of offering some free game art in a week and a half when I've got quite a lot of free time but wouldn't mind seeing if anyone would be interested - here is some of my work which I've already done for other peoples games. (Check out the games too!) \n\nhttp:\/\/i.imgur.com\/fcFiC.jpg - http:\/\/samusetroid.blogspot.co.uk\/2012\/04\/news_10.html\n\nhttp:\/\/i.imgur.com\/rkRbe.jpg\n\nhttp:\/\/i.imgur.com\/pfyaR.jpg - http:\/\/www.facebook.com\/chaoticGM\n\nIf you ARE interested then follow me on Twitter if you can https:\/\/twitter.com\/#!\/jacoberinmann because that is where I will announce when I have the time to do it, and if you dont have it then just leave a comment below!\nI've already said I would do two small things for people..\n\nJust want to gauge what you people think, thanks everyone!\n\nEdit: Email me at mariacarter@example.com if you want to, but I am going to reply to every comment here anyway.\nI will agree to 5 pieces for now, just so I don't overwhelm myself with stuff straight off the bat, that does not mean I won't do more once they are done.","meta":"{'source': 'reddit_posts', 'id': 't8z17', 'title': 'Thinking of offering some Free Game Art, would anyone be interested?', 'author': 'jekkemenn', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': \"Was thinking of offering some free game art in a week and a half when I've got quite a lot of free time but wouldn't mind seeing if anyone would be interested - here is some of my work which I've already done for other peoples games. (Check out the games too!) \\n\\nhttp:\/\/i.imgur.com\/fcFiC.jpg - http:\/\/samusetroid.blogspot.co.uk\/2012\/04\/news_10.html\\n\\nhttp:\/\/i.imgur.com\/rkRbe.jpg\\n\\nhttp:\/\/i.imgur.com\/pfyaR.jpg - http:\/\/www.facebook.com\/chaoticGM\\n\\nIf you ARE interested then follow me on Twitter if you can https:\/\/twitter.com\/#!\/jacoberinmann because that is where I will announce when I have the time to do it, and if you dont have it then just leave a comment below!\\nI've already said I would do two small things for people..\\n\\nJust want to gauge what you people think, thanks everyone!\\n\\nEdit: Email me at Jacoberinmann@gmail.com if you want to, but I am going to reply to every comment here anyway.\\nI will agree to 5 pieces for now, just so I don't overwhelm myself with stuff straight off the bat, that does not mean I won't do more once they are done.\", 'body_is_trimmed': False, 'score': 57, 'over_18': False, 'num_comments': 16, 'created_utc': 1336259906}"}
{"id":"1647548","text":"Title: Slow Ethernet on 3B+.\nThe text below was posted in an online community called raspberry_pi in the year 2018:\n\nThere seems to be a ton of content out there re: slow gigabit ethernet on the 3B+.  But I don't see a definitive conclusion to it.  Anyone have any thoughts?\n\n* Brand new 3B+.  Rasbian 9 Stretch.  Linux myproxy 4.14.50-v7+ #1122 SMP Tue Jun 19 12:26:26 BST 2018 armv7l GNU\/Linux.\n* Wifi disabled, definitely running off the wire.  I have a Gigabit switch with three devices on it - LaptopA, LaptopB and 3B+.  All wired and all reporting 1000Mb.  The 3B+ -- cat \/sys\/class\/net\/enxb827eba688a5\/speed -&gt; 1000.\n* I setup a series of iperf3 tests.  Testing all the iterations between each of the three devices acting as client and server.\n* The tests between the two laptops (in any direction) *ALWAYS* report close to 1000Mb (usually mid-900s).\n* The tests between either of the laptops and the 3B+ (again, in any direction) *ALWAYS* report no more than 110Mb and usually around ~80Mb.\n* I've swapped ports and cables on the switch.  No difference rodriguezrose@example.net.\n* Brand new, fast SD card so I don't think that's a factor.\n\nStumped.  I was planning on using this 3B+ as a Squid proxy but am effectively only getting ~40Mb out of this config.  I was hoping to see ~100Mb which would have been perfect.\n\nIdeas?  Has this problem been licked and I'm just missing the resolution?","meta":"{'source': 'reddit_posts', 'id': '99x01n', 'title': 'Slow Ethernet on 3B+.', 'author': 'kooknboo', 'subreddit': 'raspberry_pi', 'subreddit_id': '2syto', 'body': \"There seems to be a ton of content out there re: slow gigabit ethernet on the 3B+.  But I don't see a definitive conclusion to it.  Anyone have any thoughts?\\n\\n* Brand new 3B+.  Rasbian 9 Stretch.  Linux myproxy 4.14.50-v7+ #1122 SMP Tue Jun 19 12:26:26 BST 2018 armv7l GNU\/Linux.\\n* Wifi disabled, definitely running off the wire.  I have a Gigabit switch with three devices on it - LaptopA, LaptopB and 3B+.  All wired and all reporting 1000Mb.  The 3B+ -- cat \/sys\/class\/net\/enxb827eba688a5\/speed -&gt; 1000.\\n* I setup a series of iperf3 tests.  Testing all the iterations between each of the three devices acting as client and server.\\n* The tests between the two laptops (in any direction) *ALWAYS* report close to 1000Mb (usually mid-900s).\\n* The tests between either of the laptops and the 3B+ (again, in any direction) *ALWAYS* report no more than 110Mb and usually around ~80Mb.\\n* I've swapped ports and cables on the switch.  No difference noted at all.\\n* Brand new, fast SD card so I don't think that's a factor.\\n\\nStumped.  I was planning on using this 3B+ as a Squid proxy but am effectively only getting ~40Mb out of this config.  I was hoping to see ~100Mb which would have been perfect.\\n\\nIdeas?  Has this problem been licked and I'm just missing the resolution?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 24, 'created_utc': 1535113832}"}
{"id":"387417","text":"Title: ~\/.gitignore affecting repositories in subdirectories\nThe text below was posted in an online community called git in the year 2015:\n\n**EDIT: Resolved**\n\nI like to keep my home directory under version control, to track changes to Bash startup files, various config files, etc.  I have a ~\/.gitignore file which ignores everything, followed by various lines which tell Git exactly what files I want to track:\n\n    \/*\n    !.bash*\n    .bash_history\n    !.ssh\/\n    .ssh\/*\n    !.ssh\/config\n\nThen I have some Git repositories hosted within my home directory, say ~\/dev\/project\/.\n\nHere's my problem.  On my Linux box, I have no problem with these two repositories -- they don't conflict.\n\n    [~\/dev\/project] $ git init .\n    Initialized empty Git repository in ~\/dev\/project\/.git\/\n    [~\/dev\/project] $ touch test\n    [~\/dev\/project] $ git status\n    On branch master\n    \n    Initial commit\n    \n    Untracked files:\n      (use \"git add &lt;file&gt;...\" to include in what will be committed)\n\n            test\n    \n    nothing added to commit but untracked files present (use \"git add\" to track)\n\nBut on my Mac laptop (El Capitan), they do conflict.  The repo in the subdirectory is reading the .gitignore from the home directory, and the first rule, to ignore everything (\"\/*\") is being applied:\n\n    [~\/dev\/project] $ git init .\n    Initialized empty Git repository in ~\/dev\/project\/.git\/\n    [~\/dev\/project] $ touch test\n    [~\/dev\/project] $ git status\n    On branch master\n    \n    Initial commit\n    \n    nothing to commit (create\/copy files and use \"git add\" to track)\n\n    [~\/dev\/project] $ mv ~\/.gitignore ~\/.gitignore.tmp\n    [~\/dev\/project] $ git status\n    On branch master\n    \n    Initial commit\n    \n    Untracked files:\n      (use \"git add &lt;file&gt;...\" to include in what will be committed)\n    \n            test\n\n    nothing added to commit but untracked files present (use \"git add\" to track)\n\nI can't figure out why this is happening.  Linux box is Debian (stable), Git v.2.1.4; El Capitan is Git v. 2.6.2 (latest).","meta":"{'source': 'reddit_posts', 'id': '3v14mi', 'title': '~\/.gitignore affecting repositories in subdirectories', 'author': 'imperator_caesar', 'subreddit': 'git', 'subreddit_id': '2qhv1', 'body': '**EDIT: Resolved**\\n\\nI like to keep my home directory under version control, to track changes to Bash startup files, various config files, etc.  I have a ~\/.gitignore file which ignores everything, followed by various lines which tell Git exactly what files I want to track:\\n\\n    \/*\\n    !.bash*\\n    .bash_history\\n    !.ssh\/\\n    .ssh\/*\\n    !.ssh\/config\\n\\nThen I have some Git repositories hosted within my home directory, say ~\/dev\/project\/.\\n\\nHere\\'s my problem.  On my Linux box, I have no problem with these two repositories -- they don\\'t conflict.\\n\\n    [~\/dev\/project] $ git init .\\n    Initialized empty Git repository in ~\/dev\/project\/.git\/\\n    [~\/dev\/project] $ touch test\\n    [~\/dev\/project] $ git status\\n    On branch master\\n    \\n    Initial commit\\n    \\n    Untracked files:\\n      (use \"git add &lt;file&gt;...\" to include in what will be committed)\\n\\n            test\\n    \\n    nothing added to commit but untracked files present (use \"git add\" to track)\\n\\nBut on my Mac laptop (El Capitan), they do conflict.  The repo in the subdirectory is reading the .gitignore from the home directory, and the first rule, to ignore everything (\"\/*\") is being applied:\\n\\n    [~\/dev\/project] $ git init .\\n    Initialized empty Git repository in ~\/dev\/project\/.git\/\\n    [~\/dev\/project] $ touch test\\n    [~\/dev\/project] $ git status\\n    On branch master\\n    \\n    Initial commit\\n    \\n    nothing to commit (create\/copy files and use \"git add\" to track)\\n\\n    [~\/dev\/project] $ mv ~\/.gitignore ~\/.gitignore.tmp\\n    [~\/dev\/project] $ git status\\n    On branch master\\n    \\n    Initial commit\\n    \\n    Untracked files:\\n      (use \"git add &lt;file&gt;...\" to include in what will be committed)\\n    \\n            test\\n\\n    nothing added to commit but untracked files present (use \"git add\" to track)\\n\\nI can\\'t figure out why this is happening.  Linux box is Debian (stable), Git v.2.1.4; El Capitan is Git v. 2.6.2 (latest).', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 5, 'created_utc': 1448995331}"}
{"id":"2055440","text":"Title: when do i use redux\nThe text below was posted in an online community called reactjs in the year 2021:\n\ni know it's a dumb question but please i need a clear idea on when to use redux ... i learned about it a little bit but i still can't figure why would i use it and what it should replace if i use it.\n\nany projects or ideas where you used redux would be appreciated .","meta":"{'source': 'reddit_posts', 'id': 'ql3br1', 'title': 'when do i use redux', 'author': 'arthur_mn', 'subreddit': 'reactjs', 'subreddit_id': '2zldd', 'body': \"i know it's a dumb question but please i need a clear idea on when to use redux ... i learned about it a little bit but i still can't figure why would i use it and what it should replace if i use it.\\n\\nany projects or ideas where you used redux would be appreciated .\", 'body_is_trimmed': False, 'score': 94, 'over_18': False, 'num_comments': 75, 'created_utc': 1635856918}"}
{"id":"1071652","text":"Title: Disable touchpad delay while typing\nThe text below was posted in an online community called Windows10 in the year 2017:\n\nI have a fairly a new HP computer. I'm trying to figure out how to enable the touchpad completely while using the keyboard\/typing. The touchpad is Synaptics.\n\nI have seen and tried a number of different solutions but they either haven't worked or aren't available as options for me.\n\nI've gone to the touchpad settings and switched it to \"No delay (always on)\" and while that has fixed the issue of not being able to click while typing, it hasn't done anything for moving the pointer. I've gone through the Mouse Properties settings and switched \"SmartSense\" completely off but that hasn't gotten rid of the issue. I've seen people mention \"PalmCheck\" and \"TouchCheck\" but neither one shows up where they say and doing a search of the computer doesn't bring up any results for either. I've also gone through the Registry Editor to a couple of different places to change some values of certain settings there but those weren't where the instructions claimed they would be either and a search of the Registry for the entries also yielded no results.\n\nIs there anything else it might be? My last computer was a Samsung using Windows 7 and I recall having this issue. I remember fixing that one because someone had made a Registry entry (TouchWhileTypeFix_Samsung Series 7) that I downloaded and it fixed the problem but I highly doubt it will work on Windows 10 and I haven't seen anything similar for Windows 10.","meta":"{'source': 'reddit_posts', 'id': '6hlbbq', 'title': 'Disable touchpad delay while typing', 'author': 'Mccool37', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': 'I have a fairly a new HP computer. I\\'m trying to figure out how to enable the touchpad completely while using the keyboard\/typing. The touchpad is Synaptics.\\n\\nI have seen and tried a number of different solutions but they either haven\\'t worked or aren\\'t available as options for me.\\n\\nI\\'ve gone to the touchpad settings and switched it to \"No delay (always on)\" and while that has fixed the issue of not being able to click while typing, it hasn\\'t done anything for moving the pointer. I\\'ve gone through the Mouse Properties settings and switched \"SmartSense\" completely off but that hasn\\'t gotten rid of the issue. I\\'ve seen people mention \"PalmCheck\" and \"TouchCheck\" but neither one shows up where they say and doing a search of the computer doesn\\'t bring up any results for either. I\\'ve also gone through the Registry Editor to a couple of different places to change some values of certain settings there but those weren\\'t where the instructions claimed they would be either and a search of the Registry for the entries also yielded no results.\\n\\nIs there anything else it might be? My last computer was a Samsung using Windows 7 and I recall having this issue. I remember fixing that one because someone had made a Registry entry (TouchWhileTypeFix_Samsung Series 7) that I downloaded and it fixed the problem but I highly doubt it will work on Windows 10 and I haven\\'t seen anything similar for Windows 10.', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 3, 'created_utc': 1497602569}"}
{"id":"1937196","text":"Title: Better way to store and reference shell history (with tmux)?\nThe text below was posted in an online community called linuxquestions in the year 2021:\n\nI don't know much about how Linux handle shell history, but as a tmux user I do know that sometimes I don't see all other tmux windows' history in any tmux window.\n\nIt can be a little annoying when I'm looking through history. Is there any way to configure history to be a little bit better in this situation? Or maybe some other product that people use for smarter history?\n\nThanks in advance!","meta":"{'source': 'reddit_posts', 'id': 'mmd4zx', 'title': 'Better way to store and reference shell history (with tmux)?', 'author': 'chillysurfer', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': \"I don't know much about how Linux handle shell history, but as a tmux user I do know that sometimes I don't see all other tmux windows' history in any tmux window.\\n\\nIt can be a little annoying when I'm looking through history. Is there any way to configure history to be a little bit better in this situation? Or maybe some other product that people use for smarter history?\\n\\nThanks in advance!\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 6, 'created_utc': 1617832950}"}
{"id":"702213","text":"Title: How to handle an automatic collection of Google Street view images along a predefined route?\nThe text below was posted in an online community called learnprogramming in the year 2010:\n\nSo I've seen a few videos like: http:\/\/www.youtube.com\/watch?v=5JM1MeQ7K1A and wondered how would \/r\/programming or \/r\/learnprogramming go about collecting these street view images automatically using some sort of scripting language to make a time-lapse video? Are there any bits of code which could assist in this? I tried Github but couldn't find much.\n\nI understand it's possible to set up automatic screen capturing software and manually go through a route of your choice - but this could take ages.\n\nHow about figuring out how one street view area differs from the next area (next area meaning when you click an arrow) - then using the knowledge of how the URL and its parameters are changing to find a pattern, then loop through URL's corresponding to a route, fetch the associated street view image (maybe through their API?) and save into a file. Then most video editing software should be able to take in a sequence of images and output a video from them?\n\nThere may be some issue with Google's terms of service by actually implementing this.","meta":"{'source': 'reddit_posts', 'id': 'ebvk9', 'title': 'How to handle an automatic collection of Google Street view images along a predefined route?', 'author': '420Land', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': \"So I've seen a few videos like: http:\/\/www.youtube.com\/watch?v=5JM1MeQ7K1A and wondered how would \/r\/programming or \/r\/learnprogramming go about collecting these street view images automatically using some sort of scripting language to make a time-lapse video? Are there any bits of code which could assist in this? I tried Github but couldn't find much.\\n\\nI understand it's possible to set up automatic screen capturing software and manually go through a route of your choice - but this could take ages.\\n\\nHow about figuring out how one street view area differs from the next area (next area meaning when you click an arrow) - then using the knowledge of how the URL and its parameters are changing to find a pattern, then loop through URL's corresponding to a route, fetch the associated street view image (maybe through their API?) and save into a file. Then most video editing software should be able to take in a sequence of images and output a video from them?\\n\\nThere may be some issue with Google's terms of service by actually implementing this.\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 2, 'created_utc': 1290740245}"}
{"id":"795948","text":"Title: Best sites to get my Java chops back\nThe text below was posted in an online community called learnprogramming in the year 2020:\n\nIm currently transitioning from a position as a platform engineer\/operator to a software engineer. I havent been coding at all in my free time and my previous position wasnt as involved with coding as much as I wouldve liked, so I wasnt doing much of it there either. My background is in coding and development, as thats what I studied in school, so I dont need full on beginner exercises, just things to job my memory a little bit. What are the best sites to do this?","meta":"{'source': 'reddit_posts', 'id': 'hei368', 'title': 'Best sites to get my Java chops back', 'author': 'Black-Bruce-Wayne', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'Im currently transitioning from a position as a platform engineer\/operator to a software engineer. I havent been coding at all in my free time and my previous position wasnt as involved with coding as much as I wouldve liked, so I wasnt doing much of it there either. My background is in coding and development, as thats what I studied in school, so I dont need full on beginner exercises, just things to job my memory a little bit. What are the best sites to do this?', 'body_is_trimmed': False, 'score': 11, 'over_18': False, 'num_comments': 3, 'created_utc': 1592930693}"}
{"id":"162753","text":"Title: How are linux commands composed?\nThe text below was posted in an online community called linuxquestions in the year 2019:\n\nI'm making a mockup shell and would like to know how the commands are composed. Because they have such different arguments, some take in paths, some take in strings, I have no idea how to go about making the structure. So far I've just chopped the user string with \"\/\" and \" \", but it's not very versatile.\n\nDo you have any suggestions, information that would help me?\n\nThanks :)","meta":"{'source': 'reddit_posts', 'id': 'bb6g09', 'title': 'How are linux commands composed?', 'author': 'henryreign', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': 'I\\'m making a mockup shell and would like to know how the commands are composed. Because they have such different arguments, some take in paths, some take in strings, I have no idea how to go about making the structure. So far I\\'ve just chopped the user string with \"\/\" and \" \", but it\\'s not very versatile.\\n\\nDo you have any suggestions, information that would help me?\\n\\nThanks :)', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 5, 'created_utc': 1554806960}"}
{"id":"398044","text":"Title: [Feature] New watchOS charging animation!\nThe text below was posted in an online community called iOSBeta in the year 2018:\n\nNew watchOS 4.3 beta adds new charging animation. Also, new version of nightstand mode made for vertical screen\nhttps:\/\/twitter.com\/maksplus15\/status\/956636829083668480","meta":"{'source': 'reddit_posts', 'id': '7szwo7', 'title': '[Feature] New watchOS charging animation!', 'author': 'maksplus', 'subreddit': 'iOSBeta', 'subreddit_id': '2sjys', 'body': 'New watchOS 4.3 beta adds new charging animation. Also, new version of nightstand mode made for vertical screen\\nhttps:\/\/twitter.com\/maksplus15\/status\/956636829083668480', 'body_is_trimmed': False, 'score': 106, 'over_18': False, 'num_comments': 21, 'created_utc': 1516918863}"}
{"id":"592354","text":"Title: Field of CS where you get involved with the more complicated stuff\nThe text below was posted in an online community called cscareerquestions in the year 2016:\n\nSo I'm currently in college, working full time at a company that develops a web application. I've learned alot about programming by working that job while in college, one of which is that CRUD applications are SO BORING. don't get me wrong, its not always a cake walk, we have our issues with hidden bugs, synchronization problems, etc, etc. But 90% of the time I'm just writing an inbetween to the database to perform CRUD operations... \n\nI became a programmer because I love problem solving, critical thinking, and the deep inner workings of software. What are some fields of computer science that would satisfy these cravings? because Web App development isn't doing it for me...","meta":"{'source': 'reddit_posts', 'id': '4zlare', 'title': 'Field of CS where you get involved with the more complicated stuff', 'author': 'livingcode', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"So I'm currently in college, working full time at a company that develops a web application. I've learned alot about programming by working that job while in college, one of which is that CRUD applications are SO BORING. don't get me wrong, its not always a cake walk, we have our issues with hidden bugs, synchronization problems, etc, etc. But 90% of the time I'm just writing an inbetween to the database to perform CRUD operations... \\n\\nI became a programmer because I love problem solving, critical thinking, and the deep inner workings of software. What are some fields of computer science that would satisfy these cravings? because Web App development isn't doing it for me...\", 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 12, 'created_utc': 1472164530}"}
{"id":"956653","text":"Title: [ask] Is it possible to have rust-analyser show errors\/lint in realtime?\nThe text below was posted in an online community called rust in the year 2020:\n\nCurrently it only seems to run rust check or whatever when you save a file, unlike the standard Rust extension. \n\nIs there some way to get all of the benefits of RA but with with realtime checking?","meta":"{'source': 'reddit_posts', 'id': 'ix0g1g', 'title': '[ask] Is it possible to have rust-analyser show errors\/lint in realtime?', 'author': 'haywire', 'subreddit': 'rust', 'subreddit_id': '2s7lj', 'body': 'Currently it only seems to run rust check or whatever when you save a file, unlike the standard Rust extension. \\n\\nIs there some way to get all of the benefits of RA but with with realtime checking?', 'body_is_trimmed': False, 'score': 16, 'over_18': False, 'num_comments': 5, 'created_utc': 1600695043}"}
{"id":"87861","text":"Title: Velo SDWAN Throughput licencing\nThe text below was posted in an online community called networking in the year 2020:\n\nNot sure if you guys have faced this but I am not sure how to best explain Velo Throughput licencing model to the Enterprise customers? \nI am trying to propose a VeloCloud Cloud Gateway throughput license of 10 Mbps to a customer. The customer pushes back on this saying they have underlay of 50 Mbps so will this licencing model cap me at 10 Mbps. They do understand that we are talking average throughputs of 10 Mbps and few peaks are fine.","meta":"{'source': 'reddit_posts', 'id': 'fws2xq', 'title': 'Velo SDWAN Throughput licencing', 'author': 'deepak0220', 'subreddit': 'networking', 'subreddit_id': '2qkaf', 'body': 'Not sure if you guys have faced this but I am not sure how to best explain Velo Throughput licencing model to the Enterprise customers? \\nI am trying to propose a VeloCloud Cloud Gateway throughput license of 10 Mbps to a customer. The customer pushes back on this saying they have underlay of 50 Mbps so will this licencing model cap me at 10 Mbps. They do understand that we are talking average throughputs of 10 Mbps and few peaks are fine.', 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 9, 'created_utc': 1586291475}"}
{"id":"1686193","text":"Title: how to not destroy me arduino?\nThe text below was posted in an online community called arduino in the year 2013:\n\nI ordered an arduino uno R3 and i do not no much about electronics. i am basically super worried i am going to break it. anyone have some basic do not do scenarios so i can avoid this?","meta":"{'source': 'reddit_posts', 'id': '1ebsqf', 'title': 'how to not destroy me arduino?', 'author': 'deathofcake', 'subreddit': 'arduino', 'subreddit_id': '2qknj', 'body': 'I ordered an arduino uno R3 and i do not no much about electronics. i am basically super worried i am going to break it. anyone have some basic do not do scenarios so i can avoid this?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 13, 'created_utc': 1368554048}"}
{"id":"546934","text":"Title: Google Calculator Clone for Windows\nThe text below was posted in an online community called dotnet in the year 2021:\n\nI have created a mostly functional clone of the original Google Calculator App(on android)  to the Windows Platform using **dotnet , Join me for more improvements on this :**\n\nGitHub link:  [https:\/\/github.com\/SATYAJIT1910\/AndroCalculator](https:\/\/github.com\/SATYAJIT1910\/AndroCalculator) \n\np.s. I am a newbie, so please do help me.\n\n[AndroCalculator on Windows](https:\/\/preview.redd.it\/j0im30f6nzp61.png?width=1068&amp;format=png&amp;auto=webp&amp;s=07cf6bb81427ca24999989cc32f617deb27416fc)","meta":"{'source': 'reddit_posts', 'id': 'mfshat', 'title': 'Google Calculator Clone for Windows', 'author': 'Satyajit1910', 'subreddit': 'dotnet', 'subreddit_id': '2qh3h', 'body': 'I have created a mostly functional clone of the original Google Calculator App(on android)  to the Windows Platform using **dotnet , Join me for more improvements on this :**\\n\\nGitHub link:  [https:\/\/github.com\/SATYAJIT1910\/AndroCalculator](https:\/\/github.com\/SATYAJIT1910\/AndroCalculator) \\n\\np.s. I am a newbie, so please do help me.\\n\\n[AndroCalculator on Windows](https:\/\/preview.redd.it\/j0im30f6nzp61.png?width=1068&amp;format=png&amp;auto=webp&amp;s=07cf6bb81427ca24999989cc32f617deb27416fc)', 'body_is_trimmed': False, 'score': 13, 'over_18': False, 'num_comments': 4, 'created_utc': 1617032949}"}
{"id":"1547995","text":"Title: How much time do you manage to devote to learning and how much does it accomplish?\nThe text below was posted in an online community called cscareerquestions in the year 2018:\n\nI realise that for a lot of people the answer is that they don't do much outside of work, and it is a position I am beginning to understand more and more as I am breaking down how much free time I will end up having when I start working in the fall (especially considering my contract says 45hrs a week plus 1hr lunch per day, so 50hrs a week really :\/ ). But on the other hand I feel that as I will get older, finding time to devote for learning is just going to get more difficult, so now is the best time to do as much extra learning as I can to kickstart my career.\n\nSpecifically in my case, I was left rather dissatisfied with my CS degree, as there are a number of important core CS topics that I feel like I have a poor understanding of. I would like to do my best to plug the most significant holes in my education while I still can.\n\nBut as I mentioned before, time seems to be against me, and I would like to avoid burnout. Learning every thing I would like to learn is just not going to happen, so I need to manage both my time and expectations well. What I want to know, is for those of you who do manage to spend some of your free time developing their professional skills (be that core CS topics, new languages\/frameworks, books on good software engineering practices, personal projects etc.), how much time do you manage to devote to that in an average week, and how much do those hours end up accomplishing?","meta":"{'source': 'reddit_posts', 'id': '92oprt', 'title': 'How much time do you manage to devote to learning and how much does it accomplish?', 'author': 'wants_to_learn_more', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"I realise that for a lot of people the answer is that they don't do much outside of work, and it is a position I am beginning to understand more and more as I am breaking down how much free time I will end up having when I start working in the fall (especially considering my contract says 45hrs a week plus 1hr lunch per day, so 50hrs a week really :\/ ). But on the other hand I feel that as I will get older, finding time to devote for learning is just going to get more difficult, so now is the best time to do as much extra learning as I can to kickstart my career.\\n\\nSpecifically in my case, I was left rather dissatisfied with my CS degree, as there are a number of important core CS topics that I feel like I have a poor understanding of. I would like to do my best to plug the most significant holes in my education while I still can.\\n\\nBut as I mentioned before, time seems to be against me, and I would like to avoid burnout. Learning every thing I would like to learn is just not going to happen, so I need to manage both my time and expectations well. What I want to know, is for those of you who do manage to spend some of your free time developing their professional skills (be that core CS topics, new languages\/frameworks, books on good software engineering practices, personal projects etc.), how much time do you manage to devote to that in an average week, and how much do those hours end up accomplishing?\", 'body_is_trimmed': False, 'score': 25, 'over_18': False, 'num_comments': 30, 'created_utc': 1532805961}"}
{"id":"940714","text":"Title: Old computer with no internet\nThe text below was posted in an online community called linux4noobs in the year 2020:\n\nSo I have an old computer with no internet and I'm looking for a lightweight Linux distro that prioritizes having no internet. I would use endless, but I don't have a flash drive with enough storage for it. What is a good alternative to endless?","meta":"{'source': 'reddit_posts', 'id': 'fjozo1', 'title': 'Old computer with no internet', 'author': 'BupBoi64', 'subreddit': 'linux4noobs', 'subreddit_id': '2qy7t', 'body': \"So I have an old computer with no internet and I'm looking for a lightweight Linux distro that prioritizes having no internet. I would use endless, but I don't have a flash drive with enough storage for it. What is a good alternative to endless?\", 'body_is_trimmed': False, 'score': 23, 'over_18': False, 'num_comments': 11, 'created_utc': 1584380701}"}
{"id":"1831349","text":"Title: Imagus works well except when viewing image file\nThe text below was posted in an online community called chrome in the year 2014:\n\nSo the zoom works well. When I click on the picture to view the native image, Chrome goes to it (e.g. http:\/\/www.website.com\/image.jpg) but displays nothing. Any ideas? Using default settings for the Imagus extension.","meta":"{'source': 'reddit_posts', 'id': '1w7akk', 'title': 'Imagus works well except when viewing image file', 'author': 'scottymtp', 'subreddit': 'chrome', 'subreddit_id': '2qlz9', 'body': 'So the zoom works well. When I click on the picture to view the native image, Chrome goes to it (e.g. http:\/\/www.website.com\/image.jpg) but displays nothing. Any ideas? Using default settings for the Imagus extension.', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 7, 'created_utc': '1390755705'}"}
{"id":"174501","text":"Title: Resource to find physical CS summer courses\/camps\nThe text below was posted in an online community called learnprogramming in the year 2017:\n\nHey all, student up here in Bay Area CA wrapping up my degree at a state school. Long story short I finally have a free summer and really want to explore new technologies. I've spent plenty of time on Udemy and Code Academy but I really want to take it up a notch. I want a physically immersive experience whether it be a conventional lecture or some kind of coding camp I just want to surround myself with programmers this summer to learn something new. \n\nI've checked at my local universities and they have quite a limited (and boring) selection of summer courses. I've also tried to find camps but unfortunately they all seem to be for 18 and under. \n\nI've got a few big hackathons coming in the fall and really want to keep taking physical courses during the summer.\n\nTo those who are professionals (or not) and have taken some kind of summer course\/workshop, how did you find it?\n\nI'm itching to learn something new without locking myself in my room all summer (which I will end up doing either way).\n\nAny resources for physical courses\/workshops\/camps for adults? Even if it isn't in the Bay Area, it might help someone else out.","meta":"{'source': 'reddit_posts', 'id': '67z96f', 'title': 'Resource to find physical CS summer courses\/camps', 'author': 'FrenchFruits', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': \"Hey all, student up here in Bay Area CA wrapping up my degree at a state school. Long story short I finally have a free summer and really want to explore new technologies. I've spent plenty of time on Udemy and Code Academy but I really want to take it up a notch. I want a physically immersive experience whether it be a conventional lecture or some kind of coding camp I just want to surround myself with programmers this summer to learn something new. \\n\\nI've checked at my local universities and they have quite a limited (and boring) selection of summer courses. I've also tried to find camps but unfortunately they all seem to be for 18 and under. \\n\\nI've got a few big hackathons coming in the fall and really want to keep taking physical courses during the summer.\\n\\nTo those who are professionals (or not) and have taken some kind of summer course\/workshop, how did you find it?\\n\\nI'm itching to learn something new without locking myself in my room all summer (which I will end up doing either way).\\n\\nAny resources for physical courses\/workshops\/camps for adults? Even if it isn't in the Bay Area, it might help someone else out.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1493333915}"}
{"id":"1237671","text":"Title: Mac Book Pro or Dell XPS or Alternative?\nThe text below was posted in an online community called webdev in the year 2017:\n\nHey it's time for a new laptop, Ive had an ASUS Gaming Laptop since 2011 and its time for a change.\n\nI am a free lance web designer and just started to take CS50 to dive deeper into my hobby. I landed a few random jobs here ans there for local small businesses and everyday i'm growing and learning new things.\n\nBack in the day if you had a MBP than people would look at you and think you don't know anything.. Apparently nowadays every developer I see has a MBP.\n\nTheres plenty of windows fan boys out there but I want to know whats the root of their decision to stick with windows? Does it simply come down to the price?\n\nPretty much I have a 3k budget and my boss is buying it for me because he wants me to take my hobby more seriously and wants me to quite my job and follow my passion. ( he is a great guy )\n\nWhat i'm getting at right now is that the MBP can run Linux flawlessly and Run Windows very well. So pretty much the MBP can do anything a Windows machine can do buut a windows laptop cant do everything a MBP can do?\n\nIm still researching on my own but theirs just soo much biased information out there. Just wanted to see what the community thinks.\n\nIts probably going to last me 5 years before I get a new one..","meta":"{'source': 'reddit_posts', 'id': '613k6i', 'title': 'Mac Book Pro or Dell XPS or Alternative?', 'author': 'Jwin970', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': \"Hey it's time for a new laptop, Ive had an ASUS Gaming Laptop since 2011 and its time for a change.\\n\\nI am a free lance web designer and just started to take CS50 to dive deeper into my hobby. I landed a few random jobs here ans there for local small businesses and everyday i'm growing and learning new things.\\n\\nBack in the day if you had a MBP than people would look at you and think you don't know anything.. Apparently nowadays every developer I see has a MBP.\\n\\nTheres plenty of windows fan boys out there but I want to know whats the root of their decision to stick with windows? Does it simply come down to the price?\\n\\nPretty much I have a 3k budget and my boss is buying it for me because he wants me to take my hobby more seriously and wants me to quite my job and follow my passion. ( he is a great guy )\\n\\nWhat i'm getting at right now is that the MBP can run Linux flawlessly and Run Windows very well. So pretty much the MBP can do anything a Windows machine can do buut a windows laptop cant do everything a MBP can do?\\n\\nIm still researching on my own but theirs just soo much biased information out there. Just wanted to see what the community thinks.\\n\\nIts probably going to last me 5 years before I get a new one..\", 'body_is_trimmed': False, 'score': 13, 'over_18': False, 'num_comments': 86, 'created_utc': 1490292864}"}
{"id":"155316","text":"Title: nginx-proxy - password protect single directory\nThe text below was posted in an online community called docker in the year 2021:\n\nDocker newbie alert!\n\nI am testing [nginx-proxy](https:\/\/github.com\/nginx-proxy\/nginx-proxy) in front of a few nginx containers.\n\nI need to password protect a single directory in one of the nginx containers.\n\nI have tried to follow the instructions [here](https:\/\/github.com\/nginx-proxy\/nginx-proxy#per-virtual_host) and have successfully mounted the htpasswd file in the container filesystem, but I cannot seem to get the required code block to the nginx conf running in the docker container.\n\ne.g.\n\n`location \/linux\/ {`  \n`auth_basic \"Restricted\";`  \n`auth_basic_user_file \/etc\/nginx\/htpasswd\/linux;`  \n`}`\n\nCan anyone help please?\n\nThanks :-)","meta":"{'source': 'reddit_posts', 'id': 'mapybv', 'title': 'nginx-proxy - password protect single directory', 'author': 'Paully-Penguin-Geek', 'subreddit': 'docker', 'subreddit_id': '2y00f', 'body': 'Docker newbie alert!\\n\\nI am testing [nginx-proxy](https:\/\/github.com\/nginx-proxy\/nginx-proxy) in front of a few nginx containers.\\n\\nI need to password protect a single directory in one of the nginx containers.\\n\\nI have tried to follow the instructions [here](https:\/\/github.com\/nginx-proxy\/nginx-proxy#per-virtual_host) and have successfully mounted the htpasswd file in the container filesystem, but I cannot seem to get the required code block to the nginx conf running in the docker container.\\n\\ne.g.\\n\\n`location \/linux\/ {`  \\n`auth_basic \"Restricted\";`  \\n`auth_basic_user_file \/etc\/nginx\/htpasswd\/linux;`  \\n`}`\\n\\nCan anyone help please?\\n\\nThanks :-)', 'body_is_trimmed': False, 'score': 17, 'over_18': False, 'num_comments': 6, 'created_utc': 1616426121}"}
{"id":"2237723","text":"Title: Im a ML engineer\/Data scientist currently in USA. Is a Germany Job seeker visa =&gt; EU blue card =&gt; EU permanent residency a sensible leap of faith?\nThe text below was posted in an online community called cscareerquestionsEU in the year 2018:\n\nIm a non EU citizen currently in Silicon Valley on work visa. Trump, his trade war, and all the immigration uncertainty is driving me crazy.\n\nI know that moving to Europe means a massive pay cut but Im OK with it for my own sanity. I also want to live in a developed country where I can be proud of myself for paying taxes there, and supporting my host nation with all my heart and soul. I cannot in good conscience keep paying federal taxes here knowing that it will be used for bad things (Seriously, not kidding. I get anxiety\/mild depression attacks)\n\nHow do I start? Can I just leave USA, land in Germany on a 6 month job seeker visa, and hope I will find a job\/immigration will go smoothly? Once I leave there would be no way to come back.\n\nI have a masters in engineering (UC Berkeley) and 5 years of relevant experience. I want to keep working in ML\/DS. Is the job market friendly to someone like me? Usually I only come across posts discussing full stack\/frontend\/java kind of jobs.\n\nI dont speak German but Im good with languages (I speak 6) and will probably get to B1 proficiency in 21 months to be eligible for Permanent residency, assuming that I find a blue card sponsor. \n\nFinally how hard is it to get funded on a slide deck for startup ideas? This is pretty common where I am coming from (Silicon Valley) but wanted a reality check for rest of the developed world. Eventually I want to start a tech related business.","meta":"{'source': 'reddit_posts', 'id': '8wxbgv', 'title': 'Im a ML engineer\/Data scientist currently in USA. Is a Germany Job seeker visa =&gt; EU blue card =&gt; EU permanent residency a sensible leap of faith?', 'author': 'uncle_irohh', 'subreddit': 'cscareerquestionsEU', 'subreddit_id': '3j6s1', 'body': 'Im a non EU citizen currently in Silicon Valley on work visa. Trump, his trade war, and all the immigration uncertainty is driving me crazy.\\n\\nI know that moving to Europe means a massive pay cut but Im OK with it for my own sanity. I also want to live in a developed country where I can be proud of myself for paying taxes there, and supporting my host nation with all my heart and soul. I cannot in good conscience keep paying federal taxes here knowing that it will be used for bad things (Seriously, not kidding. I get anxiety\/mild depression attacks)\\n\\nHow do I start? Can I just leave USA, land in Germany on a 6 month job seeker visa, and hope I will find a job\/immigration will go smoothly? Once I leave there would be no way to come back.\\n\\nI have a masters in engineering (UC Berkeley) and 5 years of relevant experience. I want to keep working in ML\/DS. Is the job market friendly to someone like me? Usually I only come across posts discussing full stack\/frontend\/java kind of jobs.\\n\\nI dont speak German but Im good with languages (I speak 6) and will probably get to B1 proficiency in 21 months to be eligible for Permanent residency, assuming that I find a blue card sponsor. \\n\\nFinally how hard is it to get funded on a slide deck for startup ideas? This is pretty common where I am coming from (Silicon Valley) but wanted a reality check for rest of the developed world. Eventually I want to start a tech related business.', 'body_is_trimmed': False, 'score': 15, 'over_18': False, 'num_comments': 24, 'created_utc': 1531006077}"}
{"id":"1060525","text":"Title: can i use ispunct() to count letters in a string?\nThe text below was posted in an online community called C_Programming in the year 2020:\n\ni'm sorry if this is a stupid question, i am a complete newbie and i'm currently trying to write a function that counts all letters in any given text\/string.\n\n&amp;#x200B;\n\nhttps:\/\/preview.redd.it\/scvpw0uf07l51.png?width=1802&amp;format=png&amp;auto=webp&amp;s=71befc2a687c6de00a9827aa5818d69e0eecf690\n\nas you can see, my code is getting quite lengthy and ugly as i type out all sorts of possible punctuation characters, so my program won't count them as letters.\n\ni saw that there's a function called ispunct() that can detect punctuation characters, now i was wondering if there was a way to implement that into my code so if the for loop detects a punctuation character it won't add it to my overall letter count?","meta":"{'source': 'reddit_posts', 'id': 'imnxhs', 'title': 'can i use ispunct() to count letters in a string?', 'author': 'fullstackbaby', 'subreddit': 'C_Programming', 'subreddit_id': '2qhoe', 'body': \"i'm sorry if this is a stupid question, i am a complete newbie and i'm currently trying to write a function that counts all letters in any given text\/string.\\n\\n&amp;#x200B;\\n\\nhttps:\/\/preview.redd.it\/scvpw0uf07l51.png?width=1802&amp;format=png&amp;auto=webp&amp;s=71befc2a687c6de00a9827aa5818d69e0eecf690\\n\\nas you can see, my code is getting quite lengthy and ugly as i type out all sorts of possible punctuation characters, so my program won't count them as letters.\\n\\ni saw that there's a function called ispunct() that can detect punctuation characters, now i was wondering if there was a way to implement that into my code so if the for loop detects a punctuation character it won't add it to my overall letter count?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 7, 'created_utc': 1599252276}"}
{"id":"814479","text":"Title: Novice interested in learning to code browser based programs, and learning about things like deep learning not sure where to start.\nThe text below was posted in an online community called learnprogramming in the year 2021:\n\nAs the title suggests really, Im interested in coding as a hobby, as Id like to learn about API and how websites talk to each other, as well as loftier concepts like machine learning and deep mind.\n\nI would also like to code things for browsers (like a rudimentary version of paint for example).\n\nAll for fun\/learning - any idea on where to start? Which language would be suitable?","meta":"{'source': 'reddit_posts', 'id': 'rea80y', 'title': 'Novice interested in learning to code browser based programs, and learning about things like deep learning not sure where to start.', 'author': 'JackDrawsStuff', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'As the title suggests really, Im interested in coding as a hobby, as Id like to learn about API and how websites talk to each other, as well as loftier concepts like machine learning and deep mind.\\n\\nI would also like to code things for browsers (like a rudimentary version of paint for example).\\n\\nAll for fun\/learning - any idea on where to start? Which language would be suitable?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 3, 'created_utc': 1639260986}"}
{"id":"2246759","text":"Title: Made a simple calculator GUI with appJar\nThe text below was posted in an online community called learnpython in the year 2018:\n\nI've been trying to get back into Python and spent a good part of the afternoon making this simple calculator. Would love some constructive criticism so I can refine my coding skills! Thanks for your time!     \n     \n     \nhttps:\/\/dpaste.de\/Zb09","meta":"{'source': 'reddit_posts', 'id': '8x65ap', 'title': 'Made a simple calculator GUI with appJar', 'author': 'aazel', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': \"I've been trying to get back into Python and spent a good part of the afternoon making this simple calculator. Would love some constructive criticism so I can refine my coding skills! Thanks for your time!     \\n     \\n     \\nhttps:\/\/dpaste.de\/Zb09\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 7, 'created_utc': 1531095252}"}
{"id":"1429376","text":"Title: Billing rights on AWS Organizations\nThe text below was posted in an online community called aws in the year 2022:\n\nI have a few AWS accounts &amp; these are all part of a single AWS organization account for consolidated billing. We have some users that are assigned the AWSBillingReadOnlyAccess policy so they only see billing data &amp; everything works great..\n\nMy problem is trying to go more granular with the billing - I have some users (eg team managers) that are now requesting the ability to only see billing data only for a specific OU (or set of accounts) via the master account. They should not be allowed to see billing data for the other accounts.\n\nI've tried all sorts of combinations for an IAM policy based on the billing portal \/ cost explorer and simply cannot get this to work, nor find anything out there giving examples of these types of rights for billing. Am I right in thinking this is simply not possible? Anyone out there using AWS organizations &amp; come across a similar scenario? How did you guys handle it?\n\nAny thoughts would be gladly appreciated!","meta":"{'source': 'reddit_posts', 'id': 't6m80i', 'title': 'Billing rights on AWS Organizations', 'author': 'Which-Sugar-2209', 'subreddit': 'aws', 'subreddit_id': '2qh84', 'body': \"I have a few AWS accounts &amp; these are all part of a single AWS organization account for consolidated billing. We have some users that are assigned the AWSBillingReadOnlyAccess policy so they only see billing data &amp; everything works great..\\n\\nMy problem is trying to go more granular with the billing - I have some users (eg team managers) that are now requesting the ability to only see billing data only for a specific OU (or set of accounts) via the master account. They should not be allowed to see billing data for the other accounts.\\n\\nI've tried all sorts of combinations for an IAM policy based on the billing portal \/ cost explorer and simply cannot get this to work, nor find anything out there giving examples of these types of rights for billing. Am I right in thinking this is simply not possible? Anyone out there using AWS organizations &amp; come across a similar scenario? How did you guys handle it?\\n\\nAny thoughts would be gladly appreciated!\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 4, 'created_utc': 1646409763}"}
{"id":"118223","text":"Title: Flask and ReactJS on one server, production build\nThe text below was posted in an online community called flask in the year 2021:\n\nHi, I have a flask API backend app and ReactJS frontend. If run it on my laptop in development mode I have 3000 a 5000 ports for them. And I wanted to ask if I would host Flask on VPS if it's going to take the whole IP address, so I won't be able to have ReactJS running in that VPS, or it would run both?\n\nI appreciate your help, (I have never done wsgi server deploy before)","meta":"{'source': 'reddit_posts', 'id': 'l7ze3a', 'title': 'Flask and ReactJS on one server, production build', 'author': 'Stranavad', 'subreddit': 'flask', 'subreddit_id': '2s1s3', 'body': \"Hi, I have a flask API backend app and ReactJS frontend. If run it on my laptop in development mode I have 3000 a 5000 ports for them. And I wanted to ask if I would host Flask on VPS if it's going to take the whole IP address, so I won't be able to have ReactJS running in that VPS, or it would run both?\\n\\nI appreciate your help, (I have never done wsgi server deploy before)\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 5, 'created_utc': 1611943434}"}
{"id":"1322398","text":"Title: IC progeamming clarification?\nThe text below was posted in an online community called learnprogramming in the year 2016:\n\nDoes an Arduino have to be programmed with the Arduino IDE or can it be programmed with another IDE? Can any microprocessor be programmed with any ide, or is it specific?","meta":"{'source': 'reddit_posts', 'id': '5glecu', 'title': 'IC progeamming clarification?', 'author': 'davemadgew', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'Does an Arduino have to be programmed with the Arduino IDE or can it be programmed with another IDE? Can any microprocessor be programmed with any ide, or is it specific?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 1, 'created_utc': 1480936594}"}
{"id":"2061856","text":"Title: ADM-3A keyboard as a model - anyone else remapped ESC to Shift-Lock?\nThe text below was posted in an online community called vim in the year 2012:\n\nAs can be seen, when vi was written on a [ADM-3A keyboard](http:\/\/xahlee.info\/kbd\/i\/vi\/terminal_ADM-3A_keyboard.jpg), the ESC key was within reach for a touch typist like me.\n\nYears ago, I remapped the ESC key to the Shift-Lock key which made a world of difference in my vi typing experience. I stopped doing that after a while since when on a different computer, it was very frustrating to unlearn. I used different computers a lot and remapping everything was simply not an option.\n\nNow, with dropbox, git etc., like discussed [here](http:\/\/www.reddit.com\/r\/vim\/comments\/11b42j\/syncing_vimrc_files_across_multiple_computers\/), I am thinking of picking this up again.\n\nAnyone who has done likewise and would like to share pros and cons?","meta":"{'source': 'reddit_posts', 'id': '129qbp', 'title': 'ADM-3A keyboard as a model - anyone else remapped ESC to Shift-Lock?', 'author': 'emk2203', 'subreddit': 'vim', 'subreddit_id': '2qhqx', 'body': 'As can be seen, when vi was written on a [ADM-3A keyboard](http:\/\/xahlee.info\/kbd\/i\/vi\/terminal_ADM-3A_keyboard.jpg), the ESC key was within reach for a touch typist like me.\\n\\nYears ago, I remapped the ESC key to the Shift-Lock key which made a world of difference in my vi typing experience. I stopped doing that after a while since when on a different computer, it was very frustrating to unlearn. I used different computers a lot and remapping everything was simply not an option.\\n\\nNow, with dropbox, git etc., like discussed [here](http:\/\/www.reddit.com\/r\/vim\/comments\/11b42j\/syncing_vimrc_files_across_multiple_computers\/), I am thinking of picking this up again.\\n\\nAnyone who has done likewise and would like to share pros and cons?', 'body_is_trimmed': False, 'score': 12, 'over_18': False, 'num_comments': 18, 'created_utc': 1351509751}"}
{"id":"1835075","text":"Title: 450 vs r9 m370x\nThe text below was posted in an online community called apple in the year 2016:\n\nDo you think the Radeon pro 450 will be any better than the current Mbp's gpu?","meta":"{'source': 'reddit_posts', 'id': '59r4db', 'title': '450 vs r9 m370x', 'author': 'jimbo7230', 'subreddit': 'apple', 'subreddit_id': '2qh1f', 'body': \"Do you think the Radeon pro 450 will be any better than the current Mbp's gpu?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1477609249}"}
{"id":"1509450","text":"Title: Resources to learn software engineering principles as a Data Scientist\nThe text below was posted in an online community called datascience in the year 2022:\n\nAs the title suggests, I am kind of sick of writing code on Jupyter notebooks so I was wondering if anyone here has any useful resources for key software engineering principles one should know as a Data Scientist. For example, assume that a newbie Data Scientist who has been used to writing code in Jupyter notebooks is now tasked with writing production level code that leverages modularization, containerization etc. Where does someone in that situation even start? Welp.","meta":"{'source': 'reddit_posts', 'id': 'y1tpqu', 'title': 'Resources to learn software engineering principles as a Data Scientist', 'author': 'amsr7691', 'subreddit': 'datascience', 'subreddit_id': '2sptq', 'body': 'As the title suggests, I am kind of sick of writing code on Jupyter notebooks so I was wondering if anyone here has any useful resources for key software engineering principles one should know as a Data Scientist. For example, assume that a newbie Data Scientist who has been used to writing code in Jupyter notebooks is now tasked with writing production level code that leverages modularization, containerization etc. Where does someone in that situation even start? Welp.', 'body_is_trimmed': False, 'score': 155, 'over_18': False, 'num_comments': 27, 'created_utc': 1665547744}"}
{"id":"32078","text":"Title: New to FAANG. Feeling exhausted.\nThe text below was posted in an online community called cscareerquestionsEU in the year 2022:\n\nHi,\n\nI am working at a FAANG(Rainforest) in Berlin. I joined the team in Nov last year. Overall it's an okay team. My manager is good I think. But I am feeling exhausted by it. \n\nEven within the org they are on a pretty outdated stack. There are no plans to modernise and most of the updates we are doing is because they are being forced by other teams via deadlines.\n\nMoreover I don't feel like it's a team. This maybe due to covid. But everyone has their own project. Everyone is making a doc to explain what they'll be building for the next 3 months almost. Moreover there's a lot of parallel WIP that is interdependent. I don't like this or enjoy this type of work. It feels like building on air.\n\nI am finding this extremely overwhelming and stressful. When I joined I assumed that this was just \"growing pains\" because I've never worked at an established company before. However I have 0 motivation in this team right now.\n\nI'm thinking about looking for new jobs or new roles within the company. I don't want to change the company right away since I believe a recession is coming and I am past my probationary period here.  I wanna bring this up with my manager but I'm not sure if I should.\n\nSo my dearest reddit, what shall I do? Should I talk to my manager about this? How do I ensure that the next switch is a good one? Am I just lazy?\n\nFYI I'm a Mid-level dev with close to 8 yrs of exp now and I feel like I want to settle down in a team were I can stay and work for a while and learn and level up. That was part of the reason to switch to a FAANG so I could up my skillset but I feel like I'm just stuck in the dumps here. \n\nOr maybe I'm just no good enough and should go open a diary farm or something! Probably too dumb for that also.","meta":"{'source': 'reddit_posts', 'id': 'vgm8sc', 'title': 'New to FAANG. Feeling exhausted.', 'author': 'vedgabkcid', 'subreddit': 'cscareerquestionsEU', 'subreddit_id': '3j6s1', 'body': 'Hi,\\n\\nI am working at a FAANG(Rainforest) in Berlin. I joined the team in Nov last year. Overall it\\'s an okay team. My manager is good I think. But I am feeling exhausted by it. \\n\\nEven within the org they are on a pretty outdated stack. There are no plans to modernise and most of the updates we are doing is because they are being forced by other teams via deadlines.\\n\\nMoreover I don\\'t feel like it\\'s a team. This maybe due to covid. But everyone has their own project. Everyone is making a doc to explain what they\\'ll be building for the next 3 months almost. Moreover there\\'s a lot of parallel WIP that is interdependent. I don\\'t like this or enjoy this type of work. It feels like building on air.\\n\\nI am finding this extremely overwhelming and stressful. When I joined I assumed that this was just \"growing pains\" because I\\'ve never worked at an established company before. However I have 0 motivation in this team right now.\\n\\nI\\'m thinking about looking for new jobs or new roles within the company. I don\\'t want to change the company right away since I believe a recession is coming and I am past my probationary period here.  I wanna bring this up with my manager but I\\'m not sure if I should.\\n\\nSo my dearest reddit, what shall I do? Should I talk to my manager about this? How do I ensure that the next switch is a good one? Am I just lazy?\\n\\nFYI I\\'m a Mid-level dev with close to 8 yrs of exp now and I feel like I want to settle down in a team were I can stay and work for a while and learn and level up. That was part of the reason to switch to a FAANG so I could up my skillset but I feel like I\\'m just stuck in the dumps here. \\n\\nOr maybe I\\'m just no good enough and should go open a diary farm or something! Probably too dumb for that also.', 'body_is_trimmed': False, 'score': 87, 'over_18': False, 'num_comments': 18, 'created_utc': 1655733793}"}
{"id":"369311","text":"Title: Where to buy Android merchandise &amp; toys in a retail shop in London, UK?\nThe text below was posted in an online community called Android in the year 2011:\n\nHello, I will be in London for a few days soon and would like to purchase some Android merchandise in a retail shop that I can physically walk into (ebay and online shops are of no use). \n\nWould like to find the [collectables](http:\/\/i.imgur.com\/61aDY.jpg) but anything else will do: t-shirts or even Angry Birds plush toys...\n\nAnyone see anything of the sort in a shop?","meta":"{'source': 'reddit_posts', 'id': 'hp0c5', 'title': 'Where to buy Android merchandise &amp; toys in a retail shop in London, UK?', 'author': 'papasfritas', 'subreddit': 'Android', 'subreddit_id': '2qlqh', 'body': 'Hello, I will be in London for a few days soon and would like to purchase some Android merchandise in a retail shop that I can physically walk into (ebay and online shops are of no use). \\n\\nWould like to find the [collectables](http:\/\/i.imgur.com\/61aDY.jpg) but anything else will do: t-shirts or even Angry Birds plush toys...\\n\\nAnyone see anything of the sort in a shop?', 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 9, 'created_utc': 1306929822}"}
{"id":"37756","text":"Title: Need resources on system programming (UNIX)\nThe text below was posted in an online community called C_Programming in the year 2016:\n\nHey!\n\nI have been using C for quite a while now, and I want to learn something I always wanted to learn: system programming on UNIX.\nHowever, I can't manage to find good tutorials\/documentation on how tow work with PIDs, signals, etc.\n\nCould you help me and link me to some useful place? Thanks :D","meta":"{'source': 'reddit_posts', 'id': '45xzle', 'title': 'Need resources on system programming (UNIX)', 'author': 'The_Great_Doge', 'subreddit': 'C_Programming', 'subreddit_id': '2qhoe', 'body': \"Hey!\\n\\nI have been using C for quite a while now, and I want to learn something I always wanted to learn: system programming on UNIX.\\nHowever, I can't manage to find good tutorials\/documentation on how tow work with PIDs, signals, etc.\\n\\nCould you help me and link me to some useful place? Thanks :D\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 5, 'created_utc': 1455562159}"}
{"id":"19332","text":"Title: Is Making commercial 2D games feasible with in Lua\/Love2D?\nThe text below was posted in an online community called gamedev in the year 2019:\n\nAs the title reads: is Lua\/Love2D up to the task of creating commercial 2D games, that can be released on Steam\/Itch? Does anyone here have any experience with launching a game made with Lua\/Love2D?\n\nLua seems like a fun language to pick up and make some 2D games with. I'd just like to hear from the community before I go digging down this rabbit hole though. \n\nMost important requirements for me are:\n\n\\- support for custom openGL shaders\n\n\\- support for standard desktop resolutions (1080p)\n\n\\- support for rich audio (with special effects)\n\n\\- extensibility (can I write my own C++ lib and call it from Lua in my Love2D game?\n\nThanks in advance.","meta":"{'source': 'reddit_posts', 'id': 'crooof', 'title': 'Is Making commercial 2D games feasible with in Lua\/Love2D?', 'author': 'mindspyke', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': \"As the title reads: is Lua\/Love2D up to the task of creating commercial 2D games, that can be released on Steam\/Itch? Does anyone here have any experience with launching a game made with Lua\/Love2D?\\n\\nLua seems like a fun language to pick up and make some 2D games with. I'd just like to hear from the community before I go digging down this rabbit hole though. \\n\\nMost important requirements for me are:\\n\\n\\\\- support for custom openGL shaders\\n\\n\\\\- support for standard desktop resolutions (1080p)\\n\\n\\\\- support for rich audio (with special effects)\\n\\n\\\\- extensibility (can I write my own C++ lib and call it from Lua in my Love2D game?\\n\\nThanks in advance.\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 9, 'created_utc': 1566060868}"}
{"id":"1817029","text":"Title: (HELP) I've been without a working computer for a few years and I grew up using Macs. I would love to get back into recording and mixing music. What should I get?\nThe text below was posted in an online community called mac in the year 2016:\n\nI used to be really interested in getting a MBP due to bootcamp, but now as far as I can tell it's available in all Mac products?\n\nI've recorded music with my friends in the past (probably most recently in 2013, but going back to maybe 2010) on their desktops and have run into trouble numerous times with clipping and things not being able to chug along.\n\nI've always liked the MBP's but I also like iMac's, and the Mac Pros also interest me.\n\nI'm not exactly rich and I'm not even sure how I'd finance it....but given that I am a professional performing musician and want to self-record and mix, what would you suggest?\n\nAny and all help is appreciated. It's really been a while. \nAlso, if you could recommend some alternative recording software outside of garageband, even if it's windows based software, I'd really appreciate it.\n\n(I'd like to record and mix album-quality music, not just rough garageband demos, etc)\n\nThank you in advance!","meta":"{'source': 'reddit_posts', 'id': '4epgl6', 'title': \"(HELP) I've been without a working computer for a few years and I grew up using Macs. I would love to get back into recording and mixing music. What should I get?\", 'author': 'ilovecastlevania', 'subreddit': 'mac', 'subreddit_id': '2qh4u', 'body': \"I used to be really interested in getting a MBP due to bootcamp, but now as far as I can tell it's available in all Mac products?\\n\\nI've recorded music with my friends in the past (probably most recently in 2013, but going back to maybe 2010) on their desktops and have run into trouble numerous times with clipping and things not being able to chug along.\\n\\nI've always liked the MBP's but I also like iMac's, and the Mac Pros also interest me.\\n\\nI'm not exactly rich and I'm not even sure how I'd finance it....but given that I am a professional performing musician and want to self-record and mix, what would you suggest?\\n\\nAny and all help is appreciated. It's really been a while. \\nAlso, if you could recommend some alternative recording software outside of garageband, even if it's windows based software, I'd really appreciate it.\\n\\n(I'd like to record and mix album-quality music, not just rough garageband demos, etc)\\n\\nThank you in advance!\", 'body_is_trimmed': False, 'score': 10, 'over_18': False, 'num_comments': 7, 'created_utc': 1460606351}"}
{"id":"1985364","text":"Title: Can we agree that GDPR has been an utter failure\nThe text below was posted in an online community called webdev in the year 2019:\n\nSince GDPR came into affect I've used two websites which are compliant. Most websites pre-approve you and\/ or make it frustratingly difficult to opt out.\n\nGoogle Analytics has made no effort to be compliant, following their own definition of PII rather than the EUs, and offering no support to developers in the programmatic deletion of user data.\n\nAn industry has been created from GDPR. The startups are very smart, but not a single one I found was compliment. Some were charging 40 a month for something they claim would protect you from the law but in fact can't.\n\nAnd as a user it's seemingly impossible to report a GDPR violation. I'm still looking for the authority I should contact. Its quite obvious that the public don't even know what it is and quite honestly don't care.\n\nWe should do this properly or not at all, because it's damaging the Internet for little gain.","meta":"{'source': 'reddit_posts', 'id': 'cnjbsr', 'title': 'Can we agree that GDPR has been an utter failure', 'author': 'late_stage_childhood', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': \"Since GDPR came into affect I've used two websites which are compliant. Most websites pre-approve you and\/ or make it frustratingly difficult to opt out.\\n\\nGoogle Analytics has made no effort to be compliant, following their own definition of PII rather than the EUs, and offering no support to developers in the programmatic deletion of user data.\\n\\nAn industry has been created from GDPR. The startups are very smart, but not a single one I found was compliment. Some were charging 40 a month for something they claim would protect you from the law but in fact can't.\\n\\nAnd as a user it's seemingly impossible to report a GDPR violation. I'm still looking for the authority I should contact. Its quite obvious that the public don't even know what it is and quite honestly don't care.\\n\\nWe should do this properly or not at all, because it's damaging the Internet for little gain.\", 'body_is_trimmed': False, 'score': 19, 'over_18': False, 'num_comments': 35, 'created_utc': 1565256687}"}
{"id":"1194689","text":"Title: Started First Job ( Junior Developer ) Feeling Unsure !\nThe text below was posted in an online community called cscareerquestions in the year 2016:\n\nSo today was my second day at my new job in a Junior Developer position in a small team of 8. After having set up my workstation and  email accounts etc. A Intermediate Dev took me through some of their programs and I was really intimidated by the source . The things I studied didn't prepare me to jump into a solution that was already in place , yes sure I understood all the code that was written there but simply making altercations yet alone starting development on them left me sweating bullets. Is this the same for every College Grad coming into their first job or Am I not up to the task here? Would love to hear peoples first experience at their first development job too.","meta":"{'source': 'reddit_posts', 'id': '3zkq96', 'title': 'Started First Job ( Junior Developer ) Feeling Unsure !', 'author': 'biblethumps', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"So today was my second day at my new job in a Junior Developer position in a small team of 8. After having set up my workstation and  email accounts etc. A Intermediate Dev took me through some of their programs and I was really intimidated by the source . The things I studied didn't prepare me to jump into a solution that was already in place , yes sure I understood all the code that was written there but simply making altercations yet alone starting development on them left me sweating bullets. Is this the same for every College Grad coming into their first job or Am I not up to the task here? Would love to hear peoples first experience at their first development job too.\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 6, 'created_utc': 1452009449}"}
{"id":"2233252","text":"Title: Is there a way to turn the menu bar into one long scrolling stock ticker?\nThe text below was posted in an online community called MacOS in the year 2022:\n\nI would like to get rid of the time and everything on the right side of the menu bar and replace it with scrolling text, like a stock ticker or an RSS newsfeed. The app menu bar options on the left would need to stay, but I want whatever space remains to be only a scrolling stock ticker and nothing else.","meta":"{'source': 'reddit_posts', 'id': 'w6m0lw', 'title': 'Is there a way to turn the menu bar into one long scrolling stock ticker?', 'author': 'Intro24', 'subreddit': 'MacOS', 'subreddit_id': '2s2gv', 'body': 'I would like to get rid of the time and everything on the right side of the menu bar and replace it with scrolling text, like a stock ticker or an RSS newsfeed. The app menu bar options on the left would need to stay, but I want whatever space remains to be only a scrolling stock ticker and nothing else.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 4, 'created_utc': 1658633489}"}
{"id":"2019756","text":"Title: Good GRPC\/protobuf library?\nThe text below was posted in an online community called Clojure in the year 2022:\n\nI've tried protojure that compiles protobuf definitions straight into cljc, but it doesn't support optional proto3 fields, and the issue to support it has been around since 2020. clj-grpc, wrapping around Java classes, seems to be outdated, I had to patch it in a couple of places, but still it doesn't quite work, and I've not found why yet; besides it's missing a neat client implementation.\n\nAm I doomed to take the plunge and patch either of these to get a good looking Clojure GRPC server\/client implementation, or have I missed something?","meta":"{'source': 'reddit_posts', 'id': 'xbqwxc', 'title': 'Good GRPC\/protobuf library?', 'author': 'trueneu', 'subreddit': 'Clojure', 'subreddit_id': '2qkej', 'body': \"I've tried protojure that compiles protobuf definitions straight into cljc, but it doesn't support optional proto3 fields, and the issue to support it has been around since 2020. clj-grpc, wrapping around Java classes, seems to be outdated, I had to patch it in a couple of places, but still it doesn't quite work, and I've not found why yet; besides it's missing a neat client implementation.\\n\\nAm I doomed to take the plunge and patch either of these to get a good looking Clojure GRPC server\/client implementation, or have I missed something?\", 'body_is_trimmed': False, 'score': 15, 'over_18': False, 'num_comments': 6, 'created_utc': 1662923575}"}
{"id":"307784","text":"Title: Best way to implement high throughput HTTP API with limited resources\nThe text below was posted in an online community called learnprogramming in the year 2022:\n\nHey all, so I have a question regarding running an API on a machine with limited resources. \n\nThis api should run on a machine with 1cpu with around 512Mb of ram, and should support at least 1000 calls\/second. It will only have 2 endpoints doing some basic calculations on server side data. \n\nWhat would you use? Preferably in Go, Python or Java.","meta":"{'source': 'reddit_posts', 'id': 'skesos', 'title': 'Best way to implement high throughput HTTP API with limited resources', 'author': 'mslayaaa', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'Hey all, so I have a question regarding running an API on a machine with limited resources. \\n\\nThis api should run on a machine with 1cpu with around 512Mb of ram, and should support at least 1000 calls\/second. It will only have 2 endpoints doing some basic calculations on server side data. \\n\\nWhat would you use? Preferably in Go, Python or Java.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 3, 'created_utc': 1643985503}"}
{"id":"2191829","text":"Title: HTTP to HTTPS\nThe text below was posted in an online community called web_design in the year 2018:\n\nI'm considering adding an HTTPS certificate to my site.  However, I would need to change all links--including internal--to HTTPS.  Is there a way to do this globally, as I don't want to miss any on my large site?  I presently work with Sublime Text 3 but I could have done a global replace in Dreamweaver if I still used it.","meta":"{'source': 'reddit_posts', 'id': '7rrip4', 'title': 'HTTP to HTTPS', 'author': 'DennisJM', 'subreddit': 'web_design', 'subreddit_id': '2qh1m', 'body': \"I'm considering adding an HTTPS certificate to my site.  However, I would need to change all links--including internal--to HTTPS.  Is there a way to do this globally, as I don't want to miss any on my large site?  I presently work with Sublime Text 3 but I could have done a global replace in Dreamweaver if I still used it.\", 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 28, 'created_utc': 1516467469}"}
{"id":"1007476","text":"Title: Formatting a usb with LUKS on it?\nThe text below was posted in an online community called linuxquestions in the year 2021:\n\nEncrypted a USB persistence with LUKS. Lost the passphrase and just want to reformat the whole thing, but it wont let me. I dont care about the data, just want to be able to use the drive. Is it useless now?? Cant seem to find anything on this","meta":"{'source': 'reddit_posts', 'id': 'nj0q54', 'title': 'Formatting a usb with LUKS on it?', 'author': 'Winstonthewinstonian', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': 'Encrypted a USB persistence with LUKS. Lost the passphrase and just want to reformat the whole thing, but it wont let me. I dont care about the data, just want to be able to use the drive. Is it useless now?? Cant seem to find anything on this', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 4, 'created_utc': 1621747034}"}
{"id":"1071303","text":"Title: Who else experienced improvement on battery life after the Windows 10 AU?\nThe text below was posted in an online community called Windows10 in the year 2016:\n\nDespite the random freezes, I get every (f***ing) time in my Lenovo X230. I am really happy though with my PC regarding its battery life. Here is a [screenshot](http:\/\/imgur.com\/a\/DYOE4). While it reports 3:30 hours, my system can really hold 3 hours (and a couple of minutes) of charge just browsing with Chrome and have couple of programs open like foobar2000, Word. With Edge, I believe I can achieve greater battery economy. I have to test the system without any browser open. Prior the AU I was getting at best 2:00~2:30 hours of battery juice. I saw a similar scenario with my brother's laptop which is an X201. \n\n\nHere are my Laptop's specifications in case anyone is wondering:\n\nOperating System: Windows 10 Pro 64-bit\n\n*CPU: Intel Core i5 3320M @ 2.60GHz - Ivy Bridge 22nm Technology\n\n*RAM: 16.0GB Dual-Channel DDR3 (10-10-10-27)\n\n*Motherboard: LENOVO 2325A39 (CPU Socket - U3E1)\n\n*Graphics: Generic PnP Monitor (1366x768@60Hz) - Intel HD Graphics 4000 (Lenovo)\n\n*Storage: 223GB SanDisk SDSSDA240G (SSD)\n\n*Optical Drives: No optical disk drives detected\n\n*Audio: Realtek High Definition Audio\n\n\nDoes anyone have to report something similar? \n\nI saw a huge improvement on the Battery Life on my Windows Mobile phone as well. Do you saw an improvement in your Windows Mobile 10 instead? Join the discussion [here](https:\/\/redd.it\/50a51m)","meta":"{'source': 'reddit_posts', 'id': '50a7fb', 'title': 'Who else experienced improvement on battery life after the Windows 10 AU?', 'author': 'ioannisemmanou', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': \"Despite the random freezes, I get every (f***ing) time in my Lenovo X230. I am really happy though with my PC regarding its battery life. Here is a [screenshot](http:\/\/imgur.com\/a\/DYOE4). While it reports 3:30 hours, my system can really hold 3 hours (and a couple of minutes) of charge just browsing with Chrome and have couple of programs open like foobar2000, Word. With Edge, I believe I can achieve greater battery economy. I have to test the system without any browser open. Prior the AU I was getting at best 2:00~2:30 hours of battery juice. I saw a similar scenario with my brother's laptop which is an X201. \\n\\n\\nHere are my Laptop's specifications in case anyone is wondering:\\n\\nOperating System: Windows 10 Pro 64-bit\\n\\n*CPU: Intel Core i5 3320M @ 2.60GHz - Ivy Bridge 22nm Technology\\n\\n*RAM: 16.0GB Dual-Channel DDR3 (10-10-10-27)\\n\\n*Motherboard: LENOVO 2325A39 (CPU Socket - U3E1)\\n\\n*Graphics: Generic PnP Monitor (1366x768@60Hz) - Intel HD Graphics 4000 (Lenovo)\\n\\n*Storage: 223GB SanDisk SDSSDA240G (SSD)\\n\\n*Optical Drives: No optical disk drives detected\\n\\n*Audio: Realtek High Definition Audio\\n\\n\\nDoes anyone have to report something similar? \\n\\nI saw a huge improvement on the Battery Life on my Windows Mobile phone as well. Do you saw an improvement in your Windows Mobile 10 instead? Join the discussion [here](https:\/\/redd.it\/50a51m)\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1472548235}"}
{"id":"317706","text":"Title: Online PenTest practice Labs?\nThe text below was posted in an online community called AskNetsec in the year 2018:\n\nHi,\n\nCan someone recommend any free or affordable, commercial pentest labs that are fairly comprehensive, with a full-blown Windows AD environment (servers, clients), *nix systems, running vuln services, &amp; scenarios to work with..?\n\nThanks.\n\nEdit: Added 'affordable'.\n\nEdit: Adding all the recommendations for easy reference:\n\n*  Hackthebox.eu\n*  https:\/\/lab.pentestit.ru\n*  OSCP labs\n*  vulnhub\n*  webgoat (owasp)\n*  main.immersivelabs.online\n*  pentesterlab\n\nSome of the above are free, others commercial, and most of them are standalone exercises, i.e. not a full-blown environment..","meta":"{'source': 'reddit_posts', 'id': '8wmt7a', 'title': 'Online PenTest practice Labs?', 'author': 'X___III___X', 'subreddit': 'AskNetsec', 'subreddit_id': '2t3w8', 'body': \"Hi,\\n\\nCan someone recommend any free or affordable, commercial pentest labs that are fairly comprehensive, with a full-blown Windows AD environment (servers, clients), *nix systems, running vuln services, &amp; scenarios to work with..?\\n\\nThanks.\\n\\nEdit: Added 'affordable'.\\n\\nEdit: Adding all the recommendations for easy reference:\\n\\n*  Hackthebox.eu\\n*  https:\/\/lab.pentestit.ru\\n*  OSCP labs\\n*  vulnhub\\n*  webgoat (owasp)\\n*  main.immersivelabs.online\\n*  pentesterlab\\n\\nSome of the above are free, others commercial, and most of them are standalone exercises, i.e. not a full-blown environment..\", 'body_is_trimmed': False, 'score': 81, 'over_18': False, 'num_comments': 35, 'created_utc': 1530904281}"}
{"id":"866791","text":"Title: How to install Ubuntu GUI on Linux\/Ubuntu EC2?\nThe text below was posted in an online community called aws in the year 2017:\n\nI think I'm going to need a m4.large or m5.large for my use and I'm not sure what makes the [m4.large more expensive than the m5.large](https:\/\/www.ec2instances.info\/?cost_duration=monthly).\n\nHow do I install a Ubuntu GUI on a Linux instance so I don't have to pay double the cost for a Windows UI?","meta":"{'source': 'reddit_posts', 'id': '7la2pl', 'title': 'How to install Ubuntu GUI on Linux\/Ubuntu EC2?', 'author': 'CARS4ever', 'subreddit': 'aws', 'subreddit_id': '2qh84', 'body': \"I think I'm going to need a m4.large or m5.large for my use and I'm not sure what makes the [m4.large more expensive than the m5.large](https:\/\/www.ec2instances.info\/?cost_duration=monthly).\\n\\nHow do I install a Ubuntu GUI on a Linux instance so I don't have to pay double the cost for a Windows UI?\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 14, 'created_utc': 1513869571}"}
{"id":"823564","text":"Title: Production statistics with bobs mods\nThe text below was posted in an online community called factorio in the year 2016:\n\nWhen I open the production window in bobs mods my FPS drops from 60 to 20 instantly, and it's still early in the game. Anyone know why that happens?","meta":"{'source': 'reddit_posts', 'id': '5frczy', 'title': 'Production statistics with bobs mods', 'author': 'Thadorus', 'subreddit': 'factorio', 'subreddit_id': '2wabp', 'body': \"When I open the production window in bobs mods my FPS drops from 60 to 20 instantly, and it's still early in the game. Anyone know why that happens?\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 1, 'created_utc': 1480531846}"}
{"id":"1664110","text":"Title: Modular 3D Entities\nThe text below was posted in an online community called gamedev in the year 2021:\n\nHow would you go about animating modular 3D models? So let's say the head, horns on the head, torso, arms, and legs are all separate 3D models and they need to be brought together and animated to work as one entity. But that each entity can take different horns, or different arms, and it should still animate the same.\n\n  \nIn 2D this is very simple, you just make your sprite sheets with each body part, and then overlay them, and make sure they all play the same animation. You can swap out the sprite you want if you want different horns, just make sure they all line up visually.\n\nI suppose I could do the same thing as 2D and make sure all 3D pieces lined up correctly and then animated their positions for each animation and played that. Are there any other ways to do this? Are bones viable?\n\nAny advice on the meshes clipping?\n\nI don't mess around in 3D a lot but I wanted to try! Thanks for your thoughts.","meta":"{'source': 'reddit_posts', 'id': 'one12p', 'title': 'Modular 3D Entities', 'author': 'DeadlyEssence01', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': \"How would you go about animating modular 3D models? So let's say the head, horns on the head, torso, arms, and legs are all separate 3D models and they need to be brought together and animated to work as one entity. But that each entity can take different horns, or different arms, and it should still animate the same.\\n\\n  \\nIn 2D this is very simple, you just make your sprite sheets with each body part, and then overlay them, and make sure they all play the same animation. You can swap out the sprite you want if you want different horns, just make sure they all line up visually.\\n\\nI suppose I could do the same thing as 2D and make sure all 3D pieces lined up correctly and then animated their positions for each animation and played that. Are there any other ways to do this? Are bones viable?\\n\\nAny advice on the meshes clipping?\\n\\nI don't mess around in 3D a lot but I wanted to try! Thanks for your thoughts.\", 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 4, 'created_utc': 1626701217}"}
{"id":"2091442","text":"Title: Letter to the Federal Trade Commission regarding Lenovo blocking Linux and other operating system installations on Yoga PCs.\nThe text below was posted in an online community called linux in the year 2016:\n\nUpdate: Lenovo just updated the BIOS for the Yoga 710, another system that doesn't allow Linux installs. Wanna know what they changed? Update to TPM (secret encryption module used for Digital Restrictions Management) and an update to the Intel Management Engine, which is essentially a backdoor rootkit built into all recent Intel processors (but AMD has their version too, so what do you do?). No Linux support.\nPriorities...\n\nUpdate: The mods at Lenovo Forums are losing control of the narrative and banning people and editing\/deleting more comments. http:\/\/imgur.com\/a\/Q9xIE | But it appears that some people just aren't buying it anymore. http:\/\/imgur.com\/a\/1K1t5\n\n----\n\nThis is the letter I sent to the Federal Trade Commission and to the Illinois Attorney General's office regarding Lenovo locking out Linux from their Yoga laptops.\n\n\"Lenovo sells computers known as \"Yoga\" under at least several models that block the installation of Linux operating systems as well as fresh installations of Windows from Microsoft's official installer. They have the system rigged, intentionally, in a storage mode that is incompatible with most operating systems other than the pre-installed copy of Windows 10. If the user attempts to install an operating system, it will not be able to see or use the built-in SSD (Solid State Drive) storage. I believe that this is illegal and anti-competitive. These product are falsely advertised as a PC, even though it prohibits the user installing PC operating systems. Known affected models are the 900 ISK2, the 710, the 900 ISK for Business, the 900S, and possibly others. Lenovo's position is that this is not a defect and they refuse to issue refunds to their customers, who have been deceived by the notion that their new PC is compatible with PC operating systems and that they should be able to install a PC operating system on a PC. Lenovo is therefore engaging in a conspiracy to defraud their customers through deceptive advertising. Lenovo's official position is that Linux lacks drivers, however, Linux could easily be installed on these systems had Lenovo not removed the AHCI storage mode option from the BIOS and then wrote additional code to make sure that people couldn't set it to AHCI in other ways, such as using an \"EFI variable\". AHCI mode is an industry standard and should be expected on a computer describing itself as \"PC\" or \"PC compatible\" as it is broadly compatible with all PC operating system software. I feel that Lenovo should remedy the problem in one of three ways. (1) Offer full refunds for customers who want to install their own operating system but can't. -or- (2) Release a small BIOS firmware patch to restore AHCI mode, which is simply hidden. This would be extremely easy for them since it would only be two lines of code and the user could do it themselves were they not locked out of updating their BIOS themselves. -or- (3) Provide open source drivers to the Linux kernel project that would allow Linux and other PC operating systems address the SSD storage in the \"RAID\" mode.\"\n\nFeel free to use this as your letter or a template for a letter of complaint to the FTC. Their consumer complaint form is available here.\n\nhttps:\/\/www.ftccomplaintassistant.gov\/#&amp;panel1-1\n\nPlease also contact your state's Attorney General's office. They usually have a bureau of consumer complaints or something to that effect. If not, just shoot them an email.\n\nSince the FTC form requires the company address and phone number, I used this:\n\nLenovo \"Customer Center\"\nAddress: 1009 Think Pl, Morrisville, NC 27560\nPhone:(566)535-3311","meta":"{'source': 'reddit_posts', 'id': '54gtpc', 'title': 'Letter to the Federal Trade Commission regarding Lenovo blocking Linux and other operating system installations on Yoga PCs.', 'author': 'BaronHK', 'subreddit': 'linux', 'subreddit_id': '2qh1a', 'body': 'Update: Lenovo just updated the BIOS for the Yoga 710, another system that doesn\\'t allow Linux installs. Wanna know what they changed? Update to TPM (secret encryption module used for Digital Restrictions Management) and an update to the Intel Management Engine, which is essentially a backdoor rootkit built into all recent Intel processors (but AMD has their version too, so what do you do?). No Linux support.\\nPriorities...\\n\\nUpdate: The mods at Lenovo Forums are losing control of the narrative and banning people and editing\/deleting more comments. http:\/\/imgur.com\/a\/Q9xIE | But it appears that some people just aren\\'t buying it anymore. http:\/\/imgur.com\/a\/1K1t5\\n\\n----\\n\\nThis is the letter I sent to the Federal Trade Commission and to the Illinois Attorney General\\'s office regarding Lenovo locking out Linux from their Yoga laptops.\\n\\n\"Lenovo sells computers known as \"Yoga\" under at least several models that block the installation of Linux operating systems as well as fresh installations of Windows from Microsoft\\'s official installer. They have the system rigged, intentionally, in a storage mode that is incompatible with most operating systems other than the pre-installed copy of Windows 10. If the user attempts to install an operating system, it will not be able to see or use the built-in SSD (Solid State Drive) storage. I believe that this is illegal and anti-competitive. These product are falsely advertised as a PC, even though it prohibits the user installing PC operating systems. Known affected models are the 900 ISK2, the 710, the 900 ISK for Business, the 900S, and possibly others. Lenovo\\'s position is that this is not a defect and they refuse to issue refunds to their customers, who have been deceived by the notion that their new PC is compatible with PC operating systems and that they should be able to install a PC operating system on a PC. Lenovo is therefore engaging in a conspiracy to defraud their customers through deceptive advertising. Lenovo\\'s official position is that Linux lacks drivers, however, Linux could easily be installed on these systems had Lenovo not removed the AHCI storage mode option from the BIOS and then wrote additional code to make sure that people couldn\\'t set it to AHCI in other ways, such as using an \"EFI variable\". AHCI mode is an industry standard and should be expected on a computer describing itself as \"PC\" or \"PC compatible\" as it is broadly compatible with all PC operating system software. I feel that Lenovo should remedy the problem in one of three ways. (1) Offer full refunds for customers who want to install their own operating system but can\\'t. -or- (2) Release a small BIOS firmware patch to restore AHCI mode, which is simply hidden. This would be extremely easy for them since it would only be two lines of code and the user could do it themselves were they not locked out of updating their BIOS themselves. -or- (3) Provide open source drivers to the Linux kernel project that would allow Linux and other PC operating systems address the SSD storage in the \"RAID\" mode.\"\\n\\nFeel free to use this as your letter or a template for a letter of complaint to the FTC. Their consumer complaint form is available here.\\n\\nhttps:\/\/www.ftccomplaintassistant.gov\/#&amp;panel1-1\\n\\nPlease also contact your state\\'s Attorney General\\'s office. They usually have a bureau of consumer complaints or something to that effect. If not, just shoot them an email.\\n\\nSince the FTC form requires the company address and phone number, I used this:\\n\\nLenovo \"Customer Center\"\\nAddress: 1009 Think Pl, Morrisville, NC 27560\\nPhone:(855) 253-6686', 'body_is_trimmed': False, 'score': 180, 'over_18': False, 'num_comments': 175, 'created_utc': 1474833673}"}
{"id":"934087","text":"Title: Silicon Valley intern seeking to advise &amp; mentor students + My story.\nThe text below was posted in an online community called cscareerquestions in the year 2018:\n\nHi folks, long time lurker (...for better or for worse). I'm working on a project to help students make informed decisions regarding their career, education, etc. I wanted to share my university story in hopes that I can inspire those of you who are in a position similar to where I was when I first started college.\n\nAround this time 3 years ago, I was working manual labour in a warehouse and flunking my way through a biochemistry degree (which I absolutely hated). I had to confront the fact that I was completely lost and had no idea what to do about it.\n\nCourse selection was looming and a few friends of mine were looking for some elective courses to round out our semesters. Tbh, I'm not even sure why we decided to enrol in an introductory CS course, but we did and to my surprise I really enjoyed it. I really wish it was one of those: \"I've found my true calling, drop-everything-and-quit\" sort of experiences, but it wasn't. Programming was fun, but in reality, I just fucking hated biochem. The grass seemed greener on the other side, so the next year I decided to switch majors. It was the best decision I've ever made.\n\nBeing a year older than my classmates, I constantly felt \"behind\" when it came to my programming abilities. I spent 2nd year taking on unpaid web development projects (with on-campus clubs, societies, etc) to fast-track my programming skills. I managed to make some connections which led to some freelance work. The experience looked great on my resume and the cash didn't hurt either. As summer approached, I started applying for internships and after many many rejected applications and several interviews, I managed to get an internship at a small startup in Toronto.\n\nUp until this point, I wasn't doing well in any of my classes. During my internship, I decided that I needed to develop a healthy work ethic if I wanted to get a decent job by the time I graduated. I read some great books (see: Mastery by Robert Greene and similar) and made a commitment to go hard in my final year. This was also around the same time I started lurking this sub and learning about the insane amount of time people were spending on leetcode before their interviews.\n\nFollowing the canon advice on this sub, I grinded leetcode &amp; CTCI hard for the majority of my last year. The funny thing was, I also started to do really well in school, for the first time ever. I noticed that as I got better at committing to leetcode, I also got better at committing to studying. Not to mention the content kind of complimented my courses.\n\nAll in all, it ended up working in my favour and since then I've done internships at 2 Big N companies, one of which was in Silicon Valley. Even though I'm just at the beginning of my career, the road so far has not been easy. I attribute a lot of the victories I've had to older students, who have sacrificed their time to answer my questions and give me mentorship. I also owe a lot to the people on this sub. Barring the occasional toxic shit-posting, this really is a goldmine of tips and inspiration for aspiring software engineers. Posts like this helped me out a lot.\n\nNow, I'd like to repay the favour and help out students at the beginning of their college careers. If any of you are looking for guidance on things such as: education options (degrees, diplomas, bootcamps), internships, startup life vs corporate life, interviewing, etc, please feel free to PM me and I'd be happy to get in touch!","meta":"{'source': 'reddit_posts', 'id': '97jhrn', 'title': 'Silicon Valley intern seeking to advise &amp; mentor students + My story.', 'author': 'ISurvivedUofT', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': 'Hi folks, long time lurker (...for better or for worse). I\\'m working on a project to help students make informed decisions regarding their career, education, etc. I wanted to share my university story in hopes that I can inspire those of you who are in a position similar to where I was when I first started college.\\n\\nAround this time 3 years ago, I was working manual labour in a warehouse and flunking my way through a biochemistry degree (which I absolutely hated). I had to confront the fact that I was completely lost and had no idea what to do about it.\\n\\nCourse selection was looming and a few friends of mine were looking for some elective courses to round out our semesters. Tbh, I\\'m not even sure why we decided to enrol in an introductory CS course, but we did and to my surprise I really enjoyed it. I really wish it was one of those: \"I\\'ve found my true calling, drop-everything-and-quit\" sort of experiences, but it wasn\\'t. Programming was fun, but in reality, I just fucking hated biochem. The grass seemed greener on the other side, so the next year I decided to switch majors. It was the best decision I\\'ve ever made.\\n\\nBeing a year older than my classmates, I constantly felt \"behind\" when it came to my programming abilities. I spent 2nd year taking on unpaid web development projects (with on-campus clubs, societies, etc) to fast-track my programming skills. I managed to make some connections which led to some freelance work. The experience looked great on my resume and the cash didn\\'t hurt either. As summer approached, I started applying for internships and after many many rejected applications and several interviews, I managed to get an internship at a small startup in Toronto.\\n\\nUp until this point, I wasn\\'t doing well in any of my classes. During my internship, I decided that I needed to develop a healthy work ethic if I wanted to get a decent job by the time I graduated. I read some great books (see: Mastery by Robert Greene and similar) and made a commitment to go hard in my final year. This was also around the same time I started lurking this sub and learning about the insane amount of time people were spending on leetcode before their interviews.\\n\\nFollowing the canon advice on this sub, I grinded leetcode &amp; CTCI hard for the majority of my last year. The funny thing was, I also started to do really well in school, for the first time ever. I noticed that as I got better at committing to leetcode, I also got better at committing to studying. Not to mention the content kind of complimented my courses.\\n\\nAll in all, it ended up working in my favour and since then I\\'ve done internships at 2 Big N companies, one of which was in Silicon Valley. Even though I\\'m just at the beginning of my career, the road so far has not been easy. I attribute a lot of the victories I\\'ve had to older students, who have sacrificed their time to answer my questions and give me mentorship. I also owe a lot to the people on this sub. Barring the occasional toxic shit-posting, this really is a goldmine of tips and inspiration for aspiring software engineers. Posts like this helped me out a lot.\\n\\nNow, I\\'d like to repay the favour and help out students at the beginning of their college careers. If any of you are looking for guidance on things such as: education options (degrees, diplomas, bootcamps), internships, startup life vs corporate life, interviewing, etc, please feel free to PM me and I\\'d be happy to get in touch!', 'body_is_trimmed': False, 'score': 59, 'over_18': False, 'num_comments': 28, 'created_utc': 1534349117}"}
{"id":"1545572","text":"Title: Check this out! (My first game).\nThe text below was posted in an online community called Unity3D in the year 2014:\n\nHello everyone I'm a computer science student, and part time indie game dev (or at least try to), and here is my first project, it's an android game made with unity. Would like to hear from you and get some feed back, also a rate or review would be awesome :D\n\nLink to download: https:\/\/play.google.com\/store\/apps\/details?id=com.funciona.games.jalados\n\nTL;DR: Check my new and first game out, review and rate is appreciated.","meta":"{'source': 'reddit_posts', 'id': '266y78', 'title': 'Check this out! (My first game).', 'author': 'JaElizaldeDev', 'subreddit': 'Unity3D', 'subreddit_id': '2qwj8', 'body': \"Hello everyone I'm a computer science student, and part time indie game dev (or at least try to), and here is my first project, it's an android game made with unity. Would like to hear from you and get some feed back, also a rate or review would be awesome :D\\n\\nLink to download: https:\/\/play.google.com\/store\/apps\/details?id=com.funciona.games.jalados\\n\\nTL;DR: Check my new and first game out, review and rate is appreciated.\", 'body_is_trimmed': False, 'score': 10, 'over_18': False, 'num_comments': 8, 'created_utc': '1400744768'}"}
{"id":"600024","text":"Title: [Help] Retrieve PS4 Controller Data using Raw Input\nThe text below was posted in an online community called csharp in the year 2017:\n\nAs the title states, I'm trying to use Raw Input to register my controller (which seems to be working), then retrieve the data from it (this part is not working too well). The problem may stem from the fact that I'm doing this from a console application, but I'm creating a window and using that window handle to register my devices. \n\nHere's the relevant code: [Link](http:\/\/pastebin.com\/iU1nAMs7)\n\nI also have this class:\n\n    public class Input : Form\n    {\n        protected override void WndProc(ref Message message)\n        {\n            Console.WriteLine(message.Msg);\n            base.WndProc(ref message);\n        }\n    }\n\nIn the main method i create one of those and pass it's window handle to PS4Input.RegisterControllers\n\nHowever, once the window is finished creating itself, it receives no more messages. Any advice?","meta":"{'source': 'reddit_posts', 'id': '5qfif6', 'title': '[Help] Retrieve PS4 Controller Data using Raw Input', 'author': 'Mystb0rn', 'subreddit': 'csharp', 'subreddit_id': '2qhdf', 'body': \"As the title states, I'm trying to use Raw Input to register my controller (which seems to be working), then retrieve the data from it (this part is not working too well). The problem may stem from the fact that I'm doing this from a console application, but I'm creating a window and using that window handle to register my devices. \\n\\nHere's the relevant code: [Link](http:\/\/pastebin.com\/iU1nAMs7)\\n\\nI also have this class:\\n\\n    public class Input : Form\\n    {\\n        protected override void WndProc(ref Message message)\\n        {\\n            Console.WriteLine(message.Msg);\\n            base.WndProc(ref message);\\n        }\\n    }\\n\\nIn the main method i create one of those and pass it's window handle to PS4Input.RegisterControllers\\n\\nHowever, once the window is finished creating itself, it receives no more messages. Any advice?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1485496125}"}
{"id":"307087","text":"Title: React gives me error (this.setState is not a function) when trying to use an API\nThe text below was posted in an online community called reactjs in the year 2018:\n\nIf the JSON is in array form like this(format 1)\n\n    const customers = [\n    {\n      name: \"tom\",\n      age: 12\n    }\n    ];\n\nI don't get an error.\n\nBut when the JSON is like this (format 2):\n\n    var count={\n\t\"name\": \"tom\",\n\t\"age\": 12\n    }\n\nI get an error when using this.setState and .map function. I put the below JSON in jsonlint.com and it says validated JSON. \n\nMy component code looks like this:\n\n    class App extends Component {\n    constructor() {\n    super();\n    this.state = {\n      items: \" \",\n      isLoaded: false\n    };\n    }\n    componentDidMount() {\n    fetch(\n      \"\/api\/customers\"\n    )\n      .then(res =&gt; res.json())\n      .then(customers =&gt; {\n        this.setState({\n          isLoaded: true,\n          items: customers\n        });\n      });\n    }\n\nI am using Express for Backend. It works if JSON is in format 1 but get error when using format2.\n\nAny help is much appreciated! Thanks!","meta":"{'source': 'reddit_posts', 'id': '9e32ke', 'title': 'React gives me error (this.setState is not a function) when trying to use an API', 'author': 'IamATechieNerd', 'subreddit': 'reactjs', 'subreddit_id': '2zldd', 'body': 'If the JSON is in array form like this(format 1)\\n\\n    const customers = [\\n    {\\n      name: \"tom\",\\n      age: 12\\n    }\\n    ];\\n\\nI don\\'t get an error.\\n\\nBut when the JSON is like this (format 2):\\n\\n    var count={\\n\\t\"name\": \"tom\",\\n\\t\"age\": 12\\n    }\\n\\nI get an error when using this.setState and .map function. I put the below JSON in jsonlint.com and it says validated JSON. \\n\\nMy component code looks like this:\\n\\n    class App extends Component {\\n    constructor() {\\n    super();\\n    this.state = {\\n      items: \" \",\\n      isLoaded: false\\n    };\\n    }\\n    componentDidMount() {\\n    fetch(\\n      \"\/api\/customers\"\\n    )\\n      .then(res =&gt; res.json())\\n      .then(customers =&gt; {\\n        this.setState({\\n          isLoaded: true,\\n          items: customers\\n        });\\n      });\\n    }\\n\\nI am using Express for Backend. It works if JSON is in format 1 but get error when using format2.\\n\\nAny help is much appreciated! Thanks!', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 6, 'created_utc': 1536398695}"}
{"id":"70908","text":"Title: Any tips on things to do in the demo version?\nThe text below was posted in an online community called factorio in the year 2019:\n\nHey, i've heard about Factorio from many different sources, and i decided to finally try out the Demo a few days back, and i honestly enjoyed it so much, unfortunately due to being a student i have to prioritize my money, and i can't feasibly spend my money on games, i was hoping to get some advice on how to make the most of the demo version until i can afford it, i have replayed the demo campaign various times, but unfortunately it seems to end rather abrupt, i was wondering if someone is or have been in the same position, and how they got the most fun out of it?\n\nReally enjoying the game so far!","meta":"{'source': 'reddit_posts', 'id': 'dhrqbl', 'title': 'Any tips on things to do in the demo version?', 'author': 'rainorc', 'subreddit': 'factorio', 'subreddit_id': '2wabp', 'body': \"Hey, i've heard about Factorio from many different sources, and i decided to finally try out the Demo a few days back, and i honestly enjoyed it so much, unfortunately due to being a student i have to prioritize my money, and i can't feasibly spend my money on games, i was hoping to get some advice on how to make the most of the demo version until i can afford it, i have replayed the demo campaign various times, but unfortunately it seems to end rather abrupt, i was wondering if someone is or have been in the same position, and how they got the most fun out of it?\\n\\nReally enjoying the game so far!\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 5, 'created_utc': 1571065133}"}
{"id":"1337914","text":"Title: Is there a way to detect that a .NET Core 5 Web App application is closing?\nThe text below was posted in an online community called csharp in the year 2021:\n\nHow do we configure the app to be detected in Startup.cs when it is closing?","meta":"{'source': 'reddit_posts', 'id': 'lg8r0b', 'title': 'Is there a way to detect that a .NET Core 5 Web App application is closing?', 'author': 'Beginning_java', 'subreddit': 'csharp', 'subreddit_id': '2qhdf', 'body': 'How do we configure the app to be detected in Startup.cs when it is closing?', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 10, 'created_utc': 1612892543}"}
{"id":"1703684","text":"Title: When to catch exceptions and when to not?\nThe text below was posted in an online community called PowerShell in the year 2021:\n\nWhat are some of the ways the rest of you decide when to catch an exception and when to let it fly free for the end user or another script to deal with? \n\nThe most obvious scenario I can think of to catch an error is when its presence immediately dictates the need to take corrective action, like switching from one connection protocol to a backup alternative protocol. \n\nHowever, from the standpoint of \"when is it appropriate to begin suppressing all the noise from the script\"...I'm a little less certain. If it's just for personal use I'll usually just throw in some `-ErrorAction SilentlyContinue` parameters on stuff I frequently encounter but know aren't showstoppers. Other times you want all that red text coming through so you can drill down and figure out what exactly went wrong. However, sometimes that can get excessive and coupled with the prospect of handing a script off to colleagues, one begins to ponder how much it is appropriate to account for and suppress that red text so the people who didn't write the script don't start freaking out every time there's a stray server with a connection issue or the like.","meta":"{'source': 'reddit_posts', 'id': 'qfnven', 'title': 'When to catch exceptions and when to not?', 'author': 'Big_Oven8562', 'subreddit': 'PowerShell', 'subreddit_id': '2qo1o', 'body': 'What are some of the ways the rest of you decide when to catch an exception and when to let it fly free for the end user or another script to deal with? \\n\\nThe most obvious scenario I can think of to catch an error is when its presence immediately dictates the need to take corrective action, like switching from one connection protocol to a backup alternative protocol. \\n\\nHowever, from the standpoint of \"when is it appropriate to begin suppressing all the noise from the script\"...I\\'m a little less certain. If it\\'s just for personal use I\\'ll usually just throw in some `-ErrorAction SilentlyContinue` parameters on stuff I frequently encounter but know aren\\'t showstoppers. Other times you want all that red text coming through so you can drill down and figure out what exactly went wrong. However, sometimes that can get excessive and coupled with the prospect of handing a script off to colleagues, one begins to ponder how much it is appropriate to account for and suppress that red text so the people who didn\\'t write the script don\\'t start freaking out every time there\\'s a stray server with a connection issue or the like.', 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 11, 'created_utc': 1635188747}"}
{"id":"1757024","text":"Title: Questions to ask employee\/contact at company I want to intern at?\nThe text below was posted in an online community called cscareerquestions in the year 2022:\n\n*I searched for this, but Reddits search was useless and mostly returned results for people with offers deciding if they want to work somewhere*\n\nAs the title describes, I am going to reach out to a contact at a company I want to intern at. Its a very solid company that stresses WLB, and it would be a nice place to work.\n\nIts an investment management cloud platform, for reference. I plan to ask about how the contact got started there, what he does, etc, but is there anything easily overlooked?\n\nNever reached out to someone like this, and am likely overthinking it. Would love if anyone had some tips!","meta":"{'source': 'reddit_posts', 'id': 'y7rm78', 'title': 'Questions to ask employee\/contact at company I want to intern at?', 'author': 'smallae', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': '*I searched for this, but Reddits search was useless and mostly returned results for people with offers deciding if they want to work somewhere*\\n\\nAs the title describes, I am going to reach out to a contact at a company I want to intern at. Its a very solid company that stresses WLB, and it would be a nice place to work.\\n\\nIts an investment management cloud platform, for reference. I plan to ask about how the contact got started there, what he does, etc, but is there anything easily overlooked?\\n\\nNever reached out to someone like this, and am likely overthinking it. Would love if anyone had some tips!', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 1, 'created_utc': 1666150256}"}
{"id":"80080","text":"Title: Java VS Go\nThe text below was posted in an online community called golang in the year 2019:\n\nHi Gophers!\n\nAt my current job we are going to make a pretty big project that will have a lot of requests from all the country. We don't know if Go is better than Java with Spring for this case. Don't think on knowledge of programmers of that techologies, just think on performance and development speed between that technologies.\n\n&amp;#x200B;\n\nThank you!","meta":"{'source': 'reddit_posts', 'id': 'bzql9s', 'title': 'Java VS Go', 'author': 'vicentdev', 'subreddit': 'golang', 'subreddit_id': '2rc7j', 'body': \"Hi Gophers!\\n\\nAt my current job we are going to make a pretty big project that will have a lot of requests from all the country. We don't know if Go is better than Java with Spring for this case. Don't think on knowledge of programmers of that techologies, just think on performance and development speed between that technologies.\\n\\n&amp;#x200B;\\n\\nThank you!\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 10, 'created_utc': 1560342376}"}
{"id":"958948","text":"Title: How do I completely remove a UWP (Windows Store) App?\nThe text below was posted in an online community called Windows10 in the year 2018:\n\nI have an install for Halo 5 Forge that according to the Microsoft Store is uninstalled and according to my system it is uninstalled but the 30GB worth of Files are still on my drive.  The folder is protected and whenever I try to gain ownership it still won't let me delete the file.  I am low on storage so it would be nice to get rid of this file.","meta":"{'source': 'reddit_posts', 'id': '9a8anl', 'title': 'How do I completely remove a UWP (Windows Store) App?', 'author': 'Gammett', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': \"I have an install for Halo 5 Forge that according to the Microsoft Store is uninstalled and according to my system it is uninstalled but the 30GB worth of Files are still on my drive.  The folder is protected and whenever I try to gain ownership it still won't let me delete the file.  I am low on storage so it would be nice to get rid of this file.\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 12, 'created_utc': 1535216641}"}
{"id":"1612262","text":"Title: What is the best network option to make a game which handles more than 100 players in a room?\nThe text below was posted in an online community called Unity3D in the year 2022:\n\nI'm looking to make a game like a metaverse which is a city where a high number of players live there(maybe 100+), what is the best option for that. I've used Photon before but it says it doesn't support these numbers, should I buy a server and make everything from zero? Appreciate the help, thanks.","meta":"{'source': 'reddit_posts', 'id': 'vpmj2h', 'title': 'What is the best network option to make a game which handles more than 100 players in a room?', 'author': 'ClassicManagement188', 'subreddit': 'Unity3D', 'subreddit_id': '2qwj8', 'body': \"I'm looking to make a game like a metaverse which is a city where a high number of players live there(maybe 100+), what is the best option for that. I've used Photon before but it says it doesn't support these numbers, should I buy a server and make everything from zero? Appreciate the help, thanks.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 10, 'created_utc': 1656748148}"}
{"id":"243727","text":"Title: For developers working remotely, what software do you use for clients to sign contracts digitally?\nThe text below was posted in an online community called webdev in the year 2019:\n\nI've had PandaDoc, HelloSign, and DocuSign recommended but they all seem a little over-engineered and a little expensive for web development purposes where all that's really required is one signature and not tons of input fields.\n\nI'm primarily looking at working with businesses in industries where the decision makers might not be very tech savvy so I'm ideally just looking for a software where they I can email them a link, they click it, they skim the contents, they enter their name, and a PDF version e-mailed both to me and the client and that's it.","meta":"{'source': 'reddit_posts', 'id': 'brir9f', 'title': 'For developers working remotely, what software do you use for clients to sign contracts digitally?', 'author': 'ExtraFirmpillow', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': \"I've had PandaDoc, HelloSign, and DocuSign recommended but they all seem a little over-engineered and a little expensive for web development purposes where all that's really required is one signature and not tons of input fields.\\n\\nI'm primarily looking at working with businesses in industries where the decision makers might not be very tech savvy so I'm ideally just looking for a software where they I can email them a link, they click it, they skim the contents, they enter their name, and a PDF version e-mailed both to me and the client and that's it.\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 5, 'created_utc': 1558489033}"}
{"id":"1270554","text":"Title: Quit School For a Job?\nThe text below was posted in an online community called computerscience in the year 2017:\n\nHello, I am a second year Computer Science student and have been offered a job. The job is devops (I don't know the exact responsibilities here), and after gaining enough experience (or proving that I can code) I would be moved to a full time developer role. (Java, SQL).\n\nI will start out at 45k (which is decent money here in the Midwest) and when I move up to full time developer my pay would move up towards 60-65k. \n\nThey are only offering a full-time permanent position. So my question is, is it worth it to hold off on school for the work? It is on a rotating shift so my schedule could change often, and the drive is about 30 minutes.\n\nWhat do you guys think?","meta":"{'source': 'reddit_posts', 'id': '6bp586', 'title': 'Quit School For a Job?', 'author': 'aafirearrow', 'subreddit': 'computerscience', 'subreddit_id': '2qj8o', 'body': \"Hello, I am a second year Computer Science student and have been offered a job. The job is devops (I don't know the exact responsibilities here), and after gaining enough experience (or proving that I can code) I would be moved to a full time developer role. (Java, SQL).\\n\\nI will start out at 45k (which is decent money here in the Midwest) and when I move up to full time developer my pay would move up towards 60-65k. \\n\\nThey are only offering a full-time permanent position. So my question is, is it worth it to hold off on school for the work? It is on a rotating shift so my schedule could change often, and the drive is about 30 minutes.\\n\\nWhat do you guys think?\", 'body_is_trimmed': False, 'score': 13, 'over_18': False, 'num_comments': 11, 'created_utc': 1495032446}"}
{"id":"206169","text":"Title: Whonix 15 has been Released\nThe text below was posted in an online community called opensource in the year 2019:\n\n[https:\/\/forums.whonix.org\/t\/whonix-15-has-been-released\/7616](https:\/\/forums.whonix.org\/t\/whonix-15-has-been-released\/7616)\n\n&amp;#x200B;\n\nYummy!\n\n&amp;#x200B;\n\n&amp;#x200B;\n\nhttps:\/\/i.redd.it\/mwl8zkgmdpb31.jpg","meta":"{'source': 'reddit_posts', 'id': 'cg2j08', 'title': 'Whonix 15 has been Released', 'author': 'whonix-os', 'subreddit': 'opensource', 'subreddit_id': '2qh4n', 'body': '[https:\/\/forums.whonix.org\/t\/whonix-15-has-been-released\/7616](https:\/\/forums.whonix.org\/t\/whonix-15-has-been-released\/7616)\\n\\n&amp;#x200B;\\n\\nYummy!\\n\\n&amp;#x200B;\\n\\n&amp;#x200B;\\n\\nhttps:\/\/i.redd.it\/mwl8zkgmdpb31.jpg', 'body_is_trimmed': False, 'score': 25, 'over_18': False, 'num_comments': 5, 'created_utc': 1563735056}"}
{"id":"2054056","text":"Title: hashing video link on the server?\nThe text below was posted in an online community called node in the year 2022:\n\nI am creating LMS system using MERN stack and I want to protect my videos from being downloaded from the server , i tried to use middleware to protect the routes it worked inside the server but it doesn't work inside my frontend so i was searching the web and noticed that cnn has something like this , how can i protect my routes and change the url to match this criteria ?  \n\n\nhttps:\/\/preview.redd.it\/mlmne0bjbl591.png?width=412&amp;format=png&amp;auto=webp&amp;s=9b6c0ed52e3c2c11d160722680e2208df6e948c3","meta":"{'source': 'reddit_posts', 'id': 'vc3rr2', 'title': 'hashing video link on the server?', 'author': 'Reddet99', 'subreddit': 'node', 'subreddit_id': '2reca', 'body': \"I am creating LMS system using MERN stack and I want to protect my videos from being downloaded from the server , i tried to use middleware to protect the routes it worked inside the server but it doesn't work inside my frontend so i was searching the web and noticed that cnn has something like this , how can i protect my routes and change the url to match this criteria ?  \\n\\n\\nhttps:\/\/preview.redd.it\/mlmne0bjbl591.png?width=412&amp;format=png&amp;auto=webp&amp;s=9b6c0ed52e3c2c11d160722680e2208df6e948c3\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': 1655214077}"}
{"id":"2046046","text":"Title: Free 3D Interior Caslte Assets with PS1 Style\nThe text below was posted in an online community called Unity3D in the year 2021:\n\nThis pack **contains 47 models of props and interior modular castle.**\n\n\\-Models such as **walls, stairs, frames, keys, doors, books and etc..**\n\n\\-**FBX, OBJ** and **BLEND** formats\n\n\\-**Textures** and **materials** are included.\n\n\\-Make your **RPG**, **adventure**, **sandbox**, **wizard game** with t**his pack and others that I made :D**\n\n**All my assets are for commercial and creative use( I have +200 free assets on my shop ;D)**\n\n**Link**:[https:\/\/zsky2000.itch.io\/modular-interior-castle-retro-style](https:\/\/zsky2000.itch.io\/modular-interior-castle-retro-style)\n\n Shop: [https:\/\/zsky2000.itch.io\/](https:\/\/zsky2000.itch.io\/)\n\n**If you like please consider a Patron to supp me and bring more free content and special rewards :D**\n\n **Patreon**: [https:\/\/www.patreon.com\/Zsky](https:\/\/www.patreon.com\/Zsky)  \n\n\n  \n\n\nhttps:\/\/preview.redd.it\/hwrcvpm6xil71.png?width=1920&amp;format=png&amp;auto=webp&amp;s=225ae640c4366dbf2996e64999e46fddf0826955\n\n[More free assets ](https:\/\/i.redd.it\/jj3m00h4xil71.gif)","meta":"{'source': 'reddit_posts', 'id': 'phw3lq', 'title': 'Free 3D Interior Caslte Assets with PS1 Style', 'author': 'Zsky2000', 'subreddit': 'Unity3D', 'subreddit_id': '2qwj8', 'body': 'This pack **contains 47 models of props and interior modular castle.**\\n\\n\\\\-Models such as **walls, stairs, frames, keys, doors, books and etc..**\\n\\n\\\\-**FBX, OBJ** and **BLEND** formats\\n\\n\\\\-**Textures** and **materials** are included.\\n\\n\\\\-Make your **RPG**, **adventure**, **sandbox**, **wizard game** with t**his pack and others that I made :D**\\n\\n**All my assets are for commercial and creative use( I have +200 free assets on my shop ;D)**\\n\\n**Link**:[https:\/\/zsky2000.itch.io\/modular-interior-castle-retro-style](https:\/\/zsky2000.itch.io\/modular-interior-castle-retro-style)\\n\\n Shop: [https:\/\/zsky2000.itch.io\/](https:\/\/zsky2000.itch.io\/)\\n\\n**If you like please consider a Patron to supp me and bring more free content and special rewards :D**\\n\\n **Patreon**: [https:\/\/www.patreon.com\/Zsky](https:\/\/www.patreon.com\/Zsky)  \\n\\n\\n  \\n\\n\\nhttps:\/\/preview.redd.it\/hwrcvpm6xil71.png?width=1920&amp;format=png&amp;auto=webp&amp;s=225ae640c4366dbf2996e64999e46fddf0826955\\n\\n[More free assets ](https:\/\/i.redd.it\/jj3m00h4xil71.gif)', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': 1630777485}"}
{"id":"2378427","text":"Title: Help with using HC-SR04 ultrasonic module with Arduino Uno\nThe text below was posted in an online community called arduino in the year 2013:\n\nSo I got the HC-SR04 with the goal of eventually swapping out the included transducers with my own waterproof ones to use for an underwater system. However, though I thought this module would be pretty much plug and play, it has given me much more grief and I've spent the better part of two days trying to debug.\n\nThe issue is basically that no matter what code I use (see [NewPing](https:\/\/code.google.com\/p\/arduino-new-ping\/), and [this comment](http:\/\/www.reddit.com\/r\/arduino\/comments\/1e4fg8\/ultrasonic_sensor_weird_values_error_or\/c9x4dm3)) I get return values of zero. Interestingly, when I touch the receiver it returns meaningless values instead of zero, but I have checked all of my grounds repeatedly, and have set up and torn down the circuit multiple times to check myself.\n\nI also have an oscilloscope at my disposal to use to debug, but what I see doesn't seem to make sense with the code. For example, with this code below, modified from the comment above, you would expect to see some kind of major event just about every 500ms when anazlyzing the trigger pin, but instead it's just a fuzzy, noisy, flat line signal. Zoomed in, there appears to be a pattern corresponding to the digital high output of the desired 10us pulse, but nothing in the code seems to change the frequency of the pulse.\n\n    #define TRIG  11\n    #define ECHO  12 \n    \n    void setup() {\n   \n      Serial.begin(9600);\n    }\n    \n    void loop() {\n      delay(500);\n      int dist = ping();\n      Serial.println(dist); \n    }\n    \n    int ping(){\n      unsigned long pingLoopTime;\n      unsigned long pingCurrentTime;\n      int pulseDuration; \n      digitalWrite(TRIG, HIGH);\n      pingCurrentTime = millis();\n      if(pingCurrentTime &gt;= (pingLoopTime + 10)){  \n        digitalWrite(TRIG, LOW);\n        pulseDuration = pulseIn(ECHO,HIGH);\n       int calculatedDistance = (pulseDuration\/2) \/ 29.1;\n        if (calculatedDistance &lt;= 0){\n          return 4444;\n        }\n        if (calculatedDistance &gt; 2000){\n          return 9999;\n        }\n        else {\n          return calculatedDistance;\n        }\n    \n        pingLoopTime = pingCurrentTime; \n      }\n    \n    }\n\nAnother resource I found: [datasheet](http:\/\/www.micropik.com\/PDF\/HCSR04.pdf)\n\nIs my module just bad? Does anyone have any other suggestions for troubleshooting? Any help is greatly appreciated. Thanks\n\n\n**Edit:** Turns out it was a faulty module after all.","meta":"{'source': 'reddit_posts', 'id': '1gaagt', 'title': 'Help with using HC-SR04 ultrasonic module with Arduino Uno', 'author': 'creepyunclejoe', 'subreddit': 'arduino', 'subreddit_id': '2qknj', 'body': \"So I got the HC-SR04 with the goal of eventually swapping out the included transducers with my own waterproof ones to use for an underwater system. However, though I thought this module would be pretty much plug and play, it has given me much more grief and I've spent the better part of two days trying to debug.\\n\\nThe issue is basically that no matter what code I use (see [NewPing](https:\/\/code.google.com\/p\/arduino-new-ping\/), and [this comment](http:\/\/www.reddit.com\/r\/arduino\/comments\/1e4fg8\/ultrasonic_sensor_weird_values_error_or\/c9x4dm3)) I get return values of zero. Interestingly, when I touch the receiver it returns meaningless values instead of zero, but I have checked all of my grounds repeatedly, and have set up and torn down the circuit multiple times to check myself.\\n\\nI also have an oscilloscope at my disposal to use to debug, but what I see doesn't seem to make sense with the code. For example, with this code below, modified from the comment above, you would expect to see some kind of major event just about every 500ms when anazlyzing the trigger pin, but instead it's just a fuzzy, noisy, flat line signal. Zoomed in, there appears to be a pattern corresponding to the digital high output of the desired 10us pulse, but nothing in the code seems to change the frequency of the pulse.\\n\\n    #define TRIG  11\\n    #define ECHO  12 \\n    \\n    void setup() {\\n   \\n      Serial.begin(9600);\\n    }\\n    \\n    void loop() {\\n      delay(500);\\n      int dist = ping();\\n      Serial.println(dist); \\n    }\\n    \\n    int ping(){\\n      unsigned long pingLoopTime;\\n      unsigned long pingCurrentTime;\\n      int pulseDuration; \\n      digitalWrite(TRIG, HIGH);\\n      pingCurrentTime = millis();\\n      if(pingCurrentTime &gt;= (pingLoopTime + 10)){  \\n        digitalWrite(TRIG, LOW);\\n        pulseDuration = pulseIn(ECHO,HIGH);\\n       int calculatedDistance = (pulseDuration\/2) \/ 29.1;\\n        if (calculatedDistance &lt;= 0){\\n          return 4444;\\n        }\\n        if (calculatedDistance &gt; 2000){\\n          return 9999;\\n        }\\n        else {\\n          return calculatedDistance;\\n        }\\n    \\n        pingLoopTime = pingCurrentTime; \\n      }\\n    \\n    }\\n\\nAnother resource I found: [datasheet](http:\/\/www.micropik.com\/PDF\/HCSR04.pdf)\\n\\nIs my module just bad? Does anyone have any other suggestions for troubleshooting? Any help is greatly appreciated. Thanks\\n\\n\\n**Edit:** Turns out it was a faulty module after all.\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 5, 'created_utc': 1371149665}"}
{"id":"1985950","text":"Title: Completely new to programming\nThe text below was posted in an online community called learnprogramming in the year 2022:\n\nIm just learning HTML now and Im trying to learn it in the most efficient way possible. Should I be noting down a list of the elements that I learn, should I keep a full list of elements online as a reference, or simply practice remembering them? I have no idea how it usually works. Thanks","meta":"{'source': 'reddit_posts', 'id': 'sdhgj8', 'title': 'Completely new to programming', 'author': 'Salt-Echo-7867', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'Im just learning HTML now and Im trying to learn it in the most efficient way possible. Should I be noting down a list of the elements that I learn, should I keep a full list of elements online as a reference, or simply practice remembering them? I have no idea how it usually works. Thanks', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 9, 'created_utc': 1643233863}"}
{"id":"1118760","text":"Title: Gopher2600 - Atari2600 emulator written in Go\nThe text below was posted in an online community called golang in the year 2021:\n\nI've mentioned this project before on r\/golang but it's come a long way since then and I thought people might like to have another sherrycarey@example.net. \n\nAs the title says it is an Atari2600 emulator written in Go. It uses SDL and a Go wrapper library for Dear Imgui.\n\nThe project can be found on [Github](https:\/\/github.com\/JetSetIlly\/Gopher2600) and has an extensive README. The headline features are:\n\n* Accurate 2600 emulation supporting most cartridge formats\n* ARM7TDMI emulation for Harmony cartridge support\n* Graphical debugger for development work\n* CRT effects (configurable)\n* Rewindable emulation (debugger only for now)\n\nYou can find 2600 ROMs on [archive.org](https:\/\/archive.org\/details\/atari_2600_library). And if you want to see the ARM emulation in action then I would also recommend the demo ROMs from [Champ Games](https:\/\/champ.games\/downloads).\n\nMy next step is to spend some time reorganising the packages in the project. Some poor decisions were made in the early days and so ironing these wrinkles out should make adding features easier going forward.\n\nNote that the upcoming version of Go 1.17 will improve performance of this project by about 8%. I've been testing with gotip and the improvement is noticeable.\n\nEnjoy!","meta":"{'source': 'reddit_posts', 'id': 'nfikbw', 'title': 'Gopher2600 - Atari2600 emulator written in Go', 'author': 'JetSetIlly', 'subreddit': 'golang', 'subreddit_id': '2rc7j', 'body': \"I've mentioned this project before on r\/golang but it's come a long way since then and I thought people might like to have another look at it. \\n\\nAs the title says it is an Atari2600 emulator written in Go. It uses SDL and a Go wrapper library for Dear Imgui.\\n\\nThe project can be found on [Github](https:\/\/github.com\/JetSetIlly\/Gopher2600) and has an extensive README. The headline features are:\\n\\n* Accurate 2600 emulation supporting most cartridge formats\\n* ARM7TDMI emulation for Harmony cartridge support\\n* Graphical debugger for development work\\n* CRT effects (configurable)\\n* Rewindable emulation (debugger only for now)\\n\\nYou can find 2600 ROMs on [archive.org](https:\/\/archive.org\/details\/atari_2600_library). And if you want to see the ARM emulation in action then I would also recommend the demo ROMs from [Champ Games](https:\/\/champ.games\/downloads).\\n\\nMy next step is to spend some time reorganising the packages in the project. Some poor decisions were made in the early days and so ironing these wrinkles out should make adding features easier going forward.\\n\\nNote that the upcoming version of Go 1.17 will improve performance of this project by about 8%. I've been testing with gotip and the improvement is noticeable.\\n\\nEnjoy!\", 'body_is_trimmed': False, 'score': 63, 'over_18': False, 'num_comments': 5, 'created_utc': 1621363300}"}
{"id":"1473249","text":"Title: Is React Server only a fancy templating language or can it do the same things React DOM can?\nThe text below was posted in an online community called reactjs in the year 2017:\n\nI understand that React Server is for server side rendering, however I don't understand what this means for input validation.\n\nFor instance, I would set the user input to a state, then validate the state, and render should display the errors if the input is invalid. With client side rendering React, I can do this no problem. \n\nCan I do this with React Server or is it just a templating language? Can I keep states *after* the HTML has been rendered? If I want live validation (client side validation without performing requests to the server), do I have to make a separate client side React or will React Server be enough?","meta":"{'source': 'reddit_posts', 'id': '7ksw07', 'title': 'Is React Server only a fancy templating language or can it do the same things React DOM can?', 'author': 'MyPhallicObject', 'subreddit': 'reactjs', 'subreddit_id': '2zldd', 'body': \"I understand that React Server is for server side rendering, however I don't understand what this means for input validation.\\n\\nFor instance, I would set the user input to a state, then validate the state, and render should display the errors if the input is invalid. With client side rendering React, I can do this no problem. \\n\\nCan I do this with React Server or is it just a templating language? Can I keep states *after* the HTML has been rendered? If I want live validation (client side validation without performing requests to the server), do I have to make a separate client side React or will React Server be enough?\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 2, 'created_utc': 1513685580}"}
{"id":"1281375","text":"Title: New homepage scroll and search button\nThe text below was posted in an online community called ios in the year 2022:\n\nfor the new iOS 16 users you can disable the behavior of the new search pill button by going to settings-&gt;home screen-&gt;search and set the show on home screen toggle to off, it restores it back to the original swipe down for spotlight and drag on the dots to scroll pages\n\nedit: per u\/thenitram24; to clarify swipe down for spotlight is always available","meta":"{'source': 'reddit_posts', 'id': 'xc2w9x', 'title': 'New homepage scroll and search button', 'author': 'picklepoo518', 'subreddit': 'ios', 'subreddit_id': '2ru5b', 'body': 'for the new iOS 16 users you can disable the behavior of the new search pill button by going to settings-&gt;home screen-&gt;search and set the show on home screen toggle to off, it restores it back to the original swipe down for spotlight and drag on the dots to scroll pages\\n\\nedit: per u\/thenitram24; to clarify swipe down for spotlight is always available', 'body_is_trimmed': False, 'score': 52, 'over_18': False, 'num_comments': 7, 'created_utc': 1662955779}"}
{"id":"671199","text":"Title: Script to change user password fails at boot\nThe text below was posted in an online community called PowerShell in the year 2020:\n\nI have a script which runs during first start of a GCE VM.\n\nSnippet looks like:\n\n&amp;#x200B;\n\n    $chars = [char[]]\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\"\n    $clearpw = [string](($chars[0..25]|Get-Random)+(($chars|Get-Random -Count 24) -join \"\"))\n    $pwd= convertto-securestring \"$clearpw\" -AsPlainText -Force\n    $UserAccount = Get-LocalUser -Name \"myuser\"\n    \"myuser\" | Set-LocalUser -Password $pwd\n\nFor whatever reason this does not reset the password. When running after the VM has started it seems to work however.\n\nAny ideas? I can't see any output during boot. Maybe the user gets setup just when I rdp in the first time.","meta":"{'source': 'reddit_posts', 'id': 'iavrnx', 'title': 'Script to change user password fails at boot', 'author': 'Bubbly_Plate840', 'subreddit': 'PowerShell', 'subreddit_id': '2qo1o', 'body': 'I have a script which runs during first start of a GCE VM.\\n\\nSnippet looks like:\\n\\n&amp;#x200B;\\n\\n    $chars = [char[]]\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\"\\n    $clearpw = [string](($chars[0..25]|Get-Random)+(($chars|Get-Random -Count 24) -join \"\"))\\n    $pwd= convertto-securestring \"$clearpw\" -AsPlainText -Force\\n    $UserAccount = Get-LocalUser -Name \"myuser\"\\n    \"myuser\" | Set-LocalUser -Password $pwd\\n\\nFor whatever reason this does not reset the password. When running after the VM has started it seems to work however.\\n\\nAny ideas? I can\\'t see any output during boot. Maybe the user gets setup just when I rdp in the first time.', 'body_is_trimmed': False, 'score': 9, 'over_18': False, 'num_comments': 9, 'created_utc': 1597596730}"}
{"id":"1992189","text":"Title: [Meta] Posts with the [Bug] Tag should also include whether it's on an insider build or not.\nThe text below was posted in an online community called Windows10 in the year 2016:\n\nUntil recently, I didn't upgrade to Windows 10 because of the seemingly never ending bugs that pop up in this subreddit. \n\nI updated it a couple weeks ago, it couldn't have gone smoother. \n\nIt's okay for memory leaks and inconsistent UI to pop up in the insider builds, that the whole point. I think posts with the bug flair should specify whether the bug was in a stable build or not.","meta":"{'source': 'reddit_posts', 'id': '4g3c6y', 'title': \"[Meta] Posts with the [Bug] Tag should also include whether it's on an insider build or not.\", 'author': 'devandro', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': \"Until recently, I didn't upgrade to Windows 10 because of the seemingly never ending bugs that pop up in this subreddit. \\n\\nI updated it a couple weeks ago, it couldn't have gone smoother. \\n\\nIt's okay for memory leaks and inconsistent UI to pop up in the insider builds, that the whole point. I think posts with the bug flair should specify whether the bug was in a stable build or not.\", 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 2, 'created_utc': 1461415600}"}
{"id":"520315","text":"Title: Does anyone know how to resize image using billnear filtering?\nThe text below was posted in an online community called swift in the year 2018:\n\nI'm trying to mimic the PIL method (Python PIL) which seems to resize using chosen interpolation methods.\n\nI looked at CIImage which allows you to chose interpolation method, but I can't seem to resize based on a interpolation method.\n\nhttps:\/\/developer.apple.com\/documentation\/coreimage\/ciimage\/2867346-imagebysamplinglinear?language=objc\n\nIt seems I can only use interpolation methods on current size. \n\nI also ran into examples using  `UIGraphicsBeginImageContextWithOptions(size, true, self.scale)`, but I can't seem to resize using an interpolation method.\n\nBeen at this for a few days, I can't figure it out :(","meta":"{'source': 'reddit_posts', 'id': '9dbi5j', 'title': 'Does anyone know how to resize image using billnear filtering?', 'author': 'Moondra2017', 'subreddit': 'swift', 'subreddit_id': '2z6zi', 'body': \"I'm trying to mimic the PIL method (Python PIL) which seems to resize using chosen interpolation methods.\\n\\nI looked at CIImage which allows you to chose interpolation method, but I can't seem to resize based on a interpolation method.\\n\\nhttps:\/\/developer.apple.com\/documentation\/coreimage\/ciimage\/2867346-imagebysamplinglinear?language=objc\\n\\nIt seems I can only use interpolation methods on current size. \\n\\nI also ran into examples using  `UIGraphicsBeginImageContextWithOptions(size, true, self.scale)`, but I can't seem to resize using an interpolation method.\\n\\nBeen at this for a few days, I can't figure it out :(\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': 1536184872}"}
{"id":"2224076","text":"Title: Archiving bookmarked pages?\nThe text below was posted in an online community called firefox in the year 2022:\n\nHi!\n\nIs there a way to make sure all my bookmarked pages are saved in the Wayback Machine ([archive.org](https:\/\/archive.org))? It's disappointing when I bookmark a page and come back to it at a later date only to find it's missing and was not captured in the archive. So it's gone forever. Going manually through my bookmarks would take an eternity. Maybe an add-on? I found one for archiving current web pages, but nothing for bookmarks.","meta":"{'source': 'reddit_posts', 'id': 'sq1rlw', 'title': 'Archiving bookmarked pages?', 'author': 'Phratros', 'subreddit': 'firefox', 'subreddit_id': '2qh4p', 'body': \"Hi!\\n\\nIs there a way to make sure all my bookmarked pages are saved in the Wayback Machine ([archive.org](https:\/\/archive.org))? It's disappointing when I bookmark a page and come back to it at a later date only to find it's missing and was not captured in the archive. So it's gone forever. Going manually through my bookmarks would take an eternity. Maybe an add-on? I found one for archiving current web pages, but nothing for bookmarks.\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 1, 'created_utc': 1644592656}"}
{"id":"691418","text":"Title: Question about Python Library for Google Search\nThe text below was posted in an online community called learnpython in the year 2015:\n\nCompletely new to Python and programming in general. My apologies if this is not the right sub for these kind of questions.\n\nI am trying to get Python to (1) take input from a text file with about 80 queries, (2) run these one after another through Google Search, (3) scrape the URL of the top result, (4) output this URL in a .txt file.\n\nTo do so, I'm using a [Python Library for Google Search](http:\/\/www.catonmat.net\/blog\/python-library-for-google-search\/). I'm aware that this library is not maintained anymore, but it still seems to be working properly.\n\nhere's the xgoogle program I'm trying to run:\n\n    from xgoogle.search import GoogleSearch, SearchError\n    try:\n        with open('output.txt', 'w') as outfile, open('input.txt', 'r') as infile:\n            while 1:\n                query = infile.readline()\n                if not query:\n                    break\n                gs = GoogleSearch(query)\n                gs.results_per_page = 1\n                results = gs.get_results()\n                for res in results:   \n                    outfile.write(res.url.encode(\"utf8\") + \"\\n\\n\")\n\n    except SearchError, e:\n        print \"Search failed: %s\" % e\n\nTo test the program, I have an input file consisting of 10 terms. For some reason, when I set gs.result_per_page = 1, it will only return 2 URLs. I want it to take the URL of the first result in Google Search 10 times, one after another (hope that makes sense).\n\nAnybody an idea how to do this?","meta":"{'source': 'reddit_posts', 'id': '3ayr1r', 'title': 'Question about Python Library for Google Search', 'author': 'kuis01', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': 'Completely new to Python and programming in general. My apologies if this is not the right sub for these kind of questions.\\n\\nI am trying to get Python to (1) take input from a text file with about 80 queries, (2) run these one after another through Google Search, (3) scrape the URL of the top result, (4) output this URL in a .txt file.\\n\\nTo do so, I\\'m using a [Python Library for Google Search](http:\/\/www.catonmat.net\/blog\/python-library-for-google-search\/). I\\'m aware that this library is not maintained anymore, but it still seems to be working properly.\\n\\nhere\\'s the xgoogle program I\\'m trying to run:\\n\\n    from xgoogle.search import GoogleSearch, SearchError\\n    try:\\n        with open(\\'output.txt\\', \\'w\\') as outfile, open(\\'input.txt\\', \\'r\\') as infile:\\n            while 1:\\n                query = infile.readline()\\n                if not query:\\n                    break\\n                gs = GoogleSearch(query)\\n                gs.results_per_page = 1\\n                results = gs.get_results()\\n                for res in results:   \\n                    outfile.write(res.url.encode(\"utf8\") + \"\\\\n\\\\n\")\\n\\n    except SearchError, e:\\n        print \"Search failed: %s\" % e\\n\\nTo test the program, I have an input file consisting of 10 terms. For some reason, when I set gs.result_per_page = 1, it will only return 2 URLs. I want it to take the URL of the first result in Google Search 10 times, one after another (hope that makes sense).\\n\\nAnybody an idea how to do this?', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 1, 'created_utc': '1435161986'}"}
{"id":"1867226","text":"Title: The maths behind SimCity\nThe text below was posted in an online community called gamedev in the year 2014:\n\nI am interested in making a SimCity-like game, for my portfolio, and I would like to have an idea of the maths they used for the game logic (basically, for the simulation itself). I have seen some resources about that, but I was wondering, is there anything in-depth (to some degree) about SimCity's math\/city simulation maths? Thanks.","meta":"{'source': 'reddit_posts', 'id': '2p7qbk', 'title': 'The maths behind SimCity', 'author': 'InsanityRoach', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': \"I am interested in making a SimCity-like game, for my portfolio, and I would like to have an idea of the maths they used for the game logic (basically, for the simulation itself). I have seen some resources about that, but I was wondering, is there anything in-depth (to some degree) about SimCity's math\/city simulation maths? Thanks.\", 'body_is_trimmed': False, 'score': 82, 'over_18': False, 'num_comments': 31, 'created_utc': '1418514029'}"}
{"id":"709260","text":"Title: I created 8 dashboard templates built with Tailwind CSS for React, Next.js, Vue and Nuxt\nThe text below was posted in an online community called Frontend in the year 2021:\n\nHey guys, i have been working on building free beautiful dashboard templates for React, Next.js, Vue and Nuxt with Tailwind CSS. they are fully customizable.\n\n[Website](https:\/\/www.salvia-kit.com\/)\n\n[Github](https:\/\/github.com\/salvia-kit\/salvia-kit-website)\n\n[Salvia-kit dashboard v4](https:\/\/preview.redd.it\/jdn0u21wzlc71.jpg?width=1280&amp;format=pjpg&amp;auto=webp&amp;s=e1e715aab01e65fbce5ee590ac115bd930642b90)\n\n**Features**\n\n* Support of the active route (styled by default).\n* Fully customizable and without external dependencies.\n* No vendor lock-in, you can export it and integrate it in your project.\n* Sidenav aligned left or right according to your preferences (on mobile).\n* A detailled documentation.\n\n**No vendor lock-in**\n\nSalvia-kit is created to solve a problem I often encountered when using dashboards owned by third party developers or companies. that is vendor lock-in.\n\nThese dashboards often contained many configurations with several scripts, which still did not allow to export them and integrate them easily into an existing project. Therefore, it was always necessary to use the repository provided by the owner of the dashboard.\n\nThis is what motivated me to create dashboards that can be easily integrated into existing projects with simple, readable code and documentation designed for developers.","meta":"{'source': 'reddit_posts', 'id': 'oovxz8', 'title': 'I created 8 dashboard templates built with Tailwind CSS for React, Next.js, Vue and Nuxt', 'author': 'viedeter', 'subreddit': 'Frontend', 'subreddit_id': '2sr2y', 'body': 'Hey guys, i have been working on building free beautiful dashboard templates for React, Next.js, Vue and Nuxt with Tailwind CSS. they are fully customizable.\\n\\n[Website](https:\/\/www.salvia-kit.com\/)\\n\\n[Github](https:\/\/github.com\/salvia-kit\/salvia-kit-website)\\n\\n[Salvia-kit dashboard v4](https:\/\/preview.redd.it\/jdn0u21wzlc71.jpg?width=1280&amp;format=pjpg&amp;auto=webp&amp;s=e1e715aab01e65fbce5ee590ac115bd930642b90)\\n\\n**Features**\\n\\n* Support of the active route (styled by default).\\n* Fully customizable and without external dependencies.\\n* No vendor lock-in, you can export it and integrate it in your project.\\n* Sidenav aligned left or right according to your preferences (on mobile).\\n* A detailled documentation.\\n\\n**No vendor lock-in**\\n\\nSalvia-kit is created to solve a problem I often encountered when using dashboards owned by third party developers or companies. that is vendor lock-in.\\n\\nThese dashboards often contained many configurations with several scripts, which still did not allow to export them and integrate them easily into an existing project. Therefore, it was always necessary to use the repository provided by the owner of the dashboard.\\n\\nThis is what motivated me to create dashboards that can be easily integrated into existing projects with simple, readable code and documentation designed for developers.', 'body_is_trimmed': False, 'score': 115, 'over_18': False, 'num_comments': 9, 'created_utc': 1626892230}"}
{"id":"742326","text":"Title: How do I nontemporarily allow notfications?\nThe text below was posted in an online community called firefox in the year 2019:\n\nI allowed Reddit to send me notifications but it says that they are \"temporarily allowed\"","meta":"{'source': 'reddit_posts', 'id': 'bw0phi', 'title': 'How do I nontemporarily allow notfications?', 'author': 'Stevedercoole', 'subreddit': 'firefox', 'subreddit_id': '2qh4p', 'body': 'I allowed Reddit to send me notifications but it says that they are \"temporarily allowed\"', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 6, 'created_utc': 1559501099}"}
{"id":"2423822","text":"Title: Opening .jar files\nThe text below was posted in an online community called javahelp in the year 2022:\n\nI am trying to download a .jar file, but java will not open to let me download it, ive reinstalled the jdk, but when i click open with, it doesnt show up and the application will not open. I havent had this issue before","meta":"{'source': 'reddit_posts', 'id': 'v1ssj4', 'title': 'Opening .jar files', 'author': '86Aspect', 'subreddit': 'javahelp', 'subreddit_id': '2t1jq', 'body': 'I am trying to download a .jar file, but java will not open to let me download it, ive reinstalled the jdk, but when i click open with, it doesnt show up and the application will not open. I havent had this issue before', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1654010698}"}
{"id":"1651158","text":"Title: Primer for security?\nThe text below was posted in an online community called aws in the year 2016:\n\nHave a customer with a Magento site rogerstiffany@example.net. The people that set it up and were managing it have fallen out of favor with the owners and now I need to give a new vendor access. I'm not really sure where to begin. Been told I need to add their IP addresses to the access list. \n\nI know very little about AWS. The only thing I had access to was Route 53 and now I have access to everything. I'm sure there is more than just adding IP addresses to an access list.","meta":"{'source': 'reddit_posts', 'id': '4ny6g3', 'title': 'Primer for security?', 'author': 'Mvalpreda', 'subreddit': 'aws', 'subreddit_id': '2qh84', 'body': \"Have a customer with a Magento site running at AWS. The people that set it up and were managing it have fallen out of favor with the owners and now I need to give a new vendor access. I'm not really sure where to begin. Been told I need to add their IP addresses to the access list. \\n\\nI know very little about AWS. The only thing I had access to was Route 53 and now I have access to everything. I'm sure there is more than just adding IP addresses to an access list.\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 9, 'created_utc': 1465856255}"}
{"id":"1911177","text":"Title: Is there a website that gives you projects to practice on?\nThe text below was posted in an online community called learnprogramming in the year 2020:\n\nStarted teaching myself back in June but fell off because it just felt like I was going through the motions with a Udemy course. Trying to get back into it now though. Reading Ducketts HTML &amp; CSS book and going to hop back on Udemy, but was wondering if theres a resource that gives practice projects so that Im actively working on something instead of feeling like Im doing a copy and paste tutorial.","meta":"{'source': 'reddit_posts', 'id': 'is236k', 'title': 'Is there a website that gives you projects to practice on?', 'author': 'yesTHATvelociraptor', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'Started teaching myself back in June but fell off because it just felt like I was going through the motions with a Udemy course. Trying to get back into it now though. Reading Ducketts HTML &amp; CSS book and going to hop back on Udemy, but was wondering if theres a resource that gives practice projects so that Im actively working on something instead of feeling like Im doing a copy and paste tutorial.', 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 5, 'created_utc': 1600016875}"}
{"id":"2039725","text":"Title: How to play sounds from an ocean surrounding an island\nThe text below was posted in an online community called Unity3D in the year 2019:\n\nHey guys,\n\n&amp;#x200B;\n\nI have a big island surrounded by ocean and Im wondering whats the best way to play ocean sound when the player gets close to the ocean. I can only think of manually placing tens of audio sources around the island, but it's a tedious work and I'm looking for something more effective. Is there an asset that allows us to draw the shape of the audio source or something like that?","meta":"{'source': 'reddit_posts', 'id': 'bb7p7t', 'title': 'How to play sounds from an ocean surrounding an island', 'author': 'skinwalkerz', 'subreddit': 'Unity3D', 'subreddit_id': '2qwj8', 'body': \"Hey guys,\\n\\n&amp;#x200B;\\n\\nI have a big island surrounded by ocean and Im wondering whats the best way to play ocean sound when the player gets close to the ocean. I can only think of manually placing tens of audio sources around the island, but it's a tedious work and I'm looking for something more effective. Is there an asset that allows us to draw the shape of the audio source or something like that?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 6, 'created_utc': 1554815094}"}
{"id":"61664","text":"Title: Quickest way to kill a Windows 2000 box - request from client\nThe text below was posted in an online community called windows in the year 2017:\n\nWe've got a large client that is holding onto three Windows 2000 workstations. Their assigned account manager has been pressuring this company to replace them for years. They finally gave in this week when their management changed, but gave him a challenge: Find a single command to run within the OS that will break it on reboot, or a single file that can be deleted that will break it on reboot.\n\nKeep in mind that the entire rest of this client's network is an SBS 2011 server environment with all other desktops and laptops upgraded to Windows 10.","meta":"{'source': 'reddit_posts', 'id': '5ngc3q', 'title': 'Quickest way to kill a Windows 2000 box - request from client', 'author': 'VulturE', 'subreddit': 'windows', 'subreddit_id': '2qh3k', 'body': \"We've got a large client that is holding onto three Windows 2000 workstations. Their assigned account manager has been pressuring this company to replace them for years. They finally gave in this week when their management changed, but gave him a challenge: Find a single command to run within the OS that will break it on reboot, or a single file that can be deleted that will break it on reboot.\\n\\nKeep in mind that the entire rest of this client's network is an SBS 2011 server environment with all other desktops and laptops upgraded to Windows 10.\", 'body_is_trimmed': False, 'score': 18, 'over_18': False, 'num_comments': 16, 'created_utc': 1484184299}"}
{"id":"1649148","text":"Title: What kind of projects have those of you in the computer science\/ software engineering field worked on?\nThe text below was posted in an online community called computerscience in the year 2019:\n\nIm curious what projects\/ coding those of you in the computer science\/ software engineering field have been assigned to work on. Feel free to share anything else that might be related. Thanks!","meta":"{'source': 'reddit_posts', 'id': 'dl57eq', 'title': 'What kind of projects have those of you in the computer science\/ software engineering field worked on?', 'author': 'civ10', 'subreddit': 'computerscience', 'subreddit_id': '2qj8o', 'body': 'Im curious what projects\/ coding those of you in the computer science\/ software engineering field have been assigned to work on. Feel free to share anything else that might be related. Thanks!', 'body_is_trimmed': False, 'score': 12, 'over_18': False, 'num_comments': 7, 'created_utc': 1571684657}"}
{"id":"1199865","text":"Title: Trouble Running GUI\nThe text below was posted in an online community called learnjava in the year 2018:\n\nI created a simple java program that takes input and puts it in a formula bypassing a bunch of awkward math punctuation.\n\nWanted to make a project of it and see what it's like to create an executable GUI that I could share with others. \n\nGoogled a generic GUI file template, edited some parameters and boom \"I'm in\". I'm having trouble making it run as an executable though.\n\n&amp;#x200B;\n\n**Runs from the command line no problem.**   \nCreated \"**Source**\" + \"**Classes**\" Files in Directory \"**MathFormulaGUI**\".   \nUsed CLI for jar creation. It generated fine, but the actual jar file will not execute with double click.   \n\n\nAlert : **Could not be launched see console for more...**  \n\n\nExecutes from CLI with following command:  \n**java -jar ...\/MathFormulaGUI\/classes\/MathFormulaGUI.jar**  \n\n\nBrand new computer, just installed JDK latest version earlier this week.  \njava -version  \njava version \"11.0.1\" 2018-10-16 LTS  \nJava(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS  \n)Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)\n\n  \nGetting this error in sys log:\n\n**java\\[15975\\]: DEPRECATED USE in libdispatch client: dispatch source activated with no event handler set; set a breakpoint on \\_dispatch\\_bug\\_deprecated to debug**\n\nI couldn't find anything on StackOverflow. The template I used seemed older. I'm using atom to edit, none of my programs so far have been complicated enough to debug beyond basic syntax stuff. Should I look for a debug tool in the app? Any other ideas?\n\nI would appreciate any help.  \n\n\n&amp;#x200B;","meta":"{'source': 'reddit_posts', 'id': '9yeuyk', 'title': 'Trouble Running GUI', 'author': 'arctic_cobra0109', 'subreddit': 'learnjava', 'subreddit_id': '2saos', 'body': 'I created a simple java program that takes input and puts it in a formula bypassing a bunch of awkward math punctuation.\\n\\nWanted to make a project of it and see what it\\'s like to create an executable GUI that I could share with others. \\n\\nGoogled a generic GUI file template, edited some parameters and boom \"I\\'m in\". I\\'m having trouble making it run as an executable though.\\n\\n&amp;#x200B;\\n\\n**Runs from the command line no problem.**   \\nCreated \"**Source**\" + \"**Classes**\" Files in Directory \"**MathFormulaGUI**\".   \\nUsed CLI for jar creation. It generated fine, but the actual jar file will not execute with double click.   \\n\\n\\nAlert : **Could not be launched see console for more...**  \\n\\n\\nExecutes from CLI with following command:  \\n**java -jar ...\/MathFormulaGUI\/classes\/MathFormulaGUI.jar**  \\n\\n\\nBrand new computer, just installed JDK latest version earlier this week.  \\njava -version  \\njava version \"11.0.1\" 2018-10-16 LTS  \\nJava(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS  \\n)Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)\\n\\n  \\nGetting this error in sys log:\\n\\n**java\\\\[15975\\\\]: DEPRECATED USE in libdispatch client: dispatch source activated with no event handler set; set a breakpoint on \\\\_dispatch\\\\_bug\\\\_deprecated to debug**\\n\\nI couldn\\'t find anything on StackOverflow. The template I used seemed older. I\\'m using atom to edit, none of my programs so far have been complicated enough to debug beyond basic syntax stuff. Should I look for a debug tool in the app? Any other ideas?\\n\\nI would appreciate any help.  \\n\\n\\n&amp;#x200B;', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 0, 'created_utc': 1542615239}"}
{"id":"2314488","text":"Title: The top 5 advanced Python highly rated free courses On Udemy with real-world projects.\nThe text below was posted in an online community called Python in the year 2022:\n\nHello,\n\n&amp;#x200B;\n\n[Top 5 Python free courses](https:\/\/preview.redd.it\/9p3qq8gacbp81.png?width=1024&amp;format=png&amp;auto=webp&amp;s=b225e18de619f201c4aa711d229a72b5a7704aa2)\n\n**The top 5 Python highly rated free courses On Udemy with real-world projects.**\n\n[Course1: Applied Deep Learning Build a Chatbot Theory And Application.](https:\/\/www.udemy.com\/course\/applied-deep-learning-build-a-chatbot-theory-application\/)\n\n[Course2: Master Data Analysis with Python Intro to Pandas.](https:\/\/www.udemy.com\/course\/master-data-analysis-with-python-intro-to-pandas\/)\n\n[Course3: Machine Learning Crash Course for Beginners.](https:\/\/www.udemy.com\/course\/easy-machine-learning\/)\n\n[Course4: The Art of Doing Video Game Basics with Python and Pygame](https:\/\/www.udemy.com\/course\/the-art-of-doing-video-game-basics-with-python-and-pygame\/).\n\n[Course5: Master Data Analysis with Python  Selecting Subsets of Data.](https:\/\/www.udemy.com\/course\/master-data-analysis-with-python-selecting-subsets-of-data\/)\n\nThe Courses List:\n\n[https:\/\/netslovers.com\/2022\/03\/17\/advanced-python-free-courses-udemy\/?feed\\_id=277&amp;\\_unique\\_id=623390a11ddad](https:\/\/netslovers.com\/2022\/03\/17\/advanced-python-free-courses-udemy\/?feed_id=277&amp;_unique_id=623390a11ddad)\n\nI hope you found this post helpful.","meta":"{'source': 'reddit_posts', 'id': 'tkuqsi', 'title': 'The top 5 advanced Python highly rated free courses On Udemy with real-world projects.', 'author': 'Soonysose', 'subreddit': 'Python', 'subreddit_id': '2qh0y', 'body': 'Hello,\\n\\n&amp;#x200B;\\n\\n[Top 5 Python free courses](https:\/\/preview.redd.it\/9p3qq8gacbp81.png?width=1024&amp;format=png&amp;auto=webp&amp;s=b225e18de619f201c4aa711d229a72b5a7704aa2)\\n\\n**The top 5 Python highly rated free courses On Udemy with real-world projects.**\\n\\n[Course1: Applied Deep Learning Build a Chatbot Theory And Application.](https:\/\/www.udemy.com\/course\/applied-deep-learning-build-a-chatbot-theory-application\/)\\n\\n[Course2: Master Data Analysis with Python Intro to Pandas.](https:\/\/www.udemy.com\/course\/master-data-analysis-with-python-intro-to-pandas\/)\\n\\n[Course3: Machine Learning Crash Course for Beginners.](https:\/\/www.udemy.com\/course\/easy-machine-learning\/)\\n\\n[Course4: The Art of Doing Video Game Basics with Python and Pygame](https:\/\/www.udemy.com\/course\/the-art-of-doing-video-game-basics-with-python-and-pygame\/).\\n\\n[Course5: Master Data Analysis with Python  Selecting Subsets of Data.](https:\/\/www.udemy.com\/course\/master-data-analysis-with-python-selecting-subsets-of-data\/)\\n\\nThe Courses List:\\n\\n[https:\/\/netslovers.com\/2022\/03\/17\/advanced-python-free-courses-udemy\/?feed\\\\_id=277&amp;\\\\_unique\\\\_id=623390a11ddad](https:\/\/netslovers.com\/2022\/03\/17\/advanced-python-free-courses-udemy\/?feed_id=277&amp;_unique_id=623390a11ddad)\\n\\nI hope you found this post helpful.', 'body_is_trimmed': False, 'score': 453, 'over_18': False, 'num_comments': 45, 'created_utc': 1648044502}"}
{"id":"1033278","text":"Title: How do employers use Hackerrank to evaluate candidates during phone screening?\nThe text below was posted in an online community called cscareerquestions in the year 2017:\n\nTLDR - Confused about how employers use Hackerrank to evaluate candidate. I want to know if I am focusing on the right things when I get interviewed using hackerrank.\n\n---\n\nI went through two phone screenings that involved live Hackerrank session. I thought I did well in them, but I was rejected from both. I am wondering if I am misunderstanding how employers use Hackerrank evaluate the candidates. I'll describe how the phone screenings went.\n\nPhone screening on hackerrank with company X\n\nWe talked for 10 about his background and my background. I was asked to join Hackerrank session clicking a Hackerrank URL. He gave me a question, I think in the scratchpad. In retrospect, I think I forgot to select the language I am using to code. But I coded as if I am coding on a notepad. Anyways, I asked some questions about input, output, and checked my assumptions. I postulated dumb algorithm and refined it to the best algorithm to solve the problem. I wrote down pseudocode of the algorithm. These pseudocode wasn't commented. So if you were to run this on Hackerrank, I think it would error.\n\nThen I began writing the answer in real code. During the coding session, I would come up with edge cases and continue to refine the answer in code. I didn't know some syntax off my head, and asked if I can code those bits (error handling syntax) in close approximation of the real code and he said it's totally fine. At the end, I used some test cases and continued to fix and improve the answer. The coding session probably took around 30 minutes to finish. I didn't actually ran the code on Hackerrank. I talked to the interview, this is my final answer and he's like cool, I think that would work and we moved on to me asked him some questions about the company for 5 minutes. Then we said our good byes.\n\nPhone screening on hackerrank with company Y\n\nThe phone interview went really similar to \"Phone screening on hackerrank with company X\". Only thing different this time is I believe I did select the language I am using to code for syntax highlighting.\n\n---\n\nNow here are my questions.\n\n1. Should I have written fully runnable code that can be run on Hackerrank? I was under the impression that this would be like other interviews where I used to code on simple notepad or google docs. It might not run 100%, but evaluate on the process of algorithms, ability to cover edge cases, able to communicate the problem solving process etc.\n2. Related to 1, do employers expect you to run the code right on Hackerrank and solve for test cases as you go along? Obviously this would mean that I should've selected the language to run the code in.\n3. Does time you spend solving the problem matter? I know I could've solved the problem much faster had I not explained some things as I was writing my code. I wonder if I should've just focused more on getting the answer for the problem.\n\nBasically my fear goes something like this.\n\n- Employers have too many candidates to test.\n- Although they obviously test for behavioral questions and communication of problem solving, they largely measure for two things\n     - Time they spent to solve the problem\n     - The Hackerrank score for the code you've written based on how many test cases it passes\n\n4. Is my fear warranted or is there more to Hackerrank evaluation than that?","meta":"{'source': 'reddit_posts', 'id': '7k2jtx', 'title': 'How do employers use Hackerrank to evaluate candidates during phone screening?', 'author': 'stormtrapper', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': 'TLDR - Confused about how employers use Hackerrank to evaluate candidate. I want to know if I am focusing on the right things when I get interviewed using hackerrank.\\n\\n---\\n\\nI went through two phone screenings that involved live Hackerrank session. I thought I did well in them, but I was rejected from both. I am wondering if I am misunderstanding how employers use Hackerrank evaluate the candidates. I\\'ll describe how the phone screenings went.\\n\\nPhone screening on hackerrank with company X\\n\\nWe talked for 10 about his background and my background. I was asked to join Hackerrank session clicking a Hackerrank URL. He gave me a question, I think in the scratchpad. In retrospect, I think I forgot to select the language I am using to code. But I coded as if I am coding on a notepad. Anyways, I asked some questions about input, output, and checked my assumptions. I postulated dumb algorithm and refined it to the best algorithm to solve the problem. I wrote down pseudocode of the algorithm. These pseudocode wasn\\'t commented. So if you were to run this on Hackerrank, I think it would error.\\n\\nThen I began writing the answer in real code. During the coding session, I would come up with edge cases and continue to refine the answer in code. I didn\\'t know some syntax off my head, and asked if I can code those bits (error handling syntax) in close approximation of the real code and he said it\\'s totally fine. At the end, I used some test cases and continued to fix and improve the answer. The coding session probably took around 30 minutes to finish. I didn\\'t actually ran the code on Hackerrank. I talked to the interview, this is my final answer and he\\'s like cool, I think that would work and we moved on to me asked him some questions about the company for 5 minutes. Then we said our good byes.\\n\\nPhone screening on hackerrank with company Y\\n\\nThe phone interview went really similar to \"Phone screening on hackerrank with company X\". Only thing different this time is I believe I did select the language I am using to code for syntax highlighting.\\n\\n---\\n\\nNow here are my questions.\\n\\n1. Should I have written fully runnable code that can be run on Hackerrank? I was under the impression that this would be like other interviews where I used to code on simple notepad or google docs. It might not run 100%, but evaluate on the process of algorithms, ability to cover edge cases, able to communicate the problem solving process etc.\\n2. Related to 1, do employers expect you to run the code right on Hackerrank and solve for test cases as you go along? Obviously this would mean that I should\\'ve selected the language to run the code in.\\n3. Does time you spend solving the problem matter? I know I could\\'ve solved the problem much faster had I not explained some things as I was writing my code. I wonder if I should\\'ve just focused more on getting the answer for the problem.\\n\\nBasically my fear goes something like this.\\n\\n- Employers have too many candidates to test.\\n- Although they obviously test for behavioral questions and communication of problem solving, they largely measure for two things\\n     - Time they spent to solve the problem\\n     - The Hackerrank score for the code you\\'ve written based on how many test cases it passes\\n\\n4. Is my fear warranted or is there more to Hackerrank evaluation than that?', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 6, 'created_utc': 1513371321}"}
{"id":"141329","text":"Title: When is it appropriate to ask for a promotion after getting a surprise raise?\nThe text below was posted in an online community called cscareerquestions in the year 2016:\n\nSo to cut to the chase: I've been working at my first job now for a little over a year now and I've made a good impression over that year. To the point where I got a small 3% raise and small bonus ~6 months into employment as well as ~%16 raise about a month or two ago. This changed my total salary from 60k to 70k. Both these raises were a bit of a surprise and not explicitly asked for (mainly because I didn't feel like I had any ground to ask for one and I was living comfortably under my previous salaries).\n\nRecently I've taken on a much larger role than what I had been working as in the past year.  I work on a very small team and my leaving the project would be detrimental to it. I am starting to become a ligitimate resource to other developers, and my coding practices and work ethic, in my opinion, are superior to others that hold higher positions than me (though I doubt this would be a good thing to say to a manager).\n\nNow I feel like I have a proper argument to ask for some kind of promotion (our company uses a developer 1, 2, 3, 4, etc. structure) and believe I currently accomplish the responsibilities of a level 2 developer (I am currently a level 1). However, I feel a bit weird asking for such things so shortly after receiving such a substantial raise and was curious if anyone else here has ever been in this situation. Should I wait a few more months to prove myself in this position? Or should I bring it up now to my manager?\n\nThanks for any advice!","meta":"{'source': 'reddit_posts', 'id': '4x64kp', 'title': 'When is it appropriate to ask for a promotion after getting a surprise raise?', 'author': 'EllenIsALesbian', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"So to cut to the chase: I've been working at my first job now for a little over a year now and I've made a good impression over that year. To the point where I got a small 3% raise and small bonus ~6 months into employment as well as ~%16 raise about a month or two ago. This changed my total salary from 60k to 70k. Both these raises were a bit of a surprise and not explicitly asked for (mainly because I didn't feel like I had any ground to ask for one and I was living comfortably under my previous salaries).\\n\\nRecently I've taken on a much larger role than what I had been working as in the past year.  I work on a very small team and my leaving the project would be detrimental to it. I am starting to become a ligitimate resource to other developers, and my coding practices and work ethic, in my opinion, are superior to others that hold higher positions than me (though I doubt this would be a good thing to say to a manager).\\n\\nNow I feel like I have a proper argument to ask for some kind of promotion (our company uses a developer 1, 2, 3, 4, etc. structure) and believe I currently accomplish the responsibilities of a level 2 developer (I am currently a level 1). However, I feel a bit weird asking for such things so shortly after receiving such a substantial raise and was curious if anyone else here has ever been in this situation. Should I wait a few more months to prove myself in this position? Or should I bring it up now to my manager?\\n\\nThanks for any advice!\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 3, 'created_utc': 1470887207}"}
{"id":"778414","text":"Title: Looking for advice - Writing character generator for RPG, looking for advice on how to store character class data\nThe text below was posted in an online community called Python in the year 2017:\n\nI'm fairly new to python. As a youth I played RPGs (like D&amp;D or Rifts). I'm planning to write a program to automate character creation as a practice exercise. It's attractive because I can use the RPG rules instead of inventing my own.\n\nEach character class (CC) obviously shares some commonalities (Str, Int, hit points, skills, etc.). I'm thinking of storing the CC definitions in an external file rather than coding them into the script itself. That way, adding a new CC would be as easy as adding a new definition file. The program would then read the definition files into memory at startup as the templates.\n\nI'm looking for two things:\n1) Feedback on my proposed approach (any pitfalls?)\n2) Advice on which type of file to store the information in (JSON file?)","meta":"{'source': 'reddit_posts', 'id': '6zosur', 'title': 'Looking for advice - Writing character generator for RPG, looking for advice on how to store character class data', 'author': 'redreadhubris', 'subreddit': 'Python', 'subreddit_id': '2qh0y', 'body': \"I'm fairly new to python. As a youth I played RPGs (like D&amp;D or Rifts). I'm planning to write a program to automate character creation as a practice exercise. It's attractive because I can use the RPG rules instead of inventing my own.\\n\\nEach character class (CC) obviously shares some commonalities (Str, Int, hit points, skills, etc.). I'm thinking of storing the CC definitions in an external file rather than coding them into the script itself. That way, adding a new CC would be as easy as adding a new definition file. The program would then read the definition files into memory at startup as the templates.\\n\\nI'm looking for two things:\\n1) Feedback on my proposed approach (any pitfalls?)\\n2) Advice on which type of file to store the information in (JSON file?)\", 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 20, 'created_utc': 1505240355}"}
{"id":"1174359","text":"Title: Wearable to Phone to RaspberryPi Bluetooth communication\nThe text below was posted in an online community called androiddev in the year 2017:\n\nHello everyone, \n\nI'd like to know if it is possible to receive Bluetooth data from a wearable using MessageApi.MessageListener and also send the same received data to a pi using BluetoothSocket, concurrently.\n\nI have one app that gets sensor data from the wearable and shows it on the phone via bluetooth. I have another app that can send serial data to the pi via bluetooth.\n\nWhen I try to use both methods concurrently in a single app it stops working, how would you approach this problem and is it possible to communicate concurrently in this way?\n\nMuch thanks!","meta":"{'source': 'reddit_posts', 'id': '5q7ztn', 'title': 'Wearable to Phone to RaspberryPi Bluetooth communication', 'author': 'cameron1993', 'subreddit': 'androiddev', 'subreddit_id': '2r26y', 'body': \"Hello everyone, \\n\\nI'd like to know if it is possible to receive Bluetooth data from a wearable using MessageApi.MessageListener and also send the same received data to a pi using BluetoothSocket, concurrently.\\n\\nI have one app that gets sensor data from the wearable and shows it on the phone via bluetooth. I have another app that can send serial data to the pi via bluetooth.\\n\\nWhen I try to use both methods concurrently in a single app it stops working, how would you approach this problem and is it possible to communicate concurrently in this way?\\n\\nMuch thanks!\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 3, 'created_utc': 1485401091}"}
{"id":"1196354","text":"Title: Would you try this?\nThe text below was posted in an online community called linux in the year 2022:\n\nWould you try this?\n\nIve been thinking about creating a mystery game that would be centered around a virtual machine. It would either be Linux or an obsolete Windows OS. You could download an image of the operating system and load it up in virtual box. There would be password protected files, saved emails, saved docs and photos. You would have to search the operating system to find hints and clues to unlock files and get direction toward where to look next. There even might be a hidden partition or two. \n\nWould you find this intriguing and give it a shot? It would be free and produced by myself in my free time. \n\nThank you!\n\nEdit: It would be story based! Forgot to add that. Thank you for the commenter who brought that up! :)","meta":"{'source': 'reddit_posts', 'id': 'ulc168', 'title': 'Would you try this?', 'author': 'hylaner', 'subreddit': 'linux', 'subreddit_id': '2qh1a', 'body': 'Would you try this?\\n\\nIve been thinking about creating a mystery game that would be centered around a virtual machine. It would either be Linux or an obsolete Windows OS. You could download an image of the operating system and load it up in virtual box. There would be password protected files, saved emails, saved docs and photos. You would have to search the operating system to find hints and clues to unlock files and get direction toward where to look next. There even might be a hidden partition or two. \\n\\nWould you find this intriguing and give it a shot? It would be free and produced by myself in my free time. \\n\\nThank you!\\n\\nEdit: It would be story based! Forgot to add that. Thank you for the commenter who brought that up! :)', 'body_is_trimmed': False, 'score': 209, 'over_18': False, 'num_comments': 56, 'created_utc': 1652046310}"}
{"id":"294132","text":"Title: Update your AUR python packages\nThe text below was posted in an online community called archlinux in the year 2018:\n\nWith the recent update to Python 3.7 from 3.6 some of my installed packages did not work anymore.\n\nThese are mostly AUR packages which need to be rebuild. To rebuild all necessary packages have a look at the directory `\/usr\/lib\/python3.6\/site-packages` and identify the packages which correspond to the Python modules.\n\nWhen you now rebuild the AUR packages with your AUR helper of choice and install them with pacman they are no longer in `\/usr\/lib\/python3.6\/site-packages`, but in `\/usr\/lib\/python3.7\/site-packages` and again usable!","meta":"{'source': 'reddit_posts', 'id': '95n3g9', 'title': 'Update your AUR python packages', 'author': 'mx-b', 'subreddit': 'archlinux', 'subreddit_id': '2qrzu', 'body': 'With the recent update to Python 3.7 from 3.6 some of my installed packages did not work anymore.\\n\\nThese are mostly AUR packages which need to be rebuild. To rebuild all necessary packages have a look at the directory `\/usr\/lib\/python3.6\/site-packages` and identify the packages which correspond to the Python modules.\\n\\nWhen you now rebuild the AUR packages with your AUR helper of choice and install them with pacman they are no longer in `\/usr\/lib\/python3.6\/site-packages`, but in `\/usr\/lib\/python3.7\/site-packages` and again usable!', 'body_is_trimmed': False, 'score': 22, 'over_18': False, 'num_comments': 8, 'created_utc': 1533742723}"}
{"id":"1661183","text":"Title: getting an error when creating a stack in portainer (Docker)\nThe text below was posted in an online community called docker in the year 2022:\n\nI getting an error saying  \"Deployment error: (root) additional property bridge is not allowed \" any help woudl be greatly appreciated.","meta":"{'source': 'reddit_posts', 'id': 'sxwqth', 'title': 'getting an error when creating a stack in portainer (Docker)', 'author': 'CommandoBo', 'subreddit': 'docker', 'subreddit_id': '2y00f', 'body': 'I getting an error saying  \"Deployment error: (root) additional property bridge is not allowed \" any help woudl be greatly appreciated.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 5, 'created_utc': 1645458722}"}
{"id":"1367146","text":"Title: Help with annoying loop\nThe text below was posted in an online community called AutoHotkey in the year 2018:\n\n#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.\n    ; #Warn  ; Enable warnings to assist with detecting common errors.\n    SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.\n    SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.\n    \n    888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4\n       Suspend\n    return\n    \n    sp888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4\n       Send {Space}{^}{#}FF4942;\n    Return\n    \n    ctrl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4\n       Send {Space}{^}{#}FFB42F;\n    Return\n\nSo, this is my script. What I *want* to have happen when I press Spacebar or CTRL (with a single space before or after it):\n\n     ^#FF4942;\n\nWhat actually happens (with no spaces anywhere):\n\n    ^#FF4942;^#FF4942;^#FF4942;^#FF4942;^#FF4942;^#FF4942;\n\nObviously, when I tell it to *write* a space, that activates the input. How do I make it *not* do that?","meta":"{'source': 'reddit_posts', 'id': 'a9scqd', 'title': 'Help with annoying loop', 'author': '_Bl4ze', 'subreddit': 'AutoHotkey', 'subreddit_id': '2rodl', 'body': '#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.\\n    ; #Warn  ; Enable warnings to assist with detecting common errors.\\n    SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.\\n    SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.\\n    \\n    f12::\\n       Suspend\\n    return\\n    \\n    space::\\n       Send {Space}{^}{#}FF4942;\\n    Return\\n    \\n    ctrl::\\n       Send {Space}{^}{#}FFB42F;\\n    Return\\n\\nSo, this is my script. What I *want* to have happen when I press Spacebar or CTRL (with a single space before or after it):\\n\\n     ^#FF4942;\\n\\nWhat actually happens (with no spaces anywhere):\\n\\n    ^#FF4942;^#FF4942;^#FF4942;^#FF4942;^#FF4942;^#FF4942;\\n\\nObviously, when I tell it to *write* a space, that activates the input. How do I make it *not* do that?', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 3, 'created_utc': 1545858159}"}
{"id":"2277092","text":"Title: Question about Strong iOS app and Apple Watch workouts\nThe text below was posted in an online community called AppleWatch in the year 2017:\n\nI downloaded the Strong app this morning and gave it a shot today. Please help me understand how the Strong watch app works. It seems like it's just an interface into entering data, and it's *not* something that actually starts a proper workout.\n\nI had to enter some \"routines\" in the phone app to get started. I always start with cardio on the treadmill, so I entered \"Running\".\n\nI started a workout on my watch, indoor run. Then I went into the Strong app on the watch, pulled up my routines, and went into the running screen. It was just for entering total time and miles. \n\nAbout 5 minutes in I wanted to track my heart rate. Went back to watch workouts, and it was at the main screen. Seems like going into the strong watch app had canceled my workout. So I lost a few minutes of active calorie and heart rate tracking.\n\nLater on I went to some gym equipment, and started an \"Other (Weight Training)\" workout. Then I went into the strong app on the watch and started tracking sets and reps. Again, I noticed that my heart rate was pretty low. It's because the heart tracking was again disabled because the workout got canceled. \n\nSeems like you just have to use the phone app if you want to also track heart rate and active calories with the Strong app. Like the watch app is not useful if you also count on using the internal workout functionality.\n\nIs there something I'm missing?","meta":"{'source': 'reddit_posts', 'id': '62umjg', 'title': 'Question about Strong iOS app and Apple Watch workouts', 'author': 'ElmStreetSleeps', 'subreddit': 'AppleWatch', 'subreddit_id': '2wav7', 'body': 'I downloaded the Strong app this morning and gave it a shot today. Please help me understand how the Strong watch app works. It seems like it\\'s just an interface into entering data, and it\\'s *not* something that actually starts a proper workout.\\n\\nI had to enter some \"routines\" in the phone app to get started. I always start with cardio on the treadmill, so I entered \"Running\".\\n\\nI started a workout on my watch, indoor run. Then I went into the Strong app on the watch, pulled up my routines, and went into the running screen. It was just for entering total time and miles. \\n\\nAbout 5 minutes in I wanted to track my heart rate. Went back to watch workouts, and it was at the main screen. Seems like going into the strong watch app had canceled my workout. So I lost a few minutes of active calorie and heart rate tracking.\\n\\nLater on I went to some gym equipment, and started an \"Other (Weight Training)\" workout. Then I went into the strong app on the watch and started tracking sets and reps. Again, I noticed that my heart rate was pretty low. It\\'s because the heart tracking was again disabled because the workout got canceled. \\n\\nSeems like you just have to use the phone app if you want to also track heart rate and active calories with the Strong app. Like the watch app is not useful if you also count on using the internal workout functionality.\\n\\nIs there something I\\'m missing?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1491072409}"}
{"id":"799090","text":"Title: Just picked up my first Smart Phone - VZ Droid X. What are the first things I should do with it?\nThe text below was posted in an online community called Android in the year 2011:\n\nJust picked up the Droid X today. I could have waited till end of 1st Quarter to pick up a 4G phone, but unfortunately my circumstances would not allow me to wait until then. I opted with the Droid X after doing some research on-line and having so many friends rave about how much they love the phone. This is my first smart phone, so I'm not too familiar with the Android platform. As a new user, what are the first things I should do with it? If this was a PC, I'd recommend going to [ninite](http:\/\/ninite.com\/) for example. Can anyone make any recommendations on what I should do to make my experience with this phone easy and enjoyable?","meta":"{'source': 'reddit_posts', 'id': 'ez8pt', 'title': 'Just picked up my first Smart Phone - VZ Droid X. What are the first things I should do with it?', 'author': 'y0jimbo', 'subreddit': 'Android', 'subreddit_id': '2qlqh', 'body': \"Just picked up the Droid X today. I could have waited till end of 1st Quarter to pick up a 4G phone, but unfortunately my circumstances would not allow me to wait until then. I opted with the Droid X after doing some research on-line and having so many friends rave about how much they love the phone. This is my first smart phone, so I'm not too familiar with the Android platform. As a new user, what are the first things I should do with it? If this was a PC, I'd recommend going to [ninite](http:\/\/ninite.com\/) for example. Can anyone make any recommendations on what I should do to make my experience with this phone easy and enjoyable?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 20, 'created_utc': 1294623204}"}
{"id":"51065","text":"Title: Chrome buttons now on the right side of the search bar instead of underneath\nThe text below was posted in an online community called chrome in the year 2021:\n\nI've tried searching online for some answers to move my bar back underneath the search bar. I tried turning off ad block and dark reader and it didn't fix the problem. Other devices and all my other friends have the bar on the right of the search bar in the photo to be underneath the search bar. Is there a solution to this?\n\nI just want the bar on the right of the search bar to be back in its original place which is underneath the search bar. It only happens on my account but not on any other such as incognito or no account.\n\nhttps:\/\/preview.redd.it\/3h5otyku7ro61.jpg?width=1585&amp;format=pjpg&amp;auto=webp&amp;s=521b067d6a3116f3e6e3ccd98ae2071d25b3928f","meta":"{'source': 'reddit_posts', 'id': 'mbbkr8', 'title': 'Chrome buttons now on the right side of the search bar instead of underneath', 'author': 'InfiniteBurst_', 'subreddit': 'chrome', 'subreddit_id': '2qlz9', 'body': \"I've tried searching online for some answers to move my bar back underneath the search bar. I tried turning off ad block and dark reader and it didn't fix the problem. Other devices and all my other friends have the bar on the right of the search bar in the photo to be underneath the search bar. Is there a solution to this?\\n\\nI just want the bar on the right of the search bar to be back in its original place which is underneath the search bar. It only happens on my account but not on any other such as incognito or no account.\\n\\nhttps:\/\/preview.redd.it\/3h5otyku7ro61.jpg?width=1585&amp;format=pjpg&amp;auto=webp&amp;s=521b067d6a3116f3e6e3ccd98ae2071d25b3928f\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 8, 'created_utc': 1616494917}"}
{"id":"237371","text":"Title: [Question] I want to do a clean iOS 12 install\nThe text below was posted in an online community called iOSBeta in the year 2018:\n\nI found this site with the .ipsw https:\/\/ipswbeta.com\/download-ios-12-beta-1-ipsw-no-udid-developer\/\n\nWill it work?","meta":"{'source': 'reddit_posts', 'id': '8om8la', 'title': '[Question] I want to do a clean iOS 12 install', 'author': 'Hanfos', 'subreddit': 'iOSBeta', 'subreddit_id': '2sjys', 'body': 'I found this site with the .ipsw https:\/\/ipswbeta.com\/download-ios-12-beta-1-ipsw-no-udid-developer\/\\n\\nWill it work?', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 17, 'created_utc': 1528156863}"}
{"id":"444658","text":"Title: Is there a way to check the \"computation\" price of a method or function?\nThe text below was posted in an online community called learnjavascript in the year 2019:\n\n&gt; \"Math.sqrt is an expensive function.\"\n\nI'm wondering if there is a console.log-esque function that outputs the expenditure of a a set of code. \n\nSomething like console.price(console.log(2+2)) would give the energy expenditure price for a console.log(2+2) call.","meta":"{'source': 'reddit_posts', 'id': 'd2sy2c', 'title': 'Is there a way to check the \"computation\" price of a method or function?', 'author': 'mementomoriok', 'subreddit': 'learnjavascript', 'subreddit_id': '2tugi', 'body': '&gt; \"Math.sqrt is an expensive function.\"\\n\\nI\\'m wondering if there is a console.log-esque function that outputs the expenditure of a a set of code. \\n\\nSomething like console.price(console.log(2+2)) would give the energy expenditure price for a console.log(2+2) call.', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 5, 'created_utc': 1568219774}"}
{"id":"1689745","text":"Title: Odd lab setup...\nThe text below was posted in an online community called AskNetsec in the year 2018:\n\nSo, \n\nI'm trying to set up a decent home lab to experiment\/practice analytics, netsec, etc. I have the funds for most lab configs, but I don't want to outpace my needs at the moment. \n\nRight now, I've got a MacBook Air that's still running strong as my personal machine, and my Pro from work. Do I really need to get a white box in order to run MySQL, SecurityOnion, and VMs? Or, would an external hard drive, mini pc, etc. suffice for now until I outgrow the setup? I suppose it comes down to SO native, and spare computing power advantages from a standalone desktop. \n\nAny thoughts or recommendations are appreciated.","meta":"{'source': 'reddit_posts', 'id': '7ppy2k', 'title': 'Odd lab setup...', 'author': 'hotel_beds', 'subreddit': 'AskNetsec', 'subreddit_id': '2t3w8', 'body': \"So, \\n\\nI'm trying to set up a decent home lab to experiment\/practice analytics, netsec, etc. I have the funds for most lab configs, but I don't want to outpace my needs at the moment. \\n\\nRight now, I've got a MacBook Air that's still running strong as my personal machine, and my Pro from work. Do I really need to get a white box in order to run MySQL, SecurityOnion, and VMs? Or, would an external hard drive, mini pc, etc. suffice for now until I outgrow the setup? I suppose it comes down to SO native, and spare computing power advantages from a standalone desktop. \\n\\nAny thoughts or recommendations are appreciated.\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 4, 'created_utc': 1515693786}"}
{"id":"2151295","text":"Title: Issue searching mailboxes\nThe text below was posted in an online community called PowerShell in the year 2020:\n\nSo I am having an issue where I am trying to make a script that allows me to search all mailboxes for an email with a specific subject and automatically delete them. I am able to do this via the Exchange Management Shell but I wanted to make a script in ISE that streamlines this and uses Read-Host to get the email's subject. My issue is that I can run the following in the Exchange Shell just fine:   \nGet-Mailbox -ResultSize unlimited | Search-Mailbox -SearchQuery \"Whatever the subject is\"   \n\\-DeleteContent -Force  \n\n\nWhen I run the same thing in ISE after running Get-PSSnapIn -Registered | Add-PSSnapIn ISE crashes completely. Any ideas as to why this happens? Sorry if this comes off as vague or anything as I am still learning.  \n\n\nI tried changing -ResultSize to actual numbers like 400, 300, 200 etc... and it still crashed the same way. Thanks in advance for help!","meta":"{'source': 'reddit_posts', 'id': 'fmogup', 'title': 'Issue searching mailboxes', 'author': 'MaximusCartavius', 'subreddit': 'PowerShell', 'subreddit_id': '2qo1o', 'body': 'So I am having an issue where I am trying to make a script that allows me to search all mailboxes for an email with a specific subject and automatically delete them. I am able to do this via the Exchange Management Shell but I wanted to make a script in ISE that streamlines this and uses Read-Host to get the email\\'s subject. My issue is that I can run the following in the Exchange Shell just fine:   \\nGet-Mailbox -ResultSize unlimited | Search-Mailbox -SearchQuery \"Whatever the subject is\"   \\n\\\\-DeleteContent -Force  \\n\\n\\nWhen I run the same thing in ISE after running Get-PSSnapIn -Registered | Add-PSSnapIn ISE crashes completely. Any ideas as to why this happens? Sorry if this comes off as vague or anything as I am still learning.  \\n\\n\\nI tried changing -ResultSize to actual numbers like 400, 300, 200 etc... and it still crashed the same way. Thanks in advance for help!', 'body_is_trimmed': False, 'score': 14, 'over_18': False, 'num_comments': 6, 'created_utc': 1584830025}"}
{"id":"1490963","text":"Title: Multiple decoupling capacitors\nThe text below was posted in an online community called arduino in the year 2013:\n\nSo I'm using a few different IC's and I'm trying to power them all with the same power source (a +5V mains transformer). The problem is, they all recommend different decoupling capacitors and I don't know what to do...\n\nI'm using the Atmega328P from my Uno which I believe needs a 10uF capacitor between +5V and GND. I'm also using a couple of [MSGEQ7](https:\/\/www.sparkfun.com\/datasheets\/Components\/General\/MSGEQ7.pdf) chips (7 band audio visualiser chip) which require a bunch of different connections between +5V and GND.\n\nIf I connect all the decoupling capacitors up as though each was powered individually won't the capacitances change? E.g the 10uF for the Atmega and the 0.1uF from the GEQ7 combine to make something different?\n\nAny information would be appreciated, thanks.","meta":"{'source': 'reddit_posts', 'id': '1emsby', 'title': 'Multiple decoupling capacitors', 'author': 'mychildrenneedwine', 'subreddit': 'arduino', 'subreddit_id': '2qknj', 'body': \"So I'm using a few different IC's and I'm trying to power them all with the same power source (a +5V mains transformer). The problem is, they all recommend different decoupling capacitors and I don't know what to do...\\n\\nI'm using the Atmega328P from my Uno which I believe needs a 10uF capacitor between +5V and GND. I'm also using a couple of [MSGEQ7](https:\/\/www.sparkfun.com\/datasheets\/Components\/General\/MSGEQ7.pdf) chips (7 band audio visualiser chip) which require a bunch of different connections between +5V and GND.\\n\\nIf I connect all the decoupling capacitors up as though each was powered individually won't the capacitances change? E.g the 10uF for the Atmega and the 0.1uF from the GEQ7 combine to make something different?\\n\\nAny information would be appreciated, thanks.\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 2, 'created_utc': 1368975773}"}
{"id":"1438778","text":"Title: Space between elements\nThe text below was posted in an online community called FlutterDev in the year 2021:\n\nSo I have been using Flutter for quite a while now, and throughout all the personal projects and client work I've done I noticed that I use different methods to put space between elements every time.\n\nIf its some sort of a list or elements stacked next\/ontop of each other I tend to use a SizedBox with the height or width I want, some times I use the Divider too so I can have that separating line.\n\nIn other cases I use margins, but since not all widgets got that property Ill have to wrap them in a Container first which sometimes does come in handy if I wanna add some color to the background or other decorations.\n\nIn CSS when Im developing for the web, all elements can have a margin whether by default or when turned into block like element, if its Grid or Flexbox I can use the Gap property.\n\nI do wonder what other Flutter developers use and why! and is there a difference between these options especially in terms of performance and responsiveness from one device to another?","meta":"{'source': 'reddit_posts', 'id': 'pql3xj', 'title': 'Space between elements', 'author': 'Salazar083', 'subreddit': 'FlutterDev', 'subreddit_id': '2x3q8', 'body': \"So I have been using Flutter for quite a while now, and throughout all the personal projects and client work I've done I noticed that I use different methods to put space between elements every time.\\n\\nIf its some sort of a list or elements stacked next\/ontop of each other I tend to use a SizedBox with the height or width I want, some times I use the Divider too so I can have that separating line.\\n\\nIn other cases I use margins, but since not all widgets got that property Ill have to wrap them in a Container first which sometimes does come in handy if I wanna add some color to the background or other decorations.\\n\\nIn CSS when Im developing for the web, all elements can have a margin whether by default or when turned into block like element, if its Grid or Flexbox I can use the Gap property.\\n\\nI do wonder what other Flutter developers use and why! and is there a difference between these options especially in terms of performance and responsiveness from one device to another?\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 12, 'created_utc': 1631966296}"}
{"id":"1346034","text":"Title: When Parsing the Argument List Takes 8.5 Times So Many Lines of Code as What You Wanted to Do with the Args\nThe text below was posted in an online community called learnjavascript in the year 2021:\n\nSomehow, I think this might not be the most elegant solution.\n\n    s.addMethod = (...args) =&gt; {\n      let key, func, tgt;\n      switch (args.length) {\n      case 3:\n        tgt = args[0];\n        key = args[1];\n        func = args[2];\n        break;\n      case 2:\n        tgt = args[0];\n        func = args[1];\n        key = func.name;\n        break;\n      case 1:\n        const spec = args[0];\n        tgt = spec.tgt;\n        if (spec.key &amp;&amp; spec.src) {\n          key = spec.key;\n          func = spec.src[key];\n        } else {\n          func = spec.func;\n          key = spec.key || func.name;\n        };\n        break;\n      default: throw Error(\"usage\");\n      };\n      if (! tgt || ! func || ! key) throw Error(\"Underspecified.\");\n    \n      tgt[key] = func.bind(tgt);\n      tgt[key].bind = func.bind.bind(func);\n    };","meta":"{'source': 'reddit_posts', 'id': 'qelucx', 'title': 'When Parsing the Argument List Takes 8.5 Times So Many Lines of Code as What You Wanted to Do with the Args', 'author': 'jack_waugh', 'subreddit': 'learnjavascript', 'subreddit_id': '2tugi', 'body': 'Somehow, I think this might not be the most elegant solution.\\n\\n    s.addMethod = (...args) =&gt; {\\n      let key, func, tgt;\\n      switch (args.length) {\\n      case 3:\\n        tgt = args[0];\\n        key = args[1];\\n        func = args[2];\\n        break;\\n      case 2:\\n        tgt = args[0];\\n        func = args[1];\\n        key = func.name;\\n        break;\\n      case 1:\\n        const spec = args[0];\\n        tgt = spec.tgt;\\n        if (spec.key &amp;&amp; spec.src) {\\n          key = spec.key;\\n          func = spec.src[key];\\n        } else {\\n          func = spec.func;\\n          key = spec.key || func.name;\\n        };\\n        break;\\n      default: throw Error(\"usage\");\\n      };\\n      if (! tgt || ! func || ! key) throw Error(\"Underspecified.\");\\n    \\n      tgt[key] = func.bind(tgt);\\n      tgt[key].bind = func.bind.bind(func);\\n    };', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 2, 'created_utc': 1635053748}"}
{"id":"1584932","text":"Title: Linux Mint Slow Boot time due to NVIDIA driver (?)\nThe text below was posted in an online community called linux4noobs in the year 2020:\n\nSo my laptop is a Lenovo Y540 (Intel i7 9750h + NVIDIA RTX 2060), with a dedicated **Mux Switch** (I can change between switchable graphic and dedicated Graphic through BIOS), dual booted with Windows 10 and Linux Mint\n\nWhen I installed Linux Mint a few months ago (Switchable Graphic turned on), it works like a charm. Boots fast, installed NVIDIA proprietary driver, no wthomas@example.net problems started around a week ago, I disabled switchable graphic because OBS on Windows doesn't work well with Intel HD Graphic. I figured that, I won't go anywhere for quite a while due to lockdown, so battery life shouldn't really be a problem. So I tried booting on Linux, it's mostly smooth except brightness doesn't work, after tinkering for a bit I figured that adding \"EnableBrightnessControl=1;\" to \/usr\/share\/X11\/xorg.conf.d\/10-nvidia.conf\n\nAfter quite some time, I found out that my Linux boots very slow, from a few seconds to minutes. I tried googling on how to fix it, I first thought that it's because I updated my kernel, so I did *systemd-analyze* , what I found is that most of my slowness comes from the userspace. So I did a *systemd-analyze critical-chain*, and the problem is \"*systemd-backlight@backlight:nvidia_0.service*\" as it adds ~1m30s to boot time. I tried to revert the Xorg config and reenable Switchable Graphic, but it still boots slow and now it shows black screen (tty works though), so I am forced to use discrete graphic as of now, any help is appreciated\n\nThanks in advance","meta":"{'source': 'reddit_posts', 'id': 'jv1ybn', 'title': 'Linux Mint Slow Boot time due to NVIDIA driver (?)', 'author': 'JellyHero', 'subreddit': 'linux4noobs', 'subreddit_id': '2qy7t', 'body': 'So my laptop is a Lenovo Y540 (Intel i7 9750h + NVIDIA RTX 2060), with a dedicated **Mux Switch** (I can change between switchable graphic and dedicated Graphic through BIOS), dual booted with Windows 10 and Linux Mint\\n\\nWhen I installed Linux Mint a few months ago (Switchable Graphic turned on), it works like a charm. Boots fast, installed NVIDIA proprietary driver, no problem at all.The problems started around a week ago, I disabled switchable graphic because OBS on Windows doesn\\'t work well with Intel HD Graphic. I figured that, I won\\'t go anywhere for quite a while due to lockdown, so battery life shouldn\\'t really be a problem. So I tried booting on Linux, it\\'s mostly smooth except brightness doesn\\'t work, after tinkering for a bit I figured that adding \"EnableBrightnessControl=1;\" to \/usr\/share\/X11\/xorg.conf.d\/10-nvidia.conf\\n\\nAfter quite some time, I found out that my Linux boots very slow, from a few seconds to minutes. I tried googling on how to fix it, I first thought that it\\'s because I updated my kernel, so I did *systemd-analyze* , what I found is that most of my slowness comes from the userspace. So I did a *systemd-analyze critical-chain*, and the problem is \"*systemd-backlight@backlight:nvidia_0.service*\" as it adds ~1m30s to boot time. I tried to revert the Xorg config and reenable Switchable Graphic, but it still boots slow and now it shows black screen (tty works though), so I am forced to use discrete graphic as of now, any help is appreciated\\n\\nThanks in advance', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 0, 'created_utc': 1605507614}"}
{"id":"1088819","text":"Title: Thinking about buying this game. Have general questions.\nThe text below was posted in an online community called factorio in the year 2018:\n\nWhat do you guys like about this game?\n\n\nNever played a RTS style game, but this looks like alot of fun an people said it's addictive. Why?\n\n\nDoes this game have replayablity?\n\n\n\n\nWhat don't you like about this game, if anything, what would you like changed\/added?\n\n\nDo you recommend this game?  What do you rate it?","meta":"{'source': 'reddit_posts', 'id': '7nrqtk', 'title': 'Thinking about buying this game. Have general questions.', 'author': 'Samadams9292', 'subreddit': 'factorio', 'subreddit_id': '2wabp', 'body': \"What do you guys like about this game?\\n\\n\\nNever played a RTS style game, but this looks like alot of fun an people said it's addictive. Why?\\n\\n\\nDoes this game have replayablity?\\n\\n\\n\\n\\nWhat don't you like about this game, if anything, what would you like changed\/added?\\n\\n\\nDo you recommend this game?  What do you rate it?\", 'body_is_trimmed': False, 'score': 11, 'over_18': False, 'num_comments': 17, 'created_utc': 1514948545}"}
{"id":"141659","text":"Title: Xbox wireless adapter does not pair with Controller\nThe text below was posted in an online community called Windows10 in the year 2019:\n\nHello,\n\nI have an Xbox One wireless controller and an Xbox wireless adapter. Everything was OK on my Windows 10 PC they were pairing normally until one day I turned on Airplane Mode accidentally and then Airplane Mode disappeared from my PC. I fixed that problem after a lot of search but my Controller and my Adapter could no longer pair with each other. On other PCs and Xboxes both the Controller and the adapter work fine. Connecting with USB works for my PC normally as well. I have tried every solution I could find online but none of them worked and really none of them applied exactly to my problem. \n\nExamples of what I tried:\n\n Uninstalling drivers for the adapter and reinstalling them \n\n To check event viewer logs for MAC Ardress miscommunication\n\n Updating drivers but they were already up to date\n\n Putting win7 drivers\n\n To add device as bluetooth device\n\n To add device as normal device\n\n And more that I cannot remember now\n\nI would love any kind of ideas cause I cannot find any other solutions other than reinstalling windows at this point.","meta":"{'source': 'reddit_posts', 'id': 'dx9olp', 'title': 'Xbox wireless adapter does not pair with Controller', 'author': 'nickpc107', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': 'Hello,\\n\\nI have an Xbox One wireless controller and an Xbox wireless adapter. Everything was OK on my Windows 10 PC they were pairing normally until one day I turned on Airplane Mode accidentally and then Airplane Mode disappeared from my PC. I fixed that problem after a lot of search but my Controller and my Adapter could no longer pair with each other. On other PCs and Xboxes both the Controller and the adapter work fine. Connecting with USB works for my PC normally as well. I have tried every solution I could find online but none of them worked and really none of them applied exactly to my problem. \\n\\nExamples of what I tried:\\n\\n Uninstalling drivers for the adapter and reinstalling them \\n\\n To check event viewer logs for MAC Ardress miscommunication\\n\\n Updating drivers but they were already up to date\\n\\n Putting win7 drivers\\n\\n To add device as bluetooth device\\n\\n To add device as normal device\\n\\n And more that I cannot remember now\\n\\nI would love any kind of ideas cause I cannot find any other solutions other than reinstalling windows at this point.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1573924874}"}
{"id":"171628","text":"Title: Network for Parents that live out of state\nThe text below was posted in an online community called networking in the year 2011:\n\nMy parents live out of state, and as of recently have had major computer problems. I am trying to design\/build a network that I can get to easily to help them when needed. My mom only has an iPad, so she's really not the problem. My dad on the other hand, whoo... Also, they have friends that own the house next door; but will only be there every few months, and do not want to pay for internet service. My plan is to give them two WRT54G's I have here, using Tomato + WDS so they can share their internet connection. And use a mini-itx computer I have running pfsense as their main router. The reason I would like to use pfsense vs. one of the WRT54G's is because Tomato (last I checked) doesn't have LAN to LAN or demand based VPN. I run pfsense here at my house, and its been great to work with.\n\nI am quite open to other idea's, but I am not a fan of DD-WRT or OpenWRT. I need something rock solid and both of those have given me headaches in the past.","meta":"{'source': 'reddit_posts', 'id': 'iuclc', 'title': 'Network for Parents that live out of state', 'author': 'r0ll3rb0t', 'subreddit': 'networking', 'subreddit_id': '2qkaf', 'body': \"My parents live out of state, and as of recently have had major computer problems. I am trying to design\/build a network that I can get to easily to help them when needed. My mom only has an iPad, so she's really not the problem. My dad on the other hand, whoo... Also, they have friends that own the house next door; but will only be there every few months, and do not want to pay for internet service. My plan is to give them two WRT54G's I have here, using Tomato + WDS so they can share their internet connection. And use a mini-itx computer I have running pfsense as their main router. The reason I would like to use pfsense vs. one of the WRT54G's is because Tomato (last I checked) doesn't have LAN to LAN or demand based VPN. I run pfsense here at my house, and its been great to work with.\\n\\nI am quite open to other idea's, but I am not a fan of DD-WRT or OpenWRT. I need something rock solid and both of those have given me headaches in the past.\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 10, 'created_utc': 1311122477}"}
{"id":"2404006","text":"Title: RPi 3b+ Reaper and MIDI usb setup!\nThe text below was posted in an online community called raspberry_pi in the year 2019:\n\nTLDR; nOOB RPi 3b+ w\/Reaper isnt showing usb-midi MPKmini! Help! \n\nHello all, just got my first 3b+ Pi. Got it running with just the recommended OS. I got Reaper running. I am interested in using this RPi setup for midi recording and storing my .wav samples (recorded w\/ another DAW &amp; PC)\n\nMy problem is I cannot get my Akai MPK mini MKii to show up thru Reaper. If I use Terminal lsusb I can see the port I have it connected to but it just lists a number (2011:0715), pad backlights are working so power seems fine.\n\nCould this be a patch\/driver I dont have, or even as simple as changing some setting in Akai  Mpk editor using my main PC?\n\nAny advice would be huge, thanks","meta":"{'source': 'reddit_posts', 'id': 'c6laef', 'title': 'RPi 3b+ Reaper and MIDI usb setup!', 'author': 'Dusty_mc', 'subreddit': 'raspberry_pi', 'subreddit_id': '2syto', 'body': 'TLDR; nOOB RPi 3b+ w\/Reaper isnt showing usb-midi MPKmini! Help! \\n\\nHello all, just got my first 3b+ Pi. Got it running with just the recommended OS. I got Reaper running. I am interested in using this RPi setup for midi recording and storing my .wav samples (recorded w\/ another DAW &amp; PC)\\n\\nMy problem is I cannot get my Akai MPK mini MKii to show up thru Reaper. If I use Terminal lsusb I can see the port I have it connected to but it just lists a number (2011:0715), pad backlights are working so power seems fine.\\n\\nCould this be a patch\/driver I dont have, or even as simple as changing some setting in Akai  Mpk editor using my main PC?\\n\\nAny advice would be huge, thanks', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 3, 'created_utc': 1561734395}"}
{"id":"973350","text":"Title: Recurring bad_pool_header BSOD? DMP file attached\nThe text below was posted in an online community called Windows10 in the year 2019:\n\nhi all,\n\n&amp;#x200B;\n\nI've been getting recurring BSOD with bad\\_pool\\_header and DPC\\_watchdog\\_violation and would like to know what it means. Previously, I got the BSODs when I was using Chrome so now I switched to Firefox but still getting the same. I have uninstalled\/reinstalled GPU drivers. I am running a ThinkPad T450s with i5 and 8gb of ram. Any help is appreciated - thanks!\n\n&amp;#x200B;\n\n[https:\/\/1drv.ms\/u\/s!AjPcWW0vIN0YhzbuVBAD515AbrAA](https:\/\/1drv.ms\/u\/s!AjPcWW0vIN0YhzbuVBAD515AbrAA)","meta":"{'source': 'reddit_posts', 'id': 'aufxay', 'title': 'Recurring bad_pool_header BSOD? DMP file attached', 'author': 'aznaggie', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': \"hi all,\\n\\n&amp;#x200B;\\n\\nI've been getting recurring BSOD with bad\\\\_pool\\\\_header and DPC\\\\_watchdog\\\\_violation and would like to know what it means. Previously, I got the BSODs when I was using Chrome so now I switched to Firefox but still getting the same. I have uninstalled\/reinstalled GPU drivers. I am running a ThinkPad T450s with i5 and 8gb of ram. Any help is appreciated - thanks!\\n\\n&amp;#x200B;\\n\\n[https:\/\/1drv.ms\/u\/s!AjPcWW0vIN0YhzbuVBAD515AbrAA](https:\/\/1drv.ms\/u\/s!AjPcWW0vIN0YhzbuVBAD515AbrAA)\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 0, 'created_utc': 1551062515}"}
{"id":"1995925","text":"Title: Package for timeseries tagging (metadata) in SQL\nThe text below was posted in an online community called Python in the year 2017:\n\nI currently have regular timeseries stored in standard mysql tables in the schema: ID, Timestamp, value\n\nI have a use case to flag each datapoint as actual\/estimate\/manual enums based on how it was stored. Instead of naively adding an extra column, is there a mature package or design pattern for tagging periods of data (start and end times) with arbitrary tags?","meta":"{'source': 'reddit_posts', 'id': '6p3pxr', 'title': 'Package for timeseries tagging (metadata) in SQL', 'author': 'ciarancour', 'subreddit': 'Python', 'subreddit_id': '2qh0y', 'body': 'I currently have regular timeseries stored in standard mysql tables in the schema: ID, Timestamp, value\\n\\nI have a use case to flag each datapoint as actual\/estimate\/manual enums based on how it was stored. Instead of naively adding an extra column, is there a mature package or design pattern for tagging periods of data (start and end times) with arbitrary tags?', 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 2, 'created_utc': 1500842412}"}
{"id":"1549615","text":"Title: Arch system freezes at seemingly random times\nThe text below was posted in an online community called linuxquestions in the year 2019:\n\nMy arch system randomly freezes, and I am unable to use the sysrq keys to save it (I have enabled all sysrq keys in \/proc\/sys\/kernel\/sysrq). The only way for me to escape the freeze is to hold down the power button for 3 seconds.\nI recently received my Ryzen 3700x processor and decided to install a fresh copy of arch to go with it. My system now freezes at seemingly random and unpredictable times. I thought this was a hardware related problem at first, but I have not heard of any other such instances with the new Ryzen processors. It seems unlikely that a software bug locks up the kernel as well.\n\nI am using the XFS file system on all my partitions. I am willing to reformat my root partition to EXT4 if nothing else works, however I wish for this to be the last resort.\nAll my current packages are up to date with very little bloat. I am using the [it87](https:\/\/aur.archlinux.org\/packages\/it87-dkms-git\/) kernel module because my motherboard requires it for accurate sensor reading.\n\nAnyone willing to chime in on some tips to point me in the right direction? I have installed arch countless amount of times with no such problem occurring. Only after installing my Ryzen 3700x has this happened. To troubleshoot, I have disabled the it87 kernel module and I am waiting for results","meta":"{'source': 'reddit_posts', 'id': 'cmq8nb', 'title': 'Arch system freezes at seemingly random times', 'author': 'Vizixify', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': 'My arch system randomly freezes, and I am unable to use the sysrq keys to save it (I have enabled all sysrq keys in \/proc\/sys\/kernel\/sysrq). The only way for me to escape the freeze is to hold down the power button for 3 seconds.\\nI recently received my Ryzen 3700x processor and decided to install a fresh copy of arch to go with it. My system now freezes at seemingly random and unpredictable times. I thought this was a hardware related problem at first, but I have not heard of any other such instances with the new Ryzen processors. It seems unlikely that a software bug locks up the kernel as well.\\n\\nI am using the XFS file system on all my partitions. I am willing to reformat my root partition to EXT4 if nothing else works, however I wish for this to be the last resort.\\nAll my current packages are up to date with very little bloat. I am using the [it87](https:\/\/aur.archlinux.org\/packages\/it87-dkms-git\/) kernel module because my motherboard requires it for accurate sensor reading.\\n\\nAnyone willing to chime in on some tips to point me in the right direction? I have installed arch countless amount of times with no such problem occurring. Only after installing my Ryzen 3700x has this happened. To troubleshoot, I have disabled the it87 kernel module and I am waiting for results', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 10, 'created_utc': 1565096204}"}
{"id":"930417","text":"Title: PulseEffects not starting after updating to 5.0.0-1\nThe text below was posted in an online community called linux4noobs in the year 2021:\n\nI've got this problem which I can't resolve on my own, so your help is appreciated.\n\nI'm using arch btw and updated [PulseEffects](https:\/\/security.archlinux.org\/package\/pulseeffects) to the latest version (5.0.0-1). \n\nAfter rebooting I noticed, that the equalizer is not working, so I tried to start it via the terminal, which gives me the following error: \n\n    ** (pulseeffects:202926): ERROR **: 17:40:07.076: \n    unhandled exception (type st888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4exception) in signal handler:\n    what: soe: Failed to get required plugin: pipewiresrc\n    \n    zsh: trace trap (core dumped)  pulseeffects\n\nAfter some research I uninstalled [PulseAudio](https:\/\/archlinux.org\/packages\/extra\/x86_64\/pulseaudio\/) and replaced it with [PipeWire-Pulse](https:\/\/archlinux.org\/packages\/extra\/x86_64\/pipewire-pulse\/) since [PulseEffects doesn't use PulseAudio as a backend anymore](https:\/\/gitlab.freedesktop.org\/pipewire\/pipewire\/-\/issues\/472).\n\nAny suggestions what I can try to get PulseEffects running back again?","meta":"{'source': 'reddit_posts', 'id': 'l4rrtd', 'title': 'PulseEffects not starting after updating to 5.0.0-1', 'author': 'xr4zz', 'subreddit': 'linux4noobs', 'subreddit_id': '2qy7t', 'body': \"I've got this problem which I can't resolve on my own, so your help is appreciated.\\n\\nI'm using arch btw and updated [PulseEffects](https:\/\/security.archlinux.org\/package\/pulseeffects) to the latest version (5.0.0-1). \\n\\nAfter rebooting I noticed, that the equalizer is not working, so I tried to start it via the terminal, which gives me the following error: \\n\\n    ** (pulseeffects:202926): ERROR **: 17:40:07.076: \\n    unhandled exception (type std::exception) in signal handler:\\n    what: soe: Failed to get required plugin: pipewiresrc\\n    \\n    zsh: trace trap (core dumped)  pulseeffects\\n\\nAfter some research I uninstalled [PulseAudio](https:\/\/archlinux.org\/packages\/extra\/x86_64\/pulseaudio\/) and replaced it with [PipeWire-Pulse](https:\/\/archlinux.org\/packages\/extra\/x86_64\/pipewire-pulse\/) since [PulseEffects doesn't use PulseAudio as a backend anymore](https:\/\/gitlab.freedesktop.org\/pipewire\/pipewire\/-\/issues\/472).\\n\\nAny suggestions what I can try to get PulseEffects running back again?\", 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 9, 'created_utc': 1611593286}"}
{"id":"2351978","text":"Title: Switching to stable public version\nThe text below was posted in an online community called windowsinsiders in the year 2017:\n\nIs there a way that I can go to a stable public version of Windows 10 and still keep all of the programs I have installed since?  I chose the option to keep getting slower builds up to the next release, but the wording makes me think it means the next stable insider release, and no updates thereafter, insider or public.\n\nAm I understanding this correctly, or am I missing something?  I really don't want to have to do a system restore and lose several programs I've installed between opting in and now.","meta":"{'source': 'reddit_posts', 'id': '7l5wm5', 'title': 'Switching to stable public version', 'author': 'AlbinoPanther5', 'subreddit': 'windowsinsiders', 'subreddit_id': '391qx', 'body': \"Is there a way that I can go to a stable public version of Windows 10 and still keep all of the programs I have installed since?  I chose the option to keep getting slower builds up to the next release, but the wording makes me think it means the next stable insider release, and no updates thereafter, insider or public.\\n\\nAm I understanding this correctly, or am I missing something?  I really don't want to have to do a system restore and lose several programs I've installed between opting in and now.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 3, 'created_utc': 1513817745}"}
{"id":"1335089","text":"Title: PSA: Look at the differences between the defaults of nvim and vim if you have performance differences\nThe text below was posted in an online community called vim in the year 2020:\n\nAs above, I spent quite a while trying to hunt down why nvim when used on my setup had no lag while vim would periodically and randomly have freezes.\n\nI had been bisecting my vimrc, doing lots of tests but still cannot identify the problem. Turns out I was looking at the wrong place.\n\nnvim and vim have different defaults and the one that caught me was `- 'fsync' is disabled` in nvim (https:\/\/neovim.io\/doc\/user\/vim_diff.html). Once I set that, both performs similarly.\n\nA side question if anyone can answer. I am on windows. Does vim use the equivalent of `fsync` on windows or is it off by default?","meta":"{'source': 'reddit_posts', 'id': 'f34uw8', 'title': 'PSA: Look at the differences between the defaults of nvim and vim if you have performance differences', 'author': 'JackeJR', 'subreddit': 'vim', 'subreddit_id': '2qhqx', 'body': \"As above, I spent quite a while trying to hunt down why nvim when used on my setup had no lag while vim would periodically and randomly have freezes.\\n\\nI had been bisecting my vimrc, doing lots of tests but still cannot identify the problem. Turns out I was looking at the wrong place.\\n\\nnvim and vim have different defaults and the one that caught me was `- 'fsync' is disabled` in nvim (https:\/\/neovim.io\/doc\/user\/vim_diff.html). Once I set that, both performs similarly.\\n\\nA side question if anyone can answer. I am on windows. Does vim use the equivalent of `fsync` on windows or is it off by default?\", 'body_is_trimmed': False, 'score': 27, 'over_18': False, 'num_comments': 20, 'created_utc': 1581570581}"}
{"id":"1885673","text":"Title: How to learn UI\/UX with no formal education?\nThe text below was posted in an online community called web_design in the year 2015:\n\nI'm really interested in design and development, but find the design is what excites me more. Especially thinking about how the user is going to interact with the site and what issues they might have with easily navigating around. There are endless resources for learning the code aspect of design, but I have yet to find any good information on learning UI and UX when you have no training. Most UI\/UX people I see seem to have degrees in design and\/or have studied human behavior in some way. Is that the only way to to go, or can one learn on their own? Can one be taken seriously when applying for UI\/UX jobs if they have no formal training, even if they are able to build up a portfolio demonstrating their abilities over time? I'd appreciate any insight!","meta":"{'source': 'reddit_posts', 'id': '3cqosb', 'title': 'How to learn UI\/UX with no formal education?', 'author': 'thewindupowl', 'subreddit': 'web_design', 'subreddit_id': '2qh1m', 'body': \"I'm really interested in design and development, but find the design is what excites me more. Especially thinking about how the user is going to interact with the site and what issues they might have with easily navigating around. There are endless resources for learning the code aspect of design, but I have yet to find any good information on learning UI and UX when you have no training. Most UI\/UX people I see seem to have degrees in design and\/or have studied human behavior in some way. Is that the only way to to go, or can one learn on their own? Can one be taken seriously when applying for UI\/UX jobs if they have no formal training, even if they are able to build up a portfolio demonstrating their abilities over time? I'd appreciate any insight!\", 'body_is_trimmed': False, 'score': 10, 'over_18': False, 'num_comments': 8, 'created_utc': '1436487897'}"}
{"id":"2364462","text":"Title: [ANN] Crux 1.15  a new Java API and tuples-as-maps\nThe text below was posted in an online community called Clojure in the year 2021:\n\nCrux 1.15 is out! The Java API has had a makeover, making it much more IDE-friendly. The other big change (and an oft-requested feature) is that queries can now return result tuples as maps, which keeps life simple.\n\n[https:\/\/github.com\/juxt\/crux\/releases\/tag\/21.02-1.15.0](https:\/\/github.com\/juxt\/crux\/releases\/tag\/21.02-1.15.0)\n\n1.13 users, please also check the 1.14 release notes because the jump from 1.13 to 1.15 requires re-indexing if you want the (optional) index upgrade or an explicit opt-out in your config if you don't:\n\n[https:\/\/github.com\/juxt\/crux\/releases\/tag\/21.01-1.14.0](https:\/\/github.com\/juxt\/crux\/releases\/tag\/21.01-1.14.0)\n\nHuge thanks to the community for helping us with both these releases. &lt;3","meta":"{'source': 'reddit_posts', 'id': 'lsmy23', 'title': '[ANN] Crux 1.15  a new Java API and tuples-as-maps', 'author': 'deobald', 'subreddit': 'Clojure', 'subreddit_id': '2qkej', 'body': \"Crux 1.15 is out! The Java API has had a makeover, making it much more IDE-friendly. The other big change (and an oft-requested feature) is that queries can now return result tuples as maps, which keeps life simple.\\n\\n[https:\/\/github.com\/juxt\/crux\/releases\/tag\/21.02-1.15.0](https:\/\/github.com\/juxt\/crux\/releases\/tag\/21.02-1.15.0)\\n\\n1.13 users, please also check the 1.14 release notes because the jump from 1.13 to 1.15 requires re-indexing if you want the (optional) index upgrade or an explicit opt-out in your config if you don't:\\n\\n[https:\/\/github.com\/juxt\/crux\/releases\/tag\/21.01-1.14.0](https:\/\/github.com\/juxt\/crux\/releases\/tag\/21.01-1.14.0)\\n\\nHuge thanks to the community for helping us with both these releases. &lt;3\", 'body_is_trimmed': False, 'score': 59, 'over_18': False, 'num_comments': 1, 'created_utc': 1614304531}"}
{"id":"155899","text":"Title: Django Blogs. like a blogger.com\nThe text below was posted in an online community called Python in the year 2020:\n\nAbout the project\n\n## django-blogs\n\nA blogging site made in python django framework.\n\n## Features\n\n* Admin Interface\n* Manage all Users and Group\n* Manage Blog posts , tags and comment\n* Authentication using django auth system\n* Register\n* Login\n* Forgot Password( using email )\n\n## Main Site - Blog\n\n* Read Blogs from different Users\n* Write your own blogs ( using tinyMCE editor )\n* Manage your blogs ( publish , update , delete , preview )\n* Comment +Search across blogs\n\n## Front-End\n\n* The UI part is made with simple django template language and jinja\n* For css it uses materialize-css\n* Site is Responsive\n\n## Database\n\nPostgreSQL\n\n&amp;#x200B;\n\nvideo link : [https:\/\/youtu.be\/A5gjpo3Shbg](https:\/\/youtu.be\/A5gjpo3Shbg)","meta":"{'source': 'reddit_posts', 'id': 'iz0t8c', 'title': 'Django Blogs. like a blogger.com', 'author': 'Yash-Rank', 'subreddit': 'Python', 'subreddit_id': '2qh0y', 'body': 'About the project\\n\\n## django-blogs\\n\\nA blogging site made in python django framework.\\n\\n## Features\\n\\n* Admin Interface\\n* Manage all Users and Group\\n* Manage Blog posts , tags and comment\\n* Authentication using django auth system\\n* Register\\n* Login\\n* Forgot Password( using email )\\n\\n## Main Site - Blog\\n\\n* Read Blogs from different Users\\n* Write your own blogs ( using tinyMCE editor )\\n* Manage your blogs ( publish , update , delete , preview )\\n* Comment +Search across blogs\\n\\n## Front-End\\n\\n* The UI part is made with simple django template language and jinja\\n* For css it uses materialize-css\\n* Site is Responsive\\n\\n## Database\\n\\nPostgreSQL\\n\\n&amp;#x200B;\\n\\nvideo link : [https:\/\/youtu.be\/A5gjpo3Shbg](https:\/\/youtu.be\/A5gjpo3Shbg)', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': 1600965923}"}
{"id":"139202","text":"Title: Custom flairs for Minimalaluminiumalism theme\nThe text below was posted in an online community called csshelp in the year 2016:\n\nI just put the Minimaluminiumalism theme on \/r\/ApocalypsePirates, which is a crew subreddit for a One Piece themed RPG. I was wondering if there was a way to have more flairs. Just like the blue fair and red flair and green flair, but different colors. Navy, grey, brown, black, etc.\n\nI asked the creator of the theme, and he said its possible, and \/r\/Csshelp can help! :D","meta":"{'source': 'reddit_posts', 'id': '40bhqi', 'title': 'Custom flairs for Minimalaluminiumalism theme', 'author': 'Gin_chan', 'subreddit': 'csshelp', 'subreddit_id': '2roaw', 'body': 'I just put the Minimaluminiumalism theme on \/r\/ApocalypsePirates, which is a crew subreddit for a One Piece themed RPG. I was wondering if there was a way to have more flairs. Just like the blue fair and red flair and green flair, but different colors. Navy, grey, brown, black, etc.\\n\\nI asked the creator of the theme, and he said its possible, and \/r\/Csshelp can help! :D', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 6, 'created_utc': 1452436394}"}
{"id":"987851","text":"Title: [help] I bought an app but it won't let me install it\nThe text below was posted in an online community called Android in the year 2011:\n\nI just bought several of the 10 cent apps today.  Two of them went swimmingly, but Field Runners did not.  I paid for it, but then I received an error message saying my phone didn't have enough space.\n\nI'm using a Samsung Galaxy S, and I still have several gigs worth of memory available.\n\nI've tried rebooting my phone, re-checking my available data and made sure field runners didn't get partially installed or something.\n\nAnybody know whats wrong and how I can fix it?  Thanks.","meta":"{'source': 'reddit_posts', 'id': 'n3fvq', 'title': \"[help] I bought an app but it won't let me install it\", 'author': 'YouWorkForMeNow', 'subreddit': 'Android', 'subreddit_id': '2qlqh', 'body': \"I just bought several of the 10 cent apps today.  Two of them went swimmingly, but Field Runners did not.  I paid for it, but then I received an error message saying my phone didn't have enough space.\\n\\nI'm using a Samsung Galaxy S, and I still have several gigs worth of memory available.\\n\\nI've tried rebooting my phone, re-checking my available data and made sure field runners didn't get partially installed or something.\\n\\nAnybody know whats wrong and how I can fix it?  Thanks.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 5, 'created_utc': 1323229235}"}
{"id":"1923685","text":"Title: Did I just screw myself over?\nThe text below was posted in an online community called cscareerquestions in the year 2021:\n\nIm a new grad with very little work experience. Ever since I graduated Ive been mass applying to jobs. I applied to this front end developer position at like 2am a couple days ago not knowing they wanted a dev with senior level experience. Basically I just skimmed the listing and totally missed the part where it mentioned that. I have an introductory interview tomorrow.\n\nSo right now I cant help but think Im probably not going to land this job, which is whatever. What Im worried about is that I actually know people who put in a good word for me to the people within the company. Am I about to make my connections look stupid? I am obviously not a senior level developer. How can I minimize the damage?","meta":"{'source': 'reddit_posts', 'id': 'nf3q3k', 'title': 'Did I just screw myself over?', 'author': 'bluez32', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': 'Im a new grad with very little work experience. Ever since I graduated Ive been mass applying to jobs. I applied to this front end developer position at like 2am a couple days ago not knowing they wanted a dev with senior level experience. Basically I just skimmed the listing and totally missed the part where it mentioned that. I have an introductory interview tomorrow.\\n\\nSo right now I cant help but think Im probably not going to land this job, which is whatever. What Im worried about is that I actually know people who put in a good word for me to the people within the company. Am I about to make my connections look stupid? I am obviously not a senior level developer. How can I minimize the damage?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 6, 'created_utc': 1621321033}"}
{"id":"1683851","text":"Title: Is there any language that is as similar as possible to Python in syntax, readability, and features, but is statically typed?\nThe text below was posted in an online community called Python in the year 2021:\n\nI get the impression the dynamic typing of Python is one of the biggest speed bottlenecks. I also like the idea of static typing just because it forces you to think more about what you are writing and what each step is doing.\n\nIs there some language that feels like Python in every other way, but is statically typed?","meta":"{'source': 'reddit_posts', 'id': 'qofmt3', 'title': 'Is there any language that is as similar as possible to Python in syntax, readability, and features, but is statically typed?', 'author': 'hydrolock12', 'subreddit': 'Python', 'subreddit_id': '2qh0y', 'body': 'I get the impression the dynamic typing of Python is one of the biggest speed bottlenecks. I also like the idea of static typing just because it forces you to think more about what you are writing and what each step is doing.\\n\\nIs there some language that feels like Python in every other way, but is statically typed?', 'body_is_trimmed': False, 'score': 370, 'over_18': False, 'num_comments': 217, 'created_utc': 1636253693}"}
{"id":"1534340","text":"Title: Help with phpmyadmin \/ mysql to create trigger on insert for Sourcebans\nThe text below was posted in an online community called PHPhelp in the year 2017:\n\nI run a small number of TF2 servers. The servers use [SourceBans](https:\/\/www.gameconnect.net\/projects\/sourcebans\/) to block banned players from joining the servers them. The hosting site that we use for the Sourcebans database provides us with phpMyAdmin, so that's what we use.\n\nWe have a rule on our servers where all players get a maximum of 5 bans before they become permanently banned on the 6th ban. At the moment, the server admins have to manually check the Sourcebans page to check how many bans that player has and edit the players ban to a permanent ban. **I want to make this happen automatically,** so if a player has greater than 5 bans, the most recent ban is made permanent.\n\nWhen I asked about this on [AlliedModders](https:\/\/forums.alliedmods.net\/showthread.php?t=291573), one I was told \"*You should create a Trigger on Insert into the bans table. Just count the existing ban entries for that userid and change banlength to permanent if there are x-1 ban entries.*\"\n\nNow I have to be honest, **I have absolutely zero knowledge of php**. Frankly I am hoping someone can just post what I need to do step-by-step and\/or do it for me. I can find my way to the 'Add Trigger' dialogue window in phpmyadmin, and this is what it presents - [http:\/\/i.imgur.com\/vcsZbR5.png](http:\/\/i.imgur.com\/vcsZbR5.png)\n\nAs an optional extra task\/trigger, I'd like the reason attached to the ban editted to add in \" - 6th ban so permanent\" (minus the quotation marks). So for example, if the player was Votebanned the default reason would read \"Votebanned\". If it has been upgraded to a permanent ban, the reason would read \"Votebanned - 6th ban so permanent\"\n\nThat said, how would I go about making this work?","meta":"{'source': 'reddit_posts', 'id': '5y90ls', 'title': 'Help with phpmyadmin \/ mysql to create trigger on insert for Sourcebans', 'author': 'sgt_phsco', 'subreddit': 'PHPhelp', 'subreddit_id': '2rhbw', 'body': 'I run a small number of TF2 servers. The servers use [SourceBans](https:\/\/www.gameconnect.net\/projects\/sourcebans\/) to block banned players from joining the servers them. The hosting site that we use for the Sourcebans database provides us with phpMyAdmin, so that\\'s what we use.\\n\\nWe have a rule on our servers where all players get a maximum of 5 bans before they become permanently banned on the 6th ban. At the moment, the server admins have to manually check the Sourcebans page to check how many bans that player has and edit the players ban to a permanent ban. **I want to make this happen automatically,** so if a player has greater than 5 bans, the most recent ban is made permanent.\\n\\nWhen I asked about this on [AlliedModders](https:\/\/forums.alliedmods.net\/showthread.php?t=291573), one I was told \"*You should create a Trigger on Insert into the bans table. Just count the existing ban entries for that userid and change banlength to permanent if there are x-1 ban entries.*\"\\n\\nNow I have to be honest, **I have absolutely zero knowledge of php**. Frankly I am hoping someone can just post what I need to do step-by-step and\/or do it for me. I can find my way to the \\'Add Trigger\\' dialogue window in phpmyadmin, and this is what it presents - [http:\/\/i.imgur.com\/vcsZbR5.png](http:\/\/i.imgur.com\/vcsZbR5.png)\\n\\nAs an optional extra task\/trigger, I\\'d like the reason attached to the ban editted to add in \" - 6th ban so permanent\" (minus the quotation marks). So for example, if the player was Votebanned the default reason would read \"Votebanned\". If it has been upgraded to a permanent ban, the reason would read \"Votebanned - 6th ban so permanent\"\\n\\nThat said, how would I go about making this work?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 22, 'created_utc': 1488991893}"}
{"id":"1256130","text":"Title: Need help sorting array by date to populate dropdown\nThe text below was posted in an online community called reactjs in the year 2022:\n\nHey Everyone! I'm still very new to all of this but I'm having a blast building things and hoping to find some help figuring this part out. \n\nI'm building a PDF viewer that changes based on which item you select in the dropdown. The dropdown is populated from an array and I have two buttons that change the way the items in the dropdown are displayed, either by author or by publication date, but I don't know how to get them to sort. One obviously needs to be sorted by date, while the author is sorted alphabetically by author, then by date.\n\nI was playing with something like this but can't figure out where to put it so that it only happens on the date button:\n\n        PDFs.sort(function (a, b) {\n    var dateA = new Date(a.date), dateB = new Date(b.date)\n    return dateA - dateB});\n\nI have the project here: https:\/\/github.com\/zedinstead\/PDF_Library_Viewer\/blob\/main\/PDFViewer.jsx\n\nAgain, I'm very new to web dev so any help is greatly appreciated. Thanks!","meta":"{'source': 'reddit_posts', 'id': 'sxaqnn', 'title': 'Need help sorting array by date to populate dropdown', 'author': 'zedinstead', 'subreddit': 'reactjs', 'subreddit_id': '2zldd', 'body': \"Hey Everyone! I'm still very new to all of this but I'm having a blast building things and hoping to find some help figuring this part out. \\n\\nI'm building a PDF viewer that changes based on which item you select in the dropdown. The dropdown is populated from an array and I have two buttons that change the way the items in the dropdown are displayed, either by author or by publication date, but I don't know how to get them to sort. One obviously needs to be sorted by date, while the author is sorted alphabetically by author, then by date.\\n\\nI was playing with something like this but can't figure out where to put it so that it only happens on the date button:\\n\\n        PDFs.sort(function (a, b) {\\n    var dateA = new Date(a.date), dateB = new Date(b.date)\\n    return dateA - dateB});\\n\\nI have the project here: https:\/\/github.com\/zedinstead\/PDF_Library_Viewer\/blob\/main\/PDFViewer.jsx\\n\\nAgain, I'm very new to web dev so any help is greatly appreciated. Thanks!\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 6, 'created_utc': 1645389426}"}
{"id":"1231034","text":"Title: Did you ever hire a designer? If so, how was your experience?\nThe text below was posted in an online community called androiddev in the year 2017:\n\nDid the \"professionally designed\" icon performed better?\n\nDo you think it was worth the price?\n\nDo you regret doing that?\n\nI looked online and I found designers who would work for 50$-100$ an hour, with a minimum of 2 hours. It's quite a lot of money for indie devs, so I would love to hear your experiences regarding this topic","meta":"{'source': 'reddit_posts', 'id': '5qhzmd', 'title': 'Did you ever hire a designer? If so, how was your experience?', 'author': 'android-dev-guy', 'subreddit': 'androiddev', 'subreddit_id': '2r26y', 'body': 'Did the \"professionally designed\" icon performed better?\\n\\nDo you think it was worth the price?\\n\\nDo you regret doing that?\\n\\nI looked online and I found designers who would work for 50$-100$ an hour, with a minimum of 2 hours. It\\'s quite a lot of money for indie devs, so I would love to hear your experiences regarding this topic', 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 4, 'created_utc': 1485533966}"}
{"id":"1198987","text":"Title: Python Crash Course Namespace Error in Django\nThe text below was posted in an online community called learnprogramming in the year 2017:\n\nI am working through Python Crash Course by Eric Matthes.  Presently, I am in the Django chapter, working through the Django example.  I have run into some difficulty.  I get an error in the server console related to the urls.py file.\nDetails:\nI am running Django 2 with python 3.5 on Mint.\n\nHere is the example code.\n\n    from django.conf.urls import include, url\n    from django.contrib import admin\n\n    urlpatterns = [\n        url(r'^admin\/', include(admin.site.urls)),\n        url(r'', include('learning_logs.urls', namespace='learning_logs')),\n    ]\n\nError: \ndjango.core.exceptions.ImproperlyConfigured: Specifying a namespace in include() without providing an app_name is not supported. Set the app_name attribute in the included module, or pass a 2-tuple containing the list of patterns and app_name instead.\n\nI think the issue is the book was written for an older version of Django.  \nI found this link https:\/\/code.djangoproject.com\/ticket\/28691 which addresses what I am seeing, but I dont know how apply it.","meta":"{'source': 'reddit_posts', 'id': '7napdm', 'title': 'Python Crash Course Namespace Error in Django', 'author': 'normandantzig', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': \"I am working through Python Crash Course by Eric Matthes.  Presently, I am in the Django chapter, working through the Django example.  I have run into some difficulty.  I get an error in the server console related to the urls.py file.\\nDetails:\\nI am running Django 2 with python 3.5 on Mint.\\n\\nHere is the example code.\\n\\n    from django.conf.urls import include, url\\n    from django.contrib import admin\\n\\n    urlpatterns = [\\n        url(r'^admin\/', include(admin.site.urls)),\\n        url(r'', include('learning_logs.urls', namespace='learning_logs')),\\n    ]\\n\\nError: \\ndjango.core.exceptions.ImproperlyConfigured: Specifying a namespace in include() without providing an app_name is not supported. Set the app_name attribute in the included module, or pass a 2-tuple containing the list of patterns and app_name instead.\\n\\nI think the issue is the book was written for an older version of Django.  \\nI found this link https:\/\/code.djangoproject.com\/ticket\/28691 which addresses what I am seeing, but I dont know how apply it.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 7, 'created_utc': 1514751249}"}
{"id":"273244","text":"Title: Finally learned why people struggle with biters!!!\nThe text below was posted in an online community called factorio in the year 2022:\n\nI have about 1500 hours in Factorio and NEVER struggled with biters in vanilla. Literally not one time did I lose a building to biters. I never looked at the map, prior to starting the game, and just took what it gave me on 5 playthroughs. Well, today decided to start another vanilla game and very shortly after starting (haven't even automated red science) I started getting SHIT ON by biters, lost almost half my factory... looked back at my saves and this is the first time I started in a huge desert are with no live trees in sight. I now understand how people can struggle with this! here I was sitting on my \"no biter\" throne to be knocked off it today. So I apologize to the Factorio community for being so, albeit quietly, judgmental when I didn't realize I was playing on easy mode!EDIT: I have lost walls and turrets, but never actual buildings or miners","meta":"{'source': 'reddit_posts', 'id': 'y1i3x3', 'title': 'Finally learned why people struggle with biters!!!', 'author': 'feeder_pro', 'subreddit': 'factorio', 'subreddit_id': '2wabp', 'body': 'I have about 1500 hours in Factorio and NEVER struggled with biters in vanilla. Literally not one time did I lose a building to biters. I never looked at the map, prior to starting the game, and just took what it gave me on 5 playthroughs. Well, today decided to start another vanilla game and very shortly after starting (haven\\'t even automated red science) I started getting SHIT ON by biters, lost almost half my factory... looked back at my saves and this is the first time I started in a huge desert are with no live trees in sight. I now understand how people can struggle with this! here I was sitting on my \"no biter\" throne to be knocked off it today. So I apologize to the Factorio community for being so, albeit quietly, judgmental when I didn\\'t realize I was playing on easy mode!EDIT: I have lost walls and turrets, but never actual buildings or miners', 'body_is_trimmed': False, 'score': 1084, 'over_18': False, 'num_comments': 162, 'created_utc': 1665516870}"}
{"id":"1435319","text":"Title: HEY! GAMEDEV! CHECK IT OUT!\nThe text below was posted in an online community called gamedev in the year 2011:\n\nI'm a struggling voice actor who is looking to create a portfolio to submit to a talent agency and I need some work.\n\nYou need some voice work? Done. Free. I've got a condenser mic with audacity and I'm ready to go my friends. Give me something to chew and I'll spit out silk.","meta":"{'source': 'reddit_posts', 'id': 'g8pta', 'title': 'HEY! GAMEDEV! CHECK IT OUT!', 'author': 'dextreFreeman', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': \"I'm a struggling voice actor who is looking to create a portfolio to submit to a talent agency and I need some work.\\n\\nYou need some voice work? Done. Free. I've got a condenser mic with audacity and I'm ready to go my friends. Give me something to chew and I'll spit out silk.\", 'body_is_trimmed': False, 'score': 23, 'over_18': False, 'num_comments': 25, 'created_utc': 1300769176}"}
{"id":"2163334","text":"Title: Deploying Django site\nThe text below was posted in an online community called learnprogramming in the year 2013:\n\nHey so I'm an undergraduate at an institute that has a central IT helpdesk which runs the servers. I don't have root or sudo access to the server I'm launching on. All I can do is ask the helpdesk to do things and change my settings.py and wsgi.py files. \n\nI've been running django's development server for testing and I just can't get my head around how to deploy the site on the server for production.\n\nI've put all my django files on the server using filezilla and changed the settings and wsgi files. What do I do next\/ What can I ask the helpdesk to do?","meta":"{'source': 'reddit_posts', 'id': '1iix85', 'title': 'Deploying Django site', 'author': 'Pinktennisball', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': \"Hey so I'm an undergraduate at an institute that has a central IT helpdesk which runs the servers. I don't have root or sudo access to the server I'm launching on. All I can do is ask the helpdesk to do things and change my settings.py and wsgi.py files. \\n\\nI've been running django's development server for testing and I just can't get my head around how to deploy the site on the server for production.\\n\\nI've put all my django files on the server using filezilla and changed the settings and wsgi files. What do I do next\/ What can I ask the helpdesk to do?\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 3, 'created_utc': 1374107698}"}
{"id":"1464110","text":"Title: Virtual Server Issue\nThe text below was posted in an online community called networking in the year 2015:\n\nI couldn't fnd a subcategory for this issue but I have sen how helpful everyone on his forum can be.\n\nA virtual server was rebooted and now has not come back up, I have received an alert to say it is down.\n\nUnfortunately I don't know how to start that back up, I am unsure what physical server holds that cluster.\n\nAny ideas?","meta":"{'source': 'reddit_posts', 'id': '3b8ke5', 'title': 'Virtual Server Issue', 'author': 'jojomejo1', 'subreddit': 'networking', 'subreddit_id': '2qkaf', 'body': \"I couldn't fnd a subcategory for this issue but I have sen how helpful everyone on his forum can be.\\n\\nA virtual server was rebooted and now has not come back up, I have received an alert to say it is down.\\n\\nUnfortunately I don't know how to start that back up, I am unsure what physical server holds that cluster.\\n\\nAny ideas?\", 'body_is_trimmed': False, 'score': 10, 'over_18': False, 'num_comments': 5, 'created_utc': '1435352600'}"}
{"id":"499714","text":"Title: Program to monitor bandwidth\nThe text below was posted in an online community called networking in the year 2013:\n\nHey guys, not even sure if there is a program like this out there, but i was hoping you can help me find one if there is. I'm looking for a program that can see the usage and bandwidth of each client on my network, not exactly what their doing, just a nice little graph or number of how much internetz they're stealing. Any direction you can point me would be great. Thanks!","meta":"{'source': 'reddit_posts', 'id': '19dpfu', 'title': 'Program to monitor bandwidth', 'author': 'eyeowuh', 'subreddit': 'networking', 'subreddit_id': '2qkaf', 'body': \"Hey guys, not even sure if there is a program like this out there, but i was hoping you can help me find one if there is. I'm looking for a program that can see the usage and bandwidth of each client on my network, not exactly what their doing, just a nice little graph or number of how much internetz they're stealing. Any direction you can point me would be great. Thanks!\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 19, 'created_utc': 1362029102}"}
{"id":"572894","text":"Title: Finding non-web development jobs\nThe text below was posted in an online community called programming in the year 2010:\n\nHey all. I've been browsing monster.com, dice.com and other job boards to see what's out there for me. What I've found is that almost every job is for web dev, an area in which I'm not particularly experienced, even as a junior developer. I know my way around HTML, CSS and Javascript in general, but nothing advanced and barely anything but the basics server-side. \n\nWhat resources have you found to be beneficial that aren't overwhelmed with web-development positions? \n\nEDIT: I'm currently enjoying [indeed.com](http:\/\/www.indeed.com\/)","meta":"{'source': 'reddit_posts', 'id': 'aof3k', 'title': 'Finding non-web development jobs', 'author': 'kibokun', 'subreddit': 'programming', 'subreddit_id': '2fwo', 'body': \"Hey all. I've been browsing monster.com, dice.com and other job boards to see what's out there for me. What I've found is that almost every job is for web dev, an area in which I'm not particularly experienced, even as a junior developer. I know my way around HTML, CSS and Javascript in general, but nothing advanced and barely anything but the basics server-side. \\n\\nWhat resources have you found to be beneficial that aren't overwhelmed with web-development positions? \\n\\nEDIT: I'm currently enjoying [indeed.com](http:\/\/www.indeed.com\/)\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 19, 'created_utc': 1263255810}"}
{"id":"2251159","text":"Title: Trying (and failing) to activate a program's menus commands\nThe text below was posted in an online community called AutoHotkey in the year 2021:\n\nThis is my first time trying to program in AHK.\n\nI want to lowercase a selection in Scrivener by selecting the appropriate menu commands. It's not working. I assume I am missing something obvious. I'm using the latest v.1.1+\n\nAs you'll see from this fragment, I've tried using both WinMenuSelectItem and Send and neither works.\n\nHere's the code I have -- it succeeds in detecting whether Scrivener is active and launches the MsgBox appropriately.\n\n    IfWinActive, Scrivener\n    {\n  \tMsgBox, Scrivener running\n\tWinMenuSelectItem,Scrivener,, Fo&amp;rmat,&amp;Convert,To &amp;Lowercase\n\tSend, !r!C!l \n    }\t\n\nThank you for helping a newbie!","meta":"{'source': 'reddit_posts', 'id': 'qd7u77', 'title': \"Trying (and failing) to activate a program's menus commands\", 'author': 'YudelBYP', 'subreddit': 'AutoHotkey', 'subreddit_id': '2rodl', 'body': \"This is my first time trying to program in AHK.\\n\\nI want to lowercase a selection in Scrivener by selecting the appropriate menu commands. It's not working. I assume I am missing something obvious. I'm using the latest v.1.1+\\n\\nAs you'll see from this fragment, I've tried using both WinMenuSelectItem and Send and neither works.\\n\\nHere's the code I have -- it succeeds in detecting whether Scrivener is active and launches the MsgBox appropriately.\\n\\n    IfWinActive, Scrivener\\n    {\\n  \\tMsgBox, Scrivener running\\n\\tWinMenuSelectItem,Scrivener,, Fo&amp;rmat,&amp;Convert,To &amp;Lowercase\\n\\tSend, !r!C!l \\n    }\\t\\n\\nThank you for helping a newbie!\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 4, 'created_utc': 1634871564}"}
{"id":"2109494","text":"Title: Cant get a new page to recognize the logged in User ID\nThe text below was posted in an online community called rails in the year 2014:\n\nHey guys, I am building a simple alumni app using mostly what I learned from the Hartl tutorial and I have ran into a problem, and I want users to be able to join organizations. For some reason in my new join page I get the error \"Couldn't find User without an ID\". I want to know why the ID isn't passing in, which would imply signed_in? = false. I don't know why everything worked find when I created other additions to my users controller but here it refuses to take on the logged in user id. Dont know what to do, feel like it is a basic mistake and I am just missing something. Any help is appreciated, if not, would love an upvote on stacksoverflow: http:\/\/stackoverflow.com\/questions\/21212077\/could-not-find-user-without-id-activerecord-error-and-editing-trouble","meta":"{'source': 'reddit_posts', 'id': '1vka00', 'title': 'Cant get a new page to recognize the logged in User ID', 'author': 'tommy_taco', 'subreddit': 'rails', 'subreddit_id': '2qhjn', 'body': 'Hey guys, I am building a simple alumni app using mostly what I learned from the Hartl tutorial and I have ran into a problem, and I want users to be able to join organizations. For some reason in my new join page I get the error \"Couldn\\'t find User without an ID\". I want to know why the ID isn\\'t passing in, which would imply signed_in? = false. I don\\'t know why everything worked find when I created other additions to my users controller but here it refuses to take on the logged in user id. Dont know what to do, feel like it is a basic mistake and I am just missing something. Any help is appreciated, if not, would love an upvote on stacksoverflow: http:\/\/stackoverflow.com\/questions\/21212077\/could-not-find-user-without-id-activerecord-error-and-editing-trouble', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': '1390094734'}"}
{"id":"2118494","text":"Title: [Java] How do you find the pixel location on an image?\nThe text below was posted in an online community called learnprogramming in the year 2016:\n\nI am coding a guitar tuner ([like this one](http:\/\/www.8notes.com\/guitar_tuner\/?sstring=E1)) based on a keyboard class I already have.  I'll use the keys and song files I need for the guitar frequencies.  Running the unmodified applet shows a keyboard.  ([here's the jpg file for it](http:\/\/i.imgur.com\/f4CZXd6.jpg)).  In the class, there are these statements for what I assume are the coordinate boundaries for each key.  \n\n    private White c1 = new White(50, 100, 50, 80, ePRESS1Add);  \n      private Black cSharp1 = new Black(81, 111, csPRESS1Add);\n      private White d1 = new White(101, 151, 112, 143, dPRESS1Add);  \n      private Black dSharp1 = new Black(144, 173, dsPRESS1Add);\n      private White e1 = new White(153, 202, 174, 202, ePRESS1Add);  \n      private White f1 = new White(203, 252, 203, 232, fPRESS1Add);  \n      private Black fSharp1 = new Black(233, 263, fsPRESS1Add);\n      private White g1 = new White(253, 303, 264, 290, gPRESS1Add);  \n      private Black gSharp1 = new Black(291, 320, gsPRESS1Add);\n      private White a1 = new White(304, 354, 320, 347, aPRESS1Add); \n      private Black aSharp1 = new Black(347, 376, asPRESS1Add);\n      private White b1 = new White(355, 405, 377, 403, bPRESS1Add);\n\n      private White c2 = new White(406, 456, 406, 436, cPRESS2Add); \n      private Black cSharp2 = new Black(437, 465, csPRESS2Add);\n      private White d2 = new White(457, 507, 465, 497, dPRESS2Add);  \n      private Black dSharp2 = new Black(497, 526, dsPRESS2Add);\n      private White e2 = new White(509, 556, 526, 556, ePRESS2Add);  \n      private White f2 = new White(557, 606, 557, 586, fPRESS2Add);  \n      private Black fSharp2 = new Black(587, 617, fsPRESS2Add);\n      private White g2 = new White(607, 657, 618, 644, gPRESS2Add);  \n      private Black gSharp2 = new Black(645, 674, gsPRESS2Add);\n      private White a2 = new White(658, 708, 675, 698, aPRESS2Add); \n      private Black aSharp2 = new Black(699, 731, asPRESS2Add);\n      private White b2 = new White(709, 759, 732, 754, bPRESS2Add);\n\nHowever I would like to modify the locations of these keys as I introduce a new image for the guitar tuner, where the E, A, D, G, B, E keys are.  How do I get to know where exactly the coordinates for those keys are? ([I found one website](http:\/\/www.mobilefish.com\/services\/record_mouse_coordinates\/record_mouse_coordinates.php), but for some reason it says the dimensions are 610 x 296 rather than 810 x 394.) What are the 3rd and 4th parameters?\n\nHere is a [rough draft of the main class](http:\/\/pastebin.com\/us0gN0Uy) I currently have if it helps.  I have removed the unnecessary notes from the keyboard and methods that I won't need for the tuner.  The keyboard doesn't have a third E key, so I added the declarations and .wav file for one.  I'll need to know how to add one based on coordinates though first.\n\n**TL;DR  I need to know the locations of shapes on an image, in the form of pixel coordinates, but don't know how to do this.**\n\nThanks in advance.","meta":"{'source': 'reddit_posts', 'id': '4le1qk', 'title': '[Java] How do you find the pixel location on an image?', 'author': 'Thegreatmochi', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': \"I am coding a guitar tuner ([like this one](http:\/\/www.8notes.com\/guitar_tuner\/?sstring=E1)) based on a keyboard class I already have.  I'll use the keys and song files I need for the guitar frequencies.  Running the unmodified applet shows a keyboard.  ([here's the jpg file for it](http:\/\/i.imgur.com\/f4CZXd6.jpg)).  In the class, there are these statements for what I assume are the coordinate boundaries for each key.  \\n\\n    private White c1 = new White(50, 100, 50, 80, ePRESS1Add);  \\n      private Black cSharp1 = new Black(81, 111, csPRESS1Add);\\n      private White d1 = new White(101, 151, 112, 143, dPRESS1Add);  \\n      private Black dSharp1 = new Black(144, 173, dsPRESS1Add);\\n      private White e1 = new White(153, 202, 174, 202, ePRESS1Add);  \\n      private White f1 = new White(203, 252, 203, 232, fPRESS1Add);  \\n      private Black fSharp1 = new Black(233, 263, fsPRESS1Add);\\n      private White g1 = new White(253, 303, 264, 290, gPRESS1Add);  \\n      private Black gSharp1 = new Black(291, 320, gsPRESS1Add);\\n      private White a1 = new White(304, 354, 320, 347, aPRESS1Add); \\n      private Black aSharp1 = new Black(347, 376, asPRESS1Add);\\n      private White b1 = new White(355, 405, 377, 403, bPRESS1Add);\\n\\n      private White c2 = new White(406, 456, 406, 436, cPRESS2Add); \\n      private Black cSharp2 = new Black(437, 465, csPRESS2Add);\\n      private White d2 = new White(457, 507, 465, 497, dPRESS2Add);  \\n      private Black dSharp2 = new Black(497, 526, dsPRESS2Add);\\n      private White e2 = new White(509, 556, 526, 556, ePRESS2Add);  \\n      private White f2 = new White(557, 606, 557, 586, fPRESS2Add);  \\n      private Black fSharp2 = new Black(587, 617, fsPRESS2Add);\\n      private White g2 = new White(607, 657, 618, 644, gPRESS2Add);  \\n      private Black gSharp2 = new Black(645, 674, gsPRESS2Add);\\n      private White a2 = new White(658, 708, 675, 698, aPRESS2Add); \\n      private Black aSharp2 = new Black(699, 731, asPRESS2Add);\\n      private White b2 = new White(709, 759, 732, 754, bPRESS2Add);\\n\\nHowever I would like to modify the locations of these keys as I introduce a new image for the guitar tuner, where the E, A, D, G, B, E keys are.  How do I get to know where exactly the coordinates for those keys are? ([I found one website](http:\/\/www.mobilefish.com\/services\/record_mouse_coordinates\/record_mouse_coordinates.php), but for some reason it says the dimensions are 610 x 296 rather than 810 x 394.) What are the 3rd and 4th parameters?\\n\\nHere is a [rough draft of the main class](http:\/\/pastebin.com\/us0gN0Uy) I currently have if it helps.  I have removed the unnecessary notes from the keyboard and methods that I won't need for the tuner.  The keyboard doesn't have a third E key, so I added the declarations and .wav file for one.  I'll need to know how to add one based on coordinates though first.\\n\\n**TL;DR  I need to know the locations of shapes on an image, in the form of pixel coordinates, but don't know how to do this.**\\n\\nThanks in advance.\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 2, 'created_utc': 1464402591}"}
{"id":"1875296","text":"Title: Network Monitoring (x\/post from r\/homelab)\nThe text below was posted in an online community called raspberry_pi in the year 2014:\n\nHi, for quite some time now I have been trying to find a decent network monitoring package that I can run on a Raspberry pi. I have tried Nagios but I don't really like the interface, It is VERY complicated, and too many of the modules require the enterprise (read: $$$$) version.\n\nIs there anything out there that is simple to use, reliable, well documented (or at least has a good community that I can ask for help if I need it), open source, and will run on the Raspberry Pi? (as an example, I quite liked SpiceWorks when I still used Windows, but I have since moved away from using Windows and run all Linux)\n\nTo get an idea of the number of devices I have, my environment consists of:\n\n1. A router (dd-wrt)\n\n2. Various \"dumb\" (unmanaged Linksys switches)\n\n3. 1 Cisco managed switch in the server cabinet (cant remember the model)\n\n4. Anywhere from 4-10 Raspberry Pi's\n\n5. A Freenas 0.7 box (file-server) (actually a headless laptop I got for free)\n\n6. A Dell PowerEdge 2850\n\n7. A Sun Netra 210 (which I plan to use as a controller for the Dell PowerVault 122T I just got) (waiting on new hard drives, but it will most likely be running Debian)\n\n8. 3-4 Windows boxes (my parents, all running Windows 7 thankfully)","meta":"{'source': 'reddit_posts', 'id': '1ut7pu', 'title': 'Network Monitoring (x\/post from r\/homelab)', 'author': 'smd75jr', 'subreddit': 'raspberry_pi', 'subreddit_id': '2syto', 'body': 'Hi, for quite some time now I have been trying to find a decent network monitoring package that I can run on a Raspberry pi. I have tried Nagios but I don\\'t really like the interface, It is VERY complicated, and too many of the modules require the enterprise (read: $$$$) version.\\n\\nIs there anything out there that is simple to use, reliable, well documented (or at least has a good community that I can ask for help if I need it), open source, and will run on the Raspberry Pi? (as an example, I quite liked SpiceWorks when I still used Windows, but I have since moved away from using Windows and run all Linux)\\n\\nTo get an idea of the number of devices I have, my environment consists of:\\n\\n1. A router (dd-wrt)\\n\\n2. Various \"dumb\" (unmanaged Linksys switches)\\n\\n3. 1 Cisco managed switch in the server cabinet (cant remember the model)\\n\\n4. Anywhere from 4-10 Raspberry Pi\\'s\\n\\n5. A Freenas 0.7 box (file-server) (actually a headless laptop I got for free)\\n\\n6. A Dell PowerEdge 2850\\n\\n7. A Sun Netra 210 (which I plan to use as a controller for the Dell PowerVault 122T I just got) (waiting on new hard drives, but it will most likely be running Debian)\\n\\n8. 3-4 Windows boxes (my parents, all running Windows 7 thankfully)', 'body_is_trimmed': False, 'score': 10, 'over_18': False, 'num_comments': 5, 'created_utc': '1389290151'}"}
{"id":"238237","text":"Title: Could a library for password encryption technically hide all the code or huge chunks of code\nThe text below was posted in an online community called Python in the year 2021:\n\nIf something like keyring can mask a string to hide passwords from being openly typed in code, if you wanted to make huge blocks of your code invisible \/ encrypted, couldnt you theoretically move huge chunks into encoded keyring variables and have the readable code just a series of keyring references assembled together to make sure it all still executes correctly?  Obviously code maintenence would be a total nightmare, however, if you had a completed project on a server where many eyes have access and you needed to protect some intellectual property, you could bury the plain code in encoded variables I imagine.","meta":"{'source': 'reddit_posts', 'id': 'lh0en9', 'title': 'Could a library for password encryption technically hide all the code or huge chunks of code', 'author': 'mrzisme', 'subreddit': 'Python', 'subreddit_id': '2qh0y', 'body': 'If something like keyring can mask a string to hide passwords from being openly typed in code, if you wanted to make huge blocks of your code invisible \/ encrypted, couldnt you theoretically move huge chunks into encoded keyring variables and have the readable code just a series of keyring references assembled together to make sure it all still executes correctly?  Obviously code maintenence would be a total nightmare, however, if you had a completed project on a server where many eyes have access and you needed to protect some intellectual property, you could bury the plain code in encoded variables I imagine.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1612982356}"}
{"id":"894934","text":"Title: How often do you upgrade Arch desktop?\nThe text below was posted in an online community called archlinux in the year 2020:\n\nI upgrade either on Fridays or Saturdays, and if I miss, its next week. What about you?","meta":"{'source': 'reddit_posts', 'id': 'if0g77', 'title': 'How often do you upgrade Arch desktop?', 'author': 'meat258', 'subreddit': 'archlinux', 'subreddit_id': '2qrzu', 'body': 'I upgrade either on Fridays or Saturdays, and if I miss, its next week. What about you?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 25, 'created_utc': 1598175481}"}
{"id":"2135491","text":"Title: can I learn this if I'm poor at maths?\nThe text below was posted in an online community called learnmachinelearning in the year 2018:\n\nI'm finishing up my postgrad in information systems at the moment. AI (so nonspecific I know, sorry! I don't have the energy to go into what I exactly do right now, study brain!) has been my favourite part of the course. Because I study the theory of machine learning and its applications, but have never actually \"done\" it itself, I want to know how long it would take me to learn it in depth when I have terrible maths skills? Also please excuse my english it isn't my first language!\n\nI have python and sql under my belt and I'm looking at coding more once I graduate. I really want to work in this field. AI has been a huge part of my degree and I feel I need ML to work in this after college.\n\nAny help you guys have would be very much appreciated!\n\n(edit: to clarify I want to go into ML software development... sorry my sleep deprived brain is all over the place)","meta":"{'source': 'reddit_posts', 'id': '8eccc3', 'title': \"can I learn this if I'm poor at maths?\", 'author': 'invigoratingshoehorn', 'subreddit': 'learnmachinelearning', 'subreddit_id': '3cqa1', 'body': 'I\\'m finishing up my postgrad in information systems at the moment. AI (so nonspecific I know, sorry! I don\\'t have the energy to go into what I exactly do right now, study brain!) has been my favourite part of the course. Because I study the theory of machine learning and its applications, but have never actually \"done\" it itself, I want to know how long it would take me to learn it in depth when I have terrible maths skills? Also please excuse my english it isn\\'t my first language!\\n\\nI have python and sql under my belt and I\\'m looking at coding more once I graduate. I really want to work in this field. AI has been a huge part of my degree and I feel I need ML to work in this after college.\\n\\nAny help you guys have would be very much appreciated!\\n\\n(edit: to clarify I want to go into ML software development... sorry my sleep deprived brain is all over the place)', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 7, 'created_utc': 1524497588}"}
{"id":"1841486","text":"Title: Looking for advice: Automated data transfer from Redshift to Aurora PostgreSQL\nThe text below was posted in an online community called aws in the year 2018:\n\nI have a need to automate copying certain tables from a Redshift cluster to an Aurora PostgreSQL database on a daily basis. Up until now, I have been utilising a [Redshift\/Aurora dblink](https:\/\/aws.amazon.com\/blogs\/big-data\/join-amazon-redshift-and-amazon-rds-postgresql-with-dblink\/) however this is creating a significant strain on Redshift resources and queues due to the size of the tables (some are &gt;100 million records).\n\nThe other approach I have played with is first unloading the data from Redshift to S3, copying the CSV files locally, then bulk loading the Aurora tables using the [COPY](https:\/\/www.postgresql.org\/docs\/9.2\/sql-copy.html) command (note: Aurora PostgreSQL doesn't support COPY from S3) . While this works okay, having to first copy the files locally is annoying and means I have to allocate a lot of disk to temporarily store this data.\n\n&amp;#x200B;\n\nRedshift is not currently a supported source for AWS DMS, so this rules out using that tool. Are there any alternative approaches, or third-party tools that I could use to do this automated data transfer?\n\n&amp;#x200B;\n\nP.S. AWS have said that they will add loading data from S3 to Aurora PostgreSQL (see [here](https:\/\/www.reddit.com\/r\/aws\/comments\/8lauiw\/we_are_the_amazon_aurora_team_ask_the_experts\/dzinjp5\/)), but there is no date on when this feature will be shipped.\n\n&amp;#x200B;\n\nThanks!","meta":"{'source': 'reddit_posts', 'id': 'a1hwni', 'title': 'Looking for advice: Automated data transfer from Redshift to Aurora PostgreSQL', 'author': 'fez_28', 'subreddit': 'aws', 'subreddit_id': '2qh84', 'body': \"I have a need to automate copying certain tables from a Redshift cluster to an Aurora PostgreSQL database on a daily basis. Up until now, I have been utilising a [Redshift\/Aurora dblink](https:\/\/aws.amazon.com\/blogs\/big-data\/join-amazon-redshift-and-amazon-rds-postgresql-with-dblink\/) however this is creating a significant strain on Redshift resources and queues due to the size of the tables (some are &gt;100 million records).\\n\\nThe other approach I have played with is first unloading the data from Redshift to S3, copying the CSV files locally, then bulk loading the Aurora tables using the [COPY](https:\/\/www.postgresql.org\/docs\/9.2\/sql-copy.html) command (note: Aurora PostgreSQL doesn't support COPY from S3) . While this works okay, having to first copy the files locally is annoying and means I have to allocate a lot of disk to temporarily store this data.\\n\\n&amp;#x200B;\\n\\nRedshift is not currently a supported source for AWS DMS, so this rules out using that tool. Are there any alternative approaches, or third-party tools that I could use to do this automated data transfer?\\n\\n&amp;#x200B;\\n\\nP.S. AWS have said that they will add loading data from S3 to Aurora PostgreSQL (see [here](https:\/\/www.reddit.com\/r\/aws\/comments\/8lauiw\/we_are_the_amazon_aurora_team_ask_the_experts\/dzinjp5\/)), but there is no date on when this feature will be shipped.\\n\\n&amp;#x200B;\\n\\nThanks!\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 5, 'created_utc': 1543502621}"}
{"id":"2254014","text":"Title: Red\/Blue Team CTF Advice\nThe text below was posted in an online community called AskNetsec in the year 2018:\n\nSo I just got invited to my first red\/blue CTF. Any tips are welcome.\n\n\nI'm assuming the systems the blue team will be protecting will be bare bones. What are some good things to look at at the blue side? How would you go about monitoring the systems? Things I would look at are journalctl and netstat. Do you recommend running continuous pcap?\n\n\nMy initial though would be to rotate looking through various system logs to look for possible attacks. I've read all the previous threads in the subreddit but wanted to see fresh ideas.","meta":"{'source': 'reddit_posts', 'id': '7xqfgo', 'title': 'Red\/Blue Team CTF Advice', 'author': 'k8Af7eWNgKNebHzjsYzn', 'subreddit': 'AskNetsec', 'subreddit_id': '2t3w8', 'body': \"So I just got invited to my first red\/blue CTF. Any tips are welcome.\\n\\n\\nI'm assuming the systems the blue team will be protecting will be bare bones. What are some good things to look at at the blue side? How would you go about monitoring the systems? Things I would look at are journalctl and netstat. Do you recommend running continuous pcap?\\n\\n\\nMy initial though would be to rotate looking through various system logs to look for possible attacks. I've read all the previous threads in the subreddit but wanted to see fresh ideas.\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 8, 'created_utc': 1518702312}"}
{"id":"748678","text":"Title: VBA pass-through query: named parameters not possible?\nThe text below was posted in an online community called PostgreSQL in the year 2020:\n\nI'm using MS Access with a 9.6.13 PostgreSQL database, and I'm constructing and executing ADO pass-through queries.\n\nI would prefer to have named parameters in many of these queries, but I get errors when I try. I don't get errors if I just use question marks. I'm guessing this is a PostgreSQL issue rather than an Access issue.\n\nHere's an example of a VBA procedure where the query works successfully:\n\n    Private Sub Update_Item()\n\n      Dim cmd As ADODB.Command\n  \n      On Error GoTo Error_Handler\n\n      Set cmd = New ADODB.Command\n      Set cmd.ActiveConnection = g_conn\n      cmd.CommandText = \"UPDATE items SET i_name = ? WHERE i_id = \" &amp; lng_Item_Id\n      Dim param1 As ADODB.Parameter\n      Set param1 = cmd.CreateParameter(, adVarChar, adParamInput, 100, txt_Item_Name.Value)\n      cmd.Parameters.Append param1\n      cmd.Execute , , adExecuteNoRecords\n      Set cmd = Nothing\n  \n      Exit Sub\n\n    Error_Handler:\n      MsgBox Err.Description\n\n    End Sub\n\nHowever, if I want to name a parameter, it fails. For example, if I try '@item_name' as follows, I get 'ERROR: column \"item_name\" does not exist; Error while preparing parameters'.\n\n    Private Sub Update_Item()\n\n      Dim cmd As ADODB.Command\n\n      On Error GoTo Error_Handler\n\n      Set cmd = New ADODB.Command\n      Set cmd.ActiveConnection = g_conn\n      cmd.CommandText = \"UPDATE items SET i_name = @item_name WHERE i_id = \" &amp; lng_Item_Id\n      Dim param1 As ADODB.Parameter\n      Set param1 = cmd.CreateParameter(\"@item_name\", adVarChar, adParamInput, 100, txt_Item_Name.Value)\n      cmd.Parameters.Append param1\n      cmd.Execute , , adExecuteNoRecords\n      Set cmd = Nothing\n  \n      Exit Sub\n\n    Error_Handler:\n      MsgBox Err.Description\n\n    End Sub\n\nOK, I could then simply use question marks for parameters, but if I'm, say, updating 15 columns for a record, then having named parameters would make the SQL a whole lot easier to write and maintain. Is there a way I can use named parameters?","meta":"{'source': 'reddit_posts', 'id': 'j8q0hm', 'title': 'VBA pass-through query: named parameters not possible?', 'author': 'Parisian75009', 'subreddit': 'PostgreSQL', 'subreddit_id': '2qvw7', 'body': 'I\\'m using MS Access with a 9.6.13 PostgreSQL database, and I\\'m constructing and executing ADO pass-through queries.\\n\\nI would prefer to have named parameters in many of these queries, but I get errors when I try. I don\\'t get errors if I just use question marks. I\\'m guessing this is a PostgreSQL issue rather than an Access issue.\\n\\nHere\\'s an example of a VBA procedure where the query works successfully:\\n\\n    Private Sub Update_Item()\\n\\n      Dim cmd As ADODB.Command\\n  \\n      On Error GoTo Error_Handler\\n\\n      Set cmd = New ADODB.Command\\n      Set cmd.ActiveConnection = g_conn\\n      cmd.CommandText = \"UPDATE items SET i_name = ? WHERE i_id = \" &amp; lng_Item_Id\\n      Dim param1 As ADODB.Parameter\\n      Set param1 = cmd.CreateParameter(, adVarChar, adParamInput, 100, txt_Item_Name.Value)\\n      cmd.Parameters.Append param1\\n      cmd.Execute , , adExecuteNoRecords\\n      Set cmd = Nothing\\n  \\n      Exit Sub\\n\\n    Error_Handler:\\n      MsgBox Err.Description\\n\\n    End Sub\\n\\nHowever, if I want to name a parameter, it fails. For example, if I try \\'@item_name\\' as follows, I get \\'ERROR: column \"item_name\" does not exist; Error while preparing parameters\\'.\\n\\n    Private Sub Update_Item()\\n\\n      Dim cmd As ADODB.Command\\n\\n      On Error GoTo Error_Handler\\n\\n      Set cmd = New ADODB.Command\\n      Set cmd.ActiveConnection = g_conn\\n      cmd.CommandText = \"UPDATE items SET i_name = @item_name WHERE i_id = \" &amp; lng_Item_Id\\n      Dim param1 As ADODB.Parameter\\n      Set param1 = cmd.CreateParameter(\"@item_name\", adVarChar, adParamInput, 100, txt_Item_Name.Value)\\n      cmd.Parameters.Append param1\\n      cmd.Execute , , adExecuteNoRecords\\n      Set cmd = Nothing\\n  \\n      Exit Sub\\n\\n    Error_Handler:\\n      MsgBox Err.Description\\n\\n    End Sub\\n\\nOK, I could then simply use question marks for parameters, but if I\\'m, say, updating 15 columns for a record, then having named parameters would make the SQL a whole lot easier to write and maintain. Is there a way I can use named parameters?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1602356001}"}
{"id":"797082","text":"Title: Do you think the reports about the screen on the XL2 will hurt sales?\nThe text below was posted in an online community called Android in the year 2017:\n\nI'm really curious about this. I want the phones to do well as it is good for all of Android but I personally would not buy one with a display like that. I do not think most people will read about the display though before they decide to purchase a Pixel.","meta":"{'source': 'reddit_posts', 'id': '784gbp', 'title': 'Do you think the reports about the screen on the XL2 will hurt sales?', 'author': 'Kyle1130', 'subreddit': 'Android', 'subreddit_id': '2qlqh', 'body': \"I'm really curious about this. I want the phones to do well as it is good for all of Android but I personally would not buy one with a display like that. I do not think most people will read about the display though before they decide to purchase a Pixel.\", 'body_is_trimmed': False, 'score': 70, 'over_18': False, 'num_comments': 121, 'created_utc': 1508721796}"}
{"id":"1219170","text":"Title: can i turn off my pc if windows update is installing in the background?\nThe text below was posted in an online community called Windows10 in the year 2020:\n\n&amp;#x200B;\n\nhttps:\/\/preview.redd.it\/m4m61zib2je41.png?width=1366&amp;format=png&amp;auto=webp&amp;s=7b73d223ecbb19e3025d7132276403f9c7d34d1a","meta":"{'source': 'reddit_posts', 'id': 'expuum', 'title': 'can i turn off my pc if windows update is installing in the background?', 'author': 'sadaharu25', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': '&amp;#x200B;\\n\\nhttps:\/\/preview.redd.it\/m4m61zib2je41.png?width=1366&amp;format=png&amp;auto=webp&amp;s=7b73d223ecbb19e3025d7132276403f9c7d34d1a', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 4, 'created_utc': 1580656772}"}
{"id":"2423579","text":"Title: Where to focus?\nThe text below was posted in an online community called webdev in the year 2015:\n\nSo most of my programming experience is in Java. But I've also dabbled in some Rails development, and some Full Stack JS (Angular, Node, etc). I am not asking which is best, or advocating only focusing on one forever. But, assuming everything else is equal (ie I don't have a personal preference for one over the other), what is the best thing to focus on, in the short term, that has the most entry-level jobs right now?","meta":"{'source': 'reddit_posts', 'id': '3rq02w', 'title': 'Where to focus?', 'author': 'TaylorHu', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': \"So most of my programming experience is in Java. But I've also dabbled in some Rails development, and some Full Stack JS (Angular, Node, etc). I am not asking which is best, or advocating only focusing on one forever. But, assuming everything else is equal (ie I don't have a personal preference for one over the other), what is the best thing to focus on, in the short term, that has the most entry-level jobs right now?\", 'body_is_trimmed': False, 'score': 11, 'over_18': False, 'num_comments': 9, 'created_utc': '1446782648'}"}
{"id":"28293","text":"Title: GRUB across multiple disks?\nThe text below was posted in an online community called linuxquestions in the year 2011:\n\nI would like to be able to make GRUB work across multiple disks. On one disk, I have a partially-working win7 install with driver issues and an install of Debian that I can't tell if it's working or not because I am so much of a noob I don't know how to get out of terminal, and on another disk I have a working install of Vista Business. \nGrub only recognizes the OSes on the disk that Debian is on, and not the working Vista. I need to access the Vista to find drivers and things like that. \nWhat should I do?","meta":"{'source': 'reddit_posts', 'id': 'masy7', 'title': 'GRUB across multiple disks?', 'author': 'sashathebest', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': \"I would like to be able to make GRUB work across multiple disks. On one disk, I have a partially-working win7 install with driver issues and an install of Debian that I can't tell if it's working or not because I am so much of a noob I don't know how to get out of terminal, and on another disk I have a working install of Vista Business. \\nGrub only recognizes the OSes on the disk that Debian is on, and not the working Vista. I need to access the Vista to find drivers and things like that. \\nWhat should I do?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': 1321202552}"}
{"id":"1347510","text":"Title: What type of rendering AngularJS support - Server Side or Client Side Rendering?\nThe text below was posted in an online community called angularjs in the year 2018:\n\nHi, I have read many blogs on angular js but still confused what type of rendering it supports.","meta":"{'source': 'reddit_posts', 'id': '8kb780', 'title': 'What type of rendering AngularJS support - Server Side or Client Side Rendering?', 'author': 'Mikewatson123', 'subreddit': 'angularjs', 'subreddit_id': '2ucjd', 'body': 'Hi, I have read many blogs on angular js but still confused what type of rendering it supports.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 3, 'created_utc': 1526626364}"}
{"id":"2313517","text":"Title: How good or bad is IBM really?\nThe text below was posted in an online community called cscareerquestions in the year 2016:\n\nI personally feel like IBM is one of those companies that is decent to work for, but on this sub, I see IBM get a lot of hate (probably the second most amount of hate, right after Epic). Yeah, I agree that IBM peaked maybe 15-20 years ago, but it's still an OK company to work at. Opinions?","meta":"{'source': 'reddit_posts', 'id': '3zuldb', 'title': 'How good or bad is IBM really?', 'author': 'throughawayacc0', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"I personally feel like IBM is one of those companies that is decent to work for, but on this sub, I see IBM get a lot of hate (probably the second most amount of hate, right after Epic). Yeah, I agree that IBM peaked maybe 15-20 years ago, but it's still an OK company to work at. Opinions?\", 'body_is_trimmed': False, 'score': 16, 'over_18': False, 'num_comments': 25, 'created_utc': 1452154591}"}
{"id":"2269390","text":"Title: [D] CLIP - Keras Code Example Walkthrough\nThe text below was posted in an online community called MachineLearning in the year 2021:\n\nThis video explains the CLIP implementation in Keras Code Examples!\n\nIn roughly 2 hours, you could have your own Natural language image search engine!\n\nI hope you enjoy this video, I have been learning so much from going through these examples. Very grateful to Francois Chollet for sharing this and all the authors who have contributed!\n\nhttps:\/\/youtu.be\/mXBgX5yZHhY","meta":"{'source': 'reddit_posts', 'id': 'l9gro0', 'title': '[D] CLIP - Keras Code Example Walkthrough', 'author': 'HenryAILabs', 'subreddit': 'MachineLearning', 'subreddit_id': '2r3gv', 'body': 'This video explains the CLIP implementation in Keras Code Examples!\\n\\nIn roughly 2 hours, you could have your own Natural language image search engine!\\n\\nI hope you enjoy this video, I have been learning so much from going through these examples. Very grateful to Francois Chollet for sharing this and all the authors who have contributed!\\n\\nhttps:\/\/youtu.be\/mXBgX5yZHhY', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 0, 'created_utc': 1612113340}"}
{"id":"2381930","text":"Title: iOS devs, whats your day to day like?\nThe text below was posted in an online community called cscareerquestions in the year 2018:\n\nHow hard is it to break in? Im a freshman in cs still debating whether to get into iOS.  Thoughts?","meta":"{'source': 'reddit_posts', 'id': 'a98zyb', 'title': 'iOS devs, whats your day to day like?', 'author': 'ics32final', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': 'How hard is it to break in? Im a freshman in cs still debating whether to get into iOS.  Thoughts?', 'body_is_trimmed': False, 'score': 19, 'over_18': False, 'num_comments': 15, 'created_utc': 1545687242}"}
{"id":"1767972","text":"Title: Any suggestions on Reading Material for Asp.net Core API? (Also any advice about the difference between an api based application vs standard MVC using the CSHTML (Razor Pages?)\nThe text below was posted in an online community called csharp in the year 2018:\n\nSo as a student I've made desktop application using win form\/wpf  asp.net mvc 5 and asp.net core 2.0\n\nNow I want to really step up my game and try getting into APIs now, but I am having a hard time finding good reading material for it does any one have any suggestions?\n\n\nI saw some books on amazon, and I am afraid wasting time on it or being taught the wrong thing. I also have a plural sight subscription but, I prefer text over videos but may have to cave and just watch some kevin dockx videos.","meta":"{'source': 'reddit_posts', 'id': '8u7b7g', 'title': 'Any suggestions on Reading Material for Asp.net Core API? (Also any advice about the difference between an api based application vs standard MVC using the CSHTML (Razor Pages?)', 'author': 'PM_ME_YOUR_SYNTAX', 'subreddit': 'csharp', 'subreddit_id': '2qhdf', 'body': \"So as a student I've made desktop application using win form\/wpf  asp.net mvc 5 and asp.net core 2.0\\n\\nNow I want to really step up my game and try getting into APIs now, but I am having a hard time finding good reading material for it does any one have any suggestions?\\n\\n\\nI saw some books on amazon, and I am afraid wasting time on it or being taught the wrong thing. I also have a plural sight subscription but, I prefer text over videos but may have to cave and just watch some kevin dockx videos.\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 4, 'created_utc': 1530080625}"}
{"id":"373256","text":"Title: No more Steam broke on latest update posts please!\nThe text below was posted in an online community called archlinux in the year 2016:\n\nI've updated the archlinux wiki for Steam (not the Steam troubleshooting wiki) because I am tired of the poor recommendation to delete old Ubuntu libraries in the local Steam installation directory.\n\n1) This is a ill chosen fix because the next Steam update breaks Steam once more for these users and\n\n2) they keep endlessly coming back posting Steam broke and\n\n3) Ill informed but helpful users reply to them with instructions to delete the old Ubuntu libraries manually in a terminal session and\n\n4) Go back to 1.\n\nInstead, if you wish to do what I do please read this section of the wiki:\n[https:\/\/wiki.archlinux.org\/index.php\/Steam#Using_native_runtime!](https:\/\/wiki.archlinux.org\/index.php\/Steam#Using_native_runtime)\n\nPay special attention to creating an ~\/.xprofile with the environment variable set to force Steam to launch without using the old Ubuntu libraries and instead use the native up to date libraries in archlinux. Notice how you never deleted a single file but still accomplished making Steam not use the old Ubuntu libraries that came with it.\n\nFinally the very last section titled *\"Satisfying dependencies without using the steam-libs meta-package (For x86_64)\"* is what I skip to and install all those native up to date archlinux libraries manually without any helper meta-package or repository. Helper meta-packages usually skip 64-bit library files like libudev0 which is required for 64-bit games such as DOTA 2 when running them on archlinux.\n\nYMMV but paying attention to this section of the wiki will be a very good start for your journey away from the endless circular issues of *\"the latest update broke my Steam... delete these libraries manually in terminal\"* tomfoolery.\n\nEDIT: To quickly revert out of this change, remove or comment out the the  ~\/.xprofile line entry with the environment variable set and then log out and log back in to your desktop environment. Steam will once again run with the included old Ubuntu libraries.","meta":"{'source': 'reddit_posts', 'id': '4l0tir', 'title': 'No more Steam broke on latest update posts please!', 'author': 'PeterHelpful', 'subreddit': 'archlinux', 'subreddit_id': '2qrzu', 'body': 'I\\'ve updated the archlinux wiki for Steam (not the Steam troubleshooting wiki) because I am tired of the poor recommendation to delete old Ubuntu libraries in the local Steam installation directory.\\n\\n1) This is a ill chosen fix because the next Steam update breaks Steam once more for these users and\\n\\n2) they keep endlessly coming back posting Steam broke and\\n\\n3) Ill informed but helpful users reply to them with instructions to delete the old Ubuntu libraries manually in a terminal session and\\n\\n4) Go back to 1.\\n\\nInstead, if you wish to do what I do please read this section of the wiki:\\n[https:\/\/wiki.archlinux.org\/index.php\/Steam#Using_native_runtime!](https:\/\/wiki.archlinux.org\/index.php\/Steam#Using_native_runtime)\\n\\nPay special attention to creating an ~\/.xprofile with the environment variable set to force Steam to launch without using the old Ubuntu libraries and instead use the native up to date libraries in archlinux. Notice how you never deleted a single file but still accomplished making Steam not use the old Ubuntu libraries that came with it.\\n\\nFinally the very last section titled *\"Satisfying dependencies without using the steam-libs meta-package (For x86_64)\"* is what I skip to and install all those native up to date archlinux libraries manually without any helper meta-package or repository. Helper meta-packages usually skip 64-bit library files like libudev0 which is required for 64-bit games such as DOTA 2 when running them on archlinux.\\n\\nYMMV but paying attention to this section of the wiki will be a very good start for your journey away from the endless circular issues of *\"the latest update broke my Steam... delete these libraries manually in terminal\"* tomfoolery.\\n\\nEDIT: To quickly revert out of this change, remove or comment out the the  ~\/.xprofile line entry with the environment variable set and then log out and log back in to your desktop environment. Steam will once again run with the included old Ubuntu libraries.', 'body_is_trimmed': False, 'score': 234, 'over_18': False, 'num_comments': 41, 'created_utc': 1464197461}"}
{"id":"700665","text":"Title: Missing Unity Packages\nThe text below was posted in an online community called Unity3D in the year 2018:\n\nAfter watching Brackey's [2D animation tutorial](https:\/\/www.youtube.com\/watch?v=eXIuizGzY2A), I wanted to try out those tools myself, but in the video it can be seen that he is using the 2D-animation package at version number 2.0.0-preview.2  ([screenshot from the video](https:\/\/i.imgur.com\/ELutU6v.png)). But I cannot select this version in my Unity Project I am steven81@example.org. Even after trying it on the newest 2018.3 beta and the 2019 alpha I only had 1.0.16-preview.\nI even looked in their GitHub but didnt find the new version.\n\nSo... does anyone of you know how to get the newest version?","meta":"{'source': 'reddit_posts', 'id': 'a1fuus', 'title': 'Missing Unity Packages', 'author': 'RaphaelDang', 'subreddit': 'Unity3D', 'subreddit_id': '2qwj8', 'body': \"After watching Brackey's [2D animation tutorial](https:\/\/www.youtube.com\/watch?v=eXIuizGzY2A), I wanted to try out those tools myself, but in the video it can be seen that he is using the 2D-animation package at version number 2.0.0-preview.2  ([screenshot from the video](https:\/\/i.imgur.com\/ELutU6v.png)). But I cannot select this version in my Unity Project I am stuck at 1.0.16-preview.1. Even after trying it on the newest 2018.3 beta and the 2019 alpha I only had 1.0.16-preview.\\nI even looked in their GitHub but didnt find the new version.\\n\\nSo... does anyone of you know how to get the newest version?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 3, 'created_utc': 1543483458}"}
{"id":"1536878","text":"Title: Are there any libraries that do the MVU (Elm) pattern using reactive extensions?\nThe text below was posted in an online community called ProgrammingLanguages in the year 2020:\n\nIt is used to do UIs. Here is [an example](https:\/\/fsprojects.github.io\/Fabulous\/Fabulous.XamarinForms\/#a-basic-example). Also known as the Elm pattern, it was pioneered by Elm and is now being picked up by other languages in the form of libraries.\n\nI've been studying both this and [reactive extensions](http:\/\/reactivex.io\/intro.html), and I've realized that it would not be hard at all to implement this pattern by via compilation to a chain of observables of UI components. This would have the advantage of not needing view diffing and having access to the full power of reactive extensions at every point in the program.\n\nSince I've spent time planning it out, I'll do a proof of concept of this if nobody else has done it. Google is not giving me anything, and some of the reactive JS DOM libraries I've looked at like `bacon.js` and `cycle.js` have different approaches.\n\nEdit: [Here it is.](https:\/\/github.com\/mrakgr\/Lithe-POC)","meta":"{'source': 'reddit_posts', 'id': 'fw1944', 'title': 'Are there any libraries that do the MVU (Elm) pattern using reactive extensions?', 'author': 'abstractcontrol', 'subreddit': 'ProgrammingLanguages', 'subreddit_id': '2qi8m', 'body': \"It is used to do UIs. Here is [an example](https:\/\/fsprojects.github.io\/Fabulous\/Fabulous.XamarinForms\/#a-basic-example). Also known as the Elm pattern, it was pioneered by Elm and is now being picked up by other languages in the form of libraries.\\n\\nI've been studying both this and [reactive extensions](http:\/\/reactivex.io\/intro.html), and I've realized that it would not be hard at all to implement this pattern by via compilation to a chain of observables of UI components. This would have the advantage of not needing view diffing and having access to the full power of reactive extensions at every point in the program.\\n\\nSince I've spent time planning it out, I'll do a proof of concept of this if nobody else has done it. Google is not giving me anything, and some of the reactive JS DOM libraries I've looked at like `bacon.js` and `cycle.js` have different approaches.\\n\\nEdit: [Here it is.](https:\/\/github.com\/mrakgr\/Lithe-POC)\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 9, 'created_utc': 1586188741}"}
{"id":"2367504","text":"Title: New version of Win10-Initial-Setup-Script was just (Sept-11) released. Here is a line-by-line guide on how to use it.\nThe text below was posted in an online community called PowerShell in the year 2019:\n\n#[Line by Line description of whatWin10-Initial-Setup-Script does](http:\/\/checkthebenchmarks.com\/2019\/09\/11\/win10-initial-setup-script\/)\n\n[Disassember0](https:\/\/github.com\/Disassembler0\/Win10-Initial-Setup-Script\/commits?author=Disassembler0) \njust released the lastest version (3.8) of the [Win10-Initial-Setup-Script](https:\/\/github.com\/Disassembler0\/Win10-Initial-Setup-Script\/releases) on September 11th, 2019.\n\nIt's an awesome powerful script that you can one-click customize Windows 10 how you like it, force the removable of bloatware, force uninstall shit you don't need or want taking up resources, and also disable Microsoft spying on you and whatnot. \n\nBUT, it's also a potentially very dangerous script and you can mess things up IF you don't know what you are doing. The [documentation is very poor](https:\/\/github.com\/Disassembler0\/Win10-Initial-Setup-Script#advanced-usage) to non-existent in describing exactly what each option does, so I went through, line by line (about 200 lines) and explained exactly what each of them does. Hope this helps. Took me a whole day to figure them all out. \n\nIf I got something wrong or could be more clear, feel free to let me know. I'll fix it right quick. \n\nEnjoy.","meta":"{'source': 'reddit_posts', 'id': 'd5mwou', 'title': 'New version of Win10-Initial-Setup-Script was just (Sept-11) released. Here is a line-by-line guide on how to use it.', 'author': 'klepperx', 'subreddit': 'PowerShell', 'subreddit_id': '2qo1o', 'body': \"#[Line by Line description of whatWin10-Initial-Setup-Script does](http:\/\/checkthebenchmarks.com\/2019\/09\/11\/win10-initial-setup-script\/)\\n\\n[Disassember0](https:\/\/github.com\/Disassembler0\/Win10-Initial-Setup-Script\/commits?author=Disassembler0) \\njust released the lastest version (3.8) of the [Win10-Initial-Setup-Script](https:\/\/github.com\/Disassembler0\/Win10-Initial-Setup-Script\/releases) on September 11th, 2019.\\n\\nIt's an awesome powerful script that you can one-click customize Windows 10 how you like it, force the removable of bloatware, force uninstall shit you don't need or want taking up resources, and also disable Microsoft spying on you and whatnot. \\n\\nBUT, it's also a potentially very dangerous script and you can mess things up IF you don't know what you are doing. The [documentation is very poor](https:\/\/github.com\/Disassembler0\/Win10-Initial-Setup-Script#advanced-usage) to non-existent in describing exactly what each option does, so I went through, line by line (about 200 lines) and explained exactly what each of them does. Hope this helps. Took me a whole day to figure them all out. \\n\\nIf I got something wrong or could be more clear, feel free to let me know. I'll fix it right quick. \\n\\nEnjoy.\", 'body_is_trimmed': False, 'score': 210, 'over_18': False, 'num_comments': 53, 'created_utc': 1568752944}"}
{"id":"1537155","text":"Title: Class inheritance, memory pools and avoiding garbage collection pauses.\nThe text below was posted in an online community called programming in the year 2010:\n\nI'm writing a game for Android. I need to avoid garbage collection from causing pauses so I need to allocate all the memory I need at the start of the game. I know I need to use memory pools, but cannot figure out the details. Say my class tree is something like this:\n\nEntity\n\n-Player\n\n--Monster\n\n---Monster1\n\n---Monster2\n\n-Bullet\n\n--Bullet1\n\n--Bullet2\n\nAs a memory pool needs to return objects of the requested type so they can be recycled, does this mean I need to have one memory pool for each type of object in my tree? It seems I can waste a lot of memory if this was the case as I need to guess how many of each class will be needed. Sometimes I've considered just merging several of the classes into one by making a union of the fields (so some objects would contain unused fields depending on how they were used) and adding a 'type' field so I can tell how to use it; however, this makes for more procedural code.\n\nAnother issue is how to keep track of references. For example, I want a list of Bullet objects that are in the game world that I can iterate over. I don't want to use e.g. Vector because removing from the Vector is expensive (it shifts object positions) and iteration requires creating a new iterator object (which can cause the GC to fire). What other options do I have?","meta":"{'source': 'reddit_posts', 'id': 'aw7ou', 'title': 'Class inheritance, memory pools and avoiding garbage collection pauses.', 'author': 'monstermunch', 'subreddit': 'programming', 'subreddit_id': '2fwo', 'body': \"I'm writing a game for Android. I need to avoid garbage collection from causing pauses so I need to allocate all the memory I need at the start of the game. I know I need to use memory pools, but cannot figure out the details. Say my class tree is something like this:\\n\\nEntity\\n\\n-Player\\n\\n--Monster\\n\\n---Monster1\\n\\n---Monster2\\n\\n-Bullet\\n\\n--Bullet1\\n\\n--Bullet2\\n\\nAs a memory pool needs to return objects of the requested type so they can be recycled, does this mean I need to have one memory pool for each type of object in my tree? It seems I can waste a lot of memory if this was the case as I need to guess how many of each class will be needed. Sometimes I've considered just merging several of the classes into one by making a union of the fields (so some objects would contain unused fields depending on how they were used) and adding a 'type' field so I can tell how to use it; however, this makes for more procedural code.\\n\\nAnother issue is how to keep track of references. For example, I want a list of Bullet objects that are in the game world that I can iterate over. I don't want to use e.g. Vector because removing from the Vector is expensive (it shifts object positions) and iteration requires creating a new iterator object (which can cause the GC to fire). What other options do I have?\", 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 44, 'created_utc': 1264905905}"}
{"id":"1758702","text":"Title: us-west ec2 instance slow network anyone else?\nThe text below was posted in an online community called aws in the year 2019:\n\nSomehow my ec2 instanceS' network on us-west-2 are acting SUPER SLOW for a couple of days.\n\nDoes anyone know what is going on? \n\n--- www.google.com ping statistics ---\n10 packets transmitted, 10 received, 0% packet loss, time 9013ms\nrtt min\/avg\/max\/mdev = 26.166\/26.232\/26.293\/0.207 ms\n\nhttps:\/\/cloudharmony.com\/speedtest-for-aws\nshowing 879 ms latency for us-west whereas us-east-2c is like 33ms.\n\nSince I don't have premium support. I dunno anywhere else to get inquire on this matter.\n\nupdate: not sure what happening, it might just be a wild goose chase so im probably gonna migrate to another region https:\/\/imgur.com\/a\/KPXmByw (im in toronto but it shouldnt be 10x latency difference)","meta":"{'source': 'reddit_posts', 'id': 'b3glfx', 'title': 'us-west ec2 instance slow network anyone else?', 'author': 'Sydna73', 'subreddit': 'aws', 'subreddit_id': '2qh84', 'body': \"Somehow my ec2 instanceS' network on us-west-2 are acting SUPER SLOW for a couple of days.\\n\\nDoes anyone know what is going on? \\n\\n--- www.google.com ping statistics ---\\n10 packets transmitted, 10 received, 0% packet loss, time 9013ms\\nrtt min\/avg\/max\/mdev = 26.166\/26.232\/26.293\/0.207 ms\\n\\nhttps:\/\/cloudharmony.com\/speedtest-for-aws\\nshowing 879 ms latency for us-west whereas us-east-2c is like 33ms.\\n\\nSince I don't have premium support. I dunno anywhere else to get inquire on this matter.\\n\\nupdate: not sure what happening, it might just be a wild goose chase so im probably gonna migrate to another region https:\/\/imgur.com\/a\/KPXmByw (im in toronto but it shouldnt be 10x latency difference)\", 'body_is_trimmed': False, 'score': 9, 'over_18': False, 'num_comments': 12, 'created_utc': 1553111796}"}
{"id":"408175","text":"Title: [Question] Becoming self employed\nThe text below was posted in an online community called webdev in the year 2019:\n\nHi guys, I would like to become self-emplyoed in web development. I want to start it as a part time job, so I would start creating websites for clients. And over the time I want to offer more and more, such as web applications and so on. My question now is, what is the best way to get my first customer. And how much money would you ask for creating a website. And if it's relevant, I'm from Germany.","meta":"{'source': 'reddit_posts', 'id': 'afngo4', 'title': '[Question] Becoming self employed', 'author': 'freshbanks3131', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': \"Hi guys, I would like to become self-emplyoed in web development. I want to start it as a part time job, so I would start creating websites for clients. And over the time I want to offer more and more, such as web applications and so on. My question now is, what is the best way to get my first customer. And how much money would you ask for creating a website. And if it's relevant, I'm from Germany.\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 3, 'created_utc': 1547411398}"}
{"id":"985913","text":"Title: CodeFights helpTom\nThe text below was posted in an online community called learnprogramming in the year 2018:\n\nI found this challenge (https:\/\/codefights.com\/challenge\/PPBHnQLAMgzj3YFYM) on CodeFights to be really interesting. I wonder how the bitwise operations could speed up finding the minimum in the current row and col. Some solutions on the leaderboard are really concise and beautiful. Like kov's\n\n    def helpTom(R, C, S):\n        # using same algorithm as my coffee script version.\n        # tried with dict and list to store available numbers, but it was too slow.\n        # so i use bigInts as binary map, and it can get the smallest number with few binary\n        # operation. \n        C *= [0]\n        while R:\n            r = j = 0\n            for k in C:\n                v = r | k\n                v = ~v &amp; v + 2 ** S\n                S = 0\n                r += v\n                C[j] += v\n                j += 1\n            R -= 1\n        return int(math.log(v, 2))\nOr hydralisk's\n\n    def helpTom(r, c, s):\n        m = [0]*r*c\n        i = 0\n        for _ in m:\n            j = i%c\n            u = j and u\n            x = u | m[j]\n            f = 0**i &lt;&lt; s or ~x &amp; x+1\n            u |= f\n            m[j] |= f\n            i += 1\n        return len(bin(f)) - 3\n\nBut could not understand the meaning of the bitwise operations. Thanks, heaps :)","meta":"{'source': 'reddit_posts', 'id': '8qbjnd', 'title': 'CodeFights helpTom', 'author': 'daming-lu', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': \"I found this challenge (https:\/\/codefights.com\/challenge\/PPBHnQLAMgzj3YFYM) on CodeFights to be really interesting. I wonder how the bitwise operations could speed up finding the minimum in the current row and col. Some solutions on the leaderboard are really concise and beautiful. Like kov's\\n\\n    def helpTom(R, C, S):\\n        # using same algorithm as my coffee script version.\\n        # tried with dict and list to store available numbers, but it was too slow.\\n        # so i use bigInts as binary map, and it can get the smallest number with few binary\\n        # operation. \\n        C *= [0]\\n        while R:\\n            r = j = 0\\n            for k in C:\\n                v = r | k\\n                v = ~v &amp; v + 2 ** S\\n                S = 0\\n                r += v\\n                C[j] += v\\n                j += 1\\n            R -= 1\\n        return int(math.log(v, 2))\\nOr hydralisk's\\n\\n    def helpTom(r, c, s):\\n        m = [0]*r*c\\n        i = 0\\n        for _ in m:\\n            j = i%c\\n            u = j and u\\n            x = u | m[j]\\n            f = 0**i &lt;&lt; s or ~x &amp; x+1\\n            u |= f\\n            m[j] |= f\\n            i += 1\\n        return len(bin(f)) - 3\\n\\nBut could not understand the meaning of the bitwise operations. Thanks, heaps :)\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 0, 'created_utc': 1528740458}"}
{"id":"2302082","text":"Title: [Mint mate 14] so I just built a new PC, and mint shows up the log in screen, but it fails to start the session.\nThe text below was posted in an online community called linux4noobs in the year 2013:\n\nIt shows the log in screen, it displays some text on the screen and sends me back to the log in screen, it works fine with a liveCD tho.","meta":"{'source': 'reddit_posts', 'id': '19kur7', 'title': '[Mint mate 14] so I just built a new PC, and mint shows up the log in screen, but it fails to start the session.', 'author': 'last_redditor', 'subreddit': 'linux4noobs', 'subreddit_id': '2qy7t', 'body': 'It shows the log in screen, it displays some text on the screen and sends me back to the log in screen, it works fine with a liveCD tho.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 6, 'created_utc': 1362325068}"}
{"id":"823096","text":"Title: Outputting html based on the url\nThe text below was posted in an online community called PHPhelp in the year 2013:\n\nHi there,\n\nI consolidated my website's nav bar into one file which I include on each page. That works perfectly, but I have a css class that adds a different colour to highlight which page the user is currently on. I am struggling to get this to display for the correct page using my nav.php file. \n\nI want to make it so that the class &lt;li class=\"current-page\"&gt; is displayed for the correct page. \n\nHere is the code: http:\/\/pastie.org\/private\/ijkpyoz06o82omb4bupx5a\n\nThanks :)","meta":"{'source': 'reddit_posts', 'id': '1j7nib', 'title': 'Outputting html based on the url', 'author': 'PrettyFlyForALaowai', 'subreddit': 'PHPhelp', 'subreddit_id': '2rhbw', 'body': 'Hi there,\\n\\nI consolidated my website\\'s nav bar into one file which I include on each page. That works perfectly, but I have a css class that adds a different colour to highlight which page the user is currently on. I am struggling to get this to display for the correct page using my nav.php file. \\n\\nI want to make it so that the class &lt;li class=\"current-page\"&gt; is displayed for the correct page. \\n\\nHere is the code: http:\/\/pastie.org\/private\/ijkpyoz06o82omb4bupx5a\\n\\nThanks :)', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 6, 'created_utc': 1375013878}"}
{"id":"1090203","text":"Title: Does iOS 14 change share-sheets?\nThe text below was posted in an online community called ios in the year 2020:\n\nDo we finally get the option to remove contacts from the share sheet, *without deleting conversations?* or no.","meta":"{'source': 'reddit_posts', 'id': 'hifo6d', 'title': 'Does iOS 14 change share-sheets?', 'author': 'TheAngryAries', 'subreddit': 'ios', 'subreddit_id': '2ru5b', 'body': 'Do we finally get the option to remove contacts from the share sheet, *without deleting conversations?* or no.', 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 7, 'created_utc': 1593488952}"}
{"id":"743615","text":"Title: Code to delete a line of text to remove a bullet from a list using Mail Merge in Word.\nThe text below was posted in an online community called learnprogramming in the year 2012:\n\nHi, another question for all you code savy people out there!\n\nI'm working on a mail merge for my employer. Currently, I import data from an excel into a specifically formated word document that shows items in a bulleted list. However, if a field from excel happens to be empty, my boss wants that item to not show on the list.\n\nMy current set up is and IF THEN statement that leaves the bullet blank for that entry in the list if there is no corresponding excel data. \n\nI.E.: {IF {MAILMERGE GUESTCOMPANY}=\"\" \"\" \"{MAILMERGE GUESTCOMPANY}\"}\n\nPlease forgive me if my code is clunky, I'm not a programmer by trade but it DOES work for what I need to get done. However, I would IDEALLY like this line in the final document to delete itself if there is no GUESTCOMPANY data in the excel. I have tried entering the delete character by ASCII code and by carrot notation but that doesnt work, like this: (DONT LAUGH AT ME) \n\nI.E.: {IF {MAILMERGE GUESTCOMPANY}=\"\" \"^?\" \"{MAILMERGE GUESTCOMPANY}\"}\n\nAny idea on how to get this done with field codes in mail merge? Thank you ahead of time!","meta":"{'source': 'reddit_posts', 'id': 'r50k2', 'title': 'Code to delete a line of text to remove a bullet from a list using Mail Merge in Word.', 'author': 'MasterFlick', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'Hi, another question for all you code savy people out there!\\n\\nI\\'m working on a mail merge for my employer. Currently, I import data from an excel into a specifically formated word document that shows items in a bulleted list. However, if a field from excel happens to be empty, my boss wants that item to not show on the list.\\n\\nMy current set up is and IF THEN statement that leaves the bullet blank for that entry in the list if there is no corresponding excel data. \\n\\nI.E.: {IF {MAILMERGE GUESTCOMPANY}=\"\" \"\" \"{MAILMERGE GUESTCOMPANY}\"}\\n\\nPlease forgive me if my code is clunky, I\\'m not a programmer by trade but it DOES work for what I need to get done. However, I would IDEALLY like this line in the final document to delete itself if there is no GUESTCOMPANY data in the excel. I have tried entering the delete character by ASCII code and by carrot notation but that doesnt work, like this: (DONT LAUGH AT ME) \\n\\nI.E.: {IF {MAILMERGE GUESTCOMPANY}=\"\" \"^?\" \"{MAILMERGE GUESTCOMPANY}\"}\\n\\nAny idea on how to get this done with field codes in mail merge? Thank you ahead of time!', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1332248764}"}
{"id":"1194120","text":"Title: Partial Functions are here!\nThe text below was posted in an online community called rust in the year 2017:\n\nCrate.io package: https:\/\/crates.io\/crates\/partial_function\n\nWhat is a partial function? It is a function defined only for certain values. I pushed that concept so you could have multiple functions defined for a range of values.\n\nFor example, you could have a code like this, which defines the level one to require the player to have between 0 and 20 experience points, and between 20 and 50 for the second level.\n\n    let levels = PartialFunction888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4new()\n        .with(0.0,20.0,|x| 1)\n        .with(20.0,40.0,|x| 2)\n        .build();\nAnd then, you can get the current player level like so:\n\n    let level = levels.eval(20.0);\nWhich would return Some(2.0).\n\nWhy 2, and not 1 you may ask? Well, I have defined to bounds\/ranges to be [lower,higher[, so that the lower bound always has a priority. In case there is no lower bound overriding the upper bound (if you only had one level in this case), it would use the bounds as [lower,higher].\n\nThis is not only useful for player levels though. Since you can also define functions that get evaluated for a specific range, this construct can also be used in all areas where you would want to execute a specific function depending on the input value.\n\nUse case ideas: Animations, Physics, Gameplay logic, AI, etc...\n\nThere is generic support.\nBound type must be the same as input type.\nOutput type can be anything.\nFunction is of type  fn(BoundType)-&gt;OutputType","meta":"{'source': 'reddit_posts', 'id': '72uhxk', 'title': 'Partial Functions are here!', 'author': 'jojoredit', 'subreddit': 'rust', 'subreddit_id': '2s7lj', 'body': 'Crate.io package: https:\/\/crates.io\/crates\/partial_function\\n\\nWhat is a partial function? It is a function defined only for certain values. I pushed that concept so you could have multiple functions defined for a range of values.\\n\\nFor example, you could have a code like this, which defines the level one to require the player to have between 0 and 20 experience points, and between 20 and 50 for the second level.\\n\\n    let levels = PartialFunction::new()\\n        .with(0.0,20.0,|x| 1)\\n        .with(20.0,40.0,|x| 2)\\n        .build();\\nAnd then, you can get the current player level like so:\\n\\n    let level = levels.eval(20.0);\\nWhich would return Some(2.0).\\n\\nWhy 2, and not 1 you may ask? Well, I have defined to bounds\/ranges to be [lower,higher[, so that the lower bound always has a priority. In case there is no lower bound overriding the upper bound (if you only had one level in this case), it would use the bounds as [lower,higher].\\n\\nThis is not only useful for player levels though. Since you can also define functions that get evaluated for a specific range, this construct can also be used in all areas where you would want to execute a specific function depending on the input value.\\n\\nUse case ideas: Animations, Physics, Gameplay logic, AI, etc...\\n\\nThere is generic support.\\nBound type must be the same as input type.\\nOutput type can be anything.\\nFunction is of type  fn(BoundType)-&gt;OutputType', 'body_is_trimmed': False, 'score': 44, 'over_18': False, 'num_comments': 27, 'created_utc': 1506538992}"}
{"id":"1733413","text":"Title: Animation creator?\nThe text below was posted in an online community called html5 in the year 2020:\n\nIf Canvas is supposed to replace Flash, what should an animator (not a JS developer) use to create animations?","meta":"{'source': 'reddit_posts', 'id': 'er42vy', 'title': 'Animation creator?', 'author': 'jcunews1', 'subreddit': 'html5', 'subreddit_id': '2r7u2', 'body': 'If Canvas is supposed to replace Flash, what should an animator (not a JS developer) use to create animations?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1579475524}"}
{"id":"2228923","text":"Title: Need some help with Serial.PrintIn\nThe text below was posted in an online community called arduino in the year 2019:\n\nHey all,\n\nHaving some problems with a code\n\nI have alot of numbers on serial monitor screen.\n\nExample:\n\n        234\n        213\n        210   \n        37\n        321\n        205\n\nI want it to take the 210 and 37 like this\n\n        423\n        231\n        324\n    210\n    37\n        321\n        205\n\nSo i am using if (inByte == 210) {Serial.println ( ) ;}\n\nand this works only for 210 but don't know how to add 37 in here.\n\nI want to be like\n\nif (inByte == 210 and 37) {Serial.println ( ) ;}\n\nHave no idea how to do it, and cant find it online.\n\nThanks!\n\nEDIT:\n\nThe whole code if needed\n\n    void setup() {\n      \/\/ initialize both serial ports:\n      Serial.begin(115200);\n      Serial1.begin(115200);\n      \/\/Serial1.begin(128000);\n      Serial1.write(byte(0xA5));\n      Serial1.write(byte(0x60));\n    \n    }\n    \n    void loop() {\n    \/\/   read from port 1, send to port 0:\n      if (Serial1.available()) {\n        int inByte = byte(Serial1.read());\n       \/\/ Serial.write (inByte);\n        Serial.println(inByte);\n    \/\/ Serial.println(inByte, HEX);\n     Serial.print(\"\\t\");\n       if (inByte == 210){Serial.println(\"\");}\n       \/\/ voor 210 en 37 gebruik 210||37 (volgens Reddit)\n      }\n    \n      \/\/ read from port 0, send to port 1:\n      \/\/  if (Serial.available()) {\n      \/\/    int inByte = Serial.read();\n      \/\/    Serial1.write(inByte);\n      \/\/ }\n    }","meta":"{'source': 'reddit_posts', 'id': 'df061d', 'title': 'Need some help with Serial.PrintIn', 'author': 'Nietro', 'subreddit': 'arduino', 'subreddit_id': '2qknj', 'body': 'Hey all,\\n\\nHaving some problems with a code\\n\\nI have alot of numbers on serial monitor screen.\\n\\nExample:\\n\\n        234\\n        213\\n        210   \\n        37\\n        321\\n        205\\n\\nI want it to take the 210 and 37 like this\\n\\n        423\\n        231\\n        324\\n    210\\n    37\\n        321\\n        205\\n\\nSo i am using if (inByte == 210) {Serial.println ( ) ;}\\n\\nand this works only for 210 but don\\'t know how to add 37 in here.\\n\\nI want to be like\\n\\nif (inByte == 210 and 37) {Serial.println ( ) ;}\\n\\nHave no idea how to do it, and cant find it online.\\n\\nThanks!\\n\\nEDIT:\\n\\nThe whole code if needed\\n\\n    void setup() {\\n      \/\/ initialize both serial ports:\\n      Serial.begin(115200);\\n      Serial1.begin(115200);\\n      \/\/Serial1.begin(128000);\\n      Serial1.write(byte(0xA5));\\n      Serial1.write(byte(0x60));\\n    \\n    }\\n    \\n    void loop() {\\n    \/\/   read from port 1, send to port 0:\\n      if (Serial1.available()) {\\n        int inByte = byte(Serial1.read());\\n       \/\/ Serial.write (inByte);\\n        Serial.println(inByte);\\n    \/\/ Serial.println(inByte, HEX);\\n     Serial.print(\"\\\\t\");\\n       if (inByte == 210){Serial.println(\"\");}\\n       \/\/ voor 210 en 37 gebruik 210||37 (volgens Reddit)\\n      }\\n    \\n      \/\/ read from port 0, send to port 1:\\n      \/\/  if (Serial.available()) {\\n      \/\/    int inByte = Serial.read();\\n      \/\/    Serial1.write(inByte);\\n      \/\/ }\\n    }', 'body_is_trimmed': False, 'score': 29, 'over_18': False, 'num_comments': 22, 'created_utc': 1570542329}"}
{"id":"2143812","text":"Title: How can I avoid pressure from Microsoft for changing my browser to Edge ?\nThe text below was posted in an online community called Windows10 in the year 2022:\n\nHello Windows 10 users,\n\nI am using my current internet browser for more than 10 yrs and I am completely satisfied with it. There is an increasing pressure from Microsoft side to change my browser to Edge. With every Windows update there are new questions, why I am not using Edge as my recommended browser. There are other instances to reminding me of changing my current browser to Edge (to a MS recommended browser). Presently it has developed to a mobbing campaign,  which comprises reminders, recommendations, guidance even soft threat etc. And imagine that this comedy is taking place on my desktop and two notebooks with Windows 10 operation system.\n\nI am still satisfied with my current browser and I do not intend to change it. What are your recommendations to get rid of this continuing pressure from Microsoft? Do you experience the same pressure.","meta":"{'source': 'reddit_posts', 'id': 'wwmro8', 'title': 'How can I avoid pressure from Microsoft for changing my browser to Edge ?', 'author': 'meregli', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': 'Hello Windows 10 users,\\n\\nI am using my current internet browser for more than 10 yrs and I am completely satisfied with it. There is an increasing pressure from Microsoft side to change my browser to Edge. With every Windows update there are new questions, why I am not using Edge as my recommended browser. There are other instances to reminding me of changing my current browser to Edge (to a MS recommended browser). Presently it has developed to a mobbing campaign,  which comprises reminders, recommendations, guidance even soft threat etc. And imagine that this comedy is taking place on my desktop and two notebooks with Windows 10 operation system.\\n\\nI am still satisfied with my current browser and I do not intend to change it. What are your recommendations to get rid of this continuing pressure from Microsoft? Do you experience the same pressure.', 'body_is_trimmed': False, 'score': 16, 'over_18': False, 'num_comments': 83, 'created_utc': 1661355648}"}
{"id":"263152","text":"Title: grep -o the next string too\nThe text below was posted in an online community called bash in the year 2021:\n\nI'm not sure if \"grep\" is the most appropriate tool for this task, but if there's any better tool, let me know.\n\ngrep with \"-o, --only-matching\" flag\n\n    $ echo random string name=\"username\" random string | grep -o 'name='\n    name=\n    $ \n\nDesired Output\n\n    name=\"username\"\n\nHow do I get the next string too in this case?","meta":"{'source': 'reddit_posts', 'id': 'q78bx4', 'title': 'grep -o the next string too', 'author': 'w0lfcat', 'subreddit': 'bash', 'subreddit_id': '2qh2d', 'body': 'I\\'m not sure if \"grep\" is the most appropriate tool for this task, but if there\\'s any better tool, let me know.\\n\\ngrep with \"-o, --only-matching\" flag\\n\\n    $ echo random string name=\"username\" random string | grep -o \\'name=\\'\\n    name=\\n    $ \\n\\nDesired Output\\n\\n    name=\"username\"\\n\\nHow do I get the next string too in this case?', 'body_is_trimmed': False, 'score': 10, 'over_18': False, 'num_comments': 11, 'created_utc': 1634121276}"}
{"id":"1023352","text":"Title: iOS 10 removes the 'swipe to back' delay in Safari!\nThe text below was posted in an online community called apple in the year 2016:\n\nIm over the moon. Apple removed the ~1s delay between swiping back through pages. \n\nFinally I can stop reaching up to the back button just to go back a few pages!!","meta":"{'source': 'reddit_posts', 'id': '53mecw', 'title': \"iOS 10 removes the 'swipe to back' delay in Safari!\", 'author': 'hyprsonic', 'subreddit': 'apple', 'subreddit_id': '2qh1f', 'body': 'Im over the moon. Apple removed the ~1s delay between swiping back through pages. \\n\\nFinally I can stop reaching up to the back button just to go back a few pages!!', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 0, 'created_utc': 1474359659}"}
{"id":"1228434","text":"Title: The Saturday Paper #16 - Assessing Solvability Of Real-Time Physics Puzzles\nThe text below was posted in an online community called gamedev in the year 2013:\n\nWelcome to another Saturday Paper - a snappy summary of a cool piece of academic games research. Last time [we looked at two game description languages and what they had in common](http:\/\/www.reddit.com\/r\/gamedev\/comments\/1qrpbn\/the_saturday_paper_15_game_description_languages\/). This week we're looking at Ropossum, a level design tool for Cut The Rope. Specifically, we're going to examine how it can test a Cut The Rope level to find solutions, even though the game is a complex, real-time physics game.\n\n[The Saturday Paper - Guaranteed Candy](http:\/\/www.gamesbyangelina.org\/2013\/11\/the-saturday-paper-guaranteed-candy\/)\n\nHappy Thanksgiving to everyone recovering this weekend! Christmas is fast approaching, as well as Ludum Dare, so your usual Saturday Papers schedule may be interrupted somewhat. Stay tuned!","meta":"{'source': 'reddit_posts', 'id': '1rrxf8', 'title': 'The Saturday Paper #16 - Assessing Solvability Of Real-Time Physics Puzzles', 'author': 'gamesbyangelina', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': \"Welcome to another Saturday Paper - a snappy summary of a cool piece of academic games research. Last time [we looked at two game description languages and what they had in common](http:\/\/www.reddit.com\/r\/gamedev\/comments\/1qrpbn\/the_saturday_paper_15_game_description_languages\/). This week we're looking at Ropossum, a level design tool for Cut The Rope. Specifically, we're going to examine how it can test a Cut The Rope level to find solutions, even though the game is a complex, real-time physics game.\\n\\n[The Saturday Paper - Guaranteed Candy](http:\/\/www.gamesbyangelina.org\/2013\/11\/the-saturday-paper-guaranteed-candy\/)\\n\\nHappy Thanksgiving to everyone recovering this weekend! Christmas is fast approaching, as well as Ludum Dare, so your usual Saturday Papers schedule may be interrupted somewhat. Stay tuned!\", 'body_is_trimmed': False, 'score': 42, 'over_18': False, 'num_comments': 0, 'created_utc': 1385824079}"}
{"id":"2052318","text":"Title: Recursive list construction and lazyness\nThe text below was posted in an online community called haskellquestions in the year 2020:\n\nHi, I hope the title isn't too broad.\n\nI'm learning Haskell by [this UPenn course](https:\/\/www.seas.upenn.edu\/%7Ecis194\/spring13\/). In week 6 it's about lazyness and constructing infinite lists.\n\nOne exercise is to implement [A007814](https:\/\/oeis.org\/A007814) (\"Exponent of highest power of 2 dividing n\" also known as the ruler sequence although even [this 75 pages long paper](https:\/\/core.ac.uk\/download\/pdf\/48500149.pdf) doesn't explain why. But I digress.)\n\nThis sequence is interesting because it can be constructed recursively (the subsequence of odd positions is constantly zero, the subsequence of even places just the original series incremented by one).\n\nThe exercise encourages you to implement a function to interleave to lists first and using it for the solution. So what I did is this:\n\n    interleaveNaive 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 [a] -&gt; [a] -&gt; [a]\n    interleaveNaive (x:xs) (y:ys) = x:y:(interleaveNaive xs ys)\n    interleaveNaive [] ys = ys\n    interleaveNaive xs [] = xs\n\n(The naming is retroactive).\n\nAnd it worked fine with finite and infinite lists.\n\nThen I tried my implementation of the original sequence:\n\n    ruler' 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 [Integer]\n    ruler' = interleaveNaive odds evens\n      where odds = repeat 0\n            evens = map (+1) (ruler')\n\nThis... well seems to get stuck in a loop. Even taking\/evaluating only the first element won't work.\n\nI found the problem and an answer in [this thread](https:\/\/www.reddit.com\/r\/haskellquestions\/comments\/40i8ih\/infinite_list_constructed_with_nesting\/cyuccap\/) (which is also how I found this subreddit).\n\nThere, \/u\/dave4420 guessed that users interleaving function wasn't \"lazy enough\" and suggested this instead:\n\n    interleaveLessNaive 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 [a] -&gt; [a] -&gt; [a]\n    interleaveLessNaive (x:xs) ys = x : interleaveLessNaive ys xs\n    interleaveLessNaive     [] ys = ys\n\n(I just called it \"lessNaive\" because I also found this: `concat (transpose [x, y])` which seems to be more sophisticated (Is it, though?))\n\nWhatever. Using his interleaving function in `ruler'` worked, while mine didn't. Though the difference isn't that clear to me.\n\nHow is his function lazier than mine?  \nWhy does mine get stuck (in this use case, but not in others)?  \n\n(I tried debugging using the history in ghci, but it didn't help.)","meta":"{'source': 'reddit_posts', 'id': 'gku3ry', 'title': 'Recursive list construction and lazyness', 'author': 'robin_888', 'subreddit': 'haskellquestions', 'subreddit_id': '2trze', 'body': 'Hi, I hope the title isn\\'t too broad.\\n\\nI\\'m learning Haskell by [this UPenn course](https:\/\/www.seas.upenn.edu\/%7Ecis194\/spring13\/). In week 6 it\\'s about lazyness and constructing infinite lists.\\n\\nOne exercise is to implement [A007814](https:\/\/oeis.org\/A007814) (\"Exponent of highest power of 2 dividing n\" also known as the ruler sequence although even [this 75 pages long paper](https:\/\/core.ac.uk\/download\/pdf\/48500149.pdf) doesn\\'t explain why. But I digress.)\\n\\nThis sequence is interesting because it can be constructed recursively (the subsequence of odd positions is constantly zero, the subsequence of even places just the original series incremented by one).\\n\\nThe exercise encourages you to implement a function to interleave to lists first and using it for the solution. So what I did is this:\\n\\n    interleaveNaive :: [a] -&gt; [a] -&gt; [a]\\n    interleaveNaive (x:xs) (y:ys) = x:y:(interleaveNaive xs ys)\\n    interleaveNaive [] ys = ys\\n    interleaveNaive xs [] = xs\\n\\n(The naming is retroactive).\\n\\nAnd it worked fine with finite and infinite lists.\\n\\nThen I tried my implementation of the original sequence:\\n\\n    ruler\\' :: [Integer]\\n    ruler\\' = interleaveNaive odds evens\\n      where odds = repeat 0\\n            evens = map (+1) (ruler\\')\\n\\nThis... well seems to get stuck in a loop. Even taking\/evaluating only the first element won\\'t work.\\n\\nI found the problem and an answer in [this thread](https:\/\/www.reddit.com\/r\/haskellquestions\/comments\/40i8ih\/infinite_list_constructed_with_nesting\/cyuccap\/) (which is also how I found this subreddit).\\n\\nThere, \/u\/dave4420 guessed that users interleaving function wasn\\'t \"lazy enough\" and suggested this instead:\\n\\n    interleaveLessNaive :: [a] -&gt; [a] -&gt; [a]\\n    interleaveLessNaive (x:xs) ys = x : interleaveLessNaive ys xs\\n    interleaveLessNaive     [] ys = ys\\n\\n(I just called it \"lessNaive\" because I also found this: `concat (transpose [x, y])` which seems to be more sophisticated (Is it, though?))\\n\\nWhatever. Using his interleaving function in `ruler\\'` worked, while mine didn\\'t. Though the difference isn\\'t that clear to me.\\n\\nHow is his function lazier than mine?  \\nWhy does mine get stuck (in this use case, but not in others)?  \\n\\n(I tried debugging using the history in ghci, but it didn\\'t help.)', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 3, 'created_utc': 1589633240}"}
{"id":"1079256","text":"Title: [ANN] product-collections v1.3.0 -- supports scala-js\nThe text below was posted in an online community called scala in the year 2015:\n\nv1.3.0\n\n - Supports Scala-js\n - DateConverter depreciated (no java.util.SimpleDateFormat in scala-js).\n - Built in CSV parser (scala-js only) JVM stays with opencsv.\n - Testing framework switched to uTest.\n - Converters overhauled.\n - Option[Long] converter.\n - Misc doc improvements.\n\nhttps:\/\/github.com\/marklister\/product-collections","meta":"{'source': 'reddit_posts', 'id': '2veeje', 'title': '[ANN] product-collections v1.3.0 -- supports scala-js', 'author': 'marklister', 'subreddit': 'scala', 'subreddit_id': '2qh37', 'body': 'v1.3.0\\n\\n - Supports Scala-js\\n - DateConverter depreciated (no java.util.SimpleDateFormat in scala-js).\\n - Built in CSV parser (scala-js only) JVM stays with opencsv.\\n - Testing framework switched to uTest.\\n - Converters overhauled.\\n - Option[Long] converter.\\n - Misc doc improvements.\\n\\nhttps:\/\/github.com\/marklister\/product-collections', 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 1, 'created_utc': '1423556978'}"}
{"id":"844268","text":"Title: Experienced developer with an idea...but struggling to get started on my game. Advice needed.\nThe text below was posted in an online community called gamedev in the year 2013:\n\nHi! \n\nBit of background, been programming for approx 12 years. Mostly C++, VB then Java\/C#.\n\nThat said, for the last 5 years most of my experience has been in C#.\n\nI have an idea for an agent based simulation and I have made a few of the systems into a C# prototype, which is all well and good. The code structure and classes and everything like that is no problem for me, but I don't really know how to begin when it comes to the actual game...\n\nI've got doodles, I've got a whole book of notes and ideas. I just don't have experience with the graphics engines.\n\nI initially liked the idea of Unity, but I am only planning on creating a 2D game. I understand Unity has a 2D framework on the horizon. Also, I have the concern that Unity might \"do a lot for me\" and in reality I am not going to learn from it.\n\nI have in the past used XNA, and found that fairly straightforward considering I have a little bit of OpenGL knowledge it wasn't too hard to translate! \n\nI know how to implement pathfinding, I know how to run my logic loops. I just don't have a clue where to begin on coding the graphical side of this.\n\nIs going for a wireframe type thing a good idea to begin with? Using placeholders for example?\n\nWhat do people in this sub recommend for somebody in my position?Good C# skills, but not much in the way of gamedev experience.\n\nMuch love.\n\nCronus","meta":"{'source': 'reddit_posts', 'id': '1p6sgo', 'title': 'Experienced developer with an idea...but struggling to get started on my game. Advice needed.', 'author': 'cronus89', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': 'Hi! \\n\\nBit of background, been programming for approx 12 years. Mostly C++, VB then Java\/C#.\\n\\nThat said, for the last 5 years most of my experience has been in C#.\\n\\nI have an idea for an agent based simulation and I have made a few of the systems into a C# prototype, which is all well and good. The code structure and classes and everything like that is no problem for me, but I don\\'t really know how to begin when it comes to the actual game...\\n\\nI\\'ve got doodles, I\\'ve got a whole book of notes and ideas. I just don\\'t have experience with the graphics engines.\\n\\nI initially liked the idea of Unity, but I am only planning on creating a 2D game. I understand Unity has a 2D framework on the horizon. Also, I have the concern that Unity might \"do a lot for me\" and in reality I am not going to learn from it.\\n\\nI have in the past used XNA, and found that fairly straightforward considering I have a little bit of OpenGL knowledge it wasn\\'t too hard to translate! \\n\\nI know how to implement pathfinding, I know how to run my logic loops. I just don\\'t have a clue where to begin on coding the graphical side of this.\\n\\nIs going for a wireframe type thing a good idea to begin with? Using placeholders for example?\\n\\nWhat do people in this sub recommend for somebody in my position?Good C# skills, but not much in the way of gamedev experience.\\n\\nMuch love.\\n\\nCronus', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 18, 'created_utc': 1382702975}"}
{"id":"2003096","text":"Title: Leveling up my reading\/writing file skills.\nThe text below was posted in an online community called learnpython in the year 2015:\n\nI am sure I will solve this before I log back on to see a reply, but I am wondering how I would accomplish the following...\n\nI have a .txt file that is formatted in the following way.\n\n    cloudy blue\t#acc2d9\t\n\n    dark pastel green\t#56ae57\t\n\n    dust\t#b2996e\t\n\nI would like to omit every letter or number after the #. At the moment I am using string.isalpha() and this allows me to weed out the numbers but then I am left with stray letters from the rgbhex. Is there a way I can find the position of \"#\" and just use [:pos]?\n\nFurthermore, what if I had another column of information after the rgbhex that I would like to also read in, how do I do that? \n\nAny tips? \n\n[edit 1] I got it working by comparing each letter in each line until it matched \"#\", I then used break and it takes it to the next line. Still looking for a better solution though. If I had another value in the same line that I wanted to keep, this method wouldn't work. Here's my current code: http:\/\/pastebin.com\/rNiWr3Qe","meta":"{'source': 'reddit_posts', 'id': '2v5hm0', 'title': 'Leveling up my reading\/writing file skills.', 'author': 'dli511', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': 'I am sure I will solve this before I log back on to see a reply, but I am wondering how I would accomplish the following...\\n\\nI have a .txt file that is formatted in the following way.\\n\\n    cloudy blue\\t#acc2d9\\t\\n\\n    dark pastel green\\t#56ae57\\t\\n\\n    dust\\t#b2996e\\t\\n\\nI would like to omit every letter or number after the #. At the moment I am using string.isalpha() and this allows me to weed out the numbers but then I am left with stray letters from the rgbhex. Is there a way I can find the position of \"#\" and just use [:pos]?\\n\\nFurthermore, what if I had another column of information after the rgbhex that I would like to also read in, how do I do that? \\n\\nAny tips? \\n\\n[edit 1] I got it working by comparing each letter in each line until it matched \"#\", I then used break and it takes it to the next line. Still looking for a better solution though. If I had another value in the same line that I wanted to keep, this method wouldn\\'t work. Here\\'s my current code: http:\/\/pastebin.com\/rNiWr3Qe', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 11, 'created_utc': '1423361234'}"}
{"id":"973153","text":"Title: Rant: The new DND features of iOS 15 are a serious oversight of functionality.\nThe text below was posted in an online community called apple in the year 2021:\n\nTo not allow me to receive notifications while my phone is unlocked is extremely frustrating. I have missed extremely important texts while Im USING my phone because I locked it without checking for a badge app icon. I have a better chance of seeing the missed notifications with my phone locked on the Home Screen. Why in the world would they take away the option to allow notifications while my phone was unlocked? \n\nI understand the aim. Trying to get people to be more productive. Check notifications when youre free. Work without the distraction but come on. How is removing personalized functionality from a feature an acceptable update?\n\nFingers crossed for a return of the good ole days.. Geez.","meta":"{'source': 'reddit_posts', 'id': 'qad6an', 'title': 'Rant: The new DND features of iOS 15 are a serious oversight of functionality.', 'author': 'crm006', 'subreddit': 'apple', 'subreddit_id': '2qh1f', 'body': 'To not allow me to receive notifications while my phone is unlocked is extremely frustrating. I have missed extremely important texts while Im USING my phone because I locked it without checking for a badge app icon. I have a better chance of seeing the missed notifications with my phone locked on the Home Screen. Why in the world would they take away the option to allow notifications while my phone was unlocked? \\n\\nI understand the aim. Trying to get people to be more productive. Check notifications when youre free. Work without the distraction but come on. How is removing personalized functionality from a feature an acceptable update?\\n\\nFingers crossed for a return of the good ole days.. Geez.', 'body_is_trimmed': False, 'score': 330, 'over_18': False, 'num_comments': 145, 'created_utc': 1634523321}"}
{"id":"378628","text":"Title: Getting android of things before next year\nThe text below was posted in an online community called linuxquestions in the year 2021:\n\nIm doing a smart watch idea with pi 3 and I wanted to try the android of things os but I cant find a download. I know theres one out there cause the service isnt shit down till January but they have stopped providing a download on theyre site. \n\nTldr does anyone have a link for the android of things os?","meta":"{'source': 'reddit_posts', 'id': 'pddhui', 'title': 'Getting android of things before next year', 'author': 'dj3777', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': 'Im doing a smart watch idea with pi 3 and I wanted to try the android of things os but I cant find a download. I know theres one out there cause the service isnt shit down till January but they have stopped providing a download on theyre site. \\n\\nTldr does anyone have a link for the android of things os?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': 1630169863}"}
{"id":"1580933","text":"Title: Have you guy tried upwork.com?\nThe text below was posted in an online community called webdev in the year 2017:\n\nWhy do I feel like every job offer is a ripoff? Some of them have an estimated budget of 5$ to setup a Wordpress website, wtf?","meta":"{'source': 'reddit_posts', 'id': '704s95', 'title': 'Have you guy tried upwork.com?', 'author': 'Jeeonta', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': 'Why do I feel like every job offer is a ripoff? Some of them have an estimated budget of 5$ to setup a Wordpress website, wtf?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 6, 'created_utc': 1505419485}"}
{"id":"134221","text":"Title: Why does F5 not allow the same VLAN to show up on more than one VRF?\nThe text below was posted in an online community called networking in the year 2016:\n\nF5 VRFs (Route Domains) are per-VLAN. It does not allow the same VLAN to show up on more than one VRF.\n\nI am trying to understand the logic behind this and I believe it has to do with duplicate IPs.\n\nFor example: Let's VRF A and VRF B both have the IP 83.161.120.155 and are both on VLAN 4000. If a host on VLAN 4000 sends an ARP broadcast for 83.161.120.155, there is a 50% chance it'll get the IP in VRF A vs the IP in VRF B. This causes a duplicate IP in the network.\n\nCan someone explain to me if this is the correct logic? I am new to networking (1 year) and I am trying to understand the 'why' behind things instead of just memorizing facts and moving on. I do believe one is able to better retain information with logical understanding vs. just memorization.","meta":"{'source': 'reddit_posts', 'id': '4jr9bz', 'title': 'Why does F5 not allow the same VLAN to show up on more than one VRF?', 'author': 'Natty9PlateBenchSrs', 'subreddit': 'networking', 'subreddit_id': '2qkaf', 'body': \"F5 VRFs (Route Domains) are per-VLAN. It does not allow the same VLAN to show up on more than one VRF.\\n\\nI am trying to understand the logic behind this and I believe it has to do with duplicate IPs.\\n\\nFor example: Let's VRF A and VRF B both have the IP 10.1.1.1 and are both on VLAN 4000. If a host on VLAN 4000 sends an ARP broadcast for 10.1.1.1, there is a 50% chance it'll get the IP in VRF A vs the IP in VRF B. This causes a duplicate IP in the network.\\n\\nCan someone explain to me if this is the correct logic? I am new to networking (1 year) and I am trying to understand the 'why' behind things instead of just memorizing facts and moving on. I do believe one is able to better retain information with logical understanding vs. just memorization.\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 5, 'created_utc': 1463496509}"}
{"id":"128912","text":"Title: List of 990s IRS filings not been updated\nThe text below was posted in an online community called datasets in the year 2018:\n\nThe list at https:\/\/s3.amazonaws.com\/irs-form-990\/index_2018.csv has no entries since 18 Jan 2018 but previously it and index_2017 seems to have been updated regularly. Any idea why?","meta":"{'source': 'reddit_posts', 'id': '83ydpk', 'title': 'List of 990s IRS filings not been updated', 'author': 'simeytwin', 'subreddit': 'datasets', 'subreddit_id': '2r97t', 'body': 'The list at https:\/\/s3.amazonaws.com\/irs-form-990\/index_2018.csv has no entries since 18 Jan 2018 but previously it and index_2017 seems to have been updated regularly. Any idea why?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 0, 'created_utc': 1520887529}"}
{"id":"1288485","text":"Title: Yosemite iMessage bug? New notification badge won't go away\nThe text below was posted in an online community called osx in the year 2014:\n\nShows that i have a new notification badge and still won't go away even if i delete all my messages\n\nI've tried opening terminal command \"killall Dock\" but it's still there. \nDelete the convo that's pending as \"new\" in both my iphone and imessage and it's still there.  Just annoying","meta":"{'source': 'reddit_posts', 'id': '2kbwtz', 'title': \"Yosemite iMessage bug? New notification badge won't go away\", 'author': 'iPhoned', 'subreddit': 'osx', 'subreddit_id': '2qh3j', 'body': 'Shows that i have a new notification badge and still won\\'t go away even if i delete all my messages\\n\\nI\\'ve tried opening terminal command \"killall Dock\" but it\\'s still there. \\nDelete the convo that\\'s pending as \"new\" in both my iphone and imessage and it\\'s still there.  Just annoying', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 10, 'created_utc': '1414283193'}"}
{"id":"438890","text":"Title: Complicated question from someone who wants to use Linux.\nThe text below was posted in an online community called linux4noobs in the year 2015:\n\nI am completely fed up with Windows 8. Windows 10 doesn't look much better. I'd rather not spend the money on getting a Windows 7 disk, so I'm looking into trying out Linux. \n\nI play a lot of games. I'm constantly trying out different games, especially a lot of indie games. I understand that there is compatibility issues with playing a lot of games on a Linux platform, which leads me to my question.\n\nIs there a way to partition my hard drive so that I can install my games on the part of my hard drive with windows, but access and play them from the Linux partition? If this is impossible, is there any other work arounds that would allow me to play all the random games I download?\n\nI'm not sure how well I worded this, so if anyone is confused just let me know and I'll try to clarify a bit more.","meta":"{'source': 'reddit_posts', 'id': '2wrlsv', 'title': 'Complicated question from someone who wants to use Linux.', 'author': 'Rootin_for_Putin', 'subreddit': 'linux4noobs', 'subreddit_id': '2qy7t', 'body': \"I am completely fed up with Windows 8. Windows 10 doesn't look much better. I'd rather not spend the money on getting a Windows 7 disk, so I'm looking into trying out Linux. \\n\\nI play a lot of games. I'm constantly trying out different games, especially a lot of indie games. I understand that there is compatibility issues with playing a lot of games on a Linux platform, which leads me to my question.\\n\\nIs there a way to partition my hard drive so that I can install my games on the part of my hard drive with windows, but access and play them from the Linux partition? If this is impossible, is there any other work arounds that would allow me to play all the random games I download?\\n\\nI'm not sure how well I worded this, so if anyone is confused just let me know and I'll try to clarify a bit more.\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 25, 'created_utc': '1424619807'}"}
{"id":"1778484","text":"Title: [Question] Is anyone else having trouble with Cellular on 11.4? iPhone 8 Plus\nThe text below was posted in an online community called iOSBeta in the year 2018:\n\nI will have LTE and I still cant send anything. Its off and on.  Thank you","meta":"{'source': 'reddit_posts', 'id': '8b17jh', 'title': '[Question] Is anyone else having trouble with Cellular on 11.4? iPhone 8 Plus', 'author': 'MikeTheKid0519', 'subreddit': 'iOSBeta', 'subreddit_id': '2sjys', 'body': 'I will have LTE and I still cant send anything. Its off and on.  Thank you', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 22, 'created_utc': 1523302016}"}
{"id":"2417139","text":"Title: Looking for a frontend dev test I can use for an interview\nThe text below was posted in an online community called Frontend in the year 2017:\n\nHey guys, so I work at a medium sized dev house as a mid level frontend dev. Our senior frontend dev is away this week and we have an interview for a frontend dev coming in this week and my boss has asked me to get something together to present to the candidate. So! I have absolutely no experience in this, and was wondering if there's anything you can point me to that I can use as a test? Be it as a practical test or written. A bit of both would be great I'd imagine. Thanks! PS - The devs we're testing should have pretty good JavaScript skills and knowledge of all\/some of the toosl and libraries associated with frontend dev. e.g. node, npm, webpack, etc.","meta":"{'source': 'reddit_posts', 'id': '5xt29l', 'title': 'Looking for a frontend dev test I can use for an interview', 'author': 'cococanary', 'subreddit': 'Frontend', 'subreddit_id': '2sr2y', 'body': \"Hey guys, so I work at a medium sized dev house as a mid level frontend dev. Our senior frontend dev is away this week and we have an interview for a frontend dev coming in this week and my boss has asked me to get something together to present to the candidate. So! I have absolutely no experience in this, and was wondering if there's anything you can point me to that I can use as a test? Be it as a practical test or written. A bit of both would be great I'd imagine. Thanks! PS - The devs we're testing should have pretty good JavaScript skills and knowledge of all\/some of the toosl and libraries associated with frontend dev. e.g. node, npm, webpack, etc.\", 'body_is_trimmed': False, 'score': 12, 'over_18': False, 'num_comments': 14, 'created_utc': 1488805049}"}
{"id":"226714","text":"Title: How do I give push access to everyone on GitHub?\nThe text below was posted in an online community called github in the year 2019:\n\nI want everyone on Github to get write access to my repository. How do I do that?","meta":"{'source': 'reddit_posts', 'id': 'agx0la', 'title': 'How do I give push access to everyone on GitHub?', 'author': 'meekaa_saangoo', 'subreddit': 'github', 'subreddit_id': '2s5m1', 'body': 'I want everyone on Github to get write access to my repository. How do I do that?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 15, 'created_utc': 1547725983}"}
{"id":"1072224","text":"Title: round to 2 decimal places?\nThe text below was posted in an online community called emacs in the year 2019:\n\nHow can i round in calc a number like\n\n    1:  54347.825\n\nto\n\n    1:  54347.83\n\ni.e. the number represents a currency amount ?\n\nI know about R for round and p for precision but the minimum precision is 3..\nwhich does not give me desired result..","meta":"{'source': 'reddit_posts', 'id': 'alkxwo', 'title': 'round to 2 decimal places?', 'author': 'mike1111111111111', 'subreddit': 'emacs', 'subreddit_id': '2qhwu', 'body': 'How can i round in calc a number like\\n\\n    1:  54347.825\\n\\nto\\n\\n    1:  54347.83\\n\\ni.e. the number represents a currency amount ?\\n\\nI know about R for round and p for precision but the minimum precision is 3..\\nwhich does not give me desired result..', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 13, 'created_utc': 1548903215}"}
{"id":"145525","text":"Title: [help] Routing front-end and back-end through the same port\nThe text below was posted in an online community called node in the year 2018:\n\nI followed [this](https:\/\/medium.com\/@anaida07\/mevn-stack-application-part-1-3a27b61dcae0) tutorial to create a Vue front-end and an Express back-end. Everything works in development, but I don't want to have them on different ports. Should I do this by routing the `index.html` of the client through the root of the Express backend? Or is there a better way?\n\nHere's [the code](https:\/\/github.com\/zitation\/zite) if you want to have a look yourself.","meta":"{'source': 'reddit_posts', 'id': '8ubbom', 'title': '[help] Routing front-end and back-end through the same port', 'author': 'leo2a4', 'subreddit': 'node', 'subreddit_id': '2reca', 'body': \"I followed [this](https:\/\/medium.com\/@anaida07\/mevn-stack-application-part-1-3a27b61dcae0) tutorial to create a Vue front-end and an Express back-end. Everything works in development, but I don't want to have them on different ports. Should I do this by routing the `index.html` of the client through the root of the Express backend? Or is there a better way?\\n\\nHere's [the code](https:\/\/github.com\/zitation\/zite) if you want to have a look yourself.\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 2, 'created_utc': 1530118968}"}
{"id":"1922127","text":"Title: Teaching fellow co workers JavaScript: Where do I start?\nThe text below was posted in an online community called javascript in the year 2017:\n\nI work at a large e-commerce company, and have been developing on the front end for roughly 6 years. There is a department (colloquially know a as \"production associate's\") and they are responsible for mostly configuration through a UI and sometimes some minor HTML\/CSS tweaks. As \"The JavaScript guy\", I have been tasked with leading 3-5 \"intro to JavaScript\" sessions in the office. The goal of these sessions would be for some of these folks to assist in micro sites, landing pages etc. \n\nAt first I was thinking piece of cake, but the more i sit down and actually try to plan the structure, I find myself struggling a bit. It's been so long since I learned the basics, where do I even start these days ? Do I go right into es6 and immediately confuse them with having to transpile ? What should the balance of theory to coding be ?  \n\nAny input or suggestions would greatly appreciated.","meta":"{'source': 'reddit_posts', 'id': '6zcoon', 'title': 'Teaching fellow co workers JavaScript: Where do I start?', 'author': 'mokeseven7', 'subreddit': 'javascript', 'subreddit_id': '2qh30', 'body': 'I work at a large e-commerce company, and have been developing on the front end for roughly 6 years. There is a department (colloquially know a as \"production associate\\'s\") and they are responsible for mostly configuration through a UI and sometimes some minor HTML\/CSS tweaks. As \"The JavaScript guy\", I have been tasked with leading 3-5 \"intro to JavaScript\" sessions in the office. The goal of these sessions would be for some of these folks to assist in micro sites, landing pages etc. \\n\\nAt first I was thinking piece of cake, but the more i sit down and actually try to plan the structure, I find myself struggling a bit. It\\'s been so long since I learned the basics, where do I even start these days ? Do I go right into es6 and immediately confuse them with having to transpile ? What should the balance of theory to coding be ?  \\n\\nAny input or suggestions would greatly appreciated.', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 9, 'created_utc': 1505097417}"}
{"id":"1293754","text":"Title: Loop invariants\nThe text below was posted in an online community called algorithms in the year 2020:\n\nHey everyone, I'm looking into algorithm analysis, and I don't quite understand what loop invariants are, and how we use them in proving the algorithm correctness. Could someone please help me with this and explain?","meta":"{'source': 'reddit_posts', 'id': 'ftv4r9', 'title': 'Loop invariants', 'author': 'hows_ee', 'subreddit': 'algorithms', 'subreddit_id': '2qj1c', 'body': \"Hey everyone, I'm looking into algorithm analysis, and I don't quite understand what loop invariants are, and how we use them in proving the algorithm correctness. Could someone please help me with this and explain?\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 2, 'created_utc': 1585863463}"}
{"id":"1353498","text":"Title: Problem using strip() and lower() commands\nThe text below was posted in an online community called learnpython in the year 2019:\n\nHi, I am a beginner learning python and I am running into a problem while writing a program for one of my classes. Here is what I have right now:\n\n[https:\/\/gyazo.com\/06e809710744fe859fa24ab7c5c4887a](https:\/\/gyazo.com\/06e809710744fe859fa24ab7c5c4887a)\n\nMy problem is that when I print the list \"wordlist\" the \"\\\\n\" will still be there, and there will still be uppercase letters in the strings. This is causing me even bigger problems later in the program so it is important that I can figure out why these are not working for me.\n\n&amp;#x200B;\n\nThank you all","meta":"{'source': 'reddit_posts', 'id': 'b4kd1h', 'title': 'Problem using strip() and lower() commands', 'author': 'clonecommando1', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': 'Hi, I am a beginner learning python and I am running into a problem while writing a program for one of my classes. Here is what I have right now:\\n\\n[https:\/\/gyazo.com\/06e809710744fe859fa24ab7c5c4887a](https:\/\/gyazo.com\/06e809710744fe859fa24ab7c5c4887a)\\n\\nMy problem is that when I print the list \"wordlist\" the \"\\\\\\\\n\" will still be there, and there will still be uppercase letters in the strings. This is causing me even bigger problems later in the program so it is important that I can figure out why these are not working for me.\\n\\n&amp;#x200B;\\n\\nThank you all', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 5, 'created_utc': 1553354853}"}
{"id":"2326240","text":"Title: micropython on GPRS module A9G\nThe text below was posted in an online community called arduino in the year 2019:\n\nAwesome news! Some nasty bugs have been fixed and the `micropython` running this module is more reliable than ever! You can buy the module, insert a SIM card and connect to the Internet (including SSL) right away using `python`! GPS and most other hardware have been ported to `python` as well!\n\nAlso, added CI: the ready-to-upload image can be found [here](https:\/\/github.com\/pulkin\/micropython\/releases\/tag\/latest-build).\n\n**The module**: [buy](https:\/\/www.aliexpress.com\/wholesale?SearchText=a9g), [docs](https:\/\/ai-thinker-open.github.io\/GPRS_C_SDK_DOC\/en\/hardware\/pudding-dev-board.html)\n\n**My port**: [readme](https:\/\/github.com\/pulkin\/micropython\/blob\/master\/ports\/gprs_a9\/README.md)\n\n`micropython` [project page](https:\/\/micropython.org\/)\n\nContributions and feedback are **very welcome**. Please consider starring [the project on github](https:\/\/github.com\/pulkin\/micropython).","meta":"{'source': 'reddit_posts', 'id': 'dny1if', 'title': 'micropython on GPRS module A9G', 'author': 'zpwd', 'subreddit': 'arduino', 'subreddit_id': '2qknj', 'body': 'Awesome news! Some nasty bugs have been fixed and the `micropython` running this module is more reliable than ever! You can buy the module, insert a SIM card and connect to the Internet (including SSL) right away using `python`! GPS and most other hardware have been ported to `python` as well!\\n\\nAlso, added CI: the ready-to-upload image can be found [here](https:\/\/github.com\/pulkin\/micropython\/releases\/tag\/latest-build).\\n\\n**The module**: [buy](https:\/\/www.aliexpress.com\/wholesale?SearchText=a9g), [docs](https:\/\/ai-thinker-open.github.io\/GPRS_C_SDK_DOC\/en\/hardware\/pudding-dev-board.html)\\n\\n**My port**: [readme](https:\/\/github.com\/pulkin\/micropython\/blob\/master\/ports\/gprs_a9\/README.md)\\n\\n`micropython` [project page](https:\/\/micropython.org\/)\\n\\nContributions and feedback are **very welcome**. Please consider starring [the project on github](https:\/\/github.com\/pulkin\/micropython).', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1572203440}"}
{"id":"1969107","text":"Title: Stuck with regex test\nThe text below was posted in an online community called javahelp in the year 2016:\n\nI don't know if it is me not understanding regex syntax properly, or if I am using it wrong here but this code isn't working for me.\n\nSupposedly it should check that the String has at least one upper case letter, one lower case letter, one number, and one special character. However when I run the program it prints out \"reached here\" and \"false\".\n\n(ignore the while-loop use, it isn't needed except as part of the test)\n\n\n    String randomLetterPassword = \"Jj9%\";\n    \t\tboolean random = true;\n    \t\tif(random){\n    \t\t\twhile(!randomLetterPassword.matches\n                        (\"^(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*[#?!@$%^&amp;*-])$\")){\n\n    \t\t\tSystem.out.println(\"reached here\");\n\n\t\t\tSystem.out.println(randomLetterPassword.matches\n                        (\"^(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*[#?!@$%^&amp;*-])$\"));\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(\"it works!\");","meta":"{'source': 'reddit_posts', 'id': '5i5lv3', 'title': 'Stuck with regex test', 'author': 'Cache_of_kittens', 'subreddit': 'javahelp', 'subreddit_id': '2t1jq', 'body': 'I don\\'t know if it is me not understanding regex syntax properly, or if I am using it wrong here but this code isn\\'t working for me.\\n\\nSupposedly it should check that the String has at least one upper case letter, one lower case letter, one number, and one special character. However when I run the program it prints out \"reached here\" and \"false\".\\n\\n(ignore the while-loop use, it isn\\'t needed except as part of the test)\\n\\n\\n    String randomLetterPassword = \"Jj9%\";\\n    \\t\\tboolean random = true;\\n    \\t\\tif(random){\\n    \\t\\t\\twhile(!randomLetterPassword.matches\\n                        (\"^(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*[#?!@$%^&amp;*-])$\")){\\n\\n    \\t\\t\\tSystem.out.println(\"reached here\");\\n\\n\\t\\t\\tSystem.out.println(randomLetterPassword.matches\\n                        (\"^(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*[#?!@$%^&amp;*-])$\"));\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t\\n\\t\\tSystem.out.println(\"it works!\");', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 8, 'created_utc': 1481657417}"}
{"id":"1033187","text":"Title: Using Python to compare large folders\nThe text below was posted in an online community called Python in the year 2015:\n\nHi All,\n\nI am trying desperately to compare two large folders to check which folders are missing files. Folder B is a backup of Folder A, but has had data added to, and deleted from, it (a mess). Folder A, in the meanwhile, has become much larger than B with the addition (and some deletion) of files. \n\nI am tasked with finding out what files are in Folder A that do not exist in Folder B, and vice versa. Ideally, I would generate an Excel spreadsheet with two columns listing the missing files from each column. \n\nI was over at \/r\/excel, which helped tremendously, but I want to know if there is anyway to do this using Python.  \n\nI have Python 2.7.5 (if that matters). \n\nThank you in advance.","meta":"{'source': 'reddit_posts', 'id': '3jhos4', 'title': 'Using Python to compare large folders', 'author': 'monitorplant', 'subreddit': 'Python', 'subreddit_id': '2qh0y', 'body': 'Hi All,\\n\\nI am trying desperately to compare two large folders to check which folders are missing files. Folder B is a backup of Folder A, but has had data added to, and deleted from, it (a mess). Folder A, in the meanwhile, has become much larger than B with the addition (and some deletion) of files. \\n\\nI am tasked with finding out what files are in Folder A that do not exist in Folder B, and vice versa. Ideally, I would generate an Excel spreadsheet with two columns listing the missing files from each column. \\n\\nI was over at \/r\/excel, which helped tremendously, but I want to know if there is anyway to do this using Python.  \\n\\nI have Python 2.7.5 (if that matters). \\n\\nThank you in advance.', 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 7, 'created_utc': '1441290095'}"}
{"id":"253802","text":"Title: Why is it that Windows Media Player and Groove Music look into the EXACT same directories? How can I make them look into separate directories? Is there another app for this?\nThe text below was posted in an online community called Windows10 in the year 2015:\n\nSo by default WMP and Groove Music look into the C:\\USER\\Music folder and also the local Onedrive Folder if there is one. \n\nNow, on my home PC, there are multiple users. Two users have our own taste in songs (different language\/genre etc). I was thinking, I'd just use Groove and let the other person have WMP. So, I removed \/Music from Groove and made me look into C:\/MYNAME (my own folder). \n\nHowever, it turns out, this EXACT same thing happens in WMP! Changing the look directory in Groove makes the change automatically in WMP (and vice versa). \n\nNow, short of creating two accounts to log into the PC (not an option, and a waste of time), how can we both use a separate app to look into separate directories? \n\nThanks!","meta":"{'source': 'reddit_posts', 'id': '3xjo6s', 'title': 'Why is it that Windows Media Player and Groove Music look into the EXACT same directories? How can I make them look into separate directories? Is there another app for this?', 'author': 'himmatsj', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': \"So by default WMP and Groove Music look into the C:\\\\USER\\\\Music folder and also the local Onedrive Folder if there is one. \\n\\nNow, on my home PC, there are multiple users. Two users have our own taste in songs (different language\/genre etc). I was thinking, I'd just use Groove and let the other person have WMP. So, I removed \/Music from Groove and made me look into C:\/MYNAME (my own folder). \\n\\nHowever, it turns out, this EXACT same thing happens in WMP! Changing the look directory in Groove makes the change automatically in WMP (and vice versa). \\n\\nNow, short of creating two accounts to log into the PC (not an option, and a waste of time), how can we both use a separate app to look into separate directories? \\n\\nThanks!\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1450586692}"}
{"id":"1191041","text":"Title: How do I make the second OS option in grub the default?\nThe text below was posted in an online community called linuxquestions in the year 2022:\n\nI had an issue recently where the top listing in the GRUB menu is the default, but I want to make the second one the default since the first one broke, and delete the first one altogether. Until it's fixedI have to manually select the OS each time I boot my laptop which isn't ideal.","meta":"{'source': 'reddit_posts', 'id': 'vqsuoe', 'title': 'How do I make the second OS option in grub the default?', 'author': 'kelvinnkat', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': \"I had an issue recently where the top listing in the GRUB menu is the default, but I want to make the second one the default since the first one broke, and delete the first one altogether. Until it's fixedI have to manually select the OS each time I boot my laptop which isn't ideal.\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 12, 'created_utc': 1656887577}"}
{"id":"2027539","text":"Title: Fglrx drive\nThe text below was posted in an online community called linuxquestions in the year 2016:\n\nHello i run a pc with ATI Radeon HD4650, and i wanted to move to Linux. The problem is if I install linux mint 18 i will have to use opensource drive like oibaf right? Cause mint 18 no longer suports fglrx... is this driver good? Does it affect my pc perfomance when gaming? Is there any distro that still runs fglrx drives? Sorry I'm new into this and got so many questions..","meta":"{'source': 'reddit_posts', 'id': '5dzoeb', 'title': 'Fglrx drive', 'author': 'psiberpt', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': \"Hello i run a pc with ATI Radeon HD4650, and i wanted to move to Linux. The problem is if I install linux mint 18 i will have to use opensource drive like oibaf right? Cause mint 18 no longer suports fglrx... is this driver good? Does it affect my pc perfomance when gaming? Is there any distro that still runs fglrx drives? Sorry I'm new into this and got so many questions..\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': 1479670585}"}
{"id":"2320391","text":"Title: EBGaramond package not working\nThe text below was posted in an online community called LaTeX in the year 2013:\n\nHi all,\n\nI can't seem to find a solution to this on Google, so I'm hoping someone here can help me figure this out.  I'm trying to use the EBGaramond package with PDFLatex.  I'm using MikTeX 2.9, and I installed the ebgaramond package via MikTeX's package manager.  When trying to compile, I get the following error:\n\n&gt;!pdfTeX error: G:\\Program Files\\MiKTeX 2.9\\miktex\\bin\\x64\\miktex-pdftex.exe (file EBGaramond12-Regular-osf-t1--base): Font EBGaramond12-Regular-osf-t1--base at 600 not found\n\nHere's the pre-amble:\n\n    \\documentclass[12pt,letterpaper]{book}\n    \n    \\usepackage[T1]{fontenc}\n    \n    \\usepackage{ebgaramond}\n    \n    \\usepackage[spanish]{babel}\n    \n    \\usepackage{fullpage}\n    \n    \\usepackage{wallpaper}\n    \n    \\usepackage{setspace}\n    \n    \\usepackage{parskip}\n    \n    \\begin{document}\n\n    [wallpaper command]\n    \n    testing\n    \n    \\end{document}\n\nAny thoughts would be appreciated.","meta":"{'source': 'reddit_posts', 'id': '1gvbt2', 'title': 'EBGaramond package not working', 'author': 'raskolnik', 'subreddit': 'LaTeX', 'subreddit_id': '2qhbn', 'body': \"Hi all,\\n\\nI can't seem to find a solution to this on Google, so I'm hoping someone here can help me figure this out.  I'm trying to use the EBGaramond package with PDFLatex.  I'm using MikTeX 2.9, and I installed the ebgaramond package via MikTeX's package manager.  When trying to compile, I get the following error:\\n\\n&gt;!pdfTeX error: G:\\\\Program Files\\\\MiKTeX 2.9\\\\miktex\\\\bin\\\\x64\\\\miktex-pdftex.exe (file EBGaramond12-Regular-osf-t1--base): Font EBGaramond12-Regular-osf-t1--base at 600 not found\\n\\nHere's the pre-amble:\\n\\n    \\\\documentclass[12pt,letterpaper]{book}\\n    \\n    \\\\usepackage[T1]{fontenc}\\n    \\n    \\\\usepackage{ebgaramond}\\n    \\n    \\\\usepackage[spanish]{babel}\\n    \\n    \\\\usepackage{fullpage}\\n    \\n    \\\\usepackage{wallpaper}\\n    \\n    \\\\usepackage{setspace}\\n    \\n    \\\\usepackage{parskip}\\n    \\n    \\\\begin{document}\\n\\n    [wallpaper command]\\n    \\n    testing\\n    \\n    \\\\end{document}\\n\\nAny thoughts would be appreciated.\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 11, 'created_utc': 1371929555}"}
{"id":"1869420","text":"Title: Why is &gt;_ used as a terminal icon anyway?\nThe text below was posted in an online community called linux in the year 2017:\n\nI've always thought of `&gt;_` as an icon for terminal and quite a few apps use it as an icon. However, recently it occurred to me that none of the shells or terminal apps I've used (admittedly not a wide selection) actually use `&gt;_` as the characters for the prompt. Does anyone know where it is actually from?","meta":"{'source': 'reddit_posts', 'id': '5sn4k7', 'title': 'Why is &gt;_ used as a terminal icon anyway?', 'author': 'DIWesser', 'subreddit': 'linux', 'subreddit_id': '2qh1a', 'body': \"I've always thought of `&gt;_` as an icon for terminal and quite a few apps use it as an icon. However, recently it occurred to me that none of the shells or terminal apps I've used (admittedly not a wide selection) actually use `&gt;_` as the characters for the prompt. Does anyone know where it is actually from?\", 'body_is_trimmed': False, 'score': 101, 'over_18': False, 'num_comments': 78, 'created_utc': 1486492208}"}
{"id":"116726","text":"Title: Finding the LCD right controller board\nThe text below was posted in an online community called raspberry_pi in the year 2015:\n\nSetting up a Rasberry Pi project for digital signage and I have a screen from an older iMac I'd like to use.  The screen is a LG LM215WF3 SDC2.  Now googling around i'm being pointed to [\"R.RM5451 VGA+DVI LCD Controller kit for 1920x1080 LG LM215WF3 SLC1 LED LCD Screen\"](http:\/\/www.njytouch.com\/products\/353-en.html)  Looking closly at the picture the video connector does not look right.  Anyone then have experience finding the right controller board the the right screen?  Thanks for any feedback.","meta":"{'source': 'reddit_posts', 'id': '2xfjyl', 'title': 'Finding the LCD right controller board', 'author': 'adentallon', 'subreddit': 'raspberry_pi', 'subreddit_id': '2syto', 'body': 'Setting up a Rasberry Pi project for digital signage and I have a screen from an older iMac I\\'d like to use.  The screen is a LG LM215WF3 SDC2.  Now googling around i\\'m being pointed to [\"R.RM5451 VGA+DVI LCD Controller kit for 1920x1080 LG LM215WF3 SLC1 LED LCD Screen\"](http:\/\/www.njytouch.com\/products\/353-en.html)  Looking closly at the picture the video connector does not look right.  Anyone then have experience finding the right controller board the the right screen?  Thanks for any feedback.', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 1, 'created_utc': '1425097240'}"}
{"id":"496496","text":"Title: Can I delete a repository using the GraphQL API?\nThe text below was posted in an online community called github in the year 2019:\n\nAnyone familiar with using the GraphQL API (the successor to the REST API), I see [here](https:\/\/developer.github.com\/v4\/mutation\/) on the right sidebar a list of mutations. I see `createRepository` but I don't see anything called \"deleteRepository\" or anything like that. \n\nThanks!","meta":"{'source': 'reddit_posts', 'id': 'cqa79l', 'title': 'Can I delete a repository using the GraphQL API?', 'author': 'N_N_N_N_N_N_N', 'subreddit': 'github', 'subreddit_id': '2s5m1', 'body': 'Anyone familiar with using the GraphQL API (the successor to the REST API), I see [here](https:\/\/developer.github.com\/v4\/mutation\/) on the right sidebar a list of mutations. I see `createRepository` but I don\\'t see anything called \"deleteRepository\" or anything like that. \\n\\nThanks!', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': 1565791833}"}
{"id":"1764156","text":"Title: Crossing two dataframes\nThe text below was posted in an online community called learnpython in the year 2020:\n\nHi everyone,\n\nI have two dataframes that have the same format. The columns are email | name| value. One of the dataframes have more lines than the other, I need to cross them both by email and get the remaining dataframe from that cross. \n\nThe output should be lines from dataframe A whose email is not in dataframe B. How can I do this?\n\n&amp;#x200B;\n\nThanks.","meta":"{'source': 'reddit_posts', 'id': 'ev43k1', 'title': 'Crossing two dataframes', 'author': 'bmrtex', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': 'Hi everyone,\\n\\nI have two dataframes that have the same format. The columns are email | name| value. One of the dataframes have more lines than the other, I need to cross them both by email and get the remaining dataframe from that cross. \\n\\nThe output should be lines from dataframe A whose email is not in dataframe B. How can I do this?\\n\\n&amp;#x200B;\\n\\nThanks.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 6, 'created_utc': 1580208936}"}
{"id":"761353","text":"Title: What is the best free PDF software?\nThe text below was posted in an online community called windows in the year 2019:\n\nHello, Im a student and currently using Adobe reader. The problem w\/ adobe is, you needs to pay to change the colour of your highlight tool, and that is quite a huge drawback for me. I really like the UI of that software though\n\nIf possible, can you guys suggest a fast, free, and reliable PDF reader that allows you to highlight using different colour.\n\nThanks in advance","meta":"{'source': 'reddit_posts', 'id': 'bdfj6f', 'title': 'What is the best free PDF software?', 'author': 'lunar1412', 'subreddit': 'windows', 'subreddit_id': '2qh3k', 'body': 'Hello, Im a student and currently using Adobe reader. The problem w\/ adobe is, you needs to pay to change the colour of your highlight tool, and that is quite a huge drawback for me. I really like the UI of that software though\\n\\nIf possible, can you guys suggest a fast, free, and reliable PDF reader that allows you to highlight using different colour.\\n\\nThanks in advance', 'body_is_trimmed': False, 'score': 17, 'over_18': False, 'num_comments': 39, 'created_utc': 1555332246}"}
{"id":"1682764","text":"Title: [Python] Common beginner problems?\nThe text below was posted in an online community called learnprogramming in the year 2013:\n\nSo ive been practicing Python for a month now. Programming itself for like 2 since I started with Ruby. Anyway, It seems ive ran into a mental block I guess i'd call it. I can read code, I can understand whats going on within it but I dont know how to type it. I can solve \"fizz buzz\" and I can also create a number game but thats about it. I dont know how to create anything and I dont have any ideas on what to create anyway. How can I get around this and practice problem solving as well? Is this a common problem and is there any advice to get around this feeling?","meta":"{'source': 'reddit_posts', 'id': '1fckgo', 'title': '[Python] Common beginner problems?', 'author': 'Stiltman', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'So ive been practicing Python for a month now. Programming itself for like 2 since I started with Ruby. Anyway, It seems ive ran into a mental block I guess i\\'d call it. I can read code, I can understand whats going on within it but I dont know how to type it. I can solve \"fizz buzz\" and I can also create a number game but thats about it. I dont know how to create anything and I dont have any ideas on what to create anyway. How can I get around this and practice problem solving as well? Is this a common problem and is there any advice to get around this feeling?', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 8, 'created_utc': 1369935733}"}
{"id":"288753","text":"Title: Noise on sound card for radar using Rpi vs PC. Need help getting some clean readings.\nThe text below was posted in an online community called raspberry_pi in the year 2020:\n\nHi! I am trying to build my own speed radar to log the traffic outside my house. I have been following  [https:\/\/blog.durablescope.com\/post\/TrafficRadarRevisited\/](https:\/\/blog.durablescope.com\/post\/TrafficRadarRevisited\/)  and been on and off this project for a few years. Now I have the time and have come close but I get so much false positives from my measurements.\n\nSo in short. Radar sends weak readings to the amplifiers that is connected to the line in of the usb sound card. I have also recorded sound from usb card with my pc using audacity and I get very crisp results. I have added a rather large tantalium capacitor and a small ceramic capacitor on the usb port on the PI to get more stable voltage.\n\nIs the Pi very noisy? Especially in the low frequency areas? 4Hz = 1km\/h so I want to read between 1000-9000Hz.  \nI have some plots here:\n\nThis is the spectrum of the author of the project: \n\nhttps:\/\/preview.redd.it\/7y4phehr78w41.png?width=679&amp;format=png&amp;auto=webp&amp;s=334b16cb6b5ff82f58b55d75fa674c780333b353\n\nThis is my comparison between my Pi and my PC:\n\n&amp;#x200B;\n\nhttps:\/\/preview.redd.it\/g3m2kdd388w41.png?width=2292&amp;format=png&amp;auto=webp&amp;s=6d3990d56d4b3b7d347b38d3977bd56cf33b62b2\n\n&amp;#x200B;\n\nHope I can get some help. Thanks!","meta":"{'source': 'reddit_posts', 'id': 'gbrhp8', 'title': 'Noise on sound card for radar using Rpi vs PC. Need help getting some clean readings.', 'author': 'Atma-n', 'subreddit': 'raspberry_pi', 'subreddit_id': '2syto', 'body': 'Hi! I am trying to build my own speed radar to log the traffic outside my house. I have been following  [https:\/\/blog.durablescope.com\/post\/TrafficRadarRevisited\/](https:\/\/blog.durablescope.com\/post\/TrafficRadarRevisited\/)  and been on and off this project for a few years. Now I have the time and have come close but I get so much false positives from my measurements.\\n\\nSo in short. Radar sends weak readings to the amplifiers that is connected to the line in of the usb sound card. I have also recorded sound from usb card with my pc using audacity and I get very crisp results. I have added a rather large tantalium capacitor and a small ceramic capacitor on the usb port on the PI to get more stable voltage.\\n\\nIs the Pi very noisy? Especially in the low frequency areas? 4Hz = 1km\/h so I want to read between 1000-9000Hz.  \\nI have some plots here:\\n\\nThis is the spectrum of the author of the project: \\n\\nhttps:\/\/preview.redd.it\/7y4phehr78w41.png?width=679&amp;format=png&amp;auto=webp&amp;s=334b16cb6b5ff82f58b55d75fa674c780333b353\\n\\nThis is my comparison between my Pi and my PC:\\n\\n&amp;#x200B;\\n\\nhttps:\/\/preview.redd.it\/g3m2kdd388w41.png?width=2292&amp;format=png&amp;auto=webp&amp;s=6d3990d56d4b3b7d347b38d3977bd56cf33b62b2\\n\\n&amp;#x200B;\\n\\nHope I can get some help. Thanks!', 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 2, 'created_utc': 1588370761}"}
{"id":"1716255","text":"Title: Dependency management questions \/ situation\nThe text below was posted in an online community called cpp in the year 2019:\n\nHi, new to this sub :)\n\nI mainly use C++ for graphics and GUI programming. I usually develop both on Windows and Linux with CMake.\n\nI am looking for a way to manage my dependencies in a cross platform way. I tried few solutions but nothing really goes well.\n\nUntil now, I used to store all of my projects in a USB drive together with `include` and `lib` directories. I built all of my libraries from source. This is very inconsistent and hard to maintain and version. Also I needed to memorize what system libraries each lib needed (`SDL` on Linux for example depends on X libraries and so on)\n\nI tried using `vcpkg` as it looked fine for my purposes, but it's a headache to setup and didn't work well in general.\n\nI heard of Conan, but the libraries in their repos are not very updated.\n\n`submodules` won't really help because I don't always use git and it might create a lot of copies of the same cloned repository.\n\nCan you guys help me with this?\nWill me much appreciated!\n\nThanks","meta":"{'source': 'reddit_posts', 'id': 'cyqbj1', 'title': 'Dependency management questions \/ situation', 'author': 'AregevDev', 'subreddit': 'cpp', 'subreddit_id': '2qi27', 'body': \"Hi, new to this sub :)\\n\\nI mainly use C++ for graphics and GUI programming. I usually develop both on Windows and Linux with CMake.\\n\\nI am looking for a way to manage my dependencies in a cross platform way. I tried few solutions but nothing really goes well.\\n\\nUntil now, I used to store all of my projects in a USB drive together with `include` and `lib` directories. I built all of my libraries from source. This is very inconsistent and hard to maintain and version. Also I needed to memorize what system libraries each lib needed (`SDL` on Linux for example depends on X libraries and so on)\\n\\nI tried using `vcpkg` as it looked fine for my purposes, but it's a headache to setup and didn't work well in general.\\n\\nI heard of Conan, but the libraries in their repos are not very updated.\\n\\n`submodules` won't really help because I don't always use git and it might create a lot of copies of the same cloned repository.\\n\\nCan you guys help me with this?\\nWill me much appreciated!\\n\\nThanks\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 7, 'created_utc': 1567437634}"}
{"id":"1178017","text":"Title: Formal methods job market\nThe text below was posted in an online community called cscareerquestionsEU in the year 2020:\n\nIs anyone here working in the field of formal methods\/symbolic AI or knows how is the job market situation in Europe?  (Not specifically referring to the current covid situation, I'm more interested in the big picture)","meta":"{'source': 'reddit_posts', 'id': 'fuuv3c', 'title': 'Formal methods job market', 'author': 'enree8', 'subreddit': 'cscareerquestionsEU', 'subreddit_id': '3j6s1', 'body': \"Is anyone here working in the field of formal methods\/symbolic AI or knows how is the job market situation in Europe?  (Not specifically referring to the current covid situation, I'm more interested in the big picture)\", 'body_is_trimmed': False, 'score': 26, 'over_18': False, 'num_comments': 7, 'created_utc': 1586011537}"}
{"id":"2156266","text":"Title: Anyone have an idea of how to choose a preferred audio output?\nThe text below was posted in an online community called mac in the year 2020:\n\nRecently when plugging my mac into my monitor and soundcard MacOS has decided to use the built-in soundcard in the monitor instead of the external one that I actually use.   \nI expected that I could just move mine to the top of the list like you can for WIFI networks etc - but apparently not.  \nAnyone had a similar issue or know a fix?","meta":"{'source': 'reddit_posts', 'id': 'ix5gcv', 'title': 'Anyone have an idea of how to choose a preferred audio output?', 'author': 'Ttookkyyoo', 'subreddit': 'mac', 'subreddit_id': '2qh4u', 'body': 'Recently when plugging my mac into my monitor and soundcard MacOS has decided to use the built-in soundcard in the monitor instead of the external one that I actually use.   \\nI expected that I could just move mine to the top of the list like you can for WIFI networks etc - but apparently not.  \\nAnyone had a similar issue or know a fix?', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 8, 'created_utc': 1600710805}"}
{"id":"236643","text":"Title: I need some help\nThe text below was posted in an online community called computerscience in the year 2017:\n\nHey guys,\n\nthis post might ramble on for a little bit so I apologize. I'm about to be a junior in software engineering and I've run into a little issue. I love coding, but I'm not very seanlopez@example.net. I find it fun but the projects and such take me a while and I've gotten into the habit of just google some of the answers (this was completely my fault) I've only taken 2 java classes as my coding classes and I am enrolled in a C++ class next semester as well as a couple others. My parents are kinda considering having me switching majors and I was wondering if anyone has been in my shoes before. I do like the code and understand a good majority of what is happening in the code but I have trouble implementing it when I'm on my own. And my second thing is what are some good practice techniques. I've tried to create my own application and every time I'm about to start, my mind blanks. I'm just kinda stressing as this is my future I'm thinking about.\n\nSorry about the rambling.\n\nTL;DR stressing about my future and need help figuring out what to do.","meta":"{'source': 'reddit_posts', 'id': '6h5dlu', 'title': 'I need some help', 'author': 'yellowjacket1740', 'subreddit': 'computerscience', 'subreddit_id': '2qj8o', 'body': \"Hey guys,\\n\\nthis post might ramble on for a little bit so I apologize. I'm about to be a junior in software engineering and I've run into a little issue. I love coding, but I'm not very good at it. I find it fun but the projects and such take me a while and I've gotten into the habit of just google some of the answers (this was completely my fault) I've only taken 2 java classes as my coding classes and I am enrolled in a C++ class next semester as well as a couple others. My parents are kinda considering having me switching majors and I was wondering if anyone has been in my shoes before. I do like the code and understand a good majority of what is happening in the code but I have trouble implementing it when I'm on my own. And my second thing is what are some good practice techniques. I've tried to create my own application and every time I'm about to start, my mind blanks. I'm just kinda stressing as this is my future I'm thinking about.\\n\\nSorry about the rambling.\\n\\nTL;DR stressing about my future and need help figuring out what to do.\", 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 6, 'created_utc': 1497416156}"}
{"id":"1557832","text":"Title: Whenever I plug my headphones in, I get a pop-up window: \"External audio device detected.\" How do I murder it?\nThe text below was posted in an online community called Windows10 in the year 2015:\n\nHi all,\n\nWhen I plug my headphones in, an annoying Windows 10 themed pop-up window appears saying: \n\n******************\n\nExternal audio device detected\n\nIn order to receive the best audio experience please select the type of audio device you have plugged in\n\nHeadphone\n\nFront speaker out\n\nS\/PDIF-Out\n\n******************\n\nHeadphone is always already selected. In fact, the headphones work as soon as I plug them in anyway. I imagine audiophiles might have some use for this, but it is completely irrelevant to me. All it does is interrupt whatever program I was using. \n\nUsually, I am playing a game in full screen mode, and I have decided to plug my headphones in to not annoy my housemate. This pop-up window appears and minimizes my game, and I can't get back into it in fullscreen mode, only in a windowed mode with a border around the edge.\n\nI know it's not the worst thing in the world, but it is irritating (and really poor design), if anyone knows how i can kill it I would appreciate that.\n\nThe pop-up window is titled \"Realtek HD Audio\", and googling around seems to indicate there is something called a \"Realtek HD Audio Manager\". No such program seems to exist anywhere on my computer. I can't access it in the taskbar, I cant access it through Control Panel, I cant find it when searching, I can't launch it by going to the Realtek folder under Program files and clicking every single .exe file there. It doesn't seem to exist. I have tried updating the Realtek driver, but it is the latest version. There is no panel anywhere to change \"stupid pop-up options\".\n\nIt doesn't actually look like a third-party window anyway, it looks exactly like a Windows 10 pop-up. It's themed with the Windows 10 colour scheme, it has that blocky toy-ish \"Edge\" look to it. I have yet to see any other third-party program or driver utility that is themed that way, so I am not actually convinced at all that it is a Realtek fault (despite the window title), it seems to be a Windows 10 problem.\n\nDoes anyone else know what I am talking about?","meta":"{'source': 'reddit_posts', 'id': '3x2ejb', 'title': 'Whenever I plug my headphones in, I get a pop-up window: \"External audio device detected.\" How do I murder it?', 'author': 'dissembly', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': 'Hi all,\\n\\nWhen I plug my headphones in, an annoying Windows 10 themed pop-up window appears saying: \\n\\n******************\\n\\nExternal audio device detected\\n\\nIn order to receive the best audio experience please select the type of audio device you have plugged in\\n\\nHeadphone\\n\\nFront speaker out\\n\\nS\/PDIF-Out\\n\\n******************\\n\\nHeadphone is always already selected. In fact, the headphones work as soon as I plug them in anyway. I imagine audiophiles might have some use for this, but it is completely irrelevant to me. All it does is interrupt whatever program I was using. \\n\\nUsually, I am playing a game in full screen mode, and I have decided to plug my headphones in to not annoy my housemate. This pop-up window appears and minimizes my game, and I can\\'t get back into it in fullscreen mode, only in a windowed mode with a border around the edge.\\n\\nI know it\\'s not the worst thing in the world, but it is irritating (and really poor design), if anyone knows how i can kill it I would appreciate that.\\n\\nThe pop-up window is titled \"Realtek HD Audio\", and googling around seems to indicate there is something called a \"Realtek HD Audio Manager\". No such program seems to exist anywhere on my computer. I can\\'t access it in the taskbar, I cant access it through Control Panel, I cant find it when searching, I can\\'t launch it by going to the Realtek folder under Program files and clicking every single .exe file there. It doesn\\'t seem to exist. I have tried updating the Realtek driver, but it is the latest version. There is no panel anywhere to change \"stupid pop-up options\".\\n\\nIt doesn\\'t actually look like a third-party window anyway, it looks exactly like a Windows 10 pop-up. It\\'s themed with the Windows 10 colour scheme, it has that blocky toy-ish \"Edge\" look to it. I have yet to see any other third-party program or driver utility that is themed that way, so I am not actually convinced at all that it is a Realtek fault (despite the window title), it seems to be a Windows 10 problem.\\n\\nDoes anyone else know what I am talking about?', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 5, 'created_utc': 1450263628}"}
{"id":"1431050","text":"Title: Printing is removing all style jQuery UI and Bootstrap.\nThe text below was posted in an online community called jquery in the year 2014:\n\nSo with your help I build a small app where I have multiple sortable elements. Is all good and pretty but when I try printing the page, the style gets lost. \n\nIs there anyway to preserve all style when printing? \n\nTIA","meta":"{'source': 'reddit_posts', 'id': '2m1evy', 'title': 'Printing is removing all style jQuery UI and Bootstrap.', 'author': 'stinky_toecutter', 'subreddit': 'jquery', 'subreddit_id': '2qhs4', 'body': 'So with your help I build a small app where I have multiple sortable elements. Is all good and pretty but when I try printing the page, the style gets lost. \\n\\nIs there anyway to preserve all style when printing? \\n\\nTIA', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 6, 'created_utc': '1415763999'}"}
{"id":"1711782","text":"Title: When do you think Firefox will support non-incremental touchpad scrolling on Linux?\nThe text below was posted in an online community called firefox in the year 2014:\n\nThere's one feature that Firefox on Mac OS X has that I miss on my Firefox here on Linux Mint. It's what I call non-incremental scrolling - that is, two-finger scrolling works on a pixel-per-pixel basis, instead of one mouse-wheel tick at a time.\n\nI know the feature is implementable in principle, because I see it in certain controls in Ubuntu already. But it appears that only Mac OS X actually has it implemented in any way, shape, or form.\n\nI've been meaning to submit this feature request directly to Mozilla (and I'd gladly spend a term at an internship trying to implement this very thing), but I have no idea where to put it.","meta":"{'source': 'reddit_posts', 'id': '23rxv6', 'title': 'When do you think Firefox will support non-incremental touchpad scrolling on Linux?', 'author': 'Falzar', 'subreddit': 'firefox', 'subreddit_id': '2qh4p', 'body': \"There's one feature that Firefox on Mac OS X has that I miss on my Firefox here on Linux Mint. It's what I call non-incremental scrolling - that is, two-finger scrolling works on a pixel-per-pixel basis, instead of one mouse-wheel tick at a time.\\n\\nI know the feature is implementable in principle, because I see it in certain controls in Ubuntu already. But it appears that only Mac OS X actually has it implemented in any way, shape, or form.\\n\\nI've been meaning to submit this feature request directly to Mozilla (and I'd gladly spend a term at an internship trying to implement this very thing), but I have no idea where to put it.\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 7, 'created_utc': '1398268663'}"}
{"id":"996841","text":"Title: Cost running turrets\nThe text below was posted in an online community called factorio in the year 2017:\n\nI may have missed something here so please help check my math.\n\nPiercing Ammo costs:\n* 5 Copper\n* 5 Iron -&gt; 1 Steel\n\nSo an unmoduled electric furnaces can produce all of the components needed in (3.5 craft time \/ 2 craft speed)*10 (iron and copper)+(17.5 crafting time \/ 2 craft speed)*1 (steel) = 26.25 seconds\n\nRunning at a cost of 180kW:\n180kW * 26.25(seconds)=4725 KJ per Piercing Ammo magazine \n\n10 bullets in a mag =&gt; 472.5 KJ per bullet =&gt;.4725 MJ per bullet!\n\nFully upgraded turrets shoot at 26 rounds a second: 12.285 MW\n\nA solid line of gun turrets can get 17 guns on a single target at a time (this may not be true it may be half this because turrets are 2x2? all I know is the Wiki says 17 is the range)\n\nSo a single line of gun turrets firing at the same time eat a smelting only cost (no inserters, bots, mining or trains involved) of: \n\n12.285 MW * 17 = **208.85 MW**\n\nIf we do the same with Laser Turrets, a solid line \n6.24MJ per shot * 25 turrets on target at a time (again may be half because turrets are 2x2?) = **156 MW**\n\nSo guns do more damage, but doubling the number of laser turrets should make up for that at a marginal increase in actual power consumption (remembering my 208 MW didn't include mining or transport)?\n\nIs this correct? Am I missing a major part of the math here? If this is correct and you the of the \"pre energy cost\" that goes into bullets almost as if they are batteries to power the turrets, and if you look at the infrastructure overhead I don't see why you would ever use regular turrets in the end game.\n\nI'm sure I'm wrong somewhere here so please straighten me out.","meta":"{'source': 'reddit_posts', 'id': '5wxv6i', 'title': 'Cost running turrets', 'author': 'dudeplace', 'subreddit': 'factorio', 'subreddit_id': '2wabp', 'body': 'I may have missed something here so please help check my math.\\n\\nPiercing Ammo costs:\\n* 5 Copper\\n* 5 Iron -&gt; 1 Steel\\n\\nSo an unmoduled electric furnaces can produce all of the components needed in (3.5 craft time \/ 2 craft speed)*10 (iron and copper)+(17.5 crafting time \/ 2 craft speed)*1 (steel) = 26.25 seconds\\n\\nRunning at a cost of 180kW:\\n180kW * 26.25(seconds)=4725 KJ per Piercing Ammo magazine \\n\\n10 bullets in a mag =&gt; 472.5 KJ per bullet =&gt;.4725 MJ per bullet!\\n\\nFully upgraded turrets shoot at 26 rounds a second: 12.285 MW\\n\\nA solid line of gun turrets can get 17 guns on a single target at a time (this may not be true it may be half this because turrets are 2x2? all I know is the Wiki says 17 is the range)\\n\\nSo a single line of gun turrets firing at the same time eat a smelting only cost (no inserters, bots, mining or trains involved) of: \\n\\n12.285 MW * 17 = **208.85 MW**\\n\\nIf we do the same with Laser Turrets, a solid line \\n6.24MJ per shot * 25 turrets on target at a time (again may be half because turrets are 2x2?) = **156 MW**\\n\\nSo guns do more damage, but doubling the number of laser turrets should make up for that at a marginal increase in actual power consumption (remembering my 208 MW didn\\'t include mining or transport)?\\n\\nIs this correct? Am I missing a major part of the math here? If this is correct and you the of the \"pre energy cost\" that goes into bullets almost as if they are batteries to power the turrets, and if you look at the infrastructure overhead I don\\'t see why you would ever use regular turrets in the end game.\\n\\nI\\'m sure I\\'m wrong somewhere here so please straighten me out.', 'body_is_trimmed': False, 'score': 9, 'over_18': False, 'num_comments': 25, 'created_utc': 1488394127}"}
{"id":"881831","text":"Title: Does Codable have a nice way to handle \"default values\" for nullable JSON keys?\nThe text below was posted in an online community called swift in the year 2019:\n\nExample. I'm working with a horribly designed API that sometimes returns `null` for some keys. As an example, if you've never bookmarked a post, you get `bookmarked: null` for that particular post. Bookmarking it gives you `bookmarked: true`, then unbookmarking it gives you `bookmarked: false`.\n\nObviously, this should not ever be null. It should be true or false. I cannot figure out how to get this to work with `JSONDecoder` without making it optional. I'd like to make it `false` if it was found `null`.\n\nEdit: Thanks for the downvotes. This subreddit is eerily more similar to \/r\/Apple than it is to \/r\/iOSProgramming. God forbid someone question the standard library\n\nA genuine thank you to those of you who did actually make sensible suggestions to work around this issue, instead of assuming I don't know what I'm doing  I think I'm going to try to implement my own JSON decoder, for the sake of keeping my models tidy.","meta":"{'source': 'reddit_posts', 'id': 'bbo8i4', 'title': 'Does Codable have a nice way to handle \"default values\" for nullable JSON keys?', 'author': 'ThePantsThief', 'subreddit': 'swift', 'subreddit_id': '2z6zi', 'body': \"Example. I'm working with a horribly designed API that sometimes returns `null` for some keys. As an example, if you've never bookmarked a post, you get `bookmarked: null` for that particular post. Bookmarking it gives you `bookmarked: true`, then unbookmarking it gives you `bookmarked: false`.\\n\\nObviously, this should not ever be null. It should be true or false. I cannot figure out how to get this to work with `JSONDecoder` without making it optional. I'd like to make it `false` if it was found `null`.\\n\\nEdit: Thanks for the downvotes. This subreddit is eerily more similar to \/r\/Apple than it is to \/r\/iOSProgramming. God forbid someone question the standard library\\n\\nA genuine thank you to those of you who did actually make sensible suggestions to work around this issue, instead of assuming I don't know what I'm doing  I think I'm going to try to implement my own JSON decoder, for the sake of keeping my models tidy.\", 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 18, 'created_utc': 1554914666}"}
{"id":"1380491","text":"Title: Is $850 for a 2010 17\" MBP max spec'd with an antiglare display a fair price?\nThe text below was posted in an online community called mac in the year 2015:\n\nThe seller says it's in perfect, mint condition, the original battery only has 89 cycles, and it comes with all of its original contents.","meta":"{'source': 'reddit_posts', 'id': '3i9upn', 'title': 'Is $850 for a 2010 17\" MBP max spec\\'d with an antiglare display a fair price?', 'author': 'doubleshotespresso', 'subreddit': 'mac', 'subreddit_id': '2qh4u', 'body': \"The seller says it's in perfect, mint condition, the original battery only has 89 cycles, and it comes with all of its original contents.\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 6, 'created_utc': '1440463805'}"}
{"id":"841178","text":"Title: Trying to write a simplified version of Caravan in Java, but lost.\nThe text below was posted in an online community called learnprogramming in the year 2011:\n\nSo we have an assignment to write Caravan with Java using different objects, inheritance, etc.  I've been a bit lax in paying attention in class partly due to personal matters but mostly because I'm an idiot.\n\nIf you don't know what Caravan is, it's a card game from Fallout: New Vegas.  We aren't working with the entire game from NV, but rather a somewhat simplified version (It involves not handling certain rules regarding face cards - I haven't played Caravan, so I wouldn't know).  Here are the rules for Caravan (if you already know the game, you can disregard the below - it's quite lengthy):\n\n---\n\nEach player starts with a randomly-shuffled deck of 26 playing cards. The 26 cards are randomly selected from a standard deck of 52 cards.\n Each player maintains a hand of cards and three stacks of cards representing their caravan bids on each of the three caravans. The caravan bids are initially empty, with a value of 0.\n The game begins by having each player draw the top 5 cards from their deck into their hand.\n Players alternate turns. During each players turn, s\/he can take one of four actions:\n\n1. Place any one card from his\/her hand onto one of his\/her caravan bids (subject to the rules below). When this is done, the player also draws the next card from the deck (if available) into his\/her hand.\n\n2. Replace any one card from his\/her hand with the next card from the deck (if available).\n\n3. Discard any one of his\/her caravan bids. This eliminates all cards currently in that bid from play, resetting the bids value to 0. The cards are permanently gone; they do not get placed back into the players deck or hand.\n4. Surrender. This is fairly self-explanatory \n\nThere are several rules that govern how cards can be placed onto a caravan bid:\n- Any card can be placed onto a caravan bid thats empty.\n\n- A caravan bid is considered full once it reaches 7 cards. If a player produces a full bid and is not happy with its value, s\/he must discard the entire bid and rebuild it.\n\n- A caravan bid can never contain two adjacent cards of the same rank. For example, if a player places an 8 into one caravan bid, the next card cannot be another 8.\n\n- Once two consecutive non-ace cards have been placed onto a caravan bid, the bid establishes a direction determined by the ranks of those cards. All future cards placed onto that bid must be consistent with the bids direction. For example, if a player places a 2 onto one caravan bid, followed by a 5, that bids direction is now up. The next card placed onto the bid must be greater than 5. Note that face cards, although theyre all worth 10 points, follow the standard rank ordering for the purposes of determining direction: king &gt; queen &gt; jack &gt; 10.\n\nThe exception to the above rule is if an ace is added.  An ace resets the direction until two more cards are added that set the direction again.  For example, 4 -&gt; 8 -&gt; ace -&gt; 5 -&gt; 3.  You can also reverse the direction of the caravan if you place a card that is the same suit as the highest\/lowest card in that caravan.  For example, 4 clubs -&gt; 8 diamonds -&gt; 5 diamonds\n\nTo win, you must get all three caravans between 21 and 26 (inclusive).  If both players are within this range on a caravan set, that set is closed and cannot be modified.  The game is over when all three are closed, and the player with the most caravans won is the overall winner.  If you're over 26, you would need to discard the deck to be able to close that caravan.\n\n---\n\nThe general idea of what we need to do is have a class for the card, the deck, the players' hands,  the Caravan bids, and the actual client.  I've managed to do the Card and Deck classes myself, but I can't think of a general layout of how I should write out the player hands or caravan bids.  My general ideas at the moment are to add a add\/remove set of methods in PlayerHand, as well as a method to place a card into a caravan bid.  The CaravanBid method itself should just hold the cards that are placed via the PlayerHand method, while also checking for direction and adjusting when an ace is added.  But I just can't seem to work out how to put that in code.  Any help at all would be great - the best I can ask for is pseudocode outlining what I need to be doing.\n\nThanks in advance!","meta":"{'source': 'reddit_posts', 'id': 'lh71u', 'title': 'Trying to write a simplified version of Caravan in Java, but lost.', 'author': 'RequiemCOTF', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': \"So we have an assignment to write Caravan with Java using different objects, inheritance, etc.  I've been a bit lax in paying attention in class partly due to personal matters but mostly because I'm an idiot.\\n\\nIf you don't know what Caravan is, it's a card game from Fallout: New Vegas.  We aren't working with the entire game from NV, but rather a somewhat simplified version (It involves not handling certain rules regarding face cards - I haven't played Caravan, so I wouldn't know).  Here are the rules for Caravan (if you already know the game, you can disregard the below - it's quite lengthy):\\n\\n---\\n\\nEach player starts with a randomly-shuffled deck of 26 playing cards. The 26 cards are randomly selected from a standard deck of 52 cards.\\n Each player maintains a hand of cards and three stacks of cards representing their caravan bids on each of the three caravans. The caravan bids are initially empty, with a value of 0.\\n The game begins by having each player draw the top 5 cards from their deck into their hand.\\n Players alternate turns. During each players turn, s\/he can take one of four actions:\\n\\n1. Place any one card from his\/her hand onto one of his\/her caravan bids (subject to the rules below). When this is done, the player also draws the next card from the deck (if available) into his\/her hand.\\n\\n2. Replace any one card from his\/her hand with the next card from the deck (if available).\\n\\n3. Discard any one of his\/her caravan bids. This eliminates all cards currently in that bid from play, resetting the bids value to 0. The cards are permanently gone; they do not get placed back into the players deck or hand.\\n4. Surrender. This is fairly self-explanatory \\n\\nThere are several rules that govern how cards can be placed onto a caravan bid:\\n- Any card can be placed onto a caravan bid thats empty.\\n\\n- A caravan bid is considered full once it reaches 7 cards. If a player produces a full bid and is not happy with its value, s\/he must discard the entire bid and rebuild it.\\n\\n- A caravan bid can never contain two adjacent cards of the same rank. For example, if a player places an 8 into one caravan bid, the next card cannot be another 8.\\n\\n- Once two consecutive non-ace cards have been placed onto a caravan bid, the bid establishes a direction determined by the ranks of those cards. All future cards placed onto that bid must be consistent with the bids direction. For example, if a player places a 2 onto one caravan bid, followed by a 5, that bids direction is now up. The next card placed onto the bid must be greater than 5. Note that face cards, although theyre all worth 10 points, follow the standard rank ordering for the purposes of determining direction: king &gt; queen &gt; jack &gt; 10.\\n\\nThe exception to the above rule is if an ace is added.  An ace resets the direction until two more cards are added that set the direction again.  For example, 4 -&gt; 8 -&gt; ace -&gt; 5 -&gt; 3.  You can also reverse the direction of the caravan if you place a card that is the same suit as the highest\/lowest card in that caravan.  For example, 4 clubs -&gt; 8 diamonds -&gt; 5 diamonds\\n\\nTo win, you must get all three caravans between 21 and 26 (inclusive).  If both players are within this range on a caravan set, that set is closed and cannot be modified.  The game is over when all three are closed, and the player with the most caravans won is the overall winner.  If you're over 26, you would need to discard the deck to be able to close that caravan.\\n\\n---\\n\\nThe general idea of what we need to do is have a class for the card, the deck, the players' hands,  the Caravan bids, and the actual client.  I've managed to do the Card and Deck classes myself, but I can't think of a general layout of how I should write out the player hands or caravan bids.  My general ideas at the moment are to add a add\/remove set of methods in PlayerHand, as well as a method to place a card into a caravan bid.  The CaravanBid method itself should just hold the cards that are placed via the PlayerHand method, while also checking for direction and adjusting when an ace is added.  But I just can't seem to work out how to put that in code.  Any help at all would be great - the best I can ask for is pseudocode outlining what I need to be doing.\\n\\nThanks in advance!\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 3, 'created_utc': 1319002232}"}
{"id":"2011251","text":"Title: Is it possible to get an entry level job coming out of bootcamp?\nThe text below was posted in an online community called cscareerquestions in the year 2020:\n\nHello everyone! Im currently doing the Developer Track through Thinkful, Iam almost done with the program do I have a chance to get a remote job","meta":"{'source': 'reddit_posts', 'id': 'frar4v', 'title': 'Is it possible to get an entry level job coming out of bootcamp?', 'author': 'JerrBear2', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': 'Hello everyone! Im currently doing the Developer Track through Thinkful, Iam almost done with the program do I have a chance to get a remote job', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 10, 'created_utc': 1585507087}"}
{"id":"2198390","text":"Title: Remote Connecting to my Home Desktop Question\nThe text below was posted in an online community called windows8 in the year 2012:\n\nSo I bought a desktop from best buy (HP Envy H8-1414) with Windows 8 this weekend.  It was a rushed purchase as I wanted the surface pro when it came out, but thats a different story.  Lets just assume I wanted this computer with all my heart.\n\nMy question is will I be able to remote connect into this?  I know how to remote connect into my work computer but would like to go from my work computer to my home computer.  Is this something I will be able to do?  If so is it as easy as checking the \"allow remote connections to this device\" ?  \n\nThanks in advance for the help","meta":"{'source': 'reddit_posts', 'id': '15057k', 'title': 'Remote Connecting to my Home Desktop Question', 'author': 'turkeboi', 'subreddit': 'windows8', 'subreddit_id': '2s692', 'body': 'So I bought a desktop from best buy (HP Envy H8-1414) with Windows 8 this weekend.  It was a rushed purchase as I wanted the surface pro when it came out, but thats a different story.  Lets just assume I wanted this computer with all my heart.\\n\\nMy question is will I be able to remote connect into this?  I know how to remote connect into my work computer but would like to go from my work computer to my home computer.  Is this something I will be able to do?  If so is it as easy as checking the \"allow remote connections to this device\" ?  \\n\\nThanks in advance for the help', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 11, 'created_utc': 1355768080}"}
{"id":"148324","text":"Title: Am I hurting myself by saying \"That's easy\"?\nThe text below was posted in an online community called cscareerquestions in the year 2015:\n\nI don't always say it but I do say it when a task is easy \/ simple to handle \/ program. \n\nI said it a decent bit at my first job and I say it a lot when I am doing work on the side. It isn't that I am exaggerating the easiness of a task, it is just most tasks people ask for aren't that hard \/ involved. \n\nBut what I am wondering is whether I am actively hurting myself by saying something is easy. Am I setting the bar too high and making non-technical people believe that my work is easy and they can just keep throwing features in? \n\nI continue to have issues with non-technical people continuing to throw on more features because I presumably say their implementation would be easy. \n\nBasically: Should I stop with stating the ease of a task to reassure people of my skill and just do the task? Is \"under promise, over deliver\" a good motto to go by in terms of development? Is this is a bad sign of some sort (besides my inability to say no to some easy requests)?\n\nSorry if this is an inane question.","meta":"{'source': 'reddit_posts', 'id': '3npz4l', 'title': 'Am I hurting myself by saying \"That\\'s easy\"?', 'author': 'Madamelic', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': 'I don\\'t always say it but I do say it when a task is easy \/ simple to handle \/ program. \\n\\nI said it a decent bit at my first job and I say it a lot when I am doing work on the side. It isn\\'t that I am exaggerating the easiness of a task, it is just most tasks people ask for aren\\'t that hard \/ involved. \\n\\nBut what I am wondering is whether I am actively hurting myself by saying something is easy. Am I setting the bar too high and making non-technical people believe that my work is easy and they can just keep throwing features in? \\n\\nI continue to have issues with non-technical people continuing to throw on more features because I presumably say their implementation would be easy. \\n\\nBasically: Should I stop with stating the ease of a task to reassure people of my skill and just do the task? Is \"under promise, over deliver\" a good motto to go by in terms of development? Is this is a bad sign of some sort (besides my inability to say no to some easy requests)?\\n\\nSorry if this is an inane question.', 'body_is_trimmed': False, 'score': 12, 'over_18': False, 'num_comments': 21, 'created_utc': '1444147447'}"}
{"id":"971937","text":"Title: 5.4 -- npm run watch -- doesn't update?\nThe text below was posted in an online community called laravel in the year 2017:\n\nSo I installed 5.4 in a new project to check it out, one thing I've noticed is that when I run \"npm run watch\" it doesn't reflect the changes I make to the sass file; I have to run the watch \/ dev command again.\n\nPerhaps there is something I am missing? I am not getting any errors and it successfully compiles. \n\nMaybe I'm missing something?\n\nHas anyone else run into this issue?","meta":"{'source': 'reddit_posts', 'id': '5pznud', 'title': \"5.4 -- npm run watch -- doesn't update?\", 'author': 'TheArmandoV', 'subreddit': 'laravel', 'subreddit_id': '2uakt', 'body': 'So I installed 5.4 in a new project to check it out, one thing I\\'ve noticed is that when I run \"npm run watch\" it doesn\\'t reflect the changes I make to the sass file; I have to run the watch \/ dev command again.\\n\\nPerhaps there is something I am missing? I am not getting any errors and it successfully compiles. \\n\\nMaybe I\\'m missing something?\\n\\nHas anyone else run into this issue?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 8, 'created_utc': 1485300662}"}
{"id":"1404491","text":"Title: Docker bundle microservice\nThe text below was posted in an online community called docker in the year 2020:\n\nI am new to docker and struggle a bit with the idea on how to bundle my microservice. My application consists of front end code (react), backend code (node REST API) and a postgres DB which is queried in the backend. My question is now: How should I bundle these three components? Should the DB the frontend and the backend each be a separate docker container which are then launched and tied together with docker-compose or should all three be \"bundled\" as one docker container (in which case the docker-compose is only going to launch one container)?","meta":"{'source': 'reddit_posts', 'id': 'fbhgyu', 'title': 'Docker bundle microservice', 'author': 'bstefan96', 'subreddit': 'docker', 'subreddit_id': '2y00f', 'body': 'I am new to docker and struggle a bit with the idea on how to bundle my microservice. My application consists of front end code (react), backend code (node REST API) and a postgres DB which is queried in the backend. My question is now: How should I bundle these three components? Should the DB the frontend and the backend each be a separate docker container which are then launched and tied together with docker-compose or should all three be \"bundled\" as one docker container (in which case the docker-compose is only going to launch one container)?', 'body_is_trimmed': False, 'score': 11, 'over_18': False, 'num_comments': 17, 'created_utc': 1583003773}"}
{"id":"2299977","text":"Title: First personal legitimate Arduino Project: wireless temp\/humidity monitoring system\nThe text below was posted in an online community called arduino in the year 2014:\n\nI wanted to do something awesome with the Arduino platform, and decided on a wireless temp\/humidity system. I used a Sainsmart Uno, Arduino Nano, two NRF24L01 transceivers, a DHT11 sensor, and a 16x2 LCD screen. \n\nThe outside assembly (uno, sensor, transceiver) waits for a requestPacket byte (value of 99 randomly chosen), verifies its legitimacy, and obtains and sends back the data along with one of the DHT11 library's feedback codes (0 = good, -1 or -2 = not good, a value of -3 I defined as meaning the requestPacket byte was invalid i.e. not 99). The inside assembly (nano, LCD screen, and transceiver) receives and unpacks this packet, and if it's good, displays the data as long as the momentary switch is depressed (which I have not yet purchased, currently using an RC circuit to limit any input EMF). If the packet is bad, the inside assembly sends another packetRequest until it gets a good packet.\n\nI have not made a legit timeout function for this system. There is one in the code, but the way it's programmed even if it receives a timeout error, it'll display the message and immediately request another packet of data.\n\nAnyway please let me know of improvements I can make; I'm trying to get good at this whole DIY programming thing. [Pics here.](http:\/\/imgur.com\/a\/uxdWE) Will provide code if requested (no pun intended).","meta":"{'source': 'reddit_posts', 'id': '2iufen', 'title': 'First personal legitimate Arduino Project: wireless temp\/humidity monitoring system', 'author': 'angrypenguin625', 'subreddit': 'arduino', 'subreddit_id': '2qknj', 'body': \"I wanted to do something awesome with the Arduino platform, and decided on a wireless temp\/humidity system. I used a Sainsmart Uno, Arduino Nano, two NRF24L01 transceivers, a DHT11 sensor, and a 16x2 LCD screen. \\n\\nThe outside assembly (uno, sensor, transceiver) waits for a requestPacket byte (value of 99 randomly chosen), verifies its legitimacy, and obtains and sends back the data along with one of the DHT11 library's feedback codes (0 = good, -1 or -2 = not good, a value of -3 I defined as meaning the requestPacket byte was invalid i.e. not 99). The inside assembly (nano, LCD screen, and transceiver) receives and unpacks this packet, and if it's good, displays the data as long as the momentary switch is depressed (which I have not yet purchased, currently using an RC circuit to limit any input EMF). If the packet is bad, the inside assembly sends another packetRequest until it gets a good packet.\\n\\nI have not made a legit timeout function for this system. There is one in the code, but the way it's programmed even if it receives a timeout error, it'll display the message and immediately request another packet of data.\\n\\nAnyway please let me know of improvements I can make; I'm trying to get good at this whole DIY programming thing. [Pics here.](http:\/\/imgur.com\/a\/uxdWE) Will provide code if requested (no pun intended).\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 10, 'created_utc': '1412937425'}"}
{"id":"1424501","text":"Title: Review on minesweeper project\nThe text below was posted in an online community called learnpython in the year 2020:\n\nIn the past couple of weeks I have coded a minesweeper game as a way of practicing. The game uses pygame and numpy. This started out as a first try to create sprites, but later on I found the coding more interesting. I am looking for some critical review, as I feel like my code is very complicated at some points where it should not be. Are there any project review posts in this subreddit, or is there any other forum where this question may get better responses? I found codereview.stackexchange not very suited to my needs, since I do not have a clear question, or some specific lines of code to review.\n\nThe code can be found using the link below if anyone wants to have a osbornmary@example.org.\n\n[https:\/\/github.com\/PapiBert\/minesweeper](https:\/\/github.com\/PapiBert\/minesweeper)","meta":"{'source': 'reddit_posts', 'id': 'jez1f2', 'title': 'Review on minesweeper project', 'author': 'papi_bert', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': 'In the past couple of weeks I have coded a minesweeper game as a way of practicing. The game uses pygame and numpy. This started out as a first try to create sprites, but later on I found the coding more interesting. I am looking for some critical review, as I feel like my code is very complicated at some points where it should not be. Are there any project review posts in this subreddit, or is there any other forum where this question may get better responses? I found codereview.stackexchange not very suited to my needs, since I do not have a clear question, or some specific lines of code to review.\\n\\nThe code can be found using the link below if anyone wants to have a look at it.\\n\\n[https:\/\/github.com\/PapiBert\/minesweeper](https:\/\/github.com\/PapiBert\/minesweeper)', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 0, 'created_utc': 1603229190}"}
{"id":"1675390","text":"Title: Finding all factors of any number algorithm\nThe text below was posted in an online community called learnpython in the year 2014:\n\nI wanted to find the factors of any number in python and I read somewhere that this is one of the best ways to do so, but I have no clue what it does.\n\ndef factors(n):    \n    return set(reduce(list.__add__, ([i, n\/\/i] for i in range(1, int(n**0.5) + 1) if n % i == 0)))\n\nI'm a beginner and I don't understand any of it, so if someone could help me explain this code that would be greatly appreciated.","meta":"{'source': 'reddit_posts', 'id': '2c1zm0', 'title': 'Finding all factors of any number algorithm', 'author': 'Aarshyboy', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': \"I wanted to find the factors of any number in python and I read somewhere that this is one of the best ways to do so, but I have no clue what it does.\\n\\ndef factors(n):    \\n    return set(reduce(list.__add__, ([i, n\/\/i] for i in range(1, int(n**0.5) + 1) if n % i == 0)))\\n\\nI'm a beginner and I don't understand any of it, so if someone could help me explain this code that would be greatly appreciated.\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 6, 'created_utc': '1406651490'}"}
{"id":"1758088","text":"Title: Base64 app in C++ not working on all files.\nThe text below was posted in an online community called learnprogramming in the year 2012:\n\nHey guys for the past couple of days I've interested in Base64 so I decided to make my own version of it. It currently works using text documents and they come out binary equal in kdiff but images, executables and binary files all end up corrupted. From what I can tell its happening before I decode the file, and the encoded file (output.txt) shows this.\n\nHere's my code, http:\/\/pastebin.com\/u8k9JvcK\n\nsorry for the rough state \/ lack of comments.\n\nAnyways any help would be much appreciated, thanks.","meta":"{'source': 'reddit_posts', 'id': 'xo7me', 'title': 'Base64 app in C++ not working on all files.', 'author': 'DkryptX', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': \"Hey guys for the past couple of days I've interested in Base64 so I decided to make my own version of it. It currently works using text documents and they come out binary equal in kdiff but images, executables and binary files all end up corrupted. From what I can tell its happening before I decode the file, and the encoded file (output.txt) shows this.\\n\\nHere's my code, http:\/\/pastebin.com\/u8k9JvcK\\n\\nsorry for the rough state \/ lack of comments.\\n\\nAnyways any help would be much appreciated, thanks.\", 'body_is_trimmed': False, 'score': 9, 'over_18': False, 'num_comments': 11, 'created_utc': 1344092603}"}
{"id":"1939978","text":"Title: Turned down job opportunity and kinda regretting it. Should I reach out?\nThe text below was posted in an online community called cscareerquestions in the year 2021:\n\nThe opening was only 5 minutes from home.  The salary was 10% lower but the lack of commuting costs more than made up for it (I currently drive 45 min\/miles each way).  \n\nI turned them down for a number of reasons (salary, some sketchy Indeed reviews about their management team - 2.2\/5, significantly higher insurance costs - extra $200 per month, older technology, 7am start time, losing almost 2 weeks of vacation time).  With that being said, it would have been nice to get rid of the commute especially with winter calling.  Plus there is no \"on call\".\n\nI sent an e-mail to the HR guy a couple weeks ago and he never got back to me.  I do have the manager's contact info.  Should I reach out to him directly or just forget about it?","meta":"{'source': 'reddit_posts', 'id': 'qj1591', 'title': 'Turned down job opportunity and kinda regretting it. Should I reach out?', 'author': 'nitro8124', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': 'The opening was only 5 minutes from home.  The salary was 10% lower but the lack of commuting costs more than made up for it (I currently drive 45 min\/miles each way).  \\n\\nI turned them down for a number of reasons (salary, some sketchy Indeed reviews about their management team - 2.2\/5, significantly higher insurance costs - extra $200 per month, older technology, 7am start time, losing almost 2 weeks of vacation time).  With that being said, it would have been nice to get rid of the commute especially with winter calling.  Plus there is no \"on call\".\\n\\nI sent an e-mail to the HR guy a couple weeks ago and he never got back to me.  I do have the manager\\'s contact info.  Should I reach out to him directly or just forget about it?', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 13, 'created_utc': 1635599294}"}
{"id":"637951","text":"Title: using a MacBook with the butterfly keyboard as my main machine for the first time\nThe text below was posted in an online community called mac in the year 2020:\n\nthe keyboard isn't that bad, I kind of like the feel of it and I can type on it faster than before. but the escape key on the touchbar, WHAT WERE THEY THINKING...","meta":"{'source': 'reddit_posts', 'id': 'iqmkm8', 'title': 'using a MacBook with the butterfly keyboard as my main machine for the first time', 'author': 'slower_wifi', 'subreddit': 'mac', 'subreddit_id': '2qh4u', 'body': \"the keyboard isn't that bad, I kind of like the feel of it and I can type on it faster than before. but the escape key on the touchbar, WHAT WERE THEY THINKING...\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 4, 'created_utc': 1599812524}"}
{"id":"1517978","text":"Title: I have a plug-in disabled but it's apparently still updating and it's overloading my site?\nThe text below was posted in an online community called webdev in the year 2021:\n\nI'm doing a manual backup of my Wordpress site and it seems like a vast majority of all the data is within the comet-cache folder. I checked on my plug-ins and it's been disabled for sometime, but when I check the Wordpress directory it's still updating from pages accessed minutes ago.\n\nThis doesn't make a whole lot of sense to me- is some other plug-in using it? I don't have any other cache plug-ins besides I think Auto-optimize. Does it stay activated until I completely delete it from my site?\n\nIn any case it seems like a good 60GB of data is entirely within the cache, I'd like to figure out how to clear it before I do manual backups. I've got 40,000 unique web pages that are generated via PHP calls and it looks like it's caching them all.","meta":"{'source': 'reddit_posts', 'id': 'q1rn4f', 'title': \"I have a plug-in disabled but it's apparently still updating and it's overloading my site?\", 'author': 'PeterPorky', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': \"I'm doing a manual backup of my Wordpress site and it seems like a vast majority of all the data is within the comet-cache folder. I checked on my plug-ins and it's been disabled for sometime, but when I check the Wordpress directory it's still updating from pages accessed minutes ago.\\n\\nThis doesn't make a whole lot of sense to me- is some other plug-in using it? I don't have any other cache plug-ins besides I think Auto-optimize. Does it stay activated until I completely delete it from my site?\\n\\nIn any case it seems like a good 60GB of data is entirely within the cache, I'd like to figure out how to clear it before I do manual backups. I've got 40,000 unique web pages that are generated via PHP calls and it looks like it's caching them all.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 5, 'created_utc': 1633420607}"}
{"id":"87977","text":"Title: Tips\/advices for a beginner who's already addicted.\nThe text below was posted in an online community called factorio in the year 2021:\n\nI started playing 4 hours ago and so far I'm having a blast playing this, turned out to be 4 hours non-stop of enjoyment and satisfaction. \n\nAlthough I can't get the feeling out of my head that I might be missing something or doing something wrong, since I'm 4 hours into the game and just began to make red science. I don't want to Google things because I'm afraid that some spoilers could ruin my experience, doing this completely blind room.  \n\n\nSo, any tip or advice to make my trip down the road a little bit easier would be appreciated. Thanks in advance!","meta":"{'source': 'reddit_posts', 'id': 'n9idq1', 'title': \"Tips\/advices for a beginner who's already addicted.\", 'author': 'Nuclear_Jet', 'subreddit': 'factorio', 'subreddit_id': '2wabp', 'body': \"I started playing 4 hours ago and so far I'm having a blast playing this, turned out to be 4 hours non-stop of enjoyment and satisfaction. \\n\\nAlthough I can't get the feeling out of my head that I might be missing something or doing something wrong, since I'm 4 hours into the game and just began to make red science. I don't want to Google things because I'm afraid that some spoilers could ruin my experience, doing this completely blind room.  \\n\\n\\nSo, any tip or advice to make my trip down the road a little bit easier would be appreciated. Thanks in advance!\", 'body_is_trimmed': False, 'score': 14, 'over_18': False, 'num_comments': 58, 'created_utc': 1620686869}"}
{"id":"235760","text":"Title: Is the Apple Watch able to be configured so that the phone is set on Do Not Disturb but the watch set on mute?\nThe text below was posted in an online community called AppleWatch in the year 2016:\n\nI'm looking into the Apple Watch. During the work day, I have my phone scheduled to set to Do Not Disturb from 9-5 every day, so that it doesn't vibrate every time I get a notification or text message. Would I be able to keep my phone on Do Not Disturb, but have the watch set so that it will still tap me when I get a text or notification? Or does Do Not Disturb on the phone mean it has to be on the watch too?\n\nIf not, is there any other solution that will keep my phone silent, but allow the watch to tap me?","meta":"{'source': 'reddit_posts', 'id': '42868h', 'title': 'Is the Apple Watch able to be configured so that the phone is set on Do Not Disturb but the watch set on mute?', 'author': 'theshankm', 'subreddit': 'AppleWatch', 'subreddit_id': '2wav7', 'body': \"I'm looking into the Apple Watch. During the work day, I have my phone scheduled to set to Do Not Disturb from 9-5 every day, so that it doesn't vibrate every time I get a notification or text message. Would I be able to keep my phone on Do Not Disturb, but have the watch set so that it will still tap me when I get a text or notification? Or does Do Not Disturb on the phone mean it has to be on the watch too?\\n\\nIf not, is there any other solution that will keep my phone silent, but allow the watch to tap me?\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 10, 'created_utc': 1453504572}"}
{"id":"786750","text":"Title: Quiet hours ?\nThe text below was posted in an online community called Windows10 in the year 2015:\n\nwell im going to ask here since i know how to find the settings on my windows 10 mobile cortana is taking care of them but what about the PC version is there any way i can set Quiet hours","meta":"{'source': 'reddit_posts', 'id': '3i6kjw', 'title': 'Quiet hours ?', 'author': 'AneTheDust', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': 'well im going to ask here since i know how to find the settings on my windows 10 mobile cortana is taking care of them but what about the PC version is there any way i can set Quiet hours', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 3, 'created_utc': '1440407992'}"}
{"id":"1127900","text":"Title: Output Buffering - Where do I put the custom post processing function?\nThe text below was posted in an online community called PHPhelp in the year 2011:\n\nOkay, so here's my code:\nhttp:\/\/pastebin.com\/8tutrmFR\n\nWhat I'm trying to work out is where to put the obReplaceVars function so that it works. I've tried making it a method of the Application class, but that didn't work. \n\nHelp would be greatly appreciated :)","meta":"{'source': 'reddit_posts', 'id': 'hsrqg', 'title': 'Output Buffering - Where do I put the custom post processing function?', 'author': 'timtamboy63', 'subreddit': 'PHPhelp', 'subreddit_id': '2rhbw', 'body': \"Okay, so here's my code:\\nhttp:\/\/pastebin.com\/8tutrmFR\\n\\nWhat I'm trying to work out is where to put the obReplaceVars function so that it works. I've tried making it a method of the Application class, but that didn't work. \\n\\nHelp would be greatly appreciated :)\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1307359741}"}
{"id":"1180320","text":"Title: Help identifying colorscheme\nThe text below was posted in an online community called neovim in the year 2021:\n\nDoes anybody know the name of the colorscheme used in the README of [nvim-lua\/lsp\\_extensions.nvim](https:\/\/github.com\/nvim-lua\/lsp_extensions.nvim) to showcase inlay-hints using rust-analyzer?\n\nhttps:\/\/preview.redd.it\/w11k4p2rkli61.png?width=1572&amp;format=png&amp;auto=webp&amp;s=bf4f3ff9d6a50af566fa971c061693005b47cbb7","meta":"{'source': 'reddit_posts', 'id': 'lo2yrj', 'title': 'Help identifying colorscheme', 'author': 'Allike', 'subreddit': 'neovim', 'subreddit_id': '30kix', 'body': 'Does anybody know the name of the colorscheme used in the README of [nvim-lua\/lsp\\\\_extensions.nvim](https:\/\/github.com\/nvim-lua\/lsp_extensions.nvim) to showcase inlay-hints using rust-analyzer?\\n\\nhttps:\/\/preview.redd.it\/w11k4p2rkli61.png?width=1572&amp;format=png&amp;auto=webp&amp;s=bf4f3ff9d6a50af566fa971c061693005b47cbb7', 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 3, 'created_utc': 1613810427}"}
{"id":"1126059","text":"Title: Resources for automated causal inference?\nThe text below was posted in an online community called datascience in the year 2017:\n\nHi,\n\nI have been searching for a while and decided to ask the community about automated causal inference. Specifically, I would like resources or suggested approaches to automating the links in a causal graph using nonparametric methods (e.g. Structural Equation Modeling \/ Pearl Causality)\n\nThank you for any information!","meta":"{'source': 'reddit_posts', 'id': '6gvny2', 'title': 'Resources for automated causal inference?', 'author': 'datavis', 'subreddit': 'datascience', 'subreddit_id': '2sptq', 'body': 'Hi,\\n\\nI have been searching for a while and decided to ask the community about automated causal inference. Specifically, I would like resources or suggested approaches to automating the links in a causal graph using nonparametric methods (e.g. Structural Equation Modeling \/ Pearl Causality)\\n\\nThank you for any information!', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 1, 'created_utc': 1497306275}"}
{"id":"1412779","text":"Title: Programmers in r\/apple, what SSH client should I get for my iPad Pro 10.5in?\nThe text below was posted in an online community called apple in the year 2017:\n\nJust got the new iPad Pro 10.5in and as this is going to be a device I take everywhere with me, Id like for it to have some kind of SSH client so I can do work on the go if needed. Im not looking to jailbreak this device either. I also have a MacBook Pro 2016 tb but this device is just so much more light and convenient.","meta":"{'source': 'reddit_posts', 'id': '6q1eq7', 'title': 'Programmers in r\/apple, what SSH client should I get for my iPad Pro 10.5in?', 'author': 'Alcas', 'subreddit': 'apple', 'subreddit_id': '2qh1f', 'body': 'Just got the new iPad Pro 10.5in and as this is going to be a device I take everywhere with me, Id like for it to have some kind of SSH client so I can do work on the go if needed. Im not looking to jailbreak this device either. I also have a MacBook Pro 2016 tb but this device is just so much more light and convenient.', 'body_is_trimmed': False, 'score': 38, 'over_18': False, 'num_comments': 52, 'created_utc': 1501214935}"}
{"id":"348311","text":"Title: Photo booth and iMovie won't record!\nThe text below was posted in an online community called mac in the year 2021:\n\n**SOLUTION**: Update your mac to the latest software.\n\n&amp;#x200B;\n\nI am trying to record a video on Photo Booth, but whenever I try to record, it freezes when the countdown starts. After I \"record\" this shows up:\n\nhttps:\/\/preview.redd.it\/wcuy9z89mjo71.png?width=1430&amp;format=png&amp;auto=webp&amp;s=26dda1ce5fa528de9b35beeaa9673d4503ca2913\n\nI've been able to record before (after having this same issue) but i can't remember how. Is there anything I can do to fix it?\n\nmy mac is a Macbook Air\n\n\\*iMovie isn't working either. When I record, the screen is black and when I finish no media file pops up in my project\\*","meta":"{'source': 'reddit_posts', 'id': 'priulp', 'title': \"Photo booth and iMovie won't record!\", 'author': 'CocoissoKawaii', 'subreddit': 'mac', 'subreddit_id': '2qh4u', 'body': '**SOLUTION**: Update your mac to the latest software.\\n\\n&amp;#x200B;\\n\\nI am trying to record a video on Photo Booth, but whenever I try to record, it freezes when the countdown starts. After I \"record\" this shows up:\\n\\nhttps:\/\/preview.redd.it\/wcuy9z89mjo71.png?width=1430&amp;format=png&amp;auto=webp&amp;s=26dda1ce5fa528de9b35beeaa9673d4503ca2913\\n\\nI\\'ve been able to record before (after having this same issue) but i can\\'t remember how. Is there anything I can do to fix it?\\n\\nmy mac is a Macbook Air\\n\\n\\\\*iMovie isn\\'t working either. When I record, the screen is black and when I finish no media file pops up in my project\\\\*', 'body_is_trimmed': False, 'score': 12, 'over_18': False, 'num_comments': 29, 'created_utc': 1632093578}"}
{"id":"2433563","text":"Title: How to figure out if a graphics glitch is driver\/OS specific?\nThe text below was posted in an online community called GraphicsProgramming in the year 2018:\n\nI'm working on a video game using LibGDX as a sort of thin wrapper around OpenGL 3.3 core on desktop and OpenGL ES 3 on mobile. Last week I added shadows for point lights. To create my shadow map, I have a frame buffer cube which has only a depth attachment. I render my scene 6 times, once for each face of the cube, and then I render my scene from the point of view of the camera, using the depth cube to determine which fragments are in shadow and which are illuminated by my light. The shadows look as I'd expect them to look. The game seems to work as expected on my macbook pro and when I run my game on my Nexus 4 (Android phone). Edit: I just tried this on a friend's Windows machine and there's no flickering or other problems there, either. \n\nHowever, when I run the game on my Ubuntu 17.10 desktop, every once in a while (maybe once or twice a second) my game's graphics flicker as if a frame the color of the background is rendered. This happens at irregular intervals. At first I thought maybe occasionally a frame was taking a long time to render but I have code to check when the time between frames exceeds some amount and the frame time never got worse than like 30ms (and those were infrequent). I inserted a sleep() call into my render method and if I sleep for 40ms every frame I don't see the potterfrances@example.net. I don't think the flickering is due to occasional long frame times.\n\nIf I don't render to my depth cube map (meaning I render the scene only once from the point of view of my camera), I don't see the flickering.\n\nGiven that this only happens on one of the 3 devices I've run my game on it seems like it might not be a bug in my code. Unfortunately, the smallest standalone program I have that reproduces the error is 700 lines of code (though, again, not on my mac or android). So my question is: what steps can I take to either convince myself this is a driver or hardware issue specific to my ubuntu desktop or to rule out that possibility?","meta":"{'source': 'reddit_posts', 'id': '7vj5wu', 'title': 'How to figure out if a graphics glitch is driver\/OS specific?', 'author': 'deckofgraphicscards', 'subreddit': 'GraphicsProgramming', 'subreddit_id': '36tba', 'body': \"I'm working on a video game using LibGDX as a sort of thin wrapper around OpenGL 3.3 core on desktop and OpenGL ES 3 on mobile. Last week I added shadows for point lights. To create my shadow map, I have a frame buffer cube which has only a depth attachment. I render my scene 6 times, once for each face of the cube, and then I render my scene from the point of view of the camera, using the depth cube to determine which fragments are in shadow and which are illuminated by my light. The shadows look as I'd expect them to look. The game seems to work as expected on my macbook pro and when I run my game on my Nexus 4 (Android phone). Edit: I just tried this on a friend's Windows machine and there's no flickering or other problems there, either. \\n\\nHowever, when I run the game on my Ubuntu 17.10 desktop, every once in a while (maybe once or twice a second) my game's graphics flicker as if a frame the color of the background is rendered. This happens at irregular intervals. At first I thought maybe occasionally a frame was taking a long time to render but I have code to check when the time between frames exceeds some amount and the frame time never got worse than like 30ms (and those were infrequent). I inserted a sleep() call into my render method and if I sleep for 40ms every frame I don't see the flickering at all. I don't think the flickering is due to occasional long frame times.\\n\\nIf I don't render to my depth cube map (meaning I render the scene only once from the point of view of my camera), I don't see the flickering.\\n\\nGiven that this only happens on one of the 3 devices I've run my game on it seems like it might not be a bug in my code. Unfortunately, the smallest standalone program I have that reproduces the error is 700 lines of code (though, again, not on my mac or android). So my question is: what steps can I take to either convince myself this is a driver or hardware issue specific to my ubuntu desktop or to rule out that possibility?\", 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 12, 'created_utc': 1517874535}"}
{"id":"1360566","text":"Title: LCD screen swap and play add on support board for raspberry pi\nThe text below was posted in an online community called raspberry_pi in the year 2014:\n\n12 days left on kickstarter for a raspberry pi add on board that allows you to plug in and use LCD displays. The kickstarter comes with options of no LCD so you can use what you already have, 16x2 and 20x4.\n\nIt's 67% funded and needs your support, https:\/\/www.kickstarter.com\/projects\/1059145052\/mypifi-lcd-board-support","meta":"{'source': 'reddit_posts', 'id': '2gjmvg', 'title': 'LCD screen swap and play add on support board for raspberry pi', 'author': 'Mypifi', 'subreddit': 'raspberry_pi', 'subreddit_id': '2syto', 'body': \"12 days left on kickstarter for a raspberry pi add on board that allows you to plug in and use LCD displays. The kickstarter comes with options of no LCD so you can use what you already have, 16x2 and 20x4.\\n\\nIt's 67% funded and needs your support, https:\/\/www.kickstarter.com\/projects\/1059145052\/mypifi-lcd-board-support\", 'body_is_trimmed': False, 'score': 9, 'over_18': False, 'num_comments': 1, 'created_utc': '1410859390'}"}
{"id":"927248","text":"Title: Anyone know of a good tutorial for migrating to IPV6?\nThe text below was posted in an online community called aws in the year 2017:\n\nI really don't like the way the AWS docs explain things and I'm currently stuck at `Step 5: Change Your Instance Type` from [this AWS guide to do so](http:\/\/docs.aws.amazon.com\/AmazonVPC\/latest\/UserGuide\/vpc-migrate-ipv6.html#vpc-migrate-ipv6-cidr).\n\nJust to explain my problem better:  \n\n\nAt the moment, I've done the following:\n\n* added a IPV6 CIDR block to my VPC\n* created an Egress-Only Internet Gateway\n* updated my Route Tables\n* updated my security group\n\n(to be clear, I understand very little what thes things mean)\n\nThe thing is I cannot comprehend if my instance type supports IPV6 or not. I have several machines that work together, the front-end which I believe will be more (only?) impacted by the IPV6 change is a T2.medium, the worker machine is also a T2.medium but the database is a M3.large.\n\nBut if anyone knows of a more clear document or article that runs through this process, I'm all ears.","meta":"{'source': 'reddit_posts', 'id': '5vjn4p', 'title': 'Anyone know of a good tutorial for migrating to IPV6?', 'author': 'import-antigravity', 'subreddit': 'aws', 'subreddit_id': '2qh84', 'body': \"I really don't like the way the AWS docs explain things and I'm currently stuck at `Step 5: Change Your Instance Type` from [this AWS guide to do so](http:\/\/docs.aws.amazon.com\/AmazonVPC\/latest\/UserGuide\/vpc-migrate-ipv6.html#vpc-migrate-ipv6-cidr).\\n\\nJust to explain my problem better:  \\n\\n\\nAt the moment, I've done the following:\\n\\n* added a IPV6 CIDR block to my VPC\\n* created an Egress-Only Internet Gateway\\n* updated my Route Tables\\n* updated my security group\\n\\n(to be clear, I understand very little what thes things mean)\\n\\nThe thing is I cannot comprehend if my instance type supports IPV6 or not. I have several machines that work together, the front-end which I believe will be more (only?) impacted by the IPV6 change is a T2.medium, the worker machine is also a T2.medium but the database is a M3.large.\\n\\nBut if anyone knows of a more clear document or article that runs through this process, I'm all ears.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 11, 'created_utc': 1487780960}"}
{"id":"1093481","text":"Title: What's the first thing to consider when writing a compiler\/interpreter?\nThe text below was posted in an online community called learnprogramming in the year 2010:\n\nSo I think I'm a pretty decent programmer, but I've felt stagnant lately, probably because I'm attached to The Project That Never Dies.  Seriously, we've been working on the same printer for almost 4 years now.  Every time it gets to the point that it works reliably at customer sites, something happens to the hardware that requires a major redesign, which makes me (the lead programmer) spend the next six weeks waking up with a sore jaw from grinding my teeth while I sleep.\n\nAhem.\n\nTo that end, I decided I'd like to write a Lisp compiler\/interpreter to learn on, but I didn't take a compiler course in college, so I don't know what the beginning is supposed to be.  I decided that trying to write something that follows the Common Lisp spec would be foolishness that even *I* wouldn't consider, and I don't know enough about Scheme to take a andersonvalerie@example.com.  So I decided that I wanted to implement the absolute fewest number of things necessary to make a Lisp, which are (I think):\n\n1.  Attach a variable or constant value to a name.\n2.  Define a function, then attach it to a name.\n3.  Evaluate a conditional statement.\n4.  Evaluate a list of symbols.\n5.  Call a function with any number of arguments.\n\nI think that's enough to start with, and there are several things I can think of to do afterward (lambdas, for example).\n\nMy first thought is that I'd need a lexer\/parser, but I have absolutely no idea how to use flex\/bison, and the docs aren't exactly enlightening.  Anybody have something a little less intimidating?","meta":"{'source': 'reddit_posts', 'id': 'dmqa8', 'title': \"What's the first thing to consider when writing a compiler\/interpreter?\", 'author': 'doomchild', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': \"So I think I'm a pretty decent programmer, but I've felt stagnant lately, probably because I'm attached to The Project That Never Dies.  Seriously, we've been working on the same printer for almost 4 years now.  Every time it gets to the point that it works reliably at customer sites, something happens to the hardware that requires a major redesign, which makes me (the lead programmer) spend the next six weeks waking up with a sore jaw from grinding my teeth while I sleep.\\n\\nAhem.\\n\\nTo that end, I decided I'd like to write a Lisp compiler\/interpreter to learn on, but I didn't take a compiler course in college, so I don't know what the beginning is supposed to be.  I decided that trying to write something that follows the Common Lisp spec would be foolishness that even *I* wouldn't consider, and I don't know enough about Scheme to take a shot at it.  So I decided that I wanted to implement the absolute fewest number of things necessary to make a Lisp, which are (I think):\\n\\n1.  Attach a variable or constant value to a name.\\n2.  Define a function, then attach it to a name.\\n3.  Evaluate a conditional statement.\\n4.  Evaluate a list of symbols.\\n5.  Call a function with any number of arguments.\\n\\nI think that's enough to start with, and there are several things I can think of to do afterward (lambdas, for example).\\n\\nMy first thought is that I'd need a lexer\/parser, but I have absolutely no idea how to use flex\/bison, and the docs aren't exactly enlightening.  Anybody have something a little less intimidating?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 6, 'created_utc': 1286218169}"}
{"id":"533947","text":"Title: Why does st888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4endl flush the buffer?\nThe text below was posted in an online community called Cplusplus in the year 2022:\n\nIve been looking into writing highly optimized code and came across someone saying you should just use a newline character for certain cases because of time expensive buffer flushes due to st888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4endl. I looked online and it said that the buffer flushes to write to a file\/ change something from temporary memory to permanent and I guess I dont really see where\/why that happens when youd like to print something. If anyone knows it would be appreciated, thanks!","meta":"{'source': 'reddit_posts', 'id': 'xagi4e', 'title': 'Why does std::endl flush the buffer?', 'author': 'Peyotedesertman', 'subreddit': 'Cplusplus', 'subreddit_id': '2qh6x', 'body': 'Ive been looking into writing highly optimized code and came across someone saying you should just use a newline character for certain cases because of time expensive buffer flushes due to std::endl. I looked online and it said that the buffer flushes to write to a file\/ change something from temporary memory to permanent and I guess I dont really see where\/why that happens when youd like to print something. If anyone knows it would be appreciated, thanks!', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 11, 'created_utc': 1662785922}"}
{"id":"2420793","text":"Title: Nvidia Recommended driver issue (mint)\nThe text below was posted in an online community called linux4noobs in the year 2017:\n\nThe recommended driver for the gtx 750 ti causes my desktop to lack a taskbar\/menu and any desktop icons. \n\nCurrently I am using the nouveau driver, which works fine. However I heard it isnt too good when it comes to gaming performance. Any help would be appreciated.","meta":"{'source': 'reddit_posts', 'id': '7m8l1k', 'title': 'Nvidia Recommended driver issue (mint)', 'author': '123Procrastinator123', 'subreddit': 'linux4noobs', 'subreddit_id': '2qy7t', 'body': 'The recommended driver for the gtx 750 ti causes my desktop to lack a taskbar\/menu and any desktop icons. \\n\\nCurrently I am using the nouveau driver, which works fine. However I heard it isnt too good when it comes to gaming performance. Any help would be appreciated.', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 3, 'created_utc': 1514304944}"}
{"id":"684422","text":"Title: Call for Haskell.org Committee Nominations\nThe text below was posted in an online community called haskell in the year 2021:\n\nJoin Haskell.org Committee! The Comitte is waiting for your or\/and your friend nomination: [https:\/\/discourse.haskell.org\/t\/call-for-haskell-org-committee-nominations\/3758](https:\/\/discourse.haskell.org\/t\/call-for-haskell-org-committee-nominations\/3758)","meta":"{'source': 'reddit_posts', 'id': 'r5lej8', 'title': 'Call for Haskell.org Committee Nominations', 'author': 'IdaBzo', 'subreddit': 'haskell', 'subreddit_id': '2qh36', 'body': 'Join Haskell.org Committee! The Comitte is waiting for your or\/and your friend nomination: [https:\/\/discourse.haskell.org\/t\/call-for-haskell-org-committee-nominations\/3758](https:\/\/discourse.haskell.org\/t\/call-for-haskell-org-committee-nominations\/3758)', 'body_is_trimmed': False, 'score': 21, 'over_18': False, 'num_comments': 0, 'created_utc': 1638272182}"}
{"id":"1051119","text":"Title: What is Google's commercial incentive for UA-CH?\nThe text below was posted in an online community called webdev in the year 2021:\n\nWhen Google does good, it appears not to be out of their hearts or good will, but for some hidden commercial benefit, and that apparent good will is just a side effect. This is not meant as vilification, just a humble observation.\n\nThis time, Google claims their brand new [UA-CH](https:\/\/web.dev\/migrate-to-ua-ch\/) is intended to protect user privacy, which seems quite hypocritical regarding their demand of credit card or identity card for age verification on YouTube in some countries ([article](https:\/\/tekdeeps.com\/why-youtube-may-ask-for-your-id-to-verify-your-age\/)). \n\nSorry, Google, but many people rightfully do not wish to disclose their real-life identities to an advertising company. This new YouTube restriction is **blatantly** anti-privacy.  \n\nSo what is the incentive behind Google's new UA-CH invention? Possibly a marketing stunt?","meta":"{'source': 'reddit_posts', 'id': 'r4cqc4', 'title': \"What is Google's commercial incentive for UA-CH?\", 'author': 'ThrowAway237s', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': \"When Google does good, it appears not to be out of their hearts or good will, but for some hidden commercial benefit, and that apparent good will is just a side effect. This is not meant as vilification, just a humble observation.\\n\\nThis time, Google claims their brand new [UA-CH](https:\/\/web.dev\/migrate-to-ua-ch\/) is intended to protect user privacy, which seems quite hypocritical regarding their demand of credit card or identity card for age verification on YouTube in some countries ([article](https:\/\/tekdeeps.com\/why-youtube-may-ask-for-your-id-to-verify-your-age\/)). \\n\\nSorry, Google, but many people rightfully do not wish to disclose their real-life identities to an advertising company. This new YouTube restriction is **blatantly** anti-privacy.  \\n\\nSo what is the incentive behind Google's new UA-CH invention? Possibly a marketing stunt?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 3, 'created_utc': 1638129164}"}
{"id":"1034414","text":"Title: [BASH] How do I pass in a variable inside a string?\nThe text below was posted in an online community called commandline in the year 2015:\n\nHi there\nLet's say I have a variable, FILE=newfilename.png and I want to pass it into the following command as $FILE\n\n-F \"ibell@example.org\"\n\nHow do I do that? \n\n-F \"pic=$FILE\" does not work as it is inside the quotes","meta":"{'source': 'reddit_posts', 'id': '331l49', 'title': '[BASH] How do I pass in a variable inside a string?', 'author': 'amitherehmm', 'subreddit': 'commandline', 'subreddit_id': '2s4oq', 'body': 'Hi there\\nLet\\'s say I have a variable, FILE=newfilename.png and I want to pass it into the following command as $FILE\\n\\n-F \"pic=@filename.png\"\\n\\nHow do I do that? \\n\\n-F \"pic=$FILE\" does not work as it is inside the quotes', 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 7, 'created_utc': '1429376746'}"}
{"id":"466840","text":"Title: Is there a way to auto complete html tags inside a python file, sorta like how you use EJS to write html in a javascript file? well, I guess technically an ejs file.\nThe text below was posted in an online community called djangolearning in the year 2020:\n\nThis is really the first day of me beginning to learn Django, and I haven't used that much html, but figured I'd ask right away, since not having auto complete can be a bit of a pain.","meta":"{'source': 'reddit_posts', 'id': 'jvooj4', 'title': 'Is there a way to auto complete html tags inside a python file, sorta like how you use EJS to write html in a javascript file? well, I guess technically an ejs file.', 'author': 'zolavt', 'subreddit': 'djangolearning', 'subreddit_id': '366us', 'body': \"This is really the first day of me beginning to learn Django, and I haven't used that much html, but figured I'd ask right away, since not having auto complete can be a bit of a pain.\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 6, 'created_utc': 1605597304}"}
{"id":"2368844","text":"Title: TRAMP and Auto-complete\/linting\nThe text below was posted in an online community called emacs in the year 2017:\n\nNew emacs (well, spacemacs) user, and I have a bit of a dilemma. What originally made me want to use emacs was Tramp, since I work almost exclusively in c++ on a remote server.\n\nMy problem: I need some type of auto complete and linting while editing a file via TRAMP, but the remote server does not have clang installed (I don't have root privileges). Any ideas on how to get auto-complete\/linting working?\n\nThanks!\n\nEdit: currently using company-mode for auto complete, but I'd be open to anything.","meta":"{'source': 'reddit_posts', 'id': '7e2r0a', 'title': 'TRAMP and Auto-complete\/linting', 'author': 'RunSlightBanana', 'subreddit': 'emacs', 'subreddit_id': '2qhwu', 'body': \"New emacs (well, spacemacs) user, and I have a bit of a dilemma. What originally made me want to use emacs was Tramp, since I work almost exclusively in c++ on a remote server.\\n\\nMy problem: I need some type of auto complete and linting while editing a file via TRAMP, but the remote server does not have clang installed (I don't have root privileges). Any ideas on how to get auto-complete\/linting working?\\n\\nThanks!\\n\\nEdit: currently using company-mode for auto complete, but I'd be open to anything.\", 'body_is_trimmed': False, 'score': 12, 'over_18': False, 'num_comments': 1, 'created_utc': 1511119208}"}
{"id":"744038","text":"Title: Does anyone actually like the TH monadic helper library?\nThe text below was posted in an online community called haskell in the year 2022:\n\nThe \\`template-haskell\\` library has an enormous library of \"lower-case\" monadic helpers, things like this: [https:\/\/hackage.haskell.org\/package\/template-haskell-83.161.120.155\/docs\/Language-Haskell-TH-Lib.html#v:appE](https:\/\/hackage.haskell.org\/package\/template-haskell-83.161.120.155\/docs\/Language-Haskell-TH-Lib.html#v:appE)  \n\n\nThese are just the normal algebraic data types and functions lifted to work on monadic arguements. But... why? We don't do this for any other monad, and modern Haskellers are perfectly comfortable writing \\`AppE &lt;$&gt; x &lt;\\*&gt; y\\` rather than \\`appE x y\\`. And it's quite expensive - you have a huge module that duplicates every single function in this form, and it leads to downstream confusion as people use the two styles inconsistently.\n\nI think the reason for this existing may just be historical: this style was introduced in the TH paper in 2002, and applicatives weren't popularised until 2008. But they very much are popular now, so maybe we should deprecate it all and stop adding to it?","meta":"{'source': 'reddit_posts', 'id': 'w4cvv2', 'title': 'Does anyone actually like the TH monadic helper library?', 'author': 'bryjnar', 'subreddit': 'haskell', 'subreddit_id': '2qh36', 'body': 'The \\\\`template-haskell\\\\` library has an enormous library of \"lower-case\" monadic helpers, things like this: [https:\/\/hackage.haskell.org\/package\/template-haskell-2.18.0.0\/docs\/Language-Haskell-TH-Lib.html#v:appE](https:\/\/hackage.haskell.org\/package\/template-haskell-2.18.0.0\/docs\/Language-Haskell-TH-Lib.html#v:appE)  \\n\\n\\nThese are just the normal algebraic data types and functions lifted to work on monadic arguements. But... why? We don\\'t do this for any other monad, and modern Haskellers are perfectly comfortable writing \\\\`AppE &lt;$&gt; x &lt;\\\\*&gt; y\\\\` rather than \\\\`appE x y\\\\`. And it\\'s quite expensive - you have a huge module that duplicates every single function in this form, and it leads to downstream confusion as people use the two styles inconsistently.\\n\\nI think the reason for this existing may just be historical: this style was introduced in the TH paper in 2002, and applicatives weren\\'t popularised until 2008. But they very much are popular now, so maybe we should deprecate it all and stop adding to it?', 'body_is_trimmed': False, 'score': 16, 'over_18': False, 'num_comments': 6, 'created_utc': 1658398077}"}
{"id":"1687841","text":"Title: Google I\/O 2019: Android Jetpack: Understand the CameraX Camera-Support Library\nThe text below was posted in an online community called androiddev in the year 2019:\n\n[https:\/\/events.google.com\/io\/schedule\/events\/8d400240-f31f-4ac2-bfab-f8347ef3ab3e](https:\/\/events.google.com\/io\/schedule\/events\/8d400240-f31f-4ac2-bfab-f8347ef3ab3e) \n\n&amp;#x200B;\n\nDo anyone notice Google would introduce camera support lib in the next Google I\/0 2019?","meta":"{'source': 'reddit_posts', 'id': 'b6h5rf', 'title': 'Google I\/O 2019: Android Jetpack: Understand the CameraX Camera-Support Library', 'author': 'anticafe', 'subreddit': 'androiddev', 'subreddit_id': '2r26y', 'body': '[https:\/\/events.google.com\/io\/schedule\/events\/8d400240-f31f-4ac2-bfab-f8347ef3ab3e](https:\/\/events.google.com\/io\/schedule\/events\/8d400240-f31f-4ac2-bfab-f8347ef3ab3e) \\n\\n&amp;#x200B;\\n\\nDo anyone notice Google would introduce camera support lib in the next Google I\/0 2019?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1553769272}"}
{"id":"2365802","text":"Title: Issue With Replace Function\nThe text below was posted in an online community called SQLServer in the year 2020:\n\nHey guys, I'm trying to cleanup some data in a staging table to be inserted into a DB (removing commas). To do this, I'm using the following statement:\n\n    UPDATE dbname\n    SET columnname = REPLACE(columnname, ',','');\n\nWhich is simple enough, and has worked fine in every other instance that I've needed to do this.\n\nFor this case though, it's executing the statement but failing to remove the commas.\n\nIs there a different way to go about this, or something I'm potentially overlooking?","meta":"{'source': 'reddit_posts', 'id': 'j83ws7', 'title': 'Issue With Replace Function', 'author': 'Dont_Do_Pixie_Dust', 'subreddit': 'SQLServer', 'subreddit_id': '2qlzx', 'body': \"Hey guys, I'm trying to cleanup some data in a staging table to be inserted into a DB (removing commas). To do this, I'm using the following statement:\\n\\n    UPDATE dbname\\n    SET columnname = REPLACE(columnname, ',','');\\n\\nWhich is simple enough, and has worked fine in every other instance that I've needed to do this.\\n\\nFor this case though, it's executing the statement but failing to remove the commas.\\n\\nIs there a different way to go about this, or something I'm potentially overlooking?\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 13, 'created_utc': 1602266392}"}
{"id":"724054","text":"Title: [2021 Day 25 Part 2] How does one solve part 2?\nThe text below was posted in an online community called adventofcode in the year 2021:\n\nMine just says I am missing 11 stars, but how do I solve it? There is not even an input box? I though initially it meant you need to solve all other challenges to get the 2nd star, but there are more people who got the 2nd star than people that solved day 25 part 2 than people who solved day 24 part 2, so thats not possible?\n\nSorry if I am issing something this is my first time doing AOC","meta":"{'source': 'reddit_posts', 'id': 'ro70x6', 'title': '[2021 Day 25 Part 2] How does one solve part 2?', 'author': 'chestck', 'subreddit': 'adventofcode', 'subreddit_id': '3b3wa', 'body': 'Mine just says I am missing 11 stars, but how do I solve it? There is not even an input box? I though initially it meant you need to solve all other challenges to get the 2nd star, but there are more people who got the 2nd star than people that solved day 25 part 2 than people who solved day 24 part 2, so thats not possible?\\n\\nSorry if I am issing something this is my first time doing AOC', 'body_is_trimmed': False, 'score': 10, 'over_18': False, 'num_comments': 3, 'created_utc': 1640426396}"}
{"id":"476198","text":"Title: I've made an extension for Atom, please tell me what you think\nThe text below was posted in an online community called webdev in the year 2015:\n\nI have been using sublime my entire life, but i wanted to try Atom, but there was this little tip that didnt let me make the change.\n\nWhen you autocomplete a snippet, it will add the semicolon to the end of the line and typing it will just \"type over\", but in atom it insert it giving you a double semicolon.\n\nSo, i think why dont i hack it? and [here it is](https:\/\/atom.io\/packages\/smart-tags)","meta":"{'source': 'reddit_posts', 'id': '3g761w', 'title': \"I've made an extension for Atom, please tell me what you think\", 'author': 'pudymody', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': 'I have been using sublime my entire life, but i wanted to try Atom, but there was this little tip that didnt let me make the change.\\n\\nWhen you autocomplete a snippet, it will add the semicolon to the end of the line and typing it will just \"type over\", but in atom it insert it giving you a double semicolon.\\n\\nSo, i think why dont i hack it? and [here it is](https:\/\/atom.io\/packages\/smart-tags)', 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 8, 'created_utc': '1438998015'}"}
{"id":"1514172","text":"Title: I FINALLY DID IT!\nThe text below was posted in an online community called archlinux in the year 2017:\n\nI installed arch by hand! No more Antergos, no more Arch Anywhree, full on, hands only! Fucking hell that was easy.","meta":"{'source': 'reddit_posts', 'id': '6cdoti', 'title': 'I FINALLY DID IT!', 'author': 'TheDevilAndMrJones', 'subreddit': 'archlinux', 'subreddit_id': '2qrzu', 'body': 'I installed arch by hand! No more Antergos, no more Arch Anywhree, full on, hands only! Fucking hell that was easy.', 'body_is_trimmed': False, 'score': 127, 'over_18': False, 'num_comments': 61, 'created_utc': 1495325845}"}
{"id":"1777503","text":"Title: Trying to maximize my usage of desk space real estate around me to work more efficiently. What things (e.g. a giant SQL\/Python cheat-sheet pasted on the wall infront of you) do you keep in your proximity to improve your work more efficiently.\nThe text below was posted in an online community called datascience in the year 2020:\n\nProbably going to be one of the more unorthodox threads to come up here!\n\nBut I went from using a single monitor to dual monitors a couple of months ago and now I'll *never* doubt the influence on your efficiency your work set-up can have!\n\nCurious to hear about anything anyone has to say on this.","meta":"{'source': 'reddit_posts', 'id': 'fo9bzi', 'title': 'Trying to maximize my usage of desk space real estate around me to work more efficiently. What things (e.g. a giant SQL\/Python cheat-sheet pasted on the wall infront of you) do you keep in your proximity to improve your work more efficiently.', 'author': 'Lostwhispers05', 'subreddit': 'datascience', 'subreddit_id': '2sptq', 'body': \"Probably going to be one of the more unorthodox threads to come up here!\\n\\nBut I went from using a single monitor to dual monitors a couple of months ago and now I'll *never* doubt the influence on your efficiency your work set-up can have!\\n\\nCurious to hear about anything anyone has to say on this.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1585071642}"}
{"id":"833983","text":"Title: \/r\/webdev Who is hiring? (November 2014)\nThe text below was posted in an online community called webdev in the year 2014:\n\nPlease lead with the location of the position and include the keywords INTERN, REMOTE, or H1B if the corresponding sort of candidate is welcome. Feel free to post any job that may interest \/r\/webdev readers from executive assistant to machine learning expert to CTO.","meta":"{'source': 'reddit_posts', 'id': '2l5mjm', 'title': '\/r\/webdev Who is hiring? (November 2014)', 'author': 'marketingadvice8', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': 'Please lead with the location of the position and include the keywords INTERN, REMOTE, or H1B if the corresponding sort of candidate is welcome. Feel free to post any job that may interest \/r\/webdev readers from executive assistant to machine learning expert to CTO.', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 3, 'created_utc': '1415022345'}"}
{"id":"2123773","text":"Title: Is it safe to put React on my resume after completing 20 hr tutorial \/ building projects?\nThe text below was posted in an online community called learnprogramming in the year 2021:\n\nHey guys,\n\nI'm a junior full stack dev currently working with .NET \/ C# as well as typical front end tech ( HTML, CSS, JS \/ Jquery). I currently have about a year and a half worth of experience and I'm trying to land a React front end developer job and kinda step away from the backend portion of my career until I feel like I've improved enough in terms of programming skills. I know React is super hot and I've been doing small projects \/ lessons and I absolutely love what it has to offer and how it works. I am currently going through CodeCademy's React lessons as well as going over [FreeCodeCamps Full React Course 2020](https:\/\/www.youtube.com\/watch?v=4UZrsTqkcW4&amp;list=PLv46TZB5EbnsMwOr1QbvSOhIcjpg08mu8&amp;index=1&amp;t=2353s) which is 10 hours long going over the fundamentals. I will then go over the [building 15 React projects](https:\/\/www.youtube.com\/watch?v=a_7Z7C_JCyo&amp;list=PLv46TZB5EbnsMwOr1QbvSOhIcjpg08mu8&amp;index=2) to cement my knowledge and get better with React in general\n\nAfter all of this, would it be safe to put React.js on my resume in hopes of landing a junior React developer \/ Front end developer job?\n\nAny advice would be greatly appreciated.  \nThank you!","meta":"{'source': 'reddit_posts', 'id': 'l0x6ww', 'title': 'Is it safe to put React on my resume after completing 20 hr tutorial \/ building projects?', 'author': 'lethalsid', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': \"Hey guys,\\n\\nI'm a junior full stack dev currently working with .NET \/ C# as well as typical front end tech ( HTML, CSS, JS \/ Jquery). I currently have about a year and a half worth of experience and I'm trying to land a React front end developer job and kinda step away from the backend portion of my career until I feel like I've improved enough in terms of programming skills. I know React is super hot and I've been doing small projects \/ lessons and I absolutely love what it has to offer and how it works. I am currently going through CodeCademy's React lessons as well as going over [FreeCodeCamps Full React Course 2020](https:\/\/www.youtube.com\/watch?v=4UZrsTqkcW4&amp;list=PLv46TZB5EbnsMwOr1QbvSOhIcjpg08mu8&amp;index=1&amp;t=2353s) which is 10 hours long going over the fundamentals. I will then go over the [building 15 React projects](https:\/\/www.youtube.com\/watch?v=a_7Z7C_JCyo&amp;list=PLv46TZB5EbnsMwOr1QbvSOhIcjpg08mu8&amp;index=2) to cement my knowledge and get better with React in general\\n\\nAfter all of this, would it be safe to put React.js on my resume in hopes of landing a junior React developer \/ Front end developer job?\\n\\nAny advice would be greatly appreciated.  \\nThank you!\", 'body_is_trimmed': False, 'score': 11, 'over_18': False, 'num_comments': 11, 'created_utc': 1611101965}"}
{"id":"192464","text":"Title: Iphone comparing library\nThe text below was posted in an online community called osx in the year 2019:\n\nHey\nIs there an easy way to compare library from IPHOTO other then folder by folder in finder ?\n\nMy mom's seem to have like 3 or 5 copy of the possible library but overtime there some difference. Only way she find is filder by folder. I'm more techsavy then she is (i use Windows and linux) but i'm not really familiar with MD5 programm or stuff like that. I can use command line if necessary but prefer GUI program\n\nEdit : iphone correctes for iPhoto","meta":"{'source': 'reddit_posts', 'id': 'cnqmuy', 'title': 'Iphone comparing library', 'author': 'Membership89', 'subreddit': 'osx', 'subreddit_id': '2qh3j', 'body': \"Hey\\nIs there an easy way to compare library from IPHOTO other then folder by folder in finder ?\\n\\nMy mom's seem to have like 3 or 5 copy of the possible library but overtime there some difference. Only way she find is filder by folder. I'm more techsavy then she is (i use Windows and linux) but i'm not really familiar with MD5 programm or stuff like that. I can use command line if necessary but prefer GUI program\\n\\nEdit : iphone correctes for iPhoto\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 7, 'created_utc': 1565292398}"}
{"id":"2104197","text":"Title: How to DIY color JUUK Revo stainless steel watch band?\nThe text below was posted in an online community called AppleWatch in the year 2018:\n\nI just snagged a 38mm JUUK revo gunmetal from Amazon as it was heavily discounted from $270 to $70. I read reviews that the links where not colored gunmetal and that the manufacturer did it to bring the price down. Upon receiving the item, it still looks good but the links are an eyesore.\n\nIs there a cheap DIY way to at least darken or color the links gray?\n\n[pics of the watch with the bracelet](https:\/\/imgur.com\/a\/Oi1zi\/)","meta":"{'source': 'reddit_posts', 'id': '7sl75g', 'title': 'How to DIY color JUUK Revo stainless steel watch band?', 'author': 'supahdende', 'subreddit': 'AppleWatch', 'subreddit_id': '2wav7', 'body': 'I just snagged a 38mm JUUK revo gunmetal from Amazon as it was heavily discounted from $270 to $70. I read reviews that the links where not colored gunmetal and that the manufacturer did it to bring the price down. Upon receiving the item, it still looks good but the links are an eyesore.\\n\\nIs there a cheap DIY way to at least darken or color the links gray?\\n\\n[pics of the watch with the bracelet](https:\/\/imgur.com\/a\/Oi1zi\/)', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 0, 'created_utc': 1516775264}"}
{"id":"2037833","text":"Title: I'm thinking about doing a stock-alike weapon pack for mid early game, critique my idea? Questions and requests also welcome.\nThe text below was posted in an online community called factorio in the year 2015:\n\nSo far I have a marksman rifle\/battle rifle (think large caliber assault rifle), and a sniper rifle. Right now [they're just copied and variable-changed version of the SMG.](http:\/\/puu.sh\/lYgiW\/17b2481d1d.png)\n\nThe thinking is to give you weapons that enable you to fight medium and big bugs. The sub machine gun has next to no damage, and while the DPS is good, the resistances on the medium+ biters negates pretty much all of it. Having to run to the nearest line of turrets every time you agro a biter is not fun, not to me. So the marksman rifle trades away 40% of it's raw DPS for a bigger punch, which helps overcome those resistances.\n\n[As you can see here,](http:\/\/puu.sh\/lYeow\/096295985a.png) the two guns trade away a large portion of their nominal DPS, but become more effective against big and behemoth biters.\n\nI'm thinking about making a different ammo type for the rifles, more expensive, less ammo per magazine, more damage.\n\nA perk of the sniper I stumbled upon, if you can one-shot a bug near max range, you don't agro any of the others. Also gives you an way to take care of worms. I used it to clear out small and medium biters before I took out a base. Might allow some other interesting tactics.\n\nComments, questions, critiques, or requests?\n\nEDIT: [Icons! Yippy.](http:\/\/puu.sh\/lYjfh\/3e503bc127.png)","meta":"{'source': 'reddit_posts', 'id': '3x55os', 'title': \"I'm thinking about doing a stock-alike weapon pack for mid early game, critique my idea? Questions and requests also welcome.\", 'author': 'cpnurrenberg', 'subreddit': 'factorio', 'subreddit_id': '2wabp', 'body': \"So far I have a marksman rifle\/battle rifle (think large caliber assault rifle), and a sniper rifle. Right now [they're just copied and variable-changed version of the SMG.](http:\/\/puu.sh\/lYgiW\/17b2481d1d.png)\\n\\nThe thinking is to give you weapons that enable you to fight medium and big bugs. The sub machine gun has next to no damage, and while the DPS is good, the resistances on the medium+ biters negates pretty much all of it. Having to run to the nearest line of turrets every time you agro a biter is not fun, not to me. So the marksman rifle trades away 40% of it's raw DPS for a bigger punch, which helps overcome those resistances.\\n\\n[As you can see here,](http:\/\/puu.sh\/lYeow\/096295985a.png) the two guns trade away a large portion of their nominal DPS, but become more effective against big and behemoth biters.\\n\\nI'm thinking about making a different ammo type for the rifles, more expensive, less ammo per magazine, more damage.\\n\\nA perk of the sniper I stumbled upon, if you can one-shot a bug near max range, you don't agro any of the others. Also gives you an way to take care of worms. I used it to clear out small and medium biters before I took out a base. Might allow some other interesting tactics.\\n\\nComments, questions, critiques, or requests?\\n\\nEDIT: [Icons! Yippy.](http:\/\/puu.sh\/lYjfh\/3e503bc127.png)\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 5, 'created_utc': 1450308176}"}
{"id":"740240","text":"Title: Weird issues after installing amdgpu-pro driver - flickering screen on boot, no WM loading.\nThe text below was posted in an online community called linux4noobs in the year 2017:\n\nHi \/r\/linux4noobs,\n\nI just made the switch from Windows 10, after getting tired of Microsoft's spyware bloat.  I'm having a problem with my GPU drivers - the system detects the graphics card, but doesn't use it.  I downloaded the amdgpu-pro driver and rebooted.  After a reboot, there isn't a splashscreen, instead the diagnostics listing everything that passes on boot.  Eventually, it gets to a point where the boot hangs and the screen flashes between the command line login prompt (no gui) and the diagnostic screen listing what passed on boot.  The screen switches every other frame or so, and I can get it to stop flickering on the command line login screen after typing in my username.\n\nFrom there, how do I load the GUI?  I tried \n    startx\n, but no WM loaded.  Where do I go from there, or am I doing something wrong?  I followed the instructions to install the driver exactly, but maybe it's a problem with GNOME and the driver?\n\nCurrently, the system is just using integrated graphics, which is less than ideal.\n\nAnyway, thanks for any help you can give me.\n\n~\/u\/The_Salt_Shaker","meta":"{'source': 'reddit_posts', 'id': '6p4aru', 'title': 'Weird issues after installing amdgpu-pro driver - flickering screen on boot, no WM loading.', 'author': 'The_Salt_Shaker', 'subreddit': 'linux4noobs', 'subreddit_id': '2qy7t', 'body': \"Hi \/r\/linux4noobs,\\n\\nI just made the switch from Windows 10, after getting tired of Microsoft's spyware bloat.  I'm having a problem with my GPU drivers - the system detects the graphics card, but doesn't use it.  I downloaded the amdgpu-pro driver and rebooted.  After a reboot, there isn't a splashscreen, instead the diagnostics listing everything that passes on boot.  Eventually, it gets to a point where the boot hangs and the screen flashes between the command line login prompt (no gui) and the diagnostic screen listing what passed on boot.  The screen switches every other frame or so, and I can get it to stop flickering on the command line login screen after typing in my username.\\n\\nFrom there, how do I load the GUI?  I tried \\n    startx\\n, but no WM loaded.  Where do I go from there, or am I doing something wrong?  I followed the instructions to install the driver exactly, but maybe it's a problem with GNOME and the driver?\\n\\nCurrently, the system is just using integrated graphics, which is less than ideal.\\n\\nAnyway, thanks for any help you can give me.\\n\\n~\/u\/The_Salt_Shaker\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1500848466}"}
{"id":"2322123","text":"Title: One page site I put together for fun\nThe text below was posted in an online community called web_design in the year 2011:\n\n[seemsharp.com](http:\/\/seemsharp.com)\n\nI had some help from some redditors for the ajax calls.\n\nAny advice is welcome. Especially design critique. Let me know if the layout is off on your screen etc.\n\nThanks :)","meta":"{'source': 'reddit_posts', 'id': 'hkeoj', 'title': 'One page site I put together for fun', 'author': 'toofrat', 'subreddit': 'web_design', 'subreddit_id': '2qh1m', 'body': '[seemsharp.com](http:\/\/seemsharp.com)\\n\\nI had some help from some redditors for the ajax calls.\\n\\nAny advice is welcome. Especially design critique. Let me know if the layout is off on your screen etc.\\n\\nThanks :)', 'body_is_trimmed': False, 'score': 48, 'over_18': False, 'num_comments': 43, 'created_utc': 1306386137}"}
{"id":"2289807","text":"Title: [D] Schmidhuber's critique of the 2021 Turing lecture\nThe text below was posted in an online community called MachineLearning in the year 2021:\n\nThe tweet: https:\/\/twitter.com\/SchmidhuberAI\/status\/1441296380623040512?s=19\n\nThe article: https:\/\/people.idsia.ch\/~juergen\/scientific-integrity-turing-award-deep-learning.html\n\nI feel there's some good history of the field in there regardless of your stance on the topic.","meta":"{'source': 'reddit_posts', 'id': 'pugf3n', 'title': \"[D] Schmidhuber's critique of the 2021 Turing lecture\", 'author': 'PaganPasta', 'subreddit': 'MachineLearning', 'subreddit_id': '2r3gv', 'body': \"The tweet: https:\/\/twitter.com\/SchmidhuberAI\/status\/1441296380623040512?s=19\\n\\nThe article: https:\/\/people.idsia.ch\/~juergen\/scientific-integrity-turing-award-deep-learning.html\\n\\nI feel there's some good history of the field in there regardless of your stance on the topic.\", 'body_is_trimmed': False, 'score': 183, 'over_18': False, 'num_comments': 117, 'created_utc': 1632476868}"}
{"id":"1254777","text":"Title: Issue with RADIUS authorisation\nThe text below was posted in an online community called networking in the year 2016:\n\nThis may be a difficult one to troubleshoot as there's multiple areas where I could have gone wrong, but I'll summarise what I've done and hopefully someone may have seen this before and know what the fix is.\n\nI have set up a new WiFi network using a Cisco WAP150 to connect to an internal corporate network and use RADIUS for authentication.  RADIUS is installed on Server 2008 R2 (NPS) and is configured to accept requests from the WAP150 and grant access to users who are in a particular security group in the domain.  The authentication method in question is PEAP and the NPS server has the appropriate certificates installed.  I have tested this on three laptops within the organisation, all of which are joined to the same domain.  All three machines are running up-to-date Windows 10 Pro.\n\nOne of the machines (mine) used to prompt for a username and password when trying to connect to the SSID, however it gave a tickbox option to use Windows credentials.  When this was ticked, the laptop connected and I had full access to the corporate network.  Now it is (mis)behaving the same as the other laptops (possibly due to another setting I have changed somewhere in my attempts at troubleshooting the issue).\n\nThe other two do not prompt for joshuaesparza@example.com.  Instead they give the error \"can't connect to this network\".  When checking logs on the RADIUS server it appears that both laptops are sending machine account details to authenticate, which is then denied (rightly so, the authentication is set to be granted for user accounts, not computer accounts).\n\nIf I set up the connection manually and set the option \"Specify authentication mode\" to \"User authentication\", everything works fine, no need to even tick the option to use Windows credentials.\n\nI have been trying to figure this one out for a few days now, I would really appreciate a pointer in the right direction, if anyone can help me.  Thanks in advance!","meta":"{'source': 'reddit_posts', 'id': '4uiuh5', 'title': 'Issue with RADIUS authorisation', 'author': '_SeventyNine', 'subreddit': 'networking', 'subreddit_id': '2qkaf', 'body': 'This may be a difficult one to troubleshoot as there\\'s multiple areas where I could have gone wrong, but I\\'ll summarise what I\\'ve done and hopefully someone may have seen this before and know what the fix is.\\n\\nI have set up a new WiFi network using a Cisco WAP150 to connect to an internal corporate network and use RADIUS for authentication.  RADIUS is installed on Server 2008 R2 (NPS) and is configured to accept requests from the WAP150 and grant access to users who are in a particular security group in the domain.  The authentication method in question is PEAP and the NPS server has the appropriate certificates installed.  I have tested this on three laptops within the organisation, all of which are joined to the same domain.  All three machines are running up-to-date Windows 10 Pro.\\n\\nOne of the machines (mine) used to prompt for a username and password when trying to connect to the SSID, however it gave a tickbox option to use Windows credentials.  When this was ticked, the laptop connected and I had full access to the corporate network.  Now it is (mis)behaving the same as the other laptops (possibly due to another setting I have changed somewhere in my attempts at troubleshooting the issue).\\n\\nThe other two do not prompt for credentials at all.  Instead they give the error \"can\\'t connect to this network\".  When checking logs on the RADIUS server it appears that both laptops are sending machine account details to authenticate, which is then denied (rightly so, the authentication is set to be granted for user accounts, not computer accounts).\\n\\nIf I set up the connection manually and set the option \"Specify authentication mode\" to \"User authentication\", everything works fine, no need to even tick the option to use Windows credentials.\\n\\nI have been trying to figure this one out for a few days now, I would really appreciate a pointer in the right direction, if anyone can help me.  Thanks in advance!', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 7, 'created_utc': 1469456730}"}
{"id":"1377146","text":"Title: FXGL - Java(FX) \/ Kotlin Game Engine. MIT License\nThe text below was posted in an online community called java in the year 2017:\n\n* [Features](https:\/\/github.com\/AlmasB\/FXGL\/wiki\/Core-Features)\n* [Game Demos](http:\/\/almasb.github.io\/FXGLGames\/)\n* [Source Code](https:\/\/github.com\/AlmasB\/FXGL)\n* [Tutorials](https:\/\/github.com\/AlmasB\/FXGL\/wiki)\n\nAny form of contribution and constructive feedback are greatly appreciated.","meta":"{'source': 'reddit_posts', 'id': '5ze74b', 'title': 'FXGL - Java(FX) \/ Kotlin Game Engine. MIT License', 'author': 'AlmasB0', 'subreddit': 'java', 'subreddit_id': '2qhd7', 'body': '* [Features](https:\/\/github.com\/AlmasB\/FXGL\/wiki\/Core-Features)\\n* [Game Demos](http:\/\/almasb.github.io\/FXGLGames\/)\\n* [Source Code](https:\/\/github.com\/AlmasB\/FXGL)\\n* [Tutorials](https:\/\/github.com\/AlmasB\/FXGL\/wiki)\\n\\nAny form of contribution and constructive feedback are greatly appreciated.', 'body_is_trimmed': False, 'score': 9, 'over_18': False, 'num_comments': 5, 'created_utc': 1489518631}"}
{"id":"958827","text":"Title: Transfer Learning for Images\nThe text below was posted in an online community called learnmachinelearning in the year 2021:\n\nIn [Deep Learning](https:\/\/deepblade.com\/category\/artificial-intelligence\/deep-learning\/) we can use Convolutional Neural Networks for computer vision tasks. When we work with a large dataset at that time, it can take a long time for that model to train. It can take days or even weeks.\n\nSo, in such cases, we can use [Transfer learning](https:\/\/deepblade.com\/artificial-intelligence\/deep-learning\/how-does-transfer-learning-work\/). There we use a pre-trained model. At the moment there are many popular pre-trained models that we can use for computer vision tasks. VGG16. VGG19, Resnet 50 are some of them.\n\nIn this tutorial, you will learn,\n\n* [What is Transfer Learning?](https:\/\/deepblade.com\/artificial-intelligence\/deep-learning\/transfer-learning-for-images\/#1)\n* [Popular pre-trained models used in Computer Vision](https:\/\/deepblade.com\/artificial-intelligence\/deep-learning\/transfer-learning-for-images\/#2)\n* [Transfer Learning practical implementation](https:\/\/deepblade.com\/artificial-intelligence\/deep-learning\/transfer-learning-for-images\/#3)\n\n## \n\n## What is Transfer Learning?\n\nIn Deep Learning we use Neural Networks for everything. In [Transfer Learning,](https:\/\/deepblade.com\/artificial-intelligence\/deep-learning\/how-does-transfer-learning-work\/) the weights of a Neural Network created for a particular problem are used for another such problem. Mostly, computer vision problems require high computational costs. Therefore, Transfer Learning is a very important and popular technique for Computer Vision tasks.\n\n**Note:** Read this article to know how Transfer Learning works and the pros and cons of Transfer Learning.\n\n&gt;[How does Transfer Learning work?](https:\/\/deepblade.com\/artificial-intelligence\/deep-learning\/how-does-transfer-learning-work\/)\n\n## \n\n## Popular pre-trained models used in Computer Vision\n\nThere are many pre-models that we can use for Computer Vision tasks. Below are some of the popular pre-trained models.\n\n### VGG-16\n\nK. Simonyan and A. Zisserman introduce the VGG-16 model from the University of Oxford. This model achieves up to 92% test accuracy in the ImageNet dataset. [**ImageNet**](https:\/\/www.image-net.org\/) is a popular dataset that has more than 14 million images belonging to 1000 classes. This pre-trained model has 13 Convolutional layers and 3 fully connected layers. Accordingly, it has 16 layers.\n\n&amp;#x200B;\n\nhttps:\/\/preview.redd.it\/1oh6vhyluiu71.png?width=935&amp;format=png&amp;auto=webp&amp;s=9a25c0f075dc621174f65ee97817faa175eb943d\n\nVGG-16 model can load like below,\n\n`from tensorflow.keras.applications.vgg16 import VGG16`  \n`model = VGG16()`\n\n### VGG-19\n\nThis is a model with 19 layers (16 Convolutional Layers and 3 fully connected layers). Also contains 5 max-pool layers and a softmax layer. \n\n&amp;#x200B;\n\nhttps:\/\/preview.redd.it\/z3vh8rwnuiu71.png?width=1049&amp;format=png&amp;auto=webp&amp;s=fd7ca7377466c471cf6cbe83f08377644045cf5e\n\nVGG-19 model can load like below,\n\n`from tensorflow.keras.applications.vgg19 import VGG19`  \n`model = VGG19()`\n\n### ResNet-50\n\nThis model introduces by Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jiasun in 2015. It contains 50 convolutional layers, 1 max-pool layer, and an average-pool layer. And ResNet 50 has more than 23 million trainable parameters. ResNet architecture can be used for such tasks as image classification, object detection, and object localization.\n\n&amp;#x200B;\n\nhttps:\/\/preview.redd.it\/q1mu3uopuiu71.png?width=450&amp;format=png&amp;auto=webp&amp;s=da5280ddc3afe05de710e6515c7fb9dc61f6ef41\n\nResNet-50 model can load like below,\n\n`from tensorflow.keras.applications.resnet50 import ResNet50`  \n`model = ResNet50()`\n\n### Inception V3\n\nThis is a deep model that contains 42 layers. Although the number of layers is higher, the complexity here is the same as the complexity of a VGG Net.\n\nInception V3 model can load like below,\n\n`from keras.applications.inception_v3 import InceptionV3`  \n`model = InceptionV3()`\n\n### Xception\n\nThis model introduces by Francois Chollet. It is an extension of the Inception architecture. The difference there is involved **Depthwise Separable convolutions**.\n\nXception model can load like below,\n\n`from tensorflow.keras.applications.xception import Xception`  \n`model = Xception()`\n\n### MobileNet\n\nMobileNet model used for mobile applications. It uses **depthwise separable convolutions**. Therefore it has a low number of parameters when compared to a regular model with the same depth. MobileNet model can run efficiently on mobile devices with [**TensorFlow lite**](https:\/\/www.tensorflow.org\/lite).\n\nMobileNet model can load like below,\n\n`from tensorflow.keras.applications.mobilenet import MobileNet`  \n`x = MobileNet()`  \n\n\n## Transfer Learning practice Implementation\n\nI will use here **Inception V3** pre-trained model and the [Dogs\\_vs\\_Cats](https:\/\/www.kaggle.com\/c\/dogs-vs-cats\/data) dataset as an example. [Click here](https:\/\/www.kaggle.com\/c\/dogs-vs-cats\/data) to download the dataset from the Kaggle website. So, using this dataset we are creating a model that can identify whether an image is of a dog or a cat.\n\n`from tensorflow.keras import layers, Model`  \n\n\n`# load model`  \n`from keras.applications.inception_v3 import InceptionV3`  \n`pre_trained_model = InceptionV3(input_shape=(150, 150, 3),`  \n`include_top=False,`  \n`weights = 'imagenet')`  \n\n\n**Note:** The inceptionmodel has a fully connected layer at the top. Thats why we use **include\\_top=False** to ignore it.\n\n`# summary of model`  \n`print(pre_trained_model.summary())`\n\n&amp;#x200B;\n\n`Model: \"inception_v3\" __________________________________________________________________________________________________ Layer (type)                    Output Shape         Param #     Connected to                      ================================================================================================== input_1 (InputLayer)            [(None, 150, 150, 3) 0                                             __________________________________________________________________________________________________ conv2d (Conv2D)                 (None, 74, 74, 32)   864         input_1[0][0]                     __________________________________________________________________________________________________ batch_normalization (BatchNorma (None, 74, 74, 32)   96          conv2d[0][0]                      __________________________________________________________________________________________________ activation (Activation)         (None, 74, 74, 32)   0           batch_normalization[0][0]         __________________________________________________________________________________________________ conv2d_1 (Conv2D)               (None, 72, 72, 32)   9216        activation[0][0]                  __________________________________________________________________________________________________`  \n`.`  \n`.`  \n`.`  \n`activation_85 (Activation)      (None, 3, 3, 320)    0           batch_normalization_85[0][0]      __________________________________________________________________________________________________ mixed9_1 (Concatenate)          (None, 3, 3, 768)    0           activation_87[0][0]                                                                                activation_88[0][0]               __________________________________________________________________________________________________ concatenate_1 (Concatenate)     (None, 3, 3, 768)    0           activation_91[0][0]                                                                                activation_92[0][0]               __________________________________________________________________________________________________ activation_93 (Activation)      (None, 3, 3, 192)    0           batch_normalization_93[0][0]      __________________________________________________________________________________________________ mixed10 (Concatenate)           (None, 3, 3, 2048)   0           activation_85[0][0]                                                                                mixed9_1[0][0]                                                                                     concatenate_1[0][0]                                                                              activation_93[0][0]               ================================================================================================== Total params: 21,802,784 Trainable params: 21,768,352 Non-trainable params: 34,432 __________________________________________________________________________________________________`\n\n&amp;#x200B;\n\n`# lock all layers in initiated pre-trained model`  \n`for layer in pre_trained_model.layers:`  \n`layer.trainable = False`  \n\n\nWe need to connect one layer from the above pre-trained model to our DNN. For that, I use the **mixed9** layer as the last layer from the pre-trained model. You can experiment with other layers from the pre-trained model. You can see all names corresponding to layers using **pre\\_trained\\_model.summary().**\n\n`last_layer = pre_trained_model.get_layer('mixed9')`  \n`last_output = last_layer.outputfrom tensorflow.keras.optimizers import Adam`  \n\n\n`# transform output layer to 1 dimension`  \n`x = layers.Flatten()(last_output)`  \n\n\n`# Add a fully connected layer with 1024 hidden units and ReLU activation`  \n`x = layers.Dense(1024, activation='relu')(x)`  \n\n\n`# Add a dropout rate`  \n`x = layers.Dropout(0.2)(x)`  \n\n\n`# Add a final sigmoid layer for classification`  \n`x = layers.Dense (1, activation='sigmoid')(x)`  \n\n\n`model = Model( pre_trained_model.input, x)`  \n\n\n`model.compile(optimizer = 'adam',`   \n`loss = 'binary_crossentropy',`   \n`metrics = ['accuracy'])`\n\nNow we can work with our dataset. Lets extract the downloaded zip file. It contains another two zip files. (train.zip, test1.zip)\n\n`import zipfile`  \n`with zipfile.ZipFile('dogs-vs-cats.zip', 'r') as z :`  \n`z.extractall()`\n\nAfter extracted the downloaded zip file, we can extract the train.zip file,\n\n`with zipfile.ZipFile('train.zip', 'r') as train_zip :`  \n`train_zip.extractall()`\n\n&amp;#x200B;\n\n`# categorize all images inside the folder using names of images.`  \n\n\n`import os`  \n`filenames = os.listdir(\"train\")`  \n`classes = []`  \n`for image in filenames :`  \n`category = image.split('.')[0]`  \n`if category == 'dog' :`  \n`classes.append(1)`  \n`else :`   \n`classes.append(0)`  \n\n\n`# Labeling each image with the name of the class`  \n\n\n`import pandas as pd`  \n`data = pd.DataFrame({'filename' : filenames, 'category' : classes})`  \n`data['category'] = data['category'].map({0 : 'cat', 1 : 'dog'})`  \n`print(data.sample(5))`  \n\n\n`OUTPUT:`  \n\n\n`filename category 12726   dog.1020.jpg      dog 2707   cat.12433.jpg      cat 22209   dog.7487.jpg      dog 2803    cat.1270.jpg      cat 24424   dog.9480.jpg      dog# Divide dataset into training set and testing set`  \n\n\n`from sklearn.model_selection import train_test_split`  \n`train_data, validation_data = train_test_split(data, test_size=0.2)`  \n\n\n`train_data = train_data.reset_index(drop=True)`  \n`validation_data = validation_data.reset_index(drop=True)`\n\n[Click here](https:\/\/deepblade.com\/artificial-intelligence\/machine-learning\/train_test_split-dataset-to-evaluate-machine-learning-algorithms\/) to learn more about **train\\_test\\_split.**\n\n`from tensorflow.keras.preprocessing.image import ImageDataGenerator`  \n\n\n`# add data augmentation to ImageDataGenerator`  \n`train_datagen = ImageDataGenerator(rescale = 1.\/255.,`  \n`rotation_range = 60,`  \n`zoom_range = 0.2,`  \n`width_shift_range = 0.2,`  \n`height_shift_range = 0.2,`  \n`horizontal_flip = True)`  \n\n\n`train_generator = train_datagen.flow_from_dataframe(train_data,`  \n`'.\/train\/',`  \n`x_col = 'filename',`  \n`y_col = 'category',`  \n`batch_size = 32,`  \n`class_mode = 'binary',`  \n`target_size = (150, 150))`  \n\n\n`OUTPUT:`  \n\n\n`Found 20000 validated image filenames belonging to 2 classes.validation_datagen = ImageDataGenerator(rescale = 1.\/255)`  \n\n\n`validation_generator = validation_datagen.flow_from_dataframe(validation_data,`  \n`'.\/train\/',`  \n`x_col = 'filename',`  \n`y_col = 'category',`  \n`batch_size = 32,`  \n`class_mode='binary',`  \n`target_size = (150, 150))`  \n\n\n`OUTPUT:`  \n\n\n`Found 5000 validated image filenames belonging to 2 classes.# train the model`  \n`history = model.fit(`  \n`train_generator,`  \n`validation_data = validation_generator,`  \n`steps_per_epoch = 100,`  \n`epochs = 20,`  \n`validation_steps = 50,`  \n`verbose = 2)`  \n\n\n`OUTPUT:`  \n\n\n`Epoch 1\/20 100\/100 - 42s - loss: 0.3794 - accuracy: 0.8763 - val_loss: 0.0976 - val_accuracy: 0.9638 Epoch 2\/20 100\/100 - 35s - loss: 0.2060 - accuracy: 0.9159 - val_loss: 0.0885 - val_accuracy: 0.9600 Epoch 3\/20 100\/100 - 31s - loss: 0.1914 - accuracy: 0.9122 - val_loss: 0.0693 - val_accuracy: 0.9712 Epoch 4\/20 100\/100 - 30s - loss: 0.1683 - accuracy: 0.9272 - val_loss: 0.0673 - val_accuracy: 0.9744 Epoch 5\/20 100\/100 - 29s - loss: 0.1741 - accuracy: 0.9247 - val_loss: 0.0665 - val_accuracy: 0.9756 .`  \n`.`  \n`.`  \n`Epoch 18\/20 100\/100 - 24s - loss: 0.1457 - accuracy: 0.9369 - val_loss: 0.0700 - val_accuracy: 0.9712 Epoch 19\/20 100\/100 - 25s - loss: 0.1473 - accuracy: 0.9372 - val_loss: 0.0717 - val_accuracy: 0.9737 Epoch 20\/20 100\/100 - 25s - loss: 0.1473 - accuracy: 0.9394 - val_loss: 0.0612 - val_accuracy: 0.9762`\n\n&amp;#x200B;\n\nUsing the above values, we can graphically see how the accuracy of the training set and the validation set varied.\n\n`import matplotlib.pyplot as plt`  \n`accuracy = history.history['accuracy']`  \n`validation_accuracy = history.history['val_accuracy']`  \n\n\n`epochs = range(len(accuracy))`  \n\n\n`plt.plot(epochs, accuracy, 'r', label='Training accuracy')`  \n`plt.plot(epochs, validation_accuracy, 'b', label='Validation accuracy')`  \n`plt.title('Training and validation accuracy')`  \n`plt.legend(loc=0)`  \n`plt.figure()`  \n\n\n[`plt.show`](https:\/\/plt.show)`()`\n\n&amp;#x200B;\n\nhttps:\/\/preview.redd.it\/90zhkhzdviu71.png?width=386&amp;format=png&amp;auto=webp&amp;s=09759670f722c89d790d7b9dd77e45970872b4e6\n\n&amp;#x200B;\n\nIn this example, we have seen how to do [Transfer Learning](https:\/\/deepblade.com\/artificial-intelligence\/deep-learning\/how-does-transfer-learning-work\/) using the **Inception V3** model. You can also use other pre-trained models I have mentioned earlier. Transfer Learning is a very important technique when working with large datasets. This allows us to train a model very quickly and you can see that the accuracy is very good.\n\nLearn more:\n\n**Tutorials:**\n\n[Machine Learning](https:\/\/deepblade.com\/category\/artificial-intelligence\/machine-learning\/)\n\n[Deep Learning](https:\/\/deepblade.com\/category\/artificial-intelligence\/deep-learning\/)\n\n[Natural Language Processing](https:\/\/deepblade.com\/category\/artificial-intelligence\/natural-language-processing\/)","meta":"{'source': 'reddit_posts', 'id': 'qbror6', 'title': 'Transfer Learning for Images', 'author': 'DineshPiyasamara', 'subreddit': 'learnmachinelearning', 'subreddit_id': '3cqa1', 'body': 'In [Deep Learning](https:\/\/deepblade.com\/category\/artificial-intelligence\/deep-learning\/) we can use Convolutional Neural Networks for computer vision tasks. When we work with a large dataset at that time, it can take a long time for that model to train. It can take days or even weeks.\\n\\nSo, in such cases, we can use [Transfer learning](https:\/\/deepblade.com\/artificial-intelligence\/deep-learning\/how-does-transfer-learning-work\/). There we use a pre-trained model. At the moment there are many popular pre-trained models that we can use for computer vision tasks. VGG16. VGG19, Resnet 50 are some of them.\\n\\nIn this tutorial, you will learn,\\n\\n* [What is Transfer Learning?](https:\/\/deepblade.com\/artificial-intelligence\/deep-learning\/transfer-learning-for-images\/#1)\\n* [Popular pre-trained models used in Computer Vision](https:\/\/deepblade.com\/artificial-intelligence\/deep-learning\/transfer-learning-for-images\/#2)\\n* [Transfer Learning practical implementation](https:\/\/deepblade.com\/artificial-intelligence\/deep-learning\/transfer-learning-for-images\/#3)\\n\\n## \\n\\n## What is Transfer Learning?\\n\\nIn Deep Learning we use Neural Networks for everything. In [Transfer Learning,](https:\/\/deepblade.com\/artificial-intelligence\/deep-learning\/how-does-transfer-learning-work\/) the weights of a Neural Network created for a particular problem are used for another such problem. Mostly, computer vision problems require high computational costs. Therefore, Transfer Learning is a very important and popular technique for Computer Vision tasks.\\n\\n**Note:** Read this article to know how Transfer Learning works and the pros and cons of Transfer Learning.\\n\\n&gt;[How does Transfer Learning work?](https:\/\/deepblade.com\/artificial-intelligence\/deep-learning\/how-does-transfer-learning-work\/)\\n\\n## \\n\\n## Popular pre-trained models used in Computer Vision\\n\\nThere are many pre-models that we can use for Computer Vision tasks. Below are some of the popular pre-trained models.\\n\\n### VGG-16\\n\\nK. Simonyan and A. Zisserman introduce the VGG-16 model from the University of Oxford. This model achieves up to 92% test accuracy in the ImageNet dataset. [**ImageNet**](https:\/\/www.image-net.org\/) is a popular dataset that has more than 14 million images belonging to 1000 classes. This pre-trained model has 13 Convolutional layers and 3 fully connected layers. Accordingly, it has 16 layers.\\n\\n&amp;#x200B;\\n\\nhttps:\/\/preview.redd.it\/1oh6vhyluiu71.png?width=935&amp;format=png&amp;auto=webp&amp;s=9a25c0f075dc621174f65ee97817faa175eb943d\\n\\nVGG-16 model can load like below,\\n\\n`from tensorflow.keras.applications.vgg16 import VGG16`  \\n`model = VGG16()`\\n\\n### VGG-19\\n\\nThis is a model with 19 layers (16 Convolutional Layers and 3 fully connected layers). Also contains 5 max-pool layers and a softmax layer. \\n\\n&amp;#x200B;\\n\\nhttps:\/\/preview.redd.it\/z3vh8rwnuiu71.png?width=1049&amp;format=png&amp;auto=webp&amp;s=fd7ca7377466c471cf6cbe83f08377644045cf5e\\n\\nVGG-19 model can load like below,\\n\\n`from tensorflow.keras.applications.vgg19 import VGG19`  \\n`model = VGG19()`\\n\\n### ResNet-50\\n\\nThis model introduces by Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jiasun in 2015. It contains 50 convolutional layers, 1 max-pool layer, and an average-pool layer. And ResNet 50 has more than 23 million trainable parameters. ResNet architecture can be used for such tasks as image classification, object detection, and object localization.\\n\\n&amp;#x200B;\\n\\nhttps:\/\/preview.redd.it\/q1mu3uopuiu71.png?width=450&amp;format=png&amp;auto=webp&amp;s=da5280ddc3afe05de710e6515c7fb9dc61f6ef41\\n\\nResNet-50 model can load like below,\\n\\n`from tensorflow.keras.applications.resnet50 import ResNet50`  \\n`model = ResNet50()`\\n\\n### Inception V3\\n\\nThis is a deep model that contains 42 layers. Although the number of layers is higher, the complexity here is the same as the complexity of a VGG Net.\\n\\nInception V3 model can load like below,\\n\\n`from keras.applications.inception_v3 import InceptionV3`  \\n`model = InceptionV3()`\\n\\n### Xception\\n\\nThis model introduces by Francois Chollet. It is an extension of the Inception architecture. The difference there is involved **Depthwise Separable convolutions**.\\n\\nXception model can load like below,\\n\\n`from tensorflow.keras.applications.xception import Xception`  \\n`model = Xception()`\\n\\n### MobileNet\\n\\nMobileNet model used for mobile applications. It uses **depthwise separable convolutions**. Therefore it has a low number of parameters when compared to a regular model with the same depth. MobileNet model can run efficiently on mobile devices with [**TensorFlow lite**](https:\/\/www.tensorflow.org\/lite).\\n\\nMobileNet model can load like below,\\n\\n`from tensorflow.keras.applications.mobilenet import MobileNet`  \\n`x = MobileNet()`  \\n\\n\\n## Transfer Learning practice Implementation\\n\\nI will use here **Inception V3** pre-trained model and the [Dogs\\\\_vs\\\\_Cats](https:\/\/www.kaggle.com\/c\/dogs-vs-cats\/data) dataset as an example. [Click here](https:\/\/www.kaggle.com\/c\/dogs-vs-cats\/data) to download the dataset from the Kaggle website. So, using this dataset we are creating a model that can identify whether an image is of a dog or a cat.\\n\\n`from tensorflow.keras import layers, Model`  \\n\\n\\n`# load model`  \\n`from keras.applications.inception_v3 import InceptionV3`  \\n`pre_trained_model = InceptionV3(input_shape=(150, 150, 3),`  \\n`include_top=False,`  \\n`weights = \\'imagenet\\')`  \\n\\n\\n**Note:** The inceptionmodel has a fully connected layer at the top. Thats why we use **include\\\\_top=False** to ignore it.\\n\\n`# summary of model`  \\n`print(pre_trained_model.summary())`\\n\\n&amp;#x200B;\\n\\n`Model: \"inception_v3\" __________________________________________________________________________________________________ Layer (type)                    Output Shape         Param #     Connected to                      ================================================================================================== input_1 (InputLayer)            [(None, 150, 150, 3) 0                                             __________________________________________________________________________________________________ conv2d (Conv2D)                 (None, 74, 74, 32)   864         input_1[0][0]                     __________________________________________________________________________________________________ batch_normalization (BatchNorma (None, 74, 74, 32)   96          conv2d[0][0]                      __________________________________________________________________________________________________ activation (Activation)         (None, 74, 74, 32)   0           batch_normalization[0][0]         __________________________________________________________________________________________________ conv2d_1 (Conv2D)               (None, 72, 72, 32)   9216        activation[0][0]                  __________________________________________________________________________________________________`  \\n`.`  \\n`.`  \\n`.`  \\n`activation_85 (Activation)      (None, 3, 3, 320)    0           batch_normalization_85[0][0]      __________________________________________________________________________________________________ mixed9_1 (Concatenate)          (None, 3, 3, 768)    0           activation_87[0][0]                                                                                activation_88[0][0]               __________________________________________________________________________________________________ concatenate_1 (Concatenate)     (None, 3, 3, 768)    0           activation_91[0][0]                                                                                activation_92[0][0]               __________________________________________________________________________________________________ activation_93 (Activation)      (None, 3, 3, 192)    0           batch_normalization_93[0][0]      __________________________________________________________________________________________________ mixed10 (Concatenate)           (None, 3, 3, 2048)   0           activation_85[0][0]                                                                                mixed9_1[0][0]                                                                                     concatenate_1[0][0]                                                                              activation_93[0][0]               ================================================================================================== Total params: 21,802,784 Trainable params: 21,768,352 Non-trainable params: 34,432 __________________________________________________________________________________________________`\\n\\n&amp;#x200B;\\n\\n`# lock all layers in initiated pre-trained model`  \\n`for layer in pre_trained_model.layers:`  \\n`layer.trainable = False`  \\n\\n\\nWe need to connect one layer from the above pre-trained model to our DNN. For that, I use the **mixed9** layer as the last layer from the pre-trained model. You can experiment with other layers from the pre-trained model. You can see all names corresponding to layers using **pre\\\\_trained\\\\_model.summary().**\\n\\n`last_layer = pre_trained_model.get_layer(\\'mixed9\\')`  \\n`last_output = last_layer.outputfrom tensorflow.keras.optimizers import Adam`  \\n\\n\\n`# transform output layer to 1 dimension`  \\n`x = layers.Flatten()(last_output)`  \\n\\n\\n`# Add a fully connected layer with 1024 hidden units and ReLU activation`  \\n`x = layers.Dense(1024, activation=\\'relu\\')(x)`  \\n\\n\\n`# Add a dropout rate`  \\n`x = layers.Dropout(0.2)(x)`  \\n\\n\\n`# Add a final sigmoid layer for classification`  \\n`x = layers.Dense (1, activation=\\'sigmoid\\')(x)`  \\n\\n\\n`model = Model( pre_trained_model.input, x)`  \\n\\n\\n`model.compile(optimizer = \\'adam\\',`   \\n`loss = \\'binary_crossentropy\\',`   \\n`metrics = [\\'accuracy\\'])`\\n\\nNow we can work with our dataset. Lets extract the downloaded zip file. It contains another two zip files. (train.zip, test1.zip)\\n\\n`import zipfile`  \\n`with zipfile.ZipFile(\\'dogs-vs-cats.zip\\', \\'r\\') as z :`  \\n`z.extractall()`\\n\\nAfter extracted the downloaded zip file, we can extract the train.zip file,\\n\\n`with zipfile.ZipFile(\\'train.zip\\', \\'r\\') as train_zip :`  \\n`train_zip.extractall()`\\n\\n&amp;#x200B;\\n\\n`# categorize all images inside the folder using names of images.`  \\n\\n\\n`import os`  \\n`filenames = os.listdir(\"train\")`  \\n`classes = []`  \\n`for image in filenames :`  \\n`category = image.split(\\'.\\')[0]`  \\n`if category == \\'dog\\' :`  \\n`classes.append(1)`  \\n`else :`   \\n`classes.append(0)`  \\n\\n\\n`# Labeling each image with the name of the class`  \\n\\n\\n`import pandas as pd`  \\n`data = pd.DataFrame({\\'filename\\' : filenames, \\'category\\' : classes})`  \\n`data[\\'category\\'] = data[\\'category\\'].map({0 : \\'cat\\', 1 : \\'dog\\'})`  \\n`print(data.sample(5))`  \\n\\n\\n`OUTPUT:`  \\n\\n\\n`filename category 12726   dog.1020.jpg      dog 2707   cat.12433.jpg      cat 22209   dog.7487.jpg      dog 2803    cat.1270.jpg      cat 24424   dog.9480.jpg      dog# Divide dataset into training set and testing set`  \\n\\n\\n`from sklearn.model_selection import train_test_split`  \\n`train_data, validation_data = train_test_split(data, test_size=0.2)`  \\n\\n\\n`train_data = train_data.reset_index(drop=True)`  \\n`validation_data = validation_data.reset_index(drop=True)`\\n\\n[Click here](https:\/\/deepblade.com\/artificial-intelligence\/machine-learning\/train_test_split-dataset-to-evaluate-machine-learning-algorithms\/) to learn more about **train\\\\_test\\\\_split.**\\n\\n`from tensorflow.keras.preprocessing.image import ImageDataGenerator`  \\n\\n\\n`# add data augmentation to ImageDataGenerator`  \\n`train_datagen = ImageDataGenerator(rescale = 1.\/255.,`  \\n`rotation_range = 60,`  \\n`zoom_range = 0.2,`  \\n`width_shift_range = 0.2,`  \\n`height_shift_range = 0.2,`  \\n`horizontal_flip = True)`  \\n\\n\\n`train_generator = train_datagen.flow_from_dataframe(train_data,`  \\n`\\'.\/train\/\\',`  \\n`x_col = \\'filename\\',`  \\n`y_col = \\'category\\',`  \\n`batch_size = 32,`  \\n`class_mode = \\'binary\\',`  \\n`target_size = (150, 150))`  \\n\\n\\n`OUTPUT:`  \\n\\n\\n`Found 20000 validated image filenames belonging to 2 classes.validation_datagen = ImageDataGenerator(rescale = 1.\/255)`  \\n\\n\\n`validation_generator = validation_datagen.flow_from_dataframe(validation_data,`  \\n`\\'.\/train\/\\',`  \\n`x_col = \\'filename\\',`  \\n`y_col = \\'category\\',`  \\n`batch_size = 32,`  \\n`class_mode=\\'binary\\',`  \\n`target_size = (150, 150))`  \\n\\n\\n`OUTPUT:`  \\n\\n\\n`Found 5000 validated image filenames belonging to 2 classes.# train the model`  \\n`history = model.fit(`  \\n`train_generator,`  \\n`validation_data = validation_generator,`  \\n`steps_per_epoch = 100,`  \\n`epochs = 20,`  \\n`validation_steps = 50,`  \\n`verbose = 2)`  \\n\\n\\n`OUTPUT:`  \\n\\n\\n`Epoch 1\/20 100\/100 - 42s - loss: 0.3794 - accuracy: 0.8763 - val_loss: 0.0976 - val_accuracy: 0.9638 Epoch 2\/20 100\/100 - 35s - loss: 0.2060 - accuracy: 0.9159 - val_loss: 0.0885 - val_accuracy: 0.9600 Epoch 3\/20 100\/100 - 31s - loss: 0.1914 - accuracy: 0.9122 - val_loss: 0.0693 - val_accuracy: 0.9712 Epoch 4\/20 100\/100 - 30s - loss: 0.1683 - accuracy: 0.9272 - val_loss: 0.0673 - val_accuracy: 0.9744 Epoch 5\/20 100\/100 - 29s - loss: 0.1741 - accuracy: 0.9247 - val_loss: 0.0665 - val_accuracy: 0.9756 .`  \\n`.`  \\n`.`  \\n`Epoch 18\/20 100\/100 - 24s - loss: 0.1457 - accuracy: 0.9369 - val_loss: 0.0700 - val_accuracy: 0.9712 Epoch 19\/20 100\/100 - 25s - loss: 0.1473 - accuracy: 0.9372 - val_loss: 0.0717 - val_accuracy: 0.9737 Epoch 20\/20 100\/100 - 25s - loss: 0.1473 - accuracy: 0.9394 - val_loss: 0.0612 - val_accuracy: 0.9762`\\n\\n&amp;#x200B;\\n\\nUsing the above values, we can graphically see how the accuracy of the training set and the validation set varied.\\n\\n`import matplotlib.pyplot as plt`  \\n`accuracy = history.history[\\'accuracy\\']`  \\n`validation_accuracy = history.history[\\'val_accuracy\\']`  \\n\\n\\n`epochs = range(len(accuracy))`  \\n\\n\\n`plt.plot(epochs, accuracy, \\'r\\', label=\\'Training accuracy\\')`  \\n`plt.plot(epochs, validation_accuracy, \\'b\\', label=\\'Validation accuracy\\')`  \\n`plt.title(\\'Training and validation accuracy\\')`  \\n`plt.legend(loc=0)`  \\n`plt.figure()`  \\n\\n\\n[`plt.show`](https:\/\/plt.show)`()`\\n\\n&amp;#x200B;\\n\\nhttps:\/\/preview.redd.it\/90zhkhzdviu71.png?width=386&amp;format=png&amp;auto=webp&amp;s=09759670f722c89d790d7b9dd77e45970872b4e6\\n\\n&amp;#x200B;\\n\\nIn this example, we have seen how to do [Transfer Learning](https:\/\/deepblade.com\/artificial-intelligence\/deep-learning\/how-does-transfer-learning-work\/) using the **Inception V3** model. You can also use other pre-trained models I have mentioned earlier. Transfer Learning is a very important technique when working with large datasets. This allows us to train a model very quickly and you can see that the accuracy is very good.\\n\\nLearn more:\\n\\n**Tutorials:**\\n\\n[Machine Learning](https:\/\/deepblade.com\/category\/artificial-intelligence\/machine-learning\/)\\n\\n[Deep Learning](https:\/\/deepblade.com\/category\/artificial-intelligence\/deep-learning\/)\\n\\n[Natural Language Processing](https:\/\/deepblade.com\/category\/artificial-intelligence\/natural-language-processing\/)', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 0, 'created_utc': 1634699570}"}
{"id":"1595223","text":"Title: Blinking LED\nThe text below was posted in an online community called arduino in the year 2015:\n\nHi a\/r\/duino,\n\nI'm working on a design project for school and I hit a sort of road block.  I'm combining a digital counter with a blinking LED so that the only button pushes that are scored are the ones when the light is on.\n\nI thought this would be a very simple code to construct but it has turned out to be quite problematic.  The struggle I'm having is getting the light to blink on at a consistent (500 ms) interval, then stay off for a random interval (1000-4000 ms) WITHOUT using the delay function.  I can't use the delay function because I need the code to register the touches while the light is on, or reset the counter while the light is off.\n\nI've tried [this method](https:\/\/www.arduino.cc\/en\/Tutorial\/BlinkWithoutDelay) from the Arduino website but it has been difficult to get the light to stay on at the specified time interval.  I'm going to continue doing research on my own but if anyone has any suggestions for me please let me know!","meta":"{'source': 'reddit_posts', 'id': '3te5k2', 'title': 'Blinking LED', 'author': 'OatsNraisin', 'subreddit': 'arduino', 'subreddit_id': '2qknj', 'body': \"Hi a\/r\/duino,\\n\\nI'm working on a design project for school and I hit a sort of road block.  I'm combining a digital counter with a blinking LED so that the only button pushes that are scored are the ones when the light is on.\\n\\nI thought this would be a very simple code to construct but it has turned out to be quite problematic.  The struggle I'm having is getting the light to blink on at a consistent (500 ms) interval, then stay off for a random interval (1000-4000 ms) WITHOUT using the delay function.  I can't use the delay function because I need the code to register the touches while the light is on, or reset the counter while the light is off.\\n\\nI've tried [this method](https:\/\/www.arduino.cc\/en\/Tutorial\/BlinkWithoutDelay) from the Arduino website but it has been difficult to get the light to stay on at the specified time interval.  I'm going to continue doing research on my own but if anyone has any suggestions for me please let me know!\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 9, 'created_utc': '1447908558'}"}
{"id":"1667917","text":"Title: How can I get better at remembering languages and frameworks to switch between them more easily?\nThe text below was posted in an online community called cscareerquestions in the year 2019:\n\nI dont have the best memory and this can be quite the disadvantage when Im switching languages or frameworks for different frysarah@example.net. If I work on React for a month, I will get good enough at remembering code nuances in react or the lifecycle methods. But if I switch to another framework like Rails, Ill start to forget things in React and this could be quite the hindrance 3 months from now when I need to go back to react. \n\nDoes anyone have any tips or advice on this? in addition to this, does anyone have any recommendations on memory books I can read to improve my memory?","meta":"{'source': 'reddit_posts', 'id': 'b9a5tx', 'title': 'How can I get better at remembering languages and frameworks to switch between them more easily?', 'author': 'faxpam', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': 'I dont have the best memory and this can be quite the disadvantage when Im switching languages or frameworks for different projects at work. If I work on React for a month, I will get good enough at remembering code nuances in react or the lifecycle methods. But if I switch to another framework like Rails, Ill start to forget things in React and this could be quite the hindrance 3 months from now when I need to go back to react. \\n\\nDoes anyone have any tips or advice on this? in addition to this, does anyone have any recommendations on memory books I can read to improve my memory?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 3, 'created_utc': 1554366717}"}
{"id":"604621","text":"Title: How to use pronunciation to change Siris voice is Apple Maps\nThe text below was posted in an online community called ios in the year 2022:\n\nIn settings &gt; accessibility &gt; spoken content &gt; pronunciations it looks like you can replace Siri saying a phrase with another phrase. However I can seem to get this to work in Apple Maps. Could I, for example, make her flip left and right so that she tells me to turn the wrong direction just for jokes?","meta":"{'source': 'reddit_posts', 'id': 'vfk5mf', 'title': 'How to use pronunciation to change Siris voice is Apple Maps', 'author': 'Et12355', 'subreddit': 'ios', 'subreddit_id': '2ru5b', 'body': 'In settings &gt; accessibility &gt; spoken content &gt; pronunciations it looks like you can replace Siri saying a phrase with another phrase. However I can seem to get this to work in Apple Maps. Could I, for example, make her flip left and right so that she tells me to turn the wrong direction just for jokes?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1655601952}"}
{"id":"2412235","text":"Title: Finally charged overnight. 42mm SG BSB ordered XX:05.\nThe text below was posted in an online community called AppleWatch in the year 2015:\n\nHad a May 13-27 date originally.  There's hope for us guys! Keep strong!","meta":"{'source': 'reddit_posts', 'id': '34e71e', 'title': 'Finally charged overnight. 42mm SG BSB ordered XX:05.', 'author': 'xarius214', 'subreddit': 'AppleWatch', 'subreddit_id': '2wav7', 'body': \"Had a May 13-27 date originally.  There's hope for us guys! Keep strong!\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 14, 'created_utc': '1430397715'}"}
{"id":"2265462","text":"Title: Should I use Wayland or X.Org?\nThe text below was posted in an online community called linuxquestions in the year 2020:\n\nHi,\n\nI'm running GNOME on Arch on a laptop with an Optimus setup (a NVidia graphics card and a built in Intel one) and I would like to use my NVidia card for games and other intensive stuff and the Intel one for general use.  From my experience using the proprietary NVidia driver with Wayland  is very buggy, and I would like to know whether I should use Wayland with the Nouveau driver or  [X.Org](https:\/\/X.Org) with the proprietary one.\n\nThanks in advance!\n\nEDIT: Thanks for all the responses, I have decided to use the proprietary driver along with [X.Org](https:\/\/X.Org) for now.  I have seen on the ArchWiki that the problems with the proprietary driver and Wayland are expected to be fixed this spring, so I will try that out when that happens.","meta":"{'source': 'reddit_posts', 'id': 'fk46w2', 'title': 'Should I use Wayland or X.Org?', 'author': 'FintasticMan', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': \"Hi,\\n\\nI'm running GNOME on Arch on a laptop with an Optimus setup (a NVidia graphics card and a built in Intel one) and I would like to use my NVidia card for games and other intensive stuff and the Intel one for general use.  From my experience using the proprietary NVidia driver with Wayland  is very buggy, and I would like to know whether I should use Wayland with the Nouveau driver or  [X.Org](https:\/\/X.Org) with the proprietary one.\\n\\nThanks in advance!\\n\\nEDIT: Thanks for all the responses, I have decided to use the proprietary driver along with [X.Org](https:\/\/X.Org) for now.  I have seen on the ArchWiki that the problems with the proprietary driver and Wayland are expected to be fixed this spring, so I will try that out when that happens.\", 'body_is_trimmed': False, 'score': 79, 'over_18': False, 'num_comments': 80, 'created_utc': 1584447154}"}
{"id":"104237","text":"Title: At&amp;t Galaxy SII no sound in calls on either end.\nThe text below was posted in an online community called Android in the year 2011:\n\nNo matter what I do so far I have not solved it.\n\nPlanning on exchanging it if nothing else works.\n\nThink it is carrier, software or hardware? I get sound just fine through YouTube and other media, just nothing when I call anyone or receive a call.","meta":"{'source': 'reddit_posts', 'id': 'kz5jn', 'title': 'At&amp;t Galaxy SII no sound in calls on either end.', 'author': 'Smoothface', 'subreddit': 'Android', 'subreddit_id': '2qlqh', 'body': 'No matter what I do so far I have not solved it.\\n\\nPlanning on exchanging it if nothing else works.\\n\\nThink it is carrier, software or hardware? I get sound just fine through YouTube and other media, just nothing when I call anyone or receive a call.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1317626360}"}
{"id":"266265","text":"Title: A nice clear way to get \"date()\" from a datetime value that could be \"None\"?\nThe text below was posted in an online community called learnpython in the year 2012:\n\nI have a bunch of code that pulls from a database, using PyODBC.\n\n    cursor.execute(query_string, query_params)  # Parameterized query\n\n    for row in cursor:\n        try:\n            obj.step1_start = row.StartDateStep1.date()\n        except AttributeError:\n            obj.step1_start = row.StartDateStep1\n\n`row.StartDateStep1` is, thanks to PyODBC's wonderful magic, being returned as a datetime object, but I only want the date, because later I'm running into issues and getting a `TypeError: can't compare datetime.datetime to datetime.date`. (A flaw, in my opinion, in the datetime module.)\n\nSo I can do the conversion with the `.date()` method of the `datetime` object, but if the database has no value, it is returned as `None`. And then I get an error, as obviously `'NoneType' object has no attribute 'date'`.\n\nSo you see what I tried to do (no pun intended) with my `try\/except` code. (My `except` clause could be just sipmly: `obj.step1_start = None`)\n\nIt works fine, but it's ugly, and I have numerous rows to read (well, 3, actually) and whenever possible I don't like catching exceptions that aren't really exceptions, they are a normal scenario!\n\n**Could I do something like a ... _decorator_? Or some other Python magic?**","meta":"{'source': 'reddit_posts', 'id': '13otxv', 'title': 'A nice clear way to get \"date()\" from a datetime value that could be \"None\"?', 'author': 'symmitchry', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': \"I have a bunch of code that pulls from a database, using PyODBC.\\n\\n    cursor.execute(query_string, query_params)  # Parameterized query\\n\\n    for row in cursor:\\n        try:\\n            obj.step1_start = row.StartDateStep1.date()\\n        except AttributeError:\\n            obj.step1_start = row.StartDateStep1\\n\\n`row.StartDateStep1` is, thanks to PyODBC's wonderful magic, being returned as a datetime object, but I only want the date, because later I'm running into issues and getting a `TypeError: can't compare datetime.datetime to datetime.date`. (A flaw, in my opinion, in the datetime module.)\\n\\nSo I can do the conversion with the `.date()` method of the `datetime` object, but if the database has no value, it is returned as `None`. And then I get an error, as obviously `'NoneType' object has no attribute 'date'`.\\n\\nSo you see what I tried to do (no pun intended) with my `try\/except` code. (My `except` clause could be just sipmly: `obj.step1_start = None`)\\n\\nIt works fine, but it's ugly, and I have numerous rows to read (well, 3, actually) and whenever possible I don't like catching exceptions that aren't really exceptions, they are a normal scenario!\\n\\n**Could I do something like a ... _decorator_? Or some other Python magic?**\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 5, 'created_utc': 1353713697}"}
{"id":"1210689","text":"Title: I don't know how to approach an underperforming coworker\nThe text below was posted in an online community called cscareerquestions in the year 2020:\n\nTl;dr: coworker is underperforming to the point of blocking my work, and I want to help.\n\nAs a disclaimer, I work at a FAANG company, but generally hate the cutthroat culture. I try to promote a less toxic environment, and have always struggled with accepting when coworkers get fired for performance.\n\nRecently, I made a team switch in a career move to push for a senior role. I got put on a project with a well addressed and documented problem, and I was to take lead on it (and had another dev assigned)\n\nThe project had been in the works for a few months, and when I looked at the code base, it was still very much in a prototype, not functioning state. It was also very messy, but I understood that this was a prototype. We agreed on a language and framework to use and I started productionizing the code. After a sprint, I had the code base all set up - but I noticed my coworker was having trouble getting started. I proactively scheduled a meeting to go over the framework and boilerplate code, then gave resources to example code. Another week goes by, nothing.\n\n I reached out again to see if he was having issues or had any questions on the framework. Admittedly idk if this is overstepping or helping, remote work environments make it a tough call. He told me that he doesn't think we should use that framework since it has an unnecessary complexity to it. I explain long term implications of why we will want to use it, but compromise by saying to code out the business logic in this sprint and I can handle the boilerplate code to move it to a framework. He sends out a code review, but I couldn't approve it due to a critical security issue that needed to be fixed (I can also trace that this is copy pasted code). The feedback I left was maybe a days worth of effort.\n\nAnother couple weeks go by which brings us to today, and I'm now at a point where my work is blocked until he finishes this first task. I spent a day and coded out his task locally to test the end to end functionality. But now I have a local branch with his completed task that I don't want to send it for review because that's just a dick move if i did. I'm not sure if it's a lack of effort, or if he's been struggling, but I'm out of ideas on how to approach this. I feel as though I forced him to use a framework he wasn't familiar with and that could be why he's had trouble getting started. Does anyone have advice on what else I can try?","meta":"{'source': 'reddit_posts', 'id': 'kn1kjf', 'title': \"I don't know how to approach an underperforming coworker\", 'author': 'Sagemoon', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"Tl;dr: coworker is underperforming to the point of blocking my work, and I want to help.\\n\\nAs a disclaimer, I work at a FAANG company, but generally hate the cutthroat culture. I try to promote a less toxic environment, and have always struggled with accepting when coworkers get fired for performance.\\n\\nRecently, I made a team switch in a career move to push for a senior role. I got put on a project with a well addressed and documented problem, and I was to take lead on it (and had another dev assigned)\\n\\nThe project had been in the works for a few months, and when I looked at the code base, it was still very much in a prototype, not functioning state. It was also very messy, but I understood that this was a prototype. We agreed on a language and framework to use and I started productionizing the code. After a sprint, I had the code base all set up - but I noticed my coworker was having trouble getting started. I proactively scheduled a meeting to go over the framework and boilerplate code, then gave resources to example code. Another week goes by, nothing.\\n\\n I reached out again to see if he was having issues or had any questions on the framework. Admittedly idk if this is overstepping or helping, remote work environments make it a tough call. He told me that he doesn't think we should use that framework since it has an unnecessary complexity to it. I explain long term implications of why we will want to use it, but compromise by saying to code out the business logic in this sprint and I can handle the boilerplate code to move it to a framework. He sends out a code review, but I couldn't approve it due to a critical security issue that needed to be fixed (I can also trace that this is copy pasted code). The feedback I left was maybe a days worth of effort.\\n\\nAnother couple weeks go by which brings us to today, and I'm now at a point where my work is blocked until he finishes this first task. I spent a day and coded out his task locally to test the end to end functionality. But now I have a local branch with his completed task that I don't want to send it for review because that's just a dick move if i did. I'm not sure if it's a lack of effort, or if he's been struggling, but I'm out of ideas on how to approach this. I feel as though I forced him to use a framework he wasn't familiar with and that could be why he's had trouble getting started. Does anyone have advice on what else I can try?\", 'body_is_trimmed': False, 'score': 37, 'over_18': False, 'num_comments': 17, 'created_utc': 1609332030}"}
{"id":"241212","text":"Title: Unibody MacBook Battery Proper Usage?\nThe text below was posted in an online community called apple in the year 2010:\n\nI just got my replacement battery for my almost two year old 13\" Unibody Macbook. The old one swelled up to the point that I couldn't use the trackpad or properly close the battery cover. I suspect this was due to overcharging. Now, in order to keep this new battery in good condition for years to come, how should I use this battery? Should I remove it whenever I'm plugged in? Is it okay to just leave the battery in all the time?","meta":"{'source': 'reddit_posts', 'id': 'clavy', 'title': 'Unibody MacBook Battery Proper Usage?', 'author': 'frozenelf', 'subreddit': 'apple', 'subreddit_id': '2qh1f', 'body': 'I just got my replacement battery for my almost two year old 13\" Unibody Macbook. The old one swelled up to the point that I couldn\\'t use the trackpad or properly close the battery cover. I suspect this was due to overcharging. Now, in order to keep this new battery in good condition for years to come, how should I use this battery? Should I remove it whenever I\\'m plugged in? Is it okay to just leave the battery in all the time?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 7, 'created_utc': 1278076728}"}
{"id":"1348003","text":"Title: Extension to make Explorer easier to view?\nThe text below was posted in an online community called vscode in the year 2021:\n\nI find the file explorer in plain old VS Code difficult to navigate. Biggest issue is that i find it difficult to see what level a certain file is in in an expanded tree. I found a beautiful plugin \"Indent Rainbow\" that color every column in cascading colors. Is there any extension that is doing something similar or in any other way makes it better?","meta":"{'source': 'reddit_posts', 'id': 'rbnyht', 'title': 'Extension to make Explorer easier to view?', 'author': 'enok82', 'subreddit': 'vscode', 'subreddit_id': '381yu', 'body': 'I find the file explorer in plain old VS Code difficult to navigate. Biggest issue is that i find it difficult to see what level a certain file is in in an expanded tree. I found a beautiful plugin \"Indent Rainbow\" that color every column in cascading colors. Is there any extension that is doing something similar or in any other way makes it better?', 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 11, 'created_utc': 1638957510}"}
{"id":"247129","text":"Title: Tell me what you think about the new 27\" iMacs. Should they have done more or is this good?\nThe text below was posted in an online community called apple in the year 2017:\n\nWith every year I get a little less excited with tech and more encompassed with family or work so I can't keep up with spec talk, but I still use my iMac for video editing and 42mp photo editing. I'm currently on a 2012 i7 iMac with 24gb. I found out the thunderbolt ports are bricked when I changed my audio io (never used them before) and coincidentally my fathers are as well (also never used). So working ones would be nice. \n\nId like fast performance obviously, but I'm not sure how incremental everyone feels this generation of top spec 27\" iMacs is. Does it seem like a good value? I feel like the consensus was that the the first 5k iMacs were underpowered and I honestly haven't found a lot on the 27\". So what are your thoughts?","meta":"{'source': 'reddit_posts', 'id': '6g43n9', 'title': 'Tell me what you think about the new 27\" iMacs. Should they have done more or is this good?', 'author': 'AnonymoustacheD', 'subreddit': 'apple', 'subreddit_id': '2qh1f', 'body': 'With every year I get a little less excited with tech and more encompassed with family or work so I can\\'t keep up with spec talk, but I still use my iMac for video editing and 42mp photo editing. I\\'m currently on a 2012 i7 iMac with 24gb. I found out the thunderbolt ports are bricked when I changed my audio io (never used them before) and coincidentally my fathers are as well (also never used). So working ones would be nice. \\n\\nId like fast performance obviously, but I\\'m not sure how incremental everyone feels this generation of top spec 27\" iMacs is. Does it seem like a good value? I feel like the consensus was that the the first 5k iMacs were underpowered and I honestly haven\\'t found a lot on the 27\". So what are your thoughts?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 0, 'created_utc': 1496958349}"}
{"id":"1877690","text":"Title: Bluetooth suddenly stopped working.\nThe text below was posted in an online community called Windows10 in the year 2019:\n\nDell 5587\n\nWindows 1909\n\nBluetooth stopped working like 2 hours ago, right after I updated my Nvidia drivers (tinynvidiaupdatechecker)\n\nBluetooth does not appear in Device Manager, Troubleshooter says my device is not Bluetooth capable (WHAT?), no switch in \"Devices\"\n\nTried Bluetooth drivers (for Intel 9260) both from Dell and Intel, nothing helped. ProSet control panel does not exist.\n\nWindows Update has nothing.\n\nBluetooth services are set Manual and always disabled after a restart. Trying to set them to Autostart just gives Invalid Parameter error.\n\nNo, I don't have a backup (where am I supposed to store backup for a 1TB SSD??)\n\nAny idea what to do before I have to reinstall? Again?","meta":"{'source': 'reddit_posts', 'id': 'e1ilb8', 'title': 'Bluetooth suddenly stopped working.', 'author': 'dustojnikhummer', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': 'Dell 5587\\n\\nWindows 1909\\n\\nBluetooth stopped working like 2 hours ago, right after I updated my Nvidia drivers (tinynvidiaupdatechecker)\\n\\nBluetooth does not appear in Device Manager, Troubleshooter says my device is not Bluetooth capable (WHAT?), no switch in \"Devices\"\\n\\nTried Bluetooth drivers (for Intel 9260) both from Dell and Intel, nothing helped. ProSet control panel does not exist.\\n\\nWindows Update has nothing.\\n\\nBluetooth services are set Manual and always disabled after a restart. Trying to set them to Autostart just gives Invalid Parameter error.\\n\\nNo, I don\\'t have a backup (where am I supposed to store backup for a 1TB SSD??)\\n\\nAny idea what to do before I have to reinstall? Again?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 12, 'created_utc': 1574700066}"}
{"id":"875480","text":"Title: Mac Battery - Service Recommended\nThe text below was posted in an online community called mac in the year 2021:\n\nI got a message today saying \"service recommended\" for my mac. I included my specs regarding the laptop below, what is the worst that's going to happen if I don't take it in for a check? \n\nAlso, my warranty has expired so how much would it cost to get my battery replaced? Do you think I should update the software before going into the Apple store to get it serviced?\n\n&amp;#x200B;\n\nhttps:\/\/preview.redd.it\/hrydmoabb4w71.png?width=558&amp;format=png&amp;auto=webp&amp;s=6aeca0f5075871f1ce3abdf73e766dab70d0e296\n\nhttps:\/\/preview.redd.it\/mc1fqdsfa4w71.png?width=674&amp;format=png&amp;auto=webp&amp;s=9d8bed9399a3c2a3f74b202d071a6870bdd33538","meta":"{'source': 'reddit_posts', 'id': 'qheumt', 'title': 'Mac Battery - Service Recommended', 'author': 'student1998', 'subreddit': 'mac', 'subreddit_id': '2qh4u', 'body': 'I got a message today saying \"service recommended\" for my mac. I included my specs regarding the laptop below, what is the worst that\\'s going to happen if I don\\'t take it in for a check? \\n\\nAlso, my warranty has expired so how much would it cost to get my battery replaced? Do you think I should update the software before going into the Apple store to get it serviced?\\n\\n&amp;#x200B;\\n\\nhttps:\/\/preview.redd.it\/hrydmoabb4w71.png?width=558&amp;format=png&amp;auto=webp&amp;s=6aeca0f5075871f1ce3abdf73e766dab70d0e296\\n\\nhttps:\/\/preview.redd.it\/mc1fqdsfa4w71.png?width=674&amp;format=png&amp;auto=webp&amp;s=9d8bed9399a3c2a3f74b202d071a6870bdd33538', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1635395118}"}
{"id":"1207827","text":"Title: We're hosting a competition! Submit your entries here.\nThe text below was posted in an online community called iOSBeta in the year 2016:\n\nHey folks!\n\nWe figured we'd try and have some fun before the next beta hype train arrives (choo choo..), so we've decided to host a competition!\n\nNow, you're probably asking yourself.. What's the competition about? No you're not, you're probably trying to figure out why a bunch of 4 year olds got hold of this subreddit. The answer? \/u\/TBoneTheOriginal is actually our Dad and uses this as a means to keep us busy whilst he makes \/r\/Apple look pretty.\n\nBut anyways, here's the plan: Anyone can participate, except us mods (cue the Titanic theme), and all you have to do is submit a screenshot of a handwritten message or drawing using Apple's new messages feature. That simply, huh? \n\nOops, my bad. I mean't: [That's simple, hugh?](http:\/\/s2.quickmeme.com\/img\/7e\/7e3ca8564178e6fc4e219387b260f48a4b305fb2c93db5c8960952662e12b8f5.jpg)\n\nTo participate, submit your entry in a comment below this post. We'll be commenting our examples to get you started, so take a look at those if you're not sure how to begin.\n\nThe winner will be chosen based on comment score, and will be blessed with the almighty honor of recieving their own custom flair. I know, right?! The only limitations are that the flair must be handwritten using the feature we'll all be using for this competition. It can be anything or say anything you want so long as it doesn't say the N-word or \"Tom is a douche bag\", because both of those are - in my opinion - equally as awful to say.\n\nSo that's it! Submissions close Sunday evening. We'll post on Monday with the winner and runners up!\n\nHope you enjoy  -\n\nTom","meta":"{'source': 'reddit_posts', 'id': '4p0r6d', 'title': \"We're hosting a competition! Submit your entries here.\", 'author': 'tomthefnkid', 'subreddit': 'iOSBeta', 'subreddit_id': '2sjys', 'body': 'Hey folks!\\n\\nWe figured we\\'d try and have some fun before the next beta hype train arrives (choo choo..), so we\\'ve decided to host a competition!\\n\\nNow, you\\'re probably asking yourself.. What\\'s the competition about? No you\\'re not, you\\'re probably trying to figure out why a bunch of 4 year olds got hold of this subreddit. The answer? \/u\/TBoneTheOriginal is actually our Dad and uses this as a means to keep us busy whilst he makes \/r\/Apple look pretty.\\n\\nBut anyways, here\\'s the plan: Anyone can participate, except us mods (cue the Titanic theme), and all you have to do is submit a screenshot of a handwritten message or drawing using Apple\\'s new messages feature. That simply, huh? \\n\\nOops, my bad. I mean\\'t: [That\\'s simple, hugh?](http:\/\/s2.quickmeme.com\/img\/7e\/7e3ca8564178e6fc4e219387b260f48a4b305fb2c93db5c8960952662e12b8f5.jpg)\\n\\nTo participate, submit your entry in a comment below this post. We\\'ll be commenting our examples to get you started, so take a look at those if you\\'re not sure how to begin.\\n\\nThe winner will be chosen based on comment score, and will be blessed with the almighty honor of recieving their own custom flair. I know, right?! The only limitations are that the flair must be handwritten using the feature we\\'ll all be using for this competition. It can be anything or say anything you want so long as it doesn\\'t say the N-word or \"Tom is a douche bag\", because both of those are - in my opinion - equally as awful to say.\\n\\nSo that\\'s it! Submissions close Sunday evening. We\\'ll post on Monday with the winner and runners up!\\n\\nHope you enjoy  -\\n\\nTom', 'body_is_trimmed': False, 'score': 10, 'over_18': False, 'num_comments': 16, 'created_utc': 1466453844}"}
{"id":"1227045","text":"Title: What happened of Google's code editor?\nThe text below was posted in an online community called webdev in the year 2015:\n\nI heard about one year ago that Google was making code editor that would rival sublimetext. I can very vaguely remember it was being labelled splash? or something from s. \n\nWhat's the progress on it. Any news? is it dead? Google isn't bringing anything","meta":"{'source': 'reddit_posts', 'id': '2yekcg', 'title': \"What happened of Google's code editor?\", 'author': 'techsin101', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': \"I heard about one year ago that Google was making code editor that would rival sublimetext. I can very vaguely remember it was being labelled splash? or something from s. \\n\\nWhat's the progress on it. Any news? is it dead? Google isn't bringing anything\", 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 17, 'created_utc': '1425870721'}"}
{"id":"1996635","text":"Title: Value of a CompE BS and an MBA?\nThe text below was posted in an online community called cscareerquestions in the year 2018:\n\nI am a high school student, and my end goal is to work in a more influential position at a tech company. As far as I'm concerned, a viable path seems to be getting a BS in CompE, working for a time, and then get an MBA to eventually work as a project manager, IT director, etc. Thanks.","meta":"{'source': 'reddit_posts', 'id': 'a9kebx', 'title': 'Value of a CompE BS and an MBA?', 'author': 'SanderzFor3', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"I am a high school student, and my end goal is to work in a more influential position at a tech company. As far as I'm concerned, a viable path seems to be getting a BS in CompE, working for a time, and then get an MBA to eventually work as a project manager, IT director, etc. Thanks.\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 3, 'created_utc': 1545789280}"}
{"id":"1285429","text":"Title: Has anyone submitted an app to Appstore requiring Bluetooth connection to Hardware to function?\nThe text below was posted in an online community called iOSProgramming in the year 2020:\n\nAs title states looking to submit an app that using bluetooth to connect to a physical device. Basically the app would have very limited functionality without connecting to the physical device via bluetooth.\n\nThinking of building something MVP for the physical device but if I submit the app to the Appstore will they need the physical device in the review process to test the app?\n\nThanks!","meta":"{'source': 'reddit_posts', 'id': 'k5nou5', 'title': 'Has anyone submitted an app to Appstore requiring Bluetooth connection to Hardware to function?', 'author': 'lawc', 'subreddit': 'iOSProgramming', 'subreddit_id': '2s61a', 'body': 'As title states looking to submit an app that using bluetooth to connect to a physical device. Basically the app would have very limited functionality without connecting to the physical device via bluetooth.\\n\\nThinking of building something MVP for the physical device but if I submit the app to the Appstore will they need the physical device in the review process to test the app?\\n\\nThanks!', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 8, 'created_utc': 1606960106}"}
{"id":"2309392","text":"Title: SBCA certification\nThe text below was posted in an online community called networking in the year 2014:\n\nI want to be a net tech someday and would like to start my career path. End game is working for Cox or Google Fiber, working on the fiber lines and the like.  Since cox isnt hiring right now I am shooting for Direct Tv just to get into the field. Would getting a SBCA cert help get my first job? If so, Which one would be best to go for? I know they do in house training but would the training give me an edge?","meta":"{'source': 'reddit_posts', 'id': '26o6tq', 'title': 'SBCA certification', 'author': 'Thewightknight', 'subreddit': 'networking', 'subreddit_id': '2qkaf', 'body': 'I want to be a net tech someday and would like to start my career path. End game is working for Cox or Google Fiber, working on the fiber lines and the like.  Since cox isnt hiring right now I am shooting for Direct Tv just to get into the field. Would getting a SBCA cert help get my first job? If so, Which one would be best to go for? I know they do in house training but would the training give me an edge?', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 2, 'created_utc': '1401252954'}"}
{"id":"304440","text":"Title: Is anyone here attending the AWS \"Loft\" event on London next week?\nThe text below was posted in an online community called aws in the year 2016:\n\nMy companies sending me up there and I'm interested to know if it's worth while?\n\nI have a one-to-one with an AWS Architect, so that should be fun.","meta":"{'source': 'reddit_posts', 'id': '4em4sx', 'title': 'Is anyone here attending the AWS \"Loft\" event on London next week?', 'author': 'TheEvilDrPie', 'subreddit': 'aws', 'subreddit_id': '2qh84', 'body': \"My companies sending me up there and I'm interested to know if it's worth while?\\n\\nI have a one-to-one with an AWS Architect, so that should be fun.\", 'body_is_trimmed': False, 'score': 10, 'over_18': False, 'num_comments': 3, 'created_utc': 1460562012}"}
{"id":"1892277","text":"Title: Looking to get into a graduate program on ai and ethics.\nThe text below was posted in an online community called artificial in the year 2020:\n\nI am currently doing my undergraduate degree (double major in liberal arts, and Philosophy), and I would like to know which books I might read in order to improve my chances to pursue ai in my graduate studies. I have read the wiki, and so I figure I should read Russel and Norvig's Aima, but I figured I would ask for additional resources. Due to my academic background, I figure I should read up on the tech side, but I wouldn't know where to start. Also, if there are any books that someone might suggest regarding a philosophical approach to ai, that would be appreciated.\n\nEssentially, I am something of a beginner and am looking for books that won't go over my head.\n\nEdit: I suppose I should add that I am interested in both ANI and AGI, although AGI interests me more.","meta":"{'source': 'reddit_posts', 'id': 'f0wkse', 'title': 'Looking to get into a graduate program on ai and ethics.', 'author': 'DAZZcharby', 'subreddit': 'artificial', 'subreddit_id': '2qhfb', 'body': \"I am currently doing my undergraduate degree (double major in liberal arts, and Philosophy), and I would like to know which books I might read in order to improve my chances to pursue ai in my graduate studies. I have read the wiki, and so I figure I should read Russel and Norvig's Aima, but I figured I would ask for additional resources. Due to my academic background, I figure I should read up on the tech side, but I wouldn't know where to start. Also, if there are any books that someone might suggest regarding a philosophical approach to ai, that would be appreciated.\\n\\nEssentially, I am something of a beginner and am looking for books that won't go over my head.\\n\\nEdit: I suppose I should add that I am interested in both ANI and AGI, although AGI interests me more.\", 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 5, 'created_utc': 1581191021}"}
{"id":"2030732","text":"Title: Watch thinks Im working out when on the bus\nThe text below was posted in an online community called AppleWatch in the year 2020:\n\nI am a high school student and I have to take the bus to get to school. Ive had my Apple Watch for over a year now (series 4) and I only started realizing it. When Im on the bus my Apple Watch will think Im working out. When Im sitting down listening to music I get a notification my exercise ring was closed. Does anyone know how to turn this off? Its weird and I actually want to be credited for me actually working out. \nThanks \n-Matt","meta":"{'source': 'reddit_posts', 'id': 'ewr74d', 'title': 'Watch thinks Im working out when on the bus', 'author': 'Matt2382', 'subreddit': 'AppleWatch', 'subreddit_id': '2wav7', 'body': 'I am a high school student and I have to take the bus to get to school. Ive had my Apple Watch for over a year now (series 4) and I only started realizing it. When Im on the bus my Apple Watch will think Im working out. When Im sitting down listening to music I get a notification my exercise ring was closed. Does anyone know how to turn this off? Its weird and I actually want to be credited for me actually working out. \\nThanks \\n-Matt', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 4, 'created_utc': 1580489445}"}
{"id":"268763","text":"Title: Pre-5.5 project crashing now, what has changed?\nThe text below was posted in an online community called Unity3D in the year 2016:\n\nMy project that was building to android fine on Unity 5.3 now crashes when building to android on 5.5.0f3.  \nI created a new project with the simplest components and narrowed it down to my transition script, that uses OnRenderImage, Graphics.Blit and a shader with textures.  \n  \nI tried looking through the adb logcat, but it seems to not really give any information I think.  \nhttp:\/\/pastebin.com\/47GMkSsT\n\nDoes anyone have any ideas?","meta":"{'source': 'reddit_posts', 'id': '5iugsu', 'title': 'Pre-5.5 project crashing now, what has changed?', 'author': 'fusedotcore', 'subreddit': 'Unity3D', 'subreddit_id': '2qwj8', 'body': 'My project that was building to android fine on Unity 5.3 now crashes when building to android on 5.5.0f3.  \\nI created a new project with the simplest components and narrowed it down to my transition script, that uses OnRenderImage, Graphics.Blit and a shader with textures.  \\n  \\nI tried looking through the adb logcat, but it seems to not really give any information I think.  \\nhttp:\/\/pastebin.com\/47GMkSsT\\n\\nDoes anyone have any ideas?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 7, 'created_utc': 1481981461}"}
{"id":"1444346","text":"Title: Windows 10 Install Stuck on \"Just a Moment\"\nThe text below was posted in an online community called Windows10 in the year 2015:\n\nHey, I'm new to this subreddit, so sorry if this is the wrong place to ask. \n\nI'm trying to install Windows 10 onto a Virtual Machine, which I did once before with success. However, I deleted that, not realizing I might want to use it again. This time around, it's stuck on \"Just a Moment\" screen. Does anyone know what's going on?","meta":"{'source': 'reddit_posts', 'id': '31x6uf', 'title': 'Windows 10 Install Stuck on \"Just a Moment\"', 'author': 'sch61', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': 'Hey, I\\'m new to this subreddit, so sorry if this is the wrong place to ask. \\n\\nI\\'m trying to install Windows 10 onto a Virtual Machine, which I did once before with success. However, I deleted that, not realizing I might want to use it again. This time around, it\\'s stuck on \"Just a Moment\" screen. Does anyone know what\\'s going on?', 'body_is_trimmed': False, 'score': 12, 'over_18': False, 'num_comments': 9, 'created_utc': '1428528149'}"}
{"id":"694815","text":"Title: Unable to unset the C-b - evil-scroll-page-up and C-f - evil-scroll-page-down\nThe text below was posted in an online community called emacs in the year 2021:\n\nI am a new user to doom emacs . I was trying to global set the key C-f to +vertico\/consult-fd and C-b to consult-buffer but the keys kept the same function even after the command \n\n(global-unset-key  (kbd \"C-f\" ))\n\n(global-unset-key  (kbd \"C-b\" ))\n\n(define-prefix-command  'fuzzy-fd)\n\n(global-set-key (kbd \"C-f\") fuzzy-fd)\n\n(define-prefix-command  'buffer-consult)\n\n(global-set-key (kbd \"C-b\")  buffer-consult)\n\n(global-set-key (kbd \"C-f\")  '+vertico\/consult-fd)\n\n(global-set-key (kbd \"C-b\")  'consult-buffer )","meta":"{'source': 'reddit_posts', 'id': 'qxg5pe', 'title': 'Unable to unset the C-b - evil-scroll-page-up and C-f - evil-scroll-page-down', 'author': 'aadi58002', 'subreddit': 'emacs', 'subreddit_id': '2qhwu', 'body': 'I am a new user to doom emacs . I was trying to global set the key C-f to +vertico\/consult-fd and C-b to consult-buffer but the keys kept the same function even after the command \\n\\n(global-unset-key  (kbd \"C-f\" ))\\n\\n(global-unset-key  (kbd \"C-b\" ))\\n\\n(define-prefix-command  \\'fuzzy-fd)\\n\\n(global-set-key (kbd \"C-f\") fuzzy-fd)\\n\\n(define-prefix-command  \\'buffer-consult)\\n\\n(global-set-key (kbd \"C-b\")  buffer-consult)\\n\\n(global-set-key (kbd \"C-f\")  \\'+vertico\/consult-fd)\\n\\n(global-set-key (kbd \"C-b\")  \\'consult-buffer )', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 2, 'created_utc': 1637328334}"}
{"id":"913492","text":"Title: Programming in the medical field\nThe text below was posted in an online community called learnprogramming in the year 2019:\n\nHello,\n\nWhat are some projects you could do within the medical field upon learning to program? Also, what books would you recommend which deal with the intersection of Computer Science and Medicine?","meta":"{'source': 'reddit_posts', 'id': 'don61y', 'title': 'Programming in the medical field', 'author': 'miserablesafety2', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'Hello,\\n\\nWhat are some projects you could do within the medical field upon learning to program? Also, what books would you recommend which deal with the intersection of Computer Science and Medicine?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 0, 'created_utc': 1572339695}"}
{"id":"2166778","text":"Title: Do deprecated features cause you to react?\nThe text below was posted in an online community called compsci in the year 2018:\n\nHi, we are researchers from the Netherlands, Italy and Switzerland, and we are looking into whether and why developers react to a deprecated feature in an API. It would be awesome if you could help us gain better understanding about this such that we can make more concrete recommendations to the Java language designers.\n\nThe survey can be found here: http:\/\/www.surveygizmo.com\/s3\/3754964\/Deprecation-reaction","meta":"{'source': 'reddit_posts', 'id': '9jd2ne', 'title': 'Do deprecated features cause you to react?', 'author': 'deprecator', 'subreddit': 'compsci', 'subreddit_id': '2qhmr', 'body': 'Hi, we are researchers from the Netherlands, Italy and Switzerland, and we are looking into whether and why developers react to a deprecated feature in an API. It would be awesome if you could help us gain better understanding about this such that we can make more concrete recommendations to the Java language designers.\\n\\nThe survey can be found here: http:\/\/www.surveygizmo.com\/s3\/3754964\/Deprecation-reaction', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 4, 'created_utc': 1538056499}"}
{"id":"64672","text":"Title: Struggling on JavaScript coursework to imitate parts of a search engine, please help, will be willing to voicetalk online!\nThe text below was posted in an online community called learnprogramming in the year 2015:\n\nI have been recently given coursework to imitate a search engine using javascript however i am stuck on one piece, which is a function called idxP1 I do not fully understand how javascript works. However i was hoping someone would be able to help me with the idxP1 code, please note i am not asking for you to do my coursework, but rather I am just looking for some guidance to get better! also sorry for bad formatting i am new to reddit it asks me to use the idxP1 code so it :\n\nreturns the index of the first page in contents that matches pattern (case insensitive) returns -1 if no matching page found \n\nso far my code is this starting from \/\/2 is my attempt:\n\nvar contents = [ \"different links to websites related to search\", \"images related to search\", \"videos related to search\"];\n\nvar pages = [ \"www.search.com\/text\/food \" , \"www.search.com\/videos\/food \" , \"www.search.com\/images\/food\" ];\n\nvar web = [ {url : \"www.search.com\/text\", content : \"allows user to search through websites.\" } , {url : \"www.search.com\/videos\", content : \"allows users to search through videos\" } , {url : \"www.search.com\/images\", content : \"allows user to search through images\" } ];\n\nfunction index(string, pattern, caseSensitive){ if(!caseSensitive){ string= string.toLowerCase(); pattern= pattern.toLowerCase(); } return string.indexOf(pattern); }\n\nalert(index(\"hello\",\"L\", false));\n\n\/\/2 idxP1(\"different links to websites related to search\", \"links\"); idxP1(\"images related to search\", \"images\"); alert(idxP1);","meta":"{'source': 'reddit_posts', 'id': '3rhjml', 'title': 'Struggling on JavaScript coursework to imitate parts of a search engine, please help, will be willing to voicetalk online!', 'author': 'MrDankWeed', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'I have been recently given coursework to imitate a search engine using javascript however i am stuck on one piece, which is a function called idxP1 I do not fully understand how javascript works. However i was hoping someone would be able to help me with the idxP1 code, please note i am not asking for you to do my coursework, but rather I am just looking for some guidance to get better! also sorry for bad formatting i am new to reddit it asks me to use the idxP1 code so it :\\n\\nreturns the index of the first page in contents that matches pattern (case insensitive) returns -1 if no matching page found \\n\\nso far my code is this starting from \/\/2 is my attempt:\\n\\nvar contents = [ \"different links to websites related to search\", \"images related to search\", \"videos related to search\"];\\n\\nvar pages = [ \"www.search.com\/text\/food \" , \"www.search.com\/videos\/food \" , \"www.search.com\/images\/food\" ];\\n\\nvar web = [ {url : \"www.search.com\/text\", content : \"allows user to search through websites.\" } , {url : \"www.search.com\/videos\", content : \"allows users to search through videos\" } , {url : \"www.search.com\/images\", content : \"allows user to search through images\" } ];\\n\\nfunction index(string, pattern, caseSensitive){ if(!caseSensitive){ string= string.toLowerCase(); pattern= pattern.toLowerCase(); } return string.indexOf(pattern); }\\n\\nalert(index(\"hello\",\"L\", false));\\n\\n\/\/2 idxP1(\"different links to websites related to search\", \"links\"); idxP1(\"images related to search\", \"images\"); alert(idxP1);', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 0, 'created_utc': '1446641751'}"}
{"id":"2260087","text":"Title: US-Remote ROR Job Opening: Junior Backend Developer\nThe text below was posted in an online community called rubyonrails in the year 2021:\n\nDeviceMagic is on the hunt for a Junior Ruby on Rails Backend Developer, preferably with at least 2+ years Ruby on Rails experience, experience in practical Web Dev (HTML\/CSS\/JS &amp; REST\/SOAP APIs), and familiar with Agile. This would be a full-time, remote role within the US (cannot provide sponsorship).\n\n* If interested, please apply here: [https:\/\/gocanvas.applytojob.com\/apply\/F9FKa6VHXR\/Backend-Software-Engineer-Ruby-On-Rails?source=ROR+Reddit+Forum](https:\/\/gocanvas.applytojob.com\/apply\/F9FKa6VHXR\/Backend-Software-Engineer-Ruby-On-Rails?source=ROR+Reddit+Forum)\n* If you have any questions, feel free to respond here or email [glane@example.org](mailto:glane@example.org)\n\nDevice Magic is profitable, scaling SaaS startup whose Mobile Forms product helps companies leverage their remote workforce to collect information with their phones and tablets. Banks, breweries, engineers, truckers, market researchers, charities, and tattoo parlors use us every day to make their work easier","meta":"{'source': 'reddit_posts', 'id': 'qcyg88', 'title': 'US-Remote ROR Job Opening: Junior Backend Developer', 'author': 'techrecrui2r', 'subreddit': 'rubyonrails', 'subreddit_id': '2qi04', 'body': 'DeviceMagic is on the hunt for a Junior Ruby on Rails Backend Developer, preferably with at least 2+ years Ruby on Rails experience, experience in practical Web Dev (HTML\/CSS\/JS &amp; REST\/SOAP APIs), and familiar with Agile. This would be a full-time, remote role within the US (cannot provide sponsorship).\\n\\n* If interested, please apply here: [https:\/\/gocanvas.applytojob.com\/apply\/F9FKa6VHXR\/Backend-Software-Engineer-Ruby-On-Rails?source=ROR+Reddit+Forum](https:\/\/gocanvas.applytojob.com\/apply\/F9FKa6VHXR\/Backend-Software-Engineer-Ruby-On-Rails?source=ROR+Reddit+Forum)\\n* If you have any questions, feel free to respond here or email [kiersten.helmey@gocanvas.com](mailto:kiersten.helmey@gocanvas.com)\\n\\nDevice Magic is profitable, scaling SaaS startup whose Mobile Forms product helps companies leverage their remote workforce to collect information with their phones and tablets. Banks, breweries, engineers, truckers, market researchers, charities, and tattoo parlors use us every day to make their work easier', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 4, 'created_utc': 1634841715}"}
{"id":"447294","text":"Title: Has anyone ever worked with encoders inside the mouse?\nThe text below was posted in an online community called arduino in the year 2018:\n\nI am trying to figure out how to use mouse encoders for a while now. \nEverytime I will get only increasing values, sometimes it even overshoots 300 400 values without input.\nPlease help.","meta":"{'source': 'reddit_posts', 'id': '9hlmv5', 'title': 'Has anyone ever worked with encoders inside the mouse?', 'author': 'srbhjn11', 'subreddit': 'arduino', 'subreddit_id': '2qknj', 'body': 'I am trying to figure out how to use mouse encoders for a while now. \\nEverytime I will get only increasing values, sometimes it even overshoots 300 400 values without input.\\nPlease help.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 9, 'created_utc': 1537499218}"}
{"id":"172847","text":"Title: Resources to read Python code applied to image analisys, graphics, computer vision\nThe text below was posted in an online community called Python in the year 2015:\n\nI have a simple request:\n\nMy current work requires me to do many tasks with images and computer vision. I would love to read more Python code applied to this area. \n\nWhat are some recommendations? I'm looking to read as much code as possible.","meta":"{'source': 'reddit_posts', 'id': '3emyja', 'title': 'Resources to read Python code applied to image analisys, graphics, computer vision', 'author': 'Zeekawla99ii', 'subreddit': 'Python', 'subreddit_id': '2qh0y', 'body': \"I have a simple request:\\n\\nMy current work requires me to do many tasks with images and computer vision. I would love to read more Python code applied to this area. \\n\\nWhat are some recommendations? I'm looking to read as much code as possible.\", 'body_is_trimmed': False, 'score': 15, 'over_18': False, 'num_comments': 5, 'created_utc': '1437891930'}"}
{"id":"586331","text":"Title: Virtualnetworkgateway vpn and NAT\nThe text below was posted in an online community called AZURE in the year 2022:\n\nHi,\n\nI am presented with the following.\n\n\\- 2 azure vnets with the same subnets. (83.161.120.155\/24)\n\nThese vnets are connected together through a virtual network gateway IPSEC connection.\n\nSo far so good. The problem now is that i'm trying to configure NAT for this situation so the hosts in the networks can talk to eachother but I cannot seem to figure it out. \n\nThere is a sample configuration listed on the vpn gateway page of Azure documentation but this shows a different set-up and I don't know how to translate this to my set-up.\n\nIs there anybody that can help ?\n\nThx in advance !","meta":"{'source': 'reddit_posts', 'id': 'u2qqnn', 'title': 'Virtualnetworkgateway vpn and NAT', 'author': 'Tr4ffic', 'subreddit': 'AZURE', 'subreddit_id': '2rkse', 'body': \"Hi,\\n\\nI am presented with the following.\\n\\n\\\\- 2 azure vnets with the same subnets. (10.10.1.0\/24)\\n\\nThese vnets are connected together through a virtual network gateway IPSEC connection.\\n\\nSo far so good. The problem now is that i'm trying to configure NAT for this situation so the hosts in the networks can talk to eachother but I cannot seem to figure it out. \\n\\nThere is a sample configuration listed on the vpn gateway page of Azure documentation but this shows a different set-up and I don't know how to translate this to my set-up.\\n\\nIs there anybody that can help ?\\n\\nThx in advance !\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 4, 'created_utc': 1649857726}"}
{"id":"1847827","text":"Title: Samba Config - All files owned by root user\nThe text below was posted in an online community called linuxquestions in the year 2021:\n\nNeed some help if possible. Setting up samba to share a folder which is owned by user and group \"nas\". Every time I write a file it sets the user to 'root'. I am able to force group with my config but force user does not do anything. 'nas' is a linux user and samba user. When I am logged in as 'nas' in command line and write a file to the folder the user:group is correct.  Not sure what I am doing wrong at this time.\n\n&amp;#x200B;\n\nConfig.\n\n&amp;#x200B;\n\n\\[global\\]\n\n    unix password sync = yes\n    recycle:versions = yes\n    add user to group script = \/usr\/sbin\/usermod -G '%g' '%u'\n    dns proxy = no\n    recycle:touch = yes\n    delete group script = \/usr\/sbin\/groupdel '%g'\n    syslog = 0\n    obey pam restrictions = yes\n    restrict anonymous = 2\n    os level = 20\n    workgroup = WORKGROUP\n    encrypt passwords = true\n    max log size = 1000\n    recycle:keeptree = yes\n    pam password change = yes\n    socket options = TCP\\_NODELAY\n    panic action = \/usr\/share\/samba\/panic-action %d\n    add group script = \/usr\/sbin\/groupadd '%g'\n    vfs object = recycle\n    add user script = \/usr\/sbin\/useradd -m '%u' -g users -G users\n    delete user script = \/usr\/sbin\/userdel -r '%u'\n    guest account = nobody\n    passdb backend = tdbsam\n    admin users = root\n    server string = TurnKey FileServer\n    recycle:exclude\\_dir = tmp quarantine\n    log file = \/var\/log\/samba\/samba.log\n    wins support = true\n    netbios name = STORAGE\n    passwd program = \/usr\/bin\/passwd %u\n    passwd chat = \\*Enter\\\\snew\\\\s\\*\\\\spassword:\\* %n\\\\n \\*Retype\\\\snew\\\\s\\*\\\\spassword:\\* %n\\\\n \\*password\\\\supdated\\\\ssuccessfully\\* .\n    security = user\n\n\\[Movies\\]\n\n    create mode = 644\n    writeable = yes\n    path = \/mnt\/storage\/movies\n    guest only = yes\n    public = yes\n    force group = nas\n    force user = nas\n\nEDIT:  In the end ditched turnkey file server and started from scratch with debian, installed samba tweaked the default config and it works now.  final folder config below.\n\n\\[Movies\\]\n\n       comment = Movies\n       path = \/mnt\/storage\/movies\n       guest ok = yes\n       browseable = yes\n       read only = no\n       create mask = 0644\n       force create mode = 0644\n       directory mask = 0755\n       force directory mode = 0755\n       force user = nas\n       force group = nas","meta":"{'source': 'reddit_posts', 'id': 'r9132f', 'title': 'Samba Config - All files owned by root user', 'author': 'ketasin', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': 'Need some help if possible. Setting up samba to share a folder which is owned by user and group \"nas\". Every time I write a file it sets the user to \\'root\\'. I am able to force group with my config but force user does not do anything. \\'nas\\' is a linux user and samba user. When I am logged in as \\'nas\\' in command line and write a file to the folder the user:group is correct.  Not sure what I am doing wrong at this time.\\n\\n&amp;#x200B;\\n\\nConfig.\\n\\n&amp;#x200B;\\n\\n\\\\[global\\\\]\\n\\n    unix password sync = yes\\n    recycle:versions = yes\\n    add user to group script = \/usr\/sbin\/usermod -G \\'%g\\' \\'%u\\'\\n    dns proxy = no\\n    recycle:touch = yes\\n    delete group script = \/usr\/sbin\/groupdel \\'%g\\'\\n    syslog = 0\\n    obey pam restrictions = yes\\n    restrict anonymous = 2\\n    os level = 20\\n    workgroup = WORKGROUP\\n    encrypt passwords = true\\n    max log size = 1000\\n    recycle:keeptree = yes\\n    pam password change = yes\\n    socket options = TCP\\\\_NODELAY\\n    panic action = \/usr\/share\/samba\/panic-action %d\\n    add group script = \/usr\/sbin\/groupadd \\'%g\\'\\n    vfs object = recycle\\n    add user script = \/usr\/sbin\/useradd -m \\'%u\\' -g users -G users\\n    delete user script = \/usr\/sbin\/userdel -r \\'%u\\'\\n    guest account = nobody\\n    passdb backend = tdbsam\\n    admin users = root\\n    server string = TurnKey FileServer\\n    recycle:exclude\\\\_dir = tmp quarantine\\n    log file = \/var\/log\/samba\/samba.log\\n    wins support = true\\n    netbios name = STORAGE\\n    passwd program = \/usr\/bin\/passwd %u\\n    passwd chat = \\\\*Enter\\\\\\\\snew\\\\\\\\s\\\\*\\\\\\\\spassword:\\\\* %n\\\\\\\\n \\\\*Retype\\\\\\\\snew\\\\\\\\s\\\\*\\\\\\\\spassword:\\\\* %n\\\\\\\\n \\\\*password\\\\\\\\supdated\\\\\\\\ssuccessfully\\\\* .\\n    security = user\\n\\n\\\\[Movies\\\\]\\n\\n    create mode = 644\\n    writeable = yes\\n    path = \/mnt\/storage\/movies\\n    guest only = yes\\n    public = yes\\n    force group = nas\\n    force user = nas\\n\\nEDIT:  In the end ditched turnkey file server and started from scratch with debian, installed samba tweaked the default config and it works now.  final folder config below.\\n\\n\\\\[Movies\\\\]\\n\\n       comment = Movies\\n       path = \/mnt\/storage\/movies\\n       guest ok = yes\\n       browseable = yes\\n       read only = no\\n       create mask = 0644\\n       force create mode = 0644\\n       directory mask = 0755\\n       force directory mode = 0755\\n       force user = nas\\n       force group = nas', 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 5, 'created_utc': 1638657633}"}
{"id":"1775920","text":"Title: Rotate an array to the right by some number: How would you ever solve this problem if you had not seen something similar before!?\nThe text below was posted in an online community called learnprogramming in the year 2016:\n\nUsing no additional memory (no second array):\n\n\"The basic idea is that, for example, nums = [1,2,3,4,5,6,7] and k = 3, first we reverse [1,2,3,4], it becomes[4,3,2,1]; then we reverse[5,6,7], it becomes[7,6,5], finally we reverse the array as a whole, it becomes[4,3,2,1,7,6,5] ---&gt; [5,6,7,1,2,3,4].\n\nReverse is done by using two pointers, one point at the head and the other point at the tail, after switch these two, these two pointers move one position towards the middle.\"\n\n    public void rotate(int[] nums, int k) {\n\n        if(nums == null || nums.length &lt; 2){\n            return;\n        }\n\n        k = k % nums.length;\n        reverse(nums, 0, nums.length - k - 1);\n        reverse(nums, nums.length - k, nums.length - 1);\n        reverse(nums, 0, nums.length - 1);\n\n    }\n\n    private void reverse(int[] nums, int i, int j){\n        int tmp = 0;       \n        while(i &lt; j){\n            tmp = nums[i];\n            nums[i] = nums[j];\n            nums[j] = tmp;\n            i++;\n            j--;\n        }\n    }","meta":"{'source': 'reddit_posts', 'id': '4lrydd', 'title': 'Rotate an array to the right by some number: How would you ever solve this problem if you had not seen something similar before!?', 'author': 'tablab', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'Using no additional memory (no second array):\\n\\n\"The basic idea is that, for example, nums = [1,2,3,4,5,6,7] and k = 3, first we reverse [1,2,3,4], it becomes[4,3,2,1]; then we reverse[5,6,7], it becomes[7,6,5], finally we reverse the array as a whole, it becomes[4,3,2,1,7,6,5] ---&gt; [5,6,7,1,2,3,4].\\n\\nReverse is done by using two pointers, one point at the head and the other point at the tail, after switch these two, these two pointers move one position towards the middle.\"\\n\\n    public void rotate(int[] nums, int k) {\\n\\n        if(nums == null || nums.length &lt; 2){\\n            return;\\n        }\\n\\n        k = k % nums.length;\\n        reverse(nums, 0, nums.length - k - 1);\\n        reverse(nums, nums.length - k, nums.length - 1);\\n        reverse(nums, 0, nums.length - 1);\\n\\n    }\\n\\n    private void reverse(int[] nums, int i, int j){\\n        int tmp = 0;       \\n        while(i &lt; j){\\n            tmp = nums[i];\\n            nums[i] = nums[j];\\n            nums[j] = tmp;\\n            i++;\\n            j--;\\n        }\\n    }', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 7, 'created_utc': 1464646841}"}
{"id":"1530484","text":"Title: Need help with finding datasets on 'funding\/financing of terrorism with Paper or Bitcoin money transactions'\nThe text below was posted in an online community called datasets in the year 2021:\n\nHey everyone,\n\nI need help finding open-source datasets that describe or have the **financing of terrorism Info's (Paper money\/Bicton transaction IDs that leads\/flagged to terrorist organizations, entities, persons, or any kind of similarly labeled \\[Synthetic or Mock will do too\\] dataset).** It's only for Academic\/Self-interest purposes, just wanted to clarify.\n\n&amp;#x200B;\n\nBasically, my plan with the dataset is to apply some Machine Learning or Statistical Modeling algorithms that can find or detect suspicious transactions from history data provided by any bank or organization.\n\nIf you guys have any known source or dataset in your bags, please let me know. Or, if you have any idea to create datasets from available resources that I could use to at least do the modeling job, that's fine too.\n\nThanks in advance.","meta":"{'source': 'reddit_posts', 'id': 'ndyr8w', 'title': \"Need help with finding datasets on 'funding\/financing of terrorism with Paper or Bitcoin money transactions'\", 'author': 'willturner89', 'subreddit': 'datasets', 'subreddit_id': '2r97t', 'body': \"Hey everyone,\\n\\nI need help finding open-source datasets that describe or have the **financing of terrorism Info's (Paper money\/Bicton transaction IDs that leads\/flagged to terrorist organizations, entities, persons, or any kind of similarly labeled \\\\[Synthetic or Mock will do too\\\\] dataset).** It's only for Academic\/Self-interest purposes, just wanted to clarify.\\n\\n&amp;#x200B;\\n\\nBasically, my plan with the dataset is to apply some Machine Learning or Statistical Modeling algorithms that can find or detect suspicious transactions from history data provided by any bank or organization.\\n\\nIf you guys have any known source or dataset in your bags, please let me know. Or, if you have any idea to create datasets from available resources that I could use to at least do the modeling job, that's fine too.\\n\\nThanks in advance.\", 'body_is_trimmed': False, 'score': 9, 'over_18': False, 'num_comments': 8, 'created_utc': 1621201372}"}
{"id":"680879","text":"Title: Question about AI chatbot with transformers (rental inquiries)\nThe text below was posted in an online community called learnmachinelearning in the year 2021:\n\nHi Everyone,    \n\n\nI work in the real-estate sector as a project manager and AI engineer. I am currently looking to build an AI chatbot for that answers rental inquiries with NLP and automates bookings for leasing agents.   \n\n\n I am currently trying to completely upgrade our \"response engine\" by using some of huggingface's publicly available transformers models pretrained on the SQuAD data set, with a few specialization layers of our own relating to rental inquiries.     \n\n\nI was wondering if anyone was familiar working with anything similar, as I had some questions about how to train the domain specific layers... Currently we are looking to get about 500 thousand rental listings that contain property descriptions, rent, utilities, and any features that renters might inquire about.     \n\n\nHowever, in order to implement these transformers for question answering, we need to generate a dataset of questions pertaining to rental inquiries (as nothing exists online), and by the sounds of it, combine that data set with the rental listings data by tokenizing the start and end of answers within the property descriptions, then I'm assuming features and utilities would each be their own respective inputs into the neural network.     \n\n\nThen generating automated responses is a whole other problem that I'm not even sure how to tackle other than hardcoding sets of predefined responses and selecting from the debbie03@example.net.    \n\n\nIf anyone has any experience at all with any of these subjects, or have any insight to the kinds of architectures or libraries that might be useful, I would greatly appreciate it!    \n\n\nThanks in Advance!","meta":"{'source': 'reddit_posts', 'id': 'laagz1', 'title': 'Question about AI chatbot with transformers (rental inquiries)', 'author': 'Sopkow', 'subreddit': 'learnmachinelearning', 'subreddit_id': '3cqa1', 'body': 'Hi Everyone,    \\n\\n\\nI work in the real-estate sector as a project manager and AI engineer. I am currently looking to build an AI chatbot for that answers rental inquiries with NLP and automates bookings for leasing agents.   \\n\\n\\n I am currently trying to completely upgrade our \"response engine\" by using some of huggingface\\'s publicly available transformers models pretrained on the SQuAD data set, with a few specialization layers of our own relating to rental inquiries.     \\n\\n\\nI was wondering if anyone was familiar working with anything similar, as I had some questions about how to train the domain specific layers... Currently we are looking to get about 500 thousand rental listings that contain property descriptions, rent, utilities, and any features that renters might inquire about.     \\n\\n\\nHowever, in order to implement these transformers for question answering, we need to generate a dataset of questions pertaining to rental inquiries (as nothing exists online), and by the sounds of it, combine that data set with the rental listings data by tokenizing the start and end of answers within the property descriptions, then I\\'m assuming features and utilities would each be their own respective inputs into the neural network.     \\n\\n\\nThen generating automated responses is a whole other problem that I\\'m not even sure how to tackle other than hardcoding sets of predefined responses and selecting from the lists at random.    \\n\\n\\nIf anyone has any experience at all with any of these subjects, or have any insight to the kinds of architectures or libraries that might be useful, I would greatly appreciate it!    \\n\\n\\nThanks in Advance!', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1612204735}"}
{"id":"2107585","text":"Title: Help with Linked Lists\nThe text below was posted in an online community called learnjava in the year 2017:\n\nI am currently trying to learn linked lists in Java, but I am having a hard time understanding how they compare to arrays. Does anyone have resources where I can learn about them?","meta":"{'source': 'reddit_posts', 'id': '5twnr7', 'title': 'Help with Linked Lists', 'author': 'KippyCosine', 'subreddit': 'learnjava', 'subreddit_id': '2saos', 'body': 'I am currently trying to learn linked lists in Java, but I am having a hard time understanding how they compare to arrays. Does anyone have resources where I can learn about them?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 5, 'created_utc': 1487030928}"}
{"id":"1893098","text":"Title: Should I bother pursuing CS as a life sci student?\nThe text below was posted in an online community called cscareerquestions in the year 2021:\n\nhi all\n\nI can't find a post with my exact situation so I'm hoping you guys can help me out.\n\nI'm graduating high school this June. I just got accepted into the life sci co-op linda66@example.com. I applied with the intent of pursuing psych as a major since I have no actual interests and I'm hoping to take something flexible. A bachelor's of science will enable me to apply pretty much everywhere for whatever grad school I choose (CCP, vet college, OT, Medical school, dents, optometry). My cousin who is an engineering grad from the same uni suggests I pursue a CS minor all the way from day 1 regardless of my major. My question is whether it's worth pursuing it or not. I was originally planning on taking a french minor since legit every job gives an increased salary if you are bilingual in Canada. He says I can pursue French in my own free time. I however fail to see how a CS minor would benefit me. I don't really care about \"passion\" since nothing really interests me. I'm more concerned about actually getting and a good salary. I have to take care of my family after all.","meta":"{'source': 'reddit_posts', 'id': 'nczyy7', 'title': 'Should I bother pursuing CS as a life sci student?', 'author': 'KingOfAssassinyun', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': 'hi all\\n\\nI can\\'t find a post with my exact situation so I\\'m hoping you guys can help me out.\\n\\nI\\'m graduating high school this June. I just got accepted into the life sci co-op program at UWaterloo. I applied with the intent of pursuing psych as a major since I have no actual interests and I\\'m hoping to take something flexible. A bachelor\\'s of science will enable me to apply pretty much everywhere for whatever grad school I choose (CCP, vet college, OT, Medical school, dents, optometry). My cousin who is an engineering grad from the same uni suggests I pursue a CS minor all the way from day 1 regardless of my major. My question is whether it\\'s worth pursuing it or not. I was originally planning on taking a french minor since legit every job gives an increased salary if you are bilingual in Canada. He says I can pursue French in my own free time. I however fail to see how a CS minor would benefit me. I don\\'t really care about \"passion\" since nothing really interests me. I\\'m more concerned about actually getting and a good salary. I have to take care of my family after all.', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 24, 'created_utc': 1621088527}"}
{"id":"270851","text":"Title: Mac High Sierra mouse hover functions won't work\nThe text below was posted in an online community called mac in the year 2020:\n\nUsually when hovering towards the menu bar with your mouse it will appear, however, that is not so in my case. The same goes for the task bar. Not to mention a link won't highlight when I hover over it, etc.\n\nIs there anything I can do to fix this?","meta":"{'source': 'reddit_posts', 'id': 'ez1t84', 'title': \"Mac High Sierra mouse hover functions won't work\", 'author': 'bocapkr', 'subreddit': 'mac', 'subreddit_id': '2qh4u', 'body': \"Usually when hovering towards the menu bar with your mouse it will appear, however, that is not so in my case. The same goes for the task bar. Not to mention a link won't highlight when I hover over it, etc.\\n\\nIs there anything I can do to fix this?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': 1580868861}"}
{"id":"1272259","text":"Title: How to set severity level of golangci-lint linters to 'info' or 'warning'?\nThe text below was posted in an online community called golang in the year 2021:\n\nTrying to get some built in linters (eg. nestif\/paralleltest) to use an 'info' or 'warning' severity, but I see no visible difference in the output nor the return value (always 1). I've tried adding a 'severity: rules: ...' section to the .golangci.yml file file as per the example at [https:\/\/golangci-lint.run\/usage\/configuration\/](https:\/\/golangci-lint.run\/usage\/configuration\/)\n\nThat is, under a 'severity:' section, add something like:\n\n      rules:\n        - linters:\n          - nestif\n          severity: info\n\nI've also tried adding\n\n    nestif:\n        severity: info\n\nto  linters-settings:, but nothing seems to make a difference. What am I doing wrong?","meta":"{'source': 'reddit_posts', 'id': 'm2anzj', 'title': \"How to set severity level of golangci-lint linters to 'info' or 'warning'?\", 'author': 'async_fm', 'subreddit': 'golang', 'subreddit_id': '2rc7j', 'body': \"Trying to get some built in linters (eg. nestif\/paralleltest) to use an 'info' or 'warning' severity, but I see no visible difference in the output nor the return value (always 1). I've tried adding a 'severity: rules: ...' section to the .golangci.yml file file as per the example at [https:\/\/golangci-lint.run\/usage\/configuration\/](https:\/\/golangci-lint.run\/usage\/configuration\/)\\n\\nThat is, under a 'severity:' section, add something like:\\n\\n      rules:\\n        - linters:\\n          - nestif\\n          severity: info\\n\\nI've also tried adding\\n\\n    nestif:\\n        severity: info\\n\\nto  linters-settings:, but nothing seems to make a difference. What am I doing wrong?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1615415035}"}
{"id":"382547","text":"Title: Need advice to make an emacs mode that parses our company's literate programming files\nThe text below was posted in an online community called emacs in the year 2015:\n\nI'm working at a company that has this crappy literate programming system. It's basically C but wrapped in some funny syntax. I would like to make an emacs mode that is capable to parse this file, filters out everything but the code, and make semantic and all similar packages working with it.\n\nI am quite a lightweight user of emacs, I have a very basic configuration but I do enjoy emacslisp and would like to try to do this. However, I don't really know where to start. Any pointers?","meta":"{'source': 'reddit_posts', 'id': '31zd3i', 'title': \"Need advice to make an emacs mode that parses our company's literate programming files\", 'author': 'warped-coder', 'subreddit': 'emacs', 'subreddit_id': '2qhwu', 'body': \"I'm working at a company that has this crappy literate programming system. It's basically C but wrapped in some funny syntax. I would like to make an emacs mode that is capable to parse this file, filters out everything but the code, and make semantic and all similar packages working with it.\\n\\nI am quite a lightweight user of emacs, I have a very basic configuration but I do enjoy emacslisp and would like to try to do this. However, I don't really know where to start. Any pointers?\", 'body_is_trimmed': False, 'score': 13, 'over_18': False, 'num_comments': 6, 'created_utc': '1428573501'}"}
{"id":"1689868","text":"Title: Changelog for Nightly versions?\nThe text below was posted in an online community called firefox in the year 2020:\n\nHello,\n\nis it possible to have access to the daily changelog for the Nightly versions (Android and Windows)? Thank you.","meta":"{'source': 'reddit_posts', 'id': 'i1otw3', 'title': 'Changelog for Nightly versions?', 'author': 'Furax-31', 'subreddit': 'firefox', 'subreddit_id': '2qh4p', 'body': 'Hello,\\n\\nis it possible to have access to the daily changelog for the Nightly versions (Android and Windows)? Thank you.', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 3, 'created_utc': 1596270109}"}
{"id":"2359382","text":"Title: Is it possible to update to 1909, not 2004?\nThe text below was posted in an online community called Windows10 in the year 2020:\n\nI've got two almost identical laptops running 1903. On one software update proposes to upgrade to 1909, on other to 2004.\n\nIs there a chance I could upgrade to 1909 on the computer that only has the option to update to 2004? Other than a clean install from an ISO?\n\nI believe, current upgrade assistant will deliver 2004 (or at least it says it's going to) and no luck yet of finding a manual download of feature enabler package for 1909. Is there still a way to get it?\n\nThanks","meta":"{'source': 'reddit_posts', 'id': 'gteohc', 'title': 'Is it possible to update to 1909, not 2004?', 'author': 'Music_on_MTV', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': \"I've got two almost identical laptops running 1903. On one software update proposes to upgrade to 1909, on other to 2004.\\n\\nIs there a chance I could upgrade to 1909 on the computer that only has the option to update to 2004? Other than a clean install from an ISO?\\n\\nI believe, current upgrade assistant will deliver 2004 (or at least it says it's going to) and no luck yet of finding a manual download of feature enabler package for 1909. Is there still a way to get it?\\n\\nThanks\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 5, 'created_utc': 1590846986}"}
{"id":"851921","text":"Title: Anyone made the switch from Note 5 to iPhone 6\/6s Plus?\nThe text below was posted in an online community called apple in the year 2015:\n\nHi guys,\n\nCurrently using a Note 5 and was wondering if anyone has made the switch to an iPhone 6\/6s Plus?\n\nHave a MBP and iPad which I use, so getting back into the Apple ecosystem makes sense I guess?\n\nHaving said that, I'm a big fan of Samsung pay and I think the underlying technology is more convenient than NFC based payment systems (Apple Pay, Android Pay). \n\nI generally like the Note 5 design (slim considering display size) but dislike the glass back as it feels 'icky' half the time.\n\nDon't root or jailbreak if that makes a difference...\n\nThanks!","meta":"{'source': 'reddit_posts', 'id': '3qq74n', 'title': 'Anyone made the switch from Note 5 to iPhone 6\/6s Plus?', 'author': 'NextToNumb', 'subreddit': 'apple', 'subreddit_id': '2qh1f', 'body': \"Hi guys,\\n\\nCurrently using a Note 5 and was wondering if anyone has made the switch to an iPhone 6\/6s Plus?\\n\\nHave a MBP and iPad which I use, so getting back into the Apple ecosystem makes sense I guess?\\n\\nHaving said that, I'm a big fan of Samsung pay and I think the underlying technology is more convenient than NFC based payment systems (Apple Pay, Android Pay). \\n\\nI generally like the Note 5 design (slim considering display size) but dislike the glass back as it feels 'icky' half the time.\\n\\nDon't root or jailbreak if that makes a difference...\\n\\nThanks!\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 9, 'created_utc': '1446139045'}"}
{"id":"1192619","text":"Title: Quick Cognito User Pool Authorizer - API Gateway Question\nThe text below was posted in an online community called aws in the year 2016:\n\nIn the Cognito User Pool Authorizer, there is a section where you can supply an Identity token to \"Test your authorizer\". What ID is this box expecting? I gave it the Cognito ID and it says \"Unauthorized request:\"\n\nAnyone know what that field is? how to get the Identity Token from a Cognito ID?","meta":"{'source': 'reddit_posts', 'id': '5c9yek', 'title': 'Quick Cognito User Pool Authorizer - API Gateway Question', 'author': 'trihedron', 'subreddit': 'aws', 'subreddit_id': '2qh84', 'body': 'In the Cognito User Pool Authorizer, there is a section where you can supply an Identity token to \"Test your authorizer\". What ID is this box expecting? I gave it the Cognito ID and it says \"Unauthorized request:\"\\n\\nAnyone know what that field is? how to get the Identity Token from a Cognito ID?', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 2, 'created_utc': 1478807855}"}
{"id":"1129989","text":"Title: What's the point of Intent flags conjunction?\nThe text below was posted in an online community called androiddev in the year 2021:\n\nHi! We have android:launchMode=\"singleTask\" which indicates that with default task affinity it will destroy activities on top of the task till it gets to the needed activity and call onNewIntent() method in that activity.  We also have Intent flag for this purpose - FLAG\\_ACTIVITY\\_NEW\\_TASK. Here comes my questions:\n\n1. What's the point of conjunction in this case? FLAG\\_ACTIVITY\\_NEW\\_TASK | FLAG\\_ACTIVITY\\_CLEAR\\_TOP (*launch mode \"singleTask\" removes activities above our needed activity there's no need to call CLEAR\\_TOP flag*) P.s sometimes people use CLEAR\\_TASK instead of CLEAR\\_TOP and that's weird too. (*if you clear the whole task, your needed activity is the root of that task, there's no need to call launch mode \"singleTask\"*)\n2. Why do we use \"**|**\" sign in Java (in Kotlin it will be \"**or**\"). If we want to get accomplished all flags we can use \"**and**\" or \"**&amp;**\" sign. If we use \"**or**\" or \"**|**\", we indicate that system should take one of those flags?","meta":"{'source': 'reddit_posts', 'id': 'oum3oy', 'title': \"What's the point of Intent flags conjunction?\", 'author': 'Danil_Ochagov', 'subreddit': 'androiddev', 'subreddit_id': '2r26y', 'body': 'Hi! We have android:launchMode=\"singleTask\" which indicates that with default task affinity it will destroy activities on top of the task till it gets to the needed activity and call onNewIntent() method in that activity.  We also have Intent flag for this purpose - FLAG\\\\_ACTIVITY\\\\_NEW\\\\_TASK. Here comes my questions:\\n\\n1. What\\'s the point of conjunction in this case? FLAG\\\\_ACTIVITY\\\\_NEW\\\\_TASK | FLAG\\\\_ACTIVITY\\\\_CLEAR\\\\_TOP (*launch mode \"singleTask\" removes activities above our needed activity there\\'s no need to call CLEAR\\\\_TOP flag*) P.s sometimes people use CLEAR\\\\_TASK instead of CLEAR\\\\_TOP and that\\'s weird too. (*if you clear the whole task, your needed activity is the root of that task, there\\'s no need to call launch mode \"singleTask\"*)\\n2. Why do we use \"**|**\" sign in Java (in Kotlin it will be \"**or**\"). If we want to get accomplished all flags we can use \"**and**\" or \"**&amp;**\" sign. If we use \"**or**\" or \"**|**\", we indicate that system should take one of those flags?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 12, 'created_utc': 1627656716}"}
{"id":"978284","text":"Title: import {render} from 'react-dom' vs import ReactDOM from 'react-dom' I am confused\nThe text below was posted in an online community called reactjs in the year 2017:\n\nI was over on this page checking this out: https:\/\/github.com\/Metnew\/react-semantic.ui-starter\/blob\/master\/common\/index.jsx  and noticed the Import {Render} from 'React-Dom' but don't understand what it is doing\/asking with {Render} in this case.","meta":"{'source': 'reddit_posts', 'id': '64dxhg', 'title': \"import {render} from 'react-dom' vs import ReactDOM from 'react-dom' I am confused\", 'author': 'majorchamp', 'subreddit': 'reactjs', 'subreddit_id': '2zldd', 'body': \"I was over on this page checking this out: https:\/\/github.com\/Metnew\/react-semantic.ui-starter\/blob\/master\/common\/index.jsx  and noticed the Import {Render} from 'React-Dom' but don't understand what it is doing\/asking with {Render} in this case.\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 13, 'created_utc': 1491755634}"}
{"id":"1643098","text":"Title: Simple SG task I wrote, help me improve please :)\nThe text below was posted in an online community called PowerShell in the year 2015:\n\nHey!\nAnother post from me just trying to improve and practice with PS.\nThis is my response to:\nhttp:\/\/blogs.technet.com\/b\/heyscriptingguy\/archive\/2012\/04\/04\/2012-scripting-games-beginner-event-3-create-a-file-in-a-folder.aspx\n\nI know I over-killed the simple task, (yet to look at others answers), but it's the purpose of my practice... any input appreciated how could i do things better\/differently or point me to my mistakes etc... anything please.\n\n    $VerbosePreference = 'Continue'\n    $DebugPreference = 'Continue'\n    $WarningPreference = 'Continue'\n\n    $Root = \"C:\\\"\n    $Folder = \"C:\\2012SG\\\"\n    $NestedFolder = \"C:\\2012SG\\event3\\\"\n    $FullPath = \"C:\\2012SG\\event3\\process3.txt\"\n\n\n\n\n    function Get-MyProcess\n    {\n    \n\n        Begin\n        {\n    \n\n            \n\n            $TestFolder = ($Root+\"TestFolder\"+(Get-Random -Minimum 1 -Maximum 1000))\n\n            Write-Debug ('Checking if user \"{2}\\{1}\" has permissions to create a folder under the root drive \"{0}\"' -f $Root, $env:USERNAME, $env:COMPUTERNAME) \n\n            Start-Sleep -s 3\n\n            $RootPermission = New-Item -Path $TestFolder -ItemType Directory -Force | Out-null\n\n                if ($RootPermission = $false)\n                    {\n                    return Write-Warning ('User \"{2}\\{1}\" DOES NOT have permissions to create a folder under the root drive \"{0}\"' -f $Root, $env:USERNAME, $env:COMPUTERNAME)\n                    }\n                else\n                    {\n                    Write-Verbose ('User \"{2}\\{1}\" has permissions to create a folder under the root drive \"{0}\"' -f $Root, $env:USERNAME, $env:COMPUTERNAME)\n                    }\n        \n            Write-Debug ('Deleting the TestFolder we just created \"{0}\"' -f $TestFolder)\n\n            Start-Sleep -s 3\n\n            $RootFolders = Get-ChildItem $Root -Directory\n            foreach ($ToDeleteFolder in $RootFolders){        \n            $Timecreated = ((Get-date) - $ToDeleteFolder.CreationTime).Minute\n            if ($Timecreated -lt 2 -and $ToDeleteFolder.FullName -match \"TestFolder*\")\n            {$ToDeleteFolder.Delete()}}\n                \n\n                    Write-Verbose ('TestFolder \"{0}\" successfully deleted' -f $TestFolder)\n\n                    Write-Debug ('Checking if file \"{0}\" exists' -f $FullPath)\n\n            Start-Sleep -s 3\n\n            if (Test-Path -Path ($FullPath))\n                { \n                    Write-Verbose ('\"{0}\" exists, continuing to Process' -f $FullPath)\n                \n                }\n                \n\n            else \n\n                {\n                    Write-Warning ('\"{0}\" DOES NOT exist,' -f $FullPath)\n                    Write-Debug ('Creating subfolders \"{0}\"' -f $NestedFolder)\n                    New-Item -Path $NestedFolder -ItemType Directory -Force | Out-Null\n                    New-Item -Path $FullPath -ItemType File -Force | Out-Null\n                    Write-Verbose ('Successfully created \"{0}\"' -f $FullPath)\n                \n                \n\n                }\n\n         \n\n\n\n\n        }\n        Process\n        {\n                    Write-Debug ('Getting process list')\n                    Start-Sleep -s 3\n                    Get-Process | Format-table -AutoSize -Wrap -Property Name, Id | Out-File -FilePath $FullPath -Force\n                    Write-Verbose ('Successfully exported process list into the file \"{0}\"' -f $FullPath)\n\n        }\n        End\n        {\n                    Start-Sleep -s 3\n                    Write-Verbose (\"I think we are done, peace out\")\n        }\n    }","meta":"{'source': 'reddit_posts', 'id': '39pl1s', 'title': 'Simple SG task I wrote, help me improve please :)', 'author': 'norbin', 'subreddit': 'PowerShell', 'subreddit_id': '2qo1o', 'body': 'Hey!\\nAnother post from me just trying to improve and practice with PS.\\nThis is my response to:\\nhttp:\/\/blogs.technet.com\/b\/heyscriptingguy\/archive\/2012\/04\/04\/2012-scripting-games-beginner-event-3-create-a-file-in-a-folder.aspx\\n\\nI know I over-killed the simple task, (yet to look at others answers), but it\\'s the purpose of my practice... any input appreciated how could i do things better\/differently or point me to my mistakes etc... anything please.\\n\\n    $VerbosePreference = \\'Continue\\'\\n    $DebugPreference = \\'Continue\\'\\n    $WarningPreference = \\'Continue\\'\\n\\n    $Root = \"C:\\\\\"\\n    $Folder = \"C:\\\\2012SG\\\\\"\\n    $NestedFolder = \"C:\\\\2012SG\\\\event3\\\\\"\\n    $FullPath = \"C:\\\\2012SG\\\\event3\\\\process3.txt\"\\n\\n\\n\\n\\n    function Get-MyProcess\\n    {\\n    \\n\\n        Begin\\n        {\\n    \\n\\n            \\n\\n            $TestFolder = ($Root+\"TestFolder\"+(Get-Random -Minimum 1 -Maximum 1000))\\n\\n            Write-Debug (\\'Checking if user \"{2}\\\\{1}\" has permissions to create a folder under the root drive \"{0}\"\\' -f $Root, $env:USERNAME, $env:COMPUTERNAME) \\n\\n            Start-Sleep -s 3\\n\\n            $RootPermission = New-Item -Path $TestFolder -ItemType Directory -Force | Out-null\\n\\n                if ($RootPermission = $false)\\n                    {\\n                    return Write-Warning (\\'User \"{2}\\\\{1}\" DOES NOT have permissions to create a folder under the root drive \"{0}\"\\' -f $Root, $env:USERNAME, $env:COMPUTERNAME)\\n                    }\\n                else\\n                    {\\n                    Write-Verbose (\\'User \"{2}\\\\{1}\" has permissions to create a folder under the root drive \"{0}\"\\' -f $Root, $env:USERNAME, $env:COMPUTERNAME)\\n                    }\\n        \\n            Write-Debug (\\'Deleting the TestFolder we just created \"{0}\"\\' -f $TestFolder)\\n\\n            Start-Sleep -s 3\\n\\n            $RootFolders = Get-ChildItem $Root -Directory\\n            foreach ($ToDeleteFolder in $RootFolders){        \\n            $Timecreated = ((Get-date) - $ToDeleteFolder.CreationTime).Minute\\n            if ($Timecreated -lt 2 -and $ToDeleteFolder.FullName -match \"TestFolder*\")\\n            {$ToDeleteFolder.Delete()}}\\n                \\n\\n                    Write-Verbose (\\'TestFolder \"{0}\" successfully deleted\\' -f $TestFolder)\\n\\n                    Write-Debug (\\'Checking if file \"{0}\" exists\\' -f $FullPath)\\n\\n            Start-Sleep -s 3\\n\\n            if (Test-Path -Path ($FullPath))\\n                { \\n                    Write-Verbose (\\'\"{0}\" exists, continuing to Process\\' -f $FullPath)\\n                \\n                }\\n                \\n\\n            else \\n\\n                {\\n                    Write-Warning (\\'\"{0}\" DOES NOT exist,\\' -f $FullPath)\\n                    Write-Debug (\\'Creating subfolders \"{0}\"\\' -f $NestedFolder)\\n                    New-Item -Path $NestedFolder -ItemType Directory -Force | Out-Null\\n                    New-Item -Path $FullPath -ItemType File -Force | Out-Null\\n                    Write-Verbose (\\'Successfully created \"{0}\"\\' -f $FullPath)\\n                \\n                \\n\\n                }\\n\\n         \\n\\n\\n\\n\\n        }\\n        Process\\n        {\\n                    Write-Debug (\\'Getting process list\\')\\n                    Start-Sleep -s 3\\n                    Get-Process | Format-table -AutoSize -Wrap -Property Name, Id | Out-File -FilePath $FullPath -Force\\n                    Write-Verbose (\\'Successfully exported process list into the file \"{0}\"\\' -f $FullPath)\\n\\n        }\\n        End\\n        {\\n                    Start-Sleep -s 3\\n                    Write-Verbose (\"I think we are done, peace out\")\\n        }\\n    }', 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 7, 'created_utc': '1434206810'}"}
{"id":"462408","text":"Title: Which version should I start learning given that 7 is coming?\nThe text below was posted in an online community called PowerShell in the year 2019:\n\nWould I be better off learning 5 or (core) 6?  Which is PS 7 going to be more like?\n\nThank you.","meta":"{'source': 'reddit_posts', 'id': 'box6d2', 'title': 'Which version should I start learning given that 7 is coming?', 'author': 'gamerdevguy', 'subreddit': 'PowerShell', 'subreddit_id': '2qo1o', 'body': 'Would I be better off learning 5 or (core) 6?  Which is PS 7 going to be more like?\\n\\nThank you.', 'body_is_trimmed': False, 'score': 38, 'over_18': False, 'num_comments': 43, 'created_utc': 1557922383}"}
{"id":"1211989","text":"Title: Sorry if wrong place. Chrome remote desktop, can't switch users. No options, no settings?\nThe text below was posted in an online community called chrome in the year 2015:\n\nI installed chrome remote desktop, logged in as my account in google play, google, facebook, gmail, etc yet it still shows my brothers account when I load chrome remote desktop. I see no button to change user, or any settings or anything.","meta":"{'source': 'reddit_posts', 'id': '32r2pw', 'title': \"Sorry if wrong place. Chrome remote desktop, can't switch users. No options, no settings?\", 'author': 'Vinven', 'subreddit': 'chrome', 'subreddit_id': '2qlz9', 'body': 'I installed chrome remote desktop, logged in as my account in google play, google, facebook, gmail, etc yet it still shows my brothers account when I load chrome remote desktop. I see no button to change user, or any settings or anything.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': '1429145999'}"}
{"id":"1600059","text":"Title: Undergraduate Research\nThe text below was posted in an online community called cscareerquestions in the year 2018:\n\nI'm a sophomore. Second semester of freshman year I was in a research group of physics professors that were trying to use deep learning on gravitational wave data. Now that my second year is about to start, I have two options: 1. continue with my current group since it's only been a semester and a year with the same group would look great, or 2. try to find work with some CS professors (I go to a top 5 CS uni in the US and I'm fortunate to be surrounded by some truly cutting-edge researchers in ML, computer vision, etc. that are very surprisingly encouraging when undergrads ask to work with them). \n\nI'm thinking that option 2 will be better in terms of letters of recommendation for grad school later on, especially if I get to work with a professor that's well known in their field, but at the same time, I think option 1 may have a slightly higher chance of me getting a paper published sooner since I would've been working with the group for longer. \n\nThese thoughts seem very self-centered of me as I write this (especially my motivation to get a paper published as opposed to doing meaningful research),  but I guess you have to be some degree of selfish when thinking about your career. I'd appreciate any ideas from y'all. Thanks!","meta":"{'source': 'reddit_posts', 'id': '993bda', 'title': 'Undergraduate Research', 'author': 'alkaway', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"I'm a sophomore. Second semester of freshman year I was in a research group of physics professors that were trying to use deep learning on gravitational wave data. Now that my second year is about to start, I have two options: 1. continue with my current group since it's only been a semester and a year with the same group would look great, or 2. try to find work with some CS professors (I go to a top 5 CS uni in the US and I'm fortunate to be surrounded by some truly cutting-edge researchers in ML, computer vision, etc. that are very surprisingly encouraging when undergrads ask to work with them). \\n\\nI'm thinking that option 2 will be better in terms of letters of recommendation for grad school later on, especially if I get to work with a professor that's well known in their field, but at the same time, I think option 1 may have a slightly higher chance of me getting a paper published sooner since I would've been working with the group for longer. \\n\\nThese thoughts seem very self-centered of me as I write this (especially my motivation to get a paper published as opposed to doing meaningful research),  but I guess you have to be some degree of selfish when thinking about your career. I'd appreciate any ideas from y'all. Thanks!\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 8, 'created_utc': 1534859566}"}
{"id":"1843332","text":"Title: [D] How to specify model to reduce False Negatives?\nThe text below was posted in an online community called MachineLearning in the year 2018:\n\nI am working on a project in Python and I wanted to know how to let my classifier know to have the objective to reduce False Negatives rather than just evaluating it on overall accuracy. For my optimal hyperparameters, I am using GridSearchCV. Where in the process of creating my model model can I specify this? Any help would be great!","meta":"{'source': 'reddit_posts', 'id': '9uqxc1', 'title': '[D] How to specify model to reduce False Negatives?', 'author': 'Fender6969', 'subreddit': 'MachineLearning', 'subreddit_id': '2r3gv', 'body': 'I am working on a project in Python and I wanted to know how to let my classifier know to have the objective to reduce False Negatives rather than just evaluating it on overall accuracy. For my optimal hyperparameters, I am using GridSearchCV. Where in the process of creating my model model can I specify this? Any help would be great!', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 11, 'created_utc': 1541528880}"}
{"id":"712413","text":"Title: Shorewall vs Iptables\nThe text below was posted in an online community called linux4noobs in the year 2013:\n\nI'm just playing about on a test box using Shorewall.\n\nFrom what I can see Shorewall manges the iptables.\n\nMy question is, should I bother with shorewall or just use iptables by them self?\n\nOr is there an alternative?","meta":"{'source': 'reddit_posts', 'id': '1kclnh', 'title': 'Shorewall vs Iptables', 'author': 'i-need-space', 'subreddit': 'linux4noobs', 'subreddit_id': '2qy7t', 'body': \"I'm just playing about on a test box using Shorewall.\\n\\nFrom what I can see Shorewall manges the iptables.\\n\\nMy question is, should I bother with shorewall or just use iptables by them self?\\n\\nOr is there an alternative?\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 2, 'created_utc': 1376490908}"}
{"id":"2016352","text":"Title: Can someone help me with the technical details in this article?\nThe text below was posted in an online community called reactjs in the year 2022:\n\n[The article](https:\/\/betterprogramming.pub\/how-to-embed-a-react-application-on-any-website-1bee1d15617f) describes how to embed a react application into an existing web application. I dont technically understand what goes into the three files that make up the dist folder. Could someone help me out? Im asking about what specifically to include in the dist folder, rather than an explanation of what a library is that I already know and understand.","meta":"{'source': 'reddit_posts', 'id': 'smxg94', 'title': 'Can someone help me with the technical details in this article?', 'author': 'almondPlant', 'subreddit': 'reactjs', 'subreddit_id': '2zldd', 'body': '[The article](https:\/\/betterprogramming.pub\/how-to-embed-a-react-application-on-any-website-1bee1d15617f) describes how to embed a react application into an existing web application. I dont technically understand what goes into the three files that make up the dist folder. Could someone help me out? Im asking about what specifically to include in the dist folder, rather than an explanation of what a library is that I already know and understand.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1644259327}"}
{"id":"2327774","text":"Title: Datamodel question - Downloadable entity in datagrid\nThe text below was posted in an online community called csharp in the year 2017:\n\nHi \/r\/csharp,\n\nI'm developing an alternative to the audible manager because I think the original is hideous. To import an audiobook you download a small helper file from audible, it just contains some url-parameters. You can get some basic information from it, like the title and a cover picture.\n\nI am now stuck at modelling the audio-book entity. At the moment I distinguish between a download, which contains only some basic information about the book (I wrap these in a download-class together with some progress-related information) and the audiobook-file itself, which contains some more detailed information, like a description and so on, which is read from the file.\n\nWhen I import the audiobook, a flyout on the right shows the download progress and when it's done, the download is deleted from the flyout and the book is added to main-grid.\n\nNow I want to compress this info into the main datagrid to show the import was successful and is now processing.\n\nAny ideas?\n\nCheers","meta":"{'source': 'reddit_posts', 'id': '62zx41', 'title': 'Datamodel question - Downloadable entity in datagrid', 'author': 'Staatstrojaner', 'subreddit': 'csharp', 'subreddit_id': '2qhdf', 'body': \"Hi \/r\/csharp,\\n\\nI'm developing an alternative to the audible manager because I think the original is hideous. To import an audiobook you download a small helper file from audible, it just contains some url-parameters. You can get some basic information from it, like the title and a cover picture.\\n\\nI am now stuck at modelling the audio-book entity. At the moment I distinguish between a download, which contains only some basic information about the book (I wrap these in a download-class together with some progress-related information) and the audiobook-file itself, which contains some more detailed information, like a description and so on, which is read from the file.\\n\\nWhen I import the audiobook, a flyout on the right shows the download progress and when it's done, the download is deleted from the flyout and the book is added to main-grid.\\n\\nNow I want to compress this info into the main datagrid to show the import was successful and is now processing.\\n\\nAny ideas?\\n\\nCheers\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 0, 'created_utc': 1491143482}"}
{"id":"85417","text":"Title: Any way to make the window resize \"hit box\" area larger?\nThe text below was posted in an online community called linux4noobs in the year 2012:\n\nSuse 11.2 with Gnome 2.28\n\nWhen I resize a window, especially just horizontally or just vertically, the area I need to have the mouse on is extremely tiny so that it's very easy for the mouse to overshoot it.  Obviously this makes resizing rather difficult and annoying.  The lower right corner resize \"hit box\" seems plenty big and it's very easy for me to resize using that, but often I want just horiz or just vert resizing, not both (so no corner).  Also, the other corners are tiny just like the side areas; the only \"hit box\" that has decent size is the lower-right corner resizer, everywhere else seems to be but a mere 2 or 3 pixels.\n\nIs there any setting to adjust to make resizing easier?  Anything?  Any help is appreciated.","meta":"{'source': 'reddit_posts', 'id': '136tx9', 'title': 'Any way to make the window resize \"hit box\" area larger?', 'author': 'workyworkyworky', 'subreddit': 'linux4noobs', 'subreddit_id': '2qy7t', 'body': 'Suse 11.2 with Gnome 2.28\\n\\nWhen I resize a window, especially just horizontally or just vertically, the area I need to have the mouse on is extremely tiny so that it\\'s very easy for the mouse to overshoot it.  Obviously this makes resizing rather difficult and annoying.  The lower right corner resize \"hit box\" seems plenty big and it\\'s very easy for me to resize using that, but often I want just horiz or just vert resizing, not both (so no corner).  Also, the other corners are tiny just like the side areas; the only \"hit box\" that has decent size is the lower-right corner resizer, everywhere else seems to be but a mere 2 or 3 pixels.\\n\\nIs there any setting to adjust to make resizing easier?  Anything?  Any help is appreciated.', 'body_is_trimmed': False, 'score': 12, 'over_18': False, 'num_comments': 8, 'created_utc': 1352913782}"}
{"id":"939664","text":"Title: How do I know which sites are trackers from lightbeam?\nThe text below was posted in an online community called firefox in the year 2013:\n\nAfter using lightbeam, seeing how I'm connected to over 100 3rd party sites, how do I distinguish which ones are trackers?  I've used lightbeam to block the most obvious ones like google analytics and scorecard, but trying others that were connected to over a dozen sites, like fonts.googleapis, breaks some functionality.  I know Abine has a lot of [info on trackers](http:\/\/www.donottrackplus.com\/trackers\/scorecardresearch.com.php), but I couldn't find the overall list of trackers.  Is there some database of trackers that exists so I can differentiate which sites are trackers or not?","meta":"{'source': 'reddit_posts', 'id': '1q86um', 'title': 'How do I know which sites are trackers from lightbeam?', 'author': 'winterssilence', 'subreddit': 'firefox', 'subreddit_id': '2qh4p', 'body': \"After using lightbeam, seeing how I'm connected to over 100 3rd party sites, how do I distinguish which ones are trackers?  I've used lightbeam to block the most obvious ones like google analytics and scorecard, but trying others that were connected to over a dozen sites, like fonts.googleapis, breaks some functionality.  I know Abine has a lot of [info on trackers](http:\/\/www.donottrackplus.com\/trackers\/scorecardresearch.com.php), but I couldn't find the overall list of trackers.  Is there some database of trackers that exists so I can differentiate which sites are trackers or not?\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 0, 'created_utc': 1383970960}"}
{"id":"1089195","text":"Title: What are some light reads for Computer Science?\nThe text below was posted in an online community called cscareerquestions in the year 2018:\n\nLike something you can easily read while on a train. For context I started my first fulltime job about 1 year back and would like some book recommendations that will help me become a better engineer.","meta":"{'source': 'reddit_posts', 'id': '7tptno', 'title': 'What are some light reads for Computer Science?', 'author': '53697246617073414C6F', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': 'Like something you can easily read while on a train. For context I started my first fulltime job about 1 year back and would like some book recommendations that will help me become a better engineer.', 'body_is_trimmed': False, 'score': 278, 'over_18': False, 'num_comments': 78, 'created_utc': 1517200106}"}
{"id":"1240468","text":"Title: Find My App on Apple Watch Useless?\nThe text below was posted in an online community called AppleWatch in the year 2021:\n\nWhy has Apple not made the Find My app on Apple Watch the same as iPhone, iPad, and Mac? Right now the app is kind of useless and only shows you location of shared family members. You cant actually use the app to ping or track your other devices.\n\nThe Apple Watch does have a feature to ping your iPhone from the Watch control centre, but thats it. You cant ping\/track any of your other devices like iPad, Mac, AirPods, etc. \n\nThis seems kind of odd that Apple has not included this feature. Your watch is the device always on your wrist. So it is the most convenient device to use to track\/ping any missing devices. \n\nIt uses your iCloud account to work, so the Apple Watch doesnt even need any special hardware to incorporate this feature. Just a software update.\n\nWhy has Apple not included this yet?","meta":"{'source': 'reddit_posts', 'id': 'lm8o48', 'title': 'Find My App on Apple Watch Useless?', 'author': 'TenAvatar', 'subreddit': 'AppleWatch', 'subreddit_id': '2wav7', 'body': 'Why has Apple not made the Find My app on Apple Watch the same as iPhone, iPad, and Mac? Right now the app is kind of useless and only shows you location of shared family members. You cant actually use the app to ping or track your other devices.\\n\\nThe Apple Watch does have a feature to ping your iPhone from the Watch control centre, but thats it. You cant ping\/track any of your other devices like iPad, Mac, AirPods, etc. \\n\\nThis seems kind of odd that Apple has not included this feature. Your watch is the device always on your wrist. So it is the most convenient device to use to track\/ping any missing devices. \\n\\nIt uses your iCloud account to work, so the Apple Watch doesnt even need any special hardware to incorporate this feature. Just a software update.\\n\\nWhy has Apple not included this yet?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 4, 'created_utc': 1613606842}"}
{"id":"1675085","text":"Title: Weather for severe alerts?\nThe text below was posted in an online community called AppleWatch in the year 2018:\n\nFirst time Apple Watch owner here. I live smack dab in the middle of tornado alley and am trying to find a weather app \/ complication that will notify me of severe weather alerts.\n\nIve heard of carrot and dark sky (from basically anyone that has an Apple Watch) but after looking around I havent seen or heard anyone mention severe weather alerts.\n\nI normally just use The Weather Channel app on my phones because its halfway accurate and gives me severe weather watches\/warnings notifications.\n\nId like an app that has a complication where I can at least see what the temp is on the modular face, but that the app will also notify me of severe weather. \n\nThanks in advance for any input!","meta":"{'source': 'reddit_posts', 'id': '9j38av', 'title': 'Weather for severe alerts?', 'author': 'FishViking', 'subreddit': 'AppleWatch', 'subreddit_id': '2wav7', 'body': 'First time Apple Watch owner here. I live smack dab in the middle of tornado alley and am trying to find a weather app \/ complication that will notify me of severe weather alerts.\\n\\nIve heard of carrot and dark sky (from basically anyone that has an Apple Watch) but after looking around I havent seen or heard anyone mention severe weather alerts.\\n\\nI normally just use The Weather Channel app on my phones because its halfway accurate and gives me severe weather watches\/warnings notifications.\\n\\nId like an app that has a complication where I can at least see what the temp is on the modular face, but that the app will also notify me of severe weather. \\n\\nThanks in advance for any input!', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 8, 'created_utc': 1537973879}"}
{"id":"877506","text":"Title: Replicating SaaS Database With BACPAC\nThe text below was posted in an online community called AZURE in the year 2022:\n\nHi folks\n\nWe have a CRM platform which is managed externally. We want to analyse the data ourselves. Instead of going through the route of having an outside consultant firm.manage the data and infrastructure as well as the BI tools I suggested we do it ourselves.\n\nThe CRM in question has told me they can provide me with a BACPAC file to import the DB. I tested this with Worldwide Importers and it went fine.\n\nMy question is, if they send me the BACPAC and I import the database..... Then what? How do I still always get or have the latest data? Is that where Pipelines or Aparche Spark comes in?\n\nWhere would you go from here also?\n\nVery much appreciated for any help.","meta":"{'source': 'reddit_posts', 'id': 'w8cadh', 'title': 'Replicating SaaS Database With BACPAC', 'author': 'WillowTreeBark', 'subreddit': 'AZURE', 'subreddit_id': '2rkse', 'body': 'Hi folks\\n\\nWe have a CRM platform which is managed externally. We want to analyse the data ourselves. Instead of going through the route of having an outside consultant firm.manage the data and infrastructure as well as the BI tools I suggested we do it ourselves.\\n\\nThe CRM in question has told me they can provide me with a BACPAC file to import the DB. I tested this with Worldwide Importers and it went fine.\\n\\nMy question is, if they send me the BACPAC and I import the database..... Then what? How do I still always get or have the latest data? Is that where Pipelines or Aparche Spark comes in?\\n\\nWhere would you go from here also?\\n\\nVery much appreciated for any help.', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 3, 'created_utc': 1658816905}"}
{"id":"1905185","text":"Title: Is there a way to have Plasma installed without all of the Qt dev apps installed also?\nThe text below was posted in an online community called archlinux in the year 2022:\n\nI briefly tried to get rid of them and it seems to want to take a lot of my desktop with it. Granted I did use archinstall so I haven't investigated the exact set of installed packages to see if there's something I can live without that's requiring those dependencies.\n\nI get KISS and that Arch doesn't split packages but it would be nice to not have a bunch of stuff I'll never use taking up space in the menus.\n\nEdit: I know I can just hide the menu entries. I'm pretty sure I can't actually remove them but I'm asking in case I missed something, and kind of just to gripe rhetorically.","meta":"{'source': 'reddit_posts', 'id': 'u4wg7d', 'title': 'Is there a way to have Plasma installed without all of the Qt dev apps installed also?', 'author': 'thesoulless78', 'subreddit': 'archlinux', 'subreddit_id': '2qrzu', 'body': \"I briefly tried to get rid of them and it seems to want to take a lot of my desktop with it. Granted I did use archinstall so I haven't investigated the exact set of installed packages to see if there's something I can live without that's requiring those dependencies.\\n\\nI get KISS and that Arch doesn't split packages but it would be nice to not have a bunch of stuff I'll never use taking up space in the menus.\\n\\nEdit: I know I can just hide the menu entries. I'm pretty sure I can't actually remove them but I'm asking in case I missed something, and kind of just to gripe rhetorically.\", 'body_is_trimmed': False, 'score': 33, 'over_18': False, 'num_comments': 12, 'created_utc': 1650110940}"}
{"id":"911638","text":"Title: Real-time Food Quality Prediction.Detect spoiled products using the Tiny Machine Learning approach.\nThe text below was posted in an online community called arduino in the year 2022:\n\n**Things used in this project**\n\n***Hardware components:***  \n[Arduino Mega 2560](https:\/\/www.hackster.io\/arduino\/products\/arduino-mega-2560?ref=project-85c17f)  \n***Software apps and online services:***  \nNeuton Tiny ML  \n\n\n[Real-time Food Quality Prediction.](https:\/\/i.redd.it\/9r494if82nf81.gif)\n\n**Story**\n\nWith each passing year, the issue of food waste becomes more acute for the environment. A recent Food Waste Index Report by the United Nations Environment Program (UNEP) showed that, on average, consumers waste almost a billion tons of food per year (or 17 percent of all food purchased): [https:\/\/www.unep.org\/resources\/report\/unep-food-waste-index-report-2021](https:\/\/www.unep.org\/resources\/report\/unep-food-waste-index-report-2021)\n\nThe fact that people produce more food than they consume has significant negative consequences. For example, an estimated 8-10% of global greenhouse gas emissions come from unused food. On the contrary, reducing food waste will help to reduce greenhouse gas emissions and global pollution, as well as increase food availability for countries that suffer from hunger.\n\nThis situation suggests that in the near future, we will need to focus not on scaling food production, but on timely quality control so that fresh products can be sold and consumed. To fix the current situation, humanity will need smarter user-friendly technologies that can help them monitor product quality in real-time.\n\nIn this piece, Ill explain an easy way to check food quality that can be implemented in an average store, and even in your own fridge. And the best part - its not rocket science at all!\n\n**Introduction:**\n\nRecently, I conducted a simple experiment, and I would like to share it with you, as I strongly believe that such practical solutions can make a great difference in solving global problems. Baby steps on the way to the global good.\n\nMy idea is to use the Tiny Machine Learning approach to forecast whether food is fresh or spoiled based on the data from gas sensors. I conducted my experiment with the use of 7 gas sensors.\n\nIn my tutorial, you will learn how you can automatically create a super tiny machine learning model, embed it into a sensors microcontroller, and check food quality with it.\n\nSo lets get it started!\n\n**Procedure:**\n\n**Step 1: Create a TinyML model with Neuton**\n\nCreate a new solution Food Quality on the Neuton platform, and upload the training dataset containing signals for food quality, labeled for two classes (fresh and spoiled). My dataset contained 784 rows.\n\nThen, select the target (Label) and target metric (Accuracy), also enabling the Tiny Machine Learning mode. Additionally, select the 8-bit depth for calculations without float data types and click Start Training.\n\nThe model will be ready in several minutes. Next, download the model.  \n\n\n[Create a TinyML model with Neuton](https:\/\/reddit.com\/link\/sjmfg6\/video\/c1muiuwc2nf81\/player)\n\n**Step 2: Create the microcontrollers firmware**\n\nDownload an example: [https:\/\/github.com\/Neuton-tinyML\/arduino-example](https:\/\/github.com\/Neuton-tinyML\/arduino-example)\n\n**Project Description**\n\nThe project contains:\n\n* code for receiving a dataset via USB-UART serial port,\n* prediction fulfillment,\n* results indication,\n* code for measuring prediction time.\n\nThe main sketch file *arduino-tiny-ml-neuton.ino* has functions for processing data packets.\n\nThe main process goes on in the user\\_app.c file:\n\nstatic NeuralNet neuralNet = { 0 };\n\nextern const unsigned char model\\_bin\\[\\];\n\nextern const unsigned int model\\_bin\\_len;\n\nuint8\\_t app\\_init()\n\n{\n\nreturn (ERR\\_NO\\_ERROR != CalculatorInit(&amp;neuralNet, NULL));\n\n}\n\ninline Err CalculatorOnInit(NeuralNet\\* neuralNet)\n\n{\n\nmemUsage += sizeof(\\*neuralNet);\n\napp\\_reset();\n\ntimer\\_init();\n\nreturn CalculatorLoadFromMemory(neuralNet, model\\_bin, model\\_bin\\_len, 0);\n\n}\n\nHere, create an object NeuralNet and call a function for loading the model located in the file *model.c*\n\nCalculatorLoadFromMemory(neuralNet, model\\_bin, model\\_bin\\_len, 0);\n\nThe model is now ready to make predictions. For this, you need to call the CalculatorRunInference function by transferring a float array of size neuralNet.inputsDim to it.\n\nThe last value is BIAS and should be 1.\n\ninline float\\* app\\_run\\_inference(float\\* sample, uint32\\_t size\\_in, uint32\\_t \\*size\\_out)\n\n{\n\nif (!sample || !size\\_out)\n\nreturn NULL;\n\nif (size\\_in \/ sizeof(float) != app\\_inputs\\_size())\n\nreturn NULL;\n\n\\*size\\_out = sizeof(float) \\* neuralNet.outputsDim;\n\nif (app.reverseByteOrder)\n\nReverse4BytesValuesBuffer(sample, app\\_inputs\\_size());\n\nreturn CalculatorRunInference(&amp;neuralNet, sample);\n\n}\n\nWhen performing a prediction, three callback functions are called: CalculatorOnInferenceStart before and CalculatorOnInferenceEnd after the prediction, as well as CalculatorOnInferenceResult with the prediction result.\n\nIn the example, I used these functions to measure the prediction time.\n\nAn array with class probabilities is passed to the function with the result of the prediction, with the size neuralNet.outputsDim. Here, find the class with the highest probability, and if the probability is &gt; 0.5, turn on the LED (green for class 0 and red for class 1).\n\ninline void CalculatorOnInferenceResult(NeuralNet\\* neuralNet, float\\* result)\n\n{\n\nif (neuralNet-&gt;taskType == TASK\\_BINARY\\_CLASSIFICATION &amp;&amp; neuralNet-&gt;outputsDim &gt;= 2)\n\n{\n\nfloat\\* value = result\\[0\\] &gt;= result\\[1\\] ? &amp;result\\[0\\] : &amp;result\\[1\\];\n\nif (\\*value &gt; 0.5)\n\n{\n\nif (value == &amp;result\\[0\\])\n\n{\n\nled\\_green(1);\n\nled\\_red(0);\n\n}\n\nelse\n\n{\n\nled\\_green(0);\n\nled\\_red(1);\n\n}\n\n}\n\nelse\n\n{\n\nled\\_green(0);\n\nled\\_red(0);\n\n}\n\n}\n\n}\n\n**Step 3: Copy the downloaded model to the sketch**\n\nCopy the model file *model.c* from the model archive to MCU firmware.  \n\n\n[Copy the downloaded model to the sketch](https:\/\/reddit.com\/link\/sjmfg6\/video\/upjksxog2nf81\/player)\n\n  \n**Step 4: Compile the sketch and upload it to the board**\n\nNow, everything is ready for sketch compilation. I used a program to send data from the computer to MCU and display the prediction results (it emulates sensor data and sends data to MCU).  \n\n\n[Compile the sketch and upload it to the board](https:\/\/reddit.com\/link\/sjmfg6\/video\/bc10wlqj2nf81\/player)\n\n  \nTo perform the prediction, download the utility: [https:\/\/github.com\/Neuton-tinyML\/dataset-uploader](https:\/\/github.com\/Neuton-tinyML\/dataset-uploader)\n\nDepending on your OS, use the appropriate file in the ***bin*** folder.\n\nYou need to specify two parameters for the utility: USB port and dataset file.\n\nSample:\n\nuploader -d.\/food\\_quality\\_binary\\_test\\_spoiled.csv -s \/dev\/cu.usbmodem14411101\n\nThe utility reads a CSV file and sends the samples line by line to the microcontroller. Then, it outputs the results as a CSV file to the ***stdout*** stream. After sending all the samples, the utility requests a report that contains the prediction time and the amount of memory consumed.\n\n**Step 5: Check how the embedded model functions**\n\nCreate two CSV files, containing one line each, with data corresponding to two classes: fresh and spoiled.\n\nThen, send each of them to the microcontroller and see the result of the prediction\n\n&amp;#x200B;\n\n[Check how the embedded model functions](https:\/\/reddit.com\/link\/sjmfg6\/video\/zki26bl32nf81\/player)\n\n*In this case, the food stays fresh, as the predicted class is zero, which means fresh food. The probability of zero is very high - 100% percent. The prediction was made in 3844 microseconds with 199 kB of Flash memory usage and 136 B of RAM usage. Also, you can see that the green LED is on, which signifies a good outcome.*  \n\n\n[Check how the embedded model functions](https:\/\/reddit.com\/link\/sjmfg6\/video\/2g270ts91nf81\/player)\n\n*Here are the results for another row of data. In this case, we see that the model predicted that the food is spoiled, as the predicted class is one, which indicates spoiled food. The prediction was also made very fast, in 3848 microseconds, with the same 199 kB of Flash memory usage and 136 kB of RAM usage. In this case, you can see the red LED, indicating that the food is spoiled.*\n\n**Conclusion:**\n\nThis experiment proves that in just 5 simple steps, you can create a working smart device that, despite its tiny size, can be of great help in monitoring food quality. I am absolutely sure that such technologies can help us make our planet a cleaner and healthier place","meta":"{'source': 'reddit_posts', 'id': 'sjmfg6', 'title': 'Real-time Food Quality Prediction.Detect spoiled products using the Tiny Machine Learning approach.', 'author': 'literallair', 'subreddit': 'arduino', 'subreddit_id': '2qknj', 'body': '**Things used in this project**\\n\\n***Hardware components:***  \\n[Arduino Mega 2560](https:\/\/www.hackster.io\/arduino\/products\/arduino-mega-2560?ref=project-85c17f)  \\n***Software apps and online services:***  \\nNeuton Tiny ML  \\n\\n\\n[Real-time Food Quality Prediction.](https:\/\/i.redd.it\/9r494if82nf81.gif)\\n\\n**Story**\\n\\nWith each passing year, the issue of food waste becomes more acute for the environment. A recent Food Waste Index Report by the United Nations Environment Program (UNEP) showed that, on average, consumers waste almost a billion tons of food per year (or 17 percent of all food purchased): [https:\/\/www.unep.org\/resources\/report\/unep-food-waste-index-report-2021](https:\/\/www.unep.org\/resources\/report\/unep-food-waste-index-report-2021)\\n\\nThe fact that people produce more food than they consume has significant negative consequences. For example, an estimated 8-10% of global greenhouse gas emissions come from unused food. On the contrary, reducing food waste will help to reduce greenhouse gas emissions and global pollution, as well as increase food availability for countries that suffer from hunger.\\n\\nThis situation suggests that in the near future, we will need to focus not on scaling food production, but on timely quality control so that fresh products can be sold and consumed. To fix the current situation, humanity will need smarter user-friendly technologies that can help them monitor product quality in real-time.\\n\\nIn this piece, Ill explain an easy way to check food quality that can be implemented in an average store, and even in your own fridge. And the best part - its not rocket science at all!\\n\\n**Introduction:**\\n\\nRecently, I conducted a simple experiment, and I would like to share it with you, as I strongly believe that such practical solutions can make a great difference in solving global problems. Baby steps on the way to the global good.\\n\\nMy idea is to use the Tiny Machine Learning approach to forecast whether food is fresh or spoiled based on the data from gas sensors. I conducted my experiment with the use of 7 gas sensors.\\n\\nIn my tutorial, you will learn how you can automatically create a super tiny machine learning model, embed it into a sensors microcontroller, and check food quality with it.\\n\\nSo lets get it started!\\n\\n**Procedure:**\\n\\n**Step 1: Create a TinyML model with Neuton**\\n\\nCreate a new solution Food Quality on the Neuton platform, and upload the training dataset containing signals for food quality, labeled for two classes (fresh and spoiled). My dataset contained 784 rows.\\n\\nThen, select the target (Label) and target metric (Accuracy), also enabling the Tiny Machine Learning mode. Additionally, select the 8-bit depth for calculations without float data types and click Start Training.\\n\\nThe model will be ready in several minutes. Next, download the model.  \\n\\n\\n[Create a TinyML model with Neuton](https:\/\/reddit.com\/link\/sjmfg6\/video\/c1muiuwc2nf81\/player)\\n\\n**Step 2: Create the microcontrollers firmware**\\n\\nDownload an example: [https:\/\/github.com\/Neuton-tinyML\/arduino-example](https:\/\/github.com\/Neuton-tinyML\/arduino-example)\\n\\n**Project Description**\\n\\nThe project contains:\\n\\n* code for receiving a dataset via USB-UART serial port,\\n* prediction fulfillment,\\n* results indication,\\n* code for measuring prediction time.\\n\\nThe main sketch file *arduino-tiny-ml-neuton.ino* has functions for processing data packets.\\n\\nThe main process goes on in the user\\\\_app.c file:\\n\\nstatic NeuralNet neuralNet = { 0 };\\n\\nextern const unsigned char model\\\\_bin\\\\[\\\\];\\n\\nextern const unsigned int model\\\\_bin\\\\_len;\\n\\nuint8\\\\_t app\\\\_init()\\n\\n{\\n\\nreturn (ERR\\\\_NO\\\\_ERROR != CalculatorInit(&amp;neuralNet, NULL));\\n\\n}\\n\\ninline Err CalculatorOnInit(NeuralNet\\\\* neuralNet)\\n\\n{\\n\\nmemUsage += sizeof(\\\\*neuralNet);\\n\\napp\\\\_reset();\\n\\ntimer\\\\_init();\\n\\nreturn CalculatorLoadFromMemory(neuralNet, model\\\\_bin, model\\\\_bin\\\\_len, 0);\\n\\n}\\n\\nHere, create an object NeuralNet and call a function for loading the model located in the file *model.c*\\n\\nCalculatorLoadFromMemory(neuralNet, model\\\\_bin, model\\\\_bin\\\\_len, 0);\\n\\nThe model is now ready to make predictions. For this, you need to call the CalculatorRunInference function by transferring a float array of size neuralNet.inputsDim to it.\\n\\nThe last value is BIAS and should be 1.\\n\\ninline float\\\\* app\\\\_run\\\\_inference(float\\\\* sample, uint32\\\\_t size\\\\_in, uint32\\\\_t \\\\*size\\\\_out)\\n\\n{\\n\\nif (!sample || !size\\\\_out)\\n\\nreturn NULL;\\n\\nif (size\\\\_in \/ sizeof(float) != app\\\\_inputs\\\\_size())\\n\\nreturn NULL;\\n\\n\\\\*size\\\\_out = sizeof(float) \\\\* neuralNet.outputsDim;\\n\\nif (app.reverseByteOrder)\\n\\nReverse4BytesValuesBuffer(sample, app\\\\_inputs\\\\_size());\\n\\nreturn CalculatorRunInference(&amp;neuralNet, sample);\\n\\n}\\n\\nWhen performing a prediction, three callback functions are called: CalculatorOnInferenceStart before and CalculatorOnInferenceEnd after the prediction, as well as CalculatorOnInferenceResult with the prediction result.\\n\\nIn the example, I used these functions to measure the prediction time.\\n\\nAn array with class probabilities is passed to the function with the result of the prediction, with the size neuralNet.outputsDim. Here, find the class with the highest probability, and if the probability is &gt; 0.5, turn on the LED (green for class 0 and red for class 1).\\n\\ninline void CalculatorOnInferenceResult(NeuralNet\\\\* neuralNet, float\\\\* result)\\n\\n{\\n\\nif (neuralNet-&gt;taskType == TASK\\\\_BINARY\\\\_CLASSIFICATION &amp;&amp; neuralNet-&gt;outputsDim &gt;= 2)\\n\\n{\\n\\nfloat\\\\* value = result\\\\[0\\\\] &gt;= result\\\\[1\\\\] ? &amp;result\\\\[0\\\\] : &amp;result\\\\[1\\\\];\\n\\nif (\\\\*value &gt; 0.5)\\n\\n{\\n\\nif (value == &amp;result\\\\[0\\\\])\\n\\n{\\n\\nled\\\\_green(1);\\n\\nled\\\\_red(0);\\n\\n}\\n\\nelse\\n\\n{\\n\\nled\\\\_green(0);\\n\\nled\\\\_red(1);\\n\\n}\\n\\n}\\n\\nelse\\n\\n{\\n\\nled\\\\_green(0);\\n\\nled\\\\_red(0);\\n\\n}\\n\\n}\\n\\n}\\n\\n**Step 3: Copy the downloaded model to the sketch**\\n\\nCopy the model file *model.c* from the model archive to MCU firmware.  \\n\\n\\n[Copy the downloaded model to the sketch](https:\/\/reddit.com\/link\/sjmfg6\/video\/upjksxog2nf81\/player)\\n\\n  \\n**Step 4: Compile the sketch and upload it to the board**\\n\\nNow, everything is ready for sketch compilation. I used a program to send data from the computer to MCU and display the prediction results (it emulates sensor data and sends data to MCU).  \\n\\n\\n[Compile the sketch and upload it to the board](https:\/\/reddit.com\/link\/sjmfg6\/video\/bc10wlqj2nf81\/player)\\n\\n  \\nTo perform the prediction, download the utility: [https:\/\/github.com\/Neuton-tinyML\/dataset-uploader](https:\/\/github.com\/Neuton-tinyML\/dataset-uploader)\\n\\nDepending on your OS, use the appropriate file in the ***bin*** folder.\\n\\nYou need to specify two parameters for the utility: USB port and dataset file.\\n\\nSample:\\n\\nuploader -d.\/food\\\\_quality\\\\_binary\\\\_test\\\\_spoiled.csv -s \/dev\/cu.usbmodem14411101\\n\\nThe utility reads a CSV file and sends the samples line by line to the microcontroller. Then, it outputs the results as a CSV file to the ***stdout*** stream. After sending all the samples, the utility requests a report that contains the prediction time and the amount of memory consumed.\\n\\n**Step 5: Check how the embedded model functions**\\n\\nCreate two CSV files, containing one line each, with data corresponding to two classes: fresh and spoiled.\\n\\nThen, send each of them to the microcontroller and see the result of the prediction\\n\\n&amp;#x200B;\\n\\n[Check how the embedded model functions](https:\/\/reddit.com\/link\/sjmfg6\/video\/zki26bl32nf81\/player)\\n\\n*In this case, the food stays fresh, as the predicted class is zero, which means fresh food. The probability of zero is very high - 100% percent. The prediction was made in 3844 microseconds with 199 kB of Flash memory usage and 136 B of RAM usage. Also, you can see that the green LED is on, which signifies a good outcome.*  \\n\\n\\n[Check how the embedded model functions](https:\/\/reddit.com\/link\/sjmfg6\/video\/2g270ts91nf81\/player)\\n\\n*Here are the results for another row of data. In this case, we see that the model predicted that the food is spoiled, as the predicted class is one, which indicates spoiled food. The prediction was also made very fast, in 3848 microseconds, with the same 199 kB of Flash memory usage and 136 kB of RAM usage. In this case, you can see the red LED, indicating that the food is spoiled.*\\n\\n**Conclusion:**\\n\\nThis experiment proves that in just 5 simple steps, you can create a working smart device that, despite its tiny size, can be of great help in monitoring food quality. I am absolutely sure that such technologies can help us make our planet a cleaner and healthier place', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': 1643903232}"}
{"id":"556038","text":"Title: New baconreader update out, includes dark theme.\nThe text below was posted in an online community called Android in the year 2011:\n\nHi guys,\nA baconreader update just went out. It includes the dark theme - only for the story list and comments screen, more will be added soon. The \"log out\" function has also been added back (sorry), and extra spacing below comments is fixed.\n\nScreenshot of the dark theme: http:\/\/i.imgur.com\/ImlU2.png\n\nDownload here for free (ad-supported): https:\/\/market.android.com\/details?id=com.onelouder.baconreader\n\nDownload here for paid (ad-free): https:\/\/market.android.com\/details?id=com.onelouder.baconreader.premium\n\nThanks!","meta":"{'source': 'reddit_posts', 'id': 'nj2ox', 'title': 'New baconreader update out, includes dark theme.', 'author': 'meinhyperspeed', 'subreddit': 'Android', 'subreddit_id': '2qlqh', 'body': 'Hi guys,\\nA baconreader update just went out. It includes the dark theme - only for the story list and comments screen, more will be added soon. The \"log out\" function has also been added back (sorry), and extra spacing below comments is fixed.\\n\\nScreenshot of the dark theme: http:\/\/i.imgur.com\/ImlU2.png\\n\\nDownload here for free (ad-supported): https:\/\/market.android.com\/details?id=com.onelouder.baconreader\\n\\nDownload here for paid (ad-free): https:\/\/market.android.com\/details?id=com.onelouder.baconreader.premium\\n\\nThanks!', 'body_is_trimmed': False, 'score': 23, 'over_18': False, 'num_comments': 43, 'created_utc': 1324336557}"}
{"id":"201490","text":"Title: Addon cannot be loaded: corrupted\nThe text below was posted in an online community called FirefoxAddons in the year 2021:\n\nHi,\n\nI found an addon that looks great, and can be loaded in `about:debugging` as a temporary addon (EDIT: on normal stable Firefox), but for some reason refuses to load in a more permanent way.\n\nAddon source: https:\/\/github.com\/luileito\/mousefaker\\\nBuild: with `web-ext build` from the `src\/` directory, following advice from https:\/\/extensionworkshop.com\/documentation\/publish\/package-your-extension\n\nThis is not my repo. I love its concept and tried changing some values here and there but failed to load it as a regular addon.\n\nCan anyone help to figure out what's wrong? The repo is very light, barely 7 files.","meta":"{'source': 'reddit_posts', 'id': 'oq6iym', 'title': 'Addon cannot be loaded: corrupted', 'author': 'schklom', 'subreddit': 'FirefoxAddons', 'subreddit_id': '2qkbb', 'body': \"Hi,\\n\\nI found an addon that looks great, and can be loaded in `about:debugging` as a temporary addon (EDIT: on normal stable Firefox), but for some reason refuses to load in a more permanent way.\\n\\nAddon source: https:\/\/github.com\/luileito\/mousefaker\\\\\\nBuild: with `web-ext build` from the `src\/` directory, following advice from https:\/\/extensionworkshop.com\/documentation\/publish\/package-your-extension\\n\\nThis is not my repo. I love its concept and tried changing some values here and there but failed to load it as a regular addon.\\n\\nCan anyone help to figure out what's wrong? The repo is very light, barely 7 files.\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 6, 'created_utc': 1627059319}"}
{"id":"2086986","text":"Title: Why am I getting an error?\nThe text below was posted in an online community called learnpython in the year 2019:\n\nI was messing around with packages and how to put one together. I'm trying to import *basic\\_math.py* into [*time.py*](https:\/\/time.py)*.*\n\nI get the following error when hovering over *from basic\\_math import add\\_me* `[pylint] unable to import 'basic_math'`\n\n**Folder Structure:**\n\n    lib_pack:\n        - __init__.py\n        - basic_math.py\n        - time.py\n\n&amp;#x200B;\n\n**basic\\_math.py**\n\n    def add_me(a, b):\n        return a+b\n    \n    def sub_me(a, b):\n        return a-b\n    \n\n&amp;#x200B;\n\n**time.py** \n\n    from basic_math import add_me\n    \n    def myString():\n        return \"hello you!\"\n    \n    print(add_me(1,3))\n\n&amp;#x200B;","meta":"{'source': 'reddit_posts', 'id': 'ak8mgp', 'title': 'Why am I getting an error?', 'author': 'OneBananaMan', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': 'I was messing around with packages and how to put one together. I\\'m trying to import *basic\\\\_math.py* into [*time.py*](https:\/\/time.py)*.*\\n\\nI get the following error when hovering over *from basic\\\\_math import add\\\\_me* `[pylint] unable to import \\'basic_math\\'`\\n\\n**Folder Structure:**\\n\\n    lib_pack:\\n        - __init__.py\\n        - basic_math.py\\n        - time.py\\n\\n&amp;#x200B;\\n\\n**basic\\\\_math.py**\\n\\n    def add_me(a, b):\\n        return a+b\\n    \\n    def sub_me(a, b):\\n        return a-b\\n    \\n\\n&amp;#x200B;\\n\\n**time.py** \\n\\n    from basic_math import add_me\\n    \\n    def myString():\\n        return \"hello you!\"\\n    \\n    print(add_me(1,3))\\n\\n&amp;#x200B;', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 3, 'created_utc': 1548561386}"}
{"id":"2128206","text":"Title: Question, how to dismiss one viewcontroller and present different one?\nThe text below was posted in an online community called iOSProgramming in the year 2018:\n\nIn short I have 3 view controllers, A,B and C. A is presenting B, I want to dismiss B and right away present C. Is that possible?","meta":"{'source': 'reddit_posts', 'id': '9ttzjn', 'title': 'Question, how to dismiss one viewcontroller and present different one?', 'author': 'Vamp_dude', 'subreddit': 'iOSProgramming', 'subreddit_id': '2s61a', 'body': 'In short I have 3 view controllers, A,B and C. A is presenting B, I want to dismiss B and right away present C. Is that possible?', 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 8, 'created_utc': 1541250945}"}
{"id":"546763","text":"Title: After failed LinuxMint upgrade USB not working\nThe text below was posted in an online community called linuxquestions in the year 2016:\n\nHey guys I have a problem, that i hope you can help me with thanks in advance\n\nI upgraded my 17.3 63 bit cinnamon Linux Mint install with mintupgrade yesterday and everything went well until when I used mintupgrade uprade and the processes stopped at the grub install looking for additional  images (i think).\n\nI then thought that it may take some time and let it sit over the night. When I got back from work an hour ago and looked at my PC it was still stuck and I decided to reboot. \nMy install now boots well into my system but my keyboard and mouse arent working and the usb ports on my system dont respond (even with other hardware). The system isnt frozen, I can see psensor running in the background.\n\nHow could I fix this?","meta":"{'source': 'reddit_posts', 'id': '4tmyz5', 'title': 'After failed LinuxMint upgrade USB not working', 'author': 'Dotile', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': 'Hey guys I have a problem, that i hope you can help me with thanks in advance\\n\\nI upgraded my 17.3 63 bit cinnamon Linux Mint install with mintupgrade yesterday and everything went well until when I used mintupgrade uprade and the processes stopped at the grub install looking for additional  images (i think).\\n\\nI then thought that it may take some time and let it sit over the night. When I got back from work an hour ago and looked at my PC it was still stuck and I decided to reboot. \\nMy install now boots well into my system but my keyboard and mouse arent working and the usb ports on my system dont respond (even with other hardware). The system isnt frozen, I can see psensor running in the background.\\n\\nHow could I fix this?', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 2, 'created_utc': 1468956195}"}
{"id":"59956","text":"Title: If I buy a separate SSD for Linux, is that still considered dual booting and could I face the same issues as if I had installed 2 OSes on one SSD?\nThe text below was posted in an online community called linuxquestions in the year 2018:\n\nHello everyone, I would like to give Linux (specifically Manjaro KDE and maybe Kubuntu if I don't like Manjaro) a try. However, I've seen that some people have problems with dual booting, but as far as I see, they typically tend to have 2 different OSes installed on one hard drive. If I buy an additional SSD for Linux, could I face similar issues or is that considered perfectly \"safe\"? Thanks!","meta":"{'source': 'reddit_posts', 'id': '9iaz3l', 'title': 'If I buy a separate SSD for Linux, is that still considered dual booting and could I face the same issues as if I had installed 2 OSes on one SSD?', 'author': 'Hogron555', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': 'Hello everyone, I would like to give Linux (specifically Manjaro KDE and maybe Kubuntu if I don\\'t like Manjaro) a try. However, I\\'ve seen that some people have problems with dual booting, but as far as I see, they typically tend to have 2 different OSes installed on one hard drive. If I buy an additional SSD for Linux, could I face similar issues or is that considered perfectly \"safe\"? Thanks!', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 5, 'created_utc': 1537729743}"}
{"id":"1118342","text":"Title: Not sure if I'm a fool for doing this as a recent graduate.\nThe text below was posted in an online community called cscareerquestions in the year 2018:\n\nI'm a recent graduate in CS.  I've recently encountered this situation.\n\nGot a phone interview I guess I did well, so HR rep told me to come in for a second in person interview two days later. I was interviewed by the CEO. Just casual talk basically about my background and company's background. He made it sound like I was hired and got the job. He told me the following week I would come in 1 hr and see their day-to-day activities, for me to try them out (and I know mostly for them to try me out).  I came in on a Wednesday and I supposedly talked to a project manager.  She made me sign an NDA and further explained in great detail what the job requirements are and ask me what my salary requirements are and said the company can \"match that\". After about an hour, she said theyll contact me again once they are have a schedule set for training new hires.  I got an email last Friday for a follow up stating they're \"in the final stages of the recruitment process\" and will be reaching out to me (this week) once everything is finalized.  No e-mails yet.  Most likely, they'll want me to come in again -- again for about an 1hr or so-- and this time, sit me with someone to get a hands on training on their system\/software etc.\n\nWhat should I do?  This is my first time dealing with this kind of situation and I'm not sure if I'm a fool for hoping something will be solid.  I've been actively looking for a job and so far, this is my only solid lead.  I don't want to rescind my candidacy for this job and miss the opportunity.  Or, maybe I'm just being impatient?  Any suggestions?","meta":"{'source': 'reddit_posts', 'id': '91h7j0', 'title': \"Not sure if I'm a fool for doing this as a recent graduate.\", 'author': 'premiumrusher', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': 'I\\'m a recent graduate in CS.  I\\'ve recently encountered this situation.\\n\\nGot a phone interview I guess I did well, so HR rep told me to come in for a second in person interview two days later. I was interviewed by the CEO. Just casual talk basically about my background and company\\'s background. He made it sound like I was hired and got the job. He told me the following week I would come in 1 hr and see their day-to-day activities, for me to try them out (and I know mostly for them to try me out).  I came in on a Wednesday and I supposedly talked to a project manager.  She made me sign an NDA and further explained in great detail what the job requirements are and ask me what my salary requirements are and said the company can \"match that\". After about an hour, she said theyll contact me again once they are have a schedule set for training new hires.  I got an email last Friday for a follow up stating they\\'re \"in the final stages of the recruitment process\" and will be reaching out to me (this week) once everything is finalized.  No e-mails yet.  Most likely, they\\'ll want me to come in again -- again for about an 1hr or so-- and this time, sit me with someone to get a hands on training on their system\/software etc.\\n\\nWhat should I do?  This is my first time dealing with this kind of situation and I\\'m not sure if I\\'m a fool for hoping something will be solid.  I\\'ve been actively looking for a job and so far, this is my only solid lead.  I don\\'t want to rescind my candidacy for this job and miss the opportunity.  Or, maybe I\\'m just being impatient?  Any suggestions?', 'body_is_trimmed': False, 'score': 9, 'over_18': False, 'num_comments': 8, 'created_utc': 1532437504}"}
{"id":"1131985","text":"Title: [D] Using TSNE to visualize higher dimension loss functions\nThe text below was posted in an online community called MachineLearning in the year 2021:\n\nHello Everyone,\n\nRecently I had this idea : suppose you have a loss function that is in many dimensions, for curiosity sake - does it make sense to use the TSNE (Stochastic Neighbor Embedding) algorithm to visualize a \"lower embedded\" version of the loss function?\n\nSuppose I am working on an optimization problem : I am trying to find a set of inputs \"a1, a2, b1, b2\" that produces the **largest value** of some \"total\". Let's say that there is some \"blackbox\" function that links \"a1, a2, b1, b2\" to \"total\". Suppose we randomly selected 1000 values of \"a1, a2, b1, b2\" and in turn calculated 1000 corresponding values of \"total\":\n\n&amp;#x200B;\n\n[Sample Data](https:\/\/preview.redd.it\/ihfxe3exfhd71.png?width=498&amp;format=png&amp;auto=webp&amp;s=0cc6fa517027b2d1ad8e4e2a61255a6efdbd7fad)\n\n**Question:**\n\n**1)** Does it make sense to perform the TSNE algorithm on columns \"a1, a2, b1, b2\" of this dataset (suppose we call the resulting TSNE dimensions as \"X1\" and \"X2\"), and then make a new dataset containing the results of the TSNE algorithm and the \"total\" variable? \n\nFor example:\n\n&amp;#x200B;\n\n[TSNE data](https:\/\/preview.redd.it\/0wrhixswghd71.png?width=237&amp;format=png&amp;auto=webp&amp;s=58ceb00b20ae00db93eee926ef4ab46969a84a12)\n\n**2)** With this TSNE data, does it then make sense to visualize a 3D loss function and the contour plots? \n\nFor example:\n\n&amp;#x200B;\n\n[Plot of 3D Surface and Contours](https:\/\/preview.redd.it\/9xt1bxdxhhd71.png?width=1715&amp;format=png&amp;auto=webp&amp;s=9f6000c27a1b864d3d0572f55e245ec5bb6d8343)\n\n**Note:** The above graphs are created with randomly generated data and that is why their shapes seem irregular. Also, I understand that the TSNE algorithm is stochastic and might result in a new set of \"embedding vectors\" when repeated on the same data. I also understand that there is no real way to \"trace\" the TSNE embeddings back to the original data. Also, these graphs likely serve no real purpose - they just seem visually appealing.\n\nSo, can someone please try to answer this question: does it make sense to visualize higher dimension loss functions using the TSNE algorithm?\n\nThanks","meta":"{'source': 'reddit_posts', 'id': 'orrejn', 'title': '[D] Using TSNE to visualize higher dimension loss functions', 'author': 'SQL_beginner', 'subreddit': 'MachineLearning', 'subreddit_id': '2r3gv', 'body': 'Hello Everyone,\\n\\nRecently I had this idea : suppose you have a loss function that is in many dimensions, for curiosity sake - does it make sense to use the TSNE (Stochastic Neighbor Embedding) algorithm to visualize a \"lower embedded\" version of the loss function?\\n\\nSuppose I am working on an optimization problem : I am trying to find a set of inputs \"a1, a2, b1, b2\" that produces the **largest value** of some \"total\". Let\\'s say that there is some \"blackbox\" function that links \"a1, a2, b1, b2\" to \"total\". Suppose we randomly selected 1000 values of \"a1, a2, b1, b2\" and in turn calculated 1000 corresponding values of \"total\":\\n\\n&amp;#x200B;\\n\\n[Sample Data](https:\/\/preview.redd.it\/ihfxe3exfhd71.png?width=498&amp;format=png&amp;auto=webp&amp;s=0cc6fa517027b2d1ad8e4e2a61255a6efdbd7fad)\\n\\n**Question:**\\n\\n**1)** Does it make sense to perform the TSNE algorithm on columns \"a1, a2, b1, b2\" of this dataset (suppose we call the resulting TSNE dimensions as \"X1\" and \"X2\"), and then make a new dataset containing the results of the TSNE algorithm and the \"total\" variable? \\n\\nFor example:\\n\\n&amp;#x200B;\\n\\n[TSNE data](https:\/\/preview.redd.it\/0wrhixswghd71.png?width=237&amp;format=png&amp;auto=webp&amp;s=58ceb00b20ae00db93eee926ef4ab46969a84a12)\\n\\n**2)** With this TSNE data, does it then make sense to visualize a 3D loss function and the contour plots? \\n\\nFor example:\\n\\n&amp;#x200B;\\n\\n[Plot of 3D Surface and Contours](https:\/\/preview.redd.it\/9xt1bxdxhhd71.png?width=1715&amp;format=png&amp;auto=webp&amp;s=9f6000c27a1b864d3d0572f55e245ec5bb6d8343)\\n\\n**Note:** The above graphs are created with randomly generated data and that is why their shapes seem irregular. Also, I understand that the TSNE algorithm is stochastic and might result in a new set of \"embedding vectors\" when repeated on the same data. I also understand that there is no real way to \"trace\" the TSNE embeddings back to the original data. Also, these graphs likely serve no real purpose - they just seem visually appealing.\\n\\nSo, can someone please try to answer this question: does it make sense to visualize higher dimension loss functions using the TSNE algorithm?\\n\\nThanks', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 4, 'created_utc': 1627273730}"}
{"id":"1086042","text":"Title: Nodemon, how does it work under the hood?\nThe text below was posted in an online community called node in the year 2021:\n\nHey guys, how does nodemon work under the hood?\n\n&amp;#x200B;\n\nI am currently trying to achieve something like they are doing but in python. I get that nodemon uses chokidar to watch for file events and then do some magic to restart any server. or to refresh the execution of any programm. How does the refresh logic work of the server. \n\nSo what I currently understand that it is working like this:\n\n\\- Watch file system \n\n\\- on proper event restart app (with magic)\n\n\\- inject into every html a script which opens a socket connection so the browser window can also be refreshed\n\n\\- reroute all other requests to the proper server and print all the logs to the server console. (I think this will fall into part, once I know how I easily reroute.)","meta":"{'source': 'reddit_posts', 'id': 'pskwsz', 'title': 'Nodemon, how does it work under the hood?', 'author': 'snake_py', 'subreddit': 'node', 'subreddit_id': '2reca', 'body': 'Hey guys, how does nodemon work under the hood?\\n\\n&amp;#x200B;\\n\\nI am currently trying to achieve something like they are doing but in python. I get that nodemon uses chokidar to watch for file events and then do some magic to restart any server. or to refresh the execution of any programm. How does the refresh logic work of the server. \\n\\nSo what I currently understand that it is working like this:\\n\\n\\\\- Watch file system \\n\\n\\\\- on proper event restart app (with magic)\\n\\n\\\\- inject into every html a script which opens a socket connection so the browser window can also be refreshed\\n\\n\\\\- reroute all other requests to the proper server and print all the logs to the server console. (I think this will fall into part, once I know how I easily reroute.)', 'body_is_trimmed': False, 'score': 19, 'over_18': False, 'num_comments': 11, 'created_utc': 1632237618}"}
{"id":"1666454","text":"Title: Windows 10 update menu never loads, any ideas?\nThe text below was posted in an online community called Windows10 in the year 2021:\n\n&amp;#x200B;\n\nhttps:\/\/preview.redd.it\/ydf4aluky9571.png?width=1920&amp;format=png&amp;auto=webp&amp;s=d54ef8ad5f28db65e1275b682e2429b406d14df2","meta":"{'source': 'reddit_posts', 'id': 'nzthe8', 'title': 'Windows 10 update menu never loads, any ideas?', 'author': 'OutVerted', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': '&amp;#x200B;\\n\\nhttps:\/\/preview.redd.it\/ydf4aluky9571.png?width=1920&amp;format=png&amp;auto=webp&amp;s=d54ef8ad5f28db65e1275b682e2429b406d14df2', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 1, 'created_utc': 1623695429}"}
{"id":"1060304","text":"Title: I found my data from an old journaling app I used back in 2013-2014\nThe text below was posted in an online community called learnjavascript in the year 2021:\n\nYou guessed it, it's in Javascript and only know Python and a little html. So I can't really do anything with this chaos. Is there a program I can use to at least get them in a table or something similar, so it's easier to read and copy somewhere else. Also, all the dates are just random numbers? The data is divided in the columns created, title, contents, latitude, longitude, tags and a couple others.","meta":"{'source': 'reddit_posts', 'id': 'pt8bmz', 'title': 'I found my data from an old journaling app I used back in 2013-2014', 'author': 'mirayy', 'subreddit': 'learnjavascript', 'subreddit_id': '2tugi', 'body': \"You guessed it, it's in Javascript and only know Python and a little html. So I can't really do anything with this chaos. Is there a program I can use to at least get them in a table or something similar, so it's easier to read and copy somewhere else. Also, all the dates are just random numbers? The data is divided in the columns created, title, contents, latitude, longitude, tags and a couple others.\", 'body_is_trimmed': False, 'score': 10, 'over_18': False, 'num_comments': 7, 'created_utc': 1632319764}"}
{"id":"99668","text":"Title: why is every redux tutorial a simple todo app\nThe text below was posted in an online community called javascript in the year 2017:\n\nI'm trying to grasp redux but every tutorial I find is just a todo app, a standalone todo app with no react.\nand the problem is, those todo apps cover so little that they leave you puzzled when you want to use it in your project, so any guidance to where I can truly learn useful redux?\n\nDan's egghead tuto is also not helping","meta":"{'source': 'reddit_posts', 'id': '6d1bkn', 'title': 'why is every redux tutorial a simple todo app', 'author': 'assassinateur', 'subreddit': 'javascript', 'subreddit_id': '2qh30', 'body': \"I'm trying to grasp redux but every tutorial I find is just a todo app, a standalone todo app with no react.\\nand the problem is, those todo apps cover so little that they leave you puzzled when you want to use it in your project, so any guidance to where I can truly learn useful redux?\\n\\nDan's egghead tuto is also not helping\", 'body_is_trimmed': False, 'score': 78, 'over_18': False, 'num_comments': 65, 'created_utc': 1495622207}"}
{"id":"1129161","text":"Title: REDISCONF 2016\nThe text below was posted in an online community called redis in the year 2016:\n\nWebsite at the usual place - http:\/\/redisconference.com\/ - details to be added :)\n\n**Feb 4th update:** registration is now open, CFP will be up shortly too.","meta":"{'source': 'reddit_posts', 'id': '42skdx', 'title': 'REDISCONF 2016', 'author': 'itamarhaber', 'subreddit': 'redis', 'subreddit_id': '2r18v', 'body': 'Website at the usual place - http:\/\/redisconference.com\/ - details to be added :)\\n\\n**Feb 4th update:** registration is now open, CFP will be up shortly too.', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 0, 'created_utc': 1453829089}"}
{"id":"267113","text":"Title: Injecting users into a nonbooted CentOS 7 system?\nThe text below was posted in an online community called linuxquestions in the year 2017:\n\nI'm trying to inject a usable user account into a nonbooted CentS 7 system having mounted the system to another Linux distro.  What are the best resources to look into to understand the login process?\n\nSo far I've injected entries to passwd, shadow, and group.  I can login and get a shell, but everything else breaks. I'm hoping to get gnome to launch like in natively created users.","meta":"{'source': 'reddit_posts', 'id': '6vuhwg', 'title': 'Injecting users into a nonbooted CentOS 7 system?', 'author': 'UntrustedProcess', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': \"I'm trying to inject a usable user account into a nonbooted CentS 7 system having mounted the system to another Linux distro.  What are the best resources to look into to understand the login process?\\n\\nSo far I've injected entries to passwd, shadow, and group.  I can login and get a shell, but everything else breaks. I'm hoping to get gnome to launch like in natively created users.\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 3, 'created_utc': 1503614817}"}
{"id":"1876419","text":"Title: With so many getting a Gear VR from the S7 promotion, what Virtual Reality Apps are out there?\nThe text below was posted in an online community called Android in the year 2016:\n\nPersonally, I am excited to get mine and try it out. Let's get a list of good apps going. \n\n**CONTENT**: there is \/r\/GearVR for discussion and information, but it appears to just be a fan page with a mixed bag of content. I do credit them for this amazing [Google Docs list of Oculus store content](https:\/\/docs.google.com\/spreadsheets\/d\/13cKxYGuTMErnIe8-t9-zsGAJSgSC0VVAXZbBjyI_bUw\/edit). Unfortunately, it does not appear there have been any confirmations of the S7 or S7e supporting any of the apps on that list. This [website from phandroid](http:\/\/phandroid.com\/2015\/06\/04\/oculus-mobile-vr-jam-2015-android-games-gear-vr\/) appears to be a great list for some unreleased \"Indy\" style content complete with direct download links. \n\nUseful PlayStore Apps:\n\n* [Sideload VR - Free](https:\/\/play.google.com\/store\/apps\/details?id=com.sideloadvr.market): Developer driven content that sidesteps the Oculus Home requirements.\n \n* [VRSE - Free ](https:\/\/play.google.com\/store\/apps\/details?id=com.shakingearthdigital.vrsecardboard): Full of High Quality VR videos, documentaries, etc.\n \n* [Google Cardboard - Free](https:\/\/play.google.com\/store\/apps\/details?id=com.google.samples.apps.cardboarddemo): At it's core, it is a VR interface for navigating your phone. However, using this allows you to access secondary content such as YouTube VR content, PhotoSpheres, and some google earth integration.\n \n* [Insidious 3 VR - Free](https:\/\/play.google.com\/store\/apps\/details?id=com.focus.insidiousCardboard): Exactly how it sounds. I prefer clean pants, so I will not be downloading this to test it out. Feel free to weigh in on your experience though.\n \n* [VR Cave - Free](https:\/\/play.google.com\/store\/apps\/details?id=com.vw.vrcave): I'm not sure what the purpose is, but it is a pretty neat experience. It seems it is just a fun exploration \"game\".\n \n* [Sites in VR](https:\/\/play.google.com\/store\/apps\/details?id=air.com.ercangigi.sitesin3d) - Free: Let's you explore various famous locations in glorious 180-360 degree views. The application needs some polish.\n \n* [Bomb Squad - $2.99](https:\/\/play.google.com\/store\/apps\/details?id=net.froemling.bombsquadcb): mini game including capture-the-flag and hockey.\n\nOther Apps Available from Gear VR (Warning: YouTube Links ahead) - If you want to bypass the following list, [this website covers most of the following apps](http:\/\/www.trustedreviews.com\/best-samsung-gear-vr-apps_round-up_Page-4) nicely.\n\n* [Land's End - $9.99](https:\/\/youtu.be\/XwJ9fiH2Ksw): avaialble only from the GearVR store, this is an adventure puzzle game from the makers of Monument Valley\n \n* [Gone - Free](https:\/\/youtu.be\/zRvD5rY9Yzc): An episodic thriller from the creator of *The Walking Dead*. It will only be available through [Samsung's MilkVR store](https:\/\/milkvr.com\/view\/fyjelb4AUk5).\n \n* [NextVR - Free](http:\/\/www.nextvr.com\/gearvr-live\/): Watch events live in full VR experience. I tried finding any information on subscriptions or fees, but was unfruitful. If anyone has more info, please comment.\n \n* [Gunjack- $9.99](https:\/\/youtu.be\/JF2aruO5jAY): This is by far the coolest app\/game I have come across. Looks like a classic arcade game brought into the 21st century. Think of the scene where Han and Luke are shooting from the Millennium Falcon and you'll get the gist. \n \n* [Rose - Free]: Animated Shorts that allow some degree of interaction by creating anchor points. Source unverified.\n \n* [Soundscape - $2.99](https:\/\/youtu.be\/jLEDgGpnhl8): This is a virtual sound mixer. Seems pretty rudimentary, but could be fun for someone who knows what they are doing.\n \n* [Action Bowling - $2.99](https:\/\/youtu.be\/dfeytQYq93E): Who doesn't like a good round of bowling? \n \n* [Netflix - Free \\(with Subscription\\)](https:\/\/youtu.be\/f7PDumHUM6w): Yeah, this one actually made me giggle. I guess it would be nice to pretend I have a mountview while watching netflix? I wonder how long until someone hacks the APK for a \"Netflix and chill\" scenario in VR.\n \n* [Esper - $4.99](https:\/\/www.youtube.com\/watch?v=H-ZKrB7SyBI): A virtual puzzle game with some apparently entertaining dialogue. \n\n* 360 Photos - Free: Included in Samsung app pack. I feel this one is self explanatory.\n \n* [Ansher Wars - $14.99](https:\/\/www.youtube.com\/watch?v=VpXOpPBm6Bc): For the pricetag, this better be a stellar game, but the visuals look like they leave something to be desired. \n \n* [Darknet - $9.99](https:\/\/www.youtube.com\/watch?v=FD1y0_qI7ws): A hacking themed puzzle game.\n\n**ACCESSORIES**: Again, \/r\/GearVR has a descent list of accessories, including some faceplate mods, bluetooth controllers, and some interesting headstrap mods.\n\nThe only thing I found useful were the controllers - \n\n1. [Controller 1 - $49.99](http:\/\/www.mogaanywhere.com\/controllers\/moga-pro-controller\/) (similar to xBox layout)\n\n1. [Controller 2 - out of stock](https:\/\/steelseries.com\/gaming-controllers\/free-laptop-wireless-controller) (similar to PSx Layout)\n\n1. [Controller 3 - $49](http:\/\/amzn.to\/1xAnb6m)\n\n1. [Controller 4 - $69](http:\/\/www.evolutioncontrollers.com\/shop\/)\n\nComment below with any info or recommendations for the rest of us. Thanks!","meta":"{'source': 'reddit_posts', 'id': '4aunzz', 'title': 'With so many getting a Gear VR from the S7 promotion, what Virtual Reality Apps are out there?', 'author': 'Burnt_P0Pcorn', 'subreddit': 'Android', 'subreddit_id': '2qlqh', 'body': 'Personally, I am excited to get mine and try it out. Let\\'s get a list of good apps going. \\n\\n**CONTENT**: there is \/r\/GearVR for discussion and information, but it appears to just be a fan page with a mixed bag of content. I do credit them for this amazing [Google Docs list of Oculus store content](https:\/\/docs.google.com\/spreadsheets\/d\/13cKxYGuTMErnIe8-t9-zsGAJSgSC0VVAXZbBjyI_bUw\/edit). Unfortunately, it does not appear there have been any confirmations of the S7 or S7e supporting any of the apps on that list. This [website from phandroid](http:\/\/phandroid.com\/2015\/06\/04\/oculus-mobile-vr-jam-2015-android-games-gear-vr\/) appears to be a great list for some unreleased \"Indy\" style content complete with direct download links. \\n\\nUseful PlayStore Apps:\\n\\n* [Sideload VR - Free](https:\/\/play.google.com\/store\/apps\/details?id=com.sideloadvr.market): Developer driven content that sidesteps the Oculus Home requirements.\\n \\n* [VRSE - Free ](https:\/\/play.google.com\/store\/apps\/details?id=com.shakingearthdigital.vrsecardboard): Full of High Quality VR videos, documentaries, etc.\\n \\n* [Google Cardboard - Free](https:\/\/play.google.com\/store\/apps\/details?id=com.google.samples.apps.cardboarddemo): At it\\'s core, it is a VR interface for navigating your phone. However, using this allows you to access secondary content such as YouTube VR content, PhotoSpheres, and some google earth integration.\\n \\n* [Insidious 3 VR - Free](https:\/\/play.google.com\/store\/apps\/details?id=com.focus.insidiousCardboard): Exactly how it sounds. I prefer clean pants, so I will not be downloading this to test it out. Feel free to weigh in on your experience though.\\n \\n* [VR Cave - Free](https:\/\/play.google.com\/store\/apps\/details?id=com.vw.vrcave): I\\'m not sure what the purpose is, but it is a pretty neat experience. It seems it is just a fun exploration \"game\".\\n \\n* [Sites in VR](https:\/\/play.google.com\/store\/apps\/details?id=air.com.ercangigi.sitesin3d) - Free: Let\\'s you explore various famous locations in glorious 180-360 degree views. The application needs some polish.\\n \\n* [Bomb Squad - $2.99](https:\/\/play.google.com\/store\/apps\/details?id=net.froemling.bombsquadcb): mini game including capture-the-flag and hockey.\\n\\nOther Apps Available from Gear VR (Warning: YouTube Links ahead) - If you want to bypass the following list, [this website covers most of the following apps](http:\/\/www.trustedreviews.com\/best-samsung-gear-vr-apps_round-up_Page-4) nicely.\\n\\n* [Land\\'s End - $9.99](https:\/\/youtu.be\/XwJ9fiH2Ksw): avaialble only from the GearVR store, this is an adventure puzzle game from the makers of Monument Valley\\n \\n* [Gone - Free](https:\/\/youtu.be\/zRvD5rY9Yzc): An episodic thriller from the creator of *The Walking Dead*. It will only be available through [Samsung\\'s MilkVR store](https:\/\/milkvr.com\/view\/fyjelb4AUk5).\\n \\n* [NextVR - Free](http:\/\/www.nextvr.com\/gearvr-live\/): Watch events live in full VR experience. I tried finding any information on subscriptions or fees, but was unfruitful. If anyone has more info, please comment.\\n \\n* [Gunjack- $9.99](https:\/\/youtu.be\/JF2aruO5jAY): This is by far the coolest app\/game I have come across. Looks like a classic arcade game brought into the 21st century. Think of the scene where Han and Luke are shooting from the Millennium Falcon and you\\'ll get the gist. \\n \\n* [Rose - Free]: Animated Shorts that allow some degree of interaction by creating anchor points. Source unverified.\\n \\n* [Soundscape - $2.99](https:\/\/youtu.be\/jLEDgGpnhl8): This is a virtual sound mixer. Seems pretty rudimentary, but could be fun for someone who knows what they are doing.\\n \\n* [Action Bowling - $2.99](https:\/\/youtu.be\/dfeytQYq93E): Who doesn\\'t like a good round of bowling? \\n \\n* [Netflix - Free \\\\(with Subscription\\\\)](https:\/\/youtu.be\/f7PDumHUM6w): Yeah, this one actually made me giggle. I guess it would be nice to pretend I have a mountview while watching netflix? I wonder how long until someone hacks the APK for a \"Netflix and chill\" scenario in VR.\\n \\n* [Esper - $4.99](https:\/\/www.youtube.com\/watch?v=H-ZKrB7SyBI): A virtual puzzle game with some apparently entertaining dialogue. \\n\\n* 360 Photos - Free: Included in Samsung app pack. I feel this one is self explanatory.\\n \\n* [Ansher Wars - $14.99](https:\/\/www.youtube.com\/watch?v=VpXOpPBm6Bc): For the pricetag, this better be a stellar game, but the visuals look like they leave something to be desired. \\n \\n* [Darknet - $9.99](https:\/\/www.youtube.com\/watch?v=FD1y0_qI7ws): A hacking themed puzzle game.\\n\\n**ACCESSORIES**: Again, \/r\/GearVR has a descent list of accessories, including some faceplate mods, bluetooth controllers, and some interesting headstrap mods.\\n\\nThe only thing I found useful were the controllers - \\n\\n1. [Controller 1 - $49.99](http:\/\/www.mogaanywhere.com\/controllers\/moga-pro-controller\/) (similar to xBox layout)\\n\\n1. [Controller 2 - out of stock](https:\/\/steelseries.com\/gaming-controllers\/free-laptop-wireless-controller) (similar to PSx Layout)\\n\\n1. [Controller 3 - $49](http:\/\/amzn.to\/1xAnb6m)\\n\\n1. [Controller 4 - $69](http:\/\/www.evolutioncontrollers.com\/shop\/)\\n\\nComment below with any info or recommendations for the rest of us. Thanks!', 'body_is_trimmed': False, 'score': 39, 'over_18': False, 'num_comments': 17, 'created_utc': 1458242410}"}
{"id":"1241323","text":"Title: Including files in task.h result in unknown variable name in stm32f4xx_hal.h file - Project created via STM32CubeMX with RTOS included\nThe text below was posted in an online community called embedded in the year 2019:\n\nSo I created a project from STM32CubeMX with RTOS included. I wanted to create a simple LED toggle task so I did:\n\n    \/\/ main.c\n    xTaskCreate(vLEDToggleTask(LD2_GPIO_Port, LD2_Pin), (signed char*) \"LED\", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );\n    \n    \/\/ task.c\n    void vLEDToggleTask(GPIO_TypeDef *GPIOx, uint16_t GPIO_pin) {\n        portTickType xLastWakeTime;\n        const portTickType xFrequency = 1000;\n        for (;;) {\n            HAL_GPIO_TogglePin(GPIOx, GPIO_pin);\n            vTaskDelayUntil(&amp;xLastWakeTime, xFrequency);\n         }\n    }\n\nI included the following files in `task.h` since I am using `GPIO_TypeDef` and `HAL_GPIO_TogglePin(GPIOx, GPIO_pin)` inside `task.c`\n\n    #include \"stm32f401xe.h\"\n    #include \"stm32f4xx_hal_gpio.h\"\n\nBut when I build the project, for some reason I start getting in `stm32f4xx_hal.h` even though it's defined in the header file.\n\n    error: unknown type name 'HAL_StatusTypeDef'\n\nI don't see how including those two files in `task.h` result in the above error.","meta":"{'source': 'reddit_posts', 'id': 'dnhxtg', 'title': 'Including files in task.h result in unknown variable name in stm32f4xx_hal.h file - Project created via STM32CubeMX with RTOS included', 'author': 'jaffaKnx', 'subreddit': 'embedded', 'subreddit_id': '2qins', 'body': 'So I created a project from STM32CubeMX with RTOS included. I wanted to create a simple LED toggle task so I did:\\n\\n    \/\/ main.c\\n    xTaskCreate(vLEDToggleTask(LD2_GPIO_Port, LD2_Pin), (signed char*) \"LED\", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );\\n    \\n    \/\/ task.c\\n    void vLEDToggleTask(GPIO_TypeDef *GPIOx, uint16_t GPIO_pin) {\\n        portTickType xLastWakeTime;\\n        const portTickType xFrequency = 1000;\\n        for (;;) {\\n            HAL_GPIO_TogglePin(GPIOx, GPIO_pin);\\n            vTaskDelayUntil(&amp;xLastWakeTime, xFrequency);\\n         }\\n    }\\n\\nI included the following files in `task.h` since I am using `GPIO_TypeDef` and `HAL_GPIO_TogglePin(GPIOx, GPIO_pin)` inside `task.c`\\n\\n    #include \"stm32f401xe.h\"\\n    #include \"stm32f4xx_hal_gpio.h\"\\n\\nBut when I build the project, for some reason I start getting in `stm32f4xx_hal.h` even though it\\'s defined in the header file.\\n\\n    error: unknown type name \\'HAL_StatusTypeDef\\'\\n\\nI don\\'t see how including those two files in `task.h` result in the above error.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 14, 'created_utc': 1572115474}"}
{"id":"179581","text":"Title: SQS Disaster Recovery\nThe text below was posted in an online community called aws in the year 2017:\n\nSeems Amazon maintains SQS high-availability across AZ in a single region. I am wondering what people do for disaster recovery?\n\nOther services (S3, Dynamo...) have \"Cross-Region Replication\". I don't see any like option for SQS.\n\nSo do people store the SQS message\/state data themselves in S3\/Dynamo, use the cross-region feature of those services, and recreate the SQS queues in the backup region in the event of a disaster.\n\nOr ____?\n\nAny ideas?","meta":"{'source': 'reddit_posts', 'id': '7ci9e4', 'title': 'SQS Disaster Recovery', 'author': 'prenagha', 'subreddit': 'aws', 'subreddit_id': '2qh84', 'body': 'Seems Amazon maintains SQS high-availability across AZ in a single region. I am wondering what people do for disaster recovery?\\n\\nOther services (S3, Dynamo...) have \"Cross-Region Replication\". I don\\'t see any like option for SQS.\\n\\nSo do people store the SQS message\/state data themselves in S3\/Dynamo, use the cross-region feature of those services, and recreate the SQS queues in the backup region in the event of a disaster.\\n\\nOr ____?\\n\\nAny ideas?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': 1510522077}"}
{"id":"461659","text":"Title: [06\/09\/13] Challenge #127 [Intermediate] Call Forwarding\nThe text below was posted in an online community called dailyprogrammer in the year 2013:\n\n# [](#IntermediateIcon) *(Intermediate)*: Call Forwarding\n\nA call forwarding service is a system that allows any incoming phone calls to a phone number be forwarded to a secondary phone number. This system is helpful in the case of a person taking a vacation (so that if Alice is out of the office, Bob receives all her customer's calls). It is possible, with such a system, that the secondary receiver (Bob in this case) also goes on vacation and also setups call forwarding to another person (Carol). Thus in such a situation, if someone calls Alice, it gets forwarded to Bob who in turn has the system re-forward to Carol.\n\nYour job is to implement such a system, take in people's vacation times, and return how many call forwards are implemented at a given time and how \"deep\" the forwarding goes.\n\n*Special thanks to the ACM collegiate programming challenges group for giving me the initial idea [here](http:\/\/uva.onlinejudge.org\/index.php?option=onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=316). Also, based on recent world news, please consider donating to the [EFF](https:\/\/www.eff.org\/) and make sure to write good code that protects your users. This subreddit is not the right place for a political discussion; I leave it up to the reader to think about why\/how this subject may be important to you. At least consider that software you write in your \"real-world job\" may be used by an international audience, and such an audience may be targeted by unscrupulous people\/governments. Protect people's lives by protecting their digital data: we programmers are the few people who can actually protect our users.* &lt;\/preachy paragraph&gt;\n\n# Formal Inputs &amp; Outputs\n## Input Description\n\nYou will be given an integer N on its own line that represents the number of vacation schedule descriptions that follow (each on their separate line). For each vacation description, you will be given four integers: the first is the person's regular 4-digit phone number, then the 4-digit phone number they choose to forward to, then when the vacation starts (measured in days) and how long the vacation lasts (measured in days). On the final line of input, which is line N + 1, you will be given a day to test the properties of the call-forwarding system (as defined in the output description).\n\nNote that the date\/time system here is based on a day index system. 1 represents the first day, 2 represents the second day, etc. Days do not respect the concept of months or years, so expect to simulate any given schedule up to the day 4,294,967,295. (32-bit unsigned integer max value)\n\nNote that the input's forwarding chain will be guaranteed to *not* have circular forwarding: you can expect that Carol, in the challenge description, will never re-forward back to Alice while she is on vacation. As a secondary challenge, if you *can* detect such a failure, in that case simply print the chain in question that fails the call forwarding.\n\n## Output Description\n\nFor the given day you want to test the system (the last integer from the input format), you must print both how many call forwarding are in place and the largest forwarding chain. A forwarding chain is the relationship as described in the challenge description where Alice forwards to Bob, who in turn forwards to Carol (this chain has a value of two, for the two call forwards).\n\n# Sample Inputs &amp; Outputs\n## Sample Input\n\n    3\n    0000 0001 1 3\n    0001 4964 2 1\n    4964 0005 2 3\n    2\n\n## Sample Output\n\n    3 call forwardings set up on day 2\n    3 call forwardings are the longest chain on day 2","meta":"{'source': 'reddit_posts', 'id': '1g09qy', 'title': '[06\/09\/13] Challenge #127 [Intermediate] Call Forwarding', 'author': 'nint22', 'subreddit': 'dailyprogrammer', 'subreddit_id': '2tj45', 'body': '# [](#IntermediateIcon) *(Intermediate)*: Call Forwarding\\n\\nA call forwarding service is a system that allows any incoming phone calls to a phone number be forwarded to a secondary phone number. This system is helpful in the case of a person taking a vacation (so that if Alice is out of the office, Bob receives all her customer\\'s calls). It is possible, with such a system, that the secondary receiver (Bob in this case) also goes on vacation and also setups call forwarding to another person (Carol). Thus in such a situation, if someone calls Alice, it gets forwarded to Bob who in turn has the system re-forward to Carol.\\n\\nYour job is to implement such a system, take in people\\'s vacation times, and return how many call forwards are implemented at a given time and how \"deep\" the forwarding goes.\\n\\n*Special thanks to the ACM collegiate programming challenges group for giving me the initial idea [here](http:\/\/uva.onlinejudge.org\/index.php?option=onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=316). Also, based on recent world news, please consider donating to the [EFF](https:\/\/www.eff.org\/) and make sure to write good code that protects your users. This subreddit is not the right place for a political discussion; I leave it up to the reader to think about why\/how this subject may be important to you. At least consider that software you write in your \"real-world job\" may be used by an international audience, and such an audience may be targeted by unscrupulous people\/governments. Protect people\\'s lives by protecting their digital data: we programmers are the few people who can actually protect our users.* &lt;\/preachy paragraph&gt;\\n\\n# Formal Inputs &amp; Outputs\\n## Input Description\\n\\nYou will be given an integer N on its own line that represents the number of vacation schedule descriptions that follow (each on their separate line). For each vacation description, you will be given four integers: the first is the person\\'s regular 4-digit phone number, then the 4-digit phone number they choose to forward to, then when the vacation starts (measured in days) and how long the vacation lasts (measured in days). On the final line of input, which is line N + 1, you will be given a day to test the properties of the call-forwarding system (as defined in the output description).\\n\\nNote that the date\/time system here is based on a day index system. 1 represents the first day, 2 represents the second day, etc. Days do not respect the concept of months or years, so expect to simulate any given schedule up to the day 4,294,967,295. (32-bit unsigned integer max value)\\n\\nNote that the input\\'s forwarding chain will be guaranteed to *not* have circular forwarding: you can expect that Carol, in the challenge description, will never re-forward back to Alice while she is on vacation. As a secondary challenge, if you *can* detect such a failure, in that case simply print the chain in question that fails the call forwarding.\\n\\n## Output Description\\n\\nFor the given day you want to test the system (the last integer from the input format), you must print both how many call forwarding are in place and the largest forwarding chain. A forwarding chain is the relationship as described in the challenge description where Alice forwards to Bob, who in turn forwards to Carol (this chain has a value of two, for the two call forwards).\\n\\n# Sample Inputs &amp; Outputs\\n## Sample Input\\n\\n    3\\n    0000 0001 1 3\\n    0001 4964 2 1\\n    4964 0005 2 3\\n    2\\n\\n## Sample Output\\n\\n    3 call forwardings set up on day 2\\n    3 call forwardings are the longest chain on day 2', 'body_is_trimmed': False, 'score': 27, 'over_18': False, 'num_comments': 33, 'created_utc': 1370817467}"}
{"id":"1675377","text":"Title: Confused with out in System.out.println in Java\nThe text below was posted in an online community called learnjava in the year 2020:\n\nI am learning Java and am having difficulty comprehending the concept of system.out.println().\n\nI know that println() is a function for which out will be an object. But I saw the System class which had out declared as\n\n`public final static PrintStream out = nullPrintStream();`\n\nI read that nullPrintStream() is as follows\n\n    private static PrintStream nullPrintStream() throws NullPointerException {\n     if (currentTimeMillis() &gt; 0)\n     { return null; } \n    throw new NullPointerException(); }\n\n1. I did not understand the first statement, is out an object or a variable? Since I read that final keyword cannot be used for objects.\n2. If the final object or variable and is set to null, then how is it changed since it is declared final?\n3. Why is currentTimeMills() used?\n\nI apologize for being a code monkey. I have tried to do my research before posting here.\n\nTL;DR\n\nMy main confusion is out a variable or an object since object cannot be declared final and how does it change its value since its final and set to null.","meta":"{'source': 'reddit_posts', 'id': 'faz72f', 'title': 'Confused with out in System.out.println in Java', 'author': 'indian_derp', 'subreddit': 'learnjava', 'subreddit_id': '2saos', 'body': 'I am learning Java and am having difficulty comprehending the concept of system.out.println().\\n\\nI know that println() is a function for which out will be an object. But I saw the System class which had out declared as\\n\\n`public final static PrintStream out = nullPrintStream();`\\n\\nI read that nullPrintStream() is as follows\\n\\n    private static PrintStream nullPrintStream() throws NullPointerException {\\n     if (currentTimeMillis() &gt; 0)\\n     { return null; } \\n    throw new NullPointerException(); }\\n\\n1. I did not understand the first statement, is out an object or a variable? Since I read that final keyword cannot be used for objects.\\n2. If the final object or variable and is set to null, then how is it changed since it is declared final?\\n3. Why is currentTimeMills() used?\\n\\nI apologize for being a code monkey. I have tried to do my research before posting here.\\n\\nTL;DR\\n\\nMy main confusion is out a variable or an object since object cannot be declared final and how does it change its value since its final and set to null.', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 8, 'created_utc': 1582914520}"}
{"id":"1826214","text":"Title: Admin main account files show up on my kids (Standard) profiles\nThe text below was posted in an online community called MacOS in the year 2022:\n\nI just bought a 2020 MacBook Air with Monterey 12.5. I set up profiles for me as the Admin, and a Standard profile for each of my kids (actually I used iCloud to transfer everything from old MacBook). It worked with separate profiles for awhile then all our profile pictures changed to the same picture; I changed my picture but soon thereafter all three changed to a different picture, same for all three profiles.\n\nThe troubling part is that when my son logged into his profile, instead of his files on the desktop, my files were there, and he also had my folders in his Documents, Downloads, and iCloud folders. \n\nIve checked in Security &amp; Privacy, Sharing, Users &amp; Groups, as well as in Finder for each of our Public or other folders, but I cant figure out why this is happening. My files only show up where they should be in my file structure but not anywhere else. \n\nHelp!","meta":"{'source': 'reddit_posts', 'id': 'w8tvpn', 'title': 'Admin main account files show up on my kids (Standard) profiles', 'author': 'VanillaOldFashioned', 'subreddit': 'MacOS', 'subreddit_id': '2s2gv', 'body': 'I just bought a 2020 MacBook Air with Monterey 12.5. I set up profiles for me as the Admin, and a Standard profile for each of my kids (actually I used iCloud to transfer everything from old MacBook). It worked with separate profiles for awhile then all our profile pictures changed to the same picture; I changed my picture but soon thereafter all three changed to a different picture, same for all three profiles.\\n\\nThe troubling part is that when my son logged into his profile, instead of his files on the desktop, my files were there, and he also had my folders in his Documents, Downloads, and iCloud folders. \\n\\nIve checked in Security &amp; Privacy, Sharing, Users &amp; Groups, as well as in Finder for each of our Public or other folders, but I cant figure out why this is happening. My files only show up where they should be in my file structure but not anywhere else. \\n\\nHelp!', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 4, 'created_utc': 1658866610}"}
{"id":"21201","text":"Title: Collecting data from a normalized database.\nThe text below was posted in an online community called learnpython in the year 2021:\n\nI'm working on a ledger app for tracking payments and expenses. I'm using a web based front end using FastAPI and Chameleon. Right now the data base looks like this:\n\n    Entries table:\n    id | transaction_type | payee | memo | category | cleared | credit | debit | date | account_id (foreign key to accounts.id)\n    \n    Accounts table: \n    id | account_name\n\nRetreiving and totalling everything like this (I'm running postgresql and using psycopg2):\n\n    def get_account_entries(id):\n        # return entry_list from certain accounts\n        balance = 0\n        balanced_entries = []\n        cursor.execute(\"\"\"SELECT * FROM entries WHERE account_id = %s ORDER BY date; \"\"\", (id,))\n        entries = cursor.fetchall()\n        for entry in entries:\n            total = 0\n            total = entry['deposit'] - entry['payment']\n            balance += total\n            entry['balance'] = round(balance, 2)\n            balanced_entries.append(entry)\n        return balanced_entries\n\nI've got the app working like this at the moment and I'm happy with how it's working. However, I realize that sometimes an entry has more than one transaction (such as when you have more than one check in the same bank deposit or when accepting credit transactions you have to record the amount paid and the credit processing fee under separate categories). I've seen this called a \"split transaction\" in other apps. This will make reconciling the ledger 1000 times easier and prevent complaints from the other user.\n\nSo I want to normalize the tables like this by taking the fields out that align to the separate transactions avoiding typing in the entries table data into every line:\n\n    Entries table:\n    id | transaction_type | cleared | date | account_id (foreign key to accounts.id)\n    \n    Transactions table:\n    id | payee | memo | category | credit | debit | entry_id (foreign key to entries.id)\n    \n    Accounts table: \n    id | account_name    \n\nThe [entries.id](https:\/\/entries.id) to transactions.entry\\_id is 1:many and that leaves me a little more confused for a couple of reasons:\n\n1. Once I have the entries I can just make another database call and get the transactions that are connected to each entry but is that the right way?  Should I be running a join with the database instead and putting the transactions in a dict defined in the Entry's ViewModel? Any tips on how to do that?\n2. How do I know the transactions.entry\\_id to put in the transaction table since it will be created at the same time as the [entries.id](https:\/\/entries.id) when I make a new entry into the database?\n3. How do I create multiple transactions for one entry database insert?\n\nI've tried to incorporate SQLAlchemy but have so far failed at getting it to work in this app.  I'm not familiar with it but, if it's the way to go rather than raw SQL like above,  I'll work on it and ask questions on why I can't get it to work in the workflow of my app.","meta":"{'source': 'reddit_posts', 'id': 'rf2n67', 'title': 'Collecting data from a normalized database.', 'author': 'FungusBrownies', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': 'I\\'m working on a ledger app for tracking payments and expenses. I\\'m using a web based front end using FastAPI and Chameleon. Right now the data base looks like this:\\n\\n    Entries table:\\n    id | transaction_type | payee | memo | category | cleared | credit | debit | date | account_id (foreign key to accounts.id)\\n    \\n    Accounts table: \\n    id | account_name\\n\\nRetreiving and totalling everything like this (I\\'m running postgresql and using psycopg2):\\n\\n    def get_account_entries(id):\\n        # return entry_list from certain accounts\\n        balance = 0\\n        balanced_entries = []\\n        cursor.execute(\"\"\"SELECT * FROM entries WHERE account_id = %s ORDER BY date; \"\"\", (id,))\\n        entries = cursor.fetchall()\\n        for entry in entries:\\n            total = 0\\n            total = entry[\\'deposit\\'] - entry[\\'payment\\']\\n            balance += total\\n            entry[\\'balance\\'] = round(balance, 2)\\n            balanced_entries.append(entry)\\n        return balanced_entries\\n\\nI\\'ve got the app working like this at the moment and I\\'m happy with how it\\'s working. However, I realize that sometimes an entry has more than one transaction (such as when you have more than one check in the same bank deposit or when accepting credit transactions you have to record the amount paid and the credit processing fee under separate categories). I\\'ve seen this called a \"split transaction\" in other apps. This will make reconciling the ledger 1000 times easier and prevent complaints from the other user.\\n\\nSo I want to normalize the tables like this by taking the fields out that align to the separate transactions avoiding typing in the entries table data into every line:\\n\\n    Entries table:\\n    id | transaction_type | cleared | date | account_id (foreign key to accounts.id)\\n    \\n    Transactions table:\\n    id | payee | memo | category | credit | debit | entry_id (foreign key to entries.id)\\n    \\n    Accounts table: \\n    id | account_name    \\n\\nThe [entries.id](https:\/\/entries.id) to transactions.entry\\\\_id is 1:many and that leaves me a little more confused for a couple of reasons:\\n\\n1. Once I have the entries I can just make another database call and get the transactions that are connected to each entry but is that the right way?  Should I be running a join with the database instead and putting the transactions in a dict defined in the Entry\\'s ViewModel? Any tips on how to do that?\\n2. How do I know the transactions.entry\\\\_id to put in the transaction table since it will be created at the same time as the [entries.id](https:\/\/entries.id) when I make a new entry into the database?\\n3. How do I create multiple transactions for one entry database insert?\\n\\nI\\'ve tried to incorporate SQLAlchemy but have so far failed at getting it to work in this app.  I\\'m not familiar with it but, if it\\'s the way to go rather than raw SQL like above,  I\\'ll work on it and ask questions on why I can\\'t get it to work in the workflow of my app.', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 14, 'created_utc': 1639355894}"}
{"id":"1346199","text":"Title: Id love to see some Apple implement conditional highlighting auto coloring in iWork\nThe text below was posted in an online community called apple in the year 2020:\n\nSounds a bit jarring but Id love to have it automatically color based on 2 pre determined colors. For example, Im making a spreadsheet in numbers about all the apartments Im looking at and Ive integrated it with my income spreadsheet to see all my expenses Id have and the amount Id be saving per month after all my expenses with each location. Id love to have it automatically highlight the totals but in gradual steps. I have this one rule that has the color dark green for anything above 1000. Anything between 750 and 1000 is a lighter green. Id love if they had the program set the color distance from the two different greens on a linear scale equivalent to the rules min and max and then assigned each value the correlating color between those two greens. Thatd leave a very pleasant spreadsheet. Just a thought haha","meta":"{'source': 'reddit_posts', 'id': 'hfnvc8', 'title': 'Id love to see some Apple implement conditional highlighting auto coloring in iWork', 'author': 'Alphablaze98', 'subreddit': 'apple', 'subreddit_id': '2qh1f', 'body': 'Sounds a bit jarring but Id love to have it automatically color based on 2 pre determined colors. For example, Im making a spreadsheet in numbers about all the apartments Im looking at and Ive integrated it with my income spreadsheet to see all my expenses Id have and the amount Id be saving per month after all my expenses with each location. Id love to have it automatically highlight the totals but in gradual steps. I have this one rule that has the color dark green for anything above 1000. Anything between 750 and 1000 is a lighter green. Id love if they had the program set the color distance from the two different greens on a linear scale equivalent to the rules min and max and then assigned each value the correlating color between those two greens. Thatd leave a very pleasant spreadsheet. Just a thought haha', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 0, 'created_utc': 1593098260}"}
{"id":"1707572","text":"Title: Does leaving FANG necessarily mean a paycut for a senior engineer?\nThe text below was posted in an online community called cscareerquestions in the year 2021:\n\nI'm currently working in FANG and am a bit burned out on big company bureaucracy and lack of advancement. I do feel like I'm underleveled (L4 with 13 yoe), so it's possible that I can get a higher-level position at another company.\n\nSo would leaving FANG necessarily mean taking a paycut?","meta":"{'source': 'reddit_posts', 'id': 'onpx65', 'title': 'Does leaving FANG necessarily mean a paycut for a senior engineer?', 'author': 'FinJoTheGreat', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"I'm currently working in FANG and am a bit burned out on big company bureaucracy and lack of advancement. I do feel like I'm underleveled (L4 with 13 yoe), so it's possible that I can get a higher-level position at another company.\\n\\nSo would leaving FANG necessarily mean taking a paycut?\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 13, 'created_utc': 1626737180}"}
{"id":"604039","text":"Title: Need help choosing game engine\/language\nThe text below was posted in an online community called learnprogramming in the year 2019:\n\nHey there! I'd like to make a playing cards card game, but I don't know what engine\/language I should choose. What are your recommendations?","meta":"{'source': 'reddit_posts', 'id': 'ce24cv', 'title': 'Need help choosing game engine\/language', 'author': 'Su5eD', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': \"Hey there! I'd like to make a playing cards card game, but I don't know what engine\/language I should choose. What are your recommendations?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 5, 'created_utc': 1563306925}"}
{"id":"1835974","text":"Title: Disabling \"click gestures\" [not mouse gestures]\nThe text below was posted in an online community called operabrowser in the year 2012:\n\nI'm trying to disable the functionality of when you hold right click down and then left click it goes back a page, and opposite goes forward. I have mouse gestures disabled already so it isn't under that and I'm not sure how to turn this off.","meta":"{'source': 'reddit_posts', 'id': 'vhrzo', 'title': 'Disabling \"click gestures\" [not mouse gestures]', 'author': '_RyanS', 'subreddit': 'operabrowser', 'subreddit_id': '2qhav', 'body': \"I'm trying to disable the functionality of when you hold right click down and then left click it goes back a page, and opposite goes forward. I have mouse gestures disabled already so it isn't under that and I'm not sure how to turn this off.\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 4, 'created_utc': 1340479914}"}
{"id":"2053481","text":"Title: My First Code\nThe text below was posted in an online community called learnpython in the year 2013:\n\nI was wondering if anyone would like to critique my code. I'm pretty sure that the dictionary part can be simplified and I would like to know how but if there is anything else that you can think of to improve it I would love to hear it. Also this is a simple code I wrote to type out ever single character combination within 8 letters. My end goal was to make a WinRAR password cracker but after I saw that it made a 27GB .txt file I am going to assume that it would be more efficient to just test WinRAR against the output instead of making a hug-ass file. If anyone could lead me in the right direction for how to use python with WinRAR I would be in your debt.\n\nhttp:\/\/pastebin.com\/HtMtHPiZ","meta":"{'source': 'reddit_posts', 'id': '1fk258', 'title': 'My First Code', 'author': 'Rememberthese', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': \"I was wondering if anyone would like to critique my code. I'm pretty sure that the dictionary part can be simplified and I would like to know how but if there is anything else that you can think of to improve it I would love to hear it. Also this is a simple code I wrote to type out ever single character combination within 8 letters. My end goal was to make a WinRAR password cracker but after I saw that it made a 27GB .txt file I am going to assume that it would be more efficient to just test WinRAR against the output instead of making a hug-ass file. If anyone could lead me in the right direction for how to use python with WinRAR I would be in your debt.\\n\\nhttp:\/\/pastebin.com\/HtMtHPiZ\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 9, 'created_utc': 1370227160}"}
{"id":"1026152","text":"Title: Custom renderer with HDRP\nThe text below was posted in an online community called Unity3D in the year 2020:\n\nI just upgraded my FPS project to HDRP from LWRP and I had a separate render pass for FPS objects which worked well, but I don't know how to do the same technique for HDRP. How can I do this with HDRP? Do I have to go back to the old way by using a camera stack?\n\nExample of what I want to do: [https:\/\/www.youtube.com\/watch?v=szsWx9IQVDI](https:\/\/www.youtube.com\/watch?v=szsWx9IQVDI)\n\n&amp;#x200B;\n\nThanks!","meta":"{'source': 'reddit_posts', 'id': 'f0nw7n', 'title': 'Custom renderer with HDRP', 'author': 'IntricateOnionStatue', 'subreddit': 'Unity3D', 'subreddit_id': '2qwj8', 'body': \"I just upgraded my FPS project to HDRP from LWRP and I had a separate render pass for FPS objects which worked well, but I don't know how to do the same technique for HDRP. How can I do this with HDRP? Do I have to go back to the old way by using a camera stack?\\n\\nExample of what I want to do: [https:\/\/www.youtube.com\/watch?v=szsWx9IQVDI](https:\/\/www.youtube.com\/watch?v=szsWx9IQVDI)\\n\\n&amp;#x200B;\\n\\nThanks!\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1581143819}"}
{"id":"652078","text":"Title: optimus-manager kills wifi\nThe text below was posted in an online community called linux4noobs in the year 2022:\n\nHey peeps. so I had this issue with optimus-manager, afterswitching to my NVIDIA card, my wifi stops working. I saw another post about someone that had the same issue, but one of the answer was literally just \"there's no way that's possible\" while it was pretty much happening. \n\ndo you have anything to help ? maybe some package to install that I didn't install ? Thanks in advance.\n\nPS : running vanilla arch linux, card is a 3060 portable.","meta":"{'source': 'reddit_posts', 'id': 'ulnxnd', 'title': 'optimus-manager kills wifi', 'author': 'Big_Comedian203', 'subreddit': 'linux4noobs', 'subreddit_id': '2qy7t', 'body': 'Hey peeps. so I had this issue with optimus-manager, afterswitching to my NVIDIA card, my wifi stops working. I saw another post about someone that had the same issue, but one of the answer was literally just \"there\\'s no way that\\'s possible\" while it was pretty much happening. \\n\\ndo you have anything to help ? maybe some package to install that I didn\\'t install ? Thanks in advance.\\n\\nPS : running vanilla arch linux, card is a 3060 portable.', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 1, 'created_utc': 1652091196}"}
{"id":"1427549","text":"Title: iPhones and a Google smart home ecosystem\nThe text below was posted in an online community called apple in the year 2020:\n\nI'm invested in 4 google smart displays around the house. I'm not jumping on the HomePod bandwagon.  Will Apple let us cast music to Google devices?  I use PocketCasts for podcasts, and with that app, I can cast to a Google device. \n\nA friend with an android device and using Apple Music can cast to a smart speaker; but an Apple ecosystem user can't! How frustrating is it???","meta":"{'source': 'reddit_posts', 'id': 'k7mx0v', 'title': 'iPhones and a Google smart home ecosystem', 'author': 'anidutta', 'subreddit': 'apple', 'subreddit_id': '2qh1f', 'body': \"I'm invested in 4 google smart displays around the house. I'm not jumping on the HomePod bandwagon.  Will Apple let us cast music to Google devices?  I use PocketCasts for podcasts, and with that app, I can cast to a Google device. \\n\\nA friend with an android device and using Apple Music can cast to a smart speaker; but an Apple ecosystem user can't! How frustrating is it???\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': 1607228873}"}
{"id":"508918","text":"Title: What mistakes should I avoid while learning React\nThe text below was posted in an online community called reactjs in the year 2022:\n\nSo I have completed my html\/css\/bootstrap\/tailwind\/js\/jQuery and now before moving on to backend I want to learn react.\n\nSo, what are those mistakes that I should avoid while learning react as a beginner or some tips that I should keep mind, something that you all faced in your learning days and might have approached it differently.\nWhat are some free courses or books that could be recommended to beginners?\n\nAnd what is the difference between reactJs and react native?","meta":"{'source': 'reddit_posts', 'id': 'u8jy5x', 'title': 'What mistakes should I avoid while learning React', 'author': 'Thepervysanin', 'subreddit': 'reactjs', 'subreddit_id': '2zldd', 'body': 'So I have completed my html\/css\/bootstrap\/tailwind\/js\/jQuery and now before moving on to backend I want to learn react.\\n\\nSo, what are those mistakes that I should avoid while learning react as a beginner or some tips that I should keep mind, something that you all faced in your learning days and might have approached it differently.\\nWhat are some free courses or books that could be recommended to beginners?\\n\\nAnd what is the difference between reactJs and react native?', 'body_is_trimmed': False, 'score': 33, 'over_18': False, 'num_comments': 54, 'created_utc': 1650534937}"}
{"id":"1364931","text":"Title: I'm in doubt of which framework to use for my\nproject: \"micro\" or \"full stack\"?\nThe text below was posted in an online community called Python in the year 2011:\n\nI'm currently thinking of writing a web application to showcase some stuff that I'm writing. A typical workflow would be writing the texts locally, create PDFs, then upload them and have them converted on the fly to HTML (using poppler), while at the same time pushing a \"news\" item that's basically the Git log where the text is stored (or something like that).\nAlso, the PDF should then be put to a download area.\n\nEDIT: It looks like a completely static setup would do: however there are some areas where dynamic stuff would be preferable (extra information on the writings, the characters, etc.).\n\nThe rest of the application is just to present the already written stuff, and a few links \/ extra tidbits. I want to write my own bits as what's available around doesn't really fit in my proposed workflow.\n\nNow that the lengthy explanation is done, I'm wondering on which web framework to use. My Python experience is intermediate (about 5 years now, but only in the past 2 I've written serious applications) and I haven't done much web development (just GUI or console). \n\nIn your opinion, which framework would be best for such an idea? A microframework like Flask or Bottle, or full featured stacks like web2py\/Django\/Pyramid?\n\nThanks a lot!","meta":"{'source': 'reddit_posts', 'id': 'foxka', 'title': 'I\\'m in doubt of which framework to use for my\\nproject: \"micro\" or \"full stack\"?', 'author': 'einar77', 'subreddit': 'Python', 'subreddit_id': '2qh0y', 'body': 'I\\'m currently thinking of writing a web application to showcase some stuff that I\\'m writing. A typical workflow would be writing the texts locally, create PDFs, then upload them and have them converted on the fly to HTML (using poppler), while at the same time pushing a \"news\" item that\\'s basically the Git log where the text is stored (or something like that).\\nAlso, the PDF should then be put to a download area.\\n\\nEDIT: It looks like a completely static setup would do: however there are some areas where dynamic stuff would be preferable (extra information on the writings, the characters, etc.).\\n\\nThe rest of the application is just to present the already written stuff, and a few links \/ extra tidbits. I want to write my own bits as what\\'s available around doesn\\'t really fit in my proposed workflow.\\n\\nNow that the lengthy explanation is done, I\\'m wondering on which web framework to use. My Python experience is intermediate (about 5 years now, but only in the past 2 I\\'ve written serious applications) and I haven\\'t done much web development (just GUI or console). \\n\\nIn your opinion, which framework would be best for such an idea? A microframework like Flask or Bottle, or full featured stacks like web2py\/Django\/Pyramid?\\n\\nThanks a lot!', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 14, 'created_utc': 1298196339}"}
{"id":"818738","text":"Title: [Help] We're trying to rename our web\/application development shop.\nThe text below was posted in an online community called webdev in the year 2014:\n\nIf this is the wrong place to post this, let me know and I'll repost elsewhere.\n\nI work for a startup software development and design agency in Baltimore, MD. I'm not doing this for free hits to our site, so I won't be posting a link unless requested. \n\nWe've come to a point that we've decided to rename our company. I won't get into the details about why, but let's just say, our current name doesn't really encompass what we do or what we're passionate about.\n\nOne name we've been throwing around is **\"Artifakt\"** (artifakt.io) or Artifactek (Artifact Tech ^more ^like ^Artifact ^Blech^amirite). My problem with this is the insinuation that we create out-dated technologies, but it could be turned around that we create tech that stands the test of time. \n\nWe also threw around the idea of **Luminary**; I think it sounds a bit too much like a pseudo-indie band (Lumineers)\n\nWe really like the idea of incorporating the concept of science, engineering, and evolution into our approach for software design and development. Our belief is that we engineer creative tech solutions for our clients who are trying to take their product to market. We're also expanding our offerings into marketing, business development, and more creative work for our clients.\n\nAnyway, let me know what you think or if you know of any resources that might be helpful in developing a new name. Who knew that coming up with a name for your own company could be so hard!\n\nThanks again everyone.","meta":"{'source': 'reddit_posts', 'id': '24jt4o', 'title': \"[Help] We're trying to rename our web\/application development shop.\", 'author': 'BushyEyes', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': 'If this is the wrong place to post this, let me know and I\\'ll repost elsewhere.\\n\\nI work for a startup software development and design agency in Baltimore, MD. I\\'m not doing this for free hits to our site, so I won\\'t be posting a link unless requested. \\n\\nWe\\'ve come to a point that we\\'ve decided to rename our company. I won\\'t get into the details about why, but let\\'s just say, our current name doesn\\'t really encompass what we do or what we\\'re passionate about.\\n\\nOne name we\\'ve been throwing around is **\"Artifakt\"** (artifakt.io) or Artifactek (Artifact Tech ^more ^like ^Artifact ^Blech^amirite). My problem with this is the insinuation that we create out-dated technologies, but it could be turned around that we create tech that stands the test of time. \\n\\nWe also threw around the idea of **Luminary**; I think it sounds a bit too much like a pseudo-indie band (Lumineers)\\n\\nWe really like the idea of incorporating the concept of science, engineering, and evolution into our approach for software design and development. Our belief is that we engineer creative tech solutions for our clients who are trying to take their product to market. We\\'re also expanding our offerings into marketing, business development, and more creative work for our clients.\\n\\nAnyway, let me know what you think or if you know of any resources that might be helpful in developing a new name. Who knew that coming up with a name for your own company could be so hard!\\n\\nThanks again everyone.', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 17, 'created_utc': '1399046366'}"}
{"id":"1453138","text":"Title: Firefox updated and all my tampermonkey scripts got reset.. Anyway to recover them?\nThe text below was posted in an online community called firefox in the year 2019:\n\nSo Firefox auto updated on me and when it restarted, all my tampermonkey scripts were gone. I tried downgrading to the previous firefox version but they still didnt show.. \n\n\nIs there anyway I can get them back without redownloading them? Some were custom made and didnt have backups so I wont be able to download them..\n\nThanks","meta":"{'source': 'reddit_posts', 'id': 'b3aqgy', 'title': 'Firefox updated and all my tampermonkey scripts got reset.. Anyway to recover them?', 'author': 'eXqusic', 'subreddit': 'firefox', 'subreddit_id': '2qh4p', 'body': 'So Firefox auto updated on me and when it restarted, all my tampermonkey scripts were gone. I tried downgrading to the previous firefox version but they still didnt show.. \\n\\n\\nIs there anyway I can get them back without redownloading them? Some were custom made and didnt have backups so I wont be able to download them..\\n\\nThanks', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 4, 'created_utc': 1553080428}"}
{"id":"1026801","text":"Title: Testing Bluetooth LE Hardware with this App\nThe text below was posted in an online community called iosdev in the year 2017:\n\nLast year I needed to get Apples CoreBluetooth Library running to design some hardware which would be controlled via an iOS App with Bluetooth LE. There was just one problem: we wanted to develop the hardware first to check out if it is even possible to get it done. At some point we needed to check if a Bluetooth connection could successfully be made with an iPhone. So we were looking for some kind of app which would allow us to send some ASCII or Decimal values to our hardware. But I couldn't find something useful for this task.\n\nSo I dived into CoreBluetooth and designed my own app which allowed us to test our hardware before spending lots of hours in designing a beautiful app.\n\nIT WORKED!! So I finally knew how to send some data blocks to a so called peripheral and got the final app done a few months later. \n\nThen I thought of publishing this little terminal app to the AppStore hoping that somebody else was experiencing the same problems. And it sold quite good. So I decided to continue the development on this app. Over the year I implemented a ton of new features and overhauled the design. Now I am ready to announce that version 1.0 just hit the AppStore!! After many hours of work and a lot of frustration it's finally at a point I would like to tell the world about it (the world of frustrated hardware developers like us).\n\nIt is now available at the AppStore for free and I would love you to support my work if you could need an app like this. \n[Bluetooth LE Terminal](https:\/\/appsto.re\/at\/T-Lg_.i)\n\nI'm very happy to answer all questions, feedback, feature- as well as bug-reports!\n\nI'll definitely try to give as much support as possible to my users and I'll continue to improve the app as well as implementing features of your requests. \n\nI hope I could help you an some kind of way to develop more Bluetooth enabled devices for iOS or any other Bluetooth LE enabled OS.\n\nThank you all! :-) \n\n[Bluetooth LE Terminal](https:\/\/appsto.re\/at\/T-Lg_.i)","meta":"{'source': 'reddit_posts', 'id': '5oy1tb', 'title': 'Testing Bluetooth LE Hardware with this App', 'author': 'lukepistrol', 'subreddit': 'iosdev', 'subreddit_id': '2s57z', 'body': \"Last year I needed to get Apples CoreBluetooth Library running to design some hardware which would be controlled via an iOS App with Bluetooth LE. There was just one problem: we wanted to develop the hardware first to check out if it is even possible to get it done. At some point we needed to check if a Bluetooth connection could successfully be made with an iPhone. So we were looking for some kind of app which would allow us to send some ASCII or Decimal values to our hardware. But I couldn't find something useful for this task.\\n\\nSo I dived into CoreBluetooth and designed my own app which allowed us to test our hardware before spending lots of hours in designing a beautiful app.\\n\\nIT WORKED!! So I finally knew how to send some data blocks to a so called peripheral and got the final app done a few months later. \\n\\nThen I thought of publishing this little terminal app to the AppStore hoping that somebody else was experiencing the same problems. And it sold quite good. So I decided to continue the development on this app. Over the year I implemented a ton of new features and overhauled the design. Now I am ready to announce that version 1.0 just hit the AppStore!! After many hours of work and a lot of frustration it's finally at a point I would like to tell the world about it (the world of frustrated hardware developers like us).\\n\\nIt is now available at the AppStore for free and I would love you to support my work if you could need an app like this. \\n[Bluetooth LE Terminal](https:\/\/appsto.re\/at\/T-Lg_.i)\\n\\nI'm very happy to answer all questions, feedback, feature- as well as bug-reports!\\n\\nI'll definitely try to give as much support as possible to my users and I'll continue to improve the app as well as implementing features of your requests. \\n\\nI hope I could help you an some kind of way to develop more Bluetooth enabled devices for iOS or any other Bluetooth LE enabled OS.\\n\\nThank you all! :-) \\n\\n[Bluetooth LE Terminal](https:\/\/appsto.re\/at\/T-Lg_.i)\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 0, 'created_utc': 1484848410}"}
{"id":"302101","text":"Title: odd electric poles.\nThe text below was posted in an online community called factorio in the year 2021:\n\nI am trying to set up a nice looking solar plant. Why are my electric pole wires crossing oddly?\n\n&amp;#x200B;\n\nhttps:\/\/preview.redd.it\/o2y2vxullyw61.png?width=493&amp;format=png&amp;auto=webp&amp;s=ee6a980ee00492171383b96977f3d073c449d2c5","meta":"{'source': 'reddit_posts', 'id': 'n45f5e', 'title': 'odd electric poles.', 'author': 'Eona77', 'subreddit': 'factorio', 'subreddit_id': '2wabp', 'body': 'I am trying to set up a nice looking solar plant. Why are my electric pole wires crossing oddly?\\n\\n&amp;#x200B;\\n\\nhttps:\/\/preview.redd.it\/o2y2vxullyw61.png?width=493&amp;format=png&amp;auto=webp&amp;s=ee6a980ee00492171383b96977f3d073c449d2c5', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 8, 'created_utc': 1620071187}"}
{"id":"1731795","text":"Title: Query Conundrum: How can I query this distant relationship?\nThe text below was posted in an online community called laravel in the year 2015:\n\nusers\n\n* id\n\n \n\ncourses:\n\n* id\n* semester_id\n\n \n\ncourse_user:\n\n* course_id\n* user_id\n\n \n\nsemesters:\n\n* id\n\n \n\nGoal: Return the collection of semesters for which a particular user has courses.\n\n \n\nI've been scratching my head over this for a little while. Thanks for your help.","meta":"{'source': 'reddit_posts', 'id': '2snjby', 'title': 'Query Conundrum: How can I query this distant relationship?', 'author': 'spreadem_for_jesus', 'subreddit': 'laravel', 'subreddit_id': '2uakt', 'body': \"users\\n\\n* id\\n\\n \\n\\ncourses:\\n\\n* id\\n* semester_id\\n\\n \\n\\ncourse_user:\\n\\n* course_id\\n* user_id\\n\\n \\n\\nsemesters:\\n\\n* id\\n\\n \\n\\nGoal: Return the collection of semesters for which a particular user has courses.\\n\\n \\n\\nI've been scratching my head over this for a little while. Thanks for your help.\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 5, 'created_utc': '1421433519'}"}
{"id":"354597","text":"Title: No sound from headphones after Realtek update (83.161.120.15573)\nThe text below was posted in an online community called Windows10 in the year 2018:\n\nSo I updated to Realtek HD Audio 83.161.120.15573 and my built-in laptop speakers work fine and when I plug in my headphones (of various kind which work on other devices), my speakers get muted as they should, but I have no sound from my headphones. On the advanced tab of \"speakers properties\" when I test sound it shows the sound being played but no sound comes from the headphone. Any ideas on how to fix this apart from rolling back to earlier version of Realtek HD which was problematic itself? Thanks in advance.","meta":"{'source': 'reddit_posts', 'id': 'a5956m', 'title': 'No sound from headphones after Realtek update (6.0.1.8573)', 'author': 'Rexro713', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': 'So I updated to Realtek HD Audio 6.0.1.8573 and my built-in laptop speakers work fine and when I plug in my headphones (of various kind which work on other devices), my speakers get muted as they should, but I have no sound from my headphones. On the advanced tab of \"speakers properties\" when I test sound it shows the sound being played but no sound comes from the headphone. Any ideas on how to fix this apart from rolling back to earlier version of Realtek HD which was problematic itself? Thanks in advance.', 'body_is_trimmed': False, 'score': 9, 'over_18': False, 'num_comments': 8, 'created_utc': 1544550925}"}
{"id":"1918407","text":"Title: Doing a fresh install of Windows 10, what else should I install?\nThe text below was posted in an online community called windows in the year 2017:\n\nAs the title says, I've decided to clean up my desktop and do a 100% fresh installation of Windows 10. I was wondering if there is anything this community uses that I should install once I have Windows loaded. \n\n* Useful programs\n\n* Browser extensions\n\n* System tweaks\n\n* Recommended settings\n\n* Visual enhancements\n\n* Etc...\n\nI don't care what it is, if it'As the title says, I've decided to clean up my desktop and do a 100% fresh installation of Windows 10. I was wondering if there is anything this community uses that I should install once I have Windows loaded. \n\n* Useful programs\n\n* Browser extensions\n\n* System tweaks\n\n* Recommended settings\n\n* Visual enhancements\n\n* Etc...\n\nI don't care what it is, if it's something good, put it here. Thanks in advance!\n\nFor reference, my part list: https:\/\/pcpartpicker.com\/list\/wwKJtJs something good, put it here. Thanks in advance!\n\nFor reference, my part list: https:\/\/pcpartpicker.com\/list\/wwKJtJ","meta":"{'source': 'reddit_posts', 'id': '5rprjp', 'title': 'Doing a fresh install of Windows 10, what else should I install?', 'author': 'GODDZILLA24', 'subreddit': 'windows', 'subreddit_id': '2qh3k', 'body': \"As the title says, I've decided to clean up my desktop and do a 100% fresh installation of Windows 10. I was wondering if there is anything this community uses that I should install once I have Windows loaded. \\n\\n* Useful programs\\n\\n* Browser extensions\\n\\n* System tweaks\\n\\n* Recommended settings\\n\\n* Visual enhancements\\n\\n* Etc...\\n\\nI don't care what it is, if it'As the title says, I've decided to clean up my desktop and do a 100% fresh installation of Windows 10. I was wondering if there is anything this community uses that I should install once I have Windows loaded. \\n\\n* Useful programs\\n\\n* Browser extensions\\n\\n* System tweaks\\n\\n* Recommended settings\\n\\n* Visual enhancements\\n\\n* Etc...\\n\\nI don't care what it is, if it's something good, put it here. Thanks in advance!\\n\\nFor reference, my part list: https:\/\/pcpartpicker.com\/list\/wwKJtJs something good, put it here. Thanks in advance!\\n\\nFor reference, my part list: https:\/\/pcpartpicker.com\/list\/wwKJtJ\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 9, 'created_utc': 1486072444}"}
{"id":"808623","text":"Title: Centering a horizontal unordered list within a div\nThe text below was posted in an online community called css in the year 2012:\n\nI wish i knew what i was searching for, the closest i came was wrapper, or making a wrapper which i assumed was my surrounding div however everyone was suggesting:\n\n    margin:0 auto;\n\nthis just isnt working it moves the entire enclosing div about 10 px, my CSS is probably very innifficent and quite sloppy but i only started on monday.\n\n[CSS](http:\/\/pastebin.com\/x8mh1CP8)\n\n[html](http:\/\/pastebin.com\/e2uFQvzv)\n\nI have realised to late that i need to use the same li\/ ul selectors down the side of my page but with properties, however i dont know how to get a list of my own making though classes\n\nsorry","meta":"{'source': 'reddit_posts', 'id': '11oo62', 'title': 'Centering a horizontal unordered list within a div', 'author': 'Soupr', 'subreddit': 'css', 'subreddit_id': '2qifv', 'body': 'I wish i knew what i was searching for, the closest i came was wrapper, or making a wrapper which i assumed was my surrounding div however everyone was suggesting:\\n\\n    margin:0 auto;\\n\\nthis just isnt working it moves the entire enclosing div about 10 px, my CSS is probably very innifficent and quite sloppy but i only started on monday.\\n\\n[CSS](http:\/\/pastebin.com\/x8mh1CP8)\\n\\n[html](http:\/\/pastebin.com\/e2uFQvzv)\\n\\nI have realised to late that i need to use the same li\/ ul selectors down the side of my page but with properties, however i dont know how to get a list of my own making though classes\\n\\nsorry', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 13, 'created_utc': 1350561434}"}
{"id":"2000311","text":"Title: Am I crazy to be uninterested in Deep Learning?\nThe text below was posted in an online community called cscareerquestions in the year 2018:\n\nI'm an older coder in a well known (but *not* top N) research organization.  (I write *code*.  Other people write papers.)  My department took a big left turn into Deep Learning several months ago.\n\nDL is all the hotness, but I can't develop any interest.  (Honestly, I don't know if it's DL(1), or not liking the way this department works(2), or burnout.)\n\n1) Training and testing, not much coding.\n\n2)  There's too much \"Let's build X by connecting 3 giant, open source projects.  They exist, so it should be easy and quick.\"  I miss writing significant amounts of code.\n\n\nNow they want me to develop some tools and create &amp; curate a corpus of data, utilizing data pulled from a popular site.  It sounds boring and it sounds like a bad plan.\n\nI'm thinking about telling my management chain that I'm bored and asking about other projects.\n\nThoughts?  Does anyone else find ML\/DL uninteresting, or am I crazy?","meta":"{'source': 'reddit_posts', 'id': '7np5zl', 'title': 'Am I crazy to be uninterested in Deep Learning?', 'author': 'bored_at_work345', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': 'I\\'m an older coder in a well known (but *not* top N) research organization.  (I write *code*.  Other people write papers.)  My department took a big left turn into Deep Learning several months ago.\\n\\nDL is all the hotness, but I can\\'t develop any interest.  (Honestly, I don\\'t know if it\\'s DL(1), or not liking the way this department works(2), or burnout.)\\n\\n1) Training and testing, not much coding.\\n\\n2)  There\\'s too much \"Let\\'s build X by connecting 3 giant, open source projects.  They exist, so it should be easy and quick.\"  I miss writing significant amounts of code.\\n\\n\\nNow they want me to develop some tools and create &amp; curate a corpus of data, utilizing data pulled from a popular site.  It sounds boring and it sounds like a bad plan.\\n\\nI\\'m thinking about telling my management chain that I\\'m bored and asking about other projects.\\n\\nThoughts?  Does anyone else find ML\/DL uninteresting, or am I crazy?', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 10, 'created_utc': 1514925222}"}
{"id":"2081518","text":"Title: Is the Watchdog system hardware or software based? Is it reliable?\nThe text below was posted in an online community called raspberry_pi in the year 2016:\n\nDoes anyone have any experience using the Watchdog service?  Reliable?  I'm thinking of using Pi for a remote always on solution where human intervention is not available if a reboot is needed.","meta":"{'source': 'reddit_posts', 'id': '528wi9', 'title': 'Is the Watchdog system hardware or software based? Is it reliable?', 'author': 'Tech604', 'subreddit': 'raspberry_pi', 'subreddit_id': '2syto', 'body': \"Does anyone have any experience using the Watchdog service?  Reliable?  I'm thinking of using Pi for a remote always on solution where human intervention is not available if a reboot is needed.\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 6, 'created_utc': 1473606436}"}
{"id":"2196283","text":"Title: Dot used with entries in integer programming with cvxopt.glpk\nThe text below was posted in an online community called learnpython in the year 2021:\n\nfrom cvxopt import matrix\n    from cvxopt.glpk import ilp\n    c = [1, 1, 1, 1, 1, 1, 1]\n    A_ineq = [[-1., 0., 0., -1., -1., -1., -1.], [-1., -1., 0., 0., -1., -1., -1.], [-1., -1., -1., 0., 0., -1., -1.], [-1., -1., -1., -1., 0., 0., -1.], [-1., -1., -1., -1., -1., 0., 0.], [0., -1., -1., -1., -1., -1., 0.], [0., 0., -1., -1., -1., -1., -1.]]\n    B_ineq = [-17., -13., -15., -19., -14., -16., -11.]\n    status, x = ilp(matrix(c), G = matrix(A_ineq).T, h = matrix(B_ineq), I = set(range(0,7)))\n    print(x)\n    print(status)\n\nHello.  Why should we use '.' with entries of A\\_inq and B\\_ineq? It's something about 'd type'.","meta":"{'source': 'reddit_posts', 'id': 'm0nugt', 'title': 'Dot used with entries in integer programming with cvxopt.glpk', 'author': 'e---i--MA', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': \"from cvxopt import matrix\\n    from cvxopt.glpk import ilp\\n    c = [1, 1, 1, 1, 1, 1, 1]\\n    A_ineq = [[-1., 0., 0., -1., -1., -1., -1.], [-1., -1., 0., 0., -1., -1., -1.], [-1., -1., -1., 0., 0., -1., -1.], [-1., -1., -1., -1., 0., 0., -1.], [-1., -1., -1., -1., -1., 0., 0.], [0., -1., -1., -1., -1., -1., 0.], [0., 0., -1., -1., -1., -1., -1.]]\\n    B_ineq = [-17., -13., -15., -19., -14., -16., -11.]\\n    status, x = ilp(matrix(c), G = matrix(A_ineq).T, h = matrix(B_ineq), I = set(range(0,7)))\\n    print(x)\\n    print(status)\\n\\nHello.  Why should we use '.' with entries of A\\\\_inq and B\\\\_ineq? It's something about 'd type'.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1615231871}"}
{"id":"2393086","text":"Title: Is my Leonardo bricked after connected to 12V power supply?\nThe text below was posted in an online community called arduino in the year 2022:\n\nI connected it, but did not get the expected result so pulled the power pin.\n\nNow, it isn't recognized on the usb port, green led stays on, reset button does nothing, connecting reset pin to ground pin does nothing.\n\nSuggestions?","meta":"{'source': 'reddit_posts', 'id': 'tggx9z', 'title': 'Is my Leonardo bricked after connected to 12V power supply?', 'author': 'chordtones', 'subreddit': 'arduino', 'subreddit_id': '2qknj', 'body': \"I connected it, but did not get the expected result so pulled the power pin.\\n\\nNow, it isn't recognized on the usb port, green led stays on, reset button does nothing, connecting reset pin to ground pin does nothing.\\n\\nSuggestions?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 12, 'created_utc': 1647542061}"}
{"id":"281543","text":"Title: What is the new ruby on rails?\nThe text below was posted in an online community called cscareerquestions in the year 2019:\n\nRuby on rails used to be one of the best things to learn and find a job. Now that RoR isn't used by as many companies what tech stack has similar status to RoR in the old days? \n\nEdit: This is not just asking for whats the hottest tech stack, Im really asking for what has replaced Ruby on Rails with regard to the different aspects I mentioned. Also I have a few clues but would like to know what this subreddit thinks.","meta":"{'source': 'reddit_posts', 'id': 'b8e41j', 'title': 'What is the new ruby on rails?', 'author': 'codeAligned', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"Ruby on rails used to be one of the best things to learn and find a job. Now that RoR isn't used by as many companies what tech stack has similar status to RoR in the old days? \\n\\nEdit: This is not just asking for whats the hottest tech stack, Im really asking for what has replaced Ruby on Rails with regard to the different aspects I mentioned. Also I have a few clues but would like to know what this subreddit thinks.\", 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 18, 'created_utc': 1554177369}"}
{"id":"1336788","text":"Title: [Window] Can someone tell when which key it is\nThe text below was posted in an online community called vim in the year 2017:\n\nHi, noob question here, I'm looking to modularise (but not borrow a package without knowing what's in it) my Vim configuration, and finding some inspiration in some packages like Spacevim.\nReading the code of some of these packages I see the following\n\n    nnoremap &lt;silent&gt; [Window]v :&lt;C-u&gt;split&lt;CR&gt;\n\nWhat is this [Window] key?\n\nThanks","meta":"{'source': 'reddit_posts', 'id': '61lbkl', 'title': '[Window] Can someone tell when which key it is', 'author': 'ramziik', 'subreddit': 'vim', 'subreddit_id': '2qhqx', 'body': \"Hi, noob question here, I'm looking to modularise (but not borrow a package without knowing what's in it) my Vim configuration, and finding some inspiration in some packages like Spacevim.\\nReading the code of some of these packages I see the following\\n\\n    nnoremap &lt;silent&gt; [Window]v :&lt;C-u&gt;split&lt;CR&gt;\\n\\nWhat is this [Window] key?\\n\\nThanks\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 28, 'created_utc': 1490531137}"}
{"id":"1937416","text":"Title: SVGs rendering \"edgy\" everywhere on the web.\nThe text below was posted in an online community called firefox in the year 2020:\n\nA lot of svg on various websites are rendererd wrongly, and are not \"filled out\".\n\nExample from lichess.org:\n\n[Pawn left is rendered correctly, the bishop to the right isnt.](https:\/\/preview.redd.it\/kvrxqm065q651.png?width=199&amp;format=png&amp;auto=webp&amp;s=8519d3448db0fe010c4b503b739ace7a86ce3eca)\n\nThis is definitively not an issue specific to this website, i find these frequently on every other website.\n\nThere don't appear to be any settings in Firefox regarding svg's, so im not sure what to do. Especially because i cant find any information on this, no one else seems to have this problem.\n\nReinstalling firefox didnt help.\n\nAny pointers to a solution would be much appreciated!\n\nEDIT: Apparently this is not even a firefox specific issue and i have that in \\*every single browser\\*? i am so confused.","meta":"{'source': 'reddit_posts', 'id': 'hen0rm', 'title': 'SVGs rendering \"edgy\" everywhere on the web.', 'author': 'Scayze', 'subreddit': 'firefox', 'subreddit_id': '2qh4p', 'body': 'A lot of svg on various websites are rendererd wrongly, and are not \"filled out\".\\n\\nExample from lichess.org:\\n\\n[Pawn left is rendered correctly, the bishop to the right isnt.](https:\/\/preview.redd.it\/kvrxqm065q651.png?width=199&amp;format=png&amp;auto=webp&amp;s=8519d3448db0fe010c4b503b739ace7a86ce3eca)\\n\\nThis is definitively not an issue specific to this website, i find these frequently on every other website.\\n\\nThere don\\'t appear to be any settings in Firefox regarding svg\\'s, so im not sure what to do. Especially because i cant find any information on this, no one else seems to have this problem.\\n\\nReinstalling firefox didnt help.\\n\\nAny pointers to a solution would be much appreciated!\\n\\nEDIT: Apparently this is not even a firefox specific issue and i have that in \\\\*every single browser\\\\*? i am so confused.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': 1592946326}"}
{"id":"610032","text":"Title: Is there a framework with math related to physics?\nThe text below was posted in an online community called csharp in the year 2021:\n\nThe most prominent example I can think of is the nabla operator, but differential equations are also a big thing.  \nI know that the Windows namespace has a Vector class, but it only takes 2 coordinates as parameters.  \nIs there a framework for things like that?","meta":"{'source': 'reddit_posts', 'id': 'l5t0q5', 'title': 'Is there a framework with math related to physics?', 'author': 'actopozipc', 'subreddit': 'csharp', 'subreddit_id': '2qhdf', 'body': 'The most prominent example I can think of is the nabla operator, but differential equations are also a big thing.  \\nI know that the Windows namespace has a Vector class, but it only takes 2 coordinates as parameters.  \\nIs there a framework for things like that?', 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 13, 'created_utc': 1611710848}"}
{"id":"563854","text":"Title: PDF analyzing JRPG menu UI from the 90s, with resolution-agnostic stats.\nThe text below was posted in an online community called gamedev in the year 2015:\n\nI've written a series of books about game design, two of which were on JRPGs.  This data just didn't fit into any of them, so I thought I'd make up an indepenedent PDF.  All of the size analysis is based on % of screen space, so it can be applied regardless of resolution.\n\nhttp:\/\/thegamedesignforum.com\/features\/JRPG_UI_SURVEY.pdf","meta":"{'source': 'reddit_posts', 'id': '3o4ocu', 'title': 'PDF analyzing JRPG menu UI from the 90s, with resolution-agnostic stats.', 'author': 'EveryLittleDetail', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': \"I've written a series of books about game design, two of which were on JRPGs.  This data just didn't fit into any of them, so I thought I'd make up an indepenedent PDF.  All of the size analysis is based on % of screen space, so it can be applied regardless of resolution.\\n\\nhttp:\/\/thegamedesignforum.com\/features\/JRPG_UI_SURVEY.pdf\", 'body_is_trimmed': False, 'score': 59, 'over_18': False, 'num_comments': 12, 'created_utc': '1444414877'}"}
{"id":"1643270","text":"Title: Question about palettes\nThe text below was posted in an online community called gamedev in the year 2021:\n\nIs it a good idea to have all assets with a consistent palette, and then put a light-system on top of all the assets? Does it still look ok or is the palette pointless at that point?\n\nAnd i wonder if its possible to have a shader that converts everything in your game to a palette each frame? So i can put that shader on after the light-system shader?\nIs it way to computationally demanding? Does any game use this approach?","meta":"{'source': 'reddit_posts', 'id': 'r1y1e8', 'title': 'Question about palettes', 'author': 'Iron_Juice', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': 'Is it a good idea to have all assets with a consistent palette, and then put a light-system on top of all the assets? Does it still look ok or is the palette pointless at that point?\\n\\nAnd i wonder if its possible to have a shader that converts everything in your game to a palette each frame? So i can put that shader on after the light-system shader?\\nIs it way to computationally demanding? Does any game use this approach?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 2, 'created_utc': 1637851370}"}
{"id":"2371323","text":"Title: IC with multiple devices??\nThe text below was posted in an online community called arduino in the year 2020:\n\nHey y'all!\nI've been tryna understand IC for a lil while, and I think I get it except for one thing. I got a pair of OLED displays that use IC, but I don't understand how addressing would work. I'm assuming I can't change the address from the OLED side, and just due to the nature of IC only being able to control 100+ devices, how would this work? Or would this all just mean I can only control 1 OLED per bus?\nThanks!!","meta":"{'source': 'reddit_posts', 'id': 'hdgsyy', 'title': 'IC with multiple devices??', 'author': 'jacko_light', 'subreddit': 'arduino', 'subreddit_id': '2qknj', 'body': \"Hey y'all!\\nI've been tryna understand IC for a lil while, and I think I get it except for one thing. I got a pair of OLED displays that use IC, but I don't understand how addressing would work. I'm assuming I can't change the address from the OLED side, and just due to the nature of IC only being able to control 100+ devices, how would this work? Or would this all just mean I can only control 1 OLED per bus?\\nThanks!!\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 6, 'created_utc': 1592781730}"}
{"id":"706699","text":"Title: GUI hidden undertaskbar even with +AlwaysOnTop\nThe text below was posted in an online community called AutoHotkey in the year 2015:\n\nProblem: http:\/\/i.imgur.com\/gHuaejd.jpg\n\n    \n    Hotkey, x, x\n    \n    Return\n    \n    x:\n     Hotkey, x, Off\n    \n     Gui +LastFound +AlwaysOnTop -Caption +ToolWindow\n     Gui Color, 1c1d1e\n     Gui Font, s32 Q5, Open Sans Light \n     Gui Add, Text, Xp+1100 Yp+980 W200 Vdisp Cffffff\n     WinSet TransColor, 1c1d1e\n    \n     Gui Show, NoActivate, Display\n    \n     secsLeft = 17\n     SetTimer, ShowTimer, 1000\n     Gosub ShowTimer\n    Return\n    \n    ShowTimer:\n      secsLeft--\n      IfEqual, secsLeft, 0\n      {\n        SetTimer ShowTimer, Off\n        Gui, Destroy\n        Hotkey, x, On\n    \n      \n      }\n      Else\n        GuiControl, Text, disp, %secsLeft%\n    Return","meta":"{'source': 'reddit_posts', 'id': '3df4sd', 'title': 'GUI hidden undertaskbar even with +AlwaysOnTop', 'author': 'vx__', 'subreddit': 'AutoHotkey', 'subreddit_id': '2rodl', 'body': 'Problem: http:\/\/i.imgur.com\/gHuaejd.jpg\\n\\n    \\n    Hotkey, x, x\\n    \\n    Return\\n    \\n    x:\\n     Hotkey, x, Off\\n    \\n     Gui +LastFound +AlwaysOnTop -Caption +ToolWindow\\n     Gui Color, 1c1d1e\\n     Gui Font, s32 Q5, Open Sans Light \\n     Gui Add, Text, Xp+1100 Yp+980 W200 Vdisp Cffffff\\n     WinSet TransColor, 1c1d1e\\n    \\n     Gui Show, NoActivate, Display\\n    \\n     secsLeft = 17\\n     SetTimer, ShowTimer, 1000\\n     Gosub ShowTimer\\n    Return\\n    \\n    ShowTimer:\\n      secsLeft--\\n      IfEqual, secsLeft, 0\\n      {\\n        SetTimer ShowTimer, Off\\n        Gui, Destroy\\n        Hotkey, x, On\\n    \\n      \\n      }\\n      Else\\n        GuiControl, Text, disp, %secsLeft%\\n    Return', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': '1436990182'}"}
{"id":"1152908","text":"Title: NaN in collections using Eq and Ord\nThe text below was posted in an online community called haskell in the year 2022:\n\nAny boolean comparision involving NaN returns False. Any `compare` involving NaN returns GT. Thus, the presence of NaN is disastrous for sets and other collections that depend on Eq and Ord. How is this problem dealt with in Haskell?","meta":"{'source': 'reddit_posts', 'id': 'sbjc1m', 'title': 'NaN in collections using Eq and Ord', 'author': 'average_emacs_user', 'subreddit': 'haskell', 'subreddit_id': '2qh36', 'body': 'Any boolean comparision involving NaN returns False. Any `compare` involving NaN returns GT. Thus, the presence of NaN is disastrous for sets and other collections that depend on Eq and Ord. How is this problem dealt with in Haskell?', 'body_is_trimmed': False, 'score': 11, 'over_18': False, 'num_comments': 29, 'created_utc': 1643020795}"}
{"id":"1970023","text":"Title: Any way to know the process ID of an active web browser tab?\nThe text below was posted in an online community called AutoHotkey in the year 2021:\n\nFor Firefox and Chromium based web browsers.\n\nTheir processes command line, don't seem to give any hint to indicate which process belongs to which browser tab.","meta":"{'source': 'reddit_posts', 'id': 'nvrsck', 'title': 'Any way to know the process ID of an active web browser tab?', 'author': 'jcunews1', 'subreddit': 'AutoHotkey', 'subreddit_id': '2rodl', 'body': \"For Firefox and Chromium based web browsers.\\n\\nTheir processes command line, don't seem to give any hint to indicate which process belongs to which browser tab.\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 14, 'created_utc': 1623231569}"}
{"id":"1446038","text":"Title: What are some of the most useful\/productive apps\/packages to install on linux desktop (GalliumOS here on Chromebook) in general, and also in particular to front-end development\nThe text below was posted in an online community called linuxquestions in the year 2020:\n\nI have Chrome, and LibreOffice for a basic office suite, but was wondering what others might find to be very useful for productivity, work, and development work in particular(frontend JS\/React, and node), if anything.\n\nIt's a chromebook and only 16GB so I guess mostly I would want\/need things done\/stored online, but some basic apps\/tools\/packages may be useful.","meta":"{'source': 'reddit_posts', 'id': 'f123ij', 'title': 'What are some of the most useful\/productive apps\/packages to install on linux desktop (GalliumOS here on Chromebook) in general, and also in particular to front-end development', 'author': 'babbagack', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': \"I have Chrome, and LibreOffice for a basic office suite, but was wondering what others might find to be very useful for productivity, work, and development work in particular(frontend JS\/React, and node), if anything.\\n\\nIt's a chromebook and only 16GB so I guess mostly I would want\/need things done\/stored online, but some basic apps\/tools\/packages may be useful.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1581215256}"}
{"id":"81705","text":"Title: All Workout Routes On Single Map - Possible?\nThe text below was posted in an online community called AppleWatch in the year 2017:\n\nHi, folks.\n\nHas anyone found a way to show all stored workout routes on a single map, e.g. imported into Apple Maps?\n\nI'd love to have a scrollable\/zoomable view of all the routes and places I've been walking over these past months.\n\nIf that helps - I have Apple Watch 2 and MacBook Pro. So if there were a way to export the routes and import them into Apple Maps, that would be cool.","meta":"{'source': 'reddit_posts', 'id': '6wz9xb', 'title': 'All Workout Routes On Single Map - Possible?', 'author': 'dtietze', 'subreddit': 'AppleWatch', 'subreddit_id': '2wav7', 'body': \"Hi, folks.\\n\\nHas anyone found a way to show all stored workout routes on a single map, e.g. imported into Apple Maps?\\n\\nI'd love to have a scrollable\/zoomable view of all the routes and places I've been walking over these past months.\\n\\nIf that helps - I have Apple Watch 2 and MacBook Pro. So if there were a way to export the routes and import them into Apple Maps, that would be cool.\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 1, 'created_utc': 1504101170}"}
{"id":"452784","text":"Title: I want to learn C++ for game development, what should I do?\nThe text below was posted in an online community called gamedev in the year 2020:\n\nHello gamedevs, in 2-3 years from now I want to work in the video game industry. I'm currently studying CS in university and will be pursuing a master's degree starting from next year in Computer Graphics. I started developing games a year ago and so far I've made 3 small games in Unity.   \nBut lately when looking at some programming job postings by some video game companies ( mainly to prepare my portfolio ) I found out that C++ is the most sought language in the industry. So, I wanted to know that in order to practice this language properly for game dev, should I start developing games in Unreal Engine? SFML? What would be your advice on this?","meta":"{'source': 'reddit_posts', 'id': 'hlw46u', 'title': 'I want to learn C++ for game development, what should I do?', 'author': 'JoeZart63', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': \"Hello gamedevs, in 2-3 years from now I want to work in the video game industry. I'm currently studying CS in university and will be pursuing a master's degree starting from next year in Computer Graphics. I started developing games a year ago and so far I've made 3 small games in Unity.   \\nBut lately when looking at some programming job postings by some video game companies ( mainly to prepare my portfolio ) I found out that C++ is the most sought language in the industry. So, I wanted to know that in order to practice this language properly for game dev, should I start developing games in Unreal Engine? SFML? What would be your advice on this?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 12, 'created_utc': 1593989813}"}
{"id":"111719","text":"Title: Freelancing Advice\nThe text below was posted in an online community called learnpython in the year 2020:\n\nHey I have been coding for a while now... although my main language is C as I'm an electronics undergraduate trying to get into embedded systems... I also started to like coding in python just for the fun of it. Also I was thinking of making some side money through coding and it's hard to find jobs that require C coding and I'm just a first year student and doesn't have enough expertise to do freelancing in embedded systems jobs.I would like to know what kind of work can I do with python.What all skills apart from python would I need for different types of those work?","meta":"{'source': 'reddit_posts', 'id': 'hspzc0', 'title': 'Freelancing Advice', 'author': 'random-noob-2001', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': \"Hey I have been coding for a while now... although my main language is C as I'm an electronics undergraduate trying to get into embedded systems... I also started to like coding in python just for the fun of it. Also I was thinking of making some side money through coding and it's hard to find jobs that require C coding and I'm just a first year student and doesn't have enough expertise to do freelancing in embedded systems jobs.I would like to know what kind of work can I do with python.What all skills apart from python would I need for different types of those work?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1594963353}"}
{"id":"1594649","text":"Title: React-Architect: Full-Stack React App Development and Serverless Deployment.\nThe text below was posted in an online community called reactjs in the year 2019:\n\nI am about to write my next book: \"**React-Architect: Full-Stack React Development and Serverless Deployment**\"\n\n\"React-Architect: Full-Stack React App Development and Serverless Deployment\" aims to be your comprehensive guide on solving problems from end-to-end. Youll learn how to write the code of a full-stack application. And youll learn what it takes to think and act like a full-stack developer.\n\nMy Kickstarter campaign starts in three weeks. On **Tuesday, December 17th, 2019** at 10 AM EST (NYC), 4 PM UTC (London).\n\nToday, I would like to share with you the outline of the book. You can read the preview [here](https:\/\/www.react-architect.com\/page?ref=reddit_sneak&amp;dest=https:\/\/medium.com\/@fzickert\/full-stack-react-app-development-and-serverless-deployment-6dd357c63374).\n\nYou can download the first chapter for free at [www.react-architect.com](https:\/\/www.react-architect.com\/page?ref=reddit_sneak&amp;dest=\/)","meta":"{'source': 'reddit_posts', 'id': 'e1v5ow', 'title': 'React-Architect: Full-Stack React App Development and Serverless Deployment.', 'author': 'fzickert', 'subreddit': 'reactjs', 'subreddit_id': '2zldd', 'body': 'I am about to write my next book: \"**React-Architect: Full-Stack React Development and Serverless Deployment**\"\\n\\n\"React-Architect: Full-Stack React App Development and Serverless Deployment\" aims to be your comprehensive guide on solving problems from end-to-end. Youll learn how to write the code of a full-stack application. And youll learn what it takes to think and act like a full-stack developer.\\n\\nMy Kickstarter campaign starts in three weeks. On **Tuesday, December 17th, 2019** at 10 AM EST (NYC), 4 PM UTC (London).\\n\\nToday, I would like to share with you the outline of the book. You can read the preview [here](https:\/\/www.react-architect.com\/page?ref=reddit_sneak&amp;dest=https:\/\/medium.com\/@fzickert\/full-stack-react-app-development-and-serverless-deployment-6dd357c63374).\\n\\nYou can download the first chapter for free at [www.react-architect.com](https:\/\/www.react-architect.com\/page?ref=reddit_sneak&amp;dest=\/)', 'body_is_trimmed': False, 'score': 9, 'over_18': False, 'num_comments': 6, 'created_utc': 1574757225}"}
{"id":"977427","text":"Title: How bad am I getting ripped off?\nThe text below was posted in an online community called web_design in the year 2018:\n\nSo after I graduated college for graphic design specializing in UI\/UX design, I got hired at an agency as an web designer and Frontend developer.  \n\nDuring my interview the higher ups were impressed that not only did I design all of the sites in my portfolio, but also that I developed them too using the standard (html, css, JavaScript) languages.\n\nThey offered me a $34,000 salary (in Milwaukee, WI) , which I knew for an entry level Frontend developer is low, but since I would also get to be a designer, I figured the paycut would be worth it starting out.\n\nAnywho fast forward a year later, and Ive only gotten to design 1 website, and had to develop 7 sites fully.  Not only that, but Ive had to also do heavy Php development to work within the CMS, which seems to extend past the bounds of  standard Frontend development (again maybe Im wrong, I went to school for graphic design so I really dont know where php falls in between Frontend and backend development)\n\nI feel like I got conned into taking a pay-cut with dreams of being a designer, and got placed into being Frontend + PHP developer without fair compensation.  My annual review is coming up next month, and I want to know if I should negotiate with my company for a significant raise or move on to another agency that offers a competitive pay.  \n\nBasically i want to know how bad am I being ripped off for my time, or is this a fair arrangement and I need to suck it up.  I like the office, and the projects it just seems like Im being taken advantage of.","meta":"{'source': 'reddit_posts', 'id': '8rglv8', 'title': 'How bad am I getting ripped off?', 'author': 'Be_The_Zip', 'subreddit': 'web_design', 'subreddit_id': '2qh1m', 'body': 'So after I graduated college for graphic design specializing in UI\/UX design, I got hired at an agency as an web designer and Frontend developer.  \\n\\nDuring my interview the higher ups were impressed that not only did I design all of the sites in my portfolio, but also that I developed them too using the standard (html, css, JavaScript) languages.\\n\\nThey offered me a $34,000 salary (in Milwaukee, WI) , which I knew for an entry level Frontend developer is low, but since I would also get to be a designer, I figured the paycut would be worth it starting out.\\n\\nAnywho fast forward a year later, and Ive only gotten to design 1 website, and had to develop 7 sites fully.  Not only that, but Ive had to also do heavy Php development to work within the CMS, which seems to extend past the bounds of  standard Frontend development (again maybe Im wrong, I went to school for graphic design so I really dont know where php falls in between Frontend and backend development)\\n\\nI feel like I got conned into taking a pay-cut with dreams of being a designer, and got placed into being Frontend + PHP developer without fair compensation.  My annual review is coming up next month, and I want to know if I should negotiate with my company for a significant raise or move on to another agency that offers a competitive pay.  \\n\\nBasically i want to know how bad am I being ripped off for my time, or is this a fair arrangement and I need to suck it up.  I like the office, and the projects it just seems like Im being taken advantage of.', 'body_is_trimmed': False, 'score': 25, 'over_18': False, 'num_comments': 48, 'created_utc': 1529118232}"}
{"id":"1290755","text":"Title: RDS and ELB list out using Bash\nThe text below was posted in an online community called aws in the year 2020:\n\nHello everyone.!\n\nI am looking for help here, i have  rds instances and elb in different multiple AZ regions, need to list out all using bash script. Any helpful greatly appreciate.\n\nThanks!","meta":"{'source': 'reddit_posts', 'id': 'es37bt', 'title': 'RDS and ELB list out using Bash', 'author': 'naresh2328', 'subreddit': 'aws', 'subreddit_id': '2qh84', 'body': 'Hello everyone.!\\n\\nI am looking for help here, i have  rds instances and elb in different multiple AZ regions, need to list out all using bash script. Any helpful greatly appreciate.\\n\\nThanks!', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 3, 'created_utc': 1579649745}"}
{"id":"761638","text":"Title: Negotiate salary after accepting?\nThe text below was posted in an online community called cscareerquestions in the year 2017:\n\nI am a senior in college and accepted a job at a software company a few weeks ago.  Although I am happy with the offer, a friend told me he plans on accepting his offer at a software company and then negotiate further.  He plans on continuing to shop around after he accepts and if gets a higher offer from another company he will go back to his original company and ask if they can match it.  He really likes his original company (as I do), so there is little chance he would accept another offer, renege his first offer; he plans on simply using the other companies' offers to negotiate his salary at his original company.  This was actually a suggestion from his boss, who he is friends with.\n\n\nThis whole situation sounded rather odd and risky; should I do the same?  I have heard that at my company unless you have another company's offer and can show it to them, they do not negotiate. Should I shop around for higher offers and go back to my original company with a higher amount to try and negotiate?","meta":"{'source': 'reddit_posts', 'id': '705ye8', 'title': 'Negotiate salary after accepting?', 'author': 'Penguinian', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"I am a senior in college and accepted a job at a software company a few weeks ago.  Although I am happy with the offer, a friend told me he plans on accepting his offer at a software company and then negotiate further.  He plans on continuing to shop around after he accepts and if gets a higher offer from another company he will go back to his original company and ask if they can match it.  He really likes his original company (as I do), so there is little chance he would accept another offer, renege his first offer; he plans on simply using the other companies' offers to negotiate his salary at his original company.  This was actually a suggestion from his boss, who he is friends with.\\n\\n\\nThis whole situation sounded rather odd and risky; should I do the same?  I have heard that at my company unless you have another company's offer and can show it to them, they do not negotiate. Should I shop around for higher offers and go back to my original company with a higher amount to try and negotiate?\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 4, 'created_utc': 1505430825}"}
{"id":"1532638","text":"Title: [Homework] Need to Write Short Article on A Company's Technology Stack. Having Issue Finding a Company\nThe text below was posted in an online community called learnprogramming in the year 2015:\n\nYou will be choosing a technology company and writing an article (imagine you are writing a for technology magazine with tech-savvy readers) about their technology stack. \nThis includes web and database servers, special software, open source software\/hardware, deployment strategies and security. \n\nI cannot seem to find any company that releases this information. Can be any company and simply needs to answer those questions.\n\nSorry if this is in the wrong subreddit. Please tell me if there is a better one to post this type of question in.\n\n[Example my professor gave us](https:\/\/signalvnoise.com\/posts\/3202-behind-the-scenes-the-hardware-that-powers-basecamp-campfire-and-highrise)","meta":"{'source': 'reddit_posts', 'id': '2wo525', 'title': \"[Homework] Need to Write Short Article on A Company's Technology Stack. Having Issue Finding a Company\", 'author': 'JBSpartan', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'You will be choosing a technology company and writing an article (imagine you are writing a for technology magazine with tech-savvy readers) about their technology stack. \\nThis includes web and database servers, special software, open source software\/hardware, deployment strategies and security. \\n\\nI cannot seem to find any company that releases this information. Can be any company and simply needs to answer those questions.\\n\\nSorry if this is in the wrong subreddit. Please tell me if there is a better one to post this type of question in.\\n\\n[Example my professor gave us](https:\/\/signalvnoise.com\/posts\/3202-behind-the-scenes-the-hardware-that-powers-basecamp-campfire-and-highrise)', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 5, 'created_utc': '1424539034'}"}
{"id":"1263876","text":"Title: Advice for principal engineer onsite interview for the Big 4?\nThe text below was posted in an online community called cscareerquestions in the year 2015:\n\nAs I understand, these interviews are conducted on an organizational level by other PEs rather than the team that's doing the hiring. \n\nWhat differences should I expect compared to, say, a senior engineer interview? What will they be evaluating? Any advice, beyond knowing algorithms? \n\nI know they're looking beyond technical skills to traits like \"influential\" but these can be hard to communicate in just one interview.","meta":"{'source': 'reddit_posts', 'id': '38jbqe', 'title': 'Advice for principal engineer onsite interview for the Big 4?', 'author': 'cathrowaway1111', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': 'As I understand, these interviews are conducted on an organizational level by other PEs rather than the team that\\'s doing the hiring. \\n\\nWhat differences should I expect compared to, say, a senior engineer interview? What will they be evaluating? Any advice, beyond knowing algorithms? \\n\\nI know they\\'re looking beyond technical skills to traits like \"influential\" but these can be hard to communicate in just one interview.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': '1433435474'}"}
{"id":"1219677","text":"Title: Help with putting script in a loop\nThe text below was posted in an online community called PowerShell in the year 2019:\n\nHi r\/PowerShell\n\n&amp;#x200B;\n\nSo I made a simple script that checks who is responsible for a given dl-list. \n\nHowever when put in a loop it does not function as I want. \n\n1. The first run generates no results. \n2. The titles \"name\", \"Givenname\" and \"surname\" do not show after it has looped once. \n\nDo you have any tips, below is the code.\n\n&amp;#x200B;\n\n&amp;#x200B;\n\n&amp;#x200B;\n\n&amp;#x200B;\n\nwhile($response -ne 'quit'){\n\n&amp;#x200B;\n\n$DL = Read-Host \"Enter alias for distribution list\"\n\nget-aduser (Get-ADGroup $DL -Properties \\*).ManagedBy.split(\",\")\\[0\\].split(\"=\")\\[1\\] | select name, Givenname, surname\n\nGet-ADGroup $DL -Properties \\* | select -ExpandProperty msExchCoManagedByLink | %{get-aduser $\\_.split(\",\")\\[0\\].split(\"=\")\\[1\\]| select name, Givenname, surname}\n\n&amp;#x200B;\n\n$response = Read-Host \"Press Enter to continue, quit to exit\"\n\n}","meta":"{'source': 'reddit_posts', 'id': 'ecaq6g', 'title': 'Help with putting script in a loop', 'author': 'KillerWiener', 'subreddit': 'PowerShell', 'subreddit_id': '2qo1o', 'body': 'Hi r\/PowerShell\\n\\n&amp;#x200B;\\n\\nSo I made a simple script that checks who is responsible for a given dl-list. \\n\\nHowever when put in a loop it does not function as I want. \\n\\n1. The first run generates no results. \\n2. The titles \"name\", \"Givenname\" and \"surname\" do not show after it has looped once. \\n\\nDo you have any tips, below is the code.\\n\\n&amp;#x200B;\\n\\n&amp;#x200B;\\n\\n&amp;#x200B;\\n\\n&amp;#x200B;\\n\\nwhile($response -ne \\'quit\\'){\\n\\n&amp;#x200B;\\n\\n$DL = Read-Host \"Enter alias for distribution list\"\\n\\nget-aduser (Get-ADGroup $DL -Properties \\\\*).ManagedBy.split(\",\")\\\\[0\\\\].split(\"=\")\\\\[1\\\\] | select name, Givenname, surname\\n\\nGet-ADGroup $DL -Properties \\\\* | select -ExpandProperty msExchCoManagedByLink | %{get-aduser $\\\\_.split(\",\")\\\\[0\\\\].split(\"=\")\\\\[1\\\\]| select name, Givenname, surname}\\n\\n&amp;#x200B;\\n\\n$response = Read-Host \"Press Enter to continue, quit to exit\"\\n\\n}', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 8, 'created_utc': 1576663780}"}
{"id":"1968447","text":"Title: Recommended Linux Firewall with GUI and WAN Load Balancing?\nThe text below was posted in an online community called linuxquestions in the year 2020:\n\nHello all,\n\nCurrently using an old R210 with Debian as my firewall with success, but recently got another connection and want to add load balancing. I've been fighting with iptables with various degree's of success and feeling like there has to be a better way.\n\nAnyone able to recommended a good linux based option with a GUI? Ideally support for BGP and OpenVPN would be nice.\n\nThanks for your time and recommendation!","meta":"{'source': 'reddit_posts', 'id': 'g1fbit', 'title': 'Recommended Linux Firewall with GUI and WAN Load Balancing?', 'author': 'winkmichael', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': \"Hello all,\\n\\nCurrently using an old R210 with Debian as my firewall with success, but recently got another connection and want to add load balancing. I've been fighting with iptables with various degree's of success and feeling like there has to be a better way.\\n\\nAnyone able to recommended a good linux based option with a GUI? Ideally support for BGP and OpenVPN would be nice.\\n\\nThanks for your time and recommendation!\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 11, 'created_utc': 1586903120}"}
{"id":"1774403","text":"Title: A subreddit for just CS Interview questions? What say?\nThe text below was posted in an online community called cscareerquestions in the year 2014:\n\nI feel it would great tool for redditors out there to discuss their brockalexandria@example.net. Ask questions about approaching an interview? Lets face it is terrifying for some to go into a technical interview. Also would be a good place to on how to approach interview problems. What's your opinion?","meta":"{'source': 'reddit_posts', 'id': '1uohw0', 'title': 'A subreddit for just CS Interview questions? What say?', 'author': 'arcoboy', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"I feel it would great tool for redditors out there to discuss their experience at interviews. Ask questions about approaching an interview? Lets face it is terrifying for some to go into a technical interview. Also would be a good place to on how to approach interview problems. What's your opinion?\", 'body_is_trimmed': False, 'score': 46, 'over_18': False, 'num_comments': 14, 'created_utc': '1389150167'}"}
{"id":"1904528","text":"Title: Success Stories?\nThe text below was posted in an online community called learnprogramming in the year 2018:\n\nIm 32, Im looking to change my life and go into programming - something Ive always wanted to do. Its not the easiest age to do this, with a 4 year old and a house the thought of eventually taking on a job with less pay is pretty scary but itll be worth it in the end. \n\nIve been learning python for the past few months, using treehouse and Ive just bought the bootcamp on udemy Ive seen recommended. Python is starting to click for the most part. \n\nI have no delusions and plan to spend the next few years studying before even thinking about looking for a position when Im ready but looking at job listings now looks scary - even junior positions seem to require a lot of knowledge to begin with. \n\nI guess Im kinda looking for inspiration  and having one of those bad days - have people changed careers late, self studied and become successful? Would love to hear some stories just to get me out of the slump!","meta":"{'source': 'reddit_posts', 'id': '9x35ad', 'title': 'Success Stories?', 'author': 'Stealthoneill', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'Im 32, Im looking to change my life and go into programming - something Ive always wanted to do. Its not the easiest age to do this, with a 4 year old and a house the thought of eventually taking on a job with less pay is pretty scary but itll be worth it in the end. \\n\\nIve been learning python for the past few months, using treehouse and Ive just bought the bootcamp on udemy Ive seen recommended. Python is starting to click for the most part. \\n\\nI have no delusions and plan to spend the next few years studying before even thinking about looking for a position when Im ready but looking at job listings now looks scary - even junior positions seem to require a lot of knowledge to begin with. \\n\\nI guess Im kinda looking for inspiration  and having one of those bad days - have people changed careers late, self studied and become successful? Would love to hear some stories just to get me out of the slump!', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 7, 'created_utc': 1542223088}"}
{"id":"329534","text":"Title: I am trying to build something similar to this for my website, how should I go about doing this?\nThe text below was posted in an online community called learnprogramming in the year 2014:\n\nI run an educational website that is coming out with a huge update within the next few months. I was online one day doing my homework when I stumbled across this website. http:\/\/www.ptable.com I though that it was a really cool idea but the design itself is just to busy. I want to build something similar to this with the same features, but I want to have checkboxes that can turn off and on the features. This will allow for the table itself to be less busy. How do I go about making checkboxes that can change the pages functions? And how should I go about building something like this? I understand that this is going to take a lot of knowledge and I am ready to take on that challenge. I just need a starting point and maybe some help filling in the gaps. Thank you for the help.","meta":"{'source': 'reddit_posts', 'id': '1viwve', 'title': 'I am trying to build something similar to this for my website, how should I go about doing this?', 'author': 'Stachel8', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'I run an educational website that is coming out with a huge update within the next few months. I was online one day doing my homework when I stumbled across this website. http:\/\/www.ptable.com I though that it was a really cool idea but the design itself is just to busy. I want to build something similar to this with the same features, but I want to have checkboxes that can turn off and on the features. This will allow for the table itself to be less busy. How do I go about making checkboxes that can change the pages functions? And how should I go about building something like this? I understand that this is going to take a lot of knowledge and I am ready to take on that challenge. I just need a starting point and maybe some help filling in the gaps. Thank you for the help.', 'body_is_trimmed': False, 'score': 46, 'over_18': False, 'num_comments': 47, 'created_utc': '1390057553'}"}
{"id":"979818","text":"Title: iMac as TV\nThe text below was posted in an online community called MacOS in the year 2022:\n\nHello all - need some help. MIL is coming to visit and will be staying in our guestroom\/my office. She likes to watch TV at night and I was just going to boot my mac to target display mode and use an apple tv but I am realizing now that the M1's are no longer capable of that. \n\nI could add a guest user account and use netflix in browser but there isn't a good way to use a remote or remotely control unless using a mouse and keyboard. \n\nShe could also airplay to it but that would be a bit complicated and challenging trying to stream from her phone. \n\nDoes anyone have input for using an M1 iMac as a TV?","meta":"{'source': 'reddit_posts', 'id': 't0kqwz', 'title': 'iMac as TV', 'author': 'wstnbrwn', 'subreddit': 'MacOS', 'subreddit_id': '2s2gv', 'body': \"Hello all - need some help. MIL is coming to visit and will be staying in our guestroom\/my office. She likes to watch TV at night and I was just going to boot my mac to target display mode and use an apple tv but I am realizing now that the M1's are no longer capable of that. \\n\\nI could add a guest user account and use netflix in browser but there isn't a good way to use a remote or remotely control unless using a mouse and keyboard. \\n\\nShe could also airplay to it but that would be a bit complicated and challenging trying to stream from her phone. \\n\\nDoes anyone have input for using an M1 iMac as a TV?\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 5, 'created_utc': 1645735030}"}
{"id":"1880866","text":"Title: Are there any hosting solutions that allow me to have one account, with sub-accounts tied to different credit cards?\nThe text below was posted in an online community called webdev in the year 2021:\n\nIdeally I would like to have an overarching account that manages all sub-accounts (my clients websites) that each have the clients cc details linked to their instance.","meta":"{'source': 'reddit_posts', 'id': 'noqsdp', 'title': 'Are there any hosting solutions that allow me to have one account, with sub-accounts tied to different credit cards?', 'author': 'ExcellentBrilliant42', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': 'Ideally I would like to have an overarching account that manages all sub-accounts (my clients websites) that each have the clients cc details linked to their instance.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 6, 'created_utc': 1622428865}"}
{"id":"1242691","text":"Title: Pentesting vs writing exploits\nThe text below was posted in an online community called AskNetsec in the year 2015:\n\nSup asknetsec, throw away account here.\n\nI have been interested in pentesting for a month or so now and I'm finding out that most pentesters do not write their own exploits.  Am I wrong on this?  If so which do you think is harder, pentesting or writing exploits?  Which one is easier to get a job in?  I like the idea of writing them eventually because it looks cool but I want to be clear on these things.\n\nSenior year CS student just beginning to get interested in information security if it helps.","meta":"{'source': 'reddit_posts', 'id': '34nhct', 'title': 'Pentesting vs writing exploits', 'author': 'snickers_007', 'subreddit': 'AskNetsec', 'subreddit_id': '2t3w8', 'body': \"Sup asknetsec, throw away account here.\\n\\nI have been interested in pentesting for a month or so now and I'm finding out that most pentesters do not write their own exploits.  Am I wrong on this?  If so which do you think is harder, pentesting or writing exploits?  Which one is easier to get a job in?  I like the idea of writing them eventually because it looks cool but I want to be clear on these things.\\n\\nSenior year CS student just beginning to get interested in information security if it helps.\", 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 10, 'created_utc': '1430596076'}"}
{"id":"409063","text":"Title: Sites design and interface effect on emotion?\nThe text below was posted in an online community called web_design in the year 2013:\n\nI'm writing a psychology paper and am looking for information on how the aesthetics and interface of a site could be tweeked to lower anxiety in users.  Thanks!","meta":"{'source': 'reddit_posts', 'id': '18a2uu', 'title': 'Sites design and interface effect on emotion?', 'author': '1laguy', 'subreddit': 'web_design', 'subreddit_id': '2qh1m', 'body': \"I'm writing a psychology paper and am looking for information on how the aesthetics and interface of a site could be tweeked to lower anxiety in users.  Thanks!\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': 1360545637}"}
{"id":"782754","text":"Title: django-hijack 2.0.0 is out!\nThe text below was posted in an online community called django in the year 2015:\n\nWe released version 2.0.0 of django-hijack to the Python Package Index today. django-hijack has been completely reworked and it's easier now to adapt the behavior of hijack or to implement your own use-cases on top of django-hijack, however, the new hijack is fully backwards compatible if your already use the app. Please refer to the [release note](https:\/\/github.com\/arteria\/django-hijack\/releases\/tag\/v2.0.0) for more info, go through the [new documentation](http:\/\/django-hijack.readthedocs.org\/en\/latest\/) and download it from the [Python Package Index](https:\/\/pypi.python.org\/pypi\/django-hijack\/).","meta":"{'source': 'reddit_posts', 'id': '3tm350', 'title': 'django-hijack 2.0.0 is out!', 'author': 'philippeowagner', 'subreddit': 'django', 'subreddit_id': '2qh4v', 'body': \"We released version 2.0.0 of django-hijack to the Python Package Index today. django-hijack has been completely reworked and it's easier now to adapt the behavior of hijack or to implement your own use-cases on top of django-hijack, however, the new hijack is fully backwards compatible if your already use the app. Please refer to the [release note](https:\/\/github.com\/arteria\/django-hijack\/releases\/tag\/v2.0.0) for more info, go through the [new documentation](http:\/\/django-hijack.readthedocs.org\/en\/latest\/) and download it from the [Python Package Index](https:\/\/pypi.python.org\/pypi\/django-hijack\/).\", 'body_is_trimmed': False, 'score': 17, 'over_18': False, 'num_comments': 3, 'created_utc': '1448053191'}"}
{"id":"1672359","text":"Title: I wrote a package in GO that lets you keep track of your Mac's configs and settings into separate files that can be later used to set up a new machine.\nThe text below was posted in an online community called golang in the year 2019:\n\nThe title pretty much says it. I had to manually do this work so I decided to automate it. You can track anything (like your `.vimrc` , npm packages installed etc) that you want to and with one command everything is updated. If you have GIT set up in the directory the settings are pushed into your GitHub with neat commit messages that specify the date and time of commit.\n\n&amp;#x200B;\n\nSince it's written in GO. I'd love to receive some feedback from this community on my coding style. Any kind of comments are welcome. :)\n\n&amp;#x200B;\n\nLink to the repository - [Link](https:\/\/github.com\/horcrux2301\/Potato)","meta":"{'source': 'reddit_posts', 'id': 'cc57bf', 'title': \"I wrote a package in GO that lets you keep track of your Mac's configs and settings into separate files that can be later used to set up a new machine.\", 'author': 'horcrux2301', 'subreddit': 'golang', 'subreddit_id': '2rc7j', 'body': \"The title pretty much says it. I had to manually do this work so I decided to automate it. You can track anything (like your `.vimrc` , npm packages installed etc) that you want to and with one command everything is updated. If you have GIT set up in the directory the settings are pushed into your GitHub with neat commit messages that specify the date and time of commit.\\n\\n&amp;#x200B;\\n\\nSince it's written in GO. I'd love to receive some feedback from this community on my coding style. Any kind of comments are welcome. :)\\n\\n&amp;#x200B;\\n\\nLink to the repository - [Link](https:\/\/github.com\/horcrux2301\/Potato)\", 'body_is_trimmed': False, 'score': 32, 'over_18': False, 'num_comments': 12, 'created_utc': 1562899984}"}
{"id":"2118967","text":"Title: Building C\/C++ program using gcc .a library on different machines\nThe text below was posted in an online community called learnprogramming in the year 2012:\n\nI have a project I am working on where I want to not deliver all the .c source files, and instead make them into a .a library file, and deliver the .a, the necessary headers, and a driver to run the program. To do this, I have all the .c files in a folder that I would keep, and then the .a file in one folder, and the .h files in another. To do this, I first run a makefile in the folder with the .c files to compile the source files into the .o files, and then make the .a file. It does something like \n\n    gcc -c -W -Wall -pedantic -fno-exceptions -I\/dir\/to\/header\/files\/ \/dir\/to\/c\/files\/*.c\n\n    ar rvs lib45.a \/dir\/to\/c\/file\/*.o\n\n\nThen I move to the folder that would be delivered, with the driver and run another makefile which builds the program using the driver, and the .a file, and then runs it. It does something like (the driver is written in c++)\n\n    g++ -I\/dir\/to\/header\/files\/ Driver.cpp Verification.cpp \/dir\/to\/a\/file\/lib45.a -o TestProgram\n \n    .\/TestProgram\n\n\nThe idea here is that I can go to the one folder where the c files are, which wouldn't be delivered and run the makefile to compile the code, and then throw the .a file over in the delivered folder. I could then give that Delivered folder to someone else, which would include the header files (.h), the library file (.a) of all the .o object files, and a driver. They would sit down to their gcc machine and run the second makefile I listed, and it would build and run.\n\nThis works fine when I do this all on my machine. If I take the delivered folder, and sit down to another linux box, and try to run that makefile, I get an error \n\n    Relocations in generic ELF (EM: 3)\n    ..\/lib\/lib45.a: could not read symbols: File in wrong format\n\nwhich I believe is caused by the .o files used to compose the .a file being compiled on another architecture. Giving them the .c files, and having them create their own object files isn't an option, so is there something I am doing wrong to make my .a file more portable? Thanks.\n\nAlso, if on the build and run command, I include -L before the path to the .a file, I don't get the generic ELF error anymore, but get undefined references to the functions it should find in the header files instead.","meta":"{'source': 'reddit_posts', 'id': 'ue6vz', 'title': 'Building C\/C++ program using gcc .a library on different machines', 'author': 'anndruu12', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': \"I have a project I am working on where I want to not deliver all the .c source files, and instead make them into a .a library file, and deliver the .a, the necessary headers, and a driver to run the program. To do this, I have all the .c files in a folder that I would keep, and then the .a file in one folder, and the .h files in another. To do this, I first run a makefile in the folder with the .c files to compile the source files into the .o files, and then make the .a file. It does something like \\n\\n    gcc -c -W -Wall -pedantic -fno-exceptions -I\/dir\/to\/header\/files\/ \/dir\/to\/c\/files\/*.c\\n\\n    ar rvs lib45.a \/dir\/to\/c\/file\/*.o\\n\\n\\nThen I move to the folder that would be delivered, with the driver and run another makefile which builds the program using the driver, and the .a file, and then runs it. It does something like (the driver is written in c++)\\n\\n    g++ -I\/dir\/to\/header\/files\/ Driver.cpp Verification.cpp \/dir\/to\/a\/file\/lib45.a -o TestProgram\\n \\n    .\/TestProgram\\n\\n\\nThe idea here is that I can go to the one folder where the c files are, which wouldn't be delivered and run the makefile to compile the code, and then throw the .a file over in the delivered folder. I could then give that Delivered folder to someone else, which would include the header files (.h), the library file (.a) of all the .o object files, and a driver. They would sit down to their gcc machine and run the second makefile I listed, and it would build and run.\\n\\nThis works fine when I do this all on my machine. If I take the delivered folder, and sit down to another linux box, and try to run that makefile, I get an error \\n\\n    Relocations in generic ELF (EM: 3)\\n    ..\/lib\/lib45.a: could not read symbols: File in wrong format\\n\\nwhich I believe is caused by the .o files used to compose the .a file being compiled on another architecture. Giving them the .c files, and having them create their own object files isn't an option, so is there something I am doing wrong to make my .a file more portable? Thanks.\\n\\nAlso, if on the build and run command, I include -L before the path to the .a file, I don't get the generic ELF error anymore, but get undefined references to the functions it should find in the header files instead.\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 4, 'created_utc': 1338486884}"}
{"id":"1546150","text":"Title: script to change about 20 DNS A records\nThe text below was posted in an online community called PowerShell in the year 2019:\n\nHI there i am looking for a script\/syntax to change about 20 DNS A records in my active directory \/DNS &gt; \n\n&amp;#x200B;\n\nWhat  would the syntax look like ?","meta":"{'source': 'reddit_posts', 'id': 'ak21dk', 'title': 'script to change about 20 DNS A records', 'author': 'nflnetwork29', 'subreddit': 'PowerShell', 'subreddit_id': '2qo1o', 'body': 'HI there i am looking for a script\/syntax to change about 20 DNS A records in my active directory \/DNS &gt; \\n\\n&amp;#x200B;\\n\\nWhat  would the syntax look like ?', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 13, 'created_utc': 1548518382}"}
{"id":"2074167","text":"Title: [2017-05-08] Challenge #314 [Easy] Concatenated Integers\nThe text below was posted in an online community called dailyprogrammer in the year 2017:\n\n# Description\n\nGiven a list of integers separated by a single space on standard input, print out the largest and smallest values that can be obtained by concatenating the integers together on their own line. This is from [Five programming problems every Software Engineer should be able to solve in less than 1 hour](http:\/\/www.shiftedup.com\/2015\/05\/07\/five-programming-problems-every-software-engineer-should-be-able-to-solve-in-less-than-1-hour), problem 4. Leading 0s are not allowed (e.g. 01234 is not a valid entry). \n\nThis is an easier version of [#312I](https:\/\/www.reddit.com\/r\/dailyprogrammer\/comments\/67q3s6\/20170426_challenge_312_intermediate_next_largest\/?utm_content=title&amp;utm_medium=hot&amp;utm_source=reddit&amp;utm_name=dailyprogrammer).\n\n# Sample Input\n\nYou'll be given a handful of integers per line. Example:\n\n\t5 56 50\n\n# Sample Output\n\nYou should emit the smallest and largest integer you can make, per line. Example:\n\n\t8306851789\n\n# Challenge Input\n\n\t79 82 34 83 69\n\t420 34 19 71 341\n\t17 32 91 7 46\n\n# Challenge Output\n\n\t8306851789 8306851789\n\t193413442071 714203434119\n\t173246791 917463217\n\n# Bonus\n\n**EDIT** My solution uses permutations, which is inefficient. Try and come up with a more efficient approach.","meta":"{'source': 'reddit_posts', 'id': '69y21t', 'title': '[2017-05-08] Challenge #314 [Easy] Concatenated Integers', 'author': 'jnazario', 'subreddit': 'dailyprogrammer', 'subreddit_id': '2tj45', 'body': \"# Description\\n\\nGiven a list of integers separated by a single space on standard input, print out the largest and smallest values that can be obtained by concatenating the integers together on their own line. This is from [Five programming problems every Software Engineer should be able to solve in less than 1 hour](http:\/\/www.shiftedup.com\/2015\/05\/07\/five-programming-problems-every-software-engineer-should-be-able-to-solve-in-less-than-1-hour), problem 4. Leading 0s are not allowed (e.g. 01234 is not a valid entry). \\n\\nThis is an easier version of [#312I](https:\/\/www.reddit.com\/r\/dailyprogrammer\/comments\/67q3s6\/20170426_challenge_312_intermediate_next_largest\/?utm_content=title&amp;utm_medium=hot&amp;utm_source=reddit&amp;utm_name=dailyprogrammer).\\n\\n# Sample Input\\n\\nYou'll be given a handful of integers per line. Example:\\n\\n\\t5 56 50\\n\\n# Sample Output\\n\\nYou should emit the smallest and largest integer you can make, per line. Example:\\n\\n\\t50556 56550\\n\\n# Challenge Input\\n\\n\\t79 82 34 83 69\\n\\t420 34 19 71 341\\n\\t17 32 91 7 46\\n\\n# Challenge Output\\n\\n\\t3469798283 8382796934\\n\\t193413442071 714203434119\\n\\t173246791 917463217\\n\\n# Bonus\\n\\n**EDIT** My solution uses permutations, which is inefficient. Try and come up with a more efficient approach.\", 'body_is_trimmed': False, 'score': 108, 'over_18': False, 'num_comments': 209, 'created_utc': 1494249874}"}
{"id":"417148","text":"Title: Real-world weighted undirected graphs\nThe text below was posted in an online community called learnprogramming in the year 2021:\n\nDoes anyone know where I can get some **real life examples** of weighted undirected graphs? \n\n**Why:** I just finished implementing Dijkstra's algorithm in C++, but all my test examples are written by me and very small. Partly, I just want to run my code on a larger graph. But also, I have been googling for over an hour and can't seem to find anything. I probably just don't know the right keywords.\n\nAn example I would welcome would be a graph used for mapping, such as Google Maps, where locations are vertices and edges are distances or something similar.","meta":"{'source': 'reddit_posts', 'id': 'mlxvm0', 'title': 'Real-world weighted undirected graphs', 'author': 'juseniah', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': \"Does anyone know where I can get some **real life examples** of weighted undirected graphs? \\n\\n**Why:** I just finished implementing Dijkstra's algorithm in C++, but all my test examples are written by me and very small. Partly, I just want to run my code on a larger graph. But also, I have been googling for over an hour and can't seem to find anything. I probably just don't know the right keywords.\\n\\nAn example I would welcome would be a graph used for mapping, such as Google Maps, where locations are vertices and edges are distances or something similar.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': 1617785628}"}
{"id":"312964","text":"Title: Projectile Motion Physics Questions\nThe text below was posted in an online community called Unity3D in the year 2014:\n\nHey guys,\nI incorporated some projectile motion physics into my RTS\/TD game where the player unit shoots a projectile (arrow) at the enemy. The enemy is traveling so the arrow always misses. Is there a way to make it so the arrow always hits? Can it move while in mid-air towards the enemy unit?\n\nCode Snippet:\n\n    float distanceToTargetPos = Vector3.Distance (targetPosition, transform.position); \/\/finds distance between the two units\n\n\t\t\t\t\t\t\t\t\tProjectile.position = this.transform.position; \/\/puts projectile at archers pos\n\n\t\t\t\t\t\t\t\t\t\/\/calc velocity\n\t\t\t\t\t\t\t\t\tfloat projectile_Velocity = distanceToTargetPos \/ (Mathf.Sin (2 * firingAngle *        Mathf.Deg2Rad) \/ gravity);\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\/\/ Extract the X  Y componenent of the velocity\n\t\t\t\t\t\t\t\t\tfloat Vx = Mathf.Sqrt (projectile_Velocity) * Mathf.Cos (firingAngle * Mathf.Deg2Rad);\n\n\t\t\t\t\t\t\t\t\tfloat Vy = Mathf.Sqrt (projectile_Velocity) * Mathf.Sin (firingAngle * Mathf.Deg2Rad);\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\/\/ Calculate flight time.\n\t\t\t\t\t\t\t\t\tfloat flightDuration = distanceToTargetPos \/ Vx;\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tProjectile.rotation = Quaternion.LookRotation(targetPosition - Projectile.position); \/\/rotates player\/projectile towards object \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\twhile (elapse_time &lt;= flightDuration) {\n\n\t\t\t\t\t\t\t\t\tProjectile.Translate (0, (Vy - (gravity * elapse_time)) * Time.deltaTime,  Vx * Time.deltaTime); \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\telapse_time += Time.deltaTime;\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tyield return null;\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t}\n\n\nI appreciate any help! Thanks in advance,","meta":"{'source': 'reddit_posts', 'id': '28xumn', 'title': 'Projectile Motion Physics Questions', 'author': 'swbat55', 'subreddit': 'Unity3D', 'subreddit_id': '2qwj8', 'body': 'Hey guys,\\nI incorporated some projectile motion physics into my RTS\/TD game where the player unit shoots a projectile (arrow) at the enemy. The enemy is traveling so the arrow always misses. Is there a way to make it so the arrow always hits? Can it move while in mid-air towards the enemy unit?\\n\\nCode Snippet:\\n\\n    float distanceToTargetPos = Vector3.Distance (targetPosition, transform.position); \/\/finds distance between the two units\\n\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tProjectile.position = this.transform.position; \/\/puts projectile at archers pos\\n\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\/\/calc velocity\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tfloat projectile_Velocity = distanceToTargetPos \/ (Mathf.Sin (2 * firingAngle *        Mathf.Deg2Rad) \/ gravity);\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\/\/ Extract the X  Y componenent of the velocity\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tfloat Vx = Mathf.Sqrt (projectile_Velocity) * Mathf.Cos (firingAngle * Mathf.Deg2Rad);\\n\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tfloat Vy = Mathf.Sqrt (projectile_Velocity) * Mathf.Sin (firingAngle * Mathf.Deg2Rad);\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\/\/ Calculate flight time.\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tfloat flightDuration = distanceToTargetPos \/ Vx;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tProjectile.rotation = Quaternion.LookRotation(targetPosition - Projectile.position); \/\/rotates player\/projectile towards object \\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\twhile (elapse_time &lt;= flightDuration) {\\n\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tProjectile.Translate (0, (Vy - (gravity * elapse_time)) * Time.deltaTime,  Vx * Time.deltaTime); \\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\telapse_time += Time.deltaTime;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tyield return null;\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t}\\n\\n\\nI appreciate any help! Thanks in advance,', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 9, 'created_utc': '1403585554'}"}
{"id":"2327998","text":"Title: An idea to move the tab button to the bottom\nThe text below was posted in an online community called firefox in the year 2020:\n\nHey, lately I am trying Firefox on Android. The overall impression of the new (for me) browser is great.\nBut what do you think (or maybe is it already somehow available) about moving the tab button to the bottom of the screen. Maybe something like in Brave browser - like an additional bar on the bottom that hides itself when you are scrolling down a page. Imho it would be awesome to have an option like that - better one-handed experience.\n\nBrave has another button on the said bar that is super comfortable, a shortcut that puts your cursor in the address bar upon tapping it.\n\nWhat do you think? What are your solutions?\n\nP.S. closing the tabs feels awkward as well :c","meta":"{'source': 'reddit_posts', 'id': 'f6q3gf', 'title': 'An idea to move the tab button to the bottom', 'author': 'ostatni_podlasianin', 'subreddit': 'firefox', 'subreddit_id': '2qh4p', 'body': 'Hey, lately I am trying Firefox on Android. The overall impression of the new (for me) browser is great.\\nBut what do you think (or maybe is it already somehow available) about moving the tab button to the bottom of the screen. Maybe something like in Brave browser - like an additional bar on the bottom that hides itself when you are scrolling down a page. Imho it would be awesome to have an option like that - better one-handed experience.\\n\\nBrave has another button on the said bar that is super comfortable, a shortcut that puts your cursor in the address bar upon tapping it.\\n\\nWhat do you think? What are your solutions?\\n\\nP.S. closing the tabs feels awkward as well :c', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 9, 'created_utc': 1582187123}"}
{"id":"2042117","text":"Title: Do front end web developers have a bad reputation for having poor abilities?\nThe text below was posted in an online community called webdev in the year 2022:\n\nI help my team lead with interviewing potential recruits for front end web dev positions. He does the interviewing , i just prepare simple warm up questions for them , stuff like \n\n Write a function that takes an input number (e.g. 4) and prints:  \n1 2 3 4  \n1 2 3  \n1 2  \n1 \n\nUsing any programming language you are comfortable with.\n\nI'd say 80% of them fail this question. They cant answer this question correctly, some even with 2-3 years experience.\n\n Is that normal? Is this not within the expected ability of an FE dev?","meta":"{'source': 'reddit_posts', 'id': 'tv0lz6', 'title': 'Do front end web developers have a bad reputation for having poor abilities?', 'author': 'flampardfromlyn', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': \"I help my team lead with interviewing potential recruits for front end web dev positions. He does the interviewing , i just prepare simple warm up questions for them , stuff like \\n\\n Write a function that takes an input number (e.g. 4) and prints:  \\n1 2 3 4  \\n1 2 3  \\n1 2  \\n1 \\n\\nUsing any programming language you are comfortable with.\\n\\nI'd say 80% of them fail this question. They cant answer this question correctly, some even with 2-3 years experience.\\n\\n Is that normal? Is this not within the expected ability of an FE dev?\", 'body_is_trimmed': False, 'score': 10, 'over_18': False, 'num_comments': 64, 'created_utc': 1648959101}"}
{"id":"1225883","text":"Title: Incorporating a side script\nThe text below was posted in an online community called django in the year 2012:\n\nHi r\/django, newbie here. So my problem is I want to verify the identity of a user's email. I plan on doing that by querying the university's directory website with their email, and return back true or false. The querying script would send the http request and handle all the details.\n\nMy solution is to include this logic in the VIEW for the registration part of the site. Is this a reasonable thing to do? Or are there other alternative better solutions? Thanks!!","meta":"{'source': 'reddit_posts', 'id': 'qawym', 'title': 'Incorporating a side script', 'author': '_mineral', 'subreddit': 'django', 'subreddit_id': '2qh4v', 'body': \"Hi r\/django, newbie here. So my problem is I want to verify the identity of a user's email. I plan on doing that by querying the university's directory website with their email, and return back true or false. The querying script would send the http request and handle all the details.\\n\\nMy solution is to include this logic in the VIEW for the registration part of the site. Is this a reasonable thing to do? Or are there other alternative better solutions? Thanks!!\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1330493194}"}
{"id":"887332","text":"Title: Why I don't think Material apps will be common any time soon.\nThe text below was posted in an online community called Android in the year 2014:\n\nI've seen some people post that Material will be backwards compatible with older versions of android. I hoped this was true because it would mean much better chances of wide adoption among apps for the new design. Sadly, from what I can find so far, that is not the case.\n\nIf you aren't running L you aren't going to get Material apps. And if you write a Material app, you have to also add a holo theme and conditions in your code to use alternatives to the animations and other features of material when running on older versions of android.\n\nFor many developers it simply isn't worth it to write all that targeted to a specific version until a large percentage of devices run it. If we don't see manufacturers and carriers pushing updates to L quickly, we probably won't see material apps commonplace until android \"M\" is announced. Just like Holo apps were few and far between before mid-way through Jellybean.\n\nCould this change after the preview? Perhaps. Maybe google will backport the APIs via google play services, that would be interesting. But unless something changes, I'm not optimistic about Material design taking the world by storm.\n\nhttps:\/\/developer.android.com\/preview\/material\/compatibility.html\n\n&gt;The material theme is only available in the Android L Developer Preview. To configure your app to use the material theme on devices running the Android L Developer Preview and an older theme on devices running earlier versions of Android:\n\n&gt;1. Define a theme that inherits from an older theme (like Holo) in res\/values\/styles.xml.\n2. Define a theme with the same name that inherits from the material theme in res\/values-v21\/styles.xml.\n3. Set this theme as your app's theme in the manifest file.\n\n&gt;Note: If you do not provide an alternative theme in this manner, your app will not run on earlier versions of Android.","meta":"{'source': 'reddit_posts', 'id': '29anw9', 'title': \"Why I don't think Material apps will be common any time soon.\", 'author': 'FakingItEveryDay', 'subreddit': 'Android', 'subreddit_id': '2qlqh', 'body': 'I\\'ve seen some people post that Material will be backwards compatible with older versions of android. I hoped this was true because it would mean much better chances of wide adoption among apps for the new design. Sadly, from what I can find so far, that is not the case.\\n\\nIf you aren\\'t running L you aren\\'t going to get Material apps. And if you write a Material app, you have to also add a holo theme and conditions in your code to use alternatives to the animations and other features of material when running on older versions of android.\\n\\nFor many developers it simply isn\\'t worth it to write all that targeted to a specific version until a large percentage of devices run it. If we don\\'t see manufacturers and carriers pushing updates to L quickly, we probably won\\'t see material apps commonplace until android \"M\" is announced. Just like Holo apps were few and far between before mid-way through Jellybean.\\n\\nCould this change after the preview? Perhaps. Maybe google will backport the APIs via google play services, that would be interesting. But unless something changes, I\\'m not optimistic about Material design taking the world by storm.\\n\\nhttps:\/\/developer.android.com\/preview\/material\/compatibility.html\\n\\n&gt;The material theme is only available in the Android L Developer Preview. To configure your app to use the material theme on devices running the Android L Developer Preview and an older theme on devices running earlier versions of Android:\\n\\n&gt;1. Define a theme that inherits from an older theme (like Holo) in res\/values\/styles.xml.\\n2. Define a theme with the same name that inherits from the material theme in res\/values-v21\/styles.xml.\\n3. Set this theme as your app\\'s theme in the manifest file.\\n\\n&gt;Note: If you do not provide an alternative theme in this manner, your app will not run on earlier versions of Android.', 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 21, 'created_utc': '1403925668'}"}
{"id":"563312","text":"Title: trying to get mpd to work. What does the guide mean by \"login group\"?\nThe text below was posted in an online community called linux4noobs in the year 2016:\n\nI have an odd error when trying to run mpd:\n    errno: failed to open log file \"\/home\/edwooger\/.mpd\/mpd.log\" (config line 37): Permission denied\nSo trying to find the answers myself before trolling the forums but I don't understand this bit\nhttps:\/\/wiki.archlinux.org\/index.php\/Music_Player_Daemon#Music_directory\nWhat does it mean by:\n    gpasswd -a mpd &lt;your login group&gt;\n??\nThanks for reading my question :-)","meta":"{'source': 'reddit_posts', 'id': '3z22zg', 'title': 'trying to get mpd to work. What does the guide mean by \"login group\"?', 'author': 'edwooger', 'subreddit': 'linux4noobs', 'subreddit_id': '2qy7t', 'body': 'I have an odd error when trying to run mpd:\\n    errno: failed to open log file \"\/home\/edwooger\/.mpd\/mpd.log\" (config line 37): Permission denied\\nSo trying to find the answers myself before trolling the forums but I don\\'t understand this bit\\nhttps:\/\/wiki.archlinux.org\/index.php\/Music_Player_Daemon#Music_directory\\nWhat does it mean by:\\n    gpasswd -a mpd &lt;your login group&gt;\\n??\\nThanks for reading my question :-)', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 4, 'created_utc': 1451682608}"}
{"id":"1688281","text":"Title: Installing on Lenovo Legion Y530\nThe text below was posted in an online community called archlinux in the year 2019:\n\nHey everyone, I must admit i've come to my limit with trying to fix my archlinux install on my new [Lenovo Legion Y530](https:\/\/www.lenovo.com\/us\/en\/laptops\/legion-laptops\/legion-y-series\/Lenovo-Legion-Y530-15ICH\/p\/88GMY501020), because everytime I manage to fix something, something else breaks..\n\nI was wondering if anyone in this community would be willing to help me (I thought of redoing a whole install, because i've installed it a couple weeks ago and started trying to fix it again only recently, so I don't even remember what have been done or not), especially if i could find someone with the same laptop to share a bit of their knowledges regarding it, because this laptop lacks informations regarding linux install in general (Only a couple infos on ubuntu from Lenovo directly, and some other infos from the communities, but most informations you can find about other distros are \"Here are the bugs you'll meet, and some are not fixable\")\n\nBefore anyone links the couple posts of reddit about this laptop, either i'm not good enough to understand the big outline they're giving, or the informations don't fit my problems, i've also tried contacting [this post](https:\/\/www.reddit.com\/r\/archlinux\/comments\/9v8jdv\/my_working_nvidia_optimus_setup_and_more_for\/)'s author, but no answer so far (5d ago)\n\nThanks in advance !","meta":"{'source': 'reddit_posts', 'id': 'd4ybux', 'title': 'Installing on Lenovo Legion Y530', 'author': 'MphT', 'subreddit': 'archlinux', 'subreddit_id': '2qrzu', 'body': 'Hey everyone, I must admit i\\'ve come to my limit with trying to fix my archlinux install on my new [Lenovo Legion Y530](https:\/\/www.lenovo.com\/us\/en\/laptops\/legion-laptops\/legion-y-series\/Lenovo-Legion-Y530-15ICH\/p\/88GMY501020), because everytime I manage to fix something, something else breaks..\\n\\nI was wondering if anyone in this community would be willing to help me (I thought of redoing a whole install, because i\\'ve installed it a couple weeks ago and started trying to fix it again only recently, so I don\\'t even remember what have been done or not), especially if i could find someone with the same laptop to share a bit of their knowledges regarding it, because this laptop lacks informations regarding linux install in general (Only a couple infos on ubuntu from Lenovo directly, and some other infos from the communities, but most informations you can find about other distros are \"Here are the bugs you\\'ll meet, and some are not fixable\")\\n\\nBefore anyone links the couple posts of reddit about this laptop, either i\\'m not good enough to understand the big outline they\\'re giving, or the informations don\\'t fit my problems, i\\'ve also tried contacting [this post](https:\/\/www.reddit.com\/r\/archlinux\/comments\/9v8jdv\/my_working_nvidia_optimus_setup_and_more_for\/)\\'s author, but no answer so far (5d ago)\\n\\nThanks in advance !', 'body_is_trimmed': False, 'score': 41, 'over_18': False, 'num_comments': 34, 'created_utc': 1568626725}"}
{"id":"2248017","text":"Title: What tool do you use to send a newsletter to all your customers from your Rails app?\nThe text below was posted in an online community called rails in the year 2022:\n\nCurrently we have a SaaS, built with Rails, and 10,000 customers: we want to send a monthly newsletter (e.g. product updates).\n\nWe use Sendgrid for transactional and marketing emails... However their shared IP reputation is terrible and causes a lot of problems (one days it works and the other day 50% of the emails are bounced due to their IP reputation).\n\nWe cannot use dedicated IPs because sending volume is not enough (15,000 per month).\n\nFor the above reasons we are considering to move to Postmark (or another provider). However it supports only SMTP, and doesn't have a dashboard to create the newsletter.\n\nIs there any way (gem) to create the newsletter directly from the Rails application and send trough SMPT? Any other solutions?","meta":"{'source': 'reddit_posts', 'id': 'vcsp1f', 'title': 'What tool do you use to send a newsletter to all your customers from your Rails app?', 'author': 'collimarco', 'subreddit': 'rails', 'subreddit_id': '2qhjn', 'body': \"Currently we have a SaaS, built with Rails, and 10,000 customers: we want to send a monthly newsletter (e.g. product updates).\\n\\nWe use Sendgrid for transactional and marketing emails... However their shared IP reputation is terrible and causes a lot of problems (one days it works and the other day 50% of the emails are bounced due to their IP reputation).\\n\\nWe cannot use dedicated IPs because sending volume is not enough (15,000 per month).\\n\\nFor the above reasons we are considering to move to Postmark (or another provider). However it supports only SMTP, and doesn't have a dashboard to create the newsletter.\\n\\nIs there any way (gem) to create the newsletter directly from the Rails application and send trough SMPT? Any other solutions?\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 17, 'created_utc': 1655293816}"}
{"id":"592061","text":"Title: Does anyone use the ARM Cortex M MPU with or without an RTOS?\nThe text below was posted in an online community called embedded in the year 2019:\n\nI find the MPU quite useful. But I am not the typical case, I run a feature-rich RTOS (https:\/\/github.com\/StratifyLabs\/StratifyOS) that uses MPU zones for:\n\n- Application Data\n- Application Code\n- Thread Stack Guard (this is super useful by the way)\n- OS Data\n- OS Code\n- Privileged only access to all MCU core and peripheral registers\n\nWhat do you use the MPU for? Do you use it with or without an RTOS?","meta":"{'source': 'reddit_posts', 'id': 'ckppvh', 'title': 'Does anyone use the ARM Cortex M MPU with or without an RTOS?', 'author': '_tgil', 'subreddit': 'embedded', 'subreddit_id': '2qins', 'body': 'I find the MPU quite useful. But I am not the typical case, I run a feature-rich RTOS (https:\/\/github.com\/StratifyLabs\/StratifyOS) that uses MPU zones for:\\n\\n- Application Data\\n- Application Code\\n- Thread Stack Guard (this is super useful by the way)\\n- OS Data\\n- OS Code\\n- Privileged only access to all MCU core and peripheral registers\\n\\nWhat do you use the MPU for? Do you use it with or without an RTOS?', 'body_is_trimmed': False, 'score': 9, 'over_18': False, 'num_comments': 15, 'created_utc': 1564672669}"}
{"id":"1920611","text":"Title: json unmarshal not mapping to a struct?\nThe text below was posted in an online community called golang in the year 2018:\n\nI have a small script I'm testing to pull json information out of graphite.  When I dump the http.Get.body response into a var its in bytes as it should be, and the json.Unmarshal happens properly with a pointer to my struct, but when I try to print out the data in my struct the struct has no information in it, and I'm confused as to why.  Any help would be appreciated.\n\n[Code](https:\/\/pastebin.com\/SxdJ0DwX)","meta":"{'source': 'reddit_posts', 'id': '7rlbxg', 'title': 'json unmarshal not mapping to a struct?', 'author': 'Dangle76', 'subreddit': 'golang', 'subreddit_id': '2rc7j', 'body': \"I have a small script I'm testing to pull json information out of graphite.  When I dump the http.Get.body response into a var its in bytes as it should be, and the json.Unmarshal happens properly with a pointer to my struct, but when I try to print out the data in my struct the struct has no information in it, and I'm confused as to why.  Any help would be appreciated.\\n\\n[Code](https:\/\/pastebin.com\/SxdJ0DwX)\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 7, 'created_utc': 1516394367}"}
{"id":"455973","text":"Title: Printing from Google docs?\nThe text below was posted in an online community called linuxquestions in the year 2018:\n\nI have Ubuntu 18.04 right now, and a chromebook next to me. I can easily print from my chromebook when using google docs without opening another application, but Ubuntu forces me and I don't like it. How do I print from the google doc without opening the Document Viewer?","meta":"{'source': 'reddit_posts', 'id': '94o460', 'title': 'Printing from Google docs?', 'author': 'forevercoolpillow', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': \"I have Ubuntu 18.04 right now, and a chromebook next to me. I can easily print from my chromebook when using google docs without opening another application, but Ubuntu forces me and I don't like it. How do I print from the google doc without opening the Document Viewer?\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 7, 'created_utc': 1533431578}"}
{"id":"1627513","text":"Title: Update stuck at 0%\nThe text below was posted in an online community called windows in the year 2019:\n\nCurrently trying to update a laptop thats been off for a month \n\nWindows Malicious Software Removal Tool x64 - April 2019 (KB890830)\n\nThe above has been stuck at 0% for about an hour. I already tried rebooting and that did not fix.  \n\nFirst time posting here. Let me know if I missed anything.","meta":"{'source': 'reddit_posts', 'id': 'bfwew7', 'title': 'Update stuck at 0%', 'author': 'Jenkro', 'subreddit': 'windows', 'subreddit_id': '2qh3k', 'body': 'Currently trying to update a laptop thats been off for a month \\n\\nWindows Malicious Software Removal Tool x64 - April 2019 (KB890830)\\n\\nThe above has been stuck at 0% for about an hour. I already tried rebooting and that did not fix.  \\n\\nFirst time posting here. Let me know if I missed anything.', 'body_is_trimmed': False, 'score': 13, 'over_18': False, 'num_comments': 9, 'created_utc': 1555897398}"}
{"id":"2235798","text":"Title: Why does this happen? FF doesn't render page correctly (no CSS).\nThe text below was posted in an online community called firefox in the year 2014:\n\nThis happens to me pretty frequently, regardless of the website I'm visiting. Every time FF updates, I quietly hope that it'll be fixed, but it always comes back. It happens to me on both OSX and Windows. I've disabled\/uninstalled all plugins, reset Firefox, and just about everything else I can think of. \n\nIf I close FF and reopen it, the page(s) will render correctly, but about an hour or so later it'll start happening again.\n\nhttp:\/\/imgur.com\/ojXLhRJ\n\nAny insight would be awesome. Cheers!\n\nEdit: This is what the properly rendered page looks like.\n\nhttp:\/\/imgur.com\/ESyBVWO","meta":"{'source': 'reddit_posts', 'id': '1y2cdj', 'title': \"Why does this happen? FF doesn't render page correctly (no CSS).\", 'author': 'Seventh777', 'subreddit': 'firefox', 'subreddit_id': '2qh4p', 'body': \"This happens to me pretty frequently, regardless of the website I'm visiting. Every time FF updates, I quietly hope that it'll be fixed, but it always comes back. It happens to me on both OSX and Windows. I've disabled\/uninstalled all plugins, reset Firefox, and just about everything else I can think of. \\n\\nIf I close FF and reopen it, the page(s) will render correctly, but about an hour or so later it'll start happening again.\\n\\nhttp:\/\/imgur.com\/ojXLhRJ\\n\\nAny insight would be awesome. Cheers!\\n\\nEdit: This is what the properly rendered page looks like.\\n\\nhttp:\/\/imgur.com\/ESyBVWO\", 'body_is_trimmed': False, 'score': 9, 'over_18': False, 'num_comments': 6, 'created_utc': '1392565533'}"}
{"id":"2183598","text":"Title: Is This Possible? (Reddit Extension)\nThe text below was posted in an online community called chrome_extensions in the year 2019:\n\nIs there a way to completely hide all Reddit posts with \"cake day\" in them? I am so sick of seeing them. Nobody cares.","meta":"{'source': 'reddit_posts', 'id': 'bxse8d', 'title': 'Is This Possible? (Reddit Extension)', 'author': 'DracB', 'subreddit': 'chrome_extensions', 'subreddit_id': '2r4qy', 'body': 'Is there a way to completely hide all Reddit posts with \"cake day\" in them? I am so sick of seeing them. Nobody cares.', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 2, 'created_utc': 1559898638}"}
{"id":"225889","text":"Title: Aggregated routes into OSPF\nThe text below was posted in an online community called networking in the year 2019:\n\nAloha,\n\nI ran into a issue at work, and labbed it to see where is the error.\n\nRouter 1 and Router 2 are sending BGP aggregated routes into Router 3\n\nRouter 1 is sending 83.161.120.155\/24 Router 2 is sending 83.161.120.155\/24\n\nRouter 3 redistributes all BGP routes into Router 4 via OSPF\n\nRouter 4 receives the aggregated routes via OSPF and redistributes into Router 5 via BGP\n\nHowever I do not see the routes being sent out to router 5 using soft-configuration from R4 and I obviously do not see Router 5 receiving the aggregated routes via the soft-configuration command from R4\n\nI can ping everything behind Router 1 and Router 2 from Router 4, however, can't ping from R5 to R1 or R2\n\nIs this a bug on GNS3? The configuration looks good to me. I think there is an issue redistributing BGP sourced aggregated routes into OSPF? Because when I remove the redistribution from R4 to R5, R5 looses all its redistrubuted learned routes from R4. So this indicates that redistribution seems to be working correctly. Seems like only the aggregated routes is not being redistributed.\n\nR4 routing configuration:\n\nrouter ospf 100\n\nlog-adjacency-changes\n\nredistribute bgp 80 subnets\n\npassive-interface default\n\nno passive-interface GigabitEthernet0\/0\n\nnetwork 83.161.120.155 83.161.120.155 area 0\n\nnetwork 83.161.120.155 83.161.120.155 area 0\n\nnetwork 83.161.120.155 83.161.120.155 area 0\n\nrouter bgp 80\n\nno synchronization\n\nbgp log-neighbor-changes\n\nnetwork 83.161.120.155 mask 83.161.120.155\n\nnetwork 83.161.120.155 mask 83.161.120.155\n\nredistribute ospf 100\n\nneighbor 83.161.120.155 remote-as 100\n\nneighbor 83.161.120.155 description ASB-EDGE\n\nneighbor 83.161.120.155 ebgp-multihop 2\n\nneighbor 83.161.120.155 soft-reconfiguration inbound\n\nno auto-summary\n\nRouter 4 ip route table\n\n 83.161.120.155\/16 is variably subnetted, 7 subnets, 2 masks\n\nS   83.161.120.155\/32 \\[1\/0\\] via 83.161.120.155\n\nB   83.161.120.155\/32 \\[20\/0\\] via 83.161.120.155, 00:30:59\n\nB   83.161.120.155\/32 \\[20\/0\\] via 83.161.120.155, 00:30:59\n\nB   83.161.120.155\/32 \\[20\/0\\] via 83.161.120.155, 00:30:59\n\nB   83.161.120.155\/32 \\[20\/0\\] via 83.161.120.155, 00:30:59\n\nC   83.161.120.155\/30 is directly connected, GigabitEthernet1\/0\n\nB   83.161.120.155\/30 \\[20\/0\\] via 83.161.120.155, 00:30:59\n\n 83.161.120.155\/8 is variably subnetted, 16 subnets, 3 masks\n\nC   83.161.120.155\/30 is directly connected, GigabitEthernet0\/0\n\nC   83.161.120.155\/32 is directly connected, Loopback20\n\nC   83.161.120.155\/32 is directly connected, Loopback30\n\nC   83.161.120.155\/32 is directly connected, Loopback10\n\nO E2  83.161.120.155\/32 \\[110\/1\\] via 83.161.120.155, 00:31:25, GigabitEthernet0\/0\n\nO   83.161.120.155\/32 \\[110\/3\\] via 83.161.120.155, 00:31:25, GigabitEthernet0\/0\n\nO E2  83.161.120.155\/30 \\[110\/1\\] via 83.161.120.155, 00:31:25, GigabitEthernet0\/0\n\nO E2  83.161.120.155\/24 \\[110\/1\\] via 83.161.120.155, 00:31:25, GigabitEthernet0\/0\n\nO   83.161.120.155\/32 \\[110\/2\\] via 83.161.120.155, 00:31:25, GigabitEthernet0\/0\n\nO E2  83.161.120.155\/30 \\[110\/1\\] via 83.161.120.155, 00:31:25, GigabitEthernet0\/0\n\nO E2  83.161.120.155\/24 \\[110\/1\\] via 83.161.120.155, 00:31:25, GigabitEthernet0\/0\n\nO   83.161.120.155\/32 \\[110\/2\\] via 83.161.120.155, 00:31:25, GigabitEthernet0\/0\n\nO   83.161.120.155\/32 \\[110\/2\\] via 83.161.120.155, 00:31:25, GigabitEthernet0\/0\n\nO   83.161.120.155\/30 \\[110\/2\\] via 83.161.120.155, 00:31:25, GigabitEthernet0\/0\n\nO   83.161.120.155\/32 \\[110\/2\\] via 83.161.120.155, 00:31:25, GigabitEthernet0\/0\n\nO   83.161.120.155\/30 \\[110\/2\\] via 83.161.120.155, 00:31:25, GigabitEthernet0\/0\n\nRouter 4 BGP table\n\n Network  Next Hop  Metric LocPrf Weight Path\n\n\\*&gt; 83.161.120.155\/30   83.161.120.155  2   32768 ?\n\n\\*&gt; 83.161.120.155\/32  83.161.120.155  3   32768 ?\n\n\\*&gt; 83.161.120.155\/30   83.161.120.155  2   32768 ?\n\n\\*&gt; 83.161.120.155\/32  83.161.120.155  2   32768 ?\n\n\\*&gt; 83.161.120.155\/32  83.161.120.155  2   32768 ?\n\n\\*&gt; 83.161.120.155\/32  83.161.120.155  2   32768 ?\n\n\\*&gt; 83.161.120.155\/32  83.161.120.155  2   32768 ?\n\n\\*&gt; 83.161.120.155\/30   83.161.120.155  0   32768 ?\n\n\\*&gt; 83.161.120.155\/32  83.161.120.155  0   32768 ?\n\n\\*&gt; 83.161.120.155\/32  83.161.120.155  0   32768 ?\n\n\\*&gt; 83.161.120.155\/32  83.161.120.155  0   32768 i\n\n\\*&gt; 83.161.120.155\/30  83.161.120.155  0   32768 i\n\n\\*&gt; 83.161.120.155\/32   83.161.120.155   0   0 100 ?\n\n\\*&gt; 83.161.120.155\/32   83.161.120.155   0   0 100 ?\n\n\\*&gt; 83.161.120.155\/32   83.161.120.155   0   0 100 i\n\n\\*&gt; 83.161.120.155\/32   83.161.120.155   0   0 100 i\n\n\\*&gt; 83.161.120.155\/30  83.161.120.155   0   0 100 ?\n\nRouter 5 routing configuration:\n\nrouter bgp 100\n\nno synchronization\n\nbgp log-neighbor-changes\n\nnetwork 83.161.120.155 mask 83.161.120.155\n\nnetwork 83.161.120.155 mask 83.161.120.155\n\nnetwork 83.161.120.155 mask 83.161.120.155\n\nredistribute eigrp 200\n\nneighbor 83.161.120.155 remote-as 80\n\nneighbor 83.161.120.155 description HT-ASB-PE\n\nneighbor 83.161.120.155 soft-reconfiguration inbound\n\nno auto-summary\n\nRouter 5 routing table\n\nGateway of last resort is not set\n\n 83.161.120.155\/16 is variably subnetted, 7 subnets, 2 masks\n\nC   83.161.120.155\/32 is directly connected, Loopback100\n\nC   83.161.120.155\/32 is directly connected, Loopback40\n\nC   83.161.120.155\/32 is directly connected, Loopback30\n\nC   83.161.120.155\/32 is directly connected, Loopback20\n\nC   83.161.120.155\/32 is directly connected, Loopback10\n\nC   83.161.120.155\/30 is directly connected, FastEthernet0\/0\n\nC   83.161.120.155\/30 is directly connected, FastEthernet0\/1\n\n 83.161.120.155\/8 is variably subnetted, 11 subnets, 2 masks\n\nB   83.161.120.155\/30 \\[20\/0\\] via 83.161.120.155, 00:11:22\n\nB   83.161.120.155\/32 \\[20\/0\\] via 83.161.120.155, 00:11:22\n\nB   83.161.120.155\/32 \\[20\/0\\] via 83.161.120.155, 00:26:34\n\nB   83.161.120.155\/32 \\[20\/0\\] via 83.161.120.155, 00:11:22\n\nB   83.161.120.155\/32 \\[20\/3\\] via 83.161.120.155, 00:11:22\n\nB   83.161.120.155\/32 \\[20\/2\\] via 83.161.120.155, 00:11:22\n\nB   83.161.120.155\/32 \\[20\/2\\] via 83.161.120.155, 00:11:22\n\nB   83.161.120.155\/32 \\[20\/2\\] via 83.161.120.155, 00:11:22\n\nB   83.161.120.155\/30 \\[20\/2\\] via 83.161.120.155, 00:11:22\n\nB   83.161.120.155\/32 \\[20\/2\\] via 83.161.120.155, 00:11:22\n\nB   83.161.120.155\/30 \\[20\/2\\] via 83.161.120.155, 00:11:22\n\nRouter 5 BGP table\n\n Network  Next Hop  Metric LocPrf Weight Path\n\n\\*&gt; 83.161.120.155\/30   83.161.120.155   2   0 80 ?\n\n\\*&gt; 83.161.120.155\/32  83.161.120.155   3   0 80 ?\n\n\\*&gt; 83.161.120.155\/30   83.161.120.155   2   0 80 ?\n\n\\*&gt; 83.161.120.155\/32  83.161.120.155   2   0 80 ?\n\n\\*&gt; 83.161.120.155\/32  83.161.120.155   2   0 80 ?\n\n\\*&gt; 83.161.120.155\/32  83.161.120.155   2   0 80 ?\n\n\\*&gt; 83.161.120.155\/32  83.161.120.155   2   0 80 ?\n\n\\*&gt; 83.161.120.155\/30   83.161.120.155   0   0 80 ?\n\n\\*&gt; 83.161.120.155\/32  83.161.120.155   0   0 80 ?\n\n\\*&gt; 83.161.120.155\/32  83.161.120.155   0   0 80 ?\n\n\\*&gt; 83.161.120.155\/32  83.161.120.155   0   0 80 i\n\nr&gt; 83.161.120.155\/30  83.161.120.155   0   0 80 i\n\n\\*&gt; 83.161.120.155\/32   83.161.120.155  0   32768 ?\n\n\\*&gt; 83.161.120.155\/32   83.161.120.155  0   32768 ?\n\n\\*&gt; 83.161.120.155\/32   83.161.120.155  0   32768 i\n\n\\*&gt; 83.161.120.155\/32   83.161.120.155  0   32768 i\n\n\\*&gt; 83.161.120.155\/30  83.161.120.155  0   32768 ?","meta":"{'source': 'reddit_posts', 'id': 'anijt7', 'title': 'Aggregated routes into OSPF', 'author': 'G331234512345', 'subreddit': 'networking', 'subreddit_id': '2qkaf', 'body': \"Aloha,\\n\\nI ran into a issue at work, and labbed it to see where is the error.\\n\\nRouter 1 and Router 2 are sending BGP aggregated routes into Router 3\\n\\nRouter 1 is sending 10.200.10.0\/24 Router 2 is sending 10.200.20.0\/24\\n\\nRouter 3 redistributes all BGP routes into Router 4 via OSPF\\n\\nRouter 4 receives the aggregated routes via OSPF and redistributes into Router 5 via BGP\\n\\nHowever I do not see the routes being sent out to router 5 using soft-configuration from R4 and I obviously do not see Router 5 receiving the aggregated routes via the soft-configuration command from R4\\n\\nI can ping everything behind Router 1 and Router 2 from Router 4, however, can't ping from R5 to R1 or R2\\n\\nIs this a bug on GNS3? The configuration looks good to me. I think there is an issue redistributing BGP sourced aggregated routes into OSPF? Because when I remove the redistribution from R4 to R5, R5 looses all its redistrubuted learned routes from R4. So this indicates that redistribution seems to be working correctly. Seems like only the aggregated routes is not being redistributed.\\n\\nR4 routing configuration:\\n\\nrouter ospf 100\\n\\nlog-adjacency-changes\\n\\nredistribute bgp 80 subnets\\n\\npassive-interface default\\n\\nno passive-interface GigabitEthernet0\/0\\n\\nnetwork 10.200.70.0 0.0.0.3 area 0\\n\\nnetwork 10.200.80.10 0.0.0.0 area 0\\n\\nnetwork 10.200.80.20 0.0.0.0 area 0\\n\\nrouter bgp 80\\n\\nno synchronization\\n\\nbgp log-neighbor-changes\\n\\nnetwork 10.200.80.30 mask 255.255.255.255\\n\\nnetwork 172.17.1.0 mask 255.255.255.252\\n\\nredistribute ospf 100\\n\\nneighbor 172.17.1.255 remote-as 100\\n\\nneighbor 172.17.1.255 description ASB-EDGE\\n\\nneighbor 172.17.1.255 ebgp-multihop 2\\n\\nneighbor 172.17.1.255 soft-reconfiguration inbound\\n\\nno auto-summary\\n\\nRouter 4 ip route table\\n\\n 172.17.0.0\/16 is variably subnetted, 7 subnets, 2 masks\\n\\nS   172.17.1.255\/32 \\\\[1\/0\\\\] via 172.17.1.2\\n\\nB   172.17.1.40\/32 \\\\[20\/0\\\\] via 172.17.1.255, 00:30:59\\n\\nB   172.17.1.30\/32 \\\\[20\/0\\\\] via 172.17.1.255, 00:30:59\\n\\nB   172.17.1.20\/32 \\\\[20\/0\\\\] via 172.17.1.255, 00:30:59\\n\\nB   172.17.1.10\/32 \\\\[20\/0\\\\] via 172.17.1.255, 00:30:59\\n\\nC   172.17.1.0\/30 is directly connected, GigabitEthernet1\/0\\n\\nB   172.17.2.0\/30 \\\\[20\/0\\\\] via 172.17.1.255, 00:30:59\\n\\n 10.0.0.0\/8 is variably subnetted, 16 subnets, 3 masks\\n\\nC   10.200.70.0\/30 is directly connected, GigabitEthernet0\/0\\n\\nC   10.200.80.20\/32 is directly connected, Loopback20\\n\\nC   10.200.80.30\/32 is directly connected, Loopback30\\n\\nC   10.200.80.10\/32 is directly connected, Loopback10\\n\\nO E2  10.200.50.70\/32 \\\\[110\/1\\\\] via 10.200.70.2, 00:31:25, GigabitEthernet0\/0\\n\\nO   10.200.50.50\/32 \\\\[110\/3\\\\] via 10.200.70.2, 00:31:25, GigabitEthernet0\/0\\n\\nO E2  10.200.10.0\/30 \\\\[110\/1\\\\] via 10.200.70.2, 00:31:25, GigabitEthernet0\/0\\n\\nO E2  10.200.10.0\/24 \\\\[110\/1\\\\] via 10.200.70.2, 00:31:25, GigabitEthernet0\/0\\n\\nO   10.200.60.40\/32 \\\\[110\/2\\\\] via 10.200.70.2, 00:31:25, GigabitEthernet0\/0\\n\\nO E2  10.200.20.0\/30 \\\\[110\/1\\\\] via 10.200.70.2, 00:31:25, GigabitEthernet0\/0\\n\\nO E2  10.200.20.0\/24 \\\\[110\/1\\\\] via 10.200.70.2, 00:31:25, GigabitEthernet0\/0\\n\\nO   10.200.60.30\/32 \\\\[110\/2\\\\] via 10.200.70.2, 00:31:25, GigabitEthernet0\/0\\n\\nO   10.200.60.20\/32 \\\\[110\/2\\\\] via 10.200.70.2, 00:31:25, GigabitEthernet0\/0\\n\\nO   10.200.50.0\/30 \\\\[110\/2\\\\] via 10.200.70.2, 00:31:25, GigabitEthernet0\/0\\n\\nO   10.200.60.10\/32 \\\\[110\/2\\\\] via 10.200.70.2, 00:31:25, GigabitEthernet0\/0\\n\\nO   10.200.60.0\/30 \\\\[110\/2\\\\] via 10.200.70.2, 00:31:25, GigabitEthernet0\/0\\n\\nRouter 4 BGP table\\n\\n Network  Next Hop  Metric LocPrf Weight Path\\n\\n\\\\*&gt; 10.200.50.0\/30   10.200.70.2  2   32768 ?\\n\\n\\\\*&gt; 10.200.50.50\/32  10.200.70.2  3   32768 ?\\n\\n\\\\*&gt; 10.200.60.0\/30   10.200.70.2  2   32768 ?\\n\\n\\\\*&gt; 10.200.60.10\/32  10.200.70.2  2   32768 ?\\n\\n\\\\*&gt; 10.200.60.20\/32  10.200.70.2  2   32768 ?\\n\\n\\\\*&gt; 10.200.60.30\/32  10.200.70.2  2   32768 ?\\n\\n\\\\*&gt; 10.200.60.40\/32  10.200.70.2  2   32768 ?\\n\\n\\\\*&gt; 10.200.70.0\/30   0.0.0.0  0   32768 ?\\n\\n\\\\*&gt; 10.200.80.10\/32  0.0.0.0  0   32768 ?\\n\\n\\\\*&gt; 10.200.80.20\/32  0.0.0.0  0   32768 ?\\n\\n\\\\*&gt; 10.200.80.30\/32  0.0.0.0  0   32768 i\\n\\n\\\\*&gt; 172.17.1.0\/30  0.0.0.0  0   32768 i\\n\\n\\\\*&gt; 172.17.1.10\/32   172.17.1.255   0   0 100 ?\\n\\n\\\\*&gt; 172.17.1.20\/32   172.17.1.255   0   0 100 ?\\n\\n\\\\*&gt; 172.17.1.30\/32   172.17.1.255   0   0 100 i\\n\\n\\\\*&gt; 172.17.1.40\/32   172.17.1.255   0   0 100 i\\n\\n\\\\*&gt; 172.17.2.0\/30  172.17.1.255   0   0 100 ?\\n\\nRouter 5 routing configuration:\\n\\nrouter bgp 100\\n\\nno synchronization\\n\\nbgp log-neighbor-changes\\n\\nnetwork 172.17.1.0 mask 255.255.255.255\\n\\nnetwork 172.17.1.30 mask 255.255.255.255\\n\\nnetwork 172.17.1.40 mask 255.255.255.255\\n\\nredistribute eigrp 200\\n\\nneighbor 172.17.1.1 remote-as 80\\n\\nneighbor 172.17.1.1 description HT-ASB-PE\\n\\nneighbor 172.17.1.1 soft-reconfiguration inbound\\n\\nno auto-summary\\n\\nRouter 5 routing table\\n\\nGateway of last resort is not set\\n\\n 172.17.0.0\/16 is variably subnetted, 7 subnets, 2 masks\\n\\nC   172.17.1.255\/32 is directly connected, Loopback100\\n\\nC   172.17.1.40\/32 is directly connected, Loopback40\\n\\nC   172.17.1.30\/32 is directly connected, Loopback30\\n\\nC   172.17.1.20\/32 is directly connected, Loopback20\\n\\nC   172.17.1.10\/32 is directly connected, Loopback10\\n\\nC   172.17.1.0\/30 is directly connected, FastEthernet0\/0\\n\\nC   172.17.2.0\/30 is directly connected, FastEthernet0\/1\\n\\n 10.0.0.0\/8 is variably subnetted, 11 subnets, 2 masks\\n\\nB   10.200.70.0\/30 \\\\[20\/0\\\\] via 172.17.1.1, 00:11:22\\n\\nB   10.200.80.20\/32 \\\\[20\/0\\\\] via 172.17.1.1, 00:11:22\\n\\nB   10.200.80.30\/32 \\\\[20\/0\\\\] via 172.17.1.1, 00:26:34\\n\\nB   10.200.80.10\/32 \\\\[20\/0\\\\] via 172.17.1.1, 00:11:22\\n\\nB   10.200.50.50\/32 \\\\[20\/3\\\\] via 172.17.1.1, 00:11:22\\n\\nB   10.200.60.40\/32 \\\\[20\/2\\\\] via 172.17.1.1, 00:11:22\\n\\nB   10.200.60.30\/32 \\\\[20\/2\\\\] via 172.17.1.1, 00:11:22\\n\\nB   10.200.60.20\/32 \\\\[20\/2\\\\] via 172.17.1.1, 00:11:22\\n\\nB   10.200.50.0\/30 \\\\[20\/2\\\\] via 172.17.1.1, 00:11:22\\n\\nB   10.200.60.10\/32 \\\\[20\/2\\\\] via 172.17.1.1, 00:11:22\\n\\nB   10.200.60.0\/30 \\\\[20\/2\\\\] via 172.17.1.1, 00:11:22\\n\\nRouter 5 BGP table\\n\\n Network  Next Hop  Metric LocPrf Weight Path\\n\\n\\\\*&gt; 10.200.50.0\/30   172.17.1.1   2   0 80 ?\\n\\n\\\\*&gt; 10.200.50.50\/32  172.17.1.1   3   0 80 ?\\n\\n\\\\*&gt; 10.200.60.0\/30   172.17.1.1   2   0 80 ?\\n\\n\\\\*&gt; 10.200.60.10\/32  172.17.1.1   2   0 80 ?\\n\\n\\\\*&gt; 10.200.60.20\/32  172.17.1.1   2   0 80 ?\\n\\n\\\\*&gt; 10.200.60.30\/32  172.17.1.1   2   0 80 ?\\n\\n\\\\*&gt; 10.200.60.40\/32  172.17.1.1   2   0 80 ?\\n\\n\\\\*&gt; 10.200.70.0\/30   172.17.1.1   0   0 80 ?\\n\\n\\\\*&gt; 10.200.80.10\/32  172.17.1.1   0   0 80 ?\\n\\n\\\\*&gt; 10.200.80.20\/32  172.17.1.1   0   0 80 ?\\n\\n\\\\*&gt; 10.200.80.30\/32  172.17.1.1   0   0 80 i\\n\\nr&gt; 172.17.1.0\/30  172.17.1.1   0   0 80 i\\n\\n\\\\*&gt; 172.17.1.10\/32   0.0.0.0  0   32768 ?\\n\\n\\\\*&gt; 172.17.1.20\/32   0.0.0.0  0   32768 ?\\n\\n\\\\*&gt; 172.17.1.30\/32   0.0.0.0  0   32768 i\\n\\n\\\\*&gt; 172.17.1.40\/32   0.0.0.0  0   32768 i\\n\\n\\\\*&gt; 172.17.2.0\/30  0.0.0.0  0   32768 ?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 6, 'created_utc': 1549399943}"}
{"id":"1865360","text":"Title: I seem to be missing a recipe in my AngelBob setup\nThe text below was posted in an online community called factorio in the year 2018:\n\nAs the title says... I am trying to increase my sulfur production, as processing sulfuric waste water simply isn't enough anymore. According to FNEI, I should be able to use a Chemical Plant to **produce sulfur from Oxygen + Hydrogen Sulfide Gas**.\n\nHowever, after building a chemical plant, I cannot seem to find the recipe in any of the menus.\n\nAccording to FNEI it is unlocked by Sulfur Processing: Check. In fact, **I have Sulfur Processing** 2 unlocked already.\n\nI've also tried different variations of the chemical plants: Advanced, MK2, the Vanilla one, etc.\n\n**I'm starting to think that I might be missing a mod**, as I downloaded them all one by one, so here's a list of **what I am running**:\n\n\\-rw-rw-r-- 1 jarmund jarmund    93639 Jun 26 20:53 angelsaddons-pressuretanks\\_0.3.0.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund   409553 Jun 12 17:08 angelsaddons-warehouses\\_0.3.0.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund 15651510 Jun  9 22:54 angelsinfiniteores\\_0.7.3.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund 12711699 Jun 26 20:52 angelspetrochem\\_0.7.9.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund 36239647 Jun 26 20:51 angelsrefining\\_0.9.12.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund 18267082 Jun 26 20:53 angelssmelting\\_0.4.4.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund     6236 Jun 26 20:53 AutoDeconstruct\\_0.1.11.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund  1598955 Jun 26 20:51 bobassembly\\_0.16.1.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund   190555 Jun 26 20:51 bobelectronics\\_0.16.0.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund   117710 Jun 26 20:50 bobinserters\\_0.16.8.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund  6833827 Jun  9 22:54 boblibrary\\_0.16.5.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund 15299186 Jun  9 22:54 boblogistics\\_0.16.22.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund   377660 Jun 26 20:51 bobmining\\_0.16.0.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund   103160 Jun 26 20:51 bobmodules\\_0.16.0.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund    98065 Jun 26 20:51 bobores\\_0.16.2.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund  1072126 Jun 26 20:50 bobplates\\_0.16.4.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund   490336 Jun  9 22:54 bobpower\\_0.16.5.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund    89517 Jun 26 20:51 bobrevamp\\_0.16.2.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund   838034 Jun 26 20:51 bobtech\\_0.16.6.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund  1991843 Jun 26 20:52 bobvehicleequipment\\_0.16.2.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund     1062 Jun 26 20:53 clock\\_0.16.0.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund  3192012 Jun  9 22:54 Factorissimo2\\_2.2.3.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund   393333 Jun 26 20:51 FARL\\_2.1.2.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund   111658 Jul 17 23:04 FNEI\\_0.1.8.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund  1072878 Jul 17 23:04 helmod\\_0.7.11.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund   168709 Jun  9 22:54 LogisticTrainNetwork\\_1.7.9.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund     2155 Jun 26 20:51 long-reach\\_0.0.12.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund     1958 Aug 15 23:29 mod-list.json\n\n\\-rw-rw-r-- 1 jarmund jarmund     9987 Aug 16 19:12 mod-settings.dat\n\n\\-rw-rw-r-- 1 jarmund jarmund    57629 Jun  9 22:54 rso-mod\\_3.7.3.zip\n\n\\-rw-rw-r-- 1 jarmund jarmund    17773 Jun 26 20:52 Squeak Through\\_1.2.2.zip\n\n(sorry for the untidy poste, I couldn't get awk to do what I wanted)","meta":"{'source': 'reddit_posts', 'id': '97wggp', 'title': 'I seem to be missing a recipe in my AngelBob setup', 'author': 'kjarmund', 'subreddit': 'factorio', 'subreddit_id': '2wabp', 'body': \"As the title says... I am trying to increase my sulfur production, as processing sulfuric waste water simply isn't enough anymore. According to FNEI, I should be able to use a Chemical Plant to **produce sulfur from Oxygen + Hydrogen Sulfide Gas**.\\n\\nHowever, after building a chemical plant, I cannot seem to find the recipe in any of the menus.\\n\\nAccording to FNEI it is unlocked by Sulfur Processing: Check. In fact, **I have Sulfur Processing** 2 unlocked already.\\n\\nI've also tried different variations of the chemical plants: Advanced, MK2, the Vanilla one, etc.\\n\\n**I'm starting to think that I might be missing a mod**, as I downloaded them all one by one, so here's a list of **what I am running**:\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund    93639 Jun 26 20:53 angelsaddons-pressuretanks\\\\_0.3.0.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund   409553 Jun 12 17:08 angelsaddons-warehouses\\\\_0.3.0.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund 15651510 Jun  9 22:54 angelsinfiniteores\\\\_0.7.3.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund 12711699 Jun 26 20:52 angelspetrochem\\\\_0.7.9.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund 36239647 Jun 26 20:51 angelsrefining\\\\_0.9.12.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund 18267082 Jun 26 20:53 angelssmelting\\\\_0.4.4.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund     6236 Jun 26 20:53 AutoDeconstruct\\\\_0.1.11.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund  1598955 Jun 26 20:51 bobassembly\\\\_0.16.1.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund   190555 Jun 26 20:51 bobelectronics\\\\_0.16.0.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund   117710 Jun 26 20:50 bobinserters\\\\_0.16.8.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund  6833827 Jun  9 22:54 boblibrary\\\\_0.16.5.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund 15299186 Jun  9 22:54 boblogistics\\\\_0.16.22.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund   377660 Jun 26 20:51 bobmining\\\\_0.16.0.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund   103160 Jun 26 20:51 bobmodules\\\\_0.16.0.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund    98065 Jun 26 20:51 bobores\\\\_0.16.2.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund  1072126 Jun 26 20:50 bobplates\\\\_0.16.4.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund   490336 Jun  9 22:54 bobpower\\\\_0.16.5.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund    89517 Jun 26 20:51 bobrevamp\\\\_0.16.2.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund   838034 Jun 26 20:51 bobtech\\\\_0.16.6.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund  1991843 Jun 26 20:52 bobvehicleequipment\\\\_0.16.2.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund     1062 Jun 26 20:53 clock\\\\_0.16.0.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund  3192012 Jun  9 22:54 Factorissimo2\\\\_2.2.3.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund   393333 Jun 26 20:51 FARL\\\\_2.1.2.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund   111658 Jul 17 23:04 FNEI\\\\_0.1.8.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund  1072878 Jul 17 23:04 helmod\\\\_0.7.11.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund   168709 Jun  9 22:54 LogisticTrainNetwork\\\\_1.7.9.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund     2155 Jun 26 20:51 long-reach\\\\_0.0.12.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund     1958 Aug 15 23:29 mod-list.json\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund     9987 Aug 16 19:12 mod-settings.dat\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund    57629 Jun  9 22:54 rso-mod\\\\_3.7.3.zip\\n\\n\\\\-rw-rw-r-- 1 jarmund jarmund    17773 Jun 26 20:52 Squeak Through\\\\_1.2.2.zip\\n\\n(sorry for the untidy poste, I couldn't get awk to do what I wanted)\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 12, 'created_utc': 1534455646}"}
{"id":"1309220","text":"Title: Will this code always work, or will it get optimized away?\nThe text below was posted in an online community called javahelp in the year 2012:\n\nint x = 5;\nint y = x \/ 3 * 3;\n\noutput: y = 3\n\nWill this always set y = 3? Is it possible it could get optimized to just y=x?\n\nI'm using this type of calculation and I don't know if there's a better way to do it. It seems odd to me, but it works perfectly!","meta":"{'source': 'reddit_posts', 'id': '110mh3', 'title': 'Will this code always work, or will it get optimized away?', 'author': 'prometheusg', 'subreddit': 'javahelp', 'subreddit_id': '2t1jq', 'body': \"int x = 5;\\nint y = x \/ 3 * 3;\\n\\noutput: y = 3\\n\\nWill this always set y = 3? Is it possible it could get optimized to just y=x?\\n\\nI'm using this type of calculation and I don't know if there's a better way to do it. It seems odd to me, but it works perfectly!\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 5, 'created_utc': 1349477703}"}
{"id":"583464","text":"Title: [Linux] Negotiate\/Kerberos Auth only works with unencrypted = true\nThe text below was posted in an online community called PowerShell in the year 2018:\n\nTrying to execute some invoke-command from a linux box with domain credentials. \n\nIt works fine if on the windows box the parameter is set as  @{AllowUnencrypted=\"true\"}\n\nBut doesn't work if set to false.\n\nI though the Authentification method being set to Negotiate\/Kerberos would use encryption at the message level ( vs using basic auth ).\n\nIs it a specificity a the linux client ? \n\nEdit : \njust tried from a windows client and it works as expected with allowunencrypted set to false, \nthat's definitely linked with the linux part","meta":"{'source': 'reddit_posts', 'id': '860wib', 'title': '[Linux] Negotiate\/Kerberos Auth only works with unencrypted = true', 'author': 'krpt', 'subreddit': 'PowerShell', 'subreddit_id': '2qo1o', 'body': 'Trying to execute some invoke-command from a linux box with domain credentials. \\n\\nIt works fine if on the windows box the parameter is set as  @{AllowUnencrypted=\"true\"}\\n\\nBut doesn\\'t work if set to false.\\n\\nI though the Authentification method being set to Negotiate\/Kerberos would use encryption at the message level ( vs using basic auth ).\\n\\nIs it a specificity a the linux client ? \\n\\nEdit : \\njust tried from a windows client and it works as expected with allowunencrypted set to false, \\nthat\\'s definitely linked with the linux part', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 9, 'created_utc': 1521626454}"}
{"id":"1373481","text":"Title: Is Athena a suitable option to use it as a webapp db?\nThe text below was posted in an online community called aws in the year 2020:\n\nI mean, i know the purpose of athena is defined as an analytics tools to query your data stored in s3.\n\nBut i dont know if this description fits the scenario in wich i use it as a common db to receive queries made by users in a web application for example.\n\nIs this possible or athena is more orientated to make querys over your data with analytics purposes?  \n\n\nThanks.","meta":"{'source': 'reddit_posts', 'id': 'fcz9vd', 'title': 'Is Athena a suitable option to use it as a webapp db?', 'author': 'Fonderknight', 'subreddit': 'aws', 'subreddit_id': '2qh84', 'body': 'I mean, i know the purpose of athena is defined as an analytics tools to query your data stored in s3.\\n\\nBut i dont know if this description fits the scenario in wich i use it as a common db to receive queries made by users in a web application for example.\\n\\nIs this possible or athena is more orientated to make querys over your data with analytics purposes?  \\n\\n\\nThanks.', 'body_is_trimmed': False, 'score': 10, 'over_18': False, 'num_comments': 5, 'created_utc': 1583261228}"}
{"id":"935971","text":"Title: MacBook Pro Keyboard Replacement if extremely expensive.\nThe text below was posted in an online community called apple in the year 2018:\n\nMy MacBook Pro with TouchBar has some serious problems with keyboard. Almost all keys are stucking what makes my device completely useless. When I went to service they asked me for $600 for a replacement because my MacBook is out of warranty(14 moths old) I don't hide that this price is unacceptable.\n\nDoes anyone have any ideas how to fix that? Have you called Apple for a free replacement?","meta":"{'source': 'reddit_posts', 'id': '8gzamf', 'title': 'MacBook Pro Keyboard Replacement if extremely expensive.', 'author': 'Meddy96', 'subreddit': 'apple', 'subreddit_id': '2qh1f', 'body': \"My MacBook Pro with TouchBar has some serious problems with keyboard. Almost all keys are stucking what makes my device completely useless. When I went to service they asked me for $600 for a replacement because my MacBook is out of warranty(14 moths old) I don't hide that this price is unacceptable.\\n\\nDoes anyone have any ideas how to fix that? Have you called Apple for a free replacement?\", 'body_is_trimmed': False, 'score': 168, 'over_18': False, 'num_comments': 134, 'created_utc': 1525441031}"}
{"id":"712384","text":"Title: Where should I move my GoDaddy domains?\nThe text below was posted in an online community called webdev in the year 2019:\n\nAfter reading some posts on here about GoDaddy, I feel like I should move my domains to another registrar.\n\nIve had most of them for just under a year. I looked into some registrars, but most of them will charge me 10-15$ for the transfer. I have 7 domains, and I dont wanna go broke.\n\nSo, does anybody have a good and reasonably priced registrar I could move to?\n\n\nEDIT: Seems like Godaddy is the only registrar (i've been able to find) with reasonable prices that support .eu domains","meta":"{'source': 'reddit_posts', 'id': 'ag3vpi', 'title': 'Where should I move my GoDaddy domains?', 'author': 'VoltUprising', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': \"After reading some posts on here about GoDaddy, I feel like I should move my domains to another registrar.\\n\\nIve had most of them for just under a year. I looked into some registrars, but most of them will charge me 10-15$ for the transfer. I have 7 domains, and I dont wanna go broke.\\n\\nSo, does anybody have a good and reasonably priced registrar I could move to?\\n\\n\\nEDIT: Seems like Godaddy is the only registrar (i've been able to find) with reasonable prices that support .eu domains\", 'body_is_trimmed': False, 'score': 10, 'over_18': False, 'num_comments': 28, 'created_utc': 1547521063}"}
{"id":"545045","text":"Title: 4 Port or 6 port - sfp+ 10gbe NIC ?\nThe text below was posted in an online community called networking in the year 2017:\n\nI found a vendor that make 4 port and 6 port versions here;\nhttps:\/\/www.small-tree.com\/categories\/10gb-ethernet-cards\/\n\nAnyone know of any other options? \n\nFor anyone interested, the idea is direct attach to a storage device, sort of a roll your own SAN. 2 x Dell 720's each with 6 port 10 GBPS going upstream to 5 forward devices.\n\nThanks!","meta":"{'source': 'reddit_posts', 'id': '65rrf7', 'title': '4 Port or 6 port - sfp+ 10gbe NIC ?', 'author': 'dbuzz111', 'subreddit': 'networking', 'subreddit_id': '2qkaf', 'body': \"I found a vendor that make 4 port and 6 port versions here;\\nhttps:\/\/www.small-tree.com\/categories\/10gb-ethernet-cards\/\\n\\nAnyone know of any other options? \\n\\nFor anyone interested, the idea is direct attach to a storage device, sort of a roll your own SAN. 2 x Dell 720's each with 6 port 10 GBPS going upstream to 5 forward devices.\\n\\nThanks!\", 'body_is_trimmed': False, 'score': 9, 'over_18': False, 'num_comments': 21, 'created_utc': 1492380823}"}
{"id":"31394","text":"Title: Battery life recommendation\nThe text below was posted in an online community called Windows10 in the year 2018:\n\nApparently there are device performance health recommdations.  Any idea how to view?\n\nFully updated 1803 17134.48\n\nhttps:\/\/i.redd.it\/l1s4ugccb7x01.png","meta":"{'source': 'reddit_posts', 'id': '8immc1', 'title': 'Battery life recommendation', 'author': 'jools5000', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': 'Apparently there are device performance health recommdations.  Any idea how to view?\\n\\nFully updated 1803 17134.48\\n\\nhttps:\/\/i.redd.it\/l1s4ugccb7x01.png', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 2, 'created_utc': 1526033542}"}
{"id":"119739","text":"Title: I coded a tiny optimization framework in C++11 over the weekend. It contains a genetic algorithm and a neural network with classic backpropagation (project is on github).\nThe text below was posted in an online community called MachineLearning in the year 2013:\n\nHello everyone,\n\nAs mentiond in the title, the project contains implementations for a neural network, a genetic algorithm, some statistics functions (mean, variance, covariance, pearson's R2) and a linear scaling method for shifting data. \n\nI haven't paid much attention to design yet (lost a lot of time reading about rprop and levenberg-marquardt methods for ann training - hopefully they will be implemented soon), but the code is fairly simple so maybe it'll be useful to anyone looking for some code samples. \n\nThe repo is here: https:\/\/github.com\/bburlacu\/meta\n\nFeedback or suggestions (even algorithm requests) would be appreciated. Thanks :)","meta":"{'source': 'reddit_posts', 'id': '1epuhv', 'title': 'I coded a tiny optimization framework in C++11 over the weekend. It contains a genetic algorithm and a neural network with classic backpropagation (project is on github).', 'author': 'foolnotion', 'subreddit': 'MachineLearning', 'subreddit_id': '2r3gv', 'body': \"Hello everyone,\\n\\nAs mentiond in the title, the project contains implementations for a neural network, a genetic algorithm, some statistics functions (mean, variance, covariance, pearson's R2) and a linear scaling method for shifting data. \\n\\nI haven't paid much attention to design yet (lost a lot of time reading about rprop and levenberg-marquardt methods for ann training - hopefully they will be implemented soon), but the code is fairly simple so maybe it'll be useful to anyone looking for some code samples. \\n\\nThe repo is here: https:\/\/github.com\/bburlacu\/meta\\n\\nFeedback or suggestions (even algorithm requests) would be appreciated. Thanks :)\", 'body_is_trimmed': False, 'score': 28, 'over_18': False, 'num_comments': 7, 'created_utc': 1369083000}"}
{"id":"1356763","text":"Title: Verizon Wireless...you cannot be serious\nThe text below was posted in an online community called Android in the year 2012:\n\nWith the HTC One series just around the corner, and the official launching of the Samsung Galaxy sIII weeks away, Verizon Wireless continues to do its thing. It has shown no sign that it will be adopting these phones, and to cement their reputation, they've just announced the new [HTC Droid Incredible 4G LTE](http:\/\/www.engadget.com\/2012\/04\/23\/htc-droid-incredible-4g-lte\/), which they advertise for $300...a high price when AT$T and others are advertising the One X for $199 (or $150 if you pre-order it from Target or Radio Shack).\n\nHas Verizon become the retarded red-headed step child that wipes its drool from its mouth with its foot?","meta":"{'source': 'reddit_posts', 'id': 'sohga', 'title': 'Verizon Wireless...you cannot be serious', 'author': 'ajaxanon', 'subreddit': 'Android', 'subreddit_id': '2qlqh', 'body': \"With the HTC One series just around the corner, and the official launching of the Samsung Galaxy sIII weeks away, Verizon Wireless continues to do its thing. It has shown no sign that it will be adopting these phones, and to cement their reputation, they've just announced the new [HTC Droid Incredible 4G LTE](http:\/\/www.engadget.com\/2012\/04\/23\/htc-droid-incredible-4g-lte\/), which they advertise for $300...a high price when AT$T and others are advertising the One X for $199 (or $150 if you pre-order it from Target or Radio Shack).\\n\\nHas Verizon become the retarded red-headed step child that wipes its drool from its mouth with its foot?\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 33, 'created_utc': 1335203969}"}
{"id":"330341","text":"Title: Section over head\nThe text below was posted in an online community called LaTeX in the year 2021:\n\nHi\n\nI am newbie in LaTeX. I am trying to make a basic meeting minute, but the text goes over the heading in the first page. How could I solve it?\n\nI am using orgmode and exporting to LaTeX.\n\n[https:\/\/i.ibb.co\/kGwz3QX\/Captura.jpg](https:\/\/i.ibb.co\/kGwz3QX\/Captura.jpg)\n\n`\\documentclass[11pt]{article}`\n\n`\\usepackage{graphicx}`\n\n`\\usepackage{fancyhdr}`\n\n`\\pagestyle{fancy}`\n\n`\\lhead{\\includegraphics[width=4cm]{Captura.JPG}}`\n\n`\\rhead{Reunin: Client\\\\`\n\n`Lugar: Place\\\\`\n\n`Fecha: 2021-03-30 ma. 11:00}`\n\n`\\setcounter{secnumdepth}{1}`\n\n`\\begin{document}`\n\n`\\section{Section}`\n\n`\\label{sec:org1350d03}`\n\n`contents contents contents contents`\n\n`\\end{document}`\n\n&amp;#x200B;\n\nORGMODE settings: no title\n\n&amp;#x200B;","meta":"{'source': 'reddit_posts', 'id': 'ml8jk2', 'title': 'Section over head', 'author': 'ypote', 'subreddit': 'LaTeX', 'subreddit_id': '2qhbn', 'body': 'Hi\\n\\nI am newbie in LaTeX. I am trying to make a basic meeting minute, but the text goes over the heading in the first page. How could I solve it?\\n\\nI am using orgmode and exporting to LaTeX.\\n\\n[https:\/\/i.ibb.co\/kGwz3QX\/Captura.jpg](https:\/\/i.ibb.co\/kGwz3QX\/Captura.jpg)\\n\\n`\\\\documentclass[11pt]{article}`\\n\\n`\\\\usepackage{graphicx}`\\n\\n`\\\\usepackage{fancyhdr}`\\n\\n`\\\\pagestyle{fancy}`\\n\\n`\\\\lhead{\\\\includegraphics[width=4cm]{Captura.JPG}}`\\n\\n`\\\\rhead{Reunin: Client\\\\\\\\`\\n\\n`Lugar: Place\\\\\\\\`\\n\\n`Fecha: 2021-03-30 ma. 11:00}`\\n\\n`\\\\setcounter{secnumdepth}{1}`\\n\\n`\\\\begin{document}`\\n\\n`\\\\section{Section}`\\n\\n`\\\\label{sec:org1350d03}`\\n\\n`contents contents contents contents`\\n\\n`\\\\end{document}`\\n\\n&amp;#x200B;\\n\\nORGMODE settings: no title\\n\\n&amp;#x200B;', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 4, 'created_utc': 1617704761}"}
{"id":"2329273","text":"Title: EC2 or AWS Mobile Hub\nThe text below was posted in an online community called aws in the year 2016:\n\nHi,\n\nI'm completely new in AWS and also in the \"server world\".\nI made a mobile app and I want to create a backend but I'm lost with the pricing and the efficiency of AWS. I would like your input on which solution is the best.\n\nIs it better for me to build the server or to use all the tools from AWS. I have a lot of time and it's a personal project so I'm willing to learn how to make the backend if it will cost me less money or will have better performances \/ maintainability.\n\nHere are the functions I'll need:\n\n- Register \/ login\n- Chat message between 2 users (socket)\n- Search users with filters\n- Get profile \/ add friends\n- Push Notifications\n- Fetch data from an external API (not mine and the API use rate limits).\n\nAs you can see the app is not really complex, I'm just worried about fetching data with the rate limit, is it possible with AWS Lambda or other tool? How much would it costs me for let's say 2000 to 5000 unique active users per months? I have no idea if my app will reach as much users but I would like to know in the best case scenario.","meta":"{'source': 'reddit_posts', 'id': '4jf2yl', 'title': 'EC2 or AWS Mobile Hub', 'author': 'Sttype', 'subreddit': 'aws', 'subreddit_id': '2qh84', 'body': 'Hi,\\n\\nI\\'m completely new in AWS and also in the \"server world\".\\nI made a mobile app and I want to create a backend but I\\'m lost with the pricing and the efficiency of AWS. I would like your input on which solution is the best.\\n\\nIs it better for me to build the server or to use all the tools from AWS. I have a lot of time and it\\'s a personal project so I\\'m willing to learn how to make the backend if it will cost me less money or will have better performances \/ maintainability.\\n\\nHere are the functions I\\'ll need:\\n\\n- Register \/ login\\n- Chat message between 2 users (socket)\\n- Search users with filters\\n- Get profile \/ add friends\\n- Push Notifications\\n- Fetch data from an external API (not mine and the API use rate limits).\\n\\nAs you can see the app is not really complex, I\\'m just worried about fetching data with the rate limit, is it possible with AWS Lambda or other tool? How much would it costs me for let\\'s say 2000 to 5000 unique active users per months? I have no idea if my app will reach as much users but I would like to know in the best case scenario.', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 9, 'created_utc': 1463295542}"}
{"id":"1413704","text":"Title: Is it possible to build a WhatsApp bot using java?\nThe text below was posted in an online community called learnjava in the year 2021:\n\nIs it possible to build a WhatsApp bot using java?\n\nand what do I need in terms of knowledge and tools?","meta":"{'source': 'reddit_posts', 'id': 'mmw47r', 'title': 'Is it possible to build a WhatsApp bot using java?', 'author': 'kald1999', 'subreddit': 'learnjava', 'subreddit_id': '2saos', 'body': 'Is it possible to build a WhatsApp bot using java?\\n\\nand what do I need in terms of knowledge and tools?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 4, 'created_utc': 1617900975}"}
{"id":"333394","text":"Title: Is using $http for retrieving an internal\/serverside json resource the only way?\nThe text below was posted in an online community called angularjs in the year 2015:\n\nEvery example of using an internal\/servrside json file suggests using the $http service load the file, is there another way to do it without $http?   \n\n    $http.get('app_files\/local.json')....","meta":"{'source': 'reddit_posts', 'id': '3b1tfn', 'title': 'Is using $http for retrieving an internal\/serverside json resource the only way?', 'author': 'dickieirwin', 'subreddit': 'angularjs', 'subreddit_id': '2ucjd', 'body': \"Every example of using an internal\/servrside json file suggests using the $http service load the file, is there another way to do it without $http?   \\n\\n    $http.get('app_files\/local.json')....\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 7, 'created_utc': '1435218182'}"}
{"id":"842347","text":"Title: Any Good UI Overhauls?\nThe text below was posted in an online community called OSXTweaks in the year 2015:\n\nWhile I love the minimalistic UI of OSX, sometimes having to deal with a dock and desktop icons in the classic way is just too cluttered. Is there any combination of OS and\/or tweak that could change this experience? For example, how computers in Star Trek have a vastly different UI than a modern desktop. Maybe not to that extreme, but still.","meta":"{'source': 'reddit_posts', 'id': '3wq30n', 'title': 'Any Good UI Overhauls?', 'author': 'ColonelTerabyte', 'subreddit': 'OSXTweaks', 'subreddit_id': '30hl7', 'body': 'While I love the minimalistic UI of OSX, sometimes having to deal with a dock and desktop icons in the classic way is just too cluttered. Is there any combination of OS and\/or tweak that could change this experience? For example, how computers in Star Trek have a vastly different UI than a modern desktop. Maybe not to that extreme, but still.', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 11, 'created_utc': 1450057083}"}
{"id":"1133348","text":"Title: Alt-Tab delay preview?\nThe text below was posted in an online community called windows in the year 2020:\n\nHi guys, I'm a new Windows user (coming from macOS) and recently adopted the Alt-Tab keybinding to switch between applications (like Command-Tab).\n\nHowever, most of the time I'm just switching back-n-forth between 2 apps and don't really need the preview display. **What makes it worse is that I often Alt-Tab and let go really fast and this results in a flash of a preview which honestly is sometimes a bit annoying visually.**\n\nOn macOS, you get a short delay before the preview of open windows show up. This is for folks who know they're just switching to the most recent window, and the preview **doesn't show up for a split second to annoy you.**\n\nCan I change the behaviour so that Windows doesn't show the Alt-Tab preview unless I hold down after, like, 0.3 seconds?","meta":"{'source': 'reddit_posts', 'id': 'fvxf5w', 'title': 'Alt-Tab delay preview?', 'author': 'yep808', 'subreddit': 'windows', 'subreddit_id': '2qh3k', 'body': \"Hi guys, I'm a new Windows user (coming from macOS) and recently adopted the Alt-Tab keybinding to switch between applications (like Command-Tab).\\n\\nHowever, most of the time I'm just switching back-n-forth between 2 apps and don't really need the preview display. **What makes it worse is that I often Alt-Tab and let go really fast and this results in a flash of a preview which honestly is sometimes a bit annoying visually.**\\n\\nOn macOS, you get a short delay before the preview of open windows show up. This is for folks who know they're just switching to the most recent window, and the preview **doesn't show up for a split second to annoy you.**\\n\\nCan I change the behaviour so that Windows doesn't show the Alt-Tab preview unless I hold down after, like, 0.3 seconds?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': 1586174052}"}
{"id":"2105856","text":"Title: Hey Reddit, i made a Fallout: New Vegas themed Apple Watch face.\nThe text below was posted in an online community called AppleWatch in the year 2015:\n\nHere is the link \n\n[http:\/\/i.imgur.com\/pbITHPJ.png] (Apple presents the new Apple Pip Boy)\n\nI wasn't sure what to add next to the vault boy or to extend the notifications down further.\n\ni'm planning on requesting this or making it when apple release the option to have custom imported watch faces","meta":"{'source': 'reddit_posts', 'id': '328aj1', 'title': 'Hey Reddit, i made a Fallout: New Vegas themed Apple Watch face.', 'author': 'Sexy_Koala_Juice', 'subreddit': 'AppleWatch', 'subreddit_id': '2wav7', 'body': \"Here is the link \\n\\n[http:\/\/i.imgur.com\/pbITHPJ.png] (Apple presents the new Apple Pip Boy)\\n\\nI wasn't sure what to add next to the vault boy or to extend the notifications down further.\\n\\ni'm planning on requesting this or making it when apple release the option to have custom imported watch faces\", 'body_is_trimmed': False, 'score': 16, 'over_18': False, 'num_comments': 35, 'created_utc': '1428760641'}"}
{"id":"1025032","text":"Title: Signed up for Plaid CTF yet?\nThe text below was posted in an online community called netsec in the year 2012:\n\nIn case you haven't heard, there's an online CTF next week hosted by PPP. The CTF starts on April 27, 2012 at 21:00 UTC. Challenges are going to be focused on mostly binaries and reverse-engineering, but there will be other categories as well, and it should be a lot of fun ;)\n\nAlso, there are cash prizes for 1st, 2nd, and 3rd place, and some smaller prizes will be given out for other participants.\n\nSign up if you're interested [here](http:\/\/ctf.plaidctf.com\/)","meta":"{'source': 'reddit_posts', 'id': 'skc61', 'title': 'Signed up for Plaid CTF yet?', 'author': 'tylerni7', 'subreddit': 'netsec', 'subreddit_id': '1rqwi', 'body': \"In case you haven't heard, there's an online CTF next week hosted by PPP. The CTF starts on April 27, 2012 at 21:00 UTC. Challenges are going to be focused on mostly binaries and reverse-engineering, but there will be other categories as well, and it should be a lot of fun ;)\\n\\nAlso, there are cash prizes for 1st, 2nd, and 3rd place, and some smaller prizes will be given out for other participants.\\n\\nSign up if you're interested [here](http:\/\/ctf.plaidctf.com\/)\", 'body_is_trimmed': False, 'score': 9, 'over_18': False, 'num_comments': 4, 'created_utc': 1334956327}"}
{"id":"1049407","text":"Title: Thinking about going straight to doc. after BSc or should I complete a Masters degree first?\nThe text below was posted in an online community called compsci in the year 2011:\n\nI know there are some fields where you need a Masters degree to be accepted but not always.\n\nThinking about going one step further after my BSc but what are your opinions about this?\n\nNot going to name the field I'm thinking about because I want to keep the question general so others could find use for it.","meta":"{'source': 'reddit_posts', 'id': 'fdv5z', 'title': 'Thinking about going straight to doc. after BSc or should I complete a Masters degree first?', 'author': 'olafurw', 'subreddit': 'compsci', 'subreddit_id': '2qhmr', 'body': \"I know there are some fields where you need a Masters degree to be accepted but not always.\\n\\nThinking about going one step further after my BSc but what are your opinions about this?\\n\\nNot going to name the field I'm thinking about because I want to keep the question general so others could find use for it.\", 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 30, 'created_utc': 1296663088}"}
{"id":"1790441","text":"Title: Struggling with HLSL in MonoGame\nThe text below was posted in an online community called gamedev in the year 2019:\n\nDoes anyone have any HLSL\/Shader resources that discuss more complex topics other than greyscale and flipping objects?  I am struggling a bit with the HLSL and C# communication and what can be used in HLSL.\n\nI am building a top down 2D space shooter game with sandbox elements.  I am working on the shield for the spaceship now and am not having luck.  I am attempting to make a distortion effect shader, but things are not working right.  I either A) do not get my spaceship to draw on the screen, B) spaceship draws but no distortion or C) getting random null reference exceptions with the effects.Parameters when setting a value.\n\nHere is my current shader:\n\n    sampler inputTexture : register(s0);\n    \n    float2 DisplacementScroll;\n    float2 displacement;\n    \n    texture2D distortion;\n    sampler2D distortionSampler = sampler_state\n    {\n        Texture = &lt;distortion&gt;;\n        MagFilter = Point;\n    };\n    \n    float4 PixelShaderFunction(float4 pos : SV_POSITION, float4 color1 : COLOR0, float2 coords: TEXCOORD0) : COLOR0\n    {\n        \/\/ Look up the displacement amount.\n        displacement = tex2D(distortionSampler, DisplacementScroll + coords \/ 3);\n        \n        \/\/ Offset the main texture coordinates.\n        coords += displacement * 0.2 - 0.15;\n        \n        \/\/ Look up into the main texture.\n        return tex2D(inputTexture, coords);\n    }\n    \n    technique Technique1\n    {\n        pass Pass1\n        {\n            PixelShader = compile ps_4_0_level_9_1 PixelShaderFunction();\n        }\n    }\n\nAnd my sample C# code:\n\n    public class Game1 : Game\n        {\n            GraphicsDeviceManager graphics;\n            SpriteBatch spriteBatch;\n    \n            private Texture2D battlecruiserTexture2D, fighterTexture2D, normalTexture2D;\n            private Effect effect;\n    \n            public Game1()\n            {\n                graphics = new GraphicsDeviceManager(this);\n                graphics.GraphicsProfile = GraphicsProfile.HiDef;\n                graphics.PreferredBackBufferWidth = 1920;\n                graphics.PreferredBackBufferHeight = 1080;\n    \n                Content.RootDirectory = \"Content\";\n            }\n    \n            \/\/\/ &lt;summary&gt;\n            \/\/\/ Allows the game to perform any initialization it needs to before starting to run.\n            \/\/\/ This is where it can query for any required services and load any non-graphic\n            \/\/\/ related content.  Calling base.Initialize will enumerate through any components\n            \/\/\/ and initialize them as well.\n            \/\/\/ &lt;\/summary&gt;\n            protected override void Initialize()\n            {\n                \/\/ TODO: Add your initialization logic here\n    \n                base.Initialize();\n            }\n    \n            \/\/\/ &lt;summary&gt;\n            \/\/\/ LoadContent will be called once per game and is the place to load\n            \/\/\/ all of your content.\n            \/\/\/ &lt;\/summary&gt;\n            protected override void LoadContent()\n            {\n                \/\/ Create a new SpriteBatch, which can be used to draw textures.\n                spriteBatch = new SpriteBatch(GraphicsDevice);\n    \n                \/\/ TODO: use this.Content to load your game content here\n                battlecruiserTexture2D = Content.Load&lt;Texture2D&gt;(\"Battlecruiser_1\");\n                fighterTexture2D = Content.Load&lt;Texture2D&gt;(\"Fighter2-shootSm\");\n                normalTexture2D = Content.Load&lt;Texture2D&gt;(\"Normal1\");\n                effect = Content.Load&lt;Effect&gt;(\"ShipShader\");\n    \n                effect.Parameters[\"distortion\"].SetValue(normalTexture2D);\n            }\n    \n            \/\/\/ &lt;summary&gt;\n            \/\/\/ UnloadContent will be called once per game and is the place to unload\n            \/\/\/ game-specific content.\n            \/\/\/ &lt;\/summary&gt;\n            protected override void UnloadContent()\n            {\n                \/\/ TODO: Unload any non ContentManager content here\n            }\n    \n            \/\/\/ &lt;summary&gt;\n            \/\/\/ Allows the game to run logic such as updating the world,\n            \/\/\/ checking for collisions, gathering input, and playing audio.\n            \/\/\/ &lt;\/summary&gt;\n            \/\/\/ &lt;param name=\"gameTime\"&gt;Provides a snapshot of timing values.&lt;\/param&gt;\n            protected override void Update(GameTime gameTime)\n            {\n                if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed || Keyboard.GetState().IsKeyDown(Keys.Escape))\n                    Exit();\n    \n                float timeInSeconds = (float) gameTime.ElapsedGameTime.TotalSeconds;\n    \n                \/\/ TODO: Add your update logic here\n                effect.Parameters[\"DisplacementScroll\"].SetValue(MoveInCircle(gameTime, 0.1f));\n    \n                base.Update(gameTime);\n            }\n    \n            private Vector2 MoveInCircle(GameTime gameTime, float speed)\n            {\n                double time = gameTime.TotalGameTime.TotalSeconds * speed;\n    \n                float x = (float)Math.Cos(time);\n                float y = (float)Math.Sin(time);\n    \n                return new Vector2(x, y);\n            }\n    \n            \/\/\/ &lt;summary&gt;\n            \/\/\/ This is called when the game should draw itself.\n            \/\/\/ &lt;\/summary&gt;\n            \/\/\/ &lt;param name=\"gameTime\"&gt;Provides a snapshot of timing values.&lt;\/param&gt;\n            protected override void Draw(GameTime gameTime)\n            {\n                GraphicsDevice.Clear(Color.CornflowerBlue);\n    \n                \/\/ TODO: Add your drawing code here\n                spriteBatch.Begin(SpriteSortMode.Immediate, BlendState.AlphaBlend, effect:effect);\n                spriteBatch.Draw(battlecruiserTexture2D, new Vector2(500, 500), Color.White);\n                \/\/spriteBatch.Draw(fighterTexture2D, new Vector2(650, 650), Color.Black * 0.5f);\n                spriteBatch.End();\n    \n                base.Draw(gameTime);\n            }\n        }\n\nI am at a complete loss as to why this is not working.  I found the old XNA SpriteEffect shader project where the distortion effect is EXACTLY what I am looking for.  Even this shader is not working correctly in MonoGame.  But it works fine in XNA.\n\n[https:\/\/github.com\/CartBlanche\/MonoGame-Samples\/tree\/master\/SpriteEffects](https:\/\/github.com\/CartBlanche\/MonoGame-Samples\/tree\/master\/SpriteEffects)\n\nI have been struggling with this for a few days now.  Does anyone have any ideas as to what is going on here?  Why does a fairly simple shader work in XNA but not in MonoGame?  What HLSL langauge\/syntax changes need to be changed to get this shader to work properly?\n\nThank you!\n\n&amp;#x200B;\n\nJust a quick update:  With the help of a few people in the MonoGame Discord and MonoGame forums, my issue has been resolved.  It appears that you must create a sampler of the texture passed to the shader before creating a sampler for any other textures, and all textures must have a sampler.  Also, I am not sure if this is part of the issue, but setting up a struct for vsOutput was added too.  You can check out the post here:  [http:\/\/community.monogame.net\/t\/shader-that-works-in-xna-4-0-is-broken-in-monogame\/11896](http:\/\/community.monogame.net\/t\/shader-that-works-in-xna-4-0-is-broken-in-monogame\/11896)","meta":"{'source': 'reddit_posts', 'id': 'deutdo', 'title': 'Struggling with HLSL in MonoGame', 'author': 'Ethosik', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': 'Does anyone have any HLSL\/Shader resources that discuss more complex topics other than greyscale and flipping objects?  I am struggling a bit with the HLSL and C# communication and what can be used in HLSL.\\n\\nI am building a top down 2D space shooter game with sandbox elements.  I am working on the shield for the spaceship now and am not having luck.  I am attempting to make a distortion effect shader, but things are not working right.  I either A) do not get my spaceship to draw on the screen, B) spaceship draws but no distortion or C) getting random null reference exceptions with the effects.Parameters when setting a value.\\n\\nHere is my current shader:\\n\\n    sampler inputTexture : register(s0);\\n    \\n    float2 DisplacementScroll;\\n    float2 displacement;\\n    \\n    texture2D distortion;\\n    sampler2D distortionSampler = sampler_state\\n    {\\n        Texture = &lt;distortion&gt;;\\n        MagFilter = Point;\\n    };\\n    \\n    float4 PixelShaderFunction(float4 pos : SV_POSITION, float4 color1 : COLOR0, float2 coords: TEXCOORD0) : COLOR0\\n    {\\n        \/\/ Look up the displacement amount.\\n        displacement = tex2D(distortionSampler, DisplacementScroll + coords \/ 3);\\n        \\n        \/\/ Offset the main texture coordinates.\\n        coords += displacement * 0.2 - 0.15;\\n        \\n        \/\/ Look up into the main texture.\\n        return tex2D(inputTexture, coords);\\n    }\\n    \\n    technique Technique1\\n    {\\n        pass Pass1\\n        {\\n            PixelShader = compile ps_4_0_level_9_1 PixelShaderFunction();\\n        }\\n    }\\n\\nAnd my sample C# code:\\n\\n    public class Game1 : Game\\n        {\\n            GraphicsDeviceManager graphics;\\n            SpriteBatch spriteBatch;\\n    \\n            private Texture2D battlecruiserTexture2D, fighterTexture2D, normalTexture2D;\\n            private Effect effect;\\n    \\n            public Game1()\\n            {\\n                graphics = new GraphicsDeviceManager(this);\\n                graphics.GraphicsProfile = GraphicsProfile.HiDef;\\n                graphics.PreferredBackBufferWidth = 1920;\\n                graphics.PreferredBackBufferHeight = 1080;\\n    \\n                Content.RootDirectory = \"Content\";\\n            }\\n    \\n            \/\/\/ &lt;summary&gt;\\n            \/\/\/ Allows the game to perform any initialization it needs to before starting to run.\\n            \/\/\/ This is where it can query for any required services and load any non-graphic\\n            \/\/\/ related content.  Calling base.Initialize will enumerate through any components\\n            \/\/\/ and initialize them as well.\\n            \/\/\/ &lt;\/summary&gt;\\n            protected override void Initialize()\\n            {\\n                \/\/ TODO: Add your initialization logic here\\n    \\n                base.Initialize();\\n            }\\n    \\n            \/\/\/ &lt;summary&gt;\\n            \/\/\/ LoadContent will be called once per game and is the place to load\\n            \/\/\/ all of your content.\\n            \/\/\/ &lt;\/summary&gt;\\n            protected override void LoadContent()\\n            {\\n                \/\/ Create a new SpriteBatch, which can be used to draw textures.\\n                spriteBatch = new SpriteBatch(GraphicsDevice);\\n    \\n                \/\/ TODO: use this.Content to load your game content here\\n                battlecruiserTexture2D = Content.Load&lt;Texture2D&gt;(\"Battlecruiser_1\");\\n                fighterTexture2D = Content.Load&lt;Texture2D&gt;(\"Fighter2-shootSm\");\\n                normalTexture2D = Content.Load&lt;Texture2D&gt;(\"Normal1\");\\n                effect = Content.Load&lt;Effect&gt;(\"ShipShader\");\\n    \\n                effect.Parameters[\"distortion\"].SetValue(normalTexture2D);\\n            }\\n    \\n            \/\/\/ &lt;summary&gt;\\n            \/\/\/ UnloadContent will be called once per game and is the place to unload\\n            \/\/\/ game-specific content.\\n            \/\/\/ &lt;\/summary&gt;\\n            protected override void UnloadContent()\\n            {\\n                \/\/ TODO: Unload any non ContentManager content here\\n            }\\n    \\n            \/\/\/ &lt;summary&gt;\\n            \/\/\/ Allows the game to run logic such as updating the world,\\n            \/\/\/ checking for collisions, gathering input, and playing audio.\\n            \/\/\/ &lt;\/summary&gt;\\n            \/\/\/ &lt;param name=\"gameTime\"&gt;Provides a snapshot of timing values.&lt;\/param&gt;\\n            protected override void Update(GameTime gameTime)\\n            {\\n                if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed || Keyboard.GetState().IsKeyDown(Keys.Escape))\\n                    Exit();\\n    \\n                float timeInSeconds = (float) gameTime.ElapsedGameTime.TotalSeconds;\\n    \\n                \/\/ TODO: Add your update logic here\\n                effect.Parameters[\"DisplacementScroll\"].SetValue(MoveInCircle(gameTime, 0.1f));\\n    \\n                base.Update(gameTime);\\n            }\\n    \\n            private Vector2 MoveInCircle(GameTime gameTime, float speed)\\n            {\\n                double time = gameTime.TotalGameTime.TotalSeconds * speed;\\n    \\n                float x = (float)Math.Cos(time);\\n                float y = (float)Math.Sin(time);\\n    \\n                return new Vector2(x, y);\\n            }\\n    \\n            \/\/\/ &lt;summary&gt;\\n            \/\/\/ This is called when the game should draw itself.\\n            \/\/\/ &lt;\/summary&gt;\\n            \/\/\/ &lt;param name=\"gameTime\"&gt;Provides a snapshot of timing values.&lt;\/param&gt;\\n            protected override void Draw(GameTime gameTime)\\n            {\\n                GraphicsDevice.Clear(Color.CornflowerBlue);\\n    \\n                \/\/ TODO: Add your drawing code here\\n                spriteBatch.Begin(SpriteSortMode.Immediate, BlendState.AlphaBlend, effect:effect);\\n                spriteBatch.Draw(battlecruiserTexture2D, new Vector2(500, 500), Color.White);\\n                \/\/spriteBatch.Draw(fighterTexture2D, new Vector2(650, 650), Color.Black * 0.5f);\\n                spriteBatch.End();\\n    \\n                base.Draw(gameTime);\\n            }\\n        }\\n\\nI am at a complete loss as to why this is not working.  I found the old XNA SpriteEffect shader project where the distortion effect is EXACTLY what I am looking for.  Even this shader is not working correctly in MonoGame.  But it works fine in XNA.\\n\\n[https:\/\/github.com\/CartBlanche\/MonoGame-Samples\/tree\/master\/SpriteEffects](https:\/\/github.com\/CartBlanche\/MonoGame-Samples\/tree\/master\/SpriteEffects)\\n\\nI have been struggling with this for a few days now.  Does anyone have any ideas as to what is going on here?  Why does a fairly simple shader work in XNA but not in MonoGame?  What HLSL langauge\/syntax changes need to be changed to get this shader to work properly?\\n\\nThank you!\\n\\n&amp;#x200B;\\n\\nJust a quick update:  With the help of a few people in the MonoGame Discord and MonoGame forums, my issue has been resolved.  It appears that you must create a sampler of the texture passed to the shader before creating a sampler for any other textures, and all textures must have a sampler.  Also, I am not sure if this is part of the issue, but setting up a struct for vsOutput was added too.  You can check out the post here:  [http:\/\/community.monogame.net\/t\/shader-that-works-in-xna-4-0-is-broken-in-monogame\/11896](http:\/\/community.monogame.net\/t\/shader-that-works-in-xna-4-0-is-broken-in-monogame\/11896)', 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 0, 'created_utc': 1570507139}"}
{"id":"2308327","text":"Title: Definitely interested in CS but somewhat lost on how to get into it. College vs. bootcamps?\nThe text below was posted in an online community called cscareerquestions in the year 2016:\n\nBrief history of me: Took a few CS classes in high school.  Majored in Philosophy because I was naive about the job market.  Spent the last few months learning basic Ruby and Javascript, and want to turn it into a career change.\n\nI've applied to two bootcamps (App Academy and Hack Reactor), and they seem like strong programs, for all that 3 months of training can possibly do.  But I also see the benefits of seeking a degree in CS - I want to learn more fundamentals, rather than just web development, and get the connections, internships and degree that would give me a more secure future.  The problem with this is, college is ridiculously expensive, and I don't see how I could possibly get into a decent program with no official CS experience, nobody to write relevant letters of rec for me, and a 3.5 GPA from an irrelevant degree.  \n\nSo, with all this in mind, I'm thinking my best option would be to attend a bootcamp, work in web development for a while, and use my connections and experience to seek further education thereafter.  Does this seem like a reasonable plan?  I'd appreciate input from anyone here.  Thanks in advance!","meta":"{'source': 'reddit_posts', 'id': '5kg58f', 'title': 'Definitely interested in CS but somewhat lost on how to get into it. College vs. bootcamps?', 'author': 'Athaway13', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"Brief history of me: Took a few CS classes in high school.  Majored in Philosophy because I was naive about the job market.  Spent the last few months learning basic Ruby and Javascript, and want to turn it into a career change.\\n\\nI've applied to two bootcamps (App Academy and Hack Reactor), and they seem like strong programs, for all that 3 months of training can possibly do.  But I also see the benefits of seeking a degree in CS - I want to learn more fundamentals, rather than just web development, and get the connections, internships and degree that would give me a more secure future.  The problem with this is, college is ridiculously expensive, and I don't see how I could possibly get into a decent program with no official CS experience, nobody to write relevant letters of rec for me, and a 3.5 GPA from an irrelevant degree.  \\n\\nSo, with all this in mind, I'm thinking my best option would be to attend a bootcamp, work in web development for a while, and use my connections and experience to seek further education thereafter.  Does this seem like a reasonable plan?  I'd appreciate input from anyone here.  Thanks in advance!\", 'body_is_trimmed': False, 'score': 12, 'over_18': False, 'num_comments': 48, 'created_utc': 1482790967}"}
{"id":"319508","text":"Title: Downloads folder hidden and cannot be changed?\nThe text below was posted in an online community called Windows10 in the year 2017:\n\nHi,\n\nI got an issue with my Downloads folder, it is pinned to the quick access menu but otherwise there is no other way of accessing it because apparently it is ''hidden''. I clicked on the property of the folder from the quick access menu but cannot uncheck this ''hidden'' option because it is greyed out. I tried everything including system restore to an earlier point before this issue occur but that doesn't work as I encounter a separate problem with that, which I posted in another thread.\n\nSome background to this problem: Basically usually Downloads folder is located in c:\\Users\\Name but I have 2 different drives, my SSD and HDD so I moved it to the HDD drive a while back. However, I messed up something today and had to format the HDD drive and in the process deleting everything on there including the folder. I tried to move the Downloads folder from c drive to the newly formatted d drive again but stupidly did not create another folder for it first so basically it merged with the d drive. After a while of changing stuff in the registry I managed to get it back to the c:\\Users\\Name directory now but the problem is that it is permanently hidden for some reason and I cannot change this.\n\nCan someone please helpe me solve this issue?\n\nJUST AN UPDATED: Finally found a solution to this problem. Basically used CMD typing ATTRIB -s -h \"c:\\Users\\Name\\Downloads\" and this unchecked the hidden option. Hope this help anyone who faces similar problem in the future.","meta":"{'source': 'reddit_posts', 'id': '5v1bpr', 'title': 'Downloads folder hidden and cannot be changed?', 'author': 'BlueKidXL', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': 'Hi,\\n\\nI got an issue with my Downloads folder, it is pinned to the quick access menu but otherwise there is no other way of accessing it because apparently it is \\'\\'hidden\\'\\'. I clicked on the property of the folder from the quick access menu but cannot uncheck this \\'\\'hidden\\'\\' option because it is greyed out. I tried everything including system restore to an earlier point before this issue occur but that doesn\\'t work as I encounter a separate problem with that, which I posted in another thread.\\n\\nSome background to this problem: Basically usually Downloads folder is located in c:\\\\Users\\\\Name but I have 2 different drives, my SSD and HDD so I moved it to the HDD drive a while back. However, I messed up something today and had to format the HDD drive and in the process deleting everything on there including the folder. I tried to move the Downloads folder from c drive to the newly formatted d drive again but stupidly did not create another folder for it first so basically it merged with the d drive. After a while of changing stuff in the registry I managed to get it back to the c:\\\\Users\\\\Name directory now but the problem is that it is permanently hidden for some reason and I cannot change this.\\n\\nCan someone please helpe me solve this issue?\\n\\nJUST AN UPDATED: Finally found a solution to this problem. Basically used CMD typing ATTRIB -s -h \"c:\\\\Users\\\\Name\\\\Downloads\" and this unchecked the hidden option. Hope this help anyone who faces similar problem in the future.', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 8, 'created_utc': 1487548849}"}
{"id":"2025091","text":"Title: Need help with Bluetooth tethering between my Galaxy Nexus and an Acura suv\nThe text below was posted in an online community called Android in the year 2012:\n\nMy SUV has this navigation system with Acura Link. The other day I was trying to set it up and upon syncing my phone with the system for handsfree and contact transfer, it also asked me for an option of connecting my phone's internet via Bluetooth. It also gave a data warning message (with my carrier). I am currently using CM9(kang) and has the BT tethering option. I have a grandfathered plan w at&amp;t. I thought if at&amp;t doesn't detect I can maybe use this feature of my SUV to connect to Acura Link and live traffic etc. So I am concerned if at&amp;t will know about it. Please suggest.\nThanks!","meta":"{'source': 'reddit_posts', 'id': 'o1lbj', 'title': 'Need help with Bluetooth tethering between my Galaxy Nexus and an Acura suv', 'author': 'ajsnoopy', 'subreddit': 'Android', 'subreddit_id': '2qlqh', 'body': \"My SUV has this navigation system with Acura Link. The other day I was trying to set it up and upon syncing my phone with the system for handsfree and contact transfer, it also asked me for an option of connecting my phone's internet via Bluetooth. It also gave a data warning message (with my carrier). I am currently using CM9(kang) and has the BT tethering option. I have a grandfathered plan w at&amp;t. I thought if at&amp;t doesn't detect I can maybe use this feature of my SUV to connect to Acura Link and live traffic etc. So I am concerned if at&amp;t will know about it. Please suggest.\\nThanks!\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1325627075}"}
{"id":"1674535","text":"Title: Which companies still do onsite interviews for interns?\nThe text below was posted in an online community called cscareerquestions in the year 2019:\n\nNoticed that a lot of companies have stopped\/changed doing onsite interviews for interns (Lyft, Twilio, Google etc.). Which companies still do them? Off the top of my head I think MS is one of the last tech companies, while the banks\/finance shops still do them","meta":"{'source': 'reddit_posts', 'id': 'e7k3d4', 'title': 'Which companies still do onsite interviews for interns?', 'author': 'johntiger1', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': 'Noticed that a lot of companies have stopped\/changed doing onsite interviews for interns (Lyft, Twilio, Google etc.). Which companies still do them? Off the top of my head I think MS is one of the last tech companies, while the banks\/finance shops still do them', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 9, 'created_utc': 1575753438}"}
{"id":"1161987","text":"Title: Lost a workout?\nThe text below was posted in an online community called AppleWatch in the year 2018:\n\nI went for an outdoor run this morning using the Apple Watch Workout app. Halfway through I stopped, ended the workout, and started a new outdoor walk workout. When I completed that one, I realized that the run workout data wasnt there. My rings register it, but there is no workout listed. Tried restarting both watch and phone. Other ideas or just let it go?","meta":"{'source': 'reddit_posts', 'id': '7t64vz', 'title': 'Lost a workout?', 'author': 'Jorose85', 'subreddit': 'AppleWatch', 'subreddit_id': '2wav7', 'body': 'I went for an outdoor run this morning using the Apple Watch Workout app. Halfway through I stopped, ended the workout, and started a new outdoor walk workout. When I completed that one, I realized that the run workout data wasnt there. My rings register it, but there is no workout listed. Tried restarting both watch and phone. Other ideas or just let it go?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 4, 'created_utc': 1516988108}"}
{"id":"2039929","text":"Title: Amazon Appstore: Notification don't go away\nThe text below was posted in an online community called Android in the year 2011:\n\nHi guys. So, I'm running Sprint's Nexus 4G and the appstore updated earlier today. So I tried to d\/l a game for my son but didn't have Wifi on and the file size is too large. Now there's an annoying notification icon at the top of my screen. No Clear button either. Before the upgrade, there was no Notifier and I liked that. So, what do I do?\n\nEdit: Just tried rebooting and it came back.","meta":"{'source': 'reddit_posts', 'id': 'm7th5', 'title': \"Amazon Appstore: Notification don't go away\", 'author': 'phahoutthr', 'subreddit': 'Android', 'subreddit_id': '2qlqh', 'body': \"Hi guys. So, I'm running Sprint's Nexus 4G and the appstore updated earlier today. So I tried to d\/l a game for my son but didn't have Wifi on and the file size is too large. Now there's an annoying notification icon at the top of my screen. No Clear button either. Before the upgrade, there was no Notifier and I liked that. So, what do I do?\\n\\nEdit: Just tried rebooting and it came back.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 3, 'created_utc': 1320956611}"}
{"id":"1988909","text":"Title: Will new design mess current rank?\nThe text below was posted in an online community called web_design in the year 2016:\n\nHi,\n\nI need to update my WordPress site's design because it is outdated. I would like to ask what is the best approach to do this without having a major impact on the site's current ranking, that although they are not stellar, rank well for some keywords.\n\nShould I begin the the process by installing a new theme in a sub domain or different directory on the same domain, start to copy content from the \"older site to this new one and then go live?\n\nEssentially my question is: How to update the site's theme with the less impact on regular functionality? \n\nThank you?","meta":"{'source': 'reddit_posts', 'id': '56y9ej', 'title': 'Will new design mess current rank?', 'author': 'uglykabron', 'subreddit': 'web_design', 'subreddit_id': '2qh1m', 'body': 'Hi,\\n\\nI need to update my WordPress site\\'s design because it is outdated. I would like to ask what is the best approach to do this without having a major impact on the site\\'s current ranking, that although they are not stellar, rank well for some keywords.\\n\\nShould I begin the the process by installing a new theme in a sub domain or different directory on the same domain, start to copy content from the \"older site to this new one and then go live?\\n\\nEssentially my question is: How to update the site\\'s theme with the less impact on regular functionality? \\n\\nThank you?', 'body_is_trimmed': False, 'score': 13, 'over_18': False, 'num_comments': 6, 'created_utc': 1476196243}"}
{"id":"176673","text":"Title: Checking USB-drives\nThe text below was posted in an online community called linux4noobs in the year 2020:\n\nHello, \n\nMy brother had the great idea to get usb thumb drive from China on the cheap. He bought what was claimed to be a 2Tb thumb drive for less than a dollar. \nWhile this claim will be false I started thinking about what tools to use for checking the drive. \n\nI would be interested in things like actual size, if there is anything stored, and checking the status of the drive.\nIs there a way for do this safely and what tools should I use? \nI do have a burner computer that can be setup for doing these tests so keep in mind that there is no worry there.","meta":"{'source': 'reddit_posts', 'id': 'k7xti4', 'title': 'Checking USB-drives', 'author': 'TP-Link_AC1200', 'subreddit': 'linux4noobs', 'subreddit_id': '2qy7t', 'body': 'Hello, \\n\\nMy brother had the great idea to get usb thumb drive from China on the cheap. He bought what was claimed to be a 2Tb thumb drive for less than a dollar. \\nWhile this claim will be false I started thinking about what tools to use for checking the drive. \\n\\nI would be interested in things like actual size, if there is anything stored, and checking the status of the drive.\\nIs there a way for do this safely and what tools should I use? \\nI do have a burner computer that can be setup for doing these tests so keep in mind that there is no worry there.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 8, 'created_utc': 1607275479}"}
{"id":"688010","text":"Title: Developer Caricature\nThe text below was posted in an online community called web_design in the year 2015:\n\nHey \/r\/Web_Design, I'm in the process of building my portfolio site, one thing I've noticed from a lot of developers is their use of a developer caricature, kind of like the one seen [here](http:\/\/ryanscherf.net)\n\nMy question is, does anybody know of a good source online where I can send in a photo and get a caricature back? (Preferably in SVG) I've checked fiverr, just wondering if there's a better source. Thanks!","meta":"{'source': 'reddit_posts', 'id': '3g1xh4', 'title': 'Developer Caricature', 'author': 'PrawDuhJee', 'subreddit': 'web_design', 'subreddit_id': '2qh1m', 'body': \"Hey \/r\/Web_Design, I'm in the process of building my portfolio site, one thing I've noticed from a lot of developers is their use of a developer caricature, kind of like the one seen [here](http:\/\/ryanscherf.net)\\n\\nMy question is, does anybody know of a good source online where I can send in a photo and get a caricature back? (Preferably in SVG) I've checked fiverr, just wondering if there's a better source. Thanks!\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 1, 'created_utc': '1438895790'}"}
{"id":"1638077","text":"Title: My notes after a few days of using autosleep, sleepwatch and the standard Apple Watch sleep\nThe text below was posted in an online community called AppleWatch in the year 2020:\n\nIm quite an aware person in terms of my sleep and have a pretty good grip on when I fall asleep and wake up.\n\nIve been using Autosleep and Sleepwatch for a few days as well as the apple stock sleep tracking\n\nAutosleep has been very inaccurate and really is totally off, sleepwatch has been relatively accurate although it tends to miss out on a few minutes of sleep as it seems to be rounding the sleep hours - not sure why... also I noticed that after being fully awake and using my phone in bed it added an extra 10 min of sleep which was wrong. \n\nAlthough the internal Apple software is pretty awkward to use  (to say the least...) - it does seem the most accurate in terms of sleep tracking.\n\nIll be trying sleep ++ soon \n\nGlad to hear your thoughts","meta":"{'source': 'reddit_posts', 'id': 'j1ulun', 'title': 'My notes after a few days of using autosleep, sleepwatch and the standard Apple Watch sleep', 'author': 'John1978a', 'subreddit': 'AppleWatch', 'subreddit_id': '2wav7', 'body': 'Im quite an aware person in terms of my sleep and have a pretty good grip on when I fall asleep and wake up.\\n\\nIve been using Autosleep and Sleepwatch for a few days as well as the apple stock sleep tracking\\n\\nAutosleep has been very inaccurate and really is totally off, sleepwatch has been relatively accurate although it tends to miss out on a few minutes of sleep as it seems to be rounding the sleep hours - not sure why... also I noticed that after being fully awake and using my phone in bed it added an extra 10 min of sleep which was wrong. \\n\\nAlthough the internal Apple software is pretty awkward to use  (to say the least...) - it does seem the most accurate in terms of sleep tracking.\\n\\nIll be trying sleep ++ soon \\n\\nGlad to hear your thoughts', 'body_is_trimmed': False, 'score': 36, 'over_18': False, 'num_comments': 34, 'created_utc': 1601364602}"}
{"id":"668989","text":"Title: How may I find missed \"await\"s in my code?\nThe text below was posted in an online community called learnjavascript in the year 2020:\n\nHi folks!\n\nHope you are all doing well.\n\nI found few cases where I had missed \"await\" before promises.\n\nFor example:\n\n        \/\/ Code is inside an async function\n    \n        const user = User.create({\n            number,\n            password\n        });\n\nHere an \"await\" is required before [User.create](https:\/\/mongoosejs.com\/docs\/api\/model.html#model_Model.create) function otherwise execution will not pause for this function to finish.\n\nIs there any static code analysis tool like an eslint plugin to help find these cases.\n\nThanks","meta":"{'source': 'reddit_posts', 'id': 'jifiwb', 'title': 'How may I find missed \"await\"s in my code?', 'author': 'vrtcl_cmtry', 'subreddit': 'learnjavascript', 'subreddit_id': '2tugi', 'body': 'Hi folks!\\n\\nHope you are all doing well.\\n\\nI found few cases where I had missed \"await\" before promises.\\n\\nFor example:\\n\\n        \/\/ Code is inside an async function\\n    \\n        const user = User.create({\\n            number,\\n            password\\n        });\\n\\nHere an \"await\" is required before [User.create](https:\/\/mongoosejs.com\/docs\/api\/model.html#model_Model.create) function otherwise execution will not pause for this function to finish.\\n\\nIs there any static code analysis tool like an eslint plugin to help find these cases.\\n\\nThanks', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 2, 'created_utc': 1603722497}"}
{"id":"1084348","text":"Title: Against network round-trips....\nThe text below was posted in an online community called webdev in the year 2015:\n\nHello! I'm writing something and I would like some feedback on how *understandable* the paragraph below is. You will notice some simplifications in the text below, I'm calling attention to them using \"[S]\". Dear thanks for your help!\n\nHere is a simple idea. Web pages are made of many pieces, and the browser can not show you a web page until it gets all those pieces [S]. When the browser wants to show you a web page, it first gets some HTML from the server, and it uses it to discover some more things that are needed to render the page. Those things can be css, Javascript, fonts or images. Then the browser fires more requests to the server to get those resources. Often those resources require more resources of their own. While this dialogue between browser and server is going on, the user is just waiting in front of the loading web page. This is worse for mobile users because network packets take longer to travel between client and server. Interestingly, this happens in exactly the same way every time a user wants to see the page[S]. What if the server could learn the pattern of requests and serve those requests for each user even before their browser gets to make them?","meta":"{'source': 'reddit_posts', 'id': '3xlb2i', 'title': 'Against network round-trips....', 'author': 'dsign2819', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': 'Hello! I\\'m writing something and I would like some feedback on how *understandable* the paragraph below is. You will notice some simplifications in the text below, I\\'m calling attention to them using \"[S]\". Dear thanks for your help!\\n\\nHere is a simple idea. Web pages are made of many pieces, and the browser can not show you a web page until it gets all those pieces [S]. When the browser wants to show you a web page, it first gets some HTML from the server, and it uses it to discover some more things that are needed to render the page. Those things can be css, Javascript, fonts or images. Then the browser fires more requests to the server to get those resources. Often those resources require more resources of their own. While this dialogue between browser and server is going on, the user is just waiting in front of the loading web page. This is worse for mobile users because network packets take longer to travel between client and server. Interestingly, this happens in exactly the same way every time a user wants to see the page[S]. What if the server could learn the pattern of requests and serve those requests for each user even before their browser gets to make them?', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 5, 'created_utc': 1450629576}"}
{"id":"2226186","text":"Title: What is a USB-C power port?\nThe text below was posted in an online community called apple in the year 2020:\n\nWhen you do a comparison between an M1 MacBook Air and an M1 MacBook Pro on Apples website you can see similarities and differences between the machines. Down in the Power and Battery section I noticed a feature on the Pro thats missing on the Air\n\nIts called USB-C power port (see screenshot here: https:\/\/imgur.com\/gallery\/wIbDa1y)\n\nDoes anyone have a clue what this is??","meta":"{'source': 'reddit_posts', 'id': 'jrt9uj', 'title': 'What is a USB-C power port?', 'author': 'MrMeseeks_', 'subreddit': 'apple', 'subreddit_id': '2qh1f', 'body': 'When you do a comparison between an M1 MacBook Air and an M1 MacBook Pro on Apples website you can see similarities and differences between the machines. Down in the Power and Battery section I noticed a feature on the Pro thats missing on the Air\\n\\nIts called USB-C power port (see screenshot here: https:\/\/imgur.com\/gallery\/wIbDa1y)\\n\\nDoes anyone have a clue what this is??', 'body_is_trimmed': False, 'score': 45, 'over_18': False, 'num_comments': 13, 'created_utc': 1605041355}"}
{"id":"1341362","text":"Title: Adding a background to a PDF\nThe text below was posted in an online community called learnpython in the year 2017:\n\nHey guys, I'm having a bit of trouble involving adding a background to a pdf.\n\nusing PyPDF2 I can successfully overlay a pdf on top of another one, this is great when it's a watermark in the top corner which doesn't cover any text or images on the main pdf. However, I have a background I need to add to a PDF that needs to be 'sent to back' if that makes sense because it will fall on top of the text, but i need the text to be on top of the background that's being added... i realise i've explained this very poorly but i can't think of how else to word it.\n\nis there a way in python that i can do this? thanks!","meta":"{'source': 'reddit_posts', 'id': '6k7tbe', 'title': 'Adding a background to a PDF', 'author': 'uniqueusername42O', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': \"Hey guys, I'm having a bit of trouble involving adding a background to a pdf.\\n\\nusing PyPDF2 I can successfully overlay a pdf on top of another one, this is great when it's a watermark in the top corner which doesn't cover any text or images on the main pdf. However, I have a background I need to add to a PDF that needs to be 'sent to back' if that makes sense because it will fall on top of the text, but i need the text to be on top of the background that's being added... i realise i've explained this very poorly but i can't think of how else to word it.\\n\\nis there a way in python that i can do this? thanks!\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 5, 'created_utc': 1498737105}"}
{"id":"723540","text":"Title: How to create a fun and balanced evasion mechanic in a turn-based RPG?\nThe text below was posted in an online community called gamedev in the year 2020:\n\nHi, hobby game developer here.\n\nI'm currently building a turn-based battle system for a monster collecting\/breeding game where players breed their monster and pit them against each other.\nWell, more like I'm currently writing a GDD and I'm at the point where I'm thinking about an evasion mechanic.\n\nI like to play fast and evasive strategies, but evasion is a tricky mechanic in turn-based games. Games like Pokemon rely on RNG to implement evasion, which results in  moves like [Double Team](https:\/\/bulbapedia.bulbagarden.net\/wiki\/Double_Team_(move)) being banned\/frowned upon.\n\nI've thought about different methods, but I'd like to have some feedback regarding balance and fun.\n\n**Hit-or-Miss**:\nThe classic. Attacks have a chance to miss. If they miss, no damage is done.\n\nPros: \n - Simple \n\nCons:\n - Players might become frustrated, if their 90% hit-chance attack misses a few times in a row\n\n**Multi-Attack**:\nI think Bravely Default and some older Final Fantasy titles did this.\nEach attack is a combination of multiple attempts to hit the enemy. If a attack has a hit-rate of 10 and an accuracy of 50%, probably 5 hits will connect. The speed values of a monster might increase\/decrease the hit-rate. \n\nPros:\n - Even with a 50% accuracy, a monster will (probably) still deal some damage.\n - Contains a critical hit system. If an attack lands 90% of its hits and has an 50% accuracy, it might be considered a critical hit.\n\nCons:\n - Balancing could be tricky (attacks must be balanced around their average hits)\n\n**Threshold**:\nThis one does not directly depend on accuracy. Each monster has an internal counter, which is increased every round or by certain actions. As soon as the counter reaches the threshold, the monster evades the next move. Either the counter or the threshold should be affected by the speed of a monster, so faster monster can evade more easily\/often.\n\nPros:\n - Does not depend on RNG\n\nCons:\n - Fast, but fragile monster might be defeated before they can evade\n - Might be difficult to balance\n\n**Damage formula**:\nThe speed values of the attacker and the defender are considered in the damage calculation. If monster A and B are almost identical, but A is faster, and both attack C, A would do more damage, because A is faster then B.\n\nPros:\n - Does not depend on RNG\n - Might include some depth while breeding, because speed is now an attack\/defense stat\n\nCons:\n - Might add complexity, because speed is now an attack\/defense stat\n\n**Skipping-Turn**:\nLike FFX. This is not really an evasion mechanic, since the attack is not dodged, but skipped. Depending on their speed value, a monster can attacks multiple times before their opponent can act again.\n\nPros:\n - ?\n\nCons:\n - Fast monster could rush slower monster and cripple them with multiple status conditions before their opponent can act\n - The system must be reworked to support \"skipping\" a monsters turn\n\nPersonally, I like the \"Multi-Attack\" and the \"Damage formula\" approach. Both attempts don't outright nullify the damage. It's more like the monster dodged and didn't had to bear the brunt of the attack.\n\nSo, what do you think? Which sounds the most fun and reasonable on the balance side?\nIs there some other way to implement evasion?\n\nEDIT: Formatting","meta":"{'source': 'reddit_posts', 'id': 'f0wbro', 'title': 'How to create a fun and balanced evasion mechanic in a turn-based RPG?', 'author': 'kori_irrlicht', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': 'Hi, hobby game developer here.\\n\\nI\\'m currently building a turn-based battle system for a monster collecting\/breeding game where players breed their monster and pit them against each other.\\nWell, more like I\\'m currently writing a GDD and I\\'m at the point where I\\'m thinking about an evasion mechanic.\\n\\nI like to play fast and evasive strategies, but evasion is a tricky mechanic in turn-based games. Games like Pokemon rely on RNG to implement evasion, which results in  moves like [Double Team](https:\/\/bulbapedia.bulbagarden.net\/wiki\/Double_Team_(move)) being banned\/frowned upon.\\n\\nI\\'ve thought about different methods, but I\\'d like to have some feedback regarding balance and fun.\\n\\n**Hit-or-Miss**:\\nThe classic. Attacks have a chance to miss. If they miss, no damage is done.\\n\\nPros: \\n - Simple \\n\\nCons:\\n - Players might become frustrated, if their 90% hit-chance attack misses a few times in a row\\n\\n**Multi-Attack**:\\nI think Bravely Default and some older Final Fantasy titles did this.\\nEach attack is a combination of multiple attempts to hit the enemy. If a attack has a hit-rate of 10 and an accuracy of 50%, probably 5 hits will connect. The speed values of a monster might increase\/decrease the hit-rate. \\n\\nPros:\\n - Even with a 50% accuracy, a monster will (probably) still deal some damage.\\n - Contains a critical hit system. If an attack lands 90% of its hits and has an 50% accuracy, it might be considered a critical hit.\\n\\nCons:\\n - Balancing could be tricky (attacks must be balanced around their average hits)\\n\\n**Threshold**:\\nThis one does not directly depend on accuracy. Each monster has an internal counter, which is increased every round or by certain actions. As soon as the counter reaches the threshold, the monster evades the next move. Either the counter or the threshold should be affected by the speed of a monster, so faster monster can evade more easily\/often.\\n\\nPros:\\n - Does not depend on RNG\\n\\nCons:\\n - Fast, but fragile monster might be defeated before they can evade\\n - Might be difficult to balance\\n\\n**Damage formula**:\\nThe speed values of the attacker and the defender are considered in the damage calculation. If monster A and B are almost identical, but A is faster, and both attack C, A would do more damage, because A is faster then B.\\n\\nPros:\\n - Does not depend on RNG\\n - Might include some depth while breeding, because speed is now an attack\/defense stat\\n\\nCons:\\n - Might add complexity, because speed is now an attack\/defense stat\\n\\n**Skipping-Turn**:\\nLike FFX. This is not really an evasion mechanic, since the attack is not dodged, but skipped. Depending on their speed value, a monster can attacks multiple times before their opponent can act again.\\n\\nPros:\\n - ?\\n\\nCons:\\n - Fast monster could rush slower monster and cripple them with multiple status conditions before their opponent can act\\n - The system must be reworked to support \"skipping\" a monsters turn\\n\\nPersonally, I like the \"Multi-Attack\" and the \"Damage formula\" approach. Both attempts don\\'t outright nullify the damage. It\\'s more like the monster dodged and didn\\'t had to bear the brunt of the attack.\\n\\nSo, what do you think? Which sounds the most fun and reasonable on the balance side?\\nIs there some other way to implement evasion?\\n\\nEDIT: Formatting', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 6, 'created_utc': 1581189978}"}
{"id":"136341","text":"Title: Cvoice exam coming up. I'm looking for a site kinda like 9tut.com\nThe text below was posted in an online community called networking in the year 2010:\n\nAnyone know of a site like 9tu.com that I can use to prepare myself for the exam? I already use pass4sure, and actualtest.com and of course self study books from cisco press. Just looking for that extra bit of study material.\n\nEdit: Oh by the way I passed my exam. actualtest.com has some of the best practice exams around.","meta":"{'source': 'reddit_posts', 'id': 'as9qn', 'title': \"Cvoice exam coming up. I'm looking for a site kinda like 9tut.com\", 'author': 'cerveza1980', 'subreddit': 'networking', 'subreddit_id': '2qkaf', 'body': 'Anyone know of a site like 9tu.com that I can use to prepare myself for the exam? I already use pass4sure, and actualtest.com and of course self study books from cisco press. Just looking for that extra bit of study material.\\n\\nEdit: Oh by the way I passed my exam. actualtest.com has some of the best practice exams around.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 5, 'created_utc': 1264058221}"}
{"id":"39371","text":"Title: Any computer science-related jobs in the film industry that are NOT animation?\nThe text below was posted in an online community called cscareerquestions in the year 2022:\n\nI was wondering are there any jobs in the film industry that are computer science-related but not animation?","meta":"{'source': 'reddit_posts', 'id': 'thzo2t', 'title': 'Any computer science-related jobs in the film industry that are NOT animation?', 'author': 'kfor1996', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': 'I was wondering are there any jobs in the film industry that are computer science-related but not animation?', 'body_is_trimmed': False, 'score': 115, 'over_18': False, 'num_comments': 51, 'created_utc': 1647709471}"}
{"id":"1833817","text":"Title: I just sent this to a prospective client. As it left I thought how pretentious it sounded. Opinions?\nThe text below was posted in an online community called web_design in the year 2014:\n\nGood evening, My name is Taylor Satula, I develop websites. \n\nB*****a B******n suggested I get in contact with you as youre thinking about re-designing your website.\n\nIm not fond of being exceptionally long-winded and I trust that my past-projects speak well of me so Ill just leave a few links below to my portfolio and other demonstrations of my work.\n\nIf you have any questions at all please feel free to get ahold of me. I can be reached by phone or text any time during the day and I try to respond to emails as soon as they come in.\n\nThank you in advance for considering me in your search. I hope I can answer any questions you might have.\n\n\nPhone: +1 (***) ***-****\n\nEmail: ***@threepixeldrift.com\n\nPortfolio &amp; Bio: http:\/\/www.threepixeldrift.com\/\n\nNote: I have experience in setting up Content Management Systems that make changing content on websites as easy\/easier than opening up a document right on your computer. Also, I am open to ongoing maintenance of websites. I just thought I would mention this as it isnt currently on my online portfolio.","meta":"{'source': 'reddit_posts', 'id': '1zxiqq', 'title': 'I just sent this to a prospective client. As it left I thought how pretentious it sounded. Opinions?', 'author': 'awittygamertag', 'subreddit': 'web_design', 'subreddit_id': '2qh1m', 'body': 'Good evening, My name is Taylor Satula, I develop websites. \\n\\nB*****a B******n suggested I get in contact with you as youre thinking about re-designing your website.\\n\\nIm not fond of being exceptionally long-winded and I trust that my past-projects speak well of me so Ill just leave a few links below to my portfolio and other demonstrations of my work.\\n\\nIf you have any questions at all please feel free to get ahold of me. I can be reached by phone or text any time during the day and I try to respond to emails as soon as they come in.\\n\\nThank you in advance for considering me in your search. I hope I can answer any questions you might have.\\n\\n\\nPhone: +1 (***) ***-****\\n\\nEmail: ***@threepixeldrift.com\\n\\nPortfolio &amp; Bio: http:\/\/www.threepixeldrift.com\/\\n\\nNote: I have experience in setting up Content Management Systems that make changing content on websites as easy\/easier than opening up a document right on your computer. Also, I am open to ongoing maintenance of websites. I just thought I would mention this as it isnt currently on my online portfolio.', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 11, 'created_utc': '1394325755'}"}
{"id":"1071951","text":"Title: Low volume problem on YouTube\nThe text below was posted in an online community called firefox in the year 2019:\n\nI just noticed today that any YouTube video on Firefox has a noticeably low volume than any other browser. I have been using FF exclusively for a while so I did not noticed the change but today I opened a video in Edge &amp; it was way louder. So I tested some.\n\nI installed  Eartrumpet to check all volumes are level. I set the system volume to 50% &amp; YT volume to 100% on FF, Edge &amp; Chrome. Edge &amp; Chrome have the same volume but FF is considerably lower. \n\nI know about SoundFixer add on but I do not want to \"fix\" sound on every video.","meta":"{'source': 'reddit_posts', 'id': 'diowji', 'title': 'Low volume problem on YouTube', 'author': 'beetlejuice10', 'subreddit': 'firefox', 'subreddit_id': '2qh4p', 'body': 'I just noticed today that any YouTube video on Firefox has a noticeably low volume than any other browser. I have been using FF exclusively for a while so I did not noticed the change but today I opened a video in Edge &amp; it was way louder. So I tested some.\\n\\nI installed  Eartrumpet to check all volumes are level. I set the system volume to 50% &amp; YT volume to 100% on FF, Edge &amp; Chrome. Edge &amp; Chrome have the same volume but FF is considerably lower. \\n\\nI know about SoundFixer add on but I do not want to \"fix\" sound on every video.', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 8, 'created_utc': 1571230415}"}
{"id":"998400","text":"Title: Developement board\nThe text below was posted in an online community called archlinux in the year 2017:\n\nHello!\nI have an ESP8266 board (the cheap 3usd version from aliexpress) and i want use it, but using platformio in atom gives me the \"permission denied\" error when trying to open serial the monitor. I then thought about installing the drivers or whatever they're called. I downloaded them from here: https:\/\/www.silabs.com\/products\/development-tools\/software\/usb-to-uart-bridge-vcp-drivers (yes, i downloaded the correct version, i have linux kernel v4). There are no instructions so i followed the instructions for ubuntu. Ofc they didnt work, i googled again and i just couldnt find anything that could help me, so i decided to write this post. Do you have any ideas on how could i use this board on arch? I do have a windows dual-boot but i prefer arch haha.\nThanks in advance!","meta":"{'source': 'reddit_posts', 'id': '7dlbnw', 'title': 'Developement board', 'author': 'tuccx', 'subreddit': 'archlinux', 'subreddit_id': '2qrzu', 'body': 'Hello!\\nI have an ESP8266 board (the cheap 3usd version from aliexpress) and i want use it, but using platformio in atom gives me the \"permission denied\" error when trying to open serial the monitor. I then thought about installing the drivers or whatever they\\'re called. I downloaded them from here: https:\/\/www.silabs.com\/products\/development-tools\/software\/usb-to-uart-bridge-vcp-drivers (yes, i downloaded the correct version, i have linux kernel v4). There are no instructions so i followed the instructions for ubuntu. Ofc they didnt work, i googled again and i just couldnt find anything that could help me, so i decided to write this post. Do you have any ideas on how could i use this board on arch? I do have a windows dual-boot but i prefer arch haha.\\nThanks in advance!', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 6, 'created_utc': 1510929321}"}
{"id":"1168208","text":"Title: Does Haskell pay off?\nThe text below was posted in an online community called haskell in the year 2022:\n\nA recent rant got me thinking. The powerful type system and other facilities provided by Haskell are believed to provide significant advantages in reducing defects and minimizing debugging. But there's a steep learning curve to get to the point you can take advantage of all of that. Are there any studies or data supporting the notion that benefits are worth the costs? Do we see fewer defects, less time debugging, etc? Just curious.","meta":"{'source': 'reddit_posts', 'id': 'wzl5kd', 'title': 'Does Haskell pay off?', 'author': 'snarkuzoid', 'subreddit': 'haskell', 'subreddit_id': '2qh36', 'body': \"A recent rant got me thinking. The powerful type system and other facilities provided by Haskell are believed to provide significant advantages in reducing defects and minimizing debugging. But there's a steep learning curve to get to the point you can take advantage of all of that. Are there any studies or data supporting the notion that benefits are worth the costs? Do we see fewer defects, less time debugging, etc? Just curious.\", 'body_is_trimmed': False, 'score': 68, 'over_18': False, 'num_comments': 52, 'created_utc': 1661656718}"}
{"id":"2305139","text":"Title: PHP Session Security - Help\nThe text below was posted in an online community called PHP in the year 2013:\n\nOk, so i'm trying to implement a secure session management onto a personal project I'm working on, the project is just for me to learn PHP and so isn't intended on ever being used in production. I was wondering how secure if at all my session management would be,\n\nSo I have a webpage which allows the user to enter a username and password, if the entered details match what is in the database then a session is created.\n\n    function sessionStart(){\n    \t\tini_set('session.use_only_cookies', 1); \/\/ Forces sessions to only use cookies. \n    \t\tini_set('session.entropy_file', '\/dev\/urandom'); \/\/ better session id's, more random than PHP's default.\n    \t\tini_set('session.entropy_length', '512'); \/\/ How many bytes which will be read from the above file. 512 = overkill?\n    \t\tini_set('session.hash_function','sha512');\n    \t\tini_set('session.hash_bits_per_character','6');\n    \t\t$session_name = 'sec_login'; \/\/ Sets a custom session name.\n    \t\t$secure = false; \/\/ Set to true if HTTPS is being used.\n    \t\t$httponly = true; \/\/ Stops Javascript from being able to read the cookies.\n    \t\t\n    \t\t$cookieParams = session_get_cookie_params(); \/\/ Gets current cookies params.\n    \t\tsession_set_cookie_params($cookieParams[\"lifetime\"], $cookieParams[\"path\"], $cookieParams[\"domain\"], $secure, $httponly); \n    \t\tsession_name($session_name); \/\/ Sets the session name to the one set above.\n    \t\tsession_start();\n    \t\tsession_regenerate_id();    \/\/ regenerated the session, delete the old one. \n    }            \n\nI think this is secure, correct me if I'm wrong? \n\nOk, my next issue is how I would link this session to a user... I was thinking the best way to do this would be to create a table in the database with 2 columns, userId and sessionId. At the start of each page I would have PHP to check if the sessionId matches a userId in the database. If it does then the user is authenticated and the page is loaded, if not then the user is redirected to the login page. Also the function above would be recalled each refresh to ensure that the sessionId is changing.\n\nI'm not sure if that'd be the best technique to link to an existing account on the database? If not what would the best way be?\n\n**EDIT: Just read that this isn't a support subreddit. Sorry.**","meta":"{'source': 'reddit_posts', 'id': '1u0zjr', 'title': 'PHP Session Security - Help', 'author': 'Leth0_', 'subreddit': 'PHP', 'subreddit_id': '2qh38', 'body': 'Ok, so i\\'m trying to implement a secure session management onto a personal project I\\'m working on, the project is just for me to learn PHP and so isn\\'t intended on ever being used in production. I was wondering how secure if at all my session management would be,\\n\\nSo I have a webpage which allows the user to enter a username and password, if the entered details match what is in the database then a session is created.\\n\\n    function sessionStart(){\\n    \\t\\tini_set(\\'session.use_only_cookies\\', 1); \/\/ Forces sessions to only use cookies. \\n    \\t\\tini_set(\\'session.entropy_file\\', \\'\/dev\/urandom\\'); \/\/ better session id\\'s, more random than PHP\\'s default.\\n    \\t\\tini_set(\\'session.entropy_length\\', \\'512\\'); \/\/ How many bytes which will be read from the above file. 512 = overkill?\\n    \\t\\tini_set(\\'session.hash_function\\',\\'sha512\\');\\n    \\t\\tini_set(\\'session.hash_bits_per_character\\',\\'6\\');\\n    \\t\\t$session_name = \\'sec_login\\'; \/\/ Sets a custom session name.\\n    \\t\\t$secure = false; \/\/ Set to true if HTTPS is being used.\\n    \\t\\t$httponly = true; \/\/ Stops Javascript from being able to read the cookies.\\n    \\t\\t\\n    \\t\\t$cookieParams = session_get_cookie_params(); \/\/ Gets current cookies params.\\n    \\t\\tsession_set_cookie_params($cookieParams[\"lifetime\"], $cookieParams[\"path\"], $cookieParams[\"domain\"], $secure, $httponly); \\n    \\t\\tsession_name($session_name); \/\/ Sets the session name to the one set above.\\n    \\t\\tsession_start();\\n    \\t\\tsession_regenerate_id();    \/\/ regenerated the session, delete the old one. \\n    }            \\n\\nI think this is secure, correct me if I\\'m wrong? \\n\\nOk, my next issue is how I would link this session to a user... I was thinking the best way to do this would be to create a table in the database with 2 columns, userId and sessionId. At the start of each page I would have PHP to check if the sessionId matches a userId in the database. If it does then the user is authenticated and the page is loaded, if not then the user is redirected to the login page. Also the function above would be recalled each refresh to ensure that the sessionId is changing.\\n\\nI\\'m not sure if that\\'d be the best technique to link to an existing account on the database? If not what would the best way be?\\n\\n**EDIT: Just read that this isn\\'t a support subreddit. Sorry.**', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 5, 'created_utc': 1388425344}"}
{"id":"7258","text":"Title: How is this image uploader component hosting preview images of my local files?\nThe text below was posted in an online community called learnprogramming in the year 2020:\n\nSo I'm working on an image uploading component for a dashboard that I'm making. I found one online [that's already built](https:\/\/github.com\/Yuvaleros\/material-ui-dropzone#readme) as an example, but something I wanted to add to it is an image preview. I noticed that in this component, you can add multiple files to the dropzone and see previews of those images, but my images on my app are hosted on AWS. How does this dropzone preview images of my local files without having URLs for them? I inspected the preview images to see what kind of \"link\" they're using and got this wall of random letters and numbers:\n\n    &lt;img class=\"MuiDropzonePreviewList-image\" role=\"presentation\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlkAAAF1CAYAAADbfv+XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAMKASURBVHhe7J0NXFRV+sd\/pTlhO6aGVkxpgtaYCOjGm...\n\nThis literally goes on for hundreds of lines, so I'm not going to paste the entire thing... how did they do this?\n\nThanks in advance!\n\n**EDIT: For anyone that finds this in the future,** [**this article**](https:\/\/medium.com\/@650egor\/react-30-day-challenge-day-2-image-upload-preview-2d534f8eaaa) **helped me figure it out!**","meta":"{'source': 'reddit_posts', 'id': 'jv2mym', 'title': 'How is this image uploader component hosting preview images of my local files?', 'author': 'iftheronahadntcome', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'So I\\'m working on an image uploading component for a dashboard that I\\'m making. I found one online [that\\'s already built](https:\/\/github.com\/Yuvaleros\/material-ui-dropzone#readme) as an example, but something I wanted to add to it is an image preview. I noticed that in this component, you can add multiple files to the dropzone and see previews of those images, but my images on my app are hosted on AWS. How does this dropzone preview images of my local files without having URLs for them? I inspected the preview images to see what kind of \"link\" they\\'re using and got this wall of random letters and numbers:\\n\\n    &lt;img class=\"MuiDropzonePreviewList-image\" role=\"presentation\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlkAAAF1CAYAAADbfv+XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAMKASURBVHhe7J0NXFRV+sd\/pTlhO6aGVkxpgtaYCOjGm...\\n\\nThis literally goes on for hundreds of lines, so I\\'m not going to paste the entire thing... how did they do this?\\n\\nThanks in advance!\\n\\n**EDIT: For anyone that finds this in the future,** [**this article**](https:\/\/medium.com\/@650egor\/react-30-day-challenge-day-2-image-upload-preview-2d534f8eaaa) **helped me figure it out!**', 'body_is_trimmed': False, 'score': 10, 'over_18': False, 'num_comments': 3, 'created_utc': 1605511159}"}
{"id":"2101625","text":"Title: How to not get overwhelmed?\nThe text below was posted in an online community called cscareerquestions in the year 2018:\n\nHey everyone.\n\nI am a computer science student (2nd year in one of the top universities in my country) and I've got a problem I'd like to share and perhaps get some advice about. (two rather obvious statements for this sub, huh?)\n\nThe TLDR version of the post would be something like \"How to not feel overwhelmed by the amount of what you still have to learn?\".\n\nNow, I do understand that this is not CS-specific, and a very common thought for people in general: \"A lifetime is not enough\". Yet I would much rather discuss this with computer scientists, as I suppose there might be some concrete field-specific advice on this.\n\nCurrently I spend most of my time learning new technologies or learning about new technologies or aquiring skills or thinking about one of those three. There is not much hope for university education (not in my country) and many useful skills - especially some practical ones - are left for students to learn on their own.\n\nSo I've got an evergrowing list of things I need to learn. Evergrowing because items are added much faster than removed. Here's a glimpse of what I feel I'd like to learn right now (some items I want mastered, some - just get a taste of what it is. I am not trying to perfect everything, that would be just stupid).\n\nOn the programming side of the spectrum:\n\n* Java\n* Python\n* bash scripting\n* SQL\n* HTML-CSS-JavaScript\n* Linux everything\n\nOn the mathematical side:\n\n* Probability theory and mathematical statistics\n* Cryptography\n* Algorithms\n* Wolfram Mathematica ( \/GNU Octave? )\n\nOn the {skill rather than theory} side:\n\n* vim ( emacs? )\n* git\n* android studio and android development\n* Google Cloud \/ AWS\n\nAnd this is only mentioning the more clearly defined interests. Reading some Knuth, learning R, getting good understanding of OOP concepts and design patterns, general maths (as in \"calculus\"), doing practical stuff on project euler\/codewars\/etc, learning separate libraries (as in \"GTK\") and other things are omitted. University courses are not on the list either (though there are some intersections). \n\nFirst of all, there's clearly no end to learning any one of the topics alone. And even if I define ~end-goals for things, the list still feels completely overwhelming. Everytime I work on something I find myself going back down the rabbit hole of the things to learn.\n\nA hypothetical situation: reading cryptography, I find myself wanting to implement some algorithm on a computer with a friend. That need a programming language, say, Java and so I'm at the first level of the hole: some methods requre more knowledge of the API than I currently have, so I go and learn that. After that, I want to implement a GUI for the algorithm I just wrote. Thus begins the second level: an external library I need more knowledge of. Then the third - networking for communication with the friend. And fourth - knowledge of Linux daemons to hook it all up.\n\nThat is only one example, and not the most realistic one, but it should give you a better idea of what I'm talking about.\n\nThere is no particular thing on the list I like or dislike most. All of them are interesting and enjoyable to me, yet after about 3-4 hours of any one I do get tired or bored.\n\nAnd the worst thing - with the increasing number of things on the list, my productivity is not increasing, quite the contrary - it feels much much lower than before (when I thought all I needed was C++ and just read learncpp.com for days) ((good school background in math)). And I do not understand the reason.\n\nMy candidates are:\n\n* Mere laziness: I should have simply been reading CRLS instead of writing this question. [how can one tell if they are just lazy and need to work more?]\n* Lack of concentration: don't get carried away. [but what if it's impossible to do one thing without another? (e.g. learning R without statistical background)]\n* \"Quality control\": new topics are harder to learn if previous ones are not mastered - go very slowly and learn deeply one by one [the approach I had before, which does not seem to be working well now - one topic just never ends]\n* Too much theory, not enough practice: instead of a list of topics, create a list of projects and get theoretical knowledge on demand.\n* Too many things: [obviously true][but how can this be fixed, all of them are useful and can be useful in conjunction?]\n\nWhich of these do you think are the most important? Any other suggestions? Have You had some experience of this sort and how did you deal with it?\n\nPS sorry for any mistakes in English and thank you kindly for any response!\n\nPPS I should probably mention that I have reasonable understanding of the concepts I'm talking about, i.e. not a complete beginner.\n\nEdit: wording and formatting","meta":"{'source': 'reddit_posts', 'id': '7pof2j', 'title': 'How to not get overwhelmed?', 'author': 'questionShovel', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': 'Hey everyone.\\n\\nI am a computer science student (2nd year in one of the top universities in my country) and I\\'ve got a problem I\\'d like to share and perhaps get some advice about. (two rather obvious statements for this sub, huh?)\\n\\nThe TLDR version of the post would be something like \"How to not feel overwhelmed by the amount of what you still have to learn?\".\\n\\nNow, I do understand that this is not CS-specific, and a very common thought for people in general: \"A lifetime is not enough\". Yet I would much rather discuss this with computer scientists, as I suppose there might be some concrete field-specific advice on this.\\n\\nCurrently I spend most of my time learning new technologies or learning about new technologies or aquiring skills or thinking about one of those three. There is not much hope for university education (not in my country) and many useful skills - especially some practical ones - are left for students to learn on their own.\\n\\nSo I\\'ve got an evergrowing list of things I need to learn. Evergrowing because items are added much faster than removed. Here\\'s a glimpse of what I feel I\\'d like to learn right now (some items I want mastered, some - just get a taste of what it is. I am not trying to perfect everything, that would be just stupid).\\n\\nOn the programming side of the spectrum:\\n\\n* Java\\n* Python\\n* bash scripting\\n* SQL\\n* HTML-CSS-JavaScript\\n* Linux everything\\n\\nOn the mathematical side:\\n\\n* Probability theory and mathematical statistics\\n* Cryptography\\n* Algorithms\\n* Wolfram Mathematica ( \/GNU Octave? )\\n\\nOn the {skill rather than theory} side:\\n\\n* vim ( emacs? )\\n* git\\n* android studio and android development\\n* Google Cloud \/ AWS\\n\\nAnd this is only mentioning the more clearly defined interests. Reading some Knuth, learning R, getting good understanding of OOP concepts and design patterns, general maths (as in \"calculus\"), doing practical stuff on project euler\/codewars\/etc, learning separate libraries (as in \"GTK\") and other things are omitted. University courses are not on the list either (though there are some intersections). \\n\\nFirst of all, there\\'s clearly no end to learning any one of the topics alone. And even if I define ~end-goals for things, the list still feels completely overwhelming. Everytime I work on something I find myself going back down the rabbit hole of the things to learn.\\n\\nA hypothetical situation: reading cryptography, I find myself wanting to implement some algorithm on a computer with a friend. That need a programming language, say, Java and so I\\'m at the first level of the hole: some methods requre more knowledge of the API than I currently have, so I go and learn that. After that, I want to implement a GUI for the algorithm I just wrote. Thus begins the second level: an external library I need more knowledge of. Then the third - networking for communication with the friend. And fourth - knowledge of Linux daemons to hook it all up.\\n\\nThat is only one example, and not the most realistic one, but it should give you a better idea of what I\\'m talking about.\\n\\nThere is no particular thing on the list I like or dislike most. All of them are interesting and enjoyable to me, yet after about 3-4 hours of any one I do get tired or bored.\\n\\nAnd the worst thing - with the increasing number of things on the list, my productivity is not increasing, quite the contrary - it feels much much lower than before (when I thought all I needed was C++ and just read learncpp.com for days) ((good school background in math)). And I do not understand the reason.\\n\\nMy candidates are:\\n\\n* Mere laziness: I should have simply been reading CRLS instead of writing this question. [how can one tell if they are just lazy and need to work more?]\\n* Lack of concentration: don\\'t get carried away. [but what if it\\'s impossible to do one thing without another? (e.g. learning R without statistical background)]\\n* \"Quality control\": new topics are harder to learn if previous ones are not mastered - go very slowly and learn deeply one by one [the approach I had before, which does not seem to be working well now - one topic just never ends]\\n* Too much theory, not enough practice: instead of a list of topics, create a list of projects and get theoretical knowledge on demand.\\n* Too many things: [obviously true][but how can this be fixed, all of them are useful and can be useful in conjunction?]\\n\\nWhich of these do you think are the most important? Any other suggestions? Have You had some experience of this sort and how did you deal with it?\\n\\nPS sorry for any mistakes in English and thank you kindly for any response!\\n\\nPPS I should probably mention that I have reasonable understanding of the concepts I\\'m talking about, i.e. not a complete beginner.\\n\\nEdit: wording and formatting', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 6, 'created_utc': 1515680824}"}
{"id":"291641","text":"Title: Slow MySQL performance in Docker container on MacOS\nThe text below was posted in an online community called docker in the year 2019:\n\nI have a Java application which imports a very large amount of XML data and writes it to a MySQL database. XML files sizes are around 100mb. The import speed is critical. This works fine natively on MacOS without using sara86@example.net. But the MySQL import process slows down to an unusable speed when running within a Docker container on MacOS.  I have changed the way the MySQL is configured in the Docker compose file so thats its not replicating itself outside the Docker container to a host volume as thought that could slow it down. That didnt make any difference. It appears to be MySQL and not Java that is slow and causing the issue as when the Java application is running natively on MacOS outside the container and writing to MySQL in the container it is still very slow.\n\nThe context is a real time train application which is why data import speed is critical for up to date information. It would probably be fine for a normal web application without this real-time functionality but the slow importing is the issue preventing it being usable with Docker on MacOS.\n\nThe bottleneck seems to be with the MySQL process in Docker itself, when running on MacOS. It is about 10 times slower when running in Docker than a non Docker set up. There is about 8gb of memory dedicated to Docker. Has anyone experienced this problem with MySQL on Docker running slowly on MacOS and if so how should it be resolved? Thanks.","meta":"{'source': 'reddit_posts', 'id': 'eg9glu', 'title': 'Slow MySQL performance in Docker container on MacOS', 'author': 'mobileappz', 'subreddit': 'docker', 'subreddit_id': '2y00f', 'body': 'I have a Java application which imports a very large amount of XML data and writes it to a MySQL database. XML files sizes are around 100mb. The import speed is critical. This works fine natively on MacOS without using Docker at all. But the MySQL import process slows down to an unusable speed when running within a Docker container on MacOS.  I have changed the way the MySQL is configured in the Docker compose file so thats its not replicating itself outside the Docker container to a host volume as thought that could slow it down. That didnt make any difference. It appears to be MySQL and not Java that is slow and causing the issue as when the Java application is running natively on MacOS outside the container and writing to MySQL in the container it is still very slow.\\n\\nThe context is a real time train application which is why data import speed is critical for up to date information. It would probably be fine for a normal web application without this real-time functionality but the slow importing is the issue preventing it being usable with Docker on MacOS.\\n\\nThe bottleneck seems to be with the MySQL process in Docker itself, when running on MacOS. It is about 10 times slower when running in Docker than a non Docker set up. There is about 8gb of memory dedicated to Docker. Has anyone experienced this problem with MySQL on Docker running slowly on MacOS and if so how should it be resolved? Thanks.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 6, 'created_utc': 1577441515}"}
{"id":"1334506","text":"Title: Why is this only giving me a total of 7?\nThe text below was posted in an online community called learnpython in the year 2022:\n\n#This program will display a user's total amount of push-ups over a week\n    \n    #Below are the variables\n    \n    days=0\n    \n    pushups=[]\n    \n    pushup_total=0\n    \n    amount=0\n    \n    print(\"\/n Let's find out how many push-ups you completed the past week!\")\n    \n    #Below shows the algorithms used to figure out the users pushups\n    \n    while days &lt;= 7:\n        days = days + 1\n        value = eval(input(\" How many pushups did you perform on day \" + str(days) + \"?\"))\n        pushups.append(value)\n        if days == 7:\n            break\n    \n    #Below calculates a users total pushups for a week\n    \n    for I in pushups:\n        pushup_total = pushup_total + 1\n    for I in pushups:\n        amount = amount + 1\n    \n    #Below displays the users total pushups for a week\n    \n    print(\"\/n You did a total amount of\" , pushup_total )\n    \n    print( \"for the week\" )\n    \n\n&amp;#x200B;","meta":"{'source': 'reddit_posts', 'id': 'u5da57', 'title': 'Why is this only giving me a total of 7?', 'author': 'WHATSaPYTHON', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': '#This program will display a user\\'s total amount of push-ups over a week\\n    \\n    #Below are the variables\\n    \\n    days=0\\n    \\n    pushups=[]\\n    \\n    pushup_total=0\\n    \\n    amount=0\\n    \\n    print(\"\/n Let\\'s find out how many push-ups you completed the past week!\")\\n    \\n    #Below shows the algorithms used to figure out the users pushups\\n    \\n    while days &lt;= 7:\\n        days = days + 1\\n        value = eval(input(\" How many pushups did you perform on day \" + str(days) + \"?\"))\\n        pushups.append(value)\\n        if days == 7:\\n            break\\n    \\n    #Below calculates a users total pushups for a week\\n    \\n    for I in pushups:\\n        pushup_total = pushup_total + 1\\n    for I in pushups:\\n        amount = amount + 1\\n    \\n    #Below displays the users total pushups for a week\\n    \\n    print(\"\/n You did a total amount of\" , pushup_total )\\n    \\n    print( \"for the week\" )\\n    \\n\\n&amp;#x200B;', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 4, 'created_utc': 1650162418}"}
{"id":"2431354","text":"Title: Learning Powershell\nThe text below was posted in an online community called PowerShell in the year 2016:\n\nHey,  I wanted to see if someone know a very good plan lesson to learn powershell.  I have been online and looked around and already own a book or two (Powershell in a month of lunches) but after the first book there are just so many books.  I am not looking for courses\/youtube vids, looking for strictly books.  Hoping someone can provide a detailed guide\/opinion on which series of books I should use to learn powershell(master)","meta":"{'source': 'reddit_posts', 'id': '476skr', 'title': 'Learning Powershell', 'author': 'prejonnes', 'subreddit': 'PowerShell', 'subreddit_id': '2qo1o', 'body': 'Hey,  I wanted to see if someone know a very good plan lesson to learn powershell.  I have been online and looked around and already own a book or two (Powershell in a month of lunches) but after the first book there are just so many books.  I am not looking for courses\/youtube vids, looking for strictly books.  Hoping someone can provide a detailed guide\/opinion on which series of books I should use to learn powershell(master)', 'body_is_trimmed': False, 'score': 27, 'over_18': False, 'num_comments': 23, 'created_utc': 1456237557}"}
{"id":"922902","text":"Title: DEAR VALUED CONTRIBUTORS -- FRIDAY RANT THREAD FOR July 08, 2016\nThe text below was posted in an online community called cscareerquestions in the year 2016:\n\nAND NOW FOR SOMETHING ENTIRELY DIFFERENT.\n\nCAN'T STOP WON'T STOP DON'T STOP CODING!\n\nTHIS IS THE RANT THREAD. IT IS FOR RANTS.\n\nCAPS LOCK ON, DOWNVOTES OFF, FEEL FREE TO BREAK RULE 2 IF SOMEONE LIKES SOMETHING THAT YOU DON'T BUT IF YOU POST SOME RACIST\/HOMOPHOBIC\/SEXIST BULLSHIT IT'LL BE GONE FASTER THAN A SPEEDING TRACER.\n\n(RANTING BEGINS AT MIDNIGHT EVERY FRIDAY, BEST COAST TIME.)","meta":"{'source': 'reddit_posts', 'id': '4rtmnv', 'title': 'DEAR VALUED CONTRIBUTORS -- FRIDAY RANT THREAD FOR July 08, 2016', 'author': 'AutoModerator', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"AND NOW FOR SOMETHING ENTIRELY DIFFERENT.\\n\\nCAN'T STOP WON'T STOP DON'T STOP CODING!\\n\\nTHIS IS THE RANT THREAD. IT IS FOR RANTS.\\n\\nCAPS LOCK ON, DOWNVOTES OFF, FEEL FREE TO BREAK RULE 2 IF SOMEONE LIKES SOMETHING THAT YOU DON'T BUT IF YOU POST SOME RACIST\/HOMOPHOBIC\/SEXIST BULLSHIT IT'LL BE GONE FASTER THAN A SPEEDING TRACER.\\n\\n(RANTING BEGINS AT MIDNIGHT EVERY FRIDAY, BEST COAST TIME.)\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 38, 'created_utc': 1467965099}"}
{"id":"977809","text":"Title: Does anybody else think that we need better media controls as default to ios?\nThe text below was posted in an online community called ios in the year 2017:\n\nSome of you may be aware of the fact that if you are watching a long movie, it is pain in the ass to go forward or backward. I know there is a way to do it by holding backward\/forward button, but it has 2 issues;\nSmall as hell button for ipad (specially pro models)\nIt is not even close to be precise. Just as an example i had so this scenario so many times where You think you skipped 30 seconds, but after you release the button, it only skips 5 seconds.\n\nAs a good example, im in love with how the youtube app does this, which got an update a month ago or so. I think apple should so something like that.\n\nBecause of youtube controls, lately i find myself double tapping in other apps, even on netflix.","meta":"{'source': 'reddit_posts', 'id': '6997mi', 'title': 'Does anybody else think that we need better media controls as default to ios?', 'author': 'arqwyn', 'subreddit': 'ios', 'subreddit_id': '2ru5b', 'body': 'Some of you may be aware of the fact that if you are watching a long movie, it is pain in the ass to go forward or backward. I know there is a way to do it by holding backward\/forward button, but it has 2 issues;\\nSmall as hell button for ipad (specially pro models)\\nIt is not even close to be precise. Just as an example i had so this scenario so many times where You think you skipped 30 seconds, but after you release the button, it only skips 5 seconds.\\n\\nAs a good example, im in love with how the youtube app does this, which got an update a month ago or so. I think apple should so something like that.\\n\\nBecause of youtube controls, lately i find myself double tapping in other apps, even on netflix.', 'body_is_trimmed': False, 'score': 14, 'over_18': False, 'num_comments': 4, 'created_utc': 1493921315}"}
{"id":"1928855","text":"Title: What are your favorite online generators for any aspect of CSS?\nThe text below was posted in an online community called css in the year 2014:\n\nShare with us your favorite online tools to generate your css magic (gradients, neat typesetting, buttons and whatever you can think of). Extra points if it's modern and includes sassy options ;) \nEven more points if it ties nicely with a popular css framework or another.","meta":"{'source': 'reddit_posts', 'id': '1v55i7', 'title': 'What are your favorite online generators for any aspect of CSS?', 'author': 'AhabTheArab', 'subreddit': 'css', 'subreddit_id': '2qifv', 'body': \"Share with us your favorite online tools to generate your css magic (gradients, neat typesetting, buttons and whatever you can think of). Extra points if it's modern and includes sassy options ;) \\nEven more points if it ties nicely with a popular css framework or another.\", 'body_is_trimmed': False, 'score': 23, 'over_18': False, 'num_comments': 11, 'created_utc': '1389653150'}"}
{"id":"245390","text":"Title: What does asp-validation-summary=\"ModelOnly\" mean?\nThe text below was posted in an online community called dotnet in the year 2017:\n\nWhen I look in the Create view of my scaffolded code there is a html tag-helper in the form called `asp-validation-summary=\"ModelOnly\"`. What does this mean? [This page](https:\/\/davepaquette.com\/archive\/2015\/05\/14\/mvc6-validation-tag-helpers-deep-dive.aspx) tells me that it can have the values `All`, `ModelOnly` and `None` and that\n\n&gt; ValidationSummary.All will display both property and model level validations messages while ValidationSummary.ModelOnly will display only validation messages that apply to the model level. If ValidationSummary.None is specified, the tag helper will do nothing\n\nSo I guess I wonder what they mean by `model level` and `property level`, what are these in my aspnetcore mvc application?","meta":"{'source': 'reddit_posts', 'id': '6st6j3', 'title': 'What does asp-validation-summary=\"ModelOnly\" mean?', 'author': 'codefinbel', 'subreddit': 'dotnet', 'subreddit_id': '2qh3h', 'body': 'When I look in the Create view of my scaffolded code there is a html tag-helper in the form called `asp-validation-summary=\"ModelOnly\"`. What does this mean? [This page](https:\/\/davepaquette.com\/archive\/2015\/05\/14\/mvc6-validation-tag-helpers-deep-dive.aspx) tells me that it can have the values `All`, `ModelOnly` and `None` and that\\n\\n&gt; ValidationSummary.All will display both property and model level validations messages while ValidationSummary.ModelOnly will display only validation messages that apply to the model level. If ValidationSummary.None is specified, the tag helper will do nothing\\n\\nSo I guess I wonder what they mean by `model level` and `property level`, what are these in my aspnetcore mvc application?', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 5, 'created_utc': 1502370444}"}
{"id":"85785","text":"Title: On this mobile app I'm trying to store the previous touch coordinates to display a graphic in that location.\nThe text below was posted in an online community called javahelp in the year 2019:\n\nSo the idea here is a user will touch the screen and a hole appears. I need that hole to remain so that when the user touches again another hole appears and this continues until the app is forcibly stopped. \n\nMy understanding is that I need to create an array that updates each time the canvas is redrawn but being newish to Java I'm not super clear on how to do that. Here's what I've got:\n\n\n    \n    import android.content.Context;\n    import android.graphics.Bitmap;\n    import android.graphics.BitmapFactory;\n    import android.graphics.Canvas;\n    import android.graphics.Color;\n    import android.graphics.Rect;\n    import android.util.AttributeSet;\n    import android.view.MotionEvent;\n    import android.view.SurfaceHolder;\n    import android.view.SurfaceView;\n    import android.view.View;\n    \n    import java.lang.reflect.Array;\n    import java.util.ArrayList;\n    import java.util.BitSet;\n    import java.util.List;\n    \n    \n    public class DrawSurface extends SurfaceView implements View.OnTouchListener { \/\/}, SurfaceHolder.Callback {\n    \n    \n    \n        private SurfaceHolder surfaceHolder;\n        private Bitmap mBMPField;\n        private Bitmap mBMPHole;\n    \n        public DrawSurface(Context context) {\n            super(context);\n            init();\n        }\n    \n        public DrawSurface(Context context,\n                             AttributeSet attrs) {\n            super(context, attrs);\n            init();\n        }\n    \n        public DrawSurface(Context context,\n                             AttributeSet attrs, int defStyle) {\n            super(context, attrs, defStyle);\n            init();\n        }\n    \n        public void init(){\n            surfaceHolder = getHolder();\n            mBMPField = BitmapFactory.decodeResource(getResources(),\n                    R.drawable.field);\n            mBMPHole = BitmapFactory.decodeResource(getResources(), R.drawable.hole);\n            surfaceHolder.addCallback(new SurfaceHolder.Callback(){\n    \n                @Override\n                public void surfaceCreated(SurfaceHolder holder) {\n    \n                    Canvas c = holder.lockCanvas();\n    \n                    \/\/Rect mFieldDim = null;\n                    \/\/if (c!=null) mFieldDim.set(0,0,c.getWidth(), getHeight());\n                    drawField(c);\n                    holder.unlockCanvasAndPost(c);\n                    invalidate();\n    \n                }\n    \n                @Override\n                public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {\n    \n                }\n    \n                @Override\n                public void surfaceDestroyed(SurfaceHolder holder) {\n                    \/\/ TODO Auto-generated method stub\n    \n                }});\n    \n            findViewById(R.id.dsField);\n            setOnTouchListener(this);\n    \n    \n    \n        }\n    \n        protected void drawField(Canvas canvas) {\n            canvas.drawColor(Color.BLACK);\n            canvas.drawBitmap(mBMPField, 0, 0, null);\n        }\n    \n        protected void drawHole(Canvas canvas, float X, float Y) {\n            canvas.drawBitmap(mBMPField, 0, 0, null);\n            canvas.drawBitmap(mBMPHole, X, Y, null);\n        }\n    \n        \/\/public static ArrayList&lt;Item&gt; mItems = new ArrayList&lt;Item&gt;();\n    \n        @Override\n        public boolean onTouch(View v, MotionEvent event) {\n            if(event.getAction() == MotionEvent.ACTION_DOWN) {\n                if (surfaceHolder.getSurface().isValid()) {\n                    Canvas canvas = surfaceHolder.lockCanvas();\n                    drawHole(canvas, event.getX(), event.getY());\n                    surfaceHolder.unlockCanvasAndPost(canvas);\n                }\n            }\n            setWillNotDraw(false);\n            return true;\n        }\n    }","meta":"{'source': 'reddit_posts', 'id': 'cpujic', 'title': \"On this mobile app I'm trying to store the previous touch coordinates to display a graphic in that location.\", 'author': 'haxxor_man', 'subreddit': 'javahelp', 'subreddit_id': '2t1jq', 'body': \"So the idea here is a user will touch the screen and a hole appears. I need that hole to remain so that when the user touches again another hole appears and this continues until the app is forcibly stopped. \\n\\nMy understanding is that I need to create an array that updates each time the canvas is redrawn but being newish to Java I'm not super clear on how to do that. Here's what I've got:\\n\\n\\n    \\n    import android.content.Context;\\n    import android.graphics.Bitmap;\\n    import android.graphics.BitmapFactory;\\n    import android.graphics.Canvas;\\n    import android.graphics.Color;\\n    import android.graphics.Rect;\\n    import android.util.AttributeSet;\\n    import android.view.MotionEvent;\\n    import android.view.SurfaceHolder;\\n    import android.view.SurfaceView;\\n    import android.view.View;\\n    \\n    import java.lang.reflect.Array;\\n    import java.util.ArrayList;\\n    import java.util.BitSet;\\n    import java.util.List;\\n    \\n    \\n    public class DrawSurface extends SurfaceView implements View.OnTouchListener { \/\/}, SurfaceHolder.Callback {\\n    \\n    \\n    \\n        private SurfaceHolder surfaceHolder;\\n        private Bitmap mBMPField;\\n        private Bitmap mBMPHole;\\n    \\n        public DrawSurface(Context context) {\\n            super(context);\\n            init();\\n        }\\n    \\n        public DrawSurface(Context context,\\n                             AttributeSet attrs) {\\n            super(context, attrs);\\n            init();\\n        }\\n    \\n        public DrawSurface(Context context,\\n                             AttributeSet attrs, int defStyle) {\\n            super(context, attrs, defStyle);\\n            init();\\n        }\\n    \\n        public void init(){\\n            surfaceHolder = getHolder();\\n            mBMPField = BitmapFactory.decodeResource(getResources(),\\n                    R.drawable.field);\\n            mBMPHole = BitmapFactory.decodeResource(getResources(), R.drawable.hole);\\n            surfaceHolder.addCallback(new SurfaceHolder.Callback(){\\n    \\n                @Override\\n                public void surfaceCreated(SurfaceHolder holder) {\\n    \\n                    Canvas c = holder.lockCanvas();\\n    \\n                    \/\/Rect mFieldDim = null;\\n                    \/\/if (c!=null) mFieldDim.set(0,0,c.getWidth(), getHeight());\\n                    drawField(c);\\n                    holder.unlockCanvasAndPost(c);\\n                    invalidate();\\n    \\n                }\\n    \\n                @Override\\n                public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {\\n    \\n                }\\n    \\n                @Override\\n                public void surfaceDestroyed(SurfaceHolder holder) {\\n                    \/\/ TODO Auto-generated method stub\\n    \\n                }});\\n    \\n            findViewById(R.id.dsField);\\n            setOnTouchListener(this);\\n    \\n    \\n    \\n        }\\n    \\n        protected void drawField(Canvas canvas) {\\n            canvas.drawColor(Color.BLACK);\\n            canvas.drawBitmap(mBMPField, 0, 0, null);\\n        }\\n    \\n        protected void drawHole(Canvas canvas, float X, float Y) {\\n            canvas.drawBitmap(mBMPField, 0, 0, null);\\n            canvas.drawBitmap(mBMPHole, X, Y, null);\\n        }\\n    \\n        \/\/public static ArrayList&lt;Item&gt; mItems = new ArrayList&lt;Item&gt;();\\n    \\n        @Override\\n        public boolean onTouch(View v, MotionEvent event) {\\n            if(event.getAction() == MotionEvent.ACTION_DOWN) {\\n                if (surfaceHolder.getSurface().isValid()) {\\n                    Canvas canvas = surfaceHolder.lockCanvas();\\n                    drawHole(canvas, event.getX(), event.getY());\\n                    surfaceHolder.unlockCanvasAndPost(canvas);\\n                }\\n            }\\n            setWillNotDraw(false);\\n            return true;\\n        }\\n    }\", 'body_is_trimmed': False, 'score': 11, 'over_18': False, 'num_comments': 2, 'created_utc': 1565709409}"}
{"id":"1625058","text":"Title: Ask \/r\/lisp: is there any lightweight ORM that generates classes from table definitions?\nThe text below was posted in an online community called lisp in the year 2017:\n\nLots of ORMs that generate table definitions from classes, but I am looking for one that does the reverse.\n\nI am working with postgres if it helps.","meta":"{'source': 'reddit_posts', 'id': '7iebty', 'title': 'Ask \/r\/lisp: is there any lightweight ORM that generates classes from table definitions?', 'author': 'cg84', 'subreddit': 'lisp', 'subreddit_id': '2qh35', 'body': 'Lots of ORMs that generate table definitions from classes, but I am looking for one that does the reverse.\\n\\nI am working with postgres if it helps.', 'body_is_trimmed': False, 'score': 12, 'over_18': False, 'num_comments': 7, 'created_utc': 1512731457}"}
{"id":"1553313","text":"Title: I am making a cafe Point of Sale using Javascript. What you guys think so far?\nThe text below was posted in an online community called learnjavascript in the year 2020:\n\nThis is my second project with javascript so I'm fairly proud of it.\n\nThe project is intended for iPads, so mobile users won't have as much fun l(sorry!).\n\nNot everything has been enabled yet.\n\nChanges made remain until page is reloaded.\n\nhttps:\/\/htmlpreview.github.io\/?https:\/\/github.com\/claudiovf\/POS\/blob\/master\/order.html\n\n(Code is still a mess,  i'm cleaning  it up as we speak)","meta":"{'source': 'reddit_posts', 'id': 'h9gc4n', 'title': 'I am making a cafe Point of Sale using Javascript. What you guys think so far?', 'author': 'hawk3122', 'subreddit': 'learnjavascript', 'subreddit_id': '2tugi', 'body': \"This is my second project with javascript so I'm fairly proud of it.\\n\\nThe project is intended for iPads, so mobile users won't have as much fun l(sorry!).\\n\\nNot everything has been enabled yet.\\n\\nChanges made remain until page is reloaded.\\n\\nhttps:\/\/htmlpreview.github.io\/?https:\/\/github.com\/claudiovf\/POS\/blob\/master\/order.html\\n\\n(Code is still a mess,  i'm cleaning  it up as we speak)\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 8, 'created_utc': 1592227652}"}
{"id":"1946437","text":"Title: Being notified when tab memory usage exceeds threshold\nThe text below was posted in an online community called firefox in the year 2019:\n\nIs there any extension that notifies you when a tab uses more than N MB of RAM? Maybe the tab becomes red, or something.\n\nI'm tired of finding myself out of memory and having to open about:performance to look for the culprit.\n\nedit: seems the WebExtension API doesn't allow that value to be read (except in Chrome)","meta":"{'source': 'reddit_posts', 'id': 'cbswgv', 'title': 'Being notified when tab memory usage exceeds threshold', 'author': 'typish', 'subreddit': 'firefox', 'subreddit_id': '2qh4p', 'body': \"Is there any extension that notifies you when a tab uses more than N MB of RAM? Maybe the tab becomes red, or something.\\n\\nI'm tired of finding myself out of memory and having to open about:performance to look for the culprit.\\n\\nedit: seems the WebExtension API doesn't allow that value to be read (except in Chrome)\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 4, 'created_utc': 1562830974}"}
{"id":"1411208","text":"Title: An annoying issue that's rarely talked about: In-browser Youtube.\nThe text below was posted in an online community called Android in the year 2013:\n\nI read articles a lot on my phone and tablet and that consists of embedded YouTube videos in the page. However, the video player is terrible. I could easily click on the title to open up the video in the YouTube app, but I prefer to have the video playing while I read the rest of the article. The video player does the job, but it could be so much better and there are many elements to it that just doesn't make sense. \n\nFor example, [tapping on the video while it's playing pauses the video](http:\/\/i.imgur.com\/ICibopr.png). This is different compared to basically every other video player. The problem is especially prominent when you want to rewatch a section of the video over and over again.\n\n[The progress line is thick and very unholo. The scrub handle's center is slightly above the actual bar.](http:\/\/i.imgur.com\/7D7pPnb.png) A little bit nitpicky, but it's an actual issue to me.\n\nHitting the full screen button is a different experience. [Everything looks nice and the two previous issues are gone.](http:\/\/i.imgur.com\/v7hjLTk.png) In fact, the full screen video player is very responsive and just overall fast.\n\n[There is no replay button](http:\/\/i.imgur.com\/zbgpJJm.png). Once you finish the video, you are given a screen full of suggestions with no way to replay the video other than refreshing the page. If I want to rewatch part of the video, I have to make sure I quickly pause it and scrub back to prevent the video from finishing. Very annoying.\n\nI'm not sure if these issues are only existent in stock android, but nonetheless it's a problem I've had since ICS. Hopefully KitKat or another update will save the day.","meta":"{'source': 'reddit_posts', 'id': '1ojmgx', 'title': \"An annoying issue that's rarely talked about: In-browser Youtube.\", 'author': 'Rawffle', 'subreddit': 'Android', 'subreddit_id': '2qlqh', 'body': \"I read articles a lot on my phone and tablet and that consists of embedded YouTube videos in the page. However, the video player is terrible. I could easily click on the title to open up the video in the YouTube app, but I prefer to have the video playing while I read the rest of the article. The video player does the job, but it could be so much better and there are many elements to it that just doesn't make sense. \\n\\nFor example, [tapping on the video while it's playing pauses the video](http:\/\/i.imgur.com\/ICibopr.png). This is different compared to basically every other video player. The problem is especially prominent when you want to rewatch a section of the video over and over again.\\n\\n[The progress line is thick and very unholo. The scrub handle's center is slightly above the actual bar.](http:\/\/i.imgur.com\/7D7pPnb.png) A little bit nitpicky, but it's an actual issue to me.\\n\\nHitting the full screen button is a different experience. [Everything looks nice and the two previous issues are gone.](http:\/\/i.imgur.com\/v7hjLTk.png) In fact, the full screen video player is very responsive and just overall fast.\\n\\n[There is no replay button](http:\/\/i.imgur.com\/zbgpJJm.png). Once you finish the video, you are given a screen full of suggestions with no way to replay the video other than refreshing the page. If I want to rewatch part of the video, I have to make sure I quickly pause it and scrub back to prevent the video from finishing. Very annoying.\\n\\nI'm not sure if these issues are only existent in stock android, but nonetheless it's a problem I've had since ICS. Hopefully KitKat or another update will save the day.\", 'body_is_trimmed': False, 'score': 193, 'over_18': False, 'num_comments': 86, 'created_utc': 1381888246}"}
{"id":"893128","text":"Title: How do I install packages when using Ubuntu 18.04 LiveUSB?\nThe text below was posted in an online community called linuxquestions in the year 2021:\n\nI'm trying to use an Ubuntu 18.04 LiveUSB to recover a lost file.  I've booted into the LiveUSB.  Now, I need to install the 'testdisk' package.\n\nI can run `$ sudo apt update` and `$ sudo apt upgrade` with normal output and no errors.  However, I can't install packages.  If I use `apt-cache show` to find a package, I always get a \"No packages found\" error.  For instance:\n\n    $ apt-cache show testdisk\n    N: Unable to locate package testdisk\n    E: No packages found\n    $ apt-cache show cowsay\n    N: Unable to locate package cowsay\n    E: No packages found\n\nIf I try to install, I always get results like\n\n    $ sudo apt install testdisk\n    Reading package lists... Done\n    Building dependency tree\n    Reading state information... Done\n    E: Unable to locate package testdisk.\n\nI am connected to the network and can browse the Internet normally from the LiveUSB.\n\nThis [AskUbuntu answer](https:\/\/askubuntu.com\/a\/1033874\/572928) says that I ought to be able to install packages to the LiveUSB.  I don't need it to be persistent, I just need `testdisk` long enough to recover a file.\n\nHow can I install packages in an Ubuntu 18.04 LiveUSB?","meta":"{'source': 'reddit_posts', 'id': 'n9c2tx', 'title': 'How do I install packages when using Ubuntu 18.04 LiveUSB?', 'author': 'OdionBuckley', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': 'I\\'m trying to use an Ubuntu 18.04 LiveUSB to recover a lost file.  I\\'ve booted into the LiveUSB.  Now, I need to install the \\'testdisk\\' package.\\n\\nI can run `$ sudo apt update` and `$ sudo apt upgrade` with normal output and no errors.  However, I can\\'t install packages.  If I use `apt-cache show` to find a package, I always get a \"No packages found\" error.  For instance:\\n\\n    $ apt-cache show testdisk\\n    N: Unable to locate package testdisk\\n    E: No packages found\\n    $ apt-cache show cowsay\\n    N: Unable to locate package cowsay\\n    E: No packages found\\n\\nIf I try to install, I always get results like\\n\\n    $ sudo apt install testdisk\\n    Reading package lists... Done\\n    Building dependency tree\\n    Reading state information... Done\\n    E: Unable to locate package testdisk.\\n\\nI am connected to the network and can browse the Internet normally from the LiveUSB.\\n\\nThis [AskUbuntu answer](https:\/\/askubuntu.com\/a\/1033874\/572928) says that I ought to be able to install packages to the LiveUSB.  I don\\'t need it to be persistent, I just need `testdisk` long enough to recover a file.\\n\\nHow can I install packages in an Ubuntu 18.04 LiveUSB?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 10, 'created_utc': 1620670750}"}
{"id":"1561688","text":"Title: Best major for VR and AR research\nThe text below was posted in an online community called computerscience in the year 2019:\n\nHi all, \n\nim a first year computer science and mathematics student and i'm really interested in learning more about the possibilities of virtual reality\/augmented reality. I would love to go into research or start ups around this area such as creating virtual art, visulising abstract ideas, educational uses etc... but have no idea what major would help me the most. \n\n(the majors at my uni are: Database systems, eCommerce systems, AI, programming languages, computer networks, embedded systems, security engineering). None of these seem to stand out to me\n\nif anyone also has any tips of individual subject areas in and out of computer science i should be looking at, or even anything online which i can learn dustin41@example.org.\n\nthanks!","meta":"{'source': 'reddit_posts', 'id': 'ccyw32', 'title': 'Best major for VR and AR research', 'author': 'the_lizardpeople', 'subreddit': 'computerscience', 'subreddit_id': '2qj8o', 'body': \"Hi all, \\n\\nim a first year computer science and mathematics student and i'm really interested in learning more about the possibilities of virtual reality\/augmented reality. I would love to go into research or start ups around this area such as creating virtual art, visulising abstract ideas, educational uses etc... but have no idea what major would help me the most. \\n\\n(the majors at my uni are: Database systems, eCommerce systems, AI, programming languages, computer networks, embedded systems, security engineering). None of these seem to stand out to me\\n\\nif anyone also has any tips of individual subject areas in and out of computer science i should be looking at, or even anything online which i can learn it at home.\\n\\nthanks!\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1563078262}"}
{"id":"1155719","text":"Title: Need help changing the background color of comments when you click \"context\"\nThe text below was posted in an online community called csshelp in the year 2015:\n\n\/r\/RockBand\n\nCurrently when you click context it brings you to the comment and it has a yellowish background to it which makes it hard to read the comment. [Image](https:\/\/i.gyazo.com\/ae1222ab32636d87176b1d67530a2118.png)\n\nWhat can I add or alter to change the color of that?","meta":"{'source': 'reddit_posts', 'id': '3qvldf', 'title': 'Need help changing the background color of comments when you click \"context\"', 'author': 'TehBravo', 'subreddit': 'csshelp', 'subreddit_id': '2roaw', 'body': '\/r\/RockBand\\n\\nCurrently when you click context it brings you to the comment and it has a yellowish background to it which makes it hard to read the comment. [Image](https:\/\/i.gyazo.com\/ae1222ab32636d87176b1d67530a2118.png)\\n\\nWhat can I add or alter to change the color of that?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': '1446232800'}"}
{"id":"1826391","text":"Title: Is go-reddit still working for any of you?\nThe text below was posted in an online community called golang in the year 2022:\n\nI've started working on a wallpaper manager and wanted to fetch the top posts of a subreddit. Naturally, I decided to use [https:\/\/github.com\/vartanbeno\/go-reddit](https:\/\/github.com\/vartanbeno\/go-reddit), as is it the most recent reddit API client for golang. But no matter what I try, I always get an error like this\n\n    panic: Get \"https:\/\/oauth.reddit.com\/r\/itookapicture\/top?limit=1&amp;t=today\": oauth2: server response missing access_token\n\nEven when running the examples from the linked repo I get the response \n\n    reddit's awesome and all, but you may have a bit of a\n    problem. we've seen far too many requests come from your ip address\n    recently.\n\nno matter on which machine\/public IP I try to run it. Have any of you got this to work recently? It also seems that the project has been abandoned as the last commit was 14 months ago.","meta":"{'source': 'reddit_posts', 'id': 'tultyc', 'title': 'Is go-reddit still working for any of you?', 'author': 'SamFisher39', 'subreddit': 'golang', 'subreddit_id': '2rc7j', 'body': 'I\\'ve started working on a wallpaper manager and wanted to fetch the top posts of a subreddit. Naturally, I decided to use [https:\/\/github.com\/vartanbeno\/go-reddit](https:\/\/github.com\/vartanbeno\/go-reddit), as is it the most recent reddit API client for golang. But no matter what I try, I always get an error like this\\n\\n    panic: Get \"https:\/\/oauth.reddit.com\/r\/itookapicture\/top?limit=1&amp;t=today\": oauth2: server response missing access_token\\n\\nEven when running the examples from the linked repo I get the response \\n\\n    reddit\\'s awesome and all, but you may have a bit of a\\n    problem. we\\'ve seen far too many requests come from your ip address\\n    recently.\\n\\nno matter on which machine\/public IP I try to run it. Have any of you got this to work recently? It also seems that the project has been abandoned as the last commit was 14 months ago.', 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 7, 'created_utc': 1648914356}"}
{"id":"1644705","text":"Title: Device returned to S mode after removal\nThe text below was posted in an online community called Windows10 in the year 2019:\n\nHi All,\n\nRecently did some work for a client including setting up a new device. It shipped with Windows 10 S and he wanted it changed to home. I followed the usual by logging into the Windows Store and making the switch, which went through without issue. I confirmed the switch after a reboot and I was able to install and run multiple 3rd party apps (Chrome, VLC, Adobe Acrobat etc).\n\nCouple days later I received a call from him saying he couldn't open chrome. I dropped by and saw that the device had returned to S mode and would no longer allow 3rd party apps to install or run. I have tried to run through the switch back to Home, however it hangs and ultimately gets no where.\n\nHas anyone run into an issue like this before? Would appreciate any help I could get.\n\nThings I've tried:\n\n* Updating fully to latest version\n* Rebooted into safe mode (with networking)\n* Various internet connections\n* Various store logins\n* Resetting store\n* Updating store","meta":"{'source': 'reddit_posts', 'id': 'dss4a8', 'title': 'Device returned to S mode after removal', 'author': 'mwiltshire776', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': \"Hi All,\\n\\nRecently did some work for a client including setting up a new device. It shipped with Windows 10 S and he wanted it changed to home. I followed the usual by logging into the Windows Store and making the switch, which went through without issue. I confirmed the switch after a reboot and I was able to install and run multiple 3rd party apps (Chrome, VLC, Adobe Acrobat etc).\\n\\nCouple days later I received a call from him saying he couldn't open chrome. I dropped by and saw that the device had returned to S mode and would no longer allow 3rd party apps to install or run. I have tried to run through the switch back to Home, however it hangs and ultimately gets no where.\\n\\nHas anyone run into an issue like this before? Would appreciate any help I could get.\\n\\nThings I've tried:\\n\\n* Updating fully to latest version\\n* Rebooted into safe mode (with networking)\\n* Various internet connections\\n* Various store logins\\n* Resetting store\\n* Updating store\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 4, 'created_utc': 1573099570}"}
{"id":"246067","text":"Title: 3rd Degree Black Belts in Python, what are the most common mistakes and stylistic faux-pas you see?\nThe text below was posted in an online community called Python in the year 2012:\n\nI use python as a research tool, so I'm not a professional coder by any means.  Yet it's increasingly apparent to me that our scripts get passed around and that my code is going to be re-read.  In other words, there's no such thing as \"I'm just coding this for me\".\n\nI installed pylint and I've been using it with SublimeText2 in an attempt to write more readable code.  I've also started using generator syntax where possible to cut down on nested loops, which IMHO make code difficult to read rather quickly.\n\nCan you share the most common mistakes and stylistic atrocities you come across?\n\nAgain, I'm looking for *common* errors, not \"one time I saw a guy implement a database by bitshifting strings\"-type rants.\n\nThanks!","meta":"{'source': 'reddit_posts', 'id': 'twg56', 'title': '3rd Degree Black Belts in Python, what are the most common mistakes and stylistic faux-pas you see?', 'author': 'omginternets', 'subreddit': 'Python', 'subreddit_id': '2qh0y', 'body': 'I use python as a research tool, so I\\'m not a professional coder by any means.  Yet it\\'s increasingly apparent to me that our scripts get passed around and that my code is going to be re-read.  In other words, there\\'s no such thing as \"I\\'m just coding this for me\".\\n\\nI installed pylint and I\\'ve been using it with SublimeText2 in an attempt to write more readable code.  I\\'ve also started using generator syntax where possible to cut down on nested loops, which IMHO make code difficult to read rather quickly.\\n\\nCan you share the most common mistakes and stylistic atrocities you come across?\\n\\nAgain, I\\'m looking for *common* errors, not \"one time I saw a guy implement a database by bitshifting strings\"-type rants.\\n\\nThanks!', 'body_is_trimmed': False, 'score': 35, 'over_18': False, 'num_comments': 133, 'created_utc': 1337547584}"}
{"id":"294665","text":"Title: Help!! need some idea on project,i'm thinking of getting a raspberry pi foy my boyfriend\nThe text below was posted in an online community called raspberry_pi in the year 2015:\n\nDear all,\nI'm on a long distance relationship with my boyfriend which is a programmer, his birthday is around the corner and im thinking of getting him a raspberry pi, but i want to programe something in it, something simple (not that good in programming)\n\nThen pass it on to him to let him finish it up or twitch it so it will be like a thing we create together, any idea what project i can take on?\n\nwould greatly appreciate any feedback.Thanks","meta":"{'source': 'reddit_posts', 'id': '32o3yk', 'title': \"Help!! need some idea on project,i'm thinking of getting a raspberry pi foy my boyfriend\", 'author': 'darkbarbies', 'subreddit': 'raspberry_pi', 'subreddit_id': '2syto', 'body': \"Dear all,\\nI'm on a long distance relationship with my boyfriend which is a programmer, his birthday is around the corner and im thinking of getting him a raspberry pi, but i want to programe something in it, something simple (not that good in programming)\\n\\nThen pass it on to him to let him finish it up or twitch it so it will be like a thing we create together, any idea what project i can take on?\\n\\nwould greatly appreciate any feedback.Thanks\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 3, 'created_utc': '1429092648'}"}
{"id":"2313894","text":"Title: Is the AS-5048 magnetic encoder supported for the simple FOC library?\nThe text below was posted in an online community called arduino in the year 2021:\n\nI went onto examples and found this bit of code:\n\n `\/\/ I2C Magnetic sensor instance (AS5600 example)\/\/ make sure to use the pull-ups!!`\n\n`\/\/ SDA 21`\n\n`\/\/ SCL 22`\n\n`\/\/ magnetic sensor instance - I2C`\n\n`\/\/MagneticSensorI2C sensor = MagneticSensorI2C(AS5600_I2C);` \n\nTo use the AS5600 all I have to do is uncomment the last line\n\nMy question is, can I use the AS5048 with the simpleFOC library as I cant see anything that suggests that you can","meta":"{'source': 'reddit_posts', 'id': 'lgtgj6', 'title': 'Is the AS-5048 magnetic encoder supported for the simple FOC library?', 'author': 'HShahzad108277', 'subreddit': 'arduino', 'subreddit_id': '2qknj', 'body': 'I went onto examples and found this bit of code:\\n\\n `\/\/ I2C Magnetic sensor instance (AS5600 example)\/\/ make sure to use the pull-ups!!`\\n\\n`\/\/ SDA 21`\\n\\n`\/\/ SCL 22`\\n\\n`\/\/ magnetic sensor instance - I2C`\\n\\n`\/\/MagneticSensorI2C sensor = MagneticSensorI2C(AS5600_I2C);` \\n\\nTo use the AS5600 all I have to do is uncomment the last line\\n\\nMy question is, can I use the AS5048 with the simpleFOC library as I cant see anything that suggests that you can', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1612963144}"}
{"id":"2382697","text":"Title: Switching distros\nThe text below was posted in an online community called linuxquestions in the year 2020:\n\nHey people,\ni'm just wondering if it would make a huge difference to change my Ubuntu distro to some other distro. I use linux basically for everything(gaming, paperwork and spotify) but most important for me is that it should perform good with things like blender, substance painter\/designer. \nis there some distro you can recommend and would be the change beneficial or just a waste of time?","meta":"{'source': 'reddit_posts', 'id': 'hlinbz', 'title': 'Switching distros', 'author': 'TheTrueStanly', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': \"Hey people,\\ni'm just wondering if it would make a huge difference to change my Ubuntu distro to some other distro. I use linux basically for everything(gaming, paperwork and spotify) but most important for me is that it should perform good with things like blender, substance painter\/designer. \\nis there some distro you can recommend and would be the change beneficial or just a waste of time?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 4, 'created_utc': 1593934120}"}
{"id":"2311396","text":"Title: When you ask your parents something..\nThe text below was posted in an online community called ProgrammerHumor in the year 2017:\n\nMom can I go\n\nAsk your father\n\nDad can I go?\n\nAsk your mother\n\nMom can I go\n\nAsk your father\n\nDad can I go?\n\nAsk your mother\n\n...\n\nMe : java.lang.StackOverflowException.","meta":"{'source': 'reddit_posts', 'id': '70q8kx', 'title': 'When you ask your parents something..', 'author': 'omneimneh', 'subreddit': 'ProgrammerHumor', 'subreddit_id': '2tex6', 'body': 'Mom can I go\\n\\nAsk your father\\n\\nDad can I go?\\n\\nAsk your mother\\n\\nMom can I go\\n\\nAsk your father\\n\\nDad can I go?\\n\\nAsk your mother\\n\\n...\\n\\nMe : java.lang.StackOverflowException.', 'body_is_trimmed': False, 'score': 68, 'over_18': False, 'num_comments': 12, 'created_utc': 1505682109}"}
{"id":"2286069","text":"Title: Private Vs Public IP's... please help I'm screwed\nThe text below was posted in an online community called AskComputerScience in the year 2017:\n\nSo I'm in a networking class and I'm a little lost about IP addresses. Specifically Public vs. Private and subnet masks. So correct me if I'm wrong, but my basic understanding is that every LAN has at least one public IP or gateway IP that is usually for the router. Then there are Private IP's that only the router can see for all the PC's on the LAN. And the subnet mask determines what part of the IP is the network ID and what is the local computer IP. So hypothetically if my router's IP is like 83.161.120.155 and my subnet mask is 83.161.120.155, then my computer's ip should be something like 83.161.120.155. That's my understanding so far. However, when I try to observe this  in real life it doesnt work. \n\n(IP Addresses changed in this situation for privacy)\n\nWhen I do ipconfig, it says my ip is 83.161.120.155 (not really, but something along those lines). And because my subnet mask is 83.161.120.155, I would assume my gateway is 83.161.120.155, or something pretty close to that. However, when I look up my IP online, the servers should be reporting my gateway IP, which should be 83.161.120.155. But they say something COMPLETELY different. What the heck??","meta":"{'source': 'reddit_posts', 'id': '6mhuij', 'title': \"Private Vs Public IP's... please help I'm screwed\", 'author': 'LumiiNova', 'subreddit': 'AskComputerScience', 'subreddit_id': '2shke', 'body': \"So I'm in a networking class and I'm a little lost about IP addresses. Specifically Public vs. Private and subnet masks. So correct me if I'm wrong, but my basic understanding is that every LAN has at least one public IP or gateway IP that is usually for the router. Then there are Private IP's that only the router can see for all the PC's on the LAN. And the subnet mask determines what part of the IP is the network ID and what is the local computer IP. So hypothetically if my router's IP is like 92.168.5.0 and my subnet mask is 255.255.255.0, then my computer's ip should be something like 92.168.5.1. That's my understanding so far. However, when I try to observe this  in real life it doesnt work. \\n\\n(IP Addresses changed in this situation for privacy)\\n\\nWhen I do ipconfig, it says my ip is 92.168.5.100 (not really, but something along those lines). And because my subnet mask is 255.255.255.0, I would assume my gateway is 92.168.5.0, or something pretty close to that. However, when I look up my IP online, the servers should be reporting my gateway IP, which should be 92.168.5.0. But they say something COMPLETELY different. What the heck??\", 'body_is_trimmed': False, 'score': 18, 'over_18': False, 'num_comments': 19, 'created_utc': 1499724490}"}
{"id":"856543","text":"Title: I'll tap you when I\"m ready\nThe text below was posted in an online community called AppleWatch in the year 2017:\n\nNever happened to me before... I said, \"Hey Siri... Set timer for 10 minutes.\"  And first nothing happened and then Siri typed, \"I'll tap you when I'm ready\".\n\nThen about 10 seconds later, the timer started.\n\nWhat makes Siri ready or not?  (At least she didn't say, \"I'm not in the mood.\")","meta":"{'source': 'reddit_posts', 'id': '60a76z', 'title': 'I\\'ll tap you when I\"m ready', 'author': 's400mpr', 'subreddit': 'AppleWatch', 'subreddit_id': '2wav7', 'body': 'Never happened to me before... I said, \"Hey Siri... Set timer for 10 minutes.\"  And first nothing happened and then Siri typed, \"I\\'ll tap you when I\\'m ready\".\\n\\nThen about 10 seconds later, the timer started.\\n\\nWhat makes Siri ready or not?  (At least she didn\\'t say, \"I\\'m not in the mood.\")', 'body_is_trimmed': False, 'score': 59, 'over_18': False, 'num_comments': 31, 'created_utc': 1489932546}"}
{"id":"1641146","text":"Title: DrillBot, my first released game.\nThe text below was posted in an online community called Android in the year 2011:\n\n[Full](https:\/\/market.android.com\/details?id=com.korphane.drillbot.full) and [Free](https:\/\/market.android.com\/details?id=com.korphane.drillbot) market links.\n\nIt's still technically beta, but due to a training assignment I'm releasing it early.  I will be pushing updates to both free\/paid versions of the app next month with extra content and features.","meta":"{'source': 'reddit_posts', 'id': 'i061m', 'title': 'DrillBot, my first released game.', 'author': 'enfyrneaux', 'subreddit': 'Android', 'subreddit_id': '2qlqh', 'body': \"[Full](https:\/\/market.android.com\/details?id=com.korphane.drillbot.full) and [Free](https:\/\/market.android.com\/details?id=com.korphane.drillbot) market links.\\n\\nIt's still technically beta, but due to a training assignment I'm releasing it early.  I will be pushing updates to both free\/paid versions of the app next month with extra content and features.\", 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 4, 'created_utc': 1308128565}"}
{"id":"2118122","text":"Title: I made a Youtube channel teaching coding through memes. If you are new to coding and don't have a technical background, hopefully these make programming more approachable.\nThe text below was posted in an online community called learnprogramming in the year 2021:\n\nI've been doing a lot of best practices document writing at work lately, and thought it might be a fun endeavor to try and teach programming via memes and more grounded examples than a CS class might do. So I've started putting together a channel in the hopes to do just that. So far I've done the 101's of coding, but hopefully I can keep working on this and get more people into programming. I know coding can be a terrifying endeavor, especially from a non-technical background. I made this series with that in mind, trying to get the basics out into the world in a more humorous format that tries to teach \"How would you use X\" vs \"X works because of...\"  \n\n\nSo far I cover all the intro topics from Hello World to methods and classes, then start touching on more advanced topics like OO. It's a work in progress in the sense that there are a million things to teach, but I've laid out enough groundwork that you can hopefully teach yourself from where I left off. Or if its 3 years from now and you stumble on this post, and im still making these videos, then you can   \nteach yourself everything about coding and pass interviews and be successful.  \n\n\nFor my background qualifications, I have an undergraduate degree in Comp Sci, I am about to earn my Master's in Computer Science, and I've worked at a few major companies from Amazon to Salesforce and have learned a lot about what to do and what not to do from that time. I have a passion for teaching, so I am really hoping that I can help even just one person find a love of programming through this series. To me, that would be mission accomplished.  \n\n\n[https:\/\/www.youtube.com\/playlist?list=PL9vWfF5220ruRdeOmhHcKZmJX\\_c7b7Vsg](https:\/\/www.youtube.com\/playlist?list=PL9vWfF5220ruRdeOmhHcKZmJX_c7b7Vsg)","meta":"{'source': 'reddit_posts', 'id': 'nq7qmo', 'title': \"I made a Youtube channel teaching coding through memes. If you are new to coding and don't have a technical background, hopefully these make programming more approachable.\", 'author': 'Shivering_Isles', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'I\\'ve been doing a lot of best practices document writing at work lately, and thought it might be a fun endeavor to try and teach programming via memes and more grounded examples than a CS class might do. So I\\'ve started putting together a channel in the hopes to do just that. So far I\\'ve done the 101\\'s of coding, but hopefully I can keep working on this and get more people into programming. I know coding can be a terrifying endeavor, especially from a non-technical background. I made this series with that in mind, trying to get the basics out into the world in a more humorous format that tries to teach \"How would you use X\" vs \"X works because of...\"  \\n\\n\\nSo far I cover all the intro topics from Hello World to methods and classes, then start touching on more advanced topics like OO. It\\'s a work in progress in the sense that there are a million things to teach, but I\\'ve laid out enough groundwork that you can hopefully teach yourself from where I left off. Or if its 3 years from now and you stumble on this post, and im still making these videos, then you can   \\nteach yourself everything about coding and pass interviews and be successful.  \\n\\n\\nFor my background qualifications, I have an undergraduate degree in Comp Sci, I am about to earn my Master\\'s in Computer Science, and I\\'ve worked at a few major companies from Amazon to Salesforce and have learned a lot about what to do and what not to do from that time. I have a passion for teaching, so I am really hoping that I can help even just one person find a love of programming through this series. To me, that would be mission accomplished.  \\n\\n\\n[https:\/\/www.youtube.com\/playlist?list=PL9vWfF5220ruRdeOmhHcKZmJX\\\\_c7b7Vsg](https:\/\/www.youtube.com\/playlist?list=PL9vWfF5220ruRdeOmhHcKZmJX_c7b7Vsg)', 'body_is_trimmed': False, 'score': 20, 'over_18': False, 'num_comments': 5, 'created_utc': 1622590273}"}
{"id":"1019984","text":"Title: Arch linux just started booting to this and not getting past.\nThe text below was posted in an online community called linuxquestions in the year 2018:\n\nAny help would be great. I've reinstalled the kernel by doing pacman -S linux did not help [https:\/\/i.imgur.com\/NQijG1B.jpg](https:\/\/i.imgur.com\/NQijG1B.jpg)\n\nUpdate: I can it to boot when I turn off the display manager.","meta":"{'source': 'reddit_posts', 'id': '9g6sdj', 'title': 'Arch linux just started booting to this and not getting past.', 'author': 'rathel', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': \"Any help would be great. I've reinstalled the kernel by doing pacman -S linux did not help [https:\/\/i.imgur.com\/NQijG1B.jpg](https:\/\/i.imgur.com\/NQijG1B.jpg)\\n\\nUpdate: I can it to boot when I turn off the display manager.\", 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 5, 'created_utc': 1537061147}"}
{"id":"1101697","text":"Title: I disabled fake-hwclock to use an RTC, but then realized that I'm only using the RTC within the scope of my python app. Should I reenable fake-hwclock?\nThe text below was posted in an online community called raspberry_pi in the year 2021:\n\nI followed [this tutorial](https:\/\/learn.adafruit.com\/adding-a-real-time-clock-to-raspberry-pi\/set-rtc-time) to switch the system over to the RTC (ds3231). Then I tried to use the python library to read and write to it, only to find out it was 'busy.'\n\nThen it clicked that I don't have to have the RTC synced to the system alex91@example.com. In fact, it shouldn't be synced so the user can set the time and not have it click back when it connects to the internet (the person this is for likes to set his clocks ahead so he's early to stuff). \n\nSo I undid the dtoverlay changes and my python code worked to display whatever time I set the RCT to, and it's holding that time consistently. \n\nBut now linux can't keep time. Every time I reboot, it changes a little more. So here are my questions:\n\n1. Does it matter?\n2. Should I reenable fake-hwclock just to let the system do it's thing? Or will that still somehow mess with the RTC even though the only thing that's supposed to be talking to it is my clock app?","meta":"{'source': 'reddit_posts', 'id': 'ky6iqu', 'title': \"I disabled fake-hwclock to use an RTC, but then realized that I'm only using the RTC within the scope of my python app. Should I reenable fake-hwclock?\", 'author': 'denkyuu', 'subreddit': 'raspberry_pi', 'subreddit_id': '2syto', 'body': \"I followed [this tutorial](https:\/\/learn.adafruit.com\/adding-a-real-time-clock-to-raspberry-pi\/set-rtc-time) to switch the system over to the RTC (ds3231). Then I tried to use the python library to read and write to it, only to find out it was 'busy.'\\n\\nThen it clicked that I don't have to have the RTC synced to the system clock at all. In fact, it shouldn't be synced so the user can set the time and not have it click back when it connects to the internet (the person this is for likes to set his clocks ahead so he's early to stuff). \\n\\nSo I undid the dtoverlay changes and my python code worked to display whatever time I set the RCT to, and it's holding that time consistently. \\n\\nBut now linux can't keep time. Every time I reboot, it changes a little more. So here are my questions:\\n\\n1. Does it matter?\\n2. Should I reenable fake-hwclock just to let the system do it's thing? Or will that still somehow mess with the RTC even though the only thing that's supposed to be talking to it is my clock app?\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 9, 'created_utc': 1610752665}"}
{"id":"877713","text":"Title: Avoiding the \"god object\" in UI design.\nThe text below was posted in an online community called javahelp in the year 2013:\n\n**TL;DR** - Can anyone recommend a good, practical book on object design aimed at someone with basic proficiency in programming... particularly one that takes GUI design into account?\n\n**\"Long form\" question --**\nThis may be a more general question, but I'm currently using Java. \n\nI feel like I do a pretty good job of modelling data in an extensible way, but whenever I design a GUI in Java (primarily Swing), I always end up coding all of my objects to link to a central object (usually the root frame). It has the drawback of making that root frame WAY TOO POWERFUL, but always seems more economical than passing 4 or 5 references to a newly instantiated object. Since the GUI presents itself as a single entity that knows everything about the program at all times, it's difficult to conceive of an object design that doesn't mirror this. \n\nFor instance, I currently have multiple tables in a JTabbedPane. Options in the menu bar can affect the active table, or every table. As a result, the only way I've been able to think of coding those menu actions is by doing them in the root frame (since it has easy access to all of the tables). The only alternative I can think of (traversing the up containers until I hit the JTabbedPane) seems just as flawed as passing everything through the root pane.  \n\nI'm not going to inflict my source code on anyone here, but can someone recommend a text that they believe addresses this kind of concern, or tackles the problem of good object design in general? I have a CS background, but I learned programming just as OOP was coming into dominance, so I've always \"known just enough to shoot myself in the foot\"","meta":"{'source': 'reddit_posts', 'id': '17gipq', 'title': 'Avoiding the \"god object\" in UI design.', 'author': 'claypigeon-alleg', 'subreddit': 'javahelp', 'subreddit_id': '2t1jq', 'body': '**TL;DR** - Can anyone recommend a good, practical book on object design aimed at someone with basic proficiency in programming... particularly one that takes GUI design into account?\\n\\n**\"Long form\" question --**\\nThis may be a more general question, but I\\'m currently using Java. \\n\\nI feel like I do a pretty good job of modelling data in an extensible way, but whenever I design a GUI in Java (primarily Swing), I always end up coding all of my objects to link to a central object (usually the root frame). It has the drawback of making that root frame WAY TOO POWERFUL, but always seems more economical than passing 4 or 5 references to a newly instantiated object. Since the GUI presents itself as a single entity that knows everything about the program at all times, it\\'s difficult to conceive of an object design that doesn\\'t mirror this. \\n\\nFor instance, I currently have multiple tables in a JTabbedPane. Options in the menu bar can affect the active table, or every table. As a result, the only way I\\'ve been able to think of coding those menu actions is by doing them in the root frame (since it has easy access to all of the tables). The only alternative I can think of (traversing the up containers until I hit the JTabbedPane) seems just as flawed as passing everything through the root pane.  \\n\\nI\\'m not going to inflict my source code on anyone here, but can someone recommend a text that they believe addresses this kind of concern, or tackles the problem of good object design in general? I have a CS background, but I learned programming just as OOP was coming into dominance, so I\\'ve always \"known just enough to shoot myself in the foot\"', 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 11, 'created_utc': 1359414789}"}
{"id":"1723981","text":"Title: New to programming for game design. Where to start and what to recommend?\nThe text below was posted in an online community called learnprogramming in the year 2016:\n\nFirst off I want to mention that I did read the FAQ and thank you for taking the time to help me through this.\n\ntl;dr\nSuggest to me a programming language for 2d\/3d game design that has extensive tutorials, resources, and exercises that I can experience hands on, and please give me somewhere to begin.\n\n--\n\nSo a little backstory,\nI've been working at making video games since I was young. I have picked up some talents over the years from graphics and sound design to narrative writing, everything I need except programming. \nSince I was never good at math, and still aren't, I would make use of programs like RPG Maker or Gamemaker's drag and drop systems. When I did need something programmed I'd look for pre-existing scripts or trade my talents in exchange for what I needed.\nBeing an adult with less free time on my hands I don't have the same connections or luxuries anymore, I'd try to start projects with old friends of mine just to come short because life gets in the way on both ends.\nThis is why I would like to learn a programming language, from scratch with very little understanding on how it works. Mostly I am torn between learning Javascript, Python, and C#.\nI'm looking for something that has extensive support, resources, and exercises I can complete as I learn, as well as something that can support both 2D and basic 3D. \nI am sort of familiar with Gamemaker, though it uses it's own GML language, but I'm also open to Unity, Construct, and other engines.\nI would be grateful if anyone can provide me with a recommendation, a starting place, and a general explanation on the pros\/cons it would have compared to other languages.\n\nThanks in advance.","meta":"{'source': 'reddit_posts', 'id': '5g7mmr', 'title': 'New to programming for game design. Where to start and what to recommend?', 'author': 'Toa5trmuffin', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': \"First off I want to mention that I did read the FAQ and thank you for taking the time to help me through this.\\n\\ntl;dr\\nSuggest to me a programming language for 2d\/3d game design that has extensive tutorials, resources, and exercises that I can experience hands on, and please give me somewhere to begin.\\n\\n--\\n\\nSo a little backstory,\\nI've been working at making video games since I was young. I have picked up some talents over the years from graphics and sound design to narrative writing, everything I need except programming. \\nSince I was never good at math, and still aren't, I would make use of programs like RPG Maker or Gamemaker's drag and drop systems. When I did need something programmed I'd look for pre-existing scripts or trade my talents in exchange for what I needed.\\nBeing an adult with less free time on my hands I don't have the same connections or luxuries anymore, I'd try to start projects with old friends of mine just to come short because life gets in the way on both ends.\\nThis is why I would like to learn a programming language, from scratch with very little understanding on how it works. Mostly I am torn between learning Javascript, Python, and C#.\\nI'm looking for something that has extensive support, resources, and exercises I can complete as I learn, as well as something that can support both 2D and basic 3D. \\nI am sort of familiar with Gamemaker, though it uses it's own GML language, but I'm also open to Unity, Construct, and other engines.\\nI would be grateful if anyone can provide me with a recommendation, a starting place, and a general explanation on the pros\/cons it would have compared to other languages.\\n\\nThanks in advance.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1480735464}"}
{"id":"49836","text":"Title: How can I improve this code so that it works?\nThe text below was posted in an online community called learnpython in the year 2019:\n\ndef str_find(s: str, t: str) -&gt; int:\n        \"\"\"\n        &gt;&gt;&gt;str_find('dogscats', 'cats')\n        4\n        &gt;&gt;&gt;str_find('dogscats', 'horse')\n        -1\n        \"\"\"\n        for i in len(s):\n            if s[i] == t[i]:\n                return i \n            elif s[i] != t[i] and (i &lt; len(s) -1):\n                i = i + 1 \n        else:\n            return -1\n            \n\nError:\n\nTraceback (most recent call last):\n\n  Python Shell, prompt 2, line 1\n\n\\# Used internally for debug sandbox under external interpreter\n\n  File \"\/Users\/RebeccaLevi\/str\\_find.py\", line 8, in &lt;module&gt;\n\nfor i in len(s):\n\nbuiltins.TypeError: 'int' object is not iterable","meta":"{'source': 'reddit_posts', 'id': 'bfs1vo', 'title': 'How can I improve this code so that it works?', 'author': 'msbecca445', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': 'def str_find(s: str, t: str) -&gt; int:\\n        \"\"\"\\n        &gt;&gt;&gt;str_find(\\'dogscats\\', \\'cats\\')\\n        4\\n        &gt;&gt;&gt;str_find(\\'dogscats\\', \\'horse\\')\\n        -1\\n        \"\"\"\\n        for i in len(s):\\n            if s[i] == t[i]:\\n                return i \\n            elif s[i] != t[i] and (i &lt; len(s) -1):\\n                i = i + 1 \\n        else:\\n            return -1\\n            \\n\\nError:\\n\\nTraceback (most recent call last):\\n\\n  Python Shell, prompt 2, line 1\\n\\n\\\\# Used internally for debug sandbox under external interpreter\\n\\n  File \"\/Users\/RebeccaLevi\/str\\\\_find.py\", line 8, in &lt;module&gt;\\n\\nfor i in len(s):\\n\\nbuiltins.TypeError: \\'int\\' object is not iterable', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 4, 'created_utc': 1555871998}"}
{"id":"818256","text":"Title: Best place to learn Data Structures and Algorithms\nThe text below was posted in an online community called learnpython in the year 2020:\n\nHi guys, I am learning python on my own from a month and facing lot of problem in solving the problem with in time. So I understood that I have to get a good at data structures and algorithms and watched bunch of videos and understood the concept of what are sorts but I am unable to write my own code for sorting using python. Are there any good resources for learning Data Structures and Algorithms ?It is becoming stupid that I could solve the problem linearly but couldn't do it in time for larger input cases and its frustrating.","meta":"{'source': 'reddit_posts', 'id': 'el7y0b', 'title': 'Best place to learn Data Structures and Algorithms', 'author': 'NishithShowri', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': \"Hi guys, I am learning python on my own from a month and facing lot of problem in solving the problem with in time. So I understood that I have to get a good at data structures and algorithms and watched bunch of videos and understood the concept of what are sorts but I am unable to write my own code for sorting using python. Are there any good resources for learning Data Structures and Algorithms ?It is becoming stupid that I could solve the problem linearly but couldn't do it in time for larger input cases and its frustrating.\", 'body_is_trimmed': False, 'score': 184, 'over_18': False, 'num_comments': 53, 'created_utc': 1578380158}"}
{"id":"330530","text":"Title: fluentassert - a prototype of yet another assertion library\nThe text below was posted in an online community called golang in the year 2021:\n\nHello,\n\nToday morning I woke up with an idea to create an assertion library with a more user-friendly and extensible API than other popular libraries. Here is the prototype: [https:\/\/github.com\/pellared\/fluentassert](https:\/\/github.com\/pellared\/fluentassert)\n\nPlease resist commenting like \"*we do not need anything more than the standard library\"* and compare it with other libraries like:\n\n* [https:\/\/github.com\/stretchr\/testify](https:\/\/github.com\/stretchr\/testify)\n* [https:\/\/github.com\/onsi\/gomega](https:\/\/github.com\/onsi\/gomega)\n* [https:\/\/github.com\/smartystreets\/assertions](https:\/\/github.com\/smartystreets\/assertions)\n* [https:\/\/github.com\/matryer\/is](https:\/\/github.com\/matryer\/is)\n* [https:\/\/github.com\/go-playground\/assert](https:\/\/github.com\/go-playground\/assert)\n* [https:\/\/github.com\/corbym\/gocrest](https:\/\/github.com\/corbym\/gocrest)\n* any other that are worth mentioning by I am not aware of...\n\nThanks in advance :)","meta":"{'source': 'reddit_posts', 'id': 'mf218e', 'title': 'fluentassert - a prototype of yet another assertion library', 'author': 'pellared', 'subreddit': 'golang', 'subreddit_id': '2rc7j', 'body': 'Hello,\\n\\nToday morning I woke up with an idea to create an assertion library with a more user-friendly and extensible API than other popular libraries. Here is the prototype: [https:\/\/github.com\/pellared\/fluentassert](https:\/\/github.com\/pellared\/fluentassert)\\n\\nPlease resist commenting like \"*we do not need anything more than the standard library\"* and compare it with other libraries like:\\n\\n* [https:\/\/github.com\/stretchr\/testify](https:\/\/github.com\/stretchr\/testify)\\n* [https:\/\/github.com\/onsi\/gomega](https:\/\/github.com\/onsi\/gomega)\\n* [https:\/\/github.com\/smartystreets\/assertions](https:\/\/github.com\/smartystreets\/assertions)\\n* [https:\/\/github.com\/matryer\/is](https:\/\/github.com\/matryer\/is)\\n* [https:\/\/github.com\/go-playground\/assert](https:\/\/github.com\/go-playground\/assert)\\n* [https:\/\/github.com\/corbym\/gocrest](https:\/\/github.com\/corbym\/gocrest)\\n* any other that are worth mentioning by I am not aware of...\\n\\nThanks in advance :)', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 3, 'created_utc': 1616942471}"}
{"id":"219094","text":"Title: Brand new Apple Watch 4 down to less than half battery time after 5.3.1\nThe text below was posted in an online community called AppleWatch in the year 2019:\n\nAs the title says. Ive made no changes to the watch in the past 48 hours other than the update. My battery wont go beyond 8-12 hours with MINIMAL usage. Any ideas? Thanks.","meta":"{'source': 'reddit_posts', 'id': 'cz5gqx', 'title': 'Brand new Apple Watch 4 down to less than half battery time after 5.3.1', 'author': 'LegionXL', 'subreddit': 'AppleWatch', 'subreddit_id': '2wav7', 'body': 'As the title says. Ive made no changes to the watch in the past 48 hours other than the update. My battery wont go beyond 8-12 hours with MINIMAL usage. Any ideas? Thanks.', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 13, 'created_utc': 1567520245}"}
{"id":"775701","text":"Title: PDO prepared statement not working, please advise\nThe text below was posted in an online community called PHPhelp in the year 2021:\n\nHello, I have been spending 1hour+ looking at the code and I can't figure out why it doesn't work and am seeking advice here rather than ripping my hair off.\n\nI am just trying to write a php script to create some tables in MySQL.\n\nThe below code doesn't create any jay94@example.com. Why is it?\n```\n\/\/prepared statement to execute for table creation\n$query = \"CREATE TABLE IF NOT EXISTS :table (:columns)\";\n$stmt = $dbh-&gt;prepare($query);\n$stmt-&gt;bindParam(\":table\", $table, PDO888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4PARAM_STR);\n$stmt-&gt;bindParam(\":columns\", $columns, PDO888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4PARAM_STR);\n\n\/\/creating the members table\n$table = \"members\";\n$columns = \"user VARCHAR(20), password VARCHAR(20), INDEX(user(5))\";\n\ntry {\n  $stmt-&gt;execute();\n} catch (Exception $ex) {\n    echo \"Exception: \".$ex-&gt;getMessage(); }\n\/*\n$sql = \"CREATE TABLE IF NOT EXISTS $table ($columns)\";\n$dbh-&gt;query($sql);*\/\necho \"Table $table now in database \". DB_NAME. \"&lt;br&gt;\";\n```\nWhen I comment out the prepared stmt and use a straight query, it works and table created, so there is nothing wrong with $dbh.\n```\n\/\/prepared statement to execute for table creation\n\/* \n$query = \"CREATE TABLE IF NOT EXISTS :table (:columns)\";\n$stmt = $dbh-&gt;prepare($query);\n$stmt-&gt;bindParam(\":table\", $table, PDO888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4PARAM_STR);\n$stmt-&gt;bindParam(\":columns\", $columns, PDO888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4PARAM_STR);\n*\/\n\/\/creating the members table\n$table = \"members\";\n$columns = \"user VARCHAR(20), password VARCHAR(20), INDEX(user(5))\";\n\/*\ntry {\n  $stmt-&gt;execute();\n} catch (Exception $ex) {\n    echo \"Exception: \".$ex-&gt;getMessage(); }\n*\/\n$sql = \"CREATE TABLE IF NOT EXISTS $table ($columns)\";\n$dbh-&gt;query($sql);\necho \"Table $table now in database \". DB_NAME. \"&lt;br&gt;\";\n```","meta":"{'source': 'reddit_posts', 'id': 'or7kt8', 'title': 'PDO prepared statement not working, please advise', 'author': 'deanstreetlab', 'subreddit': 'PHPhelp', 'subreddit_id': '2rhbw', 'body': 'Hello, I have been spending 1hour+ looking at the code and I can\\'t figure out why it doesn\\'t work and am seeking advice here rather than ripping my hair off.\\n\\nI am just trying to write a php script to create some tables in MySQL.\\n\\nThe below code doesn\\'t create any table at all. Why is it?\\n```\\n\/\/prepared statement to execute for table creation\\n$query = \"CREATE TABLE IF NOT EXISTS :table (:columns)\";\\n$stmt = $dbh-&gt;prepare($query);\\n$stmt-&gt;bindParam(\":table\", $table, PDO::PARAM_STR);\\n$stmt-&gt;bindParam(\":columns\", $columns, PDO::PARAM_STR);\\n\\n\/\/creating the members table\\n$table = \"members\";\\n$columns = \"user VARCHAR(20), password VARCHAR(20), INDEX(user(5))\";\\n\\ntry {\\n  $stmt-&gt;execute();\\n} catch (Exception $ex) {\\n    echo \"Exception: \".$ex-&gt;getMessage(); }\\n\/*\\n$sql = \"CREATE TABLE IF NOT EXISTS $table ($columns)\";\\n$dbh-&gt;query($sql);*\/\\necho \"Table $table now in database \". DB_NAME. \"&lt;br&gt;\";\\n```\\nWhen I comment out the prepared stmt and use a straight query, it works and table created, so there is nothing wrong with $dbh.\\n```\\n\/\/prepared statement to execute for table creation\\n\/* \\n$query = \"CREATE TABLE IF NOT EXISTS :table (:columns)\";\\n$stmt = $dbh-&gt;prepare($query);\\n$stmt-&gt;bindParam(\":table\", $table, PDO::PARAM_STR);\\n$stmt-&gt;bindParam(\":columns\", $columns, PDO::PARAM_STR);\\n*\/\\n\/\/creating the members table\\n$table = \"members\";\\n$columns = \"user VARCHAR(20), password VARCHAR(20), INDEX(user(5))\";\\n\/*\\ntry {\\n  $stmt-&gt;execute();\\n} catch (Exception $ex) {\\n    echo \"Exception: \".$ex-&gt;getMessage(); }\\n*\/\\n$sql = \"CREATE TABLE IF NOT EXISTS $table ($columns)\";\\n$dbh-&gt;query($sql);\\necho \"Table $table now in database \". DB_NAME. \"&lt;br&gt;\";\\n```', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 7, 'created_utc': 1627200145}"}
{"id":"1847645","text":"Title: Q: How can I code the following project?\nThe text below was posted in an online community called learnpython in the year 2019:\n\nHi fellow Python learners,\n\nI am a Business Major(25), so I don't have a strong math background, though finance skill is pretty fine. So, I want to dive into  tech and trying to learn code and later on statistics and probability. (though I am following a class called: software design with Python and C for a semester \\^\\_\\^, very happy about that)\n\nPython level: beginner\n\n&amp;#x200B;\n\n**IDEA**\n\nSo, I realised the best way is to learn coding by doing projects and solving problems. I would like to build a simple  budget tool that can tell me what my average daily expenses have been on the last 30 days.\n\nWhat I would like to have is the following:\n\n*Shortly explained*\n\n&amp;#x200B;\n\n**Input**:\n\n\\- expenses by the day, such as: groceries, food, transport, impulsive buys etc. (variable expenses basically) by category, description and amount\n\n**blackbox**:\n\n\\- it needs to have a daily expense amount by default (i.e. $15 p\/day $450 p\/month), so it can tell me later on by what amount\/% per day\/month, I surpassed that amount.\n\n\\- the code script itself obviously\n\n**Output**:\n\n\\- my total spending over the last month and difference with the default in $\/%.\n\n(i.e. $540(total expenses last month)- $450(default) = $ 90 \/ + 20%\n\n\\- continuous line of my **average** daily expenses and difference with the default in $\/%.(i.e. $18(total expense of the day)-$15(default) = $3 \/ + 20%) on 17th march\n\nSidenote: month = 365 \/ 12 of course\n\nExtra: it would be even cooler if I could first enter my variable income for the month. Then take off fixed costs such as: rent, insurances, subscriptions etc. and determine what % I would like use as disposable income. Perhaps, maybe even do something with forecasting.\n\nGoal: to see what my daily expenses are in the last 30 days, example: if I would do a impulsive buy for lets say $50, then how this effect my average spending in the last 30 days and to show me by how much $\/% I surpassed my daily\/monthly  disposable income.\n\n&amp;#x200B;\n\n**Question**: where do I start and how can code this (I am talking about general advice\/explanation such as which concepts to use, which modules, which functions etc.)\n\n&amp;#x200B;\n\nI have a feeling that I underestimate the scale of this project, since it would need to store the data somehow and that I would need to fill it in everyday(perhaps if I forget it for a day or few, it can go ahead and auto-fill the default amount). Though, I like challenges. So, I don't mind investing time into it.\n\nOf course any additional ideas or feedbacks to the project is more than welcome. This whole idea might not even make sense, in that case don't hesitate to ask if things are unclear.\n\n&amp;#x200B;\n\nThanks\n\n&amp;#x200B;\n\n&amp;#x200B;","meta":"{'source': 'reddit_posts', 'id': 'b22zqk', 'title': 'Q: How can I code the following project?', 'author': 'Keremsah1', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': \"Hi fellow Python learners,\\n\\nI am a Business Major(25), so I don't have a strong math background, though finance skill is pretty fine. So, I want to dive into  tech and trying to learn code and later on statistics and probability. (though I am following a class called: software design with Python and C for a semester \\\\^\\\\_\\\\^, very happy about that)\\n\\nPython level: beginner\\n\\n&amp;#x200B;\\n\\n**IDEA**\\n\\nSo, I realised the best way is to learn coding by doing projects and solving problems. I would like to build a simple  budget tool that can tell me what my average daily expenses have been on the last 30 days.\\n\\nWhat I would like to have is the following:\\n\\n*Shortly explained*\\n\\n&amp;#x200B;\\n\\n**Input**:\\n\\n\\\\- expenses by the day, such as: groceries, food, transport, impulsive buys etc. (variable expenses basically) by category, description and amount\\n\\n**blackbox**:\\n\\n\\\\- it needs to have a daily expense amount by default (i.e. $15 p\/day $450 p\/month), so it can tell me later on by what amount\/% per day\/month, I surpassed that amount.\\n\\n\\\\- the code script itself obviously\\n\\n**Output**:\\n\\n\\\\- my total spending over the last month and difference with the default in $\/%.\\n\\n(i.e. $540(total expenses last month)- $450(default) = $ 90 \/ + 20%\\n\\n\\\\- continuous line of my **average** daily expenses and difference with the default in $\/%.(i.e. $18(total expense of the day)-$15(default) = $3 \/ + 20%) on 17th march\\n\\nSidenote: month = 365 \/ 12 of course\\n\\nExtra: it would be even cooler if I could first enter my variable income for the month. Then take off fixed costs such as: rent, insurances, subscriptions etc. and determine what % I would like use as disposable income. Perhaps, maybe even do something with forecasting.\\n\\nGoal: to see what my daily expenses are in the last 30 days, example: if I would do a impulsive buy for lets say $50, then how this effect my average spending in the last 30 days and to show me by how much $\/% I surpassed my daily\/monthly  disposable income.\\n\\n&amp;#x200B;\\n\\n**Question**: where do I start and how can code this (I am talking about general advice\/explanation such as which concepts to use, which modules, which functions etc.)\\n\\n&amp;#x200B;\\n\\nI have a feeling that I underestimate the scale of this project, since it would need to store the data somehow and that I would need to fill it in everyday(perhaps if I forget it for a day or few, it can go ahead and auto-fill the default amount). Though, I like challenges. So, I don't mind investing time into it.\\n\\nOf course any additional ideas or feedbacks to the project is more than welcome. This whole idea might not even make sense, in that case don't hesitate to ask if things are unclear.\\n\\n&amp;#x200B;\\n\\nThanks\\n\\n&amp;#x200B;\\n\\n&amp;#x200B;\", 'body_is_trimmed': False, 'score': 25, 'over_18': False, 'num_comments': 10, 'created_utc': 1552809717}"}
{"id":"891146","text":"Title: [N] Stable Diffusion reaches new record (with explanation + colab link)\nThe text below was posted in an online community called MachineLearning in the year 2022:\n\nStable Diffusion in the [diffusers](https:\/\/github.com\/huggingface\/diffusers) library became x3 times faster thanks to a set of optimizations tips, some of which require minimal code changes, making it the fastest implementation of Stable Diffusion out there!\n\nYou can now generate 3 images of size 512x512 with 50 steps in less than 26 seconds - *beating the* [*Keras' implementation*](https:\/\/keras.io\/guides\/keras_cv\/generate_images_with_stable_diffusion\/https:\/\/keras.io\/guides\/keras_cv\/generate_images_with_stable_diffusion\/). All you have to do is run [this notebook in free colab](https:\/\/colab.research.google.com\/drive\/1ZKW9pdE_mFdAXdM3YZjxMUeaEn0SxeJz?usp=sharing).\n\nThe best thing about these optimisations is that they work for most Deep Learning models (as long as you're using Pytorch), so feel free to try them on other models as well!\n\nTo understand better how these optimisations work, you can check either:\n\n* This [recent tweet](https:\/\/twitter.com\/Nouamanetazi\/status\/1576959648912973826) explaining the optimisations made\n* The diffusers library [docs](https:\/\/huggingface.co\/docs\/diffusers\/main\/en\/optimization\/fp16) about optimisation\n\n&amp;#x200B;\n\n[Generating 3 images with 50 steps takes less than 26 seconds on colab's Tesla T4](https:\/\/preview.redd.it\/f5rfv3deemr91.png?width=2498&amp;format=png&amp;auto=webp&amp;s=acacc347470d7c637f69b30543ff1cf6f584f3c9)","meta":"{'source': 'reddit_posts', 'id': 'xuojma', 'title': '[N] Stable Diffusion reaches new record (with explanation + colab link)', 'author': 'Norlax_42', 'subreddit': 'MachineLearning', 'subreddit_id': '2r3gv', 'body': \"Stable Diffusion in the [diffusers](https:\/\/github.com\/huggingface\/diffusers) library became x3 times faster thanks to a set of optimizations tips, some of which require minimal code changes, making it the fastest implementation of Stable Diffusion out there!\\n\\nYou can now generate 3 images of size 512x512 with 50 steps in less than 26 seconds - *beating the* [*Keras' implementation*](https:\/\/keras.io\/guides\/keras_cv\/generate_images_with_stable_diffusion\/https:\/\/keras.io\/guides\/keras_cv\/generate_images_with_stable_diffusion\/). All you have to do is run [this notebook in free colab](https:\/\/colab.research.google.com\/drive\/1ZKW9pdE_mFdAXdM3YZjxMUeaEn0SxeJz?usp=sharing).\\n\\nThe best thing about these optimisations is that they work for most Deep Learning models (as long as you're using Pytorch), so feel free to try them on other models as well!\\n\\nTo understand better how these optimisations work, you can check either:\\n\\n* This [recent tweet](https:\/\/twitter.com\/Nouamanetazi\/status\/1576959648912973826) explaining the optimisations made\\n* The diffusers library [docs](https:\/\/huggingface.co\/docs\/diffusers\/main\/en\/optimization\/fp16) about optimisation\\n\\n&amp;#x200B;\\n\\n[Generating 3 images with 50 steps takes less than 26 seconds on colab's Tesla T4](https:\/\/preview.redd.it\/f5rfv3deemr91.png?width=2498&amp;format=png&amp;auto=webp&amp;s=acacc347470d7c637f69b30543ff1cf6f584f3c9)\", 'body_is_trimmed': False, 'score': 91, 'over_18': False, 'num_comments': 11, 'created_utc': 1664815297}"}
{"id":"2045858","text":"Title: Amazing CSS Using Blend Modes\nThe text below was posted in an online community called Frontend in the year 2022:\n\nThis excellent article ([Holograms, light-leaks and how to build CSS-only shaders by Robb Owen](https:\/\/robbowen.digital\/wrote-about\/css-blend-mode-shaders\/)) a co-worker sent me on fancy, *practical* CSS tricks. He shows the fancy, but he also shows the break-down of each layer and how you can create similar effects. If you've played with Photoshop blend modes and love the power they give, this is definitely an article worth reading.","meta":"{'source': 'reddit_posts', 'id': 'vubn8v', 'title': 'Amazing CSS Using Blend Modes', 'author': 'Made-of-Clay', 'subreddit': 'Frontend', 'subreddit_id': '2sr2y', 'body': \"This excellent article ([Holograms, light-leaks and how to build CSS-only shaders by Robb Owen](https:\/\/robbowen.digital\/wrote-about\/css-blend-mode-shaders\/)) a co-worker sent me on fancy, *practical* CSS tricks. He shows the fancy, but he also shows the break-down of each layer and how you can create similar effects. If you've played with Photoshop blend modes and love the power they give, this is definitely an article worth reading.\", 'body_is_trimmed': False, 'score': 16, 'over_18': False, 'num_comments': 4, 'created_utc': 1657289334}"}
{"id":"999164","text":"Title: PSA: You need to use RetroPie2.5 Beta on the Raspi2\nThe text below was posted in an online community called raspberry_pi in the year 2015:\n\nRetroPie Version 2.3 does NOT work on Raspberry Pi 2.\n\nYou therefore need to use the beta version. (v2.5)\n\nhttp:\/\/blog.petrockblock.com\/retropie\/retropie-downloads\/download-info\/retropie-sd-card-image-v2-4-2-beta\/\n\nYou may be thinking \"hurrrr that's obvious\", but i've just spent last last few hours downloading, checking hashes and scratching my head trying to work out exactly why it wouldn't boot\n\nfacepalm","meta":"{'source': 'reddit_posts', 'id': '2w6cyy', 'title': 'PSA: You need to use RetroPie2.5 Beta on the Raspi2', 'author': 'henry82', 'subreddit': 'raspberry_pi', 'subreddit_id': '2syto', 'body': 'RetroPie Version 2.3 does NOT work on Raspberry Pi 2.\\n\\nYou therefore need to use the beta version. (v2.5)\\n\\nhttp:\/\/blog.petrockblock.com\/retropie\/retropie-downloads\/download-info\/retropie-sd-card-image-v2-4-2-beta\/\\n\\nYou may be thinking \"hurrrr that\\'s obvious\", but i\\'ve just spent last last few hours downloading, checking hashes and scratching my head trying to work out exactly why it wouldn\\'t boot\\n\\nfacepalm', 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 14, 'created_utc': '1424163443'}"}
{"id":"43815","text":"Title: JVM Fails to start aborting Fatal Exception\nThe text below was posted in an online community called javahelp in the year 2014:\n\nHi. I am experiencing a problem with a java program that fails to start if I have 1024m set in the Xmx flag to the JVM. If I half that value to 512 it's working good and no Fatal Excetion is occuring.\n\nThe problem is that the application is unusable with only 512m in Xmx value.\n\nSince it starts with 512m and not with 1024m I persume that the JVM fails to allocate the 1024m and there for aborts and crashes.\n\nWhen I check my taskmanager I see the following:\nPhysical Memory (MB)\nTotal: 3476\nCached: 1739\nAvalible: 2016\nFree: 339\n\nIt seems like there is enough memory avalible for the JVM to take or how is this working? Is JVM only going for the 339 Option?\n\nThanks anyone whom may assist","meta":"{'source': 'reddit_posts', 'id': '2g2kv4', 'title': 'JVM Fails to start aborting Fatal Exception', 'author': 'naffut', 'subreddit': 'javahelp', 'subreddit_id': '2t1jq', 'body': \"Hi. I am experiencing a problem with a java program that fails to start if I have 1024m set in the Xmx flag to the JVM. If I half that value to 512 it's working good and no Fatal Excetion is occuring.\\n\\nThe problem is that the application is unusable with only 512m in Xmx value.\\n\\nSince it starts with 512m and not with 1024m I persume that the JVM fails to allocate the 1024m and there for aborts and crashes.\\n\\nWhen I check my taskmanager I see the following:\\nPhysical Memory (MB)\\nTotal: 3476\\nCached: 1739\\nAvalible: 2016\\nFree: 339\\n\\nIt seems like there is enough memory avalible for the JVM to take or how is this working? Is JVM only going for the 339 Option?\\n\\nThanks anyone whom may assist\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': '1410405961'}"}
{"id":"1503950","text":"Title: Help to create automated script for LAMP\nThe text below was posted in an online community called bash in the year 2022:\n\nHi All,\n\nThese are my steps i generally follow when i create a new LAMP server can you help me automate it and any advise to better it ?\n\n    \n    Install LAMP (Apache, MariaDB, PHP)\n    \n        sudo apt install apache2 mariadb-server php libapache2-mod-php php-mysql -y\n    \n    Secure MySQL (MariaDB)\n        sudo mysql_secure_installation (n,y,y,y,y,y do i really need to do this ?) - look up &lt;&lt; EOF command to automate steps\n    \n    \n    Setup new virtual directory to host website.\n    \n        sudo mkdir \/var\/www\/webapp\n        sudo chown -R $USER:$USER \/var\/www\/webapp\/\n        sudo nano \/etc\/apache2\/sites-available\/webapp.conf\n    \n        ADD THIS TO CONF FILE:\n        ----------------------\n        &lt;VirtualHost *:80&gt;\n            DocumentRoot \/var\/www\/webapp\n            ServerName webapp.com\n        &lt;\/VirtualHost&gt;\n        ----------------------\n        \n        sudo a2ensite webapp\n        sudo a2dissite 000-default\n        sudo apache2ctl configtest\n    \n    If you get something like \"AH00558: Could not reliably determine the server's fully qualified domain name\" do next command\n    \n        sudo nano \/etc\/apache2\/apache2.conf\n    \n    First line in conf add \"ServerName 83.161.120.155\"\n    \n        sudo apache2ctl configtest\n    \n    I deleted all except index.php.    \n    \n        sudo nano \/etc\/apache2\/mods-enabled\/dir.conf \n    \n    If you dont want to see\\show the apache version on the error pages do the following.\n    \n        sudo nano \/etc\/apache2\/apache2.conf OR sudo nano \/etc\/apache2\/conf-available\/security.conf\n        - add\\modify ServerTokens Prod\n        - add\\modify ServerSignature Off\n    \n    Restart the services.    \n        sudo systemctl reload apache2","meta":"{'source': 'reddit_posts', 'id': 'v7j9n5', 'title': 'Help to create automated script for LAMP', 'author': 'mr_pavle_stojanovic', 'subreddit': 'bash', 'subreddit_id': '2qh2d', 'body': 'Hi All,\\n\\nThese are my steps i generally follow when i create a new LAMP server can you help me automate it and any advise to better it ?\\n\\n    \\n    Install LAMP (Apache, MariaDB, PHP)\\n    \\n        sudo apt install apache2 mariadb-server php libapache2-mod-php php-mysql -y\\n    \\n    Secure MySQL (MariaDB)\\n        sudo mysql_secure_installation (n,y,y,y,y,y do i really need to do this ?) - look up &lt;&lt; EOF command to automate steps\\n    \\n    \\n    Setup new virtual directory to host website.\\n    \\n        sudo mkdir \/var\/www\/webapp\\n        sudo chown -R $USER:$USER \/var\/www\/webapp\/\\n        sudo nano \/etc\/apache2\/sites-available\/webapp.conf\\n    \\n        ADD THIS TO CONF FILE:\\n        ----------------------\\n        &lt;VirtualHost *:80&gt;\\n            DocumentRoot \/var\/www\/webapp\\n            ServerName webapp.com\\n        &lt;\/VirtualHost&gt;\\n        ----------------------\\n        \\n        sudo a2ensite webapp\\n        sudo a2dissite 000-default\\n        sudo apache2ctl configtest\\n    \\n    If you get something like \"AH00558: Could not reliably determine the server\\'s fully qualified domain name\" do next command\\n    \\n        sudo nano \/etc\/apache2\/apache2.conf\\n    \\n    First line in conf add \"ServerName 127.0.0.1\"\\n    \\n        sudo apache2ctl configtest\\n    \\n    I deleted all except index.php.    \\n    \\n        sudo nano \/etc\/apache2\/mods-enabled\/dir.conf \\n    \\n    If you dont want to see\\\\show the apache version on the error pages do the following.\\n    \\n        sudo nano \/etc\/apache2\/apache2.conf OR sudo nano \/etc\/apache2\/conf-available\/security.conf\\n        - add\\\\modify ServerTokens Prod\\n        - add\\\\modify ServerSignature Off\\n    \\n    Restart the services.    \\n        sudo systemctl reload apache2', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 10, 'created_utc': 1654671601}"}
{"id":"2266677","text":"Title: Purism Releases Hardware Schematics for Librem 5 Linux Phone\nThe text below was posted in an online community called linux in the year 2019:\n\nhttps:\/\/puri.sm\/posts\/a-different-kind-of-transparency\/\n\nWhat do you think? How momentous is this? Is this the start of a new era for smartphones? What do you think of Purisms design? Why are they having issues with heat? What will it take to fix it?","meta":"{'source': 'reddit_posts', 'id': 'e581b8', 'title': 'Purism Releases Hardware Schematics for Librem 5 Linux Phone', 'author': 'On3KI9oC9I7ERmJI', 'subreddit': 'linux', 'subreddit_id': '2qh1a', 'body': 'https:\/\/puri.sm\/posts\/a-different-kind-of-transparency\/\\n\\nWhat do you think? How momentous is this? Is this the start of a new era for smartphones? What do you think of Purisms design? Why are they having issues with heat? What will it take to fix it?', 'body_is_trimmed': False, 'score': 55, 'over_18': False, 'num_comments': 12, 'created_utc': 1575331070}"}
{"id":"169319","text":"Title: Does Node.js have something similar to .join from python?\nThe text below was posted in an online community called learnjavascript in the year 2022:\n\nhello guys, I am new to js and was wondering if you have something similar to  `.join` \n\nwhat `.join` does in python is basically it takes all the items in an iterable and joins them into one string \n\nfor example\n\n    list_1 = [\"1\", \"2\", \"3\", \"4\"]\n    print(\"hello\".join(list))\n    \n\nthe output would be:\n\n    1hello2hello3hello4\n\nsoo do you guys have something similar in js?","meta":"{'source': 'reddit_posts', 'id': 'x2gbpk', 'title': 'Does Node.js have something similar to .join from python?', 'author': 'pickle_eater123', 'subreddit': 'learnjavascript', 'subreddit_id': '2tugi', 'body': 'hello guys, I am new to js and was wondering if you have something similar to  `.join` \\n\\nwhat `.join` does in python is basically it takes all the items in an iterable and joins them into one string \\n\\nfor example\\n\\n    list_1 = [\"1\", \"2\", \"3\", \"4\"]\\n    print(\"hello\".join(list))\\n    \\n\\nthe output would be:\\n\\n    1hello2hello3hello4\\n\\nsoo do you guys have something similar in js?', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 13, 'created_utc': 1661959272}"}
{"id":"175735","text":"Title: Help on getting started with more advanced code\nThe text below was posted in an online community called Cplusplus in the year 2018:\n\nSo I am in an intro to programming course that requires us to learn C++ as our first language and recently discovered projecteuler.net \n\nAt what point do I need to reach so I can start solving these problems? I was thinking maybe after loops but I'm not entirely sure.","meta":"{'source': 'reddit_posts', 'id': '9evd3r', 'title': 'Help on getting started with more advanced code', 'author': 'JuanPRamirez', 'subreddit': 'Cplusplus', 'subreddit_id': '2qh6x', 'body': \"So I am in an intro to programming course that requires us to learn C++ as our first language and recently discovered projecteuler.net \\n\\nAt what point do I need to reach so I can start solving these problems? I was thinking maybe after loops but I'm not entirely sure.\", 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 10, 'created_utc': 1536650268}"}
{"id":"720489","text":"Title: ES6 \".bind(this)\" syntax in classes not working?\nThe text below was posted in an online community called reactjs in the year 2016:\n\nI've got a few components in RN (though it should be the same as React since it's using the same library) that are acting up. \n\nThey're not behaving the way I feel they used to. Here's the code:\n\n    class ItemCard extends Component {\n\n    _toggleDetails() {\n\n        this.context.mainNavigator.push({\n            name: r.ITEMDETAILS\n            , passProps: {\n                item: this.props.item\n            }\n        })\n    }\n\n\n    _shortDesc() {\n        const { description } = this.props.item;\n        return description.length &gt; 100 ? description.substr(0,98) + \"...\" : description\n    }\n\n    render() {\n        const {name, image_path, icon_path, item_id, sponsor, value, description, bid_amount, bid_increment, starting_bid} = this.props.item;\n        const imagePath = web_url + icon_path.substring(1);\n        console.log(\"http:\/\/localhost:3000\" + image_path.substring(1));\n\n        \/\/Get the item minimum bid amount\n\n        \/\/If the bid amount is less than the starting bid, the new bid amount is the starting bid\n        bidAmount = bid_amount &gt; starting_bid ? bid_amount : starting_bid;\n\n        \/\/The minimum bid is the bid amount plus the default increment\n        const minimum_bid = bid_amount + bid_increment;\n\n        return (\n            &lt;TouchableOpacity style={[styles.container, styles.touchable] } onPress={ this._toggleDetails.bind(this) }&gt;\n                    &lt;View style={styles.preview}&gt;\n                        &lt;ItemImage image_path={imagePath}\/&gt;\n                    &lt;\/View&gt;\n                    &lt;View style={styles.details}&gt;\n                        &lt;Text style={styles.name}&gt;{name}&lt;\/Text&gt;\n                        &lt;Text style={styles.description}&gt;{this._shortDesc.bind(this)}&lt;\/Text&gt;\n                    &lt;\/View&gt;\n            &lt;\/TouchableOpacity&gt;\n        )\n    }\n    }\n\nfor _shortDesc(), I want it to get the item from this.props and if it's over 100 characters, truncate it and add \"...\" to it.\n\nIn the return statement of render(), I have this:\n\n    &lt;Text style={styles.description}&gt;{this._shortDesc.bind(this)}&lt;\/Text&gt;\n\nThis outputs nothing to the screen. If I pretend it's a curried function and do the following:\n\n    &lt;Text style={styles.description}&gt;{this._shortDesc.bind(this)()}&lt;\/Text&gt;\n\nit then works, but if I do that on some kind of onPress (or onClick in React), it gets ran right away, upon rendering instead of onPress\/onClick.\n\nDo I have some fundamentally flawed idea of how binding works in es6?","meta":"{'source': 'reddit_posts', 'id': '4m7nph', 'title': 'ES6 \".bind(this)\" syntax in classes not working?', 'author': 'natdm', 'subreddit': 'reactjs', 'subreddit_id': '2zldd', 'body': 'I\\'ve got a few components in RN (though it should be the same as React since it\\'s using the same library) that are acting up. \\n\\nThey\\'re not behaving the way I feel they used to. Here\\'s the code:\\n\\n    class ItemCard extends Component {\\n\\n    _toggleDetails() {\\n\\n        this.context.mainNavigator.push({\\n            name: r.ITEMDETAILS\\n            , passProps: {\\n                item: this.props.item\\n            }\\n        })\\n    }\\n\\n\\n    _shortDesc() {\\n        const { description } = this.props.item;\\n        return description.length &gt; 100 ? description.substr(0,98) + \"...\" : description\\n    }\\n\\n    render() {\\n        const {name, image_path, icon_path, item_id, sponsor, value, description, bid_amount, bid_increment, starting_bid} = this.props.item;\\n        const imagePath = web_url + icon_path.substring(1);\\n        console.log(\"http:\/\/localhost:3000\" + image_path.substring(1));\\n\\n        \/\/Get the item minimum bid amount\\n\\n        \/\/If the bid amount is less than the starting bid, the new bid amount is the starting bid\\n        bidAmount = bid_amount &gt; starting_bid ? bid_amount : starting_bid;\\n\\n        \/\/The minimum bid is the bid amount plus the default increment\\n        const minimum_bid = bid_amount + bid_increment;\\n\\n        return (\\n            &lt;TouchableOpacity style={[styles.container, styles.touchable] } onPress={ this._toggleDetails.bind(this) }&gt;\\n                    &lt;View style={styles.preview}&gt;\\n                        &lt;ItemImage image_path={imagePath}\/&gt;\\n                    &lt;\/View&gt;\\n                    &lt;View style={styles.details}&gt;\\n                        &lt;Text style={styles.name}&gt;{name}&lt;\/Text&gt;\\n                        &lt;Text style={styles.description}&gt;{this._shortDesc.bind(this)}&lt;\/Text&gt;\\n                    &lt;\/View&gt;\\n            &lt;\/TouchableOpacity&gt;\\n        )\\n    }\\n    }\\n\\nfor _shortDesc(), I want it to get the item from this.props and if it\\'s over 100 characters, truncate it and add \"...\" to it.\\n\\nIn the return statement of render(), I have this:\\n\\n    &lt;Text style={styles.description}&gt;{this._shortDesc.bind(this)}&lt;\/Text&gt;\\n\\nThis outputs nothing to the screen. If I pretend it\\'s a curried function and do the following:\\n\\n    &lt;Text style={styles.description}&gt;{this._shortDesc.bind(this)()}&lt;\/Text&gt;\\n\\nit then works, but if I do that on some kind of onPress (or onClick in React), it gets ran right away, upon rendering instead of onPress\/onClick.\\n\\nDo I have some fundamentally flawed idea of how binding works in es6?', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 12, 'created_utc': 1464880776}"}
{"id":"2020125","text":"Title: It's 2022, shouldn't it be easier to ship to different game stores?\nThe text below was posted in an online community called gamedev in the year 2022:\n\nI'm over here thinking about this as I get ready to launch my own game. Some stores are pretty easy to get into, while others are highly curated\/hard to know how to even get onto and then there's the build review process, which is a bit all over the place. Curation is a good thing for most that can take full advantage of it, so I'm not going to knock on that here. \n\n[Steam](https:\/\/store.steampowered.com\/) \\- Pretty easy, as long as you have $100, to at least get a store page up. The review process of a build especially after all these years feels slightly cumbersome and slow. It's reasonably easy to get a build up onto Steam via a GUI application, command line or zip if 1GB or less).\n\n[Epic Games Store](https:\/\/www.epicgames.com\/store\/en-US\/) \\- Used to be hard to get onto this, but with their self-publishing beta going on now, it's slightly easier to at least try to get the game on there. Now I got on there before this, but looking at their [docs](https:\/\/dev.epicgames.com\/docs\/services\/en-US\/EpicGamesStore\/PublishingTools\/index.html), instead of 1 on 1 with the delivery teams via email, you're doing it all yourself, like on Steam. Right now, the only way to upload a build is via command-line AFAIK. Not terribly hard once you have a few batch files set up though. Quick review process. \n\n[Itch.io](https:\/\/Itch.io) \\- Super easy and free to create a store page and also to upload something. It has a GUI, command-line, and is also uploadable via the website. There are size restrictions though in some spots. No review process.\n\n[Gamejolt](https:\/\/gamejolt.com\/) \\- So, a few things have [changed](https:\/\/twitter.com\/gamejolt\/status\/1478139980757172229) since I first launched my store page on there, so this may be old news, but it was basically like Itch, free and easy. AFAIK, the only way to upload builds is via the website. No review process.\n\n[Humble](https:\/\/www.humblebundle.com\/store) \\- It was pretty easy to get a store page there. I actually just remembered I had a store there (oops), so I don't know about the review process for builds. Unknown review process.\n\n[Gog](https:\/\/www.gog.com\/) \\- I tried to submit here a bunch of times, sadly no response and obviously no knowledge on the process. Looking at their other indie games, it does feel like my game would be fine on their store. But seems to be pretty hard to get thomascrystal@example.net. Unknown review process.\n\nConsoles are something else entirely. But all 3 have the same basic process, they are somewhat selective in who they take. The issue with them will be the need to purchase dev kits (unless in the case of ID@Xbox). But in the context of this discussion, I am not really thinking about them. \n\nI might have also failed to post other stores that I may be unaware of. \n\nSo what do you think? \n\nShould stores be thinking about making it easier for folks to get on to their stores (or if declined, maybe with a reason or at least some email reply)?\n\nShould there be better tools to upload games onto the store themselves (I prefer GUI apps myself)?\n\nShould the review process be streamlined as much as possible or if there are too many games trying to launch, increasing reviewer numbers to compensate, to get through it faster?","meta":"{'source': 'reddit_posts', 'id': 'rz8h6y', 'title': \"It's 2022, shouldn't it be easier to ship to different game stores?\", 'author': 'VictorBurgos', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': \"I'm over here thinking about this as I get ready to launch my own game. Some stores are pretty easy to get into, while others are highly curated\/hard to know how to even get onto and then there's the build review process, which is a bit all over the place. Curation is a good thing for most that can take full advantage of it, so I'm not going to knock on that here. \\n\\n[Steam](https:\/\/store.steampowered.com\/) \\\\- Pretty easy, as long as you have $100, to at least get a store page up. The review process of a build especially after all these years feels slightly cumbersome and slow. It's reasonably easy to get a build up onto Steam via a GUI application, command line or zip if 1GB or less).\\n\\n[Epic Games Store](https:\/\/www.epicgames.com\/store\/en-US\/) \\\\- Used to be hard to get onto this, but with their self-publishing beta going on now, it's slightly easier to at least try to get the game on there. Now I got on there before this, but looking at their [docs](https:\/\/dev.epicgames.com\/docs\/services\/en-US\/EpicGamesStore\/PublishingTools\/index.html), instead of 1 on 1 with the delivery teams via email, you're doing it all yourself, like on Steam. Right now, the only way to upload a build is via command-line AFAIK. Not terribly hard once you have a few batch files set up though. Quick review process. \\n\\n[Itch.io](https:\/\/Itch.io) \\\\- Super easy and free to create a store page and also to upload something. It has a GUI, command-line, and is also uploadable via the website. There are size restrictions though in some spots. No review process.\\n\\n[Gamejolt](https:\/\/gamejolt.com\/) \\\\- So, a few things have [changed](https:\/\/twitter.com\/gamejolt\/status\/1478139980757172229) since I first launched my store page on there, so this may be old news, but it was basically like Itch, free and easy. AFAIK, the only way to upload builds is via the website. No review process.\\n\\n[Humble](https:\/\/www.humblebundle.com\/store) \\\\- It was pretty easy to get a store page there. I actually just remembered I had a store there (oops), so I don't know about the review process for builds. Unknown review process.\\n\\n[Gog](https:\/\/www.gog.com\/) \\\\- I tried to submit here a bunch of times, sadly no response and obviously no knowledge on the process. Looking at their other indie games, it does feel like my game would be fine on their store. But seems to be pretty hard to get into at all. Unknown review process.\\n\\nConsoles are something else entirely. But all 3 have the same basic process, they are somewhat selective in who they take. The issue with them will be the need to purchase dev kits (unless in the case of ID@Xbox). But in the context of this discussion, I am not really thinking about them. \\n\\nI might have also failed to post other stores that I may be unaware of. \\n\\nSo what do you think? \\n\\nShould stores be thinking about making it easier for folks to get on to their stores (or if declined, maybe with a reason or at least some email reply)?\\n\\nShould there be better tools to upload games onto the store themselves (I prefer GUI apps myself)?\\n\\nShould the review process be streamlined as much as possible or if there are too many games trying to launch, increasing reviewer numbers to compensate, to get through it faster?\", 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 6, 'created_utc': 1641671987}"}
{"id":"1198333","text":"Title: Is it possible to have different sets of extensions to be mapped for different devices?\nThe text below was posted in an online community called firefox in the year 2020:\n\nI'm looking to have one extension to only be enabled on one device but not on other devices. Does anyone know if this is possible? Thanks.","meta":"{'source': 'reddit_posts', 'id': 'hj47b2', 'title': 'Is it possible to have different sets of extensions to be mapped for different devices?', 'author': 'omke', 'subreddit': 'firefox', 'subreddit_id': '2qh4p', 'body': \"I'm looking to have one extension to only be enabled on one device but not on other devices. Does anyone know if this is possible? Thanks.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 3, 'created_utc': 1593581502}"}
{"id":"2282045","text":"Title: \/\/ BlockedTODO: GitHub app that opens a task in your backlog when a commented issue is closed\nThe text below was posted in an online community called rust in the year 2020:\n\n^(Link to repository)^(:) [^(https:\/\/github.com\/BlockedTODO\/BlockedTODO)](https:\/\/github.com\/BlockedTODO\/BlockedTODO)\n\nAround one month ago, [this post](https:\/\/www.reddit.com\/r\/rust\/comments\/gs9cgl\/blocked_convention_for_marking_code_as_being\/) proposing a convention for marking code as blocked by a rust issue gained a fair bit of traction on this subreddit.  \n\n\nToday, I am releasing a public beta for [BlockedTODO](https:\/\/github.com\/apps\/blockedtodo): a tool that tracks issues mentioned in code comments such as\n\n    \/\/ BlockedTODO: https:\/\/github.com\/rust-lang\/rust\/issues\/67302\n\nWhen a mentioned issue is closed, a bot will automatically open a new task on your backlog letting you know the issue is unblocked.\n\n&amp;#x200B;\n\nCheck out the [GitHub repository](https:\/\/github.com\/BlockedTODO\/BlockedTODO) for more information!","meta":"{'source': 'reddit_posts', 'id': 'hort4a', 'title': '\/\/ BlockedTODO: GitHub app that opens a task in your backlog when a commented issue is closed', 'author': 'dominicroystang', 'subreddit': 'rust', 'subreddit_id': '2s7lj', 'body': '^(Link to repository)^(:) [^(https:\/\/github.com\/BlockedTODO\/BlockedTODO)](https:\/\/github.com\/BlockedTODO\/BlockedTODO)\\n\\nAround one month ago, [this post](https:\/\/www.reddit.com\/r\/rust\/comments\/gs9cgl\/blocked_convention_for_marking_code_as_being\/) proposing a convention for marking code as blocked by a rust issue gained a fair bit of traction on this subreddit.  \\n\\n\\nToday, I am releasing a public beta for [BlockedTODO](https:\/\/github.com\/apps\/blockedtodo): a tool that tracks issues mentioned in code comments such as\\n\\n    \/\/ BlockedTODO: https:\/\/github.com\/rust-lang\/rust\/issues\/67302\\n\\nWhen a mentioned issue is closed, a bot will automatically open a new task on your backlog letting you know the issue is unblocked.\\n\\n&amp;#x200B;\\n\\nCheck out the [GitHub repository](https:\/\/github.com\/BlockedTODO\/BlockedTODO) for more information!', 'body_is_trimmed': False, 'score': 35, 'over_18': False, 'num_comments': 4, 'created_utc': 1594397725}"}
{"id":"2181920","text":"Title: Dual-homed BGP and two firewalls\nThe text below was posted in an online community called networking in the year 2018:\n\nHow would you handle routing in this scenario with BGP to two ISPs (full table) and then sites in two different locations separated by few hundred miles:\n\n[https:\/\/snag.gy\/PmjM13.jpg](https:\/\/snag.gy\/PmjM13.jpg)\n\nI'd like the site A to use ISP 1 and site B ISP 2, users have private addresses that would be NAT'd to an IP addresses on the firewalls so the return traffic would go back to the right firewall.\n\nWhat I'm wondering is how to manage the routing in our core, as it's the same VRF in both sites. How would I have site B routers to send traffic towards internet via site B fw and not site A, which by usual iBGP rules would be selected (it has lower IP address).\n\nCurrently we have chosen site A as the primary site and all the traffic goes through firewall in site A. It's working but not optimal, as some routes are learnt better from ISP B and then the traffic comes back to site B and goes to the ISP.\n\nAny ideas? Thanks!\n\nEdit: BGP everywhere of course ;) between FW and core too.","meta":"{'source': 'reddit_posts', 'id': '8rluob', 'title': 'Dual-homed BGP and two firewalls', 'author': 'PublicSectorJohnDoe', 'subreddit': 'networking', 'subreddit_id': '2qkaf', 'body': \"How would you handle routing in this scenario with BGP to two ISPs (full table) and then sites in two different locations separated by few hundred miles:\\n\\n[https:\/\/snag.gy\/PmjM13.jpg](https:\/\/snag.gy\/PmjM13.jpg)\\n\\nI'd like the site A to use ISP 1 and site B ISP 2, users have private addresses that would be NAT'd to an IP addresses on the firewalls so the return traffic would go back to the right firewall.\\n\\nWhat I'm wondering is how to manage the routing in our core, as it's the same VRF in both sites. How would I have site B routers to send traffic towards internet via site B fw and not site A, which by usual iBGP rules would be selected (it has lower IP address).\\n\\nCurrently we have chosen site A as the primary site and all the traffic goes through firewall in site A. It's working but not optimal, as some routes are learnt better from ISP B and then the traffic comes back to site B and goes to the ISP.\\n\\nAny ideas? Thanks!\\n\\nEdit: BGP everywhere of course ;) between FW and core too.\", 'body_is_trimmed': False, 'score': 60, 'over_18': False, 'num_comments': 40, 'created_utc': 1529179206}"}
{"id":"326205","text":"Title: Noob question: For playing just 1 looped animation, do I need to create an animation controller everytime?\nThe text below was posted in an online community called Unity3D in the year 2022:\n\nHi everyone,\n\nI'm adding some simple objects in my game that have only 1 animation. The animation is looped and there aren't any other animation for it. Is there a faster way to play this animation  than create an animator + animation controller?\n\nThanks for your help !","meta":"{'source': 'reddit_posts', 'id': 'wncc2y', 'title': 'Noob question: For playing just 1 looped animation, do I need to create an animation controller everytime?', 'author': 'tomakorea', 'subreddit': 'Unity3D', 'subreddit_id': '2qwj8', 'body': \"Hi everyone,\\n\\nI'm adding some simple objects in my game that have only 1 animation. The animation is looped and there aren't any other animation for it. Is there a faster way to play this animation  than create an animator + animation controller?\\n\\nThanks for your help !\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 3, 'created_utc': 1660390153}"}
{"id":"117540","text":"Title: Best Way for Son to Learn BASH\nThe text below was posted in an online community called bash in the year 2019:\n\nWhat's the best way for my son to learn BASH?  He's computer curious and I would like to see him advance his skills, and it's so easy to move ahead without the command line.  Anyone have and effective ways to get a kids (13 years old) started?    \n\n\nIdeally, I'd like to see him implement something as a part of the learning.  Also, he uses WINDOWS (10) and MacOS.  Thanks.","meta":"{'source': 'reddit_posts', 'id': 'e69bny', 'title': 'Best Way for Son to Learn BASH', 'author': 'scottmwebber', 'subreddit': 'bash', 'subreddit_id': '2qh2d', 'body': \"What's the best way for my son to learn BASH?  He's computer curious and I would like to see him advance his skills, and it's so easy to move ahead without the command line.  Anyone have and effective ways to get a kids (13 years old) started?    \\n\\n\\nIdeally, I'd like to see him implement something as a part of the learning.  Also, he uses WINDOWS (10) and MacOS.  Thanks.\", 'body_is_trimmed': False, 'score': 14, 'over_18': False, 'num_comments': 28, 'created_utc': 1575507951}"}
{"id":"1664430","text":"Title: What is faster internal HDD or External SSD w\/ thunderbolt\nThe text below was posted in an online community called mac in the year 2014:\n\nTrying to decide on getting 256 flash internal and a 1TB external thunderbolt connected SSD \n\nVs \n\n1 internal 1TB fusion. \n\nI know one is about 256 more storage ... But in regards to speed? \n\nI have been reading and it appears a thunderbolt is faster than eSATA. Even though it's external. \n\nThoughts?","meta":"{'source': 'reddit_posts', 'id': '287uoe', 'title': 'What is faster internal HDD or External SSD w\/ thunderbolt', 'author': 'Mvila0909', 'subreddit': 'mac', 'subreddit_id': '2qh4u', 'body': \"Trying to decide on getting 256 flash internal and a 1TB external thunderbolt connected SSD \\n\\nVs \\n\\n1 internal 1TB fusion. \\n\\nI know one is about 256 more storage ... But in regards to speed? \\n\\nI have been reading and it appears a thunderbolt is faster than eSATA. Even though it's external. \\n\\nThoughts?\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 19, 'created_utc': '1402857300'}"}
{"id":"2086156","text":"Title: [QUESTION] Is there any anti revokes working for ios 12 and below?\nThe text below was posted in an online community called ios in the year 2019:\n\nI have tried nothx,lazarus but theyre interface is the same and its not working. Theyre used to be nesstool from tutuapp and xtender from appvalley but now theyre gone. Does anybody know an anti revoke that works? Thanks!","meta":"{'source': 'reddit_posts', 'id': 'af6ryj', 'title': '[QUESTION] Is there any anti revokes working for ios 12 and below?', 'author': 'Space_blobb', 'subreddit': 'ios', 'subreddit_id': '2ru5b', 'body': 'I have tried nothx,lazarus but theyre interface is the same and its not working. Theyre used to be nesstool from tutuapp and xtender from appvalley but now theyre gone. Does anybody know an anti revoke that works? Thanks!', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 10, 'created_utc': 1547294388}"}
{"id":"985033","text":"Title: Would love some Shared-screen local Multiplayer Techniques and Resources\nThe text below was posted in an online community called Unity3D in the year 2016:\n\nI am a beginner using Unity, and I was curious the techniques and resources that would show me how to create a way for players to join a local game all using the same computer. \n\nThe players would run the game, join the game, choose a character, and they then press a button to \"ready up\", then it will start when all players are ready.\n\nAre there good tutorials for this? Is the best way to do this to set up a local server? I am not familiar with the way Unity handles multiplayer, so any help would be appreciative. \n\nThank you!","meta":"{'source': 'reddit_posts', 'id': '54lrir', 'title': 'Would love some Shared-screen local Multiplayer Techniques and Resources', 'author': 'filmmaker3000', 'subreddit': 'Unity3D', 'subreddit_id': '2qwj8', 'body': 'I am a beginner using Unity, and I was curious the techniques and resources that would show me how to create a way for players to join a local game all using the same computer. \\n\\nThe players would run the game, join the game, choose a character, and they then press a button to \"ready up\", then it will start when all players are ready.\\n\\nAre there good tutorials for this? Is the best way to do this to set up a local server? I am not familiar with the way Unity handles multiplayer, so any help would be appreciative. \\n\\nThank you!', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 2, 'created_utc': 1474910908}"}
{"id":"758108","text":"Title: Refactoring: Ruby Edition table location?\nThe text below was posted in an online community called ruby in the year 2019:\n\nHello, I've been reading the aforementioned book, and I'm on chapter 3 where it reads:\n\n&gt;You should use this chapter and the table on the inside back cover as a way to give you inspiration when you're not sure what refactorings to do. \n\nI'm currently reading this on [Safari Books Online](https:\/\/learning.oreilly.com), and I really can't find said table; Could anyone who has this book provide with a picture or screenshot of it?\n\n&amp;#x200B;\n\nThank you!","meta":"{'source': 'reddit_posts', 'id': 'b3l4jt', 'title': 'Refactoring: Ruby Edition table location?', 'author': 'reuwsaat', 'subreddit': 'ruby', 'subreddit_id': '2qh21', 'body': \"Hello, I've been reading the aforementioned book, and I'm on chapter 3 where it reads:\\n\\n&gt;You should use this chapter and the table on the inside back cover as a way to give you inspiration when you're not sure what refactorings to do. \\n\\nI'm currently reading this on [Safari Books Online](https:\/\/learning.oreilly.com), and I really can't find said table; Could anyone who has this book provide with a picture or screenshot of it?\\n\\n&amp;#x200B;\\n\\nThank you!\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 3, 'created_utc': 1553135700}"}
{"id":"1132106","text":"Title: Thoughts on my final project idea for CS?\nThe text below was posted in an online community called computerscience in the year 2019:\n\nHello everyone,\n\nI'll like to start off by mentioning that I am currently a CS student finishing up my first year of Computer Science. I have a strong interest in AI and machine learning. Although I still have a long way until I reach the final year of CS, I'll like to start brainstorming on some ideas on what I can make.\n\nOne of these project ideas is to learn how to train an object detection Classifier using TensorFlow (GPU). However, I'll like to hear from those who have the experience and knowledge to inform me whether or not this idea can be good option.\n\nThanks in advance! :)","meta":"{'source': 'reddit_posts', 'id': 'dwv3fs', 'title': 'Thoughts on my final project idea for CS?', 'author': 'SilentXwing', 'subreddit': 'computerscience', 'subreddit_id': '2qj8o', 'body': \"Hello everyone,\\n\\nI'll like to start off by mentioning that I am currently a CS student finishing up my first year of Computer Science. I have a strong interest in AI and machine learning. Although I still have a long way until I reach the final year of CS, I'll like to start brainstorming on some ideas on what I can make.\\n\\nOne of these project ideas is to learn how to train an object detection Classifier using TensorFlow (GPU). However, I'll like to hear from those who have the experience and knowledge to inform me whether or not this idea can be good option.\\n\\nThanks in advance! :)\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 2, 'created_utc': 1573843898}"}
{"id":"2114924","text":"Title: Discussion Thread: Why are you NOT going to purchase either the Nexus 4, 7, or 10?\nThe text below was posted in an online community called Android in the year 2012:\n\nI've been in the market for a new tablet (I'm a tablet virgin) and I've tried my best to evaluate all products out there at present to get the device that is best suited for me. \n\nI've held off on purchasing a tablet because I've yet to find one that fulfills my requirements, or they are too expensive, or they have some fundamental flaw that makes me hesitate about spending my cash dollars on a device. This might change with the Nexus 10, however, after having seen it and watched\/read everything that's been released on it so far. However, I'm not nearly 100% sold yet, mostly because I'm not convinced by the software as I am with its (amazing) hardware. \n\nIf the Google Play store begins showing signs of improvement in productivity applications for typing\/etc (I heard somewhere microsoft was going to release a version of Office for Android and iOS sometime in the future) which are tailored to the Nexus 10's resolution and for tablet use in general, and if bluetooth keyboard attachments make themselves available in the near future for a reasonable price and with good quality, then I will certainly buy this device.\n\nWhat about your thoughts? In the market for a new phone? Does the Nexus 4 meet your standards? What about the 7\" form factor? Does the 7 stand up to the mini in your eyes?\n\nLet's be respectful and discuss this with facts.","meta":"{'source': 'reddit_posts', 'id': '12cl1f', 'title': 'Discussion Thread: Why are you NOT going to purchase either the Nexus 4, 7, or 10?', 'author': 'livinglogic', 'subreddit': 'Android', 'subreddit_id': '2qlqh', 'body': 'I\\'ve been in the market for a new tablet (I\\'m a tablet virgin) and I\\'ve tried my best to evaluate all products out there at present to get the device that is best suited for me. \\n\\nI\\'ve held off on purchasing a tablet because I\\'ve yet to find one that fulfills my requirements, or they are too expensive, or they have some fundamental flaw that makes me hesitate about spending my cash dollars on a device. This might change with the Nexus 10, however, after having seen it and watched\/read everything that\\'s been released on it so far. However, I\\'m not nearly 100% sold yet, mostly because I\\'m not convinced by the software as I am with its (amazing) hardware. \\n\\nIf the Google Play store begins showing signs of improvement in productivity applications for typing\/etc (I heard somewhere microsoft was going to release a version of Office for Android and iOS sometime in the future) which are tailored to the Nexus 10\\'s resolution and for tablet use in general, and if bluetooth keyboard attachments make themselves available in the near future for a reasonable price and with good quality, then I will certainly buy this device.\\n\\nWhat about your thoughts? In the market for a new phone? Does the Nexus 4 meet your standards? What about the 7\" form factor? Does the 7 stand up to the mini in your eyes?\\n\\nLet\\'s be respectful and discuss this with facts.', 'body_is_trimmed': False, 'score': 9, 'over_18': False, 'num_comments': 90, 'created_utc': 1351620491}"}
{"id":"1106869","text":"Title: What is the language proficiency needed to contribute to open source\nThe text below was posted in an online community called learnprogramming in the year 2016:\n\nI have always been interested in compilers and languages but have never seriously done any project that is related to that. I saw a post on Hacker News where there was a contributer to the Swift compiler that was posting and so I took a look and saw it was in C++. Now here is my question: How well are you expected to know a language when you contribute to OSS? I took AP Computer Science in high school (15 years ago) that was C++ and took Optimized C++ in my grad program. Both were more C like (couldn't use \"new\" in optimized C++ because we needed to write our own malloc and always use that). Is this something that would be a \"just try it\" thing or are there typical guidelines?","meta":"{'source': 'reddit_posts', 'id': '4ldgh9', 'title': 'What is the language proficiency needed to contribute to open source', 'author': 'jhartwell', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'I have always been interested in compilers and languages but have never seriously done any project that is related to that. I saw a post on Hacker News where there was a contributer to the Swift compiler that was posting and so I took a look and saw it was in C++. Now here is my question: How well are you expected to know a language when you contribute to OSS? I took AP Computer Science in high school (15 years ago) that was C++ and took Optimized C++ in my grad program. Both were more C like (couldn\\'t use \"new\" in optimized C++ because we needed to write our own malloc and always use that). Is this something that would be a \"just try it\" thing or are there typical guidelines?', 'body_is_trimmed': False, 'score': 22, 'over_18': False, 'num_comments': 3, 'created_utc': 1464392670}"}
{"id":"587463","text":"Title: Mall vs spaghetti network\nThe text below was posted in an online community called factorio in the year 2020:\n\nTitle basically , I would like to ask you pros why do you make malls when you can stick a network chest at the end of each belt of an item you need and overproduce? \nIs there any benefit to having one except for cool points? (Its pretty cool got to admit)","meta":"{'source': 'reddit_posts', 'id': 'jyldmy', 'title': 'Mall vs spaghetti network', 'author': 'kostasmpyras', 'subreddit': 'factorio', 'subreddit_id': '2wabp', 'body': 'Title basically , I would like to ask you pros why do you make malls when you can stick a network chest at the end of each belt of an item you need and overproduce? \\nIs there any benefit to having one except for cool points? (Its pretty cool got to admit)', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 8, 'created_utc': 1606002776}"}
{"id":"365020","text":"Title: Dicitonary with similiar keys?\nThe text below was posted in an online community called learnpython in the year 2021:\n\nHey, I have a list of guids, and wanted to know if it is possible to nest them in a dictionary with similiar key, as I would need the following format be able to send a json command, (how) can this be achieved?\n\n    [\n    {'classificationItemId': {'guid': '1BCCB483-58DD-425B-8FBF-3357FCD892A6'}}, \n    {'classificationItemId': {'guid': '36287627-245B-4F33-909A-46E08801430E'}}, \n    {'classificationItemId': {'guid': 'E6C99046-F08C-411C-8CAA-4A260DF6BF1E'}}, \n    {'classificationItemId': {'guid': '0813D6D4-4C0B-4101-997C-3ABD67859239'}}, \n    {'classificationItemId': {'guid': '85056483-70BB-401D-9F93-ED7CE8CED464'}}, \n    {'classificationItemId': {'guid': '66894375-54C8-4885-90F0-1323388CFD0D'}}\n    ]","meta":"{'source': 'reddit_posts', 'id': 'lizvi3', 'title': 'Dicitonary with similiar keys?', 'author': 'SafetyCutRopeAxtMan', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': \"Hey, I have a list of guids, and wanted to know if it is possible to nest them in a dictionary with similiar key, as I would need the following format be able to send a json command, (how) can this be achieved?\\n\\n    [\\n    {'classificationItemId': {'guid': '1BCCB483-58DD-425B-8FBF-3357FCD892A6'}}, \\n    {'classificationItemId': {'guid': '36287627-245B-4F33-909A-46E08801430E'}}, \\n    {'classificationItemId': {'guid': 'E6C99046-F08C-411C-8CAA-4A260DF6BF1E'}}, \\n    {'classificationItemId': {'guid': '0813D6D4-4C0B-4101-997C-3ABD67859239'}}, \\n    {'classificationItemId': {'guid': '85056483-70BB-401D-9F93-ED7CE8CED464'}}, \\n    {'classificationItemId': {'guid': '66894375-54C8-4885-90F0-1323388CFD0D'}}\\n    ]\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 6, 'created_utc': 1613220123}"}
{"id":"348749","text":"Title: Can't download anything from pbs.twimg.com on private browsing\nThe text below was posted in an online community called firefox in the year 2020:\n\nI am unable to save anything from Twitter's server on private browsing since updating to the latest nightly (82.0a1 2020-08-26, Win version)\n\nWorks fine on normal windows though. Doesn't matter if I right click &gt; save as or Ctrl + S. Download just fails. If I go to about:downloads and retry then the download completes succesfully, but it gets very tiring doing this every time I download something.","meta":"{'source': 'reddit_posts', 'id': 'ih30fk', 'title': \"Can't download anything from pbs.twimg.com on private browsing\", 'author': 'aabbcc94', 'subreddit': 'firefox', 'subreddit_id': '2qh4p', 'body': \"I am unable to save anything from Twitter's server on private browsing since updating to the latest nightly (82.0a1 2020-08-26, Win version)\\n\\nWorks fine on normal windows though. Doesn't matter if I right click &gt; save as or Ctrl + S. Download just fails. If I go to about:downloads and retry then the download completes succesfully, but it gets very tiring doing this every time I download something.\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 5, 'created_utc': 1598462285}"}
{"id":"691255","text":"Title: Upcoming Application Help\nThe text below was posted in an online community called angularjs in the year 2017:\n\nSo, a client we have right now wants a website as well as a mobile app. We're gonna be developing their mobile app using ionic so we can use angular across the front end.\n\nIn your opinion. Since there is gonna be a lot of common JS like services and stuff. How would you guys do your dev flow?\n\nI think my game plan is to make all the common code it's own package and pull that package in in both the web app and the mobile app.\n\nDoes anyone have experience with such a workflow and if so, please give some pointers.","meta":"{'source': 'reddit_posts', 'id': '62lz5f', 'title': 'Upcoming Application Help', 'author': 'TheMostInvalidName', 'subreddit': 'angularjs', 'subreddit_id': '2ucjd', 'body': \"So, a client we have right now wants a website as well as a mobile app. We're gonna be developing their mobile app using ionic so we can use angular across the front end.\\n\\nIn your opinion. Since there is gonna be a lot of common JS like services and stuff. How would you guys do your dev flow?\\n\\nI think my game plan is to make all the common code it's own package and pull that package in in both the web app and the mobile app.\\n\\nDoes anyone have experience with such a workflow and if so, please give some pointers.\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 3, 'created_utc': 1490975230}"}
{"id":"2122834","text":"Title: Designing a Contact Merger app, need suggestions\nThe text below was posted in an online community called ios in the year 2016:\n\nHi all,\n\nI'm currently working on a multi sourced contact merging app, similar to Constant Contacts or FullContact.  The difference being that you do not upload the contacts back to the servers: you keep them on your device privately, or store then with iCloud.\n\nI have about 40 different sources that will be used ranging from Amazon all the way to QQ and beyond.  It will perform \"intelligent\" contact matching by e-mail, phone number, and by fuzzy name matching.\n\nAre there any specific features that you guys would want in the app in a 1.0 release?  I have graphics and assets ready to go, and will have an iPhone and iPad version available upon release.\n\nAlso, what price point would be fair for such an app?  Since it has multiple sources, these may be unlocked for a minimal fee, or I may just allow all sources to be unlocked at the start.\n\nI would appreciate any input, thank you!","meta":"{'source': 'reddit_posts', 'id': '4d3k7k', 'title': 'Designing a Contact Merger app, need suggestions', 'author': 'BitgateMobile', 'subreddit': 'ios', 'subreddit_id': '2ru5b', 'body': 'Hi all,\\n\\nI\\'m currently working on a multi sourced contact merging app, similar to Constant Contacts or FullContact.  The difference being that you do not upload the contacts back to the servers: you keep them on your device privately, or store then with iCloud.\\n\\nI have about 40 different sources that will be used ranging from Amazon all the way to QQ and beyond.  It will perform \"intelligent\" contact matching by e-mail, phone number, and by fuzzy name matching.\\n\\nAre there any specific features that you guys would want in the app in a 1.0 release?  I have graphics and assets ready to go, and will have an iPhone and iPad version available upon release.\\n\\nAlso, what price point would be fair for such an app?  Since it has multiple sources, these may be unlocked for a minimal fee, or I may just allow all sources to be unlocked at the start.\\n\\nI would appreciate any input, thank you!', 'body_is_trimmed': False, 'score': 12, 'over_18': False, 'num_comments': 7, 'created_utc': 1459634845}"}
{"id":"2052954","text":"Title: Determining the zodiac sign from two given integers, month (1-12) and day (1-31).\nThe text below was posted in an online community called javahelp in the year 2015:\n\nI have already done it, and it works, but I used a switch statement and my code is super long.\n\n[Here](http:\/\/pastebin.com\/wXhZWrCr) is my code.\n\nWhat would be a better way to approach this?\n\nThank you very much.\n\n[EDIT]\nHere is a sample run of the program:\n\nSample Run 1:\n\n    What month were you born in? (number)\n    9\n    What day? (number)\n    25\n    Your birthday is: September twenty-fifth\n    Libra\n    Horoscope: The man or woman you desire feels the same about you.","meta":"{'source': 'reddit_posts', 'id': '310uk0', 'title': 'Determining the zodiac sign from two given integers, month (1-12) and day (1-31).', 'author': '_skywalker', 'subreddit': 'javahelp', 'subreddit_id': '2t1jq', 'body': 'I have already done it, and it works, but I used a switch statement and my code is super long.\\n\\n[Here](http:\/\/pastebin.com\/wXhZWrCr) is my code.\\n\\nWhat would be a better way to approach this?\\n\\nThank you very much.\\n\\n[EDIT]\\nHere is a sample run of the program:\\n\\nSample Run 1:\\n\\n    What month were you born in? (number)\\n    9\\n    What day? (number)\\n    25\\n    Your birthday is: September twenty-fifth\\n    Libra\\n    Horoscope: The man or woman you desire feels the same about you.', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 5, 'created_utc': '1427866888'}"}
{"id":"1126362","text":"Title: Use Slack from Emacs?\nThe text below was posted in an online community called emacs in the year 2022:\n\nI chan check my mail and takes notes from Emacs, but I still have to switch applications to do all my work chats. Has anyone worked on a solution for using Slack from within emacs?","meta":"{'source': 'reddit_posts', 'id': 'y2kwav', 'title': 'Use Slack from Emacs?', 'author': 'SEgopher', 'subreddit': 'emacs', 'subreddit_id': '2qhwu', 'body': 'I chan check my mail and takes notes from Emacs, but I still have to switch applications to do all my work chats. Has anyone worked on a solution for using Slack from within emacs?', 'body_is_trimmed': False, 'score': 20, 'over_18': False, 'num_comments': 11, 'created_utc': 1665622381}"}
{"id":"1130664","text":"Title: Getting a job from a poor country\nThe text below was posted in an online community called cscareerquestions in the year 2016:\n\nI'll try make this short, I'm 2 months in programming, and while I wouldn't really try speeding up this fast, the situation at home is uncertain. So i'd like to be able to be at least employable on a junior level soon, by soon i mean in a few months.\n\n\nMy end goal would be to move to a better country, but for now I just want to not be dependent on my parents. \n\n\nSo the question is, how would you go about if you were me? Would you search for junior jobs locally, (the pay here is really bad), do freelance work(learn php and wordpres) or do normal minimum wage job to life off until you can get hired as a developer? \n\nAlso, how good do you have to be to be hired in another country and get a visa or citizenship? I'd love to move and would be nice to have a goal like that.","meta":"{'source': 'reddit_posts', 'id': '50dhph', 'title': 'Getting a job from a poor country', 'author': 'robertx33', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"I'll try make this short, I'm 2 months in programming, and while I wouldn't really try speeding up this fast, the situation at home is uncertain. So i'd like to be able to be at least employable on a junior level soon, by soon i mean in a few months.\\n\\n\\nMy end goal would be to move to a better country, but for now I just want to not be dependent on my parents. \\n\\n\\nSo the question is, how would you go about if you were me? Would you search for junior jobs locally, (the pay here is really bad), do freelance work(learn php and wordpres) or do normal minimum wage job to life off until you can get hired as a developer? \\n\\nAlso, how good do you have to be to be hired in another country and get a visa or citizenship? I'd love to move and would be nice to have a goal like that.\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 8, 'created_utc': 1472591797}"}
{"id":"625115","text":"Title: I'm having a hard time with tasks. Can you help?\nThe text below was posted in an online community called csharp in the year 2019:\n\nHi, I am trying to solve my problem literally for three days (edit: three days of trying and digging in stackoverflow) and I'm still not sure about some things (and one is not working).\n\nI'm trying to make LED strip controlling app and it should work like this:\n\nI have combobox with blinking modes (color cycle, strip breathing, music reacting etc.). When I select something, task containing while (true) is created and inside is loop which changes each LEDs color and then sends it to Arduino via serial. Then when I select another mode, cancellation token is set to cancel, and it should wait to loop end, then check token and throw from while (true). Then I initialize new cancellation token source and another task is created with new while (true).\n\nBut my problem is that I am really beginner in tasks and it currently works (partially) but if I try to fix one problem, I break it when I try to fix second problem which was connected to the first one :D\n\nMy current problem is in closing. I have Window\\_OnClosing and there I send StopTask (this works), and after that I call Dispatcher.Invoke which should fill entire LED strip with black color and then disconnect serial. That black filling loop works (if I put Console.WriteLine in there, I see that output, but serial just doesn't send anything).\n\nCan you please help me with this? I'd also be glad if you checked my code if everything is right. Now changing modes work, but you know, if everything is written as it should be\n\nI hope everything is understandable for you and I didn't forget anything. Thank you!\n\n    private async void MainWindow_OnClosing(object sender, CancelEventArgs e)\n            {\n                await Task.Run(() =&gt; _ledStrip.LightModes.Disconnect()); \/\/ without await Task.Run it exited before everything was done\n            }\n    \n    \/\/ Function for stopping task and THEN executing clear and close functions. await StopTask() works well and await is needed so it waits for task stop. This function is described below\n    internal void Disconnect()\n            {\n                Task.Run(async () =&gt; await StopTask()).ContinueWith(delegate\n                {\n                    Application.Current.Dispatcher.Invoke(delegate\n                    {\n                        if (_serial.IsOpen())\n                        {\n                            _serial.Clear(); \/\/ However this is and isn't working, see below\n                            _serial.Close();\n                        }\n                    });\n                });\n            }\n    \n    \/\/ _serial.Clear() function\n    public void Clear()\n            {\n                for (int i = 0; i &lt; StaticValues.NumLeds; i++)\n                {\n                    Write((byte)i, 0, 0, 0); \/\/ Nothing is sent to serial\n                    Console.WriteLine(\"asd\"); \/\/ BUT console write works, so this loop is executed\n                }\n            }\n    \n    \n    \/\/ Now not so relevant code, this is just for check if I have everything right\n    \n    \/\/ This is triggered when I select another mode in ComboBox\n    private void CbMode_OnSelectionChanged(object sender, SelectionChangedEventArgs e)\n            {\n                _ledStrip.LightModes.ChangeMode(CbMode.SelectedIndex);\n            }\n    \n    \/\/ This changes blinking mode\n    internal async void ChangeMode(int mode)\n            {\n                await StopTask(); \/\/ This is for cancelling currently running task, I had to put there await so it waits for initializing new cancellation token, because tasks were sometimes executed when token was still set to cancel -&gt; task not being started\n                switch (mode)\n                {\n                    case (int)Modes.Static:\n                        _modeTask = Static(_cancellationToken.Token);\n                        break;\n                    case (int)Modes.Breath:\n                        _modeTask = Breath(_cancellationToken.Token);\n                        break;\n                    case (int)Modes.Music:\n                        _modeTask = Music(_cancellationToken.Token);\n                        break;\n                    case (int)Modes.Cycle:\n                        _modeTask = Cycle(_cancellationToken.Token);\n                        break;\n                    case (int)Modes.TurnOff:\n                        _modeTask = TurnOff(_cancellationToken.Token);\n                        break;\n                }\n            }\n    \n    \/\/ This cancels current task\n    internal async Task StopTask()\n            {\n                if (_modeTask == null)\n                    return;\n    \n                _cancellationToken.Cancel();\n                try\n                {\n                    await _modeTask;\n                }\n                catch (TaskCanceledException ex)\n                {\n                    Console.WriteLine(ex.Message);\n                }\n                catch (OperationCanceledException ex)\n                {\n                    Console.WriteLine(ex.Message);\n                }\n                finally\n                {\n                    _cancellationToken.Dispose();\n                    _cancellationToken = new CancellationTokenSource();\n                }\n            }\n    \n    \/\/ One blinking mode task example. All others have same main logic - check token in the beginning, set each LEDs color (there are going to be more complex calculations instead of that foreach) and then send everything to Arduino. Is this OK?\n    internal async Task Static(CancellationToken cancellationToken)\n            {\n                while (true)\n                {\n                    cancellationToken.ThrowIfCancellationRequested();\n    \n                    foreach (var led in _ledStrip.Leds)\n                    {\n                        led.LedColor = Colors.Red;\n                    }\n    \n                    LightLeds();\n    \n                    await Task.Delay(1, cancellationToken); \/\/ without this delay UI becomes unresponsible. Why? This task just loops and blocks everything else.\n                }\n            }\n    \n    \/\/ Loop for sending all LED data to serial. It takes 7ms to send 4 bytes to 83 LEDs. I have to have it inside Task.Run, because my UI is not smooth without it (somehow, even while this is executed from another task. Why?)\n    internal void LightLeds()\n            {\n                if (!_serial.IsOpen())\n                    return;\n    \n                Task task = Task.Run(() =&gt; \n                {\n                    for (int i = 0; i &lt; StaticValues.NumLeds; i++)\n                    {\n                        _serial.Write((byte)i, _ledStrip.Leds[i].LedColor.R, _ledStrip.Leds[i].LedColor.G, _ledStrip.Leds[i].LedColor.B);\n                    }\n                });\n                task.ContinueWith(delegate { _serial.LightUp(); }); \/\/ One byte that lights up LED strip\n            }\n    \n    \/\/ Serial write function. _sp = SerialPort\n    public void Write(byte ledNumber, byte red, byte green, byte blue)\n            {\n                byte[] ledArray = new byte[4];\n    \n                ledArray[0] = ledNumber;\n                ledArray[1] = red;\n                ledArray[2] = green;\n                ledArray[3] = blue;\n    \n                _sp.Write(ledArray, 0, 4);\n            }\n\n&amp;#x200B;","meta":"{'source': 'reddit_posts', 'id': 'azfky4', 'title': \"I'm having a hard time with tasks. Can you help?\", 'author': 'TheSpixxyQ', 'subreddit': 'csharp', 'subreddit_id': '2qhdf', 'body': 'Hi, I am trying to solve my problem literally for three days (edit: three days of trying and digging in stackoverflow) and I\\'m still not sure about some things (and one is not working).\\n\\nI\\'m trying to make LED strip controlling app and it should work like this:\\n\\nI have combobox with blinking modes (color cycle, strip breathing, music reacting etc.). When I select something, task containing while (true) is created and inside is loop which changes each LEDs color and then sends it to Arduino via serial. Then when I select another mode, cancellation token is set to cancel, and it should wait to loop end, then check token and throw from while (true). Then I initialize new cancellation token source and another task is created with new while (true).\\n\\nBut my problem is that I am really beginner in tasks and it currently works (partially) but if I try to fix one problem, I break it when I try to fix second problem which was connected to the first one :D\\n\\nMy current problem is in closing. I have Window\\\\_OnClosing and there I send StopTask (this works), and after that I call Dispatcher.Invoke which should fill entire LED strip with black color and then disconnect serial. That black filling loop works (if I put Console.WriteLine in there, I see that output, but serial just doesn\\'t send anything).\\n\\nCan you please help me with this? I\\'d also be glad if you checked my code if everything is right. Now changing modes work, but you know, if everything is written as it should be\\n\\nI hope everything is understandable for you and I didn\\'t forget anything. Thank you!\\n\\n    private async void MainWindow_OnClosing(object sender, CancelEventArgs e)\\n            {\\n                await Task.Run(() =&gt; _ledStrip.LightModes.Disconnect()); \/\/ without await Task.Run it exited before everything was done\\n            }\\n    \\n    \/\/ Function for stopping task and THEN executing clear and close functions. await StopTask() works well and await is needed so it waits for task stop. This function is described below\\n    internal void Disconnect()\\n            {\\n                Task.Run(async () =&gt; await StopTask()).ContinueWith(delegate\\n                {\\n                    Application.Current.Dispatcher.Invoke(delegate\\n                    {\\n                        if (_serial.IsOpen())\\n                        {\\n                            _serial.Clear(); \/\/ However this is and isn\\'t working, see below\\n                            _serial.Close();\\n                        }\\n                    });\\n                });\\n            }\\n    \\n    \/\/ _serial.Clear() function\\n    public void Clear()\\n            {\\n                for (int i = 0; i &lt; StaticValues.NumLeds; i++)\\n                {\\n                    Write((byte)i, 0, 0, 0); \/\/ Nothing is sent to serial\\n                    Console.WriteLine(\"asd\"); \/\/ BUT console write works, so this loop is executed\\n                }\\n            }\\n    \\n    \\n    \/\/ Now not so relevant code, this is just for check if I have everything right\\n    \\n    \/\/ This is triggered when I select another mode in ComboBox\\n    private void CbMode_OnSelectionChanged(object sender, SelectionChangedEventArgs e)\\n            {\\n                _ledStrip.LightModes.ChangeMode(CbMode.SelectedIndex);\\n            }\\n    \\n    \/\/ This changes blinking mode\\n    internal async void ChangeMode(int mode)\\n            {\\n                await StopTask(); \/\/ This is for cancelling currently running task, I had to put there await so it waits for initializing new cancellation token, because tasks were sometimes executed when token was still set to cancel -&gt; task not being started\\n                switch (mode)\\n                {\\n                    case (int)Modes.Static:\\n                        _modeTask = Static(_cancellationToken.Token);\\n                        break;\\n                    case (int)Modes.Breath:\\n                        _modeTask = Breath(_cancellationToken.Token);\\n                        break;\\n                    case (int)Modes.Music:\\n                        _modeTask = Music(_cancellationToken.Token);\\n                        break;\\n                    case (int)Modes.Cycle:\\n                        _modeTask = Cycle(_cancellationToken.Token);\\n                        break;\\n                    case (int)Modes.TurnOff:\\n                        _modeTask = TurnOff(_cancellationToken.Token);\\n                        break;\\n                }\\n            }\\n    \\n    \/\/ This cancels current task\\n    internal async Task StopTask()\\n            {\\n                if (_modeTask == null)\\n                    return;\\n    \\n                _cancellationToken.Cancel();\\n                try\\n                {\\n                    await _modeTask;\\n                }\\n                catch (TaskCanceledException ex)\\n                {\\n                    Console.WriteLine(ex.Message);\\n                }\\n                catch (OperationCanceledException ex)\\n                {\\n                    Console.WriteLine(ex.Message);\\n                }\\n                finally\\n                {\\n                    _cancellationToken.Dispose();\\n                    _cancellationToken = new CancellationTokenSource();\\n                }\\n            }\\n    \\n    \/\/ One blinking mode task example. All others have same main logic - check token in the beginning, set each LEDs color (there are going to be more complex calculations instead of that foreach) and then send everything to Arduino. Is this OK?\\n    internal async Task Static(CancellationToken cancellationToken)\\n            {\\n                while (true)\\n                {\\n                    cancellationToken.ThrowIfCancellationRequested();\\n    \\n                    foreach (var led in _ledStrip.Leds)\\n                    {\\n                        led.LedColor = Colors.Red;\\n                    }\\n    \\n                    LightLeds();\\n    \\n                    await Task.Delay(1, cancellationToken); \/\/ without this delay UI becomes unresponsible. Why? This task just loops and blocks everything else.\\n                }\\n            }\\n    \\n    \/\/ Loop for sending all LED data to serial. It takes 7ms to send 4 bytes to 83 LEDs. I have to have it inside Task.Run, because my UI is not smooth without it (somehow, even while this is executed from another task. Why?)\\n    internal void LightLeds()\\n            {\\n                if (!_serial.IsOpen())\\n                    return;\\n    \\n                Task task = Task.Run(() =&gt; \\n                {\\n                    for (int i = 0; i &lt; StaticValues.NumLeds; i++)\\n                    {\\n                        _serial.Write((byte)i, _ledStrip.Leds[i].LedColor.R, _ledStrip.Leds[i].LedColor.G, _ledStrip.Leds[i].LedColor.B);\\n                    }\\n                });\\n                task.ContinueWith(delegate { _serial.LightUp(); }); \/\/ One byte that lights up LED strip\\n            }\\n    \\n    \/\/ Serial write function. _sp = SerialPort\\n    public void Write(byte ledNumber, byte red, byte green, byte blue)\\n            {\\n                byte[] ledArray = new byte[4];\\n    \\n                ledArray[0] = ledNumber;\\n                ledArray[1] = red;\\n                ledArray[2] = green;\\n                ledArray[3] = blue;\\n    \\n                _sp.Write(ledArray, 0, 4);\\n            }\\n\\n&amp;#x200B;', 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 13, 'created_utc': 1552224069}"}
{"id":"2126050","text":"Title: [RPi 2] Am I having power issues?\nThe text below was posted in an online community called raspberry_pi in the year 2016:\n\nSo, I setup a RPi as a media center with Openelec as a christmas present for my mother. Tested it the whole month of december not a single issue. Here's the setup:\n\n  + [This](http:\/\/support.toshiba.com\/support\/modelHome?freeText=3528907) external 2TB HDD (which has its own power supply)\n  + [This](http:\/\/www.tp-link.com\/lk\/products\/details\/cat-11_TL-WN821N.html) wifi adapter\n  + HDMI cable to the TV\n  + 5V 2A power supply\n\nConnected to the big TV (should be aroud 30\") in the living room, sometimes audio is not working, sometimes wifi is not working, other times everything works...\n\nWhat's going on?\n\n**EDIT:** Testing was done on a smaller tv, don't know if it matters...","meta":"{'source': 'reddit_posts', 'id': '5kyidd', 'title': '[RPi 2] Am I having power issues?', 'author': 'Kwbmm', 'subreddit': 'raspberry_pi', 'subreddit_id': '2syto', 'body': 'So, I setup a RPi as a media center with Openelec as a christmas present for my mother. Tested it the whole month of december not a single issue. Here\\'s the setup:\\n\\n  + [This](http:\/\/support.toshiba.com\/support\/modelHome?freeText=3528907) external 2TB HDD (which has its own power supply)\\n  + [This](http:\/\/www.tp-link.com\/lk\/products\/details\/cat-11_TL-WN821N.html) wifi adapter\\n  + HDMI cable to the TV\\n  + 5V 2A power supply\\n\\nConnected to the big TV (should be aroud 30\") in the living room, sometimes audio is not working, sometimes wifi is not working, other times everything works...\\n\\nWhat\\'s going on?\\n\\n**EDIT:** Testing was done on a smaller tv, don\\'t know if it matters...', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1483037933}"}
{"id":"1695040","text":"Title: HTC One on sale at bestbuy\nThe text below was posted in an online community called Android in the year 2013:\n\nhttp:\/\/imgur.com\/7OnqpuH\n\nVZW:49.99 \n\nSprint: 99.99\n\nATT:149.99\n\nWould this make it worth it to buy over the moto x?","meta":"{'source': 'reddit_posts', 'id': '1mf7cs', 'title': 'HTC One on sale at bestbuy', 'author': 'coonwhiz', 'subreddit': 'Android', 'subreddit_id': '2qlqh', 'body': 'http:\/\/imgur.com\/7OnqpuH\\n\\nVZW:49.99 \\n\\nSprint: 99.99\\n\\nATT:149.99\\n\\nWould this make it worth it to buy over the moto x?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 8, 'created_utc': 1379227813}"}
{"id":"1569981","text":"Title: Safari asks ONLY on facebook to leave this page\nThe text below was posted in an online community called MacOS in the year 2018:\n\nso since like two weeks or so facebook on my mac (browser is safari 11.0.3) always asks do i want to leave this page after i hit enter to login.  \n\ni get this message only on facebook and no other pages where i login, so its probably facebook-sided, is it?\n\nEDIT: Will report back if it happens in other browsers as soon as im back at work!","meta":"{'source': 'reddit_posts', 'id': '8erzs5', 'title': 'Safari asks ONLY on facebook to leave this page', 'author': 'DennisODIN', 'subreddit': 'MacOS', 'subreddit_id': '2s2gv', 'body': 'so since like two weeks or so facebook on my mac (browser is safari 11.0.3) always asks do i want to leave this page after i hit enter to login.  \\n\\ni get this message only on facebook and no other pages where i login, so its probably facebook-sided, is it?\\n\\nEDIT: Will report back if it happens in other browsers as soon as im back at work!', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 7, 'created_utc': 1524644908}"}
{"id":"1827768","text":"Title: Is it too late to find a summer internship?\nThe text below was posted in an online community called cscareerquestions in the year 2018:\n\nI'm a junior stats major doing very poorly this application season. If I start emailing companies directly do you think I can find something? I'm looking at anything in NYC, D.C., Chicago, Boston, and Phillie. \n\nBackground: Lots of R experience. I've been applying through linkedin, glassdoor, and university job postings but I have not been doing well.","meta":"{'source': 'reddit_posts', 'id': '88xgoq', 'title': 'Is it too late to find a summer internship?', 'author': 'sugarhilldt2', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"I'm a junior stats major doing very poorly this application season. If I start emailing companies directly do you think I can find something? I'm looking at anything in NYC, D.C., Chicago, Boston, and Phillie. \\n\\nBackground: Lots of R experience. I've been applying through linkedin, glassdoor, and university job postings but I have not been doing well.\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 6, 'created_utc': 1522652029}"}
{"id":"747625","text":"Title: Are there any plugins for Sublime that allows 'live previews' without having to save first?\nThe text below was posted in an online community called SublimeText in the year 2014:\n\nLiveReload is the most popular option, but you still need to save the file first for the changes to be pushed to the browser.\n\nAre there any alternatives for Sublime that offers a *true live* preview?\n\nI know Adobe Brackets does this wonderfully well, but I'm already vested in Sublime.\n\nThanks","meta":"{'source': 'reddit_posts', 'id': '1yj5g9', 'title': \"Are there any plugins for Sublime that allows 'live previews' without having to save first?\", 'author': 'p_k', 'subreddit': 'SublimeText', 'subreddit_id': '2syyf', 'body': \"LiveReload is the most popular option, but you still need to save the file first for the changes to be pushed to the browser.\\n\\nAre there any alternatives for Sublime that offers a *true live* preview?\\n\\nI know Adobe Brackets does this wonderfully well, but I'm already vested in Sublime.\\n\\nThanks\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 10, 'created_utc': '1392987316'}"}
{"id":"1353509","text":"Title: Help me with Pandas please (working with large data sheets).\nThe text below was posted in an online community called learnpython in the year 2015:\n\nLink to my \"problem\": https:\/\/www.reddit.com\/r\/learnpython\/comments\/3nygl2\/looking_for_help_to_improve_the_runtime_of_my_code\/\n\nThanks to \/u\/TheBlackCat13 I try getting familiar with Pandas, but I'm stuck right now with the pandas.concat method.\n\nI have to compare one line of sheet_1 with multiple lines of sheet_2 if the names are the same. So the worst case scenario is, that I got len(sheet_1)*len(sheet_2) lines to compare, but pd.concat returns me only len(sheet_1) lines.\n\nIs there another method for my problem?","meta":"{'source': 'reddit_posts', 'id': '3ofug1', 'title': 'Help me with Pandas please (working with large data sheets).', 'author': 'BOTzzz', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': 'Link to my \"problem\": https:\/\/www.reddit.com\/r\/learnpython\/comments\/3nygl2\/looking_for_help_to_improve_the_runtime_of_my_code\/\\n\\nThanks to \/u\/TheBlackCat13 I try getting familiar with Pandas, but I\\'m stuck right now with the pandas.concat method.\\n\\nI have to compare one line of sheet_1 with multiple lines of sheet_2 if the names are the same. So the worst case scenario is, that I got len(sheet_1)*len(sheet_2) lines to compare, but pd.concat returns me only len(sheet_1) lines.\\n\\nIs there another method for my problem?', 'body_is_trimmed': False, 'score': 10, 'over_18': False, 'num_comments': 8, 'created_utc': '1444649039'}"}
{"id":"1910487","text":"Title: OSX hangs after locking screen\nThe text below was posted in an online community called osx in the year 2014:\n\nHi guys, for the past few days my mbp has been hanging whenever I manually lock the screen for a while. I'm running mavericks with the latest updates. \n\nI lock the screen, after a while the screen timeouts and goes black, which is normal. But when I come back and press some keys or move the touchpad, it the screen wakes. But I can't type in my password and I'm not able to click on anything like shutdown or reboot in the lock screen. I can only move the mouse pointer. The only way so far I found was to hard reboot.\n\nPlease help if you have encountered the same and managed to solve it","meta":"{'source': 'reddit_posts', 'id': '262w3l', 'title': 'OSX hangs after locking screen', 'author': 'sympl', 'subreddit': 'osx', 'subreddit_id': '2qh3j', 'body': \"Hi guys, for the past few days my mbp has been hanging whenever I manually lock the screen for a while. I'm running mavericks with the latest updates. \\n\\nI lock the screen, after a while the screen timeouts and goes black, which is normal. But when I come back and press some keys or move the touchpad, it the screen wakes. But I can't type in my password and I'm not able to click on anything like shutdown or reboot in the lock screen. I can only move the mouse pointer. The only way so far I found was to hard reboot.\\n\\nPlease help if you have encountered the same and managed to solve it\", 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 11, 'created_utc': '1400633667'}"}
{"id":"291842","text":"Title: Quasar life span\nThe text below was posted in an online community called vuejs in the year 2017:\n\nWe tried out Quasar for a project a couple months ago and really liked it.  I'm worried that when I really like something, it'll ultimately pass into obscurity.  What's the likelihood of Quasar (or Vue for that matter) being around in a year or two?","meta":"{'source': 'reddit_posts', 'id': '6mfrrr', 'title': 'Quasar life span', 'author': 'benabus', 'subreddit': 'vuejs', 'subreddit_id': '38jhw', 'body': \"We tried out Quasar for a project a couple months ago and really liked it.  I'm worried that when I really like something, it'll ultimately pass into obscurity.  What's the likelihood of Quasar (or Vue for that matter) being around in a year or two?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 4, 'created_utc': 1499706154}"}
{"id":"2412975","text":"Title: New to Program, Have Basic Question\nThe text below was posted in an online community called AutoHotkey in the year 2016:\n\nHi there,\n\nI'm new to the program, but reading as much as possible.\n\nI have a problem that I can't quite figure out.\n\nI want to assign my \"W\" key to do this once when press W, in the span of about 100 milliseconds:\n\n- Send a \"spacebar down\"\n- While spacebar is down, send a left click mouse\n- Send an \"up spacebar\"","meta":"{'source': 'reddit_posts', 'id': '4k4pyv', 'title': 'New to Program, Have Basic Question', 'author': 'Doomsaw616', 'subreddit': 'AutoHotkey', 'subreddit_id': '2rodl', 'body': 'Hi there,\\n\\nI\\'m new to the program, but reading as much as possible.\\n\\nI have a problem that I can\\'t quite figure out.\\n\\nI want to assign my \"W\" key to do this once when press W, in the span of about 100 milliseconds:\\n\\n- Send a \"spacebar down\"\\n- While spacebar is down, send a left click mouse\\n- Send an \"up spacebar\"', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 3, 'created_utc': 1463691975}"}
{"id":"997866","text":"Title: A program for choosing the highest on multiple list\nThe text below was posted in an online community called learnpython in the year 2020:\n\nSo I want to write a program where two people make list and it pick the one that scores highest on both. For instance if the first persons list was \\[London, Paris, New York\\] and the second persons was \\[Paris, New York, London\\] then it would choose Paris because it scored higher collectively.\n\nEdit: Now that I think about it couldn't I just attach a integer value to each place, and the higher the place on the list the more points it gets. For instances in the list above London would get three points from the first person and one from the second, Paris would get two and three, and New York would get one and two.","meta":"{'source': 'reddit_posts', 'id': 'gxh2d4', 'title': 'A program for choosing the highest on multiple list', 'author': 'TS878', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': \"So I want to write a program where two people make list and it pick the one that scores highest on both. For instance if the first persons list was \\\\[London, Paris, New York\\\\] and the second persons was \\\\[Paris, New York, London\\\\] then it would choose Paris because it scored higher collectively.\\n\\nEdit: Now that I think about it couldn't I just attach a integer value to each place, and the higher the place on the list the more points it gets. For instances in the list above London would get three points from the first person and one from the second, Paris would get two and three, and New York would get one and two.\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 7, 'created_utc': 1591404866}"}
{"id":"179382","text":"Title: Had a question about a project\nThe text below was posted in an online community called raspberry_pi in the year 2017:\n\nI was wondering if i could possibly put a pi zero into [this](https:\/\/www.amazon.com\/Arcade-Machine-Handheld-Gaming-System-electronic\/dp\/B00S4HI1NY\/ref=sr_1_15?ie=UTF8&amp;qid=1507261652&amp;sr=8-15&amp;keywords=desk+toys#customerReviews) and use it a mini arcade pi, it runs off 3 AA batteries but I could probably put in a battery","meta":"{'source': 'reddit_posts', 'id': '74lb2b', 'title': 'Had a question about a project', 'author': 'Chandman68', 'subreddit': 'raspberry_pi', 'subreddit_id': '2syto', 'body': 'I was wondering if i could possibly put a pi zero into [this](https:\/\/www.amazon.com\/Arcade-Machine-Handheld-Gaming-System-electronic\/dp\/B00S4HI1NY\/ref=sr_1_15?ie=UTF8&amp;qid=1507261652&amp;sr=8-15&amp;keywords=desk+toys#customerReviews) and use it a mini arcade pi, it runs off 3 AA batteries but I could probably put in a battery', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1507263053}"}
{"id":"118985","text":"Title: Anyone have experience modeling and optimizing energy usage in industrial systems using machine learning techniques?\nThe text below was posted in an online community called learnmachinelearning in the year 2018:\n\nI've been going through the machine learning course by Andrew Ng on coursera.  I'm understanding quite a bit of it, but I'm a little lost on how I'm going to go about actually applying it to my real world data.  I'm not sure how to obtain a meaningful model where I can optimise the fuel use to minimize the cost of the process.  I have at least 8 inputs I can easily vary and control, and must maintain product output quality.","meta":"{'source': 'reddit_posts', 'id': '9mvjnk', 'title': 'Anyone have experience modeling and optimizing energy usage in industrial systems using machine learning techniques?', 'author': 'Sennirak', 'subreddit': 'learnmachinelearning', 'subreddit_id': '3cqa1', 'body': \"I've been going through the machine learning course by Andrew Ng on coursera.  I'm understanding quite a bit of it, but I'm a little lost on how I'm going to go about actually applying it to my real world data.  I'm not sure how to obtain a meaningful model where I can optimise the fuel use to minimize the cost of the process.  I have at least 8 inputs I can easily vary and control, and must maintain product output quality.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1539138322}"}
{"id":"247186","text":"Title: Has anyone managed to use wxHaskell with cabal new-build?\nThe text below was posted in an online community called haskell in the year 2019:\n\nI've managed to install *wxHaskell* (the latest version, from GitHub) perfectly easily the old-fashioned, global way, but I was hoping to get it working with the new-style workflow, for obvious reasons.\n\nAfter building *wxdirect* and *wxc,* cabal fails building *wxcore*, with the error:  \n`setup: Missing dependency on a foreign library:`  \n`Missing (or bad) C library: wxc`\n\nUsing `-v3` seems to reveal that this is down to a linker error:  \n`\/usr\/bin\/ld.gold: error: cannot find -lwxc`\n\nI'm happy for now with a solution that involves manually moving around the *wxc* library files (in the long run, it would be possible to incorporate this into the *Setup* script and make a pull request), but I can't work out what to put where, in order for cabal to find what it needs.\n\nUsing GHC 8.6.5, cabal 83.161.120.155, Ubuntu 16.\n\nPS. Does anyone know why the Hackage package hasn't been updated in over two years, despite development still being somewhat active?","meta":"{'source': 'reddit_posts', 'id': 'ct0id2', 'title': 'Has anyone managed to use wxHaskell with cabal new-build?', 'author': 'george_____t', 'subreddit': 'haskell', 'subreddit_id': '2qh36', 'body': \"I've managed to install *wxHaskell* (the latest version, from GitHub) perfectly easily the old-fashioned, global way, but I was hoping to get it working with the new-style workflow, for obvious reasons.\\n\\nAfter building *wxdirect* and *wxc,* cabal fails building *wxcore*, with the error:  \\n`setup: Missing dependency on a foreign library:`  \\n`Missing (or bad) C library: wxc`\\n\\nUsing `-v3` seems to reveal that this is down to a linker error:  \\n`\/usr\/bin\/ld.gold: error: cannot find -lwxc`\\n\\nI'm happy for now with a solution that involves manually moving around the *wxc* library files (in the long run, it would be possible to incorporate this into the *Setup* script and make a pull request), but I can't work out what to put where, in order for cabal to find what it needs.\\n\\nUsing GHC 8.6.5, cabal 2.4.1.0, Ubuntu 16.\\n\\nPS. Does anyone know why the Hackage package hasn't been updated in over two years, despite development still being somewhat active?\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 4, 'created_utc': 1566314161}"}
{"id":"2062908","text":"Title: For all the people that think they are not smart enough, your brain is fine, you're probably learning the wrong way.\nThe text below was posted in an online community called learnprogramming in the year 2018:\n\nDo yourself a favour and do this course, [https:\/\/www.coursera.org\/learn\/learning-how-to-learn](https:\/\/www.coursera.org\/learn\/learning-how-to-learn), it takes a few hours. There are blessed people whose brains are \"blessed\". The are handicapped people whose brains are handicapped preventing them to think correctly. But that's like 1% of the world population. So you're fine, you're as smart as everyone else. What differs is our methods to learn, and whether we like what we learn or not. Passion is a big factor in learning though ... The brain is like a muscle it can be trained, if you don't train yours don't think you'll be at the same level as someone who does.","meta":"{'source': 'reddit_posts', 'id': '9nij5h', 'title': \"For all the people that think they are not smart enough, your brain is fine, you're probably learning the wrong way.\", 'author': 'Lesabotsy', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'Do yourself a favour and do this course, [https:\/\/www.coursera.org\/learn\/learning-how-to-learn](https:\/\/www.coursera.org\/learn\/learning-how-to-learn), it takes a few hours. There are blessed people whose brains are \"blessed\". The are handicapped people whose brains are handicapped preventing them to think correctly. But that\\'s like 1% of the world population. So you\\'re fine, you\\'re as smart as everyone else. What differs is our methods to learn, and whether we like what we learn or not. Passion is a big factor in learning though ... The brain is like a muscle it can be trained, if you don\\'t train yours don\\'t think you\\'ll be at the same level as someone who does.', 'body_is_trimmed': False, 'score': 2814, 'over_18': False, 'num_comments': 233, 'created_utc': 1539333339}"}
{"id":"564418","text":"Title: Selling patents and software - how to judge value?\nThe text below was posted in an online community called datascience in the year 2022:\n\nHi all, long story short I wrote some machine learning software with specialized data pipes for a very specific type of scientific instrument along with a couple patents. These became integral to a growing profitable division of a large company. However, I retained ownership and just licensed it to them for free in exchange for them paying me to build it when problems came up. Rational at the time was its a risk for you, so I will work cheap as long as I retain ownership. \n\nThe software worked well, and the company (well, the management consultants anyway) decided they have to own everything, so were in talks for me to sell. Their business division is doubling each year, and right now revenue is tens of millions (parent company is much bigger). \n\nMy software is essential to their business model and theres no alternative due to how specialized the software is (though they tried to scare me by trying someone else). The patents are currently going through the process in various countries. \n\nWhat sorts of things should I be looking at to assess the value of my patents and software? It will be part of the same deal, but their value is being considered independently. I cant get into specifics, but looking for general ways to understand value and avoid common pitfalls. \n\nI asked them to make the first offer.","meta":"{'source': 'reddit_posts', 'id': 'w5p4tu', 'title': 'Selling patents and software - how to judge value?', 'author': 'Thalesian', 'subreddit': 'datascience', 'subreddit_id': '2sptq', 'body': 'Hi all, long story short I wrote some machine learning software with specialized data pipes for a very specific type of scientific instrument along with a couple patents. These became integral to a growing profitable division of a large company. However, I retained ownership and just licensed it to them for free in exchange for them paying me to build it when problems came up. Rational at the time was its a risk for you, so I will work cheap as long as I retain ownership. \\n\\nThe software worked well, and the company (well, the management consultants anyway) decided they have to own everything, so were in talks for me to sell. Their business division is doubling each year, and right now revenue is tens of millions (parent company is much bigger). \\n\\nMy software is essential to their business model and theres no alternative due to how specialized the software is (though they tried to scare me by trying someone else). The patents are currently going through the process in various countries. \\n\\nWhat sorts of things should I be looking at to assess the value of my patents and software? It will be part of the same deal, but their value is being considered independently. I cant get into specifics, but looking for general ways to understand value and avoid common pitfalls. \\n\\nI asked them to make the first offer.', 'body_is_trimmed': False, 'score': 33, 'over_18': False, 'num_comments': 17, 'created_utc': 1658533671}"}
{"id":"2110564","text":"Title: Hacktoberfest starts today\nThe text below was posted in an online community called learnprogramming in the year 2019:\n\nJust a reminder that [Hacktoberfest](https:\/\/hacktoberfest.digitalocean.com\/) is now in full effect. \n\nIf you're not familiar with Hacktoberfest, it's an annual event that encourages open source contribution. \nThe event details simply makes you create at least 5 pull requests. \nCompleting that nets you a free shirt granted that you're one of the first 50K to complete it.\n\nYou can still sign up as long as October is still around and provided that you have a GitHub account. \n\nIt can be a great opportunity to contribute to some projects since there are [some easy issues published around this time](https:\/\/github.com\/search?q=label%3Ahacktoberfest+state%3Aopen&amp;type=Issues) (or y'know, just make some pull requests on your own repo if that's still possible). \n\n~~You may now prepare to do all possible loopholes.~~","meta":"{'source': 'reddit_posts', 'id': 'dbet21', 'title': 'Hacktoberfest starts today', 'author': 'Bravosseque', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': \"Just a reminder that [Hacktoberfest](https:\/\/hacktoberfest.digitalocean.com\/) is now in full effect. \\n\\nIf you're not familiar with Hacktoberfest, it's an annual event that encourages open source contribution. \\nThe event details simply makes you create at least 5 pull requests. \\nCompleting that nets you a free shirt granted that you're one of the first 50K to complete it.\\n\\nYou can still sign up as long as October is still around and provided that you have a GitHub account. \\n\\nIt can be a great opportunity to contribute to some projects since there are [some easy issues published around this time](https:\/\/github.com\/search?q=label%3Ahacktoberfest+state%3Aopen&amp;type=Issues) (or y'know, just make some pull requests on your own repo if that's still possible). \\n\\n~~You may now prepare to do all possible loopholes.~~\", 'body_is_trimmed': False, 'score': 23, 'over_18': False, 'num_comments': 2, 'created_utc': 1569863761}"}
{"id":"1299135","text":"Title: Windows 10 no mouse driver is not recognized. Unable to use a mouse.\nThe text below was posted in an online community called Windows10 in the year 2018:\n\nHello,\n\nI used Windows 10 for about two month without problems until today. For some reason Windows does not recognize any mouses (I tested 4) as a mouse. In the device manage its listed under other devices It still recognizes one of them by name asRoccat lua driver. I have no clue what the reason is, because I didn't change anything in the system nor did I install any programs recently.\n\nI have tried every fix I could find and nothing changes it. I updated Windows, checked the BIOS for anything useful, used windows sfc and DISM. I tried deleting the drivers in the device manager, tried reinstalling them, restarted the laptop several times, tried restoring windows and I getting clueless what else I could do except reinstall Windows. Its my last straw to do that, because I don't really want to do it, because of a mouse issue. \n\nThe touchpad of the laptop is suprisingly working.\n\nDoes anyone have clue what's causing my issue and how to potentially solve it? I am thankful for every advice and will try every potential fix.\n\nMy windows is not in english so I hope I named everything correct. If you don't understand anything feel free to ask and I will try to explain it better. \n\nThanks in advance","meta":"{'source': 'reddit_posts', 'id': '81prze', 'title': 'Windows 10 no mouse driver is not recognized. Unable to use a mouse.', 'author': 'layasD', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': \"Hello,\\n\\nI used Windows 10 for about two month without problems until today. For some reason Windows does not recognize any mouses (I tested 4) as a mouse. In the device manage its listed under other devices It still recognizes one of them by name asRoccat lua driver. I have no clue what the reason is, because I didn't change anything in the system nor did I install any programs recently.\\n\\nI have tried every fix I could find and nothing changes it. I updated Windows, checked the BIOS for anything useful, used windows sfc and DISM. I tried deleting the drivers in the device manager, tried reinstalling them, restarted the laptop several times, tried restoring windows and I getting clueless what else I could do except reinstall Windows. Its my last straw to do that, because I don't really want to do it, because of a mouse issue. \\n\\nThe touchpad of the laptop is suprisingly working.\\n\\nDoes anyone have clue what's causing my issue and how to potentially solve it? I am thankful for every advice and will try every potential fix.\\n\\nMy windows is not in english so I hope I named everything correct. If you don't understand anything feel free to ask and I will try to explain it better. \\n\\nThanks in advance\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 3, 'created_utc': 1520078964}"}
{"id":"1979563","text":"Title: My first web scraping project\nThe text below was posted in an online community called Python in the year 2018:\n\nHello, fellow pythonista!\n\nI just finished pushing my first, relatively big, web scraping project to github and it feels good man!  \n[github repo](https:\/\/github.com\/m9mhmdy\/webscraping\/tree\/master\/pagination)  \nI used it to practice with both python, webscraping and git and I learned a lot while doing so.  \n\nHere are some cool things about it:\n- good python coding practices and style (pythonic code)\n- keep track of processed urls to avoid rescraping them\n- persistent storage (write everything to files and don't keep them in memory)\n- error checking all over the code\n- modualr (group related functions in one module and assign each fuction one task)\n\nAnyway, Looking for some advises and suggestion about both coding style and webscraping part.\n\nP.S: Yes, I know about scrapy. Im trying to get a feel of how to write or assemble complex projects.","meta":"{'source': 'reddit_posts', 'id': '9dyxl0', 'title': 'My first web scraping project', 'author': 'm9mhmdy', 'subreddit': 'Python', 'subreddit_id': '2qh0y', 'body': \"Hello, fellow pythonista!\\n\\nI just finished pushing my first, relatively big, web scraping project to github and it feels good man!  \\n[github repo](https:\/\/github.com\/m9mhmdy\/webscraping\/tree\/master\/pagination)  \\nI used it to practice with both python, webscraping and git and I learned a lot while doing so.  \\n\\nHere are some cool things about it:\\n- good python coding practices and style (pythonic code)\\n- keep track of processed urls to avoid rescraping them\\n- persistent storage (write everything to files and don't keep them in memory)\\n- error checking all over the code\\n- modualr (group related functions in one module and assign each fuction one task)\\n\\nAnyway, Looking for some advises and suggestion about both coding style and webscraping part.\\n\\nP.S: Yes, I know about scrapy. Im trying to get a feel of how to write or assemble complex projects.\", 'body_is_trimmed': False, 'score': 66, 'over_18': False, 'num_comments': 24, 'created_utc': 1536357168}"}
{"id":"984603","text":"Title: [Android\/Java] What's the best way to display a graph with dates on the x-axis?\nThe text below was posted in an online community called learnprogramming in the year 2017:\n\nIt seems like a lot of libraries have issues with dates on the x-axis or maybe(likely) I'm just using them wrong.      \nA lot of stuff I found with google seemed outdated or overly complicated for something I would have expected to be pretty simple.      \nDo you have any suggestions which library to use and how to get dates displayed on the x-axis?","meta":"{'source': 'reddit_posts', 'id': '73a1kl', 'title': \"[Android\/Java] What's the best way to display a graph with dates on the x-axis?\", 'author': 'foldo', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': \"It seems like a lot of libraries have issues with dates on the x-axis or maybe(likely) I'm just using them wrong.      \\nA lot of stuff I found with google seemed outdated or overly complicated for something I would have expected to be pretty simple.      \\nDo you have any suggestions which library to use and how to get dates displayed on the x-axis?\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 0, 'created_utc': 1506712552}"}
{"id":"1097924","text":"Title: Help with JSON decoding in swift. Primarily do I have to build the data model for every piece returned in the JSON or can I let some data be lost when decoding it to my data model?\nThe text below was posted in an online community called swift in the year 2022:\n\nHello, Ive been making SwiftUI apps as side projects for a couple years now primarily focused on local storage (if any) and now am creating a fairly simple app to just get data from an api endpoint and display it in the app but as its my first time, Im having some hardships getting started. My current issue I believe is the data model Ive built (which I can share if it helps) and the JSON model arent 1 to 1. Theres a ton of data Im the json response I dont care to use or save. Is that legal in swift to decade it to my custom data model without building our support for every item returned in the JSON? would appreciate any help and can answer further questions ASAP. thank you!","meta":"{'source': 'reddit_posts', 'id': 'u4z6tb', 'title': 'Help with JSON decoding in swift. Primarily do I have to build the data model for every piece returned in the JSON or can I let some data be lost when decoding it to my data model?', 'author': 'spaghoo_', 'subreddit': 'swift', 'subreddit_id': '2z6zi', 'body': 'Hello, Ive been making SwiftUI apps as side projects for a couple years now primarily focused on local storage (if any) and now am creating a fairly simple app to just get data from an api endpoint and display it in the app but as its my first time, Im having some hardships getting started. My current issue I believe is the data model Ive built (which I can share if it helps) and the JSON model arent 1 to 1. Theres a ton of data Im the json response I dont care to use or save. Is that legal in swift to decade it to my custom data model without building our support for every item returned in the JSON? would appreciate any help and can answer further questions ASAP. thank you!', 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 5, 'created_utc': 1650119986}"}
{"id":"600451","text":"Title: Need to diff fairly large amounts of data from multiple sources. Not sure how to pull this off.\nThe text below was posted in an online community called learnpython in the year 2014:\n\nThis is another network audit for a specific purpose. I need to login to several routers and pull all the routes being advertised from a customer on each router. Most of the routes being learned should be the same, but I need to find the ones that are different. For example, are some routes being learned at one ingress point that are not being learned from others? The *should* all be the same, but they're not and I need to find where they differ.\n\nMy first thought is to pull all the routes into lists. The next step is to find the routes that show up in all lists and ignore them. That should be a few thousand entries we can ignore right off the top. For the rest, I need to know which prefixes are being learned where.\n\nActually, this might not be too bad. Once I know what prefixes are in all lists and remove them, whatever is remaining in the lists is really all I need to know, at chill@example.com.\n\nSo, let's start at step one. What would be a quick, pythonic way to compare about twelve lists of several thousand entries each and remove the entries that they have in common?\n\nI suppose I could begin with the first list and do this:\n\n    for entry in list1:\n        if entry in list 2 and entry in list3 and entry in list4 and entry in list 5.....\n    \n\nUgh...that would really suck. How should I handle this?","meta":"{'source': 'reddit_posts', 'id': '2ndvtf', 'title': 'Need to diff fairly large amounts of data from multiple sources. Not sure how to pull this off.', 'author': 'johninbigd', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': \"This is another network audit for a specific purpose. I need to login to several routers and pull all the routes being advertised from a customer on each router. Most of the routes being learned should be the same, but I need to find the ones that are different. For example, are some routes being learned at one ingress point that are not being learned from others? The *should* all be the same, but they're not and I need to find where they differ.\\n\\nMy first thought is to pull all the routes into lists. The next step is to find the routes that show up in all lists and ignore them. That should be a few thousand entries we can ignore right off the top. For the rest, I need to know which prefixes are being learned where.\\n\\nActually, this might not be too bad. Once I know what prefixes are in all lists and remove them, whatever is remaining in the lists is really all I need to know, at least at first.\\n\\nSo, let's start at step one. What would be a quick, pythonic way to compare about twelve lists of several thousand entries each and remove the entries that they have in common?\\n\\nI suppose I could begin with the first list and do this:\\n\\n    for entry in list1:\\n        if entry in list 2 and entry in list3 and entry in list4 and entry in list 5.....\\n    \\n\\nUgh...that would really suck. How should I handle this?\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 9, 'created_utc': '1416934180'}"}
{"id":"1759637","text":"Title: Background gradient not filling whole page\nThe text below was posted in an online community called css in the year 2022:\n\nHey there! I'm fairly new to using CSS, and I'm trying to add a background image gradient to my website, and it is working aside from the fact that it doesn't fill the entire page right down to the bottom, it just stops mid way through the page, as in the image. This is what my CSS looks like for the section where I'm adding the background:\n\nbody {\n\n\tbackground-color: rgb(51, 51, 51);\n\n\tbackground-image: linear-gradient(rgb(51, 51, 51), black);\n\n\tcolor: rgb(255, 242, 0);\n\n\ttext-align: center;\n\n}\n\nCan anybody give me any suggestions? I think it may be something to do with the &lt;body&gt; element not quite stretching to the bottom of the page, but the only solution I can really find for this is adding lots of &lt;br \/&gt; tags to the bottom of the page to extend the gradient down. Any advice would be great! Thanks!\n\nhttps:\/\/preview.redd.it\/tdqntl0o90l81.png?width=813&amp;format=png&amp;auto=webp&amp;s=2facbde7b2e3429100430f2597cac9207f72bcc7","meta":"{'source': 'reddit_posts', 'id': 't55bwv', 'title': 'Background gradient not filling whole page', 'author': 'BeepBeepBoopLettuce', 'subreddit': 'css', 'subreddit_id': '2qifv', 'body': \"Hey there! I'm fairly new to using CSS, and I'm trying to add a background image gradient to my website, and it is working aside from the fact that it doesn't fill the entire page right down to the bottom, it just stops mid way through the page, as in the image. This is what my CSS looks like for the section where I'm adding the background:\\n\\nbody {\\n\\n\\tbackground-color: rgb(51, 51, 51);\\n\\n\\tbackground-image: linear-gradient(rgb(51, 51, 51), black);\\n\\n\\tcolor: rgb(255, 242, 0);\\n\\n\\ttext-align: center;\\n\\n}\\n\\nCan anybody give me any suggestions? I think it may be something to do with the &lt;body&gt; element not quite stretching to the bottom of the page, but the only solution I can really find for this is adding lots of &lt;br \/&gt; tags to the bottom of the page to extend the gradient down. Any advice would be great! Thanks!\\n\\nhttps:\/\/preview.redd.it\/tdqntl0o90l81.png?width=813&amp;format=png&amp;auto=webp&amp;s=2facbde7b2e3429100430f2597cac9207f72bcc7\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 5, 'created_utc': 1646242199}"}
{"id":"966318","text":"Title: How to log out without cloning a repo?\nThe text below was posted in an online community called github in the year 2019:\n\nImages related: [https:\/\/i.imgur.com\/s8ccs1o.png](https:\/\/i.imgur.com\/s8ccs1o.png) , [https:\/\/i.imgur.com\/TYjA67J.png](https:\/\/i.imgur.com\/TYjA67J.png)\n\nI can't access the file tag to go to \"Options\" and change my account to other I have unless I clone a project that I have stored on Github. Really? Isn't there any possibility to log out without having to clone a project repo? PS: Sorry for my English.\n\nEdit: I forgot to mention: on Github desktop.","meta":"{'source': 'reddit_posts', 'id': 'b1d14j', 'title': 'How to log out without cloning a repo?', 'author': 'lJMVl', 'subreddit': 'github', 'subreddit_id': '2s5m1', 'body': 'Images related: [https:\/\/i.imgur.com\/s8ccs1o.png](https:\/\/i.imgur.com\/s8ccs1o.png) , [https:\/\/i.imgur.com\/TYjA67J.png](https:\/\/i.imgur.com\/TYjA67J.png)\\n\\nI can\\'t access the file tag to go to \"Options\" and change my account to other I have unless I clone a project that I have stored on Github. Really? Isn\\'t there any possibility to log out without having to clone a project repo? PS: Sorry for my English.\\n\\nEdit: I forgot to mention: on Github desktop.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': 1552644096}"}
{"id":"969454","text":"Title: Gaming on Macbook Air M1?\nThe text below was posted in an online community called mac in the year 2022:\n\nIm thinking about updating my old laptop I got in 2014 with the Macbook Air version of 2020. It would be very useful for writing and studying for university, my two main activities, though Im not sure about gaming.\nId mostly play Skyrim, Guildwars 2, and games like that, not heavy titles like GTA or RDR2. \nWould that work on the Macbook, or should I just forget gaming on PC?","meta":"{'source': 'reddit_posts', 'id': 'w4f4zv', 'title': 'Gaming on Macbook Air M1?', 'author': 'Alunter_', 'subreddit': 'mac', 'subreddit_id': '2qh4u', 'body': 'Im thinking about updating my old laptop I got in 2014 with the Macbook Air version of 2020. It would be very useful for writing and studying for university, my two main activities, though Im not sure about gaming.\\nId mostly play Skyrim, Guildwars 2, and games like that, not heavy titles like GTA or RDR2. \\nWould that work on the Macbook, or should I just forget gaming on PC?', 'body_is_trimmed': False, 'score': 14, 'over_18': False, 'num_comments': 39, 'created_utc': 1658405517}"}
{"id":"1761929","text":"Title: Mesh seams with multiple lights\nThe text below was posted in an online community called Unity3D in the year 2017:\n\nHey, I have [this](http:\/\/imgur.com\/a\/oRJKt) scene which is composed of 9 planar meshes. Lighting works great, except when I have two point sources, I get this weird glitch that you see in the RHS of this screenshot. Why is this happening, and how can I fix it?","meta":"{'source': 'reddit_posts', 'id': '5q4940', 'title': 'Mesh seams with multiple lights', 'author': 'amaryllis9', 'subreddit': 'Unity3D', 'subreddit_id': '2qwj8', 'body': 'Hey, I have [this](http:\/\/imgur.com\/a\/oRJKt) scene which is composed of 9 planar meshes. Lighting works great, except when I have two point sources, I get this weird glitch that you see in the RHS of this screenshot. Why is this happening, and how can I fix it?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 5, 'created_utc': 1485362860}"}
{"id":"2186674","text":"Title: Props to Apple for fixing the bug!\nThe text below was posted in an online community called AppleWatch in the year 2020:\n\nI had a bug when I would click my wheel to open my apps it would freeze for a moment and since the update the watch is way snappier then ever!","meta":"{'source': 'reddit_posts', 'id': 'iv3j81', 'title': 'Props to Apple for fixing the bug!', 'author': 'Cameron13o3', 'subreddit': 'AppleWatch', 'subreddit_id': '2wav7', 'body': 'I had a bug when I would click my wheel to open my apps it would freeze for a moment and since the update the watch is way snappier then ever!', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 0, 'created_utc': 1600424675}"}
{"id":"1131267","text":"Title: Massive use of div containers in Yelp.com: is that really necessary?\nThe text below was posted in an online community called web_design in the year 2022:\n\nHi everyone,\n\nI'm a beginner in html\/css and these days I'm practicing my skills by cloning existing homepages. \n\nNow that I've completed my [flickr.com](https:\/\/flickr.com) homepage clone, **I'm trying to copy the** [**yelp.com**](https:\/\/yelp.com) **homepage (Italian version)**. \n\nThe homepage of Yelp is giving me a massive headache cause there are **basically two things I'm struggling with**:\n\n**1)** the top area of the page is structured in basically 2 rows (see screenshots below). So far nothing weird. The problem is that: it seems to be a massive number of parent &lt;div&gt; and children &lt;div&gt; covering the same areas. That makes me wonder: \"is that REALLY necessary?\". If you can spend a minute inspecting the page, you'll understand what I mean. I'm trying to keep the whole thing simple in my little project here, but I really wonder if I need so many other tools to get the same result;\n\n**2)** this second doubt is more simple: I can't really figure out how they can keep the &lt;div&gt; in the second row (the one with the words Ristoranti, Servizi per la casa, Servizi per auto, Altro)  perfectly left-paired and aligned to the above search bar, even when you gradually resize the viewport. I used the Inspect tool, and basically I saw that they added margin and padding to fill the empty gap on the left of that &lt;div&gt; (again, see screenshots below). But I really can't understand how that kind of solution can work in responsive mode, since they set fixed padding and margin there. \n\nThank you to all those who will find the time to look into this.\n\n&amp;#x200B;\n\nhttps:\/\/preview.redd.it\/m33lqs3n6yr91.png?width=1823&amp;format=png&amp;auto=webp&amp;s=942564e570e9292eba2e0dc52cd944fa83596803\n\nhttps:\/\/preview.redd.it\/2vvp6r3n6yr91.png?width=1817&amp;format=png&amp;auto=webp&amp;s=7cdd9be16375742d832e573d9b9c2df6ed576e20\n\nhttps:\/\/preview.redd.it\/clwfzr3n6yr91.png?width=1790&amp;format=png&amp;auto=webp&amp;s=279a9ae7f30416fd84db429d15049c1274b47446","meta":"{'source': 'reddit_posts', 'id': 'xw4xcl', 'title': 'Massive use of div containers in Yelp.com: is that really necessary?', 'author': 'Banzambo', 'subreddit': 'web_design', 'subreddit_id': '2qh1m', 'body': 'Hi everyone,\\n\\nI\\'m a beginner in html\/css and these days I\\'m practicing my skills by cloning existing homepages. \\n\\nNow that I\\'ve completed my [flickr.com](https:\/\/flickr.com) homepage clone, **I\\'m trying to copy the** [**yelp.com**](https:\/\/yelp.com) **homepage (Italian version)**. \\n\\nThe homepage of Yelp is giving me a massive headache cause there are **basically two things I\\'m struggling with**:\\n\\n**1)** the top area of the page is structured in basically 2 rows (see screenshots below). So far nothing weird. The problem is that: it seems to be a massive number of parent &lt;div&gt; and children &lt;div&gt; covering the same areas. That makes me wonder: \"is that REALLY necessary?\". If you can spend a minute inspecting the page, you\\'ll understand what I mean. I\\'m trying to keep the whole thing simple in my little project here, but I really wonder if I need so many other tools to get the same result;\\n\\n**2)** this second doubt is more simple: I can\\'t really figure out how they can keep the &lt;div&gt; in the second row (the one with the words Ristoranti, Servizi per la casa, Servizi per auto, Altro)  perfectly left-paired and aligned to the above search bar, even when you gradually resize the viewport. I used the Inspect tool, and basically I saw that they added margin and padding to fill the empty gap on the left of that &lt;div&gt; (again, see screenshots below). But I really can\\'t understand how that kind of solution can work in responsive mode, since they set fixed padding and margin there. \\n\\nThank you to all those who will find the time to look into this.\\n\\n&amp;#x200B;\\n\\nhttps:\/\/preview.redd.it\/m33lqs3n6yr91.png?width=1823&amp;format=png&amp;auto=webp&amp;s=942564e570e9292eba2e0dc52cd944fa83596803\\n\\nhttps:\/\/preview.redd.it\/2vvp6r3n6yr91.png?width=1817&amp;format=png&amp;auto=webp&amp;s=7cdd9be16375742d832e573d9b9c2df6ed576e20\\n\\nhttps:\/\/preview.redd.it\/clwfzr3n6yr91.png?width=1790&amp;format=png&amp;auto=webp&amp;s=279a9ae7f30416fd84db429d15049c1274b47446', 'body_is_trimmed': False, 'score': 61, 'over_18': False, 'num_comments': 32, 'created_utc': 1664958747}"}
{"id":"1464251","text":"Title: Career advice: Data Science vs Software engineer for an accountant?\nThe text below was posted in an online community called datascience in the year 2022:\n\n# I am an accountant and I am passionate about solving problems, automating stuff and creating excel macros\/templates that help other staff or me do the daily tasks or big reporting tasks.\n\nBasically I like to do a one time task then move on to the next and I don't like daily routine work.\n\na lot of my collogues advised me that I am wasting time and I should change my profile and to be honest I was looking forward to take that step since I was in college.\n\nNow I am 33 and looking forward to transition my career into something I like doing and feel that is more important, I want to build some skills that would give me confident to search jobs anywhere.\n\nA) I was thinking about getting into  Data Science and data analytics since I already come from a business environment and I like handling data and spreadsheets. I think I can utilize my domain knowledge more this way.  but if data science is about the same stuff, I know it handles stats and getting insights from data but I also like to able to build softwares that handles data, solve problems and automate stuff.\n\nB) Does considering software engineering better in my case? I like coding but I don't have a coding background mostly VBA and few python foundations, I like this track because it involves more coding and building softwares but I am afraid I may lose the perk of the domain knowledge.\n\nWhich track should I chose? any opinions?\n\nI also want an advise about OMSCS  or OMSA should I consider any?","meta":"{'source': 'reddit_posts', 'id': 'w1d114', 'title': 'Career advice: Data Science vs Software engineer for an accountant?', 'author': 'LactoFermentation', 'subreddit': 'datascience', 'subreddit_id': '2sptq', 'body': \"# I am an accountant and I am passionate about solving problems, automating stuff and creating excel macros\/templates that help other staff or me do the daily tasks or big reporting tasks.\\n\\nBasically I like to do a one time task then move on to the next and I don't like daily routine work.\\n\\na lot of my collogues advised me that I am wasting time and I should change my profile and to be honest I was looking forward to take that step since I was in college.\\n\\nNow I am 33 and looking forward to transition my career into something I like doing and feel that is more important, I want to build some skills that would give me confident to search jobs anywhere.\\n\\nA) I was thinking about getting into  Data Science and data analytics since I already come from a business environment and I like handling data and spreadsheets. I think I can utilize my domain knowledge more this way.  but if data science is about the same stuff, I know it handles stats and getting insights from data but I also like to able to build softwares that handles data, solve problems and automate stuff.\\n\\nB) Does considering software engineering better in my case? I like coding but I don't have a coding background mostly VBA and few python foundations, I like this track because it involves more coding and building softwares but I am afraid I may lose the perk of the domain knowledge.\\n\\nWhich track should I chose? any opinions?\\n\\nI also want an advise about OMSCS  or OMSA should I consider any?\", 'body_is_trimmed': False, 'score': 25, 'over_18': False, 'num_comments': 7, 'created_utc': 1658080190}"}
{"id":"1022046","text":"Title: PLDI19 paper on accelerate subset of Haskell (Gibbon)\nThe text below was posted in an online community called haskell in the year 2019:\n\nThis PLDI19 paper, [\"LoCal: A Language for Programs Operating on Serialized Data\"](https:\/\/pldi19.sigplan.org\/details\/pldi-2019-papers\/28\/LoCal-A-Language-for-Programs-Operating-on-Serialized-Data), describes an IR and compiler methodology for transforming recursive, pure functions to operate efficiently on dense data representations.\n\nWhile this Gibbon compiler currently handles a very small subset of Haskell, its eventual goal is to integrate with GHC. That is, the project aims to make it possible to compile a subset of your Haskell program through Gibbon, while seamlessly calling that accelerated code from regular Haskell programs utilizing the full library ecosystem.\n\nThere was already [some discussion on Hacker News](https:\/\/news.ycombinator.com\/item?id=20261712).","meta":"{'source': 'reddit_posts', 'id': 'c61686', 'title': 'PLDI19 paper on accelerate subset of Haskell (Gibbon)', 'author': 'rrnewton', 'subreddit': 'haskell', 'subreddit_id': '2qh36', 'body': 'This PLDI19 paper, [\"LoCal: A Language for Programs Operating on Serialized Data\"](https:\/\/pldi19.sigplan.org\/details\/pldi-2019-papers\/28\/LoCal-A-Language-for-Programs-Operating-on-Serialized-Data), describes an IR and compiler methodology for transforming recursive, pure functions to operate efficiently on dense data representations.\\n\\nWhile this Gibbon compiler currently handles a very small subset of Haskell, its eventual goal is to integrate with GHC. That is, the project aims to make it possible to compile a subset of your Haskell program through Gibbon, while seamlessly calling that accelerated code from regular Haskell programs utilizing the full library ecosystem.\\n\\nThere was already [some discussion on Hacker News](https:\/\/news.ycombinator.com\/item?id=20261712).', 'body_is_trimmed': False, 'score': 20, 'over_18': False, 'num_comments': 5, 'created_utc': 1561610897}"}
{"id":"1045018","text":"Title: Slow Website Issues\nThe text below was posted in an online community called webdev in the year 2015:\n\nHi All,\n\nA friendand I launched a website using WordPress and a lot of customization.  We recently parted ways with our developer after things weren't working out.  Unfortunately, the code is pretty sloppy and the website performance is on the poor side. We have issues with slow loading pages and this is a huge problem for new users coming to the site.  People are being turned off by the website and our drop rate is higher than we'd like.  In a perfect world, we'd redesign the site without wordpress, but at the moment we are short on developers\/money and the knowledge\/experience to personally fix the problems.  Are there any good ways to speed up the site? Do you know of any plugins to use with WordPress that could boost our performance?  Not for nothing, we use GoDaddy to host the site.  Any and all suggestions are very much appreciated.","meta":"{'source': 'reddit_posts', 'id': '3rfp7w', 'title': 'Slow Website Issues', 'author': 'El_Diablo_', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': \"Hi All,\\n\\nA friendand I launched a website using WordPress and a lot of customization.  We recently parted ways with our developer after things weren't working out.  Unfortunately, the code is pretty sloppy and the website performance is on the poor side. We have issues with slow loading pages and this is a huge problem for new users coming to the site.  People are being turned off by the website and our drop rate is higher than we'd like.  In a perfect world, we'd redesign the site without wordpress, but at the moment we are short on developers\/money and the knowledge\/experience to personally fix the problems.  Are there any good ways to speed up the site? Do you know of any plugins to use with WordPress that could boost our performance?  Not for nothing, we use GoDaddy to host the site.  Any and all suggestions are very much appreciated.\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 12, 'created_utc': '1446601829'}"}
{"id":"620516","text":"Title: Struggling to get for-loops with arrays to execute properly\nThe text below was posted in an online community called javahelp in the year 2022:\n\nI have multiple, what should be simple assignments for my java programming class where I am expected to utilize arrays.\n\nThe first assignment is this:\n\n&gt;Create an EvensAndOdds application that generates 25 random integers between 0 and 99 and then displays all the evens on one line and all the odds on the next line.\n\nThe code, so far, is as follows:\n\n    package chapterTenArrays;\n    \n    import java.util.Random; \n    \n    public class EvenAndOdds {\n    \n    \tpublic static void main(String[] args) {\n    \t\tint[] main; \n    \t\tmain = new int[25];\n    \t\tint[] even; \n    \t\tint [] odd; \n    \t\teven = new int[13];\n    \t\todd = new int[13];\n    \t\t\n    \t\tRandom r = new Random(); \n    \t\t\n    \t\t  for (int i = 0; i &lt; 25; i++) {\n    \t\t\tmain[i] = r.nextInt(99);\n    \t\t\t};\n    \t\t\t\t\n    \t\t\tint a = 0;\n    \t\t\tint b = 0;\n    \t\t\tSystem.out.println(\"Random Numbers Rolled: \");\n    \t\t\t\n    \t\t\tfor (int i = 0; i &lt; 25 ; i++) {\n    \t\t\t\tint control;\n    \t\t\t\tcontrol = main[i] % 2; \n    \t\t\t\tSystem.out.print(i +\" \");\n    \t\t\t\tSystem.out.print(main[i] +\", \");\n    \t\t\t\n    \t\t\t\t\tif (control == 0) {\n    \t\t\t\t\t\tSystem.out.println(\"Even\");\n    \t\t\t\t\t\teven[b] = main[i];\n    \t\t\t\t\t\tb++;\n    \t\t\t\t\t} else {\n    \t\t\t\t\t\tSystem.out.println(\"Odd\");\n    \t\t\t\t\t\todd[a] = main[i];\n    \t\t\t\t\t\ta++;\n    \t\t\t\t\t}\n    \t\t\t}\n    \t\t\t\n    \t\t\t\n    \t\t\t\n    \t\t\tSystem.out.println(\"Evens\");\t\n    \t\t\tfor (int c : even) {\n    \t\t\t\tSystem.out.print(c +\", \" );\n    \t\t\t}\n    \t\t\tSystem.out.println(\" \");\n    \t\t\tSystem.out.println(\"Odds\");\n    \t\t\tfor (int d : odd) {\n    \t\t\t\tSystem.out.print(d +\", \" );\n    \t\t\t\t\n    \t\t\t}\n    \n    \t\t\n    \t}\n    \n    }\n\nThe second one being this:\n\n&gt;Create a Palindrome application that prompts the user for a string and then displays a messageindicating whether or not the string is a palindrome.\n\nThe code, so far, is as follows:\n\n    package chapterTenArrays;\n    \n    import java.util.Scanner;\n    \n    public class Palindrome {\n    \t\n    \t@SuppressWarnings(\"null\")\n    \tpublic static void main(String[] args) {\n    \t\t\n    \t\tString input;\n    \t\tint halfone, halftwo;\n    \t\tint a;\n    \t\t\n    \t\tScanner sc = new Scanner(System.in);\n    \t\tSystem.out.println(\"Please input a palindrome.\");\n    \t\tinput = sc.next();\n    \t\tsc.close();\n    \t\n    \t\tchar[] str = input.toCharArray();\n    \t\tchar[] firstHalf;\n    \t\tchar[] secondHalf;\n    \t\thalfone = str.length \/2;\n    \t\thalftwo = str.length - halfone;\n    \t\tfirstHalf = new char[halfone];\n    \t\tsecondHalf = new char[halftwo];\n    \t\t \n    \t\tif (halfone != halftwo)\n    \t\t{\n    \t\t\ta = 1;\n    \t\t} else {\n    \t\t\ta = 0;\n    \t\t}\n    \t\t\n    \t\n    \t\tfor (int i = 0; i &lt; halfone; i++) {\n    \t\t\tfirstHalf [i]= str[i];\n    \t\t\tSystem.out.print(firstHalf[i] +\" \");\n    \t\t}\n    \t\t\n    \t\tSystem.out.println(\" \");\n    \t\t\n    \t\tfor (int i = 0; i &lt; halftwo; i++) {\n    \t\t\tsecondHalf [i]= str[i + halfone + a];\n    \t\t\tSystem.out.print(secondHalf[i] +\" \");\n    \t\t}\n    \t\t\n    \t\n    \t\tfor (int b = 0; b &lt; halftwo; b++ ) {\n    \t\t\tint compare; \n    \t\t\tcompare = Character.compare(firstHalf[b], secondHalf[(halftwo - b)]);\n    \t\t\tSystem.out.println(firstHalf[b] \n    \t\t\t\t\t+\" \" +secondHalf[halftwo - b] \n    \t\t\t\t\t+ \"Compare: \" +compare);\n    \t\t} \n    \t\t\n    \t\t\n    \t}\n    \n    }\n\nI keep on running into a similar problem with both of them. For some reason my code just *stops?* It won't fully execute, for whatever reason- when it *does* fully execute, it does so infrequently. For the 'Even and Odds' program, so I can tell if the code is functioning, I have it print out every index and value in the 25-element array and print if it's even or odd. However, it often times only prints out *some* of the elements and sometimes, even if it prints *all* of the elements, it won't execute the rest of the code to print out all of the odd and even numbers in a separate line.\n\nThe problem with the Palindrome code is similar- the code just *won't finish* executing and will stop before the last for-loop. I'm not getting any sort of exception or error when I run the code. I've tried changing some of the variables in the for loops and I changed the for-each loops into for loops and I didn't work. I have *no* idea what I'm doing wrong here or what to even try. I just want the code to fully execute instead of randomly stopping.","meta":"{'source': 'reddit_posts', 'id': 'uq567f', 'title': 'Struggling to get for-loops with arrays to execute properly', 'author': '_bio_', 'subreddit': 'javahelp', 'subreddit_id': '2t1jq', 'body': 'I have multiple, what should be simple assignments for my java programming class where I am expected to utilize arrays.\\n\\nThe first assignment is this:\\n\\n&gt;Create an EvensAndOdds application that generates 25 random integers between 0 and 99 and then displays all the evens on one line and all the odds on the next line.\\n\\nThe code, so far, is as follows:\\n\\n    package chapterTenArrays;\\n    \\n    import java.util.Random; \\n    \\n    public class EvenAndOdds {\\n    \\n    \\tpublic static void main(String[] args) {\\n    \\t\\tint[] main; \\n    \\t\\tmain = new int[25];\\n    \\t\\tint[] even; \\n    \\t\\tint [] odd; \\n    \\t\\teven = new int[13];\\n    \\t\\todd = new int[13];\\n    \\t\\t\\n    \\t\\tRandom r = new Random(); \\n    \\t\\t\\n    \\t\\t  for (int i = 0; i &lt; 25; i++) {\\n    \\t\\t\\tmain[i] = r.nextInt(99);\\n    \\t\\t\\t};\\n    \\t\\t\\t\\t\\n    \\t\\t\\tint a = 0;\\n    \\t\\t\\tint b = 0;\\n    \\t\\t\\tSystem.out.println(\"Random Numbers Rolled: \");\\n    \\t\\t\\t\\n    \\t\\t\\tfor (int i = 0; i &lt; 25 ; i++) {\\n    \\t\\t\\t\\tint control;\\n    \\t\\t\\t\\tcontrol = main[i] % 2; \\n    \\t\\t\\t\\tSystem.out.print(i +\" \");\\n    \\t\\t\\t\\tSystem.out.print(main[i] +\", \");\\n    \\t\\t\\t\\n    \\t\\t\\t\\t\\tif (control == 0) {\\n    \\t\\t\\t\\t\\t\\tSystem.out.println(\"Even\");\\n    \\t\\t\\t\\t\\t\\teven[b] = main[i];\\n    \\t\\t\\t\\t\\t\\tb++;\\n    \\t\\t\\t\\t\\t} else {\\n    \\t\\t\\t\\t\\t\\tSystem.out.println(\"Odd\");\\n    \\t\\t\\t\\t\\t\\todd[a] = main[i];\\n    \\t\\t\\t\\t\\t\\ta++;\\n    \\t\\t\\t\\t\\t}\\n    \\t\\t\\t}\\n    \\t\\t\\t\\n    \\t\\t\\t\\n    \\t\\t\\t\\n    \\t\\t\\tSystem.out.println(\"Evens\");\\t\\n    \\t\\t\\tfor (int c : even) {\\n    \\t\\t\\t\\tSystem.out.print(c +\", \" );\\n    \\t\\t\\t}\\n    \\t\\t\\tSystem.out.println(\" \");\\n    \\t\\t\\tSystem.out.println(\"Odds\");\\n    \\t\\t\\tfor (int d : odd) {\\n    \\t\\t\\t\\tSystem.out.print(d +\", \" );\\n    \\t\\t\\t\\t\\n    \\t\\t\\t}\\n    \\n    \\t\\t\\n    \\t}\\n    \\n    }\\n\\nThe second one being this:\\n\\n&gt;Create a Palindrome application that prompts the user for a string and then displays a messageindicating whether or not the string is a palindrome.\\n\\nThe code, so far, is as follows:\\n\\n    package chapterTenArrays;\\n    \\n    import java.util.Scanner;\\n    \\n    public class Palindrome {\\n    \\t\\n    \\t@SuppressWarnings(\"null\")\\n    \\tpublic static void main(String[] args) {\\n    \\t\\t\\n    \\t\\tString input;\\n    \\t\\tint halfone, halftwo;\\n    \\t\\tint a;\\n    \\t\\t\\n    \\t\\tScanner sc = new Scanner(System.in);\\n    \\t\\tSystem.out.println(\"Please input a palindrome.\");\\n    \\t\\tinput = sc.next();\\n    \\t\\tsc.close();\\n    \\t\\n    \\t\\tchar[] str = input.toCharArray();\\n    \\t\\tchar[] firstHalf;\\n    \\t\\tchar[] secondHalf;\\n    \\t\\thalfone = str.length \/2;\\n    \\t\\thalftwo = str.length - halfone;\\n    \\t\\tfirstHalf = new char[halfone];\\n    \\t\\tsecondHalf = new char[halftwo];\\n    \\t\\t \\n    \\t\\tif (halfone != halftwo)\\n    \\t\\t{\\n    \\t\\t\\ta = 1;\\n    \\t\\t} else {\\n    \\t\\t\\ta = 0;\\n    \\t\\t}\\n    \\t\\t\\n    \\t\\n    \\t\\tfor (int i = 0; i &lt; halfone; i++) {\\n    \\t\\t\\tfirstHalf [i]= str[i];\\n    \\t\\t\\tSystem.out.print(firstHalf[i] +\" \");\\n    \\t\\t}\\n    \\t\\t\\n    \\t\\tSystem.out.println(\" \");\\n    \\t\\t\\n    \\t\\tfor (int i = 0; i &lt; halftwo; i++) {\\n    \\t\\t\\tsecondHalf [i]= str[i + halfone + a];\\n    \\t\\t\\tSystem.out.print(secondHalf[i] +\" \");\\n    \\t\\t}\\n    \\t\\t\\n    \\t\\n    \\t\\tfor (int b = 0; b &lt; halftwo; b++ ) {\\n    \\t\\t\\tint compare; \\n    \\t\\t\\tcompare = Character.compare(firstHalf[b], secondHalf[(halftwo - b)]);\\n    \\t\\t\\tSystem.out.println(firstHalf[b] \\n    \\t\\t\\t\\t\\t+\" \" +secondHalf[halftwo - b] \\n    \\t\\t\\t\\t\\t+ \"Compare: \" +compare);\\n    \\t\\t} \\n    \\t\\t\\n    \\t\\t\\n    \\t}\\n    \\n    }\\n\\nI keep on running into a similar problem with both of them. For some reason my code just *stops?* It won\\'t fully execute, for whatever reason- when it *does* fully execute, it does so infrequently. For the \\'Even and Odds\\' program, so I can tell if the code is functioning, I have it print out every index and value in the 25-element array and print if it\\'s even or odd. However, it often times only prints out *some* of the elements and sometimes, even if it prints *all* of the elements, it won\\'t execute the rest of the code to print out all of the odd and even numbers in a separate line.\\n\\nThe problem with the Palindrome code is similar- the code just *won\\'t finish* executing and will stop before the last for-loop. I\\'m not getting any sort of exception or error when I run the code. I\\'ve tried changing some of the variables in the for loops and I changed the for-each loops into for loops and I didn\\'t work. I have *no* idea what I\\'m doing wrong here or what to even try. I just want the code to fully execute instead of randomly stopping.', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 9, 'created_utc': 1652618090}"}
{"id":"1942751","text":"Title: Is it too late for an internship?\nThe text below was posted in an online community called cscareerquestions in the year 2018:\n\nSo I am in my last year of undergraduate and will graduate in December next year. I wonder if it is too late to apply for an internship? I know an electrical engineer who works for HP and the person says that most companies accept interns only if they will continue to go to school for at least six months after their internships. I have applied to multiple companies for an internship next summer but so far no responses yet so I wonder if it is because I will be graduating soon.","meta":"{'source': 'reddit_posts', 'id': 'a9vo0i', 'title': 'Is it too late for an internship?', 'author': 'teardrop503', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': 'So I am in my last year of undergraduate and will graduate in December next year. I wonder if it is too late to apply for an internship? I know an electrical engineer who works for HP and the person says that most companies accept interns only if they will continue to go to school for at least six months after their internships. I have applied to multiple companies for an internship next summer but so far no responses yet so I wonder if it is because I will be graduating soon.', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 4, 'created_utc': 1545882915}"}
{"id":"2113696","text":"Title: Simple rectangular collision with if statements - noob question\nThe text below was posted in an online community called learnprogramming in the year 2011:\n\nI'm trying to make a ball collide with a rectangle and bounce back. This is my code that won't work. I'm trying to figure out why it won't work...\n\n\/** Obstacles *\/\n    if (obstacle == 1) {\n        if (yball &lt;= blocky - BALL_SIZE &amp;&amp; yball &gt;= blocky +       BLOCK_HEIGHT &amp;&amp; xball + BALL_SIZE &gt;= blockx &amp;&amp; xball &lt;= blockx   + BLOCK_WIDTH) {\n\t    yinc *= -1;\n        }\n        if (yball &lt;= blocky2 - BALL_SIZE &amp;&amp; yball &gt;= blocky2 +   BLOCK_HEIGHT &amp;&amp; xball + BALL_SIZE &gt;= blockx2 &amp;&amp; xball &lt;= blockx2 + BLOCK_WIDTH) {\n\t    yinc *= -1;\n\t}\n}\n\nI did basically this same thing with the paddle collisions before which worked, but for some reason this is giving me a really hard time.\n\nReally appreciate any help that you guys can throw my way!","meta":"{'source': 'reddit_posts', 'id': 'ivcmp', 'title': 'Simple rectangular collision with if statements - noob question', 'author': 'duckinator', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': \"I'm trying to make a ball collide with a rectangle and bounce back. This is my code that won't work. I'm trying to figure out why it won't work...\\n\\n\/** Obstacles *\/\\n    if (obstacle == 1) {\\n        if (yball &lt;= blocky - BALL_SIZE &amp;&amp; yball &gt;= blocky +       BLOCK_HEIGHT &amp;&amp; xball + BALL_SIZE &gt;= blockx &amp;&amp; xball &lt;= blockx   + BLOCK_WIDTH) {\\n\\t    yinc *= -1;\\n        }\\n        if (yball &lt;= blocky2 - BALL_SIZE &amp;&amp; yball &gt;= blocky2 +   BLOCK_HEIGHT &amp;&amp; xball + BALL_SIZE &gt;= blockx2 &amp;&amp; xball &lt;= blockx2 + BLOCK_WIDTH) {\\n\\t    yinc *= -1;\\n\\t}\\n}\\n\\nI did basically this same thing with the paddle collisions before which worked, but for some reason this is giving me a really hard time.\\n\\nReally appreciate any help that you guys can throw my way!\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 8, 'created_utc': 1311208539}"}
{"id":"1547726","text":"Title: My laptop is taking a lot of space but I dont know what is taking said space\nThe text below was posted in an online community called Windows10 in the year 2021:\n\nI wanted to update a game of mine but I dont have enough storage left (after some playing around I went from 9,8GB free space to 16,8GB, so at least that) when I look into the storage overview it says that my apps&amp;features take 174GB, but once I look into the details, the biggest program is Sims 2 with 12,6 GB, followed by Windows software development kit with 2,14 GB. Everything after that doesnt even manage to take a whole GB of space. So what is taking up all my storage? I havent found a way to see what is taking all of it. Does anybody know what I can do?","meta":"{'source': 'reddit_posts', 'id': 'ldf8ed', 'title': 'My laptop is taking a lot of space but I dont know what is taking said space', 'author': '4BlueBunnies', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': 'I wanted to update a game of mine but I dont have enough storage left (after some playing around I went from 9,8GB free space to 16,8GB, so at least that) when I look into the storage overview it says that my apps&amp;features take 174GB, but once I look into the details, the biggest program is Sims 2 with 12,6 GB, followed by Windows software development kit with 2,14 GB. Everything after that doesnt even manage to take a whole GB of space. So what is taking up all my storage? I havent found a way to see what is taking all of it. Does anybody know what I can do?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 6, 'created_utc': 1612553698}"}
{"id":"1543703","text":"Title: Can I force IOMMU grouping?\nThe text below was posted in an online community called linuxquestions in the year 2015:\n\nHi peps,\n\nI'm running Proxmox VE 4.1 on my home server and I use pci passthrough for the onboard SAS controller and my TV card, both work flawlessly. Now I wanted to create a guest with GPU passthrough for fun, so I can test how good it'll work out as HTPC.\n\nSo, when I added the GPU (Radeon HD5450), the guest wouldn't start because the resource is busy, I figured out, that the problem is the IOMMU grouping, because my SAS controller and my GPU are both in the same group.\n\n    \/sys\/kernel\/iommu_groups\/1\/devices\/0000:00:01.0 &lt;- PCI bridge - 8086:0c01\n    \/sys\/kernel\/iommu_groups\/1\/devices\/0000:00:01.1 &lt;- PCI bridge - 8086:0c05\n    \/sys\/kernel\/iommu_groups\/1\/devices\/0000:01:00.0 &lt;- AMD Radeon HD5450 - 1002:68f9\n    \/sys\/kernel\/iommu_groups\/1\/devices\/0000:01:00.1 &lt;- AMD Radeon Audio - 1002:aa68\n    \/sys\/kernel\/iommu_groups\/1\/devices\/0000:02:00.0 &lt;- LSI Logic \/ Symbios Logic SAS2308 - 1000:0086\n\nSo I enabled pcie_acs_override=downstream, but nothing changes, they still remain in the same IOMMU group, can I somehow force the GPU into another group? I'm using the latest Proxmox kernel 4.2.6-1 (contains ACS override patch and VFIO is enabled), I don't really wanna switch kernels, since Proxmox probably added some patches that are relevant for Proxmox itself. But I downloaded the kernel sources, so I could apply patches if needed and build it myself, though I haven't got it to build yet.. Always missing some dependencies.\n\nI also can't use other PCI slots, I only have one x16 slot on my Supermicro X10SL7-F... \n\nHere is the output of dmesg, maybe I overlooked something, but it doesn't seem to be an error, it might be just an issue with IOMMU grouping: http:\/\/pastebin.com\/3GhzmKcE\n\n**Update:** Seems the Proxmox devs included the ACS override patch into the 3.10 kernel, but not into their 4.2 kernel, which explains everything. That means I have to apply it myself and hope it works. \n\n[Found an easy guide for everyone](https:\/\/forum.proxmox.com\/threads\/patch-add-override_for_missing_acs_capabilities-patch.23099\/)\n\n**Update2:** Nope acs override patch didn't fix the issue..\n\n**Update3:** The latest Proxmox kernel fixed my grouping issue, so it was a kernel issue, I dunno what caused this but since it's working now I finally don't give a damn, yay!","meta":"{'source': 'reddit_posts', 'id': '3xu1hn', 'title': 'Can I force IOMMU grouping?', 'author': 'shawly', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': \"Hi peps,\\n\\nI'm running Proxmox VE 4.1 on my home server and I use pci passthrough for the onboard SAS controller and my TV card, both work flawlessly. Now I wanted to create a guest with GPU passthrough for fun, so I can test how good it'll work out as HTPC.\\n\\nSo, when I added the GPU (Radeon HD5450), the guest wouldn't start because the resource is busy, I figured out, that the problem is the IOMMU grouping, because my SAS controller and my GPU are both in the same group.\\n\\n    \/sys\/kernel\/iommu_groups\/1\/devices\/0000:00:01.0 &lt;- PCI bridge - 8086:0c01\\n    \/sys\/kernel\/iommu_groups\/1\/devices\/0000:00:01.1 &lt;- PCI bridge - 8086:0c05\\n    \/sys\/kernel\/iommu_groups\/1\/devices\/0000:01:00.0 &lt;- AMD Radeon HD5450 - 1002:68f9\\n    \/sys\/kernel\/iommu_groups\/1\/devices\/0000:01:00.1 &lt;- AMD Radeon Audio - 1002:aa68\\n    \/sys\/kernel\/iommu_groups\/1\/devices\/0000:02:00.0 &lt;- LSI Logic \/ Symbios Logic SAS2308 - 1000:0086\\n\\nSo I enabled pcie_acs_override=downstream, but nothing changes, they still remain in the same IOMMU group, can I somehow force the GPU into another group? I'm using the latest Proxmox kernel 4.2.6-1 (contains ACS override patch and VFIO is enabled), I don't really wanna switch kernels, since Proxmox probably added some patches that are relevant for Proxmox itself. But I downloaded the kernel sources, so I could apply patches if needed and build it myself, though I haven't got it to build yet.. Always missing some dependencies.\\n\\nI also can't use other PCI slots, I only have one x16 slot on my Supermicro X10SL7-F... \\n\\nHere is the output of dmesg, maybe I overlooked something, but it doesn't seem to be an error, it might be just an issue with IOMMU grouping: http:\/\/pastebin.com\/3GhzmKcE\\n\\n**Update:** Seems the Proxmox devs included the ACS override patch into the 3.10 kernel, but not into their 4.2 kernel, which explains everything. That means I have to apply it myself and hope it works. \\n\\n[Found an easy guide for everyone](https:\/\/forum.proxmox.com\/threads\/patch-add-override_for_missing_acs_capabilities-patch.23099\/)\\n\\n**Update2:** Nope acs override patch didn't fix the issue..\\n\\n**Update3:** The latest Proxmox kernel fixed my grouping issue, so it was a kernel issue, I dunno what caused this but since it's working now I finally don't give a damn, yay!\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 6, 'created_utc': 1450792180}"}
{"id":"1115160","text":"Title: UI best practices for cross-platform (pc\/mobile) dev?\nThe text below was posted in an online community called Unity3D in the year 2017:\n\nIs there a way do use Unity's UI system to create UI layouts that scale for different screen sizes? (not just resolution). I'm aware of the Canvas Scaler, but as far as I know, that doesn't solve my problem;  \n    \nI'm running the game at 1080p on a 24\" monitor, as well as 1080p on a 5.5\" phone screen. The UI is identical, which is the problem; if my buttons, etc are a normal size on PC, they're going to be tiny on the phone.  \n  \n  Do Unity devs typically design different UIs for different platforms in this case? My gameplay is entirely click\/touch-based, so it'd be nice to have a single, scalable UI.","meta":"{'source': 'reddit_posts', 'id': '61so6f', 'title': 'UI best practices for cross-platform (pc\/mobile) dev?', 'author': 'Coriform', 'subreddit': 'Unity3D', 'subreddit_id': '2qwj8', 'body': 'Is there a way do use Unity\\'s UI system to create UI layouts that scale for different screen sizes? (not just resolution). I\\'m aware of the Canvas Scaler, but as far as I know, that doesn\\'t solve my problem;  \\n    \\nI\\'m running the game at 1080p on a 24\" monitor, as well as 1080p on a 5.5\" phone screen. The UI is identical, which is the problem; if my buttons, etc are a normal size on PC, they\\'re going to be tiny on the phone.  \\n  \\n  Do Unity devs typically design different UIs for different platforms in this case? My gameplay is entirely click\/touch-based, so it\\'d be nice to have a single, scalable UI.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 3, 'created_utc': 1490627095}"}
{"id":"1285159","text":"Title: windows keeps crashing\nThe text below was posted in an online community called Windows10 in the year 2015:\n\nI can't really remember when this first started but I know it was during Windows 8.1, when ever I'd play games Windows would just crash, I'd get odd colours on my screen, it just turned into like orange lines across the screen with like a brown background, its all I could see so I could see anything on the computer, the computer was still on and everything but nothing was responding. So I decided to ask around, asked friends and googled the problem and the majority of the response was 'update to Windows 10' so thats what I did. So after a night of downloading and installing I woke up to find that it was installed and windows 10 was ready to go. Started up steam and booted up the game and before I even got in, it crashed, restart my computer I googled the problem for Windows 10, it crashed. Its crashing every 10 minutes now.\n\nIs anybody else experience this? has anyone found a fix for the problem?","meta":"{'source': 'reddit_posts', 'id': '3pzei9', 'title': 'windows keeps crashing', 'author': 'SirGus147', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': \"I can't really remember when this first started but I know it was during Windows 8.1, when ever I'd play games Windows would just crash, I'd get odd colours on my screen, it just turned into like orange lines across the screen with like a brown background, its all I could see so I could see anything on the computer, the computer was still on and everything but nothing was responding. So I decided to ask around, asked friends and googled the problem and the majority of the response was 'update to Windows 10' so thats what I did. So after a night of downloading and installing I woke up to find that it was installed and windows 10 was ready to go. Started up steam and booted up the game and before I even got in, it crashed, restart my computer I googled the problem for Windows 10, it crashed. Its crashing every 10 minutes now.\\n\\nIs anybody else experience this? has anyone found a fix for the problem?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': '1445651568'}"}
{"id":"2430354","text":"Title: Having a lot of trouble removing DNSunlocker from my PC! Anyone else have any experience with this horrible piece of adware?\nThe text below was posted in an online community called AskNetsec in the year 2015:\n\nThings I've tried :\n-Remove all browser extensions\n-reinstall browsers\n-removing the DNSunlocker program from add\/remove programs.\n-uninstall all freeware that I suspect the adware came from.\n-reverted DNS settings back to auto (This malware changes DNS settings!)\n -checked startup processes.\nI am really stumped and not in the mood for formatting! Help would be awesome.","meta":"{'source': 'reddit_posts', 'id': '3js6bu', 'title': 'Having a lot of trouble removing DNSunlocker from my PC! Anyone else have any experience with this horrible piece of adware?', 'author': 'SirZazzzles', 'subreddit': 'AskNetsec', 'subreddit_id': '2t3w8', 'body': \"Things I've tried :\\n-Remove all browser extensions\\n-reinstall browsers\\n-removing the DNSunlocker program from add\/remove programs.\\n-uninstall all freeware that I suspect the adware came from.\\n-reverted DNS settings back to auto (This malware changes DNS settings!)\\n -checked startup processes.\\nI am really stumped and not in the mood for formatting! Help would be awesome.\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 7, 'created_utc': '1441484612'}"}
{"id":"413483","text":"Title: The first month of marketing my new iOS\/Android game, Planet Lander\nThe text below was posted in an online community called gamedev in the year 2015:\n\nSo about a month ago I published my second game. My first game was released last year, just a trial to understand the development and publishing process from start to finish. Learned a lot.\n\nNow with my new game Planet Lander, I really want to go all the way with marketing strategies and tools for a lone indie dev like me. Ill just list all my actions from the past month, if it can help. It certainly helps me organize my priorities. Sorry for the long post.\n\n\nThere are tons of great info on indie game marketing out there, but if I had to pick something that stands out, its [this 3 hour video](https:\/\/www.youtube.com\/watch?v=Sd2IHO2xBrY) from [vgamemarketing.com](http:\/\/vgamemarketing.com\/) Watch all of it, and check out their site, it is very informative.\n\n\n**ASO**\n\n* First, the name. I wanted two descriptive words. I needed lander since its a particular genre and checking with the tools listed below its not overcrowded. With some trials I ended up with Planet Lander, simple and to the point.\n\n* Some say ASO is a waste of time; still it does not take too long to gather a list of words to help your store visibility. I used basic free tools from these ASO sites to help me determine what keywords to include in my store listings and how I rank in relation to direct competitors.\n\n* [MobileAction](https:\/\/www.mobileaction.co)\n\n* [MobileDevHQ](https:\/\/www.mobiledevhq.com\/)\n\n* [SensorTower](https:\/\/sensortower.com\/)\n\n\n**On-line branding**\n\n* Built a landing page with a clear call to action for downloading the game on the available platforms.\n\n* Made a press kit page, for all the info and assets related. [dopresskit.com](http:\/\/dopresskit.com\/)  for guidelines.\n\n* Twitter feed, Facebook page, Google+ page, Youtube channel with demos, LinkedIn page, Pinterest board. Anything and everything posted is spread across all.\n\n\n**Review websites**\n\n* Emailed over 150 websites that are mobile game friendly, to ask for a review of Planet Lander, mention its release or list the game on the site. Some replied with offers for paid reviews. A couple of posts and tweets about the game, all giving a great instant boost in downloads. Im sending a follow-up e-mail to all the sites that did not write back since a few weeks have passed and the results are very good if you get coverage.\n\n* [IndieGameGirl](http:\/\/www.indiegamegirl.com\/app-review-sites-comparison-tool\/) - short but good list\n\n* [VideoGameJournaliser](http:\/\/videogamejournaliser.com\/) - 240 sites in 3 spreadsheets\n\n\n**Youtubers**\n\n* Contacted over 75 YouTubers that *might* be interested in reviewing mobile games (very few do!). I got one video review (modest but friendly YouTuber), instant results; nothing else yet except a few followings on my Twitter account.\n\n* [videogamecaster.com\/big-list-of-youtubers](http:\/\/videogamecaster.com\/big-list-of-youtubers)\n\n* [youtubers.brightside-games.com\/](http:\/\/youtubers.brightside-games.com\/)\n\n\n**Press releases**\n\n* Published a press release for the launch of the game. Using only 3 press sites suggested by [vgamemarketing.com](http:\/\/vgamemarketing.com\/), (two are free, one is only 30$ for two releases) it got me a lot of visibility and added credibility. With this I got a great interview from GameZone about the inspiration for Planet Lander, that was awesome!\n\n* [prlog.org\/](http:\/\/prlog.org\/)\n\n* [gamespress.com\/](http:\/\/gamespress.com\/)\n\n* [gamerelease.net\/](http:\/\/gamerelease.net\/)\n\n\n**Google+ Gaming Communities**\n\n* Just a quick post on gaming communities, it gets buried fast but you get some exposure.\n\n\n**Game Dev community**\n\n* Thats where I did not put enough effort. Just started on Reddit, already got great feedback. I used to write a blog about digital effects and running a VFX studio, Ill get back to it with a game dev blog.\n\n\nWith all this work I now have around 2,000 Android downloads and 500 iOS downloads; most of them from peaks following the actions above. Daily numbers are low but steady and growing each day. Im happy to see return users every day and the feedback is good - so all I really need to do is get the game noticed. \n\nIt is a lot of work, but I was prepared for it. I am still not certain of the short term results considering my lack of experience in this particular market. But every day I break new grounds, the numbers are growing slowly but surely and the feedback is good. Also I am a very stubborn entrepreneur so I will continue until I have tried everything I can.\n\nI wonder whats better when contacting journalists and game review sites: send a short, concise message (it worked with the press release to get a thorough interview on GameZone) or throw all the information, links and graphics in a big message and hope you are giving easy material to post. (it worked for instant coverage and mentions on some game review sites)\n\n\nI was asked in the comments to put up the links to my game, here you are:\n\n[Planet Lander iOS on Apple App store](https:\/\/itunes.apple.com\/us\/app\/planet-lander\/id934277137)\n\n[Planet Lander Android on Google Play](https:\/\/play.google.com\/store\/apps\/details?id=com.djeegames.lander)","meta":"{'source': 'reddit_posts', 'id': '3dn4g2', 'title': 'The first month of marketing my new iOS\/Android game, Planet Lander', 'author': 'DjeeGames', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': 'So about a month ago I published my second game. My first game was released last year, just a trial to understand the development and publishing process from start to finish. Learned a lot.\\n\\nNow with my new game Planet Lander, I really want to go all the way with marketing strategies and tools for a lone indie dev like me. Ill just list all my actions from the past month, if it can help. It certainly helps me organize my priorities. Sorry for the long post.\\n\\n\\nThere are tons of great info on indie game marketing out there, but if I had to pick something that stands out, its [this 3 hour video](https:\/\/www.youtube.com\/watch?v=Sd2IHO2xBrY) from [vgamemarketing.com](http:\/\/vgamemarketing.com\/) Watch all of it, and check out their site, it is very informative.\\n\\n\\n**ASO**\\n\\n* First, the name. I wanted two descriptive words. I needed lander since its a particular genre and checking with the tools listed below its not overcrowded. With some trials I ended up with Planet Lander, simple and to the point.\\n\\n* Some say ASO is a waste of time; still it does not take too long to gather a list of words to help your store visibility. I used basic free tools from these ASO sites to help me determine what keywords to include in my store listings and how I rank in relation to direct competitors.\\n\\n* [MobileAction](https:\/\/www.mobileaction.co)\\n\\n* [MobileDevHQ](https:\/\/www.mobiledevhq.com\/)\\n\\n* [SensorTower](https:\/\/sensortower.com\/)\\n\\n\\n**On-line branding**\\n\\n* Built a landing page with a clear call to action for downloading the game on the available platforms.\\n\\n* Made a press kit page, for all the info and assets related. [dopresskit.com](http:\/\/dopresskit.com\/)  for guidelines.\\n\\n* Twitter feed, Facebook page, Google+ page, Youtube channel with demos, LinkedIn page, Pinterest board. Anything and everything posted is spread across all.\\n\\n\\n**Review websites**\\n\\n* Emailed over 150 websites that are mobile game friendly, to ask for a review of Planet Lander, mention its release or list the game on the site. Some replied with offers for paid reviews. A couple of posts and tweets about the game, all giving a great instant boost in downloads. Im sending a follow-up e-mail to all the sites that did not write back since a few weeks have passed and the results are very good if you get coverage.\\n\\n* [IndieGameGirl](http:\/\/www.indiegamegirl.com\/app-review-sites-comparison-tool\/) - short but good list\\n\\n* [VideoGameJournaliser](http:\/\/videogamejournaliser.com\/) - 240 sites in 3 spreadsheets\\n\\n\\n**Youtubers**\\n\\n* Contacted over 75 YouTubers that *might* be interested in reviewing mobile games (very few do!). I got one video review (modest but friendly YouTuber), instant results; nothing else yet except a few followings on my Twitter account.\\n\\n* [videogamecaster.com\/big-list-of-youtubers](http:\/\/videogamecaster.com\/big-list-of-youtubers)\\n\\n* [youtubers.brightside-games.com\/](http:\/\/youtubers.brightside-games.com\/)\\n\\n\\n**Press releases**\\n\\n* Published a press release for the launch of the game. Using only 3 press sites suggested by [vgamemarketing.com](http:\/\/vgamemarketing.com\/), (two are free, one is only 30$ for two releases) it got me a lot of visibility and added credibility. With this I got a great interview from GameZone about the inspiration for Planet Lander, that was awesome!\\n\\n* [prlog.org\/](http:\/\/prlog.org\/)\\n\\n* [gamespress.com\/](http:\/\/gamespress.com\/)\\n\\n* [gamerelease.net\/](http:\/\/gamerelease.net\/)\\n\\n\\n**Google+ Gaming Communities**\\n\\n* Just a quick post on gaming communities, it gets buried fast but you get some exposure.\\n\\n\\n**Game Dev community**\\n\\n* Thats where I did not put enough effort. Just started on Reddit, already got great feedback. I used to write a blog about digital effects and running a VFX studio, Ill get back to it with a game dev blog.\\n\\n\\nWith all this work I now have around 2,000 Android downloads and 500 iOS downloads; most of them from peaks following the actions above. Daily numbers are low but steady and growing each day. Im happy to see return users every day and the feedback is good - so all I really need to do is get the game noticed. \\n\\nIt is a lot of work, but I was prepared for it. I am still not certain of the short term results considering my lack of experience in this particular market. But every day I break new grounds, the numbers are growing slowly but surely and the feedback is good. Also I am a very stubborn entrepreneur so I will continue until I have tried everything I can.\\n\\nI wonder whats better when contacting journalists and game review sites: send a short, concise message (it worked with the press release to get a thorough interview on GameZone) or throw all the information, links and graphics in a big message and hope you are giving easy material to post. (it worked for instant coverage and mentions on some game review sites)\\n\\n\\nI was asked in the comments to put up the links to my game, here you are:\\n\\n[Planet Lander iOS on Apple App store](https:\/\/itunes.apple.com\/us\/app\/planet-lander\/id934277137)\\n\\n[Planet Lander Android on Google Play](https:\/\/play.google.com\/store\/apps\/details?id=com.djeegames.lander)', 'body_is_trimmed': False, 'score': 53, 'over_18': False, 'num_comments': 29, 'created_utc': '1437151974'}"}
{"id":"807583","text":"Title: Need some help with my solution about sending data into api with for loop.\nThe text below was posted in an online community called androiddev in the year 2019:\n\nHello. I need help with my solution which it is:I'm currently working on a homework, which i got so far and i'm trying new things, right now i'm getting all data from my sqlite with Room Persistance,\n\nin my app when someone hit save, if api wasn't reachable or internet was down, data will be save in sqlite, then what i'm trying to do is that when user came online send saved data into api,\n\nnow here's what i've done i've put my ArrayList size into a int variable to get number of rows, then i've used it in for Loop like :\n\n            maps=(ArrayList&lt;Map&gt;) appDatabase.getMapDAO().getMaps();\n            final int size = maps.size();\n            Log.e(\"Map Size\", String.valueOf(size));\n            for (int i = 0; i &lt; size; i++)\n            {\n                long id = maps.get(i).getId();\n                Log.e(\"Reporter : \", String.valueOf(id));\n                \/\/send id to api\n            }\n\nlet's say i have 70, data, i guess my app will try to send 70 row into api in ,i don't know 5 sec, which it will be so hard for a simple sharing host for api to handle something like this for i guess 10 running app + people who also sending data in normal way...\n\ni need help for this solution, i don't know if it's even right to use this method or not, so please if it's possible give me your advise to help me achieve this, with my homework.\n\nI'm also sorry for bad english.\n\nAnother idea : i can also use timer to base on timer send data every 3 sec 1 by 1.","meta":"{'source': 'reddit_posts', 'id': 'dbv24l', 'title': 'Need some help with my solution about sending data into api with for loop.', 'author': 'MyBraveShine', 'subreddit': 'androiddev', 'subreddit_id': '2r26y', 'body': 'Hello. I need help with my solution which it is:I\\'m currently working on a homework, which i got so far and i\\'m trying new things, right now i\\'m getting all data from my sqlite with Room Persistance,\\n\\nin my app when someone hit save, if api wasn\\'t reachable or internet was down, data will be save in sqlite, then what i\\'m trying to do is that when user came online send saved data into api,\\n\\nnow here\\'s what i\\'ve done i\\'ve put my ArrayList size into a int variable to get number of rows, then i\\'ve used it in for Loop like :\\n\\n            maps=(ArrayList&lt;Map&gt;) appDatabase.getMapDAO().getMaps();\\n            final int size = maps.size();\\n            Log.e(\"Map Size\", String.valueOf(size));\\n            for (int i = 0; i &lt; size; i++)\\n            {\\n                long id = maps.get(i).getId();\\n                Log.e(\"Reporter : \", String.valueOf(id));\\n                \/\/send id to api\\n            }\\n\\nlet\\'s say i have 70, data, i guess my app will try to send 70 row into api in ,i don\\'t know 5 sec, which it will be so hard for a simple sharing host for api to handle something like this for i guess 10 running app + people who also sending data in normal way...\\n\\ni need help for this solution, i don\\'t know if it\\'s even right to use this method or not, so please if it\\'s possible give me your advise to help me achieve this, with my homework.\\n\\nI\\'m also sorry for bad english.\\n\\nAnother idea : i can also use timer to base on timer send data every 3 sec 1 by 1.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 9, 'created_utc': 1569943917}"}
{"id":"612292","text":"Title: Did I mess up launching the steam page too early?\nThe text below was posted in an online community called gamedev in the year 2022:\n\nHey everyone, hope you all are having an amazing day.\n\nSo I am working on my game and I kept hearing to have the steam page up as soon as possible even if its not too great. So I followed the advice and launched my steam page with some basic art and screenshots that tell what my game is about. Now, I am not particularly getting lots of visit, steam doesnt seem to show it to users and the wishlists I have gotten until now (61) are due to posts and other sites I assume. Did I mess my window up and steam wont show it again? I heard some games get 100s daily, I am happy if I get 5. I am currently doing some new trailers and videos to upload as the current trailer doesnt represent my game anymore. So my main question is: **Is there a chance the game could get some tractions later when I update the visuals of my page?** Or has the train departed. I have recently posted on reddit and the reception has been great and I genuinely believe the game once further developed wont be a low effort title (I hope). If anyone wants to [check it out](https:\/\/store.steampowered.com\/app\/1680370\/Gunning_Over_It\/) and give me feedback, it would be more than welcome...\n\nThank you!","meta":"{'source': 'reddit_posts', 'id': 'vf4903', 'title': 'Did I mess up launching the steam page too early?', 'author': 'FriendlyBergTroll', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': 'Hey everyone, hope you all are having an amazing day.\\n\\nSo I am working on my game and I kept hearing to have the steam page up as soon as possible even if its not too great. So I followed the advice and launched my steam page with some basic art and screenshots that tell what my game is about. Now, I am not particularly getting lots of visit, steam doesnt seem to show it to users and the wishlists I have gotten until now (61) are due to posts and other sites I assume. Did I mess my window up and steam wont show it again? I heard some games get 100s daily, I am happy if I get 5. I am currently doing some new trailers and videos to upload as the current trailer doesnt represent my game anymore. So my main question is: **Is there a chance the game could get some tractions later when I update the visuals of my page?** Or has the train departed. I have recently posted on reddit and the reception has been great and I genuinely believe the game once further developed wont be a low effort title (I hope). If anyone wants to [check it out](https:\/\/store.steampowered.com\/app\/1680370\/Gunning_Over_It\/) and give me feedback, it would be more than welcome...\\n\\nThank you!', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 11, 'created_utc': 1655551660}"}
{"id":"1373317","text":"Title: [D] Neutrino Is Like Vocaloid But With Neural Nets For Impressive Japanese Singing Synthesis\nThe text below was posted in an online community called MachineLearning in the year 2020:\n\nI'm kind surprised no one has posted about this:\n\n [https:\/\/www.vocaloidnews.net\/neutrino-neural-singing-synthetizer-is-revolutionary\/](https:\/\/www.vocaloidnews.net\/neutrino-neural-singing-synthetizer-is-revolutionary\/) \n\nHere's an example cover song:\n\n [https:\/\/www.youtube.com\/watch?v=m7n5PfUGaT8](https:\/\/www.youtube.com\/watch?v=m7n5PfUGaT8) \n\nI'm tempted to try to put together an equivalent for English.  Anyone want to guess the underlying architecture?  Apparently it's made by SHACHI, and while the code hasn't been released, they do describe some implementation details on their blog here:   [http:\/\/n3utrino.work\/blog\/](http:\/\/n3utrino.work\/blog\/) \n\nAnyone with a better understanding of Japanese want to try to skim that and give a gist?  The best I can tell is that apparently the initial version uses a neural net model to encode the notation into features that are then put through an algorithmic decoder, namely WORLD, though the new version that just got released uses NSF, which is a neural net model for decoding.","meta":"{'source': 'reddit_posts', 'id': 'g0r608', 'title': '[D] Neutrino Is Like Vocaloid But With Neural Nets For Impressive Japanese Singing Synthesis', 'author': 'JosephLChu', 'subreddit': 'MachineLearning', 'subreddit_id': '2r3gv', 'body': \"I'm kind surprised no one has posted about this:\\n\\n [https:\/\/www.vocaloidnews.net\/neutrino-neural-singing-synthetizer-is-revolutionary\/](https:\/\/www.vocaloidnews.net\/neutrino-neural-singing-synthetizer-is-revolutionary\/) \\n\\nHere's an example cover song:\\n\\n [https:\/\/www.youtube.com\/watch?v=m7n5PfUGaT8](https:\/\/www.youtube.com\/watch?v=m7n5PfUGaT8) \\n\\nI'm tempted to try to put together an equivalent for English.  Anyone want to guess the underlying architecture?  Apparently it's made by SHACHI, and while the code hasn't been released, they do describe some implementation details on their blog here:   [http:\/\/n3utrino.work\/blog\/](http:\/\/n3utrino.work\/blog\/) \\n\\nAnyone with a better understanding of Japanese want to try to skim that and give a gist?  The best I can tell is that apparently the initial version uses a neural net model to encode the notation into features that are then put through an algorithmic decoder, namely WORLD, though the new version that just got released uses NSF, which is a neural net model for decoding.\", 'body_is_trimmed': False, 'score': 36, 'over_18': False, 'num_comments': 5, 'created_utc': 1586810456}"}
{"id":"1536354","text":"Title: Need some help\nThe text below was posted in an online community called ProgrammerHumor in the year 2019:\n\nHey yall there was a comic a while back about product development, testing, and the end user use of the product. At every stage the product was different than expected. And the end user just used it completely stupid. I think it was something to do with a chair. Can someone help me out with a link?","meta":"{'source': 'reddit_posts', 'id': 'ctow82', 'title': 'Need some help', 'author': 'irishchemrebel', 'subreddit': 'ProgrammerHumor', 'subreddit_id': '2tex6', 'body': 'Hey yall there was a comic a while back about product development, testing, and the end user use of the product. At every stage the product was different than expected. And the end user just used it completely stupid. I think it was something to do with a chair. Can someone help me out with a link?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1566429743}"}
{"id":"514231","text":"Title: Am I the only one who's noticed improvements to iOS 9 PB without a real release? As of yesterday vs today.\nThe text below was posted in an online community called apple in the year 2015:\n\nThe icons have moved back to the top closer to the status bar as was before and the status bar updates instantaneously rather than the 2 second lag in the past PB. Searched everywhere and there isn't any news.","meta":"{'source': 'reddit_posts', 'id': '3fhnew', 'title': \"Am I the only one who's noticed improvements to iOS 9 PB without a real release? As of yesterday vs today.\", 'author': 'saadsami', 'subreddit': 'apple', 'subreddit_id': '2qh1f', 'body': \"The icons have moved back to the top closer to the status bar as was before and the status bar updates instantaneously rather than the 2 second lag in the past PB. Searched everywhere and there isn't any news.\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 4, 'created_utc': '1438500333'}"}
{"id":"1748346","text":"Title: [R] Reversing Classical Software with Differentable Logic Gates\nThe text below was posted in an online community called MachineLearning in the year 2019:\n\nHello everyone,\n\nI'd like to share some work I have done in recasting logic gates into a differentiable form, thereby enabling gradient descent through a classical program.  \n\n[https:\/\/youtu.be\/hSEinrmMm9A](https:\/\/youtu.be\/hSEinrmMm9A)\n\nCodebase will be released soon.","meta":"{'source': 'reddit_posts', 'id': 'dqavx0', 'title': '[R] Reversing Classical Software with Differentable Logic Gates', 'author': 'neuralPr0cess0r', 'subreddit': 'MachineLearning', 'subreddit_id': '2r3gv', 'body': \"Hello everyone,\\n\\nI'd like to share some work I have done in recasting logic gates into a differentiable form, thereby enabling gradient descent through a classical program.  \\n\\n[https:\/\/youtu.be\/hSEinrmMm9A](https:\/\/youtu.be\/hSEinrmMm9A)\\n\\nCodebase will be released soon.\", 'body_is_trimmed': False, 'score': 15, 'over_18': False, 'num_comments': 7, 'created_utc': 1572644469}"}
{"id":"1038140","text":"Title: I'm having a problem with js assets\/pipeline in my project.\nThe text below was posted in an online community called rails in the year 2017:\n\nUPDATE: NM I fixed it. I missed another datepicker file that was conflicting with bootstrap-datepicker.\n\nI am using bootstrap-datepicker for some fields on a form. I had it working properly but at some point it stopped working. So looking into the issue if I remove the \/\/= require_tree . from my application.js file the datepicker works fine. \n\nBUT my jquery fileupload stops working. If I add the \/\/= require_tree . back in the jquery fileupload works but the datepicker stops working. Here is how I have these set up:\n\napplication.js\n\n        \/\/= require jquery\n        \/\/= require rails-ujs\n        \/\/= require jquery-ui\n        \/\/= require datapicker\/bootstrap-datepicker.js\n        \/\/= require turbolinks\n        \/\/= require jquery-fileupload\/vendor\/jquery.ui.widget\n        \/\/= require jquery-fileupload\/jquery.iframe-transport\n        \/\/= require jquery-fileupload\/jquery.fileupload\n        \/\/= require bootstrap-sprockets\n        \/\/= require metisMenu\/jquery.metisMenu.js\n        \/\/= require pace\/pace.min.js\n        \/\/= require slimscroll\/jquery.slimscroll.min.js\n        \/\/= require inspinia.js\n        \/\/= require sweetalert2\n        \/\/= require sweet-alert2-rails\n        \/\/= require_tree .\n\nAsset tree layout:\n\n        app\n          assets\n            -font\n            -images\n            -javascripts\n              -application.js\n              -comments.js\n              -inspinia.js\n              -project.js\n              -tasklist.js\n              -uploads.js\n              \n          stylesheets\n              -application.css.scss\n              -projects.css.scss\n              -style.scss\n\nI'm wondering if the jquery code in uploads.js is somehow messing things up when I require_tree? I'm not sure where to start with this. If anyone has any suggestions I would appreciate it.","meta":"{'source': 'reddit_posts', 'id': '6x74p1', 'title': \"I'm having a problem with js assets\/pipeline in my project.\", 'author': 'spacerobotTR', 'subreddit': 'rails', 'subreddit_id': '2qhjn', 'body': \"UPDATE: NM I fixed it. I missed another datepicker file that was conflicting with bootstrap-datepicker.\\n\\nI am using bootstrap-datepicker for some fields on a form. I had it working properly but at some point it stopped working. So looking into the issue if I remove the \/\/= require_tree . from my application.js file the datepicker works fine. \\n\\nBUT my jquery fileupload stops working. If I add the \/\/= require_tree . back in the jquery fileupload works but the datepicker stops working. Here is how I have these set up:\\n\\napplication.js\\n\\n        \/\/= require jquery\\n        \/\/= require rails-ujs\\n        \/\/= require jquery-ui\\n        \/\/= require datapicker\/bootstrap-datepicker.js\\n        \/\/= require turbolinks\\n        \/\/= require jquery-fileupload\/vendor\/jquery.ui.widget\\n        \/\/= require jquery-fileupload\/jquery.iframe-transport\\n        \/\/= require jquery-fileupload\/jquery.fileupload\\n        \/\/= require bootstrap-sprockets\\n        \/\/= require metisMenu\/jquery.metisMenu.js\\n        \/\/= require pace\/pace.min.js\\n        \/\/= require slimscroll\/jquery.slimscroll.min.js\\n        \/\/= require inspinia.js\\n        \/\/= require sweetalert2\\n        \/\/= require sweet-alert2-rails\\n        \/\/= require_tree .\\n\\nAsset tree layout:\\n\\n        app\\n          assets\\n            -font\\n            -images\\n            -javascripts\\n              -application.js\\n              -comments.js\\n              -inspinia.js\\n              -project.js\\n              -tasklist.js\\n              -uploads.js\\n              \\n          stylesheets\\n              -application.css.scss\\n              -projects.css.scss\\n              -style.scss\\n\\nI'm wondering if the jquery code in uploads.js is somehow messing things up when I require_tree? I'm not sure where to start with this. If anyone has any suggestions I would appreciate it.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1504189092}"}
{"id":"2089026","text":"Title: Hit a brick wall...Python 2 -&gt; Python3 + QT. Trying to use Pyinstaller\nThe text below was posted in an online community called Python in the year 2016:\n\nLet it be known that I am not a developer by any means.   Skip to **Problem** If you don't want a mini journal entry.  Read the *backstory* if you care to know my exact situation.\n\n***\n##Backstory\n\nI'd tried to learn python (2) a few years ago and life  \/ work just took over.  I picked it back up and started making some simple things for work that helped people by automating simple stuff..mostly string replacement.\n\nI've been able to keep progressing and ended up making a tool that would be run via command line.  It let users interact with devices over SSH to do tasks that were easy to make mistakes on.  That being said my boss suggested I crack down and make a GUI.  \n\nAt this point I was using Python 2 ...I knew I needed to switch to 3.  I briefly tried Tkinter and didn't find ti easy to make something that looked nice.\n\nI hopped over to 3 and dealt with a few encoding issues...which were scary.  Now I'm using Python3 and PyQT.  Which brings me to my Pyinstaller issue.\n\n***\n##Problem\n\nSwapped from Python2 -&gt; 3.  All was well, had to do some wonky direct pathing to get Python3 &amp; Pyinstaller to work...but nothing too horrid.  I tried to build an exe using Pyinstaller and I'm running into an issue that I'm not sure what to do with.\n\nI'm breaking it down to make it as easy to read as possible\n\nCompiling to exe..\n\n    PS C:\\Scripts\\python\\Nexgen\\Utility&gt; python C:\\Python34\\Scripts\\pyinstaller-script.py .\\test.py\n\noutput below..\n\n    138 INFO: PyInstaller: 3.0\n    138 INFO: Python: 3.4.3\n    138 INFO: Platform: Windows-7-6.1.7601-SP1\n    140 INFO: wrote C:\\Scripts\\python\\Nexgen\\Utility\\test.spec\n    183 INFO: UPX is available.\n    184 INFO: Extending PYTHONPATH with C:\\Scripts\\python\\Nexgen\\Utility\n    184 INFO: checking Analysis\n    187 INFO: Building because pathex changed\n    188 INFO: Initializing module dependency graph...\n    190 INFO: Initializing module graph hooks...\n    191 INFO: Analyzing base_library.zip ...\n    1854 INFO: Processing pre-find module path hook   distutils\n    3082 INFO: running Analysis out00-Analysis.toc\n    3519 INFO: Analyzing C:\\Scripts\\python\\Nexgen\\Utility\\test.py\n    4951 INFO: Processing pre-find module path hook   PyQt4.uic.port_v3\n    4959 INFO: Processing pre-find module path hook   PyQt4.uic.port_v2\n    5115 INFO: Looking for import hooks ...\n    5120 INFO: Processing hook   hook-xml.py\n    5352 INFO: Processing hook   hook-xml.etree.cElementTree.py\n    5355 INFO: Processing hook   hook-distutils.py\n    5358 INFO: Processing hook   hook-PIL.py\n    5359 INFO: Excluded import 'tkinter' not found\n    5359 INFO: Excluded import 'FixTk' not found\n    5361 INFO: Excluding import 'PySide'\n    5361 INFO: Excluding import 'PyQt5'\n    5361 INFO: Excluding import 'PyQt4'\n\nthis is where things don't look too good...\n\n    5362 INFO: Processing hook   hook-PyQt4.QtCore.py\n    5415 WARNING: Hidden import 'PyQT4._qt' not found (probably old hook)\n    5415 INFO: Processing hook   hook-pydoc.py\n    5417 INFO: Processing hook   hook-PyQt4.QtGui.py\n    5667 WARNING: Hidden import 'PyQt4._qt' not found (probably old hook)\n    5670 INFO: Processing hook   hook-PyQt4.py\n    5673 WARNING: Hidden import 'PyQt4._qt' not found (probably old hook)\n\nend of errors\n\n    5673 INFO: Processing hook   hook-xml.sax.py\n    5676 INFO: Processing hook   hook-encodings.py\n    5690 INFO: Processing hook   hook-PIL.Image.py\n    6161 INFO: Processing hook   hook-_tkinter.py\n    6316 INFO: checking Tree\n    7167 INFO: checking Tree\n    7351 INFO: Processing hook   hook-PIL.SpiderImagePlugin.py\n    7355 INFO: Excluding import 'tkinter'\n    7357 WARNING:   Removing import 'tkinter.constants'\n    7357 WARNING:   Removing import 'tkinter._fix'\n    7357 WARNING:   Removing import 'tkinter'\n    7358 INFO: Excluded import 'FixTk' not found\n    7381 INFO: Looking for ctypes DLLs\n    7382 INFO: Analyzing run-time hooks ...\n    7388 INFO: Including run-time hook 'pyi_rth_qt4plugins.py'\n    7398 INFO: Looking for dynamic libraries\n    28197 INFO: Looking for eggs\n    28199 INFO: Using Python library C:\\Windows\\system32\\python34.dll\n    28199 INFO: Found binding redirects:\n    []\n    28210 INFO: Warnings written to C:\\Scripts\\python\\Nexgen\\Utility\\build\\test\\warntest.txt\n    28220 INFO: checking PYZ\n    28223 INFO: Building because toc changed\n    28223 INFO: Building PYZ (ZlibArchive) C:\\Scripts\\python\\Nexgen\\Utility\\build\\test\\out00-PYZ.pyz\n    28505 INFO: checking PKG\n    28506 INFO: Building because toc changed\n    28506 INFO: Building PKG (CArchive) out00-PKG.pkg\n    28529 INFO: Bootloader c:\\python34\\lib\\site-packages\\PyInstaller\\bootloader\\Windows-64bit\\run.exe\n    28529 INFO: checking EXE\n    28529 INFO: Building because out00-EXE.toc is bad\n    28530 INFO: Building EXE from out00-EXE.toc\n    28532 INFO: Appending archive to EXE C:\\Scripts\\python\\Nexgen\\Utility\\build\\test\\test.exe\n    28536 INFO: checking COLLECT\n    28536 INFO: Building COLLECT out00-COLLECT.toc\n\n\ntrying to run the exe\n\n\n    PS C:\\Scripts\\python\\Nexgen\\Utility&gt; .\\dist\\test\\test.exe\n    This application failed to start because it could not find or load the Qt platform plugin \"windows\".\n\n    Reinstalling the application may fix this problem.\n\n\n###:(","meta":"{'source': 'reddit_posts', 'id': '40zpoh', 'title': 'Hit a brick wall...Python 2 -&gt; Python3 + QT. Trying to use Pyinstaller', 'author': 'brand0n', 'subreddit': 'Python', 'subreddit_id': '2qh0y', 'body': 'Let it be known that I am not a developer by any means.   Skip to **Problem** If you don\\'t want a mini journal entry.  Read the *backstory* if you care to know my exact situation.\\n\\n***\\n##Backstory\\n\\nI\\'d tried to learn python (2) a few years ago and life  \/ work just took over.  I picked it back up and started making some simple things for work that helped people by automating simple stuff..mostly string replacement.\\n\\nI\\'ve been able to keep progressing and ended up making a tool that would be run via command line.  It let users interact with devices over SSH to do tasks that were easy to make mistakes on.  That being said my boss suggested I crack down and make a GUI.  \\n\\nAt this point I was using Python 2 ...I knew I needed to switch to 3.  I briefly tried Tkinter and didn\\'t find ti easy to make something that looked nice.\\n\\nI hopped over to 3 and dealt with a few encoding issues...which were scary.  Now I\\'m using Python3 and PyQT.  Which brings me to my Pyinstaller issue.\\n\\n***\\n##Problem\\n\\nSwapped from Python2 -&gt; 3.  All was well, had to do some wonky direct pathing to get Python3 &amp; Pyinstaller to work...but nothing too horrid.  I tried to build an exe using Pyinstaller and I\\'m running into an issue that I\\'m not sure what to do with.\\n\\nI\\'m breaking it down to make it as easy to read as possible\\n\\nCompiling to exe..\\n\\n    PS C:\\\\Scripts\\\\python\\\\Nexgen\\\\Utility&gt; python C:\\\\Python34\\\\Scripts\\\\pyinstaller-script.py .\\\\test.py\\n\\noutput below..\\n\\n    138 INFO: PyInstaller: 3.0\\n    138 INFO: Python: 3.4.3\\n    138 INFO: Platform: Windows-7-6.1.7601-SP1\\n    140 INFO: wrote C:\\\\Scripts\\\\python\\\\Nexgen\\\\Utility\\\\test.spec\\n    183 INFO: UPX is available.\\n    184 INFO: Extending PYTHONPATH with C:\\\\Scripts\\\\python\\\\Nexgen\\\\Utility\\n    184 INFO: checking Analysis\\n    187 INFO: Building because pathex changed\\n    188 INFO: Initializing module dependency graph...\\n    190 INFO: Initializing module graph hooks...\\n    191 INFO: Analyzing base_library.zip ...\\n    1854 INFO: Processing pre-find module path hook   distutils\\n    3082 INFO: running Analysis out00-Analysis.toc\\n    3519 INFO: Analyzing C:\\\\Scripts\\\\python\\\\Nexgen\\\\Utility\\\\test.py\\n    4951 INFO: Processing pre-find module path hook   PyQt4.uic.port_v3\\n    4959 INFO: Processing pre-find module path hook   PyQt4.uic.port_v2\\n    5115 INFO: Looking for import hooks ...\\n    5120 INFO: Processing hook   hook-xml.py\\n    5352 INFO: Processing hook   hook-xml.etree.cElementTree.py\\n    5355 INFO: Processing hook   hook-distutils.py\\n    5358 INFO: Processing hook   hook-PIL.py\\n    5359 INFO: Excluded import \\'tkinter\\' not found\\n    5359 INFO: Excluded import \\'FixTk\\' not found\\n    5361 INFO: Excluding import \\'PySide\\'\\n    5361 INFO: Excluding import \\'PyQt5\\'\\n    5361 INFO: Excluding import \\'PyQt4\\'\\n\\nthis is where things don\\'t look too good...\\n\\n    5362 INFO: Processing hook   hook-PyQt4.QtCore.py\\n    5415 WARNING: Hidden import \\'PyQT4._qt\\' not found (probably old hook)\\n    5415 INFO: Processing hook   hook-pydoc.py\\n    5417 INFO: Processing hook   hook-PyQt4.QtGui.py\\n    5667 WARNING: Hidden import \\'PyQt4._qt\\' not found (probably old hook)\\n    5670 INFO: Processing hook   hook-PyQt4.py\\n    5673 WARNING: Hidden import \\'PyQt4._qt\\' not found (probably old hook)\\n\\nend of errors\\n\\n    5673 INFO: Processing hook   hook-xml.sax.py\\n    5676 INFO: Processing hook   hook-encodings.py\\n    5690 INFO: Processing hook   hook-PIL.Image.py\\n    6161 INFO: Processing hook   hook-_tkinter.py\\n    6316 INFO: checking Tree\\n    7167 INFO: checking Tree\\n    7351 INFO: Processing hook   hook-PIL.SpiderImagePlugin.py\\n    7355 INFO: Excluding import \\'tkinter\\'\\n    7357 WARNING:   Removing import \\'tkinter.constants\\'\\n    7357 WARNING:   Removing import \\'tkinter._fix\\'\\n    7357 WARNING:   Removing import \\'tkinter\\'\\n    7358 INFO: Excluded import \\'FixTk\\' not found\\n    7381 INFO: Looking for ctypes DLLs\\n    7382 INFO: Analyzing run-time hooks ...\\n    7388 INFO: Including run-time hook \\'pyi_rth_qt4plugins.py\\'\\n    7398 INFO: Looking for dynamic libraries\\n    28197 INFO: Looking for eggs\\n    28199 INFO: Using Python library C:\\\\Windows\\\\system32\\\\python34.dll\\n    28199 INFO: Found binding redirects:\\n    []\\n    28210 INFO: Warnings written to C:\\\\Scripts\\\\python\\\\Nexgen\\\\Utility\\\\build\\\\test\\\\warntest.txt\\n    28220 INFO: checking PYZ\\n    28223 INFO: Building because toc changed\\n    28223 INFO: Building PYZ (ZlibArchive) C:\\\\Scripts\\\\python\\\\Nexgen\\\\Utility\\\\build\\\\test\\\\out00-PYZ.pyz\\n    28505 INFO: checking PKG\\n    28506 INFO: Building because toc changed\\n    28506 INFO: Building PKG (CArchive) out00-PKG.pkg\\n    28529 INFO: Bootloader c:\\\\python34\\\\lib\\\\site-packages\\\\PyInstaller\\\\bootloader\\\\Windows-64bit\\\\run.exe\\n    28529 INFO: checking EXE\\n    28529 INFO: Building because out00-EXE.toc is bad\\n    28530 INFO: Building EXE from out00-EXE.toc\\n    28532 INFO: Appending archive to EXE C:\\\\Scripts\\\\python\\\\Nexgen\\\\Utility\\\\build\\\\test\\\\test.exe\\n    28536 INFO: checking COLLECT\\n    28536 INFO: Building COLLECT out00-COLLECT.toc\\n\\n\\ntrying to run the exe\\n\\n\\n    PS C:\\\\Scripts\\\\python\\\\Nexgen\\\\Utility&gt; .\\\\dist\\\\test\\\\test.exe\\n    This application failed to start because it could not find or load the Qt platform plugin \"windows\".\\n\\n    Reinstalling the application may fix this problem.\\n\\n\\n###:(', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 23, 'created_utc': 1452806783}"}
{"id":"1590798","text":"Title: Anything similar to Titan M, Secure Enclave or ARM's TrustZone\nThe text below was posted in an online community called Android in the year 2022:\n\nApple uses Secure Enclave\n\nGoogle uses Titan M\n\nSamsung uses ARM's TrustZone + Knox + Secure Folder\n\nAny other phone manufacturer uses\/provides such security isolation tech on their phones?","meta":"{'source': 'reddit_posts', 'id': 'swzgg6', 'title': \"Anything similar to Titan M, Secure Enclave or ARM's TrustZone\", 'author': 'niclaw13', 'subreddit': 'Android', 'subreddit_id': '2qlqh', 'body': \"Apple uses Secure Enclave\\n\\nGoogle uses Titan M\\n\\nSamsung uses ARM's TrustZone + Knox + Secure Folder\\n\\nAny other phone manufacturer uses\/provides such security isolation tech on their phones?\", 'body_is_trimmed': False, 'score': 53, 'over_18': False, 'num_comments': 10, 'created_utc': 1645357165}"}
{"id":"1131951","text":"Title: Have an idea about procedurally generating low poly style terrain.\nThe text below was posted in an online community called Unity3D in the year 2018:\n\nI have an idea for a function (or two), which would make low poly terrain. The only way of approaching this (that I can think of) is making a big grid of vertices with noise-offsetted X, Y and Z values then making planes between all those points. Is there any better way to make low poly terrain semi-randomly?","meta":"{'source': 'reddit_posts', 'id': '8d5mr4', 'title': 'Have an idea about procedurally generating low poly style terrain.', 'author': '-theLunarMartian-', 'subreddit': 'Unity3D', 'subreddit_id': '2qwj8', 'body': 'I have an idea for a function (or two), which would make low poly terrain. The only way of approaching this (that I can think of) is making a big grid of vertices with noise-offsetted X, Y and Z values then making planes between all those points. Is there any better way to make low poly terrain semi-randomly?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 5, 'created_utc': 1524058330}"}
{"id":"2394417","text":"Title: Does anyone use Sequel with rails? What do you use for authentication? What other gems do you need to replace?\nThe text below was posted in an online community called rails in the year 2018:\n\nI like Sequel much better than AR, but my favorite authentication gem, Sorcery, does not integrate with it. \n\nWhat is your go-to sequel authentication solution?\n\nAlso, what other common gems are you unable to use? What do you replace them with?\n\nThank you!","meta":"{'source': 'reddit_posts', 'id': '8nvjhk', 'title': 'Does anyone use Sequel with rails? What do you use for authentication? What other gems do you need to replace?', 'author': 'obviousoctopus', 'subreddit': 'rails', 'subreddit_id': '2qhjn', 'body': 'I like Sequel much better than AR, but my favorite authentication gem, Sorcery, does not integrate with it. \\n\\nWhat is your go-to sequel authentication solution?\\n\\nAlso, what other common gems are you unable to use? What do you replace them with?\\n\\nThank you!', 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 10, 'created_utc': 1527887718}"}
{"id":"1933916","text":"Title: Can someone please help to get my Software centre back?\nThe text below was posted in an online community called linux4noobs in the year 2014:\n\nI'm fucking sick of this shit. I ran the commands to supposedly fix the crashing issue Software Center has in U12.04 (uninstall\/reinstall) and now it has disappeared completely.\n\nI need the Software Centre. How do I get it back? Reinstalling does absolutely nothing, it seems.","meta":"{'source': 'reddit_posts', 'id': '1yz61j', 'title': 'Can someone please help to get my Software centre back?', 'author': 'SmellYaLater', 'subreddit': 'linux4noobs', 'subreddit_id': '2qy7t', 'body': \"I'm fucking sick of this shit. I ran the commands to supposedly fix the crashing issue Software Center has in U12.04 (uninstall\/reinstall) and now it has disappeared completely.\\n\\nI need the Software Centre. How do I get it back? Reinstalling does absolutely nothing, it seems.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 13, 'created_utc': '1393405878'}"}
{"id":"746292","text":"Title: Taptic notifications for the noise level app?\nThe text below was posted in an online community called AppleWatch in the year 2019:\n\nI have a series 5 sport. For my job I am frequently around random intermittent loud sounds. I thought that the noise app would be a huge benefit to me as I frequently forget to put in earplugs when these noises happen. \n\nUnfortunately I am unable to get a Taptic notification to happen when the noise detection goes off, it just presents itself as a silent notification that I see as the red dot there is a new notification in Notification Center. This isnt very helpful as I often dont see this until hours later. \n\nIve tried everything I can think of in settings on the watch and in the iOS watch app. I cant make it happen. Is this the norm for this app or is this just a problem with my setup?\n\nThanks.","meta":"{'source': 'reddit_posts', 'id': 'e01r3l', 'title': 'Taptic notifications for the noise level app?', 'author': 'PlaysWithMadness', 'subreddit': 'AppleWatch', 'subreddit_id': '2wav7', 'body': 'I have a series 5 sport. For my job I am frequently around random intermittent loud sounds. I thought that the noise app would be a huge benefit to me as I frequently forget to put in earplugs when these noises happen. \\n\\nUnfortunately I am unable to get a Taptic notification to happen when the noise detection goes off, it just presents itself as a silent notification that I see as the red dot there is a new notification in Notification Center. This isnt very helpful as I often dont see this until hours later. \\n\\nIve tried everything I can think of in settings on the watch and in the iOS watch app. I cant make it happen. Is this the norm for this app or is this just a problem with my setup?\\n\\nThanks.', 'body_is_trimmed': False, 'score': 11, 'over_18': False, 'num_comments': 0, 'created_utc': 1574433180}"}
{"id":"643489","text":"Title: Close but no.\nThe text below was posted in an online community called learnprogramming in the year 2021:\n\nGiven a string **A** and a dictionary of n words **B**, find out if Acan be segmented into a space-separated sequence of dictionary words.\n\n**Note:** From the dictionary **B**each word can be taken any number of times and in any order.  \n **Example 1:**\n\n**Input:** n = 12 \n\nB = { \"i\", \"like\", \"sam\", \"sung\", \"samsung\", \"mobile\", \"ice\",\"cream\", \"icecream\", \"man\", \"go\", \"mango\" } \n\nA = \"ilike\" \n\n**Output:** 1 \n\n**Explanation:** The string can be segmented as \"i like\".\n\nI thought I was being slick with this:\n\n    class Solution {\n      wordBreak(A,B){\n        \/\/code here\n        B = B.join(\"\");\n        if(B.includes(A)) return 1; \n        else return 0; \n        \n      }\n    }\n\nbut it doesn't work for \n\n    4\n    ab bcd b a\n    abcd","meta":"{'source': 'reddit_posts', 'id': 'q4dozd', 'title': 'Close but no.', 'author': 'gtrman571', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'Given a string **A** and a dictionary of n words **B**, find out if Acan be segmented into a space-separated sequence of dictionary words.\\n\\n**Note:** From the dictionary **B**each word can be taken any number of times and in any order.  \\n **Example 1:**\\n\\n**Input:** n = 12 \\n\\nB = { \"i\", \"like\", \"sam\", \"sung\", \"samsung\", \"mobile\", \"ice\",\"cream\", \"icecream\", \"man\", \"go\", \"mango\" } \\n\\nA = \"ilike\" \\n\\n**Output:** 1 \\n\\n**Explanation:** The string can be segmented as \"i like\".\\n\\nI thought I was being slick with this:\\n\\n    class Solution {\\n      wordBreak(A,B){\\n        \/\/code here\\n        B = B.join(\"\");\\n        if(B.includes(A)) return 1; \\n        else return 0; \\n        \\n      }\\n    }\\n\\nbut it doesn\\'t work for \\n\\n    4\\n    ab bcd b a\\n    abcd', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 6, 'created_utc': 1633751852}"}
{"id":"755973","text":"Title: Feeling on edge at remote software job\nThe text below was posted in an online community called cscareerquestions in the year 2017:\n\nHello,\n\nI am currently working remotely for a large company based out of Seattle. We are a Rails shop and have a pretty big software team. I have been here for almost a year and I love working remotely, except for the fact that I don't get a lot of real face to face with people, but I love all else.\n\nI am a junior software engineer. I have worked as a software engineer for about a year before this. My title doesn't include the word junior, but I feel pretty junior these days, which leads me to say some silly things within software conversations that are kind of dumb. Things that later make me cringe and hate myself with regards to my skills as a software engineer. For example, we currently use HipChat, and as I mentioned before sometimes I ask and say silly things I should know already, which fuels my embarrassment. I am a fairly confident person, except when it comes to my software skills. Don't get me wrong, I love what I do but sometimes I doubt myself. I always feel like I am going to get let go. On top of this I feel like I take a little long to finish tasks.\n\nI am probably painting a picture of a really insecure person, but thing is I only feel this way when programming. I have a feeling that all of this is largely related to the nature of a remote position. I feel that since I am not in an office where I interact with others everyday and interpret body language, its hard to tell where I stand. I think I might just be stuck in my head.  As far as I know, no one on my team or company has said anything negative about me. Usually I only get positive remarks when they do happen. I have a one on one with my manager every week, which is awesome, but still feel down a lot.\n\nDo any remote employees feel this way? If so, how do you manage to stay satisfied with the amount of work you do and not feel like people are preparing to fire you behind the scenes?\n\nThanks for reading. I needed to to get this off my chest.","meta":"{'source': 'reddit_posts', 'id': '5n1xf6', 'title': 'Feeling on edge at remote software job', 'author': 'throwaway_cs_gah', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"Hello,\\n\\nI am currently working remotely for a large company based out of Seattle. We are a Rails shop and have a pretty big software team. I have been here for almost a year and I love working remotely, except for the fact that I don't get a lot of real face to face with people, but I love all else.\\n\\nI am a junior software engineer. I have worked as a software engineer for about a year before this. My title doesn't include the word junior, but I feel pretty junior these days, which leads me to say some silly things within software conversations that are kind of dumb. Things that later make me cringe and hate myself with regards to my skills as a software engineer. For example, we currently use HipChat, and as I mentioned before sometimes I ask and say silly things I should know already, which fuels my embarrassment. I am a fairly confident person, except when it comes to my software skills. Don't get me wrong, I love what I do but sometimes I doubt myself. I always feel like I am going to get let go. On top of this I feel like I take a little long to finish tasks.\\n\\nI am probably painting a picture of a really insecure person, but thing is I only feel this way when programming. I have a feeling that all of this is largely related to the nature of a remote position. I feel that since I am not in an office where I interact with others everyday and interpret body language, its hard to tell where I stand. I think I might just be stuck in my head.  As far as I know, no one on my team or company has said anything negative about me. Usually I only get positive remarks when they do happen. I have a one on one with my manager every week, which is awesome, but still feel down a lot.\\n\\nDo any remote employees feel this way? If so, how do you manage to stay satisfied with the amount of work you do and not feel like people are preparing to fire you behind the scenes?\\n\\nThanks for reading. I needed to to get this off my chest.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1484011512}"}
{"id":"933944","text":"Title: Enumerate files in an external web directory\/mirror.\nThe text below was posted in an online community called linuxquestions in the year 2015:\n\nI would like to download the .webm files from the recent linux.conf.au in Auckland. Before I download the lot, I would like to know exactly how big the directory, as well as sub-directories are and how many files in total.\nIs there a way to do this? Similar to say:\n\n    ls -lahR \/path\/to\/directory\n\nexcept for the web.","meta":"{'source': 'reddit_posts', 'id': '33vz4g', 'title': 'Enumerate files in an external web directory\/mirror.', 'author': 'slackpenguin', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': 'I would like to download the .webm files from the recent linux.conf.au in Auckland. Before I download the lot, I would like to know exactly how big the directory, as well as sub-directories are and how many files in total.\\nIs there a way to do this? Similar to say:\\n\\n    ls -lahR \/path\/to\/directory\\n\\nexcept for the web.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': '1430020280'}"}
{"id":"883532","text":"Title: How to find the character length?\nThe text below was posted in an online community called regex in the year 2020:\n\n= (ab|c) *c(bc|a) *\n\nHow can I find the character that have length of 1 and length of 3?","meta":"{'source': 'reddit_posts', 'id': 'ewipi2', 'title': 'How to find the character length?', 'author': 'kid_tezsy', 'subreddit': 'regex', 'subreddit_id': '2qr8f', 'body': '= (ab|c) *c(bc|a) *\\n\\nHow can I find the character that have length of 1 and length of 3?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1580444396}"}
{"id":"1221073","text":"Title: How to practice after reading K&amp;R\nThe text below was posted in an online community called C_Programming in the year 2018:\n\nHI friends,\n\ni am trying to make a text editor using gtk\nfor this - i want to improve my c skills\n\ni read k&amp;r but didnt complete problems - as they were bit dry \/ long\n\ni understood most of the stuff\n\nhow do i practice now ?\n\nwhat to read - what to solve ?","meta":"{'source': 'reddit_posts', 'id': '80wxzl', 'title': 'How to practice after reading K&amp;R', 'author': 'tech-learner-maker', 'subreddit': 'C_Programming', 'subreddit_id': '2qhoe', 'body': 'HI friends,\\n\\ni am trying to make a text editor using gtk\\nfor this - i want to improve my c skills\\n\\ni read k&amp;r but didnt complete problems - as they were bit dry \/ long\\n\\ni understood most of the stuff\\n\\nhow do i practice now ?\\n\\nwhat to read - what to solve ?', 'body_is_trimmed': False, 'score': 17, 'over_18': False, 'num_comments': 19, 'created_utc': 1519832454}"}
{"id":"1281177","text":"Title: How to deal with undesired values when designing types\nThe text below was posted in an online community called haskell in the year 2012:\n\nHi \/r\/haskell,\n\nAs part of a pet project of mine, I've been using Haskell to analyze the pronunciations of Chinese words in various dialects. Most recently, I've been working on constructing a data type that will represent a pronunciation, but I'm hitting a bit of a stumbling block. The following explanation is rather domain-specific, but I hope it illustrates and important general point and is not too difficult to follow.\n\nConsonants in the various Chinese languages can either be aspirated or unaspirated (basically this means that they are pronounced either with or without a small puff of air at the beginning). Further, some Chinese dialects, such as the Wu dialect of the Shanghai area, distinguish between voiced and unvoiced consonants (a voiced consonant is one like g, d, or b in English, as contrasted with the unvoiced k, t, or p). However, in no Chinese dialect can a consonant be both voiced and aspirated: that is, we can have voiced-and-unaspirated, unvoiced-and-aspirated, or unvoiced-and-unaspirated.\n\nI was initially planning to have the consonant type consist of two fields (among others), one to indicate the presence or absence of aspiration, and one to indicate whether it is voiced or unvoiced. The problem is that this allows for consonants containing the \"voiced\" and \"aspirated\" values simultaneously, something that I do not want to allow. Is there a way to work around this? The only workaround that I can see is to combine the three legitimate values into a single sum type with three values (VoicedUnaspirated | UnvoicedAspirated | UnvoicedUnaspirated) but this seems rather ugly to me.\n\nTo the generalists: a product type might result in values that I do not want to represent. One alternative to this is to replace the product type with a sum type, whose values are restricted to be only those that I want to represent. But this is an ugly and often unfeasible solution: for instance, if I have a type T1 which can take on N different values and a type T2 which can take on M different values, it may be desirable for me to integrate these into a product type T1 * T2, which can assume NM different values. But if there is one of these values which I do not want to represent, what recourse do I have besides enumerating the other NM - 1 values as a sum type? Clearly, this is unfeasible for large values of N or M.","meta":"{'source': 'reddit_posts', 'id': 'p5lv0', 'title': 'How to deal with undesired values when designing types', 'author': 'tu_ne_cede_malis', 'subreddit': 'haskell', 'subreddit_id': '2qh36', 'body': 'Hi \/r\/haskell,\\n\\nAs part of a pet project of mine, I\\'ve been using Haskell to analyze the pronunciations of Chinese words in various dialects. Most recently, I\\'ve been working on constructing a data type that will represent a pronunciation, but I\\'m hitting a bit of a stumbling block. The following explanation is rather domain-specific, but I hope it illustrates and important general point and is not too difficult to follow.\\n\\nConsonants in the various Chinese languages can either be aspirated or unaspirated (basically this means that they are pronounced either with or without a small puff of air at the beginning). Further, some Chinese dialects, such as the Wu dialect of the Shanghai area, distinguish between voiced and unvoiced consonants (a voiced consonant is one like g, d, or b in English, as contrasted with the unvoiced k, t, or p). However, in no Chinese dialect can a consonant be both voiced and aspirated: that is, we can have voiced-and-unaspirated, unvoiced-and-aspirated, or unvoiced-and-unaspirated.\\n\\nI was initially planning to have the consonant type consist of two fields (among others), one to indicate the presence or absence of aspiration, and one to indicate whether it is voiced or unvoiced. The problem is that this allows for consonants containing the \"voiced\" and \"aspirated\" values simultaneously, something that I do not want to allow. Is there a way to work around this? The only workaround that I can see is to combine the three legitimate values into a single sum type with three values (VoicedUnaspirated | UnvoicedAspirated | UnvoicedUnaspirated) but this seems rather ugly to me.\\n\\nTo the generalists: a product type might result in values that I do not want to represent. One alternative to this is to replace the product type with a sum type, whose values are restricted to be only those that I want to represent. But this is an ugly and often unfeasible solution: for instance, if I have a type T1 which can take on N different values and a type T2 which can take on M different values, it may be desirable for me to integrate these into a product type T1 * T2, which can assume NM different values. But if there is one of these values which I do not want to represent, what recourse do I have besides enumerating the other NM - 1 values as a sum type? Clearly, this is unfeasible for large values of N or M.', 'body_is_trimmed': False, 'score': 15, 'over_18': False, 'num_comments': 29, 'created_utc': 1328067668}"}
{"id":"504512","text":"Title: When you disable foreign key constraints and then add new rows and then add back foreign key constraints. Does the foreign key constraints check for all the rows or just for the new ones?\nThe text below was posted in an online community called PostgreSQL in the year 2022:\n\nFor example TABLE A has a column that referes to TABLE B column. \n\nIf I disable table a foreign key constraint, and then add a few rows and then turn it on again, will it do a check for all the rows or just for the new ones.","meta":"{'source': 'reddit_posts', 'id': 'v150aa', 'title': 'When you disable foreign key constraints and then add new rows and then add back foreign key constraints. Does the foreign key constraints check for all the rows or just for the new ones?', 'author': 'goxpgxreact', 'subreddit': 'PostgreSQL', 'subreddit_id': '2qvw7', 'body': 'For example TABLE A has a column that referes to TABLE B column. \\n\\nIf I disable table a foreign key constraint, and then add a few rows and then turn it on again, will it do a check for all the rows or just for the new ones.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 5, 'created_utc': 1653930997}"}
{"id":"2302938","text":"Title: Best way to test designs for section of factory\nThe text below was posted in an online community called factorio in the year 2019:\n\nSo I recently got back into factorio and have started my first bus factory. It's going good so far but I'm starting to get to the more complex items and wanted to know if there was a way where I could have a blank map and just test various designs for the factory sections. Something like a creative mode where I could instantly destroy\/place buildings and have unlimited resources. I just want to design the most efficient design for something and want to get it right before putting it in.\nThanks","meta":"{'source': 'reddit_posts', 'id': 'bdlbz9', 'title': 'Best way to test designs for section of factory', 'author': 'ThatVRGuy_', 'subreddit': 'factorio', 'subreddit_id': '2wabp', 'body': \"So I recently got back into factorio and have started my first bus factory. It's going good so far but I'm starting to get to the more complex items and wanted to know if there was a way where I could have a blank map and just test various designs for the factory sections. Something like a creative mode where I could instantly destroy\/place buildings and have unlimited resources. I just want to design the most efficient design for something and want to get it right before putting it in.\\nThanks\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 5, 'created_utc': 1555362754}"}
{"id":"1168825","text":"Title: How to practice HTML? (Begginer)\nThe text below was posted in an online community called learnprogramming in the year 2015:\n\nSo I just started programming and would like to know how to practice it outside of the page I use, (Codecademy). Any suggestions would be greatly appreciated.\n\nEdit 1: Thanks everyone for your suggestions.\nEdit 2: Thanks everyone else for the suggestions, will look into them.","meta":"{'source': 'reddit_posts', 'id': '3hmqtg', 'title': 'How to practice HTML? (Begginer)', 'author': 'bleedingmonster', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'So I just started programming and would like to know how to practice it outside of the page I use, (Codecademy). Any suggestions would be greatly appreciated.\\n\\nEdit 1: Thanks everyone for your suggestions.\\nEdit 2: Thanks everyone else for the suggestions, will look into them.', 'body_is_trimmed': False, 'score': 77, 'over_18': False, 'num_comments': 62, 'created_utc': '1440016671'}"}
{"id":"520755","text":"Title: [Tutorial] Part 2, Lets talk about wallpapers, icon packs, and everything else.\nThe text below was posted in an online community called androidthemes in the year 2014:\n\n*This is part 2 of my tutorial series to help new themers get started making their own themes. Check out [part 1 here](http:\/\/www.reddit.com\/r\/androidthemes\/comments\/2ia70i\/tutorial_part_1_getting_your_phone_ready_for\/). My bad, I originally planned to post this on Sunday, but something came up*\n\nI assume you've gotten a little more familiar with Zooper and Nova. Lets talk about the other elements that make up a theme: wallpapers, icon packs, and other stuff like icon sets, fonts, etc.\n\nWallpapers are one of the most important features of your theme. A good wallpaper can make or break your theme. *Well omega, how do you pick a good wallpaper then?* Good question, but I'm afraid there's no simple way to identify if a wallpaper is good or bad. Something that looks like crap to you may be perfect for another themer. A good method of choosing wallpapers is to think of them in terms of possibility. What can you do with that wallpaper? Where will your widgets be placed? How does it complement your theme? Simple questions like that help you understand what you want your theme to look like and what wallpaper would best fit your idea.\n\nA good example of excellent wallpaper use is \/u\/dataMinery 's [extravagant theme](http:\/\/www.reddit.com\/r\/androidthemes\/comments\/1cvren\/everybody_does_minimal_i_do_the_extravagant_and\/). Note how the wallpaper works together with his widgets to create an beautiful functional experience. His\/her widgets and wallpaper work *together*. A theme is when all the different elements on your phone combine to create something beautiful. There should be no set boundary, like \"oh, this is my wallpaper, and now this is my widget, and this is my icon pack.\" Another great example of different elements working together is \/u\/Treetbot 's [individual screens theme](http:\/\/www.reddit.com\/r\/androidthemes\/comments\/16coju\/my_style_is_a_little_different_the_three_screens\/). It's very hard to tell what is a widget, and what is part of the wallpaper. \n\nIcon packs are also an important element in any theme. It's very easy to pick out a beautiful icon pack; it's harder to pick an icon pack that works with your theme. A great example of a complementary icon pack would be \/u\/ryant3o 's [The Black Sea](http:\/\/www.reddit.com\/r\/androidthemes\/comments\/2ba7a4\/minimalist_the_black_sea\/). His icon pack complements the contrast set forth by his wallpaper. It wouldn't look nearly as good if he used something like [Flatro](https:\/\/play.google.com\/store\/apps\/details?id=com.ryanmkelly.me.flatro&amp;hl=en). \n\nNow we come to the hard part. Everything else. What do I mean? I mean stuff like fonts, icon sets, other apps, even random bitmaps. Almost all themes will have something that can't be categorized as widget, wallpaper or icon pack. Sometimes you'll have to find a font that works well with your theme, or weather iconsets for the perfect weather widget, or even Material Design guidelines for your awesome Android L theme. It might be hard to find some of this stuff, but just ask here and we'll be glad to help. I'll try to cover the \"everything else\" aspect of theming a bit more in my next tutorial.\n\nRemember that theme I told you to think about in Part 1? I want you to figure out what kind of wallpaper you'll need for that theme. Do you plan for it to be functional? clean? abstract? How will your widgets work together with that wallpaper? I also want you to figure out what kind of icon pack you need. A colorful one? Maybe something rectangular? How does it complement your widgets and wallpaper? \n\nDon't know how to get started? Look for inspiration around you. *Hey those shelves are arranged oddly!* That can be a theme. *I really like how organized\/messy my room is!* That can be a theme! You can also check out this subreddit and [mycolorscreen](http:\/\/www.mycolorscreen.com) to see how other people made their theme. Maybe you really like the colors on a particular theme, or the way the weather widget is arranged, or how the clock is designed. You could probably incorporate ideas from all those different themes to help you frame what you want your home screen to look like. \n\n**Quick Review**\n\n* Zooper and Nova are used to make awesome arrangements and widgets.\n* Wallpapers = super important! Make sure it complements your theme rather than clashing with your widgets and icon packs.\n* Icon packs = also very important! How does it work together with your widgets and wallpaper? \n* You'll probably need outside resources to finish your theme, maybe a bitmap for your missed calls\/texts widget, or app that lets you have a photo background or whatever. Google is your friend, but so are we.\n* Try to get a overall sense of what you want your home screen to look like before you start fiddling with various apps and images. It really helps if you take a couple minutes to sketch something out on paper. \n* Believe in yourself! I was super intimidated when I first browsed this subreddit and mycolorscreen. (I still am, but I used to be intimidated too) Once you start messing around, you'll be surprised when you suddenly have a good looking home screen.\n* Ask! Nobody themes alone, ask this subreddit, or your friends, or bother random strangers on the street! (Note: Don't do that.)","meta":"{'source': 'reddit_posts', 'id': '2ig2se', 'title': '[Tutorial] Part 2, Lets talk about wallpapers, icon packs, and everything else.', 'author': 'omegadeep10', 'subreddit': 'androidthemes', 'subreddit_id': '2s6h8', 'body': '*This is part 2 of my tutorial series to help new themers get started making their own themes. Check out [part 1 here](http:\/\/www.reddit.com\/r\/androidthemes\/comments\/2ia70i\/tutorial_part_1_getting_your_phone_ready_for\/). My bad, I originally planned to post this on Sunday, but something came up*\\n\\nI assume you\\'ve gotten a little more familiar with Zooper and Nova. Lets talk about the other elements that make up a theme: wallpapers, icon packs, and other stuff like icon sets, fonts, etc.\\n\\nWallpapers are one of the most important features of your theme. A good wallpaper can make or break your theme. *Well omega, how do you pick a good wallpaper then?* Good question, but I\\'m afraid there\\'s no simple way to identify if a wallpaper is good or bad. Something that looks like crap to you may be perfect for another themer. A good method of choosing wallpapers is to think of them in terms of possibility. What can you do with that wallpaper? Where will your widgets be placed? How does it complement your theme? Simple questions like that help you understand what you want your theme to look like and what wallpaper would best fit your idea.\\n\\nA good example of excellent wallpaper use is \/u\/dataMinery \\'s [extravagant theme](http:\/\/www.reddit.com\/r\/androidthemes\/comments\/1cvren\/everybody_does_minimal_i_do_the_extravagant_and\/). Note how the wallpaper works together with his widgets to create an beautiful functional experience. His\/her widgets and wallpaper work *together*. A theme is when all the different elements on your phone combine to create something beautiful. There should be no set boundary, like \"oh, this is my wallpaper, and now this is my widget, and this is my icon pack.\" Another great example of different elements working together is \/u\/Treetbot \\'s [individual screens theme](http:\/\/www.reddit.com\/r\/androidthemes\/comments\/16coju\/my_style_is_a_little_different_the_three_screens\/). It\\'s very hard to tell what is a widget, and what is part of the wallpaper. \\n\\nIcon packs are also an important element in any theme. It\\'s very easy to pick out a beautiful icon pack; it\\'s harder to pick an icon pack that works with your theme. A great example of a complementary icon pack would be \/u\/ryant3o \\'s [The Black Sea](http:\/\/www.reddit.com\/r\/androidthemes\/comments\/2ba7a4\/minimalist_the_black_sea\/). His icon pack complements the contrast set forth by his wallpaper. It wouldn\\'t look nearly as good if he used something like [Flatro](https:\/\/play.google.com\/store\/apps\/details?id=com.ryanmkelly.me.flatro&amp;hl=en). \\n\\nNow we come to the hard part. Everything else. What do I mean? I mean stuff like fonts, icon sets, other apps, even random bitmaps. Almost all themes will have something that can\\'t be categorized as widget, wallpaper or icon pack. Sometimes you\\'ll have to find a font that works well with your theme, or weather iconsets for the perfect weather widget, or even Material Design guidelines for your awesome Android L theme. It might be hard to find some of this stuff, but just ask here and we\\'ll be glad to help. I\\'ll try to cover the \"everything else\" aspect of theming a bit more in my next tutorial.\\n\\nRemember that theme I told you to think about in Part 1? I want you to figure out what kind of wallpaper you\\'ll need for that theme. Do you plan for it to be functional? clean? abstract? How will your widgets work together with that wallpaper? I also want you to figure out what kind of icon pack you need. A colorful one? Maybe something rectangular? How does it complement your widgets and wallpaper? \\n\\nDon\\'t know how to get started? Look for inspiration around you. *Hey those shelves are arranged oddly!* That can be a theme. *I really like how organized\/messy my room is!* That can be a theme! You can also check out this subreddit and [mycolorscreen](http:\/\/www.mycolorscreen.com) to see how other people made their theme. Maybe you really like the colors on a particular theme, or the way the weather widget is arranged, or how the clock is designed. You could probably incorporate ideas from all those different themes to help you frame what you want your home screen to look like. \\n\\n**Quick Review**\\n\\n* Zooper and Nova are used to make awesome arrangements and widgets.\\n* Wallpapers = super important! Make sure it complements your theme rather than clashing with your widgets and icon packs.\\n* Icon packs = also very important! How does it work together with your widgets and wallpaper? \\n* You\\'ll probably need outside resources to finish your theme, maybe a bitmap for your missed calls\/texts widget, or app that lets you have a photo background or whatever. Google is your friend, but so are we.\\n* Try to get a overall sense of what you want your home screen to look like before you start fiddling with various apps and images. It really helps if you take a couple minutes to sketch something out on paper. \\n* Believe in yourself! I was super intimidated when I first browsed this subreddit and mycolorscreen. (I still am, but I used to be intimidated too) Once you start messing around, you\\'ll be surprised when you suddenly have a good looking home screen.\\n* Ask! Nobody themes alone, ask this subreddit, or your friends, or bother random strangers on the street! (Note: Don\\'t do that.)', 'body_is_trimmed': False, 'score': 33, 'over_18': False, 'num_comments': 15, 'created_utc': '1412602754'}"}
{"id":"195033","text":"Title: Attempted to put OS on SSD, now I have two boot volumes.\nThe text below was posted in an online community called Windows10 in the year 2020:\n\nI tried to transfer my Windows 10 over to a newly formatted SSD but it said the disk size was too small (250 GB SSD). After this error I followed [this](https:\/\/www.youtube.com\/watch?v=d4lGpjl6AfM) youtube video to install Windows onto my SSD without using a USB boot. \n\nThe problem is that I wanted to just put the OS onto the SSD, nothing else but it looks like I now have 2 volumes to choose from when booting up; The HDD with windows on it (with all my files\/games) and the SSD with only the OS installed. The problem with the SSD volume is that none of my stuff is on it, it made me create a new account and all my files from my HDD are gone unless I boot into the HDD. \n\nWas I supposed to migrate my stuff over to the SSD as well? Its a pretty small SSD so I don't think Ill be able to migrate all the files. I'm not too sure what to do as I want to keep all my files from my HDD and just use the SSD for the OS. Am I doing something wrong, or did I miss a step somewhere?","meta":"{'source': 'reddit_posts', 'id': 'kdc167', 'title': 'Attempted to put OS on SSD, now I have two boot volumes.', 'author': 'estrangier', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': \"I tried to transfer my Windows 10 over to a newly formatted SSD but it said the disk size was too small (250 GB SSD). After this error I followed [this](https:\/\/www.youtube.com\/watch?v=d4lGpjl6AfM) youtube video to install Windows onto my SSD without using a USB boot. \\n\\nThe problem is that I wanted to just put the OS onto the SSD, nothing else but it looks like I now have 2 volumes to choose from when booting up; The HDD with windows on it (with all my files\/games) and the SSD with only the OS installed. The problem with the SSD volume is that none of my stuff is on it, it made me create a new account and all my files from my HDD are gone unless I boot into the HDD. \\n\\nWas I supposed to migrate my stuff over to the SSD as well? Its a pretty small SSD so I don't think Ill be able to migrate all the files. I'm not too sure what to do as I want to keep all my files from my HDD and just use the SSD for the OS. Am I doing something wrong, or did I miss a step somewhere?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 12, 'created_utc': 1607996948}"}
{"id":"2373868","text":"Title: Migrating from name.com, how important are DNS records? [beginner]\nThe text below was posted in an online community called aws in the year 2017:\n\nI have a simple static website hosted by name.com, and I'm looking to host it on AWS. My question is how important are the DNS records? Name.com doesn't export the zone file (ugh), but the only items in the DNS records are IP addresses, one for *example.com* and one for **.example.com*. They both have the same IP.\n\nDo I need to care about this before I transfer the domain to my Route 53 account? If so, could anyone give me advice on how to accomplish this? Sorry in advance for my ignorance!","meta":"{'source': 'reddit_posts', 'id': '6ixyk1', 'title': 'Migrating from name.com, how important are DNS records? [beginner]', 'author': 'radioactive_toy', 'subreddit': 'aws', 'subreddit_id': '2qh84', 'body': \"I have a simple static website hosted by name.com, and I'm looking to host it on AWS. My question is how important are the DNS records? Name.com doesn't export the zone file (ugh), but the only items in the DNS records are IP addresses, one for *example.com* and one for **.example.com*. They both have the same IP.\\n\\nDo I need to care about this before I transfer the domain to my Route 53 account? If so, could anyone give me advice on how to accomplish this? Sorry in advance for my ignorance!\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 4, 'created_utc': 1498180176}"}
{"id":"1074123","text":"Title: Fellow Scientists, what is your workflow in python?\nThe text below was posted in an online community called Python in the year 2016:\n\nFellow Scientists, what is your workflow in python?\n\nI am a scientist\/mathematician first and programmer second.\n\nWriting code for scientific and algorithmic purposes involves looking at some data, writing something that uses said data, run some algorithms, plot the results, writing some more code that uses the data differently because you understood something from the plot.\nRewriting new and ad-hoc algorithms and when you finely like something, you put it in some special file you keep all the other functions that are useful.\n\nThis story, more or less, is what most or the scientists are facing, be it with Matlab, R, Python, or something else.\n\nI have been using python for quite a while now and I like it, but my workflow always seemed a bit suboptimal.\n\nThis is what it looks right now:\nAt any given moment I have 3 windows open:\n\n1) An IPython notebook (called Jupyter notebook now)\n\n2) A IPython qtconsole with the same python as the notebook (this is just an ipython shell)\n\n3) A full IDE for writing the eventual bits of code I like (PyCharm in my case)\n\nThe notebook and qtconsole are side by side. (you can lunch a qtconsole with the same kernel as the notebook with the magic command %qtconsole )\nThe IDE is on the second monitor.\n\nI use the notebook to write small bits of code.\nThe problem with the notebook that you often need to write very small bits of code like this:\n\n    len(arr)\n\nputting these small fractions of code in the notebook just clutters the notebook thus making it too big to find anything.\nIn these cases I use the qtconsole (remember, it is connected to the same python kernel so anything you do in the notebook you can also access in the qtconsole)\n\nTo write big functions or classes I use pycharm and do\n\n    %run \/path\/to\/script\/in\/pycharm\n\nto run it in the notebook.\n\nAll this is very convoluted, the notebook itself while super nice, isn't very configurable, for example I like much more the cell idea in matlab, where you can run cells and the output is in the shell.\n\nWhat I tested and didn't like at the end:\n1) Spyder - this is the obvious candidate, but it has one major flow, the auto-complete in the the editor is not connected to the python kernel, so even something like this has no autocomplete (in the editor)\n\n    from numpy import *\n    a = zeros(10)\n    a.&lt;tab&gt;            # this would get autocompleted in the notebook but not in spyder\n\n2) using the Pycharm built in notebook support - it is just super buggy at the moment (and has the same problem as spyder)\n\n3)  sublime with sublimeREPL - this is not even close to the notebook capabilities.\n\n4) JupyterLab - this is in alpha and buggy now\n\n5) IEP - has all the features, but it just supper buggy\n\nMy ideal program  will have a good shell support and good cell execution support\n\nSo, what is YOUR workflow?, maybe we will learn from each other!","meta":"{'source': 'reddit_posts', 'id': '50t9hz', 'title': 'Fellow Scientists, what is your workflow in python?', 'author': 'sabababeseder', 'subreddit': 'Python', 'subreddit_id': '2qh0y', 'body': \"Fellow Scientists, what is your workflow in python?\\n\\nI am a scientist\/mathematician first and programmer second.\\n\\nWriting code for scientific and algorithmic purposes involves looking at some data, writing something that uses said data, run some algorithms, plot the results, writing some more code that uses the data differently because you understood something from the plot.\\nRewriting new and ad-hoc algorithms and when you finely like something, you put it in some special file you keep all the other functions that are useful.\\n\\nThis story, more or less, is what most or the scientists are facing, be it with Matlab, R, Python, or something else.\\n\\nI have been using python for quite a while now and I like it, but my workflow always seemed a bit suboptimal.\\n\\nThis is what it looks right now:\\nAt any given moment I have 3 windows open:\\n\\n1) An IPython notebook (called Jupyter notebook now)\\n\\n2) A IPython qtconsole with the same python as the notebook (this is just an ipython shell)\\n\\n3) A full IDE for writing the eventual bits of code I like (PyCharm in my case)\\n\\nThe notebook and qtconsole are side by side. (you can lunch a qtconsole with the same kernel as the notebook with the magic command %qtconsole )\\nThe IDE is on the second monitor.\\n\\nI use the notebook to write small bits of code.\\nThe problem with the notebook that you often need to write very small bits of code like this:\\n\\n    len(arr)\\n\\nputting these small fractions of code in the notebook just clutters the notebook thus making it too big to find anything.\\nIn these cases I use the qtconsole (remember, it is connected to the same python kernel so anything you do in the notebook you can also access in the qtconsole)\\n\\nTo write big functions or classes I use pycharm and do\\n\\n    %run \/path\/to\/script\/in\/pycharm\\n\\nto run it in the notebook.\\n\\nAll this is very convoluted, the notebook itself while super nice, isn't very configurable, for example I like much more the cell idea in matlab, where you can run cells and the output is in the shell.\\n\\nWhat I tested and didn't like at the end:\\n1) Spyder - this is the obvious candidate, but it has one major flow, the auto-complete in the the editor is not connected to the python kernel, so even something like this has no autocomplete (in the editor)\\n\\n    from numpy import *\\n    a = zeros(10)\\n    a.&lt;tab&gt;            # this would get autocompleted in the notebook but not in spyder\\n\\n2) using the Pycharm built in notebook support - it is just super buggy at the moment (and has the same problem as spyder)\\n\\n3)  sublime with sublimeREPL - this is not even close to the notebook capabilities.\\n\\n4) JupyterLab - this is in alpha and buggy now\\n\\n5) IEP - has all the features, but it just supper buggy\\n\\nMy ideal program  will have a good shell support and good cell execution support\\n\\nSo, what is YOUR workflow?, maybe we will learn from each other!\", 'body_is_trimmed': False, 'score': 229, 'over_18': False, 'num_comments': 118, 'created_utc': 1472823560}"}
{"id":"1034383","text":"Title: Finding a graphic designer for launcher icon\nThe text below was posted in an online community called androiddev in the year 2012:\n\nHow do I go about finding a graphic designer to make a launcher icon for one of my apps? It doesn't have to be spectacular but my current one is embarrassing.","meta":"{'source': 'reddit_posts', 'id': 's4di6', 'title': 'Finding a graphic designer for launcher icon', 'author': 'SaltedPeanut', 'subreddit': 'androiddev', 'subreddit_id': '2r26y', 'body': \"How do I go about finding a graphic designer to make a launcher icon for one of my apps? It doesn't have to be spectacular but my current one is embarrassing.\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 6, 'created_utc': 1334155201}"}
{"id":"2063831","text":"Title: The \/r\/GameDev 2018 Demographics Survey!\nThe text below was posted in an online community called gamedev in the year 2018:\n\nFor curiosity and comparison to the 2016 survey, I've decided to perform a similar **10-question** demographics survey, with improvements suggested by the people taking the last survey, and updates pertaining to developments in the recent years. It asks about the age, gender, location and general gamedev of this subreddit and the people who might come across this as well! The survey is quite short, and should only take a minute or two to complete.\n\n[**You can view and take the survey here!**](https:\/\/docs.google.com\/forms\/d\/e\/1FAIpQLSeSzIOHc2hmdE5Iqnrc6ezzeFlm1kSCRaXwlPzLjCMKZYvHPQ\/viewform?usp=sf_link)\n\nThe survey will be left for up to a week, after which the data will the compiled for everyone to see. This includes percentages, general observations, and observations about the trends in gamedev in the recent years. I will also release the Google Sheets link which will allow you to make more specific observations.\n\nThe survey is completely anonymous, and any personal data such as age or location can be skipped!\n\nThank you for taking a look, and thanks for those participating! If you have any questions, comments or suggestions, please do let me know below!","meta":"{'source': 'reddit_posts', 'id': 'a07p35', 'title': 'The \/r\/GameDev 2018 Demographics Survey!', 'author': 'ElectricalStrategy82', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': \"For curiosity and comparison to the 2016 survey, I've decided to perform a similar **10-question** demographics survey, with improvements suggested by the people taking the last survey, and updates pertaining to developments in the recent years. It asks about the age, gender, location and general gamedev of this subreddit and the people who might come across this as well! The survey is quite short, and should only take a minute or two to complete.\\n\\n[**You can view and take the survey here!**](https:\/\/docs.google.com\/forms\/d\/e\/1FAIpQLSeSzIOHc2hmdE5Iqnrc6ezzeFlm1kSCRaXwlPzLjCMKZYvHPQ\/viewform?usp=sf_link)\\n\\nThe survey will be left for up to a week, after which the data will the compiled for everyone to see. This includes percentages, general observations, and observations about the trends in gamedev in the recent years. I will also release the Google Sheets link which will allow you to make more specific observations.\\n\\nThe survey is completely anonymous, and any personal data such as age or location can be skipped!\\n\\nThank you for taking a look, and thanks for those participating! If you have any questions, comments or suggestions, please do let me know below!\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1543143755}"}
{"id":"1618069","text":"Title: Just like we have aep templates for After Effects, Do we have any similar templates for automating any open source like Blender or opencut etc...\nThe text below was posted in an online community called GraphicsProgramming in the year 2019:\n\nJust like we have aep templates for After Effects, Do we have any similar templates for automating any open source like Blender or opencut etc... ?","meta":"{'source': 'reddit_posts', 'id': 'by7dk5', 'title': 'Just like we have aep templates for After Effects, Do we have any similar templates for automating any open source like Blender or opencut etc...', 'author': 'pointless-ai', 'subreddit': 'GraphicsProgramming', 'subreddit_id': '36tba', 'body': 'Just like we have aep templates for After Effects, Do we have any similar templates for automating any open source like Blender or opencut etc... ?', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 1, 'created_utc': 1559996008}"}
{"id":"234156","text":"Title: [Free &amp; New] Docker Beginner's Guide\nThe text below was posted in an online community called docker in the year 2019:\n\nGet started with Docker with no knowledge required. Learn how to work with Docker Images, Containers &amp; Services. Free two-part tutorial - check it out:\n\n[Docker Beginner's Guide Part 1: Images &amp; Containers](https:\/\/codingthesmartway.com\/docker-beginners-guide-part-1-images-containers\/)\n\n[Docker Beginner's Guide Part 2: Services](https:\/\/codingthesmartway.com\/docker-beginners-guide-part-2-services\/)","meta":"{'source': 'reddit_posts', 'id': 'ax4jvc', 'title': \"[Free &amp; New] Docker Beginner's Guide\", 'author': 'codingthesmartway', 'subreddit': 'docker', 'subreddit_id': '2y00f', 'body': \"Get started with Docker with no knowledge required. Learn how to work with Docker Images, Containers &amp; Services. Free two-part tutorial - check it out:\\n\\n[Docker Beginner's Guide Part 1: Images &amp; Containers](https:\/\/codingthesmartway.com\/docker-beginners-guide-part-1-images-containers\/)\\n\\n[Docker Beginner's Guide Part 2: Services](https:\/\/codingthesmartway.com\/docker-beginners-guide-part-2-services\/)\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 0, 'created_utc': 1551685628}"}
{"id":"513661","text":"Title: Sorting array with multiple threads?\nThe text below was posted in an online community called learnjava in the year 2020:\n\nHi guys, i'm currently learning about multi-threading. I know the basics know but i'm trying to implement it in a bit harder(for me) scenarios.\n\nI learnt about the shell sorting method, and made a function to sort arraylists using shell sort. Now i'm wondering how i would go about sorting with using multiple threads to speed up the process, i know it dosent really matter since it's very fast anyway, but i just want to use it in practice and see how the execution time goes down.\n\n\nMy shell sort code is:\n\npublic class Sort {\n\n    public void sort(int arrayToSort[]) {\n        int n = arrayToSort.length; \/\/lngden p array\n\n        for (int gap = n \/ 2; gap &gt; 0; gap \/= 2) {    \n            for (int i = gap; i &lt; n; i++) { \/\/\n                int key = arrayToSort[i];\n                int j = i;\n                while (j &gt;= gap &amp;&amp; arrayToSort[j - gap] &gt; key) {\n                    arrayToSort[j] = arrayToSort[j - gap];\n                    j -= gap;\n                }\n                arrayToSort[j] = key;\n            }\n        }\n    }\n\n\nCould anyone possibly guide me towards how i would go about sorting this using threads?\n\nThank you!","meta":"{'source': 'reddit_posts', 'id': 'jyoysf', 'title': 'Sorting array with multiple threads?', 'author': 'zokzok123', 'subreddit': 'learnjava', 'subreddit_id': '2saos', 'body': \"Hi guys, i'm currently learning about multi-threading. I know the basics know but i'm trying to implement it in a bit harder(for me) scenarios.\\n\\nI learnt about the shell sorting method, and made a function to sort arraylists using shell sort. Now i'm wondering how i would go about sorting with using multiple threads to speed up the process, i know it dosent really matter since it's very fast anyway, but i just want to use it in practice and see how the execution time goes down.\\n\\n\\nMy shell sort code is:\\n\\npublic class Sort {\\n\\n    public void sort(int arrayToSort[]) {\\n        int n = arrayToSort.length; \/\/lngden p array\\n\\n        for (int gap = n \/ 2; gap &gt; 0; gap \/= 2) {    \\n            for (int i = gap; i &lt; n; i++) { \/\/\\n                int key = arrayToSort[i];\\n                int j = i;\\n                while (j &gt;= gap &amp;&amp; arrayToSort[j - gap] &gt; key) {\\n                    arrayToSort[j] = arrayToSort[j - gap];\\n                    j -= gap;\\n                }\\n                arrayToSort[j] = key;\\n            }\\n        }\\n    }\\n\\n\\nCould anyone possibly guide me towards how i would go about sorting this using threads?\\n\\nThank you!\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 3, 'created_utc': 1606016865}"}
{"id":"1597625","text":"Title: What Comp Sci jobs would you say are the most and least stressful \/ have the best work-life balance?\nThe text below was posted in an online community called cscareerquestions in the year 2018:\n\nI'd imagine Software Developer jobs are the toughest since you probably always thinking about work coding problems even at home, like trying to fall asleep at night and a solution comes to mind and you gotta get up and test it real quick before you forget.\n\nWhat would you say is the most chill Comp Sci job from your experience or seeing people you work with? Like a job closest to a typical 9-5, low stress, can go home and turn off my brain and have a normal life sorta job.","meta":"{'source': 'reddit_posts', 'id': '91wi0u', 'title': 'What Comp Sci jobs would you say are the most and least stressful \/ have the best work-life balance?', 'author': 'bhat3008', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"I'd imagine Software Developer jobs are the toughest since you probably always thinking about work coding problems even at home, like trying to fall asleep at night and a solution comes to mind and you gotta get up and test it real quick before you forget.\\n\\nWhat would you say is the most chill Comp Sci job from your experience or seeing people you work with? Like a job closest to a typical 9-5, low stress, can go home and turn off my brain and have a normal life sorta job.\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 5, 'created_utc': 1532557368}"}
{"id":"1010507","text":"Title: Re:Invent too crowded this year!\nThe text below was posted in an online community called aws in the year 2015:\n\nJust a rant about this year's Re:Invent. It's too crowded! Some of the more popular technical sessions were impossible to get into unless you were in line early. I'll catch those sessions on the web recordings, but it's kind of a bummer when you are already at the conference.\n\nIt's a problem of being popular, no doubt. The organizers are doing their best with what they have, but I thought previous years were much more manageable.","meta":"{'source': 'reddit_posts', 'id': '3nxeo6', 'title': 'Re:Invent too crowded this year!', 'author': 'fenster_blick', 'subreddit': 'aws', 'subreddit_id': '2qh84', 'body': \"Just a rant about this year's Re:Invent. It's too crowded! Some of the more popular technical sessions were impossible to get into unless you were in line early. I'll catch those sessions on the web recordings, but it's kind of a bummer when you are already at the conference.\\n\\nIt's a problem of being popular, no doubt. The organizers are doing their best with what they have, but I thought previous years were much more manageable.\", 'body_is_trimmed': False, 'score': 26, 'over_18': False, 'num_comments': 46, 'created_utc': '1444274922'}"}
{"id":"2396197","text":"Title: Windows battery life benchmarks for MBPr 15?\nThe text below was posted in an online community called apple in the year 2015:\n\nWork is going to buy me a new laptop and I have the choice between dell and apple. I'm wondering if anyone has links to or can perform battery benchmarks which I can use to compare life between a MBPr 15 and other windows laptops (I won't be running OSX so OSX life is irrelevant). Benchmarks might be things like batteryeater, batteryMon, powermark, etc.\n\nEdit: While your personal subjective battery life observations are insightful (keep em coming), I'm really looking for an objective comparison. So if anyone running bootcamp posts some benchmark scores, that would be awesome.","meta":"{'source': 'reddit_posts', 'id': '31nh3p', 'title': 'Windows battery life benchmarks for MBPr 15?', 'author': 'kag0', 'subreddit': 'apple', 'subreddit_id': '2qh1f', 'body': \"Work is going to buy me a new laptop and I have the choice between dell and apple. I'm wondering if anyone has links to or can perform battery benchmarks which I can use to compare life between a MBPr 15 and other windows laptops (I won't be running OSX so OSX life is irrelevant). Benchmarks might be things like batteryeater, batteryMon, powermark, etc.\\n\\nEdit: While your personal subjective battery life observations are insightful (keep em coming), I'm really looking for an objective comparison. So if anyone running bootcamp posts some benchmark scores, that would be awesome.\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 11, 'created_utc': '1428343076'}"}
{"id":"2145975","text":"Title: Need help with a basic Selection Sort on a String ArrayList.\nThe text below was posted in an online community called javahelp in the year 2013:\n\n[assignment](http:\/\/programmingbydoing.com\/a\/sorting-an-arraylist-of-strings.html) ProgrammingByDoing #188\n\n[my code](https:\/\/gist.github.com\/anonymous\/7053662)\n\n&gt; Write a program that creates an ArrayList of Strings. Make up ten or more random words (all lowercase) and put them in the ArrayList in any way you choose. Display them on the screen. Then, using the sort of your choice, arrange the words in alphabetical order and display them again.\n\n&gt;Just like last time, you must put the sorting code in its own function.\n\nit might be because its 4:30am but i have no idea how to compare Strings on my selection sort. im getting an error on line 37. no idea what to do.","meta":"{'source': 'reddit_posts', 'id': '1orpah', 'title': 'Need help with a basic Selection Sort on a String ArrayList.', 'author': 'fuckuall2', 'subreddit': 'javahelp', 'subreddit_id': '2t1jq', 'body': '[assignment](http:\/\/programmingbydoing.com\/a\/sorting-an-arraylist-of-strings.html) ProgrammingByDoing #188\\n\\n[my code](https:\/\/gist.github.com\/anonymous\/7053662)\\n\\n&gt; Write a program that creates an ArrayList of Strings. Make up ten or more random words (all lowercase) and put them in the ArrayList in any way you choose. Display them on the screen. Then, using the sort of your choice, arrange the words in alphabetical order and display them again.\\n\\n&gt;Just like last time, you must put the sorting code in its own function.\\n\\nit might be because its 4:30am but i have no idea how to compare Strings on my selection sort. im getting an error on line 37. no idea what to do.', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 3, 'created_utc': 1382175531}"}
{"id":"2016822","text":"Title: Is it possible for devs to move a website from Wordpress to a custom application?\nThe text below was posted in an online community called webdev in the year 2022:\n\nFirst of all, I'm not a developer. I've tried to learn, but the project I'm trying to build is beyond my skill level and I don't have the finances to hire someone to build the application. Instead, I want to build the website with Wordpress in hopes that I can prove the concept as a good investment and build a brand that people can support, as well as generate income. If that happens, I'm hoping to attract a dev who can join the project and move us from Wordpress to a custom application. The website will have user accounts, so I just want to know if devs are able to move a database like that? Or if it would mean starting again and having users re-register when we go live with the new website?\n\nPlease DM if you'd like more information. Thank you!!\n\nEdit: Despite using Wordpress as an entry point, I'm still trying to futureproof the project as much as possible. If you have another alternative in mind given the situation, I would love to hear it. I don't expect there's much appetite for devs to work with an ideas person right out of the gate. And the unfortunate reality is I would be mostly incapable of navigating the technicalities of development.","meta":"{'source': 'reddit_posts', 'id': 'vevsr7', 'title': 'Is it possible for devs to move a website from Wordpress to a custom application?', 'author': 'EmergencyShoulder2', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': \"First of all, I'm not a developer. I've tried to learn, but the project I'm trying to build is beyond my skill level and I don't have the finances to hire someone to build the application. Instead, I want to build the website with Wordpress in hopes that I can prove the concept as a good investment and build a brand that people can support, as well as generate income. If that happens, I'm hoping to attract a dev who can join the project and move us from Wordpress to a custom application. The website will have user accounts, so I just want to know if devs are able to move a database like that? Or if it would mean starting again and having users re-register when we go live with the new website?\\n\\nPlease DM if you'd like more information. Thank you!!\\n\\nEdit: Despite using Wordpress as an entry point, I'm still trying to futureproof the project as much as possible. If you have another alternative in mind given the situation, I would love to hear it. I don't expect there's much appetite for devs to work with an ideas person right out of the gate. And the unfortunate reality is I would be mostly incapable of navigating the technicalities of development.\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 13, 'created_utc': 1655517630}"}
{"id":"865358","text":"Title: Dynamic Programming Solitare Board Game\nThe text below was posted in an online community called algorithms in the year 2017:\n\nI have a programming problem that I am trying to work through, but I'm stuck as in which direction to begin.\n\nThe problem is as follows:\n&gt;If we have some nxn square board (essentially a two-dimensional array) with each square of the grid having a numerical value in it (negative, zero, or positive). The guidelines for the game are that you may start with your \"token\" at any position on the board, and you can only move your token right or down (in any order). For each square you enter, you add or subtract that total from your score, and your goal is to accumulate the highest score possible before moving off any square on the right or bottom edge.  \n  \n  \nThis is similar to other dynamic programming problems I've seen in the past (word aligning comes to mind), but I'm struggling with where to start without essentially taking a brute force method of dynamic programming (memoize table for each square on the right and bottom edge, but then you end up with (2n tables of size n^2, and the runtime would be atrocious).\n  \n  \n  \nWhat would you recommend as a starting point for this problem in order to achieve the highest possible score, while still keeping the algorithm as time and space efficient as possible?","meta":"{'source': 'reddit_posts', 'id': '5yvij6', 'title': 'Dynamic Programming Solitare Board Game', 'author': 'notbrandonzink', 'subreddit': 'algorithms', 'subreddit_id': '2qj1c', 'body': 'I have a programming problem that I am trying to work through, but I\\'m stuck as in which direction to begin.\\n\\nThe problem is as follows:\\n&gt;If we have some nxn square board (essentially a two-dimensional array) with each square of the grid having a numerical value in it (negative, zero, or positive). The guidelines for the game are that you may start with your \"token\" at any position on the board, and you can only move your token right or down (in any order). For each square you enter, you add or subtract that total from your score, and your goal is to accumulate the highest score possible before moving off any square on the right or bottom edge.  \\n  \\n  \\nThis is similar to other dynamic programming problems I\\'ve seen in the past (word aligning comes to mind), but I\\'m struggling with where to start without essentially taking a brute force method of dynamic programming (memoize table for each square on the right and bottom edge, but then you end up with (2n tables of size n^2, and the runtime would be atrocious).\\n  \\n  \\n  \\nWhat would you recommend as a starting point for this problem in order to achieve the highest possible score, while still keeping the algorithm as time and space efficient as possible?', 'body_is_trimmed': False, 'score': 10, 'over_18': False, 'num_comments': 6, 'created_utc': 1489273351}"}
{"id":"772494","text":"Title: A CLI to help you automatically create a HTTPS redirect\nThe text below was posted in an online community called aws in the year 2018:\n\nHello everyone, after a bit of frustration I decided to create a simple CLI which I call  Strawberry, to help me automatically create a HTTPS redirect from one domain to another using:\n\n* AWS S3, \n* Certificate Manager, \n* CloudFront and \n* Route 53. \n\nThe tool was made in NodeJS and is available on NPM: [https:\/\/www.npmjs.com\/package\/@0x4447\/strawberry](https:\/\/www.npmjs.com\/package\/@0x4447\/strawberry).\n\nI hope it will help some of you, and any feedback is welcome.","meta":"{'source': 'reddit_posts', 'id': '9343ge', 'title': 'A CLI to help you automatically create a HTTPS redirect', 'author': 'davidgatti', 'subreddit': 'aws', 'subreddit_id': '2qh84', 'body': 'Hello everyone, after a bit of frustration I decided to create a simple CLI which I call  Strawberry, to help me automatically create a HTTPS redirect from one domain to another using:\\n\\n* AWS S3, \\n* Certificate Manager, \\n* CloudFront and \\n* Route 53. \\n\\nThe tool was made in NodeJS and is available on NPM: [https:\/\/www.npmjs.com\/package\/@0x4447\/strawberry](https:\/\/www.npmjs.com\/package\/@0x4447\/strawberry).\\n\\nI hope it will help some of you, and any feedback is welcome.', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 0, 'created_utc': 1532957643}"}
{"id":"271289","text":"Title: Exception in thread django-main-thread\nThe text below was posted in an online community called django in the year 2020:\n\nHi,  \n\n\ni try run server and get this error:  \n[https:\/\/pastebin.com\/q5n0MRkn](https:\/\/pastebin.com\/q5n0MRkn)\n\n&amp;#x200B;\n\nhere is my [base.py](https:\/\/base.py) file:  \n[https:\/\/pastebin.com\/7fA8Ty4M](https:\/\/pastebin.com\/7fA8Ty4M)  \n\n\ncan anyone help me please?\n\n&amp;#x200B;\n\ni was earlier having problem with these, maybe it matters\n\n[https:\/\/github.com\/feldroy\/django-crash-course\/issues\/197](https:\/\/github.com\/feldroy\/django-crash-course\/issues\/197)","meta":"{'source': 'reddit_posts', 'id': 'gty136', 'title': 'Exception in thread django-main-thread', 'author': 'ContadorPL', 'subreddit': 'django', 'subreddit_id': '2qh4v', 'body': 'Hi,  \\n\\n\\ni try run server and get this error:  \\n[https:\/\/pastebin.com\/q5n0MRkn](https:\/\/pastebin.com\/q5n0MRkn)\\n\\n&amp;#x200B;\\n\\nhere is my [base.py](https:\/\/base.py) file:  \\n[https:\/\/pastebin.com\/7fA8Ty4M](https:\/\/pastebin.com\/7fA8Ty4M)  \\n\\n\\ncan anyone help me please?\\n\\n&amp;#x200B;\\n\\ni was earlier having problem with these, maybe it matters\\n\\n[https:\/\/github.com\/feldroy\/django-crash-course\/issues\/197](https:\/\/github.com\/feldroy\/django-crash-course\/issues\/197)', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 6, 'created_utc': 1590927165}"}
{"id":"706249","text":"Title: Place Blueprint Over Planned Landfill\nThe text below was posted in an online community called factorio in the year 2021:\n\nI am expanding my railblock and figured I could get the bots to do the work of landfilling by placing planned landfill over all the water and then place the railblock blank blueprint over that and while they built the blocks and expanded the bot network they would be able to reach the planned landfill.  However I found that despite a planned landfill being placed the blueprint still states cannot be placed due to water.  Is there a way around this?","meta":"{'source': 'reddit_posts', 'id': 'qkrigg', 'title': 'Place Blueprint Over Planned Landfill', 'author': 'CharAznableLoNZ', 'subreddit': 'factorio', 'subreddit_id': '2wabp', 'body': 'I am expanding my railblock and figured I could get the bots to do the work of landfilling by placing planned landfill over all the water and then place the railblock blank blueprint over that and while they built the blocks and expanded the bot network they would be able to reach the planned landfill.  However I found that despite a planned landfill being placed the blueprint still states cannot be placed due to water.  Is there a way around this?', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 19, 'created_utc': 1635811401}"}
{"id":"1605274","text":"Title: Galaxy Nexus from Google Play store:  Six weeks and three phones later I still don't have a working device. What do I do?\nThe text below was posted in an online community called Android in the year 2012:\n\nI've been without this phone half the time I've owned it.\n\n\n**1st phone:**  Power button broken.  Instead of just fixing the power button as I was sure to note in the case, they replaced the phone. Three weeks to get the replacement.\n\n\n**2nd phone:** Wouldn't power on. DOA.  Sent for repair again. Replacement took another 3 weeks to get here.\n\n\n**3rd phone:** On arrival, battery won't move past 0% charge. They want me to send it in for repair again. \n\n\nHave been elevated to Samsung Executive support and they still won't just send me a new phone. Google Play support got on the phone with Samsung for me but got no where and they also won't let me return the phone to them.  I feel like I'm out $400 here.  Do I have any options?","meta":"{'source': 'reddit_posts', 'id': 'zq77o', 'title': \"Galaxy Nexus from Google Play store:  Six weeks and three phones later I still don't have a working device. What do I do?\", 'author': 'hugebigfatrhino', 'subreddit': 'Android', 'subreddit_id': '2qlqh', 'body': \"I've been without this phone half the time I've owned it.\\n\\n\\n**1st phone:**  Power button broken.  Instead of just fixing the power button as I was sure to note in the case, they replaced the phone. Three weeks to get the replacement.\\n\\n\\n**2nd phone:** Wouldn't power on. DOA.  Sent for repair again. Replacement took another 3 weeks to get here.\\n\\n\\n**3rd phone:** On arrival, battery won't move past 0% charge. They want me to send it in for repair again. \\n\\n\\nHave been elevated to Samsung Executive support and they still won't just send me a new phone. Google Play support got on the phone with Samsung for me but got no where and they also won't let me return the phone to them.  I feel like I'm out $400 here.  Do I have any options?\", 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 20, 'created_utc': 1347395635}"}
{"id":"335684","text":"Title: Upgrade or Replace? (Mid-2009 MBP)\nThe text below was posted in an online community called apple in the year 2014:\n\nI maxed out the RAM in the laptop to 8GB in 2011. It has a 2.53 GHz Core 2 Duo processor. \n\n\nThe battery needs to be replaced, the charger cable is unraveling\/fraying, the DVD\/CD drive has stopped working (Not too big of an issue).  \n\n\nShould I replace the items listed above, and put in a SSD potentially, or just put that money towards a newer MBP\/MBA? \n\n\n\nI find the machine decent for browsing the Web, but any Software Development Applications or other Applications seem to bog it down a bit. \n\nEDIT:\n\nSo far my estimates for fixing the Battery+Cable is $126. Anyone know a good economical priced SSD?\n\n\nEDIT2:\n\nFound an SSD. So far it looks like it will be $282 to upgrade\/fix this guy. I think it might be worth it. \n\nSamsung 840 EVO SSD $156.\nApple Power Adapter $74.\nReplacement battery $53.","meta":"{'source': 'reddit_posts', 'id': '1z7hj3', 'title': 'Upgrade or Replace? (Mid-2009 MBP)', 'author': 'wethley', 'subreddit': 'apple', 'subreddit_id': '2qh1f', 'body': 'I maxed out the RAM in the laptop to 8GB in 2011. It has a 2.53 GHz Core 2 Duo processor. \\n\\n\\nThe battery needs to be replaced, the charger cable is unraveling\/fraying, the DVD\/CD drive has stopped working (Not too big of an issue).  \\n\\n\\nShould I replace the items listed above, and put in a SSD potentially, or just put that money towards a newer MBP\/MBA? \\n\\n\\n\\nI find the machine decent for browsing the Web, but any Software Development Applications or other Applications seem to bog it down a bit. \\n\\nEDIT:\\n\\nSo far my estimates for fixing the Battery+Cable is $126. Anyone know a good economical priced SSD?\\n\\n\\nEDIT2:\\n\\nFound an SSD. So far it looks like it will be $282 to upgrade\/fix this guy. I think it might be worth it. \\n\\nSamsung 840 EVO SSD $156.\\nApple Power Adapter $74.\\nReplacement battery $53.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 10, 'created_utc': '1393619351'}"}
{"id":"1893896","text":"Title: Looking for Youtube channels from AAA-developers on game development\nThe text below was posted in an online community called gamedev in the year 2016:\n\nAs the title states. I'm looking for youtube channels on higher-level aspects of game development (game design, level design, character design etc.), preferrably from AAA developers.\n\nIs there anything you would recommend?","meta":"{'source': 'reddit_posts', 'id': '4oldag', 'title': 'Looking for Youtube channels from AAA-developers on game development', 'author': 'localuser-', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': \"As the title states. I'm looking for youtube channels on higher-level aspects of game development (game design, level design, character design etc.), preferrably from AAA developers.\\n\\nIs there anything you would recommend?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 12, 'created_utc': 1466197150}"}
{"id":"807824","text":"Title: Azure Information Protection\nThe text below was posted in an online community called computerforensics in the year 2020:\n\nIs this a way to tell if a file has been protected with Azure Information Protection without generating an auditable event?","meta":"{'source': 'reddit_posts', 'id': 'es0393', 'title': 'Azure Information Protection', 'author': 'HaCKeRReKCaH', 'subreddit': 'computerforensics', 'subreddit_id': '2rubs', 'body': 'Is this a way to tell if a file has been protected with Azure Information Protection without generating an auditable event?', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 0, 'created_utc': 1579636804}"}
{"id":"859513","text":"Title: [Bug] Watch OS5 b3 suddenly loses all paired contacts with iPhone on iOS 12 b3\nThe text below was posted in an online community called watchOSBeta in the year 2018:\n\nAll messages on my iPhone come as the contact name, however the watch displays their phone number.\n\nJust realized that this was one of the Disclaimers in the release notes for Watch os5 b3, but goddamn is this annoying!\n\nIve done everything - reset sync in Watch app setting, unpaired phone and watch, performed hard resets on both devices as well as store as a new device, and turned iCloud on and off for contacts.\n\nAny workaround Im not aware of to fix this?  Its really aggravating!  In hindsight, Im not one to complain as I am a developer and should have read the notes, but this is a huge issue for me and assumably others.\n\nEdit: 07\/06\/18:  I downgraded from iOs 12 b3 to b2 and I saw the contacts populate.  I then upgraded back to iOS 12b3 and the contacts are still there.","meta":"{'source': 'reddit_posts', 'id': '8wbbgl', 'title': '[Bug] Watch OS5 b3 suddenly loses all paired contacts with iPhone on iOS 12 b3', 'author': 'iamnangs', 'subreddit': 'watchOSBeta', 'subreddit_id': '38wn7', 'body': 'All messages on my iPhone come as the contact name, however the watch displays their phone number.\\n\\nJust realized that this was one of the Disclaimers in the release notes for Watch os5 b3, but goddamn is this annoying!\\n\\nIve done everything - reset sync in Watch app setting, unpaired phone and watch, performed hard resets on both devices as well as store as a new device, and turned iCloud on and off for contacts.\\n\\nAny workaround Im not aware of to fix this?  Its really aggravating!  In hindsight, Im not one to complain as I am a developer and should have read the notes, but this is a huge issue for me and assumably others.\\n\\nEdit: 07\/06\/18:  I downgraded from iOs 12 b3 to b2 and I saw the contacts populate.  I then upgraded back to iOS 12b3 and the contacts are still there.', 'body_is_trimmed': False, 'score': 35, 'over_18': False, 'num_comments': 51, 'created_utc': 1530804416}"}
{"id":"2324504","text":"Title: Which e-commerce solutions are the easiest to template?\nThe text below was posted in an online community called web_design in the year 2009:\n\nJust looking for a bit of guidance. Some CMS's are more flexible in terms of templating (MODX, EE, etc) than others - what would the comparable e-commerce solutions be?","meta":"{'source': 'reddit_posts', 'id': 'aivbo', 'title': 'Which e-commerce solutions are the easiest to template?', 'author': '2nd_account', 'subreddit': 'web_design', 'subreddit_id': '2qh1m', 'body': \"Just looking for a bit of guidance. Some CMS's are more flexible in terms of templating (MODX, EE, etc) than others - what would the comparable e-commerce solutions be?\", 'body_is_trimmed': False, 'score': 16, 'over_18': False, 'num_comments': 13, 'created_utc': 1261907909}"}
{"id":"2321458","text":"Title: Emacs TAB function acts weird on some files\nThe text below was posted in an online community called emacs in the year 2021:\n\nHello all,\n\nI've been using Emacs for a long time but my needs are not that fancy so my understanding of it is not that great. I'm mostly using it to edit DNS (bind)  and configuration files. \n\nI have for a long time had this peculiar thing come up. In most of my dns zone files the TAB key  acts as I want, ie when you press TAB the cursor moves 8 characters to the right, (from position 1) when you move the marker with arrow left it jumps back to position 1, and if you press TAB again it jumps 8 characters to the right again.\n\nBut in some files when I press TAB the marker moves to something like position 16. Now when you press arrow left the marker goes to the left as if the space is filled with spaces. If you try to press TAB again nothing happens.\n\nI've been trying to read the documentation on how to program the TAB key but I haven't been able to solve the problem.","meta":"{'source': 'reddit_posts', 'id': 'oa6m3t', 'title': 'Emacs TAB function acts weird on some files', 'author': 'dreamfin', 'subreddit': 'emacs', 'subreddit_id': '2qhwu', 'body': \"Hello all,\\n\\nI've been using Emacs for a long time but my needs are not that fancy so my understanding of it is not that great. I'm mostly using it to edit DNS (bind)  and configuration files. \\n\\nI have for a long time had this peculiar thing come up. In most of my dns zone files the TAB key  acts as I want, ie when you press TAB the cursor moves 8 characters to the right, (from position 1) when you move the marker with arrow left it jumps back to position 1, and if you press TAB again it jumps 8 characters to the right again.\\n\\nBut in some files when I press TAB the marker moves to something like position 16. Now when you press arrow left the marker goes to the left as if the space is filled with spaces. If you try to press TAB again nothing happens.\\n\\nI've been trying to read the documentation on how to program the TAB key but I haven't been able to solve the problem.\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 9, 'created_utc': 1624967133}"}
{"id":"1660983","text":"Title: 100devs vs free code camp vs Odin vs anything else for someone who is looking for employment.\nThe text below was posted in an online community called learnprogramming in the year 2022:\n\nWhich of these, in your experience, has been the best at preparing someone for employment?","meta":"{'source': 'reddit_posts', 'id': 'v3h4rg', 'title': '100devs vs free code camp vs Odin vs anything else for someone who is looking for employment.', 'author': 'tuc34ker', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'Which of these, in your experience, has been the best at preparing someone for employment?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 7, 'created_utc': 1654199082}"}
{"id":"1388472","text":"Title: Searching for an OOB Monitoring Solutions\nThe text below was posted in an online community called networking in the year 2017:\n\nI'm looking for a OOB (Span Port) monitoring solution that is affordable for small offices and large offices.  Offices range from 20-200 employees.  I'm really looking for voice call quality data and application experience.  Looking at pricing by site, can this be done for less than $2k for small offices of 20 people?","meta":"{'source': 'reddit_posts', 'id': '73902f', 'title': 'Searching for an OOB Monitoring Solutions', 'author': 'SkiRek', 'subreddit': 'networking', 'subreddit_id': '2qkaf', 'body': \"I'm looking for a OOB (Span Port) monitoring solution that is affordable for small offices and large offices.  Offices range from 20-200 employees.  I'm really looking for voice call quality data and application experience.  Looking at pricing by site, can this be done for less than $2k for small offices of 20 people?\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 3, 'created_utc': 1506703032}"}
{"id":"291154","text":"Title: [AskJS] Do you use Yarn v2?\nThe text below was posted in an online community called javascript in the year 2022:\n\nI *feel* like not a lot of people\/projects made the switch to Yarn v2. I'm thinking of finally making the switch but I don't know if it's the good thing to do.\n\nWhat's the state of Yarn v2? Why does it feel less popular than Yarn v1? Is it worth upgrading?","meta":"{'source': 'reddit_posts', 'id': 'sn21n4', 'title': '[AskJS] Do you use Yarn v2?', 'author': 'Thiht', 'subreddit': 'javascript', 'subreddit_id': '2qh30', 'body': \"I *feel* like not a lot of people\/projects made the switch to Yarn v2. I'm thinking of finally making the switch but I don't know if it's the good thing to do.\\n\\nWhat's the state of Yarn v2? Why does it feel less popular than Yarn v1? Is it worth upgrading?\", 'body_is_trimmed': False, 'score': 42, 'over_18': False, 'num_comments': 46, 'created_utc': 1644270624}"}
{"id":"843430","text":"Title: [Updated] Audio quality analyzer for podcasters\nThe text below was posted in an online community called Web_Development in the year 2021:\n\nHi again ! \n\nWe updated our tool to check the audio quality of a podcast :\n[Vib3s.Audio](https:\/\/vib3s.audio) \n\nWe made it more accurate especially regarding compression and background noises.\n\nFor those of you who havent tried already, a podcast episode or an audio file need to be uploaded and we will analyze :\n- Background noises\n- Level\n- Level Variation\n- Compression\nYoull receive a score on a scale of 0-5 by email.\n\nWe would appreciate it so much if you guys had the time to give it a try and tell us if theres anything that can be optimized.\n\nAgain, we know that the file uploading part takes some time, do you have any idea on how to optimize that please ? \n\n\nThanks in advance !","meta":"{'source': 'reddit_posts', 'id': 'q2jiuc', 'title': '[Updated] Audio quality analyzer for podcasters', 'author': 'bonjourlepain', 'subreddit': 'Web_Development', 'subreddit_id': '2qrkm', 'body': 'Hi again ! \\n\\nWe updated our tool to check the audio quality of a podcast :\\n[Vib3s.Audio](https:\/\/vib3s.audio) \\n\\nWe made it more accurate especially regarding compression and background noises.\\n\\nFor those of you who havent tried already, a podcast episode or an audio file need to be uploaded and we will analyze :\\n- Background noises\\n- Level\\n- Level Variation\\n- Compression\\nYoull receive a score on a scale of 0-5 by email.\\n\\nWe would appreciate it so much if you guys had the time to give it a try and tell us if theres anything that can be optimized.\\n\\nAgain, we know that the file uploading part takes some time, do you have any idea on how to optimize that please ? \\n\\n\\nThanks in advance !', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 4, 'created_utc': 1633523725}"}
{"id":"1987239","text":"Title: Windows volume bar banner changes application upon stopping music in Spotify\nThe text below was posted in an online community called Windows10 in the year 2020:\n\nWhenever I pause Spotify the volume bar banner changes focus to Chrome or other audio source meaning I can't turn music back on using dedicated media buttons because it focuses on Chrome meaning that instead of turning on music I mute the twitch stream running on the other monitor. Any fixes to it?\n\nThat's how it looks before I mute the music: [https:\/\/prnt.sc\/s58xq3](https:\/\/prnt.sc\/s58xq3)\n\nand after muting: [https:\/\/prnt.sc\/s58zgs](https:\/\/prnt.sc\/s58zgs)\n\nOnce I try to unmute it switches to the browser meaning I cannot control Spotify unless I manually click the arrow on the grey backgroud.","meta":"{'source': 'reddit_posts', 'id': 'g78r55', 'title': 'Windows volume bar banner changes application upon stopping music in Spotify', 'author': 'Fata7ek', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': \"Whenever I pause Spotify the volume bar banner changes focus to Chrome or other audio source meaning I can't turn music back on using dedicated media buttons because it focuses on Chrome meaning that instead of turning on music I mute the twitch stream running on the other monitor. Any fixes to it?\\n\\nThat's how it looks before I mute the music: [https:\/\/prnt.sc\/s58xq3](https:\/\/prnt.sc\/s58xq3)\\n\\nand after muting: [https:\/\/prnt.sc\/s58zgs](https:\/\/prnt.sc\/s58zgs)\\n\\nOnce I try to unmute it switches to the browser meaning I cannot control Spotify unless I manually click the arrow on the grey backgroud.\", 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 0, 'created_utc': 1587736405}"}
{"id":"1171590","text":"Title: About Love2d\nThe text below was posted in an online community called gamedev in the year 2013:\n\nI'm starting on a new 2d game and I'm trying to find what's right for me. Java comes to mind, which I know pretty well, but I don't feel like I should have to program a whole engine from scratch, especially if there are plenty of engines out there that would be better than what I could create.\n\n I'm wondering if anyone has any experience with Love2d and lua. From what I can tell lua isn't too dificult, and it seems like a promising platform, but I'd like to hear other peoples opinions. \nIs there anything better I should be using?","meta":"{'source': 'reddit_posts', 'id': '1luaku', 'title': 'About Love2d', 'author': 'Choders', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': \"I'm starting on a new 2d game and I'm trying to find what's right for me. Java comes to mind, which I know pretty well, but I don't feel like I should have to program a whole engine from scratch, especially if there are plenty of engines out there that would be better than what I could create.\\n\\n I'm wondering if anyone has any experience with Love2d and lua. From what I can tell lua isn't too dificult, and it seems like a promising platform, but I'd like to hear other peoples opinions. \\nIs there anything better I should be using?\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 6, 'created_utc': 1378452546}"}
{"id":"1469316","text":"Title: On Build 18841, it's impossible for me to update\nThe text below was posted in an online community called windowsinsiders in the year 2019:\n\nThe Windows Update screen shows me that Updates are available, but it doesn't show me a download status nor a Reboot Now to install updates button. Already tried resetting WU, but when I re-open settings, nothing changes. Does anyone know how to force updates via command line or to do an extreme cleanup of WU?\n\n(if you look at the screenshot [here](https:\/\/i.imgur.com\/3IPCmkY.jpg), the search for updates button is also missing).","meta":"{'source': 'reddit_posts', 'id': 'axp89v', 'title': \"On Build 18841, it's impossible for me to update\", 'author': 'filippghost', 'subreddit': 'windowsinsiders', 'subreddit_id': '391qx', 'body': \"The Windows Update screen shows me that Updates are available, but it doesn't show me a download status nor a Reboot Now to install updates button. Already tried resetting WU, but when I re-open settings, nothing changes. Does anyone know how to force updates via command line or to do an extreme cleanup of WU?\\n\\n(if you look at the screenshot [here](https:\/\/i.imgur.com\/3IPCmkY.jpg), the search for updates button is also missing).\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 8, 'created_utc': 1551814742}"}
{"id":"1799847","text":"Title: Am I the Only One Who Likes the Touchbar?\nThe text below was posted in an online community called MacOS in the year 2021:\n\nHear me out here,I like touchbar. I know it is getting a lot of hate, and it was dumb when they put the escape key on it. But nowits great! I mean honestly you can customize it how ever you want, many apps have great touchbars, and for more complicated things or just things you want quicker access to the touchbar is honestly really good. Do you like it? If not why? I am genuinely curious. Also Im new so I didnt use a Mac without the touchbar so that might matter","meta":"{'source': 'reddit_posts', 'id': 'ox0xan', 'title': 'Am I the Only One Who Likes the Touchbar?', 'author': 'ThatGuyAagain', 'subreddit': 'MacOS', 'subreddit_id': '2s2gv', 'body': 'Hear me out here,I like touchbar. I know it is getting a lot of hate, and it was dumb when they put the escape key on it. But nowits great! I mean honestly you can customize it how ever you want, many apps have great touchbars, and for more complicated things or just things you want quicker access to the touchbar is honestly really good. Do you like it? If not why? I am genuinely curious. Also Im new so I didnt use a Mac without the touchbar so that might matter', 'body_is_trimmed': False, 'score': 83, 'over_18': False, 'num_comments': 90, 'created_utc': 1627987839}"}
{"id":"863126","text":"Title: Professional looking examples of code?\nThe text below was posted in an online community called learnjavascript in the year 2021:\n\nDoes anyone have good examples of extremley well written professional vanilla js code. Preferably for simple small html\/css\/js projects that are easy to understand\n\nThanks","meta":"{'source': 'reddit_posts', 'id': 'plhyvf', 'title': 'Professional looking examples of code?', 'author': 'PsychedelicPistachio', 'subreddit': 'learnjavascript', 'subreddit_id': '2tugi', 'body': 'Does anyone have good examples of extremley well written professional vanilla js code. Preferably for simple small html\/css\/js projects that are easy to understand\\n\\nThanks', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 3, 'created_utc': 1631267851}"}
{"id":"1109491","text":"Title: Is Win10XPE actually safe?\nThe text below was posted in an online community called windows in the year 2021:\n\nI've been wanting to make a winpe thumb drive for a while, because as far as I can tell, it's the best bootable recovery solution that's out there.\n\nI few months ago I stumbled upon Win10XPE, but I couldn't find much information on it, and got worried when an antivirus software flagged it. I was also just reminded about it this morning when I saw a YouTube video about it.\n\nIs Win10XPE actually safe?","meta":"{'source': 'reddit_posts', 'id': 'n287x9', 'title': 'Is Win10XPE actually safe?', 'author': 'Dr_Ari_Gami', 'subreddit': 'windows', 'subreddit_id': '2qh3k', 'body': \"I've been wanting to make a winpe thumb drive for a while, because as far as I can tell, it's the best bootable recovery solution that's out there.\\n\\nI few months ago I stumbled upon Win10XPE, but I couldn't find much information on it, and got worried when an antivirus software flagged it. I was also just reminded about it this morning when I saw a YouTube video about it.\\n\\nIs Win10XPE actually safe?\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 8, 'created_utc': 1619832506}"}
{"id":"207172","text":"Title: web2py, flask or django for webserver\nThe text below was posted in an online community called learnpython in the year 2014:\n\nHi, I am a beginner\/intermediate python programmer looking for some guidance as to how to approach a project.\n\nI want to build an application using either web2py, flask or django. I have never built a web application before but have some experience in Python scripting for GIS.\n\nI would like to build an app that allows files to be downloaded (locally or over the web) as they appear in a specific directory. Nothing too complex, maybe a webmap and a homepage.\n\nI am really hoping to learn about python web development by doing this project. What framework should I choose?\n\nThanks","meta":"{'source': 'reddit_posts', 'id': '2i5l4b', 'title': 'web2py, flask or django for webserver', 'author': 'Y-mir', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': 'Hi, I am a beginner\/intermediate python programmer looking for some guidance as to how to approach a project.\\n\\nI want to build an application using either web2py, flask or django. I have never built a web application before but have some experience in Python scripting for GIS.\\n\\nI would like to build an app that allows files to be downloaded (locally or over the web) as they appear in a specific directory. Nothing too complex, maybe a webmap and a homepage.\\n\\nI am really hoping to learn about python web development by doing this project. What framework should I choose?\\n\\nThanks', 'body_is_trimmed': False, 'score': 10, 'over_18': False, 'num_comments': 12, 'created_utc': '1412304891'}"}
{"id":"1111542","text":"Title: Any good software for generating animated png's?\nThe text below was posted in an online community called linux4noobs in the year 2022:\n\nHello, I am on Linux mint.\nI want to know if there is any software that can be used to make animated png's from a sequence of pictures in other formats?\nI prefer ( What You See Is What You Get).","meta":"{'source': 'reddit_posts', 'id': 'xv3mxv', 'title': \"Any good software for generating animated png's?\", 'author': 'erilaz123', 'subreddit': 'linux4noobs', 'subreddit_id': '2qy7t', 'body': \"Hello, I am on Linux mint.\\nI want to know if there is any software that can be used to make animated png's from a sequence of pictures in other formats?\\nI prefer ( What You See Is What You Get).\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 5, 'created_utc': 1664852684}"}
{"id":"368209","text":"Title: Hey Guys, I Watched Thomas Brush Illustration Tutorial And I Made This Background For My Game.\nThe text below was posted in an online community called Unity3D in the year 2020:\n\n&amp;#x200B;\n\nhttps:\/\/preview.redd.it\/lb5iuqlduvq51.png?width=4960&amp;format=png&amp;auto=webp&amp;s=3b6ec41f3f8f689eda71a7a0af83c61a6e9199fb","meta":"{'source': 'reddit_posts', 'id': 'j4f3qn', 'title': 'Hey Guys, I Watched Thomas Brush Illustration Tutorial And I Made This Background For My Game.', 'author': 'ChickenGamesStudio', 'subreddit': 'Unity3D', 'subreddit_id': '2qwj8', 'body': '&amp;#x200B;\\n\\nhttps:\/\/preview.redd.it\/lb5iuqlduvq51.png?width=4960&amp;format=png&amp;auto=webp&amp;s=3b6ec41f3f8f689eda71a7a0af83c61a6e9199fb', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 2, 'created_utc': 1601732141}"}
{"id":"1342424","text":"Title: Announcing the Compose Specification\nThe text below was posted in an online community called docker in the year 2020:\n\nDocker is pleased to announce that we have created a new open community to develop the Compose Specification. This new community will be run with open governance with input from all interested parties allowing us together to create a new standard for defining multi-container apps that can be run from the desktop to the cloud. \n\nhttps:\/\/www.docker.com\/blog\/announcing-the-compose-specification\/","meta":"{'source': 'reddit_posts', 'id': 'fwoml7', 'title': 'Announcing the Compose Specification', 'author': 'nfrankel', 'subreddit': 'docker', 'subreddit_id': '2y00f', 'body': 'Docker is pleased to announce that we have created a new open community to develop the Compose Specification. This new community will be run with open governance with input from all interested parties allowing us together to create a new standard for defining multi-container apps that can be run from the desktop to the cloud. \\n\\nhttps:\/\/www.docker.com\/blog\/announcing-the-compose-specification\/', 'body_is_trimmed': False, 'score': 82, 'over_18': False, 'num_comments': 13, 'created_utc': 1586280480}"}
{"id":"1271085","text":"Title: Screenshot Saturday #477 - Grand Visualizations\nThe text below was posted in an online community called gamedev in the year 2020:\n\nShare your progress since last time in a form of screenshots, animations and videos. Tell us all about your project and make us interested!\n\nThe hashtag for Twitter is of course #screenshotsaturday.\n\nNote: Using url shorteners is discouraged as it may get you caught by Reddit's spam filter.\n\n---\n\n[Previous Screenshot Saturdays](https:\/\/www.reddit.com\/r\/gamedev\/search?q=flair:SSS&amp;restrict_sr=on&amp;sort=new&amp;t=all)\n\n---\n\nBonus question: What game do you think has the most memorable environments?","meta":"{'source': 'reddit_posts', 'id': 'fm9pay', 'title': 'Screenshot Saturday #477 - Grand Visualizations', 'author': 'Sexual_Lettuce', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': \"Share your progress since last time in a form of screenshots, animations and videos. Tell us all about your project and make us interested!\\n\\nThe hashtag for Twitter is of course #screenshotsaturday.\\n\\nNote: Using url shorteners is discouraged as it may get you caught by Reddit's spam filter.\\n\\n---\\n\\n[Previous Screenshot Saturdays](https:\/\/www.reddit.com\/r\/gamedev\/search?q=flair:SSS&amp;restrict_sr=on&amp;sort=new&amp;t=all)\\n\\n---\\n\\nBonus question: What game do you think has the most memorable environments?\", 'body_is_trimmed': False, 'score': 20, 'over_18': False, 'num_comments': 57, 'created_utc': 1584766673}"}
{"id":"1475249","text":"Title: Rich domain model in golang\nThe text below was posted in an online community called golang in the year 2019:\n\n```\ntype Article struct { \/\/ entity model\n    ID uint64\n    \/\/ some fields\n    ...\n    ArticleRepo ArticleRepository\n    AuthorRepo AuthorRepository\n}\n\ntype ArticleRepository interface {\n    Get(id uint64) (...)\n}\n\ntype ArticleModel struct { \/\/ data model for mysql\n    ID uint64 `sql:\"...\"`\n}\n```\nHere is a Article entity, which use ArticleRepository interface to save itself and use AuthorRepository to find a Author entity. My problem is ArticleRepository query a article from mysql and get a data model, how do i rebuild it into a entity(inject repository)?\n\n\n```\ntype ArticleFactory struct {\n    ArticleRepo \n    AuthorRepo\n}\n\nfunc (f *ArticleFactory) Gen() *Article {\n    return &amp;Article{\n        ArticleRepo: f.ArticleRepo,\n        AuthorRepo:  f.AuthorRepo,\n    }\n}\n```\nif i use a Article to ArticleFactory to generate a entity in ArticleRepository.Get, the ArticleRepository is dependent on  ArticleFactory, and the ArticleFactory is dependent on ArticleRepository, how to solve the circle dependency?\n\nI know that anemic domain mode style, ArticleService -&gt; ArticleRepo -&gt; ArticleModel.\nI'm wondering how to implement rich domain model in golang\n\n----------update----------\n\nI think you guys not understand my question or i'm not describe correctly?\n\nAs far as I know domain object of anemic domain model maybe contains some business logic, but it **will not contains any persistence logic**, if there are some connection between two domain object, such as Article and Author, the business logic should be promoted to upper server layer, here is a example, get all articles of a author\n\n```\ntype SomeService struct {\n}\n\nfunc (s *SomeService) GetArticlesOfAuthor(authorID uint64) []*Articles {\n    \/\/ 1. first find author by authorID\n    \/\/ 2. get articles ID by author ID\n    \/\/ 3. get article data by articles ID\n}\n```\n\nthe domain object of rich domain model **contains most of business logic and the persistence logic(when to save and save what)**, and the service layer will be more slim, \n\n```\ntype Author struct {\n}\n\nfunc (a *Author) GetArticles() []*Article {\n    \/\/ the author should know about articles of himself.\n}\n\ntype SomeService struct {\n}\n\nfunc (s *SomeService) GetArticlesOfAuthor(authorID uint64) []*Articles {\n    \/\/ 1. first find author by authorID\n    author := getAuthorByID(authorID)\n    articles := author.GetArticles()\n}\n```\nI have heard that dynamic languages which can add methods or field at runtime is more easy to implement rich domain model, static languages such as java, golang is hard to implement this.\n\nBoth of two ways can separate database persistence(how to store) and business logic, so my question is not about how to do the separation.\n\nAlso i'm not trying to argue about adm and rdm which is better.\n\nMy question is how to correctly rich domain model in golang or other static languages?\n\nWhat I mentioned above if Author should know about his articles, so the Author should depend on ArticleRepo to grab article data from database, and the key is how to rebuild a author entity from the data model which repository grabbed from database? The most important is inject repo instance to the author entity at runtime, this is what i'm confusing.\n\n```\n\/\/ ArticleRepository is a interface separate database persistence logic\ntype ArticleRepository interface { \n    Save(article *Article) \n    Get(articleID uint64) *Article\n}\n\n\/\/ ArticleModel is a data model contains some database matedata such as column name...\ntype ArticleModel struct { \n    ID      uint64 `sql:\"xxx\"` \n    Title   string `sql:\"xxx\"` \n    Content string `sql:\"xxx\"` \n}\n\n\/\/ ArticleRepositoryImpl implements ArticleRepository, here is real persistence detail.\ntype ArticleRepositoryImpl struct {\n    conn *some_db_connection\n}\n\nfunc (r *ArticleRepositoryImpl) Save(article *Article) {\n    \/\/ we can build a data model from domain model, and save it to database\n    articleModel := &amp;ArticleModel{\n        ID: article.ID,\n        Title: article.Title,\n        Content: article.Content,\n    }\n    r.conn.exec(\"some sql to save data model\")\n}\n\nfunc (r *ArticleRepositoryImpl) Get(articleID uint64) *Article {\n    articleModel := r.conn.query(\"sql to query\")\n    \/\/ ??????????\n    \/\/ **here is the point**\n    \/\/ I can get a articleModel from database\n    \/\/ how to rebuild it to a article domain object\n    articleEntity := &amp;Article{\n        ID articleModel.ID,\n        Title: articleModel,Title,\n        Content: articleModel.Content\n    }\n    \/\/ this article entity is missing repository instance, so some method on it will panic\n    \/\/ such as articleEntity.GetAuthor\n    \/\/ if i want to inject AuthorRepo to the article entity\n    \/\/ so the ArticleRepositoryImpl will depend on a AuthorRepository instance\n    \/\/ the same AuthorRepositoryImpl will depend on a ArticleRepository instance\n    \/\/ how to solve the circle dependencies???\n}\n```\n\nfinally, this post is discuss to find out a correct way implement rich domain model, if i have any misunderstandings abou rich domain model, please tell me.","meta":"{'source': 'reddit_posts', 'id': 'bo0hnm', 'title': 'Rich domain model in golang', 'author': 'liguangsheng', 'subreddit': 'golang', 'subreddit_id': '2rc7j', 'body': '```\\ntype Article struct { \/\/ entity model\\n    ID uint64\\n    \/\/ some fields\\n    ...\\n    ArticleRepo ArticleRepository\\n    AuthorRepo AuthorRepository\\n}\\n\\ntype ArticleRepository interface {\\n    Get(id uint64) (...)\\n}\\n\\ntype ArticleModel struct { \/\/ data model for mysql\\n    ID uint64 `sql:\"...\"`\\n}\\n```\\nHere is a Article entity, which use ArticleRepository interface to save itself and use AuthorRepository to find a Author entity. My problem is ArticleRepository query a article from mysql and get a data model, how do i rebuild it into a entity(inject repository)?\\n\\n\\n```\\ntype ArticleFactory struct {\\n    ArticleRepo \\n    AuthorRepo\\n}\\n\\nfunc (f *ArticleFactory) Gen() *Article {\\n    return &amp;Article{\\n        ArticleRepo: f.ArticleRepo,\\n        AuthorRepo:  f.AuthorRepo,\\n    }\\n}\\n```\\nif i use a Article to ArticleFactory to generate a entity in ArticleRepository.Get, the ArticleRepository is dependent on  ArticleFactory, and the ArticleFactory is dependent on ArticleRepository, how to solve the circle dependency?\\n\\nI know that anemic domain mode style, ArticleService -&gt; ArticleRepo -&gt; ArticleModel.\\nI\\'m wondering how to implement rich domain model in golang\\n\\n----------update----------\\n\\nI think you guys not understand my question or i\\'m not describe correctly?\\n\\nAs far as I know domain object of anemic domain model maybe contains some business logic, but it **will not contains any persistence logic**, if there are some connection between two domain object, such as Article and Author, the business logic should be promoted to upper server layer, here is a example, get all articles of a author\\n\\n```\\ntype SomeService struct {\\n}\\n\\nfunc (s *SomeService) GetArticlesOfAuthor(authorID uint64) []*Articles {\\n    \/\/ 1. first find author by authorID\\n    \/\/ 2. get articles ID by author ID\\n    \/\/ 3. get article data by articles ID\\n}\\n```\\n\\nthe domain object of rich domain model **contains most of business logic and the persistence logic(when to save and save what)**, and the service layer will be more slim, \\n\\n```\\ntype Author struct {\\n}\\n\\nfunc (a *Author) GetArticles() []*Article {\\n    \/\/ the author should know about articles of himself.\\n}\\n\\ntype SomeService struct {\\n}\\n\\nfunc (s *SomeService) GetArticlesOfAuthor(authorID uint64) []*Articles {\\n    \/\/ 1. first find author by authorID\\n    author := getAuthorByID(authorID)\\n    articles := author.GetArticles()\\n}\\n```\\nI have heard that dynamic languages which can add methods or field at runtime is more easy to implement rich domain model, static languages such as java, golang is hard to implement this.\\n\\nBoth of two ways can separate database persistence(how to store) and business logic, so my question is not about how to do the separation.\\n\\nAlso i\\'m not trying to argue about adm and rdm which is better.\\n\\nMy question is how to correctly rich domain model in golang or other static languages?\\n\\nWhat I mentioned above if Author should know about his articles, so the Author should depend on ArticleRepo to grab article data from database, and the key is how to rebuild a author entity from the data model which repository grabbed from database? The most important is inject repo instance to the author entity at runtime, this is what i\\'m confusing.\\n\\n```\\n\/\/ ArticleRepository is a interface separate database persistence logic\\ntype ArticleRepository interface { \\n    Save(article *Article) \\n    Get(articleID uint64) *Article\\n}\\n\\n\/\/ ArticleModel is a data model contains some database matedata such as column name...\\ntype ArticleModel struct { \\n    ID      uint64 `sql:\"xxx\"` \\n    Title   string `sql:\"xxx\"` \\n    Content string `sql:\"xxx\"` \\n}\\n\\n\/\/ ArticleRepositoryImpl implements ArticleRepository, here is real persistence detail.\\ntype ArticleRepositoryImpl struct {\\n    conn *some_db_connection\\n}\\n\\nfunc (r *ArticleRepositoryImpl) Save(article *Article) {\\n    \/\/ we can build a data model from domain model, and save it to database\\n    articleModel := &amp;ArticleModel{\\n        ID: article.ID,\\n        Title: article.Title,\\n        Content: article.Content,\\n    }\\n    r.conn.exec(\"some sql to save data model\")\\n}\\n\\nfunc (r *ArticleRepositoryImpl) Get(articleID uint64) *Article {\\n    articleModel := r.conn.query(\"sql to query\")\\n    \/\/ ??????????\\n    \/\/ **here is the point**\\n    \/\/ I can get a articleModel from database\\n    \/\/ how to rebuild it to a article domain object\\n    articleEntity := &amp;Article{\\n        ID articleModel.ID,\\n        Title: articleModel,Title,\\n        Content: articleModel.Content\\n    }\\n    \/\/ this article entity is missing repository instance, so some method on it will panic\\n    \/\/ such as articleEntity.GetAuthor\\n    \/\/ if i want to inject AuthorRepo to the article entity\\n    \/\/ so the ArticleRepositoryImpl will depend on a AuthorRepository instance\\n    \/\/ the same AuthorRepositoryImpl will depend on a ArticleRepository instance\\n    \/\/ how to solve the circle dependencies???\\n}\\n```\\n\\nfinally, this post is discuss to find out a correct way implement rich domain model, if i have any misunderstandings abou rich domain model, please tell me.', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 8, 'created_utc': 1557733340}"}
{"id":"461073","text":"Title: Windows 10 21H1 Update Size\nThe text below was posted in an online community called Windows10 in the year 2021:\n\nWhat is the update size of 21H1 update? I know it is still in beta","meta":"{'source': 'reddit_posts', 'id': 'lqet7m', 'title': 'Windows 10 21H1 Update Size', 'author': 'braveman500', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': 'What is the update size of 21H1 update? I know it is still in beta', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 4, 'created_utc': 1614074293}"}
{"id":"24957","text":"Title: Resources for learning R\nThe text below was posted in an online community called learnprogramming in the year 2017:\n\nI am a sophomore in college studying computer science. I applied to several summer internship positions and one of the positions looked for candidate who knew R for analytics. I am interested in self-learning R so that I can show I have some experience for the internship position. Based on past learning experiences, I learn best with a physical book. Are there any books and or online materials you recommend?","meta":"{'source': 'reddit_posts', 'id': '5mtnrj', 'title': 'Resources for learning R', 'author': 'Vote4SovietBear', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'I am a sophomore in college studying computer science. I applied to several summer internship positions and one of the positions looked for candidate who knew R for analytics. I am interested in self-learning R so that I can show I have some experience for the internship position. Based on past learning experiences, I learn best with a physical book. Are there any books and or online materials you recommend?', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 6, 'created_utc': 1483914261}"}
{"id":"1265814","text":"Title: Trajectory - a game development and distribution platform\nThe text below was posted in an online community called gamedev in the year 2016:\n\nHi, Necroblight here, for the past year I've been working on a this little project of mine called [Trajectory](http:\/\/omnicentrum.com\/), some of you might have seen me posting a few times about it in the last week, but now I'm creating this post in order to explain more about Trajectory, and its future plans.\n\n---\n\n#####Game Development\n\nFirst question that always pops out, is why am I reinventing the wheel, there is already good game engines. And I competently agree, and this platform isn't meant to compete with them, and what might be the most crucial point, is that this platform isn't for experienced game developers, the goal of this platform is to eliminate anything outside the creative phase of the game development cycle. The games created in this platform are currently the most basic you can imagine, but they will keep on improving, with a goal in mind that eventually almost any game will be able be created in this platform. But for now let me talk about the platform itself.\n\n- **completely free:** This platform is completely free for use and with no limitation at all, you are given full access to the whole platform after registration.\n\n- **no coding needed:** First and foremost, as you might've guessed, no coding involved, and no scripting that gives away most of the power if you don't know how to code.\n\n- **creative freedom:** The goal of this platform is to give as much creative freedom with as little technical restraint as possible. You are given control over basic low-level game mechanic elements, and control over game UI styling and interface (now working on additional overhaul for this, to make UI styling and interface much more easy to use and understand).\n\n- **asset library:** You will have access to asset library other users in the platform can upload to, completely free of cost, only giving royalties if you choose to sell the game.\n\n- **work from anywhere and anytime:** The game engine can be accessed instantly thru a web browser requiring no additional installation or anything.\n\n- **publish fast and easy:** After finishing creating your game, with a single press of a button, you game will be published and be available for other people to browse and play with no need of any additional installation, on that same platform.\n\n- **updating:** After publishing, you will have the option to update the game, creating more content, and then deploy the patches immediately, with exactly the same ease as you had before. Also in addition (yet to be implanted), patch notes will be generated automatically, and you can choose what to hide in the public patch notes, and what not, making it all a very simple process.\n\n- **version control: (yet to be implanted)** after publishing your game, you can later control which version is available to plane, and you can create beta test, either closed or open.\n\n- **monetization: (yet to be implanted)** You will be able to sell your game later, with some shares going for the project, and other to the asset creators. You will have different ways to monetize your game, like regular sale, subscription fee, and microtransactions. In addition you will also have the ability to create expansion.\n\n- **cloud &amp; networking:** Games are server-side giving it a potential for later to develop multiplayer games, in no actual cost. In addition, it will protect the game from cheating, making it viable for competitive environment. The games will also be completely free from pirating. Players will also have cloud saving, giving additional QoL feature.\n\n---\n\n##Side Notes\n\nThat is all for now, I'll be adding more details later, and for the mean time, I'll be happy to answer any question, and receive any feedback and suggestions.\n\nAlso things to note; I'm the lone developer, and have a job, so I might not always be available to support. Also the platform is hosted on my home computer, so the speed might not be always be ideal, and different errors might pop out here and there, so I apologize for any mistakes and inconveniences in advance.\n\nThe site is also been build on Chrome, and haven't been tested on other browser, so the site might not properly work on other browser.\n\n---\n\n##Instructions\n\nTo access the editor, go to developer Hub, where you can test out the editor even if you not registered.\n\nTo browse game, go to players Hub, where you can play the games even if you not registered, tho your game won't be saved unless you are logged in.\n\nIf you interested in adding your own asset to the asset library, contact me, but note that the asset will be avaible for everyone to use.\n\nIf you see a question mark beside an input field, you can hover over it for a hint on what the field does.\n\nIn the game and editor, a '1' percentage means 100%, and 1% is 0.01.\n\nI didn't include instructions for interface and scene editor, as I'm working an overhaul for them right now, either way. But id you want to use it now, you can go ahead any ask me for instruction for anything specific you want to do.","meta":"{'source': 'reddit_posts', 'id': '44l55e', 'title': 'Trajectory - a game development and distribution platform', 'author': 'Necroblight', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': \"Hi, Necroblight here, for the past year I've been working on a this little project of mine called [Trajectory](http:\/\/omnicentrum.com\/), some of you might have seen me posting a few times about it in the last week, but now I'm creating this post in order to explain more about Trajectory, and its future plans.\\n\\n---\\n\\n#####Game Development\\n\\nFirst question that always pops out, is why am I reinventing the wheel, there is already good game engines. And I competently agree, and this platform isn't meant to compete with them, and what might be the most crucial point, is that this platform isn't for experienced game developers, the goal of this platform is to eliminate anything outside the creative phase of the game development cycle. The games created in this platform are currently the most basic you can imagine, but they will keep on improving, with a goal in mind that eventually almost any game will be able be created in this platform. But for now let me talk about the platform itself.\\n\\n- **completely free:** This platform is completely free for use and with no limitation at all, you are given full access to the whole platform after registration.\\n\\n- **no coding needed:** First and foremost, as you might've guessed, no coding involved, and no scripting that gives away most of the power if you don't know how to code.\\n\\n- **creative freedom:** The goal of this platform is to give as much creative freedom with as little technical restraint as possible. You are given control over basic low-level game mechanic elements, and control over game UI styling and interface (now working on additional overhaul for this, to make UI styling and interface much more easy to use and understand).\\n\\n- **asset library:** You will have access to asset library other users in the platform can upload to, completely free of cost, only giving royalties if you choose to sell the game.\\n\\n- **work from anywhere and anytime:** The game engine can be accessed instantly thru a web browser requiring no additional installation or anything.\\n\\n- **publish fast and easy:** After finishing creating your game, with a single press of a button, you game will be published and be available for other people to browse and play with no need of any additional installation, on that same platform.\\n\\n- **updating:** After publishing, you will have the option to update the game, creating more content, and then deploy the patches immediately, with exactly the same ease as you had before. Also in addition (yet to be implanted), patch notes will be generated automatically, and you can choose what to hide in the public patch notes, and what not, making it all a very simple process.\\n\\n- **version control: (yet to be implanted)** after publishing your game, you can later control which version is available to plane, and you can create beta test, either closed or open.\\n\\n- **monetization: (yet to be implanted)** You will be able to sell your game later, with some shares going for the project, and other to the asset creators. You will have different ways to monetize your game, like regular sale, subscription fee, and microtransactions. In addition you will also have the ability to create expansion.\\n\\n- **cloud &amp; networking:** Games are server-side giving it a potential for later to develop multiplayer games, in no actual cost. In addition, it will protect the game from cheating, making it viable for competitive environment. The games will also be completely free from pirating. Players will also have cloud saving, giving additional QoL feature.\\n\\n---\\n\\n##Side Notes\\n\\nThat is all for now, I'll be adding more details later, and for the mean time, I'll be happy to answer any question, and receive any feedback and suggestions.\\n\\nAlso things to note; I'm the lone developer, and have a job, so I might not always be available to support. Also the platform is hosted on my home computer, so the speed might not be always be ideal, and different errors might pop out here and there, so I apologize for any mistakes and inconveniences in advance.\\n\\nThe site is also been build on Chrome, and haven't been tested on other browser, so the site might not properly work on other browser.\\n\\n---\\n\\n##Instructions\\n\\nTo access the editor, go to developer Hub, where you can test out the editor even if you not registered.\\n\\nTo browse game, go to players Hub, where you can play the games even if you not registered, tho your game won't be saved unless you are logged in.\\n\\nIf you interested in adding your own asset to the asset library, contact me, but note that the asset will be avaible for everyone to use.\\n\\nIf you see a question mark beside an input field, you can hover over it for a hint on what the field does.\\n\\nIn the game and editor, a '1' percentage means 100%, and 1% is 0.01.\\n\\nI didn't include instructions for interface and scene editor, as I'm working an overhaul for them right now, either way. But id you want to use it now, you can go ahead any ask me for instruction for anything specific you want to do.\", 'body_is_trimmed': False, 'score': 20, 'over_18': False, 'num_comments': 50, 'created_utc': 1454842303}"}
{"id":"819248","text":"Title: New to arch. I have two users, one for regular use and one for work. I want to install things like xmonad and fonts across all systems. Do I install everything shared under root?\nThe text below was posted in an online community called linuxquestions in the year 2020:\n\nAs title states. For dotfiles they will be mostly the same with extremely minor differences (master repo for shared, branches for different users\/envs, gnu stow for linking), the new user for my work is just to isolate a few work specific apps (like time trackers etc) otherwise the setups will be pretty much identical.  \n   \nSo most of the things I will be installing will be for both users like xmonad and other things. Do I install all of these under root?  \n  \nHow do these user accounts inherit these things from root if so? Like if I wanted to edit some xmonad config under root, where would that be? \/root\/home or something? I'd also have to use sudo to edit them right?  \n\nSorry I'm still bad with linux :P Thanks.","meta":"{'source': 'reddit_posts', 'id': 'f04jpi', 'title': 'New to arch. I have two users, one for regular use and one for work. I want to install things like xmonad and fonts across all systems. Do I install everything shared under root?', 'author': '1y251251251225', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': \"As title states. For dotfiles they will be mostly the same with extremely minor differences (master repo for shared, branches for different users\/envs, gnu stow for linking), the new user for my work is just to isolate a few work specific apps (like time trackers etc) otherwise the setups will be pretty much identical.  \\n   \\nSo most of the things I will be installing will be for both users like xmonad and other things. Do I install all of these under root?  \\n  \\nHow do these user accounts inherit these things from root if so? Like if I wanted to edit some xmonad config under root, where would that be? \/root\/home or something? I'd also have to use sudo to edit them right?  \\n\\nSorry I'm still bad with linux :P Thanks.\", 'body_is_trimmed': False, 'score': 10, 'over_18': False, 'num_comments': 12, 'created_utc': 1581046318}"}
{"id":"2114465","text":"Title: How is usually the revenue share of an artist\nThe text below was posted in an online community called gamedev in the year 2016:\n\nSo I'm a beginner programmer on unity and I have a project in mind.  I'm thinking of hiring a pixel artist.  If I want to do it as revenue share,  what percentage should I give the artist if the game gets some income? \nPlus do we need some kind of contract now? \nThank you for your sharing your experience!","meta":"{'source': 'reddit_posts', 'id': '4a86zc', 'title': 'How is usually the revenue share of an artist', 'author': 'perortico', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': \"So I'm a beginner programmer on unity and I have a project in mind.  I'm thinking of hiring a pixel artist.  If I want to do it as revenue share,  what percentage should I give the artist if the game gets some income? \\nPlus do we need some kind of contract now? \\nThank you for your sharing your experience!\", 'body_is_trimmed': False, 'score': 21, 'over_18': False, 'num_comments': 21, 'created_utc': 1457872694}"}
{"id":"11553","text":"Title: Spirits - by the numbers\nThe text below was posted in an online community called gamedev in the year 2013:\n\nI found [this post with real sales figures on multiple platforms for the game Spirits and wanted to share.](http:\/\/www.spacesofplay.com\/2013\/05\/spirits-by-the-numbers\/) \n\nThere's a nice little graphic showing how the game did ~280k on platforms including iOS, Android, Steam and Humble Bundle (not a unique platform so much as a sales platform).\n\nThere are some great findings here, including the value of Android:\n\n&gt;Whats more surprising is that Google Play is #2 for us. This version is 2.99 USD and works on both tablets and phones. We were lucky to get a feature early on and temporarily changed the price to 0.99 USD during the feature. The saying that Android is not worth developing for compared to iOS does not seem to be true anymore.\n\nI also enjoyed the info on Steam performance: \n\n&gt;Sale promotions make the majority of the revenue. However, nowadays a sale without any kind of feature can go very much unnoticed in the vast sea of great (indie) games available. Two things that helped us was being featured in a flash sale, and being included in a large indie bundle which found many buyers despite its relatively high price point. Its great to have your game on Steam to reach core gamers, but with 11.4% of the revenue it was not make-or-break for us.","meta":"{'source': 'reddit_posts', 'id': '1ea8lk', 'title': 'Spirits - by the numbers', 'author': 'FamousAspect', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': \"I found [this post with real sales figures on multiple platforms for the game Spirits and wanted to share.](http:\/\/www.spacesofplay.com\/2013\/05\/spirits-by-the-numbers\/) \\n\\nThere's a nice little graphic showing how the game did ~280k on platforms including iOS, Android, Steam and Humble Bundle (not a unique platform so much as a sales platform).\\n\\nThere are some great findings here, including the value of Android:\\n\\n&gt;Whats more surprising is that Google Play is #2 for us. This version is 2.99 USD and works on both tablets and phones. We were lucky to get a feature early on and temporarily changed the price to 0.99 USD during the feature. The saying that Android is not worth developing for compared to iOS does not seem to be true anymore.\\n\\nI also enjoyed the info on Steam performance: \\n\\n&gt;Sale promotions make the majority of the revenue. However, nowadays a sale without any kind of feature can go very much unnoticed in the vast sea of great (indie) games available. Two things that helped us was being featured in a flash sale, and being included in a large indie bundle which found many buyers despite its relatively high price point. Its great to have your game on Steam to reach core gamers, but with 11.4% of the revenue it was not make-or-break for us.\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 0, 'created_utc': 1368493632}"}
{"id":"1509182","text":"Title: why gradle kotlin plugin does not provide jvmTarget inside kotlin block?\nThe text below was posted in an online community called Kotlin in the year 2022:\n\nwith java gradle plugin i can just do\n\n    java {\n    sourceCompatibility = JavaVersion.VERSION_17\n    targetCompatibility = JavaVersion.VERSION_17\n}\n\nwith kotlin however i have to do something like,\n\n    tasks.withType&lt;org.jetbrains.kotlin.gradle.tasks.KotlinCompile&gt;().configureEach {\n        kotlinOptions {\n            apiVersion = \"1.7\"\n            languageVersion = \"1.7\"\n            jvmTarget = \"17\"\n        }\n    }\n\nwhy kotlin plugin does not provide something like,\n\n    kotlin {\n        jvmTarget = \"17\"\n    }\n\nthat would be much better, or am i missing something?","meta":"{'source': 'reddit_posts', 'id': 'wgnsxm', 'title': 'why gradle kotlin plugin does not provide jvmTarget inside kotlin block?', 'author': 'duckydude20_reddit', 'subreddit': 'Kotlin', 'subreddit_id': '2so2r', 'body': 'with java gradle plugin i can just do\\n\\n    java {\\n    sourceCompatibility = JavaVersion.VERSION_17\\n    targetCompatibility = JavaVersion.VERSION_17\\n}\\n\\nwith kotlin however i have to do something like,\\n\\n    tasks.withType&lt;org.jetbrains.kotlin.gradle.tasks.KotlinCompile&gt;().configureEach {\\n        kotlinOptions {\\n            apiVersion = \"1.7\"\\n            languageVersion = \"1.7\"\\n            jvmTarget = \"17\"\\n        }\\n    }\\n\\nwhy kotlin plugin does not provide something like,\\n\\n    kotlin {\\n        jvmTarget = \"17\"\\n    }\\n\\nthat would be much better, or am i missing something?', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 3, 'created_utc': 1659680104}"}
{"id":"1803210","text":"Title: Database connection pooling\nThe text below was posted in an online community called javahelp in the year 2016:\n\nHi there !\nI am writing a small but potentially High-Loaded service.\nAs a data source i am using PostgreSQL with plain JDBC.\nAnd I want to reuse my database connection.\nFinally I found two most popular approach to building connection pool.\n\nApache DBCP - for provide pool connection on java side.\nPgpool - for providing pool connection on PostgreSQL server side (as i understood)\n\nI want to see your experience and advises on pool connection managing, and pluses \/ minuses of those connection providers.\n\nThank you !","meta":"{'source': 'reddit_posts', 'id': '50n431', 'title': 'Database connection pooling', 'author': 'iperc', 'subreddit': 'javahelp', 'subreddit_id': '2t1jq', 'body': 'Hi there !\\nI am writing a small but potentially High-Loaded service.\\nAs a data source i am using PostgreSQL with plain JDBC.\\nAnd I want to reuse my database connection.\\nFinally I found two most popular approach to building connection pool.\\n\\nApache DBCP - for provide pool connection on java side.\\nPgpool - for providing pool connection on PostgreSQL server side (as i understood)\\n\\nI want to see your experience and advises on pool connection managing, and pluses \/ minuses of those connection providers.\\n\\nThank you !', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 7, 'created_utc': 1472735829}"}
{"id":"1222123","text":"Title: Fix for USB 3.0 Root Hub showing up in safely remove hardware?\nThe text below was posted in an online community called Windows10 in the year 2017:\n\nI have been experiencing the same bug detailed in this thread: https:\/\/www.reddit.com\/r\/Windows10\/comments\/64gpnp\/creators_update_caused_usb_31_port_to_be_listed\/ but it looks like they still haven't rolled out a fix for it. Anyone have a way to fix this issue?","meta":"{'source': 'reddit_posts', 'id': '6m3rqf', 'title': 'Fix for USB 3.0 Root Hub showing up in safely remove hardware?', 'author': 'visceraltwist', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': \"I have been experiencing the same bug detailed in this thread: https:\/\/www.reddit.com\/r\/Windows10\/comments\/64gpnp\/creators_update_caused_usb_31_port_to_be_listed\/ but it looks like they still haven't rolled out a fix for it. Anyone have a way to fix this issue?\", 'body_is_trimmed': False, 'score': 14, 'over_18': False, 'num_comments': 5, 'created_utc': 1499551342}"}
{"id":"2400165","text":"Title: What are the implications of having a PGP key in the trusted software providers? I'm experiencing a strange behavior when I try to remove Brave's browser key...\nThe text below was posted in an online community called linuxquestions in the year 2020:\n\nI decided to remove Brave (browser) from my Linux. I then noticed that the brave keys were still appearing in  `sudo apt-key list` output and in `\/etc\/apt\/trusted.gpg.d\/`.\n\nThis was my Brave key:\n```\npub   rsa4096 2018-12-09 [SC]\n      3792 6684 3411 3B84 8B7A  7EBF 6AEB 0CDA 354C 703E\nuid           [ unknown] Launchpad PPA for Andreas\n\n\/etc\/apt\/trusted.gpg.d\/brave-browser-release.gpg\n```\n\nI went to remove Brave key:\n`sudo apt-key del 354C703E`  \nSuccess.\n\nAfter that, I've compared the `sudo apt-key list` output before and after removing that key, and found this curious change:\n\n# previously \n```\n\npub   rsa4096 2018-10-09 [SC]\n      1302 DE60 2318 89FE 1EBA  CADC 5467 8CF7 5A27 9D8C\nuid           [ unknown] Pavlo Rudyi &lt;floresandrew@example.net&gt;\nsub   rsa4096 2018-10-09 [E]\n\n\/etc\/apt\/trusted.gpg.d\/andreasbutti_ubuntu_xournalpp-master.gpg\n```\n\n# after removing Brave key\n```\npub   rsa4096 2018-10-09 [SC]\n      1302 DE60 2318 89FE 1EBA  CADC 5467 8CF7 5A27 9D8C\nuid           [ unknown] Pavlo Rudyi &lt;floresandrew@example.net&gt;\nsub   rsa4096 2018-10-09 [E]\n\n\/etc\/apt\/trusted.gpg.d\/brave-browser-release.gpg\n```\n\nIt's like somehow, brave pgp key infiltrated in on of my other apps, in this case my Xournall++ pgp key. And when I run `ll \/etc\/apt\/trusted.gpg.d\/`, the `brave-browser-release.gpg` is still there.\n\n**Why is this happening?**  \n**What are the implications of having a PGP key in the trusted software providers?**  \n**Does keeping a PGP key from someone, let's that person\/PPA\/repo to install software in my computer since it's in my trusted software provider?**  \n**In this case, I removed Brave, but pgp key is still there. Does this allow Brave to install software on my machine?**","meta":"{'source': 'reddit_posts', 'id': 'iwfn55', 'title': \"What are the implications of having a PGP key in the trusted software providers? I'm experiencing a strange behavior when I try to remove Brave's browser key...\", 'author': 'Don-g9', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': \"I decided to remove Brave (browser) from my Linux. I then noticed that the brave keys were still appearing in  `sudo apt-key list` output and in `\/etc\/apt\/trusted.gpg.d\/`.\\n\\nThis was my Brave key:\\n```\\npub   rsa4096 2018-12-09 [SC]\\n      3792 6684 3411 3B84 8B7A  7EBF 6AEB 0CDA 354C 703E\\nuid           [ unknown] Launchpad PPA for Andreas\\n\\n\/etc\/apt\/trusted.gpg.d\/brave-browser-release.gpg\\n```\\n\\nI went to remove Brave key:\\n`sudo apt-key del 354C703E`  \\nSuccess.\\n\\nAfter that, I've compared the `sudo apt-key list` output before and after removing that key, and found this curious change:\\n\\n# previously \\n```\\n\\npub   rsa4096 2018-10-09 [SC]\\n      1302 DE60 2318 89FE 1EBA  CADC 5467 8CF7 5A27 9D8C\\nuid           [ unknown] Pavlo Rudyi &lt;paulcarroty@riseup.net&gt;\\nsub   rsa4096 2018-10-09 [E]\\n\\n\/etc\/apt\/trusted.gpg.d\/andreasbutti_ubuntu_xournalpp-master.gpg\\n```\\n\\n# after removing Brave key\\n```\\npub   rsa4096 2018-10-09 [SC]\\n      1302 DE60 2318 89FE 1EBA  CADC 5467 8CF7 5A27 9D8C\\nuid           [ unknown] Pavlo Rudyi &lt;paulcarroty@riseup.net&gt;\\nsub   rsa4096 2018-10-09 [E]\\n\\n\/etc\/apt\/trusted.gpg.d\/brave-browser-release.gpg\\n```\\n\\nIt's like somehow, brave pgp key infiltrated in on of my other apps, in this case my Xournall++ pgp key. And when I run `ll \/etc\/apt\/trusted.gpg.d\/`, the `brave-browser-release.gpg` is still there.\\n\\n**Why is this happening?**  \\n**What are the implications of having a PGP key in the trusted software providers?**  \\n**Does keeping a PGP key from someone, let's that person\/PPA\/repo to install software in my computer since it's in my trusted software provider?**  \\n**In this case, I removed Brave, but pgp key is still there. Does this allow Brave to install software on my machine?**\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 8, 'created_utc': 1600614957}"}
{"id":"1969347","text":"Title: Glow Custom Shader help needed!\nThe text below was posted in an online community called Unity3D in the year 2016:\n\nHello there guys. I'm a pretty mediocre dev with pretty mediocre knowledge about Unity but this usually doesn't stop me from dreaming. So, I'm currently writing my first shader, a hot-metal shader. I got the colors part but now I want a glow. I want help\/hints to write something simpler\/efficient and as code-controlled as possible, I'm not a fan of texture-controlled effects, until I really have to. I also use the low-level fragment and vertex passes so ShaderLab documentation is not useful. I want to do this without duplicating the model and changing the clone.  \nNote that I mostly don't want someone to write this for me, I'm looking for hints how to do it myself. Also if you could tell me how to pass matrix-type data between passes that would be very great. Oh, also, the documentation for Unity Shaders (low-level) seems shallow for me, the metod\/properties from standard GLSL Shaders don't work (I can't get the x of a sampler2D for example). Any help appreciated, thanks in advance!","meta":"{'source': 'reddit_posts', 'id': '4azjly', 'title': 'Glow Custom Shader help needed!', 'author': 'TMBSTruth', 'subreddit': 'Unity3D', 'subreddit_id': '2qwj8', 'body': \"Hello there guys. I'm a pretty mediocre dev with pretty mediocre knowledge about Unity but this usually doesn't stop me from dreaming. So, I'm currently writing my first shader, a hot-metal shader. I got the colors part but now I want a glow. I want help\/hints to write something simpler\/efficient and as code-controlled as possible, I'm not a fan of texture-controlled effects, until I really have to. I also use the low-level fragment and vertex passes so ShaderLab documentation is not useful. I want to do this without duplicating the model and changing the clone.  \\nNote that I mostly don't want someone to write this for me, I'm looking for hints how to do it myself. Also if you could tell me how to pass matrix-type data between passes that would be very great. Oh, also, the documentation for Unity Shaders (low-level) seems shallow for me, the metod\/properties from standard GLSL Shaders don't work (I can't get the x of a sampler2D for example). Any help appreciated, thanks in advance!\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 2, 'created_utc': 1458325265}"}
{"id":"1343591","text":"Title: 2018 MacBook Pro has stickey keys again just 2 weeks after getting the top case replaced. Apple is now replacing my whole MacBook maybe...\nThe text below was posted in an online community called mac in the year 2022:\n\nSO..... Quite a long story. I've got a specked out 2018 MacBook, 16GB 512GB I7 13\". \n\nI encountered my first keyboard replacement in november 2021 and it has been so unreliable since. It got back from its 4th keyboard replacement 2 weeks ago and there are ALREADY sticky keys. I called apple and said that Im really not happy with this anymore as I really need my laptop for collage and I cant keep sending it away every few weeks. The guy said he totally understands and he is going to arrange a whole device replacement. \n\nHe said this as it has undergone 6 major repairs: the keyboards and on the 4th time I got ot back damaged (big scratch in the screen and a huge dent in the bottom). They were both replaced.\n\nSo I took it into the apple store today to get a work authorization sheet to prove that the keyboard is broke again, the guy said I need I need this to go ahead with the replacement. So I take it in and show him that the keys are broken again. He says he'll take it in the back and take a oconnorbrent@example.com. He also said that there was no way they would replace it??? What? \n\nAnyway he brings it back out and says he cleaned all the keys and its working fine now. He also had a really rude attitude about all of it. Anyway I ask him for the repair slip so they can go ahead with my replacement and he says that they are not allowed to give it to me. Whatever, ill just call again when I get home and explain the situation.\n\nWELL I get home and notice that my right shift key is still stuck and unusable and even worse my G key now doesnt work AT ALL!!\\`\\`\\`\\`\\`\\`\\`\\`\\`\\`\\`\\`\\`\\`\\`\\`\\` It is also much brighter than the the other keys when lit up.  My A key is also loose and basically falling off.\n\nI get straight on the phone to apple and they say that this is unacceptable. They said I dont need the sheet anymore as they can see the apple store visit linked to my laptops serial number. They say they need to call me tomorrow as their senior advisor is not in today. They also said that if all goes well I should be getting a 13\" MacBook Pro M1 16GB and 1TB!\n\nSo please cross your fingers for me hahah, and ill update yall with what happens!","meta":"{'source': 'reddit_posts', 'id': 'uj745b', 'title': '2018 MacBook Pro has stickey keys again just 2 weeks after getting the top case replaced. Apple is now replacing my whole MacBook maybe...', 'author': 'JDT33658', 'subreddit': 'mac', 'subreddit_id': '2qh4u', 'body': 'SO..... Quite a long story. I\\'ve got a specked out 2018 MacBook, 16GB 512GB I7 13\". \\n\\nI encountered my first keyboard replacement in november 2021 and it has been so unreliable since. It got back from its 4th keyboard replacement 2 weeks ago and there are ALREADY sticky keys. I called apple and said that Im really not happy with this anymore as I really need my laptop for collage and I cant keep sending it away every few weeks. The guy said he totally understands and he is going to arrange a whole device replacement. \\n\\nHe said this as it has undergone 6 major repairs: the keyboards and on the 4th time I got ot back damaged (big scratch in the screen and a huge dent in the bottom). They were both replaced.\\n\\nSo I took it into the apple store today to get a work authorization sheet to prove that the keyboard is broke again, the guy said I need I need this to go ahead with the replacement. So I take it in and show him that the keys are broken again. He says he\\'ll take it in the back and take a look at it. He also said that there was no way they would replace it??? What? \\n\\nAnyway he brings it back out and says he cleaned all the keys and its working fine now. He also had a really rude attitude about all of it. Anyway I ask him for the repair slip so they can go ahead with my replacement and he says that they are not allowed to give it to me. Whatever, ill just call again when I get home and explain the situation.\\n\\nWELL I get home and notice that my right shift key is still stuck and unusable and even worse my G key now doesnt work AT ALL!!\\\\`\\\\`\\\\`\\\\`\\\\`\\\\`\\\\`\\\\`\\\\`\\\\`\\\\`\\\\`\\\\`\\\\`\\\\`\\\\`\\\\` It is also much brighter than the the other keys when lit up.  My A key is also loose and basically falling off.\\n\\nI get straight on the phone to apple and they say that this is unacceptable. They said I dont need the sheet anymore as they can see the apple store visit linked to my laptops serial number. They say they need to call me tomorrow as their senior advisor is not in today. They also said that if all goes well I should be getting a 13\" MacBook Pro M1 16GB and 1TB!\\n\\nSo please cross your fingers for me hahah, and ill update yall with what happens!', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 5, 'created_utc': 1651784297}"}
{"id":"2026289","text":"Title: Memoji now in reply bubbles\nThe text below was posted in an online community called iOSBeta in the year 2020:\n\nIn iMessages the reply bubbles show you when you have a Memoji inbound!\n\nhttps:\/\/i.imgur.com\/osEaqkU.jpg","meta":"{'source': 'reddit_posts', 'id': 'hgscin', 'title': 'Memoji now in reply bubbles', 'author': 'bamfhacker', 'subreddit': 'iOSBeta', 'subreddit_id': '2sjys', 'body': 'In iMessages the reply bubbles show you when you have a Memoji inbound!\\n\\nhttps:\/\/i.imgur.com\/osEaqkU.jpg', 'body_is_trimmed': False, 'score': 11, 'over_18': False, 'num_comments': 4, 'created_utc': 1593259259}"}
{"id":"685493","text":"Title: Has anyone checked out the data structures and algorithms youtube series by richard buckland? Is it worth going through with? How does it compare with Algorithms part 1 on coursera?\nThe text below was posted in an online community called learnprogramming in the year 2022:\n\nI saw a few videos by Richard Buckland and istg his videos are gold!! I've been meaning to learn data structures and algorithms. I started the algorithms part 1 by princeton on coursera coz a lot of redditors suggested it to be the best resource to learn DSA. However, half a lecture in and I find it difficult to go on coz it seems so dry. I am finding it difficult to muster up the motivation and drive to stick to it. So I was looking for a few other resources I could try. It is then that I can across the DSA yt series by Richard Buckland. His teaching style is phenomenal. On par with CS50!! However, the series is 10+ years old and I have a few concerns about it. \n1. After 10+ years, are the Richard Buckland videos still relevant? \n2. Are there any projects\/assignments that are done as part of the lecture series? \n\nI was wondering if I should make the switch to the Richard Buckland series or just try to muster up the motivation to do the Algorithms part 1?","meta":"{'source': 'reddit_posts', 'id': 't2pixl', 'title': 'Has anyone checked out the data structures and algorithms youtube series by richard buckland? Is it worth going through with? How does it compare with Algorithms part 1 on coursera?', 'author': 'unavailabelle', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': \"I saw a few videos by Richard Buckland and istg his videos are gold!! I've been meaning to learn data structures and algorithms. I started the algorithms part 1 by princeton on coursera coz a lot of redditors suggested it to be the best resource to learn DSA. However, half a lecture in and I find it difficult to go on coz it seems so dry. I am finding it difficult to muster up the motivation and drive to stick to it. So I was looking for a few other resources I could try. It is then that I can across the DSA yt series by Richard Buckland. His teaching style is phenomenal. On par with CS50!! However, the series is 10+ years old and I have a few concerns about it. \\n1. After 10+ years, are the Richard Buckland videos still relevant? \\n2. Are there any projects\/assignments that are done as part of the lecture series? \\n\\nI was wondering if I should make the switch to the Richard Buckland series or just try to muster up the motivation to do the Algorithms part 1?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1645972563}"}
{"id":"724037","text":"Title: Compilation of News Apps with push notifications\nThe text below was posted in an online community called AppleWatch in the year 2015:\n\nI wanted to make a compilation of apps that offer watch support and give breaking news\/headlines alerts on the watch. The ones listed here are confirmed to throw out alerts throughout the day. Some of them won't open at all (loading circle of death) but they give notifications regardless. I didn't list any that had a lot of yellow journalism and they don't offer too much bias for the most part. Comment with any I've missed so that I can add them to the list! \n\n* ABC News\n* AP Mobile (reliable)\n* BBC News\n* Boxcar (gives notifications from RSS feed)\n* Breaking News (good one)\n* CNN\n* Eyewitness News (appears as EWN)\n* Fox News\n* The Guardian\n* Hooks (allows you to follow things like rising posts on \/r\/news)\n* HuffPost (Huffington Post and they have another app with the same features called \"Realtime\")\n* KOMO (I'm PNW local)\n* NY Times\n* USA Today\n* Yahoo News Digest\n* Wall Street Journal","meta":"{'source': 'reddit_posts', 'id': '3vxlep', 'title': 'Compilation of News Apps with push notifications', 'author': 'grammarmage', 'subreddit': 'AppleWatch', 'subreddit_id': '2wav7', 'body': 'I wanted to make a compilation of apps that offer watch support and give breaking news\/headlines alerts on the watch. The ones listed here are confirmed to throw out alerts throughout the day. Some of them won\\'t open at all (loading circle of death) but they give notifications regardless. I didn\\'t list any that had a lot of yellow journalism and they don\\'t offer too much bias for the most part. Comment with any I\\'ve missed so that I can add them to the list! \\n\\n* ABC News\\n* AP Mobile (reliable)\\n* BBC News\\n* Boxcar (gives notifications from RSS feed)\\n* Breaking News (good one)\\n* CNN\\n* Eyewitness News (appears as EWN)\\n* Fox News\\n* The Guardian\\n* Hooks (allows you to follow things like rising posts on \/r\/news)\\n* HuffPost (Huffington Post and they have another app with the same features called \"Realtime\")\\n* KOMO (I\\'m PNW local)\\n* NY Times\\n* USA Today\\n* Yahoo News Digest\\n* Wall Street Journal', 'body_is_trimmed': False, 'score': 15, 'over_18': False, 'num_comments': 6, 'created_utc': 1449585267}"}
{"id":"397226","text":"Title: Do I have to dual develop if I want to make a webapp &amp; electron app concurrently that are functionally (almost) the same?\nThe text below was posted in an online community called webdev in the year 2019:\n\nI like the idea of something like Discord, where you have the website you can go to, and then the desktop app, all being pretty much one and the same.\n\nI want to make my own personal project that I'd use as a desktop app at home, and be able to access a web version from my phone or work office, potentially with truncated features depending on what is or isn't possible in between both (the desktop version needs to be aggressive with notifications\/force window focus\/control lock...making a life dashboard for my dumb adhd self).\n\nAm I looking at dual development here or is there a potential one size fits all approach to do this?\n\nI'm doing this with JS\/Node\/Electron\/MySQL for desktop, and to my understanding I would need Express for the non-desktop side of things? Is there a way to have more or less a smooth single approach development? It doesn't seem intuitive to develop in Express and then shoehorn it into an Electron environment, but i'm just a junior here, so advice appreciated.","meta":"{'source': 'reddit_posts', 'id': 'dewlox', 'title': 'Do I have to dual develop if I want to make a webapp &amp; electron app concurrently that are functionally (almost) the same?', 'author': 'PlatformKing', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': \"I like the idea of something like Discord, where you have the website you can go to, and then the desktop app, all being pretty much one and the same.\\n\\nI want to make my own personal project that I'd use as a desktop app at home, and be able to access a web version from my phone or work office, potentially with truncated features depending on what is or isn't possible in between both (the desktop version needs to be aggressive with notifications\/force window focus\/control lock...making a life dashboard for my dumb adhd self).\\n\\nAm I looking at dual development here or is there a potential one size fits all approach to do this?\\n\\nI'm doing this with JS\/Node\/Electron\/MySQL for desktop, and to my understanding I would need Express for the non-desktop side of things? Is there a way to have more or less a smooth single approach development? It doesn't seem intuitive to develop in Express and then shoehorn it into an Electron environment, but i'm just a junior here, so advice appreciated.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 5, 'created_utc': 1570519196}"}
{"id":"1888318","text":"Title: \"Untrusted Site\" issues in latest Firefox?\nThe text below was posted in an online community called firefox in the year 2013:\n\nI've been having trouble with Firefox today where websites that I normally go to have been showing the \"untrusted site\" screen with the \"get me out of here\" and \"Add Exception\" options. \n\nThe strange thing is the sudden increase in websites that show this and some sites don't have the add exception option so I can't access the ambermurphy@example.org. I tried deleting the \"sec8\" file as some troubleshooting tips told, but that didn't do anything. \n\nBasically, my question is how do I get it to stop?","meta":"{'source': 'reddit_posts', 'id': '1d4fg6', 'title': '\"Untrusted Site\" issues in latest Firefox?', 'author': 'SoManyNinjas', 'subreddit': 'firefox', 'subreddit_id': '2qh4p', 'body': 'I\\'ve been having trouble with Firefox today where websites that I normally go to have been showing the \"untrusted site\" screen with the \"get me out of here\" and \"Add Exception\" options. \\n\\nThe strange thing is the sudden increase in websites that show this and some sites don\\'t have the add exception option so I can\\'t access the site at all. I tried deleting the \"sec8\" file as some troubleshooting tips told, but that didn\\'t do anything. \\n\\nBasically, my question is how do I get it to stop?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 8, 'created_utc': 1366937708}"}
{"id":"875548","text":"Title: Help a junior understand best practices\nThe text below was posted in an online community called laravel in the year 2021:\n\nHi there, I am one month in my first serious web dev job. I've been doing some Laravel in a toy project. The project is a simple web app that lets you login to a dashboard. That dashboard just shows current logged in user info and enables editing that info. The app also has a register page for everyone to sign up. Anyway, the last part of this thing is an 'admin panel', more like a page where 'admins' can view all the users, see their info, add\/edit\/delete users etc.  \n\n\nQUESTION: what's the best way of ensuring that the admin panel view is only shown to admins? My current approach is having a role column in the users table and having that info already in the user session. Using that role variable I confirm that it is set to \"admin\", otherwise I just throw a redirect thing to the dashboard. This doesn't feel very Laravel and I'd like to know how I should approach this.   \n\n\nI'd like to stay away from packages for now please","meta":"{'source': 'reddit_posts', 'id': 'qfd87j', 'title': 'Help a junior understand best practices', 'author': 'Paranoid_Bot_42', 'subreddit': 'laravel', 'subreddit_id': '2uakt', 'body': 'Hi there, I am one month in my first serious web dev job. I\\'ve been doing some Laravel in a toy project. The project is a simple web app that lets you login to a dashboard. That dashboard just shows current logged in user info and enables editing that info. The app also has a register page for everyone to sign up. Anyway, the last part of this thing is an \\'admin panel\\', more like a page where \\'admins\\' can view all the users, see their info, add\/edit\/delete users etc.  \\n\\n\\nQUESTION: what\\'s the best way of ensuring that the admin panel view is only shown to admins? My current approach is having a role column in the users table and having that info already in the user session. Using that role variable I confirm that it is set to \"admin\", otherwise I just throw a redirect thing to the dashboard. This doesn\\'t feel very Laravel and I\\'d like to know how I should approach this.   \\n\\n\\nI\\'d like to stay away from packages for now please', 'body_is_trimmed': False, 'score': 22, 'over_18': False, 'num_comments': 10, 'created_utc': 1635155576}"}
{"id":"2323992","text":"Title: Error yaml.scanner.ScannerError\nThe text below was posted in an online community called docker in the year 2021:\n\nHi its me again I didnt want to keep on going on threads in the previous post so heres a new one, following  [this guide](https:\/\/github.com\/sebgl\/htpc-download-box) when I get to the first container of deluge when I run \n\ndocker-compose up -d\n\nIt says:\n\nERROR: yaml.scanner.ScannerError: while scanning for the next token found character \\r that cannot start any token in .\/docker-compose.yml, line 3 column 1\n\nI just put in what he did so plz help me","meta":"{'source': 'reddit_posts', 'id': 'q93g10', 'title': 'Error yaml.scanner.ScannerError', 'author': 'Striking-Design-9430', 'subreddit': 'docker', 'subreddit_id': '2y00f', 'body': 'Hi its me again I didnt want to keep on going on threads in the previous post so heres a new one, following  [this guide](https:\/\/github.com\/sebgl\/htpc-download-box) when I get to the first container of deluge when I run \\n\\ndocker-compose up -d\\n\\nIt says:\\n\\nERROR: yaml.scanner.ScannerError: while scanning for the next token found character \\\\r that cannot start any token in .\/docker-compose.yml, line 3 column 1\\n\\nI just put in what he did so plz help me', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 24, 'created_utc': 1634352940}"}
{"id":"1482796","text":"Title: Do I need virtualenv?\nThe text below was posted in an online community called learnpython in the year 2020:\n\nSo I'm currently writing scripts in python for my work and I have the following set up:\n\n- Python version: 3.7 (via anaconda3)\n- OS: Windows (if this even matters)\n- I share a set of scripts in a central repository with my colleagues and I currently maintain 2 Flask apps sitting on the same server.\n- The only global modification I made to that anaconda distribution was to upgrade one of the packages (pyodbc) as the version available was causing problems querying Oracle DBs in python 3.\n\nSo far, I haven't seen the need to put the Flask instances in a venv since they are just using the libraries (site-packages?) provided by the version of Anaconda we're running. I could see myself using venv if there were multiple projects with different requirements; however, I find it hard for my current use case.\n\nAm I missing something in my logic? Would it make sense to consider using venv once those Flask apps start deviating from the anaconda distribution?\n\nThanks","meta":"{'source': 'reddit_posts', 'id': 'gfa3c0', 'title': 'Do I need virtualenv?', 'author': 'throwaway2146476', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': \"So I'm currently writing scripts in python for my work and I have the following set up:\\n\\n- Python version: 3.7 (via anaconda3)\\n- OS: Windows (if this even matters)\\n- I share a set of scripts in a central repository with my colleagues and I currently maintain 2 Flask apps sitting on the same server.\\n- The only global modification I made to that anaconda distribution was to upgrade one of the packages (pyodbc) as the version available was causing problems querying Oracle DBs in python 3.\\n\\nSo far, I haven't seen the need to put the Flask instances in a venv since they are just using the libraries (site-packages?) provided by the version of Anaconda we're running. I could see myself using venv if there were multiple projects with different requirements; however, I find it hard for my current use case.\\n\\nAm I missing something in my logic? Would it make sense to consider using venv once those Flask apps start deviating from the anaconda distribution?\\n\\nThanks\", 'body_is_trimmed': False, 'score': 11, 'over_18': False, 'num_comments': 9, 'created_utc': 1588869814}"}
{"id":"2348954","text":"Title: [C++] Error in code of Stroustrup PPP2 in Chapter 16\nThe text below was posted in an online community called learnprogramming in the year 2017:\n\nHi guys,\n\nI am trying to compile the code for the GUI in Chapter 16 and I am facing two errors which I don't understand.\n\nThe code can be found [here](http:\/\/www.stroustrup.com\/Programming\/PPP2code\/)\n\nand in order to compile it you will need to follow [this advice](https:\/\/stackoverflow.com\/questions\/7134049\/stroustrups-simple-window-h\/7140672)\n\nHowever in Stroustrup's code header GUI.h is commented out. For the previous chapters this is fine, however for Chapter 16 we need this header and we will have to uncomment it..\n\nWhen I try to type in the code and compile it I am getting the two following errors\n\nErrors with related code can be found [here](https:\/\/pastebin.com\/raw\/vvRu2avf)\n\n\nI don't understand why the first error happens since win has been declared a Window. Why does it say non-class? That usually means that it can't find it however it should be there as Window.h is being included.\n\nMaybe the errors are because Graph_li888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Menu888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ttach(Window&amp; win) calls\nGraph_li888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Window888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ttach(Widget&amp; w) and then that calls again Graph_li888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Button888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ttach(Window&amp; win) again.\n\nI am so confused by this. Can someone please help?\n\nEdit: My OS is Lubuntu 16.04 and g++ version is 5.4.0","meta":"{'source': 'reddit_posts', 'id': '6ickaf', 'title': '[C++] Error in code of Stroustrup PPP2 in Chapter 16', 'author': 'Satrapes1', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': \"Hi guys,\\n\\nI am trying to compile the code for the GUI in Chapter 16 and I am facing two errors which I don't understand.\\n\\nThe code can be found [here](http:\/\/www.stroustrup.com\/Programming\/PPP2code\/)\\n\\nand in order to compile it you will need to follow [this advice](https:\/\/stackoverflow.com\/questions\/7134049\/stroustrups-simple-window-h\/7140672)\\n\\nHowever in Stroustrup's code header GUI.h is commented out. For the previous chapters this is fine, however for Chapter 16 we need this header and we will have to uncomment it..\\n\\nWhen I try to type in the code and compile it I am getting the two following errors\\n\\nErrors with related code can be found [here](https:\/\/pastebin.com\/raw\/vvRu2avf)\\n\\n\\nI don't understand why the first error happens since win has been declared a Window. Why does it say non-class? That usually means that it can't find it however it should be there as Window.h is being included.\\n\\nMaybe the errors are because Graph_lib::Menu::attach(Window&amp; win) calls\\nGraph_lib::Window::attach(Widget&amp; w) and then that calls again Graph_lib::Button::attach(Window&amp; win) again.\\n\\nI am so confused by this. Can someone please help?\\n\\nEdit: My OS is Lubuntu 16.04 and g++ version is 5.4.0\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 3, 'created_utc': 1497944395}"}
{"id":"692191","text":"Title: Plastic SCM is such a joke\nThe text below was posted in an online community called Unity3D in the year 2022:\n\nI am sorry but this has to be said. Plastic has made it an absolute nightmare to collaborate on projects with people and to sync files between machines. I constantly deal with deleted references inside the editor, scenes being completely scrambled and files being partially sent over to another pc when I'm switching computers.\n\nAm I crazy or is this system really that bad?","meta":"{'source': 'reddit_posts', 'id': 'y13fvn', 'title': 'Plastic SCM is such a joke', 'author': 'B3ast-FreshMemes', 'subreddit': 'Unity3D', 'subreddit_id': '2qwj8', 'body': \"I am sorry but this has to be said. Plastic has made it an absolute nightmare to collaborate on projects with people and to sync files between machines. I constantly deal with deleted references inside the editor, scenes being completely scrambled and files being partially sent over to another pc when I'm switching computers.\\n\\nAm I crazy or is this system really that bad?\", 'body_is_trimmed': False, 'score': 12, 'over_18': False, 'num_comments': 20, 'created_utc': 1665476506}"}
{"id":"371690","text":"Title: Custom Objects\nThe text below was posted in an online community called swift in the year 2016:\n\nI found myself reusing the same design throughout multiple ViewControllers.  It's basically a UIView with a UILabel and UIImageView inside it, formatted a certain way and with certain constraints.\n\nI know I can subclass the UIView and make it do things in code, but is there a way to make it so that when I turn a UIView into a UIWidgetView that it automatically loads a label and image like I want?\n\nSorry for the random rant, this is after much late-night Xcode frustration.","meta":"{'source': 'reddit_posts', 'id': '52ubys', 'title': 'Custom Objects', 'author': 'WidgetNemo', 'subreddit': 'swift', 'subreddit_id': '2z6zi', 'body': \"I found myself reusing the same design throughout multiple ViewControllers.  It's basically a UIView with a UILabel and UIImageView inside it, formatted a certain way and with certain constraints.\\n\\nI know I can subclass the UIView and make it do things in code, but is there a way to make it so that when I turn a UIView into a UIWidgetView that it automatically loads a label and image like I want?\\n\\nSorry for the random rant, this is after much late-night Xcode frustration.\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 3, 'created_utc': 1473909659}"}
{"id":"220888","text":"Title: Is Ubuntu Touch an Android distro?\nThe text below was posted in an online community called linuxquestions in the year 2021:\n\nI once read on Reddit that Ubuntu Touch isn't pure mainline but instead is built around Halium, but I can't find any info around that. Was that a false claim or is Ubuntu Touch different from other mobile distros?","meta":"{'source': 'reddit_posts', 'id': 'll1aqx', 'title': 'Is Ubuntu Touch an Android distro?', 'author': 'Brotten', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': \"I once read on Reddit that Ubuntu Touch isn't pure mainline but instead is built around Halium, but I can't find any info around that. Was that a false claim or is Ubuntu Touch different from other mobile distros?\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 2, 'created_utc': 1613472218}"}
{"id":"1632944","text":"Title: 7zip - Extract files\nThe text below was posted in an online community called PowerShell in the year 2020:\n\nHello,\n\nI'm trying to build a script to extract all files from a 7zip archive but I'm having some issues.\n\nWhen I run the script below it creates a folder named $Target at the level I'm running the Powershell script at instead of where I want the files to go......\n\nScript:\n\n    $7zipPath = \"$env:ProgramFiles\\7-Zip\\7z.exe\"\n\n    if (-not (Test-Path -Path $7zipPath -PathType Leaf)) {\n    throw \"7 zip file '$7zipPath' not found\"\n    }\n\n    Set-Alias 7zip $7zipPath\n\n    $Source = \"path where the zip file is .7z\"\n    $Target = \"path I want it to go to\"\n\n    7zip x -o$Target $Source -y\n\nThank you for any help","meta":"{'source': 'reddit_posts', 'id': 'kat5ay', 'title': '7zip - Extract files', 'author': 'SGLent', 'subreddit': 'PowerShell', 'subreddit_id': '2qo1o', 'body': 'Hello,\\n\\nI\\'m trying to build a script to extract all files from a 7zip archive but I\\'m having some issues.\\n\\nWhen I run the script below it creates a folder named $Target at the level I\\'m running the Powershell script at instead of where I want the files to go......\\n\\nScript:\\n\\n    $7zipPath = \"$env:ProgramFiles\\\\7-Zip\\\\7z.exe\"\\n\\n    if (-not (Test-Path -Path $7zipPath -PathType Leaf)) {\\n    throw \"7 zip file \\'$7zipPath\\' not found\"\\n    }\\n\\n    Set-Alias 7zip $7zipPath\\n\\n    $Source = \"path where the zip file is .7z\"\\n    $Target = \"path I want it to go to\"\\n\\n    7zip x -o$Target $Source -y\\n\\nThank you for any help', 'body_is_trimmed': False, 'score': 9, 'over_18': False, 'num_comments': 12, 'created_utc': 1607651926}"}
{"id":"1244483","text":"Title: Audible ping to multiple hosts\nThe text below was posted in an online community called bash in the year 2016:\n\nI just had to find out which connection on my switch goes to which machine.\nAt first I tried to use the audible ping \"ping -a host\" to find out which host belongs to which port without looking on the screen. But this took forever(Worst case: I have to pull out every plug until I find the right one. So the time is basically n!)\n\nThen I took the time to write a [short script](https:\/\/gist.github.com\/BenjaminHae\/9603ac4bc5726e6e720191c5e0a22f66) playing a scale when every host is reachable and omitting a note for every unreachable host.\n\nNow you start the script on a nearby computer. Then you start pulling plugs. If you hear a note missing, that's the one that's gone. \n\nThe advantage is: You don't have to start a new ping command and then try every port. If your hearing is good enough you could speed up the playing of the scale.\n\n[Edit] To clarify: I know managed switches exist. This was for my home network with an eight port switch. I just think it's a fun solution for a not really important problem ;) [\/Edit]","meta":"{'source': 'reddit_posts', 'id': '4g85ur', 'title': 'Audible ping to multiple hosts', 'author': 'nimajne', 'subreddit': 'bash', 'subreddit_id': '2qh2d', 'body': 'I just had to find out which connection on my switch goes to which machine.\\nAt first I tried to use the audible ping \"ping -a host\" to find out which host belongs to which port without looking on the screen. But this took forever(Worst case: I have to pull out every plug until I find the right one. So the time is basically n!)\\n\\nThen I took the time to write a [short script](https:\/\/gist.github.com\/BenjaminHae\/9603ac4bc5726e6e720191c5e0a22f66) playing a scale when every host is reachable and omitting a note for every unreachable host.\\n\\nNow you start the script on a nearby computer. Then you start pulling plugs. If you hear a note missing, that\\'s the one that\\'s gone. \\n\\nThe advantage is: You don\\'t have to start a new ping command and then try every port. If your hearing is good enough you could speed up the playing of the scale.\\n\\n[Edit] To clarify: I know managed switches exist. This was for my home network with an eight port switch. I just think it\\'s a fun solution for a not really important problem ;) [\/Edit]', 'body_is_trimmed': False, 'score': 15, 'over_18': False, 'num_comments': 6, 'created_utc': 1461505011}"}
{"id":"2077855","text":"Title: Home office equipment\nThe text below was posted in an online community called cscareerquestionsEU in the year 2020:\n\nThis isn't strictly computer science related, but assuming we are all working from home I hope it is relevant enough.\n\n\nI'm looking for suggestions on good quality, budget friendly home office equipment. I'm specifically interested in chairs.\n\n\nTo get the ball rolling some of my favourite buys have been:\n\n\n1) logitec g series wireless keyboard and mouse. My work laptop has bluetooth disabled. These work via a usb receiver so I can use them and it removes cables\/clutter from my desk.\n\n\n2) Ikea Linmonn desk. Extremely cheap, but large and looks good. Some people complain about sturdiness, but I have dual 27\" monitors mounted in the middle, plus a laptop and desktop to either side with no issues.\n\n\nPlease share your suggestions or favourite pieces of home office equipment!","meta":"{'source': 'reddit_posts', 'id': 'jo4jas', 'title': 'Home office equipment', 'author': 'tomatta', 'subreddit': 'cscareerquestionsEU', 'subreddit_id': '3j6s1', 'body': 'This isn\\'t strictly computer science related, but assuming we are all working from home I hope it is relevant enough.\\n\\n\\nI\\'m looking for suggestions on good quality, budget friendly home office equipment. I\\'m specifically interested in chairs.\\n\\n\\nTo get the ball rolling some of my favourite buys have been:\\n\\n\\n1) logitec g series wireless keyboard and mouse. My work laptop has bluetooth disabled. These work via a usb receiver so I can use them and it removes cables\/clutter from my desk.\\n\\n\\n2) Ikea Linmonn desk. Extremely cheap, but large and looks good. Some people complain about sturdiness, but I have dual 27\" monitors mounted in the middle, plus a laptop and desktop to either side with no issues.\\n\\n\\nPlease share your suggestions or favourite pieces of home office equipment!', 'body_is_trimmed': False, 'score': 40, 'over_18': False, 'num_comments': 30, 'created_utc': 1604522497}"}
{"id":"553457","text":"Title: Macbook Pro 2017 got unremovable stains?!\nThe text below was posted in an online community called mac in the year 2019:\n\nMy MacBook Pro always had some stains since I got it but it was light and not on the screen. Now I got weird stains on the display area too! I don't eat while using my macbook so it can't be greasy fingers. I tried cleaning the display with a micro fibre cloth but it doesn't wanna go away. What can I do?\n\n&amp;#x200B;\n\nAlso, I live in a pretty dusty house and my laptop gets dusty very quick. It gets all over it. My keyboard, the space between the laptop and keyboard, the ports... what can I do about this?","meta":"{'source': 'reddit_posts', 'id': 'aq7bqi', 'title': 'Macbook Pro 2017 got unremovable stains?!', 'author': 'ekdxhp', 'subreddit': 'mac', 'subreddit_id': '2qh4u', 'body': \"My MacBook Pro always had some stains since I got it but it was light and not on the screen. Now I got weird stains on the display area too! I don't eat while using my macbook so it can't be greasy fingers. I tried cleaning the display with a micro fibre cloth but it doesn't wanna go away. What can I do?\\n\\n&amp;#x200B;\\n\\nAlso, I live in a pretty dusty house and my laptop gets dusty very quick. It gets all over it. My keyboard, the space between the laptop and keyboard, the ports... what can I do about this?\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 4, 'created_utc': 1550069423}"}
{"id":"788560","text":"Title: Need help with connection pool with mysql\nThe text below was posted in an online community called node in the year 2020:\n\nI am using [generic-pool](https:\/\/github.com\/coopernurse\/node-pool) to connect my mysql server. I used the following configuration.\n\n    const pool = require('generic-pool');\n    const mysql = require('mysql2\/promise');\n    const connections = pool.createPool({\n      create: (done) =&gt; {\n        return mysql.createConnection({\n          hostname: 'localhost',\n          user: 'root',\n          password: 'root',\n          database: 'chat_db'\n        }).connect(done);},\n      destroy: connection =&gt; connection.destroy(),\n      validate: async connection =&gt; {\n        const test = await connection.query('SELECT 1');\n        console.log('test: ', test);\n        return true;\n      }\n    },\n    { \n      testOnBorrow: true, acquireTimeoutMillis: 10000, min: 1, max: 10\n    });\n\n&amp;#x200B;\n\nBut after doing one query, when I am killing the process in mysql, simulating the lost connection, and doing the query again, it's giving me an error saying \"Error: Connection lost: The server closed the connection.\" How do I make it go through validate function again? So that it can reestablish the connection.","meta":"{'source': 'reddit_posts', 'id': 'i5wdyi', 'title': 'Need help with connection pool with mysql', 'author': 'ElavanResu', 'subreddit': 'node', 'subreddit_id': '2reca', 'body': 'I am using [generic-pool](https:\/\/github.com\/coopernurse\/node-pool) to connect my mysql server. I used the following configuration.\\n\\n    const pool = require(\\'generic-pool\\');\\n    const mysql = require(\\'mysql2\/promise\\');\\n    const connections = pool.createPool({\\n      create: (done) =&gt; {\\n        return mysql.createConnection({\\n          hostname: \\'localhost\\',\\n          user: \\'root\\',\\n          password: \\'root\\',\\n          database: \\'chat_db\\'\\n        }).connect(done);},\\n      destroy: connection =&gt; connection.destroy(),\\n      validate: async connection =&gt; {\\n        const test = await connection.query(\\'SELECT 1\\');\\n        console.log(\\'test: \\', test);\\n        return true;\\n      }\\n    },\\n    { \\n      testOnBorrow: true, acquireTimeoutMillis: 10000, min: 1, max: 10\\n    });\\n\\n&amp;#x200B;\\n\\nBut after doing one query, when I am killing the process in mysql, simulating the lost connection, and doing the query again, it\\'s giving me an error saying \"Error: Connection lost: The server closed the connection.\" How do I make it go through validate function again? So that it can reestablish the connection.', 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 1, 'created_utc': 1596879016}"}
{"id":"604390","text":"Title: Is there an addon to measure time spent on different sites?\nThe text below was posted in an online community called browsers in the year 2012:\n\nI'm looking for an addon that will tell me how much time I spend on different sites. Because of tabbed browsing, it would need to take into account that only the active tab should be measured. I've seen browsing-history analysis addons but they only measure hits, not time spent, which is good for relative comparison but not for absolute measurement of time spent online.","meta":"{'source': 'reddit_posts', 'id': '115f4k', 'title': 'Is there an addon to measure time spent on different sites?', 'author': 'SockPants', 'subreddit': 'browsers', 'subreddit_id': '2qh5r', 'body': \"I'm looking for an addon that will tell me how much time I spend on different sites. Because of tabbed browsing, it would need to take into account that only the active tab should be measured. I've seen browsing-history analysis addons but they only measure hits, not time spent, which is good for relative comparison but not for absolute measurement of time spent online.\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 4, 'created_utc': 1349721637}"}
{"id":"2132423","text":"Title: Typedream.com, make beautiful websites with a simple interface.\nThe text below was posted in an online community called webdev in the year 2021:\n\n&amp;#x200B;\n\n[Recreating Apple's WWDC21 Swift Student Challenge page on Typedream](https:\/\/reddit.com\/link\/modmf3\/video\/mq1owrxzdfs61\/player)","meta":"{'source': 'reddit_posts', 'id': 'modmf3', 'title': 'Typedream.com, make beautiful websites with a simple interface.', 'author': 'kimpasta', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': \"&amp;#x200B;\\n\\n[Recreating Apple's WWDC21 Swift Student Challenge page on Typedream](https:\/\/reddit.com\/link\/modmf3\/video\/mq1owrxzdfs61\/player)\", 'body_is_trimmed': False, 'score': 9, 'over_18': False, 'num_comments': 1, 'created_utc': 1618090635}"}
{"id":"828079","text":"Title: Good IDE .\nThe text below was posted in an online community called learnpython in the year 2020:\n\nI've been using Visual Studios to code all my Python projects. I was wondering if I should switch to a different IDE. I heard that VS Code is good, but I am not sure. If you guys comment down below, could you guys tell me a good IDE I should use with reasons to support it?","meta":"{'source': 'reddit_posts', 'id': 'juz7u8', 'title': 'Good IDE .', 'author': 'byebyeturtles', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': \"I've been using Visual Studios to code all my Python projects. I was wondering if I should switch to a different IDE. I heard that VS Code is good, but I am not sure. If you guys comment down below, could you guys tell me a good IDE I should use with reasons to support it?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 10, 'created_utc': 1605495496}"}
{"id":"1069952","text":"Title: Another question on trains ...\nThe text below was posted in an online community called factorio in the year 2017:\n\nBack info: \nI tend to give up when I get to trains. I've launched maybe 10 rockets in all my factorio playthroughs, and I generally quit playing a map, when I feel like I need trains.\n\nI managed to find a fairly decent blueprint book, with a bunch of blueprints for both the paths, and the stations - that has helped a bunch - and signals are now less confusing. The blueprint book is based on 1-2-1 trains - and I'm a little confused as to how I should manage my stations close to base.\n\nMy bus consists of 8 iron lanes - how many iron stations (1-2-1) trains would I need to fill that? Right now I've called the iron stations the same name - but I have issues getting ore into all the stations (right now I have 3 stations) - how do you get trains to go to the station with the least ore? Or should i name them different names?\n\nHere's an image of my current setup:\n\nhttps:\/\/imgur.com\/a\/a5Xen","meta":"{'source': 'reddit_posts', 'id': '7mla97', 'title': 'Another question on trains ...', 'author': 'ZemiChrono', 'subreddit': 'factorio', 'subreddit_id': '2wabp', 'body': \"Back info: \\nI tend to give up when I get to trains. I've launched maybe 10 rockets in all my factorio playthroughs, and I generally quit playing a map, when I feel like I need trains.\\n\\nI managed to find a fairly decent blueprint book, with a bunch of blueprints for both the paths, and the stations - that has helped a bunch - and signals are now less confusing. The blueprint book is based on 1-2-1 trains - and I'm a little confused as to how I should manage my stations close to base.\\n\\nMy bus consists of 8 iron lanes - how many iron stations (1-2-1) trains would I need to fill that? Right now I've called the iron stations the same name - but I have issues getting ore into all the stations (right now I have 3 stations) - how do you get trains to go to the station with the least ore? Or should i name them different names?\\n\\nHere's an image of my current setup:\\n\\nhttps:\/\/imgur.com\/a\/a5Xen\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 10, 'created_utc': 1514447341}"}
{"id":"824732","text":"Title: Netcode question regarding game physics with certain routing setups (I know it sounds weird)\nThe text below was posted in an online community called gamedev in the year 2018:\n\nI'll start off by saying I'm not a gamedev. I am not a coder. I am a gamer who is deeply in love with the game Rocket League. Rocket League is an online multiplayer physics based car soccer game that runs on UE3 and the Bullet Physics engine.\n\nThat said for the past 2.5 years I've been working with a community of other players, coders, developers to try and solve an issue that is plaguing many players of the game. Ostensibly called the \"heavy car bug\". Something is forcing our vehicles to behave differently than others. Turning is sluggish, flying in the air is weird and feels like intense input lag. While we're not \"real\" game testers or developers we've been given some debugging tools from one of the Psyonix devs but we've yet to pinpoint any real qualitative evidence or reproducibility.\n\nThat is until very recently. We've noticed the symptoms of HCB (as we've come to call it) shortmark@example.net. We have people from all over the world in the discord group and one thing that's very consistent is that late into the night (1,2,3am) HCb seems to resolve itself and isn't present in the game. We've also reached consensus that HCB goes away entirely when the servers go down for maintenance and returns when the servers come back on. Another point is that HCB is consistent on all platforms on the same network. If you have it on PC you have it on Xbox, PS4, etc. HCB also persists in offline\/freeplay.\n\nJust recently I've found that if I switch my Ethernet adapter Speed and Duplex settings to 100mbps\/FDX that HCB goes away entirely. Returning to Auto-negotiate brings back HCB immediately. I've also taken my PC to a friends house who doesn't have HCB and played for 6+ hours HCB free. So I'm convinced that networking plays a role in what is triggering the game to behave the way it does.\n\nAnd Rocket League isn't the only game that suffers from this phenomenon either. Halo 5 also suffers from a \"Heavy aim bug\".\n\nFrom everything I've read or been told ones network shouldn't have any effect on client side physics and rendering but clearly it does. Since I'm NOT a game developer my question here is how can I test this? I can repro the bug and essentially turn it off and on shortmark@example.net without closing the game. But how do I come up with evidence of this? What are some testing methods I could use? Does anyone have any idea why this might be happening? Is this a known issue?\n\nThanks for sticking around this long. I know this is a long one. Any help would be so appreciated! I'll give you props to the psyonix devs if any information leads to being able to pinpoint what is happening with our game.\n\nThanks again &lt;3","meta":"{'source': 'reddit_posts', 'id': '9tr13f', 'title': 'Netcode question regarding game physics with certain routing setups (I know it sounds weird)', 'author': 'skinnymidwest', 'subreddit': 'gamedev', 'subreddit_id': '2qi0a', 'body': 'I\\'ll start off by saying I\\'m not a gamedev. I am not a coder. I am a gamer who is deeply in love with the game Rocket League. Rocket League is an online multiplayer physics based car soccer game that runs on UE3 and the Bullet Physics engine.\\n\\nThat said for the past 2.5 years I\\'ve been working with a community of other players, coders, developers to try and solve an issue that is plaguing many players of the game. Ostensibly called the \"heavy car bug\". Something is forcing our vehicles to behave differently than others. Turning is sluggish, flying in the air is weird and feels like intense input lag. While we\\'re not \"real\" game testers or developers we\\'ve been given some debugging tools from one of the Psyonix devs but we\\'ve yet to pinpoint any real qualitative evidence or reproducibility.\\n\\nThat is until very recently. We\\'ve noticed the symptoms of HCB (as we\\'ve come to call it) lessen at night. We have people from all over the world in the discord group and one thing that\\'s very consistent is that late into the night (1,2,3am) HCb seems to resolve itself and isn\\'t present in the game. We\\'ve also reached consensus that HCB goes away entirely when the servers go down for maintenance and returns when the servers come back on. Another point is that HCB is consistent on all platforms on the same network. If you have it on PC you have it on Xbox, PS4, etc. HCB also persists in offline\/freeplay.\\n\\nJust recently I\\'ve found that if I switch my Ethernet adapter Speed and Duplex settings to 100mbps\/FDX that HCB goes away entirely. Returning to Auto-negotiate brings back HCB immediately. I\\'ve also taken my PC to a friends house who doesn\\'t have HCB and played for 6+ hours HCB free. So I\\'m convinced that networking plays a role in what is triggering the game to behave the way it does.\\n\\nAnd Rocket League isn\\'t the only game that suffers from this phenomenon either. Halo 5 also suffers from a \"Heavy aim bug\".\\n\\nFrom everything I\\'ve read or been told ones network shouldn\\'t have any effect on client side physics and rendering but clearly it does. Since I\\'m NOT a game developer my question here is how can I test this? I can repro the bug and essentially turn it off and on now at will...even without closing the game. But how do I come up with evidence of this? What are some testing methods I could use? Does anyone have any idea why this might be happening? Is this a known issue?\\n\\nThanks for sticking around this long. I know this is a long one. Any help would be so appreciated! I\\'ll give you props to the psyonix devs if any information leads to being able to pinpoint what is happening with our game.\\n\\nThanks again &lt;3', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 11, 'created_utc': 1541216027}"}
{"id":"919797","text":"Title: Codestyle and multiline strings\nThe text below was posted in an online community called learnpython in the year 2015:\n\nHi guys,\n\nWhile I'm in my first weeks of Python, I'm also pretty focused on readability (yay for PEP8). However, how do I format the following, i.e. printing multiple lines (but also writing it as multiple lines in the script for readability)?\n\nThe while is just an example. The problem that arises is the indents (e.g. in ifs, for\/while loops) screwing up the output style.\n\nOr would you say just write it as one line, don't bother? In that case, how would you work with longer text?\n\n\n    uname = 'Placeholderman'\n    code = '343kFsidfLKsdfsdfPERSONALCODEdklfFkDFJ32'\n\n    while 1:\n    \tprint (\"\"\"username = {}\n    \tcode = {}{}{}\n    \tLoading...\"\"\".format(uname, code[0:3],\"*\" * len(code[3:-3]), code[-4:-1]))\n    \tbreak","meta":"{'source': 'reddit_posts', 'id': '3radb5', 'title': 'Codestyle and multiline strings', 'author': 'Heapsofvla', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': 'Hi guys,\\n\\nWhile I\\'m in my first weeks of Python, I\\'m also pretty focused on readability (yay for PEP8). However, how do I format the following, i.e. printing multiple lines (but also writing it as multiple lines in the script for readability)?\\n\\nThe while is just an example. The problem that arises is the indents (e.g. in ifs, for\/while loops) screwing up the output style.\\n\\nOr would you say just write it as one line, don\\'t bother? In that case, how would you work with longer text?\\n\\n\\n    uname = \\'Placeholderman\\'\\n    code = \\'343kFsidfLKsdfsdfPERSONALCODEdklfFkDFJ32\\'\\n\\n    while 1:\\n    \\tprint (\"\"\"username = {}\\n    \\tcode = {}{}{}\\n    \\tLoading...\"\"\".format(uname, code[0:3],\"*\" * len(code[3:-3]), code[-4:-1]))\\n    \\tbreak', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 7, 'created_utc': '1446511787'}"}
{"id":"2010563","text":"Title: Those guy who switched from Android what made you switch over?\nThe text below was posted in an online community called apple in the year 2016:\n\nI'm looking to get a new phone as mine is almost dead. I'm thinking of getting the s7 edge or the 6s+. Not really sure which one to get. Both have great cameras and that's what I'm looking for in a new phone.","meta":"{'source': 'reddit_posts', 'id': '4losn2', 'title': 'Those guy who switched from Android what made you switch over?', 'author': 'YourDeath95', 'subreddit': 'apple', 'subreddit_id': '2qh1f', 'body': \"I'm looking to get a new phone as mine is almost dead. I'm thinking of getting the s7 edge or the 6s+. Not really sure which one to get. Both have great cameras and that's what I'm looking for in a new phone.\", 'body_is_trimmed': False, 'score': 12, 'over_18': False, 'num_comments': 54, 'created_utc': 1464600901}"}
{"id":"968843","text":"Title: how do I do range with float point values?\nThe text below was posted in an online community called learnpython in the year 2020:\n\nI am making a investment calculator for my class and I need to have decimals in my final print but I cannot figure out how to do this with float values. below will be my prompt for the project and the code I have so far.\n\nThis program will produce an investment report based on user input values.  - The user will enter the following information:\n\n Investment amount\n\n Number of years invested\n\n Annual interest rate (as a percentage value)\n\n\\- The output should produce a table including the following information for  each year:\n\n Year (in sequential order starting at 1)\n\n Starting Balance\n\n Interest Earned\n\n Ending Balance\n\n\\- The output should also produce the final ending balance and total interest  earned after the above described table.\n\n&amp;#x200B;\n\nthe example output will be in the comments but my code so far is this\n\n&amp;#x200B;\n\ninvestment= float(input('enter the investment amount: $'))\n\nyears = float(input('enter the number of years: '))\n\nrate = float(input('enter the rate as a %: '))\n\n&amp;#x200B;\n\nrate\\_percentage = rate\/100\n\n&amp;#x200B;\n\nprint('YEAR','\\\\tSTARTING BALANCE','\\\\tINTEREST','\\\\tENDING BALANCE')\n\nfor year in range(1, years+1):\n\nprint(year)","meta":"{'source': 'reddit_posts', 'id': 'khhlsg', 'title': 'how do I do range with float point values?', 'author': 'AdministrativeCap5', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': \"I am making a investment calculator for my class and I need to have decimals in my final print but I cannot figure out how to do this with float values. below will be my prompt for the project and the code I have so far.\\n\\nThis program will produce an investment report based on user input values.  - The user will enter the following information:\\n\\n Investment amount\\n\\n Number of years invested\\n\\n Annual interest rate (as a percentage value)\\n\\n\\\\- The output should produce a table including the following information for  each year:\\n\\n Year (in sequential order starting at 1)\\n\\n Starting Balance\\n\\n Interest Earned\\n\\n Ending Balance\\n\\n\\\\- The output should also produce the final ending balance and total interest  earned after the above described table.\\n\\n&amp;#x200B;\\n\\nthe example output will be in the comments but my code so far is this\\n\\n&amp;#x200B;\\n\\ninvestment= float(input('enter the investment amount: $'))\\n\\nyears = float(input('enter the number of years: '))\\n\\nrate = float(input('enter the rate as a %: '))\\n\\n&amp;#x200B;\\n\\nrate\\\\_percentage = rate\/100\\n\\n&amp;#x200B;\\n\\nprint('YEAR','\\\\\\\\tSTARTING BALANCE','\\\\\\\\tINTEREST','\\\\\\\\tENDING BALANCE')\\n\\nfor year in range(1, years+1):\\n\\nprint(year)\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 3, 'created_utc': 1608558069}"}
{"id":"2398832","text":"Title: To anybody looking to start OSCP\/CISSP...\nThe text below was posted in an online community called AskNetsec in the year 2016:\n\n**Update-Unfortunately all vouchers have been spoken for. Thank you all for your kind words and encouragement and wish us luck!**\n\nSo I've recently purchased two 90 day PWK\/OSCP vouchers and am only able to redeem one of them instead of using 180 days of lab time. Therefore, I've decided to give away a voucher for PWK. The only caveat is that you will be honor bound to study with me throughout the course. I've got a decent background in networking, but the C\/Assembly\/Python and Linux areas are a little foreign to me. My problem in the past is not having a mentor. If you are interested, please PM with your level of experience so I know you're serious about it.\n\nAdditionally, I have a CISSP voucher which expires in November. I'm nowhere near ready to take it, so if anyone recently failed their CISSP exam and would like a free swing at bat, PM me.\n\nTo the mods - I'm not sure if giveaways are allowed, but I'm not really attaching any strings to this. Let me know if I'm in the wrong.","meta":"{'source': 'reddit_posts', 'id': '4v6fz7', 'title': 'To anybody looking to start OSCP\/CISSP...', 'author': '4LeafTayback', 'subreddit': 'AskNetsec', 'subreddit_id': '2t3w8', 'body': \"**Update-Unfortunately all vouchers have been spoken for. Thank you all for your kind words and encouragement and wish us luck!**\\n\\nSo I've recently purchased two 90 day PWK\/OSCP vouchers and am only able to redeem one of them instead of using 180 days of lab time. Therefore, I've decided to give away a voucher for PWK. The only caveat is that you will be honor bound to study with me throughout the course. I've got a decent background in networking, but the C\/Assembly\/Python and Linux areas are a little foreign to me. My problem in the past is not having a mentor. If you are interested, please PM with your level of experience so I know you're serious about it.\\n\\nAdditionally, I have a CISSP voucher which expires in November. I'm nowhere near ready to take it, so if anyone recently failed their CISSP exam and would like a free swing at bat, PM me.\\n\\nTo the mods - I'm not sure if giveaways are allowed, but I'm not really attaching any strings to this. Let me know if I'm in the wrong.\", 'body_is_trimmed': False, 'score': 66, 'over_18': False, 'num_comments': 27, 'created_utc': 1469797184}"}
{"id":"576061","text":"Title: Best password manager?\nThe text below was posted in an online community called AskNetsec in the year 2021:\n\nHey security folks help me out to choose best password manager.\n\nLet me know which password manager you are using and why?\n\nWhat's the best password manager betweens 1password vs dashlane vs bitWarden?","meta":"{'source': 'reddit_posts', 'id': 'rrenqk', 'title': 'Best password manager?', 'author': 'noob_bug_hunter', 'subreddit': 'AskNetsec', 'subreddit_id': '2t3w8', 'body': \"Hey security folks help me out to choose best password manager.\\n\\nLet me know which password manager you are using and why?\\n\\nWhat's the best password manager betweens 1password vs dashlane vs bitWarden?\", 'body_is_trimmed': False, 'score': 65, 'over_18': False, 'num_comments': 93, 'created_utc': 1640801818}"}
{"id":"1372030","text":"Title: Which sport band looks better on the space gray?\nThe text below was posted in an online community called AppleWatch in the year 2018:\n\nIm in need of a sport band and am deciding on either the black or gray. Not a fan of the Nike holes. Does anyone have pictures of the combinations on the space gray watch?","meta":"{'source': 'reddit_posts', 'id': '8ee8qe', 'title': 'Which sport band looks better on the space gray?', 'author': 'VirtuosicElevator', 'subreddit': 'AppleWatch', 'subreddit_id': '2wav7', 'body': 'Im in need of a sport band and am deciding on either the black or gray. Not a fan of the Nike holes. Does anyone have pictures of the combinations on the space gray watch?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 17, 'created_utc': 1524512036}"}
{"id":"431384","text":"Title: Will grub be wiped out if I...\nThe text below was posted in an online community called linux4noobs in the year 2018:\n\n...delete everything and start over? According to [this answer thread](https:\/\/www.quora.com\/How-do-I-properly-erase-all-other-operating-systems-and-partitions-and-Install-Ubuntu-14-04) I should be able to boot from a gparted live USB and wipe out the current Mint\/Win7 partitions I have. My questions now are;\n\n* what happens to my current grub install\/setup?\n* can I use the Mint live USB instead, or do I need to use gparted before Mint?\n\nIdeally I want current-grub to disappear so I can put Mint and Mint alone on the SSD in question. I'm aiming for a \"nuke and pave\" approach. I've backed up my data.","meta":"{'source': 'reddit_posts', 'id': '8pwpw1', 'title': 'Will grub be wiped out if I...', 'author': 'MSRsnowshoes', 'subreddit': 'linux4noobs', 'subreddit_id': '2qy7t', 'body': '...delete everything and start over? According to [this answer thread](https:\/\/www.quora.com\/How-do-I-properly-erase-all-other-operating-systems-and-partitions-and-Install-Ubuntu-14-04) I should be able to boot from a gparted live USB and wipe out the current Mint\/Win7 partitions I have. My questions now are;\\n\\n* what happens to my current grub install\/setup?\\n* can I use the Mint live USB instead, or do I need to use gparted before Mint?\\n\\nIdeally I want current-grub to disappear so I can put Mint and Mint alone on the SSD in question. I\\'m aiming for a \"nuke and pave\" approach. I\\'ve backed up my data.', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 3, 'created_utc': 1528586036}"}
{"id":"1720803","text":"Title: At your job, what did your latest piece of code accomplish?\nThe text below was posted in an online community called cscareerquestions in the year 2016:\n\nI'm trying to relate what I'm learning in classes with what I'll actually be writing in industry. So, what was the point of the last bit of code you wrote? It can be as big as a project or as small as a method.","meta":"{'source': 'reddit_posts', 'id': '5grorm', 'title': 'At your job, what did your latest piece of code accomplish?', 'author': 'Bat_002', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': \"I'm trying to relate what I'm learning in classes with what I'll actually be writing in industry. So, what was the point of the last bit of code you wrote? It can be as big as a project or as small as a method.\", 'body_is_trimmed': False, 'score': 164, 'over_18': False, 'num_comments': 266, 'created_utc': 1481010919}"}
{"id":"130264","text":"Title: Why may liftA be used as a value for fmap (according to Hackage)?\nThe text below was posted in an online community called haskell in the year 2021:\n\n`liftA` requires `Applicative`, which requires `Functor`, so if you can call `liftA` on something, `fmap` should already be defined for it. How does it work?","meta":"{'source': 'reddit_posts', 'id': 'q9k6yk', 'title': 'Why may liftA be used as a value for fmap (according to Hackage)?', 'author': 'NateReinarWindwood', 'subreddit': 'haskell', 'subreddit_id': '2qh36', 'body': '`liftA` requires `Applicative`, which requires `Functor`, so if you can call `liftA` on something, `fmap` should already be defined for it. How does it work?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 9, 'created_utc': 1634417006}"}
{"id":"204021","text":"Title: I have a question, but I don't know how to ask it...\nThe text below was posted in an online community called web_design in the year 2012:\n\nI went to school for design and have designed websites before, but now a photographer friend has contacted me for help. Designing the site has been easy enough, but now I don't know how to add all of his photography in a way that will let him control what work he has up on his site. Say he goes on a shoot and wants to upload some photos to his portfolio, how can he upload them without having to get me to change the web page for him?\n\nFor reference [this](http:\/\/www.joeyl.com\/) website has great navigation, the thumbnails are arranged neatly and the image it is linked to is placed perfectly in the space. How?\n\nI feel like I may be asking quite a lot, but if someone can please point me in the right direction that would be a great help!","meta":"{'source': 'reddit_posts', 'id': 'rek9z', 'title': \"I have a question, but I don't know how to ask it...\", 'author': 'casiopiaa', 'subreddit': 'web_design', 'subreddit_id': '2qh1m', 'body': \"I went to school for design and have designed websites before, but now a photographer friend has contacted me for help. Designing the site has been easy enough, but now I don't know how to add all of his photography in a way that will let him control what work he has up on his site. Say he goes on a shoot and wants to upload some photos to his portfolio, how can he upload them without having to get me to change the web page for him?\\n\\nFor reference [this](http:\/\/www.joeyl.com\/) website has great navigation, the thumbnails are arranged neatly and the image it is linked to is placed perfectly in the space. How?\\n\\nI feel like I may be asking quite a lot, but if someone can please point me in the right direction that would be a great help!\", 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 9, 'created_utc': 1332787479}"}
{"id":"1787670","text":"Title: Looking for a Software Developer Mentor\nThe text below was posted in an online community called learnprogramming in the year 2022:\n\nHi everyone,\n\nIm looking for a dedicated software developer mentor who is not only experienced and passionate about programming but is also patient, emotionally intelligent\/understanding when it comes to building a healthy mentorship with strong core values. \n\nWhen it comes to learning programming, my goal is not to memorize lines of code. Im looking for a mentor who is really dedicated to condition my mind to think freely and have the analytical mindset of a developer.\n\nPlease leave a comment or reach out to me if youre interested in connecting.","meta":"{'source': 'reddit_posts', 'id': 'vz7dam', 'title': 'Looking for a Software Developer Mentor', 'author': 'C_huncho', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': 'Hi everyone,\\n\\nIm looking for a dedicated software developer mentor who is not only experienced and passionate about programming but is also patient, emotionally intelligent\/understanding when it comes to building a healthy mentorship with strong core values. \\n\\nWhen it comes to learning programming, my goal is not to memorize lines of code. Im looking for a mentor who is really dedicated to condition my mind to think freely and have the analytical mindset of a developer.\\n\\nPlease leave a comment or reach out to me if youre interested in connecting.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1657835247}"}
{"id":"1541998","text":"Title: I'm confused about my path\nThe text below was posted in an online community called AskNetsec in the year 2021:\n\nHey \n\nI  have few questions to ask cause I'm really confused and having a bad  feeling \\[ maybe its not the right sub but I don't know where I can say  this  \\]\n\nI started my CCNA journey  about 2.5months+ ago (few chapters I will finish it ) I'm learning it  cause I want to be a pen tester after CCNA I'm going to take the INE  free course then I will practice with hack the box then start applying  for jobs and maybe start OSCP journey.\n\nIs  that right ? I mean what I'm doing and my path ?!Should I pay for CCNA  exam or better keep money for eJPT Certification or OSCP , also I don't  have problem with a networking job but will CCNA be enough to get one ?\n\nThe  bad feeling I have is when I read some posts about being a pen testing,  the comments scared out of me like I will not do anything in my life  just pen testing only and all your life will be stressful because of the  job and you will write documents only ..ect ..ect really made me feel  wooh that's scary is it like that really?, so I watched some youtube  videos day in life seems good.\n\nI  really wanna learn how to hack things but at the same time I want to do  things like reading, going to gym, traveling, writing ( I used to write  articles in my language ) I would love if I can keep doing this beside  hacking, is it possible ?\n\nbackground:-  basic understanding of programming \\[ I used to do some web dev python -  js -html - css  \\]- I tried some tools and attack before but I didn't  what's going I just copy what other do like : brute force, sql  injection- basic linux cli skills- I have hardware knowledge like fixing  stuff ..etc\n\nI feel a little bit better with writing this, I would be happy if you answer my question, Thanks.","meta":"{'source': 'reddit_posts', 'id': 'pyrzcd', 'title': \"I'm confused about my path\", 'author': 'MarcoAcrono', 'subreddit': 'AskNetsec', 'subreddit_id': '2t3w8', 'body': \"Hey \\n\\nI  have few questions to ask cause I'm really confused and having a bad  feeling \\\\[ maybe its not the right sub but I don't know where I can say  this  \\\\]\\n\\nI started my CCNA journey  about 2.5months+ ago (few chapters I will finish it ) I'm learning it  cause I want to be a pen tester after CCNA I'm going to take the INE  free course then I will practice with hack the box then start applying  for jobs and maybe start OSCP journey.\\n\\nIs  that right ? I mean what I'm doing and my path ?!Should I pay for CCNA  exam or better keep money for eJPT Certification or OSCP , also I don't  have problem with a networking job but will CCNA be enough to get one ?\\n\\nThe  bad feeling I have is when I read some posts about being a pen testing,  the comments scared out of me like I will not do anything in my life  just pen testing only and all your life will be stressful because of the  job and you will write documents only ..ect ..ect really made me feel  wooh that's scary is it like that really?, so I watched some youtube  videos day in life seems good.\\n\\nI  really wanna learn how to hack things but at the same time I want to do  things like reading, going to gym, traveling, writing ( I used to write  articles in my language ) I would love if I can keep doing this beside  hacking, is it possible ?\\n\\nbackground:-  basic understanding of programming \\\\[ I used to do some web dev python -  js -html - css  \\\\]- I tried some tools and attack before but I didn't  what's going I just copy what other do like : brute force, sql  injection- basic linux cli skills- I have hardware knowledge like fixing  stuff ..etc\\n\\nI feel a little bit better with writing this, I would be happy if you answer my question, Thanks.\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 15, 'created_utc': 1633033139}"}
{"id":"1566512","text":"Title: What does the \"&gt;\" prompt mean ?\nThe text below was posted in an online community called linux4noobs in the year 2014:\n\nhi all i accidentally pressed **'** and the command prompt changed to **&gt;** \n\ni tried quit, exit, cd, \\ nothing worked ...eventually i typed **'** again and i was back to me regular **#** prompt.\n\nCan some one tell me what **&gt;** prompt is and what is it used for ?","meta":"{'source': 'reddit_posts', 'id': '1wacbf', 'title': 'What does the \"&gt;\" prompt mean ?', 'author': 'noobpawner', 'subreddit': 'linux4noobs', 'subreddit_id': '2qy7t', 'body': \"hi all i accidentally pressed **'** and the command prompt changed to **&gt;** \\n\\ni tried quit, exit, cd, \\\\ nothing worked ...eventually i typed **'** again and i was back to me regular **#** prompt.\\n\\nCan some one tell me what **&gt;** prompt is and what is it used for ?\", 'body_is_trimmed': False, 'score': 19, 'over_18': False, 'num_comments': 12, 'created_utc': '1390839362'}"}
{"id":"121748","text":"Title: Is there a reason there is no non-move equivalent for IntoIterator?\nThe text below was posted in an online community called rust in the year 2020:\n\n`IntoIterator` and the syntactic sugar it allows with `for` loops is very useful.  It would be nice, though, to be able to write the same sugared `for` loop without dropping the sequence you're coercing into an Iterator.  In particular it would be nice to write APIs that accept an immutable \"iterable\" as an argument using a trait like that as a bound.  Many (if not all) of the collections in the standard library have a function `.iter()` to get an Iterator over immutable references.  I think it would be very convenient if this function were associated with a trait that then allowed the same syntax as `IntoIterator` does.  Is there some reason I'm missing that explains why this is not done?","meta":"{'source': 'reddit_posts', 'id': 'gc8c66', 'title': 'Is there a reason there is no non-move equivalent for IntoIterator?', 'author': 'thermiter36', 'subreddit': 'rust', 'subreddit_id': '2s7lj', 'body': '`IntoIterator` and the syntactic sugar it allows with `for` loops is very useful.  It would be nice, though, to be able to write the same sugared `for` loop without dropping the sequence you\\'re coercing into an Iterator.  In particular it would be nice to write APIs that accept an immutable \"iterable\" as an argument using a trait like that as a bound.  Many (if not all) of the collections in the standard library have a function `.iter()` to get an Iterator over immutable references.  I think it would be very convenient if this function were associated with a trait that then allowed the same syntax as `IntoIterator` does.  Is there some reason I\\'m missing that explains why this is not done?', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 6, 'created_utc': 1588433431}"}
{"id":"1314555","text":"Title: Bluetooth suddenly stopped working\nThe text below was posted in an online community called Windows10 in the year 2019:\n\nI was using bluetooth headphones when they all the sudden stopped working. Checked device manager and saw the Intel wireless bluetooth device had an error message saying \"This device cannot start. (Code 10) STATUS_DEVICE_POWER_FAILURE\". I then tried uninstalling it and restarting, then tried updating the drivers and restarting and nothing has worked. After I tried going through the bluetooth troubleshooting wizard which just reinstalled the device. Now when I check device manager it keeps refreshing between saying the bluetooth is working properly and going back to the error code. Not sure what else I can try to fix this problem.\n\nEdit: After trying everything short of a system restore my bluetooth was still not working. The next day my bluetooth randomly started working again. I have no idea what would have caused this and why it fixed itself.","meta":"{'source': 'reddit_posts', 'id': 'bjp4e9', 'title': 'Bluetooth suddenly stopped working', 'author': 'zb1928', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': 'I was using bluetooth headphones when they all the sudden stopped working. Checked device manager and saw the Intel wireless bluetooth device had an error message saying \"This device cannot start. (Code 10) STATUS_DEVICE_POWER_FAILURE\". I then tried uninstalling it and restarting, then tried updating the drivers and restarting and nothing has worked. After I tried going through the bluetooth troubleshooting wizard which just reinstalled the device. Now when I check device manager it keeps refreshing between saying the bluetooth is working properly and going back to the error code. Not sure what else I can try to fix this problem.\\n\\nEdit: After trying everything short of a system restore my bluetooth was still not working. The next day my bluetooth randomly started working again. I have no idea what would have caused this and why it fixed itself.', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 6, 'created_utc': 1556759891}"}
{"id":"1242711","text":"Title: Project Idea: Genericts optparse\/Html form generator\nThe text below was posted in an online community called haskell in the year 2016:\n\nI've seen a few people asking for idea to code, here is one : I wish I have time to work on it but I don't, however, I'm happy to help, coordinate the project if anybody wants to help.\n\nHere is the idea\n\nI'm feed up of writing command line parser, even using optparse-applicative. However, I think it should be possible to generate automatically from a type using generics (and if not possible , using template haskell). I think haskell type holds enough information to make that possible (I'm happy to let the system decide of the long\/short name for me).\n\nSo something like \n\n    data Mode 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 Verbose | Silent\n    data Config = Config {input 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 String, output 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 Maybe String, mode  888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 Maybe Mode }\n\nwould generate something like \n\n   command -i\/--input file [-o\/--output file] [-v # verbose] [-s # silent] etc \n   \nExtra information (like default value) could be added using  phantom `Tag` and `Kind Type` so we could do something like\n\n    data Config = Config {input 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 String, output 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 Maybe String, mode  888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 Tag (Maybe Mode) 'Verbose }\n   \nEtc ...\n\nThen we probably could do the same to generate an Html form instead of a command line parser.\n\nDoes any body wants to help or gives its feedback ?\n\nThanks","meta":"{'source': 'reddit_posts', 'id': '45e3cj', 'title': 'Project Idea: Genericts optparse\/Html form generator', 'author': 'maxigit', 'subreddit': 'haskell', 'subreddit_id': '2qh36', 'body': \"I've seen a few people asking for idea to code, here is one : I wish I have time to work on it but I don't, however, I'm happy to help, coordinate the project if anybody wants to help.\\n\\nHere is the idea\\n\\nI'm feed up of writing command line parser, even using optparse-applicative. However, I think it should be possible to generate automatically from a type using generics (and if not possible , using template haskell). I think haskell type holds enough information to make that possible (I'm happy to let the system decide of the long\/short name for me).\\n\\nSo something like \\n\\n    data Mode :: Verbose | Silent\\n    data Config = Config {input :: String, output :: Maybe String, mode  :: Maybe Mode }\\n\\nwould generate something like \\n\\n   command -i\/--input file [-o\/--output file] [-v # verbose] [-s # silent] etc \\n   \\nExtra information (like default value) could be added using  phantom `Tag` and `Kind Type` so we could do something like\\n\\n    data Config = Config {input :: String, output :: Maybe String, mode  :: Tag (Maybe Mode) 'Verbose }\\n   \\nEtc ...\\n\\nThen we probably could do the same to generate an Html form instead of a command line parser.\\n\\nDoes any body wants to help or gives its feedback ?\\n\\nThanks\", 'body_is_trimmed': False, 'score': 10, 'over_18': False, 'num_comments': 32, 'created_utc': 1455271882}"}
{"id":"74094","text":"Title: UNC is being blocked between VMs\nThe text below was posted in an online community called AZURE in the year 2021:\n\nHi all,\n\nI am new to Azure, just getting my feet wet. I have two windows VMs running and I have a shared folder on VM1. I set the local firewall to allow file and print sharing, but I cannot hit this share from VM2.\n\nI suspect its a firewall configuration between them. I am also a bit confused as to where you set firewall rules in Azure. I see both my VMs, VM1 and VM2 running on the same resource group, and the same virtual network\/subnet. \n\nI did click on VM1, and on the left went to Settings &gt; Networking &gt; and created an \"inbound port rule\" for TCP 445. When I check VM2, I see this change there too automatically so I guess this port rule is for the subnet and not the VM?\n\nEither way, still blocked. What else could it be?","meta":"{'source': 'reddit_posts', 'id': 'oy41td', 'title': 'UNC is being blocked between VMs', 'author': 'Hxcmetal724', 'subreddit': 'AZURE', 'subreddit_id': '2rkse', 'body': 'Hi all,\\n\\nI am new to Azure, just getting my feet wet. I have two windows VMs running and I have a shared folder on VM1. I set the local firewall to allow file and print sharing, but I cannot hit this share from VM2.\\n\\nI suspect its a firewall configuration between them. I am also a bit confused as to where you set firewall rules in Azure. I see both my VMs, VM1 and VM2 running on the same resource group, and the same virtual network\/subnet. \\n\\nI did click on VM1, and on the left went to Settings &gt; Networking &gt; and created an \"inbound port rule\" for TCP 445. When I check VM2, I see this change there too automatically so I guess this port rule is for the subnet and not the VM?\\n\\nEither way, still blocked. What else could it be?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 10, 'created_utc': 1628116301}"}
{"id":"1164813","text":"Title: Is it worth it to load data into a database for a dash app?\nThe text below was posted in an online community called learnpython in the year 2020:\n\nI am planning a dash app for work which many people would use. My data isn't exactly \"big\", but large enough that decent delays can occur when loading or querying. I'm wondering if it would be worthwhile to import the data into a database (sqlite?) to make loading and querying easier\/faster?","meta":"{'source': 'reddit_posts', 'id': 'ifqm7o', 'title': 'Is it worth it to load data into a database for a dash app?', 'author': 'zedd31416', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': 'I am planning a dash app for work which many people would use. My data isn\\'t exactly \"big\", but large enough that decent delays can occur when loading or querying. I\\'m wondering if it would be worthwhile to import the data into a database (sqlite?) to make loading and querying easier\/faster?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 9, 'created_utc': 1598281258}"}
{"id":"506799","text":"Title: Looking for some solid literature\nThe text below was posted in an online community called web_design in the year 2013:\n\nI'm wanted to get into web design again and really just dive into it. Iv'e dabbled in the past but always as kind of a side hobby. I'm hoping someone can direct me to some books that I can read as a refresher. Hopefully new enough to include html5 and css3 or whatever else I need to know? I know I can go to w3schools but I need something I can carry around my daily routine.","meta":"{'source': 'reddit_posts', 'id': '18xyos', 'title': 'Looking for some solid literature', 'author': 'Thizzyloops', 'subreddit': 'web_design', 'subreddit_id': '2qh1m', 'body': \"I'm wanted to get into web design again and really just dive into it. Iv'e dabbled in the past but always as kind of a side hobby. I'm hoping someone can direct me to some books that I can read as a refresher. Hopefully new enough to include html5 and css3 or whatever else I need to know? I know I can go to w3schools but I need something I can carry around my daily routine.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1361431530}"}
{"id":"1585865","text":"Title: I want to learn a mobile development framework by building my first app from start to finish. I only know HTML, CSS, and basic Javascript. In 2022, would it be better to learn React Native or Flutter?\nThe text below was posted in an online community called learnprogramming in the year 2022:\n\nI'm thinking of starting with something simple, probably a font generator. I'm a UI designer right now, but my goal is to eventually become a freelance app designer and developer (building web and\/or mobile apps).","meta":"{'source': 'reddit_posts', 'id': 'v2w58n', 'title': 'I want to learn a mobile development framework by building my first app from start to finish. I only know HTML, CSS, and basic Javascript. In 2022, would it be better to learn React Native or Flutter?', 'author': 'Startingfromscratch8', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': \"I'm thinking of starting with something simple, probably a font generator. I'm a UI designer right now, but my goal is to eventually become a freelance app designer and developer (building web and\/or mobile apps).\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1654129965}"}
{"id":"778840","text":"Title: Disable Magic Mouse side-scrolling as a per-user setting?\nThe text below was posted in an online community called osx in the year 2015:\n\nI'd like to disable the Magic Mouse side-scroll behavior in which dragging a finger _across_ the mouse, side to side, scrolls content in an application window sideways. For a set of visually and motor-control limited users, this is proving highly distracting.\n\nI suffer neither and am not certain I care for it either, though I'd prefer the option to enable or disable it per account.\n\nOh: and if it's possible to run specified commands at login (like a Linux ~\/.bash_profile or ~\/.login file). In which case ... I can solve (or create) multiple problems...\n\nThere's an apparently systemwide fix for the issue here, but not a per-user one that I can tell: [Magic Mouse - Disable horizontal scrolling ?\n](https:\/\/discussions.apple.com\/thread\/2292349?start=0&amp;tstart=0) (discussions.apple.com).\n\nThough following the procedure and verifying the setting with:\n\n    defaults read com.apple.driver.AppleBluetoothMultitouch.mouse\n\n... doesn't fix the behavior within this user session.\n\nThanks.","meta":"{'source': 'reddit_posts', 'id': '3ykg0k', 'title': 'Disable Magic Mouse side-scrolling as a per-user setting?', 'author': 'dredmorbius', 'subreddit': 'osx', 'subreddit_id': '2qh3j', 'body': \"I'd like to disable the Magic Mouse side-scroll behavior in which dragging a finger _across_ the mouse, side to side, scrolls content in an application window sideways. For a set of visually and motor-control limited users, this is proving highly distracting.\\n\\nI suffer neither and am not certain I care for it either, though I'd prefer the option to enable or disable it per account.\\n\\nOh: and if it's possible to run specified commands at login (like a Linux ~\/.bash_profile or ~\/.login file). In which case ... I can solve (or create) multiple problems...\\n\\nThere's an apparently systemwide fix for the issue here, but not a per-user one that I can tell: [Magic Mouse - Disable horizontal scrolling ?\\n](https:\/\/discussions.apple.com\/thread\/2292349?start=0&amp;tstart=0) (discussions.apple.com).\\n\\nThough following the procedure and verifying the setting with:\\n\\n    defaults read com.apple.driver.AppleBluetoothMultitouch.mouse\\n\\n... doesn't fix the behavior within this user session.\\n\\nThanks.\", 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 0, 'created_utc': 1451336180}"}
{"id":"1740970","text":"Title: Adaptive Brightness (or HDR?) on overkill while Firefox is maximized\nThe text below was posted in an online community called firefox in the year 2019:\n\nCurrent configuration:\n\n* Windows build: 18348.1\n* Firefox version: 65.0.2\n* Display Adapter: Intel UHD Graphics 620\n   * Driver Version: 83.161.120.15525\n   * Resolution: 3840x2160\n   * Scaling: 200%\n   * Color Profile: Factory (listed as: \"282B\")\n   * Windows HD Color: Enabled for streaming video\n\n&amp;#x200B;\n\nI recently purchased a new Dell XPS 13 9380 and it's been showing some odd behavior when browsing the web. Depending upon the visible elements of a given web page, the screen will either dim or brighten. For instance, I've seen cases where if I'm scrolling down a page and a dark banner shows up, the screen will dim while that banner is on the page. Scrolling past it will make the screen brighten again. In other cases, the behavior seems almost random. An HTML video element may trigger the screen to brighten, but only while the video is completely visible; scrolling part of it off the screen will cause the screen to dim again.\n\n&amp;#x200B;\n\nWhile writing this post, I've been able to narrow things down to one specific test case:\n\n1. Ensure that Firefox is in full-screen mode.\n2. Open the image at [https:\/\/img.itch.zone\/aW1nLzE1ODIyNjQucG5n\/original\/t%2BuYZ9.png](https:\/\/img.itch.zone\/aW1nLzE1ODIyNjQucG5n\/original\/t%2BuYZ9.png)\n3. Zoom in on the image and eventually the screen will brighten. In my case, it occurs at 160% zoom. \n\n&amp;#x200B;\n\nI've only been able to duplicate this behavior with Firefox, so far, and only when Firefox is in full-screen mode. Does Firefox emit any events which Windows could be interpreting as cause to dim or brighten the screen? If so, can this be turned off? Initially it didn't bother me too much, but it's getting more frustrating, to the point where I'm considering switching back to Chrome.","meta":"{'source': 'reddit_posts', 'id': 'azsnr5', 'title': 'Adaptive Brightness (or HDR?) on overkill while Firefox is maximized', 'author': 'bshacklett', 'subreddit': 'firefox', 'subreddit_id': '2qh4p', 'body': 'Current configuration:\\n\\n* Windows build: 18348.1\\n* Firefox version: 65.0.2\\n* Display Adapter: Intel UHD Graphics 620\\n   * Driver Version: 25.20.100.6325\\n   * Resolution: 3840x2160\\n   * Scaling: 200%\\n   * Color Profile: Factory (listed as: \"282B\")\\n   * Windows HD Color: Enabled for streaming video\\n\\n&amp;#x200B;\\n\\nI recently purchased a new Dell XPS 13 9380 and it\\'s been showing some odd behavior when browsing the web. Depending upon the visible elements of a given web page, the screen will either dim or brighten. For instance, I\\'ve seen cases where if I\\'m scrolling down a page and a dark banner shows up, the screen will dim while that banner is on the page. Scrolling past it will make the screen brighten again. In other cases, the behavior seems almost random. An HTML video element may trigger the screen to brighten, but only while the video is completely visible; scrolling part of it off the screen will cause the screen to dim again.\\n\\n&amp;#x200B;\\n\\nWhile writing this post, I\\'ve been able to narrow things down to one specific test case:\\n\\n1. Ensure that Firefox is in full-screen mode.\\n2. Open the image at [https:\/\/img.itch.zone\/aW1nLzE1ODIyNjQucG5n\/original\/t%2BuYZ9.png](https:\/\/img.itch.zone\/aW1nLzE1ODIyNjQucG5n\/original\/t%2BuYZ9.png)\\n3. Zoom in on the image and eventually the screen will brighten. In my case, it occurs at 160% zoom. \\n\\n&amp;#x200B;\\n\\nI\\'ve only been able to duplicate this behavior with Firefox, so far, and only when Firefox is in full-screen mode. Does Firefox emit any events which Windows could be interpreting as cause to dim or brighten the screen? If so, can this be turned off? Initially it didn\\'t bother me too much, but it\\'s getting more frustrating, to the point where I\\'m considering switching back to Chrome.', 'body_is_trimmed': False, 'score': 5, 'over_18': False, 'num_comments': 5, 'created_utc': 1552305874}"}
{"id":"756464","text":"Title: Using Meet on FF, any way to share a tab with sound?\nThe text below was posted in an online community called firefox in the year 2022:\n\nIs there any way to share the tab with sound on Google Meet using Firefox ?","meta":"{'source': 'reddit_posts', 'id': 'sirg11', 'title': 'Using Meet on FF, any way to share a tab with sound?', 'author': 'leeandrosts', 'subreddit': 'firefox', 'subreddit_id': '2qh4p', 'body': 'Is there any way to share the tab with sound on Google Meet using Firefox ?', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': 1643815846}"}
{"id":"915494","text":"Title: Too Much Activity Credit\nThe text below was posted in an online community called AppleWatch in the year 2015:\n\nHas anyone else notice they're getting way more credit for their activity after the iOS9 update? I'm hitting my goals every day by 5 o'clock even on days when I don't exercise.","meta":"{'source': 'reddit_posts', 'id': '3lhho3', 'title': 'Too Much Activity Credit', 'author': 'NWYDA', 'subreddit': 'AppleWatch', 'subreddit_id': '2wav7', 'body': \"Has anyone else notice they're getting way more credit for their activity after the iOS9 update? I'm hitting my goals every day by 5 o'clock even on days when I don't exercise.\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 8, 'created_utc': '1442613011'}"}
{"id":"162695","text":"Title: Best non Intel graphics card for Linux compatibility?\nThe text below was posted in an online community called linuxquestions in the year 2012:\n\nI'd like the best graphics card I can get, but one that has good support in Linux. I've been using Intel cards for years, and I'd like to upgrade to something else. I'm getting a new machine, so any card is applicable.","meta":"{'source': 'reddit_posts', 'id': 'q9xt8', 'title': 'Best non Intel graphics card for Linux compatibility?', 'author': 'sentient_cheese', 'subreddit': 'linuxquestions', 'subreddit_id': '2rbms', 'body': \"I'd like the best graphics card I can get, but one that has good support in Linux. I've been using Intel cards for years, and I'd like to upgrade to something else. I'm getting a new machine, so any card is applicable.\", 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 12, 'created_utc': 1330451611}"}
{"id":"2380602","text":"Title: NullPointerException: Palindrome using Stack and Queue\nThe text below was posted in an online community called javahelp in the year 2016:\n\nI'm working on an assignment where I use the StackList and QueueList classes that I've created to check for a words that are palindromes.  The idea is to read from a file and take the characters from each word and:\n\n push each character off the word onto a stack. enqueue each character of the word onto the queue. While there are still elements in the queue\/stack - if the first character popped form the stack equals the first character dequeued from the queue, continue, else return false.  If the while loop finishes, return true.  \n\nI'm assuming and hoping my StackList and QueueList classes are implemented properly.  Anyways, each time I try to run the program I catch a null pointer exception, any ideas on as to why?\n\nhttp:\/\/pastebin.com\/4FGS1fpg\n\nedit: I did a bit of debugging and it seems to reach the isPalindrome() method and immediately catch a nullpointerexception from there.","meta":"{'source': 'reddit_posts', 'id': '46xdvb', 'title': 'NullPointerException: Palindrome using Stack and Queue', 'author': 'LogwanaMan', 'subreddit': 'javahelp', 'subreddit_id': '2t1jq', 'body': \"I'm working on an assignment where I use the StackList and QueueList classes that I've created to check for a words that are palindromes.  The idea is to read from a file and take the characters from each word and:\\n\\n push each character off the word onto a stack. enqueue each character of the word onto the queue. While there are still elements in the queue\/stack - if the first character popped form the stack equals the first character dequeued from the queue, continue, else return false.  If the while loop finishes, return true.  \\n\\nI'm assuming and hoping my StackList and QueueList classes are implemented properly.  Anyways, each time I try to run the program I catch a null pointer exception, any ideas on as to why?\\n\\nhttp:\/\/pastebin.com\/4FGS1fpg\\n\\nedit: I did a bit of debugging and it seems to reach the isPalindrome() method and immediately catch a nullpointerexception from there.\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 6, 'created_utc': 1456090112}"}
{"id":"1273739","text":"Title: Anyone having problems with the Apple Nylon bands not \"clicking\" into place?\nThe text below was posted in an online community called AppleWatch in the year 2016:\n\nThe short side works fine, but the longer side does not.\n\nEdit: Went to Apple Store and they ordered a new one for me. Thanks for the responses.","meta":"{'source': 'reddit_posts', 'id': '4dm88k', 'title': 'Anyone having problems with the Apple Nylon bands not \"clicking\" into place?', 'author': 'centuryhouseman', 'subreddit': 'AppleWatch', 'subreddit_id': '2wav7', 'body': 'The short side works fine, but the longer side does not.\\n\\nEdit: Went to Apple Store and they ordered a new one for me. Thanks for the responses.', 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 4, 'created_utc': 1459956498}"}
{"id":"1472065","text":"Title: Question - AD - Get full name from csv of usernames\nThe text below was posted in an online community called PowerShell in the year 2020:\n\nHello,\n\nI  have a csv with AD usernames.  I would like to use powershell to return  a csv of first name, last name, office, E-Mail &amp; department.\n\nI  can find example scripts to use first name and last name to return user  name but I don't know enough powershell to get what I need.  If anyone  has an example of this it would be very much appreciated.","meta":"{'source': 'reddit_posts', 'id': 'i4cq23', 'title': 'Question - AD - Get full name from csv of usernames', 'author': 'ubiquitous_delays', 'subreddit': 'PowerShell', 'subreddit_id': '2qo1o', 'body': \"Hello,\\n\\nI  have a csv with AD usernames.  I would like to use powershell to return  a csv of first name, last name, office, E-Mail &amp; department.\\n\\nI  can find example scripts to use first name and last name to return user  name but I don't know enough powershell to get what I need.  If anyone  has an example of this it would be very much appreciated.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 3, 'created_utc': 1596657918}"}
{"id":"1208488","text":"Title: Windows w\/WsL vs MacOS\nThe text below was posted in an online community called windows in the year 2019:\n\nNow where Windows supports Linux bash, what are the reasons for someone to use MacOS over Windows or even more Linux itself?","meta":"{'source': 'reddit_posts', 'id': 'c4kwgv', 'title': 'Windows w\/WsL vs MacOS', 'author': 'geocfu_', 'subreddit': 'windows', 'subreddit_id': '2qh3k', 'body': 'Now where Windows supports Linux bash, what are the reasons for someone to use MacOS over Windows or even more Linux itself?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 9, 'created_utc': 1561369759}"}
{"id":"914712","text":"Title: Throwing Exceptions, why?\nThe text below was posted in an online community called learnjava in the year 2019:\n\nWhy would I want to throw an exception as part of a method signature? \n\nWhat does throwing exceptions accomplish? \n\nWhen should I throw an exception? \n\n    public void someMethod() throws Exception {\n        \/\/do stuff\n    }","meta":"{'source': 'reddit_posts', 'id': 'e8rvom', 'title': 'Throwing Exceptions, why?', 'author': 'ToyDingo', 'subreddit': 'learnjava', 'subreddit_id': '2saos', 'body': 'Why would I want to throw an exception as part of a method signature? \\n\\nWhat does throwing exceptions accomplish? \\n\\nWhen should I throw an exception? \\n\\n    public void someMethod() throws Exception {\\n        \/\/do stuff\\n    }', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 5, 'created_utc': 1575991079}"}
{"id":"2061695","text":"Title: How come Google Duo is preinstalled on new devices but not Google Allo?\nThe text below was posted in an online community called Android in the year 2017:\n\nSo few days back I got two new Android 7 devices. Both of them came with the Google apps that you would expect, but how come Google Duo is preinstalled but Google Allo isnt?\n\nIsnt Allo and Duo the two messaging apps Google wants us to use? Even Hangouts isnt preinstalled. Im not asking for more bloatware, but if Duo is there, wouldnt it make sense to put Allo as well?","meta":"{'source': 'reddit_posts', 'id': '72lpsk', 'title': 'How come Google Duo is preinstalled on new devices but not Google Allo?', 'author': 'ahnafm', 'subreddit': 'Android', 'subreddit_id': '2qlqh', 'body': 'So few days back I got two new Android 7 devices. Both of them came with the Google apps that you would expect, but how come Google Duo is preinstalled but Google Allo isnt?\\n\\nIsnt Allo and Duo the two messaging apps Google wants us to use? Even Hangouts isnt preinstalled. Im not asking for more bloatware, but if Duo is there, wouldnt it make sense to put Allo as well?', 'body_is_trimmed': False, 'score': 326, 'over_18': False, 'num_comments': 176, 'created_utc': 1506445002}"}
{"id":"1525910","text":"Title: Audio amplifier. Are these components ok?\nThe text below was posted in an online community called raspberry_pi in the year 2015:\n\nHello.\nAs I'm trying to connect a pair of passive 8Ohms speakers to the raspberry pi, I'm facing the need to pair it with an audio amplifier.\nI identified this pair of power_supply + amplifier:\n\n[Power supply \\(on eBay\\)](http:\/\/www.ebay.it\/itm\/Elettronico-Trasformatore-Driver-Alimentazione-6-10-12-15-18-24W-300mA-LED-12V-\/261629379268?var=&amp;hash=item3cea5382c4)\n\n\n[Amplifier \\(on eBay\\)](http:\/\/www.ebay.it\/itm\/TDA7297-Amplificatore-Stereo-2x15W-Modulo-12V-Audio-Amplifier-Board-Dual-Channel-\/251723897219?hash=item3a9be9d983)\n\n\n\nWill these be ok?","meta":"{'source': 'reddit_posts', 'id': '3l808s', 'title': 'Audio amplifier. Are these components ok?', 'author': 'spookyrufus', 'subreddit': 'raspberry_pi', 'subreddit_id': '2syto', 'body': \"Hello.\\nAs I'm trying to connect a pair of passive 8Ohms speakers to the raspberry pi, I'm facing the need to pair it with an audio amplifier.\\nI identified this pair of power_supply + amplifier:\\n\\n[Power supply \\\\(on eBay\\\\)](http:\/\/www.ebay.it\/itm\/Elettronico-Trasformatore-Driver-Alimentazione-6-10-12-15-18-24W-300mA-LED-12V-\/261629379268?var=&amp;hash=item3cea5382c4)\\n\\n\\n[Amplifier \\\\(on eBay\\\\)](http:\/\/www.ebay.it\/itm\/TDA7297-Amplificatore-Stereo-2x15W-Modulo-12V-Audio-Amplifier-Board-Dual-Channel-\/251723897219?hash=item3a9be9d983)\\n\\n\\n\\nWill these be ok?\", 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 7, 'created_utc': '1442438306'}"}
{"id":"623672","text":"Title: Looking for Python blog.\nThe text below was posted in an online community called learnpython in the year 2014:\n\nThere was a blogspot somewhere where the author would post weekly challenges and then post the solutions the following week. I cannot remember the title, does anyone else know where this blog is? Thanks.","meta":"{'source': 'reddit_posts', 'id': '2j5jcu', 'title': 'Looking for Python blog.', 'author': 'mutoeien', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': 'There was a blogspot somewhere where the author would post weekly challenges and then post the solutions the following week. I cannot remember the title, does anyone else know where this blog is? Thanks.', 'body_is_trimmed': False, 'score': 14, 'over_18': False, 'num_comments': 6, 'created_utc': '1413235200'}"}
{"id":"1050391","text":"Title: What can I do with csrfToken cookie value?\nThe text below was posted in an online community called cakephp in the year 2022:\n\nDear Everyone!\n\nI would like to send a POST from Harbor to one of the methods in CakePhp 4.  \nI can query the value of csrfToken from cookie. If I send this back in header, it got error.  \nThe csrfToken value in the cookie is different from the value queried with $this-&gt;request-&gt;getAttribute('csrfToken').  \nBut I can only retrieve the cookie from the Harbor language. What can I do with the query value from cookie?\n\nThanks.\n\nRegards, Zsolt","meta":"{'source': 'reddit_posts', 'id': 'v1q7va', 'title': 'What can I do with csrfToken cookie value?', 'author': 'Swimming_Move1177', 'subreddit': 'cakephp', 'subreddit_id': '2qmm0', 'body': \"Dear Everyone!\\n\\nI would like to send a POST from Harbor to one of the methods in CakePhp 4.  \\nI can query the value of csrfToken from cookie. If I send this back in header, it got error.  \\nThe csrfToken value in the cookie is different from the value queried with $this-&gt;request-&gt;getAttribute('csrfToken').  \\nBut I can only retrieve the cookie from the Harbor language. What can I do with the query value from cookie?\\n\\nThanks.\\n\\nRegards, Zsolt\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 1, 'created_utc': 1654003463}"}
{"id":"2316452","text":"Title: Resources to see how exec() works\nThe text below was posted in an online community called C_Programming in the year 2022:\n\nIve been learning about program loaders, virtual memory, and memory management and I want to learn how exec works in a modern Unix system.\n\nI see many resources on malloc() and how it works, but not much on exec()","meta":"{'source': 'reddit_posts', 'id': 'usiho7', 'title': 'Resources to see how exec() works', 'author': 'hungry_squared_hippo', 'subreddit': 'C_Programming', 'subreddit_id': '2qhoe', 'body': 'Ive been learning about program loaders, virtual memory, and memory management and I want to learn how exec works in a modern Unix system.\\n\\nI see many resources on malloc() and how it works, but not much on exec()', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 13, 'created_utc': 1652895936}"}
{"id":"1719886","text":"Title: Question about devs creating their game engine for Flutter\nThe text below was posted in an online community called FlutterDev in the year 2021:\n\nHi! I benignantly wonder why Flutter devs recommend each other to use Flame or SpriteWidget, which requires you to invest fair amount of time to implement at least something like this: [https:\/\/www.youtube.com\/watch?v=k4W0PmZGjX4](https:\/\/www.youtube.com\/watch?v=k4W0PmZGjX4)\n\nWhereas there is Unity, which allows you to skip learning of new tools like aforementioned and concentrate on game logic, and later port it to all known platforms including Android and iOS. I know they ask you to buy license after you reach $100k\/year, but let's be realistic ;)\n\nSorry for probably silly question, but still it's bugging my mind.","meta":"{'source': 'reddit_posts', 'id': 'kqdlqx', 'title': 'Question about devs creating their game engine for Flutter', 'author': 'fabulousausage', 'subreddit': 'FlutterDev', 'subreddit_id': '2x3q8', 'body': \"Hi! I benignantly wonder why Flutter devs recommend each other to use Flame or SpriteWidget, which requires you to invest fair amount of time to implement at least something like this: [https:\/\/www.youtube.com\/watch?v=k4W0PmZGjX4](https:\/\/www.youtube.com\/watch?v=k4W0PmZGjX4)\\n\\nWhereas there is Unity, which allows you to skip learning of new tools like aforementioned and concentrate on game logic, and later port it to all known platforms including Android and iOS. I know they ask you to buy license after you reach $100k\/year, but let's be realistic ;)\\n\\nSorry for probably silly question, but still it's bugging my mind.\", 'body_is_trimmed': False, 'score': 11, 'over_18': False, 'num_comments': 19, 'created_utc': 1609782172}"}
{"id":"1608874","text":"Title: Apple Magic Keyboard 1 vs 2?\nThe text below was posted in an online community called apple in the year 2017:\n\nLooking to pick up a Magic keyboard to use with a Macbook and iPad, I have read a lot of mixed reviews on the Magic 2, anyone used both and can say what they prefer?","meta":"{'source': 'reddit_posts', 'id': '6j98wm', 'title': 'Apple Magic Keyboard 1 vs 2?', 'author': 'rsplatpc', 'subreddit': 'apple', 'subreddit_id': '2qh1f', 'body': 'Looking to pick up a Magic keyboard to use with a Macbook and iPad, I have read a lot of mixed reviews on the Magic 2, anyone used both and can say what they prefer?', 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 8, 'created_utc': 1498323986}"}
{"id":"1702793","text":"Title: Windows Server security\nThe text below was posted in an online community called windows in the year 2020:\n\nHi Everybody,\n\nI've been using a windows server and it has been working fine so far. However i was just a little curious about any security vulnerabilities there are and how i could fix them. Or any other things i should do to keep my server safe. \n\nAlso its 2016 Windows Dedicated Server","meta":"{'source': 'reddit_posts', 'id': 'gpqnf0', 'title': 'Windows Server security', 'author': 'aabccdg', 'subreddit': 'windows', 'subreddit_id': '2qh3k', 'body': \"Hi Everybody,\\n\\nI've been using a windows server and it has been working fine so far. However i was just a little curious about any security vulnerabilities there are and how i could fix them. Or any other things i should do to keep my server safe. \\n\\nAlso its 2016 Windows Dedicated Server\", 'body_is_trimmed': False, 'score': 4, 'over_18': False, 'num_comments': 4, 'created_utc': 1590330910}"}
{"id":"668732","text":"Title: Will upgrading the RAM in my iMac make a noticeable difference in speed?\nThe text below was posted in an online community called mac in the year 2021:\n\nI have a late 2015 27 inch iMac (3.2 GHz Quadcore i5,1 TB HDD, 8 GB DDR3).  Ever since I upgraded to Big Sur, it feels like it drags a lot, especially when I have more than a few apps open.  I use it primarily for web surfing via Safari, MS Office apps, and some occasional video and podcast editing in iMovie and GarageBand, though I do not run all these apps at the same time.\n\nI am wondering if doubling the RAM to 16 GB will provide that noticeable of a difference.  I have also seen another post in which the OP ended up purchasing an external SSD and using that as their boot drive, and said it made a tremendous difference, so I am considering that upgrade as well.  I only have the funds for one of the two upgrades currently, so I am trying to get the most bang for my buck.\n\nThis is my first Mac, and I've had it for 3 years.  Coming from PCs all my life, I'm used to more RAM making a huge performance difference, but I have read in a couple of places that Apple's RAM management is supposedly such that, if your machine has the minimum necessary for an OS version, more won't make a big difference unless you're multitasking like crazy.  Just curious what you folks in this sub think.  Thanks.","meta":"{'source': 'reddit_posts', 'id': 'qatkt9', 'title': 'Will upgrading the RAM in my iMac make a noticeable difference in speed?', 'author': 'giantcarbonatedsoda', 'subreddit': 'mac', 'subreddit_id': '2qh4u', 'body': \"I have a late 2015 27 inch iMac (3.2 GHz Quadcore i5,1 TB HDD, 8 GB DDR3).  Ever since I upgraded to Big Sur, it feels like it drags a lot, especially when I have more than a few apps open.  I use it primarily for web surfing via Safari, MS Office apps, and some occasional video and podcast editing in iMovie and GarageBand, though I do not run all these apps at the same time.\\n\\nI am wondering if doubling the RAM to 16 GB will provide that noticeable of a difference.  I have also seen another post in which the OP ended up purchasing an external SSD and using that as their boot drive, and said it made a tremendous difference, so I am considering that upgrade as well.  I only have the funds for one of the two upgrades currently, so I am trying to get the most bang for my buck.\\n\\nThis is my first Mac, and I've had it for 3 years.  Coming from PCs all my life, I'm used to more RAM making a huge performance difference, but I have read in a couple of places that Apple's RAM management is supposedly such that, if your machine has the minimum necessary for an OS version, more won't make a big difference unless you're multitasking like crazy.  Just curious what you folks in this sub think.  Thanks.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 14, 'created_utc': 1634584035}"}
{"id":"133961","text":"Title: [Netherlands] salary question when starting midway.\nThe text below was posted in an online community called cscareerquestionsEU in the year 2021:\n\nSo I just saw my salary for this month and I was wondering how the calculation was done.\n\nMade a typo in the title. I didn't start midway. I started on the 5th.\n\nI can't contact hr tomorrow because tomorrow is kings day(holiday).\n\nMy salary went from 4070 to 4900 per month(before tax). Almost a 1000 euro difference. Just checked my salary and it was exactly the same as my old job's with a couple of euros of difference.\n\nMy official start date was the 5th of this month. But 5th was a public holiday. So I missed two working days but I wasn't expecting this much of a difference. Do they also cut the salary for the weekend before? Did they also cut the salary for the public holiday. Can someone explain this ?","meta":"{'source': 'reddit_posts', 'id': 'mz081m', 'title': '[Netherlands] salary question when starting midway.', 'author': 'ikwuz', 'subreddit': 'cscareerquestionsEU', 'subreddit_id': '3j6s1', 'body': \"So I just saw my salary for this month and I was wondering how the calculation was done.\\n\\nMade a typo in the title. I didn't start midway. I started on the 5th.\\n\\nI can't contact hr tomorrow because tomorrow is kings day(holiday).\\n\\nMy salary went from 4070 to 4900 per month(before tax). Almost a 1000 euro difference. Just checked my salary and it was exactly the same as my old job's with a couple of euros of difference.\\n\\nMy official start date was the 5th of this month. But 5th was a public holiday. So I missed two working days but I wasn't expecting this much of a difference. Do they also cut the salary for the weekend before? Did they also cut the salary for the public holiday. Can someone explain this ?\", 'body_is_trimmed': False, 'score': 16, 'over_18': False, 'num_comments': 7, 'created_utc': 1619450773}"}
{"id":"941880","text":"Title: Beginner seeking direction for ML-based project\nThe text below was posted in an online community called learnmachinelearning in the year 2022:\n\nHoping to get some input on some resources or directions that would be useful for me to go in.I'm in a school group right now and have been delegated the task of creating a real-time dynamic gesture detection model for use on a web application with ReactJS. I have very limited experience in ML (like everyone else in my group), and am looking for some guidance on where exactly I would start with something like this.\n\nSo far, we use [MediaPipe](https:\/\/google.github.io\/mediapipe\/solutions\/hands.html) as our hand-recognition library. Most important thing to note is that it outputs 21 different 'landmarks' that correspond to important points on the hand (i.e., palm, knuckles) and their normalized x, y, and z coordinates relative to input camera. Our plan is to somehow choose starting and ending points for gestures (swiping up, down, left and right), to feed those landmark coordinates in with some time variable, and then have some sort of real time model give us the correct label for the swipe, which will be used as an event in React.\n\nI'm certainly lost on how to begin, so if anyone has any ideas, clarifications, or resources on where to start solving this issue, they would be greatly appreciated.","meta":"{'source': 'reddit_posts', 'id': 'scha4l', 'title': 'Beginner seeking direction for ML-based project', 'author': 'dacheezta', 'subreddit': 'learnmachinelearning', 'subreddit_id': '3cqa1', 'body': \"Hoping to get some input on some resources or directions that would be useful for me to go in.I'm in a school group right now and have been delegated the task of creating a real-time dynamic gesture detection model for use on a web application with ReactJS. I have very limited experience in ML (like everyone else in my group), and am looking for some guidance on where exactly I would start with something like this.\\n\\nSo far, we use [MediaPipe](https:\/\/google.github.io\/mediapipe\/solutions\/hands.html) as our hand-recognition library. Most important thing to note is that it outputs 21 different 'landmarks' that correspond to important points on the hand (i.e., palm, knuckles) and their normalized x, y, and z coordinates relative to input camera. Our plan is to somehow choose starting and ending points for gestures (swiping up, down, left and right), to feed those landmark coordinates in with some time variable, and then have some sort of real time model give us the correct label for the swipe, which will be used as an event in React.\\n\\nI'm certainly lost on how to begin, so if anyone has any ideas, clarifications, or resources on where to start solving this issue, they would be greatly appreciated.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 1, 'created_utc': 1643127216}"}
{"id":"1421377","text":"Title: PyQt5 fails to load Could not load the Qt platform plugin \"xcb\"\nThe text below was posted in an online community called archlinux in the year 2019:\n\nI have PyQt5 installed and I am running an application using it. I am using a virtualenv and everything was installed with pip.\n\nWhen I try to launch it I receive the following error:\n\n    WARNING: Could not load the Qt platform plugin \"xcb\" in \"\" even though it was found.\n    WARNING: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.\n    \n    Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.\n\n    Aborted (core dumped)\n\nTrying to debug it with export QT_DEBUG_PLUGINS=1, I get:\n\n\n\n    WARNING: QFactoryLoader888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4QFactoryLoader() looking at \"\/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqwayland-egl.so\"\n    WARNING: Found metadata in lib \/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqwayland-egl.so, metadata=\n    {\n        \"IID\": \"org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3\",\n        \"MetaData\": {\n            \"Keys\": [\n                \"wayland-egl\"\n            ]\n        },\n        \"archreq\": 0,\n        \"className\": \"QWaylandEglPlatformIntegrationPlugin\",\n        \"debug\": false,\n        \"version\": 330752\n    }\n\n\n    WARNING: Got keys from plugin meta data (\"wayland-egl\")\n    WARNING: QFactoryLoader888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4QFactoryLoader() looking at \"\/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqwayland-generic.so\"\n    WARNING: Found metadata in lib \/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqwayland-generic.so, metadata=\n    {\n        \"IID\": \"org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3\",\n        \"MetaData\": {\n            \"Keys\": [\n                \"wayland\"\n            ]\n        },\n        \"archreq\": 0,\n        \"className\": \"QWaylandIntegrationPlugin\",\n        \"debug\": false,\n        \"version\": 330752\n    }\n\n\n    WARNING: Got keys from plugin meta data (\"wayland\")\n    WARNING: QFactoryLoader888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4QFactoryLoader() looking at \"\/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqwayland-xcomposite-egl.so\"\n    WARNING: Found metadata in lib \/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqwayland-xcomposite-egl.so, metadata=\n    {\n        \"IID\": \"org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3\",\n        \"MetaData\": {\n            \"Keys\": [\n                \"wayland-xcomposite-egl\"\n            ]\n        },\n        \"archreq\": 0,\n        \"className\": \"QWaylandXCompositeEglPlatformIntegrationPlugin\",\n        \"debug\": false,\n        \"version\": 330752\n    }\n\n\n    WARNING: Got keys from plugin meta data (\"wayland-xcomposite-egl\")\n    WARNING: QFactoryLoader888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4QFactoryLoader() looking at \"\/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqwayland-xcomposite-glx.so\"\n    WARNING: Found metadata in lib \/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqwayland-xcomposite-glx.so, metadata=\n    {\n        \"IID\": \"org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3\",\n        \"MetaData\": {\n            \"Keys\": [\n                \"wayland-xcomposite-glx\"\n            ]\n        },\n        \"archreq\": 0,\n        \"className\": \"QWaylandXCompositeGlxPlatformIntegrationPlugin\",\n        \"debug\": false,\n        \"version\": 330752\n    }\n\n\n    WARNING: Got keys from plugin meta data (\"wayland-xcomposite-glx\")\n    WARNING: QFactoryLoader888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4QFactoryLoader() looking at \"\/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqwebgl.so\"\n    WARNING: Found metadata in lib \/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqwebgl.so, metadata=\n    {\n        \"IID\": \"org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3\",\n        \"MetaData\": {\n            \"Keys\": [\n                \"webgl\"\n            ]\n        },\n        \"archreq\": 0,\n        \"className\": \"QWebGLIntegrationPlugin\",\n        \"debug\": false,\n        \"version\": 330752\n    }\n\n\n    WARNING: Got keys from plugin meta data (\"webgl\")\n    WARNING: QFactoryLoader888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4QFactoryLoader() looking at \"\/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqxcb.so\"\n    WARNING: Found metadata in lib \/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqxcb.so, metadata=\n    {\n        \"IID\": \"org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3\",\n        \"MetaData\": {\n            \"Keys\": [\n                \"xcb\"\n            ]\n        },\n        \"archreq\": 0,\n        \"className\": \"QXcbIntegrationPlugin\",\n        \"debug\": false,\n        \"version\": 330752\n    }\n\n\n    WARNING: Got keys from plugin meta data (\"xcb\")\n    WARNING: QFactoryLoader888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4QFactoryLoader() checking directory path \"\/usr\/bin\/platforms\" ...\n    WARNING: Cannot load library \/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqxcb.so: (\/lib\/libQt5XcbQpa.so.5: symbol _ZTI23QPlatformVulkanInstance version Qt_5_PRIVATE_API not defined in file libQt5Gui.so.5 with link time reference)\n    WARNING: QLibraryPrivat888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4loadPlugin failed on \"\/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqxcb.so\" : \"Cannot load library \/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqxcb.so: (\/lib\/libQt5XcbQpa.so.5: symbol _ZTI23QPlatformVulkanInstance version Qt_5_PRIVATE_API not defined in file libQt5Gui.so.5 with link time reference)\"\n    WARNING: Could not load the Qt platform plugin \"xcb\" in \"\" even though it was found.\n    WARNING: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.\n\n    Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.\n\n    Aborted (core dumped)","meta":"{'source': 'reddit_posts', 'id': 'bzowkd', 'title': 'PyQt5 fails to load Could not load the Qt platform plugin \"xcb\"', 'author': 'the_phet', 'subreddit': 'archlinux', 'subreddit_id': '2qrzu', 'body': 'I have PyQt5 installed and I am running an application using it. I am using a virtualenv and everything was installed with pip.\\n\\nWhen I try to launch it I receive the following error:\\n\\n    WARNING: Could not load the Qt platform plugin \"xcb\" in \"\" even though it was found.\\n    WARNING: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.\\n    \\n    Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.\\n\\n    Aborted (core dumped)\\n\\nTrying to debug it with export QT_DEBUG_PLUGINS=1, I get:\\n\\n\\n\\n    WARNING: QFactoryLoader::QFactoryLoader() looking at \"\/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqwayland-egl.so\"\\n    WARNING: Found metadata in lib \/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqwayland-egl.so, metadata=\\n    {\\n        \"IID\": \"org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3\",\\n        \"MetaData\": {\\n            \"Keys\": [\\n                \"wayland-egl\"\\n            ]\\n        },\\n        \"archreq\": 0,\\n        \"className\": \"QWaylandEglPlatformIntegrationPlugin\",\\n        \"debug\": false,\\n        \"version\": 330752\\n    }\\n\\n\\n    WARNING: Got keys from plugin meta data (\"wayland-egl\")\\n    WARNING: QFactoryLoader::QFactoryLoader() looking at \"\/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqwayland-generic.so\"\\n    WARNING: Found metadata in lib \/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqwayland-generic.so, metadata=\\n    {\\n        \"IID\": \"org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3\",\\n        \"MetaData\": {\\n            \"Keys\": [\\n                \"wayland\"\\n            ]\\n        },\\n        \"archreq\": 0,\\n        \"className\": \"QWaylandIntegrationPlugin\",\\n        \"debug\": false,\\n        \"version\": 330752\\n    }\\n\\n\\n    WARNING: Got keys from plugin meta data (\"wayland\")\\n    WARNING: QFactoryLoader::QFactoryLoader() looking at \"\/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqwayland-xcomposite-egl.so\"\\n    WARNING: Found metadata in lib \/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqwayland-xcomposite-egl.so, metadata=\\n    {\\n        \"IID\": \"org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3\",\\n        \"MetaData\": {\\n            \"Keys\": [\\n                \"wayland-xcomposite-egl\"\\n            ]\\n        },\\n        \"archreq\": 0,\\n        \"className\": \"QWaylandXCompositeEglPlatformIntegrationPlugin\",\\n        \"debug\": false,\\n        \"version\": 330752\\n    }\\n\\n\\n    WARNING: Got keys from plugin meta data (\"wayland-xcomposite-egl\")\\n    WARNING: QFactoryLoader::QFactoryLoader() looking at \"\/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqwayland-xcomposite-glx.so\"\\n    WARNING: Found metadata in lib \/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqwayland-xcomposite-glx.so, metadata=\\n    {\\n        \"IID\": \"org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3\",\\n        \"MetaData\": {\\n            \"Keys\": [\\n                \"wayland-xcomposite-glx\"\\n            ]\\n        },\\n        \"archreq\": 0,\\n        \"className\": \"QWaylandXCompositeGlxPlatformIntegrationPlugin\",\\n        \"debug\": false,\\n        \"version\": 330752\\n    }\\n\\n\\n    WARNING: Got keys from plugin meta data (\"wayland-xcomposite-glx\")\\n    WARNING: QFactoryLoader::QFactoryLoader() looking at \"\/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqwebgl.so\"\\n    WARNING: Found metadata in lib \/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqwebgl.so, metadata=\\n    {\\n        \"IID\": \"org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3\",\\n        \"MetaData\": {\\n            \"Keys\": [\\n                \"webgl\"\\n            ]\\n        },\\n        \"archreq\": 0,\\n        \"className\": \"QWebGLIntegrationPlugin\",\\n        \"debug\": false,\\n        \"version\": 330752\\n    }\\n\\n\\n    WARNING: Got keys from plugin meta data (\"webgl\")\\n    WARNING: QFactoryLoader::QFactoryLoader() looking at \"\/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqxcb.so\"\\n    WARNING: Found metadata in lib \/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqxcb.so, metadata=\\n    {\\n        \"IID\": \"org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3\",\\n        \"MetaData\": {\\n            \"Keys\": [\\n                \"xcb\"\\n            ]\\n        },\\n        \"archreq\": 0,\\n        \"className\": \"QXcbIntegrationPlugin\",\\n        \"debug\": false,\\n        \"version\": 330752\\n    }\\n\\n\\n    WARNING: Got keys from plugin meta data (\"xcb\")\\n    WARNING: QFactoryLoader::QFactoryLoader() checking directory path \"\/usr\/bin\/platforms\" ...\\n    WARNING: Cannot load library \/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqxcb.so: (\/lib\/libQt5XcbQpa.so.5: symbol _ZTI23QPlatformVulkanInstance version Qt_5_PRIVATE_API not defined in file libQt5Gui.so.5 with link time reference)\\n    WARNING: QLibraryPrivate::loadPlugin failed on \"\/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqxcb.so\" : \"Cannot load library \/home\/juanma\/Projects\/ChemCAD\/ChemCAD\/venv\/lib\/python3.7\/site-packages\/PyQt5\/Qt\/plugins\/platforms\/libqxcb.so: (\/lib\/libQt5XcbQpa.so.5: symbol _ZTI23QPlatformVulkanInstance version Qt_5_PRIVATE_API not defined in file libQt5Gui.so.5 with link time reference)\"\\n    WARNING: Could not load the Qt platform plugin \"xcb\" in \"\" even though it was found.\\n    WARNING: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.\\n\\n    Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.\\n\\n    Aborted (core dumped)', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 7, 'created_utc': 1560330762}"}
{"id":"2232632","text":"Title: Hi r\/learnprogramming! I've been learning a \"Code your own adventure\" on Codecademy, and I wanted to elaborate on what I had made. Can someone please tell me how to redirect my answers? (more info inside)\nThe text below was posted in an online community called learnprogramming in the year 2015:\n\nSo I've been working on using a switch statement, and when a user reaches a dead end I want to be able to redirect them back to the beginning again. Any advice on how to do this?\n\n\nHere is my code:\n\nhttp:\/\/pastebin.com\/jxJA3A8u\n\nI hope you can help! Thanks a ton!\n\n\nedit: I have no idea how to format coding or reddit. I used a pastebin instead.\n\n\nedit 2: Thanks to everyone who helped! I finally finished it!","meta":"{'source': 'reddit_posts', 'id': '3gx9mr', 'title': 'Hi r\/learnprogramming! I\\'ve been learning a \"Code your own adventure\" on Codecademy, and I wanted to elaborate on what I had made. Can someone please tell me how to redirect my answers? (more info inside)', 'author': 'Bigtris', 'subreddit': 'learnprogramming', 'subreddit_id': '2r7yd', 'body': \"So I've been working on using a switch statement, and when a user reaches a dead end I want to be able to redirect them back to the beginning again. Any advice on how to do this?\\n\\n\\nHere is my code:\\n\\nhttp:\/\/pastebin.com\/jxJA3A8u\\n\\nI hope you can help! Thanks a ton!\\n\\n\\nedit: I have no idea how to format coding or reddit. I used a pastebin instead.\\n\\n\\nedit 2: Thanks to everyone who helped! I finally finished it!\", 'body_is_trimmed': False, 'score': 55, 'over_18': False, 'num_comments': 16, 'created_utc': '1439516217'}"}
{"id":"682482","text":"Title: Big Data or Cloud Computing\nThe text below was posted in an online community called cscareerquestions in the year 2021:\n\nI am considering 2 SWE offers, specializing in different areas.\n\nOne is building cloud saas focused on Identity Management, e.g. SSO \/ Active Directory.\n\nThe other is focused on Big Data Analytics, building distributed systems for data processing, e.g. Detect Data Anomaly\n\nWhich do you think would give me a better career trajectory? I am interested in both, and both are intermediate role with similar compensation.\n\nI have 2.5 years of experience with backend oriented developments.","meta":"{'source': 'reddit_posts', 'id': 'meb29e', 'title': 'Big Data or Cloud Computing', 'author': 'a_dingo_berry', 'subreddit': 'cscareerquestions', 'subreddit_id': '2sdpm', 'body': 'I am considering 2 SWE offers, specializing in different areas.\\n\\nOne is building cloud saas focused on Identity Management, e.g. SSO \/ Active Directory.\\n\\nThe other is focused on Big Data Analytics, building distributed systems for data processing, e.g. Detect Data Anomaly\\n\\nWhich do you think would give me a better career trajectory? I am interested in both, and both are intermediate role with similar compensation.\\n\\nI have 2.5 years of experience with backend oriented developments.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 4, 'created_utc': 1616840300}"}
{"id":"493802","text":"Title: Question about income tax\nThe text below was posted in an online community called androiddev in the year 2014:\n\nHi \/r\/androiddev. I know this question has been asked in this subreddit a handful of times throughout the past few years, and I've done tons of searching around the internet for a definitive answer, but this whole thing has been very confusing. Me and another developer have recently published an application in the play store, and over the past few days it has generated roughly $2,500 after we released a long awaited update and marketed the app. We weren't anticipating sales like this, so we suddenly realized that we would have to look into filing it as income. The developer and I split the revenue 50\/50 after Google takes their cut, but he is the actual account holder and is the one who receives the payouts (he splits the payout and sends my pay via Chase Quickpay). Since we are suddenly looking at bigger numbers, would someone be able to provide some advice for us (in the context of taxes) given our situation? We're both pretty new to this so it's pretty confusing! \n\nHelp would be greatly appreciated. Thanks guys! \n\nEdit: Forgot to mention, we're both in the United States.","meta":"{'source': 'reddit_posts', 'id': '2b68py', 'title': 'Question about income tax', 'author': 'alexpasquarella', 'subreddit': 'androiddev', 'subreddit_id': '2r26y', 'body': \"Hi \/r\/androiddev. I know this question has been asked in this subreddit a handful of times throughout the past few years, and I've done tons of searching around the internet for a definitive answer, but this whole thing has been very confusing. Me and another developer have recently published an application in the play store, and over the past few days it has generated roughly $2,500 after we released a long awaited update and marketed the app. We weren't anticipating sales like this, so we suddenly realized that we would have to look into filing it as income. The developer and I split the revenue 50\/50 after Google takes their cut, but he is the actual account holder and is the one who receives the payouts (he splits the payout and sends my pay via Chase Quickpay). Since we are suddenly looking at bigger numbers, would someone be able to provide some advice for us (in the context of taxes) given our situation? We're both pretty new to this so it's pretty confusing! \\n\\nHelp would be greatly appreciated. Thanks guys! \\n\\nEdit: Forgot to mention, we're both in the United States.\", 'body_is_trimmed': False, 'score': 9, 'over_18': False, 'num_comments': 18, 'created_utc': '1405816289'}"}
{"id":"2173217","text":"Title: Regular expressions - date format\nThe text below was posted in an online community called learnpython in the year 2021:\n\nI am learning Python. I am trying to clean up date formats using regular expressions (I am not using datetime modules for this exercise). For example I have this code:\n\n`import re`  \n`text = \"3\/14\/2019, 03-14-2019, and 2015\/3\/19\"`  \n`date_regex = re.compile(r\"(\\d+)[-\/](\\d+)[-\/](\\d+)\")`  \n`new_regex = date_regex.sub(r'\\2-\\1-\\3', text)`  \n`print(new_regex)`\n\nThis works for the first two dates but not for the last one. Also, I realize that if I had a date in the European format (ddmmyyyy) this code would not work either.  I know this is pretty basic but I am very much a beginner. Thanks in advance.","meta":"{'source': 'reddit_posts', 'id': 'resb5h', 'title': 'Regular expressions - date format', 'author': 'freeclips', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': 'I am learning Python. I am trying to clean up date formats using regular expressions (I am not using datetime modules for this exercise). For example I have this code:\\n\\n`import re`  \\n`text = \"3\/14\/2019, 03-14-2019, and 2015\/3\/19\"`  \\n`date_regex = re.compile(r\"(\\\\d+)[-\/](\\\\d+)[-\/](\\\\d+)\")`  \\n`new_regex = date_regex.sub(r\\'\\\\2-\\\\1-\\\\3\\', text)`  \\n`print(new_regex)`\\n\\nThis works for the first two dates but not for the last one. Also, I realize that if I had a date in the European format (ddmmyyyy) this code would not work either.  I know this is pretty basic but I am very much a beginner. Thanks in advance.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 4, 'created_utc': 1639326060}"}
{"id":"1573008","text":"Title: Why doesn't this work? (New to Python)\nThe text below was posted in an online community called learnpython in the year 2020:\n\nI'm writing a program that will read a text file and create a new text file where all the 4 letter words in the original text file are replaced by 'xxxx'.\n\nhere's what I've got:\n\n    def censor(filename):\n        filestrings = open(filename, 'r')\n        for strs in filestrings:\n            words = strs.split(' ')\n        if len(words) == 4:\n            strs.replace(words, xxxx)\n            print(strs)\n\nIt seems like my split method creates a bunch of lists with different words. This could be causing issues, maybe not. I do not wish for 'efficiency' guidance or those complicated 'one-liners' (but feel free to post them if you know how) as I am new to python, the simpler the code the better for me.\n\nAlso, I realize I don't have anything written to create a new text file. I'm not sure how to do this, and was planning on learning how after I worked out my original program. Anyways, thanks for reading, anything is appreciated :)","meta":"{'source': 'reddit_posts', 'id': 'g9h902', 'title': \"Why doesn't this work? (New to Python)\", 'author': 'moonermatt', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': \"I'm writing a program that will read a text file and create a new text file where all the 4 letter words in the original text file are replaced by 'xxxx'.\\n\\nhere's what I've got:\\n\\n    def censor(filename):\\n        filestrings = open(filename, 'r')\\n        for strs in filestrings:\\n            words = strs.split(' ')\\n        if len(words) == 4:\\n            strs.replace(words, xxxx)\\n            print(strs)\\n\\nIt seems like my split method creates a bunch of lists with different words. This could be causing issues, maybe not. I do not wish for 'efficiency' guidance or those complicated 'one-liners' (but feel free to post them if you know how) as I am new to python, the simpler the code the better for me.\\n\\nAlso, I realize I don't have anything written to create a new text file. I'm not sure how to do this, and was planning on learning how after I worked out my original program. Anyways, thanks for reading, anything is appreciated :)\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 6, 'created_utc': 1588051475}"}
{"id":"1805468","text":"Title: How to set up a VPN connection on Ubuntu 16.04?\nThe text below was posted in an online community called linux4noobs in the year 2018:\n\nMy provider is PIA and I dont know how to do it. Any advice is appreciated.","meta":"{'source': 'reddit_posts', 'id': '9vg548', 'title': 'How to set up a VPN connection on Ubuntu 16.04?', 'author': 'zyxene', 'subreddit': 'linux4noobs', 'subreddit_id': '2qy7t', 'body': 'My provider is PIA and I dont know how to do it. Any advice is appreciated.', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 4, 'created_utc': 1541727263}"}
{"id":"214808","text":"Title: I would like to record my game footage, I used Unity Recorder before but it sadly does not record audio, any other recommendations?\nThe text below was posted in an online community called Unity3D in the year 2018:\n\nI want to showcase some segments of my game, but capturing with a gif tool is very low quality, I liked the Unity Recorder but it does not record Audio unfortunately.","meta":"{'source': 'reddit_posts', 'id': '9847kq', 'title': 'I would like to record my game footage, I used Unity Recorder before but it sadly does not record audio, any other recommendations?', 'author': 'DavoMyan', 'subreddit': 'Unity3D', 'subreddit_id': '2qwj8', 'body': 'I want to showcase some segments of my game, but capturing with a gif tool is very low quality, I liked the Unity Recorder but it does not record Audio unfortunately.', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 8, 'created_utc': 1534526820}"}
{"id":"1426675","text":"Title: Add manager to correct group based on UnitID\nThe text below was posted in an online community called PowerShell in the year 2019:\n\nExample on how my Manager_list.txt looks like\t\tEach UnitID can only have one Manager\n    \n    UnitID;Manager;                      \n    1000;Manager1;     \n    1001;Manager2;         \n    1100;Manager3;     \n    1150;Manager4;   \n    1300;Manager5;\n    \n    \n    \n    \n    Example on how my Group_list.txt looks like\t\tEach UnitID can have more than one Group\n    \n    UnitID;Group;\n    1000;Group1;\n    1001;Group2;\n    1100;Group3;\n    1150;Group4;\n    1300;Group5;\n    1300;Group6;\n    1400;Group7;\n    1400;Group8;\n    \n    \n    Need to create a script that creates \"Combine.txt\" that combine 'Group_list.txt' and 'Manager_list.txt' by adding the right manager to the correct UnitID\n    \n    UnitID;Group;Manager                      \n    1000;Group1;Manager1;\n    1001;Group2;Manager2; \n    1300;Group5;Manager5;\n    1300;Group6;Manager5;\n\nDoes anyone know if there is a script that does this, or could lead me to example on how to do this?\n\n&amp;#x200B;\n\nWhen I have this file, use this combined tile do the following:\n\n&amp;#x200B;\n\nCheck if GroupX in it's AD group object (notes\/info field) contains UnitIDX , if yes. add ManagerX that has the same UnitIDX as GroupX.\n\n&amp;#x200B;\n\nMy plan was to use the information from the combine.txt file first ting first before the combine stuff is done. That means using \"old\" data before it get update from the \"Add manager to group\" script. The reason for this is that I want to delete the managers from the ad group that they are assosiated with. This is to be sure it's always the latest manager that's added to the group when the script \"Add manager to group\" runs. The Manager\\_list.txt could get updatet every day.\n\nWhen that's done, go ahead and add correct manager to right group based on UnitID.\n\n&amp;#x200B;\n\nDoes it make sense, and does anyone know how to get around this? If someone has done anything like this and have a script, please let me now ;)\n\n&amp;#x200B;\n\nI'm happy just to get referense to other script that does similar jobs, and I'll give it a try to see if I'm able to fix my task.","meta":"{'source': 'reddit_posts', 'id': 'awo4hl', 'title': 'Add manager to correct group based on UnitID', 'author': 'sralEd', 'subreddit': 'PowerShell', 'subreddit_id': '2qo1o', 'body': 'Example on how my Manager_list.txt looks like\\t\\tEach UnitID can only have one Manager\\n    \\n    UnitID;Manager;                      \\n    1000;Manager1;     \\n    1001;Manager2;         \\n    1100;Manager3;     \\n    1150;Manager4;   \\n    1300;Manager5;\\n    \\n    \\n    \\n    \\n    Example on how my Group_list.txt looks like\\t\\tEach UnitID can have more than one Group\\n    \\n    UnitID;Group;\\n    1000;Group1;\\n    1001;Group2;\\n    1100;Group3;\\n    1150;Group4;\\n    1300;Group5;\\n    1300;Group6;\\n    1400;Group7;\\n    1400;Group8;\\n    \\n    \\n    Need to create a script that creates \"Combine.txt\" that combine \\'Group_list.txt\\' and \\'Manager_list.txt\\' by adding the right manager to the correct UnitID\\n    \\n    UnitID;Group;Manager                      \\n    1000;Group1;Manager1;\\n    1001;Group2;Manager2; \\n    1300;Group5;Manager5;\\n    1300;Group6;Manager5;\\n\\nDoes anyone know if there is a script that does this, or could lead me to example on how to do this?\\n\\n&amp;#x200B;\\n\\nWhen I have this file, use this combined tile do the following:\\n\\n&amp;#x200B;\\n\\nCheck if GroupX in it\\'s AD group object (notes\/info field) contains UnitIDX , if yes. add ManagerX that has the same UnitIDX as GroupX.\\n\\n&amp;#x200B;\\n\\nMy plan was to use the information from the combine.txt file first ting first before the combine stuff is done. That means using \"old\" data before it get update from the \"Add manager to group\" script. The reason for this is that I want to delete the managers from the ad group that they are assosiated with. This is to be sure it\\'s always the latest manager that\\'s added to the group when the script \"Add manager to group\" runs. The Manager\\\\_list.txt could get updatet every day.\\n\\nWhen that\\'s done, go ahead and add correct manager to right group based on UnitID.\\n\\n&amp;#x200B;\\n\\nDoes it make sense, and does anyone know how to get around this? If someone has done anything like this and have a script, please let me now ;)\\n\\n&amp;#x200B;\\n\\nI\\'m happy just to get referense to other script that does similar jobs, and I\\'ll give it a try to see if I\\'m able to fix my task.', 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 8, 'created_utc': 1551571149}"}
{"id":"2340101","text":"Title: My first react-native app. The primary language is Vietnamese. News for Mother and Girls\nThe text below was posted in an online community called reactnative in the year 2020:\n\nFor Android: [https:\/\/play.google.com\/store\/apps\/details?id=com.fresco.moki](https:\/\/play.google.com\/store\/apps\/details?id=com.fresco.moki)\n\nFor iOS: [https:\/\/apps.apple.com\/us\/app\/id1533938450](https:\/\/apps.apple.com\/us\/app\/id1533938450)\n\nIt includes code-push, realmJS.\n\nFeel free to ask any questions about the technology of this app. I'm available to answer all of you","meta":"{'source': 'reddit_posts', 'id': 'j7a2db', 'title': 'My first react-native app. The primary language is Vietnamese. News for Mother and Girls', 'author': 'fres_co', 'subreddit': 'reactnative', 'subreddit_id': '37k5y', 'body': \"For Android: [https:\/\/play.google.com\/store\/apps\/details?id=com.fresco.moki](https:\/\/play.google.com\/store\/apps\/details?id=com.fresco.moki)\\n\\nFor iOS: [https:\/\/apps.apple.com\/us\/app\/id1533938450](https:\/\/apps.apple.com\/us\/app\/id1533938450)\\n\\nIt includes code-push, realmJS.\\n\\nFeel free to ask any questions about the technology of this app. I'm available to answer all of you\", 'body_is_trimmed': False, 'score': 43, 'over_18': False, 'num_comments': 15, 'created_utc': 1602149535}"}
{"id":"11047","text":"Title: \/r\/ReverseEngineering's Triannual Hiring Thread\nThe text below was posted in an online community called ReverseEngineering in the year 2020:\n\nIf there are open positions involving reverse engineering at your place of employment, please post them here. The user base is an inquisitive lot, so please only post if you are willing to answer non-trivial questions about the position(s). Failure to provide the details in the following format and\/or answer questions will result in the post's removal.\n\nPlease elucidate along the following lines:\n\n* Describe the position as thoroughly as possible. \n* Where is the position located? \n* Is telecommuting permissible? \n* Does the company provide relocation? \n* Is it mandatory that the applicant be a citizen of the country in which the position is located? \n* If applicable, what is the education \/ certification requirement? Is a security clearance required? If so, at what level? \n* How should candidates apply for the position?\n\nReaders are encouraged to ask clarifying questions. However, please keep the signal-to-noise ratio high and do not blather. Please use moderator mail for feedback.\n\nContract projects requiring a reverse engineer can also be posted here.\n\nIf you're aware of any academic positions relating to reverse engineering or program analysis in general, feel free to post those here too!","meta":"{'source': 'reddit_posts', 'id': 'hr35zh', 'title': \"\/r\/ReverseEngineering's Triannual Hiring Thread\", 'author': 'AutoModerator', 'subreddit': 'ReverseEngineering', 'subreddit_id': '2qmd0', 'body': \"If there are open positions involving reverse engineering at your place of employment, please post them here. The user base is an inquisitive lot, so please only post if you are willing to answer non-trivial questions about the position(s). Failure to provide the details in the following format and\/or answer questions will result in the post's removal.\\n\\nPlease elucidate along the following lines:\\n\\n* Describe the position as thoroughly as possible. \\n* Where is the position located? \\n* Is telecommuting permissible? \\n* Does the company provide relocation? \\n* Is it mandatory that the applicant be a citizen of the country in which the position is located? \\n* If applicable, what is the education \/ certification requirement? Is a security clearance required? If so, at what level? \\n* How should candidates apply for the position?\\n\\nReaders are encouraged to ask clarifying questions. However, please keep the signal-to-noise ratio high and do not blather. Please use moderator mail for feedback.\\n\\nContract projects requiring a reverse engineer can also be posted here.\\n\\nIf you're aware of any academic positions relating to reverse engineering or program analysis in general, feel free to post those here too!\", 'body_is_trimmed': False, 'score': 51, 'over_18': False, 'num_comments': 12, 'created_utc': 1594739168}"}
{"id":"965165","text":"Title: Mods that make megabasing more ups friendly\nThe text below was posted in an online community called factorio in the year 2020:\n\nHowdy. I'd like to build a megabase but in my previous attempts my ups starts dipping below 60 around the time I get my first science outposts done, well before I even get things going with adequate smelting, so around 1-2k spm. And I try to be reasonably mindful to use plenty of beacons and fewer entities. My PC is from 2011 so there isn't much I can do, except maybe play the game with mods that change how things are made. Yes, yes, new PC. I know. Maybe after July. \n\nFirst three mods that come to mind are whistle stop factories, miniloaders and maybe mining drones?\n\nI already play with biters and pollution turned off.","meta":"{'source': 'reddit_posts', 'id': 'emoh6s', 'title': 'Mods that make megabasing more ups friendly', 'author': 'ejeckt', 'subreddit': 'factorio', 'subreddit_id': '2wabp', 'body': \"Howdy. I'd like to build a megabase but in my previous attempts my ups starts dipping below 60 around the time I get my first science outposts done, well before I even get things going with adequate smelting, so around 1-2k spm. And I try to be reasonably mindful to use plenty of beacons and fewer entities. My PC is from 2011 so there isn't much I can do, except maybe play the game with mods that change how things are made. Yes, yes, new PC. I know. Maybe after July. \\n\\nFirst three mods that come to mind are whistle stop factories, miniloaders and maybe mining drones?\\n\\nI already play with biters and pollution turned off.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 13, 'created_utc': 1578647316}"}
{"id":"869919","text":"Title: I made a Cricket Sports League Template\nThe text below was posted in an online community called web_design in the year 2021:\n\nHey Everyone - \n\nI recently finished a Sports league template. I picked Cricket as the sport but it can be extended to anything. I used Nextjs + Tailwind CS for the front end with Contentful as the headless CMS so an admin can easily update the team and player info.\n\nDemo: [https:\/\/next-league.vercel.app\/](https:\/\/next-league.vercel.app\/)\n\nWhat do you think? :)\n\n&amp;#x200B;\n\n[preview](https:\/\/preview.redd.it\/5bryd4v3w9p61.png?width=545&amp;format=png&amp;auto=webp&amp;s=5aca9a1d7a6f248c4d1b95652fb38a92dd819116)","meta":"{'source': 'reddit_posts', 'id': 'mdd99e', 'title': 'I made a Cricket Sports League Template', 'author': 'alvisanovari', 'subreddit': 'web_design', 'subreddit_id': '2qh1m', 'body': 'Hey Everyone - \\n\\nI recently finished a Sports league template. I picked Cricket as the sport but it can be extended to anything. I used Nextjs + Tailwind CS for the front end with Contentful as the headless CMS so an admin can easily update the team and player info.\\n\\nDemo: [https:\/\/next-league.vercel.app\/](https:\/\/next-league.vercel.app\/)\\n\\nWhat do you think? :)\\n\\n&amp;#x200B;\\n\\n[preview](https:\/\/preview.redd.it\/5bryd4v3w9p61.png?width=545&amp;format=png&amp;auto=webp&amp;s=5aca9a1d7a6f248c4d1b95652fb38a92dd819116)', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 0, 'created_utc': 1616721037}"}
{"id":"947173","text":"Title: Can\/should regular users disable the Spectre and Meltdown patches for increased performance?\nThe text below was posted in an online community called AskComputerScience in the year 2018:\n\nThis is strictly for Linux,  but if I trust that the apps I run aren't compromised, what's wrong with not using the patch? I don't even know if its installed by default. Yes I keep my system updated but it just says \"kernel update\" so idk if the CPU patches are applied. \n\nThis is for the existing bugs, not counting the news that was just released today. \n\nThanks","meta":"{'source': 'reddit_posts', 'id': '9xe5at', 'title': 'Can\/should regular users disable the Spectre and Meltdown patches for increased performance?', 'author': 'TeddyCuckspin', 'subreddit': 'AskComputerScience', 'subreddit_id': '2shke', 'body': 'This is strictly for Linux,  but if I trust that the apps I run aren\\'t compromised, what\\'s wrong with not using the patch? I don\\'t even know if its installed by default. Yes I keep my system updated but it just says \"kernel update\" so idk if the CPU patches are applied. \\n\\nThis is for the existing bugs, not counting the news that was just released today. \\n\\nThanks', 'body_is_trimmed': False, 'score': 15, 'over_18': False, 'num_comments': 10, 'created_utc': 1542308592}"}
{"id":"2376179","text":"Title: What if I Never update the kernel?\nThe text below was posted in an online community called archlinux in the year 2022:\n\nToday i was wondering: what will happen if i decide to block the kernel from updating BUT update everything else?\n\nWhat's the worst that could happen?\nWill it break something eventually?\nWill everything keep running as usual?\n\nIt's just a curiosity and a sort of mental experiment.","meta":"{'source': 'reddit_posts', 'id': 'si329k', 'title': 'What if I Never update the kernel?', 'author': 'rdasf691', 'subreddit': 'archlinux', 'subreddit_id': '2qrzu', 'body': \"Today i was wondering: what will happen if i decide to block the kernel from updating BUT update everything else?\\n\\nWhat's the worst that could happen?\\nWill it break something eventually?\\nWill everything keep running as usual?\\n\\nIt's just a curiosity and a sort of mental experiment.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 25, 'created_utc': 1643743164}"}
{"id":"223504","text":"Title: Battery shut Down circuit ideas?\nThe text below was posted in an online community called raspberry_pi in the year 2016:\n\nHey, I'm looking for some help with a small circuit for my pi.\n\nIn short, I want to be able to detect when power is cut, and switch to a battery backup to safely shut down the pi. I know this can be done through GPIO monitoring but my issue is the battery backup circuit.\n\nI want to be able to charge the battery whilst the pi is being used. I'm looking at a Pi 3 so there may be a high draw. I'd rather not use the adafruit 500\/1000 boosters if at all possible.\n\nI don't need a massive battery, just something that can hold enough power to shut down the pi safely (always assuming there's nothing from stopping it shutting down). \n\nIdeally it should only use the one GPIO pin which rules out hats etc, and I'd love for it to be pretty cheap.\n\nThe Pi will be powered from a car battery (being used in a car) and the backup battery should be charged whilst the pi is on. This means that when the ignition is switched off the pi will switch to battery power seamlessly, and shut the pi down.\n\nAny ideas or schematics that are easy to follow? There might even be a bounty! (I have a spare pi Zero that I would post at my own cost)\n\nThanks for any help!","meta":"{'source': 'reddit_posts', 'id': '49szt9', 'title': 'Battery shut Down circuit ideas?', 'author': 'nickweb', 'subreddit': 'raspberry_pi', 'subreddit_id': '2syto', 'body': \"Hey, I'm looking for some help with a small circuit for my pi.\\n\\nIn short, I want to be able to detect when power is cut, and switch to a battery backup to safely shut down the pi. I know this can be done through GPIO monitoring but my issue is the battery backup circuit.\\n\\nI want to be able to charge the battery whilst the pi is being used. I'm looking at a Pi 3 so there may be a high draw. I'd rather not use the adafruit 500\/1000 boosters if at all possible.\\n\\nI don't need a massive battery, just something that can hold enough power to shut down the pi safely (always assuming there's nothing from stopping it shutting down). \\n\\nIdeally it should only use the one GPIO pin which rules out hats etc, and I'd love for it to be pretty cheap.\\n\\nThe Pi will be powered from a car battery (being used in a car) and the backup battery should be charged whilst the pi is on. This means that when the ignition is switched off the pi will switch to battery power seamlessly, and shut the pi down.\\n\\nAny ideas or schematics that are easy to follow? There might even be a bounty! (I have a spare pi Zero that I would post at my own cost)\\n\\nThanks for any help!\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 4, 'created_utc': 1457607388}"}
{"id":"218735","text":"Title: What is the difference between .to_string() and String888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4rom() and .into()\nThe text below was posted in an online community called rust in the year 2020:\n\nAs titled. Sorry I am a beginner.\n\nI thought implementing .to\\_string() automatically derives String888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4rom()","meta":"{'source': 'reddit_posts', 'id': 'gohlq2', 'title': 'What is the difference between .to_string() and String::from() and .into()', 'author': 'bxsx0074', 'subreddit': 'rust', 'subreddit_id': '2s7lj', 'body': 'As titled. Sorry I am a beginner.\\n\\nI thought implementing .to\\\\_string() automatically derives String::from()', 'body_is_trimmed': False, 'score': 30, 'over_18': False, 'num_comments': 14, 'created_utc': 1590146787}"}
{"id":"1393583","text":"Title: Any ladies using the wrist temperature on Series 8 for cycle tracking?\nThe text below was posted in an online community called AppleWatch in the year 2022:\n\nI mean I know its not another wrist with an ultra on it, but \n\nAny women using this feature? It was looking forward to the additional data but looks like it doesnt do any of the analysis if youre on any form of BC. With some types you continue to cycle so I was hoping to grab some of this data as I monitor some hormonal changes but looks like I might have to do this manually. \n\nAnyone else tried to do this or have any insight?","meta":"{'source': 'reddit_posts', 'id': 'yhedx7', 'title': 'Any ladies using the wrist temperature on Series 8 for cycle tracking?', 'author': 'qbrp', 'subreddit': 'AppleWatch', 'subreddit_id': '2wav7', 'body': 'I mean I know its not another wrist with an ultra on it, but \\n\\nAny women using this feature? It was looking forward to the additional data but looks like it doesnt do any of the analysis if youre on any form of BC. With some types you continue to cycle so I was hoping to grab some of this data as I monitor some hormonal changes but looks like I might have to do this manually. \\n\\nAnyone else tried to do this or have any insight?', 'body_is_trimmed': False, 'score': 22, 'over_18': False, 'num_comments': 22, 'created_utc': 1667136735}"}
{"id":"210664","text":"Title: Do i need cookiekeeper?\nThe text below was posted in an online community called firefox in the year 2017:\n\ni switched to cookiekeeper because self-destructing cookies seem to be dying when firefox 57 comes out. And i switched to cookiekeeper because its compatible with e10. But then a thought struck me, i don't whitelist any cookis and firefox has already a built in \"remove cookies when exit\" feature.  So the question is do i actually need cookiekeeper?","meta":"{'source': 'reddit_posts', 'id': '65x5tp', 'title': 'Do i need cookiekeeper?', 'author': 'basilusk', 'subreddit': 'firefox', 'subreddit_id': '2qh4p', 'body': 'i switched to cookiekeeper because self-destructing cookies seem to be dying when firefox 57 comes out. And i switched to cookiekeeper because its compatible with e10. But then a thought struck me, i don\\'t whitelist any cookis and firefox has already a built in \"remove cookies when exit\" feature.  So the question is do i actually need cookiekeeper?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 5, 'created_utc': 1492451780}"}
{"id":"320643","text":"Title: Does python have a calendar-table library ready?\nThe text below was posted in an online community called learnpython in the year 2019:\n\nThe problem is like this, I wish to generate a calendar like thing to display the office roster, with days opened, and then every day divided in to AM and PM.\n\nBelow is almost a solution example\nhttps:\/\/i.imgur.com\/Iy3b78v.png\n\nI would have a .csv file ready, with [name], [date], [clinic] or([am\/pm]) in the list. Since clinics happen in a set date on the calendar, e.g. post-surgery clinic happens every Thursday afternoon, I would like a output that puts everyone's [name] with the respective [date] in the appropriate box, perhaps with [clinic] or [am\/pm] as a game breaker.\n\nI think the display part might be easy if it is all coded, but is there a library or codes that display the calendar table?\n\nthanks.","meta":"{'source': 'reddit_posts', 'id': 'cttwum', 'title': 'Does python have a calendar-table library ready?', 'author': 'lychenus', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': \"The problem is like this, I wish to generate a calendar like thing to display the office roster, with days opened, and then every day divided in to AM and PM.\\n\\nBelow is almost a solution example\\nhttps:\/\/i.imgur.com\/Iy3b78v.png\\n\\nI would have a .csv file ready, with [name], [date], [clinic] or([am\/pm]) in the list. Since clinics happen in a set date on the calendar, e.g. post-surgery clinic happens every Thursday afternoon, I would like a output that puts everyone's [name] with the respective [date] in the appropriate box, perhaps with [clinic] or [am\/pm] as a game breaker.\\n\\nI think the display part might be easy if it is all coded, but is there a library or codes that display the calendar table?\\n\\nthanks.\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 3, 'created_utc': 1566458354}"}
{"id":"1376924","text":"Title: Windows should have a built-in screen dimmer that works for individual monitors\nThe text below was posted in an online community called Windows10 in the year 2018:\n\nHi, \n\nSo currently i use [PangoBright](http:\/\/www.pangobright.com\/), an app that let you dim your screens (here is a quick [video](https:\/\/www.youtube.com\/watch?v=GBsyUjcSaTE) explanation for those who doesn't know it), this app is perfect and i really can imagine using my computer at night without it (specially when am playing or watching something), the only issue this app have, or to be more precise doesn't have, is individual brightness control for multiple monitors, for now, it can only allow you to chose which monitor you want to be effected (you can chose as many as you have) and then apply one overall brightness setting to all the selected monitors, so for example you cannot have Monitor-A brightness to be 20% and Monitor-B 60%, if you want Monitor-B to be brighter than \"A\" then your only option is to remove it from \"the list\" and go full 100% with it.\n\nIt would be awesome to have something like this built-in.\n\nThanks!","meta":"{'source': 'reddit_posts', 'id': '9k2mrg', 'title': 'Windows should have a built-in screen dimmer that works for individual monitors', 'author': 'alaslipknot', 'subreddit': 'Windows10', 'subreddit_id': '2u9xs', 'body': 'Hi, \\n\\nSo currently i use [PangoBright](http:\/\/www.pangobright.com\/), an app that let you dim your screens (here is a quick [video](https:\/\/www.youtube.com\/watch?v=GBsyUjcSaTE) explanation for those who doesn\\'t know it), this app is perfect and i really can imagine using my computer at night without it (specially when am playing or watching something), the only issue this app have, or to be more precise doesn\\'t have, is individual brightness control for multiple monitors, for now, it can only allow you to chose which monitor you want to be effected (you can chose as many as you have) and then apply one overall brightness setting to all the selected monitors, so for example you cannot have Monitor-A brightness to be 20% and Monitor-B 60%, if you want Monitor-B to be brighter than \"A\" then your only option is to remove it from \"the list\" and go full 100% with it.\\n\\nIt would be awesome to have something like this built-in.\\n\\nThanks!', 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 3, 'created_utc': 1538273778}"}
{"id":"2020662","text":"Title: Python Modules\nThe text below was posted in an online community called learnpython in the year 2021:\n\nI 'm kind of wondering, which Python modules for automation should I learn?\n\n&amp;#x200B;\n\nI've already learned PyAutoGui module.","meta":"{'source': 'reddit_posts', 'id': 'l0g7fh', 'title': 'Python Modules', 'author': 'YellowkaCZ', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': \"I 'm kind of wondering, which Python modules for automation should I learn?\\n\\n&amp;#x200B;\\n\\nI've already learned PyAutoGui module.\", 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 3, 'created_utc': 1611047375}"}
{"id":"888592","text":"Title: Pixel 4A ?\nThe text below was posted in an online community called Android in the year 2019:\n\nI see that Pixel 3A is quite popular among this sub as well as in general. What would you guys like to see from Pixel 4A? Bumped up specs is the first obvious thing- probably a SD712 or 730, 6gb ram, increased battery to 3500mah,etc. What other improvements would you like to see?","meta":"{'source': 'reddit_posts', 'id': 'c18tgx', 'title': 'Pixel 4A ?', 'author': 'green9206', 'subreddit': 'Android', 'subreddit_id': '2qlqh', 'body': 'I see that Pixel 3A is quite popular among this sub as well as in general. What would you guys like to see from Pixel 4A? Bumped up specs is the first obvious thing- probably a SD712 or 730, 6gb ram, increased battery to 3500mah,etc. What other improvements would you like to see?', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 1, 'created_utc': 1560683552}"}
{"id":"2220514","text":"Title: Listen for specific function calls and then call another function instead\nThe text below was posted in an online community called learnpython in the year 2022:\n\nHello!\n\nThis might seem odd; I am not sure if it is a thing.\n\nIs there a way to \"listen\" for specific function calls and, when those functions are called, call another function instead?\n\nFor example, let's say that we have a function A. Without changing a thing, I would like to know that this specific function was called, override this and call function B instead. Much like a [proxy pass](https:\/\/docs.nginx.com\/nginx\/admin-guide\/web-server\/reverse-proxy\/). I have no idea if things like this exist in Python or any language. It's just something that I am curious if it is acheivable.","meta":"{'source': 'reddit_posts', 'id': 'y7a80l', 'title': 'Listen for specific function calls and then call another function instead', 'author': 'Ionized97', 'subreddit': 'learnpython', 'subreddit_id': '2r8ot', 'body': 'Hello!\\n\\nThis might seem odd; I am not sure if it is a thing.\\n\\nIs there a way to \"listen\" for specific function calls and, when those functions are called, call another function instead?\\n\\nFor example, let\\'s say that we have a function A. Without changing a thing, I would like to know that this specific function was called, override this and call function B instead. Much like a [proxy pass](https:\/\/docs.nginx.com\/nginx\/admin-guide\/web-server\/reverse-proxy\/). I have no idea if things like this exist in Python or any language. It\\'s just something that I am curious if it is acheivable.', 'body_is_trimmed': False, 'score': 6, 'over_18': False, 'num_comments': 7, 'created_utc': 1666107050}"}
{"id":"17407","text":"Title: How do I update Julia on Mac?\nThe text below was posted in an online community called Julia in the year 2015:\n\nHello\n\nDumb question: How do I update Julia to the newest version? Do I just download and install the latest dmg package?\n\nWill it reset the packages I have added previously, like DataFrames, Ijulia,Pyplot? Will I have to re-add them with the command Pkg.Add(\"x\") ? \n\nOr is there a way to update it like the way update my python installation from command line (conda update anaconda)?\n\nThanks","meta":"{'source': 'reddit_posts', 'id': '3csl8s', 'title': 'How do I update Julia on Mac?', 'author': 'Judge____Holden', 'subreddit': 'Julia', 'subreddit_id': '2qps0', 'body': 'Hello\\n\\nDumb question: How do I update Julia to the newest version? Do I just download and install the latest dmg package?\\n\\nWill it reset the packages I have added previously, like DataFrames, Ijulia,Pyplot? Will I have to re-add them with the command Pkg.Add(\"x\") ? \\n\\nOr is there a way to update it like the way update my python installation from command line (conda update anaconda)?\\n\\nThanks', 'body_is_trimmed': False, 'score': 8, 'over_18': False, 'num_comments': 13, 'created_utc': '1436533274'}"}
{"id":"1934409","text":"Title: Search bar appears different depending on browser\nThe text below was posted in an online community called csshelp in the year 2015:\n\nSo I've found myself in a tad of a predicament. I'm currently testing my sub's CSS over on \/r\/JoeyRio and decided to switch up the search bar in Firefox. Thought it looked cool and all but I realized it seems to have a different look in Chrome. Didn't even know this was a thing until now.\n\nHere's some pics for comparison [Firefox](http:\/\/i.imgur.com\/8omR5wm.jpg) l [Chrome](http:\/\/i.imgur.com\/sgbfADW.jpg)\n\nAny idea what could be causing this? Thanks!","meta":"{'source': 'reddit_posts', 'id': '3can0v', 'title': 'Search bar appears different depending on browser', 'author': 'ChintzyTurtle', 'subreddit': 'csshelp', 'subreddit_id': '2roaw', 'body': \"So I've found myself in a tad of a predicament. I'm currently testing my sub's CSS over on \/r\/JoeyRio and decided to switch up the search bar in Firefox. Thought it looked cool and all but I realized it seems to have a different look in Chrome. Didn't even know this was a thing until now.\\n\\nHere's some pics for comparison [Firefox](http:\/\/i.imgur.com\/8omR5wm.jpg) l [Chrome](http:\/\/i.imgur.com\/sgbfADW.jpg)\\n\\nAny idea what could be causing this? Thanks!\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': '1436185643'}"}
{"id":"1028940","text":"Title: Icon showing after disconnecting external monitor\nThe text below was posted in an online community called mac in the year 2014:\n\nHey. Why is [this](https:\/\/www.dropbox.com\/s\/ngkrx5d5obaenc2\/Screenshot%202014-01-20%2012.03.08.png) icon showing after I've disconnected an HDMI-cable? Sometimes after I pull out the HDMI-cable from the computer the icon still shows. In order to fix it I have to put it back in and then wait a bit, then pull it out. Why? Whyy? WHYYYY!?","meta":"{'source': 'reddit_posts', 'id': '1vnxqb', 'title': 'Icon showing after disconnecting external monitor', 'author': 'YodaLoL', 'subreddit': 'mac', 'subreddit_id': '2qh4u', 'body': \"Hey. Why is [this](https:\/\/www.dropbox.com\/s\/ngkrx5d5obaenc2\/Screenshot%202014-01-20%2012.03.08.png) icon showing after I've disconnected an HDMI-cable? Sometimes after I pull out the HDMI-cable from the computer the icon still shows. In order to fix it I have to put it back in and then wait a bit, then pull it out. Why? Whyy? WHYYYY!?\", 'body_is_trimmed': False, 'score': 7, 'over_18': False, 'num_comments': 9, 'created_utc': '1390215933'}"}
{"id":"656803","text":"Title: Emergent behavior in AI models that looks similar to natural neural systems?\nThe text below was posted in an online community called artificial in the year 2022:\n\n\"ImageNet Classification with Deep Convolutional Neural Networks\" by  Krizhevsky &amp; Sutskever &amp; Hinton describes very interesting  emergent behavior of the AlexNet.\n\nIt was trained on 2 GPU's:\n\n&gt;specialization exhibited by the two GPUs ... The kernels on GPU 1 are  largely color-agnostic, while the kernels on on GPU 2 are largely  color-specific. This kind of specialization **occurs during every run and is independent of any particular random weight initialization**  \n \n\nLikewise our brain mostly processes color with left side of the brain.\n\nAre there other examples of emergent behavior in AI models that looks  similar to natural neural systems? Any kind from coordination of  several neurons to high-level function, useful or detrimental, like  optical illusions?\n\nSo far I found only some articles with [optical illusion examples](https:\/\/scholar.google.com\/scholar?hl=en&amp;as_sdt=0%2C5&amp;q=deep%20learning%20net%20optical%20illusions&amp;btnG=).","meta":"{'source': 'reddit_posts', 'id': 'vzgy5f', 'title': 'Emergent behavior in AI models that looks similar to natural neural systems?', 'author': 'vashu11', 'subreddit': 'artificial', 'subreddit_id': '2qhfb', 'body': '\"ImageNet Classification with Deep Convolutional Neural Networks\" by  Krizhevsky &amp; Sutskever &amp; Hinton describes very interesting  emergent behavior of the AlexNet.\\n\\nIt was trained on 2 GPU\\'s:\\n\\n&gt;specialization exhibited by the two GPUs ... The kernels on GPU 1 are  largely color-agnostic, while the kernels on on GPU 2 are largely  color-specific. This kind of specialization **occurs during every run and is independent of any particular random weight initialization**  \\n \\n\\nLikewise our brain mostly processes color with left side of the brain.\\n\\nAre there other examples of emergent behavior in AI models that looks  similar to natural neural systems? Any kind from coordination of  several neurons to high-level function, useful or detrimental, like  optical illusions?\\n\\nSo far I found only some articles with [optical illusion examples](https:\/\/scholar.google.com\/scholar?hl=en&amp;as_sdt=0%2C5&amp;q=deep%20learning%20net%20optical%20illusions&amp;btnG=).', 'body_is_trimmed': False, 'score': 3, 'over_18': False, 'num_comments': 4, 'created_utc': 1657863712}"}
{"id":"229048","text":"Title: Anyone else absolutely love using their phone without a case but are too paranoid to not use one?\nThe text below was posted in an online community called Android in the year 2016:\n\nI absolutely LOVE using my G4 with its leather back, and the build quality is definitely good enough to survive a couple of falls, I'm just too scared not to. I have a UAG case which is rugged and not too bulky but using my phone with it just doesn't feel nearly as nice :(.","meta":"{'source': 'reddit_posts', 'id': '45dowe', 'title': 'Anyone else absolutely love using their phone without a case but are too paranoid to not use one?', 'author': 'Throwaway78945123', 'subreddit': 'Android', 'subreddit_id': '2qlqh', 'body': \"I absolutely LOVE using my G4 with its leather back, and the build quality is definitely good enough to survive a couple of falls, I'm just too scared not to. I have a UAG case which is rugged and not too bulky but using my phone with it just doesn't feel nearly as nice :(.\", 'body_is_trimmed': False, 'score': 2043, 'over_18': False, 'num_comments': 717, 'created_utc': 1455262594}"}
{"id":"550003","text":"Title: redis pub\/sub, can I change the channels on runtime\nThe text below was posted in an online community called laravel in the year 2016:\n\nlaravel's redis example shows a simple example on how to get redis pub\/sub set up. it says:\n\n    class RedisSubscribe extends Command\n    {\n    \/**\n       * The name and signature of the console command.\n     *\n     * @var string\n     *\/\n    protected $signature = 'redis:subscribe';\n\n    \/**\n     * The console command description.\n     *\n     * @var string\n     *\/\n    protected $description = 'Subscribe to a Redis channel';\n\n    \/**\n     * Execute the console command.\n     *\n     * @return mixed\n     *\/\n    public function handle()\n    {\n        Redis888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4subscribe(['test-channel'], function($message) {\n            echo $message;\n        });\n    }\n    }\n\nI have a multi server architecture , and one big redis installation. \nIs it possible to subscribe\/unsubscribe from topics that I specify after the artisan command is run ?","meta":"{'source': 'reddit_posts', 'id': '4pgim7', 'title': 'redis pub\/sub, can I change the channels on runtime', 'author': 'harvey_slash', 'subreddit': 'laravel', 'subreddit_id': '2uakt', 'body': \"laravel's redis example shows a simple example on how to get redis pub\/sub set up. it says:\\n\\n    class RedisSubscribe extends Command\\n    {\\n    \/**\\n       * The name and signature of the console command.\\n     *\\n     * @var string\\n     *\/\\n    protected $signature = 'redis:subscribe';\\n\\n    \/**\\n     * The console command description.\\n     *\\n     * @var string\\n     *\/\\n    protected $description = 'Subscribe to a Redis channel';\\n\\n    \/**\\n     * Execute the console command.\\n     *\\n     * @return mixed\\n     *\/\\n    public function handle()\\n    {\\n        Redis::subscribe(['test-channel'], function($message) {\\n            echo $message;\\n        });\\n    }\\n    }\\n\\nI have a multi server architecture , and one big redis installation. \\nIs it possible to subscribe\/unsubscribe from topics that I specify after the artisan command is run ?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1466685509}"}
{"id":"2266735","text":"Title: Firefox\/Gecko vs. WebKit\nThe text below was posted in an online community called firefox in the year 2022:\n\nHi everyone. A lot of computer-savvy people like to discuss the differences between Firefox and Chromium in terms of security, not privacy. Stuff involving exploit mitigation, like sandboxing and process isolation. Im not exactly certain, but many security researchers point towards Chromium as being more secure but Im not sure if thats true. In the same topic, what about WebKit vs. Firefox?","meta":"{'source': 'reddit_posts', 'id': 'wzbedv', 'title': 'Firefox\/Gecko vs. WebKit', 'author': 'NVVV1', 'subreddit': 'firefox', 'subreddit_id': '2qh4p', 'body': 'Hi everyone. A lot of computer-savvy people like to discuss the differences between Firefox and Chromium in terms of security, not privacy. Stuff involving exploit mitigation, like sandboxing and process isolation. Im not exactly certain, but many security researchers point towards Chromium as being more secure but Im not sure if thats true. In the same topic, what about WebKit vs. Firefox?', 'body_is_trimmed': False, 'score': 17, 'over_18': False, 'num_comments': 16, 'created_utc': 1661628782}"}
{"id":"669224","text":"Title: Index of parent with nested child\nThe text below was posted in an online community called vuejs in the year 2019:\n\nHello,\n\nI am trying to get the name, or the index number, of the parent component in a route. Basically I have my container module named the same than the folder containing the children files. When I try to retrieve the name of the route, it returns the full path including the children. In the Vue Devtools I can see router-view: \/parentPath but I can't find it otherwise. I found this [answer](https:\/\/stackoverflow.com\/questions\/43877555\/how-does-one-access-vues-routes-array-directly-from-a-component) on StackOverflow, which is close to what I want except [this.$route.name](https:\/\/this.$route.name) returns the whole path, but what I want is only the parent's path. Any ideas?","meta":"{'source': 'reddit_posts', 'id': 'cdlna5', 'title': 'Index of parent with nested child', 'author': 'windwaltz', 'subreddit': 'vuejs', 'subreddit_id': '38jhw', 'body': \"Hello,\\n\\nI am trying to get the name, or the index number, of the parent component in a route. Basically I have my container module named the same than the folder containing the children files. When I try to retrieve the name of the route, it returns the full path including the children. In the Vue Devtools I can see router-view: \/parentPath but I can't find it otherwise. I found this [answer](https:\/\/stackoverflow.com\/questions\/43877555\/how-does-one-access-vues-routes-array-directly-from-a-component) on StackOverflow, which is close to what I want except [this.$route.name](https:\/\/this.$route.name) returns the whole path, but what I want is only the parent's path. Any ideas?\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 2, 'created_utc': 1563216674}"}
{"id":"554119","text":"Title: Can you apply for junior frontend jobs with just a Github profile?\nThe text below was posted in an online community called webdev in the year 2021:\n\nI'm starting to build some projects that I can demonstrate when applying for junior frontend jobs.\n\nDo you generally need a portfolio website to apply,  or will a link to my profile and the projects on Github be enough?\n\nEdit: thanks for the responses so far. For extra information, Im planning a career change","meta":"{'source': 'reddit_posts', 'id': 'pe8ke1', 'title': 'Can you apply for junior frontend jobs with just a Github profile?', 'author': 'ShinHayato', 'subreddit': 'webdev', 'subreddit_id': '2qs0q', 'body': \"I'm starting to build some projects that I can demonstrate when applying for junior frontend jobs.\\n\\nDo you generally need a portfolio website to apply,  or will a link to my profile and the projects on Github be enough?\\n\\nEdit: thanks for the responses so far. For extra information, Im planning a career change\", 'body_is_trimmed': False, 'score': 2, 'over_18': False, 'num_comments': 10, 'created_utc': 1630288215}"}
