jump to:allmastodonblueskylemmylobstersdevstackwikirsshn
wwebbit
view: | | |

Front page / Stack Overflow · hot matching “r”

30 shown · updated 0s ago · read only
  1. Multiple similar scanners with GNU Flex (stackoverflow.com)stack

    30 points by Simon Richter in stackoverflow.com · 8m ago · stack

    I have two similar but different enough inputs formats and would like to build two different scanners for these, using GNU Flex. My two options are make one big definition, with two separate start conditions. This requires me to keep track of what kind of file I'm scanning, beca…
    filed under flex-lexer
  2. How to configure HTTPS with a Self-Signed Certificate for a Tomcat application via a subdomain without browser warnings? (stackoverflow.com)stack

    29 points by Vishal in stackoverflow.com · 9m ago · stack

    I am trying to map a local Java Tomcat web application to an organizational subdomain with HTTPS using a self-signed certificate. My Current Setup: Internal Application URL: http://10.10.10.10:8084/Transact (Running on Apache Tomcat) Desired Public/Internal URL: https://officewo…
  3. How to efficiently implement nearby-user discovery for a location-based social platform with 100K+ users? [closed] (stackoverflow.com)stack

    28 points by Daniel in stackoverflow.com · 10m ago · stack

    I’m developing a web-based social platform where users can share moments and discover other users who are nearby. One of the key features is nearby-user discovery . The platform needs to identify users within a certain radius while keeping location data private and minimizing ba…
    filed under advicephpmysql
  4. Open Sharing protocol of Databricks Apps and SaaS sharing (stackoverflow.com)stack

    26 points by Eddmik in stackoverflow.com · 37m ago · stack

    I want to understand the open sharing protocol, how it is sharing the apps, what artefact is shared when app is shared, is it sharing the app files from Workspace path directly? Secondly, how the SaaS is shared and what artefact is shared and how? Could not find documentation. T…
  5. Modular monolith architecture [closed] (stackoverflow.com)stack

    25 points by Juan Pablo Spiatta in stackoverflow.com · 45m ago · stack

    I'm designing a new frontend application as a modular monolith . We are a small development team, so we want to keep the deployment and development model simple rather than introducing microfrontends or multiple repositories. The application is expected to become the company's m…
  6. Fixing hotspot in C++ [closed] (stackoverflow.com)stack

    24 points by CSGuy in stackoverflow.com · 45m ago · stack

    Currently working on optimizing some code in C++ for performance. The code I'm looking at takes a file and reads it in binary and then reads one character at a time, shown here. while (file.get(c)) { // do work } Any ideas/tips on how to speed this up?
  7. Inconsistent return with std::expected and auto return (stackoverflow.com)stack

    23 points by Romain in stackoverflow.com · 47m ago · stack

    I am having a compile error I do not understand while using std::expected and auto return. Here is a simplified version of the code: #include <string> #include <tuple> #include <expected> std::expected<std::tuple<double,double,double,bool,bool>,std::string> func1(bool input){ if…
  8. How do I deploy a website using a separate CSS stylesheet? (stackoverflow.com)stack

    22 points by Ast in stackoverflow.com · 1h ago · stack

    I want to write a website in HTML using a separate stylesheet in CSS. When I open the index.html directly from my computer everything looks right, but when I commit + push it to GitLab and open my URL, that I'm hosting through GitLab, all of the formatting from the style.css doc…
  9. Rotating image or not? (stackoverflow.com)stack

    20 points by An Đoàn Nguyễn Bảo in stackoverflow.com · 2h ago · stack

    A little bit of the context, I have done image segmentation for all the images, and have rotated it. But some of it are at 90/180/270 degrees from the real image. I have written the postprocess.py like this and it outputs all the segmentation images into 'warped_bills' from ultr…
  10. Grouping by variables in a dataset across multiple columns (stackoverflow.com)stack

    19 points by Cameron in stackoverflow.com · 15h ago · stack

    I am trying to group my dataset by variables that can appear in multiple columns in R. If a given variable appears any time in any of these four columns, I want it to fall into a group, so I can compare groups by that variable. For example: value <- c(2.4, 3.6, 7.8, 9.1) color_1…
    filed under rdataframedplyr
  11. MDX ParallelPeriod returns null (or the wrong total) on All member when querying a year range (stackoverflow.com)stack

    18 points by hello_pixel in stackoverflow.com · 17h ago · stack

    I'd like to build an MDX Last Year measure using ParallelPeriod, filtered to a year range (2007:2010) plus a total row. I'm using icCube's demo schema Sales. WITH MEMBER [Measures].[Amount Last Year] AS ( [Measures].[Amount], ParallelPeriod([Time].[Calendar].[Year], 1, [Time].[C…
    filed under mdxiccube
  12. Scan directories and copy those that have more than n files (stackoverflow.com)stack

    17 points by Gauffke in stackoverflow.com · 2d ago · stack

    I have an mp3 library in a music folder structured by artist/album/song.mp3 (or other extension, but the folder contain audio only, so extension doesn't matter here). I wish to copy this music directory to a musiclight , but only for artists that have "enough" songs (so that I c…
    filed under pythonbashshell
  13. Option 'target=ES5' has been removed. Please remove it from your configuration, after Visual Studio 2026 update [closed] (stackoverflow.com)stack

    16 points by bdcoder in stackoverflow.com · 28d ago · stack

    Just updated Visual Studio 2026 (as the IDE said an update was available). Edition: Visual Studio 2026 Community Release: July 2026 Feature Update Version: 18.8.0 Operating System: Windows 11 Pro System Type: 64-bit operating system, x64-based processor Now, my project no longer…
  14. Book Recommendation in PyTorch (stackoverflow.com)stack

    15 points by Kev in stackoverflow.com · 4mo ago · stack

    I am looking to find a book on PyTorch that is suitable for beginners, Ive used sklearn in the past for ML its a simple workflow for me prepare the X and Y data, fit/train a model, and make predictions (different workflow if you are using it for NLP or Images obviously). I know…
  15. Resolving IConfiguration with environment-specific AppSettings.json (stackoverflow.com)stack

    14 points by Tanveer Haresh in stackoverflow.com · 17mo ago · stack

    I have two settings files appsettings.json and appsettings.Development.json. I am navigating between them by putting this code in Program.cs if (Debugger.IsAttached) { configBuilder .SetBasePath(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)) .AddJsonFile("appse…
  16. Creating tiptap node for custom HTML (stackoverflow.com)stack

    13 points by Rápli András in stackoverflow.com · 23mo ago · stack

    I'd like to extend the tiptap editor with a custom field that would store HTML meant to be directly rendered on the frontend. So currently the rendering part looks like this: import { generateHTML } from "@tiptap/html"; const htmlContent = generateHTML(proseMirrorDocument, [ Sta…
    filed under javascripttiptap
  17. Perceptron with python - TypeError appears but why? (stackoverflow.com)stack

    12 points by FDE in stackoverflow.com · 7y ago · stack

    I am trying to code a Perceptron algorithm in python3. I am following a book example from Sebastian Raschka. His code can be found here:( https://github.com/rasbt/python-machine-learning-book-2nd-edition ). Unfortunately I can not figure out why the error: TypeError: object() ta…
    filed under pythonperceptron
  18. Powershell thunderbird send email without opening window (stackoverflow.com)stack

    11 points by Shaik in stackoverflow.com · 8y ago · stack

    I am trying to send email via power shell command to thunder bird but i am facing a problem and did all research dint find the solution my problem is when i run the below command the power shell adds the provided information but then it opens the window and i have to send it man…
  19. Unknown revision or path not in the the working tree error for first push to empty remote (stackoverflow.com)stack

    10 points by smatter in stackoverflow.com · 9y ago · stack

    I have a local git repo with many commits. I created an empty repo in github (not initialized with any files). $ git remote add origin https://github.com/bar/foo.git $ git push -u origin master Counting objects: 35, done. Delta compression using up to 8 threads. Compressing obje…
    filed under git
  20. How do I add an image to a visio template shortcut (stackoverflow.com)stack

    9 points by scott-pascoe in stackoverflow.com · 9y ago · stack

    I've built a Visio Template (vstx) and saved it to my %USERPROFILE%\AppData\Roaming\Microsoft\Templates folder. It appears in Visio, when I choose the custom templates, but appears with a blank image. I've got other custom templates that I've downloaded and placed in the same fo…
    filed under visio
  21. How to set position of seat dynamically as response (stackoverflow.com)stack

    8 points by Varshil shah in stackoverflow.com · 10y ago · stack

    currently i am create bus ticket book application. in this application i want to set seat as came response of webservice .so problem is that if left side one sleeper seat and right side seater seat then how i arrange seat like below image. currently i am using gridview but i don…
    filed under androidbus
  22. PHPUnit - REST API testing (stackoverflow.com)stack

    7 points by user3185208 in stackoverflow.com · 11y ago · stack

    I have REST API written in php, i want to test it with phpunit. I wrote test like this, it works but response body was empty. I tested it with fiddler, it send response body. Sorry for my english. class ProgrammerControllerTest extends PHPUnit_Framework_TestCase { public functio…
    filed under restphpunitguzzle
  23. What can the dot command repeat, exactly? (stackoverflow.com)stack

    6 points by Benoit in stackoverflow.com · 14y ago · stack

    Vimmers know that . can repeat simple changes. I tried to build a list of what can be repeated or not, but is there a list? I tried to list what I know to be repeatable: they are all normal-mode commands: Text insertion : a , A , i , I , o , O Text changes involving registers: c…
    filed under vim
  24. Notepad++ add to every line (stackoverflow.com)stack

    5 points by johnkol in stackoverflow.com · 14y ago · stack

    I'm using Notepad++ and I can't figure this out : I have numerous lines all starting with http . I need to add some text in front of it in every line. Also, I need to add different text to the end of each line. Each line ends differently. What is the fastest way to add text to t…
    filed under notepad++
  25. How does the Windows Command Interpreter (CMD.EXE) parse scripts? (stackoverflow.com)stack

    3 points by Benoit in stackoverflow.com · 16y ago · stack

    I ran into ss64.com which provides good help regarding how to write batch scripts that the Windows command interpreter will run. However, I have been unable to find a good explanation of the grammar of batch scripts, how things expand or do not expand, and how to escape things.…
  26. Using the -W option of Vim (stackoverflow.com)stack

    2 points by Benoit in stackoverflow.com · 16y ago · stack

    The -w and -W options of Vim have theoretically the following effect: -w {scriptout} All the characters that you type are recorded in the file "scriptout", until you exit Vim. This is useful if you want to create a script file to be used with "vim -s" or ":source!". When the "sc…
    filed under vim