• Breaking News

    Saturday, November 23, 2019

    Anyone have any recommend books to read on programming that can be read before bed (not too technical) Ask Programming

    Anyone have any recommend books to read on programming that can be read before bed (not too technical) Ask Programming


    Anyone have any recommend books to read on programming that can be read before bed (not too technical)

    Posted: 23 Nov 2019 06:47 PM PST

    I know this sounds like a dumb question but hear me out. In addition to becoming a better developer I want to kick the habit of being on the computer/staring at a tv 30 mins before bed. I'm thinking of using this time to read but i've read a bunch of fiction/non-fiction (but not programming/cs related) books recently. I could just read a technical programming book but i feel like something too technical won't stick. So looking for some book recommendations. Thanks

    edit: i should add that I'm a self taught dev if that matters

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

    What good work stories do you have similar to the one linked, where programmer outsourced his own work and watched cat videos?

    Posted: 23 Nov 2019 01:33 PM PST

    What's the easiest program/programming/scripting language to automatically scan Excel cells and send an email notification when the current date is found in a cell in a specific column?

    Posted: 23 Nov 2019 07:46 AM PST

    I've learned programming a little before but haven't continued learning in like a year. I know AutoHotKey might do the trick, or simply Excel Macros, but I'm also planning to install Linux on my laptop and the lady at the office uses Windows, but honestly it's fine if the easiest solution works "best" on Windows.

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

    Android Studio Java SQLite CRUD

    Posted: 23 Nov 2019 02:43 PM PST

    Hi Guys,

    I am stuck at building this application in Android Studio while I would have done it quickly in C# but I am still learning Java in general.

    I am planning to make a ListView of people and make each ListView's item has onClickItemListener and whenever I click on that item it gets deleted.

    I am not sure how to set onClickItemListener and set the person's id to that item and then call deleteItem with the item's id.

    A button next to each item for deletion would work too.

    I am using Java for Android Studio and SQLite is the database. Table People with columns (id, name).

    Thank you in advance~

    submitted by /u/Kyu-Ookami
    [link] [comments]

    Is it legally required to post cookie notifications?

    Posted: 23 Nov 2019 06:15 PM PST

    By using this website, you agree to our use of cookies. We use cookies to provide you with a great experience and to help our website run effectively.

    By visiting the website, it's not like you have a choice not to opt in or out of their cookies. I am kind of curious as to why websites will often post messages of this vein.

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

    Big O notation what math is required

    Posted: 23 Nov 2019 09:31 PM PST

    Does big O notation fall under algebra? And how much math is required to understand it?

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

    What are some useful apple scripts that you would recommend for macbook users?

    Posted: 23 Nov 2019 08:58 PM PST

    Question about creating a software

    Posted: 23 Nov 2019 08:28 PM PST

    I work in a Pizza Shop, and me and my friend were talking about an app that when you press a button it randomizes a bunch of toppings to put on a pizza (of course for our use only) I have limited knowledge on how to code, so I'm basically just wondering what programming language would help me achieve this, and what would be the best way of learning it.

    Sorry if this is completely random, but I just thought it would kinda be a funny idea for us both during our lunch break.

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

    Where can I find developers to team up with?

    Posted: 23 Nov 2019 10:51 AM PST

    Hello all,

    I'm looking to mingle with other developers and work on some projects. I've owned a few companies, mostly SaaS, but these days I don't do much coding, which kind of sucks.

    I'm not necessarily looking to work on anything commercial, but I'm open to that. Really, I just want to work on an interesting project with smart, ambitious coders.

    I imagine there are websites that are designed to pair up developers for projects, but the only one I can think of is Indie Hackers.

    Any suggestions would be appreciated!

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

    First week in programming. i know it may seem like a dum question but what am i doing wrong

    Posted: 23 Nov 2019 07:24 PM PST

    trying to congratulate someone for being 21 to drink

    and make fun of them for not being 21

    print('Hello, this is my first program!')

    print("Please answer these questions for me :)")

    name = input('Enter Name Here:')

    age = input(int('How old are you?'))

    print('Hello, ' + name + '!')

    print(' you are ' + age +'.')

    if age >= 21:

    print("Yay! Are old enough to drink!")

    else age < 18:

    print("Sucks for you. Not legal drinking age :(")

    edit: took out the for loop

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

    python homework help

    Posted: 23 Nov 2019 07:05 PM PST

    I need help on a homework assignment because the way I came up with doesn't fit what i'm supposed to do because...

    1. the program did NOT define the required function to do a parallel sort.
    2. the program does NOT do a parallel sort. Instead, it does two separate selection sorts which break the relationship between the items in the two arrays.

      https://github.com/Mnsun1548/python-2019/blob/master/2%20parallel%20arrays

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

    Pypandoc and Pandoc. is there any way to disable formatting when outputting as plain text?

    Posted: 23 Nov 2019 11:26 AM PST

    I'm driving myself crazy because I can't find the option or parameters anywhere on the web, but this has to be a super simple thing that a lot of people want. I'm too afraid to ask something so simple on stack exchange.

    Specifically, I'm trying to convert .docx, .doc, .pdf and .odt files to plain text and they are including things such as bold -> ALL CAPS and itallics -> underscored text and I just want normal text.

    anyone got the solutions or hints or hints for finding a hint to find a solution?

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

    When you update apps, does it take up more space on your computer?

    Posted: 23 Nov 2019 06:18 PM PST

    For example, I am updating Affinity Design thru the Apple store currently and the update is 400 megabytes. Does this mean that the existing space on my computer is reduced by 400 mb?

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

    What's going on when your computer occassionally jumps to like 200% CPU and is this bad for your computer?

    Posted: 23 Nov 2019 04:38 AM PST

    For example: Editing a movie.

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

    Do programming languages (specifically matlab) calculate things inside 'if' loops if the 'if' condition isn't met?

    Posted: 23 Nov 2019 02:42 PM PST

    In other words, if I have something that's very calculation intensive inside the if loop but the 'if' condition is very rarely met, will it slow things down anyway?

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

    [ReactJS+Express] Record audio on frontend send to backend for Google Speech API call

    Posted: 23 Nov 2019 08:05 AM PST

    Hi all, I am trying to build what I thought was simple functionality into a website that I am building with ReactJS and Express for backend. But it's turning out to be much more difficult than I thought at first.

    Essentially what I want is to have a button on the frontend that begins and ends a recording of the user's voice. Then I'd like to take that audio and send it to the server from which I make an API call to Google's Speech2Text API to get the text. My problem is two-fold, first of all which library do you recommend in order to do the recording? I used RecorderJS at first but after following the steps and converting the data into what I thought was the right format (16-signed bit linear PCM) when I send it and save it I get garbage and not what I recorded. Now I am trying to use the node-recorder-lpcm16 library which records with precisely the encoding that I need, however I am not sure if I am running it correctly since in the docs they write them for node such as

    recorder = require('node-recorder-lpcm16'); recorder.record(); 

    But what I do in my React code is:

    import recorder from 'node-record-lpcm16'; ... onButtonPress() { recorder.record(); 

    And I am not getting an error on the import statement, but I am getting an error on the record() call.

    Secondly, I am not 100% the best way to send the audio to the server. Right now I am taking my buffer, sending it as a comma-separated string using a POST request; and on the server side splitting the string by commas and casting it as the correct array. However this isn't viable for longer recordings and I am wandering if there is a way I can stream it somehow, and what libs or tools I should use for this. For example in the google speech docs they have an example using the node-lpcm library that goes like this:

    const recorder = require('node-record-lpcm16'); const speech = require('@google-cloud/speech'); const client = new speech.SpeechClient(); const recognizeStream = client .streamingRecognize(request) .on('error', console.error) .on('data', data => {whatever}); recorder .record({ sampleRateHertz: sampleRateHertz, threshold: 0, recordProgram: 'rec' }) .stream() .on('error', console.error) .pipe(recognizeStream); 

    And I am wondering how I set up this type of piping from client to server? Do I have to send a POST request each time on('data') or is there a smarter way of doing this?

    Sorry for the length and thanks for any help.

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

    Localhost only loads once

    Posted: 23 Nov 2019 12:47 PM PST

    Hi all,

    This might be dumb, but I typically use cloud IDEs so I don't use localhost very much. Basically, I start up my server using either VS Code or bash and go to the localhost port using Chrome and it works the first time, but the first time only. If I try to make changes and then restart the server, it never loads; it just perpetually says "waiting for localhost". If I restart bash or VS Code and run it again, it works however. This happens regardless of the app I try running. I thought maybe it was Windows Firewall but I turned it off and the issue persists. I've restarted Chrome, VS Code, bash and my computer. I've also tried using Edge and that has the same issue.

    This is a very annoying issue, can anyone help?

    P.S. I'm doing this for a potential employer who asked me to build an app in a language I don't know... I'm thinking of giving up because I've already spent hours on this and other issues.
    Thank you.

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

    Post services API

    Posted: 23 Nov 2019 12:28 PM PST

    Hi all,

    I am having a hard fight with post services. I would like to use DHL Express, UPS and DPD API to do following:

    - track package by tracking number
    - have shipping calculator

    I have contacted all of the mentioned but they always ask me how much packages I tend to ship monthly. The answer is 0. Because I don't need it for me to send the packages.

    Has anyone worked with those API's before?

    If so, where can I register and find documentation for like authentication, track and shipping calculations.

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

    Historic NFL Weather Data

    Posted: 22 Nov 2019 10:23 PM PST

    Does anyone know where I might be able to get NFL weather data from 2009-2018 for each game in a single file? I know it's available on NFLweather.com to look at but it isn't grouped together in a downloadable fashion.

    I'm currently working on a project in R to try and measure the effect of external variables on the outcome of each game, and am having a difficult time finding reliable data from this time period.

    Any help finding something like this would be greatly appreciated!

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

    How do you select your IDE color scheme?

    Posted: 23 Nov 2019 06:27 AM PST

    I'm looking through https://iterm2colorschemes.com/ and there are so many options. I have a gut feeling of what I like and what I don't, but I'm looking for a method to select one.

    Besides a gut feeling, how do you select your color scheme?
    Is there any science behind how to choose one?

    Is there a scheme you recommend, why?

    For example, some themes may be better for your eyes than others. I have no idea about any of this.

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

    how can i increase the amount of decimal points python calculates to

    Posted: 23 Nov 2019 08:34 AM PST

    Column transformer throwing away some features?

    Posted: 23 Nov 2019 04:35 AM PST

    Opions on JS libs to make collapsble tables with adjustable column width?

    Posted: 23 Nov 2019 12:51 AM PST

    I have to implement a new page on a web app at work. The current app uses some wijmo grids for a table display. A redesign was given to me and I would like to research other libraries or frameworks I could potentially use. I spend most of my time on back-end so I'm weak in my front-end knowledge of tools.

    I want to make a grid but every odd index item in the grid is a subset of the even index item so like

    Title

    Description

    Title

    Description

    Where "Description" would be collapsble.

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

    No comments:

    Post a Comment