• Breaking News

    Monday, April 26, 2021

    Filter verified youtube channels using a browser extension? Ask Programming

    Filter verified youtube channels using a browser extension? Ask Programming


    Filter verified youtube channels using a browser extension?

    Posted: 26 Apr 2021 05:58 PM PDT

    Hi, I'm sick of not finding the old goodies that random accounts uploaded years ago on youtube.

    When I search for something now, all I get is verified news channels or cuck youtubers with really punchable faces.

    Is it possible to filter out these results using a chrome extension or something?

    Thanks.

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

    How do you find where is the script that is generating a CSP error?

    Posted: 26 Apr 2021 03:12 PM PDT

    I have a front-end in angular and a backend in javascript, and I need to locally fix the error so the changes can be deployed

    But the thing is that locally it doesn't throw any errors, but on production where there is https it throws the csp error related to script-src

    error message

    Refuse to load the font 'http://-.-.-.-:port/res/Soleil.woff2' because it violates the -.-.-.-:1 following Contetn Security Policy directive: "default-src 'none'". Note that 'font-src' was not explictly set, so 'default-src' is used as a fallback.

    note that -.-.-.- and -.-.-.-:port is just me taking out the ip of the server

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

    Which one would be more useful?

    Posted: 26 Apr 2021 07:51 AM PDT

    We are trying to decide with a friend which project we should make.

    So far we aren't really full of ideas but they seem promising enough.

    For the first one, we were thinking about a service that can recommend games to you based on what games you like and play the most. I know that already exists but we want to make our own database so it's more accurate.

    Secondly, we just had an idea to basically change it up and "revive" Dreamteam since it probably won't ever come back. Dreamteam was the website where we actually found each other including the best friend group I had so far and it's a shame that isn't really an actually good replacement for it.

    (For the people who don't know Dreamteam was a site where you could find other players in a similar rank to you in a game (such as CS:GO) and connect with each other to form a team)

    So which project seems more useful?

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

    I have an interview for a graduate position for HPE in a few days, was wondering if anybody could help me understand what the interview would entail based on the Email?

    Posted: 26 Apr 2021 03:34 PM PDT

    The interview is 90 mins

    the email said

    Competency test in the form of a code challenge

    Does that mean just 1 coding challenge for the full interview?

    They already pressed me on my CV to make sure I wasn't lying and asked me some theory questions already.

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

    please help me create this program in C lang

    Posted: 26 Apr 2021 10:47 PM PDT

    Write a program that declare and initialize an array of 10 elements and calculate and display the sum of all odd values available in array

    submitted by /u/Wonderful-Hour7018
    [link] [comments]

    Github actions aggregate result of multiple jobs and send to slack

    Posted: 26 Apr 2021 10:46 PM PDT

    Hey everyone. I'm not quite an expert in GA, but I have a slack channel, and a few jobs in a github actions workflow. Right now those jobs run after I push to my pr, but I want to gather the status of them and update the slack channel with

    For example I push a pr, it lints, runs tests, and fails/passes. I want to notify the slack channel that it failed or passed. What is the best way to go about doing this? The only way I can think of is to produce an artifact from each of those jobs in the workflow that contains the status of the job., and then download each artifact in a "Slack" job and do something according to the artifacts, but this seems really hacky. Thoughts? ...thanks!

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

    Having a hard time thinking in OOP

    Posted: 26 Apr 2021 10:09 PM PDT

    I'm writing a program in C# where I'm using a library that provides me the classes Document and Table. I can add instances of Table to Documents. My program will allow me to create reports, and I'm structuring how the document will be.

    I want a Header class, which represents a specific Table, with its own cells and such, that I can add to the Document, more or less like this:

    document.Add(new Header());

    The solution seems to be that Header should inherit Table, but then how do I add my cells?

    The obvious solution would be for Header to have a method such as MakeHeader, so I can do:

    var header = new Header();

    document.Add(header.MakeHeader());

    Or even having Header as a static class or whatever. But then what's the point in having an object and not just a function?

    submitted by /u/Key-Language-8513
    [link] [comments]

    Worth getting an M1 Macbook Air for a beginner in Programming?

    Posted: 26 Apr 2021 09:21 PM PDT

    First of all, hello nice to meet you guys! I came to this sub-reddit to ask for some wisdom and a career path. I graduated with a BA in English Literature a long time ago and I also recently acquired a Technical Writing Certificate. I am at a lost if I should just pursue into Technical Writing (majority of it is contract work, would want a stable job) or should I just start learning some programming languages to further my career options? I am at a lost at the age of 33 right now.

    Furthermore, I am awful at Math and I was wondering if I should brush up on some Math to allow me to understand some Programming Languages or if I should look into AWS or Azure stuff. Python and Javascript I heard isn't that bad. Also, should I get a Macbook Air for some programming? I did buy some courses on Udemy like Python, Web development camp, and AWS stuff. I need some advice on a career path. I am currently working at Costco....anything to get me out of this hell hole.

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

    How to make an electrical engineer less useless

    Posted: 26 Apr 2021 07:04 AM PDT

    Hi all, I have a master's degree in EE, focusing on both RF and cybernetics. This has of course caused my "programming" skills to be severely tilted towards Matlab and Python, with a side of C for good measure. I used to do a lot of C++ in high school but that knowledge has atrophied for not having the time nor the energy during my university days.

    Even though I have all the programming knowledge I need within my field, for now, I still feel somewhat useless for neither being able to do efficient lower level programming, nor being able to develop fun applications for hobby projects. I have started doing some C++ lately to cover the first area, but when it comes to app development I am completely in the dark. What suggestions and advice would you give someone like me who has some working programming knowledge and who wants to start doing some app development for fun and also acquire some programming skills that might become useful in the future, in terms of what languages and environments to go for?

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

    What type of diagram do you use for database design?

    Posted: 26 Apr 2021 10:17 AM PDT

    Could you please tell, what is your process for designing a database?
    Do you draw diagrams before, or do you start coding from a scratch?

    I am learning now about Entity-relationship diagrams - like this one - still not sure if it is the right approach. The cardinality relationships are difficult to grasp for me.

    Thanks for your help, and sharing your approach.

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

    Recommendation request - a tool to audit and summarise a github.com project

    Posted: 26 Apr 2021 06:41 PM PDT

    Wondering if there is a tool to give a summary and a basic audit of a git project. Scan for things like unanswered issues. Single maintainer. The project not been updated for a long time.

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

    IEEE Floating point precision (confusion over 0.1's representation)

    Posted: 26 Apr 2021 06:35 PM PDT

    This is probably a really simple question stemming from my misunderstanding of the IEEE standard: could someone please explain why there are the discrepancies in precision in the following code output?

    E.g. surely 0.1 isn't exactly 0.1, but rather something like 0.10011000..., like how 0.3 is represented below?

    Code (Java)

    public class DoubleInc { // double is a 64-bit precision IEEE 754 floating point public static void doublevalue() { for (double dn = 0.0; dn < 1.0; dn += 0.1) { System.out.println("Range value : " + dn); } } public static void main(String[] args) { doublevalue(); } } 

    Output

    Range value : 0.0 Range value : 0.1 Range value : 0.2 Range value : 0.30000000000000004 Range value : 0.4 Range value : 0.5 Range value : 0.6 Range value : 0.7 Range value : 0.7999999999999999 Range value : 0.8999999999999999 Range value : 0.9999999999999999 
    submitted by /u/mechanyc
    [link] [comments]

    Am I the only one tired of googling how to do the code?

    Posted: 26 Apr 2021 08:31 AM PDT

    Every time that I need to do something that I don't remember or don't know, we have to search and understand how to do those things. I think this is boring and time-consuming, and I feel like we need a solution for it. Do you have the same problem? I was thinking about building something where you just ask about your issue and it gives the code for you and also explains everything about it.

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

    NLP question

    Posted: 26 Apr 2021 05:03 PM PDT

    Hi everyone,

    I am currently working on an NLP project and am a little stumped.. Essentially the goal of the project is to group certain words into a class. So for example: lets say we have the following food dataset(delimited by comma):

    Word, Group

    apple, fruit

    milk , dairy

    chicken, meat

    lemon, fruit

    beef,

    turkey, meat

    orange,

    I would like to be able to create some sort of basic NLP code to appropriately classify words that aren't grouped (so in this instance beef would be meat, orange would be fruit). I have done some research, and since we have labeled data I'm fairly confident this is a supervised learning problem. And since this is a classifcation problem, I was thinking of using some NLP model like Naive Bayes.. But I am not too entirely sure. Any kind of tips or advice as to what kind of NLP model I should use for this type of data would be greatly appreciated!

    Thanks!!

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

    Do they ever remove old dependency support from the central maven repository?

    Posted: 26 Apr 2021 03:41 PM PDT

    Will having bad beef with an AMD manager stop them from hiring me, even with an excellent degree?

    Posted: 26 Apr 2021 02:59 PM PDT

    I'm competitive for getting into Carnegie Mellon. I have all of the right test scores. Through playing WoW I got to know an agile project manager for AMD. We got into a disagreement over politics. The guild said some stuff offensive towards me, and then I said something extremely offensive back and got kicked and blocked by this guy. Since, Carnegie Mellon is the top computer science school would AMD still turn me down with those credentials from his pull? Might he be able to screw my career over, outside of AMD?

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

    Best programming language to learn in 2021 ?

    Posted: 26 Apr 2021 02:01 PM PDT

    Hi' all

    I decided that i want to learn a programming language and i've been searching these couple of days about what language is BEST for a beginner to start with in the programming world, and i came across to some that may interest me: Python, PHP, Javascript or JAVA

    But, I'm yet to be decided between Python or PHP as the first programming language for me

    About the choice of going with Python as a first language, it's because i heard it's a bit easy and I wanted to use It for my personal projects, mainly scraping data and building apps that are either scrap or automate things.

    And on the other hand, i did a 3 hours of research looking at what development language is in high demand in my country and i found that:

    PHP / Laravel: took the 1 place as the language in demand
    Javascript (jquery): took the 2 place
    Html 5/css3: took the 3 place

    if you have any piece of advice for me please, what programming language one should start with as a beginner

    REALLY appreciate it

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

    How is Google tracking me?

    Posted: 26 Apr 2021 01:04 PM PDT

    This is getting creepy. I am watching a video on YouTube on my computer (no logging in) . I close my computer, sometime later I open my phone using firefox focus (which always gives a no stored cookies fresh slate browser after each use) I go to main website of YouTube and its suggesting the same video for me(again no logging in).

    So I thought this must be a popular video although 7 months old, or its tracking me from IP. So I go on VPN and connect to a foreign country (Portugal) , scroll a bit down and that same video is suggested again!! Not only that but in the middle of the feed they suggest a video in my local language(not English) on the Portuguese YouTube!!

    How is it following me? No IP, No Cookies, different device, no logging in. Any ideas?

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

    Subclass inheritance puzzle with constraints in Java

    Posted: 26 Apr 2021 11:21 AM PDT

    I was going through my old professor's lecture notes on inheritance, and one of the exercises proposed creating a SpyLecturer subclass of a Lecturer class and a Spy class.

    The constraint is that this should be achieved by creating just one interface and one class, without copying the implementation details of any (super) methods.

    Only this was a Java course. Hence, I think it's impossible as I can't extend more than one class.

    Am I missing a glaringly obvious detail?

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

    Solving SIR models in r

    Posted: 26 Apr 2021 11:06 AM PDT

    Hello,

    Could anyone tell me why this is not behaving properly - I honestly have no idea. It so simple but I just can't get it to work.

    library(deSolve) SIR_dydt <- function(t, y, parms){ beta <- parms[1] gamma <- parms[2] S <- y[1] I <- y[2] dS <- (-beta*S*I) dI <- ((beta*S*I)-(gamma*I)) return(list(c(dS,dI))) } beta <- 0.01 gamma <- 0.4 S <- 99.9 I <- 0.1 steps <- seq(0,50,0.1) SIR_data <- ode(c(S,I), steps, SIR_dydt, c(beta, gamma)) head(SIR_data) 

    Any help would be very much appreciated.

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

    How do you make a quiz using HTML and JS that is not a multiple choice quiz?

    Posted: 26 Apr 2021 10:49 AM PDT

    I am a beginner programmer that thought of making a quiz for their school project but problems arose. I then thought of looking for some help on YouTube but all the tutorials are for multiple choice quiz. I wanted something where the user needs to input their answer. Any help is appreciated. Thanks.

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

    Ruby count, size, length

    Posted: 26 Apr 2021 10:04 AM PDT

    In ruby, are the methods count, size and length just aliases of each other to get the length of an array or list?

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

    Favourite Frontend Masters courses as of 2020?

    Posted: 26 Apr 2021 08:11 AM PDT

    [vymazané]

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

    Can I import .jsx react component defined in different package in .tsx component in my package?

    Posted: 26 Apr 2021 12:30 AM PDT

    Can I import .jsx react component defined in different package in .tsx component in my package?

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

    No comments:

    Post a Comment