is there a name for a program that was written in multiple programming languages? Ask Programming |
- is there a name for a program that was written in multiple programming languages?
- Been trying to solve this problem for the last couple of days but it seems impossible to solve
- Docker vs Terminal Multiplexer (like tmux) vs Terminal Emulators vs Remote Machines. Can anyone simply explain the differences between these?
- some question about JWT and Oauth
- How to use “proton-python-client” to write auto reply script?
- I'm having trouble with the PDFminer library in Python. Whenever I try to call a certain function it says that something is missing in the library itself
- How do I install Allegro (for C), WIHOUT using Visual Studio?
- Does realistic ANTS colony simulations exist ? Is possible ?
- Concurrent users accessing same resource | java
- How to handle a class sometimes having a property and sometimes not having that property?
- Is There A Way To Stop Youtube Videos From Playing On My Computer?
- Ethers.js vs Web3.js
- Help identifying what this source code does
- Don't know if I am heading towards correct path or not
- Getting experience as a programmer on real projects
- C++ - Is there an efficient dynamic data structure that doesn't move it's memory around?
- [Python sockets client/server]: Why is my server not printing?
- Sha256 question
- How to pass a lambda as a parameter to a function (C++)
- Web3 and bitcoin
- WPF C# || How should I best simplify these events?
- JSON ~ pattern regex not working properly
- Getting confused before I even start (Question)
- Having Issue with CORS on .NET Web API Project
is there a name for a program that was written in multiple programming languages? Posted: 22 May 2021 05:36 PM PDT lets say I wrote a programm in c, rust and python. is there a special name for this program? [link] [comments] |
Been trying to solve this problem for the last couple of days but it seems impossible to solve Posted: 22 May 2021 11:08 AM PDT Hey all, last couple of days have been nothing but pure annoyance and rage for me. Decided to ask here for help maybe an experienced developer can help me out with this... Basically, the problem is that I have a NodeJS server(NextJS to be exact) and when a user makes a request to a specific endpoint, I want to generate a bunch od PDF files(around 20-30kb in size each, in total even up to a few thousand files in some cases, but in some cases only a few), then I want to put them inside a .zip file(just for the convenience really) and serve them to the user somehow.. My initial solution was to just do all that in memory and in sync. I knew before even implementing it that this won't hold for long. Sure enough, even with 30-50 pdf files it was timing out the requests and extremely slow. But I wanted to implement it just to see if it's even possible to do what I want to do, and it was. Good start. Next, I decided that it would be great if I made the zip in memory, but instead of sending it straight to the user, I would upload it to Azure and then send the user a link to the file. This.. didn't really work.. It was still working in a synchronous manner, so the server would just hang when you wanted to export the file and be completely unusable until it uploaded the file to Azure. Fair enough, it's time to put this in a background task. I installed the My next idea was to have a separate server running on Azure App Service whos only task would be to zip and upload these files. But this idea soon fell in the water when I noticed that I would have to copy a lot of the code over, and some of it, like my database models, would not be easy to maintain and update, since I would have to do it in 2 places every time I make any changes... Anyways, the last 2 days I've been trying to migrate my entire app to Azure App Service, and since NextJS wasn't really made to be hosted there, it's been painful. Constant crashes, errors and issues that I have no idea what to do with. And I honestly don't want to waste any more time on this since I am not sure if that is even going to work... So that's why I'm here. I would love for someone to tell me how the hell should I solve this because I'm just sick of it.. Thanks for any comments and/or suggestions... I feel like this kind of problem would not be a first for many people, and having some professional experience with software development would really help out a lot, but as a mere student, I hope that you understand that I don't really know what I'm doing lol.. Thanks again! [link] [comments] |
Posted: 22 May 2021 04:59 PM PDT I have somewhat of an understanding of what all four of those are, but I'm a bit confused about the differences between some of them? Could someone ELI5 the difference between Docker and Terminal Multiplexers (like tmux)? Furthermore, what's the difference between Remote Machines, Terminal Emulators and Docker? Noob level question but this seems like the place to ask. Thanks! [link] [comments] |
some question about JWT and Oauth Posted: 22 May 2021 09:47 PM PDT I searched for JWT to use it in my mini project. when I googled many blog, stackoverflow... etc said one of the disadvantages of JWT is hard to logout immediately. I don't understand this. I think when a user requests logout, a server can change the user's jwt token's expire time to 0. then doesn't it mean logout immediately?? they say if we need to implement logout immediately, we need OAuth with JWT. why?? [link] [comments] |
How to use “proton-python-client” to write auto reply script? Posted: 22 May 2021 09:42 PM PDT Can we use this repo from github to write an auto reply script for an unpaid protonmail account? https://github.com/ProtonMail/proton-python-client if so, please share any more detail pointer. Thank you. [link] [comments] |
Posted: 22 May 2021 09:27 PM PDT Hi there, I'm trying to work with the pdfminer library (I installed both pdfminer and pdfminer.six) and I'm having a problem when I run the It gives me back an error that reads:
I tried uninstalling the packages and installing them again but it didn't help. My problem is that for the first time its not my crappy programming thats causing the issue so I don't know what to do lol. Thanks in advanced! [link] [comments] |
How do I install Allegro (for C), WIHOUT using Visual Studio? Posted: 22 May 2021 09:15 PM PDT Basically the title, spend last 2 ******* hours trying to ******* install this ******* ****. I tried:
I am out of ideas. I NEED HELP [link] [comments] |
Does realistic ANTS colony simulations exist ? Is possible ? Posted: 22 May 2021 05:47 AM PDT I really love reading about ants, and i wonder, Is a realistic ants colony simulation feasable ? Because ants colony are about "emergent behavior", when a lot of simple things/rules can make really complex and amazing things So, if you code some ants, with simple rules, a simple world, etc... And make a lot of them, can we get something somewhat close to the reality ? Maybe with complex AI things like simple neural network in each ants, giving them a "brain". Or doing a single "mega-brain" for the whole ant-colony ? I would love to do my end-study thesis on ants, and try to simulate them, but if it doesn't exist yet, maybe it's because it's impossible ? I'd love too know what you think ! [link] [comments] |
Concurrent users accessing same resource | java Posted: 22 May 2021 08:44 PM PDT I was asked in an interview to design a movie ticket booking system for concurrent users.My code was not accepted. I have never used multithreading. The requirement was if 2 concurrent users try to use the system.
I couldn't wrap around how to call functions on each thread from main thread, with pauses (while I gave command to book seats to U1, I gave another command to look for available seats to U2) There are other scenarios as well but If I can make one, probably I can do others too. ``` public class Show {
``` driver class: ``` public static void main(String[] args) { Theater theater = new Theater(); List<Show> shows = new ArrayList<>(); Show show1 = new Show(); show1.setDuration("2"); show1.setMovieName("Movie1"); show1.setScreenNumber("1"); show1.setStartTime("1100"); } ``` a. If anyone can please explain me how to decouple this more? Thanks in advance. [link] [comments] |
How to handle a class sometimes having a property and sometimes not having that property? Posted: 22 May 2021 02:37 PM PDT Hey I'm trying to learn object oriented programming by myself and have a question. I'm writing in C# using visual studio if that matters, but I think language doesn't matter for this question. Let's say I'm programming a chess-like game. I'll define a class Board to represent the chess board. It'll have a length and width and number of tiles based on length*width. Then I'll define a Tile class to represent the state of each tile, and I'll have the Board constructor ask for an array of Tile objects equal to the number of tiles on the board. Then I'll create a Piece class that defines how each piece works, its color, etc. I've got all that down and it's working so far. Here's the question: How do I handle a Tile sometimes having a Piece and sometimes not? Right now Tile has a property Piece PieceType that contains the piece currently on the tile, but there's not always a piece on all tiles. Do I make a Piece that represents the absence of a Piece? Or is there some other way to tell the Board class "sometimes this property will be here but sometimes it wont"? I imagine this is an extremely common situation but I couldn't figure out what to search for on google to find the answer so any help would be appreciated, even if it's just the name of the right concept to search for on google. [link] [comments] |
Is There A Way To Stop Youtube Videos From Playing On My Computer? Posted: 22 May 2021 07:24 PM PDT Hope this question is ok to ask here. I've a problem with watching too many youtube videos and not focusing on studying. I keep watching one video after another. I want to stop this by somehow disabling youtube videos from playing and instead have to go through the motions of downloading a video if I need to watch it because I do still watch good programming tutorials on youtube. So I'm just trying to break my habbit. I had a friend years ago who did this, he made it so he could only download videos if he needed to watch them, unfortunately I'm not in touch with him anymore. I've put this question to Google but the only solution it gives is how to stop automatic videos from playing, not stopping them entirely. Thanks for your help. [link] [comments] |
Posted: 22 May 2021 07:00 PM PDT Is "Web3" a buzzword for BOTH Web3.js and ethers.js? Why do I see so many applications using Web3 as a buzzword and also have info on ethers.js? Are Web3.js and ethers.js essentially different JavaScript libraries for the same thing? How does ethers.js differ from Web3.js? [link] [comments] |
Help identifying what this source code does Posted: 22 May 2021 05:46 PM PDT Hello, if anyone could please give me a tip or help on this. Source code and output. https://prnt.sc/13a8fxm I really can't find the logic of what this code is supposed to do. [link] [comments] |
Don't know if I am heading towards correct path or not Posted: 22 May 2021 05:44 PM PDT Hi, I am a 2nd year student at a tier 2 college. My aim is to get into Amazon or the big N. I am good in ds and algo and currently doing leetcode, solved around 80 questions mostly mediums. But is it the right path for me , as for 3rd year, I have planned to do The Odin project and develop some skills. In my college, for 3rd year there were options for electives, I took ooad. Please suggest me the correct path. [link] [comments] |
Getting experience as a programmer on real projects Posted: 22 May 2021 07:35 AM PDT Hi everyone, I am a high school student who would like to get some experience by working on some real projects. I started learning to code like one and a half year ago, made some projects for myself to get out of the "tutorial hell" and now I would like to get experience by working on real projects to see if I can actually use the stuff I learned. I am willing to work for free, I just want to gain some experience. Can someone please recommend me any online communities / companies who are looking for an intern front end web developer? [link] [comments] |
C++ - Is there an efficient dynamic data structure that doesn't move it's memory around? Posted: 22 May 2021 03:08 PM PDT What I mean is std::vector moves around when it resizes itself, but I've written a node-tree system that uses pointers to random memory locations (thanks std::list), and I'd like to allocate memory that won't move and invalidate all of the pointers. My idea for writing something like this would be a linked list of arrays - each array would track which elements were in use and which were deleted. They could tombstone deleted areas or simply reuse cleared areas. I'm thinking about this because ultimately, I'd like to have my dinky little game engine running on the Nintendo Switch, and I'm guessing memory and performance is at a premium. [link] [comments] |
[Python sockets client/server]: Why is my server not printing? Posted: 22 May 2021 02:09 PM PDT I have constructed this simple example in order to complete a much bigger project using python sockets. I have a simple client and server setup, and they look like this: client: server: I run server from one terminal and client from anther. The terminal running the server does not print out any text but my client prints out: Why is it not printing out the recieved data and what it will transmit? [link] [comments] |
Posted: 22 May 2021 01:45 PM PDT Hi guys, So with many cryptocurrencies in order to successfully mine a block, you will need to hash the block with a nonce(4 byte number) if the resulting value of this hash is less than or equal to the target value(2^(256 - difficulty)) then the miner will have created a block. I'm following this video - https://www.youtube.com/watch?v=b81Ib_oYbFk timestamp 05:34 the target value is 2^(256 - difficulty) but how can Python allow an integer of 2^256??? 2^32 is a 4 byte number, 2^64 is an 8 byte number, Python allows/has 2^256 integers? thanks [link] [comments] |
How to pass a lambda as a parameter to a function (C++) Posted: 22 May 2021 01:11 PM PDT The idea is to pass a function to another function, which then calls that function, and gives you the result. The above works, but I must not fully understand it because it also works even if I omit the But anyway, what I really want to be able to do is something like this: The compiler seems to think the lambda has a type of [link] [comments] |
Posted: 22 May 2021 12:13 PM PDT I see a ton of info out there about Ethereum and web3, but is web3 exclusive to Ethereum network or is this something relating to blockchain technology in general? [link] [comments] |
WPF C# || How should I best simplify these events? Posted: 22 May 2021 11:16 AM PDT Hey there! I'm just looking for thoughts on a smaller part of a project I'm working on. Basically I want to be able to select multiple checkboxes, and I have them (currently) also set to private strings on each View. So when CheckBox1 is checked, it will pass "TWC.TNON" through to the "ThreeWay" private string. This is being passed to a text output in another part of the project. However I'm basically just looking for an easy way to be able to have it do the same thing and check the state of EVERY checkbox on a StackPanel, and pass the Private String associated if the Checkbox state is TRUE. Otherwise if not, I want it to pass nothing to the text field. I'm assuming I can omit the text field part of all of this - and just want to be able to create a better method of handling this process to check the TRUE/FALSE states of the Checkbox and pass through what I need. I'd like to be able to have the felixibily of adding MORE checkboxes as well in the future. The reason I'm passing a specific text through to a private string right now is because I also need the display text of the Checkbox to be different than the actual text that's output later on. For example.. if I have 3 Checkboxes of [ ] Cat [ ] Dog [ ] Fish - whichever is checked will actually supply "Meow" "Woof" "Gulp" to the text box. I'm rather new to WPF and C#. My skill set is more related to Telecom/Network related programming.
[link] [comments] |
JSON ~ pattern regex not working properly Posted: 22 May 2021 11:08 AM PDT Currently creating a JSON schema for a course code. The course code format should be: ZZZZ-1111, four letters, a dash, four numbers but for some reason I can add more than 4 digits or 4 letters on each side. Any ideas? [link] [comments] |
Getting confused before I even start (Question) Posted: 22 May 2021 10:48 AM PDT Hey all, I have some basic experience with programming and am familiar with some of the fundamental concepts, such as looping and what not. Each time I start a new tutorial however, the tutor often talks about compilers, directories and other things. Eventually, the code that I am writing, or the way that I am executing the code, all ties in with computing in general. I want to learn about all the things that are related to programming that don't involve actual programming. I get confused with all the terminology, knowing the difference between SDK and IDE, etc. Knowing the difference between the shell, the terminal and the command line and then understanding how they are actually used. Knowing about the operating system and so on. This is probably the wrong sub to post in so apologies in advance, however if anyone has any resources to start learning about all these different concepts would be appreciated. I just feel like at this moment I am going around in circles! Thanks [link] [comments] |
Having Issue with CORS on .NET Web API Project Posted: 22 May 2021 10:38 AM PDT Hi all, I made a stack overflow post but thought I'd try here as well: https://stackoverflow.com/questions/67652119/getting-cors-error-in-net-web-api-project-even-while-following-documentation I'm having an issue with still getting CORs issues even though I've tried enabling CORs according to the documentation. [link] [comments] |
You are subscribed to email updates from AskProgramming. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment