How come the "new" reddit and the official mobile app for reddit are both so inexcusably bad in terms of user experience? Ask Programming |
- How come the "new" reddit and the official mobile app for reddit are both so inexcusably bad in terms of user experience?
- What's the hardest tech interview question you've ever been asked?
- Does there exist a collection of design patterns / best practices for C programming?
- How can I get the node name?
- Testing posting in a social media application
- What the hell am I doing wrong that I can't access the tweet text? PHP
- I'm looking to setup a raspberry pi that can handle a range of remotely triggered automation tasks. What OS would you suggest, and what would be the best way of structuring this?
- What was the best company you've worked in and why?
- Can anyone point me to a write-up on a good matrix library?
- What makes good code good?
- Reusing MQL4 (.mq4) indicators in Python?
- Cannot get code to read input value from TMP36 sensor
- How to get the distinctive terms from a webpage
- If you have not looked into how to program on your own, is that a sign you will not enjoy your work?
- Programming an asset system?
- Frontend courses with hard deadlines
- How do I get x y coordinates of sentence in a PDF, which is currently an HTML webpage that will be saved as a PDF, without actually searching through the whole PDF? I want to modify the HTML to make the sentence quickly searchable/identifiable in a PDF? [Python]
- Scheme (Racket) programming help
- Freelance programming , any advice?
- How to replicate to effect of prerender feature of chrome
- Is signed int unfair to positive integers?
- Amazon SQS - An API to delay queue messages
- Learning languages simultaneously.
- How would I extract data from forecasts at certain times from an XML API response in PHP and display them as HTML tables?
- I need help and am losing motivation and confidence
Posted: 24 Mar 2021 03:37 PM PDT I don't think I have ever opened the new reddit to have a good UI experience. There is always something wrong. Videos won't play properly or cannot be paused during the first seconds for example. Instead, they stop for a second and then start playing again. And that's not just a browser issue, it is on the app as well. The app is also riddled with issues. Sometimes the comment chains cannot be collapsed, or they only collapse if you swipe your finger after holding it down for a few seconds. There's a feature where you can quickly peak into a subreddit without actually loading it, and it is an absolute pain to navigate sometimes. You can also get into a link loop, where you open a user profile again and again and to get out of the loop you have to press the back button as many times, which seems a little funny to me. I also get the "something went wrong" annotation very often for various things like loading a comment section. I know this is incoherent rambling but how is the state of the website and the mobile app so bad? I have an S7 and the latest version of Chrome as well as a decent internet connection. Is the app running on the same source code as the website (like react), since there are very similar bugs? [link] [comments] |
What's the hardest tech interview question you've ever been asked? Posted: 24 Mar 2021 09:10 PM PDT |
Does there exist a collection of design patterns / best practices for C programming? Posted: 24 Mar 2021 09:50 AM PDT I've been C programming in my job over the last few years, primarily focused on data collection systems in a Linux environment. I would like to think I'm well versed with the language and have a good understanding of memory concepts and their implications. Recently, I've found myself implementing certain patterns that seem useful. For example, I've created several library source files where each function in the file has access to static global variables. i.e. only functions within that source file have access to these variables. Then for each function within that source file, the function name has a prefix to it. To me, this seems to be a pseudo static-class that you would find in any other object oriented programming language. This has recently got me thinking if there are other common C programming patterns for things that are "tried and true". I'm also curious if there are any other general best practices for C programming that might help avoid certain pitfalls. [link] [comments] |
Posted: 24 Mar 2021 09:26 PM PDT Consider a server having two or multiple jvm running if I send REST request to server it chooses any jvm which is available & that jvm will handle the request. Now I want that jvm(node) name which has handled that request. [link] [comments] |
Testing posting in a social media application Posted: 24 Mar 2021 04:56 PM PDT Im currently manually testing a post functionality in a small laravel application Purely manual no unit testing or anything All it consists of is a text area and a post button when the user posts its displayed (twitter style) to a post wall and saved to a mysql database So far i have tried User can post normally Blank post Posting links Posting larage ascii art Posting sql commands Posting as fast as i can rapidly in sucession Posting symbols Anything else i can try i cant currently think of anything else any suggestions would be more than helpful thanks [link] [comments] |
What the hell am I doing wrong that I can't access the tweet text? PHP Posted: 24 Mar 2021 07:26 PM PDT So this issue is driving me a little nuts because I can't seem to be able to figure out what the hell I'm doing wrong. I'm attempting to use the TwitterAPIExchange wrapper in order to query tweets and display them with HTML. I'm able to get the response in the format of a JSON which I can put into a formatter to make sense of. But no matter what I try I can't access the text of a tweet or loop through them. The call is as such
If I echo this I'm able to see the JSON response. I then looked at answers for how to loop through a JSON and everyone said I need to decode it first, which I did, and that gives me an error.
If I try to access anything of the tweet (and I've tried a few methods) like this I got from a Youtube tutorial
I usually get an error like this appear.
Here is the pastebin if anyone wants to take a look at the JSON response https://pastebin.com/NL7eRzHH There's also the issue of looking for English only tweets. So far I've not been able to find any helpful documentation for the 1.1 API calls to only look for English tweets so if someone is able to help me out with that too, I would greatly appreciate it. Many thanks! [link] [comments] |
Posted: 24 Mar 2021 07:22 PM PDT The automation tasks I have in mind include;
I intend on making an android app for my phone to serve as a menu for all of my operations. I'll be programming these myself, but I'm unsure how to manage a system designed for automation. Is there a typical application people use on pi's to receive remote inputs? Should I have the cursor move around to navigate websites and such? Thanks in advance for the help, I really appreciate what you guys do here! [link] [comments] |
What was the best company you've worked in and why? Posted: 24 Mar 2021 06:57 AM PDT Could be your love of the technology used or company culture [link] [comments] |
Can anyone point me to a write-up on a good matrix library? Posted: 24 Mar 2021 06:03 PM PDT Some matrices are dense and are represented as contiguous 2d arrays of values. Some matrices are sparse and are represented as a list of values at indices. Some matrices have features of both sparse and dense matrices. Here be dragons; representations might involve trees of lists of small 2d arrays. Each of these representations need to be polymorphic. Multiplying a sparse matrix by a dense matrix should be possible. And then there are various operations on matrices: inversion, diagonalisation and exponentiation. Can anyone point me to a pedagogical library or discussion that lets me work with matrices of all shapes and sizes? [link] [comments] |
Posted: 23 Mar 2021 10:36 PM PDT Assume that you've just become part of a team that manages a large code base for an interesting and fulfilling project. What most important aspects of the way the code is written will make the code good? What specific things are going to make your journey a complete breeze in terms of reading and understanding the code, adding new features, improving and patching it? I'd highly appreciate it if you also indicated your experience and included an example from your past experience of encountering really good code (or bad), and what made it good (or why it wasn't). [link] [comments] |
Reusing MQL4 (.mq4) indicators in Python? Posted: 24 Mar 2021 04:14 PM PDT I am working on a Machine Learning based Python script that analyzes stock/forex prices. Currently, the script works fine using 15 basic financial indicators to make decisions on whether to open a position or not. However, I now want to use a wider selection of indicators. I had previously collected ~1000 of them, written in MQL4 programming language (a variant of C++) for the MetaTrader platform. I have been programming in Python for years now, but my knowledge of C/C++ (and hence, MQL4) is quite rudimentary. Still, I could probably program these indicators in Python, one by one, but I am hoping there is another way to go about it, since the amount is too large, and in the future we might want to further extend the selection. Would it be possible to avoid having to rewrite thousands of indicators? Would it be possible to get a pandas dataframe with price data of a stock/forex pair, transform the data into C/C++/MQL4-style array format, run the mq4 script to return the indicator values, and save that into a csv file for the Python script to access? [link] [comments] |
Cannot get code to read input value from TMP36 sensor Posted: 24 Mar 2021 03:20 PM PDT Been stuck on code for displaying temperature onto a 16x2 LCD display in C18. The output value on the screen is always 31, which isn't correct for room temperature. When using a Watch window, I can see that the reading integer I created will not recognise my ADRESL input. I know this is a code issue because I've swapped out the tmp for a thermistor and there was no change in output value on the LCD. Any ideas would be great, thanks. [link] [comments] |
How to get the distinctive terms from a webpage Posted: 24 Mar 2021 01:58 PM PDT I want to be able to gather all of the distinctive terms on a page without having to set up my own dictionary with all of the words I do or don't want in there. So if the crawler comes across "A subreddit for all your programming questions", I would like to be left with {"subreddit", "programming"} because those are the most distinctive/special words. Anyone have any ideas? [link] [comments] |
If you have not looked into how to program on your own, is that a sign you will not enjoy your work? Posted: 24 Mar 2021 01:48 PM PDT A family member who works in IT and has been mentoring me has suggested that if I really wanted to be a programmer, I would have acquired the skills already without having to go to university/college on my own. [link] [comments] |
Posted: 24 Mar 2021 01:34 PM PDT I have a large stock of inventory in a very large room, it consists of things like PC's, laptops, TV's, COW's etc, just a bunch of I.T equipment and i want to organize it all and keep track of everything in the room. Might be a long shot but it is possible to have like a map of the room on a screen and you can click an area on the screen and it can zoom in and display what is in that area exactly, that's just an idea and i am open for suggestions, all i need really is somoene to say like that is not possible but this is and point me in the right direction as im sure i would be fine researching the other bits. Thank you to anyone that spends their time responding. [link] [comments] |
Frontend courses with hard deadlines Posted: 24 Mar 2021 09:30 AM PDT Hi all, I started my programming journey with the MITx Python class through Edx (6.00.1x). It's been a phenomenal class. Very challenging, it forces you to solve difficult problems on your own and write programs. It also has hard deadlines that helped me stay on task. I'm now looking for a similar Frontend course that digs into HTML, CSS and JavaScript. Not looking for anything easy and I need hard deadlines. I've tried courses with soft or no deadlines and it just doesn't work for me. Coursera for example only has soft deadlines. I'm willing to pay for the course. Doesn't need to be free or cheap. I've had trouble finding such a course. If anyone can offer some suggestions I would be greatly appreciative! Thank you!!! [link] [comments] |
Posted: 24 Mar 2021 12:54 PM PDT I have a webpage which has a sentence of interest to me. I generate a PDF of this page using Pyppeteer (python port of puppeteer) and now I want to find xy coordinates of that sentence in the PDF but I don't want to do a normal entire PDF search. The idea I have is to do some kind of HTML DOM manipulation to make the sentence easily searchable before saving as PDF but I can't think of any good idea [link] [comments] |
Scheme (Racket) programming help Posted: 24 Mar 2021 12:50 PM PDT Hi I am a freshman college student and need help with my scheme programming homework. Anyone here who knows Scheme and can help? Thank you This is the program I need help with Define a SCHEME function (ins x l) which takes a value x (an integer) and a sorted list [link] [comments] |
Freelance programming , any advice? Posted: 24 Mar 2021 12:46 PM PDT If I'm looking to try my hand at freelance programming work, does anyone have experience with this? any gotcha's I need to look out for? any sites that are scams? any tips? thanks. [link] [comments] |
How to replicate to effect of prerender feature of chrome Posted: 24 Mar 2021 12:28 PM PDT Chrome had a feature prerender which did the following - "With prerendering, the content is prefetched and then rendered in the background by the browser as if the content had been rendered into an invisible separate tab. When the user navigates to the prerendered content, the current content is replaced by the prerendered content instantly." but now this feature is deprecated by chrome and I want to do the same thing how can I implement this feature on my own [link] [comments] |
Is signed int unfair to positive integers? Posted: 24 Mar 2021 02:58 PM PDT I think it is unfair because, if we use char as an example, in most cases, it goes down to -128 but only up to 127. Maybe we could replace -128 by infinity like in a float. It is unfair. [link] [comments] |
Amazon SQS - An API to delay queue messages Posted: 24 Mar 2021 11:08 AM PDT Hi, I've always found scheduling queue messages to be a pain with SQS. SQS has support only up to 15 minutes. Anything beyond that requires you to build your own service to handle the delays. I've always wished there was an API that just handled the scheduling for me. As such I'm developing an API to make scheduling messages to SQS dead simple. Call the endpoint with your payload and delay time, and it automatically publishes to your queue or topic when you need it. I have a prototype here: I'd love to hear some feedback on this idea and whether it solves a real painpoint. I'd also love to hear about the last time anyone had to do job scheduling - how well did your solution work? Would anyone hacking on their own projects find this useful right now? [link] [comments] |
Learning languages simultaneously. Posted: 24 Mar 2021 06:51 AM PDT Hi there. As I want to change my career path, I need to know some new coding languages. Should I learn them simultaneously or should I learn them one by one to not to have a mess in my head? [link] [comments] |
Posted: 24 Mar 2021 10:28 AM PDT Hey guys! I'm a little lost with how I would go about doing this but I need to get a forecast for the next 5 days of a city using OpenWeather's forecast api, but they do it in 3 hour intervals and I only need the forecasts for midday and midnight on each day. How would I go about filtering through each forecast to check if the time is from "12:00:00" or from "00:00:00". I understand you'd use a foreach loop here, but the bit I'm confused about is testing the condition when the format is like this.
Is there a way I can get the from value and then split it from the T character and then just conditionally check if it matches what I need, and then if it matches I echo out a new table? I've included the full pastebin of the XML response if anyone wanted to check it. Many thanks! [link] [comments] |
I need help and am losing motivation and confidence Posted: 24 Mar 2021 09:54 AM PDT I am a software QA Engineer. And have been working for a year. All I know is python. I understand code in other languages when I look at it though. I want to move towards development side of things. I am not able to decide which language to pick up as I want to be able to do multiple things like make basic android apps, develop some kernels drivers, work on some system programming. I don't know what to pick up and what language is the best to switch to software development. Sometimes I think I should go with C, sometimes with java and recently started with rust. But I am so confused like what is the best fit for me. And my algorithm knowledge is pretty much shyte. So I am losing confidence as I don't know where to start and what to focus in. Please guys help me here. How do I improve and get a job as a developer in a good organisation? And how do I choose where do I want to go to? Like how did you guys choose what you want to do and is there a good plan to start? [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