• Breaking News

    Saturday, February 26, 2022

    Any ideas on where i can work and how to get a job making creative things that people interact with? Art installations, theme parks, Science Center interactive displays, imagineering(unlikely). Work Ask Programming

    Any ideas on where i can work and how to get a job making creative things that people interact with? Art installations, theme parks, Science Center interactive displays, imagineering(unlikely). Work Ask Programming


    Any ideas on where i can work and how to get a job making creative things that people interact with? Art installations, theme parks, Science Center interactive displays, imagineering(unlikely). Work

    Posted: 26 Feb 2022 05:29 AM PST

    I've done programming and electronics projects like the singing animatronics skull singing pumpkins that kind of thing but nothing extremely high budget or cost.

    I'm not looking to be the head , just someone working in the process of making it

    Meow Wolf is an awesome company that makes huge art installations that integrate technology and they have my resume but I don't think I'm competitive enough yet.

    it would be cool to make interactive displays for science centers, but the local when I called has a free volunteer Corps that does that and I need to support myself,

    other art installation companies might be a good fit.

    Imaginereing kind of thing, but their REALLY had to get a job.

    helping to build interactive experiences for theme parks and children's centres is also something I think would be completely awesome.

    I've got a couple project ideas for interactive art this place that might help me get a job but other

    than that I don't know or who do apply to.

    looking for ideas of places to apply that will pay me

    I graduated late I'm in my twenties, had some military subcontractor work, and some work programming for a major university, but nothing other than that that I was paid for.

    submitted by /u/12jonboy12
    [link] [comments]

    As a programmer, do I need a suit for interviews?

    Posted: 26 Feb 2022 05:27 AM PST

    I used to have one back when I was in college and in college at the career fair if you weren't wearing a suit you stuck out negatively.

    what kind of company is that I will be applying for what I need to wear suit? I understand if it's all of them I just want to know because it's going to be hard for me to get one right now.

    sorry for the weird question and thank you so much for your time

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

    Fellow full-stack devs using MacOS, should I upgrade to Monterey?

    Posted: 26 Feb 2022 08:57 AM PST

    I'm really torn. I use MacOS as my daily driver for full stack development. I'm currently on Big Sur. I'm pretty happy, and don't fully see a big reason to switch other than to be on the latest OS for security reasons.

    Has anyone upgraded and regretted it?

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

    Im a firmware programmer who wants to just make random apps with guis on computers for random personal things.

    Posted: 26 Feb 2022 08:18 AM PST

    It seems useful to me make random apps with guis. Things like small things I can make in a week max.

    Anyone know a good framework for this? Here are some wants for me:

    -Multiplatform for windows 10 & linux. Mac doesn't matter, but working on phones is def a plus

    -I know C, C++, python, java, C#, and some others languages. Wouldn't mind learning a new language though. But I would love to use python though.

    -making these apps quickly would def be helpful.

    Hope you me. Lol. Would be super grateful!

    EDIT: I'm trying to make apps local to my computer.

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

    I am currently learning C language in my college, is it okay for me to learn Python simultaneously?

    Posted: 26 Feb 2022 02:19 AM PST

    I am a beginner

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

    I need a lazy solution

    Posted: 26 Feb 2022 04:02 AM PST

    I'm an extremely lazy programmer. I literally generated my own keys for a project, because the project I'm working on has their keys encoded in a protobuff. Rather than decode them...

    I'd like to keep this philosophy, because I believe easy concepts allow more people to work on a project.

    I'm building a P2P Reddit over js-ipfs, where you see posts and comments (in a gmail-type environment) from friends and friends of friends.

    What's important here is that all content on js-ipfs gets its own content ID (hash string associated with said content).

    In my network, every user gets their own blockchain, and every interaction is a block linked to the previous network interaction.

    A post, for example: { post: { message: { author: 'MCowBQYDK2VwAyEAHwGmkrUTO3gEUdmCypJPlZcNqy0MPmC4J+wjgv+aM5M=', subject: 'Hello World!', cid: 'QmWVB6DkXSE7gV8hsnV1X1eJ22B6FZAoe1Gi4NGSPp5y4a', time: 1645875359.517 }, signature: '83e2bae6654217ccfc7530888892e20bd6755675bcbee66b320a380649495a89227fabadcdc95e96264b13f5b5ca0f90eac4016e534d6dcf94a4035aed37d808' }, time: 1645875359.517, prev: 'QmNuhgw52Etoc1YPJEd3dZZ71frKa9nuzSfxBJdrfsFLoT' } This then gets added to an index that holds the user's most important information: display name, profile image, most current block...

    Basically this: { name: 'Jesse C', key: 'MCowBQYDK2VwAyEAHwGmkrUTO3gEUdmCypJPlZcNqy0MPmC4J+wjgv+aM5M=', current: 'QmcKbdk2Ubixs3dwQCWqYjTohNcAUQnrgJmd5enTmPPKsF' } The profile also gets a CID. CIDs are based on hashes. So every time the profile is updated, your subscribers need your new CID.

    If you know anything about IPFS, you can publish a name (associate your public keys with a CID). Only, from everything I've read online, that's broken in js-ipfs. I've tried numerous times, and it always throws an error. And PubSubs aren't working either. Out of all the times I tried, I was only able to get one message from one instance of the application to another.

    So, now I need a genius way to resolve keys to CIDs.

    What I've thought about:

    • A central CID translation server, with a distributed database over IPFS This is problematic, because it puts everything in one place. If the server goes down, no one can update their CIDs.

    • Allowing independent servers to reserve usernames like email addresses and translate those to CIDs This is problematic, because I really want people to be able to use the project offline.

    • Allowing independent servers to host the interface, and let individual users log in to those servers. Problem is, as I've stated, I want the program to be usable offline (WAN).

    • Network broadcasts were a possibility, but they don't bridge online and offline access. Was thinking each user could keep a list of people they follow, and the latest CID signed they have for that person. When one person goes across the world though, they're disconnected from everyone else.

    Was hoping maybe one of you guys could assist in coming up with a solution that permitted offline and online access.

    Inspiration from this project came from Scuttlebutt, and Mastodon. I do plan to keep it open source. It's currently running on nodejs, but I'm going to transition it to a Chrome extension next year.

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

    Books on designing programming languages?

    Posted: 26 Feb 2022 03:53 AM PST

    Is it fine to ask for book recommendations? I'm interested in learning about how programming languages are designed - specifically on the syntax / grammar side of things. Like, stuff that'd explain why some programming languages end expressions/statements with a semicolon vs whitespace.

    I've found one so far, Crafting Interpreters by Robert Nystrom, but it sounds like it leans more towards writing the interpreter (i.e parsing, lexing, building ASTs, etc) rather than the language.

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

    I've been programming for years, I still don't understand the anti comment sentiments.

    Posted: 25 Feb 2022 11:04 AM PST

    We've all heard it, "good code doesn't need comments." But first of all, what are they hurting? A small description on a well written function can save you time reading it to figure out what it's doing, that's just how it is, even well written code takes longer to read than english in most cases.

    And second of all, y'all act like good code even exists in any organization at scale. It certainly doesn't exist with any degree of regularity to make me anti-comments. All this code we're writing is ass. Double cheeked up on a thursday afternoon.

    I want to see simple comments, even on your garbage perl script you're convinced is the best written code ever and we'll all understand it 2 years from now.

    /rant

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

    Is there a place on reddit or elsewhere to ask architect related questions?

    Posted: 26 Feb 2022 09:24 AM PST

    I am designing a system at work and have some questions about my architecture choices and overall design. Is there a good place to ask these questions? I've gotten no response on this sub and just figured it was because this sub is more for focused and specific programming questions and my post was long and revolved around the design of a large system.

    Is there a better sub or other place on the internet where I could have a discussion about this sort of thing and get advice from others?

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

    What's the best way to turn the contents of my website into a video?

    Posted: 26 Feb 2022 08:55 AM PST

    I have created a non-interactive website that fetches from my company's APIs to generate custom "videos." You provide it a list of our products (usually hundreds long) and it will loop through them, creating semi-unique 3 minute showcase "videos."

    The use case is for our front lobby, and it works great.

    The issue is: my company would like to use a third party app for this large display board, and show weather information on a portion of it. My site works fine in this app, util cast. I've contacted the devs, and they have a defect that won't be fixed for a while.

    At this point, I think it would be easiest to turn my site into several videos, and just show those until the third party company fixes their app. How should I do this? I'm assuming screen recording is my worst case senario.

    Thank you

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

    CRNA vs Tech

    Posted: 26 Feb 2022 08:43 AM PST

    Yes, I know those are two completely different careers. For those who don't know, a CRNA is a Nurse Anesthetist (requires a 4 year BSN, a year of ICU experience, and 3 years of grad school). I'm currently 18, and ever since I was 15 I decided I wanted to be a CRNA. I liked learning about healthcare, and the flexible schedule of a CRNA and the money was appealing. If all goes wrong, there's many other things I can do with a nursing degree. But now I'm seeing all these people talk about how great of an industry tech is, and I'm really questioning myself right now. I'm in my second semester of college (doing my prereqs) so I feel like if I'm going to switch, I should do it now. Except I know nothing about coding, I don't know if I'd like it or not, and sometimes I hate math (even though I can usually push through and get an A in it). Despite all of that, going to school for 4 years (or less) seems more appealing. My only concern is if I would like it or not- at least with healthcare I can say that I enjoy learning about it. How can I decide something like this? I'm scared that I'll hate it/ regret suddenly changing my path. I've always gotten straight A's and I'm hardworking so I don't think either option would be impossible for me. I just want to like my job, have a lot of time for my hobbies, and make a decent amount of money. I should add that I have a connection to a CRNA who acts as my mentor, while I don't have any connections in the tech industry. Any advice?

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

    I have a project that I feel like would be fairly simple, but I'm not an expert by any means. Someone help?

    Posted: 26 Feb 2022 08:21 AM PST

    I'm on the hunt for a real specific module that was only in 2002 models of the Chrysler 300M, Chrysler Concorde, Dodge Intrepid, Jeep Grand Cherokee, and Jeep Liberty.

    There are two junkyards in my city. One of them allows me to actually set up alerts and I get an email anytime one comes in.

    The other junkyard however... I can go online and check the inventory, but there's no built-in way to get alerts.

    I figured surely it would be real simple to set up a little program of some kind that checks the website once a day, and sends me an alert whenever a new 2002 model shows up in the inventory.

    I'm not asking anyone to do all the work for me, obviously. But this seemed like a good sub to ask, where should I start?

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

    Advice on saving passwords

    Posted: 25 Feb 2022 10:55 PM PST

    I'm trying to build my own password storage app. Just a simple app that stores my passwords in a database. (Not really something I would use, just trying my hand at cybersecurity) I tried creating my own hash function and now I've kinda hit a wall. How do I retrieve a password if I used a hash function on it? Should I have opted for encryption instead of hashing?

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

    I feel like I know nothing compared to other developers

    Posted: 25 Feb 2022 10:11 PM PST

    I am a Frontend Engineer Intern in a service-based company. My tech stack is React(NEXTjs), styled-components, and Figma for designing.

    We have an internal presentation for our software project major at University, as I'm a final year student. After seeing projects of my batchmates, I just lost in depression. They are working on flashy technologies, like AI/ML, cloud, Big data etc. And I feel just overwhelmed that they are way ahead of me and I can't compete with them. I feel lost. I think they are doing the real work and I'm just centring on my text and changing colour.

    Does anyone feel the same? Can someone give me some advice on how to overcome this thought?

    submitted by /u/Longjumping-Ad1885
    [link] [comments]

    How to download a file to my macbook while ssh on remote machine?

    Posted: 26 Feb 2022 01:32 AM PST

    Hi, I am still a comsci student. I can only log into sftp to download and upload files, log out, and go back to ssh. Is there any way to directly upload/download files from my macbook to ssh server without having to logout?

    I am using terminal, thank you!

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

    What advice can you give to an experienced developer who is good at coding but not so great at planning?

    Posted: 25 Feb 2022 02:36 PM PST

    I've been in the industry now for 8 years and I consider myself to be highly competent when it comes to writing good code, but I am not so great at planning out what I write. I'm often impulsive and start writing immediately as I get an idea, only to realize that the approach I took is incorrect, or has downsides that I failed to consider. This leads to wasted time and frustration as I have to refactor stuff all the time.

    For example, I often think I have enough of an understanding of what is needed to decide what classes to make, but then I realize that I forgot to add something or that I wrote code for no reason because there's a far simpler approach I could have taken.

    Given a set of requirements, are there a set of principles I should follow to make sure I know as much of what I need to do and how to do it as possible before I go down that rabbit hole?

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

    Should I upgrade to Windows 11?

    Posted: 26 Feb 2022 12:00 AM PST

    Hey guys!

    I'm learning and practicing Web Development and want to do it in the future too.
    I'm interested in HTML, CSS, Javascript, ExpressJS, Jest, websocket and etc.

    Should I/ Can I upgrade to Windows 11?

    Is there any compatibility issue?
    Is there any feature that does not integrated yet into windows 11?
    Could I use everything the same as in Windows 10?
    Is there any downside of it?

    I would appreciate any feedback!

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

    Python class with print statement

    Posted: 25 Feb 2022 08:26 PM PST

    I am learning OOPs in python. Here is the code:

    class Hello:
    print("hello")

    When I run this code it automatically prints "hello". But why this, even I haven't created any object. And when I create objects of the class hello even then "hello" is not getting printed. Can anybody tell me what is happening backstage?

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

    How long would it take to brute force a 20 gb password?

    Posted: 25 Feb 2022 08:04 PM PST

    In a futuristic book im writing a protagonist has a cool motorcycle (a la akira style) that accepts a 20 gb password over 2 usb slots (inserted simultaneously to avoid bottlenecking)

    How long would it take on average, for average software in the present day to brute force this 24000 character password?

    Or how about a modern quantum computer?

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

    How easy would it be for a zero-knowledge programmer to program something like this?

    Posted: 25 Feb 2022 04:01 PM PST

    I don't know the programming subreddits so if this is the wrong place to post this let me know, and I will delete this post.

    Essentially: There are 6 numbers.

    n = any number from 0 to 10

    g = any number from 0 to 5

    x = sum of all numbers on the other side of the equation

    n + n + n + n + n + g = x/55

    I want to have a set of buttons that I can press for each variable to replace that variable with a number, and then I want it to add it all together and put it over 55.

    For example:

    I want to it to equal 55/55.

    So I would press a button for each one and it would end up looking like this.

    10+10+10+10+10+5 = 55

    And I would like to do this multiple times. So I'll call that whole process "RR." And at the end, I would like to have a button that will add the sum of the results I got out of 55 (lets say I ran RR 6 times and it was 55/55 each time, it would be 330.) and then divide it by the amount of times I ran RR, finding the average.

    I don't know if I worded this good enough, if I didn't I can elaborate if needed.

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

    Need help formatting code for a christmas tree structure

    Posted: 25 Feb 2022 07:38 PM PST

    def tree(n):

    for i in range(1, n+3,2):

    x = int((n-1) / 2)

    if i <= n:

    print(" " * x, "*" * i)

    else:

    y = int((n-1)/2)

    print(" " *y, "*")

    >>> tree(5) * *** ***** * 

    My tree looks lopsided but in actuality, it should look like this:

    >>> tree(5) * *** ***** * 
    submitted by /u/aguywholikestogame
    [link] [comments]

    Swiss army knife API's?

    Posted: 25 Feb 2022 07:03 PM PST

    I'm not an architect by by title, but a senior developer who is partially responsible for some new systems in design phase right now. We need to build a system to handle appointment information for an office.

    We will be ingesting events from a kafka topic such as appointmentAdded, appointmentChanged, appointmentCanceled, etc, which will contain information about various actions taken on appointments, this is coming from another, upstream system and feeding our database (PSQL).

    We'll also need it to provide a REST API with standard CRUD operations and search functionality to feed a front end. Maybe requests coming in to the api will need to produce events on kafka too? I'm not actually sure about that last part but I'm assuming so.

    If we have other frontends that could potentially use a socket connection to make live updates to a UI will that be built into my API service as well? This is I guess why it feels like a swiss army knife to me, it will feed several systems in different ways.

    If I want to make this fully replayable should I also make the rest API produce a kafka event in order to make this fully replayable? I guess anything writing or deleting data on my appointment data store will need to go through events like this? Then I can ensure that if these tables were to disappear tomorrow they can be rebuilt with some sort of kafka replay? How do you handle things like if a the write operation associated with an event fails? That could lead to inconsistences, right?

    I also see potential to add a graphQL layer on this to search across appointments/customers/care provider and other attributes from other systems and APIs.

    This is maybe a lot in one question, but I'm looking for any advice or resource recommendations as well. A lot of the architecture of the full system is already in place and not changing any time soon so we have to live with that, but for newer systems we want to be able to make them more modern and maintainable/performant. Will most likely be going with a spring boot solution using java 17.

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

    Very high precision in math.log()

    Posted: 25 Feb 2022 02:28 AM PST

    I was solving this coding task to check whether a given number is a power of two, and my code essentially boiled down to this:

    return math.log(n, 2).is_integer() if n > 0 else False

    The only problem with this solution was that it failed a test case where n was 536870912. This was because math.log(536870912, 2) returns 29.000000000000004, which is not an integer and leads to my code returning False. However, since 536870912 is indeed a power of 2, it should return True.

    I solved it by limiting the precision to 10 decimal places:

    return round(math.log(n, 2), 10).is_integer() if n > 0 else False

    My question is why this actually happens. Does it have to do with Python's limitations in floating-point arithmetic?

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

    Cmake compiling issues with C++11

    Posted: 25 Feb 2022 05:25 PM PST

    Hi all. Some time ago I was given a library to build using cmake: among others, this made use of the ALPSCore libraries, hdf5, openmpi, libomp, and was using GNU 8.4.0 (C++8) as CXX compiler. After a change of laptop, I recently reinstalled all my libraries and tried generating the same builds using GNU 11.2.0 and C++11, but it gave the following error repeated several times across the entire make step:

    error: invalid 'staticcast' from type 'std::cxx11::basic_stringstream<char>' to type 'std::stringstream&' {aka 'std::_cxx11::basic_stringstream<char>& ' "

    Being very new to this, I am unable to tell whether the fault comes from the change of compiler or if it could be simply associated to a wrong installation of the libraries.

    Has anyone had a similar issue with the newest versions of C++? Or could there be a different cause?

    If it truly is due to the new version of CXX, how can I repeat the installation process with an older version? I got C++8 installed, but both hdf5 and openmpi require C++11 and I cannot find a way to install them without it. Does anyone have any ideas?

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

    Card game turn based state

    Posted: 25 Feb 2022 03:09 PM PST

    Hello, I'm making a small card game like solitaire but I'm not satisfied with my design, I'm using states classes like PlayerTurn(Player p) , PlayerWon, PlayerXYZ...

    and actions like CardPlayed(Player p, Card c)...

    Do you have a better way to design this ?

    Basically a player can play until a specific action trigger his endturn. He can play on differents zones on opponent pile or on common zones

    If you have some code examples or resources It'd be perfect ! Thanks a lot.

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

    No comments:

    Post a Comment