• Breaking News

    Saturday, July 18, 2020

    Google Foobar still a thing? Ask Programming

    Google Foobar still a thing? Ask Programming


    Google Foobar still a thing?

    Posted: 18 Jul 2020 09:25 PM PDT

    I recently got a google foobar challenge invite. Does Google still use this for hiring?

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

    Is it too ambitious to learn a new language through a project

    Posted: 18 Jul 2020 03:25 AM PDT

    I have previous experience coding, but i recently wanted to make a chrome extensions but i dont know whether its too ambitious to pick up a project without having any idea of the language.

    I am planning on making a extension to log my Youtube watch time on pc.

    i have previously coded in c,c++ and java. But have never really used these languages for any practical projects as such

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

    Python - Facebook API

    Posted: 18 Jul 2020 03:17 PM PDT

    I would like to create a script that hides all of my current open chats that I have on Facebook Messenger. Is there an api available for me to achieve this task?

    Thanks.

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

    ai for good/refugee livelihoods :)

    Posted: 18 Jul 2020 04:02 PM PDT

    Hey Everyone!

    I currently have a social enterprise where industry leaders administer educational material to refugees in order for them to gain access to jobs in the field. This way they secure an ongoing stable source of income. While there are many individuals, I was wondering if anyone knew if certain companies had AI for Good programs or would be interested in outsourcing their computer vision jobs (i know there's Google & Microsoft, not too sure beyond that since not many had a 'AI for Good' program besides them). Any info would be of great help and really appreciated!

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

    Mobile vs Web programming which is more difficult?

    Posted: 18 Jul 2020 06:13 PM PDT

    Web programming or mobile programming(swift/kotlin) more troublesome? web programming is more troublesome to me since while creating a website it requires using (c#, javascript, jquery, html, css, angular) etc and so many things like this. what do you think about it? which one is more troublesome?

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

    [Python] Whenever I work with json, my code keeps throwing these errors. what is my mistake?

    Posted: 18 Jul 2020 12:07 PM PDT

    Heres some example code, which is opening a json file with a dictionary of names and birthdays. here are the errors and the code:

    import json

    wanted_name = input("Please enter the name of the scientist that you want to know the birthday of!")

    with open("abc.json", "r") as f:
    birthdays = json.load(f)

    print(f"{wanted_name}'s birthday is {birthdays[wanted_name]}")

    Traceback (most recent call last):

    File "C:/Users/kosti/Desktop/Python/LernProjekte/Test.py", line 8, in <module>

    birthdays = json.load(f)

    File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\json\__init__.py", line 296, in load

    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)

    File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\json\__init__.py", line 348, in loads

    return _default_decoder.decode(s)

    File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\json\decoder.py", line 337, in decode

    obj, end = self.raw_decode(s, idx=_w(s, 0).end())

    File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\json\decoder.py", line 355, in raw_decode

    raise JSONDecodeError("Expecting value", s, err.value) from None

    json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

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

    How can i move the h3 headers to the top left corners of the child boxes.

    Posted: 18 Jul 2020 08:03 PM PDT

    So im doing some positioning exercises that i found on the internet, and i can't figure out what im doing wrong with the h3 css element. The goal is to get all of the text, in the upper left hand corner of each box, without using flexbox or grid. Here's my html and css so far.

    <div class="header">
    <div class="logo"><h3>Logo</h3></div>
    <div class="top-menu"><h3>Top Menu</h3></div>
    <div class="btm-menu"><h3>Btm Menu</h3></div>
    </div>

    .header {
    width: 800px;
    height: 150px;
    border: rgb(16, 84, 185) 5px solid;
    margin-top: 5px;
    position: relative;
    background-color: rgba(106, 90, 205, 0.3);
    top: 70px;
    }
    h3 {
    position: absolute;
    top: 0;
    left: 0;
    }
    .logo,
    .top-menu,
    .btm-menu {
    position: absolute;
    border: solid 2px black;
    /* padding: 5px; */
    }
    .logo {
    width: 320px;
    height: 75px;
    top: 3px;
    left: 3px;
    }
    .top-menu {
    width: 270px;
    height: 60px;
    right: 3px;
    top: 3px;
    }
    .btm-menu {
    width: 500px;
    height: 45px;
    right: 3px;
    bottom: 3px;
    }

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

    Autofilling a spreadsheet

    Posted: 18 Jul 2020 04:00 PM PDT

    Is it possible to make a google docs(or any questionnaire type sheet) auto fill out to a google sheets or excel page once someone has filled it out? Or is there any better resources to use for this? Thanks

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

    Where to store interface related data decorating backend model ?

    Posted: 18 Jul 2020 07:06 PM PDT

    I want to be able to store data that is only related to interfaces ( frontend, client, anything ), used to "decorate" "backend model" ?

    For example, i want to be able to assign a color to a group of users,

    but I'd rather avoid polluting my domain model with client-only data, that is depending on the client.

    How can I achieve that ?

    I thought I could have a backend for the frontend, either as a proxy, or as a side backend, the issue is, how do i coordinate the requests ? Has anyone found some solution to this kind of issue ?

    Is polluting the domain model really acceptable ?

    Should I have a context for clients related data ? I does sounds... only a technical concern to me and should be handled by the client and not really by the "main backend" handling my domain.

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

    Creating a portfolio website for a designer - build vs buy?

    Posted: 18 Jul 2020 12:22 PM PDT

    Hi all,

    I am on a slow path of learning web development, I know basic JS, HTML and CSS. My sister wants to create a website to showcase her portfolio (she's an architect), and I'd like to help her. My question is, if I used something like Squarespace, could I then customize it with my knowledge for a few niche things? Is there another service besides Squarespace that would allow me most of the templates/boilerplate, with some code customization allowed? It's probably a bit ambitious for me to do it from scratch (particularly since an architect's website should look professionally done, not a first project by someone learning development). Any thoughts and insight in this arena would be incredibly appreciated, thanks!

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

    Career in Coding tips?

    Posted: 18 Jul 2020 02:10 PM PDT

    Anyone here who has a career in coding, what sort of coding do you do? How long have you done it? Pros and cons? Were you self taught or did you take classes? Feed me your insight before I attempt my journey.

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

    Writing a program that automatically disables and enables ethernet adapter upon start-up?

    Posted: 18 Jul 2020 05:05 PM PDT

    The ethernet adapter on my motherboard has a bug that forces me to disable and enable it through network connections everytime I turn my computer on to get it to work. I've already contacted the manufacturer about this and they don't have a solution. So I'm wondering, could I write a program that automatically runs upon start-up, and disables and enables the ethernet adapter? Please forgive me as I'm not a programmer, but I'm anticipating that it'd be pretty simple code? A lot of other people with this mobo (Asus Z490-E) have this issue, so it'd be useful to them too.

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

    Best Class approach for project

    Posted: 18 Jul 2020 09:26 AM PDT

    Hey everyone. I am working on a Java-based project that involves reading messages from a file. Each message can be matched to a certain defined scenario e.g. scenario A,B,C etc. based on the values within the message. At the moment I am doing a very procedural approach, reading each message line by line and processing within this loop. I am trying to break this down into a more OOP approach but not sure what the best way of doing this would be. At the moment I am thinking about having a separate class containing all the scenarios that the messages could be matched to but am a bit confused as to what this class would contain. Any advice would be appreciated.

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

    Trying to read data from JSON Object

    Posted: 18 Jul 2020 06:07 AM PDT

    Good morning everybody,

    I have been trying to find the answer to my question on google all morning, which leads me to believe I may not be asking it properly.

    Currently, I am reading in data from an open API and one of the keys in the JSON object returns an array, this is the array I am trying to target, however, its key name is "2020-07-18".

    When I console.log(res.data.near_earth_objects); I get "2020-07-18": Array(5) [ {…}, {…}, {…}, … ] as a response.

    I'm sorry for wording this ignorantly, but is there a way I can somehow target "2020-07-08" so that I can gain access to the actual objects in Array(5)?

    Thank you in advanced for any help.

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

    Why is it impossible to find .dll files legally?

    Posted: 18 Jul 2020 08:44 AM PDT

    Pretty much every single time I download a program (such as an old video game) which is missing a .dll file, I have to go to some sketchy website to download it. Why does there not seem to exist an honest/legal source for these files?

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

    First Project - hydrogeologist in need!

    Posted: 18 Jul 2020 01:44 PM PDT

    Hi guys and gals,

    I'm looking for some direction on how best to accomplish a program I want to write.

    Basically when classifying soils (according to USCS) a soil or rock description should be described in a very particular order. It goes something like, grain size, shape, texture, habit etc etc.

    Other hydrogeologists write these descriptions in a excel template as drilling happens . However, they are just going off of memory and often these descriptions need a ton of quality control ($$$$) afterwards before being sent to the client.

    So I want to make a program that utilizes a decision tree and guides the user to making a coherent description.

    It would be really cool if this was in a graphical window and embedded somehow into Excel, so that when the description was completed it sends the string into a blank cell.

    Any direction on languages or how to embed stuff or anything would be really great!

    Cheers!

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

    Editing an old game

    Posted: 18 Jul 2020 09:52 AM PDT

    I Want to make some changes in an old game (Happyland adventures if anyone is wondering) but the only files i can find in the game folder are .exe and .dat but when i open them with notepad++ or vs code, the only thing that i can see are tons of unrecognizable characters, from what i searched it seems to be hexadecimal being converted to ASCII.

    My question is, what can i do to see/understand the code? what program should i use or what language is it written?

    I searched about the game but i couldn't find in what language it was written, (probably c considering the other games made by the same guy use it). If only i could see an "If" or an "Where" i would be able to work from there. Sorry if the question sounds dumb.

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

    TripleByte: no slots available for fast track interviews?

    Posted: 18 Jul 2020 07:23 AM PDT

    Hi all, I signed up for TripleByte about two months ago, qualified for "fast track" through their quiz, and took one practice interview.

    I've finally gotten around to trying to schedule my "fast track" interview, but after having checked every day for the last two weeks I'm repeatedly seeing no slots available due to a "surge of applications". Wondering if anyone else has had this same experience? My paranoid side is afraid my performance on the practice interview (which they assured me wouldn't affect my fast track interview results) somehow disqualified me.

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

    chromebook emulator

    Posted: 18 Jul 2020 07:44 AM PDT

    If i wanted to make an emulator to play ps2 games on chromebook would that be possible, and if so what would i use to build it?

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

    How to run WhatsApp web 24h

    Posted: 18 Jul 2020 03:31 AM PDT

    Hi,

    I developed a Chrome Extension for WhatsApp to auto archive my chat groups.

    The problem is - The extension work only when I run the web app.

    Does someone have an idea how can I run it 24h?

    Thanks.

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

    Sky imager PV forecasting cloud motion

    Posted: 18 Jul 2020 07:14 AM PDT

    Hi all, I have a project which is basically a sky imager which will forecast the cloud movement but the hard part for me is how to deal with this kind of project.. I'm really good at using projects with Arduino but this time I'm going to use Raspberry pi with camera pi ..

    So I need your help , if there is any library that will help me or a similar project that I can relate to..

    Here is the required things for the project:

    1- Cloud tracking and PV forecasting.

    2- Shapes of the clouds will be analyzed with attention of cumulus cloud.

    3- The variation of the irradiance incident on the PV cells will be obtained by considering the cloud movement.

    4- Forecasting in intervals of 2 minutes up to 10 minutes.

    Highly appreciate your help , Thank you

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

    Would it be unorthodox or bad for performance to use a bunch of AABB collision boxes instead of a more complicated but accurate method when it comes to 2D collision detection with entities and objects in games?

    Posted: 18 Jul 2020 01:32 AM PDT

    Like.. say I had a human and used an AABB box for their head, another for the torso and and another for legs. This could be common for all I know or maybe even taboo game dev practice but I was curious. I'm going to delve into 2D physics on my hobby game engine next week and would love a little heads up.

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

    How should I get started with coding?

    Posted: 17 Jul 2020 10:32 PM PDT

    I used to know a little bit of HTML a few years ago, they taught it at school. I stopped learning because I didn't know where to learn to code or where to run my code. I was thinking about learning python, and I downloaded Visual Studio Code.

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

    No comments:

    Post a Comment